/* ---------- fonts ---------- */
@font-face {
  font-family: "Aktiv Grotesk";
  src: url("/assets/fonts/AktivGroteskTrial-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Aktiv Grotesk";
  src: url("/assets/fonts/AktivGroteskTrial-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Redaction 20";
  src: url("/assets/fonts/redaction20-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Redaction 20";
  src: url("/assets/fonts/redaction20-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Redaction 20";
  src: url("/assets/fonts/redaction20-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  --bg: #01090e;
  --bg-card: #06121d;
  --bg-card-elev: #0a1827;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --fg: #ffffff;
  --fg-muted: #d6d6d6;
  --fg-dim: #8390a4;

  --accent: #1c51fe;
  --accent-2: #2457fe;
  --accent-soft: #99b1ff;
  --accent-glow: rgba(0, 77, 255, 0.25);
  --accent-glow-soft: rgba(151, 176, 255, 0.45);
  --cyan: #41e4d4;

  --italic-grad-from: #1c51fe;
  --italic-grad-to: #e7ecff;

  --card-light-bg: #fafafa;
  --card-light-fg: #0a0a0a;
  --card-light-muted: #5a5a5a;
  --card-light-border: #e6e6e6;
  --check: #1faf6b;
  --cross: #d23a3a;

  --font-sans: "Aktiv Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Redaction 20", "Times New Roman", Georgia, serif;
  --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --radius-sm: 14px;
  --radius: 20px;
  --radius-lg: 32px;

  /* grid (Erick): mobile 90vw / tablet 85vw / notebook 1280 / desktop+ 1440 */
  --container: 90vw;
  --gutter: 20px;            /* 20px até tablet, 30px do notebook pra cima */
  --section-py: clamp(80px, 9vw, 140px);

  /* ============================================================
     TIPOGRAFIA GLOBAL — espelha o "Global Fonts" do Elementor (WP).
     Fonte única da verdade: muda aqui e propaga pro site todo.
     Valores desktop (≥1551px); breakpoints sobrescrevem mais abaixo.
     ============================================================ */
  --fs-display: 65px;  --lh-display: 1em;    /* Primary  — título principal / H1 hero */
  --fs-h2:      42px;  --lh-h2:      1.2em;  /* Secondary— título de seção / H2        */
  --fs-text:    20px;  --lh-text:    1.4em;  /* Text     — corpo padrão                */
  --fs-accent:  20px;  --lh-accent:  1em;    /* Accent   — texto em destaque (bold)    */
  --fs-small:   18px;  --lh-small:   1.4em;  /* efs_small— texto menor                 */
  --fs-lead:    22px;  --lh-lead:    1.2em;  /* subtítulo / lead                       */
  --fs-title-32:32px;  --lh-title-32:1.2em;  /* título 32                              */
  --fs-title-24:24px;  --lh-title-24:1.3em;  /* título 24                              */
  --fs-serif:   48px;  --lh-serif:   1em;    /* serif 48 — Redaction itálico (highlight)*/
  --fs-label:   14px;  --lh-label:   1.4em;  /* label 14 — uppercase, letter-spacing 2px*/
  --fs-caption: 14px;  --lh-caption: 1.4em;  /* caption 14                             */

  /* --- MENU (namespace dedicado, igual ao --vs-* da tabela) ---
     Regra Erick: nenhuma fonte termina em número ímpar (exceto 5). */
  --menu-fs-inline: 14px; --menu-lh-inline: 1;     /* .desktop-links a (≥1201 só)   */
  --menu-fs-big:    44px; --menu-lh-big:    1.16;  /* .big-links a (drop-down)      */
  --menu-fs-footer: 16px; --menu-lh-footer: 1.45;  /* .panel-footer                 */
}

/* ---------- tipografia responsiva (max-width, igual ao Elementor) ----------
   Ordem: do maior max-width pro menor, pra cascata bater como no WP. */
/* ===== BREAKPOINTS GLOBAIS (Erick) =====
   Ultrawide ≥2400 · Desktop 1551–2399 (base) · Laptop 1201–1550
   · Tablet 561–1200 (range único, V+H) · Mobile ≤560 */
@media (max-width: 1550px) {                 /* laptop */
  :root {
    --fs-display: 52px; --lh-display: 1.1em;
    --fs-h2:      36px; --lh-h2:      1em;
    --fs-text:    18px;
    --fs-accent:  18px;
    --fs-small:   16px;
    --fs-lead:    20px;
    --fs-title-32:30px; --lh-title-32:1em;
    --fs-title-24:22px;
    --fs-serif:   42px;
    --fs-label:   12px;
    --fs-caption: 12px;
    --menu-fs-big: 40px;
  }
}
@media (max-width: 1200px) {                 /* tablet (vertical + horizontal) */
  :root {
    --fs-display: 50px;
    --fs-h2:      36px; --lh-h2: 1em;
    --fs-text:    18px;
    --fs-accent:  18px;
    --fs-small:   16px;
    --fs-lead:    20px;            /* era 19 — regra: sem ímpar (exceto 5) */
    --fs-title-32:30px;
    --fs-title-24:22px;
    --fs-serif:   42px;
    --fs-label:   14px;            /* era 13 — regra: sem ímpar */
    --fs-caption: 14px;            /* era 13 — regra: sem ímpar */
    --menu-fs-big: 36px;
  }
}
@media (max-width: 560px) {                  /* mobile */
  :root {
    --fs-display: 36px; --lh-display: 1em;
    --fs-h2:      26px; --lh-h2:      1em;
    --fs-text:    16px; --lh-text:    1.3em;
    --fs-accent:  16px;
    --fs-small:   14px;
    --fs-lead:    18px; --lh-lead:    1.1em;
    --fs-title-32:22px; --lh-title-32:1em;
    --fs-title-24:20px; --lh-title-24:1.2em;
    --fs-serif:   28px; --lh-serif:   1em;
    --fs-label:   10px;
    --fs-caption: 12px; --lh-caption: 1.1em;
    --menu-fs-big:    30px; --menu-lh-big: 1.32;
    --menu-fs-footer: 14px;
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  font-size: var(--fs-text);    /* corpo padrão = preset "Text" do WP (20px) */
  line-height: var(--lh-text);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }

/* italic accent = serif with blue gradient (Figma spec: #1c51fe → #e7ecff) */
i, em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(90deg, var(--italic-grad-from), var(--italic-grad-to));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

/* ---------- layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;          /* Margem 0: conteúdo encosta nas bordas do grid;
                                   o respiro lateral vem do container centralizado (90vw/85vw) */
}

/* grid responsivo — breakpoints globais (Erick): Mobile ≤560 · Tablet 561–1200 · Laptop 1201–1550 · Desktop 1551–2399 · Ultrawide ≥2400 */
@media (min-width: 561px)  { :root { --container: 85vw; } }                    /* tablet (range único V+H) */
@media (min-width: 1201px) { :root { --container: 1140px; --gutter: 30px; } }  /* laptop */
@media (min-width: 1551px) { :root { --container: 1440px; } }                  /* desktop */
@media (min-width: 2400px) { :root { --container: 1600px; } }                  /* ultrawide */

section { padding: var(--section-py) 0; position: relative; }

/* shared headings — Figma: section H2 = 70px Aktiv + 80px Redaction italic */
h2 {
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}
h2 i {
  font-size: 1.14em; /* 80/70 = 1.143 — italic is slightly larger */
  line-height: 1;
}
h3 {
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.2;
}

/* ===== GLASS NAV ===== */
.site-header {
  --glass: rgba(5, 12, 20, 0.74);
  --glass-ring: rgba(255, 255, 255, 0.12);
  --glass-hover-glow: rgba(28, 81, 254, 0.16);
  --nav-hover-scale: 1;
  position: fixed;
  top: 20px;
  left: 50%;
  width: min(1520px, calc(100% - 72px));
  transform-origin: top center;
  transform: translateX(-50%);
  z-index: 100;
  transition:
    width 560ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 360ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact {
  --nav-hover-scale: 1.018;
  /* Pílula compacta = largura final que o menu precisa pra abrir confortável.
     Antes era estreita (~276–493px) e crescia ao abrir; agora nasce nesse
     tamanho pra a pílula e o drop-down terem a mesma largura. */
  width: min(640px, calc(100% - 72px));
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.site-header:not(:has(.glass-nav.is-open)):hover,
.site-header:not(:has(.glass-nav.is-open)):focus-within {
  transform: translateX(-50%) scale(var(--nav-hover-scale));
}

.site-header.is-compact:not(:has(.glass-nav.is-open)):hover,
.site-header.is-compact:not(:has(.glass-nav.is-open)):focus-within {
  filter:
    drop-shadow(0 0 26px var(--glass-hover-glow))
    drop-shadow(0 14px 28px rgba(0, 0, 0, 0.40));
}

.glass-nav {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 15px;
  color: var(--fg);
  background: var(--glass);
  -webkit-backdrop-filter: blur(48px) saturate(1.3);
  backdrop-filter: blur(48px) saturate(1.3);
  box-shadow:
    -12.612px 5.605px 20.319px 0 rgba(203, 219, 255, 0.10) inset,
    0 4px 22px rgba(0, 0, 0, 0.55);
  transition:
    background 380ms ease,
    backdrop-filter 380ms ease,
    box-shadow 380ms ease;
}

.glass-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg,
      rgba(28, 81, 254, 0.10) 0%,
      rgba(6, 18, 29, 0.22) 48%,
      rgba(28, 81, 254, 0.08) 100%);
  transition: background 380ms ease;
}

.nav-top,
.nav-panel {
  position: relative;
  z-index: 1;
}

.site-header.is-compact .glass-nav {
  background: rgba(5, 12, 20, 0.82);
  box-shadow:
    -12.612px 5.605px 20.319px 0 rgba(203, 219, 255, 0.14) inset,
    0 4px 24px rgba(0, 0, 0, 0.58);
}

.site-header.is-compact:not(:has(.glass-nav.is-open)):hover .glass-nav,
.site-header.is-compact:not(:has(.glass-nav.is-open)):focus-within .glass-nav {
  box-shadow:
    -12.612px 5.605px 20.319px 0 rgba(203, 219, 255, 0.45) inset,
    inset 0 0 22px rgba(255, 255, 255, 0.06),
    0 0 44px var(--glass-hover-glow),
    0 8px 24px rgba(0, 0, 0, 0.50);
}

.glass-nav.is-open {
  background: rgba(5, 12, 20, 0.88);
  -webkit-backdrop-filter: blur(56px) saturate(1.35);
  backdrop-filter: blur(56px) saturate(1.35);
  box-shadow:
    -12.612px 5.605px 20.319px 0 rgba(203, 219, 255, 0.16) inset,
    0 7px 30px rgba(0, 0, 0, 0.62);
}

.glass-nav.is-open::before {
  background:
    linear-gradient(115deg,
      rgba(28, 81, 254, 0.12) 0%,
      rgba(6, 18, 29, 0.24) 48%,
      rgba(28, 81, 254, 0.10) 100%);
}

.site-header.is-compact .glass-nav.is-open {
  background: rgba(5, 12, 20, 0.92);
  -webkit-backdrop-filter: blur(64px) saturate(1.3);
  backdrop-filter: blur(64px) saturate(1.3);
  box-shadow:
    -12.612px 5.605px 20.319px 0 rgba(203, 219, 255, 0.18) inset,
    inset 0 0 28px rgba(255, 255, 255, 0.05),
    0 10px 36px rgba(0, 0, 0, 0.66);
}
.site-header.is-compact .glass-nav.is-open::after {
  background: linear-gradient(135deg,
    rgba(28, 81, 254, 0.22) 0%,
    rgba(6, 18, 29, 0.10) 48%,
    rgba(28, 81, 254, 0.20) 100%);
}

.nav-top {
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  cursor: default;
}

.site-header.is-compact .nav-top {
  cursor: pointer;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  font-weight: 700;
}

.logo-svg {
  width: auto;
  height: 18px;          /* logo completo (marca + wordmark) — discreto */
  flex: none;
}

.desktop-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
  max-width: 460px;
  overflow: hidden;
  white-space: nowrap;
  font-size: var(--menu-fs-inline);
  line-height: var(--menu-lh-inline);
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
  transition:
    max-width 440ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease,
    filter 260ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header.is-compact .desktop-links {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(14px);
}

.desktop-links a,
.big-links a,
.panel-footer a {
  position: relative;
}

.panel-footer a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -4px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms ease;
}

.panel-footer a:hover::after,
.panel-footer a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.desktop-links a {
  transition:
    opacity 220ms ease,
    filter 260ms ease;
}

.desktop-links:has(a:hover) a:not(:hover),
.desktop-links:has(a:focus-visible) a:not(:focus-visible) {
  opacity: 0.38;
  filter: blur(3px);
}

.menu-button {
  width: 0;
  height: 32px;
  display: none;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 0;
  padding: 0;
  color: var(--fg);
  background: transparent;
  cursor: pointer;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition:
    width 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease;
}

.site-header.is-compact .menu-button {
  display: inline-flex;
  width: 32px;
  opacity: 1;
  pointer-events: auto;
}

.menu-icon {
  position: relative;
  width: 22px;
  height: 18px;
}

.menu-icon span {
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition:
    top 340ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms ease;
}

.menu-icon span:first-child { top: 4px; }
.menu-icon span:last-child  { top: 12px; }

.glass-nav.is-open .menu-icon span:first-child {
  top: 8px;
  transform: rotate(45deg);
}

.glass-nav.is-open .menu-icon span:last-child {
  top: 8px;
  transform: rotate(-45deg);
}

.nav-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 560ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.glass-nav.is-open .nav-panel {
  grid-template-rows: 1fr;
}

.panel-clip {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

/* .panel-clip::before removido:
   o .glass-nav pai já aplica o backdrop-filter de toda a nav.
   Empilhar uma 2ª camada de blur aqui (com filter:url(#panel-glass) do
   CodePen) criava uma faixa horizontal visível dividindo o painel em duas
   zonas com blur diferente. O panel-clip não precisa de blur próprio. */

.panel-inner {
  min-height: 312px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(360px, 0.62fr);
  gap: 32px;
  padding: 14px 24px 28px;
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 280ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-nav.is-open .panel-inner {
  opacity: 1;
  transform: translateY(0);
}

.site-header.is-compact .panel-inner {
  min-height: 336px;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 14px 32px 28px;
}

.eyebrow {
  margin: 0 0 14px;                /* era 13 — regra: sem ímpar */
  color: var(--fg-dim);
  font-size: var(--fs-label);      /* reaproveita label do site */
  line-height: var(--lh-label);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.big-links {
  display: grid;
  align-content: start;
}

.big-links a {
  width: fit-content;
  font-size: var(--menu-fs-big);
  font-weight: 700;
  line-height: var(--menu-lh-big);
  letter-spacing: 0;
  filter: blur(0);
  transform: translateY(10px);
  opacity: 0;
  transition:
    opacity 360ms ease,
    transform 500ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease,
    color 180ms ease;
}

.big-links a:hover,
.big-links a:focus-visible {
  color: var(--accent-soft);
}

.big-links:has(a:hover) a:not(:hover),
.big-links:has(a:focus-visible) a:not(:focus-visible) {
  opacity: 0.46;
  filter: blur(4px);
}

.glass-nav.is-open .big-links a {
  opacity: 1;
  transform: translateY(0);
}

.glass-nav.is-open .big-links a:nth-child(1) { transition-delay: 80ms; }
.glass-nav.is-open .big-links a:nth-child(2) { transition-delay: 130ms; }
.glass-nav.is-open .big-links a:nth-child(3) { transition-delay: 180ms; }
.glass-nav.is-open .big-links a:nth-child(4) { transition-delay: 230ms; }

/* Pílula compacta agora abre na mesma largura do drop-down (640px),
   então o big-links usa a mesma escala — não precisa de tamanho próprio. */

.panel-footer {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  font-size: var(--menu-fs-footer);
  line-height: var(--menu-lh-footer);
}

.panel-footer p { margin: 0; }

.panel-footer a {
  display: table;
  line-height: var(--menu-lh-footer);
}

.site-header.is-compact .panel-footer {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  /* font-size herdado de .panel-footer (mesma var) */
}

/* hero needs top padding to clear the fixed header */
.hero { padding-top: 96px; }

/* Menu hambúrguer = tablet global (≤1200): nav-top vira pílula full-width clicável,
   desktop-links somem, .menu-button aparece. Mantém JS em sincronia (isMobileMenu). */
@media (max-width: 1200px) {
  .site-header {
    top: 20px;
    width: calc(100% - 36px);
  }
  .site-header.is-compact {
    width: calc(100% - 36px);
  }
  .nav-top {
    padding: 0 16px;
    cursor: pointer;
  }
  .desktop-links { display: none; }
  .menu-button {
    display: inline-flex;
    width: 32px;
    opacity: 1;
    pointer-events: auto;
  }
  .panel-inner {
    min-height: 316px;
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 14px 16px 20px;
  }
  /* tipografia do menu (big-links + panel-footer) já vem das vars --menu-* */
  .panel-footer {
    grid-template-columns: 1.18fr 0.82fr;
    gap: 16px;
  }
  .hero { padding-top: 80px; }
}

/* Mobile (≤560 global): ajustes finos só de logo. font-size do menu vem das vars --menu-*. */
@media (max-width: 560px) {
  .logo-svg { height: 18px; }
}

/* ---------- CTA button ---------- */
/* Botão (WP): gradiente azul animado + borda gradiente (::before) + brilho no hover
   (::after). Estrutura: <a class="cta"><span class="cta-text">…</span></a>. */
.cta {
  position: relative;
  display: inline-block;
  width: fit-content;
  overflow: hidden;
  border-radius: 15px;                    /* WP: 15px */
  padding: 7px;                           /* WP: 7px — respiro entre moldura e botão azul */
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}
.cta .cta-text {
  display: block;
  position: relative;
  z-index: 1;
  padding: 20px 35px;
  border-radius: 10px;
  font-size: 20px;                        /* WP: 20px */
  line-height: 1.1;                       /* WP: altura total 76px */
  font-weight: 700;
  color: #fff;
  text-align: center;
  background: linear-gradient(90deg,
    #2164FE, #143C98, #2164FE, #143C98, #2164FE,
    #143C98, #2164FE, #143C98, #2164FE, #143C98);
  background-size: 800% 800%;
  animation: ctaGradient 12s ease infinite;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, transparent, #ffffff80, transparent) 1;
  transform: scale(1);
  transition: transform .5s ease;
}
.cta:hover .cta-text { transform: scale(1.01); }
/* borda gradiente fina via máscara */
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 16px;
  padding: 2px;
  pointer-events: none;
  background: linear-gradient(-35deg, #42567a, transparent, transparent, #42567a);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
/* brilho que cruza o botão no hover */
.cta::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  opacity: 0;
  background: #ffffff;
  box-shadow: 0 0 30px 20px #ffffffaa;
  transform: skewX(-30deg);
  mix-blend-mode: plus-lighter;
  z-index: 2;
  pointer-events: none;
}
.cta:hover::after { animation: ctaShine 0.8s linear; }

@keyframes ctaGradient {
  0%   { background-position: 0% 51%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 51%; }
}
@keyframes ctaShine {
  0%   { opacity: 0; left: 0%; }
  50%  { opacity: 0.3; }
  100% { opacity: 0; left: 100%; }
}

/* ---------- hero ---------- */
/* Measured from WP: section ~855px tall (incl. nav), content anchored to lower
   third. h1 65px Aktiv / Redaction italic, line-height 0.9, centered, white +
   blue→white gradient italic. lead 20px #d6d6d6 lh 24px. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  min-height: 95vh;        /* Erick: hero = 95vh */
  padding-bottom: 113px;
  text-align: center;
}
/* fundo animado WebGL (Gradient Blinds portado do React Bits) */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.5;
  mix-blend-mode: screen;     /* só os tons claros aparecem sobre o fundo escuro */
  pointer-events: none;
  /* dissolve o canvas na base p/ fundir com o fundo da próxima seção */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 45%, transparent 90%);
}
/* escurece a base (onde fica o texto) p/ legibilidade do título */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(6, 5, 15, 0.88) 0%,
    rgba(6, 5, 15, 0.45) 28%,
    rgba(6, 5, 15, 0) 55%);
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: clamp(40px, 4.8vw, 70px); /* custom: WP hero = 70px desktop */
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: normal;
  max-width: 1240px;
  margin: 0 auto 22px;
}
.hero h1 i { display: inline; }
.hero .lead {
  max-width: 1140px;
  margin: 0 auto 37px;
  color: var(--fg-muted);
  font-size: var(--fs-lead);    /* WP: Texto Maior / lead 22px */
  line-height: var(--lh-lead);
}

/* ---------- logos ---------- */
/* Measured from WP: section padding-top 0 (gap inherited from hero), heading
   30px/700 white centered, 40px gap to strip, logos 42px tall, monochrome
   light-gray silhouettes in an auto-scroll marquee, ~64px bottom padding. */
.logos-section { padding: 0 0 64px; }
.logos-h2 {
  text-align: center;
  font-size: var(--fs-title-32);
  font-weight: 700;
  line-height: var(--lh-title-32);
  margin-bottom: 40px;
}
.logos-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logos-track {
  display: flex; align-items: center; gap: 70px;
  width: max-content;
  animation: scroll 55s linear infinite;
}
.logos-track img {
  height: 42px; width: auto;
  flex: none;
  /* WP uses its own single-colour SVGs at full opacity, no filter */
}
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---------- bordered card pattern (problem section, etc) ---------- */
.card-bordered {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg) 100%);
  overflow: hidden;
}

/* ---------- section: problema / BLOCO 2 ---------- */
/* Specs do Erick: seção (container pai) width 100% + padding 50px; card width 100%
   com grid interno de 1440px, padding 80px topo/baixo, gap coluna 30px / linha 150px.
   Card tem IMG+TEXTO (radar + texto) e o agendamento Cal.com dentro. */
.section-problema {
  width: 100%;
  /* Card full-width DE PROPÓSITO (cobre a viewport toda).
     Padding 50px = respiro lateral entre viewport e .split-card; o .container
     global NÃO se aplica aqui — vide #sobre e .section-cta-final. */
  padding: 50px;
}
.split-card {
  width: 100%;
  padding: 80px 40px;
  border: 2px solid rgba(255, 255, 255, 0.063);
  border-radius: 20px;
  background: radial-gradient(112.99% 100% at 47.76% 0%,
    #01080d 80%, #174461 88%, #359ad8 93%, #bce0f7 100%);
  overflow: hidden;
}
.split-card-inner {
  max-width: 1440px;           /* grid interno 1440px */
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 150px;              /* espaçamento de linha */
}
.split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 30px;           /* espaçamento de coluna */
  align-items: center;
}
.split-illu img {
  width: 100%;        /* preenche os 50% da coluna */
  margin: 0;          /* sem margem; o respiro é o column-gap */
}
.split-text { display: flex; flex-direction: column; gap: 24px; }
.split-text h2 {
  font-size: var(--fs-display);   /* preset Primary */
  line-height: var(--lh-display);
  letter-spacing: normal;
}
.split-text h2 i { display: inline; font-size: 1em; }
.split-text p {
  color: var(--fg-muted);
  font-size: var(--fs-text);      /* preset Text */
  line-height: var(--lh-text);
}

/* CAL — container flex-row com wrap (Elementor): título 1 + título 2 na 1ª linha
   (space-between), embed Cal.com quebra pra 2ª linha. CSS do container = Erick. */
.cal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  column-gap: 30px;
  row-gap: 50px;
  padding: 40px;
  border-radius: 20px;
  background: transparent;
  box-shadow:
    0 110px 120px 0 rgba(139, 174, 255, 0.10) inset,
    0 20px 15px 0 rgba(255, 255, 255, 0.18) inset;
}
.cal .cal-title {
  flex: 0 1 auto;
  font-size: var(--fs-h2); font-weight: 700; line-height: var(--lh-h2);
  max-width: 24%; margin: 0;
}
.cal .cal-title i { display: inline; font-size: 1em; }
.cal .cal-sub {
  flex: 0 1 auto;
  color: var(--fg-muted); font-size: var(--fs-text); line-height: var(--lh-text); margin: 0;
  max-width: 38%;
}
/* Cal.com inline: recorta o rodapé "Cal.com" do iframe (clip-path) */
#cal-inline-embed {
  flex: 1 1 100%;
  /* WP: a borda esquerda do iframe alinha com o título (x=184), não centralizado.
     Antes max-width:1040 + margin auto centralizavam o embed → ficava "fora do grid". */
  max-width: none;
  margin-inline: 0;
  position: relative;
  overflow: hidden;
  height: 510px;
  border-radius: 16px;
}
#cal-inline-embed iframe {
  height: 570px !important;
  min-height: 0 !important;
  clip-path: inset(0 0 70px 0) !important;
}
.cal-cta-mobile { display: none; }   /* só aparece no mobile (≤767) */

/* (overrides ≤767px movidos para o fim do arquivo, depois do bloco ≤980,
   para vencerem na cascata por ordem de origem) */

/* ---------- section split layout (head esq, content dir) ---------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
/* Measured from WP: section H2 = 52px Aktiv / Redaction italic (same size),
   line-height 57.2px, left-aligned. lead 20px #d6d6d6 lh 24px. */
.split-section-head h2 { font-size: var(--fs-display); line-height: var(--lh-display); letter-spacing: normal; max-width: 12ch; margin-bottom: 20px; }
.split-section-head h2 i { display: inline; font-size: 1em; }
.split-section-head p { color: var(--fg-muted); max-width: 38ch; font-size: var(--fs-text); line-height: var(--lh-text); }
.split-section-head.sticky { position: sticky; top: 48px; }

/* ---------- section: processo (lista vertical) ---------- */
/* Measured from WP: 4 pilares empilhados, gap 60px (linha) com DIVISOR
   (1px rgba(255,254,254,.3)) entre cada um e após o último. Títulos 32/700
   brancos, parágrafos 18px cinza. Section ~100px de padding vertical. */
.section-processo { padding: 100px 0; }
.section-processo .step-list {
  display: flex; flex-direction: column;
  gap: 48px;                              /* row-gap uniforme: pilar → divisor → pilar */
}
.section-processo .step-list li:not(.step-divider) {
  display: flex; flex-direction: column;
  gap: 14px;
  position: relative;
}
/* Divisor = elemento PRÓPRIO entre os pilares (igual Elementor). O row-gap o espaça
   igualmente dos dois lados — sem padding/borda puxando, sem sobra no último item. */
.section-processo .step-list .step-divider {
  display: block;
  height: 1px;
  background: rgba(255, 254, 254, 0.3);   /* WP: divisor */
  padding: 0;
}
.section-processo .step-list h3 {
  font-size: var(--fs-title-32);
  font-weight: 700;
  line-height: var(--lh-title-32);
  color: var(--fg);
  margin: 0;
}
.section-processo .step-list p {
  color: var(--fg-muted);
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  max-width: 60ch;
}
.section-processo .split-section { gap: 30px; } /* WP: gap entre colunas 30px */
.section-processo .split-section-head h2 { max-width: 560px; } /* WP: quebra em 2 linhas */
.section-processo .split-section-head p { font-size: var(--fs-lead); line-height: var(--lh-lead); } /* WP: lead 22px */

/* ---------- section: pitch ---------- */
/* WP: coluna do título ~778px (cabe "Deixe a EFS Agents cuidar"), conteúdo o resto, gap 30 */
.section-pitch .split-section { display: flex; justify-content: space-between; align-items: start; gap: 30px; margin-bottom: 80px; }
.section-pitch .split-section-head { flex: 0 0 790px; max-width: 790px; }
.section-pitch .pitch-text { flex: 1 1 auto; min-width: 0; }
.section-pitch .split-section-head h2 { max-width: 800px; } /* WP: quebra em 2 linhas */
.pitch-text p { color: var(--fg-muted); max-width: 46ch; }
.pitch-text p + p { margin-top: 16px; }

.feature-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.feature-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 0;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: #0F0F0F4D;
  padding: 8px;
  min-height: 320px;
  position: relative;
  overflow: visible;
}

.feature-card.reverse .feature-body { order: 2; }
.feature-card.reverse .feature-illu { order: 1; }
.feature-card:not(.reverse) .feature-body { order: 1; }
.feature-card:not(.reverse) .feature-illu { order: 2; }

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-content: center;
  justify-content: center;
  align-items: flex-start;
  height: 100%;
  min-height: 38vh;
  padding: 30px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-dim);
  display: flex; align-items: center; gap: 10px;
}
.kicker-bullet {
  display: inline-block;
  width: 8px; height: 8px;
  border: 1px solid var(--fg-dim);
  border-radius: 999px;
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-serif); /* WP: serif 48px (Redaction itálico) */
  line-height: var(--lh-serif);
  letter-spacing: -0.01em;
  color: var(--fg);
}
.feature-desc { color: var(--fg-muted); max-width: 48ch; line-height: 1.65; }
.feature-quote {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
  display: flex; align-items: center; gap: 10px;
}
.feature-quote .kicker-bullet { border-color: var(--accent-soft); }
.feature-illu {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(9, 10, 15, 0.50);
  min-height: 38vh;
  overflow: hidden;
  position: relative;
  z-index: 0;
}
.feature-illu img {
  width: 100%;
  filter: drop-shadow(0 30px 60px rgba(44, 77, 255, 0.18));
}

/*efeito na borda do card*/
.feature-card {
  --border-gap: 6px;
  --border-size: 1px;
  --border-radius-extra: 12px;
}

.feature-card::after {
  content: "";
  position: absolute;
  inset: calc((var(--border-gap) + var(--border-size)) * -1);
  padding: var(--border-size);
  border-radius: calc(20px + var(--border-gap) + var(--border-radius-extra));
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;

  background: conic-gradient(
    from var(--gradient-angle),
    rgba(53, 154, 216, 0.08) 0deg,
    rgba(53, 154, 216, 0.08) 80deg,
    rgba(53, 154, 216, 0.75) 120deg,
    rgba(53, 154, 216, 0.08) 160deg,
    rgba(53, 154, 216, 0.08) 260deg,
    rgba(53, 154, 216, 0.75) 300deg,
    rgba(53, 154, 216, 0.08) 360deg
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;

  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;

  animation: efs-border-spin 5s linear infinite;
}

.feature-card:hover::after {
  opacity: 1;
}

@property --gradient-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes efs-border-spin {
  to {
    --gradient-angle: 360deg;
  }
}

/* ---------- section: slogan (white card) ---------- */
/* full-width com 50px no container pai (igual BLOCO 2/CTA) */
.section-slogan { width: 100%; padding: 50px; } /* card full-width; .container NÃO se aplica — ver .section-problema */
/* Measured from WP: white card radius 20px, padding 40px. Headline ~80px/700,
   uppercase, near-black, flows continuously: bold sans + italic serif (NO blue
   gradient), wrapping naturally. */
/* bloco de conteúdo (WP): flex row + wrap, justify center, align-items start,
   align-content center, gap 100px (col/linha), padding interno 100px */
.slogan-card {
  /* ===== Tipografia PRÓPRIA da tabela VS (Humanos × Agentes) =====
     Desacoplada de propósito dos tokens globais (--fs-text etc.): a tabela tem
     ritmo próprio e precisa de ajuste fino por device. Afine os valores aqui e
     nos overrides por breakpoint; pronta pra replicar em outras páginas. */
  --vs-fs-head: 20px;   /* "Humanos" / "Agentes de IA" */
  --vs-fs-item: 20px;   /* texto de cada linha */
  --vs-lh-item: 1.4;    /* altura de linha do item */
  --vs-icon: 22px;      /* tamanho do ícone (caixa + imagem) */
  --vs-gap-icon: 12px;  /* espaço ícone ↔ texto */
  --vs-gap-item: 14px;  /* espaço vertical entre linhas */
  --vs-gap-col: 0;      /* colunas encostadas — WP não tem gap entre as tabelas */
  --vs-pad-row: 14px;   /* respiro abaixo de cada linha (até a borda) */
  --vs-line: rgb(174, 176, 180);  /* cor da linha divisória (WP mediu #AEB0B4) */

  background: var(--card-light-bg);
  color: var(--card-light-fg);
  border-radius: 20px;
  padding: 100px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  align-content: center;
  gap: 100px;
  position: relative;
  overflow: hidden;
}
.slogan-headline {
  flex: 0 0 100%;                        /* título ocupa a linha inteira */
  text-align: center;                    /* WP: centralizado */
  /* WP: 5.6vw, fluxo contínuo (preto + itálico inline), quebra natural em 2 linhas */
  font-size: 5.6vw;
  font-weight: 700;
  line-height: 1;                        /* WP: 1em */
  /* WP usa normal, mas nossa Aktiv Grotesk renderiza ~1% mais larga que a
     "Aktiv Grotesk Trial" do WP; -0.015em compensa p/ travar nas 2 linhas */
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0;                             /* espaçamento vem do gap */
}
.black-line {
  display: inline;                       /* flui contínuo com o itálico */
  color: var(--card-light-fg);
}
.italic-line {
  display: inline;
}
.italic-line i {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1em;                        /* anula o h2 i {1.14em} global — WP: itálico = mesmo tamanho */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: #06050f;
  color: #06050f;
  display: inline;
  letter-spacing: 0;
}

/* tabela (WP): 59% da largura, com Humanos | Agentes lado a lado */
.slogan-table {
  /* cresce na proporção 59:33 com o aside: o flex desconta o gap de 100px e
     divide o resto — tabela + gap + aside = 100% exato, sem estourar/quebrar */
  flex: 59 1 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vs-gap-col);
}
/* texto + botão (WP): proporção 33 (cresce junto com a tabela) */
.vs-aside { flex: 33 1 0; }
.vs-col h4, .vs-aside h4 {
  font-size: var(--vs-fs-head);
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--card-light-fg);
}
.vs-col ul { display: flex; flex-direction: column; gap: var(--vs-gap-item); }
.vs-col li {
  color: #2a2a2a;
  font-size: var(--vs-fs-item);
  line-height: var(--vs-lh-item);
  display: flex; align-items: center; gap: var(--vs-gap-icon);
  border-bottom: 1px solid var(--vs-line);
  padding-bottom: var(--vs-pad-row);
}
.vs-col li:last-child { border-bottom: 0; padding-bottom: 0; }
/* Ícones VS = SVGs idênticos ao WP (stroke arredondado), dimensionados pela var --vs-icon */
.vs-col .x, .vs-col .check {
  flex-shrink: 0;
  width: var(--vs-icon); height: var(--vs-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.vs-col .x {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M19.25 2.75L2.75 19.25M2.75 2.75L19.25 19.25' stroke='%23FF0000' stroke-width='2.0625' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.vs-col .check {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M2.0625 11.9429L7.7 17.5804L18.975 5.5' stroke='%233ECF8E' stroke-width='2.06311' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.vs-aside p {
  color: var(--card-light-fg);           /* WP: texto padrão quase-preto */
  font-size: var(--fs-text);             /* WP: 20px */
  line-height: var(--lh-text);           /* WP: 28px (1.4) */
  margin-bottom: 16px;
}
.vs-aside .cta { margin-top: 16px; }

/* ===== SLOGAN — responsivo (fonte única; edite os valores aqui) =====
   Desktop/2K   : tabela | aside lado a lado (flex 59:33), padding/gap 100px.
   Laptop ≤1550 : mesma estrutura, só aperta padding/gap pra 50px.
   Tablet/mobile ≤1200: empilha — título 100%, tabela 100%, aside 100%. */
@media (max-width: 1550px) {
  .slogan-card { padding: 50px; gap: 50px; }   /* laptop: respiro menor, ainda lado a lado */
}
@media (max-width: 1200px) {
  /* tablet (vertical + horizontal) e abaixo: tudo empilhado, cada item 100% */
  .slogan-card { padding: 40px; gap: 40px; }
  .slogan-table { flex-basis: 100%; }
  .vs-aside     { flex-basis: 100%; }
  .slogan-headline { font-size: clamp(32px, 10vw, 44px); letter-spacing: -0.01em; }
}

/* ---------- section: FAQ ---------- */
.section-faq .accordion {
  display: flex; flex-direction: column;
}
.accordion details {
  border-top: 1px solid var(--border);
  padding: 4px 0;
}
.accordion li:last-child details { border-bottom: 1px solid var(--border); }
.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
}
.accordion summary::-webkit-details-marker { display: none; }
/* Measured from WP: number 01 in italic serif accent-soft (~20px); question
   16px/700 white; toggle is a dark translucent rounded box with a light +/-. */
.q-num {
  margin-right: 10px;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;          /* WP .numero: 32px desktop, 20px ≤767 (mais abaixo) */
  color: var(--accent-soft);
}
/* título da pergunta = fonte global "Realce" (Accent) */
.q-text { font-size: var(--fs-accent); line-height: var(--lh-accent); font-weight: 700; }
.q-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  flex: none;
  transition: background .2s;
}
.q-icon::before, .q-icon::after {
  content: "";
  position: absolute;
  background: var(--fg);
  border-radius: 1px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.q-icon::before { width: 14px; height: 2px; }
.q-icon::after  { width: 2px; height: 14px; transition: transform .2s; }
.accordion details[open] .q-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.accordion details p {
  padding: 20px 0;
  color: var(--fg-muted);
  font-size: var(--fs-small);   /* WP: resposta 18px */
  line-height: var(--lh-small);
  max-width: 60ch;
}
/* WP: title wraps to 2 lines "Dúvidas antes de / colocar IA na operação." */
.section-faq .split-section { gap: 30px; } /* WP: gap 20-30; coluna ~705 cabe a 2ª linha */
.section-faq .split-section-head h2 { max-width: 710px; } /* WP: quebra em 2 linhas */

/* ---------- section: CTA final ----------
   Reaproveita 100% a estrutura do BLOCO 2: .section-problema > .card-bordered.split-card
   > .split-card-inner > (.cta-final-top) + (.cal). Aqui ficam só os textos próprios. */
/* WP: flex row, space-between, align-items start, gap 30 — H2 49% no canto
   esquerdo e lead 48% encostado no canto direito */
/* gap vertical entre a headline e o bloco Cal.com — só no CTA final */
.section-cta-final .split-card-inner { row-gap: 70px; }
.cta-final-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
}
.cta-final-top h2 {
  flex: 0 1 49%;
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  font-weight: 700;
  letter-spacing: normal;
  margin: 0;
}
.cta-final-top h2 i { display: inline; font-size: 1em; }
.cta-final-lead {
  flex: 0 1 48%;
  font-size: var(--fs-small);
  line-height: var(--lh-small);
  color: var(--fg-muted);
  margin: 0;
}

/* ---------- footer ---------- */
footer {
  position: relative;
  padding-top: 100px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 80px;
  position: relative;
  z-index: 2;
}
.brand-big {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.brand-big i { color: var(--accent-soft); display: inline; }
.tagline {
  margin-top: 16px;
  color: var(--fg-dim);
  font-size: var(--fs-label);       /* preset label 14 */
  line-height: var(--lh-label);
  text-transform: uppercase;
  letter-spacing: 2px;              /* WP: letter-spacing 2px */
  max-width: 28ch;
}
.footer-col h3 {
  font-size: var(--fs-title-24);
  line-height: var(--lh-title-24);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 22px;
}
.footer-col a {
  display: block;
  padding: 8px 0;
  color: var(--fg-muted);
  font-size: 15px;
  transition: color .15s;
}
.footer-col a:hover { color: var(--fg); }

.footer-deco {
  position: absolute;
  left: 50%; bottom: 60px;
  transform: translateX(-50%);
  font-size: clamp(80px, 18vw, 240px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.07);
  text-stroke: 1px rgba(255, 255, 255, 0.07);
  pointer-events: none;
  white-space: nowrap;
  z-index: 1;
}
.footer-deco i {
  /* neutralise the global gradient fill so only a faint outline shows (WP). */
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: transparent;
  color: transparent;
  -webkit-text-stroke: 1px rgba(151, 176, 255, 0.14);
  text-stroke: 1px rgba(151, 176, 255, 0.14);
}
.copy {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--fg-dim);
  font-size: 13px;
  position: relative;
  z-index: 2;
}

/* ---------- responsive — tablet 561–1200 e abaixo (breakpoints globais Erick) ---------- */
@media (max-width: 1200px) {
  .section-problema { padding: 20px; }
  .split-card { padding: 40px 20px; }
  .split-card-inner { row-gap: 80px; }
  .split-row { grid-template-columns: 1fr; row-gap: 32px; }
  /* empilha vertical: desliga o wrap/space-between do layout de linha do desktop,
     senão o embed (flex:1 1 100%) quebra em coluna e joga o subtítulo pro fim. */
  .cal { flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; row-gap: 24px; }
  .cal .cal-title, .cal .cal-sub { max-width: none; flex-basis: auto; }
  .cal #cal-inline-embed { flex: 0 0 auto; width: 100%; }
  .split-section { grid-template-columns: 1fr; gap: 32px; }
  /* destrava colunas fixas (pitch=790px) que não colapsavam no mobile.
     pitch é FLEX (não grid) → empilha via flex-direction + libera o flex-basis 790px. */
  .section-pitch .split-section { flex-direction: column; gap: 32px; }
  .section-pitch .split-section-head { flex-basis: auto; max-width: none; }
  .section-pitch .pitch-text { flex-basis: auto; }
  .split-section-head h2 { max-width: none; }      /* deixa o título usar a largura toda */
  .split-section-head.sticky { position: static; }

  .feature-card,
  .feature-card.reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; padding: 28px 20px; min-height: 0; }
  .feature-card.reverse > * { direction: ltr; }
  .feature-card .feature-body,
  .feature-card .feature-illu,
  .feature-card.reverse .feature-body,
  .feature-card.reverse .feature-illu { order: initial; }
  .feature-illu { min-height: 160px; }
  .feature-illu img { max-width: 300px; }

  /* (slogan responsivo centralizado no bloco "SLOGAN — responsivo" acima) */

  /* CTA final: empilha título e texto */
  .cta-final-top { flex-direction: column; gap: 18px; }
  .cta-final-top h2, .cta-final-lead { flex-basis: auto; max-width: none; }

  .cta-card { grid-template-columns: 1fr; text-align: center; }
  .cta-card .cta { justify-self: center; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .copy { flex-direction: column; align-items: flex-start; }

  /* Processo: compacta o row-gap no mobile (divisor é elemento próprio, espaçado por ele). */
  .section-processo .step-list { row-gap: 30px; }

  /* FAQ: número, texto e ícone CENTRALIZADOS na vertical (alinhados ao ícone quadrado),
     e padding vertical enxuto pra ficar compacto no mobile. */
  .accordion summary { align-items: center; gap: 10px; padding: 16px 0; }
  .accordion .q-num { margin-right: 0; }
}

@media (max-width: 560px) {
  /* CAL mobile (igual ao DevTools do Erick): sem padding interno, sem raio, sem glow.
     O .split-card pai já dá a margem; o box-shadow inset deixava o embed "apagado".
     O embed encosta nas bordas internas do card e o Cal.com fica legível. */
  .cal {
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  /* subtítulo: WP mobile = 16px (estava 20px, grande demais). Vale p/ bloco 2 e CTA final. */
  .cal .cal-sub { font-size: 16px; line-height: 1.35; }
  /* número do FAQ menor no mobile */
  .q-num { font-size: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .section-slogan { padding: 20px; }          /* menos respiro externo → card mais largo */
  .slogan-card { padding: 24px; gap: 28px; }
  /* WP mantém Humanos | Agentes em 2 colunas no mobile — só reafina os tokens da tabela.
     Ícone menor, fonte/linha mais compactas, gaps menores. */
  .slogan-card {
    --vs-fs-head: 14px;
    --vs-fs-item: 14px;
    --vs-lh-item: 1.2;
    --vs-icon: 18px;
    --vs-gap-icon: 8px;
    --vs-gap-item: 10px;
    --vs-gap-col: 0;
    --vs-pad-row: 10px;
  }
  .footer-grid { grid-template-columns: 1fr; }
  /* FAQ mobile: mantém número | texto | ícone na MESMA linha (grid 3 col herdado),
     ícone alinhado ao topo junto do número quando a pergunta quebra em 2 linhas.
     Gap menor e número sem margem extra. */
  .accordion summary { gap: 10px; align-items: center; padding: 14px 0; }
  .accordion .q-num { margin-right: 0; }
  .accordion details p { padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track { animation: none; }
  * { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== Grid overlay (dev) — liga/desliga com a tecla G ou #grid =====
   Espelha o MESMO container/gutter do conteúdo (.container), então acompanha
   todos os breakpoints automaticamente: 90vw → 85vw → 1280 → 1440, gutter 20→30. */
.grid-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  display: none;
}
.grid-overlay.is-on { display: block; }
.grid-overlay__inner {
  width: 100%;
  max-width: var(--container);
  height: 100%;
  margin-inline: auto;          /* sem margem/padding lateral: colunas ponta a ponta */
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);    /* 30 = só o espaçamento entre colunas (Elementor) */
}
.grid-overlay__inner > i {
  height: 100%;
  background: rgba(255, 45, 85, 0.10);
  border-inline: 1px solid rgba(255, 45, 85, 0.22);
}
.grid-overlay__edge {
  position: fixed;
  top: 0; bottom: 0;
  width: 1px;
  background: rgba(255, 45, 85, 0.5);
}
.grid-overlay__badge {
  position: fixed;
  left: 12px; bottom: 12px;
  font: 600 12px/1 var(--font-mono, monospace);
  color: #fff;
  background: rgba(255, 45, 85, 0.85);
  padding: 7px 10px;
  border-radius: 6px;
  letter-spacing: 0.02em;
  pointer-events: none;
}
