/* Maître Macaron · site en pages séparées : rideau entre les pages, page en cours, fil d'Ariane, portes de l'accueil, édition de Noël, page suivante */

/* L'ouverture (compteur 0 → 100) ne se joue qu'à la première visite de l'accueil */
.deja .ouverture { display: none !important; }

/* ---------- Rideau entre deux pages ---------- */
.rideau { display: none; }
/* Filet de sécurité : sans script, le rideau s'efface tout seul (app.js retire cette animation et prend la main) */
.js .rideau { position: fixed; inset: 0; z-index: 190; display: flex; align-items: center; justify-content: center; background: var(--nuit); color: var(--ivoire); animation: secours .01s 2.5s forwards; }
.rideau-in { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.rideau svg { width: clamp(84px, 9vw, 118px); height: auto; overflow: visible; filter: drop-shadow(0 16px 18px rgba(0, 0, 0, .35)); }
.rideau p { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 300; line-height: 1.1; }
.rideau em { font-style: italic; color: var(--or-clair); }

/* ---------- Navigation : sept rubriques, page en cours soulignée ---------- */
@media (max-width: 1400px) { .nav { gap: clamp(.9rem, 1.4vw, 1.6rem); } .nav a { letter-spacing: .16em; } }
@media (max-width: 1240px) { .nav { display: none; } .burger { display: flex; } }
.nav a[aria-current="page"] { color: var(--or-fonce); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.entete .btn[aria-current="page"] { background: var(--or); color: var(--cacao); }
.menu a { transition: color .4s; }
.menu a[aria-current="page"] { color: var(--or-clair); }
.menu a[aria-current="page"] small { color: var(--ivoire); }
@media (max-height: 640px) { .menu a { font-size: clamp(1.6rem, 7vw, 2.4rem); } .menu-pied { margin-top: 1.4rem; } }

/* ---------- Fil d'Ariane ---------- */
.fil { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .7rem; margin: 0 0 1.6rem; font-size: .64rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--doux); }
.fil a { border-bottom: 1px solid transparent; transition: color .4s, border-color .4s; }
.fil a:hover { color: var(--cacao); border-color: currentColor; }
.fil span[aria-hidden] { font-size: .8em; color: var(--or); }
.fil [aria-current] { color: var(--cacao); }
.section-tete .fil, .ecrin-tete .fil { justify-content: center; }

/* ---------- Première section d'une page : moins d'air au-dessus, l'en-tête est déjà là ---------- */
main > .premiere { padding-top: clamp(2.2rem, 5vw, 4.5rem); }
/* Roue et anatomie tiennent dans le premier écran, sous l'en-tête */
body[data-page="parfums"] .roue-scene,
body[data-page="savoir-faire"] .geste-cadre { height: calc(100vh - var(--entete) - 30px); height: calc(100svh - var(--entete) - 30px); padding-top: 1rem; }
body[data-page="parfums"] .roue-tete .fil { margin-bottom: 1rem; }

/* ---------- Accueil : la ronde de macarons (photos des parfums), même encombrement que les macarons dessinés ---------- */
.sat-photo { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; }
.sat-photo img { position: relative; display: block; flex: none; width: auto; height: 100%; user-select: none; -webkit-user-drag: none; }
/* Ombre posée sous le macaron, sans filter: drop-shadow (Safari sur iPhone dessine un carré autour d'une image filtrée qui bouge) */
.sat-photo::before, .grave-mac::before, .roue-mac::before, .repere-mac::before, .vol::before { content: ""; position: absolute; left: 18%; right: 18%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 20, 12, .34), rgba(40, 20, 12, 0)); pointer-events: none; }
.sat-photo::before { bottom: -8%; }

/* ---------- Les maisons gravées : galerie des macarons à logo (accueil et Sur mesure) ---------- */
.graves { padding: clamp(5rem, 10vw, 8rem) 0; text-align: center; }
.graves .section-tete { margin-bottom: 0; }
.graves-piste { display: flex; justify-content: center; gap: clamp(1rem, 2.4vw, 2.2rem); margin-top: clamp(2.5rem, 5vw, 4rem); padding: 1.5rem var(--marge) 2.5rem; list-style: none; }
.grave { flex: 0 1 150px; min-width: 0; margin: 0; }
/* Le nom déborde des deux côtés sans élargir sa colonne : tous les macarons gardent la même taille */
.grave:nth-child(even) { margin-top: clamp(1.2rem, 3vw, 2.6rem); }
.grave-mac { position: relative; display: block; width: 100%; aspect-ratio: 1; animation: grave-flotte 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.85s); }
.grave img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .9s var(--luxe); }
.grave-mac::before { bottom: -9%; transition: transform .9s var(--luxe), opacity .9s var(--luxe); }
.grave:hover img { transform: scale(1.12) rotate(-8deg); }
.grave:hover .grave-mac::before { transform: translateY(10px) scale(1.2); opacity: .8; }
.grave-nom { display: flex; flex-direction: column; align-items: center; margin-top: 1rem; white-space: nowrap; font-family: var(--serif); font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: .08em; text-transform: uppercase; }
.grave-nom::before { content: "✦"; display: block; margin-bottom: .35rem; font-size: .7rem; color: var(--or); }
.graves-pied { margin-top: .5rem; }
@keyframes grave-flotte { 50% { transform: translateY(-10px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { .grave-mac { animation: none; } }
/* Téléphone : la galerie se fait défiler du doigt, chaque macaron s'arrête au centre */
@media (max-width: 1080px) {
  .graves-piste { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding: 0 var(--marge); }
  .graves-piste::-webkit-scrollbar { display: none; }
  .grave { flex: 0 0 38vw; max-width: 170px; scroll-snap-align: center; }
}
/* Sur mesure : la galerie au-dessus des noms qui défilent */
.references .graves-piste { margin-top: 1.5rem; padding-left: 0; padding-right: 0; }
@media (max-width: 1080px) { .references .graves-piste { margin-left: calc(var(--marge) * -1); margin-right: calc(var(--marge) * -1); padding-left: var(--marge); padding-right: var(--marge); } }

/* ---------- Accueil : lien vers l'histoire sous le manifeste ---------- */
.manifeste-lien { display: inline-block; margin-top: 2.2rem; }

/* ---------- Accueil : édition limitée de Noël ---------- */
.noel { padding: 0 clamp(0px, 1vw, 14px) clamp(5rem, 10vw, 8rem); }
.noel-panneau { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); max-width: 1400px; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--marge); overflow: hidden; border-radius: clamp(24px, 4vw, 56px); background: radial-gradient(70% 60% at 18% 30%, rgba(184, 50, 63, .4), transparent 70%), radial-gradient(50% 45% at 100% 100%, rgba(201, 164, 106, .22), transparent), var(--nuit); color: var(--ivoire); }
.noel-mac svg { width: min(100%, 360px); height: auto; margin: 0 auto; overflow: visible; filter: drop-shadow(0 26px 28px rgba(0, 0, 0, .5)); animation: balance 6s ease-in-out infinite; }
@keyframes balance { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-12px) rotate(3deg); } }
.noel .surtitre { color: var(--or-clair); }
.noel .titre em { color: var(--or-clair); }
.noel-texte > p:not(.surtitre) { max-width: 32rem; margin: 0; font-size: 1.05rem; color: rgba(247, 241, 232, .75); }
.noel-texte > p b { font-weight: 500; color: var(--ivoire); }
.noel-pastille { position: static; display: inline-block; margin-bottom: 1.4rem; font-size: .6rem; transform: none; }
.noel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem 1.8rem; margin-top: 2rem; }
.noel .btn-plein { background: var(--ivoire); color: var(--cacao); }
.noel .btn-plein::before { background: var(--or-clair); }
.noel .lien-or { color: var(--or-clair); }

/* ---------- Accueil : les portes vers chaque page ---------- */
.portes { padding: clamp(5rem, 10vw, 8rem) var(--marge) clamp(6rem, 12vw, 10rem); }
.portes-grille { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); max-width: 1320px; margin: 0 auto; }
.porte { position: relative; display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.4rem; overflow: hidden; isolation: isolate; border: 1px solid var(--trait); border-radius: 24px; background: rgba(255, 255, 255, .5); transition: border-color .5s; }
.porte-fond { position: absolute; inset: -1px; z-index: -1; border-radius: 50% 50% 0 0 / 30% 30% 0 0; background: color-mix(in srgb, var(--c) 24%, var(--ivoire)); transform: translateY(102%); transition: transform .8s var(--luxe), border-radius .8s var(--luxe); }
.porte:hover .porte-fond, .porte:focus-visible .porte-fond { transform: none; border-radius: 0; }
.porte:hover { border-color: transparent; }
.porte-num { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--or-fonce); }
.porte-mac { width: 46%; max-width: 120px; height: auto; margin: 1.1rem 0 1.4rem; overflow: visible; filter: drop-shadow(0 12px 12px rgba(60, 30, 20, .18)); transition: transform .9s var(--luxe); }
.porte:hover .porte-mac { transform: translateY(-4px) rotate(-12deg) scale(1.08); }
.porte h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.2vw, 2.1rem); font-weight: 300; line-height: 1.05; }
.porte h3 em { font-style: italic; color: var(--or-fonce); }
.porte p { margin: 0 0 1.4rem; font-size: .92rem; line-height: 1.55; color: var(--cacao-2); }
.porte .fleche { margin-top: auto; align-self: flex-end; font-size: 1.3rem; font-style: normal; transition: transform .7s var(--luxe); }
.porte:hover .fleche { transform: translateX(6px) rotate(-45deg); }

/* ---------- Parfums : appel vers l'écrin ---------- */
.page-cta { padding: clamp(5rem, 10vw, 8rem) var(--marge) 0; text-align: center; }
.page-cta p:not(.surtitre) { max-width: 34rem; margin: 0 auto 1.8rem; font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 2rem); font-weight: 300; line-height: 1.25; }

/* ---------- Concours : les trois étapes ---------- */
.concours-etapes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); max-width: 1250px; margin: clamp(4rem, 8vw, 6rem) auto 0; padding: 0; list-style: none; }
.concours-etapes li { padding: 1.6rem 1.5rem; border: 1px solid var(--trait); border-radius: 22px; background: color-mix(in srgb, var(--ivoire) 65%, transparent); }
.concours-etapes b { display: block; margin-bottom: .5rem; font-family: var(--serif); font-size: 2.2rem; font-style: italic; font-weight: 400; line-height: 1; color: var(--or-fonce); }
.concours-etapes h3 { margin: 0 0 .35rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.15; }
.concours-etapes p { margin: 0; font-size: .92rem; color: var(--cacao-2); }

/* ---------- Page suivante ---------- */
.suite-zone { padding: clamp(4rem, 8vw, 7rem) var(--marge) clamp(4rem, 8vw, 7rem); }
.suite { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: .8rem 2rem; max-width: 1320px; margin: 0 auto; padding-top: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--trait); }
.suite-lib { grid-column: 1 / -1; font-size: .7rem; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--or-fonce); }
.suite-titre { font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 6.4rem); font-weight: 300; line-height: 1; letter-spacing: -.015em; transition: transform .8s var(--luxe); }
.suite-titre em { font-style: italic; color: var(--or-fonce); }
.suite-fleche { display: grid; place-items: center; width: clamp(64px, 7vw, 104px); aspect-ratio: 1; border: 1px solid var(--trait); border-radius: 50%; font-size: clamp(1.3rem, 2vw, 1.9rem); transition: background-color .5s, color .5s, border-color .5s, transform .8s var(--luxe); }
.suite:hover .suite-titre { transform: translateX(1rem); }
.suite:hover .suite-fleche { border-color: var(--cacao); background: var(--cacao); color: var(--ivoire); transform: rotate(-45deg); }

/* ---------- Pied de page : plan du site et coordonnées ---------- */
.pied-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem 1.8rem; margin: 0 0 clamp(3rem, 6vw, 4.5rem); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; }
.pied-nav a { border-bottom: 1px solid transparent; color: rgba(247, 241, 232, .7); transition: color .4s, border-color .4s; }
.pied-nav a:hover, .pied-nav a[aria-current="page"] { border-color: currentColor; color: var(--or-clair); }
.pied-coord { color: rgba(247, 241, 232, .7); }
.pied-coord a { border-bottom: 1px solid rgba(247, 241, 232, .25); }
.pied-fiches { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1.6rem; }
.pied-fiche { display: inline-block; border-bottom: 1px solid rgba(247, 241, 232, .3); font-size: .8rem; color: rgba(247, 241, 232, .85); transition: color .3s, border-color .3s; }
.pied-fiche:hover { color: var(--or-clair); border-color: var(--or-clair); }
/* Bas de page du site définitif (classe posée par finition.cjs) : une marque, des coordonnées rangées, le retour en haut */
.pied-ordre { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 1.1rem 2rem; letter-spacing: .03em; }
.pied-ordre .pied-coord { display: flex; flex-wrap: wrap; grid-column: 1 / -1; grid-row: 2; gap: .6rem clamp(1.5rem, 3vw, 3rem); font-style: normal; font-size: .85rem; }
.pied-ordre .pied-coord > * { white-space: nowrap; }
.pied-ordre + .pied-fiches { margin-top: 1.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(247, 241, 232, .14); }
.pied-ordre + .pied-fiches + .mention { margin-top: 1.1rem; }
@media (max-width: 760px) {
  .pied-ordre .pied-coord { flex-direction: column; align-items: flex-start; gap: .7rem; font-size: .95rem; }
  .pied-ordre + .pied-fiches { gap: .7rem 1.4rem; }
}

/* ---------- Adaptations ---------- */
@media (max-width: 1100px) { .portes-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .atelier-grille .fil { justify-content: center; } }
@media (max-width: 860px) {
  .noel-panneau { grid-template-columns: 1fr; text-align: center; }
  .noel .surtitre { justify-content: center; }
  .noel-texte > p:not(.surtitre) { margin-inline: auto; }
  .noel-actions { justify-content: center; }
  .noel-mac svg { width: 200px; }
}
@media (max-width: 760px) { .concours-etapes { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .portes-grille { grid-template-columns: 1fr; }
  .porte { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; column-gap: 1rem; align-items: center; padding: 1.1rem 1.2rem; }
  .porte-num { display: none; }
  .porte-mac { grid-row: 1 / 3; width: 64px; margin: 0; }
  .porte h3 { grid-column: 2; margin: 0; font-size: 1.45rem; }
  .porte p { grid-column: 2; margin: .25rem 0 0; font-size: .85rem; }
  .porte .fleche { grid-column: 3; grid-row: 1 / 3; align-self: center; margin: 0; }
  .suite { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .pied-coord { font-size: .74rem; }
}

/* ---------- Parfums : la roue en vraies photos de macarons (parfum-*.webp, détourées, une teinte par parfum) ---------- */
.roue-mac img { position: relative; display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.roue-mac::before { left: 14%; right: 14%; bottom: -7%; height: 18%; }

/* ---------- Parfums : le côté salé en roue, comme les sucrés, posé sur le fond de la page (sans panneau) ---------- */
.sale-fond { display: none; }
.sale-panneau { color: var(--cacao); }
.sale .surtitre, .sale .titre em { color: var(--or-fonce); }
.sale-tete { margin-bottom: clamp(1rem, 3vw, 2rem); }
.sale-tete p { color: var(--cacao-2); }
/* Pas d'en-tête dans la roue (le titre de la section est au-dessus) ; elle va d'un bord à l'autre de l'écran */
.roue-sale { grid-template-rows: 1fr auto; height: clamp(480px, 66vh, 700px); height: clamp(480px, 66svh, 700px); min-height: 0; margin: 0 calc(var(--marge) * -1); padding: 0 var(--marge) .4rem; }
.roue-sale .roue-pied { grid-row: 2; }

/* ---------- Écrin : carte des points de retrait (Leaflet) et paiement Stripe ---------- */
.carte-retrait { position: relative; z-index: 0; width: 100%; height: clamp(230px, 30vw, 300px); margin: -.3rem 0 1.5rem; border: 1px solid var(--trait); border-radius: 22px; overflow: hidden; background: var(--creme); isolation: isolate; font-family: var(--sans); }
.carte-retrait .leaflet-control-attribution { font-size: 9px; background: rgba(255, 255, 255, .65); }
.carte-retrait .leaflet-control-zoom { border: 0; box-shadow: 0 6px 16px -8px rgba(40, 20, 12, .45); }
.carte-retrait .leaflet-control-zoom a { color: #2B1B17; }
.repere { background: none; border: 0; }
.repere-mac { position: relative; display: block; width: 66px; transform-origin: 50% 100%; transition: transform .6s var(--luxe); }
.repere-mac::before { left: 6%; right: 6%; bottom: -4%; height: 16%; background: radial-gradient(closest-side, rgba(40, 20, 12, .45), rgba(40, 20, 12, 0)); }
/* Leaflet impose width: auto aux images des repères : on reprend la main avec un sélecteur plus précis */
.leaflet-container .leaflet-marker-pane .repere-mac img { position: relative; display: block; width: 100%; height: auto; }
/* Fond de carte teinté : ivoire et or le jour, nuit chaude pour Noël */
.carte-retrait .leaflet-tile-pane { filter: grayscale(.55) sepia(.28) saturate(1.1) brightness(1.04) contrast(.95); }
.carte-retrait.nuit .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) grayscale(.5) sepia(.35) brightness(.78) contrast(.92); }
.repere b { position: absolute; left: 50%; top: 62px; padding: .12rem .5rem; border-radius: 999px; background: #2B1B17; color: #F7F1E8; font: 500 .56rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transform: translateX(-50%); transition: background-color .4s; }
.repere:hover .repere-mac { transform: scale(1.12); }
.repere.actif { z-index: 1000 !important; }
.repere.actif .repere-mac { transform: scale(1.25); animation: repere-saut 1.8s var(--luxe) infinite; }
.repere.actif b { background: var(--or); }
@keyframes repere-saut { 0%, 100% { translate: 0 0; } 45% { translate: 0 -7px; } }
@media (prefers-reduced-motion: reduce) { .repere.actif .repere-mac { animation: none; } }
/* Téléphone : voiture plus petite (posée au même endroit au-dessus de son étiquette), carte un peu plus haute pour que les 4 points y tiennent */
@media (max-width: 560px) {
  .carte-retrait:not(.carte-accueil) { height: 280px; }
  .repere-mac { width: 52px; margin: 13px auto 0; }
}
.repere-bulle .leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: 0 16px 34px -14px rgba(40, 20, 12, .5); }
.repere-bulle .leaflet-popup-content { margin: .75rem 1rem; color: #2B1B17; font: .78rem/1.45 var(--sans); text-align: center; }
.repere-bulle .leaflet-popup-content b { display: block; font-family: var(--serif); font-size: 1.15rem; font-weight: 500; }
.repere-bulle .leaflet-popup-content small { display: block; margin-top: .2rem; color: #8C6A38; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.paiement-note { display: flex; align-items: center; justify-content: center; gap: .5em; margin: .95rem 0 0; font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.paiement-note svg { flex: none; width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
.paiement-indicatif { margin: .35rem 0 0; font-size: .7rem; font-style: italic; color: var(--doux); opacity: .8; }
.demo-paiement { width: min(26rem, calc(100vw - 32px)); padding: 2rem 1.7rem 1.8rem; border: 0; border-radius: 26px; background: #F7F1E8; color: #2B1B17; text-align: center; box-shadow: 0 34px 90px -24px rgba(0, 0, 0, .5); }
.demo-paiement::backdrop { background: rgba(20, 10, 8, .55); backdrop-filter: blur(3px); }
.demo-paiement .surtitre { color: #8C6A38; }
.demo-paiement .demo-titre { margin: .3rem 0 .8rem; font-family: var(--serif); font-size: 2rem; font-weight: 300; line-height: 1.1; }
.demo-titre em { color: #8C6A38; }
.demo-recap { margin: 0 0 1rem; padding: .7rem .9rem; border-radius: 14px; background: rgba(184, 147, 90, .14); font-size: .82rem; }
.demo-paiement p:not(.demo-titre):not(.surtitre) { font-size: .88rem; line-height: 1.55; }
.demo-paiement form { margin-top: 1.3rem; }

/* ---------- Écrin : les petits macarons en vraies photos (pastilles, envol, cases) ---------- */
.puce img { flex: none; width: 34px; height: auto; transition: transform .6s var(--luxe); user-select: none; -webkit-user-drag: none; }
.puce:hover img { transform: rotate(-14deg) scale(1.12); }
.alveole img { position: relative; display: block; width: 100%; height: auto; }
.vol img { position: relative; display: block; width: 100%; height: auto; }
.vol svg { position: relative; filter: none; }
/* Les macarons dessinés de l'écrin et de la roue contiennent eux aussi une photo : même règle, pas de filtre */
.alveole svg, .puce svg, .roue-mac svg { position: relative; filter: none; }
.vol::before { bottom: -8%; }
@media (max-width: 560px) { .puce img { width: 30px; } }

/* ---------- Ateliers : le récit en images, photo et texte en alternance (photo à gauche, puis à droite…) ---------- */
.atelier-recit, .histoire-recit { display: grid; gap: clamp(3.5rem, 8vw, 7rem); max-width: 1120px; margin: 0 auto; padding: 0 var(--marge); }
/* Mon histoire : même alternance, avec deux portraits du Maître (avant, aujourd'hui) */
.histoire-recit { max-width: 1000px; margin-top: clamp(1rem, 3vw, 2rem); padding: 0; }
.histoire-recit .recit-photo img { width: min(100%, 420px); margin-inline: auto; }
.recit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.recit:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.recit:nth-child(even) .recit-photo { order: 2; }
.recit-photo { margin: 0; }
.recit-photo img { display: block; width: 100%; height: auto; border-radius: 28px; box-shadow: 0 30px 60px -30px rgba(43, 27, 23, .6); transform: rotate(-1.4deg); transition: transform .9s var(--luxe); }
.recit:nth-child(even) .recit-photo img { transform: rotate(1.4deg); }
.recit-photo:hover img { transform: rotate(0deg) scale(1.02); }
.recit-num { display: block; font-family: var(--serif); font-size: clamp(3.2rem, 6vw, 5rem); font-weight: 300; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or); }
.recit-texte h3 { margin: .5rem 0 .9rem; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1.1; }
.recit-texte h3 em { color: var(--or-fonce); }
.recit-texte p { max-width: 30rem; margin: 0; font-size: 1.02rem; line-height: 1.7; color: var(--cacao-2); }
/* Mon histoire (3 nov., demande d'Ugo) : photos droites, texte plus grand, plus gras et plus foncé */
.histoire-recit .recit-photo img, .histoire-recit .recit:nth-child(even) .recit-photo img { transform: none; }
.histoire-recit .recit-photo:hover img { transform: scale(1.02); }
.histoire-recit .recit-texte p { max-width: 32rem; font-size: clamp(1.08rem, 1.3vw, 1.18rem); font-weight: 400; line-height: 1.75; color: var(--cacao); }
@media (max-width: 760px) {
  .recit, .recit:nth-child(even) { grid-template-columns: 1fr; gap: 1.4rem; text-align: center; }
  .recit:nth-child(even) .recit-photo { order: 0; }
  .recit-texte p { margin-inline: auto; }
}

/* ---------- Ateliers : encart « Tarif & conditions » sous le récit en images ---------- */
.atelier-offre { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; max-width: 1080px; margin: clamp(3rem, 6vw, 4.5rem) var(--marge) 0; padding: clamp(1.8rem, 4vw, 3rem); border: 1px solid var(--trait); border-radius: 30px; background: color-mix(in srgb, var(--creme) 55%, transparent); }
@media (min-width: 1180px) { .atelier-offre { margin-inline: auto; } }
.offre-prix .surtitre { margin-bottom: .6rem; }
.offre-montant { margin: 0; font-family: var(--serif); line-height: 1; }
.offre-montant b { display: block; font-size: clamp(3.4rem, 6vw, 4.8rem); font-weight: 300; color: var(--cacao); }
.offre-montant span { display: block; margin-top: .4rem; font-size: 1.25rem; font-style: italic; color: var(--or-fonce); }
.offre-titre { margin: .3rem 0 0; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); }
.atelier-offre .inclus { margin-top: 1rem; }
.offre-btn { grid-column: 1 / -1; justify-self: center; }
@media (max-width: 900px) {
  .atelier-offre { grid-template-columns: 1fr; text-align: center; }
  .offre-prix .surtitre { justify-content: center; }
}

/* ---------- Banderole du jeu concours : tout en haut du site, éphémère (le concours n'est plus dans les menus) ---------- */
.banderole-concours {
  position: relative; z-index: 61; display: flex; align-items: center; justify-content: center; gap: .9rem;
  padding: .62rem var(--marge); overflow: hidden;
  background: linear-gradient(100deg, #B8925A, #E9CF98 45%, #C9A46A 70%, #E4C68C);
  color: #2B1B17; font-size: .74rem; letter-spacing: .08em; line-height: 1.3; text-align: center;
}
/* reflet qui traverse la banderole de temps en temps */
.banderole-concours::before {
  content: ""; position: absolute; inset: 0 auto 0 -40%; width: 30%; pointer-events: none;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: bc-reflet 5.5s ease-in-out infinite;
}
.bc-eclat { display: inline-block; color: #7A4B2A; animation: bc-eclat 4s linear infinite; }
.bc-texte b { font-weight: 500; text-transform: uppercase; letter-spacing: .18em; }
.bc-lien { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .9rem; border-radius: 999px; background: #2B1B17; color: #F3E3C3; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; transition: background-color .4s, color .4s; }
.bc-lien i { font-style: normal; transition: transform .5s var(--luxe); }
.banderole-concours:hover .bc-lien { background: #fff; color: #2B1B17; }
.banderole-concours:hover .bc-lien i { transform: translateX(4px); }
@keyframes bc-reflet { 0%, 55% { left: -40%; } 100% { left: 120%; } }
@keyframes bc-eclat { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .banderole-concours::before, .bc-eclat { animation: none; } }
/* Téléphone : texte court sur une ligne */
@media (max-width: 560px) {
  .banderole-concours { gap: .6rem; padding: .55rem 14px; font-size: .68rem; letter-spacing: .04em; }
  .bc-eclat { display: none; }
  .bc-texte { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bc-texte b { letter-spacing: .1em; }
  .bc-lien { padding: .26rem .7rem; font-size: .6rem; letter-spacing: .1em; }
}

/* ======================= Accueil « boutique » (27 oct.) : infos, signature, étapes, retrait, Instagram ======================= */

/* Ouverture : les infos pratiques sous les boutons */
.hero-infos { display: flex; flex-wrap: wrap; gap: .4rem 0; margin: 1.5rem 0 0; font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or-fonce); }
.hero-infos span + span::before { content: "✦"; margin: 0 .8rem; font-size: .6rem; color: var(--or); }

/* Collection du moment : moins d'air au-dessus, puisqu'elle suit le ruban */
.noel { padding-top: clamp(4rem, 8vw, 6rem); }
.avent-promo { margin-top: clamp(14px, 2vw, 24px); padding: 0 var(--marge); }
.avent-promo .porte { color: #F6ECDC; }

/* Parfums signature : carrousel au glisser */
.sig-section { padding: clamp(5rem, 10vw, 8rem) 0; }
.sig-zone { position: relative; max-width: 1500px; margin: 0 auto; }
.sig-piste { display: flex; gap: 20px; margin: 0; padding: 2.5rem var(--marge) 3rem; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--marge); scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab; }
.sig-piste::-webkit-scrollbar { display: none; }
.sig-piste.glisse { cursor: grabbing; scroll-snap-type: none; }
.sig-piste.glisse .sig-carte { pointer-events: none; }
.sig { flex: 0 0 clamp(230px, 22vw, 290px); scroll-snap-align: start; }
.sig-carte { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.4rem 1.4rem 1.5rem; overflow: hidden; isolation: isolate; border-radius: 28px; background: color-mix(in srgb, var(--c) 20%, #FBF7F0); color: #2B1B17; text-decoration: none; transition: transform .8s var(--luxe), box-shadow .8s var(--luxe); }
.sig-carte::after { content: ""; position: absolute; inset: auto -30% -55% -30%; z-index: -1; height: 80%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--g) 70%, transparent), transparent); transition: transform .9s var(--luxe); }
.sig-carte:hover { transform: translateY(-8px); box-shadow: 0 30px 50px -30px rgba(60, 30, 20, .45); }
.sig-carte:hover::after { transform: translateY(-18%) scale(1.15); }
.sig-mac { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 1.1rem; animation: grave-flotte 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.75s); }
.sig-mac::before { content: ""; position: absolute; left: 20%; right: 20%; bottom: 4%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(40, 20, 12, .32), rgba(40, 20, 12, 0)); }
.sig-mac img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .9s var(--luxe); }
.sig-carte:hover .sig-mac img { transform: scale(1.1) rotate(-8deg); }
.sig-nom { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.65rem); line-height: 1.08; }
.sig-note { margin-top: .4rem; font-size: .86rem; color: #5A4038; }
.sig-prix { align-self: flex-start; margin-top: 1.1rem; padding: .32rem .8rem; border-radius: 999px; background: #2B1B17; color: #F7F1E8; font-size: .68rem; font-weight: 500; letter-spacing: .14em; }
.sig-fleche { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid var(--trait); border-radius: 50%; background: var(--ivoire); color: var(--cacao); font-size: 1.15rem; cursor: pointer; box-shadow: 0 10px 24px -14px rgba(40, 20, 12, .5); transition: opacity .4s, transform .6s var(--luxe), background .4s, color .4s; }
.sig-fleche:hover { background: var(--cacao); color: var(--ivoire); transform: scale(1.08); }
.sig-fleche:disabled { opacity: 0; pointer-events: none; }
.sig-prec { left: calc(var(--marge) / 2); }
.sig-suiv { right: calc(var(--marge) / 2); }
.sig-pied { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .6rem 1.4rem; margin: 0; padding: 0 var(--marge); font-size: .82rem; color: var(--cacao-2); }

/* L'écrin en trois étapes, reliées par un fil doré */
.cmd-section { padding: clamp(5rem, 10vw, 8rem) var(--marge); }
.cmd-liste { --fil: 1; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; }
.cmd-liste::before { content: ""; position: absolute; left: 16.6%; right: 16.6%; top: 44px; height: 1px; background: linear-gradient(90deg, var(--or), var(--or-clair), var(--or)); transform: scaleX(var(--fil)); transform-origin: left; }
.cmd-etape { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.cmd-num { position: relative; display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid var(--or); border-radius: 50%; background: var(--ivoire); font-family: var(--serif); font-size: 2rem; font-style: italic; color: var(--or-fonce); }
.cmd-macs { display: flex; justify-content: center; height: 74px; margin: 1.6rem 0 1.2rem; }
.cmd-macs img { width: 86px; height: auto; margin: 0 -14px; }
.cmd-macs img:nth-child(2) { translate: 0 -10px; }
.cmd-etape h3 { margin: 0 0 .5rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 300; line-height: 1.05; }
.cmd-etape h3 em { font-style: italic; color: var(--or-fonce); }
.cmd-etape p { max-width: 21rem; margin: 0; font-size: .95rem; line-height: 1.55; color: var(--cacao-2); }
.cmd-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.8rem; margin-top: clamp(2.8rem, 5vw, 4rem); }

/* Galerie gravée : bouton de devis */
.graves-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 1.8rem; margin-top: .5rem; }

/* Où retirer : liste et carte côte à côte */
.retrait { padding: clamp(5rem, 10vw, 8rem) var(--marge); }
.retrait-grille { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); max-width: 1320px; margin: 0 auto; }
.retrait-texte > p.rev { margin: 1rem 0 0; color: var(--cacao-2); }
.retrait-liste { display: grid; gap: .7rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.retrait-lieu { display: flex; align-items: center; gap: 1.1rem; width: 100%; padding: .9rem 1.1rem; border: 1px solid var(--trait); border-radius: 20px; background: color-mix(in srgb, currentColor 3%, transparent); color: inherit; font: inherit; text-align: left; cursor: pointer; transition: border-color .4s, background .4s, transform .6s var(--luxe); }
.retrait-lieu:hover { transform: translateX(6px); border-color: var(--or); }
.retrait-lieu.actif { border-color: var(--or); background: color-mix(in srgb, var(--or) 14%, transparent); }
.retrait-lieu > b { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--cacao); color: var(--ivoire); font-size: .66rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; transition: background .4s; }
.retrait-lieu.actif > b { background: var(--or); }
.retrait-lieu span { display: flex; flex-direction: column; font-size: .88rem; color: var(--cacao-2); }
.retrait-lieu strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 400; color: var(--cacao); }
.retrait-lieu small { margin-top: .1rem; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--or-fonce); }
.carte-retrait.carte-accueil { height: clamp(340px, 42vw, 520px); margin: 0; border-radius: 26px; }

/* Instagram : mosaïque */
.insta { padding: clamp(5rem, 10vw, 8rem) var(--marge) clamp(6rem, 12vw, 10rem); }
.insta-grille { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); max-width: 1320px; margin: 0 auto; }
.insta-tuile { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 20px; background: var(--f); }
.insta-tuile img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--luxe); user-select: none; -webkit-user-drag: none; }
.insta-photo img { object-position: 50% 18%; }
.insta-mac img { object-fit: contain; padding: 14%; }
.insta-tuile i { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(43, 27, 23, .45); color: #FFF6E6; font-family: var(--serif); font-size: 2.4rem; font-style: italic; opacity: 0; transition: opacity .5s; }
.insta-tuile:hover img { transform: scale(1.1) rotate(-3deg); }
.insta-tuile:hover i { opacity: 1; }
.insta-pied { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; text-align: center; }

@media (max-width: 900px) {
  .sig-fleche { display: none; }
  .sig { flex-basis: 70vw; max-width: 280px; }
  .cmd-liste { grid-template-columns: 1fr; gap: 3rem; }
  .cmd-liste::before { display: none; }
  .retrait-grille { grid-template-columns: 1fr; }
  .carte-retrait.carte-accueil { height: 340px; }
  .insta-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .hero-infos { justify-content: center; font-size: .6rem; letter-spacing: .14em; }
  .hero-infos span + span::before { margin: 0 .5rem; }
}
@media (prefers-reduced-motion: reduce) { .sig-mac { animation: none; } }

/* ======================= Page Ferrari : accès depuis les galeries gravées et la ronde (27 oct.) ======================= */
.grave-lien { display: block; color: inherit; text-decoration: none; }
.grave-projet .grave-mac::after { content: ""; position: absolute; inset: -7%; border: 1.5px solid #D40000; border-radius: 50%; opacity: 0; animation: grave-appel 2.4s var(--luxe) infinite; pointer-events: none; }
.grave-agence { display: block; margin-top: .3rem; font-family: var(--sans); font-size: .64rem; font-style: normal; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--or-fonce); }
.grave-voir { display: block; margin-top: .35rem; font-family: var(--sans); font-size: .58rem; font-style: normal; letter-spacing: .2em; text-transform: uppercase; color: #D40000; }
.grave-lien:hover .grave-voir, .grave-lien:focus-visible .grave-voir { text-decoration: underline; text-underline-offset: 4px; }
@keyframes grave-appel { 0% { transform: scale(.88); opacity: .9; } 100% { transform: scale(1.18); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .grave-projet .grave-mac::after { animation: none; } }

/* ---------- Panier : bouton de l'en-tête (toutes les pages, ajouté par app.js) ---------- */
.panier-lien { position: relative; display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 1px solid var(--trait); border-radius: 50%; color: inherit; transition: border-color .4s, background-color .4s; }
.panier-lien:hover { border-color: var(--or); background: rgba(184, 147, 90, .12); }
.panier-lien svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.panier-nb { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; background: var(--framboise); color: #fff; font: 500 .64rem/1 var(--sans); opacity: 0; transition: opacity .3s; pointer-events: none; }
.panier-lien.garni .panier-nb { opacity: 1; }
.menu-ouvert .entete .panier-lien { border-color: rgba(247, 241, 232, .3); }
@media (max-width: 560px) { .panier-lien { width: 44px; height: 44px; } .entete { gap: .7rem; } }

/* ---------- Écrin : ajout au panier, boîte qui s'envole vers l'en-tête ---------- */
.ecrin-voir { margin-top: 1.2rem; }
.boite-envol { position: fixed; z-index: 95; margin: 0; pointer-events: none; will-change: transform; }

/* ---------- Panier : liste des écrins, retrait et paiement ---------- */
.panier { padding: clamp(4.5rem, 9vw, 7.5rem) var(--marge) clamp(4rem, 8vw, 6.5rem); border-top: 1px solid var(--trait); }
.panier-grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: start; gap: clamp(2rem, 4.5vw, 4.5rem); max-width: 1280px; margin: 0 auto; }
.panier-liste { margin: 0; padding: 0; list-style: none; }
.panier-ligne { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem 1.5rem; margin: 0 0 .9rem; padding: 1.2rem 1.4rem; border: 1px solid var(--trait); border-radius: 22px; background: rgba(255, 255, 255, .55); overflow: hidden; }
.pl-boite { --p: 24px; display: grid; grid-template-columns: repeat(6, var(--p)); padding: 6px; border-radius: 10px; background: linear-gradient(180deg, #EEDFCF, #E6D4C1); box-shadow: inset 0 3px 8px rgba(90, 50, 30, .2), 0 0 0 4px #FBF5EE, 0 0 0 5px rgba(184, 147, 90, .45), 0 14px 22px -14px rgba(70, 35, 25, .45); }
.pl-case { position: relative; width: var(--p); height: calc(var(--p) * 1.3); }
.pl-case .rot { position: absolute; left: 50%; top: 50%; width: calc(var(--p) * 1.26); transform: translate(-50%, -50%) rotate(90deg); }
.pl-case img { display: block; width: 100%; height: auto; user-select: none; -webkit-user-drag: none; }
.pl-titre { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.pl-titre em { color: var(--or-fonce); }
.pl-detail { display: flex; flex-wrap: wrap; gap: .1rem .9rem; margin: .35rem 0 .8rem; font-size: .78rem; line-height: 1.5; color: var(--doux); }
.pl-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.3rem; }
.pl-qte { display: inline-flex; align-items: center; padding: 3px; border: 1px solid var(--trait); border-radius: 999px; }
.pl-qte button { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 1.05rem; line-height: 1; transition: background-color .3s, color .3s, opacity .3s; }
.pl-qte button:hover:not(:disabled) { background: var(--cacao); color: var(--ivoire); }
.pl-qte button:disabled { opacity: .3; cursor: default; }
.pl-qte output { display: inline-block; min-width: 2.2ch; font-weight: 500; text-align: center; }
.pl-retirer { font-size: .66rem; }
.pl-retirer:hover { color: var(--framboise); }
.pl-prix { align-self: start; margin: 0; font-family: var(--serif); font-size: 1.5rem; line-height: 1.15; white-space: nowrap; }
.pl-prix b { display: inline-block; font-weight: 500; }
.panier-vide { display: flex; flex-direction: column; align-items: center; gap: .9rem; padding: 2.8rem 1.5rem; border: 1px dashed rgba(184, 147, 90, .6); border-radius: 22px; text-align: center; }
.panier-vide p { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-style: italic; }
.panier-vide-boite { width: 78px; height: 46px; border-radius: 10px; background: linear-gradient(180deg, #EEDFCF, #E6D4C1); box-shadow: inset 0 3px 8px rgba(90, 50, 30, .2), 0 0 0 4px #FBF5EE, 0 0 0 5px rgba(184, 147, 90, .45); animation: panier-flotte 3.4s var(--luxe) infinite; }
@keyframes panier-flotte { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -7px; rotate: -3deg; } }
.panier-encore { display: inline-block; margin-top: .5rem; }
.panier-caisse { display: flex; flex-direction: column; align-items: center; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--trait); border-radius: 26px; background: rgba(255, 255, 255, .5); text-align: center; }
.panier-caisse .commande { max-width: none; margin-bottom: .4rem; }
.panier-total { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; width: 100%; margin: 0 0 1.2rem; padding: 1rem 0 0; border-top: 1px solid var(--trait); }
.panier-total > span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-align: left; color: var(--doux); }
.panier-total b { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1; white-space: nowrap; }
.panier-conservation { width: 100%; margin: -.5rem 0 1.2rem; font-size: .86rem; text-align: left; }
.panier-caisse > .btn { width: 100%; }
@media (max-width: 900px) { .panier-grille { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .panier-ligne { grid-template-columns: minmax(0, 1fr) auto; padding: 1.1rem 1rem; }
  .pl-boite { grid-column: 1 / -1; justify-self: start; }
  .pl-prix { align-self: start; font-size: 1.35rem; }
}
@media (prefers-reduced-motion: reduce) { .panier-vide-boite { animation: none; } }

/* ---------- Points de retrait (3 nov.) : horaires dans chaque case, calendrier à gauche du jour pour choisir une autre date ---------- */
.retrait-cases { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; margin-bottom: 0; text-align: left; }
.retrait-delai { margin: 0 0 .7rem; padding: .7rem .9rem; border-radius: 14px; background: color-mix(in srgb, var(--or) 16%, transparent); font-size: .84rem; line-height: 1.45; text-align: left; }
.retrait-delai b { display: block; margin-bottom: .1rem; font-size: .66rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--or-fonce); }
.retrait-aide { margin: 0 0 .75rem; font-size: .8rem; line-height: 1.4; color: var(--doux); }
.retrait-trop-tot { display: block; margin-top: .3rem; font-size: .8rem; color: var(--doux); }
.retrait-choix { display: flex; align-items: center; gap: .35rem; min-width: 0; padding: .35rem; border: 1px solid var(--trait); border-radius: 18px; transition: background-color .3s, border-color .3s, color .3s; }
.retrait-choix.choisi { border-color: var(--cacao); background: var(--cacao); color: var(--ivoire); }
.retrait-choix:hover:not(.choisi) { border-color: var(--or); }
/* La date du point, en petite page de calendrier : mois, jour, « changer » (3 nov., demande d'Ugo) */
.retrait-cal { display: flex; flex-direction: column; flex: none; width: 60px; overflow: hidden; border: 1px solid var(--trait); border-radius: 12px; background: var(--ivoire); color: var(--cacao); line-height: 1; text-align: center; transition: border-color .3s, box-shadow .3s, transform .4s var(--luxe); }
.retrait-cal i { display: block; font-style: normal; }
.rc-mois { padding: .3rem 0 .24rem; background: var(--or); font-size: .56rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.rc-jour { padding: .32rem 0 .12rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
.rc-changer { padding: 0 0 .34rem; font-size: .54rem; letter-spacing: .08em; text-transform: uppercase; color: var(--or-fonce); }
.retrait-cal:hover { border-color: var(--or); transform: translateY(-2px); }
.retrait-cal[aria-expanded="true"] { border-color: var(--or); box-shadow: 0 0 0 2px var(--or); }
.choisi .retrait-cal { border-color: transparent; }
.retrait-cal:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
.retrait-cases label { flex: 1; min-width: 0; }
/* Colonne du jour de largeur fixe : les noms et les horaires commencent au même endroit dans toutes les cases */
.options.retrait-cases span { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); align-items: baseline; gap: .15rem .3rem; min-height: 40px; padding: .3rem .5rem .3rem .2rem; border: 0; border-radius: 14px; font-size: .82rem; line-height: 1.3; }
.options.retrait-cases input:checked + span { background: none; color: inherit; }
.retrait-cases em { font-style: normal; }
.retrait-cases small { grid-column: 2; font-size: .74rem; color: var(--doux); transition: color .3s; }
.retrait-choix.choisi small { color: rgba(247, 241, 232, .72); }
.retrait-dates { margin: .6rem 0 0; padding: .9rem; border: 1px dashed rgba(184, 147, 90, .6); border-radius: 18px; }
.retrait-dates-titre { margin: 0 0 .6rem; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; color: var(--or-fonce); }
.retrait-dates-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
.retrait-dates-liste button { min-height: 38px; padding: .35rem .85rem; border: 1px solid var(--trait); border-radius: 999px; font-size: .8rem; transition: background-color .3s, color .3s, border-color .3s; }
.retrait-dates-liste button:hover { border-color: var(--or); }
.retrait-dates-liste button[aria-pressed="true"] { border-color: var(--cacao); background: var(--cacao); color: var(--ivoire); }
/* Date supprimée par le Maître (page Commandes) : grisée, pas de retrait ce jour-là */
.retrait-dates-liste button.fermee { border-style: dashed; color: rgba(43, 27, 23, .38); text-decoration: line-through; cursor: not-allowed; }
.retrait-dates-liste button.fermee:hover { border-color: var(--trait); }
.retrait-quand { margin: .8rem 0 1.1rem; font-size: .9rem; line-height: 1.45; }
.retrait-quand b { font-weight: 500; }

/* ---------- Page de confirmation après paiement (merci.html, 3 nov.) ---------- */
.merci { padding-bottom: clamp(4rem, 8vw, 7rem); }
.merci .section-tete { margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.merci-chapo { margin: 1rem 0 0; font-size: 1.05rem; line-height: 1.6; color: var(--cacao-2); }
.merci-carte { max-width: 36rem; margin: 0 auto; padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--trait); border-radius: 26px; background: rgba(255, 255, 255, .55); }
.merci-numero { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: 0 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--trait); }
.merci-numero span { font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--doux); }
.merci-numero b { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 500; letter-spacing: .06em; line-height: 1; }
.merci-bloc { margin: 0 0 1.2rem; }
.merci-bloc h2 { margin: 0 0 .45rem; font-size: .64rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--or-fonce); }
.merci-retrait { padding: 1rem 1.1rem; border-radius: 18px; background: var(--cacao); color: var(--ivoire); }
.merci-retrait h2 { color: var(--or-clair); }
.merci-quand { margin: 0; font-family: var(--serif); font-size: 1.45rem; line-height: 1.2; }
.merci-ou { margin: .3rem 0 0; font-size: .92rem; color: rgba(247, 241, 232, .8); }
.merci-ecrins { margin: 0; padding: 0; list-style: none; }
.merci-ecrins li { padding: .6rem 0; border-bottom: 1px solid var(--trait); }
.me-titre { margin: 0; font-weight: 400; }
.me-detail { margin: .2rem 0 0; font-size: .84rem; line-height: 1.5; color: var(--doux); }
.merci-total { display: flex; align-items: baseline; justify-content: space-between; margin: .9rem 0 0; }
.merci-total span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--doux); }
.merci-total b { font-family: var(--serif); font-size: 2rem; font-weight: 500; line-height: 1; }
.merci-note { margin: 0; font-size: .86rem; line-height: 1.55; color: var(--cacao-2); }
.merci-note a { color: inherit; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
.merci-actions { margin: 2rem 0 0; text-align: center; }
/* pages-info */
/* Ingrédients, mentions légales et CGV : des pages du site à la place des PDF */
.doc { max-width: 50rem; margin: 0 auto; padding-left: var(--marge); padding-right: var(--marge); padding-bottom: clamp(4rem, 8vw, 7rem); box-sizing: content-box; }
.doc-large { max-width: 76rem; }
.doc .titre { margin-bottom: 1.1rem; }
.doc-chapo { max-width: 42rem; margin: 0 0 1.3rem; color: var(--cacao-2); line-height: 1.6; }
.doc-note { margin: 0 0 1.5rem; padding: .8rem 1.05rem; border-radius: 14px; background: color-mix(in srgb, var(--or) 16%, transparent); font-size: .92rem; line-height: 1.5; }
.doc > h2 { margin: 2.4rem 0 .6rem; font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 1.8rem); font-weight: 400; line-height: 1.15; }
.doc > p, .doc > ul, .doc > ol { color: var(--cacao-2); line-height: 1.7; }
.doc > p { margin: 0 0 .8rem; }
.doc > ul, .doc > ol { margin: 0 0 .9rem; padding-left: 1.25rem; }
.doc > ul li, .doc > ol li { margin-bottom: .35rem; }
.doc mark { padding: 0 .2em; border-radius: 4px; background: color-mix(in srgb, var(--or) 32%, transparent); color: inherit; }
.doc-table { width: 100%; margin: .9rem 0 1.3rem; border-collapse: collapse; font-size: .92rem; line-height: 1.45; color: var(--cacao-2); }
.doc-table th { padding: .6rem .7rem; border-bottom: 1px solid var(--or); text-align: left; font-weight: 400; color: var(--cacao); }
.doc-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--trait); vertical-align: top; }
.compo-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.6rem); margin-top: 2rem; }
.compo { min-width: 0; padding: 1.2rem 1.25rem 1.3rem; border: 1px solid var(--trait); border-radius: 20px; scroll-margin-top: calc(var(--entete) + 16px); }
.compo img { display: block; width: 104px; height: auto; margin-bottom: .5rem; }
.compo h2 { margin: 0 0 .7rem; font-family: var(--serif); font-size: 1.5rem; font-weight: 400; line-height: 1.1; }
.compo h3 { margin: .8rem 0 .25rem; font-size: .68rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--or-fonce); }
.compo ul { margin: 0; padding: 0; list-style: none; font-size: .9rem; line-height: 1.45; color: var(--cacao-2); }
.compo li { margin-bottom: .2rem; }
.compo-manque { font-style: italic; color: var(--framboise); }
@media (max-width: 1000px) { .compo-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .compo-grille { grid-template-columns: minmax(0, 1fr); }
  .doc-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .doc-table, .doc-table tbody, .doc-table tr, .doc-table td { display: block; }
  .doc-table tr { padding: .5rem 0; border-bottom: 1px solid var(--or); }
  .doc-table td { padding: .2rem 0; border: 0; }
  .doc-table td::before { content: attr(data-titre) " : "; color: var(--cacao); }
}
/* /pages-info */
/* seo */
/* Lu par Google et les lecteurs d'écran, sans s'afficher */
.sr-texte { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.etape h2 { margin: 0; font-family: var(--serif); font-size: 1.65rem; font-weight: 400; line-height: 1.15; }
.recit-texte h2 { margin: .5rem 0 .9rem; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 300; line-height: 1.1; }
.recit-texte h2 em { color: var(--or-fonce); }
h2.surtitre { line-height: inherit; }
/* Commander : questions fréquentes */
.questions { padding: clamp(5rem, 10vw, 8rem) var(--marge) 0; }
.questions .section-tete { margin-bottom: clamp(2rem, 4vw, 3rem); padding: 0; }
.questions-liste { max-width: 48rem; margin: 0 auto; border-top: 1px solid var(--trait); }
.question { border-bottom: 1px solid var(--trait); }
.question summary { position: relative; padding: 1.15rem 2.4rem 1.15rem 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 400; line-height: 1.2; list-style: none; cursor: pointer; transition: color .3s; }
.question summary::-webkit-details-marker { display: none; }
.question summary::after { content: "+"; position: absolute; right: .3rem; top: 50%; font-family: var(--sans); font-size: 1.5rem; font-weight: 300; line-height: 1; color: var(--or-fonce); transform: translateY(-50%); transition: transform .45s var(--luxe); }
.question[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.question summary:hover { color: var(--or-fonce); }
.question summary:focus-visible { outline: 2px solid var(--or); outline-offset: 3px; }
.question p { margin: 0; padding: 0 2.4rem 1.3rem 0; color: var(--cacao-2); line-height: 1.6; animation: question-ouvre .5s var(--luxe); }
.question p a { color: inherit; text-decoration: underline; text-decoration-color: var(--or); text-underline-offset: 3px; }
@keyframes question-ouvre { from { opacity: 0; transform: translateY(-8px); } }
@media (prefers-reduced-motion: reduce) { .question p { animation: none; } }
/* /seo */
