/* ==========================================================================
   Studio by Ju — « Sous la lampe »
   Feuille de styles principale. Les couleurs et typos sont des variables :
   modifiez-les ici pour changer tout le site.
   ========================================================================== */

:root {
  /* Palette — chocolat, caramel, crème, rose bonbon */
  --choco-950: #160b07;
  --choco-900: #22120c;
  --choco-800: #2f1a11;
  --choco-700: #4a2a1d;
  --choco-500: #7a4a33;
  --caramel: #c8763a;
  --caramel-clair: #e9a868;
  --orange-brule: #c9582a;
  --creme: #f7ecdf;
  --creme-2: #efdcc8;
  --creme-3: #e4c9ae;
  --rose: #f2b6c0;
  --rose-vif: #e98aa0;
  --or: #e9c27a;

  /* Couleur d'accent (modifiée par le nuancier et la saison) */
  --accent: var(--caramel);
  --accent-clair: var(--caramel-clair);

  /* Thème courant (sombre par défaut) */
  --bg: var(--choco-950);
  --bg-2: var(--choco-900);
  --surface: var(--choco-800);
  --texte: var(--creme);
  --texte-doux: #d9c3ad;
  --trait: rgba(247, 236, 223, 0.14);

  /* Typographies */
  --f-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-texte: "Instrument Sans", "Inter", "Segoe UI", system-ui, sans-serif;
  --f-main: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  /* Échelle */
  --gouttiere: clamp(16px, 4vw, 56px);
  --max: 1320px;
  --rayon: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.64, 0, 0.78, 0);
  --header-h: 76px;
}

/* Thème clair « crème » pour certaines pages */
.theme-creme {
  --bg: var(--creme);
  --bg-2: var(--creme-2);
  --surface: #fff8f0;
  --texte: var(--choco-900);
  --texte-doux: #5e4031;
  --trait: rgba(34, 18, 12, 0.14);
  --accent: #a4521f;
  --accent-clair: var(--caramel);
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html {
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--texte);
  font-family: var(--f-texte);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, canvas, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--rose); color: var(--choco-950); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
  font-variation-settings: "SOFT" 100, "WONK" 1, "opsz" 144;
}
p { margin: 0 0 1em; }

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

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 1000;
  padding: 12px 18px; border-radius: 999px;
  background: var(--creme); color: var(--choco-950);
  font-weight: 600; text-decoration: none;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
  border-radius: 6px;
}
.theme-creme :focus-visible { outline-color: var(--orange-brule); }

.wrap { width: min(100% - 2 * var(--gouttiere), var(--max)); margin-inline: auto; }

.main-ecrite {
  font-family: var(--f-main);
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.9rem);
  line-height: 1.1;
  color: var(--rose);
  font-weight: 500;
}
.theme-creme .main-ecrite { color: #b04a5f; }

.surtitre {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-clair);
  font-weight: 600;
}
.theme-creme .surtitre { color: var(--accent); }
.surtitre::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}

.titre-xl { font-size: clamp(3rem, 1.6rem + 7vw, 9.5rem); }
.titre-l  { font-size: clamp(2.4rem, 1.5rem + 4.2vw, 6rem); }
.titre-m  { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.6rem); }
.titre-s  { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); }
em.it { font-style: italic; color: var(--accent-clair); }
.theme-creme em.it { color: var(--accent); }

.lead { font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem); color: var(--texte-doux); max-width: 46ch; }

.section { padding-block: clamp(80px, 12vw, 180px); position: relative; }

/* ---------------------------------------------------------------- Boutons */
.btn {
  --b-bg: var(--creme);
  --b-fg: var(--choco-950);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.6em;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--b-bg); color: var(--b-fg);
  font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  text-decoration: none; cursor: pointer;
  overflow: hidden; isolation: isolate;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--accent);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform 0.55s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover, .btn:focus-visible { color: var(--creme); box-shadow: 0 18px 40px -18px rgba(201, 88, 42, 0.8); }
.btn .fleche { transition: transform 0.5s var(--ease); }
.btn:hover .fleche { transform: translateX(4px) rotate(-45deg); }

.btn--contour {
  --b-bg: transparent; --b-fg: var(--texte);
  border-color: var(--trait);
}
.theme-creme .btn { --b-bg: var(--choco-900); --b-fg: var(--creme); }
.theme-creme .btn--contour { --b-bg: transparent; --b-fg: var(--choco-900); border-color: rgba(34,18,12,.3); }

.lien-souligne {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease);
  padding-bottom: 2px;
}
.lien-souligne:hover { background-size: 0 1px; background-position: 100% 100%; }

/* ----------------------------------------------------------------- En-tête */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: transform 0.6s var(--ease), background-color 0.4s, backdrop-filter 0.4s;
}
.entete.est-defile {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--trait);
}
.entete.est-cache { transform: translateY(-100%); }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo {
  display: inline-flex; align-items: baseline; gap: 0.35em;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 1.55rem; letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  white-space: nowrap;
}
.logo .by { font-family: var(--f-main); font-size: 1.35rem; color: var(--rose); transform: translateY(-2px) rotate(-6deg); display: inline-block; }
.theme-creme .logo .by { color: #b04a5f; }

.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav ul { display: flex; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav a {
  text-decoration: none; font-size: 0.95rem; position: relative; padding: 6px 0;
}
.nav ul a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav ul a:hover::after, .nav ul a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav .btn { min-height: 44px; padding: 0 1.2em; font-size: 0.9rem; }

.saison-badge {
  font-family: var(--f-main); font-size: 1.15rem; color: var(--rose);
  white-space: nowrap;
}
.theme-creme .saison-badge { color: #b04a5f; }

.burger {
  display: none;
  width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid var(--trait); background: transparent; cursor: pointer;
  position: relative;
}
.burger span {
  position: absolute; left: 14px; right: 14px; height: 1.5px; background: currentColor;
  transition: transform 0.5s var(--ease), opacity 0.3s;
}
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Menu plein écran (mobile) */
.menu-plein {
  position: fixed; inset: 0; z-index: 45;
  background: var(--choco-950); color: var(--creme);
  display: grid; align-content: center;
  padding: calc(var(--header-h) + 20px) var(--gouttiere) 40px;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path 0.9s var(--ease);
  visibility: hidden;
}
.menu-plein.est-ouvert { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu-plein ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.menu-plein a {
  font-family: var(--f-display); font-size: clamp(2.4rem, 10vw, 4rem); text-decoration: none;
  display: inline-block; line-height: 1.15;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.menu-plein a:hover, .menu-plein a[aria-current="page"] { font-style: italic; color: var(--caramel-clair); }
.menu-plein .menu-pied { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px 24px; color: #d9c3ad; }

@media (max-width: 980px) {
  .nav ul, .nav .saison-badge { display: none; }
  .burger { display: inline-block; }
}
@media (max-width: 420px) {
  .nav .btn { display: none; }
}

/* ------------------------------------------------------- Bouton réserver flottant */
.reserver-flottant {
  position: fixed; right: 18px; bottom: 18px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 22px 0 14px;
  border-radius: 999px; text-decoration: none;
  background: var(--creme); color: var(--choco-950);
  font-weight: 600;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,.65), 0 0 0 1px rgba(34,18,12,.08);
  transform: translateY(140%); opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.5s;
}
.reserver-flottant.est-visible { transform: none; opacity: 1; }
.reserver-flottant .pastille {
  width: 30px; height: 30px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff6, transparent 40%), var(--accent);
  box-shadow: inset 0 -4px 8px rgba(0,0,0,.25);
}
.theme-creme .reserver-flottant { background: var(--choco-900); color: var(--creme); }

/* ----------------------------------------------------------------- Curseur */
.curseur, .curseur-anneau { display: none; }
@media (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .a-curseur, .a-curseur a, .a-curseur button, .a-curseur [role="button"] { cursor: none; }
  .a-curseur input, .a-curseur textarea, .a-curseur select { cursor: auto; }
  .curseur, .curseur-anneau {
    display: block; position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none;
    border-radius: 50%;
  }
  .curseur {
    width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--rose);
    mix-blend-mode: difference;
  }
  .curseur-anneau {
    width: 44px; height: 44px; margin: -22px 0 0 -22px;
    border: 1px solid rgba(242, 182, 192, 0.6);
    display: grid; place-items: center;
    transition: width 0.45s var(--ease), height 0.45s var(--ease), margin 0.45s var(--ease), background-color 0.45s, border-color 0.45s;
  }
  .curseur-anneau span {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--choco-950); opacity: 0; transition: opacity 0.3s;
  }
  .curseur-anneau.est-label {
    width: 96px; height: 96px; margin: -48px 0 0 -48px;
    background: var(--rose); border-color: var(--rose);
  }
  .curseur-anneau.est-label span { opacity: 1; }
  .curseur-anneau.est-lien { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--rose); }
  .est-cache-curseur .curseur, .est-cache-curseur .curseur-anneau { opacity: 0; }
}

/* -------------------------------------------------------------- Intro */
.intro {
  position: fixed; inset: 0; z-index: 200;
  background: #0b0503; color: var(--creme);
  display: grid; place-items: center;
  pointer-events: auto;
}
.intro__halo {
  position: absolute; left: 50%; top: 50%;
  width: 140vmax; height: 140vmax; margin: -70vmax 0 0 -70vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,236,214,.95) 0%, rgba(233,168,104,.55) 18%, rgba(201,88,42,.18) 34%, transparent 52%);
  transform: scale(0); opacity: 0;
}
.intro__contenu { position: relative; text-align: center; }
.intro__lampe { width: 72px; margin: 0 auto 18px; opacity: 0; }
.intro__mot {
  font-family: var(--f-display); font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: 1;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  display: flex; gap: 0.02em; justify-content: center; overflow: hidden; padding: 0.1em 0.2em;
}
.intro__mot span { display: inline-block; transform: translateY(110%); }
.intro__mot .by { font-family: var(--f-main); color: var(--rose); font-size: 0.6em; align-self: center; margin: 0 0.25em; }
.intro__compteur { margin-top: 18px; font-family: var(--f-main); font-size: 1.4rem; color: var(--rose); opacity: 0; }
.intro__passer {
  position: absolute; right: 20px; bottom: 20px;
  background: none; border: 1px solid rgba(247,236,223,.25); border-radius: 999px;
  padding: 10px 18px; cursor: pointer; color: var(--creme); font-size: 0.85rem;
}
.intro.joue .intro__lampe { animation: apparait 0.6s var(--ease) 0.1s forwards; }
.intro.joue .intro__mot span { animation: monte 0.9s var(--ease) forwards; animation-delay: calc(0.35s + var(--i) * 0.045s); }
.intro.joue .intro__compteur { animation: apparait 0.6s var(--ease) 0.9s forwards; }
.intro.joue .intro__halo { animation: halo-ouvre 1.4s var(--ease) 1.05s forwards; }
.intro.sort { animation: intro-sort 0.9s var(--ease) forwards; pointer-events: none; }
@keyframes apparait { to { opacity: 1; } }
@keyframes monte { to { transform: translateY(0); } }
@keyframes halo-ouvre { 0% { transform: scale(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.4); opacity: 1; } }
@keyframes intro-sort { to { clip-path: circle(0% at 50% 50%); visibility: hidden; } }
.intro { clip-path: circle(150% at 50% 50%); }

/* -------------------------------------------------------- Transition de page */
.rideau {
  position: fixed; inset: 0; z-index: 150; pointer-events: none;
  background: var(--choco-950);
  clip-path: circle(0% at var(--rx, 50%) var(--ry, 50%));
}
.rideau.ferme { animation: rideau-ferme 0.65s var(--ease-in) forwards; }
.rideau.ouvre { clip-path: circle(150% at 50% 50%); animation: rideau-ouvre 0.9s var(--ease) 0.05s forwards; }
@keyframes rideau-ferme { from { clip-path: circle(0% at var(--rx) var(--ry)); } to { clip-path: circle(150% at var(--rx) var(--ry)); } }
@keyframes rideau-ouvre { from { clip-path: circle(150% at 50% 50%); } to { clip-path: circle(0% at 50% 50%); } }

/* ---------------------------------------------------------- Révélations */
.js [data-reveal] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--d, 0) * 1s);
}
.js [data-reveal].est-vu { opacity: 1; transform: none; }
.js [data-reveal="masque"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: calc(var(--d, 0) * 1s); }
.js [data-reveal="masque"].est-vu { clip-path: inset(0 0 0 0); }

.js [data-split] .mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.js [data-split] .mot > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 0.05s + var(--d, 0) * 1s); }
.js [data-split].est-vu .mot > span { transform: none; }

/* ------------------------------------------------------------ HERO accueil */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: end;
  padding: calc(var(--header-h) + 40px) 0 clamp(40px, 7vh, 90px);
  overflow: hidden; isolation: isolate;
}
.hero__toile { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; }
.hero__repli {
  position: absolute; inset: 0; z-index: -3;
  background:
    radial-gradient(circle at var(--mx, 62%) var(--my, 42%), rgba(255, 226, 196, .55) 0%, rgba(233,168,104,.28) 14%, rgba(201,88,42,.12) 28%, transparent 46%),
    radial-gradient(120% 90% at 20% 110%, #3b1d12 0%, transparent 60%),
    linear-gradient(160deg, #1d0f0a, #0e0604);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 35%; z-index: -1;
  background: linear-gradient(to top, var(--bg), transparent);
}
.hero__grille { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: end; }
.hero__titre { font-size: clamp(4.2rem, 1rem + 14vw, 12.5rem); line-height: 0.86; letter-spacing: -0.045em; }
.hero__titre .ligne { display: block; }
.hero__titre .by { font-family: var(--f-main); font-size: 0.42em; color: var(--rose); letter-spacing: 0; display: inline-block; transform: rotate(-8deg) translateY(-0.35em); margin-left: 0.1em; }
.hero__titre .ju { font-style: italic; }
.hero__cote { padding-bottom: 1.2em; }
.hero__cote .lead { color: #e8d5c2; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__note {
  position: absolute; z-index: 2;
  font-family: var(--f-main); color: var(--rose); font-size: clamp(1.2rem, 1rem + 0.8vw, 1.7rem);
  display: flex; align-items: center; gap: 8px; line-height: 1.05;
}
.hero__note svg { width: 60px; height: 40px; flex: none; }
.hero__note--1 { top: calc(var(--header-h) + 8vh); right: var(--gouttiere); transform: rotate(4deg); text-align: right; }
.hero__note--2 { top: calc(var(--header-h) + 26vh); left: var(--gouttiere); transform: rotate(-5deg); }
.hero__defiler {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: #cdb59e;
  display: grid; justify-items: center; gap: 10px; text-decoration: none;
}
.hero__defiler i { width: 1px; height: 46px; background: linear-gradient(var(--rose), transparent); position: relative; overflow: hidden; }
.hero__defiler i::after { content: ""; position: absolute; inset: 0; background: var(--creme); animation: goutte 2.2s var(--ease) infinite; }
@keyframes goutte { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero__indice { position: absolute; right: var(--gouttiere); bottom: 26px; font-size: 0.8rem; color: #cdb59e; font-family: var(--f-main); font-size: 1.15rem; }

@media (max-width: 860px) {
  .hero__grille { grid-template-columns: 1fr; gap: 24px; }
  .hero__note--1 { top: calc(var(--header-h) + 3vh); }
  .hero__note--2 { display: none; }
  .hero__defiler, .hero__indice { display: none; }
  .hero::after { height: 70%; background: linear-gradient(to top, var(--bg) 25%, color-mix(in srgb, var(--bg) 55%, transparent) 60%, transparent); }
}

/* --------------------------------------------------------------- Bandeau défilant */
.bandeau {
  border-block: 1px solid var(--trait);
  padding: 22px 0; overflow: hidden; position: relative;
  background: var(--bg);
}
.bandeau__piste { display: flex; width: max-content; animation: defile 38s linear infinite; }
.bandeau:hover .bandeau__piste { animation-play-state: paused; }
.bandeau__groupe { display: flex; align-items: center; gap: 40px; padding-right: 40px; }
.bandeau__groupe span {
  font-family: var(--f-display); font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.8rem); white-space: nowrap;
  font-variation-settings: "SOFT" 100, "WONK" 1;
}
.bandeau__groupe span:nth-child(4n+3) { font-style: italic; color: var(--accent-clair); }
.bandeau__groupe .etoile { color: var(--rose); font-size: 1.4rem; }
@keyframes defile { to { transform: translateX(-50%); } }
.bandeau--incline { transform: rotate(-2deg) scale(1.04); margin-block: 30px; background: var(--rose); color: var(--choco-950); border: 0; }
.bandeau--incline .bandeau__groupe span:nth-child(4n+3) { color: var(--choco-700); }
.bandeau--incline .bandeau__groupe .etoile { color: var(--choco-700); }
.bandeau--incline .bandeau__piste { animation-direction: reverse; animation-duration: 46s; }

/* ------------------------------------------------------------ Manifeste */
.manifeste { text-align: left; }
.manifeste__texte {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 1.1rem + 3.4vw, 4.6rem);
  line-height: 1.12; letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 100, "WONK" 1;
  max-width: 20ch;
}
.manifeste__texte .m { color: rgba(247, 236, 223, 0.16); transition: color 0.35s linear; }
.manifeste__texte .m.on { color: var(--creme); }
.manifeste__texte .m.on.acc { color: var(--accent-clair); font-style: italic; }
.manifeste__signe { margin-top: 40px; display: flex; align-items: center; gap: 18px; }
.manifeste__signe .main-ecrite { font-size: 2.2rem; }
.no-js .manifeste__texte .m, .reduit .manifeste__texte .m { color: var(--creme); }

/* ------------------------------------------------------------ Trois univers (scroll horizontal) */
.univers { position: relative; }
.univers__epingle { position: relative; }
.univers__entete { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.univers__piste { display: flex; gap: clamp(16px, 2.5vw, 32px); }
.carte-univers {
  position: relative; flex: 0 0 min(78vw, 560px);
  min-height: min(72vh, 620px);
  border-radius: 28px; overflow: hidden; isolation: isolate;
  padding: clamp(24px, 3vw, 40px);
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none;
  background: var(--surface);
  border: 1px solid var(--trait);
  transition: transform 0.8s var(--ease);
}
.carte-univers:hover { transform: translateY(-8px); }
.carte-univers__num { font-family: var(--f-main); font-size: 1.6rem; color: var(--rose); }
.carte-univers h3 { font-size: clamp(2.4rem, 1.6rem + 3vw, 4.6rem); }
.carte-univers ul { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.carte-univers li { font-size: 0.85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--trait); }
.carte-univers__visuel { position: absolute; inset: 0; z-index: -1; opacity: 0.9; transition: transform 1.2s var(--ease); }
.carte-univers:hover .carte-univers__visuel { transform: scale(1.06); }
.carte-univers__bas { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.carte-univers__cta { display: inline-flex; width: 64px; height: 64px; border-radius: 50%; background: var(--creme); color: var(--choco-950); align-items: center; justify-content: center; flex: none; transition: transform .6s var(--ease); }
.carte-univers:hover .carte-univers__cta { transform: rotate(-45deg) scale(1.08); }
.carte-univers--ongles .carte-univers__visuel { background: radial-gradient(60% 50% at 70% 30%, rgba(233,168,104,.45), transparent 70%), linear-gradient(160deg, #3a1f14, #1a0d08); }
.carte-univers--headspa .carte-univers__visuel { background: radial-gradient(60% 60% at 30% 30%, rgba(242,182,192,.35), transparent 70%), linear-gradient(200deg, #3d2a2a, #1b100d); }
.carte-univers--visage .carte-univers__visuel { background: radial-gradient(55% 55% at 60% 40%, rgba(255,90,90,.35), transparent 70%), linear-gradient(170deg, #3a1515, #180909); }

@media (min-width: 981px) and (prefers-reduced-motion: no-preference) {
  .js .univers--epingle { height: var(--hauteur-piste, 300vh); }
  .js .univers--epingle .univers__epingle { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
  .js .univers--epingle .univers__piste { will-change: transform; padding-left: var(--gouttiere); }
  .js .univers--epingle .carte-univers { min-height: min(60vh, 560px); }
  .js .univers--epingle .univers__entete { margin-bottom: 28px; margin-top: calc(var(--header-h) * 0.6); }
}
@media (max-width: 980px), (prefers-reduced-motion: reduce) {
  .univers__piste { overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 var(--gouttiere) 16px; scrollbar-width: none; }
  .univers__piste::-webkit-scrollbar { display: none; }
  .carte-univers { scroll-snap-align: center; min-height: 480px; }
}

/* ----------------------------------------------------------- Illustrations d'ongles */
.main-ongles { display: flex; align-items: flex-end; justify-content: center; gap: 2.5%; height: 100%; padding: 34% 6% 0; overflow: hidden; }
.doigt {
  position: relative; flex: 1 1 0; max-width: 92px;
  height: 100%;
  border-radius: 999px 999px 0 0 / 46% 46% 0 0;
  background: linear-gradient(90deg, #b9846a 0%, #e7bea3 28%, #f0cdb5 50%, #dcae93 76%, #a87259 100%);
  box-shadow: inset 0 18px 24px -18px rgba(255,255,255,.4), 0 30px 40px -20px rgba(0,0,0,.6);
  display: flex; justify-content: center; padding-top: 7%;
  transform: translateY(var(--ty, 0)) rotate(var(--rot, 0deg));
  transform-origin: 50% 100%;
}
.doigt:nth-child(1) { --ty: 26%; --rot: -12deg; height: 86%; }
.doigt:nth-child(2) { --ty: 6%; --rot: -4deg; }
.doigt:nth-child(3) { --ty: 0%; --rot: 0deg; }
.doigt:nth-child(4) { --ty: 8%; --rot: 4deg; }
.doigt:nth-child(5) { --ty: 40%; --rot: 14deg; height: 80%; max-width: 76px; }
.ongle {
  --c0: #c8763a; --c1: #7a3e22; --c2: #f2c38b;
  position: relative; width: 80%; height: auto;
  aspect-ratio: 0.7; align-self: flex-start;
  border-radius: 50% 50% 42% 42% / 60% 60% 40% 40%;
  background: linear-gradient(170deg, var(--c2) -30%, var(--c0) 35%, var(--c1) 110%);
  box-shadow: inset 0 -8px 14px rgba(0,0,0,.25), inset 0 5px 8px rgba(255,255,255,.2), 0 0 0 1.5px rgba(150,95,70,.35);
}
.ongle::after { /* reflet brillant */
  content: ""; position: absolute; left: 20%; top: 9%; width: 20%; height: 48%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255,255,255,.8), rgba(255,255,255,0));
  filter: blur(1px); opacity: .85;
}
.ongle--cateye { background: linear-gradient(118deg, var(--c0) 18%, var(--c1) 38%, var(--c2) 50%, var(--c1) 62%, var(--c0) 82%); background-size: 220% 100%; animation: chat 6s ease-in-out infinite alternate; }
@keyframes chat { from { background-position: 0% 0; } to { background-position: 100% 0; } }
.ongle--chrome { background: conic-gradient(from 200deg at 40% 30%, var(--c1), var(--c2), #fff, var(--c0), var(--c1)); }
.ongle--paillettes {
  background:
    radial-gradient(circle, rgba(255,255,255,.9) 0 1px, transparent 1.6px) 0 0 / 7px 7px,
    radial-gradient(circle, var(--c2) 0 1.2px, transparent 2px) 3px 4px / 9px 9px,
    linear-gradient(170deg, var(--c2) -30%, var(--c0) 40%, var(--c1));
}
.ongle--nailart {
  background:
    radial-gradient(circle, var(--c2) 0 3px, transparent 3.5px) 0 0 / 14px 14px,
    linear-gradient(170deg, var(--c0), var(--c1));
}
.ongle--nude { background: linear-gradient(180deg, var(--c2) 0 22%, var(--c0) 40%, var(--c1)); }
@media (prefers-reduced-motion: reduce) { .ongle--cateye { animation: none; } }

/* ------------------------------------------------------------ Nuancier */
.nuancier { overflow: hidden; }
.nuancier__grille { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.nuancier__flacons { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.4vw, 18px); }
.flacon {
  --teinte: #c8763a;
  appearance: none; border: 0; background: none; padding: 0; cursor: pointer;
  display: grid; justify-items: center; gap: 8px;
  transition: transform 0.6s var(--ease);
}
.flacon:hover { transform: translateY(-8px) rotate(-3deg); }
.flacon__bouchon { width: 38%; aspect-ratio: 0.55; border-radius: 6px 6px 3px 3px; background: linear-gradient(90deg, #a77d4a, #f0d29b 45%, #8a6232); box-shadow: inset 0 -3px 0 rgba(0,0,0,.2); }
.flacon__verre {
  width: 100%; aspect-ratio: 0.82; border-radius: 22% 22% 30% 30% / 18% 18% 26% 26%;
  background:
    linear-gradient(100deg, rgba(255,255,255,.45) 8%, transparent 22% 70%, rgba(255,255,255,.15) 84%),
    radial-gradient(120% 90% at 50% 100%, color-mix(in srgb, var(--teinte) 70%, #000) 0%, var(--teinte) 60%);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25), 0 20px 30px -18px rgba(0,0,0,.7);
  position: relative;
}
.flacon[aria-pressed="true"] .flacon__verre { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25), 0 0 0 3px var(--bg), 0 0 0 5px var(--creme), 0 24px 40px -18px rgba(0,0,0,.7); }
.flacon__nom { font-size: 0.72rem; letter-spacing: 0.06em; color: var(--texte-doux); text-align: center; line-height: 1.2; min-height: 2.4em; }
.nuancier__resultat { margin-top: 28px; display: flex; align-items: center; gap: 16px; min-height: 64px; }
.nuancier__goutte { width: 56px; height: 56px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); box-shadow: inset -6px -6px 14px rgba(0,0,0,.25), inset 6px 6px 12px rgba(255,255,255,.25); transition: background-color 0.8s var(--ease); }
@media (max-width: 860px) {
  .nuancier__grille { grid-template-columns: 1fr; }
  .nuancier__flacons { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------------------------------------------------- Galerie */
.galerie-filtres { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 36px; }
.puce {
  appearance: none; border: 1px solid var(--trait); background: transparent; color: var(--texte);
  padding: 10px 18px; border-radius: 999px; cursor: pointer; font-size: 0.92rem;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.puce:hover { border-color: var(--texte); }
.puce[aria-pressed="true"] { background: var(--texte); color: var(--bg); border-color: var(--texte); }

.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.creation {
  position: relative; border-radius: var(--rayon); overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5;
  background: radial-gradient(70% 55% at 50% 30%, rgba(255,226,196,.18), transparent 70%), var(--surface);
  border: 1px solid var(--trait);
  transform-style: preserve-3d;
  transition: transform .7s var(--ease), opacity .5s, box-shadow .7s var(--ease);
  cursor: pointer;
  text-align: left; padding: 0; color: inherit; width: 100%;
}
.creation:hover { box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
.creation[hidden] { display: none; }
.creation img { width: 100%; height: 100%; object-fit: cover; }
.creation .main-ongles { position: absolute; inset: 0; padding: 30% 6% 0; }
.creation__legende {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px;
  display: flex; justify-content: space-between; align-items: end; gap: 10px;
  background: linear-gradient(to top, rgba(14,6,4,.85), transparent);
  color: var(--creme);
}
.creation__legende strong { font-family: var(--f-display); font-weight: 400; font-size: 1.35rem; line-height: 1.1; }
.creation__legende small { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; opacity: .8; }
.creation__provisoire {
  position: absolute; top: 12px; left: 12px; font-size: 0.66rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 999px; background: rgba(14,6,4,.55); color: #f0dcc8;
  border: 1px dashed rgba(247,236,223,.35);
}
.theme-creme .creation { background: radial-gradient(70% 55% at 50% 30%, rgba(255,255,255,.7), transparent 70%), #ead6c0; }

/* Ruban horizontal (aperçu accueil) */
.ruban { display: flex; gap: 18px; overflow-x: auto; padding: 8px var(--gouttiere) 24px; scroll-snap-type: x proximity; cursor: grab; scrollbar-width: none; }
.ruban::-webkit-scrollbar { display: none; }
.ruban.glisse { cursor: grabbing; scroll-snap-type: none; }
.ruban .creation { flex: 0 0 clamp(220px, 26vw, 340px); scroll-snap-align: start; }

/* Visionneuse */
.visionneuse {
  position: fixed; inset: 0; z-index: 120; display: grid; place-items: center;
  background: rgba(10, 4, 2, 0.9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 20px; opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s linear .5s;
  color: var(--creme);
}
.visionneuse.est-ouverte { opacity: 1; visibility: visible; transition: opacity .5s var(--ease), visibility 0s; }
.visionneuse__boite { width: min(92vw, 560px); transform: scale(.94); transition: transform .7s var(--ease); }
.visionneuse.est-ouverte .visionneuse__boite { transform: none; }
.visionneuse__media { aspect-ratio: 4/5; border-radius: 26px; overflow: hidden; position: relative; background: radial-gradient(70% 55% at 50% 30%, rgba(255,226,196,.25), transparent 70%), #2a170f; }
.visionneuse__media .main-ongles { position: absolute; inset: 0; padding: 14% 10% 0; }
.visionneuse__media .doigt { max-width: 96px; }
.visionneuse__media img { width: 100%; height: 100%; object-fit: cover; }
.visionneuse__pied { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; gap: 12px; }
.visionneuse__titre { font-family: var(--f-display); font-size: 1.8rem; }
.visionneuse__nav { display: flex; gap: 8px; }
.rond {
  width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(247,236,223,.3); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--creme);
  transition: background-color .4s, color .4s;
}
.rond:hover { background: var(--creme); color: var(--choco-950); }
.visionneuse__fermer { position: absolute; top: 18px; right: 18px; }

/* ----------------------------------------------------------- Preuve (note) */
.preuve { text-align: center; }
.preuve__note { font-family: var(--f-display); font-size: clamp(6rem, 3rem + 16vw, 20rem); line-height: .85; letter-spacing: -0.05em; font-variation-settings: "SOFT" 100, "WONK" 1; }
.preuve__note small { font-size: .3em; color: var(--accent-clair); letter-spacing: 0; }
.preuve__etoiles { display: flex; justify-content: center; gap: 8px; margin: 18px 0 14px; color: var(--or); }
.preuve__etoiles svg { width: 26px; height: 26px; }
.preuve p { color: var(--texte-doux); }

/* ----------------------------------------------------------- Équipe */
.equipe-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.membre {
  position: relative; border-radius: var(--rayon); overflow: hidden; isolation: isolate;
  background: var(--surface); border: 1px solid var(--trait);
  padding: 22px; min-height: 440px; display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform .7s var(--ease);
}
.membre:hover { transform: translateY(-6px) rotate(-.6deg); }
.membre__portrait {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(70% 55% at 50% 26%, color-mix(in srgb, var(--c) 70%, transparent), transparent 70%);
  opacity: .6; transition: opacity .6s;
}
.membre__portrait img { width: 100%; height: 100%; object-fit: cover; }
.membre--photo .membre__portrait { opacity: 1; background: none; }
.membre::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--surface) 40%, transparent 75%); }
.membre__initiale { position: absolute; top: 8%; left: 50%; transform: translateX(-50%); font-family: var(--f-display); font-size: 8.5rem; line-height: 1; font-style: italic; color: var(--c); text-shadow: 0 0 40px color-mix(in srgb, var(--c) 60%, transparent); transition: transform .8s var(--ease); }
.membre:hover .membre__initiale { transform: translateX(-50%) scale(1.08) rotate(-4deg); }
.membre--photo .membre__initiale { display: none; }
.membre h3 { font-size: 2rem; }
.membre__role { font-size: .88rem; color: var(--texte-doux); margin: 4px 0 12px; }
.membre__tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 0 12px; padding: 0; }
.membre__tags li { font-size: .75rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--trait); }
.membre__lien { font-size: .88rem; }
.membre__citation { font-family: var(--f-main); font-size: 1.4rem; color: var(--rose); line-height: 1.1; margin-bottom: 10px; }
.theme-creme .membre__citation { color: #b04a5f; }
.membre--bientot { border-style: dashed; justify-content: center; align-items: center; text-align: center; }
.membre--bientot .membre__portrait { opacity: .25; filter: blur(14px); animation: respire 4s ease-in-out infinite; }
.membre--bientot h3 { font-style: italic; }
.membre--bientot .main-ecrite { margin-top: 10px; }
@keyframes respire { 50% { opacity: .45; transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .membre--bientot .membre__portrait { animation: none; } }

/* ------------------------------------------------------------- Infos pratiques */
.infos-grille { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.horaires { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--trait); }
.horaires li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); }
.horaires li.aujourdhui { font-weight: 700; }
.horaires li.aujourdhui span:first-child::after { content: " · aujourd'hui"; font-weight: 400; font-family: var(--f-main); font-size: 1.2rem; color: var(--rose); }
.theme-creme .horaires li.aujourdhui span:first-child::after { color: #b04a5f; }
.statut { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); font-size: .9rem; margin-bottom: 20px; }
.statut i { width: 9px; height: 9px; border-radius: 50%; background: #9aa0a6; }
.statut.ouvert i { background: #57c27a; box-shadow: 0 0 0 0 rgba(87,194,122,.6); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(87,194,122,0); } 100% { box-shadow: 0 0 0 0 rgba(87,194,122,0); } }
.contact-liste { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 14px; }
.contact-liste a { font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2.2rem); text-decoration: none; }
.contact-liste small { display: block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-doux); }
.carte-plan {
  display: block; position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 16/10;
  text-decoration: none; border: 1px solid var(--trait);
  background:
    repeating-linear-gradient(28deg, transparent 0 38px, rgba(34,18,12,.08) 38px 40px),
    repeating-linear-gradient(-62deg, transparent 0 58px, rgba(34,18,12,.08) 58px 61px),
    #ecd9c4;
  color: var(--choco-900);
}
.carte-plan__pin { position: absolute; left: 52%; top: 46%; transform: translate(-50%, -100%); display: grid; justify-items: center; gap: 6px; }
.carte-plan__pin b { width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange-brule); box-shadow: 0 10px 20px -6px rgba(0,0,0,.4); display: grid; place-items: center; }
.carte-plan__pin b::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--creme); }
.carte-plan__pin span { font-family: var(--f-main); font-size: 1.3rem; background: var(--creme); padding: 2px 10px; border-radius: 999px; }
.carte-plan__bas { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; display: flex; justify-content: space-between; background: rgba(247,236,223,.92); font-weight: 600; font-size: .92rem; }
@media (max-width: 860px) { .infos-grille { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Page héros (pages intérieures) */
.page-hero {
  position: relative; overflow: hidden; isolation: isolate;
  padding: calc(var(--header-h) + clamp(60px, 12vh, 140px)) 0 clamp(50px, 8vw, 110px);
}
.page-hero::before {
  content: ""; position: absolute; inset: -20%; z-index: -1;
  background: radial-gradient(circle at var(--mx, 70%) var(--my, 30%), color-mix(in srgb, var(--accent-clair) 40%, transparent) 0%, transparent 38%);
  transition: background-position .3s;
}
.theme-creme .page-hero::before { background: radial-gradient(circle at var(--mx, 70%) var(--my, 30%), rgba(242,182,192,.55) 0%, rgba(233,168,104,.25) 20%, transparent 42%); }
.page-hero .titre-xl { max-width: 12ch; }
.page-hero .lead { margin-top: 26px; }
.page-hero__fil { font-size: .85rem; color: var(--texte-doux); margin-bottom: 28px; }
.page-hero__fil a { text-decoration: none; }
.page-hero__fil a:hover { text-decoration: underline; }

/* Rayures bonbon (page Le Studio) */
.rayures {
  background:
    repeating-linear-gradient(90deg, rgba(242,182,192,.55) 0 46px, transparent 46px 92px);
  -webkit-mask: linear-gradient(to bottom, #000 40%, transparent);
  mask: linear-gradient(to bottom, #000 40%, transparent);
  position: absolute; inset: 0; z-index: -2;
  filter: url(#ondule);
}

/* ------------------------------------------------------------ Prestations */
.filtres-prest { position: sticky; top: calc(var(--header-h) + 8px); z-index: 10; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; scrollbar-width: none; background: linear-gradient(var(--bg) 70%, transparent); }
.filtres-prest::-webkit-scrollbar { display: none; }
.filtres-prest .puce { white-space: nowrap; }
.categorie { padding-block: clamp(36px, 6vw, 70px); border-top: 1px solid var(--trait); display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(24px, 5vw, 80px); }
.categorie[hidden] { display: none; }
.categorie__tete { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.categorie__tete p { color: var(--texte-doux); margin-top: 14px; max-width: 34ch; }
.soins { list-style: none; margin: 0; padding: 0; }
.soin { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; padding: 20px 0; border-bottom: 1px dashed var(--trait); align-items: baseline; }
.soin__nom { font-family: var(--f-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); line-height: 1.15; }
.soin__nom a { text-decoration: none; }
.soin__nom a:hover { text-decoration: underline; }
.soin__prix { font-family: var(--f-display); font-size: 1.4rem; white-space: nowrap; color: var(--accent); }
.soin__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; color: var(--texte-doux); font-size: .9rem; }
.soin__resa { margin-left: auto; font-weight: 600; font-size: .88rem; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--trait); transition: background-color .4s, color .4s; }
.soin__resa:hover { background: var(--texte); color: var(--bg); }
.a-completer { background: repeating-linear-gradient(-45deg, rgba(233,138,160,.18) 0 6px, transparent 6px 12px); outline: 1px dashed rgba(233,138,160,.7); border-radius: 4px; padding: 0 4px; }
@media (max-width: 860px) { .categorie { grid-template-columns: 1fr; } .categorie__tete { position: static; } }

/* ------------------------------------------------------------ Contenu éditorial */
.edito { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.edito__colle { position: sticky; top: calc(var(--header-h) + 30px); }
.etapes { counter-reset: e; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.etapes li { counter-increment: e; padding: 28px 0 28px 84px; position: relative; border-top: 1px solid var(--trait); }
.etapes li::before { content: counter(e, decimal-leading-zero); position: absolute; left: 0; top: 22px; font-family: var(--f-display); font-size: 2.8rem; line-height: 1; color: var(--accent-clair); font-style: italic; }
.theme-creme .etapes li::before { color: var(--accent); }
.etapes h3 { font-size: 1.6rem; margin-bottom: 8px; }
.etapes p { color: var(--texte-doux); margin: 0; }
.a-valider { display: inline-block; margin-top: 10px; font-size: .8rem; padding: 4px 10px; border-radius: 999px; border: 1px dashed rgba(233,138,160,.7); color: var(--texte-doux); }
.encart { border-radius: 28px; padding: clamp(26px, 4vw, 48px); background: var(--surface); border: 1px solid var(--trait); }
.rituels { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.rituel { border-radius: 26px; padding: 30px; background: var(--surface); border: 1px solid var(--trait); display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden; transition: transform .7s var(--ease); }
.rituel:hover { transform: translateY(-8px); }
.rituel__prix { font-family: var(--f-display); font-size: 3rem; line-height: 1; }
.rituel__duree { font-family: var(--f-main); font-size: 1.4rem; color: #b04a5f; }
.rituel--phare { background: var(--choco-900); color: var(--creme); }
.rituel--phare .rituel__duree { color: var(--rose); }
.rituel ul { margin: 0; padding-left: 1.1em; color: inherit; opacity: .85; }
@media (max-width: 860px) { .edito, .rituels { grid-template-columns: 1fr; } .edito__colle { position: static; } }

/* Vapeur (Head Spa) */
.vapeur { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.vapeur i { position: absolute; bottom: -20%; width: 40vmax; height: 40vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.75), transparent 60%); filter: blur(30px); opacity: .6; animation: vapeur 14s ease-in-out infinite; }
.vapeur i:nth-child(1) { left: -10%; animation-delay: 0s; }
.vapeur i:nth-child(2) { left: 30%; animation-delay: -4s; animation-duration: 17s; }
.vapeur i:nth-child(3) { left: 65%; animation-delay: -8s; animation-duration: 15s; }
@keyframes vapeur { 0% { transform: translateY(0) scale(.8); opacity: 0; } 30% { opacity: .7; } 100% { transform: translateY(-90vh) scale(1.3); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .vapeur i { animation: none; opacity: .35; bottom: 0; } }

/* Questions fréquentes */
.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-family: var(--f-display); font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--f-texte); font-size: 1.6rem; transition: transform .5s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--texte-doux); padding-bottom: 20px; max-width: 64ch; }

/* ------------------------------------------------------------ Grand appel */
.appel { text-align: center; position: relative; overflow: hidden; isolation: isolate; }
.appel::before { content: ""; position: absolute; left: 50%; top: 50%; width: 120vmin; height: 120vmin; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent-clair) 38%, transparent), transparent 62%); z-index: -1; }
.appel .titre-l { max-width: 14ch; margin: 0 auto 30px; }
.appel__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.appel small { display: block; margin-top: 18px; color: var(--texte-doux); }

/* ------------------------------------------------------------- Pied de page */
.pied { background: var(--choco-950); color: var(--creme); padding: clamp(60px, 9vw, 120px) 0 30px; position: relative; overflow: hidden; }
.pied__haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.pied h2 { font-size: 1rem; font-family: var(--f-texte); letter-spacing: .18em; text-transform: uppercase; color: #cdb59e; font-weight: 600; margin-bottom: 16px; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pied a { text-decoration: none; }
.pied a:hover { text-decoration: underline; }
.pied__marque { font-family: var(--f-display); font-size: clamp(4rem, 1rem + 15vw, 17rem); line-height: .8; letter-spacing: -0.05em; margin: 60px 0 26px; white-space: nowrap; font-variation-settings: "SOFT" 100, "WONK" 1; }
.pied__marque .by { font-family: var(--f-main); color: var(--rose); font-size: .35em; letter-spacing: 0; display: inline-block; transform: rotate(-8deg) translateY(-.5em); }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: .85rem; color: #cdb59e; border-top: 1px solid rgba(247,236,223,.12); padding-top: 22px; }
.ourson { appearance: none; border: 0; background: none; cursor: pointer; padding: 6px; opacity: .55; transition: opacity .3s, transform .6s var(--ease); }
.ourson:hover { opacity: 1; transform: rotate(-12deg) scale(1.15); }
.ourson svg { width: 28px; height: 28px; }
@media (max-width: 860px) { .pied__haut { grid-template-columns: 1fr 1fr; } .pied__haut > :first-child { grid-column: 1 / -1; } }

/* Pluie de l'easter egg */
.pluie { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.pluie span { position: absolute; top: -10vh; font-size: var(--t, 32px); animation: tombe var(--duree, 3s) var(--ease-in) forwards; animation-delay: var(--delai, 0s); }
@keyframes tombe { to { transform: translateY(125vh) rotate(var(--rot, 180deg)); } }
.message-ourson {
  position: fixed; left: 50%; bottom: 100px; z-index: 301; transform: translate(-50%, 30px); opacity: 0;
  background: var(--creme); color: var(--choco-950); padding: 16px 24px; border-radius: 999px; font-weight: 600;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); transition: all .6s var(--ease); text-align: center; max-width: calc(100vw - 32px);
}
.message-ourson.est-visible { transform: translate(-50%, 0); opacity: 1; }

/* Grain (texture pellicule) */
.grain {
  position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain { 0%,100% { transform: translate(0,0); } 20% { transform: translate(-5%,3%); } 40% { transform: translate(4%,-6%); } 60% { transform: translate(-3%,5%); } 80% { transform: translate(6%,2%); } }
.theme-creme .grain { opacity: .07; mix-blend-mode: multiply; }

/* Photo provisoire */
.photo-provisoire {
  position: relative; border-radius: var(--rayon); overflow: hidden;
  background:
    radial-gradient(60% 50% at 30% 30%, rgba(242,182,192,.35), transparent 70%),
    radial-gradient(60% 50% at 75% 75%, rgba(233,168,104,.35), transparent 70%),
    var(--surface);
  border: 1px dashed var(--trait);
  display: grid; place-items: center; text-align: center; padding: 20px;
  min-height: 260px;
}
.photo-provisoire span { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); max-width: 26ch; }
.photo-provisoire svg { width: 36px; height: 36px; margin: 0 auto 10px; opacity: .6; }

/* Légal */
.texte-legal { max-width: 72ch; }
.texte-legal h2 { font-size: 1.8rem; margin: 2em 0 .6em; }
.texte-legal p, .texte-legal li { color: var(--texte-doux); }

/* Mode saison : hiver = flocons dans le bandeau */
.saison-hiver { --accent: #c94a5a; --accent-clair: #f0a3ae; }
.saison-printemps { --accent: #b0607a; --accent-clair: #f2b6c0; }
.saison-ete { --accent: #e2574c; --accent-clair: #ff9a8a; }
.saison-automne { --accent: var(--caramel); --accent-clair: var(--caramel-clair); }
.theme-creme.saison-automne { --accent: #a4521f; --accent-clair: #a4521f; }
.theme-creme.saison-hiver, .theme-creme.saison-printemps, .theme-creme.saison-ete { --accent: #9a3d2a; --accent-clair: #9a3d2a; }

/* Mouvement réduit : on coupe les animations décoratives */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .bandeau__piste { animation: none !important; }
  .grain { display: none; }
}
