/* ── Self-hosted Schibsted Grotesk (eliminates fonts.googleapis.com dependency) ── */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/schibsted-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('fonts/schibsted-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/schibsted-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/schibsted-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ════════════════════════════════════════════════════
   ENGAGE — Design System (v4: sans + degradê tonal)
   Compartilhado por todas as páginas do site

   RITMO DE FUNDO P/ CONVERSÃO (regra 70/30):
   · Base CLARA (paper / paper-2 alternados) = ~70% da página.
   · ESCURO só como pontuação: hero + 1 "momento" + faixa de CTA.
   · NUNCA duas seções escuras adjacentes.
   · CTA sempre no maior contraste da tela.
   · Formulários e blocos de texto longo: sempre em fundo claro.
   ════════════════════════════════════════════════════ */

:root {
  --purple: #6E2CB8;
  --purple-bright: #9B4DE0;
  --lilac: #C0A0FF;

  --deep: #1B0E36;
  --deep-2: #150A2A;
  --cream: #F3EFE7;
  --cream-soft: rgba(243, 239, 231, 0.68);
  --cream-mute: rgba(243, 239, 231, 0.46);

  --paper: #F4F1EA;
  --paper-2: #ECE7DB;
  --paper-card: #FBFAF4;
  --ink: #1B1525;
  --ink-soft: #4A4254;
  --ink-mute: #8A8194;

  --line: rgba(27, 21, 37, 0.16);
  --line-soft: rgba(27, 21, 37, 0.10);
  --line-strong: rgba(27, 21, 37, 0.40);
  --line-dk: rgba(243, 239, 231, 0.16);
  --line-dk-soft: rgba(243, 239, 231, 0.09);

  /* gradientes tonais (mono-roxo) — nunca arco-íris */
  --grad-text: linear-gradient(101deg, #CBB0FF 0%, #9B6BFF 52%, #B98CFF 100%);
  --grad-num: linear-gradient(140deg, #6E2CB8 0%, #B98CFF 100%);
  --grad-deep: linear-gradient(150deg, #20114A 0%, #2E1860 48%, #1A0E36 100%);

  --sans: 'Schibsted Grotesk', system-ui, -apple-system, sans-serif;
  --maxw: 1280px;
  --pad: clamp(22px, 5vw, 88px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
::selection { background: var(--lilac); color: var(--deep); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.clip { -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ─── type helpers ─── */
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-mute); display: inline-flex; align-items: center; gap: 9px; }
.kicker.on-dark { color: var(--cream-mute); }
.kicker .dot { color: var(--purple); }
.kicker.on-dark .dot { color: var(--lilac); }
.idx { font-weight: 700; font-size: 12px; letter-spacing: 0.14em; color: var(--purple); text-transform: uppercase; }

/* ─── buttons ─── */
.btn { display: inline-flex; align-items: center; gap: 11px; font-size: 15px; font-weight: 600; border: none; border-radius: 10px; transition: background .2s, transform .15s, box-shadow .25s, border-color .2s, color .2s; white-space: nowrap; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(4px); }
.btn-cream { background: var(--cream); color: var(--deep); padding: 17px 30px; box-shadow: 0 16px 40px -16px rgba(0,0,0,0.55); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 22px 50px -18px rgba(0,0,0,0.65); }
.btn-purple { background: var(--purple); color: #fff; padding: 16px 28px; box-shadow: 0 14px 34px -14px rgba(110,44,184,0.6); }
.btn-purple:hover { background: var(--purple-bright); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line-strong); padding: 15px 26px; }
.btn-outline:hover { border-color: var(--purple); color: var(--purple); }
.btn-text { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1.5px solid currentColor; padding-bottom: 3px; transition: color .18s; }
.btn-text:hover { color: var(--purple); }
.btn-text.on-dark { color: var(--cream); border-color: var(--cream-mute); }
.btn-text.on-dark:hover { color: var(--lilac); border-color: var(--lilac); }
.btn-text .arr { transition: transform .2s; }
.btn-text:hover .arr { transform: translateX(3px); }

/* ════════ DARK TOP BAND (nav + page hero share one dark field) ════════ */
.top { position: relative; color: var(--cream); overflow: hidden; background: var(--grad-deep); padding-top: 70px; }
.top::before { content: ''; position: absolute; top: -22%; right: -8%; width: 760px; height: 760px; border-radius: 50%; background: radial-gradient(circle, rgba(155,77,224,0.42), transparent 60%); filter: blur(18px); pointer-events: none; }
.top::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0.55; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"); }
.top > * { position: relative; z-index: 1; }

/* ─── nav (fixed, scroll-aware) ─── */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease; }
.nav.scrolled { background: color-mix(in oklab, var(--paper) 86%, transparent); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; padding: 18px var(--pad); display: flex; align-items: baseline; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; line-height: 0; }
.brand .logo { display: block; width: auto; }
.brand .logo-dark { display: none; }
/* nav: white logo on the dark top band, black logo once the bar turns light */
.nav .brand .logo { height: 38px; }
.nav.scrolled .brand .logo-light { display: none; }
.nav.scrolled .brand .logo-dark { display: block; }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: var(--cream-soft); white-space: nowrap; position: relative; padding-bottom: 2px; transition: color .18s; }
.nav-links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--lilac); transition: width .25s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--cream); }
.nav-links a.active::after, .nav-links a:hover::after { width: 100%; }
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav.scrolled .nav-links a:hover, .nav.scrolled .nav-links a.active { color: var(--ink); }
.nav.scrolled .nav-links a::after { background: var(--purple); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-cta { font-size: 14px; font-weight: 600; color: var(--deep); white-space: nowrap; background: var(--cream); padding: 11px 20px; border-radius: 8px; transition: background .2s, transform .15s, color .2s; }
.nav-cta:hover { background: #fff; transform: translateY(-1px); }
.nav.scrolled .nav-cta { background: var(--purple); color: #fff; }
.nav.scrolled .nav-cta:hover { background: var(--purple-bright); }
.burger { display: none; background: none; border: none; color: var(--cream); padding: 10px; margin-right: -10px; line-height: 0; transition: color .25s ease; }
.nav.scrolled .burger { color: var(--ink); }

/* mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 90; background: var(--deep); color: var(--cream); transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column; padding: 24px var(--pad); }
.mobile-menu.open { transform: none; }
.mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.mobile-menu a.mm-link { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; padding: 15px 0; border-bottom: 1px solid var(--line-dk); }
.mobile-menu .btn { margin-top: 28px; justify-content: center; }

/* ════════ PAGE HERO (inner pages) ════════ */
.page-hero { padding: clamp(40px, 6vw, 76px) 0 clamp(56px, 7vw, 92px); }
.page-hero .kicker { margin-bottom: 24px; }
.page-hero h1 { font-weight: 700; font-size: clamp(40px, 5.6vw, 84px); line-height: 1.0; letter-spacing: -0.038em; margin: 0 0 26px; max-width: 16ch; text-wrap: balance; color: var(--cream); }
.page-hero h1 em { font-style: normal; font-weight: 700; background-image: var(--grad-text); }
.page-hero .lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: var(--cream-soft); max-width: 620px; margin: 0; text-wrap: pretty; }
.page-hero .hero-actions { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; margin-top: 38px; }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--cream-mute); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--cream); }
.breadcrumb .sep { opacity: 0.5; }

/* ════════ SECTIONS ════════ */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section.tight { padding: clamp(56px, 7vw, 96px) 0; }
.section.dark { background: var(--deep); color: var(--cream); position: relative; overflow: hidden; }
.section.dark.grad { background: var(--grad-deep); }
.section.paper-2 { background: var(--paper-2); }

.sec-head { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(44px, 6vw, 72px); }
.sec-head.center { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin-inline: auto; justify-items: center; }
.sec-head .left { display: flex; flex-direction: column; gap: 16px; }
.sec-head h2 { font-weight: 700; font-size: clamp(30px, 3.7vw, 52px); line-height: 1.04; letter-spacing: -0.03em; margin: 0; text-wrap: balance; }
.sec-head h2 em { font-style: normal; background-image: var(--grad-num); }
.section.dark .sec-head h2 em { background-image: var(--grad-text); }
.sec-head .lead { font-size: 16.5px; color: var(--ink-soft); max-width: 460px; margin: 0; line-height: 1.6; }
.sec-head.center .lead { max-width: 600px; }
.section.dark .sec-head .lead { color: var(--cream-soft); }

/* ─── evidence panel ─── */
.evidence { background: var(--paper-card); color: var(--ink); border-radius: 14px; display: flex; flex-direction: column; box-shadow: 0 40px 90px -40px rgba(0,0,0,0.7); overflow: hidden; }
.ev-head { display: flex; justify-content: space-between; align-items: baseline; padding: 18px 24px; border-bottom: 1px solid var(--line); font-size: 11.5px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-mute); }
.ev-head .stamp { color: var(--purple); }
.ev-figure { padding: 28px 24px 24px; border-bottom: 1px solid var(--line-soft); }
.ev-figure .big { font-weight: 800; font-size: clamp(54px, 5.8vw, 76px); line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; background-image: var(--grad-num); }
.ev-figure .cap { font-size: 13.5px; color: var(--ink-soft); margin-top: 14px; max-width: 280px; line-height: 1.4; }
.ev-table { padding: 8px 24px 18px; }
.ev-row { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 14px; padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 14.5px; }
.ev-row:last-child { border-bottom: none; }
.ev-row .lab { color: var(--ink-soft); }
.ev-row .val { font-size: 18px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ev-row .val.pos { color: var(--purple); }
.ev-foot { padding: 16px 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-mute); line-height: 1.45; }

/* ─── credential strip ─── */
.cred { border-top: 1px solid var(--line-dk); }
.cred-inner { max-width: var(--maxw); margin: 0 auto; padding: 26px var(--pad) 4px; display: flex; flex-wrap: wrap; gap: 14px 44px; align-items: center; }
.cred .c { font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--cream-soft); display: inline-flex; align-items: center; gap: 11px; }
.cred .c b { font-size: 19px; font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: var(--cream); }
.cred .sep { width: 1px; height: 16px; background: var(--line-dk); }

/* ─── stats (hairline grid) ─── */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.stat { padding: 42px 32px 36px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stat:last-child { border-right: none; padding-right: 0; }
.stat:not(:first-child) { padding-left: 32px; }
.stat .n { font-weight: 800; font-size: clamp(60px, 7.4vw, 100px); line-height: 0.88; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; margin-bottom: 20px; background-image: var(--grad-num); }
.stat .t { font-size: 16.5px; line-height: 1.5; color: var(--ink); margin-bottom: 22px; max-width: 300px; }
.stat .s { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 11.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.stat .s.hot { color: var(--purple); }

/* ─── generic card ─── */
.card { background: var(--paper-card); border: 1px solid var(--line); border-radius: 14px; padding: 32px 30px; display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .25s ease, border-color .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 26px 54px -30px rgba(27,21,37,0.32); border-color: color-mix(in oklab, var(--purple) 26%, transparent); }

/* ════════ FOOTER ════════ */
.footer { background: var(--deep); color: var(--cream-soft); position: relative; overflow: hidden; }
.footer::before { content: ''; position: absolute; bottom: -30%; left: -6%; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(155,77,224,0.22), transparent 62%); filter: blur(20px); pointer-events: none; }
.footer-inner { position: relative; max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--pad) 36px; }
.footer-cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; padding-bottom: 48px; border-bottom: 1px solid var(--line-dk); margin-bottom: 48px; }
.footer-cta h2 { font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.03em; margin: 0; color: var(--cream); max-width: 16ch; text-wrap: balance; }
.footer-cta h2 em { font-style: normal; background-image: var(--grad-text); }
.footer-cta .fc-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer .brand { margin-bottom: 18px; }
.footer .brand .logo, .mm-head .brand .logo { height: 42px; }
.footer .blurb { font-size: 14px; line-height: 1.6; max-width: 290px; color: var(--cream-soft); }
.footer-col h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--cream-mute); margin: 0 0 16px; }
.footer-col a { display: block; font-size: 14px; color: var(--cream-soft); padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 28px; border-top: 1px solid var(--line-dk); font-size: 12px; letter-spacing: 0.04em; color: var(--cream-mute); flex-wrap: wrap; }

/* ════════ reveal ════════ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s cubic-bezier(.2,.7,.15,1), transform .8s cubic-bezier(.2,.7,.15,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; transition: none; } }
/* failsafe: if JS never runs (disabled / failed / slow 4G), content stays visible */
html:not(.js) .reveal { opacity: 1; transform: none; }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1000px) {
  .sec-head { grid-template-columns: 1fr; align-items: start; }
  .sec-head .lead { max-width: 600px; }
  .footer-cta { grid-template-columns: 1fr; align-items: start; gap: 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: block; }
  /* drop costly blur on mobile; use a near-solid bar instead */
  .nav.scrolled { background: color-mix(in oklab, var(--paper) 96%, transparent); backdrop-filter: none; -webkit-backdrop-filter: none; }
  .stats { grid-template-columns: 1fr; border-top: none; }
  .stat { border-right: none; border-top: 2px solid var(--ink); padding: 32px 0 30px !important; }
  .stat .n { font-size: clamp(72px, 25vw, 104px); }
  .cred-inner { gap: 10px 26px; }
  .cred .sep { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 520px) {
  .footer-top { grid-template-columns: 1fr; }
  /* full-width primary actions = bigger tap targets, no awkward wrapping */
  .page-hero .hero-actions .btn, .footer-cta .fc-actions .btn { width: 100%; justify-content: center; }
  .page-hero .hero-actions { gap: 12px; }
}

/* ════════ FAQ (compartilhado · SEO/GEO) ════════ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q { margin: 0; font-size: clamp(17px, 1.7vw, 20px); font-weight: 600; letter-spacing: -0.01em; color: var(--ink); line-height: 1.35; }
.faq summary .pm { width: 26px; height: 26px; flex-shrink: 0; position: relative; }
.faq summary .pm::before, .faq summary .pm::after { content: ''; position: absolute; background: var(--purple); transition: transform .25s ease, opacity .25s ease; }
.faq summary .pm::before { top: 12px; left: 4px; right: 4px; height: 2px; }
.faq summary .pm::after { left: 12px; top: 4px; bottom: 4px; width: 2px; }
.faq details[open] summary .pm::after { transform: rotate(90deg); opacity: 0; }
.faq .ans { padding: 0 0 24px; font-size: 16px; line-height: 1.6; color: var(--ink-soft); max-width: 700px; }
.faq .ans p { margin: 0; }
.faq .ans a { color: var(--purple); font-weight: 600; border-bottom: 1px solid color-mix(in oklab, var(--purple) 35%, transparent); }
.faq .ans a:hover { border-bottom-color: var(--purple); }
