@charset "utf-8";
/* Thi Lima: home nova (protótipo) */

:root {
  --preto: #000;
  --fundo-2: #0a0a0c;
  --grafite: #17171b;
  --linha: #2a2a31;
  --texto: #f1efea;
  --cinza: #8c8c95;
  --rosa: #ED1A4D;
  --azul: #16BFFF;
  --degrade: linear-gradient(103deg, var(--rosa) 0%, var(--azul) 100%);
  --cor: var(--rosa);            /* cor do curso ativo */

  /* Tipografia: títulos em Radix; todo o resto (texto, botões, menu, idiomas, legendas em caixa alta) em Instrument Sans, como no Vantra. */
  --display: "Radix", "Instrument Sans", "Arial", sans-serif;
  --corpo: "Instrument Sans", system-ui, sans-serif;   /* texto corrido (igual ao .b-corrido do design system Vantra) */
  --dw: 700;          /* peso dos títulos */
  --dls: -.035em;     /* espaçamento dos títulos */
  --dlh: 1.02;        /* entrelinha dos títulos */
  --ds: 1;            /* escala geral dos títulos */

  /* Escala por papel (multiplicada por --ds) */
  --t-hero: clamp(42px, 9vw, 130px);
  --t-h2: clamp(34px, 4.2vw, 64px);   /* hanusek .h2 */
  --t-h3: 40px;                       /* hanusek .card h3 (30px no celular) */
  --t-h4: clamp(26px, 2.6vw, 38px);
  --t-num: clamp(28px, 2.8vw, 42px);
  --t-lead: clamp(17px, 1.3vw, 20px);
  --gutter: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.1,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; font-synthesis: none; }
body { margin: 0; background: var(--preto); color: var(--texto); font: 400 16px/1.55 var(--corpo); letter-spacing: normal; -webkit-font-smoothing: antialiased; overflow-x: clip; }
main { overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--azul); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.muted { color: #d8d6d0; }   /* subtítulos das seções: cinza claro (o mesmo do subtítulo dos prêmios) */
.link { color: var(--texto); text-decoration: none; transition: color .2s; }
.link:hover { color: var(--rosa); }
.todo { font-size: 12px; color: #000; background: #ffd400; padding: 1px 6px; margin-left: 6px; border-radius: 2px; }
.sec-title { font: var(--dw) calc(var(--ds) * var(--t-h2))/var(--dlh, 1.04) var(--display); margin: 0 0 .4em; text-wrap: balance; }

/* botões (referência enviada pelo Thi): pílula com texto em negrito e a seta junto do texto, "Ver Curso →".
   Padrão branco; hover rosa com texto branco. O menu de topo (.top__cta) tem estilo próprio e não usa .btn. */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border: 0; border-radius: 999px; background: #fff; color: #111; font: 700 16px/1 var(--corpo); letter-spacing: normal; text-decoration: none; cursor: pointer; transition: transform .3s var(--ease), background .25s, color .25s; }
.btn::after { content: "\2192" / ""; display: inline-block; transition: transform .35s var(--ease); }
.btn:hover { background: var(--rosa); color: #fff; transform: translateY(-2px); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--line[aria-disabled="true"] { padding: 13px 22px; background: #1c1c21; color: var(--cinza); cursor: default; }   /* "Disponível em breve": sem ação */
.btn--line[aria-disabled="true"]::after { content: none; }
.btn--line[aria-disabled="true"]:hover { background: #1c1c21; color: var(--cinza); transform: none; }

/* link de texto (referência: hanusek.com): Instrument Sans 12px, caixa alta, sublinhado; ↗ quando sai da página */
.tlink { font: 400 12px var(--corpo); text-transform: uppercase; letter-spacing: normal; color: var(--texto); text-underline-offset: 3px; margin-left: 6px; transition: color .2s; }
.tlink:hover { color: var(--rosa); }

/* granulação de filme */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-3%)} 60%{transform:translate(-2%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* topo (referência: hanusek.com): barra solta na largura toda, sem fundo, links em Instrument Sans 12px caixa alta */
.top { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px clamp(20px, 3.4vw, 48px); background: #131316; pointer-events: none; }   /* faixa preta reta, sem degradê, em todas as telas */
.top__bar { display: flex; align-items: center; gap: 22px; color: #efefef; text-shadow: 0 1px 14px rgba(0,0,0,.5); pointer-events: auto; }
.top__logo { display: flex; flex-shrink: 0; }
.top__logo img { width: 46px; height: auto; }
.top__fill { flex: 1; }
.top__nav { display: flex; gap: 22px; }
.top__nav a { position: relative; white-space: nowrap; text-decoration: none; color: #efefef; opacity: .85; font: 500 12px/16px var(--corpo); letter-spacing: normal; text-transform: uppercase; transition: opacity .2s, color .2s, font-weight .2s; }
.top__nav a:hover { opacity: 1; color: var(--rosa); font-weight: 600; }
.top__nav a[aria-current="true"] { opacity: 1; }
.top__nav a[aria-current="true"]::before { content: ""; position: absolute; left: -11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--rosa); }
/* idiomas: pílula e texto reduzidos juntos (10px, ~27px de altura); Área de membros: 32px, a altura do "Contact" do hanusek */
.lang { display: flex; padding: .17em; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(239,239,239,.28); font-size: 10px; } /* pílula + texto em escala 0,83 da versão de 32px: tudo em em */
.lang a { padding: .5em .85em; border-radius: 999px; text-align: center; text-decoration: none; color: #efefef; font: 400 1em/1.333 var(--corpo); letter-spacing: .02em; text-transform: uppercase; transition: background .25s steps(3), color .25s steps(3); }
.lang a:hover { background: rgba(239,239,239,.14); }
.lang a[aria-current="true"] { background: #efefef; color: #0b0b0b; text-shadow: none; }
.top__cta { flex-shrink: 0; padding: 8px 14px; border: 0; border-radius: 999px; background: var(--rosa); color: #fff; text-decoration: none; white-space: nowrap; text-shadow: none; font: 500 12px/16px var(--corpo); letter-spacing: normal; text-transform: uppercase; transition: background .25s, color .25s; }
.top__cta:hover { background: #efefef; color: #0b0b0b; }

@media (max-width: 1040px) { .top__bar { gap: 16px; } .top__nav { gap: 18px; } }

/* progresso da página: bolinhas */
.hud { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 50; }
.hud__bar { display: flex; flex-direction: column; gap: 6px; }
.hud__bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.18); transition: background .3s, box-shadow .3s; }
.hud__bar i.on { background: var(--rosa); box-shadow: 0 0 6px var(--rosa); }

/* fio de pixels */

/* ---------- HERO ---------- */
.hero { position: relative; height: 330vh; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero__canvas, .hero__poster { position: absolute; inset: -3%; width: 106%; height: 106%; max-width: none; object-fit: cover; will-change: transform; }
.hero__poster { transition: opacity .4s; }
.hero__poster.is-hidden { opacity: 0; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, #000d 0%, #0007 38%, #0000 62%),
  linear-gradient(0deg, #000 0%, #0000 22%); pointer-events: none; }
.hero__copy { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-46%); max-width: 760px; will-change: opacity, filter, transform; }
.kinetic { margin: 0; font: var(--dw) calc(var(--ds) * var(--t-hero))/var(--dlh, .95) var(--display); }
.kinetic span { display: block; will-change: transform; }
.kinetic span:nth-child(3) { color: var(--rosa); }
.kinetic .dot { font-style: normal; color: #fff; }
/* subtítulo igual ao ".lead" do hanusek.com ("This is just one example team..."): Instrument Sans 400, 20px, entrelinha 1,5, sem espaçamento extra, até 640px, 28px abaixo.
   A cor deles (#6B6862) é para fundo claro; texto claro em fundo escuro parece mais grosso com o mesmo peso (400),
   então o tom foi reduzido para 60% para dar a mesma impressão de leveza */
.hero__sub { max-width: 640px; margin: 24px 0 28px; font-size: 20px; font-weight: 300; line-height: 1.5; letter-spacing: .007em; color: rgba(251, 250, 247, .72); }
.hero__sub { margin-bottom: 18px; }
.hero__tools { display: flex; gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; }
.hero__tools img { display: block; width: 32px; height: 32px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 6px 16px rgba(0,0,0,.45); transition: transform .25s ease; }
.hero__tools img:hover { transform: translateY(-2px); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__deep { position: absolute; inset: auto var(--gutter) 22vh auto; max-width: 620px; text-align: right; opacity: 0; filter: blur(14px); will-change: opacity, filter; }
.hero__deep h2 { margin: 0; font: var(--dw) calc(var(--ds) * var(--t-h2))/1.04 var(--display); text-wrap: balance; }
.hero__deep-kicker { margin: 0 0 10px; color: var(--azul); }
.hero__scroll { position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); margin: 0; font-size: 13px; color: var(--cinza); }
.hero__scroll::after { content: ""; display: block; width: 1px; height: 34px; margin: 8px auto 0; background: linear-gradient(var(--rosa), transparent); animation: drip 1.6s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0%{transform:scaleY(0)} 60%{transform:scaleY(1)} 100%{transform:scaleY(1);opacity:0} }

/* ---------- CURSOS ---------- */
.courses { position: relative; height: 560vh; }
.courses__stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.courses__worlds, .world { position: absolute; inset: 0; }
.world { opacity: 0; transition: opacity .9s var(--ease); }
.world.is-on { opacity: 1; }
.world .world__still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.world video, .world .world__ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(.35) brightness(.45) blur(2px); transform: scale(1.06); }
.world__ph { background: radial-gradient(60% 70% at 70% 40%, color-mix(in srgb, var(--wc) 40%, #000) 0%, #000 70%); }
.world::after { content: ""; position: absolute; inset: 0; background:
  radial-gradient(55% 60% at 32% 55%, color-mix(in srgb, var(--wc) 30%, transparent) 0%, transparent 70%),
  linear-gradient(90deg, #0008, #000c 70%); }
.world__tag { position: absolute; right: var(--gutter); top: 116px; z-index: 2; font-size: 12px; }

.courses__rail { position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%); z-index: 5; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.courses__rail button { background: none; border: 0; padding: 0; cursor: pointer; color: #ffffff55; font: 500 15px var(--corpo); display: flex; align-items: center; gap: 10px; transition: color .3s; }
.courses__rail button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; transition: background .3s, box-shadow .3s; }
.courses__rail button[aria-current="true"] { color: #fff; }
.courses__rail button[aria-current="true"]::before { background: var(--cor); box-shadow: 0 0 10px var(--cor); }

.courses__track { position: absolute; inset: 0; z-index: 4; }
.course { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 4vw; padding: 90px var(--gutter) 60px calc(var(--gutter) + 170px); pointer-events: none; }
.course.is-on { pointer-events: auto; }

/* coluna da TV 3D */
.tab-wrap { perspective: 1400px; display: grid; place-items: center; min-width: 0; }   /* minmax(0,…) na grade do .course + min-width: 0: a capa de um curso (Tyflow) não alarga a coluna e desloca o texto */
.tv-static { display: block; max-width: 100%; max-height: min(62vh, 560px); width: auto; height: auto; object-fit: contain; user-select: none; -webkit-user-drag: none; opacity: 0; transition: opacity .6s var(--ease); }   /* plano B sem WebGL */
.course.is-on .tv-static { opacity: 1; }

.c-info { max-width: 600px; opacity: 0; transform: translateX(40px); filter: blur(8px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s; }
.course.is-on .c-info { opacity: 1; transform: none; filter: none; transition-delay: .15s; }
.course.is-past .c-info { transform: translateX(-40px); }
.c-info h3 { margin: 0 0 .3em; font: var(--dw) calc(var(--ds) * var(--t-h3))/1 var(--display); }
/* selo de lançamento: mesmo tipo de etiqueta de "aulas"/"horas" (.specs dt), em rosa com texto preto, reto e sem parallax; entra junto com os textos (é um .kw) */
.c-tagrow { margin: 0 0 12px; }
.c-tag { display: inline-block; padding: 5px 9px 4px; border-radius: 5px; background: var(--rosa); color: #000; font: 700 12px/1.4 var(--corpo); letter-spacing: normal; text-transform: uppercase; white-space: nowrap; }
.c-info h3.glitch { animation: glitch .32s steps(2) 1; }
@keyframes glitch { 0%{text-shadow:-4px 0 var(--rosa),4px 0 var(--azul);transform:translateX(3px)} 50%{text-shadow:3px 0 var(--rosa),-3px 0 var(--azul);transform:translateX(-2px) skewX(-6deg)} 100%{text-shadow:none;transform:none} }
.c-info .c-line { margin: 0 0 22px; color: #d8d6d0; font-size: 18px; max-width: 19em; text-wrap: balance; line-height: 1.5; }
.c-info .c-line .is-b { color: inherit; font-weight: inherit; }   /* negritos desligados por ora: as marcações *palavra* no app.js ficam guardadas */
/* números grandes lado a lado, na cor do curso (--ink); rótulo pequeno embaixo */
.specs { margin: 0 0 26px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.specs div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.specs dd { order: 1; margin: 0; padding-left: 9px; /* alinha o número com o texto da etiqueta (que tem 9px de respiro dentro do fundo escuro) */ font: var(--dw) calc(var(--ds) * clamp(20px, 2vw, 29px))/1 var(--display); letter-spacing: -.02em; font-variant-numeric: lining-nums;
  color: var(--ink, #fff); }
.specs dt { order: 2; align-self: flex-start; padding: 5px 9px 4px; border-radius: 5px; background: #0b0b0c; color: #f2f2f0; white-space: nowrap; }   /* etiqueta escura, sem contorno */
.course--pack .specs div { align-items: center; }   /* Mastering Archviz Pack: número centralizado sobre a etiqueta (Cursos / Aulas / Horas) */
.course--pack .specs dd { padding-left: 0; }
.course--pack .specs dt { align-self: center; }
.promo { display: inline-block; margin: 0 0 24px; padding: 6px 12px; border: 1px solid var(--ink, #fff); border-radius: 999px; color: var(--ink, #fff); font-size: 15px; font-weight: 600; }
.c-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.state-soon .price strong { color: var(--cinza); }

.courses__dots { display: none; }

/* ---------- GALERIA ---------- */
.gallery { --pad: clamp(20px, 3.4vw, 48px); --gap: 7px; --cols: 4; padding: 22vh var(--pad) 14vh; position: relative; z-index: 4; }
/* transição vitrine → renders dos alunos: o fundo dos cursos escurece até o preto da galeria, em degradê suave (curva easeInOut) */
.gallery::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 70vh; pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.02) 10%, rgba(0,0,0,.08) 22%, rgba(0,0,0,.2) 36%, rgba(0,0,0,.38) 50%, rgba(0,0,0,.6) 64%, rgba(0,0,0,.82) 78%, rgba(0,0,0,.95) 90%, #000 100%); }
.gallery__head { margin-bottom: 28px; margin-left: max(0px, calc((100% - min(1240px, 100% + 2 * var(--pad) - 2 * var(--gutter))) / 2)); }   /* alinhado à coluna dos demais títulos (.wrap), e não à borda da grade */
.gallery__head .sec-title { margin-bottom: 8px; }
.gallery__head .muted { margin: 0; font-size: 18px; }
.gallery__wrap { --tile: calc((100vw - 2 * var(--pad) - (var(--cols) - 1) * var(--gap)) / var(--cols) * 9 / 16); position: relative; }
.gallery__grid { display: flex; align-items: flex-start; gap: var(--gap); height: calc(var(--tile) * 3.45 + var(--gap) * 3); overflow: hidden; }
.g-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
/* véu preto opaco sobre cada imagem: do 62% da grade (transparente) até o fim dela (preto) */
.g-item::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to bottom, rgba(0,0,0,0) calc(var(--gh, 9999px) * .62 - var(--y, 0px)), #000 calc(var(--gh, 9999px) - var(--y, 0px))); }
/* mancha escura logo abaixo da grade: continua o preto das imagens e some para baixo, então fios e cores do fundo surgem aos poucos (sem corte seco) */
.gallery__wrap::after { content: ""; position: absolute; z-index: 1; left: calc(-1 * var(--pad)); right: calc(-1 * var(--pad)); top: calc(100% - 1px); height: 26vh; pointer-events: none;
  background: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.9) 14%, rgba(0,0,0,.72) 30%, rgba(0,0,0,.48) 48%, rgba(0,0,0,.26) 66%, rgba(0,0,0,.1) 84%, rgba(0,0,0,0) 100%); }
.g-item { position: relative; display: block; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 6px; overflow: hidden; }
.g-item img { display: block; width: 100%; height: auto; background: #121214; transition: filter .3s, transform .5s var(--ease); }
.g-item:hover img { filter: brightness(1.12); transform: scale(1.03); }
.g-item:focus-visible { outline: 2px solid var(--rosa); outline-offset: 2px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(0,0,0,.95); animation: lbIn .25s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(94vw, 1800px); max-height: 90vh; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb__x, .lb__nav { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(0,0,0,.62); box-shadow: 0 0 0 1px rgba(255,255,255,.18); backdrop-filter: blur(6px); color: #efefef; font: 300 30px/1 var(--corpo); cursor: pointer; transition: background .2s; }   /* fundo escuro: aparece bem sobre imagens claras */
@media (hover: hover) { .lb__x:hover, .lb__nav:hover { background: var(--rosa); } }   /* só com mouse: no toque o hover ficava preso em rosa */
.lb__x:active, .lb__nav:active { background: var(--rosa); }
.lb__x { top: 20px; right: 20px; font-size: 34px; }
.lb__nav { top: 50%; translate: 0 -50%; }
.lb__prev { left: 20px; } .lb__next { right: 20px; }
.lb__n { position: absolute; bottom: 20px; left: 50%; translate: -50% 0; font-size: 12px; color: var(--cinza); }
@keyframes lbIn { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lightbox { animation: none; } .g-item:hover img { transform: none; } }
.gallery__more { position: absolute; left: 50%; bottom: calc(var(--tile) * .45 - 22px); translate: -50% 0; z-index: 2; white-space: nowrap; }

/* ---------- ESCOLHER ---------- */

/* ---------- PRÊMIOS ---------- */
.awards { padding: 12vh 0; position: relative; z-index: 4; }
.awards__head { margin-bottom: 9vh; text-align: left; position: relative; isolation: isolate; }
/* mancha escura atrás do título e do texto: escurece os fios do fundo só nessa área, para facilitar a leitura */
.awards__head::before { content: ""; position: absolute; z-index: -1; inset: -36px -60px -36px -48px; border-radius: 40px; background: rgba(5, 5, 6, .82); filter: blur(34px); pointer-events: none; }
.awards__head .muted { max-width: 70ch; margin: 0; text-wrap: balance; color: #d8d6d0; }
.awards__head .muted b { font-weight: 600; color: #fff; }
.awards__head .muted b.pink { color: var(--rosa); }
/* grade de selos (referência: "Brand Experience" enviada pelo Thi), na ordem do site antigo; sem cartões, só o selo e uma legenda curta */
.prizes { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 9vh 24px; }
.prize { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.prize i { display: grid; place-items: center; width: 100%; height: 76px; margin-bottom: 14px; }
.prize__pic { position: relative; display: inline-block; line-height: 0; transition: transform .5s var(--ease); }
.prize img { max-width: 124px; max-height: 70px; width: auto; height: auto; }
.prize:hover .prize__pic { transform: translateY(-4px) scale(1.04); }
.prize .medal { position: absolute; top: -12px; left: -12px; width: 22px; height: auto; filter: drop-shadow(0 2px 4px rgba(0,0,0,.5)); }
.prize b { font: 600 15px/1.25 var(--corpo); color: var(--texto); }
.prize span { font: 500 13px/1.35 var(--corpo); color: var(--rosa); max-width: 20ch; }
@media (max-width: 1000px) { .prizes { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .prizes { grid-template-columns: repeat(3, 1fr); gap: 4vh 10px; } .prize { gap: 4px; } .prize i { height: 56px; margin-bottom: 8px; } .prize img { max-width: 84px; max-height: 48px; } .prize b { font-size: 12.5px; } .prize span { font-size: 11px; } }
@media (max-width: 340px) { .prize img { max-width: 70px; max-height: 42px; } .prize b { font-size: 11.5px; } }
.awards__n { color: var(--rosa); }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__in { display: flex; width: max-content; align-items: center; animation: marq 60s linear infinite; }
.marquee a { flex: none; display: block; margin-right: 72px; line-height: 0; }
.marquee img { display: block; opacity: .75; filter: grayscale(1); transition: opacity .3s, filter .3s; }
.marquee img:hover { opacity: 1; filter: none; }
.marquee--firms { display: grid; gap: 34px; }
.marquee--firms img { opacity: .6; }
.marquee--firms img:hover { opacity: 1; }
.marquee__row.rev .marquee__in { animation-direction: reverse; animation-duration: 72s; }
.marquee__row:hover .marquee__in { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-33.3333%); } }

/* ---------- DEPOIMENTOS ---------- */
.quotes { padding: 14vh 0; position: relative; z-index: 4; }
/* cartões copiados do design system Vantra (.tm-*): mesmas proporções, raio, espaçamentos e escala de texto, com a nossa família (--corpo) */
.tm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.tm-head .sec-title { margin: 0; }
.tm-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.tm-view { grid-column: 2 / -1; overflow: hidden; border-radius: 28px; min-width: 0; }
.tm-track { display: flex; gap: 15px; height: 100%; transition: transform .7s var(--ease); }
.tm-track .tm-card { flex: 0 0 calc((100% - 30px) / 3); }
.tm-card { aspect-ratio: 360 / 481; border-radius: 28px; padding: 30px; background: #151516; display: flex; flex-direction: column; justify-content: space-between; gap: 52px; min-width: 0; font-family: var(--corpo); }
.tm-card.rev { flex-direction: column-reverse; }
.tm-card.score { aspect-ratio: auto; background: #0A0A0A; color: #F5F4F0; border: 1px solid rgb(245 244 240 / .16); }
.tm-stars { display: block; width: 120px; height: 24px; margin-top: 22px; }   /* 5 estrelas douradas logo abaixo da nota */
.tm-score-row { display: flex; align-items: center; gap: 19px; }
.tm-score { font: 400 50.6px/.9 var(--corpo); display: flex; align-items: baseline; gap: 3px; }
.tm-score small { font-size: 17.8px; }
.tm-score-text { font-size: 14.1px; line-height: 19.7px; color: rgb(245 244 240 / .82); }
.tm-faces { display: flex; align-items: center; gap: 11px; }
.tm-stack { display: flex; flex-shrink: 0; }
.tm-stack img { flex: 0 0 48px; width: 48px; height: 48px; border-radius: 999px; object-fit: cover; }
.tm-stack img + img { margin-left: -14px; }
.tm-faces-label { min-width: 0; font-size: 11.7px; line-height: 18.2px; text-transform: uppercase; color: rgb(245 244 240 / .82); }
.tm-person { display: flex; align-items: center; gap: 11px; }
.tm-person img { width: 56px; height: 56px; border-radius: 999px; object-fit: cover; }
.tm-name { font: 500 16.9px/1 var(--corpo); letter-spacing: -.01em; margin-bottom: 6px; }
.tm-role { font-size: 11.7px; line-height: 1.1; text-transform: uppercase; color: rgb(245 244 240 / .48); }
.tm-role a { color: inherit; text-decoration: underline; text-decoration-color: rgb(245 244 240 / .3); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.tm-role a:hover { color: var(--rosa); text-decoration-color: var(--rosa); }
.tm-quote { margin: 0; font: 500 18.8px/1.3 var(--corpo); }
.quote__nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0 9vh; }
.quote__nav button { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--linha); background: var(--preto); cursor: pointer; color: #fff; font-size: 20px; transition: background .2s, border-color .2s; }
.quote__nav button:hover { background: var(--rosa); border-color: var(--rosa); color: #fff; }
.tm-count { font: 400 12px/1.4 var(--corpo); letter-spacing: normal; text-transform: uppercase; color: #fff; min-width: 9ch; text-align: center; }
@media (max-width: 1000px) {
  .tm-row { grid-template-columns: 1fr; }
  .tm-view { grid-column: 1; }
  .tm-track .tm-card { flex-basis: calc((100% - 15px) / 2); }
  .tm-card.score { aspect-ratio: auto; }
}
@media (max-width: 640px) {
  .tm-head { flex-direction: column; align-items: flex-start; }
  .tm-track .tm-card { flex-basis: 100%; aspect-ratio: auto; gap: 28px; padding: 26px; }   /* celular: altura = a do depoimento mais longo (os cartões do trilho se igualam), sem cinza vazio */
}
.sec-title.quotes__firms { margin: clamp(70px, 12vh, 130px) 0 clamp(48px, 8vh, 88px); }

/* ---------- SOBRE ---------- */
.about { padding: 14vh 0; display: grid; grid-template-columns: .9fr 1fr; gap: 6vw; align-items: center; position: relative; z-index: 4; }
.about__photo { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.about__photo img { width: 54%; height: auto; aspect-ratio: 1; border-radius: 50%; position: relative; z-index: 1; }
.about__waves { position: absolute; inset: -8%; width: 116%; height: 116%; }
.about__waves path { fill: none; stroke-width: 1.2; }
.about__text p { max-width: 34em; color: #d8d6d0; font: 400 16.9px/1.55 var(--corpo); }
.stats { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 36px; margin: 30px 0 34px; }
.stats div { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; }
.stats dt { color: var(--cinza); font-size: 14px; }
.stats dd { margin: 0; font: var(--dw) calc(var(--ds) * var(--t-num) * .8)/1 var(--display); color: var(--rosa); font-variant-numeric: lining-nums tabular-nums; }

/* ---------- FINAL e RODAPÉ ---------- */
.final { padding: 18vh 0 calc(16vh + 10px); text-align: center; position: relative; z-index: 4; }
.kinetic--final { font-size: calc(var(--ds) * var(--t-hero)); margin: 0 auto 40px; width: fit-content; text-align: left; }   /* bloco centralizado na tela, palavras alinhadas à esquerda entre si */
.kinetic--final > span { display: block; }
/* entrada por tempo (mola), disparada por .is-in (JS): cada palavra vem de um lado, passa um pouco do ponto e assenta; o botão sobe depois */
.final { --spring: cubic-bezier(.34, 1.5, .64, 1); }
@supports (transition-timing-function: linear(0, 1)) {
  .final { --spring: linear(0, 0.215, 0.445, 0.66, 0.843, 0.984, 1.081, 1.138, 1.162, 1.161, 1.143, 1.115, 1.084, 1.054, 1.028, 1.007, 0.992, 0.983, 0.979, 0.978, 0.98, 0.983, 0.987, 0.992, 0.995, 0.998, 1.001, 1.002, 1.003, 1.003, 1.003, 1.002, 1.002, 1.001, 1.001, 1, 1); }
}
.final .kinetic--final > span { opacity: 0; filter: blur(10px); transition: opacity .2s ease-in, transform .2s ease-in, filter .2s ease-in; }
.final:not(.is-in) .btn { opacity: 0; }
.final .kinetic--final > span:nth-child(1) { transform: translateX(-34vw) rotate(-3deg); }
.final .kinetic--final > span:nth-child(2) { transform: translateX(34vw) rotate(3deg); }
.final .kinetic--final > span:nth-child(3) { transform: translateX(-22vw) rotate(-2deg); }
.final.is-in .kinetic--final > span { opacity: 1; filter: none; transform: none; transition: opacity .45s cubic-bezier(.22, 1, .36, 1), transform 1.1s var(--spring), filter .5s cubic-bezier(.22, 1, .36, 1); }
.final.is-in .kinetic--final > span:nth-child(2) { transition-delay: .09s; }
.final.is-in .kinetic--final > span:nth-child(3) { transition-delay: .18s; }
.final.is-in .btn { animation: finalBtn 1s var(--spring) .4s backwards; }
@keyframes finalBtn { from { opacity: 0; transform: translateY(1.4em); filter: blur(8px); } }
@media (prefers-reduced-motion: reduce) { .final .kinetic--final > span { opacity: 1; filter: none; transform: none; transition: none; } .final .btn { opacity: 1; animation: none; } }
.proto-note { position: fixed; right: 12px; bottom: 12px; z-index: 60; margin: 0; font-size: 11px; color: #000; background: #ffd400; padding: 4px 8px; border-radius: 2px; }

/* Títulos: espaçamento e entrelinha por papel, iguais ao hanusek.com (depois dos atalhos "font:", que zeram isso)
   hero -0,045em / 0,92 · h2 -0,035em / 1,02 · título de card -0,03em / 1 · números e preços -0,02em */
.kinetic { letter-spacing: -.045em; line-height: .92; }
.kinetic--final { line-height: .95; }
.sec-title, .hero__deep h2 { letter-spacing: -.035em; line-height: 1.02; margin-bottom: 28px; }
.hero__deep h2 { margin-bottom: 0; }
.c-info h3, .price strong { letter-spacing: -.02em; }

/* Legendas: Instrument Sans 12px/1,4 em caixa alta (como no Vantra, que não usa fonte mono) */
.hero__deep-kicker, .specs dt, .stats dt, .world__tag, .hero__scroll { font-family: var(--corpo); font-size: 12px; line-height: 1.4; text-transform: uppercase; letter-spacing: normal; }

/* ---------- CELULAR ---------- */
@media (max-width: 860px) {
  :root { --t-h3: 30px; }
  .top__nav, .lang { display: none; }
  .top { padding-top: 12px; padding-bottom: 12px; }
  .top__bar { gap: 14px; }
  .top__logo img { width: 40px; }
  .hero__shade { background: linear-gradient(0deg, #000 0%, #000a 45%, #0003 100%); }
  .hero__copy { top: auto; bottom: 12vh; transform: none; right: var(--gutter); }
  .hero__deep { inset: auto var(--gutter) 30vh var(--gutter); text-align: left; }
  .hud { display: none; }

  /* vitrine dos cursos no celular: fixa na tela como no desktop (o fundo do peixe virando cabos continua com a rolagem), com a TV em PNG
     flutuando em cima e o texto do curso embaixo; cada curso ocupa um trecho da rolagem */
  .courses__rail, .tab-wrap, .courses__play { display: none; }
  .courses__stage { display: flex; flex-direction: column; padding: calc(var(--bf-h, 0px) + 74px) 0 0; }
  .courses__mtv { position: relative; z-index: 3; flex: 1 1 0; min-height: 140px; pointer-events: none; }
  .mtv__float { position: absolute; inset: 0 var(--gutter); transform-style: preserve-3d; will-change: transform; }
  .mtv__stack { position: absolute; inset: 0; }
  .mtv__stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0; user-select: none; -webkit-user-drag: none;
    filter: drop-shadow(0 22px 22px rgb(0 0 0 / .5)); will-change: transform, opacity, filter; }
  .mtv__stack img.is-on { opacity: 1; }
  /* sombra de chão: encolhe e clareia quando a TV sobe (--f, de 0 a 1, vem do JS) */
  .mtv__shadow { position: absolute; left: 22%; right: 22%; bottom: -3%; height: 7%; border-radius: 50%; background: radial-gradient(closest-side, rgb(0 0 0 / .55), transparent);
    transform: scale(calc(1 - var(--f, .5) * .14)); opacity: calc(.95 - var(--f, .5) * .35); filter: blur(5px); }
  .courses__track { position: relative; inset: auto; z-index: 4; display: grid; flex: none; }
  .course { position: relative; inset: auto; grid-area: 1 / 1; display: block; align-self: end; padding: 4px var(--gutter) 6px; }
  .c-info { max-width: none; }
  .c-info h3 { font-size: calc(var(--ds) * 28px); }
  .c-info .c-line { margin: 0 0 14px; font-size: 15.5px; line-height: 1.45; max-width: none; }
  .specs { margin: 0 0 14px; gap: 10px 18px; }
  .specs dd { font-size: calc(var(--ds) * 22px); }
  .courses__dots { position: relative; z-index: 5; display: flex; justify-content: center; gap: 4px; flex: none; padding: 4px 0 calc(14px + env(safe-area-inset-bottom, 0px)); }
  .courses__dots i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle closest-side, #ffffff45 0 28%, transparent 31%); cursor: pointer; transition: background .3s; }
  .courses__dots i.on { background: radial-gradient(circle closest-side, var(--cor) 0 36%, transparent 40%); }

  .stats { grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 8px; }   /* celular: os 4 números numa linha só */
  .gallery { --cols: 2; }
  .gallery__grid { height: calc(var(--tile) * 5.3 + var(--gap) * 3); }   /* celular: mais uma linha de imagens antes do degradê */
  .about { grid-template-columns: 1fr; gap: 44px; padding: 10vh 0 12vh; }   /* celular: a foto com as linhas fica em cima do título */
  .about__photo { width: min(80vw, 360px); margin: 0 auto; }
  .about__photo img { width: 58%; }
    .kinetic--final > span { display: block; }
  .world__tag { display: none; }
  .proto-note { font-size: 10px; left: 12px; right: 12px; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain, .marquee__in, .hero__scroll::after { animation: none; }
  .btn:hover { transform: none; }
  .world, .tm-track { transition: none; }
}

/* Teste: Radix (fonte do site antigo, servida pelo Wix) só no título do hero. Reverter: apagar este bloco */
@font-face { font-family: "Radix"; font-weight: 700; font-display: swap; src: url("https://static.parastorage.com/fonts/v2/cc5cecd5-4c42-466d-ba33-617246e001c8/v1/radix.latin.woff2") format("woff2"); unicode-range: U+20-7E, U+A0-AC, U+AE-FF, U+131, U+152-153, U+2C6, U+2DA, U+2DC, U+2013-2014, U+2018-201A, U+201C-201E, U+2022, U+2026, U+2039-203A, U+2044, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212; }
@font-face { font-family: "Radix"; font-weight: 700; font-display: swap; src: url("https://static.parastorage.com/fonts/v2/cc5cecd5-4c42-466d-ba33-617246e001c8/v1/radix.latin-ext.woff2") format("woff2"); unicode-range: U+100-107, U+10A-113, U+116-11B, U+11E-123, U+126-12B, U+12E-130, U+132-133, U+136-137, U+139-13E, U+141-148, U+14A-14D, U+150-151, U+154-15B, U+15E-16B, U+16E-17E, U+18F, U+192, U+218-21B, U+237, U+259, U+1E80-1E85, U+1E9E, U+1EF2-1EF3, U+1EF8-1EF9, U+2020; }
.hero .kinetic { font-family: "Radix", var(--display); font-weight: 700; letter-spacing: -.02em; line-height: .92; }

/* subtítulo do hero em Instrument Sans (mesma fonte do texto do design system Vantra) */
.hero__sub { font-family: var(--corpo); font-weight: 400; letter-spacing: 0; margin: 4px 0 28px; }

/* Logos dos cursos escondidos no hero por enquanto (reverter: apagar esta linha; o HTML e as imagens continuam) */
.hero__tools { display: none; }

/* Radix nos títulos (fonte do site antigo). Radix é mais larga que a Instrument Sans, então o espaçamento dos títulos sobe de -.035em para -.02em. */
.sec-title, .hero__deep h2 { letter-spacing: -.02em; }
.c-info h3, .chooser__out h3, .stats dd, .price strong { letter-spacing: -.01em; }
.kinetic--final { letter-spacing: -.02em; line-height: .92; }
.pink { color: var(--rosa); }

/* TV 3D da vitrine */
.courses__tv { position: absolute; z-index: 3; left: 150px; top: 0; width: 52%; height: 100%; display: none; pointer-events: none; }
.courses.tv-on .courses__tv, .courses__stage.tv-on .courses__tv { display: block; }
.courses__stage.tv-on .tab-wrap { visibility: hidden; }
.courses__play { position: absolute; z-index: 6; left: 150px; bottom: 7vh; width: 52%; max-width: 360px; margin-left: calc(26% - 180px); background: none; border: 0; color: transparent; font-size: 0; height: 0; padding: 0; overflow: hidden; }
.courses__play:focus-visible { height: auto; padding: 10px 16px; font-size: 14px; color: #fff; background: #000c; outline: 2px solid var(--rosa); }
.courses__play.nudge { height: auto; padding: 10px 16px; font-size: 14px; color: #fff; background: #000c; }
.courses__play.is-off { display: none; }                         /* curso sem vídeo próprio (pack): sem botão de play */
@media (max-width: 860px) { .courses__tv, .courses__play, .tv-loader { display: none !important; } }
/* tela baixa (celular deitado, janela curta): o texto do hero encolhe para caber entre a barra do topo e o rodapé da tela, sem ficar escondido atrás do menu */
@media (max-height: 560px) {
  .hero .kinetic { font-size: calc(var(--ds) * clamp(30px, 13.5svh, 56px)); }
  .hero__copy { top: auto; bottom: max(14px, 4svh); transform: none; }
  .hero__sub { margin: 10px 0 12px; font-size: 15px; line-height: 1.4; }
  .hero__tools { margin-bottom: 12px; }
  .hero__scroll { display: none; }
}
/* tablet em pé: a TV não toma a tela toda (limite de altura) e o texto fica maior, em coluna centralizada */
@media (min-width: 600px) and (max-width: 860px) {
  .courses__mtv { flex: 0 0 min(52svh, 520px); margin-top: 3svh; }
  .courses__track { flex: 1 1 auto; align-content: center; width: min(100%, 640px); margin-inline: auto; }
  .course { align-self: start; padding: 4px calc(var(--gutter) + 6px); }   /* todos os cursos começam na mesma altura */
  .c-info h3 { font-size: calc(var(--ds) * 38px); }
  .c-info .c-line { font-size: 19px; margin-bottom: 18px; }
  .specs { gap: 12px 26px; }
  .specs dd { font-size: calc(var(--ds) * 28px); }
  .promo { font-size: 16px; }
}
/* tablet em pé: a tela é muito alta e os espaços em vh entre as seções ficavam enormes; aqui eles encolhem */
@media (min-width: 600px) and (max-width: 860px) and (orientation: portrait) {
  .gallery { padding-top: 9vh; padding-bottom: 8vh; }
  .awards { padding: 8vh 0; }
  .awards__head { margin-bottom: 5vh; }
  .prizes { gap: 5vh 20px; }
  .quotes { padding: 8vh 0; }
  .quote__nav { margin-bottom: 5vh; }
  .about { padding: 8vh 0 9vh; }
  .final { padding: 11vh 0 calc(9vh + 10px); }
  .foot { padding-top: clamp(60px, 8vh, 100px); }
  .foot__lead { margin-bottom: clamp(50px, 7vh, 80px); }
}
/* celular deitado (até 860px de largura e tela baixa): TV à esquerda, texto à direita e bolinhas embaixo, tudo dentro da tela */
@media (max-width: 860px) and (max-height: 560px) {
  .courses__stage { display: grid; grid-template-columns: 1fr 1.1fr; grid-template-rows: minmax(0, 1fr) auto; column-gap: 2vw; padding: calc(var(--bf-h, 0px) + 58px) var(--gutter) 0; }
  .courses__mtv { grid-column: 1; grid-row: 1; flex: none; min-height: 0; margin: 0; }
  .mtv__float { inset: 0; }
  .courses__track { grid-column: 2; grid-row: 1; align-self: center; width: auto; margin: 0; }
  .course { align-self: center; padding: 0; }
  .c-info h3 { font-size: calc(var(--ds) * 24px); }
  .c-tagrow { margin-bottom: 6px; }
  .c-info .c-line { font-size: 13.5px; line-height: 1.4; margin-bottom: 8px; }
  .specs { gap: 6px 16px; margin-bottom: 8px; }
  .specs dd { font-size: calc(var(--ds) * 19px); }
  .specs div { gap: 6px; }
  .promo { margin-bottom: 8px; font-size: 13px; padding: 4px 10px; }
  .courses__dots { grid-column: 1 / -1; grid-row: 2; padding: 0 0 calc(4px + env(safe-area-inset-bottom, 0px)); margin: 0 calc(var(--gutter) * -1); }
  .courses__dots i { width: 22px; height: 22px; }
}
/* tablet deitado / notebook pequeno: sem o menu lateral (bolinhas embaixo, como no celular); TV na metade esquerda e texto com a metade direita inteira */
@media (min-width: 861px) and (max-width: 1180px) {
  .courses__rail { display: none; }
  .courses__dots { position: absolute; z-index: 5; left: 0; right: 0; bottom: max(2.5vh, 14px); display: flex; justify-content: center; gap: 4px; }
  .courses__dots i { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle closest-side, #ffffff45 0 28%, transparent 31%); cursor: pointer; transition: background .3s; }
  .courses__dots i.on { background: radial-gradient(circle closest-side, var(--cor) 0 36%, transparent 40%); }
  .courses__tv, .tv-loader { left: 0; width: 50%; }
  .courses__play { left: 0; width: 50%; margin-left: 0; }
  .course { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3vw; padding: 90px var(--gutter) 70px var(--gutter); }   /* minmax(0,…): a capa de um curso (Tyflow) não alarga a primeira coluna e desloca o texto */
  .tab-wrap { min-width: 0; overflow: hidden; }
  .c-info { max-width: none; }
  .c-info h3 { font-size: calc(var(--ds) * 36px); }
  .c-info .c-line { font-size: 17px; max-width: 22em; margin-bottom: 20px; }
  .specs { gap: 12px 24px; margin-bottom: 20px; }
  /* todos os cursos começam na mesma altura (antes cada bloco era centralizado e o de texto mais curto ficava deslocado) */
  .course { align-items: start; padding-top: max(calc(var(--bf-h, 0px) + 74px), calc(50svh - 150px)); }
}
@media (min-width: 861px) and (max-width: 1180px) and (max-height: 560px) {
  .course { padding-top: calc(var(--bf-h, 0px) + 74px); padding-bottom: 44px; }
  .c-info h3 { font-size: calc(var(--ds) * 28px); }
  .c-tagrow { margin-bottom: 6px; }
  .c-info .c-line { font-size: 15px; line-height: 1.4; margin-bottom: 10px; }
  .specs { gap: 8px 20px; margin-bottom: 10px; }
  .specs div { gap: 6px; }
  .specs dd { font-size: calc(var(--ds) * 21px); }
  .promo { margin-bottom: 8px; }
}

/* ---------- Morph do peixe em cabos: fundo contínuo de todos os cursos (desktop) ---------- */
.courses__morph { position: absolute; inset: 0; width: 100%; height: 100%; display: none; }
.courses__stage.morph-on .courses__morph { display: block; }
.courses__stage.morph-on .world { opacity: 0 !important; transition: none; }   /* os vídeos continuam tocando: a TV os usa como tela */
.courses__stage.morph-on::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(rgb(0 0 0 / calc(var(--tv, 0) * .38)), rgb(0 0 0 / calc(var(--tv, 0) * .38))), linear-gradient(90deg, transparent 38%, rgb(0 0 0 / calc(var(--tv, 0) * .4)) 72%, rgb(0 0 0 / calc(var(--tv, 0) * .67)) 100%), radial-gradient(75% 80% at 40% 50%, transparent 55%, rgb(0 0 0 / calc(var(--tv, 0) * .4)) 100%); }   /* os degradês também entram com --tv: na emenda com o mergulho a imagem não pode escurecer de repente. Camada uniforme escurece o fundo junto com a entrada da vitrine (--tv 0→1) para os textos lerem melhor */

/* emenda hero > cursos: a vitrine começa a fixar exatamente quando o hero termina (sem a "queda" de uma tela no meio) */
@media all {
  .courses { margin-top: -100vh; margin-top: -100svh; }
  .courses { height: 800vh; }
  /* itens surgem em ordem, empurrados pela rolagem: TV, lista de cursos, depois os textos palavra por palavra (--r) */
  /* easing nas animações presas à rolagem: o progresso linear (0-1) vira ease-out quíntico, 1 - (1-t)^5: arranca rápido e assenta devagar */
  /* a TV sobe de baixo com mola (anima por tempo, disparada pela rolagem via .tv-in): passa um pouco do ponto, volta e assenta; opacidade e blur entram junto */
  .courses__stage.morph-on :is(.courses__tv, .courses__mtv) {
    opacity: 0; transform: translateY(46vh) scale(.9); filter: blur(12px);
    transition: opacity .5s cubic-bezier(.22, 1, .36, 1), filter .7s cubic-bezier(.22, 1, .36, 1), transform .55s cubic-bezier(.5, 0, .75, 0);
  }
  .courses__stage.morph-on.tv-in :is(.courses__tv, .courses__mtv) {
    opacity: 1; transform: none; filter: none;
    transition: opacity .6s cubic-bezier(.22, 1, .36, 1), filter .8s cubic-bezier(.22, 1, .36, 1), transform 1.5s cubic-bezier(.34, 1.45, .64, 1);
  }
  @supports (transition-timing-function: linear(0, 1)) {
    .courses__stage.morph-on.tv-in :is(.courses__tv, .courses__mtv) {
      transition-timing-function: cubic-bezier(.22, 1, .36, 1), cubic-bezier(.22, 1, .36, 1),
        linear(0, 0.215, 0.445, 0.66, 0.843, 0.984, 1.081, 1.138, 1.162, 1.161, 1.143, 1.115, 1.084, 1.054, 1.028, 1.007, 0.992, 0.983, 0.979, 0.978, 0.98, 0.983, 0.987, 0.992, 0.995, 0.998, 1.001, 1.002, 1.003, 1.003, 1.003, 1.002, 1.002, 1.001, 1.001, 1, 1);
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .courses__stage.morph-on :is(.courses__tv, .courses__mtv), .courses__stage.morph-on.tv-in :is(.courses__tv, .courses__mtv) { transition: opacity .3s; transform: none; filter: none; }
  }
  .courses__stage.morph-on :is(.courses__rail, .courses__dots) { opacity: var(--rail, 1); }
  .courses__stage.morph-on :is(.kw, .specs > div, .promo, .c-actions) {
    --k: clamp(0, calc((var(--r, 1) * 30 - var(--i, 0)) / 7), 1);
    --e: calc(1 - (1 - var(--k)) * (1 - var(--k)) * (1 - var(--k)) * (1 - var(--k)) * (1 - var(--k)));
    opacity: clamp(0, calc(var(--k) * 1.6), 1);
    transform: translateY(calc((1 - var(--e)) * .85em)) rotate(calc((1 - var(--e)) * 2.5deg));
    transform-origin: 0 100%; filter: blur(calc((1 - var(--e)) * 10px));
  }
  .courses__stage.morph-on .kw { display: inline-block; }

  /* depois da apresentação inicial, a troca de curso é por tempo (não por rolagem): palavra a palavra, escalonada, com desaceleração
     longa (expo-out). A saída é curta e sem atraso, para não atropelar a entrada do próximo curso */
  /* mola nos textos: sobem de baixo, passam um pouco do ponto e assentam (mesma curva da TV); entrada mais rápida (atraso 26ms por palavra) */
  .courses__stage { --spring: cubic-bezier(.34, 1.5, .64, 1); }
  @supports (transition-timing-function: linear(0, 1)) {
    .courses__stage { --spring: linear(0, 0.215, 0.445, 0.66, 0.843, 0.984, 1.081, 1.138, 1.162, 1.161, 1.143, 1.115, 1.084, 1.054, 1.028, 1.007, 0.992, 0.983, 0.979, 0.978, 0.98, 0.983, 0.987, 0.992, 0.995, 0.998, 1.001, 1.002, 1.003, 1.003, 1.003, 1.002, 1.002, 1.001, 1.001, 1, 1); }
  }
  .courses__stage.reveal-done :is(.kw, .specs > div, .promo, .c-actions) {
    opacity: 0; transform: translateY(1.5em) rotate(3deg); filter: blur(8px);
    transition: opacity .18s ease-in, transform .18s ease-in, filter .18s ease-in;
  }
  .courses__stage.reveal-done .course.is-on :is(.kw, .specs > div, .promo, .c-actions) {
    opacity: 1; transform: none; filter: none;
    transition: opacity .4s cubic-bezier(.22, 1, .36, 1), transform .9s var(--spring), filter .45s cubic-bezier(.22, 1, .36, 1);
    transition-delay: calc(.04s + var(--i, 0) * 26ms);
  }
  .courses__stage.reveal-done .c-info, .courses__stage.reveal-done .course.is-on .c-info { transform: none; filter: none; transition: opacity .2s; }
  .courses__stage.reveal-done .course.is-on .c-info { transition-delay: 0s; }
  @media (prefers-reduced-motion: reduce) {
    .courses__stage.reveal-done :is(.kw, .specs > div, .promo, .c-actions),
    .courses__stage.reveal-done .course.is-on :is(.kw, .specs > div, .promo, .c-actions) { transition: none; transform: none; filter: none; }
  }
}

@media (max-width: 860px) {
  /* escurece de baixo para cima (o texto fica embaixo) em vez do degradê lateral do desktop */
  .courses__stage.morph-on::before { background: linear-gradient(rgb(0 0 0 / calc(var(--tv, 0) * .3)), rgb(0 0 0 / calc(var(--tv, 0) * .3))), linear-gradient(180deg, transparent 30%, rgb(0 0 0 / calc(var(--tv, 0) * .72)) 64%, rgb(0 0 0 / calc(var(--tv, 0) * .93)) 100%); }
}

/* ---------- PÁGINAS DE GALERIA (alunos e portfólio) ---------- */
.gp { --pad: clamp(20px, 3.4vw, 48px); --gap: 3px; padding: 84px 0 12vh; position: relative; z-index: 4; }
.gp-head { margin-bottom: clamp(28px, 5vh, 56px); }
.gp-head .sec-title { margin-bottom: 8px; }
.gp-head .muted { margin: 0; font-size: 18px; }
.gp-grid { display: flex; align-items: flex-start; gap: var(--gap); min-height: 60vh; }
.gp-col { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.gp-item { position: relative; border-radius: 6px; overflow: hidden; background: #121214; }
.gp-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gp-open img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s ease, transform .6s var(--ease), filter .3s; }
.gp-open img.is-in { opacity: 1; }
.gp-item:hover .gp-open img { transform: scale(1.03); filter: brightness(1.1); }
.gp-open:focus-visible { outline: 2px solid var(--rosa); outline-offset: -2px; }
.gp-play { position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; translate: -50% -50%; border-radius: 50%; background: rgb(0 0 0 / .75); border: 0; pointer-events: none; transition: background .25s, scale .25s var(--ease); }
.gp-play::after { content: ""; position: absolute; left: 16px; top: 13px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent #fff; }
.gp-item:hover .gp-play { background: var(--rosa); scale: 1.08; }
/* coração de curtir: aparece ao passar o mouse (sempre visível no celular e quando já curtido) */
.gp-like { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgb(0 0 0 / .5); color: #fff; cursor: pointer; opacity: 0; transition: opacity .2s, background .2s; }
.gp-item:hover .gp-like, .gp-like:focus-visible { opacity: 1; }   /* desktop: o coração aparece ao passar o mouse na imagem */
@media (hover: none), (max-width: 1180px) { .gp-item .gp-like { display: none; } }   /* celular/tablet: sem coração nas miniaturas; só na imagem em tela cheia (.lb__like) */
.gp-like:hover { background: rgb(0 0 0 / .72); }
.gp-like svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }
.gp-like[aria-pressed="true"] svg { fill: var(--rosa); stroke: var(--rosa); }
.gp-like.pop svg { animation: heartPop .45s var(--ease); }
@keyframes heartPop { 0% { scale: 1; } 35% { scale: 1.45; } 100% { scale: 1; } }
.gp-end { padding: 0 var(--pad); display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 14vh; text-align: center; }
.gp-end .muted { margin: 0; font-size: 20px; }
/* tela cheia: foto/vídeo no centro, curtir e contador embaixo */
.lb__stage { display: grid; place-items: center; max-width: 94vw; max-height: 88vh; }
.lb__stage iframe { width: min(94vw, 1500px, 150vh); aspect-ratio: 16 / 9; border: 0; border-radius: 4px; background: #000; }
.lb__stage iframe[hidden], .lb__stage img[hidden] { display: none; }
/* barra do player de vídeo: play/pausa à esquerda da linha do tempo, tempo e tela cheia à direita */
.lb__media.is-video { grid-template-rows: auto auto; place-items: stretch; }
.lb__media.is-video iframe { width: min(100vw - 176px, 1500px, 150vh); }   /* deixa espaço para as setas dos lados: elas não ficam por cima do vídeo */
@media (max-width: 700px) {
  .lb__media.is-video iframe { width: 94vw; }
  .lightbox.lb--video .lb__nav { top: auto; bottom: 2px; translate: none; }   /* celular: nos vídeos as setas descem para os lados do contador */
  .lightbox.lb--video .lb__prev { left: calc(50% - 104px); }
  .lightbox.lb--video .lb__next { right: auto; left: calc(50% + 56px); }
}
.lightbox img.is-low { filter: blur(1.5px); }
.lb__bar { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; align-items: center; gap: 14px; }
.lb__bar .lb__n { position: static; translate: none; }
.lb__media { position: relative; display: grid; place-items: center; }
.lb__like[hidden] { display: none; }
.lb__like { transition: opacity .3s, background .2s; }
.lightbox.lb--likeoff .lb__like { opacity: 0; pointer-events: none; }
.lb__like { position: absolute; top: 12px; right: 12px; z-index: 2; opacity: 1; background: rgb(0 0 0 / .45); backdrop-filter: blur(6px); }   /* sobre a imagem, no canto superior direito, mesma distância do topo e da lateral */
.lb__like:hover { background: rgb(255 255 255 / .2); }
.gp-page .top__nav a[aria-current="true"] { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .gp-open img, .gp-play, .gp-like { transition: none; } .gp-like.pop svg { animation: none; } .gp-item:hover .gp-open img { transform: none; } }

/* cabos 3D (lines3d.js): do fim da galeria de alunos até a foto do Sobre; fica atrás das seções (z 4) e só aparece nesse trecho */
.cables { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; visibility: hidden; }

/* ---------- REDES SOCIAIS (Sobre e rodapé) ---------- */
.social { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: rgb(245 244 240 / .55); transition: color .25s, transform .3s var(--ease); }
.social a:hover, .social a:focus-visible { color: var(--rosa); transform: translateY(-2px); }
.social svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.social--about { margin: 22px 0 0 -10px; }
.social--about a { color: rgb(245 244 240 / .42); }
@media (max-width: 860px) { .about__text > .btn { display: flex; width: fit-content; margin-inline: auto; } .social--about { justify-content: center; margin: 22px 0 0; } }   /* celular: botão e ícones centralizados */
@media (prefers-reduced-motion: reduce) { .social a { transition: color .25s; } .social a:hover { transform: none; } }

/* ---------- RODAPÉ ---------- */
.foot { padding: clamp(80px, 14vh, 150px) 0 36px; position: relative; z-index: 4; }
.foot__lead { max-width: 21em; margin: 0 0 clamp(70px, 12vh, 130px); font: var(--dw) clamp(26px, 3.3vw, 48px)/1.14 var(--display); color: #f5f4f0; text-wrap: balance; }
.foot__lead .dim { color: var(--cinza); }
.foot__grid { display: grid; grid-template-columns: minmax(230px, 1.5fr) repeat(4, minmax(120px, 1fr)); gap: 40px 28px; align-items: start; }
.foot__brand { display: grid; gap: 28px; justify-items: start; }
.foot__brand img { display: block; }
.foot__col { display: grid; gap: 13px; align-content: start; font: 400 15px/1.3 var(--corpo); }
.foot__col h3 { margin: 0 0 9px; font: 600 14px/1.3 var(--corpo); color: #f5f4f0; }
.foot__col a { color: var(--cinza); text-decoration: none; transition: color .2s; overflow-wrap: anywhere; }
.foot__col a:hover { color: #fff; }
.social--foot { display: grid; grid-template-columns: repeat(3, 42px); gap: 10px; }
.social--foot a { width: 42px; height: 42px; border-radius: 11px; background: rgb(245 244 240 / .09); color: #f5f4f0; }
.social--foot a:hover, .social--foot a:focus-visible { background: var(--rosa); color: #fff; }
@media (max-width: 860px) { .social--foot { grid-template-columns: repeat(6, minmax(0, 42px)); gap: 8px; } }   /* celular: ícones do rodapé numa linha só */
.foot__bar { margin: clamp(60px, 10vh, 110px) 0 0; padding-top: 26px; border-top: 1px solid var(--linha); font: 400 13px/1.4 var(--corpo); color: var(--cinza); }
@media (max-width: 980px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot__brand { grid-column: 1 / -1; } }
.foot__ig { display: inline-flex; align-items: center; gap: 2px; }
.foot__ig svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- PÁGINAS LEGAIS (termos e privacidade) ---------- */
.legal { width: min(820px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(120px, 18vh, 180px) 0 clamp(40px, 8vh, 90px); position: relative; z-index: 4; }
.legal .sec-title { margin-bottom: 14px; }
.legal__date { margin: 0 0 clamp(36px, 7vh, 64px); font: 400 15px/1.4 var(--corpo); color: var(--cinza); }
.legal h2 { margin: clamp(40px, 7vh, 64px) 0 18px; font: var(--dw) clamp(21px, 2.1vw, 28px)/1.2 var(--display); color: #f5f4f0; text-wrap: balance; }
.legal__body > h2:first-child { margin-top: 0; }
.legal p, .legal li { font: 400 16.9px/1.65 var(--corpo); color: #d8d6d0; }
.legal p { margin: 0 0 14px; }
.legal p:has(.n) { padding-left: 2.8em; }
.legal p .n { display: inline-block; width: 2.8em; margin-left: -2.8em; color: var(--cinza); font-variant-numeric: tabular-nums; }
.legal strong { font-weight: 600; color: #f5f4f0; }
.legal ul { margin: 0 0 14px; padding: 0 0 0 1.25em; display: grid; gap: 9px; }
.legal li::marker { color: var(--rosa); }
.legal a { color: var(--rosa); text-decoration: none; transition: color .2s; }
.legal a:hover { color: #fff; }


/* títulos de seção: palavras apagadas que acendem com a rolagem */
.ink .w { opacity: .14; transition: opacity .25s linear; }
.ink .w.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ink .w { opacity: 1; transition: none; } }

.kinetic .w { display: inline; }

/* botão "voltar ao topo": aparece depois do hero, canto inferior direito */
.to-top { position: fixed; right: clamp(16px, 2.2vw, 32px); bottom: clamp(16px, 2.2vw, 32px); z-index: 70; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 1px solid rgb(245 244 240 / .1); border-radius: 10px; background: #1a1a1c; color: #cfcfd2; cursor: pointer;
  opacity: 0; transform: translateY(12px); pointer-events: none; visibility: hidden; transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s, background .2s, color .2s, border-color .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .3s, transform .4s var(--ease), visibility 0s, background .2s, color .2s, border-color .2s; }
.to-top svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.to-top:hover, .to-top:focus-visible { background: var(--rosa); border-color: var(--rosa); color: #fff; }
@media (prefers-reduced-motion: reduce) { .to-top, .to-top.is-on { transition: none; transform: none; } }

/* telas de toque / pequenas: áreas de toque de pelo menos 32px nos links do rodapé, no logo e no botão da faixa Black Friday (o visual não muda: o espaço extra é invisível) */
@media (max-width: 1180px) {
  .foot__col { gap: 2px; }
  .foot__col a { display: block; padding: 8px 0; }
  .foot__col h3 { margin-bottom: 6px; }
  .top__logo { padding: 2px 0; margin: -2px 0; }
  .top__logo img { padding: 2px 0; box-sizing: content-box; }
}

/* "Em breve" das legendas do ComfyUI: marca vermelha */
.soon { display: inline-block; padding: 1px 8px; border-radius: 5px; background: #d42b2b; color: #fff; font-weight: 700; font-size: .85em; line-height: 1.4; text-transform: uppercase; letter-spacing: .03em; }
.lb__x, .lb__nav, .lb__bar { z-index: 5; }   /* botões sempre acima da mídia (a mídia vem depois no DOM e cobria o X e a seta esquerda) */
.lightbox { touch-action: pan-y; }   /* deslizar na horizontal fica com o script (galeria); vertical continua do navegador */
/* deslizar no celular: a imagem acompanha o dedo e a vizinha entra junto */
.lb__ghost { position: absolute; top: 50%; left: 50%; z-index: 1; pointer-events: none; transform: translate(calc(-50% + var(--gx, 0px)), -50%); }
.lb__ghost[hidden] { display: none; }
.lb__stage.is-drag { will-change: transform; }
.lb__stage.is-snap, .lb__ghost.is-snap { transition: transform .26s cubic-bezier(.2,.8,.2,1); }
.lb__nav, .lb__like { transition: opacity .25s, background .2s; }
.lightbox.lb--ui-off .lb__nav, .lightbox.lb--ui-off .lb__like { opacity: 0; pointer-events: none; }   /* toque na imagem esconde setas e coração */
.lb__media img.is-zoom-snap { transition: transform .22s cubic-bezier(.2,.8,.2,1); }
.lightbox.lb--zoomed .lb__media { z-index: 0; }
/* barra de carregamento flutuante no lugar onde a TV 3D vai aparecer (some quando a TV fica pronta) */
.tv-loader { position: absolute; z-index: 4; left: 150px; top: 0; width: 52%; height: 100%; display: grid; place-items: center; pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.tv-loader[hidden] { display: none; }
.courses__stage.tv-in:not(.tv-on) .tv-loader { opacity: 1; }
.tv-loader__bar { position: relative; width: min(176px, 38%); height: 16px; border-radius: 99px; background: rgb(0 0 0 / .55); box-shadow: 0 0 0 1px rgb(255 255 255 / .12), 0 10px 34px rgb(0 0 0 / .5); overflow: hidden; animation: tvFloat 2.6s ease-in-out infinite; }
.tv-loader__bar i { position: absolute; inset: 0; border-radius: inherit; background: var(--rosa); transform-origin: left; transform: scaleX(var(--p, .04)); transition: transform .4s var(--ease); }
.tv-loader__bar b { position: absolute; inset: 0; display: grid; place-items: center; font: 600 9.5px/1 var(--corpo); letter-spacing: .06em; color: #fff; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgb(0 0 0 / .55); }
@keyframes tvFloat { 50% { translate: 0 -9px; } }
@media (prefers-reduced-motion: reduce) { .tv-loader__bar { animation: none; } }
