/* =====================================================================
   The F2xod Lab's — la feuille du site.

   LA STRUCTURE EST CELLE DE POKAWA (pokawa.com, ordering.pokawa.com) :
   en-tête en pilules flottantes, grand carrousel, rail de catégories,
   bannière pleine largeur, tuiles photo, pied en bande pleine largeur ;
   l'espace de commande avec sa barre sombre, son accueil en deux parties,
   sa carte et son panier latéral.

   LES COULEURS ET LES POLICES SONT CELLES DE F2XOD : fond crème, encre
   presque noire, le rouge du logo ; Oswald pour les titres (comme le menu
   imprimé), Open Sans pour le texte.
   ===================================================================== */

:root {
  --creme: #FFF7EC;
  --creme-fonce: #F6E8D5;
  --blanc: #FFFFFF;
  --encre: #191815;
  --encre-douce: #2A2824;
  --gris: #6E655C;
  --gris-clair: #A39A90;
  --trait: #EBDFCD;
  --rouge: #E41E33;
  --rouge-fonce: #BE1426;
  --rouge-pale: #FDE6E8;
  --vert: #1F8A4C;
  --whatsapp: #1FAF54;

  --titres: 'Oswald', 'Arial Narrow', sans-serif;
  --texte: 'Open Sans', system-ui, -apple-system, sans-serif;

  --largeur: 1240px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --rayon: 24px;
  --rayon-petit: 14px;
  --ombre: 0 18px 40px -22px rgba(25, 24, 21, .35);
  --ombre-pilule: 0 8px 24px -10px rgba(25, 24, 21, .28);
  --hauteur-entete: 92px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0 0 1em; }
ul { margin: 0; padding-inline-start: 18px; }
figure { margin: 0; }

h1, h2, h3, h4 {
  font-family: var(--titres);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: .005em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: 1.4rem; }

.site { min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
.conteneur { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--papier { background: var(--blanc); }
.centre { text-align: center; margin-inline: auto; }
.chapo { color: var(--gris); font-size: 1.12rem; max-width: 60ch; }
.surtitre {
  display: inline-block;
  font-family: var(--titres);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .9rem;
  color: var(--rouge);
  margin-bottom: .6rem;
}
.titre-section { color: var(--rouge); }

/* Les très grands titres, rouges comme ceux du menu imprimé. */
.titre-geant {
  color: var(--rouge);
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  line-height: .95;
  margin: 0 0 clamp(28px, 4vw, 52px);
}
.titre-geant--centre { text-align: center; max-width: 20ch; margin-inline: auto; }

.visuellement-cache {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}
.sans-defilement { overflow: hidden; }
:focus-visible { outline: 3px solid var(--rouge); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .7rem 1.6rem;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s, background-color .15s, color .15s, border-color .15s, box-shadow .15s;
}
.bouton:hover { transform: translateY(-2px); }
.bouton:active { transform: translateY(0); }
.bouton:disabled, .bouton--inactif { opacity: .45; cursor: not-allowed; transform: none !important; }
.bouton svg { flex: none; }
.bouton--rouge { background: var(--rouge); color: var(--blanc); box-shadow: 0 10px 22px -12px rgba(228, 30, 51, .8); }
.bouton--rouge:hover { background: var(--rouge-fonce); }
.bouton--encre { background: var(--encre); color: var(--creme); }
.bouton--creme { background: var(--creme); color: var(--encre); }
.bouton--creme:hover { background: var(--blanc); }
.bouton--contour { border-color: currentColor; background: transparent; }
.bouton--contour-creme { border-color: rgba(255, 247, 236, .7); color: var(--creme); background: transparent; }
.bouton--contour-creme:hover { background: var(--creme); color: var(--encre); }
.bouton--whatsapp { background: var(--whatsapp); color: var(--blanc); }
.bouton--plein { width: 100%; }
.bouton--petit { min-height: 40px; padding: .45rem 1.15rem; font-size: .95rem; }
.bouton--grand { min-height: 56px; font-size: 1.15rem; }
.boutons-ligne { display: flex; flex-wrap: wrap; gap: 12px; }
.boutons { display: grid; gap: 12px; margin-top: 24px; }
.boutons .bouton { justify-content: flex-start; text-transform: none; font-family: var(--texte); font-weight: 600; letter-spacing: 0; }

/* ---------- Petits éléments ---------- */
.carte-blanche { background: var(--blanc); border-radius: var(--rayon); padding: clamp(20px, 3vw, 32px); }
.grille { display: grid; gap: clamp(16px, 2.5vw, 28px); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }

.pastille {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .22rem .7rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  background: var(--rouge-pale);
  color: var(--rouge-fonce);
}
.pastille--vert { background: #DDF2E5; color: var(--vert); }
.pastille--encre { background: var(--encre); color: var(--creme); }
.prix { font-family: var(--titres); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }

.champ { display: grid; gap: .35rem; margin-bottom: 1rem; }
.champ label { font-weight: 600; font-size: .92rem; }
.champ small { color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  min-height: 52px;
  padding: .75rem 1rem;
  border: 1.5px solid var(--trait);
  border-radius: var(--rayon-petit);
  background: var(--blanc);
  font: inherit;
  color: var(--encre);
}
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--encre); outline: none; }

.alerte { padding: .9rem 1.1rem; border-radius: var(--rayon-petit); background: var(--rouge-pale); color: var(--rouge-fonce); font-weight: 600; margin: 0 0 1rem; }
.alerte--info { background: var(--creme-fonce); color: var(--encre); }

.texte-riche { max-width: 72ch; }
.texte-riche h2 { font-size: 1.7rem; margin-top: 2rem; color: var(--rouge); }
.texte-riche h3 { font-size: 1.3rem; margin-top: 1.5rem; }
.texte-riche p, .texte-riche ul, .texte-riche ol { margin: 0 0 1rem; }
.texte-riche a { color: var(--rouge); }

.annonce { background: var(--encre); color: var(--creme); text-align: center; padding: 10px var(--gouttiere); font-weight: 600; font-size: .92rem; }
.annonce a { color: var(--creme); }

.etat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--blanc);
  font-weight: 700;
  font-size: .88rem;
}
.etat__point { width: 9px; height: 9px; border-radius: 50%; background: var(--rouge); }
.etat--ouvert .etat__point { background: var(--vert); box-shadow: 0 0 0 4px rgba(31, 138, 76, .18); }
.etat__plages { font-weight: 400; color: var(--gris); }

/* =====================================================================
   EN-TÊTE — deux pilules blanches flottantes, le logo au milieu.
   ===================================================================== */
.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 14px var(--gouttiere);
  pointer-events: none;
}
.entete__barre {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  max-width: 1400px;
  margin-inline: auto;
}
.entete__barre > * { pointer-events: auto; }

.pilule {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 54px;
  padding: 0 8px;
  background: var(--blanc);
  border-radius: 999px;
  box-shadow: var(--ombre-pilule);
}
.pilule--gauche { justify-self: start; padding-left: 14px; }
.pilule--droite { justify-self: end; padding-right: 6px; }

.entete__logo { display: block; justify-self: center; position: relative; width: 96px; height: 96px; margin-block: -21px; }
.entete__logo img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .2s; }
.entete__logo-creme { opacity: 0; }
body.page-image .entete:not(.entete--defile) .entete__logo-rouge { opacity: 0; }
body.page-image .entete:not(.entete--defile) .entete__logo-creme { opacity: 1; }

.entete__nav { display: flex; align-items: center; }
.entete__liste { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
.entete__ligne { display: flex; align-items: center; }
.entete__lien {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.entete__lien:hover, .entete__lien--actif { color: var(--rouge); }
.entete__lien--secondaire { font-size: .92rem; }
.entete__deplier {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-inline-start: -10px;
  border: 0;
  background: none;
  cursor: pointer;
  transition: transform .2s;
}
.entete__groupe--ouvert .entete__deplier { transform: rotate(180deg); }
.entete__lieu {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-inline-start: 4px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
}
.entete__lieu:hover { background: var(--rouge-fonce); }
.entete__langue {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--trait);
  font-family: var(--titres);
  font-weight: 600;
  font-size: .85rem;
  text-decoration: none;
}
.entete__langue:hover { border-color: var(--encre); }
.entete__panier { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; }
.entete__panier:hover { background: var(--creme); }
.entete__compteur {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--rouge);
  color: var(--blanc);
  font-size: .72rem;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.entete__commander { min-height: 42px; padding: .4rem 1.3rem; margin-inline-start: 4px; box-shadow: none; }
.entete__burger { display: none; border: 0; background: none; padding: 6px; cursor: pointer; }
.entete__seulement-mobile { display: none; }

/* Le méga-menu : un panneau en photos sous les pilules. */
.mega {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  padding: 28px;
  background: var(--blanc);
  border-radius: var(--rayon);
  box-shadow: var(--ombre);
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.entete__groupe--ouvert .mega { display: block; }
.mega__grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px; }
.mega__grille--large { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.mega__tuile { display: grid; gap: 10px; text-decoration: none; }
.mega__image { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--creme-fonce); }
.mega__tuile--large .mega__image { aspect-ratio: 16 / 9; }
.mega__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.mega__image .mega__sans-image { object-fit: contain; padding: 22%; opacity: .5; }
.mega__image--couleur { display: grid; place-items: center; }
.mega__image--couleur img { width: auto; height: 82%; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.mega__image--1 { background: var(--rouge); }
.mega__image--2 { background: var(--encre); }
.mega__image--3 { background: var(--creme-fonce); }
.mega__tuile:hover img { transform: scale(1.05); }
.mega__nom { font-family: var(--titres); font-weight: 600; text-transform: uppercase; font-size: 1.05rem; letter-spacing: .03em; }
.mega__tuile:hover .mega__nom { color: var(--rouge); }

@media (max-width: 1180px) {
  .entete__lien--secondaire { display: none; }
}
@media (max-width: 1020px) {
  :root { --hauteur-entete: 80px; }
  .entete { padding: 10px 12px; }
  .entete__barre { grid-template-columns: auto 1fr auto; }
  .entete__logo { width: 72px; height: 72px; margin-block: -12px; }
  .pilule { height: 50px; }
  .pilule--gauche { padding: 0 4px; }
  .entete__burger { display: grid; place-items: center; width: 42px; height: 42px; }
  .entete__lieu { display: none; }
  .entete__langue { display: none; }
  .entete__seulement-mobile { display: block; }

  .entete__nav {
    position: fixed;
    inset: 0;
    z-index: -1;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 96px 20px 32px;
    background: var(--creme);
    overflow-y: auto;
  }
  .entete__nav--ouverte { display: flex; }
  .entete__liste { flex-direction: column; align-items: stretch; }
  .entete__liste > li { border-bottom: 1px solid var(--trait); }
  .entete__ligne { justify-content: space-between; }
  .entete__lien { height: auto; padding: 18px 4px; font-size: 1.7rem; flex: 1; border-radius: 0; }
  .entete__deplier { width: 44px; height: 44px; margin: 0; }
  .mega { position: static; box-shadow: none; padding: 0 0 18px; background: transparent; }
  .mega::before { display: none; }
  .mega__grille { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .mega__grille--large { grid-template-columns: 1fr 1fr 1fr; }
  .mega__nom { font-size: .85rem; }
  .entete__pied-tiroir { display: flex; flex-direction: column; gap: 6px; padding-top: 18px; }
  .entete__petit-lien { display: inline-flex; align-items: center; gap: 8px; padding: 8px 4px; font-weight: 600; text-decoration: none; }
  .entete__petit-lien svg { color: var(--rouge); }
}
@media (max-width: 460px) {
  .entete__commander { padding: .4rem .9rem; font-size: .9rem; }
  .mega__grille, .mega__grille--large { grid-template-columns: 1fr 1fr; }
}

/* L'en-tête de l'espace de commande : la barre sombre de Pokawa. */
.entete-commande { position: sticky; top: 0; z-index: 40; background: var(--encre); color: var(--creme); }
.entete-commande__barre { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.entete-commande__logo img { width: 58px; height: 58px; }
.entete-commande__liens { display: flex; align-items: center; gap: 10px; }
.entete-commande__lien {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 247, 236, .1);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
}
.entete-commande__lien:hover { background: rgba(255, 247, 236, .2); }
.entete-commande__langue { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255, 247, 236, .3); font-family: var(--titres); font-weight: 600; font-size: .85rem; text-decoration: none; }
.entete-commande__panier { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--rouge); color: var(--blanc); }
@media (max-width: 520px) {
  .entete-commande__lien span { display: none; }
  .entete-commande__lien { width: 40px; padding: 0; justify-content: center; }
}

.pied-commande { padding: 28px 0; color: var(--gris); font-size: .85rem; border-top: 1px solid var(--trait); }
.pied-commande__contenu { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.pied-commande p { margin: 0; }
.pied-commande a { color: var(--gris); }

/* =====================================================================
   ACCUEIL
   ===================================================================== */

/* 1. Le grand carrousel, sous l'en-tête. */
.diaporama { position: relative; margin-top: calc(-1 * var(--hauteur-entete)); background: var(--rouge); }
.diaporama__piste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.diaporama__piste::-webkit-scrollbar { display: none; }
.diapo {
  position: relative;
  flex: 0 0 100%;
  scroll-snap-align: start;
  height: clamp(560px, 92vh, 840px);
  overflow: hidden;
  isolation: isolate;
}
.diapo__lien { display: block; height: 100%; color: inherit; text-decoration: none; }
.diapo picture, .diapo picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.diapo:not(.diapo--marque)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 24, 21, .25), transparent 30%, transparent 55%, rgba(25, 24, 21, .45)); }
.diapo:not(.diapo--marque) .diapo__titre {
  position: absolute;
  left: max(var(--gouttiere), (100% - var(--largeur)) / 2);
  bottom: clamp(64px, 10vh, 120px);
  margin: 0;
  max-width: 12ch;
  color: var(--blanc);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: .92;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .25);
}

/* Le bandeau de la marque, tant que l'ERP n'a pas d'image. */
.diapo--marque { background: var(--rouge); color: var(--creme); }
.diapo--marque::before {
  content: "";
  position: absolute;
  right: -12%;
  top: 50%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--rouge-fonce);
  z-index: -1;
}
.diapo__marque {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  height: 100%;
  width: min(var(--largeur), 100% - 2 * var(--gouttiere));
  margin-inline: auto;
  padding-top: var(--hauteur-entete);
}
.diapo__surtitre { font-family: var(--titres); font-weight: 600; text-transform: uppercase; letter-spacing: .2em; font-size: 1rem; margin-bottom: 14px; color: var(--creme); opacity: .9; }
.diapo--marque .diapo__titre { color: var(--creme); font-size: clamp(3.2rem, 7.4vw, 7rem); line-height: .9; margin: 0 0 24px; max-width: 10ch; }
.diapo__chapo { font-size: 1.15rem; max-width: 42ch; margin-bottom: 30px; color: #FFE9EB; }
.diapo__bols { position: relative; height: min(560px, 70vh); }
.bol {
  position: absolute;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid var(--creme);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .45);
}
.bol--1 { width: min(30vw, 380px); top: 4%; left: 18%; z-index: 2; }
.bol--2 { width: min(20vw, 250px); bottom: 2%; left: 0; }
.bol--3 { width: min(18vw, 220px); bottom: 10%; right: 0; z-index: 3; }
.diapo__pastille {
  position: absolute;
  top: 2%;
  right: 6%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 136px;
  height: 136px;
  padding: 14px;
  border-radius: 50%;
  background: var(--creme);
  color: var(--rouge);
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(10deg);
  box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .5);
}

.diaporama__points { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.diaporama__point { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .25s, background-color .25s; }
.diaporama__point[aria-current="true"] { width: 30px; background: var(--blanc); }

@media (max-width: 860px) {
  .diapo { height: auto; min-height: 600px; }
  .diapo:not(.diapo--marque) { aspect-ratio: 4 / 5; min-height: 0; }
  .diapo__marque { grid-template-columns: 1fr; padding-block: calc(var(--hauteur-entete) + 24px) 48px; gap: 8px; }
  .diapo__bols { height: 300px; order: -1; }
  .bol--1 { width: 210px; left: 50%; top: 0; transform: translateX(-60%); }
  .bol--2 { width: 140px; left: 0; bottom: 0; }
  .bol--3 { width: 130px; right: 0; bottom: 6%; }
  .diapo__pastille { width: 100px; height: 100px; font-size: .8rem; right: 0; }
}

/* 2. Le grand titre et le rail des catégories. */
.accroche { overflow: hidden; }
.accroche__entete { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.accroche .titre-geant { max-width: 14ch; }
.fleches { display: flex; gap: 6px; margin-bottom: clamp(28px, 4vw, 52px); flex: none; }
.fleche { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: transparent; color: var(--encre); cursor: pointer; }
.fleche:hover:not(:disabled) { background: var(--blanc); color: var(--rouge); }
.fleche:disabled { opacity: .25; cursor: default; }

.rail {
  display: flex;
  gap: clamp(16px, 2vw, 26px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: max(var(--gouttiere), (100% - var(--largeur)) / 2);
  padding-inline: max(var(--gouttiere), (100% - var(--largeur)) / 2);
  padding-bottom: 8px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }
.rail__element { flex: 0 0 clamp(200px, 21vw, 280px); scroll-snap-align: start; display: grid; gap: 16px; text-decoration: none; }
.rail__image { display: block; aspect-ratio: 1; border-radius: 22px; overflow: hidden; background: var(--creme-fonce); }
.rail__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .45s; }
.rail__image .rail__sans-image { object-fit: contain; padding: 22%; opacity: .5; transform: none; }
.rail__element:hover img { transform: scale(1.1); }
.rail__nom { font-family: var(--titres); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; line-height: 1.05; }
.rail__element:hover .rail__nom { color: var(--rouge); }
@media (max-width: 700px) {
  .fleches { display: none; }
  .rail__element { flex-basis: 58vw; }
}

/* 3. La bannière, pleine largeur. */
.banniere img { width: 100%; }
.banniere > a { display: block; }
.banniere--marque { background: var(--encre); color: var(--creme); overflow: hidden; }
.banniere__contenu { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 32px; min-height: 440px; padding-block: 56px; }
.banniere__etiquette {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  transform: rotate(-2deg);
}
.banniere__texte h2 { font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: .95; color: var(--creme); margin: 18px 0; }
.banniere__texte p { color: #CFC5B8; font-size: 1.1rem; max-width: 44ch; margin-bottom: 28px; }
.banniere__plats { position: relative; height: 340px; }
.banniere__plats img { position: absolute; width: min(22vw, 270px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--encre-douce); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .6); }
.banniere__plats img:first-child { left: 4%; top: 0; }
.banniere__plats img:nth-child(2) { right: 4%; bottom: 0; }
.banniere__prix {
  position: absolute;
  left: 42%;
  top: 38%;
  display: grid;
  place-items: center;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(-8deg);
  z-index: 2;
}
@media (max-width: 860px) {
  .banniere__contenu { grid-template-columns: 1fr; }
  .banniere__plats { height: 240px; }
  .banniere__plats img { width: 190px; }
}

/* 4. Les tuiles « En savoir plus » : titre en haut, bouton en bas. */
.tuiles { display: grid; gap: clamp(14px, 2vw, 22px); }
.tuiles--1 { grid-template-columns: 1fr; }
.tuiles--2 { grid-template-columns: repeat(2, 1fr); }
.tuiles--3 { grid-template-columns: repeat(3, 1fr); }
.tuiles--4 { grid-template-columns: repeat(4, 1fr); }
.tuiles--appels { margin-top: clamp(14px, 2vw, 22px); }

.tuile-photo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  aspect-ratio: 3 / 4;
  padding: clamp(24px, 3vw, 36px) 20px;
  border-radius: var(--rayon);
  overflow: hidden;
  background: var(--encre);
  color: var(--blanc);
  text-align: center;
  text-decoration: none;
  isolation: isolate;
}
.tuile-photo__fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s; }
.tuile-photo:has(.tuile-photo__fond)::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 24, 21, .45), transparent 40%, transparent 65%, rgba(25, 24, 21, .45)); }
.tuile-photo:hover .tuile-photo__fond { transform: scale(1.05); }
.tuile-photo h3 { font-size: clamp(1.8rem, 2.8vw, 2.5rem); margin: 0; color: inherit; max-width: 12ch; }
.tuile-photo p { margin: 0; max-width: 40ch; }
.tuile-photo--large { aspect-ratio: 16 / 10; }
.tuile-photo--couleur.tuile-photo--1 { background: var(--rouge); }
.tuile-photo--couleur.tuile-photo--1 .bouton { background: var(--creme); color: var(--rouge); box-shadow: none; }
.tuile-photo--couleur.tuile-photo--2 { background: var(--encre); }
.tuile-photo--couleur.tuile-photo--3 { background: var(--creme-fonce); color: var(--encre); }
.tuile-photo--couleur.tuile-photo--4 { background: var(--encre-douce); }
.tuile-photo__bol {
  width: 66%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid rgba(255, 247, 236, .9);
  box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .55);
  transition: transform .45s;
}
.tuile-photo:hover .tuile-photo__bol { transform: rotate(-8deg) scale(1.04); }
@media (max-width: 960px) {
  .tuiles--3, .tuiles--4 { grid-template-columns: repeat(2, 1fr); }
  .tuiles--3 > :last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}
@media (max-width: 600px) {
  .tuiles--2, .tuiles--3, .tuiles--4 { grid-template-columns: 1fr; }
  .tuile-photo, .tuile-photo--large, .tuiles--3 > :last-child { aspect-ratio: 4 / 3.4; }
  .tuile-photo__bol { width: 46%; }
}

/* 5. Le mur Instagram : une grande photo, quatre petites. */
.mur { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 12px; margin-bottom: 36px; }
.mur__element { display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; }
.mur__element:first-child { grid-row: span 2; }
.mur__element img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.mur__element:hover img { transform: scale(1.05); }
@media (max-width: 700px) {
  .mur { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .mur__element:first-child { grid-column: span 2; grid-row: auto; }
}

/* =====================================================================
   PIED DE PAGE — une bande pleine largeur.
   ===================================================================== */
.pied { margin-top: clamp(32px, 5vw, 64px); background: var(--encre); color: var(--creme); border-radius: 40px 40px 0 0; padding-top: clamp(48px, 7vw, 88px); }
.pied a { color: var(--creme); text-decoration: none; }
.pied a:hover { color: var(--blanc); text-decoration: underline; }
.pied .bouton:hover { text-decoration: none; }
.pied__appel { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid #36322D; }
.pied__appel h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: .95; margin: 0; color: var(--creme); }
.pied__boutons { display: flex; flex-wrap: wrap; gap: 12px; }
.pied__colonnes { display: grid; grid-template-columns: 1.1fr 1fr 1.3fr 1fr; gap: 36px; padding-block: clamp(36px, 5vw, 56px); }
.pied__marque img { width: 140px; height: auto; margin-bottom: 20px; }
.pied__titre { font-size: 1.05rem; letter-spacing: .1em; color: var(--rouge); margin: 0 0 16px; }
.pied__liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: #D9D0C4; font-size: .95rem; }
.pied__horaires { margin-top: 16px; }
.pied__reseaux { display: flex; gap: 10px; }
.pied__reseaux a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #2A2723; }
.pied__reseaux a:hover { background: var(--rouge); }
.pied__bas { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 22px 28px; border-top: 1px solid #36322D; font-size: .85rem; color: #9A9086; }
.pied__bas p { margin: 0; }
.pied__langue { font-weight: 600; border: 1px solid #36322D; border-radius: 999px; padding: 8px 18px; }
@media (max-width: 960px) {
  .pied__colonnes { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pied { border-radius: 28px 28px 0 0; }
  .pied__colonnes { grid-template-columns: 1fr; }
}

/* Les horaires */
.horaires dl { margin: 0; display: grid; gap: 6px; }
.horaires dl > div { display: flex; justify-content: space-between; gap: 16px; }
.horaires dt { font-weight: 600; }
.horaires dd { margin: 0; text-align: end; }
.horaires__aujourd-hui { color: var(--rouge); }
.horaires--compact dl > div { flex-direction: column; gap: 0; font-size: .92rem; color: #D9D0C4; }
.horaires--compact dt { color: var(--creme); }
.horaires--compact dd { text-align: start; }
.horaires__titre { font-size: 1.05rem; margin-top: 24px; }

/* =====================================================================
   PAGES DE CONTENU
   ===================================================================== */
.bandeau { position: relative; padding-block: clamp(36px, 6vw, 80px) clamp(28px, 4vw, 56px); isolation: isolate; }
.bandeau h1 { color: var(--rouge); max-width: 16ch; }
.bandeau--image { color: var(--blanc); min-height: clamp(360px, 52vw, 560px); display: flex; align-items: flex-end; margin: 0 var(--gouttiere); border-radius: var(--rayon); overflow: hidden; }
.bandeau--image h1 { color: var(--blanc); }
.bandeau__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bandeau--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(25, 24, 21, .05), rgba(25, 24, 21, .7)); }
.bandeau--image .chapo { color: #F3EDE4; }
.bandeau__texte { width: min(var(--largeur), 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.bandeau--image .bandeau__texte { padding-inline: clamp(8px, 3vw, 40px); }

.sections { display: grid; gap: clamp(48px, 7vw, 96px); }
.section-alternee { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; scroll-margin-top: var(--hauteur-entete); }
.section-alternee:not(:has(img)) { grid-template-columns: 1fr; }
.section-alternee img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.section-alternee--droite img { order: 2; }
.section-alternee h2 { color: var(--rouge); }
@media (max-width: 820px) {
  .section-alternee { grid-template-columns: 1fr; }
  .section-alternee--droite img { order: 0; }
}

.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.5vw, 24px); }
@media (max-width: 1080px) { .points { grid-template-columns: repeat(2, 1fr); } }
.point { text-align: center; padding: clamp(28px, 3vw, 40px); background: var(--blanc); border-radius: var(--rayon); }
.point__icone { display: inline-grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: var(--rouge); color: var(--blanc); margin-bottom: 18px; }
.point h3 { font-size: 1.6rem; }
.point p { margin: 0; color: var(--gris); }
@media (max-width: 820px) {
  .points { grid-template-columns: 1fr; }
}

.chef { display: grid; grid-template-columns: 380px 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.chef img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
@media (max-width: 820px) {
  .chef { grid-template-columns: 1fr; }
  .chef img { max-width: 280px; }
}

.galerie { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.galerie figcaption { margin-top: 8px; color: var(--gris); font-size: .9rem; }

.faq { display: grid; gap: 10px; max-width: 880px; margin-inline: auto; }
.faq details { background: var(--blanc); border-radius: var(--rayon-petit); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--titres); font-size: 1.6rem; line-height: 1; color: var(--rouge); }
.faq details[open] summary::after { content: "–"; }
.faq details .texte-riche { padding-bottom: 20px; }

/* Infos & contact */
.contact-section { padding-top: 0; }
.contact-ligne { display: flex; gap: 12px; align-items: flex-start; }
.contact-ligne svg { flex: none; color: var(--rouge); margin-top: 2px; }
.zone__frais { font-weight: 600; margin: 0 0 6px; }
.zone__quartiers { color: var(--gris); margin: 0; }

/* Entreprises et Traiteur (le modèle « Pokawa Pro ») */
.pro-bandeau { position: relative; padding-block: clamp(48px, 8vw, 120px); isolation: isolate; }
.pro-bandeau h1 { max-width: 13ch; color: var(--rouge); }
.pro-bandeau--image { color: var(--blanc); min-height: clamp(480px, 70vh, 720px); display: flex; align-items: center; margin: 0 var(--gouttiere); border-radius: var(--rayon); overflow: hidden; }
.pro-bandeau--image h1 { color: var(--blanc); }
.pro-bandeau__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.pro-bandeau--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(25, 24, 21, .75), rgba(25, 24, 21, .1)); }
.pro-bandeau .chapo { font-size: clamp(1.1rem, 1.6vw, 1.35rem); margin-bottom: 28px; }
.pro-bandeau--image .chapo { color: #F3EDE4; }
.pro-bandeau__texte { padding-inline: clamp(0px, 3vw, 40px); }

.arguments { background: var(--rouge); color: var(--blanc); margin-top: clamp(24px, 4vw, 48px); }
.arguments__liste { list-style: none; padding: 20px 0; margin-block: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 40px; font-family: var(--titres); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; font-size: 1.15rem; }
.arguments__liste li { display: inline-flex; align-items: center; gap: 8px; }

.formules { display: grid; gap: clamp(16px, 3vw, 32px); }
.formules--2 { grid-template-columns: repeat(2, 1fr); }
.formule { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; }
.formule img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.formule__texte { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: clamp(22px, 3vw, 36px); flex: 1; }
.formule__texte h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0; color: var(--rouge); }
.formule__texte .bouton { margin-top: auto; }
.formule__prix { color: var(--encre); margin: 4px 0 14px; font-size: 1.5rem; }

.references { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: clamp(16px, 2.5vw, 28px); }
.reference img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); margin-bottom: 14px; }
.reference h3 { margin: 0 0 4px; font-size: 1.35rem; }
.reference p { margin: 0; color: var(--gris); }

.pro-contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; background: var(--encre); color: var(--creme); border-radius: 32px; padding: clamp(28px, 5vw, 64px); }
#contact { scroll-margin-top: var(--hauteur-entete); }
.pro-contact .titre-geant { font-size: clamp(2rem, 4.4vw, 3.6rem); color: var(--creme); }
.pro-contact .chapo { color: #CFC5B8; }
.conseillers { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; }
.conseiller { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 26px 16px; border-radius: var(--rayon); background: var(--encre-douce); }
.conseiller img, .conseiller__initiale { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; margin-bottom: 6px; }
.conseiller__initiale { display: grid; place-items: center; background: var(--rouge); color: var(--blanc); font-family: var(--titres); font-size: 2.4rem; font-weight: 700; }
.conseiller h3 { margin: 0; font-size: 1.25rem; color: var(--creme); }
.conseiller p { margin: 0 0 8px; color: #CFC5B8; font-size: .88rem; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 860px) {
  .formules--2, .pro-contact { grid-template-columns: 1fr; }
}


/* Le bandeau des pages, aux couleurs de la marque tant que l'ERP n'a pas d'image. */
.bandeau--marque, .pro-bandeau--marque {
  margin: 0 var(--gouttiere);
  border-radius: var(--rayon);
  background: var(--rouge);
  color: var(--creme);
  overflow: hidden;
}
.bandeau--marque h1, .pro-bandeau--marque h1 { color: var(--creme); }
.bandeau--marque .chapo, .pro-bandeau--marque .chapo { color: #FFE4E7; }
.bandeau__texte { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 32px; }
.bandeau--marque { padding-block: clamp(40px, 6vw, 80px); }
.pro-bandeau--marque .pro-bandeau__texte { display: grid; grid-template-columns: 1fr auto; column-gap: 40px; align-items: center; }
.pro-bandeau--marque .pro-bandeau__texte > :not(.bandeau__photos) { grid-column: 1; }
.pro-bandeau--marque .bandeau__photos { grid-column: 2; grid-row: 1 / span 3; }
.pro-bandeau--marque .bouton--rouge { background: var(--creme); color: var(--rouge); box-shadow: none; }
.pro-bandeau--marque .bouton--creme { background: transparent; color: var(--creme); border-color: rgba(255, 247, 236, .7); }
.bandeau__photos { display: flex; align-items: center; }
.bandeau__photos img { width: clamp(140px, 17vw, 230px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--creme); box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .5); }
.bandeau__photos img + img { margin-inline-start: -40px; margin-top: 90px; }
@media (max-width: 760px) {
  .bandeau__texte, .pro-bandeau--marque .pro-bandeau__texte { grid-template-columns: 1fr; }
  .pro-bandeau--marque .bandeau__photos { grid-column: 1; grid-row: auto; }
  .bandeau__photos img { width: 130px; }
  .bandeau__photos img + img { margin-top: 40px; }
}

/* Les sections de secours de « Notre cuisine » : la photo ronde du plat. */
.section-alternee--rond img { width: min(100%, 380px); aspect-ratio: 1; justify-self: center; border-radius: 50%; border: 8px solid var(--creme); box-shadow: var(--ombre); }

/* Les formules de secours : la photo ronde sur fond crème. */
.formule__visuel { display: grid; place-items: center; padding: 32px; background: var(--creme-fonce); }
.formule--repli .formule__visuel img { width: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 6px solid var(--blanc); }

/* =====================================================================
   LA CARTE (vitrine) ET LA FICHE D'UN PLAT
   ===================================================================== */
.carte-titre { padding-bottom: clamp(20px, 3vw, 32px); }

.sommaire, .onglets-carte {
  position: sticky;
  top: var(--hauteur-entete);
  z-index: 30;
  background: var(--creme);
}
.sommaire__liste, .onglets-carte__liste { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.sommaire__liste::-webkit-scrollbar, .onglets-carte__liste::-webkit-scrollbar { display: none; }
.sommaire__lien, .onglets-carte__lien {
  flex: none;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--blanc);
  font-family: var(--titres);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 4px 12px -8px rgba(25, 24, 21, .4);
}
.sommaire__lien:hover, .onglets-carte__lien:hover { background: var(--encre); color: var(--creme); }

.categorie { scroll-margin-top: calc(var(--hauteur-entete) + 70px); padding-top: clamp(36px, 5vw, 64px); }
.categorie:last-of-type { padding-bottom: clamp(56px, 8vw, 110px); }
.categorie__bandeau {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(24px, 3vw, 40px) clamp(24px, 4vw, 48px);
  margin-bottom: clamp(20px, 3vw, 32px);
  border-radius: var(--rayon);
  background: var(--encre);
  color: var(--creme);
  overflow: hidden;
}
.categorie__bandeau > img {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: clamp(120px, 15vw, 200px);
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--encre-douce);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .7);
}
.categorie__texte { grid-column: 1; }
.categorie__bandeau .bouton { grid-column: 1; justify-self: start; }
.categorie__bandeau h2 { font-size: clamp(2.2rem, 5vw, 4rem); margin: 0; color: var(--creme); }
.categorie__bandeau p { margin: 10px 0 0; max-width: 60ch; color: #D9D0C4; }
@media (max-width: 560px) {
  .categorie__bandeau { grid-template-columns: 1fr; }
  .categorie__bandeau > img { grid-column: 1; grid-row: auto; width: 120px; order: -1; }
}

.plats { display: grid; gap: clamp(16px, 2.5vw, 26px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.plat { display: flex; flex-direction: column; background: var(--blanc); border-radius: var(--rayon); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.plat:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.plat__visuel { position: relative; display: block; aspect-ratio: 1; margin: 10px 10px 0; border-radius: 18px; overflow: hidden; background: var(--creme-fonce); }
.plat__visuel img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); }
.plat__visuel .plat__sans-photo { object-fit: contain; padding: 20%; opacity: .5; transform: none; }
.plat__badge { position: absolute; top: 12px; left: 12px; background: var(--rouge); color: var(--blanc); }
.plat__corps { display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; flex: 1; }
.plat__nom { font-size: 1.3rem; margin: 0; }
.plat__nom a { text-decoration: none; }
.plat__description { margin: 0; color: var(--gris); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.plat__pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }

.fiche { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.fiche__visuel img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); background: var(--creme-fonce); }
.fiche__visuel .fiche__sans-photo { object-fit: contain; padding: 20%; }
.fiche__categorie { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.fiche__signature { margin-inline-start: 10px; background: var(--rouge); color: var(--blanc); }
.fiche__options { padding-inline-start: 18px; color: var(--gris); }
.fiche__achat { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
.fiche__prix { font-size: 2.2rem; }
.retour { margin-top: 40px; }
@media (max-width: 860px) {
  .fiche { grid-template-columns: 1fr; }
}

/* =====================================================================
   L'ESPACE DE COMMANDE (ordering.pokawa.com)
   ===================================================================== */
body.page-commande { background: var(--creme); }
body.page-commande .sommaire, body.page-commande .onglets-carte { top: 72px; }

.tuiles-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.tuile-mode {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 22px 12px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: var(--creme);
  color: var(--gris);
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .15s, color .15s, transform .15s, border-color .15s;
}
.tuile-mode:hover { transform: translateY(-2px); color: var(--encre); border-color: var(--encre); }
.tuile-mode[aria-checked="true"] { background: var(--encre); color: var(--creme); border-color: var(--encre); }
.tuile-mode[aria-checked="true"] svg { color: var(--rouge); }
.boutique .etat { background: none; padding: 0; border-radius: 0; font-size: .85rem; }

/* 2. La carte : la barre du mode, les onglets, les produits, le panier. */
.barre-mode { background: var(--blanc); border-bottom: 1px solid var(--trait); }
.barre-mode__contenu { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 14px; }
.barre-mode .etat { background: var(--creme); }
.barre-mode__choix { display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 4px 0; text-align: start; cursor: pointer; }
.barre-mode__choix strong { display: block; font-family: var(--titres); text-transform: uppercase; font-size: 1.2rem; letter-spacing: .03em; }
.barre-mode__choix small { display: block; color: var(--gris); }
.barre-mode__icone { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--rouge); color: var(--blanc); flex: none; }
.barre-mode__modifier { margin-inline-start: 10px; padding: 6px 14px; border-radius: 999px; background: var(--creme); font-weight: 700; font-size: .9rem; }
.barre-mode__choix:hover .barre-mode__modifier { background: var(--encre); color: var(--creme); }
.espace__alerte { margin-top: 16px; }

.espace__grille { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(20px, 3vw, 40px); align-items: start; padding-block: 12px clamp(48px, 8vw, 96px); }
.rayon { scroll-margin-top: 140px; padding-top: 28px; }
.rayon__titre { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--rouge); margin-bottom: 6px; }
.rayon__description { color: var(--gris); margin: 0 0 18px; }

.produits { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.produit { position: relative; scroll-margin-top: 150px; }
.produit:target .produit__ouvrir { box-shadow: 0 0 0 3px var(--rouge); }
.produit__ouvrir {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  padding: 10px;
  border: 0;
  border-radius: var(--rayon);
  background: var(--blanc);
  text-align: start;
  cursor: pointer;
  transition: box-shadow .2s, transform .2s;
}
.produit__ouvrir:hover { transform: translateY(-3px); box-shadow: var(--ombre); }
.produit__image { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--creme-fonce); }
.produit__image img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform .4s; }
.produit__ouvrir:hover .produit__image img { transform: scale(1.09); }
.produit__image .produit__sans-photo { object-fit: contain; padding: 20%; opacity: .5; transform: none; }
.produit__badge { position: absolute; top: 10px; left: 10px; background: var(--rouge); color: var(--blanc); }
.produit__texte { display: flex; flex-direction: column; gap: 6px; padding: 14px 6px 6px; flex: 1; }
.produit__nom { font-family: var(--titres); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.produit__description { color: var(--gris); font-size: .88rem; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.produit__prix { margin-top: auto; padding-top: 6px; padding-inline-end: 52px; }
.produit__prix small { color: var(--gris); }
.produit__ajouter {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--rouge);
  color: var(--blanc);
  cursor: pointer;
  box-shadow: 0 8px 18px -8px rgba(228, 30, 51, .8);
  transition: transform .15s, background-color .15s;
}
.produit__ajouter:hover { transform: scale(1.08); background: var(--rouge-fonce); }

.panier-lateral { position: sticky; top: 150px; }
.panier-lateral__boite { background: var(--blanc); border-radius: var(--rayon); padding: 22px; max-height: calc(100vh - 170px); overflow-y: auto; box-shadow: 0 10px 30px -24px rgba(25, 24, 21, .4); }
.panier-lateral__entete { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.panier-lateral__entete h2 { font-size: 1.7rem; margin: 0; }
.panier-lateral__fermer { display: none; border: 0; background: none; padding: 6px; cursor: pointer; }
.panier-lateral__vide { display: grid; justify-items: center; gap: 12px; text-align: center; color: var(--gris); padding: 28px 8px 18px; }
.panier-lateral__vide p { margin: 0; }
.panier-lateral__vide strong { color: var(--encre); }
.panier-lateral__picto { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--creme); color: var(--rouge); }
.panier-lateral__aide { color: var(--gris); font-size: .9rem; }

.lignes { list-style: none; margin: 0; padding: 0; }
.ligne { display: grid; grid-template-columns: 60px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.ligne img { width: 60px; height: 60px; border-radius: 12px; object-fit: cover; }
.ligne:not(:has(img)) { grid-template-columns: 1fr auto; }
.ligne__texte { display: grid; gap: 2px; min-width: 0; }
.ligne__texte strong { line-height: 1.25; font-size: .95rem; }
.ligne__texte small { color: var(--gris); }
.ligne__probleme { color: var(--rouge-fonce) !important; font-weight: 600; }
.ligne__prix { font-size: 1rem; }
.ligne__quantite { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; background: var(--creme); font-weight: 700; }
.ligne__quantite span { min-width: 18px; text-align: center; }
.ligne__quantite button { width: 30px; height: 30px; border-radius: 50%; border: 0; background: var(--blanc); display: grid; place-items: center; cursor: pointer; font-weight: 700; }
.ligne__quantite button:hover { background: var(--encre); color: var(--creme); }

.totaux { margin: 16px 0; display: grid; gap: 8px; }
.totaux > div { display: flex; justify-content: space-between; gap: 12px; }
.totaux dd { margin: 0; font-weight: 600; }
.totaux__total { padding-top: 12px; border-top: 1px solid var(--trait); }
.totaux__total dt, .totaux__total dd { font-family: var(--titres); font-size: 1.5rem; text-transform: uppercase; font-weight: 700; }

.barre-panier {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 45;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 8px 22px 8px 8px;
  border: 0;
  border-radius: 999px;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  box-shadow: var(--ombre);
  cursor: pointer;
}
.barre-panier[hidden] { display: none !important; }
.barre-panier__nombre { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 999px; background: var(--blanc); color: var(--rouge); }

@media (max-width: 980px) {
  .espace__grille { grid-template-columns: 1fr; }
  .barre-panier { display: flex; }
  .panier-lateral { position: fixed; inset: 0; z-index: 60; display: none; background: rgba(25, 24, 21, .55); }
  .panier-lateral--ouvert { display: flex; align-items: flex-end; }
  .panier-lateral__boite { width: 100%; max-height: 88vh; border-radius: 24px 24px 0 0; padding-bottom: 28px; }
  .panier-lateral__fermer { display: block; }
}
@media (max-width: 520px) {
  .produits { grid-template-columns: 1fr 1fr; gap: 10px; }
  .produit__ouvrir { padding: 6px; border-radius: 18px; }
  .produit__nom { font-size: 1rem; }
  .produit__description { display: none; }
  .produit__prix { padding-inline-end: 40px; }
  .produit__ajouter { width: 38px; height: 38px; right: 10px; bottom: 10px; }
}

/* La fenêtre « Personnalisez votre produit » */
.choix { width: min(560px, 100% - 24px); max-height: min(90vh, 900px); padding: 0; border: 0; border-radius: var(--rayon); background: var(--blanc); color: var(--encre); box-shadow: var(--ombre); }
.choix::backdrop { background: rgba(25, 24, 21, .55); }
.choix__corps { display: flex; flex-direction: column; max-height: min(90vh, 900px); }
.choix__entete { position: relative; flex: none; background: var(--creme-fonce); }
.choix__entete img { width: 100%; height: 260px; object-fit: cover; }
.choix__entete:not(:has(img)) { height: 64px; background: transparent; }
.choix__fermer { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--blanc); display: grid; place-items: center; cursor: pointer; box-shadow: var(--ombre-pilule); }
.choix__contenu { padding: 22px 26px; overflow-y: auto; }
.choix__contenu h2 { font-size: 2rem; color: var(--rouge); }
.choix__description { color: var(--gris); margin-top: -4px; }
.choix__groupe { border: 0; padding: 0; margin: 22px 0 0; }
.choix__groupe legend { display: flex; align-items: center; gap: 10px; font-family: var(--titres); font-weight: 600; text-transform: uppercase; font-size: 1.15rem; margin-bottom: 8px; }
.choix__groupe small { font-family: var(--texte); text-transform: none; color: var(--gris); font-weight: 400; }
.choix__option { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 14px; border-radius: var(--rayon-petit); background: var(--creme); margin-bottom: 8px; cursor: pointer; border: 2px solid transparent; }
.choix__option:has(input:checked) { border-color: var(--encre); background: var(--blanc); }
.choix__option input { width: 20px; height: 20px; accent-color: var(--rouge); }
.choix__prix { margin-inline-start: auto; font-weight: 600; color: var(--gris); }
.choix__pied { flex: none; display: flex; gap: 12px; align-items: center; padding: 16px 24px; border-top: 1px solid var(--trait); background: var(--blanc); }
.choix__pied .bouton { flex: 1; }
.choix__quantite { display: flex; align-items: center; gap: 10px; padding: 4px; border-radius: 999px; background: var(--creme); font-weight: 700; }
.choix__quantite button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blanc); display: grid; place-items: center; cursor: pointer; }
.choix__quantite button:disabled { opacity: .3; cursor: not-allowed; }

/* « Vérifiez votre commande » */
.section.validation { padding-top: clamp(28px, 4vw, 48px); }
.validation__retour { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; margin-bottom: 14px; }
.validation__retour:hover { color: var(--rouge); }
.validation .titre-geant { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.validation__grille { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 24px; align-items: start; }
.validation__blocs { display: grid; gap: 16px; }
.bloc-validation__entete { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.bloc-validation__entete h2 { font-size: 1.5rem; margin: 0; }
.bloc-validation__modifier { padding: 6px 14px; border-radius: 999px; background: var(--creme); font-weight: 700; font-size: .9rem; text-decoration: none; }
.bloc-validation__modifier:hover { background: var(--encre); color: var(--creme); }
.bloc-validation__mode { font-family: var(--titres); text-transform: uppercase; font-size: 1.25rem; font-weight: 600; color: var(--rouge); margin: 0 0 14px; }
.bloc-validation__aide { color: var(--gris); font-size: .9rem; margin: 0; }
.bloc-validation .contact-ligne { margin: 0 0 14px; }
.champs-ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.paiement { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 16px 18px; border: 2px solid var(--encre); border-radius: 16px; }
.paiement svg { flex: none; color: var(--rouge); }
.paiement[hidden] { display: none; }
.recap { position: sticky; top: 96px; }
.recap h2 { font-size: 1.7rem; }
.recap__mentions { margin-top: 16px; font-size: .85rem; color: var(--gris); }
.vide { display: grid; justify-items: start; gap: 12px; }
@media (max-width: 980px) {
  .validation__grille { grid-template-columns: 1fr; }
  .recap { position: static; }
}
@media (max-width: 560px) {
  .champs-ligne { grid-template-columns: 1fr; }
}

/* Le suivi : « Commande N° K7MQ4P » */
.suivi { max-width: 660px; }
.suivi__numero { font-size: clamp(1.8rem, 5vw, 2.6rem); margin: 4px 0 22px; }
.suivi__reference { display: block; margin: 6px 0 0; font-family: var(--titres); font-weight: 700; font-size: clamp(3rem, 12vw, 5rem); letter-spacing: .1em; line-height: 1; color: var(--rouge); }
.etapes-suivi { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0; margin: 0 0 22px; }
.etapes-suivi li { padding: 12px 0 0; border-top: 6px solid var(--trait); font-family: var(--titres); font-weight: 600; text-transform: uppercase; color: var(--gris); }
.etapes-suivi .etapes-suivi__faite { border-color: var(--vert); color: var(--encre); }
.etapes-suivi .etapes-suivi__refusee { border-color: var(--rouge); color: var(--rouge); }
.suivi__annonce { font-weight: 600; }
.suivi__statut { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.suivi__petit { color: var(--gris); font-size: .9rem; }
.suivi__lignes { list-style: none; margin: 16px 0 0; padding: 0; border-top: 1px solid var(--trait); }
.suivi__lignes li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--trait); }
.suivi__total { display: flex; justify-content: space-between; align-items: center; font-family: var(--titres); text-transform: uppercase; font-size: 1.3rem; }
.suivi__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

/* ---------- Partout ---------- */
.notification {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 70;
  margin: 0;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  font-weight: 600;
  box-shadow: var(--ombre);
}
.panier-flottant {
  display: none;
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 50;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--rouge);
  color: var(--blanc);
  font-family: var(--titres);
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: var(--ombre);
}
.panier-flottant[hidden] { display: none !important; }
@media (max-width: 1020px) {
  .panier-flottant { display: inline-flex; }
}
.erreur { min-height: 50vh; }
.turbo-progress-bar { height: 3px; background: var(--rouge); }

/* =====================================================================
   LIVRAISON / À EMPORTER, ET UNE COMMANDE FLUIDE
   ===================================================================== */

/* La barre au-dessus de la carte : où se choisit le mode, et l'ouverture. */
.barre-mode__info { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-weight: 600; color: var(--gris); }
.barre-mode__info svg { flex: none; color: var(--rouge); }
.barre-mode__etat { margin-inline-start: auto; }
@media (max-width: 700px) {
  .barre-mode__info { font-size: .88rem; }
  .barre-mode__etat { display: none; }
}

/* L'onglet de la catégorie lue. */
.onglets-carte__lien { transition: background-color .2s, color .2s; }
.onglets-carte__lien--actif { background: var(--rouge); color: var(--blanc); }
.onglets-carte__lien--actif:hover { background: var(--rouge-fonce); color: var(--blanc); }
.onglets-carte { border-bottom: 1px solid var(--trait); }
.onglets-carte__liste { scroll-behavior: smooth; }

/* Combien de fois le plat est au panier. */
.produit__quantite {
  position: absolute;
  right: 10px;
  top: 10px;
  display: none;
  min-width: 40px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--encre);
  color: var(--creme);
  font-family: var(--titres);
  font-weight: 700;
  font-size: 1rem;
  place-items: center;
}
.produit--au-panier .produit__quantite { display: grid; }
.produit--au-panier .produit__ouvrir { box-shadow: 0 0 0 2px var(--encre); }

/* Un ajout se voit. */
@keyframes saut {
  0% { transform: scale(1); }
  35% { transform: scale(1.05); }
  70% { transform: scale(.98); }
  100% { transform: scale(1); }
}
.saut { animation: saut .45s ease; }
.produit__ajouter:active { transform: scale(.9); }

/* Le panier glisse depuis le bas sur téléphone. */
@media (max-width: 980px) {
  .panier-lateral {
    display: flex !important;
    align-items: flex-end;
    visibility: hidden;
    background: rgba(25, 24, 21, 0);
    transition: background-color .3s, visibility 0s .3s;
  }
  .panier-lateral__boite { transform: translateY(100%); transition: transform .32s cubic-bezier(.2, .8, .2, 1); }
  .panier-lateral--ouvert { visibility: visible; background: rgba(25, 24, 21, .55); transition: background-color .3s; }
  .panier-lateral--ouvert .panier-lateral__boite { transform: translateY(0); }
  .panier-lateral__boite::before { content: ""; display: block; width: 44px; height: 5px; margin: -8px auto 14px; border-radius: 99px; background: var(--trait); }
  .espace__commande { padding-bottom: 84px; }
}

/* La fiche d'un plat : au centre sur ordinateur, glissant depuis le bas sur téléphone. */
.choix[open] { animation: apparition .22s ease; }
@keyframes apparition { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .choix { width: 100%; max-width: 100%; max-height: 92vh; margin: auto 0 0; border-radius: 26px 26px 0 0; }
  .choix__corps { max-height: 92vh; }
  .choix[open] { animation: glissement .3s cubic-bezier(.2, .8, .2, 1); }
  .choix__entete img { height: 220px; }
  .choix__pied { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
}
@keyframes glissement { from { transform: translateY(100%); } to { transform: none; } }

/* La validation : sur téléphone, « Commander » reste sous le pouce. */
@media (max-width: 980px) {
  .validation .recap button[type="submit"] {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 45;
    width: auto;
    box-shadow: var(--ombre);
  }
  .validation { padding-bottom: 96px; }
}

/* Le défilement doux vers une catégorie s'arrête sous les onglets. */
.rayon { scroll-margin-top: 150px; }
@media (max-width: 860px) {
  .rayon, .produit { scroll-margin-top: 190px; }
}

/* Le bandeau de la marque grandit avec son contenu (le choix du mode compris). */
.diapo--marque { height: auto; min-height: clamp(600px, 92vh, 860px); }
.diapo__marque { padding-block: calc(var(--hauteur-entete) + 40px) 64px; }
.barre-mode .etat { white-space: nowrap; }
@media (max-width: 1280px) {
  .barre-mode .etat__plages { display: none; }
}
