  @font-face { font-family: "Futura PT Fallback"; src: local("Century Gothic"), local("Futura"); }

  /* ============ DESIGN TOKENS ============ */
  :root {
    --red:        rgb(255, 0, 42);
    --red-deep:   #B22D30;
    --red-dark:   #B22D30;
    --blue:       rgb(0, 52, 159);
    --ink:        #0f1115;
    --ink-soft:   #4a4f58;
    --grey:       rgb(129, 129, 129);
    --line:       rgba(0, 0, 0, .10);
    --line-light: rgba(255, 255, 255, .22);
    --surface:    #ffffff;
    --surface-2:  #f5f6f7;
    --surface-3:  #ebebeb;

    --font: 'Futura PT', 'Futura PT Fallback', 'Century Gothic', -apple-system,
            BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    /* fluid scale */
    --step--1: clamp(.75rem, .72rem + .15vw, .82rem);
    --step-0:  clamp(.875rem, .84rem + .18vw, 1rem);
    --step-1:  clamp(1rem, .94rem + .3vw, 1.2rem);
    --step-2:  clamp(1.3rem, 1.1rem + .9vw, 1.9rem);
    --step-3:  clamp(1.7rem, 1.3rem + 1.9vw, 3rem);
    --step-section: clamp(1.42rem, 1.08rem + 1.35vw, 2.5rem);
    --step-4:  clamp(2rem, 1.4rem + 3vw, 4rem);

    --gutter: clamp(1rem, 4vw, 3.75rem);
    --shell:  1440px;

    /* medidas do header (no :root porque o spacer também precisa delas) */
    --crest:  clamp(58px, 7.5vw, 104px);
    --red-h:  74px;
    --nav-h:  56px;
    --btn-h:  38px;
    --header-h: calc(var(--red-h) + var(--nav-h));
    /* alinha os overlays à borda do .shell, não à da viewport */
    --edge: max(var(--gutter), calc(50% - var(--shell) / 2 + var(--gutter)));
    /* margem lateral do conteúdo; no desktop começa no centro do escudo */
    --inset: var(--gutter);

    /* distância padrão entre seções */
    --section-space: clamp(2.5rem, 5vw, 4rem);
    /* distância padrão entre o título da seção e o conteúdo */
    --head-space: clamp(1.75rem, 3.5vw, 3rem);
    /* raio padrão dos cards */
    --r-card: var(--r-lg);
    /* rótulos pequenos em caixa-alta (selos, kickers, títulos de coluna) */
    --label-size: .72rem;
    --label-track: .14em;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;

    --shadow-1: 0 1px 2px rgba(16, 18, 22, .06), 0 4px 12px rgba(16, 18, 22, .06);
    --shadow-2: 0 2px 6px rgba(16, 18, 22, .08), 0 14px 34px rgba(16, 18, 22, .12);
    --shadow-3: 0 8px 18px rgba(16, 18, 22, .12), 0 30px 60px rgba(16, 18, 22, .20);

    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --dur: .45s;
  }

  /* ============ RESET ============ */
  *, *::before, *::after { box-sizing: border-box; }

  /* O runtime injeta `html, body { height:100% }` e `#dc-root > .sc-host { height:100% }`.
     Isso limita o bloco contenedor do header a uma viewport de altura, e o sticky
     descolava ao passar disso. Solta a altura mantendo o mínimo de tela cheia. */
  html, body,
  #dc-root, #dc-root > .sc-host {
    height: auto !important;
    min-height: 100%;
  }

  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--surface);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* "clip" e não "hidden": hidden cria um contêiner de scroll e quebra o
       position:sticky do header. clip contém o vazamento sem esse efeito. */
    overflow-x: clip;
  }
  img, svg, video { display: block; max-width: 100%; }
  button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  h1, h2, h3, h4, p { margin: 0; }
  h1, h2, h3, h4 { text-transform: uppercase; }
  ul { margin: 0; padding: 0; list-style: none; }

  :focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
    border-radius: 6px;
  }
  .nt-onred :focus-visible { outline-color: #fff; }

  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .skip-link {
    position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
    z-index: 999; background: #fff; color: var(--red-deep);
    padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) var(--r-sm);
    font-weight: 700; transition: top .2s var(--ease);
  }
  .skip-link:focus-visible { top: 0; }

  /* ============ LAYOUT PRIMITIVES ============ */
  .shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--inset);
  }
  @media (min-width: 1101px) {
    :root { --inset: calc(var(--gutter) + var(--crest) / 2); }
  }
  /* header e submenu se posicionam pelo escudo, não pela margem do conteúdo */
  .header .shell,
  .page-subnav-wrap > .shell { padding-inline: var(--gutter); }
  .section { position: relative; padding-block: var(--section-space); }
  .section--flush { padding-block: 0; }

  /*
   * Capa de páginas internas — fundo chapado #a60000 + ondas (#970000).
   * Tile = 2× a espessura da faixa (40.1), então o gap vertical = altura da onda.
   */
  .page-capa {
    --capa-bg: #a60000;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: left;
    background-color: var(--capa-bg);
    background-image: url("../images/ondas.svg");
    background-repeat: repeat;
    background-position: top left;
    background-size: clamp(12rem, 30vw, 20rem) auto;
  }
  .page-capa > .shell,
  .page-capa__inner {
    position: relative;
    z-index: 1;
    text-align: left;
  }
  .page-capa__inner > * { max-width: var(--capa-measure, 46rem); }

  /* âncoras do menu (#planos, #elenco, #tv-timba) com header fixo */
  #planos,
  #elenco,
  #tv-timba {
    scroll-margin-top: calc(var(--header-h) + .75rem);
  }

  .section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--head-space);
  }
  .section-title {
    font-size: var(--step-section);
    font-style: italic;
    font-weight: 500;
    line-height: .95;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--red-deep);
  }
  .section-title b { font-weight: 800; }
  .nt-onred .section-title { color: #fff; }
  /* Rótulos acima do título (linha + texto) — só o section-title permanece visível */
  .eyebrow { display: none; }

  /* ============ BUTTONS ============ */
  .btn {
    --btn-bg: var(--red-deep);
    --btn-fg: #fff;
    --btn-bd: transparent;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 44px;
    padding: .7rem 1.35rem;
    border-radius: var(--r-sm);
    background: var(--btn-bg);
    color: var(--btn-fg);
    box-shadow: inset 0 0 0 1.5px var(--btn-bd);
    font-size: var(--step--1);
    font-weight: 600;
    font-style: italic;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease),
                background-color var(--dur) var(--ease),
                color var(--dur) var(--ease);
  }
  .btn::after {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255,255,255,.28) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .7s var(--ease);
  }
  .btn:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--btn-bd), var(--shadow-2); }
  .btn:hover::after { transform: translateX(120%); }
  .btn:active { transform: translateY(0) scale(.985); }

  .btn--ghost   { --btn-bg: transparent; --btn-bd: currentColor; }
  .btn--ghost:hover { --btn-bg: rgba(255,255,255,.14); }
  .btn--onred   { --btn-bg: transparent; --btn-bd: #fff; --btn-fg: #fff; }
  .btn--outline { --btn-bg: transparent; --btn-bd: var(--red-deep); --btn-fg: var(--red-deep); }
  .btn--outline:hover { --btn-bg: var(--red-deep); --btn-fg: #fff; }
  .btn > svg { width: 16px; height: 16px; flex-shrink: 0; }
  .btn--onred:hover { --btn-bg: #fff; --btn-fg: var(--red-deep); }
  .btn--solid-red { --btn-bg: var(--red); }
  /* sobre o header vermelho, o preenchido precisa inverter para não sumir */
  .btn--contrast { --btn-bg: #B22D30; --btn-bd: #B22D30; --btn-fg: #fff; }
  .btn--contrast:hover { --btn-bg: #fff; --btn-bd: #B22D30; --btn-fg: #B22D30; }
  .btn--blue    { --btn-bg: var(--blue); font-style: normal; font-weight: 800; }
  .btn--blue:hover { --btn-bg: rgb(0, 40, 128); }
  .btn--block   { width: 100%; }
  .btn--lg      { min-height: 52px; padding: .9rem 1.9rem; font-size: var(--step-0); }

  /* ============ HEADER ============ */
  /* A barra vermelha colapsa conforme o scroll e a faixa branca assume o topo.
     Escudo e botões são overlays absolutos ancorados ao .header, por isso
     sobrevivem ao colapso: o escudo não se mexe e os botões descem.

     fixed, não sticky: no fluxo, colapsar a barra encurtava o documento, o scroll
     era reajustado e realimentava a própria animação que o scroll dirigia. Fora do
     fluxo o colapso é puramente interno e o .header-spacer segura o espaço. */
  .header {
    position: fixed; top: 0; left: 0; right: 0;
    z-index: 100;
  }
  .header-spacer { height: var(--header-h); }
  .header__top {
    position: relative; z-index: 2;
    height: var(--red-h);
    background: var(--red);
    color: #fff;
    overflow: hidden;
  }

  .header .header__top-inner {
    display: flex; align-items: center;
    height: var(--red-h);
    /* este elemento também é .shell: o padding-left sobrescreve o padding-inline
       dele, então o gutter precisa entrar na conta ou o escudo cobre os logos */
    padding-left: calc(var(--gutter) + var(--crest) + 1.5rem);
  }

  /* escudo: overlay que nunca se move — ao travar, transborda a faixa branca */
  .brand {
    position: absolute; z-index: 3;
    left: var(--edge);
    top: 8px;
    width: var(--crest); height: var(--crest);
  }
  .brand__crest {
    width: 100%; height: 100%;
    object-fit: contain;
    transition: transform var(--dur) var(--ease);
  }
  .brand:hover .brand__crest { transform: rotate(-6deg) scale(1.05); }

  .header__sponsors {
    display: flex; align-items: center;
    gap: clamp(1rem, 2.2vw, 2rem);
  }
  .header__sponsor {
    width: auto; object-fit: contain;
    filter: brightness(0) invert(1);   /* força branco independente do fill do SVG */
    opacity: .96;
  }
  .header__sponsor--reebok { height: 44px; }
  @media (max-width: 860px) { .header__sponsors { display: none; } }

  /* botões: overlay que desce da barra vermelha para a faixa branca */
  .header__actions {
    position: absolute; z-index: 3;
    right: var(--edge);
    top: calc((var(--red-h) - var(--btn-h)) / 2);
    display: flex; align-items: center; gap: .55rem;
  }
  /* CTAs do header — menores que o .btn padrão, com respiro na faixa */
  .header__actions .btn {
    min-height: var(--btn-h);
    padding: .5rem 1.2rem;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .06em;
    border-radius: var(--r-sm);
    box-shadow:
      inset 0 0 0 1.5px var(--btn-bd),
      0 2px 10px rgba(0, 0, 0, .12);
  }
  .header__actions .btn:hover {
    transform: translateY(-1px);
    box-shadow:
      inset 0 0 0 1.5px var(--btn-bd),
      var(--shadow-2);
  }
  .header__actions .btn:active { transform: translateY(0) scale(.98); }

  /* Fallback discreto só onde não há scroll-driven animation. Fora do @supports
     estas regras venciam a animação a partir do limiar e a geometria despencava
     no meio da interpolação. */
  @supports not (animation-timeline: scroll()) {
    .header__top { transition: height var(--dur) var(--ease), opacity var(--dur) var(--ease); }
    .header.is-stuck .header__top { height: 0; }
    .header__actions { transition: top var(--dur) var(--ease); }
    .header.is-stuck .header__actions { top: calc((var(--nav-h) - var(--btn-h)) / 2); }
  }

  /* sobre a faixa branca eles precisam inverter — só os CTAs da barra, não o drawer */
  .header.is-stuck .header__actions .btn--onred { --btn-bd: var(--red-deep); --btn-fg: var(--red-deep); }
  .header.is-stuck .header__actions .btn--onred:hover { --btn-bg: var(--red-deep); --btn-fg: #fff; }
  .header.is-stuck .header__actions .btn--contrast { --btn-bg: #B22D30; --btn-bd: #B22D30; --btn-fg: #fff; }
  .header.is-stuck .header__actions .btn--contrast:hover { --btn-bg: #fff; --btn-bd: #B22D30; --btn-fg: #B22D30; }

  .header__nav {
    position: relative; z-index: 1;
    height: var(--nav-h);
    background: var(--surface-2);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .07);
  }
  /* itens distribuídos no espaço entre escudo e botões */
  .nav__list {
    display: flex; align-items: stretch;
    justify-content: flex-start;
    gap: clamp(1rem, 3vw, 3.25rem);
    height: var(--nav-h);
    padding-left: calc(var(--crest) + clamp(1.25rem, 2.5vw, 2.25rem));
    padding-right: calc(var(--actions-w, 220px) + clamp(1.25rem, 2.5vw, 2.25rem));
  }
  .nav__list > li {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
  }
  /* ============ HEADER — MOBILE ============
     A faixa branca some: ela só existia para carregar o menu horizontal, que em
     tela estreita virava um scroll lateral sem affordance (itens escondidos sem
     indicar que existem). Vira uma barra só: hambúrguer, escudo centralizado
     flutuando para fora, e o CTA de conversão sempre visível. */
  .burger, .drawer, .drawer__backdrop { display: none; }

  @media (max-width: 1100px) {
    :root {
      --red-h: 64px;
      --nav-h: 0px;      /* zera o spacer: --header-h = --red-h */
      --crest: 68px;
    }
    .header__nav { display: none; }
    .header__sponsor--reebok { height: 36px; }
    .header__actions .btn--onred { display: none; }  /* fica no drawer */

    /* escudo centralizado, transbordando a barra */
    .brand {
      left: 50%;
      top: 9px;
      transform: translateX(-50%);
      transform-origin: 50% 0;
    }
    .header__actions { right: var(--gutter); top: calc((var(--red-h) - var(--btn-h)) / 2); }
    .header__actions .btn {
      min-height: 40px;
      padding: .55rem 1.15rem;
    }

    .burger {
      -webkit-tap-highlight-color: transparent;
      display: grid; place-items: center;
      position: absolute; z-index: 3;
      left: calc(var(--gutter) - .5rem);
      top: calc((var(--red-h) - 44px) / 2);
      width: 44px; height: 44px;      /* alvo de toque mínimo */
      border-radius: 12px;
      transition: background-color var(--dur) var(--ease);
    }
    .burger:hover, .burger:active { background: rgba(255, 255, 255, .16); }

    .burger__lines { position: relative; width: 22px; height: 14px; }
    .burger__lines span {
      position: absolute; left: 0;
      width: 100%; height: 2px; border-radius: 2px;
      background: #fff;
      transition: transform .4s var(--ease), opacity .25s var(--ease), top .4s var(--ease);
    }
    .burger__lines span:nth-child(1) { top: 0; }
    .burger__lines span:nth-child(2) { top: 6px; }
    .burger__lines span:nth-child(3) { top: 12px; }
    .burger.is-open .burger__lines span:nth-child(1) { top: 6px; transform: rotate(45deg); }
    .burger.is-open .burger__lines span:nth-child(2) { opacity: 0; transform: scaleX(.3); }
    .burger.is-open .burger__lines span:nth-child(3) { top: 6px; transform: rotate(-45deg); }

    /* drawer: desliza por trás da barra, que continua acima dele */
    .drawer {
      display: flex; flex-direction: column;
      /* z-index baixo de propósito: o drawer é filho do .header, então disputa
         empilhamento com a barra (2) e com escudo/hambúrguer (3). Em 1 ele desliza
         por trás deles, que continuam clicáveis. O .header inteiro já está em 100. */
      position: fixed; z-index: 1;
      top: 0; left: 0; right: 0;
      height: 100dvh;
      max-height: 100dvh;
      overflow-x: hidden;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      padding:
        calc(var(--red-h) + clamp(.5rem, 2vh, 1rem))
        var(--gutter)
        max(1rem, env(safe-area-inset-bottom));
      background: linear-gradient(165deg, var(--red-deep) 0%, var(--red-dark) 100%);
      visibility: hidden;
      transform: translateY(-100%);
      /* visibility fora da interpolação: instantânea ao abrir (senão o drawer
         só fica focável no meio da transição) e adiada ao fechar, para o
         slide-out acontecer antes de sumir */
      transition: transform .5s var(--ease), visibility 0s linear .5s;
    }
    .drawer.is-open {
      visibility: visible;
      transform: none;
      transition: transform .5s var(--ease), visibility 0s;
    }

    /* iOS Safari aplica :focus/:focus-visible com o outline azul global após toque */
    .drawer a:focus,
    .drawer a:focus-visible,
    .drawer button:focus,
    .drawer button:focus-visible,
    .burger:focus,
    .burger:focus-visible {
      outline: none !important;
      box-shadow: none;
    }

    .drawer__link {
      -webkit-tap-highlight-color: transparent;
      display: flex; align-items: center; justify-content: space-between;
      flex-shrink: 0;
      padding: clamp(.45rem, 1.6vh, .7rem) 0;
      border-bottom: 1px solid rgba(255, 255, 255, .16);
      font-size: clamp(1.05rem, 4.6vw, 1.45rem);
      font-weight: 800; font-style: italic;
      line-height: 1.15;
      color: #fff;
      border-radius: 4px;
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .45s var(--ease), transform .45s var(--ease),
                  background-color var(--dur) var(--ease);
    }
    .drawer__link:active { background: rgba(255, 255, 255, .08); }
    .drawer__sublink {
      -webkit-tap-highlight-color: transparent;
      display: flex; align-items: center; gap: .6rem;
      flex-shrink: 0;
      padding: clamp(.35rem, 1.2vh, .55rem) 0 clamp(.35rem, 1.2vh, .55rem) 1rem;
      border-bottom: 1px solid rgba(255, 255, 255, .1);
      font-size: clamp(.9rem, 3.8vw, 1.1rem);
      font-weight: 600; font-style: italic;
      line-height: 1.15;
      color: rgba(255, 255, 255, .85);
      opacity: 0;
      transform: translateY(16px);
      transition: opacity .45s var(--ease), transform .45s var(--ease);
    }
    .drawer__sublink::before {
      content: "";
      width: 6px; height: 2px; border-radius: 2px;
      background: rgba(255, 255, 255, .5);
    }
    .drawer__sublink.is-active { color: #fff; font-weight: 800; }

    /* entrada escalonada — sc-for não cria wrapper, então nth-child funciona */
    .drawer.is-open > a { opacity: 1; transform: none; }
    .drawer.is-open > :nth-child(1)  { transition-delay: .10s; }
    .drawer.is-open > :nth-child(2)  { transition-delay: .12s; }
    .drawer.is-open > :nth-child(3)  { transition-delay: .14s; }
    .drawer.is-open > :nth-child(4)  { transition-delay: .16s; }
    .drawer.is-open > :nth-child(5)  { transition-delay: .18s; }
    .drawer.is-open > :nth-child(6)  { transition-delay: .20s; }
    .drawer.is-open > :nth-child(7)  { transition-delay: .22s; }
    .drawer.is-open > :nth-child(8)  { transition-delay: .24s; }
    .drawer.is-open > :nth-child(9)  { transition-delay: .26s; }
    .drawer.is-open > :nth-child(10) { transition-delay: .28s; }
    .drawer.is-open > :nth-child(11) { transition-delay: .30s; }
    .drawer.is-open > :nth-child(12) { transition-delay: .32s; }
    .drawer.is-open > :nth-child(13) { transition-delay: .34s; }
    .drawer.is-open > :nth-child(14) { transition-delay: .36s; }
    .drawer.is-open > :nth-child(15) { transition-delay: .38s; }
    .drawer.is-open > :nth-child(16) { transition-delay: .40s; }
    .drawer.is-open > :nth-child(17) { transition-delay: .42s; }
    .drawer.is-open > :nth-child(18) { transition-delay: .44s; }
    .drawer.is-open > :nth-child(19) { transition-delay: .46s; }
    .drawer.is-open > :nth-child(20) { transition-delay: .48s; }
    .drawer.is-open > :nth-child(21) { transition-delay: .50s; }

    /* ---- Grupos recolhíveis (itens com submenu) ---- */
    .drawer__group {
      flex-shrink: 0;
      border-bottom: 1px solid rgba(255, 255, 255, .16);
      opacity: 0; transform: translateY(16px);
      transition: opacity .45s var(--ease), transform .45s var(--ease);
    }
    .drawer.is-open > .drawer__group { opacity: 1; transform: none; }
    .drawer__toggle {
      width: 100%;
      gap: .6rem;
      border: 0;
      background: none;
      font-family: inherit; text-align: left;
      cursor: pointer;
      opacity: 1; transform: none;
    }
    .drawer__toggle > span:first-child { flex: 1; }
    .drawer__count {
      display: grid; place-items: center;
      min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem;
      border-radius: 999px;
      background: rgba(255, 255, 255, .14);
      font-size: .72rem; font-weight: 700; font-style: normal;
      color: rgba(255, 255, 255, .85);
      transition: opacity .25s var(--ease);
    }
    .drawer__chev {
      position: relative; flex: none;
      width: 2rem; height: 2rem; border-radius: 50%;
      background: #fff;
      box-shadow: 0 4px 12px rgba(60, 0, 8, .25);
      transition: transform .35s var(--ease);
    }
    .drawer__chev::before {
      content: ""; position: absolute; left: 50%; top: 50%;
      width: 7px; height: 7px;
      border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
      transform: translate(-50%, -70%) rotate(45deg);
    }
    .drawer__group.is-expanded .drawer__chev { transform: rotate(180deg); }
    .drawer__group.is-expanded .drawer__count { opacity: 0; }
    .drawer__subwrap {
      display: grid; grid-template-rows: 0fr;
      transition: grid-template-rows .35s var(--ease);
    }
    .drawer__group.is-expanded .drawer__subwrap { grid-template-rows: 1fr; }
    .drawer__subinner {
      min-height: 0; overflow: hidden;
      border-left: 2px solid rgba(255, 255, 255, .25);
    }
    .drawer__group.is-expanded .drawer__subinner { margin-bottom: .6rem; }
    .drawer__subinner .drawer__sublink {
      opacity: 1; transform: none;
      border-bottom: 0;
      padding-left: 1rem;
    }
    .drawer__subinner .drawer__sublink::before { display: none; }
    .drawer__sublink--all { font-weight: 800; color: #fff; }
    @media (prefers-reduced-motion: reduce) {
      .drawer__subwrap, .drawer__chev { transition: none; }
    }

    .drawer__cta {
      display: grid; gap: .55rem;
      flex-shrink: 0;
      margin-top: clamp(.75rem, 2.5vh, 1.25rem);
      opacity: 0; transform: translateY(16px);
      transition: opacity .45s var(--ease) .45s, transform .45s var(--ease) .45s;
    }
    .drawer__cta .btn--lg {
      min-height: 46px;
      padding: .65rem 1.25rem;
      font-size: clamp(.88rem, 3.8vw, 1rem);
    }

    /* Drawer fica dentro de .header; is-stuck não pode herdar cores da faixa branca */
    .drawer__cta .btn--onred {
      --btn-bg: transparent;
      --btn-bd: #fff;
      --btn-fg: #fff;
      color: #fff;
      background-color: transparent;
    }
    .drawer__cta .btn--onred:active {
      --btn-bg: #fff;
      --btn-fg: var(--red-deep);
      color: var(--red-deep);
    }
    .drawer__cta .btn--contrast {
      --btn-bg: #B22D30;
      --btn-bd: #B22D30;
      --btn-fg: #fff;
      color: #fff;
    }
    .drawer__cta .btn--contrast:active {
      --btn-bg: #fff;
      --btn-fg: #B22D30;
      color: #B22D30;
    }
    .drawer.is-open .drawer__cta { opacity: 1; transform: none; }

    .drawer__backdrop {
      display: block;
      position: fixed; inset: 0; z-index: 98;
      background: rgba(11, 11, 13, .55);
      backdrop-filter: blur(4px);
      opacity: 0; visibility: hidden;
      transition: opacity .4s var(--ease), visibility 0s linear .4s;
    }
    .drawer__backdrop.is-open {
      opacity: 1; visibility: visible;
      transition: opacity .4s var(--ease), visibility 0s;
    }

    /* No mobile a barra comprime, não desaparece: ela ainda carrega hambúrguer e CTA.
       Bloco autossuficiente (declara a própria timeline) — o conjunto do desktop
       está atrás de min-width e não alcança aqui. */
    @supports (animation-timeline: scroll()) {
      .header__top,
      .header__actions,
      .burger,
      .brand {
        animation: linear both;
        animation-timeline: scroll(root block);
        animation-range: 0 90px;
      }
      .header__top     { animation-name: red-compact; }
      /* hambúrguer e botão têm a mesma altura (44), então comprimem igual: se o
         hambúrguer ficasse parado em top:10, vazaria para fora do vermelho e
         suas linhas brancas sumiriam sobre o conteúdo claro */
      .header__actions,
      .burger          { animation-name: actions-compact; }
      .brand           { animation-name: brand-shrink; }

      /* a barra some, mas nunca zera: ela ainda carrega hambúrguer e CTA */
      @keyframes red-compact     { to { height: 52px; } }
      @keyframes actions-compact { from { top: 10px; } to { top: 4px; } }
      @keyframes brand-shrink    { to { transform: translateX(-50%) scale(.72); } }
    }
    .header.is-stuck .header__top {
      box-shadow: 0 6px 22px rgba(0, 0, 0, .18);
    }
  }

  /* ---- Header colado ao scroll (desktop) ----
     Sem isto o colapso é binário: cruza o limiar e dispara uma transição fixa,
     independente do gesto. Amarrado à timeline do scroll, ele acompanha o dedo
     quadro a quadro e roda no compositor. As keyframes vencem as declarações
     normais do .is-stuck, que fica responsável só pela troca de cor.

     Escopado em min-width: aqui a barra zera e os botões sobem para o centro da
     faixa branca, que no mobile não existe (--nav-h: 0) — o mesmo cálculo levaria
     o botão para top:-22px, fora da tela. Media queries exclusivas eliminam a
     disputa de cascata entre os dois conjuntos, em vez de apostar em especificidade. */
  @media (min-width: 1101px) {
    @supports (animation-timeline: scroll()) {
      .header__top,
      .header__actions,
      .header__sponsors {
        animation: linear both;
        animation-timeline: scroll(root block);
      }
      .header__top     { animation-name: red-collapse;  animation-range: 0 110px; }
      .header__actions { animation-name: actions-rise;  animation-range: 0 110px; }
      .header__sponsors{ animation-name: sponsors-out;  animation-range: 0 70px; }

      @keyframes red-collapse {
        to { height: 0; }
      }
      @keyframes actions-rise {
        from { top: calc((var(--red-h) - var(--btn-h)) / 2); }
        to   { top: calc((var(--nav-h) - var(--btn-h)) / 2); }
      }
      @keyframes sponsors-out {
        to { opacity: 0; transform: translateY(-8px); }
      }
    }
  }

  .header.is-stuck .header__nav {
    background: #fff;
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
  }
  .nav__list::-webkit-scrollbar { display: none; }
  .nav__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    padding: .4rem .35rem;
    font-size: clamp(.62rem, .55rem + .35vw, .78rem);
    font-weight: 700;
    letter-spacing: .07em;
    color: var(--red-deep);
    white-space: nowrap;
    transition: color var(--dur) var(--ease);
  }
  .nav__link::after {
    content: "";
    position: absolute; left: 50%; bottom: .15rem;
    width: calc(100% - .4rem); height: 2px; border-radius: 2px;
    background: var(--red);
    transform: translateX(-50%) scaleX(0); transform-origin: center;
    transition: transform var(--dur) var(--ease);
  }
  .nav__link:hover { color: var(--red); }
  .nav__link:hover::after { transform: translateX(-50%) scaleX(1); }
  .nav__link.is-active {
    color: var(--red);
  }
  .nav__link.is-active::after {
    transform: translateX(-50%) scaleX(1);
  }

  /* ---- Submenu (dropdown) ---- */
  .nav__item { position: relative; }
  .nav__sub { display: none; }
  .nav__item.has-sub > .nav__link::before {
    content: "";
    order: 2;
    width: 5px; height: 5px;
    margin-left: .4rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
    transition: transform var(--dur) var(--ease);
  }
  .nav__item.has-sub > .nav__sub {
    display: grid; gap: 2px;
    position: absolute; top: calc(100% - .35rem); left: 50%; z-index: 5;
    min-width: 260px;
    padding: .55rem;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(120, 10, 20, .08);
    box-shadow: 0 2px 6px rgba(80, 0, 10, .06), 0 24px 48px -12px rgba(80, 0, 10, .28);
    opacity: 0; visibility: hidden;
    transform: translate(-50%, 10px) scale(.98);
    transform-origin: top center;
    transition: opacity .1s linear, transform .1s linear, visibility 0s linear .1s;
  }
  /* faixa vermelha no topo + seta apontando para o item */
  .nav__item.has-sub > .nav__sub::before {
    content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: -1px;
    height: 3px; border-radius: 0 0 3px 3px; background: var(--red);
  }
  .nav__item.has-sub > .nav__sub::after {
    content: ""; position: absolute; left: 50%; top: -6px;
    width: 12px; height: 12px; background: #fff;
    border-left: 1px solid rgba(120, 10, 20, .08); border-top: 1px solid rgba(120, 10, 20, .08);
    transform: translateX(-50%) rotate(45deg); border-radius: 3px 0 0 0;
    z-index: -1;
  }
  /* ponte invisível: o mouse atravessa o vão sem fechar o menu */
  .nav__item.has-sub::after {
    content: ""; position: absolute; left: -1rem; right: -1rem; top: 100%; height: .6rem;
  }
  .nav__item.has-sub:hover > .nav__sub,
  .nav__item.has-sub:focus-within > .nav__sub {
    opacity: 1; visibility: visible;
    transform: translate(-50%, 0) scale(1);
    transition: opacity .2s var(--ease), transform .25s var(--ease), visibility 0s;
  }
  .nav__item.has-sub:hover > .nav__link::before,
  .nav__item.has-sub:focus-within > .nav__link::before {
    transform: translateY(1px) rotate(-135deg);
  }
  .nav__sub > li {
    opacity: 0; transform: translateY(4px);
    transition: opacity .2s var(--ease), transform .25s var(--ease);
  }
  .nav__item.has-sub:hover > .nav__sub > li,
  .nav__item.has-sub:focus-within > .nav__sub > li { opacity: 1; transform: none; }
  .nav__sub > li:nth-child(2) { transition-delay: .03s; }
  .nav__sub > li:nth-child(3) { transition-delay: .06s; }
  .nav__sub > li:nth-child(4) { transition-delay: .09s; }
  .nav__sub > li:nth-child(n+5) { transition-delay: .12s; }
  .nav__sub-link {
    position: relative;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .8rem .9rem .8rem 1.1rem;
    border-radius: 10px;
    color: var(--red-deep);
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .nav__sub-link::before {
    content: ""; position: absolute; left: .45rem; top: 50%;
    width: 3px; height: 0; border-radius: 3px; background: var(--red);
    transform: translateY(-50%);
    transition: height .25s var(--ease);
  }
  .nav__sub-text { display: grid; gap: .2rem; }
  .nav__sub-title {
    font-size: .8rem; font-weight: 700; letter-spacing: .06em;
    text-transform: uppercase; white-space: nowrap;
  }
  .nav__sub-desc {
    font-size: .74rem; font-weight: 400; letter-spacing: 0; line-height: 1.35;
    color: #7a5a5d; max-width: 22ch;
  }
  .nav__sub-arrow {
    flex: none; width: 15px; height: 15px;
    opacity: 0; transform: translateX(-6px);
    transition: opacity .2s var(--ease), transform .25s var(--ease);
  }
  .nav__sub-link:hover,
  .nav__sub-link:focus-visible { background: #fbf1f2; color: var(--red); }
  .nav__sub-link:hover::before,
  .nav__sub-link:focus-visible::before,
  .nav__sub-link.is-active::before { height: 1.1rem; }
  .nav__sub-link:hover .nav__sub-arrow,
  .nav__sub-link:focus-visible .nav__sub-arrow { opacity: 1; transform: none; }
  .nav__sub-link.is-active { color: var(--red); }
  .nav__sub-link:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
  .nav__sub-cover, .nav__sub-num { display: none; }

  /* ---- Submenu "Destaque": capa vermelha + itens numerados ---- */
  .submenu-destaque .nav__item.has-sub > .nav__sub {
    grid-template-columns: minmax(200px, max-content) minmax(230px, 1fr);
    grid-auto-rows: min-content;
    column-gap: .5rem; row-gap: 2px;
    left: -1.5rem;
    min-width: 0; width: max-content;
    padding: .6rem .6rem .6rem .6rem;
    border-radius: 18px;
    transform: translate(0, 10px) scale(.98);
    transform-origin: top left;
  }
  .submenu-destaque .nav__item.has-sub:hover > .nav__sub,
  .submenu-destaque .nav__item.has-sub:focus-within > .nav__sub { transform: translate(0, 0) scale(1); }
  .submenu-destaque .nav__item.has-sub > .nav__sub::before { display: none; }
  .submenu-destaque .nav__item.has-sub > .nav__sub::after { left: 3.4rem; }
  .submenu-destaque .nav__sub > li { grid-column: 2; }
  .submenu-destaque .nav__sub > li.nav__sub-cover {
    display: flex; flex-direction: column;
    grid-column: 1; grid-row: 1 / span 20;
    min-height: 200px;
    padding: 1.25rem 1.2rem 1.1rem;
    border-radius: 12px;
    color: #fff;
    background:
      radial-gradient(120% 90% at 0% 0%, #ff2d4b 0%, var(--red) 38%, #9e0018 100%);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 10px 24px -10px rgba(158, 0, 24, .7);
    overflow: hidden; position: relative;
  }
  .submenu-destaque .nav__sub-cover::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: url("../images/ondas.svg") center / 240px auto; opacity: .22;
  }
  .submenu-destaque .nav__sub-cover { isolation: isolate; }
  .nav__sub-kicker {
    font-size: .6rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; opacity: .75;
  }
  .nav__sub-heading {
    margin-top: .35rem;
    font-size: 1.5rem; font-weight: 800; font-style: italic; line-height: 1;
    white-space: nowrap; padding-right: .25rem;
    letter-spacing: -.01em; text-transform: uppercase;
    text-shadow: 0 6px 18px rgba(60, 0, 8, .35);
  }
  .nav__sub-lead {
    margin-top: .6rem; max-width: 20ch;
    font-size: .78rem; line-height: 1.4; opacity: .92;
  }
  .nav__sub-count {
    margin-top: auto; padding-top: 1rem;
    font-size: .6rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; opacity: .7;
  }
  .submenu-destaque .nav__sub-link {
    justify-content: flex-start; gap: .9rem;
    padding: .75rem .9rem .75rem .8rem;
  }
  .submenu-destaque .nav__sub-link::before { display: none; }
  .submenu-destaque .nav__sub-num {
    display: grid; place-items: center; flex: none;
    width: 2.1rem; height: 2.1rem; border-radius: 9px;
    font-size: .74rem; font-weight: 800; font-style: italic;
    color: var(--red); background: #fbf1f2;
    transition: background-color .2s var(--ease), color .2s var(--ease), transform .25s var(--ease);
  }
  .submenu-destaque .nav__sub-arrow { margin-left: auto; }
  .submenu-destaque .nav__sub-link:hover .nav__sub-num,
  .submenu-destaque .nav__sub-link:focus-visible .nav__sub-num,
  .submenu-destaque .nav__sub-link.is-active .nav__sub-num {
    color: #fff; background: var(--red); transform: rotate(-6deg);
  }
  .submenu-destaque .nav__sub-link.is-active { background: #fbf1f2; }

  @media (prefers-reduced-motion: reduce) {
    .nav__sub, .nav__sub > li, .nav__sub-arrow, .nav__sub-num { transition: none !important; }
  }

  /* ============ HERO ============ */
  .hero {
    position: relative;
    min-height: clamp(420px, 78vh, 760px);
    background: #0b0b0d;
    overflow: hidden;
    isolation: isolate;
  }
  .hero__slide {
    position: absolute; inset: 0;
    opacity: 0;
    pointer-events: none;
    /* O destaque que sai fica por baixo até o novo terminar de entrar. */
    transition: opacity 0s linear .7s;
  }
  .hero__slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transition: opacity .7s var(--ease);
  }
  /* Destaques com vídeo entram direto, sem fade. */
  .hero__slide--video.is-active { transition: none; }
  .hero__img { width: 100%; height: 100%; object-fit: cover; }
  .hero__scrim {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background:
      linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,.2) 65%, rgba(11,11,13,.72) 100%),
      linear-gradient(90deg, rgba(11,11,13,.5) 0%, rgba(11,11,13,.07) 55%, transparent 100%);
  }
  .hero__content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column; justify-content: flex-end;
    min-height: clamp(420px, 78vh, 760px);
    padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 5.5rem);
    color: #fff;
  }
  .hero__tag {
    display: inline-flex; align-items: center; gap: .47rem;
    align-self: flex-start;
    padding: .34rem .72rem;
    border-radius: 999px;
    background: rgba(255, 0, 42, .92);
    backdrop-filter: blur(6px);
    font-size: clamp(.64rem, .61rem + .13vw, .7rem); font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase;
  }
  .hero__tag::before {
    content: ""; width: 6px; height: 6px; border-radius: 50%;
    background: #fff; animation: pulse 2s var(--ease) infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.7); }
  }
  .hero__title {
    max-width: 18ch;
    margin-top: .94rem;
    font-size: clamp(1.7rem, 1.19rem + 2.55vw, 3.4rem);
    font-weight: 800; font-style: italic;
    line-height: .92;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-wrap: balance;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .5);
  }
  .hero__sub {
    max-width: 46ch; margin-top: .85rem;
    font-size: clamp(.85rem, .8rem + .26vw, 1.02rem); color: rgba(255, 255, 255, .88);
    text-wrap: pretty;
  }
  .hero__cta { display: flex; flex-wrap: wrap; gap: .64rem; margin-top: 1.6rem; }
  .hero__cta .btn {
    min-height: 44px;
    padding: .77rem 1.6rem;
    font-size: clamp(.74rem, .71rem + .15vw, .85rem);
  }

  .hero__dots {
    display: flex; align-items: center; gap: .43rem;
    margin-top: clamp(1.5rem, 3.4vw, 2.55rem);
  }
  .dot {
    width: 29px; height: 5px; padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .35);
    transition: background-color var(--dur) var(--ease), width var(--dur) var(--ease);
  }
  .dot:hover { background: rgba(255, 255, 255, .6); }
  .dot { position: relative; overflow: hidden; }
  .dot.is-active { width: 49px; }
  /* Barrinha ativa: enche até a próxima troca (cheia quando a troca é manual). */
  .dot::after {
    content: ""; position: absolute; inset: 0;
    background: var(--red); border-radius: inherit;
    transform: scaleX(0); transform-origin: left;
  }
  .dot.is-active::after { transform: scaleX(1); }
  .dot.is-active.is-timing::after { animation: hero-progress var(--hero-dur, 8s) linear both; }
  @keyframes hero-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* Desktop: hero 75px mais alto */
  @media (min-width: 1101px) {
    .hero,
    .hero__content { min-height: calc(clamp(420px, 78vh, 760px) + 75px); }
  }

  /* ============ PRÓXIMOS JOGOS ============ */
  .matches { background: #fff; position: relative; }
  .matches__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 5vw, 4rem);
  }
  .match {
    display: grid; gap: 1rem;
    justify-items: center; text-align: center;
    position: relative;
    padding-inline: clamp(.5rem, 2vw, 1.5rem);
    text-transform: uppercase;
  }
  /* divisor vertical entre os dois jogos */
  .match + .match::before {
    content: ""; position: absolute;
    left: calc(clamp(1.5rem, 5vw, 4rem) / -2);
    top: 8%; bottom: 8%;
    width: 1px; background: var(--line);
  }
  .match__label {
    font-size: .68rem; font-weight: 700;
    letter-spacing: .16em; color: var(--grey);
  }
  .match__date {
    font-size: var(--step-1);
    font-weight: 800;
    font-style: italic;
    letter-spacing: .04em;
    color: var(--red-deep);
  }
  .match__teams {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(.6rem, 1.8vw, 1.25rem);
  }
  .team__badge {
    width: clamp(44px, 5vw, 58px); height: clamp(44px, 5vw, 58px);
    object-fit: contain;
  }
  .match__divider { width: 1px; height: 34px; background: var(--line); }
  .team__name {
    font-size: var(--step-1);
    font-weight: 800;
    font-style: italic;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--red-deep);
  }
  .match__comp {
    font-size: var(--step--1); color: var(--grey);
    font-weight: 600; letter-spacing: .05em;
  }

  /* Mobile: um jogo por vez, centralizado; próximo fica fora da tela */
  @media (max-width: 720px) {
    .matches > .shell {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: stretch;
      padding-inline: 0;
      overflow: visible;
    }
    .matches__hint {
      position: absolute;
      right: var(--gutter);
      top: clamp(2.5rem, 5vw, 4rem);
      z-index: 2;
      display: flex;
      align-items: center;
      color: var(--grey);
      pointer-events: none;
    }
    .matches__hint svg {
      width: 22px; height: 22px;
      animation: matches-nudge 1.6s var(--ease) infinite;
    }
    .matches__grid {
      display: grid;
      grid-template-columns: none;
      grid-auto-flow: column;
      /* largura = viewport − gutters → segundo card começa em 100vw (fora) */
      grid-auto-columns: calc(100% - 2 * var(--gutter));
      gap: var(--gutter);
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      scroll-padding-inline: var(--gutter);
      padding-inline: var(--gutter);
      scrollbar-width: none;
      overscroll-behavior-inline: contain;
      -webkit-overflow-scrolling: touch;
    }
    .matches__grid::-webkit-scrollbar { display: none; }
    .match {
      scroll-snap-align: center;
      place-content: center;
      min-height: 100%;
      padding-inline: .25rem;
    }
    .match + .match::before { display: none; }
  }
  @media (min-width: 721px) {
    .matches__hint { display: none; }
  }
  @keyframes matches-nudge {
    0%, 100% { transform: translateX(0); opacity: .55; }
    50% { transform: translateX(-6px); opacity: 1; }
  }
  @media (prefers-reduced-motion: reduce) {
    .matches__hint svg { animation: none; }
  }

  /* Divisória inspirada nas faixas onduladas do escudo (degrau em S) */
  .wave {
    display: block;
    width: 100%;
    height: clamp(72px, 9vw, 128px);
    color: var(--red);
  }

  /* Sem jogos: a onda vermelha sobe e corta a parte de baixo do hero. */
  .matches--empty {
    background: transparent;
    /* Sem z-index: a onda fica sobre o hero (vem depois dele na página), mas o
       título dos planos, logo abaixo, continua por cima dela. */
    margin-top: calc(clamp(72px, 9vw, 128px) * -.5);
    pointer-events: none;
  }

  /* ============ CARROSSEL (compartilhado) ============ */
  .carousel { position: relative; }
  .carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: clamp(1rem, 2vw, 1.5rem);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* A suavidade vem daqui, não do JS: com snap mandatory o Chrome cancela
       scrollBy({behavior:'smooth'}), mas respeita o scroll-behavior do CSS. */
    scroll-behavior: smooth;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    padding-block: .5rem 1.25rem;
    scrollbar-width: none;
    overscroll-behavior-inline: contain;
  }
  .carousel__track::-webkit-scrollbar { display: none; }
  .carousel__track > * { scroll-snap-align: start; }

  /* trilho full-bleed dentro de uma seção com shell */
  .bleed {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
  }

  .carousel__nav { display: flex; gap: .5rem; }
  .cbtn {
    display: grid; place-items: center;
    width: 46px; height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    box-shadow: inset 0 0 0 1.5px currentColor;
    color: #fff;
    transition: background-color var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                opacity var(--dur) var(--ease);
  }
  .cbtn:hover { background: #fff; color: var(--red-deep); transform: scale(1.08); }
  .cbtn:disabled { opacity: .35; cursor: not-allowed; transform: none; }
  .cbtn svg { width: 18px; height: 18px; }
  .carousel--dark .cbtn { color: var(--red-deep); background: rgba(178, 45, 48, .08); }
  .carousel--dark .cbtn:hover { background: var(--red-deep); color: #fff; }

  /* ============ PLANOS ============ */
  .plans { position: relative; background: var(--red); color: #fff; overflow: hidden; }
  .plans.section {
    /* Menos vão após a onda; o padding global de .section era alto aqui */
    margin-top: clamp(-3rem, -3.5vw, -1.25rem);
    padding-block: clamp(.5rem, 1vw, .75rem) var(--section-space);
  }
  .plans .section-head {
    margin-bottom: var(--head-space);
  }
  .plans::before {
    content: "";
    position: absolute; inset: 0;
    /* só vinheta inferior — highlight claro no topo gerava faixa rosada no vermelho */
    background: radial-gradient(900px 380px at 12% 108%, rgba(0,0,0,.16), transparent 58%);
    pointer-events: none;
  }
  .plans > * { position: relative; z-index: 1; }

  /* Trilho dos planos — carrossel no mobile; grade no desktop */
  #track-planos {
    grid-auto-columns: minmax(220px, 248px);
    gap: clamp(1.25rem, 2.8vw, 2rem);
    padding-block: .35rem 1.5rem;
    align-items: stretch;
  }
  .plans__nav { display: flex; }
  @media (min-width: 1120px) {
    .plans > .carousel.bleed {
      width: 100%;
      margin-inline: 0;
    }
    .plans__nav {
      display: none;
    }
    #track-planos {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      grid-auto-flow: row;
      grid-auto-columns: unset;
      gap: clamp(1rem, 1.6vw, 1.5rem);
      max-width: var(--shell);
      margin-inline: auto;
      padding-inline: var(--inset);
      overflow-x: visible;
      scroll-snap-type: none;
      scroll-padding-inline: 0;
    }
    #track-planos > * {
      scroll-snap-align: unset;
      min-width: 0;
    }
  }

  .plan {
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    height: 100%;
    min-width: 0;
    background: transparent;
    overflow: visible;
  }

  /* Cartão Sócio Timbu — 8:5, −10%, invade ~20% do box */
  .plan__card {
    --mx: 50%;
    --my: 28%;
    --card-fg: #fff;
    --card-bg: var(--red-deep);
    --card-bg-2: var(--red-dark);
    --card-mark: .18;
    --card-shine: rgba(255,255,255,.1);
    --card-spec: rgba(255,255,255,.18);
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    width: 62.9%;
    aspect-ratio: 8 / 5;
    height: auto;
    margin: 0 0 -7.86%;
    padding: .55rem .6rem .5rem;
    box-sizing: border-box;
    border-radius: 12px;
    color: var(--card-fg);
    overflow: hidden;
    isolation: isolate;
    transform-style: preserve-3d;
    transform: perspective(700px) rotateX(0deg) rotateY(0deg);
    transition: box-shadow .35s var(--ease);
    background:
      linear-gradient(160deg, var(--card-shine) 0%, transparent 38%),
      linear-gradient(145deg, var(--card-bg) 0%, var(--card-bg-2) 100%);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.14),
      inset 0 -1px 0 rgba(0,0,0,.22),
      0 8px 18px rgba(60, 0, 10, .28),
      0 2px 4px rgba(0,0,0,.14);
    will-change: transform;
  }
  .plan__card--red {
    --card-bg: var(--red);
    --card-bg-2: var(--red-deep);
    --card-mark: .16;
  }
  .plan__card--dark {
    --card-bg: var(--red-dark);
    --card-bg-2: #B22D30;
    --card-mark: .22;
  }
  .plan__card--light {
    --card-bg: #ff4d66;
    --card-bg-2: var(--red);
    --card-mark: .14;
  }
  .plan__card--grey {
    --card-fg: var(--red-dark);
    --card-bg: #d8d8d8;
    --card-bg-2: #c4c4c4;
    --card-mark: .08;
    --card-shine: rgba(255,255,255,.35);
    --card-spec: rgba(255,255,255,.35);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,.55),
      inset 0 -1px 0 rgba(0,0,0,.08),
      0 8px 18px rgba(0, 0, 0, .14),
      0 2px 4px rgba(0,0,0,.08);
  }
  .plan__card--white {
    --card-fg: var(--red-dark);
    --card-bg: #fff;
    --card-bg-2: #f3f3f3;
    --card-mark: .07;
    --card-shine: rgba(255,255,255,.5);
    --card-spec: rgba(255,255,255,.4);
    box-shadow:
      inset 0 0 0 1px rgba(178, 45, 48, .1),
      inset 0 1px 0 rgba(255,255,255,.8),
      0 8px 18px rgba(0, 0, 0, .12),
      0 2px 4px rgba(0,0,0,.06);
  }
  /* Reflexo especular suave (acompanha o mouse) */
  .plan__card::after {
    content: "";
    position: absolute; inset: 0; z-index: 2;
    border-radius: inherit;
    background: radial-gradient(
      circle at var(--mx) var(--my),
      var(--card-spec) 0%,
      transparent 42%
    );
    pointer-events: none;
  }
  /* Filete de brilho bem discreto */
  .plan__card::before {
    content: "";
    position: absolute; inset: -40% -20%; z-index: 1;
    background: linear-gradient(
      115deg,
      transparent 38%,
      rgba(255,255,255,.07) 48%,
      transparent 58%
    );
    transform: rotate(-8deg);
    pointer-events: none;
  }
  /* Marca d'água remos — canto direito, cortada pelas bordas */
  .plan__watermark {
    position: absolute;
    right: -22%;
    top: 42%;
    z-index: 0;
    width: 92%;
    height: auto;
    transform: translateY(-50%);
    opacity: var(--card-mark);
    pointer-events: none;
    user-select: none;
  }
  .plan__card-top {
    position: relative; z-index: 3;
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: .4rem;
    height: 100%;
    min-width: 0;
  }
  .plan__card-copy {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    padding-right: .15rem;
  }
  .plan__brand {
    display: block;
    font-size: clamp(.62rem, 1.7vw, .72rem);
    font-weight: 400;
    letter-spacing: .02em;
    line-height: 1.1;
    white-space: nowrap;
  }
  .plan__brand b { font-weight: 800; font-style: italic; }
  .plan__stars {
    display: block;
    margin-top: .15rem;
    font-size: .4rem;
    letter-spacing: .14em;
    line-height: 1;
    opacity: .95;
  }
  .plan__holder {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin-top: auto;
    padding-top: .25rem;
    font-size: clamp(.5rem, 1.4vw, .58rem);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    line-height: 1.15;
    max-width: 100%;
    word-break: break-word;
  }
  .plan__chip {
    width: clamp(22px, 6vw, 26px);
    height: clamp(22px, 6vw, 26px);
    flex-shrink: 0;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 1px;
    box-shadow: 0 2px 6px rgba(0,0,0,.18);
  }
  .plan__card--grey .plan__chip,
  .plan__card--white .plan__chip {
    box-shadow: 0 1px 4px rgba(178, 45, 48, .18);
  }

  /* Box branco — altura fluida para alinhar botões entre cards */
  .plan__box {
    width: 100%;
    display: flex; flex-direction: column; flex: 1 1 auto;
    min-height: 0;
    border-radius: var(--r-lg);
    background: #fff;
    box-shadow: var(--shadow-2);
    overflow: hidden;
    transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .plan:hover .plan__box { box-shadow: var(--shadow-3); transform: translateY(-2px); }

  .plan__body {
    display: flex; flex-direction: column; flex: 1 1 auto;
    padding: 2.8125rem 1rem 1.15rem;
    text-align: center;
    color: var(--red-dark);
  }
  .plan__kicker {
    font-size: var(--label-size); font-weight: 600;
    letter-spacing: var(--label-track); text-transform: uppercase;
    color: var(--red-deep);
  }
  .plan__name {
    margin-top: .25rem;
    min-height: 2.2em;
    font-size: clamp(1.05rem, .9rem + .6vw, 1.35rem);
    font-weight: 500; font-style: italic;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--red-dark);
    text-wrap: balance;
  }
  .plan__name b { font-weight: 800; }

  .plan__benefits {
    display: grid; gap: .65rem;
    flex: 1 1 auto;
    margin: .85rem 0 1rem;
    text-align: center;
  }
  .plan__benefit {
    margin: 0;
    padding: 0;
    font-size: .875rem;
    line-height: 1.45;
    color: var(--red-dark);
    text-wrap: balance;
  }
  .plan__cta { margin-top: auto; flex-shrink: 0; }
  .plan__footnote {
    margin: .65rem 0 0;
    font-size: .875rem;
    font-weight: 500;
    line-height: 1.35;
    color: var(--grey);
    text-align: center;
  }
  .plan__footnote-price {
    font-weight: 600;
    color: var(--grey);
  }

  @media (prefers-reduced-motion: reduce) {
    .plan__card { transition: none; }
    .plan__card::after { display: none; }
  }

  /* ============ NOTÍCIAS ============ */
  .news__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(.4rem, .65vw, .6rem);
  }
  @media (max-width: 1100px) {
    .news__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 560px) {
    .news__grid { grid-template-columns: 1fr; max-width: 22rem; margin-inline: auto; }
  }
  .news-card {
    --news-title-lh: 1.2;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    aspect-ratio: auto;
    min-height: 0;
    max-height: none;
    border-radius: var(--r-card);
    overflow: hidden;
    color: #fff;
    text-decoration: none;
    background: var(--red);
    box-shadow: 0 8px 28px rgba(178, 45, 48, .18);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(178, 45, 48, .28);
  }
  .news-card:focus-visible {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
  }
  .news-card__media {
    position: relative;
    min-height: clamp(88px, 10vw, 118px);
    overflow: hidden;
    background: #1a1a1a;
  }
  .news-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .85s var(--ease);
  }
  .news-card:hover .news-card__img { transform: scale(1.04); }
  .news-card__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: clamp(.45rem, .8vw, .62rem);
    min-height: 0;
    padding:
      clamp(.72rem, 1.25vw, .95rem)
      clamp(.75rem, 1.2vw, .95rem)
      clamp(.85rem, 1.4vw, 1.08rem);
    background: var(--red);
  }
  .news-card__title {
    margin: 0;
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    font-size: clamp(.82rem, .74rem + .24vw, .98rem);
    font-weight: 900;
    line-height: var(--news-title-lh);
    letter-spacing: .02em;
    text-transform: uppercase;
    overflow: hidden;
    overflow-wrap: break-word;
    word-break: normal;
    /* altura fixa de 2 linhas — evita reticência no meio do texto (bug do flex + line-clamp) */
    max-height: calc(2 * var(--news-title-lh) * 1em);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }
  .news-card__foot {
    display: flex; align-items: center; justify-content: space-between; gap: .75rem;
    width: 100%;
    margin-top: auto;
    padding-top: .7rem;
    border-top: 1px solid rgba(255, 255, 255, .28);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    color: rgba(255, 255, 255, .88);
  }

  /* ============ ELENCO ============ */
  .squad { background: var(--red-deep); color: #fff; }
  #track-elenco {
    grid-auto-columns: minmax(220px, 260px);
    gap: clamp(1.1rem, 2.2vw, 1.75rem);
    padding-block: .75rem 1.5rem;
  }

  .player {
    position: relative;
    min-width: 0;
    aspect-ratio: 5 / 7;
    border-radius: var(--r-card);
    background: transparent;
    perspective: 1200px;
  }
  .player__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform .75s cubic-bezier(.22, 1, .36, 1);
    border-radius: var(--r-card);
  }
  .player:hover .player__inner,
  .player:focus-within .player__inner {
    transform: rotateY(180deg);
  }

  .player__face {
    position: absolute;
    inset: 0;
    border-radius: var(--r-card);
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
  }

  /* Frente — foto + faixa número (branco) + nome (vermelho) */
  .player__face--front {
    display: flex;
    flex-direction: column;
    background: var(--red);
    border: 2px solid var(--red-deep);
    box-sizing: border-box;
  }
  .player__photo {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background: #B22D30;
  }
  .player__face--front .player__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .7s var(--ease);
  }
  .player:hover .player__face--front .player__img,
  .player:focus-within .player__face--front .player__img {
    transform: scale(1.03);
  }
  .player__foot {
    display: grid;
    grid-template-columns: clamp(2.65rem, 24%, 3.25rem) minmax(0, 1fr);
    align-items: stretch;
    flex: 0 0 auto;
    min-height: 2.65rem;
    background: var(--red);
  }
  .player__foot-num {
    display: grid;
    place-items: center;
    padding: .35rem .4rem;
    background: #fff;
    color: var(--red-deep);
    font-size: clamp(.9rem, .82rem + .35vw, 1.1rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .player__foot-name {
    display: flex;
    align-items: center;
    min-width: 0;
    padding: .35rem .5rem .35rem .55rem;
    background: var(--red);
    color: #fff;
    font-size: clamp(.58rem, .54rem + .18vw, .72rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: .03em;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* Verso — branco */
  .player__face--back {
    display: flex;
    flex-direction: column;
    background: #fff;
    color: var(--red-dark);
    transform: rotateY(180deg);
  }
  .player__back-link {
    display: flex;
    flex: 1;
    min-height: 0;
    width: 100%;
    color: inherit;
    text-decoration: none;
    border-radius: inherit;
  }
  .player__back-link:focus-visible {
    outline: 2px solid var(--red-deep);
    outline-offset: 3px;
  }
  .player__back-link:hover .player__cta,
  .player__back-link:focus-visible .player__cta {
    background: #fff;
    color: var(--red-deep);
    box-shadow: inset 0 0 0 1.5px var(--red-deep);
  }
  /* Verso — layout do Figma: número + nome, dados empilhados e "Saiba mais" */
  .player__back {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: clamp(1.1rem, 2vw, 1.5rem) clamp(1rem, 1.8vw, 1.35rem);
    overflow: hidden;
  }
  .player__back-title {
    margin: 0;
    padding-bottom: .9rem;
    border-bottom: 1px solid var(--line);
    font-size: clamp(1.05rem, .9rem + .5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: var(--red-deep);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .player__back-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    gap: .75rem;
    margin: 0;
    padding-block: 1rem;
  }
  .player__back-meta dt {
    font-size: .74rem;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    color: var(--red-deep);
  }
  .player__back-meta dd {
    margin: .1rem 0 0;
    font-size: .88rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--red-deep);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .player__cta {
    display: block;
    padding: .7rem .5rem;
    border-radius: var(--r-sm);
    background: var(--red-deep);
    color: #fff;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none;
    /* nomes longos quebram em 2 linhas equilibradas — nunca vazam do card */
    line-height: 1.25;
    text-wrap: balance;
    overflow-wrap: anywhere;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .player__cta--soon { background: var(--surface-2); color: var(--grey); }
  .player__cta--soon:hover { background: var(--surface-2); color: var(--grey); box-shadow: none; }

  .player__back-title,
  .player__back-meta,
  .player__cta {
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s var(--ease) .15s, transform .4s var(--ease) .15s,
                background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .player:hover .player__back-title, .player:focus-within .player__back-title,
  .player:hover .player__back-meta, .player:focus-within .player__back-meta,
  .player:hover .player__cta, .player:focus-within .player__cta {
    opacity: 1;
    transform: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .player__inner { transition: none; }
    .player:hover .player__inner,
    .player:focus-within .player__inner { transform: none; }
    .player__face--back {
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s ease;
    }
    .player:hover .player__face--back,
    .player:focus-within .player__face--back {
      opacity: 1;
      pointer-events: auto;
      z-index: 2;
    }
    .player__back-title,
    .player__back-meta,
    .player__cta {
      opacity: 1;
      transform: none;
      transition: none;
      animation: none;
    }
  }
  /* ============ AD / TV ============ */
  /* Banner: mesmo respiro em cima e embaixo. Só dispensa o de cima quando a seção
     anterior já termina com respiro branco (evita espaço dobrado). Seções coloridas,
     a TV Timba (sem respiro embaixo) e o topo da página recebem o espaço normalmente. */
  .ad-slot {
    padding-block: var(--section-space);
  }
  :is(.section:not(.nt-onred):not(.timba-tv), .ad-slot) + .ad-slot {
    padding-top: 0;
  }
  .ad {
    display: block;
    overflow: hidden;
    border-radius: var(--r-card);
    background: var(--surface-3);
    box-shadow: var(--shadow-1);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .ad:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
  }
  .ad img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 194 / 75;
    object-fit: cover;
    object-position: center;
  }
  .ad__video {
    display: block;
    width: 100%; height: auto;
    aspect-ratio: 194 / 75;
    object-fit: cover;
    object-position: center;
  }
  .ad__desk, .ad__mob { display: block; }
  @media (min-width: 721px) { .ad__mob { display: none; } }
  @media (max-width: 720px) {
    .ad__desk { display: none; }
    /* No celular a peça aparece inteira, na proporção original (sem corte). */
    .ad img,
    .ad__video {
      aspect-ratio: auto;
      height: auto;
      object-fit: contain;
    }
  }
  /* ============ TV TIMBA — MOSAICO (estilo galeria) + MODAL ============ */
  .timba-tv.section {
    position: relative;
    --yt-bg: #fff;
    --yt-accent: #B22D30;
    --yt-surface: rgba(0, 0, 0, .04);
    --yt-surface-2: rgba(0, 0, 0, .08);
    --yt-text: #1a1a1a;
    --yt-muted: rgba(0, 0, 0, .6);
    --yt-red: #ff0000;
    --yt-line: rgba(0, 0, 0, .12);
    background: var(--yt-bg);
    color: var(--yt-text);
    padding-block: var(--section-space) 0;
    padding-inline: 0;
    overflow: hidden;
  }
  .timba-tv__head {
    position: relative;
    z-index: 1;
    margin-bottom: var(--head-space);
  }
  .timba-tv__channel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .6rem 1rem;
  }
  .timba-tv__channel-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .25rem;
    font-size: var(--label-size);
    font-weight: 800;
    letter-spacing: var(--label-track);
    text-transform: uppercase;
    color: var(--yt-accent);
  }
  .timba-tv__channel-badge svg { width: 14px; height: 14px; }
  .timba-tv__channel-name {
    font-size: var(--step-section);
    font-weight: 500;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--yt-accent);
  }
  .timba-tv__channel-name b { font-weight: 800; }
  .timba-tv__channel-meta {
    margin-top: .2rem;
    font-size: .72rem;
    color: var(--yt-muted);
  }
  .timba-tv__channel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .5rem;
  }

  /*
   * Masonry de vídeos (referência Palmeiras). Cada célula da grade é 16:9 e os
   * blocos ocupam 1×1 ou 2×2 células: todo tile mantém a proporção do vídeo,
   * então a thumb encaixa inteira, sem corte e sem faixa. Posições vêm do JS
   * (buildTvMosaic) via grid-area inline; --cols/--rows definem a grade.
   */
  .timba-tv__mosaic {
    display: grid;
    grid-template-columns: repeat(var(--cols, 6), 1fr);
    grid-template-rows: repeat(var(--rows, 4), 1fr);
    aspect-ratio: calc(var(--cols, 6) * 16) / calc(var(--rows, 4) * 9);
    width: calc(100% * min(1, calc(var(--cols, 6) / 6)));
    margin-inline: auto;
    gap: 0;
  }

  .timba-tv__card {
    position: relative;
    min-width: 0;
    min-height: 0;
    background: #111;
  }
  .timba-tv__card-hit {
    position: absolute;
    inset: 0;
    display: block;
    overflow: hidden;
    color: #fff;
    text-align: left;
    background: #111;
  }
  .timba-tv__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity .25s var(--ease), transform .6s var(--ease);
  }
  /* fallback sd/hq: 4:3 com letterbox embutido; 4/3 ÷ 16/9 = .75 → escala 1/.75 */
  .timba-tv__img.is-letterbox { transform: scale(1.34); }
  .timba-tv__card-hit:hover .timba-tv__img { transform: scale(1.04); }
  .timba-tv__card-hit:hover .timba-tv__img.is-letterbox { transform: scale(1.39); }
  .timba-tv__card.is-previewing .timba-tv__img { opacity: 0; }

  .timba-tv__preview {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none;
  }

  .timba-tv__play {
    position: absolute;
    top: clamp(.4rem, .8vw, .7rem);
    left: clamp(.4rem, .8vw, .7rem);
    z-index: 3;
    width: clamp(20px, 1.9vw, 28px);
    height: clamp(20px, 1.9vw, 28px);
    color: #fff;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5));
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .timba-tv__card.is-big .timba-tv__play {
    width: clamp(26px, 2.5vw, 38px);
    height: clamp(26px, 2.5vw, 38px);
  }
  .timba-tv__play svg { width: 100%; height: 100%; display: block; }
  .timba-tv__card-hit:hover .timba-tv__play { transform: scale(1.08); }
  .timba-tv__card.is-previewing .timba-tv__play { opacity: 0; }

  .timba-tv__caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 3;
    padding: 1.6rem .6rem .45rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .72) 100%);
    pointer-events: none;
    transition: opacity var(--dur) var(--ease);
  }
  .timba-tv__caption strong {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: clamp(.7rem, .5rem + .55vw, 1.05rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  }
  .timba-tv__card.is-big .timba-tv__caption { padding: 3rem .9rem .7rem; }
  .timba-tv__card.is-big .timba-tv__caption strong {
    font-size: clamp(1.1rem, .7rem + 1.5vw, 2.2rem);
  }
  .timba-tv__card.is-previewing .timba-tv__caption { opacity: .25; }

  .timba-tv :focus-visible { outline-color: var(--yt-accent); }
  .timba-tv__card :focus-visible { outline-color: #fff; }

  @media (max-width: 640px) {
    .timba-tv__mosaic {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: none;
      grid-auto-rows: auto;
      aspect-ratio: auto;
      width: 100%;
    }
    .timba-tv__card {
      grid-area: auto !important;
      aspect-ratio: 16 / 9;
    }
    .timba-tv__card.is-big { grid-column: span 2 !important; }
  }

  /* Modal sobre o site */
  body.tv-modal-open { overflow: hidden; }
  .tv-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 3vw, 2rem);
    background: rgba(10, 8, 10, .72);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s var(--ease), visibility 0s linear .28s;
  }
  .tv-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .28s var(--ease);
  }
  .tv-modal__panel {
    position: relative;
    width: min(100%, 920px);
    border-radius: 16px;
    background: #141414;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
    overflow: hidden;
    transform: translateY(12px) scale(.98);
    transition: transform .28s var(--ease);
  }
  .tv-modal.is-open .tv-modal__panel { transform: none; }
  .tv-modal__close {
    position: absolute;
    top: clamp(.75rem, 2vw, 1.25rem);
    right: clamp(.75rem, 2vw, 1.25rem);
    z-index: 2;
    display: grid;
    place-items: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    backdrop-filter: blur(6px);
    transition: background-color var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .tv-modal__close svg { width: 20px; height: 20px; }
  .tv-modal__close:hover { background: rgba(0, 0, 0, .7); transform: scale(1.05); }
  .tv-modal__player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
  }
  .tv-modal__mount,
  .tv-modal__player iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: 0;
  }
  .tv-modal__info {
    padding: 1rem 1.15rem 1.15rem;
    color: #fff;
  }
  .tv-modal__title {
    margin: 0;
    font-size: clamp(1rem, .92rem + .3vw, 1.2rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: .03em;
    text-transform: uppercase;
    line-height: 1.2;
  }
  .tv-modal__meta {
    margin: .35rem 0 0;
    font-size: .78rem;
    color: rgba(255, 255, 255, .7);
  }
  /* ============ FLICKR — ÁLBUNS ============ */
  .flickr {
    position: relative;
    --fl-accent: var(--red-deep);
    --fl-muted: var(--fl-accent);
    background: #fff;
    color: var(--ink);
    padding-block: var(--section-space);
    overflow: hidden;
  }

  .flickr__channel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: var(--head-space);
  }
  .flickr__channel-brand {
    display: flex;
    align-items: center;
    min-width: 0;
  }
  .flickr__channel-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    margin-bottom: .35rem;
    font-size: var(--label-size);
    font-weight: 800;
    letter-spacing: var(--label-track);
    text-transform: uppercase;
    color: var(--fl-accent);
  }
  .flickr__channel-badge svg { width: 14px; height: 14px; opacity: .95; }
  .flickr__channel-name {
    font-size: var(--step-section);
    font-weight: 500;
    font-style: italic;
    line-height: 1.05;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--fl-accent);
  }
  .flickr__channel-name b { font-weight: 800; }
  .flickr__channel-meta {
    margin-top: .35rem;
    max-width: 42ch;
    font-size: var(--step--1);
    line-height: 1.45;
    color: var(--fl-muted);
  }
  .flickr__channel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
  }

  .flickr__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }
  .flickr__album {
    position: relative;
    display: block;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--r-card);
    background: #e9ebf0;
    color: #fff;
  }
  .flickr__album img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s var(--ease);
  }
  .flickr__album:hover img { transform: scale(1.04); }
  .flickr__album-caption {
    position: absolute;
    inset: auto 0 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 2.4rem .75rem .7rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .72) 70%);
    pointer-events: none;
  }
  .flickr__album-caption strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: clamp(.72rem, .65rem + .3vw, .9rem);
    font-weight: 800;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: .02em;
    text-transform: uppercase;
  }
  .flickr__album-caption span {
    font-size: .68rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .88);
  }
  .flickr :focus-visible { outline-color: var(--fl-accent); }
  @media (min-width: 720px) {
    .flickr__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .65rem; }
  }
  @media (min-width: 1024px) {
    .flickr__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .75rem; }
  }

  /* ============ FOOTER ============ */
  .footer { background: var(--red); color: #fff; }
  .footer__sponsors {
    padding-block: clamp(2rem, 4vw, 3.25rem);
    border-bottom: 1px solid var(--line-light);
  }
  .footer__sponsors-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem) clamp(.75rem, 1.5vw, 1.25rem);
    align-items: center;
    justify-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .footer__sponsors-grid li {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(36px, 4vw, 52px);
    padding: .35rem;
  }
  .footer__sponsors-grid img {
    width: 100%;
    height: auto;
    max-width: 120px;
    max-height: clamp(32px, 3.6vw, 50px);
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .95;
  }
  @media (max-width: 720px) {
    .footer__sponsors-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.35rem 1.5rem;
    }
    .footer__sponsors-grid li {
      min-height: 56px;
      padding: .5rem .75rem;
    }
    .footer__sponsors-grid img {
      max-height: 40px;
    }
  }
  .footer__cols {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.75rem, 3.5vw, 2.75rem);
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line-light);
  }
  @media (min-width: 1101px) {
    .footer__cols { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  }
  .footer__col-title {
    margin-bottom: 1rem;
    font-size: var(--label-size); font-weight: 800;
    letter-spacing: var(--label-track); text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
  }
  .footer__link {
    display: inline-block;
    padding-block: .4rem;
    font-size: .9rem; font-weight: 600;
    line-height: 1.35;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
  }
  .footer__link:hover { transform: translateX(4px); opacity: .75; }

  .footer__mid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line-light);
  }
  .sede__title {
    margin-bottom: .5rem;
    font-size: var(--label-size); font-weight: 800;
    letter-spacing: var(--label-track); text-transform: uppercase;
  }
  .sede__addr {
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
  }

  .footer__bottom {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1.25rem;
    padding-block: clamp(1.5rem, 3vw, 2rem);
  }
  .footer__ctas {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
  }
  .socials {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
  }
  .social {
    display: grid; place-items: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
                transform var(--dur) var(--ease);
  }
  .social svg {
    width: 18px;
    height: 18px;
    display: block;
  }
  .social:hover {
    background: #fff;
    color: var(--red);
    transform: translateY(-3px) scale(1.06);
  }
  .footer__legal {
    font-size: .82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, .75);
  }

  @media (max-width: 720px) {
    .footer__cols {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.85rem 1.25rem;
    }
    .footer__col-title {
      margin-bottom: .65rem;
    }
    .footer__link {
      font-size: 1rem;
      padding-block: .45rem;
    }
    .footer__mid {
      gap: 1.75rem;
      padding-block: 2rem;
    }
    .sede__addr {
      font-size: .95rem;
      max-width: 36ch;
    }
    .footer__bottom {
      flex-direction: column;
      align-items: stretch;
      gap: 1.35rem;
    }
    .socials {
      justify-content: flex-start;
      gap: .7rem;
    }
    .social {
      width: 48px;
      height: 48px;
    }
    .social svg {
      width: 20px;
      height: 20px;
    }
    .footer__ctas {
      width: 100%;
    }
    .footer__ctas .btn {
      flex: 1 1 auto;
      min-width: 0;
    }
    .footer__legal {
      font-size: .8rem;
      text-align: left;
    }
  }

  /* ============ SCROLL REVEAL ============ */
  /* Scroll-driven: roda no compositor e não depende de classe via JS — o React
     controla className, então qualquer classe imperativa seria apagada no re-render.
     Sem suporte, o conteúdo simplesmente já nasce visível. */
  .reveal { opacity: 1; transform: none; }

  @supports (animation-timeline: view()) {
    .reveal {
      animation: reveal-in both linear;
      animation-timeline: view();
      animation-range: entry 0% cover 26%;
    }
  }
  @keyframes reveal-in {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: .001ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: .001ms !important;
    }
    .reveal { animation: none; opacity: 1; transform: none; }
    .hero__slide, .hero__slide.is-active { transition: none; }
    .carousel__track { scroll-behavior: auto; }
    /* o colapso volta a ser discreto, via .is-stuck, sem seguir o scroll */
    .header__top, .header__actions, .header__sponsors { animation: none; }
  }

  /* ============ ASSINATURA CØRE (rodapé) ============
     Entrada: o Ø rola como uma bola até o lugar e quica; C, R e E sobem em
     sequência; uma linha de "scanner" atravessa a marca. Hover: a bola gira,
     as letras fazem uma onda. Depois, de tempos em tempos, uma embaixadinha. */
  .core-credit {
    border-top: 1px solid rgba(255, 255, 255, .16);
    background: rgba(60, 0, 8, .14);
  }
  .core-credit .shell { display: flex; justify-content: center; }
  .core-sign {
    display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: .55rem 1rem;
    padding-block: 1.15rem;
    color: #fff; text-decoration: none;
  }
  .core-sign:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 6px; }
  .core-sign__label, .core-sign__tag {
    font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255, 255, 255, .72);
    transition: color var(--dur) var(--ease);
  }
  .core-sign__tag { display: inline-flex; align-items: center; gap: .45rem; }
  .core-sign__arrow { display: inline-block; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
  .core-sign:hover .core-sign__label, .core-sign:hover .core-sign__tag,
  .core-sign:focus-visible .core-sign__tag { color: #fff; }
  .core-sign:hover .core-sign__arrow, .core-sign:focus-visible .core-sign__arrow { transform: translateX(5px); }

  .core-sign__logo { display: block; height: 28px; width: auto; overflow: visible; fill: #fff; }
  .core-sign__l, .core-sign__fx { transform-box: fill-box; transform-origin: 50% 50%; }
  .core-sign__scan { transform: translateX(0); opacity: 0; }

  /* Antes de entrar na tela (só com JS; sem JS a marca já aparece pronta) */
  .core-sign.is-armed .core-sign__l,
  .core-sign.is-armed .core-sign__label,
  .core-sign.is-armed .core-sign__tag { opacity: 0; }

  /* Entrada */
  .core-sign.is-in .core-sign__l--o { animation: core-roll 1.05s cubic-bezier(.22, .8, .3, 1) both; }
  .core-sign.is-in .core-sign__l--c { animation: core-rise .55s cubic-bezier(.2, .9, .3, 1.25) .55s both; }
  .core-sign.is-in .core-sign__l--r { animation: core-rise .55s cubic-bezier(.2, .9, .3, 1.25) .68s both; }
  .core-sign.is-in .core-sign__l--e { animation: core-rise .55s cubic-bezier(.2, .9, .3, 1.25) .81s both; }
  .core-sign.is-in .core-sign__label { animation: core-fade .5s var(--ease) .2s both; }
  .core-sign.is-in .core-sign__tag { animation: core-fade .5s var(--ease) 1.15s both; }
  .core-sign.is-in .core-sign__scan:not(.core-sign__scan--hover) { animation: core-scan 1s cubic-bezier(.45, 0, .2, 1) 1.1s both; }
  /* Embaixadinha de tempos em tempos */
  .core-sign.is-in .core-sign__l--o .core-sign__fx { animation: core-juggle 9s cubic-bezier(.3, 1.3, .5, 1) 4s infinite; }

  /* Hover */
  .core-sign:hover .core-sign__l--o .core-sign__fx,
  .core-sign:focus-visible .core-sign__l--o .core-sign__fx { animation: core-spin .8s cubic-bezier(.3, 1.35, .5, 1); }
  .core-sign:hover .core-sign__l--c .core-sign__fx { animation: core-wave .5s var(--ease); }
  .core-sign:hover .core-sign__l--r .core-sign__fx { animation: core-wave .5s var(--ease) .09s; }
  .core-sign:hover .core-sign__l--e .core-sign__fx { animation: core-wave .5s var(--ease) .18s; }
  .core-sign:hover .core-sign__scan--hover { animation: core-scan .9s cubic-bezier(.45, 0, .2, 1) .45s; }

  @keyframes core-roll {
    0%   { opacity: 0; transform: translateX(-230%) rotate(-760deg); }
    15%  { opacity: 1; }
    68%  { transform: translateX(7%) rotate(18deg); }
    80%  { transform: translateX(0) rotate(0) scale(1.14, .84); }
    90%  { transform: translateY(-14%) scale(.95, 1.06); }
    100% { opacity: 1; transform: none; }
  }
  @keyframes core-rise {
    from { opacity: 0; transform: translateY(55%); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes core-fade {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: none; }
  }
  @keyframes core-scan {
    0%   { opacity: 1; transform: translateX(0); }
    100% { opacity: 1; transform: translateX(1560px); }
  }
  @keyframes core-juggle {
    0%, 86% { transform: none; }
    90%     { transform: translateY(-22%) rotate(200deg); }
    94%     { transform: translateY(0) rotate(360deg) scale(1.1, .9); }
    97%     { transform: scale(.97, 1.03); }
    100%    { transform: none; }
  }
  @keyframes core-spin {
    0%   { transform: none; }
    45%  { transform: translateY(-16%) rotate(220deg); }
    100% { transform: rotate(360deg); }
  }
  @keyframes core-wave {
    0%, 100% { transform: none; }
    45%      { transform: translateY(-16%); }
  }
  @media (max-width: 560px) {
    .core-sign { gap: .5rem .8rem; }
    .core-sign__logo { height: 24px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .core-sign.is-armed .core-sign__l,
    .core-sign.is-armed .core-sign__label,
    .core-sign.is-armed .core-sign__tag { opacity: 1; }
    .core-sign *, .core-sign:hover * { animation: none !important; }
  }

  /* Rodapé: títulos das colunas em 700 (1px maior), links em 400 */
  .footer .footer__col-title { font-weight: 700; font-size: calc(var(--label-size) + 1px); }
  .footer .footer__link { font-weight: 400; }

  /* Rodapé: assinatura "Clube Náutico Capibaribe" em tom sobre tom, acima das marcas */
  .footer__brand {
    padding-top: clamp(2.25rem, 5vw, 4rem);
  }
  .footer__wordmark { display: block; width: min(50%, 17rem); transition: opacity var(--dur) var(--ease); }
  .footer__wordmark img { display: block; width: 100%; height: auto; }
  .footer__wordmark:hover { opacity: .85; }
  .footer__brand::after {
    content: "";
    display: block;
    height: 3px;
    margin-top: clamp(.5rem, 1vw, .75rem);
    border-radius: 2px;
    background: #fff;
  }
  @media (max-width: 720px) {
    .footer__brand { padding-top: 2rem; }
  }

  /* Rodapé: redes sociais à direita da assinatura (abaixo no celular); ano/créditos na linha do menu */
  .footer__brand-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem 2rem; }
  .footer__socials { flex-wrap: wrap; justify-content: flex-end; }
  .footer .footer__cols { border-bottom: 0; padding-bottom: 1.25rem; }
  .footer .footer__bottom { justify-content: flex-end; padding-top: 0; }
  @media (max-width: 720px) {
    .footer__brand-row { flex-direction: column; }
    .footer__socials { justify-content: flex-start; }
    .footer .footer__bottom { justify-content: flex-start; }
  }

  /* ============ HOME — HUB DE MÍDIA (no lugar do Flickr) ============ */
  .hub-home__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 2s var(--ease) infinite; }
  .hub-home__meta a { font-weight: 700; color: var(--red-deep); text-decoration: underline; text-underline-offset: 2px; }
  .hub-home__lead { grid-column: span 2; grid-row: span 2; }
  .hub-home__lead .flickr__album-caption { padding: 4rem 1.1rem 1.05rem; }
  .hub-home__lead .flickr__album-caption strong { font-size: clamp(1rem, .8rem + .9vw, 1.6rem); }
  .hub-home__lead .flickr__album-caption span { font-size: .78rem; }
  .hub-home__badge {
    position: absolute; top: .7rem; left: .7rem; z-index: 1;
    padding: .28rem .6rem; border-radius: 999px;
    background: var(--red); color: #fff;
    font-size: .6rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  }
  .hub-home .flickr__album:not(:has(img)) { background: linear-gradient(135deg, var(--red-deep), #3a070d); }
  @media (min-width: 1024px) {
    .hub-home__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  }
.footer__email {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .9rem; font-weight: 600; color: #fff; text-decoration: none;
}
.footer__email svg { width: 18px; height: 18px; flex: none; }
.footer__email:hover { text-decoration: underline; text-underline-offset: 3px; }
