/* Le Petit Pizzaiolo — styles du site public.
   Palette de l'ancien site : orange four à bois, noir ardoise. Polices : Zilla Slab (titres) et Open Sans (texte), hébergées ici. */

@font-face { font-family: 'Zilla Slab'; src: url('../fonts/zilla-slab-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Zilla Slab'; src: url('../fonts/zilla-slab-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Zilla Slab'; src: url('../fonts/zilla-slab-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/open-sans-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --four: #db8429;
  --four-fonce: #b9690f;
  --terre: #96500a;
  --ardoise: #181818;
  --ardoise-fonce: #111111;
  --suie: #0e0e0e;
  --braise: #db8429;
  --farine: #ffffff;
  --papier: #f5f1ec;
  --encre: #181818;
  --gris: #6b6763;
  --f-titre: 'Zilla Slab', Georgia, 'Times New Roman', serif;
  --f-texte: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --col-prix: 3.9rem;
  --r-petit: 6px;
  --r-carte: 14px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(64px + var(--bandeau-h, 0px)); }
body {
  margin: 0;
  font: 400 1.125rem/1.45 var(--f-texte);
  color: var(--farine);
  background: var(--ardoise);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--braise); }
:focus-visible { outline: 3px solid var(--braise); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--f-titre); font-weight: 400; line-height: 1.05; letter-spacing: .01em; margin: 0 0 .4em; }
p { margin: 0 0 .8em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--braise); color: var(--suie); padding: 8px 14px; border-radius: var(--r-petit); }
.skip:focus { top: 8px; }
.petit { font-size: .9375rem; opacity: .85; }
[hidden] { display: none !important; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  min-height: 48px; padding: .55em 1.3em;
  font: 400 1.55rem/1 var(--f-titre); letter-spacing: .02em; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer;
}
.btn--braise { background: var(--braise); color: var(--suie); }
.btn--braise:hover { background: #ffab3a; color: var(--suie); }
.btn--ligne { border-color: rgba(255,255,255,.7); color: var(--farine); background: transparent; }
.btn--ligne:hover { border-color: var(--braise); color: var(--braise); }
.btn--large { width: 100%; min-height: 56px; font-size: 1.75rem; }
.btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---------- En-tête ---------- */
.topbar { background: var(--four); position: relative; z-index: 20; border-bottom: 1px solid rgba(0,0,0,.25); }
.topbar__in { max-width: 1200px; margin: 0 auto; padding: 6px 16px; display: flex; align-items: center; gap: 20px; min-height: 64px; }
.topbar__logo img { width: 58px; height: 52px; object-fit: cover; object-position: top; }
.topbar__nav { display: flex; gap: 24px; font-family: var(--f-titre); font-size: 1.5rem; }
.topbar__nav a { text-decoration: none; }
.topbar__statut { margin: 0 0 0 auto; font-size: .95rem; padding-left: 16px; position: relative; opacity: .9; }
.topbar__statut::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.topbar__statut.is-open::before { background: #7ee08a; }
.topbar__panier {
  font: 400 1.45rem/1 var(--f-titre); color: var(--suie); background: var(--braise);
  border: 0; border-radius: 999px; padding: 10px 16px; min-height: 44px; cursor: pointer; display: inline-flex; gap: 8px; align-items: center;
}
.badge { background: var(--suie); color: var(--farine); border-radius: 999px; min-width: 1.6em; padding: 3px 6px; font: 600 .85rem/1 var(--f-texte); }
.bandeau {
  position: sticky; top: 0; z-index: 25; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px;
  margin: 0; padding: 12px 16px; background: var(--braise); color: var(--suie); text-align: center;
  font-weight: 700; font-size: 1.2rem; line-height: 1.25; border-bottom: 3px solid var(--suie); box-shadow: 0 4px 14px rgba(0,0,0,.45);
}
.bandeau p { margin: 0; }
.bandeau p::before { content: "⚠"; margin-right: 8px; font-size: 1.15em; }
.bandeau--pause { background: #ffd23f; }
.bandeau__tel { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 16px; background: var(--suie); color: #fff; border-radius: 999px; text-decoration: none; font-weight: 700; white-space: nowrap; }
.bandeau__tel:hover, .bandeau__tel:focus-visible { background: var(--terre); }

@media (max-width: 760px) {
  .topbar__nav a:not(.topbar__tel) { display: none; }
  .topbar__nav { font-size: 1.35rem; }
  .topbar__statut { display: none; }
  .topbar__panier { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--four) url('../img/motif.webp') 0 0 / 420px auto repeat;
  padding: 40px 16px 56px;
  overflow: hidden;
}
.hero__in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 560px); gap: 48px; align-items: center; }
.hero__logo { width: 100%; filter: drop-shadow(0 6px 18px rgba(0,0,0,.25)); }
.hero h1 { font-size: clamp(3rem, 7vw, 5.4rem); margin-bottom: .25em; }
.hero__lead { font-size: 1.3rem; max-width: 34ch; }
.hero__faits { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 6px; }
.hero__faits li { padding-left: 22px; position: relative; }
.hero__faits li::before { content: ""; position: absolute; left: 0; top: .5em; width: 10px; height: 10px; border-radius: 50%; background: var(--braise); }
.hero__faits strong { font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
/* La pizza posée à cheval sur le rouge et l'ardoise */
.hero__pizza {
  position: absolute; right: max(-40px, calc(50% - 660px)); top: 50%; margin-top: calc(clamp(260px, 30vw, 400px) / -2);
  width: clamp(260px, 30vw, 400px); aspect-ratio: 1;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.45));
  transform: rotate(-8deg);
  animation: pose 900ms cubic-bezier(.2,.8,.2,1) both 150ms;
}
@keyframes pose { from { transform: translateY(40px) rotate(-30deg); opacity: 0; } to { transform: rotate(-8deg); opacity: 1; } }
@media (max-width: 1100px) { .hero__pizza { right: -110px; } }
@media (max-width: 760px) {
  .hero { padding: 24px 16px 96px; }
  .hero__in { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .hero__logo { width: 120px; }
  .hero__pizza { width: 180px; right: -50px; top: auto; bottom: -60px; margin-top: 0; }
  .hero__lead { font-size: 1.15rem; }
}

/* ---------- Catégories ---------- */
.cats { position: sticky; top: var(--bandeau-h, 0px); z-index: 15; background: var(--suie); box-shadow: 0 2px 0 rgba(0,0,0,.2); }
.cats ul { list-style: none; margin: 0 auto; padding: 0 12px; max-width: 1200px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.cats ul::-webkit-scrollbar { display: none; }
.cats a {
  display: block; white-space: nowrap; padding: 16px 12px 13px; text-decoration: none;
  font: 400 1.45rem/1 var(--f-titre); border-bottom: 3px solid transparent;
}
.cats a.is-active, .cats a:hover { color: var(--braise); border-bottom-color: var(--braise); }

/* ---------- Carte (ardoise) ---------- */
.carte {
  background: var(--ardoise) url('../img/motif.webp') 0 0 / 420px auto repeat;
  padding: 48px 16px 120px;
}
.carte__pause { max-width: 1200px; margin: 0 auto 24px; background: var(--braise); color: var(--suie); padding: 14px 18px; border-radius: var(--r-petit); font-weight: 600; }
.carte__pause a { color: var(--suie); }
.carte__grille { max-width: 1200px; margin: 0 auto; columns: 2 460px; column-gap: 56px; }
.rubrique { break-inside: avoid; margin-bottom: 44px; scroll-margin-top: calc(70px + var(--bandeau-h, 0px)); }
.rubrique__tete {
  display: flex; align-items: flex-end; justify-content: space-between;
  background: var(--four); padding: 10px 12px 7px; margin-bottom: 8px;
}
.rubrique__tete h3 { font-size: 2.3rem; margin: 0; }
.rubrique__tailles { display: flex; font: 400 1.2rem/1 var(--f-titre); opacity: .9; }
.rubrique__tailles span { width: var(--col-prix); text-align: right; }
.rubrique__note { font-size: .9rem; font-style: italic; opacity: .75; margin-top: 10px; }

.plats, .supps { list-style: none; margin: 0; padding: 0; }
.plat {
  width: 100%; display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img nom prix" "img desc desc";
  column-gap: 12px; align-items: center; text-align: left;
  padding: 10px 12px; margin: 0; background: none; border: 0; border-radius: var(--r-petit);
  color: inherit; font: inherit; cursor: pointer;
}
.plat:hover { background: rgba(255,255,255,.06); }
.plat:hover .plat__nom { color: var(--braise); }
.plat:disabled { cursor: default; }
.plat:disabled:hover { background: none; }
.plat__img { grid-area: img; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.plat--sansphoto::before { content: ""; grid-area: img; width: 56px; height: 56px; background: url('../img/pizza-trait.svg') center / contain no-repeat; }
.plat--nu { grid-template-columns: 0 1fr auto; column-gap: 0; }
.plat__nom, .supps .plat__nom {
  grid-area: nom; display: flex; align-items: baseline; min-width: 0;
  font: 400 1.7rem/1.1 var(--f-titre); letter-spacing: .02em;
}
.plat__nom::after { content: ""; flex: 1; min-width: 1em; margin: 0 .35em .22em; border-bottom: 2px dotted rgba(255,255,255,.35); }
.plat__prix { grid-area: prix; display: flex; font: 400 1.55rem/1 var(--f-titre); }
.plat__prix span { width: var(--col-prix); text-align: right; }
.plat__desc { grid-area: desc; color: var(--braise); font-style: italic; font-size: 1rem; line-height: 1.3; margin-top: 3px; }
.supps li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "nom prix" "desc desc"; padding: 8px 12px; }
.supps .plat__desc { font-size: .95rem; }

@media (max-width: 520px) {
  :root { --col-prix: 3.1rem; }
  .plat { grid-template-columns: 48px 1fr auto; column-gap: 10px; padding: 10px 4px; }
  .plat--nu { grid-template-columns: 0 1fr auto; column-gap: 0; }
  .plat__img, .plat--sansphoto::before { width: 48px; height: 48px; }
  .plat__nom { font-size: 1.45rem; }
  .plat__prix { font-size: 1.3rem; }
  .rubrique__tete h3 { font-size: 1.9rem; }
}

/* ---------- Fiche produit et panier (dialogues) ---------- */
dialog, .recap, .formulaire, .alerte { color-scheme: light; }
dialog { color: var(--encre); padding: 0; border: 0; max-width: calc(100vw - 24px); }
dialog::backdrop { background: rgba(20,14,14,.62); }
.fiche { width: 520px; border-radius: var(--r-carte); background: var(--farine); max-height: calc(100dvh - 32px); }
.fiche__form { padding: 24px; position: relative; }
.fiche__fermer {
  position: absolute; right: 12px; top: 10px; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: var(--papier); color: var(--encre); font-size: 1.8rem; line-height: 1; cursor: pointer;
}
.fiche__img { width: 200px; height: 200px; margin: -4px auto 12px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 8px 14px rgba(0,0,0,.25)); }
.fiche h2 { font-size: 2.6rem; color: var(--terre); padding-right: 44px; margin-bottom: .15em; }
.fiche__desc { color: var(--gris); font-style: italic; }
fieldset { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
legend { font: 400 1.55rem/1.2 var(--f-titre); margin-bottom: 8px; padding: 0; }
.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; }
.seg--wrap { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.seg__opt { position: relative; display: block; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt span {
  display: flex; flex-direction: column; justify-content: center; min-height: 48px; padding: 10px 14px;
  border: 2px solid #ddd6cf; border-radius: 10px; font-weight: 600; line-height: 1.2;
}
.seg__opt small { font-weight: 400; color: var(--gris); font-size: .9rem; }
.seg__opt input:checked + span { border-color: var(--terre); background: #fdf1e3; color: var(--terre); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--braise); outline-offset: 2px; }
.fiche__supps { margin-bottom: 18px; border-top: 1px solid #eee7e0; border-bottom: 1px solid #eee7e0; }
.fiche__supps summary { cursor: pointer; padding: 14px 0; font: 400 1.55rem/1.2 var(--f-titre); color: var(--terre); }
.supp-groupe legend { font: 600 .95rem/1.2 var(--f-texte); color: var(--gris); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; display: inline-block; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 7px 12px; border: 1.5px solid #ddd6cf; border-radius: 999px; font-size: 1rem; }
.chip input:checked + span { background: var(--terre); border-color: var(--terre); color: var(--farine); }
.chip input:checked + span::before { content: "+ "; }
.chip input:focus-visible + span { outline: 3px solid var(--braise); outline-offset: 2px; }
.fiche__note { display: block; margin-bottom: 18px; }
.fiche__note span, .champ__label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="tel"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; color: var(--encre);
  background: var(--farine); border: 2px solid #d8d0c8; border-radius: 10px;
}
input:focus, select:focus, textarea:focus { border-color: var(--terre); outline: none; box-shadow: 0 0 0 3px rgba(247,150,16,.45); }
.fiche__pied { display: flex; gap: 12px; align-items: center; position: sticky; bottom: -24px; background: var(--farine); padding: 12px 0 0; }
.fiche__pied .btn { flex: 1; }
.qte { display: inline-flex; align-items: center; border: 2px solid #ddd6cf; border-radius: 999px; }
.qte button { width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: inherit; border-radius: 50%; }
.qte output { min-width: 1.6em; text-align: center; font-weight: 700; }
.qte--petit button { width: 36px; height: 36px; font-size: 1.2rem; }

.panier {
  margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: 440px;
  background: var(--farine); border-radius: var(--r-carte) 0 0 var(--r-carte);
}
.panier__in { display: flex; flex-direction: column; height: 100%; }
.panier__tete { position: relative; padding: 22px 24px 8px; }
.panier__tete h2 { font-size: 2.5rem; color: var(--terre); }
.panier__vide { padding: 0 24px; color: var(--gris); }
.panier__lignes { list-style: none; margin: 0; padding: 0 24px; overflow-y: auto; flex: 1; }
.ligne { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #eee7e0; }
.ligne__txt strong { display: block; font-weight: 700; }
.ligne__txt span { display: block; font-size: .95rem; color: var(--gris); }
.ligne__prix { font-weight: 700; white-space: nowrap; }
.panier__pied { padding: 16px 24px calc(20px + var(--safe-b)); border-top: 1px solid #eee7e0; }
.panier__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.25rem; margin: 6px 0 4px; }
.panier__total strong { font: 400 2.1rem/1 var(--f-titre); }
.panier__info { font-size: .95rem; color: var(--gris); }
@media (max-width: 560px) {
  .panier { width: 100vw; max-width: 100vw; height: auto; max-height: 88dvh; margin: auto 0 0; border-radius: var(--r-carte) var(--r-carte) 0 0; }
  .fiche { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: var(--r-carte) var(--r-carte) 0 0; max-height: 92dvh; }
  .fiche__img { width: 150px; height: 150px; }
}

.barre-panier {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + var(--safe-b)); z-index: 30;
  width: min(480px, calc(100vw - 24px)); min-height: 56px; padding: 0 22px;
  display: flex; justify-content: space-between; align-items: center;
  background: var(--braise); color: var(--suie); border: 0; border-radius: 999px; cursor: pointer;
  font: 400 1.6rem/1 var(--f-titre); box-shadow: 0 10px 24px rgba(0,0,0,.35);
}
.barre-panier [data-cart-count] { background: var(--suie); color: var(--farine); border-radius: 999px; padding: 3px 8px; font: 600 .9rem/1 var(--f-texte); margin-left: 6px; }
.toast {
  position: fixed; left: 50%; bottom: calc(84px + var(--safe-b)); transform: translate(-50%, 20px); opacity: 0; z-index: 40;
  background: var(--suie); color: var(--farine); padding: 12px 18px; border-radius: 10px; margin: 0; pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Pages commande / confirmation / textes ---------- */
.commande, .texte { max-width: 1100px; margin: 0 auto; padding: 36px 16px 80px; }
.commande h1, .texte h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.commande__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .commande__grille { grid-template-columns: 1fr; } }
.recap, .formulaire { background: var(--farine); color: var(--encre); border-radius: var(--r-carte); padding: 22px; }
.recap h2 { font-size: 2rem; color: var(--terre); }
.recap .panier__lignes { padding: 0; overflow: visible; }
.recap a, .formulaire a { color: var(--terre); }
.formulaire legend { color: var(--terre); font-size: 1.8rem; }
.champ { display: block; margin-bottom: 14px; }
.champ__aide { display: block; font-size: .9rem; color: var(--gris); margin-top: 4px; }
.champ em { font-style: normal; font-weight: 400; color: var(--gris); }
.seg--large .seg__opt span { min-height: 64px; }
.case { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 14px; cursor: pointer; }
.case input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--terre); flex: none; }
.alerte { background: #fff4e0; color: var(--encre); border-left: 6px solid var(--braise); border-radius: var(--r-petit); padding: 14px 18px; margin-bottom: 22px; }
.alerte ul { margin: 6px 0 0; padding-left: 20px; }
.alerte a { color: var(--terre); }

.confirmation { max-width: 680px; }
.confirmation__num { font-family: var(--f-titre); font-size: 1.7rem; color: var(--braise); margin-bottom: .2em; }
.confirmation__num strong { font-weight: 400; font-size: 2.8rem; }
.suivi { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; margin: 24px 0 8px; counter-reset: e; }
.suivi li { counter-increment: e; padding: 12px 8px 10px; border-top: 5px solid rgba(255,255,255,.2); font-weight: 600; font-size: 1rem; opacity: .6; }
.suivi li::before { content: counter(e) ". "; }
.suivi li.is-fait { border-top-color: var(--braise); opacity: .9; }
.suivi li.is-actuel { border-top-color: var(--braise); opacity: 1; color: var(--braise); }
.confirmation .recap { margin: 26px 0; }

.texte { max-width: 760px; }
.texte h2 { font-size: 2.2rem; margin-top: 1.4em; color: var(--braise); }
.texte p, .texte li { max-width: 70ch; }
.zones { columns: 2 220px; padding-left: 20px; }

/* ---------- Pied de page ---------- */
.pied { background: var(--suie); padding: 48px 16px calc(96px + var(--safe-b)); }
.pied__in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 140px repeat(3, minmax(0, 1fr)); gap: 32px; }
.pied h2 { font-size: 1.9rem; color: var(--braise); }
.pied__logo { width: 120px; }
.pied p { font-size: 1rem; }
.horaires { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0; font-size: 1rem; }
.horaires dd { margin: 0; }
.pied__legal { max-width: 1200px; margin: 36px auto 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; opacity: .8; }
@media (max-width: 860px) { .pied__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__in { grid-template-columns: 1fr; } .pied__logo { width: 90px; } }

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

/* Livraisons fermées (pas de livreur) */
.seg__opt.is-off { opacity: .5; cursor: not-allowed; }
.seg__opt.is-off input { cursor: not-allowed; }
.seg__info { margin: 10px 0 0; font-weight: 600; color: var(--four); }
.confirmation .alerte p { margin: 0 0 6px; }

/* Déclinaisons : prix sous le nom, « dès » devant le prix le plus bas */
.plat__prix small { font: 400 .8rem/1 var(--f-texte, inherit); margin-right: 3px; opacity: .8; }
.plat__prix--un span:has(small) { width: auto; white-space: nowrap; }

@media (max-width: 600px) {
  .bandeau { padding: 8px 12px; font-size: 1.05rem; gap: 6px 10px; }
  .bandeau__tel { min-height: 36px; padding: 2px 14px; }
}
@media print { .bandeau { position: static; box-shadow: none; } }


/* ================= Thème Le Petit Pizzaiolo ================= */
body { font-size: 1rem; line-height: 1.55; }
h1, h2, h3 { font-weight: 600; letter-spacing: 0; line-height: 1.12; }
a:hover { color: #f0a85e; }
.petit { font-size: .875rem; }
.btn { font: 600 1.15rem/1 var(--f-titre); letter-spacing: 0; }
.btn--large { font-size: 1.25rem; }
.btn--braise:hover { background: #eb9a45; }
.btn--suie { background: var(--encre); color: var(--farine); }
.btn--suie:hover { background: #000; color: var(--farine); }

/* En-tête sombre, logo blanc */
.topbar { background: var(--suie); border-bottom: 1px solid rgba(255,255,255,.08); }
.topbar__logo img { width: 136px; height: 48px; object-fit: contain; }
.topbar__nav { font: 600 1.1rem/1 var(--f-titre); }
.topbar__statut { font-size: .85rem; }
.topbar__panier { font: 600 1.05rem/1 var(--f-titre); }
@media (max-width: 760px) { .topbar__nav { font-size: 1rem; } .topbar__logo img { width: 110px; height: 39px; } .topbar__in { gap: 12px; } }
@media (max-width: 400px) { .topbar__tel { display: none; } }

/* Bandeau orange de l'ancien site : logo blanc, texte noir */
.hero { background: var(--four); color: var(--encre); padding: 44px 16px 60px; }
.hero__in { grid-template-columns: minmax(200px, 340px) minmax(0, 520px); gap: 44px; }
.hero__logo { filter: drop-shadow(0 3px 10px rgba(0,0,0,.18)); }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); }
.hero__lead { font-size: 1.15rem; max-width: 40ch; }
.hero__faits li::before { background: var(--encre); }
.hero__faits strong { font-weight: 700; }
.hero .btn--ligne { border-color: var(--encre); color: var(--encre); }
.hero .btn--ligne:hover { background: var(--encre); color: var(--farine); border-color: var(--encre); }
.hero a:focus-visible { outline-color: var(--encre); }
.hero__pizza { border-radius: 50%; border: 6px solid rgba(255,255,255,.9); filter: drop-shadow(0 14px 26px rgba(0,0,0,.4)); width: 300px; margin-top: -150px; right: max(20px, calc(50% - 600px)); }
@media (max-width: 1340px) { .hero__pizza { display: none; } }
@media (max-width: 760px) {
  .hero { padding: 26px 16px 34px; }
  .hero__in { grid-template-columns: 1fr; gap: 18px; }
  .hero__logo { width: 210px; }
  .hero__lead { font-size: 1.05rem; }
}

.cats a { font: 600 1.05rem/1 var(--f-titre); padding: 17px 12px 14px; }
.carte { background-size: 512px auto; }
.rubrique__tete { color: var(--encre); padding: 9px 12px; align-items: center; border-radius: var(--r-petit); }
.rubrique__tete h3 { font-size: 1.5rem; }
.rubrique__tailles { font: 700 .8rem/1 var(--f-texte); opacity: 1; }
.rubrique { background: rgba(24,24,24,.86); border-radius: var(--r-carte); padding: 10px; box-shadow: 0 0 0 1px rgba(255,255,255,.06); }
.plat__nom, .supps .plat__nom { font: italic 400 1.3rem/1.15 var(--f-titre); letter-spacing: 0; }
.plat__nom::after { margin-bottom: .2em; border-bottom-width: 1px; }
.plat__prix { font: 600 1.02rem/1 var(--f-texte); }
.plat__desc { color: #e6a868; font-style: normal; font-size: .875rem; line-height: 1.4; }
.supps .plat__desc { font-size: .85rem; }
.rubrique__note { font-size: .8rem; padding: 0 12px; }
@media (max-width: 520px) {
  :root { --col-prix: 3.3rem; }
  .plat__nom { font-size: 1.15rem; }
  .plat__prix { font-size: .92rem; }
  .rubrique__tete h3 { font-size: 1.3rem; }
  .rubrique { padding: 6px; }
}

/* Four à bois (vidéo) */
.four { background: var(--suie); padding: 56px 16px; }
.four__in { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px; align-items: center; }
.four__video { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--r-carte); background: #000; display: block; }
.four h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); color: var(--braise); }
@media (max-width: 700px) { .four__in { grid-template-columns: 1fr; gap: 22px; } .four__video { max-width: 320px; } }

/* Fiche produit, panier, formulaires */
.fiche h2 { font-size: 1.9rem; }
.fiche__desc { font-style: normal; font-size: .95rem; }
legend { font: 600 1.15rem/1.2 var(--f-titre); }
.fiche__sous { margin: 16px 0 8px; font: 600 1.15rem/1.2 var(--f-titre); display: flex; justify-content: space-between; align-items: baseline; }
.fiche__compte { font: 700 .85rem/1 var(--f-texte); color: var(--terre); }
.fiche__supps summary { font: 600 1.1rem/1.2 var(--f-titre); }
.supp-groupe legend { font: 700 .82rem/1.2 var(--f-texte); text-transform: none; }
.chip span { font-size: .9rem; padding: 7px 11px; }
.chip input:disabled + span { opacity: .4; }
.chip input:disabled { cursor: not-allowed; }
.seg__opt span { font-size: .95rem; }
.seg__opt small { font-size: .82rem; }
.panier__tete h2 { font-size: 1.8rem; }
.panier__total { font-size: 1.05rem; }
.panier__total strong { font: 600 1.6rem/1 var(--f-titre); }
.panier__info, .ligne__txt span { font-size: .85rem; }
.barre-panier { font: 600 1.1rem/1 var(--f-titre); }
.recap h2 { font-size: 1.6rem; }
.formulaire legend { font-size: 1.3rem; }
.champ__aide { font-size: .82rem; }
.confirmation__num { font-size: 1.2rem; }
.confirmation__num strong { font-weight: 600; font-size: 2rem; }
.suivi li { font-size: .88rem; }
.texte h2 { font-size: 1.5rem; }
.texte a { color: #f0a85e; }
.texte .btn--braise { color: var(--suie); }
.bandeau { font-size: 1rem; }

/* Pied de page */
.pied__in { grid-template-columns: 240px repeat(3, minmax(0, 1fr)); }
.pied__logo { width: 210px; }
.pied h2 { font-size: 1.3rem; }
.pied p, .horaires { font-size: .92rem; }
.pied__legal { font-size: .82rem; }
@media (max-width: 860px) { .pied__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__in { grid-template-columns: 1fr; } .pied__logo { width: 170px; } }
