/* Level 20 · site público */

:root {
  --ink: #131a2b;
  --ink-2: #394257;
  --muted: #5f6679;
  --navy-950: #0a1530;
  --navy-900: #10203f;
  --navy: #1f3a6b;
  --navy-700: #2b4a83;
  --sky: #a9c6ea;
  --sky-300: #c7dbf3;
  --sky-100: #e7eff9;
  --white: #ffffff;
  --tint: #f4f7fb;
  --tint-2: #e6edf6;
  --paper: #f7f4ee;
  --line: rgba(19, 26, 43, .1);
  --line-light: rgba(231, 239, 249, .14);
  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --nav-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
  --shadow: 0 1px 0 rgba(16, 32, 63, .04), 0 24px 50px -36px rgba(16, 32, 63, .35);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
section[id], main [id] { scroll-margin-top: calc(var(--nav-h) - 8px); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px;
  background: var(--navy); color: #fff; border-radius: 10px; font-weight: 700; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--navy-700); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }

/* Tipografia */
.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--navy);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .55; }
.h2 {
  font-family: var(--serif); font-weight: 380; font-size: clamp(2.2rem, 4.6vw, 4rem);
  line-height: 1.04; letter-spacing: -.022em; font-variation-settings: "opsz" 144, "SOFT" 30;
  margin-top: 18px; text-wrap: balance;
}
.h2 em, .hero-title em { font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; }
.h2 em { color: var(--navy-700); }
.lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin-top: 22px; max-width: 34em; }

/* Botões */
.btn {
  --bh: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--sans); letter-spacing: .01em; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-sm { --bh: 40px; padding: 0 18px; font-size: 14px; }
.btn-lg { --bh: 56px; padding: 0 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(31, 58, 107, .7); }
.btn-ghost { color: var(--navy); border-color: rgba(31, 58, 107, .22); background: rgba(255, 255, 255, .6); }
.btn-ghost:hover { border-color: var(--navy); transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Marca */
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy-950); }
.brand-emblem { width: 44px; height: 44px; color: currentColor; flex: none; transition: transform .6s var(--ease-out); }
.brand:hover .brand-emblem { transform: rotate(-8deg) scale(1.04); }
.brand-word { display: grid; grid-template-columns: auto auto; align-items: baseline; column-gap: 6px; line-height: 1; }
.brand-level { font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.brand-word b { font-weight: 800; font-size: 22px; letter-spacing: -.03em; }
.brand-word small { grid-column: 1 / -1; justify-self: end; font-size: 10.5px; font-weight: 600; letter-spacing: .28em; margin-top: 4px; margin-right: -.28em; opacity: .85; }

/* Navegação */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .4s, box-shadow .4s, height .4s;
  color: var(--navy-950);
}
.nav-inner { height: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 28px; }
.nav .brand { color: inherit; margin-right: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a {
  position: relative; padding: 8px 12px; font-size: 14.5px; font-weight: 600; text-decoration: none; opacity: .8; transition: opacity .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-links a:hover, .nav-links a.is-active { opacity: 1; }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav.is-scrolled {
  --nav-h: 66px;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(1.4) blur(16px); backdrop-filter: saturate(1.4) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; position: relative; border-radius: 12px;
}
.nav-toggle i { position: absolute; left: 11px; right: 11px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav-toggle i:first-of-type { top: 17px; }
.nav-toggle i:last-of-type { top: 25px; }
.nav-toggle[aria-expanded="true"] i:first-of-type { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:last-of-type { top: 21px; transform: rotate(-45deg); }
body.menu-open .nav { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--white); color: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; gap: 40px; padding: 100px var(--gutter) 40px;
  opacity: 0; transition: opacity .4s var(--ease);
  background-image: linear-gradient(rgba(31, 58, 107, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 58, 107, .045) 1px, transparent 1px);
  background-size: 32px 32px;
}
.menu.is-open { opacity: 1; }
.menu nav { display: grid; gap: 4px; }
.menu nav a {
  font-family: var(--serif); font-size: clamp(2rem, 9vw, 3rem); font-weight: 360; text-decoration: none; line-height: 1.25;
  display: flex; align-items: baseline; gap: 16px;
  transform: translateY(16px); opacity: 0; transition: transform .6s var(--ease-out), opacity .6s;
}
.menu nav a span { font: 600 12px var(--sans); letter-spacing: .2em; color: var(--navy-700); }
.menu.is-open nav a { transform: none; opacity: 1; }
.menu.is-open nav a:nth-child(2) { transition-delay: .05s; }
.menu.is-open nav a:nth-child(3) { transition-delay: .1s; }
.menu.is-open nav a:nth-child(4) { transition-delay: .15s; }
.menu.is-open nav a:nth-child(5) { transition-delay: .2s; }

/* Abertura */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background:
    radial-gradient(900px 640px at 78% 46%, rgba(169, 198, 234, .38), transparent 62%),
    radial-gradient(700px 500px at 0% 100%, rgba(231, 239, 249, .9), transparent 60%),
    var(--white);
  color: var(--ink); overflow: hidden; padding: calc(var(--nav-h) + 40px) 0 90px;
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 58, 107, .075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 107, .075) 1px, transparent 1px),
    linear-gradient(rgba(31, 58, 107, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 58, 107, .035) 1px, transparent 1px);
  background-size: 128px 128px, 128px 128px, 32px 32px, 32px 32px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 75% at 65% 45%, #000 20%, transparent 78%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 40px; }
.hero-title {
  font-family: var(--serif); font-weight: 340; font-size: clamp(3rem, 7.2vw, 6.6rem); line-height: .98;
  letter-spacing: -.035em; margin: 26px 0 0; font-variation-settings: "opsz" 144, "SOFT" 20; color: var(--navy-950);
}
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hero-title .line > span { display: inline-block; transition: transform 1.1s var(--ease-out); }
.js:not(.is-loaded) .hero-title .line > span { transform: translateY(105%); }
.hero-title .line:nth-child(2) > span { transition-delay: .09s; }
.hero-title .line:nth-child(3) > span { transition-delay: .18s; }
.hero-title em { color: var(--navy-700); font-weight: 420; padding-right: .04em; }
.hero-lead { margin-top: 28px; font-size: clamp(17px, 1.5vw, 19.5px); line-height: 1.6; color: var(--ink-2); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-subjects { list-style: none; padding: 0; margin: 46px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.hero-subjects li { display: flex; align-items: baseline; gap: 10px; padding-left: 14px; position: relative; }
.hero-subjects li::before { content: ""; position: absolute; left: 0; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--navy-700); }
.hero-subjects b { font-weight: 700; font-size: 15px; }
.hero-subjects span { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

.hero-emblem { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1 / 1.08; display: grid; place-items: start center; }
.hero-glow {
  position: absolute; left: 50%; top: 46%; width: 72%; aspect-ratio: 1; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(169, 198, 234, .55), rgba(169, 198, 234, 0) 66%); filter: blur(10px);
  transition: opacity 2s var(--ease);
}
.js:not(.is-loaded) .hero-glow { opacity: 0; }
.h-svg { width: 100%; height: auto; color: var(--navy); overflow: visible; transition: transform .8s var(--ease-out); }
.h-orbit { fill: none; stroke: rgba(31, 58, 107, .2); stroke-width: 1; stroke-dasharray: 2 6; transform-origin: 150px 150px; animation: orbit 90s linear infinite; }
@keyframes orbit { to { transform: rotate(360deg); } }
.h-tick { stroke: rgba(31, 58, 107, .14); stroke-width: 3.2; stroke-linecap: round; transition: stroke .3s, filter .3s; }
.h-tick.is-on { stroke: var(--navy-700); filter: drop-shadow(0 0 3px rgba(169, 198, 234, .9)); }
.h-tick[data-v="20"].is-on { stroke: var(--navy); }
.h-svg .e-disc, .h-svg .e-ring, .h-svg .e-grid { transform-origin: 150px 150px; transform-box: view-box; }
.h-svg .e-disc { transition: transform 1.2s var(--ease-out), opacity .8s; }
.h-svg .e-ring { transition: opacity 1s .3s; }
.h-svg .e-grid { transition: opacity 1.4s .4s; }
.h-svg .e-arrow { transition: transform 1.4s .5s var(--ease-out), opacity 1s .5s; }
.h-svg .l-stem { stroke-dasharray: 220; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s .4s var(--ease); }
.h-svg .l-leaf { transform-box: view-box; transition: transform .7s var(--ease-out), opacity .5s; transition-delay: calc(.55s + var(--i) * .1s); }
.js:not(.is-loaded) .h-svg .e-disc { transform: scale(.86); opacity: 0; }
.js:not(.is-loaded) .h-svg .e-ring, .js:not(.is-loaded) .h-svg .e-grid { opacity: 0; }
.js:not(.is-loaded) .h-svg .e-arrow { transform: translateY(16px); opacity: 0; }
.js:not(.is-loaded) .h-svg .l-stem { stroke-dashoffset: 220; }
.js:not(.is-loaded) .h-svg .l-leaf { transform: scale(0); opacity: 0; }
.hero-emblem.is-done .e-arrow { animation: bob 5s ease-in-out 1s infinite; }
@keyframes bob { 50% { transform: translateY(-4px); } }

.hero-level { margin-top: -2%; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.hero-level-label { font-size: 11px; font-weight: 700; letter-spacing: .34em; text-transform: uppercase; color: var(--muted); margin-right: -.34em; }
.hero-level-num {
  font-family: var(--serif); font-weight: 300; font-size: clamp(3.4rem, 6vw, 5rem); font-variant-numeric: tabular-nums lining-nums;
  margin-top: 6px; color: var(--navy-950); font-variation-settings: "opsz" 144; transition: color .6s, text-shadow .6s;
}
.hero-emblem.is-done .hero-level-num { color: var(--navy-700); text-shadow: 0 0 34px rgba(169, 198, 234, .9); }

.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px;
  border: 1.5px solid rgba(31, 58, 107, .25);
}
.hero-scroll span { position: absolute; left: 50%; top: 9px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--navy-700); animation: scrolly 2.2s var(--ease) infinite; }
@keyframes scrolly { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* Faixa */
.ticker { background: var(--tint); border-block: 1px solid var(--tint-2); overflow: hidden; padding: 18px 0; }
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.ticker li {
  font-family: var(--serif); font-style: italic; font-size: 22px; font-weight: 360; color: var(--navy); white-space: nowrap;
  display: flex; align-items: center; font-variation-settings: "opsz" 48, "SOFT" 100;
}
.ticker li::after { content: ""; width: 7px; height: 7px; margin: 0 28px; border: 1.5px solid var(--navy); border-radius: 50%; opacity: .45; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Secções */
.section { position: relative; padding: clamp(88px, 12vw, 150px) 0; }
.section-head { max-width: 760px; margin-bottom: clamp(44px, 6vw, 72px); }

/* História */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.story-body { display: grid; gap: 20px; padding-top: 44px; font-size: 18px; color: var(--ink-2); }
.story-body p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 4.1em; line-height: .82; padding: 6px 12px 0 0; color: var(--navy); font-weight: 400;
}
.facts { margin: clamp(56px, 7vw, 88px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts > div { padding: 28px 24px 0 0; }
.facts > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: clamp(2.2rem, 3.6vw, 3.2rem); font-weight: 340; line-height: 1; letter-spacing: -.03em; color: var(--navy); }
.facts dd { margin: 10px 0 0; color: var(--muted); font-size: 15px; max-width: 16em; }

/* Disciplinas */
.subjects { background: var(--tint); }
.subjects::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(31, 58, 107, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 58, 107, .05) 1px, transparent 1px);
  background-size: 32px 32px; -webkit-mask-image: linear-gradient(#000, transparent 50%); mask-image: linear-gradient(#000, transparent 50%);
}
.cards { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@supports (grid-template-rows: subgrid) {
  .cards { grid-template-rows: repeat(6, auto); }
  .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
}
.card {
  position: relative; display: flex; flex-direction: column; padding: 30px 30px 26px; border-radius: 24px; overflow: hidden; isolation: isolate;
  background: var(--white); border: 1px solid rgba(31, 58, 107, .1); box-shadow: var(--shadow);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out), color .5s, border-color .5s;
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background:
    linear-gradient(rgba(169, 198, 234, .09) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, rgba(169, 198, 234, .09) 1px, transparent 1px) 0 0 / 24px 24px,
    radial-gradient(120% 80% at 100% 0%, var(--navy-700), var(--navy-950) 70%);
  clip-path: circle(0% at 90% 8%); transition: clip-path .8s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(10, 21, 48, .6); color: var(--paper); border-color: transparent; }
.card:hover::before { clip-path: circle(150% at 90% 8%); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-num { font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: .1em; color: var(--navy-700); transition: color .5s; }
.chip {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 6px 12px; border-radius: 999px;
  background: var(--sky-100); color: var(--navy); transition: background-color .5s, color .5s;
}
.card h3 {
  font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.6rem); font-weight: 400; letter-spacing: -.025em; line-height: 1.05; margin: 54px 0 14px;
  font-variation-settings: "opsz" 144;
}
.card-desc { color: var(--ink-2); font-size: 16px; transition: color .5s; }
.card-list { list-style: none; margin: 22px 0 0; padding: 0; border-top: 1px solid var(--line); transition: border-color .5s; }
.card-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15px; transition: border-color .5s; }
.card-list li::before { content: ""; flex: none; width: 14px; height: 14px; background: currentColor; opacity: .7;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M12 19V5M6 11l6-6 6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 26px; }
.card-tags span {
  font-family: var(--serif); font-style: italic; font-size: 14.5px; padding: 4px 11px; border-radius: 999px;
  border: 1px solid rgba(31, 58, 107, .18); color: var(--navy); transition: border-color .5s, color .5s;
}
.card-years { margin-top: auto; font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); transition: color .5s; }
.card:hover .card-num, .card:hover .card-tags span { color: var(--sky); }
.card:hover .chip { background: rgba(169, 198, 234, .16); color: var(--sky-100); }
.card:hover .card-desc { color: rgba(247, 244, 238, .78); }
.card:hover .card-list, .card:hover .card-list li { border-color: var(--line-light); }
.card:hover .card-tags span { border-color: rgba(169, 198, 234, .3); }
.card:hover .card-years { color: rgba(231, 239, 249, .6); }

/* Método: degraus que sobem */
.stairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; align-items: end; }
.stairs li {
  position: relative; padding: 24px 22px 26px; border-radius: 22px; background: var(--white);
  border: 1px solid rgba(31, 58, 107, .12); box-shadow: var(--shadow);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.stairs li:hover { transform: translateY(-6px); box-shadow: 0 1px 0 rgba(16, 32, 63, .04), 0 34px 60px -36px rgba(16, 32, 63, .5); }
.stairs li:nth-child(2) { margin-bottom: 36px; }
.stairs li:nth-child(3) { margin-bottom: 72px; }
.stairs li:nth-child(4) { margin-bottom: 108px; }
.stairs li:nth-child(5) { margin-bottom: 144px; background: var(--navy-950); color: var(--paper); border-color: var(--navy-950);
  background-image: radial-gradient(260px 200px at 100% 0%, rgba(43, 74, 131, .9), transparent 70%), linear-gradient(rgba(169, 198, 234, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(169, 198, 234, .07) 1px, transparent 1px);
  background-size: auto, 22px 22px, 22px 22px; }
.stairs li:nth-child(5) .step-n { background: var(--sky); color: var(--navy-950); }
.stairs li:nth-child(5) p { color: rgba(247, 244, 238, .75); }
.stairs li::after {
  content: ""; position: absolute; left: 22px; right: 22px; bottom: -14px; height: 3px; border-radius: 3px; background: var(--tint-2);
}
.step-n {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 16px; font-weight: 500; letter-spacing: .02em;
}
.stairs h3 { font-family: var(--serif); font-size: 21px; font-weight: 440; letter-spacing: -.01em; line-height: 1.2; margin: 18px 0 8px; }
.stairs p { color: var(--muted); font-size: 15px; }

/* Acompanhamento */
.tracking { overflow: hidden; background: var(--tint); }
.tracking-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature-list { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.feature-list li { padding-top: 18px; border-top: 1.5px solid var(--navy); }
.feature-list h3 { font-family: var(--serif); font-size: 21px; font-weight: 450; letter-spacing: -.01em; }
.feature-list p { margin-top: 6px; color: var(--muted); font-size: 15px; }

.docs { position: relative; height: clamp(420px, 46vw, 560px); perspective: 1600px; }
.doc {
  position: absolute; left: 50%; top: 50%; width: min(330px, 66%); aspect-ratio: 1 / 1.414; padding: 16px 16px 14px;
  background: #fff; border-radius: 6px; box-shadow: 0 1px 0 rgba(16, 32, 63, .06), 0 30px 60px -28px rgba(16, 32, 63, .4);
  transition: transform 1.1s var(--ease-out); font-family: var(--sans); color: var(--navy); overflow: hidden;
}
.doc-1 { transform: translate(-50%, -50%) rotate(-1deg); z-index: 3; }
.doc-2 { transform: translate(-50%, -50%) rotate(2deg); z-index: 2; }
.doc-3 { transform: translate(-50%, -50%) rotate(-3deg); z-index: 1; }
.docs.is-in .doc-1 { transform: translate(-22%, -46%) rotate(5deg); }
.docs.is-in .doc-2 { transform: translate(-56%, -52%) rotate(-2deg); }
.docs.is-in .doc-3 { transform: translate(-94%, -57%) rotate(-9deg); }
.docs.is-in:hover .doc-1 { transform: translate(-14%, -44%) rotate(8deg); }
.docs.is-in:hover .doc-3 { transform: translate(-102%, -58%) rotate(-12deg); }
.doc-head { background: var(--navy); color: #fff; padding: 11px 12px; border-radius: 2px; }
.doc-head b { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.doc-sec { margin: 14px 0 7px; padding-bottom: 4px; border-bottom: 1px solid var(--navy); }
.doc-sec i { display: block; width: 38%; height: 5px; border-radius: 2px; background: var(--navy); opacity: .75; }
.doc-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; margin-top: 12px; }
.doc-fields-4 { grid-template-columns: repeat(4, 1fr); }
.doc-fields i, .doc-lines i { display: block; height: 10px; border-bottom: 1px solid #c9ced8; }
.doc-lines { display: grid; gap: 5px; }
.doc-box { background: #f1ece3; height: 58px; border-radius: 2px; }
.doc-table b { display: block; height: 11px; background: var(--navy); border-radius: 1px; }
.doc-table i { display: block; height: 12px; border-bottom: 1px solid #c9ced8; }
.doc-steps { display: grid; }
.doc-steps span { display: grid; grid-template-columns: 26px 1fr; gap: 8px; align-items: center; padding: 5px 0; border-bottom: 1px solid #dfe3ea; }
.doc-steps b { height: 9px; background: #f1ece3; border-radius: 1px; }
.doc-steps i { height: 4px; width: 70%; background: #d7dce6; border-radius: 2px; }
.doc-steps span:nth-child(2n) i { width: 52%; }
.doc-chart { margin: 14px 0 10px; }
.doc-chart svg { width: 100%; height: auto; overflow: visible; }
.dc-goal { stroke: var(--sky); stroke-width: 1.4; stroke-dasharray: 4 3; }
.dc-grid { stroke: #e3e7ee; stroke-width: 1; }
.dc-line { fill: none; stroke: var(--navy); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.8s .5s var(--ease-out); }
.doc-chart circle { fill: #fff; stroke: var(--navy); stroke-width: 1.6; }
.docs.is-in .dc-line { stroke-dashoffset: 0; }

/* Perguntas */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-note { margin-top: 22px; color: var(--muted); }
.faq-note a { color: var(--navy); font-weight: 700; text-underline-offset: 4px; }
.faq-list { border-top: 1px solid rgba(31, 58, 107, .2); }
.faq-list details { border-bottom: 1px solid rgba(31, 58, 107, .2); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.4rem); font-weight: 420; letter-spacing: -.01em;
  -webkit-tap-highlight-color: transparent;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(31, 58, 107, .3);
  background:
    linear-gradient(var(--navy), var(--navy)) center / 12px 1.6px no-repeat,
    linear-gradient(var(--navy), var(--navy)) center / 1.6px 12px no-repeat;
  transition: transform .45s var(--ease-out), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: var(--sky); border-color: var(--sky); }
.faq-list details p { padding: 0 64px 26px 0; color: var(--ink-2); }
.faq-list summary:hover { color: var(--navy-700); }

/* Contactos */
.contact { background: var(--tint); overflow: hidden; }
.contact-grid-bg { -webkit-mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 20% 30%, #000 10%, transparent 75%); }
.contact-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-grid:has(> form[hidden]) { grid-template-columns: 1fr; }
.contact-grid:has(> form[hidden]) .channels { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; }
.channels { display: grid; gap: 12px; margin-top: 40px; max-width: 520px; }
.channel {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 18px; padding: 16px 20px 16px 16px;
  border-radius: 20px; border: 1px solid rgba(31, 58, 107, .12); background: var(--white); text-decoration: none; box-shadow: var(--shadow);
  transition: background-color .35s, border-color .35s, transform .5s var(--ease-out);
}
.channel:hover { border-color: var(--navy); transform: translateY(-3px); }
.channel-icon { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; background: var(--navy); color: #fff; }
.channel-icon svg { width: 25px; height: 25px; }
.channel-text { display: grid; gap: 2px; min-width: 0; }
.channel-text small { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.channel-text b { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 400; letter-spacing: -.005em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.channel-go { width: 22px; height: 22px; color: var(--navy); transition: transform .4s var(--ease-out); }
.channel:hover .channel-go { transform: translateX(4px); }

.request {
  padding: clamp(24px, 3vw, 36px); border-radius: 28px; background: var(--white); color: var(--ink);
  border: 1px solid rgba(31, 58, 107, .1); box-shadow: 0 50px 90px -60px rgba(16, 32, 63, .55);
}
.request h3 { font-family: var(--serif); font-size: 28px; font-weight: 420; letter-spacing: -.015em; }
.request-sub { color: var(--muted); font-size: 15px; margin-top: 4px; }
.field { display: grid; gap: 8px; margin: 20px 0 0; padding: 0; border: 0; min-width: 0; }
.field > span, .field > legend { font-size: 11.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); padding: 0; }
.field > span em { font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: none; color: var(--muted); }
.field legend { margin-bottom: 8px; }
.field input[type="text"], .field textarea {
  width: 100%; font: 500 16px/1.4 var(--sans); color: var(--ink); background: var(--tint);
  border: 1.5px solid rgba(31, 58, 107, .14); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.field input[type="text"]:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(169, 198, 234, .45); }
.field.has-error input { border-color: #b3261e; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(31, 58, 107, .18);
  font-weight: 700; font-size: 14.5px; color: var(--navy); background: var(--white); transition: background-color .2s, color .2s, border-color .2s;
}
.seg input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.seg input:focus-visible + span { box-shadow: 0 0 0 4px rgba(169, 198, 234, .6); }
.seg-multi input:checked + span::before { content: ""; width: 12px; height: 12px; margin-right: 8px; background: var(--sky);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round' d='M4 12.5l5 5L20 6.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.request-error { min-height: 22px; margin: 16px 0 8px; color: #b3261e; font-size: 14.5px; font-weight: 600; }
.request .btn svg { width: 20px; height: 20px; }
.request .btn:hover svg { transform: none; }

/* Rodapé */
.footer { background: var(--navy-950); color: rgba(247, 244, 238, .7); padding: 64px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { color: var(--paper); }
.footer-brand p { margin-top: 18px; max-width: 26em; font-size: 15px; }
.footer-nav, .footer-contact { display: grid; gap: 10px; align-content: start; font-size: 15px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover, .footer-base a:hover { color: var(--sky); }
.footer-base { display: flex; justify-content: space-between; gap: 20px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-light); font-size: 13.5px; }

/* Botão flutuante */
.float-wa {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 45; width: 58px; height: 58px; border-radius: 50%;
  display: none; place-items: center; background: var(--navy); color: #fff; box-shadow: 0 18px 34px -12px rgba(10, 21, 48, .55);
  transform: translateY(120px); transition: transform .6s var(--ease-out);
}
.float-wa svg { width: 28px; height: 28px; }
.float-wa.is-visible { transform: none; }

/* Revelação ao deslizar */
.reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal:not(.is-in) { opacity: 0; transform: translateY(26px); filter: blur(6px); }

/* Responsivo */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .cards { grid-template-columns: 1fr; max-width: 640px; }
  .card h3 { margin-top: 34px; }
  .float-wa { display: grid; }
  .stairs { grid-template-columns: 1fr 1fr; align-items: stretch; gap: 26px 16px; }
  .stairs li { margin-bottom: 0 !important; }
  .stairs li:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  :root { --nav-h: 68px; }
  .hero { padding-top: calc(var(--nav-h) + 24px); align-items: flex-start; }
  .hero-inner { grid-template-columns: 1fr; gap: 10px; }
  .hero-emblem { order: -1; width: min(66vw, 300px); margin: 0 auto 26px; }
  .hero-level { flex-direction: row; gap: 12px; align-items: baseline; margin-top: -4%; }
  .hero-level-num { font-size: 3rem; margin: 0; }
  .hero-scroll { display: none; }
  .story-grid, .tracking-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .story-body { padding-top: 0; }
  .tracking-grid .docs { order: -1; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand-emblem { width: 38px; height: 38px; }
  .brand-level, .brand-word b { font-size: 19px; }
  .brand-word small { font-size: 9.5px; }
  .hero-title { font-size: clamp(2.7rem, 13vw, 3.6rem); margin-top: 18px; }
  .hero-actions .btn { width: 100%; }
  .hero-subjects { margin-top: 34px; gap: 10px 20px; }
  .facts { grid-template-columns: 1fr; }
  .facts > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .stairs { grid-template-columns: 1fr; }
  .stairs li:nth-child(5) { grid-column: auto; }
  .feature-list { grid-template-columns: 1fr; gap: 20px; }
  .docs { height: 380px; }
  .doc { width: 60%; padding: 10px; }
  .doc-head b { font-size: 9px; }
  .doc-sec { margin: 9px 0 4px; }
  .doc-box { height: 40px; }
  .doc-steps span { padding: 3px 0; }
  .docs.is-in .doc-1 { transform: translate(-28%, -46%) rotate(4deg); }
  .docs.is-in .doc-3 { transform: translate(-80%, -56%) rotate(-8deg); }
  .faq-list details p { padding-right: 0; }
  .contact-grid:has(> form[hidden]) .channels { grid-template-columns: 1fr; }
  .channel { padding: 12px 14px 12px 12px; gap: 14px; }
  .channel-icon { width: 46px; height: 46px; border-radius: 13px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-base { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal:not(.is-in) { opacity: 1; transform: none; filter: none; }
  .ticker-track { animation: none; }
}
