/* ==========================================================================
   LVR Advocacia — style.css (único arquivo de estilos do site)
   Gerado a partir da home v15 aprovada + acréscimos das páginas aprovadas.
   Fonte da verdade: /CLAUDE.md e /docs/07-design-system.json
   Seções: 1-23 base (home) · 24 hub/serviço/sobre/contato · 25 blog, artigo, legais, obrigado e 404
   ========================================================================== */
/* ==========================================================================
   LVR Advocacia — style.css
   Fonte: 07-design-system.json. Mobile first. Sem frameworks.
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  --c-primary: #002A2F;
  --c-primary-hover: #00434A;
  --c-primary-soft: #E4EFF0;
  --c-secondary: #C79A5A;
  --c-secondary-hover: #B88A4D;
  --c-accent: #B45E38;
  --c-accent-hover: #944726;
  --c-text: #102326;
  --c-text-muted: #5E6C70;
  --c-surface: #FFFFFF;
  --c-surface-alt: #F8F6F2;
  --c-dark: #11191A;
  --c-border: #D6DEDF;
  --c-border-strong: #9CAEB0;
  --c-input-border: #AEBABC;
  --c-success: #236B4C;
  --c-error: #B12E2E;
  --c-whatsapp: #187545;
  --c-whatsapp-hover: #126039;
  --c-footer-link: #DDE4E5;
  --c-highlight-bg: #FFF7EB;
  --c-highlight-border: #E5C28A;

  --f-display: "Lora", Georgia, serif;
  --f-body: "Inter", Arial, sans-serif;

  --fs-h1: clamp(2.25rem, 5vw, 4.25rem);
  --fs-h2: clamp(1.875rem, 3.8vw, 3.25rem);
  --fs-h3: clamp(1.5rem, 2.8vw, 2.25rem);
  --fs-h4: clamp(1.25rem, 2vw, 1.625rem);
  --fs-h5: clamp(1.125rem, 1.5vw, 1.3125rem);
  --fs-body-lg: clamp(1.125rem, 1.5vw, 1.25rem);
  --fs-body: clamp(1.0625rem, 1.3vw, 1.125rem);
  --fs-small: clamp(1rem, 1.1vw, 1.0625rem);
  --fs-caption: 1rem;

  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-24: 24px;
  --sp-32: 32px; --sp-48: 48px; --sp-64: 64px; --sp-96: 96px;
  --sp-section: 56px;
  --sp-container: 20px;

  --r-xs: 6px; --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;

  --sh-sm: 0 4px 14px rgba(16,35,38,0.08);
  --sh-md: 0 12px 32px rgba(16,35,38,0.12);
  --sh-lg: 0 24px 60px rgba(16,35,38,0.16);
  --sh-focus: 0 0 0 3px rgba(199,154,90,0.38);

  --t-fast: 120ms ease; --t-base: 180ms ease; --t-slow: 280ms ease;

  --max-w: 1200px;
  --reading-w: 760px;
  --header-h: 76px;
  --topbar-h: 40px;
}
@media (min-width: 768px) { :root { --sp-section: 72px; --sp-container: 24px; } }
@media (min-width: 1024px) { :root { --sp-section: 96px; --sp-container: 32px; } }

/* 2. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-surface);
}
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; color: var(--c-primary); }
h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-h2); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-h3); line-height: 1.18; letter-spacing: -0.02em; }
h4 { font-size: var(--fs-h4); line-height: 1.25; letter-spacing: -0.01em; }
p { margin: 0 0 var(--sp-16); }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; background: var(--c-surface-alt); color: var(--c-text-muted); font-size: var(--fs-caption); }
a { color: var(--c-primary); font-weight: 600; text-decoration: underline; text-underline-offset: 0.18em; transition: color var(--t-fast); }
a:hover { color: var(--c-accent); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
table { border-collapse: collapse; width: 100%; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 3px solid var(--c-secondary); outline-offset: 3px; border-radius: var(--r-xs); }

.skip-link {
  position: absolute; left: var(--sp-16); top: -100px; z-index: 2000;
  background: var(--c-primary); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
}
.skip-link:focus { top: var(--sp-16); }
.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;
}

.container { width: 100%; max-width: var(--max-w); margin-inline: auto; padding-inline: var(--sp-container); }
.section { padding-block: var(--sp-section); }
.section--alt { background: var(--c-surface-alt); }
.section--dark { background: var(--c-dark); color: #fff; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a { color: var(--c-secondary); }
.section--dark a:hover { color: #fff; }
.section--dark a.btn--secondary, .cta-band a.btn--secondary, .hero a.btn--secondary { color: #000; }
.section--dark a.btn--whatsapp, .cta-band a.btn--whatsapp, .hero a.btn--whatsapp { color: #000; }
.section--dark a.btn--whatsapp:hover, .cta-band a.btn--whatsapp:hover, .hero a.btn--whatsapp:hover { color: #fff; }
.section--dark a.btn--ghost-light, .hero a.btn--ghost-light { color: #fff; }
.section-head { max-width: var(--reading-w); margin-bottom: var(--sp-48); }
.section-head h2 { margin-bottom: var(--sp-16); }
.section-head p { font-size: var(--fs-body-lg); }
.section-head--center { margin-inline: auto; text-align: center; }
.lead { font-size: var(--fs-body-lg); }
.muted { color: var(--c-text-muted); }
.small { font-size: var(--fs-small); }

/* 3. Ícones (Lucide, sprite inline) -------------------------------------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.icon--sm { width: 18px; height: 18px; }
.icon--lg { width: 28px; height: 28px; }
.icon-box {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--c-surface); border: 1px solid var(--c-highlight-border); color: var(--c-primary); flex-shrink: 0;
}
.icon-box--dark { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--c-secondary); }

/* 4. Botões -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 22px; border-radius: var(--r-sm);
  font-family: var(--f-body); font-size: 16px; font-weight: 700; text-decoration: none; text-align: center;
  border: 1px solid transparent; line-height: 1.2;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast), transform var(--t-fast);
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: var(--c-primary-hover); color: #fff; }
.btn--secondary { background: var(--c-secondary); color: #000; }
.btn--secondary:hover { background: var(--c-secondary-hover); color: #000; }
.btn--ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--ghost:hover { background: var(--c-primary-soft); color: var(--c-primary); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--whatsapp { background: var(--c-secondary); color: #000; min-height: 50px; }
.btn--whatsapp:hover { background: var(--c-whatsapp-hover); color: #fff; }
.btn--accent { background: var(--c-secondary); color: #000; }
.btn--accent:hover { background: var(--c-secondary-hover); color: #000; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-base); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* 5. Topbar -------------------------------------------------------------- */
.topbar { background: var(--c-dark); color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 500; min-height: var(--topbar-h); border-bottom: 1px solid rgba(255,255,255,0.1); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-16); min-height: var(--topbar-h); }
.topbar__msg { display: inline-flex; align-items: center; gap: 8px; }
.topbar__links { display: flex; gap: var(--sp-24); list-style: none; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.topbar a:hover { color: var(--c-secondary); }
.topbar .icon { color: var(--c-secondary); }
.topbar__email { display: none; }
.topbar__msg { white-space: nowrap; }
/* celular estreito: só a mensagem, centralizada (o WhatsApp já está no header e no botão flutuante); evita que a barra alargue a página */
@media (max-width: 559px) { .topbar__links { display: none; } .topbar .container { justify-content: center; } }
@media (max-width: 767px) { .topbar__links li:not(.topbar__wa) { display: none; } .topbar__links a { font-size: 14px; } .topbar .container { gap: 12px; } }
@media (min-width: 768px) { .topbar__email { display: inline-flex; } }

/* 6. Header + mega menu --------------------------------------------------- */
.header { position: sticky; top: 0; z-index: 1000; background: var(--c-dark); border-bottom: 1px solid rgba(255,255,255,0.08); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-24); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--c-primary); }
.logo img { height: 40px; width: auto; background: transparent; }
@media (min-width: 1024px) { .logo img { height: 44px; } }

.nav-desktop { display: none; }
.header__actions { display: flex; align-items: center; gap: var(--sp-12); }
.header__cta { display: none; }
.header__wa-compact { width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--c-secondary); color: #000; display: grid; place-items: center; }
.header__wa-compact:hover { background: var(--c-whatsapp); color: #fff; }
.hamburger { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; display: grid; place-items: center; }
.hamburger .icon--close { display: none; }
.hamburger[aria-expanded="true"] .icon--menu { display: none; }
.hamburger[aria-expanded="true"] .icon--close { display: block; }

@media (min-width: 1024px) {
  .nav-desktop { display: block; }
  .header__cta { display: inline-flex; }
  .header__wa-compact, .hamburger { display: none; }
}

.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; }
.nav-list > li { position: relative; }
.nav-item {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px;
  background: none; border: 0; color: #fff; font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; text-decoration: none;
  border-bottom: 2px solid transparent;
}
.nav-item:hover { color: var(--c-secondary); }
.nav-item { white-space: nowrap; }
.header__cta { white-space: nowrap; }
/* 1024–1199px: não cabe tudo numa linha; o item "Análise gratuita" sai do menu porque o botão dourado ao lado leva à mesma página */
@media (min-width: 1024px) and (max-width: 1199px) { .nav-list > li:has(> a.nav-item[href="/contato/"]) { display: none; } .nav-list { gap: 20px; } }
.nav-item[aria-current="page"] { border-bottom-color: var(--c-secondary); }
.nav-item .icon { width: 16px; height: 16px; transition: transform var(--t-base); }
.nav-list > li:hover .nav-item .icon,
.nav-item[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* submenu de Sobre: painel branco, abre no hover e no foco pelo teclado (só CSS) */
.nav-list > li.has-sub > .submenu {
  position: absolute; top: 100%; left: -12px; z-index: 1001; min-width: 320px;
  list-style: none; margin: 0; padding: 8px; display: grid; gap: 2px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-sm); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility var(--t-base);
}
.nav-list > li.has-sub > .submenu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 18px; }
.nav-list > li.has-sub:hover > .submenu,
.nav-list > li.has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: var(--r-xs); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--c-text); }
.submenu a .icon { width: 18px; height: 18px; color: var(--c-primary); flex: none; }
.submenu a:hover, .submenu a:focus-visible { background: var(--c-surface-alt); color: var(--c-primary); }
.submenu a[aria-current="page"] { background: var(--c-primary-soft); color: var(--c-primary); }

/* mega menu: painel compacto com o mesmo visual e alinhamento do submenu de Sobre
   (cantos arredondados, contorno fino, abre logo abaixo do botão). Só a largura dos itens.
   Abre no hover, no focus-within e no aria-expanded. Ordem visual: 4 hubs em 2×2 + destaque à direita + contatos embaixo. */
.mega {
  --mega-cols: repeat(2, 264px) 280px;
  position: absolute; top: 100%; left: -12px; z-index: 1001;
  width: max-content; max-width: calc(100vw - 48px);
  max-height: calc(100dvh - var(--topbar-h) - var(--header-h)); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column;
  background: var(--c-surface); color: var(--c-text);
  border: 1px solid var(--c-border); border-radius: var(--r-sm); box-shadow: var(--sh-md);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--t-base), transform var(--t-base), visibility 0s var(--t-base);
}
/* telas de 1024 a 1379px: o botão fica perto do meio, então o painel centraliza na tela para não vazar */
@media (max-width: 1379px) {
  .mega { position: fixed; top: calc(var(--topbar-h) + (var(--header-h) + 44px) / 2); left: 50%; translate: -50% 0; }
  .header.is-scrolled .mega { top: calc((var(--header-h) + 44px) / 2); }
}
.nav-list > li:hover .mega,
.nav-list > li:focus-within .mega,
.nav-item[aria-expanded="true"] + .mega {
  opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-base), transform var(--t-base);
}
/* Esc fecha o painel mesmo com o mouse ou o foco dentro (classe colocada pelo main.js) */
.nav-list > li.is-closed > .mega,
.nav-list > li.has-sub.is-closed > .submenu { opacity: 0; visibility: hidden; transition: none; }
.header .mega .container { width: auto; max-width: none; margin: 0; min-height: 0; }
/* contatos embaixo, em faixa de fundo claro, alinhados às 3 colunas de cima;
   width 0 + min-width 100% impede que a faixa alargue o painel */
.mega__quick { order: 2; width: 0; min-width: 100%; padding: 0 28px; background: var(--c-surface-alt); border-top: 1px solid var(--c-border); }
.header .mega__quick .container { display: grid; grid-template-columns: var(--mega-cols); gap: 32px; align-items: start; justify-content: start; padding: 18px 0 20px; font-size: 16px; color: var(--c-text-muted); }
.mega__quick a, .mega__quick span { display: inline-flex; align-items: flex-start; gap: 8px; text-decoration: none; font-weight: 600; line-height: 1.4; color: var(--c-text); }
.mega__quick a:hover { color: var(--c-accent); }
.mega__quick .icon { width: 18px; height: 18px; color: var(--c-accent); flex: none; margin-top: 2px; }
.header .mega__grid { display: grid; grid-template-columns: var(--mega-cols); gap: 24px 32px; padding: 24px 28px; align-items: start; justify-content: start; }
.header .mega__grid > .mega__col { display: block; }
.header .mega__grid > .mega__highlight { display: block; grid-column: 3; grid-row: 1 / span 2; align-self: stretch; }
.mega__hub { font-family: var(--f-display); font-size: 1.0625rem; line-height: 1.25; font-weight: 700; color: var(--c-primary); margin: 0 0 12px; display: block; text-decoration: none; padding-bottom: 10px; border-bottom: 1px solid var(--c-border); }
.mega__hub:hover { color: var(--c-accent); }
.mega__list { list-style: none; display: grid; gap: 4px; }
.mega__link { display: flex; gap: 10px; align-items: flex-start; padding: 8px; margin: 0 -8px; border-radius: var(--r-sm); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.4; color: var(--c-text); }
.mega__link:hover { background: var(--c-surface-alt); color: var(--c-primary); }
.mega__link .icon { width: 20px; height: 20px; color: var(--c-accent); margin-top: 1px; flex: none; }
.mega__link small { display: block; font-weight: 400; color: var(--c-text-muted); }
.mega__highlight { background: var(--c-dark); color: #fff; padding: 24px; border-radius: var(--r-sm); }
.mega__highlight img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 4px; margin-bottom: 16px; }
.mega__highlight p { font-size: 16px; margin-bottom: 20px; }
.mega__highlight .mega__title { font-family: var(--f-display); font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.mega__highlight p { color: rgba(255,255,255,0.85); }
.mega__highlight strong { color: var(--c-secondary); }
.mega__highlight .btn { width: 100%; font-size: 16px; }

/* 7. Menu mobile (off-canvas) --------------------------------------------- */
.nav-mobile {
  position: fixed; top: 0; bottom: 0; left: 0; width: min(88vw, 360px); z-index: 1100;
  background: var(--c-dark); color: #fff; padding: 24px; overflow-y: auto;
  transform: translateX(-100%); transition: transform var(--t-slow);
  box-shadow: var(--sh-lg);
}
.nav-mobile:not(.is-open) { visibility: hidden; transition: transform var(--t-slow), visibility 0s var(--t-slow); }
.nav-mobile.is-open { transform: translateX(0); visibility: visible; }
.nav-mobile__overlay { position: fixed; inset: 0; background: rgba(17,25,26,0.48); z-index: 1050; opacity: 0; visibility: hidden; transition: opacity var(--t-slow), visibility 0s var(--t-slow); border: 0; padding: 0; }
.nav-mobile__overlay.is-open { opacity: 1; visibility: visible; transition: opacity var(--t-slow); }
.nav-mobile__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-16); }
.nav-mobile__close { width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; display: grid; place-items: center; }
.nav-mobile summary { list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 8px; font-weight: 700; font-size: 16px; cursor: pointer; border-radius: var(--r-sm); }
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile summary:hover { background: rgba(255,255,255,0.08); }
.nav-mobile summary .icon { color: var(--c-secondary); }
.nav-mobile summary .icon { width: 20px; height: 20px; transition: transform var(--t-slow); }
.nav-mobile details[open] > summary .icon { transform: rotate(90deg); }
.nav-mobile__sub { list-style: none; padding-left: 16px; }
.nav-mobile__sub summary { font-size: 16px; font-weight: 600; min-height: 48px; }
.nav-mobile__sub ul { list-style: none; padding-left: 16px; }
.nav-mobile a { display: flex; align-items: center; min-height: 48px; padding: 0 8px; text-decoration: none; font-weight: 600; font-size: 16px; color: rgba(255,255,255,0.9); border-radius: var(--r-sm); }
.nav-mobile a:hover { background: rgba(255,255,255,0.08); color: var(--c-secondary); }
.nav-mobile > a { font-size: 16px; font-weight: 700; min-height: 52px; }
.nav-mobile .btn { margin-top: var(--sp-24); background: var(--c-secondary); color: #000; }
@media (min-width: 1024px) { .nav-mobile, .nav-mobile__overlay { display: none; } }

/* 8. Hero: imagem de fundo à direita, texto sobreposto ---------------------- */
.hero { background: var(--c-dark); color: #fff; padding-block: var(--sp-48); position: relative; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% center; background: transparent; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-dark) 0%, var(--c-dark) 42%, rgba(17,25,26,0.86) 58%, rgba(17,25,26,0.55) 100%); }
.hero .container { position: relative; z-index: 1; }
.hero__content { max-width: 820px; }
.hero h1 { color: #fff; margin-bottom: var(--sp-16); font-size: clamp(2rem, 3.8vw, 3.125rem); }
.hero__sub { font-size: var(--fs-body-lg); max-width: 60ch; margin-bottom: var(--sp-24); color: rgba(255,255,255,0.86); }
.hero__sub strong { color: var(--c-secondary); }
.hero__ctas { display: grid; gap: var(--sp-12); margin-bottom: var(--sp-24); }
.hero__proofs { list-style: none; display: grid; gap: var(--sp-16); border-top: 1px solid rgba(255,255,255,0.16); padding-top: var(--sp-24); }
.hero__proofs li { display: flex; align-items: center; gap: 12px; font-size: var(--fs-small); font-weight: 600; }
.hero__proofs .icon { color: var(--c-secondary); }
.hero__proofs + .btn { margin-top: var(--sp-32); }
.hero__meta { font-size: var(--fs-caption); color: rgba(255,255,255,0.6); margin-top: var(--sp-16); }
@media (min-width: 480px) { .hero__ctas { grid-template-columns: auto auto; justify-content: start; } }
@media (min-width: 768px) { .hero__proofs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .hero { padding-block: var(--sp-48); } .hero::after { background: linear-gradient(90deg, var(--c-dark) 0%, var(--c-dark) 56%, rgba(17,25,26,0.75) 70%, rgba(17,25,26,0.15) 100%); } .hero__proofs { grid-template-columns: repeat(3, auto); justify-content: start; gap: var(--sp-48); } }
@media (max-width: 767px) { .hero::after { background: linear-gradient(180deg, var(--c-dark) 0%, rgba(17,25,26,0.92) 100%); } }

/* 9. Faixa de confiança (fundo claro, logo abaixo do hero) ----------------- */
.trust { background: var(--c-surface); padding-block: var(--sp-32); border-bottom: 1px solid var(--c-border); }
.trust h2 { font-family: var(--f-body); font-size: var(--fs-caption); font-weight: 700; color: var(--c-text-muted); letter-spacing: 0.02em; margin-bottom: var(--sp-24); }
.trust__grid { list-style: none; display: grid; gap: var(--sp-24); }
.trust__item { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.trust__item .icon-box { width: 24px; height: 24px; border: 0; background: transparent; border-radius: 0; color: var(--c-accent); }
.trust__item .icon-box .icon { width: 24px; height: 24px; }
.trust__item strong { display: block; font-family: var(--f-display); font-size: 1.125rem; color: var(--c-primary); line-height: 1.25; margin-bottom: 4px; }
.trust__item span { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 640px) { .trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .trust__grid { grid-template-columns: repeat(4, 1fr); gap: 0; } .trust__item { padding-inline: var(--sp-24); border-left: 1px solid var(--c-border); } .trust__item:first-child { padding-left: 0; border-left: 0; } }

/* 10. Hubs 2×2 ----------------------------------------------------------- */
.hubs { list-style: none; display: grid; gap: var(--sp-24); }
.hub {
  display: grid; grid-template-rows: auto 1fr; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md);
  overflow: hidden; box-shadow: var(--sh-sm); height: 100%;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
}
.hub:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-secondary); }
.hub img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hub__body { padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); }
.hub__body h3 { font-size: var(--fs-h4); }
.hub__body p { font-size: var(--fs-small); flex: 1; }
.hub__body .icon-box { margin-top: -48px; margin-bottom: 4px; box-shadow: var(--sh-sm); background: var(--c-surface); }
@media (min-width: 768px) { .hubs { grid-template-columns: repeat(2, 1fr); } }

/* 11. Serviços 3×3 -------------------------------------------------------- */
.services { list-style: none; display: grid; gap: var(--sp-24); }
.service { display: grid; grid-template-rows: auto 1fr; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); height: 100%; transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base); }
.service:hover { transform: translateY(-4px); box-shadow: var(--sh-md); border-color: var(--c-secondary); }
.service img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.service__body { padding: var(--sp-24); display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--sp-12); }
.service__body h3 { font-size: var(--fs-h5); font-family: var(--f-display); }
.service__body p { font-size: var(--fs-small); color: var(--c-text-muted); }
.service__body .icon-box { margin-top: -48px; background: var(--c-surface); box-shadow: var(--sh-sm); }
.service__body .link-arrow { font-size: var(--fs-small); }
@media (min-width: 640px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services { grid-template-columns: repeat(3, 1fr); } }

/* 12. Problema e solução (texto + imagem) --------------------------------- */
.split { display: grid; gap: var(--sp-48); align-items: center; }
.split img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--r-md); box-shadow: var(--sh-lg); }
.split h2 { margin-bottom: var(--sp-24); }
.split__list { list-style: none; display: grid; gap: var(--sp-16); margin-top: var(--sp-24); }
.split__list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); }
.split__list .icon { color: var(--c-secondary); margin-top: 3px; }
.split__actions { display: flex; flex-wrap: wrap; gap: var(--sp-16); align-items: center; margin-top: var(--sp-32); }
.split__actions .link-arrow { color: var(--c-secondary); text-decoration: none; }
.split__actions .link-arrow:hover { color: #fff; }
@media (min-width: 1024px) { .split { grid-template-columns: 5fr 7fr; gap: var(--sp-64); } .split--reverse > *:first-child { order: 2; } }
/* Fotos das seções texto + foto: o arquivo é sempre retrato 2:3 (800×1200).
   A moldura recorta no máximo ~8% de cada borda: 4:5 no celular e no tablet;
   no computador acompanha a altura do texto, limitada entre 4:5 e 7:4 (altura ÷ largura). */
.split > img, .split > .split__media img { aspect-ratio: 4 / 5; object-position: center; }
@media (min-width: 1024px) {
  .split {
    --media-w: calc((min(100vw, var(--max-w)) - 2 * var(--sp-container) - var(--sp-64)) * 5 / 12);
    align-items: stretch;
  }
  .split > img, .split > .split__media img {
    aspect-ratio: auto; contain: size; width: 100%;
    min-height: calc(var(--media-w) * 1.25); max-height: calc(var(--media-w) * 1.75);
  }
  .split > img { align-self: center; height: 100%; }
  .split > .split__media { display: flex; flex-direction: column; justify-content: center; }
  .split > .split__media img { flex: 1 1 0; height: auto; }
  .split > div { align-self: center; }
  /* o texto fica sempre na coluna mais larga, mesmo quando vem antes da foto */
  .split:not(.split--reverse):has(> div:first-child) { grid-template-columns: 7fr 5fr; }
}
/* Seções de texto longo: introdução ao lado da foto e os subtítulos em colunas logo abaixo */
.split--intro { margin-bottom: var(--sp-48); }
.split--intro .section-head { margin-bottom: var(--sp-16); }
.split--intro p + p { margin-top: var(--sp-16); }
.topics { display: grid; gap: var(--sp-32) var(--sp-48); padding-top: var(--sp-48); border-top: 1px solid var(--c-border); }
.topic h3 { font-size: var(--fs-h4); line-height: 1.25; margin-bottom: var(--sp-12); }
.topic > * + * { margin-top: var(--sp-12); }
.topic h3 + * { margin-top: 0; }
.topics__note { margin-top: var(--sp-32); max-width: var(--reading-w); }
@media (min-width: 768px) { .topics--2, .topics--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .topics--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* 13. Como funciona (4 etapas) -------------------------------------------- */
.steps { list-style: none; display: grid; gap: var(--sp-24); counter-reset: step; }
.step { position: relative; padding: var(--sp-24); background: var(--c-surface-alt); border-radius: var(--r-md); display: grid; gap: var(--sp-12); height: 100%; }
.step__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--c-secondary); color: #000; display: grid; place-items: center; font-weight: 700; font-size: 16px; transition: background-color var(--t-base), color var(--t-base); }
.step:hover .step__num { background: var(--c-primary); color: #fff; }
.step h3 { font-size: var(--fs-h5); }
.step p { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--sp-24)); top: 44px; width: var(--sp-24); border-top: 2px solid var(--c-secondary); }
}

/* 14. Diferenciais 3×2 ----------------------------------------------------- */
.features { list-style: none; display: grid; gap: var(--sp-24); }
.feature { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); height: 100%; overflow-wrap: break-word; transition: border-color var(--t-base), box-shadow var(--t-base); }
.feature .icon-box { flex-shrink: 0; margin-bottom: 4px; }
.feature h3 { margin: 0; }
.feature p { margin: 0; }
.feature p:last-of-type { flex: 1; }
.feature:hover { border-color: var(--c-secondary); box-shadow: var(--sh-sm); }
.feature h3 { font-family: var(--f-body); font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.005em; }
.feature p { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }

/* 15. Guia de decisão (Information Gain) ---------------------------------- */
.guide { display: grid; gap: var(--sp-32); }
.guide__col { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: var(--sp-16); grid-template-rows: auto auto; grid-auto-rows: 1fr; } /* título + intro; depois cada caso (1 a 6) com a mesma altura, sem linha vazia sobrando */
.guide__col > h3 { font-size: var(--fs-h4); display: flex; gap: 12px; align-items: center; }
.guide__col > h3 .icon { color: var(--c-accent); }
.guide__col > p { font-size: var(--fs-small); color: var(--c-text-muted); }
.guide__case { background: var(--c-surface-alt); border-radius: var(--r-sm); padding: var(--sp-16); display: grid; grid-template-rows: auto 1fr auto; gap: 8px; }
.guide__case h4 { font-family: var(--f-body); font-size: var(--fs-body); font-weight: 700; line-height: 1.35; }
.guide__case p { font-size: var(--fs-small); margin: 0; }
.guide__case a { font-size: var(--fs-small); }
@media (min-width: 1024px) { .guide { grid-template-columns: repeat(3, 1fr); } }

.table-wrap { margin-top: var(--sp-48); }
.table-wrap h3 { margin-bottom: var(--sp-12); font-size: var(--fs-h4); }
.table-wrap > p { font-size: var(--fs-small); color: var(--c-text-muted); margin-bottom: var(--sp-24); max-width: var(--reading-w); }
.table-scroll { overflow-x: auto; border: 1px solid var(--c-border); border-radius: var(--r-md); background: var(--c-surface); }
.table-scroll table { min-width: 720px; font-size: var(--fs-small); }
@media (max-width: 767px) {
  .table-scroll { overflow: visible; border: 0; background: transparent; }
  .table-scroll table, .table-scroll tbody, .table-scroll tr, .table-scroll td { display: block; min-width: 0; }
  .table-scroll thead { display: none; }
  .table-scroll tr { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 8px 16px; margin-bottom: 12px; }
  .table-scroll tbody tr:nth-child(even) td { background: transparent; }
  .table-scroll td { padding: 10px 0; border-bottom: 1px solid var(--c-border); }
  .table-scroll td:last-child { border-bottom: 0; }
  .table-scroll td::before { content: attr(data-label); display: block; font-size: var(--fs-caption); font-weight: 700; color: var(--c-text-muted); margin-bottom: 2px; }
  .table-scroll td:first-child::before { display: none; }
  .table-scroll td:first-child { font-family: var(--f-display); font-size: 1.125rem; }
}
.table-scroll th, .table-scroll td { padding: 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.table-scroll thead th { background: var(--c-primary); color: #fff; font-weight: 600; position: sticky; top: 0; }
.table-scroll tbody tr:nth-child(even) td { background: var(--c-surface-alt); }
.table-scroll tbody tr:last-child td { border-bottom: 0; }
.table-scroll td:first-child { font-weight: 600; }
.table-scroll td:first-child a { font-weight: 600; }

.highlight-box { color: var(--c-text-muted); padding: 4px 0 0; display: flex; gap: 10px; align-items: flex-start; font-size: var(--fs-caption); margin-top: var(--sp-16); }
.highlight-box .icon { width: 18px; height: 18px; color: var(--c-text-muted); margin-top: 1px; }

/* 16. Áreas atendidas: mapa do Brasil ------------------------------------- */
.areas { display: grid; gap: var(--sp-32); align-items: center; }
.section--areas { padding-top: var(--sp-32); }
.areas__map { max-width: 380px; margin-inline: auto; width: 100%; }
.brmap { width: 100%; height: auto; display: block; }
.brmap path { stroke: var(--c-surface); stroke-width: 1.5; stroke-linejoin: round; transition: fill var(--t-base); }
.r-n { fill: #00434A; } .r-ne { fill: #C79A5A; } .r-co { fill: #5E6C70; } .r-se { fill: #002A2F; } .r-s { fill: #B45E38; }
.brmap path:hover { fill: var(--c-secondary-hover); }
.regions { list-style: none; display: grid; gap: 0; }
.region { display: grid; grid-template-columns: 14px 1fr; gap: 14px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--c-border); font-size: var(--fs-small); }
.region:last-child { border-bottom: 0; }
.region i { width: 14px; height: 14px; border-radius: 3px; margin-top: 7px; }
.region p { margin: 0; }
.region strong { color: var(--c-primary); }
.region span { color: var(--c-text-muted); }
.areas__note { margin-top: var(--sp-24); font-size: var(--fs-small); color: var(--c-text); }
@media (min-width: 1024px) { .areas { grid-template-columns: 4fr 8fr; gap: var(--sp-64); } }

/* 17. Exemplos ilustrativos (depoimentos) --------------------------------- */
.cases { list-style: none; display: grid; gap: var(--sp-24); }
.case { background: var(--c-surface); border-radius: var(--r-md); padding: 28px; box-shadow: var(--sh-sm); display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--sp-16); height: 100%; transition: box-shadow var(--t-base); }
.case:hover { box-shadow: var(--sh-md); }
.case .icon { color: var(--c-secondary); }
.case h3 { font-family: var(--f-body); font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.005em; }
.case blockquote { margin: 0; font-family: var(--f-display); font-size: var(--fs-body-lg); line-height: 1.45; font-weight: 600; }
.case__meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: var(--fs-caption); color: var(--c-text-muted); }
.badge { display: inline-block; padding: 6px 10px; border-radius: var(--r-pill); font-size: 16px; font-weight: 700; background: var(--c-primary-soft); color: var(--c-primary); border: 1px solid var(--c-border); white-space: nowrap; }
@media (min-width: 1024px) { .cases { grid-template-columns: repeat(3, 1fr); } }

/* 18. FAQ ------------------------------------------------------------------ */
.faq-layout { display: grid; gap: var(--sp-48); align-items: start; }
.faq-layout img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-md); }
.faq { border-top: 1px solid var(--c-border); }
.faq details { border-bottom: 1px solid var(--c-border); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 700; cursor: pointer; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-primary-hover); }
.faq details[open] summary { color: var(--c-primary); }
.faq summary .icon { transition: transform var(--t-base); color: var(--c-primary); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq__answer { padding: 0 0 20px; font-size: 18px; line-height: 1.7; max-width: 70ch; }
.faq__answer p + p { margin-top: 12px; }
@media (min-width: 1024px) { .faq-layout { grid-template-columns: 5fr 7fr; gap: var(--sp-64); } .faq-layout img { position: sticky; top: calc(var(--header-h) + 24px); } }

/* 19. Blog ----------------------------------------------------------------- */
.posts { list-style: none; display: grid; gap: var(--sp-24); }
.post { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; height: 100%; transition: box-shadow var(--t-base); }
.post:hover { box-shadow: var(--sh-md); }
.post__img { overflow: hidden; }
.post img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform var(--t-slow); }
.post:hover img { transform: scale(1.02); }
.post__body { padding: 20px; display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.post__meta { font-size: var(--fs-caption); font-weight: 700; color: var(--c-accent); letter-spacing: 0.02em; }
.post h3 { font-family: var(--f-body); font-size: var(--fs-h5); line-height: 1.35; letter-spacing: -0.005em; }
.post h3 a { text-decoration: none; color: var(--c-primary); }
.post h3 a:hover { color: var(--c-accent); }
.post p { font-size: var(--fs-small); color: var(--c-text-muted); }
.post .link-arrow { font-size: var(--fs-small); }
@media (min-width: 640px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .posts { grid-template-columns: repeat(3, 1fr); } }

/* 20. CTA final + formulário ------------------------------------------------ */
.cta-band { background: var(--c-dark); color: #fff; border-radius: var(--r-lg); padding: var(--sp-32); display: grid; gap: var(--sp-32); align-items: stretch; }
.cta-band > * { min-width: 0; }
.cta-band__text { display: flex; flex-direction: column; }
/* formulário mais compacto e texto centralizado na altura dele: menos espaço vazio na coluna do texto */
.cta-band > :first-child { align-self: center; }
.cta-band .form { gap: 14px; position: relative; }
.cta-band .field textarea { min-height: 88px; }
.cta-band .form__status:empty { position: absolute; min-height: 0; }
.cta-band h2 { color: #fff; margin-bottom: var(--sp-16); }
.cta-band p { color: rgba(255,255,255,0.88); }
.cta-band__list { list-style: none; display: grid; gap: 12px; margin-top: var(--sp-24); }
.cta-band__list li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); min-width: 0; overflow-wrap: anywhere; }
.cta-band__list .icon { color: var(--c-secondary); margin-top: 3px; }
.cta-band .btn--whatsapp { margin-top: var(--sp-24); }
.form { background: rgba(255,255,255,0.05); color: #fff; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: 16px; align-content: start; }
.form__title { font-family: var(--f-display); font-size: var(--fs-h5); color: #fff; }
/* título do formulário em duas linhas: a pergunta em destaque e a segunda frase como complemento */
.form__title-sub { display: block; margin-top: 4px; font-family: var(--f-body); font-size: var(--fs-small); font-weight: 400; color: rgba(255,255,255,0.75); }
.field { display: grid; gap: 6px; min-width: 0; }
/* opção longa no select não pode alargar o formulário (e a página) no celular */
.field select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.field label { font-size: 16px; font-weight: 600; color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1px solid var(--c-input-border); border-radius: var(--r-sm);
  font: inherit; font-size: 18px; color: #fff; background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.28);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255,255,255,0.5); }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.5); }
.field select option { color: var(--c-text); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(199,154,90,0.25); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--c-error); }
/* Seta do campo de seleção: fina e discreta (mesma família de ícones, traço 1,5px), no lugar da seta grossa do navegador */
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffffb3' stroke-width='1.5' 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 16px center; background-size: 18px 18px;
}
.field select:focus { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C79A5A' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); }
.field select::-ms-expand { display: none; }
.field__error { font-size: 16px; color: var(--c-error); font-weight: 600; display: none; }
.field__error.is-visible { display: block; }
.field--check { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); }
.field--check input { width: 22px; height: 22px; min-height: 0; margin-top: 2px; accent-color: var(--c-primary); flex-shrink: 0; }
.field--check label { font-weight: 400; }
.form__status { font-size: var(--fs-small); font-weight: 600; min-height: 1.5em; }
/* link de WhatsApp na mensagem de erro do envio */
.form__status-wa { display: inline-block; margin-top: 6px; color: var(--c-secondary); font-weight: 700; }
/* rótulo "(opcional)" dos campos e-mail e cidade */
.field__opt { font-weight: 400; color: rgba(255,255,255,0.65); }
/* campo-armadilha anti-spam: fora da tela para pessoas, visível para robôs */
.field--hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status.is-success { color: var(--c-success); }
.form__status.is-error { color: var(--c-error); }
.form__hint { font-size: var(--fs-caption); color: rgba(255,255,255,0.65); }
.form a { color: var(--c-secondary); }
.field--check label { color: rgba(255,255,255,0.85); }
.field--check input { accent-color: var(--c-secondary); }
.form__status.is-success { color: #8FD3B0; }
.form__status.is-error { color: #F2A3A3; }
@media (min-width: 768px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (min-width: 1024px) { .cta-band { grid-template-columns: 1fr 1.45fr; padding: 56px; gap: var(--sp-48); } }

/* 21. Rodapé --------------------------------------------------------------- */
.footer { background: var(--c-dark); color: #fff; padding: 48px 0 24px; margin-top: var(--sp-section); font-size: 16px; }
.footer__grid { display: grid; gap: var(--sp-32); }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__title { font-family: var(--f-display); font-size: 1.0625rem; font-weight: 700; color: var(--c-secondary); margin: 0 0 12px; }
.footer ul { list-style: none; display: grid; gap: 2px; }
.footer a { color: var(--c-footer-link); text-decoration: none; font-size: 16px; font-weight: 400; display: inline-flex; align-items: center; gap: 10px; min-height: 28px; line-height: 1.3; }
.footer a:hover { color: var(--c-secondary); }
.footer a .icon { width: 16px; height: 16px; color: var(--c-secondary); }
.footer__hub { color: #fff !important; font-weight: 500 !important; font-size: 16px !important; margin-top: 4px; }
.footer__hub .icon { width: 18px !important; height: 18px !important; }
.footer__sub a { padding-left: 28px; font-size: 16px; }
.footer__brand { margin-bottom: 16px; }
.footer__brand img { height: 44px; width: auto; background: transparent; }
.footer__about { font-size: 16px; line-height: 1.5; color: var(--c-footer-link); max-width: 34ch; margin-bottom: 8px; }
.footer__nap { font-size: 16px; color: var(--c-footer-link); display: grid; gap: 2px; }
.footer__nap strong { color: #fff; font-size: 16px; display: block; margin-bottom: 6px; }
.footer__nap span { display: flex; gap: 10px; align-items: center; min-height: 30px; line-height: 1.35; }
.footer__nap .icon { width: 16px; height: 16px; color: var(--c-secondary); }
.footer__nap a { min-height: 0; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 32px; padding-top: 20px; display: grid; gap: 16px; font-size: 16px; color: rgba(255,255,255,0.6); }
.footer .footer__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 20px; }
.footer__badges li { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: rgba(255,255,255,0.75); }
.footer__badges .icon { width: 16px; height: 16px; color: var(--c-secondary); }
.footer .footer__social { list-style: none; display: flex; gap: 12px; }
.footer__social a { width: 44px; height: 44px; justify-content: center; border-radius: var(--r-sm); background: rgba(255,255,255,0.06); }
.footer__social a:hover { background: rgba(255,255,255,0.12); }
.footer__social .icon { width: 20px; height: 20px; color: #fff; }
.footer__social a:hover .icon { color: var(--c-secondary); }
.footer__signature { font-style: italic; }
@media (min-width: 640px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer__services { display: grid; gap: 0 24px; }
@media (min-width: 1024px) { .footer__services { grid-template-columns: 1fr 1fr; } }
/* 1024–1199px: 5 colunas não cabem (o e-mail estourava a tela); vira 3 colunas em 2 linhas: marca | serviços (2 col.) / institucional | guias | contato */
@media (min-width: 1024px) and (max-width: 1199px) { .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer__grid > :nth-child(2) { grid-column: span 2; } }
@media (min-width: 1200px) { .footer__grid { grid-template-columns: 1.1fr 2fr 1fr 1fr 1.1fr; gap: 28px; } }

/* 22. Flutuantes e cookies ------------------------------------------------- */
.wa-float {
  position: fixed; right: 16px; bottom: 16px; z-index: 900; display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 12px 18px; border-radius: var(--r-pill); background: var(--c-whatsapp); color: #fff;
  font-weight: 700; font-size: 16px; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.wa-float:hover { background: var(--c-whatsapp-hover); color: #fff; }
.wa-float span { display: none; }
@media (min-width: 768px) { .wa-float span { display: inline; } }

/* Aviso de cookies: fixo no canto (não empurra o conteúdo, sem CLS), sem fundo escuro por cima da página.
   Os três botões têm o mesmo estilo e o mesmo tamanho (Aceitar todos, Recusar, Personalizar). */
.cookie {
  position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 950; display: grid; gap: 12px;
  max-height: calc(100vh - 16px); max-height: calc(100dvh - 16px); overflow-y: auto; overscroll-behavior: contain;
  padding: 14px; background: var(--c-surface); color: var(--c-text); border: 1px solid var(--c-border);
  border-radius: var(--r-md); box-shadow: var(--sh-lg); font-size: 16px; line-height: 1.5;
}
.cookie[hidden], .cookie__prefs[hidden] { display: none; }
.cookie__title { margin: 0 0 4px; font-weight: 700; color: var(--c-primary); }
.cookie__text { margin: 0; }
.cookie__actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (max-width: 359px) { .cookie__actions { grid-template-columns: 1fr; } }
.cookie__btn {
  min-height: 44px; padding: 8px 2px; border: 1px solid var(--c-primary); border-radius: var(--r-sm);
  background: var(--c-surface); color: var(--c-primary); font: 600 16px/1.2 var(--f-body); cursor: pointer;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.cookie__btn:hover { background: var(--c-primary-soft); }
.cookie__btn:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.cookie__prefs { display: grid; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); }
.cookie__cat p { margin: 0 0 0 56px; color: var(--c-text-muted); }
.cookie__switch { display: flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; cursor: pointer; }
.cookie__switch em { margin-left: 6px; font-style: normal; font-weight: 600; color: var(--c-success); }
.cookie__switch input {
  -webkit-appearance: none; appearance: none; position: relative; flex: none; width: 44px; height: 24px; margin: 0;
  border-radius: var(--r-pill); background: var(--c-border-strong); cursor: pointer; transition: background-color var(--t-base);
}
.cookie__switch input::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,0.25); transition: transform var(--t-base);
}
.cookie__switch input:checked { background: var(--c-primary); }
.cookie__switch input:checked::after { transform: translateX(20px); }
.cookie__switch input:disabled { opacity: 0.6; cursor: not-allowed; }
.cookie__switch input:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.footer .footer__linkbtn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 28px; padding: 0; border: 0; background: none;
  color: var(--c-footer-link); font: 400 16px/1.3 var(--f-body); text-align: left; cursor: pointer;
}
.footer .footer__linkbtn:hover { color: var(--c-secondary); }
.footer .footer__linkbtn .icon { width: 16px; height: 16px; color: var(--c-secondary); }
@media (min-width: 768px) { .cookie { left: auto; right: 24px; bottom: 24px; width: 500px; padding: 24px; } .cookie__actions { gap: 8px; } .cookie__btn { padding: 8px; } }

/* 23. Movimento reduzido --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   24. Hub, serviço, subserviço, Sobre e Contato (acréscimos)
   ========================================================================== */
/* 24. Hub de categoria ---------------------------------------------------- */
/* breadcrumb único do site: a lista usa .crumbs (setas); o nav .breadcrumb só posiciona no hero */
.breadcrumb { margin-bottom: 8px; }

.answer { padding-block: var(--sp-48); background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
/* resposta direta: mesma largura da faixa de 3 colunas abaixo, justificada, para as bordas alinharem */
.answer__lead { font-size: var(--fs-body-lg); margin-bottom: var(--sp-32); text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.answer__grid { list-style: none; display: grid; gap: var(--sp-24); }
.answer__item { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.answer__item .icon-box { width: 24px; height: 24px; border: 0; background: transparent; border-radius: 0; color: var(--c-accent); }
.answer__item .icon-box .icon { width: 24px; height: 24px; }
.answer__item strong { display: block; font-family: var(--f-display); font-size: 1.125rem; color: var(--c-primary); line-height: 1.25; margin-bottom: 4px; }
.answer__item span { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 1024px) {
  .answer__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .answer__item { padding-inline: var(--sp-24); border-left: 1px solid var(--c-border); }
  .answer__item:first-child { padding-left: 0; border-left: 0; }
}

.table-wrap--flush { margin-top: 0; }
.table-scroll table.compare { min-width: 960px; }
@media (max-width: 767px) { .table-scroll table.compare { min-width: 0; } .table-scroll tbody tr:nth-child(even) td { background: transparent; } }

.section--alt .step { background: var(--c-surface); }
@media (min-width: 1024px) {
  .steps--six { grid-template-columns: repeat(3, 1fr); }
  .steps--six .step:nth-child(3)::after { display: none; }
}

/* Rodapé inferior: selos, redes e copyright sem espremer o texto */

/* 25. Página de serviço ---------------------------------------------------- */
.hero--split .container { display: grid; gap: var(--sp-48); }
.hero--split .hero__content { max-width: 640px; }
.hero--split .form { background: rgba(17,25,26,0.72); backdrop-filter: blur(6px); }
@media (min-width: 1024px) {
  .hero--split .container { grid-template-columns: 1.15fr 0.85fr; column-gap: var(--sp-64); align-items: start; }
  .hero--split .breadcrumb { grid-column: 1 / -1; }
  .hero--split .hero__content { grid-column: 1; }
  .hero--split .form { grid-column: 2; }
}
@media (min-width: 1024px) { .hero--split::after { background: linear-gradient(90deg, var(--c-dark) 0%, var(--c-dark) 40%, rgba(17,25,26,0.82) 60%, rgba(17,25,26,0.55) 100%); } }

.split__media { margin: 0; }
.split__media figcaption { font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: var(--sp-12); }

.step__time { font-size: var(--fs-caption); font-weight: 700; color: var(--c-accent); }

.includes { display: grid; gap: var(--sp-24); }
.includes__col { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); }
.includes__col h3 { font-size: var(--fs-h4); display: flex; gap: 12px; align-items: center; margin-bottom: var(--sp-16); }
.includes__col h3 .icon { color: var(--c-accent); }
.includes__col ul { list-style: none; display: grid; gap: 12px; }
.includes__col li { display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-small); }
.includes__col li .icon { color: var(--c-secondary); flex-shrink: 0; margin-top: 3px; }
@media (min-width: 768px) { .includes { grid-template-columns: 1fr 1fr; } }

@media (min-width: 1024px) { .guide--two { grid-template-columns: 1fr 1fr; } }
.guide__case ul { padding-left: 20px; font-size: var(--fs-small); display: grid; gap: 6px; }
.guide__case h5 { font-family: var(--f-body); font-size: var(--fs-body); font-weight: 700; margin: var(--sp-16) 0 6px; }

.articles-box { margin-top: var(--sp-48); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); }
.articles-box h3 { font-size: var(--fs-h4); display: flex; gap: 12px; align-items: center; margin-bottom: var(--sp-16); }
.articles-box h3 .icon { color: var(--c-accent); }
.articles-box ul { list-style: none; display: grid; gap: var(--sp-16); }
.articles-box li { display: grid; gap: 4px; }
.articles-box li span { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 1024px) { .articles-box ul { grid-template-columns: repeat(3, 1fr); gap: var(--sp-24); } }

/* 26. Página Sobre (entity home) --------------------------------------------- */
.timeline { list-style: none; display: grid; gap: var(--sp-24); counter-reset: none; }
.timeline__item { position: relative; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); padding-top: 48px; display: grid; gap: var(--sp-12); align-content: start; }
.timeline__year { position: absolute; top: -16px; left: var(--sp-24); display: inline-block; padding: 6px 14px; border-radius: var(--r-pill); background: var(--c-secondary); color: #000; font-weight: 700; font-size: 16px; }
.timeline__item h3 { font-size: var(--fs-h5); }
.timeline__item p { font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 640px) { .timeline { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
  .timeline { grid-template-columns: repeat(4, 1fr); margin-top: var(--sp-16); }
  .timeline__item:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--sp-24)); top: 0; width: var(--sp-24); border-top: 2px solid var(--c-secondary); }
}

.team { list-style: none; display: grid; gap: var(--sp-24); }
.team__card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; display: flex; flex-direction: column; }
.team__card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team__body { padding: var(--sp-24); display: flex; flex-direction: column; gap: var(--sp-12); flex: 1; }
.team__body h3 { font-size: var(--fs-h4); }
.team__role { font-weight: 700; color: var(--c-accent); font-size: var(--fs-small); }
.team__body > p:not(.team__role) { font-size: var(--fs-small); flex: 1; }
.team__meta { list-style: none; display: grid; gap: 8px; font-size: var(--fs-small); color: var(--c-text-muted); }
.team__meta li { display: flex; gap: 10px; align-items: center; }
.team__meta .icon { color: var(--c-secondary); width: 18px; height: 18px; }
.team .link-arrow { font-size: var(--fs-small); }
@media (min-width: 768px) { .team { grid-template-columns: repeat(3, 1fr); } }

@media (min-width: 1024px) { .features--four { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .steps--five { grid-template-columns: repeat(5, 1fr); } }

.services-list { margin-top: var(--sp-48); background: var(--c-surface-alt); border-radius: var(--r-md); padding: var(--sp-24); }
.services-list h3 { font-size: var(--fs-h4); margin-bottom: var(--sp-16); }
.services-list ol { padding-left: 24px; display: grid; gap: 10px; font-size: var(--fs-small); }
@media (min-width: 768px) { .services-list ol { grid-template-columns: repeat(3, 1fr); column-gap: var(--sp-32); } }

.facts { list-style: none; display: grid; gap: var(--sp-24); }
.fact { border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: 8px; }
.fact__value { font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; color: var(--c-secondary); }
.fact__label { font-size: var(--fs-small); color: rgba(255,255,255,0.8); }
@media (min-width: 640px) { .facts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .facts { grid-template-columns: repeat(4, 1fr); } }

.channels { display: grid; gap: var(--sp-24); }
.channels__col { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); }
.channels__col h3 { font-size: var(--fs-h4); display: flex; gap: 12px; align-items: center; margin-bottom: var(--sp-16); }
.channels__col h3 .icon { color: var(--c-accent); }
.channels__col > p { font-size: var(--fs-small); color: var(--c-text-muted); margin-bottom: var(--sp-16); }
.channels__list { list-style: none; display: grid; gap: 14px; }
.channels__list li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); }
.channels__list li .icon { color: var(--c-secondary); width: 20px; height: 20px; margin-top: 2px; }
.channels__list strong { display: block; margin-bottom: 2px; }
.channels__list a { word-break: break-all; }
.channels__list span { color: var(--c-text-muted); }
@media (min-width: 1024px) { .channels { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .timeline--two { grid-template-columns: repeat(2, 1fr); max-width: 880px; } }

/* 27. Página de contato ------------------------------------------------------ */
.hero--split .hero__content > .btn { margin-bottom: var(--sp-16); }
.feature .link-arrow { font-size: var(--fs-small); margin-top: var(--sp-12); align-self: flex-start; text-decoration: none; color: var(--c-primary); }
.feature .link-arrow:hover { color: var(--c-accent); }
.feature .link-arrow .icon { width: 18px; height: 18px; transition: transform var(--t-fast); }
.feature .link-arrow:hover .icon { transform: translateX(4px); }
.cta-band__aside { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); border-radius: var(--r-md); padding: var(--sp-24); align-self: start; }
.cta-band__aside h3 { color: #fff; font-size: var(--fs-h4); margin-bottom: var(--sp-16); }
.cta-band__aside .channels__list li { color: rgba(255,255,255,0.88); }
.cta-band__aside .channels__list strong { color: #fff; }
.cta-band__aside .channels__list a { color: var(--c-secondary); }
.cta-band__aside .channels__list span { color: rgba(255,255,255,0.7); }
.cta-band__list a { color: var(--c-secondary); }

/* Grades sempre simétricas: nenhuma célula pode crescer por causa do conteúdo */
.features > li, .steps > li, .hubs > li, .services > li, .cases > li, .posts > li, .timeline > li, .team > li, .answer__grid > li, .facts > li, .includes > *, .channels > *, .guide > * { min-width: 0; }
.feature p.feature__value { font-weight: 700; color: var(--c-primary); font-size: var(--fs-small); overflow-wrap: anywhere; }

/* Rodapé colado à última seção: sem faixa branca entre a seção e o rodapé */
.page-contato .footer { margin-top: 0; }

/* ==========================================================================
   25. Blog (hub e categoria), artigo, páginas legais, obrigado e 404
   ========================================================================== */
/* ==========================================================================
   Blog (hub e categoria) — acréscimos ao style.css
   ========================================================================== */
/* Regra do site: cards de ícone com contorno fino por padrão, dourado + sombra no hover */
.feature { border-color: var(--c-border); transition: border-color var(--t-base), box-shadow var(--t-base); }
.feature:hover { border-color: var(--c-secondary); box-shadow: var(--sh-sm); }
/* links de card: sem sublinhado; se o texto for longo, quebra linha em vez de esticar a grade para fora da tela */
.feature .link-arrow, .post .link-arrow, .cat .link-arrow, .path .link-arrow { text-decoration: none; text-wrap: balance; }
.paths > *, .posts > *, .features > *, .cats > *, .hubs > *, .cases > *, .steps > *, .guide > * { min-width: 0; }
.feature .link-arrow:hover, .post .link-arrow:hover, .cat .link-arrow:hover, .path .link-arrow:hover { text-decoration: none; }


/* Rodapé: selos numa linha e, abaixo de um fio, a linha final (copyright à esquerda, crédito à direita), como no Carta Consórcios */
.footer__final { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 16px; color: rgba(255,255,255,0.72); }
.footer__final p { margin: 0; }
.footer .footer__credit a { display: inline; min-height: 0; color: var(--c-secondary); font-weight: 700; text-decoration: none; }
.footer .footer__credit a:hover, .footer .footer__credit a:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) { .footer__final { justify-content: center; text-align: center; } }


/* Links dentro do hero escuro: dourado, branco no hover (nunca verde sobre grafite) */
.hero__content p:not(.hero__sub) { color: rgba(255,255,255,0.86); font-size: var(--fs-body); max-width: 64ch; }
.hero__content a:not(.btn) { color: var(--c-secondary); text-decoration-color: rgba(199,154,90,0.5); }
.hero__content a:not(.btn):hover { color: #fff; text-decoration-color: #fff; }
.hero__meta { color: rgba(255,255,255,0.6); }

/* Breadcrumb no hero */
.crumbs { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: var(--sp-16); font-size: var(--fs-caption); }
.crumbs li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.72); }
.crumbs a { color: rgba(255,255,255,0.86); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--c-secondary); }
.crumbs .icon { width: 14px; height: 14px; color: rgba(255,255,255,0.5); }
.crumbs [aria-current="page"] { color: var(--c-secondary); font-weight: 600; }

/* Hero do blog: busca */
.hero--blog .hero__content { max-width: 860px; }
.hero--blog .hero__sub { max-width: 64ch; }
.search { display: grid; gap: 12px; margin-top: var(--sp-24); max-width: 640px; }
.search label { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.9); }
.search__row { display: grid; gap: 12px; }
.search input { width: 100%; min-height: 52px; padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); color: #fff; font: inherit; font-size: 18px; }
.search input::placeholder { color: rgba(255,255,255,0.5); }
.search input:focus { outline: none; border-color: var(--c-secondary); box-shadow: 0 0 0 3px rgba(199,154,90,0.25); }
.search .btn { min-height: 52px; }
@media (min-width: 560px) { .search__row { grid-template-columns: 1fr auto; } }

/* Navegação por categorias (pílulas) */
.catnav { border-bottom: 1px solid var(--c-border); background: var(--c-surface); }
.catnav ul { list-style: none; display: flex; gap: 10px; overflow-x: auto; padding-block: var(--sp-16); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.catnav li { flex: 0 0 auto; }
.catnav a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-pill); border: 1px solid var(--c-border); background: var(--c-surface); color: var(--c-primary); font-size: var(--fs-small); font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color var(--t-base), background-color var(--t-base), color var(--t-base); }
.catnav a .icon { width: 18px; height: 18px; }
.catnav a:hover { border-color: var(--c-secondary); background: var(--c-surface-alt); color: var(--c-primary); }
.catnav a[aria-current="page"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.catnav a[aria-current="page"]:hover { color: #fff; }
@media (min-width: 1024px) { .catnav ul { justify-content: center; flex-wrap: wrap; overflow: visible; } }

/* Artigo em destaque */
.featured { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-lg); overflow: hidden; display: grid; transition: box-shadow var(--t-base), border-color var(--t-base); }
.featured:hover { box-shadow: var(--sh-md); border-color: var(--c-secondary); }
.featured__img { overflow: hidden; }
.featured img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform var(--t-slow); }
.featured:hover img { transform: scale(1.02); }
.featured__body { padding: var(--sp-24); display: grid; gap: var(--sp-16); align-content: center; }
.featured__tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); font-weight: 700; color: var(--c-accent); letter-spacing: 0.02em; }
.featured__tag .icon { width: 16px; height: 16px; }
.featured h3 { font-size: var(--fs-h3); }
.featured h3 a { text-decoration: none; color: var(--c-primary); }
.featured h3 a:hover { color: var(--c-accent); }
.featured p { color: var(--c-text-muted); }
@media (min-width: 900px) { .featured { grid-template-columns: 6fr 6fr; } .featured__body { padding: var(--sp-48); } }

/* Rodapé dos cards de artigo: data + tempo de leitura */
.post__body { grid-template-rows: auto auto 1fr auto auto; }
.post__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid var(--c-border); font-size: var(--fs-caption); color: var(--c-text-muted); }
.post__foot span { display: inline-flex; align-items: center; gap: 6px; }
.post__foot .icon { width: 16px; height: 16px; }
.post p.post__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Cards de categoria 3×2 */
.cats { list-style: none; display: grid; gap: var(--sp-24); }
.cat { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); overflow: hidden; display: grid; grid-template-rows: auto 1fr; height: 100%; transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base); }
.cat:hover { box-shadow: var(--sh-md); border-color: var(--c-secondary); transform: translateY(-3px); }
.cat img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.cat__body { padding: var(--sp-24); display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; }
.cat__count { font-size: var(--fs-caption); font-weight: 700; color: var(--c-accent); letter-spacing: 0.02em; }
.cat h3 { font-family: var(--f-body); font-size: var(--fs-h5); line-height: 1.35; }
.cat h3 a { text-decoration: none; color: var(--c-primary); }
.cat h3 a:hover { color: var(--c-accent); }
.cat p { font-size: var(--fs-small); color: var(--c-text-muted); }
.cat .link-arrow { font-size: var(--fs-small); }
.cat--cta { background: var(--c-dark); border-color: var(--c-dark); color: #fff; }
.cat--cta .cat__body { grid-template-rows: auto auto 1fr auto; }
.cat--cta h3, .cat--cta h3 a { color: #fff; }
.cat--cta p { color: rgba(255,255,255,0.85); }
.cat--cta .cat__count { color: var(--c-secondary); }
.cat--cta .icon-box { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: var(--c-secondary); }
.cat--cta .btn--whatsapp { color: #000; }
.cat--cta .btn--whatsapp:hover { color: #fff; }
.cat__img { aspect-ratio: 3/2; display: grid; place-items: center; background: rgba(255,255,255,0.04); }
.cat__img .icon { width: 64px; height: 64px; color: var(--c-secondary); stroke-width: 1.2; }
@media (min-width: 640px) { .cats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cats { grid-template-columns: repeat(3, 1fr); } }

/* Caminhos de leitura (categoria) */
.paths { list-style: none; display: grid; gap: var(--sp-24); }
.path { background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: var(--sp-16); height: 100%; transition: border-color var(--t-base), box-shadow var(--t-base); }
.path:hover { border-color: var(--c-secondary); box-shadow: var(--sh-sm); }
.path h3 { font-family: var(--f-body); font-size: var(--fs-h5); line-height: 1.35; }
.path > p { font-size: var(--fs-small); color: var(--c-text-muted); }
.path ol { list-style: none; display: grid; gap: 10px; counter-reset: p; }
.path ol li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: var(--fs-small); counter-increment: p; }
.path ol li::before { content: counter(p); width: 30px; height: 30px; border-radius: 50%; background: var(--c-secondary); color: #000; display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.path ol a { text-decoration: none; }
.path ol a:hover { color: var(--c-accent); }
.path .link-arrow { font-size: var(--fs-small); margin-top: auto; }
@media (min-width: 1024px) { .paths { grid-template-columns: repeat(3, 1fr); } }

/* Paginação */
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: var(--sp-48); }
.pager ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.pager a, .pager span.pager__gap { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--c-border); text-decoration: none; font-weight: 600; font-size: var(--fs-small); color: var(--c-primary); transition: border-color var(--t-base), background-color var(--t-base), color var(--t-base); }
.pager a:hover { border-color: var(--c-secondary); background: var(--c-surface-alt); color: var(--c-primary); }
.pager a[aria-current="page"] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pager a .icon { width: 18px; height: 18px; }
.pager .pager__prev .icon { transform: rotate(180deg); }
.pager__info { width: 100%; text-align: center; font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: 4px; }

/* Serviços do cluster (categoria) */
.services-mini { list-style: none; display: grid; gap: var(--sp-24); }
@media (min-width: 640px) { .services-mini { grid-template-columns: repeat(2, 1fr); } }


/* ==========================================================================
   Artigo do blog — acréscimos ao style.css
   ========================================================================== */
.article-head { background: var(--c-surface-alt); padding-block: var(--sp-32) 0; }
.article-head .crumbs li, .article-head .crumbs a { color: var(--c-text-muted); }
.article-head .crumbs a:hover { color: var(--c-accent); }
.article-head .crumbs .icon { color: var(--c-border-strong); }
.article-head .crumbs [aria-current="page"] { color: var(--c-primary); }
.article-head h1 { font-size: clamp(2rem, 4vw, 3.25rem); max-width: 22ch; margin-bottom: var(--sp-24); }
.article-head__inner { max-width: 880px; }
/* Botão do topo do artigo: só aparece quando a coluna do formulário vai para depois do texto (celular e tablet) */
.article-head__cta { margin: var(--sp-16) 0 0; }
@media (min-width: 1200px) { .article-head__cta { display: none; } }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding-block: var(--sp-16); border-top: 1px solid var(--c-border); border-bottom: 1px solid var(--c-border); font-size: var(--fs-caption); color: var(--c-text-muted); }
.byline__author { display: flex; align-items: center; gap: 12px; }
.byline__author img { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; }
.byline__author a { text-decoration: none; }
.byline__author a:hover { color: var(--c-accent); }
.byline__role { display: block; font-size: 16px; font-weight: 400; }
.byline__meta { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.byline__meta span { display: inline-flex; align-items: center; gap: 6px; }
.byline__meta .icon { width: 16px; height: 16px; color: var(--c-secondary); }
.article-cover { margin: var(--sp-32) auto 0; max-width: 880px; }
.article-cover img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--r-md) var(--r-md) 0 0; }
.article-cover figcaption { font-size: var(--fs-caption); color: var(--c-text-muted); padding: 10px 0 0; }
.article-cover { transform: translateY(var(--sp-32)); margin-top: 0; }

.article-layout { display: grid; gap: var(--sp-48); padding-top: var(--sp-96); padding-bottom: var(--sp-section); max-width: 1360px; }
.article { max-width: var(--reading-w); min-width: 0; margin-inline: auto; width: 100%; }
.article-side { min-width: 0; }
.article-side--left { order: -1; }
.article-side--right { order: 1; }
@media (min-width: 1200px) {
  .article-layout { grid-template-columns: 240px minmax(0, 1fr) 320px; gap: var(--sp-48); align-items: start; }
  .article-side--left, .article-side--right { position: sticky; top: calc(var(--header-h) + 24px); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; scrollbar-width: thin; }
  .article-side--left .toc { background: transparent; border: 0; padding: 0; margin: 0; }
  .article-side--left .toc ol { grid-template-columns: 1fr; gap: 2px; }
  .article-side--left .toc li { grid-template-columns: 1fr; gap: 0; }
  .article-side--left .toc li::before { display: none; }
  .article-side--left .toc a { display: block; padding: 8px 12px; border-left: 2px solid var(--c-border); font-size: 16px; font-weight: 500; color: var(--c-text-muted); line-height: 1.4; }
  .article-side--left .toc a:hover { color: var(--c-primary); border-left-color: var(--c-secondary); text-decoration: none; }
  .article-side--left .toc a[aria-current="true"] { color: var(--c-primary); font-weight: 700; border-left-color: var(--c-secondary); }
  .article-side--left .toc .box__title { font-size: var(--fs-caption); font-family: var(--f-body); text-transform: uppercase; letter-spacing: 0.06em; color: var(--c-text-muted); margin-bottom: var(--sp-12); }
  .article-side--left .toc .box__title .icon { width: 16px; height: 16px; }
}
@media (max-width: 1199px) { .article-side--right { max-width: var(--reading-w); margin-inline: auto; width: 100%; } }

/* Cartão lateral: formulário compacto + leia também */
.side-card { background: var(--c-dark); color: #fff; border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: 12px; }
.side-card .form { background: transparent; border: 0; padding: 0; gap: 12px; }
/* topo do cartão: título com linhas equilibradas e texto de apoio separado dos campos por um fio */
.side-card .form__title { font-size: var(--fs-h5); line-height: 1.3; text-wrap: balance; margin: 0; }
/* a pergunta fica em branco; o convite ("Peça a análise gratuita") desce para uma linha própria, em dourado */
.side-card .form__title-cta { display: block; margin-top: 6px; color: var(--c-secondary); }
.side-card__lead { font-size: var(--fs-small); line-height: 1.55; color: rgba(255,255,255,0.78); text-wrap: pretty; margin: 0 0 4px; padding-bottom: 16px; border-bottom: 1px solid rgba(255,255,255,0.14); }
.side-card .field input, .side-card .field select { min-height: 48px; padding: 12px 14px; font-size: 16px; }
.side-card .field select { padding-right: 40px; background-position: right 12px center; }
/* botões mais baixos e próximos; o aviso de envio vazio não ocupa espaço (continua no HTML para leitores de tela) */
.side-card .btn { padding: 10px 14px; line-height: 1.25; text-wrap: balance; }
.side-card .form { position: relative; }
.side-card .form__status:empty { position: absolute; min-height: 0; }
.side-card .btn--whatsapp { color: #000; }
.side-card .btn--whatsapp:hover { color: #fff; }
.side-card__or { display: flex; align-items: center; gap: 12px; font-size: var(--fs-caption); color: rgba(255,255,255,0.6); margin: 0; }
.side-card__or::before, .side-card__or::after { content: ""; flex: 1; height: 1px; background: rgba(255,255,255,0.14); }
.side-list { margin-top: var(--sp-24); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); display: grid; gap: 14px; }
.side-list__title { font-family: var(--f-display); font-size: var(--fs-h5); color: var(--c-primary); margin: 0; }
.side-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.side-list li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; }
.side-list img { width: 72px; height: 54px; object-fit: cover; border-radius: var(--r-xs); }
.side-list a { font-size: 16px; line-height: 1.35; text-decoration: none; }
.side-list a:hover { color: var(--c-accent); }
.side-list .side-list__all { font-size: var(--fs-small); }
.article-tag { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-caption); font-weight: 700; color: var(--c-accent); letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; margin-bottom: var(--sp-12); }
.article-tag:hover { color: var(--c-primary); }
.article-tag .icon { width: 16px; height: 16px; }
.article > p, .article li, .article td, .article th { font-size: var(--fs-body); }
.article h2 { font-size: clamp(1.625rem, 2.8vw, 2.25rem); margin: var(--sp-48) 0 var(--sp-16); scroll-margin-top: calc(var(--header-h) + 24px); }
.article h3 { font-family: var(--f-body); font-size: var(--fs-h5); margin: var(--sp-32) 0 var(--sp-12); }
.article h4 { font-family: var(--f-body); font-size: var(--fs-body-lg); margin: var(--sp-24) 0 var(--sp-8); }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 var(--sp-16); display: grid; gap: 8px; }
.article a:not(.btn) { text-decoration-color: rgba(0,42,47,0.35); }
.lead-answer { font-size: var(--fs-body-lg); line-height: 1.6; padding-left: var(--sp-24); border-left: 3px solid var(--c-secondary); margin-bottom: var(--sp-32); }
.lead-answer strong { color: var(--c-primary); }

.box { background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-24); margin: var(--sp-32) 0; }
.box__title { font-family: var(--f-display); font-size: var(--fs-h5); color: var(--c-primary); margin-bottom: var(--sp-12); display: flex; align-items: center; gap: 10px; }
.box__title .icon { color: var(--c-secondary); }
.box ul { list-style: none; padding: 0; display: grid; gap: 10px; margin: 0; }
.box ul li { display: flex; gap: 10px; align-items: flex-start; }
.box ul .icon { width: 18px; height: 18px; color: var(--c-secondary); margin-top: 5px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; counter-reset: toc; }
.toc li { counter-increment: toc; display: grid; grid-template-columns: 28px 1fr; gap: 8px; }
.toc li::before { content: counter(toc) "."; font-weight: 700; color: var(--c-secondary); }
.toc a { text-decoration: none; }
.toc a:hover { color: var(--c-accent); text-decoration: underline; }
@media (min-width: 640px) { .toc ol { grid-template-columns: 1fr 1fr; gap: 8px 24px; } }

.table-box { overflow-x: auto; margin: var(--sp-24) 0 var(--sp-32); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.article table { min-width: 560px; }
.article th, .article td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--c-border); }
.article th { background: var(--c-primary); color: #fff; font-weight: 600; font-size: var(--fs-small); }
.article tbody tr:last-child td { border-bottom: 0; }
.article tbody tr:nth-child(even) td { background: var(--c-surface-alt); }
.article td strong { color: var(--c-primary); }
/* celular: cada linha da tabela vira um cartão com o rótulo da coluna (data-label), sem rolagem lateral */
@media (max-width: 767px) {
  .table-box { overflow: visible; border: 0; border-radius: 0; }
  .table-box table, .table-box tbody, .table-box tr, .table-box td, .table-box th { display: block; min-width: 0; }
  .table-box thead { display: none; }
  .table-box tr { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: 6px 16px; margin-bottom: 12px; }
  .table-box tbody tr:nth-child(even) td, .table-box tbody tr:nth-child(even) th { background: transparent; }
  .table-box td, .table-box tbody th { padding: 10px 0; border-bottom: 1px solid var(--c-border); }
  .table-box tbody tr td:last-child { border-bottom: 0; }
  .table-box td::before, .table-box tbody th::before { content: attr(data-label); display: block; font-size: var(--fs-caption); font-weight: 700; color: var(--c-text-muted); margin-bottom: 2px; }
  .table-box td:first-child::before, .table-box td[data-label=""]::before { display: none; }
  .table-box td:first-child { font-family: var(--f-display); font-size: 1.125rem; color: var(--c-primary); }
  .table-box + .table-note { margin-top: 0; }
}
.table-note, .article .note { font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: -16px; margin-bottom: var(--sp-24); }

.checklist { list-style: none; padding: 0; margin: var(--sp-16) 0 var(--sp-24); display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.checklist .icon { width: 24px; height: 24px; color: var(--c-secondary); margin-top: 2px; }

.cta-inline { background: var(--c-dark); color: #fff; border-radius: var(--r-md); padding: var(--sp-32); margin: var(--sp-48) 0; display: grid; gap: var(--sp-16); }
.cta-inline h3 { color: #fff; font-family: var(--f-display); font-size: var(--fs-h4); margin: 0; }
.cta-inline p { color: rgba(255,255,255,0.86); margin: 0; }
.cta-inline a:not(.btn) { color: var(--c-secondary); }
.cta-inline a:not(.btn):hover { color: #fff; }
.cta-inline .btn--whatsapp { color: #000; justify-self: start; }
.cta-inline .btn--whatsapp:hover { color: #fff; }
/* CTA do meio nas páginas de serviço: fecha a seção, sem a margem de baixo do artigo */
.container > .cta-inline:last-child { margin-bottom: 0; }

.faq-cards { display: grid; gap: 12px; margin-top: var(--sp-24); }
.faq-cards details { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.faq-cards details[open] { border-color: var(--c-secondary); }
.faq-cards summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; color: var(--c-primary); display: flex; justify-content: space-between; gap: 16px; align-items: center; min-height: 44px; }
.faq-cards summary::-webkit-details-marker { display: none; }
.faq-cards summary .icon { transition: transform var(--t-base); }
.faq-cards details[open] summary .icon { transform: rotate(180deg); }
.faq-cards summary:hover { color: var(--c-primary); }
.faq-cards .faq__a { padding: 0 20px 20px; color: var(--c-text); }
.faq-cards .faq__a p { margin: 0 0 12px; }
.faq-cards .faq__a p:last-child { margin: 0; }

.author { display: grid; gap: var(--sp-24); background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-md); padding: var(--sp-32); margin-top: var(--sp-64); }
.author img { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--c-border); background: #fff; }
.author__name { font-family: var(--f-display); font-size: var(--fs-h5); color: var(--c-primary); margin: 0 0 4px; }
.author__role { font-size: var(--fs-caption); color: var(--c-text-muted); margin-bottom: var(--sp-12); }
.author p { font-size: var(--fs-small); }
.author__links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: var(--sp-12); }
.author__links a { font-size: var(--fs-small); text-decoration: none; }
@media (min-width: 640px) { .author { grid-template-columns: 96px 1fr; } }

.sources { font-size: var(--fs-caption); color: var(--c-text-muted); margin-top: var(--sp-32); padding-top: var(--sp-16); border-top: 1px solid var(--c-border); }
.sources ol { padding-left: 1.2em; margin: 8px 0 0; display: grid; gap: 4px; }


/* ==========================================================================
   Páginas legais, obrigado e 404 — acréscimos
   ========================================================================== */
.article-layout--legal { max-width: 1120px; padding-top: var(--sp-section); }
@media (min-width: 1200px) { .article-layout--legal { grid-template-columns: 260px minmax(0, 1fr); } }
.legal .article { max-width: var(--reading-w); margin-inline: 0; }
.legal .article h2:first-of-type { margin-top: 0; }
.legal .article p, .legal .article li { color: var(--c-text); }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 var(--sp-24); font-size: var(--fs-body); }
.legal dt { font-weight: 700; color: var(--c-primary); }
.legal dd { margin: 0; }
@media (max-width: 560px) { .legal dl { grid-template-columns: 1fr; gap: 4px; } .legal dd { margin-bottom: 10px; } }
.legal-contact { margin-top: var(--sp-48); border-top: 1px solid var(--c-border); padding-top: var(--sp-32); display: grid; gap: var(--sp-16); }
.legal-contact .btn { justify-self: start; }
.hero--legal .hero__content { max-width: 820px; }
.hero--legal h1 { font-size: clamp(2rem, 3.6vw, 3rem); }

/* Obrigado */
.hero--thanks .hero__content { max-width: 860px; }
.hero__badge { display: inline-flex; align-items: center; gap: 10px; background: rgba(199,154,90,0.14); border: 1px solid rgba(199,154,90,0.4); color: var(--c-secondary); border-radius: var(--r-pill); padding: 8px 16px; font-size: var(--fs-caption); font-weight: 700; margin-bottom: var(--sp-16); }
.hero__badge .icon { width: 18px; height: 18px; }
.thanks-summary { list-style: none; display: grid; gap: 12px; margin: var(--sp-24) 0; padding: var(--sp-24); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--r-md); background: rgba(255,255,255,0.04); }
.thanks-summary li { display: grid; grid-template-columns: 150px 1fr; gap: 12px; font-size: var(--fs-small); }
.thanks-summary li span:first-child { color: rgba(255,255,255,0.6); }
.thanks-summary li strong { color: var(--c-secondary); }
@media (max-width: 480px) { .thanks-summary li { grid-template-columns: 1fr; gap: 2px; } }
.steps--3 { grid-template-columns: 1fr; }
@media (min-width: 768px) { .steps--3 { grid-template-columns: repeat(3, 1fr); } .steps--3 .step:not(:last-child)::after { content: ""; position: absolute; right: calc(-1 * var(--sp-24)); top: 44px; width: var(--sp-24); border-top: 2px solid var(--c-secondary); } }
.deadline { display: grid; gap: var(--sp-24); align-items: center; background: var(--c-surface-alt); border: 1px solid var(--c-border); border-radius: var(--r-lg); padding: var(--sp-32); }
.deadline__num { font-family: var(--f-display); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; color: var(--c-primary); }
.deadline__num small { display: block; font-family: var(--f-body); font-size: var(--fs-caption); font-weight: 600; color: var(--c-text-muted); margin-top: 8px; }
.deadline__text p { margin: 0 0 var(--sp-12); }
.deadline .btn { justify-self: start; }
@media (min-width: 900px) { .deadline { grid-template-columns: auto 1fr auto; gap: var(--sp-48); } }

/* /obrigado/: o que separar para o atendimento (2×2, mesmo tamanho em todos os serviços) */
.prep { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--sp-16); }
.prep li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: var(--sp-24); background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--r-md); }
.prep .icon, .prep__warn .icon { width: 22px; height: 22px; color: var(--c-secondary); margin-top: 3px; }
.prep__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--sp-16) var(--sp-32); margin-top: var(--sp-24); }
.prep__warn { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; margin: 0; max-width: 62ch; font-size: var(--fs-small); color: var(--c-text-muted); }
@media (min-width: 768px) { .prep { grid-template-columns: 1fr 1fr; } }

/* 404 */
.hero--404 .hero__content { max-width: 820px; }
.hero__code { font-family: var(--f-display); font-size: var(--fs-caption); letter-spacing: 0.2em; text-transform: uppercase; color: var(--c-secondary); font-weight: 700; margin-bottom: var(--sp-12); }
.hubs-404 { list-style: none; display: grid; gap: var(--sp-24); }
@media (min-width: 640px) { .hubs-404 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .hubs-404 { grid-template-columns: repeat(3, 1fr); } }
.feature .icon-box { background: var(--c-surface); }
.feature h3 a { text-decoration: none; }
.feature h3 a:hover { color: var(--c-accent); }


/* Telas muito estreitas: palavra longa em título (ex.: "superendividamento") quebra com hífen em vez de alargar a página */
@media (max-width: 479px) { h1, h2, h3 { -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; } }

/* Tablet (640–1023px): grade com número ímpar de cards nunca deixa um card sozinho na última linha.
   Ímpar múltiplo de 3 (3, 9) vira 3 colunas a partir de 768px; os demais ímpares ficam em coluna única. */
@media (min-width: 640px) and (max-width: 1023px) {
  :is(.posts, .features, .cats, .steps, .hubs, .cases, .paths):has(> :last-child:nth-child(odd)) { grid-template-columns: 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  :is(.posts, .features, .cats, .steps, .hubs, .cases, .paths):has(> :last-child:nth-child(odd):nth-child(3n)) { grid-template-columns: repeat(3, 1fr); }
}

/* Texto corrido justificado em todo o site (celular e computador), com hifenização em português.
   Títulos, botões, menus, cards curtos e formulários continuam alinhados à esquerda. */
.section-head:not(.section-head--center) > p, .split > div > p, .split > div > .section-head > p,
.topic p, .topic .checklist li, .topics__note,
.article > p:not(.table-note), .article > ul li, .article > ol li, .article .box li, .article .lead-answer,
.faq__answer p, .faq__a p, .legal .article p, .legal .article li {
  text-align: justify; -webkit-hyphens: auto; hyphens: auto;
}
