/* Boubool — site produit v4 (comité communication + conversion + DA)
   Direction : adulte, minimaliste, premium — Manrope, un accent teal,
   produit en scène en 3D CSS, grain papier, zéro code « régime ». */

:root {
  --paper: #fafaf7;
  --ink: #0f1b18;
  --ink-2: #5c6b66;
  --ink-3: #9aa6a1;
  --line: #e8eae6;
  --teal: #009888;
  --teal-bright: #22c7b2;
  --dark: #0c1512;
  --food: #34c759;
  --act: #ff2d74;
  --sleep: #6e5cf6;
  --meta: #00c7b5;
  --r-card: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html, body {
  /* le halo du héros et les appareils détourés dépassent du viewport :
     sans ce clip, la page « se balade » horizontalement sur mobile */
  overflow-x: clip;
}
body {
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Grain papier — tue le rendu « template plat » */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.028; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; margin: 0 auto; }

a { color: inherit; }

/* ---------- Navigation ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  /* align-items BASELINE : le bas de l'image β. se pose sur la ligne de
     base du mot — l'alignement ne dépend plus des métriques de police ni
     de l'appareil */
  display: flex; align-items: baseline; gap: 11px;
  /* wordmark dessiné comme le titre display : plus grand, tracking serré
     (17 px / -0.01em faisait « brouillon » à côté du β affiné) */
  font-weight: 800; font-size: 21px; letter-spacing: -0.035em;
  color: var(--ink); text-decoration: none;
}
.beta {
  /* Le β. de l'app, teal #006B5E, SANS fond — régénéré depuis l'icône
     512 px (net sur Retina, le crop de capture d'écran était grossier),
     encre 240×342, bas du point à 276/342. Le bas de l'IMAGE est ancré
     sur la ligne de base (flex baseline) ; translateY(19.3%) =
     (342−276)/342 redescend l'image pour que LE POINT touche la ligne
     de base, le jambage du β descendant dessous comme dans l'app.
     NE PAS revenir à un décalage en px : il variait selon l'appareil. */
  display: block; height: 44px; width: auto;
  transform: translateY(19.3%);
}
.beta.beta-big { width: 96px; height: 96px; border-radius: 26px; margin: 0 auto 26px; object-fit: cover; }
.top nav { display: flex; align-items: center; gap: 26px; }
.top nav a {
  color: var(--ink-2); text-decoration: none;
  font-size: 14px; font-weight: 700;
}
.top nav a:hover { color: var(--ink); }
.top nav a.pill {
  color: var(--paper); background: var(--ink);
  padding: 9px 18px; border-radius: 999px;
}

/* ---------- Typographie ---------- */
.eyebrow {
  font-size: 12px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--teal);
}
h1.display {
  font-size: clamp(46px, 7.5vw, 84px);
  line-height: 1.02; letter-spacing: -0.035em; font-weight: 800;
  margin: 18px 0 22px;
}
h1.display .tick { color: var(--teal); }
h2 {
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08; letter-spacing: -0.03em; font-weight: 800;
  margin-bottom: 16px;
}
.lede { font-size: 19px; color: var(--ink-2); font-weight: 500; }
p.body { color: var(--ink-2); font-weight: 500; }
p + p.body, p.body + p.body { margin-top: 12px; }
.small { font-size: 13.5px; color: var(--ink-3); font-weight: 500; }

/* ---------- Boutons ---------- */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.btn {
  display: inline-block; text-decoration: none; font-weight: 800;
  font-size: 15px; padding: 14px 26px; border-radius: 999px;
  transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.ghost { color: var(--ink); border: 1.5px solid var(--line); background: #fff; }
.under-cta { margin-top: 14px; font-size: 13.5px; color: var(--ink-3); font-weight: 700; letter-spacing: 0.02em; }

/* ---------- Héros ---------- */
.hero { text-align: center; padding: 88px 0 0; }
.hero .lede { max-width: 40em; margin: 0 auto; }

.hero-stage {
  position: relative; margin-top: 58px; padding-bottom: 56px;
  /* plus d'overflow hidden : il tranchait les ombres portées en lignes
     droites (retour utilisateur) — la scène respire, les ombres s'éteignent
     d'elles-mêmes */
}
.hero-stage::before {
  content: ""; position: absolute; inset: 10% -10% -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(0, 152, 136, 0.14), rgba(0, 152, 136, 0.05) 55%, transparent 75%);
}
/* Ombre au sol, détachée de l'appareil */
.hero-stage .ground {
  position: absolute; bottom: 26px; left: 50%;
  width: 460px; height: 70px; transform: translateX(-46%) rotate(-2deg);
  background: radial-gradient(ellipse, rgba(15, 27, 24, 0.14), transparent 62%);
  filter: blur(22px);
}
.hero-stage .iphone-3d {
  position: relative; display: block; margin: 0 auto;
  width: min(440px, 92vw);
  filter: drop-shadow(0 50px 80px rgba(15, 27, 24, 0.30));
}
/* La Watch Ultra — rendu 3D réel, détouré. L'OMBRE EST INCRUSTÉE DANS LE
   PNG (2026-09-21) : filter: drop-shadow + rotate produisait des ombres
   fantômes sur Safari iOS (« gros problème de transparence ») — plus
   aucun filtre CSS sur la montre. */
.watch-3d {
  display: block;
}
.hero-stage .hero-watch {
  /* La montre CHEVAUCHE le flanc droit de l'iPhone (demande utilisateur) —
     ancrée au centre de la scène pour que le recouvrement soit identique
     à toutes les largeurs ; légère rotation + ombre plus proche pour la
     poser DEVANT le téléphone */
  position: absolute; left: calc(50% + 82px); bottom: 4px;
  width: 262px; z-index: 2;
  transform: rotate(4.5deg);
}
.dark-band .band-watch {
  width: min(380px, 76vw); margin: 0 auto;
}

/* ---------- Sections ---------- */
section.block { padding: 110px 0; }
section.block.tight { padding: 80px 0; }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Pour qui */
.whofor { border-top: 1px solid var(--line); }
.whofor .inner { max-width: 760px; margin: 0 auto; text-align: center; }
.whofor .lede strong { color: var(--ink); }

/* Les trois leviers */
.levers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lever {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 30px 26px 28px; position: relative; overflow: hidden;
}
.lever::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.lever.food::before { background: var(--food); }
.lever.act::before { background: var(--act); }
.lever.sleep::before { background: var(--sleep); }
.lever .num {
  display: block; margin-bottom: 18px;
  font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums;
  color: transparent; -webkit-text-stroke: 1.2px var(--ink-3);
}
.lever h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.lever p { color: var(--ink-2); font-weight: 500; font-size: 15.5px; }

.result-strip {
  margin-top: 40px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 26px 30px;
  display: flex; gap: 22px; align-items: baseline; flex-wrap: wrap;
  border-left: 4px solid var(--meta);
}
.result-strip strong { font-size: 19px; letter-spacing: -0.02em; }
.result-strip span { color: var(--ink-2); font-weight: 500; }

/* Le produit vivant : texte + pile de fragments réels */
.feature {
  display: grid; grid-template-columns: 1fr 1.05fr;
  gap: 72px; align-items: center;
}
.shot-stack { display: grid; gap: 18px; max-width: 560px; }
.shot img, .shot-stack img {
  display: block; width: 100%;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 27, 24, 0.14);
  border: 1px solid var(--line);
  background: #fff;
}
.shot-stack figure:nth-child(2) { transform: translateX(26px); }
.shot-stack figcaption, .shot figcaption {
  margin-top: 10px; font-size: 12.5px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3);
}

/* Anti-yoyo : la courbe assise dans une carte */
.yoyo-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 40px 36px 28px; margin-top: 44px;
}
.yoyo-svg { width: 100%; height: auto; display: block; margin-bottom: 14px; }
.legend { display: flex; gap: 26px; justify-content: center; }
.legend span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); display: flex; align-items: center; gap: 8px; }
.legend i { width: 22px; height: 3px; border-radius: 2px; display: inline-block; }
.legend .l1 { background: #c9cfcb; }
.legend .l2 { background: var(--teal); }

/* Prix */
.price-card {
  max-width: 640px; margin: 0 auto; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 46px 40px;
}
.price-card .big {
  font-size: clamp(24px, 3.4vw, 34px); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 14px;
}
.price-card .big em { font-style: normal; color: var(--teal); }

/* GLP-1 */
.glp {
  background: #fff; border: 1px solid var(--line);
  border-left: 4px solid var(--sleep); border-radius: var(--r-card);
  padding: 34px 32px; max-width: 820px; margin: 0 auto;
}
.glp h3 { font-size: 24px; letter-spacing: -0.02em; margin-bottom: 10px; }

/* Bande sombre — la montre */
.dark-band { background: var(--dark); color: #f2f5f3; }
.dark-band .eyebrow { color: var(--teal-bright); }
.dark-band p.body { color: #97a5a0; }
.dark-band .feature { align-items: center; }

/* Deux colonnes sobres */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-card); padding: 34px 32px;
}
.panel h3 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }
.refus { list-style: none; margin-top: 6px; }
.refus li {
  display: flex; gap: 12px; padding: 9px 0; font-weight: 600; font-size: 15.5px;
  border-bottom: 1px solid var(--line);
}
.refus li:last-child { border-bottom: 0; }
.refus li::before { content: "—"; color: var(--ink-3); font-weight: 800; }

/* CTA final */
.finale { text-align: center; padding: 110px 0 100px; }
.finale h2 { font-size: clamp(34px, 5vw, 56px); }

/* Apparition au scroll (progressif ; fallback = état final) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .lever, .shot-stack figure, .panel, .price-card, .glp {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(24px); }
      to { opacity: 1; transform: translateY(0); }
    }
  }
}

/* ---------- Pied ---------- */
footer { border-top: 1px solid var(--line); padding: 40px 0 60px; }
footer .container { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
footer a { color: var(--ink-2); text-decoration: none; font-size: 14px; font-weight: 700; }
footer a:hover { color: var(--ink); }
footer .fine { color: var(--ink-3); font-size: 13px; font-weight: 500; max-width: 46em; }

.updated { color: var(--ink-3); font-size: 13px; margin-top: 6px; }

/* ---------- Pages légales ---------- */
main.legal { max-width: 760px; margin: 0 auto; padding: 26px 24px 80px; }
main.legal h1 { font-size: 34px; letter-spacing: -0.03em; margin: 24px 0 8px; }
main.legal h2 { font-size: 21px; margin: 30px 0 8px; }
main.legal p, main.legal li { color: var(--ink-2); font-weight: 500; }
main.legal ul { margin: 8px 0 8px 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  section.block { padding: 72px 0; }
  .hero { padding-top: 60px; }
  .hero-stage { margin-top: 40px; padding-bottom: 36px; }
  /* Mobile : iPhone réduit et montre CONSERVÉE en chevauchement,
     aux mêmes proportions que le desktop (retour utilisateur) */
  .hero-stage .iphone-3d { width: 68vw; }
  .hero-stage .hero-watch {
    display: block;
    width: 40vw; left: calc(50% + 12vw); bottom: -4px;
  }
  .hero-stage .ground { width: 64vw; height: 44px; }
  .levers { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; gap: 36px; }
  .shot-stack figure:nth-child(2) { transform: none; }
  .duo { grid-template-columns: 1fr; }
  .top nav a:not(.pill) { display: none; }
}
