/* =========================================================
   Maison Pottier — nouveau site
   Direction artistique : d'après la référence Pinterest (fond crème,
   très grande typographie rétro en deux couleurs, produit au centre,
   boutons en pastille). Mouvement : d'après Ciao Kombucha et Ciao Energy.
   ========================================================= */

:root {
  /* Couleurs */
  --creme: #EDE3D6;          /* fond principal */
  --creme-photo: #E8DCCD;    /* fond des photos produit */
  --sable: #E3D2BE;          /* fonds secondaires */
  --farine: #F8F3EC;         /* cartes claires */
  --espresso: #2A1A11;       /* texte fort, fonds sombres */
  --brun: #5B4232;           /* texte courant */
  --brun-doux: #77604F;      /* étiquettes */
  --croute: #B35A2C;         /* accent : la croûte */
  --dore: #D7A253;           /* lueur, détails sur fond sombre */
  --nuit: #1E140E;           /* le fournil la nuit */
  --ligne: rgba(42, 26, 17, .14);
  --ligne-claire: rgba(237, 227, 214, .16);

  /* Typographie */
  --display: 'Fraunces', 'Cooper Black', Georgia, serif;
  --texte: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;

  /* Mise en page */
  --g: clamp(20px, 4vw, 64px);
  --section: clamp(96px, 11vw, 176px);
  --rayon: 26px;

  /* Grammaire du mouvement : 3 courbes, 3 durées */
  --levee: cubic-bezier(.16, 1, .3, 1);     /* ce qui apparaît */
  --petrin: cubic-bezier(.77, 0, .18, 1);   /* ce qui change d'état */
  --rebond: cubic-bezier(.34, 1.56, .64, 1);/* ce qui répond au doigt */
  --t-micro: .35s;
  --t-app: .8s;
  --t-trans: 1.2s;
  --intro: .2s;
}
.avec-four { --intro: 2.5s; }
.four-passe { --intro: 0s; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--brun);
  font: 400 16.5px/1.65 var(--texte);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--croute); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--croute); color: var(--farine); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: fixed; left: 12px; top: 12px; z-index: 300; padding: 10px 16px; border-radius: 999px; background: var(--espresso); color: var(--creme); transform: translateY(-160%); }
.evitement:focus { transform: none; }

/* ---------- Typographie ---------- */
.sur {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px;
  font: 500 11.5px/1.3 var(--texte);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brun-doux);
}
.sur .sep { color: var(--croute); }
.titre {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: 'SOFT' 100, 'WONK' 0;
  text-transform: uppercase;
  letter-spacing: -.035em;
  line-height: .8;
  color: var(--espresso);
}
.titre-section {
  font-family: var(--display);
  font-weight: 700;
  font-variation-settings: 'SOFT' 100, 'WONK' 1;
  font-size: clamp(44px, 6.4vw, 104px);
  line-height: .94;
  letter-spacing: -.025em;
  color: var(--espresso);
  text-wrap: balance;
}
.titre-section em, .accent { font-style: normal; color: var(--croute); }
/* les lignes découpées pour l'apparition sont masquées une à une : le masque déborde un peu
   en haut et en bas pour ne couper ni les accents (É, À) ni les jambages (g, q, p) */
.titre-section > div, .chapo > div, .texte > div { padding: .12em 0 .2em; margin: -.12em 0 -.2em; }
.chapo { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--brun); max-width: 46ch; }
.texte { max-width: 52ch; color: var(--brun); }
.a-completer { border-bottom: 1px dashed var(--croute); }

/* ---------- Boutons et liens ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  background: var(--espresso); color: var(--creme);
  font: 500 12.5px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase;
  white-space: nowrap;
  transition: background-color var(--t-micro) var(--petrin), color var(--t-micro), transform var(--t-micro) var(--rebond), translate .5s var(--levee);
}
.btn:hover { background: var(--croute); }
.btn:active { transform: scale(.96); }
.btn-clair { background: var(--creme); color: var(--espresso); }
.btn-clair:hover { background: var(--dore); }
.btn-petit { height: 42px; padding: 0 18px; font-size: 11.5px; }
.btn-rond {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--espresso); color: var(--espresso);
  transition: background-color var(--t-micro) var(--petrin), color var(--t-micro), transform var(--t-micro) var(--rebond);
}
.btn-rond svg { width: 18px; height: 18px; transition: transform var(--t-micro) var(--petrin); }
.btn-rond:hover { background: var(--espresso); color: var(--creme); }
.btn-rond:hover svg { transform: translateX(3px); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.lien {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; color: var(--espresso);
  padding-bottom: 8px;
}
.lien::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform-origin: right; transition: transform .6s var(--petrin); }
.lien:hover::after { transform: scaleX(0); }

/* Lettres qui roulent (le script découpe les libellés) */
.roule { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; }
/* un peu de place au-dessus des lettres : l'accent d'une capitale (Ê, É) n'est pas coupé */
.roule { padding-top: .24em; margin-top: -.24em; }
.roule-b { position: absolute; inset: 0; padding-top: .24em; }
.rl { display: inline-block; transition: transform .45s var(--petrin); transition-delay: calc(var(--i) * 16ms); white-space: pre; }
/* 150 % : l'accent d'une lettre en attente (È, É) ne dépasse pas dans le libellé visible */
.roule-b .rl { transform: translateY(150%); }
.roulable:hover .roule-a .rl, .roulable:focus-visible .roule-a .rl { transform: translateY(-150%); }
.roulable:hover .roule-b .rl, .roulable:focus-visible .roule-b .rl { transform: none; }

/* ---------- En-tête ---------- */
.entete {
  position: fixed; inset: 0 0 auto; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--g);
  color: var(--espresso);
  view-transition-name: entete;
  transition: transform .6s var(--petrin), background-color .4s, color .4s, padding .4s var(--petrin), box-shadow .4s;
}
.entete.fixe { padding-block: 12px; background: rgba(237, 227, 214, .86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--ligne); }
.entete.cache { transform: translateY(-110%); }
.entete.sombre { color: var(--creme); }
.entete.sombre.fixe { background: rgba(30, 20, 14, .82); box-shadow: 0 1px 0 var(--ligne-claire); }
/* le logo de l'en-tête déborde un peu de la ligne du menu : l'en-tête garde sa hauteur */
.logo { display: block; flex: none; margin-block: -12px; transition: margin .4s var(--petrin); }
.entete .logo-mp { height: 64px; width: auto; color: inherit; transition: height .4s var(--petrin); }
.entete.fixe .logo { margin-block: -4px; }
.entete.fixe .logo-mp { height: 48px; }
/* il est là tout de suite, sans se redessiner à chaque page (son texte circulaire tourne) */
.entete-logo .lg, .entete-logo .lg > i { animation: none !important; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); }
.nav a { font: 500 13px/1 var(--texte); letter-spacing: .03em; padding: 6px 0; }
.nav a[aria-current="page"] { color: var(--croute); }
.entete.sombre .nav a[aria-current="page"] { color: var(--dore); }
.nav .nav-noel { padding: 10px 16px; border: 1px solid currentColor; border-radius: 999px; color: var(--croute); }
.entete.sombre .nav .nav-noel { color: var(--dore); }
.entete-droite { display: flex; align-items: center; gap: 22px; }
.entete .btn { height: 40px; padding: 0 18px; font-size: 11px; }
.entete.sombre .btn { background: var(--creme); color: var(--espresso); }
.burger { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .5s var(--petrin); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.menu-ouvert .burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-ouvert .burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: grid; align-content: center; gap: 36px;
  padding: 110px var(--g) 40px;
  background: var(--espresso); color: var(--creme);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .7s .12s var(--petrin), visibility 0s .82s;
}
.menu-ouvert .menu { clip-path: inset(0); visibility: visible; transition: clip-path .8s var(--petrin), visibility 0s; }
.menu nav { display: grid; gap: 6px; }
.menu nav a { display: block; overflow: hidden; font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(40px, 10vw, 76px); line-height: 1.02; letter-spacing: -.02em; }
.menu nav a span { display: inline-block; transform: translateY(110%); transition: transform .35s ease-in; }
.menu-ouvert .menu nav a span { transform: none; transition: transform .8s var(--levee); transition-delay: calc(.28s + var(--i) * .06s); }
.menu nav a[aria-current="page"], .menu nav .nav-noel { color: var(--dore); }
.menu-infos { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: rgba(237, 227, 214, .7); opacity: 0; transition: opacity .3s; }
.menu-ouvert .menu-infos { opacity: 1; transition: opacity .6s .7s; }
.menu-ouvert .entete { transform: none; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: var(--creme); }

/* ---------- Bannière « Maison Pottier » (toutes les pages) ---------- */
.banniere {
  position: relative;
  min-height: max(640px, 92svh);
  overflow: hidden;
  background: linear-gradient(180deg, #E9DED2 0%, #E6D4C0 100%);
  isolation: isolate;
}
.banniere-accueil { min-height: max(680px, 100svh); }
.banniere-scene { position: absolute; inset: 0; }
.banniere-photo {
  --lp: min(54vw, 980px);
  position: absolute; z-index: 1;
  left: 50%; top: 54%;
  width: var(--lp); height: calc(var(--lp) * .75);
  margin: calc(var(--lp) * -.375) 0 0 calc(var(--lp) * -.5);
  border-radius: 40px; overflow: hidden;
  view-transition-name: banniere;
}
.banniere-photo img { width: 100%; height: 100%; object-fit: cover; }
.banniere-accueil .banniere-photo { --lp: min(60vw, 1080px); border-radius: 0; overflow: visible; }
.banniere:not(.banniere-accueil) .banniere-photo { --lp: min(44vw, 820px); left: 70%; top: 61%; }
/* le pain au chocolat détouré, posé sur le fond crème, avec son ombre */
.banniere-accueil .banniere-photo img { position: relative; z-index: 1; object-fit: contain; }
.banniere-accueil .banniere-photo::after { content: ''; position: absolute; left: 16%; right: 14%; bottom: 0; height: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 26, 17, .3), rgba(42, 26, 17, 0)); filter: blur(8px); }
/* photo en hauteur (une seule personne) : un cadre plus étroit */
.duo-photo.etroite { aspect-ratio: 3 / 5; width: min(100%, 440px); justify-self: center; }
/* ---------- Galeries (page Fabrice Pottier) ---------- */
.galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 17vw, 270px); grid-auto-flow: dense; gap: clamp(10px, 1.4vw, 20px); margin-top: clamp(28px, 4vw, 56px); }
.galerie-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.galerie-photo.haute { grid-row: span 2; }
.galerie-photo.large { grid-column: span 2; }
.galerie-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--levee); }
.galerie-photo:hover img { transform: scale(1.05); }
.galerie-photo figcaption { position: absolute; left: 12px; bottom: 12px; padding: 8px 13px; border-radius: 999px; background: rgba(42, 26, 17, .74); color: var(--creme); font: 500 11px/1 var(--texte); letter-spacing: .12em; text-transform: uppercase; opacity: 0; translate: 0 6px; transition: opacity .4s, translate .5s var(--levee); }
.galerie-photo:hover figcaption { opacity: 1; translate: 0 0; }
@media (max-width: 760px) {
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; }
  .galerie-photo figcaption { opacity: 1; translate: 0 0; }
}
/* les affiches de la maison (avec leur texte) : montrées en entier, sur un fond flou tiré d'elles-mêmes */
.affiche > img:not(.affiche-fond) { z-index: 1; object-fit: contain; }
.produit-photo.affiche > img:not(.affiche-fond) { position: relative; }
.affiche-fond { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(22px) saturate(1.15) brightness(.97); scale: 1.35; pointer-events: none; }
.fiche-photo:not(.affiche) .affiche-fond { display: none; }
/* photo montrée en entier (affiche, visuel) sur un fond assorti */
figure.photo-entiere { background: var(--fond, #fff); }
.photo-entiere img, .duo-photo.photo-entiere img { inset: 0; height: 100%; object-fit: contain; }
.plan { position: absolute; inset: 0; transform: translate3d(calc(var(--mx, 0) * var(--f, 0) * 1px), calc(var(--my, 0) * var(--f, 0) * 1px), 0); }
.plan-photo { --f: 12; }
.plan-eclats { --f: 28; z-index: 4; pointer-events: none; }
.banniere-avant {
  --lp: min(62vw, 1120px);
  position: absolute; z-index: 3;
  left: 50%; top: 54%;
  width: var(--lp); height: calc(var(--lp) * .75);
  margin: calc(var(--lp) * -.375) 0 0 calc(var(--lp) * -.5);
  pointer-events: none;
}
.banniere-avant img { width: 100%; height: 100%; object-fit: cover; -webkit-mask-image: radial-gradient(ellipse 23% 27% at 52% 55%, #000 80%, transparent 100%); mask-image: radial-gradient(ellipse 23% 27% at 52% 55%, #000 80%, transparent 100%); }
.banniere-accueil .banniere-photo, .banniere-accueil .banniere-avant { left: 61%; }

/* ---------- Le logo « Maison Pottier, by Fabrice P. » ----------
   Cinq pièces superposées, colorées par la couleur du texte (currentColor) :
   le texte circulaire (qui tourne), le cercle (qui se trace), le P (qui s'écrit),
   son point (qui se pose), la signature (qui s'écrit). */
@property --trace { syntax: '<angle>'; inherits: false; initial-value: 360deg; }
@property --ecrit { syntax: '<percentage>'; inherits: false; initial-value: 130%; }
.logo-mp { position: relative; display: block; aspect-ratio: 701 / 851; color: var(--espresso); }
.lg-tourne, .lg { position: absolute; inset: 0; }
.lg-tourne { transform-origin: 49.8% 40.4%; }
/* chaque pièce porte la forme (masque PNG) ; son encre (le <i>) porte le dévoilement
   (masque en dégradé) : deux masques imbriqués, sans composition de masques */
.lg, .lg > i {
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
  -webkit-mask-position: center; mask-position: center;
}
.lg > i { position: absolute; inset: 0; background: currentColor; }
.lg-anneau { transform-origin: 49.8% 40.4%; -webkit-mask-image: url(../img/logo/logo-anneau.png); mask-image: url(../img/logo/logo-anneau.png); }
.lg-cercle { -webkit-mask-image: url(../img/logo/logo-cercle.png); mask-image: url(../img/logo/logo-cercle.png); }
.lg-cercle > i {
  -webkit-mask-image: conic-gradient(from -90deg at 49.8% 40.4%, #000 calc(var(--trace, 360deg) - 4deg), transparent var(--trace, 360deg));
  mask-image: conic-gradient(from -90deg at 49.8% 40.4%, #000 calc(var(--trace, 360deg) - 4deg), transparent var(--trace, 360deg));
}
.lg-p { -webkit-mask-image: url(../img/logo/logo-p.png); mask-image: url(../img/logo/logo-p.png); }
.lg-p > i {
  -webkit-mask-image: linear-gradient(115deg, #000 calc(var(--ecrit, 130%) - 16%), transparent var(--ecrit, 130%));
  mask-image: linear-gradient(115deg, #000 calc(var(--ecrit, 130%) - 16%), transparent var(--ecrit, 130%));
}
.lg-point { transform-origin: 53.4% 54.4%; -webkit-mask-image: url(../img/logo/logo-point.png); mask-image: url(../img/logo/logo-point.png); }
.lg-signature { -webkit-mask-image: url(../img/logo/logo-signature.png); mask-image: url(../img/logo/logo-signature.png); }
.lg-signature > i {
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--ecrit, 130%) - 10%), transparent var(--ecrit, 130%));
  mask-image: linear-gradient(90deg, #000 calc(var(--ecrit, 130%) - 10%), transparent var(--ecrit, 130%));
}
.banniere .titre-logo {
  position: absolute; z-index: 2;
  left: var(--g); top: max(92px, 13svh);
  /* --logo-max : la place libre au-dessus du texte de la bannière, mesurée par le script */
  height: min(52svh, 34vw, var(--logo-max, 100vh)); width: auto;
  view-transition-name: logo-titre;
}
.pied-logo { width: min(320px, 58vw); margin: 0 auto; color: var(--creme); }
.contact-logo { width: min(240px, 60vw); margin: 4px 0 8px; }
.contact-logo .logo-mp { width: 100%; }
/* au survol, le texte circulaire s'emballe : plus il va vite, plus il devient flou */
.lg-tourne[style*="--vitesse"] { filter: blur(calc(var(--vitesse, 0) * 2.6px)); }

/* ---------- Clin d'œil : « Ici, c'est la brigade du kiffe » (20 s la souris sur le logo) ---------- */
.brigade {
  position: absolute; z-index: 90; left: 0; top: 0;
  max-width: min(88vw, 440px); padding: 18px 26px 20px;
  border-radius: 30px 30px 30px 6px;
  background: var(--croute); color: var(--farine);
  box-shadow: 0 34px 70px -24px rgba(42, 26, 17, .6);
  pointer-events: none; opacity: 0;
  transform: translateY(18px) scale(.5) rotate(-7deg); transform-origin: 0 100%;
  transition: opacity .3s, transform .75s var(--rebond);
}
.brigade.dessous { border-radius: 6px 30px 30px 30px; transform-origin: 0 0; transform: translateY(-18px) scale(.5) rotate(7deg); }
.brigade.visible { opacity: 1; transform: none; }
.brigade-texte { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(26px, 2.6vw, 40px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
.brigade-texte em { font-style: italic; font-weight: 700; color: var(--espresso); }
.brigade .etoile { color: var(--dore); font-size: .7em; vertical-align: .2em; }
.eclat-brigade { position: fixed; z-index: 89; width: 15px; height: 6px; margin: -3px 0 0 -7px; border-radius: 50%; background: var(--croute); pointer-events: none; }
.eclat-brigade.dore { background: var(--dore); }
@media (prefers-reduced-motion: reduce) { .brigade, .brigade.dessous { transform: none; transition: opacity .3s; } }

/* ---------- Clin d'œil : cinq clics sur la photo de Fabrice, la bonne date, le Phénix ---------- */
.banniere-photo { -webkit-user-select: none; user-select: none; }
.banniere-photo.tape { animation: tape .28s var(--petrin); }
@keyframes tape { 45% { scale: .985; } }
.secret {
  position: fixed; z-index: 95; left: 50%; top: 50%; translate: -50% -50%;
  width: min(340px, calc(100vw - 32px)); padding: 28px 24px 24px;
  border-radius: 28px; overflow: hidden;
  background-color: var(--farine); color: var(--espresso);
  box-shadow: 0 40px 90px -30px rgba(42, 26, 17, .6);
  opacity: 0; transform: scale(.85);
  transition: opacity .3s, transform .6s var(--rebond), width .6s var(--levee), background-color .8s, color .8s;
}
.secret.ouvert { opacity: 1; transform: none; }
.secret.faux { animation: secouer .45s; }
@keyframes secouer { 20%, 60% { translate: calc(-50% - 9px) -50%; } 40%, 80% { translate: calc(-50% + 9px) -50%; } }
.secret-fermer { position: absolute; z-index: 2; top: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: inherit; transition: background-color var(--t-micro); }
.secret-fermer:hover { background: rgba(127, 90, 60, .14); }
.secret-fermer svg { width: 18px; height: 18px; }
.secret-form { display: grid; gap: 14px; }
.secret-form[hidden] { display: none; }
.secret-question { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 28px; line-height: 1; letter-spacing: -.02em; }
.secret input[type="date"] { height: 52px; padding: 0 16px; border: 1px solid rgba(42, 26, 17, .18); border-radius: 14px; background: var(--creme); font: 500 16px/1 var(--texte); color: var(--espresso); }
.secret input[type="date"]:focus-visible { outline: 2px solid var(--croute); outline-offset: 2px; }
.secret-erreur { min-height: 1.3em; margin: -4px 0; font-size: 13.5px; color: var(--croute); }
/* la renaissance : nuit, braises qui montent, étoiles qui s'allument */
.secret.renait { width: min(440px, calc(100vw - 32px)); padding: 30px 28px 32px; background-color: #170E0A; color: var(--farine); }
.secret.renait::before { content: ''; position: absolute; inset: 0; background: radial-gradient(120% 60% at 50% 115%, rgba(214, 110, 40, .55), rgba(179, 90, 44, .15) 45%, transparent 70%); pointer-events: none; }
.secret-phenix { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.secret-phenix[hidden] { display: none; }
.secret-phenix .sur { color: var(--dore); }
.constellation { width: min(270px, 68vw); height: auto; overflow: visible; }
.constellation .fond-c { fill: rgba(248, 243, 236, .4); }
.constellation line { stroke: rgba(215, 162, 83, .7); stroke-width: .8; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: tracer .9s var(--petrin) forwards; animation-delay: calc(.7s + var(--i) * .12s); }
.constellation .etoile-c { fill: #FFF4DE; filter: drop-shadow(0 0 2.5px rgba(255, 205, 140, .95)); transform-box: fill-box; transform-origin: center; scale: 0; animation: allumer .6s var(--rebond) forwards, scintiller 2.8s ease-in-out infinite; animation-delay: calc(var(--i) * .08s), calc(1s + var(--i) * .31s); }
.constellation text { fill: rgba(215, 162, 83, .9); font: 500 6px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; opacity: 0; animation: allumer-texte .6s 1.4s forwards; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
@keyframes allumer { to { scale: 1; } }
@keyframes scintiller { 50% { opacity: .55; } }
@keyframes allumer-texte { to { opacity: 1; } }
.secret-message { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(25px, 2.4vw, 32px); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; opacity: 0; translate: 0 14px; animation: renaitre .9s var(--levee) 1.7s forwards; }
.secret-message em { font-style: italic; color: var(--dore); }
@keyframes renaitre { to { opacity: 1; translate: 0 0; } }
.braises { position: absolute; inset: 0; pointer-events: none; display: none; }
.secret.renait .braises { display: block; }
.braises i { position: absolute; left: var(--x); bottom: -8px; width: 4px; height: 4px; border-radius: 50%; background: #F5A54C; box-shadow: 0 0 7px 2px rgba(240, 130, 50, .75); opacity: 0; animation: braise 3.4s ease-in infinite; animation-delay: calc(var(--i) * .34s); }
@keyframes braise { 0% { opacity: 0; transform: none; } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx), -260px) scale(.4); } }
@media (prefers-reduced-motion: reduce) {
  .secret { transform: none; transition: opacity .3s; }
  .secret.faux { animation: none; }
  .constellation line, .constellation .etoile-c, .constellation text, .secret-message { animation: none; stroke-dashoffset: 0; scale: 1; opacity: 1; translate: none; }
  .braises { display: none !important; }
}

/* L'entrée : le cercle se trace, le texte tourne en place, le P s'écrit, le point se pose, la signature s'écrit */
@keyframes lm-trace { from { --trace: 0deg; } to { --trace: 360deg; } }
@keyframes lm-ecrit { from { --ecrit: -12%; } to { --ecrit: 130%; } }
@keyframes lm-anneau { from { opacity: 0; transform: rotate(-150deg) scale(.9); } to { opacity: 1; transform: none; } }
@keyframes lm-point { 0% { transform: scale(0); } 65% { transform: scale(1.6); } 100% { transform: scale(1); } }
.js .logo-mp:not(.anime) .lg { opacity: 0; }
.js .logo-mp.anime .lg-cercle > i { animation: lm-trace 1.25s var(--petrin) both; animation-delay: var(--intro); }
.js .logo-mp.anime .lg-anneau { animation: lm-anneau 1.7s var(--levee) both; animation-delay: calc(var(--intro) + .15s); }
.js .logo-mp.anime .lg-p > i { animation: lm-ecrit 1.15s cubic-bezier(.45, .05, .35, 1) both; animation-delay: calc(var(--intro) + .6s); }
.js .logo-mp.anime .lg-point { animation: lm-point .55s var(--rebond) both; animation-delay: calc(var(--intro) + 1.65s); }
.js .logo-mp.anime .lg-signature > i { animation: lm-ecrit 1.2s cubic-bezier(.45, .05, .35, 1) both; animation-delay: calc(var(--intro) + 1.45s); }
.vt .titre-logo .lg, .vt .titre-logo .lg > i { animation: none !important; }
.banniere-texte {
  position: absolute; z-index: 5;
  left: var(--g); bottom: clamp(32px, 6svh, 64px);
  display: grid; gap: 18px; justify-items: start;
  width: min(380px, 100% - 2 * var(--g));
}
.banniere-texte .chapo { font-size: 15.5px; }
.banniere-pied {
  position: absolute; z-index: 5; right: var(--g); bottom: clamp(32px, 6svh, 64px);
  display: flex; align-items: center; gap: 14px;
  font: 500 11px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--brun-doux);
}
.banniere-pied::after { content: ''; width: 64px; height: 1px; background: currentColor; transform-origin: left; animation: respire 2.8s var(--petrin) infinite; }
@keyframes respire { 0%, 100% { transform: scaleX(.25); } 50% { transform: scaleX(1); } }

.plan-photo { z-index: 1; }
.plan-avant { z-index: 3; }
.banniere .sucre { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.eclats { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- Appel (bande sombre de fin de page) ---------- */
.appel { display: grid; justify-items: center; gap: 28px; padding: var(--section) var(--g); text-align: center; background: var(--espresso); color: var(--creme); }
.appel .titre-section { color: var(--creme); }
.appel .titre-section em { color: var(--dore); }
.appel .sur { color: rgba(237, 227, 214, .62); }

/* ---------- Bandeau ---------- */
.bandeau { overflow: hidden; padding: 22px 0; background: var(--espresso); color: var(--creme); }
.bandeau-piste { display: flex; width: max-content; }
.bandeau-piste span { flex: none; padding: 0 28px; font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: clamp(22px, 2.4vw, 36px); white-space: nowrap; }
.bandeau-piste .etoile { padding: 0; color: var(--dore); font-size: .7em; align-self: center; }

/* ---------- Sections génériques ---------- */
.section { padding: var(--section) var(--g); }
.entete-section { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; margin-bottom: clamp(44px, 5vw, 80px); }
.entete-section > div { display: grid; gap: 20px; }
.sombre-fond { background: var(--espresso); color: var(--creme); }
.sombre-fond .titre-section { color: var(--creme); }
.sombre-fond .sur { color: rgba(237, 227, 214, .62); }
.sombre-fond .texte, .sombre-fond .chapo { color: rgba(237, 227, 214, .8); }
.sombre-fond .lien { color: var(--creme); }
.sombre-fond .titre-section em { color: var(--dore); }

/* ---------- Le champion (scène collante) ---------- */
/* --la : largeur du pain au chocolat détouré (ratio 1354 x 1216) ; --cx/--cy : où il se pose */
.champion { --la: min(46vw, 78svh); --cx: 68%; --cy: 52%; position: relative; background: var(--creme-photo); }
.champion-scene { position: relative; display: grid; gap: 32px; padding: var(--section) var(--g); }
.champion-cadre { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); }
.champion-relief, .champion-a { position: absolute; inset: 0; }
.champion-relief { z-index: 1; }
.champion-a img { width: 100%; height: 100%; object-fit: contain; }
.champion-voile, .champion-anneau, .champion-assiette, .champion-carte, .champion-note, .champion-guide { display: none; }
.champion-textes { display: grid; gap: 28px; }
.pose { display: grid; gap: 12px; }
.pose-titre { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(32px, 3.7vw, 60px); line-height: .98; letter-spacing: -.025em; color: var(--espresso); }
.pose-titre .lm { display: block; }
.pose-detail { display: inline-grid; gap: 8px; justify-self: start; font: 500 12px/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--croute); }
.pose-detail .trait { display: block; height: 1.5px; background: currentColor; transform-origin: left; }
.lm { display: block; overflow: hidden; padding: .04em 0 .14em; margin: -.04em 0 -.14em; }
.lm > span { display: inline-block; }

.js .champion-piste { height: 460vh; }
.js .champion-scene { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 0; overflow: hidden; display: block; }
.js .champion-cadre { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
/* la photo reste centrée dans la scène : le JS la déplace et l'agrandit pose après pose */
.js .champion-a { inset: auto; left: 50%; top: 50%; width: var(--la); height: calc(var(--la) * .898); margin: calc(var(--la) * -.449) 0 0 calc(var(--la) * -.5); transform-origin: 50% 50%; will-change: transform; }
.js .champion-a::before { content: ''; position: absolute; z-index: -1; left: 10%; right: 8%; bottom: 0; height: 15%; border-radius: 50%; background: radial-gradient(closest-side, rgba(42, 26, 17, .32), rgba(42, 26, 17, 0)); filter: blur(6px); }
.js .champion-voile { display: block; position: absolute; inset: 0; z-index: 2; opacity: 0; background: linear-gradient(90deg, rgba(232, 220, 205, .94) 0%, rgba(232, 220, 205, .7) 32%, rgba(232, 220, 205, 0) 58%); pointer-events: none; }
/* l'anneau entoure les deux barres de chocolat ; l'assiette reçoit le pain au chocolat à la fin */
.js .champion-anneau { display: block; position: absolute; z-index: 3; left: var(--cx); top: var(--cy); width: calc(var(--la) * .8); height: calc(var(--la) * .8); margin: calc(var(--la) * -.4) 0 0 calc(var(--la) * -.4); overflow: visible; pointer-events: none; }
.champion-anneau svg { display: block; width: 100%; height: 100%; overflow: visible; }
.champion-anneau ellipse { fill: none; stroke: var(--farine); stroke-width: .6; stroke-linecap: round; filter: drop-shadow(0 0 2px rgba(42, 26, 17, .45)); }
.js .champion-assiette { display: block; position: absolute; z-index: 0; left: var(--cx); top: var(--cy); width: calc(var(--la) * .94); height: calc(var(--la) * .94); margin: calc(var(--la) * -.47) 0 0 calc(var(--la) * -.47); border-radius: 50%; opacity: 0; background: radial-gradient(circle, #FBF8F3 0 58%, #EFE5D8 60% 63%, #F7F1E9 65% 100%); box-shadow: 0 50px 90px -40px rgba(42, 26, 17, .45), inset 0 -14px 40px rgba(42, 26, 17, .07); }
.js .champion-textes { position: absolute; z-index: 6; left: var(--g); top: 50%; translate: 0 -50%; width: min(42vw, 560px); display: grid; }
.js .pose { grid-area: 1 / 1; align-content: center; }
.js .pose:not(.active) { visibility: hidden; }
.js .champion-carte { display: block; position: absolute; z-index: 4; left: var(--cx); top: calc(var(--cy) + var(--la) * .47 + 14px); translate: -50% 0; width: calc(var(--la) * .94); padding: 0; opacity: 0; font: 500 11.5px/1.3 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--espresso); text-align: center; }
.js .champion-note { display: flex; position: absolute; z-index: 5; align-items: center; gap: 10px; opacity: 0; font: 500 12px/1 var(--texte); letter-spacing: .08em; color: var(--espresso); pointer-events: none; }
.champion-note span { padding: 10px 14px; border-radius: 999px; background: var(--farine); box-shadow: 0 10px 30px rgba(42, 26, 17, .12); white-space: nowrap; }
.champion-note::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--croute); box-shadow: 0 0 0 6px rgba(179, 90, 44, .18); }
.note-1 { left: 74%; top: 26%; }
.note-2 { left: 77%; top: 24%; }
.note-3 { left: 55%; top: 79%; }
.js .champion-guide { display: grid; position: absolute; z-index: 6; right: var(--g); top: 50%; translate: 0 -50%; gap: 12px; }
.champion-guide svg { width: 16px; height: 16px; overflow: visible; }
.champion-guide circle { fill: none; stroke-width: 1.5; }
.champion-guide .fond { stroke: rgba(42, 26, 17, .2); }
.champion-guide .plein { stroke: var(--croute); stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }

/* ---------- Créations (accueil) ---------- */
.cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 36px); }
.carte { display: grid; gap: 16px; align-content: start; padding: 14px 14px 22px; border-radius: calc(var(--rayon) + 8px); background: var(--farine); transition: transform .8s var(--levee), box-shadow .8s var(--levee); }
.carte-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); background: var(--sable); }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--levee), filter .8s; }
.carte:hover .carte-photo img { transform: scale(1.05); filter: saturate(1.12) brightness(1.04); }
.carte-bas { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 0 8px; }
.carte h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: clamp(26px, 2.2vw, 36px); line-height: 1; color: var(--espresso); margin-bottom: 6px; }
.carte p { font-size: 14.5px; color: var(--brun-doux); }
.carte .btn-rond { flex: none; width: 44px; height: 44px; }
.carte:hover .btn-rond { background: var(--espresso); color: var(--creme); }

/* ---------- Manifeste ---------- */
.manifeste { display: grid; justify-items: center; gap: 36px; padding: var(--section) var(--g); text-align: center; }
.manifeste-texte { max-width: 1100px; font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-size: clamp(32px, 4.2vw, 68px); line-height: 1.1; letter-spacing: -.02em; color: var(--espresso); text-wrap: balance; }
.manifeste-texte em { font-style: normal; color: var(--croute); }
.mot-m { display: inline; }

/* ---------- Chiffres (compteurs à rouleaux) ---------- */
.chiffres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: clamp(72px, 8vw, 120px) var(--g); background: var(--espresso); color: var(--creme); text-align: center; }
.chiffre { display: grid; gap: 14px; justify-items: center; padding: 0 20px; }
.chiffre + .chiffre { border-left: 1px solid var(--ligne-claire); }
.compteur, .annee-roule { display: inline-flex; overflow: hidden; font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-variant-numeric: lining-nums tabular-nums; line-height: 1; }
.compteur { font-size: clamp(80px, 9vw, 150px); color: var(--dore); }
.rouleau { display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.rouleau-piste { display: flex; flex-direction: column; will-change: transform; }
.rouleau-piste span { display: block; flex: none; height: 1em; line-height: 1; }
.chiffre p { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(237, 227, 214, .72); }

/* ---------- Noël (bande de saison) ---------- */
.noel-bande { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; padding: var(--section) var(--g); background: var(--nuit); color: var(--creme); overflow: hidden; }
.noel-bande .titre-section { color: var(--creme); }
.noel-bande .titre-section em { color: var(--dore); }
.noel-bande .sur { color: rgba(237, 227, 214, .62); }
.noel-bande .texte { color: rgba(237, 227, 214, .8); }
.noel-texte { position: relative; z-index: 2; display: grid; gap: 26px; justify-items: start; }
.noel-photo { position: relative; z-index: 2; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; max-width: 520px; justify-self: center; width: 100%; }
.noel-photo img { width: 100%; height: 100%; object-fit: cover; }
.noel-photo::after { content: ''; position: absolute; top: -10%; bottom: -10%; left: 50%; width: 2px; background: var(--dore); box-shadow: 0 0 18px var(--dore); transform: translateX(-50%) scaleY(0); transition: transform .7s var(--petrin); }
.noel-photo:hover::after { transform: translateX(-50%) scaleY(1); }
.sucre { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Palmarès ---------- */
.palmares .entete-section { justify-content: center; text-align: center; }
.palmares .entete-section > div { justify-items: center; }
.prix-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ligne); }
.prix { display: grid; gap: 10px; align-content: start; justify-items: center; padding: 40px 20px 8px; text-align: center; transition: background-color .5s; }
.prix + .prix { border-left: 1px solid var(--ligne); }
.annee-roule { font-size: clamp(48px, 4.6vw, 76px); color: var(--croute); }
.prix h3 { font: 600 12.5px/1.3 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); }
.prix p { font-size: 15px; color: var(--brun-doux); }
.palmares .actions { justify-content: center; margin-top: 48px; }

/* ---------- Duo texte + photo (artisan, boutique) ---------- */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: center; padding: var(--section) var(--g); }
.duo-texte { display: grid; gap: 26px; justify-items: start; }
.duo-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; background: var(--sable); }
.duo-photo img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.duo-inverse .duo-texte { order: 2; }
.coordonnees { display: grid; width: 100%; max-width: 520px; border-top: 1px solid var(--ligne); }
.coordonnees div { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--ligne); }
.coordonnees dt { padding-top: 3px; font: 500 11.5px/1.3 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--brun-doux); }
.coordonnees dd { color: var(--espresso); }
.statut { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: var(--farine); font: 500 12px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); }
.statut::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--croute); box-shadow: 0 0 0 5px rgba(179, 90, 44, .18); }

/* ---------- Horloge du fournil (accueil) ---------- */
.horloge {
  position: fixed; z-index: 40; left: calc(var(--g) / 2); top: 50%; transform: translate(-50%, -50%) rotate(-90deg);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(248, 243, 236, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(42, 26, 17, .12);
  font: 500 12px/1 var(--texte); letter-spacing: .08em; color: var(--espresso);
  opacity: 0; translate: 0 12px; pointer-events: none;
  transition: opacity .6s var(--levee), translate .6s var(--levee);
}
.horloge.visible { opacity: 1; translate: 0 0; }
.horloge-heure { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 17px; letter-spacing: 0; font-variant-numeric: tabular-nums; color: var(--croute); }
.horloge-pastille { width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(var(--croute) calc(var(--h, 0) * 1turn), rgba(179, 90, 44, .16) 0); -webkit-mask: radial-gradient(circle, transparent 5px, #000 5.5px); mask: radial-gradient(circle, transparent 5px, #000 5.5px); }
.lueur { position: fixed; inset: auto 0 0; z-index: 30; height: 70vh; pointer-events: none; opacity: 0; background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(215, 162, 83, .38), rgba(215, 162, 83, 0) 70%); mix-blend-mode: multiply; }

/* ---------- Pied de page ---------- */
.pied { position: relative; padding: clamp(80px, 9vw, 140px) var(--g) 28px; background: var(--espresso); color: var(--creme); overflow: hidden; }
.pied-colonnes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: clamp(56px, 6vw, 96px); padding: 44px 0; border-top: 1px solid var(--ligne-claire); border-bottom: 1px solid var(--ligne-claire); }
.pied-colonnes .sur { color: rgba(237, 227, 214, .55); margin-bottom: 14px; }
.pied-colonnes a, .pied-colonnes p:not(.sur) { display: block; width: fit-content; font-size: 15px; line-height: 1.9; color: rgba(237, 227, 214, .82); }
.pied-colonnes a:hover { color: var(--dore); }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding-top: 24px; font-size: 12px; letter-spacing: .08em; color: rgba(237, 227, 214, .5); }
.pied-bas a:hover { color: var(--dore); }

/* ---------- Savoir-faire : les gestes ---------- */
.gestes { position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 0 clamp(32px, 5vw, 80px); padding: 0 var(--g); transition: background-color .2s; }
.gestes-photos { display: none; }
.geste { display: grid; align-content: center; gap: 22px; min-height: 100vh; padding: 80px 0; }
.geste-n { font: 500 12px/1 var(--texte); letter-spacing: .18em; text-transform: uppercase; color: var(--croute); }
.geste-mot { position: relative; justify-self: start; font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100; text-transform: uppercase; font-size: clamp(64px, 11vw, 190px); line-height: .86; letter-spacing: -.035em; color: var(--espresso); white-space: nowrap; }
.geste .texte { max-width: 44ch; }
.geste-photo { aspect-ratio: 4 / 3; max-width: 560px; border-radius: var(--rayon); overflow: hidden; }
.geste-photo img { width: 100%; height: 100%; object-fit: cover; }
.geste-mot .l { display: inline-block; transform-origin: 50% 100%; }
.mot-tourer .base, .mot-grigner .base { visibility: hidden; }
.mot-tourer .couche { position: absolute; inset: 0; clip-path: inset(calc(var(--k) * 25%) 0 calc((3 - var(--k)) * 25%) 0); }
.mot-grigner .bas, .mot-grigner .haut { position: absolute; inset: 0; }
.mot-grigner .bas { clip-path: polygon(0 74%, 100% 34%, 100% 100%, 0 100%); }
.mot-grigner .haut { clip-path: polygon(0 0, 100% 0, 100% 34%, 0 74%); transform: translate(.04em, -.05em); }
.mot-grigner svg { position: absolute; inset: -8% -4%; width: 108%; height: 116%; overflow: visible; pointer-events: none; }
.mot-grigner line { stroke: var(--croute); stroke-width: 3; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; opacity: .5; }
.mot-cuire .l { color: var(--croute); }
.js .gestes-photos { display: block; position: sticky; top: 12vh; height: 76vh; margin-top: 12vh; border-radius: var(--rayon); overflow: hidden; background: var(--sable); }
.gestes-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.gestes-photos img:first-child { opacity: 1; }
.js .geste-photo { display: none; }
.guide { position: fixed; z-index: 40; left: 18px; top: 50%; translate: 0 -50%; display: grid; gap: 14px; opacity: 0; pointer-events: none; transition: opacity .5s var(--levee); }
.guide.visible { opacity: 1; pointer-events: auto; }
.guide a { display: flex; align-items: center; gap: 10px; font: 500 10.5px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--brun-doux); }
.guide a span { opacity: 0; translate: -6px 0; transition: opacity .3s, translate .3s var(--levee); }
.guide a:hover span, .guide a:focus-visible span { opacity: 1; translate: 0 0; color: var(--espresso); padding: 4px 8px; border-radius: 999px; background: var(--farine); }
.guide svg { width: 14px; height: 14px; overflow: visible; }
.guide circle { fill: none; stroke-width: 1.5; }
.guide .fond { stroke: rgba(42, 26, 17, .22); }
.guide .plein { stroke: var(--croute); stroke-dasharray: 1; stroke-dashoffset: 1; transform: rotate(-90deg); transform-origin: center; transform-box: fill-box; }

/* ---------- Créations : la vitrine ---------- */
.sommaire-page { position: sticky; top: 74px; z-index: 30; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; padding: 14px var(--g); }
.sommaire-page a { padding: 10px 18px; border-radius: 999px; background: rgba(248, 243, 236, .8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 12px/1 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--espresso); transition: background-color .4s, color .4s; }
.sommaire-page a.active, .sommaire-page a:hover { background: var(--espresso); color: var(--creme); }
.categorie { padding: clamp(72px, 8vw, 128px) 0; }
.categorie .entete-section { padding: 0 var(--g); }
.categorie + .categorie { border-top: 1px solid var(--ligne); }
/* la vitrine défile nativement ; ses bords s'estompent là où il reste des produits à voir */
@property --fondu-g { syntax: '<length>'; inherits: false; initial-value: 0px; }
@property --fondu-d { syntax: '<length>'; inherits: false; initial-value: 0px; }
.comptoir {
  position: relative; overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--g); overscroll-behavior-x: contain;
  scrollbar-width: none; touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fondu-g), #000 calc(100% - var(--fondu-d)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fondu-g), #000 calc(100% - var(--fondu-d)), transparent);
  transition: --fondu-g .45s, --fondu-d .45s;
}
.comptoir::-webkit-scrollbar { display: none; }
.comptoir.a-gauche { --fondu-g: clamp(24px, 5vw, 80px); }
.comptoir.a-droite { --fondu-d: clamp(36px, 8vw, 130px); }
.comptoir:focus-visible { outline: 2px solid var(--croute); outline-offset: -2px; }
.comptoir.indice { scroll-snap-type: none; }
@media (hover: hover) and (pointer: fine) {
  .js .comptoir { cursor: grab; }
  .js .comptoir.agrippe { cursor: grabbing; scroll-snap-type: none; -webkit-user-select: none; user-select: none; }
  .js .comptoir.agrippe .produit { pointer-events: none; }
}
.comptoir-piste { display: flex; gap: clamp(14px, 1.6vw, 24px); width: max-content; padding: 0 var(--g) 10px; }
.produit { flex: none; display: grid; gap: 12px; width: clamp(230px, 23vw, 330px); text-align: left; scroll-snap-align: start; }
.produit-photo { aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; background: var(--sable); transform: skewX(var(--incl, 0deg)); transition: transform .3s ease-out; }
.produit-photo img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 1.1s var(--levee); }
.produit:hover .produit-photo img, .produit:focus-visible .produit-photo img { transform: scale(1.05); }
.produit h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: 25px; line-height: 1.05; color: var(--espresso); }
.produit p { font-size: 14px; color: var(--brun-doux); }
.produit .prime { display: inline-block; margin-top: 4px; padding: 5px 10px; border-radius: 999px; background: var(--croute); color: var(--farine); font: 500 10.5px/1.2 var(--texte); letter-spacing: .1em; text-transform: uppercase; }
.produit-texte { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; border-radius: var(--rayon); background: var(--sable); }
.produit .produit-initiale { flex: 1; font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100; font-size: clamp(110px, 10vw, 170px); line-height: .8; color: var(--croute); }
.categorie .entete-section .texte { max-width: 32ch; }
/* sous la vitrine : l'aide, la barre de progression, le compteur, les flèches */
.comptoir-commandes { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); padding: 22px var(--g) 0; }
.comptoir-commandes.inutile { display: none; }
.comptoir-aide { display: flex; align-items: center; gap: 8px; max-width: 260px; overflow: hidden; white-space: nowrap; font: 500 11.5px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--croute); transition: opacity .5s, max-width .7s var(--levee), margin .7s var(--levee); }
.comptoir-aide::before { content: ''; flex: none; width: 26px; height: 10px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5h24M5 1L1 5l4 4M21 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 5h24M5 1L1 5l4 4M21 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat; animation: aide-va 1.8s ease-in-out infinite; }
@keyframes aide-va { 50% { transform: translateX(5px); } }
.comptoir-aide.vue { opacity: 0; max-width: 0; margin-right: calc(-1 * clamp(12px, 1.6vw, 22px)); }
.comptoir-barre { position: relative; flex: 1; min-width: 60px; height: 2px; border-radius: 2px; background: var(--ligne); overflow: hidden; }
.comptoir-barre i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 2px; background: var(--croute); }
.comptoir-compteur { min-width: 58px; text-align: right; font: 500 12px/1 var(--texte); letter-spacing: .12em; font-variant-numeric: tabular-nums; color: var(--brun-doux); }
.comptoir-compteur span { color: var(--espresso); }
.comptoir-commandes .btn-rond { flex: none; }
.comptoir-commandes .btn-rond:disabled { opacity: .28; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .comptoir-aide::before { animation: none; } }
@media (max-width: 760px) { .comptoir-compteur { display: none; } .comptoir-commandes .btn-rond { width: 46px; height: 46px; } }
.fiche { position: fixed; inset: 0; z-index: 80; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--creme); }
.fiche[hidden] { display: none; }
.fiche-photo { position: relative; overflow: hidden; }
.fiche-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 0 0; }
.fiche-infos { display: grid; align-content: center; justify-items: start; gap: 22px; padding: clamp(32px, 6vw, 96px); }
.fiche-infos > * { opacity: 0; translate: 0 20px; transition: opacity .5s, translate .7s var(--levee); }
.fiche.ouverte .fiche-infos > * { opacity: 1; translate: 0 0; }
.fiche.ouverte .fiche-infos > :nth-child(2) { transition-delay: .07s; }
.fiche.ouverte .fiche-infos > :nth-child(3) { transition-delay: .14s; }
.fiche.ouverte .fiche-infos > :nth-child(4) { transition-delay: .21s; }
.fiche-fermer { position: absolute; top: 22px; right: 22px; z-index: 6; }

/* ---------- Clin d'œil : les étoiles de l'« Édition spéciale » ---------- */
.ciel-etoiles { position: absolute; inset: 0; z-index: 4; overflow: hidden; pointer-events: none; opacity: 0; transition: opacity .4s; }
.ciel-etoiles.visible { opacity: 1; }
.etoile-jeu { position: absolute; left: 0; top: 0; width: 66px; height: 66px; padding: 3px; border: 0; background: none; pointer-events: auto; cursor: pointer; will-change: transform; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .35)); }
.etoile-jeu svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.etoile-jeu path { stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; }
.etoile-jeu.bleue { color: #1D4FD8; }
.etoile-jeu.rouge { color: #E2242E; }
.etoile-jeu:focus-visible { outline: 2px solid var(--espresso); outline-offset: 2px; border-radius: 50%; }
.etoile-jeu.prise { cursor: default; }
.etoile-jeu.prise svg { animation: attrapee .5s var(--levee) forwards; }
@keyframes attrapee { 40% { transform: scale(1.7); } 100% { transform: scale(2.3); opacity: 0; } }
.etoiles-compte { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; padding: 11px 18px; border-radius: 999px; background: var(--espresso); color: var(--creme); font: 500 12px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .5); transition: opacity .3s; }
.etoiles-compte span { color: var(--dore); font-weight: 600; }
.etoiles-compte.fini { opacity: 0; }
.question-etoiles {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: min(430px, calc(100% - 32px)); display: grid; gap: 14px; padding: 28px 26px 24px;
  border-radius: 28px; background: var(--espresso); color: var(--creme);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .65); pointer-events: auto;
  opacity: 0; transform: scale(.85); transition: opacity .3s, transform .6s var(--rebond);
}
.question-etoiles.visible { opacity: 1; transform: none; }
.question-etoiles.faux { animation: secouer .45s; }
.question-etoiles .sur { color: var(--dore); }
.question-titre { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.04; letter-spacing: -.015em; text-wrap: balance; }
.question-ligne { display: flex; gap: 10px; }
.question-ligne input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border: 1px solid rgba(237, 227, 214, .3); border-radius: 999px; background: rgba(237, 227, 214, .08); color: var(--creme); font: 600 20px/1 var(--texte); }
.question-ligne input:focus-visible { outline: 2px solid var(--dore); outline-offset: 2px; }
.question-etoiles .btn { background: var(--croute); }
.question-etoiles .btn:hover { background: var(--dore); color: var(--espresso); }
.question-retour { min-height: 1.3em; margin-top: -4px; font-size: 14px; color: #F2A27E; }
.question-etoiles.gagne { justify-items: center; text-align: center; padding: 30px 26px 30px; }
.question-etoiles-gagnees { display: flex; gap: 14px; color: var(--dore); }
.question-etoiles-gagnees svg { width: 64px; height: 64px; fill: currentColor; filter: drop-shadow(0 0 14px rgba(215, 162, 83, .7)); scale: 0; animation: allumer .7s var(--rebond) forwards; }
.question-etoiles-gagnees svg:nth-child(2) { animation-delay: .15s; }
.question-texte { color: rgba(237, 227, 214, .8); }
@media (prefers-reduced-motion: reduce) {
  .question-etoiles { transform: none; transition: opacity .3s; }
  .question-etoiles.faux { animation: none; }
  .question-etoiles-gagnees svg { animation: none; scale: 1; }
  .etoile-jeu.prise svg { animation-duration: .01s; }
}

.anatomie { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; padding: var(--section) var(--g); background: var(--creme-photo); }
.anatomie-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; }
.anatomie-photo img { width: 100%; height: 100%; object-fit: cover; }
.anatomie-photo svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.anatomie-photo ellipse, .anatomie-photo path { fill: none; stroke: var(--farine); stroke-width: .35; stroke-linecap: round; }
.anatomie-liste { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.anatomie-liste li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--ligne); }
.anatomie-liste .n { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 30px; line-height: 1; color: var(--croute); }
.anatomie-liste h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: 28px; line-height: 1.05; color: var(--espresso); margin-bottom: 6px; }

/* ---------- Récompenses : la frise ---------- */
.frise { position: relative; padding: var(--section) var(--g); }
.frise-bande { display: grid; gap: 0; border-top: 1px solid var(--ligne); }
.an { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px 48px; align-items: end; padding: 40px 0; border-bottom: 1px solid var(--ligne); }
.an-annee { font-family: var(--display); font-weight: 900; font-variation-settings: 'SOFT' 100; font-size: clamp(88px, 13vw, 220px); line-height: .82; letter-spacing: -.04em; color: var(--croute); }
.an h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: clamp(30px, 3vw, 48px); line-height: 1; color: var(--espresso); margin-bottom: 10px; }
.an p { color: var(--brun); max-width: 40ch; }
.js .frise.horizontale { padding: 0; }
/* --n : nombre d'années sur la frise ; la piste s'allonge avec elles */
.js .frise.horizontale .frise-piste { height: calc(100vh + var(--n, 5) * 62vh); }
.js .frise.horizontale .frise-scene { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: center; padding: 90px 0 40px; }
.js .frise.horizontale .entete-section { padding: 0 var(--g); margin-bottom: 4vh; }
.js .frise.horizontale .frise-bande { display: flex; width: max-content; gap: 0; border: 0; padding: 0 var(--g); }
.js .frise.horizontale .an { width: min(52vw, 700px); flex: none; grid-template-columns: 1fr; align-content: end; padding: 0 5vw 0 0; border: 0; }
.js .frise.horizontale .an-annee { font-size: clamp(80px, 11vw, 190px); }
.frise-ligne { display: none; }
.js .frise.horizontale .frise-ligne { display: block; height: 2px; margin: 5vh var(--g) 0; background: rgba(42, 26, 17, .12); }
.frise-ligne i { display: block; height: 100%; background: var(--croute); transform-origin: left; transform: scaleX(0); }
.frise, .frise .an-annee, .frise .an h3, .frise .an p, .frise .titre-section, .frise .titre-section em, .frise .sur { transition: background-color .8s var(--petrin), color .8s var(--petrin); }
.frise.doree { background: var(--croute); }
.frise.doree .titre-section em { color: var(--farine); }
.frise.doree .an-annee, .frise.doree .an h3, .frise.doree .titre-section { color: var(--farine); }
.frise.doree .an p, .frise.doree .sur { color: rgba(248, 243, 236, .85); }
.frise.doree .frise-ligne { background: rgba(248, 243, 236, .25); }
.frise.doree .frise-ligne i { background: var(--farine); }

/* ---------- Fabrice Pottier : le parcours ---------- */
.parcours { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); padding: var(--section) var(--g); }
.parcours-titre { display: grid; gap: 22px; align-content: start; position: sticky; top: 120px; align-self: start; }
.etapes { position: relative; }
.etapes::before { content: ''; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1px; background: var(--ligne); }
.etapes-trait { position: absolute; left: 7px; top: 10px; bottom: 10px; width: 1.5px; padding: 0; background: var(--croute); transform-origin: top; transform: scaleY(0); }
html:not(.js) .etapes-trait { transform: none; }
.etape { position: relative; padding: 0 0 56px 52px; }
.etape:last-child { padding-bottom: 0; }
.etape::before { content: ''; position: absolute; left: 0; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--creme); border: 1.5px solid var(--croute); transition: background-color .5s; }
.etape.allumee::before { background: var(--croute); }
.etape .quand { display: block; margin-bottom: 8px; font: 500 11.5px/1.3 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--croute); }
.etape h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; color: var(--espresso); margin-bottom: 10px; }

/* ---------- Noël : commande ---------- */
.commande-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--ligne-claire); }
.commande-etapes li { display: grid; gap: 12px; align-content: start; padding: 40px 32px 8px 0; transition: opacity .6s; }
.commande-etapes li + li { padding-left: 32px; border-left: 1px solid var(--ligne-claire); }
.commande-etapes .n { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 52px; line-height: 1; color: var(--dore); }
.commande-etapes h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: 32px; line-height: 1; color: var(--creme); }
.commande-etapes p { color: rgba(237, 227, 214, .78); }
.commande .actions { margin-top: 48px; }

/* ---------- Noël : la carte (d'après la brochure des fêtes, redessinée) ----------
   Une carte « papier » crème posée sur un fond semé de points dorés, double filet doré
   comme une carte de restaurant ; les pains se choisissent selon le plat servi. */
.carte-noel {
  padding: var(--section) var(--g);
  background:
    radial-gradient(rgba(215, 162, 83, .5) 1.2px, transparent 1.8px) 0 0 / 38px 38px,
    radial-gradient(rgba(215, 162, 83, .28) 1px, transparent 1.6px) 19px 19px / 38px 38px,
    var(--sable);
}
.carte-papier {
  position: relative; max-width: 1240px; margin: 0 auto;
  padding: clamp(44px, 6vw, 96px) clamp(26px, 5.5vw, 92px);
  background: var(--farine); border-radius: var(--rayon);
  box-shadow: 0 50px 90px -50px rgba(42, 26, 17, .45);
}
.carte-papier::before, .carte-papier::after { content: ''; position: absolute; pointer-events: none; border-radius: calc(var(--rayon) - 10px); }
.carte-papier::before { inset: 12px; border: 1px solid rgba(215, 162, 83, .75); }
.carte-papier::after { inset: 17px; border: 1px solid rgba(215, 162, 83, .35); }
.carte-tete { display: grid; justify-items: center; gap: 24px; text-align: center; }
.carte-tete .sur { justify-content: center; }
.carte-tete .texte { max-width: 58ch; }
.carte-infos { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }
.carte-infos li { display: grid; gap: 6px; padding: 14px 24px; border-radius: 18px; background: var(--creme); }
.carte-infos span { font: 500 10.5px/1.2 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--brun-doux); }
.carte-infos strong { font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 19px; line-height: 1.15; color: var(--espresso); }
.carte-infos a:hover strong { color: var(--croute); }
.carte-sommaire { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: clamp(44px, 5vw, 68px) 0; padding: 14px 0; border-block: 1px solid var(--ligne); }
.carte-sommaire a { padding: 10px 16px; border-radius: 999px; font: 500 11.5px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--espresso); transition: background-color var(--t-micro) var(--petrin), color var(--t-micro); }
.carte-sommaire a:hover { background: var(--espresso); color: var(--creme); }
.carte-rubrique { scroll-margin-top: 110px; }
.carte-titre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px 24px; padding-bottom: 18px; margin-bottom: 26px; border-bottom: 1.5px solid var(--espresso); }
.carte-titre h3, .carte-aussi h3 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100, 'WONK' 1; letter-spacing: -.02em; color: var(--espresso); }
.carte-titre h3 { font-size: clamp(32px, 3.6vw, 52px); line-height: 1; }
.carte-titre h3::before { content: '✦'; display: inline-block; margin-right: .38em; font-size: .42em; vertical-align: .32em; color: var(--dore); }
.carte-sous { display: flex; align-items: baseline; gap: 14px; font: 500 11.5px/1.3 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--brun-doux); }
.tarif { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: 32px; line-height: 1; letter-spacing: -.01em; text-transform: none; color: var(--croute); }

.buches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.buche { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 26px 24px; border-radius: 20px; background: var(--creme); transition: background-color .5s var(--petrin); }
.buche:hover { background: var(--sable); }
.buche-n { font-family: var(--display); font-weight: 800; font-variation-settings: 'SOFT' 100; font-size: 15px; line-height: 1; color: var(--croute); }
.buche h4 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100, 'WONK' 1; font-size: clamp(25px, 2.2vw, 31px); line-height: 1.04; letter-spacing: -.015em; color: var(--espresso); }
.buche p { font-size: 14.5px; line-height: 1.6; }
.buche-lien { margin-top: auto; padding: 10px 0 4px; border-bottom: 1px solid currentColor; font: 500 11.5px/1 var(--texte); letter-spacing: .14em; text-transform: uppercase; color: var(--croute); }
.buche-lien::after { content: '→'; display: inline-block; margin-left: 8px; transition: transform var(--t-micro) var(--petrin); }
.buche-lien:hover::after { transform: translateX(4px); }
/* la série limitée : une grande carte (deux colonnes sur deux rangées), photo à gauche */
.buche-limitee {
  grid-column: 1 / span 2; grid-row: 1 / span 2;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch; gap: 0; padding: 0;
  background: var(--espresso); color: rgba(237, 227, 214, .8); overflow: hidden;
}
.buche-limitee:hover { background: var(--nuit); }
.buche-limitee::before { content: ''; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(rgba(215, 162, 83, .35), transparent 68%); pointer-events: none; }
.buche-photo { position: relative; min-height: 340px; overflow: hidden; background: var(--nuit); }
.buche-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform 1.2s var(--levee); }
.buche-limitee:hover .buche-photo img { transform: scale(1.04); }
.buche-texte { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(28px, 3vw, 40px); }
.buche-limitee h4 { margin-top: auto; font-size: clamp(32px, 3.2vw, 46px); color: var(--creme); }
.buche-limitee .buche-n { position: absolute; right: 24px; top: 22px; font-size: 26px; color: var(--dore); animation: scintiller 2.6s ease-in-out infinite; }
.buche .buche-badge { padding: 7px 12px; border: 1px solid var(--dore); border-radius: 999px; font: 500 10.5px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: var(--dore); }
.buche-limitee .tarif { font-size: clamp(42px, 4vw, 56px); color: var(--dore); }
.buche-limitee .buche-lien { margin-top: 10px; }
.tarifs-photo { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 8vw, 120px); gap: 22px; align-items: center; }
.tarifs-photo .tarifs { order: -1; }
.carte-vignette { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--creme-photo); }
.carte-vignette img { width: 100%; height: 100%; object-fit: cover; }
.buche-limitee .buche-lien { color: var(--dore); }

.carte-colonnes { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(44px, 6vw, 100px); align-items: start; margin-top: clamp(60px, 7vw, 104px); }
.carte-colonne { display: grid; gap: clamp(52px, 5.5vw, 80px); }
.tarifs { display: grid; gap: 18px; }
.tarifs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.tarifs-nom, .tarifs-prix { font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 21px; line-height: 1.25; color: var(--espresso); }
.tarifs-prix { font-weight: 700; color: var(--croute); white-space: nowrap; }
.tarifs small { margin-left: 4px; font: 400 13px/1 var(--texte); color: var(--brun-doux); }
.tarifs-points { flex: 1 1 28px; min-width: 28px; border-bottom: 2px dotted rgba(42, 26, 17, .26); transform: translateY(-5px); }
.tarifs-detail { flex-basis: 100%; font-size: 14.5px; line-height: 1.55; color: var(--brun); }
.parfums { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.parfums li { padding: 8px 14px; border-radius: 999px; background: var(--creme); font-size: 14px; line-height: 1.3; color: var(--espresso); }

.carte-photo { aspect-ratio: 16 / 9; margin-bottom: 26px; border-radius: 20px; overflow: hidden; background: var(--creme-photo); }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; }
.accords { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.accords-titre { flex-basis: 100%; margin-bottom: 4px; font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 21px; color: var(--espresso); }
.accords button { padding: 10px 15px; border: 1px solid var(--ligne); border-radius: 999px; font: 500 13px/1 var(--texte); color: var(--espresso); transition: background-color var(--t-micro) var(--petrin), color var(--t-micro), border-color var(--t-micro); }
.accords button:hover { border-color: var(--espresso); }
.accords button[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: var(--creme); }
.accords-compte { min-height: 1.6em; margin: 16px 0 6px; font-size: 14px; color: var(--brun-doux); }
.pains-liste li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding: 12px 2px; border-bottom: 1px solid var(--ligne); transition: opacity .45s var(--petrin); }
.pains-liste li:first-child { border-top: 1px solid var(--ligne); }
.pain-nom { font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 19px; line-height: 1.25; color: var(--espresso); }
.pain-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.pain-tags i { padding: 5px 10px; border-radius: 999px; background: var(--creme); font: 500 11px/1.2 var(--texte); font-style: normal; letter-spacing: .03em; color: var(--brun); transition: background-color var(--t-micro), color var(--t-micro); }
.pain-tags i[data-t="noel"] { padding: 4px 9px; border: 1px solid var(--dore); background: none; color: var(--croute); }
.pains-liste.filtre li:not(.choisi) { opacity: .26; }
.pains-liste li.choisi i.vise { background: var(--croute); color: var(--farine); }

.carte-aussi { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(60px, 7vw, 104px); }
.carte-aussi > div { display: grid; gap: 10px; align-content: start; padding: 30px 32px; border-radius: 20px; background: var(--creme); }
.carte-aussi h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.1; }
.carte-pied { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 18px 30px; margin-top: clamp(48px, 6vw, 80px); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); padding: var(--section) var(--g); }
.contact-infos { display: grid; gap: 26px; align-content: start; justify-items: start; }
.horaires { width: 100%; max-width: 520px; border-top: 1px solid var(--ligne); }
.horaires div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 14px; border-bottom: 1px solid var(--ligne); border-radius: 12px; transition: background-color .5s; }
.horaires div.aujourdhui { background: var(--farine); }
.horaires dt { font-family: var(--display); font-weight: 600; font-variation-settings: 'SOFT' 100; font-size: 20px; color: var(--espresso); }
.horaires dd { color: var(--brun); }
.formulaire { display: grid; gap: 22px; align-content: start; padding: clamp(28px, 4vw, 56px); border-radius: calc(var(--rayon) + 8px); background: var(--farine); }
.champ { position: relative; display: grid; }
.champ label { position: absolute; left: 0; top: 16px; font-size: 16px; color: var(--brun-doux); pointer-events: none; transform-origin: left top; transition: transform .45s var(--levee), color .3s; }
.champ input, .champ textarea, .champ select { width: 100%; padding: 16px 0 10px; font: 400 17px/1.4 var(--texte); color: var(--espresso); background: transparent; border: 0; border-bottom: 1px solid rgba(42, 26, 17, .25); border-radius: 0; outline: none; }
.champ textarea { min-height: 130px; resize: vertical; }
.champ::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--croute); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--levee); }
.champ:focus-within::after { transform: scaleX(1); }
.champ:focus-within label, .champ.rempli label, .champ-select label { transform: translateY(-20px) scale(.78); color: var(--croute); }
.champ.erreur { animation: secoue .45s var(--petrin); }
.champ.erreur::after { transform: scaleX(1); background: #A63A20; }
@keyframes secoue { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.formulaire .btn { justify-self: start; }
/* le téléphone : facultatif pour une question, obligatoire pour une commande */
.champ-tel { margin-bottom: 14px; }
.champ-aide { position: absolute; left: 0; top: 100%; margin-top: 6px; font-size: 12.5px; line-height: 1.2; color: var(--brun-doux); transition: color .3s; }
.champ-etoile { display: none; color: var(--croute); }
.champ.requis .champ-etoile { display: inline; }
.champ.requis .champ-aide { color: var(--croute); }
.champ.erreur .champ-aide { color: #A63A20; }
.formulaire-note.alerte { color: #A63A20; }
.champ-piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire { position: relative; }
.formulaire .btn:disabled { opacity: .6; pointer-events: none; }
.formulaire .btn.envoye { background: var(--croute); }
.formulaire-note { font-size: 14px; color: var(--brun-doux); }

/* ---------- Pages simples ---------- */
.texte-legal { padding: 150px var(--g) var(--section); }
.texte-legal > div { max-width: 760px; margin: 0 auto; display: grid; gap: 18px; }
.texte-legal h2 { font-family: var(--display); font-weight: 700; font-variation-settings: 'SOFT' 100; font-size: 30px; color: var(--espresso); margin-top: 24px; }
.erreur-page { min-height: 100svh; display: grid; justify-items: center; align-content: center; gap: 24px; padding: 120px var(--g); text-align: center; }
.erreur-page .geste-mot { font-size: clamp(120px, 26vw, 360px); color: var(--croute); }

/* ---------- Ouverture : le logo tourne doucement, puis tout explose ---------- */
html.four::after { content: ''; position: fixed; inset: 0; z-index: 200; background: var(--nuit); }
.ouverture {
  position: fixed; inset: 0; z-index: 201;
  display: grid; place-items: center;
  background: radial-gradient(70% 60% at 50% 45%, #2B1C14, var(--nuit) 70%); color: var(--creme);
  --r: 0px; --cx: 50%; --cy: 45%;
  -webkit-mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--r), #000 calc(var(--r) + 1px));
  mask: radial-gradient(circle at var(--cx) var(--cy), transparent var(--r), #000 calc(var(--r) + 1px));
}
.ouverture-logo { height: min(50vh, 68vw); width: auto; color: var(--creme); opacity: 0; filter: drop-shadow(0 0 30px rgba(215, 162, 83, .25)); }
/* le logo de l'ouverture est déjà dessiné : pas d'animation d'entrée pour ses pièces */
html .ouverture .logo-mp.anime .lg, html .ouverture .logo-mp.anime .lg > i { animation: none; }
.ouverture-passer { position: absolute; right: var(--g); bottom: 26px; font: 500 11px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; color: rgba(237, 227, 214, .5); }
.ouverture-flash { position: fixed; z-index: 204; width: 70vmax; height: 70vmax; margin: -35vmax 0 0 -35vmax; border-radius: 50%; background: radial-gradient(circle, rgba(255, 240, 214, .95), rgba(215, 162, 83, .5) 28%, rgba(179, 90, 44, 0) 62%); pointer-events: none; opacity: 0; }
.ouverture-onde { position: fixed; z-index: 204; width: 80px; height: 80px; margin: -40px 0 0 -40px; border-radius: 50%; border: 1.5px solid var(--dore); box-shadow: 0 0 24px rgba(215, 162, 83, .8), inset 0 0 18px rgba(215, 162, 83, .5); pointer-events: none; opacity: 0; }
.ouverture-eclats { position: fixed; inset: 0; z-index: 205; width: 100%; height: 100%; pointer-events: none; }

/* ---------- Rideau (navigateurs sans transition native) ---------- */
.rideau { position: fixed; inset: 0; z-index: 150; background: var(--espresso); transform: translateY(101%); pointer-events: none; }
.sortie .rideau { transform: none; transition: transform .4s var(--petrin); }

/* ---------- Curseur contextuel ---------- */
.curseur { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; }
.curseur span { position: absolute; display: grid; place-items: center; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: var(--espresso); color: var(--creme); font: 500 10.5px/1 var(--texte); letter-spacing: .16em; text-transform: uppercase; transform: scale(0); transition: transform var(--t-micro) var(--rebond); }
.curseur.actif span { transform: scale(1); }

/* ---------- Transitions entre les pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-sortie .35s ease-in both; }
::view-transition-new(root) { animation: vt-entree .8s var(--levee) .1s both; }
::view-transition-group(logo-titre), ::view-transition-group(banniere) { animation-duration: .9s; animation-timing-function: var(--petrin); }
::view-transition-old(banniere), ::view-transition-new(banniere) { height: 100%; object-fit: cover; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-28px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(40px); } }

/* ---------- Entrées de bannière (CSS : compatibles avec la transition native) ---------- */
@keyframes lettre { from { transform: translateY(105%) rotate(8deg); } to { transform: none; } }
@keyframes monte { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes plaque { from { clip-path: inset(100% 0 0 0 round 40px); transform: scale(1.08); } to { clip-path: inset(0 0 0 0 round 40px); transform: none; } }
.js .banniere-texte > *, .js .banniere-pied { animation: monte .9s var(--levee) both; animation-delay: calc(var(--intro) + .5s + var(--n, 0) * .08s); }
.js .banniere:not(.banniere-accueil) .banniere-photo img { animation: plaque 1.3s var(--levee) both; animation-delay: calc(var(--intro) + .1s); }
.js .banniere-accueil .plan-photo, .js .banniere-avant { animation: monte 1.2s var(--levee) both; animation-delay: var(--intro); }
.avec-four .banniere-accueil .plan-photo, .avec-four .banniere-avant { animation: none; }
.vt .banniere-texte > *, .vt .banniere-pied, .vt .banniere-photo img, .vt .plan-photo, .vt .banniere-avant { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .banniere-pied::after { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .nav, .entete .btn { display: none; }
  .burger { display: block; }
}

/* deux colonnes encore étroites : la vignette des macarons laisserait trop peu de place aux prix */
@media (min-width: 901px) and (max-width: 1250px) {
  .tarifs-photo { grid-template-columns: 1fr; }
  .carte-vignette { display: none; }
}

@media (max-width: 900px) {
  .cartes { grid-template-columns: 1fr; max-width: 480px; }
  .prix-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prix:nth-child(3) { border-left: 0; }
  .prix:nth-child(n+3) { border-top: 1px solid var(--ligne); }
  .duo, .noel-bande, .anatomie, .contact, .parcours { grid-template-columns: 1fr; }
  .duo-inverse .duo-texte { order: 0; }
  .parcours-titre { position: static; }
  .pied-colonnes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gestes { grid-template-columns: 1fr; }
  .js .gestes-photos { display: none; }
  .js .geste-photo { display: block; }
  .geste { min-height: 0; padding: 72px 0; }
  .commande-etapes { grid-template-columns: 1fr; }
  .commande-etapes li, .commande-etapes li + li { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--ligne-claire); }
  .buches { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .buche-limitee { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .buches .buche:nth-child(5) { grid-column: 1 / -1; }
  .carte-colonnes, .carte-aussi { grid-template-columns: 1fr; }
  .fiche { grid-template-columns: 1fr; grid-template-rows: 46svh auto; overflow-y: auto; }
  .an { grid-template-columns: 1fr; }
}

@media (min-width: 761px) and (max-aspect-ratio: 1 / 1) {
  .banniere .titre-logo { height: min(44vw, var(--logo-max, 100vh)); }
  .banniere-accueil .banniere-photo, .banniere-accueil .banniere-avant { --lp: 76vw; top: 56%; left: 64%; }
  .banniere:not(.banniere-accueil) .banniere-photo { --lp: 50vw; left: 71%; top: 60%; }
  .banniere-texte { width: min(380px, 40vw); }
}

@media (max-width: 760px) {
  .entete { padding: 16px var(--g); }
  .logo { margin-block: -8px; }
  .entete .logo-mp { height: 58px; }
  .entete.fixe .logo-mp { height: 46px; }
  .carte-noel { padding-inline: 10px; }
  .carte-papier::after { display: none; }
  .buches { grid-template-columns: 1fr; }
  .buche-limitee { grid-template-columns: 1fr; }
  .buche-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .carte-infos li { flex: 1 1 100%; }
  .carte-aussi > div { padding: 26px 24px; }
  .banniere { min-height: 0; display: grid; gap: 28px; padding: 108px var(--g) 44px; }
  .banniere-scene { position: relative; inset: auto; display: grid; gap: 4px; }
  .banniere .titre-logo { position: relative; left: auto; top: auto; height: auto; width: min(64vw, 290px); justify-self: center; order: -1; }
  .banniere-photo, .banniere-accueil .banniere-photo { position: relative; left: auto; top: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: var(--rayon); overflow: hidden; margin: 10px 0; }
  .banniere:not(.banniere-accueil) .banniere-photo { left: auto; top: auto; }
  .banniere-accueil .banniere-photo { aspect-ratio: 1354 / 1216; border-radius: 0; overflow: visible; width: 92%; margin: 0 auto; }
  .plan { position: relative; inset: auto; transform: none; }
  .plan-eclats { position: absolute; inset: 0; }
  .banniere-avant { display: none; }
  .banniere-texte, .banniere-pied { position: relative; left: auto; right: auto; bottom: auto; width: auto; }
  .banniere-pied { display: none; }
  .js .champion-piste { height: 320vh; }
  .js .champion-textes { top: 96px; translate: 0 0; width: calc(100% - 2 * var(--g) - 30px); }
  .js .champion-voile { background: linear-gradient(180deg, rgba(232, 220, 205, .95) 0%, rgba(232, 220, 205, .75) 34%, rgba(232, 220, 205, 0) 56%); }
  .champion { --la: min(86vw, 52svh); --cx: 50%; --cy: 66%; }
  .note-1 { left: 8%; top: 47%; }
  .note-2 { left: 8%; top: 47%; }
  .note-3 { left: 30%; top: 86%; }
  .chiffres { grid-template-columns: 1fr; gap: 40px; }
  .chiffre + .chiffre { border-left: 0; border-top: 1px solid var(--ligne-claire); padding-top: 40px; }
  .prix-grille { grid-template-columns: 1fr; }
  .prix + .prix { border-left: 0; border-top: 1px solid var(--ligne); }
  .coordonnees div { grid-template-columns: 1fr; gap: 4px; }
  .champs-2 { grid-template-columns: 1fr; }
  .pied-colonnes { grid-template-columns: 1fr; }
  .horloge { left: 50%; top: auto; bottom: 12px; transform: translateX(-50%); padding: 7px 12px 7px 9px; font-size: 11px; }
  .horloge-heure { font-size: 15px; }
  .guide { display: none; }
  .sommaire-page { top: 64px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .js .frise.horizontale .an { width: 84vw; }
}
