/* hepine.com · escuro com tom claro automático, âmbar como cor única.
   Legível primeiro: corpo ≥ 18 px, títulos grandes, animação só quando revela algo. */
:root {
  --bg: #0a0a0c;
  --fg: #f5f4f0;
  --mut: #9a9aa3;
  --acc: #e8b04a;
  --acc-fg: #111114;
  --line: rgba(245, 244, 240, .1);
  --card: rgba(245, 244, 240, .035);
  --card-h: rgba(245, 244, 240, .065);
  --chip: rgba(232, 176, 74, .14);
  --glow: rgba(232, 176, 74, .11);
  --f: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --pad: clamp(20px, 5vw, 56px);
  --r: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark light;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #f3f2ee;
    --fg: #141419;
    --mut: #5d5d66;
    --acc: #94600f;
    --acc-fg: #fff;
    --line: rgba(20, 20, 25, .12);
    --card: rgba(20, 20, 25, .03);
    --card-h: rgba(20, 20, 25, .06);
    --chip: rgba(148, 96, 15, .1);
    --glow: rgba(176, 122, 30, .12);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 19px/1.6 var(--f); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--acc); color: var(--acc-fg); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.estreito { max-width: 860px; }
.pular { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--acc); color: var(--acc-fg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.pular:focus { top: 12px; }

.kicker { font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); }
.titulo { font-size: clamp(38px, 5.6vw, 72px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; margin-top: 14px; max-width: 17ch; text-wrap: balance; }
.sub { font-size: clamp(19px, 2vw, 22px); color: var(--mut); max-width: 42ch; margin-top: 18px; line-height: 1.5; text-wrap: pretty; }
.sec { position: relative; z-index: 2; background: var(--bg); padding: clamp(96px, 13vw, 170px) 0; }
.sec-c { padding: clamp(40px, 6vw, 72px) 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px; background: var(--acc); color: var(--acc-fg); font-weight: 600; font-size: 17px; line-height: 1.2; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-2 { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-2:hover { box-shadow: inset 0 0 0 1.5px var(--fg); }
.acoes { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 44px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-size: 15px; line-height: 1.3; border: 1px solid var(--line); background: var(--chip); border-radius: 999px; padding: 8px 15px; }
.chips a { text-decoration: none; }
.chips a:hover { color: var(--acc); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; letter-spacing: .03em; line-height: 1; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--mut); white-space: nowrap; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.s-no-ar, .s-ativo { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 38%, transparent); }

/* ---------- topo */
.topo { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .35s var(--ease), background .3s, box-shadow .3s; }
.topo-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.topo.rolou { background: color-mix(in srgb, var(--bg) 80%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topo.some { transform: translateY(-100%); }
.marca { font-weight: 700; font-size: 19px; letter-spacing: -.01em; text-decoration: none; }
.marca i { color: var(--acc); font-style: normal; }
.menu { display: flex; gap: clamp(14px, 2.6vw, 30px); align-items: center; font-size: 16px; }
.menu a { text-decoration: none; color: var(--mut); transition: color .2s; }
.menu a:hover, .menu a[aria-current] { color: var(--fg); }
.menu .idioma { border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
@media (max-width: 960px) { .menu .m-social { display: none; } }
@media (max-width: 520px) { .menu .m-contato { display: none; } }

/* ---------- home: abertura */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; width: min(58vw, 760px); aspect-ratio: 1; right: -16vw; top: -18vw; border-radius: 50%; background: radial-gradient(circle, var(--glow), transparent 68%); pointer-events: none; }
.hero-in { width: 100%; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); align-items: center; gap: clamp(42px, 7vw, 110px); padding-top: 108px; padding-bottom: 64px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(56px, 7.6vw, 108px); font-weight: 720; letter-spacing: -.055em; line-height: .88; margin-top: 24px; max-width: 8.4ch; text-wrap: balance; }
.hero-frase { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.32; letter-spacing: -.02em; max-width: 27ch; margin-top: 30px; text-wrap: balance; }
.hero-papeis { font-size: 15px; line-height: 1.5; color: var(--mut); margin-top: 20px; max-width: 60ch; }
.hero-botoes { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.btn-github span { color: var(--acc); font-size: 20px; line-height: 0; }
.hero-redes { display: none; gap: 9px 22px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; }
.hero-redes a { color: var(--mut); text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.hero-redes a:hover { color: var(--fg); border-color: var(--acc); }
.hero .rolar { margin-top: 22px; }
.hero-retrato { position: relative; z-index: 1; width: min(100%, 460px); justify-self: end; }
.hero-foto { position: relative; aspect-ratio: 1; border-radius: 46% 46% 20px 20px; overflow: hidden; background: var(--card); box-shadow: 0 50px 100px -48px rgba(0, 0, 0, .8); }
.hero-foto::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); border-radius: inherit; pointer-events: none; }
.hero-foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(1.03); }
.hero-retrato::before { content: ""; position: absolute; inset: 7% -7% -7% 7%; border: 1px solid color-mix(in srgb, var(--acc) 65%, transparent); border-radius: 46% 46% 20px 20px; z-index: -1; }
.hero-retrato figcaption { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 2px 0; font-size: 13px; color: var(--mut); }
.hero-retrato figcaption span { color: var(--fg); font-weight: 650; }
.hero-retrato figcaption a { color: var(--acc); text-decoration: none; }
.rolar { font-size: 15px; color: var(--mut); display: flex; align-items: center; gap: 12px; }
.seta { width: 11px; height: 11px; border-right: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(45deg); animation: desce 1.8s ease-in-out infinite; }
@keyframes desce { 0%, 100% { transform: translateY(-3px) rotate(45deg); } 50% { transform: translateY(3px) rotate(45deg); } }
@media (max-width: 820px) {
  .hero-in { grid-template-columns: 1fr; gap: 26px; padding-top: 88px; padding-bottom: 64px; }
  .hero-copy { display: flex; flex-direction: column; }
  .hero h1 { font-size: clamp(54px, 15vw, 84px); max-width: 7.8ch; }
  .hero-frase { margin-top: 24px; }
  .hero-papeis { display: none; }
  .hero-botoes { margin-top: 28px; }
  .hero-retrato { width: min(62vw, 250px); justify-self: center; }
  .hero-retrato figcaption { display: none; }
  .hero-redes { justify-content: center; }
  .hero .rolar { display: none; }
}
@media (max-width: 960px) { .hero-redes { display: flex; } }
@media (max-width: 430px) {
  .hero-botoes { align-items: stretch; }
  .hero-botoes .btn { width: 100%; }
  .menu .m-github { display: none; }
}

/* ---------- home: linha do tempo (sem 3D é uma lista legível; com 3D, cada capítulo prende na tela) */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; visibility: hidden; }
.gl-vivo #gl { visibility: visible; }
.eras { position: relative; z-index: 1; }
.era-in { padding: 12vh var(--pad); max-width: 720px; }
.ano { font-size: clamp(96px, 19vw, 240px); font-weight: 700; letter-spacing: -.055em; line-height: .9; }
.era .kicker { margin-top: 20px; }
.era-frase { font-size: clamp(21px, 2.6vw, 28px); color: var(--mut); margin-top: 10px; max-width: 22ch; line-height: 1.4; }
.dentro-in { padding: 14vh var(--pad); text-align: center; max-width: 1000px; margin: 0 auto; }
.manchete { font-size: clamp(32px, 4.6vw, 58px); font-weight: 650; letter-spacing: -.03em; line-height: 1.12; margin: 18px auto 0; max-width: 22ch; text-wrap: balance; }
.dentro .chips { justify-content: center; margin-top: 36px; }

.com-3d .era { height: 220vh; }
.com-3d .era-in { position: sticky; top: 15vh; padding-top: 0; padding-bottom: 0; }
.com-3d .dentro { height: 260vh; }
.com-3d .dentro-in { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: none; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: 0; padding-bottom: 0; }
.gl-vivo .era-in { opacity: 0; will-change: transform, opacity; }
.gl-vivo .dentro-in { opacity: 0; background: radial-gradient(120% 90% at 50% 10%, var(--glow), transparent 55%), color-mix(in srgb, var(--bg) 86%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.gl-vivo .dentro-in > * { opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.gl-vivo .dentro-in.on > * { opacity: 1; transform: none; }
.gl-vivo .dentro-in.on > :nth-child(2) { transition-delay: .12s; }
.gl-vivo .dentro-in.on > :nth-child(3) { transition-delay: .26s; }
@media (max-aspect-ratio: 4/5) {
  .com-3d .era-in { top: 56vh; top: 56svh; }
  .com-3d .ano { font-size: clamp(84px, 24vw, 150px); }
}

/* ---------- home: em 30 segundos */
.specs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-top: 56px; }
.spec { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: background .25s, transform .25s var(--ease); }
a.spec:hover { background: var(--card-h); transform: translateY(-2px); }
.spec-papeis { grid-column: span 4; }
.spec-largo { grid-column: span 3; }
.spec-num { font-size: clamp(46px, 5vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.spec-txt { color: var(--mut); font-size: 17px; line-height: 1.45; }
.spec-link { margin-top: auto; padding-top: 8px; font-size: 15px; font-weight: 600; color: var(--acc); }
.spec-rot { font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--mut); }
.spec-rot:not(:first-child) { margin-top: 12px; }
.spec-papeis ul { margin-top: 4px; }
.spec-papeis li { display: flex; flex-direction: column; padding: 13px 0; border-top: 1px solid var(--line); }
.spec-papeis li:first-child { border-top: 0; padding-top: 4px; }
.spec-papeis b { font-size: clamp(20px, 2vw, 24px); letter-spacing: -.015em; line-height: 1.25; }
.spec-papeis span { color: var(--mut); font-size: 16px; }
@media (max-width: 960px) {
  .specs { grid-template-columns: repeat(2, 1fr); }
  .spec { grid-column: span 1; }
  .spec-papeis, .spec-largo { grid-column: span 2; }
}
@media (max-width: 560px) { .specs { grid-template-columns: 1fr; } .spec, .spec-papeis, .spec-largo { grid-column: span 1; } }

/* ---------- home: produtos (cada um no seu aparelho) */
.produto { padding: clamp(56px, 9vw, 120px) 0; }
.produto-in { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.produto.inv .produto-in { grid-template-columns: 7fr 5fr; }
.produto.inv .produto-txt { order: 2; }
.produto-meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15px; color: var(--mut); }
.produto-nome { font-size: clamp(42px, 5vw, 66px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 18px; }
.produto-tag { font-size: clamp(22px, 2.4vw, 28px); line-height: 1.3; letter-spacing: -.015em; margin-top: 16px; text-wrap: balance; }
.produto-res { color: var(--mut); margin-top: 14px; font-size: 18px; }
.mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.mini dt { font-size: clamp(22px, 2.2vw, 28px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.mini dd { font-size: 14px; color: var(--mut); line-height: 1.35; margin-top: 6px; }
.links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
@media (max-width: 900px) {
  .produto-in, .produto.inv .produto-in { grid-template-columns: 1fr; }
  .produto.inv .produto-txt { order: 0; }
}

.palco { --p: 1; --mx: 0; --my: 0; perspective: 1800px; }
.aparelhos { position: relative; padding: 0 7% 9% 0; transform-style: preserve-3d; }
.note { transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--p)) * 26deg + var(--my) * -2.5deg)) rotateY(calc(var(--mx) * 5deg)) scale(calc(.9 + var(--p) * .1)); will-change: transform; }
.note-tampa { background: #18191d; border-radius: 16px 16px 6px 6px; padding: 2.1%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 60px 100px -50px rgba(0, 0, 0, .75); }
.note-tampa img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 7px; background: #0e0f12; }
.note-base { position: relative; height: 13px; margin: 0 -5.5%; background: linear-gradient(180deg, #d9dbe0, #9a9da4 60%, #7d8087); border-radius: 2px 2px 14px 14px; box-shadow: 0 24px 40px -22px rgba(0, 0, 0, .7); }
.note-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 5px; transform: translateX(-50%); background: rgba(0, 0, 0, .18); border-radius: 0 0 8px 8px; }
.fone { position: absolute; right: 0; bottom: 0; width: 23%; min-width: 96px; padding: 1.7%; background: #18191d; border-radius: 16% / 7.4%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 40px 70px -30px rgba(0, 0, 0, .8); transform: translateY(calc((1 - var(--p)) * 70px)) rotateY(calc(var(--mx) * -8deg)); will-change: transform; }
.fone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 13% / 6%; background: #0e0f12; }
.fone.so { position: relative; width: 44%; margin: 0 auto; }

/* ---------- home: trabalho com time */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.card { display: flex; flex-direction: column; gap: 12px; min-height: 290px; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); text-decoration: none; transition: background .25s, transform .25s var(--ease); }
.card:hover { background: var(--card-h); transform: translateY(-3px); }
.card-meta { font-size: 14px; color: var(--mut); }
.card h3 { font-size: 24px; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--mut); font-size: 17px; line-height: 1.5; }
.card .card-num { margin-top: auto; color: var(--fg); font-size: 16px; }
.card-num b { font-size: 28px; letter-spacing: -.03em; margin-right: 6px; color: var(--acc); }
.card-ir { font-size: 15px; font-weight: 600; color: var(--acc); }
.mais { margin-top: 34px; }
.mais a { color: var(--acc); font-weight: 600; text-decoration: none; }
.mais a:hover { text-decoration: underline; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; } }

/* ---------- home: teclado de ferramentas */
.teclas-in { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.teclado { --tilt: 30deg; margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(8px, 1.1vw, 14px); padding: clamp(14px, 1.8vw, 24px); border-radius: 24px; background: linear-gradient(180deg, #1d1e23, #131418); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 60px 90px -50px rgba(0, 0, 0, .85); transform: perspective(1400px) rotateX(var(--tilt)); transform-origin: 50% 100%; transition: transform .9s var(--ease); }
.js .teclado:not(.visto) { --tilt: 58deg; }
.tecla { appearance: none; border: 0; cursor: pointer; min-width: 0; height: clamp(56px, 6vw, 76px); padding: 0 6px; border-radius: 12px; background: linear-gradient(180deg, #2d2e34, #212227); color: #e9e7e1; font: 600 clamp(13px, 1.25vw, 16px)/1.1 var(--f); box-shadow: 0 6px 0 #0a0b0e, 0 10px 18px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .09); transition: transform .12s var(--ease), box-shadow .12s, color .2s; }
.tecla:hover { color: #fff; }
.tecla:active { transform: translateY(5px); }
.tecla[aria-pressed="true"] { transform: translateY(5px); color: #e8b04a; box-shadow: 0 1px 0 #0a0b0e, 0 3px 8px rgba(0, 0, 0, .45), inset 0 0 0 1.5px #e8b04a; }
.tecla-painel { min-height: 330px; padding: 32px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.tecla-painel h3 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.1; margin-top: 12px; }
.tecla-painel p[data-t="onde"] { color: var(--mut); margin-top: 14px; font-size: 18px; }
.tecla-painel .chips { margin-top: 24px; }
.tecla-painel.troca > * { animation: troca .35s var(--ease); }
@keyframes troca { from { opacity: .3; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-color-scheme: light) {
  .teclado { background: linear-gradient(180deg, #e5e3dd, #d5d3cc); box-shadow: inset 0 1px 0 #fff, 0 60px 90px -50px rgba(0, 0, 0, .35); }
  .tecla { background: linear-gradient(180deg, #fdfcf9, #efede7); color: #26262c; box-shadow: 0 6px 0 #b6b3aa, 0 10px 18px rgba(0, 0, 0, .1), inset 0 1px 0 #fff; }
  .tecla:hover { color: #000; }
  .tecla[aria-pressed="true"] { color: #94600f; box-shadow: 0 1px 0 #b6b3aa, 0 3px 8px rgba(0, 0, 0, .1), inset 0 0 0 1.5px #94600f; }
}
@media (max-width: 900px) { .teclas-in { grid-template-columns: 1fr; } .teclado { --tilt: 16deg; } .tecla-painel { min-height: 0; } }

/* ---------- home: processo */
.tese { margin-top: 48px; }
.tese p { font-size: clamp(28px, 4vw, 50px); font-weight: 650; letter-spacing: -.03em; line-height: 1.14; max-width: 24ch; text-wrap: balance; }
.tese p::before { content: "“"; color: var(--acc); }
.tese p::after { content: "”"; color: var(--acc); }
.processo-visual { margin-top: 58px; }
.processo-visual img { width: 100%; border-radius: var(--r); border: 1px solid var(--line); background: #0a0a0c; box-shadow: 0 40px 90px -55px rgba(0, 0, 0, .9); }
.processo-visual > a { display: block; }
.processo-visual figcaption, .historia-foto figcaption { color: var(--mut); font-size: 14px; line-height: 1.45; margin-top: 13px; }
.processo-visual figcaption a { color: var(--acc); text-decoration: none; }
.passos { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; margin-top: 64px; }
.passos li { display: flex; flex-direction: column; padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.passos .n { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--acc); }
.passos h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; margin-top: 12px; }
.passos p { color: var(--mut); font-size: 17px; line-height: 1.5; margin-top: 10px; }
.passos a { margin-top: auto; padding-top: 16px; color: var(--acc); font-weight: 600; font-size: 16px; text-decoration: none; }

/* ---------- home: arco em três atos */
.atos { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 72px; }
.historia-foto { margin-top: 58px; max-width: 980px; }
.historia-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center; border-radius: var(--r); border: 1px solid var(--line); }
.atos li { position: relative; padding: 34px 32px 0 0; border-top: 2px solid var(--line); }
.atos li::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--acc); }
.atos li::after { content: ""; position: absolute; top: -2px; left: 0; height: 2px; width: 100%; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease); }
.atos li.visto::after, .sem-js .atos li::after { transform: none; }
.atos li:nth-child(2)::after { transition-delay: .25s; }
.atos li:nth-child(3)::after { transition-delay: .5s; }
.ato-per { font-size: 15px; font-weight: 600; letter-spacing: .06em; color: var(--mut); }
.atos h3 { font-size: clamp(30px, 3.2vw, 42px); letter-spacing: -.035em; line-height: 1.05; margin-top: 10px; }
.atos p:last-child { color: var(--mut); font-size: 18px; margin-top: 14px; }
@media (max-width: 860px) { .atos { grid-template-columns: 1fr; gap: 40px; } .atos li { padding-right: 0; } }

/* ---------- contato */
.contato { text-align: center; background: radial-gradient(80% 60% at 50% 0%, var(--glow), transparent 70%), var(--bg); border-top: 1px solid var(--line); }
.contato .titulo { font-size: clamp(46px, 7.8vw, 108px); max-width: none; margin: 0 auto; }
.contato .sub { margin: 22px auto 0; }
.btn-grande { min-height: 60px; padding: 16px 32px; font-size: 19px; margin-top: 42px; }
.email { margin-top: 20px; font-size: 17px; }
.email a { color: var(--mut); }
.redes { display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; margin-top: 36px; font-size: 16px; }
.redes a { color: var(--mut); text-decoration: none; }
.redes a:hover { color: var(--fg); }
.redes-destaque { gap: 12px; }
.redes-destaque a { display: block; padding: 10px 15px; border: 1px solid var(--line); border-radius: 999px; color: var(--fg); background: var(--card); }
.redes-destaque a:hover { border-color: color-mix(in srgb, var(--acc) 60%, transparent); background: var(--card-h); }

/* ---------- rodapé */
.rodape { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 15px; color: var(--mut); }
.rodape-in { display: flex; gap: 14px 32px; flex-wrap: wrap; justify-content: space-between; }
.rodape a { color: var(--mut); text-decoration: none; }
.rodape a:hover { color: var(--fg); }

/* ---------- páginas internas */
.pagina-topo { position: relative; z-index: 2; padding: clamp(140px, 17vw, 220px) 0 clamp(40px, 6vw, 72px); }
.titulo-pag { font-size: clamp(44px, 7vw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-top: 16px; max-width: 16ch; text-wrap: balance; }
.titulo-sec { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1.1; margin-bottom: 32px; }
.titulo-sub { margin-top: 72px; }
.conta { font-size: .5em; color: var(--mut); vertical-align: middle; font-weight: 600; letter-spacing: 0; margin-left: 6px; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pilar { padding: 28px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.pilar h3 { font-size: 22px; letter-spacing: -.02em; }
.pilar li { position: relative; color: var(--mut); font-size: 16.5px; line-height: 1.5; margin-top: 12px; padding-left: 18px; }
.pilar li::before { content: ""; position: absolute; left: 0; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }
@media (max-width: 960px) { .pilares { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .pilares { grid-template-columns: 1fr; } }

.linhas { border-top: 1px solid var(--line); }
.linha { display: grid; grid-template-columns: 4fr 5fr 3fr; gap: 28px; padding: 28px 0; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.linha h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.25; transition: color .2s; }
.linha:hover h3 { color: var(--acc); }
.linha-meta { font-size: 15px; color: var(--mut); margin-top: 6px; }
.linha-b { color: var(--mut); font-size: 17px; line-height: 1.5; }
.linha-c { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--mut); line-height: 1.4; }
.linha-c b { font-size: 20px; color: var(--fg); letter-spacing: -.02em; }
@media (max-width: 860px) { .linha { grid-template-columns: 1fr; gap: 10px; } }

.traj { border-top: 1px solid var(--line); }
.traj li { display: grid; grid-template-columns: 240px 1fr; gap: 28px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.traj-per { color: var(--mut); font-size: 16px; }
.traj h3 { font-size: 21px; letter-spacing: -.015em; line-height: 1.3; }
.traj-org { color: var(--acc); font-size: 15px; font-weight: 600; margin-top: 2px; }
.traj-txt { color: var(--mut); font-size: 17px; margin-top: 8px; }
@media (max-width: 700px) { .traj li { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- case */
.case-topo { position: relative; z-index: 2; padding: clamp(130px, 15vw, 200px) 0 32px; }
.migalha { font-size: 15px; color: var(--mut); margin-bottom: 30px; }
.migalha a { color: var(--mut); }
.case-topo .titulo-pag { margin-top: 20px; }
.case-tag { font-size: clamp(24px, 3vw, 36px); letter-spacing: -.02em; line-height: 1.25; margin-top: 22px; max-width: 28ch; text-wrap: balance; }
.case-meta { color: var(--mut); margin-top: 16px; font-size: 17px; }
.case-topo .btn { margin-top: 30px; }
.case-img { padding-top: 24px; padding-bottom: 24px; }
.metricas { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.metricas > div { padding: 26px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.metricas dt { font-size: clamp(34px, 4vw, 50px); font-weight: 700; letter-spacing: -.045em; line-height: 1; }
.metricas dd { color: var(--mut); font-size: 16px; line-height: 1.4; margin-top: 12px; }
.case-lead { font-size: clamp(22px, 2.4vw, 27px) !important; line-height: 1.45 !important; letter-spacing: -.01em; }
.case-corpo h2 { font-size: 14px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--acc); margin: 64px 0 16px; }
.case-corpo p { font-size: clamp(19px, 1.9vw, 21px); line-height: 1.65; }
.fluxo { display: grid; gap: 10px; counter-reset: f; }
.fluxo li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 22px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); align-items: baseline; }
.fluxo li::before { counter-increment: f; content: counter(f); font-weight: 700; color: var(--acc); }
.fluxo b { display: block; font-size: 19px; }
.fluxo span { display: block; color: var(--mut); font-size: 17px; margin-top: 2px; }
.decisoes li { padding: 22px 0; border-top: 1px solid var(--line); }
.decisoes li:last-child { border-bottom: 1px solid var(--line); }
.decisoes b { display: block; font-size: 21px; letter-spacing: -.01em; line-height: 1.35; }
.decisoes span { display: block; color: var(--mut); font-size: 18px; line-height: 1.55; margin-top: 6px; }
.decisoes b + span { margin-top: 6px; }
.provas li { margin-top: 10px; }
.provas a { color: var(--acc); font-weight: 600; font-size: 19px; }
.case-nav { display: flex; justify-content: space-between; gap: 20px; padding-top: 24px; padding-bottom: 96px; font-size: 15px; }
.case-nav a { text-decoration: none; color: var(--mut); max-width: 45%; }
.case-nav a:hover b { color: var(--acc); }
.case-nav b { display: block; color: var(--fg); font-size: 20px; letter-spacing: -.015em; margin-top: 4px; transition: color .2s; }
.case-nav .dir { text-align: right; }

/* ---------- história */
.cap { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; border-top: 1px solid var(--line); overflow: hidden; }
.cap-in { position: relative; width: 100%; padding-top: 16vh; padding-bottom: 16vh; }
.cap-n { position: absolute; right: var(--pad); top: 50%; transform: translateY(-50%); font-size: clamp(170px, 30vw, 420px); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--fg) 13%, transparent); pointer-events: none; user-select: none; }
.cap-tit { position: relative; font-size: clamp(40px, 6vw, 82px); letter-spacing: -.04em; line-height: 1.02; margin-top: 18px; max-width: 14ch; text-wrap: balance; }
.cap-txt { position: relative; font-size: clamp(20px, 2.1vw, 24px); line-height: 1.62; max-width: 38ch; margin-top: 30px; text-wrap: pretty; }
.hist-nav { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 4px; }
.hist-nav a { display: block; padding: 7px; }
.hist-nav span { display: block; width: 8px; height: 8px; border-radius: 50%; background: color-mix(in srgb, var(--fg) 22%, transparent); transition: background .3s, transform .3s; }
.hist-nav a[aria-current] span { background: var(--acc); transform: scale(1.45); }
@media (max-width: 700px) { .hist-nav { display: none; } .cap-n { top: 18%; font-size: 44vw; } }

/* ---------- revelação ao rolar (só com JS; sem JS tudo já aparece) */
.js [data-revelar] { opacity: 0; transform: translateY(26px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js [data-revelar].visto { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js [data-revelar] { opacity: 1; transform: none; }
  .teclado, .js .teclado:not(.visto) { --tilt: 16deg; }
  .note, .fone { transform: none !important; }
  .atos li::after { transform: none; }
}

/* Ensino: espaço editorial para um registro original das aulas. */
.ensino { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ensino-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.ensino .titulo { font-size: clamp(48px, 6.3vw, 84px); letter-spacing: -.055em; }
.ensino-curso { margin-top: 32px; font-size: 21px; max-width: 26ch; }
.ensino-link { display: inline-block; margin-top: 32px; text-underline-offset: 7px; font-size: 16px; }
.ensino-reserva { aspect-ratio: 16 / 9; position: relative; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; }
.ensino-num, .ensino-formato { position: absolute; font: 11px/1.4 monospace; color: var(--mut); letter-spacing: .12em; }
.ensino-num { top: 18px; left: 20px; }.ensino-formato { bottom: 18px; right: 20px; }
.ensino-placeholder { font-size: clamp(22px, 3vw, 38px); letter-spacing: -.04em; }
.ensino-placeholder small { display: block; color: var(--mut); font-size: 13px; letter-spacing: .05em; margin-top: 8px; text-align: center; }
.ensino-frame figcaption { margin-top: 14px; font-size: 13px; color: var(--mut); }
.hero-foto, .hero-retrato::before { border-radius: 3px; }
.hero-foto img { filter: none; }
@media (max-width: 760px) { .ensino-in { grid-template-columns: 1fr; }.ensino-frame { width: 100%; } }
