/* ==========================================================================
   By Mag Studio : feuille de style partagée (index.html + ebooks.html)

    1. Variables (thème clair, thème sombre, synergies)
    2. Base
    3. Typographie
    4. Mise en page
    5. Composants (boutons, liens, pastilles, badges, arche, filigrane, ornement)
    6. Calques (progression, préchargeur, rideau, retour en haut)
    7. En-tête, thème, navigation et menu mobile
    8. Hero (accueil : diffuseur suspendu · boutique : éventail de couvertures)
    9. Le concept en 4 temps
   10. Pourquoi associer les deux ?
   11. Les synergies (cartes qui se retournent)
   12. Calendrier des ateliers
   13. Infos pratiques
   14. À propos
   15. Prolonge l’expérience
   16. FAQ
   17. Appel à l’action final
   18. Pied de page et modale
   19. Page e-books (engagements, boutique, packs, cadeau, « Pour qui ? »)
   20. Points de rupture
   21. Mouvement réduit, impression
   ========================================================================== */


/* ==========================================================================
   1. VARIABLES
   Tous les contrastes texte / fond sont vérifiés AA (4,5:1) dans les deux thèmes.
   ========================================================================== */
:root {
  color-scheme: light;

  /* Palette : thème clair */
  --fond: #ECE7DF;
  --fond-2: #E3DCD1;
  --fond-3: #D9D0C3;
  --surface: #F6F2EC;
  --texte: #3A2B24;
  --texte-doux: #6E5D52;
  --titres: #5E4232;
  --prune: #7D3463;
  --corail: #E27D63;
  --or-rose: #B8916E;

  /* Variantes plus profondes pour les petits textes (contraste AA) */
  --or-rose-texte: #7C5238;
  --corail-texte: #B8472F;

  /* Textes posés sur une couleur pleine */
  --encre: #1D0F19;
  --on-prune: #F6F2EC;
  --nuit: #3E1A33;
  --on-nuit: #F6F2EC;
  --on-nuit-doux: rgb(246 242 236 / .82);
  --em-nuit: #ECCFBF;
  --nuit-ligne: transparent;
  --erreur: #A93D25;

  --trait: rgb(125 52 99 / .16);
  --trait-fort: rgb(125 52 99 / .32);
  --voile: rgb(246 242 236 / .8);
  --voile-fort: rgb(246 242 236 / .92);

  /* Ombres douces teintées prune (thème clair) */
  --shadow-sm: 0 1px 2px rgb(62 26 51 / .05), 0 10px 28px -14px rgb(62 26 51 / .2);
  --shadow-md: 0 2px 6px rgb(62 26 51 / .05), 0 24px 54px -24px rgb(62 26 51 / .32);
  --shadow-lg: 0 4px 14px rgb(62 26 51 / .06), 0 40px 80px -30px rgb(62 26 51 / .38);
  --shadow-btn: 0 12px 26px -14px rgb(226 125 99 / .85);
  --shadow-btn-hover: 0 16px 30px -14px rgb(125 52 99 / .6);
  --shadow-up: 0 -24px 60px -20px rgb(62 26 51 / .45);
  --scrim: rgb(62 26 51 / .5);

  /* Photos : léger adoucissement en thème sombre */
  --img-filter: brightness(1);

  /* Papier froissé (SVG procédural) et grain fin */
  --papier-froisse: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.013 .017' numOctaves='4' seed='11' result='n'/%3E%3CfeDiffuseLighting in='n' lighting-color='%23fff' surfaceScale='3.2' diffuseConstant='1.1' result='l'%3E%3CfeDistantLight azimuth='232' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 .25 0 0 0 0 .17 0 0 0 0 .12 -1.35 0 0 0 1.18'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --papier-opacite: .34;
  --grain-opacite: .04;
  --filigrane-opacite: .06;

  /* Synergies : couleur d’identité, variante de texte, texte sur la pastille */
  --syn-sommeil: #8A4A7D;     --syn-sommeil-t: #8A4A7D;   --syn-sommeil-on: #FFF8F0;
  --syn-serenite: #2E8A99;    --syn-serenite-t: #1B6370;  --syn-serenite-on: #1D0F19;
  --syn-confiance: #E0675C;   --syn-confiance-t: #A63B32; --syn-confiance-on: #1D0F19;
  --syn-clarte: #9DBF5A;      --syn-clarte-t: #4C651A;    --syn-clarte-on: #1D0F19;
  --syn-special: var(--corail);

  /* Typographie */
  --font-title: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --font-text: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Allura', 'Cormorant Garamond', cursive;

  /* Mouvement et formes */
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 20px;

  /* Mise en page */
  --gutter: clamp(16px, 5vw, 56px);
  --maxw: 1240px;
  --section-y: clamp(4.75rem, 10vw, 9rem);

  /* En-tête : grand logo en haut de page, réduit dès 80 px de défilement */
  --logo-top: 132px;
  --logo-min: 52px;
  --bar-pad: 8px;
  --header-h: calc(var(--logo-top) + 2 * var(--bar-pad));
  --header-h-compact: calc(var(--logo-min) + 2 * var(--bar-pad));
}

@media (min-width: 1024px) {
  :root { --logo-top: 168px; --logo-min: 64px; --bar-pad: 12px; }
}

/* Thème sombre : appliqué uniquement si la visiteuse l’a choisi avec le bouton (clair par défaut) */
:root[data-theme='dark'] {
  color-scheme: dark;
  --fond: #1C1714;
  --fond-2: #241D19;
  --fond-3: #33291F;
  --surface: #2D2520;
  --texte: #EDE5DB;
  --texte-doux: #B9AA9C;
  --titres: #EAD7C5;
  --prune: #C48AB3;
  --corail: #EE9A82;
  --or-rose: #CDAA88;
  --or-rose-texte: #CDAA88;
  --corail-texte: #EE9A82;
  --encre: #1D0F19;
  --on-prune: #1D0F19;
  --nuit: #2D2520;
  --on-nuit: #EDE5DB;
  --on-nuit-doux: rgb(237 229 219 / .82);
  --em-nuit: #D9A7CE;
  --nuit-ligne: #C48AB3;
  --erreur: #F29C86;
  --trait: rgb(196 138 179 / .22);
  --trait-fort: rgb(196 138 179 / .42);
  --voile: rgb(28 23 20 / .8);
  --voile-fort: rgb(28 23 20 / .92);
  --shadow-sm: 0 0 0 1px rgb(255 240 230 / .03), 0 10px 30px -14px rgb(196 138 179 / .22);
  --shadow-md: 0 0 0 1px rgb(255 240 230 / .03), 0 22px 50px -22px rgb(196 138 179 / .32);
  --shadow-lg: 0 0 0 1px rgb(255 240 230 / .04), 0 36px 80px -28px rgb(196 138 179 / .4);
  --shadow-btn: 0 12px 30px -14px rgb(238 154 130 / .55);
  --shadow-btn-hover: 0 16px 34px -14px rgb(196 138 179 / .55);
  --shadow-up: 0 -24px 60px -20px rgb(196 138 179 / .35);
  --scrim: rgb(10 7 6 / .62);
  --img-filter: brightness(.92);
  --papier-froisse: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cfilter id='p' x='0' y='0' width='100%25' height='100%25' color-interpolation-filters='sRGB'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.013 .017' numOctaves='4' seed='11' result='n'/%3E%3CfeDiffuseLighting in='n' lighting-color='%23fff' surfaceScale='3.2' diffuseConstant='1.1' result='l'%3E%3CfeDistantLight azimuth='232' elevation='52'/%3E%3C/feDiffuseLighting%3E%3CfeColorMatrix in='l' type='matrix' values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .85 1.5 0 0 0 -.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  --papier-opacite: .12;
  --grain-opacite: .03;
  --filigrane-opacite: .08;
  --syn-sommeil: #C07FAE;     --syn-sommeil-t: #D9A7CE;   --syn-sommeil-on: #1D0F19;
  --syn-serenite: #4FB3C2;    --syn-serenite-t: #6FC6D3;  --syn-serenite-on: #1D0F19;
  --syn-confiance: #F0857A;   --syn-confiance-t: #F5A094; --syn-confiance-on: #1D0F19;
  --syn-clarte: #B5D472;      --syn-clarte-t: #C4E087;    --syn-clarte-on: #1D0F19;
}
/* Chaque élément qui porte data-syn hérite de la couleur de sa synergie */
[data-syn='sommeil'] { --c: var(--syn-sommeil); --c-text: var(--syn-sommeil-t); --on-c: var(--syn-sommeil-on); }
[data-syn='serenite'] { --c: var(--syn-serenite); --c-text: var(--syn-serenite-t); --on-c: var(--syn-serenite-on); }
[data-syn='confiance'] { --c: var(--syn-confiance); --c-text: var(--syn-confiance-t); --on-c: var(--syn-confiance-on); }
[data-syn='clarte'] { --c: var(--syn-clarte); --c-text: var(--syn-clarte-t); --on-c: var(--syn-clarte-on); }
[data-syn='special'] { --c: var(--corail); --c-text: var(--corail-texte); --on-c: var(--encre); }


/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-gutter: stable;
  background: var(--fond);
}

/* Recommandations Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

html.is-locked, html.is-preloading { overflow: hidden; }

body {
  position: relative;
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--font-text);
  font-size: clamp(1.0625rem, 1.03rem + .12vw, 1.125rem);
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Papier froissé : un seul calque fixe, dessiné une fois, qui ne gêne ni la lecture ni les clics */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 3;
  background: var(--papier-froisse) center / cover no-repeat;
  opacity: var(--papier-opacite);
  pointer-events: none;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--prune); text-decoration: none; -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
input { font: inherit; color: inherit; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--prune); outline-offset: 3px; border-radius: 6px; }
.section--dark :focus-visible, .menu :focus-visible { outline-color: var(--on-nuit); }
::selection { background: var(--corail); color: var(--encre); }

/* Pointeur natif partout ; la main sur ce qui se clique */
a[href], button:not(:disabled), [role='button'], summary, label[for], select,
.flip__toggle, .pill, .acard__btn, .faq__btn, .theme-toggle, .burger, .hdot, .syn__dot, .seg__btn, .social a, .day.has-atelier { cursor: pointer; }
.btn[aria-disabled='true'], button:disabled { cursor: default; }
.has-atelier.is-dim { cursor: default; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 300;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--nuit); color: var(--on-nuit); font-weight: 600; font-size: .9rem;
  transform: translateY(-160%); transition: transform .4s var(--ease);
}
.skip-link:focus-visible { transform: none; outline-color: var(--corail); }

.icon { width: 1.25em; height: 1.25em; flex: none; }

/* Fondu des couleurs au changement de thème (0,5 s) : réservé à cette courte fenêtre,
   et ne touche ni transform ni opacity, donc jamais aux éléments animés par GSAP */
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, fill .5s ease, stroke .5s ease, box-shadow .5s ease !important;
}

/* Transition de thème en cercle (View Transitions) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }


/* ==========================================================================
   3. TYPOGRAPHIE
   ========================================================================== */
.overline {
  font-family: var(--font-text);
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--or-rose-texte);
}
.section--dark .overline { color: var(--or-rose); }

/* Sur-titre manuscrit corail, légèrement incliné et chevauchant le titre */
.kicker {
  position: relative; z-index: 1;
  justify-self: start;
  max-width: none;
  margin-bottom: -.5em;
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400; line-height: 1.1;
  color: var(--corail-texte);
  transform: rotate(-4deg);
  transform-origin: left bottom;
}
.section--dark .kicker { color: var(--corail); }
.section-head--center .kicker { justify-self: center; transform-origin: center bottom; }

.title {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: clamp(3.2rem, 9vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.01em;
  color: var(--titres);
  text-wrap: balance;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}
.title em, .hero__title em, .cta__title em {
  font-style: italic;
  font-weight: 500;
  color: var(--prune);
}
.section--dark .title { color: var(--on-nuit); }
.section--dark .title em { color: var(--em-nuit); }

.lead { max-width: 58ch; color: var(--texte-doux); }
p { max-width: 65ch; }

/* Révélation mot par mot : enveloppes créées par le script */
.w { display: inline-block; overflow: hidden; vertical-align: top; white-space: nowrap; padding: .12em .06em .14em; margin: -.12em -.06em -.14em; }
.w__i { display: inline-block; white-space: nowrap; will-change: transform; }
/* Ponctuation rattachée au mot qui la précède : jamais seule en bout de ligne, et jamais en italique ni colorée */
.w__i .pn { font-style: normal; font-weight: inherit; color: var(--titres); }
.section--dark .w__i .pn { color: var(--on-nuit); }

/* Révélation ligne par ligne */
.ln { display: block; overflow: hidden; }
.ln__i { display: block; will-change: transform; }

/* Masques de lignes (hero) : le texte monte depuis une ligne invisible */
.m { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.m__i { display: block; will-change: transform; }


/* ==========================================================================
   4. MISE EN PAGE
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(860px + 2 * var(--gutter)); }

.section { position: relative; padding-block: var(--section-y); overflow-x: clip; }
.section--peche { background: var(--fond-2); }
.section--dark {
  background: var(--nuit); color: var(--on-nuit);
  border-block: 1px solid var(--nuit-ligne);
}

.section-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.section-head--center { justify-items: center; text-align: center; }
.section-head--center .lead, .section-head--center .title { margin-inline: auto; }

/* Éléments décoratifs (feuilles, étoiles) */
.deco { position: absolute; pointer-events: none; color: var(--or-rose); }
span.deco > svg { width: 100%; height: 100%; }
.deco--star, .deco--star path { fill: currentColor; }
.deco--leaf svg { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }

/* Filigrane floral : dessin au trait, très discret, à la parallaxe lente */
.watermark {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(240px, 34vw, 520px); aspect-ratio: 4 / 5;
  color: var(--or-rose);
  opacity: var(--filigrane-opacite);
}
.watermark svg { width: 100%; height: 100%; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.watermark--r { right: -6%; }
.watermark--l { left: -6%; }
.watermark--t { top: 4%; }
.watermark--b { bottom: 2%; }
.watermark--flip svg { transform: scaleX(-1); }
.section > .container, .section > .container--narrow { position: relative; z-index: 1; }

/* États initiaux des révélations.
   Script actif : tout est masqué, GSAP révèle (ou un simple fondu CSS en mouvement réduit).
   Sans script, ou si le script échoue (classe js-failsafe), tout reste visible. */
.js [data-reveal], .js [data-stagger] > *, .js [data-split]:not(.is-split),
.js [data-lines]:not(.is-split), .js [data-hero-in], .js [data-hero-title]:not(.is-split) { opacity: 0; }
.no-motion [data-reveal], .no-motion [data-stagger] > *,
.reduce-motion [data-reveal], .reduce-motion [data-stagger] > * { transition: opacity .9s var(--ease); }
.js [data-reveal].is-in, .js [data-stagger].is-in > * { opacity: 1; }
.js-failsafe [data-reveal], .js-failsafe [data-stagger] > *, .js-failsafe [data-split], .js-failsafe [data-lines],
.js-failsafe [data-hero-in], .js-failsafe [data-hero-title], .js-failsafe [data-portrait], .js-failsafe [data-img-reveal], .js-failsafe [data-arch] {
  opacity: 1 !important; transform: none !important; visibility: visible !important; clip-path: none !important;
}


/* ==========================================================================
   5. COMPOSANTS
   ========================================================================== */

/* ---- Grain papier fin sur les fonds teintés ---- */
.grain { position: relative; isolation: isolate; }
.grain::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: var(--grain-opacite);
  border-radius: inherit;
  pointer-events: none;
}
:root { --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .243 0 0 0 0 .102 0 0 0 0 .2 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme='dark'] { --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .93 0 0 0 0 .85 0 0 0 1.4 -.35'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---- Boutons : remplissage animé, flèche qui glisse ---- */
.btn {
  --btn-bg: var(--corail);
  --btn-fg: var(--encre);
  --btn-fill: var(--prune);
  --btn-fill-fg: var(--on-prune);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: space-between; gap: .9rem;
  min-height: 52px;
  padding: .3rem .3rem .3rem 1.65rem;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-text);
  font-size: .95rem; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
  text-align: left;
  box-shadow: var(--shadow-btn);
  transform: translate(var(--mx, 0px), var(--my, 0px));
  transition: color .5s var(--ease), box-shadow .5s var(--ease), scale .3s var(--ease);
}
.btn::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--btn-fill);
  border-radius: inherit;
  transform: translateX(-102%);
  transition: transform .65s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: none; }
.btn:hover, .btn:focus-visible { color: var(--btn-fill-fg); box-shadow: var(--shadow-btn-hover); }
.btn:active { scale: .97; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 42px; height: 42px; border-radius: 50%;
  background: rgb(29 15 25 / .12);
  transition: background-color .45s var(--ease);
}
.btn:hover .btn__icon, .btn:focus-visible .btn__icon { background: rgb(246 242 236 / .18); }
:root[data-theme='dark'] .btn:hover .btn__icon, :root[data-theme='dark'] .btn:focus-visible .btn__icon { background: rgb(29 15 25 / .14); }
.btn__icon .icon { width: 18px; height: 18px; transition: transform .55s var(--ease); }
.btn:hover .btn__icon .icon { transform: translateX(3px); }

.btn--sm { min-height: 46px; padding-left: 1.3rem; font-size: .88rem; }
.btn--sm .btn__icon { width: 36px; height: 36px; }
.btn--sm .btn__icon .icon { width: 16px; height: 16px; }
.btn--lg { min-height: 62px; padding-left: 2.1rem; font-size: 1.02rem; }
.btn--lg .btn__icon { width: 50px; height: 50px; }

.btn[aria-disabled='true'] {
  --btn-bg: var(--fond-3);
  --btn-fg: var(--texte);
  box-shadow: none; pointer-events: none;
}
.btn[aria-disabled='true']::before { display: none; }

/* ---- Liens : soulignement qui se trace de gauche à droite ---- */
.link-anim {
  position: relative; display: inline-block;
  padding-block: .2em;
  color: var(--prune); font-weight: 500;
}
.link-anim::before, .link-anim::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor;
}
.link-anim::before { opacity: .3; }
.link-anim::after {
  transform: scaleX(0); transform-origin: right center;
  transition: transform .6s var(--ease);
}
.link-anim:hover::after, .link-anim:focus-visible::after { transform: scaleX(1); transform-origin: left center; }
.section--dark .link-anim, .footer .link-anim { color: inherit; }
/* Liens autonomes : zone de clic d’au moins 44 px (les liens dans une phrase restent compacts) */
.hero__actions .link-anim, .extend__more .link-anim, .cta__mail, .gift__cta { padding-block: .8rem; }
.hero__actions .link-anim::before, .hero__actions .link-anim::after,
.extend__more .link-anim::before, .extend__more .link-anim::after,
.cta__mail::before, .cta__mail::after, .gift__cta::before, .gift__cta::after { bottom: .62rem; }

/* ---- Pastilles de filtre ---- */
.pill {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; gap: .55rem;
  min-height: 44px; padding: .5rem 1.2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 78%, transparent);
  box-shadow: inset 0 0 0 1px var(--trait);
  color: var(--texte);
  font-size: .9rem; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: color .4s var(--ease), box-shadow .4s var(--ease), scale .3s var(--ease);
}
.pill::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--prune); border-radius: inherit;
  transform: scale(.6); opacity: 0;
  transition: transform .5s var(--ease), opacity .35s var(--ease);
}
.pill:hover { box-shadow: inset 0 0 0 1px var(--prune); }
.pill:active { scale: .96; }
.pill.is-active { color: var(--on-prune); box-shadow: none; }
.pill.is-active::before { transform: none; opacity: 1; }
.pill__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--or-rose)); box-shadow: 0 0 0 1.5px var(--c-text, var(--or-rose-texte)); flex: none; }
.pill.is-active .pill__dot { box-shadow: 0 0 0 2px color-mix(in srgb, var(--on-prune) 55%, transparent); }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center;
  min-height: 24px; padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .68rem; font-weight: 600; line-height: 1; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap;
}
.badge--corail { background: var(--corail); color: var(--encre); }
.badge--prune { background: var(--prune); color: var(--on-prune); }
.badge--or { background: var(--or-rose); color: var(--encre); }
.badge--muted { background: var(--fond-3); color: var(--texte); }

/* ---- Cadre en arche : motif signature (À propos, « Pour qui ? », pourquoi associer, hero) ---- */
.arch {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  background: var(--fond-3);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--or-rose) 55%, transparent), var(--shadow-md);
}
.arch::after {
  content: ''; position: absolute; inset: 12px; z-index: 2; pointer-events: none;
  border: 1px solid color-mix(in srgb, var(--on-nuit) 38%, transparent);
  border-radius: 999px 999px 12px 12px;
}
/* Le zoom au survol porte sur l’enveloppe, pas sur l’image : GSAP anime l’image (dézoom à l’arrivée) sans jamais toucher à cette enveloppe */
.arch__zoom { position: absolute; inset: 0; display: block; transition: scale 1.3s var(--ease); }
.arch img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.arch__shine { position: absolute; inset: -10% -45%; z-index: 1; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .38) 50%, transparent 62%); transform: translateX(-125%); }
.arch:hover .arch__shine { transform: translateX(125%); transition: transform 1.5s var(--ease); }
.arch:hover .arch__zoom { scale: 1.03; }

/* ---- Ornement signature : ligne fine + trois étoiles ---- */
.ornament {
  position: absolute; top: 0; left: 0; right: 0; z-index: 2;
  display: flex; justify-content: center;
  transform: translateY(-50%);
  color: var(--or-rose);
  pointer-events: none;
}
.ornament__svg { width: min(340px, 72vw); height: auto; overflow: visible; }
.ornament__line {
  fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
}
.ornament__star {
  fill: currentColor;
  transform-box: fill-box; transform-origin: center;
  opacity: 0; transform: scale(0);
}
.ornament.is-in .ornament__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s var(--ease); }
.ornament.is-in .ornament__star {
  opacity: 1; transform: scale(1);
  transition: opacity .6s var(--ease) calc(.9s + var(--d, 0s)), transform .9s var(--ease) calc(.9s + var(--d, 0s));
  animation: twinkle 3.6s ease-in-out calc(1.8s + var(--d, 0s)) infinite;
}
.ornament__star:nth-of-type(1) { --d: 0s; }
.ornament__star:nth-of-type(2) { --d: .18s; }
.ornament__star:nth-of-type(3) { --d: .36s; }
@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .45; transform: scale(.78); }
}
.section--dark .ornament { color: var(--or-rose); }


/* ==========================================================================
   6. CALQUES
   ========================================================================== */

/* ---- Barre de progression de lecture ---- */
.progress { position: fixed; inset: 0 0 auto 0; z-index: 200; height: 3px; pointer-events: none; }
.progress__bar { display: block; width: 100%; height: 100%; background: var(--corail); transform: scaleX(0); transform-origin: left center; }

/* ---- Retour en haut avec anneau de progression ---- */
.to-top {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90;
  display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--voile-fort);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--prune);
  box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s;
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { color: var(--corail-texte); }
.to-top:active { scale: .94; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__track { fill: none; stroke: var(--trait); stroke-width: 1.5; }
.to-top__bar { fill: none; stroke: var(--corail); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.to-top__arrow { width: 18px; height: 18px; transform: rotate(-90deg); }

/* ---- Préchargeur (une seule fois par session) : ornement, puis grand logo ---- */
.preloader { position: fixed; inset: 0; z-index: 180; display: none; place-items: center; background: var(--fond); }
.is-preloading .preloader { display: grid; }
.preloader__inner { display: grid; justify-items: center; gap: 1.6rem; }
.preloader__ornament { width: min(320px, 68vw); color: var(--or-rose); }
.preloader__logo { width: clamp(150px, 42vw, 200px); height: auto; aspect-ratio: 1; border-radius: 50%; opacity: 0; }

/* ---- Rideau des transitions entre les pages ---- */
.curtain {
  position: fixed; inset: 0; z-index: 170;
  background: var(--fond-2);
  visibility: hidden; transform: translateY(125%);
  pointer-events: none;
}
.curtain::before, .curtain::after {
  content: ''; position: absolute; left: 0; right: 0; height: 14vh; background: var(--fond-2);
}
.curtain::before { bottom: calc(100% - 1px); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.curtain::after { top: calc(100% - 1px); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.is-curtain .curtain { visibility: visible; transform: none; }

/* Sortie par simple fondu (mouvement réduit) */
.is-leaving main, .is-leaving .footer, .is-leaving .header { opacity: 0; transition: opacity .3s ease; }
@media (prefers-reduced-motion: reduce) {
  body { animation: page-in .5s ease both; }
}
@keyframes page-in { from { opacity: 0; } to { opacity: 1; } }


/* ==========================================================================
   7. EN-TÊTE, THÈME, NAVIGATION ET MENU MOBILE
   ========================================================================== */
.header {
  --logo: var(--logo-top);
  position: fixed; inset: 0 0 auto 0; z-index: 120;
  color: var(--texte);
  transition: transform .75s var(--ease), color .4s var(--ease);
}
.header.is-compact { --logo: var(--logo-min); }
/* Fond translucide : calque dédié pour n’animer que l’opacité */
.header::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: var(--voile);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 1px 0 var(--trait), 0 16px 32px -24px rgb(62 26 51 / .35);
  opacity: 0;
  transition: opacity .5s var(--ease);
}
:root[data-theme='dark'] .header::before { box-shadow: 0 1px 0 var(--trait), 0 16px 32px -24px rgb(196 138 179 / .25); }
.header.is-compact::before { opacity: 1; }
.header.is-hidden { transform: translateY(-102%); }
.header.is-menu-open { color: var(--on-nuit); transform: none; }
.header.is-menu-open::before { opacity: 0; }

.header__bar {
  display: flex; align-items: center; justify-content: space-between; gap: clamp(.6rem, 2vw, 1.6rem);
  height: calc(var(--logo) + 2 * var(--bar-pad));
  transition: height .5s var(--ease);
}
/* Quand GSAP pilote la taille du logo, les transitions CSS s’effacent */
.header.is-gsap .header__bar, .header.is-gsap .header__logo img { transition: none; }

.header__logo { display: block; flex: none; line-height: 0; border-radius: 50%; }
.header__logo img {
  width: var(--logo); height: var(--logo); aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--or-rose) 45%, transparent);
  transition: width .5s var(--ease), height .5s var(--ease);
}

.nav { position: relative; display: none; margin-left: auto; }
.nav__list { display: flex; gap: clamp(1.4rem, 3vw, 2.8rem); }
.nav__link {
  display: block; padding: .7rem .1rem;
  color: var(--texte); font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  transition: color .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--prune); }
.header:not(.is-compact) .nav__link { text-shadow: 0 0 10px var(--fond), 0 0 3px var(--fond); }
.nav__indicator {
  position: absolute; left: 0; bottom: 3px;
  width: 100px; height: 2px; border-radius: 2px;
  background: var(--corail);
  transform-origin: 0 50%;
  transform: translateX(var(--x, 0px)) scaleX(var(--s, 0));
  opacity: 0;
  transition: transform .65s var(--ease), opacity .35s var(--ease);
  pointer-events: none;
}

.header__tools { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header__cta { display: none; }

/* Sans JavaScript : la navigation reste visible, sans menu burger */
.no-js .burger, .no-js .menu, .no-js .theme-toggle { display: none; }
.no-js .nav { display: block; margin-left: auto; }
.no-js .nav__list { flex-wrap: wrap; justify-content: flex-end; gap: 0 1.2rem; }
.no-js .nav__indicator { display: none; }

/* ---- Bouton de thème : le soleil se creuse en croissant de lune ---- */
.theme-toggle {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  color: inherit;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: box-shadow .4s var(--ease), color .4s var(--ease), background-color .4s var(--ease), scale .3s var(--ease);
}
.theme-toggle:hover { box-shadow: inset 0 0 0 1px var(--prune); color: var(--prune); }
.theme-toggle:active { scale: .92; }
.header.is-menu-open .theme-toggle:hover { color: var(--corail); box-shadow: inset 0 0 0 1px var(--corail); }
.theme-toggle__svg { width: 24px; height: 24px; overflow: visible; }
.theme-toggle__core, .theme-toggle__cut, .theme-toggle__rays { transform-box: fill-box; transform-origin: center; }
.theme-toggle__core { fill: currentColor; transition: transform .7s var(--ease); }
.theme-toggle__cut { fill: #000; transform: translate(14px, -10px); transition: transform .7s var(--ease); }
.theme-toggle__rays { stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; fill: none; transition: transform .7s var(--ease), opacity .4s var(--ease); }
:root[data-theme='dark'] .theme-toggle__core { transform: scale(1.5) rotate(-18deg); }
:root[data-theme='dark'] .theme-toggle__cut { transform: translate(3px, -3px); }
:root[data-theme='dark'] .theme-toggle__rays { transform: rotate(90deg) scale(.2); opacity: 0; }

/* ---- Burger animé : 3 traits → croix ---- */
.burger { position: relative; flex: none; width: 48px; height: 48px; margin-right: -8px; }
.burger__line {
  position: absolute; left: 12px; right: 12px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .6s var(--ease), opacity .3s var(--ease);
}
.burger__line:nth-child(1) { top: 17px; }
.burger__line:nth-child(2) { top: 23px; }
.burger__line:nth-child(3) { top: 29px; }
.is-menu-open .burger__line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.is-menu-open .burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.is-menu-open .burger__line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Menu plein écran ---- */
.menu {
  position: fixed; inset: 0; z-index: 110;
  background: var(--nuit); color: var(--on-nuit);
  overflow-y: auto; overscroll-behavior: contain;
  visibility: hidden;
  clip-path: circle(0px at calc(100% - 40px) 42px);
  transition: clip-path .9s var(--ease), visibility 0s .9s;
}
.menu.is-open {
  visibility: visible;
  clip-path: circle(160vmax at calc(100% - 40px) 42px);
  transition: clip-path .9s var(--ease), visibility 0s;
}
.menu__inner {
  min-height: 100%;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: calc(var(--header-h-compact) + 1.5rem) var(--gutter) max(2rem, env(safe-area-inset-bottom));
}
.menu__link {
  display: flex; align-items: baseline; gap: 1rem;
  padding: .25rem 0;
  font-family: var(--font-title); font-size: clamp(2.7rem, 13vw, 4.6rem); font-weight: 500; line-height: 1.12;
  color: var(--on-nuit);
  opacity: 0; transform: translateY(32px);
  transition: opacity .5s var(--ease), transform .5s var(--ease), color .3s var(--ease);
}
.menu__link:hover { color: var(--corail); }
.menu__idx { font-family: var(--font-text); font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--or-rose); }
.menu__foot { display: grid; justify-items: start; gap: 1.5rem; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu__row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem; }
.menu__mail { color: var(--on-nuit); font-size: .95rem; opacity: .85; }
.menu.is-open .menu__link, .menu.is-open .menu__foot {
  opacity: 1; transform: none;
  transition: opacity .8s var(--ease), transform .9s var(--ease), color .3s var(--ease);
  transition-delay: calc(.32s + var(--i, 0) * .08s);
}
.menu .theme-toggle { color: var(--on-nuit); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-nuit) 38%, transparent); }

/* ---- Réseaux sociaux : icônes fines, remplissage corail et petit rebond ---- */
.social { display: flex; flex-wrap: wrap; gap: .6rem; }
.social a {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  color: var(--prune);
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: color .4s var(--ease), box-shadow .4s var(--ease);
}
.social a::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 50%;
  background: var(--corail);
  transform: scale(0);
  transition: transform .55s var(--ease);
}
.social a:hover, .social a:focus-visible { color: var(--encre); box-shadow: none; animation: hop .65s var(--ease); }
.social a:hover::before, .social a:focus-visible::before { transform: scale(1); }
.social .icon { width: 22px; height: 22px; }
.social--light a { color: var(--on-nuit); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--on-nuit) 38%, transparent); }
@keyframes hop {
  0% { translate: 0 0; }
  35% { translate: 0 -7px; }
  65% { translate: 0 1px; }
  100% { translate: 0 0; }
}


/* ==========================================================================
   8. HERO (accueil : diffuseur suspendu · boutique : éventail de couvertures)
   Accueil : section épinglée de 4 chapitres (un par synergie) + intro + final.
   Mouvement réduit ou script absent : la section n’est plus épinglée, les 4 recettes
   sont posées en cartes (voir « .hero.is-static » plus bas).
   ========================================================================== */
.hero {
  --stage-h: clamp(220px, 28svh, 300px);
  --vial-h: clamp(170px, 26svh, 270px);
  --vial-w: calc(var(--vial-h) * .5922);               /* rapport largeur / hauteur de la photo détourée (594 × 1003) */
  --cord-top: 0px;                                      /* le cordon part du haut de l’écran */
  --cord-len: calc(var(--header-h) * .66);              /* distance entre le haut de l’écran et la perle */
  --ingr: clamp(84px, 24vw, 112px);
  --c: var(--syn-sommeil);
  position: relative; z-index: 1;
  min-height: 100vh; min-height: 100svh;
  overflow: hidden;
  background: var(--fond);
}

/* Halos de lumière chaude qui respirent lentement */
.hero__bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__halo {
  position: absolute; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--or-rose) 30%, transparent), transparent);
  animation: breathe 10s ease-in-out infinite;
  translate: 0 var(--py, 0px);
  will-change: transform, opacity;
}
.hero__halo--1 { width: 78vmax; height: 78vmax; left: -30vmax; top: -26vmax; }
.hero__halo--2 { width: 60vmax; height: 60vmax; right: -22vmax; top: 6vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--fond-2) 100%, transparent), transparent); animation-delay: -3.5s; }
.hero__halo--3 { width: 50vmax; height: 50vmax; left: 12%; bottom: -30vmax; background: radial-gradient(closest-side, color-mix(in srgb, var(--or-rose) 20%, transparent), transparent); animation-delay: -7s; }
@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .75; }
  50% { transform: scale(1.14); opacity: 1; }
}
.hero__star { width: 16px; height: 16px; color: var(--or-rose); opacity: .75; }
.hero__star--1 { left: 8%; top: 38%; }
.hero__star--2 { right: 44%; top: 30%; width: 11px; height: 11px; }
.hero__star--3 { left: 46%; bottom: 20%; width: 13px; height: 13px; }

.hero__inner {
  position: relative; z-index: 1;
  height: 100vh; height: 100svh; min-height: 640px;
  padding-top: calc(var(--header-h) + var(--stage-h));
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
}

/* ---- Scène : fiole suspendue, halo coloré, pastille de cristal, gouttes ---- */
.hero__stage { position: absolute; inset: 0 0 auto 0; height: calc(var(--header-h) + var(--stage-h)); pointer-events: none; }

.hero__aura {
  position: absolute; left: 50%; top: calc(var(--cord-top) + var(--cord-len) + var(--vial-h) * .52);
  width: calc(var(--vial-h) * 2.5); aspect-ratio: 1;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 58%, transparent), color-mix(in srgb, var(--c) 18%, transparent) 55%, transparent 100%);
  opacity: .1;
  animation: aura 6s ease-in-out infinite;
}
@keyframes aura { 0%, 100% { scale: 1; } 50% { scale: 1.08; } }

/* Le balancier : cordon et fiole forment un seul groupe, accroché en haut de l’écran */
.vial {
  position: absolute; left: 50%; top: var(--cord-top);
  width: var(--vial-w);
  margin-left: calc(var(--vial-w) / -2);
  transform-origin: 50% 0;
  will-change: transform;
}
.vial__cord {
  display: block; width: 15px; height: var(--cord-len); margin: 0 auto;
  overflow: visible; transform-origin: 50% 0;
  filter: drop-shadow(1px 2px 1.5px rgb(60 35 10 / .28));
}
/* Le bas du cordon passe derrière la perle : le raccord est invisible */
.vial__body { position: relative; display: block; width: var(--vial-w); margin-top: calc(var(--vial-h) * -.05); }
.vial__img { display: block; width: 100%; height: var(--vial-h); filter: var(--img-filter) drop-shadow(0 18px 24px rgb(62 26 51 / .2)); }
:root[data-theme='dark'] .vial__img { filter: var(--img-filter) drop-shadow(0 0 26px color-mix(in srgb, var(--c) 42%, transparent)); }

/* Couche 1 · halo flou derrière la fiole (dans le groupe qui se balance) : il donne au verre quelque chose à filtrer */
.vial__halo {
  position: absolute; left: 50%; top: calc(var(--cord-len) + var(--vial-h) * .68);
  width: calc(var(--vial-w) * 1.6); aspect-ratio: 1 / 1.25;
  translate: -50% -50%;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  filter: blur(40px); opacity: .4;
  pointer-events: none;
  animation: halo-breathe 4s ease-in-out infinite;
}
@keyframes halo-breathe { 0%, 100% { scale: .95; } 50% { scale: 1.05; } }
:root[data-theme='dark'] .vial__halo { opacity: .25; }

/* Couche 2 · liquide : il n’existe que dans la forme intérieure du verre (masque tiré de la photo : parois et fond épais laissés libres) ;
   la photo du verre passe PAR-DESSUS, donc arêtes et reflets restent devant le liquide */
.vial__liquid {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url('assets/img/fiole-interieur-mask.png') center / 100% 100% no-repeat;
          mask: url('assets/img/fiole-interieur-mask.png') center / 100% 100% no-repeat;
  -webkit-backdrop-filter: blur(2px) saturate(1.2); backdrop-filter: blur(2px) saturate(1.2);
}
.vial__lsvg { display: block; width: 100%; height: 100%; max-width: none; overflow: visible; }
.ls { stop-color: var(--c); }
.ls--top { stop-opacity: .45; }                           /* plus clair vers la surface… */
.ls--bot { stop-opacity: .75; }                           /* …plus dense au fond */
:root[data-theme='dark'] .ls--top { stop-opacity: .5; }
:root[data-theme='dark'] .ls--bot { stop-opacity: .83; }
.liq-men { fill: #fff; fill-opacity: .4; }                /* ménisque : fine ellipse claire à la surface */
.liq-men-line { stroke: #1d0f19; stroke-opacity: .13; stroke-width: 3; }
.liq-shine { opacity: .3; }                               /* reflet spéculaire, côté gauche */
.liq-bubbles circle { fill: #fff; fill-opacity: .5; }

/* Couche 4 · tache de lumière colorée sous la fiole (elle suit le balancement avec un léger retard) */
.vial__caustic {
  position: absolute; left: 50%; top: calc(var(--cord-len) + var(--vial-h) * .96);
  width: calc(var(--vial-w) * .95); height: calc(var(--vial-h) * .17);
  margin-left: calc(var(--vial-w) * -.475);
  pointer-events: none;
}
.vial__caustic::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  filter: blur(14px); opacity: .25;
}

.vial__swirls {
  position: absolute; left: 50%; bottom: 54%;
  width: calc(var(--vial-h) * 1.2); height: calc(var(--vial-h) * 1.35);
  translate: -50% 0; max-width: none; overflow: visible; pointer-events: none;
}
.vial__swirls path { fill: none; stroke: var(--c); stroke-width: 2.4; stroke-linecap: round; opacity: 0; }
.vial__swirls circle { fill: var(--c); opacity: 0; }

/* Gouttes : elles tombent dans le goulot, sous le bouchon, côté face (créées par le script) */
.vial__fx { position: absolute; inset: 0; overflow: visible; pointer-events: none; }
.fx-drop { position: absolute; left: 0; top: 0; width: 18px; height: 26px; margin-left: -9px; fill: var(--c); filter: drop-shadow(0 3px 5px color-mix(in srgb, var(--c) 45%, transparent)); will-change: transform; }

/* Duo flottant : la pastille ronde du cristal et, à côté, un ingrédient de la synergie (détouré) */
.hero__gems {
  position: absolute;
  left: calc(50% - var(--vial-w) * .5 - var(--gem) * .9);
  top: calc(var(--cord-len) + var(--vial-h) * .56);
  width: var(--gem); aspect-ratio: 1;
  --gem: clamp(72px, 20vw, 104px);
}
.gem {
  position: absolute; inset: 0; overflow: hidden; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c), 0 0 0 7px color-mix(in srgb, var(--c) 22%, transparent), var(--shadow-md);
  background: var(--fond-3);
  opacity: 0;
}
.gem img { position: absolute; inset: -12%; width: 124%; height: 124%; max-width: none; object-fit: cover; filter: var(--img-filter); animation: gem-spin 90s linear infinite; }
@keyframes gem-spin { to { rotate: 360deg; } }

.hero__ingr {
  position: absolute;
  left: calc(50% + var(--vial-w) * .5 - var(--ingr) * .2);
  top: calc(var(--cord-len) + var(--vial-h) * .46);
  width: var(--ingr); aspect-ratio: 1;
}
.ingr { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; }
.ingr img {
  max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: var(--img-filter) drop-shadow(0 12px 14px rgb(62 26 51 / .25));
  transform-origin: 50% 70%;
  animation: ingr-sway 11s ease-in-out infinite alternate;       /* rotation inverse de celle du cristal */
}
@keyframes ingr-sway { from { rotate: -8deg; } to { rotate: 8deg; } }

/* ---- Panneau : l’accroche, puis les 4 recettes, puis le final (même case de grille) ---- */
.hero__panel { grid-row: 1; display: grid; align-content: center; min-height: 0; }
.hero__panel > * { grid-area: 1 / 1; min-width: 0; }

.hero__copy {
  display: grid; justify-items: start; align-content: center; gap: .85rem;
}
.hero__title {
  font-family: var(--font-title); font-weight: 500;
  font-size: clamp(2.9rem, 7.2vw, 6.2rem);
  line-height: .96; letter-spacing: -.02em; color: var(--titres);
  text-wrap: balance;
}
.hero__sub { max-width: 40ch; color: var(--texte-doux); font-size: clamp(1rem, .95rem + .3vw, 1.2rem); line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem; margin-top: .5rem; }

.recipes { display: grid; align-content: center; }
.recipe {
  grid-area: 1 / 1; display: grid; align-content: center; justify-items: start; gap: .7rem;
  visibility: hidden; opacity: 0;
}
.recipe.is-active { visibility: visible; opacity: 1; }
.recipe__chap { font-size: .75rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--c-text); }
.recipe__name {
  font-family: var(--font-title); font-weight: 500;
  font-size: clamp(3.1rem, 8vw, 7rem); line-height: .93; letter-spacing: -.015em; color: var(--titres);
}
.recipe__name em { font-style: italic; color: var(--c-text); }
.recipe__use { max-width: 30ch; font-size: clamp(1.02rem, .95rem + .35vw, 1.25rem); line-height: 1.5; color: var(--texte-doux); }
.recipe__duo { display: none; }

.hero__outro { display: grid; justify-items: start; align-content: center; gap: 1.1rem; visibility: hidden; opacity: 0; }
.hero__outro.is-active { visibility: visible; opacity: 1; }
.hero__outro-title { max-width: 14ch; font-family: var(--font-title); font-size: clamp(2.6rem, 5.6vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.015em; color: var(--titres); text-wrap: balance; }
.hero__outro-title em { font-style: italic; color: var(--prune); }

/* ---- Indicateur des 4 chapitres : points nommés et cliquables ---- */
.hero__index {
  grid-row: 2; position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .2rem;
  padding-block: 0 .9rem;
}
.hdot {
  display: grid; justify-items: center; align-content: center; gap: .35rem;
  min-height: 52px; padding: .3rem .2rem;
  color: var(--texte-doux);
}
.hdot__pt {
  position: relative; width: 12px; height: 12px; border-radius: 50%;
  box-shadow: inset 0 0 0 2px var(--c-text);
  transition: transform .5s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.hdot__name { font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.2; transition: color .4s var(--ease); }
.hdot:hover .hdot__pt { transform: scale(1.25); }
.hdot.is-active .hdot__pt { transform: scale(1.35); background: var(--c); box-shadow: 0 0 0 2px var(--c-text), 0 0 0 7px color-mix(in srgb, var(--c) 28%, transparent); }
.hdot.is-active .hdot__name { color: var(--c-text); }
.hdot:focus-visible { outline-offset: 0; }

/* Indicateur de défilement : une ligne qui se remplit en boucle (le texte s’ajoute dès 640 px) */
.hero__scroll {
  position: absolute; right: var(--gutter); bottom: 4.4rem; z-index: 2;
  display: none; align-items: center; justify-content: center; gap: .9rem; min-width: 44px;
  color: var(--texte-doux); font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
}
.hero__scroll-text { display: none; }
.hero__scroll-line { position: relative; width: 1px; height: 46px; overflow: hidden; background: var(--trait-fort); }
.hero__scroll-line::after {
  content: ''; position: absolute; inset: 0; background: var(--corail);
  transform: scaleY(0); transform-origin: 50% 0;
  animation: scroll-fill 2.6s var(--ease) infinite;
}
@keyframes scroll-fill {
  0% { transform: scaleY(0); transform-origin: 50% 0; }
  50% { transform: scaleY(1); transform-origin: 50% 0; }
  51% { transform: scaleY(1); transform-origin: 50% 100%; }
  100% { transform: scaleY(0); transform-origin: 50% 100%; }
}

/* ---- Hero statique (mouvement réduit, bibliothèques ou script indisponibles) : fiole posée + 4 cartes ---- */
:is(.no-js, .reduce-motion) .hero, .hero.is-static { --cord-top: 0px; }
:is(.no-js, .reduce-motion) .hero__inner, .hero.is-static .hero__inner { height: auto; min-height: 0; padding-top: calc(var(--header-h) + 1rem); padding-bottom: clamp(3rem, 7vw, 5rem); grid-template-rows: auto; gap: clamp(1.8rem, 4vw, 3rem); }
:is(.no-js, .reduce-motion) .hero__stage, .hero.is-static .hero__stage { position: relative; height: calc(var(--vial-h) + var(--cord-len) + 30px); margin-inline: calc(var(--gutter) * -1); }
:is(.no-js, .reduce-motion) .vial__fx, .hero.is-static .vial__fx, :is(.no-js, .reduce-motion) .hero__gems, .hero.is-static .hero__gems, :is(.no-js, .reduce-motion) .hero__ingr, .hero.is-static .hero__ingr, :is(.no-js, .reduce-motion) .vial__swirls, .hero.is-static .vial__swirls,
:is(.no-js, .reduce-motion) .hero__index, .hero.is-static .hero__index, :is(.no-js, .reduce-motion) .hero__outro, .hero.is-static .hero__outro, :is(.no-js, .reduce-motion) .hero__scroll, .hero.is-static .hero__scroll { display: none; }
:is(.no-js, .reduce-motion) .hero__panel, .hero.is-static .hero__panel { grid-row: auto; display: grid; gap: clamp(2rem, 5vw, 3.2rem); align-content: start; }
:is(.no-js, .reduce-motion) .hero__panel > *, .hero.is-static .hero__panel > * { grid-area: auto; }
:is(.no-js, .reduce-motion) .recipes, .hero.is-static .recipes { grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
:is(.no-js, .reduce-motion) .recipe, .hero.is-static .recipe {
  grid-area: auto; visibility: visible; opacity: 1; align-content: start;
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent), var(--shadow-sm);
}
:is(.no-js, .reduce-motion) .recipe__name, .hero.is-static .recipe__name { font-size: clamp(2.3rem, 3.4vw, 3rem); }
:is(.no-js, .reduce-motion) .recipe__duo, .hero.is-static .recipe__duo { display: flex; align-items: center; gap: .7rem; order: -1; }
:is(.no-js, .reduce-motion) .recipe__crystal, .hero.is-static .recipe__crystal { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--c), var(--shadow-sm); filter: var(--img-filter); }
:is(.no-js, .reduce-motion) .recipe__ingr, .hero.is-static .recipe__ingr { width: auto; height: 84px; max-width: 130px; object-fit: contain; filter: var(--img-filter); }
:is(.no-js, .reduce-motion) .recipe__chap, .hero.is-static .recipe__chap { display: none; }

/* ---- Hero de la boutique : éventail de couvertures ---- */
.hero--shop .hero__inner { height: 100vh; height: 100svh; min-height: 560px; padding-top: calc(var(--header-h) + 1rem); grid-template-rows: auto minmax(0, 1fr); align-content: center; }
.hero--shop .hero__copy { grid-row: 2; align-content: center; padding-bottom: clamp(1.5rem, 4vh, 3rem); }
.fan { grid-row: 1; position: relative; display: grid; place-items: center; min-height: 0; perspective: 1500px; padding-block: 1rem; }
.fan__tilt { position: relative; display: grid; place-items: center; width: min(100%, 560px); transform-style: preserve-3d; }
.fan__item {
  grid-area: 1 / 1;
  width: clamp(110px, 30vw, 210px); margin: 0;
  border-radius: 12px; overflow: hidden;
  background: var(--fond-2);
  box-shadow: 0 2px 6px rgb(62 26 51 / .08), 0 34px 60px -24px rgb(62 26 51 / .5);
  transform-style: preserve-3d; backface-visibility: hidden;
  will-change: transform;
}
:root[data-theme='dark'] .fan__item { box-shadow: 0 2px 6px rgb(0 0 0 / .3), 0 34px 60px -24px rgb(196 138 179 / .35); }
.fan__item img { width: 100%; height: auto; aspect-ratio: 750 / 1060; object-fit: cover; filter: var(--img-filter); }
.no-js .fan__item--l { transform: translateX(-62%) rotate(-8deg); }
.no-js .fan__item--r { transform: translateX(62%) rotate(8deg); }


/* ==========================================================================
   9. LE CONCEPT EN 4 TEMPS
   ========================================================================== */
.section--concept { padding-top: calc(var(--section-y) + 1rem); overflow: hidden; }

.steps { position: relative; display: grid; gap: clamp(1rem, 2vw, 1.6rem); }
.step { display: grid; }
.step__card {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-content: start; gap: 1rem;
  padding: clamp(1.6rem, 2.6vw, 2.2rem);
  background: var(--fond-2);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 70%, transparent), var(--shadow-sm);
  transition: transform .8s var(--ease), box-shadow .8s var(--ease);
}
.step__card:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--surface) 90%, transparent), var(--shadow-md); }
.step__halo {
  position: absolute; z-index: -1; right: -22%; top: -26%;
  width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--surface) 95%, transparent), transparent);
  opacity: 0; transform: scale(.7);
  transition: opacity .8s var(--ease), transform 1s var(--ease);
}
.step__card:hover .step__halo { opacity: 1; transform: scale(1); }
.step__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; }

/* Numéros dessinés au trait puis remplis */
.step__num { width: clamp(88px, 8vw, 116px); overflow: visible; fill: none; stroke: var(--prune); stroke-width: .9; stroke-linejoin: round; }
.step__num path { stroke-dasharray: 1; stroke-dashoffset: 1; fill: var(--prune); fill-opacity: 0; }
.step.is-in .step__num path {
  stroke-dashoffset: 0; fill-opacity: .1;
  transition: stroke-dashoffset 2.2s var(--ease) calc(.15s + var(--k, 0) * .12s), fill-opacity 1.2s ease 1.5s;
}
.step__num path:nth-child(2) { --k: 1; }
.step__num path:nth-child(3) { --k: 2; }
.no-js .step__num path { stroke-dashoffset: 0; fill-opacity: .1; }

.step__icon { width: 52px; height: 52px; color: var(--prune); overflow: visible; }
.step__icon .i-page, .step__icon .i-spark, .step__icon .i-gemf { transform-box: fill-box; transition: transform .8s var(--ease); }
.i-page--l { transform-origin: 100% 50%; }
.i-page--r { transform-origin: 0 50%; }
.i-spark, .i-gemf { transform-origin: center; }
.step__card:hover .i-page--l { transform: rotate(-5deg); }
.step__card:hover .i-page--r { transform: rotate(5deg); }
.step__card:hover .i-spark { transform: rotate(90deg) scale(1.25); }
.step__card:hover .i-gemf { transform: rotate(8deg) scale(1.1); }
.i-bub { transform-box: fill-box; transform-origin: center; }
.step__card:hover .i-bub { animation: bubble 1.7s ease-in-out infinite; }
.i-bub--2 { animation-delay: .35s !important; }
.i-bub--3 { animation-delay: .7s !important; }
@keyframes bubble {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-16px); opacity: 0; }
}

.step__title { font-family: var(--font-title); font-size: clamp(1.8rem, 1.4rem + 1vw, 2.3rem); font-weight: 600; line-height: 1.1; color: var(--titres); }
.step__text { font-size: 1rem; color: var(--texte-doux); }

.proverb { max-width: 880px; margin: clamp(2.6rem, 6vw, 4.4rem) auto 0; text-align: center; }
.proverb p { margin-inline: auto; max-width: 28ch; font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: clamp(1.7rem, 1.1rem + 2.4vw, 3rem); line-height: 1.2; color: var(--titres); text-wrap: balance; }
.proverb footer { margin-top: 1rem; font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or-rose-texte); }


/* ==========================================================================
   10. POURQUOI ASSOCIER LES DEUX ?
   ========================================================================== */
.section--why { overflow: hidden; }
.why__grid { display: grid; gap: clamp(2.4rem, 6vw, 5rem); align-items: center; }
.why__copy { display: grid; gap: 1.6rem; justify-items: start; }
.why__copy .section-head { margin-bottom: 0; }
.why__lead { max-width: 34ch; font-family: var(--font-title); font-style: italic; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.3; color: var(--titres); }
.why__note {
  display: grid; gap: .3rem; max-width: 46ch;
  padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-sm);
  font-size: .98rem; color: var(--texte-doux);
}
.why__note strong { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or-rose-texte); }
.why__fact { display: grid; gap: .6rem; max-width: 46ch; }
.why__num { display: flex; align-items: baseline; gap: .7rem; font-family: var(--font-title); font-weight: 500; line-height: .9; color: var(--prune); font-variant-numeric: lining-nums tabular-nums; }
.why__num b { font-size: clamp(5rem, 15vw, 9.5rem); font-weight: 500; letter-spacing: -.03em; }
.why__num span { font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); font-style: italic; color: var(--titres); }
.why__fact p { font-size: 1.02rem; color: var(--texte-doux); }
.why__fact p strong { color: var(--texte); font-weight: 600; }
.why__visual { width: min(100%, 440px); justify-self: center; aspect-ratio: 4 / 5; }
.why__visual img { object-position: 50% 60%; }
.js [data-arch] { clip-path: inset(100% 0 0 0); }
.reduce-motion [data-arch], .no-motion [data-arch] { clip-path: none; opacity: 0; transition: opacity 1s var(--ease); }
.reduce-motion [data-arch].is-in, .no-motion [data-arch].is-in { opacity: 1; }


/* ==========================================================================
   11. LES SYNERGIES (cartes qui se retournent)
   ========================================================================== */
.section--synergies { overflow: hidden; }
.syn__leaf { width: 130px; aspect-ratio: 1; right: -3%; bottom: 1.5%; opacity: .55; }

.syn { position: relative; }
.syn__track {
  display: flex; gap: 1rem;
  margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter) 1.6rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.syn__track::-webkit-scrollbar { display: none; }
.syn__item { flex: 0 0 min(82vw, 340px); scroll-snap-align: center; display: grid; }

.syn__dots { display: flex; justify-content: center; gap: .2rem; margin-top: .4rem; }
.syn__dot { position: relative; width: 44px; height: 44px; display: grid; place-items: center; }
.syn__dot::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--trait-fort);
  transition: transform .5s var(--ease), background-color .3s var(--ease);
}
.syn__dot.is-active::before { background: var(--prune); transform: scale(1.5); }

/* Les deux faces occupent la même case de grille : la carte prend la hauteur de la plus haute */
.flip { position: relative; display: grid; perspective: 1500px; }
.flip__inner { display: grid; transform-style: preserve-3d; transition: transform 1.1s var(--ease); }
.flip__face {
  grid-area: 1 / 1; overflow: hidden;
  display: flex; flex-direction: column;
  padding: clamp(1.3rem, 2.2vw, 1.75rem);
  border-radius: var(--radius);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.flip__face--front {
  background:
    radial-gradient(120% 70% at 90% -8%, color-mix(in srgb, var(--c) 30%, transparent) 0%, transparent 62%),
    var(--surface);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 50%, transparent), var(--shadow-sm);
}
.flip__face--back {
  transform: rotateY(180deg);
  background:
    radial-gradient(120% 70% at 10% -8%, color-mix(in srgb, var(--c) 34%, transparent) 0%, transparent 62%),
    color-mix(in srgb, var(--c) 10%, var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 60%, transparent), var(--shadow-md);
}
@media (hover: hover) { .flip:hover .flip__inner { transform: rotateY(180deg); } }
.flip.is-flipped .flip__inner { transform: rotateY(180deg); }

.flip__toggle { position: absolute; inset: 0; z-index: 3; border-radius: var(--radius); opacity: 0; }
.flip__toggle:focus-visible { opacity: 1; outline: 2px solid var(--prune); outline-offset: 5px; }

/* Même gabarit sur les deux faces : bandeau (numéro + titre de bloc), nom de la synergie, éléments (nom, étiquette, texte) */
.flip__top {
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding-bottom: .7rem; margin-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
}
.flip__idx { font-size: .75rem; font-weight: 600; letter-spacing: .2em; color: var(--or-rose-texte); }
.flip__block { font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--c-text); }
.flip__title { font-family: var(--font-title); font-size: clamp(2.1rem, 1.6rem + 1.2vw, 2.7rem); font-weight: 600; line-height: 1; color: var(--c-text); }
.flip__use { margin-top: .55rem; color: var(--texte); font-size: .98rem; line-height: 1.5; }
.flip__items { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.flip__item { display: grid; gap: .3rem; padding-left: .9rem; border-left: 2px solid var(--c); }
.flip__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .6rem; }
.flip__name { font-family: var(--font-title); font-size: 1.4rem; font-weight: 600; line-height: 1.15; color: var(--texte); }
.flip__tag {
  display: inline-block; padding: .12rem .6rem; border-radius: 999px;
  background: color-mix(in srgb, var(--c) 14%, transparent);
  font-size: .8rem; font-weight: 600; line-height: 1.4; letter-spacing: .03em; color: var(--c-text);
}
.flip__text { font-size: .95rem; line-height: 1.55; color: var(--texte-doux); }
.flip__photo {
  align-self: flex-start; width: 96px; height: 96px; margin-top: 1.2rem; overflow: hidden; border-radius: 50%;
  box-shadow: 0 0 0 2px var(--c), 0 0 0 7px color-mix(in srgb, var(--c) 24%, transparent), var(--shadow-md);
}
.flip__photo img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.flip__photo + .flip__items { margin-top: 1.3rem; }
/* Médaillon d’ingrédient (face « Huiles essentielles ») : même diamètre, même bordure, même ombre et même marge que celui du cristal ;
   l’ingrédient détouré repose sur un fond rond à peine teinté et déborde légèrement du cercle (échelle 1,08) */
.flip__photo--ingr { overflow: visible; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 15%, transparent); }
.flip__photo--ingr img { object-fit: contain; filter: drop-shadow(0 3px 5px rgb(62 26 51 / .25)); }
.flip__photo img { transform: scale(1); transition: transform .9s var(--ease); }
.flip__photo--ingr img { transform: scale(var(--s, 1.08)); }
[data-syn='sommeil'] .flip__photo--ingr { --s: 1.22; }
[data-syn='serenite'] .flip__photo--ingr { --s: 1.1; }
[data-syn='confiance'] .flip__photo--ingr { --s: 1.32; }
[data-syn='clarte'] .flip__photo--ingr { --s: 1.18; }
@media (hover: hover) {
  .flip:hover .flip__photo img { transform: rotate(-6deg) scale(1.05); }              /* cristal : tourne doucement, zoome de 5 % */
  .flip:hover .flip__photo--ingr img { transform: rotate(6deg) scale(calc(var(--s, 1.08) * 1.05)); }        /* ingrédient : sens inverse */
}
.flip__hint {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1.1rem;
  font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--or-rose-texte);
}
.flip__hint::after { content: '↻'; font-size: 1rem; line-height: 1; transition: transform .8s var(--ease); }
.flip:hover .flip__hint::after { transform: rotate(180deg); }
.syn__note { max-width: 62ch; margin: clamp(1.6rem, 3vw, 2.4rem) auto 0; text-align: center; font-size: .9rem; color: var(--texte-doux); }


/* ==========================================================================
   12. CALENDRIER DES ATELIERS
   ========================================================================== */
.cal__noscript { padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--fond-2); }

.cal__toolbar { display: grid; gap: 1.1rem; justify-items: center; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.cal__filters { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; }

/* Bascule Liste / Calendrier (mobile) */
.seg {
  position: relative; display: inline-grid; grid-template-columns: 1fr 1fr;
  padding: 4px; border-radius: 999px;
  background: var(--fond-2); box-shadow: inset 0 0 0 1px var(--trait);
}
.seg__thumb {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px);
  border-radius: 999px; background: var(--prune);
  transition: transform .6s var(--ease);
}
.seg[data-active='cal'] .seg__thumb { transform: translateX(100%); }
.seg__btn {
  position: relative; z-index: 1; min-width: 130px; min-height: 44px; padding: .5rem 1.2rem;
  border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--texte);
  transition: color .4s var(--ease);
}
.seg__btn.is-active { color: var(--on-prune); }

.cal__layout { display: grid; gap: clamp(1.2rem, 3vw, 2rem); align-items: start; }

/* Vue mobile : une seule des deux colonnes à la fois */
@media (max-width: 767.98px) {
  .cal__layout[data-view='list'] .cal__board { display: none; }
  .cal__layout[data-view='cal'] .cal__side { display: none; }
}

/* ---- Carte du mois ---- */
.cal__board {
  position: relative;
  padding: clamp(.8rem, 2.4vw, 1.8rem);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-md);
}
@media (max-width: 479.98px) { .cal__board { padding-inline: .3rem; } .cal__head { padding-inline: .5rem; } }
.cal__head { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.cal__nav {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  color: var(--prune); box-shadow: inset 0 0 0 1px var(--trait);
  transition: color .4s var(--ease), box-shadow .4s var(--ease), background-color .4s var(--ease), scale .3s var(--ease);
}
.cal__nav:hover:not(:disabled) { background: var(--prune); color: var(--on-prune); box-shadow: none; }
.cal__nav:active:not(:disabled) { scale: .92; }
.cal__nav:disabled { opacity: .3; cursor: default; }
.cal__title { text-align: center; font-family: var(--font-title); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.7rem); font-weight: 500; line-height: 1.15; color: var(--titres); }
.cal__title-wrap { position: relative; display: grid; overflow: hidden; padding-block: .06em; }
.cal__title-item { grid-area: 1 / 1; display: block; }
.cal__title-item em { font-style: italic; color: var(--prune); }
.cal__title-item small { font-family: var(--font-text); font-size: .42em; font-weight: 600; letter-spacing: .2em; color: var(--or-rose-texte); margin-left: .2em; vertical-align: middle; }

.cal__stage { position: relative; display: grid; overflow: hidden; }
.cal__grid { grid-area: 1 / 1; display: grid; grid-template-rows: auto repeat(6, auto); }
.cal__row { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal__wd {
  padding: .5rem 0 .6rem; text-align: center;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux);
}
.cal__wd abbr { text-decoration: none; }

.day {
  position: relative; display: grid; place-items: center;
  aspect-ratio: 1; min-height: 44px;
  font-size: .98rem; font-weight: 500; color: var(--texte);
  border-radius: 50%;
}
.day--empty { pointer-events: none; }
.day__num { position: relative; z-index: 2; transition: color .3s var(--ease); }
.day.has-atelier .day__num { color: var(--on-c, var(--encre)); font-weight: 600; }
.day.is-today .day__num { font-weight: 700; }
.day.is-today::after {
  content: ''; position: absolute; left: 50%; bottom: 14%; width: 4px; height: 4px; margin-left: -2px;
  border-radius: 50%; background: var(--corail); z-index: 2;
}
.day.has-atelier { cursor: pointer; }
.day__dot {
  position: absolute; inset: 11%; z-index: 1; border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 1.5px var(--c-text);
  transition: transform .55s var(--ease), opacity .4s var(--ease);
}
.day.has-multi .day__dot { background: linear-gradient(135deg, var(--c) 0 50%, var(--c2) 50% 100%); }
.day__halo {
  position: absolute; inset: 11%; z-index: 0; border-radius: 50%;
  background: var(--c); opacity: 0; pointer-events: none;
}
.day.has-atelier:hover .day__dot, .day.has-atelier:focus-visible .day__dot { transform: scale(1.18); }
.day.has-atelier:hover .day__halo, .day.has-atelier:focus-visible .day__halo { animation: halo 1.5s ease-out infinite; }
@keyframes halo {
  0% { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.9); opacity: 0; }
}
.day.is-selected .day__dot { transform: scale(1.12); box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--prune); }
.day.is-dim .day__dot { transform: scale(0); opacity: 0; }
.day.is-dim .day__num { color: var(--texte); }
.day.is-dim { pointer-events: none; }
.day:focus-visible { outline: 2px solid var(--prune); outline-offset: 1px; }

.cal__hint { min-height: 1.5em; margin-top: .9rem; text-align: center; font-size: .88rem; color: var(--texte-doux); }
.cal__hint a, .cal__hint button { color: var(--prune); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Infobulle élégante au survol d’un jour */
.cal__tip {
  position: absolute; z-index: 20; left: 0; top: 0; width: max-content; max-width: 250px;
  padding: .8rem 1rem; border-radius: 14px;
  background: var(--nuit); color: var(--on-nuit);
  font-size: .82rem; line-height: 1.45; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; visibility: hidden;
  transition: opacity .3s var(--ease), visibility 0s .3s;
}
:root[data-theme='dark'] .cal__tip { box-shadow: 0 0 0 1px var(--trait-fort), var(--shadow-lg); }
.cal__tip.is-visible { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.cal__tip-row + .cal__tip-row { margin-top: .6rem; padding-top: .6rem; border-top: 1px solid color-mix(in srgb, var(--on-nuit) 20%, transparent); }
.cal__tip strong { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; }
.cal__tip strong::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--c); flex: none; }
.cal__tip span { display: block; opacity: .88; }

/* ---- Colonne de droite : liste ou détail ---- */
.cal__side { position: relative; }
.cal__list-title { margin-bottom: 1rem; font-family: var(--font-title); font-size: 1.7rem; font-weight: 500; line-height: 1.2; color: var(--titres); }
.cal__cards { display: grid; gap: .8rem; }
.cal__empty { padding: 1.2rem 1.4rem; border-radius: var(--radius); background: var(--fond-2); color: var(--texte-doux); font-size: .95rem; }

.acard { display: block; }
.acard__btn {
  position: relative; width: 100%;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.1rem;
  padding: 1rem 1.2rem 1rem 1rem; text-align: left;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-sm);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease), background-color .4s var(--ease);
}
.acard__btn::before {
  content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 4px; border-radius: 4px;
  background: var(--c); opacity: .9;
}
.acard__btn:hover, .acard__btn:focus-visible { transform: translateY(-4px); box-shadow: inset 0 0 0 1.5px var(--c), var(--shadow-md); }
.acard__btn:active { scale: .985; }
.acard.is-selected .acard__btn { box-shadow: inset 0 0 0 2px var(--c), var(--shadow-md); background: color-mix(in srgb, var(--c) 10%, var(--surface)); }
.acard__date { display: grid; justify-items: center; min-width: 64px; line-height: 1; }
.acard__day { font-family: var(--font-title); font-size: 3.1rem; font-weight: 500; color: var(--titres); letter-spacing: -.02em; }
.acard__month { margin-top: .25rem; font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--or-rose-texte); font-variant: small-caps; }
.acard__info { display: grid; gap: .2rem; min-width: 0; }
.acard__name { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: 1.02rem; line-height: 1.3; color: var(--texte); }
.acard__name::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--c-text); flex: none; }
.acard__meta { font-size: .87rem; line-height: 1.5; color: var(--texte-doux); }
.acard__info .badge { justify-self: start; margin-top: .45rem; }
.acard__side { display: grid; justify-items: end; align-self: start; }
.acard__price { font-family: var(--font-title); font-size: 1.5rem; font-weight: 600; line-height: 1; color: var(--prune); }

/* ---- Panneau de détail (côté calendrier sur grand écran, feuille sur mobile) ---- */
.detail {
  position: relative;
  display: grid; align-content: start; gap: 1.1rem;
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-md);
}
.detail__close {
  position: absolute; top: .9rem; right: .9rem;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--prune); box-shadow: inset 0 0 0 1px var(--trait);
  transition: background-color .4s var(--ease), color .4s var(--ease), rotate .6s var(--ease);
}
.detail__close:hover { background: var(--prune); color: var(--on-prune); rotate: 90deg; }
.detail__grip { display: none; }
.detail__grip::before { content: ''; position: absolute; left: 50%; top: 50%; width: 44px; height: 5px; margin: -2.5px 0 0 -22px; border-radius: 5px; background: var(--trait-fort); }
.detail__body, .detail__item { display: grid; gap: 1.15rem; align-content: start; }
.detail__badges { display: flex; flex-wrap: wrap; gap: .4rem; min-height: 24px; }
.detail__badges:empty { display: none; }
.detail__date { padding-right: 3rem; font-family: var(--font-title); font-size: clamp(2rem, 1.5rem + 1.6vw, 2.7rem); font-weight: 500; line-height: 1.05; color: var(--titres); }
.detail__facts { display: grid; gap: .85rem; }
.detail__fact { display: grid; grid-template-columns: 26px 1fr; gap: .8rem; align-items: start; }
.detail__fact .icon { width: 22px; height: 22px; margin-top: .15rem; color: var(--prune); }
.detail__fact b { display: block; font-weight: 600; line-height: 1.35; color: var(--texte); }
.detail__fact span { display: block; font-size: .9rem; line-height: 1.5; color: var(--texte-doux); }
.detail__dot { display: inline-block; width: 10px; height: 10px; margin-right: .5rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1.5px var(--c-text); }

.gauge { display: grid; gap: .55rem; }
.gauge__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .9rem; font-weight: 500; }
.gauge__label strong { color: var(--prune); }
.gauge__track {
  position: relative; height: 12px; overflow: hidden; border-radius: 999px;
  background: var(--fond-2);
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 calc(var(--seg, 12.5%) - 3px), transparent calc(var(--seg, 12.5%) - 3px) var(--seg, 12.5%));
  mask: repeating-linear-gradient(90deg, #000 0 calc(var(--seg, 12.5%) - 3px), transparent calc(var(--seg, 12.5%) - 3px) var(--seg, 12.5%));
}
.gauge__fill { position: absolute; inset: 0; background: var(--c); transform: scaleX(0); transform-origin: left center; }
.gauge.is-low .gauge__fill { background: var(--corail); }

.detail__cta { justify-self: start; margin-top: .3rem; }
.detail__note { font-size: .88rem; color: var(--texte-doux); }
.detail__note a { color: var(--prune); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.detail__sep { height: 1px; background: var(--trait); }

/* Superposition liste/détail dans la même colonne (grand écran) */
@media (min-width: 1024px) {
  .cal__layout { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .cal__side { display: grid; min-height: 100%; }
  .cal__list, .detail { grid-area: 1 / 1; }
  .detail { transition: opacity .6s var(--ease), transform .8s var(--ease), visibility 0s .6s; opacity: 0; visibility: hidden; transform: translateY(18px); align-self: start; }
  .detail.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease), transform .8s var(--ease); }
  .cal__side.has-detail .cal__list { opacity: 0; visibility: hidden; transform: translateY(-12px); pointer-events: none; }
  .cal__list { transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s; }
  .cal__side.has-detail .cal__list { transition: opacity .4s var(--ease), transform .6s var(--ease), visibility 0s .4s; }
}

/* Feuille basse (mobile et tablette) */
@media (max-width: 1023.98px) {
  .detail {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 140;
    max-height: 88vh; max-height: 88dvh; overflow-y: auto; overscroll-behavior: contain;
    padding-bottom: max(1.6rem, env(safe-area-inset-bottom));
    border-radius: var(--radius) var(--radius) 0 0;
    box-shadow: var(--shadow-up);
    transform: translateY(105%); visibility: hidden;
    transition: transform .7s var(--ease), visibility 0s .7s;
    touch-action: pan-y;
  }
  .detail.is-open { transform: none; visibility: visible; transition: transform .7s var(--ease); }
  .detail__grip { position: relative; display: block; justify-self: center; width: 96px; height: 26px; margin: -.9rem 0 -.2rem; touch-action: none; cursor: grab; }
}
@media (min-width: 640px) and (max-width: 1023.98px) {
  .detail { width: min(560px, 100%); margin-inline: auto; }
}

.sheet-backdrop {
  position: fixed; inset: 0; z-index: 130;
  background: var(--scrim);
  opacity: 0; visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s .5s;
}
.sheet-backdrop.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
@media (min-width: 1024px) { .sheet-backdrop { display: none; } }

/* Tablette et plus : calendrier et liste visibles ensemble, sans bascule */
@media (min-width: 768px) {
  .seg { display: none; }
}
@media (min-width: 768px) and (max-width: 1023.98px) {
  .cal__layout { max-width: 640px; margin-inline: auto; }
}



/* ==========================================================================
   13. INFOS PRATIQUES : 5 cartes
   ========================================================================== */
.infos__track {
  display: flex; gap: 1rem;
  margin-inline: calc(var(--gutter) * -1); padding: 1.4rem var(--gutter) 1.6rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.infos__track::-webkit-scrollbar { display: none; }
.icard { flex: 0 0 min(78vw, 300px); scroll-snap-align: center; display: grid; }
.icard__lift { display: grid; transition: translate .7s var(--ease), scale .3s var(--ease); }
.icard:hover .icard__lift { translate: 0 -8px; }
.icard:active .icard__lift { scale: .98; }
.icard__inner {
  position: relative; isolation: isolate;
  display: grid; align-content: start; justify-items: center; gap: .55rem;
  padding: clamp(1.8rem, 2.4vw, 2.2rem) clamp(1.2rem, 1.8vw, 1.5rem) clamp(1.6rem, 2.2vw, 2rem);
  text-align: center;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--or-rose) 55%, transparent), var(--shadow-sm);
  transition: box-shadow .6s var(--ease);
}
.icard:hover .icard__inner { box-shadow: inset 0 0 0 1.5px var(--corail), var(--shadow-md); }
.icard__icon { width: 64px; height: 64px; margin-bottom: .3rem; color: var(--prune); overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icard__icon .dr { stroke-dasharray: 1; stroke-dashoffset: 1; }
.icard.is-in .dr { stroke-dashoffset: 0; transition: stroke-dashoffset 1.7s var(--ease) calc(.25s + var(--k, 0) * .14s); }
.no-js .icard__icon .dr, .no-motion .icard__icon .dr, .reduce-motion .icard__icon .dr { stroke-dashoffset: 0; }
.icard__icon .i-hand, .icard__icon .i-lid, .icard__icon .i-bow, .icard__icon .i-liq, .icard__icon .i-tag { transform-box: fill-box; transition: transform .9s var(--ease); }
.icard__icon .i-hand { transform-origin: 0 0; }
.icard.is-in .icard__icon .i-hand { animation: tick 1.8s var(--ease) .3s both; }
@keyframes tick { from { transform: rotate(-110deg); } to { transform: rotate(0); } }
.icard:hover .i-lid { transform: translateY(-5px); }
.icard:hover .i-bow { transform: scale(1.14); }
.icard:hover .i-hand { transform: rotate(40deg); }
.icard:hover .i-liq { transform: translateY(-3px); }
.icard:hover .i-tag { transform: rotate(-8deg); }
.icard:hover .icard__icon .dr { animation: redraw 1.4s var(--ease); }
@keyframes redraw { from { stroke-dashoffset: .45; } to { stroke-dashoffset: 0; } }
.icard__num { font-family: var(--font-title); font-size: clamp(3.2rem, 2.4rem + 2.6vw, 4.6rem); font-weight: 500; line-height: 1; letter-spacing: -.02em; color: var(--titres); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.icard__num small { font-size: .5em; font-weight: 500; letter-spacing: 0; color: var(--prune); }
.icard__label { font-size: 1.02rem; font-weight: 600; line-height: 1.35; color: var(--texte); }
.icard__text { max-width: 24ch; font-size: .92rem; line-height: 1.55; color: var(--texte-doux); }
.icard__text a { color: var(--prune); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.infos__dots { display: flex; justify-content: center; gap: .2rem; }


/* ==========================================================================
   14. À PROPOS (section sombre en thème clair, surface + trait prune en thème sombre)
   ========================================================================== */
.about, .who { overflow: hidden; }
.about__star { width: 18px; height: 18px; }
.about__star--1 { left: 6%; top: 14%; }
.about__star--2 { right: 9%; bottom: 16%; width: 12px; height: 12px; }
.about__grid { display: grid; gap: clamp(2.6rem, 6vw, 5.5rem); align-items: center; }

.about__portrait { justify-self: center; width: min(100%, 440px); clip-path: inset(0 0 0 0); }
.portrait { box-shadow: 0 0 0 1px color-mix(in srgb, var(--or-rose) 70%, transparent), 0 40px 70px -30px rgb(20 6 16 / .6); }
:root[data-theme='dark'] .portrait { box-shadow: 0 0 0 1px var(--prune), 0 0 60px -14px color-mix(in srgb, var(--prune) 55%, transparent); }
.portrait .arch__zoom img { position: absolute; left: 0; top: -7%; width: 100%; height: 114%; max-width: none; object-position: 50% 50%; will-change: transform; }

.about__text { display: grid; gap: 1.4rem; justify-items: start; }
.about__intro { max-width: 54ch; font-size: 1.1rem; color: var(--on-nuit-doux); }
.about__quote { padding-left: clamp(1rem, 2.4vw, 1.8rem); border-left: 1px solid color-mix(in srgb, var(--or-rose) 70%, transparent); }
.about__quote p {
  max-width: 36ch;
  font-family: var(--font-title); font-style: italic; font-weight: 500;
  font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.05rem); line-height: 1.42;
  color: var(--on-nuit);
}
.about__sign { font-family: var(--font-title); font-style: italic; font-weight: 500; font-size: clamp(2.6rem, 2rem + 2.4vw, 4rem); line-height: 1; color: var(--em-nuit); }

/* Réserve pour la révélation du portrait */
.js [data-portrait] { clip-path: inset(100% 0 0 0); }
.reduce-motion [data-portrait], .no-motion [data-portrait] { clip-path: none; opacity: 0; transition: opacity 1s var(--ease); }
.reduce-motion [data-portrait].is-in, .no-motion [data-portrait].is-in { opacity: 1; }


/* ==========================================================================
   15. PROLONGE L’EXPÉRIENCE
   ========================================================================== */
.extend { display: grid; gap: clamp(1.4rem, 3vw, 2.4rem); }
.extend__card {
  display: grid; align-items: center; gap: 1.8rem;
  padding: clamp(1.2rem, 2.6vw, 1.9rem);
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-sm);
}
.extend__media { position: relative; justify-self: center; width: min(100%, 230px); perspective: 900px; transform-style: preserve-3d; }
.extend__img { overflow: hidden; aspect-ratio: 750 / 1060; border-radius: 12px; box-shadow: var(--shadow-md); background: var(--fond-2); }
.extend__img img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.extend__media .badge { position: absolute; top: 10px; left: 10px; z-index: 2; }
.extend__body { display: grid; gap: .9rem; justify-items: start; }
.extend__title { font-family: var(--font-title); font-size: clamp(1.7rem, 1.4rem + .9vw, 2.15rem); font-weight: 600; line-height: 1.1; color: var(--titres); }
.extend__text { color: var(--texte-doux); }
.extend__more { margin: clamp(2rem, 4vw, 3rem) auto 0; text-align: center; max-width: none; }

/* Révélation des images par clip-path (de bas en haut) */
.js [data-img-reveal] { clip-path: inset(100% 0 0 0); }
.js [data-img-reveal] img { will-change: transform; }
.reduce-motion [data-img-reveal], .no-motion [data-img-reveal] { clip-path: none; opacity: 0; transition: opacity 1s var(--ease); }
.reduce-motion [data-img-reveal].is-in, .no-motion [data-img-reveal].is-in { opacity: 1; }


/* ==========================================================================
   16. FAQ
   ========================================================================== */
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait);
  transition: box-shadow .6s var(--ease);
}
.faq__item.is-open { box-shadow: inset 0 0 0 1px var(--trait-fort), var(--shadow-sm); }
.faq__q { margin: 0; font: inherit; }
.faq__btn {
  display: flex; align-items: center; justify-content: space-between; gap: 1.2rem;
  width: 100%; min-height: 68px; padding: 1.1rem 1.3rem 1.1rem 1.5rem;
  border-radius: var(--radius); text-align: left;
  font-family: var(--font-title); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 600; line-height: 1.25;
  color: var(--titres);
}
.faq__icon {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: transform .8s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.faq__icon::before, .faq__icon::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px;
  background: var(--prune); transition: background-color .4s var(--ease);
}
.faq__icon::after { transform: rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(135deg); background: var(--prune); box-shadow: none; }
.faq__item.is-open .faq__icon::before, .faq__item.is-open .faq__icon::after { background: var(--on-prune); }
.faq__btn:hover .faq__icon { box-shadow: inset 0 0 0 1px var(--prune); }

.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .75s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a-inner { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s .75s; }
.faq__item.is-open .faq__a-inner { visibility: visible; transition-delay: 0s; }
.faq__a-inner p { max-width: 62ch; padding: 0 1.5rem 1.5rem; color: var(--texte-doux); }
.faq__a-inner p + p { margin-top: -.6rem; }
/* Sans JavaScript : toutes les réponses restent lisibles */
.no-js .faq__a { grid-template-rows: 1fr; }
.no-js .faq__a-inner { visibility: visible; }
.no-js .faq__icon { display: none; }


/* ==========================================================================
   17. APPEL À L’ACTION FINAL
   ========================================================================== */
.section--cta { overflow: hidden; padding-block: calc(var(--section-y) + 1.5rem); }
.section--cta::before {
  content: ''; position: absolute; inset: 8% 4%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--or-rose) 22%, transparent), transparent);
}
.cta { position: relative; z-index: 1; display: grid; justify-items: center; gap: 1.5rem; text-align: center; }
.cta__title {
  max-width: 17ch;
  font-family: var(--font-title); font-weight: 500;
  font-size: clamp(2.8rem, 1.4rem + 5.2vw, 5.8rem); line-height: .98; letter-spacing: -.02em; color: var(--titres);
  text-wrap: balance;
}
.cta__text { max-width: 46ch; color: var(--texte-doux); }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.2rem 2.2rem; margin-top: .6rem; }
.cta__mail { font-size: 1.05rem; }


/* ==========================================================================
   18. PIED DE PAGE ET MODALE
   ========================================================================== */
.footer { position: relative; background: var(--fond-2); padding-top: clamp(3.5rem, 7vw, 6rem); }
.footer__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 1.5rem; }
.footer__brand { grid-column: 1 / -1; display: grid; justify-items: start; gap: 1.1rem; }
.footer__logo { display: block; line-height: 0; perspective: 800px; border-radius: 50%; }
.footer__logo img { width: 168px; height: 168px; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--or-rose) 45%, transparent); transform-style: preserve-3d; }
.footer__logo:hover img, .footer__logo:focus-visible img { animation: logo-spin 1.3s var(--ease); }
@keyframes logo-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.footer__tagline { max-width: 14ch; font-family: var(--font-title); font-style: italic; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem); line-height: 1.15; color: var(--titres); }
.footer__handles { display: grid; gap: .1rem; margin-top: -.3rem; font-size: .88rem; color: var(--texte-doux); }
.footer__handles b { font-weight: 600; color: var(--texte); }
.footer__h { margin-bottom: .6rem; font-family: var(--font-text); font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--or-rose-texte); }
.footer__list { display: grid; justify-items: start; }
.footer__list .link-anim { padding-block: .62rem; color: var(--texte); font-size: .98rem; }
.footer__list .link-anim::before, .footer__list .link-anim::after { bottom: .48rem; }
.footer__col .social { margin-top: .3rem; }
.footer__bottom {
  position: relative; z-index: 1;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1.8rem;
  margin-top: clamp(2.4rem, 5vw, 4rem); padding-block: 1.5rem 2.2rem;
  border-top: 1px solid var(--trait);
  font-size: .85rem; color: var(--texte-doux);
}
.footer__legal { min-height: 44px; padding-block: .4rem; color: var(--prune); font-weight: 500; }
.footer__disclaimer { flex-basis: 100%; max-width: none; }

/* ---- Modale accessible (mentions légales) ---- */
.modal {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center; padding: 1rem;
  visibility: hidden; transition: visibility 0s .6s;
}
.modal.is-open { visibility: visible; transition: none; }
.modal__backdrop { position: absolute; inset: 0; background: var(--scrim); opacity: 0; transition: opacity .6s var(--ease); }
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
  position: relative; width: min(680px, 100%); max-height: min(88vh, 880px); overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(1.7rem, 4vw, 3rem);
  background: var(--fond); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(32px) scale(.98);
  transition: opacity .6s var(--ease), transform .8s var(--ease);
}
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__close {
  position: sticky; top: 0; z-index: 2; float: right;
  display: grid; place-items: center; width: 44px; height: 44px; margin: -.6rem -.6rem 0 0; border-radius: 50%;
  background: var(--fond); color: var(--prune); box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: background-color .4s var(--ease), color .4s var(--ease), rotate .6s var(--ease);
}
.modal__close:hover { background: var(--prune); color: var(--on-prune); rotate: 90deg; }
.modal__title { margin: .3rem 0 1.4rem; font-family: var(--font-title); font-size: clamp(2.1rem, 1.6rem + 1.8vw, 3.1rem); font-weight: 500; line-height: 1.05; color: var(--titres); }
.modal__sec { padding-block: 1.15rem; border-top: 1px solid var(--trait); }
.modal__sec h3 { margin-bottom: .5rem; font-size: 1.1rem; font-weight: 600; color: var(--prune); }
.modal__sec p { font-size: .96rem; line-height: 1.65; color: var(--texte-doux); }
.modal__sec p + p { margin-top: .6rem; }
.modal__sec a { color: var(--prune); font-weight: 600; }


/* ==========================================================================
   19. PAGE E-BOOKS
   ========================================================================== */

/* ---- Bandeau d’engagement ---- */
.band { position: relative; padding-block: clamp(2.2rem, 5vw, 3.4rem); background: var(--fond-2); border-block: 1px solid var(--trait); }
.band__list { display: grid; gap: 1.6rem; }
.band__item { display: flex; align-items: center; gap: 1.2rem; }
.band__icon { flex: none; width: 54px; height: 54px; color: var(--prune); overflow: visible; }
.band__title { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--texte); }
.band__text { font-size: .9rem; line-height: 1.5; color: var(--texte-doux); }

.band__icon .i-arrow-dl, .band__icon .i-line, .band__icon .i-shackle { transform-box: fill-box; }
.band__item.is-in .i-arrow-dl { animation: dl 1.5s var(--ease) .3s 2; }
@keyframes dl {
  0% { transform: translateY(-6px); opacity: 0; }
  45% { opacity: 1; }
  100% { transform: translateY(4px); opacity: 1; }
}
.i-line { transform-origin: 0 50%; }
.band__item.is-in .i-line { animation: write 1s var(--ease) both; animation-delay: calc(.35s + var(--k, 0) * .18s); }
.i-line--2 { --k: 1; }
.i-line--3 { --k: 2; }
@keyframes write { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.band__item.is-in .i-shackle { animation: lock 1.3s var(--ease) .3s both; }
@keyframes lock { 0%, 55% { transform: translateY(-5px); } 100% { transform: translateY(0); } }
.band__item:hover .band__icon { animation: hop .7s var(--ease); }

/* ---- Boutique ---- */
.shop { padding-bottom: var(--section-y); }
.shop .section-head { margin-bottom: 1.4rem; }

.shop__bar { position: sticky; top: var(--sticky-top, 76px); z-index: 60; padding-block: .75rem; transition: top .75s var(--ease); }
.header-hidden .shop__bar { --sticky-top: 6px; }
.shop__bar::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--voile-fort);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--trait), 0 16px 26px -24px rgb(62 26 51 / .35);
  opacity: 0; transition: opacity .45s var(--ease);
}
.shop__bar.is-stuck::before { opacity: 1; }
.shop__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop__filters {
  display: flex; gap: .5rem; padding: 2px var(--gutter); margin-inline: calc(var(--gutter) * -1);
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.shop__filters::-webkit-scrollbar { display: none; }
.shop__count { display: none; flex: none; font-size: .85rem; color: var(--texte-doux); }

.grid { display: grid; grid-template-columns: 1fr; gap: clamp(1rem, 2vw, 1.7rem); padding-top: 1.6rem; }
.product { display: grid; min-width: 0; }

.product__card {
  position: relative; display: flex; flex-direction: column; height: 100%;
  padding: .7rem .7rem 1.4rem;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-sm);
  transform-style: preserve-3d;
  transition: box-shadow .7s var(--ease), scale .3s var(--ease);
}
.product__card:hover { box-shadow: inset 0 0 0 1px var(--trait-fort), var(--shadow-lg); }
.product__card:active { scale: .98; }
.product__media {
  position: relative; display: block; isolation: isolate; overflow: hidden;
  aspect-ratio: var(--ratio, 750 / 1060);
  border-radius: 14px; background: var(--fond-2);
  transform: translateZ(0);
}
.product__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1.2s var(--ease); }
.product__card:hover .product__media img { transform: scale(1.04); }
.product__media::after {
  content: ''; position: absolute; inset: -10% -45%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgb(255 255 255 / .5) 50%, transparent 62%);
  transform: translateX(-125%);
}
.product__card:hover .product__media::after { transform: translateX(125%); transition: transform 1.4s var(--ease); }
.product__badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-wrap: wrap; gap: .35rem; }
.product__body { display: flex; flex: 1; flex-direction: column; gap: .7rem; padding: 1.15rem .7rem 0; }
.product__title { font-family: var(--font-title); font-size: clamp(1.45rem, 1.25rem + .5vw, 1.75rem); font-weight: 600; line-height: 1.12; color: var(--titres); }
.product__text { font-size: .95rem; line-height: 1.6; color: var(--texte-doux); }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem 1rem; flex-wrap: wrap; margin-top: auto; padding-top: .7rem; }
.product__price { font-family: var(--font-title); font-size: 1.8rem; font-weight: 600; line-height: 1; color: var(--prune); }

/* ---- Packs : économie réalisée ---- */
.packs { overflow: hidden; }
.packs__leaf { left: -3%; bottom: 5%; width: clamp(140px, 18vw, 260px); aspect-ratio: 1; opacity: .5; transform: scaleX(-1); }
.packs__grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2rem); }
.pack {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--surface); border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-md);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.pack:hover { transform: translateY(-8px); box-shadow: inset 0 0 0 1px var(--trait), var(--shadow-lg); }
.pack__media { aspect-ratio: 1; overflow: hidden; background: var(--fond-2); }
.pack__media img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); transition: transform 1.3s var(--ease); }
.pack:hover .pack__media img { transform: scale(1.05); }
.pack__body { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: .95rem; padding: clamp(1.4rem, 2.6vw, 2.1rem); }
.pack__title { font-family: var(--font-title); font-size: clamp(1.9rem, 1.5rem + 1vw, 2.4rem); font-weight: 600; line-height: 1.05; color: var(--titres); }
.pack__list { display: grid; gap: .4rem; font-size: .95rem; color: var(--texte-doux); }
.pack__list li { display: flex; align-items: baseline; gap: .6rem; }
.pack__list li::before { content: '✦'; flex: none; font-size: .66rem; color: var(--or-rose-texte); }
.pack__list em { font-style: normal; font-weight: 600; color: var(--prune); }
.pack__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; margin-top: auto; padding-top: .6rem; }
.pack__now { font-family: var(--font-title); font-size: clamp(2.8rem, 2.2rem + 2vw, 3.6rem); font-weight: 600; line-height: 1; color: var(--titres); }
.pack__old { position: relative; font-size: 1.2rem; color: var(--texte-doux); text-decoration: none; }
.pack__old::after {
  content: ''; position: absolute; left: -5%; right: -5%; top: 52%; height: 2px; border-radius: 2px;
  background: var(--corail); transform: scaleX(0); transform-origin: left center;
  transition: transform 1.1s var(--ease) .6s;
}
.pack.is-in .pack__old::after, .no-js .pack__old::after { transform: scaleX(1); }
.pack__save {
  display: inline-flex; align-items: center; gap: .45rem; margin-bottom: .5rem;
  padding: .4rem 1rem; border-radius: 999px; background: var(--fond-2);
  font-size: .9rem; font-weight: 500; color: var(--texte);
}
.pack__save strong { font-weight: 700; color: var(--prune); }

/* ---- Commence par un cadeau ---- */
.gift { overflow: hidden; }
.gift__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.6rem, 6vw, 4.5rem); align-items: center; }
.gift__copy { display: grid; justify-items: start; gap: 1.2rem; }
.newsletter { display: grid; gap: .7rem; width: 100%; max-width: 540px; margin-top: .6rem; }
.newsletter__label { font-size: .85rem; font-weight: 600; color: var(--texte); }
.newsletter__field {
  display: flex; align-items: center; gap: .5rem;
  padding: .35rem .35rem .35rem 1.35rem; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--trait-fort);
  transition: box-shadow .4s var(--ease);
}
.newsletter__field:focus-within { box-shadow: inset 0 0 0 2px var(--prune); }
.newsletter__field.is-invalid { box-shadow: inset 0 0 0 2px var(--erreur); animation: shake .5s var(--ease); }
.newsletter__field input { flex: 1; width: 0; min-width: 0; min-height: 48px; border: 0; background: transparent; font-size: 1rem; outline: none; }
.newsletter__field input::placeholder { color: var(--texte-doux); opacity: 1; }
.newsletter__field .btn { flex: none; min-height: 50px; }
@keyframes shake {
  0%, 100% { translate: 0 0; }
  20% { translate: -6px 0; }
  40% { translate: 6px 0; }
  60% { translate: -4px 0; }
  80% { translate: 3px 0; }
}
.newsletter__msg { min-height: 1.6em; font-size: .9rem; font-weight: 500; color: var(--prune); }
.newsletter__msg.is-error { color: var(--erreur); }
.newsletter__note { font-size: .82rem; color: var(--texte-doux); }
.newsletter .icon--check { display: none; }
.newsletter.is-done .icon--arrow { display: none; }
.newsletter.is-done .icon--check { display: block; animation: pop .7s var(--ease); }
.newsletter.is-done .newsletter__field { box-shadow: inset 0 0 0 2px var(--prune), 0 0 0 6px color-mix(in srgb, var(--corail) 20%, transparent); }
@keyframes pop { 0% { transform: scale(0) rotate(-40deg); } 60% { transform: scale(1.3) rotate(6deg); } 100% { transform: scale(1) rotate(0); } }

.gift__list { display: flex; gap: 1rem; margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter) 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gift__list::-webkit-scrollbar { display: none; }
.gift__item { flex: 0 0 min(52vw, 210px); display: grid; align-content: start; gap: .6rem; scroll-snap-align: start; }
.gift__cover {
  display: block; overflow: hidden; aspect-ratio: 750 / 1060; border-radius: 14px; background: var(--fond-2);
  box-shadow: var(--shadow-md);
  transition: transform .9s var(--ease), box-shadow .9s var(--ease);
}
.gift__cover:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--shadow-lg); }
.gift__cover img { width: 100%; height: 100%; object-fit: cover; filter: var(--img-filter); }
.gift__name { margin-top: .3rem; font-family: var(--font-title); font-size: 1.3rem; font-weight: 600; line-height: 1.15; color: var(--titres); }
.gift__cta { justify-self: start; font-size: .9rem; }

/* ---- Pour qui ? : 4 arches illustrées (quinconce sur grand écran, carrousel sur mobile) ---- */
.who__tagline { max-width: 34ch; margin: -1.6rem auto clamp(2.2rem, 5vw, 3.4rem); text-align: center; font-family: var(--font-title); font-style: italic; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); line-height: 1.35; color: var(--on-nuit-doux); }
.who__list {
  display: flex; gap: 1.2rem;
  margin-inline: calc(var(--gutter) * -1); padding: 1rem var(--gutter) 1.6rem;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.who__list::-webkit-scrollbar { display: none; }
.wcard { flex: 0 0 min(72vw, 290px); scroll-snap-align: center; display: grid; align-content: start; }
.wcard__arch { aspect-ratio: 3 / 4; }
.wcard__arch img { object-position: 50% 45%; }
.wcard__body { display: grid; gap: .55rem; justify-items: center; padding: 1.3rem .4rem 0; text-align: center; transition: translate .7s var(--ease); }
.wcard__num { font-family: var(--font-title); font-style: italic; font-size: 1.2rem; color: var(--or-rose); }
.wcard__title { font-family: var(--font-title); font-size: clamp(1.7rem, 1.4rem + .9vw, 2.2rem); font-weight: 500; line-height: 1.1; color: var(--on-nuit); }
.wcard__line { display: block; width: 64px; height: 1px; background: var(--or-rose); transform: scaleX(.25); transform-origin: center; transition: transform .8s var(--ease); }
.wcard__text { max-width: 26ch; font-size: .98rem; color: var(--on-nuit-doux); }
.wcard:hover .wcard__arch .arch__zoom { scale: 1.04; }
.wcard:hover .wcard__body { translate: 0 -6px; }
.wcard:hover .wcard__line { transform: scaleX(1); }
.who__dots { display: flex; justify-content: center; gap: .2rem; }
.who__dots .syn__dot::before { background: color-mix(in srgb, var(--on-nuit) 40%, transparent); }
.who__dots .syn__dot.is-active::before { background: var(--on-nuit); }

/* ---- Passerelle vers les ateliers ---- */
.bridge .cta__title { max-width: 14ch; }


/* ==========================================================================
   20. POINTS DE RUPTURE (mobile d’abord)
   ========================================================================== */
@media (min-width: 640px) {
  .header__cta { display: inline-flex; }
  .hero { --stage-h: clamp(250px, 32svh, 340px); --vial-h: clamp(200px, 30svh, 300px); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .product--wide { grid-column: 1 / -1; }
  .product--wide .product__card { flex-direction: row; align-items: stretch; gap: 1.4rem; padding: .85rem; }
  .product--wide .product__media { flex: 0 0 42%; align-self: start; }
  .product--wide .product__body { justify-content: center; padding: .8rem .9rem .8rem 0; }
  .gift__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; margin: 0; padding: 0; overflow: visible; }
  .gift__item { flex: none; }
  .extend__card { grid-template-columns: minmax(0, 210px) 1fr; }
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .shop__count { display: block; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .band__list { grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .packs__grid { grid-template-columns: repeat(3, 1fr); }
  .shop__filters { margin-inline: 0; padding-inline: 2px; overflow: visible; flex-wrap: wrap; }

  /* Infos pratiques : 3 + 2 */
  .infos__track { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-inline: 0; padding: 1rem 0 0; overflow: visible; gap: 1.1rem; }
  .icard { flex: none; grid-column: span 2; }
  .icard:nth-child(n + 4) { grid-column: span 3; }
  .infos__dots { display: none; }
}

@media (min-width: 900px) {
  .about__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .extend { grid-template-columns: repeat(2, 1fr); }
  .extend__card { grid-template-columns: minmax(0, 180px) 1fr; }
  .gift__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gift__item:nth-child(even) { margin-top: 2.4rem; }
  .footer__grid { grid-template-columns: 1.5fr .9fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
  .footer__disclaimer { flex-basis: auto; margin-left: auto; }
  .why__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
}

@media (min-width: 1024px) {
  /* En-tête : navigation visible, burger masqué */
  .nav { display: block; }
  .header__tools { margin-left: 0; }
  .burger, .menu { display: none; }

  /* Hero : accroche et recettes à gauche, la fiole suspendue à droite */
  .hero {
    --stage-h: 0px;
    --vial-h: clamp(300px, 46svh, 470px);
    --cord-top: 0px;
    --cord-len: clamp(220px, calc(var(--header-h) + 6svh), 300px);
    --ingr: clamp(130px, 12vw, 190px);
  }
  .hero__inner { padding-top: var(--header-h); grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); grid-template-rows: minmax(0, 1fr); }
  .hero__stage { inset: 0 0 0 auto; width: 50%; height: auto; }
  .hero__gems { --gem: clamp(112px, 10.5vw, 158px); left: calc(50% - var(--vial-w) * .5 - var(--gem) * .95); top: calc(var(--cord-len) + var(--vial-h) * .6); }
  .hero__ingr { left: calc(50% - var(--vial-w) * .5 - var(--ingr) * .98); top: calc(var(--cord-len) + var(--vial-h) * .2); }
  .hero__panel { grid-column: 1; grid-row: 1; padding-bottom: 3.4rem; }
  .hero__index {
    position: absolute; grid-area: 1 / 1 / -1 / -1; right: var(--gutter); top: 50%; left: auto; bottom: auto; width: max-content; translate: 0 -48%;
    grid-template-columns: 1fr; gap: .15rem; padding: 0;
  }
  .hdot { display: flex; flex-direction: row-reverse; justify-content: flex-start; align-items: center; gap: .9rem; min-height: 48px; padding: .2rem .3rem; }
  .hdot__name { font-size: .72rem; }
  .hero__scroll { display: flex; left: var(--gutter); right: auto; bottom: 1.3rem; }
  .hero__scroll-text { display: inline; }
  .hero__star--1 { top: 24%; }
  .hero__star--2 { right: 46%; top: 16%; }

  /* Hero statique : fiole à droite, cartes sur toute la largeur */
  :is(.no-js .hero, .reduce-motion .hero, .hero.is-static) .hero__inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); }
  :is(.no-js .hero, .reduce-motion .hero, .hero.is-static) .hero__stage { grid-column: 2; grid-row: 1; width: auto; margin-inline: 0; }
  :is(.no-js .hero, .reduce-motion .hero, .hero.is-static) .hero__panel { display: contents; }
  :is(.no-js .hero, .reduce-motion .hero, .hero.is-static) .hero__copy { grid-column: 1; grid-row: 1; padding-top: 1rem; }
  :is(.no-js .hero, .reduce-motion .hero, .hero.is-static) .recipes { grid-column: 1 / -1; grid-row: 2; }

  /* Hero de la boutique */
  .hero--shop .hero__inner { grid-template-rows: minmax(0, 1fr); align-content: normal; padding-top: 0; }
  .hero--shop .hero__copy { grid-row: 1; padding-top: var(--header-h); padding-bottom: 3.5rem; }
  .fan { grid-column: 2; grid-row: 1; padding-top: var(--header-h); }
  .fan__item { width: clamp(200px, 17vw, 270px); }

  /* Concept : 4 colonnes */
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps::before {
    content: ''; position: absolute; left: 6%; right: 6%; top: 5.2rem; z-index: 0;
    border-top: 1px dashed var(--trait-fort);
  }

  /* Synergies : 4 colonnes, plus de carrousel */
  .syn__leaf { width: clamp(140px, 16vw, 220px); top: 8%; bottom: auto; right: -2%; }
  .syn__track { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin: 0; padding: 1rem 0; overflow: visible; }
  .syn__item { flex: none; }
  .syn__dots { display: none; }

  /* Pour qui ? : 4 colonnes en quinconce */
  .who__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.2rem, 2.4vw, 2.2rem); margin: 0; padding: 0 0 3.6rem; overflow: visible; }
  .wcard { flex: none; }
  .wcard:nth-child(even) { margin-top: 3.4rem; }
  .who__dots { display: none; }

  .grid { grid-template-columns: repeat(3, 1fr); }
  .product--wide { grid-column: auto; }
  .product--wide .product__card { flex-direction: column; gap: 0; padding: .7rem .7rem 1.4rem; }
  .product--wide .product__media { flex: none; align-self: auto; }
  .product--wide .product__body { justify-content: flex-start; padding: 1.15rem .7rem 0; }
}

@media (min-width: 1280px) {
  /* Infos pratiques : 5 colonnes */
  .infos__track { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .icard, .icard:nth-child(n + 4) { grid-column: auto; }
  .hero__stage { width: 52%; }
  .hero__inner { grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
}

/* Écrans bas (petits mobiles, paysage) : on allège le hero */
@media (max-height: 700px) and (max-width: 1023.98px) {
  .hero__sub { display: none; }
  .recipe__use { font-size: .95rem; }
}
@media (max-height: 760px) and (max-width: 1023.98px) {
  .hero__title { font-size: clamp(2.3rem, 9vw, 2.9rem); }
  .recipe__name { font-size: clamp(2.5rem, 10vw, 3rem); }
}


/* ==========================================================================
   21. MOUVEMENT RÉDUIT : on remplace les mouvements par de simples fondus
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__halo, .hero__aura, .vial__halo, .hero__scroll-line::after, .gem img, .ingr img,
  .ornament.is-in .ornament__star, .day.has-atelier:hover .day__halo { animation: none; }
  .ornament__line { stroke-dashoffset: 0; transition: none; }
  .ornament__star { opacity: 1; transform: none; }

  /* Boutons et pastilles : le remplissage devient un fondu */
  .btn::before, .pill::before { transform: none; opacity: 0; transition: opacity .4s ease; }
  .btn:hover::before, .btn:focus-visible::before { opacity: 1; }
  .pill.is-active::before { opacity: 1; }
  .btn__icon .icon, .step__card, .pack, .gift__cover, .acard__btn, .icard__lift { transition-duration: .01ms; }
  .step__card:hover, .pack:hover, .acard__btn:hover { transform: none; }
  .icard:hover .icard__lift { translate: none; }
  .header__bar, .header__logo img { transition: none; }
  .icard__icon .dr { stroke-dashoffset: 0; transition: none; }
  .icard.is-in .icard__icon .i-hand { animation: none; }
  .footer__logo:hover img, .footer__logo:focus-visible img { animation: none; }

  /* Cartes qui se retournent : fondu entre les deux faces */
  .flip__inner, .flip:hover .flip__inner, .flip.is-flipped .flip__inner { transform: none; transition: none; }
  .flip__face { transition: opacity .6s ease; }
  .flip__face--back { transform: none; opacity: 0; }
  .flip:hover .flip__face--back, .flip.is-flipped .flip__face--back { opacity: 1; }
  .flip:hover .flip__face--front, .flip.is-flipped .flip__face--front { opacity: 0; }

  /* Éléments qui montent : ils apparaissent sans déplacement */
  .menu, .menu.is-open { clip-path: none; transition: opacity .4s ease, visibility 0s; opacity: 0; }
  .menu.is-open { opacity: 1; }
  .menu__link, .menu__foot { transform: none; }
  .detail, .detail.is-open { transition: opacity .4s ease, visibility 0s; }
  .detail { transform: none; opacity: 0; }
  .detail.is-open { opacity: 1; }
  .modal__panel { transform: none; }
  .product__card:hover .product__media img, .pack:hover .pack__media img, .arch:hover .arch__zoom, .wcard:hover .wcard__arch .arch__zoom { transform: none; scale: 1; }
  .arch__shine, .product__media::after { display: none; }
  .wcard:hover .wcard__body { translate: none; }
  .step__num path { stroke-dashoffset: 0; fill-opacity: .1; transition: none; }
  .pack__old::after { transform: scaleX(1); transition: none; }
  .theme-toggle__core, .theme-toggle__cut, .theme-toggle__rays { transition: none; }
}

@media print {
  .header, .menu, .progress, .to-top, .preloader, .curtain, .hero__stage, .hero__scroll, .hero__index { display: none !important; }
  body { background: #fff; }
  body::before { display: none; }
}
