/* ==========================================================================
   D M J CONTABILIDADE — Folha de estilos principal
   Organização:
     1. Tokens (cores, espaçamentos, sombras)
     2. Reset e base
     3. Utilitários e componentes de botão
     4. Barra superior / cabeçalho / navegação
     5. Hero
     6. Faixa de destaques
     7. Seções genéricas
     8. Cards de serviços
     9. Empresa / dados cadastrais
    10. Diferenciais
    11. Passos
    12. Público
    13. FAQ
    14. Contato / formulário
    15. Rodapé
    16. Flutuantes (WhatsApp, cookies)
    17. Páginas internas (política, termos)
    18. Responsivo
    19. Acessibilidade / prefers-reduced-motion
   ========================================================================== */

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Marca — azul institucional + verde de apoio */
  --navy-900: #08203c;
  --navy-800: #0b2545;
  --navy-700: #13355c;
  --navy-600: #1c4776;
  --blue-500: #2f6db3;
  --blue-100: #e7f0fa;

  --green-600: #0f7a4f;
  --green-500: #128a58;
  --green-100: #e6f5ee;

  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;

  /* Neutros */
  --white: #ffffff;
  --gray-25: #fbfcfd;
  --gray-50: #f5f7fa;
  --gray-100: #eef1f6;
  --gray-200: #e2e7ef;
  --gray-300: #cbd3e0;
  --gray-400: #98a4b6;
  --gray-500: #6b7789;
  --gray-600: #4d5867;
  --gray-800: #27303c;
  --ink: #16202c;

  /* Tipografia */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-head: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  /* Espaçamento */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 88px;

  /* Raios */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  /* Sombras */
  --sh-xs: 0 1px 2px rgba(11, 37, 69, .06);
  --sh-sm: 0 2px 8px rgba(11, 37, 69, .07);
  --sh-md: 0 8px 24px rgba(11, 37, 69, .09);
  --sh-lg: 0 18px 44px rgba(11, 37, 69, .13);
  --sh-focus: 0 0 0 4px rgba(47, 109, 179, .18);

  /* Layout */
  --container: 1180px;
  --container-narrow: 820px;
  --header-h: 76px;

  --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

/* ==========================================================================
   2. RESET E BASE
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy-800);
  line-height: 1.2;
  margin: 0 0 var(--sp-3);
  letter-spacing: -.02em;
  font-weight: 700;
}

h1 { font-size: clamp(1.85rem, 4.6vw, 3.05rem); line-height: 1.14; letter-spacing: -.03em; }
h2 { font-size: clamp(1.5rem, 3.3vw, 2.25rem); }
h3 { font-size: clamp(1.05rem, 1.8vw, 1.22rem); }

p { margin: 0 0 var(--sp-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--blue-500); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--navy-700); }

ul, ol { margin: 0; padding: 0; list-style: none; }

strong { color: var(--navy-800); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container.narrow { max-width: var(--container-narrow); }

/* ==========================================================================
   3. BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  line-height: 1.2;
  border: 2px solid transparent;
  border-radius: var(--r-full);
  cursor: pointer;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition),
              background-color var(--transition), color var(--transition),
              border-color var(--transition);
  white-space: nowrap;
}

.btn i { font-size: 1.05em; }

.btn-primary {
  background: var(--navy-800);
  color: #fff;
  box-shadow: var(--sh-sm);
}
.btn-primary:hover {
  background: var(--navy-900);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}
.btn-primary:active { transform: translateY(0); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: #06301a;
  box-shadow: var(--sh-sm);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--sh-md);
}

.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--gray-300);
}
.btn-ghost:hover {
  background: var(--white);
  border-color: var(--navy-600);
  color: var(--navy-700);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }

/* ==========================================================================
   4. BARRA SUPERIOR / HEADER / NAV
   ========================================================================== */
.topbar {
  background: var(--navy-900);
  color: #cddbea;
  font-size: .8rem;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-5);
  min-height: 38px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0;
  letter-spacing: .01em;
}
.topbar-item i { color: var(--whatsapp); font-size: .85em; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow var(--transition);
}
.site-header.is-scrolled { box-shadow: var(--sh-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

/* Marca */
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  color: var(--navy-800);
  flex-shrink: 0;
}
.brand:hover { color: var(--navy-800); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--navy-700), var(--navy-900));
  color: #fff;
  font-family: var(--font-head);
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -.02em;
  box-shadow: var(--sh-sm);
  flex-shrink: 0;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong {
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -.02em;
}
.brand-text strong em {
  font-style: normal;
  font-weight: 600;
  color: var(--blue-500);
}
.brand-text small {
  font-size: .74rem;
  color: var(--gray-500);
  letter-spacing: .02em;
}

/* Navegação */
.nav { display: flex; align-items: center; gap: var(--sp-5); }

.nav ul {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.nav ul a {
  display: block;
  padding: 9px 12px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--r-sm);
  transition: color var(--transition), background-color var(--transition);
}
.nav ul a:hover,
.nav ul a.is-active {
  color: var(--navy-800);
  background: var(--gray-50);
  font-weight: 600;
}

.nav-cta { margin-left: var(--sp-2); }

/* Botão hamburguer */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color var(--transition);
}
.nav-toggle:hover { background: var(--gray-50); }
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   5. HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 7vw, 84px);
  background:
    radial-gradient(900px 420px at 82% -10%, rgba(47, 109, 179, .10), transparent 65%),
    radial-gradient(700px 380px at 4% 105%, rgba(18, 138, 88, .08), transparent 62%),
    linear-gradient(180deg, var(--gray-25), var(--white) 72%);
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: auto -12% -55% 45%;
  height: 520px;
  background: radial-gradient(closest-side, rgba(47, 109, 179, .16), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(28px, 4.4vw, 60px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin: 0 0 var(--sp-4);
  padding: 7px 15px;
  background: var(--blue-100);
  color: var(--navy-700);
  border-radius: var(--r-full);
  font-size: .79rem;
  font-weight: 600;
  letter-spacing: .015em;
}
.eyebrow i { color: var(--blue-500); font-size: .9em; }

.hero h1 { margin-bottom: var(--sp-4); }

.hero-lead {
  font-size: clamp(1rem, 1.5vw, 1.09rem);
  color: var(--gray-600);
  max-width: 56ch;
  margin-bottom: var(--sp-6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2) var(--sp-5);
  font-size: .86rem;
  color: var(--gray-600);
}
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; }
.hero-chips i {
  color: var(--green-500);
  font-size: .8em;
  background: var(--green-100);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Painel ilustrativo */
.hero-panel { position: relative; }

.panel-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  padding: var(--sp-5);
  transform: rotate(.6deg);
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-3);
  border-bottom: 1px solid var(--gray-100);
}
.panel-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gray-300);
}
.panel-dot:nth-child(1) { background: #ff6b6b; }
.panel-dot:nth-child(2) { background: #ffd166; }
.panel-dot:nth-child(3) { background: var(--whatsapp); }
.panel-title {
  margin-left: auto;
  font-size: .76rem;
  font-weight: 600;
  color: var(--gray-500);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 11px 0;
  font-size: .93rem;
  font-weight: 500;
  color: var(--gray-800);
  border-bottom: 1px dashed var(--gray-100);
}
.panel-list li:last-child { border-bottom: 0; }

.panel-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 9px;
  background: var(--blue-100);
  color: var(--blue-500);
  font-size: .86rem;
  flex-shrink: 0;
}

.panel-foot {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-top: var(--sp-4);
  padding: 11px 14px;
  background: var(--green-100);
  color: var(--green-600);
  border-radius: var(--r-sm);
  font-size: .82rem;
  font-weight: 600;
}

.panel-badge {
  position: absolute;
  left: -14px;
  bottom: -18px;
  background: var(--navy-800);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  text-align: center;
  transform: rotate(-.6deg);
}
.panel-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.panel-badge span {
  font-size: .7rem;
  color: #a9c2dc;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ==========================================================================
   6. FAIXA DE DESTAQUES
   ========================================================================== */
.strip {
  background: var(--navy-800);
  padding: var(--sp-5) 0;
}
.strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}
.strip-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  color: #d7e3f1;
}
.strip-item i {
  color: var(--whatsapp);
  font-size: 1.35rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.strip-item strong {
  display: block;
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
  margin-bottom: 1px;
}
.strip-item span { font-size: .84rem; color: #a9c2dc; }

/* ==========================================================================
   7. SEÇÕES GENÉRICAS
   ========================================================================== */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-alt { background: var(--gray-50); }

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(32px, 4vw, 52px);
  text-align: center;
}
.section-head .eyebrow { margin-bottom: var(--sp-3); }
.section-head h2 { margin-bottom: var(--sp-3); }

.section-lead {
  font-size: 1.02rem;
  color: var(--gray-600);
  margin: 0;
}

.note-box {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  margin: var(--sp-6) 0 0;
  padding: var(--sp-4) var(--sp-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--blue-500);
  border-radius: var(--r-sm);
  font-size: .89rem;
  color: var(--gray-600);
}
.note-box i { color: var(--blue-500); margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   8. CARDS DE SERVIÇOS
   ========================================================================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-xs);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-md);
  border-color: var(--gray-300);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 13px;
  background: linear-gradient(140deg, var(--blue-100), #dbe9f7);
  color: var(--blue-500);
  font-size: 1.18rem;
  margin-bottom: var(--sp-4);
}

.card h3 { margin-bottom: var(--sp-2); }

.card p {
  font-size: .91rem;
  color: var(--gray-600);
  margin-bottom: var(--sp-4);
}

.card-list {
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px dashed var(--gray-200);
}
.card-list li {
  position: relative;
  padding-left: 20px;
  font-size: .86rem;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.card-list li:last-child { margin-bottom: 0; }
.card-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  font-size: .7rem;
  color: var(--green-500);
}

/* ==========================================================================
   9. EMPRESA / DADOS CADASTRAIS
   ========================================================================== */
.empresa-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(28px, 4.4vw, 60px);
  align-items: start;
}

.empresa-copy .eyebrow { margin-bottom: var(--sp-3); }
.empresa-copy h2 { margin-bottom: var(--sp-4); }
.empresa-copy p { color: var(--gray-600); font-size: .97rem; }

.check-list { margin-top: var(--sp-5); }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: 9px 0;
  font-size: .93rem;
  color: var(--gray-800);
  font-weight: 500;
}
.check-list i {
  color: #fff;
  background: var(--green-500);
  width: 20px; height: 20px;
  border-radius: 50%;
  font-size: .62rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  flex-shrink: 0;
}

.empresa-data {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--sh-sm);
}

.empresa-data h3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.05rem;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-2);
  border-bottom: 1px solid var(--gray-100);
}
.empresa-data h3 i { color: var(--blue-500); }

.data-list { margin: 0; }
.data-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
  padding: 11px 0;
  border-bottom: 1px dashed var(--gray-100);
}
.data-list > div:last-child { border-bottom: 0; }
.data-list dt {
  font-size: .83rem;
  color: var(--gray-500);
  font-weight: 500;
  flex-shrink: 0;
}
.data-list dd {
  margin: 0;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-800);
  text-align: right;
}

.data-foot {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-100);
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.5;
}
.data-foot i { margin-top: 3px; flex-shrink: 0; }

/* ==========================================================================
   10. DIFERENCIAIS
   ========================================================================== */
.diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.diff {
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.diff:hover { border-color: var(--gray-300); box-shadow: var(--sh-sm); }

.diff i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--gray-50);
  color: var(--navy-700);
  font-size: 1.05rem;
  margin-bottom: var(--sp-3);
}

.diff h3 { font-size: 1.03rem; margin-bottom: var(--sp-2); }
.diff p { font-size: .89rem; color: var(--gray-600); margin: 0; }

/* ==========================================================================
   11. PASSOS
   ========================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  counter-reset: step;
}

.step {
  position: relative;
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
}
.step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(var(--sp-5) * -1);
  width: var(--sp-5);
  height: 1px;
  background: var(--gray-300);
}
.step:last-child::after { display: none; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy-800);
  color: #fff;
  font-family: var(--font-head);
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: var(--sp-3);
}

.step h3 { font-size: 1rem; margin-bottom: var(--sp-2); }
.step p { font-size: .87rem; color: var(--gray-600); margin: 0; }

/* ==========================================================================
   12. PÚBLICO
   ========================================================================== */
.audience {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.audience-item {
  text-align: center;
  padding: var(--sp-5) var(--sp-4);
  border-radius: var(--r-md);
  background: var(--gray-25);
  border: 1px solid var(--gray-100);
  transition: background-color var(--transition), border-color var(--transition);
}
.audience-item:hover { background: var(--white); border-color: var(--gray-200); }

.audience-item i {
  font-size: 1.6rem;
  color: var(--blue-500);
  margin-bottom: var(--sp-3);
}
.audience-item h3 { font-size: .99rem; margin-bottom: var(--sp-2); }
.audience-item p { font-size: .85rem; color: var(--gray-600); margin: 0; }

/* ==========================================================================
   13. FAQ
   ========================================================================== */
.faq { display: flex; flex-direction: column; gap: var(--sp-3); }

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq-item[open] { border-color: var(--gray-300); box-shadow: var(--sh-xs); }

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-size: .96rem;
  font-weight: 600;
  color: var(--navy-800);
  cursor: pointer;
  list-style: none;
  transition: background-color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--gray-25); }

.faq-icon {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gray-100);
  flex-shrink: 0;
  transition: background-color var(--transition);
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  background: var(--navy-700);
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; }
.faq-item[open] .faq-icon { background: var(--navy-800); }
.faq-item[open] .faq-icon::before,
.faq-item[open] .faq-icon::after { background: #fff; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-body {
  padding: 0 var(--sp-5) var(--sp-4);
  font-size: .91rem;
  color: var(--gray-600);
  line-height: 1.7;
}
.faq-body p { margin: 0; }

/* ==========================================================================
   14. CONTATO / FORMULÁRIO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(24px, 3.4vw, 44px);
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 34px);
  box-shadow: var(--sh-sm);
}

.contact-form h3 {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 1.1rem;
  padding-bottom: var(--sp-4);
  margin-bottom: var(--sp-5);
  border-bottom: 1px solid var(--gray-100);
}
.contact-form h3 i { color: var(--blue-500); }

.field { margin-bottom: var(--sp-4); }
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.field label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 7px;
}
.req { color: #d64545; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: .94rem;
  color: var(--gray-800);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 112px; line-height: 1.6; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7789' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.field input::placeholder,
.field textarea::placeholder { color: var(--gray-400); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: var(--sh-focus);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d64545; }

.field-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-3);
  margin-top: 5px;
}

.error {
  display: block;
  font-size: .78rem;
  color: #c0392b;
  font-weight: 500;
  min-height: 0;
}
.error:not(:empty) { margin-top: 5px; }

.counter { font-size: .76rem; color: var(--gray-400); white-space: nowrap; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  margin: var(--sp-4) 0 var(--sp-2);
  font-size: .83rem;
  color: var(--gray-600);
  line-height: 1.55;
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy-800);
  flex-shrink: 0;
  cursor: pointer;
}
.consent a { font-weight: 600; text-decoration: underline; }

.form-note {
  display: flex;
  gap: var(--sp-2);
  align-items: flex-start;
  margin: var(--sp-4) 0 0;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-100);
  font-size: .78rem;
  color: var(--gray-500);
  line-height: 1.55;
}
.form-note i { color: var(--green-500); margin-top: 2px; flex-shrink: 0; }

/* Formulário enviado */
.form-success {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4);
  background: var(--green-100);
  border: 1px solid #bfe6d3;
  border-radius: var(--r-sm);
  color: var(--green-600);
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: var(--sp-4);
}
.form-success i { margin-top: 3px; flex-shrink: 0; }

/* Cartões laterais de contato */
.contact-side {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.contact-card {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-card:hover { border-color: var(--gray-300); box-shadow: var(--sh-xs); }

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: 11px;
  background: var(--gray-50);
  color: var(--navy-700);
  font-size: 1.05rem;
  flex-shrink: 0;
}
.contact-icon.whatsapp { background: #e6faee; color: var(--whatsapp-dark); }

.contact-card h3 {
  font-size: .94rem;
  margin-bottom: 2px;
  font-family: var(--font-body);
  font-weight: 600;
}
.contact-card p {
  font-size: .82rem;
  color: var(--gray-500);
  margin: 0 0 3px;
}
.contact-link {
  font-size: .91rem;
  font-weight: 600;
  color: var(--navy-800);
  word-break: break-word;
}
.contact-link:hover { color: var(--blue-500); }

.hours { margin: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: var(--sp-3);
  font-size: .83rem;
  color: var(--gray-600);
  padding: 2px 0;
}
.hours strong { font-weight: 600; color: var(--navy-800); }

.legal-lines {
  font-size: .81rem;
  line-height: 1.6;
  color: var(--gray-600);
  margin: 2px 0 0;
}

/* ==========================================================================
   15. RODAPÉ
   ========================================================================== */
.site-footer {
  background: var(--navy-900);
  color: #b9cade;
  padding-top: clamp(44px, 6vw, 68px);
  font-size: .89rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  padding-bottom: var(--sp-7);
}

.footer-brand .brand-mark { margin-bottom: var(--sp-3); }
.footer-name {
  font-family: var(--font-head);
  font-size: 1.06rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--sp-2);
}
.footer-desc { font-size: .85rem; color: #91a8c1; max-width: 34ch; margin: 0; }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: var(--sp-4);
}
.footer-social[hidden] { display: none; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .07);
  color: #cddbea;
  font-size: .9rem;
  transition: background-color var(--transition), color var(--transition);
}
.footer-social-link:hover {
  background: var(--whatsapp);
  color: #06301a;
}

.footer-col h3 {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: var(--sp-4);
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  color: #b9cade;
  font-size: .87rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--whatsapp); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: #b9cade;
  line-height: 1.5;
}
.footer-contact i { color: var(--whatsapp); margin-top: 4px; width: 14px; flex-shrink: 0; }

.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: var(--sp-5);
  padding-bottom: var(--sp-6);
  font-size: .78rem;
  color: #8ea4bc;
  line-height: 1.7;
}
.footer-legal p { margin-bottom: 8px; }
.footer-legal strong { color: #d6e4f2; font-weight: 600; }

.footer-disclaimer {
  max-width: 88ch;
  color: #7f96b0;
  font-size: .75rem;
}

.footer-copy { color: #7f96b0; margin-bottom: 0; }

.footer-legal-simple {
  border-top: 0;
  padding-top: var(--sp-6);
}

/* ==========================================================================
   16. FLUTUANTES
   ========================================================================== */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .42);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 12px 30px rgba(37, 211, 102, .5);
}

/* Cookies */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 95;
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  padding: var(--sp-4);
  animation: slideUpBanner .3s ease;
}
.cookie-banner[hidden] { display: none; }

@keyframes slideUpBanner {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}
.cookie-inner p {
  margin: 0;
  font-size: .83rem;
  color: var(--gray-600);
  flex: 1 1 340px;
  line-height: 1.55;
}
.cookie-inner i { color: var(--blue-500); margin-right: 6px; }
.cookie-inner a { font-weight: 600; text-decoration: underline; }
.cookie-actions { flex-shrink: 0; }

/* ==========================================================================
   17. PÁGINAS INTERNAS (privacidade / termos)
   ========================================================================== */
.legal-page {
  padding: clamp(36px, 5vw, 60px) 0 clamp(56px, 7vw, 88px);
  background: var(--gray-25);
  min-height: 60vh;
}

.legal-header {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--gray-200);
}
.legal-header h1 {
  font-size: clamp(1.6rem, 3.6vw, 2.3rem);
  margin-bottom: var(--sp-2);
}
.legal-updated {
  font-size: .84rem;
  color: var(--gray-500);
  margin: 0;
}

.legal-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3.4vw, 44px);
  box-shadow: var(--sh-xs);
}

.legal-card h2 {
  font-size: 1.16rem;
  margin-top: var(--sp-6);
  margin-bottom: var(--sp-3);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--gray-100);
}
.legal-card h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }

.legal-card h3 {
  font-family: var(--font-body);
  font-size: .97rem;
  font-weight: 600;
  margin-top: var(--sp-5);
  margin-bottom: var(--sp-2);
}

.legal-card p,
.legal-card li {
  font-size: .93rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.legal-card ul { margin: 0 0 var(--sp-4); }
.legal-card ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 7px;
}
.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .68em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue-500);
}

.legal-card a { text-decoration: underline; }
.legal-card strong { color: var(--navy-800); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-4) 0;
  font-size: .88rem;
}
.legal-table th,
.legal-table td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-600);
  vertical-align: top;
}
.legal-table th {
  background: var(--gray-50);
  color: var(--navy-800);
  font-weight: 600;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.legal-note {
  padding: var(--sp-4);
  background: var(--blue-100);
  border-radius: var(--r-sm);
  border-left: 4px solid var(--blue-500);
  font-size: .89rem;
  color: var(--navy-700);
  margin: var(--sp-4) 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy-700);
}
.legal-back:hover { color: var(--blue-500); }

/* Navegação simplificada das páginas internas */
.nav-simple {
  position: static !important;
  transform: none !important;
  visibility: visible !important;
  display: flex !important;
  flex-direction: row !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  inset: auto !important;
  overflow: visible !important;
}

/* ==========================================================================
   18. RESPONSIVO
   ========================================================================== */
@media (max-width: 1080px) {
  .nav ul { gap: 0; }
  .nav ul a { padding: 9px 9px; font-size: .88rem; }
  .nav-cta { margin-left: 0; }
  .brand-text small { display: none; }
}

@media (max-width: 980px) {
  .hero-inner,
  .empresa-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .hero-panel { order: -1; max-width: 460px; margin: 0 auto; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .audience { grid-template-columns: repeat(2, 1fr); }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .step::after { display: none; }

  .strip-inner { grid-template-columns: 1fr; gap: var(--sp-4); }

  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); }
}

@media (max-width: 860px) {
  /* Menu mobile */
  .nav-toggle { display: flex; }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 38px) 0 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: var(--sp-4);
    padding: var(--sp-5);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    overflow-y: auto;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    z-index: 89;
  }
  .nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
  }
  .nav ul a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--r-sm);
    border-bottom: 1px solid var(--gray-100);
  }
  .nav ul li:last-child a { border-bottom: 0; }

  .nav-cta {
    width: 100%;
    padding: 15px 20px;
    font-size: .95rem;
    margin-top: var(--sp-2);
  }
}

@media (max-width: 640px) {
  .container { padding: 0 var(--sp-4); }

  .topbar { display: none; }

  h1 { font-size: clamp(1.7rem, 7.4vw, 2.15rem); }
  h2 { font-size: clamp(1.35rem, 5.6vw, 1.65rem); }

  .header-inner { min-height: 66px; gap: var(--sp-3); }
  .brand-mark { width: 40px; height: 40px; font-size: .82rem; border-radius: 10px; }
  .brand-text strong { font-size: .96rem; }

  .nav { inset: calc(66px) 0 0; }

  .hero { padding: 30px 0 44px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-chips { gap: var(--sp-2) var(--sp-4); font-size: .82rem; }

  .panel-card { transform: none; padding: var(--sp-4); }
  .panel-badge { left: auto; right: -6px; bottom: -16px; padding: 11px 16px; }
  .panel-badge strong { font-size: 1.25rem; }

  .cards,
  .diff-grid,
  .audience,
  .steps { grid-template-columns: 1fr; }

  .field-row { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
  .footer-desc { max-width: none; }

  .wa-float { width: 52px; height: 52px; font-size: 1.45rem; right: 14px; bottom: 14px; }

  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: var(--sp-4); }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .cookie-actions .btn { width: 100%; }

  .data-list > div { flex-direction: column; gap: 2px; }
  .data-list dd { text-align: left; }

  .legal-table { font-size: .82rem; }
  .legal-table th,
  .legal-table td { padding: 9px 10px; }
}

@media (max-width: 400px) {
  .hero-chips li { font-size: .79rem; }
  .brand-text strong { font-size: .9rem; }
}

/* ==========================================================================
   19. ACESSIBILIDADE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .wa-float, .cookie-banner, .topbar, .nav-toggle { display: none !important; }
  body { color: #000; }
  .legal-card { box-shadow: none; border: 0; }
}
