/* =========================================================
   Popi Pizza — v3 (accueil + carte)
   Identité alignée sur les dépliants : noir, rouge, vert, touche manuscrite.
   Points de rupture : mobile ≤ 767 px · tablette ≤ 1024 px
   ========================================================= */

:root {
  --noir: #0e0e0e;
  --noir-2: #1b1b1b;
  --rouge: #d4231a;
  --rouge-fonce: #a91b14;
  --vert: #0b7a37;
  --orange: #ef7d00;
  --jaune: #ffd23f;
  --surligneur: #fff06a;
  --creme: #faf6ef;
  --texte: #1d1d1d;
  --texte-doux: #555;
  --trait: #e7e1d6;
  --rayon: 14px;
  --ombre: 0 10px 30px rgba(0, 0, 0, .08);
  --titre: "Jost", system-ui, sans-serif;
  --main: "Caveat", cursive;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  font: 400 17px/1.6 var(--titre);
  color: var(--texte);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
sup { font-size: .6em; line-height: 0; }
.sprite { display: none; }
.ico { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
.ico--lg { width: 40px; height: 40px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: 14px; color: var(--texte-doux); }
.note { margin-top: 18px; font-size: 14px; color: var(--texte-doux); }

/* ---------- Typographie ---------- */
.eyebrow {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--rouge);
}
.h2 { font: 700 clamp(30px, 4vw, 46px)/1.1 var(--titre); letter-spacing: -.01em; }
.lead { max-width: 720px; margin-top: 14px; font-size: 19px; color: var(--texte-doux); }
.script { font: 700 clamp(30px, 3.6vw, 44px)/1 var(--main); color: var(--jaune); }
.script--green { color: var(--vert); font-size: 34px; }
.hl { background: linear-gradient(transparent 55%, var(--surligneur) 55%); padding: 0 .1em; }
mark { background: var(--surligneur); padding: 0 .2em; color: inherit; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font: 600 16px/1.2 var(--titre);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, background-color .15s, color .15s, border-color .15s;
}
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 17px 30px; font-size: 18px; }
.btn--sm { padding: 10px 18px; font-size: 15px; }
.btn--red { background: var(--rouge); color: #fff; }
.btn--red:hover { background: var(--rouge-fonce); }
.btn--dark { background: var(--noir); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--noir); }
.btn--outline { border-color: var(--noir); color: var(--noir); }
.btn--outline:hover { background: var(--noir); color: #fff; }

.tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--rouge);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transform: rotate(-3deg);
}
.tag--green { background: var(--vert); }

/* ---------- Bandeau offre ---------- */
.topbar {
  display: block;
  padding: 9px 20px;
  background: var(--rouge);
  color: #fff;
  font-weight: 500;
  font-size: 15px;
  text-align: center;
  text-decoration: none;
}
.topbar span { margin-left: 10px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- En-tête ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: transparent;
  color: #fff;
  transition: background .25s, box-shadow .25s;
}
/* En haut de page, l'en-tête est transparent : le fond du bloc titre remonte dessous.
   Après défilement, il devient noir plein avec une ombre légère. */
:root { --hh: 132px; } /* hauteur réelle de l'en-tête en haut de page */
.hero, .page-head { margin-top: calc(-1 * var(--hh)); }
.hero-in { padding-top: var(--hh); }
.header.is-compact { background: #0e0e0e; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.header-in { box-sizing: border-box; display: flex; align-items: center; gap: 28px; min-height: var(--hh); padding: 10px 0; transition: min-height .25s, padding .25s; }
.header-logo img { width: 220px; transition: width .25s; }
/* En-tête réduit après défilement (classe ajoutée par js/popi-v3.js) */
.header.is-compact .header-in { min-height: 70px; padding: 6px 0; }
.header.is-compact .header-logo img { width: 150px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 500; font-size: 16px; text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; color: var(--jaune); }

/* Pastille « ouvert / fermé » (remplie par le script) */
.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9a9a9a; }
.status.is-open::before { background: #2ecc71; box-shadow: 0 0 0 4px rgba(46, 204, 113, .25); }
.status--big { margin: 14px 0 6px; font-size: 18px; }

/* ---------- Accroche ---------- */
.hero { position: relative; overflow: hidden; background: var(--noir); color: #fff; }
.hero::before { /* halo rouge chaud derrière la pizza */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 30%, rgba(212, 35, 26, .22), transparent 55%);
}
.hero-in { position: relative; display: grid; grid-template-columns: 1fr 1.05fr; align-items: end; gap: 20px; }
.hero-text { padding: 80px 0 90px; align-self: center; }
.hero h1 { margin: 14px 0 18px; font: 700 clamp(36px, 5vw, 62px)/1.05 var(--titre); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lead { max-width: 520px; font-size: 19px; color: rgba(255, 255, 255, .8); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-rating { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, .85); }
.hero-rating a, .rating-badges a { text-decoration: none; }
.hero-rating a { display: inline-flex; align-items: center; gap: 6px; }
.hero-rating strong { color: #fff; font-size: 17px; }
.hero-rating span { color: rgba(255, 255, 255, .6); }
.rating-star { width: 18px; height: 18px; fill: var(--jaune); }
.rating-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 20px; }
.rating-badges a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: var(--rayon); background: var(--noir-2); font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .7); }
.rating-badges a:hover { background: #262626; }
.rating-badges strong { font: 700 28px/1 var(--titre); color: #fff; }
.hero-modes { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .75); }
.hero-modes li { display: flex; align-items: center; gap: 8px; }
.hero-visual img { width: 100%; margin-bottom: -2px; }
/* Photos détourées (fond transparent) : plus besoin de fondu sur le noir */
.hero-cta--center { justify-content: center; }
/* Bandeau d'accueil : photo du four en fond (version validée le 04/12) */
.hero--photo { min-height: min(92vh, 860px); display: flex; align-items: center; background: #0e0e0e url(../medias/v3/hero-four-large.webp) 50% 60% / cover no-repeat; }
.hero--photo::before { display: none; }
.hero--photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .72) 36%, rgba(10, 10, 10, .12) 66%, rgba(10, 10, 10, 0) 100%), linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, transparent 22%, transparent 80%, rgba(10, 10, 10, .5) 100%); }
.hero--photo .hero-in { z-index: 1; width: min(1200px, calc(100% - 64px)); grid-template-columns: 1fr; }
.hero--photo .hero-text { max-width: 640px; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }

/* ---------- Engagements ---------- */
.promises { background: var(--creme); border-bottom: 1px solid var(--trait); }
.promises-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 30px 0; }
.promise { display: flex; gap: 14px; align-items: flex-start; }
.promise .ico { width: 34px; height: 34px; padding: 6px; border-radius: 50%; background: #fff; color: var(--rouge); box-shadow: var(--ombre); }
.promise strong { display: block; font-weight: 700; font-size: 16px; }
.promise span { display: block; font-size: 14px; color: var(--texte-doux); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section.dark { background: var(--noir); color: #fff; }
.section.dark .lead, .section.dark .note { color: rgba(255, 255, 255, .7); }
.section.dark .eyebrow { color: var(--jaune); }
.section.cream { background: var(--creme); }

/* ---------- Offres ---------- */
.offers-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; margin-top: 40px; }
.offer { position: relative; padding: 40px; border-radius: var(--rayon); color: #fff; overflow: hidden; }
.offer h3 { margin: 18px 0 12px; font: 700 clamp(26px, 3vw, 36px)/1.1 var(--titre); }
.offer p { margin-top: 10px; }
.offer .small { color: rgba(255, 255, 255, .85); }
.offer .btn { margin-top: 24px; }
.offer--orange { background: var(--orange); color: var(--noir); }
.offer--orange .tag { background: var(--vert); }
.offer--orange .small { color: rgba(0, 0, 0, .7); }
.offer-when { font-weight: 600; }
.offer-pro { padding: 10px 14px; border-radius: 8px; background: rgba(255, 255, 255, .35); }
.offer--green { background: var(--vert); }
.offer--green .tag { background: #fff; color: var(--vert); }
.offer--green img { width: min(320px, 100%); margin: 22px 0 6px; border-radius: 8px; box-shadow: 0 12px 30px rgba(0, 0, 0, .3); transform: rotate(-3deg); }

/* ---------- Pizzas du moment ---------- */
.moment-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 44px; }
.pizza-card { display: flex; flex-direction: column; padding: 24px; border-radius: var(--rayon); background: var(--noir-2); }
.pizza-card img { width: 170px; height: 160px; object-fit: contain; margin: 0 auto 18px; }
.pizza-card h3 { font-weight: 700; font-size: 21px; }
.pizza-card p { margin-top: 8px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.pizza-card .price { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: auto; padding-top: 16px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.pizza-card .price b { margin-left: 4px; font-size: 17px; color: var(--jaune); }
.moment .btn { margin-top: 40px; }
.moment--menu { margin-top: 70px; }

/* ---------- Formules midi ---------- */
.lunch { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 40px; }
.lunch-visuals { display: grid; gap: 10px; }
.lunch-visuals figure { position: relative; }
.lunch-visuals figcaption { position: absolute; left: 10px; bottom: 14px; }
.menu-line { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px dashed #cfc6b6; }
.menu-line h3 { font-weight: 700; font-size: 21px; }
.menu-line p { margin-top: 4px; color: var(--texte-doux); }
.menu-line > b { font-weight: 700; font-size: 22px; color: var(--rouge); white-space: nowrap; }
.menu-line--sm h3 { font-size: 18px; }
.menu-line--sm p { font-size: 15px; }
.menu-line--sm > b { font-size: 19px; }
.menu-line--img { align-items: center; }
.menu-line--img > div { flex: 1; }
.menu-line--img .dish-img { border-radius: 0; }
.salad { display: grid; grid-template-columns: 150px 1fr; gap: 24px; margin-top: 40px; padding: 26px; border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre); }
.salad > img { width: 150px; align-self: start; }
.salad .menu-line:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Savoir-faire ---------- */
.craft-in, .place-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.craft-img img, .craft-video { border-radius: var(--rayon); box-shadow: var(--ombre); }
.craft-video { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #1a1a1a; }
.craft-text p { margin-top: 18px; color: var(--texte-doux); }
.craft-text p strong { color: var(--texte); }
.craft-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.craft-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.craft-thumbs figcaption { margin-top: 6px; font-size: 14px; font-weight: 500; text-align: center; color: var(--texte-doux); }
/* Nos producteurs */
.producers .section-lead { max-width: 640px; margin-top: 14px; color: rgba(255, 255, 255, .75); }
.producers .section-lead strong { color: #fff; }
.producers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.producer { padding: 24px; border-radius: var(--rayon); background: rgba(255, 255, 255, .06); text-align: center; }
.producer img { width: 100%; height: 120px; object-fit: contain; margin-bottom: 14px; }
.producer h3 { font-weight: 700; font-size: 19px; }
.producer p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.producer .producer-type { margin-top: 2px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--jaune); }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; font-weight: 500; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--vert); font-weight: 700; }

/* ---------- Restaurant ---------- */
.place { padding-top: 0; }
.place-text p { margin: 18px 0 26px; color: var(--texte-doux); }
.place-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.place-photos img { width: 100%; border-radius: var(--rayon); object-fit: cover; aspect-ratio: 4 / 3.4; }
.place-photos img:first-child { grid-column: 1 / -1; aspect-ratio: 15 / 8; }

/* ---------- Avis ---------- */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-btn { display: grid; place-items: center; width: 50px; height: 50px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 50%; background: none; color: #fff; cursor: pointer; }
.reviews-btn:hover { background: #fff; color: var(--noir); }
.reviews-btn[data-dir="-1"] .ico { transform: scaleX(-1); }
.reviews-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  margin-top: 40px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.reviews-scroller::-webkit-scrollbar { display: none; }
.review { display: flex; flex-direction: column; padding: 28px; border-radius: var(--rayon); background: var(--noir-2); scroll-snap-align: start; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; color: var(--jaune); }
.stars svg { width: 20px; height: 20px; fill: currentColor; }
.review blockquote { flex: 1; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .9); }
.review figcaption { display: flex; align-items: center; gap: 12px; margin-top: 22px; font-size: 15px; line-height: 1.35; }
.review-meta { font-size: 13px; color: rgba(255, 255, 255, .6); }
.avatar { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--rouge); color: #fff; font-weight: 700; font-size: 15px; }
.reviews-source { margin-top: 22px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.reviews-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* ---------- Commander ---------- */
.order-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.order-card { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 34px; border: 1px solid var(--trait); border-radius: var(--rayon); }
.order-card .ico--lg { color: var(--rouge); }
.order-card h3 { font-weight: 700; font-size: 24px; }
.order-card p { color: var(--texte-doux); }
.order-card .btn { margin-top: auto; }
.order-card--main { border: 0; background: var(--noir); color: #fff; }
.order-card--main p { color: rgba(255, 255, 255, .75); }
.order-card--main .ico--lg { color: var(--jaune); }

/* ---------- Horaires & accès ---------- */
.infos-in { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.hours { width: 100%; margin-top: 18px; border-collapse: collapse; }
.hours th, .hours td { padding: 12px 0; border-bottom: 1px solid var(--trait); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { font-weight: 700; color: var(--rouge); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.address { display: flex; gap: 12px; align-items: flex-start; margin-top: 20px; font-style: normal; font-size: 19px; }
.address .ico { margin-top: 5px; color: var(--rouge); }
.address a { text-decoration: none; font-weight: 600; }
.infos-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* ---------- Pied de page ---------- */
.footer { padding: 70px 0 30px; background: var(--noir); color: rgba(255, 255, 255, .8); font-size: 15px; }
.footer-in { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 40px; }
.footer-logo { width: 220px; margin-bottom: 14px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--jaune); }
.footer-nav { display: grid; gap: 10px; align-content: start; }
.footer-title { margin-bottom: 14px; font: 700 26px/1 var(--main); color: #fff; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { display: grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 50%; color: #fff; transition: background .2s, border-color .2s; }
.social a:hover { border-color: var(--rouge); background: var(--rouge); }
.social svg { width: 22px; height: 22px; }
.copyright { margin-top: 50px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .55); }

/* ---------- Barre d'actions (mobile) ---------- */
.actionbar { display: none; }
/* Menu téléphone / tablette */
.burger { display: none; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.burger .ico, .mnav-close .ico { width: 22px; height: 22px; }
.mnav { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; padding: 16px 22px 28px; background: rgba(14, 14, 14, .98); color: #fff; overflow-y: auto; }
.mnav[hidden] { display: none; }
.mnav-top { display: flex; align-items: center; justify-content: space-between; }
.mnav-top img { width: 130px; }
.mnav-close { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.mnav-links { display: flex; flex-direction: column; margin: 26px 0; }
.mnav-links a { padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); font: 600 22px/1.2 var(--titre); color: #fff; text-decoration: none; }
.mnav-links a[aria-current] { color: var(--jaune); }
.mnav-call { margin-top: auto; justify-content: center; }
body.mnav-open { overflow: hidden; }

/* =========================================================
   PAGE CARTE
   ========================================================= */
.page-head { padding: calc(70px + var(--hh)) 0 50px; background: var(--noir); color: #fff; text-align: center; }
.page-head h1 { margin-top: 10px; font: 700 clamp(38px, 6vw, 64px)/1 var(--titre); }
.page-head .lead { margin: 16px auto 0; color: rgba(255, 255, 255, .75); }
.menu-nav {
  position: sticky;
  top: 78px;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--trait);
}
.menu-nav .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.menu-nav a { flex: none; padding: 8px 16px; border-radius: 999px; background: var(--creme); font-weight: 500; font-size: 15px; text-decoration: none; white-space: nowrap; }
.menu-nav a:hover { background: var(--noir); color: #fff; }
.menu-section { padding: 70px 0 20px; }
.menu-section + .menu-section { padding-top: 40px; }
.menu-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 3px solid var(--noir); }
.menu-section-head h2 { font: 700 clamp(28px, 3.5vw, 38px)/1.1 var(--titre); color: var(--rouge); }
.menu-section-head h2 small { font-weight: 500; font-size: .55em; color: var(--texte-doux); }
.menu-sizes { display: flex; gap: 0; font-weight: 600; color: var(--texte-doux); }
.menu-sizes span, .dish-prices span { width: 92px; text-align: right; }
.dishes { display: grid; grid-template-columns: 1fr; }
.dish { display: flex; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px dashed #d8d0c2; }
/* Photo ronde de chaque pizza */
.dish { align-items: center; }
.dish > div:not(.dish-prices) { flex: 1; }
.dish-img { flex: none; width: 92px; height: 92px; border-radius: 50%; filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .18)); }
.dish h3 { font-weight: 700; font-size: 19px; }
.dish h3 .num { margin-right: 8px; color: var(--texte-doux); font-weight: 500; }
.dish p { margin-top: 3px; color: var(--texte-doux); font-size: 16px; }
.dish-prices { display: flex; font-weight: 700; font-size: 18px; white-space: nowrap; }
.badge-ess { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: var(--surligneur); color: var(--texte); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; vertical-align: 3px; }
.menu-extra { margin-top: 22px; padding: 20px 24px; border-radius: var(--rayon); background: var(--creme); font-size: 15px; color: var(--texte-doux); }
.menu-cta { margin: 70px 0 0; padding: 60px 0; background: var(--rouge); color: #fff; text-align: center; }
.menu-cta .h2 { color: #fff; }
.menu-cta p { margin: 12px 0 26px; font-size: 19px; }
.menu-cta .btn--ghost:hover { color: var(--rouge); }
.desserts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 26px; }
.dessert { padding: 24px; border-radius: var(--rayon); background: var(--noir); color: #fff; text-align: center; }
.dessert img { height: 120px; width: auto; margin: 0 auto 14px; object-fit: contain; }
.dessert h3 { font-weight: 700; font-size: 20px; }
.dessert p { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .72); }
.dessert b { display: block; margin-top: 10px; font-size: 19px; color: var(--jaune); }
/* Boissons */
.drinks { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 24px; margin-top: 26px; }
.drink-group { display: flex; flex-direction: column; padding: 24px; border-radius: var(--rayon); background: var(--creme); }
.drink-group > img { height: 150px; width: 100%; object-fit: contain; object-position: center bottom; margin-bottom: 16px; }
.drink-group h3 { font-weight: 700; font-size: 21px; }
.drink-list { margin: 8px 0 0; padding: 0; list-style: none; }
.drink-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 8px 0; border-bottom: 1px dashed #cfc6b6; }
.drink-list li:last-child { border-bottom: 0; }
.drink-list small { display: block; font-size: 14px; color: var(--texte-doux); }
.drink-list b { font-weight: 700; color: var(--rouge); white-space: nowrap; }
#boissons .menu-line { margin-top: 10px; }
/* Vins */
.wine-img { flex: none; width: 56px; height: 130px; object-fit: contain; }
.wine .wine-dom { margin-top: 0; font-style: italic; font-weight: 500; color: var(--noir); }
.menu-sizes small { display: block; font-size: 13px; font-weight: 400; }
.wine-4cl::before { content: attr(data-size) " "; font-weight: 400; color: var(--texte-doux); font-size: 14px; }

/* =========================================================
   Tablette
   ========================================================= */
@media (max-width: 1024px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-tel { margin-left: auto; }
  .header-in { justify-content: space-between; }
  .hero-in { grid-template-columns: 1fr; }
  .hero-text { padding: 60px 0 10px; }
  .hero-visual { max-width: 640px; margin: 0 auto; }
  .promises-in { grid-template-columns: 1fr 1fr; }
  .moment-grid { grid-template-columns: 1fr 1fr; }
  .lunch, .craft-in, .place-in { grid-template-columns: 1fr; gap: 40px; }
  .offers-grid { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .reviews-scroller { grid-auto-columns: calc((100% - 24px) / 2); }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
  body { font-size: 16px; padding-bottom: 70px; }
  .wrap { width: calc(100% - 32px); }
  .topbar { font-size: 14px; }
  .topbar span { display: none; }
  :root { --hh: 92px; }
  .header-in { gap: 12px; padding: 8px 0; }
  .header-logo img { width: 150px; }
  .header.is-compact .header-in { min-height: 58px; padding: 4px 0; }
  .header.is-compact .header-logo img { width: 112px; }
  .header .status { display: none; }
  .header-tel span { display: none; }
  .header-tel { width: 44px; height: 44px; padding: 0; }
  .hero-text { padding: 44px 0 6px; }
  .hero-lead { font-size: 17px; }
  .hero-cta .btn { width: 100%; }
  .section { padding: 70px 0; }
  .place { padding-top: 0; }
  .promises-in { grid-template-columns: 1fr; gap: 16px; }
  .offer { padding: 28px 22px; }
  .moment-grid { grid-template-columns: 1fr; }
  .pizza-card { display: grid; grid-template-columns: 96px 1fr; gap: 4px 16px; padding: 18px; }
  .pizza-card img { grid-row: span 3; width: 96px; height: 96px; margin: 0; }
  .pizza-card .price { grid-column: 2; padding-top: 8px; }
  .salad { grid-template-columns: 1fr; }
  .salad > img { width: 130px; margin: 0 auto; }
  .place-photos { grid-template-columns: 1fr 1fr; }
  .order-grid { grid-template-columns: 1fr; }
  .infos-in { grid-template-columns: 1fr; gap: 50px; }
  .footer-in { grid-template-columns: 1fr; gap: 30px; }
  .menu-nav { top: 64px; }
  .dish { flex-direction: column; gap: 6px; }
  .dish-prices span, .menu-sizes span { width: auto; text-align: left; margin-right: 18px; }
  .dish-prices span::before { content: attr(data-size) " "; font-weight: 400; color: var(--texte-doux); font-size: 14px; }
  .menu-sizes { display: none; }
  .desserts { grid-template-columns: 1fr; }
  .reviews-nav { display: none; }
  .reviews-scroller { grid-auto-columns: 86%; gap: 14px; }
  .review { padding: 22px; }

  .actionbar {
    position: fixed;
    inset: auto 0 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(14, 14, 14, .97);
    box-shadow: 0 -6px 20px rgba(0, 0, 0, .2);
  }
  .actionbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border-radius: 12px;
    background: var(--noir-2);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
  }
  .actionbar .actionbar-main { background: var(--rouge); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .reviews-scroller { scroll-behavior: auto; }
  .header, .header-in, .header-logo img { transition: none; }
}

/* ---------- Mentions légales ---------- */
.legal-in { max-width: 780px; }
.legal h2 { margin: 44px 0 14px; font: 700 26px/1.2 var(--titre); }
.legal h2:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; color: var(--texte-doux); line-height: 1.75; }
.legal p strong { color: var(--texte); }
.legal a { color: var(--rouge); text-decoration: underline; }
.legal-update { margin-top: 44px; font-size: 14px; }
.copyright a { color: inherit; text-decoration: underline; }
/* Repère des informations à fournir avant la mise en ligne : à supprimer une fois rempli */
.a-completer { padding: 0 6px; border-radius: 4px; background: var(--surligneur); color: var(--texte); }

/* ---------- Lot 1 : infos pratiques, végétarien, durée des pizzas du moment ---------- */
.badge-veg { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: #e3f3e8; color: var(--vert); font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; vertical-align: 3px; }
.badge-veg .ico { width: 13px; height: 13px; }
.badge-local { display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 8px; border-radius: 4px; background: #f6e3e6; color: #8a1c2c; font-weight: 600; font-size: 12px; letter-spacing: .05em; text-transform: uppercase; vertical-align: 3px; white-space: nowrap; }
.badge-local .ico { width: 13px; height: 13px; }
.evin { margin-top: 10px; font-size: 13px; color: var(--texte-doux); text-align: center; }
.pizza-card .badge-veg { margin: 0 0 10px; align-self: flex-start; }
/* Légende de la carte, juste avant les pizzas */
.menu-key-band { padding: 26px 0 0; }
.menu-key { display: grid; grid-template-columns: repeat(3, auto 1fr); align-items: center; gap: 12px 12px; margin: 0; padding: 18px 24px; border-radius: var(--rayon); background: var(--creme); font-size: 15px; }
.menu-key > div { display: contents; }
.menu-key dt { white-space: nowrap; }
.menu-key dd { padding-right: 18px; }
.menu-key dd { margin: 0; color: var(--texte-doux); }
.menu-key .badge-ess, .menu-key .badge-veg { margin-left: 0; vertical-align: 0; }
.key-sym { display: inline-block; min-width: 26px; padding: 1px 8px; border-radius: 4px; background: #fff; border: 1px solid #e3d9c8; font-weight: 700; font-size: 13px; text-align: center; color: var(--texte); }
.menu-key-band + .menu-section { padding-top: 40px; }
.moment-until { display: inline-block; margin-top: 14px; padding: 6px 14px; border-radius: 999px; background: var(--jaune); color: var(--noir); font-weight: 600; font-size: 15px; }
.moment-until .a-completer { background: #fff; }
.hours-note { margin-top: 16px; font-size: 15px; color: var(--texte-doux); }
.around { margin-top: 16px; font-size: 15px; color: var(--texte-doux); }
.practical { margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--trait); }
.practical-title { font: 700 26px/1.2 var(--titre); }
.practical-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 40px; margin-top: 22px; }
.practical-list li { display: flex; flex-direction: column; gap: 4px; font-size: 15px; color: var(--texte-doux); }
.practical-list strong { font-size: 17px; color: var(--texte); }
.practical-list a { color: var(--rouge); }
@media (max-width: 1024px) {
  .lunch-visuals { grid-template-columns: 1fr 1fr; align-items: end; }
  .lunch-visuals figcaption { left: 4px; bottom: 6px; }
  .practical-list { grid-template-columns: 1fr 1fr; }
  .drinks { grid-template-columns: 1fr 1fr; }
  .menu-key { grid-template-columns: repeat(2, auto 1fr); }
  .producers-grid { grid-template-columns: 1fr 1fr; }
  .drink-group--wide { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  /* photo à gauche, texte et prix à droite */
  .dish { display: grid; grid-template-columns: 68px 1fr; gap: 6px 14px; align-items: start; }
  .dish-img { grid-row: span 2; width: 68px; height: 68px; margin-top: 2px; }
  .wine-img { grid-row: span 2; width: 68px; height: 110px; }
  .menu-line--img { display: grid; grid-template-columns: 68px 1fr; gap: 6px 14px; align-items: start; }
  .menu-line--img > b { grid-column: 2; }
  .wine-4cl::before { content: none; }
  .drinks { grid-template-columns: 1fr; }
  .menu-key { grid-template-columns: auto 1fr; padding: 16px 18px; }
  .menu-key dd { padding-right: 0; }
  .drink-group > img { height: 110px; }
  .hero--photo { min-height: 100svh; align-items: flex-end; background-image: url(../medias/v3/hero-four-portrait.webp); }
  .hero--photo::after { background: linear-gradient(180deg, rgba(10, 10, 10, .7) 0%, rgba(10, 10, 10, .15) 22%, rgba(10, 10, 10, .35) 45%, rgba(10, 10, 10, .92) 70%, rgba(10, 10, 10, .97) 100%); }
  .hero--photo .hero-in { width: calc(100% - 32px); }
  .hero--photo .hero-text { padding-top: 34vh; }
  .producers-grid { gap: 12px; }
  .producer { padding: 16px 10px; }
  .producer img { height: 80px; }
  .producer h3 { font-size: 16px; }
  .producer p { font-size: 14px; }
  .practical-list { grid-template-columns: 1fr; gap: 18px; }
}

/* Page d'erreur 404 */
.page-404 { min-height: 70vh; display: flex; align-items: center; }
.page-404 .wrap { text-align: center; }
.page-404-home { margin-top: 26px; }
.page-404-home a { color: #fff; }
