/* ==========================================================================
   GUIA DE ESTILOS — Beatriz Casarotto (INSS de Obra)
   --------------------------------------------------------------------------
   Este arquivo organiza e documenta todo o CSS do site em blocos:
   00) Variáveis & Fontes
   01) Reset & Utilitários
   02) Layout Base (.container)
   03) Header / Topo (navegação)
   04) Hero (destaque inicial)
   05) Tipografia & Botões
   06) Métricas (stats)
   07) Cartão de imagem do hero
   08) Seções genéricas (section)
   09) Títulos de seção & subtítulos
   10) Serviços (cards)  ← AQUI inclui o ajuste para alinhar os botões
   11) Sobre (about + badges)
   12) FAQ (acordeão)
   13) Contato (infos + formulário)
   14) Rodapé (footer)
   15) Componente 'Saiba mais' dentro dos cards
   16) Responsividade
   ========================================================================== */

/* 00) VARIÁVEIS & FONTES -------------------------------------------------- */
/* Define a paleta da identidade visual e importa Cinzel + Montserrat */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Montserrat:wght@400;500;600&display=swap");
:root{
  --gold: #c9a646;
  /* dourado luxo */
  --black: #0c0c0c;
  /* preto profundo */
  --white: #ffffff;
  /* branco puro */
  --champagne: #e6d8a8;
  /* champagne claro (apoio) */
  --grey: #8f8e89;
  /* cinza elegante */
  --petro: #1c3c3c;
  /* verde petróleo escuro (apoio) */
  --radius: 18px;
  /* raio padrão para cantos arredondados */
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  --bg: #0c0c0c;
  --text: #ffffff;
  --border: rgba(255, 255, 255, 0.12);
}

/* 01) RESET & UTILITÁRIOS ------------------------------------------------- */
/* Zera margens/paddings, define cor de fundo e rolagem suave */
*{
  box-sizing: border-box;
}

html,
body{
  margin: 0;
  padding: 0;
  background: var(--black);
  color: var(--white);
  scroll-behavior: smooth;
}

/* Fonte padrão do site */
body{
  font-family: "Montserrat", sans-serif;
}

/* Títulos em Cinzel (sobrescreve a fonte padrão para headers) */
h1,
h2,
h3,
h4,
h5,
h6{
  font-family: "Cinzel", serif;
}

img{
  max-width: 100%;
  display: block;
}

/* 02) LAYOUT BASE --------------------------------------------------------- */
/* Limita largura e cria recuo lateral padrão */
.container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* 03) HEADER / TOPO ------------------------------------------------------- */
/* Barra de navegação fixa no topo, com blur */
header{
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(12, 12, 12, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  padding: 0 32px;
  gap: 20px;
  /* evita encostar nos lados */
  flex-wrap: nowrap;
}

/* Logo + nome (marca) */
header .brand{
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

header .brand img{
  height: 52px;
  width: auto;
  object-fit: contain;
  margin-left: 0;
}

/* Navegação (links) */
.nav > ul{
  display: flex !important;
  /* garante inline mesmo se outra regra tentar mudar */
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none !important;
}

.nav > ul > li{
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav a{
  color: var(--white);
  text-decoration: none;
  font: 500 15px/1 "Montserrat", sans-serif;
  opacity: 0.9;
  padding: 14px 0;
}

.nav a:hover{
  opacity: 1;
}

/* Botão de contato – mesmo padrão das CTAs do herói */
.nav .cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 15px;
  line-height: 1;
  font-size: 16px;
  font-weight: 700;
  background: var(--gold);
  color: var(--black);
  border-radius: 20px;
  margin-left: 18px;
  box-shadow: 0 12px 28px rgba(201, 166, 70, 0.22);
  flex: 0 0 auto;
}

/* Responsivo (menu colapsado controlado pelo JS) */
@media (max-width: 980px){
  .menu-toggle {
    display: flex;
}

.nav{
  position: relative;
  /* âncora para o dropdown */
    height: 76px;
  padding: 0 20px;
}

header .brand img{
  height: 46px;
}

/* Dropdown encostado no lado direito, abaixo do hambúrguer */
  .nav > ul{
  position: absolute;
  top: 76px;
  right: 16px;
  left: auto;
  width: min(88vw, 320px);
  background: rgba(12, 12, 12, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  margin: 0;
  padding: 12px 16px;
  list-style: none !important;
  display: none !important;
  /* fechado por padrão */
    flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  /* conteúdos à direita */
    text-align: right;
  transform: translateY(8px) scale(0.98);
  transform-origin: top right;
  opacity: 0;
  pointer-events: none;
  z-index: 70;
}

.nav.is-open > ul{
  display: flex !important;
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav > ul > li{
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav > ul a{
  display: block;
  padding: 12px 6px;
  font-size: 16px;
  text-align: right;
}

/* CTA do menu — mesmo respiro dos botões principais */
  .nav .cta{
  align-self: flex-end;
  height: 56px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  border-radius: 18px;
  margin-top: 12px;
  margin-left: 0;
  background: var(--gold);
  color: var(--black);
  box-shadow: 0 12px 28px rgba(201, 166, 70, 0.22);
}

}
/* Compensa a altura do topo nas âncoras */
section{
  scroll-margin-top: 110px;
}

/* ===== HEADER LAYOUT: menu central (azul) + toggle à direita (vermelho) ===== */
.nav{
  justify-content: center;
  /* centraliza o <ul> principal */
  padding-right: 170px;
  /* reserva espaço p/ o toggle (ajuste fino 150–190px) */
  position: relative;
}

.nav > ul{
  justify-content: center;
}

.theme-switch{
  position: absolute;
  right: -48px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  display: flex;
  gap: 12px;
  align-items: center;
  z-index: 5;
}

@media (min-width: 1440px){
  .theme-switch{ right: -64px; } 
}

@media (max-width: 980px){
  .theme-switch{
    position: static;
    transform: none;
    right: auto;
    margin-left: auto;
  }
}
/* 04) HERO (DESTAQUE INICIAL) -------------------------------------------- */
/* Fundo com degradê + brilho dourado suave; espaçamentos generosos */
.hero{
  background: radial-gradient(
      1200px 400px at 70% 80%,
      rgba(201, 166, 70, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, #111 0%, #0c0c0c 70%);
  padding: 96px 0 64px;
}

/* Grade do hero: texto à esquerda e cartão de imagem à direita */
.grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

/* 05) TIPOGRAFIA & BOTÕES ------------------------------------------------- */
/* Hierarquia tipográfica: Cinzel nos títulos, Montserrat nos textos */
h1{
  font-family: "Cinzel", serif;
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 20px;
}

.gold{
  color: var(--gold);
}

.lead{
  font: 400 18px/1.7 "Montserrat", sans-serif;
  color: #e9e9e9;
  margin-bottom: 28px;
}

/* Botões padrão e variação secundária (transparente) */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font: 600 15px "Montserrat", sans-serif;
  background: var(--gold);
  color: var(--black);
  padding: 14px 18px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
}

.btn.secondary{
  background: transparent;
  border: 1px solid #333;
  color: #ddd;
}

/* ===== Botão “Fale com um especialista” — versão premium (fix bleed) ===== */
/* ===== Botão “Fale com um especialista” — versão premium ===== */
.btn--especialista{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  /* clipping garante que nada vaze */
  border-radius: 14px;
  /* base */
  padding: 14px 20px;
  font: 700 15px "Montserrat", sans-serif;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid color-mix(in oklab, var(--gold) 70%, transparent);
  color: #0c0c0c;
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--gold) 92%, #fff) 0%,
    var(--gold) 100%
  );
  /* glow inicial + levitação suave */
  box-shadow: 0 10px 24px rgba(201, 166, 70, 0.25),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
  transform: translateY(0);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
  isolation: isolate;
}

/* halo dourado pulsando */
.btn--especialista::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    120% 120% at 50% 0%,
    rgba(201, 166, 70, 0.35),
    transparent 60%
  );
  filter: blur(10px);
  opacity: 0.55;
  z-index: -1;
  animation: esp-glow 2.8s ease-in-out infinite;
}

/* brilho que desliza (“shine”) */
.btn--especialista::after{
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50%;
  /* começa fora */
  width: 50%;
  /* largura controlada */
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 0 40%,
    rgba(255, 255, 255, 0.55) 50%,
    transparent 60% 100%
  );
  mix-blend-mode: screen;
  animation: esp-shine 4.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes esp-shine{
  0% {
    left: -60%;
}

40%{
  left: 110%;
}

100%{
  left: 110%;
}

}

/* Hover: levita + glow mais forte */
.btn--especialista:hover{
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(201, 166, 70, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.3);
  filter: saturate(1.05);
}

/* Pressionado */
.btn--especialista:active{
  transform: translateY(-1px) scale(0.995);
}

/* Foco acessível */
.btn--especialista:focus-visible{
  outline: 0;
  box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.25),
    0 12px 28px rgba(201, 166, 70, 0.35);
}

/* Desabilitado */
.btn--especialista[disabled],
.btn--especialista[aria-busy="true"]{
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

/* Flutuação contínua (opcional) */
.btn--especialista.btn--float{
  animation: esp-float 5s ease-in-out infinite;
}

@keyframes esp-float{
  0%,
  100% {
    transform: translateY(0);
}

50%{
  transform: translateY(-3px);
}

}

/* Menos movimento para quem prefere */
@media (prefers-reduced-motion: reduce){
.btn--especialista,
.btn--especialista::before,
.btn--especialista::after {
  animation: none !important;
  transition: none !important;
}

}

/* 06) MÉTRICAS (STATS) ---------------------------------------------------- */
/* Caixinhas com números e rótulos usados no hero */
.stats{
  display: flex;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat{
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.stat b{
  display: block;
  font: 700 24px "Cinzel", serif;
  color: var(--gold);
}

.stat span{
  font: 500 12px "Montserrat", sans-serif;
  color: #cfcfcf;
}

/* 07) CARTÃO DE IMAGEM DO HERO ------------------------------------------- */
/* Moldura com borda, canto arredondado e sombra */
.hero-card{
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

/* 08) SEÇÕES GENÉRICAS ---------------------------------------------------- */
/* Duas variações de fundo para alternar entre blocos */
section{
  padding: 84px 0;
  background: #0e0e0e;
}

section.alt{
  background: #0b0b0b;
}

/* 09) TÍTULOS DE SEÇÃO & SUBTÍTULOS -------------------------------------- */
.section-title{
  font: 700 36px/1.2 "Cinzel", serif;
  margin: 0 0 10px;
}

.section-sub{
  font: 400 16px/1.7 "Montserrat", sans-serif;
  color: #cfcfcf;
}

/* 10) SERVIÇOS (CARDS) ---------------------------------------------------- */
/* Grade de 3 colunas e espaçamento padrão */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
  align-items: stretch;
}

/* Cada card vira um contêiner flex vertical, permitindo "colar" o botão embaixo */
.card{
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: flex;
  /* ← importante para alturas iguais */
  flex-direction: column;
}

/* Títulos e textos dos cards */
.card h3{
  font: 700 22px "Cinzel", serif;
  margin: 6px 0 10px;
}

.card p,
.card li{
  font: 400 14.5px/1.8 "Montserrat", sans-serif;
  color: #d8d8d8;
}

/* Bolinha com número do card */
.card .dot{
  height: 34px;
  width: 34px;
  border-radius: 10px;
  background: rgba(201, 166, 70, 0.12);
  border: 1px solid color-mix(in oklab, var(--gold) 40%, transparent);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.card .dot span{
  color: var(--gold);
  font-family: "Cinzel", serif;
  font-weight: 800;
  font-size: 15px;
}

/* FIX: mantém o botão alinhado na BASE do card, mesmo com textos diferentes */
.card .more-btn{
  margin-top: auto;
  align-self: flex-start;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.6);
  border-color: color-mix(in oklab, var(--gold) 28%, rgba(255, 255, 255, 0.12));
}

.card h3{
  margin: 6px 0 12px;
  letter-spacing: 0.2px;
  color: var(--gold);
}

.card ul{
  margin: 12px 0 14px 0;
  padding-left: 18px;
}

.card li{
  color: #dcdcdc;
}

.card li::marker{
  color: var(--gold);
}

/* “medalha” numerada mais refinada */
/* (Duplicate .card .dot and .card .more-btn removed for clarity and to avoid override issues) */

.btn.more-btn{
  background: transparent;
  border: 1px solid color-mix(in oklab, var(--gold) 30%, transparent);
  color: #eee;
  border-radius: 10px;
  padding: 10px 14px;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.card:hover .btn.more-btn{
  border-color: color-mix(in oklab, var(--gold) 45%, transparent);
}

.card.open .btn.more-btn{
  background: var(--gold);
  color: #0c0c0c;
  border-color: var(--gold);
}

/* bloco oculto que expande */
.card .more{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* foco acessível */
.card:focus-within{
  outline: 0;
  box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.22), 0 28px 60px rgba(0, 0, 0, 0.5);
  border-color: color-mix(in oklab, var(--gold) 48%, transparent);
}

/* responsivo */
@media (max-width: 980px){
  .cards {
    grid-template-columns: 1fr 1fr;
  gap: 18px;
}

}

/* 11) SOBRE (ABOUT + BADGES) --------------------------------------------- */
.about{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 26px;
}

.badges{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 8px;
}

.badge{
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 16px;
}

.badge b{
  color: var(--gold);
  font-family: "Cinzel", serif;
}

.about > :first-child{
  position: relative;
  padding-left: 22px;
}

.about > :first-child::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 2px;
  border-radius: 3px;
  background: linear-gradient(
    180deg,
    var(--gold) 0%,
    color-mix(in oklab, var(--gold) 65%, transparent) 65%,
    transparent 100%
  );
}

.about .badge{
  background: linear-gradient(180deg, #111, #0c0c0c);
  border: 1px solid
    color-mix(in oklab, var(--gold) 18%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease;
}

.about .badge:hover{
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  border-color: color-mix(in oklab, var(--gold) 30%, rgba(255, 255, 255, 0.12));
}

.about .hero-card{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #0f0f0f;
  box-shadow: 0 0 25px rgba(201, 166, 70, 0.45),
    /* glow principal dourado */ 0 0 60px rgba(201, 166, 70, 0.25),
    /* glow externo mais difuso */ 0 30px 80px rgba(0, 0, 0, 0.55);
  /* sombra preta para profundidade */
  isolation: isolate;
}

/* camada de brilho sutil sobre a borda */
.about .hero-card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 10px rgba(201, 166, 70, 0.25);
  z-index: 1;
}

/* imagem */
.about .hero-card img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
  position: relative;
  z-index: 2;
  filter: saturate(1.05) contrast(1.05);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.about .hero-card:hover img{
  transform: scale(1.015);
  filter: saturate(1.08) contrast(1.08);
}

@media (max-width: 980px){
  .about {
    grid-template-columns: 1fr;
  gap: 22px;
}

.about > :first-child{
  padding-left: 20px;
}

}
@media (max-width: 560px){
  .badges {
    grid-template-columns: 1fr;
}

.about > :first-child{
  padding-left: 16px;
}

}

/* 12) FAQ (ACORDEÃO) ------------------------------------------------------ */
.faq{
  max-width: 900px;
  margin: 28px auto 0;
}

.faq-title{
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--white);
}

.faq-item{
  position: relative;
  /* para os pseudo-elem. do glow */
  border: 1px solid rgba(201, 166, 70, 0.45);
  border-radius: 12px;
  margin: 12px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #101010, #0d0d0d);
  box-shadow: 0 8px 20px rgba(201, 166, 70, 0.16),
    0 1px 0 rgba(201, 166, 70, 0.25) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease,
    border-color 0.18s ease, background 0.18s ease;
}

.faq-q{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  color: var(--gold);
  font: 600 16px "Montserrat", sans-serif;
}

.faq-a{
  display: none;
  padding: 0 18px 18px 18px;
  color: #d5d5d5;
  font: 400 15px/1.8 "Montserrat", sans-serif;
}

.faq-item.open .faq-a{
  display: block;
}

.faq-item.open{
  background: linear-gradient(180deg, #111, #0e0e0e);
  box-shadow: 0 10px 24px rgba(201, 166, 70, 0.25),
    inset 0 0 0 1px rgba(201, 166, 70, 0.25);
}

/* --- Glow SEGUINDO O CURSOR POR ITEM (sem glow de seção) ---------------- */
.faq .faq-item::before,
.faq .faq-item::after{
  content: "";
  position: absolute;
  pointer-events: none;
  opacity: 0;
  transform: translate(var(--mx, -9999px), var(--my, -9999px))
    translate(-50%, -50%);
  transition: opacity 0.12s linear;
}

/* bolinha “no dedo” — maior e mais nítida */
.faq .faq-item::before{
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(
    closest-side,
    rgba(201, 166, 70, 0.35) 0%,
    rgba(201, 166, 70, 0.15) 55%,
    rgba(201, 166, 70, 0) 72%
  );
  filter: blur(0.8px);
  z-index: 2;
}

/* halo maior — mais presente */
/* Navegação do wizard (prev/next) */
.wiz-card .nav{
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 16px;
}

/* Botões circulares — look premium */
.wiz-card .btn.circle{
  height: 54px;
  width: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(120% 160% at 30% 20%, #2b2b2b 0, #212121 60%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #eaeaea;
  font: 900 20px/1 "Cinzel", serif;
  /* deixa o “‹ ›” com presença */
  transition: transform 0.18s ease, box-shadow 0.2s ease, background 0.2s ease,
    color 0.2s ease;
}

.wiz-card .btn.circle:hover{
  background: radial-gradient(120% 160% at 30% 20%, #333 0, #272727 60%);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 0 8px rgba(201, 166, 70, 0.1);
  /* halo dourado suave */
  color: #fff;
}

.wiz-card .btn.circle:active{
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.wiz-card .btn.circle:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Estado desabilitado */
.wiz-card .btn.circle[disabled],
.wiz-card .btn.circle.is-disabled{
  opacity: 0.38;
  filter: grayscale(0.2);
  cursor: not-allowed;
  box-shadow: none;
}

/* Caso use <i class="fa-..."> em vez de “‹ ›” */
.wiz-card .btn.circle i{
  font-size: 18px;
  color: var(--gold);
}

.wiz-card .btn.circle:hover i{
  color: #fff;
}

/* ativa somente no item hover */
.faq .faq-item:hover::before,
.faq .faq-item:hover::after{
  opacity: 1;
}

.faq .faq-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(201, 166, 70, 0.22);
}

/* acessibilidade: menos movimento */
@media (prefers-reduced-motion: reduce){
.faq .faq-item,
.faq .faq-item::before,
.faq .faq-item::after {
  transition: none !important;
}

}
/* 13) CONTATO (INFOS + FORMULÁRIO) --------------------------------------- */
/* ===== Contato (layout) ===== */
#contato .contact{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  /* infos um pouco menor que o form */
  gap: 28px;
  margin-top: 22px;
}

@media (max-width: 980px){
  #contato .contact {
    grid-template-columns: 1fr;
  gap: 18px;
}

}

/* ===== Form ===== */
#contato .form input,
#contato .form textarea{
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #eee;
  font: 500 15px "Montserrat", sans-serif;
  margin-bottom: 12px;
}

#contato .form input::placeholder,
#contato .form textarea::placeholder{
  color: #9b9b9b;
}

#contato .form input:focus,
#contato .form textarea:focus{
  outline: 0;
  border-color: rgba(201, 166, 70, 0.7);
  box-shadow: 0 0 0 3px rgba(201, 166, 70, 0.18);
}

#contato .form button{
  border: 0;
  cursor: pointer;
}

/* ===== Infos (cards clicáveis) ===== */
#contato .infos{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#contato .infos .info{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-decoration: none;
  /* vira link, mas sem sublinhado */
  color: #ddd;
  padding: 14px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, color 0.18s;
}

#contato .infos .info:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  border-color: rgba(201, 166, 70, 0.35);
  color: #fff;
}

/* ===== Ícones dos cards ===== */
/* (removemos a versão genérica .info i para evitar conflito) */
#contato .infos .info i{
  font-size: 18px;
  height: 38px;
  width: 38px;
  border-radius: 10px;
  background: rgba(201, 166, 70, 0.18);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 14) RODAPÉ (FOOTER) ----------------------------------------------------- */
/* ===== Footer compacto & alinhado ===== */
footer{
  background: #070707;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0 0;
  /* a barrinha final tem padding próprio */
  margin-top: 60px;
}

/* Grid do rodapé: logo em cima, 3 colunas abaixo */
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  /* mobile empilhado */
  row-gap: 18px;
  text-align: center;
  align-items: start;
}

/* Logo centralizada e com respiro */
.footer-grid > :first-child{
  grid-column: 1 / -1;
  justify-self: center;
  margin-bottom: 14px;
}

.rodape img{
  height: 120px;
  width: auto;
  margin: 0 auto;
}

/* Títulos/links do rodapé */
footer h4{
  font: 700 16px "Cinzel", serif;
  margin: 0 0 12px;
}

footer p,
footer a{
  font: 400 14px/1.6 "Montserrat", sans-serif;
  color: #bbb;
  text-decoration: none;
}

footer a{
  transition: color 0.25s, text-shadow 0.25s;
}

footer a:hover{
  color: var(--gold);
  text-shadow: 0 0 6px rgba(201, 166, 70, 0.6), 0 0 12px rgba(201, 166, 70, 0.4);
}

footer a i{
  margin-right: 6px;
  color: var(--gold);
}

/* Desktop: 3 colunas centralizadas sob a logo */
@media (min-width: 900px){
  .footer-grid {
    grid-template-columns: repeat(3, minmax(200px, 240px));
  justify-content: center;
  /* centraliza o conjunto das colunas */
    column-gap: 40px;
  row-gap: 10px;
  text-align: left;
}

.footer-grid > :not(:first-child){
  justify-self: center;
}

}

/* Barrinha de copyright / crédito ---------------------------------------- */
.footer-copy{
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 24px;
  padding: 18px 0 24px;
  /* empilha os textos (um embaixo do outro) */
  display: flex;
  flex-direction: column;
  /* <<< antes era em linha */
  align-items: center;
  gap: 1px;
  /* espaço entre as duas linhas */
  text-align: center;
}

.footer-copy .copy{
  margin: 0;
  color: #cfcfcf;
  font: 500 14px/1.6 "Montserrat", sans-serif;
}

.footer-copy .dev{
  margin: 0;
  color: #9e9e9e;
  font: 600 10px/1.6 "Montserrat", sans-serif;
}

.footer-copy .dev-link{
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 3px;
  font-size: 10px;
}
/* 15) COMPONENTE 'SAIBA MAIS' (DENTRO DOS CARDS) -------------------------- */
/* Bloco oculto que aparece quando o card ganha a classe .open (via JS) */
.card .more{
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.card.open .more{
  display: block;
}

/* Aparência do botão 'Saiba mais' */
.more-btn{
  margin-top: 10px;
}

/* 16) RESPONSIVIDADE ------------------------------------------------------ */
/* Quebras simples para tablet e mobile */
@media (max-width: 980px){
  .grid {
    grid-template-columns: 1fr;
}

.about{
  grid-template-columns: 1fr;
}

.cards{
  grid-template-columns: 1fr 1fr;
}

.contact{
  grid-template-columns: 1fr;
}

h1{
  font-size: 42px;
}

}
@media (max-width: 560px){
  .cards {
    grid-template-columns: 1fr;
}

h1{
  font-size: 36px;
}

}

/* 10B) WIZARD DO SIMULADOR (etapas) -------------------------------------- */
/* Estilo das bolinhas de progresso, cartões de etapa e resultado */
.wiz-card{
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.wiz-title{
  font: 800 28px "Cinzel", serif;
  margin: 8px 0 10px;
}

.wiz-steps{
  display: flex;
  gap: 10px;
  margin: 6px 0 18px;
}

.wiz-steps .dot{
  height: 28px;
  width: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 166, 70, 0.15);
  color: #fff;
  font: 700 13px "Montserrat", sans-serif;
  opacity: 0.6;
}

.wiz-steps .dot.active{
  opacity: 1;
  background: var(--gold);
  color: #0c0c0c;
}

.steps{
  position: relative;
}

.step{
  display: none;
}

.step.active{
  display: block;
}

.step h4{
  font: 700 24px "Cinzel", serif;
  margin: 14px 0 10px;
}

.field{
  margin: 12px 0;
}

.field label{
  display: block;
  font: 500 14px "Montserrat", sans-serif;
  color: #ddd;
  margin-bottom: 6px;
}

.field input,
.field select{
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eee;
  font: 500 14px "Montserrat", sans-serif;
}

.options{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 10px 0;
}

.opt{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
}

.opt input{
  accent-color: var(--gold);
}

.opt span{
  font: 500 14px "Montserrat", sans-serif;
}

.hint{
  font: 500 14px "Montserrat", sans-serif;
  color: #cfcfcf;
  margin: 8px 0 12px;
}

.wiz-card .nav{
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 12px;
}

.btn.circle{
  height: 44px;
  width: 44px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  color: #eee;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn.circle:hover{
  background: #3a3a3a;
}

.btn.primary{
  background: var(--gold);
  color: #0c0c0c;
}

.wiz-result{
  margin-top: 18px;
}

.wiz-result .result-cards{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.wiz-result .r-card{
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 16px;
}

.wiz-result .r-card span{
  display: block;
  font: 500 12px "Montserrat", sans-serif;
  color: #cfcfcf;
}

.wiz-result .r-card b{
  font: 800 22px "Cinzel", serif;
  color: #fff;
}

.wiz-result .r-card.total{
  border-color: rgba(201, 166, 70, 0.35);
}

.wiz-result .r-card.total b{
  color: var(--gold);
}

.wiz-result .note{
  font: 400 12.5px/1.7 "Montserrat", sans-serif;
  color: #cfcfcf;
  margin: 10px 0;
}

/* 10C) CAMPOS DE DATA (MÊS/ANO) ----------------------------------------- */
.date-field{
  position: relative;
  display: flex;
  flex-direction: column;
}

.date-field input[type="month"]{
  width: 100%;
  padding: 12px 40px 12px 14px;
  border-radius: 12px;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #eee;
  font: 500 14px "Montserrat", sans-serif;
  cursor: pointer;
  /* remove o ícone nativo do chrome/edge */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.date-field input[type="month"]::-webkit-calendar-picker-indicator{
  opacity: 0;
  /* esconde */
  position: absolute;
  right: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Ícone do calendário personalizado */
.date-field::after{
  content: "\f073";
  /* font awesome - calendar */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--gold);
  pointer-events: none;
}

.field .checkbox{
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 14px "Montserrat", sans-serif;
  color: #ddd;
  cursor: pointer;
  user-select: none;
}

.field .checkbox input[type="checkbox"]{
  width: 18px;
  height: 18px;
  accent-color: var(--gold);
  /* usa o dourado da paleta */
  cursor: pointer;
  margin: 0;
}

/* 04B) HERO + WIZARD ------------------------------------------------------ */
/* Ajustes de escala do wizard quando dentro do hero */
.hero-wiz .wiz-card{
  max-width: 560px;
  margin-left: auto;
}

.hero-wiz .wiz-title{
  font-size: 22px;
}

.hero-wiz .wiz-steps{
  justify-content: flex-start;
}

.hero-wiz .step h4{
  font-size: 20px;
}

@media (max-width: 980px){
  .hero-wiz .wiz-card {
    max-width: 100%;
  margin: 20px 0 0 0;
}

}

/* HEADER BRAND TWEAKS ----------------------------------------------------- */
/* Ajusta alinhamento fino do logotipo no topo */
.brand img{
  height: 36px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 980px){
  .brand img {
    height: 32px;
}

}

/* INFO ICON & FIELD VALIDATION ------------------------------------------- */
.info{
  cursor: help;
  font-weight: 700;
  color: var(--gold);
  margin-left: 4px;
}

.field input.invalid{
  border-color: #ff5b5b !important;
  box-shadow: 0 0 0 2px rgba(255, 91, 91, 0.15);
}

/* Helper: força a marca à esquerda no header em qualquer layout */
header.brand-left .nav{
  justify-content: space-between;
}

header.brand-left .brand{
  margin-right: auto;
}

/* Ícone de informação (dourado redondo com 'i') */
.info-icon{
  display: inline-block;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #c9a646;
  color: #0c0c0c;
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  cursor: help;
}

.info-icon::before{
  content: "i";
}

/* Validação do campo inválido */
.field input.invalid{
  border-color: #ff5b5b !important;
  box-shadow: 0 0 0 2px rgba(255, 91, 91, 0.15);
}

/* Toast (mensagens dos forms) — definitivo */
.toast{
  position: fixed;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  padding: 14px 18px;
  border-radius: 14px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  z-index: 9999;
  min-width: 260px;
  text-align: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: linear-gradient(180deg, #0e0e0e, #0b0b0b);
}

.toast.success{
  background: linear-gradient(
    180deg,
    color-mix(in oklab, var(--gold) 18%, #0b0b0b) 0%,
    color-mix(in oklab, var(--gold) 10%, #0a0a0a) 100%
  );
  border-color: color-mix(in oklab, var(--gold) 45%, transparent);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45), 0 0 0 6px rgba(201, 166, 70, 0.1);
}

.toast.error{
  background: linear-gradient(180deg, #3a1414 0%, #2a0e0e 100%);
  border-color: rgba(255, 91, 91, 0.35);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}

/* Descatar erro */
.options.error{
  outline: 1px solid #c0392b;
  border-radius: 10px;
}

/* BOTÃO WHATSAPP (FLUTUANTE)  */
.whatsapp-button{
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  text-decoration: none;
  display: grid;
  place-items: center;
  background: var(--gold);
  color: #0b0b0b;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
  z-index: 70;
  animation: wb-breathe 2.2s ease-in-out infinite;
}

.whatsapp-button i{
  font-size: 30px;
  line-height: 1;
}

/* anel dourado que expande e some (pulse) */
.whatsapp-button::before{
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(201, 166, 70, 0.45);
  opacity: 0;
  transform: scale(0.9);
  animation: wb-ring 2.2s ease-out infinite;
  pointer-events: none;
}

/* camada de halo suave para dar profundidade */
.whatsapp-button::after{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 6px rgba(201, 166, 70, 0.1);
  opacity: 0.9;
  filter: blur(0.2px);
  animation: wb-halo 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* estados */
.whatsapp-button:hover{
  filter: saturate(1.06);
}

.whatsapp-button:active{
  transform: scale(0.98);
}

/* mobile: proporcional */
@media (max-width: 560px){
  .whatsapp-button {
    width: 60px;
  height: 60px;
  right: 18px;
  bottom: 18px;
}

.whatsapp-button i{
  font-size: 26px;
}

}

/* respeita usuários com redução de movimento */
@media (prefers-reduced-motion: reduce){
.whatsapp-button,
.whatsapp-button::before,
.whatsapp-button::after {
  animation: none;
}

}

/* keyframes */
@keyframes wb-breathe{
  0%,
  100% {
    transform: scale(1);
}

50%{
  transform: scale(1.04);
}

}
@keyframes wb-ring{
  0% {
    opacity: 0.55;
  transform: scale(1);
}

70%{
  opacity: 0;
  transform: scale(1.35);
}

100%{
  opacity: 0;
  transform: scale(1.35);
}

}
@keyframes wb-halo{
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(201, 166, 70, 0.1);
}

50%{
  box-shadow: 0 0 0 10px rgba(201, 166, 70, 0.14);
}

}

/* ===== Hamburguer estilizado ===== */
.menu-toggle{
  display: none;
  /* só aparece no mobile */
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  margin-left: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.menu-toggle .bar{
  width: 24px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
}

/* nav como referência do dropdown */
.nav{
  position: relative;
}

/* Menu mobile fechado/aberto */
@media (max-width: 980px){
  .menu-toggle {
    display: flex;
}

.nav ul{
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  width: 240px;
  padding: 14px;
  background: #0c0c0c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
}

/* animação do ícone (vira X) */
  body.menu-open .menu-toggle .bar:nth-child(1){
  transform: translateY(8px) rotate(45deg);
}

body.menu-open .menu-toggle .bar:nth-child(2){
  opacity: 0;
}

body.menu-open .menu-toggle .bar:nth-child(3){
  transform: translateY(-8px) rotate(-45deg);
}

}

/* --- COPYRIGHT --- */
.copyright{
  text-align: center;
  font: 400 13px "Montserrat", sans-serif;
  color: #888;
  padding: 14px;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* -------- TEMA CLARO/ESCURO/SISTEMA -------- */
.theme-switch{
  display: flex;
  gap: 8px;
  align-items: center;
}

.tbtn{
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 0;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, color .2s ease;
}

.tbtn[aria-pressed="true"]{
  border-color: var(--gold);
}

.tbtn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--gold) 30%, transparent);
}

.tbtn svg{
  width: 18px;
  height: 18px;
  display: block;
}

@media (max-width:980px){
}

/* Pill claro/escuro */
.mode-toggle{
  appearance: none;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: 700 12px/1 "Montserrat", sans-serif;
  letter-spacing: .4px;
  text-transform: uppercase;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.mode-toggle .icon-sun,
.mode-toggle .icon-moon{
  width: 18px;
  height: 18px;
  display: none;
}

.mode-toggle .label{
  user-select: none;
}

/* Tema LIGHT: pill branca */
:root[data-theme="light"] .mode-toggle{
  background: #ffffff;
  color: #0b0b0b;
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(0,0,0,.08) inset, 0 2px 8px rgba(0,0,0,.08);
}

:root[data-theme="light"] .mode-toggle .icon-sun{
  display: block;
}

:root[data-theme="light"] .mode-toggle .label-day{
  display: inline;
}

:root[data-theme="light"] .mode-toggle .icon-moon,
:root[data-theme="light"] .mode-toggle .label-night{
  display: none;
}

/* Tema DARK: pill preta */
:root[data-theme="dark"] .mode-toggle{
  background: #0e0e0e;
  color: #eaeaea;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.40);
}

:root[data-theme="dark"] .mode-toggle .icon-moon{
  display: block;
}

:root[data-theme="dark"] .mode-toggle .label-night{
  display: inline;
}

:root[data-theme="dark"] .mode-toggle .icon-sun,
:root[data-theme="dark"] .mode-toggle .label-day{
  display: none;
}

/* Feedback */
.mode-toggle:hover{
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--gold) 25%, transparent);
}

.mode-toggle:focus-visible{
  outline: none;
  box-shadow: 0 0 0 2px color-mix(in oklab, var(--gold) 35%, transparent);
}

/* ===== ACESSIBILIDADE — TEMA CLARO (DIA) ===== */
:root[data-theme="light"]{
  color-scheme: light;
}

/* Base */
:root[data-theme="light"] html,
:root[data-theme="light"] body{
  background: #ffffff;
  color: #0c0c0c;
}

/* Header / navegação */
:root[data-theme="light"] header{
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

:root[data-theme="light"] .nav a{
  color: #0c0c0c;
}

:root[data-theme="light"] .nav .cta{
  background: var(--gold);
  color: #0c0c0c;
}

/* Hero (degradê claro com brilho dourado suave) */
:root[data-theme="light"] .hero{
  background: radial-gradient(1200px 400px at 70% 80%, rgba(201,166,70,.12), transparent 60%),
    linear-gradient(180deg, #fafafa 0%, #ffffff 70%);
}

/* Seções */
:root[data-theme="light"] section{
  background: #fafafa;
}

/* Cards, badges, hero-card, stats, infos do contato e campos do formulário */
:root[data-theme="light"] .stat,
:root[data-theme="light"] .hero-card,
:root[data-theme="light"] .card,
:root[data-theme="light"] .badge,
:root[data-theme="light"] #contato .infos .info,
:root[data-theme="light"] #contato .form input,
:root[data-theme="light"] #contato .form textarea{
  background: #ffffff;
  border-color: rgba(0,0,0,.12);
  color: #0c0c0c;
}

/* Texto “secundário” (legibilidade) */
:root[data-theme="light"] .lead,
:root[data-theme="light"] .section-sub,
:root[data-theme="light"] .faq-a,
:root[data-theme="light"] .footer-copy .copy{
  color: #4b5563;
}

/* Botão secundário */
:root[data-theme="light"] .btn.secondary{
  background: transparent;
  border: 1px solid rgba(0,0,0,.20);
  color: #333;
}

/* Inputs (placeholders) */
:root[data-theme="light"] #contato .form input::placeholder,
:root[data-theme="light"] #contato .form textarea::placeholder{
  color: #6b7280;
}

/* FAQ claro */
:root[data-theme="light"] .faq-item{
  background: linear-gradient(180deg, #ffffff, #f7f7f8);
  border-color: rgba(201,166,70,.45);
}

:root[data-theme="light"] .faq-title{
  color: #0c0c0c;
}

/* Pill de modo (fica branca no claro, preta no escuro — já tem ícones/labels condicionais) */
:root[data-theme="light"] .mode-toggle{
  background: #ffffff;
  color: #0b0b0b;
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(0,0,0,.08) inset, 0 2px 8px rgba(0,0,0,.08);
}

/* ===== AJUSTES DE ACESSIBILIDADE — TEMA CLARO ===== */

/* 1) Texto dos cards/listas mais escuro (melhor leitura) */
:root[data-theme="light"] .card p,
:root[data-theme="light"] .card li,
:root[data-theme="light"] .hero-card p,
:root[data-theme="light"] .wiz-card p,
:root[data-theme="light"] .stat p{
  color: #374151;
}

:root[data-theme="light"] .card li::marker{
  color: #c9a646;
  opacity: .95;
}

/* 2) Header mais sólido e nítido no claro */
:root[data-theme="light"] header{
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(0,0,0,.10);
  backdrop-filter: saturate(1.2) blur(6px);
}

/* 3) Cards/badges/infos com sombra e borda adequadas no claro */
:root[data-theme="light"] .card,
:root[data-theme="light"] .hero-card,
:root[data-theme="light"] .badge,
:root[data-theme="light"] .stat,
:root[data-theme="light"] #contato .infos .info{
  background: #fff;
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}

/* 4) Botões “Saiba mais” e secundários visíveis no claro */
:root[data-theme="light"] .btn.more-btn{
  background: #fff;
  color: #0c0c0c;
  border: 1px solid #c9a646;
}

:root[data-theme="light"] .btn.more-btn:hover{
  background: #c9a646;
  color: #0c0c0c;
  box-shadow: 0 6px 16px rgba(201,166,70,.25);
}

/* caso use .btn.secondary */
:root[data-theme="light"] .btn.secondary{
  background: transparent;
  color: #333;
  border: 1px solid rgba(0,0,0,.20);
}

/* 5) Placeholders dos inputs um pouco mais escuros (legibilidade) */
:root[data-theme="light"] #contato .form input::placeholder,
:root[data-theme="light"] #contato .form textarea::placeholder{
  color: #6b7280;
}

/* 6) Seções claras (coerentes com os cards) */
:root[data-theme="light"] section{
  background: #fafafa;
}

:root[data-theme="light"] section.alt{
  background: #f2f2f3;
}

/* 7) Pill do modo (contraste já com aparência “white/black”) */
:root[data-theme="light"] .mode-toggle{
  background: #ffffff;
  color: #0b0b0b;
  border-color: rgba(0,0,0,.12);
  box-shadow: 0 1px 0 rgba(0,0,0,.08) inset, 0 2px 8px rgba(0,0,0,.08);
}

:root[data-theme="dark"] .mode-toggle{
  background: #0e0e0e;
  color: #eaeaea;
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 8px 24px rgba(0,0,0,.40);
}

/* ===== CALCULADORA CLARA (DAYMODE) ===== */
:root[data-theme="light"] #simulador .wiz-card{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  color: #0c0c0c;
}

/* Títulos dentro do wizard */
:root[data-theme="light"] #simulador .wiz-title,
:root[data-theme="light"] #simulador .step h4{
  color: #0c0c0c;
}

/* Etapas (bolinhas 1–8) */
:root[data-theme="light"] #simulador .wiz-steps .dot{
  background: rgba(201,166,70,.18);
  /* ouro clarinho */
  color: #0b0b0b;
  opacity: 1;
}

:root[data-theme="light"] #simulador .wiz-steps .dot.active{
  background: var(--gold);
  color: #0b0b0b;
}

/* Labels e textos auxiliares */
:root[data-theme="light"] #simulador .field label{
  color: #374151;
}

:root[data-theme="light"] #simulador .hint{
  color: #6b7280;
}

/* Campos (inputs/selects) */
:root[data-theme="light"] #simulador .field input,
:root[data-theme="light"] #simulador .field select{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.16);
  color: #111111;
}

:root[data-theme="light"] #simulador .field input::placeholder,
:root[data-theme="light"] #simulador .field select::placeholder{
  color: #6b7280;
}

:root[data-theme="light"] #simulador .field input:focus,
:root[data-theme="light"] #simulador .field select:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,166,70,.22);
}

/* Opções (se tiver radios/checkbox com rótulos) */
:root[data-theme="light"] #simulador .options label{
  color: #374151;
}

/* Botões circulares de navegação ‹ › */
:root[data-theme="light"] #simulador .btn.circle{
  background: #ffffff;
  color: #0b0b0b;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 2px 8px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.02) inset;
}

:root[data-theme="light"] #simulador .btn.circle:hover{
  background: #f7f7f8;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  color: #0b0b0b;
}

/* Botão de ação “Iniciar simulação” (mantém a identidade) */
:root[data-theme="light"] #simulador .btn.primary,
:root[data-theme="light"] #simulador .btn.action{
  background: var(--gold);
  color: #0b0b0b;
  border: 1px solid rgba(0,0,0,.10);
  box-shadow: 0 10px 24px rgba(201,166,70,.25);
}

/* ===== CALCULADORA — OPÇÕES CLARAS (DAYMODE) ===== */
:root[data-theme="light"] #simulador .opt{
  background: #ffffff;
  /* branco */
  border: 1px solid rgba(0,0,0,.12);
  /* borda leve */
  color: #0b0b0b;
  /* texto escuro */
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

:root[data-theme="light"] #simulador .opt:hover{
  background: #f7f7f8;
  border-color: rgba(0,0,0,.18);
  box-shadow: 0 6px 16px rgba(0,0,0,.10);
}

/* texto dentro da opção */
:root[data-theme="light"] #simulador .opt span{
  color: #1f2937;
}

/* radio/checkbox com destaque em dourado (já é o accent) */
:root[data-theme="light"] #simulador .opt input{
  accent-color: var(--gold);
}

/* ===== FOOTER CLARO (DAYMODE) ===== */
:root[data-theme="light"] footer{
  background: #f7f7f8;
  /* fundo claro */
  border-top: 1px solid rgba(0,0,0,.08);
}

/* textos/links legíveis */
:root[data-theme="light"] footer h4{
  color: #0c0c0c;
}

:root[data-theme="light"] footer p,
:root[data-theme="light"] footer a{
  color: #374151;
}

:root[data-theme="light"] footer a:hover{
  color: var(--gold);
  /* mantém a identidade */
  text-shadow: none;
}

/* ícones dourados dos itens de contato permanecem */
:root[data-theme="light"] footer a i{
  color: var(--gold);
}

/* barrinha de copyright/crédito */
:root[data-theme="light"] .footer-copy{
  border-top: 1px solid rgba(0,0,0,.10);
}

:root[data-theme="light"] .footer-copy .copy{
  color: #4b5563;
}

/* texto “seco” */
:root[data-theme="light"] .footer-copy .dev{
  color: #6b7280;
}
/* Torna o botão "Sistema" visível no header claro */
:root[data-theme="light"] {
  --text: #0b0b0b;              /* textos/ícones base escuros no claro */
  --border: rgba(0,0,0,.12);
  --bg: #ffffff;
}

/* Garantia específica para o botão do monitor */
:root[data-theme="light"] .theme-switch .tbtn{
  color: var(--text);
  border-color: var(--border);
  /* opcional: se quiser destacar mais */
  /* background:#fff; box-shadow: 0 1px 2px rgba(0,0,0,.06) inset; */
}

/* ===== Toast branco com acento dourado (apenas no tema claro) ===== */
:root[data-theme="light"] .toast{
  background: #ffffff;                 /* fundo branco */
  color: #0b0b0b;                      /* texto escuro para boa leitura */
  border: 1px solid rgba(0,0,0,.10);   /* borda leve */
  box-shadow:
    0 10px 24px rgba(0,0,0,.12),       /* sombra suave */
    0 0 0 4px rgba(201,166,70,.10);    /* halo dourado bem sutil */
  backdrop-filter: none;               /* remove o blur do dark */
}

/* Sucesso com destaque em dourado */
:root[data-theme="light"] .toast.success{
  border-color: var(--gold);
  box-shadow:
    0 12px 28px rgba(201,166,70,.22),
    0 0 0 4px rgba(201,166,70,.12);
  /* se preferir o texto em dourado, descomente a linha abaixo: */
  /* color: var(--gold); */
}

/* Erro no claro (mantém branco, só muda o acento) */
:root[data-theme="light"] .toast.error{
  border-color: rgba(255,91,91,.35);
  box-shadow: 0 12px 28px rgba(255,91,91,.18);
  color: #0b0b0b;
}
/* ===== Info popover (abre no tap/click do .info-icon) ===== */
.info-pop {
  position: absolute;
  z-index: 9999;
  max-width: min(320px, 86vw);
  padding: 12px 14px;
  border-radius: 12px;
  line-height: 1.45;
  font: 500 13px/1.45 "Montserrat", sans-serif;
  box-shadow: 0 12px 28px rgba(0,0,0,.25);
  background: #0e0e0e;
  color: #f5f5f5;
  border: 1px solid rgba(255,255,255,.10);
}
.info-pop::after{
  content:"";
  position:absolute;
  top:-6px; left:18px;
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-bottom:6px solid #0e0e0e;
}

/* Tema claro */
:root[data-theme="light"] .info-pop{
  background:#ffffff;
  color:#0b0b0b;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
:root[data-theme="light"] .info-pop::after{
  border-bottom-color:#ffffff;
}

/* Acessibilidade visual ao focar o ícone */
.info-icon:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(201,166,70,.35);
  border-radius: 50%;
}
/* ===== INFO POPOVER — acabamento (mobile + desktop) ===== */
.info-pop{
  --rad: 14px;
  max-width: min(420px, 92vw);
  padding: 14px 16px;
  border-radius: var(--rad);
  font: 500 14px/1.6 "Montserrat", sans-serif;
  letter-spacing: .2px;
  text-wrap: pretty;         /* quebra de linha agradável */
  hyphens: auto;
  word-break: normal;
  overflow-wrap: break-word;
  position: absolute;
  z-index: 9999;
  animation: info-pop-in .12s ease-out;
  /* dark por padrão */
  background:#0e0e0e;
  color:#f5f5f5;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}
@keyframes info-pop-in{ from{opacity:0; transform:translateY(-4px);} to{opacity:1; transform:none;} }

.info-pop::after{
  content:"";
  position:absolute;
  top:-6px;
  left: var(--arrow-x, 20px);        /* alinhamos via JS */
  border-left:6px solid transparent;
  border-right:6px solid transparent;
  border-bottom:6px solid #0e0e0e;   /* mesmo bg do pop */
}

/* Tema claro */
:root[data-theme="light"] .info-pop{
  background:#ffffff;
  color:#0b0b0b;
  border:1px solid rgba(0,0,0,.12);
  box-shadow: 0 14px 32px rgba(0,0,0,.12);
}
:root[data-theme="light"] .info-pop::after{
  border-bottom-color:#ffffff;
}

/* Tipografia interna */
.info-pop p{ margin:0 0 .6rem; }
.info-pop p:last-child{ margin-bottom:0; }
.info-pop ul, .info-pop ol{ margin:.4rem 0 0 1.25rem; padding:0; }
.info-pop li{ margin:.2rem 0; }
.info-icon:focus-visible{
  outline:none; border-radius:50%;
  box-shadow:0 0 0 3px rgba(201,166,70,.35);
}
/* Lista principal (a, b, c…) */
.info-pop .info-list{
  margin:.5rem 0 0 1.25rem;
  padding:0;
  list-style: lower-alpha;
}
.info-pop .info-list li{ margin:.25rem 0; }

/* Subitens com hífen (- …) */
.info-pop .info-sublist{
  margin:.35rem 0 0 1.1rem;
  padding:0;
  list-style: disc;
}
.info-pop .info-sublist li{ margin:.15rem 0; }


/* === HERO: linha de CTAs ================================================ */
/* Mantém lado a lado em telas maiores */
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Empilha no mobile e faz os botões ocuparem a largura toda */
@media (max-width: 560px){
  .cta-row{
    flex-direction: column;
    align-items: stretch; /* evita centralizar só pelo conteúdo */
  }
  .cta-row .btn{
    width: 100%;
    justify-content: center; /* ícone + texto centralizados */
  }
}

/* === Mobile: theme switch inside menu === */
@media (max-width: 980px){
  .nav-theme-item{
    display:flex;
    justify-content:flex-end;
    padding:6px 0 10px 0;
    border-bottom:1px solid rgba(255,255,255,.06);
    margin-bottom:8px;
  }
  .nav-theme-item .theme-switch{ margin-left:auto; }
  .nav.is-open > ul .btn{ width:100%; text-align:center; justify-content:center; }
}

/* === Light theme overrides for .card === */
:root[data-theme="light"] .card{
  background:#ffffff;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 14px 36px rgba(0,0,0,.10);
}
:root[data-theme="light"] .card p,
:root[data-theme="light"] .card li{
  color:#2b2b2b;
}
:root[data-theme="light"] .card .more{
  border-top:1px solid rgba(0,0,0,.08);
}
:root[data-theme="light"] .card:hover{
  box-shadow:0 18px 44px rgba(0,0,0,.12);
}
:root[data-theme="light"] .card .dot{
  background:rgba(201,166,70,.10);
  border-color: color-mix(in oklab, var(--gold) 32%, transparent);
}
@media (max-width:980px){
  .nav-theme-item .theme-switch{
    position: static;   /* reseta o absolute do header */
    right: auto;
    top: auto;
    transform: none;
    margin-left: auto;  /* gruda à direita */
  }
  /* Links visíveis no dropdown escuro */
  .nav > ul a{ color: #ffffff; }
}

/* === Light theme: dropdown claro e links escuros === */
:root[data-theme="light"] .nav > ul{
  background: #ffffff;
}
:root[data-theme="light"] .nav > ul a{ color: #0b0b0b; }
:root[data-theme="light"] .nav-theme-item{
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ======================================================================= */
/* === Mobile: hambúrguer/X na extrema direita do header ================== */
@media (max-width: 980px){
  .nav{
    display:flex;
    align-items:center;
    justify-content: space-between;   /* garante itens nas extremidades */
    padding-right: 0;                 /* remove a reserva do desktop */
  }

  /* brand à esquerda, empurra o resto */
  .nav .logo,
  .nav .brand{ margin-right:auto; }

  /* alternador de tema vem antes do hambúrguer */
  .theme-switch{
    position: static;   /* já tem acima, só reforçando pro mobile */
    transform: none;
    right: auto;
    margin-left: 12px;  /* espaço entre tema e hambúrguer */
    order: 2;
  }

  /* hambúrguer no fim, colado à direita */
  .menu-toggle{
    display:flex;       /* garante visível no mobile */
    margin-left:auto;
    order: 3;
  }

  /* dropdown do menu ancorado à direita */
  .nav > ul{
    position: absolute;
    top: 76px;
    right: 16px;
    left: auto;
    width: min(88vw, 320px);
    display: none !important; /* fechado por padrão; o JS abre */
    flex-direction: column;
    margin: 0;
    padding: 12px 16px;
  }

  .nav.is-open > ul{
    display: flex !important;
  }
}
