/* =========================================================
   CF FOUR RHINOS · CrossFit + Hyrox
   Sistema: um box, duas identidades. O acento (--acc) muda
   conforme a seção visível: verde (Cross) / amarelo (Hyrox).
   ========================================================= */

:root {
  --ink: #0A0B0A;
  --ink-2: #111311;
  --ink-3: #181B18;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #F2F4F0;
  --muted: #9EA59C;

  --lime: #8CF53B;
  --lime-2: #5FD41A;
  --lime-glow: rgba(140, 245, 59, .45);
  --gold: #FFC61A;
  --gold-2: #F09A00;
  --gold-glow: rgba(255, 198, 26, .45);

  --acc: var(--lime);
  --acc-2: var(--lime-2);
  --acc-glow: var(--lime-glow);
  --on-acc: #071003;

  --f-display: "Anton", "Impact", sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --r: 14px;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);      /* ease-out forte (Emil) */
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);  /* movimento em tela */
}

body[data-brand="hyrox"] {
  --acc: var(--gold);
  --acc-2: var(--gold-2);
  --acc-glow: var(--gold-glow);
  --on-acc: #140E00;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 400 17px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
mark { background: none; color: var(--acc); transition: color .6s var(--ease); }
::selection { background: var(--acc); color: var(--on-acc); }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- textures ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); } 60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; }
.progress span { display: block; height: 100%; width: 0; background: var(--acc); box-shadow: 0 0 12px var(--acc-glow); transition: background .6s; }

/* ---------- type ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font: 700 13px/1 var(--f-cond); letter-spacing: .22em; text-transform: uppercase;
  color: var(--acc); transition: color .6s var(--ease);
}
.kicker::before { content: ""; width: 26px; height: 2px; background: currentColor; }
.h2 {
  font: 400 clamp(40px, 6.4vw, 88px)/.95 var(--f-display);
  text-transform: uppercase; letter-spacing: .005em; margin: 18px 0 22px;
}
.h3 { font: 400 clamp(26px, 3vw, 36px)/1 var(--f-display); text-transform: uppercase; margin: 0 0 18px; }
.h4 { font: 700 15px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: #C9CEC6; max-width: 58ch; margin: 0; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--acc);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 16px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .3s, background .6s var(--ease), color .3s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn--acc { background: var(--acc); color: var(--on-acc); box-shadow: 0 0 0 0 var(--acc-glow); }
.btn--acc:hover { transform: translateY(-2px); box-shadow: 0 10px 34px -6px var(--acc-glow); }
.btn--light { background: #fff; color: #000; }
.btn--light:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--acc); color: var(--acc); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 60px; padding: 0 32px; font-size: 17px; }
.btn--block { width: 100%; }
.link-arrow { font: 700 15px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--acc); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.pill { display: inline-block; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 13px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; gap: 28px;
  padding: 14px var(--gutter);
  transition: background .4s, backdrop-filter .4s, padding .4s;
}
.nav.is-solid { background: rgba(10, 11, 10, .78); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); padding-block: 10px; }
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 400 20px/1 var(--f-display); letter-spacing: .03em; }
.nav__logo img { width: 40px; height: 43px; }
.nav__logo b { font-weight: 400; color: var(--acc); transition: color .6s; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font: 600 15px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #D4D8D1; position: relative; padding: 6px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--acc); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__links a[data-brand-link="cross"]:hover { color: var(--lime); }
.nav__links a[data-brand-link="hyrox"]:hover { color: var(--gold); }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(0,0,0,.35); position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: #fff; transition: transform .3s var(--ease); }
.nav__burger span:first-child { top: 18px; } .nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 45; background: rgba(10,11,10,.97);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--gutter) 40px;
}
.mmenu[hidden] { display: none; }
.mmenu a:not(.btn) { font: 400 44px/1.15 var(--f-display); text-transform: uppercase; text-decoration: none; }
.mmenu a:not(.btn):hover { color: var(--acc); }
.mmenu .btn { margin-top: 24px; }

/* ---------- hero split ---------- */
.hero { position: relative; display: flex; height: 100svh; min-height: 640px; background: #000; overflow: hidden; }
.hero__pane {
  position: relative; flex: 1 1 0; overflow: hidden; text-decoration: none; isolation: isolate;
  transition: flex-grow .9s var(--ease);
  display: flex; align-items: flex-end;
}
.hero__bg {
  position: absolute; inset: -4%; z-index: -2;
  background-size: cover; background-position: center;
  filter: grayscale(1) contrast(1.2) brightness(.55);
  transform: scale(1.06); transition: transform 1.4s var(--ease), filter .9s;
}
.hero__pane::before { /* duotone tint */
  content: ""; position: absolute; inset: 0; z-index: -1;
  mix-blend-mode: multiply; opacity: .9; transition: opacity .9s;
}
.hero__pane::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.92) 100%);
}
.hero__pane--cross::before { background: linear-gradient(160deg, #2a6b05, #0b1f02 70%); }
.hero__pane--hyrox::before { background: linear-gradient(200deg, #8a6200, #1c1300 70%); }
.hero__pane--cross { --pane: var(--lime); --pane-glow: var(--lime-glow); }
.hero__pane--hyrox { --pane: var(--gold); --pane-glow: var(--gold-glow); }

.hero__content { padding: 0 clamp(20px, 4vw, 60px) clamp(110px, 15vh, 150px); max-width: 620px; }
.hero__content .kicker { color: var(--pane); }
.hero__title {
  font: 400 clamp(84px, 13vw, 210px)/.8 var(--f-display); text-transform: uppercase;
  margin: 18px 0 20px; color: transparent;
  -webkit-text-stroke: 2px var(--pane);
  transition: color .6s var(--ease), text-shadow .6s;
}
.hero__sub { margin: 0 0 22px; color: #D6DAD3; font-size: 18px; max-width: 40ch; opacity: .85; }
.hero__go { font: 700 15px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--pane); display: inline-flex; gap: 10px; }
.hero__go i { font-style: normal; transition: transform .4s var(--ease); }

.hero__pane { min-width: 0; }
.hero__pane:hover, .hero__pane:focus-visible, .hero__pane.is-on { flex-grow: 1.55; }
.hero__pane:hover .hero__bg, .hero__pane:focus-visible .hero__bg, .hero__pane.is-on .hero__bg { transform: scale(1); filter: grayscale(.2) contrast(1.1) brightness(.75); }
.hero__pane:hover::before, .hero__pane.is-on::before { opacity: .55; }
.hero__pane:hover .hero__title, .hero__pane:focus-visible .hero__title, .hero__pane.is-on .hero__title { color: var(--pane); text-shadow: 0 0 60px var(--pane-glow); }
.hero__pane:hover .hero__go i { transform: translateX(8px); }

.hero__hex { /* hex pattern for cross */
  position: absolute; inset: 0; z-index: -1; opacity: .18; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31Z M28 63v34' fill='none' stroke='%238CF53B' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: radial-gradient(ellipse at 30% 100%, #000 0%, transparent 70%);
          mask-image: radial-gradient(ellipse at 30% 100%, #000 0%, transparent 70%);
}
.hero__motto { margin: 0; font: 400 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; order: 2; }
.hero__motto b { font-weight: 400; color: var(--acc); transition: color .6s; }
.hero__loc { order: 1; } .hero__bar .btn { order: 3; }
.split__img { margin: 0; }
.hero__center {
  position: absolute; left: 50%; top: 21%; transform: translate(-50%, -50%);
  display: grid; justify-items: center; gap: 14px; pointer-events: none; z-index: 2; text-align: center;
}
.hero__center p { margin: 0; font: 400 clamp(18px, 1.8vw, 24px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; text-shadow: 0 2px 20px #000; }
@keyframes float { 50% { transform: translateY(-8px); } }

.hero__bar {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px var(--gutter); border-top: 1px solid var(--line);
  background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,.3)); backdrop-filter: blur(6px);
}
.hero__loc { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; color: #CBD0C8; }
.hero__loc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }

/* ---------- trust ---------- */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line); background: var(--ink-2);
}
.trust__item { display: flex; align-items: center; gap: 16px; padding: 28px var(--gutter); border-right: 1px solid var(--line); font: 600 15px/1.25 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; }
.trust__item:last-child { border-right: 0; }
.trust__item small { color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.trust__num { font: 400 48px/1 var(--f-display); color: var(--acc); transition: color .6s; display: inline-flex; align-items: flex-start; }
.trust__num em { font-style: normal; font-size: 24px; margin-left: 2px; }
.trust__item--logos { flex-wrap: wrap; gap: 8px; }
.trust__item--logos > span:last-child { width: 100%; color: var(--muted); font-size: 13px; }

@keyframes marq { to { transform: translateX(-50%); } }

/* ---------- worlds ---------- */
.world { position: relative; padding: clamp(90px, 12vw, 150px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.world--cross {
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(140,245,59,.10), transparent 60%),
    var(--ink);
}
.world--cross::before {
  content: ""; position: absolute; inset: 0; opacity: .07; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 1 55 16.5v31L28 63 1 47.5v-31Z M28 63v34' fill='none' stroke='%238CF53B' stroke-width='1'/%3E%3C/svg%3E");
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%);
          mask-image: linear-gradient(180deg, #000, transparent 55%);
}
.world--cross { --acc: var(--lime); --acc-glow: var(--lime-glow); --on-acc: #071003; }
.world--hyrox { --acc: var(--gold); --acc-glow: var(--gold-glow); --on-acc: #140E00; }
.world--hyrox {
  background:
    radial-gradient(900px 600px at 10% 10%, rgba(255,198,26,.12), transparent 60%),
    linear-gradient(180deg, #0D0C08, #0A0A09);
}
.world__head { display: grid; grid-template-columns: minmax(200px, 380px) 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; position: relative; }
.world__logo { width: 100%; height: auto; filter: drop-shadow(0 0 40px var(--lime-glow)); }
.world__logo--hy { filter: drop-shadow(0 0 40px var(--gold-glow)); }

.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: clamp(60px, 8vw, 100px); padding: 0; width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.feat { background: var(--ink); padding: 34px 28px 38px; transition: background .4s; position: relative; }
.feat:hover { background: var(--ink-3); }
.feat::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--acc); transition: width .5s var(--ease); }
.feat:hover::after { width: 100%; }
.feat__n { font: 400 52px/1 var(--f-display); color: transparent; -webkit-text-stroke: 1.5px var(--acc); }
.feat h3 { font: 700 24px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .03em; margin: 22px 0 10px; }
.feat p { margin: 0; color: var(--muted); font-size: 16px; }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; margin-top: clamp(70px, 9vw, 120px); }
.split__img { border-radius: var(--r); aspect-ratio: 4/3.2; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 32px; display: grid; gap: 4px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 54px 1fr; column-gap: 8px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); grid-row: span 2; font: 400 26px/1 var(--f-display); color: var(--acc); }
.steps b { font: 700 20px/1.1 var(--f-cond); text-transform: uppercase; letter-spacing: .05em; }
.steps span { color: var(--muted); font-size: 16px; }

/* duotone photo treatment = padronização visual das fotos */
.duo { position: relative; overflow: hidden; isolation: isolate; background: #000; }
.duo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.15) brightness(.85); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
.duo::after { content: ""; position: absolute; inset: 0; background: var(--acc); mix-blend-mode: multiply; opacity: .55; transition: opacity .8s var(--ease), background .6s; pointer-events: none; }
.duo:hover img { filter: grayscale(0) contrast(1.05) brightness(1); transform: scale(1.04); }
.duo:hover::after { opacity: 0; }

/* ---------- hyrox ---------- */
.tape { position: absolute; left: -5%; right: -5%; top: 34px; transform: rotate(-2deg); background: repeating-linear-gradient(-45deg, var(--gold) 0 18px, #121212 18px 36px); padding: 6px 0; overflow: hidden; }
.tape span { display: block; width: max-content; background: #121212; color: var(--gold); font: 700 14px/1 var(--f-cond); letter-spacing: .3em; padding: 8px 14px; margin-inline: auto; white-space: nowrap; animation: marq 40s linear infinite; }
.world--hyrox .world__head { margin-top: 30px; }

.race { margin-top: clamp(60px, 8vw, 100px); border: 1px solid rgba(255,198,26,.25); border-radius: var(--r); padding: clamp(22px, 3vw, 40px); background: linear-gradient(180deg, rgba(255,198,26,.05), transparent 60%); }
.race__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.race__head p { margin: 0; color: var(--muted); font: 500 15px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; }
.race__track { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(16, 1fr); gap: 6px; }
.race__track li { display: contents; }
.seg {
  position: relative; border: 0; border-radius: 8px; min-height: 92px; padding: 10px 6px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; text-align: left;
  font: 700 12px/1.05 var(--f-cond); letter-spacing: .06em; text-transform: uppercase;
  transition: transform .3s var(--ease), background .3s, box-shadow .3s;
}
.seg--run { background: repeating-linear-gradient(90deg, #1b1b17 0 6px, #161612 6px 12px); color: #8f8d80; cursor: default; }
.seg--run b { font: 400 18px/1 var(--f-display); color: #c9c6b5; }
.seg--st { background: #221c08; color: var(--gold); box-shadow: inset 0 0 0 1px rgba(255,198,26,.35); }
.seg--st b { font: 400 26px/1 var(--f-display); }
.seg--st:hover, .seg--st[aria-pressed="true"] { background: var(--gold); color: #140E00; transform: translateY(-4px); box-shadow: 0 12px 30px -8px var(--gold-glow); }
.race__detail { margin-top: 22px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 22px 24px; border-radius: 12px; background: #15130b; border: 1px solid rgba(255,198,26,.2); min-height: 108px; }
.race__detail .big { font: 400 64px/.9 var(--f-display); color: var(--gold); }
.race__detail h4 { margin: 0 0 6px; font: 400 30px/1 var(--f-display); text-transform: uppercase; }
.race__detail p { margin: 0; color: #c9c6b5; }
.race__detail .dist { font: 700 22px/1 var(--f-cond); letter-spacing: .06em; padding: 12px 16px; border-radius: 10px; background: var(--gold); color: #140E00; white-space: nowrap; }

.hy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.hy-card { border-radius: var(--r); padding: clamp(24px, 3vw, 40px); background: var(--gold); color: #140E00; display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hy-card .kicker { color: #140E00; }
.hy-card .btn--acc { background: #111; color: var(--gold); }
.hy-card--dark { background: #15130b; color: var(--text); border: 1px solid rgba(255,198,26,.2); }
.hy-card--dark .kicker { color: var(--gold); }
.hy-times { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.hy-times div { display: grid; gap: 8px; }
.hy-times b { font: 400 30px/1 var(--f-display); text-transform: uppercase; margin-bottom: 4px; }
.hy-times span { font: 700 22px/1 var(--f-cond); letter-spacing: .06em; padding: 12px 14px; border-radius: 10px; background: #140E00; color: var(--gold); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { padding-left: 32px; position: relative; color: #D9D6C6; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17L5 11.7l1.8-1.8 3.6 3.5 6.8-6.8L19 8.4Z'/%3E%3C/svg%3E") center/contain; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm-1.6 17L5 11.7l1.8-1.8 3.6 3.5 6.8-6.8L19 8.4Z'/%3E%3C/svg%3E") center/contain; }
.checks b { color: #fff; }

/* ---------- plans ---------- */
.plans, .agenda, .gallery, .amen, .faq { padding: clamp(90px, 11vw, 140px) 0; position: relative; }
.plans { background: var(--ink-2); border-top: 1px solid var(--line); }
.sec-head { max-width: 820px; }
.sec-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.period { display: inline-flex; padding: 6px; border-radius: 999px; background: #000; border: 1px solid var(--line-2); margin: 20px 0 36px; gap: 4px; flex-wrap: wrap; }
.period button { border: 0; background: none; padding: 12px 22px; border-radius: 999px; font: 700 15px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: inline-flex; gap: 10px; align-items: center; transition: background .3s, color .3s; }
.period button em { font-style: normal; font-size: 12px; padding: 4px 8px; border-radius: 999px; background: rgba(140,245,59,.14); color: var(--lime); letter-spacing: .06em; }


.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan {
  position: relative; border-radius: 20px; padding: 34px 30px 30px; background: var(--ink); border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 22px; transition: transform .4s var(--ease), border-color .4s, box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); border-color: var(--line-2); }
.plan--hot { border-color: var(--lime); box-shadow: 0 0 0 1px var(--lime), 0 30px 80px -30px var(--lime-glow); background: linear-gradient(180deg, rgba(140,245,59,.07), var(--ink) 50%); }
.plan__flag { position: absolute; top: -13px; left: 30px; background: var(--lime); color: #071003; font: 700 12px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan__freq { font: 400 64px/.85 var(--f-display); text-transform: uppercase; }
.plan__freq small { display: block; font: 700 15px/1 var(--f-cond); letter-spacing: .18em; color: var(--muted); margin-top: 10px; }
.plan__mods { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font: 700 12px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 6px; }
.tag--c { background: rgba(140,245,59,.14); color: var(--lime); }
.tag--h { background: rgba(255,198,26,.14); color: var(--gold); }
.tag--or { color: var(--muted); padding-inline: 0; }
.plan__price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.plan__price .cur { font: 700 22px/1 var(--f-cond); color: var(--muted); }
.plan__price .val { font: 400 clamp(56px, 5vw, 72px)/.9 var(--f-display); letter-spacing: -.01em; }
.plan__price .cents { font: 400 28px/1 var(--f-display); }
.plan__price .per { font: 600 15px/1 var(--f-cond); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; width: 100%; }
.plan__save { font: 700 15px/1.2 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; color: var(--lime); min-height: 18px; }
.plan__save s { color: var(--muted); font-weight: 500; margin-right: 6px; }
.plan ul { list-style: none; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: #C9CEC6; font-size: 15.5px; flex: 1; }
.plan li { padding-left: 22px; position: relative; }
.plan li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 2px; background: var(--lime); }
.plan .btn { margin-top: 6px; }
.plan:not(.plan--hot) .btn { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.plan:not(.plan--hot) .btn:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.plan-fee { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.plan-fee b { color: var(--text); }

.extras { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.extra { background: var(--ink-2); padding: 22px 24px; display: grid; gap: 6px; }
.extra b { font: 700 14px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.extra span { font: 400 24px/1.05 var(--f-display); text-transform: uppercase; }

/* ---------- agenda ---------- */
.agenda { background: var(--ink); }
.agenda__grid { display: grid; grid-template-columns: 1fr minmax(340px, 500px); grid-template-areas: "intro booker" "week booker"; column-gap: clamp(36px, 6vw, 90px); row-gap: 44px; align-items: start; }
.agenda__intro { grid-area: intro; } .booker { grid-area: booker; } .week { grid-area: week; }
@media (max-width: 1080px) { .agenda__grid { grid-template-areas: "intro" "booker" "week"; } }
.week__table { width: 100%; border-collapse: separate; border-spacing: 4px; font: 700 14px/1 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; }
.week__table th { color: var(--muted); font-weight: 600; padding: 6px 0 10px; text-align: center; }
.week__table th:first-child, .week__table td:first-child { text-align: left; color: var(--text); width: 64px; }
.week__table td { padding: 0; text-align: center; height: 34px; }
.week__table td .c { display: flex; height: 100%; gap: 3px; }
.week__table td i { flex: 1; border-radius: 5px; display: block; }
.dot, .week__table td i.c1 { }
.week__table i.c1, .dot--c { background: var(--lime); }
.week__table i.h1, .dot--h { background: var(--gold); }
.week__table i.t1, .dot--t { background: #fff; }
.week__table i.x { background: #161816; }
.week__legend { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--muted); font: 600 13px/1 var(--f-cond); letter-spacing: .1em; text-transform: uppercase; flex-wrap: wrap; }
.dot { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 10px; }
.dot:first-child { margin-left: 0; }

.booker { position: sticky; top: 96px; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 26px; box-shadow: 0 40px 100px -40px var(--acc-glow); transition: box-shadow .6s; }
.booker__label { display: flex; align-items: center; gap: 10px; font: 700 14px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; color: #DADDD7; }
.booker__label b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--acc); color: var(--on-acc); font-size: 13px; transition: background .6s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line-2); background: transparent; font: 700 16px/1 var(--f-cond); letter-spacing: .06em; text-transform: uppercase; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease); }
.chip:hover { border-color: var(--acc); }
.chip[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.chip:disabled { opacity: .3; cursor: not-allowed; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.day { border: 1.5px solid var(--line-2); background: transparent; border-radius: 12px; padding: 10px 0; display: grid; gap: 4px; justify-items: center; transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .16s var(--ease); }
.day small { font: 600 11px/1 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.day b { font: 400 22px/1 var(--f-display); }
.day:hover:not(:disabled) { border-color: var(--acc); }
.day[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--on-acc); }
.day[aria-pressed="true"] small { color: var(--on-acc); }
.day:disabled { opacity: .25; cursor: not-allowed; }
.booker__fields { display: grid; gap: 12px; }
.booker__fields .booker__label { margin-bottom: 0; }
.field { display: grid; gap: 6px; }
.field span { font: 600 12px/1 var(--f-cond); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select { width: 100%; min-height: 50px; padding: 0 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: #0B0C0B; color: var(--text); font: 500 16px/1 var(--f-body); }
.field input:focus, .field select:focus { outline: none; border-color: var(--acc); }
.field input.err { border-color: #ff5a4f; }
.booker__summary { font: 600 16px/1.4 var(--f-cond); letter-spacing: .04em; text-transform: uppercase; padding: 14px 16px; border-radius: 12px; background: #0B0C0B; border: 1px dashed var(--line-2); color: #DADDD7; }
.booker__summary b { color: var(--acc); }
.booker__note { margin: -12px 0 0; text-align: center; color: var(--muted); font-size: 13px; }

/* ---------- gallery ---------- */
.gallery { background: var(--ink-2); border-top: 1px solid var(--line); }
.gallery__ig { display: flex; gap: 10px; flex-wrap: wrap; }
.ig { text-decoration: none; padding: 12px 18px; border-radius: 999px; font: 700 15px/1 var(--f-cond); letter-spacing: .08em; border: 1.5px solid; }
.ig--c { color: var(--lime); } .ig--h { color: var(--gold); }
.ig:hover { background: currentColor; } .ig--c:hover { color: var(--lime); } .ig:hover { box-shadow: inset 0 0 0 40px currentColor; }
.ig--c:hover { -webkit-text-fill-color: #071003; } .ig--h:hover { -webkit-text-fill-color: #140E00; }
.masonry { margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; grid-auto-flow: dense; }
.tile { border: 0; padding: 0; border-radius: 12px; cursor: zoom-in; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--ig { display: grid; place-content: center; gap: 10px; text-align: center; text-decoration: none; cursor: pointer; padding: 24px; background: linear-gradient(160deg, #1a2c0c, #0b0c0b 60%); border: 1px solid var(--line-2); transition: border-color .3s, transform .4s var(--ease); }
.tile--ig:hover { border-color: var(--lime); transform: translateY(-4px); }
.tile--ig svg { width: 46px; height: 46px; margin-inline: auto; fill: none; stroke: var(--lime); stroke-width: 1.6; }
.tile--ig b { font: 400 34px/1 var(--f-display); text-transform: uppercase; }
.tile--ig span { font: 700 15px/1.4 var(--f-cond); letter-spacing: .1em; color: var(--muted); }
.tile--ig span i { font-style: normal; color: var(--lime); } .tile--ig span i:last-child { color: var(--gold); }
@media (min-width: 761px) {
  .masonry { grid-template-rows: repeat(5, 240px); grid-auto-flow: row; }
  .masonry > :nth-child(1)  { grid-area: 1 / 1 / 2 / 3; } /* coaches */
  .masonry > :nth-child(2)  { grid-area: 1 / 3 / 3 / 4; } /* manada */
  .masonry > :nth-child(3)  { grid-area: 1 / 4 / 2 / 5; } /* barra */
  .masonry > :nth-child(4)  { grid-area: 2 / 1 / 3 / 3; } /* aula */
  .masonry > :nth-child(5)  { grid-area: 3 / 1 / 5 / 2; } /* atleta box */
  .masonry > :nth-child(6)  { grid-area: 3 / 2 / 4 / 3; } /* piso */
  .masonry > :nth-child(7)  { grid-area: 2 / 4 / 3 / 5; } /* box jump */
  .masonry > :nth-child(8)  { grid-area: 4 / 2 / 5 / 3; } /* fachada */
  .masonry > :nth-child(9)  { grid-area: 4 / 3 / 5 / 5; } /* instagram */
  .masonry > :nth-child(10) { grid-area: 3 / 3 / 4 / 5; } /* mural */
  .masonry > :nth-child(1) img { object-position: center 30%; }
  .masonry > :nth-child(11) { grid-area: 5 / 1 / 6 / 2; } /* espaços para fotos */
  .masonry > :nth-child(12) { grid-area: 5 / 2 / 6 / 3; }
  .masonry > :nth-child(13) { grid-area: 5 / 3 / 6 / 4; }
  .masonry > :nth-child(14) { grid-area: 5 / 4 / 6 / 5; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(0,0,0,.92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1400px); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.lightbox button { position: fixed; border: 0; background: rgba(255,255,255,.08); color: #fff; width: 54px; height: 54px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lightbox button:hover { background: var(--acc); color: var(--on-acc); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ---------- amenities ---------- */
.amen { background: var(--ink); padding-bottom: 60px; }
.amen__list { list-style: none; margin: 36px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.amen__list li { padding: 14px 22px; border-radius: 999px; border: 1px solid var(--line-2); font: 700 18px/1 var(--f-cond); letter-spacing: .08em; text-transform: uppercase; transition: border-color .2s ease, color .2s ease; }
.amen__list li:hover { border-color: var(--acc); color: var(--acc); }

/* ---------- faq ---------- */
.faq { background: var(--ink); }
.faq__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 6vw, 90px); align-items: start; }
.faq .sec-head .btn { margin-top: 28px; }
.faq__list { display: grid; gap: 10px; }
details { border: 1px solid var(--line); border-radius: 14px; background: var(--ink-2); transition: border-color .3s; }
details[open] { border-color: var(--line-2); }
summary { list-style: none; cursor: pointer; padding: 22px 60px 22px 24px; font: 700 19px/1.25 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-3); color: var(--acc); font: 400 22px/1 var(--f-body); transition: transform .3s var(--ease); }
details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details p { margin: 0; padding: 0 24px 22px; color: #C3C8C0; }

/* ---------- final ---------- */
.final { position: relative; padding: clamp(100px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); overflow: hidden; isolation: isolate; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg::after { opacity: .7; }
.final__bg::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(10,11,10,.97) 0%, rgba(10,11,10,.8) 55%, rgba(10,11,10,.6) 100%); }
.final__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: end; }
.final__title { font: 400 clamp(46px, 6vw, 92px)/.92 var(--f-display); text-transform: uppercase; margin: 0 0 24px; }
.final__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.final__info { background: rgba(10,11,10,.8); border: 1px solid var(--line-2); border-radius: 20px; padding: 14px; backdrop-filter: blur(10px); display: grid; gap: 18px; }
.map { border-radius: 12px; overflow: hidden; aspect-ratio: 16/10; background: #111; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }
.final address { font-style: normal; padding: 0 10px; color: #C9CEC6; line-height: 1.5; }
.final address b { color: #fff; font: 700 20px/1.3 var(--f-cond); letter-spacing: .03em; text-transform: uppercase; }
.final address a { color: var(--acc); text-decoration: none; font: 700 14px/2.4 var(--f-cond); letter-spacing: .12em; text-transform: uppercase; }
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contacts a { text-decoration: none; padding: 14px 16px; border-radius: 12px; background: var(--ink-3); font: 400 22px/1.1 var(--f-display); display: grid; gap: 4px; transition: background .3s; }
.contacts a small { font: 700 12px/1 var(--f-cond); letter-spacing: .18em; text-transform: uppercase; }
.contacts a:first-child small { color: var(--lime); } .contacts a:last-child small { color: var(--gold); }
.contacts a:hover { background: #222622; }
.hours { margin: 0; padding: 0 10px 8px; color: var(--muted); font-size: 14.5px; }
.hours b { color: var(--text); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 50px 0 120px; background: #050605; }
.foot__grid { display: grid; grid-template-columns: auto 1fr auto; gap: 30px; align-items: center; }
.foot__brands { display: flex; align-items: center; gap: 20px; }
.foot__brands img:first-child { width: 150px; height: auto; } .foot__brands img:last-child { width: 78px; height: auto; }
.foot__nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.foot__nav a, .foot__social a { font: 600 14px/1 var(--f-cond); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: #BFC4BC; }
.foot__nav a:hover, .foot__social a:hover { color: var(--acc); }
.foot__social { display: grid; gap: 12px; justify-items: end; }
.foot__copy { margin-top: 36px; color: #6E746C; font-size: 13px; }

/* ---------- floating ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 60px; height: 60px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { to { transform: scale(1.6); opacity: 0; } }
.sticky-cta { display: none; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.feats .reveal:nth-child(2) { transition-delay: .08s; } .feats .reveal:nth-child(3) { transition-delay: .16s; } .feats .reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .nav__burger { display: block; margin-left: 0; }
  .feats { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .race__track { grid-template-columns: repeat(8, 1fr); }
  .agenda__grid, .faq__grid, .final__grid { grid-template-columns: 1fr; }
  .booker { position: relative; top: 0; }
  .plan-grid { grid-template-columns: 1fr; max-width: 560px; }
  .extras { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { gap: 12px; }
  .nav__cta { display: none; }
  .nav__burger { margin-left: auto; }
  .nav__logo span { font-size: 18px; }

  .hero { flex-direction: column; height: auto; min-height: 0; }
  .hero__pane { min-height: 62svh; flex: none; }
  .hero__pane:hover, .hero__pane:focus-visible { flex-grow: 0; }
  .hero__pane--cross { padding-top: 70px; }
  .hero__content { padding: 0 20px 34px; }
  .hero__title { font-size: clamp(88px, 27vw, 140px); }
  .hero__sub { font-size: 16px; }
  .hero__center { display: none; }
  .hero__bar { position: relative; flex-direction: column; align-items: stretch; text-align: center; }
  .hero__bar .btn { width: 100%; }
  .hero__loc { justify-content: center; }

  .trust__item { padding: 20px 16px; gap: 10px; font-size: 13px; }
  .trust__num { font-size: 36px; }

  .world__head { grid-template-columns: 1fr; }
  .world__logo { max-width: 260px; }
  .world__logo--hy { max-width: 170px; justify-self: start; }
  .feats { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }

  .race__track { grid-template-columns: repeat(4, 1fr); }
  .seg { min-height: 76px; }
  .race__detail { grid-template-columns: auto 1fr; gap: 14px 18px; padding: 18px; }
  .race__detail .big { font-size: 48px; }
  .race__detail .dist { grid-column: 1 / -1; justify-self: start; }
  .hy-grid { grid-template-columns: 1fr; }

  .period { display: flex; width: 100%; border-radius: 18px; }
  .period button { flex: 1 1 auto; justify-content: center; padding: 12px 10px; flex-direction: column; gap: 6px; border-radius: 14px; }
  .extras { grid-template-columns: 1fr 1fr; }
  .extra span { font-size: 20px; }

  .week__table { font-size: 12px; border-spacing: 3px; }
  .week__table th:first-child, .week__table td:first-child { width: 46px; }
  .days { gap: 4px; }
  .day b { font-size: 19px; }

  .masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 170px; gap: 8px; }
  .tile--wide { grid-column: span 2; }

  .contacts { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr; justify-items: start; }
  .foot__nav { justify-content: flex-start; }
  .foot__social { justify-items: start; }

  .wa-float { bottom: 86px; right: 16px; width: 54px; height: 54px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: linear-gradient(0deg, rgba(10,11,10,.98) 60%, rgba(10,11,10,0));
    transform: translateY(110%); transition: transform .4s var(--ease);
  }
  .sticky-cta.show { transform: none; }
}

.static .hero { height: 900px; }
.static .grain, .static .wa-float { display: none; }
@media (max-width: 760px) { .static .hero { height: auto; } .static .hero__pane { min-height: 520px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
