/* ══════════════════════════════════════════════════════════════════════
   landing.css — TopPopote · Landing v2 (visiteur)
   Design system : Night Kitchen (tokens var(--…) de night_kitchen.css)

   Portée : tout est scopé sous .lv2 pour ne pas fuir sur la navbar / le
   footer globaux du site (le CSS est chargé sur une page qui les contient).

   Thèmes : dark par défaut, surcharges [data-theme="light"] .lv2 …
   Zones verrouillées (texte blanc forcé) : uniquement sur photo de fond
   ou surface toujours sombre (premium-shell) — commentées explicitement.
   ══════════════════════════════════════════════════════════════════════ */


/* ══ Base ══════════════════════════════════════════════════════════════ */
.lv2 {
  /* Le fond et l'anti-débordement du mockup (html,body) sont portés ici :
     la page a déjà la navbar/footer du site. */
  background: var(--bg-page);
  color: var(--text-primary);
  overflow-x: clip;
  font-family: 'DM Sans', sans-serif;
}
.lv2 img { display: block; }
.lv2 a { text-decoration: none; color: inherit; }

.lv2 .wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

.lv2 section { padding: 72px 0; }


/* ══ Voix typographique ═══════════════════════════════════════════════ */
.lv2 .kicker {
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700;
  color: var(--text-label); text-transform: uppercase; letter-spacing: 2.5px;
  display: flex; align-items: center; gap: 12px;
}
.lv2 .kicker::before { content: ''; width: 28px; height: 1px; background: rgba(52,211,153,0.4); }

.lv2 .display {
  font-family: 'Playfair Display', serif; font-weight: 900;
  color: var(--text-primary); letter-spacing: -0.5px; line-height: 1.08; margin: 0;
}
.lv2 .display em { font-style: italic; font-weight: 400; color: var(--g1); }

.lv2 .lede {
  font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 400;
  color: var(--text-secondary); line-height: 1.75; margin: 0;
}


/* ══ Boutons ══════════════════════════════════════════════════════════ */
.lv2 .btn-primary {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px; border-radius: 999px; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--g1), var(--g2));
  color: var(--on-accent);
  font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 800;
  box-shadow: var(--shadow-green); transition: all var(--tr); white-space: nowrap;
}
.lv2 .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(52,211,153,0.42); }

.lv2 .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  background: var(--bg-element); border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: 'Poppins', sans-serif; font-size: 12.5px; font-weight: 700;
  transition: all var(--tr); white-space: nowrap;
}
.lv2 .btn-ghost:hover { background: var(--bg-element-hov); color: var(--text-primary); border-color: var(--border-accent); }


/* ══ Badge durée — pilule glacée SUR photo ════════════════════════════
   Fond verrouillé volontairement — texte blanc/vert forcé OK (sur photo) */
.lv2 .badge-time {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(4,18,10,0.72);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(52,211,153,0.28);
  font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; color: var(--g1);
  white-space: nowrap;
}
.lv2 .badge-time svg { flex-shrink: 0; }


/* ══ Hero — cinématique ═══════════════════════════════════════════════ */
.lv2 .hero { position: relative; padding: 160px 0 100px; }
.lv2 .hero-glow {
  position: absolute; top: -250px; left: -200px; width: 900px; height: 900px;
  background: radial-gradient(circle, var(--glow-green) 0%, transparent 60%);
  pointer-events: none;
}
.lv2 .hero-inner { position: relative; min-height: 680px; display: flex; align-items: center; }
.lv2 .hero-copy { position: relative; z-index: 2; max-width: 780px; padding: 30px 0; }
.lv2 .hero h1 {
  font-size: clamp(50px, 5.8vw, 84px); margin: 26px 0 28px; letter-spacing: -2px;
  line-height: 1.02; text-shadow: 0 4px 40px rgba(4,16,9,0.55);
}
.lv2 .hero-copy .lede { max-width: 500px; text-shadow: 0 2px 18px rgba(4,16,9,0.65); }
.lv2 .hero-ctas { display: flex; align-items: center; gap: 14px; margin-top: 38px; flex-wrap: wrap; }
.lv2 .hero-proof {
  margin-top: 22px; display: flex; align-items: center; gap: 8px;
  font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: rgba(255,255,255,0.55);
}
.lv2 .hero-proof svg { color: var(--g1); flex-shrink: 0; }

.lv2 .hero-figure {
  position: absolute; top: -10px; right: -72px; width: 58%; height: 690px; margin: 0; z-index: 0;
  border-radius: 34px; overflow: hidden;
  border: 1px solid rgba(52,211,153,0.14);
  box-shadow: 0 50px 110px rgba(0,0,0,0.60);
}
/* Le <a> optionnel qui enveloppe la photo doit remplir la figure */
.lv2 .hero-figure > a { display: block; width: 100%; height: 100%; }
.lv2 .hero-img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); will-change: transform; }
.lv2 .hero-veil {
  position: absolute; inset: 0; pointer-events: none; background:
    linear-gradient(97deg, var(--bg-page) 0%, rgba(5,14,8,0.85) 18%, rgba(5,14,8,0.45) 34%, rgba(5,14,8,0.10) 60%, rgba(5,14,8,0.30) 100%),
    linear-gradient(to top, rgba(5,14,8,0.82) 0%, transparent 44%);
}
/* Carte légende SUR la photo — Fond verrouillé volontairement — texte blanc forcé OK */
.lv2 .hero-caption {
  position: absolute; right: 26px; bottom: 26px; width: min(440px, calc(100% - 52px));
  background: rgba(3,18,10,0.82);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(52,211,153,0.18); border-radius: 18px;
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
}
.lv2 .hero-caption::before { content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 1px; background: var(--accent-line); opacity: 0.6; }
.lv2 .hero-caption-body { flex: 1; }
.lv2 .hero-caption-type { font-family: 'Poppins', sans-serif; font-size: 8.5px; font-weight: 700; color: var(--text-label); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 4px; }
.lv2 .hero-caption-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 700; color: #fff; line-height: 1.25; } /* Fond verrouillé volontairement — texte blanc forcé OK */


/* ══ Bande de stats ═══════════════════════════════════════════════════ */
/* display/border-radius/overflow : neutralisent le composant .stats de DaisyUI
   (styles.css global de base.html) qui pose inline-grid + radius */
.lv2 .stats { display: block; border-radius: 0; overflow: visible; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-card-subtle); }
.lv2 .stats-row { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.lv2 .stat { padding: 52px 24px; text-align: center; position: relative; }
.lv2 .stat + .stat::before { content: ''; position: absolute; left: 0; top: 28px; bottom: 28px; width: 1px; background: var(--border); }
.lv2 .stat-num { font-family: 'Playfair Display', serif; font-size: clamp(60px, 6vw, 84px); font-weight: 900; color: var(--text-primary); line-height: 1; letter-spacing: -1.5px; font-variant-numeric: tabular-nums; }
.lv2 .stat-num em { font-style: italic; font-weight: 400; color: var(--g1); }
.lv2 .stat-lbl { font-family: 'Poppins', sans-serif; font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 2px; margin-top: 16px; }


/* ══ Mosaïque ═════════════════════════════════════════════════════════ */
.lv2 .mosaic-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.lv2 .mosaic-head h2 { font-size: 40px; margin: 18px 0 0; }
.lv2 .mosaic-cta { flex-shrink: 0; }
.lv2 .mosaic-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 16px; }

.lv2 .dish {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid rgba(52,211,153,0.10);
  background: #06160e; /* base sombre décorative derrière la photo lazy */
  cursor: pointer; transition: transform .4s cubic-bezier(.2,0,0,1), box-shadow .4s ease, border-color .3s ease;
}
.lv2 .dish:hover { transform: translateY(-5px); border-color: rgba(52,211,153,0.30); box-shadow: 0 24px 56px rgba(0,0,0,0.55); }
.lv2 .dish-link { display: block; height: 100%; }
.lv2 .dish img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.lv2 .dish:hover img { transform: scale(1.03); }
.lv2 .dish-ov { position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,16,9,0.92) 0%, rgba(4,16,9,0.25) 45%, transparent 70%); pointer-events: none; }
.lv2 .dish-time { position: absolute; top: 13px; right: 13px; }
/* Métadonnées SUR la photo — Fond verrouillé volontairement — texte blanc forcé OK */
.lv2 .dish-meta { position: absolute; left: 18px; right: 18px; bottom: 16px; }
.lv2 .dish-type { font-family: 'Poppins', sans-serif; font-size: 8.5px; font-weight: 700; color: var(--g1); text-transform: uppercase; letter-spacing: 1.8px; margin-bottom: 5px; }
.lv2 .dish-title { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: #fff; line-height: 1.25; text-wrap: pretty; }
.lv2 .dish--feature { grid-column: span 2; grid-row: span 2; }
.lv2 .dish--feature .dish-title { font-size: 30px; font-weight: 900; }
.lv2 .dish--feature .dish-type { font-size: 9.5px; }
.lv2 .dish--feature .dish-meta { left: 26px; right: 26px; bottom: 24px; }
.lv2 .dish--wide { grid-column: span 2; }


/* ══ Respiration panoramique — SUR photo ══════════════════════════════ */
.lv2 .pano { position: relative; height: 40vh; min-height: 340px; padding: 0; overflow: hidden; }
.lv2 .pano img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); will-change: transform; }
.lv2 .pano-ov { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(4,16,9,0.78), rgba(4,16,9,0.42) 50%, rgba(4,16,9,0.78)); }
/* Fond verrouillé volontairement — texte blanc forcé OK (citation sur photo) */
.lv2 .pano-quote {
  position: relative; z-index: 1; height: 100%; margin: 0; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: 'Playfair Display', serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.4vw, 46px); color: #fff; letter-spacing: -0.5px;
  text-shadow: 0 2px 30px rgba(4,16,9,0.7);
}


/* ══ Brigade ══════════════════════════════════════════════════════════ */
.lv2 .brigade { position: relative; }
.lv2 .brigade-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 72px; align-items: center; }
.lv2 .brigade h2 { font-size: 40px; margin: 18px 0 20px; }
.lv2 .steps { display: flex; flex-direction: column; gap: 8px; margin-top: 34px; }
/* text-align/min-width + pseudos : neutralisent le composant .step de DaisyUI
   (styles.css global) qui centre le texte et injecte barre + pastille compteur */
.lv2 .step { display: flex; gap: 18px; align-items: flex-start; text-align: left; min-width: 0; padding: 18px; border-radius: 18px; border: 1px solid transparent; transition: all var(--tr); }
.lv2 .step::before,
.lv2 .step::after { content: none; }
.lv2 .step:hover { background: var(--bg-card-subtle); border-color: var(--border); transform: translateX(6px); }
.lv2 .step-ico { width: 44px; height: 44px; border-radius: 13px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.20); color: var(--g1); transition: transform var(--tr); }
.lv2 .step:hover .step-ico { transform: scale(1.1) rotate(-5deg); }
.lv2 .step-title { font-family: 'Poppins', sans-serif; font-size: 14.5px; font-weight: 800; color: var(--text-primary); margin: 2px 0 5px; }
.lv2 .step-sub { font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-secondary); line-height: 1.65; margin: 0; }

/* Duo de photos — .brigade-photo-main = pavlova (ex .bp-a) ;
   l'<img> nue enfant direct = ratatouille (ex .bp-b) */
.lv2 .brigade-photos { position: relative; height: 560px; }
.lv2 .brigade-photo-main,
.lv2 .brigade-photos > img {
  position: absolute; border-radius: 26px; overflow: hidden;
  border: 1px solid rgba(52,211,153,0.14); box-shadow: 0 30px 70px rgba(0,0,0,0.5);
}
.lv2 .brigade-photo-main { top: 0; right: 0; width: 72%; height: 66%; }
.lv2 .brigade-photo-main a { display: block; width: 100%; height: 100%; }
.lv2 .brigade-photo-main img { width: 100%; height: 100%; object-fit: cover; }
.lv2 .brigade-photo-main .badge-time { position: absolute; top: 12px; right: 12px; }
.lv2 .brigade-photos > img { bottom: 0; left: 0; width: 55%; height: 48%; object-fit: cover; box-shadow: 0 30px 70px rgba(0,0,0,0.65); }

/* Frise des 20 grades — pièce signature */
.lv2 .frise {
  margin-top: 72px; padding: 38px 48px 122px; border-radius: 26px;
  background: var(--bg-card-subtle); border: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.lv2 .frise::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--accent-line); opacity: 0.55; }
.lv2 .frise-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.lv2 .frise-title { font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 700; color: var(--text-primary); margin: 0; }
.lv2 .frise-title em { font-style: italic; font-weight: 400; color: var(--g1); }
.lv2 .frise-note { font-family: 'DM Sans', sans-serif; font-size: 12px; color: rgba(255,255,255,0.50); margin: 0; }
.lv2 .frise-note strong { color: rgba(255,255,255,0.75); font-weight: 600; }
.lv2 .frise-rail { position: relative; height: 6px; border-radius: 999px; background: var(--bg-element); }
.lv2 .frise-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--g3), var(--g1)); transition: width 2.4s cubic-bezier(.3,.1,.25,1); }
.lv2 .frise.lit .frise-fill { width: 100%; }
.lv2 .frise-ticks { position: absolute; left: 0; right: 0; top: 50%; display: flex; justify-content: space-between; }
.lv2 .frise-tick { position: relative; width: 0; display: flex; justify-content: center; }
.lv2 .frise-dot {
  width: 9px; height: 9px; border-radius: 999px; flex-shrink: 0;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.10);
  transform: translateY(-50%);
  transition: background .35s ease, border-color .35s ease, box-shadow .35s ease;
  transition-delay: calc(var(--i) * 115ms);
}
.lv2 .frise.lit .frise-dot { background: var(--g1); border-color: var(--g1); }
.lv2 .frise.lit .frise-tick:last-child .frise-dot { box-shadow: 0 0 12px rgba(52,211,153,0.65), 0 0 0 4px rgba(52,211,153,0.12); }
.lv2 .frise-name {
  position: absolute; top: 15px; left: 50%;
  transform: rotate(33deg); transform-origin: left top;
  white-space: nowrap;
  font-family: 'Poppins', sans-serif; font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,0.50); letter-spacing: 0.5px;
  transition: color .3s ease;
}
.lv2 .frise-tick:hover .frise-name { color: var(--text-primary); }
/* Jalons — lisibles en permanence, à l'horizontale au-dessus du rail */
.lv2 .frise-tick.is-milestone .frise-name {
  top: -36px; transform: translateX(-50%); transform-origin: center;
  font-size: 10px; font-weight: 800; color: rgba(255,255,255,0.92);
  text-transform: uppercase; letter-spacing: 1.3px;
}
.lv2 .frise-tick.is-milestone .frise-dot { width: 11px; height: 11px; }
.lv2 .frise-tick:last-child .frise-name { color: var(--g1); }


/* ══ Premium ══════════════════════════════════════════════════════════
   La premium-shell est verrouillée SOMBRE dans les deux thèmes (vitrine
   premium dramatique) : tout son contenu reste en encre claire.
   Fond verrouillé volontairement — texte blanc forcé OK. */
.lv2 .premium { position: relative; }
.lv2 .premium-shell {
  position: relative; border-radius: 36px; overflow: hidden;
  background: linear-gradient(170deg, rgba(9,34,20,0.92) 0%, rgba(3,14,8,0.98) 60%);
  border: 1px solid rgba(52,211,153,0.20);
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  padding: 72px 64px 64px;
}
.lv2 .premium-shell::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--accent-line); }
.lv2 .premium-shell::after { content: ''; position: absolute; top: -320px; left: 50%; transform: translateX(-50%); width: 1000px; height: 600px; background: radial-gradient(ellipse, rgba(52,211,153,0.10) 0%, transparent 65%); pointer-events: none; }
.lv2 .premium-head { text-align: center; max-width: 660px; margin: 0 auto 52px; position: relative; z-index: 1; }
.lv2 .premium-head .kicker { justify-content: center; }
.lv2 .premium-head .kicker::after { content: ''; width: 28px; height: 1px; background: rgba(52,211,153,0.4); }
.lv2 .premium-head h2 { font-size: 42px; margin: 20px 0 16px; }
.lv2 .powers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; z-index: 1; }
.lv2 .power {
  padding: 26px 24px; border-radius: 20px;
  background: rgba(255,255,255,0.025); border: 1px solid var(--border-subtle);
  transition: all var(--tr);
}
.lv2 .power:hover { background: rgba(52,211,153,0.05); border-color: rgba(52,211,153,0.22); transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,0,0,0.22); }
.lv2 .power-ico { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(52,211,153,0.10); border: 1px solid rgba(52,211,153,0.22); color: var(--g1); margin-bottom: 16px; transition: transform var(--tr); }
.lv2 .power:hover .power-ico { transform: scale(1.12); }
.lv2 .power-title { font-family: 'Poppins', sans-serif; font-size: 13.5px; font-weight: 800; color: #fff; margin: 0 0 7px; }
.lv2 .power-sub { font-family: 'DM Sans', sans-serif; font-size: 12.5px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* Tarifs */
.lv2 .plans { display: grid; grid-template-columns: 1fr 1.15fr; gap: 18px; max-width: 860px; margin: 52px auto 0; position: relative; z-index: 1; align-items: stretch; }
.lv2 .plan { border-radius: 24px; padding: 34px 32px; display: flex; flex-direction: column; transition: transform var(--tr), box-shadow var(--tr); }
.lv2 .plan:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(0,0,0,0.24); }
.lv2 .plan-free { background: rgba(255,255,255,0.02); border: 1px solid var(--border-subtle); }
.lv2 .plan-premium {
  background: linear-gradient(165deg, rgba(52,211,153,0.10) 0%, rgba(3,18,10,0.6) 70%);
  border: 1px solid rgba(52,211,153,0.35); position: relative; overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 4px rgba(52,211,153,0.05);
}
.lv2 .plan-premium::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--accent-line); }
.lv2 .plan-name { font-family: 'Poppins', sans-serif; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.2px; }
.lv2 .plan-free .plan-name { color: var(--text-muted); }
.lv2 .plan-premium .plan-name { color: var(--g1); display: flex; align-items: center; gap: 8px; }
.lv2 .plan-price { font-family: 'Playfair Display', serif; font-size: 38px; font-weight: 900; color: #fff; margin: 16px 0 2px; line-height: 1; }
.lv2 .plan-price small { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; color: var(--text-muted); letter-spacing: 0; }
.lv2 .plan-price--duo { font-size: 29px; line-height: 38px; white-space: nowrap; }
.lv2 .plan-premium .plan-price small { color: rgba(255,255,255,0.60); }
.lv2 .plan-period { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--text-faint); margin-bottom: 22px; }
.lv2 .plan-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 11px; flex: 1; }
.lv2 .plan-list li { display: flex; align-items: flex-start; gap: 10px; font-family: 'DM Sans', sans-serif; font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.lv2 .plan-list li svg { flex-shrink: 0; margin-top: 2px; color: var(--g1); }
.lv2 .plan-free .plan-list li svg { color: var(--text-faint); }
.lv2 .plan-cta { justify-content: center; }
.lv2 .plan-note { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--text-faint); text-align: center; margin-top: 12px; }

/* ── Encre claire verrouillée dans Premium (shell toujours sombre) ──
   Ces tokens résoudraient en encre SOMBRE en thème clair ; on force les
   équivalents clairs comme dans le mockup (même hiérarchie, mêmes fonds).
   Fond verrouillé volontairement — texte blanc forcé OK. */
.lv2 #premium .kicker { color: rgba(52,211,153,0.55); }
.lv2 #premium .premium-head h2 { color: #fff; }
.lv2 #premium .lede { color: rgba(255,255,255,0.65); }
.lv2 #premium .power-sub { color: rgba(255,255,255,0.60); }
.lv2 #premium .plan-free .plan-name { color: rgba(255,255,255,0.55); }
.lv2 #premium .plan-period { color: rgba(255,255,255,0.45); }
.lv2 #premium .plan-list li { color: rgba(255,255,255,0.70); }
.lv2 #premium .plan-free .plan-list li svg { color: rgba(255,255,255,0.30); }
.lv2 #premium .plan-note { color: rgba(255,255,255,0.45); }
.lv2 #premium .plan-free .btn-ghost { color: rgba(255,255,255,0.70); background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14); }
.lv2 #premium .plan-free .btn-ghost:hover { color: #fff; background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.20); }


/* ══ CTA final — SUR photo de fond ════════════════════════════════════ */
.lv2 .finale-section { padding-bottom: 0; }
.lv2 .finale { position: relative; border-radius: 36px; overflow: hidden; border: 1px solid rgba(52,211,153,0.16); }
.lv2 .finale img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv2 .finale-ov { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(4,16,9,0.94) 30%, rgba(4,16,9,0.55) 70%, rgba(4,16,9,0.30) 100%); }
.lv2 .finale-body { position: relative; padding: 84px 72px; max-width: 560px; }
.lv2 .finale h2 { font-size: 46px; margin: 18px 0 18px; }
.lv2 .finale-lede { margin-bottom: 32px; }
/* Texte sur photo de fond — Fond verrouillé volontairement — texte blanc forcé OK */
.lv2 .finale .kicker { color: rgba(52,211,153,0.60); }
.lv2 .finale .display { color: #fff; }
.lv2 .finale .lede { color: rgba(255,255,255,0.78); }


/* ══ Reveals au scroll ════════════════════════════════════════════════
   La classe .reveal n'est posée que par le JS (Task 6) : sans JS ou sous
   prefers-reduced-motion, tout reste visible par défaut. */
.lv2 .reveal { opacity: 0; transform: translateY(14px); transition: opacity .58s ease, transform .58s ease; }
/* Cascade plus ample sur la mosaïque (avant .reveal.in pour que .in gagne) */
.lv2 .dish.reveal { transform: translateY(30px) scale(0.97); transition-duration: .68s; }
.lv2 .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .lv2 .reveal { opacity: 1; transform: none; transition: none; }
  .lv2 .frise-fill { width: 100% !important; transition: none !important; }
  .lv2 .frise-dot { background: var(--g1) !important; border-color: var(--g1) !important; transition: none !important; }
  .lv2 .dish img, .lv2 .hero-img, .lv2 .pano img { transition: none !important; transform: none !important; }
  .lv2 .step, .lv2 .step-ico, .lv2 .power, .lv2 .power-ico, .lv2 .plan { transition: none !important; transform: none !important; }
}


/* ══════════════════════════════════════════════════════════════════════
   SURCHARGES LIGHT — encre sombre partout hors zones photo / shell sombre
   (les tokens sémantiques gèrent le reste automatiquement)
   ══════════════════════════════════════════════════════════════════════ */

/* Displays sur fond de page → encre sombre (les displays premium/finale
   restent blancs : ils sont sur shell/photo sombres, forcés plus haut) */
[data-theme="light"] .lv2 .hero h1,
[data-theme="light"] .lv2 .hero-copy .lede { text-shadow: none; }

/* Voile hero éclairci côté texte : l'encre light (sombre) chevauche la photo,
   le voile clair maintient le contraste. Le bas reste sombre pour la caption
   blanche verrouillée. */
[data-theme="light"] .lv2 .hero-veil {
  background:
    linear-gradient(97deg, var(--bg-page) 0%, rgba(242,250,245,0.92) 18%, rgba(242,250,245,0.55) 34%, rgba(242,250,245,0.08) 60%, rgba(242,250,245,0.04) 100%),
    linear-gradient(to top, rgba(5,14,8,0.72) 0%, transparent 40%);
}

/* Em vert plus foncé en clair (meilleur contraste sur fond clair),
   sauf sur fonds sombres verrouillés (premium/finale gardent --g1) */
[data-theme="light"] .lv2 .display em,
[data-theme="light"] .lv2 .stat-num em,
[data-theme="light"] .lv2 .frise-title em { color: var(--g3); }
[data-theme="light"] .lv2 #premium .display em,
[data-theme="light"] .lv2 .finale .display em { color: var(--g1); }

/* Encres hardcodées blanches → déclinaison sombre équivalente */
[data-theme="light"] .lv2 .hero-proof { color: rgba(10,31,18,0.60); }
[data-theme="light"] .lv2 .stat-lbl { color: rgba(10,31,18,0.60); }
[data-theme="light"] .lv2 .frise-note { color: rgba(10,31,18,0.55); }
[data-theme="light"] .lv2 .frise-note strong { color: rgba(10,31,18,0.80); }
[data-theme="light"] .lv2 .frise-name { color: rgba(10,31,18,0.55); }
[data-theme="light"] .lv2 .frise-tick.is-milestone .frise-name { color: rgba(10,31,18,0.92); }
[data-theme="light"] .lv2 .frise-tick:last-child .frise-name { color: var(--g3); }
[data-theme="light"] .lv2 .frise-tick:hover .frise-name { color: var(--text-primary); }
/* Points éteints de la frise → encre sombre sur carte claire */
[data-theme="light"] .lv2 .frise-dot { background: rgba(10,31,18,0.16); border-color: rgba(10,31,18,0.12); }


/* ══════════════════════════════════════════════════════════════════════
   RESPONSIVE  (le mockup n'avait aucun breakpoint — tout est créé ici)
   ══════════════════════════════════════════════════════════════════════ */

/* ── Tablette / petit desktop ── */
@media (max-width: 1023px) {
  .lv2 .wrap { padding: 0 32px; }
  .lv2 section { padding: 60px 0; }

  /* Hero empilé : copy au-dessus, figure dessous */
  .lv2 .hero { padding: 118px 0 64px; }
  .lv2 .hero-inner { flex-direction: column; align-items: stretch; min-height: 0; gap: 40px; }
  .lv2 .hero-copy { order: 1; max-width: none; padding: 0; }
  .lv2 .hero-copy .lede { max-width: 620px; }
  .lv2 .hero-figure {
    order: 2; position: relative; top: 0; right: 0; width: 100%; height: 380px;
  }
  .lv2 .hero h1 { font-size: clamp(40px, 7.4vw, 64px); letter-spacing: -1.5px; margin: 22px 0 22px; }

  /* Stats — 3 colonnes plus serrées */
  .lv2 .stat { padding: 40px 16px; }

  /* Mosaïque — rangées un peu plus basses */
  .lv2 .mosaic-grid { grid-auto-rows: 200px; gap: 12px; }
  .lv2 .mosaic-head h2,
  .lv2 .brigade h2 { font-size: 34px; }

  /* Brigade empilée */
  .lv2 .brigade-grid { grid-template-columns: 1fr; gap: 48px; }
  /* width: 100% obligatoire : margin auto sur grid item = shrink-to-fit,
     et les enfants (photos) sont tous absolus → largeur intrinsèque 0 */
  .lv2 .brigade-photos { width: 100%; height: 460px; max-width: 560px; margin: 0 auto; }
  .lv2 .frise { padding: 34px 36px 118px; }

  /* Premium — 2 colonnes de powers */
  .lv2 .premium-shell { padding: 52px 32px 48px; border-radius: 28px; }
  .lv2 .premium-head h2 { font-size: 34px; }
  .lv2 .powers { grid-template-columns: repeat(2, 1fr); }

  /* Finale */
  .lv2 .finale-body { padding: 64px 44px; max-width: 620px; }
  .lv2 .finale h2 { font-size: 38px; }
}

/* ── Mobile ── */
@media (max-width: 767px) {
  .lv2 .wrap { padding: 0 20px; }
  .lv2 section { padding: 48px 0; }

  /* Hero */
  .lv2 .hero { padding: 100px 0 52px; }
  .lv2 .hero-figure { height: 300px; border-radius: 24px; }
  .lv2 .hero h1 { font-size: clamp(33px, 9.5vw, 46px); letter-spacing: -1px; margin: 18px 0 18px; }
  .lv2 .hero-ctas { gap: 10px; }
  .lv2 .hero-ctas .btn-primary,
  .lv2 .hero-ctas .btn-ghost { width: 100%; justify-content: center; }

  /* Stats empilées, séparateur horizontal */
  .lv2 .stats-row { grid-template-columns: 1fr; }
  .lv2 .stat { padding: 30px 20px; }
  .lv2 .stat + .stat::before { left: 28px; right: 28px; top: 0; bottom: auto; width: auto; height: 1px; }
  .lv2 .stat-num { font-size: 54px; }

  /* Mosaïque — 2 colonnes (feature & wide sur 2) */
  .lv2 .mosaic-head { flex-direction: column; align-items: flex-start; gap: 18px; margin-bottom: 28px; }
  .lv2 .mosaic-cta { width: 100%; justify-content: center; }
  .lv2 .mosaic-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 152px; gap: 10px; }
  .lv2 .dish-title { font-size: 15px; }
  .lv2 .dish--feature .dish-title { font-size: 21px; }
  .lv2 .dish--feature .dish-meta { left: 18px; right: 18px; bottom: 16px; }

  /* Brigade */
  .lv2 .brigade-photos { height: 340px; }
  .lv2 .brigade-photo-main { width: 78%; height: 64%; }
  .lv2 .brigade-photos > img { width: 62%; height: 46%; }

  /* Frise — bande scrollable horizontale, jalons lisibles, snap ── */
  .lv2 .frise { padding: 30px 0 30px; overflow: hidden; }
  .lv2 .frise-head { padding: 0 22px; margin-bottom: 24px; }
  .lv2 .frise-rail {
    height: auto; background: none; border-radius: 0;
    margin: 0; padding: 22px 22px 0;
    overflow-x: auto; overflow-y: hidden;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  }
  /* La rangée de ticks (en flux, min-width) définit la largeur scrollable */
  .lv2 .frise-ticks {
    position: relative; top: 0; left: 0; right: auto;
    /* 20 ticks × ~62px : noms (max-width 60px) sans chevauchement */
    min-width: 1240px; justify-content: space-between;
    padding-bottom: 76px;
  }
  /* Rail dessiné derrière les points */
  .lv2 .frise-ticks::before {
    content: ''; position: absolute; left: 0; right: 0; top: 4px; height: 5px;
    border-radius: 999px; background: var(--bg-element);
  }
  .lv2 .frise-fill { display: none; } /* progression rendue par les points allumés */
  .lv2 .frise-tick { scroll-snap-align: center; }
  .lv2 .frise-dot { transform: none; margin-top: 2px; }
  .lv2 .frise-name {
    position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
    white-space: normal; text-align: center; max-width: 60px; line-height: 1.25;
    font-size: 8px; letter-spacing: 0.2px;
  }
  .lv2 .frise-tick.is-milestone .frise-name {
    top: 16px; transform: translateX(-50%);
    font-size: 8.5px; font-weight: 800; text-transform: none; letter-spacing: 0.3px;
  }

  /* Premium — 1 colonne, plans empilés */
  .lv2 .premium-shell { padding: 40px 20px 36px; border-radius: 24px; }
  .lv2 .premium-head h2 { font-size: 30px; }
  .lv2 .powers { grid-template-columns: 1fr; }
  .lv2 .plans { grid-template-columns: 1fr; max-width: 460px; }
  .lv2 .plan { padding: 28px 24px; }
  .lv2 .plan-price--duo { font-size: 24px; line-height: 1.3; white-space: normal; }

  /* Respiration panoramique — plus basse */
  .lv2 .pano { height: 220px; min-height: 220px; }

  /* Finale */
  .lv2 .finale-body { padding: 52px 26px; max-width: none; }
  .lv2 .finale h2 { font-size: 31px; }
  .lv2 .finale .btn-primary { width: 100%; justify-content: center; }
}
