/* =========================================================
   CF FOUR RHINOS · CAMADA DE MOTION (v2)
   Base: skills emil-design-eng + choreograph (Emil Kowalski)
   - ease-out forte em entradas; ease-in-out em movimento de tela
   - só transform / opacity / filter / clip-path
   - :active com scale(.97); hover só com mouse
   - uma entrada por container; stagger não-uniforme
   - prefers-reduced-motion: colapsa movimento, mantém opacidade
   ========================================================= */

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* =========================================================
   CORES DO BADGE POR LADO
   Moldura esquerda --b-l, direita --b-r (propriedades registradas
   para a cor transicionar). Sem lado: meio a meio.
   ========================================================= */
@property --b-l { syntax: "<color>"; inherits: true; initial-value: #8EFD37; }
@property --b-r { syntax: "<color>"; inherits: true; initial-value: #EEE207; }
:root { --brand-g: #8EFD37; --brand-y: #EEE207; }
body { --b-l: var(--brand-g); --b-r: var(--brand-y); transition: --b-l .45s ease, --b-r .45s ease; }
body[data-side="cross"] { --b-r: var(--brand-g); }
body[data-side="hyrox"] { --b-l: var(--brand-y); }
.badge { display: block; overflow: visible; }
.badge--nav { width: 40px; height: 43px; }
.badge--hero { --b-bg: #0A0B0A; width: clamp(84px, 9vw, 124px); height: auto; aspect-ratio: 262 / 279; filter: drop-shadow(0 10px 26px rgba(0,0,0,.7)); animation: float 5s ease-in-out infinite; }

/* frase do conceito: força = verde, manada = amarelo */
.t-cross { color: var(--lime); }
.t-hyrox { color: var(--gold); }

/* =========================================================
   ABERTURA · PORTÃO
   0–600ms      rinoceronte surge (blur → nítido)
   650ms        as duas metades da moldura aparecem juntas
   700–2300ms   carregam em sincronia, de baixo para cima (verde | amarelo)
   2300–2950ms  a logo cresce até tocar as duas bordas da tela (ease-in-out)
   3000ms       o portão abre ao meio (1s, ease-in-out); o hero entra junto
   ========================================================= */
.intro { position: fixed; inset: 0; z-index: 200; --lw: min(56vmin, 420px); --s: 3; }
.no-intro .intro, .intro.is-gone { display: none; }

.intro__door { position: absolute; top: 0; bottom: 0; width: 50%; overflow: hidden; background: #050605; transition: transform 1s var(--ease-io); }
.intro__door--l { left: 0; }
.intro__door--r { left: 50%; }
.intro.is-open .intro__door--l { transform: translateX(-100%); }
.intro.is-open .intro__door--r { transform: translateX(100%); }

/* a logo fica centrada na junta: borda direita da folha esquerda = borda esquerda da folha direita */
.ilogo {
  position: absolute; top: 50%; width: var(--lw); aspect-ratio: 262 / 279;
  --sc: 1; transform: translate(-50%, -50%) scale(var(--sc));
  transition: transform .65s var(--ease-io);
}
.intro__door--l .ilogo { left: 100%; }
.intro__door--r .ilogo { left: 0; }
.intro.is-expand .ilogo { --sc: var(--s); }
.intro.is-open .ilogo { --sc: calc(var(--s) * 1.25); transition: transform 1s var(--ease-io); }

.ilogo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ilogo__rhino { --b-l: transparent; --b-r: transparent; --b-h: #FCFCFC; opacity: 0; }
.ilogo__track { --b-l: rgba(255,255,255,.08); --b-r: rgba(255,255,255,.08); --b-h: transparent; opacity: 0; transition: opacity .35s ease; }
.ilogo__fill  { --b-l: var(--brand-g); --b-r: var(--brand-y); --b-h: transparent; clip-path: inset(100% 0 0 0); filter: drop-shadow(0 0 14px rgba(160, 240, 30, .45)); }
.intro.play .ilogo__rhino { animation: rhinoIn .6s var(--ease) both; }
.intro.is-load .ilogo__track { opacity: 1; }

.intro__foot {
  position: absolute; left: 0; right: 0; bottom: 30px; text-align: center;
  font: 700 13px/1 var(--f-cond); letter-spacing: .26em; text-transform: uppercase; color: #6E746C;
  opacity: 0; transition: opacity .3s ease;
}
.intro__pct b { font-weight: 700; font-variant-numeric: tabular-nums; background: linear-gradient(90deg, var(--brand-g) 50%, var(--brand-y) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro__skip {
  position: absolute; top: 22px; right: var(--gutter);
  border: 1px solid var(--line-2); background: transparent; color: #BFC4BC; border-radius: 999px;
  padding: 10px 16px; font: 700 12px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase;
  opacity: 0; transition: opacity .3s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease);
}
.intro__skip:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .intro__skip:hover { border-color: var(--brand-g); color: var(--brand-g); } }
.intro.is-load .intro__foot, .intro.play .intro__skip { opacity: 1; }
.intro.is-expand .intro__foot, .intro.is-expand .intro__skip { opacity: 0; }

@keyframes rhinoIn { from { opacity: 0; transform: scale(.94); filter: blur(12px); } to { opacity: 1; transform: none; filter: blur(0); } }

.has-intro:not(.is-ready) body { overflow: hidden; }

/* =========================================================
   ENTRADA DO HERO
   Lead: títulos (CROSS 0 · FIT 90 · HY 140 · ROX 210ms)
   Support: kicker 320 · sub 400 · link 460 · barra 500ms
   Decoração: fundo desacelera de scale 1.16 (1.6s)
   ========================================================= */
.hero__title { display: block; }
.hero__title .ln { display: block; }
.hero__title .ln { transition: opacity .9s var(--ease), transform 1s var(--ease), filter .9s var(--ease), color .6s var(--ease), text-shadow .6s; transition-delay: var(--d), var(--d), var(--d), 0s, 0s; }
.has-intro:not(.is-ready) .hero__title .ln { opacity: 0; transform: translateY(38%); filter: blur(14px); }

.hero__k { transition: opacity .7s var(--ease) .32s, transform .8s var(--ease) .32s; }
.hero__sub { transition: opacity .7s var(--ease) .4s, transform .8s var(--ease) .4s; }
.hero__go { transition: opacity .7s var(--ease) .46s, transform .8s var(--ease) .46s; }
.hero__bar { transition: opacity .7s var(--ease) .5s, transform .8s var(--ease) .5s; }
.has-intro:not(.is-ready) .hero__k,
.has-intro:not(.is-ready) .hero__sub,
.has-intro:not(.is-ready) .hero__go { opacity: 0; transform: translateY(10px); }
.has-intro:not(.is-ready) .hero__bar { opacity: 0; transform: translateY(100%); }

.hero__bg { transition: transform 1.6s var(--ease), filter .9s ease; }
.has-intro:not(.is-ready) .hero__bg { transform: scale(1.16); }
.hero__center { transition: opacity .6s ease .6s; }
.has-intro:not(.is-ready) .hero__center { opacity: 0; }

/* =========================================================
   MANIFESTO (linhas que derivam com o scroll)
   ========================================================= */
.manifesto { position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(70px, 9vw, 110px); overflow: hidden; background: var(--ink); border-bottom: 1px solid var(--line); }
.manifesto__row { margin: 0; display: flex; gap: .35em; white-space: nowrap; width: max-content; font: 400 clamp(64px, 11vw, 176px)/.95 var(--f-display); text-transform: uppercase; will-change: transform; }
.manifesto__row span { color: transparent; -webkit-text-stroke: 1.5px rgba(242, 244, 240, .3); }
.manifesto__row b { font-weight: 400; -webkit-text-stroke: 0; }
.manifesto__row i { font-style: normal; font-size: .4em; align-self: center; opacity: .55; }
.manifesto__row--a b { color: var(--lime); }
.manifesto__row--a i { color: var(--lime); }
.manifesto__row--b b { color: var(--gold); }
.manifesto__row--b i { color: var(--gold); }
.manifesto__copy { display: grid; grid-template-columns: 1.3fr minmax(260px, 400px); gap: clamp(36px, 6vw, 90px); align-items: center; margin-top: clamp(40px, 5vw, 70px); }
.manifesto__copy p { margin: 0 0 28px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: #D4D8D1; max-width: 46ch; }
.manifesto__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.manifesto__photo { margin: 0; border-radius: var(--r); aspect-ratio: 3 / 4; justify-self: end; width: 100%; --rd: 120ms; }
.manifesto__photo figcaption, .split__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 2;
  padding: 8px 12px; border-radius: 999px; background: rgba(10, 11, 10, .78); backdrop-filter: blur(6px);
  font: 700 12px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--acc);
}
.split__img img { object-position: center 30%; }
.manifesto__facts li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 14px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; }
.manifesto__facts li:last-child { border-color: var(--lime); color: var(--lime); }

/* =========================================================
   REVEAL: fade + 18px + blur, com delays que encolhem
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .8s var(--ease), transform .9s var(--ease), filter .8s var(--ease); transition-delay: var(--rd, 0ms); }
.reveal.in { opacity: 1; transform: none; filter: none; }
.feats .reveal:nth-child(1) { --rd: 0ms; transition-delay: 0ms; }
.feats .reveal:nth-child(2) { --rd: 90ms; transition-delay: 90ms; }
.feats .reveal:nth-child(3) { --rd: 160ms; transition-delay: 160ms; }
.feats .reveal:nth-child(4) { --rd: 210ms; transition-delay: 210ms; }

/* imagens: revelação por clip-path (de cima para baixo) */
.clip { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-io) var(--cd, 0ms); }
.clip.in { clip-path: inset(0 0 0 0); }
.clip img { transform: scale(1.15); transition: transform 1.6s var(--ease) var(--cd, 0ms), filter .8s var(--ease); }
.clip.in img { transform: scale(1); }
.masonry > :nth-child(2) { --cd: 90ms; }
.masonry > :nth-child(3) { --cd: 160ms; }
.masonry > :nth-child(4) { --cd: 210ms; }
.masonry > :nth-child(5) { --cd: 250ms; }
.masonry > :nth-child(6) { --cd: 280ms; }
.masonry > :nth-child(7) { --cd: 300ms; }
.masonry > :nth-child(8) { --cd: 315ms; }
.masonry > :nth-child(9) { --cd: 325ms; }
.masonry > :nth-child(10) { --cd: 330ms; }
@media (hover: hover) and (pointer: fine) { .duo.clip.in:hover img { transform: scale(1.04); } }

/* =========================================================
   TABS DE PERÍODO: cópia da lista recortada por clip-path
   (transição de cor perfeita entre abas)
   ========================================================= */
.period { position: relative; }
.period__hl { position: absolute !important; inset: 0; margin: 0 !important; pointer-events: none; background: var(--lime) !important; border-color: var(--lime) !important; transition: clip-path .32s var(--ease); }
.period__hl button { color: #071003 !important; }
.period__hl button em { background: #071003 !important; color: var(--lime) !important; }

/* preço e detalhe da estação: crossfade com blur leve */
.plan__price, .plan__save { transition: opacity .22s var(--ease), filter .22s var(--ease), transform .22s var(--ease); }
.plan.swap .plan__price, .plan.swap .plan__save { opacity: 0; filter: blur(4px); transform: translateY(6px); transition-duration: .12s; }
.plan__flag--soft { background: #140E00; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.race__detail > * { transition: opacity .2s var(--ease), filter .2s var(--ease), transform .2s var(--ease); }
.race__detail.swap > * { opacity: 0; filter: blur(3px); transform: translateY(4px); transition-duration: .1s; }

/* =========================================================
   TOQUE E HOVER
   ========================================================= */
.btn { transition: transform .16s var(--ease), box-shadow .3s ease, background-color .6s ease, color .2s ease; }
.btn:active, .chip:active, .day:active:not(:disabled), .seg--st:active, .period button:active,
.ig:active, .nav__burger:active, .contacts a:active, .lightbox button:active, .wa-float:active { transform: scale(.97); }
.tile:active { transform: scale(.985); }
.tile { transition: transform .16s var(--ease); }

@media (hover: none), (pointer: coarse) {
  .btn--acc:hover, .btn--light:hover, .plan:hover, .seg--st:hover, .tile--ig:hover, .wa-float:hover { transform: none; }
  .duo:hover img { filter: grayscale(1) contrast(1.15) brightness(.85); }
  .duo:hover::after { opacity: .55; }
  .feat:hover::after { width: 0; }
  .hero__pane:hover { flex-grow: 1; }
}

/* nav: some ao descer, volta ao subir */
.nav { transition: transform .35s var(--ease), background-color .4s ease, padding .4s var(--ease); }
.nav.is-hidden { transform: translateY(-110%); }

/* lightbox e menu */
.lightbox[open] { animation: fadeIn .28s var(--ease); }
.lightbox[open] img { animation: lbImg .34s var(--ease); }
.mmenu:not([hidden]) { animation: fadeIn .24s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes lbImg { from { opacity: 0; transform: scale(.96); filter: blur(6px); } }

/* crédito de portfólio */
.foot__copy { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot__copy p { margin: 0; }
.foot__credit a { color: #BFC4BC; text-decoration: none; border-bottom: 1px solid var(--line-2); transition: color .2s ease, border-color .2s ease; }
.foot__credit a:hover { color: var(--acc); border-color: var(--acc); }

@media (max-width: 760px) {
  .manifesto__copy { grid-template-columns: 1fr; }
  .manifesto__photo { aspect-ratio: 4 / 5; justify-self: stretch; }
  .manifesto__row span { -webkit-text-stroke-width: 1px; }
  .intro__foot { font-size: 11px; letter-spacing: .14em; }
  .hero__motto { font-size: 18px; }
}

/* captura estática: tudo no estado final */
.static *, .static *::before, .static *::after { transition-duration: 0s !important; transition-delay: 0s !important; }

/* movimento reduzido: sem deslocamento, mantém opacidade */
@media (prefers-reduced-motion: reduce) {
  .ilogo__rhino, .ilogo__track { opacity: 1 !important; animation: none !important; }
  .clip { clip-path: none; }
  .clip img, .reveal, .has-intro:not(.is-ready) .hero__title .ln { transform: none !important; filter: none !important; }
  .manifesto__row { transform: none !important; }
}

/* formulário: WhatsApp + CPF */
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field__err { display: none; color: #ff7a70; font: 600 12px/1.2 var(--f-body); }
.field.has-err .field__err { display: block; }
.field.has-err input { border-color: #ff5a4f; }
@media (max-width: 420px) { .field-row { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .hero__motto span { display: block; } .hero__motto { line-height: 1.15; } }

/* =========================================================
   V3
   ========================================================= */
:root { --mark: #07E2EE; --mark-glow: rgba(7, 226, 238, .5); --team: #07E2EE; }

/* ---------- barra do topo: sempre visível, alinhada, marcação ciano ---------- */
.nav { padding: 16px var(--gutter); align-items: center; }
.nav.is-solid { padding-block: 12px; }
.nav.is-hidden { transform: none; }
.nav__logo { align-items: center; line-height: 1; }
.badge--nav { width: 34px; height: 36px; flex: none; }
.nav__links a::after { background: var(--mark); box-shadow: 0 0 10px var(--mark-glow); }
.nav__links a.is-active { color: var(--mark); }
.progress span { background: var(--mark); box-shadow: 0 0 12px var(--mark-glow); }

/* ---------- hero neutro: nenhum lado aceso até hover/toque ---------- */
.hero__title { color: transparent; text-shadow: none; }

/* ---------- aula grátis: a seção assume a cor da modalidade ---------- */
#agenda[data-mod="cross"] { --acc: var(--lime); --acc-glow: var(--lime-glow); --on-acc: #071003; }
#agenda[data-mod="hyrox"] { --acc: var(--gold); --acc-glow: var(--gold-glow); --on-acc: #140E00; }
#agenda[data-mod="team"]  { --acc: var(--team); --acc-glow: rgba(7, 226, 238, .45); --on-acc: #00181A; }
#agenda .kicker, #agenda mark, #agenda .booker__label b, #agenda .chip, #agenda .day, #agenda .btn--acc, #agenda .booker {
  transition: color .35s ease, background-color .35s ease, border-color .35s ease, box-shadow .5s ease, transform .16s var(--ease);
}
.week__table i.t1, .dot--t { background: var(--team); }

/* ---------- planos: valor por aula ---------- */
.plan-hook { margin: -6px 0 30px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 20px); color: #D4D8D1; }
.plan-hook b { color: #fff; }
.plan-hook strong { font: 400 1.35em/1 var(--f-display); color: var(--lime); white-space: nowrap; }
.plan__class {
  display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 10px;
  padding: 14px 16px; border-radius: 12px; background: rgba(140, 245, 59, .07); border: 1px dashed rgba(140, 245, 59, .35);
  transition: opacity .22s var(--ease), filter .22s var(--ease), transform .22s var(--ease);
}
.plan__class-v { font: 400 32px/1 var(--f-display); color: var(--lime); }
.plan__class-l { font: 700 14px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan__class-off { grid-column: 1 / -1; margin-top: 8px; font: 700 13px/1.2 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; color: #C9F79F; }
.plan--hot .plan__class { background: rgba(140, 245, 59, .14); border-style: solid; }
.plan.swap .plan__class { opacity: 0; filter: blur(4px); transform: translateY(6px); transition-duration: .12s; }

/* ---------- a manada: pilha de fotos ---------- */
.stack { position: relative; width: 100%; max-width: 400px; aspect-ratio: 3 / 4; justify-self: end; margin: 30px 34px 0 0; }
.stack__card {
  position: absolute; inset: 0; margin: 0; border-radius: var(--r); overflow: hidden;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .85), 0 0 0 1px var(--line);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-io), filter .5s ease, opacity .5s ease;
}
.stack__card[data-pos="0"] { z-index: 3; transform: none; }
.stack__card[data-pos="1"] { z-index: 2; transform: translate(18px, -16px) rotate(4deg) scale(.95); filter: brightness(.65); }
.stack__card[data-pos="2"] { z-index: 1; transform: translate(34px, -30px) rotate(8deg) scale(.9); filter: brightness(.45); }
.stack__card[data-pos="3"], .stack__card[data-pos="4"], .stack__card[data-pos="5"] { z-index: 0; transform: translate(40px, -36px) rotate(10deg) scale(.86); opacity: 0; }
.stack__card.is-leaving { z-index: 4; transform: translate(-78%, 14px) rotate(-12deg); transition: transform .42s var(--ease-io); }
.stack.is-paused .stack__card[data-pos="0"] img { filter: none; transform: scale(1.03); }
.stack.is-paused .stack__card[data-pos="0"]::after { opacity: 0; }
.stack__cap {
  position: absolute; left: 14px; bottom: 14px; z-index: 5;
  padding: 8px 12px; border-radius: 999px; background: rgba(10, 11, 10, .78); backdrop-filter: blur(6px);
  font: 700 12px/1 var(--f-cond); letter-spacing: .2em; text-transform: uppercase; color: var(--lime);
}

/* ---------- vitrine do Instagram ---------- */
.igwall { margin-top: clamp(56px, 7vw, 90px); padding-top: clamp(40px, 5vw, 60px); border-top: 1px solid var(--line); }
.igwall__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.igwall__head .h3 { margin: 0; }
.igwall__head p { margin: 0; color: var(--muted); }
.igwall__head p b { color: var(--text); }
.igwall__posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.igwall__posts .instagram-media { margin: 0 !important; min-width: 0 !important; max-width: none !important; }
.igwall__profiles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.igp { display: block; text-decoration: none; border-radius: 20px; background: var(--ink); border: 1px solid var(--line-2); padding: 18px; transition: border-color .3s ease, transform .16s var(--ease); }
.igp:active { transform: scale(.985); }
.igp__top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.igp__av { --b-bg: #0A0B0A; width: 50px; height: 53px; flex: none; }
.igp__id { display: grid; gap: 4px; flex: 1; min-width: 0; }
.igp__id b { font: 700 20px/1 var(--f-cond); letter-spacing: .03em; color: #fff; }
.igp__id small { color: var(--muted); font-size: 13px; }
.igp__btn { padding: 10px 18px; border-radius: 999px; font: 700 13px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; }
.igp--c .igp__btn { background: var(--lime); color: #071003; }
.igp--h .igp__btn { background: var(--gold); color: #140E00; }
.igp__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 12px; overflow: hidden; }
.igp__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.8); transition: filter .4s ease; }
@media (hover: hover) and (pointer: fine) {
  .igp--c:hover { border-color: var(--lime); }
  .igp--h:hover { border-color: var(--gold); }
  .igp:hover .igp__grid img { filter: none; }
}

@media (max-width: 760px) {
  .stack { max-width: none; aspect-ratio: 4 / 5; margin: 26px 24px 0 0; justify-self: stretch; }
  .igwall__profiles, .igwall__posts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .stack__card { transition: opacity .3s ease !important; }
}

/* =========================================================
   V4
   ========================================================= */

/* ---------- abertura: o rinoceronte passa por você e some antes do portão ---------- */
.intro.is-vanish .ilogo__rhino { animation: rhinoOut .45s var(--ease) forwards; }
@keyframes rhinoOut {
  from { opacity: 1; transform: none; filter: blur(0); }
  to   { opacity: 0; transform: scale(1.35); filter: blur(10px); }
}

/* ---------- grade da semana: destaca a modalidade escolhida ---------- */
.week__table i, .week__legend .dot { transition: opacity .35s ease, filter .35s ease; }
#agenda[data-mod="cross"] .week__table i:is(.h1, .t1),
#agenda[data-mod="hyrox"] .week__table i:is(.c1, .t1),
#agenda[data-mod="team"]  .week__table i:is(.c1, .h1),
#agenda[data-mod="cross"] .week__legend :is(.dot--h, .dot--t),
#agenda[data-mod="hyrox"] .week__legend :is(.dot--c, .dot--t),
#agenda[data-mod="team"]  .week__legend :is(.dot--c, .dot--h) { opacity: .16; filter: grayscale(.6); }

/* ---------- galeria: espaços reservados para fotos ---------- */
.tile--ph {
  display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  border-radius: 12px; border: 1.5px dashed; cursor: default;
}
.tile--ph svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; margin-bottom: 4px; }
.tile--ph b { font: 700 16px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; }
.tile--ph small { font: 600 12px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.tile--ph-c { color: var(--lime); border-color: rgba(140, 245, 59, .4); background: repeating-linear-gradient(135deg, rgba(140, 245, 59, .06) 0 12px, transparent 12px 24px), #0C1109; }
.tile--ph-h { color: var(--gold); border-color: rgba(255, 198, 26, .4); background: repeating-linear-gradient(135deg, rgba(255, 198, 26, .06) 0 12px, transparent 12px 24px), #11100A; }
.tile--ph:active { transform: none; }

/* ---------- Instagram: avatar do Hyrox com o escudo ---------- */
.igp__av--escudo { width: 52px; height: 52px; object-fit: contain; flex: none; }

/* ---------- planos: nada selecionado até o clique; seleção em azul ---------- */
.plan { cursor: pointer; }
.plan.is-picked {
  border-color: var(--mark);
  box-shadow: 0 0 0 1px var(--mark), 0 30px 80px -30px var(--mark-glow);
  background: linear-gradient(180deg, rgba(7, 226, 238, .07), var(--ink) 50%);
  transform: translateY(-6px);
}
.plan__cta { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
@media (hover: hover) and (pointer: fine) { .plan:not(.is-picked) .plan__cta:hover { box-shadow: inset 0 0 0 1.5px var(--mark); color: var(--mark); } }
.plan.is-picked .plan__cta { background: var(--mark); color: #00181A; box-shadow: 0 12px 30px -10px var(--mark-glow); }
.plan__cta span { display: inline-block; transition: opacity .2s ease, filter .2s ease; }

/* valor por aula: escondido até a primeira escolha; aí aparece em todos para comparar */
.plan__more { display: grid; grid-template-rows: 0fr; opacity: 0; margin-top: -22px; transition: grid-template-rows .4s var(--ease), opacity .3s ease, margin-top .4s var(--ease); }
.plan__more-in { overflow: hidden; min-height: 0; }
.plan-grid.has-pick .plan__more { grid-template-rows: 1fr; opacity: 1; margin-top: 0; }
.plan.is-picked .plan__class { border-color: var(--mark); background: rgba(7, 226, 238, .08); }
.plan.is-picked .plan__class-v { color: var(--mark); }
.plan.is-picked .plan__class-off { color: #9DF6FA; }

/* símbolo de "+" / "ou" entre as modalidades, maior */
.tag--or { font: 400 22px/1 var(--f-display); color: #fff; padding: 0 2px; letter-spacing: 0; align-self: center; }

@media (prefers-reduced-motion: reduce) {
  .intro.is-vanish .ilogo__rhino { animation: none; opacity: 0; }
  .plan.is-picked { transform: none; }
}
.plan.is-picked .plan__cta:hover { color: #00181A; box-shadow: 0 12px 30px -10px var(--mark-glow); }

/* =========================================================
   V5
   ========================================================= */

/* grade da semana: não selecionados mais perceptíveis */
#agenda[data-mod="cross"] .week__table i:is(.h1, .t1),
#agenda[data-mod="hyrox"] .week__table i:is(.c1, .t1),
#agenda[data-mod="team"]  .week__table i:is(.c1, .h1),
#agenda[data-mod="cross"] .week__legend :is(.dot--h, .dot--t),
#agenda[data-mod="hyrox"] .week__legend :is(.dot--c, .dot--t),
#agenda[data-mod="team"]  .week__legend :is(.dot--c, .dot--h) { opacity: .42; filter: grayscale(.3); }

/* galeria: cada foto no tom da sua modalidade, com etiqueta (mesmo estilo da "A manada") */
.tile.duo[data-mod="c"]::after { background: var(--lime); }
.tile.duo[data-mod="h"]::after { background: var(--gold); }
.tile.duo[data-mod="t"]::after { background: var(--team); }
.tile.duo[data-mod]::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 46%; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(10, 11, 10, .82), transparent);
  transition: opacity .5s ease;
}
.tile__tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 7px 11px; border-radius: 999px; background: rgba(10, 11, 10, .78); backdrop-filter: blur(6px);
  font: 700 11px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; white-space: nowrap;
}
.tile[data-mod="c"] .tile__tag { color: var(--lime); }
.tile[data-mod="h"] .tile__tag { color: var(--gold); }
.tile[data-mod="t"] .tile__tag { color: var(--team); }

/* planos: avulsa + pagamento numa linha só */
.extras--2 { grid-template-columns: repeat(2, 1fr); }

/* Wellhub / TotalPass: atalho para a página do box */
.passes { margin-top: 28px; display: grid; grid-template-columns: minmax(240px, 1fr) 2fr; gap: 28px; align-items: center; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); border: 1px solid var(--line-2); background: linear-gradient(120deg, rgba(7, 226, 238, .06), transparent 60%); }
.passes__head .h3 { margin: 0 0 8px; }
.passes__head p { margin: 0; color: var(--muted); font-size: 15.5px; }
.passes__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pass {
  display: grid; gap: 8px; text-decoration: none; padding: 20px 22px; border-radius: 14px;
  background: var(--ink); border: 1px solid var(--line-2);
  transition: border-color .25s ease, transform .16s var(--ease), box-shadow .3s ease;
}
.pass:active { transform: scale(.98); }
.pass__name { font: 400 32px/1 var(--f-display); text-transform: uppercase; color: #fff; }
.pass__info { color: var(--muted); font-size: 14.5px; }
.pass__info b { color: var(--text); }
.pass__go {
  justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 16px; border-radius: 999px; background: var(--mark); color: #00181A;
  font: 700 13px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase;
}
.pass__go i { font-style: normal; font-size: 15px; transition: transform .2s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .pass:hover { border-color: var(--mark); box-shadow: 0 18px 40px -20px var(--mark-glow); }
  .pass:hover .pass__go i { transform: translate(2px, -2px); }
}

/* estrutura: equipe/suporte em destaque, depois as comodidades */
.amen__list--team { margin-top: 36px; }
.amen__list--team li { border-color: rgba(140, 245, 59, .45); color: var(--lime); }
.amen__list--team + .amen__list { margin-top: 12px; }

/* benefícios de cada modalidade */
.bens { margin-top: clamp(60px, 8vw, 100px); }
.bens .h3 { margin-bottom: 26px; }
.bens__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.bens__list li { display: grid; gap: 8px; align-content: start; padding: 26px 26px 28px; background: var(--ink); position: relative; }
.bens__list li::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--acc); margin-bottom: 8px; }
.bens__list b { font: 700 22px/1.1 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; }
.bens__list span { color: var(--muted); font-size: 15.5px; }
.bens--h .bens__list li { background: #0D0C08; }
.bens__note { margin: 14px 0 0; color: #6E746C; font-size: 13px; }

@media (max-width: 1080px) {
  .passes { grid-template-columns: 1fr; }
  .bens__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .passes__grid { grid-template-columns: 1fr; }
  .bens__list { grid-template-columns: 1fr; }
  .bens__list li { padding: 20px; }
}
/* selo "Hyrox incluso" sempre na cor do Hyrox */
.plan__flag { background: var(--gold); color: #140E00; box-shadow: none; }
.plan__flag--soft { background: #140E00; color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.tag--plus { font: 600 34px/0.8 var(--f-body); color: #fff; padding: 0 4px; transform: translateY(-1px); }
.tag--plus { font: 400 36px/0.7 var(--f-display); -webkit-text-stroke: 1.2px #fff; padding: 0 4px; transform: translateY(1px); }
/* "+" desenhado com a mesma altura e espessura de traço do "OU" */
.tag--plus { position: relative; width: 20px; height: 20px; padding: 0; margin: 0 4px; font-size: 0; -webkit-text-stroke: 0; transform: none; }
.tag--plus::before, .tag--plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: #fff; border-radius: 1px; transform: translate(-50%, -50%); }
.tag--plus::before { width: 20px; height: 5px; }
.tag--plus::after { width: 5px; height: 20px; }

/* =========================================================
   V6
   ========================================================= */

/* selo "Hyrox incluso": só contorno; preenche na cor do Hyrox quando o card é escolhido */
.plan__flag, .plan__flag--soft {
  background: #0D0C08; color: var(--gold); box-shadow: inset 0 0 0 1.5px var(--gold);
  transition: background-color .25s ease, color .25s ease;
}
.plan.is-picked .plan__flag { background: var(--gold); color: #140E00; box-shadow: none; }

/* chips de atrativos e de estrutura: alinhados em grade, neutros; cor só ao selecionar */
.manifesto__facts, .amen__list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px;
}
.manifesto__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.manifesto__facts li, .amen__list li {
  display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px;
  padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--text);
  font: 700 15px/1.15 var(--f-cond); letter-spacing: .08em; text-transform: uppercase;
  transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .16s var(--ease);
  cursor: default; user-select: none;
}
.manifesto__facts li:last-child { border-color: var(--line-2); color: var(--text); }
.amen__list li { font-size: 16px; }
.manifesto__facts li.is-on, .amen__list li.is-on { border-color: var(--acc); color: var(--acc); background: rgba(140, 245, 59, .06); }
.manifesto__facts li:active, .amen__list li:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .manifesto__facts li:hover, .amen__list li:hover { border-color: var(--acc); color: var(--acc); }
}
@media (max-width: 760px) {
  .manifesto__facts { grid-template-columns: 1fr; }
  .amen__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .amen__list li { font-size: 14px; padding: 10px 12px; }
}
/* estrutura: 4 colunas fechadas (o item mais longo ocupa 2) */
.amen__list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.amen__list li:nth-child(2) { grid-column: span 2; }
@media (max-width: 760px) { .amen__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* rodapé: cada Instagram na cor da sua modalidade ao passar o mouse / focar */
.foot__social a.soc--c:hover, .foot__social a.soc--c:focus-visible, .foot__social a.soc--c:active { color: var(--lime); }
.foot__social a.soc--h:hover, .foot__social a.soc--h:focus-visible, .foot__social a.soc--h:active { color: var(--gold); }
.foot__credit a + a { margin-left: 2px; }
