/* ==========================================================================
   Gomez Advocacia · style.css
   Tokens: 07-design-system.json (cores, tipografia, espaçamento, raios, sombras).
   Ajustes do 00 (seção 12.7): foco verde em fundo claro e dourado em fundo escuro;
   dourado nunca é usado como texto sobre fundo claro (contraste 2,3:1).
   Tema único claro, por decisão de marca.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Cores (07) */
  --primary: #1B3A2D;
  --primary-hover: #244D3B;
  --primary-soft: #E7EDE9;
  --secondary: #F1F0ED;
  --accent: #C5A365;
  --accent-hover: #B18D4E;
  --accent-soft: #F3EBDD;
  --text: #17251E;
  --text-muted: #747A74;            /* só texto grande */
  --text-muted-acc: #606A62;        /* texto pequeno, AA */
  --text-inverse: #FBFBF9;
  --text-inverse-muted: #C5CDC6;
  --surface: #FBFBF9;
  --surface-white: #FFFFFF;
  --surface-dark: #111A16;
  --surface-dark-soft: #1B2B22;
  --border: #E1E4DE;
  --border-dark: #39483D;
  --success: #286A49;
  --success-bg: #E8F3EC;
  --error: #B43F3F;
  --error-bg: #FCEBEB;

  /* Tipografia (07) */
  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", Arial, Helvetica, sans-serif;
  --fs-h1: clamp(2.75rem, 5.2vw, 5rem);
  --fs-h2: clamp(2.25rem, 4vw, 3.75rem);
  --fs-h3: clamp(1.75rem, 2.8vw, 2.75rem);
  --fs-h4: clamp(1.5rem, 2vw, 2rem);
  --fs-h5: clamp(1.125rem, 1.5vw, 1.375rem);
  --fs-h6: clamp(1rem, 1.2vw, 1.125rem);
  --fs-body-lg: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-body: clamp(1rem, 1.1vw, 1.0625rem);
  --fs-body-sm: clamp(0.875rem, 1vw, 0.9375rem);
  --fs-caption: 0.875rem;
  --fs-eyebrow: clamp(0.75rem, 0.9vw, 0.8125rem);

  /* Espaçamento (07) */
  --section-y: 56px;
  --head-gap: 48px;
  --card-pad: 24px;
  --gap: 24px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));

  /* Raios e sombras (07) */
  --r-btn: 4px;
  --r-card: 8px;
  --r-input: 6px;
  --r-img: 4px;
  --shadow-sm: 0 2px 8px rgba(17, 26, 22, .05);
  --shadow-md: 0 8px 24px rgba(17, 26, 22, .08);
  --shadow-lg: 0 16px 40px rgba(17, 26, 22, .12);

  /* Cabeçalho */
  --topbar-h: 44px;
  --header-h: 72px;
  --ease: 250ms ease;
}

@media (min-width: 768px) {
  :root { --section-y: 72px; }
}
@media (min-width: 1024px) {
  :root { --section-y: 96px; --card-pad: 32px; --topbar-h: 32px; --header-h: 88px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Faixa da área segura acima do cabeçalho fixo (notch) */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: env(safe-area-inset-top, 0px);
  background: var(--primary);
  z-index: 120;
}
img { display: block; max-width: 100%; height: auto; }
svg { display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -0.015em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }
a { color: var(--primary); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary-hover); }
address { font-style: normal; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
.on-dark :focus-visible { outline-color: var(--accent); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 300;
  background: var(--surface-white); color: var(--primary); padding: 12px 16px;
  border-radius: var(--r-btn); box-shadow: var(--shadow-md); font-weight: 600;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* Ícones Lucide (traço 1,75, conforme o 07) */
.ic {
  width: 24px; height: 24px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: calc(1200px + var(--gutter-l) + var(--gutter-r));
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}
.section { padding-block: var(--section-y); }
.bg-surface { background: var(--surface); }
.bg-white { background: var(--surface-white); }
.bg-alt { background: var(--secondary); }
.bg-dark { background: var(--surface-dark); color: var(--text-inverse); }
.bg-primary { background: var(--primary); color: var(--text-inverse); }

.section-head { max-width: 760px; margin-bottom: var(--head-gap); }
.section-head.is-center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block;
  font-family: var(--font-body); font-size: var(--fs-eyebrow); font-weight: 600;
  line-height: 1.4; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 12px;
}
.section-head h2 + p, .section-head .lead { margin-top: 20px; }
.lead { font-size: var(--fs-body-lg); line-height: 1.75; color: var(--text); }
.section-head p + p { margin-top: 12px; }

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--text-inverse); }
.on-dark .eyebrow { color: var(--accent); }
.on-dark p, .on-dark .lead { color: var(--text-inverse-muted); }
.on-dark strong { color: var(--text-inverse); }
.on-dark a:not(.btn) { color: var(--text-inverse); }
.on-dark a:not(.btn):hover { color: var(--accent); }

.grid { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Grade de exatamente 3 itens: nunca 2 + 1 no tablet. 1 coluna até 899 px, 3 colunas a partir de 900 px */
@media (min-width: 768px) and (max-width: 899px) {
  .grid-3:has(> :nth-child(3):last-child) { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 900px) {
  .grid-3:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Botões (07) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--font-body); font-size: 14px; font-weight: 600; letter-spacing: 0.01em; line-height: 1.3;
  text-align: center; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r-btn);
  transition: background-color var(--ease), border-color var(--ease), color var(--ease), transform 200ms ease, box-shadow var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #FFFFFF; }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; }
.btn-primary:active { background: var(--surface-dark); }
.btn-secondary { background: var(--accent); border-color: var(--accent); color: var(--text); }
.btn-secondary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--text); }
.btn-ghost { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-ghost:hover { background: var(--primary-soft); color: var(--primary); }
.btn-ghost-inverse { background: transparent; border-color: rgba(251, 251, 249, .45); color: var(--text-inverse); }
.btn-ghost-inverse:hover { background: rgba(251, 251, 249, .08); border-color: var(--text-inverse); color: var(--text-inverse); }
.btn-block { width: 100%; }
.btn-lg { min-height: 56px; padding-inline: 32px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--primary);
}
.link-arrow .ic { width: 18px; height: 18px; transition: transform var(--ease); }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ==========================================================================
   1. CABEÇALHO: topbar + barra principal + mega menu (06)
   ========================================================================== */
.site-header {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) - var(--topbar-h));
  z-index: 100;
  background: var(--surface-white);
}
.topbar { background: var(--primary); color: var(--text-inverse); font-size: 12px; line-height: 1.3; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: var(--topbar-h); }
.topbar-info, .topbar-links { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: inline-flex; align-items: center; gap: 6px; color: var(--text-inverse); white-space: nowrap; }
.topbar-item .ic { width: 14px; height: 14px; color: var(--accent); }
.topbar a { color: var(--text-inverse); text-decoration: none; min-height: var(--topbar-h); display: inline-flex; align-items: center; }
.topbar a:hover { text-decoration: underline; color: var(--text-inverse); }
.topbar :focus-visible { outline-color: var(--accent); outline-offset: -2px; }
.topbar-area, .topbar-lang-info { display: none; }
@media (min-width: 768px) { .topbar-lang-info { display: inline-flex; } }
@media (min-width: 1024px) { .topbar-area { display: inline-flex; } }
.lang-switch { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; letter-spacing: .04em; }
.lang-switch a { padding-inline: 8px; min-width: 44px; justify-content: center; }
.lang-switch a[aria-current] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.lang-switch span { color: var(--text-inverse-muted); }

.header-bar { position: relative; border-bottom: 1px solid var(--border); background: var(--surface-white); }
.header-bar > .container {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--header-h); transition: height var(--ease);
}
.is-scrolled .header-bar > .container { height: 64px; }
.logo { display: inline-flex; align-items: center; flex: none; min-height: 44px; }
.logo img { width: auto; height: 40px; max-width: 170px; object-fit: contain; transition: height var(--ease); }
@media (min-width: 1024px) {
  .logo img { height: 48px; max-width: 220px; }
  .is-scrolled .logo img { height: 40px; }
}

.main-nav { display: none; }
.header-cta { display: none; }
@media (min-width: 1024px) {
  .main-nav { display: flex; align-items: center; margin-left: auto; height: 100%; }
  .header-cta { display: inline-flex; }
  .menu-toggle { display: none !important; }
}
.menu { display: flex; align-items: center; gap: 20px; height: 100%; }
@media (min-width: 1280px) { .menu { gap: 28px; } }
.menu > li { height: 100%; display: flex; align-items: center; }
.menu-link {
  position: relative; display: inline-flex; align-items: center; gap: 6px;
  height: 100%; min-height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; color: var(--text); text-decoration: none; white-space: nowrap;
}
.menu-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform var(--ease);
}
.menu-link:hover { color: var(--primary); }
.menu-link:hover::after, .menu-link[aria-current="page"]::after, .has-mega:hover > .menu-link::after { transform: scaleX(1); }
.menu-link .ic { width: 16px; height: 16px; transition: transform var(--ease); }
.menu-link:focus-visible { outline-offset: -2px; }

/* Mega menu */
.has-mega { position: static; }
.mega {
  position: absolute; top: 100%; left: 50%;
  width: min(100% - 40px, 1200px);
  max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain;
  background: var(--surface-white); border: 1px solid var(--border); border-top: 0;
  border-radius: 0 0 var(--r-card) var(--r-card); box-shadow: var(--shadow-lg);
  display: grid; grid-template-columns: minmax(0, 3.4fr) minmax(0, 1fr); gap: 28px;
  padding: 24px 28px 0;
  visibility: hidden; opacity: 0; transform: translate(-50%, 8px);
  transition: opacity 200ms ease 300ms, transform 200ms ease 300ms, visibility 0s linear 500ms;
}
/* Abertura sem JavaScript: hover (com atraso) e foco por teclado */
@media (hover: hover) {
  .has-mega:hover > .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity 200ms ease 150ms, transform 200ms ease 150ms, visibility 0s linear 150ms; }
}
.has-mega:focus-within > .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
/* Com JavaScript: clique abre/fecha; foco por mouse não prende o painel aberto */
html.js .has-mega:focus-within:not(.is-open):not(:has(:focus-visible)) > .mega { visibility: hidden; opacity: 0; transform: translate(-50%, 8px); }
@media (hover: hover) {
  /* Mesma especificidade da regra acima (vem depois, então vence): clicar num item com o mouse sobre o painel não o fecha */
  html.js .has-mega:hover:focus-within:not(.is-open):not(.is-suppressed) > .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
}
html.js .has-mega.is-open > .mega { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity 200ms ease, transform 200ms ease, visibility 0s; }
html.js .has-mega.is-suppressed.is-suppressed.is-suppressed > .mega { visibility: hidden; opacity: 0; transform: translate(-50%, 8px); transition: none; }
.has-mega.is-open > .menu-link .ic { transform: rotate(180deg); }

.mega-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mega-title { margin: 0 0 8px; padding: 0 8px; }
.mega-title a {
  display: inline-flex; align-items: center; min-height: 32px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary); text-decoration: none;
}
.mega-title a:hover { text-decoration: underline; }
.mega-item {
  display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 10px; align-items: start;
  min-height: 44px; padding: 5px 8px; border-radius: var(--r-btn); text-decoration: none; color: var(--text);
  transition: background-color var(--ease);
}
.mega-item:hover { background: var(--primary-soft); color: var(--text); }
.mega-item .ic { width: 20px; height: 20px; color: var(--primary); margin-top: 1px; grid-row: span 2; }
.mega-nome { font-size: 14px; font-weight: 600; line-height: 1.35; }
.mega-desc { font-size: 12px; line-height: 1.4; color: var(--text-muted-acc); }
.mega-todos {
  display: inline-block; padding: 12px 8px; line-height: 1.4;
  font-size: 13px; font-weight: 600; color: var(--primary);
}
.mega-todos .ic { display: inline-block; width: 16px; height: 16px; vertical-align: -3px; margin-left: 4px; }
.mega-destaque {
  background: var(--secondary); border-radius: var(--r-card); padding: 16px;
  display: flex; flex-direction: column; gap: 12px; align-self: start;
}
.mega-destaque img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); }
.mega-destaque-titulo { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.mega-destaque p:not(.mega-destaque-titulo) { font-size: 14px; line-height: 1.55; color: var(--text-muted-acc); }
.mega-destaque .btn { min-height: 44px; padding: 10px 16px; font-size: 13px; }
.mega-faixa {
  grid-column: 1 / -1; display: flex; align-items: center; flex-wrap: wrap; gap: 8px 32px;
  margin-inline: -28px; padding: 8px 28px; border-top: 1px solid var(--border); background: var(--surface);
  font-size: 14px;
}
.mega-faixa a, .mega-faixa p { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.mega-faixa a { font-weight: 600; }
.mega-faixa .ic { width: 18px; height: 18px; color: var(--primary); }
.mega-faixa p { margin-left: auto; color: var(--text-muted-acc); }

/* Botão Menu (mobile) */
.menu-toggle {
  display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px;
  margin-right: -12px; font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none;
}
.menu-toggle:hover { color: var(--primary-hover); }

/* Menu mobile em tela cheia (06, seção 4.2) */
.mobile-panel {
  position: fixed; inset: 0; z-index: 200; display: none; flex-direction: column;
  background: var(--surface);
  padding-top: env(safe-area-inset-top, 0px);
}
.mobile-panel:target, .mobile-panel.is-open { display: flex; }
html.menu-open, html.menu-open body { overflow: hidden; }
.mobile-panel-head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 72px; padding-left: var(--gutter-l); padding-right: var(--gutter-r);
  background: var(--surface-white); border-bottom: 1px solid var(--border); flex: none;
}
.menu-close {
  display: inline-flex; align-items: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 12px; margin-right: -12px;
  font-size: 14px; font-weight: 600; color: var(--primary); text-decoration: none;
}
.mobile-panel-body {
  flex: 1; overflow-y: auto; overscroll-behavior: contain;
  padding: 8px var(--gutter-r) 24px var(--gutter-l);
}
.mobile-label {
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary);
  padding: 16px 0 8px;
}
.acc { border-bottom: 1px solid var(--border); }
.acc > summary {
  display: flex; align-items: center; gap: 12px; min-height: 52px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 600; color: var(--text);
}
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary .ic { color: var(--primary); }
.acc > summary .chev { margin-left: auto; width: 20px; height: 20px; transition: transform var(--ease); }
.acc[open] > summary .chev { transform: rotate(180deg); }
.acc ul { padding: 0 0 12px 36px; }
.acc li a {
  display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--text); text-decoration: none;
}
.acc li a:hover { color: var(--primary); text-decoration: underline; }
.acc li a.acc-hub { font-weight: 600; color: var(--primary); }
.mobile-links li a {
  display: flex; align-items: center; min-height: 52px; border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none;
}
.mobile-links li a:hover { color: var(--primary); }
.mobile-lang { display: flex; gap: 8px; align-items: center; padding-top: 16px; font-weight: 600; }
.mobile-lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
.mobile-panel-foot {
  flex: none; padding: 16px var(--gutter-r) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gutter-l);
  background: var(--surface-white); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(17, 26, 22, .06);
  display: grid; gap: 4px; text-align: center;
}
.mobile-panel-foot .btn { width: 100%; background: var(--primary); color: var(--text-inverse); }
.mobile-panel-foot a.call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; font-weight: 600; }
@media (min-width: 1024px) { .mobile-panel { display: none !important; } }

/* ==========================================================================
   2. HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; background: var(--surface-dark); color: var(--text-inverse); overflow: hidden; }
/* Foto do advogado de fundo (07: assunto à direita no desktop, texto à esquerda, overlay funcional) */
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(17, 26, 22, .55) 0%, rgba(17, 26, 22, .82) 45%, rgba(17, 26, 22, .94) 100%);
}
.hero-grid { display: grid; align-items: center; padding-block: 56px 64px; }
.hero-text { max-width: 680px; }
@media (max-width: 1023px) {
  .hero-bg { bottom: auto; height: min(480px, 110vw); }
  .hero-bg img { object-position: 50% 18%; }
  .hero::after { background: linear-gradient(180deg, rgba(17, 26, 22, .05) 0%, rgba(17, 26, 22, .35) min(260px, 60vw), rgba(17, 26, 22, 1) min(480px, 110vw)); }
  .hero-grid { padding-top: min(330px, 76vw); }
}
@media (min-width: 1024px) {
  .hero-bg img { object-position: 85% 25%; }
  .hero::after { background: linear-gradient(90deg, rgba(17, 26, 22, .92) 0%, rgba(17, 26, 22, .78) 42%, rgba(17, 26, 22, .25) 72%, rgba(17, 26, 22, .08) 100%); }
  .hero-grid { min-height: min(720px, 80vh); padding-block: 88px; }
}
.hero h1 { max-width: 760px; text-shadow: 0 2px 12px rgba(17, 26, 22, .18); }
.hero-lead { margin-top: 24px; max-width: 620px; font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text-inverse-muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }
@media (max-width: 599px) { .hero-ctas .btn { width: 100%; } }
.hero-proofs {
  display: grid; gap: 16px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(197, 205, 198, .28);
}
@media (min-width: 600px) { .hero-proofs { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.proof { display: flex; align-items: flex-start; gap: 12px; }
@media (min-width: 600px) { .proof { flex-direction: column; gap: 14px; } }
.proof-icon {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: var(--r-card);
  background: rgba(27, 43, 34, .85); border: 1px solid var(--border-dark); color: var(--accent);
}
.proof-icon .ic { width: 22px; height: 22px; display: block; }
.proof strong { display: block; font-size: 14px; line-height: 1.35; color: var(--text-inverse); }
.proof-text > span { display: block; font-size: 13px; line-height: 1.45; color: var(--text-inverse-muted); margin-top: 2px; }

/* ==========================================================================
   3. FAIXA DE CONFIANÇA (stats_block do 07)
   ========================================================================== */
.stats { background: var(--surface-dark); border-top: 1px solid var(--border-dark); }
.stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { padding: 32px 16px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.stat + .stat { border-left: 1px solid var(--border-dark); }
@media (max-width: 1023px) {
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--border-dark); }
}
@media (min-width: 1024px) { .stat { padding: 48px 24px; } }
.stat .ic { color: var(--accent); width: 28px; height: 28px; margin-bottom: 6px; }
.stat-num {
  font-family: var(--font-heading); font-weight: 600; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.05;
  color: var(--text-inverse); letter-spacing: -0.02em;
}
.stat-num small { font-family: var(--font-heading); font-size: 0.5em; font-weight: 500; letter-spacing: 0; color: var(--text-inverse-muted); margin-right: 6px; }
.stat-label { font-size: 14px; line-height: 1.45; color: var(--text-inverse-muted); max-width: 220px; }

/* ==========================================================================
   4. SERVIÇOS (service_card do 07)
   ========================================================================== */
.card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card);
  overflow: hidden; transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}
.card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card:focus-within { border-color: var(--primary); }
.card-media { overflow: hidden; background: var(--primary-soft); }
.card-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 500ms ease; }
.card:hover .card-media img { transform: scale(1.035); }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.card-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: var(--r-card);
  background: var(--primary-soft); color: var(--primary); box-shadow: 0 0 0 4px var(--surface-white);
  margin-top: -52px; margin-bottom: 16px; position: relative;
}
.card h3 { font-size: clamp(1.5rem, 1.9vw, 1.75rem); line-height: 1.2; letter-spacing: -0.015em; }
.card-text { margin-top: 12px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); min-height: calc(2 * 1.65em); }
.card-action { margin-top: auto; padding-top: 16px; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }

.chips { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.chips-label { width: 100%; text-align: center; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
.chip {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px;
  background: var(--surface-white); border: 1px solid var(--border); color: var(--primary);
  font-size: 14px; font-weight: 500; text-decoration: none; transition: background-color var(--ease), border-color var(--ease);
}
.chip:hover { background: var(--primary-soft); border-color: var(--primary); }

/* ==========================================================================
   5. PROBLEMA E SOLUÇÃO
   ========================================================================== */
.split { display: grid; gap: 48px; align-items: stretch; }
@media (min-width: 1024px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
/* Cenários: três situações reais em cartões editoriais, com régua de prazo */
.cenarios { position: relative; overflow: hidden; }
.cenarios::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: .6;
}
.cenarios-head { display: grid; gap: 20px; margin-bottom: var(--head-gap); align-items: end; }
@media (min-width: 1024px) { .cenarios-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.cenarios-head h2 { max-width: 700px; }
.cenarios-grid { counter-reset: cen; }
.cenario {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: 32px var(--card-pad) var(--card-pad); border-radius: var(--r-card);
  background: rgba(17, 26, 22, .38); border: 1px solid rgba(197, 163, 101, .28);
  transition: border-color var(--ease), transform var(--ease), background-color var(--ease);
}
.cenario:hover { border-color: var(--accent); transform: translateY(-4px); background: rgba(17, 26, 22, .5); }
.cenario-num {
  position: absolute; top: 18px; right: 24px;
  font-family: var(--font-heading); font-size: 4.5rem; font-weight: 500; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px rgba(197, 163, 101, .55);
}
.cenario h3 { font-size: clamp(1.5rem, 1.9vw, 1.75rem); line-height: 1.2; padding-right: 72px; }
@media (min-width: 1024px) { .cenario h3 { min-height: 2.4em; } }
.cenario-fala { margin: 20px 0 0; padding: 20px 0 20px 20px; border-left: 2px solid var(--accent); }
.cenario-fala blockquote { margin: 0; }
.on-dark .cenario-fala p { font-family: var(--font-heading); font-style: italic; font-size: 1.375rem; line-height: 1.4; color: var(--text-inverse); }
@media (min-width: 1024px) { .on-dark .cenario-fala p { min-height: calc(3 * 1.4em); } }
.on-dark .cenario-fala figcaption { margin-top: 8px; font-size: 12px; color: var(--text-inverse-muted); letter-spacing: .02em; }
.on-dark .cenario-label {
  margin-top: 24px; margin-bottom: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.cenario-ajuda { display: grid; gap: 8px; }
.cenario-ajuda li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.5; color: var(--text-inverse-muted); }
.cenario-ajuda .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.rotas { margin: 0; display: grid; gap: 12px; }
.rota { display: grid; gap: 6px; }
.rota dt { font-size: 13px; font-weight: 600; color: var(--text-inverse); }
.rota dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.rota-barra { display: block; height: 6px; border-radius: 999px; background: rgba(251, 251, 249, .12); overflow: hidden; }
.rota-barra span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.rota + .rota .rota-barra span { background: rgba(197, 205, 198, .55); }
.rota-tempo { font-size: 13px; color: var(--text-inverse-muted); white-space: nowrap; min-width: 112px; text-align: right; }
.cenario .link-arrow { margin-top: auto; padding-top: 24px; align-self: flex-start; }
.cenarios-nota { margin-top: 24px; font-size: 13px; text-align: center; }

/* ==========================================================================
   6. COMO FUNCIONA (process_steps do 07)
   ========================================================================== */
.steps { display: grid; gap: 40px 24px; counter-reset: passo; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.step { position: relative; }
.step-num {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px;
  background: var(--primary); color: #FFFFFF; font-weight: 600; font-size: 16px;
}
@media (min-width: 1024px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 24px; left: 64px; right: -8px; height: 1px; background: var(--accent);
  }
}
.step h3 { display: flex; align-items: center; gap: 10px; margin-top: 20px; font-size: clamp(1.375rem, 1.8vw, 1.625rem); line-height: 1.2; }
.step h3 .ic { color: var(--primary); width: 24px; height: 24px; }
.step p { margin-top: 10px; color: var(--text-muted-acc); font-size: var(--fs-body-sm); line-height: 1.65; }
.section-foot { margin-top: 40px; display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; text-align: center; }

/* ==========================================================================
   7. DIFERENCIAIS (feature_card do 07)
   ========================================================================== */
.feature {
  display: flex; gap: 20px; align-items: flex-start; height: 100%;
  padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card);
}
.feature-icon {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: var(--r-card);
  background: var(--primary-soft); color: var(--primary);
}
.feature h3 {
  font-family: var(--font-body); font-size: var(--fs-h5); font-weight: 600; line-height: 1.35; letter-spacing: -0.015em;
}
.feature p { margin-top: 8px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }

/* ==========================================================================
   8. INFORMATION GAIN: comparação + checklist
   ========================================================================== */
.ig-block + .ig-block { margin-top: 64px; }
.ig-block-sep { margin-top: 48px; }
.ig-block > h3 { font-size: var(--fs-h3); margin-bottom: 24px; }
.table-wrap {
  overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface-white);
  -webkit-overflow-scrolling: touch;
}
.table-wrap:focus-visible { outline-offset: 2px; }
.compare { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.compare th, .compare td { padding: 18px 24px; text-align: left; vertical-align: top; }
.compare thead th { background: var(--primary); color: #FFFFFF; font-weight: 600; font-size: 14px; letter-spacing: .01em; }
.compare thead th:first-child { width: 26%; }
.compare tbody tr:nth-child(even) { background: var(--secondary); }
.compare tbody tr:hover { background: var(--primary-soft); }
.compare tbody th { font-weight: 600; color: var(--text); }
.compare td { color: var(--text); }
.table-note { margin-top: 12px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.check-card {
  height: 100%; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card);
}
.check-card h4 { font-size: var(--fs-h4); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding-block: 6px; font-size: 15px; line-height: 1.55; }
.check-list .ic { width: 20px; height: 20px; color: var(--primary); margin-top: 1px; }
.highlight {
  margin-top: 32px; padding: 24px; border-left: 3px solid var(--primary); border-radius: var(--r-img);
  background: var(--primary-soft); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.highlight p { max-width: 620px; }

/* ==========================================================================
   9. CIDADES
   ========================================================================== */
.city {
  display: flex; flex-direction: column; height: 100%;
  padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.city:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.city .feature-icon { margin-bottom: 20px; }
.city h3 { font-size: var(--fs-h4); line-height: 1.2; }
.city p { margin-top: 10px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }
.city .link-arrow { margin-top: auto; padding-top: 16px; }

/* ==========================================================================
   10. AVALIAÇÕES
   ========================================================================== */
.review {
  display: flex; flex-direction: column; height: 100%; margin: 0;
  padding: var(--card-pad); background: var(--surface-dark-soft); border: 1px solid var(--border-dark); border-radius: var(--r-card);
}
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.review-top .quote { width: 32px; height: 32px; color: var(--accent); }
.stars { display: flex; gap: 2px; color: var(--accent); }
.stars .ic { width: 18px; height: 18px; }
.review blockquote { margin: 20px 0 24px; }
.review blockquote p {
  font-family: var(--font-heading); font-size: 1.375rem; line-height: 1.45; font-weight: 500; color: var(--text-inverse);
}
.review-foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border-dark); }
.review h3 { font-family: var(--font-body); font-size: var(--fs-h6); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.review-source { margin-top: 2px; font-size: 13px; color: var(--text-inverse-muted); display: flex; align-items: center; gap: 6px; }
.review-source .ic { width: 14px; height: 14px; color: var(--accent); }
.on-dark .link-arrow { color: var(--accent); }
.on-dark .link-arrow:hover { color: var(--text-inverse); }

/* ==========================================================================
   11. FAQ (details/summary)
   ========================================================================== */
.faq-layout { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-layout .section-head { position: sticky; top: calc(64px + 32px); margin-bottom: 0; }
}
.faq-aside { margin-top: 32px; padding: 24px; border-radius: var(--r-card); background: var(--secondary); }
.faq-aside p { font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.faq-aside p strong { color: var(--text); display: block; font-size: 16px; margin-bottom: 4px; }
.faq-aside .link-arrow { margin-top: 8px; }
.faq-list { border-top: 1px solid var(--border); }
.faq { border-bottom: 1px solid var(--border); }
.faq > summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 24px 0;
  cursor: pointer; list-style: none; font-size: 17px; font-weight: 600; line-height: 1.5; color: var(--text);
  transition: color var(--ease);
}
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary:hover { color: var(--primary); }
.faq > summary .ic { width: 22px; height: 22px; color: var(--primary); margin-top: 2px; }
.faq .i-minus { display: none; }
.faq[open] .i-minus { display: block; }
.faq[open] .i-plus { display: none; }
.faq-answer { padding: 0 48px 24px 0; font-size: 16px; line-height: 1.75; }
.faq-answer p + p { margin-top: 12px; }

/* ==========================================================================
   12. BLOG (blog_card do 07)
   ========================================================================== */
.post .card-media img { aspect-ratio: 16 / 9; }
.badge {
  display: inline-flex; align-self: flex-start; padding: 6px 12px; border-radius: 999px;
  background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; line-height: 1.3;
}
.post h3 { margin-top: 16px; font-size: clamp(1.375rem, 1.7vw, 1.625rem); line-height: 1.2; }
.post h3 a { color: var(--text); text-decoration: none; transition: color var(--ease); }
.post:hover h3 a { color: var(--primary); }
.post-action { margin-top: auto; padding-top: 16px; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--primary); }
.post-action .ic { width: 18px; height: 18px; }

/* ==========================================================================
   13. CTA FINAL + FORMULÁRIO
   ========================================================================== */
.cta-final .split { align-items: center; }
@media (min-width: 1024px) { .cta-final .split { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); } }
.cta-list { margin-top: 32px; display: grid; gap: 14px; }
.cta-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-inverse); font-size: 16px; line-height: 1.55; }
.cta-list .ic { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.cta-phone { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(251, 251, 249, .18); }
.cta-phone a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; font-size: 18px; }
.cta-phone .ic { color: var(--accent); }
.form-card {
  background: var(--surface-white); color: var(--text); border-radius: var(--r-card); box-shadow: var(--shadow-lg);
  padding: 24px;
}
@media (min-width: 768px) { .form-card { padding: 32px; } }
.form-card :focus-visible { outline-color: var(--primary); }
.on-dark .form-card p, .on-dark .form-card span, .on-dark .form-card label { color: var(--text); }
.on-dark .form-card .form-sub, .on-dark .form-card .form-note, .on-dark .form-card .opt { color: var(--text-muted-acc); }
.on-dark .form-card a:not(.btn) { color: var(--primary); }
.on-dark .form-card a:not(.btn):hover { color: var(--primary-hover); }
.on-dark .form-card .form-status { color: var(--success); }
.form-title { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 600; line-height: 1.2; color: var(--text); }
.form-sub { margin-top: 6px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.form-grid { display: grid; gap: 20px; margin-top: 24px; }
@media (min-width: 600px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .field-full { grid-column: 1 / -1; } }
.field label, .field .label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--text); }
.field .opt { font-weight: 400; color: var(--text-muted-acc); }
.input {
  width: 100%; min-height: 52px; padding: 14px 16px; font: inherit; font-size: 16px; line-height: 1.4; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-input);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.input::placeholder { color: var(--text-muted-acc); opacity: 1; }
.input:hover { border-color: var(--text-muted); }
.input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(27, 58, 45, .18); }
.input:user-invalid { border-color: var(--error); }
textarea.input { min-height: 120px; resize: vertical; }
select.input {
  appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%231B3A2D' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field .consent { display: flex; margin-bottom: 0; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.55; color: var(--text); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--primary); }
.form-actions { margin-top: 24px; display: grid; gap: 12px; }
.form-note { font-size: 13px; line-height: 1.55; color: var(--text-muted-acc); text-align: center; }
.form-note a { color: var(--primary); }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-input); background: var(--success-bg); color: var(--success); font-size: 14px; line-height: 1.55; }
.form-status[hidden] { display: none; }
/* Formulário de serviço e hub: celular 1 campo por linha, computador 2 por linha; erros junto ao campo */
@media (min-width: 600px) and (max-width: 767.98px) { .form-grid-servico { grid-template-columns: minmax(0, 1fr); } }
/* Rótulo, campo e erro alinhados entre os dois campos da mesma linha (subgrid); sem subgrid, empilha normalmente */
.form-grid-servico .field { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
.form-grid-servico .field > label { align-self: end; }
.form-grid-servico .field-full { display: block; grid-row: auto; }
.field-erro { margin-top: 6px; font-size: 13px; line-height: 1.45; font-weight: 500; color: var(--error); }
.field-erro[hidden] { display: none; }
.on-dark .form-card .field-erro { color: var(--error); }
.input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 1px var(--error); }
.consent input[aria-invalid="true"] { outline: 2px solid var(--error); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.btn.is-loading { cursor: progress; opacity: .85; }
.btn.is-loading::before {
  content: ""; width: 16px; height: 16px; flex: none;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: girar 800ms linear infinite;
}
@keyframes girar { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn.is-loading::before { animation: none; border-right-color: currentColor; opacity: .6; } }
.form-status.is-aviso { background: var(--accent-soft); color: var(--text); }
.form-status.is-erro { display: grid; gap: 12px; background: var(--error-bg); color: var(--error); font-weight: 500; }
.on-dark .form-card .form-status.is-erro, .on-dark .form-card .form-status.is-erro p { color: var(--error); }
.form-status.is-erro .btn { justify-self: start; }
.form-status:focus { outline: none; }
.on-dark .form-card .form-status.is-aviso { color: var(--text); }

/* ==========================================================================
   14. RODAPÉ (06, seção 5)
   ========================================================================== */
.site-footer {
  background: var(--surface-dark); color: var(--text-inverse-muted); font-size: 15px; line-height: 1.6;
  padding-top: 80px; padding-bottom: calc(32px + env(safe-area-inset-bottom, 0px));
}
.site-footer a { color: var(--text-inverse-muted); text-decoration: none; }
.site-footer a:hover { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); }
.site-footer :focus-visible { outline-color: var(--accent); }
.footer-brand { padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--border-dark); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand img { height: 48px; width: auto; max-width: 220px; }
.footer-brand p { max-width: 560px; font-size: 14px; color: var(--text-inverse-muted); }
.footer-cols { display: grid; gap: 40px; }
@media (min-width: 768px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.footer-title { margin-bottom: 12px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-inverse); }
.footer-col > ul > li > a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 4px; line-height: 1.45; }
.footer-col address li { display: flex; gap: 10px; align-items: flex-start; padding-block: 6px; line-height: 1.5; }
.footer-col address li .ic { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.footer-col address li a { min-height: 0; padding: 0; }
.footer-col address li a.as-link { color: var(--text-inverse); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 4px; display: inline-block; padding-block: 10px; margin-block: -10px; }
.footer-col address strong { color: var(--text-inverse); }
.footer-seals {
  margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--border-dark); border-bottom: 1px solid var(--border-dark);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
}
.seals { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.seal { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; }
.seal .ic { width: 18px; height: 18px; color: var(--accent); }
.socials { display: flex; gap: 8px; }
.social {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--r-btn);
  border: 1px solid var(--border-dark); color: var(--text-inverse) !important;
}
.social:hover { border-color: var(--accent); text-decoration: none !important; }
.social .ic { width: 20px; height: 20px; }
.footer-legal { margin-top: 24px; display: grid; gap: 16px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.legal-links a, .legal-links button { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; }
.legal-links button {
  padding: 0; background: none; border: 0; cursor: pointer; color: var(--text-inverse-muted);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--border-dark);
}
.legal-links button:hover { color: var(--text-inverse); }
.rights { font-size: 13px; line-height: 1.6; color: var(--text-inverse-muted); max-width: 980px; }

/* ---------- Movimento reduzido (07) ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important;
  }
  .btn:hover, .card:hover, .card:hover .card-media img { transform: none; }
}

/* ==========================================================================
   HUB DE CATEGORIA (modelo: /familia/)
   ========================================================================== */
.breadcrumb { margin-bottom: 28px; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumb .ic { width: 14px; height: 14px; color: var(--accent); }
.on-dark .breadcrumb a { color: var(--text-inverse-muted); text-decoration: underline; text-decoration-color: rgba(197, 205, 198, .4); display: inline-flex; align-items: center; min-height: 44px; }
.on-dark .breadcrumb a:hover { color: var(--text-inverse); }
.breadcrumb [aria-current] { color: var(--text-inverse); font-weight: 600; }
@media (min-width: 1024px) { .hero-hub .hero-grid { min-height: min(640px, 74vh); padding-block: 48px 72px; } }

.answer { background: var(--surface-white); border-bottom: 1px solid var(--border); }
.answer-grid { display: grid; gap: 12px; padding-block: 40px; }
@media (min-width: 1024px) { .answer-grid { grid-template-columns: 220px minmax(0, 1fr); gap: 48px; padding-block: 56px; align-items: start; } }
.answer-label { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); padding-top: 6px; }
.answer-label .ic { width: 22px; height: 22px; }
.answer-text {
  font-family: var(--font-heading); font-size: clamp(1.375rem, 2.2vw, 1.875rem); line-height: 1.4; font-weight: 500; color: var(--text);
  padding-left: 24px; border-left: 3px solid var(--primary);
}

.card-compact .card-body { padding: 24px 20px; }
.card-compact h3 { font-size: clamp(1.375rem, 1.6vw, 1.5rem); min-height: 2.4em; }
@media (max-width: 1023px) { .card-compact h3 { min-height: 0; } }

.compare-hub { min-width: 920px; }
.compare-hub thead th:first-child { width: 18%; }
.compare-hub tbody th a { font-weight: 600; }

.ig-card {
  display: flex; flex-direction: column; gap: 4px; height: 100%;
  padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card);
  border-top: 3px solid var(--primary);
}
.ig-card .feature-icon { margin-bottom: 16px; }
.ig-card > h3 { font-size: var(--fs-h4); line-height: 1.2; margin-bottom: 8px; min-height: 2.4em; }
@media (max-width: 1023px) { .ig-card > h3 { min-height: 0; } }
.ig-item { padding-block: 16px; border-top: 1px solid var(--border); }
.ig-item h4, .ig-item h3 { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.ig-item p { margin-top: 6px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }

/* ==========================================================================
   PÁGINA DE SERVIÇO (modelo: /familia/inventario/)
   ========================================================================== */
.ph { display: inline-block; padding: 0 6px; border-radius: 3px; background: var(--accent-soft); color: var(--text); font-weight: 600; font-size: .9em; }

.hero-servico { background: radial-gradient(120% 90% at 100% 0%, var(--primary) 0%, var(--surface-dark) 62%); }
.hero-servico::after { content: none; }
.hero-servico::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(197, 163, 101, .045) 0 1px, transparent 1px 22px);
}
.hero-servico-grid { display: grid; gap: 40px; padding-block: 40px 56px; align-items: start; }
@media (min-width: 1024px) { .hero-servico-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; padding-block: 48px 80px; } }
.hero-servico h1 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
.hero-servico .hero-proofs { margin-top: 36px; }
.hero-servico .form-card { scroll-margin-top: 120px; }
.hero-author { display: flex; align-items: center; gap: 16px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border-dark); }
.hero-author img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--accent); flex: none; }
.hero-author p { font-size: 14px; line-height: 1.5; color: var(--text-inverse-muted); }
.hero-author strong { display: block; color: var(--text-inverse); font-size: 15px; }

.fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.fieldset legend { padding: 0; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin-top: 4px; }
.check { display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: 14px; line-height: 1.4; color: var(--text); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; flex: none; accent-color: var(--primary); }
.on-dark .form-card .check span, .on-dark .form-card legend { color: var(--text); }

.split-even { align-items: start; }
@media (min-width: 1024px) { .split-even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.prose p { font-size: var(--fs-body); line-height: 1.75; color: var(--text); }
.prose p + p { margin-top: 16px; }
.prose strong { color: var(--primary); font-weight: 600; }
.tipos-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.tipos { display: grid; gap: 0; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface-white); }
.tipo { display: flex; gap: 20px; align-items: flex-start; padding: 22px 24px; }
.tipo + .tipo { border-top: 1px solid var(--border); }
.tipo .feature-icon { width: 48px; height: 48px; }
.tipo h3 { font-family: var(--font-body); font-size: var(--fs-h6); font-weight: 600; line-height: 1.35; letter-spacing: -0.01em; }
.tipo p { margin-top: 6px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }
.tipo .link-arrow { margin-top: 10px; }

@media (min-width: 1024px) { .steps-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; } .steps-6 .step:nth-child(3n)::after { display: none; } }
.step .step-prazo { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--primary); }
.step-prazo .ic { width: 16px; height: 16px; }
.table-note.is-center { text-align: center; margin-top: 32px; }

.check-card > h3 { font-size: var(--fs-h4); margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.escopo-sim { border-top: 3px solid var(--primary); }
.escopo-nao { border-top: 3px solid var(--border-dark); }
.escopo-nao .check-list .ic { color: var(--text-muted-acc); }
.escopo-nota { margin-top: 16px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }

.ig-grid .ig-item { height: 100%; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-left: 3px solid var(--error); border-radius: var(--r-card); }
.checklist-8 { padding: 28px; }
@media (min-width: 768px) { .check-cols { columns: 2; column-gap: 40px; } .check-cols li { break-inside: avoid; } }
.norma { height: 100%; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--r-card); }
.norma h4 { font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.4; }
.norma > p { margin-top: 8px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }
.norma-sub { margin-top: 16px; padding: 16px; background: var(--primary-soft); border-radius: var(--r-img); }
.norma-sub h5 { font-family: var(--font-body); font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--primary); margin: 0; }
.norma-sub p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--text); }

.feature .prova { margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); font-size: 13px; font-weight: 600; color: var(--primary); }

.sub-card { display: grid; overflow: hidden; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--primary-soft); }
@media (min-width: 900px) { .sub-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.sub-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.sub-body { padding: 32px 24px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
@media (min-width: 900px) { .sub-body { padding: 48px; } }
.sub-body h2 { font-size: var(--fs-h3); }
.sub-body p { max-width: 560px; color: var(--text); }

.apoio-wrap { padding-block: 40px; }
.apoio { padding: 28px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: var(--r-card); background: var(--surface); }
.apoio-title { font-family: var(--font-heading); font-size: var(--fs-h5); font-weight: 600; color: var(--text); margin-bottom: 12px; }
.apoio-list { display: grid; gap: 0; }
@media (min-width: 1024px) { .apoio-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.apoio-list a { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-block: 10px; color: var(--primary); font-weight: 600; font-size: 15px; line-height: 1.45; text-decoration: none; }
.apoio-list a:hover span { text-decoration: underline; }
.apoio-list .ic { width: 18px; height: 18px; flex: none; margin-top: 2px; }
.field .check { display: flex; align-items: center; gap: 10px; margin-bottom: 0; font-weight: 400; min-height: 40px; }
.field .check input { width: 20px; height: 20px; }
@media (max-width: 479px) { .checks { grid-template-columns: minmax(0, 1fr); } }
.split-even .section-head { margin-bottom: 24px; }

/* ==========================================================================
   PÁGINA SOBRE (entity home: /sobre/)
   ========================================================================== */
.answer-long p { font-size: clamp(1.25rem, 1.9vw, 1.625rem); line-height: 1.5; }
.answer-long strong { color: var(--primary); font-weight: 600; }
.answer-long p + p { margin-top: 14px; }
.answer-long .answer-meta { display: flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--font-body); font-size: var(--fs-caption); line-height: 1.5; color: var(--text-muted-acc); }
.answer-meta .ic { width: 16px; height: 16px; }
.answer-data { display: flex; align-items: center; gap: 8px; font-size: var(--fs-caption); line-height: 1.5; color: var(--text-muted-acc); }
.answer-data .ic { width: 16px; height: 16px; flex: none; }
@media (min-width: 1024px) { .answer-data { grid-column: 2; margin-top: -24px; padding-left: 27px; } }
.hero-author .autor-data { display: block; margin-top: 2px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 32px; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.marco { position: relative; display: flex; flex-direction: column; gap: 12px; height: 100%; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); border-top: 3px solid var(--primary); }
.marco-ano { font-family: var(--font-heading); font-size: clamp(1.75rem, 2.4vw, 2.25rem); font-weight: 600; line-height: 1; color: var(--primary); padding-right: 52px; }
.marco-ponto { position: absolute; top: 20px; right: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); }
.marco-ponto .ic { width: 20px; height: 20px; }
.marco h3 { font-family: var(--font-body); font-size: var(--fs-h6); font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; }
.marco p { font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }
.marco strong { color: var(--text); font-weight: 600; }

.founder { display: grid; overflow: hidden; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); }
@media (min-width: 900px) { .founder { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.founder-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; aspect-ratio: 4 / 5; }
@media (min-width: 900px) { .founder-media img { aspect-ratio: auto; max-height: none; } .founder-media { min-height: 100%; } }
.founder-body { padding: 32px 24px; display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 900px) { .founder-body { padding: 48px; justify-content: center; } }
.founder-body h3 { font-size: var(--fs-h3); line-height: 1.1; }
.founder-lead { font-size: var(--fs-body-lg); line-height: 1.6; color: var(--text); }
.ficha { margin: 12px 0 0; border-top: 1px solid var(--border); }
.ficha-row { display: grid; gap: 4px; padding-block: 14px; border-bottom: 1px solid var(--border); }
@media (min-width: 600px) { .ficha-row { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; } }
.ficha dt { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.ficha dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--text); }
.ficha a { color: var(--primary); }

.mvv > p { margin-top: 8px; font-size: var(--fs-body-sm); line-height: 1.7; color: var(--text-muted-acc); }
.mvv strong { color: var(--text); font-weight: 600; }
.mvv > h3 { min-height: 0; }

.stats-titled { border-top: 0; }
.stats-title { padding-top: 48px; text-align: center; color: var(--text-inverse); font-size: var(--fs-h3); padding-bottom: 8px; }

.feature-stack { flex-direction: column; gap: 16px; }
.feature-stack a { color: var(--primary); font-weight: 600; }

@media (min-width: 1024px) { .grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
/* Palavras longas (ex.: Superendividamento) não passam da borda do card estreito */
.card h3, .card h4, .city h3 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }
@media (min-width: 768px) and (max-width: 1023px) { .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-5 > :last-child { grid-column: 1 / -1; } }
/* Grade de 10 itens (ex.: hub Previdenciário): no tablet ficam 5 linhas completas de 2, sem esticar o último */
@media (min-width: 768px) and (max-width: 1023px) { .grid-5:has(> :nth-child(10):last-child) > :last-child { grid-column: auto; } }

.nap-card address { font-style: normal; }
.nap-line { display: flex; gap: 12px; align-items: flex-start; padding-block: 8px; font-size: 15px; line-height: 1.6; color: var(--text); }
.nap-line .ic { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--primary); }
.nap-line a { color: var(--primary); font-weight: 600; }
.perfis { display: grid; gap: 12px; }
.perfis a { display: flex; align-items: center; gap: 16px; min-height: 64px; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--surface); color: var(--text); text-decoration: none; }
.perfis a:hover { border-color: var(--primary); background: var(--primary-soft); }
.perfis a > .ic:first-child { width: 24px; height: 24px; color: var(--primary); flex: none; }
.perfis a > span:not(.visually-hidden) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.perfis strong { font-size: 15px; font-weight: 600; }
.perfis a span span { font-size: 13px; color: var(--text-muted-acc); }
.perfis a > .ic:last-of-type { width: 18px; height: 18px; color: var(--text-muted-acc); flex: none; }
.stats-titled .stats-grid { padding-bottom: 16px; }

/* ==========================================================================
   PÁGINA DE CONTATO (/contato/)
   ========================================================================== */
.canal { gap: 14px; }
.canal > div { flex: 1; }
.canal .canal-dado { display: block; margin-bottom: 6px; font-size: 16px; font-weight: 600; color: var(--primary); }
.canal a.canal-dado { text-decoration: none; }
.canal .link-arrow { margin-top: auto; }
.horarios-grid { align-items: stretch; }
.compare-mini { min-width: 0; font-size: 15px; }
.compare-mini th, .compare-mini td { padding: 14px 16px; }
.compare-mini thead th:first-child { width: 34%; }
.prazo-card { display: flex; flex-direction: column; gap: 12px; }
.prazo-num { display: flex; align-items: baseline; gap: 10px; font-family: var(--font-heading); font-size: clamp(4rem, 7vw, 6rem); font-weight: 600; line-height: 1; color: var(--primary); }
.prazo-num span, .prazo-num small { font-size: 1.25rem; font-weight: 500; color: var(--text-muted-acc); }
.section-foot.is-left { justify-content: flex-start; margin-top: 24px; }
.section-foot.obg-nota { display: block; margin-top: 16px; font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-muted-acc); }
.obg-nota a { color: var(--primary); }
.nap-card { font-style: normal; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); }
.mapa-frame { position: relative; overflow: hidden; aspect-ratio: 8 / 5; border: 1px solid var(--border); border-radius: var(--r-card); background: var(--primary-soft); }
.mapa-svg { width: 100%; height: 100%; display: block; }
.mapa-btn { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); gap: 8px; box-shadow: 0 8px 24px rgba(17, 26, 22, .18); }
.mapa-btn .ic { width: 18px; height: 18px; }
.mapa-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.cta-ligar-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1024px) { .cta-ligar-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.cta-ligar-acoes { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
@media (min-width: 1024px) { .cta-ligar-acoes { align-items: flex-end; } }
.cta-ligar .btn .ic { width: 20px; height: 20px; }
.cta-ligar .btn { gap: 10px; }
@media (max-width: 599px) { .cta-ligar .btn { width: 100%; } }
.hero-servico .form-card select optgroup { font-weight: 600; }
.compare-mini td:nth-child(2) { white-space: nowrap; }
.cta-ligar .lead { margin-top: 16px; max-width: 640px; }
.cta-ligar h2 { margin-top: 12px; }
.nowrap { white-space: nowrap; }
@media (max-width: 599px) {
  .mapa-frame { overflow: visible; aspect-ratio: auto; border: 0; background: none; }
  .mapa-svg { border: 1px solid var(--border); border-radius: var(--r-card); aspect-ratio: 8 / 5; height: auto; }
  .mapa-btn { position: static; transform: none; width: 100%; margin-top: 12px; box-shadow: none; }
  .mapa-frame.is-loaded { aspect-ratio: 4 / 3; border: 1px solid var(--border); }
}

/* ==========================================================================
   BLOG: HUB E CATEGORIA
   ========================================================================== */
.hero-blog { padding-block: 24px 48px; background: linear-gradient(180deg, var(--primary-soft) 0%, var(--surface) 100%); border-bottom: 1px solid var(--border); }
.hero-blog h1 { max-width: 920px; font-size: clamp(2.5rem, 4.6vw, 4.25rem); line-height: 1.05; letter-spacing: -0.02em; }
.hero-blog-lead { margin-top: 20px; max-width: 760px; font-size: var(--fs-body-lg); line-height: 1.75; }
.hero-blog-cta { margin-top: 24px; }
.hero-blog .breadcrumb a { color: var(--text-muted-acc); display: inline-flex; align-items: center; min-height: 44px; }
.hero-blog .breadcrumb a:hover { color: var(--primary); }
.hero-blog .breadcrumb [aria-current] { color: var(--text); }
.hero-author-light { border-top-color: var(--border); margin-top: 28px; padding-top: 24px; }
.hero-author-light p { color: var(--text-muted-acc); }
.hero-author-light strong { color: var(--text); }
.hero-author-light span { display: block; }
.cat-nav { margin-top: 28px; }
.cat-nav .chips { margin-top: 0; justify-content: flex-start; gap: 10px; }
.chip-n { margin-left: 8px; display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--primary-soft); font-size: 12px; font-weight: 600; }
.chip[aria-current="page"], .chip[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: var(--text-inverse); }
.chip[aria-current="page"] .chip-n { background: rgba(255, 255, 255, .18); color: var(--text-inverse); }
button.chip { font-family: inherit; cursor: pointer; }
@media (max-width: 599px) {
  .cat-nav .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter-l)) calc(-1 * var(--gutter-r)); padding: 2px var(--gutter-r) 8px var(--gutter-l); scrollbar-width: none; }
  .cat-nav .chips::-webkit-scrollbar { display: none; }
  .cat-nav .chip { white-space: nowrap; flex: none; }
}
.badge-link { position: relative; z-index: 2; text-decoration: none; transition: background-color var(--ease), color var(--ease); }
.badge-link:hover { background: var(--primary); color: var(--text-inverse); }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-meta { margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; font-size: 13px; line-height: 1.4; color: var(--text-muted-acc); column-gap: 18px; }
.post-meta .ic { width: 16px; height: 16px; color: var(--accent-hover); flex: none; }
.meta-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.card .post-meta { border-top: 1px solid var(--border); margin-top: auto; padding-top: 14px; }
.section-tight { padding-block: 48px; }
.h-small { font-size: var(--fs-h4); line-height: 1.2; margin-bottom: 24px; }
.post-destaque { display: grid; gap: 0; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
@media (min-width: 900px) { .post-destaque { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.post-destaque-media { background: var(--primary-soft); }
.post-destaque-media img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-destaque-body { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(24px, 3.2vw, 48px); }
.post-destaque-body h3 { font-size: var(--fs-h3); line-height: 1.1; letter-spacing: -0.02em; }
.post-destaque-body h3 a { color: var(--text); text-decoration: none; }
.post-destaque-body h3 a:hover { color: var(--primary); }
.post-destaque-body > p:not(.post-meta) { font-size: var(--fs-body); line-height: 1.7; color: var(--text-muted-acc); }
.post-destaque-body .post-meta { margin-top: 0; padding-top: 0; }
.post-destaque-body .btn { align-self: flex-start; }
@media (max-width: 599px) { .post-destaque-body .btn { width: 100%; } }
.paginacao { margin-top: 48px; }
.paginacao ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.pg { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 12px; border: 1px solid var(--border); border-radius: var(--r-btn); background: var(--surface-white); color: var(--primary); font-size: 15px; font-weight: 600; text-decoration: none; }
.pg .ic { width: 18px; height: 18px; }
a.pg:hover { border-color: var(--primary); background: var(--primary-soft); }
.pg[aria-current="page"] { background: var(--primary); border-color: var(--primary); color: var(--text-inverse); }
.pg-gap { border-color: transparent; background: none; min-width: 24px; padding: 0; color: var(--text-muted-acc); }
@media (max-width: 479.98px) { .pg-perto { display: none; } }
.pg.is-disabled { color: var(--text-muted); background: transparent; cursor: default; }
@media (max-width: 599px) {
  .paginacao ul { gap: 6px; flex-wrap: nowrap; }
  .pg { padding: 0; }
  .pg-nav .pg-txt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.grid-cats { display: grid; gap: var(--gap); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .grid-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cat-card h3 { font-size: var(--fs-h5); }
.filtro { margin-bottom: 32px; }
.filtro-label { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.filtro .chips { margin-top: 0; justify-content: flex-start; gap: 10px; }
[data-filtro-lista] > li[hidden] { display: none; }
.cta-nota { font-size: 14px; color: var(--text-inverse-muted); }
.post .card-text { margin-bottom: 20px; }
@media (min-width: 600px) { .grid-cats > .cat-card:first-child { grid-column: span 2; } }
.grid-cats > .cat-card:first-child { background: var(--primary-soft); border-color: transparent; }
.grid-cats > .cat-card:first-child .feature-icon { background: var(--surface-white); }

/* ==========================================================================
   ARTIGO DO BLOG
   ========================================================================== */
.art-narrow, .art-wide { max-width: calc(1180px + var(--gutter-l) + var(--gutter-r)); }
.art-narrow > h1, .art-narrow > .art-direta { max-width: 860px; }
.art-hero { padding-bottom: 120px; border-bottom: 0; }
.art-hero h1 { margin-top: 16px; font-size: clamp(2.375rem, 4.4vw, 3.75rem); line-height: 1.08; }
.art-byline { display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; }
.art-byline img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; border: 2px solid var(--accent); flex: none; }
.art-byline-nome { font-size: 15px; font-weight: 600; color: var(--text); }
.art-byline-nome a { color: var(--text); }
.art-byline-cargo { font-size: 14px; color: var(--text-muted-acc); margin-top: 2px; }
.art-byline .post-meta { margin-top: 8px; padding-top: 0; }
.art-direta { margin-top: 28px; padding: 20px 24px; background: var(--surface-white); border-left: 3px solid var(--accent); border-radius: 0 var(--r-card) var(--r-card) 0; font-size: var(--fs-body-lg); line-height: 1.7; color: var(--text); }
.art-media { margin-top: -96px; }
.art-media img { width: 100%; max-height: 560px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-card); border: 1px solid var(--border); background: var(--primary-soft); }
.art-layout { display: grid; gap: 32px; padding-block: 48px 72px; max-width: calc(1180px + var(--gutter-l) + var(--gutter-r)); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) {
  .art-layout { grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "resumo toc" "body toc"; column-gap: 64px; row-gap: 40px; }
  .art-resumo { grid-area: resumo; } .art-body { grid-area: body; }
  .art-toc { grid-area: toc; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; }
}
.art-resumo, .art-toc { padding: 24px; border-radius: var(--r-card); }
.art-resumo { background: var(--primary-soft); }
.art-toc { background: var(--surface-white); border: 1px solid var(--border); }
.art-box-t { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.art-box-t .ic { width: 20px; height: 20px; }
.art-resumo ul { display: grid; gap: 12px; }
@media (min-width: 768px) { .art-resumo ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; } }
.art-resumo li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; }
.art-resumo li .ic { width: 20px; height: 20px; color: var(--primary); flex: none; margin-top: 2px; }
.art-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.art-toc li { counter-increment: toc; border-top: 1px solid var(--border); }
.art-toc li:first-child { border-top: 0; }
.art-toc ol a { display: flex; gap: 10px; min-height: 44px; align-items: center; padding-block: 6px; font-size: 15px; line-height: 1.4; color: var(--text); text-decoration: none; }
.art-toc ol a::before { content: counter(toc, decimal-leading-zero); font-size: 12px; font-weight: 600; color: var(--accent-hover); min-width: 20px; }
.art-toc ol a:hover { color: var(--primary); text-decoration: underline; }
.art-toc-cta { display: none; }
@media (min-width: 1100px) { .art-toc-cta { display: flex; width: 100%; margin-top: 16px; font-size: 14px; padding-inline: 16px; text-align: center; } }
.art-body { min-width: 0; max-width: 760px; }
.art-sec { scroll-margin-top: calc(var(--header-h) + 16px); }
.art-sec + .art-sec, .art-cta + .art-sec, .art-sec + .art-cta { margin-top: 56px; }
.art-sec h2 { font-size: clamp(2rem, 3.2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; }
.art-sec h3 { margin-top: 36px; font-size: var(--fs-h4); line-height: 1.2; }
.art-sec > h3 + p { margin-top: 12px; }
.prose .art-answer { margin-top: 16px; margin-bottom: 20px; font-size: var(--fs-body-lg); font-weight: 500; line-height: 1.65; }
.prose a { text-underline-offset: 3px; }
.art-sec .table-wrap { margin-top: 24px; }
.compare-3 { min-width: 560px; }
.compare-3 thead th:first-child { width: 30%; }
.compare-3 td:last-child { white-space: nowrap; color: var(--text-muted-acc); }
.semanas { margin-top: 28px; display: grid; gap: 16px; }
.semana { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding: 24px; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); scroll-margin-top: calc(var(--header-h) + 16px); }
@media (max-width: 599px) { .semana { grid-template-columns: minmax(0, 1fr); padding: 20px; } }
.semana-n { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--primary); color: var(--text-inverse); font-family: var(--font-body); font-size: 20px; font-weight: 600; }
.semana h3 { margin-top: 4px; font-size: var(--fs-h5); font-family: var(--font-body); font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; }
.prose .semana > div > p { margin-top: 8px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.tarefas { margin-top: 14px; display: grid; gap: 10px; }
.tarefas li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; }
.tarefas .ic { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--success); }
.art-cta { margin-top: 56px; display: flex; gap: 20px; padding: 28px; border-radius: var(--r-card); background: var(--accent-soft); border: 1px solid var(--border); }
@media (max-width: 599px) { .art-cta { flex-direction: column; padding: 24px; } .art-cta .btn { width: 100%; } }
.art-cta .feature-icon { background: var(--surface-white); }
.prose .art-cta-t, .art-cta-t { font-family: var(--font-heading); font-size: var(--fs-h4); line-height: 1.2; font-weight: 600; color: var(--text); }
.prose .art-cta p + p { margin-top: 8px; }
.art-cta .btn { margin-top: 16px; }
.erros { margin-top: 20px; display: grid; gap: 12px; }
.erros li { display: flex; gap: 14px; padding: 18px 20px; border: 1px solid var(--border); border-left: 3px solid var(--error); border-radius: var(--r-card); background: var(--surface-white); }
.erros .ic { width: 22px; height: 22px; color: var(--error); flex: none; margin-top: 2px; }
.prose .erros strong { color: var(--text); font-size: 16px; }
.prose .erros p { margin-top: 4px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.caminhos { margin-top: 24px; margin-bottom: 24px; display: grid; gap: 16px; }
@media (min-width: 700px) { .caminhos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.caminho { display: flex; flex-direction: column; padding: 24px; background: var(--surface-white); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--r-card); }
.caminho h3 { margin-top: 0; font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.caminho .tarefas { margin-bottom: 16px; }
.prose .caminho-prazo { margin-top: auto; display: flex; align-items: center; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border); font-size: 14px; }
.caminho-prazo .ic { width: 18px; height: 18px; color: var(--accent-hover); flex: none; }
.art-sec .faq-list { margin-top: 8px; }
.faq > summary h3 { margin: 0; font-family: var(--font-body); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: 0; color: inherit; flex: 1; }
.autor-box { display: grid; gap: 24px; padding: 28px; background: var(--secondary); border-radius: var(--r-card); }
@media (min-width: 640px) { .autor-box { grid-template-columns: 160px minmax(0, 1fr); gap: 32px; align-items: start; } }
.autor-foto { width: 160px; height: 200px; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-card); border: 2px solid var(--accent); }
.autor-body h2 { font-size: var(--fs-h4); }
.prose .autor-nome { margin-top: 12px; }
.autor-body .link-arrow { margin-top: 16px; }
.cta-nota a { color: var(--text-inverse); }
@media (max-width: 599px) {
  .compare-3 { min-width: 0; }
  .compare-3 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-3, .compare-3 tbody, .compare-3 tr, .compare-3 th, .compare-3 td { display: block; width: 100%; }
  .compare-3 tbody tr { padding: 16px 20px; border-top: 1px solid var(--border); }
  .compare-3 tbody tr:first-child { border-top: 0; }
  .compare-3 th, .compare-3 td { padding: 0; }
  .compare-3 td { margin-top: 6px; white-space: normal; }
  .compare-3 td::before { content: attr(data-label) ": "; font-weight: 600; color: var(--text); }
}

/* ==========================================================================
   PÁGINAS LEGAIS, OBRIGADO E 404
   ========================================================================== */
.leg-hero { padding-bottom: 48px; border-bottom: 1px solid var(--border); }
.leg-meta { margin-top: 16px; padding-top: 0; }
.leg-n { color: var(--accent-hover); font-variant-numeric: lining-nums; }
.leg-dl { display: grid; gap: 14px; margin: 0; }
@media (min-width: 768px) { .leg-dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px; } }
.leg-dl dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted-acc); }
.leg-dl dd { margin: 2px 0 0; font-size: 15px; line-height: 1.55; color: var(--text); }
.leg-list { margin-top: 16px; display: grid; gap: 10px; }
.leg-list li { display: flex; gap: 10px; font-size: var(--fs-body); line-height: 1.65; }
.leg-list .ic { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--success); }
.leg-list + p { margin-top: 16px; }
.leg-dirs { margin-top: 20px; display: grid; gap: 12px; }
@media (min-width: 640px) { .leg-dirs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .leg-dirs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.leg-dir { padding: 20px; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); }
.leg-dir .ic { width: 22px; height: 22px; color: var(--primary); }
.art-sec .leg-dir h3 { margin-top: 10px; font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.prose .leg-dir p { margin-top: 6px; font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-muted-acc); }
.compare-2 { min-width: 0; } .compare-2 thead th:first-child { width: 44%; }
.compare-4 { min-width: 640px; } .compare-4 thead th:first-child { width: 20%; }
.art-sec .table-wrap + p { margin-top: 16px; }
@media (max-width: 599px) {
  .compare-2, .compare-4 { min-width: 0; }
  .compare-2 thead, .compare-4 thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .compare-2, .compare-2 tbody, .compare-2 tr, .compare-2 th, .compare-2 td,
  .compare-4, .compare-4 tbody, .compare-4 tr, .compare-4 th, .compare-4 td { display: block; width: 100%; }
  .compare-2 tbody tr, .compare-4 tbody tr { padding: 16px 20px; border-top: 1px solid var(--border); }
  .compare-2 tbody tr:first-child, .compare-4 tbody tr:first-child { border-top: 0; }
  .compare-2 th, .compare-2 td, .compare-4 th, .compare-4 td { padding: 0; }
  .compare-2 td, .compare-4 td { margin-top: 6px; }
  .compare-2 td::before, .compare-4 td::before { content: attr(data-label) ": "; font-weight: 600; }
}
.leg-navs { margin-top: 16px; display: grid; gap: 10px; }
.leg-navs li { display: flex; gap: 10px; font-size: 15px; line-height: 1.6; }
.leg-navs .ic { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--primary); }
.leg-outros { padding-block: 48px; }
.leg-outros-t { font-family: var(--font-heading); font-size: var(--fs-h4); font-weight: 600; margin-bottom: 20px; }
.leg-docs { display: grid; gap: 16px; }
@media (min-width: 768px) { .leg-docs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.leg-doc { display: flex; align-items: center; gap: 16px; padding: 20px 24px; min-height: 44px; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); color: var(--text); text-decoration: none; transition: border-color var(--ease), box-shadow var(--ease); }
.leg-doc:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); color: var(--text); }
.leg-doc > .ic:first-child { width: 24px; height: 24px; color: var(--primary); flex: none; }
.leg-doc > .ic:last-child { width: 18px; height: 18px; color: var(--primary); flex: none; }
.leg-doc span { flex: 1; display: flex; flex-direction: column; gap: 2px; font-size: 14px; color: var(--text-muted-acc); }
.leg-doc strong { font-size: 16px; color: var(--text); }

.obg-hero, .e404-hero { padding-block: 56px 64px; text-align: center; border-bottom: 1px solid var(--border); position: relative; overflow: hidden; }
.obg-wrap { max-width: calc(820px + var(--gutter-l) + var(--gutter-r)); display: flex; flex-direction: column; align-items: center; position: relative; }
.obg-wrap h1 { font-size: clamp(2.25rem, 4.4vw, 3.75rem); line-height: 1.08; }
.obg-wrap .hero-blog-lead { margin-inline: auto; }
.obg-ok { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 20px; box-shadow: 0 0 0 8px rgba(40, 106, 73, .08); }
.obg-ok .ic { width: 36px; height: 36px; }
.obg-ola { font-size: var(--fs-body-lg); margin-bottom: 12px; }
.obg-ola strong { color: var(--primary); }
.hero-blog-lead [data-obg-servico] { color: var(--primary); }
.etapas { counter-reset: none; }
.etapa { position: relative; display: flex; flex-direction: column; height: 100%; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); }
.etapa-n { position: absolute; top: 20px; right: 24px; font-family: var(--font-heading); font-size: 44px; line-height: 1; color: var(--accent); font-variant-numeric: lining-nums; }
.etapa .feature-icon { margin-bottom: 20px; }
.etapa h3 { font-size: var(--fs-h4); line-height: 1.2; }
.etapa p { margin-top: 10px; font-size: var(--fs-body-sm); line-height: 1.65; color: var(--text-muted-acc); }
.obg-prazo { margin-top: 40px; display: grid; gap: 24px; align-items: center; padding: 28px 32px; border-radius: var(--r-card); background: var(--primary-soft); }
@media (min-width: 900px) { .obg-prazo { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; } }
@media (max-width: 599px) { .obg-prazo { padding: 24px 20px; } .obg-prazo .btn { width: 100%; } }
.obg-prazo-t { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--primary); margin-bottom: 8px; }
.obg-prazo-t .ic { width: 20px; height: 20px; }
.obg-prazo-txt p + p { margin-top: 4px; }
.obg-prazo-acoes { display: grid; gap: 12px; }
@media (min-width: 600px) and (max-width: 899.98px) { .obg-prazo-acoes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.obg-preparo { max-width: 880px; margin-inline: auto; padding: 24px 28px; background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); }
@media (max-width: 599px) { .obg-preparo { padding: 20px; } }
.obg-prazo-txt p:not(.obg-prazo-t) { font-size: var(--fs-body); line-height: 1.6; }
.obg-prazo-txt p:last-child { font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.obg-prazo .btn .ic { width: 20px; height: 20px; }

.e404-cod { position: static; top: -40px; left: 50%; transform: none; font-family: var(--font-heading); font-size: clamp(6rem, 16vw, 10rem); line-height: 1; font-weight: 600; color: var(--primary); opacity: .14; z-index: auto; pointer-events: none; display: block; margin-bottom: -.25em; }
.e404-hero .eyebrow { margin-top: 0; }
.e404-ctas { justify-content: center; }
.hubs404 > li { height: 100%; }
.hub404 { display: flex; flex-direction: column; padding: var(--card-pad); background: var(--surface-white); border: 1px solid var(--border); border-radius: var(--r-card); transition: border-color var(--ease), box-shadow var(--ease); }
.hub404:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.hub404-head { display: flex; align-items: center; gap: 16px; color: var(--text); text-decoration: none; }
.hub404-head h3 { font-size: var(--fs-h5); line-height: 1.25; }
.hub404-head:hover h3 { color: var(--primary); text-decoration: underline; }
.hub404 > ul { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--border); flex: 1; }
.hub404 > ul a { display: flex; align-items: center; min-height: 40px; font-size: 15px; color: var(--text); text-decoration: none; }
.hub404 > ul a:hover { color: var(--primary); text-decoration: underline; }
.hub404 .link-arrow { margin-top: 12px; }
.e404-rapidos .chips { margin-top: 40px; }
.e404-rapidos .chip { gap: 8px; }
.e404-rapidos .chip .ic { width: 18px; height: 18px; }
.art-sec h2 + p { margin-top: 16px; }
ol.etapas { padding: 0; margin: 0; list-style: none; }

/* ==========================================================================
   POP-UPS DE CAPTAÇÃO E BOTÃO FIXO (assets/js/popups.js; regras em docs/popups.md)
   ========================================================================== */
.pop-aberto { overflow: hidden; }
.lead-pop {
  width: 100%; max-width: min(940px, calc(100% - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; margin: auto; border: 0; background: transparent; color: var(--text); overflow: visible;
}
.lead-pop::backdrop { background: rgba(17, 26, 22, .64); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.lead-pop[open] .lead-pop-box { animation: lead-entra 320ms cubic-bezier(.2, .8, .2, 1) both; }
.lead-pop[open]::backdrop { animation: lead-fundo 320ms ease both; }
@keyframes lead-entra { from { opacity: 0; transform: translateY(18px) scale(.985); } }
@keyframes lead-fundo { from { opacity: 0; } }
.lead-pop-box {
  position: relative; display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr);
  max-height: calc(100dvh - 32px); overflow: hidden;
  background: var(--surface-white); border-radius: 12px; box-shadow: 0 24px 64px rgba(17, 26, 22, .28);
}
.lead-lado {
  position: relative; display: flex; flex-direction: column; gap: 20px; padding: 32px 28px;
  background: var(--primary); color: var(--text-inverse); overflow: hidden;
}
.lead-lado::after {
  content: ""; position: absolute; inset: auto -40px -60px auto; width: 220px; height: 220px; border-radius: 50%;
  border: 1px solid rgba(197, 163, 101, .28); pointer-events: none;
}
.lead-lado img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-img); box-shadow: 0 0 0 1px rgba(197, 163, 101, .35); }
.lead-nome { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 600; line-height: 1.15; color: var(--text-inverse); }
.lead-oab { margin-top: 6px; font-size: 13px; font-weight: 500; letter-spacing: .02em; color: var(--accent); }
.lead-provas { display: grid; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(197, 163, 101, .3); }
.lead-provas li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-inverse-muted); }
.lead-provas .ic { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--accent); }
.lead-corpo { padding: 40px 40px 24px; overflow-y: auto; overscroll-behavior: contain; }
.lead-eyebrow { margin-bottom: 10px; padding-right: 48px; }
.lead-titulo { font-family: var(--font-heading); font-size: clamp(1.875rem, 2.8vw, 2.5rem); font-weight: 600; line-height: 1.08; color: var(--text); padding-right: 32px; }
.lead-titulo:focus { outline: none; }
.lead-texto { margin-top: 12px; font-size: var(--fs-body-sm); line-height: 1.6; color: var(--text-muted-acc); max-width: 46ch; }
.lead-form .form-grid { margin-top: 24px; gap: 16px; }
.lead-form .form-actions { margin-top: 20px; }
.lead-fechar {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid var(--border); border-radius: 50%;
  background: var(--surface-white); color: var(--text); cursor: pointer; transition: background-color var(--ease), border-color var(--ease);
}
.lead-fechar:hover { background: var(--secondary); border-color: var(--text-muted); }
.lead-fechar .ic { width: 20px; height: 20px; }
.lead-agora-nao {
  display: block; margin: 8px auto 0; min-height: 44px; padding: 0 12px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 13px; color: var(--text-muted-acc); text-decoration: underline; text-underline-offset: 3px;
}
.lead-agora-nao:hover { color: var(--text); }
@media (max-width: 899.98px) {
  .lead-pop-box { grid-template-columns: minmax(0, 1fr); }
  .lead-lado { flex-direction: row; align-items: center; gap: 14px; padding: 16px 64px 16px 20px; }
  .lead-lado::after, .lead-provas { display: none; }
  .lead-lado img { width: 56px; height: 56px; aspect-ratio: 1; border-radius: 50%; flex: none; }
  .lead-nome { font-size: 1.125rem; }
  .lead-oab { margin-top: 2px; font-size: 12px; }
  .lead-fechar { top: 22px; border-color: transparent; background: rgba(251, 251, 249, .12); color: var(--text-inverse); }
  .lead-fechar:hover { background: rgba(251, 251, 249, .2); border-color: transparent; }
  .lead-corpo { padding: 24px 20px 12px; }
  .lead-eyebrow, .lead-titulo { padding-right: 0; }
}
@media (max-width: 599.98px) {
  .lead-pop { max-width: 100%; max-height: 94dvh; margin: auto 0 0; }
  .lead-pop-box { max-height: 94dvh; border-radius: 16px 16px 0 0; grid-template-rows: auto minmax(0, 1fr); }
  .lead-pop[open] .lead-pop-box { animation-name: lead-sobe; }
  @keyframes lead-sobe { from { transform: translateY(100%); } }
  .lead-titulo { font-size: 1.75rem; }
  .lead-corpo { padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
}
@media (min-width: 900px) and (max-height: 760px) {
  .lead-lado img { display: none; }
  .lead-corpo { padding-top: 28px; }
}

/* Botão fixo: no computador, botão flutuante; no celular, barra fixa embaixo */
.lead-fixo {
  position: fixed; z-index: 90; right: max(24px, env(safe-area-inset-right, 0px)); bottom: 24px;
  display: flex; gap: 10px; animation: lead-fundo 240ms ease both;
}
.lead-fixo[hidden] { display: none; }
.lead-fixo .btn { min-height: 52px; box-shadow: var(--shadow-lg); }
.lead-fixo .ic { width: 20px; height: 20px; }
.lead-fixo-ligar { display: none; }
.menu-open .lead-fixo, .pop-aberto .lead-fixo { display: none; }
@media (max-width: 767.98px) {
  .lead-fixo {
    left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px;
    padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--surface-white); border-top: 1px solid var(--border); box-shadow: 0 -8px 24px rgba(17, 26, 22, .1);
  }
  .lead-fixo .btn { min-height: 48px; padding-inline: 16px; box-shadow: none; }
  .lead-fixo-pedir { white-space: nowrap; padding-inline: 12px; }
  .lead-fixo-pedir .ic { display: none; }
  .lead-fixo-ligar { display: inline-flex; }
  body.tem-barra-lead { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  .lead-pop[open] .lead-pop-box, .lead-pop[open]::backdrop, .lead-fixo { animation: none; }
}

/* ==========================================================================
   AVISO DE COOKIES (LGPD) E PAINEL DE PREFERÊNCIAS (main.js)
   Faixa fixa embaixo: não empurra o conteúdo (sem CLS) e não cobre a tela.
   Os três botões têm o mesmo destaque visual (.ck-btn).
   ========================================================================== */
.ck-banner {
  position: fixed; z-index: 150; left: 0; right: 0; bottom: 0;
  padding: 0 max(12px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  pointer-events: none; animation: ck-entra 260ms ease both;
}
@keyframes ck-entra { from { opacity: 0; transform: translateY(12px); } }
.ck-banner-in {
  pointer-events: auto; max-width: 1200px; margin: 0 auto; display: grid; gap: 16px; align-items: center;
  padding: 20px 24px; background: var(--surface-white); color: var(--text);
  border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--r-card); box-shadow: 0 -8px 32px rgba(17, 26, 22, .14);
  max-height: 45vh; max-height: 45dvh; overflow-y: auto; overscroll-behavior: contain;
}
@media (min-width: 900px) { .ck-banner-in { grid-template-columns: minmax(0, 1fr) auto; gap: 32px; padding: 22px 28px; } }
.ck-titulo { font-family: var(--font-heading); font-size: 1.375rem; font-weight: 600; line-height: 1.2; margin-bottom: 4px; }
.ck-texto p:not(.ck-titulo) { font-size: var(--fs-body-sm); line-height: 1.55; color: var(--text-muted-acc); }
.ck-texto a, .ck-pref-texto a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.ck-acoes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 900px) { .ck-acoes { grid-template-columns: repeat(3, auto); } }
.ck-btn {
  min-height: 48px; padding: 10px 18px; white-space: nowrap;
  background: var(--primary); border-color: var(--primary); color: #FFFFFF;
}
.ck-btn:hover { background: var(--primary-hover); border-color: var(--primary-hover); color: #FFFFFF; transform: none; }
.ck-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 479.98px) {
  .ck-banner-in { padding: 14px 16px; gap: 12px; }
  .ck-titulo { font-size: 1.125rem; }
  .ck-texto p:not(.ck-titulo) { font-size: 13px; }
  .ck-acoes { gap: 6px; }
  .ck-btn { padding: 8px 6px; font-size: 13px; min-height: 44px; }
}
/* enquanto o aviso está na tela, o botão fixo de pedido de retorno fica escondido (os dois ficariam embaixo) */
.tem-aviso-cookies .lead-fixo { display: none; }

.ck-painel-aberto { overflow: hidden; }
.ck-pref {
  width: 100%; max-width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  padding: 0; margin: auto; border: 0; background: transparent; color: var(--text);
}
.ck-pref::backdrop { background: rgba(17, 26, 22, .6); }
.ck-pref-box {
  position: relative; padding: 32px; background: var(--surface-white); border-radius: var(--r-card);
  border-top: 3px solid var(--primary); box-shadow: var(--shadow-lg); max-height: calc(100dvh - 24px); overflow-y: auto;
}
@media (max-width: 599px) { .ck-pref-box { padding: 24px 20px; } }
.ck-pref-titulo { font-family: var(--font-heading); font-size: clamp(1.625rem, 3vw, 2rem); line-height: 1.15; padding-right: 48px; }
.ck-pref-texto { margin: 8px 0 20px; font-size: var(--fs-body-sm); color: var(--text-muted-acc); }
.ck-cat { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--border); }
.ck-cat-t { display: block; font-weight: 600; font-size: 16px; color: var(--text); cursor: pointer; }
p.ck-cat-t { cursor: default; }
.ck-cat-d { margin-top: 2px; font-size: 14px; line-height: 1.5; color: var(--text-muted-acc); }
.ck-sempre { flex: none; font-size: 13px; font-weight: 600; color: var(--success); }
.ck-switch {
  flex: none; appearance: none; -webkit-appearance: none; width: 48px; height: 28px; margin: 0; position: relative; cursor: pointer;
  border-radius: 999px; background: #8A928B; transition: background-color var(--ease);
}
.ck-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #FFFFFF; transition: transform var(--ease); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.ck-switch:checked { background: var(--primary); }
.ck-switch:checked::after { transform: translateX(20px); }
.ck-switch:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.ck-acoes-pref { margin-top: 20px; }
@media (max-width: 479.98px) { .ck-acoes-pref { grid-template-columns: minmax(0, 1fr); } }
.ck-fechar {
  position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--border); border-radius: 50%; background: var(--surface-white); color: var(--text); cursor: pointer;
}
.ck-fechar:hover { background: var(--secondary); }
@media (prefers-reduced-motion: reduce) { .ck-banner { animation: none; } }
