/* ===== Tokens ===== */
:root {
  --bg: #0b0b0c;
  --bg-2: #141416;
  --bg-3: #1c1c1f;
  --fg: #f4f4f2;
  --muted: #a3a3a0;
  --line: #2a2a2e;
  --accent: #c8ff2e;      /* verde-limão energético */
  --accent-ink: #0b0b0c;
  --wa: #25d366;
  --radius: 18px;
  --gutter: 20px;
  --font-display: "Anton", "Impact", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
em { font-style: normal; color: var(--accent); }

/* ===== Topbar ===== */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gutter);
  background: linear-gradient(to bottom, rgba(11,11,12,.85), rgba(11,11,12,0));
  backdrop-filter: blur(0px);
  transition: background .3s, backdrop-filter .3s;
}
.topbar.is-scrolled { background: rgba(11,11,12,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink);
  font-family: var(--font-display); font-size: 17px; letter-spacing: .5px;
}
.brand-name { font-weight: 700; letter-spacing: -.01em; }
.topbar-ig { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.topbar-ig svg { width: 20px; height: 20px; fill: var(--fg); }

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 96px var(--gutter) calc(40px + var(--safe-bottom));
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--bg-2);
  background-image: url("assets/hero.jpg");
  background-size: cover; background-position: center 20%;
}
.hero-photo.has-photo .hero-photo-fallback { display: none; }
.hero-photo-fallback, .about-photo-fallback {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background:
    radial-gradient(60% 50% at 70% 25%, rgba(200,255,46,.22), transparent 70%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    var(--bg-2);
}
.hero-photo-fallback span, .about-photo-fallback span {
  font-family: var(--font-display);
  font-size: clamp(160px, 55vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(200,255,46,.35);
  transform: translateY(-18%);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, var(--bg) 8%, rgba(11,11,12,.75) 42%, rgba(11,11,12,.1) 75%);
}
.hero-content { width: 100%; max-width: 640px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 14px; padding: 6px 12px; border-radius: 999px;
  border: 1px solid rgba(200,255,46,.4); background: rgba(200,255,46,.08);
  color: var(--accent); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(200,255,46,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(200,255,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,255,46,0); } }

.hero-title {
  margin: 0 0 14px;
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 12.4vw, 104px);
  line-height: .92; letter-spacing: -.005em; text-transform: uppercase;
}
.hero-sub { margin: 0 0 24px; color: #d6d6d2; font-size: 17px; max-width: 34ch; }
.hero-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; text-align: center; }

/* ===== Botões WhatsApp ===== */
.btn-wa {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 60px; padding: 16px 22px;
  border-radius: 16px; border: 0;
  background: var(--wa); color: #06210f;
  font-weight: 800; font-size: 18px; text-decoration: none; letter-spacing: -.01em;
  box-shadow: 0 10px 30px -8px rgba(37,211,102,.55), inset 0 -3px 0 rgba(0,0,0,.15);
  transition: transform .15s ease, box-shadow .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn-wa:active { transform: scale(.98); }
.btn-wa .wa-ico { width: 24px; height: 24px; fill: currentColor; flex: none; }
.btn-wa--outline { margin-top: 28px; background: transparent; color: var(--wa); border: 2px solid var(--wa); box-shadow: none; }
.btn-wa--big { min-height: 66px; font-size: 19px; }
@media (hover: hover) {
  .btn-wa:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -10px rgba(37,211,102,.7), inset 0 -3px 0 rgba(0,0,0,.15); }
  .btn-wa--outline:hover { background: rgba(37,211,102,.1); }
}

/* ===== Marquee ===== */
.marquee { overflow: hidden; background: var(--accent); color: var(--accent-ink); padding: 12px 0; transform: rotate(-1.5deg); margin: 10px -10px 0; }
.marquee-track { display: flex; gap: 22px; width: max-content; animation: marquee 22s linear infinite; font-family: var(--font-display); font-size: 22px; text-transform: uppercase; white-space: nowrap; }
.marquee-track i { font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Seções ===== */
.section { padding: 72px var(--gutter); max-width: 1080px; margin: 0 auto; }
.section-dark { background: var(--bg-2); max-width: none; }
.section-dark > * { max-width: 1040px; margin-left: auto; margin-right: auto; }
.kicker { margin: 0 0 10px; color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.h2 { margin: 0 0 28px; font-family: var(--font-display); font-weight: 400; font-size: clamp(38px, 10vw, 64px); line-height: .98; text-transform: uppercase; }
.h2 em { display: inline; }

/* Para quem é */
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pain-list li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.pain-list p { margin: 0; font-weight: 500; }
.check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 900; font-size: 15px; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--bg-3); border: 1px solid var(--line); }
.step-n { font-family: var(--font-display); font-size: 40px; line-height: 1; color: var(--accent); min-width: 54px; }
.step h3 { margin: 2px 0 6px; font-size: 19px; letter-spacing: -.01em; }
.step p { margin: 0; color: var(--muted); }

/* Sobre */
.about { display: grid; gap: 32px; }
.about-photo {
  position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1; border-radius: 50%; overflow: visible;
  background-color: var(--bg-2); background-image: url("assets/about.jpg"); background-size: 109%; background-position: center;
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 8px var(--accent), 0 30px 60px -20px rgba(200,255,46,.25);
}
.about-photo-fallback { border-radius: 50%; }
.about-photo.has-photo .about-photo-fallback { display: none; }
.about-photo-fallback span { font-size: clamp(140px, 40vw, 300px); transform: none; }
.about-photo::after { content: ""; position: absolute; inset: auto 4% 4% auto; width: 64px; height: 64px; border-radius: 50%; background: var(--accent); mask: radial-gradient(circle, transparent 38%, #000 40%); -webkit-mask: radial-gradient(circle, transparent 38%, #000 40%); opacity: .9; }
.about-text p { color: #d0d0cc; margin: 0 0 14px; }
.badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.badges li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); font-size: 14px; font-weight: 600; }

/* Instagram */
.ig-card {
  display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 20px;
  background: var(--bg-3); border: 1px solid var(--line); text-decoration: none;
  transition: border-color .2s;
}
.ig-card:hover { border-color: #444; }
.ig-avatar {
  flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  font-family: var(--font-display); font-size: 20px; color: var(--fg);
  background: url("assets/about.jpg") center / 112% padding-box, linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5) border-box;
  border: 3px solid transparent;
}
.ig-meta { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ig-meta strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ig-meta small { color: var(--muted); font-size: 14px; }
.ig-follow { flex: none; padding: 9px 16px; border-radius: 10px; background: #0095f6; color: #fff; font-weight: 700; font-size: 14px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 52px 20px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); }

/* CTA final */
.final-cta {
  padding: 84px var(--gutter) 96px; text-align: center;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(200,255,46,.18), transparent 70%),
    var(--bg);
  border-top: 1px solid var(--line);
}
.final-cta > * { max-width: 560px; margin-left: auto; margin-right: auto; }
.final-title { margin-top: 0; margin-bottom: 14px; font-family: var(--font-display); font-weight: 400; font-size: clamp(44px, 12vw, 76px); line-height: .95; text-transform: uppercase; }
.final-cta > p { color: #d0d0cc; margin-bottom: 28px; }
.final-phone { margin-top: 16px !important; margin-bottom: 0 !important; color: var(--muted) !important; font-size: 15px; letter-spacing: .03em; }

/* Footer */
.footer { padding: 32px var(--gutter) calc(110px + var(--safe-bottom)); text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.footer p { margin: 4px 0; }
.footer strong { color: var(--fg); }
.footer a { color: var(--fg); text-decoration: none; }
.footer-small { font-size: 12px; opacity: .7; }

/* Botão flutuante */
.wa-float {
  position: fixed; z-index: 40;
  right: 16px; bottom: calc(16px + var(--safe-bottom));
  display: flex; align-items: center; gap: 8px;
  height: 58px; padding: 0 20px 0 16px; border-radius: 999px;
  background: var(--wa); color: #06210f; text-decoration: none; font-weight: 800;
  box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,.6);
  transform: translateY(120px); opacity: 0;
  transition: transform .35s cubic-bezier(.2,.9,.3,1.2), opacity .3s;
  animation: ring 2.6s infinite 3s;
}
.wa-float.is-visible { transform: none; opacity: 1; }
.wa-float svg { width: 28px; height: 28px; fill: currentColor; }
@keyframes ring { 0% { box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,.55); } 70% { box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 0 16px rgba(37,211,102,0); } 100% { box-shadow: 0 12px 30px -6px rgba(0,0,0,.6), 0 0 0 0 rgba(37,211,102,0); } }

/* Reveal ao rolar */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Celular: foto no topo, texto embaixo */
@media (max-width: 759px) {
  .hero { padding-bottom: calc(28px + var(--safe-bottom)); }
  .hero-photo { inset: -64px 0 auto 0; height: 58svh; background-position: center 0;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent); mask-image: linear-gradient(to bottom, #000 72%, transparent); }
  .hero-note { display: none; }
  .hero .eyebrow { display: none; } /* a camiseta já diz "Personal Trainer" */
  .hero-shade { background: linear-gradient(to bottom, rgba(11,11,12,.55), transparent 18%); }
  .hero-sub { font-size: 16px; margin-bottom: 20px; }
}

/* ===== Telas maiores ===== */
@media (min-width: 760px) {
  :root { --gutter: 40px; }
  .hero { align-items: center; padding-bottom: 80px; }
  .hero-photo { left: 38%; }
  .hero-shade { background: linear-gradient(to right, var(--bg) 36%, rgba(11,11,12,.6) 55%, rgba(11,11,12,0) 80%), linear-gradient(to top, var(--bg), transparent 30%); }
  .hero-photo-fallback span { transform: none; }
  .btn-wa { width: auto; display: inline-flex; }
  .hero-note { text-align: left; }
  .pain-list { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .step { flex-direction: column; }
  .about { grid-template-columns: .9fr 1.1fr; align-items: center; gap: 56px; }
  .ig-card { max-width: 520px; }
  .wa-float-label { display: inline; }
}

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