/* ==========================================================
   Natura by Helena — page d'accueil (design Figma « Accueil »)
   Blanc, crème et noir ; Inter très gras pour les titres ;
   savons détourés en grand.
   ========================================================== */
/* Polices hébergées sur le site (mêmes fichiers que Google Fonts, sous-ensembles latin et latin étendu) :
   plus de feuille Google qui bloque l'affichage. Le navigateur ne télécharge que les caractères utilisés. */
@font-face { font-family: "Allison"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/allison-v13-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Allison"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/allison-v13-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Birthstone"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/birthstone-v16-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Birthstone"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/birthstone-v16-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-v20-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/fonts/inter-v20-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/playfair-display-v40-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/playfair-display-v40-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Prata"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/prata-v22-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #1d1d1f;
  --ink-2: #3a3a3c;
  --muted: #636366;
  --muted-2: #a1a1a6;
  --line: #e8e8ed;
  --soft: #f5f5f7;
  --cream: #faf6f0;
  --honey: #f6e6be;
  --accent: #a15c07;
  --tag: #fff3dc;
  --dark-card: #1c1c1e;
  --ok: #2f7d4f;

  --r-card: 28px;
  --gutter: 20px;
  --header-h: 48px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}
@media (min-width: 761px) { :root { --gutter: 40px; --header-h: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font); font-size: 16px; line-height: 1.45;
  color: var(--ink); background: #fff;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
a { color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, dl, dd { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #0071e3; outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }

/* Boutons : pilules de 46 px, texte normal ------------------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: -.01em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s var(--ease);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[disabled] { opacity: .35; pointer-events: none; }
.btn svg { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--line-light { border-color: rgba(255, 255, 255, .85); color: #f5f5f7; background: transparent; }
.btn--block { width: 100%; }
.btn--lg { min-height: 52px; font-size: 17px; }
@media (hover: hover) {
  .btn--dark:hover { background: #000; }
  .btn--light:hover { background: #ececf0; }
  .btn--line:hover { background: var(--ink); color: #fff; }
  .btn--line-light:hover { background: #fff; color: var(--ink); }
}
/* Onde au toucher (ajoutée par le script) */
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: currentColor; opacity: .18; transform: scale(0);
  animation: ripple .6s var(--ease-out) forwards;
}
@keyframes ripple { to { transform: scale(1); opacity: 0; } }

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ink);
  cursor: pointer; touch-action: manipulation;
}
.icon-btn svg { width: 22px; height: 22px; }
@media (hover: hover) { .icon-btn:hover { background: rgba(0, 0, 0, .05); } }

/* Repères communs ----------------------------------------- */
.kicker {
  margin-bottom: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent);
}
.kicker--dim { color: rgba(255, 255, 255, .42); }
.title { font-size: 52px; font-weight: 800; line-height: 1.04; letter-spacing: -.04em; }
/* Couleurs des textes (admin > Couleurs des textes) : sans choix, la couleur d'origine */
.title, .spot__title, .sheet__title, .drawer__title { color: var(--c-title, var(--ink)); }
.tag {
  align-self: flex-start;
  padding: 4px 12px; border-radius: 999px;
  background: var(--tag); color: var(--accent);
  font-size: 12px; font-weight: 600;
}
.price { font-weight: 600; font-variant-numeric: tabular-nums; }
.price--lg { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }

.section { padding: 96px 0; }
.section--cream { background: var(--cream); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.section__aside { font-size: 15px; line-height: 1.5; color: var(--muted); text-align: right; }
.section__foot { display: none; }

/* En-tête -------------------------------------------------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: background-color .3s ease, border-color .3s ease;
}
.header__inner { position: relative; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; color: var(--ink); }
.logo__mark { width: 96px; height: 27px; }
.nav { display: flex; gap: 36px; font-size: 14px; }
.nav a { text-decoration: none; color: var(--ink); opacity: .85; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.nav__account { display: none; }
.header__burger { display: none; }
.cart-btn { margin-right: -10px; }
.cart-btn__count {
  position: absolute; top: 5px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px;
  display: grid; place-items: center;
  border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 11px; font-weight: 600; line-height: 1;
}
.cart-btn.bump, .cartbar__btn.bump { animation: bump .5s var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.18); } }

/* Menu (téléphone) : deux traits qui deviennent une croix */
.burger { position: relative; display: block; width: 18px; height: 10px; }
.burger i {
  position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.burger i:first-child { top: 1px; }
.burger i:last-child { top: 7.4px; }
[aria-expanded="true"] .burger i:first-child { top: 4.2px; transform: rotate(45deg); }
[aria-expanded="true"] .burger i:last-child { top: 4.2px; transform: rotate(-45deg); }

/* Héros ---------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: clamp(580px, calc(100svh - var(--header-h)), 820px);
  display: flex; flex-direction: column;
  color: #fff; background: #4a3a35;
}
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg { z-index: -2; }
.hero__bg img { object-fit: cover; object-position: center 62%; transform: scale(1.06); animation: hero-in 1.6s var(--ease-out) forwards; }
@keyframes hero-in { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 0, .4); }
.hero__content {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 0 56px; text-align: center;
}
.hero__tag {
  padding: 6px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: #f5f5f7;
}
/* Titre : « Oh, la » en Playfair Display, « douceur. » en écriture manuscrite (Birthstone) */
.hero__title { margin-top: 28px; font-size: clamp(60px, 7.2vw, 104px); font-weight: 500; line-height: 1; }
.hero__title-serif { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.01em; color: var(--c-hero-title, #f9f6f3); }
.hero__title-script { font-family: "Birthstone", cursive; font-weight: 400; font-size: 1.45em; color: var(--c-hero-script, #fce0ce); }
.hero__rule { width: 64px; height: 2px; margin-top: 18px; border-radius: 2px; background: rgba(238, 223, 209, .8); }
.hero__text { margin-top: 20px; max-width: 600px; font-size: 22px; line-height: 1.4; color: rgba(255, 255, 255, .82); }
.hero__actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hero__head { display: flex; flex-direction: column; align-items: center; }
.hero__content > *, .hero__head > * { animation: rise-in .9s var(--ease-out) backwards; }
.hero__head > :nth-child(2) { animation-delay: .08s; }
.hero__head > :nth-child(n+3) { animation-delay: .16s; }
.hero__content > :nth-child(2) { animation-delay: .24s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } }

.hero__facts {
  background: rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero__facts-list {
  width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto;
  height: 60px; display: flex; align-items: center; justify-content: space-around;
  font-size: 14px; color: rgba(255, 255, 255, .72); white-space: nowrap;
}
.hero__facts-list svg { display: none; }

/* Tablette et petit ordinateur : le texte sur fond brun, puis la photo en entier dessous */
@media (min-width: 761px) and (max-width: 1279px) {
  .hero { min-height: 0; background: #7c5541; }
  .hero::before { display: none; }
  .hero__bg { position: relative; inset: auto; order: 2; height: auto; aspect-ratio: 16 / 9; }
  .hero__content { order: 1; padding: 56px 0 48px; }
  .hero__facts { order: 3; }
}

/* Grand écran, façon magazine (maquette ordinateur) : le texte écrit à gauche sur la photo,
   les savons à droite (photo prévue avec un décor dégagé à gauche) */
.hero-desk { display: none; }
@media (min-width: 1280px) {
  .hero__content, .hero__facts { display: none; }
  .hero { min-height: clamp(700px, 39.4vw, 800px); background: #593824; }
  /* La photo en plein écran, telle quelle : seul un léger voile à gauche, derrière le texte */
  .hero::before {
    background: linear-gradient(90deg, rgba(52, 32, 22, .55) 0%, rgba(52, 32, 22, .38) 28%, rgba(52, 32, 22, .12) 44%, rgba(52, 32, 22, 0) 54%);
  }
  .hero__bg img { object-position: center; }
  .hero-desk__title, .hero-desk__text, .hero-desk__kicker, .hero-desk__badges { text-shadow: 0 1px 16px rgba(40, 24, 16, .35); }
  .hero-desk__script { text-shadow: 0 2px 14px rgba(40, 24, 16, .5); }

  .hero-desk {
    flex: 1; display: flex; flex-direction: column;
    width: calc(100% - 10vw); margin-inline: auto; padding: clamp(56px, 4.5vw, 88px) 0 38px;
    color: #fff;
  }
  .hero-desk__main { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .hero-desk > *, .hero-desk__main > * { animation: rise-in .9s var(--ease-out) backwards; }
  .hero-desk__main > :nth-child(2) { animation-delay: .08s; }
  .hero-desk__main > :nth-child(3) { animation-delay: .16s; }
  .hero-desk__main > :nth-child(n+4) { animation-delay: .24s; }
  .hero-desk__kicker {
    display: flex; align-items: center; gap: 16px;
    font-size: 15px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  }
  .hero-desk__kicker::after { content: ""; width: 50px; height: 1.5px; background: currentColor; opacity: .85; }
  .hero-desk__title {
    margin-top: 26px; font-family: "Prata", Georgia, serif; font-weight: 400;
    font-size: clamp(60px, 5.2vw, 104px); line-height: .96; letter-spacing: -.01em; color: var(--c-hero-title, #fbf6f2);
    /* Le titre reste dans le ciel, à gauche des savons (ils commencent vers 43 % de la largeur) */
    max-width: 38vw;
  }
  /* La fin manuscrite et le cœur ne se séparent pas : s'ils n'ont plus la place, ils passent ensemble à la ligne */
  .hero-desk__end { white-space: nowrap; }
  .hero-desk__script { font-family: "Allison", cursive; font-size: 1.72em; line-height: 0; color: var(--c-hero-script, #f0b3a2); margin-left: -.12em; }
  .hero-desk__heart {
    width: .42em; height: .4em; margin-left: .02em; vertical-align: top;
    transform: translateY(-.12em) rotate(-10deg);
    fill: none; stroke: #f2baa5; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round;
  }
  .hero-desk__text { margin-top: 22px; max-width: 26em; font-size: clamp(17px, 1.12vw, 22px); line-height: 1.42; color: rgba(255, 255, 255, .94); }
  .hero-desk__btn {
    display: inline-flex; align-items: center; gap: 22px; margin-top: 36px;
    height: 60px; padding: 0 32px; border-radius: 999px;
    background: #dc8b81; color: #fff; font-size: 20px; font-weight: 500; text-decoration: none;
    transition: background-color .2s ease, transform .2s var(--ease-out);
  }
  .hero-desk__btn svg { width: 16px; height: 16px; }
  .hero-desk__btn:hover { background: #d27a70; }
  .hero-desk__btn:active { transform: scale(.98); }
  .hero-desk__badges { display: flex; align-items: center; margin-top: 30px; }
  .hero-desk__badges li { display: flex; align-items: center; gap: 16px; font-size: 15px; line-height: 1.4; }
  .hero-desk__badges li + li { margin-left: 26px; padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, .45); }
  .hero-desk__badges strong { display: block; font-weight: 600; }
  .hero-desk__ico { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border: 1.5px solid rgba(255, 255, 255, .9); border-radius: 50%; }
  .hero-desk__ico svg { width: 24px; height: 24px; }

}
@media (min-width: 1280px) and (max-width: 1799px) {
  /* Les badges passent sur deux lignes pour ne pas toucher les savons de la photo */
  .hero-desk__badges { flex-wrap: wrap; gap: 14px 28px; max-width: 36vw; }
  .hero-desk__badges li + li { margin-left: 0; padding-left: 0; border-left: 0; }
}

/* En-tête (tablette et ordinateur) : menu avec « Boutique » en avant, recherche, compte, panier */
.header__tools { display: flex; align-items: center; gap: 4px; margin-right: -10px; }
.header__tools .cart-btn { margin-right: 0; }
.cart-btn__cart, .header__search, .header__account { display: none; }
.cart-btn__count { background: #dd8d84; }
@media (min-width: 761px) {
  .header { background: rgba(252, 249, 246, .92); }
  .cart-btn__bag { display: none; }
  .cart-btn__cart, .header__search, .header__account { display: inline-flex; }
  .nav { gap: 10px; }
  .nav a { padding: 7px 14px; border-radius: 999px; }
  .nav a.nav__current { background: #f8ebe6; color: #a14f45; opacity: 1; }
}
@media (min-width: 1280px) {
  :root { --header-h: 64px; }
  .logo__mark { width: 128px; height: 36px; }
  .nav { gap: 14px; font-size: 15px; }
}

/* Section ou lien masqué depuis l'admin (« Sections du site ») */
[data-off] { display: none !important; }
/* Titre vidé dans l'admin (« Titres du site ») */
[data-empty] { display: none !important; }

/* Recherche */
.search {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0, 0, 0, .08);
}
.search[hidden] { display: none; }
.search__bar { display: flex; align-items: center; gap: 12px; height: 64px; }
.search__bar > svg { flex: none; width: 20px; height: 20px; color: var(--muted); }
.search__bar input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 17px; color: var(--ink); outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__results { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; padding-bottom: 16px; }
.search__results:empty { display: none; }
.search__result {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px; border: 0; border-radius: 14px;
  background: var(--soft); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.search__result:hover, .search__result:focus-visible { background: #f0ebe6; }
.search__result img { flex: none; width: 52px; height: 52px; object-fit: cover; background: #fff; }
.search__result span { display: flex; flex-direction: column; min-width: 0; font-size: 15px; font-weight: 600; }
.search__result small { font-size: 13px; font-weight: 400; color: var(--muted); }
.search__empty { padding: 4px 0 16px; font-size: 15px; color: var(--muted); }

/* Savon vedette : une pastille = un savon ---------------- */
.spot { display: grid; grid-template-columns: 1fr 1fr; min-height: 680px; }
.spot__media {
  display: grid; place-items: center; padding: 40px;
  background: var(--tint, var(--honey));
  transition: background-color .6s var(--ease);
}
.spot__open { padding: 0; border: 0; background: none; cursor: pointer; }
.spot__media img {
  width: min(480px, 100%);
  transition: opacity .3s ease, transform .6s var(--ease-out);
}
.spot__media img.is-changing { opacity: 0; transform: translateY(14px) rotate(-4deg) scale(.96); }
.spot__info { display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 80px; max-width: 720px; }
.spot__title { font-size: 52px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.spot__text { max-width: 520px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.swatches { display: flex; flex-wrap: wrap; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.swatch {
  display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0;
  border: 2px solid transparent; border-radius: 50%; background: none; cursor: pointer;
  transition: border-color .25s ease, transform .2s var(--ease);
}
.swatch span { width: 28px; height: 28px; border-radius: 50%; background: var(--dot); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.swatch[aria-checked="true"] { border-color: var(--ink); }
.swatch:active { transform: scale(.92); }
.spot__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.spot__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 14px; height: 14px; color: var(--accent); }

/* Le moment Natura ------------------------------------------ */
.moments__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.moment {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 384 / 500; background: #ead9cb;
}
.moment img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.moment::after { content: ""; position: absolute; inset: 0 0 auto; height: 40%; z-index: -1; background: linear-gradient(rgba(255, 255, 255, .28), transparent); }
.moment__txt { padding: 22px; }
.moment h3 { font-size: 30px; font-weight: 800; line-height: 1.05; letter-spacing: -.035em; }
.moment p { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
@media (hover: hover) { .moment:hover img { transform: scale(1.04); } }

/* Notre promesse ------------------------------------------- */

/* Coup de cœur : café ------------------------------------- */
/* Texte à gauche, photo à droite */
.cafe { display: grid; grid-template-columns: 760fr 680fr; min-height: 680px; background: #000; color: #f5f5f7; }
.cafe__media { order: 2; display: grid; place-items: center; padding: 40px; background: #111; }
.cafe__open { padding: 0; border: 0; background: none; cursor: pointer; }
.cafe__media img { width: min(580px, 100%); }
.cafe__info { display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: 64px 80px 64px 120px; }
.cafe__title {
  font-size: 96px; font-weight: 800; line-height: 1; letter-spacing: -.045em;
  background: linear-gradient(90deg, #f3d2a2, #a86a3d); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cafe__sub { margin-bottom: 8px; font-size: 24px; font-weight: 600; line-height: 1.3; letter-spacing: -.02em; }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.spec { padding: 14px 16px; border-radius: 18px; background: var(--dark-card); }
.spec dt { font-size: 12px; font-weight: 500; line-height: 1.25; color: var(--muted-2); }
.spec dd { margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.4; }
.cafe__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }

/* Trouver mon savon : le configurateur ------------------------ */
.finder__box { scroll-margin-top: 80px; padding: 40px 48px 36px; border-radius: var(--r-card); background: var(--soft); }
.finder__top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.finder__count { flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.finder__count a { color: var(--accent); }
.finder__bar { flex: 1; height: 4px; overflow: hidden; border-radius: 999px; background: #e5e5ea; }
.finder__bar span { display: block; height: 100%; border-radius: inherit; background: var(--ink); transition: width .5s var(--ease-out); }
.finder__q { margin-bottom: 24px; font-size: 32px; font-weight: 800; line-height: 1.1; letter-spacing: -.03em; outline: none; }
.finder__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.finder__options--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.finder__opt {
  display: flex; flex-direction: column; justify-content: center; gap: 4px; min-height: 88px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s var(--ease-out);
}
.finder__opt strong { font-size: 17px; font-weight: 600; }
.finder__opt span { font-size: 14px; line-height: 1.4; color: var(--muted); }
.finder__opt[aria-pressed="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.finder__opt:active { transform: scale(.98); }
@media (hover: hover) { .finder__opt:hover { border-color: var(--ink); } }
.finder__back { margin-top: 20px; padding: 10px 0; border: 0; background: none; color: var(--muted); font: inherit; font-size: 15px; cursor: pointer; }
.finder__back:hover { color: var(--ink); }

/* Raccourcis par type de peau, au-dessus du configurateur */
.finder__cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 20px; }
.skin-cat {
  display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 14px 0 8px;
  border: 1px solid var(--line); border-radius: 22px; background: #fff;
  color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.25; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .2s ease;
}
.skin-cat img { flex: none; width: 52px; height: 44px; object-fit: cover; background: var(--soft); }
.skin-cat svg { flex: none; width: 14px; height: 14px; opacity: .55; }
@media (hover: hover) { .skin-cat:hover { transform: translateY(-2px); border-color: transparent; box-shadow: 0 10px 28px rgba(60, 30, 15, .1); } }

/* Le résultat : le savon conseillé, puis deux autres */
.finder__result { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.finder__media { display: block; aspect-ratio: 1; padding: 12%; overflow: hidden; border: 0; background: var(--tint, #fff); cursor: pointer; }
.finder__media:has(img.is-photo) { padding: 0; }
.finder__media img { width: 100%; height: 100%; object-fit: contain; }
.finder__media img.is-photo { object-fit: cover; }
.finder__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
/* Réponses données : chacune ramène à sa question */
.finder__chip { min-height: 32px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; touch-action: manipulation; }
.finder__chip:hover { border-color: var(--ink); }
.finder__edit { margin-bottom: 18px; font-size: 12.5px; color: var(--muted); }
.finder__reason { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.finder__disclaimer { margin-top: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.finder__kicker { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.finder__name { margin-top: 6px; font-size: 44px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; outline: none; }
.finder__note { margin-top: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.finder__why { display: grid; gap: 10px; margin-top: 18px; }
.finder__why li { display: flex; gap: 10px; font-size: 16px; line-height: 1.5; }
.finder__why svg { flex: none; width: 20px; height: 20px; margin-top: 2px; color: var(--ok); }
.finder__usage { margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--ink); }
.finder__buy { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.finder__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.finder__alt-title { margin-top: 28px; font-size: 13px; font-weight: 600; color: var(--muted); }
.finder__alts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.finder__alt { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); }
.finder__alt img { flex: none; width: 56px; height: 56px; padding: 6px; object-fit: contain; background: var(--soft); }
.finder__alt img.is-photo { padding: 0; object-fit: cover; }
.finder__alt span { display: flex; flex-direction: column; min-width: 0; font-size: 14px; }
.finder__alt small { font-size: 13px; color: var(--muted); }
@media (hover: hover) { .finder__alt:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .06); } }

/* Quel savon pour votre peau ? ------------------------------ */
.skin { background: var(--soft); }
.skin__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.skin-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 22px 20px 26px; background: #fff; text-align: center;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.skin-card__open { padding: 0; border: 0; background: none; cursor: pointer; }
.skin-card__open img { width: 190px; transition: transform .5s var(--ease-out); }
.skin-card__tag { margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--accent); }
.skin-card__name { font-size: 24px; font-weight: 700; line-height: 1.1; letter-spacing: -.02em; }
.skin-card__rows { align-self: stretch; margin: 6px 0 8px; text-align: left; }
.skin-card__rows li { padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.skin-card__price { font-size: 17px; font-weight: 600; }
.skin-card .btn { margin-top: 6px; }
@media (hover: hover) {
  .skin-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .06); }
  .skin-card:hover .skin-card__open img { transform: rotate(-4deg) scale(1.05); }
}

/* Toute la collection --------------------------------------- */
/* Patchwork : les photos entières des savons, bord à bord */
/* Ordinateur : 5 savons par ligne, en grand (4 lignes), d'un bord à l'autre de l'écran */
.minis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.mini {
  position: relative; display: block; aspect-ratio: 1; overflow: hidden;
  background: var(--tint, var(--soft)); text-decoration: none;
}
.mini img { display: block; width: 100%; height: 100%; padding: 14%; object-fit: contain; transition: transform .6s var(--ease-out); }
.mini img.is-photo { padding: 0; object-fit: cover; }
.mini:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; }
/* Le nom apparaît au survol (lu par les lecteurs d'écran dans tous les cas) */
.mini span {
  position: absolute; left: 6px; right: 6px; bottom: 8px; width: fit-content; margin: 0 auto;
  padding: 4px 10px; border-radius: 12px;
  background: rgba(255, 255, 255, .86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  font-size: 15px; font-weight: 600; line-height: 1.25; text-align: center; color: var(--ink);
  opacity: 0; transform: translateY(4px); transition: opacity .25s ease, transform .25s ease; pointer-events: none;
}
.mini:focus-visible span { opacity: 1; transform: none; }
/* Photo 2 du savon, posée sur la première, révélée au survol */
.mini .mini__hover { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease, transform .6s var(--ease-out); }
.mini:focus-visible .mini__hover { opacity: 1; }
@media (hover: hover) {
  .mini:hover img { transform: scale(1.06); }
  .mini:hover .mini__hover { opacity: 1; }
  .mini:hover span { opacity: 1; transform: none; }
}


/* Le coffret : une boîte à remplir (maquette validée le 27/10/2026). La boîte vue de dessus,
   comme la vraie (beige, couvercle ouvert, 3 compartiments) ; les savons détourés y tombent.
   Photo réelle de la boîte à gauche sur ordinateur. Vignettes à angles droits (DA). */
.section.coffret { padding: 48px 0 64px; background: var(--cream); }
.coffret__inner { display: grid; }
.coffret__head, .coffret__body { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 0 var(--gutter); }
.coffret__body { margin-top: 12px; }
/* Photo du coffret : seulement sur grand écran, à gauche de la boîte */
.coffret__photo { display: none; }
.coffret__text { font-size: 16px; line-height: 1.55; color: var(--ink-2); }
/* Prix discret, sans gras : « 35 € TTC · le coffret de 3 savons » */
.coffret__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 6px; font-size: 15px; font-weight: 400; color: var(--muted); }
.coffret__price span + span::before { content: "· "; }

/* Boîte du coffret : vert pâle (éclairci le 28/10/2026) */
.coffret__box { position: relative; margin-top: 8px; padding-top: 44px; }
.coffret__lid {
  position: absolute; top: 0; left: 14px; right: 14px; height: 60px; display: flex; align-items: center; justify-content: center;
  border-radius: 18px 18px 6px 6px; background: #e4ecdd; box-shadow: inset 0 -6px 12px rgba(55, 85, 45, .08);
}
/* Mot dessiné en CSS (décor, pas du texte : pas de faux contraste pour les outils d'accessibilité) */
.coffret__lid span::before { content: attr(data-label); }
.coffret__lid span { font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: #9fb694; text-shadow: 0 1px 0 rgba(255, 255, 255, .7); }
.coffret__cells {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 12px; list-style: none;
  border-radius: 22px; background: #cddcc4; box-shadow: 0 22px 40px rgba(55, 85, 45, .16), inset 0 2px 0 rgba(255, 255, 255, .45);
}
.coffret__cell {
  position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 5; padding: 0; border: 0; overflow: visible;
  border-radius: 12px; background: #eff4eb; box-shadow: inset 0 4px 10px rgba(55, 85, 45, .14); font: inherit; color: inherit; cursor: pointer;
}
.coffret__cell:disabled { cursor: default; }
/* Savon détouré : il flotte dans le compartiment, avec une ombre douce */
.coffret__cell img { width: 100%; height: 100%; padding: 6%; object-fit: contain; filter: drop-shadow(0 6px 8px rgba(90, 60, 30, .22)); }
/* Photo d'un savon : un carré à angles droits posé dans le compartiment (DA) */
.coffret__cell img.is-photo { width: calc(100% - 16px); height: auto; aspect-ratio: 1; padding: 0; object-fit: cover; filter: none; box-shadow: 0 6px 14px rgba(120, 80, 40, .22); }
.coffret__cell.is-new img { animation: coffret-drop .6s var(--ease-spring) both; }
@keyframes coffret-drop { from { opacity: 0; transform: translateY(-90px) scale(1.3) rotate(-10deg); } }
.coffret__num { font-size: 30px; font-weight: 800; color: #b9ccad; }
.coffret__x { position: absolute; top: -6px; right: -6px; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.coffret__x svg { width: 11px; height: 11px; }
/* Boîte pleine : des bulles montent, l'étiquette « Coffret complet » se colle */
.coffret__sticker {
  position: absolute; top: 22px; right: -6px; display: none; padding: 9px 14px; border-radius: 999px;
  background: #3f6339; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 8px 18px rgba(47, 70, 40, .3); transform: rotate(-7deg);
}
.coffret__box.is-full .coffret__sticker { display: block; animation: coffret-pop .55s var(--ease-spring) .15s both; }
@keyframes coffret-pop { from { opacity: 0; transform: scale(.3) rotate(-20deg); } }
.coffret__bubbles i {
  position: absolute; display: none; border: 1.5px solid rgba(255, 255, 255, .95); border-radius: 50%; pointer-events: none;
  box-shadow: inset -4px -4px 8px rgba(255, 255, 255, .6), 0 2px 6px rgba(120, 80, 40, .12);
}
.coffret__box.is-full .coffret__bubbles i { display: block; animation: coffret-rise 2.2s ease-out both; }
.coffret__bubbles i:nth-child(1) { left: 8%; top: 62%; width: 26px; height: 26px; animation-delay: .05s; }
.coffret__bubbles i:nth-child(2) { left: 34%; top: 78%; width: 16px; height: 16px; animation-delay: .3s; }
.coffret__bubbles i:nth-child(3) { left: 60%; top: 66%; width: 30px; height: 30px; animation-delay: .15s; }
.coffret__bubbles i:nth-child(4) { left: 86%; top: 82%; width: 18px; height: 18px; animation-delay: .45s; }
@keyframes coffret-rise { from { opacity: 0; transform: translateY(30px) scale(.3); } 25% { opacity: 1; } to { opacity: 0; transform: translateY(-150px) scale(1); } }

.coffret__status { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.coffret__dots { display: flex; gap: 6px; margin-bottom: 6px; }
.coffret__dots i { width: 26px; height: 6px; border-radius: 999px; background: #dde7d6; transition: background-color .3s ease; }
.coffret__dots i.is-on { background: var(--sage); }
.coffret__hint { font-size: 14px; font-weight: 600; color: var(--ink); }
.coffret__tools { display: flex; align-items: center; flex: none; gap: 2px; }
.coffret__surprise {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 999px;
  background: #fff; font: inherit; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: transform .2s var(--ease);
}
.coffret__surprise svg { width: 16px; height: 16px; }
.coffret__surprise:active { transform: scale(.95); }
.coffret__clear { min-height: 40px; padding: 0 8px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; cursor: pointer; }
.coffret__clear:disabled { visibility: hidden; }
.coffret__help { margin-top: 6px; font-size: 13px; color: var(--muted); }

/* Téléphone : les savons défilent de côté, sur deux rangées */
.coffret__soaps {
  display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 78px; gap: 12px 10px; list-style: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.coffret__soaps::-webkit-scrollbar { display: none; }
.coffret__soap { display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: var(--ink-2); cursor: pointer; scroll-snap-align: start; }
/* Le savon détouré flotte sur le fond crème, sans carré de couleur derrière (une photo sans détouré garde son cadre) */
.coffret__tile { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 1; transition: transform .2s var(--ease-out); }
.coffret__tile:has(img.is-photo) { overflow: hidden; background: var(--tint, var(--soft)); }
.coffret__tile img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 7px rgba(90, 60, 30, .22)); }
.coffret__tile img.is-photo { width: 100%; height: 100%; object-fit: cover; filter: none; }
.coffret__soap:active .coffret__tile { transform: scale(.92); }
.coffret__soap.is-picked .coffret__tile { transform: scale(1.06); }
.coffret__soap.is-picked .coffret__soap-name { font-weight: 700; color: var(--ink); }
.coffret__count:empty { display: none; }
.coffret__count { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 700; }
.coffret__soap-name { font-size: 11.5px; line-height: 1.2; text-align: center; }
.coffret__soap:disabled { cursor: not-allowed; opacity: .4; }
.coffret__soap[aria-disabled="true"]:not(.is-picked) { opacity: .55; }
.coffret__soap:focus-visible { outline: none; }
.coffret__soap:focus-visible .coffret__tile { outline: 3px solid var(--ink); outline-offset: 2px; }
@media (hover: hover) { .coffret__soap:not(:disabled):not([aria-disabled="true"]):hover .coffret__tile { transform: translateY(-3px); } }
.coffret__add { width: 100%; margin-top: 8px; }
.coffret__note { font-size: 13px; color: var(--muted); text-align: center; }

/* Tablette (maquette A) : tout au centre — titre, grande boîte, avancement + bouton, puis les savons */
@media (min-width: 761px) {
  .section.coffret { padding: 104px 0 112px; }
  .coffret__inner { width: min(1200px, calc(100% - 2 * var(--gutter))); margin-inline: auto; }
  .coffret__head { align-items: center; max-width: 640px; margin-inline: auto; padding: 0; text-align: center; }
  .coffret__text { font-size: 18px; }
  .coffret__price { justify-content: center; }
  .coffret__body { flex-flow: row wrap; justify-content: center; align-items: center; gap: 0 16px; margin-top: 18px; padding: 0; text-align: center; }
  .coffret__body > * { flex: 0 0 100%; }
  /* Marges qui remplissent la ligne : la boîte reste seule au centre, l'avancement passe dessous */
  .coffret__box { order: 1; flex-basis: 640px; margin: 12px calc((100% - 640px) / 2) 0; padding-top: 54px; }
  .coffret__lid { left: 18px; right: 18px; height: 72px; border-radius: 22px 22px 8px 8px; }
  .coffret__lid span { font-size: 24px; }
  .coffret__cells { gap: 10px; padding: 14px; border-radius: 26px; }
  .coffret__cell { aspect-ratio: 1; border-radius: 14px; }
  .coffret__cell img.is-photo { width: calc(100% - 40px); }
  .coffret__status { order: 2; flex: 0 0 400px; margin-top: 22px; text-align: left; }
  .coffret__add { order: 3; flex: 0 0 224px; width: auto; min-width: 0; margin-top: 22px; }
  .coffret__help { order: 4; margin-top: 48px; font-size: 14px; }
  .coffret__soaps {
    order: 5; grid-auto-flow: row; grid-template-rows: none; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-columns: auto;
    gap: 18px 14px; margin: 16px 0 0; padding: 0; overflow: visible;
  }
  .coffret__soap-name { font-size: 12.5px; }
  .coffret__note { order: 6; margin-top: 22px; }
}
/* Ordinateur : la photo du coffret à gauche ; la boîte et les savons à droite, à la même hauteur,
   rien ne dépasse de la photo (si la colonne de droite est plus haute, la photo s'étire en se recadrant un peu) */
@media (min-width: 1101px) {
  .coffret__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 56px; }
  .coffret__head { grid-column: 1 / -1; margin-bottom: 44px; }
  .coffret__photo { display: block; grid-column: 1; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); }
  .coffret__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .coffret__body { grid-column: 2; margin: 0; align-content: space-between; justify-content: space-between; text-align: left; }
  .coffret__box { flex-basis: 100%; margin: 0; }
  .coffret__cell { aspect-ratio: 4 / 3; }
  .coffret__cell img.is-photo { width: auto; height: calc(100% - 24px); }
  .coffret__status { flex: 1 1 auto; margin-top: 18px; }
  .coffret__add { margin-top: 18px; }
  .coffret__help { margin-top: 20px; text-align: left; }
  .coffret__soaps { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px 10px; margin-top: 10px; }
  .coffret__note { margin-top: 12px; text-align: left; }
}
.line__choice { margin-top: 2px; font-size: 12.5px; line-height: 1.35; color: var(--muted); }

/* ==========================================================
   Bas de page — L'esprit Natura → philosophie → engagements →
   questions → dernier appel → pied de page. Une seule continuité :
   photos bord à bord (angles droits), panneaux qui mordent sur les
   photos, une découpe organique, du crème, du nude, un peu de sauge.
   Écrit d'abord pour le téléphone, puis élargi pour l'ordinateur.
   ========================================================== */
:root { --nude: #f6ebe4; --rose-ink: #b65f57; --sage: #5f7d59; --sage-soft: #ecf1e8; }
/* Mot mis en valeur dans un titre de l'admin (*entre astérisques*) : même police, autre couleur */
.title em, .final__title em { font-style: normal; color: var(--rose-ink); }

/* Photos qui glissent doucement pendant le défilement (sans script, désactivé si mouvements réduits) */
@keyframes drift { from { transform: scale(1.1) translateY(-2.5%); } to { transform: scale(1.02) translateY(2.5%); } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .drift { animation: drift linear both; animation-timeline: view(); animation-range: cover; }
  }
}

/* Texte long (histoire d'Helena, philosophie) : paragraphes, « Lire la suite » */
.story p { font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.story p + p, .story__more > p:first-child { margin-top: 1em; }
.story > p:first-child { font-size: 20px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.story .story__sign { margin-top: 1.4em; font-size: 15px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rose-ink); }
.story__more:not([hidden]) { animation: rise-in .6s var(--ease-out) both; }
.story__toggle {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 12px; padding: 0;
  border: 0; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.story__toggle svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--nude); transition: transform .3s var(--ease); }
.story__toggle[aria-expanded="true"] svg { transform: rotate(45deg); }
@media (hover: hover) { .story__toggle:hover span { text-decoration: underline; text-underline-offset: 4px; } }

/* 1. L'esprit Natura : panorama bord à bord, puis le titre et le texte d'Helena (rien ne chevauche la photo) */
.section.helena { overflow-x: clip; padding: 0 0 64px; background: #fff; }
/* La photo entière, d'un bord à l'autre, à sa proportion (jamais recadrée) */
.helena__photo { background: var(--soft); }
.helena__photo img { display: block; width: 100%; height: auto; }
/* Rien ne chevauche la photo : le titre commence sous elle */
.helena__head { display: flex; flex-direction: column; gap: 10px; padding-top: 32px; }
.helena__byline { margin-top: 4px; padding-top: 12px; border-top: 1px solid #e8e1d6; font-size: 13px; color: var(--muted); }
/* Article de magazine : chapeau, lettrine, citation, signature */
.story--article { margin-top: 22px; }
.story--article p { font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.story.story--article > .story__lead { margin-bottom: 1.1em; font-size: 19px; line-height: 1.5; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.story.story--article > .story__lead { margin-bottom: 0; }
.story--article .story__more { margin-top: 1.1em; }
.story--article .story__more > p:first-child { margin-top: 0; }
.story__dropcap { float: left; margin: 6px 10px 0 0; font-size: 58px; line-height: .8; font-weight: 800; color: var(--rose-ink); }
.story__quote {
  margin: 24px 0 26px; padding: 20px 0; border-top: 1px solid var(--sage); border-bottom: 1px solid var(--sage);
  font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; color: var(--sage);
}
.story--article .story__sign::before { content: "— "; }

/* 2. Notre philosophie : même fond crème que le coffret ; une fine ligne et une feuille font la pause (maquette B) */
.section.philo { position: relative; padding: 0 0 72px; background: var(--cream); }
.philo__pause { display: flex; align-items: center; justify-content: center; gap: 18px; height: 72px; color: var(--sage); }
.philo__pause span { width: 88px; height: 1px; background: #d9cfc2; }
.philo__pause svg { width: 28px; height: 28px; }
.section.coffret:has(+ .philo:not([data-off])) { padding-bottom: 24px; }
.philo__inner { display: grid; gap: 32px; }
.philo__text { display: flex; flex-direction: column; gap: 14px; padding-inline: var(--gutter); }
.philo .title em { color: var(--sage); }
.philo .kicker { color: var(--sage); }
/* Photo entière, à sa propre proportion : bord à bord sur téléphone, jamais recadrée */
.philo__photo { position: relative; background: var(--soft); }
.philo__photo img { display: block; width: 100%; height: auto; }
/* Suivie de « L'esprit Natura » : la photo descend jusqu'en bas de la section et touche la photo d'Helena */
.section.philo:has(+ .helena:not([data-off])) { padding-bottom: 0; }
/* Juste après « Toute la collection » : la bannière touche les photos des savons, sans blanc entre les deux */
.section.collection:has(+ .helena:not([data-off])) { padding-bottom: 0; }
.philo:has(+ .helena:not([data-off])) .philo__photo { order: 1; }

/* 3. Nos engagements : une bande compacte, à cheval entre le nude et le blanc */
.why { position: relative; padding: 0; background: #fff; }
.philo:not([data-off]) + .why { background: linear-gradient(var(--cream) 50%, #fff 50%); }
.why__band { display: grid; padding: 6px 20px; border-radius: var(--r-card); background: var(--sage-soft); }
.why__item { display: flex; align-items: center; gap: 16px; padding: 16px 0; }
.why__item + .why__item { border-top: 1px solid rgba(95, 125, 89, .18); }
/* Illustrations en couleur, sans rond (maquette B) */
.why__icon { display: flex; flex: none; color: var(--sage); }
.why__icon svg { width: 56px; height: 56px; }
.why__item h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.why__item p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: var(--muted); }

/* 4. Vos questions : une colonne aérée, accordéons, 4 questions puis « toutes les questions » */
.section.faq { padding: 64px 0 72px; background: #fff; }
.faq__inner { max-width: 760px; }
.faq__head { margin-bottom: 24px; text-align: center; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 0; list-style: none; cursor: pointer;
  font-size: 17px; font-weight: 600; letter-spacing: -.01em;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary svg { flex: none; width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--nude); transition: transform .3s var(--ease), background-color .3s ease; }
.faq__list details[open] summary svg { transform: rotate(45deg); background: var(--sage-soft); }
.faq__list p { max-width: 640px; padding: 0 48px 22px 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.faq__list details.is-new { animation: rise-in .5s var(--ease-out) both; }
/* Ouverture en douceur (navigateurs récents) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__list details::details-content, .sheet__more::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq__list details[open]::details-content, .sheet__more[open]::details-content { height: auto; }
}
.faq__foot { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: 28px; text-align: center; }
.faq__contact { font-size: 15px; color: var(--muted); }
.faq__contact a { color: var(--ink); font-weight: 600; text-underline-offset: 3px; }

/* 5. Dernier appel : la photo produit en entier, le texte dans le ciel rose poudré au-dessus des savons */
/* Téléphone : au moins la hauteur de la photo portrait, et toujours la place des savons (bas de la photo) sous le texte */
/* Dernier appel : texte blanc en bas à gauche de la photo, aligné à gauche, le bouton au-dessus du titre */
.final { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100vw * 1655 / 950); background: #f1cbbb; color: var(--c-final, #fff); text-align: left; }
/* Voile chaud dans le coin du texte : le blanc reste lisible sur la mousse claire */
.final::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(130% 75% at 0% 100%, rgba(74, 38, 26, .55), rgba(74, 38, 26, .2) 50%, transparent 78%); pointer-events: none; }
.final__photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.final__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 0 0 40px; }
.final__title { font-size: 40px; font-weight: 800; line-height: 1.02; letter-spacing: -.045em; text-wrap: pretty; color: inherit; }
.final__title, .final__text { text-shadow: 0 2px 24px rgba(60, 28, 18, .35); }
.final__title em { color: inherit; }
.final__text { max-width: 32ch; font-size: 16px; line-height: 1.5; color: inherit; }
.final__btn { order: -1; margin-bottom: 6px; }
@media (max-width: 360px) { .final__title { font-size: 34px; } }

/* 6. Pied de page : crème, compact */
.footer { padding: 44px 0 calc(28px + env(safe-area-inset-bottom)); background: var(--cream); font-size: 14px; }
.footer__main { display: grid; gap: 32px; }
.footer__brand { display: grid; justify-items: start; gap: 12px; }
.footer__tagline { font-size: 15px; color: var(--ink-2); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.footer__h { margin-bottom: 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.footer__col a { display: inline-flex; align-items: center; min-height: 32px; color: var(--ink); text-decoration: none; }
.footer__col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px;
  margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(29, 29, 31, .08);
  font-size: 12.5px; color: var(--muted);
}
.footer__bottom a { color: inherit; }
.footer__insta { display: inline-flex; margin-left: auto; color: var(--ink); }
.footer__insta svg { width: 22px; height: 22px; }

.newsletter { display: grid; gap: 10px; width: 100%; max-width: 440px; margin-top: 8px; }
.newsletter__title { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.newsletter__legal { font-size: 12.5px; color: var(--muted); }
.newsletter__field { display: flex; gap: 8px; }
.newsletter__field input {
  flex: 1; width: 0; min-width: 0; min-height: 46px; padding: 0 18px;
  border: 1px solid #d9d2c8; border-radius: 999px; background: #fff;
  font: inherit; font-size: 16px; color: var(--ink);
}
.newsletter__field input:focus { outline: none; border-color: var(--ink); }
.newsletter__trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.newsletter__msg { font-size: 14px; }
.newsletter__msg:empty { display: none; }
.newsletter[data-state="done"] .newsletter__msg { color: var(--ok); font-weight: 600; }
.newsletter[data-state="error"] .newsletter__msg { color: #b3261e; }

/* Ordinateur et tablette */
@media (min-width: 761px) {
  .story p { font-size: 18px; }
  .story > p:first-child { font-size: 23px; }

  .section.helena { padding-bottom: 112px; }
  .helena__head { align-items: center; max-width: 860px; margin-inline: auto; padding-top: 72px; text-align: center; }
  .helena__byline { display: flex; align-items: center; gap: 14px; padding-top: 6px; border-top: 0; }
  .helena__byline::before, .helena__byline::after { content: ""; width: 40px; height: 1px; background: #d8cfc3; }
  .story--article { max-width: 960px; margin: 40px auto 0; }
  .story--article .story__more { margin-top: 56px; column-count: 2; column-gap: 64px; }
  .story--article .story__toggle { display: flex; margin: 20px auto 0; }
  .story--article p { font-size: 17px; line-height: 1.75; }
  .story.story--article > .story__lead { max-width: 760px; margin: 0 auto; font-size: 24px; text-align: center; }
  .story__dropcap { margin: 8px 12px 0 0; font-size: 76px; }
  .story--article .story__quote { column-span: all; margin: 28px 0 36px; padding: 28px 0; font-size: 30px; text-align: center; }

  .section.philo { padding: 0 0 120px; }
  .philo__pause { height: 112px; }
  .philo__pause span { width: 120px; }
  .section.coffret:has(+ .philo:not([data-off])) { padding-bottom: 40px; }
  .philo__inner {
    grid-template-columns: minmax(var(--gutter), 1fr) minmax(0, 470px) 80px minmax(0, 650px) minmax(0, 1fr);
    gap: 0; align-items: center;
  }
  .philo__text { grid-column: 2; grid-row: 1; padding: 40px 0 0; }
  /* Ordinateur : la photo entière, en grand, jusqu'au bord droit de l'écran (colonne 4 → fin),
     sous la vague, sans déborder sur la section du dessus */
  .philo__photo { grid-column: 4 / -1; grid-row: 1; background: none; }
  .philo:has(+ .helena:not([data-off])) .philo__photo { align-self: end; }
  .philo:has(+ .helena:not([data-off])) .philo__text { padding-bottom: 72px; }

  .why__band { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); padding: 8px; }
  .why__item { gap: 20px; padding: 26px 28px; }
  .why__item + .why__item { border-top: 0; border-left: 1px solid rgba(95, 125, 89, .18); }
  .why__icon svg { width: 64px; height: 64px; }
  .why__item h3 { font-size: 17px; }
  .why__item p { font-size: 14px; }

  .section.faq { padding: 120px 0 128px; }
  .faq__head { margin-bottom: 40px; }
  .faq__list summary { padding: 26px 0; font-size: 19px; }
  .faq__list p { font-size: 16px; }

  /* Hauteur à la proportion de la photo (pas aspect-ratio + min-height : la page débordait en largeur sur tablette) */
  .final { min-height: 0; height: clamp(620px, 56.1vw, 920px); }
  /* Ordinateur : le texte part du bord gauche de l'écran (pas de la largeur de la page) */
  .final__inner { width: 100%; gap: 18px; padding: 0 clamp(40px, 5vw, 96px) 80px; }
  .final__title { font-size: 72px; }
  .final__text { font-size: 20px; }

  .footer { padding-top: 64px; }
  .footer__main { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; }
  .footer__nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__bottom { margin-top: 48px; }
}
@media (min-width: 761px) and (max-width: 1100px) {
  .final__title { font-size: 60px; }
  .philo__inner { grid-template-columns: var(--gutter) minmax(0, 1fr) 48px minmax(0, 1fr) 0; }
}

/* Panier ---------------------------------------------------- */
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, .32); opacity: 0; transition: opacity .3s ease; }
.overlay.is-open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 70;
  width: min(420px, 100%);
  display: flex; flex-direction: column;
  background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .12);
  transform: translateX(100%); visibility: hidden;
  transition: transform .5s var(--ease-out), visibility 0s linear .5s;
}
.drawer.is-open { transform: none; visibility: visible; transition: transform .5s var(--ease-out); }
.drawer.is-entering .line, .drawer.is-entering .upsell__item { animation: rise-in .5s var(--ease-out) backwards; }
.drawer.is-entering .line:nth-child(2), .drawer.is-entering .upsell__item:nth-child(1) { animation-delay: .06s; }
.drawer.is-entering .line:nth-child(3), .drawer.is-entering .upsell__item:nth-child(2) { animation-delay: .12s; }
.drawer.is-entering .line:nth-child(n+4), .drawer.is-entering .upsell__item:nth-child(3) { animation-delay: .18s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 12px 24px; }
.drawer__title { font-size: 28px; font-weight: 800; letter-spacing: -.035em; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__items { padding: 0 24px; }
.drawer__empty { padding: 12px 24px; color: var(--muted); }

.line { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line img { width: 72px; height: 72px; padding: 4px; background: var(--tint, var(--soft)); object-fit: contain; }
.line__name { font-size: 15px; font-weight: 600; }
.line__price { font-size: 14px; color: var(--muted); }
.line__alert { font-size: 13px; font-weight: 600; color: #b3261e; }
.line__end { align-self: start; text-align: right; }
.line__total { padding-top: 2px; font-weight: 600; }
.line__remove { display: block; margin-top: 4px; margin-left: auto; padding: 0; border: 0; background: none; font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.qty { display: inline-flex; align-items: center; margin-top: 8px; border-radius: 999px; background: var(--soft); }
.qty button { width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; font-size: 19px; line-height: 1; cursor: pointer; touch-action: manipulation; }
.qty button:active { background: rgba(0, 0, 0, .08); }
.qty button[disabled] { opacity: .3; }
.qty span { min-width: 24px; font-size: 15px; font-weight: 600; text-align: center; }

.drawer__foot { padding: 18px 24px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 14px; font-size: 18px; }
.drawer__total strong { font-weight: 700; }
.drawer__code { display: flex; align-items: center; gap: 8px; margin: -6px 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--cream, #faf6f0); font-size: 14px; }
.drawer__code svg { width: 16px; height: 16px; flex: none; color: var(--accent, #a15c07); }
.drawer__code span { flex: 1; min-width: 0; }
.drawer__code-remove { min-height: 32px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.drawer__note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); text-align: center; }
.drawer__note svg { width: 15px; height: 15px; flex: none; }
.drawer__ship, .drawer__legal { margin-top: 4px; font-size: 12px; color: var(--muted); text-align: center; }
.drawer__legal a { color: inherit; }
.drawer__continue { display: block; width: 100%; min-height: 44px; margin-top: 4px; border: 0; background: none; font-size: 15px; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* Livraison offerte : barre de progression */
.ship { margin: 4px 24px 8px; padding: 14px 16px; border-radius: 18px; background: var(--soft); }
.ship__text { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ship__text svg { width: 18px; height: 18px; color: var(--ok); }
.ship__bar { height: 6px; margin-top: 10px; border-radius: 999px; background: #e3e3e8; overflow: hidden; }
.ship__bar span {
  display: block; width: 0; height: 100%; border-radius: inherit;
  background: linear-gradient(90deg, #d4567a, #8762c4, #d4567a) 0 0 / 200% 100%;
  animation: shimmer 2.6s linear infinite; transition: width .7s var(--ease-out);
}
@keyframes shimmer { to { background-position: -200% 0; } }
.ship.is-reached .ship__text { color: var(--ok); }
.ship.is-reached .ship__bar span { background: var(--ok); animation: none; }
.ship.is-celebrating .ship__text { animation: celebrate .6s var(--ease-spring); transform-origin: left center; }
@keyframes celebrate { 40% { transform: scale(1.07); } }

.upsell { margin: 16px 24px 24px; padding: 16px; border-radius: 20px; background: var(--cream); }
.upsell__title { margin-bottom: 10px; font-size: 15px; font-weight: 600; }
.upsell__list { display: grid; gap: 10px; }
.upsell__item { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 12px; }
.upsell__item img { width: 56px; height: 56px; object-fit: contain; }
.upsell__txt { display: grid; min-width: 0; line-height: 1.25; }
.upsell__txt strong { font-size: 14px; font-weight: 600; }
.upsell__txt small { font-size: 13px; color: var(--muted); }
.upsell__add { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; touch-action: manipulation; }
.upsell__add svg { width: 16px; height: 16px; }
.upsell__add:active { transform: scale(.9); }

.is-locked, .is-locked body { overflow: hidden; }

/* Fiche produit -------------------------------------------- */
.sheet-overlay { z-index: 72; }
.sheet {
  position: fixed; left: 50%; top: 50%; z-index: 74;
  width: min(960px, calc(100% - 48px)); max-height: min(88vh, 780px);
  display: flex; flex-direction: column;
  background: #fff;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .22);
  transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden;
  transition: transform .5s var(--ease-out), opacity .25s ease, visibility 0s linear .5s;
}
.sheet.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .25s ease; }
.sheet.is-dragging { transition: none; }
.sheet.is-open .sheet__info > * { animation: rise-in .55s var(--ease-out) backwards; }
.sheet.is-open .sheet__info > :nth-child(2) { animation-delay: .04s; }
.sheet.is-open .sheet__info > :nth-child(3) { animation-delay: .08s; }
.sheet.is-open .sheet__info > :nth-child(n+4) { animation-delay: .12s; }
.sheet__close, .sheet__share { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(255, 255, 255, .9); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.sheet__share { right: 66px; }
.sheet__scroll { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.sheet__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
/* Colonne photos : reste en haut tant qu'il n'y a qu'une photo */
.sheet__gallery { position: sticky; top: 0; align-self: start; }
.sheet__gallery:has(.sheet__photos:not([hidden]), .sheet__block--side:not([hidden])) { position: static; }
/* Conseils d'utilisation : sous les photos sur ordinateur, dans la fiche sur téléphone */
.sheet__block--side { margin: 16px 20px 24px; }
@media (min-width: 761px) { .sheet__block--main { display: none; } }
@media (max-width: 760px) { .sheet__block--side { display: none; } }
.sheet__media { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 32px; background: var(--tint, var(--soft)); }
.sheet__img { width: 100%; height: 100%; object-fit: contain; }
/* Photos en plus (admin) : deux carrés côte à côte, aussi larges ensemble que la photo principale */
.sheet__photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding-top: 6px; }
.sheet__photos[hidden] { display: none; }
.sheet__photo { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.sheet__info { padding: 40px 36px 28px; }
.sheet__title { padding-right: 104px; font-size: 36px; font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.sheet__tagline { margin-top: 8px; font-size: 17px; color: var(--muted); }
.sheet__price { margin-top: 14px; font-size: 22px; }
.sheet__price strong { font-weight: 700; }
.sheet__price span { font-size: 15px; color: var(--muted); }
.sheet__ship { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; color: var(--muted); }
.sheet__ship svg { width: 18px; height: 18px; }
.sheet__ship.is-reached { color: var(--ok); font-weight: 600; }
.sheet__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.sheet__badges:empty { display: none; }
.sheet__badges li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #eef4ea; color: #2f5a2a; font-size: 13px; font-weight: 600; }
.sheet__badges svg { width: 15px; height: 15px; }
.sheet__desc { margin-top: 18px; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.sheet__desc p + p { margin-top: 10px; }

/* Icônes colorées de la fiche : pastille pastel, une couleur par famille */
.ico { --ico-bg: #fff; --ico-fg: var(--ink); display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ico-bg); color: var(--ico-fg); }
.ico svg { width: 20px; height: 20px; fill: none; }
.ico--drop, .ico--thermo { --ico-bg: #e4eff7; --ico-fg: #3d6d91; }
.ico--feather, .ico--heart { --ico-bg: #fbe5ec; --ico-fg: #a54a69; }
.ico--sparkle { --ico-bg: #fbefd4; --ico-fg: #a5741a; }
.ico--sun { --ico-bg: #fdf0cf; --ico-fg: #b0761a; }
.ico--leaf { --ico-bg: #e6f0e0; --ico-fg: #4b773d; }
.ico--zap { --ico-bg: #fde8d6; --ico-fg: #b35e27; }
.ico--wind { --ico-bg: #def1ee; --ico-fg: #2d7a72; }
.ico--flower { --ico-bg: #eee6f6; --ico-fg: #77529e; }
.ico--balance, .ico--shield { --ico-bg: #e9e7f3; --ico-fg: #5a5281; }
.ico--moon { --ico-bg: #e7e6f6; --ico-fg: #544c96; }
.ico--calendar, .ico--clock { --ico-bg: #f5ebe2; --ico-fg: #87583a; }
.ico--pulse { --ico-bg: #fde3de; --ico-fg: #b14537; }
.ico--face { --ico-bg: #fbe7dd; --ico-fg: #a4553d; }
.ico--body { --ico-bg: #f2eadf; --ico-fg: #7a5a38; }
.ico--jar { --ico-bg: #f4eae6; --ico-fg: #7d4b5c; }
.ico--hand { --ico-bg: #fbede3; --ico-fg: #985e42; }
.ico--alert { --ico-bg: #fcebc4; --ico-fg: #94650a; }
.ico--check { --ico-bg: #fff; --ico-fg: var(--ink); }

/* En un coup d'œil : quatre repères */
.glance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 18px; }
.glance__item { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 10px; border-radius: 16px; background: var(--soft); }
.glance__item .ico { background: #fff; }
.glance__txt { display: grid; gap: 1px; min-width: 0; line-height: 1.2; }
.glance__txt small { font-size: 12px; color: var(--muted); }
.glance__txt strong { font-size: 14px; font-weight: 600; }
.glance__txt em { font-size: 12px; font-style: normal; color: var(--muted); }

.sheet__block { margin-top: 18px; padding: 16px 16px 6px; border-radius: 20px; background: var(--cream); }
.sheet__block[data-sheet-tips] { background: var(--soft); }
.sheet__block h2 { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--accent); }
.sheet__block[data-sheet-tips] h2 { color: var(--ink-2); }
.sheet__block h2 svg { width: 18px; height: 18px; }
.sheet__list li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 12px; padding-bottom: 12px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.sheet__list .ico { box-shadow: 0 0 0 3px #fff; }
.sheet.is-open .glance__item, .sheet.is-open .sheet__list .ico { animation: ico-pop .55s var(--ease-spring) backwards; }
.sheet.is-open .glance__item:nth-child(2) { animation-delay: .06s; }
.sheet.is-open .glance__item:nth-child(3) { animation-delay: .12s; }
.sheet.is-open .glance__item:nth-child(4) { animation-delay: .18s; }
.sheet.is-open .sheet__list li:nth-child(1) .ico { animation-delay: .2s; }
.sheet.is-open .sheet__list li:nth-child(2) .ico { animation-delay: .28s; }
.sheet.is-open .sheet__list li:nth-child(n+3) .ico { animation-delay: .36s; }
@keyframes ico-pop { from { opacity: 0; transform: scale(.6) rotate(-12deg); } }
/* Conseils d'utilisation en 3 icônes : pastille ronde, texte court dessous */
.sheet__block:has(> .tips) { padding-bottom: 16px; }
.tips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tip { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; padding: 18px 6px 16px; border-radius: 16px; background: #fff; text-align: center; }
.tip .ico { width: 52px; height: 52px; border-radius: 50%; }
.tip .ico svg { width: 26px; height: 26px; }
.tip__txt { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); text-wrap: balance; overflow-wrap: anywhere; }
.sheet.is-open .tip .ico { animation: ico-pop .55s var(--ease-spring) backwards; }
.sheet.is-open .tip:nth-child(2) .ico { animation-delay: .08s; }
.sheet.is-open .tip:nth-child(3) .ico { animation-delay: .16s; }
@media (max-width: 359px) {
  .tips { gap: 6px; }
  .tip { padding: 14px 4px 12px; }
  .tip .ico { width: 44px; height: 44px; }
  .tip__txt { font-size: 12px; }
}

.sheet__more { margin-top: 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sheet__more summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; list-style: none; cursor: pointer; font-weight: 600; }
.sheet__more summary::-webkit-details-marker { display: none; }
.sheet__more-title { display: inline-flex; align-items: center; gap: 10px; }
.sheet__more-title svg { width: 20px; height: 20px; color: var(--accent); }
.sheet__more summary > svg { width: 20px; height: 20px; transition: transform .25s ease; }
.sheet__more[open] summary > svg { transform: rotate(45deg); }
.sheet__more p { padding-bottom: 14px; font-size: 14px; color: var(--muted); }
.sheet__trust { display: grid; gap: 8px; margin-top: 20px; }
.sheet__trust li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.sheet__trust svg { width: 20px; height: 20px; flex: none; color: var(--muted); }
.sheet__signature { margin-top: 18px; font-size: 14px; color: var(--muted); }
/* Intensité de la senteur : jauge de 5 segments, libellé toujours écrit */
.scent { margin-top: 12px; padding: 12px 14px 14px; border-radius: 16px; background: var(--soft); }
.scent__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.scent__label { font-size: 14px; color: var(--muted); }
.scent__label strong { font-weight: 600; color: var(--ink); }
.scent__help { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2); cursor: pointer; }
.scent__help::before { content: "?"; }
.scent__help[aria-expanded="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.scent__bar { display: flex; gap: 6px; margin-top: 10px; }
.scent__bar i { flex: 1; height: 8px; border-radius: 999px; background: #e2dfd9; transform-origin: left; }
.scent__bar i.is-on { background: #6f8f69; }
.scent__bar.is-filling i.is-on { animation: scent-fill .5s var(--ease-out) backwards; }
.scent__bar.is-filling i:nth-child(2) { animation-delay: .07s; }
.scent__bar.is-filling i:nth-child(3) { animation-delay: .14s; }
.scent__bar.is-filling i:nth-child(4) { animation-delay: .21s; }
.scent__bar.is-filling i:nth-child(5) { animation-delay: .28s; }
@keyframes scent-fill { from { transform: scaleX(0); } }
.scent__text { margin-top: 8px; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.scent__fragrance { margin-top: 4px; font-size: 13px; color: var(--muted); }
.scent__info { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--muted); }
/* Repères : un nombre impair de tuiles, la dernière prend toute la largeur */
.glance__item:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* Composition : pourcentages visibles, liste INCI dans le volet */
.sheet__more p.sheet__legend { margin-top: -6px; font-size: 12.5px; line-height: 1.5; }
/* Livraison et retours */
.sheet__service { margin-top: 22px; }
.sheet__service h2, .sheet__pair h2 { margin-bottom: 12px; font-size: 15px; font-weight: 600; }
.sheet__service .sheet__trust { margin-top: 0; }
.sheet__terms { display: inline-block; margin-top: 12px; padding: 4px 0; font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
/* À associer : photos carrées à angles droits (DA) */
.sheet__pair { margin-top: 24px; padding: 16px; border-radius: 20px; background: var(--cream); }
.sheet__pair-list { display: grid; gap: 10px; }
.pair { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; }
.pair__open { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; min-width: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.pair__open img { width: 64px; height: 64px; object-fit: contain; background: var(--tint, #fff); }
.pair__open img.is-photo { object-fit: cover; }
.pair__txt { display: grid; min-width: 0; line-height: 1.25; }
.pair__txt strong { font-size: 14px; font-weight: 600; }
.pair__txt small { font-size: 13px; color: var(--muted); }
.pair .upsell__add { width: 44px; height: 44px; }
.pair .upsell__add:disabled { background: var(--ok); cursor: default; }
.sheet__add { white-space: nowrap; }
@media (max-width: 479px) { .sheet__add-long { display: none; } }
@media (max-width: 359px) {
  .sheet__bar { gap: 8px; padding-inline: 14px; }
  .sheet__add { padding-inline: 12px; font-size: 15px; }
}
.sheet__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fff;
}
.sheet__qty { margin-top: 0; }
.sheet__qty button { width: 46px; height: 46px; }
.sheet__add { flex: 1; }

/* Barre panier (téléphone uniquement) ----------------------- */
.cartbar { display: none; }

/* Toast ----------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  width: max-content; max-width: calc(100% - 32px);
  padding: 12px 20px; border-radius: 999px;
  background: rgba(29, 29, 31, .94); color: #fff;
  font-size: 14px; font-weight: 500; text-align: center;
  transform: translate(-50%, calc(100% + 40px)); visibility: hidden; pointer-events: none;
  transition: transform .45s var(--ease-out), visibility 0s linear .45s;
}
.toast.is-visible { transform: translate(-50%, 0); visibility: visible; transition: transform .55s var(--ease-spring); }
.overlay-cart .toast { top: calc(16px + env(safe-area-inset-top)); bottom: auto; transform: translate(-50%, calc(-100% - 40px)); }
.overlay-cart .toast.is-visible { transform: translate(-50%, 0); }

/* Savon qui vole jusqu'au panier (créé par le script) */
.fly { position: fixed; z-index: 90; object-fit: contain; pointer-events: none; will-change: transform; }

/* Photos en fondu, apparition au défilement ----------------- */
.fade { opacity: 0; transition: opacity .45s ease; }
.fade.is-loaded { opacity: 1; }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform 1.1s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .9s var(--ease-out); }
.reveal-group.is-in > * { opacity: 1; transform: none; }
.reveal-group.is-in > :nth-child(2) { transition-delay: .07s; }
.reveal-group.is-in > :nth-child(3) { transition-delay: .14s; }
.reveal-group.is-in > :nth-child(4) { transition-delay: .21s; }
.reveal-group.is-in > :nth-child(n+5) { transition-delay: .28s; }

/* ==========================================================
   Tablette
   ========================================================== */
@media (max-width: 1100px) and (min-width: 761px) {
  .spot__info { padding: 56px 48px; }
  .cafe { grid-template-columns: 1fr 1fr; }
  .cafe__info { padding: 56px 48px; }
  .cafe__title { font-size: 80px; }
  .minis { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .finder__options--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__result { gap: 32px; }
  .skin__list { gap: 16px; }
  .skin-card__open img { width: 150px; }
  .moments__list { gap: 16px; }
  .moment h3 { font-size: 24px; }
}
@media (max-width: 1100px) and (min-width: 761px) {
  .nav { gap: 24px; }
}

/* ==========================================================
   Téléphone
   ========================================================== */
@media (max-width: 760px) {
  .title { font-size: 36px; }
  .section { padding: 56px 0; }
  .section__head { margin-bottom: 20px; }
  .section__head .section__cta, .section__aside { display: none; }
  .section__foot { display: flex; justify-content: center; margin-top: 20px; }

  /* Défilement de côté pour les cartes (moments, peaux) */
  .rail {
    width: 100%; display: flex; gap: 12px;
    padding: 0 var(--gutter) 4px; overflow-x: auto;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; overscroll-behavior-x: contain;
  }
  .rail::-webkit-scrollbar { display: none; }
  .rail > * { flex: 0 0 auto; scroll-snap-align: start; }

  /* En-tête : menu à gauche, logo au centre, panier à droite */
  .header__burger { display: inline-flex; margin-left: -10px; }
  .logo--center, .header .logo { position: absolute; left: 50%; transform: translateX(-50%); }
  .logo__mark { width: 88px; height: 25px; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); z-index: 49;
    height: calc(100dvh - var(--header-h));
    flex-direction: column; gap: 0; padding: 16px var(--gutter) calc(32px + env(safe-area-inset-bottom));
    background: #fff;
    font-size: 30px; font-weight: 700; letter-spacing: -.03em;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .4s var(--ease-out), visibility 0s linear .4s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .4s var(--ease-out); }
  .nav a { padding: 10px 0; opacity: 1; }
  .nav.is-open a { animation: rise-in .5s var(--ease-out) backwards; }
  .nav.is-open a:nth-child(2) { animation-delay: .04s; }
  .nav.is-open a:nth-child(3) { animation-delay: .08s; }
  .nav.is-open a:nth-child(4) { animation-delay: .12s; }
  .nav.is-open a:nth-child(5) { animation-delay: .16s; }
  .nav__account { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; font-size: 17px; font-weight: 500; letter-spacing: 0; }
  .nav__account svg { width: 22px; height: 22px; }
  .menu-open, .menu-open body { overflow: hidden; }

  /* Héros : tout l'écran, l'en-tête transparent par-dessus, le texte en haut
     et le savon en bas de la photo, les repères en trois colonnes */
  .header.is-over-hero:not(:has(.nav.is-open)) {
    background: transparent; border-bottom-color: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .header.is-over-hero:not(:has(.nav.is-open)) .logo,
  .header.is-over-hero:not(:has(.nav.is-open)) .icon-btn { color: #fff; }
  /* La photo entière, d'un bord à l'autre (sans recadrage) ; le texte posé dans le ciel,
     les repères dans le bas de la photo, sous les savons : rien ne passe sur le savon */
  .hero {
    display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0;
    margin-top: calc(-1 * var(--header-h)); background: #33241b;
  }
  .hero__bg { position: relative; inset: auto; grid-area: 1 / 1; z-index: auto; }
  .hero__bg img {
    position: static; display: block; width: 100%; height: auto; min-height: 150vw;
    object-fit: cover; object-position: center bottom;
  }
  /* Épuré : tout se règle en vw, comme la photo (sa hauteur suit la largeur de l'écran),
     pour garder la même composition de 375 à 430 px */
  /* Léger voile dans le ciel seulement, derrière le texte ; il s'éteint avant les savons */
  .hero::before {
    bottom: auto; height: 106vw; z-index: 1;
    background:
      radial-gradient(85% 34% at 50% 68%, rgba(14, 18, 26, .26), rgba(14, 18, 26, .15) 50%, rgba(14, 18, 26, 0) 100%),
      linear-gradient(rgba(14, 18, 26, .28), rgba(14, 18, 26, .2) 45%, rgba(14, 18, 26, .18) 76%, rgba(14, 18, 26, .08) 90%, rgba(14, 18, 26, 0));
  }
  .hero__content {
    grid-area: 1 / 1; z-index: 1; align-self: start; justify-content: flex-start;
    padding: calc(var(--header-h) + clamp(30px, 11vw, 48px)) 0 0;
  }
  .hero__head { width: 100%; text-align: center; }
  .hero__title { text-shadow: 0 0 18px rgba(14, 18, 26, .22); }
  .hero__tag, .hero__text { text-shadow: 0 0 2px rgba(14, 18, 26, .18), 0 1px 10px rgba(14, 18, 26, .32); }
  /* Étiquette : une simple ligne de petites capitales, sans pastille */
  .hero__tag {
    padding: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    font-size: clamp(10px, 2.75vw, 12px); font-weight: 600; letter-spacing: .12em; white-space: nowrap;
    color: rgba(255, 255, 255, .9);
  }
  .hero__title { margin-top: clamp(10px, 3.2vw, 16px); font-size: clamp(46px, 14.6vw, 64px); line-height: 1; }
  .hero__title-serif, .hero__title-script { display: block; }
  .hero__title-script { margin-top: -.12em; font-size: 1.5em; line-height: .86; }
  .hero__rule { display: none; }
  .hero__text {
    margin-top: clamp(8px, 3vw, 14px); max-width: 22.5em;
    font-size: clamp(14px, 4vw, 17px); font-weight: 500; line-height: 1.45; color: #fff;
  }
  /* Deux pilules fines, à leur taille naturelle, centrées */
  .hero__actions { flex-wrap: nowrap; justify-content: center; gap: clamp(8px, 2.7vw, 12px); width: 100%; margin: clamp(22px, 7.5vw, 34px) 0 0; padding: 0; }
  .hero__actions .btn {
    flex: 0 0 auto; min-height: clamp(36px, 10.2vw, 44px); padding-inline: clamp(14px, 4.4vw, 20px);
    font-size: clamp(13px, 3.75vw, 16px); font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  }
  /* Bouton secondaire : verre gris fumé neutre, même rendu quelle que soit la photo */
  .hero__actions .btn--line-light {
    border: 1px solid rgba(255, 255, 255, .8); background: rgba(14, 18, 26, .28); color: #fff; text-shadow: 0 0 8px rgba(14, 18, 26, .3);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  /* Les repères : un fin bandeau givré, clair, posé sur la pierre sous les savons */
  .hero__facts {
    grid-area: 1 / 1; z-index: 1; align-self: end;
    background: rgba(250, 245, 239, .88);
    -webkit-backdrop-filter: blur(18px) saturate(110%); backdrop-filter: blur(18px) saturate(110%);
  }
  .hero__facts-list {
    width: 100%; height: auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: clamp(8px, 2.4vw, 10px) 2px;
    font-size: clamp(10.5px, 2.95vw, 12px); font-weight: 500; line-height: 1.25; letter-spacing: -.005em;
    text-align: left; white-space: normal; color: #3a2b22;
  }
  .hero__facts-list li { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px; padding: 0 8px; }
  .hero__facts-list li + li { border-left: 1px solid rgba(58, 43, 34, .15); }
  .hero__facts-list li:nth-child(n+4) { display: none; }
  .hero__facts-list svg { display: block; flex: none; width: 15px; height: 15px; color: #3a2b22; }
  /* Chaque repère sur deux lignes nettes : « À partir de / 7,50 € », « Retours sous / 14 jours » */
  .hero__facts-list li > span { text-wrap: pretty; }
  @media (max-width: 520px) { .hero__facts-list [data-min-price] { display: block; } }
  @media (max-width: 359px) { .hero__facts-list svg { display: none; } }

  /* Savon vedette */
  .spot { grid-template-columns: 1fr; min-height: 0; }
  .spot__media { height: 300px; padding: 16px; }
  .spot__media img { width: 260px; }
  .spot__info { gap: 14px; padding: 28px 24px 32px; }
  .spot__title { font-size: 36px; }
  .spot__text { font-size: 15px; }
  .swatches { gap: 2px; justify-content: space-between; padding-bottom: 14px; }
  .spot__buy { flex-wrap: nowrap; }
  .price--lg { font-size: 24px; }
  .spot__more { display: none; }
  .checks { gap: 6px 16px; font-size: 12px; }

  /* Le moment Natura */
  .moments__list { display: flex; gap: 12px; }
  .moment { width: 300px; aspect-ratio: 300 / 460; }

  /* Promesse : une grande case, puis deux côte à côte */

  /* Café : titre, photo, repères, prix */
  .cafe { display: flex; flex-direction: column; min-height: 0; padding: 56px 20px; }
  .cafe__info { display: contents; }
  .cafe .kicker { order: 1; text-align: center; }
  .cafe__title { order: 2; align-self: center; font-size: 72px; }
  .cafe__sub { order: 3; margin: 8px 0 0; font-size: 18px; text-align: center; }
  .cafe__media { order: 4; padding: 12px 0 20px; background: none; }
  .cafe__media img { width: 300px; }
  .specs { order: 5; }
  .cafe__buy { order: 6; justify-content: space-between; margin-top: 16px; }
  .spec dd { font-size: 16px; }

  /* Peaux */
  .skin__list { display: flex; gap: 12px; }

  /* Trouver mon savon */
  .finder__cats {
    flex-wrap: nowrap; justify-content: flex-start; gap: 10px; margin: 0 calc(-1 * var(--gutter)) 16px;
    padding: 0 var(--gutter) 4px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .finder__cats::-webkit-scrollbar { display: none; }
  .finder__cats li { flex: none; scroll-snap-align: start; }
  .skin-cat { height: 60px; gap: 10px; padding: 0 14px 0 8px; font-size: 14px; }
  .skin-cat img { width: 48px; height: 40px; }
  .finder__box { padding: 24px 18px 20px; }
  .finder__q { margin-bottom: 18px; font-size: 26px; }
  .finder__options, .finder__options--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .finder__options--3 { grid-template-columns: 1fr; }
  .finder__opt { min-height: 76px; padding: 14px 16px; border-radius: 16px; }
  .finder__opt strong { font-size: 16px; }
  .finder__opt span { font-size: 13px; }
  .finder__result { grid-template-columns: 1fr; gap: 20px; }
  .finder__media { aspect-ratio: 4 / 3; }
  .finder__name { font-size: 34px; }
  .finder__btns { flex-direction: column; width: 100%; }
  .finder__btns .btn { width: 100%; }
  .finder__alts { grid-template-columns: 1fr; }
  .skin-card { width: 270px; }

  /* Collection */
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* Panier et fiche : plein écran, la fiche monte du bas */
  .drawer { width: 100%; }
  .sheet {
    left: 0; right: 0; top: auto; bottom: 0;
    width: 100%; max-height: calc(100dvh - 24px);
    transform: translateY(100%); opacity: 1;
    transition: transform .5s var(--ease-out), visibility 0s linear .5s;
  }
  .sheet.is-open { transform: none; transition: transform .5s var(--ease-out); }
  .sheet::before { content: ""; position: absolute; top: 8px; left: 50%; z-index: 3; width: 36px; height: 5px; margin-left: -18px; border-radius: 999px; background: rgba(0, 0, 0, .18); }
  .sheet__grid { grid-template-columns: 1fr; }
  .sheet__gallery { position: static; }
  .sheet__media { position: relative; aspect-ratio: auto; height: 300px; padding: 24px; }
  .sheet__info { padding: 24px 20px 20px; }
  .sheet__title { padding-right: 0; font-size: 30px; }
  .sheet__bar { border-radius: 0; }

  /* Barre panier en bas de l'écran */
  .cartbar {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
    display: block; animation: cartbar-in .7s var(--ease-spring) backwards;
  }
  .cartbar[hidden], .is-locked .cartbar, .menu-open .cartbar { display: none !important; }
  @keyframes cartbar-in { from { transform: translateY(150%); } }
  .cartbar__btn {
    position: relative; overflow: hidden;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    width: 100%; min-height: 60px; padding: 8px 8px 12px 20px;
    border: 0; border-radius: 999px; background: rgba(29, 29, 31, .96); color: #fff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .22); text-align: left; cursor: pointer;
  }
  .cartbar__btn:active { transform: scale(.98); }
  .cartbar__info { display: grid; gap: 2px; min-width: 0; line-height: 1.2; }
  .cartbar__info strong { font-size: 15px; font-weight: 600; white-space: nowrap; }
  .cartbar__info small { font-size: 12px; color: rgba(255, 255, 255, .7); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .cartbar__info small svg { width: 1.15em; height: 1.15em; vertical-align: -.22em; }
  .cartbar__cta { display: inline-flex; align-items: center; gap: 6px; flex: none; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 500; }
  .cartbar__cta svg { width: 16px; height: 16px; }
  .cartbar__progress { position: absolute; left: 24px; right: 140px; bottom: 7px; height: 3px; border-radius: 999px; background: rgba(255, 255, 255, .16); overflow: hidden; }
  .cartbar__progress i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #d4567a, #8762c4); transition: width .7s var(--ease-out); }
  .cartbar.is-reached .cartbar__progress i { background: #6fc28f; }
  .cartbar__btn.is-celebrating { animation: bump .7s var(--ease-spring); }
  .has-cartbar .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}

/* Photos envoyées depuis l'admin : elles ont leur propre fond,
   donc cadrées en plein au lieu de flotter comme les détourés */
.spot__media:has(img.is-photo),
.cafe__media:has(img.is-photo) { position: relative; padding: 0; overflow: hidden; }
.spot__media:has(img.is-photo) .spot__open,
.cafe__media:has(img.is-photo) .cafe__open { position: absolute; inset: 0; }
.spot__media img.is-photo,
.cafe__media img.is-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.spot__media img.is-photo.is-changing { transform: none; }
.sheet__media:has(> .sheet__img.is-photo) { padding: 0; overflow: hidden; }
.sheet__img.is-photo { object-fit: cover; }
.skin-card__open:has(img.is-photo) { align-self: stretch; }
/* La photo occupe tout le haut de la carte, bord à bord */
.skin-card__open:has(img.is-photo) { margin: -22px -20px 6px; }
.skin-card__open img.is-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.line img.is-photo { padding: 0; object-fit: cover; }
.upsell__item img.is-photo { object-fit: cover; }
@media (max-width: 760px) {
  /* Café : la photo devient une carte arrondie dans la colonne */
  .cafe__media:has(img.is-photo) { position: static; margin: 12px -20px 20px; padding: 0; overflow: visible; }
  .cafe__media:has(img.is-photo) .cafe__open { position: static; width: 100%; }
  .cafe__media img.is-photo { height: auto; aspect-ratio: 4 / 3; }
  .sheet__img.is-photo { position: absolute; inset: 0; }
}
@media (hover: hover) {
  .skin-card:hover .skin-card__open img.is-photo { transform: scale(1.03); }
}

/* Mouvements réduits (réglage du téléphone) : tout reste immobile */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .reveal-group > * { opacity: 1; transform: none; }
}

/* ---- Fiche savon, coffret, réassurance (optimisation mobile du 27/10/2026) ---- */
/* Livraison et retour : une ligne chacun, sous le prix */
.sheet__ship { display: flex; width: fit-content; }
.sheet__ship + .sheet__ship { margin-top: 4px; }
/* « Ou dans un coffret » : lien discret sous le prix, le savon part dans la boîte */
.sheet__coffret { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 4px 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: #a14f45; text-align: left; cursor: pointer; }
.sheet__coffret { align-items: flex-start; }
.sheet__coffret-txt { line-height: 1.4; }
.sheet__coffret [data-content] { text-decoration: underline; text-underline-offset: 3px; }
.sheet__coffret svg { flex: none; width: 18px; height: 18px; }
.sheet__coffret-price { font-weight: 400; color: var(--muted); }
.sheet__coffret-price { white-space: nowrap; }
.sheet__coffret-price::before { content: "· "; }
.sheet__coffret[hidden], .sheet__coffret:has([data-empty]) { display: none; }
.sheet__badges { margin-top: 14px; }
/* Points des photos : seulement sur téléphone */
.sheet__dots { display: none; }

/* Collection : l'en-tête disparaît quand le titre et la phrase sont vides (admin) */
.collection .section__head:has(> div > .title[data-empty]):has(> .section__aside[data-empty]) { display: none; }

@media (max-width: 760px) {
  /* Photos de la fiche : elles défilent d'un geste, une à la fois, bord à bord ; le nom et le prix restent en haut */
  .sheet__gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .sheet__gallery::-webkit-scrollbar { display: none; }
  .sheet__gallery > .sheet__media { flex: 0 0 100%; scroll-snap-align: start; }
  .sheet__photos:not([hidden]) { display: contents; }
  .sheet__photo { flex: 0 0 100%; height: 300px; aspect-ratio: auto; scroll-snap-align: start; }
  .sheet__dots:not([hidden]) { display: flex; justify-content: center; gap: 4px; padding-top: 6px; }
  .sheet__dot { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
  .sheet__dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: rgba(0, 0, 0, .22); transition: background .2s, transform .2s; }
  .sheet__dot[aria-current="true"]::before { background: var(--ink); transform: scale(1.15); }
  .sheet__gallery:has(.sheet__photos:not([hidden])) + .sheet__dots + .sheet__info { padding-top: 12px; }
}

/* Fiche savon ouverte en arrivant sur /savons/… (api/savon.js ajoute data-fiche) : la page d'accueil derrière
   n'est mise en forme qu'à l'écran. Retiré à la fermeture de la fiche (js/main.js > hideSheet). */
html[data-fiche] main > section:not(.hero) { content-visibility: auto; contain-intrinsic-size: auto 900px; }
/* Sur téléphone, la grande photo de l'accueil reste à charger tant que la fiche la cache (elle est « lazy » sur /savons/…) */
@media (max-width: 760px) { html[data-fiche] .hero__bg img { display: none; } }

/* Avis clientes (maquette A, admin > Avis clientes) : cartes qui défilent, photos carrées à angles droits.
   La première carte s'aligne sur le texte, les suivantes vont jusqu'au bord de l'écran. */
.section.avis { background: #fff; }
.avis__text { margin-top: 12px; max-width: 520px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.avis__nav { display: flex; gap: 8px; flex-shrink: 0; }
.avis__arrow { border: 1px solid var(--line); }
.avis__arrow--prev svg { transform: scaleX(-1); }
.avis__arrow:disabled { opacity: .35; cursor: default; }
.avis__rail {
  --avis-edge: max(var(--gutter), calc((100% - 1200px) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: min(290px, 78vw); gap: 16px;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  padding-inline: var(--avis-edge); scroll-padding-inline: var(--avis-edge);
  scrollbar-width: none;
}
.avis__rail::-webkit-scrollbar { display: none; }
.avis__card { display: flex; flex-direction: column; min-width: 0; background: var(--cream); scroll-snap-align: start; }
.avis__photo { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--soft); }
.avis__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 18px 18px 20px; }
.avis__stars { color: var(--accent); font-size: 15px; letter-spacing: 2px; line-height: 1; }
.avis__msg { margin: 0; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.avis__card--text .avis__msg { font-size: 20px; line-height: 1.35; }
.avis__who { font-size: 13px; color: var(--muted); }
.avis__soap {
  display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.avis__soap img { flex: 0 0 40px; width: 40px; height: 40px; object-fit: cover; background: var(--tint, var(--soft)); }
.avis__soap img:not(.is-photo) { object-fit: contain; padding: 3px; }
.avis__soap svg { flex-shrink: 0; width: 16px; height: 16px; margin-left: auto; }
@media (hover: hover) { .avis__soap:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.avis__swipe { margin-top: 16px; font-size: 13px; color: var(--muted); }

/* Avis dans la fiche d'un savon : lien sous le prix, puis le bloc après la description */
.sheet__avis-link {
  display: flex; align-items: center; gap: 8px; width: fit-content; margin-top: 8px; padding: 4px 0;
  border: 0; background: none; font: inherit; font-size: 14px; color: var(--ink); text-align: left; cursor: pointer;
}
.sheet__avis-link .avis__stars { font-size: 14px; }
.sheet__avis-link .avis__stars:empty { display: none; }
.sheet__avis-link [data-sheet-avis-count] { text-decoration: underline; text-underline-offset: 3px; }
/* Assez de marge pour passer sous les boutons Partager et Fermer qui flottent en haut de la fiche */
.sheet__avis { scroll-margin-top: 76px; }
.sheet__avis-list { display: grid; gap: 14px; padding-bottom: 8px; }
.sheet__avis-list:empty { display: none; }
.sheet__avis-item { display: flex; align-items: flex-start; gap: 14px; }
.sheet__avis-photo { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; background: var(--soft); }
.sheet__avis-item .avis__stars { display: block; margin-bottom: 6px; font-size: 13px; }
.sheet__avis-msg { font-size: 15px; font-weight: 500; line-height: 1.45; color: var(--ink); overflow-wrap: anywhere; }
.sheet__avis-who { margin-top: 4px; font-size: 13px; color: var(--muted); }
.sheet__avis-all {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 0;
  border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer;
}
.sheet__avis-all svg { width: 16px; height: 16px; }
