/* Página de captação — eye-tracking LoL · IPq HC-FMUSP
   Sem media queries: a fluidez vem de clamp(), grids auto-fit e flex-wrap. */

/* ---------- Fontes (auto-hospedadas) ---------- */
@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-style: normal; font-display: swap; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); }

/* ---------- Tokens ---------- */
:root {
  --ink: #07080D;
  --ink-2: #0B0D15;
  --ink-3: #1B1F2B;
  --gold: #F0C069;
  --gold-hover: #FFDA9B;
  --gold-ink: #54410F;
  --gold-ink-2: #4A3B14;
  --gold-ink-3: #1B1A12;
  --cyan: #6FE3D6;
  --text: #EDEFF4;
  --text-muted: #A6AEBF;
  --text-dim: #8A93A6;
  --rule: rgba(237, 239, 244, .12);
  --rule-2: rgba(237, 239, 244, .16);
  --rule-3: rgba(237, 239, 244, .18);
  --divider-cyan: rgba(111, 227, 214, .4);

  --sans: "Barlow", system-ui, sans-serif;
  --cond: "Barlow Condensed", "Arial Narrow", sans-serif;

  --gutter: clamp(16px, 3vw, 40px);
  --section-y: clamp(56px, 9vw, 128px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/* Nenhum ancestral das barras sticky pode ter overflow ≠ visible. */
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
h1, h2, h3, p { margin: 0; }
h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink);
  font-family: var(--cond); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 16px; border-radius: 2px;
}
.skip-link:focus { top: 12px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--cond); font-weight: 600; text-transform: uppercase;
  border-radius: 2px;
  transition: background-color 120ms ease-out, color 120ms ease-out;
}
.btn--gold { color: var(--ink); background: var(--gold); }
.btn--gold:hover { color: var(--ink); background: var(--gold-hover); }
.btn--dark { color: var(--gold); background: var(--ink); }
.btn--dark:hover { color: var(--gold); background: var(--ink-3); }

.btn--sm { font-size: 15px; letter-spacing: .12em; padding: 0 18px; min-height: 40px; flex: none; }
.btn--lg { font-size: clamp(16px, 1.9vw, 20px); letter-spacing: .1em; padding: 0 clamp(24px, 3vw, 38px); min-height: 56px; }
.btn--xl { font-size: clamp(16px, 1.9vw, 20px); letter-spacing: .1em; padding: 0 clamp(24px, 3vw, 40px); min-height: 58px; }

/* ---------- Tipografia recorrente ---------- */
.eyebrow {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(12px, 1.35vw, 14px); letter-spacing: .18em;
  text-transform: uppercase; color: var(--cyan);
}
.h2 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(36px, 6.4vw, 88px); line-height: .94; letter-spacing: -.008em;
  text-transform: uppercase; color: #fff;
}
.caption {
  display: block;
  font-family: var(--sans); font-weight: 600; font-size: 14px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim);
}
.hl-gold { font-weight: 600; color: var(--gold); }
.hl-cyan { font-weight: 600; color: var(--cyan); }

/* ---------- 1. Barra de topo ---------- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7, 8, 13, .82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule);
}
.topbar__inner {
  padding-top: 12px; padding-bottom: 12px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topbar__brand { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; }
.topbar__brand img { height: 32px; width: auto; flex: none; }
.topbar__label {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .14em; line-height: 1.4;
  text-transform: uppercase; color: var(--text-dim); min-width: 0;
}
.topbar__sep { color: #3E4658; }
.topbar__accent { color: var(--cyan); white-space: nowrap; }

/* ---------- 2. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero__bg, .hero__veil, .hero__gaze, .hero__scan { position: absolute; inset: 0; }
.hero__bg img {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 68% 34%;
}
.hero__veil {
  background: linear-gradient(105deg, #07080D 0%, rgba(7, 8, 13, .96) 34%, rgba(7, 8, 13, .7) 58%, rgba(7, 8, 13, .42) 100%);
}
.hero__gaze {
  width: 100%; height: 100%;
  pointer-events: none; opacity: .85; mix-blend-mode: screen;
}
.hero__scan {
  pointer-events: none;
  background-image: repeating-linear-gradient(0deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 3px);
}
.hero__content {
  position: relative; z-index: 3;
  padding-top: clamp(56px, 9vw, 132px);
  padding-bottom: clamp(40px, 6vw, 88px);
  display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 44px);
}
.hero__head { min-width: 0; display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 28px); }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--cyan); box-shadow: 0 0 14px var(--cyan);
}
.hero__eyebrow span {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(13px, 1.4vw, 15px); letter-spacing: .16em;
  text-transform: uppercase; color: var(--cyan);
}
.hero h1 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(46px, 9.2vw, 130px); line-height: .9; letter-spacing: -.012em;
  text-transform: uppercase; color: #fff;
  max-width: 100%; overflow-wrap: break-word;
}
.hero h1 em { font-style: normal; color: var(--gold); }
.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(30px, 4.5vw, 64px);
  align-items: end;
}
.hero__lead-col { min-width: 0; max-width: 660px; display: flex; flex-direction: column; gap: clamp(20px, 2.6vw, 30px); }
.hero__lead {
  font-family: var(--sans); font-weight: 400;
  font-size: clamp(21px, 2.8vw, 33px); line-height: 1.35;
  color: var(--text); max-width: 640px;
}
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(14px, 2vw, 24px); margin-top: 4px; }
.hero__meta {
  font-family: var(--sans); font-weight: 500; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim);
}

.facts { min-width: 0; max-width: 420px; margin: 0; border-top: 1px solid var(--divider-cyan); }
.facts__row {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule);
}
.facts dt {
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim);
}
.facts dd {
  margin: 0; text-align: right;
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  letter-spacing: .03em; color: var(--text);
}
.facts dd.is-cyan { color: var(--cyan); }

/* ---------- 3. Ticker ---------- */
.ticker { overflow: hidden; background: var(--gold); border-bottom: 1px solid var(--ink); }
.ticker__track { display: flex; width: max-content; animation: tick 34s linear infinite; }
.ticker__group { display: flex; align-items: center; padding: 11px 0; flex: none; }
.ticker__item {
  font-family: var(--cond); font-weight: 600; font-size: 16px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink);
  padding: 0 24px; white-space: nowrap;
}
.ticker__sep { color: var(--ink); opacity: .5; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- 4. A pesquisa ---------- */
.research__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.research__text { min-width: 0; display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 30px); }
.research__p1 { font-weight: 500; font-size: clamp(24px, 3.5vw, 44px); line-height: 1.2; color: #fff; }
.research__p2 { font-weight: 500; font-size: clamp(20px, 2.7vw, 32px); line-height: 1.28; color: var(--gold); }
.research__p3 { font-weight: 400; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.65; color: var(--text-muted); max-width: 52ch; }
.research__fig { min-width: 0; margin: clamp(0px, 2vw, 36px) 0 0; }
.portrait {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden;
  border: 1px solid rgba(237, 239, 244, .14);
}
.portrait img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(.85) contrast(1.06);
}
.portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7, 8, 13, .7) 0%, rgba(7, 8, 13, 0) 45%);
}
.research__fig figcaption { margin-top: 14px; }

/* ---------- 5. O equipamento ---------- */
.equipment {
  background: var(--ink-2);
  border-top: 1px solid rgba(237, 239, 244, .1);
  border-bottom: 1px solid rgba(237, 239, 244, .1);
}
.equipment__inner { display: flex; flex-direction: column; gap: clamp(32px, 4vw, 56px); }
.equipment__head {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.equipment__title { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.equipment__copy { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.equipment__p1 { font-size: clamp(18px, 2vw, 23px); line-height: 1.6; color: var(--text); }
.equipment__p2 { font-size: clamp(17px, 1.85vw, 20px); line-height: 1.65; color: var(--text-muted); }

.gazefig {
  position: relative; overflow: hidden; margin: 0;
  border: 1px solid rgba(111, 227, 214, .28);
  aspect-ratio: 16 / 9; min-height: 230px;
}
.gazefig img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 45%; filter: saturate(.8);
}
.gazefig__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(7, 8, 13, .82) 0%, rgba(7, 8, 13, .25) 46%, rgba(7, 8, 13, .5) 100%);
}
.gazefig__fix {
  position: absolute; left: 41%; top: 26%;
  width: clamp(54px, 9vw, 120px); height: clamp(54px, 9vw, 120px);
  border: 1.5px solid rgba(111, 227, 214, .85); border-radius: 50%;
  box-shadow: inset 0 0 34px rgba(111, 227, 214, .3);
  display: flex; align-items: center; justify-content: center;
}
.gazefig__fix::after {
  content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan);
}
.gazefig__aoi {
  position: absolute; left: 70%; top: 24%;
  width: clamp(26px, 4vw, 54px); height: clamp(26px, 4vw, 54px);
  border: 1.5px solid rgba(237, 239, 244, .45); border-radius: 50%;
}
.gazefig__chips {
  position: absolute; top: 0; left: 0; right: 0; padding: clamp(14px, 2.4vw, 28px);
  display: flex; gap: clamp(12px, 2vw, 26px); flex-wrap: wrap;
}
.chip {
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .14em;
  text-transform: uppercase; background: rgba(7, 8, 13, .7); padding: 5px 9px;
}
.chip--cyan { color: var(--cyan); }
.chip--light { color: var(--text); }
.gazefig figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(14px, 2.4vw, 28px);
  font-family: var(--sans); font-weight: 600;
  font-size: clamp(12px, 1.3vw, 14px); letter-spacing: .12em;
  text-transform: uppercase; color: var(--text-dim);
}

/* ---------- 6. A visita ---------- */
.visit__inner { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 48px); }
.visit__head { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.visit__head .h2 { font-size: clamp(34px, 6vw, 82px); }
.visit__sub { font-size: clamp(18px, 2vw, 23px); line-height: 1.6; color: var(--text-muted); }
.steps { list-style: none; margin: 0; padding: 0; }
.step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(12px, 2vw, 32px);
  align-items: baseline;
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-top: 1px solid var(--rule-2);
}
.step:last-child { border-bottom: 1px solid var(--rule-2); }
.step__head { display: flex; align-items: baseline; gap: 18px; min-width: 0; }
.step__num {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(38px, 5vw, 64px); line-height: .78;
  color: transparent; -webkit-text-stroke: 1.2px var(--gold); flex: none;
}
.step__num--cyan { -webkit-text-stroke-color: var(--cyan); }
.step h3 {
  font-family: var(--cond); font-weight: 600;
  font-size: clamp(21px, 2.5vw, 31px); letter-spacing: .02em;
  text-transform: uppercase; color: #fff;
}
.step p {
  grid-column: span 2; min-width: 0;
  font-size: clamp(17px, 1.85vw, 20px); line-height: 1.6; color: var(--text-muted);
}

/* ---------- 7. Elegibilidade ---------- */
.eligibility {
  position: relative; overflow: hidden;
  border-top: 1px solid rgba(237, 239, 244, .1);
}
.eligibility__bg {
  position: absolute; inset: 0; width: 100%; height: 100%; max-width: none;
  object-fit: cover; object-position: 70% 32%; filter: saturate(.7);
}
.eligibility__veil {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, #07080D 0%, rgba(7, 8, 13, .95) 40%, rgba(7, 8, 13, .66) 74%, rgba(7, 8, 13, .5) 100%);
}
.eligibility__inner { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(28px, 4vw, 44px); }
.eligibility__head { display: flex; flex-direction: column; gap: 18px; max-width: 760px; }
.criteria {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  /* 2 colunas no desktop, 1 no celular — nunca 3. */
  grid-template-columns: repeat(auto-fit, minmax(max(270px, 45%), 1fr));
  gap: clamp(10px, 1.4vw, 16px);
}
.criterion {
  min-width: 0;
  background: rgba(7, 8, 13, .82);
  border: 1px solid var(--rule-3);
  padding: clamp(22px, 2.6vw, 34px);
  display: flex; flex-direction: column; gap: 14px;
}
.criterion__idx { font-weight: 600; font-size: 14px; letter-spacing: .18em; color: var(--cyan); }
.criterion p { font-size: clamp(19px, 2.1vw, 25px); line-height: 1.35; color: #fff; }
.criterion strong { font-weight: 600; color: var(--gold); }
.eligibility__note { font-size: clamp(17px, 1.85vw, 20px); line-height: 1.65; color: var(--text-muted); max-width: 56ch; }

/* ---------- 8. Inscrição (bloco invertido) ---------- */
.signup { background: var(--gold); color: var(--ink); }
.signup__grid {
  padding-top: clamp(56px, 9vw, 120px); padding-bottom: clamp(56px, 9vw, 120px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.signup__text { min-width: 0; display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 28px); }
.signup .eyebrow { color: var(--gold-ink); }
.signup h2 {
  font-family: var(--cond); font-weight: 700;
  font-size: clamp(40px, 7.2vw, 104px); line-height: .92; letter-spacing: -.008em;
  text-transform: uppercase; color: var(--ink);
}
.signup__p { font-size: clamp(19px, 2.2vw, 26px); line-height: 1.4; color: var(--gold-ink-3); max-width: 44ch; }
.signup__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.signup__link {
  font-family: var(--sans); font-weight: 500;
  font-size: clamp(15px, 1.6vw, 18px); letter-spacing: .02em;
  color: var(--gold-ink-2); word-break: break-all;
  border-bottom: 1px solid rgba(7, 8, 13, .35);
  transition: color 120ms ease-out;
}
.signup__link:hover { color: var(--ink); }
.signup :focus-visible { outline-color: var(--ink); }
.qr { min-width: 0; display: flex; justify-content: center; }
.qr__card {
  flex: none; margin: 0;
  background: #fff; padding: clamp(14px, 1.8vw, 22px);
  border: 1px solid rgba(7, 8, 13, .25);
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.qr__card img { width: clamp(150px, 24vw, 240px); height: clamp(150px, 24vw, 240px); }
.qr__card figcaption {
  font-weight: 600; font-size: 12px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold-ink-2);
}

/* ---------- 9. Rodapé ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--rule); }
.footer__grid {
  padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(28px, 4vw, 48px);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}
.footer__text { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.footer__text p { font-size: 16px; line-height: 1.6; color: var(--text-dim); max-width: 60ch; }
.footer__logo { min-width: 0; display: flex; justify-content: flex-end; }
.footer__logo img { height: 54px; width: auto; flex: none; }

/* ---------- 10. Barra inferior ---------- */
.stickycta {
  position: sticky; bottom: 0; z-index: 50;
  background: rgba(7, 8, 13, .92);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(240, 192, 105, .35);
  padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
}
.stickycta__inner {
  max-width: 1240px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px;
}
.stickycta__label {
  font-weight: 600; font-size: 14px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--text-dim);
}
.stickycta .btn {
  flex: 1 1 180px; font-size: 16px; letter-spacing: .12em;
  padding: 0 22px; min-height: 46px;
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track { animation-play-state: paused; }
  .btn, .signup__link { transition: none; }
}
