/* Le Clos Marin : feuille de style (restaurant face à la mer, Wimereux).
   Matières du sujet : la porcelaine blanche des assiettes (fond), l'écume grise
   et verte de la Manche (sections alternées), le sable sec de la digue (bandes
   claires), les galets de silex (textes secondaires), l'encre d'imprimerie
   bleu-noir (texte, pied de page) et l'encre violette des menus du jour
   d'autrefois, celle des copies à alcool : unique couleur d'action.
   Brygada 1918 pour les titres et les cartes (un romain de 1918, fait pour
   l'impression), Work Sans pour le texte et l'interface (dessinée d'après les
   grotesques d'imprimerie du XIXe siècle). Angles de 2 px, aucun verre, aucun grain.
   Signature : la carte du menu du jour, pliée en trois, qui se déplie puis
   s'imprime ligne à ligne (motion.js). */

@font-face {
  font-family: "Brygada 1918";
  src: url("fonts/brygada-1918-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Brygada 1918";
  src: url("fonts/brygada-1918-italique-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --porcelaine: #F3F5F3;
  --porcelaine-claire: #FBFCFB;
  --ecume: #E4EBE8;
  --ecume-fonce: #CCD6D2;
  --sable: #EEECE7;
  --papier: #FBF8F2;
  --papier-dos: #F1ECE2;
  --encre: #172024;
  --encre-2: #222D31;
  --encre-3: #2F3B40;
  --galet: #4F585D;
  --galet-moyen: #7D878B;
  --galet-clair: #A9B3B6;
  --oursin: #5E2459;
  --oursin-fonce: #481943;
  --oursin-clair: #E7C2E0;
  --rouge: #A3262A;
  --filet: rgb(23 32 36 / 0.14);
  --filet-fort: rgb(23 32 36 / 0.26);
  --filet-sombre: rgb(243 245 243 / 0.16);

  --font-titre: "Brygada 1918", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-texte: "Work Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: clamp(0.84rem, 0.81rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.32vw, 1.28rem);
  --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.45rem + 1.5vw, 2.6rem);
  --step-4: clamp(2.15rem, 1.6rem + 2.6vw, 3.7rem);
  --step-5: clamp(2.5rem, 1.55rem + 4.1vw, 4.7rem);

  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 2px;
  --entete-h: 72px;
  --ease-encre: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-sortie: cubic-bezier(0.22, 1, 0.36, 1);
  --ombre-papier: 0 1px 2px rgb(23 32 36 / 0.06), 0 22px 48px -26px rgb(23 32 36 / 0.42);
}

/* ------------------------------------------------------------------ */
/* Base                                                                 */
/* ------------------------------------------------------------------ */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--entete-h) + var(--brnsg-barre, 0px) + 16px);
  scrollbar-color: var(--galet-moyen) var(--ecume);
}

body {
  margin: 0;
  background: var(--porcelaine);
  color: var(--encre);
  font-family: var(--font-texte);
  font-size: var(--step-0);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
picture,
video,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin: 0;
}

figure {
  margin: 0;
}

::selection {
  background: var(--oursin);
  color: var(--porcelaine);
}

a {
  color: var(--oursin);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s, text-decoration-thickness 0.2s;
}

a:hover {
  color: var(--oursin-fonce);
  text-decoration-thickness: 2px;
}

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

.pied :focus-visible,
.section--appel :focus-visible {
  outline-color: var(--oursin-clair);
}

address {
  font-style: normal;
}

/* L'attribut hidden gagne toujours, même sur un élément stylé en flex ou en grid. */
[hidden] {
  display: none !important;
}

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

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

.lien-evitement {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  border-radius: var(--rayon);
  background: var(--oursin);
  color: var(--porcelaine);
  font-weight: 600;
}

.lien-evitement:focus {
  top: calc(var(--brnsg-barre, 0px) + 0.5rem);
  color: var(--porcelaine);
}

.icone {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* État d'ouverture calculé (horaires.js) : pastille devant le texte. */
[data-brnsg-horaires][data-etat]::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 0.45em;
  border-radius: 50%;
  vertical-align: 0.08em;
  background: var(--galet-clair);
}

[data-brnsg-horaires][data-etat="ouvert"]::before {
  background: var(--oursin);
  box-shadow: 0 0 0 3px rgb(94 36 89 / 0.16);
}

.pied [data-brnsg-horaires][data-etat="ouvert"]::before {
  background: var(--oursin-clair);
  box-shadow: 0 0 0 3px rgb(231 194 224 / 0.2);
}

/* ------------------------------------------------------------------ */
/* Boutons et liens                                                     */
/* ------------------------------------------------------------------ */

.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0 1.45rem;
  border: 1.5px solid transparent;
  border-radius: var(--rayon);
  font: 600 1rem/1.1 var(--font-texte);
  letter-spacing: 0.01em;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease-sortie);
}

.bouton:active {
  transform: translateY(1px);
}

.bouton--plein {
  background: var(--oursin);
  color: var(--porcelaine);
}

.bouton--plein:hover {
  background: var(--oursin-fonce);
  color: var(--porcelaine);
  text-decoration: none;
}

.bouton--petit {
  min-height: 44px;
  padding: 0 1.05rem;
  font-size: 0.95rem;
}

.bouton--large {
  width: 100%;
}

.bouton[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.bouton-lien {
  padding: 0.35rem 0;
  border: 0;
  background: none;
  color: var(--oursin);
  font: 600 0.92rem/1.2 var(--font-texte);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.bouton-lien:hover {
  color: var(--oursin-fonce);
  text-decoration-thickness: 2px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
}

.lien-tel {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  color: var(--encre);
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.lien-tel span {
  text-decoration: underline;
  text-decoration-color: var(--filet-fort);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.lien-tel:hover {
  color: var(--oursin);
}

.lien-tel:hover span {
  text-decoration-color: currentColor;
}

.lien-tel .icone {
  width: 18px;
  height: 18px;
  color: var(--oursin);
}

.lien-tel--grand {
  margin-top: 1.25rem;
  font-size: 1.5rem;
}

.lien-fleche {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

.lien-fleche a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.icone-fleche {
  transition: transform 0.25s var(--ease-sortie);
}

a:hover .icone-fleche {
  transform: translateX(4px);
}

/* ------------------------------------------------------------------ */
/* Titres                                                               */
/* ------------------------------------------------------------------ */

.titre-section {
  margin-bottom: 1.25rem;
  font-family: var(--font-titre);
  font-size: var(--step-4);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.titre-section--petit {
  font-size: var(--step-3);
}

.section-tete {
  max-width: 46rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-chapo {
  margin: 0;
  color: var(--galet);
  font-size: var(--step-1);
}

.sous-titre {
  margin: 2rem 0 0.75rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
}

.note {
  margin: 1rem 0 0;
  color: var(--galet);
  font-size: 0.92rem;
}

.source {
  margin: 1rem 0 0;
  color: var(--galet);
  font-size: 0.86rem;
}

.liste-simple {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.liste-simple li {
  position: relative;
  padding-left: 1.2rem;
}

.liste-simple li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.5rem;
  height: 1px;
  background: var(--galet-moyen);
}

.liste-simple--serree {
  gap: 0.35rem;
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* En-tête                                                              */
/* ------------------------------------------------------------------ */

.entete {
  position: sticky;
  top: var(--brnsg-barre, 0px);
  z-index: 900;
  background: rgb(243 245 243 / 0.97);
  border-bottom: 1px solid var(--filet);
  transition: transform 0.35s var(--ease-sortie);
}

.entete--cachee {
  transform: translateY(calc(-100% - var(--brnsg-barre, 0px) - 2px));
}

.entete-grille {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: var(--entete-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
  color: var(--encre);
  text-decoration: none;
}

.logo:hover {
  color: var(--encre);
}

.logo-marque {
  width: 38px;
  height: 38px;
}

.logo-galet {
  fill: var(--encre);
}

.logo-laisse {
  fill: none;
  stroke: var(--porcelaine);
  stroke-width: 2.1;
  stroke-linecap: round;
}

.logo-texte {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-nom {
  font-family: var(--font-titre);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.logo-lieu {
  margin-top: 0.25rem;
  color: var(--galet);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.nav {
  margin-left: auto;
}

.nav-liste {
  display: flex;
  gap: 1.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  position: relative;
  display: block;
  padding-block: 0.45rem;
  color: var(--encre);
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--oursin);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s var(--ease-sortie);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-mobile-seulement {
  display: none;
}

.entete-actions {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.entete-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: var(--encre);
  line-height: 1.2;
  text-decoration: none;
}

.entete-tel:hover {
  color: var(--oursin);
}

.entete-tel-numero {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
}

.entete-statut {
  color: var(--galet);
  font-size: 0.74rem;
  white-space: nowrap;
}

.entete-reserver[aria-current="page"] {
  background: var(--oursin-fonce);
}

.menu-bouton {
  display: none;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0 0.85rem;
  border: 1.5px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: transparent;
  color: var(--encre);
  font: 600 0.9rem var(--font-texte);
  cursor: pointer;
}

.menu-bouton-traits,
.menu-bouton-traits::before,
.menu-bouton-traits::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-sortie), opacity 0.2s;
}

.menu-bouton-traits {
  position: relative;
}

.menu-bouton-traits::before,
.menu-bouton-traits::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-bouton-traits::before {
  top: -6px;
}

.menu-bouton-traits::after {
  top: 6px;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits {
  background: transparent;
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-bouton[aria-expanded="true"] .menu-bouton-traits::after {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1120px) {
  .nav-liste {
    gap: 1.15rem;
  }

  .entete-reserver {
    display: none;
  }
}

@media (max-width: 960px) {
  :root {
    --entete-h: 64px;
  }

  .entete-grille {
    gap: 1rem;
  }

  .menu-bouton {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: calc(var(--brnsg-barre, 0px) + var(--entete-h)) 0 0 0;
    z-index: 890;
    display: none;
    margin: 0;
    padding: 1.5rem var(--gouttiere) 6rem;
    overflow-y: auto;
    background: var(--porcelaine);
    border-top: 1px solid var(--filet);
  }

  .nav--ouverte {
    display: block;
  }

  .nav-liste {
    flex-direction: column;
    gap: 0;
  }

  .nav-liste li {
    border-bottom: 1px solid var(--filet);
  }

  .nav a {
    padding-block: 1rem;
    font-family: var(--font-titre);
    font-size: 1.75rem;
    font-weight: 600;
  }

  .nav a::after {
    display: none;
  }

  .nav a[aria-current="page"] {
    color: var(--oursin);
  }

  .nav-mobile-seulement {
    display: block;
  }

  .entete-actions {
    margin-left: auto;
  }

  body.menu-ouvert {
    overflow: hidden;
  }
}

@media (max-width: 520px) {
  .logo-marque {
    width: 32px;
    height: 32px;
  }

  .logo-nom {
    font-size: 1.18rem;
  }

  .logo-lieu {
    font-size: 0.58rem;
    letter-spacing: 0.22em;
  }

  .entete-tel-numero {
    font-size: 1.02rem;
  }

  .entete-statut {
    font-size: 0.66rem;
  }

  .menu-bouton {
    padding: 0 0.7rem;
  }

  .menu-bouton-texte {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .entete-statut,
  .logo-lieu {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Hero de l'accueil : texte à gauche, la salle face à la mer à droite  */
/* ------------------------------------------------------------------ */

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.18fr);
  min-height: clamp(560px, calc(100svh - var(--entete-h) - var(--brnsg-barre, 0px) - 110px), 800px);
  background: var(--porcelaine);
}

.hero-media {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  overflow: hidden;
  background: var(--ecume);
}

.hero-poster,
.hero-poster img,
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-video {
  opacity: 0;
  transition: opacity 1.4s var(--ease-sortie);
}

.hero-video.est-prete {
  opacity: 1;
}

.hero-pause {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid rgb(23 32 36 / 0.18);
  border-radius: var(--rayon);
  background: rgb(243 245 243 / 0.9);
  color: var(--encre);
  font: 600 0.8rem var(--font-texte);
  cursor: pointer;
}

.hero-pause:hover {
  background: var(--porcelaine);
}

.hero-pause-icone {
  position: relative;
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}

.hero-pause[data-etat="pause"] .hero-pause-icone {
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
  border-right: 0;
}

.hero-texte {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  padding: clamp(3rem, 6vw, 5rem) clamp(1.5rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem) max(var(--gouttiere), calc((100vw - 1240px) / 2));
}

.hero-etat {
  margin: 0 0 1.4rem;
  color: var(--galet);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-titre {
  max-width: 13ch;
  margin: 0 0 1.4rem;
  font-family: var(--font-titre);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.hero-chapo {
  max-width: 44ch;
  margin: 0 0 2rem;
  color: var(--galet);
  font-size: var(--step-1);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1.6rem;
}

.hero-faits {
  display: grid;
  gap: 0.55rem;
  max-width: 30rem;
  margin: 2.6rem 0 0;
  padding: 1.4rem 0 0;
  border-top: 1px solid var(--filet);
  list-style: none;
  color: var(--galet);
  font-size: 0.93rem;
}

.hero-faits strong {
  color: var(--encre);
  font-family: var(--font-titre);
  font-size: 1.08rem;
  font-weight: 600;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .hero-media {
    grid-column: 1;
    grid-row: 1;
    aspect-ratio: 1 / 1;
    max-height: 58svh;
    width: 100%;
  }

  .hero-texte {
    grid-row: 2;
    padding: 2rem var(--gouttiere) 2.5rem;
  }

  .hero-titre {
    max-width: 16ch;
  }
}

@media (max-width: 560px) {
  .hero-actions .bouton {
    flex: 1 1 100%;
  }

  .hero-pause-texte {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

/* ------------------------------------------------------------------ */
/* Sections                                                             */
/* ------------------------------------------------------------------ */

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}

.section--serre {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section--ecume {
  background: var(--ecume);
}

.section--sable {
  background: var(--sable);
}

/* Bande d'appel en encre d'imprimerie. */
.section--appel {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--encre-2);
  color: var(--porcelaine);
}

.section--appel p {
  color: var(--galet-clair);
}

.section--appel .bouton--plein {
  background: var(--oursin-clair);
  color: var(--encre);
}

.section--appel .bouton--plein:hover {
  background: var(--porcelaine);
  color: var(--encre);
}

.section--appel .lien-tel {
  color: var(--porcelaine);
}

.section--appel .lien-tel .icone {
  color: var(--oursin-clair);
}

.section--appel .lien-tel span {
  text-decoration-color: var(--filet-sombre);
}

.appel-grille {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.appel-grille p {
  max-width: 46ch;
  margin: 0;
  font-size: var(--step-1);
}

.appel-grille .titre-section {
  margin-bottom: 0.8rem;
}

.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.duo--haut {
  align-items: start;
}

.duo--inverse .duo-image {
  order: 2;
}

.duo-image {
  overflow: hidden;
  border-radius: var(--rayon);
  aspect-ratio: 4 / 5;
}

.duo-image--paysage {
  aspect-ratio: 3 / 2;
}

.duo-image picture,
.duo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.duo-texte > p {
  max-width: 56ch;
}

.duo-texte > p:not(.lien-fleche) {
  color: var(--galet);
}

@media (max-width: 960px) {
  .duo {
    grid-template-columns: minmax(0, 1fr);
  }

  .duo--inverse .duo-image {
    order: 0;
  }

  .duo-image {
    aspect-ratio: 4 / 3;
  }
}

/* ------------------------------------------------------------------ */
/* La carte du menu du jour (signature)                                 */
/* ------------------------------------------------------------------ */

.section--menu-jour {
  position: relative;
  z-index: 2;
  padding-top: clamp(3rem, 6vw, 5rem);
}

.menu-jour-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.menu-jour-texte {
  padding-top: clamp(0rem, 3vw, 2.5rem);
}

.menu-jour-texte .actions {
  margin-top: 1.75rem;
}

/* Sur l'accueil, la carte vient se poser sur la photo de la salle. */
.page-accueil .menu-jour-carte {
  margin-top: calc(-1 * clamp(7rem, 14vw, 13rem));
}

/* L'ombre portée suit la silhouette du papier, pliée comme dépliée. */
.carte-scene {
  position: relative;
  width: min(100%, 27.5rem);
  margin-inline: auto;
  perspective: 1700px;
  perspective-origin: 50% 35%;
  filter: drop-shadow(0 22px 24px rgb(23 32 36 / 0.2)) drop-shadow(0 2px 3px rgb(23 32 36 / 0.08));
}

.carte-menu {
  position: relative;
  display: grid;
  grid-template-rows: repeat(3, minmax(10.5rem, 1fr));
  color: var(--encre);
  transform-style: preserve-3d;
}

.carte-volet {
  position: relative;
  transform-style: preserve-3d;
}

.carte-volet--haut {
  transform-origin: 50% 100%;
}

.carte-volet--bas {
  transform-origin: 50% 0%;
}

.carte-recto {
  position: relative;
  height: 100%;
  padding: 1.5rem 1.75rem;
  background: var(--papier);
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.carte-volet--haut .carte-recto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 2px 2px 0 0;
}

.carte-volet--bas .carte-recto {
  border-radius: 0 0 2px 2px;
}

/* Les plis : un creux d'ombre et un filet de lumière à chaque jointure. */
.carte-volet--milieu .carte-recto::before,
.carte-volet--milieu .carte-recto::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 14px;
  pointer-events: none;
}

.carte-volet--milieu .carte-recto::before {
  top: 0;
  background: linear-gradient(180deg, rgb(23 32 36 / 0.075), rgb(23 32 36 / 0));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9);
}

.carte-volet--milieu .carte-recto::after {
  bottom: 0;
  background: linear-gradient(0deg, rgb(23 32 36 / 0.06), rgb(23 32 36 / 0));
  box-shadow: inset 0 -1px 0 rgb(23 32 36 / 0.05);
}

.carte-verso {
  position: absolute;
  inset: 0;
  background: var(--papier-dos);
  transform: rotateX(180deg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Ombre du papier pendant le pli (animée par motion.js). */
.carte-ombre {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(23 32 36 / 0.22), rgb(23 32 36 / 0.04));
  opacity: 0;
  pointer-events: none;
}

.carte-maison {
  margin: 0 0 0.6rem;
  color: var(--galet);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.carte-titre {
  margin: 0;
  color: var(--oursin);
  font-family: var(--font-titre);
  font-size: 2.15rem;
  font-weight: 600;
  line-height: 1.05;
}

.carte-date {
  margin: 0.4rem 0 0.35rem;
  font-family: var(--font-titre);
  font-size: 1.08rem;
  font-style: italic;
}

.carte-date::first-letter {
  text-transform: uppercase;
}

.carte-service {
  max-width: 30ch;
  margin: 0 auto;
  color: var(--galet);
  font-size: 0.8rem;
  line-height: 1.45;
}

.carte-volet--milieu .carte-recto {
  display: grid;
  align-content: space-evenly;
  gap: 1rem;
}

.carte-plat + .carte-plat {
  padding-top: 0.2rem;
}

.carte-categorie {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  margin: 0 0 0.3rem;
  color: var(--galet);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.carte-categorie::before,
.carte-categorie::after {
  content: "";
  width: 1.4rem;
  height: 1px;
  background: var(--filet-fort);
}

.carte-nom {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1.22;
  text-wrap: balance;
}

.carte-desc {
  margin: 0.2rem 0 0;
  color: var(--galet);
  font-family: var(--font-titre);
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.35;
}

.carte-desc:empty,
.carte-allergenes:empty {
  display: none;
}

.carte-allergenes,
.carte-viande {
  margin: 0.3rem 0 0;
  color: var(--galet);
  font-size: 0.74rem;
  line-height: 1.4;
}

.carte-viande {
  margin-top: 0.1rem;
}

.carte-volet--bas .carte-recto {
  display: grid;
  align-content: space-evenly;
  gap: 0.8rem;
}

.carte-prix {
  display: grid;
  gap: 0.2rem;
  margin: 0.9rem 0 0;
  text-align: left;
  font-size: 0.84rem;
}

.carte-prix div {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.carte-prix div::after {
  content: "";
  order: 1;
  flex: 1;
  min-width: 1rem;
  border-bottom: 1px dotted var(--galet-moyen);
  transform: translateY(-0.28em);
}

.carte-prix dt {
  order: 0;
}

.carte-prix dd {
  order: 2;
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 600;
}

.carte-mentions {
  margin: 0;
  color: var(--galet);
  font-size: 0.72rem;
}

.carte-etat {
  margin: 0;
  color: var(--galet);
  font-size: 0.74rem;
  font-style: italic;
}

.carte-etat:empty {
  display: none;
}

/* Chargement : la carte vierge, rayée de lignes de crayon, attend l'encre. */
.js .carte-menu:is([data-etat="attente"], [data-etat="chargement"]) :is([data-nom], [data-desc], [data-allergenes]) {
  min-height: 1.2em;
  color: transparent;
  background: linear-gradient(var(--galet-clair), var(--galet-clair)) center 70% / 62% 1px no-repeat;
}

.js .carte-menu:is([data-etat="attente"], [data-etat="chargement"]) [data-desc] {
  display: block;
  background-size: 78% 1px;
}

.js .carte-menu:is([data-etat="attente"], [data-etat="chargement"]) [data-allergenes] {
  display: block;
  background-size: 44% 1px;
}

.js .carte-menu:is([data-etat="attente"], [data-etat="chargement"]) [data-carte-date] {
  color: transparent;
  background: linear-gradient(var(--galet-clair), var(--galet-clair)) center 70% / 48% 1px no-repeat;
}

@media (max-width: 960px) {
  .menu-jour-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-accueil .menu-jour-carte {
    margin-top: 0;
    order: -1;
  }

  .menu-jour-texte {
    padding-top: 0;
  }
}

@media (max-width: 420px) {
  .carte-recto {
    padding: 1.25rem 1.1rem;
  }

  .carte-titre {
    font-size: 1.9rem;
  }
}

/* ------------------------------------------------------------------ */
/* Prix, faits, tarif                                                   */
/* ------------------------------------------------------------------ */

.prix-liste {
  margin: 1.5rem 0 0;
}

.prix-liste > div {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.prix-liste dt {
  flex: 1;
  font-weight: 500;
}

.prix-liste dd {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.22rem;
  font-weight: 600;
  text-align: right;
  white-space: nowrap;
}

.faits {
  display: grid;
  margin: 2rem 0 0;
  border-top: 1px solid var(--filet);
}

.faits > div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  align-items: baseline;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.faits dt {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.1;
}

.faits dd {
  margin: 0;
  color: var(--galet);
  font-size: 0.95rem;
}

/* ------------------------------------------------------------------ */
/* Accueil : la cuisine, les menus                                      */
/* ------------------------------------------------------------------ */

.cuisine-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.cuisine-texte > p {
  max-width: 52ch;
  color: var(--galet);
}

.cuisine-images {
  position: relative;
  padding-bottom: 14%;
}

.cuisine-image figcaption,
.menus-apercu-image figcaption,
.image-large figcaption {
  margin-top: 0.6rem;
  color: var(--galet);
  font-family: var(--font-titre);
  font-size: 0.95rem;
  font-style: italic;
}

.cuisine-image picture,
.cuisine-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cuisine-image--1 {
  width: 72%;
}

.cuisine-image--1 picture {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon);
}

.cuisine-image--2 {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 48%;
  padding: 8px 8px 0;
  background: var(--porcelaine);
}

.cuisine-image--2 picture {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--rayon);
}

@media (max-width: 960px) {
  .cuisine-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .cuisine-images {
    max-width: 560px;
  }
}

.menus-apercu-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.tarif {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--papier);
  box-shadow: var(--ombre-papier);
}

.tarif-ligne {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.tarif-ligne:last-child {
  border-bottom: 0;
}

.tarif-nom {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.25;
}

.tarif-nom span {
  display: block;
  color: var(--galet);
  font-family: var(--font-texte);
  font-size: 0.82rem;
  font-weight: 400;
}

.tarif-prix {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
  white-space: nowrap;
}

.menus-apercu-image picture {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--rayon);
}

.menus-apercu-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .menus-apercu-grille {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .menus-apercu-image {
    display: none;
  }
}

@media (max-width: 760px) {
  .menus-apercu-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Réservation en trois clics                                           */
/* ------------------------------------------------------------------ */

.resa-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.resa-grille--page {
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
}

.resa-chapo {
  max-width: 40ch;
  color: var(--galet);
  font-size: var(--step-1);
}

.resa-carte {
  padding: clamp(1.1rem, 3vw, 2.4rem);
  background: var(--porcelaine-claire);
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  box-shadow: var(--ombre-papier);
}

.resa-aside .contact-carte {
  margin-top: 2rem;
}

.resa-sans-js {
  margin: 0;
}

.no-js .resa-fil,
.no-js .resa-form {
  display: none;
}

.resa-fil {
  display: flex;
  gap: 0.4rem;
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.resa-fil-etape {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.6rem;
  border-top: 2px solid var(--ecume-fonce);
  color: var(--galet);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.2;
  transition: border-color 0.3s, color 0.3s;
}

.resa-fil-chiffre {
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 600;
}

.resa-fil-etape[aria-current="step"],
.resa-fil-etape.est-faite {
  border-top-color: var(--oursin);
  color: var(--encre);
}

.resa-etape {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.resa-legende {
  margin-bottom: 1rem;
  padding: 0;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.15;
}

.resa-rappel {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 1rem;
  margin: 0 0 1.25rem;
  padding: 0.8rem 1rem;
  background: var(--ecume);
  border-radius: var(--rayon);
}

.resa-rappel strong,
.resa-rappel span {
  font-weight: 600;
}

.resa-rappel span::first-letter,
.resa-rappel strong::first-letter {
  text-transform: uppercase;
}

/* Calendrier */
.calendrier-tete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.calendrier-mois {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.25rem;
  font-weight: 600;
}

.calendrier-mois::first-letter {
  text-transform: uppercase;
}

.calendrier-nav {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  color: var(--encre);
  cursor: pointer;
}

.calendrier-nav:hover:not([disabled]) {
  border-color: var(--oursin);
  color: var(--oursin);
}

.calendrier-nav[disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}

.calendrier-semaine,
.calendrier-grille {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.calendrier-semaine {
  margin-bottom: 4px;
  color: var(--galet);
  font-size: 0.72rem;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.jour {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 48px;
  padding: 0;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  color: var(--encre);
  font: 600 1rem var(--font-texte);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.jour:hover:not([disabled]) {
  border-color: var(--oursin);
}

.jour[disabled] {
  border-color: transparent;
  background: transparent;
  color: var(--galet-moyen);
  font-weight: 400;
  cursor: not-allowed;
}

.jour--vide {
  visibility: hidden;
}

.jour--aujourdhui::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: currentColor;
}

.jour[aria-pressed="true"] {
  border-color: var(--oursin);
  background: var(--oursin);
  color: var(--porcelaine);
}

.calendrier-legende {
  margin: 0.9rem 0 0;
  color: var(--galet);
  font-size: 0.82rem;
}

/* Couverts et créneaux */
.resa-sous-titre {
  margin: 0 0 0.5rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.pastilles,
.creneaux {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pastille,
.creneau {
  position: relative;
  display: inline-grid;
  cursor: pointer;
}

.pastille input,
.creneau input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.pastille span,
.creneau span {
  display: grid;
  place-items: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 0.7rem;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  font-weight: 600;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.creneau span {
  min-width: 5.2rem;
  font-family: var(--font-titre);
  font-size: 1.05rem;
}

.pastille:hover span,
.creneau:hover span {
  border-color: var(--oursin);
}

.pastille input:checked + span,
.creneau input:checked + span {
  border-color: var(--oursin);
  background: var(--oursin);
  color: var(--porcelaine);
}

.pastille input:focus-visible + span,
.creneau input:focus-visible + span {
  outline: 3px solid var(--oursin);
  outline-offset: 2px;
}

.resa-couverts {
  margin-bottom: 1.2rem;
}

.resa-service {
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.resa-service legend {
  margin-bottom: 0.5rem;
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.resa-service-aucun {
  margin: 0;
  color: var(--galet);
  font-size: 0.9rem;
}

.resa-note {
  margin: 0 0 1.2rem;
  padding: 0.9rem 1rem;
  border-left: 3px solid var(--oursin);
  background: rgb(94 36 89 / 0.06);
  font-size: 0.92rem;
}

.resa-soleil {
  margin: 0.4rem 0 0;
  color: var(--galet);
  font-family: var(--font-titre);
  font-size: 0.98rem;
  font-style: italic;
}

.resa-soleil:empty {
  display: none;
}

.cases {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 0.4rem;
}

.case {
  position: relative;
  display: inline-flex;
  cursor: pointer;
}

.case input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.case span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 0.75rem;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  font-size: 0.86rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.case input:checked + span {
  border-color: var(--oursin);
  background: rgb(94 36 89 / 0.1);
  color: var(--oursin-fonce);
  font-weight: 600;
}

.case input:focus-visible + span {
  outline: 3px solid var(--oursin);
  outline-offset: 2px;
}

@media (max-width: 960px) {
  .resa-grille,
  .resa-grille--page {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 420px) {
  .resa-fil-etape {
    font-size: 0.74rem;
  }

  .jour {
    min-height: 44px;
    font-size: 0.95rem;
  }

  .calendrier-semaine,
  .calendrier-grille {
    gap: 3px;
  }
}

/* ------------------------------------------------------------------ */
/* Formulaires                                                          */
/* ------------------------------------------------------------------ */

.champ {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
  margin: 0 0 1.1rem;
  padding: 0;
  border: 0;
}

.champ-rangee {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 1rem;
}

.champ label,
.champ legend {
  padding: 0;
  font-size: 0.92rem;
  font-weight: 600;
}

.champ-optionnel {
  color: var(--galet);
  font-weight: 400;
}

.champ-aide {
  margin: 0;
  color: var(--galet);
  font-size: 0.86rem;
}

.champ input[type="text"],
.champ input[type="tel"],
.champ input[type="email"],
.champ input[type="password"],
.champ select,
.champ textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--galet-moyen);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  color: var(--encre);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.champ textarea {
  min-height: 96px;
  resize: vertical;
}

.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--oursin);
  box-shadow: 0 0 0 3px rgb(94 36 89 / 0.2);
}

.champ [aria-invalid="true"] {
  border-color: var(--rouge);
}

.select-enveloppe {
  position: relative;
}

.select-enveloppe::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--galet);
  border-bottom: 1.5px solid var(--galet);
  pointer-events: none;
  transform: translateY(-70%) rotate(45deg);
}

.champ select {
  padding-right: 2.5rem;
  -webkit-appearance: none;
  appearance: none;
}

.champ-erreur {
  margin: 0;
  color: var(--rouge);
  font-size: 0.88rem;
}

.formulaire-erreur:empty {
  display: none;
}

.formulaire-erreur {
  margin-top: 0.9rem;
}

.champ-piege {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.consentement {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 0.4rem 0 1.1rem;
  color: var(--galet);
  font-size: 0.88rem;
  cursor: pointer;
}

.consentement input {
  width: 20px;
  height: 20px;
  margin: 0.15rem 0 0;
  flex: none;
  accent-color: var(--oursin);
}

.formulaire-note {
  margin: 0.9rem 0 0;
  color: var(--galet);
  font-size: 0.85rem;
  text-align: center;
}

.formulaire-succes {
  padding: 0.5rem 0;
}

.formulaire-succes:focus {
  outline: none;
}

.formulaire-succes-titre {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.15;
}

.contact-carte {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--filet);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
}

.contact-carte p,
.contact-carte address {
  margin: 0 0 0.6rem;
}

.contact-carte > :last-child {
  margin-bottom: 0;
}

.contact-tel a {
  color: var(--encre);
  font-family: var(--font-titre);
  font-size: 1.9rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-tel a:hover {
  color: var(--oursin);
}

.contact-statut {
  color: var(--galet);
}

.contact-adresse {
  padding-top: 0.75rem;
  border-top: 1px solid var(--filet);
  font-weight: 500;
}

.contact-acces {
  color: var(--galet);
  font-size: 0.92rem;
}

@media (max-width: 560px) {
  .champ-rangee {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ------------------------------------------------------------------ */
/* Avis                                                                 */
/* ------------------------------------------------------------------ */

.avis-entete {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.avis-entete .titre-section {
  margin: 0;
}

.avis-synthese {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0;
}

.avis-chiffre {
  font-family: var(--font-titre);
  font-size: 4rem;
  font-weight: 600;
  line-height: 0.9;
}

.avis-detail {
  color: var(--galet);
  font-size: 0.95rem;
}

.avis-liste {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.avis-liste > :first-child {
  grid-row: span 2;
}

.avis-carte {
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.5vw, 1.8rem);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  border: 1px solid var(--filet);
}

.avis-liste > :first-child .avis-texte p {
  font-size: var(--step-2);
  line-height: 1.35;
}

.avis-note-unitaire {
  margin: 0;
  color: var(--oursin);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.avis-texte {
  flex: 1;
  margin: 0.8rem 0 1.1rem;
}

.avis-texte p {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.08rem;
  font-style: italic;
  line-height: 1.45;
}

.avis-auteur {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.6rem;
  margin: 0;
  color: var(--galet);
  font-size: 0.86rem;
}

.avis-nom {
  color: var(--encre);
  font-weight: 600;
}

.avis-lieu::after {
  content: "·";
  margin-left: 0.6rem;
}

.avis-liste--complete {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: none;
}

.avis-liste--complete > :first-child {
  grid-row: auto;
}

.avis-liste--complete > :first-child .avis-texte p {
  font-size: 1.08rem;
}

@media (max-width: 860px) {
  .avis-liste,
  .avis-liste--complete {
    grid-template-columns: minmax(0, 1fr);
  }

  .avis-liste > :first-child {
    grid-row: auto;
  }
}

/* ------------------------------------------------------------------ */
/* Horaires et accès                                                    */
/* ------------------------------------------------------------------ */

.acces-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.horaires-liste {
  margin: 0;
}

.horaires-liste > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--filet);
}

.horaires-liste dt {
  font-weight: 600;
}

.horaires-liste dd {
  margin: 0;
  color: var(--galet);
  text-align: right;
}

.horaires-etat {
  margin: 1rem 0 0;
  font-weight: 500;
}

.acces-contact .contact-carte {
  margin-top: 0;
}

@media (max-width: 960px) {
  .acces-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 480px) {
  .horaires-liste > div {
    flex-direction: column;
    gap: 0.1rem;
  }

  .horaires-liste dd {
    text-align: left;
  }
}

.acces-carte-grille {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.acces-carte {
  max-width: 520px;
}

.carte-cote {
  width: 100%;
  height: auto;
  border-radius: var(--rayon);
  box-shadow: var(--ombre-papier);
}

.cote-mer {
  fill: #C9D6D3;
}

.cote-terre {
  fill: var(--papier);
  stroke: var(--galet-moyen);
  stroke-width: 1.2;
}

.cote-mer-texte {
  fill: var(--galet);
  font: italic 500 17px var(--font-titre);
  letter-spacing: 0.04em;
}

.cote-ville circle {
  fill: var(--encre);
}

.cote-ville text {
  fill: var(--encre);
  font: 500 12.5px var(--font-texte);
}

.cote-maison circle {
  fill: var(--oursin);
}

.cote-maison .cote-maison-halo {
  opacity: 0.18;
}

.cote-maison text {
  fill: var(--oursin);
  font: 700 13px var(--font-texte);
}

.trajets {
  margin: 1.5rem 0 0;
}

.trajets > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.trajets dt {
  font-weight: 600;
}

.trajets dd {
  margin: 0;
  color: var(--galet);
  text-align: right;
}

@media (max-width: 960px) {
  .acces-carte-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .acces-carte {
    width: 100%;
    margin-inline: auto;
  }
}

/* ------------------------------------------------------------------ */
/* Pages intérieures                                                    */
/* ------------------------------------------------------------------ */

.page-tete {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.page-tete-grille {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.page-titre {
  max-width: 15ch;
  margin: 0 0 1.25rem;
  font-family: var(--font-titre);
  font-size: var(--step-5);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.016em;
  text-wrap: balance;
}

.page-chapo {
  max-width: 54ch;
  margin: 0 0 2rem;
  color: var(--galet);
  font-size: var(--step-1);
}

.page-tete--simple {
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}

.page-tete--simple .page-chapo {
  margin-bottom: 0;
}

.page-tete--simple .page-titre {
  max-width: 20ch;
}

.page-tete-image {
  overflow: hidden;
  border-radius: var(--rayon);
  aspect-ratio: 4 / 3;
}

.page-tete-image--haute {
  aspect-ratio: 4 / 5;
  max-height: 34rem;
}

.page-tete-image picture,
.page-tete-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-tete--404 .actions {
  margin-top: 2rem;
}

.code-erreur {
  color: var(--oursin);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .page-tete-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .page-tete-image--haute {
    aspect-ratio: 4 / 3;
  }
}

/* Menus dégustation : cartes imprimées de tailles différentes. */
.menus-degustation {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  align-items: start;
}

.menu-imprime {
  padding: clamp(1.4rem, 3vw, 2.4rem);
  background: var(--papier);
  box-shadow: var(--ombre-papier);
}

.menu-imprime--maree {
  grid-column: 1 / span 6;
}

.menu-imprime--large {
  grid-column: 7 / span 6;
  grid-row: span 2;
}

.menu-imprime--potager {
  grid-column: 1 / span 6;
}

.menu-imprime--enfant {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0.5rem 2rem;
  align-items: center;
}

.menu-imprime--enfant .menu-imprime-tete {
  grid-row: span 2;
  margin: 0;
  padding: 0;
  border: 0;
}

.menu-imprime-tete {
  margin-bottom: 1.2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--filet);
}

.menu-imprime-titre {
  color: var(--oursin);
  font-family: var(--font-titre);
  font-size: var(--step-3);
  font-weight: 600;
  line-height: 1.05;
}

.menu-imprime-temps {
  margin: 0.3rem 0 0.6rem;
  color: var(--galet);
  font-family: var(--font-titre);
  font-style: italic;
}

.menu-imprime-prix {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.1;
}

.menu-imprime-mention {
  color: var(--galet);
  font-family: var(--font-texte);
  font-size: 0.85rem;
  font-weight: 400;
}

.menu-plats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.menu-plat {
  padding: 0.85rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.menu-plat:last-child {
  border-bottom: 0;
}

.menu-plat-nom {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.14rem;
  font-weight: 600;
  line-height: 1.25;
}

.menu-plat-desc {
  margin: 0.15rem 0 0;
  color: var(--galet);
  font-family: var(--font-titre);
  font-style: italic;
  line-height: 1.4;
}

.menu-plat-allergenes,
.menu-plat-viande {
  margin: 0.25rem 0 0;
  color: var(--galet);
  font-size: 0.8rem;
}

.menu-plat-viande {
  color: var(--encre);
  font-weight: 600;
}

.menu-imprime-quand {
  margin: 1.2rem 0 0.4rem;
  font-size: 0.92rem;
}

.menu-accords {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--galet);
  font-size: 0.88rem;
}

@media (max-width: 960px) {
  .menu-imprime--maree,
  .menu-imprime--large,
  .menu-imprime--potager,
  .menu-imprime--enfant {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .menu-imprime--enfant {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Obligations : une notice en lignes, titre à gauche, texte et source à droite. */
.obligations {
  margin: 0;
  border-top: 1px solid var(--encre);
}

.obligation {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 8fr);
  gap: 0.5rem 2rem;
  padding: clamp(1.25rem, 2.5vw, 1.8rem) 0;
  border-bottom: 1px solid var(--filet-fort);
}

.obligation dt {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.2;
}

.obligation dd {
  margin: 0;
}

.obligation dd > p:first-child {
  max-width: 62ch;
  margin-top: 0;
  color: var(--galet);
}

.allergenes-liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 0.2rem 1.5rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}

.allergenes-liste li {
  padding: 0.35rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

@media (max-width: 760px) {
  .obligation {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Vins */
.vins-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.vins-tete {
  position: sticky;
  top: calc(var(--entete-h) + var(--brnsg-barre, 0px) + 1.5rem);
}

.filtres {
  margin-top: 1.75rem;
}

.filtres-titre {
  margin: 0 0 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.filtres-liste {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.filtre {
  min-height: 40px;
  padding: 0 0.85rem;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  color: var(--encre);
  font: 500 0.88rem var(--font-texte);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.filtre:hover {
  border-color: var(--oursin);
}

.filtre[aria-pressed="true"] {
  border-color: var(--oursin);
  background: var(--oursin);
  color: var(--porcelaine);
}

.interrupteur {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.interrupteur input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--oursin);
}

.filtres-compte {
  margin: 0.8rem 0 0;
  color: var(--galet);
  font-size: 0.88rem;
}

.region + .region {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}

.region-titre {
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--encre);
  font-family: var(--font-titre);
  font-size: var(--step-3);
  font-weight: 600;
}

.vins-liste {
  margin: 0;
  padding: 0;
  list-style: none;
}

.vin {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.5rem 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px dotted var(--galet-moyen);
}

.vin-nom {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.16rem;
  font-weight: 600;
  line-height: 1.25;
}

.vin-millesime {
  color: var(--oursin);
}

.vin-lieu {
  margin: 0.15rem 0 0;
  color: var(--galet);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.vin-note {
  margin: 0.35rem 0 0;
  color: var(--galet);
  font-size: 0.92rem;
}

.vin-prix {
  display: grid;
  align-content: start;
  gap: 0.25rem;
  margin: 0;
  min-width: 12rem;
}

.vin-prix-ligne {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-titre);
  font-size: 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.vin-mesure {
  color: var(--galet);
  font-family: var(--font-texte);
  font-size: 0.8rem;
  font-weight: 400;
}

.vins-vide {
  padding: 1.25rem;
  border-left: 3px solid var(--oursin);
  background: rgb(94 36 89 / 0.06);
}

@media (max-width: 960px) {
  .vins-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .vins-tete {
    position: static;
  }
}

@media (max-width: 560px) {
  .vin {
    grid-template-columns: minmax(0, 1fr);
  }

  .vin-prix {
    min-width: 0;
  }
}

.accords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--encre);
}

.accord {
  padding: 1.3rem 1.5rem 1.3rem 0;
  border-bottom: 1px solid var(--filet);
}

.accord:nth-child(even) {
  padding: 1.3rem 0 1.3rem 1.5rem;
  border-left: 1px solid var(--filet);
}

.accord-plat {
  margin: 0;
  font-family: var(--font-titre);
  font-size: 1.12rem;
  font-weight: 600;
}

.accord-vin {
  margin: 0.3rem 0 0;
  color: var(--oursin);
  font-weight: 600;
}

.accord-pourquoi {
  margin: 0.3rem 0 0;
  color: var(--galet);
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .accords {
    grid-template-columns: minmax(0, 1fr);
  }

  .accord,
  .accord:nth-child(even) {
    padding: 1.2rem 0;
    border-left: 0;
  }
}

.encadre-sante {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border: 1px solid var(--encre);
  border-radius: var(--rayon);
}

.encadre-sante-texte {
  margin: 0;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.3;
}

/* La maison */
.chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

.chiffres > div {
  padding: 1.5rem;
  border-top: 1px solid var(--encre);
}

.chiffres dt {
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
}

.chiffres dd {
  margin: 0.5rem 0 0;
  color: var(--galet);
}

.portraits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.portrait:nth-child(even) {
  margin-top: clamp(0rem, 4vw, 3rem);
}

.portrait-image {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  margin-bottom: 1.1rem;
  border-radius: var(--rayon);
}

.portrait-image picture,
.portrait-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait-nom {
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
  line-height: 1.1;
}

.portrait-nom-famille {
  font-weight: 400;
}

.portrait-role {
  margin: 0.3rem 0 0.6rem;
  color: var(--oursin);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portrait p:last-child {
  color: var(--galet);
  font-size: 0.95rem;
}

.image-large {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.image-large picture {
  aspect-ratio: 2 / 1;
  overflow: hidden;
  border-radius: var(--rayon);
}

.image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
}

@media (max-width: 1100px) {
  .portraits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portrait:nth-child(even) {
    margin-top: 0;
  }
}

@media (max-width: 560px) {
  .portraits {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }

  .portrait-image {
    aspect-ratio: 1 / 1;
  }

  .image-large picture {
    aspect-ratio: 4 / 3;
  }
}

.inclus-liste {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.inclus-liste > div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--filet);
}

.inclus-liste dt {
  font-family: var(--font-titre);
  font-size: 1.2rem;
  font-weight: 600;
}

.inclus-liste dd {
  margin: 0.2rem 0 0;
  color: var(--galet);
}

/* FAQ */
.faq-grille {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-intro p {
  color: var(--galet);
}

.faq {
  border-top: 1px solid var(--filet-fort);
}

.faq-item {
  border-bottom: 1px solid var(--filet-fort);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-family: var(--font-titre);
  font-size: var(--step-1);
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question:hover {
  color: var(--oursin);
}

.faq-signe {
  position: relative;
  flex: none;
  width: 14px;
  height: 14px;
}

.faq-signe::before,
.faq-signe::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease-sortie);
}

.faq-signe::after {
  transform: rotate(90deg);
}

.faq-item[open] .faq-signe::after {
  transform: rotate(0deg);
}

.faq-reponse {
  padding: 0 2.5rem 1.3rem 0;
  color: var(--galet);
}

.faq-reponse p {
  margin: 0;
}

@media (max-width: 960px) {
  .faq-grille {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Espace équipe */
.encart-brnsg {
  max-width: 46rem;
  margin: 1.5rem 0 0;
  padding: 0.75rem 1rem;
  border-radius: 0;
  background: #0A0A0A;
  color: #F4F4F2;
  font: 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.admin-grille {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.admin-code {
  max-width: 24rem;
}

.admin-statut {
  margin: 0 0 1.5rem;
  padding: 0.8rem 1rem;
  background: var(--ecume);
  border-radius: var(--rayon);
  font-size: 0.92rem;
}

.admin-liste {
  min-width: 0;
  margin: 0 0 1.75rem;
  padding: 0;
  border: 0;
}

.admin-legende {
  margin-bottom: 0.6rem;
  padding: 0;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
}

.admin-choix {
  position: relative;
  display: block;
  cursor: pointer;
}

.admin-choix + .admin-choix {
  margin-top: 6px;
}

.admin-choix input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.admin-choix-corps {
  display: block;
  padding: 0.75rem 1rem;
  border: 1px solid var(--filet-fort);
  border-radius: var(--rayon);
  background: var(--porcelaine-claire);
  transition: background-color 0.2s, border-color 0.2s;
}

.admin-choix:hover .admin-choix-corps {
  border-color: var(--oursin);
}

.admin-choix input:checked + .admin-choix-corps {
  border-color: var(--oursin);
  background: rgb(94 36 89 / 0.07);
  box-shadow: inset 3px 0 0 var(--oursin);
}

.admin-choix input:focus-visible + .admin-choix-corps {
  outline: 3px solid var(--oursin);
  outline-offset: 2px;
}

.admin-choix-nom {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.3;
}

.admin-choix-allergenes {
  display: block;
  margin-top: 0.15rem;
  color: var(--galet);
  font-size: 0.8rem;
}

.admin-apercu {
  position: sticky;
  top: calc(var(--entete-h) + var(--brnsg-barre, 0px) + 1.5rem);
}

.admin-apercu-titre {
  margin: 0 0 1rem;
  color: var(--galet);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

@media (max-width: 960px) {
  .admin-grille {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-apercu {
    position: static;
  }
}

/* Pages légales */
.texte-legal {
  max-width: 74ch;
}

.texte-legal h2 {
  margin: 2.25rem 0 0.75rem;
  font-family: var(--font-titre);
  font-size: var(--step-2);
  font-weight: 600;
}

.texte-legal h2:first-child {
  margin-top: 0;
}

.texte-legal p {
  color: var(--galet);
}

/* ------------------------------------------------------------------ */
/* Pied de page                                                         */
/* ------------------------------------------------------------------ */

.pied {
  border-top: 1px solid var(--filet-sombre);
  padding-top: clamp(3.5rem, 7vw, 5rem);
  padding-bottom: 2rem;
  background: var(--encre);
  color: var(--galet-clair);
  font-size: 0.93rem;
}

.pied a {
  color: var(--porcelaine);
}

.pied a:hover {
  color: var(--oursin-clair);
}

.pied .logo {
  color: var(--porcelaine);
}

.pied .logo-galet {
  fill: var(--porcelaine);
}

.pied .logo-laisse {
  stroke: var(--encre);
}

.pied .logo-lieu {
  color: var(--galet-clair);
}

.pied-grille {
  display: grid;
  grid-template-columns: 1.1fr 1.5fr 0.75fr 1.15fr;
  gap: 2.5rem;
}

.pied-bloc p {
  margin: 0 0 0.6rem;
}

.logo--pied {
  margin-bottom: 1.4rem;
}

.pied-adresse {
  margin-bottom: 0.6rem;
  color: var(--porcelaine);
}

.pied-tel a {
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 600;
  text-decoration: none;
}

.pied-titre {
  margin: 0 0 1rem !important;
  color: var(--porcelaine);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.pied-horaires,
.pied-liens {
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
}

.pied-horaires li {
  display: grid;
  gap: 0.05rem;
  padding: 0.45rem 0;
  border-bottom: 1px dotted var(--filet-sombre);
}

.pied-horaires li span:first-child {
  font-size: 0.82rem;
}

.pied-horaires li span:last-child {
  color: var(--porcelaine);
}

.pied-liens li {
  padding: 0.25rem 0;
}

.pied-liens a {
  text-decoration: none;
}

.pied-liens a:hover {
  text-decoration: underline;
}

.pied-statut {
  color: var(--porcelaine);
}

.pied-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--filet-sombre);
  font-size: 0.85rem;
}

.pied-legal p {
  margin: 0;
}

.pied .pied-discret {
  color: var(--galet-clair);
}

@media (max-width: 960px) {
  .pied-grille {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .pied-grille {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}

/* ------------------------------------------------------------------ */
/* Barre d'actions mobile                                               */
/* ------------------------------------------------------------------ */

.barre-actions {
  display: none;
}

@media (max-width: 760px) {
  .barre-actions {
    position: fixed;
    right: 0;
    bottom: var(--brnsg-onglet, 0px);
    left: 0;
    z-index: 950;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.6rem;
    padding: 0.6rem var(--gouttiere) calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid var(--filet);
    background: rgb(243 245 243 / 0.97);
  }

  .barre-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
    border-radius: var(--rayon);
    font-weight: 600;
    text-decoration: none;
  }

  .barre-actions-tel {
    padding: 0 1rem;
    border: 1px solid var(--filet-fort);
    color: var(--encre);
  }

  .barre-actions-tel .icone {
    width: 18px;
    height: 18px;
    color: var(--oursin);
  }

  .barre-actions-resa {
    background: var(--oursin);
    color: var(--porcelaine);
  }

  .barre-actions-resa:hover {
    color: var(--porcelaine);
  }

  body {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  body.menu-ouvert .barre-actions {
    display: none;
  }
}

/* ------------------------------------------------------------------ */
/* Mouvement : états de départ (seulement si js-motion est posé)        */
/* ------------------------------------------------------------------ */

.js-motion [data-titre-anime] {
  visibility: hidden;
}

.js-motion .carte-scene {
  opacity: 0;
}

.js-motion .carte-menu:not(.est-depliee) .carte-volet--haut {
  transform: translateZ(2px) rotateX(-180deg);
}

.js-motion .carte-menu:not(.est-depliee) .carte-volet--bas {
  transform: translateZ(1px) rotateX(180deg);
}

.js-motion .carte-menu:not(.est-depliee) .carte-ombre {
  opacity: 0.6;
}

/* L'encre attend le rouleau : texte prêt mais pas encore imprimé. */
.js-motion .carte-menu[data-etat="pret"]:not(.est-imprimee) .encre {
  clip-path: inset(0 100% 0 0);
}

/* Entrée du haut de page en CSS pur : visible dès le premier affichage,
   sans attendre la pile de mouvement chargée après l'événement load. */
@keyframes clos-monte {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.js-motion :is(.hero-titre, .page-titre) {
  animation: clos-monte 0.9s var(--ease-sortie) 0.05s both;
}

.js-motion :is(.hero-etat, .code-erreur) {
  animation: clos-monte 0.8s var(--ease-sortie) 0.15s both;
}

.js-motion :is(.hero-chapo, .page-chapo) {
  animation: clos-monte 0.9s var(--ease-sortie) 0.25s both;
}

.js-motion :is(.hero-actions, .page-tete .actions, .page-tete .encart-brnsg) {
  animation: clos-monte 0.9s var(--ease-sortie) 0.35s both;
}

.js-motion .hero-faits {
  animation: clos-monte 0.9s var(--ease-sortie) 0.45s both;
}

.js-motion [data-maree]:not(.est-revelee) {
  clip-path: inset(100% 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
