:root {
  /* cores */
  --gold: #c9902f;
  --gold-soft: #e7c56e;
  --gold-light: #f3dd9b;
  --coffee-950: #1b0f0a;
  --coffee-900: #26150d;
  --coffee-800: #332016;
  --coffee-700: #4a3020;
  --coffee-600: #6b4c35;
  --coffee-500: #9a7a62;
  --cream: #fff7eb;
  --cream-2: #f8ead2;
  --cream-3: #ead3aa;
  --green: #128c52;
  --green-2: #25d366;
  --shadow: 0 22px 70px rgba(25, 12, 6, 0.22);
  --radius-xl: 34px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* fontes */

  --font-corpo:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-titulo: "Playfair Display SC", "Georgia", serif;
  --font-secundaria: "Playfair Display", "Times New Roman", serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

.nav-link li a {
  font-family: var(--font-corpo);
}

body {
  font-family: var(--font-corpo);
  margin: 0;
  padding: 0;
  min-height: 100vh;

  background:
    radial-gradient(circle at 50% -20%, var(--gold-soft) 0%, transparent 60%),
    linear-gradient(180deg, var(--coffee-950) 0%, var(--coffee-800) 100%);

  background-attachment: fixed;
  font-family: var(--font-corpo);
}

h1 {
  color: var(--gold);
}
h2 {
  font-family: var(--font-titulo);
  color: var(--coffee-800);
}

h3 {
  color: var(--gold);
  font-family: var(--font-titulo);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}
p {
  font-family: var(--font-corpo);
  font-size: 18px;
}

/* criando o cabeçalho*/
header {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: sticky;
  top: 0;
  z-index: 100;

  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--gold-light);
  box-shadow: var(--shadow);

  background: rgba(107, 76, 53, 0.6);

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  border-bottom: 1px solid rgba(243, 221, 155, 0.22);
  box-shadow: var(--shadow);
}

.logo {
  font-family: var(--font-titulo);
  font-size: 10px;

  color: var(--cream);
}

small {
  font-family: var(--font-corpo);

  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.nav-link {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link li a {
  position: relative;
  font-size: 14px;
  font-weight: 700;
  color: var(--cream-3);
  text-decoration: none;
  letter-spacing: 0.1em;
  padding-bottom: 5px;
}

/* Efeito da linha de enbaixo dos links de navegação */
.nav-link li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold-light);
  transition: width 1s var(--ease);
}

.nav-link li a:hover::after {
  width: 100%;
}

.btn-green {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-2) 100%);
  color: var(--cream);
  padding: 14px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: transform 0.25s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-green:hover {
  transform: translateY(-3px);
}

/* primeira parte do site section inicio*/

/* --- SEÇÃO HERO --- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 140px;
  padding-bottom: 80px;
  padding-left: 20px;
  padding-right: 20px;
  gap: 30px;
  width: 100%;
  overflow: hidden;

  min-height: 1100px;

  background:
    radial-gradient(
      circle at 70% 12%,
      rgba(255, 255, 255, 0.62),
      transparent 26%
    ),
    radial-gradient(
      circle at 18% 82%,
      rgba(201, 144, 47, 0.22),
      transparent 34%
    ),
    linear-gradient(135deg, #fff9ef 0%, #f7ead5 42%, #d9ad6a 76%, #8b5a2d 100%);
  border-bottom: 1px solid rgba(255, 247, 235, 0.18);
}

.hero-descricao h2 {
  font-size: 50px;
  margin-bottom: 24px;
  color: var(--coffee-950);
  letter-spacing: -0.035em;
}

.hero-descricao p {
  font-size: 18px;
  line-height: 1.5;
  color: var(--coffee-800);
  margin-bottom: 10px;
}

.hero-image {
  width: 100%;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 55px;
}

.hero-descricao {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding-top: 10px;
}

.hero-descricao .btn-green,
.hero-descricao .btn-secundario {
  margin: 10px 5px;
}
/* --- CORREÇÃO DOS BOTÕES --- */
.btn-green,
.btn-secundario {
  background-color: var(--cream);
  padding: 10px;
  border-radius: 30px;
  text-decoration: none;
  color: var(--coffee-900);
  position: relative;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease);
}

.btn-green:hover,
.btn-secundario:hover {
  transform: translateY(-3px);
}
/*seçoes dos darrosseis*/

.secao-carrossel {
  padding: 80px 20px;
  background-color: transparent;
}

.container {
  background-color: var(--cream);
  max-width: 800px;
  margin: 0 auto;
  padding: 40px;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.viewport {
  position: relative;
  width: 100%;
  height: 550px;
  margin-top: 20px;
  overflow: hidden;
  background-color: #fdfbf7;
}

.trilho-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-item.active {
  opacity: 1;
  z-index: 2;
}
.card-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 20px;
}

.controles-carrossel {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.arrow {
  background: var(--coffee-950);
  color: var(--cream);
  border: none;
  padding: 10px 20px;
  border-radius: 50%;
  cursor: pointer;
}

.dots-carrossel {
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  background: var(--coffee-500);
  border-radius: 50%;
}

.dot.active {
  background: var(--gold);
}

/*botoes do carrossel*/

.secao-carrossel .container {
  position: relative;
}

.viewport {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin: 20px 0;
}

/* 3. Trilho: container das imagens */
.trilho-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

/* 4. Cards: empilhados com transição de opacidade */
.card-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.card-item.active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

/* 5. Controles (Botões nas laterais) */
.controles-carrossel {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
  pointer-events: none;
}

/* 6. Estilização dos botões redondos */
.arrow {
  pointer-events: auto;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: #333;
}

.arrow:hover {
  background-color: var(--gold-light);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.frase-destaque {
  text-align: center;
  width: 900px;
  background-color: rgba(255, 247, 235, 0.6);
  font-size: 18px;
  line-height: 1.6;
  color: var(--coffee-950);
  font-style: italic;
  margin: auto;
  border-radius: 24px;
  padding: 30px 40px;
}

#ambiente-seguro {
  display: grid;

  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  background-color: var(--cream);
  border: 1px solid var(--gold-soft);
  border-radius: 15px;
}

#ambiente-seguro div {
  min-width: 0;
  overflow: hidden;
}

#ambiente-seguro p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--coffee-700);
}

#ambiente-seguro > img {
  width: 100px;
  height: auto;
  display: block;
}

.btn-whatsapp {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  background-color: var(--cream);
  border-radius: 50%;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    background-color 0.3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp img {
  width: 60%;
  height: auto;
  border-radius: 50%;
}

.btn-whatsapp:hover {
  background-color: var(--green-2);
  transform: scale(1.1); /* Dá um pulinho quando passa o mouse */
}

/*seção do mapa*/

#localizacao {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
}

.card-wrapper {
  margin: 0 auto;
}
.card-wrapper {
  position: relative;
  display: inline-block;
  width: 500px;
}

.card-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 40px;
}

/* Configuração base dos botões */
.btn-mapa {
  position: absolute;
  z-index: 10;
  width: 170px;
  height: 50px;

  border-radius: 25px;
  cursor: pointer;
}

.btn-como-chegar {
  bottom: 97px;
  left: 75px;
}

/* Posicionamento do segundo botão (Ver no Maps) */
.btn-ver-maps {
  bottom: 97px; /* Ajuste aqui a distância do fundo */
  right: 70px; /* Ajuste aqui a distância da direita */
}

/* Efeito de hover para dar feedback ao usuário */
.btn-mapa:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- SEÇÃO PERGUNTAS FREQUENTES --- */
.perguntas-frequentes {
  font-size: 30px;
  position: relative;
  color: var(--coffee-950);
  overflow: hidden;
  padding: 54px 40px 42px;
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(231, 182, 33, 0.616),
      transparent 28%
    ),
    linear-gradient(
      160deg,
      rgba(240, 197, 138, 0.98) 0%,
      rgba(241, 226, 200, 0.98) 55%,
      rgba(248, 224, 177, 0.98) 100%
    );
  border: 1px solid rgba(243, 221, 155, 0.52);
  border-radius: var(--radius-xl);
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
  max-width: 1200px;
  margin: 40px auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

/* --- ESTILO DO COMPONENTE DETAILS --- */
details {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(193, 144, 47, 0.2);
  border-radius: 15px;
  padding: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
}

summary {
  position: relative;
  font-size: 20px;
  font-weight: 700;
  list-style: none; /* Remove setinha no Firefox */
  outline: none;
}

/* Esconde a setinha padrão no Chrome/Safari */
summary::-webkit-details-marker {
  display: none;
}

/* Linha decorativa na pergunta */
summary::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.4s ease;
}

summary:hover::after,
details[open] summary::after {
  width: 100%;
}

/* A resposta (p) */
details p {
  display: none;
  font-size: 16px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(193, 144, 47, 0.2);
  color: var(--coffee-700);
  line-height: 1.6;
}

/* Mostra a resposta quando aberto */
details[open] p {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*seção tauvez seja tempo de se escutar*/

.section-on-gold {
  background: linear-gradient(135deg, var(--green-2) 0%, var(--green) 100%);
  max-width: 1200px;
  margin: 40px auto;
  border-radius: 30px;
  padding: 40px;
}

.cta-band {
  font-size: 16px;

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.cta-band div {
  flex: 1;
}
.btn-green {
  flex-shrink: 0;
}

.section-on-gold .cta-band h2 {
  color: var(--cream-2) !important;
  font-size: 30px;
  font-family: var(--font-titulo);
}

.section-on-gold .cta-band p {
  color: var(--cream-2) !important;
  font-size: 18px;
  font-weight: 500;
}

/* roda pé */
footer {
  padding: 30px 50px;
  height: 80px;
  background-color: var(--coffee-950);
}

.wrap-foot {
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.btn-whatsapp-float {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 9999;
}

.btn-whatsapp-float img {
  margin-right: 100px;
  border-radius: 50%;

  width: 90px;
  height: auto;
}
.btn-whatsapp-float {
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.btn-whatsapp-float:hover {
  transform: scale(1.5); /* Dá um pulinho quando passa o mouse */
}
.social-icons {
  display: flex;
  gap: 10px; /* Espaço entre os ícones */
  margin-top: 5px;
  margin-left: 0px;
  transition: opacity 0.4s ease-in-out, visibility 0.4s;
  opacity: 1;
  visibility: visible;
}

.social-icons a {
  color: #c5a059; /* Cor dourada */
  font-size: 30px;
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.social-icons a:hover {
  color: #fff; /* Muda para branco ao passar o mouse */
  transform: scale(1.2); /* Efeito de leve aumento */
}

/* versao para celular*/

.menu-toggle {
  display: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

@media (max-width: 820px) {
  /* Menu Hambúrguer */
  .hamburger {
    display: flex;
  }
  #menu-toggle:checked ~ .social-icons {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }

  header nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--coffee-500);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;

    /* Configurações da animação */
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transition: all 0.4s ease-in-out;
  }

  header nav ul.nav-link {
    flex-direction: column;
    align-items: center;
    padding: 20px 0; /* O padding foi movido para cá para não bugar a animação */
    gap: 20px;
    list-style: none;
  }

  #menu-toggle:checked ~ nav {
    max-height: 400px; /* Altura que o menu vai atingir ao abrir */
    opacity: 1;
    visibility: visible;
  }

  .frase-destaque {
    width: 90%;
    margin: 20px auto;
    padding: 20px;
    display: block;
    text-align: center;
    word-wrap: break-word;
  }

  #ambiente-seguro {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px;
  }

  .btn-whatsapp {
    display: none;
  }

  #ambiente-seguro > img {
    margin: 0 auto;
    width: 80px;
  }

  /* Ajuste do  FAQ */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Ajuste do CTA Band */
  .cta-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 30px 20px;
  }

  .cta-band .btn-green {
    display: none;
  }
  .btn-whatsapp-float {
    position: fixed;
    bottom: 60px;
    right: 20px;
    width: 40px;
    height: 40px;
    background-color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
  }

  .btn-whatsapp-float img {
    width: 60%;
    height: auto;
    margin: 0;
  }
  footer {
    display: none;
    position: relative;
    
    background-color: var(--coffee-950);
    border-top: 1px solid rgba(243, 221, 155, 0.1);
    margin-top: 50px;
  }

  .wrap-foot {
    height: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--cream);
    font-size: 14px;
  }

  .footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .hero-descricao .btn-green,
  .hero-descricao .btn-secundario {
    display: none;
  }
  header {
    justify-content: space-between;
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
    order: 1;
  }

  .logo {
    order: 2;
    text-align: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
  }

  /* Faz com que o botão de agendamento (dentro do header) suma no celular */
  header .btn-green {
    display: none;
  }
  /* Esconde a barra no desktop */
  .mobile-footer-actions {
    display: none;
  }

  .btn-whatsapp-float {
    display: none;
  }

  /* Estilização da barra fixa */
  .mobile-footer-actions {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px;
    background-color: #261b15;
    z-index: 9999;
    gap: 10px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.781);
  }

  .btn-agendar-fixo {
    flex: 1;
    background-color: #25d366;
    color: white;
    text-align: center;
    padding: 15px 0;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
  }

  .btn-whatsapp-float {
    display: flex;
    width: 50px;
    height: 50px;
    position: static;
  }

  .btn-whatsapp-float img {
    width: 100%;
    height: 100%;
  }
} 

@media (min-width: 821px) {
    .mobile-footer-actions,
    .btn-agendar-fixo {
        display: none !important;
    }
}