/* ==========================================================================
   L'Atelier des Petites Bouchées - feuille de style
   Direction : porcelaine claire, ardoise pour mettre en scène les bouchées,
   abricot de la marque pour les actions.
   ========================================================================== */

@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-4-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif"; src: url("../fonts/source-serif-4-latin-wght-italic.woff2") format("woff2"); font-weight: 200 900; font-style: italic; font-display: swap; }

:root {
  --porcelaine: #fbf8f5;
  --blanc: #ffffff;
  --encre: #1f2226;
  --gris: #5b6168;
  --trait: #e8e1da;
  --ardoise: #2a2d31;
  --ardoise-2: #33373c;
  --ardoise-texte: #d9d5cf;
  --abricot: #ff7f4d;
  --abricot-vif: #ff9466;
  --abricot-fonce: #b9461b;
  --peche: #fde4d6;

  --f-titre: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-texte: "Source Serif", Georgia, "Times New Roman", serif;

  --t-xs: 0.8125rem;
  --t-s: 0.9375rem;
  --t-m: 1.125rem;
  --t-l: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --t-xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  --t-2xl: clamp(2.4rem, 1.6rem + 3.4vw, 4.6rem);

  --gouttiere: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);
  --largeur: 76rem;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);

  --r-photo: 6px;
  --r-bouton: 10px;
  --r-ardoise: 18px;
  --ombre-bouchee: 0 18px 30px -18px rgba(0, 0, 0, 0.75), 0 2px 6px rgba(0, 0, 0, 0.35);

  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  background: var(--porcelaine);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: var(--t-m);
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-titre); font-weight: 700; line-height: 1.08; letter-spacing: -0.025em; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
::selection { background: var(--abricot); color: var(--encre); }

:focus-visible { outline: 3px solid var(--abricot); outline-offset: 3px; border-radius: 4px; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 200;
  background: var(--encre); color: var(--blanc); padding: 0.75rem 1rem; border-radius: var(--r-bouton);
  font-family: var(--f-titre); font-size: var(--t-s); text-decoration: none;
}
.lien-evitement:focus { top: 1rem; }

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

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

/* ---------- Boutons ---------- */
.bouton {
  --fond: var(--abricot); --texte: var(--encre);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3rem; padding: 0.8rem 1.35rem;
  border: 2px solid transparent; border-radius: var(--r-bouton);
  background: var(--fond); color: var(--texte);
  font-family: var(--f-titre); font-weight: 600; font-size: var(--t-s); line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease);
}
.bouton:hover { --fond: var(--abricot-vif); }
.bouton:active { transform: translateY(1px); }
.bouton svg { width: 1.15em; height: 1.15em; flex: none; }
.bouton--contour { --fond: transparent; --texte: var(--encre); border-color: currentColor; }
.bouton--contour:hover { --fond: var(--encre); --texte: var(--blanc); border-color: var(--encre); }
.bouton--clair { --fond: transparent; --texte: var(--blanc); border-color: rgba(255,255,255,0.5); }
.bouton--clair:hover { --fond: var(--blanc); --texte: var(--encre); border-color: var(--blanc); }

.lien-texte {
  font-family: var(--f-titre); font-weight: 600; font-size: var(--t-s);
  color: var(--abricot-fonce); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, var(--abricot) 55%, transparent);
  transition: text-decoration-color 0.2s;
}
.lien-texte:hover { text-decoration-color: var(--abricot); }
.ardoise .lien-texte { color: var(--abricot-vif); }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--porcelaine) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.entete.est-defile { border-color: var(--trait); box-shadow: 0 6px 24px -18px rgba(31,34,38,0.5); }
.entete__barre { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.entete__logo { display: block; flex: none; margin-right: auto; }
.entete__logo img { height: 48px; width: auto; }
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav__lien {
  position: relative; padding: 0.55rem 0.85rem; border-radius: 8px;
  font-family: var(--f-titre); font-weight: 500; font-size: var(--t-s); text-decoration: none; color: var(--encre);
  white-space: nowrap; transition: background-color 0.2s;
}
.nav__lien:hover { background: rgba(31,34,38,0.06); }
.nav__lien[aria-current="page"]::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 0.2rem; height: 2px; border-radius: 2px; background: var(--abricot);
}
.entete__actions { display: flex; align-items: center; gap: 0.75rem; }
.entete__actions .bouton { min-height: 2.6rem; padding: 0.55rem 1rem; white-space: nowrap; }
.entete__tel {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--f-titre); font-weight: 600; font-size: var(--t-s); text-decoration: none; white-space: nowrap;
}
.entete__tel svg { width: 1.1rem; height: 1.1rem; color: var(--abricot-fonce); }

.burger { display: none; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; border-radius: 10px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 0.7rem; right: 0.7rem; height: 2px; background: var(--encre); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.burger span:nth-child(1) { top: 0.95rem; }
.burger span:nth-child(2) { top: 1.35rem; }
.burger span:nth-child(3) { top: 1.75rem; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(0.4rem) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-0.4rem) rotate(-45deg); }

.statut {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--f-titre); font-size: var(--t-xs); font-weight: 500; color: var(--gris);
}
.statut:empty { display: none; }
.statut::before { content: ""; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: #a9a39c; flex: none; }
.statut[data-etat="ouvert"]::before { background: #2f9e5b; box-shadow: 0 0 0 4px rgba(47,158,91,0.18); }
.statut[data-etat="bientot"]::before { background: var(--abricot); box-shadow: 0 0 0 4px rgba(255,127,77,0.2); }

@media (max-width: 1100px) {
  .entete__tel span { display: none; }
}
@media (max-width: 960px) {
  .entete__barre { gap: 0.75rem; }
  .nav__lien { padding-inline: 0.6rem; }
}
@media (max-width: 860px) {
  :root { --header-h: 66px; }
  /* le flou crée un bloc conteneur qui piégerait le menu en position fixe */
  .entete { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--porcelaine); }
  .entete__logo img { height: 40px; }
  .burger { display: block; }
  .entete__actions .bouton { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 0; padding: 1.5rem var(--gouttiere) 2rem;
    background: var(--ardoise); color: var(--blanc);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.3s, transform 0.4s var(--ease), visibility 0s 0.3s;
  }
  .nav.est-ouvert { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.4s var(--ease); }
  .nav__lien { color: var(--blanc); font-size: 1.6rem; font-weight: 600; padding: 0.9rem 0; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .nav__lien:hover { background: none; color: var(--abricot-vif); }
  .nav__lien[aria-current="page"] { color: var(--abricot-vif); }
  .nav__lien[aria-current="page"]::after { display: none; }
  .nav__mobile-extra { display: grid !important; gap: 0.75rem; margin-top: auto; padding-top: 2rem; }
  body.menu-ouvert { overflow: hidden; }
}
.nav__mobile-extra { display: none; }

/* ---------- Bandeau d'information (fermetures, annonces) ---------- */
.bandeau { background: var(--peche); color: #5a2b14; border-bottom: 1px solid #f6cdb6; }
.bandeau[hidden] { display: none; }
.bandeau .conteneur { padding: 0.7rem 0; text-align: center; font-family: var(--f-titre); font-size: var(--t-s); font-weight: 500; line-height: 1.45; }
.bandeau p { margin: 0; }
.bandeau p + p { margin-top: 0.25rem; }

/* ---------- Ardoise (texture) ---------- */
.ardoise {
  position: relative; isolation: isolate;
  background-color: var(--ardoise);
  color: var(--ardoise-texte);
}
.ardoise::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    radial-gradient(120% 80% at 20% 0%, rgba(255,255,255,0.06), transparent 60%),
    linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.025) 50%, transparent 60%);
}
.ardoise h1, .ardoise h2, .ardoise h3 { color: var(--blanc); }

/* ---------- Héros ---------- */
.heros { padding: clamp(2rem, 1rem + 4vw, 4.5rem) 0 var(--section); }
.heros__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.heros__adresse { display: inline-flex; align-items: center; gap: 0.5rem; font-family: var(--f-titre); font-size: var(--t-s); font-weight: 500; color: var(--gris); margin-bottom: 1.5rem; text-decoration: none; }
.heros__adresse:hover { color: var(--encre); }
.heros__adresse svg { width: 1.05rem; height: 1.05rem; color: var(--abricot-fonce); }
.heros__titre { font-size: var(--t-2xl); letter-spacing: -0.04em; line-height: 0.98; }
.heros__titre span { display: block; }
.heros__titre .heros__titre-2 { color: var(--abricot-fonce); }
.heros__intro { margin-top: 1.6rem; max-width: 34rem; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: #3b3f45; }
.heros__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.heros__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2.5rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--trait); }
.signature { display: flex; align-items: center; gap: 0.85rem; }
.signature img { width: 3.25rem; height: 3.25rem; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.signature strong { display: block; font-family: var(--f-titre); font-size: var(--t-s); font-weight: 600; }
.signature span { font-size: var(--t-s); color: var(--gris); font-style: italic; }
.horaires-mini { margin: 0; font-family: var(--f-titre); font-size: var(--t-s); line-height: 1.5; }
.horaires-mini dt { font-weight: 600; }
.horaires-mini dd { margin: 0; color: var(--gris); }
.horaires-mini .statut { margin-top: 0.35rem; }

/* Le plateau : 9 bouchées posées sur une ardoise */
.plateau { border-radius: var(--r-ardoise); padding: clamp(0.9rem, 0.5rem + 1.6vw, 1.6rem); box-shadow: 0 40px 60px -40px rgba(31,34,38,0.7); transform: rotate(-1.2deg); }
.plateau__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(0.6rem, 0.3rem + 1vw, 1rem); margin: 0; padding: 0; list-style: none; }
.bouchee { position: relative; margin: 0; }
.bouchee a { display: block; border-radius: 5px; }
.bouchee img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 5px; box-shadow: var(--ombre-bouchee); }
.bouchee figcaption {
  position: absolute; left: 0.45rem; right: 0.45rem; bottom: 0.45rem;
  padding: 0.35rem 0.55rem; border-radius: 4px;
  background: rgba(251,248,245,0.94); color: var(--encre);
  font-family: var(--f-texte); font-style: italic; font-size: 0.82rem; line-height: 1.25;
  opacity: 0; transform: translateY(6px); transition: opacity 0.25s, transform 0.3s var(--ease);
  pointer-events: none;
}
.bouchee:hover figcaption, .bouchee:focus-within figcaption { opacity: 1; transform: none; }
.plateau__legende { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 1rem; margin-top: 0.9rem; font-family: var(--f-titre); font-size: var(--t-xs); color: rgba(217,213,207,0.8); }
.plateau__legende a { color: var(--blanc); text-decoration: none; font-weight: 600; }
.plateau__legende a:hover { color: var(--abricot-vif); }

/* Moment d'animation unique : les bouchées sont déposées une à une */
.js .plateau .bouchee { opacity: 0; transform: translateY(-14px) scale(1.06); }
.js .plateau.est-servi .bouchee { animation: deposer 0.65s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
@keyframes deposer {
  0% { opacity: 0; transform: translateY(-14px) scale(1.06); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}

@media (max-width: 900px) {
  .heros__grille { grid-template-columns: 1fr; }
  .plateau { transform: none; max-width: 34rem; }
}

/* ---------- Bandeau d'engagements ---------- */
.engagements { border-block: 1px solid var(--trait); background: var(--blanc); }
.engagements ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.engagements li { display: flex; gap: 0.9rem; align-items: flex-start; padding: 1.6rem clamp(0.75rem, 2vw, 2rem); font-size: var(--t-s); line-height: 1.5; color: var(--gris); }
.engagements li:first-child { padding-left: 0; }
.engagements li + li { border-left: 1px solid var(--trait); }
.engagements strong { display: block; font-family: var(--f-titre); font-weight: 600; color: var(--encre); font-size: 1rem; margin-bottom: 0.15rem; }
.engagements svg { width: 1.6rem; height: 1.6rem; flex: none; color: var(--abricot-fonce); margin-top: 0.1rem; }
@media (max-width: 760px) {
  .engagements ul { grid-template-columns: 1fr; }
  .engagements li { padding-inline: 0; }
  .engagements li + li { border-left: 0; border-top: 1px solid var(--trait); }
}

/* ---------- Sections génériques ---------- */
.section { padding-block: var(--section); }
.section--blanc { background: var(--blanc); }
.section__tete { max-width: 44rem; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section__tete h2 { font-size: var(--t-xl); }
.section__tete p { margin-top: 1rem; color: var(--gris); font-size: var(--t-m); }
.ardoise .section__tete p { color: var(--ardoise-texte); }

/* Fait maison : texte + photos */
.fait-maison { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.fait-maison__texte h2 { font-size: var(--t-xl); margin-bottom: 1.5rem; }
.fait-maison__texte p { color: #3b3f45; max-width: 36rem; }
.fait-maison__photos { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1rem; align-items: end; }
.fait-maison__photos img { width: 100%; object-fit: cover; border-radius: var(--r-photo); }
.fait-maison__photos img:first-child { aspect-ratio: 4 / 5; }
.fait-maison__photos img:last-child { aspect-ratio: 1; margin-bottom: 3rem; }
.note-chef {
  margin: 2rem 0 0; padding-left: 1.25rem; border-left: 3px solid var(--abricot);
  font-style: italic; font-size: var(--t-l); line-height: 1.45; color: var(--encre);
}
@media (max-width: 860px) { .fait-maison { grid-template-columns: 1fr; } }

/* ---------- La carte : rangées de menu ---------- */
.carte { border-top: 1px solid var(--encre); }
.carte__rangee {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem);
  padding-block: clamp(2rem, 1.5rem + 2vw, 3.25rem); border-bottom: 1px solid var(--trait);
}
.carte__rangee h3 { font-size: var(--t-l); margin-bottom: 0.75rem; }
.carte__rangee p { color: var(--gris); font-size: 1.0625rem; max-width: 32rem; }
.carte__exemples { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: 0.45rem; }
.carte__exemples li {
  padding: 0.3rem 0.7rem; border-radius: 999px; background: var(--peche);
  font-style: italic; font-size: 0.92rem; color: #5a2b14;
}
.carte__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; align-self: center; }
.carte__photos a { display: block; overflow: hidden; border-radius: var(--r-photo); }
.carte__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.6s var(--ease); }
.carte__photos a:hover img { transform: scale(1.04); }
@media (max-width: 760px) { .carte__rangee { grid-template-columns: 1fr; } }

/* ---------- Chef ---------- */
.chef { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; }
.chef__photo { position: relative; }
.chef__photo > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r-photo); }
.chef__photo .tampon {
  position: absolute; right: -1.5rem; bottom: -1.5rem; width: clamp(6.5rem, 5rem + 5vw, 9rem); height: auto; aspect-ratio: 1;
  filter: drop-shadow(0 12px 18px rgba(31,34,38,0.25)); transform: rotate(-8deg);
}
.chef__texte h2 { font-size: var(--t-xl); margin-bottom: 1.5rem; }
.chef__texte p { color: #3b3f45; max-width: 38rem; }
.chiffres { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 1rem 2.75rem; margin: 2.25rem 0 0; }
.chiffres div { display: flex; flex-direction: column-reverse; }
.chiffres dt { font-size: var(--t-s); color: var(--gris); line-height: 1.35; max-width: 11rem; }
.chiffres dd { margin: 0 0 0.2rem; font-family: var(--f-titre); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); letter-spacing: -0.03em; color: var(--encre); line-height: 1; }
@media (max-width: 860px) {
  .chef { grid-template-columns: 1fr; }
  .chef__photo { max-width: 28rem; }
  .chef__photo .tampon { right: -0.5rem; }
}
@media (max-width: 520px) { .chiffres { grid-template-columns: 1fr 1fr; } }

/* ---------- Traiteur (ardoise) ---------- */
.traiteur__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 5vw, 6rem); }
.traiteur h2 { font-size: var(--t-xl); }
.traiteur__intro { margin-top: 1.25rem; font-size: var(--t-m); max-width: 34rem; }
.occasions { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.occasions li { padding: 0.4rem 0.85rem; border: 1px solid rgba(255,255,255,0.18); border-radius: 999px; font-family: var(--f-titre); font-size: var(--t-xs); font-weight: 500; color: var(--blanc); }
.etapes { list-style: none; margin: 0; padding: 0; counter-reset: etape; }
.etapes li { counter-increment: etape; display: grid; grid-template-columns: 3rem 1fr; gap: 1rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,0.12); }
.etapes li:last-child { border-bottom: 1px solid rgba(255,255,255,0.12); }
.etapes li::before {
  content: counter(etape); display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  background: var(--abricot); color: var(--encre); font-family: var(--f-titre); font-weight: 700; font-size: 1rem;
}
.etapes h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.etapes p { font-size: 1rem; color: var(--ardoise-texte); }
.traiteur__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.traiteur__photos { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 0.75rem; margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
.traiteur__photos img { width: 100%; height: clamp(11rem, 8rem + 12vw, 20rem); object-fit: cover; border-radius: var(--r-photo); }
@media (max-width: 860px) {
  .traiteur__grille { grid-template-columns: 1fr; }
  .traiteur__photos { grid-template-columns: 1fr 1fr; }
  .traiteur__photos img:first-child { grid-column: 1 / -1; }
}

/* ---------- Aperçu galerie ---------- */
.apercu { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(5.5rem, 4rem + 4vw, 9rem); gap: 0.75rem; }
.apercu a { position: relative; display: block; overflow: hidden; border-radius: var(--r-photo); background: var(--trait); }
.apercu img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.apercu a:hover img { transform: scale(1.04); }
.apercu a:nth-child(1) { grid-column: span 5; grid-row: span 3; }
.apercu a:nth-child(2) { grid-column: span 4; grid-row: span 2; }
.apercu a:nth-child(3) { grid-column: span 3; grid-row: span 2; }
.apercu a:nth-child(4) { grid-column: span 3; grid-row: span 1; }
.apercu a:nth-child(5) { grid-column: span 4; grid-row: span 1; }
.apercu__pied { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 2rem; }
.apercu__pied p { margin: 0; color: var(--gris); }
@media (max-width: 760px) {
  .apercu { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; }
  .apercu a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .apercu a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
}

/* ---------- Infos pratiques ---------- */
.infos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--encre); }
.infos > div { padding: 2rem clamp(0rem, 2vw, 2rem) 2rem 0; }
.infos > div + div { padding-left: clamp(1rem, 2vw, 2rem); border-left: 1px solid var(--trait); }
.infos h3 { font-size: 1.1rem; margin-bottom: 1rem; }
.infos address { font-style: normal; }
.infos a { text-decoration-color: var(--abricot); text-underline-offset: 4px; }
.table-horaires { width: 100%; border-collapse: collapse; font-family: var(--f-titre); font-size: var(--t-s); }
.table-horaires th, .table-horaires td { padding: 0.4rem 0; text-align: left; font-weight: 500; border-bottom: 1px dashed var(--trait); }
.table-horaires td { text-align: right; color: var(--gris); }
.table-horaires tr.est-aujourdhui th, .table-horaires tr.est-aujourdhui td { color: var(--abricot-fonce); font-weight: 700; }
.table-horaires td.ferme { color: #776f68; }
.infos__lien { display: inline-flex; margin-top: 1rem; }
@media (max-width: 860px) {
  .infos { grid-template-columns: 1fr; }
  .infos > div { padding-right: 0; }
  .infos > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--trait); }
}

/* ---------- Appel final ---------- */
.appel { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.appel__boite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: center; border-radius: var(--r-ardoise); padding: clamp(2rem, 1.5rem + 3vw, 4rem); }
.appel__boite h2 { font-size: var(--t-xl); max-width: 30rem; }
.appel__boite p { margin-top: 0.75rem; max-width: 34rem; }
.appel__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (max-width: 760px) { .appel__boite { grid-template-columns: 1fr; } }

/* ---------- Pied de page ---------- */
.pied { background: var(--encre); color: #c9c4be; padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; font-size: var(--t-s); }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.pied__marque img { width: 5.5rem; height: 5.5rem; }
.pied__marque p { margin-top: 1rem; max-width: 18rem; line-height: 1.55; }
.pied h2 { font-family: var(--f-titre); font-size: var(--t-s); font-weight: 600; color: var(--blanc); margin-bottom: 0.9rem; letter-spacing: 0; }
.pied ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.pied a { color: #e6e2dd; text-decoration: none; }
.pied a:hover { color: var(--abricot-vif); }
.pied address { font-style: normal; line-height: 1.6; }
.pied .statut { color: #c9c4be; }
.reseaux { display: flex; gap: 0.5rem; margin-top: 1rem; }
.reseaux a { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2); transition: background-color 0.2s, border-color 0.2s; }
.reseaux a:hover { background: var(--abricot); border-color: var(--abricot); color: var(--encre); }
.reseaux svg { width: 1.1rem; height: 1.1rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); font-size: var(--t-xs); color: #9c968f; }
.pied__bas a { color: #c9c4be; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .pied__grille { grid-template-columns: 1fr 1fr; } .pied__marque { grid-column: 1 / -1; } }

/* ---------- Barre d'action mobile ---------- */
.barre-mobile { display: none; }
@media (max-width: 860px) {
  .barre-mobile {
    position: fixed; left: 0.75rem; right: 0.75rem; bottom: max(0.75rem, env(safe-area-inset-bottom)); z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; padding: 0.5rem; border-radius: 14px;
    background: rgba(31,34,38,0.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
    transform: translateY(150%); transition: transform 0.4s var(--ease);
  }
  .barre-mobile.est-visible { transform: none; }
  .barre-mobile .bouton { min-height: 2.75rem; padding: 0.5rem; }
  body.menu-ouvert .barre-mobile { transform: translateY(150%); }
  .pied { padding-bottom: 6rem; }
}

/* ---------- En-tête de page intérieure ---------- */
.page-tete { padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) 0 clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-tete h1 { font-size: var(--t-2xl); letter-spacing: -0.04em; }
.page-tete p { margin-top: 1.25rem; max-width: 40rem; font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem); color: #3b3f45; }
.fil { font-family: var(--f-titre); font-size: var(--t-xs); color: var(--gris); margin-bottom: 1.25rem; }
.fil ol { list-style: none; display: flex; gap: 0.5rem; margin: 0; padding: 0; }
.fil li + li::before { content: "/"; margin-right: 0.5rem; color: #b8b0a8; }
.fil a { text-decoration: none; }
.fil a:hover { color: var(--abricot-fonce); }

/* ---------- Galerie ---------- */
.filtres-zone { position: sticky; top: var(--header-h); z-index: 50; background: color-mix(in srgb, var(--porcelaine) 92%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-block: 1px solid var(--trait); }
.filtres { display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.75rem 0; scrollbar-width: none; scroll-snap-type: x proximity; }
.filtres::-webkit-scrollbar { display: none; }
.filtre {
  flex: none; scroll-snap-align: start;
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.6rem; padding: 0.45rem 0.95rem;
  border: 1px solid var(--trait); border-radius: 999px; background: var(--blanc); cursor: pointer;
  font-family: var(--f-titre); font-size: var(--t-s); font-weight: 500; text-decoration: none; color: var(--encre);
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filtre:hover { border-color: var(--encre); }
.filtre small { font-size: 0.75rem; font-weight: 600; color: var(--gris); }
.filtre[aria-pressed="true"] { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.filtre[aria-pressed="true"] small { color: var(--abricot-vif); }

.theme { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); scroll-margin-top: calc(var(--header-h) + 4.5rem); }
.theme + .theme { border-top: 1px solid var(--trait); }
.theme[hidden] { display: none; }
.theme__tete { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 1rem 3rem; align-items: end; margin-bottom: 2rem; }
.theme__tete h2 { font-size: var(--t-xl); }
.theme__tete h2 small { display: block; margin-top: 0.5rem; font-size: var(--t-s); font-weight: 500; letter-spacing: 0; color: var(--gris); }
.theme__tete p { color: var(--gris); font-size: 1.0625rem; max-width: 36rem; }
@media (max-width: 760px) { .theme__tete { grid-template-columns: 1fr; } }

.mur { columns: 4 15rem; column-gap: 0.75rem; }
.mur__item { break-inside: avoid; margin: 0 0 0.75rem; }
@media (max-width: 600px) { .mur { columns: 2; column-gap: 0.5rem; } .mur__item { margin-bottom: 0.5rem; } }
.mur__bouton {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  border-radius: var(--r-photo); overflow: hidden; background: var(--fond, var(--trait));
}
.mur__bouton img { width: 100%; height: auto; transition: transform 0.7s var(--ease), opacity 0.5s; }
.mur__bouton:hover img { transform: scale(1.03); }
.mur__bouton::after {
  content: attr(data-legende);
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5rem 0.9rem 0.8rem; text-align: left;
  background: linear-gradient(transparent, rgba(20,22,25,0.78));
  color: var(--blanc); font-family: var(--f-texte); font-style: italic; font-size: 0.95rem; line-height: 1.3;
  opacity: 0; transform: translateY(8px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.mur__bouton:hover::after, .mur__bouton:focus-visible::after { opacity: 1; transform: none; }
@media (hover: none) { .mur__bouton::after { display: none; } }
.js .mur__bouton img.est-en-attente { opacity: 0; }

/* Visionneuse */
.visionneuse {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(22,24,27,0.97); color: var(--blanc);
}
.visionneuse::backdrop { background: rgba(22,24,27,0.6); }
.visionneuse[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; animation: apparaitre 0.25s ease-out; }
@keyframes apparaitre { from { opacity: 0; } to { opacity: 1; } }
.visionneuse__haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem var(--gouttiere); font-family: var(--f-titre); font-size: var(--t-s); }
.visionneuse__compteur { color: #bdb7b0; }
.visionneuse__scene { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 clamp(0.5rem, 5vw, 5.5rem); overflow: hidden; touch-action: pan-y; }
.visionneuse__scene img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 4px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); transition: opacity 0.25s, transform 0.35s var(--ease); }
.visionneuse__scene img.est-sortant { opacity: 0; }
.visionneuse__bas { padding: 1rem var(--gouttiere) max(1.25rem, env(safe-area-inset-bottom)); text-align: center; }
.visionneuse__legende { font-style: italic; font-size: var(--t-m); }
.visionneuse__theme { display: block; margin-top: 0.15rem; font-family: var(--f-titre); font-size: var(--t-xs); color: var(--abricot-vif); }
.visionneuse__btn {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.06); cursor: pointer; transition: background-color 0.2s, border-color 0.2s;
}
.visionneuse__btn:hover { background: var(--abricot); border-color: var(--abricot); color: var(--encre); }
.visionneuse__btn svg { width: 1.25rem; height: 1.25rem; }
.visionneuse__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; }
.visionneuse__nav--prec { left: clamp(0.5rem, 2vw, 1.5rem); }
.visionneuse__nav--suiv { right: clamp(0.5rem, 2vw, 1.5rem); }
@media (max-width: 640px) {
  .visionneuse__nav { display: none; }
}

/* ---------- Page « Notre cuisine » ---------- */
.specialite { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 5vw, 6rem); align-items: center; padding-block: clamp(3rem, 2rem + 4vw, 6rem); scroll-margin-top: calc(var(--header-h) + 1rem); }
.specialite + .specialite { border-top: 1px solid var(--trait); }
.specialite--inverse .specialite__photos { order: -1; }
.specialite h2 { font-size: var(--t-xl); margin-bottom: 1.25rem; }
.specialite p { color: #3b3f45; max-width: 34rem; }
.specialite__carte { margin: 1.75rem 0 2rem; padding: 1.25rem 1.5rem; border-radius: 10px; background: var(--blanc); border: 1px solid var(--trait); max-width: 30rem; }
.specialite__carte h3 { font-size: var(--t-s); font-weight: 600; letter-spacing: 0; margin-bottom: 0.6rem; color: var(--gris); }
.specialite__carte ul { list-style: none; padding: 0; margin: 0; }
.specialite__carte li { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.3rem 0; font-style: italic; }
.specialite__carte li::before { content: ""; flex: none; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--abricot); transform: translateY(-0.15rem); }
.specialite__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.specialite__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-photo); }
.specialite__photos img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.specialite__photos img:not(:first-child) { aspect-ratio: 1; }
@media (max-width: 860px) {
  .specialite { grid-template-columns: 1fr; }
  .specialite--inverse .specialite__photos { order: 0; }
}
.sommaire { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 2rem; }

.formules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,0.18); }
.formules > div { padding: 2rem 2rem 0 0; }
.formules > div + div { padding-left: 2rem; border-left: 1px solid rgba(255,255,255,0.12); }
.formules h3 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.formules p { font-size: 1rem; }
@media (max-width: 860px) {
  .formules { grid-template-columns: 1fr; }
  .formules > div { padding-right: 0; }
  .formules > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.12); margin-top: 2rem; }
}

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; padding-bottom: var(--section); }
.formulaire { background: var(--blanc); border: 1px solid var(--trait); border-radius: 14px; padding: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.formulaire h2 { font-size: var(--t-l); margin-bottom: 0.5rem; }
.formulaire > p { color: var(--gris); font-size: 1rem; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1rem; margin-top: 1.75rem; }
.champ { display: grid; gap: 0.4rem; align-content: start; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ legend { font-family: var(--f-titre); font-size: var(--t-s); font-weight: 600; padding: 0; }
.champ label small, .champ legend small { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3rem; padding: 0.7rem 0.85rem;
  border: 1px solid #d7cfc7; border-radius: 8px; background: var(--porcelaine);
  font-family: var(--f-titre); font-size: 1rem; color: var(--encre);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.champ textarea { min-height: 9rem; resize: vertical; line-height: 1.5; }
.champ input:hover, .champ select:hover, .champ textarea:hover { border-color: #b9afa5; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: none; border-color: var(--abricot-fonce); background: var(--blanc); box-shadow: 0 0 0 4px rgba(255,127,77,0.22); }
.champ [aria-invalid="true"] { border-color: #c0392b; background: #fff6f5; }
.champ__erreur { font-family: var(--f-titre); font-size: var(--t-xs); color: #b03225; }
.champ__erreur:empty { display: none; }
fieldset.champ { border: 0; padding: 0; margin: 0; min-width: 0; }
.puces { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.15rem; }
.puce { position: relative; }
.puce input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.puce span {
  display: inline-flex; align-items: center; min-height: 2.6rem; padding: 0.45rem 0.95rem; border: 1px solid #d7cfc7; border-radius: 999px;
  font-family: var(--f-titre); font-size: var(--t-s); font-weight: 500; background: var(--porcelaine); transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.puce input:checked + span { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.puce input:focus-visible + span { outline: 3px solid var(--abricot); outline-offset: 2px; }
.champs-evenement { display: contents; }
.champs-evenement[hidden] { display: none; }
.pot-de-miel { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__pied { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.75rem; }
.formulaire__pied p { font-size: var(--t-xs); color: var(--gris); font-family: var(--f-titre); max-width: 26rem; margin: 0; line-height: 1.5; }
.formulaire__pied a { color: inherit; }
.bouton[aria-busy="true"] { opacity: 0.7; pointer-events: none; }
.message-envoi { margin-top: 1.25rem; padding: 1rem 1.1rem; border-radius: 10px; font-family: var(--f-titre); font-size: var(--t-s); line-height: 1.5; }
.message-envoi[hidden] { display: none; }
.message-envoi--ok { background: #e9f6ee; color: #1d5e37; border: 1px solid #b9e0c7; }
.message-envoi--erreur { background: #fdeeec; color: #8a2a1f; border: 1px solid #f2c4bd; }
.message-envoi a { color: inherit; font-weight: 600; }
.coordonnees > div { padding: 1.5rem 0; border-bottom: 1px solid var(--trait); }
.coordonnees > div:first-child { padding-top: 0; }
.coordonnees h2 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.coordonnees address { font-style: normal; }
.coordonnees a { text-underline-offset: 4px; text-decoration-color: var(--abricot); }
.coordonnees .gros { font-family: var(--f-titre); font-weight: 600; font-size: 1.25rem; text-decoration: none; }
.coordonnees .gros:hover { color: var(--abricot-fonce); }
.carte-plan { margin-top: 1rem; border-radius: 10px; overflow: hidden; border: 1px solid var(--trait); }
.carte-plan iframe { display: block; width: 100%; height: 15rem; border: 0; }
.carte-plan__accord { display: grid; place-items: center; align-content: center; gap: 0.75rem; height: 15rem; padding: 1.25rem; text-align: center; background: #efe9e3; font-family: var(--f-titre); font-size: var(--t-s); color: var(--gris); }
.carte-plan__accord p { margin: 0; max-width: 18rem; line-height: 1.45; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .champs { grid-template-columns: 1fr; } }

/* ---------- Texte long (mentions) ---------- */
.texte-long { max-width: 46rem; padding-bottom: var(--section); }
.texte-long h2 { font-size: var(--t-l); margin: 2.75rem 0 1rem; }
.texte-long ul { padding-left: 1.2rem; }
.texte-long li { margin-bottom: 0.3rem; }
.texte-long a { color: var(--abricot-fonce); text-underline-offset: 3px; }
.texte-long dl { display: grid; grid-template-columns: max-content 1fr; gap: 0.35rem 1.25rem; margin: 0; }
.texte-long dt { font-family: var(--f-titre); font-weight: 600; font-size: var(--t-s); padding-top: 0.15rem; }
.texte-long dd { margin: 0; }
@media (max-width: 560px) { .texte-long dl { grid-template-columns: 1fr; } .texte-long dd { margin-bottom: 0.6rem; } }

/* ---------- 404 ---------- */
.introuvable { min-height: 60vh; display: grid; align-content: center; justify-items: start; gap: 1.25rem; padding-block: var(--section); }
.introuvable h1 { font-size: var(--t-2xl); }
.introuvable p { max-width: 34rem; color: #3b3f45; }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .plateau .bouchee { opacity: 1; transform: none; }
}

/* ---------- Impression ---------- */
@media print {
  .entete, .barre-mobile, .pied, .filtres-zone, .appel { display: none !important; }
  body { background: #fff; }
}
