/* ╔══════════════════════════════════════════════════════════════════════════╗
   ║ 📄 servicosContabeis.css — Serviços Contábeis                             ║
   ║                                                                          ║
   ║ ⚠️ Depende de /public/includes/theme-site.css (tokens, botões, faixa de   ║
   ║ CTA, rodapé). Carregue o tema ANTES deste arquivo.                       ║
   ║                                                                          ║
   ║ Os nomes .card, .why, .steps li e .faq são usados pelo                   ║
   ║ servicosContabeis.js (revelação on-scroll e FAQ exclusivo).              ║
   ║ Não renomear sem mexer lá também.                                        ║
   ╚══════════════════════════════════════════════════════════════════════════╝ */

/* ══════════════════════════════════════════════
   1️⃣ HERO
   ══════════════════════════════════════════════ */
.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(160deg,var(--hm-navy) 0%,var(--hm-navy-2) 55%,#0d4a78 100%);
  color:#eaf6ff;
  padding:clamp(52px,7vw,92px) 0;
}
.bg-hex{
  position:absolute; inset:-28%;
  pointer-events:none;
  background:
    radial-gradient(52% 55% at 18% 24%, rgba(39,179,255,.42) 0 38%, transparent 68%),
    radial-gradient(48% 52% at 82% 30%, rgba(11,120,196,.38) 0 34%, transparent 66%);
  filter:blur(80px);
  opacity:.72;
}
.hero .container{ position:relative; z-index:1; }

.hero .badge{
  display:inline-block;
  margin-bottom:1.1rem;
  padding:.4rem 1rem;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  color:#a9e2ff;
  font-size:.8rem; font-weight:800;
  letter-spacing:.12em; text-transform:uppercase;
}

.hero h1{
  margin:0 0 1rem;
  max-width:20ch;
  font-size:clamp(1.9rem,1.3rem + 2.9vw,3.2rem);
  font-weight:900; line-height:1.12; letter-spacing:-.025em;
  color:#fff;
}
.hero h1 em{
  font-style:normal;
  background:linear-gradient(120deg,var(--hm-cyan),#7fd8ff 55%,#c9ecff);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}

.hero .sub{
  margin:0 0 2rem;
  max-width:58ch;
  color:#c3ddf1;
  font-size:clamp(1rem,.96rem + .3vw,1.12rem);
}

.hero__cta{ display:flex; flex-wrap:wrap; gap:1rem; }

/* Números do hero */
.kpis{
  list-style:none;
  margin:2.4rem 0 0; padding:0;
  display:flex; flex-wrap:wrap; gap:1rem 2.6rem;
}
.kpis li{ display:flex; align-items:baseline; gap:.5rem; }
.kpis strong{
  font-size:1.6rem; font-weight:900; letter-spacing:-.02em;
  color:var(--hm-cyan);
}
.kpis span{ color:#a9c9e0; font-size:.92rem; font-weight:600; }

/* ══════════════════════════════════════════════
   2️⃣ SEÇÕES
   ══════════════════════════════════════════════ */
.section{ padding:clamp(56px,7vw,96px) 0; }
.section.alt{ background:var(--hm-surface-alt); }

.section h2{
  margin:0 0 .75rem;
  font-size:clamp(1.6rem,1.2rem + 1.8vw,2.5rem);
  font-weight:900; line-height:1.2; letter-spacing:-.02em;
  text-align:center;
}
.section .lead{
  margin:0 auto clamp(32px,4vw,52px);
  max-width:60ch;
  text-align:center;
  color:var(--hm-muted);
  font-size:1.05rem;
}
/* quando não há .lead, o h2 ainda precisa de respiro */
.section h2:last-of-type{ margin-bottom:clamp(28px,4vw,44px); }

/* ══════════════════════════════════════════════
   3️⃣ CARDS DE SERVIÇO
   ══════════════════════════════════════════════ */
.grid-cards{
  display:grid; gap:22px;
  grid-template-columns:1fr;
}
@media (min-width:700px){  .grid-cards{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1060px){ .grid-cards{ grid-template-columns:repeat(3,1fr); } }

.card{
  background:#fff;
  border:1px solid var(--hm-line);
  border-radius:var(--hm-radius);
  padding:28px 24px;
  box-shadow:var(--hm-shadow);
  display:flex; flex-direction:column;
  transition:transform .2s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover{
  transform:translateY(-6px);
  border-color:rgba(39,179,255,.55);
  box-shadow:var(--hm-shadow-lg);
}
.card .icon{
  width:54px; height:54px; border-radius:14px;
  display:grid; place-items:center;
  font-size:1.5rem;
  background:linear-gradient(135deg,rgba(39,179,255,.16),rgba(11,120,196,.10));
  border:1px solid rgba(39,179,255,.24);
  margin-bottom:1.1rem;
}
.card h3{ margin:0 0 .5rem; font-size:1.12rem; font-weight:800; }
.card p{ margin:0 0 1.1rem; color:var(--hm-muted); font-size:.95rem; }

.ticks{
  margin:auto 0 0; padding:0;
  list-style:none;
  display:flex; flex-direction:column; gap:.55rem;
}
.ticks li{
  position:relative;
  padding-left:1.5rem;
  color:#33475c; font-size:.92rem;
}
.ticks li::before{
  content:"";
  position:absolute; left:0; top:.45em;
  width:.6rem; height:.32rem;
  border-left:2px solid var(--hm-cyan);
  border-bottom:2px solid var(--hm-cyan);
  transform:rotate(-45deg);
}

/* ══════════════════════════════════════════════
   4️⃣ COMO TRABALHAMOS
   ══════════════════════════════════════════════ */
.steps{
  list-style:none;
  margin:0; padding:0;
  display:grid; gap:22px;
  grid-template-columns:1fr;
}
@media (min-width:700px){  .steps{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1060px){ .steps{ grid-template-columns:repeat(4,1fr); } }

.steps li{
  background:#fff;
  border:1px solid var(--hm-line);
  border-radius:var(--hm-radius);
  padding:26px 22px;
}
.steps .step{
  display:grid; place-items:center;
  width:40px; height:40px; border-radius:50%;
  background:linear-gradient(135deg,var(--hm-cyan),var(--hm-blue-med));
  color:#fff; font-weight:900;
  margin-bottom:1rem;
  box-shadow:0 6px 16px rgba(14,165,233,.3);
}
.steps h4{ margin:0 0 .45rem; font-size:1.05rem; font-weight:800; }
.steps p{ margin:0; color:var(--hm-muted); font-size:.95rem; }

/* ══════════════════════════════════════════════
   5️⃣ DIFERENCIAIS
   ══════════════════════════════════════════════ */
.grid-why{
  display:grid; gap:22px;
  grid-template-columns:1fr;
}
@media (min-width:700px){  .grid-why{ grid-template-columns:repeat(2,1fr); } }
@media (min-width:1060px){ .grid-why{ grid-template-columns:repeat(4,1fr); } }

.why{
  background:#fff;
  border:1px solid var(--hm-line);
  border-left:4px solid var(--hm-cyan);
  border-radius:var(--hm-radius);
  padding:26px 22px;
  box-shadow:var(--hm-shadow);
}
.why h4{ margin:0 0 .5rem; font-size:1.05rem; font-weight:800; }
.why p{ margin:0; color:var(--hm-muted); font-size:.95rem; }

.cta-center{
  margin-top:clamp(28px,4vw,44px);
  display:flex; justify-content:center;
}

/* ══════════════════════════════════════════════
   6️⃣ FAQ
   ══════════════════════════════════════════════ */
.faq{
  display:grid; gap:12px;
  max-width:820px; margin-inline:auto;
}
.faq details{
  background:#fff;
  border:1px solid var(--hm-line);
  border-radius:var(--hm-radius-sm);
  padding:0 20px;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.faq details[open]{
  border-color:rgba(39,179,255,.5);
  box-shadow:var(--hm-shadow);
}
.faq summary{
  padding:1rem 0;
  font-weight:700;
  cursor:pointer;
  list-style:none;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"";
  flex:none;
  width:9px; height:9px;
  border-right:2px solid var(--hm-blue-med);
  border-bottom:2px solid var(--hm-blue-med);
  transform:translateY(-3px) rotate(45deg);
  transition:transform .2s ease;
}
.faq details[open] summary::after{ transform:translateY(1px) rotate(-135deg); }
.faq details p{
  margin:0; padding:0 0 1rem;
  color:var(--hm-muted); font-size:.95rem;
}
.faq details a{ color:var(--hm-blue-med); font-weight:700; }
