/* Landing Wellbi — topo: navegação sticky, hero e benefícios (desktop + @media mobile co-locado). */

/* ── Navegação ── */
.lp-nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.97); backdrop-filter: blur(8px); box-shadow: var(--lp-shadow-nav); }
.lp-nav__inner { max-width: calc(var(--lp-container) + 40px); margin-inline: auto; height: var(--lp-nav-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: clamp(16px, 3.5vw, 100px); }
.lp-nav__logo { display: inline-flex; }
/* gap elastico: com o 5o item ("Explicando a Dor") o menu nao cabe entre ~768px e ~1115px — o .lp-nav__inner
   nao tem flex-wrap nem min-width, entao o excesso transborda em vez de quebrar. jsdom nao computa layout,
   entao isto NAO e testavel no CI: precisa de conferencia visual em 1024 e 1280. */
.lp-nav__links { display: flex; gap: clamp(12px, 2vw, 32px); min-width: 0; }
.lp-nav__links a { font: 500 15px/1.6 var(--lp-font-body); color: var(--lp-text-2); }
.lp-nav__links a:hover { color: var(--lp-primary); }
.lp-nav__actions { display: flex; gap: 12px; }

/* ── Hero ── */
.lp-hero { background: var(--lp-white); padding-block: clamp(32px, 7.4vw, 106px) clamp(72px, 8.33vw, 120px); }
/* coluna do mockup FIXA em 430px: com `auto`, o PNG 2x (860 natural) dita o track e espreme o texto —
   min(430px,100%) não resolve porque percentual em track auto é indefinido */
.lp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; align-items: center; gap: clamp(24px, 4vw, 64px); }
.lp-hero__title { font: 700 clamp(32px, 4.5vw, 64px)/1.12 var(--lp-font-title); color: var(--lp-ink); }
.lp-hl { color: var(--lp-primary); }
.lp-hero__sub { font: 400 18px/1.67 var(--lp-font-body); color: var(--lp-text-2); margin-top: 24px; max-width: 560px; }
.lp-hero__sub strong { font-weight: 600; }
.lp-hero__sub .lp-ink { color: var(--lp-ink); }
.lp-hero__actions { display: flex; align-items: center; gap: 8px; margin-top: 32px; }
.lp-hero__stats { display: flex; flex-wrap: wrap; align-items: stretch; gap: 32px; padding-top: clamp(40px, 6.7vw, 96px); }
.lp-stat__n { font: 700 24px/1.67 var(--lp-font-title); color: var(--lp-ink); }
.lp-stat__l { font: 400 14px/1.49 var(--lp-font-body); color: var(--lp-text-2); }
.lp-stat__divider { width: 1px; background: var(--lp-stat-divider); }
.lp-hero__mockup img { display: block; width: 100%; height: auto; }

/* ── Benefícios (grid 6 colunas: card grande 2 linhas à esquerda; 2 cards à direita; 3 embaixo) ── */
.lp-benefits__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.lp-benefits__cards { display: contents; } /* desktop: os 5 cards entram direto no grid; mobile: vira carrossel */
.lp-card--feature { grid-column: 1 / 4; grid-row: 1 / 3; display: flex; flex-direction: column; padding: 32px; }
.lp-card--feature .lp-card__stat { font: 700 32px/1.6 var(--lp-font-title); color: var(--lp-primary); margin-top: auto; padding-top: 16px; }
.lp-card--feature .lp-card__title--lg { line-height: 1.6; }
.lp-card--b1 { grid-column: 4 / 7; grid-row: 1; }
.lp-card--b2 { grid-column: 4 / 7; grid-row: 2; }
.lp-card--b3 { grid-column: 1 / 3; grid-row: 3; }
.lp-card--b4 { grid-column: 3 / 5; grid-row: 3; }
.lp-card--b5 { grid-column: 5 / 7; grid-row: 3; }

/* ── Mobile (layout do frame 68:4509, 390px) ── */
@media (max-width: 767.98px) {
  .lp-nav__links { display: none; } /* Figma mobile: só logo + ações */
  .lp-nav__inner { height: auto; padding: 12px 16px; }
  .lp-nav__logo img { width: 84px; height: auto; }
  .lp-nav__actions { gap: 8px; }
  .lp-nav__actions .lp-btn--sm { padding: 6px 12px; }

  .lp-hero__grid { grid-template-columns: 1fr; text-align: center; }
  .lp-hero__stats { flex-wrap: nowrap; } /* Figma mobile: os 3 stats numa linha só */
  .lp-hero__title { line-height: 1.25; }
  .lp-hero__sub { font-size: 14px; line-height: 1.6; margin-inline: auto; }
  .lp-hero__actions { flex-direction: column; margin-top: 24px; }
  .lp-hero__actions .lp-btn--primary { width: 100%; }
  .lp-hero__actions .lp-btn--ghost { display: none; } /* Figma mobile remove o botão fantasma */
  .lp-hero__stats { justify-content: space-between; gap: 8px; padding-top: 24px; text-align: left; }
  .lp-stat__n { font-size: 16px; line-height: 1.5; }
  .lp-stat__l { font-size: 12px; }
  .lp-stat__divider { align-self: center; height: 28px; }
  .lp-hero__mockup { display: flex; justify-content: center; }
  .lp-hero__mockup img { width: min(300px, 78vw); }

  .lp-benefits__grid { display: block; }
  .lp-card--feature { padding: 20px; margin-bottom: 16px; }
  .lp-card--feature .lp-card__stat { font-size: 28px; line-height: 1.3; }
  .lp-benefits__cards { display: flex; } /* sobrepõe o display:contents → carrossel do landing-base */
}
