/* ============================================================
   LANDING PAGE — Strength+ (app)
   Dark editorial + controlled atmosphere.
   Mesma linguagem visual da landing do Strength+ Coach
   (strengthplus-coach/public/index.html + landing.css): tokens,
   nav, hero, faixa de provas, seções numeradas, dark premium.
   Conteúdo e recorte de seções são deste produto (o app), não
   uma cópia 1:1 do coach.
   ============================================================ */

/* ===================== TOKENS ===================== */
:root {
  /* Surfaces */
  --bg: #0b0d0f;
  --surface: #13171c;
  --surface-elevated: #1a1f24;

  /* Ink */
  --ink: #e7edf2;
  --muted: #9fb4c3;
  --dim: rgba(255,255,255, 0.35);

  /* Accents */
  --lime: #b1df01;
  --lime-strong: #d7ff38;
  --lime-dim: rgba(177,223,1, 0.12);
  --teal: #4cd1a5;
  --teal-dim: rgba(76,209,165, 0.12);

  /* Borders */
  --border: rgba(255,255,255, 0.05);
  --border-card: rgba(255,255,255, 0.07);
  --border-lime: rgba(177,223,1, 0.2);

  /* Shadows */
  --shadow-phone: 0 24px 60px rgba(0,0,0,0.45), 0 0 90px rgba(177,223,1,0.05);
  --shadow-cta-hover: 0 12px 28px rgba(177,223,1,0.18);

  /* Spacing */
  --section-y: 100px;
  --section-x: 48px;
  --container: 1120px;
  --gap-section-header: 48px;

  /* Radii */
  --r-card: 12px;
  --r-btn: 10px;
}

/* ===================== RESET ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul, ol { list-style: none; }

/* ===================== TYPOGRAPHY ===================== */
.eyebrow {
  display: inline-block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 10.5px; font-weight: 500; line-height: 1;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--lime);
}

/* Eyebrow em destaque — sinaliza uma seção de diferencial (usada 1x: "profissional") */
.eyebrow--badge {
  background: var(--lime-dim);
  padding: 7px 14px;
  border-radius: 999px;
}

.heading-xl {
  font-family: "Space Grotesk", sans-serif;
  font-size: 42px; font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--ink);
}

.heading-lg {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px; font-weight: 700; line-height: 1.14;
  letter-spacing: -0.025em; color: var(--ink);
}

/* Segunda linha em destaque dentro de um heading (mesmo padrão do H1 do hero) */
.accent-line { display: block; color: var(--lime); margin-top: 2px; }

.body-lg { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted); }

/* ===================== LAYOUT ===================== */
.container {
  width: min(var(--container), calc(100% - var(--section-x) * 2));
  margin: 0 auto;
}

.landing-section {
  padding: var(--section-y) 0;
  position: relative;
}

.landing-section + .landing-section {
  border-top: 1px solid var(--border);
}

.section-header { margin-bottom: var(--gap-section-header); }
.section-header .eyebrow { margin-bottom: 20px; display: block; }
.section-header .heading-lg { margin-bottom: 12px; }
.section-header .body-lg { max-width: 560px; }
.section-header--center { text-align: center; margin-left: auto; margin-right: auto; }
.section-header--center .body-lg { margin-left: auto; margin-right: auto; }

/* ===================== BUTTONS ===================== */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--r-btn);
  background: var(--lime); color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px; font-weight: 600;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover {
  background: var(--lime-strong);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--r-btn);
  background: transparent; color: var(--ink);
  border: 1px solid rgba(255,255,255, 0.14);
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px; font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.btn-ghost:hover {
  border-color: rgba(255,255,255, 0.28);
  background: rgba(255,255,255, 0.03);
}

.btn-nav {
  padding: 8px 18px; border-radius: 8px;
  background: var(--lime); color: var(--bg);
  font-family: "Space Grotesk", sans-serif;
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.btn-nav:hover { background: var(--lime-strong); }

/* ===================== METRIC STRIP ===================== */
.metric-strip {
  display: flex; align-items: stretch; gap: 0;
  margin-top: 40px;
}

.metric-strip__item { flex: 1; text-align: center; padding: 16px 12px; }

.metric-strip__item + .metric-strip__item {
  border-left: 1px solid rgba(255,255,255, 0.04);
}

.metric-strip__label {
  font-size: 11.5px; font-weight: 500; line-height: 1.5;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--muted);
}
.metric-strip__label--lime { color: var(--lime); }
.metric-strip__label--teal { color: var(--teal); }

.metric-strip__value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 17px; font-weight: 600; line-height: 1.3;
  letter-spacing: -0.01em; color: var(--ink);
  margin-top: 6px;
}

/* ===================== HEADER / NAV ===================== */
.landing-nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(11,13,15, 0.85);
  transition: box-shadow 0.3s;
}
.landing-nav.is-scrolled { box-shadow: 0 4px 16px rgba(0,0,0, 0.3); }

.landing-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}

.landing-nav__brand { display: inline-flex; align-items: center; }
.landing-nav__logo { height: 26px; width: auto; display: block; }

.landing-nav__links { display: flex; gap: 28px; }
.landing-nav__links a {
  font-size: 13px; font-weight: 500; color: var(--muted);
  padding: 4px 0; border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.landing-nav__links a:hover { color: var(--ink); }
.landing-nav__links a.is-active { color: var(--ink); border-bottom-color: var(--lime); }

.landing-nav__actions { display: flex; align-items: center; gap: 18px; }
.landing-nav__secondary {
  font-size: 13px; font-weight: 500; color: var(--muted);
  transition: color 0.15s;
}
.landing-nav__secondary:hover { color: var(--ink); }

/* Hamburger */
.landing-nav__toggle {
  display: none; width: 24px; height: 24px;
  position: relative; background: none; border: none; cursor: pointer;
}
.landing-nav__toggle span {
  display: block; width: 20px; height: 1.5px;
  background: var(--ink); position: absolute; left: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
.landing-nav__toggle span:nth-child(1) { top: 6px; }
.landing-nav__toggle span:nth-child(2) { top: 11px; }
.landing-nav__toggle span:nth-child(3) { top: 16px; }
body.nav-open .landing-nav__toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
body.nav-open .landing-nav__toggle span:nth-child(2) { opacity: 0; }
body.nav-open .landing-nav__toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }

/* Mobile drawer */
.landing-nav__mobile {
  display: none; position: fixed; top: 60px; right: 0; bottom: 0;
  width: 280px; max-width: 80vw; background: var(--surface-elevated);
  border-left: 1px solid var(--border);
  padding: 32px 24px;
  flex-direction: column; gap: 22px;
  transform: translateX(100%); transition: transform 0.3s ease;
  z-index: 99; overflow-y: auto;
}
.landing-nav__mobile a {
  display: block; font-size: 15px; font-weight: 500;
  color: var(--muted); padding: 6px 0;
  transition: color 0.15s;
}
.landing-nav__mobile a:hover { color: var(--ink); }
.landing-nav__mobile hr { border: none; border-top: 1px solid var(--border); margin: 4px 0; }

.landing-nav__backdrop {
  display: none; position: fixed; inset: 0; top: 60px;
  background: rgba(0,0,0,0.5); z-index: 98;
  opacity: 0; transition: opacity 0.3s;
  pointer-events: none;
}
body.nav-open .landing-nav__mobile { transform: translateX(0); }
body.nav-open .landing-nav__backdrop { opacity: 1; pointer-events: auto; }

/* ===================== HERO ===================== */
.hero { padding: 76px 0 var(--section-y); position: relative; overflow: hidden; }

.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 720px 520px at 12% 35%, rgba(177,223,1,0.05), transparent 65%),
    radial-gradient(ellipse 420px 320px at 88% 65%, rgba(76,209,165,0.035), transparent 60%);
  pointer-events: none;
}

.hero__grid {
  display: grid; grid-template-columns: 1fr 0.86fr;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}

.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__headline-muted { color: var(--ink); }
.hero__headline-lime { color: var(--lime); }

.hero__sub { font-size: 16px; font-weight: 300; line-height: 1.7; color: var(--muted); max-width: 480px; }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__microcopy { font-size: 12px; color: var(--dim); }

.hero__mockup { position: relative; justify-self: center; width: 100%; max-width: 300px; }
.hero__mockup::before {
  content: ""; position: absolute; inset: -10% -30%; z-index: 0;
  background: radial-gradient(ellipse 60% 55% at 50% 45%, rgba(177,223,1,0.10), transparent 70%);
  pointer-events: none;
}
.hero__mockup img {
  position: relative; z-index: 1;
  width: 100%; height: auto;
  filter: drop-shadow(var(--shadow-phone));
  transition: transform 0.3s ease;
}
.hero__mockup:hover img { transform: translateY(-3px); }

/* ===================== NUMBERED FEATURES ===================== */
.features__list {
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 880px;
}

.features__item {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--border-card);
  align-items: start;
}
.features__item:last-child { border-bottom: none; }

.features__num {
  font-family: "Space Grotesk", sans-serif;
  font-size: 44px; font-weight: 600; line-height: 1;
  color: var(--dim); letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.features__content { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.features__title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 22px; font-weight: 600; line-height: 1.25;
  letter-spacing: -0.015em; color: var(--ink);
}
.features__body {
  font-family: "Manrope", sans-serif;
  font-size: 15px; font-weight: 400; line-height: 1.65;
  color: var(--muted); max-width: 68ch;
}

/* ===================== PAINEL "PROFISSIONAL" ===================== */
.pro { position: relative; }

.pro__panel {
  background: linear-gradient(135deg, rgba(177,223,1,0.035), var(--surface));
  border: 1px solid var(--border-lime);
  border-radius: var(--r-card);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.pro__panel::before {
  content: ""; position: absolute; top: 0; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, transparent, var(--lime), transparent);
}

.pro__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.pro__copy { min-width: 0; }

.pro__checklist-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 4px;
}

.pro__text {
  font-size: 15.5px; line-height: 1.7; color: var(--muted);
  max-width: 56ch;
  margin-top: 20px;
}
.pro__text strong { color: var(--ink); font-weight: 600; }

.pro__checklist {
  display: flex; flex-direction: column; gap: 12px;
  margin: 24px 0 0;
}
.pro__checklist-item {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px; color: var(--ink); line-height: 1.5;
}
.pro__checklist-icon {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; width: 20px; height: 20px; margin-top: -1px;
  color: var(--lime);
  background: var(--teal-dim);
  border-radius: 50%;
}
.pro__checklist-icon svg { width: 12px; height: 12px; }

.pro__visual { justify-self: center; width: 100%; max-width: 260px; }
.pro__visual img { width: 100%; height: auto; filter: drop-shadow(0 20px 44px rgba(0,0,0,0.4)); }

/* ===================== FAQ ===================== */
.faq__list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }

.faq-item { border-bottom: 1px solid var(--border-card); transition: border-color 0.2s ease; }
.faq-item.is-open { border-bottom-color: rgba(177, 223, 1, 0.18); }

.faq-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; background: none; border: none;
  color: var(--ink); font-size: 15.5px; font-weight: 600;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.01em; line-height: 1.4;
  text-align: left; cursor: pointer;
  transition: color 0.15s;
}
.faq-toggle:hover, .faq-toggle:focus-visible { color: var(--lime); outline: none; }
.faq-item.is-open .faq-toggle { color: var(--lime); }

.faq-icon {
  font-size: 22px; font-weight: 300; color: var(--muted);
  transition: transform 0.3s ease, color 0.2s ease;
  flex-shrink: 0; margin-left: 16px; line-height: 1;
}
.faq-item.is-open .faq-icon { transform: rotate(45deg); color: var(--lime); }

.faq-answer { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.35s ease, opacity 0.25s ease; }
.faq-item.is-open .faq-answer { opacity: 1; }
.faq-answer p { padding: 0 0 22px; font-size: 14px; line-height: 1.65; color: var(--muted); }

.faq__footer {
  max-width: 760px; margin: 36px auto 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 13.5px; color: var(--muted);
}
.faq__footer-link { color: var(--lime); font-weight: 600; transition: color 0.15s; }
.faq__footer-link:hover { color: var(--lime-strong); }

/* ===================== CTA FINAL ===================== */
.final { position: relative; overflow: hidden; text-align: center; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 800px 500px at 50% 0%, rgba(177,223,1,0.06), transparent 65%);
  pointer-events: none;
}
.final__inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }

.final__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
}
.final__eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lime); }
.final__eyebrow-text {
  font-family: "Space Grotesk", sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lime);
}

.final__headline { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.final__headline-line { font-family: "Space Grotesk", sans-serif; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
.final__headline-line--mute { color: var(--ink); }
.final__headline-line--accent { color: var(--lime); }

.final__subtext { font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 480px; margin: 0 auto 32px; }

.final__ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.final__reasons {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  flex-wrap: wrap; margin-top: 28px;
}
.final__reason { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); }
.final__reason svg { width: 14px; height: 14px; color: var(--lime); }
.final__reason-divider { width: 3px; height: 3px; border-radius: 50%; background: var(--dim); }

.final__escape { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--border); }
.final__escape-lead { font-size: 13px; color: var(--dim); margin-right: 6px; }
.final__escape-link { font-size: 13px; color: var(--lime); font-weight: 600; }
.final__escape-link:hover { color: var(--lime-strong); }

/* ===================== FOOTER ===================== */
.landing-footer { padding: 56px 0 32px; border-top: 1px solid var(--border); }

.landing-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px; margin-bottom: 36px;
}

.landing-footer__logo { height: 22px; width: auto; display: block; }

.landing-footer__brand p {
  font-size: 13.5px; color: var(--muted); margin-top: 12px; max-width: 300px; line-height: 1.6;
}

.landing-footer__col { display: flex; flex-direction: column; gap: 12px; }
.landing-footer__col-title {
  font-family: "Space Grotesk", sans-serif;
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--lime); margin: 0 0 6px;
}
.landing-footer__col a { font-size: 13.5px; color: var(--muted); transition: color 0.2s ease; }
.landing-footer__col a:hover { color: var(--ink); }

.landing-footer__bottom { padding-top: 22px; border-top: 1px solid var(--border-card); }
.landing-footer__copy { font-size: 12px; color: var(--dim); margin: 0; }

/* ===================== REVEAL ON SCROLL ===================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger > .reveal:nth-child(4) { transition-delay: 240ms; }

.landing-section[id] { scroll-margin-top: 60px; }

/* ===================== TABLET ===================== */
@media (max-width: 1024px) {
  :root { --section-x: 32px; }

  .hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero__copy { align-items: center; }
  .hero__sub { margin: 0 auto; }
  .hero__ctas { justify-content: center; }
  .hero__mockup { max-width: 260px; }

  .features__item { grid-template-columns: 64px minmax(0, 1fr); column-gap: 24px; padding: 28px 0; }
  .features__num { font-size: 36px; }
  .features__title { font-size: 20px; }

  .pro__panel { padding: 36px; }
  .pro__grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .pro__text { margin-left: auto; margin-right: auto; }
  .pro__checklist { align-items: center; }
  .pro__checklist-item { text-align: left; }
  .pro__visual { max-width: 220px; }

  .landing-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .landing-footer__brand { grid-column: 1 / -1; }
}

/* ===================== MOBILE ===================== */
@media (max-width: 768px) {
  :root { --section-y: 64px; --section-x: 22px; }

  /* Nav */
  .landing-nav__links { display: none; }
  .landing-nav__secondary { display: none; }
  .landing-nav__toggle { display: block; }
  .landing-nav__mobile { display: flex; }
  .landing-nav__backdrop { display: block; }

  /* Hero */
  .hero { padding: 40px 0 56px; }
  .heading-xl { font-size: 30px; }
  .hero__ctas { flex-direction: column; align-items: stretch; width: 100%; }
  .hero__ctas .btn-primary, .hero__ctas .btn-ghost { width: 100%; }
  .hero__mockup { max-width: 220px; }

  .metric-strip { flex-direction: column; }
  .metric-strip__item + .metric-strip__item {
    border-left: none; border-top: 1px solid rgba(255,255,255, 0.04);
  }

  .features__item { grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; padding: 22px 0; }
  .features__num { font-size: 26px; }
  .features__title { font-size: 18px; }
  .features__body { font-size: 14px; }

  .pro__panel { padding: 28px 20px; }

  .final__headline-line { font-size: 25px; }
  .final__ctas { flex-direction: column; align-items: stretch; }
  .final__ctas .btn-primary, .final__ctas .btn-ghost { width: 100%; }
  .final__reasons { flex-direction: column; gap: 8px; }
  .final__reason-divider { display: none; }

  .landing-footer__grid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 28px; }
  .landing-footer__brand { grid-column: auto; }
}

/* ===================== REDUCED MOTION ===================== */
@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 0.01s; }
  .reveal-stagger > .reveal { transition-delay: 0ms !important; }
  html { scroll-behavior: auto; }
}
