/* ============================================================
   Clínica Sérgio Villanova — Landing page styles
   Built on GymPro design tokens (assets/css/tokens.css)
   Brand green #38993F · Clash Display + General Sans
   ============================================================ */

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* html também precisa de overflow-x:hidden p/ iOS Safari */
html { overflow-x: hidden; max-width: 100%; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
a { color: inherit; }

::selection { background: var(--brand); color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.section { padding: 104px 0; position: relative; }
.section.tight { padding: 80px 0; }
.dark { background: var(--ink); color: #fff; }
.dark .lead { color: var(--fg-2-on-dark); }

/* ---------- Headings ---------- */
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02; }
.h-sec { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; line-height: 1.06;
  font-size: clamp(32px, 4vw, 56px); margin: 0; }
.h-big { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.025em; line-height: 1.02;
  font-size: clamp(40px, 5.4vw, 76px); margin: 0; }
.lead { font-size: 18px; line-height: 1.62; color: var(--fg-2); margin: 0; }
.em-green { color: var(--brand); }
.h-sec .em-green, .h-big .em-green { color: var(--brand); }
.dark .h-sec .em-green, .dark .h-big .em-green { color: var(--brand-bright); }

/* ---------- Eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; background: var(--surface);
  border: 1px solid var(--line); padding: 9px 18px 9px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--fg); letter-spacing: 0.04em; text-transform: uppercase; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); flex: none; }
.eyebrow.on-dark { background: rgba(255,255,255,0.06); border-color: var(--line-dark); color: #fff; }
.eyebrow.floating { background: rgba(10,8,23,0.5); border: 1px solid rgba(255,255,255,0.14); color: #fff; backdrop-filter: blur(8px); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 11px; font-weight: 600; font-size: 15px;
  padding: 15px 24px; border-radius: var(--r-pill); border: none; cursor: pointer; text-decoration: none;
  line-height: 1; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.btn:active { transform: translateY(1px); }
.btn .arrow { width: 27px; height: 27px; border-radius: 999px; display: inline-grid; place-items: center; font-size: 13px; flex: none;
  transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: rotate(45deg); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 22px rgba(56,153,63,0.32); }
.btn-primary:hover { background: var(--brand-bright); }
.btn-primary:active { background: var(--brand-deep); }
.btn-primary .arrow { background: rgba(255,255,255,0.22); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #211f2c; }
.btn-dark .arrow { background: var(--brand); color: #fff; }
.btn-ghost { background: transparent; color: var(--fg); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--fg); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.28); }
.btn-ghost.on-dark:hover { border-color: #fff; background: rgba(255,255,255,0.06); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ececea; }
.btn-lg { padding: 19px 34px; font-size: 17px; }
.btn-wa { background: #25D366; color: #073d1d; box-shadow: 0 8px 22px rgba(37,211,102,0.3); }
.btn-wa:hover { background: #2ee676; }
.btn-wa .arrow { background: rgba(7,61,29,0.16); color: #073d1d; }

/* ---------- Icon chip ---------- */
.chip { border-radius: 999px; background: var(--brand); color: #fff;
  display: grid; place-items: center; flex: none; }
.chip.lg { width: 60px; height: 60px; font-size: 28px; }
.chip.md { width: 52px; height: 52px; font-size: 24px; }
.chip.ghost { background: rgba(56,153,63,0.12); color: var(--brand); }
.dark .chip.ghost { background: rgba(69,176,77,0.16); color: var(--brand-bright); }

/* ============================================================
   NAV
   ============================================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
  border-bottom: 1px solid transparent; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 16px 0; }
.nav.scrolled { background: rgba(10,8,23,0.9); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,0.08); }
.nav .brand img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: rgba(255,255,255,0.82); text-decoration: none; font-size: 14.5px; font-weight: 500;
  cursor: pointer; transition: color var(--dur) var(--ease); }
.nav-links a:hover { color: #fff; }
.nav .menu-btn { display: none; background: none; border: none; color: #fff; font-size: 26px; cursor: pointer; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 18%; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,8,23,0.5) 0%, rgba(10,8,23,0) 26%, rgba(10,8,23,0.1) 58%, rgba(10,8,23,0.78) 100%),
    linear-gradient(95deg, rgba(10,8,23,0.94) 0%, rgba(10,8,23,0.74) 36%, rgba(10,8,23,0.28) 66%, rgba(10,8,23,0.12) 100%); }
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 132px; padding-bottom: 64px; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 86px); max-width: 16ch; margin: 22px 0 0; text-shadow: 0 2px 24px rgba(10,8,23,0.55); }
.hero .sub { color: #fff; font-size: clamp(18px, 2vw, 23px); font-weight: 600; margin: 22px 0 0; max-width: 30ch; text-shadow: 0 1px 14px rgba(10,8,23,0.65); }
.hero p.body { color: rgba(255,255,255,0.82); max-width: 52ch; margin: 16px 0 0; font-size: 16.5px; line-height: 1.62; text-shadow: 0 1px 12px rgba(10,8,23,0.7); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; }
.stat-float { background: rgba(28,28,38,0.66); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-card); padding: 30px 30px; max-width: 290px; }
.stat-float .num { font-family: var(--font-display); font-weight: 600; font-size: 60px; color: var(--brand-bright); line-height: 1; }
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; color: rgba(255,255,255,0.6);
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,0.6), transparent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0%,100%{ opacity:.3; transform: scaleY(.6); } 50%{ opacity:1; transform: scaleY(1);} }

/* ============================================================
   SECTION HEADER block
   ============================================================ */
.sec-head { max-width: 760px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head .h-sec { margin-top: 20px; }
.sec-head .lead { margin-top: 18px; }
.tag-label { font-family: var(--font-body); font-weight: 600; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand); }
.dark .tag-label { color: var(--brand-bright); }

/* ============================================================
   PAIN (Dor)
   ============================================================ */
.pain-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 12px; }
.pain-item { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px; font-size: 16.5px; font-weight: 500; color: var(--fg);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.pain-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pain-item .x { width: 34px; height: 34px; border-radius: 999px; background: #FBE9E7; color: #E0492E; display: grid; place-items: center;
  font-size: 16px; flex: none; }
.pain-cta { margin-top: 44px; background: var(--ink); color: #fff; border-radius: var(--r-card); padding: 40px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pain-cta p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(22px,2.4vw,30px); letter-spacing: -0.01em; max-width: 22ch; line-height: 1.1; }
.pain-cta .em-green { color: var(--brand-bright); }

/* ============================================================
   AUTHORITY (Autoridade)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.rev { grid-template-columns: 1fr 1.05fr; }
.photo-card { position: relative; border-radius: var(--r-card); overflow: hidden; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-stack { position: relative; }
.photo-stack .main { border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-stack .main img { width: 100%; display: block; aspect-ratio: 4/5; object-fit: cover; object-position: center top; }
.badge-float { position: absolute; background: var(--surface); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  padding: 16px 20px; display: flex; align-items: center; gap: 14px; }
.badge-float.tl { top: 22px; left: -22px; }
.badge-float.br { bottom: 26px; right: -22px; }
.badge-float .num { font-family: var(--font-display); font-weight: 600; font-size: 34px; color: var(--brand); line-height: 1; }
.badge-float .lbl { font-size: 12.5px; color: var(--fg-2); line-height: 1.3; max-width: 16ch; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.dark .stat-row .stat { border-color: var(--line-dark); }
.stat { border-top: 2px solid var(--brand); padding-top: 18px; }
.stat .num { font-family: var(--font-display); font-weight: 600; font-size: clamp(36px,4vw,52px); letter-spacing: -0.02em; line-height: 1; }
.stat .lbl { font-size: 14px; color: var(--fg-2); margin-top: 10px; line-height: 1.45; }
.dark .stat .lbl { color: var(--fg-2-on-dark); }

.cred-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cred-pill { display: inline-flex; align-items: center; gap: 9px; background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 10px 18px; font-size: 14px; font-weight: 600; }
.cred-pill i { color: var(--brand); font-size: 17px; }
.dark .cred-pill { background: rgba(255,255,255,0.05); border-color: var(--line-dark); color: #fff; }
.dark .cred-pill i { color: var(--brand-bright); }

.check-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 15px; }
.check-list li { display: flex; align-items: flex-start; gap: 13px; font-size: 16.5px; line-height: 1.5; }
.check-list li i { color: var(--brand); font-size: 23px; flex: none; margin-top: 1px; }
.dark .check-list li i { color: var(--brand-bright); }
.check-list li b { font-weight: 600; }

/* ============================================================
   SERVICE blocks (process timeline)
   ============================================================ */
.timeline { display: flex; gap: 0; margin-top: 40px; counter-reset: step; flex-wrap: wrap; }
.timeline .step { flex: 1; min-width: 150px; position: relative; padding: 0 12px; }
.timeline .step .dotline { display: flex; align-items: center; gap: 0; margin-bottom: 18px; }
.timeline .step .knob { width: 44px; height: 44px; border-radius: 999px; background: var(--brand); color: #fff; flex: none;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 18px; z-index: 2; }
.timeline .step .bar { height: 2px; flex: 1; background: rgba(56,153,63,0.3); }
.timeline .step:last-child .bar { display: none; }
.timeline .step h5 { font-family: var(--font-display); font-weight: 600; font-size: 18px; margin: 0 0 6px; letter-spacing: -0.01em; }
.timeline .step p { margin: 0; font-size: 14px; color: var(--fg-2); line-height: 1.5; }
.dark .timeline .step p { color: var(--fg-2-on-dark); }
.dark .timeline .step .knob { background: var(--brand); }
.dark .timeline .step .bar { background: rgba(255,255,255,0.16); }

.note-line { display: inline-flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--fg-2); }
.note-line i { color: var(--brand); }
.dark .note-line { color: var(--fg-2-on-dark); }
.dark .note-line i { color: var(--brand-bright); }

/* online "how it works" feature list */
.feat-list { display: grid; gap: 14px; margin-top: 28px; }
.feat-row { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px; }
.dark .feat-row { background: rgba(255,255,255,0.04); border-color: var(--line-dark); }
.feat-row .chip { width: 46px; height: 46px; font-size: 21px; }
.feat-row h5 { margin: 0 0 5px; font-family: var(--font-body); font-weight: 600; font-size: 16.5px; }
.feat-row p { margin: 0; font-size: 14.5px; color: var(--fg-2); line-height: 1.5; }
.dark .feat-row p { color: var(--fg-2-on-dark); }

/* Competition gold accent */
.gold .tag-label, .gold .em-green { color: #E7B84B; }
.gold .chip { background: #E7B84B; color: #2a1f05; }
.gold .timeline .step .knob { background: #E7B84B; color: #2a1f05; }
.gold .timeline .step .bar { background: rgba(231,184,75,0.3); }
.gold .check-list li i { color: #E7B84B; }
.gold .btn-primary { background: #E7B84B; color: #2a1f05; box-shadow: 0 8px 22px rgba(231,184,75,0.28); }
.gold .btn-primary:hover { background: #f3c95f; }
.gold .btn-primary .arrow { background: rgba(42,31,5,0.18); color: #2a1f05; }
.gold .note-line i { color: #E7B84B; }

/* ============================================================
   RESULTS
   ============================================================ */
.filter-row { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin: 36px 0 44px; }
.filter-row button { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: 11px 22px; font-size: 14.5px; font-weight: 600; cursor: pointer; color: var(--fg-2);
  transition: all var(--dur) var(--ease); }
.filter-row button:hover { border-color: var(--fg-3); color: var(--fg); }
.filter-row button.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.result-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.result-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; aspect-ratio: 3/2; }
.ba .slot { position: relative; background: var(--ink); display: grid; place-items: center; overflow: hidden; }
.ba .slot img { width: 100%; height: 100%; object-fit: cover; }
.ba .slot .ph { display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,0.32); }
.ba .slot .ph i { font-size: 30px; }
.ba .slot .ph span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.ba .tag { position: absolute; top: 10px; left: 10px; background: rgba(10,8,23,0.7); color: #fff; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.result-card .body { padding: 22px 24px 26px; }
.result-card .goalrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.result-card .goal { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand); }
.result-card .time { font-size: 12.5px; color: var(--fg-3); }
.result-card h4 { font-family: var(--font-display); font-weight: 600; font-size: 20px; margin: 12px 0 8px; letter-spacing: -0.01em; }
.result-card p { margin: 0; font-size: 14.5px; color: var(--fg-2); line-height: 1.55; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.tcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 34px;
  display: flex; flex-direction: column; height: 100%; }
.dark .tcard { background: var(--ink-2); border-color: var(--line-dark); }
.tcard .stars { color: #F5B82E; font-size: 17px; letter-spacing: 2px; }
.tcard blockquote { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: var(--fg); flex: 1; }
.dark .tcard blockquote { color: rgba(255,255,255,0.92); }
.tcard .who { display: flex; align-items: center; gap: 13px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.dark .tcard .who { border-top-color: var(--line-dark); }
.tcard .ava { width: 48px; height: 48px; border-radius: 999px; background: var(--brand); color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 18px; flex: none; }
.tcard .who .name { font-weight: 600; font-size: 15px; }
.tcard .who .meta { font-size: 13px; color: var(--fg-2); }
.dark .tcard .who .meta { color: var(--fg-2-on-dark); }
.t-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-wrap { max-width: 860px; margin: 0 auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq button { width: 100%; background: none; border: none; cursor: pointer; text-align: left; padding: 26px 8px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; font-family: var(--font-display);
  font-weight: 600; font-size: clamp(17px, 1.8vw, 21px); letter-spacing: -0.01em; color: var(--fg); }
.faq .ico { width: 34px; height: 34px; border-radius: 999px; background: var(--surface-2); color: var(--fg); flex: none;
  display: grid; place-items: center; font-size: 16px; transition: transform var(--dur) var(--ease), background var(--dur), color var(--dur); }
.faq[data-open="true"] .ico { background: var(--brand); color: #fff; transform: rotate(45deg); }
.faq .ans { max-height: 0; overflow: hidden; transition: max-height 0.34s var(--ease); }
.faq .ans p { margin: 0; padding: 0 56px 28px 8px; font-size: 16px; line-height: 1.62; color: var(--fg-2); }

/* ============================================================
   CREDENTIALS (dark)
   ============================================================ */
.cred-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 12px; }
.cred-card { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--r-md); padding: 28px;
  display: flex; gap: 18px; align-items: flex-start; transition: background var(--dur) var(--ease); }
.cred-card:hover { background: rgba(255,255,255,0.07); }
.cred-card .chip { width: 50px; height: 50px; font-size: 23px; }
.cred-card h5 { margin: 0 0 6px; font-family: var(--font-body); font-weight: 600; font-size: 16.5px; color: #fff; }
.cred-card p { margin: 0; font-size: 14px; color: var(--fg-2-on-dark); line-height: 1.5; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final { position: relative; overflow: hidden; }
.final-bg { position: absolute; inset: 0; background-size: cover; background-position: center 25%; opacity: 0.22; }
.final-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 120% at 50% 0%, rgba(56,153,63,0.18), transparent 55%); }
.final-inner { position: relative; z-index: 2; text-align: center; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 52px 0 0; text-align: left; }
.choice { background: rgba(255,255,255,0.04); border: 1px solid var(--line-dark); border-radius: var(--r-card); padding: 30px;
  display: flex; flex-direction: column; transition: transform var(--dur) var(--ease), border-color var(--dur); }
.choice:hover { transform: translateY(-4px); border-color: rgba(69,176,77,0.5); }
.choice .chip { margin-bottom: 20px; }
.choice h4 { font-family: var(--font-display); font-weight: 600; font-size: 22px; margin: 0 0 8px; color: #fff; }
.choice p { margin: 0 0 22px; font-size: 14.5px; color: var(--fg-2-on-dark); line-height: 1.55; flex: 1; }
.urgency { display: inline-flex; align-items: center; gap: 10px; background: rgba(231,184,75,0.12); border: 1px solid rgba(231,184,75,0.3);
  color: #F5C95F; border-radius: var(--r-pill); padding: 11px 20px; font-size: 14px; font-weight: 600; margin-top: 44px; }
.secure { display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3-on-dark); font-size: 13px; margin-top: 22px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #050410; color: #fff; padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer img.logo { height: 50px; margin-bottom: 20px; }
.footer p.about { color: var(--fg-2-on-dark); font-size: 14.5px; line-height: 1.6; max-width: 34ch; }
.footer .col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--fg-3-on-dark); font-weight: 700; margin: 0 0 18px; }
.footer .col a, .footer .col .li { display: block; color: var(--fg-2-on-dark); text-decoration: none; font-size: 14.5px; line-height: 1; padding: 8px 0; cursor: pointer; }
.footer .col a:hover { color: var(--brand-bright); }
.footer .social { display: flex; gap: 10px; margin-top: 6px; }
.footer .social a { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--line-dark); display: grid; place-items: center;
  color: #fff; font-size: 18px; transition: all var(--dur) var(--ease); }
.footer .social a:hover { background: var(--brand); border-color: var(--brand); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  padding: 26px 0 36px; font-size: 13px; color: var(--fg-3-on-dark); }
.footer-bottom .disc { max-width: 60ch; line-height: 1.5; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; width: 60px; height: 60px; border-radius: 999px;
  background: #25D366; color: #fff; display: grid; place-items: center; font-size: 30px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45); transition: transform var(--dur) var(--ease); animation: wapulse 2.6s ease-in-out infinite; }
.wa-fab:hover { transform: scale(1.08); }
@keyframes wapulse { 0%,100%{ box-shadow: 0 10px 30px rgba(37,211,102,0.45); } 50%{ box-shadow: 0 10px 40px rgba(37,211,102,0.7); } }

/* ============================================================
   MODAL (lead form)
   ============================================================ */
.overlay { position: fixed; inset: 0; z-index: 70; background: rgba(5,4,16,0.7); backdrop-filter: blur(5px);
  display: grid; place-items: center; padding: 24px; animation: fade .25s var(--ease); overflow-y: auto; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: var(--r-card); width: 100%; max-width: 520px; padding: 40px;
  position: relative; animation: pop .3s var(--ease); }
@keyframes pop { from { transform: translateY(16px) scale(.98); opacity: 0; } }
.modal .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px; border: none;
  background: var(--surface-2); cursor: pointer; display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.modal .x:hover { background: var(--line); }
.modal h3 { font-family: var(--font-display); font-weight: 600; font-size: 30px; letter-spacing: -0.02em; margin: 6px 0 8px; }
.modal .sub { color: var(--fg-2); font-size: 15px; margin: 0 0 26px; line-height: 1.5; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--fg); }
.field input, .field select, .field textarea { padding: 14px 15px; border-radius: var(--r-sm); border: 1.5px solid var(--line);
  font-family: inherit; font-size: 15px; color: var(--fg); background: var(--surface); outline: none; transition: border-color var(--dur); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.seg { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.seg label { display: flex; align-items: center; justify-content: center; gap: 7px; padding: 12px 8px; border: 1.5px solid var(--line);
  border-radius: var(--r-sm); font-size: 13.5px; font-weight: 600; cursor: pointer; text-align: center; transition: all var(--dur); }
.seg label:hover { border-color: var(--fg-3); }
.seg input { display: none; }
.seg label.on { background: var(--brand); color: #fff; border-color: var(--brand); }
.modal .success { text-align: center; padding: 14px 0; }
.modal .success .ic { width: 76px; height: 76px; border-radius: 999px; background: rgba(56,153,63,0.12); color: var(--brand);
  display: grid; place-items: center; font-size: 40px; margin: 0 auto 20px; }

/* ============================================================
   reveal on scroll
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .scroll-cue .line, .wa-fab { animation: none; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .results-grid, .t-grid, .cred-grid, .choice-grid { grid-template-columns: 1fr 1fr; }
  .stat-row { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 880px) {
  .section { padding: 76px 0; }
  .nav-links { display: none; }
  .nav .menu-btn { display: block; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 40px; }
  .split.rev .photo-stack { order: -1; }
  .pain-grid { grid-template-columns: 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .stat-float { max-width: 100%; }
  .timeline { gap: 24px; }
  .timeline .step { flex: 1 1 40%; }
  .timeline .step .bar { display: none; }
  .badge-float.tl { left: 10px; }
  .badge-float.br { right: 10px; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .results-grid, .t-grid, .cred-grid, .choice-grid, .field-row { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 20px; }
  .modal { padding: 28px 22px; }
  .pain-cta { padding: 28px 26px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-bottom .disc { max-width: 100%; }
  .cookie-inner { grid-template-columns: 1fr; gap: 14px; }
  .section { padding: 64px 0; }
  .pain-grid { grid-template-columns: 1fr; }
  .reel-frame iframe { height: 480px; }
}

/* ============================================================
   LGPD COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--ink);
  border-top: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 -8px 40px rgba(10,8,23,0.45);
  animation: slideup 0.4s cubic-bezier(0.4,0,0.2,1);
}
@keyframes slideup { from { transform: translateY(100%); opacity: 0; } }
.cookie-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 22px 0;
}
.cookie-text { font-size: 14px; line-height: 1.6; color: var(--fg-2-on-dark); }
.cookie-text strong { color: #fff; font-weight: 600; }
.cookie-text a { color: var(--brand-bright); text-decoration: underline; cursor: pointer; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-actions .btn-manage {
  background: transparent; border: 1.5px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.75);
  border-radius: var(--r-pill); padding: 11px 20px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.cookie-actions .btn-manage:hover { border-color: #fff; color: #fff; }
.cookie-actions .btn-accept {
  background: var(--brand); color: #fff; border: none;
  border-radius: var(--r-pill); padding: 11px 24px; font-size: 14px; font-weight: 600;
  cursor: pointer; font-family: inherit; white-space: nowrap;
  transition: background var(--dur) var(--ease);
}
.cookie-actions .btn-accept:hover { background: var(--brand-bright); }

/* Manage preferences modal */
.cookie-pref { display: grid; gap: 16px; margin: 20px 0; }
.cookie-pref-item {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 18px 20px;
}
.cookie-pref-item .info h5 { margin: 0 0 4px; font-size: 15px; font-weight: 600; color: var(--fg); }
.cookie-pref-item .info p { margin: 0; font-size: 13.5px; color: var(--fg-2); line-height: 1.5; }
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track {
  position: absolute; inset: 0; border-radius: 999px; background: var(--line);
  cursor: pointer; transition: background var(--dur) var(--ease);
}
.toggle input:checked + .toggle-track { background: var(--brand); }
.toggle-track::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 999px; background: #fff;
  transition: transform var(--dur) var(--ease);
}
.toggle input:checked + .toggle-track::after { transform: translateX(20px); }
.toggle input:disabled + .toggle-track { opacity: 0.5; cursor: not-allowed; }

@media (max-width: 768px) {
  .cookie-inner { grid-template-columns: 1fr; gap: 16px; }
  .cookie-actions { justify-content: stretch; }
  .cookie-actions .btn-manage, .cookie-actions .btn-accept { flex: 1; text-align: center; }
}

/* ============================================================
   ADIÇÕES — Hero com foto, carrossel, galeria antes/depois,
   seção da clínica, e correção de quebra de títulos.
   ============================================================ */

/* ---- Quebra de títulos: distribui as linhas e evita órfãs ---- */
.display, .h-sec, .h-big, .hero h1 { text-wrap: balance; }
.lead, .hero p.body, .hero .sub { text-wrap: pretty; }

/* ---- HERO com foto principal ---- */
.hero { align-items: center; overflow: hidden; }  /* overflow:hidden já existia, reforça no novo hero */
.hero-content { padding: 128px 0 92px; }
.hero-bg--brand {
  background:
    radial-gradient(120% 90% at 78% 20%, rgba(56,153,63,0.22), transparent 60%),
    radial-gradient(90% 80% at 12% 90%, rgba(56,153,63,0.10), transparent 55%),
    linear-gradient(155deg, #0E0D1A 0%, #14131F 55%, #0A0817 100%);
}
.hero-bg--brand::after { content: none; }
.hero-grid { grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero h1 { max-width: 18ch; }
.hero-photo {
  position: relative; justify-self: end; width: 100%; max-width: 440px;
  aspect-ratio: 1122 / 1402; border-radius: var(--r-card); overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12); box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.hero-photo-badge {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  background: rgba(16,15,25,0.62); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 14px;
}
.hero-photo-badge .num { font-family: var(--font-display); font-weight: 600; font-size: 42px; line-height: 1; color: var(--brand-bright); }
.hero-photo-badge .lbl { font-size: 13px; line-height: 1.4; color: rgba(255,255,255,0.82); }
.hero-photo-badge .lbl b { color: #fff; font-weight: 600; }

/* ---- CARROSSEL genérico ---- */
.carousel { position: relative; }
.car-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; -webkit-overflow-scrolling: touch; padding: 4px;
  scrollbar-width: none;
}
.car-track::-webkit-scrollbar { display: none; }
.car-item { flex: 0 0 calc((100% - (var(--per-view, 1) - 1) * 16px) / var(--per-view, 1)); scroll-snap-align: center; }
.car-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 48px; height: 48px; border-radius: 999px; border: none; cursor: pointer;
  background: var(--surface); color: var(--ink); box-shadow: var(--shadow-md);
  display: grid; place-items: center; font-size: 20px; transition: transform var(--dur) var(--ease), background var(--dur);
}
.car-arrow:hover { background: var(--brand); color: #fff; transform: translateY(-50%) scale(1.06); }
.car-arrow.prev { left: -10px; }
.car-arrow.next { right: -10px; }
.car-dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.car-dots button { width: 9px; height: 9px; border-radius: 999px; border: none; cursor: pointer; padding: 0;
  background: var(--line); transition: all var(--dur) var(--ease); }
.dark .car-dots button { background: rgba(255,255,255,0.22); }
.car-dots button.on { background: var(--brand); width: 26px; }
.dark .car-dots button.on { background: var(--brand-bright); }

/* ---- Seção Atleta (carrossel de competições) ---- */
.athlete-slide { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden;
  background: #0C0B14; border: 1px solid rgba(255,255,255,0.08); }
.athlete-slide img { width: 100%; height: clamp(360px, 58vh, 600px); object-fit: contain; display: block; background: #0C0B14; }
.athlete-slide figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 24px 18px;
  display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14.5px; color: #fff;
  background: linear-gradient(transparent, rgba(8,7,15,0.82));
}
.athlete-slide figcaption i { color: var(--brand-bright); font-size: 18px; }
.athlete-carousel .car-arrow { background: rgba(255,255,255,0.92); }

/* ---- Galeria Antes/Depois (Resultados) ---- */
.ba-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  display: flex; flex-direction: column; }
.ba-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.ba-photo { position: relative; background: #ECECEC; }
.ba-photo img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.ba-tags { position: absolute; inset: 0; pointer-events: none; }
.ba-tags span { position: absolute; bottom: 12px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 6px 12px; border-radius: var(--r-pill); color: #fff; }
.ba-tags .a { left: 12px; background: rgba(10,8,23,0.78); }
.ba-tags .d { right: 12px; background: var(--brand); }
.ba-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.ba-card .goalrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ba-card .goal { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand); }
.ba-card .time { font-size: 12.5px; font-weight: 700; color: var(--brand-deep); background: rgba(56,153,63,0.10);
  padding: 4px 10px; border-radius: var(--r-pill); }
.ba-card p { margin: 0; font-size: 14.5px; color: var(--fg-2); line-height: 1.58; }
.ba-who .svc { font-size: 12.5px; color: var(--fg-3); font-weight: 500; }

/* ---- Seção da Clínica ---- */
.clinic-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: stretch; margin-top: 48px; }
.clinic-gallery { min-width: 0; }
.clinic-slide { position: relative; margin: 0; border-radius: var(--r-card); overflow: hidden; box-shadow: var(--shadow-md); }
.clinic-slide img { width: 100%; height: clamp(420px, 62vh, 620px); object-fit: cover; object-position: center; display: block; }
.clinic-slide figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px;
  background: rgba(10,8,23,0.72); color: #fff; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: var(--r-pill); }
.clinic-slide figcaption i { color: var(--brand-bright); }
.clinic-info { display: flex; flex-direction: column; gap: 18px; }
.clinic-reel { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.reel-frame { width: 100%; max-width: 340px; border-radius: var(--r-card); overflow: hidden;
  box-shadow: var(--shadow-md); background: #000; }
.reel-frame iframe { width: 100%; height: 620px; display: block; border: 0; }
.reel-cap { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--fg-2); font-weight: 500; }
.reel-cap i { color: var(--brand); font-size: 18px; }
.clinic-addr { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--fg); font-weight: 500;
  background: var(--surface-2); border-radius: var(--r-md); padding: 14px 16px; }
.clinic-addr i { color: var(--brand); font-size: 20px; flex: none; }

/* ---- Responsivo ---- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-photo { order: -1; justify-self: stretch; width: 100%; max-width: 100%; }
  .hero-content { padding-top: 104px; padding-bottom: 64px; }
  .clinic-grid { grid-template-columns: 1fr; gap: 32px; }
  .clinic-info { align-items: center; text-align: center; }
  .clinic-addr { text-align: left; }
}
@media (max-width: 640px) {
  .hero-content { padding-top: 88px; padding-bottom: 56px; }
  .hero-photo-badge { padding: 10px 14px; gap: 10px; }
  .hero-photo-badge .num { font-size: 34px; }
  .hero-photo-badge .lbl { font-size: 12px; }
  .hero h1 { font-size: clamp(34px, 9vw, 52px); }
}
@media (max-width: 600px) {
  .car-arrow { width: 40px; height: 40px; font-size: 17px; }
  .car-arrow.prev { left: 2px; }
  .car-arrow.next { right: 2px; }
  .athlete-slide img { height: 52vh; }
  .reel-frame iframe { height: 560px; }
}

/* ============================================================
   Athlete Spotlight Carousel + Lightbox
   ============================================================ */

/* track full-bleed */
.athl-carousel { position: relative; }
.athl-track {
  display: flex;
  align-items: center;
  gap: 14px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 56px clamp(28px, 12vw, 220px);
}
.athl-track::-webkit-scrollbar { display: none; }

/* slides */
.athl-item {
  flex: 0 0 210px;
  margin: 0;
  cursor: pointer;
  transform: scale(0.76);
  opacity: 0.42;
  filter: brightness(0.62) saturate(0.65);
  transition: transform 0.42s cubic-bezier(0.4,0,0.2,1),
              opacity  0.42s ease,
              filter   0.42s ease;
  position: relative;
  z-index: 1;
  border-radius: var(--r-card);
  outline: none;
}
.athl-item.adj {
  transform: scale(0.89);
  opacity: 0.65;
  filter: brightness(0.78) saturate(0.82);
}
.athl-item.active {
  transform: scale(1.10);
  opacity: 1;
  filter: none;
  cursor: zoom-in;
  z-index: 3;
}

/* image wrapper */
.athl-img-wrap {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #0C0B14;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.4s, box-shadow 0.4s;
}
.athl-item.active .athl-img-wrap {
  border-color: rgba(69,176,77,0.45);
  box-shadow: 0 0 0 1px rgba(69,176,77,0.22), 0 24px 60px rgba(0,0,0,0.55);
}
.athl-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}
.athl-item.active .athl-img-wrap img { transform: scale(1.04); }

/* zoom hint overlay */
.athl-zoom-hint {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: transparent;
  color: #fff; font-size: 28px;
  opacity: 0;
  transition: opacity 0.22s, background 0.22s;
  pointer-events: none;
}
.athl-item.active:hover .athl-zoom-hint {
  opacity: 1;
  background: rgba(0,0,0,0.30);
}

/* caption */
.athl-item figcaption {
  padding: 10px 4px 2px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.32);
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: color 0.4s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.athl-item.active figcaption { color: rgba(255,255,255,0.88); }
.athl-item figcaption i { color: var(--brand-bright); flex: none; font-size: 13px; }

/* arrows */
.athl-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
  width: 48px; height: 48px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(16,15,26,0.78); backdrop-filter: blur(10px);
  color: #fff; font-size: 20px;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur), border-color var(--dur), transform var(--dur);
}
.athl-arrow:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.08); }
.athl-arrow.prev { left: 14px; }
.athl-arrow.next { right: 14px; }
.athl-arrow:disabled { opacity: 0.25; pointer-events: none; }

/* ---- Lightbox ---- */
.athl-lb {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5,4,14,0.96); backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  animation: fade 0.18s ease;
  padding: 20px;
}
.athl-lb-x {
  position: absolute; top: 18px; right: 18px;
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 20px;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur);
}
.athl-lb-x:hover { background: rgba(255,255,255,0.20); }

.athl-lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08); color: #fff; font-size: 24px;
  display: grid; place-items: center; cursor: pointer;
  transition: background var(--dur), transform var(--dur); z-index: 2;
}
.athl-lb-nav:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-50%) scale(1.06); }
.athl-lb-nav.prev { left: 16px; }
.athl-lb-nav.next { right: 16px; }
.athl-lb-nav:disabled { opacity: 0.22; pointer-events: none; }

.athl-lb-content {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  max-width: min(86vw, 540px);
}
.athl-lb-content img {
  width: 100%; max-height: 80vh;
  object-fit: contain; border-radius: var(--r-card);
  box-shadow: 0 32px 80px rgba(0,0,0,0.7);
  animation: pop 0.28s cubic-bezier(0.34,1.56,0.64,1);
}
.athl-lb-content figcaption {
  display: flex; align-items: center; gap: 9px;
  color: rgba(255,255,255,0.72); font-size: 14px; font-weight: 600;
}
.athl-lb-content figcaption i { color: var(--brand-bright); }
.athl-lb-count {
  margin-left: 10px; font-size: 12px; color: rgba(255,255,255,0.42);
  background: rgba(255,255,255,0.08); padding: 3px 10px; border-radius: 999px;
}

/* responsive */
@media (max-width: 768px) {
  .athl-item { flex: 0 0 160px; }
  .athl-track { padding: 44px 20px; }
  .athl-lb-nav.prev { left: 6px; }
  .athl-lb-nav.next { right: 6px; }
  .athl-lb-content { max-width: 94vw; }
}

/* ============================================================
   MOBILE REFINEMENTS
   ============================================================ */

/* 1. Margem lateral 25px no mobile */
@media (max-width: 880px) {
  .wrap { padding: 0 25px; }
}

/* 2. Nav 10px de padding top/bottom no mobile */
@media (max-width: 880px) {
  .nav-inner { padding: 10px 0; }
  .nav .brand img { height: 36px; }
  /* oculta o botão CTA da nav no mobile — bottom bar assume */
  .nav-cta { display: none !important; }
}

/* 3. Botões grandes não extrapolam a tela no mobile */
@media (max-width: 640px) {
  .btn-lg {
    padding: 16px 22px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
    box-sizing: border-box;
  }
  /* fileiras de CTA viram coluna */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { justify-content: center; }
  /* containers de botão + nota lateral viram coluna */
  .btn-note-row { flex-direction: column; align-items: flex-start; }
  /* todos os containers flex com wrap que têm btn-lg */
  .section .btn-lg + .note-line,
  .section .note-line { margin-top: 10px; }
}

/* 4. Timeline: passos em coluna completa no mobile */
@media (max-width: 520px) {
  .timeline { flex-direction: column; gap: 16px; }
  .timeline .step { flex: 1 1 100%; padding: 0; min-width: 0; }
  .timeline .step .bar { display: none; }
  .timeline .step .dotline { margin-bottom: 12px; }
}

/* 5. Seções com padding menor no mobile */
@media (max-width: 640px) {
  .section { padding: 60px 0; }
  .section.tight { padding: 44px 0; }
  .sec-head .h-sec { margin-top: 14px; }
}

/* 6. Carrossel atleta menor no mobile */
@media (max-width: 480px) {
  .athl-item { flex: 0 0 140px; }
  .athl-track { padding: 40px 14px; }
  .athl-arrow { width: 38px; height: 38px; font-size: 17px; }
  .athl-arrow.prev { left: 8px; }
  .athl-arrow.next { right: 8px; }
}

/* 7. Hero: h1 e textos melhor aproveitados no mobile */
@media (max-width: 640px) {
  .hero .sub { font-size: clamp(16px, 4vw, 20px); }
  .hero p.body { font-size: 15px; }
}

/* 8. Barra fixa no rodapé (mobile only) */
.mob-bar {
  display: none; /* oculto por padrão; visível só no mobile */
}
@media (max-width: 880px) {
  /* oculta o wa-fab — barra inferior assume a função */
  .wa-fab { display: none; }

  .mob-bar {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 48;
    background: rgba(8,7,18,0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.10);
    padding: 12px 20px;
    padding-bottom: max(12px, env(safe-area-inset-bottom, 12px));
    gap: 10px;
    align-items: center;
    transform: translateY(110%);
    transition: transform 0.38s cubic-bezier(0.4,0,0.2,1);
    box-sizing: border-box;
  }
  .mob-bar.mob-bar--visible {
    transform: translateY(0);
  }
  .mob-bar-cta {
    flex: 1 1 auto;
    min-width: 0;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    background: var(--brand);
    color: #fff;
    border: none; cursor: pointer;
    font-family: var(--font-body); font-weight: 600; font-size: 15px;
    padding: 14px 18px;
    border-radius: var(--r-pill);
    white-space: nowrap;
    box-shadow: 0 6px 18px rgba(56,153,63,0.35);
    transition: background var(--dur);
  }
  .mob-bar-cta:hover { background: var(--brand-bright); }
  .mob-bar-cta .arrow-ic {
    width: 26px; height: 26px; border-radius: 999px;
    background: rgba(255,255,255,0.2);
    display: grid; place-items: center; font-size: 12px; flex: none;
  }
  .mob-bar-wa {
    width: 52px; height: 52px; flex: none;
    border-radius: 999px;
    background: #25D366;
    display: grid; place-items: center;
    color: #073d1d; font-size: 26px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(37,211,102,0.35);
    transition: transform var(--dur);
  }
  .mob-bar-wa:hover { transform: scale(1.06); }

  /* garante que o conteúdo não fique escondido atrás da barra */
  body { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   MOBILE — Correções gerais (v2)
   ============================================================ */

/* Nav: sempre com fundo escuro no mobile (logo legível sobre foto) */
@media (max-width: 880px) {
  .nav {
    background: rgba(6,5,14,0.90) !important;
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-inner { padding: 10px 0; }
}

/* Badge-float: esconder no mobile (info duplicada no stat-row) */
@media (max-width: 880px) {
  .badge-float { display: none; }
}

/* Margens laterais padrão 25px no mobile */
@media (max-width: 640px) {
  .wrap { padding: 0 25px; }
}

/* Stat-row: centralizar em coluna única */
@media (max-width: 600px) {
  .stat-row { text-align: center; }
  .stat { border-top: 1px solid var(--line-dark); border-top-width: 2px; padding-top: 22px; }
  .stat:first-child { border-top: none; padding-top: 0; }
  .stat .num { line-height: 1; }
}

/* Botões: evitar overflow horizontal */
@media (max-width: 640px) {
  .btn-lg { padding: 17px 24px; font-size: 16px; max-width: 100%; }
  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; justify-content: center; box-sizing: border-box; }
  .hero .cta-row { flex-direction: column; }
  .hero .cta-row .btn { width: 100%; justify-content: center; }
}

/* Pain CTA: coluna no mobile */
@media (max-width: 640px) {
  .pain-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .pain-cta p { max-width: 100%; }
}

/* Serviços: botão + nota em coluna */
@media (max-width: 640px) {
  .note-line { display: none; }
}

/* Choice grid: 1 coluna em mobile pequeno */
@media (max-width: 540px) {
  .choice-grid { grid-template-columns: 1fr; }
}

/* Timeline: exibir em coluna no mobile */
@media (max-width: 640px) {
  .timeline { flex-direction: column; gap: 16px; }
  .timeline .step { flex: none; min-width: 0; padding: 0; }
  .timeline .step .bar { display: none; }
}


/* Espaçamento entre seções no mobile */
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .section.tight { padding: 52px 0; }
}

/* Hero mobile: ajustar conteúdo */
@media (max-width: 640px) {
  .hero-content { padding: 80px 0 48px; }
  .hero h1 { font-size: clamp(32px, 9vw, 50px); max-width: 100%; }
  .hero .sub { font-size: 17px; max-width: 100%; }
  .hero p.body { font-size: 15.5px; max-width: 100%; }
  .hero-photo-badge { left: 12px; right: 12px; bottom: 12px; }
}

/* Footer mobile: 1 coluna */
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer .col h4 { margin-top: 8px; }
}

/* Reel iframe altura mobile */
@media (max-width: 600px) {
  .reel-frame iframe { height: 480px; }
  .clinic-slide img { height: clamp(280px, 55vw, 400px); }
}

/* Scroll-cue: esconder no mobile */
@media (max-width: 880px) {
  .scroll-cue { display: none; }
}

/* Athl carousel: ajustes mobile */
@media (max-width: 640px) {
  .athl-item { flex: 0 0 160px; }
  .athl-track { padding: 40px 20px; gap: 10px; }
}

/* ============================================================
   MOBILE — Correções v3 (top bar, espaçamento, carrossel, etc.)
   ============================================================ */

/* ── 1. Hero: foto começa ABAIXO da top bar (não por baixo) ── */
@media (max-width: 880px) {
  .hero {
    min-height: calc(100svh - 62px);
    margin-top: 62px;       /* altura da nav */
  }
  .hero-content { padding-top: 32px; padding-bottom: 48px; }
  /* badge inferior fica dentro da foto */
  .hero-photo-badge { left: 12px; right: 12px; bottom: 14px; }
}

/* ── 2. Espaço entre hero e próxima seção ─────────────────── */
@media (max-width: 880px) {
  .hero { margin-bottom: 0; }          /* garante separação limpa */
  #dor.section { padding-top: 72px; }  /* primeira seção após hero */
}

/* ── 3. Badge-float: ocultar em TODAS as telas mobile ──────── */
@media (max-width: 1080px) {
  .badge-float { display: none !important; }
}

/* ── 4. Contadores centralizados ──────────────────────────── */
@media (max-width: 880px) {
  .stat-row {
    justify-items: center;
    text-align: center;
  }
  .stat {
    width: 100%;
    max-width: 320px;
    text-align: center;
    border-top: 2px solid var(--brand);
    border-left: none !important;
    padding: 22px 0 0;
  }
  .stat:first-child { border-top: 2px solid var(--brand); }
  .dark .stat-row .stat { border-top-color: rgba(255,255,255,0.18); }
  .stat .num  { display: block; text-align: center; }
  .stat .lbl  { text-align: center; }
}

/* ── 5. Timeline e dotline: centralizar ──────────────────── */
@media (max-width: 640px) {
  .timeline {
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }
  .timeline .step {
    width: 100%;
    max-width: 320px;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .timeline .step .dotline {
    justify-content: center;
    margin-bottom: 12px;
    width: 100%;
  }
  .timeline .step .knob {
    margin: 0 auto;
    flex: none;
  }
  .timeline .step .bar { display: none; }
  .timeline .step h5 { text-align: center; }
  .timeline .step p   { text-align: center; }
}

/* ── 6. Carrossel atleta: 1 foto centralizada + setas nos lados ── */
@media (max-width: 880px) {
  /* track vira container estático, não mais scroll horizontal */
  .athl-track {
    overflow: visible;
    flex-direction: column;   /* colapsa itens não-ativos */
    padding: 24px 0;
    gap: 0;
    min-height: 0;
  }
  /* esconde todos os itens… */
  .athl-item {
    display: none !important;
    flex: none;
  }
  /* …exceto o ativo, que fica full-width */
  .athl-item.active {
    display: block !important;
    width: calc(100% - 100px); /* espaço das setas */
    margin: 0 auto;
    transform: scale(1) !important;
    opacity: 1 !important;
    filter: none !important;
    cursor: zoom-in;
  }
  .athl-item.active .athl-img-wrap {
    border-color: rgba(69,176,77,0.45);
    box-shadow: 0 0 0 1px rgba(69,176,77,0.22), 0 24px 60px rgba(0,0,0,0.55);
  }
  .athl-item.active figcaption {
    display: flex;
  }
  /* setas absolutas nas laterais da foto */
  .athl-carousel { position: relative; }
  .athl-arrow {
    top: 42%;
    transform: translateY(-50%);
    z-index: 20;
    width: 44px; height: 44px; font-size: 19px;
    background: rgba(12,11,20,0.82);
    border: 1px solid rgba(255,255,255,0.22);
  }
  .athl-arrow:hover {
    background: var(--brand);
    transform: translateY(-50%) scale(1.06);
  }
  .athl-arrow.prev { left: 4px; }
  .athl-arrow.next { right: 4px; }
  /* dots abaixo da foto */
  .car-dots { margin-top: 16px; }
}

/* ── Nav: altura fixa no mobile para margin-top do hero ser precisa ── */
@media (max-width: 880px) {
  .nav { height: 62px; }
  .nav-inner { height: 62px; padding: 0; }
  .hero { margin-top: 62px; }
}

/* ============================================================
   COVERFLOW CAROUSEL (substitui athl-track scroll)
   ============================================================ */
.athl-coverflow {
  position: relative;
  height: 560px;
  overflow: hidden;
}

.athl-cf-item {
  --cf-w: 260px;
  position: absolute;
  left: 50%;
  top: 0;
  height: 100%;
  width: var(--cf-w);
  margin-left: calc(var(--cf-w) / -2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  outline: none;
  user-select: none;
  transition:
    transform 0.52s cubic-bezier(0.34, 1.06, 0.64, 1),
    opacity   0.42s ease;
  will-change: transform, opacity;
}

.athl-cf-item .athl-img-wrap {
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: #0C0B14;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.42);
  transition: border-color 0.45s, box-shadow 0.45s;
}

.athl-cf-item.active .athl-img-wrap {
  border-color: rgba(69,176,77,0.5);
  box-shadow: 0 0 0 1px rgba(69,176,77,0.25), 0 20px 64px rgba(0,0,0,0.62);
}

.athl-cf-item .athl-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.5s ease;
}

.athl-cf-item.active .athl-img-wrap img { transform: scale(1.03); }

.athl-cf-item .athl-zoom-hint {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  color: #fff; font-size: 28px;
  opacity: 0;
  background: transparent;
  transition: opacity 0.22s, background 0.22s;
  pointer-events: none;
}
.athl-cf-item.active:hover .athl-zoom-hint {
  opacity: 1;
  background: rgba(0,0,0,0.28);
}

.athl-cf-item figcaption {
  padding: 10px 4px 0;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.28);
  text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: color 0.4s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.athl-cf-item.active figcaption { color: rgba(255,255,255,0.88); }
.athl-cf-item figcaption i { color: var(--brand-bright); flex: none; font-size: 13px; }

@media (max-width: 900px) {
  .athl-coverflow { height: 460px; }
  .athl-cf-item { --cf-w: 200px; }
}

@media (max-width: 560px) {
  .athl-coverflow { height: 380px; }
  .athl-cf-item { --cf-w: 160px; }
  .athl-arrow { top: 42%; }
}
