/* Classy Vogue (Variatype) : majuscules et minuscules sans accents, réservée au nom de marque. */
@font-face {
  font-family: "Classy Vogue";
  src: url("assets/fonts/classy-vogue.ttf") format("truetype");
  font-display: swap;
}

/* =========================================================
   Design system
   ========================================================= */
:root {
  /* Couleurs : 3 fonds de section, 1 vert de marque, 2 encres */
  --sage: #dde5d1;      /* hero */
  --ivory: #f8f4ed;     /* sections produit et réassurance */
  --white: #fff;        /* résultats et avis */
  --green: #2f4a35;     /* boutons, pied de page */
  --accent: #2f4a35;      /* accent des mots en bold dans les titres : vert de la marque → vert plus clair */
  --accent-2: #5e8466;
  --accent-light: #c3d4c2; /* versions pour fond sombre */
  --accent-light-2: #e4ede0;
  --green-dark: #1f3326;
  --ink: #26332a;
  --ink-soft: #55635a;
  --cream: #f5f3ec;     /* texte sur fond vert ou photo */
  --line: rgba(38, 51, 42, 0.12);

  /* Arrondis : 3 tailles seulement (+ pastilles) */
  --r-sm: 8px;    /* étiquettes, vignettes, encarts */
  --r-md: 16px;   /* cartes */
  --r-lg: 24px;   /* grands visuels */
  --r-pill: 999px;

  /* Typographie */
  --font-brand: "Classy Vogue", Georgia, serif;
  --font-display: "Satoshi", system-ui, sans-serif;
  --font-body: "Satoshi", system-ui, sans-serif;
  --text-xs: 0.75rem;   /* plus petite taille autorisée (12 px) */

  /* Espacement vertical commun : ~224 px entre deux contenus sur bureau, ~144 px sur mobile */
  --section-space: clamp(72px, 7.8vw, 112px);
  --gutter: 3.2%;
  /* Longueur du fondu en bas de la photo du hero */
  --fade-h: clamp(300px, 42vh, 440px);

  /* Taille du pot : ratio des images 882 × 852 */
  --card-h: 100vh;
  --prod-h: calc(var(--card-h) * 0.5);
  --prod-w: calc(var(--prod-h) * 882 / 852);
}

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

body {
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Boutons : un seul style (pastille verte), une variante claire sur fond sombre ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.btn:hover svg { transform: translateX(3px); }

/* Flèche ronde : une seule icône (→) partout */
.arrow-link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
}
.arrow-link-light { background: var(--cream); color: var(--ink); }
.arrow-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
a:hover > .arrow-link svg, a.arrow-link:hover svg { transform: translateX(3px); }

.eyebrow { font-size: var(--text-xs); letter-spacing: 0.2em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }

/* =========================================================
   Menu (panneau latéral), notification panier
   ========================================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(20, 30, 22, 0.35);
}
.menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(420px, 100%);
  padding: 22px 28px 32px;
  background: var(--ivory);
  animation: menu-in 0.3s ease;
}
@keyframes menu-in { from { transform: translateX(100%); } }
.menu-panel[hidden], .menu-overlay[hidden] { display: none; }
.menu-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 48px; }
.menu-panel-head .logo { font-size: 1.4rem; }
.menu-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}
.menu-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.menu-links { display: grid; gap: 6px; }
.menu-links a {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: color 0.2s, padding 0.2s;
}
.menu-links a:hover { color: var(--green); padding-left: 6px; }
.menu-panel-foot { display: grid; gap: 10px; margin-top: auto; font-size: 0.95rem; color: var(--ink-soft); }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 80;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 12px 30px rgba(20, 30, 22, 0.25);
  /* Cachée : sortie entièrement sous l'écran (vide, la pastille ne fait que 24 px : 160 % en laissait dépasser un bout) */
  transform: translate(-50%, calc(100% + 48px));
  visibility: hidden;
  transition: transform 0.35s ease, visibility 0s 0.35s;
  pointer-events: none;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform 0.35s ease; }

/* =========================================================
   1. Hero
   ========================================================= */
.hero { height: 100vh; }
.hero-card {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: var(--sage);
}

/* Rayons de lumière en diagonale, en haut à droite */
.rays span {
  position: absolute;
  top: -30%;
  width: 7%;
  height: 120%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  filter: blur(18px);
  transform: rotate(38deg);
  transform-origin: top center;
}
.rays span:nth-child(1) { right: 4%; }
.rays span:nth-child(2) { right: 14%; width: 4%; opacity: 0.7; }
.rays span:nth-child(3) { right: 22%; width: 9%; opacity: 0.5; }

.site-header {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 20px 2.2%;
}
.logo {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--green);
}
.nav { display: flex; gap: 6px; font-size: 0.85rem; }
.nav a { padding: 6px 16px; border-radius: var(--r-pill); transition: background 0.2s; }
.nav a:hover { background: rgba(47, 74, 53, 0.08); }
.nav a.is-active { background: rgba(47, 74, 53, 0.12); }

.header-actions { justify-self: end; display: flex; align-items: center; gap: 6px; }
.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.2s;
}
.icon-btn:hover { background: rgba(47, 74, 53, 0.08); }
.icon-btn svg, .menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-left: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}
.menu-btn:hover { background: var(--green-dark); }
/* Pastille du nombre d'articles sur l'icône panier */
.cart-count {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--r-pill);
  background: var(--green);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
  line-height: 18px;
  text-align: center;
}
.cart-count.bump { animation: cart-bump 0.35s ease; }
@keyframes cart-bump { 50% { transform: scale(1.35); } }

/* Grand mot en fond (SOLENA, HYDRATER) */
.bg-word {
  position: absolute;
  top: 11%;
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-brand);
  font-weight: 400;
  font-size: min(calc(var(--card-h) * 0.47), 21.5vw);
  line-height: 1;
  letter-spacing: 0.08em;
  padding-left: 0.08em;
  background: linear-gradient(180deg, #2f4a35 0%, #4a6a51 48%, rgba(221, 229, 209, 0) 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

.model {
  position: absolute;
  bottom: 0;
  left: 50%;
  height: 84%;
  max-width: none;
  transform: translateX(-50%);
  z-index: 2;
  /* Fondu en bas pour ne pas couper la photo net (courbe adoucie) */
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.095) calc(var(--fade-h) * 0.2), rgba(0, 0, 0, 0.345) calc(var(--fade-h) * 0.4), rgba(0, 0, 0, 0.655) calc(var(--fade-h) * 0.6), rgba(0, 0, 0, 0.905) calc(var(--fade-h) * 0.8), #000 var(--fade-h));
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0.095) calc(var(--fade-h) * 0.2), rgba(0, 0, 0, 0.345) calc(var(--fade-h) * 0.4), rgba(0, 0, 0, 0.655) calc(var(--fade-h) * 0.6), rgba(0, 0, 0, 0.905) calc(var(--fade-h) * 0.8), #000 var(--fade-h));
}

.hero-text {
  position: absolute;
  left: var(--gutter);
  bottom: 4.6%;
  max-width: 250px;
  z-index: 3;
}
.hero-text p { font-size: 0.98rem; line-height: 1.5; color: var(--ink-soft); margin-bottom: 24px; }

.explore {
  position: absolute;
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 500;
  font-size: 0.85rem;
}
.explore svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }

.product-card {
  position: absolute;
  right: 2.4%;
  bottom: 4.4%;
  z-index: 3;
  width: clamp(150px, 15.5%, 220px);
  padding: 8px 8px 14px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 10px 30px rgba(38, 51, 42, 0.08);
  transition: transform 0.2s;
}
.product-card:hover { transform: translateY(-3px); }
.product-card-img {
  position: relative;
  aspect-ratio: 1.45;
  border-radius: var(--r-sm);
  background: #e9ece2;
  margin-bottom: 10px;
}
.product-card-img img { position: absolute; top: 8%; left: 50%; height: 84%; transform: translateX(-50%); }
.product-card-title { font-size: 0.95rem; font-weight: 700; line-height: 1.3; padding: 0 4px; }
.product-card-sub { font-size: var(--text-xs); color: var(--ink-soft); padding: 0 4px; }
.product-card-price { font-size: 1.1rem; font-weight: 700; margin-top: 10px; padding: 0 4px; }

/* =========================================================
   2. Produit phare : le pot s'ouvre au scroll
   ========================================================= */
.showcase {
  background: var(--white);
  /* Haut : « HYDRATER » est déjà à 12vh du haut de la scène, on complète jusqu'à l'espacement standard */
  padding-top: max(0px, calc(var(--section-space) - 12vh + 8px));
  /* écran peu haut ou tablette : si 12vh dépasse déjà l'espacement, on remonte la section (fonds blancs identiques) */
  margin-top: min(0px, calc(var(--section-space) - 12vh + 8px));
  /* Bas : les infos sont à 6vh du bord de la scène figée */
  padding-bottom: calc(var(--section-space) - 6vh + 6px);
}
.showcase-stage {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: var(--white);
}
.bg-word-small {
  top: 12%;
  font-size: min(calc(var(--card-h) * 0.3), 13.5vw);
  letter-spacing: 0.06em;
  padding-left: 0.06em;
}

.product {
  position: absolute;
  bottom: 14%;
  left: calc(50% - var(--prod-w) / 2);
  width: var(--prod-w);
  height: var(--prod-h);
  z-index: 2;
}
.jar, .lid, .lid img { position: absolute; inset: 0; width: 100%; height: 100%; }
.lid { will-change: transform; }
.product-shadow {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -2%;
  height: 9%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(38, 51, 42, 0.3), transparent);
  filter: blur(6px);
}

/* Ingrédients autour du pot : petites étiquettes (nom + détail) disposées en arc (apparition au scroll, sans flottement) */
.callouts { list-style: none; }
.callout {
  position: absolute;
  padding: 11px 18px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(38, 51, 42, 0.09);
  font-size: 0.85rem;
  line-height: 1.35;
  color: var(--ink-soft);
  white-space: nowrap;
}
.callout strong { display: block; font-weight: 500; font-size: 1rem; letter-spacing: -0.01em; color: var(--ink); }
/* Posées à cheval sur les bords du pot, comme des notes épinglées dessus, en léger décalage gauche / droite */
.callout { z-index: 3; }
.callout-tl { right: calc(100% - 90px); top: 12%; }
.callout-bl { right: calc(100% - 80px); top: 56%; }
.callout-tr { left: calc(100% - 90px); top: 28%; }
.callout-br { left: calc(100% - 80px); top: 68%; }

.showcase-intro { position: absolute; left: var(--gutter); bottom: 6%; max-width: 360px; z-index: 3; }
/* Titres en medium, un mot d'accent en bold */
h2 em, h3 em, .footer-title em {
  font-style: normal;
  font-weight: 700;
  /* dégradé vert qui s'éclaircit vers la fin du mot, recalculé à chaque ligne si le mot passe à la ligne */
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
/* Sur fond sombre (photo, pied de page vert) : vert clair vers vert très pâle */
.results-card h3 em, .footer-title em { background-image: linear-gradient(100deg, var(--accent-light) 0%, var(--accent-light-2) 100%); }
/* Carte conseil routine : le fond vert sauge noie le vert clair, on fonce un peu le dégradé et on adoucit le reste du titre */
.bento-feature-text h3 { color: #405246; }
.bento-feature-text h3 em { background-image: linear-gradient(100deg, #1f3a28 0%, #3b5f45 100%); }
.showcase-intro h2 { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(1.9rem, 3vw, 2.8rem); line-height: 1.05; }
.showcase-buy { position: absolute; right: var(--gutter); bottom: 6%; text-align: right; z-index: 3; }
.price { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 12px; }

/* =========================================================
   3. Résultats : grille éditoriale
   ========================================================= */
/* Haut : le hero est un bloc sauge plein jusqu'en bas, son bord sert de limite, un seul espacement suffit */
.benefits { background: var(--white); padding: var(--section-space) var(--gutter); }
.benefits-head { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.benefits-head h2 { font-weight: 500; font-size: clamp(2rem, 3.6vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 14px; }
/* Le mot mis en avant passe en graisse fine, pour contraster avec le reste du titre en gras */
.benefits-head p { font-size: 0.95rem; line-height: 1.55; color: var(--ink-soft); max-width: 460px; margin: 0 auto; }

/* Grille : liste | portrait | grand visuel (2 rangées) / carte large sous la liste et le portrait */
.bento {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr 1.6fr;
  grid-template-rows: 0.39fr 0.61fr;
  gap: 24px;
  aspect-ratio: 1.8;
}
.bento-stats { grid-column: 1; grid-row: 1; }
.bento-portrait { grid-column: 2; grid-row: 1; }
.bento-feature { grid-column: 1 / 3; grid-row: 2; }
.bento-tall { grid-column: 3; grid-row: 1 / 3; }

/* Chiffres clés : trois lignes séparées par un filet, chacune avec son mini-visuel à gauche */
.bento-stats { display: flex; flex-direction: column; justify-content: space-between; margin: 0; list-style: none; }
.bento-stats li { display: flex; align-items: center; gap: 22px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.bento-stats li:first-child { padding-top: 0; }
.bento-stats li:last-child { border-bottom: 0; padding-bottom: 0; }
.bento-stats p { font-size: 0.9rem; line-height: 1.35; color: var(--ink-soft); }
.bento-stats strong { display: block; margin-bottom: 4px; font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 500; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.stat-visual { flex: none; width: 56px; height: 56px; }
/* 24 h : un cadran de 24 graduations, toutes remplies */
.stat-clock line { stroke: var(--green); stroke-width: 1.6; stroke-linecap: round; }
.stat-clock circle { fill: #e4e9db; }
/* -40 % : barre « avant » pâle, barre « après » verte à 60 % de sa hauteur */
.stat-bars { display: flex; align-items: flex-end; justify-content: center; gap: 8px; padding-bottom: 4px; box-sizing: border-box; }
.stat-bars span { width: 16px; border-radius: 4px; }
.stat-bars .before { height: 48px; background: #e6e1d6; }
.stat-bars .after { height: 29px; background: var(--green); }
/* 98 % : 98 points pleins sur 100 */
.stat-dots circle { fill: var(--green); }
.stat-dots circle.off { fill: #e6e1d6; }

.bento-card { position: relative; margin: 0; border-radius: var(--r-md); overflow: hidden; }
.bento-card > img { width: 100%; height: 100%; object-fit: cover; }
.bento-portrait img { object-position: 55% 35%; }
.benefits-note { margin-top: 20px; font-size: var(--text-xs); line-height: 1.5; color: var(--ink-soft); }
.bento-tall img { object-position: 50% 20%; }

/* Carte large : photo en retrait à gauche, texte sur le fond vert à la feuille (zone claire en haut à droite) */
.bento-feature {
  display: flex;
  gap: 8px;
  padding: 8px;
  border: 2px solid rgba(214, 226, 204, 0.6);
  /* Calé en bas pour garder la feuille visible en bas à droite */
  background: #a9bb98 url("assets/fond-carte-feuille.webp") center bottom / cover no-repeat;
}
.bento-feature .bento-feature-img { width: 42%; height: 100%; object-fit: cover; object-position: 60% 30%; border-radius: var(--r-sm); }
.bento-feature-text { position: relative; flex: 1; padding: 26px 24px; color: var(--ink); }
.bento-feature-text .eyebrow { margin-bottom: 8px; }
.bento-feature-text h3 { font-weight: 500; letter-spacing: -0.02em; font-size: clamp(1.5rem, 2.2vw, 2.1rem); line-height: 1.05; margin-bottom: 14px; max-width: 14ch; }
.bento-feature-text p { font-size: 0.9rem; line-height: 1.55; color: var(--ink); max-width: 34ch; }
.bento-feature .arrow-link { position: absolute; right: 18px; bottom: 18px; box-shadow: 0 0 0 7px rgba(245, 243, 236, 0.22); }

/* Grand visuel : encart blanc posé en bas */
.bento-note { position: absolute; left: 5%; right: 5%; bottom: 5%; padding: 18px 20px; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.95); }
.bento-note h3 { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.bento-note svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.bento-note p { font-size: 0.85rem; line-height: 1.5; color: var(--ink-soft); padding-left: 30px; }

/* =========================================================
   4. Preuve : avis client + flacons sur les pierres
   ========================================================= */
.still { position: relative; overflow: hidden; background: var(--ivory); padding: var(--section-space) var(--gutter); }
/* Mur d'avis : 3 colonnes en mosaïque (hauteurs libres), une carte vedette verte */
.reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin: 0 0 56px; }
.reviews-head h2 { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; max-width: 12ch; }
.reviews-score { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 0.9rem; color: var(--ink-soft); }
.reviews-score strong { font-size: 2.2rem; font-weight: 500; letter-spacing: -0.03em; color: var(--ink); }
.reviews-wall { list-style: none; margin: 0 0 112px; columns: 3; column-gap: 24px; }
.review { break-inside: avoid; margin-bottom: 24px; padding: 30px 30px 28px; border-radius: var(--r-md); background: var(--white); }
.review blockquote { margin-top: 14px; font-size: 1.05rem; line-height: 1.45; }
.review em { font-style: italic; }
.stars { font-size: var(--text-xs); letter-spacing: 0.18em; color: #5e6f47; }
.stars span { opacity: 0.3; }
.review-author { margin-top: 22px; font-size: 0.9rem; font-weight: 500; }
.review-author span { display: block; font-size: var(--text-xs); font-weight: 400; color: var(--ink-soft); }
.review-sage { background: #e4e9db; }
/* Carte vedette : halo de lumière venu du coin haut droit + léger grain de papier, sur le vert de la marque */
.review-feature {
  padding: 38px 36px 34px;
  color: var(--cream);
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.09 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
    radial-gradient(circle at 92% 0%, rgba(214, 224, 191, 0.32), transparent 58%),
    var(--green);
}
.review-feature .stars { color: #c9d6b4; }
.review-feature blockquote { font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.3; letter-spacing: -0.01em; }
.review-feature .review-author { margin-top: 36px; }
.review-feature .review-author span { color: rgba(245, 243, 236, 0.7); }
.review-photo { display: flex; gap: 18px; align-items: flex-start; }
.review-photo img { flex: none; width: 56px; height: 56px; border-radius: var(--r-sm); object-fit: cover; transform: rotate(-4deg); box-shadow: 0 4px 14px rgba(38, 51, 42, 0.12); }
.review-photo blockquote { margin-top: 6px; }

/* Marge haute = hauteur des fleurs qui dépassent au-dessus des flacons (34 % de la largeur) */
.still-figure { position: relative; max-width: 680px; margin: calc(min(680px, 100%) * 0.34) auto calc(min(680px, 100%) * 0.04); } /* bas : la mousse dépasse de 6 % sous les pierres */
.still-figure > img { position: relative; z-index: 1; width: 100%; height: auto; }
/* Fleurs sauvages derrière les pierres (pieds des tiges cachés par les rochers), mousse devant leur base */
.still-figure > .still-flowers { position: absolute; z-index: 1; left: 50%; bottom: 17%; width: 142%; max-width: none; translate: -50% 0; pointer-events: none; }
/* Balancement léger, comme dans un courant d'air : chaque touffe pivote depuis sa base, à son propre rythme.
   La coupure à 53,6 % tombe dans le creux entre les deux touffes. */
.flowers-left { clip-path: inset(0 46.4% 0 0); transform-origin: 27% 100%; animation: sway 7.5s ease-in-out infinite; }
.flowers-right { clip-path: inset(0 0 0 53.6%); transform-origin: 76% 100%; animation: sway 9.2s ease-in-out -3.1s infinite reverse; }
@keyframes sway {
  0%, 100% { rotate: 0deg; }
  22% { rotate: 0.9deg; }
  48% { rotate: -0.4deg; }
  70% { rotate: 0.6deg; }
  86% { rotate: -0.2deg; }
}
@media (prefers-reduced-motion: reduce) { .still-flowers, .still-moss { animation: none; } }
.still-figure > .still-bottles { z-index: 2; }
.still-figure > .still-moss { position: absolute; z-index: 3; left: 50%; bottom: -6%; width: 92%; max-width: none; translate: -50% 0; transform-origin: 50% 100%; animation: rustle 6.4s ease-in-out -1.7s infinite; pointer-events: none; }
/* Mousse : frémissement encore plus discret, la base reste posée et seul le haut glisse de 1 à 2 px */
@keyframes rustle {
  0%, 100% { transform: skewX(0deg); }
  30% { transform: skewX(-0.7deg); }
  58% { transform: skewX(0.3deg); }
  80% { transform: skewX(-0.35deg); }
}
/* Faux sol de studio : plus bas que le milieu des pierres, horizon flou (pas de trait),
   sol sablé et granuleux qui s'efface vers le bas */
.still-figure::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -100vw;
  right: -100vw;
  top: 74%;
  /* Va de l'horizon jusqu'au bas exact de la section, pour s'effacer complètement avant la suivante */
  height: calc(26% + var(--section-space));
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.32  0 0 0 0 0.27  0 0 0 0 0.2  0 0 0 0.22 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"), #ebe2d3;
  /* Horizon : le sol apparaît progressivement sur ~40 px ; bas : il disparaît avant la section suivante */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 45%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 40px, #000 45%, transparent 100%);
  filter: blur(0.4px);
  pointer-events: none;
}
/* Ombre douce sous les pierres (le détourage a retiré celle de la photo) */
.still-figure::after {
  content: "";
  position: absolute;
  left: 6%;
  right: 4%;
  bottom: -2%;
  height: 10%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(38, 51, 42, 0.18), transparent);
  filter: blur(8px);
}

/* Étiquettes produit flottantes, posées à côté de chaque flacon */
.product-tag {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 18px 8px 8px;
  border-radius: var(--r-md);
  background: #fff;
  box-shadow: 0 8px 24px rgba(38, 51, 42, 0.08);
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
}
.product-tag:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(38, 51, 42, 0.12); }
.product-tag img { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; }
.tag-text { display: grid; gap: 1px; line-height: 1.3; }
.tag-cat, .tag-price { font-size: 0.8rem; color: var(--ink-soft); }
.tag-name { font-size: 1rem; font-weight: 700; }
.product-tag svg { width: 16px; height: 16px; margin-left: 8px; fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tag-serum { right: 66%; top: 28%; }   /* à gauche du flacon vert */
.tag-huile { left: 70%; top: 46%; }    /* à droite du flacon noir */

/* =========================================================
   5. La gamme : carrousel des plus rachetés
   ========================================================= */
.picks { background: var(--ivory); padding: var(--section-space) var(--gutter); }
.picks-head {
  display: grid;
  grid-template-columns: 1fr minmax(0, 340px) 1fr;
  align-items: start;
  gap: 32px;
  margin-bottom: 48px;
}
.picks-head h2 { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(2.2rem, 3.8vw, 3.4rem); line-height: 1.05; }
.picks-head p { font-size: 1rem; line-height: 1.5; color: var(--ink-soft); padding-top: 8px; }
.picks-arrows { justify-self: end; display: flex; gap: 12px; padding-top: 8px; }
.arrow {
  display: grid;
  place-items: center;
  width: 64px;
  height: 44px;
  border: 0;
  border-radius: var(--r-pill);
  background: #ece6db;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.arrow-next { background: var(--green); color: #fff; }
.arrow:disabled { opacity: 0.35; cursor: default; }
.arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* 3 cartes visibles, défilement horizontal avec aimantation */
.picks-track {
  --gap: 24px;
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--gap)) / 3);
  gap: var(--gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.picks-track::-webkit-scrollbar { display: none; }
.pick { scroll-snap-align: start; }
.pick a {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: var(--r-md);
  background: #fdfbf8; /* un ton plus clair que l'ivoire du fond */
  overflow: hidden;
  transition: transform 0.3s;
}
.pick-promo a { background: #e4e9db; }
.pick a:hover { transform: translateY(-4px); }
.pick-img { position: relative; aspect-ratio: 1.15; }
.pick-img img { position: absolute; top: 22%; left: 50%; height: 58%; transform: translateX(-50%); transition: transform 0.4s; }
.pick a:hover .pick-img img { transform: translateX(-50%) scale(1.04); }
.badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: var(--r-pill);
  background: #fff;
  font-size: var(--text-xs);
  font-weight: 700;
}
.pick-info { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; padding: 0 24px 26px; margin-top: auto; }
.pick-info p { font-size: 0.95rem; font-weight: 500; line-height: 1.4; }
.pick-info span { font-size: 1.05rem; font-weight: 700; white-space: nowrap; }

/* =========================================================
   6. Réassurance : questions fréquentes + grande carte photo
   ========================================================= */
.results { background: var(--white); padding: var(--section-space) var(--gutter); }
.results-top {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5%;
  align-items: start;
  margin-bottom: 48px;
}
.results-list h2 { font-weight: 500; letter-spacing: -0.03em; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.05; margin-bottom: 20px; }
.results-list details { border-bottom: 1px solid var(--line); }
.results-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 52px;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.results-list summary::-webkit-details-marker { display: none; }
/* « + » qui devient « × » à l'ouverture */
.plus { position: relative; width: 14px; height: 14px; flex: none; transition: transform 0.25s; }
.plus::before, .plus::after { content: ""; position: absolute; top: 50%; left: 0; width: 100%; height: 1.5px; background: var(--ink); transform: translateY(-50%); }
.plus::after { transform: translateY(-50%) rotate(90deg); }
details[open] .plus { transform: rotate(45deg); }
.results-list details p { padding: 0 32px 16px 0; font-size: 0.92rem; line-height: 1.55; color: var(--ink-soft); }

.results-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 40px; }
.results-cta p { max-width: 220px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }

.results-photo { margin: 0; aspect-ratio: 1.33; border-radius: var(--r-lg); overflow: hidden; }
.results-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 60%; }

/* Grande carte : titre en haut à gauche, lien en haut à droite, types de peau en bas */
.results-card {
  position: relative;
  aspect-ratio: 1.9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #59613f; /* visible le temps que la photo charge */
  color: #fff;
}
.results-card-visual { position: absolute; inset: 0; }
.results-card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
/* Voile sombre uni, pour que les textes blancs restent lisibles sur la photo */
.results-card-visual::after { content: ""; position: absolute; inset: 0; background: rgba(28, 32, 18, 0.28); }
.results-card h3 { position: absolute; top: 7%; left: 3.5%; font-weight: 500; font-size: clamp(1.7rem, 3.3vw, 3rem); line-height: 1.08; letter-spacing: -0.02em; }
.pill-link { position: absolute; top: 7%; right: 3%; display: flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.pill-text { display: flex; align-items: center; height: 44px; padding: 0 22px; border-radius: var(--r-pill); background: var(--cream); }
.pill-link .arrow-link { background: var(--cream); color: var(--ink); }
.results-benefits {
  position: absolute;
  left: 3.5%;
  right: 3%;
  bottom: 7%;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
}
.results-benefits li {
  padding: 8px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--r-pill);
  font-size: 0.85rem;
  color: #fff;
}

/* =========================================================
   Pied de page
   ========================================================= */
.site-footer { background: var(--green); color: var(--cream); padding: var(--section-space) var(--gutter) 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8%; }
.footer-title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 10px; }
.footer-newsletter > p:not(.footer-title) { font-size: 0.95rem; color: rgba(245, 243, 236, 0.75); max-width: 380px; }
.newsletter-form { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; max-width: 460px; }
.newsletter-form input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(245, 243, 236, 0.35);
  border-radius: var(--r-pill);
  background: transparent;
  color: var(--cream);
  font: inherit;
}
.newsletter-form input::placeholder { color: rgba(245, 243, 236, 0.55); }
.newsletter-form input:focus-visible { outline: 2px solid var(--cream); outline-offset: 2px; }
.newsletter-form .btn-light { min-height: 48px; }
.newsletter-msg { flex-basis: 100%; min-height: 1.4em; font-size: 0.85rem; color: rgba(245, 243, 236, 0.85); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-cols div { display: grid; align-content: start; gap: 10px; }
.footer-col-title { font-size: var(--text-xs); letter-spacing: 0.18em; text-transform: uppercase; color: rgba(245, 243, 236, 0.6); margin-bottom: 4px; }
.footer-cols a { font-size: 0.95rem; transition: opacity 0.2s; }
.footer-cols a:hover { opacity: 0.7; }
.footer-word {
  margin: 56px 0 8px;
  font-family: var(--font-brand);
  font-size: 21.5vw;
  line-height: 0.85;
  letter-spacing: 0.08em;
  text-align: center;
  color: rgba(245, 243, 236, 0.12);
  user-select: none;
}
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 20px; border-top: 1px solid rgba(245, 243, 236, 0.18); font-size: var(--text-xs); color: rgba(245, 243, 236, 0.7); }
.footer-bottom a:hover { color: var(--cream); }

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1100px) {
  .reviews-wall { columns: 2; }
  .callout { padding: 9px 14px 10px; font-size: 0.78rem; }
  .callout-tl { right: calc(100% - 60px); }
  .callout-bl { right: calc(100% - 52px); }
  .callout-tr { left: calc(100% - 60px); }
  .callout-br { left: calc(100% - 52px); }
  .callout strong { font-size: 0.92rem; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 760px) {
  :root { --gutter: 18px; --prod-h: min(calc(var(--card-h) * 0.4), (100vw - 36px) * 0.64 * 852 / 882); }

  /* Hero */
  .nav, .explore, .product-card, .icon-search, .icon-account { display: none; }
  .site-header { grid-template-columns: 1fr auto; padding: 16px 18px; }
  .bg-word { top: 17%; font-size: 21.5vw; }
  .model { height: 66%; }
  .hero-text { left: 18px; right: 18px; bottom: 24px; max-width: none; text-align: center; }
  .hero-text p { margin-bottom: 16px; }

  /* Pot : les ingrédients passent en grille 2 × 2 au-dessus du pot ouvert */
  /* Mobile : le bouton est à ~28 px du bas de la scène */
  .showcase { padding-top: 0; padding-bottom: calc(var(--section-space) - 28px); }
  .bg-word-small { display: none; }
  .product { bottom: 30%; }
  .callouts {
    position: absolute;
    bottom: 150%;
    left: 50%;
    width: calc(100vw - 36px);
    transform: translateX(-50%);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .callout { position: static; padding: 8px 12px 9px; font-size: var(--text-xs); }
  .callout strong { font-size: 0.88rem; }
  .showcase-intro { left: 18px; right: 18px; bottom: 96px; max-width: none; text-align: center; }
  .showcase-intro h2 br { display: none; }
  .showcase-buy { left: 18px; right: 18px; bottom: 28px; text-align: center; }
  .price { display: none; }

  /* Résultats */
  /* Mobile : la scène du pot commence par ~130 px de vide, d'où une marge basse réduite */
  .benefits { padding-top: var(--section-space); padding-bottom: calc(var(--section-space) * 2 - 119px); }
  .benefits-head { margin-bottom: 36px; }
  .bento { grid-template-columns: 1fr; grid-template-rows: none; aspect-ratio: auto; gap: 14px; }
  .bento-stats, .bento-portrait, .bento-feature, .bento-tall { grid-column: 1; grid-row: auto; }
  .bento-portrait { display: none; } /* décoratif : retiré sur mobile pour alléger le scroll */
  .bento-feature { flex-direction: column; }
  .bento-feature .bento-feature-img { width: 100%; height: auto; aspect-ratio: 1.2; }
  .bento-feature-text { padding: 20px 16px 76px; }
  .bento-tall { aspect-ratio: 0.8; }

  /* Avis */
  .reviews-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 32px; }
  .reviews-wall { columns: 1; margin-bottom: 64px; }
  .review { margin-bottom: 16px; padding: 24px 22px 22px; }
  .review-feature { padding: 28px 24px 26px; }
  .reviews-wall .review:nth-child(n+5) { display: none; } /* 4 avis suffisent sur mobile */
  .product-tag { padding: 6px 12px 6px 6px; gap: 10px; }
  .product-tag img { width: 44px; height: 44px; }
  .tag-name { font-size: 0.9rem; }
  .tag-cat, .tag-price { font-size: var(--text-xs); }
  .product-tag svg { display: none; }
  .tag-serum { right: auto; left: 0; top: 30%; }
  .tag-huile { left: auto; right: 0; top: auto; bottom: 4%; }

  /* Gamme */
  .picks-head { grid-template-columns: 1fr auto; gap: 16px 12px; margin-bottom: 28px; }
  .picks-head p { grid-column: 1 / -1; grid-row: 2; padding-top: 0; }
  .picks-arrows { padding-top: 4px; gap: 8px; }
  .arrow { width: 52px; height: 44px; }
  .picks-track { --gap: 14px; grid-auto-columns: 74%; margin: 0 -18px; padding: 0 18px; scroll-padding-inline: 18px; }

  /* Réassurance */
  .results-top { grid-template-columns: 1fr; gap: 32px; }
  .results-photo { grid-row: 1; }
  .results-cta { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 28px; }
  .results-card { aspect-ratio: auto; min-height: 560px; }
  .results-card-visual img { object-position: 54% 60%; }
  .results-card h3 { top: 5%; left: 6%; right: 6%; }
  .pill-link { top: auto; bottom: 5%; right: 5%; }
  .pill-text { display: none; }
  .results-benefits { left: 6%; right: 22%; bottom: 5%; gap: 8px; }
  .results-benefits li { padding: 6px 12px; font-size: var(--text-xs); }

  /* Pied de page */
  .footer-top { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { flex-direction: column; }
}

/* Moins d'animations si l'utilisateur l'a demandé dans son système */
@media (prefers-reduced-motion: reduce) {
  .menu-panel { animation: none; }
  .toast { transition: none; }
}
