/* ==========================================================================
   La Martégalette — poissonnerie à Pérols
   Feuille de styles unique (toutes les pages publiques)

   Direction : la devanture de la boutique. L'assiette en faïence au poulpe est
   accrochée au centre, au-dessus d'une vitrine en verre posée devant l'étal ;
   l'ardoise du jour pend au mur au bout d'une corde. L'encre bleue des gravures
   naturalistes et la corde dorée du logo font le reste, au calme : porcelaine,
   encre, filets lavande.
   ========================================================================== */

/* ---------- Polices (auto-hébergées : pas d'appel à Google, RGPD) ---------- */
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("../fonts/besley-italique.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Playwrite FR Moderne";
  src: url("../fonts/playwrite-fr-moderne.woff2") format("woff2");
  font-weight: 100 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Jetons ---------- */
:root {
  /* Couleurs relevées sur le logo et la devanture */
  --encre: #1E2866;          /* le poulpe du logo */
  --encre-vive: #2B3782;     /* survol */
  --encre-douce: #434C84;    /* textes secondaires sur fond clair (AA) */
  --lavande: #8F95CC;        /* motif de faïence */
  --lavande-pale: #E4E6F3;   /* filets, surfaces teintées */
  --porcelaine: #F5F6FA;     /* fond des sections alternées */
  --blanc: #FFFFFF;          /* le mur de la devanture */
  --ardoise: #2D3346;        /* le panneau de la façade */
  --ardoise-fonce: #232838;
  --craie: #F3F2EC;
  --craie-douce: #C9CCD8;    /* texte secondaire sur ardoise (AA) */
  --craie-trait: rgba(243, 242, 236, .32);
  --lavande-craie: #C9CCEB;  /* sous-titre sur fond sombre */
  --corde: #AE9E70;
  --corde-fonce: #7A6B41;
  --ouvert: #93D8B8;
  --ferme: #F4AA93;

  --f-titre: "Besley", Georgia, "Times New Roman", serif;
  --f-texte: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-craie: "Playwrite FR Moderne", "Segoe Print", "Bradley Hand", cursive;

  --largeur: 1180px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --entete: 68px;
  --sortie: cubic-bezier(.2, .8, .2, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
}

body {
  margin: 0;
  background: var(--blanc);
  color: var(--encre);
  font-family: var(--f-texte);
  font-size: 1.125rem;
  line-height: 1.6;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

img,
svg { display: block; max-width: 100%; height: auto; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--f-titre);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

address { font-style: normal; }

.conteneur {
  width: min(100% - 2 * var(--gouttiere), var(--largeur));
  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;
}

.evitement {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--encre);
  color: var(--blanc);
  font-weight: 700;
  border-radius: 6px;
}
.evitement:focus { top: 12px; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 11px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.bouton svg { width: 20px; height: 20px; flex: none; }

.bouton--encre { background: var(--encre); color: var(--blanc); }
.bouton--encre:hover { background: var(--encre-vive); }

.bouton--craie { background: var(--craie); color: var(--encre); }
.bouton--craie:hover { background: var(--blanc); }

.bouton--trait { background: transparent; color: inherit; border-color: currentColor; }
.bouton--trait:hover { background: color-mix(in srgb, currentColor 10%, transparent); }

.bouton--petit { min-height: 42px; padding: 8px 18px; font-size: 1rem; }

.bouton[disabled] { opacity: .6; cursor: progress; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .95);
  border-bottom: 1px solid var(--lavande-pale);
}
@supports (backdrop-filter: blur(8px)) {
  .entete { background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.3) blur(10px); }
}

.entete__in {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--entete);
}

.marque {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-titre);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
  white-space: nowrap;
}
.marque img { width: 44px; height: 44px; }

.nav { margin-left: auto; }
.nav__liste {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav__liste a {
  display: inline-block;
  padding: 8px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.nav__liste a:hover,
.nav__liste a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; }

/* Statut en direct dans l'en-tête (rempli par main.js) */
.entete__statut {
  display: none;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: .95rem;
  font-weight: 600;
  color: var(--encre-douce);
  white-space: nowrap;
}
.entete__statut[data-etat] { display: inline-flex; }
.entete__statut::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #C2C6DF;
}
.entete__statut[data-etat="ouvert"]::before { background: #2E9B6E; box-shadow: 0 0 0 3px rgba(46, 155, 110, .18); }
.entete__statut[data-etat="ferme"]::before { background: #C8553D; }
.entete__statut-etat { color: var(--encre); }

.entete__tel { white-space: nowrap; }

/* Menu hamburger (tablette en portrait et mobile, voir plus bas) */
.menu-bouton { display: none; }
.nav__contact { display: none; }

/* ---------- Devanture (héros) ---------- */
.devanture {
  --assiette: clamp(150px, 15vw, 214px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--entete));
  padding: calc(var(--assiette) * .6 + clamp(24px, 4vw, 48px)) 0 clamp(44px, 6vw, 80px);
  background: var(--ardoise-fonce);
}

/* L'étal en fond, sous un voile bleu nuit */
.devanture__photo,
.devanture__photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.devanture__photo { z-index: -2; }
.devanture__photo img {
  object-fit: cover;
  object-position: 50% 45%;
  animation: decor 2.4s var(--sortie) both;
}
.devanture::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 55% at 50% 52%, rgba(20, 24, 42, .38), rgba(20, 24, 42, 0) 70%),
    linear-gradient(180deg, rgba(20, 24, 42, .42) 0%, rgba(20, 24, 42, .3) 35%, rgba(20, 24, 42, .78) 100%);
}

/* La vitrine : verre teinté, dépoli, reflet en biais et filet doré d'enseigne */
.vitrine {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin-inline: auto;
  padding: calc(var(--assiette) * .44 + 18px) clamp(22px, 5vw, 68px) clamp(30px, 4vw, 46px);
  text-align: center;
  color: var(--craie);
  background:
    linear-gradient(152deg, rgba(255, 255, 255, .17) 0%, rgba(255, 255, 255, .05) 32%, rgba(255, 255, 255, 0) 56%),
    rgba(24, 29, 48, .5);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  backdrop-filter: blur(22px) saturate(1.35);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 32px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 -1px 0 rgba(255, 255, 255, .06),
    0 50px 90px -44px rgba(4, 7, 20, .8);
}
.vitrine::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(195, 176, 131, .4);
  border-radius: 23px;
  pointer-events: none;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .vitrine { background-color: rgba(24, 29, 48, .88); }
}

.vitrine__assiette {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 1;
  width: var(--assiette);
  height: auto;
  translate: -50% -58%;
  transform-origin: 50% 6%;
  filter: drop-shadow(0 18px 22px rgba(4, 7, 20, .5));
  animation: accroche 1.5s cubic-bezier(.25, .8, .35, 1) .15s both;
}

/* Au chargement : l'étal se pose derrière et l'assiette qu'on vient d'accrocher se balance.
   L'assiette reste visible dès le départ : elle sert aussi d'élément partagé entre les pages. */
@keyframes accroche {
  0% { rotate: -9deg; }
  55% { rotate: 3deg; }
  78% { rotate: -1.2deg; }
  100% { rotate: 0deg; }
}
@keyframes decor {
  from { scale: 1.07; }
  to { scale: 1; }
}

.vitrine h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--craie);
  text-shadow: 0 2px 26px rgba(4, 7, 20, .35);
}
.vitrine h1 .h1-ville {
  display: block;
  margin-top: .42em;
  font-size: .44em;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--lavande-craie);
}

.vitrine__intro {
  max-width: 34em;
  margin: 22px auto 0;
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  color: rgba(243, 242, 236, .92);
}

/* Le statut, écrit à la craie liquide sur la vitrine */
.statut {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 2.4em;
  margin: 22px 0 24px;
  font-family: var(--f-craie);
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.5;
}
.statut::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--craie-douce);
  box-shadow: 0 0 0 5px rgba(243, 242, 236, .08);
}
.statut[data-etat="ouvert"]::before { background: var(--ouvert); }
.statut[data-etat="ferme"]::before { background: var(--ferme); }

.statut__note {
  display: block;
  margin-top: -14px;
  margin-bottom: 22px;
  font-size: 1rem;
  color: var(--craie-douce);
}
.statut__note:empty { display: none; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.vitrine .actions { justify-content: center; }

.vitrine__horaires {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 26px;
  margin: 30px 0 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(243, 242, 236, .16);
  font-size: 1rem;
  color: var(--craie-douce);
}
.vitrine__horaires strong { color: var(--craie); font-weight: 700; }

/* ---------- Corde (séparateur) ---------- */
.corde {
  height: 12px;
  background: url("../img/corde.svg") repeat-x left center / 12px 12px;
}

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--porcelaine { background: var(--porcelaine); }
.section--mur { background: var(--blanc); }

.section__tete {
  max-width: 44rem;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__tete h2 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
.section__tete p {
  margin-top: 18px;
  font-size: clamp(1.125rem, 1.4vw, 1.25rem);
  color: var(--encre-douce);
}

/* ---------- L'ardoise du jour, pendue au mur par une corde ---------- */
.ardoise { display: grid; justify-items: center; }

.ardoise__accroche {
  width: min(100%, 720px);
  transform-origin: 50% 3%;
}

.ardoise__ficelle { width: 100%; height: auto; margin-bottom: -2px; overflow: visible; }
.ardoise__corde { fill: none; stroke: var(--corde); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.ardoise__torsade { fill: none; stroke: var(--corde-fonce); stroke-width: 5; stroke-dasharray: 2.5 5.5; stroke-linejoin: round; }
.ardoise__clou { fill: #4A5068; }
.ardoise__clou-reflet { fill: #C9CCD8; }

.tableau {
  position: relative;
  padding: clamp(28px, 5vw, 50px) clamp(20px, 5vw, 56px) clamp(30px, 5vw, 50px);
  color: var(--craie);
  background:
    radial-gradient(120% 70% at 28% 18%, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0) 60%),
    radial-gradient(90% 60% at 82% 92%, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 70%),
    var(--ardoise) url("../img/grain.svg");
  border: 12px solid #1A1F2E;
  border-radius: 18px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .06),
    inset 0 0 44px rgba(0, 0, 0, .35),
    0 36px 60px -32px rgba(30, 40, 102, .55);
}
/* Les œillets où passe la corde */
.tableau::before,
.tableau::after {
  content: "";
  position: absolute;
  top: -22px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--corde);
  border-radius: 50%;
}
.tableau::before { left: calc(13.3% - 20px); }
.tableau::after { right: calc(13.3% - 20px); }

.tableau__titre {
  margin: 0 0 4px;
  font-family: var(--f-craie);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-align: center;
  color: var(--craie);
}

.tableau__maj {
  margin: 0 0 22px;
  font-size: 1rem;
  text-align: center;
  color: var(--craie-douce);
}

.tableau__annonce {
  margin: 0 0 22px;
  padding: 12px 16px;
  border: 1.5px dashed var(--craie-trait);
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  color: var(--craie);
}

.tableau__liste {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tableau__ligne {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: baseline;
  font-family: var(--f-craie);
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  line-height: 1.55;
}

.tableau__nom {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 0;
}
.tableau__nom::after {
  content: "";
  flex: 1 1 16px;
  min-width: 12px;
  border-bottom: 2px dotted var(--craie-trait);
  translate: 0 -5px;
}
.tableau__ligne--sans-prix .tableau__nom::after { display: none; }

.tableau__prix { white-space: nowrap; }

.tableau__detail {
  grid-column: 1 / -1;
  font-family: var(--f-texte);
  font-size: .98rem;
  line-height: 1.4;
  color: var(--craie-douce);
}

.tableau__mot {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1.5px dashed var(--craie-trait);
  font-family: var(--f-craie);
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: center;
}

.tableau__vide { margin-top: 14px; text-align: center; }
.tableau__vide p { max-width: 34em; margin-inline: auto; color: var(--craie-douce); }
.tableau__vide .tableau__accroche {
  margin: 0 auto 14px;
  font-family: var(--f-craie);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.6;
  color: var(--craie);
}

.tableau__reseaux {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

/* ---------- L'étal ---------- */
.familles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(56px, 7vw, 96px) clamp(40px, 6vw, 96px);
}

.famille__gravure {
  display: flex;
  align-items: flex-end;
  height: clamp(118px, 13vw, 158px);
  margin-bottom: 26px;
}
.famille__gravure img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
}

.famille h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.3vw, 1.95rem);
}
.famille > p { max-width: 32em; color: var(--encre-douce); }

.especes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--lavande-pale);
}
.especes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  background: linear-gradient(var(--lavande-pale), var(--lavande-pale)) left bottom / 100% 1px no-repeat;
  font-size: 1.0625rem;
}
.especes i {
  font-family: var(--f-titre);
  font-size: .95rem;
  color: var(--encre-douce);
  text-align: right;
}

/* L'étiquette réglementaire, expliquée avec un exemple */
.etiquette {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(64px, 8vw, 104px);
  padding-top: clamp(48px, 6vw, 72px);
  border-top: 1px solid var(--lavande-pale);
}
.etiquette h3 { font-size: clamp(1.45rem, 2.1vw, 1.8rem); margin-bottom: 12px; }
.etiquette p { max-width: 34em; color: var(--encre-douce); }

.etiquette__exemple {
  position: relative;
  width: min(330px, 100%);
  margin: 0;
  padding: 20px 22px 20px 44px;
  background: var(--blanc);
  border: 1px solid #D5D8EB;
  border-radius: 8px;
  box-shadow: 0 18px 30px -22px rgba(30, 40, 102, .45);
  rotate: -2deg;
  transform-origin: 22px 50%;
  font-size: 1rem;
  line-height: 1.45;
}
.etiquette__exemple::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border: 2px solid #C2C6DF;
  border-radius: 50%;
  background: var(--porcelaine);
}
.etiquette__exemple figcaption {
  margin-bottom: 8px;
  font-size: .875rem;
  color: var(--encre-douce);
}
.etiquette__exemple dl { margin: 0; }
.etiquette__exemple dt { font-family: var(--f-titre); font-size: 1.25rem; font-weight: 700; }
.etiquette__exemple dd { margin: 0; }
.etiquette__exemple .latin { font-family: var(--f-titre); font-style: italic; }

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(32px, 4vw, 56px);
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--lavande-pale);
}
.service h3 { margin-bottom: 8px; font-size: 1.35rem; }
.service p { color: var(--encre-douce); }

/* ---------- Plateaux (accroche sur l'accueil) ---------- */
.plateaux {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.plateaux__gravures {
  position: relative;
  min-height: clamp(260px, 30vw, 380px);
}
.plateaux__gravures .g-crabe {
  position: absolute;
  left: 4%;
  top: 0;
  width: 46%;
}
.plateaux__gravures .g-huitres {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 60%;
}

.plateaux__texte h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-bottom: 20px; }
.plateaux__texte p { max-width: 30em; font-size: 1.1875rem; color: var(--encre-douce); }
.plateaux__texte .actions { margin-top: 28px; }

/* ---------- La maison ---------- */
.maison {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
}

.maison__photo { margin: 0; }
.maison__photo img {
  width: 100%;
  aspect-ratio: 640 / 815;
  object-fit: cover;
  border-radius: 4px;
}
.maison__photo figcaption {
  margin-top: 12px;
  font-size: .95rem;
  color: var(--encre-douce);
}

.maison__texte h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); margin-bottom: 24px; }
.maison__texte p { max-width: 34em; font-size: 1.1875rem; }

.citation {
  margin: 36px 0 0;
  padding: 26px 0 0;
  border-top: 1px solid var(--lavande);
}
.citation p {
  margin: 0;
  font-family: var(--f-titre);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.35;
}
.citation footer {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--encre-douce);
}

/* ---------- Horaires et accès ---------- */
.horaires {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.jours {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.0625rem;
}
.jours th,
.jours td {
  padding: 11px 12px;
  border-bottom: 1px solid var(--lavande-pale);
}
.jours th { text-align: left; font-weight: 600; }
.jours td { text-align: right; font-variant-numeric: tabular-nums; }
.jours .jours__ferme td { color: var(--encre-douce); }
.creneau,
.plage { white-space: nowrap; }
.creneau + .creneau::before { content: "et "; }
.jours tr.est-aujourdhui { background: var(--lavande-pale); }
.jours tr.est-aujourdhui th::after {
  content: " (aujourd’hui)";
  font-weight: 400;
  color: var(--encre-douce);
}

.jours__note { margin-top: 14px; font-size: 1rem; color: var(--encre-douce); }
.jours__note:empty { display: none; }

.acces { margin-top: 36px; }
.acces h3 { font-size: 1.4rem; margin-bottom: 10px; }
.acces address { font-size: 1.1875rem; margin-bottom: 14px; }
.acces ul {
  margin: 0;
  padding-left: 1.1em;
  color: var(--encre-douce);
}
.acces li + li { margin-top: 6px; }

.liens-carte {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.plan {
  position: sticky;
  top: calc(var(--entete) + 24px);
  margin: 0;
}
.plan__carte { position: relative; }
.plan__carte > img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--lavande-pale);
}
.plan figcaption {
  margin-top: 10px;
  font-size: .9rem;
  color: var(--encre-douce);
}

/* La boutique sur le plan : l'assiette plantée comme une punaise */
.plan__repere {
  position: absolute;
  left: 50.1%;
  top: 51.4%;
  width: 0;
  height: 0;
}
.plan__repere::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--encre);
  box-shadow: 0 0 0 3px var(--blanc);
}
.plan__epingle {
  position: absolute;
  left: 0;
  bottom: 4px;
  display: grid;
  justify-items: center;
  width: max-content;
  translate: -50% 0;
  filter: drop-shadow(0 8px 10px rgba(20, 24, 50, .35));
}
.plan__epingle img {
  width: clamp(44px, 5vw, 56px);
  max-width: none; /* le repère fait 0 px de large : pas de max-width en % */
  height: auto;
  border: 4px solid var(--blanc);
  border-radius: 50%;
  background: var(--blanc);
}
.plan__epingle::after {
  content: "";
  width: 0;
  height: 0;
  margin-top: -2px;
  border: 8px solid transparent;
  border-top: 12px solid var(--blanc);
  border-bottom: 0;
}
.plan__onde {
  position: absolute;
  left: -34px;
  top: -34px;
  width: 68px;
  height: 68px;
  border: 2px solid var(--encre);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
}

/* ---------- Questions fréquentes ---------- */
.faq {
  max-width: 52rem;
  border-top: 1px solid var(--lavande);
}
.faq details { border-bottom: 1px solid var(--lavande); }
.faq summary {
  position: relative;
  padding: 22px 52px 22px 0;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 600;
  line-height: 1.3;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  translate: 0 -75%;
  rotate: 45deg;
  transition: rotate .2s ease, translate .2s ease;
}
.faq details[open] summary::after { rotate: -135deg; translate: 0 -25%; }
.faq summary:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq details > div { max-width: 44rem; padding: 0 0 24px; color: var(--encre-douce); }

/* ---------- Pied de page ---------- */
.pied {
  padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom));
  background: var(--encre) url("../img/faience.svg");
  color: #E6E8F6;
  font-size: 1.0625rem;
}
.pied a { color: var(--blanc); }

.pied__grille {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}

.pied__marque {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  font-family: var(--f-titre);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--blanc);
}
.pied__marque img { width: 64px; height: 64px; }

.pied__titre {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--blanc);
}

.pied ul { margin: 0; padding: 0; list-style: none; }
.pied li + li { margin-top: 6px; }

.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  font-size: .95rem;
  color: #C3C7E4;
}
.pied__bas p { margin: 0; }

/* ---------- Barre d'actions mobile ---------- */
.barre-mobile {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--lavande-pale);
  box-shadow: 0 -10px 24px -18px rgba(30, 40, 102, .5);
}
.barre-mobile .bouton { min-height: 50px; padding-inline: 10px; }
/* Cachée tant que les boutons principaux de la page sont à l'écran (main.js) */
.barre-mobile.est-cachee {
  translate: 0 calc(100% + 12px);
  visibility: hidden;
  transition: translate .3s var(--sortie), visibility 0s .3s;
}
.barre-mobile:not(.est-cachee) { transition: translate .35s var(--sortie), visibility 0s; }

/* ---------- Pages intérieures ---------- */
.fil {
  padding-top: 24px;
  font-size: 1rem;
  color: var(--encre-douce);
}
.fil ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.fil li + li::before { content: "/"; margin-right: 6px; color: var(--lavande); }

.intro-page {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 8vw, 104px);
}
.intro-page h1 { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: 1.04; letter-spacing: -.02em; }
.intro-page__chapo {
  max-width: 32em;
  margin: 24px 0 30px;
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
  color: var(--encre-douce);
}
.intro-page__gravure { position: relative; min-height: 300px; }
.intro-page__gravure .g-crabe { width: 52%; margin-left: 6%; }
.intro-page__gravure .g-huitres { position: absolute; right: 0; bottom: 0; width: 64%; }

.etapes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px clamp(32px, 4vw, 56px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: etape;
}
.etapes li { counter-increment: etape; }
.etapes li::before {
  content: counter(etape);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border: 1.5px solid var(--encre);
  border-radius: 50%;
  font-family: var(--f-titre);
  font-size: 1.2rem;
  font-weight: 700;
}
.etapes h3 { margin-bottom: 8px; font-size: 1.4rem; }
.etapes p { color: var(--encre-douce); }

.composition {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.composition li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  background: linear-gradient(var(--lavande-pale), var(--lavande-pale)) left bottom / 100% 1px no-repeat;
}
.composition strong { font-weight: 600; }
.composition i { font-family: var(--f-titre); font-size: .95rem; color: var(--encre-douce); text-align: right; }
.composition__note { max-width: 40em; margin-top: 28px; color: var(--encre-douce); }

/* ---------- Bon de commande ---------- */
.commande {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
.commande__aside h2 { font-size: clamp(2rem, 3.8vw, 3rem); margin-bottom: 18px; }
.commande__aside p { color: var(--encre-douce); }
.commande__aside .bouton { margin-top: 12px; }

.formulaire {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 24px;
  padding: clamp(24px, 4vw, 44px);
  background: var(--blanc);
  border: 1px solid var(--lavande-pale);
  border-radius: 18px;
}

.champ { display: grid; gap: 8px; align-content: start; min-width: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label,
.champ legend { font-weight: 600; }
.champ legend { padding: 0; margin-bottom: 8px; }
.champ fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.champ .aide { font-size: .95rem; color: var(--encre-douce); }
.obligatoire { color: var(--encre-douce); font-weight: 400; }

.formulaire input[type="text"],
.formulaire input[type="tel"],
.formulaire input[type="email"],
.formulaire input[type="date"],
.formulaire input[type="number"],
.formulaire select,
.formulaire textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  font: inherit;
  font-size: 1.0625rem;
  color: var(--encre);
  background: var(--blanc);
  border: 1.5px solid #7C83B5;
  border-radius: 10px;
  appearance: none;
}
.formulaire select {
  padding-right: 42px;
  background-image: linear-gradient(45deg, transparent 50%, var(--encre) 50%), linear-gradient(135deg, var(--encre) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 16px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.formulaire textarea { min-height: 150px; resize: vertical; }
.formulaire input:focus-visible,
.formulaire select:focus-visible,
.formulaire textarea:focus-visible { border-color: var(--encre); outline-offset: 1px; }
.formulaire [aria-invalid="true"] { border-color: #B3261E; }

.choix { display: flex; flex-wrap: wrap; gap: 10px; }
.choix label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 18px;
  border: 1.5px solid #7C83B5;
  border-radius: 999px;
  font-weight: 400;
  cursor: pointer;
}
.choix input { width: 20px; height: 20px; margin: 0; accent-color: var(--encre); }
.choix label:has(input:checked) { border-color: var(--encre); background: var(--lavande-pale); }
.choix label:has(input:disabled) { opacity: .5; cursor: not-allowed; }

.champ .case { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; }
.case input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--encre); }

.erreur-champ { font-size: .95rem; font-weight: 600; color: #B3261E; }
.erreur-champ:empty { display: none; }

.pot-de-miel { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.formulaire__envoi { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.formulaire__envoi p { margin: 0; font-size: .95rem; color: var(--encre-douce); }

.message-envoi {
  grid-column: 1 / -1;
  padding: 16px 18px;
  border-radius: 10px;
  font-weight: 600;
}
.message-envoi:empty { display: none; }
.message-envoi[data-type="ok"] { background: #E3F4EC; color: #145C3C; }
.message-envoi[data-type="erreur"] { background: #FBE9E7; color: #8C1D18; }

/* ---------- Pages de texte (mentions légales) ---------- */
.texte-page { max-width: 46rem; padding-bottom: var(--section); }
.texte-page h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 28px 0 16px; }
.texte-page h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); margin: 48px 0 14px; }
.texte-page h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.texte-page ul { padding-left: 1.2em; }
.texte-page li + li { margin-top: 6px; }
.texte-page .maj { color: var(--encre-douce); }

/* ---------- Page 404 ---------- */
.perdu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 112px);
}
.perdu img { width: min(100%, 340px); margin-inline: auto; }
.perdu h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); margin-bottom: 18px; }
.perdu p { font-size: 1.1875rem; color: var(--encre-douce); max-width: 30em; }
.perdu .actions { margin-top: 28px; }

/* ==========================================================================
   Animations au défilement
   main.js pose .a-reveler sur les éléments [data-reveal] encore sous la ligne de
   flottaison, puis .revele quand ils arrivent à l'écran. Chaque sujet bouge à sa
   façon : le poisson nage, les calmars filent, le crabe marche de côté, l'ardoise
   se balance au bout de sa corde et s'écrit à la craie. Sans JavaScript, ou avec
   « réduire les animations », rien n'est caché et rien ne bouge.
   ========================================================================== */
.a-reveler:not(.revele) { opacity: 0; }

/* Titres : ils sortent de l'eau. (Pas de clip-path avant la révélation : Chrome ne
   signalerait jamais un élément entièrement découpé comme visible à l'écran.) */
[data-reveal="titre"].revele { animation: emerge 1s var(--sortie) both; }
@keyframes emerge {
  from { clip-path: inset(100% -5% -30% -5%); translate: 0 .45em; }
  to { clip-path: inset(-25% -5% -30% -5%); translate: 0 0; }
}

/* Gravures */
[data-reveal="nage"].revele { animation: nage 1.2s cubic-bezier(.3, .7, .3, 1) both; }
[data-reveal="jet"].revele { animation: jet .8s cubic-bezier(.12, .9, .2, 1) both; }
[data-reveal="crabe"].revele { animation: crabe 1.05s linear both; }
[data-reveal="huitres"].revele { animation: huitres 1s cubic-bezier(.3, 1.35, .5, 1) both; }

@keyframes nage {
  0% { opacity: 0; transform: translateX(-80px) rotate(-3deg); }
  50% { opacity: 1; transform: translateX(10px) rotate(2deg); }
  75% { transform: translateX(-3px) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes jet {
  0% { opacity: 0; transform: translateX(-130px) scaleX(.92); }
  35% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes crabe {
  0% { opacity: 0; transform: translateX(90px); }
  12% { opacity: 1; }
  20% { transform: translate(72px, -5px) rotate(2deg); }
  40% { transform: translate(52px, 0) rotate(-1.5deg); }
  60% { transform: translate(32px, -5px) rotate(2deg); }
  80% { transform: translate(12px, 0) rotate(-1deg); }
  100% { opacity: 1; transform: none; }
}
@keyframes huitres {
  0% { opacity: 0; transform: scale(.86) rotate(-5deg); }
  100% { opacity: 1; transform: none; }
}

/* Listes : chaque ligne arrive, son filet se trace */
[data-reveal="liste"].a-reveler:not(.revele) { opacity: 1; }
[data-reveal="liste"].a-reveler > * {
  opacity: 0;
  translate: -12px 0;
  background-size: 0% 1px;
  transition: opacity .5s ease, translate .7s var(--sortie), background-size .9s cubic-bezier(.4, 0, .2, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
[data-reveal="liste"].revele > * { opacity: 1; translate: 0 0; background-size: 100% 1px; }

/* L'étiquette : on l'accroche, elle se balance sur son œillet */
[data-reveal="etiquette"].revele { animation: etiquette 1.3s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes etiquette {
  0% { opacity: 0; rotate: -18deg; translate: 0 -18px; }
  35% { opacity: 1; }
  58% { rotate: 2deg; translate: 0 0; }
  80% { rotate: -3.5deg; }
  100% { opacity: 1; rotate: -2deg; }
}

/* La photo de Marion et Sébastien se développe comme un tirage */
[data-reveal="tirage"].a-reveler:not(.revele) { opacity: 1; }
[data-reveal="tirage"].a-reveler img { transition: filter 2s ease, scale 2s var(--sortie); }
[data-reveal="tirage"].a-reveler:not(.revele) img { filter: sepia(.75) saturate(.45) brightness(1.4) contrast(.75) blur(2px); scale: 1.04; }

/* Les étapes de commande : le numéro est tamponné */
[data-reveal="etapes"].a-reveler:not(.revele) { opacity: 1; }
[data-reveal="etapes"].a-reveler > li {
  opacity: 0;
  translate: 0 14px;
  transition: opacity .6s ease, translate .8s var(--sortie);
  transition-delay: calc(var(--i, 0) * 170ms);
}
[data-reveal="etapes"].revele > li { opacity: 1; translate: 0 0; }
[data-reveal="etapes"].revele > li::before {
  animation: tampon .55s cubic-bezier(.3, 1.6, .5, 1) both;
  animation-delay: calc(var(--i, 0) * 170ms + .15s);
}
@keyframes tampon {
  from { opacity: 0; scale: 1.9; }
  to { opacity: 1; scale: 1; }
}

/* Le plan : l'assiette tombe sur la Grand’Rue et fait des ronds dans l'eau */
[data-reveal="punaise"].a-reveler:not(.revele) { opacity: 1; }
[data-reveal="punaise"].a-reveler:not(.revele) .plan__epingle { opacity: 0; }
[data-reveal="punaise"].revele .plan__epingle { animation: punaise .8s cubic-bezier(.3, 1.55, .55, 1) .25s both; }
[data-reveal="punaise"].revele .plan__onde { animation: onde 2.4s cubic-bezier(.2, .6, .3, 1) .85s both; }
[data-reveal="punaise"].revele .plan__onde:nth-child(2) { animation-delay: 1.3s; }
[data-reveal="punaise"].revele .plan__onde:nth-child(3) { animation-delay: 1.75s; }
@keyframes punaise {
  from { opacity: 0; translate: -50% -80px; }
  35% { opacity: 1; }
  to { opacity: 1; translate: -50% 0; }
}
@keyframes onde {
  from { opacity: .7; scale: .25; }
  to { opacity: 0; scale: 2.3; }
}

/* L'ardoise : elle se balance au bout de sa corde, puis s'écrit à la craie */
[data-reveal="ardoise"].revele { animation: ardoise 1.6s cubic-bezier(.3, .7, .3, 1) both; }
@keyframes ardoise {
  0% { opacity: 0; rotate: -5deg; translate: 0 -16px; }
  22% { opacity: 1; }
  48% { rotate: 2.4deg; translate: 0 0; }
  72% { rotate: -1.1deg; }
  100% { opacity: 1; rotate: 0deg; }
}
.ardoise__accroche.a-reveler:not(.revele) .craie { clip-path: inset(-20% 100% -20% 0); }
.ardoise__accroche.revele .craie {
  animation: ecrire 1s cubic-bezier(.45, .05, .55, .95) both;
  animation-delay: calc(.6s + var(--i, 0) * .32s);
}
@keyframes ecrire {
  from { clip-path: inset(-20% 100% -20% 0); }
  to { clip-path: inset(-20% -4% -20% 0); }
}
.ardoise__accroche.a-reveler .tableau__vide > p:not(.craie),
.ardoise__accroche.a-reveler .tableau__reseaux,
.ardoise__accroche.a-reveler .tableau__maj,
.ardoise__accroche.a-reveler .tableau__annonce,
.ardoise__accroche.a-reveler .tableau__detail { opacity: 0; transition: opacity .9s ease 1.6s; }
.ardoise__accroche.revele .tableau__vide > p:not(.craie),
.ardoise__accroche.revele .tableau__reseaux,
.ardoise__accroche.revele .tableau__maj,
.ardoise__accroche.revele .tableau__annonce,
.ardoise__accroche.revele .tableau__detail { opacity: 1; }

/* ==========================================================================
   Petits détails
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  /* Le point vert bat doucement quand la boutique est ouverte */
  .statut[data-etat="ouvert"]::before { animation: pouls 2.6s ease-out infinite; }

  /* La corde file quand on fait défiler la page (navigateurs compatibles) */
  @supports (animation-timeline: view()) {
    .corde { animation: corde-file linear both; animation-timeline: view(); }
  }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* Le poisson frétille sous la souris ; le téléphone sonne */
  .famille:hover .famille__gravure img { animation: fretille .8s ease-in-out; }
  a[href^="tel:"]:hover svg { animation: sonne .6s ease-in-out; }
  .vitrine__assiette { cursor: grab; }
}
@keyframes menu-ligne {
  from { opacity: 0; translate: 0 10px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes pouls {
  0% { box-shadow: 0 0 0 0 rgba(147, 216, 184, .55); }
  70%, 100% { box-shadow: 0 0 0 12px rgba(147, 216, 184, 0); }
}
@keyframes corde-file {
  from { background-position: 0 50%; }
  to { background-position: 240px 50%; }
}
@keyframes fretille {
  0%, 100% { rotate: 0deg; translate: 0 0; }
  20% { rotate: -2.5deg; translate: -2px 0; }
  45% { rotate: 2deg; translate: 2px 0; }
  70% { rotate: -1deg; translate: 0 0; }
}
@keyframes sonne {
  0%, 100% { rotate: 0deg; }
  15% { rotate: -16deg; }
  30% { rotate: 14deg; }
  45% { rotate: -10deg; }
  60% { rotate: 6deg; }
  75% { rotate: -2deg; }
}

/* ==========================================================================
   Tablette
   ========================================================================== */
@media (max-width: 1020px) {
  .entete__in { gap: 14px; }
  .entete__statut { margin-left: auto; }

  /* Bouton : trois traits qui se croisent quand le menu est ouvert */
  .menu-bouton {
    display: inline-grid;
    place-content: center;
    gap: 5px;
    flex: none;
    width: 46px;
    height: 46px;
    margin-right: -8px;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--encre);
    cursor: pointer;
  }
  .menu-bouton:hover { background: var(--lavande-pale); }
  .menu-bouton__trait {
    display: block;
    width: 24px;
    height: 2.5px;
    border-radius: 2px;
    background: currentColor;
    transition: translate .3s var(--sortie), rotate .3s var(--sortie), opacity .2s ease;
  }
  .menu-bouton[aria-expanded="true"] .menu-bouton__trait:nth-child(1) { translate: 0 7.5px; rotate: 45deg; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__trait:nth-child(2) { opacity: 0; }
  .menu-bouton[aria-expanded="true"] .menu-bouton__trait:nth-child(3) { translate: 0 -7.5px; rotate: -45deg; }

  /* Panneau : descend sous l'en-tête et couvre l'écran */
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100dvh - var(--entete));
    margin: 0;
    padding: 8px var(--gouttiere) calc(28px + env(safe-area-inset-bottom));
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--blanc);
    border-top: 1px solid var(--lavande-pale);
    visibility: hidden;
    opacity: 0;
    translate: 0 -12px;
    transition: opacity .22s ease, translate .3s var(--sortie), visibility 0s .3s;
  }
  .entete.menu-ouvert .nav {
    visibility: visible;
    opacity: 1;
    translate: 0 0;
    transition: opacity .22s ease, translate .3s var(--sortie), visibility 0s;
  }
  .nav__liste { display: block; max-width: 34rem; margin-inline: auto; }
  .nav__liste li { border-bottom: 1px solid var(--lavande-pale); }
  .nav__liste a {
    display: block;
    padding: 18px 0;
    font-family: var(--f-titre);
    font-size: clamp(1.6rem, 6.4vw, 2.1rem);
    font-weight: 700;
    letter-spacing: -.01em;
  }
  .nav__liste a[aria-current="page"] { text-decoration-thickness: 3px; text-underline-offset: .18em; }
  .entete.menu-ouvert .nav__liste li { animation: menu-ligne .5s var(--sortie) both; }
  .entete.menu-ouvert .nav__liste li:nth-child(2) { animation-delay: .05s; }
  .entete.menu-ouvert .nav__liste li:nth-child(3) { animation-delay: .1s; }
  .entete.menu-ouvert .nav__liste li:nth-child(4) { animation-delay: .15s; }

  .nav__contact {
    display: grid;
    gap: 18px;
    max-width: 34rem;
    margin: 30px auto 0;
  }
  .nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .nav__adresse { margin: 0; font-size: 1rem; color: var(--encre-douce); }
  .nav__gravure { width: min(62%, 260px); margin: 18px auto 0; opacity: .9; }
  .entete.menu-ouvert .nav__gravure { animation: nage 1.1s cubic-bezier(.3, .7, .3, 1) .2s both; }

  /* Menu ouvert : la page derrière ne défile plus, la barre du bas s'efface */
  html.menu-ouvert { overflow: hidden; }
  html.menu-ouvert .barre-mobile { visibility: hidden; }

  .pied__grille { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; gap: 28px; }
  .service { max-width: 36em; }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 760px) {
  :root { --entete: 64px; }
  body { font-size: 1.0625rem; padding-bottom: calc(72px + env(safe-area-inset-bottom)); }

  .marque { font-size: 1.15rem; }
  .marque img { width: 40px; height: 40px; }
  .entete__tel { display: none; }

  .devanture { --assiette: clamp(140px, 38vw, 168px); padding-bottom: 32px; }
  .vitrine { padding-inline: 18px; padding-bottom: 26px; border-radius: 26px; }
  .vitrine::after { inset: 8px; border-radius: 19px; }
  .vitrine h1 { font-size: min(2.6rem, calc((100vw - 72px) / 8.4)); }
  .vitrine__intro { margin-top: 16px; }
  .statut { margin: 16px 0 18px; }
  .vitrine .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .vitrine .actions .bouton { min-width: 0; padding-inline: 12px; }
  .bouton__suite {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .vitrine__horaires { display: grid; gap: 2px; margin-top: 22px; padding-top: 16px; }
  .intro-page .actions .bouton { flex: 1 1 100%; }
  .plan { position: static; }

  .tableau { border-width: 9px; padding-inline: 16px; }
  .tableau::before,
  .tableau::after { top: -19px; }
  .tableau__ligne { column-gap: 8px; }

  .familles,
  .plateaux,
  .maison,
  .horaires,
  .etiquette,
  .intro-page,
  .commande,
  .perdu { grid-template-columns: 1fr; }

  .etiquette__exemple { rotate: -1.5deg; justify-self: center; }
  .creneau { display: block; }
  .creneau + .creneau::before { content: none; }
  .plateaux__gravures { min-height: 250px; order: 2; }
  .maison__photo { max-width: 420px; }
  .etapes { grid-template-columns: 1fr; }
  .composition { grid-template-columns: 1fr; }
  .formulaire { grid-template-columns: 1fr; padding: 20px 16px; }
  .intro-page__gravure { min-height: 220px; order: -1; max-width: 360px; }
  .perdu img { width: 220px; }

  .pied__grille { grid-template-columns: 1fr; gap: 32px; }
  .barre-mobile { display: grid; }
}

@media (max-width: 420px) {
  .entete__statut-detail { display: none; }
}

@media (max-width: 380px) {
  .entete__in { gap: 10px; }
  .marque { gap: 10px; font-size: 1.05rem; }
  .marque img { width: 36px; height: 36px; }
  .especes li,
  .composition li { flex-direction: column; gap: 2px; }
  .especes i,
  .composition i { text-align: left; }
}

/* ---------- Transitions entre les pages ----------
   Chrome, Edge et Safari 18.2+ : la page suivante monte en fondu, l'en-tête reste en place
   et l'assiette du logo glisse entre le mur de l'accueil et l'en-tête des autres pages
   (classe .vt-assiette : une seule par page). Ailleurs, la navigation reste classique. */
@view-transition { navigation: auto; }

.entete { view-transition-name: entete; }
.barre-mobile { view-transition-name: barre-mobile; }
.vt-assiette { view-transition-name: assiette; }

::view-transition-old(root) { animation: vt-sortie .22s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-entree .5s var(--sortie) .08s both; }
::view-transition-group(entete) { z-index: 2; }
::view-transition-group(barre-mobile) { z-index: 2; }
::view-transition-group(assiette) {
  z-index: 3; /* l'assiette passe par-dessus l'en-tête (collant, donc peint au-dessus sinon) */
  animation-duration: .62s;
  animation-timing-function: cubic-bezier(.3, 1.2, .45, 1);
}

@keyframes vt-sortie { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-entree { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  html { scroll-behavior: auto; }
  .vitrine__assiette,
  .devanture__photo img,
  .entete.menu-ouvert .nav__liste li,
  .entete.menu-ouvert .nav__gravure { animation: none; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
}

/* ---------- Impression (horaires, adresse) ---------- */
@media print {
  .entete, .barre-mobile, .liens-carte, .actions, .corde, .ardoise__ficelle { display: none !important; }
  body { padding: 0; }
  .devanture { min-height: 0; background: none; }
  .devanture__photo, .devanture::before, .vitrine::after { display: none; }
  .vitrine { background: none; color: #000; box-shadow: none; backdrop-filter: none; border-color: #000; }
  .vitrine h1, .vitrine__intro, .vitrine__horaires, .vitrine__horaires strong, .tableau, .tableau__titre { color: #000; text-shadow: none; }
  .tableau { background: none; border-color: #000; box-shadow: none; }
  .pied { background: none; color: #000; }
}
