/* =========================================================
   Trieste SJP — v2 (programa de jogo / editorial)
   ========================================================= */

@font-face { font-family: "Shoulders"; src: url("fonts/big-shoulders-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Shoulders"; src: url("fonts/big-shoulders-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --paper: #f3efe6;
  --paper-2: #e9e3d6;
  --ink: #0d0d0d;
  --ink-2: #1a1a1a;
  --muted: #5f5a50;
  --line: rgba(13, 13, 13, .16);
  --red: #d6111a;
  --red-dark: #a80c13;
  --green: #138a43;
  --white: #ffffff;

  --display: "Shoulders", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 88px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; line-height: .9; letter-spacing: .005em; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Flag strip ---------- */
.flag-strip { display: flex; height: 6px; }
.flag-strip span { flex: 1; }
.flag-strip span:nth-child(1) { background: var(--green); }
.flag-strip span:nth-child(2) { background: var(--white); }
.flag-strip span:nth-child(3) { background: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--display); font-weight: 700; font-size: 19px; text-transform: uppercase; letter-spacing: .04em;
  text-decoration: none; border: 2px solid var(--ink); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn svg { width: 18px; height: 12px; stroke: currentColor; stroke-width: 1.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.btn svg.wa { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.btn--red { background: var(--red); color: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.btn--red:hover { background: var(--red-dark); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--white { background: var(--white); color: var(--ink); border-color: var(--white); box-shadow: 5px 5px 0 var(--ink); }
.btn--white:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn--sm { padding: 10px 16px; font-size: 16px; box-shadow: 3px 3px 0 var(--ink); }
.btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* ---------- Kicker ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
  margin-bottom: 14px;
}
.kicker--light { color: rgba(255, 255, 255, .7); }
.kicker .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 17, 26, .18); }

/* ---------- Header (flutua sobre o hero; ganha fundo ao rolar) ---------- */
.flag-strip { position: fixed; top: 0; left: 0; right: 0; z-index: 57; height: 4px; }
.header {
  --hover: #ffcf33; --num: #ff4d55;
  position: fixed; top: 4px; left: 0; right: 0; z-index: 56; color: var(--white);
  background: linear-gradient(180deg, rgba(4, 12, 34, .7), rgba(4, 12, 34, 0));
  transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.16, .84, .44, 1);
}
.header.is-scrolled {
  --hover: var(--red); --num: var(--red);
  color: var(--ink); background: rgba(243, 239, 230, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .4);
}
.header.menu-open { --hover: #ffcf33; --num: #ff4d55; color: var(--white); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
/* no topo da página o menu desce um pouco; ao rolar, volta a encostar no topo */
.header { padding-top: 18px; }
.header.is-scrolled, .header.menu-open { padding-top: 0; }
.header { transition: background .35s ease, color .35s ease, box-shadow .35s ease, transform .35s cubic-bezier(.16, .84, .44, 1), padding .35s ease; }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 30px; max-width: none; padding: 0 clamp(16px, 2.6vw, 44px); }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); transition: transform .5s cubic-bezier(.2, 1.6, .4, 1); }
.brand:hover img { transform: rotate(-10deg) scale(1.08); }
.brand img { width: 68px; height: 68px; }
.brand__name { font-family: var(--display); font-weight: 900; font-size: 36px; text-transform: uppercase; line-height: .82; letter-spacing: .02em; }
.brand__name small {
  display: block; margin-top: 5px;
  font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .26em; opacity: .7;
}

.nav { display: flex; gap: clamp(18px, 2.2vw, 32px); margin-left: auto; }
.nav a {
  display: inline-flex; align-items: flex-start; gap: 5px; text-decoration: none;
  font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: .07em;
  line-height: 1.35; height: 1.35em; overflow: hidden;
}
.nav a i {
  font-style: normal; font-family: var(--body); font-weight: 700; font-size: 9px; letter-spacing: .04em;
  color: var(--num); line-height: 1; padding: 2px 3px; margin-top: 3px; transition: background .25s ease, color .25s ease;
}
.nav a span { display: inline-block; text-shadow: 0 1.35em 0 var(--hover); transition: transform .45s cubic-bezier(.7, 0, .2, 1); }
.nav a:hover span, .nav a:focus-visible span { transform: translateY(-1.35em); }
.nav a.is-current i { background: var(--red); color: var(--white); }

.header__cta { box-shadow: 3px 3px 0 var(--white); }
.header.is-scrolled .header__cta { box-shadow: 3px 3px 0 var(--ink); }

/* entrada do menu ao abrir a página */
.brand, .nav a { animation: dropIn .7s cubic-bezier(.16, .84, .44, 1) both; }
.nav a:nth-child(1) { animation-delay: .15s; }
.nav a:nth-child(2) { animation-delay: .22s; }
.nav a:nth-child(3) { animation-delay: .29s; }
.nav a:nth-child(4) { animation-delay: .36s; }
.nav a:nth-child(5) { animation-delay: .43s; }
.nav a:nth-child(6) { animation-delay: .5s; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-18px); } }

/* botão do menu (celular) */
.burger { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .35s cubic-bezier(.7, 0, .2, 1), opacity .2s ease, left .35s ease; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 21px; left: 18px; }
.burger span:nth-child(3) { top: 28px; }
.burger:hover span:nth-child(2) { left: 10px; }
.menu-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* menu em tela cheia */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 34px) var(--gutter) 32px; color: var(--white);
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px), var(--ink);
  clip-path: circle(0% at calc(100% - 44px) 48px); visibility: hidden;
  transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s linear .6s;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 44px) 48px); visibility: visible; transition: clip-path .6s cubic-bezier(.7, 0, .2, 1), visibility 0s; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a {
  display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); text-decoration: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(38px, 11vw, 60px); text-transform: uppercase; line-height: 1;
  opacity: 0; transform: translateX(-30px); transition: opacity .4s ease, transform .5s cubic-bezier(.16, .84, .44, 1), color .2s ease;
}
.menu__nav a i { font-style: normal; font-family: var(--body); font-size: 12px; font-weight: 700; color: var(--red); margin-top: 6px; }
.menu__nav a:hover { color: #ffcf33; }
.menu.is-open .menu__nav a { opacity: 1; transform: none; }
.menu.is-open .menu__nav a:nth-child(1) { transition-delay: .2s; }
.menu.is-open .menu__nav a:nth-child(2) { transition-delay: .26s; }
.menu.is-open .menu__nav a:nth-child(3) { transition-delay: .32s; }
.menu.is-open .menu__nav a:nth-child(4) { transition-delay: .38s; }
.menu.is-open .menu__nav a:nth-child(5) { transition-delay: .44s; }
.menu.is-open .menu__nav a:nth-child(6) { transition-delay: .5s; }
.menu__foot { display: grid; gap: 14px; }
.menu__foot .btn { justify-content: center; box-shadow: 4px 4px 0 var(--white); }
.menu__foot p { font-size: 14px; color: rgba(255, 255, 255, .65); text-align: center; }

@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__cta { margin-left: auto; }
}
@media (max-width: 520px) {
  .header__cta { display: none; }
  .burger { margin-left: auto; }
  .brand img { width: 54px; height: 54px; }
  .brand__name { font-size: 28px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); overflow: hidden; }
.hero__ghost {
  position: absolute; right: -2vw; bottom: -6vw;
  font-family: var(--display); font-weight: 900; font-size: clamp(200px, 34vw, 520px); line-height: .8;
  color: transparent; -webkit-text-stroke: 2px rgba(13, 13, 13, .07);
  pointer-events: none; user-select: none;
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(60px, 8.6vw, 136px); line-height: .86; margin-bottom: 26px; white-space: nowrap; }
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--red); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); max-width: 32em; color: var(--ink-2); margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__facts { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 0; border-top: 2px solid var(--ink); }
.hero__facts div { padding: 14px 28px 0 0; margin-right: 28px; border-right: 1px solid var(--line); }
.hero__facts div:last-child { border-right: 0; margin-right: 0; }
.hero__facts dt { font-family: var(--display); font-weight: 900; font-size: 26px; text-transform: uppercase; line-height: 1; }
.hero__facts dd { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.hero__media { position: relative; min-height: 520px; }
.polaroid { margin: 0; perspective: 900px; }
.polaroid__card { position: relative; background: var(--white); padding: 12px 12px 14px; border-radius: 15px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45); }
.polaroid__photo { display: block; overflow: hidden; border-radius: 6px; }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { position: relative; display: inline-block; font-family: var(--display); font-weight: 700; font-size: 18px; text-transform: uppercase; margin-top: 10px; letter-spacing: .03em; }
.polaroid--main { position: relative; width: 92%; transform: rotate(2.2deg); z-index: 1; }
.polaroid--small { position: absolute; left: -6%; bottom: 0; width: 52%; transform: rotate(-5deg); z-index: 2; }
.polaroid--small img { aspect-ratio: 1 / 1; object-position: 45% 30%; }
.tape {
  position: absolute; top: -14px; right: 12%; z-index: 3;
  background: var(--red); color: var(--white);
  font-family: var(--display); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .1em;
  padding: 6px 16px; transform: rotate(4deg);
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { min-height: 0; padding-bottom: 38%; margin-top: 8px; }
  .polaroid--main { width: 86%; margin-left: auto; }
  .polaroid--small { width: 50%; left: 0; }
}
@media (max-width: 520px) {
  .hero__facts { grid-template-columns: repeat(3, 1fr); }
  .hero__facts div { padding-right: 10px; margin-right: 10px; }
  .hero__facts dt { font-size: 21px; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .polaroid figcaption { font-size: 15px; }
}

/* ---------- Scoreboard ---------- */
.scoreboard { background: var(--ink); color: var(--white); border-top: 6px solid var(--red); }
.scoreboard__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-top: 34px; padding-bottom: 34px;
}
.score__team { display: flex; align-items: center; gap: 14px; font-family: var(--display); font-weight: 900; font-size: clamp(22px, 3vw, 38px); text-transform: uppercase; line-height: 1; }
.score__team--away { justify-content: flex-end; color: rgba(255, 255, 255, .5); }
.score__shadow { width: 52px; height: 52px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .35); flex: none; }
.score__digits {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--display); font-weight: 900; font-size: clamp(58px, 8vw, 104px); line-height: 1;
}
.score__digits { position: relative; }
.digit { display: block; background: #1f1f1f; border: 1px solid #2c2c2c; padding: 0 18px; height: 1.08em; overflow: hidden; color: #ffcf33; text-shadow: 0 0 18px rgba(255, 207, 51, .35); }
.digit b { display: flex; flex-direction: column; font-weight: inherit; }
.digit i { display: block; font-style: normal; height: 1.08em; line-height: 1.12; text-align: center; min-width: .6em; }
.digit__roll { transform: translateY(-50%); transition: transform 1.1s cubic-bezier(.7, -0.4, .3, 1.4) .5s; }
.anim-ready .scoreboard:not(.is-in) .digit__roll { transform: translateY(0); }
.score__goal {
  position: absolute; left: 50%; top: -18px; z-index: 2;
  background: var(--red); color: var(--white); font-size: 20px; letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 12px; transform: translate(-50%, 0) rotate(-6deg) scale(0); pointer-events: none;
}
.scoreboard.is-in .score__goal { animation: goal 2.4s cubic-bezier(.2, 1.6, .4, 1) 1.5s forwards; }
@keyframes goal {
  0% { transform: translate(-50%, 0) rotate(-6deg) scale(0); }
  18% { transform: translate(-50%, -6px) rotate(-6deg) scale(1.25); }
  30%, 100% { transform: translate(-50%, 0) rotate(-6deg) scale(1); }
}
.scoreboard.is-in .score__shadow { animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.score__digits > i { font-style: normal; font-size: .5em; color: rgba(255, 255, 255, .4); }
.score__note { grid-column: 1 / -1; text-align: center; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 640px) {
  .scoreboard__inner { grid-template-columns: 1fr 1fr; gap: 18px; }
  .score__digits { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .score__team img { width: 40px; height: 40px; }
  .score__shadow { width: 38px; height: 38px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 136px) 0; }
.section--dark { background: var(--ink); color: var(--white); }
.section--paper2 { background: var(--paper-2); }
.section__head { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 40px); margin-bottom: clamp(40px, 6vw, 72px); padding-bottom: 24px; border-bottom: 2px solid currentColor; }
.section__num { font-family: var(--display); font-weight: 900; font-size: clamp(88px, 14vw, 200px); line-height: .72; color: var(--red); }
.section__title { font-size: clamp(44px, 6.4vw, 92px); }
@media (max-width: 520px) {
  .section__head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .section__num { font-size: 72px; }
}

/* ---------- 01 Núcleo ---------- */
.nucleo { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.intro-lead { font-size: clamp(20px, 1.9vw, 25px); line-height: 1.45; margin-bottom: 22px; }
.nucleo__text > p:not(.intro-lead) { color: var(--ink-2); margin-bottom: 28px; }
.nucleo__text em { font-style: normal; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ticks li { position: relative; padding: 13px 0 13px 34px; border-bottom: 1px solid var(--line); font-weight: 600; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 10px; margin-top: -7px;
  border-left: 3px solid var(--green); border-bottom: 3px solid var(--green); transform: rotate(-45deg);
}

.crest { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.crest img { grid-column: 1 / -1; width: min(360px, 80%); margin: 0 auto 12px; filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .28)); }
.crest__note { font-size: 13px; line-height: 1.4; color: var(--muted); padding-left: 12px; border-left: 3px solid var(--ink); }
.crest__note b { display: block; font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; color: var(--ink); line-height: 1.1; }
.crest__note--1 { border-color: var(--green); }
.crest__note--3 { border-color: var(--red); }

/* ---------- 01: versão animada ---------- */
#nucleo { background: repeating-linear-gradient(-45deg, rgba(13, 13, 13, .028) 0 2px, transparent 2px 26px), var(--paper); overflow: hidden; }

/* faixas finas cruzando atrás do escudo */
.crest { position: relative; }
.crest img { position: relative; z-index: 1; }
.crest__bands {
  position: absolute; left: -8%; right: -40%; top: 30%; height: 90px; z-index: 0; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%); mask-image: linear-gradient(90deg, transparent, #000 18%);
}
.crest__bands .band { border-block-width: 2px; }
.band--green { top: 0; background: var(--green); color: var(--white); transform: rotate(-9deg); border-color: var(--ink); }
.band--black { top: 34px; background: var(--ink); color: var(--white); transform: rotate(7deg); border-color: var(--white); }
.crest__bands .band__track span {
  font-size: clamp(14px, 1.2vw, 17px); letter-spacing: .14em; padding: 5px 0; display: inline-flex; align-items: center;
}
.crest__bands .band__track span::after { content: ""; width: 6px; height: 6px; margin: 0 18px; border-radius: 50%; background: currentColor; opacity: .6; }
.band--black .band__track span:nth-of-type(3n + 1) { color: #ffcf33; }
.band--green .band__track span:nth-of-type(3n + 1) { color: var(--ink); }

/* notas do escudo: linha que cresce e realce no hover */
.crest__note { position: relative; transition: transform .3s ease; }
.crest__note:hover { transform: translateY(-3px); }
.crest__note::after { content: ""; position: absolute; left: -3px; bottom: 0; width: 3px; height: 0; background: var(--ink); transition: height .35s ease; }
.crest__note--1::after { background: var(--green); }
.crest__note--3::after { background: var(--red); }
.crest__note:hover::after { height: 100%; width: 6px; }

/* marca-texto que se desenha na frase do lema */
.nucleo__text em {
  background: linear-gradient(rgba(214, 17, 26, .24), rgba(214, 17, 26, .24)) no-repeat 0 88% / 100% 42%;
  transition: background-size 1.1s cubic-bezier(.7, 0, .2, 1) .5s;
}
.anim-ready .nucleo__text p:not(.is-in) em { background-size: 0% 42%; }

/* lista: traço vermelho fino corre por baixo no hover */
.ticks li { transition: padding-left .3s ease; }
.ticks li::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.ticks li:hover { padding-left: 42px; }
.ticks li:hover::after { transform: scaleX(1); }
.ticks li:hover::before { animation: tickPop .45s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes tickPop { 50% { transform: rotate(-45deg) scale(1.35); } }
@media (max-width: 900px) { .nucleo { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .crest { grid-template-columns: 1fr; } }

/* ---------- Cover (hero com a arte do cliente) ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.cover { position: relative; background: #0b2557; overflow: hidden; }
.cover__art picture { display: block; }
.cover__art img { width: 100%; }
.cover__cta {
  position: absolute; right: 12%; bottom: 13%; z-index: 2;
  display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end;
}
.btn--line { background: transparent; color: var(--white); border-color: var(--white); }
.btn--line:hover { background: var(--white); color: var(--ink); }
.cover .btn--red { box-shadow: 5px 5px 0 var(--white); }
@media (max-width: 1100px) { .cover__cta { right: 6%; bottom: 8%; } .cover__cta .btn { font-size: 16px; padding: 12px 18px; } }
@media (max-width: 760px) {
  .cover { padding-top: calc(var(--header-h) + 22px); }
  .cover__cta { position: static; flex-direction: column; padding: 4px var(--gutter) 40px; background: #0b2557; }
  .cover__cta .btn { width: 100%; justify-content: center; font-size: 18px; padding: 15px 20px; }
}

/* ---------- 02 Modalidades ---------- */
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); perspective: 1200px; }
.mode {
  position: relative; display: flex; flex-direction: column; padding: 12px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16); border-radius: 20px; background: rgba(255, 255, 255, .02);
}
.mode__media { position: relative; overflow: hidden; border-radius: 15px; isolation: isolate; }
.mode__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: grayscale(.25) contrast(1.05); transition: transform .8s cubic-bezier(.2, .8, .3, 1), filter .4s ease; }
.mode__tag {
  position: absolute; left: 0; top: 0; z-index: 2; width: 64px; height: 64px; display: grid; place-items: center;
  background: var(--red); font-family: var(--display); font-weight: 900; font-size: 38px; border-bottom-right-radius: 15px;
}
.mode__body { position: relative; padding: clamp(18px, 2.6vw, 30px) clamp(10px, 1.8vw, 24px) clamp(10px, 1.5vw, 18px); flex: 1; }
.mode__title { position: relative; font-size: clamp(38px, 4.4vw, 60px); margin-bottom: 14px; }
.mode__body p { position: relative; color: rgba(255, 255, 255, .78); margin-bottom: 22px; }
.mode__list { position: relative; list-style: none; margin: 0; padding: 0; }
.mode__list li { padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 15px; font-weight: 600; display: flex; gap: 12px; }
.mode__list li::before { content: "→"; color: var(--red); transition: transform .3s cubic-bezier(.2, 1.6, .4, 1); }
.mode__list li:hover::before { transform: translateX(6px); }
@media (max-width: 760px) { .modes { grid-template-columns: 1fr; } }

/* linhas do campo/quadra que se desenham sobre a foto */
.mode__lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.mode__lines * {
  fill: none; stroke: rgba(255, 255, 255, .92); stroke-width: 2;
  stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.7, 0, .2, 1);
}
.mode__lines :nth-child(2) { transition-delay: .12s; }
.mode__lines :nth-child(3) { transition-delay: .24s; }
.mode__lines :nth-child(4) { transition-delay: .36s; }
.mode__lines :nth-child(5) { transition-delay: .44s; }
.mode__lines :nth-child(6) { transition-delay: .52s; }
.mode__lines :nth-child(7) { transition-delay: .6s; }
.mode.is-focus .mode__lines * { stroke-dashoffset: 0; }
.mode__media::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0) 40%, rgba(13, 13, 13, .55)); opacity: 0; transition: opacity .4s ease;
}

/* reflexo de luz seguindo o ponteiro */
.mode__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .35), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light;
}

/* palavra gigante vazada ao fundo do cartão */
.mode__ghost {
  position: absolute; right: -4px; bottom: -.18em; pointer-events: none; white-space: nowrap;
  font-family: var(--display); font-weight: 900; font-size: clamp(90px, 11vw, 170px); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .09);
  transition: transform .8s cubic-bezier(.2, .8, .3, 1), -webkit-text-stroke-color .4s ease;
}

/* cartão em foco (mouse ou dedo) */
.mode.is-in { transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); }
.mode.is-focus { border-color: var(--red); transition: border-color .3s ease, transform .12s ease-out; }
.mode.is-focus .mode__media img { transform: scale(1.08); filter: saturate(1.2) contrast(1.05); }
.mode.is-focus .mode__media::after { opacity: 1; }
.mode.is-focus .mode__glare { opacity: 1; }
.mode.is-focus .mode__ghost { transform: translateX(-24px); -webkit-text-stroke-color: rgba(214, 17, 26, .45); }

/* ---------- 03 Método / prancheta ---------- */
.board { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.board__pitch { background: var(--green); padding: 16px; box-shadow: 10px 10px 0 var(--ink); background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 40px, transparent 40px 80px); }
.board__pitch svg { width: 100%; height: auto; display: block; }
.p-line { fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2.5; }
.p-fill { fill: rgba(255, 255, 255, .75); }
.p-run { fill: none; stroke: var(--white); stroke-width: 2.5; stroke-dasharray: 7 7; }
.p-pass { fill: none; stroke: #ffcf33; stroke-width: 3; }
.p-pos circle { fill: var(--ink); stroke: var(--white); stroke-width: 2.5; }
.p-pos text { fill: var(--white); font-family: var(--display); font-weight: 900; font-size: 20px; text-anchor: middle; }
.p-pos--red circle { fill: var(--red); }
.p-ball { fill: var(--white); stroke: var(--ink); stroke-width: 2; opacity: 0; transition: opacity .4s ease; }
.board.ball-on .p-ball { opacity: 1; }

.board__list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.board__list li { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.board__list li:first-child { padding-top: 0; }
.board__n {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 900; font-size: 26px;
}
.board__n--red { background: var(--red); }
.board__list h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 6px; }
.board__list p { color: var(--ink-2); }
@media (max-width: 860px) {
  .board { grid-template-columns: 1fr; }
  .board__pitch { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .board__list li { grid-template-columns: 44px 1fr; gap: 14px; }
  .board__n { width: 44px; height: 44px; font-size: 22px; }
}

/* ---------- 04 Álbum: duas fileiras de ingressos ---------- */
.section--album {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(ellipse 60% 50% at 85% 10%, rgba(214, 17, 26, .35), transparent 70%),
    radial-gradient(ellipse 50% 40% at 5% 95%, rgba(19, 138, 67, .22), transparent 70%),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 26px),
    var(--ink);
}
.section--album .section__head { margin-bottom: clamp(36px, 5vw, 56px); }

.reels { position: relative; display: grid; gap: 54px; padding: 14px 0 8px; }
.reels::before {
  content: ""; position: absolute; left: -5%; right: -5%; top: 50%; height: 22px; margin-top: -11px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--red-dark) 14px 28px);
  border-block: 2px solid var(--white); transform: rotate(-.6deg);
  animation: slimStripes 1.2s linear infinite;
}
@keyframes slimStripes { to { background-position: 39.6px 0; } }
.reel { position: relative; width: 110%; margin-left: -5%; overflow-x: auto; scrollbar-width: none; padding: 14px 0; }
.reel::-webkit-scrollbar { display: none; }
.reel.is-driven { overflow: hidden; }
.reel--a { transform: rotate(-1.6deg); }
.reel--b { transform: rotate(1.2deg); }
.reel__track { display: flex; gap: 20px; width: max-content; padding: 0 10px; will-change: transform; }

.pass {
  position: relative; display: flex; flex: none; height: clamp(140px, 15vw, 196px);
  padding: 0; border: 0; background: var(--white); color: var(--ink); cursor: zoom-in; text-align: left;
  box-shadow: 0 16px 28px -16px rgba(0, 0, 0, .8);
}
.pass:nth-child(odd) { transform: rotate(-1deg); }
.pass:nth-child(even) { transform: rotate(1deg) translateY(6px); }
.pass:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.pass__photo { display: block; height: 100%; aspect-ratio: 4 / 3; overflow: hidden; border: 6px solid var(--white); border-right: 0; }
.pass__photo img { width: 100%; height: 100%; object-fit: cover; }
.pass__stub {
  position: relative; width: 58px; display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: 12px 0; border-left: 2px dashed var(--ink); background: var(--paper);
}
.pass__stub::before, .pass__stub::after {
  content: ""; position: absolute; left: -9px; width: 16px; height: 16px; border-radius: 50%; background: var(--ink);
}
.pass__stub::before { top: -8px; }
.pass__stub::after { bottom: -8px; }
.pass__stub b { font-family: var(--display); font-weight: 900; font-size: 26px; line-height: 1; color: var(--red); }
.pass__cap {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .1em; white-space: nowrap;
}
.pass:nth-child(3n) .pass__stub { background: var(--red); color: var(--white); }
.pass:nth-child(3n) .pass__stub b { color: var(--white); }
.pass:nth-child(3n + 2) .pass__stub { background: var(--green); color: var(--white); }
.pass:nth-child(3n + 2) .pass__stub b { color: var(--white); }
@media (max-width: 600px) {
  .reels { gap: 40px; }
  .reel__track { gap: 14px; }
  .pass { height: 128px; }
  .pass__photo { border-width: 4px; }
  .pass__stub { width: 44px; }
  .pass__stub b { font-size: 20px; }
  .pass__cap { font-size: 12px; }
}

/* ---------- 05 Tickets ---------- */
.tickets { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ticket { display: flex; background: var(--white); border: 2px solid var(--ink); border-radius: 15px; position: relative; }
.ticket__stub {
  flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-right: 2px dashed var(--ink);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--muted);
}
.ticket__stub b { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: .9; color: var(--ink); letter-spacing: 0; }
.ticket__body { padding: 24px 22px; }
.ticket__body h3 { font-size: 28px; margin-bottom: 8px; }
.ticket__body p { font-size: 15px; color: var(--ink-2); }
.ticket--red { background: var(--red); color: var(--white); }
.ticket--red .ticket__stub, .ticket--red .ticket__stub b, .ticket--red .ticket__body p { color: var(--white); }
.ticket--red .ticket__stub { border-right-color: rgba(255, 255, 255, .7); }
@media (max-width: 900px) { .tickets { grid-template-columns: 1fr; } }

/* ---------- Parceria oficial ---------- */
.partner { position: relative; overflow: hidden; background: var(--red); color: var(--white); padding: clamp(84px, 10vw, 140px) 0 clamp(80px, 9vw, 120px); }
.partner::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(-45deg, rgba(0, 0, 0, .06) 0 2px, transparent 2px 22px);
  animation: finalStripes 2.4s linear infinite;
}
.partner::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 60% at 80% 35%, rgba(0, 0, 0, .25), transparent 70%);
}
.partner__ghost {
  position: absolute; left: 0; right: 0; top: 18px; overflow: hidden; pointer-events: none; z-index: 0;
  font-family: var(--display); font-weight: 900; font-size: clamp(80px, 12vw, 190px); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .16);
}
.partner__ghost-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.partner__ghost.is-driven .partner__ghost-track { animation: none; }
.partner__ghost-track span { padding-right: .35em; white-space: nowrap; }
.partner .wrap { position: relative; z-index: 1; }

.partner__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.partner__badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  background: var(--ink); color: #ffcf33; padding: 8px 14px; border-radius: 8px;
  font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .12em;
}
.partner__badge svg { animation: spin 6s linear infinite; }
.partner__title { font-size: clamp(44px, 5.4vw, 86px); margin-bottom: 22px; }
.partner__title em { font-style: normal; color: var(--ink); }
.partner__text { font-size: clamp(17px, 1.5vw, 20px); max-width: 32em; color: rgba(255, 255, 255, .92); }
.partner__text strong { color: var(--white); background: linear-gradient(transparent 62%, rgba(13, 13, 13, .3) 62%); }

.partner__seals { display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.4vw, 18px); }
.seal { position: relative; width: clamp(170px, 18vw, 240px); aspect-ratio: 1; display: grid; place-items: center; flex: none; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; animation: spin 22s linear infinite; }
.seal--alt .seal__ring { animation-direction: reverse; }
.seal__ring text { fill: var(--white); font-family: var(--display); font-weight: 900; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.seal__core {
  width: 68%; aspect-ratio: 1; border-radius: 50%; display: grid; place-content: center; gap: 6px; text-align: center;
  background: var(--white); color: var(--ink); border: 3px solid var(--ink); box-shadow: 6px 6px 0 var(--ink);
  transition: transform .45s cubic-bezier(.2, 1.6, .4, 1);
}
.seal--alt .seal__core { background: var(--ink); color: var(--white); border-color: var(--white); box-shadow: 6px 6px 0 rgba(0, 0, 0, .35); }
.seal:hover .seal__core { transform: scale(1.07) rotate(-5deg); }
.seal__label { font-size: 9px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.seal--alt .seal__label { color: #ffcf33; }
.seal__name { font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2vw, 28px); line-height: .9; text-transform: uppercase; }
.partner__plus { font-family: var(--display); font-weight: 900; font-size: 46px; line-height: 1; color: var(--ink); }

/* caminho: escola → captação → avaliação no clube */
.path { position: relative; margin-top: clamp(64px, 8vw, 100px); }
.path__line {
  position: absolute; left: 6%; right: 6%; top: -34px; height: 0; border-top: 2px dashed rgba(255, 255, 255, .7);
  transform-origin: 0 50%; transition: transform 1.4s cubic-bezier(.7, 0, .2, 1) .2s;
}
.anim-ready .path:not(.is-in) .path__line { transform: scaleX(0); }
.path__ball { position: absolute; top: -13px; left: 0; width: 24px; height: 24px; animation: pathRun 5s cubic-bezier(.45, 0, .55, 1) infinite; }
.path__ball svg { width: 100%; height: 100%; display: block; animation: roll 1.2s linear infinite reverse; }
@keyframes pathRun { 0% { left: 0; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
.path__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.path__step {
  position: relative; background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 15px;
  padding: 24px 22px 22px; box-shadow: 6px 6px 0 var(--ink);
}
.path__step:not(:last-child)::after {
  content: "→"; position: absolute; right: -31px; top: 50%; z-index: 2; width: 34px; height: 34px; margin-top: -17px;
  display: grid; place-items: center; border-radius: 50%; background: #ffcf33; color: var(--ink); border: 2px solid var(--ink);
  font-weight: 700; font-size: 18px;
}
.path__step--goal { background: var(--ink); color: var(--white); box-shadow: 6px 6px 0 #ffcf33; }
.path__n { display: block; font-family: var(--display); font-weight: 900; font-size: 50px; line-height: .9; color: var(--red); margin-bottom: 10px; }
.path__step--goal .path__n { color: #ffcf33; }
.path__step h3 { font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 8px; }
.path__step p { font-size: 15px; color: inherit; opacity: .8; }

@media (max-width: 900px) {
  .partner__grid { grid-template-columns: 1fr; }
  .partner__seals { justify-content: flex-start; }
}
@media (max-width: 760px) {
  .path__line { display: none; }
  .path__steps { grid-template-columns: 1fr; gap: 30px; }
  .path__step:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -27px; margin: 0 0 0 -17px; }
}
@media (max-width: 480px) {
  .seal { width: 152px; }
  .seal__core { width: 74%; gap: 4px; }
  .partner__plus { font-size: 30px; }
  .seal__label { font-size: 7px; letter-spacing: .12em; }
  .seal__name { font-size: 14px; }
}

/* ---------- Competições (dentro da seção 02) ---------- */
.comps {
  display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: clamp(28px, 4vw, 56px); align-items: center;
  margin-top: clamp(56px, 7vw, 90px); padding-top: clamp(36px, 4vw, 52px); border-top: 1px solid rgba(255, 255, 255, .16);
}
.comps__trophy { display: inline-flex; color: #ffcf33; }
.comps__title { font-size: clamp(32px, 3.6vw, 54px); line-height: .95; }
.comps__title em { font-style: normal; color: var(--red); }
.comps__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.comp {
  position: relative; padding: 16px 16px 18px; border-radius: 15px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
  transition: border-color .3s ease, background .3s ease, opacity .8s ease, transform .9s cubic-bezier(.16, .84, .44, 1);
}
.comp:hover { border-color: var(--red); background: rgba(255, 255, 255, .06); }
.comp__field { display: block; width: 100%; height: auto; margin-bottom: 14px; border-radius: 8px; background: rgba(19, 138, 67, .22); transition: background .35s ease; }
.comp:hover .comp__field { background: rgba(19, 138, 67, .55); }
.comp__field * { fill: none; stroke: rgba(255, 255, 255, .8); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1s cubic-bezier(.7, 0, .2, 1); }
.comp__field :nth-child(2) { transition-delay: .15s; }
.comp__field :nth-child(3) { transition-delay: .3s; }
.comp__field :nth-child(4) { transition-delay: .45s; }
.comp__field :nth-child(5) { transition-delay: .55s; }
.comp__field :nth-child(6) { transition-delay: .65s; }
.comp__field :nth-child(7) { transition-delay: .75s; }
.anim-ready .comp:not(.is-in) .comp__field * { stroke-dashoffset: 1; }
.comp__num { position: absolute; bottom: 18px; right: 18px; font-family: var(--display); font-weight: 900; font-size: 20px; color: #ffcf33; }
.comp__name { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 2.8vw, 40px); line-height: .95; text-transform: uppercase; margin: 0 0 4px; }
.comp__type { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .comps { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .comps__list { grid-template-columns: 1fr; } .comp { display: grid; grid-template-columns: 120px 1fr; gap: 0 16px; align-items: center; } .comp__field { grid-row: span 2; margin: 0; } .comp__num { top: auto; bottom: 14px; right: 14px; } }

/* ---------- 06 Onde treinamos ---------- */
.section--local { background: var(--paper-2); padding-bottom: clamp(96px, 12vw, 150px); }
.local { display: grid; grid-template-columns: minmax(300px, 1fr) 1.5fr; gap: clamp(24px, 3vw, 40px); align-items: stretch; }
.local__card {
  position: relative; display: flex; flex-direction: column; gap: 26px;
  background: var(--ink); color: var(--white); padding: clamp(26px, 3.4vw, 44px);
  border-top: 8px solid transparent;
  border-image: linear-gradient(90deg, var(--green) 0 33%, var(--white) 33% 66%, var(--red) 66%) 1;
}
.local__tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); padding: 6px 12px;
  font-family: var(--display); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .08em;
}
.local__address { font-style: normal; font-size: 17px; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.local__address strong {
  display: block; color: var(--white); margin-bottom: 6px;
  font-family: var(--display); font-weight: 900; font-size: clamp(34px, 3.6vw, 52px); line-height: .95; text-transform: uppercase;
}
.local__info { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.local__info li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .16); font-size: 15px; }
.local__info span { color: rgba(255, 255, 255, .55); text-transform: uppercase; letter-spacing: .12em; font-size: 12px; font-weight: 700; align-self: center; }
.local__info a { font-weight: 600; text-decoration: none; }
.local__info a:hover { color: #ffcf33; }
.local__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.local__actions .btn { flex: 1 1 auto; justify-content: center; }
.local__card .btn--red { box-shadow: 5px 5px 0 var(--white); }

.local__map { display: flex; flex-direction: column; border: 3px solid var(--ink); box-shadow: 12px 12px 0 var(--red); background: var(--ink); }

/* barra de controles */
.map-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 12px; background: var(--ink); color: var(--white); }
.map-bar__live {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto;
  font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .1em;
}
.map-bar__live i { width: 10px; height: 10px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 17, 26, .35); animation: blink 1.6s ease-in-out infinite; }
.map-bar__group { display: flex; align-items: center; border: 1px solid rgba(255, 255, 255, .25); }
.map-btn {
  height: 34px; min-width: 34px; padding: 0 12px; border: 0; background: transparent; color: rgba(255, 255, 255, .75); cursor: pointer;
  font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
  display: inline-grid; place-items: center; transition: background .18s ease, color .18s ease;
}
.map-btn + .map-btn, .map-bar__zoom + .map-btn { border-left: 1px solid rgba(255, 255, 255, .25); }
.map-btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.map-btn.is-on { background: var(--red); color: var(--white); }
.map-btn--icon { padding: 0; width: 34px; font-size: 20px; line-height: 1; }
.map-btn:disabled { opacity: .35; cursor: default; background: transparent; }
.map-btn:focus-visible { outline: 2px solid #ffcf33; outline-offset: -2px; }
.map-bar__zoom { min-width: 30px; text-align: center; font-family: var(--display); font-weight: 900; font-size: 15px; color: #ffcf33; border-left: 1px solid rgba(255, 255, 255, .25); line-height: 34px; }

/* área do mapa: o iframe sobe 150px para esconder o cartão do Google (créditos embaixo continuam visíveis) */
.map-frame { --crop: 150px; position: relative; flex: 1; min-height: 420px; overflow: hidden; background: #dfe7dc; }
.map-frame iframe { position: absolute; left: 0; top: calc(var(--crop) * -1); width: 100%; height: calc(100% + var(--crop)); border: 0; display: block; transition: opacity .3s ease; }
.map-frame.is-loading iframe { opacity: .35; }

/* radar no ponto da escolinha (o centro do iframe fica 75px acima do centro da área) */
.map-radar { position: absolute; left: 50%; top: calc(50% - var(--crop) / 2); width: 0; height: 0; pointer-events: none; z-index: 1; }
.map-radar i {
  position: absolute; left: -60px; top: -60px; width: 120px; height: 120px; border-radius: 50%;
  border: 2px solid var(--red); background: rgba(214, 17, 26, .12);
  animation: radar 2.7s cubic-bezier(.2, .6, .4, 1) infinite; opacity: 0;
}
.map-radar i:nth-child(2) { animation-delay: .9s; }
.map-radar i:nth-child(3) { animation-delay: 1.8s; }
@keyframes radar { 0% { transform: scale(.1); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

/* capa: evita o mapa "prender" a rolagem; some ao clicar */
.map-cover {
  position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 13, 13, .55));
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 46px;
  transition: opacity .3s ease;
}
.map-cover span {
  display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--ink);
  padding: 10px 18px; border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  font-family: var(--display); font-weight: 900; font-size: 17px; text-transform: uppercase; letter-spacing: .06em;
}
.map-cover span svg { color: var(--red); }
.map-frame.is-active .map-cover { opacity: 0; pointer-events: none; }
.map-radar { transition: opacity .3s ease; }
.map-frame.is-active .map-radar, .map-frame.is-loading .map-radar { opacity: 0; }

@media (max-width: 860px) {
  .local { grid-template-columns: 1fr; }
  .local__map { box-shadow: 8px 8px 0 var(--red); margin-right: 8px; }
  .map-frame { min-height: 360px; }
}
@media (max-width: 480px) {
  .map-bar__live { width: 100%; }
  .map-bar__group:last-child { margin-left: auto; }
}

/* ---------- Final CTA ---------- */
.final { background: var(--red); color: var(--white); padding: clamp(72px, 10vw, 128px) 0; position: relative; overflow: hidden; }
.final::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(-45deg, rgba(0,0,0,.06) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.final { padding-top: clamp(96px, 12vw, 150px); }
.final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 45% 70% at 18% 55%, rgba(0, 0, 0, .28), transparent 70%),
              radial-gradient(ellipse 40% 60% at 95% 0%, rgba(255, 255, 255, .12), transparent 70%);
}
.final__inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.final__badge { position: relative; width: clamp(170px, 22vw, 290px); aspect-ratio: 1; display: grid; place-items: center; }
.final__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }
.final__ring text { fill: var(--white); font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }
.final__crest { width: 64%; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, .35)); }
.final__title { font-size: clamp(46px, 5.4vw, 92px); margin-bottom: 18px; }
.final__title .line { display: block; overflow: hidden; }
.final__title .line:last-child { padding-bottom: .08em; margin-bottom: -.08em; }
.final__title .line > span { display: block; transition: transform 1s cubic-bezier(.16, .84, .44, 1); }
.final__title .line:nth-child(2) > span { transition-delay: .15s; }
.anim-ready .final__inner:not(.is-in) .final__title .line > span { transform: translateY(105%); }
.final__title em { font-style: normal; color: var(--ink); }
.final__text { font-size: 19px; margin-bottom: 30px; max-width: 30em; }
.final__contact { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 6px 12px; font-weight: 600; font-size: 16px; }
.final__contact a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.final__contact a:hover { color: var(--ink); }
.dot--light { background: var(--white); box-shadow: 0 0 0 4px rgba(255, 255, 255, .25); }

/* "TRIESTE SJP" gigante vazado passando ao fundo */
.final__ghost {
  position: absolute; left: 0; right: 0; bottom: -.14em; overflow: hidden; pointer-events: none;
  font-family: var(--display); font-weight: 900; font-size: clamp(120px, 19vw, 300px); line-height: 1; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .16);
}
.final__ghost-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.final__ghost.is-driven .final__ghost-track { animation: none; }
.final__ghost-track span { padding-right: .35em; white-space: nowrap; }

/* faixas na entrada da seção final */
.bands--final { margin-top: 0; margin-bottom: -46px; }
.band--ink { top: 18px; z-index: 2; background: var(--ink); color: var(--white); transform: rotate(1.8deg); border-color: var(--white); box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .6); }
.band--ink span:nth-of-type(even) { color: #ffcf33; }
.band--paper { top: 4px; z-index: 1; background: var(--paper); transform: rotate(-1.4deg); }
.band--paper span { font-size: clamp(14px, 1.4vw, 19px); padding: 5px 0; color: transparent; -webkit-text-stroke: 1px var(--ink); letter-spacing: .12em; }
.band--paper span::after { content: "/"; margin: 0 22px; color: var(--red); -webkit-text-stroke: 0; }
.band--ink .band__track { animation-direction: reverse; }

@media (max-width: 700px) {
  .final__inner { grid-template-columns: 1fr; }
  .final__badge { width: 190px; }
  .final .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.footer__brand { display: flex; gap: 16px; align-items: center; }
.footer__brand b { color: var(--white); font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .5); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: clamp(16px, 2.4vw, 32px); bottom: clamp(16px, 2.4vw, 32px); z-index: 50;
  display: flex; align-items: center; gap: 12px; text-decoration: none;
}
.wa-float__btn {
  width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: #25d366; color: var(--white); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink);
  transition: background .18s ease;
}
.wa-float:hover .wa-float__btn { background: #1ebe5a; }
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__btn { outline: 3px solid var(--red); outline-offset: 3px; }
.wa-float__label {
  background: var(--ink); color: var(--white); padding: 9px 14px; border-radius: 6px; white-space: nowrap;
  font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .06em;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; }
@media (max-width: 600px) {
  .wa-float__btn { width: 56px; height: 56px; }
  .wa-float__label { display: none; }
}

/* ---------- Popup: agendar aula experimental ---------- */
.lead { border: 0; padding: 0; background: transparent; width: min(500px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: visible; }
.lead::backdrop { background: rgba(10, 10, 10, .78); backdrop-filter: blur(4px); }
.lead[open] { animation: leadIn .5s cubic-bezier(.2, 1.3, .4, 1); }
.lead[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes leadIn { from { opacity: 0; transform: translateY(30px) scale(.94) rotate(-1.5deg); } }
.lead__card {
  position: relative; overflow: hidden auto; max-height: calc(100dvh - 32px);
  background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 15px;
  box-shadow: 8px 8px 0 var(--red); padding: 34px clamp(20px, 5vw, 34px) 26px;
}
.lead__strip { position: absolute; left: 0; right: 0; top: 0; height: 6px; display: flex; }
.lead__strip i { flex: 1; }
.lead__strip i:nth-child(1) { background: var(--green); }
.lead__strip i:nth-child(2) { background: var(--white); }
.lead__strip i:nth-child(3) { background: var(--red); }
.lead__close {
  position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; border: 2px solid var(--ink); background: var(--white); color: var(--ink); cursor: pointer;
  transition: background .18s ease, color .18s ease;
}
.lead__close:hover { background: var(--ink); color: var(--white); }
.lead__head { display: flex; align-items: center; gap: 16px; margin-bottom: 14px; padding-right: 40px; }
.lead__head img { flex: none; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .25)); }
.lead__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.lead__kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(214, 17, 26, .18); animation: blink 1.6s ease-in-out infinite; }
.lead__title { font-size: clamp(34px, 7vw, 46px); line-height: .9; }
.lead__title em { font-style: normal; color: var(--red); }
.lead__text { font-size: 15px; color: var(--ink-2); margin-bottom: 20px; }

.lead__form { display: grid; grid-template-columns: 1fr 96px; gap: 14px; }
.field { display: grid; gap: 6px; }
.field span, .chips legend { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; height: 50px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white);
  font: 600 17px/1 var(--body); color: var(--ink); transition: border-color .18s ease, box-shadow .18s ease;
}
.field input::placeholder { color: #aaa49a; font-weight: 400; }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(214, 17, 26, .15); }
.field input[aria-invalid="true"] { border-color: var(--red); background: #fff3f3; }
.field--age input { text-align: center; }

.chips { grid-column: 1 / -1; border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { margin-bottom: 8px; padding: 0; }
.chips label { flex: 1 1 0; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: grid; place-items: center; height: 46px; border: 2px solid var(--ink); border-radius: 10px; background: var(--white);
  font-family: var(--display); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: .06em;
  transition: background .18s ease, color .18s ease;
}
.chips label:hover span { background: var(--paper-2); }
.chips input:checked + span { background: var(--ink); color: var(--white); }
.chips input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }

.lead__error { grid-column: 1 / -1; font-size: 14px; font-weight: 600; color: var(--red); }
.lead__submit { grid-column: 1 / -1; justify-content: center; margin-top: 6px; background: #25d366; border-color: var(--ink); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
.lead__submit:hover { background: #1ebe5a; }
.lead__note { grid-column: 1 / -1; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10, 10, 10, .9); }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border: 8px solid var(--white); }
.lightbox__cap { color: var(--white); text-align: center; margin-top: 10px; font-family: var(--display); font-weight: 900; font-size: 22px; text-transform: uppercase; letter-spacing: .06em; }
.lightbox__close {
  position: fixed; top: 16px; right: 16px; width: 48px; height: 48px;
  background: var(--red); color: var(--white); border: 0; font-size: 32px; line-height: 1; cursor: pointer;
}

/* =========================================================
   ANIMAÇÕES
   Estados iniciais só valem com JS (.js) e sem reduced-motion.
   ========================================================= */

/* ---------- Barra de progresso ---------- */
.progress {
  position: fixed; left: 0; top: 0; z-index: 60; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--green) 0 33%, var(--white) 33% 66%, var(--red) 66%);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Header esconde ao descer, volta ao subir ---------- */
.header.is-hidden { transform: translateY(-100%); }

/* ---------- Faixa inclinada (marquee) ---------- */
.bands { position: relative; z-index: 3; height: clamp(64px, 7vw, 96px); margin-top: -26px; }
.band {
  position: absolute; left: -5%; width: 110%; overflow: hidden;
  border-block: 2px solid var(--ink);
}
.band--front {
  top: 6px; z-index: 2; background: var(--red); color: var(--white);
  transform: rotate(-2.2deg) skewX(var(--skew, 0deg));
  box-shadow: 0 10px 20px -12px rgba(0, 0, 0, .55);
}
.band--back { top: 18px; z-index: 1; background: var(--ink); transform: rotate(1.6deg); }
.band__track { display: flex; align-items: center; width: max-content; animation: marquee 26s linear infinite; will-change: transform; }
.band--back .band__track { animation-direction: reverse; animation-duration: 34s; }
.band.is-driven .band__track { animation: none; }
.band__track span {
  font-family: var(--display); font-weight: 900; font-size: clamp(20px, 2.3vw, 32px); text-transform: uppercase; letter-spacing: .03em;
  padding: 6px 0; white-space: nowrap; line-height: 1.1;
}
.band--back span { font-size: clamp(14px, 1.4vw, 19px); padding: 5px 0; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .75); letter-spacing: .12em; }
.band--back span::after { content: "/"; margin: 0 22px; color: var(--red); -webkit-text-stroke: 0; }
.ball { width: .95em; height: .95em; margin: 0 24px; flex: none; font-size: clamp(20px, 2.3vw, 32px); animation: roll 2.4s linear infinite; }
.band--front span:nth-of-type(odd) { color: var(--white); }
.band--front span:nth-of-type(even) { color: var(--ink); text-shadow: 1px 1px 0 rgba(255, 255, 255, .25); }
.band--front:hover .band__track span { animation: jump .5s ease; }
@keyframes marquee { to { transform: translateX(-50%); } }
.band--front.is-rev .ball { animation-direction: reverse; }
@keyframes roll { to { transform: rotate(-360deg); } }
@keyframes jump { 40% { transform: translateY(-3px); } }
@media (max-width: 760px) { .bands { margin-top: -14px; } }

.kicker .dot { animation: blink 1.6s ease-in-out infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 9px rgba(214, 17, 26, 0); } }

/* ---------- Hero: entrada ---------- */
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line:last-child { padding-bottom: .16em; margin-bottom: -.16em; }
.hero__title .line > span { display: block; }
.anim-ready .hero__title .line > span { transform: translateY(105%); transition: transform 1s cubic-bezier(.16, .84, .44, 1); }
.anim-ready .hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.anim-ready .hero.is-in .hero__title .line > span { transform: none; }
.hero__title em {
  text-decoration: underline; text-decoration-color: var(--ink);
  text-decoration-thickness: .035em; text-underline-offset: .07em; text-decoration-skip-ink: none;
}

.anim-ready .hero__copy > :not(.hero__title) { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.16, .84, .44, 1); }
.anim-ready .hero.is-in .hero__copy > :not(.hero__title) { opacity: 1; transform: none; }
.anim-ready .hero.is-in .hero__copy > .kicker { transition-delay: 0s; }
.anim-ready .hero.is-in .hero__copy > .hero__sub { transition-delay: .35s; }
.anim-ready .hero.is-in .hero__copy > .hero__actions { transition-delay: .5s; }
.anim-ready .hero.is-in .hero__copy > .hero__facts { transition-delay: .65s; }

.anim-ready .polaroid--main { opacity: 0; transform: translateY(-60px) rotate(14deg); transition: opacity .6s ease .3s, transform 1.1s cubic-bezier(.2, 1.3, .4, 1) .3s; }
.anim-ready .polaroid--small { opacity: 0; transform: translateY(-80px) rotate(-22deg); transition: opacity .6s ease .6s, transform 1.1s cubic-bezier(.2, 1.3, .4, 1) .6s; }
.anim-ready .hero.is-in .polaroid--main { opacity: 1; transform: rotate(2.2deg); }
.anim-ready .hero.is-in .polaroid--small { opacity: 1; transform: rotate(-5deg); }
.anim-ready .tape { opacity: 0; transform: rotate(4deg) scale(2.2); transition: opacity .3s ease 1.15s, transform .45s cubic-bezier(.2, 1.6, .4, 1) 1.15s; }
.anim-ready .hero.is-in .tape { opacity: 1; transform: rotate(4deg) scale(1); }
.hero__media .polaroid { transition-property: opacity, transform, translate, rotate, filter; }

/* ---------- Polaroides: 3D + reflexo + leque (mouse e dedo) ---------- */
.hero__media { touch-action: pan-y; }
.polaroid__card {
  transform: rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)) translateZ(0) scale(var(--s, 1));
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2, 1.2, .4, 1), box-shadow .4s ease;
}
.polaroid__photo img { transition: transform .6s cubic-bezier(.2, .8, .3, 1), filter .4s ease; }
.polaroid__glare {
  position: absolute; inset: 0; border-radius: 15px; pointer-events: none; opacity: 0;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: soft-light; transition: opacity .35s ease;
}
.polaroid figcaption::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: 0 50%; transition: transform .45s cubic-bezier(.7, 0, .2, 1);
}
.polaroid figcaption { transition: color .25s ease; }

/* foto em foco: vem pra frente, inclina, brilha */
.polaroid.is-focus { z-index: 5; }
.polaroid.is-focus .polaroid__card { --s: 1.06; box-shadow: 0 40px 60px -24px rgba(0, 0, 0, .55); transition: transform .12s ease-out, box-shadow .4s ease; }
.polaroid.is-focus .polaroid__photo img { transform: scale(1.1); filter: saturate(1.3) contrast(1.05); }
.polaroid.is-focus .polaroid__glare { opacity: 1; }
.polaroid.is-focus figcaption { color: var(--red); }
.polaroid.is-focus figcaption::after { transform: scaleX(1); }

/* a outra foto abre em leque e apaga um pouco */
.hero__media[data-focus="main"] .polaroid--small { translate: -14% 10%; rotate: -6deg; filter: brightness(.82) saturate(.6); }
.hero__media[data-focus="small"] .polaroid--main { translate: 10% -8%; rotate: 5deg; filter: brightness(.82) saturate(.6); }
.hero__media .polaroid { transition-duration: .6s; transition-timing-function: cubic-bezier(.2, 1.2, .4, 1); }
.hero__media.cards-ready .polaroid { transition-delay: 0s; }

/* parallax (variáveis setadas no JS) */
.hero__ghost { transform: translateY(var(--py, 0)); will-change: transform; }
.hero__media { transform: translateY(var(--my, 0)); }

/* ---------- Reveal genérico (data-anim) ---------- */
[data-anim] { transition: opacity .8s ease, transform .9s cubic-bezier(.16, .84, .44, 1), clip-path 1.1s cubic-bezier(.7, 0, .2, 1); transition-delay: calc(var(--i, 0) * 110ms); }
.anim-ready [data-anim="up"]:not(.is-in) { opacity: 0; transform: translateY(40px); }
.anim-ready [data-anim="left"]:not(.is-in) { opacity: 0; transform: translateX(-60px); }
.anim-ready [data-anim="right"]:not(.is-in) { opacity: 0; transform: translateX(60px); }
.anim-ready [data-anim="pop"]:not(.is-in) { opacity: 0; transform: scale(.6) rotate(-8deg); }
.anim-ready [data-anim="tilt"]:not(.is-in) { opacity: 0; transform: translateY(50px) rotate(var(--r, 3deg)); }
.anim-ready [data-anim="clip"]:not(.is-in) { clip-path: inset(0 100% 0 0); }
.anim-ready [data-anim="wipe"]:not(.is-in) { clip-path: inset(100% 0 0 0); }
[data-anim="clip"], [data-anim="wipe"] { clip-path: inset(0 0 0 0); }

/* cabeçalhos de seção: número sobe, linha cresce */
.section__head { position: relative; border-bottom-color: transparent; }
.section__head::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: currentColor;
  transform-origin: 0 50%; transition: transform 1.2s cubic-bezier(.7, 0, .2, 1) .2s;
}
.anim-ready .section__head:not(.is-in)::after { transform: scaleX(0); }
.section__num { display: inline-block; transition: transform .9s cubic-bezier(.2, 1.4, .4, 1), opacity .5s ease; }
.anim-ready .section__head:not(.is-in) .section__num { opacity: 0; transform: translateY(60%) rotate(-10deg); }
.section__title { transition: opacity .8s ease .15s, transform .9s cubic-bezier(.16, .84, .44, 1) .15s; }
.anim-ready .section__head:not(.is-in) .section__title { opacity: 0; transform: translateX(-30px); }
.section__head .kicker { transition: opacity .6s ease .3s; }
.anim-ready .section__head:not(.is-in) .kicker { opacity: 0; }

/* Núcleo: escudo flutua e inclina com o mouse */
.crest img { animation: float 5s ease-in-out infinite; }
.crest { perspective: 900px; }
.crest img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out; }
@keyframes float { 50% { translate: 0 -12px; } }
.ticks li::before { transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--i, 0) * 110ms + .3s); }
.anim-ready .ticks li:not(.is-in)::before { transform: rotate(-45deg) scale(0); }

/* Modalidades */
.mode__media img { transition: transform .6s ease, filter .4s ease, clip-path 1.1s cubic-bezier(.7, 0, .2, 1); }
.anim-ready .mode:not(.is-in) .mode__media img { clip-path: inset(0 0 100% 0); }
.mode.is-in .mode__media img { clip-path: inset(0); transition-delay: 0s, 0s, calc(var(--i, 0) * 150ms + .2s); }
.mode__tag { transition: transform .6s cubic-bezier(.2, 1.6, .4, 1); transition-delay: calc(var(--i, 0) * 150ms + .9s); }
.anim-ready .mode:not(.is-in) .mode__tag { transform: scale(0) rotate(-90deg); }
.mode { transition: border-color .3s ease, opacity .8s ease, transform .9s cubic-bezier(.16, .84, .44, 1); }
.mode.is-focus .mode__tag { transform: rotate(-8deg) scale(1.08); transition-delay: 0s; }

/* Método: linhas se desenham, jogadores aparecem em sequência */
.p-run, .p-pass { stroke-dashoffset: 0; }
.p-pass { stroke-dasharray: 1; }
.anim-ready .board:not(.is-in) .p-pass { stroke-dashoffset: 1; }
.p-pass { transition: stroke-dashoffset .6s ease; }
.board path:nth-of-type(2) { transition-delay: 1.1s; }
.board path:nth-of-type(4) { transition-delay: 2.1s; }
.p-run { stroke-dasharray: .02 .02; }
.anim-ready .board:not(.is-in) .p-run { opacity: 0; }
.p-run { transition: opacity .6s ease; }
.board path:nth-of-type(1) { transition-delay: .6s; }
.board path:nth-of-type(3) { transition-delay: 1.6s; }
.board.is-in .p-run { animation: march 1.2s linear infinite; }
@keyframes march { to { stroke-dashoffset: -.04; } }
.p-pos { transform-box: fill-box; transform-origin: center; transition: transform .5s cubic-bezier(.2, 1.8, .4, 1); }
.anim-ready .board:not(.is-in) .p-pos { transform: scale(0); }
.board .p-pos:nth-of-type(1) { transition-delay: .3s; }
.board .p-pos:nth-of-type(2) { transition-delay: .9s; }
.board .p-pos:nth-of-type(3) { transition-delay: 1.5s; }
.board .p-pos:nth-of-type(4) { transition-delay: 2.1s; }
.board.is-in .p-pos--red circle { animation: ring 1.8s ease-out 2.8s infinite; }
@keyframes ring { 0% { stroke-width: 2.5; } 50% { stroke-width: 7; stroke: #ffcf33; } 100% { stroke-width: 2.5; } }
.board__pitch { transition: transform .9s cubic-bezier(.16, .84, .44, 1), opacity .7s ease, box-shadow .3s ease; }
.board__pitch:hover { box-shadow: 14px 14px 0 var(--red); }
.board__n { transition: transform .3s cubic-bezier(.2, 1.6, .4, 1), background .3s ease; }
.board__list li:hover .board__n { transform: scale(1.15) rotate(-8deg); background: var(--red); }


/* Ingressos */
.ticket { transition: opacity .8s ease, transform .9s cubic-bezier(.2, 1.3, .4, 1), box-shadow .25s ease; transition-delay: calc(var(--i, 0) * 160ms); }
.ticket:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 7px 7px 0 var(--ink); transition-delay: 0s; }
.ticket__stub b { transition: transform .4s cubic-bezier(.2, 1.6, .4, 1); }
.ticket:hover .ticket__stub b { transform: scale(1.2) rotate(-6deg); }

/* CTA final */
.final::before { animation: finalStripes 2.4s linear infinite; }
@keyframes finalStripes { to { background-position: 31.1px 0; } }
@keyframes stripes { to { background-position: 620px 0; } }
.final__crest { transition: transform 1.2s cubic-bezier(.2, 1.3, .4, 1), opacity .6s ease; }
.anim-ready .final__inner:not(.is-in) .final__crest { opacity: 0; transform: rotate(-200deg) scale(.4); }
.final__inner.is-in .final__crest { animation: float 5s ease-in-out 1.3s infinite; }

/* Lightbox abre com zoom */
.lightbox[open] { animation: lbIn .45s cubic-bezier(.2, 1.3, .4, 1); }
.lightbox[open]::backdrop { animation: fadeIn .3s ease; }
@keyframes lbIn { from { opacity: 0; transform: scale(.85) rotate(-2deg); } }
@keyframes fadeIn { from { opacity: 0; } }

/* botões magnéticos */
.btn { transition: background .18s ease, color .18s ease, border-color .18s ease; }

/* Scoreboard entra */
.scoreboard__inner { transition: opacity .7s ease, transform .8s cubic-bezier(.16, .84, .44, 1); }
.anim-ready .scoreboard:not(.is-in) .scoreboard__inner { opacity: 0; transform: scale(.94); }

/* ---------- Reduced motion: tudo visível, nada se move ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim-ready [data-anim], .anim-ready .section__head *, .anim-ready .hero *, .anim-ready .scoreboard *, .anim-ready .board *, .anim-ready .mode *, .anim-ready .final__crest, .anim-ready .ticks li::before {
    opacity: 1 !important; transform: none !important; clip-path: none !important; stroke-dashoffset: 0 !important;
  }
  .anim-ready .section__head::after { transform: none !important; }
  .anim-ready .digit__roll { transform: translateY(-50%) !important; }
  .anim-ready .polaroid--main { transform: rotate(2.2deg) !important; }
  .anim-ready .polaroid--small { transform: rotate(-5deg) !important; }
  .anim-ready .tape { transform: rotate(4deg) !important; }
  .score__goal { display: none; }
}

/* =========================================================
   TEMA CLARO / ESCURO
   ========================================================= */

/* botão de troca (no menu) */
.theme-toggle {
  position: relative; flex: none; width: 42px; height: 42px; border-radius: 50%; padding: 0; cursor: pointer;
  display: grid; place-items: center; background: transparent; color: inherit;
  border: 2px solid currentColor; transition: background .2s ease, color .2s ease;
}
.theme-toggle svg { position: absolute; transition: opacity .3s ease, transform .4s cubic-bezier(.2, 1.4, .4, 1); }
.theme-toggle__moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="dark"] .theme-toggle__sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="dark"] .theme-toggle__moon { opacity: 1; transform: none; }
.theme-toggle:hover { background: rgba(255, 255, 255, .14); }
.header.is-scrolled .theme-toggle:hover { background: rgba(13, 13, 13, .08); }
.theme-toggle:focus-visible { outline: 3px solid #ffcf33; outline-offset: 2px; }
@media (max-width: 1180px) {
  .theme-toggle { margin-left: auto; }
  .header__cta { margin-left: 0; }
}
@media (max-width: 520px) { .burger { margin-left: 0; } .theme-toggle { width: 38px; height: 38px; } }

/* transição suave só no momento da troca */
html.theme-anim, html.theme-anim *, html.theme-anim *::before, html.theme-anim *::after {
  transition: background-color .45s ease, color .45s ease, border-color .45s ease, fill .45s ease, stroke .45s ease, box-shadow .45s ease !important;
}

/* tokens do tema escuro */
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #0f0f11;
  --paper-2: #17171a;
  --ink-2: #d2ccc1;
  --muted: #9b958b;
  --line: rgba(255, 255, 255, .14);
  --fg: #f1ece2;
  --surface: #1d1d21;
  --edge: rgba(241, 236, 226, .82);
}
[data-theme="dark"] body { color: var(--fg); }

/* menu ao rolar */
[data-theme="dark"] .header.is-scrolled { color: var(--fg); background: rgba(15, 15, 17, .92); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(0, 0, 0, .8); }
[data-theme="dark"] .header.is-scrolled .header__cta { box-shadow: 3px 3px 0 var(--fg); }
[data-theme="dark"] .header.is-scrolled .theme-toggle:hover { background: rgba(255, 255, 255, .1); }

/* botões sobre fundo claro */
[data-theme="dark"] .btn--red { box-shadow: 5px 5px 0 var(--fg); }
[data-theme="dark"] .btn--ghost { color: var(--fg); border-color: var(--edge); }
[data-theme="dark"] .btn--ghost:hover { background: var(--fg); color: var(--ink); }

/* introdução "Campo e quadra." */
[data-theme="dark"] .hero__title em { text-decoration-color: var(--fg); }
[data-theme="dark"] .hero__facts { border-top-color: var(--edge); }
[data-theme="dark"] .hero__ghost { -webkit-text-stroke-color: rgba(255, 255, 255, .07); }

/* 01 Núcleo */
[data-theme="dark"] #nucleo { background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, .025) 0 2px, transparent 2px 26px), var(--paper); }
[data-theme="dark"] .crest__note b { color: var(--fg); }
[data-theme="dark"] .crest__note--2 { border-left-color: var(--edge); }
[data-theme="dark"] .crest__note--2::after { background: var(--fg); }

/* 03 Método */
[data-theme="dark"] .board__n { background: #2a2a2f; }
[data-theme="dark"] .board__pitch { box-shadow: 10px 10px 0 var(--red); }

/* 05 Como começar */
[data-theme="dark"] .ticket { background: var(--surface); border-color: var(--edge); }
[data-theme="dark"] .ticket--red { background: var(--red); }
[data-theme="dark"] .ticket__stub { border-right-color: var(--edge); }
[data-theme="dark"] .ticket__stub b { color: var(--fg); }
[data-theme="dark"] .ticket:hover { box-shadow: 7px 7px 0 var(--fg); }

/* 06 Onde treinamos */
[data-theme="dark"] .local__card { background: #1b1b1f; outline: 1px solid var(--line); }
[data-theme="dark"] .local__map { border-color: var(--edge); }

/* faixa clara da chamada final continua clara para manter o contraste */
[data-theme="dark"] .band--paper { background: #e9e3d6; }

/* popup de agendamento */
[data-theme="dark"] .lead__card { background: var(--paper-2); color: var(--fg); border-color: var(--edge); }
[data-theme="dark"] .lead__close { background: var(--surface); color: var(--fg); border-color: var(--edge); }
[data-theme="dark"] .lead__close:hover { background: var(--fg); color: var(--ink); }
[data-theme="dark"] .field input { background: var(--surface); color: var(--fg); border-color: var(--edge); }
[data-theme="dark"] .field input::placeholder { color: #6f6a62; }
[data-theme="dark"] .field input[aria-invalid="true"] { background: #2a1416; border-color: var(--red); }
[data-theme="dark"] .chips span { background: var(--surface); border-color: var(--edge); }
[data-theme="dark"] .chips label:hover span { background: #26262b; }
[data-theme="dark"] .chips input:checked + span { background: var(--fg); color: var(--ink); }
[data-theme="dark"] .lead__submit { box-shadow: 5px 5px 0 var(--fg); }
/* parceria: cartões do caminho */
[data-theme="dark"] .path__step:not(.path__step--goal) { background: var(--surface); color: var(--fg); border-color: var(--edge); }
/* =========================================================
   04 ÁLBUM: uma fileira em arco 3D (coverflow)
   ========================================================= */
.arc { --stage-h: clamp(250px, 25vw, 330px); position: relative; perspective: 1500px; perspective-origin: 50% 40%; }
.arc__rail {
  position: absolute; left: -5%; right: -5%; top: calc(var(--stage-h) / 2 - 10px); height: 20px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 14px, var(--red-dark) 14px 28px);
  border-block: 2px solid var(--white); transform: rotate(-.6deg);
  animation: slimStripes 1.2s linear infinite; opacity: .9;
}
.arc__stage {
  position: relative; height: var(--stage-h); transform-style: preserve-3d;
  touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none;
}
.arc__stage.is-drag { cursor: grabbing; }
.arc .pass {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  will-change: transform, opacity; backface-visibility: hidden;
  transition: box-shadow .3s ease;
}
.arc .pass img { pointer-events: none; -webkit-user-drag: none; }
.arc .pass.is-center { box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .9), 0 0 0 3px #ffcf33; }

.arc__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 18px; }
.arc__btn {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: transparent; color: var(--white); border: 2px solid rgba(255, 255, 255, .7);
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.arc__btn:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.arc__btn:focus-visible { outline: 3px solid #ffcf33; outline-offset: 3px; }
.arc__label { display: flex; align-items: baseline; gap: 8px; min-width: 230px; justify-content: center; font-family: var(--display); font-weight: 900; text-transform: uppercase; }
.arc__label b { font-size: 34px; color: #ffcf33; line-height: 1; }
.arc__label span { font-size: 18px; color: rgba(255, 255, 255, .5); }
.arc__label em { font-style: normal; font-size: 20px; letter-spacing: .06em; margin-left: 6px; color: var(--white); }
@media (max-width: 600px) {
  .arc { --stage-h: 230px; }
  .arc__label { min-width: 0; }
  .arc__label em { font-size: 16px; }
  .arc__btn { width: 44px; height: 44px; }
}
/* =========================================================
   04 ÁLBUM: "transmissão ao vivo" (stories + escalação)
   ========================================================= */
.tv { display: grid; grid-template-columns: minmax(0, 1fr) clamp(220px, 24vw, 320px); gap: clamp(14px, 2vw, 24px); align-items: stretch; }
.tv__screen {
  position: relative; aspect-ratio: 16 / 10; border-radius: 15px; overflow: hidden; background: #000; outline: none;
  border: 2px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 80px -40px #000, 0 0 0 6px rgba(214, 17, 26, .18);
}
.tv__screen:focus-visible { box-shadow: 0 0 0 3px #ffcf33; }
.tv__screen::before, .tv__screen::after { content: ""; position: absolute; left: 0; right: 0; z-index: 2; pointer-events: none; }
.tv__screen::before { top: 0; height: 30%; background: linear-gradient(rgba(0, 0, 0, .65), transparent); }
.tv__screen::after { bottom: 0; height: 55%; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); }

.tv__slides { position: absolute; inset: 0; }
.tv__slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.tv__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.tv__slide.is-active { opacity: 1; z-index: 1; }
.tv__slide.is-active img { animation: kenA 6.5s ease-out forwards; }
.tv__slide:nth-child(even).is-active img { animation-name: kenB; }
@keyframes kenA { from { transform: scale(1.16) translate(-2%, 1%); } to { transform: scale(1.02) translate(1%, -1%); } }
@keyframes kenB { from { transform: scale(1.02) translate(2%, 0); } to { transform: scale(1.16) translate(-1%, -2%); } }

.tv__bars { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 4; display: flex; gap: 4px; }
.tv__bars span { flex: 1; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .28); overflow: hidden; }
.tv__bars i { display: block; height: 100%; width: 0; background: var(--white); }

.tv__live {
  position: absolute; top: 30px; left: 14px; z-index: 4; display: inline-flex; align-items: center; gap: 8px;
  background: var(--red); color: var(--white); padding: 6px 12px; border-radius: 6px;
  font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .1em;
}
.tv__live i { width: 8px; height: 8px; border-radius: 50%; background: var(--white); animation: blinkW 1.2s ease-in-out infinite; }
@keyframes blinkW { 50% { opacity: .2; } }
.tv__expand {
  position: absolute; top: 28px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(0, 0, 0, .45); color: var(--white); border: 2px solid rgba(255, 255, 255, .7);
  transition: background .18s ease, color .18s ease;
}
.tv__expand:hover { background: var(--white); color: var(--ink); }

.tv__caption {
  position: absolute; left: clamp(16px, 2.4vw, 30px); right: 80px; bottom: 58px; z-index: 4; color: var(--white);
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font-family: var(--display); font-weight: 900; text-transform: uppercase;
}
.tv__caption b { font-size: clamp(54px, 7vw, 100px); line-height: .8; color: #ffcf33; }
.tv__total { font-size: 20px; color: rgba(255, 255, 255, .6); }
.tv__caption strong { flex-basis: 100%; font-size: clamp(30px, 4vw, 60px); line-height: .9; letter-spacing: .01em; }
.tv__caption.is-swap b, .tv__caption.is-swap strong { animation: capIn .7s cubic-bezier(.16, .84, .44, 1) both; }
.tv__caption.is-swap strong { animation-delay: .08s; }
@keyframes capIn { from { opacity: 0; transform: translateY(24px); clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }

.tv__zone { position: absolute; top: 70px; bottom: 40px; z-index: 3; width: 32%; border: 0; padding: 0; background: transparent; cursor: pointer; }
.tv__zone--prev { left: 0; cursor: w-resize; }
.tv__zone--next { right: 0; cursor: e-resize; }
.tv__zone::after {
  content: ""; position: absolute; top: 50%; width: 46px; height: 46px; margin-top: -23px; border-radius: 50%;
  background: rgba(0, 0, 0, .45) no-repeat center / 18px; border: 2px solid rgba(255, 255, 255, .7); opacity: 0; transition: opacity .2s ease;
}
.tv__zone--prev::after { left: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M15 5H1.5M6 1 1.5 5 6 9' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tv__zone--next::after { right: 16px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath d='M1 5h13.5M10 1l4.5 4-4.5 4' stroke='white' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.tv__zone:hover::after, .tv__zone:focus-visible::after { opacity: 1; }

.tv__ticker { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; height: 38px; overflow: hidden; background: var(--red); border-top: 2px solid var(--ink); display: flex; align-items: center; }
.tv__ticker::before {
  content: "Trieste"; position: relative; z-index: 1; flex: none; height: 100%; display: grid; place-items: center; padding: 0 14px;
  background: var(--ink); color: #ffcf33; font-family: var(--display); font-weight: 900; font-size: 16px; text-transform: uppercase; letter-spacing: .1em;
}
.tv__ticker-track { display: flex; width: max-content; animation: marquee 22s linear infinite; }
.tv__ticker-track span { display: inline-flex; align-items: center; white-space: nowrap; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: .1em; }
.tv__ticker-track span::after { content: ""; width: 6px; height: 6px; margin: 0 20px; border-radius: 50%; background: var(--white); opacity: .7; }

/* escalação (miniaturas) */
.tv__thumbs { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: max-content; gap: 8px; align-content: start; align-items: start; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .3) transparent; padding-right: 4px; height: 0; min-height: 100%; }
.tv__thumb {
  position: relative; aspect-ratio: 4 / 3; padding: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  border: 2px solid transparent; background: #000; opacity: .5; transition: opacity .25s ease, border-color .25s ease;
}
.tv__thumb img { width: 100%; height: 100%; object-fit: cover; }
.tv__thumb span {
  position: absolute; left: 6px; top: 6px; background: rgba(0, 0, 0, .7); color: var(--white); padding: 2px 6px; border-radius: 4px;
  font-family: var(--display); font-weight: 900; font-size: 13px;
}
.tv__thumb:hover { opacity: .85; }
.tv__thumb.is-active { opacity: 1; border-color: #ffcf33; }
.tv__thumb.is-active span { background: #ffcf33; color: var(--ink); }
.tv__thumb:focus-visible { outline: 3px solid #ffcf33; outline-offset: 2px; }

@media (max-width: 900px) {
  .tv { grid-template-columns: 1fr; }
  .tv__thumbs { display: flex; overflow-x: auto; overflow-y: hidden; padding: 0 0 6px; scroll-snap-type: x proximity; height: auto; min-height: 0; }
  .tv__thumb { flex: none; width: 104px; scroll-snap-align: start; }
}
@media (max-width: 600px) {
  .tv__screen { aspect-ratio: 4 / 5; }
  .tv__caption { bottom: 52px; right: 16px; }
  .tv__zone { width: 40%; }
  .tv__zone::after { display: none; }
}
/* =========================================================
   05 COMO COMEÇAR: trilho de progresso + ingressos que acendem
   ========================================================= */
.steps-track { position: relative; height: 48px; margin: -6px 0 26px; }
.steps-track__rail {
  position: absolute; left: 16.666%; right: 16.666%; top: 50%; height: 10px; margin-top: -5px;
  border-radius: 999px; background: rgba(13, 13, 13, .1);
}
.steps-track__fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--fill, 0%); border-radius: 999px;
  background: repeating-linear-gradient(-45deg, var(--red) 0 10px, var(--red-dark) 10px 20px);
  animation: slimStripesSm 1s linear infinite;
}
@keyframes slimStripesSm { to { background-position: 28.3px 0; } }
.steps-track__ball {
  position: absolute; top: 50%; left: var(--fill, 0%); width: 28px; height: 28px; z-index: 2;
  transform: translate(-50%, -50%) rotate(var(--rot, 0deg)); filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .3));
}
.steps-track__ball svg { width: 100%; height: 100%; display: block; }
.steps-track__dot {
  position: absolute; top: 50%; left: var(--p); z-index: 1; width: 42px; height: 42px; border-radius: 50%;
  transform: translate(-50%, -50%); display: grid; place-items: center;
  background: var(--paper); color: var(--muted); border: 2px solid rgba(13, 13, 13, .25);
  font-family: var(--display); font-weight: 900; font-size: 20px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .5s cubic-bezier(.2, 1.8, .4, 1);
}
.steps-track__dot.is-on { background: var(--red); color: var(--white); border-color: var(--red); transform: translate(-50%, -50%) scale(1.12); }
.steps-track__dot.is-on::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid var(--red);
  animation: dotRing .9s ease-out forwards;
}
@keyframes dotRing { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }

/* ingresso apagado → acende quando o trilho chega */
.ticket { overflow: visible; }
.anim-ready .tickets .ticket:not(.is-on) { filter: grayscale(1); opacity: .5; }
.tickets .ticket { transition: opacity .5s ease, filter .5s ease, transform .9s cubic-bezier(.2, 1.3, .4, 1), box-shadow .25s ease; }
.ticket.is-on { animation: ticketOn .6s cubic-bezier(.2, 1.6, .4, 1); }
@keyframes ticketOn { 0% { transform: scale(.96); } 60% { transform: scale(1.03); } 100% { transform: none; } }
.ticket__stub { position: relative; }
.ticket__stamp {
  position: absolute; top: -12px; left: -12px; z-index: 2; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--green); color: var(--white); border: 2px solid var(--ink);
  transform: scale(0) rotate(-40deg); transition: transform .5s cubic-bezier(.2, 1.8, .4, 1) .15s;
}
.ticket.is-on .ticket__stamp { transform: scale(1) rotate(-8deg); }
.ticket--red .ticket__stamp { background: #ffcf33; color: var(--ink); }

/* hover: "rasga" no picote */
.ticket__body, .ticket__stub b { transition: transform .35s cubic-bezier(.2, 1.4, .4, 1); }
.ticket:hover .ticket__body { transform: translateX(6px) rotate(.8deg); }
.ticket:hover .ticket__stub b { transform: rotate(-6deg) scale(1.15); }

@media (max-width: 900px) { .steps-track { display: none; } }

/* tema escuro */
[data-theme="dark"] .steps-track__rail { background: rgba(255, 255, 255, .1); }
[data-theme="dark"] .steps-track__dot { background: var(--surface); border-color: rgba(255, 255, 255, .25); }
[data-theme="dark"] .steps-track__dot.is-on { background: var(--red); border-color: var(--red); }
[data-theme="dark"] .ticket__stamp { border-color: var(--fg); }
/* =========================================================
   SEM VÃO LATERAL: nada pode passar da largura da tela
   (faixas inclinadas e elementos que entram deslizando da direita)
   ========================================================= */
html, body { overflow-x: hidden; }
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}
main, .bands, .footer { overflow-x: clip; }
body { position: relative; width: 100%; max-width: 100vw; }
/* =========================================================
   RODAPÉ: balões de contato + colunas
   ========================================================= */
.footer__talk {
  display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 34px); align-items: center;
  padding-bottom: clamp(48px, 5vw, 64px); margin-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.footer__talk-title { font-size: clamp(44px, 5.2vw, 76px); color: var(--white); }
.footer__talk-title em { font-style: normal; color: #ffcf33; }

.bubbles { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.bubble {
  position: relative; display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 22px;
  text-decoration: none; box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
  animation: bob 4s ease-in-out infinite; transition: box-shadow .25s ease, filter .25s ease;
}
.bubble::after { content: ""; position: absolute; bottom: -15px; width: 24px; height: 16px; }
.bubble:hover { box-shadow: 9px 9px 0 rgba(0, 0, 0, .55); filter: brightness(1.05); }
.bubble:focus-visible { outline: 3px solid #ffcf33; outline-offset: 4px; }
@keyframes bob { 50% { transform: translateY(-7px); } }

.bubble--wa { background: #25d366; color: #062b14; border-bottom-left-radius: 6px; }
.bubble--wa::after { left: 22px; background: #25d366; clip-path: polygon(0 0, 100% 0, 0 100%); }
.bubble--ig {
  color: var(--white); border-bottom-right-radius: 6px; animation-delay: -2s;
  background: linear-gradient(45deg, #feda75 0%, #fa7e1e 22%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.bubble--ig::after { right: 22px; background: #c32a87; clip-path: polygon(0 0, 100% 0, 100% 100%); }

.bubble__icon { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .28); }
.bubble--wa .bubble__icon { background: rgba(6, 43, 20, .14); }
.bubble__text { display: grid; gap: 2px; min-width: 0; }
.bubble__text small { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.bubble__text strong { font-family: var(--display); font-weight: 900; font-size: clamp(24px, 2.6vw, 38px); line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bubble__sub { font-size: 13px; opacity: .9; margin-top: 4px; }
.bubble__typing { display: inline-flex; gap: 4px; margin-top: 8px; }
.bubble__typing i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .35; animation: typing 1.2s ease-in-out infinite; }
.bubble__typing i:nth-child(2) { animation-delay: .15s; }
.bubble__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { opacity: 1; transform: translateY(-3px); } 60% { opacity: .35; transform: none; } }
.bubble__go { margin-left: auto; flex: none; font-size: 26px; font-weight: 700; }
.bubble__heart { position: absolute; right: 64px; top: 4px; font-size: 24px; color: var(--white); opacity: 0; pointer-events: none; }
.bubble--ig:hover .bubble__heart { animation: heartPop .9s ease-out; }
@keyframes heartPop { 0% { opacity: 0; transform: translateY(6px) scale(.4); } 30% { opacity: 1; transform: translateY(-8px) scale(1.2); } 100% { opacity: 0; transform: translateY(-34px) scale(.9); } }

.footer__col-title { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #ffcf33; margin-bottom: 14px; }
.footer__address {
  display: flex; gap: 12px; padding: 16px; border-radius: 15px; text-decoration: none; color: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03); transition: border-color .2s ease, background .2s ease;
}
.footer__address svg { flex: none; color: var(--red); margin-top: 2px; }
.footer__address b { display: block; color: var(--white); font-family: var(--display); font-weight: 900; font-size: 20px; text-transform: uppercase; line-height: 1.05; margin-bottom: 4px; }
.footer__address em { display: block; font-style: normal; color: #ffcf33; font-size: 13px; font-weight: 700; margin-top: 8px; }
.footer__address:hover { border-color: var(--red); background: rgba(214, 17, 26, .08); }

@media (max-width: 900px) {
  .footer__talk { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .bubbles { grid-template-columns: 1fr; gap: 26px; }
  .bubble { padding: 16px 18px; }
  .bubble__icon { width: 50px; height: 50px; }
}
@media (max-width: 600px) { .footer__grid > div:last-child { grid-column: 1 / -1; } }
/* =========================================================
   CELULAR: menu fica só no topo (sobre o hero), não acompanha a rolagem
   ========================================================= */
@media (max-width: 900px) {
  .flag-strip { position: absolute; }
  .header { position: absolute; }
  .header.is-hidden { transform: none; }
  .header.is-scrolled, [data-theme="dark"] .header.is-scrolled {
    --hover: #ffcf33; --num: #ff4d55;
    color: var(--white); background: linear-gradient(180deg, rgba(4, 12, 34, .7), rgba(4, 12, 34, 0));
    box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-top: 18px;
  }
  .header.is-scrolled .header__cta { box-shadow: 3px 3px 0 var(--white); }
  .header.menu-open { position: fixed; padding-top: 0; }
  .header.menu-open + .menu { padding-top: calc(var(--header-h) + 34px); }
}
@media (max-width: 900px) { .progress { display: none; } }

/* álbum: foto inteira (sem corte), com fundo desfocado da própria foto preenchendo as sobras */
.tv__slide { overflow: hidden; }
.tv__slide::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background: var(--bg) center / cover no-repeat; filter: blur(28px) brightness(.55) saturate(1.2);
}
.tv__slide img { position: relative; z-index: 1; object-fit: contain; transform: none; }
.tv__slide.is-active img, .tv__slide:nth-child(even).is-active img { animation: none; }
.tv__slide.is-active::before { animation: kenA 6.5s ease-out forwards; }
.tv__slide img { height: calc(100% - 38px); }

/* =========================================================
   DESEMPENHO (sem lag)
   ========================================================= */
/* barras dos stories: escala (GPU) em vez de largura (layout) */
.tv__bars i { width: 100% !important; transform: scaleX(0); transform-origin: 0 50%; will-change: transform; }

/* listras grandes: paradas (animar o fundo de seções inteiras redesenha tudo a cada quadro) */
.partner::before, .final::before { animation: none !important; }

/* desfoque atrás do menu e do popup custa muito ao rolar: fundo sólido */
.header.is-scrolled { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: rgba(243, 239, 230, .985); }
[data-theme="dark"] .header.is-scrolled { background: rgba(15, 15, 17, .985); }
.lead::backdrop { backdrop-filter: none; background: rgba(10, 10, 10, .85); }

/* fundo desfocado do álbum: estático e em camada própria */
.tv__slide::before { animation: none !important; transform: translateZ(0); }
.tv__slide:not(.is-active)::before { display: none; }

/* camadas próprias para o que se move sempre */
.band, .bubble, .crest img, .final__crest, .seal__ring, .final__ring, .wa-float { will-change: transform; }
.band__track, .final__ghost-track, .partner__ghost-track, .tv__ticker-track { will-change: transform; backface-visibility: hidden; }

/* seções fora da tela: animações pausadas */
.is-off, .is-off *, .is-off *::before, .is-off *::after { animation-play-state: paused !important; }

/* o navegador pula o desenho das seções longe da tela */
#nucleo, #modalidades, #metodo, #comecar, #local, .footer {
  content-visibility: auto; contain-intrinsic-size: auto 1000px;
}
/* =========================================================
   EFEITO "GIZ DA PRANCHETA"
   ========================================================= */
.chalk { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 48; pointer-events: none; }
.chalk-ball {
  position: fixed; left: 0; top: 0; z-index: 49; width: 22px; height: 22px; margin: -11px 0 0 -11px;
  pointer-events: none; opacity: 0; transition: opacity .25s ease; will-change: transform;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .35));
}
.chalk-ball svg { width: 100%; height: 100%; display: block; }
.chalk-ball.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .chalk-ball { display: none; } }
@media (prefers-reduced-motion: reduce) { .chalk, .chalk-ball { display: none; } }
/* =========================================================
   LATERAL DO CAMPO (progresso da rolagem)
   ========================================================= */
.pitchbar {
  position: fixed; right: 18px; top: 50%; z-index: 47; height: min(56vh, 520px); width: 30px;
  transform: translateY(-50%); opacity: 0; transition: opacity .4s ease; pointer-events: none;
}
.pitchbar.is-on { opacity: 1; pointer-events: auto; }
.pitchbar__line {
  position: absolute; left: 50%; top: 0; bottom: 0; width: 4px; margin-left: -2px; border-radius: 4px;
  background: repeating-linear-gradient(180deg, rgba(128, 128, 128, .45) 0 8px, transparent 8px 14px);
}
.pitchbar__fill {
  position: absolute; left: 0; right: 0; top: 0; height: 100%; border-radius: 4px; transform-origin: 50% 0;
  transform: scaleY(var(--p, 0)); background: linear-gradient(180deg, var(--green), var(--white) 50%, var(--red));
  box-shadow: 0 0 0 1px rgba(13, 13, 13, .35);
}
.pitchbar__dot {
  position: absolute; left: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; padding: 0; border-radius: 50%; cursor: pointer;
  background: var(--paper); border: 2px solid var(--ink); transition: transform .35s cubic-bezier(.2, 1.8, .4, 1), background .25s ease;
}
.pitchbar__dot::after { content: ""; position: absolute; inset: -8px; }
.pitchbar__dot:hover { transform: scale(1.35); }
.pitchbar__dot.is-past { background: var(--ink); }
.pitchbar__dot.is-current { background: var(--red); border-color: var(--white); transform: scale(1.4); box-shadow: 0 0 0 3px rgba(214, 17, 26, .35); }
.pitchbar__dot:focus-visible { outline: 3px solid #ffcf33; outline-offset: 3px; }
.pitchbar__ball {
  position: absolute; left: 50%; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; z-index: 2; pointer-events: none;
  transform: translateY(var(--y, 0px)) rotate(var(--r, 0deg)); will-change: transform; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .4));
}
.pitchbar__ball svg { width: 100%; height: 100%; display: block; }
.pitchbar__label {
  position: absolute; right: 40px; top: 0; white-space: nowrap; pointer-events: none;
  background: var(--ink); color: var(--white); padding: 6px 10px; border-radius: 6px; border-left: 4px solid var(--red);
  font-family: var(--display); font-weight: 900; font-size: 15px; text-transform: uppercase; letter-spacing: .08em;
  transform: translateY(calc(var(--y, 0px) - 50%)) translateX(10px); opacity: 0; transition: opacity .3s ease, transform .35s cubic-bezier(.2, 1.4, .4, 1);
}
.pitchbar__label b { color: #ffcf33; margin-right: 6px; }
.pitchbar__label.is-show { opacity: 1; transform: translateY(calc(var(--y, 0px) - 50%)); }
[data-theme="dark"] .pitchbar__dot { background: var(--surface); border-color: var(--fg); }
[data-theme="dark"] .pitchbar__dot.is-past { background: var(--fg); }

/* celular: linha fina na base da tela, bola rolando para o lado */
@media (max-width: 900px) {
  .pitchbar { top: auto; bottom: 0; right: 0; left: 0; width: auto; height: 22px; transform: none; }
  .pitchbar__line { left: 0; right: 0; top: auto; bottom: 0; width: auto; height: 4px; margin: 0; border-radius: 0;
    background: repeating-linear-gradient(90deg, rgba(128, 128, 128, .45) 0 8px, transparent 8px 14px); }
  .pitchbar__fill { width: 100%; height: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--green), var(--white) 50%, var(--red)); }
  .pitchbar__dot, .pitchbar__label { display: none; }
  .pitchbar__ball { top: auto; bottom: -5px; left: 0; width: 18px; height: 18px; margin: 0 0 0 -9px; transform: translateX(var(--x, 0px)) rotate(var(--r, 0deg)); }
}
@media (prefers-reduced-motion: reduce) { .pitchbar__ball { transition: none; } }

/* "chute de velocidade" nos títulos */
.section__head { will-change: transform; transform-origin: 0 100%; }
/* =========================================================
   TRANSIÇÃO ENTRE SEÇÕES
   desktop: faixas da bandeira varrendo · celular: virada de card
   ========================================================= */
.sec-t { position: relative; }
.sx { display: none; }

@media (min-width: 901px) {
  .anim-ready .sx {
    display: block; position: absolute; inset: 0; z-index: 40; overflow: hidden; pointer-events: none;
  }
  .sx i {
    position: absolute; top: -5%; bottom: -5%; left: -25%; width: 150%;
    transform: translate3d(0, 0, 0) skewX(-14deg); will-change: transform;
  }
  .sx i:nth-child(1) { background: var(--green); }
  .sx i:nth-child(2) { background: var(--white); }
  .sx i:nth-child(3) { background: var(--red); }
  .sx i:nth-child(3)::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 120px; height: 120px; margin: -60px 0 0 -60px;
    background: url("assets/escudo.png") center / contain no-repeat; transform: skewX(14deg);
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .3));
  }
  .sx.go i { animation: sxOut .9s cubic-bezier(.7, 0, .25, 1) forwards; }
  .sx.go i:nth-child(3) { animation-delay: 0s; }
  .sx.go i:nth-child(2) { animation-delay: .1s; }
  .sx.go i:nth-child(1) { animation-delay: .2s; }
  @keyframes sxOut { to { transform: translate3d(115%, 0, 0) skewX(-14deg); } }
}

@media (max-width: 900px) {
  /* celular: mesma bandeira do desktop, saindo na diagonal para cima */
  .anim-ready .sx {
    display: block; position: absolute; inset: 0; z-index: 40; overflow: hidden; pointer-events: none;
  }
  .sx i {
    position: absolute; top: -10%; bottom: -10%; left: -40%; width: 180%;
    transform: translate3d(0, 0, 0) skewX(-20deg); will-change: transform;
  }
  .sx i:nth-child(1) { background: var(--green); }
  .sx i:nth-child(2) { background: var(--white); }
  .sx i:nth-child(3) { background: var(--red); }
  .sx i:nth-child(3)::after {
    content: ""; position: absolute; left: 50%; top: 0; width: 84px; height: 84px; margin-left: -42px;
    top: min(38vh, 40%); background: url("assets/escudo.png") center / contain no-repeat; transform: skewX(20deg);
    filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .3));
  }
  .sx.go i { animation: sxOutM .75s cubic-bezier(.7, 0, .25, 1) forwards; }
  .sx.go i:nth-child(3) { animation-delay: 0s; }
  .sx.go i:nth-child(2) { animation-delay: .08s; }
  .sx.go i:nth-child(1) { animation-delay: .16s; }
  @keyframes sxOutM { to { transform: translate3d(105%, -18%, 0) skewX(-20deg); } }
}
@media (prefers-reduced-motion: reduce) {
  .sx { display: none !important; }
  .sec-t { transform: none !important; opacity: 1 !important; }
}
/* desktop: bandeira só em algumas seções-chave */
@media (min-width: 901px) {
  .sec-t:not(#parceria):not(#modalidades):not(#album):not(#contato) > .sx { display: none !important; }
}
/* popups sempre no centro da tela */
dialog.lead[open], dialog.lightbox[open] { position: fixed; inset: 0; margin: auto; height: fit-content; }
/* =========================================================
   VERSÃO SLIM: menos efeitos competindo, mesma identidade
   ========================================================= */
/* giz/bolinha do mouse: desligados (FX.chalk no main.js) */
.chalk, .chalk-ball { display: none !important; }

/* cortina da bandeira: só na Parceria (desktop); no celular, nenhuma */
@media (min-width: 901px) { .sec-t:not(#parceria) > .sx { display: none !important; } }
@media (max-width: 900px) { .sx { display: none !important; } }

/* textos gigantes vazados: parados */
.partner__ghost-track, .final__ghost-track { animation: none !important; transform: none !important; }

/* faixas atrás do escudo do Núcleo: removidas (já há faixas no hero e no final) */
.crest__bands { display: none; }

/* giros e piscadas contínuas: só os essenciais ficam */
.seal__ring, .partner__badge svg, .score__shadow, .scoreboard.is-in .score__shadow { animation: none !important; }
.final__ring { animation-duration: 40s; }
.kicker .dot, .lead__kicker .dot, .map-bar__live i { animation: none !important; }
.map-radar { display: none; }

/* balões do rodapé: só o WhatsApp flutua */
.bubble--ig { animation: none; }

/* lateral do campo: só no desktop (no celular já há a linha do topo/rodapé) */
@media (max-width: 900px) { .pitchbar { display: none !important; } }
/* números grandes das seções (01–06): removidos */
.section__num { display: none !important; }
/* =========================================================
   SEM NUMERAÇÃO NO SITE (01, 02…, passos, contadores)
   ========================================================= */
/* menu (desktop e celular) e etiqueta da lateral do campo */
.nav a i, .menu__nav a i, .pitchbar__label b { display: none !important; }
.nav a { gap: 0; }

/* álbum: contador "01 / 14" e números das miniaturas */
.tv__caption b, .tv__total, .tv__thumb span { display: none !important; }

/* parceria (caminho do atleta) e competições */
.path__n, .comp__num { display: none !important; }

/* 05 como começar: no canhoto, uma bola no lugar de "Passo 1/2/3" */
.ticket__stub { font-size: 0; }
.ticket__stub b { display: none !important; }
.ticket__stub::before {
  content: ""; width: 38px; height: 38px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='14.5' fill='%23fff' stroke='%230d0d0d' stroke-width='2'/%3E%3Cpath d='M16 10.5l5.2 3.8-2 6.1h-6.4l-2-6.1z' fill='%230d0d0d'/%3E%3Cpath d='M16 10.5V3.5M21.2 14.3l6.6-2.2M19.2 20.4l4.1 5.6M12.8 20.4l-4.1 5.6M10.8 14.3l-6.6-2.2' stroke='%230d0d0d' stroke-width='1.8' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .4s cubic-bezier(.2, 1.6, .4, 1);
}
.ticket:hover .ticket__stub::before { transform: rotate(-30deg) scale(1.12); }
.steps-track__dot { font-size: 0; width: 22px; height: 22px; }

/* 03 método: marcadores sem número na lista e na prancheta */
.board__n { font-size: 0; width: 22px !important; height: 22px !important; margin-top: 6px; }
.board__list li { grid-template-columns: 22px 1fr !important; }
.p-pos text { display: none; }