/* ============================================================
   GudClass Brasil — marketing site (site/ in gud-ch/gudclass-br)
   Editorial: oversized display serif × Inter × mono labels.
   Own stylesheet, no shared package with the Swiss site.
   ============================================================ */

:root {
  --bg: oklch(97.5% 0.008 75);
  --bg-2: oklch(95% 0.010 75);
  --bg-raised: oklch(99.2% 0.004 75);
  --line: oklch(89% 0.010 75);
  --line-strong: oklch(80% 0.012 75);
  --ink: oklch(17% 0.015 260);
  --ink-2: oklch(36% 0.012 260);
  --ink-3: oklch(54% 0.010 260);
  --ink-4: oklch(70% 0.008 260);

  --accent: oklch(52% 0.18 258);
  --accent-2: oklch(63% 0.16 258);
  --accent-bg: oklch(94.5% 0.035 258);
  --accent-line: oklch(84% 0.08 258);
  --green: oklch(50% 0.14 150);
  --green-bg: oklch(95% 0.04 150);
  --amber: oklch(60% 0.15 65);
  --red: oklch(58% 0.19 25);

  --dark: oklch(16% 0.018 260);
  --dark-2: oklch(21% 0.02 260);
  --dark-line: oklch(30% 0.02 260);
  --dark-ink: oklch(96% 0.006 75);
  --dark-ink-2: oklch(76% 0.01 75);
  --dark-ink-3: oklch(60% 0.01 75);
  --dark-accent: oklch(78% 0.13 258);

  --f-display: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "SF Mono", ui-monospace, monospace;

  --e-out: cubic-bezier(0.2, 0.7, 0.1, 1);
  --maxw: 1240px;
  --r: 18px;

  --sh-1: 0 1px 2px oklch(18% 0.015 260 / 0.05), 0 0 0 1px oklch(18% 0.015 260 / 0.04);
  --sh-2: 0 6px 24px oklch(18% 0.015 260 / 0.08), 0 0 0 1px oklch(18% 0.015 260 / 0.05);
  --sh-3: 0 30px 70px -20px oklch(18% 0.015 260 / 0.25), 0 0 0 1px oklch(18% 0.015 260 / 0.06);
  --sh-phone: 0 40px 80px -24px oklch(18% 0.015 260 / 0.45), 0 0 0 1px oklch(18% 0.015 260 / 0.08);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--f-sans);
  background: var(--bg);
  color: var(--ink);
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}
a { color: inherit; text-decoration: none; }
button { background: transparent; border: 0; padding: 0; cursor: pointer; color: inherit; font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent-bg); color: var(--accent); }
h1, h2, h3, h4 { text-wrap: balance; }
p { text-wrap: pretty; }

/* ====== Bilingual: only the active language renders ====== */
[data-lang="pt"] [data-en], [data-lang="en"] [data-pt] { display: none !important; }

/* ====== Primitives ====== */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
@media (max-width: 700px) { .wrap { padding: 0 18px; } }

.label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.label .n { color: var(--accent); margin-right: 10px; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px; font-weight: 500; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform 200ms var(--e-out), background 200ms, border-color 200ms, box-shadow 200ms;
  white-space: nowrap;
}
.btn .arrow { width: 15px; height: 15px; transition: transform 200ms var(--e-out); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--bg); box-shadow: 0 10px 24px -10px oklch(18% 0.015 260 / 0.6); }
.btn-primary:hover { transform: translateY(-1px); background: oklch(24% 0.02 260); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-light { background: var(--dark-ink); color: var(--dark); }
.btn-light:hover { transform: translateY(-1px); }
.btn-ghost-light { color: var(--dark-ink); border-color: var(--dark-line); }
.btn-ghost-light:hover { border-color: var(--dark-ink-2); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ====== Top bar ====== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in oklch, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 32px;
  height: 64px;
  display: flex; align-items: center; gap: 26px;
}
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.brand-mark-img { width: 26px; height: 26px; }
.brand-wordmark { height: 20px; width: auto; }
.brand-country {
  margin-left: 6px;
  font: 500 10px/1 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-line);
  background: var(--accent-bg);
  padding: 5px 7px;
  border-radius: 999px;
}
.topbar nav { display: flex; gap: 22px; }
.topbar nav a { font-size: 13.5px; font-weight: 450; color: var(--ink-2); transition: color 150ms; }
.topbar nav a:hover { color: var(--ink); }
.topbar .grow { flex: 1; }
.lang-switcher { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: var(--bg-2); }
.lang-switcher button {
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em;
  padding: 7px 9px; border-radius: 999px; color: var(--ink-3);
  transition: color 150ms, background 150ms;
}
.lang-switcher button:hover { color: var(--ink); }
.lang-switcher button.active { background: var(--bg-raised); color: var(--ink); box-shadow: var(--sh-1); }
.login-link { font-size: 13.5px; font-weight: 500; color: var(--ink-2); }
.login-link:hover { color: var(--ink); }
.topbar .cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--bg);
  font-size: 13.5px; font-weight: 500; white-space: nowrap;
  transition: transform 200ms var(--e-out);
}
.topbar .cta:hover { transform: translateY(-1px); }
.topbar .cta .arrow { width: 14px; height: 14px; }

/* Country switcher (Brasil / Suíça) */
.country-switcher { position: relative; display: inline-flex; }
.country-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-strong);
  font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em;
  color: var(--ink-2);
}
.country-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.country-pill .caret { font-size: 9px; color: var(--ink-4); }
.country-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 190px; padding: 6px;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--sh-2);
}
.country-menu a {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 9px 11px; border-radius: 9px; font-size: 13.5px; color: var(--ink-2);
}
.country-menu a:hover { background: var(--bg-2); color: var(--ink); }
.country-menu a.active { color: var(--ink); }
.country-menu a.active .country-name::after { content: ' ·'; color: var(--green); }
.country-menu .country-langs { font: 500 10px/1 var(--f-mono); letter-spacing: 0.08em; color: var(--ink-4); }

/* Hint bar for Swiss-looking browsers */
.country-hint { background: var(--ink); color: var(--bg); font-size: 13px; }
.country-hint .inner { max-width: var(--maxw); margin: 0 auto; padding: 9px 32px; display: flex; align-items: center; gap: 16px; }
.country-hint-link { color: var(--bg); font-weight: 500; border-bottom: 1px solid oklch(100% 0 0 / 0.3); }
.country-hint-close { margin-left: auto; font-size: 18px; line-height: 1; opacity: 0.7; }
.country-hint-close:hover { opacity: 1; }

@media (max-width: 1200px) { .topbar nav { display: none; } }
@media (max-width: 760px) {
  .topbar .inner { padding: 0 18px; gap: 14px; }
  .topbar .lang-switcher, .topbar .login-link { display: none; }
  .brand-country { display: none; }
  .topbar .cta { padding: 9px 13px; font-size: 13px; }
}

/* ====== Sections ====== */
section { padding: clamp(84px, 10vw, 150px) 0; }
section + section { padding-top: 0; }
.section-head {
  display: grid; grid-template-columns: 200px 1fr; gap: 24px;
  margin-bottom: clamp(44px, 5vw, 72px);
}
.section-head .label { padding-top: 10px; }
.section-head h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(38px, 5.2vw, 68px); line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; max-width: 16ch;
}
.section-head h2 em { font-style: italic; color: var(--accent); }
.section-head .lede {
  margin: 22px 0 0; max-width: 56ch;
  font-size: 17.5px; line-height: 1.55; color: var(--ink-2);
}
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; gap: 14px; } }
/* A section after the hero's stats strip or after a coloured band gets its
   own top padding: the previous block's padding lies inside its background. */
.hero + section, .band-dark + section, .final-cta + section { padding-top: clamp(84px, 10vw, 150px); }

/* ====== Hero ====== */
.hero { position: relative; padding: clamp(56px, 8vw, 110px) 0 0; overflow: visible; }
.hero-copy { max-width: 900px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero-eyebrow .label { color: var(--ink-2); }
.hero-eyebrow::before { content: ''; width: 22px; height: 1px; background: var(--accent); }
.hero h1 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(52px, 8.2vw, 112px); line-height: 0.94; letter-spacing: -0.025em;
  margin: 0 0 30px;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero h1 .w { display: inline-block; opacity: 0; transform: translateY(14px); animation: wordIn 800ms var(--e-out) forwards; }
.hero h1 .w:nth-child(1) { animation-delay: 60ms; } .hero h1 .w:nth-child(2) { animation-delay: 120ms; }
.hero h1 .w:nth-child(3) { animation-delay: 180ms; } .hero h1 .w:nth-child(4) { animation-delay: 240ms; }
.hero h1 .w:nth-child(5) { animation-delay: 300ms; } .hero h1 .w:nth-child(6) { animation-delay: 360ms; }
.hero h1 .w:nth-child(7) { animation-delay: 420ms; } .hero h1 .w:nth-child(8) { animation-delay: 480ms; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero-lede {
  font-size: clamp(17px, 1.6vw, 21px); line-height: 1.5; color: var(--ink-2);
  max-width: 58ch; margin: 0 0 32px;
}
.hero-lede strong { color: var(--ink); font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.hero-note { font-size: 13px; color: var(--ink-3); }

/* Stage: desktop frame with a phone overlapping its lower-left corner.
   Space for the phone is reserved by the desktop's left margin and the
   stage's bottom padding, so nothing ever overlaps the next section. */
.hero-stage { position: relative; margin-top: clamp(48px, 6vw, 88px); padding-bottom: 40px; }
.stage-glow {
  position: absolute; inset: -10% 0 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 70% 30%, oklch(90% 0.07 258 / 0.7), transparent 70%),
    radial-gradient(40% 40% at 15% 85%, oklch(93% 0.05 150 / 0.6), transparent 70%);
  filter: blur(10px);
}


/* Device frames */
.device-desktop {
  position: relative; width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  box-shadow: var(--sh-3);
}
.device-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--bg-raised) 94%, var(--ink) 6%);
}
.device-dots { display: flex; gap: 6px; }
.device-dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.device-url { flex: 1; min-width: 0; text-align: center; font: 400 11px/1 var(--f-mono); color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.device-desktop .device-screen { line-height: 0; }
.device-phone {
  position: relative; width: 300px; max-width: 100%;
  background: var(--ink);
  border-radius: 38px; padding: 9px;
  box-shadow: var(--sh-phone);
}
.device-phone .device-screen { position: relative; border-radius: 30px; overflow: hidden; line-height: 0; background: #fff; }
.device-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 64px; height: 18px; border-radius: 999px; background: var(--ink);
}
.shot { display: block; width: 100%; height: auto; }

/* Hero desktop: after .device-desktop (width: 100%) so width: auto wins and the
   left margin reserved for the phone does not push it past the viewport. */
.hero-stage .device-desktop.stage-desktop { position: relative; z-index: 1; width: auto; margin-left: clamp(96px, 13vw, 190px); }
@media (max-width: 760px) { .hero-stage .device-desktop.stage-desktop { margin-left: 0; } }

/* Hero phone: must come after .device-phone (which sets position: relative)
   and carry higher specificity, otherwise it drops into the flow below the
   desktop frame. */
.hero-stage .device-phone.stage-phone {
  position: absolute; z-index: 2;
  left: clamp(0px, 2vw, 24px); bottom: 0;
  width: clamp(172px, 19vw, 250px);
}
@media (max-width: 760px) {
  .hero-stage { padding-bottom: 0; }
  .hero-stage .device-phone.stage-phone { display: none; }
}

/* ====== Stats strip ====== */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(56px, 7vw, 96px); }
.stats .inner { max-width: var(--maxw); margin: 0 auto; padding: 0 32px; display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 28px 28px 0; border-left: 1px solid var(--line); padding-left: 28px; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 40px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 8px; }
.stat b em { font-style: italic; color: var(--accent); }
.stat span { font-size: 13.5px; color: var(--ink-3); }
@media (max-width: 860px) { .stats .inner { grid-template-columns: repeat(2, 1fr); } .stat:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 700px) { .stats .inner { padding: 0 18px; } .stat b { font-size: 32px; } }

/* ====== Scope chain (city → school → class → child) ====== */
.scope-chain { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 56px; }
.scope {
  position: relative;
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r);
  padding: 22px 22px 20px; box-shadow: var(--sh-1);
}
.scope .label { display: block; margin-bottom: 14px; }
.scope h3 { margin: 0 0 14px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.scope .kpi { display: flex; align-items: baseline; gap: 8px; }
.scope .kpi b { font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: -0.02em; }
.scope .kpi span { font-size: 12.5px; color: var(--ink-3); }
.scope .bar { height: 4px; border-radius: 2px; background: var(--bg-2); margin-top: 14px; overflow: hidden; }
.scope .bar i { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.scope .bar i.warn { background: var(--amber); }
.scope + .scope::before {
  content: ''; position: absolute; left: -14px; top: 50%; width: 14px; height: 1px; background: var(--line-strong);
}
.scope.is-child { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.scope.is-child .label, .scope.is-child .kpi span { color: var(--dark-ink-3); }
.scope.is-child .bar { background: var(--dark-2); }
.scope.is-child .bar i { background: var(--dark-accent); }
@media (max-width: 960px) { .scope-chain { grid-template-columns: repeat(2, 1fr); } .scope + .scope::before { display: none; } }
@media (max-width: 520px) { .scope-chain { grid-template-columns: 1fr; } }

.roles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 40px; border-top: 1px solid var(--line); }
.role { padding: 24px 0 26px; border-bottom: 1px solid var(--line); }
.role-num { display: block; font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px; }
.role h3 { font-size: 17px; letter-spacing: -0.01em; margin: 0 0 8px; font-weight: 600; }
.role p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.roles-note { margin: 26px 0 0; font-size: 14px; color: var(--ink-2); max-width: 64ch; }
.roles-note strong { color: var(--ink); font-weight: 600; }
@media (max-width: 900px) { .roles { grid-template-columns: repeat(2, 1fr); gap: 0 28px; } }
@media (max-width: 560px) { .roles { grid-template-columns: 1fr; } }

/* ====== Feature stories ====== */
.stories { display: flex; flex-direction: column; gap: clamp(72px, 9vw, 130px); }
.story {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 5vw, 72px); align-items: center;
}
.story.is-reverse .story-text { order: 2; }
.story.is-reverse .story-visual { order: 1; }
.story-text .label { display: block; margin-bottom: 18px; }
.story-text h3 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(34px, 3.8vw, 50px); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 18px;
}
.story-text h3 em { font-style: italic; color: var(--accent); }
.story-text > p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 24px; }
.story-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.story-list li { position: relative; padding-left: 30px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.story-list li strong { color: var(--ink); font-weight: 600; }
.story-list li::before {
  content: ''; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-bg); border: 1px solid var(--accent-line);
}
.story-list li::after {
  content: ''; position: absolute; left: 6px; top: 7px; width: 6px; height: 3px;
  border-left: 1.6px solid var(--accent); border-bottom: 1.6px solid var(--accent); transform: rotate(-45deg);
}
.story-visual { position: relative; min-width: 0; }
.story-visual .device-phone { margin: 0 auto; }
.story-visual.is-phone { display: flex; justify-content: center; align-items: center; padding: 40px 0; }
.story-visual.is-phone::before {
  content: ''; position: absolute; inset: 0 10% ; border-radius: 40px; z-index: 0;
  background: radial-gradient(60% 60% at 50% 50%, var(--accent-bg), transparent 75%);
}
.story-visual.is-phone .device-phone { position: relative; z-index: 1; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 28px; }
  .story.is-reverse .story-text { order: 1; }
  .story.is-reverse .story-visual { order: 2; }
  .story-visual.is-phone { padding: 24px 0; }
}

/* ====== Print: A4 sheet mock ====== */
.print-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(36px, 5vw, 80px); align-items: center; }
.print-text h3 { font-family: var(--f-display); font-weight: 400; font-size: clamp(34px, 3.8vw, 50px); line-height: 1.0; letter-spacing: -0.02em; margin: 0 0 18px; }
.print-text h3 em { font-style: italic; color: var(--accent); }
.print-text p { font-size: 16.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 22px; }
.sheet-wrap { position: relative; padding: 24px 0; display: flex; justify-content: center; }
.sheet-wrap::before {
  content: ''; position: absolute; inset: 0; border-radius: 40px;
  background: radial-gradient(55% 55% at 50% 50%, oklch(92% 0.05 258 / 0.8), transparent 75%);
}
.sheet {
  position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.3;
  background: #fff; color: #111;
  box-shadow: 0 30px 60px -20px oklch(18% 0.015 260 / 0.35), 0 0 0 1px oklch(18% 0.015 260 / 0.08);
  padding: 26px 26px 22px;
  transform: rotate(-1.5deg);
  font-family: var(--f-sans);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; border-bottom: 1.5px solid #111; padding-bottom: 10px; margin-bottom: 12px; }
.sheet-head b { font-size: 12px; font-weight: 700; letter-spacing: 0.02em; display: block; }
.sheet-head small { font-size: 9.5px; color: #555; display: block; margin-top: 2px; }
.sheet-head .stamp { font: 500 8.5px/1 var(--f-mono); letter-spacing: 0.1em; color: #555; border: 1px solid #ccc; padding: 4px 6px; white-space: nowrap; flex: none; margin-left: 10px; }
.sheet-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font-size: 9px; color: #444; margin-bottom: 12px; }
.sheet-meta span b { display: block; font: 500 7.5px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #888; }
.sheet-table { width: 100%; border-collapse: collapse; font-size: 8.5px; }
.sheet-table th, .sheet-table td { border: 1px solid #d4d4d4; padding: 3px 4px; text-align: center; }
.sheet-table th { font: 500 7px/1.3 var(--f-mono); letter-spacing: 0.06em; color: #666; background: #f6f6f6; }
.sheet-table td:first-child { text-align: left; white-space: nowrap; font-weight: 500; }
.sheet-table td.f { color: var(--red); font-weight: 700; }
.sheet-table td.j { color: var(--amber); font-weight: 700; }
.sheet-sum { margin-top: 12px; font-size: 8.5px; color: #333; line-height: 1.45; }
.sheet-sum b { font: 500 7.5px/1.4 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: #888; display: block; margin-bottom: 2px; }
.sheet-foot { position: absolute; left: 26px; right: 26px; bottom: 18px; display: flex; justify-content: space-between; align-items: flex-end; font-size: 8.5px; color: #555; }
.sheet-foot .sig { width: 46%; border-top: 1px solid #111; padding-top: 4px; }
.sheet-foot .page { font: 400 8px/1 var(--f-mono); }
@media (max-width: 900px) { .print-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .sheet { padding: 20px 18px 18px; } .sheet-head b { font-size: 11px; } .sheet-meta { grid-template-columns: 1fr 1fr; font-size: 8.5px; } .sheet-foot { left: 18px; right: 18px; } }

/* ====== Full-width showcase (Educação Infantil) ====== */
.showcase { margin-top: 8px; }
.showcase .device-desktop { max-width: 1100px; margin: 0 auto; }
.showcase-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 44px; max-width: 1100px; margin-left: auto; margin-right: auto; }
.showcase-points h4 { margin: 0 0 8px; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.showcase-points p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.showcase-points .label { display: block; margin-bottom: 10px; }
@media (max-width: 800px) { .showcase-points { grid-template-columns: 1fr; gap: 22px; } }

/* ====== Principle cards (AI) ====== */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px 26px 30px; box-shadow: var(--sh-1);
}
.card .label { display: block; margin-bottom: 18px; }
.card h3 { font-family: var(--f-display); font-weight: 400; font-size: 30px; line-height: 1.02; letter-spacing: -0.02em; margin: 0 0 14px; }
.card h3 em { font-style: italic; color: var(--accent); }
.card p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }
.pullquote {
  margin: 56px auto 0; max-width: 820px; text-align: center;
  font-family: var(--f-display); font-size: clamp(26px, 3vw, 40px); line-height: 1.15; letter-spacing: -0.015em;
}
.pullquote em { font-style: italic; color: var(--accent); }
.pullquote cite { display: block; margin-top: 14px; font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); font-style: normal; }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr; } }

/* ====== Dark band (data / LGPD) ====== */
.band-dark { background: var(--dark); color: var(--dark-ink); padding: clamp(84px, 10vw, 150px) 0 !important; }
.band-dark .section-head h2 { color: var(--dark-ink); }
.band-dark .section-head h2 em { color: var(--dark-accent); }
.band-dark .label { color: var(--dark-ink-3); }
.band-dark .label .n { color: var(--dark-accent); }
.band-dark .lede { color: var(--dark-ink-2); }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--dark-line); }
.trust-item { padding: 30px 28px 32px 0; border-bottom: 1px solid var(--dark-line); }
.trust-item + .trust-item { border-left: 1px solid var(--dark-line); padding-left: 28px; }
.trust-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); display: grid; place-items: center; color: var(--dark-accent); margin-bottom: 20px; }
.trust-item h3 { margin: 0 0 10px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.trust-item p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--dark-ink-2); }
.trust-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 32px; padding-top: 26px; font-size: 13.5px; color: var(--dark-ink-3); }
.trust-foot a { color: var(--dark-ink); border-bottom: 1px solid var(--dark-line); }
.trust-foot a:hover { border-bottom-color: var(--dark-ink); }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } .trust-item:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .trust { grid-template-columns: 1fr; } .trust-item + .trust-item { border-left: 0; padding-left: 0; } }

/* ====== How it works ====== */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg-raised); box-shadow: var(--sh-1); }
.step-num { font-family: var(--f-display); font-size: 44px; line-height: 1; color: var(--accent); letter-spacing: -0.02em; margin-bottom: 16px; }
.step h3 { margin: 0 0 10px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.step p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.contract-note {
  margin-top: 28px; padding: 26px 28px;
  border: 1px solid var(--line); border-radius: var(--r);
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px;
  background: var(--accent-bg); border-color: var(--accent-line);
}
.contract-note h4 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em; }
.contract-note p { margin: 0; font-size: 14.5px; color: var(--ink-2); max-width: 70ch; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .contract-note { grid-template-columns: 1fr; } }

/* ====== FAQ ====== */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; text-align: left; font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
}
.faq-q .plus { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--ink-3); flex: none; transition: transform 300ms var(--e-out), background 200ms; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 400ms var(--e-out); }
.faq-item.open .faq-a { max-height: 1200px; }
.faq-a-inner { padding: 0 0 24px; font-size: 15px; line-height: 1.6; color: var(--ink-2); max-width: 68ch; }

/* ====== Final CTA ====== */
.final-cta { background: var(--dark); color: var(--dark-ink); text-align: center; padding: clamp(96px, 12vw, 170px) 0 !important; position: relative; overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 50% 100%, oklch(40% 0.14 258 / 0.55), transparent 70%);
}
.final-cta .wrap { position: relative; }
.final-cta .label { color: var(--dark-ink-3); margin-bottom: 26px; display: block; }
.final-cta h2 { font-family: var(--f-display); font-weight: 400; font-size: clamp(46px, 7vw, 96px); line-height: 0.96; letter-spacing: -0.025em; margin: 0 0 32px; }
.final-cta h2 em { font-style: italic; color: var(--dark-accent); }
.final-cta .btn-row { justify-content: center; }
.stores { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border-radius: 14px;
  border: 1px solid var(--dark-line); background: var(--dark-2); color: var(--dark-ink);
  position: relative;
}
.store-badge .store-logo { width: 24px; height: 24px; flex: none; }
.store-badge .store-text { display: flex; flex-direction: column; line-height: 1.1; text-align: left; }
.store-pre { font-size: 10px; letter-spacing: 0.04em; color: var(--dark-ink-3); text-transform: uppercase; }
.store-name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.store-flag { position: absolute; top: -9px; right: -8px; font: 600 9.5px/1 var(--f-sans); letter-spacing: 0.03em; padding: 4px 8px; border-radius: 999px; background: var(--dark-accent); color: var(--dark); }
.final-cta .stores + .perks { margin-top: 22px; }
.perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; font-size: 13px; color: var(--dark-ink-3); }

/* ====== Footer ====== */
footer { padding: 64px 0 36px; border-top: 1px solid var(--line); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(4, 1fr); gap: 36px; margin-bottom: 44px; }
.footer-col h5 { margin: 0 0 14px; font: 500 10.5px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col li { font-size: 13.5px; color: var(--ink-2); }
.footer-col a:hover { color: var(--accent); }
.footer-col .footer-self { color: var(--ink); font-weight: 500; }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 34ch; }
.footer-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--ink-3); }
.footer-meta .lang-switcher { margin-left: auto; }
.footer-country a { color: var(--ink-2); border-bottom: 1px solid var(--line-strong); }
.footer-country a:hover { color: var(--ink); }
.footer-country a.active { color: var(--accent); border-bottom-color: var(--accent-line); }
.heart { color: var(--red); display: inline-block; animation: beat 1.6s infinite; }
@keyframes beat { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.18); } 40% { transform: scale(1); } }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; } .footer-meta .lang-switcher { margin-left: 0; } }

/* ====== Reveal ====== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 800ms var(--e-out), transform 800ms var(--e-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 60ms; } .reveal.d2 { transition-delay: 140ms; } .reveal.d3 { transition-delay: 220ms; } .reveal.d4 { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1 .w { animation: none; opacity: 1; transform: none; }
  .heart { animation: none; }
  html { scroll-behavior: auto; }
}
