/* =====================================================
   OKEBAB — Feuille de style principale
   ===================================================== */

:root {
  --rouge: #c0392b;
  --rouge-fonce: #96281b;
  --or: #f0a72e;
  --or-clair: #ffd98a;
  --charbon: #221a14;
  --brun: #4a3527;
  --creme: #fdf8f0;
  --creme-2: #f7efe2;
  --blanc: #ffffff;
  --vert: #1e8e4e;
  --gris: #8a7d70;
  --ombre: 0 10px 30px rgba(34, 26, 20, 0.10);
  --ombre-forte: 0 18px 45px rgba(34, 26, 20, 0.18);
  --radius: 18px;
  --font-titre: "Fraunces", Georgia, serif;
  --font-texte: "Outfit", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  overflow-x: hidden;
  font-family: var(--font-texte);
  background: var(--creme);
  color: var(--charbon);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

.conteneur {
  width: min(1120px, 92%);
  margin-inline: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.7rem;
  border-radius: 999px;
  border: none;
  font-family: var(--font-texte);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-principal {
  background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
  color: var(--blanc);
  box-shadow: 0 8px 20px rgba(192, 57, 43, 0.35);
}
.btn-principal:hover { box-shadow: 0 12px 26px rgba(192, 57, 43, 0.45); }

.btn-secondaire {
  background: var(--blanc);
  color: var(--charbon);
  border: 2px solid var(--charbon);
}
.btn-or {
  background: linear-gradient(135deg, var(--or), #e08c0e);
  color: var(--charbon);
  box-shadow: 0 8px 20px rgba(240, 167, 46, 0.35);
}
.btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(253, 248, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34, 26, 20, 0.08);
}
.entete-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  font-family: var(--font-titre);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: .5px;
}
.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--rouge), var(--rouge-fonce));
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  box-shadow: 0 6px 14px rgba(192, 57, 43, 0.35);
}
.logo span em { color: var(--rouge); font-style: normal; }

.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--brun);
  transition: color .15s;
}
.nav a:hover, .nav a.actif { color: var(--rouge); }

.nav .btn { padding: .6rem 1.3rem; font-size: .95rem; }

.badge-panier {
  background: var(--charbon);
  color: var(--or-clair);
  font-size: .78rem;
  font-weight: 700;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  padding-inline: 6px;
}

.burger-menu {
  display: none;
  background: none;
  border: none;
  font-size: 1.7rem;
  cursor: pointer;
  color: var(--charbon);
}

/* ---------- Héros ---------- */
.heros {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(240, 167, 46, 0.25), transparent 60%),
    radial-gradient(ellipse 700px 500px at -10% 110%, rgba(192, 57, 43, 0.14), transparent 60%),
    var(--creme);
  padding: 5rem 0 5.5rem;
}
.heros-grille {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 3rem;
  align-items: center;
}
.sur-titre {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240, 167, 46, 0.16);
  color: #a06a08;
  border: 1px solid rgba(240, 167, 46, 0.45);
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.2rem;
}
.heros h1 {
  font-family: var(--font-titre);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.12;
  margin-bottom: 1.2rem;
}
.heros h1 em { color: var(--rouge); font-style: normal; }
.heros p.accroche {
  font-size: 1.15rem;
  color: var(--brun);
  max-width: 34rem;
  margin-bottom: 2rem;
}
.heros-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.heros-visuel {
  position: relative;
  display: grid;
  place-items: center;
}
.assiette {
  width: min(380px, 80vw);
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: radial-gradient(circle at 35% 30%, #fff7e8, var(--creme-2) 65%);
  box-shadow: var(--ombre-forte), inset 0 0 0 14px var(--blanc), inset 0 0 0 16px rgba(240,167,46,.5);
  display: grid;
  place-items: center;
  font-size: clamp(6rem, 14vw, 9.5rem);
}
/* La photo remplit le cercle ; le liseré blanc reste visible par-dessus */
.assiette img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 50%;
}
.pastille {
  position: absolute;
  background: var(--blanc);
  border-radius: 14px;
  box-shadow: var(--ombre);
  padding: .65rem 1rem;
  font-weight: 700;
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.pastille small { display: block; font-weight: 500; color: var(--gris); font-size: .78rem; }
.pastille-1 { top: 8%; left: 0; }
.pastille-2 { bottom: 12%; right: 0; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-sombre { background: var(--charbon); color: var(--creme); }
.section-creme { background: var(--creme-2); }

.section-tete { text-align: center; max-width: 620px; margin: 0 auto 3rem; }
.section-tete h2 {
  font-family: var(--font-titre);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  margin-bottom: .7rem;
}
.section-tete p { color: var(--gris); font-size: 1.05rem; }
.section-sombre .section-tete p { color: #cdbfae; }
.filet {
  width: 64px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--rouge), var(--or));
  margin: 0 auto 1.1rem;
}

/* ---------- Cartes spécialités ---------- */
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}
.carte-spec {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: center;
  box-shadow: var(--ombre);
  transition: transform .2s ease, box-shadow .2s ease;
}
.carte-spec:hover { transform: translateY(-6px); box-shadow: var(--ombre-forte); }
.carte-spec .ico {
  width: 70px; height: 70px; margin: 0 auto 1.1rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(240,167,46,.18), rgba(192,57,43,.12));
  display: grid; place-items: center;
  font-size: 2.1rem;
}
.carte-spec h3 { font-family: var(--font-titre); font-size: 1.25rem; margin-bottom: .5rem; }
.carte-spec p { color: var(--gris); font-size: .95rem; }

/* ---------- Étapes click & collect ---------- */
.grille-etapes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  counter-reset: etape;
}
.etape {
  position: relative;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2.2rem 1.6rem 1.8rem;
}
.etape::before {
  counter-increment: etape;
  content: counter(etape, decimal-leading-zero);
  position: absolute;
  top: -1.1rem; left: 1.4rem;
  background: linear-gradient(135deg, var(--or), #e08c0e);
  color: var(--charbon);
  font-weight: 800;
  padding: .35rem .8rem;
  border-radius: 10px;
  font-size: .95rem;
}
.etape h3 { font-family: var(--font-titre); font-size: 1.2rem; margin-bottom: .5rem; color: var(--or-clair); }
.etape p { color: #cdbfae; font-size: .95rem; }

/* ---------- Infos pratiques ---------- */
.grille-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}
.carte-info {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--ombre);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.carte-info .ico { font-size: 1.7rem; }
.carte-info h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.carte-info p { color: var(--gris); font-size: .95rem; }
.carte-info a { color: var(--rouge); font-weight: 600; text-decoration: none; }

/* ---------- Bandeau CTA ---------- */
.bandeau-cta {
  background: linear-gradient(120deg, var(--rouge), var(--rouge-fonce));
  border-radius: calc(var(--radius) + 8px);
  color: var(--blanc);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--ombre-forte);
}
.bandeau-cta h2 { font-family: var(--font-titre); font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.bandeau-cta p { opacity: .9; }
.bandeau-cta .btn-or { flex-shrink: 0; }

/* ---------- Page menu ---------- */
.bandeau-page {
  background:
    radial-gradient(ellipse 700px 300px at 80% 0%, rgba(240,167,46,.22), transparent 60%),
    var(--charbon);
  color: var(--creme);
  padding: 3.5rem 0;
  text-align: center;
}
.bandeau-page h1 { font-family: var(--font-titre); font-size: clamp(2.1rem, 4vw, 3rem); margin-bottom: .5rem; }
.bandeau-page p { color: #cdbfae; max-width: 560px; margin: 0 auto; }

.nav-categories {
  position: sticky;
  top: 64px;
  z-index: 40;
  background: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(34,26,20,.08);
  padding: .7rem 0;
}
.nav-categories .conteneur {
  display: flex;
  gap: .6rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-categories a {
  flex-shrink: 0;
  text-decoration: none;
  font-weight: 600;
  font-size: .92rem;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid rgba(34,26,20,.15);
  color: var(--brun);
  transition: all .15s;
}
.nav-categories a:hover {
  border-color: var(--rouge);
  color: var(--rouge);
}

.section-categorie { padding: 3rem 0 1rem; scroll-margin-top: 130px; }
.tete-categorie { display: flex; align-items: baseline; gap: .8rem; margin-bottom: .4rem; }
.tete-categorie h2 { font-family: var(--font-titre); font-size: 1.8rem; }
.tete-categorie .emoji { font-size: 1.6rem; }
.desc-categorie { color: var(--gris); margin-bottom: 1.6rem; }

.grille-produits {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.3rem;
}
.carte-produit {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 0 0 1.3rem;
  overflow: hidden;
  box-shadow: var(--ombre);
  display: flex;
  flex-direction: column;
  gap: .55rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.carte-produit:hover { transform: translateY(-4px); box-shadow: var(--ombre-forte); }

/* Photo du plat : l'emoji sert de repli si l'image ne se charge pas */
.carte-produit .photo-produit {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--creme-2);
  overflow: hidden;
}
.carte-produit .photo-produit img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.carte-produit:hover .photo-produit img { transform: scale(1.05); }
/* Packshots (canettes, bouteilles) : visibles en entier, sur fond clair */
.carte-produit .photo-entiere { background: var(--blanc); }
.carte-produit .photo-entiere img { object-fit: contain; padding: .9rem; }
.carte-produit .repli-emoji {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  opacity: .5;
}
/* Une fois la photo affichée, l'emoji du haut de carte devient superflu */
.carte-produit .photo-produit:not(.sans-photo) ~ .ligne-haut .emoji-prod { display: none; }

.carte-produit .ligne-haut,
.carte-produit > p,
.carte-produit .ligne-bas { padding-left: 1.4rem; padding-right: 1.4rem; }
.carte-produit .ligne-haut { padding-top: 1.1rem; }
.carte-produit .ligne-haut {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .8rem;
}
.carte-produit h3 { font-size: 1.08rem; line-height: 1.3; }
.carte-produit .emoji-prod { font-size: 1.5rem; }
.carte-produit p { color: var(--gris); font-size: .9rem; flex-grow: 1; }
.carte-produit .ligne-bas {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: .3rem;
}
.prix {
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--rouge);
  white-space: nowrap;
}
.btn-ajout {
  background: var(--charbon);
  color: var(--blanc);
  border: none;
  border-radius: 999px;
  padding: .5rem 1.15rem;
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: background .15s, transform .15s;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.btn-ajout:hover { background: var(--rouge); transform: translateY(-1px); }

/* Contrôle quantité (page commande) */
.controle-qte {
  display: inline-flex;
  align-items: center;
  gap: .15rem;
  background: var(--creme-2);
  border-radius: 999px;
  padding: .2rem;
}
.controle-qte button {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--blanc);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--charbon);
  box-shadow: 0 2px 6px rgba(34,26,20,.12);
  transition: background .12s;
}
.controle-qte button:hover { background: var(--or-clair); }
.controle-qte .qte {
  min-width: 34px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
}

/* ---------- Page commande ---------- */
.mise-en-page-commande {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: start;
  padding: 2.5rem 0 4rem;
}

.etapes-progression {
  display: flex;
  gap: .5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.etape-prog {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .5rem 1.1rem;
  border-radius: 999px;
  background: var(--blanc);
  border: 1.5px solid rgba(34,26,20,.12);
  font-weight: 600;
  font-size: .9rem;
  color: var(--gris);
}
.etape-prog .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--creme-2);
  display: grid;
  place-items: center;
  font-size: .8rem;
  font-weight: 800;
}
.etape-prog.active { border-color: var(--rouge); color: var(--charbon); }
.etape-prog.active .num { background: var(--rouge); color: var(--blanc); }

.panneau {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.8rem;
  margin-bottom: 1.5rem;
}
.panneau > h2 {
  font-family: var(--font-titre);
  font-size: 1.45rem;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}

/* Récapitulatif (colonne droite) */
.recap {
  position: sticky;
  top: 84px;
}
.recap .panneau { margin-bottom: 1rem; }

.ligne-panier {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .8rem 0;
  border-bottom: 1px dashed rgba(34,26,20,.12);
}
.ligne-panier:last-of-type { border-bottom: none; }
/* Options choisies, rappelées sous le nom du plat dans le panier */
.ligne-panier .options-ligne {
  display: block;
  font-size: .82rem;
  color: var(--rouge);
  line-height: 1.35;
  margin: .1rem 0;
}

/* ---------- Fenêtre de choix des sauces et suppléments ---------- */
body.modale-ouverte { overflow: hidden; }

.modale-options {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.modale-options .modale-fond {
  position: absolute;
  inset: 0;
  background: rgba(20, 14, 10, .62);
}
.modale-options .modale-boite {
  position: relative;
  width: min(460px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre-forte);
  padding: 1.6rem 1.4rem 1.4rem;
}
.modale-options .modale-croix {
  position: absolute;
  top: .7rem;
  right: .8rem;
  background: none;
  border: 0;
  font-size: 1.2rem;
  color: var(--gris);
  cursor: pointer;
  padding: .3rem;
}
.modale-options .modale-croix:hover { color: var(--rouge); }
.modale-options h3 { font-family: var(--font-titre); font-size: 1.3rem; padding-right: 1.5rem; }
.modale-options .modale-prix-base { color: var(--rouge); font-weight: 800; margin-bottom: 1rem; }

.modale-options .modale-bloc {
  border: 0;
  border-top: 1px dashed rgba(34, 26, 20, .16);
  padding: .9rem 0 .2rem;
}
.modale-options legend {
  font-weight: 800;
  font-size: .96rem;
  padding-right: .5rem;
}
.modale-options legend span { font-weight: 500; color: var(--gris); font-size: .84rem; }

.grille-sauces { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .6rem; }
.choix-sauce {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: var(--creme-2);
  border-radius: 10px;
  padding: .55rem .7rem;
  font-size: .92rem;
  cursor: pointer;
}
.choix-sauce input { accent-color: var(--rouge); width: 17px; height: 17px; }
.choix-sauce:has(input:checked) { background: rgba(240, 167, 46, .28); font-weight: 600; }
.choix-sauce:has(input:disabled) { opacity: .45; cursor: not-allowed; }

.modale-options .modale-note { font-size: .82rem; color: var(--gris); margin-top: .5rem; }

.ligne-supplement {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
  padding: .45rem 0;
}
.ligne-supplement .nom-supp { font-size: .95rem; }
.ligne-supplement select {
  font-family: inherit;
  font-size: .88rem;
  padding: .45rem .6rem;
  border-radius: 9px;
  border: 1px solid rgba(34, 26, 20, .2);
  background: var(--blanc);
  min-width: 150px;
}

.modale-options .modale-pied {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px dashed rgba(34, 26, 20, .16);
  margin-top: .9rem;
  padding-top: .9rem;
  font-size: 1.05rem;
}
.modale-options .modale-pied strong { color: var(--rouge); font-size: 1.25rem; }
.modale-options .modale-valider { width: 100%; margin-top: .9rem; justify-content: center; }

@media (max-width: 420px) {
  .grille-sauces { grid-template-columns: 1fr; }
  .ligne-supplement select { min-width: 130px; }
}

.ligne-panier .vignette {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 10px;
  background: var(--creme-2);
  display: block;
}
.ligne-panier .vignette-entiere {
  object-fit: contain;
  background: var(--blanc);
  padding: 3px;
}
.ligne-panier .infos { flex-grow: 1; min-width: 0; }
.ligne-panier .infos h4 { font-size: .98rem; line-height: 1.3; }
.ligne-panier .infos .pu { color: var(--gris); font-size: .84rem; }
.ligne-panier .total-ligne { font-weight: 700; white-space: nowrap; }
.btn-retirer {
  background: none;
  border: none;
  color: var(--gris);
  cursor: pointer;
  font-size: 1.05rem;
  padding: .2rem;
  transition: color .12s;
}
.btn-retirer:hover { color: var(--rouge); }

.panier-vide {
  text-align: center;
  color: var(--gris);
  padding: 1.5rem 0;
}
.panier-vide .emoji { font-size: 2.4rem; display: block; margin-bottom: .5rem; }

.zone-promo { display: flex; gap: .6rem; margin-top: 1rem; }
.zone-promo input {
  flex-grow: 1;
  padding: .7rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(34,26,20,.18);
  font-family: var(--font-texte);
  font-size: .95rem;
  text-transform: uppercase;
}
.zone-promo input:focus { outline: 2px solid var(--or); border-color: transparent; }
.msg-promo { font-size: .88rem; margin-top: .5rem; font-weight: 600; }
.msg-promo.ok { color: var(--vert); }
.msg-promo.erreur { color: var(--rouge); }

.totaux { margin-top: 1.2rem; border-top: 2px solid var(--creme-2); padding-top: 1rem; }
.totaux .ligne {
  display: flex;
  justify-content: space-between;
  padding: .25rem 0;
  font-size: .98rem;
}
.totaux .ligne.remise { color: var(--vert); font-weight: 600; }
.totaux .ligne.total {
  font-size: 1.25rem;
  font-weight: 800;
  margin-top: .4rem;
  padding-top: .7rem;
  border-top: 2px solid var(--creme-2);
}
.totaux .ligne.total .montant { color: var(--rouge); }

/* Formulaire */
.champ { margin-bottom: 1.1rem; }
.champ label {
  display: block;
  font-weight: 600;
  font-size: .93rem;
  margin-bottom: .35rem;
}
.champ label .obligatoire { color: var(--rouge); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(34,26,20,.18);
  font-family: var(--font-texte);
  font-size: .98rem;
  background: var(--blanc);
}
.champ input:focus, .champ select:focus, .champ textarea:focus {
  outline: 2px solid var(--or);
  border-color: transparent;
}
.champ textarea { resize: vertical; min-height: 80px; }
.champ .aide { font-size: .82rem; color: var(--gris); margin-top: .3rem; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Options de paiement */
.options-paiement { display: grid; gap: .8rem; }
.option-paiement {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 2px solid rgba(34,26,20,.12);
  border-radius: 14px;
  padding: 1rem 1.2rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.option-paiement:hover { border-color: var(--or); }
.option-paiement input { accent-color: var(--rouge); width: 18px; height: 18px; flex-shrink: 0; }
.option-paiement.choisie { border-color: var(--rouge); background: rgba(192,57,43,.045); }
.option-paiement .ico { font-size: 1.5rem; }
.option-paiement .txt h4 { font-size: 1rem; }
.option-paiement .txt p { font-size: .85rem; color: var(--gris); }

.note-paiement {
  margin-top: 1rem;
  background: rgba(240,167,46,.12);
  border: 1px solid rgba(240,167,46,.4);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  font-size: .9rem;
  color: #7a5305;
}

.erreur-form {
  background: rgba(192,57,43,.08);
  border: 1px solid rgba(192,57,43,.35);
  color: var(--rouge-fonce);
  border-radius: 12px;
  padding: .9rem 1.1rem;
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: none;
}
.erreur-form.visible { display: block; }

/* Confirmation */
.confirmation {
  max-width: 640px;
  margin: 3rem auto 4rem;
  background: var(--blanc);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--ombre-forte);
  padding: 2.5rem clamp(1.5rem, 5vw, 3rem);
  text-align: center;
}
.confirmation .coche {
  width: 84px; height: 84px;
  margin: 0 auto 1.4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--vert), #16793f);
  display: grid;
  place-items: center;
  font-size: 2.6rem;
  color: var(--blanc);
  box-shadow: 0 12px 28px rgba(30,142,78,.35);
}
.confirmation h1 { font-family: var(--font-titre); font-size: 1.9rem; margin-bottom: .5rem; }
.confirmation .ref {
  display: inline-block;
  background: var(--creme-2);
  border-radius: 10px;
  padding: .4rem 1.1rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  margin: .6rem 0 1.2rem;
}
.confirmation .detail-conf {
  text-align: left;
  background: var(--creme);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  margin: 1.4rem 0;
  font-size: .96rem;
}
.confirmation .detail-conf div { display: flex; justify-content: space-between; padding: .22rem 0; gap: 1rem; }
.confirmation .detail-conf .lib { color: var(--gris); }
.confirmation .actions-conf { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.5rem; }

/* ---------- Pied de page ---------- */
.pied {
  background: var(--charbon);
  color: #cdbfae;
  padding: 3.5rem 0 1.5rem;
  margin-top: 0;
}
.pied-grille {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.pied h3 {
  color: var(--creme);
  font-family: var(--font-titre);
  font-size: 1.15rem;
  margin-bottom: .9rem;
}
.pied a { color: #cdbfae; text-decoration: none; transition: color .12s; }
.pied a:hover { color: var(--or-clair); }
.pied ul { list-style: none; display: grid; gap: .45rem; }
.pied .logo { color: var(--creme); font-size: 1.35rem; margin-bottom: .8rem; }
.pied p { font-size: .93rem; }
.copyright {
  text-align: center;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: rgba(205,191,174,.6);
}

/* ---------- Notification (toast) ---------- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--charbon);
  color: var(--creme);
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  box-shadow: var(--ombre-forte);
  transition: transform .3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: .6rem;
  max-width: 92vw;
}
.toast.visible { transform: translateX(-50%) translateY(0); }

/* ---------- Espace restaurateur ---------- */
.connexion-admin {
  max-width: 420px;
  margin: 4rem auto;
  width: 92%;
}

.grille-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}
.carte-stat {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.1rem 1.3rem;
  display: flex;
  align-items: center;
  gap: .9rem;
}
.carte-stat .emoji { font-size: 1.7rem; }
.carte-stat strong { display: block; font-size: 1.3rem; line-height: 1.2; }
.carte-stat span { color: var(--gris); font-size: .85rem; }

.barre-admin {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.filtres-statut { display: flex; gap: .5rem; flex-wrap: wrap; }
.filtre-statut {
  border: 1.5px solid rgba(34,26,20,.15);
  background: var(--blanc);
  color: var(--brun);
  border-radius: 999px;
  padding: .45rem 1rem;
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: .88rem;
  cursor: pointer;
  transition: all .15s;
}
.filtre-statut:hover { border-color: var(--rouge); color: var(--rouge); }
.filtre-statut.actif {
  background: var(--charbon);
  border-color: var(--charbon);
  color: var(--creme);
}

.carte-commande {
  background: var(--blanc);
  border-radius: var(--radius);
  box-shadow: var(--ombre);
  padding: 1.3rem 1.5rem;
  margin-bottom: 1rem;
}
.commande-tete {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  padding-bottom: .8rem;
  border-bottom: 1px dashed rgba(34,26,20,.14);
  margin-bottom: .9rem;
}
.badge-statut {
  display: inline-block;
  font-weight: 700;
  font-size: .82rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  margin-right: .6rem;
}
.ref-commande { font-size: 1.05rem; letter-spacing: .04em; }
.source-commande { color: var(--gris); font-size: .8rem; margin-left: .5rem; }
.date-commande { color: var(--gris); font-size: .88rem; }

.commande-corps {
  display: grid;
  grid-template-columns: 1fr 230px;
  gap: 1.2rem;
}
.commande-infos p { font-size: .95rem; margin-bottom: .25rem; }
.commande-infos a { color: var(--rouge); font-weight: 600; text-decoration: none; }
.articles-commande {
  list-style: none;
  margin: .5rem 0;
  padding: .6rem .9rem;
  background: var(--creme);
  border-radius: 10px;
  font-size: .92rem;
  display: grid;
  gap: .2rem;
}
.total-commande { font-size: .98rem; }
.total-commande strong { color: var(--rouge); font-size: 1.08rem; }

.commande-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  align-content: flex-start;
}
.btn-statut {
  border: 1.5px solid rgba(34,26,20,.15);
  background: var(--creme);
  color: var(--charbon);
  border-radius: 10px;
  padding: .5rem .8rem;
  font-family: var(--font-texte);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  text-align: center;
  transition: all .13s;
}
.btn-statut:hover { border-color: var(--charbon); background: var(--creme-2); }
.btn-statut.danger { color: var(--rouge-fonce); }
.btn-statut.danger:hover { border-color: var(--rouge); background: rgba(192,57,43,.07); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .heros-grille { grid-template-columns: 1fr; text-align: center; }
  .heros p.accroche { margin-inline: auto; }
  .heros-actions { justify-content: center; }
  .heros-visuel { order: -1; }
  .assiette { width: min(260px, 70vw); font-size: 6rem; }
  .pastille-1 { top: 0; left: 4%; }
  .pastille-2 { bottom: 4%; right: 4%; }
  .mise-en-page-commande { grid-template-columns: 1fr; }
  .recap { position: static; order: -1; }
}

@media (max-width: 720px) {
  /* backdrop-filter créerait un bloc conteneur pour le menu fixe : on l'enlève */
  .entete { background: var(--creme); backdrop-filter: none; }

  .nav {
    position: fixed;
    inset: 0;
    background: var(--creme);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 7.5rem;
    gap: 2rem;
    font-size: 1.2rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .25s ease, visibility 0s .25s;
    z-index: 45;
  }
  .nav.ouvert {
    transform: translateX(0);
    visibility: visible;
    transition: transform .25s ease;
  }
  .nav .btn { padding: .8rem 1.8rem; font-size: 1.05rem; }
  /* Le logo et le bouton ☰/✕ restent visibles au-dessus du menu ouvert */
  .logo, .burger-menu { position: relative; z-index: 46; }
  .burger-menu { display: block; }
  body.menu-ouvert { overflow: hidden; }

  .heros { padding: 2.8rem 0 3.5rem; }
  .section { padding: 3.2rem 0; }
  .bandeau-page { padding: 2.5rem 0; }
  .nav-categories { top: 70px; }
  .section-categorie { scroll-margin-top: 140px; }
  .pastille { font-size: .84rem; padding: .5rem .8rem; }
  .mise-en-page-commande { padding: 1.8rem 0 3rem; gap: 1.2rem; }
  .panneau { padding: 1.3rem 1.1rem; }
  .grille-2 { grid-template-columns: 1fr; }
  .bandeau-cta { text-align: center; justify-content: center; }
  .confirmation { margin: 1.8rem auto 3rem; }
  .zone-promo { flex-direction: column; }
  .zone-promo .btn { width: 100%; }
  .ligne-panier { gap: .6rem; }
  .controle-qte button { width: 36px; height: 36px; }
  .commande-corps { grid-template-columns: 1fr; }
  .commande-actions { flex-direction: row; flex-wrap: wrap; }
  .barre-admin { flex-direction: column; align-items: stretch; }
}

@media (max-width: 420px) {
  .logo { font-size: 1.35rem; }
  .heros h1 { font-size: 2.1rem; }
  .heros p.accroche { font-size: 1.05rem; }
  .heros-actions .btn { width: 100%; }
  .assiette { width: min(230px, 68vw); font-size: 5rem; }
  .etapes-progression { gap: .4rem; }
  .etape-prog { font-size: .82rem; padding: .4rem .8rem; }
  .grille-produits { grid-template-columns: 1fr; }
}
