/* =====================================================================================================================
   AULECKO, VITRINE (06/11/2026): the three public pages ("/", "/professores/", "/alunos/" and their English twins).
   One brand, three lineages. Self-contained: these pages do not load sistema.css or moderno.css (no paper, no post-it,
   no handwriting). The lab (materias.css) is re-tokened at the end of this file.

   Palette (the opening video's and the logo's): stage #0B0D12, surfaces #141821 / #1A1F2A, pen blue of the logo
   #2544A8 (action; white text 8.9:1), its light variant for the night theme, pencil #DFE6FF, the yellow bar #F5C542
   only as the ONE highlight (the thread of the lesson, home). Day theme: cool mist, never cream.
   Type: Fraunces (display, with its own italic for the brand's voice) and Atkinson Hyperlegible Next (reading).
   Motion: only on purpose (the opening, the thread, the screens settling in); all of it off with reduced motion and
   with "Menos movimento" in the Aa panel (html[data-movimento="reduzido"]).
   ===================================================================================================================== */
@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/fontes/fraunces-italico.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Atkinson"; src: url("/fontes/atkinson.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --v-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --v-sans: "Atkinson", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --v-largura: 1200px;
  --v-gutter: clamp(16px, 4vw, 48px);
  --v-raio: 14px; --v-raio-grande: 22px;
  --v-ouro: #f5c542;
  --mao: "Atkinson", system-ui, sans-serif; /* lab3d.mjs labels its 3D stickers with this font: clean, not handwriting */
  /* Day */
  --v-fundo: #f4f6fb; --v-sup: #ffffff; --v-sup2: #eaeef6; --v-linha: #d9dfeb; --v-linha-forte: #75839c;
  --v-tinta: #0f1420; --v-suave: #4a5670; --v-azul: #2544a8; --v-azul-hover: #1c3487; --v-sobre-azul: #ffffff;
  --v-azul-texto: #2544a8; --v-foco: #2544a8; --v-azul-claro: #e6ecfb;
  --v-sombra: 0 1px 2px rgb(15 20 32 / .06), 0 18px 48px -24px rgb(15 20 32 / .28);
  --v-sombra-tela: 0 2px 6px rgb(15 20 32 / .08), 0 40px 90px -40px rgb(15 20 32 / .45);
  color-scheme: light;
}
:root[data-tema-ativo="escuro"] {
  --v-fundo: #0b0d12; --v-sup: #141821; --v-sup2: #1a1f2a; --v-linha: #262d3b; --v-linha-forte: #66738d;
  --v-tinta: #eef2ff; --v-suave: #a9b4c9; --v-azul: #3a5bd6; --v-azul-hover: #4a6ae0; --v-azul-texto: #a9bcf7; --v-foco: #a9bcf7; --v-azul-claro: #18213a;
  --v-sombra: 0 1px 2px rgb(0 0 0 / .4), 0 18px 48px -24px rgb(0 0 0 / .8);
  --v-sombra-tela: 0 2px 6px rgb(0 0 0 / .35), 0 40px 90px -40px rgb(0 0 0 / .9);
  color-scheme: dark;
}
/* the cinema: always dark, whatever the theme (the stage of the opening) */
.v-escuro, .v-palco {
  --v-fundo: #0b0d12; --v-sup: #141821; --v-sup2: #1a1f2a; --v-linha: #2a3242; --v-linha-forte: #6b7893;
  --v-tinta: #f2f5ff; --v-suave: #b9c3d8; --v-azul: #3a5bd6; --v-azul-hover: #4a6ae0; --v-azul-texto: #b4c4f8; --v-foco: #b4c4f8;
  color-scheme: dark;
}
:root[data-texto="maior"] { font-size: 112.5%; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body.vitrine { margin: 0; background: var(--v-fundo); color: var(--v-tinta); font: 400 1.0625rem/1.6 var(--v-sans); overflow-x: clip; }
.vitrine :is(h1, h2, h3) { font-family: var(--v-serif); font-weight: 500; letter-spacing: -.012em; line-height: 1.08; margin: 0; text-wrap: balance; font-variation-settings: "SOFT" 30, "WONK" 0; }
.vitrine :is(h1, h2) em { font-style: italic; font-weight: 400; letter-spacing: -.005em; }
.vitrine p { margin: 0; text-wrap: pretty; }
.vitrine a { color: var(--v-azul-texto); }
.vitrine img { max-width: 100%; height: auto; display: block; }
.vitrine :focus-visible { outline: 3px solid var(--v-foco); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.so-leitor { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pular { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 10px; background: var(--v-azul); color: #fff !important; font-weight: 700; text-decoration: none; }
.pular:focus { top: 12px; }

/* ---------- buttons and links ---------- */
.v-botao, .v-botao-contorno { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 20px; border-radius: 12px; font: 700 1rem/1.2 var(--v-sans); text-decoration: none; cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s; }
.v-botao { background: var(--v-azul); color: var(--v-sobre-azul) !important; border: 1px solid transparent; }
.v-botao:hover { background: var(--v-azul-hover); }
.v-botao:active, .v-botao-contorno:active { transform: translateY(1px); }
.v-botao-contorno { background: transparent; color: var(--v-tinta) !important; border: 1.5px solid var(--v-linha-forte); }
.v-botao-contorno:hover { border-color: var(--v-tinta); }
.v-botao-grande { min-height: 52px; padding: 14px 26px; font-size: 1.05rem; border-radius: 14px; }
.v-botao-pequeno { min-height: 38px; padding: 8px 14px; font-size: .95rem; border-radius: 10px; }
.v-link { font-weight: 700; text-underline-offset: 4px; }
.v-seta { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v-acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.v-nota { color: var(--v-suave); font-size: .9rem; line-height: 1.5; }
.v-lead { color: var(--v-suave); font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.55; max-width: 38em; }

/* ---------- header ---------- */
.v-topo { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 24px; min-height: 68px; padding: 10px var(--v-gutter); background: color-mix(in srgb, var(--v-fundo) 86%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--v-linha); transition: background-color .25s, border-color .25s, color .25s; }
.v-topo .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--v-tinta); text-decoration: none; font: 600 1.4rem/1 var(--v-serif); letter-spacing: -.01em; }
.v-topo .logo svg, .v-rodape .logo svg { width: 34px; height: 34px; }
.v-topo .logo .perna-lapis, .v-rodape .logo .perna-lapis { stroke: var(--v-tinta); opacity: .75; }
.v-topo .topo-nav { display: flex; gap: 4px; margin-right: auto; }
.v-topo .topo-nav a, .v-link-topo, .v-topo .idioma, .v-topo .troca-mundo { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 12px; border-radius: 10px; color: var(--v-tinta); text-decoration: none; font-weight: 600; font-size: .97rem; }
.v-topo .topo-nav a { color: var(--v-suave); }
.v-topo .topo-nav a:hover, .v-link-topo:hover, .v-topo .idioma:hover, .v-topo .troca-mundo:hover { background: color-mix(in srgb, var(--v-tinta) 8%, transparent); color: var(--v-tinta); }
.topo-acoes { display: flex; align-items: center; gap: 6px; }
.topo-mobile { display: none; margin-left: auto; align-items: center; gap: 8px; }
/* the home header floats over the stage until the page scrolls past it */
.v-home .v-topo { position: fixed; left: 0; right: 0; }
.v-home .v-topo[data-sobre-palco] { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; --v-tinta: #f2f5ff; --v-suave: #c9d2e5; --v-fundo: #0b0d12; --v-sup: #141821; --v-sup2: #1a1f2a; --v-linha: #2a3242; --v-linha-forte: #6b7893; --v-azul: #3a5bd6; --v-azul-texto: #b4c4f8; --v-foco: #b4c4f8; color-scheme: dark; }

/* the Aa panel (and its day/night switch drawn by tema.js) */
.acess { position: relative; }
.acess > summary { list-style: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--v-linha-forte); color: var(--v-tinta); font: 700 .95rem var(--v-serif); cursor: pointer; }
.acess > summary::-webkit-details-marker { display: none; }
.acess[open] > summary { background: var(--v-tinta); color: var(--v-fundo); border-color: var(--v-tinta); }
.acess-painel { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: min(320px, calc(100vw - 32px)); max-height: min(72vh, 560px); overflow: auto; padding: 18px; display: grid; gap: 16px; background: var(--v-sup); color: var(--v-tinta); border: 1px solid var(--v-linha); border-radius: 16px; box-shadow: var(--v-sombra); }
.acess-painel h2 { font: 700 1rem/1.2 var(--v-sans); letter-spacing: 0; }
.acess-grupo { display: grid; gap: 8px; }
.acess-grupo > span { font-size: .9rem; font-weight: 700; color: var(--v-suave); }
.acess-opcoes, .tema-alternancia { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 4px; border-radius: 12px; background: var(--v-sup2); }
.acess-opcoes button, .tema-alternancia button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 6px 10px; border: 0; border-radius: 9px; background: transparent; color: var(--v-tinta); font: 600 .95rem var(--v-sans); cursor: pointer; }
.acess-opcoes button[aria-pressed="true"], .tema-alternancia button[aria-pressed="true"] { background: var(--v-sup); box-shadow: 0 0 0 1.5px var(--v-azul-texto) inset; }
.tema-alternancia svg { width: 18px; height: 18px; }
.acess select { min-height: 38px; border-radius: 10px; border: 1.5px solid var(--v-linha-forte); background: var(--v-sup); color: var(--v-tinta); font: inherit; }

.topo-menu { position: relative; }
.topo-menu > summary { list-style: none; display: inline-flex; align-items: center; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1.5px solid var(--v-linha-forte); color: var(--v-tinta); font-weight: 700; cursor: pointer; }
.topo-menu > summary::-webkit-details-marker { display: none; }
.topo-menu-conteudo { position: absolute; right: 0; top: calc(100% + 10px); z-index: 40; width: min(320px, calc(100vw - 32px)); display: grid; gap: 2px; padding: 12px; background: var(--v-sup); border: 1px solid var(--v-linha); border-radius: 16px; box-shadow: var(--v-sombra); }
.topo-menu-conteudo > a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; color: var(--v-tinta); text-decoration: none; font-weight: 600; }
.topo-menu-conteudo > a:hover { background: var(--v-sup2); }
.topo-menu-conteudo .acess { margin-top: 6px; }
.topo-menu-conteudo .acess > summary { width: 100%; justify-content: start; padding: 0 12px; }
.topo-menu-conteudo .acess-painel { position: static; width: auto; margin-top: 8px; box-shadow: none; }

/* ---------- sections ---------- */
main#conteudo { display: block; overflow-x: clip; }
main#conteudo:focus { outline: none; }
.v-secao { width: min(var(--v-largura), 100% - 2 * var(--v-gutter)); margin: 0 auto; padding: clamp(64px, 9vw, 128px) 0 0; }
.v-cabeca { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.v-cabeca h2, .v-secao > h2 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.4rem); }
.v-h2-simples { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem) !important; }

/* a real screen in a window: the picture of the active theme only */
.vitrine .v-img-escuro { display: none; }
:root[data-tema-ativo="escuro"] .vitrine .v-img-claro { display: none; }
:root[data-tema-ativo="escuro"] .vitrine .v-img-escuro { display: block; }
.v-tela { margin: 0; position: relative; }
.v-tela-janela { border-radius: var(--v-raio-grande); overflow: hidden; background: var(--v-sup); border: 1px solid var(--v-linha); box-shadow: var(--v-sombra-tela); }
.v-tela-janela img { width: 100%; }

/* ======================= HOME: the stage ======================= */
.v-palco { position: relative; min-height: min(100svh, 1080px); display: grid; align-items: center; isolation: isolate; overflow: hidden; background: #0b0d12; color: var(--v-tinta); padding: 104px var(--v-gutter) 72px; }
.v-palco-fundo { position: absolute; inset: 0; z-index: -1; }
.v-poster, .v-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; opacity: .42; transform-origin: 70% 40%; transition: opacity 1.4s ease; }
.v-video { opacity: 0; }
.v-palco[data-video-pronto] .v-video { opacity: .42; }
.v-palco[data-video-pronto] .v-poster { opacity: 0; }
/* the slow Ken Burns of the poster (a living frame while there is no video) */
.v-poster { animation: v-kenburns 38s ease-in-out infinite alternate; }
@keyframes v-kenburns { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.6%, -1%, 0); } }
.v-palco-veu { position: absolute; inset: 0; background: radial-gradient(110% 90% at 14% 55%, rgb(11 13 18 / .9) 0%, rgb(11 13 18 / .6) 40%, rgb(11 13 18 / 0) 78%), linear-gradient(180deg, rgb(11 13 18 / .55) 0%, transparent 22%, transparent 70%, #0b0d12 100%); transition: opacity 1.4s ease; }
.v-particulas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.v-palco-conteudo { position: relative; width: min(var(--v-largura), 100%); margin: 0 auto; display: grid; gap: 22px; justify-items: start; }
.v-marca { font: 600 clamp(4.6rem, 2rem + 9.5vw, 10.5rem)/.86 var(--v-serif); letter-spacing: -.035em; color: #f2f5ff; font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 144; margin: 0 0 8px -.04em; }
.v-palco-h1 { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem); max-width: 17em; color: #f2f5ff; }
.v-palco-h1 em { color: #dfe6ff; }
.v-palco-sub { max-width: 31em; color: #c9d2e5; font-size: clamp(1.05rem, .98rem + .3vw, 1.22rem); line-height: 1.55; }
.v-portas { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); gap: 14px; margin-top: 10px; }
.v-porta { position: relative; display: grid; gap: 4px; padding: 18px 56px 18px 22px; border-radius: 18px; text-decoration: none; color: #f2f5ff; background: rgb(20 24 33 / .72); border: 1px solid #2f3849; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .2s, background-color .2s, transform .2s; }
.v-porta:first-child { background: #2544a8; border-color: #2544a8; }
.v-porta:first-child:hover { background: #2c4fbf; }
.v-porta:hover { border-color: #8fa3d9; transform: translateY(-2px); }
.v-porta strong { font: 600 1.45rem/1.1 var(--v-serif); }
.v-porta span { color: #d3dbee; font-size: .95rem; }
.v-porta:first-child span { color: #e4eaff; }
.v-porta .v-seta { position: absolute; right: 20px; top: 50%; translate: 0 -50%; width: 22px; height: 22px; }
.v-palco-legenda { position: absolute; right: var(--v-gutter); bottom: 22px; max-width: 34em; text-align: right; color: #8f9ab3; font-size: .8rem; }
.v-ver-abertura { position: absolute; right: var(--v-gutter); top: 96px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 14px; border-radius: 999px; border: 1px solid #3a4459; background: rgb(20 24 33 / .7); color: #f2f5ff; font: 600 .9rem var(--v-sans); cursor: pointer; }
.v-ver-abertura svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
/* the opening contract (vitrine.mjs): while "formando", the poster is at 100% and the words wait; never more than 7 s
   even if the script never runs (the CSS lets everything appear on its own) */
:root[data-entrada="formando"] .v-poster { opacity: 1; animation-play-state: paused; }
:root[data-entrada="formando"] .v-palco-veu { opacity: .15; }
:root[data-entrada="formando"] :is(.v-marca, .v-palco-h1, .v-palco-sub, .v-portas, .v-palco-legenda) { opacity: 0; animation: v-aparece .6s ease 7s forwards; }
:root[data-entrada="formando"] .v-home .v-topo { opacity: 0; animation: v-aparece .6s ease 7s forwards; }
:root[data-entrada="formando"][data-fase="caindo"] .v-poster { opacity: .42; transition-duration: 2s; }
:root[data-entrada="formando"][data-fase="caindo"] .v-palco-veu { opacity: 1; transition-duration: 2s; }
:root[data-entrada="revelando"] :is(.v-palco-h1, .v-palco-sub, .v-portas, .v-palco-legenda) { animation: v-sobe .8s cubic-bezier(.2, .7, .2, 1) both; }
:root[data-entrada="revelando"] .v-palco-sub { animation-delay: .12s; }
:root[data-entrada="revelando"] .v-portas { animation-delay: .24s; }
:root[data-entrada="revelando"] .v-palco-legenda { animation-delay: .5s; }
:root[data-entrada="revelando"] .v-home .v-topo { animation: v-aparece .6s ease both; }
@keyframes v-aparece { to { opacity: 1; } }
@keyframes v-sobe { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
/* the full-screen cutscene (only when CUTSCENE exists) */
.v-cutscene { position: fixed; inset: 0; z-index: 100; background: #000; display: grid; place-items: center; }
.v-cutscene video { width: 100%; height: 100%; object-fit: contain; }
.v-cutscene button { position: absolute; right: 20px; top: 20px; min-height: 40px; padding: 8px 14px; border-radius: 10px; border: 1px solid #3a4459; background: rgb(20 24 33 / .8); color: #fff; font: 600 .95rem var(--v-sans); cursor: pointer; }

/* ======================= HOME: the lab ======================= */
.v-lab-corpo { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.v-lab-grade { display: grid; gap: 18px; position: sticky; top: 96px; }
.v-lab-depto-nome { font: 600 1rem/1.2 var(--v-serif); color: var(--v-suave); margin: 0 0 6px 12px; font-style: italic; }
.vitrine .lab-materias { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.vitrine .lab-materias button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 42px; padding: 6px 12px; border-radius: 11px; border: 1px solid transparent; background: transparent; color: var(--v-tinta); font: 600 1rem/1.2 var(--v-sans); text-align: left; cursor: pointer; transition: background-color .15s, border-color .15s; }
.vitrine .lab-materias button:hover { background: var(--v-sup2); transform: none; }
.vitrine .lab-materias button[aria-pressed="true"] { background: var(--v-sup); border-color: var(--v-linha); box-shadow: inset 3px 0 0 var(--v-azul-texto), var(--v-sombra); color: var(--v-tinta); }
.vitrine .lab-materias .lab-ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--v-sup2); color: var(--v-azul-texto); flex: none; }
.vitrine .lab-materias button[aria-pressed="true"] .lab-ic { background: var(--v-azul); color: #fff; }
.vitrine .lab-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.vitrine .lab-mesa { position: relative; border-radius: var(--v-raio-grande); padding: clamp(10px, 1.2vw, 16px); background: var(--v-sup); border: 1px solid var(--v-linha); box-shadow: var(--v-sombra-tela); overflow: hidden; }
.vitrine .lab-mesa::before { display: none; }
.vitrine .lab-palco { min-height: clamp(300px, 40vw, 520px); }
.vitrine .lab-info { margin-top: 12px; border-radius: 12px; background: var(--v-sup2); border: 0; color: var(--v-tinta); font-size: 1rem; }
.vitrine .lab-info::before { content: ""; display: inline-block; width: 3px; height: 1.1em; margin-right: 12px; border-radius: 2px; background: var(--v-azul-texto); vertical-align: -.2em; }
.vitrine .lab-nota { margin-top: 18px; max-width: 64em; }
/* the lab's own tokens, re-pointed to the vitrine (materias.css and lab3d.mjs read these names) */
.vitrine .lab, .vitrine .ea-mesa-lab { --tinta: var(--v-tinta); --papel: var(--v-sup); --folha: var(--v-sup2); --caneta: var(--v-azul-texto); --caneta-forte: var(--v-azul-texto); --caneta-claro: var(--v-azul-claro); --suave: var(--v-suave); --linha: var(--v-linha); --linha-forte: var(--v-linha-forte); --marca-texto: var(--v-ouro); --texto: var(--v-sans); --titulo: var(--v-serif); --mao: var(--v-sans); --caderno-tinta: var(--v-tinta); --papel-ficha: var(--v-sup); --lapis: var(--v-foco); --mesa: var(--v-sup2); --madeira: var(--v-linha-forte); --sombra-forte: none; --sombra-papel: none; }
.vitrine .lab3d { border-radius: 14px; background: var(--v-sup2); }
.vitrine .lab3d-eq { background: rgb(11 13 18 / .78); font-family: var(--v-sans); letter-spacing: 0; }
.vitrine .lab3d-eq.reagiu { background: var(--v-ouro); color: #0f1420; }
.vitrine .lab3d-botoes button { border-radius: 10px; border: 1px solid var(--v-linha-forte); background: var(--v-sup); color: var(--v-tinta); font: 600 .92rem var(--v-sans); }
.vitrine .lab3d-receitas { border-top: 1px solid var(--v-linha); }
.vitrine .lab3d-receitas::before { font: italic 500 1.05rem/1 var(--v-serif); color: var(--v-suave); }
.vitrine .lab3d-receitas button { font: 600 .92rem var(--v-sans); background: var(--v-sup); color: var(--v-tinta); border-style: solid; }
.vitrine .lab3d-foco { background: var(--v-sup); color: var(--v-tinta); border: 1px solid var(--v-linha); }
.vitrine .lab3d-codigo { background: var(--v-sup); color: var(--v-tinta); border: 1px solid var(--v-linha); }
.vitrine .lab3d-codigo .l.ativa { background: color-mix(in srgb, var(--v-ouro) 70%, transparent); color: #0f1420; }
.vitrine .lab3d-controles label { color: var(--v-tinta); }

/* ======================= HOME: one lesson, three moments (the thread) ======================= */
.v-ciclo-lista { list-style: none; margin: 0; padding: 34px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); position: relative; }
/* the thread: the yellow bar of the logo, stretched across the three moments (the only yellow of the page) */
.v-ciclo-lista::before { content: ""; position: absolute; left: 22px; right: 0; top: 55px; height: 4px; border-radius: 4px; background: var(--v-ouro); transform-origin: left; transform: scaleX(var(--fio, 1)); transition: transform 1.6s cubic-bezier(.3, .6, .2, 1); }
.v-ciclo-lista[data-fio="esperando"] { --fio: 0; }
.v-ciclo-item { position: relative; display: grid; gap: 12px; align-content: start; }
.v-ciclo-n { position: relative; z-index: 1; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--v-fundo); border: 2px solid var(--v-ouro); color: var(--v-tinta); font: 600 1.25rem/1 var(--v-serif); margin-bottom: 6px; }
.v-ciclo-item h3 { font-size: 1.6rem; }
.v-ciclo-item p { color: var(--v-suave); }
.v-tela-recorte { margin-top: 10px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--v-linha); background: var(--v-sup); box-shadow: var(--v-sombra); }
.v-tela-recorte img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* each moment shows the part of the screen that tells it, at a readable size */
.v-tela-recorte.v-foco-hoje img { width: 150%; max-width: none; height: auto; margin: -2% 0 0 -2%; }
.v-tela-recorte.v-foco-aula img { width: 128%; max-width: none; height: auto; margin: -1% 0 0 -1%; }
.v-tela-recorte.v-foco-ficha img { width: 150%; max-width: none; height: auto; margin: -2% 0 0 -2%; }
.v-ciclo-volta { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: 20px 0 14px; font: italic 400 1.2rem var(--v-serif); color: var(--v-suave); }
.v-ciclo-volta svg { width: 40px; height: 24px; fill: none; stroke: var(--v-suave); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ======================= HOME: two sides ======================= */
.v-lados-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 28px; }
.v-lado { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: var(--v-raio-grande); background: var(--v-sup); border: 1px solid var(--v-linha); color: var(--v-tinta); text-decoration: none; box-shadow: var(--v-sombra); transition: transform .25s, border-color .25s; }
.v-lado:hover { transform: translateY(-3px); border-color: var(--v-linha-forte); }
.v-tela-lado { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--v-linha); }
.v-tela-lado img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.v-lado-texto { display: grid; gap: 10px; padding: 24px 26px 26px; }
.v-lado-texto strong { font: 500 1.75rem/1.1 var(--v-serif); }
.v-lado-texto > span:not(.v-lado-cta) { color: var(--v-suave); }
.v-lado-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--v-azul-texto); }

/* ======================= privacy, early access, FAQ ======================= */
.v-priv-lista { margin: 28px 0 22px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--v-linha); }
.v-priv-lista > div { padding: 22px 22px 0 0; }
.v-priv-lista > div + div { padding-left: 22px; border-left: 1px solid var(--v-linha); }
.v-priv-lista dt { font: 600 1.2rem/1.2 var(--v-serif); margin-bottom: 8px; }
.v-priv-lista dd { margin: 0; color: var(--v-suave); font-size: .98rem; }
.v-acesso { text-align: left; }
.v-acesso { display: grid; gap: 20px; justify-items: start; padding-bottom: 8px; }
.v-acesso h2 { font-size: clamp(2.4rem, 1.4rem + 3vw, 4rem); }
.v-honesto { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--v-suave); font-size: .95rem; }
.v-honesto li::before { content: "Sem: "; font-weight: 700; color: var(--v-tinta); }
:root[lang="en"] .v-honesto li::before { content: "No: "; }
.v-faq { margin-top: 24px; border-top: 1px solid var(--v-linha); max-width: 880px; }
.v-faq details { border-bottom: 1px solid var(--v-linha); }
.v-faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 20px 4px; cursor: pointer; font: 600 1.15rem/1.35 var(--v-sans); }
.v-faq summary::-webkit-details-marker { display: none; }
.v-faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 2px solid var(--v-suave); border-bottom: 2px solid var(--v-suave); rotate: 45deg; transition: rotate .2s; }
.v-faq details[open] summary::after { rotate: 225deg; }
.v-faq details p { padding: 0 4px 22px; color: var(--v-suave); max-width: 46em; }

/* ---------- footer ---------- */
.v-rodape { width: min(var(--v-largura), 100% - 2 * var(--v-gutter)); margin: clamp(80px, 10vw, 140px) auto 0; padding: 36px 0 44px; border-top: 1px solid var(--v-linha); display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: start; }
.v-rodape .logo { display: inline-flex; align-items: center; gap: 10px; color: var(--v-tinta); text-decoration: none; font: 600 1.35rem/1 var(--v-serif); }
.v-rodape-marca p { margin-top: 10px; color: var(--v-suave); font: italic 400 1.1rem var(--v-serif); }
.v-rodape ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 6px; justify-content: flex-end; }
.v-rodape ul a { display: inline-flex; min-height: 36px; align-items: center; padding: 4px 10px; color: var(--v-tinta); font-weight: 600; text-decoration: none; border-radius: 8px; }
.v-rodape ul a:hover { background: var(--v-sup2); }
.v-rodape-feito { grid-column: 1 / -1; color: var(--v-suave); font-size: .9rem; }

/* ======================= TEACHERS and STUDENTS: the hero ======================= */
.v-heroi { width: min(1320px, 100% - 2 * var(--v-gutter)); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: calc(min(100svh, 980px) - 68px); padding: clamp(32px, 5vw, 64px) 0; }
.v-heroi-texto { display: grid; gap: 22px; justify-items: start; }
.v-heroi h1 { font-size: clamp(2.5rem, 1.4rem + 3.1vw, 4.3rem); }
.v-heroi-cena { position: relative; padding-bottom: 54px; }
.v-heroi-cena .v-camada-1 { width: 108%; max-width: none; }
.v-heroi-cena .v-camada-2 { position: absolute; left: -9%; bottom: 0; width: 54%; border-radius: 18px; overflow: hidden; box-shadow: var(--v-sombra-tela); }
.v-tela-flutua img { width: 100%; }
/* the studio: the window leans into the page */
.v-prof .v-heroi-cena { perspective: 1800px; }
.v-prof .v-heroi-cena .v-camada-1 { transform: rotateY(-7deg) rotateX(2deg); transform-origin: left center; }
/* the student: lighter, rounder, the notebook rests over the day */
/* the student: one centered voice, then the day rising from the bottom of the screen, the notebook resting on it */
.v-alu .v-heroi { grid-template-columns: 1fr; justify-items: center; text-align: center; min-height: 0; gap: 48px; padding-top: clamp(48px, 7vw, 96px); }
.v-alu .v-heroi-texto { justify-items: center; max-width: 860px; }
.v-alu .v-heroi-texto .v-lead { margin-inline: auto; }
.v-alu .v-heroi-texto .v-acoes { justify-content: center; }
.v-alu .v-heroi h1 { font-size: clamp(2.4rem, 1.3rem + 3.2vw, 4.6rem); }
.v-alu .v-heroi-cena { width: min(1100px, 100%); padding-bottom: 0; }
.v-alu .v-tela-janela { border-radius: 28px; }
.v-alu .v-heroi-cena .v-camada-1 { width: 88%; margin-inline: auto; }
.v-alu .v-heroi-cena .v-camada-2 { left: auto; right: 0; bottom: -28px; width: 40%; border-radius: 22px; rotate: 2deg; }

/* ======================= TEACHERS: pains → cures ======================= */
.v-razao { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--v-linha); }
.v-razao li { display: grid; grid-template-columns: minmax(0, 5fr) 48px minmax(0, 7fr); align-items: center; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--v-linha); }
.v-razao-dor { color: var(--v-suave); font: 400 1.3rem/1.25 var(--v-serif); }
.v-razao-seta { color: var(--v-azul-texto); display: grid; place-items: center; }
.v-razao-cura { font-size: 1.08rem; }
.v-partes { display: grid; gap: clamp(64px, 8vw, 120px); }
.v-parte { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.v-parte-inversa { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
.v-parte-inversa .v-parte-texto { order: 2; }
.v-parte-texto { display: grid; gap: 16px; }
.v-parte-texto p { color: var(--v-suave); font-size: 1.1rem; }
.v-partes > .v-nota { margin-top: -40px; }
.v-tela-larga { margin-top: 8px; }
.v-audio { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.v-audio-texto { display: grid; gap: 16px; }
.v-audio-texto > p { color: var(--v-suave); font-size: 1.1rem; max-width: 34em; }
.v-tela-solta img { width: 100%; max-width: 640px; border-radius: 20px; }
.v-tela-solta figcaption { margin-top: 8px; }
.v-audio-eco { display: grid; gap: 14px; padding: 28px; border-radius: var(--v-raio-grande); background: var(--v-sup); border: 1px solid var(--v-linha); }
.v-audio-eco h3 { font-size: 1.5rem; }
.v-audio-eco > p { color: var(--v-suave); }
.eco-demo { display: grid; gap: 14px; }
.eco-frase { font: italic 400 1.35rem/1.3 var(--v-serif); }
.eco-lados { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eco-lado { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--v-linha-forte); background: var(--v-sup2); color: var(--v-tinta); font: inherit; text-align: left; cursor: pointer; }
.eco-lado strong { display: block; font-size: 1rem; }
.eco-lado small { color: var(--v-suave); font-size: .85rem; }
.eco-lado .play { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--v-azul); }
.eco-lado .play svg { width: 18px; height: 18px; fill: #fff; }
.eco-lado .ic-pausa, .eco-lado[aria-pressed="true"] .ic-tocar { display: none; }
.eco-lado[aria-pressed="true"] .ic-pausa { display: block; }
.eco-demo .v-botao-contorno { justify-self: start; }

/* ======================= STUDENTS ======================= */
.v-cartoes { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.v-cartoes li { display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 20px; background: var(--v-sup); border: 1px solid var(--v-linha); }
.v-cartao-dor { font: 500 1.3rem/1.2 var(--v-serif); }
.v-cartao-cura { color: var(--v-suave); }
.v-passos ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: passo; }
.v-passos li { counter-increment: passo; display: grid; gap: 8px; padding: 26px; border-radius: 20px; background: var(--v-azul-claro); }
.v-passos li::before { content: counter(passo); font: 500 2.4rem/1 var(--v-serif); color: var(--v-azul-texto); }
.v-passos h3 { font-size: 1.4rem; }
.v-passos p { color: var(--v-suave); }
.v-dois { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0 20px; }
.v-dois > div { padding: 26px; border-radius: 20px; border: 1px solid var(--v-linha); background: var(--v-sup); }
.v-dois h3 { font-size: 1.35rem; margin-bottom: 12px; }
.v-dois ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; color: var(--v-suave); }
.v-dois li { position: relative; padding-left: 22px; }
.v-dois li::before { content: ""; position: absolute; left: 0; top: .72em; width: 12px; height: 2px; border-radius: 2px; background: var(--v-azul-texto); }
.v-coluna-seu { background: var(--v-azul-claro) !important; border-color: transparent !important; }
.v-alu .v-parte { width: min(var(--v-largura), 100% - 2 * var(--v-gutter)); }
.v-alu .v-parte-texto h2 { font-size: clamp(2rem, 1.2rem + 2.2vw, 3rem); }

/* ---------- arrival of the screens (one quiet settle, once) ---------- */
/* never hidden: a screen that never gets its turn (print, a crawler, a screenshot) is still all there */
[data-chega] { transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
[data-chega="esperando"] { transform: translateY(28px) scale(.98); }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .v-topo .topo-nav { display: none; }
  .topo-acoes { margin-left: auto; }
}
@media (max-width: 900px) {
  .v-heroi, .v-alu .v-heroi { grid-template-columns: 1fr; min-height: 0; }
  .v-heroi-cena .v-camada-1 { width: 100%; }
  .v-prof .v-heroi-cena .v-camada-1 { transform: none; }
  .v-heroi-cena .v-camada-2 { left: auto; right: 0; width: 56%; }
  .v-lab-corpo { grid-template-columns: 1fr; }
  .v-lab-grade { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-ciclo-lista, .v-lados-grade, .v-cartoes, .v-passos ol, .v-dois, .v-audio { grid-template-columns: 1fr; }
  .v-ciclo-lista::before { left: 21px; right: auto; top: 34px; bottom: 0; width: 4px; height: auto; transform-origin: top; transform: scaleY(var(--fio, 1)); }
  .v-ciclo-item { padding-left: 64px; }
  .v-ciclo-n { position: absolute; left: 0; top: 0; }
  .v-priv-lista { grid-template-columns: 1fr 1fr; }
  .v-priv-lista > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .v-parte, .v-parte-inversa { grid-template-columns: 1fr; }
  .v-parte-inversa .v-parte-texto { order: 0; }
  .v-razao li { grid-template-columns: 1fr; gap: 6px; }
  .v-razao-seta { display: none; }
}
@media (max-width: 760px) {
  .topo-acoes { display: none; }
  .topo-mobile { display: flex; }
  .v-topo { gap: 10px; min-height: 60px; }
  .v-palco { padding-top: 92px; align-items: end; min-height: min(100svh, 860px); }
  .v-portas { grid-template-columns: 1fr; width: 100%; }
  .v-palco-legenda { position: static; text-align: left; margin-top: 18px; }
  .v-lab-grade { grid-template-columns: 1fr; }
  .vitrine .lab-materias { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .v-priv-lista { grid-template-columns: 1fr; }
  .v-priv-lista > div + div { padding-left: 0; border-left: 0; }
  .v-rodape { grid-template-columns: 1fr; }
  .v-rodape ul { justify-content: flex-start; }
  .eco-lados { grid-template-columns: 1fr; }
  .v-heroi-cena { padding-bottom: 40px; }
}

/* ---------- less motion: the system's or the Aa panel's ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vitrine *, .vitrine *::before, .vitrine *::after { animation: none !important; transition: none !important; }
  [data-chega] { opacity: 1; transform: none; }
  .v-ciclo-lista { --fio: 1 !important; }
}
:root[data-movimento="reduzido"] { scroll-behavior: auto; }
:root[data-movimento="reduzido"] .vitrine *, :root[data-movimento="reduzido"] .vitrine *::before, :root[data-movimento="reduzido"] .vitrine *::after { animation: none !important; transition: none !important; }
:root[data-movimento="reduzido"] [data-chega] { opacity: 1; transform: none; }
:root[data-movimento="reduzido"] .v-ciclo-lista { --fio: 1 !important; }
