/* NEXO FITNESS · landing "A linha do nexo" */
:root {
  --ground: #F4F3EE;
  --ink: #141816;
  --muted: #3F4743;
  --muted-2: #4A524D;
  --accent-text: #0B7A52;
  --line: #10B37A;
  --mint: #45E3A2;
  --dark: #121714;
  --dark-text: #EEF2EE;
  --dark-muted: #B9C9C0;
  --dark-soft: #9FB5AA;
  --rule-dark: #2C3530;
  --gutter: clamp(40px, 10vw, 160px);
  --pad-l: clamp(20px, 5vw, 72px);
  --pad-r: clamp(56px, 12vw, 200px);
  --display: "Segoe UI Variable Display", "SF Pro Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --text: "Segoe UI Variable Text", "SF Pro Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video, svg { display: block; }
a { color: var(--accent-text); }
a:hover { color: #075C3D; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }
.connect :focus-visible, .foot :focus-visible, .stage-media :focus-visible, .counter :focus-visible { outline-color: var(--mint); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 20; padding: 12px 16px; border-radius: 8px; background: var(--ink); color: var(--ground); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad-l); padding-right: var(--pad-r); }

/* Header */
.top { position: relative; z-index: 4; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 28px; }
.brand { display: flex; align-items: baseline; gap: 10px; color: var(--ink); text-decoration: none; }
.brand-name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: 0.04em; }
.brand-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.32em; color: var(--accent-text); }
.nav { display: flex; gap: 28px; font-size: 15px; }
.nav a { color: var(--ink); text-decoration: none; padding: 12px 0; }
.nav a:hover { color: var(--accent-text); }
.nav-strong { font-weight: 600; }

/* Type */
.eyebrow { margin: 0 0 28px; font-size: 13px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); }
.eyebrow.accent { color: var(--accent-text); }
.eyebrow.mint, .mint { color: var(--mint); }
.eyebrow.soft, .note.soft { color: var(--dark-soft); }
.display { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.035em; line-height: 0.96; text-wrap: balance; }
.display.xl { font-size: clamp(52px, 8.4vw, 132px); line-height: 0.92; max-width: 11ch; }
.display.l { font-size: clamp(40px, 6vw, 92px); max-width: 14ch; }
.display.m { font-size: clamp(38px, 5.4vw, 80px); font-weight: 700; line-height: 1.02; max-width: 16ch; }
.display.accent { color: var(--accent-text); }
.display.spaced { margin-top: 28px; }
.lead { margin: 36px 0 0; max-width: 34rem; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--muted); }
.body { margin: 28px 0 0; max-width: 32rem; font-size: 18px; line-height: 1.6; color: var(--muted); }
.body.light { color: #D9E3DD; }
.connect .body.light { color: #C5D3CB; }
.note { margin: 18px 0 0; font-size: 13px; color: var(--muted-2); }
.hint { font-size: 14px; color: var(--muted-2); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 44px; }
.btn { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--text); text-decoration: none; cursor: pointer; transition: transform .15s ease, background .2s; }
.btn svg, .counter-btn svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.btn-dark { border: 0; background: var(--ink); color: var(--ground); }
.btn-dark:hover { color: var(--ground); background: #26302B; }
.btn-line { border: 1.5px solid var(--ink); background: transparent; color: var(--ink); }
.btn-line:hover { color: var(--ink); background: rgba(20,24,22,.06); }
.btn:active { transform: translateY(1px); }

/* Sections and the gutter line */
.sec { position: relative; }
.inner { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 112px; }
.gutter { position: absolute; top: 0; right: 0; width: var(--gutter); height: 100%; overflow: visible; pointer-events: none; }
.gutter path { fill: none; stroke: var(--line); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.gutter .seg-mint { stroke: var(--mint); }
.js .gutter { clip-path: inset(0 0 100% 0); }
.js .links { clip-path: inset(0 100% 0 0); }
.js .gutter-top { clip-path: inset(0 0 100% 0); }

.marker { position: absolute; right: calc(var(--gutter) / 2 - 9px); display: flex; flex-direction: row-reverse; align-items: center; gap: 12px; pointer-events: none; }
.hero-marker { top: calc(72% - 9px); }
.end-marker { top: calc(52% - 11px); right: calc(var(--gutter) / 2 - 11px); transition: opacity .5s ease; }
.js .end-marker { opacity: 0; }
.js .end-marker.is-on { opacity: 1; }
.marker-label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.dot { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--line); animation: pulse 2.2s ease-out infinite; }
.dot-l { width: 22px; height: 22px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(16,179,122,.55); } 70% { box-shadow: 0 0 0 18px rgba(16,179,122,0); } 100% { box-shadow: 0 0 0 0 rgba(16,179,122,0); } }

/* Hero */
.hero { min-height: 44rem; min-height: min(100svh, 56rem); display: flex; align-items: center; }
.hero .inner { padding-top: 64px; padding-bottom: 64px; }

/* Scene with film */
.scene { height: 260vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.gutter-top { z-index: 3; height: 100%; }
.stage-intro { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.stage-media { position: absolute; inset: 0; z-index: 2; background: var(--dark); }
.js .stage-media { clip-path: circle(0px at 100% 50%); }
.film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,14,12,.78) 0%, rgba(10,14,12,.25) 55%, rgba(10,14,12,0) 100%); }
.stage-outro { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: center; color: var(--ground); }
.stage-outro .display { max-width: 12ch; font-size: clamp(44px, 6.6vw, 104px); }
.js .stage-outro, .js .film-toggle { opacity: 0; }
.btn-ghost { position: absolute; right: var(--pad-r); bottom: 28px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(244,243,238,.5); border-radius: 999px; background: rgba(10,14,12,.5); color: var(--ground); font: 500 14px var(--text); cursor: pointer; }

/* Feel */
.feel { min-height: 40rem; display: flex; align-items: center; }
.feel .inner { padding-top: 96px; padding-bottom: 96px; }

/* Choose */
.choices { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
.choice { display: block; min-height: 150px; padding: 22px; border: 1.5px solid #C9CCC4; border-radius: 22px; background: transparent; color: var(--ink); text-align: left; font-family: var(--text); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.choice:hover { border-color: var(--ink); }
.choice[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--ground); }
.choice-num { display: block; font-size: 12px; letter-spacing: .16em; opacity: .75; }
.choice-title { display: block; margin-top: 18px; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.choice-line { display: block; margin-top: 6px; font-size: 14px; line-height: 1.4; opacity: .85; }
.rhythm { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; margin-top: 32px; padding: 36px clamp(20px, 3vw, 44px); border-radius: 28px; background: #fff; }
.rhythm-art { flex: 2 1 420px; min-width: 0; }
.rhythm-text { flex: 1 1 240px; min-width: 0; }
.rhythm-text .eyebrow { margin-bottom: 14px; }
.rhythm-caption { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.2; letter-spacing: -.01em; }
.wave { width: 100%; height: 160px; overflow: visible; }
.wave[hidden] { display: none; }
.wave path { fill: none; stroke: var(--line); stroke-width: 4; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.wave.is-drawing { animation: draw 1.4s cubic-bezier(.6,0,.2,1) both; }
@keyframes draw { from { clip-path: inset(-10% 100% -10% 0); } to { clip-path: inset(-10% 0 -10% 0); } }

/* Record */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.chart-card { padding: 32px; border-radius: 28px; background: var(--ink); color: var(--dark-text); }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.chart-head .eyebrow { margin: 0; }
.chart-value { margin: 0; font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -.02em; }
.chart { width: 100%; height: auto; margin-top: 20px; overflow: visible; }
.chart-base { stroke: var(--rule-dark); stroke-width: 1; fill: none; }
.chart-line { fill: none; stroke: var(--mint); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.chart-pt { fill: var(--dark-text); }
.chart-pt.is-last { fill: var(--mint); }
.chart-count { margin: 16px 0 0; font-size: 14px; color: var(--dark-muted); }

/* Connect */
.connect { background: var(--dark); color: var(--dark-text); }
.connect .inner { padding-top: 120px; padding-bottom: 120px; }
.display.narrow { max-width: 14ch; }
.links { width: 100%; height: 220px; margin-top: 56px; overflow: visible; }
.link { fill: none; stroke: #7FA493; stroke-width: 2; vector-effect: non-scaling-stroke; }
.link-main { stroke: var(--mint); stroke-width: 4; stroke-linecap: round; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 32px; }
.people > div { padding-top: 20px; border-top: 1px solid var(--rule-dark); }
.person { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; }
.person-line { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--dark-muted); }
.connect .note { margin-top: 40px; }

/* Care */
.care-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 52px; }
.care-item { padding: 24px; border-radius: 24px; background: #fff; }
.care-item svg { width: 100%; height: 56px; overflow: visible; }
.care-item path { fill: none; stroke: var(--line); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
.care-title { margin: 22px 0 0; font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.care-line { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.care-tag { display: inline-block; margin: 16px 0 0; padding: 4px 12px; border: 1px solid #C9CCC4; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--accent-text); }
.future { margin: 40px 0 0; max-width: 44rem; padding: 18px 22px; border-left: 3px solid var(--line); border-radius: 0 16px 16px 0; background: #fff; font-size: 16px; line-height: 1.6; color: var(--muted); }
.future strong { color: var(--ink); }

/* Conquer */
.goal-card { padding: 32px; border-radius: 28px; background: var(--ink); color: var(--dark-text); }
.goal-steps { position: relative; display: flex; justify-content: space-between; margin: 36px 0 0; padding: 0; list-style: none; }
.goal-steps::before { content: ""; position: absolute; left: 11px; right: 11px; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; background: var(--rule-dark); }
.goal-steps li { position: relative; width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--rule-dark); background: var(--ink); transition: background .3s, border-color .3s; }
.goal-steps li.is-on { border-color: var(--mint); background: var(--mint); }
.goal-status { margin: 24px 0 0; min-height: 3em; font-size: 16px; line-height: 1.5; color: var(--dark-muted); }
.coupon { margin-top: 18px; padding: 20px 22px; border: 2px dashed var(--mint); border-radius: 18px; }
.coupon[hidden] { display: none; }
.coupon .eyebrow { margin-bottom: 8px; }
.coupon-code { margin: 0; font-family: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace; font-weight: 700; font-size: 30px; letter-spacing: .08em; color: var(--dark-text); }
.coupon-line { margin: 6px 0 0; font-size: 14px; color: var(--dark-muted); }
.btn:disabled { cursor: default; opacity: .55; transform: none; }
.partners { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.partners > div { padding-top: 20px; border-top: 1px solid #C9CCC4; }
.partner-kind { margin: 0; font-family: var(--display); font-weight: 700; font-size: 22px; }
.partner-line { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.partner-cta { margin: 36px 0 0; max-width: 44rem; font-size: 16px; line-height: 1.6; color: var(--muted); }
.audiences { margin: 28px 0 0; max-width: 40rem; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* End */
.end { min-height: 38rem; display: flex; align-items: center; }
.end .inner { padding-top: 96px; padding-bottom: 96px; }
.end .display.xl { max-width: 12ch; font-size: clamp(48px, 7.6vw, 120px); }

/* Footer */
.foot { background: var(--ink); color: #C5D3CB; }
.foot-inner { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; padding-top: 48px; padding-bottom: 120px; }
.foot-brand { flex: 1 1 280px; }
.foot-brand .brand-name { font-size: 22px; color: var(--dark-text); }
.foot-brand p { margin: 10px 0 0; font-size: 14px; line-height: 1.6; }
.foot-notes { flex: 2 1 420px; font-size: 14px; line-height: 1.7; }
.foot-notes p { margin: 0 0 8px; }
.foot-notes strong { color: var(--dark-text); }

/* Step counter */
.counter { position: fixed; left: 20px; bottom: 20px; z-index: 10; display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(20,24,22,.92); color: var(--dark-text); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.counter[hidden] { display: none; }
.counter { transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.counter.is-away { opacity: 0; transform: translateY(12px); visibility: hidden; }
.counter-text { margin: 0; font-size: 13px; white-space: nowrap; }
.counter-text strong { font-family: var(--display); font-size: 15px; color: var(--mint); }
.counter-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-left: 8px; border: 0; border-radius: 50%; background: var(--mint); color: var(--ink); cursor: pointer; }
.counter-btn svg { transition: transform .3s ease; }
.counter-btn.is-up svg { transform: rotate(180deg); }

/* Responsive */
@media (max-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .choices { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .people { grid-template-columns: minmax(0, 1fr); }
  .care-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partners { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .partners > div { padding: 18px 0; }
  .inner { padding-top: 80px; padding-bottom: 80px; }
  .connect .inner { padding-top: 88px; padding-bottom: 88px; }
  .scene { height: 220vh; }
}
@media (max-width: 560px) {
  .nav { gap: 18px; }
  .marker-label { display: none; }
  .choice { min-height: 128px; padding: 18px; }
  .choice-title { font-size: 22px; }
  .rhythm-caption { font-size: 22px; }
  .counter { left: 12px; bottom: 12px; padding-left: 14px; }
  .counter-name { display: none; }
  .care-grid { grid-template-columns: minmax(0, 1fr); }
  .goal-card { padding: 24px; }
  .coupon-code { font-size: 24px; }
  .btn-ghost { right: var(--pad-l); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot, .wave.is-drawing { animation: none; }
  .btn, .choice, .counter-btn svg, .goal-steps li { transition: none; }
}
