/* ==========================================================================
   Tshoot Academy — estilos
   Paleta: preto profundo + um único verde de sinal (link up). Vermelho só para falhas.
   Tipografia: Montserrat (display/texto) + JetBrains Mono (técnico).
   ========================================================================== */

:root {
  --bg: #050505;
  --bg-2: #0b0b0b;
  --bg-3: #141414;
  --line: #262626;
  --line-2: #3a3a3a;
  --text: #f2f2f2;
  --text-2: #c8c8c8;
  --muted: #9a9a9a;
  --accent: #22d37a;
  --accent-2: #6be6a4;
  --ok: #22d37a;
  --alert: #ff5c47;
  --gutter: clamp(16px, 3vw, 40px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --sans: "Montserrat", "Gotham", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
a:hover { color: var(--accent-2); }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); }
.accent { color: var(--accent); }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--bg); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

em { font-style: normal; color: var(--accent); }

/* ---------- Barra de progresso de leitura ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 18px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  will-change: transform;
}
.btn--lg { min-height: 54px; padding: 0 26px; }
.btn--solid { background: var(--accent); color: var(--bg); }
.btn--solid:hover { background: var(--text); color: var(--bg); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--outline { border-color: var(--accent); color: var(--accent); }
.btn--outline:hover { background: var(--accent); color: var(--bg); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5, 5, 5, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s, background .4s;
}
.header.is-scrolled { border-bottom-color: #1c1c1c; background: rgba(5, 5, 5, .92); }
.nav { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: min-height .4s var(--ease); }
.header.is-scrolled .nav { min-height: 58px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { display: block; height: 26px; width: auto; }
.brand__ring { animation: blinkO 6s infinite; }
@media (max-width: 560px) { .brand__logo { height: 20px; } }
@keyframes blinkO { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .2; } 96% { opacity: 1; } 97% { opacity: .3; } }

.nav__menu { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  position: relative; display: inline-block; padding: 12px 0;
  font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-active { color: var(--text); }
.nav__cta { display: flex; gap: 10px; }
.nav__toggle { display: none; width: 44px; height: 44px; background: none; border: 0; color: var(--text); cursor: pointer; }
.burger { display: grid; gap: 7px; width: 24px; margin: auto; }
.burger i { display: block; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
.nav__toggle[aria-expanded="true"] .burger i:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .burger i:last-child { transform: translateY(-4.25px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav__toggle { display: block; }
  .nav__menu {
    position: fixed; inset: 0; top: 0; z-index: -1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: var(--bg);
    clip-path: inset(0 0 100% 0); transition: clip-path .6s var(--ease);
  }
  .nav__menu.is-open { clip-path: inset(0 0 0 0); }
  /* backdrop-filter prenderia o menu fixo dentro do header */
  .header.menu-open { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
  .nav__links { flex-direction: column; gap: 4px; }
  .nav__links a { font-size: clamp(28px, 7vw, 44px); font-weight: 400; letter-spacing: .02em; padding: 6px 0; }
  .nav__links a::after { bottom: 4px; }
  .nav__cta { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(600px, calc(100svh - 70px));
  border-bottom: 1px solid #1c1c1c;
  background: radial-gradient(120% 90% at 75% 45%, #06261a 0%, #03100b 40%, var(--bg) 72%);
}
.hero__net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.25) 45%, #000 78%);
  mask-image: linear-gradient(90deg, rgba(0,0,0,.18) 0%, rgba(0,0,0,.25) 45%, #000 78%); }
@media (max-width: 900px) { .hero__net { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.25) 70%, #000 100%); mask-image: linear-gradient(180deg, rgba(0,0,0,.2) 0%, rgba(0,0,0,.25) 70%, #000 100%); } }
.hero__glow {
  position: absolute; z-index: -1; width: 60vmax; height: 60vmax; left: 50%; top: 40%;
  background: radial-gradient(closest-side, rgba(34, 211, 122, .16), transparent 70%);
  transform: translate(-50%, -50%); pointer-events: none; transition: left .8s var(--ease), top .8s var(--ease);
}
.hero__vertical {
  position: absolute; left: clamp(4px, 1.6vw, 28px); top: 50%;
  transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-weight: 300; font-size: clamp(80px, 11vw, 168px); letter-spacing: .08em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); user-select: none; pointer-events: none;
}
.hero__inner {
  position: relative; min-height: max(600px, calc(100svh - 70px));
  padding-top: clamp(48px, 5vw, 80px); padding-bottom: clamp(92px, 8vw, 116px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 48px;
}
.hero__copy { flex: 1 1 560px; min-width: 0; padding-left: clamp(0px, 6vw, 110px); display: flex; flex-direction: column; gap: 28px; }
.eyebrow { margin: 0; font-family: var(--mono); font-size: 12px; letter-spacing: .18em; color: var(--accent); min-height: 1.6em; }
.hero__title {
  margin: 0; font-weight: 400; font-size: clamp(44px, 7vw, 104px); line-height: 1.02; letter-spacing: .01em; text-transform: uppercase;
}
.hero__title .line { display: block; overflow: hidden; padding-top: .14em; margin-top: -.06em; padding-bottom: .16em; margin-bottom: -.14em; }
.hero__title .line > span { display: inline-block; }
.hero__sub { margin: 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: var(--text-2); transition: opacity .5s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; transition: opacity .5s; }
.btn--xl { min-height: 64px; padding: 0 34px; font-size: 14px; }
.btn--xl.btn--solid { box-shadow: 0 0 0 0 rgba(34, 211, 122, .5); animation: ctaPulse 2.8s var(--ease) infinite; }
.btn--xl.btn--solid:hover { animation: none; }
@keyframes ctaPulse { 0% { box-shadow: 0 0 0 0 rgba(34, 211, 122, .45); } 70%, 100% { box-shadow: 0 0 0 16px rgba(34, 211, 122, 0); } }
.hero__proof { list-style: none; margin: 8px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.hero__proof a { display: block; }
.hero__proof img { display: block; height: 30px; width: auto; opacity: .85; transition: opacity .4s var(--ease); }
.hero__proof a:hover img { opacity: 1; }
.hero__proof li:nth-child(2) img { height: 34px; }
.hero__rating { display: flex; align-items: center; gap: 10px; }
.hero__rating b { font-weight: 300; font-size: 34px; line-height: 1; }
.hero__rating span { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }
@media (max-width: 560px) { .btn--xl { flex: 1 1 100%; min-height: 58px; } .hero__proof img { height: 24px; } .hero__proof li:nth-child(2) img { height: 28px; } }
.hero__dots { display: flex; gap: 4px; }
.hero__dots button { position: relative; width: 52px; height: 44px; border: 0; background: none; cursor: pointer; padding: 0; }
.hero__dots button::before { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: #3a3a3a; }
.hero__dots button::after {
  content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
}
.hero__dots button[aria-pressed="true"]::after { animation: dotfill var(--slide-ms, 6500ms) linear forwards; }
.hero__dots.is-paused button[aria-pressed="true"]::after { animation: none; transform: scaleX(1); }
@keyframes dotfill { to { transform: scaleX(1); } }

/* Letra a letra */
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; transform: translateY(105%); opacity: 0; transition: transform .8s var(--ease), opacity .8s var(--ease); }
.is-in .char { transform: none; opacity: 1; }
.is-out .char { transform: translateY(-105%); opacity: 0; transition-duration: .45s; }

.programs {
  flex: 0 1 310px; align-self: flex-end;
  border: 1px solid var(--accent); background: rgba(5, 5, 5, .78);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.programs__item {
  display: grid; gap: 2px; padding: 18px 22px; text-decoration: none; border-bottom: 1px solid var(--line);
  transition: background .35s var(--ease), padding-left .35s var(--ease);
}
.programs__item:last-child { border-bottom: 0; }
.programs__item:hover { background: rgba(34, 211, 122, .08); padding-left: 28px; color: var(--text); }
.programs__item strong { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.programs__item span { font-size: 13px; font-weight: 300; color: var(--text-2); }
.programs__item b { margin-top: 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

.seal { position: absolute; right: clamp(16px, 27vw, 420px); top: clamp(90px, 12vh, 130px); width: 120px; height: 120px; display: grid; place-items: center; }
.seal__ring { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.seal__ring text { font-family: var(--mono); font-size: 7.6px; letter-spacing: 0; fill: var(--muted); }
.seal__num { font-weight: 300; font-size: 40px; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; overflow: hidden;
  background: var(--accent); color: var(--bg); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; padding: 15px 0;
}
.hero__bar:hover { color: var(--bg); background: var(--text); }
.marquee { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { white-space: nowrap; padding-right: 24px; }
.hero__bar:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 900px) {
  .seal { display: none; }
  .hero__copy { padding-left: 0; }
  .hero__vertical { opacity: .35; }
  .programs { flex: 1 1 100%; }
}

/* ---------- Seções genéricas ---------- */
.section { padding-block: clamp(90px, 11vw, 160px); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 56px clamp(40px, 7vw, 110px); }
.split--center { align-items: center; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; }
.display { margin: 0; font-weight: 400; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.04; text-transform: uppercase; }
.display--sm { font-size: clamp(30px, 3vw, 42px); line-height: 1.1; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.lead { margin: 0; font-weight: 300; font-size: 17px; color: var(--text-2); max-width: 480px; }
.kicker { margin: 0; font-size: clamp(15px, 1.5vw, 20px); letter-spacing: .08em; text-transform: uppercase; }

.claims { display: flex; flex-direction: column; gap: 28px; font-weight: 300; font-size: 17px; color: var(--text-2); }
.claims p { margin: 0; padding-left: 22px; border-left: 1px solid var(--line-2); transition: border-color .5s; }
.claims p:hover { border-color: var(--accent); }
.claims .is-key { color: var(--text); border-color: var(--accent); }

/* Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Ticker ---------- */
.ticker { border-block: 1px solid #1c1c1c; overflow: hidden; padding: 22px 0; }
.ticker__track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.ticker__track span { font-weight: 300; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px #5a5a5a; white-space: nowrap; transition: color .3s; }
.ticker__track span:nth-child(5n+3) { color: var(--accent); -webkit-text-stroke: 0; }
.ticker:hover .ticker__track { animation-play-state: paused; }

/* ---------- Faixa de foto ---------- */
.photo-band { position: relative; overflow: hidden; min-height: 680px; display: grid; place-items: center; text-align: center; border-bottom: 1px solid #1c1c1c; }
.photo-band__media { position: absolute; inset: -12% 0; }
.photo-band__media .placeholder { height: 100%; }
.photo-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,5,.25), rgba(5,5,5,.9)); pointer-events: none; }
.photo-band__copy { position: relative; z-index: 1; padding: 80px var(--gutter); display: grid; gap: 18px; }
.photo-band__title { margin: 0; font-weight: 500; font-size: clamp(30px, 4.4vw, 64px); line-height: 1.04; text-transform: uppercase; }

.placeholder {
  display: flex; align-items: flex-start; justify-content: flex-start; padding: 20px;
  font-family: var(--mono); font-size: 11px; color: #6e6e6e;
  background: repeating-linear-gradient(90deg, #121212 0 2px, #0c0c0c 2px 46px);
}

/* ---------- Laboratório interativo ---------- */
.lab-intro { display: flex; flex-direction: column; gap: 22px; }
.lab-status { margin: 0; font-size: 13px; color: var(--alert); }
.lab-status.is-ok { color: var(--ok); }
.lab { margin: 0; border: 1px solid var(--line); background: var(--bg-2); position: relative; }
.lab::before { content: ""; position: absolute; inset: -1px; border: 1px solid var(--accent); opacity: 0; transition: opacity .6s; pointer-events: none; }
.lab.is-solved::before { opacity: 1; }
.lab__topo { padding: 30px 20px; display: flex; flex-wrap: nowrap; align-items: center; overflow-x: auto; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
.node { flex: none; border: 1px solid var(--line-2); padding: 8px 8px; min-width: 58px; text-align: center; transition: border-color .4s, box-shadow .4s; }
.node b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; }
.node small { display: block; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.node.is-hit { border-color: var(--alert); box-shadow: 0 0 0 4px rgba(255, 92, 71, .14); }
.link {
  position: relative; flex: 1 1 52px; min-width: 52px; min-height: 48px; padding: 4px; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--text); font: inherit;
}
.link__port { font-family: var(--mono); font-size: 10px; padding: 1px 6px; background: #1c1c1c; transition: background .3s, color .3s; }
.link__wire { position: relative; display: block; width: 100%; height: 2px; background: #5a5a5a; overflow: hidden; }
.link__wire::after {
  content: ""; position: absolute; top: 0; left: -30%; width: 30%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--text), transparent);
  animation: flow 1.6s linear infinite; animation-delay: var(--delay, 0s);
}
.link:hover .link__port { background: #2a2a2a; }
.link[aria-pressed="true"] .link__port { background: var(--text); color: var(--bg); }
.link.is-fault[aria-pressed="true"] .link__port { background: var(--alert); }
.link.is-fault[aria-pressed="true"] .link__wire { background: var(--alert); }
.link.is-fault[aria-pressed="true"] .link__wire::after { animation: none; }
@keyframes flow { to { left: 100%; } }

.lab__term { font-family: var(--mono); font-size: 13px; line-height: 1.75; padding: 20px; min-height: 196px; }
.lab__prompt { color: var(--muted); }
.lab__out { margin: 0; white-space: pre-wrap; color: #e6e6e6; font: inherit; min-height: 3.5em; }
.lab__verdict { margin-top: 10px; min-height: 1.75em; color: var(--ok); }
.lab__verdict.is-fault { color: var(--alert); }
.caret { display: inline-block; width: 8px; height: 15px; background: var(--accent); vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.lab__win {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 16px 20px;
  background: var(--accent); color: var(--bg); text-decoration: none;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  animation: slideUp .6s var(--ease) both;
}
.lab__win:hover { background: var(--text); color: var(--bg); }
.lab__win[hidden] { display: none; }
@media (max-width: 640px) {
  .lab__topo { flex-direction: column; align-items: stretch; padding: 20px; }
  .node { display: flex; justify-content: space-between; align-items: baseline; text-align: left; padding: 10px 12px; }
  .link { flex: none; flex-direction: row; justify-content: flex-start; gap: 12px; min-height: 44px; padding: 0 0 0 20px; }
  .link__wire { order: -1; width: 2px; height: 36px; }
  .link__wire::after { left: 0; top: -30%; width: 100%; height: 30%; background: linear-gradient(180deg, transparent, var(--text), transparent); animation-name: flowV; }
}
@keyframes flowV { to { top: 100%; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(10px); } }
.lab.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }

/* ---------- Números ---------- */
.numbers { border-block: 1px solid #1c1c1c; background: var(--bg-2); }
.numbers__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; padding-block: clamp(40px, 6vw, 90px); }
.numbers__ring {
  position: relative; flex: 1 1 460px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  text-align: center; padding: 70px 40px; margin: 40px auto; width: min(100%, 540px); aspect-ratio: 1 / 1; max-width: 540px;
}
.numbers__circle { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.numbers__circle circle { fill: none; stroke: var(--line-2); stroke-width: .6; stroke-dasharray: 616; stroke-dashoffset: 616; transition: stroke-dashoffset 2.2s var(--ease); }
.numbers__ring.is-visible .numbers__circle circle { stroke-dashoffset: 0; }
.numbers__head { margin: 0; font-size: clamp(18px, 2.1vw, 28px); font-weight: 500; text-transform: uppercase; line-height: 1.2; }
.numbers__list { margin: 0; display: grid; gap: 18px; }
.numbers__list div { display: flex; flex-direction: column-reverse; }
.numbers__list dt { font-size: 13px; color: var(--muted); }
.numbers__list dd { margin: 0; font-weight: 300; font-size: clamp(34px, 3.6vw, 50px); line-height: 1; font-variant-numeric: tabular-nums; }

/* ---------- Formações ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  min-height: 44px; padding: 0 18px; border: 1px solid var(--line-2); background: transparent; color: var(--text);
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: background .3s, color .3s, border-color .3s;
}
.filters button:hover { border-color: var(--text); }
.filters button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--bg); }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.course {
  position: relative; overflow: hidden; background: var(--bg); text-decoration: none; padding: 34px 30px; min-height: 280px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px; transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.course::before {
  content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 122, .14), transparent 60%);
  opacity: 0; transition: opacity .4s; pointer-events: none;
}
.course:hover::before { opacity: 1; }
.course:hover { color: var(--text); }
.course__meta { font-size: 11px; letter-spacing: .14em; color: var(--muted); }
.course__title { font-size: 26px; font-weight: 500; text-transform: uppercase; line-height: 1.15; }
.course__desc { font-weight: 300; color: var(--text-2); font-size: 15px; }
.course__cta { margin-top: auto; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); transition: letter-spacing .4s var(--ease); }
.course:hover .course__cta { letter-spacing: .22em; }
.course.is-hidden { display: none; }
.course.is-entering { animation: cardIn .5s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Docentes ---------- */
.faculty { border-top: 1px solid #1c1c1c; padding-top: clamp(90px, 10vw, 140px); }
.faculty .display { margin-bottom: 48px; }
.faculty__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.person { position: relative; min-height: 600px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--bg); }
.person .placeholder { position: absolute; inset: 0; transition: transform 1.2s var(--ease), filter 1.2s var(--ease); filter: grayscale(1); }
.person:hover .placeholder { transform: scale(1.05); filter: grayscale(0); }
.person::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(5,5,5,.96)); pointer-events: none; }
.person__info { position: relative; z-index: 1; padding: 28px clamp(16px, 2.4vw, 32px); display: grid; gap: 6px; transform: translateY(10px); transition: transform .6s var(--ease); }
.person:hover .person__info { transform: none; }
.person h3 { margin: 0; font-size: 22px; font-weight: 500; text-transform: uppercase; }
.person p { margin: 0; font-size: 14px; font-weight: 300; color: var(--text-2); }
.person p.mono { font-size: 12px; color: var(--accent); }

/* ---------- Laptop ---------- */
.laptop { display: flex; flex-direction: column; align-items: center; perspective: 1200px; }
.laptop__screen {
  width: 100%; max-width: 640px; border: 1px solid var(--line-2); border-radius: 14px 14px 0 0; padding: 12px; background: var(--bg-2);
  box-shadow: 0 0 90px rgba(34, 211, 122, .12); transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .5s var(--ease);
}
.laptop__base { width: 112%; max-width: 720px; height: 14px; background: #1c1c1c; border-radius: 0 0 12px 12px; }
.ui { background: #111; border-radius: 4px; padding: 18px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; font-size: 11px; }
.ui__top { grid-column: 1 / -1; display: flex; justify-content: space-between; }
.ui__top .mono { color: var(--muted); }
.ui__main { background: #181818; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.ui__thumb { position: relative; display: block; height: 96px; background: linear-gradient(135deg, #06261a, #181818); }
.ui__play { position: absolute; left: 50%; top: 50%; width: 0; height: 0; border-left: 14px solid var(--text); border-top: 9px solid transparent; border-bottom: 9px solid transparent; transform: translate(-40%, -50%); opacity: .85; }
.ui__bar { display: block; height: 3px; background: var(--line); }
.ui__bar i { display: block; height: 3px; width: 0; background: var(--accent); transition: width 2.4s var(--ease) .4s; }
.laptop.is-visible .ui__bar i { width: 62%; }
.ui__side { display: flex; flex-direction: column; gap: 8px; }
.ui__side span { background: #181818; padding: 10px; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.6s infinite; vertical-align: 1px; margin-left: 4px; }
@keyframes pulse { 50% { opacity: .25; } }

/* ---------- 36 ---------- */
.big36 { position: relative; overflow: hidden; min-height: 560px; display: grid; place-items: center; text-align: center; border-block: 1px solid #1c1c1c; }
.big36__num { position: absolute; font-weight: 300; font-size: clamp(260px, 38vw, 560px); line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--accent); opacity: .45; user-select: none; }
.big36__copy { position: relative; display: grid; gap: 16px; justify-items: center; padding: 60px var(--gutter); }
.big36__title { margin: 0; font-size: clamp(26px, 3.4vw, 48px); font-weight: 500; text-transform: uppercase; line-height: 1.1; }

/* ---------- Lista + ---------- */
.plus { list-style: none; margin: 28px 0; padding: 0; }
.plus li { padding: 15px 0 15px 26px; border-top: 1px solid var(--line); position: relative; }
.plus li:last-child { border-bottom: 1px solid var(--line); }
.plus li::before { content: "+"; position: absolute; left: 0; color: var(--accent); transition: transform .4s var(--ease); }
.plus li:hover::before { transform: rotate(90deg); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid #1c1c1c; padding-block: clamp(70px, 9vw, 120px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--accent); transition: transform .4s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details p { margin: 0 0 22px; font-weight: 300; color: var(--text-2); animation: slideUp .5s var(--ease); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid #1c1c1c; overflow: hidden; }
.footer__cols { padding-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px; font-size: 14px; font-weight: 300; color: var(--text-2); }
.footer__cols h4 { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.footer__cols p, .footer__cols a { display: block; margin: 0 0 6px; text-decoration: none; }
.footer__word {
  margin: 40px 0 0; padding-inline: var(--gutter); font-weight: 300; font-size: clamp(90px, 18vw, 280px); line-height: .85; letter-spacing: .06em;
  color: transparent; -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none;
  background: linear-gradient(90deg, var(--accent), var(--accent)) no-repeat; background-size: 0% 100%; -webkit-background-clip: text; background-clip: text;
  transition: background-size 1.6s var(--ease);
}
.footer__word.is-visible { background-size: 100% 100%; }
.footer__legal { padding-block: 22px 30px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 11px; color: var(--muted); }
.footer__legal a { color: var(--muted); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; border: 1px solid var(--accent); border-radius: 50%;
  pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: width .3s var(--ease), height .3s var(--ease), opacity .3s, background .3s;
  mix-blend-mode: difference;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; background: rgba(34, 211, 122, .18); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .char { transform: none; opacity: 1; }
  .cursor { display: none; }
}

/* ---------- Selos oficiais (Cisco Networking Academy + LPI) ----------
   Usamos as versões brancas oficiais, sem recolorir nem distorcer. */

.badges { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 12px; width: 100%; max-width: 560px; }
.badge {
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px; padding: 26px 24px 18px;
  border: 1px solid var(--line); text-decoration: none; transition: border-color .4s var(--ease), background .4s var(--ease);
}
.badge:hover { border-color: var(--accent); background: rgba(34, 211, 122, .04); color: var(--text); }
.badge img { width: auto; height: 46px; object-fit: contain; object-position: left center; }
.badge__meta { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.badge__link { font-family: var(--mono); font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--muted); transition: color .3s; }
.badge:hover .badge__link { color: var(--accent); }

.footer__creds img { height: auto; opacity: .8; margin-top: 12px; }
.footer__creds img:nth-of-type(1) { width: 170px; }
.footer__creds img:nth-of-type(2) { width: 112px; }

/* ---------- Cards de formação (agora são botões) ---------- */
.stack--tight { gap: 18px; }
button.course { width: 100%; font: inherit; color: var(--text); text-align: left; cursor: pointer; border-top: 0; border-left: 0; }
button.course:focus-visible { outline-offset: -2px; }
.filters__n { font-family: var(--mono); font-weight: 400; opacity: .6; margin-left: 4px; }
.courses__note { margin: 18px 0 0; font-size: 11px; color: var(--muted); }

/* ---------- Modal ---------- */
html.has-modal { overflow: hidden; }
.modal {
  padding: 0; border: 0; background: transparent; color: var(--text);
  width: min(100% - 24px, 860px); max-width: none; max-height: none; height: 100%; margin: 0 0 0 auto;
}
.modal--form { width: min(100% - 24px, 640px); }
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .3s var(--ease); }
.modal[open] .modal__panel { animation: panelIn .5s var(--ease) both; }
.modal.is-closing .modal__panel { animation: panelOut .26s var(--ease) both; }
.modal.is-closing::backdrop { animation: fadeOut .26s var(--ease) both; }
@keyframes panelIn { from { transform: translateX(40px); opacity: 0; } }
@keyframes panelOut { to { transform: translateX(40px); opacity: 0; } }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
.modal__panel {
  position: relative; height: 100%; overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg-2); border-left: 1px solid var(--accent);
  padding: clamp(28px, 4vw, 56px) clamp(20px, 4vw, 56px) 0;
  display: flex; flex-direction: column; gap: 32px;
}
.modal__close {
  position: sticky; top: 0; align-self: flex-end; margin: -12px -12px -44px 0; z-index: 2;
  width: 44px; height: 44px; border: 1px solid var(--line-2); background: var(--bg-2); color: var(--text); cursor: pointer;
}
.modal__close span::before, .modal__close span::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: currentColor; transform: rotate(45deg); transition: transform .3s var(--ease); }
.modal__close span::after { transform: rotate(-45deg); }
.modal__close:hover { border-color: var(--accent); color: var(--accent); }
.modal__close:hover span::before { transform: rotate(135deg); }
.modal__close:hover span::after { transform: rotate(45deg); }
.modal__head { display: grid; gap: 14px; padding-right: 56px; }
.modal__meta { margin: 0; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.modal__title { margin: 0; font-weight: 400; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; text-transform: uppercase; }
.modal__summary { margin: 0; font-weight: 300; font-size: 17px; color: var(--text-2); max-width: 600px; }
.modal__facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.modal__facts div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal__facts dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.modal__facts dd { margin: 4px 0 0; font-size: 15px; font-weight: 500; }
.modal__h { margin: 0 0 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.modal__body { display: grid; gap: 0; }
.syl { padding: 18px 0; border-top: 1px solid var(--line); }
.syl__title { margin: 0 0 12px; display: flex; gap: 14px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.syl__title .mono { color: var(--accent); font-weight: 400; }
.syl__list { margin: 0; padding: 0 0 0 30px; list-style: none; columns: 2 220px; column-gap: 28px; counter-reset: syl; }
.syl__list li { break-inside: avoid; position: relative; padding: 4px 0 4px 34px; font-size: 14px; font-weight: 300; color: var(--text-2); counter-increment: syl; }
.syl__list li::before { content: counter(syl, decimal-leading-zero); position: absolute; left: 0; top: 6px; font-family: var(--mono); font-size: 11px; color: #6e6e6e; }
.weights { display: grid; gap: 8px; padding: 0 0 24px; }
.weights__row { display: grid; grid-template-columns: minmax(120px, 170px) 1fr 44px; align-items: center; gap: 14px; font-size: 13px; color: var(--text-2); }
.weights__bar { height: 4px; background: var(--line); }
.weights__bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 1s var(--ease) .25s; }
.modal.is-ready .weights__bar i { width: calc(var(--w) * 3.33); }
.weights__row .mono { text-align: right; color: var(--text); }
.modal__foot {
  position: sticky; bottom: 0; margin: auto -56px 0; padding: 18px 56px 22px;
  background: linear-gradient(180deg, rgba(11,11,11,0), var(--bg-2) 30%);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
}
.modal__official { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; padding: 10px 0; }
@media (max-width: 640px) {
  .modal, .modal--form { width: 100%; }
  .modal__panel { border-left: 0; border-top: 1px solid var(--accent); }
  .modal__foot { margin-inline: -20px; padding-inline: 20px; }
  .modal__foot .btn { width: 100%; }
  .syl__list { padding-left: 0; }
}

/* ---------- Formulário ---------- */
.form { display: grid; gap: 18px; padding-bottom: 32px; }
.form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.field small { font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: var(--bg); color: var(--text); font: inherit; font-size: 16px; transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option, .field select optgroup { background: var(--bg-2); color: var(--text); }
.field input::placeholder, .field textarea::placeholder { color: #6e6e6e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(34, 211, 122, .15); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--alert); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; font-weight: 300; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); }
.check.is-invalid span { color: var(--alert); }
.check a { color: var(--text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--alert); }
.form__submit { justify-self: start; }
.form.is-sending .form__submit { opacity: .6; pointer-events: none; }
.form.is-sending .form__submit::after { content: ""; width: 12px; height: 12px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.form__done { display: grid; gap: 14px; justify-items: start; padding: 20px 0 40px; outline: none; }
.form__done[hidden] { display: none; }
.form__done .form__done-mark { margin: 0; font-family: var(--mono); font-size: 28px; color: var(--accent); letter-spacing: .1em; }
.form__done h3 { margin: 0; font-weight: 400; font-size: 32px; text-transform: uppercase; }
.form__done p { margin: 0; font-weight: 300; color: var(--text-2); }
.badge__hint { margin-top: -16px; font-family: var(--mono); font-size: 11px; color: #6e6e6e; }
.modal__panel > * { flex-shrink: 0; }
.course--cta { background: var(--bg-2); }
.course--cta .course__title { color: var(--accent); }
.form[hidden] { display: none; }
button.btn { background-color: transparent; font-family: inherit; }
button.btn--solid { background-color: var(--accent); }
button.btn--solid:hover { background-color: var(--text); }

/* ---------- Docentes: áreas ---------- */
.faculty__head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 24px clamp(40px, 7vw, 110px); align-items: end; margin-bottom: 48px; }
.faculty__head .display { margin: 0; }
.person__areas { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.person__areas li { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; padding: 5px 9px; border: 1px solid var(--accent); color: var(--accent); background: rgba(5, 5, 5, .6); }

/* ---------- Perfil do instrutor ---------- */
.person__more {
  justify-self: start; margin-top: 8px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text);
  border-bottom: 1px solid var(--accent); transition: color .3s, letter-spacing .4s var(--ease);
}
.person__more:hover { color: var(--accent); letter-spacing: .2em; }
.certs { list-style: none; margin: 0; padding: 0; }
.certs li { display: flex; justify-content: space-between; gap: 18px; padding: 10px 0; border-bottom: 1px solid #1c1c1c; font-size: 14px; color: var(--text-2); }
.certs li:last-child { border-bottom: 0; }
.certs li .mono { flex: none; font-size: 12px; color: var(--muted); }
.certs__n { margin-left: 8px; color: var(--accent); }
#person-modal .modal__h { margin-bottom: 6px; }
.modal__body--end { padding-bottom: 48px; }

/* ---------- Foto do instrutor ---------- */
.person__photo { position: absolute; inset: 0; display: block; overflow: hidden; }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; filter: grayscale(.35) contrast(1.05); transition: transform 1.2s var(--ease), filter 1.2s var(--ease); }
.person:hover .person__photo img { transform: scale(1.04); filter: grayscale(0) contrast(1.05); }
.person:has(.person__photo)::after { background: linear-gradient(180deg, transparent 18%, rgba(5,5,5,.72) 48%, rgba(5,5,5,.96) 72%); }
.certs__note { margin: -2px 0 8px; font-size: 12px; color: var(--muted); }

/* ---------- WhatsApp flutuante ---------- */
.wa {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 80;
  display: flex; align-items: center; gap: 0; text-decoration: none; color: var(--bg);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.wa.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa__icon {
  position: relative; flex: none; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  transition: transform .35s var(--ease);
}
.wa__icon::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366;
  animation: waPulse 2.6s var(--ease) infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.wa__label {
  margin-right: 12px; padding: 11px 16px; background: var(--text); color: var(--bg);
  font-size: 12px; font-weight: 600; letter-spacing: .06em; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
  opacity: 0; transform: translateX(10px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wa:hover .wa__label, .wa:focus-visible .wa__label, .wa.is-hint .wa__label { opacity: 1; transform: none; }
.wa:hover .wa__icon { transform: scale(1.06); }
.wa:hover { color: var(--bg); }
html.has-modal .wa { opacity: 0; pointer-events: none; }
@media (max-width: 640px) {
  .wa__icon { width: 54px; height: 54px; }
  .wa__label { display: none; }
}

/* ---------- Redes sociais no rodapé ---------- */
.social { list-style: none; margin: 14px 0 0; padding: 0; display: flex; gap: 8px; }
.footer__cols .social a {
  display: grid; place-items: center; width: 44px; height: 44px; margin: 0;
  border: 1px solid var(--line-2); color: var(--text-2);
  transition: color .3s, border-color .3s, transform .3s var(--ease);
}
.footer__cols .social a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ---------- Consentimento de cookies ---------- */
html.has-consent .wa { opacity: 0; pointer-events: none; }
.consent {
  position: fixed; inset: auto 0 0 0; margin: 0 auto clamp(12px, 3vw, 32px); padding: 0;
  width: min(100% - 24px, 840px); max-width: none; border: 0; background: transparent; color: var(--text);
}
.consent::backdrop { background: rgba(0, 0, 0, .62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fadeIn .3s var(--ease); }
.consent[open] .consent__panel { animation: consentIn .5s var(--ease) both; }
.consent.is-closing .consent__panel { animation: consentOut .22s var(--ease) both; }
@keyframes consentIn { from { opacity: 0; transform: translateY(24px); } }
@keyframes consentOut { to { opacity: 0; transform: translateY(24px); } }
.consent__panel {
  background: var(--bg-2); border: 1px solid var(--line-2); border-top: 2px solid var(--accent);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  padding: clamp(22px, 3.4vw, 34px); display: grid; gap: 14px; max-height: calc(100svh - 32px); overflow-y: auto;
}
.consent__kicker { margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.consent__title { margin: 0; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); text-transform: uppercase; line-height: 1.1; }
.consent__text { margin: 0; font-size: 14px; font-weight: 300; color: var(--text-2); }
.consent__text a { color: var(--text); text-underline-offset: 3px; }
.consent__actions { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; margin-top: 6px; }
/* Mesmo tamanho e mesmo peso visual para todas as opções (Guia ANPD) */
.consent__btn {
  min-height: 48px; padding: 0 12px; border: 1px solid var(--text); background: transparent; color: var(--text); cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  transition: background .25s, color .25s;
}
.consent__title:focus { outline: none; }
.consent__btn:hover, .consent__btn:focus-visible { background: var(--text); color: var(--bg); }
.consent__prefs { display: grid; border-top: 1px solid var(--line); }
.consent__prefs[hidden] { display: none; }
.consent__cat { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.consent__cat-text { display: grid; gap: 2px; }
.consent__cat-text strong { font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.consent__cat-text span { font-size: 13px; font-weight: 300; color: var(--text-2); }
.switch { position: relative; flex: none; width: 46px; height: 26px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.switch input:disabled { cursor: not-allowed; }
.switch__ui { position: absolute; inset: 0; border: 1px solid var(--line-2); background: var(--bg); transition: background .25s, border-color .25s; pointer-events: none; }
.switch__ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; background: var(--muted); transition: transform .25s var(--ease), background .25s; }
.switch input:checked + .switch__ui { border-color: var(--accent); background: rgba(34, 211, 122, .14); }
.switch input:checked + .switch__ui::after { transform: translateX(20px); background: var(--accent); }
.switch input:disabled + .switch__ui { opacity: .6; }
.switch input:focus-visible + .switch__ui { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Rodapé: espaço para o botão flutuante ---------- */
.footer__legal { padding-bottom: 104px; }
.footer__legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal-links button { padding: 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: inherit; text-decoration: underline; cursor: pointer; }
.footer__legal-links button:hover { color: var(--accent-2); }

/* ---------- Página de privacidade ---------- */
.legal-page .nav__cta { display: flex; }
.legal-hero { padding-top: clamp(64px, 9vw, 120px); padding-bottom: 40px; display: grid; gap: 22px; }
.legal-hero .display { font-size: clamp(36px, 5vw, 72px); }
.legal-meta { margin: 8px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); max-width: 980px; }
.legal-meta div { padding: 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.legal-meta dt { font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.legal-meta dd { margin: 4px 0 0; font-size: 14px; }
.legal-summary { margin-bottom: 64px; }
.legal-summary > * { max-width: 980px; }
.legal-summary { border-left: 2px solid var(--accent); padding-top: 4px; }
.legal-summary__title { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.legal-summary ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; font-weight: 300; color: var(--text-2); }
.legal-summary strong { color: var(--text); font-weight: 500; }
.legal { display: flex; flex-wrap: wrap; gap: 48px clamp(40px, 6vw, 96px); align-items: flex-start; padding-bottom: 96px; }
.legal__toc { flex: 0 1 240px; position: sticky; top: 92px; max-height: calc(100vh - 120px); overflow-y: auto; }
.legal__toc-title { margin: 0 0 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.legal__toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; border-left: 1px solid var(--line); }
.legal__toc li { counter-increment: toc; }
.legal__toc a { display: block; padding: 7px 0 7px 16px; margin-left: -1px; border-left: 1px solid transparent; font-size: 13px; color: var(--text-2); text-decoration: none; }
.legal__toc a::before { content: counter(toc, decimal-leading-zero) "  "; font-family: var(--mono); font-size: 11px; color: #6e6e6e; }
.legal__toc a:hover, .legal__toc a.is-active { color: var(--text); border-left-color: var(--accent); }
.legal__body { flex: 1 1 560px; min-width: 0; max-width: 820px; }
.legal__body section { padding: 8px 0 40px; scroll-margin-top: 90px; }
.legal__body h2 { display: flex; gap: 14px; align-items: baseline; margin: 0 0 18px; padding-top: 28px; border-top: 1px solid var(--line); font-weight: 400; font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; }
.legal__body h2 .mono { font-size: 13px; color: var(--accent); }
.legal__body h3 { margin: 26px 0 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.legal__body p, .legal__body li { font-size: 15.5px; font-weight: 300; line-height: 1.75; color: var(--text-2); }
.legal__body p { margin: 0 0 14px; }
.legal__body strong { color: var(--text); font-weight: 500; }
.legal__body ul, .legal__body ol { margin: 0 0 16px; padding-left: 20px; }
.legal__body li { margin-bottom: 6px; }
.legal__body ul ul { margin-top: 6px; }
.legal__body a { color: var(--text); text-underline-offset: 3px; }
.legal-card { margin: 16px 0; border: 1px solid var(--line); }
.legal-card div { display: grid; grid-template-columns: minmax(110px, 160px) 1fr; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.legal-card div:last-child { border-bottom: 0; }
.legal-card dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.legal-card dd { margin: 0; font-size: 15px; }
.table-wrap { overflow-x: auto; margin: 16px 0 20px; border: 1px solid var(--line); }
.legal-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14px; }
.legal-table th { text-align: left; padding: 12px 14px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; font-weight: 400; color: var(--muted); background: var(--bg-2); border-bottom: 1px solid var(--line); }
.legal-table td { padding: 12px 14px; vertical-align: top; border-bottom: 1px solid #1c1c1c; color: var(--text-2); font-weight: 300; line-height: 1.55; }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td:first-child { color: var(--text); font-weight: 400; }
.legal-rights { counter-reset: r; list-style: none; padding-left: 0 !important; }
.legal-rights li { counter-increment: r; position: relative; padding-left: 38px; }
.legal-rights li::before { content: counter(r, upper-roman); position: absolute; left: 0; top: 1px; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.link-btn { padding: 0; border: 0; background: none; color: var(--text); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--accent-2); }
.legal-foot { margin-top: 24px !important; font-size: 13px !important; color: var(--muted) !important; }
.legal-page .footer__legal { padding-top: 28px; }
@media (max-width: 900px) {
  .legal__toc { position: static; flex: 1 1 100%; max-height: none; }
  .legal__toc ol { columns: 2 180px; }
}
@media (max-width: 1100px) { .legal-page .nav__menu { display: none; } }

/* ---------- Tshoot Play: destaques e etiquetas ---------- */
.play-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: 520px; }
.play-facts li { display: grid; gap: 2px; padding: 14px 12px 14px 0; }
.play-facts li + li { padding-left: 16px; border-left: 1px solid var(--line); }
.play-facts b { font-weight: 300; font-size: clamp(19px, 1.9vw, 24px); line-height: 1.1; white-space: nowrap; }
.play-facts span { font-size: 12px; color: var(--muted); }
.ui__row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ui__tag { font-style: normal; font-family: var(--mono); font-size: 8.5px; letter-spacing: .08em; text-transform: uppercase; padding: 2px 5px; border: 1px solid var(--line-2); color: var(--muted); }
.ui__tag--own { border-color: var(--accent); color: var(--accent); }
