/* ==========================================================================
   Nom entreprise : restaurant fictif (démo « Sur mesure » du portfolio LBN)
   Direction artistique : magazine culinaire en couleurs franches.
   Bricolage Grotesque (titres étroits et graisses fortes, texte) + Instrument Serif italique (accents).
   Palette : crème, encre figue, tomate, safran, myrte, rose figue, pistache.
   Contrastes vérifiés : encre/crème 15,9 · tomate foncé/crème 5 · blanc/tomate foncé 5,6 ·
   encre/tomate 4,7 · crème/myrte 10,5 · safran/encre 11,2 · encre/rose 9,6.
   ========================================================================== */

@font-face {
  font-family: "Bricolage";
  src: url("../fonts/bricolage.woff2") format("woff2");
  font-weight: 400 800; font-stretch: 75% 100%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italique.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --creme: #FFF1DE;
  --papier: #FFF9F0;
  --encre: #26121D;
  --encre-doux: #5E4652;
  --tomate: #EC4A2C;
  --tomate-f: #C2311A;
  --safran: #FFC53D;
  --myrte: #173F33;
  --rose: #F9A8BC;
  --pistache: #C4DB7A;
  --figue: #7D2452;
  --trait: rgb(38 18 29 / .16);

  --f-texte: "Bricolage", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-accent: "Instrument Serif", "Iowan Old Style", Georgia, serif;

  --entete-h: 4.75rem;
  --r: 1.25rem;
  --r-pilule: 999px;
  --marge: clamp(1rem, 4vw, 3rem);
  --ombre-dure: .35rem .35rem 0 var(--encre);
  /* courbes fortes (jamais ease-in) : sortie pour les réponses de l'interface, entrée-sortie pour ce qui se déplace à l'écran */
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --ease-drawer: cubic-bezier(.32, .72, 0, 1);
  --ease: var(--ease-out);
  --t-press: 160ms;
  --t-ui: 220ms;
  color-scheme: light;
}
@media (max-width: 47.99rem) { :root { --entete-h: 4rem; } }

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* pas de défilement doux global : il animerait aussi le défilement provoqué par la touche Tab (geste clavier répété) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--creme); color: var(--encre);
  font: 400 1.0625rem/1.6 var(--f-texte); font-optical-sizing: auto;
  font-kerning: normal; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; font-weight: 800; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .18em; }
@media (hover: hover) and (pointer: fine) { a:hover { text-decoration-thickness: .14em; } }
h1, h2, h3 { overflow-wrap: break-word; }
address { font-style: normal; }
abbr[title] { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }
::selection { background: var(--safran); color: var(--encre); }

:focus { outline: none; }
:focus-visible { outline: 3px solid var(--encre); outline-offset: 3px; border-radius: .3rem; }
.fond-sombre :focus-visible, .pied :focus-visible, .bandeau-demo :focus-visible { outline-color: var(--safran); }

.vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nowrap { white-space: nowrap; }
.conteneur { width: 100%; max-width: 86rem; margin-inline: auto; padding-inline: var(--marge); }
[hidden] { display: none !important; }

.lien-evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 1001;
  background: var(--encre); color: var(--creme); padding: .75rem 1.1rem; border-radius: .6rem; font-weight: 700;
}
.lien-evitement:focus { top: 1rem; }

/* ---------- bandeau commun (styles locaux, comportement dans ../_commun/) ---------- */
.bandeau-demo { background: var(--encre); color: var(--creme); font-size: .875rem; text-align: center; }
.bandeau-demo a { color: var(--safran); font-weight: 700; }
/* M2 : le reflet du bandeau (../_commun) éclaircit le fond derrière le texte. Le lien garde son propre fond encre,
   posé au-dessus du reflet : safran/encre reste à 11,2:1 pendant tout le balayage. */
.bandeau-haut a { position: relative; z-index: 1; background: var(--encre); padding: .05em .2em; margin-inline: -.2em; border-radius: .25em; }

/* ---------- typographie ---------- */
.titre-display {
  font-weight: 800; font-stretch: 75%; text-transform: uppercase;
  line-height: .86; letter-spacing: -.01em;
  font-size: clamp(3.5rem, .5rem + 10.5vw, 9.25rem);
}
.titre-section {
  font-weight: 800; font-stretch: 78%; text-transform: uppercase; line-height: .9;
  font-size: clamp(2.3rem, 1rem + 4.4vw, 4.75rem);
}
.it {
  font-family: var(--f-accent); font-style: italic; font-weight: 400; font-stretch: 100%;
  text-transform: none; letter-spacing: -.01em; line-height: .9;
}
.titre-display .it, .titre-section .it { font-size: 1.08em; }
.c-tomate { color: var(--tomate-f); }
.surtitre {
  display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .9rem;
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.surtitre__num {
  display: inline-grid; place-items: center; min-width: 2.2rem; height: 2.2rem; padding-inline: .5rem;
  border-radius: var(--r-pilule); background: var(--encre); color: var(--creme); letter-spacing: 0;
}
.chapo { font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); line-height: 1.45; max-width: 38rem; }
.texte-doux { color: var(--encre-doux); }

/* ---------- boutons ---------- */
/* La face (::before) et l'ombre dure (::after) sont deux calques : survol et pression n'animent que transform. */
.btn {
  --btn-fond: var(--tomate-f); --btn-texte: #fff; --btn-bord: var(--encre); --btn-ombre: var(--encre); --btn-dec: .22rem;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.35rem; border-radius: var(--r-pilule);
  background: transparent; color: var(--btn-texte); border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none;
  transition: transform var(--t-press) var(--ease-out);
}
.btn::before, .btn::after { content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; }
.btn::before { z-index: -1; background: var(--btn-fond); border: 2px solid var(--btn-bord); }
.btn::after { z-index: -2; background: var(--btn-ombre); transform: translate(var(--btn-dec), var(--btn-dec)); transition: transform var(--t-press) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); }
  .btn:hover::after { transform: translate(calc(var(--btn-dec) + 2px), calc(var(--btn-dec) + 2px)); }
}
.btn:active { transform: scale(.97); }
.btn:active::after { transform: translate(.1rem, .1rem); }
.btn--clair { --btn-fond: var(--papier); --btn-texte: var(--encre); }
.btn--safran { --btn-fond: var(--safran); --btn-texte: var(--encre); }
.btn--grand { min-height: 3.5rem; padding: .9rem 1.7rem; font-size: 1.0625rem; }
.fond-sombre .btn, .pied .btn { --btn-bord: var(--safran); --btn-ombre: var(--safran); }
.ico { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lien-fleche { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: .1rem; }
.lien-fleche .ico { transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .lien-fleche:hover .ico { transform: translateX(.25rem); } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }

/* ---------- en-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50; height: var(--entete-h);
  background: var(--creme); border-bottom: 2px solid var(--encre);
  view-transition-name: entete;
}
.entete__inner { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.marque { display: flex; align-items: center; gap: .8rem; text-decoration: none; margin-right: auto; }
.logo {
  display: inline-grid; place-items: center; padding: .35rem .7rem; min-height: 2.6rem;
  border: 2px dashed var(--encre-doux); border-radius: .6rem; background: var(--papier);
  font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; line-height: 1.1; color: var(--encre);
}
.marque__activite { font-size: .8125rem; line-height: 1.2; color: var(--encre-doux); font-weight: 600; }
.marque__activite strong { display: block; color: var(--encre); font-size: .9375rem; font-weight: 800; }
.nav__liste { display: flex; gap: .3rem; }
.nav__lien {
  position: relative; display: inline-flex; align-items: baseline; gap: .35rem;
  padding: .55rem .9rem; border-radius: var(--r-pilule); text-decoration: none; font-weight: 700;
}
.nav__num { font-size: .6875rem; font-weight: 700; color: var(--tomate-f); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .nav__lien:hover { background: rgb(38 18 29 / .07); } }
.nav__lien[aria-current="page"] { background: var(--encre); color: var(--creme); }
.nav__lien[aria-current="page"] .nav__num { color: var(--safran); }
.nav__extra { display: none; }
.entete__actions { display: flex; align-items: center; gap: .9rem; }
.entete__tel { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (hover: hover) and (pointer: fine) { .entete__tel:hover { text-decoration: underline; } }
.entete .btn { min-height: 2.75rem; padding: .55rem 1.1rem; }
.menu-bouton {
  display: none; align-items: center; gap: .45rem; min-height: 2.75rem; padding: .5rem 1rem;
  border: 2px solid var(--encre); border-radius: var(--r-pilule); background: var(--safran); font-weight: 800;
  transition: transform var(--t-press) var(--ease-out);
}
.menu-bouton:active { transform: scale(.97); }
.menu-bouton .ico--fermer { display: none; }
.menu-bouton[aria-expanded="true"] .ico--menu { display: none; }
.menu-bouton[aria-expanded="true"] .ico--fermer { display: block; }

@media (max-width: 71.99rem) { .entete__tel { display: none; } }
@media (max-width: 59.99rem) {
  .marque__activite { display: none; }
}
@media (max-width: 52.99rem) {
  html[data-js] .menu-bouton { display: inline-flex; }
  html[data-js] .entete__actions > .btn { display: none; }
  html[data-js] .nav {
    position: fixed; inset: calc(var(--h-bandeau, 0px) + var(--entete-h)) 0 0 0; z-index: 49;
    background: var(--tomate); color: var(--encre); overflow-y: auto;
    padding: 1.5rem var(--marge) 2.5rem;
    visibility: hidden; opacity: 0; transform: translateY(-1rem);
    transition: opacity 200ms var(--ease-out), transform 280ms var(--ease-drawer), visibility 0s 280ms;
  }
  html[data-js].menu-ouvert .nav { visibility: visible; opacity: 1; transform: none; transition: opacity 200ms var(--ease-out), transform 280ms var(--ease-drawer); }
  html.menu-ouvert body { overflow: hidden; }
  html[data-js] .nav__liste { flex-direction: column; gap: 0; }
  html[data-js] .nav__lien {
    display: flex; padding: .75rem 0; border-radius: 0; border-bottom: 2px solid var(--encre);
    font-size: clamp(2.4rem, 12vw, 3.75rem); font-stretch: 75%; text-transform: uppercase; line-height: 1;
  }
  @media (hover: hover) and (pointer: fine) { html[data-js] .nav__lien:hover { background: none; } }
  html[data-js] .nav__lien[aria-current="page"] { background: none; color: var(--encre); }
  html[data-js] .nav__lien[aria-current="page"]::after { content: "●"; font-size: .4em; margin-left: auto; align-self: center; }
  html[data-js] .nav__num { font-size: 1rem; color: var(--encre); align-self: flex-start; }
  html[data-js] .nav__lien[aria-current="page"] .nav__num { color: var(--encre); }
  html[data-js] .nav { background: var(--tomate) url(../img/plat-poisson.svg) no-repeat right -9rem bottom -8rem / min(26rem, 85vw); }
  html[data-js] .nav__extra a:not(.btn) { display: inline-flex; align-items: center; gap: .5rem; }
  html[data-js] .nav__extra { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; margin-top: 2rem; font-weight: 700; }
  html[data-js] .nav__extra a:not(.btn) { color: var(--encre); }
  html[data-js] .nav :focus-visible { outline-color: var(--encre); }
}
/* sans JS : la navigation passe sous le logo */
@media (max-width: 52.99rem) {
  html:not([data-js]) .entete { height: auto; position: static; }
  html:not([data-js]) .entete__inner { flex-wrap: wrap; padding-block: .75rem; gap: .5rem; }
  html:not([data-js]) .nav { order: 3; width: 100%; }
  html:not([data-js]) .nav__liste { flex-wrap: wrap; }
}

/* ---------- sections ---------- */
.sec { padding-block: clamp(4rem, 3rem + 5vw, 8rem); position: relative; }
.sec--serre { padding-block: clamp(3rem, 2rem + 3vw, 5rem); }
.fond-safran { background: var(--safran); }
.fond-rose { background: var(--rose); }
.fond-pistache { background: var(--pistache); }
.fond-tomate { background: var(--tomate); }
.fond-papier { background: var(--papier); }
.fond-sombre { background: var(--myrte); color: var(--creme); }
.fond-sombre .texte-doux { color: #CFE0D6; }
.sec__tete { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); max-width: 52rem; }
.sec__tete--ligne { max-width: none; grid-template-columns: 1fr auto; align-items: end; }
@media (max-width: 47.99rem) { .sec__tete--ligne { grid-template-columns: 1fr; } }
.sec--apres-rubans { padding-top: clamp(2.5rem, 1rem + 4vw, 6rem); }
.filet { border: 0; border-top: 2px solid var(--encre); margin: 0; }

/* ---------- accueil : une ---------- */
.une { position: relative; padding-top: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); padding-bottom: clamp(5rem, 3rem + 6vw, 9rem); overflow: clip; }
.une__ours {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
  padding-bottom: .75rem; margin-bottom: clamp(1.5rem, 1rem + 2vw, 3rem); border-bottom: 2px solid var(--encre);
  font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.une__grille { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; align-items: center; }
.une__texte { grid-column: 1 / span 7; position: relative; z-index: 2; }
.une__titre { margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.une__titre .ligne { display: block; }
.une__titre .ligne--decale { padding-left: .6em; }
.une__chapo { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; max-width: 40rem; }
.une__visuel { grid-column: 8 / span 5; position: relative; aspect-ratio: 1; }
.disque { position: absolute; inset: 4% -8% -2% 6%; border-radius: 50%; background: var(--tomate); }
.disque::after {
  content: ""; position: absolute; inset: -1.25rem; border-radius: 50%; border: 2px dashed var(--encre); opacity: .5;
}
.une__assiette { position: absolute; inset: 0 -4% 4% 0; width: 104%; max-width: none; filter: drop-shadow(0 0 0 transparent); }
.flotte { position: absolute; width: var(--l, 5rem); transform: translate3d(0, calc(var(--defil, 0) * var(--v, 0) * 1px), 0) rotate(var(--rot, 0deg)); will-change: transform; z-index: 3; }
.flotte--citron { --l: clamp(3.5rem, 7vw, 6.5rem); top: -4%; right: 2%; --v: -.12; --rot: 12deg; }
.flotte--figue { --l: clamp(3.2rem, 6vw, 5.5rem); bottom: -6%; left: 6%; --v: -.22; --rot: -18deg; }
.flotte--piment { --l: clamp(4rem, 8vw, 7.5rem); bottom: 6%; right: -10%; --v: .1; --rot: 30deg; }
.flotte--basilic { --l: clamp(2.2rem, 4vw, 3.6rem); bottom: 20%; left: -9%; --v: -.3; --rot: -40deg; }
.flotte--olives { --l: clamp(3rem, 5vw, 4.5rem); top: 48%; left: -14%; --v: .18; --rot: 10deg; }
.tampon {
  position: absolute; z-index: 4; top: -3%; left: -6%; width: clamp(7rem, 12vw, 10.5rem); aspect-ratio: 1;
  border-radius: 50%; background: var(--safran); border: 2px solid var(--encre); box-shadow: var(--ombre-dure);
  display: grid; place-items: center;
}
.tampon svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(calc(var(--defil, 0) * .25deg)); }
.tampon text { font: 800 15.5px var(--f-texte); letter-spacing: .14em; text-transform: uppercase; fill: var(--encre); }
.tampon__centre { position: relative; text-align: center; font-weight: 800; font-stretch: 75%; line-height: .9; font-size: clamp(1.3rem, 2.2vw, 1.85rem); text-transform: uppercase; }
.tampon__centre .it { display: block; font-size: .75em; text-transform: none; }
.statut {
  display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem .5rem .8rem; border-radius: var(--r-pilule);
  background: var(--papier); border: 2px solid var(--encre); font-weight: 700; font-size: .9375rem;
}
.statut::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--encre-doux); flex: none; }
.statut[data-etat="ouvert"]::before { background: #2E9E4F; box-shadow: 0 0 0 .25rem rgb(46 158 79 / .25); }
.statut[data-etat="bientot"]::before { background: var(--safran); box-shadow: 0 0 0 .25rem rgb(255 197 61 / .35); }
.statut[data-etat="ferme"]::before { background: var(--tomate-f); }

@media (max-width: 61.99rem) {
  .une__texte, .une__visuel { grid-column: 1 / -1; }
  .une__visuel { width: min(82%, 30rem); margin: 1.5rem auto 0; }
}

/* rubans d'ingrédients croisés */
.rubans { position: relative; height: clamp(10.5rem, 8.5rem + 6vw, 13.5rem); margin-top: calc(-1 * clamp(5.75rem, 4.25rem + 4vw, 8.25rem)); z-index: 5; pointer-events: none; overflow: hidden; }
.ruban {
  position: absolute; left: -5%; right: -5%; top: 50%; padding: .85rem 0; white-space: nowrap; overflow: hidden;
  border-block: 2px solid var(--encre);
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.25rem, 1rem + 1.2vw, 2rem); line-height: 1;
}
/* rubans écartés (3,5rem entre leurs axes) et presque parallèles (1,1° d’écart) : ils ne se recouvrent qu’en lisière,
   le texte du ruban vert reste lisible */
.ruban--1 { background: var(--safran); top: calc(50% + 1.75rem); transform: translateY(-50%) rotate(-1.3deg); z-index: 2; }
.ruban--2 { background: var(--myrte); color: var(--creme); top: calc(50% - 1.75rem); transform: translateY(-50%) rotate(-.2deg); }
.ruban__piste { display: inline-flex; gap: 1.6rem; padding-left: 1.6rem; transform: translate3d(calc(var(--defil, 0) * var(--sens, -1) * .35px + var(--base, -10%)), 0, 0); will-change: transform; }
.ruban--2 .ruban__piste { --sens: 1; }
.ruban__piste span { display: inline-flex; align-items: center; gap: 1.6rem; }
.ruban__piste span::after { content: "✺"; font-stretch: 100%; color: var(--tomate-f); font-size: .8em; }
.ruban--2 .ruban__piste span::after { color: var(--safran); }

/* chiffres */
.chiffres { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--creme); }
.chiffre { padding: 1.75rem 1.5rem 0 0; border-right: 2px solid rgb(255 241 222 / .25); margin-right: 1.5rem; }
.chiffre:last-child { border-right: 0; margin-right: 0; }
.chiffre__val { display: block; font-weight: 800; font-stretch: 75%; font-size: clamp(3.5rem, 2rem + 5vw, 6.5rem); line-height: .9; color: var(--safran); font-variant-numeric: lining-nums; }
.chiffre__val small { font-size: .45em; }
.chiffre__lib { display: block; margin-top: .6rem; font-weight: 600; max-width: 16rem; }
@media (max-width: 47.99rem) {
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffre { border-right: 0; margin-right: 0; padding-right: 1rem; }
  .chiffre:nth-child(n+3) { border-top: 2px solid rgb(255 241 222 / .25); margin-top: 1.75rem; }
}

/* sommaire */
.sommaire-liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); counter-reset: s; }
.article-une { position: relative; display: flex; flex-direction: column; gap: 1rem; padding-top: 1.25rem; border-top: 2px solid var(--encre); }
.article-une__num { font-weight: 800; font-stretch: 75%; font-size: clamp(4rem, 3rem + 4vw, 7rem); line-height: .8; color: var(--tomate-f); }
.article-une h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.25rem); font-stretch: 85%; }
.article-une .lien-fleche { margin-top: auto; align-self: flex-start; }
.article-une .lien-fleche::after { content: ""; position: absolute; inset: 0; }
@media (hover: hover) and (pointer: fine) { .article-une:hover .article-une__num { color: var(--encre); } }
.article-une__page { position: absolute; top: 1.4rem; right: 0; font-size: .8125rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
@media (max-width: 53.99rem) { .sommaire-liste { grid-template-columns: 1fr; } }

/* plats à la une */
.vitrine { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: clamp(1rem, .5rem + 1.5vw, 2rem); align-items: end; }
.fiche-plat {
  position: relative; display: flex; flex-direction: column; gap: .5rem;
  padding: clamp(1.25rem, 1rem + 1vw, 2rem); padding-top: 0; border: 2px solid var(--encre); border-radius: 2rem;
  background: var(--c, var(--rose)); box-shadow: var(--ombre-dure); margin-top: 4rem;
}
.fiche-plat__img { width: 82%; margin: -3.5rem auto .5rem; transition: transform 260ms var(--ease-out); }
/* survol protégé : seulement avec une vraie souris (pas de faux survol au toucher) */
@media (hover: hover) and (pointer: fine) {
  .fiche-plat:hover .fiche-plat__img { transform: rotate(-6deg) scale(1.03); }
}
.fiche-plat h3 { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.5rem); font-stretch: 80%; text-transform: uppercase; }
.fiche-plat__prix {
  position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%;
  background: var(--encre); color: var(--creme); font-weight: 800; font-size: 1.25rem; transform: rotate(8deg); font-variant-numeric: lining-nums;
}
.fiche-plat:nth-child(1) { --c: var(--pistache); }
.fiche-plat:nth-child(2) { --c: var(--rose); }
.fiche-plat:nth-child(3) { --c: var(--safran); }
@media (max-width: 61.99rem) { .vitrine { grid-template-columns: 1fr 1fr; } .fiche-plat:first-child { grid-column: 1 / -1; } .fiche-plat:first-child .fiche-plat__img { width: min(60%, 18rem); } }
@media (max-width: 37.49rem) { .vitrine { grid-template-columns: 1fr; } }

/* pastilles régimes */
.pastilles { display: flex; flex-wrap: wrap; gap: .35rem; }
.pastille {
  display: inline-flex; align-items: center; gap: .3rem; padding: .2rem .6rem .2rem .45rem; border-radius: var(--r-pilule);
  font-size: .8125rem; font-weight: 700; line-height: 1.3; border: 1.5px solid var(--encre); background: var(--papier);
}
.pastille::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.pastille--v::before { background: #3F8F4A; }
.pastille--sg::before { background: #E09A00; }
.pastille--sl::before { background: #3A7CC0; }

/* citation */
.citation { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 1rem + 2vw, 3rem); align-items: start; }
.citation__guillemet { font-family: var(--f-accent); font-style: italic; font-size: clamp(8rem, 5rem + 10vw, 16rem); line-height: .7; color: var(--tomate-f); }
.citation blockquote { margin: 0; }
.citation blockquote p { font-family: var(--f-accent); font-style: italic; font-size: clamp(2rem, 1.2rem + 3vw, 4.25rem); line-height: 1.04; letter-spacing: -.01em; }
.citation figcaption { margin-top: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: .75rem; }
.citation figcaption::before { content: ""; width: 3rem; height: 2px; background: currentColor; }
@media (max-width: 37.49rem) { .citation { grid-template-columns: 1fr; } .citation__guillemet { font-size: 7rem; height: 4rem; } }

/* horaires */
.horaires { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (max-width: 53.99rem) { .horaires { grid-template-columns: minmax(0, 1fr); } }
.horaires > * { min-width: 0; }
.tableau-h th, .tableau-h td { overflow-wrap: anywhere; }
.tableau-h { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--r); overflow: hidden; box-shadow: var(--ombre-dure); }
.tableau-h th, .tableau-h td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1.5px solid var(--trait); font-variant-numeric: tabular-nums; }
.tableau-h thead th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .1em; background: var(--encre); color: var(--creme); border: 0; }
.tableau-h tbody tr:last-child > * { border-bottom: 0; }
.tableau-h tbody th { font-weight: 800; }
.tableau-h .ferme { color: var(--encre-doux); font-style: normal; }
.tableau-h tr.aujourdhui > * { background: var(--safran); }
.tableau-h tr.aujourdhui th::after { content: " · aujourd’hui"; font-weight: 600; font-size: .875rem; }
.note { font-size: .9375rem; color: var(--encre-doux); margin-top: 1rem; }
@media (max-width: 29.99rem) { .tableau-h th, .tableau-h td { padding: .8rem .7rem; font-size: .9375rem; } }

/* bande d'appel */
.appel { position: relative; }
.appel__inner { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; }
.appel__titre { font-size: clamp(2.6rem, 1rem + 6vw, 6.5rem); }
.appel__inner { position: relative; z-index: 1; }
/* le décor déborde franchement au-dessus du bandeau (plus de coupe nette) et ne touche plus les boutons */
.appel__deco { position: absolute; z-index: 2; width: clamp(5.5rem, 3rem + 7vw, 9.5rem); right: clamp(1rem, 6vw, 7rem); top: 0; translate: 0 -55%; transform: rotate(calc(-12deg + var(--defil, 0) * .02deg)); pointer-events: none; }
@media (max-width: 47.99rem) { .appel__inner { grid-template-columns: 1fr; } }

/* ---------- pied ---------- */
.pied { background: var(--encre); color: var(--creme); padding-top: clamp(3.5rem, 2rem + 4vw, 6rem); overflow: hidden; }
.pied a { color: var(--creme); }
.pied__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 2.5rem; }
.pied__grille > * { min-width: 0; overflow-wrap: anywhere; }
.pied__titre { font-size: .8125rem; text-transform: uppercase; letter-spacing: .14em; color: var(--safran); margin-bottom: 1rem; font-weight: 800; }
.pied li + li { margin-top: .5rem; }
.pied li a { display: inline-flex; align-items: center; gap: .5rem; }
.pied p, .pied address { color: #F2DCCB; }
.adresse-fictive { font-size: .875em; opacity: .9; }
.pied .pied__mot {
  display: block; margin-top: clamp(2.5rem, 2rem + 3vw, 5rem); white-space: nowrap;
  font-weight: 800; font-stretch: 75%; text-transform: uppercase; line-height: .78; letter-spacing: -.02em;
  font-size: clamp(3.5rem, 14.6vw, 16.5rem); color: var(--tomate); text-align: center; translate: 0 .08em;
}
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding-block: 1.25rem; border-top: 1.5px solid rgb(255 241 222 / .25); font-size: .875rem; }
.pied__bas p { margin: 0; }
@media (max-width: 61.99rem) { .pied__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 37.49rem) { .pied__grille { grid-template-columns: minmax(0, 1fr); } }

.interrupteur {
  display: inline-flex; align-items: center; gap: .7rem; padding: .35rem 0; min-height: 2.75rem;
  background: none; border: 0; color: var(--creme); font-weight: 700;
}
.interrupteur__piste { position: relative; width: 2.9rem; height: 1.6rem; border-radius: var(--r-pilule); background: rgb(255 241 222 / .2); border: 2px solid var(--creme); flex: none; }
.interrupteur__piste::after { content: ""; position: absolute; top: .15rem; left: .15rem; width: 1rem; height: 1rem; border-radius: 50%; background: var(--creme); transition: transform 200ms var(--ease-out); }
.interrupteur[aria-pressed="true"] .interrupteur__piste { background: var(--safran); border-color: var(--safran); }
.interrupteur[aria-pressed="true"] .interrupteur__piste::after { transform: translateX(1.3rem); background: var(--encre); }

/* barre contact mobile */
.barre-contact { display: none; }
@media (max-width: 47.99rem) {
  .barre-contact {
    display: block; position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
    background: var(--encre); border-radius: var(--r-pilule); padding: .35rem; box-shadow: 0 .6rem 1.6rem rgb(38 18 29 / .35);
  }
  .barre-contact ul { display: grid; grid-template-columns: 1fr 1fr; gap: .35rem; }
  .barre-contact a { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; border-radius: var(--r-pilule); color: var(--creme); font-weight: 800; text-decoration: none; transition: transform var(--t-press) var(--ease-out); }
  .barre-contact a:active { transform: scale(.97); }
  .barre-contact .barre-contact__principal { background: var(--safran); color: var(--encre); }
  .barre-contact :focus-visible { outline-color: var(--safran); }
  body { padding-bottom: 5rem; }
  html.menu-ouvert .barre-contact { display: none; }
  .pied { padding-bottom: 0; }
  /* I1 (WCAG 2.4.11) : l'élément qui reçoit le focus ne passe plus sous la barre fixe
     (barre : 3rem + 2 × .35rem de marge intérieure, posée à .75rem du bas ; + 1rem d'air) */
  html { scroll-padding-bottom: calc(3.7rem + .75rem + 1rem); }
}
/* I5 : écran très bas (zoom 400 %, téléphone à l'horizontale) : rien de collant ni de fixe ne mange l'écran */
@media (max-height: 30rem) {
  html .bandeau-haut { position: relative; }
  html .entete { position: relative; top: 0 !important; }
  /* menu ouvert : on retrouve le bandeau et l'en-tête collants, le menu (qui défile) se place dessous */
  html.menu-ouvert .bandeau-haut { position: sticky; }
  html.menu-ouvert .entete { position: sticky; top: var(--h-bandeau) !important; }
  html:root:root { scroll-padding-top: 1rem; scroll-padding-bottom: 1rem; }
  html .outils, html .rubrique__visuel { position: static; }
  html .resa-recap { position: relative; top: auto !important; }
  .barre-contact { position: static; margin: 0; border-radius: 0; box-shadow: none; padding: .5rem var(--marge); }
  .barre-contact ul { max-width: 30rem; }
  body { padding-bottom: 0; }
}

/* ---------- en-tête de page intérieure ---------- */
.tete-page { padding-top: clamp(1.5rem, 1rem + 2vw, 3rem); padding-bottom: clamp(2.5rem, 2rem + 3vw, 5rem); position: relative; overflow: clip; }
.ariane ol { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .875rem; font-weight: 600; margin-bottom: 1.5rem; }
.ariane li + li::before { content: "/"; margin-right: .4rem; color: var(--encre-doux); }
.ariane [aria-current] { color: var(--encre-doux); }
.tete-page__grille { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: end; }
.tete-page__grille > * { min-width: 0; }
.tete-page .titre-display { margin-bottom: 1.5rem; }
@media (max-width: 61.99rem) { .tete-page__grille { grid-template-columns: 1fr; } }

/* ---------- carte ---------- */
.ticket {
  position: relative; background: var(--safran); padding: 1.6rem 1.6rem 1.4rem; border: 2px solid var(--encre); border-radius: 1rem;
  box-shadow: var(--ombre-dure); transform: rotate(2deg); max-width: 28rem; justify-self: end; width: 100%;
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: 50%; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--creme); border: 2px solid var(--encre); translate: 0 -50%; }
.ticket::before { left: -.8rem; clip-path: inset(0 0 0 50%); }
.ticket::after { right: -.8rem; clip-path: inset(0 50% 0 0); }
.ticket h2 { font-size: 1.75rem; font-stretch: 80%; text-transform: uppercase; }
.ticket__sous { font-weight: 600; margin: .2rem 0 1rem; }
.ticket ul { border-top: 2px dashed var(--encre); padding-top: .8rem; }
.ticket li { display: flex; gap: 1rem; justify-content: space-between; align-items: baseline; padding: .35rem 0; font-weight: 600; }
.ticket li strong { font-size: 1.25rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 61.99rem) { .ticket { justify-self: start; transform: rotate(-1deg); } }

.outils {
  position: sticky; top: calc(var(--h-bandeau, 0px) + var(--entete-h)); z-index: 20;
  background: var(--creme); border-block: 2px solid var(--encre); padding-block: .8rem;
}
.outils__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; }
.onglets { position: relative; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; padding: .3rem; margin: -.3rem; }
.onglets::-webkit-scrollbar { display: none; }
.onglet, .sommaire-carte a {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; flex: none; min-height: 2.75rem; padding: .45rem 1rem;
  border: 2px solid var(--encre); border-radius: var(--r-pilule); background: var(--papier); font-weight: 800; text-decoration: none; white-space: nowrap;
}
.onglet { transition: transform var(--t-press) var(--ease-out); }
.onglet:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .onglet:hover { background: #fff; } }
.onglet[aria-selected="true"] { background: var(--encre); color: var(--creme); }
/* Indicateur d'onglet (technique du calque découpé) : une copie « active » de la rangée, inerte et masquée aux
   lecteurs d'écran, n'est visible que dans le découpage qui glisse d'un onglet à l'autre. Texte et fond changent
   ensemble. Sous le calque, l'onglet choisi garde le style normal (sans JS, couleurs forcées). */
.onglets__calque { position: absolute; top: .3rem; left: .3rem; display: flex; gap: .35rem; pointer-events: none; z-index: 1;
  clip-path: inset(0 var(--droite, 100%) 0 var(--gauche, 0) round var(--r-pilule)); }
.onglets__calque.anime { transition: clip-path 240ms var(--ease-in-out); }
.onglets__calque .onglet { background: var(--encre); color: var(--creme); }
.onglets.a-calque .onglet[aria-selected="true"] { background: var(--papier); color: var(--encre); }
.onglet__compte { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding-inline: .35rem; border-radius: var(--r-pilule); background: var(--safran); color: var(--encre); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.sommaire-carte { display: flex; flex-wrap: wrap; gap: .35rem; }
html[data-js] .sommaire-carte { display: none; }
html:not([data-js]) .onglets, html:not([data-js]) .filtres { display: none; }
.filtres { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .5rem; }
.filtres__bouton { display: none; }
.filtres__titre { font-weight: 700; font-size: .875rem; margin-right: .25rem; }
.filtre {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 2.5rem; padding: .35rem .85rem .35rem .6rem;
  border: 2px dashed var(--encre); border-radius: var(--r-pilule); background: transparent; font-weight: 700; font-size: .9375rem;
  transition: transform var(--t-press) var(--ease-out);
}
.filtre:active { transform: scale(.97); }
.filtre__case { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 2px solid var(--encre); display: grid; place-items: center; }
.filtre__case .ico { width: .8rem; height: .8rem; stroke-width: 3.5; opacity: 0; }
.filtre[aria-pressed="true"] { border-style: solid; background: var(--pistache); }
.filtre[aria-pressed="true"] .filtre__case { background: var(--encre); color: var(--creme); }
.filtre[aria-pressed="true"] .filtre__case .ico { opacity: 1; }

/* Mobile : la rangée d'onglets reste collante ; les filtres se replient dans « Filtrer (n) », dans la même barre. */
@media (max-width: 47.99rem) {
  .outils { padding-block: .6rem; }
  html[data-js] .outils__inner { flex-wrap: wrap; gap: .5rem; }
  html[data-js] .onglets { flex: 1 1 0; min-width: 0; }
  html[data-js] .filtres { display: contents; }
  html[data-js] .filtres__titre { display: none; }
  html[data-js] .filtres__bouton {
    display: inline-flex; align-items: center; gap: .35rem; flex: none; min-height: 2.75rem; padding: .45rem .8rem;
    border: 2px solid var(--encre); border-radius: var(--r-pilule); background: var(--safran); color: var(--encre); font-weight: 800; white-space: nowrap;
    transition: transform var(--t-press) var(--ease-out);
  }
  html[data-js] .filtres__bouton:active { transform: scale(.97); }
  html[data-js] .filtres__bouton .ico { width: 1rem; height: 1rem; transition: transform 200ms var(--ease-out); }
  html[data-js] .filtres__bouton[aria-expanded="true"] { background: var(--encre); color: var(--creme); }
  html[data-js] .filtres__bouton[aria-expanded="true"] .ico { transform: rotate(180deg); }
  html[data-js] .filtres__boutons { display: none; flex-basis: 100%; padding-top: .15rem; }
  html[data-js] .filtres__boutons.est-ouvert { display: flex; animation: panneau-filtres 200ms var(--ease-out); }
}
@keyframes panneau-filtres { from { opacity: 0; transform: translateY(-.4rem); } }

.rubrique { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 4vw, 5.5rem); padding-block: clamp(3rem, 2rem + 3vw, 5rem); scroll-margin-top: calc(var(--h-bandeau, 0px) + var(--entete-h) + 5rem); }
html:not([data-js]) .rubrique + .rubrique { border-top: 2px solid var(--encre); }
.rubrique__visuel { position: sticky; top: calc(var(--h-bandeau, 0px) + var(--entete-h) + 6rem); align-self: start; }
.rubrique__num { font-size: .875rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rubrique__titre { font-size: clamp(3rem, 1.5rem + 5vw, 6.5rem); font-stretch: 75%; text-transform: uppercase; line-height: .85; margin: .5rem 0 1.5rem; }
.rubrique__disque { position: relative; aspect-ratio: 1; width: min(100%, 26rem); }
.rubrique__disque::before { content: ""; position: absolute; inset: 6% -2% -4% 8%; border-radius: 50%; background: var(--c, var(--tomate)); border: 2px solid var(--encre); }
.rubrique__disque img { position: relative; width: 100%; }
.rubrique--entrees { --c: var(--pistache); }
.rubrique--plats { --c: var(--tomate); }
.rubrique--fromages { --c: var(--safran); }
.rubrique--desserts { --c: var(--rose); }
.rubrique--boire { --c: #9CC9B8; }
.rubrique__intro { margin-top: 1.5rem; max-width: 26rem; color: var(--encre-doux); }
@media (max-width: 53.99rem) {
  .rubrique { grid-template-columns: 1fr; }
  .rubrique__visuel { position: static; display: grid; grid-template-columns: 1fr minmax(0, 9rem); gap: 1rem; align-items: center; }
  .rubrique__disque { grid-column: 2; grid-row: 1 / span 3; }
  .rubrique__intro { margin-top: 0; }
}
.plats { border-top: 2px solid var(--encre); }
.plat { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1.5rem; padding: 1.35rem 0; border-bottom: 1.5px dashed rgb(38 18 29 / .45); }
.plat__nom { font-size: clamp(1.35rem, 1.1rem + .7vw, 1.75rem); font-stretch: 85%; line-height: 1.1; }
.plat__prix { margin: 0; grid-column: 2; grid-row: 1; font-weight: 800; font-size: 1.25rem; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plat__prix small { display: block; font-size: .8125rem; font-weight: 600; color: var(--encre-doux); }
.plat__desc { grid-column: 1 / -1; margin: 0; max-width: 34rem; }
.plat .pastilles { grid-column: 1 / -1; }
.plat__allergenes { grid-column: 1 / -1; margin: 0; font-size: .875rem; color: var(--encre-doux); }
.rubrique__vide { padding: 1.5rem; margin-top: 1.5rem; border: 2px dashed var(--encre); border-radius: var(--r); background: var(--papier); }
.carte-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.carte-notes > div { padding-top: 1rem; border-top: 2px solid var(--encre); }
.carte-notes h2 { font-size: 1.25rem; margin-bottom: .5rem; }
@media (max-width: 53.99rem) { .carte-notes { grid-template-columns: 1fr; } }

/* ---------- maison ---------- */
.planche { position: relative; margin-inline: 0; margin-bottom: 0; margin-top: clamp(1rem, 1rem + 2vw, 3rem); padding: clamp(1rem, .5rem + 3vw, 3.5rem); border-radius: 2rem; background: var(--pistache); border: 2px solid var(--encre); box-shadow: var(--ombre-dure); }
.planche img { width: 100%; transform: rotate(calc(-1.5deg + var(--defil, 0) * .004deg)); }
.planche figcaption { position: absolute; left: clamp(1rem, 3vw, 2.5rem); bottom: -1.1rem; background: var(--encre); color: var(--creme); padding: .4rem .9rem; border-radius: var(--r-pilule); font-size: .875rem; font-weight: 700; }
.article { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
.article__corps { columns: 2 18rem; column-gap: 2.5rem; }
.article__corps p { font-size: 1.125rem; }
.article__corps > p:first-child::first-letter {
  float: left; font-weight: 800; font-stretch: 75%; font-size: 5.6em; line-height: .78; margin: .08em .1em 0 0; color: var(--tomate-f);
}
.article__corps .chapo { column-span: all; font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); max-width: none; margin-bottom: 1.5rem; }
.fiche { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--ombre-dure); }
.fiche h2 { font-size: 1.25rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 1rem; }
.fiche dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 0 1rem; }
.fiche dt, .fiche dd { padding: .7rem 0; border-top: 1.5px dashed rgb(38 18 29 / .4); margin: 0; }
.fiche dt { font-weight: 600; color: var(--encre-doux); }
.fiche dd { font-weight: 800; text-align: right; }
@media (max-width: 61.99rem) { .article { grid-template-columns: 1fr; } }
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 1rem + 2vw, 3rem); }
.portrait { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: start; }
/* portraits plats (img/portrait-*.svg, tools/illustrations.py) : même écriture que les assiettes */
.portrait__img { width: clamp(6.5rem, 4.5rem + 5vw, 9.5rem); height: auto; flex: none; }
.portrait h3 { font-size: clamp(1.6rem, 1.2rem + 1vw, 2.2rem); font-stretch: 85%; }
.portrait__role { font-weight: 700; color: var(--tomate-f); margin: .2rem 0 .75rem; }
.fond-sombre .portrait__role { color: var(--safran); }
@media (max-width: 47.99rem) { .equipe { grid-template-columns: 1fr; } }
@media (max-width: 29.99rem) { .portrait { grid-template-columns: 1fr; } }
.fournisseurs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.fournisseur { background: var(--papier); color: var(--encre); border: 2px solid var(--encre); border-radius: 1.5rem; padding: 1.25rem; display: flex; flex-direction: column; gap: .5rem; }
.fournisseur img { height: 4rem; width: auto; margin-bottom: .5rem; transition: transform 240ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .fournisseur:hover img { transform: rotate(-10deg) scale(1.06); } }
.fournisseur h3 { font-size: 1.3rem; font-stretch: 85%; }
.fournisseur p { font-size: .9375rem; }
.fournisseur__lieu { margin-top: auto; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--tomate-f); }
@media (max-width: 71.99rem) { .fournisseurs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 47.99rem) { .fournisseurs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 29.99rem) {
  .fournisseurs { grid-template-columns: 1fr; }
  .fournisseur { display: grid; grid-template-columns: 4.5rem 1fr; gap: .25rem 1rem; align-items: start; }
  .fournisseur img { grid-row: 1 / span 3; width: 4.5rem; height: auto; margin: 0; }
  .fournisseur__lieu { margin-top: .25rem; }
}
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
.duo > section { padding-top: 1.25rem; border-top: 2px solid var(--encre); }
.duo h2 { font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-stretch: 78%; text-transform: uppercase; margin-bottom: 1rem; }
@media (max-width: 47.99rem) { .duo { grid-template-columns: 1fr; } }

/* ---------- réserver ---------- */
.carte-appel { background: var(--papier); border: 2px solid var(--encre); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--ombre-dure); }
.carte-appel h2 { font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.carte-appel .btn { margin-top: 1rem; }
/* les deux colonnes s'étirent sur toute la hauteur du formulaire : le récapitulatif reste collant jusqu'au bouton « Envoyer » */
.resa { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: stretch; }
.resa > * { min-width: 0; }
.resa-recap { align-self: start; }
@media (max-width: 59.99rem) { .resa { grid-template-columns: 1fr; } }
.formulaire { display: grid; gap: 2.5rem; }
.etape { border: 0; margin: 0; padding: 0; min-width: 0; }
.etape__titre, .etape > legend { display: flex; align-items: center; gap: .75rem; padding: 0; margin-bottom: 1rem; font-weight: 800; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-stretch: 82%; text-transform: uppercase; line-height: 1.1; }
.etape__num { display: inline-grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--tomate-f); color: #fff; font-size: 1rem; font-stretch: 100%; flex: none; }
.aide { font-size: .9375rem; color: var(--encre-doux); margin: -.4rem 0 1rem; }
.sous-legende { font-weight: 700; margin: 0 0 .6rem; padding: 0; font-size: 1rem; }
.sous-groupe { border: 0; margin: 1.5rem 0 0; padding: 0; min-width: 0; }
/* calendrier */
.calendrier { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .4rem; }
.calendrier__jour-sem { text-align: center; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-doux); padding-bottom: .2rem; }
.case-jour { position: relative; }
.case-jour input, .puce input { position: absolute; z-index: 1; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.case-jour label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 3.6rem; padding: .3rem .1rem;
  border: 2px solid var(--encre); border-radius: .8rem; background: var(--papier); font-weight: 800; font-size: 1.2rem; line-height: 1; cursor: pointer;
  font-variant-numeric: tabular-nums; transition: transform var(--t-press) var(--ease-out);
}
.case-jour__mois { font-size: .6875rem; font-weight: 700; text-transform: uppercase; margin-top: .2rem; letter-spacing: .04em; }
@media (hover: hover) and (pointer: fine) { .case-jour input:not(:disabled):hover + label { transform: translateY(-2px); background: #fff; } }
.case-jour input:not(:disabled):active + label { transform: scale(.97); }
.case-jour input:checked + label { background: var(--tomate-f); color: #fff; box-shadow: .2rem .2rem 0 var(--encre); }
.case-jour input:focus-visible + label { outline: 3px solid var(--encre); outline-offset: 2px; }
.case-jour input:disabled { cursor: not-allowed; }
.case-jour input:disabled + label { background: transparent; border-style: dashed; border-color: rgb(38 18 29 / .4); color: var(--encre-doux); cursor: not-allowed; transform: none; }
.case-jour input:disabled + label .case-jour__mois::after { content: ""; }
.case-jour--vide { visibility: hidden; }
.legende-cal { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .8rem; font-size: .875rem; color: var(--encre-doux); }
.legende-cal span { display: inline-flex; align-items: center; gap: .4rem; }
.legende-cal i { width: 1rem; height: 1rem; border-radius: .3rem; border: 2px dashed rgb(38 18 29 / .5); }
.legende-cal i.sel { background: var(--tomate-f); border: 2px solid var(--encre); }
/* puces (service, heure, couverts) */
.puces { display: flex; flex-wrap: wrap; gap: .45rem; }
.puce { position: relative; }
.puce label {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-width: 3rem; min-height: 2.9rem; padding: .45rem 1rem;
  border: 2px solid var(--encre); border-radius: var(--r-pilule); background: var(--papier); font-weight: 700; cursor: pointer; font-variant-numeric: tabular-nums;
  transition: transform var(--t-press) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .puce input:not(:disabled):hover + label { background: #fff; } }
.puce input:not(:disabled):active + label { transform: scale(.97); }
.puce input:checked + label { background: var(--encre); color: var(--creme); }
.puce input:focus-visible + label { outline: 3px solid var(--tomate-f); outline-offset: 2px; }
.puces--service .puce label { min-height: 3.4rem; padding-inline: 1.4rem; font-size: 1.0625rem; }
.puces--service .puce small { font-weight: 500; font-size: .8125rem; }
.puces--couverts .puce label { width: 3.2rem; height: 3.2rem; padding: 0; border-radius: 50%; font-size: 1.15rem; font-weight: 800; }
.puces--couverts .puce input:checked + label { background: var(--safran); color: var(--encre); box-shadow: .2rem .2rem 0 var(--encre); }
.heures-vide { padding: .9rem 1rem; border: 2px dashed rgb(38 18 29 / .45); border-radius: .8rem; color: var(--encre-doux); margin: 0; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.champ { display: grid; gap: .4rem; align-content: start; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ__label { font-weight: 700; }
.champ__opt { font-weight: 500; color: var(--encre-doux); }
.champ input[type="text"], .champ input[type="tel"], .champ input[type="email"], .champ textarea {
  width: 100%; min-height: 3.1rem; padding: .7rem .95rem; border: 2px solid var(--encre); border-radius: .8rem; background: var(--papier);
}
.champ textarea { min-height: 7rem; resize: vertical; }
.champ input:focus-visible, .champ textarea:focus-visible { outline: 3px solid var(--tomate-f); outline-offset: 1px; box-shadow: .2rem .2rem 0 var(--encre); }
.champ [aria-invalid="true"] { border-color: var(--tomate-f); border-width: 3px; background: #FFF4F1; }
.coche { display: flex; align-items: flex-start; gap: .7rem; font-weight: 600; cursor: pointer; }
.coche input { width: 1.4rem; height: 1.4rem; margin: .1rem 0 0; accent-color: var(--tomate-f); flex: none; }
@media (max-width: 37.49rem) { .champs { grid-template-columns: 1fr; } }
.erreur { display: flex; align-items: flex-start; gap: .45rem; margin: .5rem 0 0; color: var(--tomate-f); font-weight: 700; font-size: .9375rem; }
.erreur::before { content: "!"; display: inline-grid; place-items: center; flex: none; width: 1.25rem; height: 1.25rem; margin-top: .1rem; border-radius: 50%; background: var(--tomate-f); color: #fff; font-size: .8125rem; font-weight: 800; }
.erreur a { color: inherit; }
.resume-erreurs { padding: 1rem 1.25rem; border: 3px solid var(--tomate-f); border-radius: var(--r); background: #FFF4F1; }
.resume-erreurs h2 { font-size: 1.15rem; color: var(--tomate-f); margin-bottom: .4rem; }
.resume-erreurs ul { list-style: disc; padding-left: 1.25rem; }
.resume-erreurs a { color: var(--tomate-f); font-weight: 700; }
.envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.envoi p { margin: 0; font-size: .9375rem; color: var(--encre-doux); max-width: 22rem; }
html:not([data-js]) .formulaire, html:not([data-js]) .resa-recap { display: none; }
.sans-js { padding: 1.5rem; border: 2px dashed var(--encre); border-radius: var(--r); background: var(--papier); font-size: 1.125rem; }

/* récapitulatif façon ticket de commande */
.resa-recap { position: sticky; top: calc(var(--h-bandeau, 0px) + var(--entete-h) + 1.5rem); }
@media (max-width: 59.99rem) { .resa-recap { position: relative; top: auto; } }
.bon {
  position: relative; background: var(--papier); border: 2px solid var(--encre); border-radius: 1rem 1rem 0 0; padding: 1.5rem 1.5rem 2rem;
  box-shadow: var(--ombre-dure);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent .5rem, #000 .55rem) 0 100% / 1.4rem 1rem repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - .95rem) no-repeat;
          mask: radial-gradient(circle at 50% 100%, transparent .5rem, #000 .55rem) 0 100% / 1.4rem 1rem repeat-x, linear-gradient(#000, #000) 0 0 / 100% calc(100% - .95rem) no-repeat;
}
.bon__tete { display: flex; flex-direction: column; gap: .2rem; border-bottom: 2px dashed var(--encre); padding-bottom: .8rem; margin-bottom: .6rem; }
.bon__tete h2, .bon__tete h3 { font-size: 1.5rem; font-stretch: 80%; text-transform: uppercase; }
.bon__tete > span { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-doux); }
.bon dl { margin: 0; }
.bon dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; border-bottom: 1.5px dotted rgb(38 18 29 / .35); }
.bon dt { color: var(--encre-doux); font-weight: 600; }
.bon dd { margin: 0; font-weight: 800; text-align: right; }
.bon dd.vide { color: var(--encre-doux); font-weight: 500; }
.bon__heure { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin: .2rem 0 .4rem; }
.bon__heure-val { font-weight: 800; font-stretch: 75%; font-size: 2.6rem; line-height: 1; font-variant-numeric: tabular-nums; color: var(--tomate-f); }
.bon__heure-val.vide { font-size: 1.25rem; font-stretch: 100%; font-weight: 600; color: var(--encre-doux); }
.bon__heure-lib { font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--encre-doux); }
.bon__note { font-size: .875rem; color: var(--encre-doux); margin-top: 1rem; }

.bon__deco { width: 5.5rem; position: absolute; z-index: 1; right: -.25rem; top: -.9rem; transform: rotate(18deg); }
@media (max-width: 47.99rem) { .bon__deco { right: -.25rem; width: 4rem; } }
.succes { text-align: left; display: grid; gap: 1rem; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border: 2px solid var(--encre); border-radius: 1.5rem; background: var(--pistache); box-shadow: var(--ombre-dure); }
.succes:focus-visible { outline: 3px solid var(--encre); outline-offset: 4px; }
.succes__titre { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.75rem); font-stretch: 75%; text-transform: uppercase; line-height: .9; }
.succes__texte { font-size: 1.2rem; font-weight: 600; }
.succes__demo { padding: .8rem 1rem; border-radius: .8rem; background: var(--papier); border: 2px dashed var(--encre); font-size: .9375rem; }
.succes .btn { justify-self: start; }

/* plan */
.venir { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (max-width: 53.99rem) { .venir { grid-template-columns: 1fr; } }
.moyens li { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1rem 0; border-top: 2px solid var(--encre); }
.moyens li:last-child { border-bottom: 2px solid var(--encre); }
.moyens__ico { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: grid; place-items: center; background: var(--safran); border: 2px solid var(--encre); }
.moyens strong { display: block; }
.plan { margin: 0; border: 2px solid var(--encre); border-radius: 1.5rem; overflow: hidden; box-shadow: var(--ombre-dure); background: #F7E2C2; }
.plan svg { width: 100%; height: auto; }
.plan text { font-family: var(--f-texte); font-weight: 800; }
.plan figcaption { padding: .7rem 1rem; border-top: 2px solid var(--encre); background: var(--papier); font-size: .875rem; font-weight: 600; }

/* questions */
.faq { max-width: 56rem; }
.faq details { border-top: 2px solid var(--encre); }
.faq details:last-child { border-bottom: 2px solid var(--encre); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; cursor: pointer; list-style: none; font-weight: 800; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 2px solid var(--encre); font-size: 1.4rem; line-height: 1; transition: transform 200ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--safran); }
.faq__rep { padding: 0 3rem 1.4rem 0; max-width: 44rem; }

/* mentions */
.legal { max-width: 48rem; }
.legal h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); font-stretch: 85%; margin: 2.5rem 0 .75rem; }
.legal dl { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.5rem; }
.legal dt { font-weight: 700; }
.legal dd { margin: 0; }
.encadre { padding: 1.25rem 1.5rem; border: 2px solid var(--encre); border-radius: var(--r); background: var(--safran); box-shadow: var(--ombre-dure); }
@media (max-width: 37.49rem) { .legal dl { grid-template-columns: 1fr; gap: .1rem; } .legal dd { margin-bottom: .6rem; } }

/* ---------- mouvements ---------- */
/* Entrées : 300 ms au plus, courbe de sortie forte, transform et opacity seulement.
   Décalage non uniforme entre éléments : 35·d + 5·d² ms, soit 40, 90, 150, 220 ms (écarts de 40 à 70 ms). */
@media (prefers-reduced-motion: no-preference) {
  html[data-js][data-motion="full"] [data-reveal] { --decal: calc(var(--d, 0) * 35ms + var(--d, 0) * var(--d, 0) * 5ms); transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out); transition-delay: var(--decal); }
  html[data-js][data-motion="full"] [data-reveal]:not(.est-visible) { opacity: 0; transform: translateY(1rem); }
  html[data-js][data-motion="full"] .une [data-entree] { animation: entree 300ms var(--ease-out) both; animation-delay: calc(30ms + var(--d, 0) * 35ms + var(--d, 0) * var(--d, 0) * 5ms); }
  html[data-js][data-motion="full"] .une__visuel .une__assiette { animation: assiette 300ms var(--ease-out) both 60ms; }
  html[data-js][data-motion="full"] .tete-page [data-entree] { animation: entree 300ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 35ms + var(--d, 0) * var(--d, 0) * 5ms); }
  /* panneau d'onglet affiché à la souris ou au doigt (pas au clavier : voir carte.js) */
  html[data-js][data-motion="full"] .rubrique.entre { animation: entree 220ms var(--ease-out) both; }
}
@keyframes entree { from { opacity: 0; transform: translateY(.75rem); } }
@keyframes assiette { from { opacity: 0; transform: rotate(-24deg) scale(.94); } }
html[data-motion="reduce"] .flotte, html[data-motion="reduce"] .ruban__piste, html[data-motion="reduce"] .tampon svg { transform: rotate(var(--rot, 0deg)); }
html[data-motion="reduce"] .ruban__piste { transform: translateX(var(--base, -10%)); }
html[data-motion="reduce"] *, html[data-motion="reduce"] *::before, html[data-motion="reduce"] *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* transitions de page (View Transitions entre documents, quand le navigateur les gère) */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
::view-transition-old(root) { animation: vt-sortie 180ms var(--ease-out) both; }
::view-transition-new(root) { animation: vt-entree 300ms var(--ease-out) both; }
::view-transition-group(entete) { animation-duration: 0s; }
@keyframes vt-sortie { to { opacity: 0; transform: translateY(-.75rem); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(1.25rem); } }
html.vt-onglet::view-transition-old(root) { animation: vt-fondu 150ms var(--ease-out) both; }
html.vt-onglet::view-transition-new(root) { animation: vt-fondu 220ms var(--ease-out) both reverse; }
@keyframes vt-fondu { to { opacity: 0; } }

/* ---------- couleurs forcées ---------- */
@media (forced-colors: active) {
  .btn, .onglet, .filtre, .puce label, .case-jour label, .statut, .pastille, .menu-bouton { border: 2px solid ButtonText; }
  .onglet[aria-selected="true"], .filtre[aria-pressed="true"], .puce input:checked + label, .case-jour input:checked + label { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .case-jour input:disabled + label { color: GrayText; border-color: GrayText; }
  .interrupteur__piste, .interrupteur__piste::after { border: 2px solid ButtonText; }
  .interrupteur[aria-pressed="true"] .interrupteur__piste::after { background: Highlight; }
  .filtre[aria-pressed="true"] .filtre__case .ico { opacity: 1; }
  .disque, .rubrique__disque::before, .ruban, .flotte, .tampon { forced-color-adjust: auto; }
  .bon { -webkit-mask: none; mask: none; }
  :focus-visible { outline-color: Highlight !important; }
  /* M3 : la barre de contact et ses boutons restent délimités */
  .barre-contact, .barre-contact a, .filtres__bouton { border: 1px solid CanvasText; }
  .btn::after { display: none; }
  .onglets__calque { display: none; }
  .onglets.a-calque .onglet[aria-selected="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; }
  .bandeau-haut a { forced-color-adjust: auto; }
}

/* ---------- impression ---------- */
@media print {
  .entete, .barre-contact, .rubans, .flotte, .tampon, .outils, .pied__mot, .interrupteur { display: none !important; }
  body { background: #fff; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
.filtres__boutons { display: flex; flex-wrap: wrap; gap: .35rem; }
.une__titre { font-size: clamp(3.5rem, .5rem + 8.6vw, 9.25rem); }
.une__titre .ligne { white-space: nowrap; }
@media (max-width: 61.99rem) { .une__titre { font-size: clamp(3.5rem, 18.5vw, 7.5rem); } .une__titre .ligne { white-space: normal; } }
/* utilitaires */
.c-safran { color: var(--safran); }
.mt-15 { margin-top: 1.5rem; }
.my-15 { margin-block: 1.5rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-25 { margin-bottom: 2.5rem; }
.sec__intro { max-width: 34rem; margin: 0; }
.filet-haut { border-top: 2px solid var(--encre); }
.aide--champ { margin: 0; }
.aide--coche { margin-left: 2.1rem; }
.citation { margin: 0; }
.citation__guillemet { grid-row: 1 / span 2; }
.citation blockquote, .citation figcaption { grid-column: 2; }
@media (max-width: 37.49rem) { .citation__guillemet { grid-row: auto; } .citation blockquote, .citation figcaption { grid-column: 1; } }
.pied__contacts { margin-top: .8rem; }
.ruban--2 .ruban__piste { --base: -40%; }

/* Onglets de la carte : dégradé à droite pour montrer que la rangée défile (petits écrans) */
@media (max-width: 47.99rem) {
  .onglets { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}
