/* =========================================================
   RESET / GLOBAL
========================================================= */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-image: url(../img/fundo.jpg);
  background-color: #fdf5ec;
}

a {
  text-decoration: none;
}

/* BLOQUEAR ROLAGEM QUANDO MENU ABERTO */
body.no-scroll {
  overflow: hidden;
}

/* Botão voltar ao topo */
#irtopo {
  background-image: url(../img/topo.png);
  background-color: #f4d860;
  border-radius: 50px;
  width: 60px;
  height: 60px;
  position: sticky;
  top: 90%;
  left: 95%;
  z-index: 1;
}

/* =========================================================
   HEADER / NAV
========================================================= */

header {
  background-color: #22202d30;
  border-radius: 0 0 50px 50px;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1900px;
  margin: 0 auto;
}

header nav img {
  height: 118px;
  transition: 0.5s;
}

header nav img:hover {
  transform: scale(1.02);
}

header nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 100px;
}

header nav ul li a {
  color: #000;
  font-size: 2rem;
}

#barraPesquisa {
  width: 422px;
  height: 45px;
  background-color: #fff;
  border: 1px solid #f4d860;
  border-radius: 20px;
  padding-left: 20px;
  font-size: 20px;
  color: #747474;
  font-family: Centaur;
  transition: 0.5s;
}

#barraPesquisa:hover {
  box-shadow: #f4d96036 0px 5px 8px;
}

/* =========================================================
   MENU HAMBÚRGUER
========================================================= */

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #000;
  border-radius: 5px;
  transition: 0.3s;
}

/* ANIMAÇÃO -> virar X */
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* MENU MOBILE */
@media (max-width: 1374px) {
  nav ul {
    position: absolute;
    top: 120px;
    right: 0;
    background: #ffffff;
    width: 100%;
    height: 100vh;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    gap: 30px;
    transform: translateX(100%);
    transition: 0.3s ease;
  }

  nav ul.active {
    transform: translateX(0);
  }

nav ul li a {
  text-decoration: none;
  text-underline-offset: 4px;  
  transition: text-decoration-color 0.2s ease;
}

nav ul li a:hover {
  text-decoration: underline;
  text-decoration-color: #f0DBB9;
}

  nav input {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* =========================================================
   HERO / PRIMEIRA SECTION
========================================================= */

body > section:first-of-type {
  background: url("../img/headerBG.png") center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
  height: 100vh;
}

section:first-of-type h1 {
  font-size: 5rem;
  font-weight: 400;
  margin-top: 10%;
}

section:first-of-type p {
  font-size: 40px;
  text-align: center;
}

/* =========================================================
   TEXTOS GERAIS
========================================================= */

h1 {
  font-size: 100px;
  text-align: center;
}

h2 {
  text-align: center;
  font-size: 128px;
}

/* =========================================================
   FOOTER
========================================================= */

/* FOOTER */
footer {
  background-color: #5f0000;
  background-image: url("../img/footerBG.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  color: #f5f5f5;
  padding: 100px 40px;
}

footer a {
  color: #f5f5f5;
}

footer address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}

footer address img {
  width: 350px;
  max-width: 70%;
}

footer address ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

footer address ul li {
  display: flex;
  align-items: center;
  font-size: 30px;
}

footer address ul li a {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap; /* impede quebra do email */
}

footer address ul li img {
  width: 30px;
  height: 30px;
}

footer div {
  text-align: center;
  color: #fff;
  font-size: 22px;
  margin-top: 70px;
  line-height: 1.4;
}


/* 📱 RESPONSIVIDADE */
@media (max-width: 900px) {

  footer {
    padding: 60px 20px;
    text-align: center;
  }

  footer address {
    flex-direction: column;
    text-align: center;
  }

  footer address img {
    width: 300px;
    margin-bottom: 20px;
  }

  footer address ul li {
    justify-content: center;
    font-size: 22px;
  }

  footer address ul li a img {
    width: 26px;
    height: 26px;
  }

  footer div {
    font-size: 18px;
  }
}

@media (max-width: 500px) {
  footer address ul li {
    font-size: 18px;
  }

  footer address ul li a img {
    width: 22px;
    height: 22px;
  }

  footer address img {
    width: 250px;
  }
}
