/* ARQUIVO GERADO pelo build de entrega. Edite os fontes do projeto. */

/* ============================================================
   DS COMPARTILHADO — emissor.contabilizei.com.br
   Tokens · grid · nav própria · footer · botões.

   ⚠️ ESTE ARQUIVO NÃO CONTÉM REGRA DE SEÇÃO.
   Cada página tem seu style.css prefixado (.p-home / .p-calc /
   .p-ass / .p-seo) e NUNCA sobrescreve .btn-cta.

   Todos os valores vêm de resources/tokens.md. Nenhuma cor
   inventada. Página standalone: header/footer oficiais do DS
   NÃO são usados (decisão do stakeholder).
   ============================================================ */

/* ---------------------------------------------------------- TOKENS */
:root {
  /* Marca */
  --blue-700: #0E53C0;   /* azul primário — interação */
  --blue-800: #093CA3;   /* azul hover */
  --blue-900: #002868;   /* azul office (escuro) */
  --cyan-cta: #04F7F7;   /* ciano digital — CTA */
  --cyan-hover: #00d9d9;
  --cyan-300: #27CBCB;

  /* Escala azul */
  --blue-50:  #E5F0FF;
  --blue-100: #C9E0FF;
  --blue-200: #9FC8FF;
  --blue-300: #73B0FF;
  --blue-400: #4D9AFF;
  --blue-500: #2C85FF;
  --blue-600: #1169F5;

  /* Escala ciano */
  --cyan-50:  #EEF8F8;
  --cyan-100: #E2F8F8;
  --cyan-400: #1FA2A2;
  --cyan-500: #177A79;

  /* Cinzas */
  --gray-50:  #F7F9FF;
  --gray-100: #EBEFFA;
  --gray-200: #E1E6F5;
  --gray-300: #CCD4E8;
  --gray-400: #B0B9D1;
  --gray-500: #757D92;
  --gray-600: #545B6F;
  --gray-700: #3F4658;
  --gray-800: #2D3342;
  --gray-900: #202636;
  --gray-950: #1B2130;

  /* Feedback */
  --success-100: #AADFC1;
  --success-500: #128243;
  --success-600: #0F6735;
  --error-100:   #F7D2DA;
  --error-500:   #DF1642;
  --error-600:   #B21235;
  --warn-100:    #FFE1A6;
  --warn-400:    #CF972D;

  /* Semânticos */
  --text-title:   #2D3342;
  --text-body:    #3F4658;
  --text-caption: #545B6F;
  --bg-page:      #F7F9FF;
  --bg-card:      #FFFFFF;
  --hairline:     #E1E6F5;

  /* Sombras (profundidade sutil, sem cor nova — navy translúcido) */
  --shadow-sm: 0 1px 2px rgba(0, 40, 104, .06);
  --shadow-md: 0 4px 16px rgba(0, 40, 104, .08);
  --shadow-lg: 0 12px 32px rgba(0, 40, 104, .10);
  --shadow-nav: 0 2px 12px rgba(0, 40, 104, .08);

  /* Halo de foco de campo (derivado do azul primário) */
  --focus-halo: 0 0 0 4px rgba(14, 83, 192, .16);
  --focus-ring: 0 0 0 3px rgba(14, 83, 192, .45);

  /* Raios */
  --r-card: 24px;
  --r-block: 16px;
  --r-chip: 9999px;

  /* Camadas — sticky bar < nav < modal */
  --z-sticky: 1040;
  --z-nav:    1045;
  --z-modal:  1100;

  /* Altura da nav (usada por scroll-margin-top das âncoras) */
  --nav-h: 64px;
}

@media (min-width: 1024px) {
  :root { --nav-h: 72px; }
}

/* ---------------------------------------------------------- RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg-card);
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* Trava de fonte da marca. Escopada a texto/controles — a página não
   usa Font Awesome, então não há ícone de fonte para quebrar. */
body, h1, h2, h3, h4, h5, h6, p, a, span, li, td, th, label, small, strong, em,
button, input, select, textarea, figcaption, blockquote, summary {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif;
}

img, svg { max-width: 100%; }
img { height: auto; border: 0; }

h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--text-title); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }

a { color: var(--blue-700); }

/* Foco visível — nunca removido, só substituído por um anel legível */
:focus-visible {
  outline: 2px solid var(--blue-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Âncoras não somem atrás da nav sticky */
[id] { scroll-margin-top: calc(var(--nav-h) + 16px); }

/* Utilitário de leitor de tela.
   ⚠️ Use SEMPRE num <div>/<span> wrapper, nunca direto num <table>:
   uma tabela ignora width:1px (o layout expande para o min-content) e
   passa a empurrar o scrollWidth do documento, criando scroll
   horizontal na página. O wrapper com overflow:hidden resolve. */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  max-width: 1px; max-height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ---------------------------------------------------------- GRID */
/* max-width 1200px + padding lateral 16 / 24 / 40.
   Header, footer e conteúdo usam o MESMO grid. */
.pcon {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 600px)  { .pcon { padding-left: 24px; padding-right: 24px; } }
@media (min-width: 1280px) { .pcon { padding-left: 40px; padding-right: 40px; } }

/* Ritmo vertical. SEMPRE longhand — padding shorthand num elemento
   com .pcon zera o padding lateral e desalinha do header. */
.section-pad { padding-top: 56px; padding-bottom: 56px; }
@media (min-width: 768px)  { .section-pad { padding-top: 72px; padding-bottom: 72px; } }
@media (min-width: 1024px) { .section-pad { padding-top: 96px; padding-bottom: 96px; } }

.section-pad--tight { padding-top: 40px; padding-bottom: 40px; }
@media (min-width: 1024px) { .section-pad--tight { padding-top: 56px; padding-bottom: 56px; } }

/* ---------------------------------------------------------- TIPOGRAFIA FLUIDA */
.fluid-hero-title { font-size: clamp(1.875rem, 5vw, 2.625rem); line-height: 1.1;    letter-spacing: -.03em; font-weight: 800; }
.fluid-h2         { font-size: clamp(1.5rem, 2.5vw, 1.75rem);  line-height: 1.2857; letter-spacing: -.03em; font-weight: 700; }
.fluid-h3         { font-size: clamp(1.25rem, 2vw, 1.5rem);    line-height: 1.2917; letter-spacing: -.03em; font-weight: 700; }
.fluid-h4         { font-size: clamp(1.125rem, 1.5vw, 1.25rem);line-height: 1.3;    letter-spacing: -.02em; font-weight: 700; }
.fluid-b1         { font-size: clamp(1rem, 1.5vw, 1.125rem);   line-height: 1.65; }

/* ---------------------------------------------------------- BOTÕES */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: var(--r-chip);
  background: var(--cyan-cta);
  color: #0E1829;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn-cta:hover { background: var(--cyan-hover); }
.btn-cta:active { transform: translateY(1px); }
.btn-cta:focus-visible { outline: 2px solid var(--blue-900); outline-offset: 3px; }

.btn-cta--interaction { background: var(--blue-700); color: #fff; }
.btn-cta--interaction:hover { background: var(--blue-800); }
.btn-cta--interaction:focus-visible { outline-color: var(--blue-900); }

.btn-cta--outline {
  background: transparent;
  color: var(--blue-700);
  box-shadow: inset 0 0 0 1px var(--blue-700);
}
.btn-cta--outline:hover { background: var(--blue-50); }

/* Outline sobre fundo escuro */


.btn-cta[disabled], .btn-cta:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ---- MOBILE-FIRST ----
   Base (= mobile, 80% do tráfego): CTA full-width e SEMPRE PREENCHIDO.
   Ghost transparente em 375px é CTA que ninguém vê. */
.btn-cta,
.btn-cta--card { width: 100%; }

.btn-cta--outline {
  background: var(--blue-50);
  box-shadow: inset 0 0 0 1px var(--blue-200);
}

/* Desktop: largura natural e o outline volta a ser contorno. */
@media (min-width: 600px) {
  .btn-cta { width: auto; }
  .btn-cta--card { width: 279px; max-width: 100%; }
  .btn-cta--outline { background: transparent; box-shadow: inset 0 0 0 1px var(--blue-700); }
  .btn-cta--outline:hover { background: var(--blue-50); }
}

/* Link terciário com chevron (não é CTA — não leva ícone de botão) */
.link-chevron {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* alvo de toque no polegar */
  gap: 6px;
  color: var(--blue-700);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
}
.link-chevron:hover { color: var(--blue-800); text-decoration: underline; }
.link-chevron::after { content: '›'; font-size: 1.15em; line-height: 1; }

/* ---------------------------------------------------------- EYEBROW / CHIPS */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--blue-700);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
/* Sobre fundo escuro o eyebrow é ciano (o azul perde contraste) */
.eyebrow--on-dark { color: var(--cyan-cta); }

/* Selos de confiança em UMA linha, separados por ponto medio.
   Em pilulas eles quebravam feio a 375px: dois na primeira linha e um
   orfao na segunda, logo abaixo do CTA. Como texto corrido a linha inteira
   cabe em 375px e o ritmo do hero fica limpo. A partir de 600px voltam a
   ser pilulas, onde ha largura para os tres lado a lado. */
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 8px;
  list-style: none;
  color: var(--text-caption);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.5;
}
.trust-chips li { display: inline-flex; align-items: center; }
.trust-chips li + li::before {
  content: '·';
  margin-right: 8px;
  color: var(--gray-400, var(--gray-500));
}

@media (min-width: 600px) {
  .trust-chips { gap: 8px; }
  .trust-chips li {
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--r-chip);
    background: var(--bg-card);
  }
  .trust-chips li + li::before { content: none; margin-right: 0; }
}

.trust-chips--on-dark { color: rgba(255, 255, 255, .92); }
.trust-chips--on-dark li + li::before { color: rgba(255, 255, 255, .45); }
@media (min-width: 600px) {
  .trust-chips--on-dark li {
    border-color: rgba(4, 247, 247, .32);
    background: rgba(4, 247, 247, .10);
    color: rgba(255, 255, 255, .92);
  }
}

/* ---------------------------------------------------------- CAMPOS DE FORM */
.field { display: block; margin-bottom: 16px; }
/* OBRIGATÓRIO: `hidden` é display:none de user-agent e PERDE para o
   `display: block` de autor acima. Sem esta linha, esconder um campo
   por atributo não funciona (foi o que deixou o valor de ISS visível
   quando a pessoa escolhe a estimativa automática). */
.field[hidden] { display: none !important; }

/* Campo com prefixo de moeda. O "R$" fica DENTRO da borda do controle.
   Sem isto o span inline não cabe ao lado de um input com width:100% e o
   campo desce para a linha seguinte, deixando um "R$" solto acima. */
.field__addon { position: relative; display: block; }
.field__addon .field__prefix {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: var(--text-caption);
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
}
.field__addon .field__control { padding-left: 42px; }

.field__label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-title);
  font-size: .875rem;
  font-weight: 600;
}

.field__hint {
  display: block;
  margin-top: 6px;
  color: var(--text-caption);
  font-size: .8125rem;
  line-height: 1.45;
}

/* font-size 16px é obrigatório: abaixo disso o iOS dá zoom automático ao
   focar o campo e desloca o layout inteiro. */
input, select, textarea { font-size: 16px; }

.field__control,
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  background: var(--bg-card);
  color: var(--text-title);
  font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__control::placeholder { color: var(--gray-400); }

.field__control:focus,
.field select:focus {
  outline: none;
  border-color: var(--blue-700);
  box-shadow: var(--focus-halo);
}

/* Estado de erro — inline, nunca alert() */
.field__control.is-invalid { border-color: var(--error-500); }
.field__control.is-invalid:focus { box-shadow: 0 0 0 4px rgba(223, 22, 66, .16); }

.field__error {
  display: none;
  margin-top: 6px;
  color: var(--error-600);
  font-size: .8125rem;
  font-weight: 500;
  line-height: 1.45;
}
.field__error.is-visible { display: block; }

/* Foco de campo iluminado — halo no container inteiro */
.field-focus-glow { transition: box-shadow .2s ease, border-color .2s ease; }
.field-focus-glow:focus-within {
  border-color: var(--blue-300);
  box-shadow: var(--focus-halo);
}

/* ---------------------------------------------------------- NAV PRÓPRIA (standalone) */
.site-nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--bg-card);
  border-bottom: 1px solid var(--hairline);
  transition: box-shadow .2s ease;
}
.site-nav.is-scrolled { box-shadow: var(--shadow-nav); }

.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
}

.site-nav__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-height: 44px;          /* alvo de toque: o <a> tinha só a altura do logo */
  text-decoration: none;
}
.site-nav__brand img { display: block; width: 148px; height: auto; }
@media (min-width: 1024px) { .site-nav__brand img { width: 172px; } }

/* Abas — desktop */
.site-nav__tabs {
  display: none;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.site-nav__tab {
  display: inline-flex;
  align-items: center;
  min-height: 44px;              /* alvo de toque */
  padding: 8px 14px;
  border-radius: var(--r-chip);
  color: var(--text-body);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.site-nav__tab:hover { background: var(--gray-50); color: var(--blue-700); }
.site-nav__tab:active { background: var(--blue-50); color: var(--blue-800); }
.site-nav__tab[aria-current="page"] {
  background: var(--blue-50);
  color: var(--blue-800);
}

.site-nav__actions { display: none; flex: 0 0 auto; }
.site-nav__actions .btn-cta { min-height: 44px; padding: 0 20px; font-size: .9375rem; }

/* Hambúrguer — mobile */
.site-nav__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: var(--bg-card);
  cursor: pointer;
}
.site-nav__toggle-bars {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-title);
  transition: background-color .2s ease;
}
.site-nav__toggle-bars::before,
.site-nav__toggle-bars::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--text-title);
  transition: transform .2s ease;
}
.site-nav__toggle-bars::before { top: -6px; }
.site-nav__toggle-bars::after  { top: 6px; }

.site-nav.is-open .site-nav__toggle-bars { background: transparent; }
.site-nav.is-open .site-nav__toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .site-nav__toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Painel mobile */
.site-nav__panel {
  display: none;
  padding-top: 8px;
  padding-bottom: 16px;
  border-top: 1px solid var(--hairline);
}
.site-nav.is-open .site-nav__panel { display: block; }

.site-nav__panel ul { list-style: none; }
.site-nav__panel .site-nav__tab {
  display: block;
  padding: 12px 12px;
  border-radius: var(--r-block);
  font-size: 1rem;
}
.site-nav__panel .btn-cta { margin-top: 12px; }

@media (min-width: 1024px) {
  .site-nav__tabs   { display: flex; }
  .site-nav__actions { display: block; }
  .site-nav__toggle { display: none; }
  .site-nav__panel  { display: none !important; }
}

/* ---------------------------------------------------------- FOOTER ENXUTO */
.site-footer {
  background: var(--gray-50);
  border-top: 1px solid var(--hairline);
  color: var(--text-caption);
  font-size: .875rem;
}
.site-footer__inner { padding-top: 40px; padding-bottom: 40px; }

.site-footer__top {
  display: grid;
  gap: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--hairline);
}
@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
}

.site-footer__brand img { width: 156px; height: auto; }
.site-footer__tagline { margin-top: 12px; max-width: 34ch; line-height: 1.55; }

.site-footer__col-title {
  margin-bottom: 10px;
  color: var(--text-title);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-footer__links { list-style: none; }
.site-footer__links li + li { margin-top: 2px; }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;          /* alvo de toque; era ~17px */
  color: var(--text-caption);
  text-decoration: none;
}
.site-footer__links a:active { color: var(--blue-800); }
.site-footer__links a:hover { color: var(--blue-700); text-decoration: underline; }

/* Selos RA1000 + Cultura Ética */
.site-footer__seals {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.site-footer__seals img { width: auto; height: 52px; }

.site-footer__legal {
  padding-top: 20px;
  color: var(--gray-600);
  font-size: .75rem;
  line-height: 1.6;
}
.site-footer__legal p + p { margin-top: 8px; }
.site-footer__legal strong { color: var(--text-caption); font-weight: 600; }

/* ---------------------------------------------------------- STICKY CTA BAR (#31) */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-sticky);
  background: var(--bg-card);
  border-top: 1px solid var(--hairline);
  box-shadow: 0 -4px 20px rgba(0, 40, 104, .10);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform .28s ease;
}
.sticky-cta.is-visible { transform: translateY(0); }

/* SILENCIADA enquanto o usuário digita num formulário.
   No iOS o teclado ocupa metade da tela e uma barra fixa de ~120px cobria o
   campo em foco e o próprio botão de enviar — submissão perdida. */
.sticky-cta.is-hushed { transform: translateY(110%); }

/* MOBILE (base, sem media query): coluna — botão primário full-width em cima,
   link de texto discreto embaixo. Um CTA forte, não dois competindo. */
.sticky-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* A frase do estado é ruído em 375px: o botão já diz o que faz. Só desktop. */
.sticky-cta__text {
  display: none;
  color: var(--text-title);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.4;
}

.sticky-cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
}
.sticky-cta__actions .btn-cta { width: 100%; min-height: 48px; font-size: 1rem; }

/* Link secundário: alvo de toque ≥44px mesmo sendo texto. */
.sticky-cta__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  color: var(--blue-700);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sticky-cta__link:active { color: var(--blue-800); }

/* Troca de estado A/B — o conteúdo troca, a barra não pisca. */
.sticky-cta__primary,
.sticky-cta__link { display: none; }
.sticky-cta[data-active="a"] .sticky-cta__primary[data-state="a"],
.sticky-cta[data-active="b"] .sticky-cta__primary[data-state="b"] { display: inline-flex; }
.sticky-cta[data-active="a"] .sticky-cta__link[data-state="a"],
.sticky-cta[data-active="b"] .sticky-cta__link[data-state="b"] { display: inline-flex; }
.sticky-cta[data-active="a"] .sticky-cta__text[data-state="a"],
.sticky-cta[data-active="b"] .sticky-cta__text[data-state="b"] { display: none; }

/* DESKTOP: a linha de texto entra, o link secundário sai, tudo em uma linha. */
@media (min-width: 768px) {
  .sticky-cta__inner {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .sticky-cta[data-active="a"] .sticky-cta__text[data-state="a"],
  .sticky-cta[data-active="b"] .sticky-cta__text[data-state="b"] { display: block; flex: 1 1 auto; }

  .sticky-cta__actions { width: auto; flex: 0 0 auto; }
  .sticky-cta__actions .btn-cta { width: auto; min-height: 46px; padding: 0 24px; font-size: .9375rem; }

  .sticky-cta[data-active="a"] .sticky-cta__link[data-state="a"],
  .sticky-cta[data-active="b"] .sticky-cta__link[data-state="b"] { display: none; }
}

/* Reserva de espaço para a barra não cobrir o último CTA/footer */
/* A barra tem 2 linhas no mobile (botão + link) e 1 no desktop. */
body.has-sticky-cta { padding-bottom: 122px; }
@media (min-width: 768px) { body.has-sticky-cta { padding-bottom: 76px; } }

/* ---------------------------------------------------------- FAQ (#30 — modelo padrão) */
.faq__list { list-style: none; }

.faq__item { border-bottom: 1px solid #EAEDF5; }

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 0;
  border: 0;
  background: none;
  color: var(--text-title);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.faq__q svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gray-500);
  transition: transform .22s ease, color .22s ease;
}
.faq__item.is-open .faq__q svg { transform: rotate(180deg); color: var(--blue-700); }
.faq__q:active { color: var(--blue-800); }

/* Animacao por grid-template-rows: anima na composicao certa e sem o teto
   magico de 760px (max-height animava reflow por frame e cortava resposta
   longa; com rows 0fr->1fr a altura e sempre a real). */
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .28s ease;
}
.faq__a > .faq__a-inner { min-height: 0; overflow: hidden; }
/* 760px, não 620: a resposta da inscrição municipal tem 2 parágrafos e a
   360px de largura passava de 620px — o texto era cortado sem aviso. */
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

.faq__a-inner { padding-bottom: 20px; }
.faq__a-inner p { color: var(--text-body); line-height: 1.7; }
.faq__a-inner p + p { margin-top: 10px; }

/* ---------------------------------------------------------- REVEAL
   O estado ESCONDIDO depende de `html.reveal-on`, que um snippet inline no
   <head> só adiciona quando há IntersectionObserver e o usuário não pediu
   menos movimento. Motivo: com `.js-reveal { opacity: 0 }` solto no CSS,
   qualquer falha de JS (erro, bloqueio, script não baixado) deixava o
   conteúdo invisível PARA SEMPRE. Agora a ausência de JS revela tudo. */
.reveal-on .js-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal-on .js-reveal.is-revealed { opacity: 1; transform: none; }

/* ---------------------------------------------------------- REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js-reveal { opacity: 1; transform: none; }
}


/* ============================================================
   ASSESSORIA CONTÁBIL GRATUITA
   Arquétipo: assessoria-formalizar (form no centro da jornada) +
   os KPIs de autoridade de assessoria-contabil.
   Eixos: hero AZUL CHAPADO 7/5, densidade BAIXÍSSIMA, blocos em
   CÁPSULA, ritmo de 1 dobra (o form resolve acima da dobra).

   Prefixo .p-ass. NÃO sobrescreve .btn-cta.
   ============================================================ */

.p-ass .accent { color: var(--cyan-cta); }

/* Skip link. position:fixed de propósito: um absolute deslocado para
   fora da tela ainda entra no scrollWidth em alguns engines. */
.skip-link {
  position: fixed;
  top: -100px;
  left: 0;
  z-index: var(--z-modal);
  padding: 12px 20px;
  background: var(--blue-700);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 12px 0;
  transition: top .15s ease;
}
.skip-link:focus { top: 0; }

.p-ass .sec-head { max-width: 56ch; margin-bottom: 32px; }
.p-ass .sec-head__sub { margin-top: 12px; color: var(--text-body); }

/* ============================================================ HERO 7/5 */
.p-ass .ahero {
  background: linear-gradient(180deg, var(--blue-700) 0%, var(--blue-800) 100%);
  color: #fff;
}
/* MOBILE: head → form → extra (cápsulas + KPIs).
   O card de form tem de ficar acima da dobra; se as cápsulas e os KPIs
   vierem antes dele, o form desce ~900px e deixa de ser visível. */
.p-ass .ahero__grid {
  display: grid;
  gap: 32px;
  grid-template-areas: "head" "form" "extra";
  padding-top: 32px;
  padding-bottom: 48px;
}
/* DESKTOP: volta ao split 7/5 — head e extra na coluna 1, form na coluna 2. */
@media (min-width: 1024px) {
  .p-ass .ahero__grid {
    grid-template-columns: 7fr 5fr;     /* split 7/5 */
    grid-template-areas:
      "head  form"
      "extra form";
    align-content: start;
    gap: 36px 56px;
    padding-top: 40px;
    padding-bottom: 72px;
  }
}
.p-ass .ahero__head  { grid-area: head; }
.p-ass .ahero__form  { grid-area: form; }
.p-ass .ahero__extra { grid-area: extra; }

.p-ass .ahero__title { color: #fff; max-width: 24ch; margin-bottom: 20px; text-wrap: balance; }
.p-ass .ahero__sub { max-width: 48ch; color: var(--blue-50); }

/* Breadcrumb */
.p-ass .crumb { margin-bottom: 20px; font-size: .8125rem; }
.p-ass .crumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }
.p-ass .crumb li + li::before { content: '/'; margin-right: 8px; color: rgba(255,255,255,.45); }
.p-ass .crumb a { color: rgba(255,255,255,.82); text-decoration: none; }
.p-ass .crumb a:hover { color: var(--cyan-cta); text-decoration: underline; }
.p-ass .crumb [aria-current] { color: rgba(255,255,255,.80); }

/* CÁPSULAS — a forma de bloco desta página */
.p-ass .caps {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 0; list-style: none;
}
.p-ass .caps li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  border: 1px solid rgba(4, 247, 247, .32);
  border-radius: var(--r-chip);
  background: rgba(4, 247, 247, .10);
  color: var(--cyan-cta);
  font-size: .8125rem; font-weight: 600; line-height: 1.4;
}
.p-ass .caps li::before {
  content: '';
  flex: 0 0 auto;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--cyan-cta);
}

/* KPIs de autoridade */
.p-ass .ahero__kpis {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
  margin: 28px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}
@media (min-width: 768px) { .p-ass .ahero__kpis { grid-template-columns: repeat(4, 1fr); } }
.p-ass .ahero__kpis dt {
  color: #fff;
  font-size: clamp(1.25rem, 2.6vw, 1.625rem);
  font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
}
.p-ass .ahero__kpis dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, .78);
  font-size: .8125rem; line-height: 1.45;
}

/* ============================================================ CARD DE FORM */
.p-ass .afrm {
  padding: 24px;
  border-radius: var(--r-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .p-ass .afrm { padding: 32px; } }

.p-ass .afrm__h { margin-bottom: 6px; }
.p-ass .afrm__sub { margin-bottom: 20px; color: var(--text-caption); font-size: .875rem; }

/* Contexto vindo da calculadora */
.p-ass .afrm__ctx {
  margin-bottom: 20px; padding: 12px 14px;
  border-left: 3px solid var(--blue-700);
  border-radius: 0 10px 10px 0;
  background: var(--blue-50);
  color: var(--text-body);
  font-size: .8125rem; line-height: 1.55;
}
.p-ass .afrm__ctx strong { color: var(--blue-800); }

/* Foco de campo iluminado: halo no container inteiro (:focus-within) */
.p-ass .field-focus-glow {
  padding: 2px; border-radius: 12px;
  margin-bottom: 16px;
}
.p-ass .field-focus-glow:focus-within .field__label { color: var(--blue-700); }

/* O rótulo inteiro é o alvo (≥44px), não só a caixinha. */
.p-ass .consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin-top: 4px;
}
.p-ass .consent input {
  flex: 0 0 auto;
  width: 24px; height: 24px; margin-top: 10px;
  accent-color: var(--blue-700);
}
.p-ass .consent label {
  display: flex; align-items: center;
  min-height: 44px;
  color: var(--text-body); font-size: .8125rem; line-height: 1.5;
  cursor: pointer;
}

.p-ass .afrm__submit { width: 100%; margin-top: 20px; }
.p-ass .afrm__micro { margin-top: 12px; color: var(--text-caption); font-size: .75rem; line-height: 1.55; }

.p-ass .afrm__legal { margin-top: 12px; }
.p-ass .afrm__legal summary {
  cursor: pointer; color: var(--text-caption);
  font-size: .75rem; font-weight: 600;
}
.p-ass .afrm__legal summary:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 3px; }
.p-ass .afrm__legal p {
  margin-top: 10px; color: var(--gray-600);
  font-size: .6875rem; line-height: 1.6;
}

/* ---------------------------------------------------------- TELA DE SUCESSO */
.p-ass .asuccess {
  padding: 28px 24px;
  border-radius: var(--r-card);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg);
}
@media (min-width: 1024px) { .p-ass .asuccess { padding: 36px 32px; } }
.p-ass .asuccess:focus-visible { outline: 2px solid var(--cyan-cta); outline-offset: 4px; }

.p-ass .asuccess__mark { width: 48px; height: 48px; margin-bottom: 16px; }
.p-ass .asuccess h2 { margin-bottom: 12px; }
.p-ass .asuccess > p { margin-top: 8px; color: var(--text-body); font-size: .9375rem; line-height: 1.65; }

.p-ass .asuccess__next-title {
  margin: 24px 0 10px;
  color: var(--text-title);
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.p-ass .asuccess__next { margin: 0 0 24px; padding-left: 1.3em; }
.p-ass .asuccess__next li {
  margin-top: 8px; color: var(--text-body);
  font-size: .875rem; line-height: 1.6;
}
.p-ass .asuccess__next strong { color: var(--text-title); }
.p-ass .asuccess__micro { margin-top: 12px; color: var(--text-caption); font-size: .75rem; }

/* ============================================================ QUEM ATENDE
   Fotos de pessoas reais. Sem texto sobre foto aqui de propósito: a legenda
   fica FORA da imagem, então não é preciso overlay. Se algum dia entrar texto
   sobre a foto, o overlay obrigatório é rgba(14,83,192,.82). */
.p-ass .team { background: var(--bg-card); }

.p-ass .team__grid { display: grid; gap: 24px; }
@media (min-width: 900px) {
  .p-ass .team__grid { grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
}

.p-ass .team__wide {
  margin: 0;
  border-radius: 28px;              /* cápsula — a forma desta página */
  overflow: hidden;
  background: var(--gray-100);
}
.p-ass .team__wide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1200 / 1078;
  object-fit: cover;
  object-position: center 28%;      /* mantém os rostos no enquadramento */
}

/* 2 colunas desde 320px: dois retratos lado a lado leem como "equipe";
   empilhados leem como dois avulsos. */
.p-ass .team__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  list-style: none;
  margin: 0;
}
@media (min-width: 600px) { .p-ass .team__cards { gap: 16px; } }

.p-ass .team__card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
  border-radius: 28px;              /* cápsula — a forma desta página */
  background: var(--blue-50);
}
.p-ass .team__ph {
  display: block;
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;              /* retrato; width/height no HTML zera CLS */
  object-fit: cover;
  object-position: 50% 22%;         /* trava o rosto no terço superior do crop */
}

/* Pílula de nome SOBRE a foto -> overlay OBRIGATÓRIO rgba(14,83,192,.82).
   No pior caso (pixel branco atrás) o fundo efetivo é rgb(57,114,203) e o
   branco em cima dá 4,74:1 — passa AA. */
.p-ass .team__id {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  padding: 8px 12px;
  border-radius: var(--r-chip);
  background: rgba(14, 83, 192, .82);
  color: #fff;
  font-size: .6875rem; line-height: 1.3;
}
.p-ass .team__id strong { display: block; font-size: .8125rem; font-weight: 700; }
.p-ass .team__id span { color: rgba(255, 255, 255, .88); }

.p-ass .team__crc {
  margin-top: 14px;
  color: var(--text-caption);
  font-size: .75rem; line-height: 1.6;
}
.p-ass .team__crc strong { color: var(--text-body); }

/* ============================================================ PROCESSO */
.p-ass .proc { background: var(--bg-card); }
.p-ass .proc__list { display: grid; gap: 20px; list-style: none; }
@media (min-width: 900px) { .p-ass .proc__list { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.p-ass .proc__item {
  position: relative;
  padding: 28px 24px 24px;
  border: 1px solid var(--hairline);
  border-radius: 28px;                 /* cápsula — a forma desta página */
  background: var(--gray-50);
}
.p-ass .proc__num {
  display: block; margin-bottom: 10px;
  color: var(--blue-200);
  font-size: 2rem; font-weight: 800; letter-spacing: -.03em; line-height: 1;
}
.p-ass .proc__item h3 { margin-bottom: 8px; }
.p-ass .proc__item p { color: var(--text-body); font-size: .9375rem; line-height: 1.65; }

/* ============================================================ DEPOIMENTOS */
.p-ass .tst { background: var(--gray-50); }

.p-ass .crs__track {
  display: flex; gap: 16px; list-style: none;
  padding: 0 0 8px; margin: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.p-ass .crs__track::-webkit-scrollbar { display: none; }
.p-ass .crs__track:focus-visible { outline: 2px solid var(--blue-700); outline-offset: 4px; border-radius: var(--r-block); }
.p-ass .crs__item { flex: 0 0 88%; scroll-snap-align: start; }
@media (min-width: 768px)  { .p-ass .crs__item { flex: 0 0 48%; } }
@media (min-width: 1024px) { .p-ass .crs__item { flex: 0 0 32%; } }

.p-ass .tstc {
  height: 100%; margin: 0;
  padding: 24px;
  border: 1px solid var(--hairline);
  border-radius: 28px;                 /* cápsula */
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}
.p-ass .tstc__stars { color: var(--warn-400); font-size: .9375rem; letter-spacing: .1em; }
.p-ass .tstc__quote {
  margin-top: 12px; color: var(--text-body);
  font-size: .9375rem; line-height: 1.65;
}
.p-ass .tstc cite {
  display: block; margin-top: 16px;
  color: var(--text-title); font-size: .8125rem; font-weight: 700; font-style: normal;
}
.p-ass .tstc cite span {
  display: block; margin-top: 2px;
  color: var(--text-caption); font-weight: 400;
}

/* Dots são o ÚNICO controle do carrossel no mobile (somem em ≥1024px), então
   precisam de alvo real de 44px — o ponto visual continua pequeno.
   Anima `transform`, nunca `width`. */
.p-ass .crs__dots { display: flex; justify-content: center; gap: 0; margin-top: 12px; }
.p-ass .crs__dots button {
  display: grid; place-items: center;
  width: 36px; height: 44px;
  padding: 0; border: 0; background: none; cursor: pointer;
}
.p-ass .crs__dots button::before {
  content: '';
  width: 24px; height: 8px;
  border-radius: var(--r-chip);
  background: var(--gray-300);
  transform: scaleX(.3333);
  transition: transform .2s ease, background-color .2s ease;
}
.p-ass .crs__dots button[aria-selected="true"]::before { transform: scaleX(1); background: var(--blue-700); }
.p-ass .crs__dots button:active::before { background: var(--blue-400); }
.p-ass .crs__dots button:focus-visible { outline: 2px solid var(--blue-700); outline-offset: -4px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .p-ass .crs__dots button::before { transition: none; } }
@media (min-width: 1024px) { .p-ass .crs__dots { display: none; } }

.p-ass .tst__note {
  margin-top: 20px; max-width: 72ch;
  color: var(--text-caption); font-size: .75rem; line-height: 1.6;
}

/* ============================================================ CTA FINAL */
.p-ass .afinal { background: var(--bg-card); }
.p-ass .afinal__box {
  display: grid; gap: 24px;
  padding: 28px;
  border: 1px solid var(--blue-700);
  border-radius: 28px;
  background: var(--bg-card);
}
@media (min-width: 900px) {
  .p-ass .afinal__box {
    grid-template-columns: 1.6fr auto; align-items: center; gap: 40px;
    padding: 32px 40px;
  }
}
.p-ass .afinal__box h2 { margin-bottom: 10px; max-width: 32ch; }
.p-ass .afinal__box p { max-width: 56ch; color: var(--text-body); font-size: .9375rem; line-height: 1.65; }
.p-ass .afinal__micro { margin-top: 12px; color: var(--text-caption); font-size: .75rem; }
@media (min-width: 900px) { .p-ass .afinal__action { text-align: right; } }

/* ============================================================ TRILHA */
.p-ass .trail { background: var(--gray-50); border-top: 1px solid var(--hairline); }
.p-ass .trail__grid { display: grid; gap: 16px; margin-top: 20px; }
@media (min-width: 768px) { .p-ass .trail__grid { grid-template-columns: repeat(3, 1fr); } }
.p-ass .trail__card {
  display: flex; flex-direction: column; gap: 6px;
  padding: 20px;
  border: 1px solid var(--hairline); border-radius: 28px;
  background: var(--bg-card); text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.p-ass .trail__card:hover { border-color: var(--blue-200); box-shadow: var(--shadow-md); }
.p-ass .trail__kicker {
  color: var(--blue-700); font-size: .6875rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.p-ass .trail__title { color: var(--text-title); font-size: 1rem; font-weight: 700; line-height: 1.4; }
.p-ass .trail__desc { color: var(--text-caption); font-size: .8125rem; line-height: 1.55; }
