/* ============================================================
   Launch one-pager — Light version of the portfolio
   Reuses tokens.css and most of portfolio.css conventions.
   ============================================================ */

/* ---- Language switcher ---- */
html[lang="fr"] .lang-en { display: none; }
html[lang="en"] .lang-fr { display: none; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: var(--radius-2);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  margin-left: auto;
}
.lang-switch button {
  background: transparent;
  color: var(--ink);
  border: 0;
  padding: 6px 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-transform: uppercase;
}
.lang-switch button.active {
  background: var(--ink);
  color: var(--paper);
}
.lang-switch button:not(.active):hover {
  background: var(--paper-2);
}

/* ---- Brand "by Baptiste" tag ---- */
.brand-by {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: .02em;
  margin-left: 8px;
  padding: 2px 6px;
  background: var(--paper-2);
  border: 1px solid var(--border);
  border-radius: 2px;
}

/* ---- Header (compact override) ---- */
.hdr-launch {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 14px 24px;
  background: rgba(244, 241, 234, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

/* ---- Hero (lighter) ---- */
.hero-launch {
  padding: 80px 0 64px;
  border-bottom: 1px solid var(--border);
}
.hero-launch .hero-h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 5.5vw, 64px);
  line-height: .98;
  letter-spacing: -.04em;
  color: var(--ink);
  margin: 0 0 24px;
  max-width: 18ch;
}
.hero-launch .hero-h1 .hl {
  background: var(--signal);
  padding: 0 8px;
  border-radius: 4px;
  display: inline-block;
}
.hero-launch .hero-lead {
  font-size: 18px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 640px;
  margin-bottom: 28px;
}
.hero-launch .price-line {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.hero-launch .price-line strong {
  color: var(--ink);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---- Packs (2 cards) ---- */
.packs-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.packs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}
.pack {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-2);
  position: relative;
  transition: border-color 140ms, box-shadow 140ms;
}
.pack:hover { border-color: var(--border-strong); box-shadow: var(--shadow-3); }
.pack-pop { border-color: var(--ink); box-shadow: var(--shadow-3), 0 0 0 1px var(--ink); }
.pack-badge {
  position: absolute;
  top: -12px;
  left: 28px;
  background: var(--voltage);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: .06em;
  border: 1px solid var(--ink);
  border-radius: 2px;
}
.pack-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-3);
}
.pack-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -.02em;
  margin: 4px 0 0;
  color: var(--ink);
}
.pack-tagline { font-size: 15px; color: var(--ink-3); margin: 0; }
.pack-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
}
.pack-price-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 38px;
  letter-spacing: -.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.pack-price-alt {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
.pack-delivery {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--signal-deep);
  margin-top: -8px;
}
.pack-bullets { list-style: none; padding: 0; margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.pack-bullets li {
  font-size: 14px;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.45;
}
.pack-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 8px;
  border-left: 2px solid var(--signal-deep);
  border-bottom: 2px solid var(--signal-deep);
  transform: rotate(-45deg);
}
.pack-ideal {
  font-size: 13px;
  color: var(--ink-3);
  padding: 12px 14px;
  background: var(--paper-2);
  border-radius: 4px;
  line-height: 1.45;
}
.pack-ideal strong { color: var(--ink); }
.pack .btn { margin-top: auto; }

/* ---- Trust section ---- */
.trust-section {
  padding: 64px 0;
  background: var(--terminal);
  color: var(--terminal-fg);
  border-bottom: 1px solid var(--border);
}
.trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.trust-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.trust-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -.03em;
  color: var(--signal);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.trust-stat-lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  color: var(--terminal-dim);
  text-transform: uppercase;
}
.trust-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--terminal-fg);
  margin: 0 0 16px;
}
.trust-p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--terminal-dim);
  margin: 0;
}

/* ---- How it works ---- */
.how-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.how-step {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.how-n {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -.03em;
  color: var(--signal-deep);
  line-height: 1;
}
.how-h {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  margin: 0;
}
.how-p { font-size: 14px; color: var(--ink-3); line-height: 1.5; margin: 0; }

/* ---- FAQ light ---- */
.faq-section-light { padding: 80px 0; background: var(--paper-2); border-bottom: 1px solid var(--border); }

/* ---- Final CTA ---- */
.cta-section {
  padding: 96px 0;
  background: var(--terminal);
  color: var(--terminal-fg);
  text-align: center;
}
.cta-h {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -.03em;
  line-height: 1.05;
  color: var(--terminal-fg);
  margin: 0 0 16px;
}
.cta-p {
  font-size: 17px;
  color: var(--terminal-dim);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.5;
}
.cta-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-keyword {
  display: inline-block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 13px;
  background: var(--signal);
  color: var(--ink);
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: .08em;
}

/* ---- Footer light ---- */
.footer-light {
  padding: 24px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink-3);
  border-top: 1px solid var(--border);
}
.footer-light a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--ink-4); }
.footer-light a:hover { text-decoration-color: var(--signal); }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .packs-grid, .trust-grid, .how-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
  .trust-section { padding: 64px 0; }
  .how-section { padding: 64px 0; }
  .packs-section { padding: 64px 0; }
  .faq-section-light { padding: 64px 0; }
  .cta-section { padding: 80px 0; }
}

/* ---- Tablet & smaller ---- */
@media (max-width: 720px) {
  /* Header — compact, single row, no CTA shrinkage */
  .hdr-launch { gap: 12px; padding: 12px 16px; }
  .brand-text { font-size: 16px; }

  /* Hero — tighter padding & smaller H1 */
  .hero-launch { padding: 56px 0 48px; }
  .hero-launch .hero-h1 { font-size: clamp(32px, 7vw, 52px); }
  .hero-launch .hero-lead { font-size: 16px; }

  /* Hero CTAs stack full-width */
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; justify-content: center; box-sizing: border-box; }

  /* Price line — one item per row */
  .price-line { flex-direction: column; gap: 8px; }

  /* Trust stats — wrap nicely */
  .trust-stats { gap: 28px; }
  .trust-stat-num { font-size: 36px; }

  /* CTA section buttons stack */
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons .btn { width: 100%; justify-content: center; box-sizing: border-box; }

  /* FAQ — tighter padding-left for the indent */
  .faq-q { grid-template-columns: 32px 1fr 24px; gap: 10px; }
  .faq-a { padding-left: 42px; padding-right: 0; }

  /* Container tighter */
  .container { padding: 0 16px; }
}

/* ---- Phone narrow ---- */
@media (max-width: 480px) {
  /* Header — keep brand + lang + CTA but compact */
  .hdr-launch { gap: 8px; padding: 10px 14px; }
  .brand-by { display: none; }
  .brand-text { font-size: 15px; }
  .hdr-launch .btn-signal {
    margin-left: auto !important;
    padding: 8px 12px;
    font-size: 12px;
  }
  .lang-switch button { padding: 5px 8px; }

  /* Hero photo smaller and centered */
  .hero-photo { width: 160px; align-self: center !important; }
  .hero-photo img { width: 160px; height: 160px; }
  .hero-photo-caption { text-align: center; }

  /* H1 even tighter */
  .hero-launch .hero-h1 { font-size: clamp(28px, 8vw, 40px); }

  /* Hero meta wraps cleanly */
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 4px; }
  .hero-meta > span:nth-child(2) { display: none; }

  /* Pack cards — slightly tighter padding */
  .pack { padding: 24px 20px; }
  .pack-name { font-size: 24px; }
  .pack-price-num { font-size: 32px; }
}

/* ---- Very narrow (iPhone SE-ish) ---- */
@media (max-width: 360px) {
  .hdr-launch .btn-signal { display: none; }
  .brand-text { font-size: 14px; }
}
