/* Cópia de site/styles.css (LP) de 2026-11-29 com as regras de treinadores no fim. Site próprio: treinadores.atlashibrido.com. */
/* ATLAS LP v6 (2026-11-26): o app inteiro (treino híbrido, rotina, coach, comunidade), desempenho como uma parte. Direção 3S, cara Meta/Threads. Preto, branco primário, linhas finas, âmbar só em evolução/recorde.
   Celular primeiro (390–430), sem rolagem sequestrada. Também servem obrigado.html, sair.html e 404.html
   (.nav, .page, .display, .h2, .lead, .actions, .btn, .link, .niko-big, .wl). */
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bg: #000; --text: #f5f5f5; --muted: #a0a0a0; --dim: #808080; --line: #222; --surface: #111; --surface2: #1a1a1a;
  --amber: #ffb547; --pill: 999px; --pad: 20px;
  --glass: rgba(28, 28, 30, .62); --glass-line: rgba(255, 255, 255, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.45; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: #000; padding: 12px 16px; border-radius: var(--pill); font-weight: 700; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 680px; }
.center { text-align: center; }
.muted { color: var(--muted); }

.h1 { margin: 0 0 16px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.04; font-size: clamp(38px, 10.4vw, 72px); }
.h2, .display { margin: 0 0 20px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; font-size: clamp(30px, 8vw, 52px); }
h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.25; letter-spacing: -0.01em; }
.hl { color: var(--amber); }
.dim { color: var(--dim); }
.lead { margin: 0 0 28px; max-width: 640px; font-size: clamp(18px, 4.6vw, 21px); line-height: 1.45; color: var(--muted); }
.center .lead { margin-left: auto; margin-right: auto; }
.fine { margin: 14px 0 0; font-size: 14px; color: var(--dim); }
.kicker { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 0; border-radius: var(--pill); background: #fff; color: #000; font: 600 17px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s ease, opacity .15s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: default; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 18px; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.link { display: inline-flex; align-items: center; min-height: 44px; color: var(--muted); font-size: 16px; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 20; background: rgba(0, 0, 0, .7); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-in { max-width: 1080px; margin: 0 auto; padding: 8px var(--pad); display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.brand img { border-radius: 6px; }

/* Telas do iPhone: imagem oficial da Apple com o print dentro. Reta, sem girar, sem reflexo e parada (regra da Apple). */
.ph { display: block; width: 230px; height: auto; margin: 0 auto; }
.shot { margin: 0; text-align: center; }
.shot figcaption { margin-top: 14px; font-size: 13px; color: var(--dim); }

/* 1. Hero (preto puro, sem imagem de fundo) */
.hero { padding: 100px 0 32px; text-align: center; }
.hero .lead { margin-left: auto; margin-right: auto; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.hero .ctas, .center-x { justify-content: center; }
.stage { position: relative; width: 100%; max-width: 760px; margin: 44px auto 0; padding: 0 var(--pad); }
.stage-phone { position: relative; z-index: 1; }
.stage-watch { position: absolute; z-index: 3; right: max(4px, calc(50% - 190px)); bottom: -6px; width: 120px; height: auto; animation: float 7s ease-in-out infinite; }
.glass { position: absolute; z-index: 2; display: flex; flex-direction: column; gap: 2px; width: 136px; padding: 10px 12px; text-align: left; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .8); animation: float 6s ease-in-out infinite; }
.g-k { font-size: 12px; color: var(--muted); line-height: 1.3; }
.g-t { font-size: 14px; line-height: 1.3; }
.g-s { font-size: 12px; color: var(--muted); line-height: 1.3; }
.g-big { font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.g-big small { font-size: 14px; font-weight: 600; color: var(--muted); }
.g1 { left: 4px; top: 8%; animation-delay: -1s; }
.g2 { right: 4px; top: 30%; animation-delay: -3s; }
.g3 { left: 4px; top: 62%; animation-delay: -4.5s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 2. Faixa */
.strip { padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.strip .kicker { margin-bottom: 12px; }
.marks { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; list-style: none; font-size: 18px; font-weight: 600; color: #d6d6d6; }

/* Seções */
.sec { padding: 72px 0; }
.row { display: grid; gap: 40px; }
.list { margin: 0 0 20px; padding: 0; list-style: none; }
.list li { padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.list li:last-child { border-bottom: 1px solid var(--line); }
.list strong { color: var(--text); }
.list a { display: inline-block; padding: 6px 0; color: var(--text); font-weight: 600; }
.strava { width: 183px; opacity: .9; }
.note { margin: 16px 0 0; font-size: 14px; color: var(--dim); }

/* Para quem é */
.cards { display: grid; gap: 12px; }
.card { padding: 20px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.card p { margin: 0; color: var(--muted); }

/* HYROX: duas telas lado a lado */
.duo-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.duo-ph .ph { width: 100%; }

/* Leituras (o que o app lê nos seus tempos) */
.reads { margin: 0; padding: 0; list-style: none; }
.reads li { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line); }
.reads li:last-child { border-bottom: 1px solid var(--line); }
.reads b { font-size: 16px; }
.reads span { font-size: 15px; color: var(--muted); }

/* 3. Pace sem GPS: fotos reais dos relógios (recorte com alfa sobre o preto) */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.ba p { display: flex; flex-direction: column; margin: 0; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); }
.ba small { font-size: 12px; color: var(--muted); }
.ba span { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.15; font-variant-numeric: tabular-nums; }
.ba em { font-style: normal; font-size: 14px; color: var(--muted); }
.ba p:first-child span { color: var(--dim); }
.watches { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: end; }
.watch { margin: 0; text-align: center; }
.watch img { width: 100%; height: auto; }
.watch figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.35; }
.watch figcaption strong { display: block; color: var(--text); font-size: 15px; }
.nw { white-space: nowrap; }
.how3 { display: grid; gap: 0; margin: 40px 0 0; padding: 0; list-style: none; counter-reset: s; }
.how3 li { position: relative; padding: 14px 0 14px 36px; border-top: 1px solid var(--line); color: var(--muted); counter-increment: s; }
.how3 li::before { content: counter(s); position: absolute; left: 0; top: 14px; width: 24px; height: 24px; border-radius: 50%; border: 1px solid #444; font-size: 13px; line-height: 22px; text-align: center; color: var(--text); }
.how3 strong { color: var(--text); }

/* 9. Relógio */
.watch-solo { margin: 0 auto; width: min(220px, 56vw); }
.watch-solo img { width: 100%; height: auto; animation: float 7s ease-in-out infinite; }

/* 10. Passos */
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.steps li { display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid var(--line); }
.steps b { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid #444; display: grid; place-items: center; font-size: 15px; }
.steps p { margin: 0; color: var(--muted); }
.trust { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }

/* 11. FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 56px; padding: 14px 0; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 300; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 0 0 18px; color: var(--muted); }

/* 12. CTA final (comunidade). As classes .wl servem obrigado.html e sair.html. */
.cta { padding: 88px 0 104px; border-top: 1px solid var(--line); }
.cta .wl-note { max-width: 460px; margin: 16px auto 0; font-size: 14px; }
.niko-big { display: inline-block; width: 84px; height: 84px; margin-bottom: 20px; background: url(assets/niko-v2.webp) center / contain no-repeat; filter: drop-shadow(0 0 1px rgba(244, 244, 242, .95)) drop-shadow(0 0 14px rgba(255, 255, 255, .12)); }
.wl { max-width: 520px; text-align: left; margin: 0 auto; }
.wl-row { display: grid; gap: 10px; }
.wl input { width: 100%; min-height: 52px; padding: 0 20px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: 17px var(--font); }
.wl input::placeholder { color: #8a8a8a; }
.wl input:focus { border-color: #fff; outline: none; }
.wl input[aria-invalid="true"] { border-color: #ff5a5a; }
.wl .btn { width: 100%; }
.wl-note { margin: 12px 0 0; font-size: 13px; color: var(--dim); line-height: 1.5; }
.wl-note a { color: var(--muted); display: inline-block; padding: 13px 0; margin: -13px 0; }
.wl-status { min-height: 1.4em; margin: 6px 0 0; font-size: 15px; font-weight: 600; }
.ts:empty { display: none; }
.ts { margin-top: 10px; }
.trap { position: absolute; left: -9999px; }

/* Barra fixa no celular (sem contagem regressiva, sem desconto) */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 19; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px var(--pad) calc(10px + env(safe-area-inset-bottom)); background: rgba(0, 0, 0, .78); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid rgba(255, 255, 255, .08); transform: translateY(110%); transition: transform .3s ease; }
.bar.on { transform: none; }
.bar-t { font-size: 14px; font-weight: 600; color: #ddd; }

.foot { padding: 36px 0 96px; border-top: 1px solid var(--line); }
.foot-in { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.foot-links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; margin: 0; padding: 0; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--muted); text-decoration: none; }
.foot-links a:hover { color: var(--text); }
.legal { margin: 16px 0 0; font-size: 13px; color: var(--dim); line-height: 1.5; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 374px) { .glass { width: 124px; } .g-big { font-size: 23px; } .ba span { font-size: 26px; } }

@media (min-width: 900px) {
  :root { --pad: 32px; }
  .hero { padding: 128px max(var(--pad), calc(50% - 560px)) 80px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 24px; text-align: left; }
  .hero .wrap { padding: 0; }
  .hero .lead { margin-left: 0; }
  .hero .ctas { justify-content: flex-start; }
  .h1 { font-size: clamp(48px, 4.6vw, 68px); }
  .stage { margin: 0; padding: 0; }
  .ph { width: 300px; }
  .stage-watch { width: 190px; right: -10px; bottom: -20px; }
  .glass { width: 210px; padding: 16px 18px; }
  .g-t { font-size: 16px; }
  .g-big { font-size: 38px; }
  .g1 { left: -30px; top: 10%; }
  .g2 { right: -40px; top: 26%; width: 220px; }
  .g3 { left: -20px; top: 62%; width: 190px; }
  .sec { padding: 112px 0; }
  .cards { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .duo-ph { gap: 24px; }
  .row { grid-template-columns: 1fr 1fr; align-items: center; gap: 72px; }
  .row.rev > :first-child { order: 2; }
  .watches { gap: 24px; }
  .how3 { grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 32px; }
  .steps li { flex-direction: column; }
  .watch-solo { width: 280px; }
  .wl-row { grid-template-columns: 1fr 1.3fr auto; }
  .wl .btn { width: auto; }
  .bar { display: none; }
  .foot { padding-bottom: 40px; }
}

.page { min-height: 100svh; display: flex; align-items: center; padding: 110px 0 60px; }
.page .lead { margin-left: auto; margin-right: auto; }
.page .h2 { margin-bottom: 16px; }
.actions { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 8px; }
.page .wl-status { text-align: center; }

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

/* Foto do prato: moldura de câmera, linha de leitura e etiquetas por alimento (exemplo; números de demonstração). */
.scan { margin: 0; width: 100%; max-width: 440px; justify-self: center; }
.scan-photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: #000; }
.scan-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vf { position: absolute; width: 34px; height: 34px; border: 3px solid #fff; z-index: 4; }
.vf.tl { top: 16px; left: 16px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.vf.tr { top: 16px; right: 16px; border-left: 0; border-bottom: 0; border-top-right-radius: 14px; }
.vf.bl { bottom: 16px; left: 16px; border-right: 0; border-top: 0; border-bottom-left-radius: 14px; }
.vf.br { bottom: 16px; right: 16px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.scan-line { position: absolute; left: 6%; right: 6%; top: 8%; height: 2px; z-index: 2; background: #fff; box-shadow: 0 0 18px 4px rgba(255, 255, 255, .55); opacity: 0; }
.tag { position: absolute; left: var(--x); top: var(--y); z-index: 3; transform: translate(-50%, -50%); display: flex; flex-direction: column; padding: 6px 10px; border-radius: 12px; font-size: 11px; line-height: 1.3; color: rgba(255, 255, 255, .78); white-space: nowrap; background: rgba(20, 20, 22, .58); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.tag b { font-size: 12px; font-weight: 600; color: #fff; }
.tag::before { content: ""; position: absolute; left: 50%; bottom: -9px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
.scan-total { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 64px 26px 24px; display: flex; flex-direction: column; background: linear-gradient(transparent, rgba(0, 0, 0, .82)); }
.scan-total small { font-size: 13px; color: rgba(255, 255, 255, .8); }
.scan-total strong { font-size: 56px; font-weight: 300; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.scan-total em { font-style: normal; font-size: 20px; margin-left: 6px; }
.scan-macros { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 20px 4px 14px; border-bottom: 1px solid var(--line); }
.scan-macros span { display: flex; flex-direction: column; font-size: 34px; font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.scan-macros small { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.scan-macros em { font-style: normal; font-size: 15px; color: var(--muted); }
.scan-cta { display: flex; justify-content: space-between; margin: 0; padding: 14px 4px 0; font-size: 15px; }
/* animação: a linha passa uma vez, depois as etiquetas e o total aparecem em sequência */
.js .scan .tag, .js .scan .scan-total { opacity: 0; transform: translate(-50%, -40%); transition: opacity .45s ease var(--d, 0s), transform .45s ease var(--d, 0s); }
.js .scan .scan-total { transform: translateY(10px); --d: 2.3s; }
.js .scan.in .tag { opacity: 1; transform: translate(-50%, -50%); }
.js .scan.in .scan-total { opacity: 1; transform: none; }
.js .scan.in .scan-line { animation: scanline 1.6s ease-in-out .2s 1 both; }
@keyframes scanline { 0% { top: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 92%; opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .js .scan .tag, .js .scan .scan-total { opacity: 1; transition: none; } .js .scan .tag { transform: translate(-50%, -50%); } .js .scan .scan-total { transform: none; } .js .scan.in .scan-line { animation: none; } }
@media (max-width: 420px) { .tag { font-size: 10px; padding: 5px 8px; } .tag b { font-size: 11px; } .scan-total strong { font-size: 46px; } .scan-macros span { font-size: 28px; } }

/* Celular: só um cartão no topo, para a tela do app aparecer (3S). */
@media (max-width: 599px) { .g1, .g3 { display: none; } }

/* Para treinadores (index.html) e convite (t.html) */
.tr-top { padding-top: 120px; }
.tr-f { display: grid; gap: 6px; }
.tr-f label { font-size: 15px; font-weight: 600; }
.tr-opt { font-weight: 400; color: var(--dim); }
.wl textarea { width: 100%; padding: 14px 20px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font: 17px/1.4 var(--font); resize: vertical; }
.wl textarea:focus { border-color: #fff; outline: none; }
.tr-form input:focus-visible, .tr-form textarea:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wl .tr-check { display: flex; align-items: center; gap: 12px; min-height: 44px; font-size: 15px; color: var(--muted); }
.wl .tr-check input { width: 24px; height: 24px; min-height: 0; flex: none; padding: 0; accent-color: #fff; }
.wl .tr-check a { color: var(--text); display: inline-block; padding: 12px 0; margin: -12px 0; }
.tr-code { margin: 0 0 24px; font: 700 clamp(28px, 9vw, 40px)/1.1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .12em; color: var(--amber); overflow-wrap: anywhere; }
