/* =========================================================
   Equipe de Corrida Sem Limites · visual esportivo
   ========================================================= */
:root {
    --volt: #f1eb20;
    --volt-deep: #d8d100;
    --black: #0b0b0b;
    --ink: #141414;
    --panel: #1b1b1b;
    --line: #2c2c2c;
    --white: #ffffff;
    --soft: #b9b9b2;
    --alert: #ff4d3d;
    --wa: #25d366;
    --radius: 18px;
    --display: "Anton", "Arial Narrow", Impact, sans-serif;
    --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.volt { color: var(--volt); }

/* ---------- Barra do topo ---------- */
.topbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 50;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.topbar.scrolled {
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--volt);
}

.brand span {
    font-family: var(--display);
    font-size: 20px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.pill {
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    background: var(--volt);
    color: var(--black);
    padding: 9px 14px;
    border-radius: 999px;
}

/* ---------- Topo com foto ---------- */
.hero {
    position: relative;
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    align-items: flex-end;
    padding: 110px 0 70px;
    background: var(--black) center 35% / cover no-repeat;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(11, 11, 11, 0.55) 0%, rgba(11, 11, 11, 0.25) 35%, rgba(11, 11, 11, 0.85) 75%, var(--black) 100%);
}

.hero.compact {
    min-height: 62vh;
    min-height: 62svh;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--volt);
    margin-bottom: 14px;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 3px;
    background: var(--volt);
    transform: skewX(-20deg);
}

.hero h1 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(54px, 15vw, 132px);
    line-height: 0.92;
    letter-spacing: 0.01em;
    margin: 0 0 18px;
}

.hero h1 .hl {
    display: inline-block;
    background: var(--volt);
    color: var(--black);
    padding: 0 0.12em;
    transform: skewX(-8deg);
}

.hero h1 .hl > span {
    display: inline-block;
    transform: skewX(8deg);
}

.hero.compact h1 { font-size: clamp(44px, 11vw, 96px); }

.hero p.lead {
    max-width: 520px;
    font-size: 17px;
    color: #e6e6e0;
    margin: 0 0 26px;
}

.hero p.lead b { color: var(--volt); }

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn:active { transform: translateY(0) scale(0.98); }

.btn-volt { background: var(--volt); color: var(--black); }

.btn-volt:hover { background: var(--white); }

.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: var(--white); }

.btn-ghost:hover { background: var(--white); color: var(--black); }

.btn-black { background: var(--black); color: var(--volt); }

.btn-black:hover { background: var(--ink); color: var(--white); }

.btn svg { width: 20px; height: 20px; flex: none; }

@media (max-width: 520px) {
    .cta-row .btn { flex: 1 1 100%; }
}

/* ---------- Faixa animada ---------- */
.ticker {
    background: var(--volt);
    color: var(--black);
    transform: rotate(-2deg);
    margin: -26px -10px 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    border-top: 3px solid var(--black);
    border-bottom: 3px solid var(--black);
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker 28s linear infinite;
}

.ticker span {
    font-family: var(--display);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 12px 0;
    white-space: nowrap;
}

.ticker span::after {
    content: "✦";
    margin: 0 22px;
    font-size: 16px;
    vertical-align: 3px;
}

@keyframes ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Seções ---------- */
.section { padding: 90px 0; }

.section.tight { padding: 60px 0; }

.section-head { margin-bottom: 36px; }

.section-head .eyebrow { margin-bottom: 10px; }

.section h2,
.method h2 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(36px, 8vw, 64px);
    line-height: 0.98;
    margin: 0;
}

.section-head p {
    color: var(--soft);
    max-width: 560px;
    margin: 14px 0 0;
    font-size: 16px;
}

.muted { color: var(--soft); }

/* Passos com números grandes */
.steps {
    display: grid;
    gap: 16px;
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 820px) {
    .steps.cols-3 { grid-template-columns: repeat(3, 1fr); }
    .steps.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.step {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px 24px;
    overflow: hidden;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.step:hover {
    border-color: var(--volt);
    transform: translateY(-3px);
}

.step::before {
    counter-increment: step;
    content: "0" counter(step);
    display: block;
    font-family: var(--display);
    font-size: 64px;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--volt);
    margin-bottom: 12px;
}

.step p {
    margin: 0;
    color: var(--soft);
    font-size: 15.5px;
}

.step b { color: var(--white); }

/* ---------- Locais e horários ---------- */
.split {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

@media (min-width: 900px) {
    .split { grid-template-columns: 1.05fr 1fr; gap: 40px; }
}

.photo-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 280px;
    background: var(--panel) center / cover no-repeat;
}

.photo-card .badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    background: var(--volt);
    color: var(--black);
    font-family: var(--display);
    text-transform: uppercase;
    font-size: 20px;
    padding: 6px 12px;
    transform: skewX(-8deg);
}

.place {
    background: var(--panel);
    border: 1px solid var(--line);
    border-left: 6px solid var(--volt);
    border-radius: var(--radius);
    padding: 24px 22px;
}

.place + .place { margin-top: 16px; }

.place h3 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 30px;
    line-height: 1.05;
    margin: 0 0 4px;
}

.place .sub {
    color: var(--soft);
    margin: 0 0 16px;
    font-size: 14.5px;
}

.place .note {
    display: inline-block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(241, 235, 32, 0.12);
    color: var(--volt);
    padding: 5px 10px;
    border-radius: 6px;
    margin: -6px 0 16px;
}

.slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 18px;
}

.slot {
    background: var(--black);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.slot small {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--soft);
}

.slot strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 30px;
    line-height: 1.1;
    color: var(--volt);
}

.map-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--volt);
    text-decoration: none;
    border-bottom: 2px solid var(--volt);
    padding-bottom: 2px;
}

.perks {
    list-style: none;
    padding: 0;
    margin: 20px 0 0;
    display: grid;
    gap: 10px;
}

.perks li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: var(--soft);
}

.perks li::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-top: 8px;
    background: var(--volt);
    transform: skewX(-20deg);
}

.perks b { color: var(--white); }

/* ---------- Método (fundo amarelo) ---------- */
.method {
    background: var(--volt);
    color: var(--black);
    position: relative;
    clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
    padding: 120px 0;
}

.method .eyebrow { color: var(--black); }

.method .eyebrow::before { background: var(--black); }

.method h2 { color: var(--black); }

.method-grid {
    display: grid;
    gap: 28px;
    margin-top: 30px;
}

@media (min-width: 900px) {
    .method-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
}

.method h3 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 28px;
    margin: 0 0 10px;
}

.method p {
    margin: 0 0 14px;
    font-size: 16.5px;
    color: #2a2a00;
}

.distances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.distances span {
    font-family: var(--display);
    font-size: 28px;
    background: var(--black);
    color: var(--volt);
    padding: 6px 16px;
    transform: skewX(-8deg);
}

/* ---------- Galeria ---------- */
.gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    grid-auto-flow: dense;
    gap: 10px;
}

@media (min-width: 820px) {
    .gallery {
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
    }
}

.gallery a {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    cursor: zoom-in;
    background: var(--panel);
}

.gallery a.big { grid-column: span 2; grid-row: span 2; }

.gallery a.wide { grid-column: span 2; }

.gallery a.tall { grid-row: span 2; }

.gallery a.tall img { object-position: center 40%; }

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, filter 0.5s ease;
    filter: saturate(1.05);
}

.gallery a:hover img { transform: scale(1.06); }

.gallery a::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 3px solid transparent;
    border-radius: 14px;
    transition: border-color 0.2s ease;
}

.gallery a:hover::after { border-color: var(--volt); }

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.94);
    align-items: center;
    justify-content: center;
    padding: 56px 16px;
}

.lightbox.active { display: flex; }

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    border: none;
    border-radius: 50%;
    background: var(--volt);
    color: var(--black);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
}

/* ---------- Chamada final ---------- */
.final {
    position: relative;
    padding: 110px 0;
    background: var(--black) center 40% / cover no-repeat;
    text-align: center;
    isolation: isolate;
}

.final::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, var(--black) 0%, rgba(11, 11, 11, 0.78) 30%, rgba(11, 11, 11, 0.78) 70%, var(--black) 100%);
}

.final h2 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: clamp(48px, 13vw, 110px);
    line-height: 0.92;
    margin: 0 0 16px;
}

.final p {
    color: #e6e6e0;
    font-size: 17px;
    margin: 0 auto 28px;
    max-width: 480px;
}

.final .cta-row { justify-content: center; }

/* ---------- Avisos (Wellhub) ---------- */
.card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
}

.card-title {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 28px;
    margin: 0 0 14px;
}

.rules {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.rules li {
    display: flex;
    gap: 14px;
    color: var(--soft);
}

.rules li::before {
    content: "";
    flex: none;
    width: 10px;
    height: 10px;
    margin-top: 8px;
    background: var(--volt);
    transform: skewX(-20deg);
}

.rules b { color: var(--white); }

.alert {
    margin-top: 20px;
    border-radius: var(--radius);
    border: 2px solid var(--alert);
    background: rgba(255, 77, 61, 0.08);
    padding: 22px 20px;
}

.alert h3 {
    font-family: var(--display);
    font-weight: 400;
    text-transform: uppercase;
    font-size: 26px;
    color: var(--alert);
    margin: 0 0 10px;
}

.alert p {
    margin: 0 0 12px;
    color: #f0d6d3;
}

.alert p:last-child { margin-bottom: 0; }

.alert b { color: var(--white); }

.big-number {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.big-number strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 96px;
    line-height: 0.9;
    color: var(--volt);
}

.big-number span {
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
}

.two-col {
    display: grid;
    gap: 16px;
}

@media (min-width: 900px) {
    .two-col { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ---------- Rodapé ---------- */
footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 110px;
    text-align: center;
    color: var(--soft);
    font-size: 14.5px;
}

footer .brand { justify-content: center; margin-bottom: 14px; }

footer p { max-width: 520px; margin: 0 auto 10px; }

footer a { color: var(--volt); font-weight: 700; text-decoration: none; }

/* ---------- Botão flutuante do WhatsApp ---------- */
.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 60;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--wa);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
    transition: transform 0.15s ease;
}

.wa-float:hover { transform: scale(1.08); }

.wa-float svg { width: 32px; height: 32px; }

/* ---------- Animação ao rolar ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .ticker-track { animation: none; }
    .js .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .step, .gallery img { transition: none; }
}

/* ---------- Treino online (plano à venda) ---------- */
.online .section-head p { max-width: 640px; color: var(--soft); margin: 12px 0 0; }

.plan .price {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin: 4px 0 6px;
    color: var(--volt);
}

.plan .price small { font-weight: 800; font-size: 18px; }

.plan .price strong {
    font-family: var(--display);
    font-weight: 400;
    font-size: 64px;
    line-height: 1;
}

.plan .price span { color: var(--soft); font-weight: 600; }

.plan .price-note { color: var(--soft); font-size: 14px; margin: 0 0 20px; }

.plan-cta { width: 100%; justify-content: center; }

.online-help { color: var(--soft); margin: 20px 0 0; font-size: 15px; }

.online-help a { color: var(--volt); font-weight: 700; }
