/* =========================================================
   NUANCE — Feuille de style
   👉 Change tes couleurs ici, tout le site suivra
   ========================================================= */
:root {
  --bg: #F7F3EE;        /* fond principal (écru) */
  --bg-alt: #EFE8DF;    /* fond des sections alternées */
  --ink: #241C17;       /* texte principal */
  --muted: #7C6F66;     /* texte secondaire */
  --accent: #B5603F;    /* terracotta */
  --line: #E1D8CD;      /* bordures */
  --card: #FFFFFF;
  --dark: #1F1915;      /* sections sombres */
  --radius: 20px;
  --max: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Typo ---------- */
h1, h2 { font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); margin-bottom: 1.2rem; }
h3 { font-size: 1.05rem; font-weight: 500; letter-spacing: -0.01em; }
h4 { font-size: 1rem; font-weight: 500; }
.thin { font-weight: 300; color: var(--muted); }
.eyebrow {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 1rem;
}
.eyebrow.light { color: #E3A386; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 520px; }
.lead.narrow { margin: 0 auto; max-width: 560px; }
.muted { color: var(--muted); font-size: 0.9rem; }
.big { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; margin: 0.6rem 0 0.2rem; }
.footnote { margin-top: 1.2rem; font-size: 0.75rem; color: var(--muted); }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.section { padding: 120px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #F7F3EE; }
.section-dark .thin, .section-dark .lead { color: #B9ADA3; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.split + .container, .container + .container { margin-top: 64px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 26px; border-radius: 999px; font-weight: 500; font-size: 0.95rem;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: 0.85rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.25); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px; color: #fff;
  background: linear-gradient(to bottom, rgba(0,0,0,.25), transparent);
  transition: background .3s, color .3s, box-shadow .3s;
}
/* Menu une fois la photo du hero dépassée */
.nav.scrolled { background: rgba(247,243,238,.92); color: var(--ink); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.nav.scrolled .btn-light { background: var(--ink); color: #fff; }
.logo { font-weight: 600; letter-spacing: 0.2em; font-size: 0.95rem; }
.nav-links { display: flex; gap: 32px; font-size: 0.88rem; }
.nav-links a, .nav-login { opacity: .85; transition: opacity .2s; }
.nav-links a:hover, .nav-login:hover { opacity: 1; }
.nav-actions { display: flex; align-items: center; gap: 20px; font-size: 0.88rem; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  /* 👉 ta photo : images/hero.jpg (le dégradé s'affiche tant qu'il n'y a pas de photo) */
  background:
    linear-gradient(to top, rgba(20,14,10,.75) 0%, rgba(20,14,10,.15) 55%, rgba(20,14,10,.3) 100%),
    url("images/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(circle at 60% 35%, #C98B5A 0%, #8A5A3B 40%, #3A2A20 100%);
  animation: heroZoom 14s ease-out both;
}
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-content { max-width: var(--max); width: 100%; margin: 0 auto; padding: 0 24px 56px; animation: fadeUp 1s .2s ease both; }
.hero-proof { font-size: 0.9rem; margin-bottom: 1rem; opacity: .9; }
.hero h1 { margin-bottom: 1.2rem; }
.hero .thin { color: rgba(255,255,255,.75); }
.hero-sub { max-width: 480px; opacity: .85; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-pillars {
  max-width: var(--max); width: 100%; margin: 0 auto; padding: 24px 24px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  border-top: 1px solid rgba(255,255,255,.2);
}
.hero-pillars strong { display: block; font-weight: 500; font-size: 0.95rem; }
.hero-pillars span { font-size: 0.85rem; opacity: .7; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ---------- 2. Pourquoi ---------- */
.check-list { list-style: none; margin-top: 2rem; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 12px; align-items: center; }
.check-list li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-size: 0.75rem;
  background: var(--accent); color: #fff;
}
.compare-card { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare-img {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius);
  /* 👉 remplace par url("images/avant.jpg") */
  background: linear-gradient(160deg, #A7B4C2, #6E7E8F);
}
.compare-img.good { background: linear-gradient(160deg, #D9A27A, #9A5B3A); }
.tag {
  position: absolute; top: 14px; left: 14px;
  font-size: 0.65rem; letter-spacing: .12em; font-weight: 600;
  padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--ink);
}
.tabs-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pill { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 0.85rem; color: var(--muted); }
.pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }

/* Bloc bénéfices + onglets cliquables */
.benefit-block { margin-top: 120px; }
.tabs { position: relative; }
.tabs input { position: absolute; opacity: 0; pointer-events: none; }
.tabs-intro { color: var(--muted); margin-bottom: 16px; }
.tabs-row label {
  padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted); cursor: pointer; transition: all .2s;
}
.tabs-row label:hover { border-color: var(--ink); color: var(--ink); }
.panel { display: none; grid-template-columns: repeat(3, 1fr); gap: 16px; animation: fadeUp .5s ease both; }
.stat-card p { color: var(--muted); font-size: 0.95rem; margin-top: 8px; }
.stat-card .big { color: var(--ink); font-size: 2.6rem; margin-top: 0; }
.stat-card cite { display: block; margin-top: 18px; font-size: 0.75rem; font-style: normal; color: var(--accent); }
#tab-career:checked ~ .panels #p-career,
#tab-dating:checked ~ .panels #p-dating,
#tab-impression:checked ~ .panels #p-impression,
#tab-confidence:checked ~ .panels #p-confidence,
#tab-life:checked ~ .panels #p-life { display: grid; }
#tab-career:checked ~ .tabs-row label[for="tab-career"],
#tab-dating:checked ~ .tabs-row label[for="tab-dating"],
#tab-impression:checked ~ .tabs-row label[for="tab-impression"],
#tab-confidence:checked ~ .tabs-row label[for="tab-confidence"],
#tab-life:checked ~ .tabs-row label[for="tab-life"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- 3. Ancienne / nouvelle méthode (fond "deep dye") ---------- */
.section-deep {
  color: #fff;
  background:
    radial-gradient(circle at 70% 20%, rgba(201,139,90,.75) 0%, transparent 45%),
    radial-gradient(circle at 15% 85%, rgba(181,96,63,.55) 0%, transparent 40%),
    linear-gradient(160deg, #8A5A3B 0%, #3A2A20 55%, #1F1712 100%);
}
.section-deep .thin, .section-deep .lead { color: rgba(255,255,255,.72); }
.section-deep .quote cite { color: rgba(255,255,255,.6); }
.process { display: grid; gap: 64px; }
.process-title { font-size: 1.2rem; font-weight: 500; margin-bottom: 24px; }
.track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.track::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.25); }
.track li { position: relative; padding-top: 34px; }
.track li::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); background: #2B1F18; }
.track span { display: block; font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase; opacity: .6; margin-bottom: 6px; }
.track strong { display: block; font-weight: 500; margin-bottom: 6px; line-height: 1.3; }
.track p { font-size: 0.85rem; opacity: .72; }
.old { opacity: .6; }
.old li:last-child strong { color: #F2A58A; }
.new .track::before { top: 26px; }
.new .track li {
  padding: 50px 18px 22px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(8px);
}
.new .track li::before { top: 19px; left: 18px; background: #fff; border-color: #fff; }
.new .track li.highlight { background: #fff; color: var(--ink); }
.new .track li.highlight::before { background: var(--accent); border-color: var(--accent); }
.new .track li.highlight p { opacity: .8; }
.quote { margin-top: 80px; text-align: center; font-size: clamp(1.3rem, 2.6vw, 1.9rem); font-weight: 300; letter-spacing: -0.02em; max-width: 820px; }
.quote cite { display: block; margin-top: 1rem; font-size: 0.9rem; font-style: normal; color: var(--muted); }

/* ---------- 4. Démo (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; min-height: 220px; display: flex; flex-direction: column; gap: 16px; }
.card-wide { grid-column: span 2; }
.card-dark { background: var(--accent); color: #fff; border-color: var(--accent); }
.card-label { font-size: 0.7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .6; }
.card-note { font-size: 0.9rem; color: var(--muted); margin-top: auto; }
.card-dark .card-note { color: rgba(255,255,255,.8); }
.scale { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--muted); }
.scale.small { font-size: 0.72rem; }
.slider { position: relative; height: 8px; border-radius: 99px; background: linear-gradient(90deg, #9DB3D1, #E8DCCB, #D98A55); }
.slider-dot {
  position: absolute; top: 50%; left: var(--pos); width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 3px solid var(--ink); transform: translate(-50%, -50%);
  animation: slideIn 1.6s ease both;
}
@keyframes slideIn { from { left: 10%; } }
.gauge {
  --val: 50; width: 130px; aspect-ratio: 1; border-radius: 50%; margin: 0 auto;
  background: conic-gradient(var(--accent) calc(var(--val) * 1%), var(--bg-alt) 0);
  display: grid; place-items: center; position: relative;
}
.gauge::before { content: ""; position: absolute; inset: 12px; border-radius: 50%; background: var(--card); }
.gauge span { position: relative; font-size: 1.6rem; font-weight: 500; }
.season { font-size: 2.6rem; font-weight: 500; letter-spacing: -0.03em; line-height: 1; }
.swatches { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; }
.swatches i { aspect-ratio: 1/1.6; border-radius: 10px; background: var(--c); transition: transform .3s; }
.swatches i:hover { transform: translateY(-6px); }
.eye-options { display: flex; gap: 6px; flex-wrap: wrap; }
.eye-options span { font-size: 0.78rem; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--muted); }
.eye-options .on { background: var(--ink); color: #fff; border-color: var(--ink); }
.eye-dot {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto;
  background: radial-gradient(circle, #1a1410 0 22%, #7A5A2E 24%, #A67C3D 55%, #4E3A22 72%, #2A1E14 76%);
}
.metals { display: grid; gap: 12px; }
.metals div { display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 12px; font-size: 0.9rem; }
.metals i { width: 28px; height: 28px; border-radius: 50%; }
.metals b { font-weight: 500; font-size: 0.78rem; color: var(--muted); }
.gold { background: linear-gradient(135deg, #F3D38A, #B8862F); }
.rose { background: linear-gradient(135deg, #F0C2A8, #B9775A); }
.silver { background: linear-gradient(135deg, #EDEDED, #9A9A9A); }

/* Cartes "scientifiques" */
.lab { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.lab div { background: var(--bg-alt); border-radius: 12px; padding: 10px; text-align: center; }
.lab b { display: block; font-size: 0.75rem; color: var(--muted); font-weight: 500; }
.lab span { font-size: 1.15rem; font-weight: 500; }
.ita { display: flex; align-items: baseline; gap: 10px; }
.ita span { font-size: 0.75rem; color: var(--muted); }
.ita strong { font-size: 1.6rem; font-weight: 500; }
.ita em { font-style: normal; font-size: 0.78rem; padding: 3px 10px; border-radius: 99px; background: var(--bg-alt); }
.bars { display: grid; gap: 14px; }
.bars div { display: grid; grid-template-columns: 90px 1fr 52px; align-items: center; gap: 10px; font-size: 0.85rem; }
.bars i, .drapes .meter { height: 6px; border-radius: 99px; background: var(--bg-alt); position: relative; overflow: hidden; }
.bars i::after, .drapes .meter::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: 99px; }
.bars b, .drapes b { font-weight: 500; font-size: 0.8rem; text-align: right; }
.drapes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 32px; }
.drapes div { display: grid; grid-template-columns: 24px 70px 1fr 28px; align-items: center; gap: 10px; font-size: 0.85rem; }
.drapes .sw { width: 24px; height: 24px; border-radius: 6px; background: var(--c); border: 1px solid var(--line); }
.drapes .low .meter::after { background: #C9BCAE; }

/* Analyse : femme au centre */
.analysis { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 48px; align-items: center; }
.analysis-col { display: grid; gap: 16px; }
.analysis-col .card { min-height: 0; }
.analysis + .bento { margin-top: 16px; }
.model { position: relative; }
.model img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; }
.marker {
  position: absolute; transform: translate(-6px, -50%);
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 500; white-space: nowrap;
  padding: 5px 10px 5px 6px; border-radius: 99px;
  background: rgba(255,255,255,.85); backdrop-filter: blur(6px); color: var(--ink);
}
.marker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(181,96,63,.25); }
.palette-chip {
  position: absolute; width: 150px; padding: 10px 12px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(36,28,23,.12);
}
.palette-chip p { font-size: 0.72rem; font-weight: 600; margin-bottom: 6px; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.palette-chip p b { font-size: 0.6rem; font-weight: 600; color: #fff; background: var(--accent); padding: 2px 6px; border-radius: 99px; }
.palette-chip div { display: flex; gap: 3px; }
.palette-chip i { flex: 1; height: 16px; border-radius: 4px; background: var(--c); border: 1px solid var(--line); }
.palette-chip.match { width: 180px; border: 2px solid var(--accent); }
.p-tl { top: 8%; left: -32px; }
.p-bl { top: 44%; left: -32px; }
.p-tr { top: 48%; right: -32px; }
.p-br { top: 82%; right: -32px; }

/* Curseur avant / après */
.ba-slider { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; background: var(--bg-alt); user-select: none; }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle::after {
  content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--ink);
  display: grid; place-items: center; font-size: 1rem; letter-spacing: 2px; box-shadow: 0 4px 16px rgba(0,0,0,.2);
}
.ba-slider input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-slider .tag-l { left: 14px; }
.ba-slider .tag-r { left: auto; right: 14px; }

/* Apparition au scroll (navigateurs récents, sinon simplement visible) */
@supports (animation-timeline: view()) {
  .reveal { animation: fadeUp linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
}

/* ---------- 5 & 6. Listes ---------- */
.feature-list, .learn-list { display: grid; gap: 0; }
.feature-list > div, .learn-list > div { padding: 22px 0; border-top: 1px solid var(--line); }
.feature-list p, .learn-list p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.learn-list { grid-template-columns: 1fr 1fr; column-gap: 32px; }

/* ---------- 7. Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.step { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 28px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.step span { font-size: 0.85rem; color: #E3A386; font-weight: 500; }
.step p { font-size: 1.1rem; }

/* ---------- 8. Avant / après ---------- */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ba-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.ba .tag-after { left: calc(50% + 18px); }
.ba figcaption { grid-column: span 2; font-size: 0.9rem; color: var(--muted); padding-top: 6px; }
.plan { margin-top: 120px; }
.timeline { display: grid; gap: 14px; }
.tl-item { display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.tl-item b { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-weight: 500; }
.tl-item.done b { background: var(--accent); color: #fff; }
.tl-item p { color: var(--muted); font-size: 0.9rem; }
.tl-item small { color: var(--accent); font-size: 0.78rem; font-weight: 500; }
.actions { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; display: grid; gap: 10px; margin-left: 32px; }
.action { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); }
.action strong { font-weight: 500; flex: 1 1 100%; }
.action span { font-size: 0.75rem; padding: 4px 10px; border-radius: 99px; background: var(--bg-alt); color: var(--muted); }

/* ---------- 9. Réassurance ---------- */
.trust { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; align-items: end; }
.trust p { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }
.trust-big .big { font-size: 4rem; color: var(--accent); }

/* ---------- 10 & 11. Accordéons ---------- */
.accordions { max-width: 860px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary {
  list-style: none; cursor: pointer; padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-size: 1.2rem; font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary small { margin-left: auto; font-size: 0.8rem; font-weight: 400; color: var(--muted); }
summary::after { content: "+"; font-size: 1.5rem; font-weight: 300; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 32px; padding-bottom: 28px; }
details dt { font-weight: 500; }
details dd { color: var(--muted); font-size: 0.9rem; margin-top: -16px; }
.faq summary { font-size: 1.05rem; }
.faq details p { color: var(--muted); padding-bottom: 24px; max-width: 680px; }

/* ---------- 12. CTA final + footer ---------- */
.final-cta { padding: 140px 0; background: linear-gradient(180deg, var(--bg) 0%, #EAD6C6 100%); }
.cta-final { margin-top: 2rem; }
.footer { background: var(--dark); color: #B9ADA3; padding: 40px 0; font-size: 0.85rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer .logo { color: #fff; }
.footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer a:hover { color: #fff; }

/* =========================================================
   RESPONSIVE (tablette & mobile)
   ========================================================= */
@media (max-width: 960px) {
  .split, .ba-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4, .steps, .panel { grid-template-columns: 1fr 1fr; }
  .analysis { grid-template-columns: 1fr 1fr; gap: 16px; }
  .analysis-center { grid-column: 1 / -1; order: -1; max-width: 460px; margin: 0 auto 24px; width: 100%; }
  .p-tl, .p-bl { left: -12px; } .p-tr, .p-br { right: -12px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .drapes { grid-template-columns: 1fr; }
  /* process en vertical */
  .track { grid-template-columns: 1fr; gap: 12px; }
  .track::before, .new .track::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; }
  .track li { padding: 0 0 0 36px; }
  .track li::before { top: 2px; }
  .new .track::before { left: 25px; }
  .new .track li { padding: 18px 18px 18px 48px; }
  .new .track li::before { top: 22px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-big { grid-column: span 2; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .container { padding: 0 16px; }
  .nav { padding: 14px 16px; }
  .nav-login { display: none; }
  .hero-content { padding: 0 16px 40px; }
  .hero-pillars { grid-template-columns: 1fr; gap: 10px; padding: 20px 16px 32px; }
  .grid-4, .steps, .bento, .learn-list, .panel, .analysis, details dl { grid-template-columns: 1fr; }
  .palette-chip { width: 128px; padding: 8px 10px; } .palette-chip.match { width: 150px; }
  .marker { font-size: 0.65rem; }
  .benefit-block { margin-top: 80px; }
  .card-wide { grid-column: auto; }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .trust { grid-template-columns: 1fr; }
  .trust-big { grid-column: auto; }
  .actions { margin-left: 0; }
  .plan { margin-top: 80px; }
  details dd { margin-top: -12px; }
}

/* Survol "dip dye" sur Taking into account */
.feature-list > div {
  position: relative; padding-left: 20px; padding-right: 20px; border-radius: 16px;
  transition: color .4s ease, border-color .4s ease;
  isolation: isolate;
}
.feature-list > div::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 16px; opacity: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(201,139,90,.85) 0%, transparent 55%),
    linear-gradient(135deg, #8A5A3B 0%, #3A2A20 70%, #241A14 100%);
  transition: opacity .45s ease;
}
.feature-list > div:hover { color: #fff; border-top-color: transparent; }
.feature-list > div:hover::before { opacity: 1; }
.feature-list > div:hover p { color: rgba(255,255,255,.78); }
.feature-list > div:hover + div { border-top-color: transparent; }
.ba-caption { margin-top: 12px; font-size: 0.88rem; color: var(--muted); text-align: center; }

/* Analyse : femme détourée intégrée à la page */
.model img {
  aspect-ratio: auto; border-radius: 0; object-fit: contain;
  -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
}
.eye-detail { display: grid; gap: 10px; }
.eye-detail div { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; font-size: 0.85rem; }
.eye-detail i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); border: 1px solid var(--line); }
.eye-detail span { color: var(--muted); }
.eye-detail b { font-weight: 500; }
.levels { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; }
.levels i { height: 22px; border-radius: 4px; background: var(--line); }
.levels i:nth-child(1) { background: #1C1714; } .levels i:nth-child(2) { background: #2B211B; }
.levels i:nth-child(3) { background: #3A2A20; } .levels i:nth-child(4) { background: #4E3726; }
.levels i:nth-child(5) { background: #6A4A30; } .levels i:nth-child(6) { background: #8A6440; }
.levels i:nth-child(7) { background: #A98157; } .levels i:nth-child(8) { background: #C49F72; }
.levels i:nth-child(9) { background: #DABD93; } .levels i:nth-child(10) { background: #EAD7B5; }
.levels i.on { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Bandeau de nuances qui défilent */
.shade-marquee {
  margin-top: 56px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.shade-track { display: flex; gap: 8px; width: max-content; animation: shades 40s linear infinite; }
.shade-track i { width: 46px; height: 64px; border-radius: 10px; background: var(--c); flex: none; }
.shade-marquee:hover .shade-track { animation-play-state: paused; }
@keyframes shades { to { transform: translateX(-50%); } }
.marquee-note { margin-top: 16px; font-size: 0.85rem; }
@media (prefers-reduced-motion: reduce) { .shade-track { animation: none; } }

/* Aperçu du rapport PDF */
.report { display: flex; justify-content: center; align-items: flex-end; gap: 0; margin-bottom: 72px; perspective: 1200px; }
.page {
  flex: none; width: 210px; aspect-ratio: 1 / 1.414; border-radius: 8px; padding: 18px;
  background: #F7F3EE; color: var(--ink); box-shadow: 0 30px 60px rgba(0,0,0,.45);
  display: flex; flex-direction: column; gap: 12px; margin: 0 -18px;
  transition: transform .4s ease;
}
.page-1 { transform: rotate(-8deg) translateY(18px); z-index: 1; }
.page-2 { transform: rotate(-2deg); z-index: 2; }
.page-3 { transform: rotate(3deg); z-index: 3; }
.page-4 { transform: rotate(9deg) translateY(18px); z-index: 2; }
.report:hover .page-1 { transform: rotate(-11deg) translate(-24px, 10px); }
.report:hover .page-4 { transform: rotate(12deg) translate(24px, 10px); }
.pg-photo { height: 46%; border-radius: 6px; background: url("images/after.jpg") center 20% / cover, #C98B5A; }
.pg-title { font-size: 1rem; font-weight: 500; line-height: 1.1; letter-spacing: -0.01em; }
.pg-kicker { font-size: 0.55rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.pg-lines { display: grid; gap: 5px; flex: 1; align-content: start; }
.pg-lines i { height: 4px; border-radius: 2px; background: #DDD3C7; }
.pg-lines i.short { width: 60%; }
.pg-swatches { display: flex; gap: 3px; }
.pg-swatches i { flex: 1; height: 16px; border-radius: 3px; background: var(--c); }
.pg-row { display: flex; gap: 8px; align-items: center; }
.pg-dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c); flex: none; }
.pg-bars { display: grid; gap: 6px; margin-top: auto; }
.pg-bars i { height: 5px; border-radius: 3px; background: #E7DED3; position: relative; overflow: hidden; }
.pg-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); }
.pg-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.pg-grid i { aspect-ratio: 1; border-radius: 4px; background: var(--c); }
.pg-looks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; height: 45%; }
.pg-looks i { border-radius: 5px; background: linear-gradient(180deg, #C19A6B, #8A5A3B); }
.pg-looks i:nth-child(2) { background: linear-gradient(180deg, #708238, #3F5A57); }
.pg-looks i:nth-child(3) { background: linear-gradient(180deg, #E6D3B8, #B5603F); }

.reassure { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 56px; }
.reassure > div { border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 24px 28px; }
.reassure h3 { margin-bottom: 6px; }
.reassure p { color: #B9ADA3; font-size: 0.92rem; }
.sweater-note { margin-top: 14px; font-size: 0.82rem; color: #9D9087; }

@media (max-width: 960px) {
  .page { width: 160px; padding: 12px; gap: 8px; }
  .reassure { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .report { margin-bottom: 48px; }
  .page { width: 120px; margin: 0 -22px; padding: 9px; gap: 6px; }
  .page-4 { display: none; }
  .pg-title { font-size: 0.7rem; }
}

/* Sections plein écran (tout le contenu visible sans scroll) */
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 96px 0 56px; }
#why .split { align-items: center; }
#why .check-list { margin-top: 1.4rem; gap: 10px; }
.ba-slider { height: min(68svh, 620px); width: auto; aspect-ratio: 4/5; justify-self: center; max-width: 100%; }
.divider { display: flex; align-items: center; justify-content: center; gap: 8px; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.divider span { flex: 1; height: 1px; background: var(--line); }
.divider i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.beauty-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.beauty-grid .check-list { margin-top: 1.4rem; gap: 10px; }
.beauty-grid .tabs-row { margin-bottom: 14px; }
.beauty-grid .panel { grid-template-columns: 1fr; gap: 10px; }
.beauty-grid .stat-card { padding: 18px 22px; }
.beauty-grid .stat-card h3 { font-size: 1rem; }
.beauty-grid .stat-card p { margin-top: 4px; font-size: 0.9rem; }
.beauty-grid .stat-card .big { font-size: 1.9rem; }
.beauty-grid .stat-card cite { margin-top: 8px; }
.beauty-grid .footnote { margin-top: 10px; }
@media (max-width: 960px) {
  .screen { min-height: 0; padding: 80px 0; }
  .beauty-grid { grid-template-columns: 1fr; gap: 40px; }
  .ba-slider { height: auto; width: 100%; }
}

/* =========================================================
   Analyse "laboratoire" : fond sombre, femme plus grande
   ========================================================= */
.section-lab {
  color: #F1EAE2;
  background:
    radial-gradient(ellipse at 50% 45%, rgba(181,96,63,.28) 0%, transparent 55%),
    linear-gradient(180deg, #17120F 0%, #120E0B 100%);
}
.section-lab .thin, .section-lab .lead { color: rgba(241,234,226,.65); }
.section-lab .eyebrow { color: #E3A386; }
.lab-id, .readout, .section-lab .card-label, .section-lab .marker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
}
.lab-id { margin-top: 18px; font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(241,234,226,.45); }
.section-lab .analysis { grid-template-columns: 1fr 1.75fr 1fr; gap: 24px; }
.section-lab .card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.09); backdrop-filter: blur(8px); }
.section-lab .card-label { opacity: .55; letter-spacing: .1em; }
.section-lab .card-note, .section-lab .scale, .section-lab .eye-detail span, .section-lab .ita span { color: rgba(241,234,226,.55); }
.section-lab .lab div, .section-lab .ita em { background: rgba(255,255,255,.06); }
.section-lab .lab b { color: rgba(241,234,226,.5); }
.section-lab .bars i { background: rgba(255,255,255,.08); }
.section-lab .eye-detail i { border-color: rgba(255,255,255,.15); }
.section-lab .gauge { background: conic-gradient(var(--accent) calc(var(--val) * 1%), rgba(255,255,255,.08) 0); }
.section-lab .gauge::before { background: #1A1512; }
.section-lab .slider-dot { background: #17120F; border-color: #F1EAE2; }

.section-lab .model { position: relative; margin: -40px -40px 0; }
.section-lab .model img { -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); mask-image: linear-gradient(to bottom, #000 70%, transparent 98%); }
.mesh { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.mesh-lines polyline, .mesh-lines line { fill: none; stroke: rgba(255,255,255,.45); stroke-width: 1.4; }
.mesh-dots circle { fill: #fff; filter: drop-shadow(0 0 6px rgba(227,163,134,.9)); }
.mesh-target circle, .mesh-target line { fill: none; stroke: #E3A386; stroke-width: 2; }
.mesh-target { animation: pulse 2.4s ease-in-out infinite; transform-origin: 455px 600px; }
@keyframes pulse { 50% { opacity: .35; } }
.scan {
  position: absolute; left: 6%; right: 6%; height: 70px; top: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, rgba(227,163,134,.22), transparent);
  border-bottom: 1px solid rgba(227,163,134,.7);
  animation: scan 4.5s ease-in-out infinite;
}
@keyframes scan { 0% { top: 4%; opacity: 0; } 10% { opacity: 1; } 85% { opacity: 1; } 100% { top: 72%; opacity: 0; } }
.readout { position: absolute; font-size: 0.66rem; line-height: 1.5; color: rgba(241,234,226,.75); padding: 6px 8px; border-left: 1px solid #E3A386; background: rgba(0,0,0,.25); }
.section-lab .marker { background: rgba(20,15,12,.72); color: #F1EAE2; border: 1px solid rgba(255,255,255,.14); font-size: 0.66rem; }
.section-lab .shade-marquee { margin-top: 32px; }
.section-lab .marquee-note { color: rgba(241,234,226,.5); font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: .08em; }
@media (prefers-reduced-motion: reduce) { .scan, .mesh-target { animation: none; } }
@media (max-width: 960px) {
  .section-lab .analysis { grid-template-columns: 1fr 1fr; }
  .section-lab .model { margin: 0; }
}
@media (max-width: 600px) {
  .section-lab .analysis { grid-template-columns: 1fr; }
  .readout { display: none; }
}
.ba-wrap { display: flex; flex-direction: column; align-items: center; }

/* =========================================================
   V5 — fond, sections plein écran, nouvelles sections
   ========================================================= */
@property --w { syntax: "<percentage>"; inherits: true; initial-value: 0%; }
@property --val { syntax: "<number>"; inherits: true; initial-value: 0; }

/* Léger dip dye sur le fond beige */
body {
  background:
    radial-gradient(ellipse at 85% 0%, rgba(201,139,90,.10) 0%, transparent 45%),
    radial-gradient(ellipse at 0% 60%, rgba(181,96,63,.07) 0%, transparent 40%),
    var(--bg);
  background-attachment: fixed;
}
#beauty {
  background:
    radial-gradient(ellipse at 100% 100%, rgba(201,139,90,.16) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 0%, rgba(138,90,59,.08) 0%, transparent 45%),
    var(--bg-alt);
}

/* ---------- Analyse : un écran ---------- */
.section-lab.screen { padding: 84px 0 28px; }
.lab-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .5rem; }
.lab-head .lead { font-size: 1rem; max-width: 640px; }
.section-lab .analysis { grid-template-columns: 1fr 1.6fr 1fr; gap: 20px; margin-top: 18px; }
.section-lab .analysis-col { gap: 12px; }
.section-lab .card { padding: 16px 18px; gap: 10px; }
.section-lab .gauge { width: 88px; }
.section-lab .gauge span { font-size: 1.2rem; }
.section-lab .model { margin: 0; height: min(calc(100svh - 330px), 620px); display: flex; justify-content: center; }
.section-lab .model img {
  height: 100%; width: auto; max-width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 0;
  -webkit-mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%);
          mask-image: radial-gradient(ellipse 50% 52% at 50% 46%, #000 62%, transparent 100%);
}
.leaders { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.leaders line { stroke: rgba(227,163,134,.55); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 3 4; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -14; } }
.pt { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #F1EAE2; box-shadow: 0 0 0 4px rgba(227,163,134,.25), 0 0 12px rgba(227,163,134,.8); animation: pulse 2.4s ease-in-out infinite; }
.section-lab .scan { left: 18%; right: 18%; }
.section-lab .shade-marquee { margin-top: 18px; }
.section-lab .shade-track i { width: 34px; height: 34px; border-radius: 8px; }
/* transitions des valeurs animées */
.slider-dot { transition: left 1.2s cubic-bezier(.4,0,.2,1); }
.bars i { transition: --w 1.2s cubic-bezier(.4,0,.2,1); }
.gauge { transition: --val 1.2s cubic-bezier(.4,0,.2,1); }
.eye-detail i { background-color: var(--c); transition: background-color 1s ease; }
.levels i { transition: outline-color .3s; }
[data-lab], .bars b, .eye-detail b, #hair-label { font-variant-numeric: tabular-nums; }

/* ---------- Taking into account : un écran ---------- */
.section-alt.screen .feature-list > div { padding-top: 14px; padding-bottom: 14px; }
.section-alt.screen .split { align-items: center; }

/* ---------- You will discover ---------- */
.discover-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.discover-grid article {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.discover-grid article::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, #C98B5A, #B5603F, #8A5A3B); }
.discover-grid article:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(36,28,23,.08); }
.discover-grid span { font-family: "IBM Plex Mono", monospace; font-size: .8rem; color: var(--accent); }
.discover-grid h3 { margin: 28px 0 6px; }
.discover-grid p { color: var(--muted); font-size: .9rem; }

/* ---------- Journey : notes rattachées à l'étape 2 ---------- */
.step-photo { border-color: #E3A386 !important; }
.photo-notes {
  grid-column: 2 / span 2; position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  border-radius: var(--radius); overflow: hidden; background: rgba(227,163,134,.35); margin-top: 18px;
}
.photo-notes::before { content: ""; position: absolute; top: -18px; left: 28px; width: 1px; height: 18px; background: #E3A386; }
.photo-notes > div { background: #241C17; padding: 20px 22px; }
.photo-notes h4 { margin-bottom: 6px; }
.photo-notes p { font-size: .88rem; color: #B9ADA3; }

/* ---------- Real results ---------- */
.results-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; }
.results-grid .ba-slider, .viz .ba-slider { height: auto; width: 100%; }
.results-grid figcaption { margin-top: 10px; font-size: .9rem; color: var(--muted); text-align: center; }

/* ---------- Plan ---------- */
.plan { margin-top: 0; align-items: center; }
.plan .lead { margin-top: 1rem; }
.plan-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 20px 60px rgba(36,28,23,.07); }
.plan-top { display: flex; align-items: center; gap: 14px; padding: 4px 6px 16px; border-bottom: 1px solid var(--line); }
.plan-thumbs { display: flex; }
.plan-thumbs img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; }
.plan-thumbs img + img { margin-left: -14px; }
.plan-progress { font-size: .9rem; color: var(--muted); }
.plan-progress b { color: var(--ink); font-weight: 500; }
.phase { border: 0; border-bottom: 1px solid var(--line); }
.phase:last-child { border-bottom: 0; }
.phase summary { padding: 16px 6px; font-size: 1rem; gap: 12px; justify-content: flex-start; }
.phase summary b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-alt); font-weight: 500; font-size: .85rem; flex: none; }
.phase[open] summary b { background: var(--accent); color: #fff; }
.phase summary small { color: var(--accent); }
.phase .action { margin: 0 6px 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; }

/* ---------- Visualization ---------- */
.viz { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.viz-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.viz-card > p:last-child { color: var(--muted); font-size: .9rem; margin-top: auto; }
.viz-main { grid-row: span 2; }
.viz-main h3 { margin-top: 6px; }
.viz-big { font-size: 1.5rem; font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.viz-meta { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .88rem; }
.viz-meta dt { color: var(--muted); }
.viz-faces { display: flex; gap: 8px; }
.viz-faces img { width: 33%; aspect-ratio: 1; object-fit: cover; object-position: center 25%; border-radius: 50%; }
.viz-scale { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.viz-scale span { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .8rem; color: var(--muted); }
.viz-scale span::before { content: ""; width: 100%; height: 56px; border-radius: 12px; background: var(--c); }
.viz-scale .on { color: var(--ink); font-weight: 500; }
.viz-scale .on::before { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Trust ---------- */
.trust { grid-template-columns: 1fr 2fr; gap: 16px; align-items: stretch; }
.trust-big { background: linear-gradient(160deg, #B5603F, #8A5A3B 60%, #3A2A20); color: #fff; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 280px; }
.trust-big .big { color: #fff; }
.trust-big p { color: rgba(255,255,255,.85) !important; }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.trust-grid > div { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.trust-grid span { font-family: "IBM Plex Mono", monospace; font-size: .78rem; color: var(--accent); }
.trust-grid h3 { margin: 18px 0 4px; }

@media (max-width: 960px) {
  .section-lab .analysis { grid-template-columns: 1fr 1fr; }
  .section-lab .model { height: auto; }
  .section-lab .model img { height: auto; width: 100%; }
  .leaders { display: none; }
  .discover-grid { grid-template-columns: 1fr 1fr; }
  .photo-notes { grid-column: 1 / -1; }
  .viz { grid-template-columns: 1fr 1fr; }
  .viz-main { grid-column: 1 / -1; grid-row: auto; }
  .trust { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .section-lab .analysis, .discover-grid, .results-grid, .viz, .trust-grid, .photo-notes { grid-template-columns: 1fr; }
  .photo-notes::before { display: none; }
}

/* Fond de l'analyse = fond exact de la photo, lueurs seulement sur les bords */
.section-lab {
  background:
    radial-gradient(ellipse at 0% 100%, rgba(181,96,63,.22) 0%, transparent 40%),
    radial-gradient(ellipse at 100% 0%, rgba(201,139,90,.16) 0%, transparent 38%),
    #110C09;
}
.section-lab .model img {
  -webkit-mask-image: radial-gradient(ellipse 48% 50% at 50% 45%, #000 55%, transparent 100%);
          mask-image: radial-gradient(ellipse 48% 50% at 50% 45%, #000 55%, transparent 100%);
}

/* =========================================================
   V6 — nav centrée, fonds dip dye beige, analyse claire
   ========================================================= */
/* Liens du menu parfaitement centrés */
.nav { display: grid; grid-template-columns: 1fr auto 1fr; }
.nav .logo { justify-self: start; }
.nav-actions { justify-self: end; }

/* Dip dye beige : fond doux et "vivant" pour toutes les sections claires */
.section:not(.section-dark):not(.section-deep):not(.section-lab),
.final-cta {
  background:
    radial-gradient(ellipse 60% 70% at 88% 12%, rgba(214,160,118,.30) 0%, transparent 60%),
    radial-gradient(ellipse 55% 60% at 8% 90%, rgba(196,128,92,.20) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 45% 50%, rgba(255,250,244,.70) 0%, transparent 70%),
    linear-gradient(160deg, #F8F2EA 0%, #F1E6DA 55%, #EBDCCD 100%);
}
.section-alt:not(.section-lab) {
  background:
    radial-gradient(ellipse 60% 70% at 10% 15%, rgba(214,160,118,.32) 0%, transparent 60%),
    radial-gradient(ellipse 55% 65% at 95% 85%, rgba(181,96,63,.20) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 60% 40%, rgba(255,250,244,.65) 0%, transparent 70%),
    linear-gradient(200deg, #F4EADF 0%, #EDDFD0 60%, #E6D4C2 100%) !important;
}
#beauty {
  background:
    radial-gradient(ellipse 55% 70% at 100% 100%, rgba(201,139,90,.32) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(214,160,118,.25) 0%, transparent 60%),
    linear-gradient(180deg, #F1E6DA 0%, #EEE1D3 100%) !important;
}

/* Your journey : même fond brun que le hero */
.section-brown {
  background:
    radial-gradient(circle at 62% 28%, rgba(201,139,90,.85) 0%, rgba(138,90,59,.55) 30%, transparent 60%),
    radial-gradient(circle at 15% 85%, rgba(181,96,63,.5) 0%, transparent 45%),
    linear-gradient(160deg, #8A5A3B 0%, #3A2A20 60%, #1F1712 100%);
}
.section-brown .photo-notes > div { background: rgba(31,23,18,.85); }
.section-brown .step { background: rgba(31,23,18,.35); backdrop-filter: blur(6px); }

/* ---------- Analyse : fond beige avec reflet, femme coupée au buste ---------- */
.section-lab {
  color: var(--ink);
  background:
    radial-gradient(ellipse 50% 60% at 50% 55%, rgba(255,251,246,.95) 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 95% 10%, rgba(214,160,118,.30) 0%, transparent 60%),
    radial-gradient(ellipse 45% 60% at 5% 95%, rgba(196,128,92,.22) 0%, transparent 60%),
    linear-gradient(170deg, #F6EEE5 0%, #EFE3D6 100%) !important;
}
.section-lab.screen { padding-bottom: 0; justify-content: flex-end; overflow: hidden; position: relative; }
.section-lab .thin, .section-lab .lead { color: var(--muted); }
.section-lab .eyebrow { color: var(--accent); }
.section-lab .card { background: rgba(255,255,255,.72); border-color: var(--line); backdrop-filter: blur(10px); }
.section-lab .card-label { opacity: .6; }
.section-lab .card-note, .section-lab .scale, .section-lab .eye-detail span, .section-lab .ita span { color: var(--muted); }
.section-lab .lab div, .section-lab .ita em { background: var(--bg-alt); }
.section-lab .lab b { color: var(--muted); }
.section-lab .bars i { background: var(--bg-alt); }
.section-lab .eye-detail i { border-color: var(--line); }
.section-lab .gauge { background: conic-gradient(var(--accent) calc(var(--val) * 1%), var(--bg-alt) 0); }
.section-lab .gauge::before { background: #fff; }
.section-lab .slider-dot { background: #fff; border-color: var(--ink); }
.section-lab .analysis { align-items: end; margin-top: 8px; }
.section-lab .analysis-col { padding-bottom: 32px; position: relative; z-index: 2; }
.section-lab .analysis-center { position: relative; align-self: end; }
.section-lab .model { height: min(calc(100svh - 230px), 640px); position: relative; z-index: 1; }
.section-lab .model img {
  -webkit-mask-image: none; mask-image: none;
  height: 100%; width: auto; aspect-ratio: auto; object-fit: contain; object-position: bottom center; display: block;
}
.section-lab .leaders line { stroke: rgba(181,96,63,.55); }
.section-lab .pt { background: var(--accent); box-shadow: 0 0 0 4px rgba(181,96,63,.18), 0 0 10px rgba(181,96,63,.5); }
.section-lab .scan { background: linear-gradient(to bottom, transparent, rgba(181,96,63,.12), transparent); border-bottom-color: rgba(181,96,63,.5); }
/* nuances qui défilent derrière la femme */
.section-lab .shade-marquee {
  position: absolute; left: 0; right: 0; bottom: 30%; margin: 0; z-index: 0; opacity: .9;
}
.section-lab .shade-track i { width: 54px; height: 54px; border-radius: 12px; }
@media (max-width: 960px) {
  .section-lab.screen { padding-bottom: 0; }
  .section-lab .analysis-center { order: 3; grid-column: 1 / -1; }
  .section-lab .model { height: auto; }
  .section-lab .model img { width: 100%; height: auto; }
  .section-lab .shade-marquee { bottom: 18%; }
}


/* =========================================================
   THÈME "NUDE SCIENTIFIQUE" — blanc cassé + taupe très clair
   S'ajoute après style.css (aperçu : preview-nude.html)
   ========================================================= */
:root {
  --bg: #F2EEEA;        /* blanc cassé */
  --bg-alt: #E4DBCF;    /* taupe très clair */
  --taupe: #DDD3C4;
  --taupe-deep: #B9AC9A;
  --ink: #2E2924;
  --muted: #847A70;
  --accent: #8C7766;    /* cacao doux, plus "labo" que le terracotta */
  --line: rgba(120,104,88,.16);
  --card: #F7F4F0;
  /* relief */
  --relief: 0 1px 0 rgba(255,255,255,.9) inset, 0 -1px 0 rgba(120,104,88,.06) inset,
            0 18px 40px -18px rgba(90,74,58,.28), 0 2px 6px rgba(90,74,58,.06);
  --relief-sm: 0 1px 0 rgba(255,255,255,.9) inset, 0 8px 20px -10px rgba(90,74,58,.25);
}

/* Grain de papier très léger sur toute la page */
body {
  background: var(--bg) !important;
  color: var(--ink);
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none; opacity: .09; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .45  0 0 0 0 .40  0 0 0 0 .34  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}


/* ---------- Hero : taupe lumineux au lieu du brun ---------- */
.hero { color: var(--ink); }
.hero-bg {
  background:
    url("images/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(ellipse 55% 60% at 68% 32%, #FBF8F4 0%, rgba(251,248,244,0) 60%),
    radial-gradient(ellipse 60% 70% at 15% 90%, rgba(185,172,154,.55) 0%, transparent 60%),
    linear-gradient(160deg, #EAE2D7 0%, #DDD3C4 55%, #CFC3B2 100%) !important;
}
.hero .thin { color: var(--muted); }
.hero-sub { opacity: 1; color: #5E554C; }
.hero-pillars { border-top-color: rgba(120,104,88,.22); }
.hero-pillars span { opacity: 1; color: var(--muted); }
.hero .btn-light { background: var(--ink); color: #F7F4F0; box-shadow: var(--relief-sm); }
.hero .btn-ghost { background: rgba(255,255,255,.55); color: var(--ink); border-color: rgba(120,104,88,.25); }
/* Mesures en filigrane dans le hero (ambiance labo) */
.hero::after {
  content: "L* 64.2   a* 11.8   b* 19.4   ITA 36°   ΔE 2.31";
  position: absolute; right: 32px; bottom: 150px; z-index: 0;
  font-family: "IBM Plex Mono", monospace; font-size: .72rem; letter-spacing: .14em; color: rgba(90,74,58,.45);
  writing-mode: vertical-rl;
}

/* ---------- Menu ---------- */
.nav { color: var(--ink); background: linear-gradient(to bottom, rgba(242,238,234,.6), transparent); }
.nav .btn-light { background: var(--ink); color: #F7F4F0; }
.nav.scrolled { background: rgba(242,238,234,.88); }

/* ---------- Textes ---------- */
.eyebrow, .eyebrow.light { color: var(--accent); font-family: "IBM Plex Mono", monospace; font-weight: 500; letter-spacing: .16em; }
.check-list li::before { background: var(--card); color: var(--accent); box-shadow: var(--relief-sm); border: 1px solid var(--line); }

/* ---------- Relief sur toutes les cartes ---------- */
.card, .stat-card, .discover-grid article, .viz-card, .trust-grid > div, .plan-card,
.season-card, .phase .action, .ba-slider, .page {
  background-color: var(--card);
  border: 1px solid rgba(255,255,255,.7) !important;
  box-shadow: var(--relief);
}
.discover-grid article::before { background: linear-gradient(90deg, var(--taupe), var(--taupe-deep)); }
.tabs-row label { background: var(--card); box-shadow: var(--relief-sm); border-color: rgba(255,255,255,.7); }
.slider { background: linear-gradient(90deg, #AFC0CF, #EDE6DC, #D2A985); box-shadow: inset 0 1px 2px rgba(90,74,58,.25); }
.bars i, .levels i, .lab div, .ita em { box-shadow: inset 0 1px 2px rgba(90,74,58,.18); }
.gauge::before { box-shadow: 0 2px 6px rgba(90,74,58,.15); }
.btn-dark { background: var(--ink); box-shadow: var(--relief-sm); }

/* ---------- Méthode (ancien fond brun) → taupe en relief ---------- */
.section-deep {
  color: var(--ink) !important;
  background:
    radial-gradient(ellipse 60% 70% at 75% 15%, #F6F2ED 0%, transparent 60%),
    linear-gradient(165deg, #E4DBCF 0%, #D6CBBB 100%) !important;
}
.section-deep .thin, .section-deep .lead, .section-deep .quote cite { color: var(--muted) !important; }
.track::before { background: rgba(120,104,88,.25); }
.track li::before { background: var(--bg); border-color: var(--taupe-deep); }
.old { opacity: .75; }
.old li:last-child strong { color: #9A5F4A; }
.new .track li { background: var(--card); border: 1px solid rgba(255,255,255,.7); box-shadow: var(--relief); backdrop-filter: none; }
.new .track li::before { background: var(--taupe-deep); border-color: var(--taupe-deep); }
.new .track li.highlight { background: var(--ink); color: #F7F4F0; }
.new .track li.highlight::before { background: #F7F4F0; border-color: #F7F4F0; }

/* ---------- Analyse ---------- */
.section-lab {
  background:
    radial-gradient(ellipse 45% 60% at 50% 55%, #FBF8F4 0%, transparent 70%),
    radial-gradient(ellipse 50% 70% at 95% 10%, rgba(221,211,196,.8) 0%, transparent 60%),
    linear-gradient(170deg, #F2EEEA 0%, #E6DDD1 100%) !important;
}
.section-lab .card { background: rgba(247,244,240,.82); }
.section-lab .leaders line { stroke: rgba(140,119,102,.6); }
.section-lab .pt { background: var(--accent); box-shadow: 0 0 0 4px rgba(140,119,102,.18); }
.section-lab .scan { background: linear-gradient(to bottom, transparent, rgba(140,119,102,.10), transparent); border-bottom-color: rgba(140,119,102,.45); }
.section-lab .shade-track i { box-shadow: var(--relief-sm); }

/* ---------- Your journey (ancien brun) → taupe ---------- */
.section-brown, .section-dark {
  color: var(--ink) !important;
  background:
    radial-gradient(ellipse 55% 65% at 60% 25%, #F7F3EE 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 10% 90%, rgba(185,172,154,.45) 0%, transparent 60%),
    linear-gradient(160deg, #E6DDD1 0%, #D9CEBE 100%) !important;
}
.section-dark .thin, .section-dark .lead { color: var(--muted) !important; }
.step { border: 1px solid rgba(255,255,255,.7) !important; background: var(--card) !important; box-shadow: var(--relief); }
.step span { color: var(--accent); font-family: "IBM Plex Mono", monospace; }
.step-photo { outline: 1px solid var(--taupe-deep); outline-offset: 3px; }
.photo-notes { background: var(--line); box-shadow: var(--relief); }
.photo-notes > div { background: var(--card) !important; }
.photo-notes p, .sweater-note { color: var(--muted) !important; }
.photo-notes::before { background: var(--taupe-deep); }
.section-dark .btn-light { background: var(--ink); color: #F7F4F0; box-shadow: var(--relief-sm); }
.page { background: #FBF9F6; }

/* ---------- Réassurance ---------- */
.trust-big {
  background:
    radial-gradient(ellipse 70% 70% at 80% 10%, rgba(255,255,255,.35) 0%, transparent 60%),
    linear-gradient(160deg, #B9AC9A, #8C7766 70%, #6E5D50) !important;
  box-shadow: var(--relief);
}
.trust-grid span, .discover-grid span { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { background: #2E2924; }

/* =========================================================
   ALTERNANCE : sections blanches (léger dip dye) / sections taupe clair
   ========================================================= */
/* :not(#_) ne sert qu'à passer devant les fonds définis dans style.css */
/* Style 2 : blanc pur */
main > section:not(#_):not(#_):not(.hero) { background: #FFFFFF !important; }
/* Style 1 : dip dye taupe (une section sur trois environ, pour rythmer) */
main > section:nth-of-type(4):not(#_):not(#_),
main > section:nth-of-type(8):not(#_):not(#_),
main > section:nth-of-type(12):not(#_):not(#_) {
  background:
    radial-gradient(ellipse 50% 65% at 72% 35%, rgba(246,241,234,.95) 0%, rgba(246,241,234,0) 60%),
    radial-gradient(ellipse 55% 70% at 8% 85%, rgba(160,146,128,.45) 0%, transparent 60%),
    linear-gradient(160deg, #CFC3B2 0%, #DDD3C4 55%, #C4B6A3 100%) !important;
}

/* Hero : dip dye taupe, texte blanc */
.hero { color: #fff; }
.hero-bg {
  background:
    url("images/hero.jpg") center 30% / cover no-repeat,
    radial-gradient(ellipse 45% 60% at 70% 45%, rgba(236,228,217,.95) 0%, rgba(236,228,217,0) 62%),
    radial-gradient(ellipse 60% 80% at 0% 30%, rgba(120,106,90,.75) 0%, transparent 60%),
    linear-gradient(160deg, #9C8E7C 0%, #B8AA97 45%, #CDBFAC 75%, #A89A87 100%) !important;
}
.hero .thin { color: rgba(255,255,255,.78); }
.hero-sub { color: rgba(255,255,255,.88); }
.hero-pillars { border-top-color: rgba(255,255,255,.3); }
.hero-pillars > div + div { border-left: 1px solid rgba(255,255,255,.3); padding-left: 24px; }
.hero-pillars span { color: rgba(255,255,255,.75); }
.hero .btn-light { background: #fff; color: var(--ink); }
.hero .btn-ghost { background: rgba(255,255,255,.2); color: #fff; border-color: rgba(255,255,255,.35); }
.hero::after { color: rgba(255,255,255,.5); }
.nav:not(.scrolled) { color: #fff; background: transparent; }
.nav:not(.scrolled) .btn-light { background: #fff; color: var(--ink); }
.nav.scrolled { background: rgba(255,255,255,.92); }

/* Habillage : fines lignes de structure */
main > section:not(.hero) { position: relative; border-top: 1px solid rgba(120,104,88,.14); }
main > section:not(.hero)::after {
  content: ""; position: absolute; top: 0; bottom: 0; pointer-events: none; z-index: 0;
  left: max(16px, calc(50% - var(--max) / 2 - 24px)); right: max(16px, calc(50% - var(--max) / 2 - 24px));
  border-left: 1px solid rgba(120,104,88,.12); border-right: 1px solid rgba(120,104,88,.12);
}
main > section > * { position: relative; z-index: 1; }
.split > div:first-child { border-right: 1px solid rgba(120,104,88,.12); padding-right: 32px; }
.section-lab .split > div:first-child { border-right: 0; }
/* Petit titre en pastille, façon étiquette de labo */
.eyebrow, .eyebrow.light {
  display: inline-block; padding: 6px 12px; border: 1px solid rgba(120,104,88,.25); border-radius: 999px;
  color: #9A8C7B !important; font-size: .7rem; letter-spacing: .14em; background: rgba(255,255,255,.5);
}
/* Listes numérotées [1] [2]… au lieu des coches */
.check-list { counter-reset: item; }
.check-list li { counter-increment: item; gap: 20px; }
.check-list li::before {
  content: "[" counter(item) "]"; width: auto; height: auto; border-radius: 0; background: none !important;
  box-shadow: none !important; border: 0 !important; color: #9A8C7B; font-family: "IBM Plex Mono", monospace; font-size: .8rem;
}
/* Images avant/après sur fond taupe */
.ba-slider { background: #DDD3C4; border-radius: 14px; }
.ba-slider .tag { background: transparent; color: #fff; border: 0; letter-spacing: .1em; font-weight: 500; }
/* Cartes sur blanc : taupe très léger */
main > section .card, main > section .stat-card, main > section .viz-card,
main > section .trust-grid > div, main > section .plan-card,
main > section .discover-grid article, main > section .step { background-color: #FAF8F5 !important; }
@media (max-width: 960px) {
  .split > div:first-child { border-right: 0; padding-right: 0; }
  .hero-pillars > div + div { border-left: 0; padding-left: 0; }
}
/* Cartes : un ton plus clair sur taupe, un ton plus chaud sur blanc */
