/* =========================================================
   StepClimb — landing page
   Cores da marca: azul #8DB2C1 · grafite #2F2F2F
   ========================================================= */

:root,
[data-theme="dark"] {
  --bg: #17191B;
  --surface: #1F2224;
  --band: #1B1E20;
  --bay: #101213;
  --line: #2E3336;
  --fg: #E9ECEA;
  --muted: #A3ACB0;
  --faint: #8A9599;
  --accent-text: #8DB2C1;
  --strip: #ECEFEC;
  --strip-edge: transparent;
  color-scheme: dark;
}

[data-theme="light"] {
  --bg: #F3F6F7;
  --surface: #FFFFFF;
  --band: #E8EFF2;
  --bay: #DCE6EA;
  --line: #CBD6DA;
  --fg: #1E2124;
  --muted: #4F5A5F;
  --faint: #5F6B70;
  --accent-text: #3F6676;
  --strip: #FFFFFF;
  --strip-edge: #C9D3D7;
  color-scheme: light;
}

/* Cores fixas da marca (iguais nos dois temas) */
:root {
  --brand: #8DB2C1;
  --brand-ice: #B9D2DC;
  --graphite: #2F2F2F;
  --ink: #1B1D1F;
  --ink-muted: #4C5357;
  --on-brand: #17191B;
  --font-sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-cond: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
img, svg { display: block; }
a { color: inherit; }
h1, h2, p { margin: 0; }
strong { font-weight: 700; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }

.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--brand); color: var(--on-brand);
  padding: 10px 16px; border-radius: 4px; z-index: 10; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 16px; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }

.light { font-weight: 200; }
.bold { font-weight: 700; }

/* ---------- Header ---------- */
.header-inner {
  padding-block: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 32px; height: 32px; fill: var(--brand); }
.wordmark { font-size: 22px; letter-spacing: -0.02em; }

.header-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.header-nav > a { text-decoration: none; font-size: 14px; padding: 12px 14px; color: var(--muted); }
.header-nav > a:hover { color: var(--fg); }

.theme-toggle {
  display: flex; align-items: center; gap: 10px;
  height: 44px; padding: 0 16px 0 6px;
  border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--fg);
  font: 500 13px var(--font-sans); cursor: pointer;
}
.theme-icon {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--brand); color: var(--on-brand);
}
.theme-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-sun { display: none !important; }
[data-theme="light"] .icon-moon { display: none !important; }
[data-theme="light"] .icon-sun { display: block !important; }

/* ---------- Tipografia comum ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 18px var(--font-cond); letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow-line { width: 28px; height: 2px; background: var(--brand); }

h1 {
  font-size: clamp(44px, 6.5vw, 92px); line-height: 1; letter-spacing: -0.045em; font-weight: 200;
}
h2 {
  font-size: clamp(34px, 3.2vw, 44px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 300;
}
.lead { max-width: 480px; font-size: 18px; line-height: 1.7; font-weight: 300; color: var(--muted); }

/* ---------- Botões ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.actions-center { justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px; border-radius: 4px;
  font-size: 15px; text-decoration: none;
  transition: transform .15s ease, background-color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: var(--on-brand); font-weight: 600; }
.btn-primary:hover { background: var(--brand-ice); }
.btn-ghost { border: 1px solid var(--line); color: var(--fg); font-weight: 500; }
.btn-ghost:hover { border-color: var(--brand); }

/* ---------- Hero ---------- */
.hero {
  padding-block: 80px 112px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 72px;
}
.hero-copy { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.hero-copy .eyebrow { align-self: flex-start; }

/* ---------- Baia de strips ---------- */
.strip-bay {
  flex: 1 1 540px; min-width: 0;
  background: var(--bay); border: 1px solid var(--line); border-radius: 10px;
  padding: 18px 18px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.bay-header {
  display: flex; justify-content: space-between; padding: 2px 6px 6px;
  font: 600 15px var(--font-cond); letter-spacing: .12em; text-transform: uppercase; color: var(--faint);
}
.strip {
  display: grid; grid-template-columns: 84px minmax(0, 1fr) 110px;
  min-height: 104px; border-radius: 3px; overflow: hidden;
  background: var(--strip); color: var(--ink); text-decoration: none;
  box-shadow: 0 1px 0 rgba(0,0,0,.25), inset 0 0 0 1px var(--strip-edge);
  transition: transform .2s ease, box-shadow .2s ease;
}
.strip:hover { transform: translateX(6px); box-shadow: 0 8px 24px -12px rgba(0,0,0,.5), inset 0 0 0 1px var(--strip-edge); }
.strip-step-1 { margin-left: 28px; }
.strip-step-2 { margin-left: 56px; }

.strip-tab {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 12px 14px; font: 700 14px var(--font-cond); letter-spacing: .1em;
}
.tab-num { font-size: 30px; line-height: 1; }
.tab-blue { background: var(--brand); color: var(--ink); }
.tab-graphite { background: var(--graphite); color: var(--brand); }
.tab-ice { background: var(--brand-ice); color: var(--ink); }

.strip-main {
  display: flex; flex-direction: column; justify-content: center; gap: 4px;
  padding: 12px 22px; border-right: 1px dashed #A9B1B4; min-width: 0;
}
.strip-name { font: 700 34px/1 var(--font-cond); letter-spacing: .03em; text-transform: uppercase; }
.strip-meta { font-size: 13px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.strip-level {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-cond);
}
.level-label { font-size: 13px; font-weight: 600; letter-spacing: .1em; color: var(--ink-muted); }
.level-value { font-size: 32px; font-weight: 700; line-height: 1; }

/* ---------- Sobre ---------- */
.band { background: var(--band); border-block: 1px solid var(--line); }
.about {
  padding-block: 112px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 64px; align-items: center;
}
.readback {
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px;
  padding: 32px; display: flex; flex-direction: column; gap: 22px;
}
.readback-row { display: flex; gap: 16px; align-items: flex-start; }
.readback-row p { font-size: 20px; line-height: 1.5; }
.readback-reply { padding-left: 40px; }
.readback-reply p { font-weight: 300; color: var(--muted); }
.tag { flex: none; font: 700 15px var(--font-cond); letter-spacing: .1em; padding: 4px 10px; border-radius: 3px; }
.tag-solid { background: var(--brand); color: var(--on-brand); }
.tag-outline { border: 1px solid var(--accent-text); color: var(--accent-text); padding: 3px 9px; }

.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy p { font-size: 17px; line-height: 1.75; font-weight: 300; color: var(--muted); }

/* ---------- CTA ---------- */
.cta {
  padding-block: 112px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 32px;
}
.cta h2 { font-size: clamp(44px, 6vw, 80px); line-height: 1; letter-spacing: -0.045em; font-weight: 200; }
.cta h2 strong { color: var(--accent-text); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.footer-inner {
  padding-block: 28px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-size: 13px; font-weight: 300; color: var(--faint);
}
.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--fg); }

/* ---------- Celular ---------- */
@media (max-width: 640px) {
  .container { padding-inline: 16px; }
  .hero { padding-block: 48px 72px; gap: 48px; }
  .strip { grid-template-columns: 64px minmax(0, 1fr) 76px; min-height: 88px; }
  .strip-bay { padding: 14px 12px 16px; }
  .bay-header { font-size: 13px; gap: 12px; white-space: nowrap; }
  .strip-step-1 { margin-left: 12px; }
  .strip-step-2 { margin-left: 24px; }
  .strip-main { padding: 10px 14px; }
  .strip-name { font-size: 26px; }
  .level-value, .tab-num { font-size: 24px; }
  .readback { padding: 22px; }
  .readback-reply { padding-left: 16px; }
  .readback-row p { font-size: 17px; }
  .about, .cta { padding-block: 72px; }
}

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