/* =========================================================
   AU P'TIT PARADIS — styles
   Palette dérivée du logo : noir encre, or caramel, crème.
   Touche "bord de mer" très sobre en accent (section horaires).
   ========================================================= */

:root{
  --ink:        #211c17;
  --ink-soft:   #4a423a;
  --cream:      #fbf6ee;
  --sand:       #f1e6d3;
  --gold:       #c8853a;
  --gold-deep:  #8c5a26;
  --gold-pale:  #e7c79a;
  --icon-ink:   #635411;   /* couleur rendue par le filtre de .card-icon img */
  --sea:        #5c7a78;
  --sea-pale:   #e7eeec;
  --white:      #ffffff;

  /* Fonds des vagues entre sections : opaques d'ordinaire, rendus
     translucides par le thème de Noël pour laisser passer la neige. */
  --fond-cream:    var(--cream);
  --fond-sand:     var(--sand);
  --fond-white:    var(--white);
  --fond-sea-pale: var(--sea-pale);

  --font-display: "Atma", sans-serif;
  --font-script:  "Atma", sans-serif;
  --font-body:    "Jost", sans-serif;

  --max-w: 1140px;
  --radius: 4px;
  --ease: cubic-bezier(.4,0,.2,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:var(--font-body);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0 0 .4em; color:var(--ink); text-wrap:balance; }
p{ margin:0 0 1em; color:var(--ink-soft); }

[data-dynamic]{ opacity:0; transition:opacity .3s ease; }
[data-dynamic].is-loaded{ opacity:1; }

.skip-link{
  position:absolute; left:-999px; top:0;
  background:var(--gold); color:var(--white); padding:.6em 1em; z-index:200;
}
.skip-link:focus{ left:0; }
/* Lu par les robots et les lecteurs d'écran, invisible à l'écran. */
.visually-hidden{
  position:absolute !important; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}

:focus-visible{ outline:3px solid var(--sea); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; }
}

/* ---------- Layout helpers ---------- */
.section-inner{ max-width:var(--max-w); margin:0 auto; padding:5rem 1.5rem; }
.eyebrow-script{
  font-family:var(--font-script); font-size:2.8rem; font-weight:300; color:var(--gold); margin:0 0 .1rem 0; line-height:1; letter-spacing:.12em;
}
.btn{
  display:inline-block; padding:.85em 1.8em; border-radius:var(--radius);
  font-family:var(--font-body); font-weight:600; font-size:.95rem; letter-spacing:.02em;
  border:1.5px solid transparent; transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary{ background:var(--gold); color:var(--white); }
.btn-primary:hover{ background:var(--gold-deep); transform:translateY(-2px); }
.btn-ghost{ background:none; border-color:var(--ink); color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:var(--cream); transform:translateY(-2px); }

/* ---------- Header ---------- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:100;
  background:rgba(251,246,238,0);
  transition:background .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled{
  background:rgba(251,246,238,.35);
  backdrop-filter:blur(18px) saturate(1.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
}

/* Barre de progression scroll */
.scroll-progress{
  position:absolute; top:0; left:0; height:2px; width:0%;
  background:linear-gradient(to right, var(--gold-deep), var(--gold), var(--gold-pale));
  opacity:0; z-index:2;
  transition:opacity .4s var(--ease);
  pointer-events:none;
}
.site-header.is-scrolled .scroll-progress{ opacity:1; }

/* Plus large que le contenu (1140px) : le menu à huit entrées ne tenait pas
   sans écraser le logo. */
.header-inner{
  max-width:min(96vw, 1480px); margin:0 auto; padding:1.1rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between; gap:1.5rem;
  transition:padding .4s var(--ease);
}
.site-header.is-scrolled .header-inner{ padding:.4rem 1.5rem; }

/* Brand — gauche */
.brand{ display:flex; align-items:center; text-decoration:none; }
.brand-logo-header{
  height:72px; width:auto; object-fit:contain;
  transition:height .4s var(--ease);
}
/* À peine réduit une fois la page défilée : le logo porte le nom de la
   boutique et reste le seul repère en haut, un rétrécissement marqué le
   rendait illisible. La barre se resserre, pas lui. */
.site-header.is-scrolled .brand-logo-header{ height:58px; }

/* Nav droite */
.nav-right-group{ display:flex; align-items:center; }

/* Badge ouvert / fermé : une phrase manuscrite soulignée d'un trait de
   pinceau, comme un mot laissé sur le comptoir. La pastille à point vert
   qui l'a précédé faisait tableau de bord. */
.open-badge{
  position:relative; display:inline-block; margin-right:1.2rem; padding-bottom:6px;
  font-family:var(--font-display); font-size:1.05rem; font-weight:500; line-height:1.2;
  color:var(--ink); text-decoration:none; white-space:nowrap;
  transition:color .25s var(--ease);
}
/* sinon le display de la règle ci-dessus l'emporte sur [hidden] et le badge
   reste affiché avec un état périmé quand les horaires sont illisibles */
.open-badge[hidden]{ display:none; }
.open-stroke{
  position:absolute; left:0; bottom:-2px; width:100%; height:8px; overflow:visible;
  fill:none; stroke:var(--gold); stroke-width:2.2; stroke-linecap:round;
  vector-effect:non-scaling-stroke;
  transition:stroke .25s var(--ease);
}
.open-badge.is-closed .open-stroke{ stroke:#c9b8a4; }
.open-badge:hover{ color:var(--gold-deep); }
.open-badge:hover .open-stroke{ stroke:var(--gold-deep); }
.open-badge .open-short{ display:none; }
/* L'écart se resserre avec la fenêtre. Six entrées ne tiennent pas à
   2,4 rem d'intervalle : la barre débordait, et comme un élément de flex
   se laisse comprimer sous sa largeur de contenu, c'étaient les libellés
   eux-mêmes qui se coupaient en deux lignes. */
.main-nav ul{ display:flex; align-items:center; gap:clamp(.7rem, 1.1vw, 1rem); }
.main-nav a{
  font-size:.74rem; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--ink-soft); position:relative; padding:.4em 0;
  /* Un libellé ne se coupe jamais : il tient sur une ligne ou la barre
     passe au menu déroulant, il n'y a pas d'entre-deux acceptable. */
  white-space:nowrap;
  transition:color .22s var(--ease);
}
.main-nav a::after{
  content:""; position:absolute; left:50%; right:50%; bottom:-2px;
  height:1.5px; background:var(--gold);
  transition:left .28s var(--ease), right .28s var(--ease);
}
.main-nav a:hover{ color:var(--gold-deep); }
.main-nav a:hover::after{ left:0; right:0; }

/* Ligne décorative dorée sous le header */
.header-rule{
  height:1px;
  background:linear-gradient(to right, transparent 0%, var(--gold-pale) 25%, var(--gold) 50%, var(--gold-pale) 75%, transparent 100%);
  opacity:0; transform:scaleX(.3);
  transition:opacity .55s var(--ease), transform .55s cubic-bezier(.34,1.26,.64,1);
}
.site-header.is-scrolled .header-rule{ opacity:1; transform:scaleX(1); }

/* Mobile dropdown nav */
.mobile-nav{
  overflow:hidden; max-height:0;
  transition:max-height .42s cubic-bezier(.4,0,.2,1);
  background:rgba(251,246,238,.98); backdrop-filter:blur(12px);
}
.mobile-nav.is-open{ max-height:300px; }
.mobile-nav ul{ display:flex; flex-direction:column; padding:1rem 1.5rem 1.5rem; }
.mobile-nav li{ border-bottom:1px solid rgba(33,28,23,.07); }
.mobile-nav li:last-child{ border-bottom:none; }
.mobile-nav a{
  display:block; padding:.85rem .5rem;
  font-size:.78rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--ink-soft);
  transition:color .2s var(--ease), padding-left .22s var(--ease);
}
.mobile-nav a:hover{ color:var(--gold-deep); padding-left:1rem; }

/* Burger → × */
.nav-toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width:38px; height:38px; background:none; border:none; cursor:pointer; margin-left:1.4rem;
}
.nav-toggle span{ display:block; height:2px; width:100%; background:var(--ink); transition:transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; transform:scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:center; justify-content:center;
  overflow:hidden; padding:6rem 1.5rem 4rem; text-align:center;
  background:radial-gradient(circle at 50% 18%, var(--sand) 0%, var(--cream) 55%);
}
.hero::after{
  content:""; position:absolute; inset:0; z-index:0;
  background:url('../assets/hero-bg.jpg') center/cover no-repeat;
  opacity:.12; pointer-events:none;
}
.hero::before{
  content:""; position:absolute; bottom:0; left:0; right:0; z-index:1;
  height:180px; pointer-events:none;
  background:linear-gradient(to bottom, transparent, var(--cream));
}
.hero-wave{
  position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.2;
}
.wave-path{
  fill:none; stroke:var(--gold-pale); stroke-width:3; stroke-linecap:round;
  stroke-dasharray:2000; stroke-dashoffset:2000;
  animation:draw 2.6s var(--ease) .2s forwards;
}
@keyframes draw{ to{ stroke-dashoffset:0; } }

.hero-inner{ position:relative; z-index:1; max-width:720px; }
/* Plus de mix-blend-mode : il servait à effacer le fond blanc de l'ancien
   logo. Le nouveau est détouré, et le mélange ne ferait plus que salir son
   or en le multipliant avec la photo du hero. */
.hero-logo{ width:600px; max-width:90vw; display:block; margin:0 auto; }
.hero h1{
  font-size:clamp(3rem, 8vw, 5.2rem); letter-spacing:.01em; margin-top:0;
}
/* L'accroche qui vivait ici portait le `margin-bottom:2rem` qui séparait le
   logo des boutons. Elle est retirée, l'écart reste : sans lui, les boutons
   se collent au logo. */
.hero-actions{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:2rem; }
/* Réseaux sociaux : groupés dans leur propre boîte pour rester côte à côte
   quand la ligne de boutons se casse. Les mesures reprennent celles de .btn
   (font-size + padding + line-height) pour une pastille exactement aussi
   haute que les boutons voisins. */
.hero-socials{ display:flex; gap:.6rem; }
.hero-social{
  display:inline-flex; align-items:center; justify-content:center;
  font-size:.95rem; padding:.85em; border:1.5px solid var(--ink); border-radius:50%;
  color:var(--ink);
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.hero-social svg{ width:1.6em; height:1.6em; fill:none; stroke:currentColor; stroke-width:1.6; }
/* glyphe plein (Facebook) : le contour seul rend trop maigre à cette taille */
.hero-social svg .solid{ fill:currentColor; stroke:none; }
.hero-social:hover{ background:var(--ink); color:var(--cream); transform:translateY(-2px); }

/* ---------- Dividers (motif vague récurrent) ---------- */
.divider{
  line-height:0; color:var(--gold-pale);
  overflow:hidden;
}
/* Vague fixe : l'ancienne « respiration » en boucle redessinait toute la
   largeur de l'écran en permanence, ce qui faisait ramer les PC modestes. */
.divider svg{
  width:100%; height:80px; display:block;
}
.divider path{ fill:none; stroke:currentColor; stroke-width:3.5; vector-effect:non-scaling-stroke; }
.divider-flip{ transform:scaleY(-1); }

/* Dégradés inter-sections — couleurs inversées pour les .divider-flip.
   Ces valeurs décrivent l'enchaînement complet des sections ; quand l'une
   d'elles est vide et disparaît, site-data.js recalcule le dégradé de la
   vague concernée à partir des sections réellement visibles (attribut
   data-fond). */
.hero        + .divider{ background:linear-gradient(to bottom, var(--fond-cream), var(--fond-sand)); }
.carte-fetes + .divider{ background:linear-gradient(to bottom, var(--fond-sand),  var(--fond-cream)); }
.temoignages + .divider{ background:linear-gradient(to bottom, var(--fond-sand),  var(--fond-cream)); }
.actualites  + .divider{ background:linear-gradient(to bottom, var(--fond-cream), var(--fond-sand)); }
.realisations + .divider{ background:linear-gradient(to bottom, var(--fond-sand),  var(--fond-cream)); }
.specialites + .divider{ background:linear-gradient(to bottom, var(--fond-sand),  var(--fond-cream)); }
.histoire    + .divider{ background:linear-gradient(to bottom, var(--fond-sand),  var(--fond-white)); }
.equipe      + .divider{ background:linear-gradient(to bottom, var(--fond-white), var(--fond-cream)); }


/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(28px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- Spécialités ---------- */
.specialites{ background:var(--cream); }
.specialites .section-inner{ max-width:min(96vw, 1560px); }
.specialites h2, .histoire h2, .horaires h2, .contact h2,
.equipe h2{ font-size:clamp(2rem, 4vw, 2.6rem); }
.cards{ display:grid; grid-template-columns:repeat(3, 1fr); gap:2rem; margin-top:2.5rem; }
/* Une colonne de grille ne descend pas sous la largeur min-content de son
   contenu : sans ça, la photo d'un produit élargit la carte au-delà de l'écran
   et toute la page se met à défiler horizontalement. */
.cards > *{ min-width:0; }
.card{
  background:var(--white); border:1px solid var(--sand); border-radius:10px;
  padding:2.2rem 1.6rem; text-align:left; transition:transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card:hover{ transform:translateY(-6px); box-shadow:0 14px 30px -16px rgba(33,28,23,.25); }
/* Une carte seule sur sa dernière ligne (4e, 7e…) se place au milieu
   plutôt que de rester collée à gauche. */
.cards > .card:last-child:nth-child(3n+1){ grid-column:2; }

.card-icon{ display:inline-flex; width:48px; height:48px; margin-bottom:1.2rem; }
/* Icônes en SVG inline (bloc "Grille de cartes").
   La couleur est celle que le filtre ci-dessus produit sur du noir — mesurée,
   pas devinée — pour que les deux modes de rendu soient indiscernables. */
.card-icon svg{
  width:100%; height:100%;
  fill:none; stroke:var(--icon-ink); stroke-width:6;
  stroke-linecap:round; stroke-linejoin:round;
}
.card-icon img{ width:100%; height:100%; filter:brightness(0) saturate(100%) invert(35%) sepia(60%) saturate(500%) hue-rotate(12deg) brightness(82%); }

/* Produits vedettes dans les cartes spécialités */
.spec-produit{ display:flex; align-items:center; gap:1rem; }
.spec-produit-img{ width:104px; height:104px; object-fit:cover; border-radius:10px; flex-shrink:0; background:var(--sand); }
.spec-produit-info{ display:flex; flex-direction:column; gap:.25rem; min-width:0; }
.spec-produit-header{ display:flex; align-items:center; gap:.5rem; flex-wrap:wrap; }
.spec-produit-info strong{ font-size:1.05rem; font-family:var(--font-display); font-weight:600; color:var(--ink); }
.spec-produit-info > span{ font-size:.9rem; color:var(--ink-soft); line-height:1.45; }
.produit-tag{ font-size:.68rem; font-weight:700; letter-spacing:.05em; padding:.2em .55em; border-radius:100px; white-space:nowrap; }
.produit-tag--top-vente{ background:#fff4e0; color:#a06020; }
.produit-tag--selection{ background:#e8f0ee; color:var(--sea); }
.produit-tag--nouveaute{ background:#edf0ff; color:#4a5bcc; }

/* ---------- Spécialités en mosaïque (js/specialites.js) ----------
   Grille de 4 colonnes : chaque catégorie a sa tuile de texte (qui prend
   la place que ses photos laissent, via --span) et jusqu'à deux tuiles
   photo. Le changement de produit est un simple fondu d'opacité. */
.spec-mosaique{
  display:grid; grid-template-columns:repeat(4, minmax(0,1fr));
  grid-auto-rows:minmax(230px, auto); gap:1rem; margin-top:2.5rem;
}
.spec-tuile{ border-radius:16px; overflow:hidden; position:relative; min-width:0; order:var(--ordre, 0); }
.spec-tuile-cat{
  grid-column:span var(--span, 2);
  background:var(--white); border:1px solid var(--sand);
  padding:1.8rem 2rem; display:flex; flex-direction:column; justify-content:center;
}
.spec-tuile-cat .card-icon{ margin-bottom:.5rem; }
.spec-tuile-cat h3{ font-size:1.7rem; margin:0 0 .35rem; }
.spec-tuile-cat p{ margin:0; color:var(--ink-soft); font-size:.95rem; line-height:1.6; }
.spec-tuile-photo{
  border:none; padding:0; margin:0; background:var(--sand);
  cursor:zoom-in; font:inherit; text-align:left; color:inherit;
  transition:box-shadow .25s var(--ease);
}
.spec-tuile-photo:hover{ box-shadow:0 14px 28px -16px rgba(33,28,23,.45); }
.spec-tuile-photo:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
.spec-fondu{ position:absolute; inset:0; }
.spec-fondu img{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  opacity:0; transition:opacity .9s var(--ease);
}
.spec-fondu img.on{ opacity:1; }
.spec-etiquette{
  position:absolute; left:.7rem; right:.7rem; bottom:.7rem; z-index:1;
  display:flex; justify-content:space-between; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.94); border-radius:10px; padding:.45rem .75rem;
  font-family:var(--font-display); font-weight:600; font-size:1rem; color:var(--ink);
}
.spec-etiquette-nom{ min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spec-etiquette-tag:empty{ display:none; }

/* Tablette en portrait : à 4 colonnes, les tuiles photo ne faisaient plus
   que 170 px. On passe à 2 colonnes dès 900 px. */
@media (max-width: 900px){
  .spec-mosaique{ grid-template-columns:repeat(2, minmax(0,1fr)); grid-auto-rows:auto; gap:.8rem; }
  .spec-tuile{ order:0; }
  .spec-tuile-cat{ grid-column:1 / -1; padding:1.4rem 1.3rem; }
  .spec-tuile-photo{ aspect-ratio:1; }
  .spec-tuile-photo.is-seule{ grid-column:1 / -1; aspect-ratio:16 / 10; }
  .spec-etiquette{ font-size:.9rem; padding:.4rem .6rem; }
}
/* Tuile étroite (téléphone, iPad à l'horizontale) : nom et pastille
   « Top vente » côte à côte ne laissaient que « Le … ». La pastille passe
   dessous, le nom tient sur deux lignes. */
@media (max-width: 1100px){
  .spec-etiquette{ flex-direction:column; align-items:flex-start; gap:.25rem; }
  .spec-etiquette-nom{
    max-width:100%; white-space:normal; line-height:1.2;
    display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2;
  }
}
@media (prefers-reduced-motion: reduce){ .spec-fondu img{ transition:none; } }

/* Fenêtre produit : photo à gauche, texte à droite ; empilés sur mobile. */
.spec-lecteur{
  border:none; padding:0; background:transparent;
  width:min(900px, calc(100% - 2rem)); max-width:none; max-height:calc(100dvh - 2rem);
}
.spec-lecteur::backdrop{ background:rgba(20,16,12,.8); }
.spec-lecteur[open]{ animation:reaFondu .18s ease; }
.spec-lecteur-cadre{
  position:relative; display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);
  background:var(--cream); border-radius:16px; overflow:hidden; max-height:calc(100dvh - 2rem);
}
.spec-lecteur-cadre:has(.spec-lecteur-photo[hidden]){ grid-template-columns:1fr; }
.spec-lecteur-photo[hidden]{ display:none; }
.spec-lecteur-photo img{ width:100%; height:100%; min-height:340px; object-fit:cover; display:block; }
.spec-lecteur-texte{ padding:2.6rem 2rem 1.6rem; display:flex; flex-direction:column; gap:.45rem; overflow-y:auto; }
.spec-lecteur-cat{ margin:0; font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; color:var(--gold-deep); }
.spec-lecteur-texte h3{ font-size:clamp(1.5rem, 3.5vw, 2rem); margin:0; line-height:1.2; }
.spec-lecteur-tag:empty{ display:none; }
.spec-lecteur-desc p{ margin:.5rem 0 0; color:var(--ink-soft); line-height:1.65; }
.spec-lecteur-nav{ margin-top:auto; padding-top:1.4rem; display:flex; align-items:center; gap:.8rem; }
.spec-lecteur-nav[hidden]{ display:none; }
.spec-lecteur-compte{ font-size:.85rem; color:var(--ink-soft); min-width:3.5em; text-align:center; }
.spec-lecteur-btn{
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  border:1.5px solid var(--gold); background:var(--white); color:var(--gold-deep);
  cursor:pointer; display:grid; place-items:center;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.spec-lecteur-btn svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.spec-lecteur-btn:hover{ background:var(--gold); color:var(--white); }
.spec-lecteur-fermer{ position:absolute; top:.8rem; right:.8rem; z-index:2; }
@media (max-width: 700px){
  .spec-lecteur-cadre{ grid-template-columns:1fr; overflow-y:auto; }
  .spec-lecteur-photo img{ min-height:0; height:auto; aspect-ratio:4 / 3; }
  .spec-lecteur-texte{ overflow:visible; padding:1.4rem 1.3rem 1.2rem; }
}
.card h3{ font-size:1.4rem; margin-bottom:.5rem; }
.card p{ font-size:.96rem; margin-bottom:0; }

/* ---------- Histoire ---------- */
/* =========================================================
   Nos réalisations — mosaïque des commandes spéciales
   Colonnes CSS et non grille : c'est la seule mise en page qui ne
   recadre rien. Une pièce montée reste verticale, un buffet reste
   large — pour des photos que la boutique choisit une par une, la
   proportion d'origine fait partie de ce qu'on montre.
   ========================================================= */
.realisations{ background:var(--sand); }
.realisations h2{ font-size:clamp(2rem, 4vw, 2.6rem); }
.realisations-intro{ max-width:62ch; }

.rea-mosaique{ columns:3; column-gap:1.1rem; margin-top:2.5rem; }
@media (max-width:900px){ .rea-mosaique{ columns:2; } }
@media (max-width:520px){ .rea-mosaique{ columns:1; } }


/* Un <button> et non une <figure> : la photo s'ouvre en grand, donc elle
   s'active aussi au clavier. D'où les remises à zéro qui suivent. */
.rea-item{
  display:block; width:100%; position:relative;
  padding:0; border:0; margin:0 0 1.1rem;
  font:inherit; text-align:left; color:inherit;
  background:var(--cream); border-radius:12px; overflow:hidden;
  cursor:zoom-in; break-inside:avoid;
  box-shadow:0 10px 24px -16px rgba(33,28,23,.45);
}
/* `object-fit` alors que la hauteur est libre : il ne sert que le jour où
   le ratio enregistré ne correspond plus à la photo. Sans lui, l'image
   s'étirerait ; avec lui, elle se recadre — un défaut qui ne se voit pas. */
.rea-item img{
  width:100%; height:auto; display:block; object-fit:cover;
  transition:transform .5s var(--ease);
}
.rea-item:hover img{ transform:scale(1.05); }

/* Pas de légende, pas de bandeau : une photo sans texte reste une photo,
   pas un cadre vide. */
.rea-legende{
  position:absolute; inset:auto 0 0 0;
  padding:2.4rem .9rem .8rem;
  background:linear-gradient(to top, rgba(33,28,23,.82), rgba(33,28,23,0));
  color:var(--white); font-size:.88rem; font-weight:500; line-height:1.4;
  opacity:0; transform:translateY(6px);
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.rea-item:hover .rea-legende,
.rea-item:focus-visible .rea-legende{ opacity:1; transform:none; }
/* Au doigt, il n'y a pas de survol : la légende reste lisible. */
@media (hover:none){ .rea-legende{ opacity:1; transform:none; } }

/* ---- Deux rangées qui défilent (à partir de quatre photos) ----
   Hauteur fixe, largeur donnée par le ratio de chaque photo : une pièce
   montée reste verticale, un buffet reste large, et rien n'est recadré.
   Chaque piste porte deux fois sa série, décalée de -50 % pour boucler
   sans saut ; la gouttière est portée à droite de chaque série pour que
   les deux moitiés aient exactement la même largeur. */
.rea-mosaique.rea-defile{ columns:auto; display:flex; flex-direction:column; gap:1rem; }
.rea-rangee{
  overflow:hidden; padding-block:.4rem 1rem;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image:linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.rea-piste{
  display:flex; width:max-content;
  animation:rea-gauche var(--rea-duree, 60s) linear infinite;
}
/* La seconde rangée va un peu moins vite : les deux ne se recalent jamais */
.rea-piste.vers-droite{ animation-name:rea-droite; animation-duration:calc(var(--rea-duree, 60s) * 1.1); }
.rea-serie{ display:flex; gap:1rem; padding-right:1rem; }
.rea-defile .rea-item{ width:auto; height:220px; margin:0; flex:none; }
.rea-defile .rea-item img{ width:auto; height:100%; }
/* Survol ou focus d'une rangée : elle s'arrête, on peut viser une photo */
.rea-rangee:hover .rea-piste,
.rea-rangee:focus-within .rea-piste{ animation-play-state:paused; }
@keyframes rea-gauche{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@keyframes rea-droite{ from{ transform:translateX(-50%); } to{ transform:translateX(0); } }
/* Mouvement réduit : rien ne bouge seul, chaque rangée se parcourt au
   doigt ou à la molette, et la copie n'a plus de raison d'être. */
@media (prefers-reduced-motion: reduce){
  .rea-rangee{ overflow-x:auto; -webkit-mask-image:none; mask-image:none; }
  .rea-piste{ animation:none; }
  .rea-serie[aria-hidden="true"]{ display:none; }
}

/* Les flèches de la visionneuse posent un `display`, qui l'emporte sur le
   `display:none` que le navigateur applique à [hidden] : d'où la règle
   [hidden] explicite, plus bas. */

/* ---- Photo en grand ---- */
.rea-visionneuse{
  position:fixed; inset:0; z-index:300;
  background:rgba(20,16,12,.93);
  display:flex; align-items:center; justify-content:center;
  padding:clamp(1rem, 4vw, 3rem);
  animation:reaFondu .18s ease;
}
.rea-visionneuse[hidden]{ display:none; }
@keyframes reaFondu{ from{ opacity:0; } to{ opacity:1; } }

.rea-visionneuse figure{
  margin:0; display:flex; flex-direction:column; align-items:center; gap:.9rem;
  max-width:100%; max-height:100%;
}
.rea-visionneuse img{
  max-width:100%; max-height:80vh; width:auto; height:auto;
  border-radius:8px; box-shadow:0 30px 60px -30px #000;
}
.rea-visionneuse figcaption{
  color:var(--cream); font-size:.95rem; text-align:center; max-width:60ch;
}
.rea-visionneuse figcaption:empty{ display:none; }

.rea-btn{
  position:absolute; width:48px; height:48px; border-radius:50%;
  border:1px solid rgba(251,246,238,.3); background:rgba(20,16,12,.55);
  color:var(--cream); cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s var(--ease);
}
.rea-btn[hidden]{ display:none; }
.rea-btn:hover{ background:rgba(251,246,238,.2); }
.rea-btn svg{
  width:22px; height:22px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
}
.rea-prec{ left:clamp(.6rem, 2vw, 1.6rem);  top:50%; transform:translateY(-50%); }
.rea-suiv{ right:clamp(.6rem, 2vw, 1.6rem); top:50%; transform:translateY(-50%); }
.rea-fermer{ top:clamp(.6rem, 2vw, 1.4rem); right:clamp(.6rem, 2vw, 1.4rem); }
@media (max-width:560px){
  .rea-btn{ width:40px; height:40px; }
  .rea-visionneuse img{ max-height:70vh; }
}

.histoire{ background:var(--sand); }
.histoire-grid{ display:grid; grid-template-columns:.85fr 1.15fr; gap:3.5rem; align-items:center; }
.histoire-frame{
  border-radius:16px; overflow:hidden;
  width:min(100%, 400px); margin:0 auto;
  aspect-ratio:4/3;
  box-shadow:0 24px 48px -20px rgba(33,28,23,.4);
}
.histoire-frame img{ width:100%; height:100%; object-fit:cover; display:block; }
.histoire-text h2{ max-width:480px; }

/* ---------- Horaires & accès ---------- */
.horaires{ background:var(--sea-pale); }
.horaires-grid{ display:grid; grid-template-columns:1fr 1fr; gap:3.5rem; align-items:start; }

.hours-table{ width:100%; border-collapse:collapse; margin:1.6rem 0 1.8rem; font-size:.93rem; }
.hours-table tbody tr{ transition:background .2s; }
.hours-table tbody tr:hover{ background:rgba(92,122,120,.06); }
.hours-table th,.hours-table td{ text-align:left; padding:.7em .5em .7em 0; border-bottom:1px solid rgba(92,122,120,.12); }
.hours-table tr:last-child th,.hours-table tr:last-child td{ border-bottom:none; }
.hours-table th{ font-weight:700; color:var(--ink); width:48%; letter-spacing:.01em; }
.hours-table td{ color:var(--sea); font-weight:500; }

.horaires-col address{
  font-style:normal; color:var(--ink-soft); margin-bottom:1.6rem; line-height:2;
  background:rgba(255,255,255,.5); border-radius:10px; padding:1rem 1.2rem;
  border:1px solid rgba(92,122,120,.15);
}
.horaires-col address a{ color:var(--gold-deep); font-weight:600; }

.social-row{ display:flex; gap:.9rem; }
.social-icon{
  width:42px; height:42px; border-radius:50%; border:1.5px solid var(--sea);
  display:flex; align-items:center; justify-content:center; transition:background .25s var(--ease), color .25s var(--ease);
}
.social-icon svg{ width:20px; height:20px; fill:none; stroke:var(--sea); stroke-width:1.6; }
.social-icon:hover{ background:var(--sea); }
.social-icon:hover svg{ stroke:var(--white); }

/* Encadrement carte Google Maps */
.map-col{
  border-radius:16px; overflow:hidden;
  box-shadow:0 16px 48px -16px rgba(33,28,23,.22);
  border:2px solid rgba(200,133,58,.2);
  align-self:stretch;
}
.map-col iframe{ width:100%; height:100%; min-height:380px; border:0; display:block; }

/* "Notre sélection" — panneau dans les fiches spécialités */
.spec-selection{
  margin-top:1.6rem;
  background:linear-gradient(160deg, rgba(200,133,58,.06), rgba(251,246,238,.55));
  border:1px solid rgba(200,133,58,.16);
  border-radius:14px;
  padding:1.15rem 1.1rem 1.2rem;
}
.spec-selection-label{
  display:flex; align-items:center; gap:.55rem;
  font-family:var(--font-display); font-size:.95rem; font-weight:600; letter-spacing:.02em;
  color:var(--gold-deep);
  margin:0 0 1rem;
}
.spec-selection-label svg{ width:18px; height:18px; flex-shrink:0; color:var(--gold); }
.spec-produits{ display:flex; flex-direction:column; gap:.65rem; }
.spec-selection .spec-produit{
  background:var(--white); border-radius:10px; padding:.6rem;
  box-shadow:0 1px 3px rgba(33,28,23,.05);
  transition:transform .22s var(--ease), box-shadow .22s var(--ease);
}
.spec-selection .spec-produit:hover{
  transform:translateX(3px);
  box-shadow:0 6px 16px -6px rgba(33,28,23,.18);
}

/* ---------- Contact ---------- */
.contact{ background:var(--cream); }
.contact-inner{ max-width:640px; text-align:center; }
.contact-intro{ max-width:440px; margin:0 auto 2.4rem; }
.contact-form{ text-align:left; display:flex; flex-direction:column; gap:1.2rem; }
.form-row{ display:flex; flex-direction:column; gap:.4rem; }
.form-row label{ font-size:.85rem; font-weight:600; color:var(--ink); }
.form-row input, .form-row textarea{
  font-family:var(--font-body); font-size:1rem; padding:.7em .9em;
  border:1.5px solid var(--sand); border-radius:var(--radius); background:var(--white); color:var(--ink);
  transition:border-color .25s var(--ease);
}
.form-row input:focus, .form-row textarea:focus{ border-color:var(--gold); }
.contact-form .btn{ align-self:flex-start; margin-top:.4rem; }

/* ---------- Lightbox ---------- */
.lightbox{
  position:fixed; inset:0; z-index:200;
  background:rgba(15,12,9,.85); backdrop-filter:blur(8px);
  display:flex; align-items:center; justify-content:center; padding:1.5rem;
  opacity:0; pointer-events:none;
  transition:opacity .3s cubic-bezier(.4,0,.2,1);
}
.lightbox.is-open{ opacity:1; pointer-events:auto; }

.lightbox-inner{
  position:relative; max-width:min(90vw, 780px); max-height:90vh;
  display:flex; flex-direction:column; align-items:center; gap:.8rem;
  transform:scale(.86) translateY(12px);
  transition:transform .35s cubic-bezier(.34,1.26,.64,1);
}
.lightbox.is-open .lightbox-inner{ transform:scale(1) translateY(0); }

.lightbox-img{
  max-width:100%; max-height:80vh; object-fit:contain;
  border-radius:12px; box-shadow:0 32px 80px -16px rgba(0,0,0,.7);
  display:block;
}
.lightbox-caption{
  color:rgba(255,255,255,.72); font-size:.88rem; font-family:var(--font-body);
  text-align:center; letter-spacing:.02em;
}
.lightbox-close{
  position:fixed; top:1.2rem; right:1.4rem;
  width:40px; height:40px; border-radius:50%;
  background:rgba(255,255,255,.15); border:1px solid rgba(255,255,255,.2);
  color:#fff; font-size:1.1rem; cursor:pointer; line-height:1;
  transition:background .2s, transform .2s;
}
.lightbox-close:hover{ background:rgba(255,255,255,.28); transform:scale(1.1); }

.spec-produit-img{ cursor:zoom-in; transition:transform .25s var(--ease), box-shadow .25s var(--ease); }
.spec-produit-img:hover{ transform:scale(1.06); box-shadow:0 8px 20px -8px rgba(33,28,23,.3); }

/* ---------- Bandeau avis Google ---------- */
/* ---------- Footer ---------- */
.site-footer{
  position:relative;
  /* halo or chaud en haut à gauche pour éviter l'aplat de noir */
  background:
    radial-gradient(120% 75% at 12% 0%, rgba(200,133,58,.17), transparent 62%),
    radial-gradient(90% 60% at 92% 12%, rgba(92,122,120,.14), transparent 60%),
    var(--ink);
  color:var(--sand);
}

/* Vague de raccord avec la section précédente (fond crème) */
.footer-wave{ line-height:0; }
.footer-wave svg{ display:block; width:100%; height:72px; }
/* La vague prolonge la dernière section de la page : elle doit en reprendre
   la couleur, sinon une bande d'une autre teinte s'intercale au-dessus du
   footer. Les pages dont la dernière section n'est pas crème surchargent
   cette variable. */
.footer-wave path{ fill:var(--footer-wave-fill, var(--cream)); }

.footer-top{ padding:2.4rem 1.5rem 3.2rem; }

/* Note Google, entre la section Horaires et le footer, sans vague entre
   les deux : elle prolonge le fond bleuté des Horaires, et la vague du
   footer reprend la même couleur pour que tout s'enchaîne sans bande. */
.google-note{
  background:var(--sea-pale); display:flex; justify-content:center;
  padding:.4rem 1.5rem 1.6rem;
}
.google-note + .site-footer{ --footer-wave-fill:var(--sea-pale); }
.theme-noel .google-note{ background:rgba(231,238,236,.82); }
.google-note-lien{
  display:inline-flex; align-items:center; gap:.9rem;
  padding:.6rem 1.2rem .6rem .7rem; border-radius:999px;
  background:var(--white); color:var(--ink); text-decoration:none;
  box-shadow:0 10px 24px -16px rgba(33,28,23,.45);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease);
}
.google-note-lien:hover{ transform:translateY(-2px); box-shadow:0 14px 28px -16px rgba(33,28,23,.5); }
.google-note-lien:focus-visible{ outline:3px solid var(--gold); outline-offset:3px; }
.google-note .google-g{ width:30px; height:30px; flex-shrink:0; }
.google-note-texte{ display:flex; flex-direction:column; line-height:1.25; }
.google-note-etoiles{ color:#f4b400; font-size:.95rem; letter-spacing:.05em; }
.google-note-etoiles .star-half{ opacity:.4; }
.google-note-chiffres{ font-size:.8rem; color:var(--ink-soft); }
.google-note-cta{ font-size:.85rem; font-weight:600; color:var(--gold-deep); margin-left:.3rem; white-space:nowrap; }
.footer-grid{
  max-width:var(--max-w); margin:0 auto;
  display:grid; grid-template-columns:1.7fr 1fr 1.25fr 1.3fr; gap:3rem;
}
/* sans ça, un horaire long force la colonne à déborder au lieu de passer à la ligne */
.footer-grid > *{ min-width:0; }

/* Colonne marque */
.footer-brand-link{ display:inline-flex; align-items:center; gap:.9rem; text-decoration:none; margin-bottom:1rem; }
/* Le logo porte désormais son propre fond blanc : plus de retrait intérieur
   ni de fond translucide sous lui, qui laissaient un anneau terne entre le
   disque blanc et la bordure. Il remplit la pastille, que l'arrondi découpe. */
.footer-logo{
  height:54px; width:54px; border-radius:50%; object-fit:cover;
  background:var(--white); border:1px solid rgba(231,199,154,.22); flex-shrink:0;
  transition:transform .3s var(--ease), border-color .3s var(--ease);
}
.footer-brand-link:hover .footer-logo{ transform:scale(1.05) rotate(-3deg); border-color:var(--gold); }
.footer-brand-text{ display:flex; flex-direction:column; gap:.15rem; }
.footer-brand-name{ font-family:var(--font-display); font-size:1.3rem; font-weight:600; color:var(--cream); line-height:1.1; }
.footer-brand-tagline{ font-size:.72rem; color:var(--gold-pale); letter-spacing:.09em; text-transform:uppercase; }
.footer-brand-desc{ font-size:.86rem; color:rgba(241,230,211,.45); line-height:1.65; margin:0; font-style:italic; max-width:30ch; }

/* Intitulés de colonnes */
.footer-section-label{
  position:relative;
  font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em;
  color:var(--gold-pale); margin:0 0 1.15rem; padding-bottom:.62rem;
}
.footer-section-label::after{
  content:""; position:absolute; left:0; bottom:0; width:28px; height:2px;
  background:linear-gradient(to right, var(--gold), rgba(200,133,58,0));
}

/* Navigation */
.footer-nav ul{ list-style:none; display:flex; flex-direction:column; gap:.65rem; }
.footer-nav a{
  display:inline-block; font-size:.88rem; color:rgba(241,230,211,.6);
  transition:color .2s var(--ease), transform .2s var(--ease);
}
.footer-nav a:hover{ color:var(--cream); transform:translateX(3px); }

/* Horaires condensés */
.footer-hours{ list-style:none; display:flex; flex-direction:column; gap:.55rem; }
.footer-hours li{
  display:flex; justify-content:space-between; align-items:baseline; gap:.8rem;
  font-size:.8rem; color:rgba(241,230,211,.52);
}
.footer-hours .fh-day{ white-space:nowrap; }
.footer-hours .fh-time{ text-align:right; color:rgba(241,230,211,.72); overflow-wrap:anywhere; }
.footer-hours li.is-today .fh-day,
.footer-hours li.is-today .fh-time{ color:var(--gold-pale); font-weight:600; }
.footer-hours li.is-today .fh-day::before{
  content:"●"; font-size:.5em; vertical-align:middle; margin-right:.45em; color:var(--gold);
}

/* Contact */
.footer-contact address{ font-style:normal; display:flex; flex-direction:column; gap:.8rem; }
.footer-contact-line{
  display:flex; align-items:flex-start; gap:.6rem;
  font-size:.86rem; line-height:1.55; color:rgba(241,230,211,.6);
  transition:color .2s var(--ease);
}
.footer-contact-line svg{
  width:16px; height:16px; flex-shrink:0; margin-top:.18rem;
  fill:none; stroke:var(--gold); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
  opacity:.85; transition:opacity .2s;
}
.footer-contact-line span{ overflow-wrap:anywhere; }
/* le display ci-dessus l'emporterait sur [hidden] */
.footer-contact-line[hidden]{ display:none; }
.footer-contact-line:hover{ color:var(--cream); }
.footer-contact-line:hover svg{ opacity:1; }

/* Réseaux sociaux */
.footer-socials{ display:flex; gap:.6rem; margin-top:1.4rem; }
.footer-social-link{
  display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:10px;
  border:1px solid rgba(241,230,211,.16); color:rgba(241,230,211,.62);
  transition:background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.footer-social-link svg{
  width:18px; height:18px;
  fill:none; stroke:currentColor; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
/* glyphe plein (Facebook) : le contour seul rend trop maigre à cette taille */
.footer-social-link svg .solid{ fill:currentColor; stroke:none; }
.footer-social-link:hover{
  background:var(--gold); border-color:var(--gold); color:var(--ink); transform:translateY(-2px);
}

/* Logos officiels des réseaux (glyphes Simple Icons, CC0), partout où ils
   apparaissent : accueil, bloc horaires, pied de page de chaque page.
   Instagram : carré arrondi en dégradé, appareil photo blanc.
   Facebook  : rond bleu, « f » blanc — le glyphe est le rond lui-même, le
   « f » y est découpé et laisse voir le fond blanc de la pastille. */
:is(.hero-social, .social-icon, .footer-social-link):is([aria-label="Instagram"], [aria-label="Facebook"]){
  border:none; padding:0; overflow:hidden;
  transition:transform .25s var(--ease), filter .25s var(--ease);
}
.hero-social:is([aria-label="Instagram"], [aria-label="Facebook"]){ width:3.3em; height:3.3em; }
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Instagram"]{
  border-radius:28%;
  background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Instagram"] svg.logo-reseau{
  width:58%; height:58%; fill:#fff; stroke:none;
}
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Facebook"]{
  border-radius:50%; background:#fff;
}
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Facebook"] svg.logo-reseau{
  width:100%; height:100%; fill:#0866ff; stroke:none;
}
:is(.hero-social, .social-icon, .footer-social-link):is([aria-label="Instagram"], [aria-label="Facebook"]):hover{
  transform:translateY(-2px); filter:brightness(1.06);
}
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Instagram"]:hover{
  background:radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
:is(.hero-social, .social-icon, .footer-social-link)[aria-label="Facebook"]:hover{ background:#fff; }

/* Barre du bas */
.footer-bottom{ border-top:1px solid rgba(241,230,211,.08); }
.footer-bottom-inner{
  max-width:var(--max-w); margin:0 auto; padding:1.15rem 1.5rem;
  display:flex; justify-content:space-between; align-items:center; gap:1rem; flex-wrap:wrap;
}
.footer-bottom p{ font-size:.76rem; color:rgba(241,230,211,.3); margin:0; }
.footer-bottom-right{ display:flex; align-items:center; gap:1.3rem; }
.footer-admin-link{ font-size:.72rem; color:rgba(241,230,211,.2); transition:color .2s; }
.footer-admin-link:hover{ color:rgba(241,230,211,.55); }
.footer-top-link{
  display:inline-flex; align-items:center; gap:.45rem;
  font-size:.72rem; letter-spacing:.08em; text-transform:uppercase;
  color:rgba(241,230,211,.45); transition:color .2s var(--ease);
}
.footer-top-link svg{
  width:14px; height:14px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  transition:transform .25s var(--ease);
}
.footer-top-link:hover{ color:var(--gold-pale); }
.footer-top-link:hover svg{ transform:translateY(-3px); }

/* ---------- Barre d'action mobile (appel / itinéraire) ---------- */
.mobile-actions{
  display:none;
  position:fixed; left:0; right:0; bottom:0; z-index:90;
  gap:.6rem; padding:.7rem .9rem calc(.7rem + env(safe-area-inset-bottom));
  background:rgba(251,246,238,.92);
  backdrop-filter:blur(14px) saturate(1.4); -webkit-backdrop-filter:blur(14px) saturate(1.4);
  border-top:1px solid rgba(33,28,23,.1);
  transform:translateY(110%); transition:transform .32s var(--ease);
}
.mobile-actions.is-visible{ transform:translateY(0); }
.ma-btn{
  flex:1; display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  padding:.78em 1em; border-radius:var(--radius);
  font-weight:600; font-size:.92rem; letter-spacing:.01em;
}
.ma-btn svg{
  width:17px; height:17px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.ma-call{ background:var(--gold); color:var(--white); }
.ma-call:active{ background:var(--gold-deep); }
.ma-route{ background:none; border:1.5px solid var(--ink); color:var(--ink); }
.ma-route:active{ background:var(--ink); color:var(--cream); }
.ma-mail{ background:none; border:1.5px solid var(--gold-deep); color:var(--gold-deep); }
.ma-mail:active{ background:var(--gold-deep); color:var(--white); }

/* Bouton « Nous écrire » sous l'adresse, section Horaires & accès */
.contact-mail-btn{
  display:inline-flex; align-items:center; gap:.55rem; margin-bottom:1.6rem;
}
.contact-mail-btn svg{
  width:18px; height:18px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}

/* =========================================================
   Pages légales (mentions, confidentialité)
   ========================================================= */
.page-legale{ background:var(--cream); }
.page-legale .section-inner{ max-width:760px; }
.page-legale h1{ font-size:clamp(2rem, 5vw, 2.9rem); margin-bottom:.5em; }
.page-legale h2{
  font-size:1.3rem; margin:2.4rem 0 .6em;
  padding-top:1.6rem; border-top:1px solid var(--sand);
}
.page-legale h3{ font-size:1.05rem; margin:1.6rem 0 .5em; color:var(--gold-deep); }
.page-legale p, .page-legale li{ font-size:.98rem; line-height:1.7; }
.page-legale ul{ list-style:disc; padding-left:1.3rem; margin-bottom:1em; }
.page-legale li{ margin-bottom:.4em; color:var(--ink-soft); }
.page-legale a{ color:var(--gold-deep); text-decoration:underline; text-underline-offset:2px; }

.page-legale-chapo{
  font-size:1.05rem; background:var(--sand);
  border-left:3px solid var(--gold); padding:1rem 1.3rem; margin-bottom:2rem;
}
.page-legale-maj{ margin-top:2.5rem; font-size:.85rem; font-style:italic; }

/* Pages d'actualités générées (outils/actualites.mjs). Elles reprennent le
   gabarit des pages légales ; boutons et cartes n'en prennent pas le
   soulignement des liens. */
.actu-page .actu-page-retour{ margin:0 0 1.4rem; font-size:.92rem; }
.actu-page .actu-page-retour a{ text-decoration:none; }
.actu-page .presse-date{ margin:0 0 .3rem; }
.actu-page h1{ overflow-wrap:anywhere; text-wrap:balance; }
.actu-page-couverture{ display:block; width:100%; max-height:70vh; object-fit:cover; border-radius:14px; margin:0 0 1.8rem; }
.actu-page-texte p{ font-size:1.02rem; line-height:1.75; margin:0 0 1.1rem; }
.actu-page-photos{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:.8rem; margin:1.6rem 0 0; }
.actu-page-photos img{ width:100%; border-radius:10px; display:block; }
.actu-page-actions{ display:flex; flex-wrap:wrap; gap:.8rem; margin:2.4rem 0 0; }
.page-legale .btn, .page-legale .presse-article, .page-legale .actu-ouvrir{ text-decoration:none; }
.page-legale .btn-primary{ color:var(--white); }
.page-legale .btn-ghost, .page-legale .presse-article, .page-legale .actu-ouvrir{ color:var(--ink); }
.actu-liste .section-inner{ max-width:1140px; }
@media (max-width: 560px){
  .actu-page-actions .btn{ flex:1 1 100%; text-align:center; }
}

/* Les mentions qui attendent une information réelle. Volontairement visible :
   un document légal incomplet doit se voir, pas se deviner. */
.a-completer{
  background:#fdf0d5; color:#8c5a26; font-weight:600;
  padding:.05em .4em; border-radius:3px;
}

.table-legale{
  width:100%; border-collapse:collapse; margin:1.2rem 0 1.6rem; font-size:.92rem;
}
.table-legale th, .table-legale td{
  text-align:left; padding:.7em .8em; border-bottom:1px solid var(--sand);
  vertical-align:top;
}
.table-legale th{
  font-size:.78rem; text-transform:uppercase; letter-spacing:.06em;
  color:var(--ink-soft); font-weight:700;
}
.table-legale td{ color:var(--ink-soft); }

/* =========================================================
   Carte des Fêtes — le flyer imprimé, à feuilleter
   Sans JavaScript : les quatre pages en grille. Avec : un dépliant,
   couverture seule, intérieur en double page, dos (une page à la fois
   sur écran étroit). Cf. js/carte-fetes.js.
   ========================================================= */
.carte-fetes{ background:var(--sand); }
.carte-fetes .section-inner{ padding-top:4.5rem; padding-bottom:4.5rem; }
.carte-fetes h2{ text-align:center; }
.carte-fetes-intro{ text-align:center; max-width:62ch; margin:0 auto 2.4rem; color:var(--ink-soft); }
.carte-fetes-intro strong{ display:block; margin-top:.4em; color:var(--gold-deep); font-weight:600; }

.livret-scene{ display:grid; grid-template-columns:repeat(4, 1fr); gap:1rem; }
.livret-page{
  display:block; width:100%; height:auto; border-radius:6px;
  background:#14100c;                 /* le fond du flyer, le temps que l'image arrive */
  box-shadow:0 22px 40px -24px rgba(20,16,12,.75);
}

.livret-actif .livret-scene{ display:flex; justify-content:center; perspective:1800px; }
.livret-actif .livret-page{ width:min(420px, 100%); cursor:pointer; }
.livret-actif .livret-page[hidden]{ display:none; }
.livret-actif .is-double .livret-page{ width:min(420px, 50%); }
/* La pliure : coins droits au centre, une ombre dans le creux. */
.livret-page.is-gauche{
  border-radius:6px 0 0 6px;
  box-shadow:inset -18px 0 22px -16px rgba(0,0,0,.55), 0 22px 40px -24px rgba(20,16,12,.75);
}
.livret-page.is-droite{ border-radius:0 6px 6px 0; }

@keyframes livret-avant{
  from{ opacity:0; transform:rotateY(-14deg) translateX(24px); }
  to  { opacity:1; transform:none; }
}
@keyframes livret-arriere{
  from{ opacity:0; transform:rotateY(14deg) translateX(-24px); }
  to  { opacity:1; transform:none; }
}
.livret-scene.tourne-avant  { animation:livret-avant   .45s var(--ease); }
.livret-scene.tourne-arriere{ animation:livret-arriere .45s var(--ease); }
@media (prefers-reduced-motion: reduce){
  .livret-scene.tourne-avant, .livret-scene.tourne-arriere{ animation:none; }
}

.livret-nav{ display:flex; align-items:center; justify-content:center; gap:1.2rem; margin-top:1.6rem; }
.livret-nav[hidden]{ display:none; }
.livret-btn{
  width:46px; height:46px; flex-shrink:0; border-radius:50%;
  border:1.5px solid var(--gold); background:var(--white); color:var(--gold-deep);
  display:grid; place-items:center; cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.livret-btn svg{ width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.livret-btn:hover:not(:disabled){ background:var(--gold); color:var(--white); }
.livret-btn:disabled{ opacity:.35; cursor:default; }
.livret-etat{ margin:0; min-width:12em; text-align:center; font-size:.95rem; color:var(--ink-soft); }

.carte-fetes-actions{ display:flex; justify-content:center; flex-wrap:wrap; gap:.8rem; margin-top:2rem; }

@media (max-width: 759px){
  .carte-fetes .section-inner{ padding-top:3.4rem; padding-bottom:3.4rem; }
  .livret-scene{ grid-template-columns:repeat(2, 1fr); }
  .livret-etat{ min-width:0; flex:1; font-size:.88rem; }
  .carte-fetes-actions .btn{ width:100%; justify-content:center; text-align:center; }
}

/* =========================================================
   Ils parlent de nous (avis choisis à la main) et Actualités
   (articles de presse) — deux sections, un même jeu de cartes
   ========================================================= */
.temoignages{ background:var(--sand); }
.actualites{ background:var(--cream); }
.temoignages .section-inner,
.actualites .section-inner{ padding-top:4.5rem; padding-bottom:4.5rem; }
/* Les cartes au-delà des 6 premières, et le bouton une fois tout affiché. */
.presse-articles > [hidden], .actu-voir-plus[hidden]{ display:none; }
.actu-voir-plus{ display:block; margin:2.2rem auto 0; }

/* --- Articles de presse --- */
.presse-articles{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:1.4rem; margin-top:2.2rem;
}
.presse-article{
  display:flex; flex-direction:column;
  background:var(--white); border-radius:12px; overflow:hidden;
  box-shadow:0 14px 30px -24px rgba(33,28,23,.5);
  transition:transform .28s var(--ease), box-shadow .28s var(--ease);
}
/* La photo va bord à bord : le retrait est porté par le corps, pas la carte. */
.presse-article-corps{
  display:flex; flex-direction:column; gap:.7rem; flex:1;
  padding:1.5rem 1.6rem;
}
/* Hauteur réglée par article depuis le panel. Le rapport plutôt qu'une
   hauteur en pixels : la photo suit la largeur de sa carte, qui change
   avec la grille et l'écran. */
.presse-photo{
  width:100%; aspect-ratio:16/9; object-fit:cover;
  transition:transform .4s var(--ease);
}
.presse-photo.photo-moyenne{ aspect-ratio:21/9; }
.presse-photo.photo-petite{ aspect-ratio:32/9; }
.presse-article:hover .presse-photo{ transform:scale(1.03); }
.presse-article:hover{
  transform:translateY(-3px);
  box-shadow:0 22px 40px -26px rgba(33,28,23,.55);
}
.presse-media{
  align-self:flex-start;
  font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--gold-deep); background:var(--sand);
  border-radius:999px; padding:.3em .9em;
}
.presse-article h3{
  font-size:1.12rem; line-height:1.35; margin:0;
  /* Un titre de presse peut être long : il ne doit pas déborder de la carte */
  overflow-wrap:anywhere;
}
.presse-extrait{ font-size:.93rem; font-style:italic; margin:0; }
.presse-date{ font-size:.8rem; color:var(--ink-soft); margin:0; }
.presse-lire{
  margin-top:auto; display:inline-flex; align-items:center; gap:.4rem;
  font-size:.85rem; font-weight:600; color:var(--gold-deep);
}
.presse-lire svg{
  width:14px; height:14px; fill:none; stroke:currentColor;
  stroke-width:2; stroke-linecap:round; stroke-linejoin:round;
  transition:transform .25s var(--ease);
}
.presse-article:hover .presse-lire svg{ transform:translate(2px,-2px); }

/* --- Articles de la boulangerie --- */
/* Toute la carte ouvre l'article : le bouton du titre s'étend sur elle. */
.actu-maison{ position:relative; cursor:pointer; }
.actu-ouvrir{
  all:unset; cursor:pointer; overflow-wrap:anywhere;
}
.actu-ouvrir::after{ content:''; position:absolute; inset:0; }
.actu-ouvrir:focus-visible{ outline:none; }
.actu-maison:has(.actu-ouvrir:focus-visible){ outline:2px solid var(--gold); outline-offset:3px; }
.actu-maison:hover .presse-lire svg{ transform:translateX(3px); }
.actu-resume{
  margin:0; font-size:.93rem; color:var(--ink-soft);
  display:-webkit-box; -webkit-line-clamp:4; -webkit-box-orient:vertical; overflow:hidden;
  white-space:pre-line;
}
.actu-nb-photos{
  position:absolute; top:.8rem; right:.8rem;
  font-size:.72rem; font-weight:600; color:var(--white);
  background:rgba(20,16,12,.6); border-radius:999px; padding:.3em .8em;
}

/* Fenêtre de lecture */
.actu-lecteur{
  border:none; padding:0; background:transparent;
  width:min(760px, calc(100% - 2rem)); max-width:none;
  max-height:calc(100dvh - 2rem);
}
.actu-lecteur::backdrop{ background:rgba(20,16,12,.8); }
.actu-lecteur[open]{ animation:reaFondu .18s ease; }
.actu-lecteur-cadre{
  position:relative; background:var(--cream); border-radius:14px;
  max-height:calc(100dvh - 2rem); overflow-y:auto;
}
/* Barre de hauteur nulle collée en haut : la croix reste visible pendant
   la lecture sans repousser la photo de couverture. */
.actu-lecteur-barre{ position:sticky; top:0; height:0; z-index:1; }
.actu-fermer{ top:.8rem; right:.8rem; }
.actu-lecteur-couverture{
  display:block; width:100%; max-height:60vh; object-fit:cover;
  border-radius:14px 14px 0 0;
}
.actu-lecteur-texte{ padding:1.6rem clamp(1.2rem, 4vw, 2.4rem) 1rem; }
/* Sans couverture, le texte démarre sous la croix. */
.actu-lecteur-contenu > .actu-lecteur-texte:first-child{ padding-top:4.4rem; }
.actu-lecteur-texte h2{ font-size:clamp(1.4rem, 3.5vw, 1.9rem); margin:.3rem 0 1rem; overflow-wrap:anywhere; }
.actu-lecteur-texte p{ line-height:1.65; margin:0 0 1rem; }
.actu-lecteur-photos{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr));
  gap:.8rem; padding:0 clamp(1.2rem, 4vw, 2.4rem) clamp(1.2rem, 4vw, 2.4rem);
}
.actu-lecteur-photos img{ width:100%; border-radius:8px; display:block; }

/* --- Avis Google choisis --- */
.presse-avis{
  display:grid; grid-template-columns:repeat(auto-fit, minmax(270px, 1fr));
  gap:1.4rem; margin-top:1.4rem;
}
/* Vide tant qu'aucun avis n'est sélectionné : pas de marge fantôme */
.presse-avis:empty{ display:none; }

/* Chaque avis est une bulle de conversation : le texte dans la bulle, qui
   parle dessous. La bulle prend la hauteur de son texte — dans le bandeau,
   les cartes s'alignent en haut au lieu de s'étirer sur la plus longue. */
.avis-carte{
  margin:0; display:flex; flex-direction:column; gap:.7rem;
  align-self:flex-start;
}
.avis-bulle{
  position:relative; background:var(--white);
  border-radius:18px 18px 18px 4px; padding:1.2rem 1.4rem 1.3rem;
  box-shadow:0 14px 30px -24px rgba(33,28,23,.5);
}
/* Guillemet ouvrant en filigrane, dans le coin haut droit de la bulle */
.avis-bulle::before{
  content:"“"; position:absolute; top:.1rem; right:1rem;
  font-family:var(--font-display); font-weight:700; font-size:4.6rem; line-height:1;
  color:var(--gold-pale); pointer-events:none;
}
.avis-etoiles{ position:relative; color:var(--gold); font-size:1rem; letter-spacing:.12em; }
.avis-bulle blockquote{
  position:relative; margin:.5rem 0 0; font-size:.94rem; line-height:1.6; color:var(--ink-soft);
  overflow-wrap:anywhere;
  /* Au-delà de six lignes, la bulle deviendrait une colonne : on coupe */
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:6; overflow:hidden;
}
.avis-carte figcaption{
  display:flex; align-items:center; gap:.6rem; padding-left:.2rem;
  font-size:.85rem; font-weight:600; color:var(--ink);
}
.avis-initiale{
  flex:none; width:2rem; height:2rem; border-radius:50%;
  display:grid; place-items:center;
  background:var(--sea); color:var(--white);
  font-family:var(--font-display); font-weight:600; font-size:.9rem;
}
.avis-source{ font-weight:400; color:var(--ink-soft); }

/* --- Bandeau défilant (à partir de trois avis) ---
   La piste contient deux fois la même série : décalée de -50 %, la copie
   occupe pile la place de l'original et la boucle ne se voit pas. Chaque
   série porte sa gouttière à droite pour que les deux moitiés aient la
   même largeur. Les bords s'effacent en fondu plutôt que de couper net. */
.presse-avis.avis-defile{
  display:block; position:relative;
  overflow:hidden;
  -webkit-mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image:linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  padding:.6rem 0 1.6rem;
}
.avis-piste{
  display:flex; width:max-content;
  animation:avis-defile var(--avis-duree, 80s) linear infinite;
}
.avis-serie{ display:flex; align-items:flex-start; gap:1.4rem; padding-right:1.4rem; }
.avis-defile .avis-carte{ width:320px; flex:0 0 auto; }
/* Survol et focus arrêtent la lecture : on lit un avis sans le poursuivre */
.avis-defile:hover .avis-piste,
.avis-defile:focus-within .avis-piste{ animation-play-state:paused; }
@keyframes avis-defile{
  from{ transform:translateX(0); }
  to{   transform:translateX(-50%); }
}
/* Mouvement réduit : pas d'animation, la série se parcourt au doigt ou à
   la molette, et la copie n'a plus de raison d'être. */
@media (prefers-reduced-motion: reduce){
  .presse-avis.avis-defile{
    overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:1rem;
    -webkit-mask-image:none; mask-image:none;
  }
  .avis-piste{ animation:none; }
  .avis-serie[aria-hidden="true"]{ display:none; }
  .avis-defile .avis-carte{ scroll-snap-align:start; }
}

/* =========================================================
   Notre équipe
   ========================================================= */
.equipe{ background:var(--white); }
.equipe .section-inner{ padding-top:4.5rem; padding-bottom:4.5rem; }
.equipe-intro{ max-width:62ch; }
.equipe-intro[hidden]{ display:none; }
/* Trombinoscope à gauche, fiche complète à droite (collée à l'écran en
   défilant). Une teinte par métier : cercle du visage choisi, liseré et
   pastille de la fiche. */
.equipe-grille{
  display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:2.5rem; align-items:start; margin-top:2.6rem;
}
.equipe-av, .equipe-fiche{ --metier:var(--gold-deep); }
.metier-patrons{    --metier:var(--ink); }
.metier-boulangers{ --metier:var(--gold); }
.metier-patissiers{ --metier:#b0626a; }
.metier-vente{      --metier:var(--sea); }

.equipe-avatars{ display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:1.1rem .8rem; }
.equipe-av{
  display:flex; flex-direction:column; align-items:center; gap:.35rem;
  background:none; border:0; padding:0; margin:0; cursor:pointer;
  font:inherit; color:inherit;
}
.equipe-av-photo{
  width:84px; height:84px; border-radius:50%; object-fit:cover;
  border:3px solid transparent; box-shadow:0 10px 22px -16px rgba(33,28,23,.6);
  transition:border-color .25s var(--ease), transform .25s var(--ease);
}
.equipe-av-nom{ font-size:.86rem; font-weight:600; line-height:1.2; text-align:center; }
.equipe-av[aria-pressed="true"] .equipe-av-photo,
.equipe-av:hover .equipe-av-photo{ border-color:var(--metier); transform:scale(1.05); }
.equipe-av:focus-visible{ outline:none; }
.equipe-av:focus-visible .equipe-av-photo{ outline:3px solid var(--gold); outline-offset:3px; }

.equipe-monogramme{
  display:grid; place-items:center;
  background:color-mix(in srgb, var(--metier) 16%, var(--white));
  color:var(--metier);
  font-family:var(--font-display); line-height:1; user-select:none;
}
.equipe-av-photo.equipe-monogramme{ font-size:1.9rem; }

.equipe-fiche{
  position:sticky; top:6.5rem;
  display:grid; grid-template-columns:minmax(0,.85fr) minmax(0,1fr);
  background:var(--cream); border-radius:22px; overflow:hidden;
  border-top:6px solid var(--metier);
  box-shadow:0 18px 40px -28px rgba(33,28,23,.5);
}
.equipe-fiche-photo{ min-height:360px; background:var(--sand); }
/* Portraits souvent cadrés serré : on garde le haut (le visage) quand le
   cadre recadre. */
.equipe-fiche-img{ width:100%; height:100%; object-fit:cover; object-position:50% 25%; display:block; }
.equipe-fiche-img.equipe-monogramme{ font-size:5rem; }
.equipe-fiche-texte{ padding:1.8rem 1.6rem; animation:equipeFiche .4s var(--ease); }
@keyframes equipeFiche{ from{ opacity:0; transform:translateY(8px); } }
.equipe-fiche h3{ font-size:2rem; margin:.35rem 0 0; }
.equipe-role{ font-size:.92rem; color:var(--metier); font-weight:600; margin:0; }
.equipe-metier{
  display:inline-flex; align-items:center; gap:.4rem;
  font-size:.7rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:var(--metier);
}
.equipe-metier::before{ content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.equipe-mot{ margin:.8rem 0 0; color:var(--ink-soft); line-height:1.65; }
.equipe-infos{ display:flex; flex-wrap:wrap; gap:.4rem 1.6rem; margin:1rem 0 0; }
.equipe-infos div{ display:flex; flex-direction:column; }
.equipe-infos dt{ font-size:.66rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-soft); }
.equipe-infos dd{ margin:0; font-weight:600; }

@media (max-width: 860px){
  .equipe-grille{ grid-template-columns:1fr; gap:1.6rem; }
  /* Tablette en portrait : la fiche passe sous les visages mais garde la
     photo à côté du texte. Pleine largeur, la photo montait à 540 px de haut
     et n'affichait plus qu'un visage agrandi et flou. */
  .equipe-fiche{ position:static; grid-template-columns:minmax(0,.75fr) minmax(0,1fr); }
  .equipe-fiche-photo{ min-height:300px; }
}
@media (max-width: 520px){
  .equipe-fiche{ grid-template-columns:1fr; }
  .equipe-fiche-photo{ min-height:0; aspect-ratio:1 / 1; }
  .equipe-avatars{ grid-template-columns:repeat(4, minmax(0,1fr)); gap:.9rem .5rem; }
  .equipe-av-photo{ width:64px; height:64px; }
  .equipe-av-photo.equipe-monogramme{ font-size:1.5rem; }
  .equipe-av-nom{ font-size:.78rem; }
  .equipe-fiche-texte{ padding:1.3rem 1.2rem; }
  .equipe-fiche h3{ font-size:1.7rem; }
}
@media (prefers-reduced-motion: reduce){
  .equipe-fiche-texte{ animation:none; }
  .equipe-av-photo{ transition:none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 900px){
  .histoire-grid, .horaires-grid{ grid-template-columns:1fr; }
  .histoire-visual{ order:-1; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:2.5rem 2rem; }
  .footer-brand{ grid-column:span 2; }
  .footer-wave svg{ height:54px; }
}

/* La phrase du badge (« À mardi, dès 7h ») est la première chose qu'on
   sacrifie quand la barre se remplit : le mot « Ouvert » / « Fermé », lui, reste.
   Le seuil suit le nombre d'entrées : à huit, la phrase longue collait le
   badge au logo jusqu'à 1920px (barre plafonnée à 1320px). Barre portée à
   1480px, et la phrase n'apparaît qu'à partir de 1440px. */
@media (max-width: 1439px){
  .open-badge .open-long{ display:none; }
  .open-badge .open-short{ display:inline; }
}

/* Seuil du menu déroulant. Il était à 720px du temps où la barre portait
   cinq entrées, puis à 980px avec « Réalisations » en sixième. Elle en
   compte huit depuis « Ils parlent de nous », « Actualités » et « Notre
   équipe » : mesure faite, elles tiennent jusqu'à 1241px et pas en dessous.
   L'enveloppe « Nous écrire » ajoutée à côté prend ~55px : seuil à 1300px. */
@media (max-width: 1300px){
  .nav-right-group .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
}

@media (max-width: 720px){
  /* La pastille de défilement est en absolu en bas du hero, dont le contenu
     est centré : sur un écran court elle passait par-dessus les deux boutons.
     On lui réserve sa place en remontant le contenu. */
  .hero{ padding-bottom:7rem; }
  /* Badge compact. Sa phrase a déjà cédé la place au seul mot plus haut, dès 1340px. */
  .open-badge{ margin-right:.7rem; font-size:.95rem; }
  /* Place pour la barre d'action fixe */
  .mobile-actions{ display:flex; }
  body{ padding-bottom:70px; }
  .cards{ grid-template-columns:1fr; }
  /* Une seule colonne : plus de milieu où centrer */
  .cards > .card:last-child:nth-child(3n+1){ grid-column:auto; }
  /* Presse et avis : une colonne, cartes un peu plus serrées */
  .presse-articles, .presse-avis{ grid-template-columns:1fr; gap:1.1rem; }
  .temoignages .section-inner,
  .actualites .section-inner{ padding-top:3.4rem; padding-bottom:3.4rem; }
  .presse-article-corps, .avis-bulle{ padding:1.25rem 1.3rem; }
  /* Bandeau : une carte et le début de la suivante, pour montrer que ça continue */
  .avis-defile .avis-carte{ width:min(270px, 78vw); }
  .avis-serie{ gap:1.1rem; padding-right:1.1rem; }
  /* Réalisations : rangées plus basses, deux photos et demie à l'écran */
  .rea-defile .rea-item{ height:150px; }
  .rea-serie{ gap:.7rem; padding-right:.7rem; }
  .rea-mosaique.rea-defile{ gap:.4rem; }
  .presse-avis.avis-defile{
    -webkit-mask-image:linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
            mask-image:linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
  }

  /* Les tableaux légaux ne rétrécissent pas indéfiniment : ils défilent
     dans leur propre boîte plutôt que d'élargir toute la page. */
  .table-legale{ display:block; overflow-x:auto; white-space:nowrap; }
  .table-legale td, .table-legale th{ white-space:normal; min-width:8rem; }
  .presse-article h3{ font-size:1.05rem; }
  /* 2 colonnes gardées pour nav + horaires : plus compact qu'un empilement total */
  .footer-top{ padding:1.8rem 1.5rem 2.4rem; }
  .footer-grid{ grid-template-columns:1fr 1fr; gap:2rem 1.5rem; }
  .footer-contact{ grid-column:span 2; }
  .footer-hours li{ flex-direction:column; gap:.1rem; align-items:flex-start; }
  .footer-hours .fh-time{ text-align:left; }
  .footer-bottom-inner{ flex-direction:column; gap:.7rem; text-align:center; justify-content:center; }
  .footer-wave svg{ height:40px; }

  /* Cibles tactiles : ces liens n'ont normalement que la hauteur de leur
     texte — confortable au clic à la souris, trop juste au doigt. Le padding
     agrandit la zone sans changer l'espacement visuel (compensé par un gap
     réduit d'autant). */
  .footer-nav ul{ gap:0; }
  .footer-nav a{ padding:.6rem 0; }
  .footer-contact address{ gap:0; }
  .footer-contact-line{ padding:.5rem 0; }
  .footer-social-link{ width:44px; height:44px; }
  .footer-bottom-right{ gap:.4rem; flex-direction:column; }
  .footer-admin-link, .footer-top-link{ padding:.5rem .3rem; }
}

@media (max-width: 460px){
  /* Sous 460px, le badge ouvert/fermé et le burger ne laissent plus assez
     de largeur : le logo garde sa hauteur mais cède sur l'espace autour. */
  .header-inner{ padding:.6rem .8rem; }
  .open-badge{ margin-right:.4rem; }
  .nav-toggle{ margin-left:.6rem; }
  /* L'enveloppe cède la place : « Nous écrire » reste dans le menu */
  .header-mail{ display:none; }

  /* Pastilles réseaux un cran plus petites : sur cette largeur elles occupent
     leur propre ligne sous les boutons du hero */
  .hero-social{ font-size:.85rem; padding:.8em; }

  .footer-grid{ grid-template-columns:1fr; gap:1.9rem; }
  .footer-brand, .footer-contact{ grid-column:auto; }
  .footer-brand-desc{ max-width:none; }
  .footer-bottom-right{ flex-direction:column; gap:.55rem; }

  /* Trois boutons dans la barre d'action : moins d'air pour tenir sur 320px */
  .mobile-actions{ gap:.45rem; padding-left:.6rem; padding-right:.6rem; }
  .ma-btn{ gap:.35rem; padding:.78em .5em; font-size:.88rem; }
  .contact-mail-btn{ width:100%; justify-content:center; }
}

/* =========================================================
   HABILLAGE DE NOËL
   Activé depuis l'admin (onglet Noël) : js/theme.js pose la classe
   .theme-noel sur <html>.

   La palette du site ne bouge pas. Une version précédente redéfinissait
   les variables de :root pour repeindre tout le site en rouge — c'était
   trop : le décor suffit, et la charte crème et or reste celle de la
   boulangerie toute l'année. Seul s'ajoute ce qui est réellement de Noël.
   ========================================================= */

/* --------------------------------------------------------
   Décor. Tout est peint en fonds CSS plutôt qu'en centaines
   d'éléments : les flocons et les ampoules sont des dégradés radiaux
   répétés sur quelques calques plein écran. Trois calques animés coûtent
   trois compositions GPU ; trois cents <span> en coûteraient trois cents.
   Aucun style en ligne non plus — les pages légales n'autorisent pas
   'unsafe-inline' pour les styles dans leur CSP.
   -------------------------------------------------------- */

/* ---- Neige ---- */
/* Trois nappes : arrière-plan fin et rapide, milieu, premier plan gros et
   lent. Chaque nappe descend en déplaçant son fond et dérive latéralement
   par translation — deux propriétés distinctes, donc deux animations sur
   le même élément sans qu'elles se marchent dessus.
   Le blanc pur disparaîtrait sur un fond crème : chaque flocon a un cœur
   blanc cerclé de gris bleu, ce qui le détache sans l'assombrir. */
/* z-index négatif : la neige passe derrière le contenu, entre le fond de
   page et les fonds de section. Ces derniers sont opaques d'origine et
   l'auraient entièrement masquée — ils deviennent donc légèrement
   translucides sous le thème, plus bas. */
.noel-snow{
  position:fixed; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
}
.noel-snow i{ position:absolute; left:-5%; right:-5%; top:0; bottom:0; display:block; }

/* Un flocon = un disque plein, cœur blanc qui se dégrade vers un bleu
   glacier avant de s'éteindre. Le blanc pur seul serait invisible sur un
   fond crème ; un cœur blanc cerclé de bleu à bord net donnait des petits
   anneaux, parce qu'à cette taille seul le cerne se voit. Le dégradé
   continu, lui, se lit comme un flocon. */
.noel-snow-1{
  background-image:
    radial-gradient(circle 3px at  24px  18px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 3px at 118px  72px, #fff 0 35%, rgba(126,161,196,.8)  72%, rgba(126,161,196,0) 100%),
    radial-gradient(circle 3px at 196px  36px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 3px at  66px 144px, #fff 0 35%, rgba(126,161,196,.8)  72%, rgba(126,161,196,0) 100%),
    radial-gradient(circle 3px at 162px 186px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 3px at  36px 228px, #fff 0 35%, rgba(126,161,196,.8)  72%, rgba(126,161,196,0) 100%),
    radial-gradient(circle 3px at 216px 120px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 3px at 126px 240px, #fff 0 35%, rgba(126,161,196,.8)  72%, rgba(126,161,196,0) 100%),
    radial-gradient(circle 3px at 240px 264px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 3px at  90px 300px, #fff 0 35%, rgba(126,161,196,.8)  72%, rgba(126,161,196,0) 100%);
  background-size:270px 320px;
  animation:snow-drop-1 9s linear infinite, snow-sway 7s ease-in-out infinite alternate;
}
.noel-snow-2{
  background-image:
    radial-gradient(circle 4.5px at  54px  30px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at 210px  96px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at 108px 174px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at 288px 216px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at 258px  12px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at  18px 132px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at 174px 288px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 4.5px at  72px 252px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%);
  background-size:330px 330px;
  animation:snow-drop-2 14s linear infinite, snow-sway 9s ease-in-out infinite alternate-reverse;
}
.noel-snow-3{
  background-image:
    radial-gradient(circle 6.5px at  84px  48px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 6.5px at 264px 162px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 6.5px at 156px 288px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 6.5px at  30px 210px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 6.5px at 330px 342px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%),
    radial-gradient(circle 6.5px at 198px 108px, rgba(157,183,208,.82) 0 40%, rgba(157,183,208,.42) 74%, rgba(157,183,208,0) 100%);
  background-size:390px 390px;
  animation:snow-drop-3 21s linear infinite, snow-sway 12s ease-in-out infinite alternate;
}
/* La descente vaut exactement une hauteur de tuile, en pixels et non en
   pourcentage : sur un fond répété, un pourcentage se calcule par rapport
   à la place restante et ne retombe pas sur la tuile — la boucle sauterait
   à chaque tour. */
@keyframes snow-drop-1{ to{ background-position-y:320px; } }
@keyframes snow-drop-2{ to{ background-position-y:330px; } }
@keyframes snow-drop-3{ to{ background-position-y:390px; } }
@keyframes snow-sway{
  from{ transform:translateX(-18px); }
  to  { transform:translateX(18px); }
}

/* ---- Fonds de section translucides, pour laisser voir la neige ---- */
/* Sans ça, chaque section repeindrait par-dessus : la neige ne resterait
   visible que dans les interstices, c'est-à-dire nulle part. Ce sont les
   couleurs habituelles du site, simplement rendues un peu transparentes —
   crème (251,246,238), sable (241,230,211), vert d'eau (231,238,236). */
.theme-noel .hero{
  background:radial-gradient(circle at 50% 18%, rgba(241,230,211,.72) 0%, rgba(251,246,238,.5) 55%);
}
/* Les vagues entre sections lisent ces variables : sans elles, chaque
   vague resterait une bande opaque où la neige s'interrompt. */
.theme-noel{
  --fond-cream:    rgba(251,246,238,.8);
  --fond-sand:     rgba(241,230,211,.78);
  --fond-white:    rgba(255,255,255,.78);
  --fond-sea-pale: rgba(231,238,236,.82);
}
.theme-noel .specialites,
.theme-noel .actualites,
.theme-noel .accueil-ateliers,
.theme-noel .contact,
.theme-noel .page-legale,
.theme-noel .commande-head,
.theme-noel .stage-head{ background:rgba(251,246,238,.8); }
.theme-noel .carte-fetes,
.theme-noel .histoire,
.theme-noel .temoignages,
.theme-noel .realisations,
.theme-noel .commande-body,
.theme-noel .commande-closed,
.theme-noel .commande-succes{ background:rgba(241,230,211,.78); }
.theme-noel .horaires{ background:rgba(231,238,236,.82); }
.theme-noel .equipe{ background:rgba(255,255,255,.78); }

/* ---- Bonnet sur le grand logo du hero ---- */
/* Le conteneur épouse l'image, ce qui permet de placer le bonnet en
   pourcentages : le logo fait 600 px mais se rabat sur 90vw en dessous,
   et le bonnet reste au même endroit du dessin dans les deux cas. */
.noel-logo-wrap{ position:relative; display:inline-block; }
/* Repères en pourcentage de la boîte du logo (800 × 645) : le bonnet
   coiffe le « S » final de PARADIS, qui occupe x 692–758 et commence à
   y 284 dans l'image. La pointe déborde un peu à droite du logo. */
.noel-bonnet{
  position:absolute; left:85%; top:34.5%; width:16%; height:auto;
  transform:rotate(-8deg); transform-origin:bottom left; pointer-events:none;
}

/* ---- Compte à rebours dans le hero ---- */
/* Une phrase écrite à la main plutôt qu'une pastille : un peu de travers,
   le chiffre en or, soulignée d'un trait ondulé. `display:table` centre le
   bloc tout en le laissant épouser la largeur du texte, que le trait suit. */
.noel-countdown{ display:table; margin:1.4rem auto 0; transform:rotate(-2deg); }
.noel-countdown p{
  margin:0; font-family:var(--font-display); font-size:1.65rem; font-weight:500;
  line-height:1.2; color:var(--ink);
}
.noel-countdown b{ color:var(--gold); font-weight:700; font-size:2.1rem; }
.noel-countdown svg{ display:block; width:100%; height:16px; margin-top:-.2rem; }
.noel-countdown svg path{ fill:none; stroke:var(--gold); stroke-width:2.5; stroke-linecap:round; }
@media (max-width: 480px){
  .noel-countdown p{ font-size:1.35rem; }
  .noel-countdown b{ font-size:1.7rem; }
}

/* Un décor qui bouge en permanence n'est pas négociable pour qui a demandé
   moins d'animations : la neige s'arrête. */
@media (prefers-reduced-motion: reduce){
  .noel-snow i{ animation:none; }
}

/* Mobile : deux nappes de neige au lieu de trois. Un
   décor plein écran se compose à chaque image, autant lui donner moins à
   faire sur batterie. */
@media (max-width: 720px){
  .noel-snow-3{ display:none; }
}

@media (max-width: 480px){
  .section-inner{ padding:3.8rem 1.2rem; }
  .hero h1{ font-size:2.8rem; }
}

/* =========================================================
   Page « Commander » (réservations de Noël)
   ========================================================= */

/* Pas de hero plein écran ici : le header, qui est en position fixe,
   passerait par-dessus le titre. Il garde donc son fond en permanence,
   et le contenu commence sous lui. */
.page-commander .site-header{
  background:rgba(251,246,238,.92);
  backdrop-filter:blur(18px) saturate(1.6);
  -webkit-backdrop-filter:blur(18px) saturate(1.6);
}
.page-commander .header-rule{ opacity:1; transform:scaleX(1); }
/* Doit suivre la hauteur du header, qui est en position fixe : logo + ses
   marges. Un logo plus grand pousse d'autant le début du contenu. */
.commande-main{ padding-top:7rem; }

/* Lien « Commander » de la barre de navigation : c'est l'action de la page,
   elle se distingue des autres entrées. */
.nav-cta{ color:var(--gold-deep) !important; }
.nav-cta::after{ left:0; right:0; }

/* ---------- En-tête de page ---------- */
.commande-head{ background:var(--cream); }
.commande-head .section-inner{ padding-bottom:2.5rem; max-width:780px; }
.commande-head h1{ font-size:clamp(2.2rem, 5vw, 3.4rem); margin-bottom:.35em; }
.commande-intro{ font-size:1.05rem; max-width:620px; }
.commande-message{
  background:var(--sand); border-left:3px solid var(--gold);
  padding:.9rem 1.2rem; margin:1.6rem 0 0; color:var(--ink); font-weight:500;
}
.commande-head + .divider{ background:linear-gradient(to bottom, var(--fond-cream), var(--fond-sand)); }

/* ---------- Commandes fermées ---------- */
.commande-closed{ background:var(--sand); }
.commande-closed .section-inner{ max-width:640px; text-align:center; }

/* ---------- Corps ---------- */
.commande-body{ background:var(--sand); }
.commande-grid{
  display:grid; grid-template-columns:1fr 380px; gap:3rem; align-items:start;
}
.commande-grid h2{ font-size:1.6rem; margin-bottom:.6em; }
.commande-hint{ color:var(--ink-soft); }

/* ---------- Cartes produit ---------- */
.produits-grid{ display:grid; grid-template-columns:repeat(2, 1fr); gap:1.4rem; }
.produit-carte{
  display:flex; flex-direction:column;
  background:var(--white); border-radius:12px; overflow:hidden;
  box-shadow:0 14px 30px -22px rgba(33,28,23,.45);
}
.produit-photo{ width:100%; aspect-ratio:4/3; object-fit:cover; }
.produit-photo--vide{ background:var(--sand); }
.produit-corps{ padding:1.1rem 1.2rem .6rem; flex:1; }
.produit-corps h3{ font-size:1.15rem; margin-bottom:.25em; }
.produit-corps p{ font-size:.92rem; margin-bottom:.6em; }
.produit-prix{ font-weight:600; color:var(--gold-deep); font-size:1.05rem; margin:0; }

.produit-carte.is-rupture{ opacity:.62; }
.produit-rupture{
  margin:0; padding:.9rem 1.2rem; text-align:center;
  font-size:.85rem; font-weight:600; color:var(--ink-soft);
  border-top:1px solid var(--sand);
}

.produit-stepper{
  display:flex; align-items:center; justify-content:space-between;
  padding:.7rem 1.2rem 1.1rem; gap:.8rem;
}
.stepper-btn{
  width:38px; height:38px; flex-shrink:0;
  border:1.5px solid var(--gold); border-radius:50%;
  background:none; color:var(--gold-deep);
  font-size:1.25rem; line-height:1; font-family:var(--font-body);
  cursor:pointer; transition:background .2s var(--ease), color .2s var(--ease);
}
.stepper-btn:hover{ background:var(--gold); color:var(--white); }
.stepper-valeur{ font-size:1.1rem; font-weight:600; min-width:2ch; text-align:center; }

/* Produit vendu en plusieurs tailles : une ligne par format, chacune avec
   son prix et son compteur. Le compteur y perd ses marges propres, c'est
   la ligne qui les porte. */
.produit-formats{ list-style:none; margin:0; padding:.2rem 1.2rem 1rem; }
.produit-formats .produit-format{
  display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:.4rem .9rem;
  padding:.55rem 0; border-top:1px solid var(--sand);
}
.produit-format-nom{ font-size:.94rem; font-weight:500; min-width:0; overflow-wrap:anywhere; }
.produit-format-prix{ font-weight:600; color:var(--gold-deep); white-space:nowrap; }
.produit-formats .produit-stepper{ padding:0; gap:.5rem; }

/* Filtres du catalogue : une rangée de pastilles qui passe à la ligne
   sur mobile. Une carte filtrée est masquée par l'attribut hidden, que le
   display de .produit-carte écraserait sans la règle ci-dessous. */
.catalogue-filtres{ display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.4rem; }
.catalogue-filtres[hidden], .produit-carte[hidden]{ display:none; }
.filtre-btn{
  min-height:44px; padding:.5em 1.15em;
  border:1.5px solid var(--gold); border-radius:999px;
  background:none; color:var(--gold-deep);
  font-family:var(--font-body); font-size:.92rem; font-weight:600;
  cursor:pointer; transition:background .2s var(--ease), color .2s var(--ease);
}
.filtre-btn:hover{ background:rgba(200,133,58,.12); }
.filtre-btn.is-actif{ background:var(--gold); color:var(--white); }

/* Pain : un bouton « Ajouter » à la place du compteur, qui ouvre la
   fenêtre (quantité, tranché ou non). Ce qui est déjà au panier s'affiche
   à côté, pour qu'on voie d'un coup d'œil ce qu'on a pris. */
.pain-ajout{
  display:flex; align-items:center; justify-content:space-between; gap:.8rem; flex-wrap:wrap;
  padding:.7rem 1.2rem 1.1rem;
}
.produit-formats .pain-ajout{ padding:0; }
.pain-ajout .btn{ min-height:44px; padding:.55em 1.3em; font-size:.92rem; }
.pain-resume{ font-size:.85rem; font-weight:600; color:var(--gold-deep); }
.pain-resume:empty{ display:none; }

/* ---- Fenêtre « pain » ---- */
.pain-dialog{ width:min(26rem, calc(100vw - 2rem)); }
.pain-dialog .pain-dialog-prix{ margin:0 0 1.2rem; }
.pain-dialog-qte{
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  padding:.4rem 0 1rem; border-bottom:1px solid var(--sand); margin-bottom:1rem;
  font-weight:600;
}
.pain-dialog-qte .produit-stepper{ padding:0; gap:.7rem; }
.pain-dialog-tranche{ border:none; margin:0 0 1rem; padding:0; display:grid; gap:.6rem; }
.pain-dialog-tranche legend{ font-weight:600; margin-bottom:.6rem; padding:0; }
.pain-choix{
  display:flex; align-items:center; gap:.8rem; min-height:52px;
  padding:.6rem .9rem; border:1.5px solid var(--sand); border-radius:10px;
  background:var(--white); cursor:pointer;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.pain-choix:hover{ border-color:var(--gold); }
.pain-choix:has(input:checked){ border-color:var(--gold); background:#fdf4e8; }
.pain-choix input{ width:20px; height:20px; accent-color:var(--gold-deep); flex-shrink:0; margin:0; }
.pain-choix span{ display:flex; flex-direction:column; line-height:1.3; }
.pain-choix small{ color:var(--ink-soft); font-size:.82rem; }
/* Engagement de règlement avant envoi de la commande */
#reglementDialog{ width:min(30rem, calc(100vw - 2rem)); }
#reglementDialog p{ margin-bottom:1.1rem; }
.reglement-choix{ align-items:flex-start; margin-bottom:1.4rem; font-size:.93rem; font-weight:600; }
.reglement-choix input{ margin-top:.1rem; }
.reglement-choix.is-erreur{ border-color:#a13a25; background:#fdf0ec; }
#reglementDialog .reglement-erreur{ margin:-.6rem 0 1.1rem; color:#a13a25; font-weight:600; font-size:.88rem; }
#reglementDialog .reglement-erreur[hidden]{ display:none; }
.pain-dialog .pain-dialog-erreur{ margin:-.3rem 0 1rem; color:#a13a25; font-weight:600; font-size:.88rem; }

/* ---------- Panier et coordonnées ---------- */
.commande-panier{
  position:sticky; top:6rem;
  /* Un panier plus haut que l'écran ne reste collé que le temps de rattraper
     le bas du catalogue, puis repart avec la page. Borné à la hauteur
     visible, il reste en place sur tout le défilement et fait défiler ses
     propres champs. `overflow-x` coupe le piège à robots, placé hors champ. */
  max-height:calc(100vh - 7rem); max-height:calc(100dvh - 7rem);
  overflow-y:auto; overflow-x:hidden; overscroll-behavior:contain;
  background:var(--white); border-radius:12px; padding:1.6rem 1.5rem;
  box-shadow:0 18px 40px -26px rgba(33,28,23,.5);
}
.panier-lignes{ margin-bottom:1rem; }
.panier-vide{ font-size:.92rem; color:var(--ink-soft); margin:0; }
.panier-ligne{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:.7rem;
  padding:.5rem 0; border-bottom:1px solid var(--sand); font-size:.94rem;
}
.panier-qte-ctrl{ display:flex; align-items:center; gap:.3rem; }
.panier-btn{
  width:30px; height:30px; flex-shrink:0;
  border:1.5px solid var(--gold); border-radius:50%;
  background:none; color:var(--gold-deep); font-size:1rem; line-height:1;
  font-family:var(--font-body); cursor:pointer;
}
.panier-btn:hover{ background:var(--gold); color:var(--white); }
.panier-btn[disabled]{ opacity:.35; cursor:default; background:none; color:var(--gold-deep); }
.panier-qte{ font-weight:600; color:var(--gold-deep); min-width:1.6ch; text-align:center; }
.panier-precision{ display:block; font-size:.8rem; color:var(--ink-soft); }
.panier-nom{ min-width:0; overflow-wrap:anywhere; }
.panier-prix{ white-space:nowrap; }
.panier-total{
  display:flex; align-items:baseline; justify-content:space-between; gap:1rem;
  padding:.9rem 0 1.2rem; border-bottom:1px solid var(--sand); margin-bottom:1.4rem;
}
.panier-total span{ font-size:.85rem; color:var(--ink-soft); }
.panier-total strong{ font-size:1.3rem; font-family:var(--font-display); color:var(--ink); }

/* ---------- Champs ---------- */
.form-field{ display:flex; flex-direction:column; gap:.35rem; margin-bottom:1.1rem; }
/* Un display posé par la feuille du site l'emporte sur celui que le
   navigateur applique à [hidden] : sans cette ligne, masquer un champ par
   son attribut reste sans effet et laisse une liste vide à l'écran. */
.form-field[hidden]{ display:none; }
.form-field label{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em;
  color:var(--ink-soft);
}
.form-optional{ font-weight:500; text-transform:none; letter-spacing:0; opacity:.75; }
/* Champs obligatoires : l'astérisque, expliqué une fois en tête du formulaire. */
.form-requis{ color:#a13a25; font-weight:700; margin-left:.1em; }
.form-requis-note{ margin:0 0 1rem; font-size:.85rem; color:var(--ink-soft); }
/* Jour ou heure pas encore choisis : l'invite se lit comme une invite. */
.select-perso-bouton.is-vide .select-perso-valeur{ color:var(--ink-soft); font-style:italic; }
.select-perso-bouton.is-erreur{ border-color:#a13a25; box-shadow:0 0 0 3px rgba(161,58,37,.12); }
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:.7em .85em;
  border:1px solid var(--sand); border-radius:var(--radius); background:var(--cream);
  font-family:var(--font-body); font-size:.98rem; color:var(--ink);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--gold); background:var(--white);
}
.form-field textarea{ resize:vertical; }
.form-hint{ font-size:.8rem; color:var(--ink-soft); margin:0; }

/* Prénom et nom côte à côte */
.form-duo{ display:grid; grid-template-columns:1fr 1fr; gap:.9rem; }

/* Liste déroulante du jour de retrait.
   La liste ouverte d'un <select> est dessinée par le système d'exploitation :
   police, couleurs et arrondis lui échappent complètement. Le <select> est
   donc masqué et ne sert plus qu'à porter la valeur, tandis que commande.js
   construit la liste ci-dessous, qui elle est stylable. */
.select-perso{ position:relative; }

.select-perso-bouton{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:.8rem;
  padding:.7em .85em;
  border:1px solid var(--sand); border-radius:var(--radius); background:var(--cream);
  font-family:var(--font-body); font-size:.98rem; color:var(--ink); text-align:left;
  cursor:pointer;
  transition:border-color .2s var(--ease), background .2s var(--ease);
}
.select-perso-bouton:hover{ border-color:var(--gold-pale); background:var(--white); }
.select-perso-bouton[aria-expanded="true"]{ border-color:var(--gold); background:var(--white); }

.select-perso-fleche{
  width:12px; height:8px; flex-shrink:0;
  fill:none; stroke:var(--gold-deep); stroke-width:1.8;
  stroke-linecap:round; stroke-linejoin:round;
  transition:transform .25s var(--ease);
}
.select-perso-bouton[aria-expanded="true"] .select-perso-fleche{ transform:rotate(180deg); }

.select-perso-liste{
  position:absolute; z-index:20; top:calc(100% + 4px); left:0; right:0;
  max-height:16rem; overflow-y:auto;
  margin:0; padding:.3rem; list-style:none;
  background:var(--white); border:1px solid var(--sand); border-radius:8px;
  box-shadow:0 18px 36px -18px rgba(33,28,23,.45);
}
.select-perso-liste[hidden]{ display:none; }

.select-perso-liste li{
  padding:.55em .8em; border-radius:5px;
  font-size:.94rem; color:var(--ink-soft); cursor:pointer;
  transition:background .15s var(--ease), color .15s var(--ease);
}
.select-perso-liste li:hover{ background:var(--sand); color:var(--ink); }
/* Option atteinte au clavier : elle ne reçoit pas le focus, c'est le bouton
   qui le garde — sans marque visible on ne saurait pas où l'on est. */
.select-perso-liste li.is-active{ background:var(--sand); color:var(--ink); }
.select-perso-liste li.is-choisie{
  background:var(--gold); color:var(--white); font-weight:600;
}
.select-perso-liste li.is-choisie:hover{ background:var(--gold-deep); }

/* Piège à robots : hors de l'écran plutôt que display:none, que certains
   remplisseurs automatiques savent reconnaître et ignorer. */
.form-honeypot{
  position:absolute; left:-9999px; width:1px; height:1px;
  overflow:hidden; opacity:0;
}

.commande-turnstile{ margin-bottom:1rem; }
.commande-erreur{
  background:#fbeae6; border-left:3px solid #c0563f; color:#8c3423;
  padding:.75rem 1rem; font-size:.9rem; margin:0 0 1rem;
}
.commande-submit{ width:100%; }
.commande-submit[disabled]{ opacity:.5; cursor:not-allowed; transform:none; }
.commande-legal{ margin-top:.9rem; text-align:center; }

/* ---------- Confirmation ---------- */
/* Toutes les sections qui peuvent terminer cette page — formulaire,
   commandes fermées, confirmation — sont sur du sable : la vague du footer
   suit, au lieu de laisser une bande crème entre les deux. */
.page-commander{ --footer-wave-fill:var(--sand); }

.commande-succes{ background:var(--sand); }
.commande-succes .section-inner{ max-width:620px; text-align:center; }
/* Une confirmation n'a plus rien à vendre : le bloc de tête invite encore à
   choisir des produits et l'écran se termine trop tôt sous le bouton. */
.commande-succes .section-inner{ padding-top:4rem; padding-bottom:4.5rem; }
.succes-code-label{
  font-size:.78rem; font-weight:700; text-transform:uppercase; letter-spacing:.14em;
  color:var(--ink-soft); margin:2rem 0 .3rem;
}
.succes-code{
  font-family:var(--font-display); font-size:clamp(2.4rem, 9vw, 3.6rem);
  font-weight:700; letter-spacing:.22em; color:var(--gold-deep);
  margin:0 0 .4em; user-select:all;
}
.succes-detail{ font-weight:600; color:var(--ink); }
.succes-email{
  display:inline-block; background:var(--white); border-radius:8px;
  padding:.7rem 1.2rem; font-size:.92rem; color:var(--ink-soft);
  overflow-wrap:anywhere;
}
.succes-email[hidden]{ display:none; }

/* =========================================================
   Gérer ma réservation (ma-commande.html)
   ========================================================= */
.gestion-inner{ max-width:640px; }
.gestion-etat{ text-align:center; color:var(--ink-soft); }

.gestion-carte{
  background:var(--white); border-radius:14px; padding:1.8rem 1.8rem 1.6rem;
  box-shadow:0 10px 30px rgba(33,28,23,.07);
}
.gestion-carte-head{
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:1rem; flex-wrap:wrap; margin-bottom:1.4rem;
}
.gestion-label{
  margin:0 0 .2rem; font-size:.74rem; font-weight:700;
  text-transform:uppercase; letter-spacing:.14em; color:var(--ink-soft);
}
.gestion-code{
  margin:0; font-family:var(--font-display); font-size:2rem; font-weight:700;
  letter-spacing:.18em; color:var(--gold-deep); user-select:all;
}
.gestion-statut{
  padding:.35em .9em; border-radius:999px; background:var(--sand);
  font-size:.8rem; font-weight:600; color:var(--ink); white-space:nowrap;
}
.gestion-statut.statut-annulee{ background:#f6e2de; color:#8c3423; }
.gestion-statut.statut-recuperee{ background:#e4efe6; color:#2f6b45; }

.gestion-retrait{ margin:0 0 1.2rem; color:var(--ink); }

.gestion-lignes{ margin:0 0 1rem; }
.gestion-lignes li{
  display:flex; align-items:baseline; gap:.6rem;
  padding:.6rem 0; border-bottom:1px solid var(--sand);
}
.gestion-qte{ font-weight:700; color:var(--gold-deep); flex-shrink:0; }
.gestion-nom{ flex:1; }
.gestion-ligne-prix{ white-space:nowrap; color:var(--ink-soft); }

.gestion-total{
  display:flex; justify-content:space-between; align-items:baseline;
  gap:1rem; margin:0 0 1.2rem; font-weight:600;
}
.gestion-commentaire{
  background:var(--sand); border-radius:8px; padding:.8rem 1rem;
  font-style:italic; color:var(--ink-soft);
}

/* Bloc d'annulation : détaché du reste par un filet, pour qu'on ne clique
   pas dessus en croyant valider quelque chose. */
.gestion-annulation{ border-top:1px solid var(--sand); padding-top:1.2rem; }
.gestion-delai{ margin:0 0 .9rem; font-size:.92rem; color:var(--ink-soft); }
.btn-annuler{ border-color:#c0563f; color:#a13a25; }
.btn-annuler:hover{ background:#a13a25; border-color:#a13a25; color:var(--white); }
.btn-annuler:disabled{ opacity:.55; cursor:default; transform:none; }

.gestion-impossible,
.gestion-erreur-action{
  margin:1.2rem 0 0; padding:.9rem 1.1rem; border-radius:8px;
  background:#fbeae6; border-left:3px solid #c0563f; color:#8c3423;
  font-size:.92rem;
}
.gestion-impossible[hidden],
.gestion-erreur-action[hidden]{ display:none; }

.gestion-erreur,
.gestion-annulee{ text-align:center; }
.gestion-annulee h2, .gestion-erreur h2{ margin-bottom:.6rem; }

/* ---- Boîte de confirmation ---- */
/* <dialog> natif : le navigateur gère le piège à focus, la touche Échap
   et l'inertie du reste de la page. Reste à l'habiller — les styles par
   défaut sont ceux d'une boîte de dialogue système. */
.apb-dialog{
  border:none; border-radius:14px; padding:1.8rem 1.8rem 1.5rem;
  max-width:min(28rem, calc(100vw - 2rem));
  background:var(--cream); color:var(--ink);
  box-shadow:0 24px 60px rgba(33,28,23,.28);
}
.apb-dialog::backdrop{ background:rgba(33,28,23,.55); }
.apb-dialog h2{ margin:0 0 .6rem; font-size:1.3rem; }
.apb-dialog p{ margin:0 0 1.5rem; color:var(--ink-soft); font-size:.95rem; }
.apb-dialog-actions{
  display:flex; gap:.7rem; justify-content:flex-end; flex-wrap:wrap;
}
/* Boutons resserrés : à la taille normale de .btn les deux libellés ne
   tiennent pas côte à côte dans la boîte et passent à la ligne. La classe
   .btn-small du panel n'existe pas sur les pages publiques. */
.apb-dialog-actions .btn{ padding:.6em 1.15em; font-size:.88rem; }
/* Le bouton destructeur est le plus visible des deux, mais en rouge et non
   en or : il ne doit pas se confondre avec les boutons d'action du site. */
.apb-dialog-danger{ background:#a13a25; }
.apb-dialog-danger:hover{ background:#8c3423; }

/* ---- Popup « Nous écrire » ---- */
.mail-dialog{ width:min(28rem, calc(100vw - 2rem)); }
.mail-dialog p{ margin-bottom:1rem; }
.mail-dialog-ligne{ display:flex; gap:.5rem; }
.mail-dialog-adresse{
  flex:1; min-width:0; padding:.6em .8em; border-radius:var(--radius);
  border:1.5px solid rgba(33,28,23,.18); background:var(--white); color:var(--ink);
  font:inherit; font-size:.95rem; font-weight:600;
}
.mail-dialog-adresse:focus{ outline:2px solid var(--gold); outline-offset:1px; }
.mail-dialog-copier{ padding:.6em 1.15em; font-size:.88rem; white-space:nowrap; }
/* .btn impose un display : sans ça, [hidden] ne masquerait pas « Appeler »
   dans la version e-mail de la fenêtre. */
.mail-dialog-appeler{ text-align:center; padding:.6em 1.15em; font-size:.88rem; }
.mail-dialog-appeler[hidden]{ display:none; }
.mail-dialog-retour{ min-height:1.4em; margin:.6rem 0 1rem !important; font-size:.85rem !important; }
.mail-dialog-retour:empty{ margin-bottom:.4rem !important; }

/* Icône enveloppe du header, à côté du burger */
.header-mail{
  display:inline-flex; align-items:center; justify-content:center; flex-shrink:0;
  width:38px; height:38px; margin-left:clamp(.7rem, 1.1vw, 1rem); border-radius:50%;
  border:1.5px solid var(--gold-deep); color:var(--gold-deep);
  transition:background .25s var(--ease), color .25s var(--ease);
}
.header-mail svg{
  width:18px; height:18px; fill:none; stroke:currentColor;
  stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round;
}
.header-mail:hover{ background:var(--gold-deep); color:var(--white); }

@media (max-width: 420px){
  .apb-dialog-actions{ flex-direction:column-reverse; }
  .apb-dialog-actions .btn{ width:100%; }
  .mail-dialog-ligne{ flex-direction:column; }
  .mail-dialog-copier{ width:100%; }
}

@media (max-width: 560px){
  .gestion-carte{ padding:1.3rem 1.2rem; }
  .gestion-code{ font-size:1.6rem; }
  /* Le prix passe sous le nom du produit plutôt que de l'écraser */
  .gestion-lignes li{ flex-wrap:wrap; }
  .gestion-ligne-prix{ width:100%; padding-left:2rem; }
  .btn-annuler{ width:100%; }
}

@media (max-width: 980px){
  .commande-grid{ grid-template-columns:1fr; gap:2.4rem; }
  /* Le panier n'a plus de colonne à suivre : il repasse dans le flux, sous
     le catalogue, là où on l'a rempli. */
  .commande-panier{ position:static; }
}

@media (max-width: 720px){
  /* Le logo est le premier repère sur un écran étroit : il prime sur le
     confort du reste de la barre. On lui laisse la hauteur du desktop, et
     c'est aux marges de la barre de se resserrer.
     `max-width` + `object-fit:contain` l'empêchent de pousser le badge et
     le bouton de menu hors de l'écran sur les téléphones les plus étroits. */
  .header-inner{ padding:.7rem 1rem; gap:.5rem; }
  .site-header.is-scrolled .header-inner{ padding:.45rem 1rem; }
  .brand{ min-width:0; flex-shrink:1; }
  .brand-logo-header{ height:72px; max-width:100%; }
  .site-header.is-scrolled .brand-logo-header{ height:62px; }
  .commande-main{ padding-top:7rem; }
  .produits-grid{ grid-template-columns:1fr; gap:1.1rem; }
  .produit-photo{ aspect-ratio:16/9; }
  .commande-panier{ padding:1.3rem 1.1rem; }
  /* Prénom et nom : deux colonnes deviennent deux champs trop étroits */
  .form-duo{ grid-template-columns:1fr; gap:0; }
  /* Cibles tactiles : les steppers passent en pleine largeur */
  .produit-stepper{ justify-content:space-between; }
  .stepper-btn{ width:44px; height:44px; }
  .panier-btn{ width:40px; height:40px; }
}

@media (max-width: 480px){
  .commande-head .section-inner{ padding-bottom:2rem; }
  .commande-intro{ font-size:1rem; }
  .succes-code{ letter-spacing:.16em; }
  /* Libellé et prix sur une ligne, le compteur pleine largeur dessous :
     avec des boutons de 44px, les trois côte à côte écrasent le libellé. */
  .produit-formats .produit-format{ grid-template-columns:1fr auto; }
  .produit-formats .produit-stepper{ grid-column:1 / -1; }
}

/* =========================================================
   ATELIERS (stages.html)
   Reprend la trame de la page de commande : même grille, même
   colonne de formulaire collante. Ce qui change, c'est l'objet —
   des séances datées et comptées, pas des produits à empiler.
   ========================================================= */

.stage-head{ background:var(--cream); }
.stage-head .section-inner{ padding-bottom:2.5rem; max-width:820px; }
.stage-head h1{ font-size:clamp(2.2rem, 5vw, 3.4rem); margin-bottom:.35em; }
.stage-head + .divider{ background:linear-gradient(to bottom, var(--fond-cream), var(--fond-sand)); }

/* La blague tient dans un encadré discret : elle donne le ton sans
   passer pour une consigne officielle perdue au milieu du texte. */
.stage-blague{
  border-left:3px solid var(--gold-pale);
  padding:.1rem 0 .1rem 1rem;
  margin:1.4rem 0 0;
  font-size:.98rem; font-style:italic; color:var(--ink-soft);
  max-width:620px;
}

.stage-atouts{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1.4rem;
  margin-top:2.2rem;
}
.stage-atouts li{ display:flex; flex-direction:column; gap:.25rem; }
.stage-atout-titre{
  font-family:var(--font-display); font-weight:600; font-size:1.05rem; color:var(--ink);
}
.stage-atouts li span:last-child{ font-size:.92rem; color:var(--ink-soft); line-height:1.5; }

/* Bandeau photo. Un rapport large plutôt qu'un carré : la photo d'un
   atelier se lit en largeur — un plan de travail, des mains, une file de
   têtes — et un format haut mangerait tout l'écran avant les séances,
   qui sont ce qu'on vient chercher. */
.stage-bandeau{
  margin:2.2rem 0 0; border-radius:var(--radius); overflow:hidden;
  border:1px solid var(--gold-pale);
}
.stage-bandeau img{
  width:100%; aspect-ratio:21/9; object-fit:cover; display:block;
}

.stage-atout-icone{
  width:34px; height:34px; color:var(--gold-deep); margin-bottom:.2rem;
}
.stage-atout-icone svg{
  width:100%; height:100%;
  fill:none; stroke:currentColor; stroke-width:1.5;
  stroke-linecap:round; stroke-linejoin:round;
}

/* ---------- Liste des séances ---------- */
.seances-liste{ display:grid; gap:1.2rem; }

.seance-carte{
  background:var(--white); border:1px solid var(--gold-pale); border-radius:var(--radius);
  overflow:hidden; display:grid; grid-template-columns:190px 1fr;
  transition:border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.seance-carte:hover{ border-color:var(--gold); }
.seance-carte.is-choisie{
  border-color:var(--gold); box-shadow:0 0 0 2px var(--gold-pale);
}
.seance-carte.is-complet{ opacity:.62; }

.seance-photo{ width:100%; height:100%; min-height:170px; object-fit:cover; }

/* Repli quand la séance n'a pas encore sa photo : le dessin occupe la même
   case, la liste garde son rythme. */
.seance-photo--vide{
  display:flex; align-items:center; justify-content:center;
  background:var(--sand); color:var(--gold-pale);
}
.seance-photo--vide svg{
  width:58%; max-width:110px; height:auto;
  fill:none; stroke:currentColor; stroke-width:2.4;
  stroke-linecap:round; stroke-linejoin:round;
}
.seance-corps{ padding:1.2rem 1.3rem; }

.seance-date{
  font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-deep); margin:0 0 .3em;
}
.seance-corps h3{ font-size:1.25rem; margin-bottom:.3em; }
.seance-desc{ font-size:.94rem; margin-bottom:.7em; }

.seance-meta{
  display:flex; flex-wrap:wrap; gap:.4rem .9rem;
  font-size:.88rem; margin:0 0 .7em;
}
.seance-ages{
  background:var(--sea-pale); color:var(--sea);
  font-weight:600; padding:.15em .6em; border-radius:100px;
}
.seance-prix{ font-weight:600; color:var(--ink); }

.seance-places{ font-size:.88rem; color:var(--ink-soft); margin:0 0 .8em; }
/* Trois places ou moins : l'information devient une raison de se décider. */
.seance-places.is-tendu{ color:#a13a25; font-weight:600; }
.seance-complet{
  font-size:.88rem; font-weight:600; color:var(--ink-soft);
  background:var(--sand); display:inline-block; padding:.3em .8em; border-radius:100px; margin:0;
}

/* ---------- Colonne d'inscription ---------- */
.stage-sous-titre{
  font-family:var(--font-display); font-weight:600; font-size:1.05rem;
  color:var(--ink); margin:1.4rem 0 .6rem;
}
.stage-form .stage-sous-titre:first-of-type{ margin-top:1rem; }

.stage-choix-carte{
  background:var(--sand); border-radius:var(--radius); padding:.9rem 1rem;
}
.stage-choix-nom{ font-family:var(--font-display); font-weight:600; font-size:1.1rem; color:var(--ink); margin:0; }
.stage-choix-quand{ font-size:.9rem; margin:.2em 0 0; }
.stage-choix-prix{ font-size:.85rem; margin:.35em 0 0; color:var(--ink-soft); }

/* Prénom / nom / âge sur une ligne, avec la croix de retrait au bout.
   L'âge est étroit : deux chiffres, pas davantage. */
.participant-ligne{
  display:grid; grid-template-columns:1fr 1fr 72px auto;
  gap:.6rem; align-items:end;
  padding-bottom:.2rem;
}
.participant-ligne .form-field{ margin-bottom:.6rem; }
.participant-age input{ text-align:center; }

.participant-retirer{
  background:none; border:1px solid var(--gold-pale); border-radius:var(--radius);
  color:var(--ink-soft); font-size:1.1rem; line-height:1;
  width:38px; height:38px; margin-bottom:.6rem; cursor:pointer;
  transition:background .2s var(--ease), color .2s var(--ease);
}
.participant-retirer:hover{ background:#a13a25; border-color:#a13a25; color:var(--white); }

#ajouterParticipant[disabled]{ opacity:.5; cursor:not-allowed; }

/* ---------- Ateliers : écrans étroits ---------- */
@media (max-width: 900px){
  /* Trois atouts côte à côte deviennent trois colonnes de deux mots. */
  .stage-atouts{ grid-template-columns:repeat(2, 1fr); gap:1.1rem; }
}

@media (max-width: 720px){
  /* En colonne, l'icône passe à gauche du texte : trois lignes de 34px
     empilées au-dessus de leur titre allongeraient la page pour rien. */
  .stage-atouts{ grid-template-columns:1fr; gap:1.1rem; margin-top:1.8rem; }
  .stage-atouts li{
    display:grid; grid-template-columns:34px 1fr; column-gap:.9rem;
  }
  .stage-atout-icone{ grid-row:span 2; margin-bottom:0; }
  .stage-blague{ font-size:.94rem; }

  /* La photo repasse au-dessus du texte : à 190px de large sur un
     téléphone, elle ne montrait plus rien et volait la place au titre. */
  .seance-carte{ grid-template-columns:1fr; }
  .seance-photo{ aspect-ratio:16/9; height:auto; min-height:0; }
  .seance-photo--vide svg{ max-width:84px; }
  /* Le bandeau se rapproche du carré : en 21/9 sur un téléphone, il ne
     reste qu'une bande de quelques dizaines de pixels. */
  .stage-bandeau img{ aspect-ratio:16/9; }
  .stage-bandeau{ margin-top:1.8rem; }
  .seance-corps{ padding:1.1rem 1.1rem 1.2rem; }
  .seance-choisir{ width:100%; }
}

@media (max-width: 560px){
  /* Trois champs sur une ligne donnent trois champs illisibles. Prénom et
     nom prennent toute la largeur, l'âge garde sa case étroite à côté du
     bouton de retrait — les deux vont ensemble, on retire la personne dont
     on vient de lire l'âge. */
  .participant-ligne{ grid-template-columns:1fr auto; gap:0 .6rem; }
  .participant-ligne .form-field:not(.participant-age){ grid-column:1 / -1; }
  .participant-age{ width:72px; }
  /* Cible tactile : la croix suit la hauteur des champs. */
  .participant-retirer{ width:44px; height:44px; }
  #ajouterParticipant{ width:100%; }
}

@media (max-width: 480px){
  .stage-head .section-inner{ padding-bottom:2rem; }
  .seance-meta{ font-size:.84rem; }
  .stage-choix-carte{ padding:.8rem .9rem; }
}

/* =========================================================
   ATELIERS — aperçu sur l'accueil (index.html)
   La présentation et les prochaines dates, rien de plus :
   l'inscription reste sur stages.html. Les trois atouts
   réutilisent .stage-atouts, déjà défini plus haut — même
   bloc, même comportement sur petits écrans.
   ========================================================= */

.accueil-ateliers{ background:var(--cream); }
.accueil-ateliers + .divider{ background:linear-gradient(to bottom, var(--fond-cream), var(--fond-sea-pale)); }
.accueil-ateliers h2{ font-size:clamp(2rem, 4vw, 2.6rem); }
.accueil-ateliers .ateliers-intro{ max-width:660px; }
.accueil-ateliers .stage-atouts{ max-width:1000px; }

/* Message du panel (« séances complètes », « report »…). Encadré discret,
   au même titre que la blague de la page des ateliers. */
.ateliers-message{
  border-left:3px solid var(--gold-pale);
  padding:.1rem 0 .1rem 1rem;
  margin:1.2rem 0 0;
  font-size:.98rem; color:var(--ink-soft);
  max-width:660px;
}

/* ---------- Les prochaines dates ---------- */
.ateliers-dates{ margin-top:2.4rem; }
.ateliers-dates-label{
  font-size:.78rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase;
  color:var(--gold-deep); margin:0 0 .8rem;
}
.ateliers-seances{ list-style:none; margin:0; padding:0; display:grid; gap:.7rem; max-width:760px; }

/* Une ligne par séance, pas une carte : trois dates empilées en cartes
   feraient concurrence aux spécialités juste au-dessus, alors qu'ici on
   veut seulement donner envie de cliquer. */
.ateliers-seance{
  display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:1rem;
  background:var(--white); border:1px solid var(--gold-pale); border-radius:var(--radius);
  padding:.75rem 1rem; text-decoration:none; color:inherit;
  transition:border-color .2s var(--ease), transform .2s var(--ease);
}
.ateliers-seance:hover{ border-color:var(--gold); transform:translateY(-2px); }
.ateliers-seance.is-complet{ opacity:.62; }

.as-date{
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  width:52px; padding:.35rem 0;
  background:var(--sand); border-radius:10px; line-height:1;
}
.as-jour{ font-family:var(--font-display); font-weight:600; font-size:1.35rem; color:var(--ink); }
.as-mois{ font-size:.72rem; text-transform:uppercase; letter-spacing:.06em; color:var(--ink-soft); margin-top:.2em; }

.as-corps{ display:flex; flex-direction:column; gap:.15rem; min-width:0; }
.as-nom{ font-family:var(--font-display); font-weight:600; font-size:1.08rem; color:var(--ink); }
.as-meta{ font-size:.88rem; color:var(--ink-soft); }

.as-places{
  font-size:.82rem; font-weight:600; white-space:nowrap;
  background:var(--sea-pale); color:var(--sea);
  padding:.25em .7em; border-radius:100px;
}
/* Trois places ou moins : l'information devient une raison de se décider. */
.as-places.is-tendu{ background:#f6e2dc; color:#a13a25; }
.as-complet{ background:var(--sand); color:var(--ink-soft); }

.ateliers-vide{ font-size:.95rem; color:var(--ink-soft); margin:0; max-width:560px; }

.ateliers-cta{ margin:2rem 0 0; }

/* ---------- Aperçu des ateliers : écrans étroits ---------- */
@media (max-width: 720px){
  .ateliers-dates{ margin-top:2rem; }
  /* Le compteur passe sous le nom : à trois colonnes sur un téléphone, le
     nom de l'atelier se coupait au milieu. */
  .ateliers-seance{ grid-template-columns:auto 1fr; row-gap:.5rem; }
  .as-places{ grid-column:2; justify-self:start; }
  .ateliers-cta .btn{ width:100%; }
}

@media (max-width: 480px){
  .ateliers-seance{ padding:.7rem .8rem; gap:.8rem; }
  .as-date{ width:46px; }
  .as-jour{ font-size:1.2rem; }
  .as-nom{ font-size:1rem; }
  .as-meta{ font-size:.84rem; }
  .ateliers-message{ font-size:.94rem; }
}

/* ---------- Page 404 ----------
   Trois sorties plutôt qu'une : revenir à l'accueil ne sert pas celui qui
   cherchait à commander. Elles s'empilent sous 480px, où trois boutons
   côte à côte se touchent. */
.page404-actions{
  display:flex; flex-wrap:wrap; gap:.8rem; justify-content:center; margin-top:2rem;
}
@media (max-width:480px){
  .page404-actions{ flex-direction:column; align-items:stretch; }
  .page404-actions .btn{ text-align:center; }
}
