/* Maison Marée : accueil (français et anglais).
   Palette « Nacre », Cormorant Garamond pour les titres, Albert Sans pour le texte. Une seule idée : la photographie.
   Aucune capitale sauf le logo, aucune flèche, aucune carte, aucune ombre, aucun arrondi sur les photos. */

/* Repli ajusté d'Albert Sans : tant que la police arrive, le texte garde les mêmes largeurs de ligne et la même hauteur (pas de décalage).
   Mesures Chromium sur le texte de la page : Albert Sans = Arial x 1,02 (soit size-adjust 102 %), Roboto x 0,88 (soit 114 %) ;
   métriques verticales d'Albert Sans : ascendante 950, descendante 250, interligne 0 sur 1000, divisées par size-adjust. */
@font-face { font-family: "Albert Sans Repli"; font-weight: 300 500; src: local("Arial"), local("ArialMT"), local("Helvetica Neue"), local("Helvetica"), local("Liberation Sans"), local("Arimo"); size-adjust: 102%; ascent-override: 93.1%; descent-override: 24.5%; line-gap-override: 0%; }
@font-face { font-family: "Albert Sans Repli Roboto"; font-weight: 300 500; src: local("Roboto"); size-adjust: 114%; ascent-override: 83.3%; descent-override: 21.9%; line-gap-override: 0%; }

:root {
  --nacre: #EEF0EE;
  --encre: #14222B;
  --doux: #4E5E66;
  --filet: #CBD3D2;
  --reflet: #7E9AA4;
  --bande: #14222B;
  --noir: #0C0D0E;

  --f-titre: "Cormorant Garamond", "Cormorant Garamond Repli", Georgia, "Times New Roman", serif;
  --f-texte: "Albert Sans", "Albert Sans Repli", "Albert Sans Repli Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* rôles de couleur, redéfinis dans les chapitres sombres */
  --tx: var(--encre);
  --tx2: var(--doux);
  --ligne: var(--filet);
  --leg: var(--doux);
  --focus: var(--encre);

  --g: 20px;                 /* gouttière */
  --cmax: 1520px;            /* largeur maximale du contenu */
  --m: max(var(--g), calc((100vw - var(--cmax)) / 2));   /* l'axe de gauche : marque, titre d'ouverture, titres, photos */
  --mh: var(--m);            /* marge de gauche de l'ouverture (réduite sur les écrans 4:3) */
  --pad: 72px;               /* blanc au-dessus et au-dessous d'un chapitre */
  --hh: 56px;                /* hauteur de l'en-tête */
  --s3: 24px; --s4: 40px; --s5: 64px; --s6: 96px;
}
@media (min-width: 600px) { :root { --g: 32px; --pad: 96px; } }
@media (min-width: 960px) { :root { --g: clamp(40px, 5.2vw, 96px); --pad: clamp(96px, 8vw, 132px); --hh: 72px; --s5: 72px; } }

/* composition « bureau » de l'ouverture : photo 2:1 plein cadre, plat à droite, titre sur le noir à gauche.
   --H hauteur de l'ouverture ; --W largeur du contenu de la photo (cover calé à droite) ;
   --zone largeur de noir franc depuis le bord gauche de l'écran (49 % de la photo, mesuré au pire pixel) */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  :root {
    --H: max(100vh, 540px);
    --H: max(100svh, 540px);
    --W: max(100vw, calc(2 * var(--H)));
    --zone: calc(100vw - 0.49 * var(--W));
    --bas: clamp(24px, 4.2svh, 48px);
  }
}
@media (min-width: 960px) and (min-aspect-ratio: 5/4) and (max-aspect-ratio: 7/5) { :root { --mh: 32px; } }

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--hh) + 16px); background: var(--nacre); }
html.menu-actif { overflow: hidden; }
body { margin: 0; background: var(--nacre); color: var(--tx); font: 400 1.0625rem/1.62 var(--f-texte); font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, ul, ol, figure, address, fieldset, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
::selection { background: var(--encre); color: var(--nacre); }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.evitement { position: fixed; left: 12px; top: -120px; z-index: 200; padding: 14px 20px; background: var(--encre); color: var(--nacre); font: 500 0.9375rem/1 var(--f-texte); text-decoration: none; }
.evitement:focus { top: 12px; outline-color: var(--nacre); }
main:focus { outline: none; }

/* ───────── Éléments communs ───────── */
.cadre { padding-inline: var(--m); }
.chapitre { padding-block: var(--pad); }
.chapitre--sombre { background: var(--bande); color: var(--nacre); --tx: var(--nacre); --tx2: var(--filet); --ligne: rgba(238, 240, 238, .22); --leg: var(--reflet); --focus: var(--nacre); }

.t2 { font: 400 clamp(2.375rem, 1.45rem + 2.9vw, 4rem)/1.05 var(--f-titre); letter-spacing: -.012em; color: var(--tx); text-wrap: balance; }
.chap { font: italic 400 clamp(1.375rem, 1.2rem + .5vw, 1.625rem)/1.2 var(--f-titre); color: var(--tx); }
.texte { max-width: 34em; font: 400 clamp(1.0625rem, 1rem + .15vw, 1.125rem)/1.62 var(--f-texte); color: var(--tx2); }
.intro { margin-top: var(--s3); }
.note { margin-top: 14px; font: 400 0.875rem/1.5 var(--f-texte); color: var(--tx2); }
.suite { margin-top: var(--s5); }
.prix { font: 500 clamp(1.375rem, 1.2rem + .5vw, 1.625rem)/1.15 var(--f-titre); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum", "tnum"; color: var(--tx); white-space: nowrap; }
.legende { margin-top: 12px; font: 400 0.8125rem/1.4 var(--f-texte); color: var(--leg); }

.lien { font-weight: 500; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .32em; }
.lien:hover { text-decoration-thickness: 2px; }

.bouton { --fond: var(--encre); --texte: var(--nacre); display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; background: var(--fond); color: var(--texte); border: 1px solid var(--fond); font: 500 1rem/1 var(--f-texte); letter-spacing: .01em; text-decoration: none; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.bouton:hover { background: transparent; color: var(--fond); }
.chapitre--sombre .bouton { --fond: var(--nacre); --texte: var(--encre); }

/* ───────── En-tête ───────── */
.entete { position: sticky; top: 0; z-index: 60; background: var(--nacre); color: var(--encre); transition: background-color .3s ease, color .3s ease, box-shadow .3s ease; }
.entete.est-fixe { box-shadow: 0 1px 0 var(--filet); }
.entete__gauche { display: flex; align-items: center; gap: 20px; min-height: var(--hh); padding-inline: var(--g); }
.marque { position: relative; z-index: 2; margin-right: auto; font: 400 0.7812rem/1 var(--f-texte); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; color: inherit; white-space: nowrap; }
.marque--pied { margin: 0; letter-spacing: .32em; }
.langue { position: relative; z-index: 2; display: flex; gap: 6px; font: 500 0.875rem/1 var(--f-texte); }
.langue a { display: block; padding: 15px 6px; text-decoration: none; }
.langue a[aria-current], .langue a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .55em; }
.menu-bouton:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .4em; }
.menu-bouton { position: relative; z-index: 2; display: none; min-height: 44px; padding: 0 2px; background: none; border: 0; font: 500 0.875rem/1 var(--f-texte); letter-spacing: .02em; cursor: pointer; }
html.js .menu-bouton { display: block; }
.entete.menu-ouvert { background: var(--nacre); color: var(--encre); --focus: var(--encre); }

/* menu : page claire pleine hauteur avec de grands liens (téléphone, et bureau tant que l'en-tête est sur la photo) */
.menu { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4); padding: calc(var(--hh) + 36px) var(--g) 48px; background: var(--nacre); color: var(--encre); overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
.menu.est-ouvert { visibility: visible; opacity: 1; transition: opacity .25s ease; }
.menu__corps { display: grid; justify-items: start; gap: var(--s4); }
.menu__liens { display: grid; gap: 6px; }
.menu__liens a { font: 300 clamp(2.5rem, 10vw, 3.75rem)/1.1 var(--f-titre); letter-spacing: -.01em; text-decoration: none; }
.menu__liens a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .12em; }
.menu__infos { display: grid; gap: 20px; font: 400 1rem/1.6 var(--f-texte); color: var(--doux); }
.menu__infos a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
@media (min-width: 960px) {
  .menu { flex-direction: row; gap: clamp(48px, 8vw, 128px); padding-inline: var(--m); }
  .menu__corps { width: min(40vw, 560px); }
  .menu__infos { padding-top: .9rem; }
}

/* sans JavaScript : barre simple, liens en ligne, rien de caché */
html:not(.js) .entete__in { display: flex; flex-wrap: wrap; align-items: center; padding-block: 8px; }
html:not(.js) .entete__gauche { flex: 1 1 auto; min-height: 0; }
html:not(.js) .menu { position: static; flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding: 0 var(--g) 8px; background: none; visibility: visible; opacity: 1; overflow: visible; }
html:not(.js) .menu__corps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; width: auto; }
html:not(.js) .menu__liens { display: flex; flex-wrap: wrap; gap: 4px 22px; }
html:not(.js) .menu__liens a { font: 500 0.9375rem/1.6 var(--f-texte); }
html:not(.js) .menu__resa { min-height: 44px; padding-inline: 20px; font-size: 0.9375rem; }
html:not(.js) .entete__gauche { padding-inline: var(--g); }
html:not(.js) .menu__infos { display: none; }

/* ───────── Ouverture : composition téléphone (par défaut) ───────── */
.ouverture { position: relative; background: var(--nacre); color: var(--encre); }
.ouverture__cadre { position: relative; overflow: hidden; background: var(--noir); }
.ouverture picture { display: block; }
.ouverture__img { display: block; width: 100%; max-width: none; height: min(100vw, 40vh); height: min(100vw, 40svh); object-fit: cover; object-position: 50% 50%; }
.mention { padding: 10px var(--g) 0; font: 400 0.8125rem/1.3 var(--f-texte); color: var(--doux); }
.ouverture__texte { padding: 22px var(--g) 40px; }
.titre { font: 300 clamp(2.5rem, 15.5vw, 4.5rem)/.98 var(--f-titre); letter-spacing: -.015em; color: var(--encre); }
.titre__ligne { display: block; }
.sous-titre { margin-top: 18px; max-width: 26rem; font: 400 1.0625rem/1.55 var(--f-texte); color: var(--doux); text-wrap: balance; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 26px; }
@media (max-width: 400px) { .actions { gap: 14px 22px; } .ouverture .bouton { padding-inline: 22px; } }
@media (min-width: 600px) { .ouverture__texte { padding-block: 30px 56px; } .ouverture__img { height: min(100vw, 52vh); height: min(100vw, 52svh); } }

/* bouton flottant du téléphone : il prend le relais du bouton d'ouverture quand celui-ci sort de l'écran */
.flottant { display: none; }
@media (max-width: 959px), (not (min-aspect-ratio: 5/4)) {
  html.js .flottant { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; display: inline-flex; align-items: center; min-height: 52px; padding: 0 36px; background: var(--encre); color: var(--nacre); box-shadow: 0 0 0 1px rgba(238, 240, 238, .55); font: 500 1rem/1 var(--f-texte); letter-spacing: .01em; text-decoration: none; visibility: hidden; opacity: 0; transform: translate(-50%, 20px); transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s; }
  html.js .flottant.est-visible { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition: opacity .3s ease, transform .3s ease; }
  html.js .flottant:focus-visible { outline: 0; box-shadow: 0 0 0 2px var(--nacre), 0 0 0 4px var(--encre); }
  body:has(.demo-pastille) .flottant { bottom: calc(max(16px, env(safe-area-inset-bottom)) + 62px); }
}

/* ───────── Ouverture : composition bureau ───────── */
@media (min-width: 960px) and (min-aspect-ratio: 5/4) {
  .ouverture { height: var(--H); background: var(--noir); color: var(--nacre); --focus: var(--nacre); overflow: hidden; }
  .ouverture__photo { position: absolute; inset: 0; }
  .ouverture__cadre { position: absolute; inset: 0; }
  .ouverture__img { position: absolute; top: 0; right: 0; bottom: 0; margin-block: auto; width: var(--W); height: auto; object-fit: fill; }
  .mention { position: absolute; left: var(--mh); bottom: var(--bas); padding: 0; font-size: 0.7812rem; color: var(--nacre); }
  .ouverture__texte { position: absolute; left: var(--mh); bottom: calc(var(--bas) + 44px); width: calc(var(--zone) - var(--mh)); padding: 0; container-type: inline-size; }
  .titre { font-size: clamp(2.25rem, min(calc(100cqw / 4.45), 16vh), 9rem); font-size: clamp(2.25rem, min(calc(100cqw / 4.45), 16svh), 9rem); color: var(--nacre); }
  .sous-titre { margin-top: clamp(14px, 2.2svh, 24px); max-width: none; font-size: clamp(16px, 1.2vw, 21px); font-weight: 300; line-height: 1.5; color: var(--nacre); }
  .actions { margin-top: clamp(20px, 3.4svh, 36px); }
  .ouverture .bouton { --fond: var(--nacre); --texte: var(--encre); }
  .ouverture .lien { color: var(--nacre); }

  /* en-tête sur la photo : une grappe à gauche (marque, langue, Menu), sur le noir. Dès qu'on défile elle ne bouge pas :
     seuls le fond passe au Nacre et, à droite, les liens en ligne et Réserver apparaissent (aucun décalage de mise en page) */
  .entete { position: fixed; left: 0; right: 0; top: 0; background: transparent; color: var(--nacre); --focus: var(--nacre); }
  .entete__gauche { width: var(--zone); min-height: var(--hh); padding: 20px 0 0 var(--mh); gap: 2px 28px; flex-wrap: wrap; align-content: flex-start; container-type: inline-size; }
  .marque { margin-right: 0; }
  .menu-bouton { min-height: 31px; padding: 8px 2px; }
  .langue a { padding: 8px 6px; }
  .entete.est-fixe { background: var(--nacre); color: var(--encre); --focus: var(--encre); }
  .entete.est-fixe .menu-bouton { visibility: hidden; }
  .entete.est-fixe .menu { position: absolute; top: 0; right: var(--m); bottom: auto; left: auto; width: auto; height: var(--hh); flex-direction: row; align-items: center; gap: 36px; padding: 0; background: none; color: inherit; visibility: visible; opacity: 1; overflow: visible; transition: none; }
  .entete.est-fixe .menu__corps { display: flex; align-items: center; gap: 36px; width: auto; }
  .entete.est-fixe .menu__liens { display: flex; gap: 32px; }
  .entete.est-fixe .menu__liens a { font: 500 0.9375rem/1 var(--f-texte); letter-spacing: .01em; }
  .entete.est-fixe .menu__liens a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .5em; }
  .entete.est-fixe .menu__resa { min-height: 44px; padding-inline: 22px; font-size: 0.9375rem; }
  .entete.est-fixe .menu__infos { display: none; }
  /* menu fermé : jamais de transition sur bureau, sinon le retour en haut (est-fixe retiré) rejoue en fondu inversé le menu plein écran ;
     la fermeture douce du menu ouvert garde son fondu grâce à .ferme-doux (posé par accueil.js le temps de la fermeture) */
  .menu:not(.est-ouvert) { transition: none; }
  .menu.ferme-doux:not(.est-ouvert) { transition: opacity .25s ease, visibility 0s linear .25s; }
  html:not(.js) .entete { position: static; background: var(--nacre); color: var(--encre); }
  html:not(.js) .entete__gauche { width: auto; padding: 0 var(--m); }
  html:not(.js) .entete__in { flex-wrap: nowrap; padding: 0; }
  html:not(.js) .entete__gauche { flex: 0 0 auto; min-height: var(--hh); container-type: normal; flex-wrap: nowrap; align-items: center; align-content: normal; gap: 20px; }
  html:not(.js) .menu { flex: 1 1 auto; justify-content: flex-end; padding: 0 var(--m) 0 0; }
  html:not(.js) .menu__liens { justify-content: flex-end; }
  html:not(.js) .ouverture { height: calc(var(--H) - var(--hh)); min-height: 460px; }
}
@container (max-width: 330px) { .marque { flex-basis: 100%; } }

/* ───────── Animation d'arrivée : la photo se pose (première visite de la session, jamais en mouvement réduit) ───────── */
@media (prefers-reduced-motion: no-preference) {
  html.pose .ouverture__img { animation: pose 2.2s cubic-bezier(.25, .55, .3, 1) both; transform-origin: 75% 50%; }
  html.pose .ouverture__texte { animation: titre-apparait .9s ease 2.8s both; }
}
@keyframes pose { from { transform: scale(1.08); filter: brightness(.75); } to { transform: scale(1); filter: brightness(1); } }
/* le bloc titre n'est ni visible ni actif (clavier, clic) tant qu'il n'apparaît pas : visibility passe à visible dès le début du fondu */
@keyframes titre-apparait { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
@media (max-width: 959px), (not (min-aspect-ratio: 5/4)) { html.pose .ouverture__img { transform-origin: 50% 50%; } }

/* ───────── Photos : portraits 4:5 avec marges, bandes plein bord ───────── */
.portrait { max-width: 560px; }
.portrait__img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.bande__img { width: 100%; height: min(75vw, 60vh); height: min(75vw, 60svh); object-fit: cover; }
@media (min-width: 960px) { .bande__img { height: min(45.5vw, 70vh); height: min(45.5vw, 70svh); } }
.bande--produits .bande__img { object-position: 62% 62%; }
.bande--salle .bande__img { object-position: 33% 55%; }
.bande .legende { padding-top: 0; }

/* ───────── Duo : photo et texte ───────── */
.duo { display: grid; gap: var(--s4); }
.duo--b .portrait { order: -1; }
.duo__texte { max-width: 36rem; }
.duo__texte > .t2 { margin-top: -.14em; }
.principes { display: grid; gap: 32px; margin-top: var(--s4); }
.principe .chap { margin-bottom: 8px; }
@media (min-width: 960px) {
  .duo { align-items: start; column-gap: clamp(48px, 8vw, 128px); }
  /* un seul second axe : la colonne de texte commence au même endroit dans les duos, la salle, la réservation et les infos */
  .duo--a, .salle__texte, .reserver__in, .infos__in { grid-template-columns: min(40vw, 560px) minmax(0, 1fr); column-gap: clamp(48px, 8vw, 128px); align-items: start; }
  .duo--b { grid-template-columns: minmax(0, 40rem) min(40vw, 560px); justify-content: space-between; }
  .duo--b .portrait { order: 0; }
  .duo--b .duo__texte { max-width: 40rem; }
  .principes { margin-top: var(--s5); }
}

/* ───────── Produits : chapitre sombre ───────── */
.produits .bande { margin-top: var(--s5); }
.rangees { margin-top: var(--s5); border-top: 1px solid var(--ligne); }
.rangee { display: grid; gap: 8px 40px; padding-block: 28px; border-bottom: 1px solid var(--ligne); }
@media (min-width: 960px) { .rangee { grid-template-columns: 20rem minmax(0, 36rem); } .rangee .chap { padding-top: .1em; } }
.produits .legende { margin-top: 14px; }

/* ───────── Carte du moment ───────── */
.plats { margin-top: var(--s4); border-top: 1px solid var(--ligne); }
.plat { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 2px 24px; padding-block: 24px; border-bottom: 1px solid var(--ligne); }
.plat__chap { grid-column: 1 / -1; }
.plat__corps { min-width: 0; }
.plat__nom { font: 500 clamp(1.5rem, 1.25rem + .8vw, 1.875rem)/1.15 var(--f-titre); color: var(--tx); }
.plat__nom a { text-decoration: none; }
.plat__nom a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.plat .texte { margin-top: 6px; font-size: 1rem; line-height: 1.55; }
.plat__prix { grid-column: 2; grid-row: 2; display: grid; justify-items: end; align-content: start; gap: 2px; text-align: right; }
.plat__saison { font: 400 0.8125rem/1.3 var(--f-texte); color: var(--tx2); white-space: nowrap; }
@media (min-width: 960px) {
  .plat { grid-template-columns: 6.5rem minmax(0, 1fr) auto; gap: 0 24px; }
  .plat__chap { grid-column: auto; }
  .plat__prix { grid-column: auto; grid-row: auto; }
}

/* ───────── Menus dégustation ───────── */
.menu-lignes { margin-top: var(--s4); border-top: 1px solid var(--ligne); }
.menu-ligne { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: baseline; gap: 4px 24px; padding-block: 26px; border-bottom: 1px solid var(--ligne); }
.menu-ligne__nom { font: 400 clamp(1.875rem, 1.4rem + 1.6vw, 2.625rem)/1.1 var(--f-titre); letter-spacing: -.005em; color: var(--tx); }
.menu-ligne__nom a { text-decoration: none; }
.menu-ligne__nom a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; }
.menu-ligne__services { font: 400 0.9375rem/1.3 var(--f-texte); color: var(--tx2); white-space: nowrap; }
.menu-ligne__texte { grid-column: 1 / -1; margin-top: 8px; font-size: 1rem; line-height: 1.55; }

/* ───────── Salle et terrasse ───────── */
.salle { padding-top: 0; }
.salle__texte { display: grid; gap: var(--s3) clamp(48px, 8vw, 128px); margin-top: var(--s5); }


/* ───────── Réservation rapide ───────── */
.reserver__in { display: grid; gap: var(--s5) clamp(48px, 8vw, 128px); }
.reserver__texte .texte { margin-top: var(--s3); }

.rapide { display: grid; gap: 36px; }
.rapide__bloc { min-width: 0; margin: 0; padding: 0; border: 0; }
.rapide__legende { margin-bottom: 16px; padding: 0; font: italic 400 clamp(1.375rem, 1.2rem + .5vw, 1.625rem)/1.2 var(--f-titre); color: var(--nacre); }
.rapide__jours { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rapide__attente { grid-column: 1 / -1; font-size: 1rem; color: var(--filet); }
html.js .rapide__attente { display: none; }
.qd { display: grid; justify-items: start; align-content: space-between; gap: 2px; min-height: 80px; padding: 11px 12px 10px; background: transparent; color: var(--nacre); border: 1px solid rgba(238, 240, 238, .34); font: inherit; text-align: left; cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.qd small { font: 500 0.7812rem/1 var(--f-texte); letter-spacing: .02em; color: var(--filet); }
.qd b { font: 500 1.875rem/1 var(--f-titre); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum", "tnum"; }
.qd span { min-height: 1em; font: 400 0.7812rem/1 var(--f-texte); color: var(--filet); }
@media (max-width: 430px) { .qd { padding-inline: 6px; } }
@media (max-width: 425px) { .qd span { font-size: .75rem; } }
@media (max-width: 413px) { .qd span { font-size: .6875rem; letter-spacing: -.01em; } }
@media (max-width: 380px) { .qd span { font-size: .625rem; letter-spacing: -.02em; } }
@media (max-width: 340px) { .qd { padding-inline: 4px; } .qd span { font-size: .5625rem; } }
.qd:hover:not(:disabled) { background: rgba(238, 240, 238, .12); }
.qd[aria-pressed="true"] { background: var(--nacre); color: var(--encre); border-color: var(--nacre); }
.qd[aria-pressed="true"] small, .qd[aria-pressed="true"] span { color: var(--doux); }
.qd:disabled { opacity: .42; cursor: not-allowed; }
.rapide__ligne { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.pas { display: inline-flex; align-items: center; border: 1px solid rgba(238, 240, 238, .34); }
.pas__b { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; background: none; border: 0; font: 400 1.75rem/1 var(--f-titre); cursor: pointer; transition: background-color .2s ease; }
.pas__b:hover:not([aria-disabled="true"]) { background: rgba(238, 240, 238, .12); }
.pas__b[aria-disabled="true"] { opacity: .35; cursor: default; }
.pas__n { min-width: 2.4ch; text-align: center; font: 500 1.75rem/1 var(--f-titre); font-variant-numeric: lining-nums tabular-nums; font-feature-settings: "lnum", "tnum"; }
.rapide__cv { font: 400 1.0625rem/1 var(--f-texte); color: var(--filet); }
html:not(.js) .pas, html:not(.js) .rapide__cv { display: none; }

/* ───────── Adresse et horaires ───────── */
.infos__in { display: grid; gap: var(--s5) clamp(48px, 8vw, 128px); }

.etat { margin-top: var(--s4); display: grid; gap: 4px; }
.infos__tete .bloc-info { margin-top: var(--s5); }
.infos__blocs, .rapide { max-width: 40rem; }
.etat__titre { display: flex; align-items: center; gap: 12px; font: 500 1.125rem/1.3 var(--f-texte); color: var(--tx); }
.etat__point { flex: none; width: 11px; height: 11px; border: 1.25px solid currentColor; border-radius: 50%; }
.etat.is-open .etat__point { background: currentColor; }
.etat__detail { padding-left: 23px; font: 400 1rem/1.5 var(--f-texte); color: var(--tx2); max-width: 30rem; }
.bloc-info { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 4px 20px; padding-block: 28px; border-top: 1px solid var(--ligne); }
.bloc-info:last-child { border-bottom: 1px solid var(--ligne); }
.picto { grid-column: 1; grid-row: 1 / span 2; margin-top: .25em; fill: none; stroke: currentColor; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; color: var(--tx); }
.bloc-info .chap { grid-column: 2; }
.bloc-info__corps { grid-column: 2; margin-top: 6px; font: 400 clamp(1.0625rem, 1rem + .15vw, 1.125rem)/1.62 var(--f-texte); color: var(--tx2); }
.bloc-info__corps .texte { margin: 0; }
.bloc-info__corps a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.bloc-info__corps .suite { margin-top: 20px; }
@media (max-width: 599px) { .picto { grid-row: 1; } .bloc-info__corps { grid-column: 1 / -1; } }
.horaires { width: 100%; border-collapse: collapse; font: 400 1rem/1.45 var(--f-texte); color: var(--tx); }
.horaires th, .horaires td { padding: 7px 12px 7px 0; text-align: left; font-weight: 400; vertical-align: baseline; }
.horaires thead th { padding: 0 12px 10px 0; font-size: 0.8125rem; color: var(--tx2); border-bottom: 1px solid var(--ligne); }
.horaires tbody tr:first-child th, .horaires tbody tr:first-child td { padding-top: 12px; }
.horaires tbody th { width: 36%; }
.horaires__auj { margin-left: 10px; font-size: 0.8125rem; color: var(--tx2); }
.horaires td { white-space: nowrap; }
.horaires tr.est-aujourdhui th, .horaires tr.est-aujourdhui td { font-weight: 600; }
@media (max-width: 599px) {
  .horaires { font-size: 0.9375rem; }
  .horaires th, .horaires td { padding-right: 8px; }
  .horaires tbody th { width: auto; }
  .horaires__auj:not([hidden]) { display: block; margin: 0; font-size: 0.75rem; font-weight: 400; }
}
@media (max-width: 379px) { .horaires { font-size: 0.875rem; } }
@media (max-width: 359px) { .horaires, .horaires th { font-size: 0.875rem; } .horaires th, .horaires td { padding-right: 6px; } }
/* 320 px : les 3 colonnes ne tiennent plus (jour + 2 plages sans coupure) ; chaque jour devient un bloc : jour, puis Midi et Soir côte à côte. */
@media (max-width: 339px) {
  .horaires thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .horaires, .horaires tbody { display: block; }
  .horaires tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 8px; padding: 6px 0; }
  .horaires tbody th { grid-column: 1 / -1; padding: 0 0 2px; }
  .horaires tbody td { padding: 0; }
  .horaires tbody td[colspan] { grid-column: 1 / -1; }
  .horaires tbody td:not([colspan])::before { display: block; font-size: 0.75rem; color: var(--tx2); }
  .horaires tbody td:not([colspan]):nth-child(2)::before { content: "Midi"; }
  .horaires tbody td:not([colspan]):nth-child(3)::before { content: "Soir"; }
  :lang(en) .horaires tbody td:not([colspan]):nth-child(2)::before { content: "Lunch"; }
  :lang(en) .horaires tbody td:not([colspan]):nth-child(3)::before { content: "Dinner"; }
}

/* ───────── Pied de page ───────── */
.pied { padding: var(--s6) var(--m) 40px; background: var(--nacre); border-top: 1px solid var(--filet); color: var(--encre); }
.pied__in { display: grid; gap: 40px 48px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pied__id { grid-column: 1 / -1; }
.pied__tag { margin-top: 14px; color: var(--doux); }
.pied__t { margin-bottom: 10px; font: italic 400 1.375rem/1.2 var(--f-titre); }
.pied__col p + p { margin-top: 12px; }
.pied__col a { text-underline-offset: .25em; text-decoration-thickness: 1px; }
.pied__liens { display: grid; gap: 4px; }
.pied__liens a { text-decoration: none; }
.pied__liens a:hover { text-decoration: underline; }
.pied__bas { display: grid; gap: 10px; max-width: 64rem; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--filet); font: 400 0.875rem/1.55 var(--f-texte); color: var(--doux); }
@media (max-width: 599px) { .pied__in { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 960px) { .pied__in { grid-template-columns: 1.2fr 1fr 1.2fr .8fr; } .pied__id { grid-column: auto; } }
@media (max-width: 959px), (not (min-aspect-ratio: 5/4)) { .pied { padding-bottom: 112px; } }

/* ───────── Mouvement réduit : rien ne bouge ───────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
