/* ============================================================
   landing.css — styles des pages publiques (hub + pages produit).

   Sorti d'index.html, qui portait ~4 800 lignes de CSS et de JS en
   ligne : impossible à mettre en cache, impossible à relire. Ce
   fichier est partagé par index.html, ia-startup-founders.html et
   founders-sprint.html.

   Identité conservée (DESIGN.md) : navy #0A0E27, orange #FF5F1F,
   crème #FAF7F0 ; titres en Cormorant Garamond italique, texte en
   Manrope. Le chrome (nav, footer, barre de scroll) vit dans
   chrome.css.

   Animations : CSS + IntersectionObserver, aucune dépendance CDN.
   Le contenu est visible par défaut — la classe `.js` posée par
   landing.js est la seule à masquer les éléments avant révélation,
   donc un échec JS laisse la page lisible.
   ============================================================ */

:root {
  --navy: #0A0E27;
  --navy-deep: #060912;
  --navy-soft: #141A3D;
  --cream: #FAF7F0;
  --cream-warm: #F3EEE3;
  --orange: #FF5F1F;
  --orange-soft: #FF7A40;
  /* L'orange de marque ne fait que 2,84:1 sur le crème : illisible pour
     du petit texte. `--orange-ink` (5,1:1) sert au TEXTE sur fond clair ;
     `--orange` reste pour les aplats, les traits et les fonds navy. */
  --orange-ink: #BC3E08;
  --text: #1A1F36;
  --muted: #5F6779;
  --line: rgba(10, 14, 39, 0.12);
  --line-light: rgba(250, 247, 240, 0.16);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 96px);
  --section-y: clamp(64px, 9vw, 128px);
}

body {
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }

section { padding: var(--section-y) 0; }
section.on-navy { background: var(--navy); color: var(--cream); }
section.on-warm { background: var(--cream-warm); }

/* ---- Typographie ---- */

h1, h2, h3 { font-family: var(--serif); font-style: italic; font-weight: 600;
  line-height: 1.08; margin: 0; }

h1 { font-size: clamp(38px, 6.4vw, 82px); letter-spacing: -0.01em; }
h2 { font-size: clamp(30px, 4.4vw, 52px); }
h3 { font-size: clamp(20px, 2.4vw, 26px); }

.lede { font-size: clamp(16px, 1.9vw, 20px); line-height: 1.6; color: var(--muted);
  max-width: 62ch; }
.on-navy .lede { color: rgba(250, 247, 240, 0.72); }

/* Eyebrow : orange plat + trait, jamais de pastille (CLAUDE.md A.4 §6). */
.eyebrow { display: block; font-family: var(--sans); font-style: normal;
  font-size: 12px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--orange-ink); margin-bottom: 14px; position: relative; padding-left: 40px; }
.on-navy .eyebrow, .hero .eyebrow { color: var(--orange); }
.eyebrow::before { content: ""; position: absolute; left: 0; top: 0.62em;
  width: 28px; height: 1px; background: var(--orange); }

.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lede { margin-top: 14px; }

/* ---- Boutons ---- */

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 26px; border: 1px solid transparent; border-radius: 4px;
  font-family: var(--sans); font-size: 15px; font-weight: 800; line-height: 1;
  text-decoration: none; cursor: pointer; transition: background .18s, color .18s,
  border-color .18s, transform .18s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: var(--navy); }
.btn-primary:hover { background: var(--orange-soft); }
.btn-ghost { border-color: var(--line); color: var(--navy); }
.btn-ghost:hover { border-color: var(--orange); color: var(--orange); }
/* Le héros est sur navy sans porter la classe .on-navy : sans cette
   règle, le bouton fantôme s'y affichait en texte navy sur navy. */
.on-navy .btn-ghost,
.hero .btn-ghost { border-color: var(--line-light); color: var(--cream); }
.on-navy .btn-ghost:hover,
.hero .btn-ghost:hover { border-color: var(--orange); color: var(--orange); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---- Hero ---- */

.hero { position: relative; background: var(--navy); color: var(--cream);
  padding: clamp(120px, 16vw, 190px) 0 clamp(64px, 9vw, 110px); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.26; }
/* Voile : le texte doit rester lisible quelle que soit la photo. */
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, var(--navy) 12%, rgba(10, 14, 39, 0.86) 52%,
    rgba(10, 14, 39, 0.6) 100%); }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: var(--cream); max-width: 17ch; }
.hero .lede { margin: 22px 0 32px; color: rgba(250, 247, 240, 0.78); }
.hero .btn-row { margin-bottom: 34px; }

.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center;
  font-size: 13.5px; color: rgba(250, 247, 240, 0.66); border-top: 1px solid var(--line-light);
  padding-top: 20px; }
.hero-proof strong { color: var(--orange); font-weight: 800; }

/* ---- Cartes format (les 2 produits) ---- */

.formats { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(18px, 2.6vw, 30px); }

.format-card { display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.format-card img { width: 100%; height: 200px; object-fit: cover; display: block; }
.format-body { display: flex; flex-direction: column; flex: 1; padding: 28px 26px 26px; }
.format-card h3 { margin-bottom: 6px; }
.format-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--orange-ink); margin-bottom: 14px; }
.format-card p { font-size: 15px; color: var(--muted); margin: 0 0 20px; }

.format-points { list-style: none; margin: 0 0 24px; padding: 0; font-size: 14.5px; }
.format-points li { position: relative; padding-left: 24px; margin-bottom: 9px; }
.format-points li::before { content: ""; position: absolute; left: 4px; top: 0.55em;
  width: 8px; height: 8px; border: 1.5px solid var(--orange); border-radius: 50%; }

.format-price { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.format-price .amount { font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 34px; color: var(--navy); }
.format-price .was { text-decoration: line-through; color: var(--muted); font-size: 15px; }
.format-price .note { font-size: 13px; color: var(--muted); width: 100%; }
.format-card .btn-row { margin-top: 18px; }
.format-card .btn { flex: 1; }

/* ---- Grilles génériques (profils, promesses, méthode) ---- */

.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(18px, 2.6vw, 34px); }

.tile h3 { margin-bottom: 8px; }
.tile p { font-size: 15px; color: var(--muted); margin: 0; }
.on-navy .tile p { color: rgba(250, 247, 240, 0.7); }
.tile .num { display: block; font-family: var(--serif); font-style: italic;
  font-size: 40px; color: var(--orange-ink); line-height: 1; margin-bottom: 10px; }
.on-navy .tile .num { color: var(--orange); }

.outcomes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.outcome { background: var(--navy); padding: 30px 26px; }
.outcome h3 { color: var(--cream); margin-bottom: 8px; }
.outcome p { font-size: 14.5px; color: rgba(250, 247, 240, 0.7); margin: 0; }

/* ---- Calendrier ---- */

.timeline { border-top: 1px solid var(--line); }
.timeline-row { display: grid; grid-template-columns: 190px 1fr auto; gap: 20px;
  align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--line); }
.timeline-when { font-weight: 800; font-size: 14px; letter-spacing: 0.04em; }
.timeline-what { font-size: 15px; color: var(--muted); }
.timeline-where { font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--orange-ink); white-space: nowrap; }
.timeline-row.soon .timeline-where { color: var(--muted); }

/* ---- Accordéon (programme par bloc) ---- */

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-trigger { width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 22px 0; background: none; border: 0; cursor: pointer;
  font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: clamp(19px, 2.2vw, 25px); color: var(--navy); text-align: left; }
.acc-trigger:hover { color: var(--orange-ink); }
.acc-trigger .chev { flex-shrink: 0; transition: transform .2s; color: var(--orange); }
.acc-trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }
.acc-panel { padding: 0 0 24px; }
.acc-panel[hidden] { display: none; }
.acc-week { display: grid; grid-template-columns: 62px 1fr; gap: 16px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: 15px; }
.acc-week:first-child { border-top: 0; }
.acc-week b { color: var(--orange-ink); font-size: 13px; letter-spacing: 0.05em; }
.acc-week span { color: var(--muted); }

/* ---- Tarifs (page produit) ---- */

.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(16px, 2.4vw, 26px); }
.tier { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 26px 24px; }
.tier.featured { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange); }
.tier-flag { font-size: 11px; font-weight: 800; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--orange-ink); margin-bottom: 10px; min-height: 1em; }
.tier h3 { margin-bottom: 12px; }
.tier .amount { font-family: var(--serif); font-style: italic; font-weight: 600;
  font-size: 40px; color: var(--navy); line-height: 1; }
.tier .was { text-decoration: line-through; color: var(--muted); font-size: 15px;
  margin-left: 8px; }
.tier .sub { font-size: 13px; color: var(--muted); margin: 8px 0 18px; }
.tier ul { list-style: none; margin: 0 0 22px; padding: 0; font-size: 14.5px; }
.tier li { position: relative; padding-left: 22px; margin-bottom: 8px; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 0.5em; width: 9px;
  height: 9px; border-left: 1.5px solid var(--orange); border-bottom: 1.5px solid var(--orange);
  transform: rotate(-45deg); }
.tier .btn { margin-top: auto; }

/* ---- FAQ ---- */

.faq { max-width: 860px; }

/* ---- Équipe ---- */

.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px; }
.member img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  margin-bottom: 12px; }
.member h3 { font-size: 19px; margin-bottom: 2px; }
.member .role { font-size: 13px; color: var(--orange-ink); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.on-navy .member .role { color: var(--orange); }
.member p { font-size: 14px; color: var(--muted); margin: 0; }
.on-navy .member h3 { color: var(--cream); }
.on-navy .member p { color: rgba(250, 247, 240, 0.7); }

/* ---- CTA final ---- */

.cta-final { text-align: center; }
.cta-final h2 { color: var(--cream); margin-bottom: 16px; }
.cta-final .lede { margin: 0 auto 30px; }
.cta-final .btn-row { justify-content: center; }

/* ---- Compteur J- ---- */

.countdown { display: inline-flex; align-items: baseline; gap: 8px;
  font-weight: 800; color: var(--orange-ink); }
.on-navy .countdown, .hero .countdown { color: var(--orange); }
.countdown .n { font-family: var(--serif); font-style: italic; font-size: 1.5em; }

/* ---- Sticky CTA mobile ---- */

.sticky-cta { display: none; }

@media (max-width: 760px) {
  .sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(10, 14, 39, 0.96); border-top: 1px solid var(--line-light); }
  .sticky-cta .btn { flex: 1; padding: 13px 14px; font-size: 14px; }
  .sticky-cta .btn-ghost { border-color: var(--line-light); color: var(--cream); }
  /* Laisse la place à la barre pour ne pas masquer la fin du footer. */
  body { padding-bottom: 74px; }

  .timeline-row { grid-template-columns: 1fr auto; gap: 6px 14px; }
  .timeline-what { grid-column: 1 / -1; }
  .acc-week { grid-template-columns: 54px 1fr; gap: 12px; }
}

/* ---- Révélation au scroll (landing.js) ---- */

.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none;
  transition: opacity .5s ease, transform .5s cubic-bezier(.22, 1, .36, 1); }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.in { opacity: 1; transform: none; transition: none; }
  .btn:hover { transform: none; }
  * { scroll-behavior: auto !important; }
}
