/* ==========================================================================
   Pizz's & Burg's — feuille de styles
   Univers : néons de nuit et coucher de soleil, dans l'esprit « Vice City ».
   Les polices sont hébergées sur le site : aucun appel à un service tiers,
   donc aucune donnée de visiteur transmise, rien à déclarer.
   ========================================================================== */

@font-face {
  font-family: "Anton";
  src: url("../fonts/anton-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Yellowtail";
  src: url("../fonts/yellowtail-latin.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}

:root {
  /* Nuit */
  --nuit:    #0c0620;
  --nuit-2:  #140a30;
  --carte:   #1b0f45;
  --carte-2: #241360;
  --trait:   rgba(255, 255, 255, .12);

  /* Texte */
  --texte: #f5efff;
  --doux:  #cbbfe9;
  --pale:  #9d8fc7;

  /* Néons */
  --rose:       #ff2e93;
  --rose-fonce: #d10f6f;
  --rose-clair: #ff78b9;
  --violet:     #9b4dff;
  --cyan:       #2de2ff;
  --orange:     #ff8a1f;
  --jaune:      #ffd23f;
  --vert:       #37e39a;
  --rouge:      #ff5577;

  /* Polices */
  --f-titre: "Anton", Impact, "Arial Narrow", sans-serif;
  --f-neon:  "Yellowtail", "Brush Script MT", cursive;
  --f-texte: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --h-entete: 64px;
  --rayon: 14px;
  --lueur-rose: 0 0 6px rgba(255, 46, 147, .8), 0 0 18px rgba(255, 46, 147, .55), 0 0 40px rgba(155, 77, 255, .45);
}

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

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

html {
  scroll-behavior: smooth;
  /* Laisse la place à l'en-tête et à la barre des catégories, collants tous deux. */
  scroll-padding-top: calc(var(--h-entete) + 64px);
}

body {
  margin: 0;
  background: var(--nuit);
  color: var(--texte);
  font: 16px/1.6 var(--f-texte);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:hover { color: #8ff0ff; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

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

.conteneur { width: 100%; max-width: 1160px; margin-inline: auto; padding-inline: 20px; }

.visuellement-cache {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.evitement {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--jaune); color: var(--nuit); padding: 10px 16px; font-weight: 700;
}
.evitement:focus { left: 12px; top: 12px; }

/* --------------------------------------------------------------- Boutons --- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 .98rem/1 var(--f-texte);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: translateY(1px); }

/* Blanc sur rose foncé plutôt que sur rose vif : le contraste du rose néon
   pur est insuffisant pour du texte courant. */
.btn-rose {
  background: var(--rose-fonce); color: #fff;
  box-shadow: 0 0 0 1px rgba(255, 46, 147, .6), 0 0 22px rgba(255, 46, 147, .45);
}
.btn-rose:hover { background: #e3187b; color: #fff; box-shadow: 0 0 0 1px var(--rose), 0 0 32px rgba(255, 46, 147, .7); }

.btn-contour { background: rgba(12, 6, 32, .35); color: var(--texte); border-color: rgba(255, 255, 255, .55); }
.btn-contour:hover { border-color: var(--cyan); color: #fff; box-shadow: 0 0 22px rgba(45, 226, 255, .35); }

.btn-petit { padding: 9px 18px; font-size: .9rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

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

.entete {
  position: sticky; top: 0; z-index: 50;
  height: var(--h-entete);
  background: rgba(12, 6, 32, .82);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border-bottom: 1px solid var(--trait);
}
.entete-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }

.logo {
  display: inline-flex; align-items: center; gap: 6px;
  font: 1.55rem/1 var(--f-titre);
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--texte); text-decoration: none;
}
.logo:hover { color: #fff; }

/* Le « & » dans son rond rose, comme sur l'enseigne. En police de titre et non
   manuscrite : à cette taille, l'esperluette de Yellowtail se lit comme un
   « e » barré, alors que celle de l'enseigne est nette. */
.logo-et {
  display: inline-grid; place-items: center;
  width: 1.3em; height: 1.3em;
  border-radius: 50%;
  background: var(--rose);
  color: #fff;
  font-family: var(--f-titre);
  font-size: .8em;
  line-height: 1;
  box-shadow: 0 0 14px rgba(255, 46, 147, .7);
}

.navigation { display: flex; align-items: center; gap: 6px; }
.navigation a:not(.btn) {
  color: var(--doux); text-decoration: none;
  padding: 8px 12px; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
}
.navigation a:not(.btn):hover { color: #fff; background: rgba(255, 255, 255, .06); }
.navigation .btn { margin-left: 8px; }

.menu-bouton {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--trait); border-radius: 10px;
  background: transparent; color: var(--texte); cursor: pointer;
}
.menu-barres, .menu-barres::before, .menu-barres::after {
  display: block; width: 20px; height: 2px; margin-inline: auto;
  background: currentColor; border-radius: 2px; position: relative;
  transition: transform .2s ease, background .2s ease;
}
.menu-barres::before, .menu-barres::after { content: ""; position: absolute; left: 0; }
.menu-barres::before { top: -6px; }
.menu-barres::after  { top: 6px; }
.menu-bouton[aria-expanded="true"] .menu-barres { background: transparent; }
.menu-bouton[aria-expanded="true"] .menu-barres::before { transform: translateY(6px) rotate(45deg); }
.menu-bouton[aria-expanded="true"] .menu-barres::after  { transform: translateY(-6px) rotate(-45deg); }

/* ----------------------------------------------------------------- Accueil --- */

.hero {
  position: relative;
  min-height: min(92svh, 860px);
  display: flex; align-items: center;
  overflow: hidden;
  isolation: isolate;
}

/* Le ciel : du violet de la nuit au orange de l'horizon. Il s'arrête net à
   l'horizon (86 %) : en dessous, le sol reste sombre, y compris là où la
   grille en perspective — raccourcie par sa rotation — ne descend pas. */
.ciel {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to bottom,
    #1a0838 0%, #3a0f6b 26%, #7a1c96 46%, #c41f86 62%, #ff4f6d 74%, #ff8a3c 82%, #ffb347 86%,
    #1a0736 86%, var(--nuit) 100%);
}

/* Fondu vers la section suivante : l'accueil ne se termine pas sur une coupure nette. */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 0;
  height: 90px;
  background: linear-gradient(to bottom, rgba(12, 6, 32, 0), var(--nuit));
  pointer-events: none;
}

/* Voile sombre derrière le texte : la lisibilité passe avant le décor. */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(12, 6, 32, .78) 0%, rgba(12, 6, 32, .45) 45%, rgba(12, 6, 32, 0) 72%);
  pointer-events: none;
}

.soleil {
  position: absolute;
  left: 68%; bottom: 14%;
  width: min(48vmin, 440px); aspect-ratio: 1;
  transform: translate(-50%, 0);
  border-radius: 50%;
  background: linear-gradient(to bottom, #ffe45c 0%, #ffb13b 38%, #ff5e7a 70%, #ff2e93 100%);
  box-shadow: 0 0 80px rgba(255, 138, 31, .55), 0 0 160px rgba(255, 46, 147, .35);
  /* Les bandes horizontales du soleil « rétro » : la moitié basse est découpée. */
  -webkit-mask-image: linear-gradient(to bottom,
    #000 0 52%, transparent 52% 55%, #000 55% 62%, transparent 62% 66%,
    #000 66% 72%, transparent 72% 77%, #000 77% 82%, transparent 82% 88%, #000 88% 100%);
          mask-image: linear-gradient(to bottom,
    #000 0 52%, transparent 52% 55%, #000 55% 62%, transparent 62% 66%,
    #000 66% 72%, transparent 72% 77%, #000 77% 82%, transparent 82% 88%, #000 88% 100%);
}

.ville {
  position: absolute; left: 0; right: 0; bottom: 14%;
  width: 100%; height: 13vh;
  fill: #2a0b4a;
  opacity: .92;
}

/* Le sol : une grille en perspective qui file vers l'horizon. */
.sol {
  position: absolute; left: -10%; right: -10%; bottom: 0;
  height: 14.5%;
  background:
    linear-gradient(to bottom, rgba(12, 6, 32, 0) 0%, var(--nuit) 92%),
    repeating-linear-gradient(to bottom, rgba(255, 46, 147, .5) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(255, 46, 147, .45) 0 1px, transparent 1px 70px),
    #1a0736;
  transform: perspective(260px) rotateX(55deg);
  transform-origin: top center;
}

.palmier { position: absolute; bottom: 12%; fill: #12061f; }
.palmier-gauche { left: -30px; height: 56vh; }
.palmier-droite { right: -24px; height: 44vh; transform: scaleX(-1); }

.hero-contenu { position: relative; z-index: 1; padding-block: 72px 96px; }

/* Le logo de la maison, posé devant le soleil couchant. Placé derrière le
   texte (z-index négatif dans le contexte du contenu) : si l'écran rétrécit,
   c'est le logo qui passe dessous, jamais le titre. */
.hero-logo {
  position: absolute; z-index: -1;
  right: 20px; top: 50%;
  transform: translateY(-50%);
  height: min(56vh, 460px); width: auto;
  filter: drop-shadow(0 10px 0 rgba(8, 2, 20, .45)) drop-shadow(0 0 32px rgba(255, 138, 31, .35));
  pointer-events: none;
}
@media (max-width: 1100px) {
  .hero-logo { height: min(40vh, 320px); right: 0; }
}
@media (max-width: 860px) {
  .hero-logo {
    position: static; transform: none; display: block;
    height: 150px; margin: 0 0 12px -4px;
    filter: drop-shadow(0 6px 0 rgba(8, 2, 20, .45)) drop-shadow(0 0 22px rgba(255, 138, 31, .3));
  }
}

.pied-logo { width: 150px; height: auto; margin-bottom: 14px; }

.neon-script {
  font-family: var(--f-neon);
  color: var(--rose-clair);
  font-size: 1.7rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 46, 147, .75), 0 0 26px rgba(255, 46, 147, .45);
  margin-bottom: .2em;
}

.hero-sur-titre { font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); }

/* La signature de la maison, juste sous le « XXL ». */
.hero-slogan {
  font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem);
  color: var(--cyan);
  text-shadow: 0 0 10px rgba(45, 226, 255, .7), 0 0 28px rgba(45, 226, 255, .4);
  margin: -8px 0 16px;
}

.hero-titre {
  font-family: var(--f-titre);
  text-transform: uppercase;
  line-height: .95;
  margin-bottom: 22px;
  /* La typographie penchée des écrans de chargement. */
  transform: skewX(-7deg);
  transform-origin: left bottom;
}
.hero-titre .ligne {
  display: block;
  font-size: clamp(2.5rem, 1.4rem + 5vw, 5.4rem);
  color: #fff;
  text-shadow: 3px 3px 0 #1b0336, 0 0 24px rgba(155, 77, 255, .45);
}
.hero-titre .xxl {
  display: block;
  font-size: clamp(5.4rem, 3rem + 13vw, 12rem);
  line-height: .85;
  margin-top: .04em;
  background: linear-gradient(to bottom, #fff27a 0%, #ffd23f 30%, #ff8a1f 62%, #ff2e93 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  -webkit-text-stroke: 2px rgba(27, 3, 54, .9);
  filter: drop-shadow(4px 4px 0 #1b0336) drop-shadow(0 0 22px rgba(255, 46, 147, .6));
  animation: pulsation 3.2s ease-in-out infinite;
}

@keyframes pulsation {
  0%, 100% { filter: drop-shadow(4px 4px 0 #1b0336) drop-shadow(0 0 18px rgba(255, 46, 147, .5)); }
  50%      { filter: drop-shadow(4px 4px 0 #1b0336) drop-shadow(0 0 34px rgba(255, 46, 147, .85)); }
}

.hero-texte {
  max-width: 34em;
  font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem);
  color: #f1e8ff;
  margin-bottom: 28px;
}
.hero-texte strong { color: var(--jaune); }

.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.statut {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(12, 6, 32, .6);
  border: 1px solid var(--trait);
  font-weight: 600; font-size: .95rem;
}
.statut::before {
  content: ""; width: 10px; height: 10px; border-radius: 50%;
  background: var(--pale); flex-shrink: 0;
}
.statut.est-ouvert::before { background: var(--vert); box-shadow: 0 0 10px var(--vert); }
.statut.est-ferme::before  { background: var(--rouge); box-shadow: 0 0 10px var(--rouge); }

.note {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(12, 6, 32, .6);
  border: 1px solid var(--trait);
  color: var(--texte); text-decoration: none; font-size: .95rem;
}
.note:hover { color: #fff; border-color: var(--jaune); }
.note-etoiles { color: var(--jaune); letter-spacing: 2px; text-shadow: 0 0 10px rgba(255, 210, 63, .6); }

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

.section { padding-block: 88px; }

.section-tete { margin-bottom: 40px; }
.section-intro { color: var(--doux); font-size: 1.08rem; max-width: 40em; margin-top: 10px; }

.titre {
  display: inline-block;
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.9rem);
  line-height: 1;
  color: #fff;
  transform: skewX(-7deg);
  text-shadow: 3px 3px 0 #2a0650;
}
.titre-moyen { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }

/* -------------------------------------------------------------- Arguments --- */

.arguments { background: linear-gradient(to bottom, var(--nuit) 0%, var(--nuit-2) 100%); }

.cartes-arguments {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

/* Cadre épais et ombre décalée : l'esprit des panneaux de chargement. */
.carte-argument {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--carte);
  border: 3px solid #05010e;
  border-radius: 6px;
  box-shadow: 7px 7px 0 var(--rose-fonce);
  transition: transform .2s ease, box-shadow .2s ease;
}
.carte-argument:nth-child(even) { box-shadow: 7px 7px 0 var(--violet); }
.carte-argument:hover { transform: translate(-3px, -3px); box-shadow: 10px 10px 0 var(--rose); }
.carte-argument:nth-child(even):hover { box-shadow: 10px 10px 0 var(--cyan); }

.pastille {
  display: inline-block;
  font: 1.5rem/1 var(--f-titre);
  color: var(--jaune);
  margin-bottom: 14px;
  text-shadow: 0 0 12px rgba(255, 210, 63, .5);
}
.carte-argument h3 {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: 1.4rem; line-height: 1.1;
  margin-bottom: 10px;
}
.carte-argument p { color: var(--doux); font-size: .97rem; }

/* ------------------------------------------------------------------- Offre --- */

.offre {
  position: relative;
  padding-block: 34px;
  background: linear-gradient(100deg, var(--rose-fonce) 0%, #a3149a 50%, var(--violet) 100%);
  transform: skewY(-2.2deg);
  margin-block: 12px;
  box-shadow: 0 0 60px rgba(255, 46, 147, .35);
}
.offre-in { transform: skewY(2.2deg); text-align: center; }
.offre-titre {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: clamp(2rem, 1.2rem + 3.6vw, 3.6rem);
  line-height: 1.05;
  color: #fff;
  text-shadow: 3px 3px 0 #3d0440;
  margin: 0;
}
.offre-titre strong { font-weight: 400; color: var(--jaune); }
.offre-plus { color: var(--cyan); }
.offre-sous { font-family: var(--f-neon); font-size: clamp(1.4rem, 1rem + 1.2vw, 2rem); color: #ffe6f4; margin: 0; }

/* ------------------------------------------------------------------ Carte --- */

.carte { background: var(--nuit); padding-bottom: 64px; }

.tailles { display: flex; flex-wrap: wrap; gap: 12px; }
.tailles li {
  display: inline-flex; align-items: baseline; gap: 10px;
  padding: 10px 18px;
  background: var(--carte);
  border: 1px solid var(--trait);
  border-radius: 999px;
}
.tailles b { font: 1.35rem/1 var(--f-titre); color: var(--jaune); }
.tailles span { color: var(--doux); font-size: .95rem; }

/* Barre des catégories : elle suit la lecture de la carte, sous l'en-tête. */
.carte-nav {
  position: sticky; top: var(--h-entete); z-index: 40;
  margin-block: 34px 10px;
  background: rgba(12, 6, 32, .9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-block: 1px solid var(--trait);
}
.carte-nav-in {
  display: flex; gap: 6px;
  padding-block: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}
.carte-nav-in::-webkit-scrollbar { display: none; }
.carte-nav a {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  color: var(--doux); text-decoration: none;
  font-weight: 700; font-size: .92rem;
  border: 1px solid transparent;
}
.carte-nav a:hover { color: #fff; border-color: var(--trait); }
.carte-nav a[aria-current="true"] {
  color: #fff; background: var(--rose-fonce);
  box-shadow: 0 0 16px rgba(255, 46, 147, .5);
}

.categorie { padding-top: 46px; }

.categorie-titre {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.7rem);
  line-height: 1;
  margin-bottom: 24px;
  transform: skewX(-7deg);
  color: #fff;
}
.categorie-titre span { color: var(--rose); text-shadow: var(--lueur-rose); }
.categorie-intro { color: var(--doux); margin: -12px 0 22px; }

.plats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}
.plats-salades { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }

.plat {
  display: flex; flex-direction: column;
  padding: 20px 20px 18px;
  background: linear-gradient(160deg, var(--carte-2) 0%, var(--carte) 100%);
  border: 1px solid rgba(155, 77, 255, .28);
  border-radius: var(--rayon);
  transition: border-color .2s ease, transform .2s ease;
}
.plat:hover { border-color: rgba(255, 46, 147, .6); transform: translateY(-2px); }

.plat-nom {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: 1.45rem; line-height: 1.1;
  color: var(--rose-clair);
  margin-bottom: 8px;
}
.plat-desc { color: var(--doux); font-size: .95rem; line-height: 1.55; flex: 1; margin-bottom: 16px; }

.prix { display: flex; gap: 8px; }
.prix li {
  flex: 1;
  display: flex; flex-direction: column; align-items: center;
  padding: 7px 4px;
  background: rgba(12, 6, 32, .55);
  border: 1px solid var(--trait);
  border-radius: 10px;
  font-weight: 800; font-size: 1.02rem;
  color: #fff;
}
.prix li span {
  font: .78rem/1.2 var(--f-titre);
  letter-spacing: .08em;
  color: var(--jaune);
}

/* Chaque burger est dessiné à partir de ses propres ingrédients (voir
   outils/illustrer.php) : le client voit ce qu'il commande, couche par couche. */
.plat-illustre {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  column-gap: 18px;
}
.plat-illustre .burger-visuel {
  grid-column: 1; grid-row: 1 / 3;
  width: 96px; height: auto;
  align-self: center;
  margin-bottom: 16px;
  overflow: visible;
  /* Ombre portée franche et halo néon : l'illustration « se détache » comme
     un visuel de jaquette plutôt que de flotter à plat sur la carte. */
  filter: drop-shadow(0 7px 0 rgba(8, 2, 20, .55)) drop-shadow(0 0 14px rgba(255, 46, 147, .28));
  transition: transform .25s ease;
}
.plat-illustre:hover .burger-visuel { transform: translateY(-3px) rotate(-3deg) scale(1.05); }
.plat-illustre .plat-nom  { grid-column: 2; grid-row: 1; }
.plat-illustre .plat-desc { grid-column: 2; grid-row: 2; }
.plat-illustre .prix      { grid-column: 1 / -1; grid-row: 3; }
.plat-legende .burger-visuel { width: 104px; }

.tailles li { align-items: center; }
.taille-visuel { width: 36px; height: auto; overflow: visible; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }

/* Les « Legend » méritent un traitement à part : ce sont les plus énormes. */
.plat-legende {
  border: 2px solid transparent;
  background:
    linear-gradient(160deg, #2c1370, #1b0f45) padding-box,
    linear-gradient(135deg, var(--jaune), var(--rose), var(--violet)) border-box;
  box-shadow: 0 0 34px rgba(255, 46, 147, .22);
}
.plat-legende .plat-nom { color: var(--jaune); text-shadow: 0 0 14px rgba(255, 210, 63, .45); }

.liste-prix { max-width: 640px; }
.liste-prix li {
  display: flex; align-items: baseline; gap: 12px;
  padding: 13px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
}
.lp-nom { font-family: var(--f-titre); text-transform: uppercase; font-size: 1.3rem; color: #fff; }
.lp-qte { color: var(--pale); font-size: .93rem; }
.lp-prix { margin-left: auto; font-weight: 800; font-size: 1.08rem; color: var(--jaune); white-space: nowrap; }

.liste-prix-double { max-width: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 44px; }

.note-carte {
  margin-top: 44px;
  padding: 16px 20px;
  border-left: 3px solid var(--cyan);
  background: rgba(45, 226, 255, .06);
  border-radius: 0 10px 10px 0;
  color: var(--doux); font-size: .95rem;
}

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

.avis {
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(155, 77, 255, .25) 0%, transparent 65%),
    var(--nuit-2);
  border-block: 1px solid var(--trait);
}
.avis-in { display: flex; flex-direction: column; align-items: center; }

/* Cinq étoiles alignées comme un niveau de recherche au maximum. */
.etoiles {
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem);
  letter-spacing: .12em;
  color: var(--jaune);
  line-height: 1;
  margin: 22px 0 14px;
  text-shadow: 0 0 18px rgba(255, 210, 63, .7), 3px 3px 0 #4a2500;
}
.avis-score { font-size: 1.18rem; color: var(--doux); margin-bottom: 26px; }
.avis-score strong { font: 2rem/1 var(--f-titre); color: #fff; margin-right: 4px; vertical-align: -3px; }

/* ------------------------------------------------------------------ Infos --- */

.infos-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 26px;
  align-items: start;
}

.bloc {
  padding: 28px;
  background: var(--carte);
  border: 1px solid rgba(155, 77, 255, .28);
  border-radius: var(--rayon);
}
.bloc-titre {
  font-family: var(--f-titre);
  text-transform: uppercase;
  font-size: 1.8rem; line-height: 1;
  margin-bottom: 18px;
  transform: skewX(-7deg);
}

.statut-bloc { margin-bottom: 18px; }

.horaires { width: 100%; border-collapse: collapse; }
.horaires th, .horaires td {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--trait);
  vertical-align: top;
}
.horaires th { font-weight: 700; width: 42%; }
.horaires td { color: var(--doux); font-variant-numeric: tabular-nums; }
.horaires tr.ferme td { color: var(--pale); }

.horaires tr.aujourdhui th,
.horaires tr.aujourdhui td { background: rgba(255, 46, 147, .12); color: #fff; }
.horaires tr.aujourdhui th::after {
  content: "Aujourd'hui";
  display: block;
  margin-top: 3px;
  font: 700 .72rem/1 var(--f-texte);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--rose-clair);
}

.adresse { font-size: 1.15rem; line-height: 1.5; margin: 18px 0 20px; }

.services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.services li {
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(45, 226, 255, .08);
  border: 1px solid rgba(45, 226, 255, .3);
  color: #bdf5ff; font-size: .88rem; font-weight: 600;
}

/* --------------------------------------------------------------- Photos --- */

.photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: linear-gradient(135deg, #3a0f6b, #c41f86 60%, #ff8a3c);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Photo manquante : le dégradé reste, avec une mention discrète. */
.photo-absente { display: grid; place-items: center; }
.photo-absente::after {
  content: "Photo à venir";
  font-family: var(--f-neon); font-size: 1.6rem; color: rgba(255, 255, 255, .85);
}

/* ---------------------------------------------------------------- Histoire --- */

.histoire { background: linear-gradient(to bottom, var(--nuit) 0%, var(--nuit-2) 100%); }
.histoire-grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.histoire-texte p:not(.neon-script) { color: var(--doux); font-size: 1.07rem; }
.histoire-texte .titre { margin-bottom: 24px; }

.photo-inclinee {
  aspect-ratio: 3 / 2;
  transform: rotate(2deg);
  border: 3px solid #05010e;
  box-shadow: 9px 9px 0 var(--violet), 0 0 50px rgba(155, 77, 255, .3);
}

/* ---------------------------------------------------------------- Réseaux --- */

.reseaux { text-align: center; padding-block: 72px; }
.reseaux-in { display: flex; flex-direction: column; align-items: center; }
.reseaux-pseudo { font-size: 2rem; margin: 6px 0 28px; }
.reseaux-liste { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.reseaux-liste a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--carte);
  border: 1px solid var(--trait);
  color: var(--texte); text-decoration: none; font-weight: 700;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.reseaux-liste a:hover { border-color: var(--rose); box-shadow: 0 0 22px rgba(255, 46, 147, .4); color: #fff; }
.reseaux-liste svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}
.reseaux-liste svg .plein { fill: currentColor; stroke: none; }

/* ------------------------------------------------------------------- Pied --- */

.pied {
  background: #07030f;
  border-top: 1px solid var(--trait);
  padding-top: 48px;
  color: var(--doux);
  font-size: .95rem;
}
.pied-grille {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
}
.logo-pied { font-size: 1.8rem; margin-bottom: 10px; }
.pied-doux { color: var(--pale); }
.pied a { color: var(--texte); }
.pied-bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-block: 20px 28px;
  border-top: 1px solid var(--trait);
  font-size: .86rem; color: var(--pale);
}
.pied-bas p { margin: 0; }
.pied-bas a { color: var(--doux); }

/* ------------------------------------------------------------ Adaptatif --- */

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

@media (max-width: 860px) {
  .menu-bouton { display: inline-grid; place-items: center; }
  .navigation {
    display: none;
    position: absolute; left: 0; right: 0; top: var(--h-entete);
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px 20px 20px;
    background: rgba(12, 6, 32, .97);
    border-bottom: 1px solid var(--trait);
  }
  .navigation.est-ouverte { display: flex; }
  .navigation a:not(.btn) { padding: 12px; font-size: 1.05rem; }
  .navigation .btn { margin: 8px 0 0; }

  .infos-grille, .histoire-grille { grid-template-columns: 1fr; }
  .histoire-grille { gap: 36px; }
  .pied-grille { grid-template-columns: 1fr; gap: 22px; }

  .soleil { left: 72%; bottom: 16%; width: 56vmin; }
  .palmier-gauche { height: 40vh; left: -50px; opacity: .85; }
  .palmier-droite { height: 32vh; right: -40px; opacity: .85; }
}

@media (max-width: 600px) {
  .section { padding-block: 64px; }
  .hero-contenu { padding-block: 44px 76px; }
  .hero::before { background: linear-gradient(180deg, rgba(12, 6, 32, .72) 0%, rgba(12, 6, 32, .5) 60%, rgba(12, 6, 32, .15) 100%); }
  .cartes-arguments { grid-template-columns: 1fr; }
  .liste-prix-double { grid-template-columns: 1fr; }
  .plats { grid-template-columns: 1fr; }
  .actions .btn { flex: 1 1 auto; }
  .bloc { padding: 22px 18px; }
  .logo { font-size: 1.35rem; }
}

/* --------------------------------------------------- Commande à emporter ---
   Tout ce qui suit n'existe que si JavaScript s'exécute : c'est le script
   commande.js qui pose ces classes. Sans lui, la carte reste une carte, et le
   numéro de téléphone reste le moyen de commander. */

:root {
  /* La hauteur d'une pastille du panneau de commande. Une seule valeur pour
     les tailles, les ingrédients et les suppléments : c'est ce qui les rend
     toutes identiques. Elle doit rester assez haute pour deux lignes. */
  --pb-pastille: 70px;
}

.pb-astuce {
  margin-top: 14px;
  color: var(--cyan);
  font-size: .96rem; font-weight: 600;
}

/* Une pastille de prix devient un bouton sans changer d'apparence : le bouton
   remplit la pastille au lieu de dessiner un second cadre à l'intérieur. */
.prix li.pb-cliquable { padding: 0; transition: border-color .15s ease, background .15s ease; }
.prix li.pb-cliquable:hover { border-color: var(--rose); background: rgba(255, 46, 147, .16); }
.pb-prix {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 7px 4px;
  background: none; border: 0; border-radius: 10px;
  color: inherit; font: inherit; font-weight: 800;
  cursor: pointer;
}

.pb-ajout {
  align-self: flex-start;
  margin-top: 4px; padding: 8px 18px;
  background: rgba(255, 46, 147, .14);
  border: 1px solid var(--rose-fonce); border-radius: 999px;
  color: #fff; font-weight: 700; font-size: .92rem;
  cursor: pointer;
}
.pb-ajout:hover { background: var(--rose-fonce); box-shadow: 0 0 20px rgba(255, 46, 147, .5); }
.pb-ajout-petit {
  align-self: center; margin: 0 0 0 16px;
  width: 34px; height: 34px; padding: 0;
  /* Anton dessine un « + » minuscule : ici c'est le signe qu'on doit voir,
     pas la police. */
  font: 400 1.5rem/1 var(--f-texte);
}

/* Le panier reste visible pendant qu'on parcourt la carte : sans lui, on ne
   sait plus ce qu'on a choisi trois catégories plus haut. */
.pb-flottant {
  position: fixed; z-index: 60;
  left: 50%; bottom: 18px; transform: translateX(-50%);
  padding: 14px 26px;
  background: var(--rose-fonce);
  border: 1px solid var(--rose); border-radius: 999px;
  color: #fff; font-weight: 800; font-size: 1rem;
  white-space: nowrap; cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 26px rgba(255, 46, 147, .55);
}
.pb-flottant:hover { background: #e3187b; }
body.pb-panier .pied-bas { padding-bottom: 72px; }

body.pb-fige { overflow: hidden; }

.pb-feuille { position: fixed; inset: 0; z-index: 100; display: flex; }
/* Sans cette ligne, « display: flex » l'emporterait sur l'attribut hidden et
   le panneau resterait posé, vide, par-dessus la carte. */
.pb-feuille[hidden] { display: none; }
.pb-fond { position: absolute; inset: 0; background: rgba(6, 2, 16, .78); backdrop-filter: blur(4px); }
.pb-boite {
  position: relative; z-index: 1;
  margin: auto; width: min(560px, 100%);
  max-height: 100svh; display: flex; flex-direction: column;
  padding: 26px 24px 20px;
  background: linear-gradient(160deg, var(--carte-2) 0%, var(--carte) 100%);
  border: 1px solid rgba(155, 77, 255, .45);
  border-radius: var(--rayon);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .6);
}
.pb-fermer {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px;
  background: none; border: 0;
  color: var(--doux); font-size: 1.8rem; line-height: 1;
  cursor: pointer;
}
.pb-fermer:hover { color: #fff; }
.pb-titre {
  font-family: var(--f-titre); text-transform: uppercase;
  font-size: 1.7rem; line-height: 1; color: var(--rose-clair);
  margin: 0 44px 18px 0;
}
/* La marge à droite laisse passer la barre de défilement sans qu'elle vienne
   rogner les prix, alignés sur ce bord. */
/* « scrollbar-gutter: stable » réserve la place de la barre même quand il n y
   a rien à faire défiler : sans elle, un plat à quatre ingrédients et un plat
   à dix ne donnaient pas des pastilles de la même largeur. */
.pb-corps {
  overflow-y: auto; flex: 1;
  padding-right: 10px; margin-right: -6px;
  scrollbar-width: thin; scrollbar-gutter: stable;
}
/* « stretch » plutôt que « center » : sur un écran étroit, l'intitulé du
   bouton WhatsApp passe sur deux lignes, et « Appeler » doit grandir avec lui
   au lieu de rester à mi-hauteur. */
.pb-pied {
  display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap;
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid var(--trait);
}
.pb-pied .pb-compteur { align-self: center; }
/* Une salade n'a ni taille ni supplément : rien à choisir, donc ni vide ni
   trait de séparation au-dessus du bouton. */
.pb-corps:empty { display: none; }
.pb-corps:empty + .pb-pied { margin-top: 0; padding-top: 0; border-top: 0; }
.pb-pied .btn { flex: 1; text-align: center; }

.pb-etiquette {
  display: block; margin: 18px 0 8px;
  font: .82rem/1 var(--f-titre); letter-spacing: .1em;
  text-transform: uppercase; color: var(--jaune);
}
.pb-corps > .pb-etiquette:first-child { margin-top: 0; }

.pb-choix { display: flex; flex-wrap: wrap; gap: 8px; }

/* Toutes les pastilles d'une même rubrique font la même taille : les trois
   tailles se partagent la largeur, et « grid-auto-rows: 1fr » aligne toutes
   les rangées sur la plus haute — sans quoi « Fromage à raclette », qui passe
   sur deux lignes, ferait grandir sa rangée et pas les autres. */
/* Toutes les pastilles du panneau ont exactement la même taille — tailles,
   ingrédients et suppléments confondus. Même grille à trois colonnes, et une
   hauteur unique, taillée pour le plus long intitulé (« Fromage à raclette »,
   qui passe sur deux lignes). Sans cette hauteur commune, chaque rubrique
   s'alignerait sur son propre contenu et les trois blocs seraient décalés. */
.pb-choix-taille,
.pb-choix-sup,
.pb-choix-ingredients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.pb-option,
.pb-ingredient { min-height: var(--pb-pastille); }

.pb-choix-taille > .pb-option { justify-content: center; }
/* Ailleurs le prix est chassé à droite ; ici les pastilles sont larges et à
   égalité, alors « M 10 € » se lit mieux groupé au milieu. */
.pb-choix-taille > .pb-option span { margin-left: 0; }

.pb-option {
  /* « center » et non « baseline » : la pastille a une hauteur imposée, son
     contenu doit se placer au milieu et pas rester collé en haut. */
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(12, 6, 32, .55);
  border: 1px solid var(--trait); border-radius: 10px;
  color: var(--doux); font: inherit; font-size: .93rem;
  cursor: pointer; text-align: left;
}
.pb-option b { color: #fff; font-weight: 700; }
.pb-option span { margin-left: auto; white-space: nowrap; }
.pb-option:hover { border-color: var(--rose-clair); }
.pb-option.est-choisi {
  background: rgba(255, 46, 147, .2);
  border-color: var(--rose); color: #fff;
  box-shadow: 0 0 16px rgba(255, 46, 147, .35);
}

/* Ce qu'il y a dans la recette. Tout est là par défaut ; ce que le client
   barre part en « SANS » dans le message. Le « × » dit qu'on peut l'enlever,
   le « + » qu'on peut le remettre. */
.pb-ingredient {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 10px 14px;
  background: rgba(12, 6, 32, .55);
  border: 1px solid var(--trait); border-radius: 10px;
  color: var(--texte); font: inherit; font-size: .93rem;
  cursor: pointer; text-align: left;
}
.pb-ingredient::after {
  content: "×";
  color: var(--pale); font-size: 1.1rem; line-height: 1;
}
.pb-ingredient:hover { border-color: var(--rose-clair); }
.pb-ingredient.est-retire {
  color: var(--pale);
  text-decoration: line-through;
  text-decoration-color: var(--rose);
  text-decoration-thickness: 2px;
  background: rgba(12, 6, 32, .25);
  border-style: dashed;
}
.pb-ingredient.est-retire::after { content: "+"; color: var(--cyan); text-decoration: none; }

.pb-compteur { display: inline-flex; align-items: center; border: 1px solid var(--trait); border-radius: 999px; }
.pb-compteur button {
  width: 40px; height: 40px;
  background: none; border: 0; border-radius: 999px;
  color: #fff; font-size: 1.25rem; cursor: pointer;
}
.pb-compteur button:hover { background: rgba(255, 46, 147, .25); }
.pb-compteur span { min-width: 26px; text-align: center; font-weight: 800; }

.pb-lignes { display: flex; flex-direction: column; }
.pb-ligne {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, .16);
}
.pb-ligne-texte { flex: 1; min-width: 0; }
.pb-ligne-texte b { display: block; color: #fff; }
.pb-ligne-sup { display: block; color: var(--pale); font-size: .87rem; }
/* Un retrait n'est pas un détail : c'est la ligne que la cuisine doit voir. */
.pb-ligne-sans { display: block; color: var(--rose-clair); font-size: .87rem; font-weight: 700; }
.pb-ligne-prix { font-weight: 800; color: var(--jaune); white-space: nowrap; }

.pb-total {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 16px;
}
.pb-total span { font: 1.1rem/1 var(--f-titre); letter-spacing: .08em; text-transform: uppercase; }
.pb-total b { font-size: 1.5rem; color: var(--jaune); }

.pb-champ {
  width: 100%; padding: 12px 14px;
  background: rgba(12, 6, 32, .6);
  border: 1px solid var(--trait); border-radius: 10px;
  color: var(--texte); font: inherit;
  resize: vertical;
}
.pb-champ:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(45, 226, 255, .25); }

.pb-note { margin-top: 16px; color: var(--pale); font-size: .87rem; line-height: 1.5; }
.pb-vide { color: var(--doux); }

.pb-envoyer:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.pb-appeler { flex: 0 0 auto !important; }

@media (max-width: 560px) {
  .pb-boite { margin: auto 0 0; width: 100%; border-radius: var(--rayon) var(--rayon) 0 0; max-height: 92svh; }
  .pb-flottant { bottom: 12px; }
  /* Deux colonnes pour les longues listes ; les trois tailles, elles,
     restent sur une seule ligne — M, L et XL vont ensemble. */
  .pb-choix-sup,
  .pb-choix-ingredients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Mouvement réduit : on coupe la pulsation et les transitions décoratives. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
