/* =========================================================
   PÂTE À PIZ — Habillage du site public
   Chargé après nw-tokens, nw-components et nw-shop.

   L'idée : une pizzeria de quartier en plein jour.
   - Fond crème couleur pâte, saupoudré de farine.
   - Boutons et étiquettes « autocollants » : contour brun, ombre décalée,
     comme les lettres du logo.
   - La boîte à pizza en carton kraft, logo imprimé dessus : c'est le
     visuel de chaque produit tant qu'aucune photo n'est chargée.
   - La nappe à carreaux rouge et blanc pour séparer les grands moments.
   - Le vert basilic du menu imprimé pour les sections profondes.
   ========================================================= */

/* ---------------- Base ---------------- */
html, body { overflow-x: clip; }
body {
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(150,110,60,.06) 1px, transparent 1.4px),
    radial-gradient(rgba(150,110,60,.045) 1px, transparent 1.4px);
  background-size: 22px 22px, 37px 37px;
  background-position: 0 0, 11px 17px;
}
h1, h2, h3 { color: var(--text); }
strong, b { font-weight: 700; }
a { text-underline-offset: .2em; }
.hl {
  color: var(--c-ciel);
  background: linear-gradient(transparent 62%, rgba(255,210,31,.75) 62%, rgba(255,210,31,.75) 92%, transparent 92%);
  padding-inline: .06em;
}
.eyebrow {
  font-family: var(--font-body); font-weight: 800; font-size: var(--t-xs);
  letter-spacing: .16em; color: var(--c-ciel);
}
.eyebrow::before {
  width: 0; height: 0; border-radius: 0; background: none;
  border-left: 7px solid transparent; border-right: 7px solid transparent;
  border-top: 12px solid var(--c-soleil-lo);
  filter: drop-shadow(0 -2px 0 var(--c-kraft-lo));
}
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow:has(svg)::before { display: none; }
.eyebrow--sun { color: var(--c-soleil); }

.sec-head { margin-bottom: var(--s-6); }
.sec-head h2 { font-size: var(--t-2xl); line-height: 1.05; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .eyebrow { justify-content: center; }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s-5); max-width: none; }
.sec-head--light h2 { color: #fff; }
.sec-head--light p { color: rgba(255,246,229,.8); }

.section--alt { background: var(--surface-2); border-block: 1px solid var(--line); }
.section--crust { background: linear-gradient(180deg, var(--warm-1) 0%, var(--warm-2) 100%); }
.section--basil {
  background: var(--c-basil);
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1.5px);
  background-size: 18px 18px;
  color: #EAF4EC; --text: #fff; --text-mute: #BFD9C8; --line: rgba(255,255,255,.14);
}
.section--basil h2, .section--basil h3 { color: #fff; }

/* ---------------- Boutons « autocollant » ---------------- */
.btn {
  font-family: var(--font-body); font-weight: 800; letter-spacing: .02em; text-transform: none;
  border-radius: var(--r-full); overflow: visible;
  transition: transform var(--d-fast) var(--e-out), box-shadow var(--d-fast) var(--e-out), background var(--d-fast);
}
.btn::after { content: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--primary, .btn--sun, .btn--dark, .btn--light, .btn--gold {
  border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop);
}
.btn--primary { --btn-bg: var(--c-ciel); --btn-fg: #fff; }
.btn--primary:hover { --btn-bg: var(--c-ciel-hi); box-shadow: 6px 6px 0 var(--stroke-sh); transform: translate(-2px, -2px); }
.btn--sun, .btn--gold { --btn-bg: var(--c-soleil); --btn-fg: var(--c-nuit); }
.btn--sun:hover, .btn--gold:hover { --btn-bg: var(--c-soleil-hi); box-shadow: 6px 6px 0 var(--stroke-sh); transform: translate(-2px, -2px); }
.btn--dark { --btn-bg: var(--c-basil); --btn-fg: #fff; }
.btn--dark:hover { --btn-bg: var(--c-basil-3); box-shadow: 6px 6px 0 var(--stroke-sh); transform: translate(-2px, -2px); }
.btn--light { --btn-bg: var(--surface); --btn-fg: var(--c-nuit); }
.btn--light:hover { box-shadow: 6px 6px 0 var(--stroke-sh); transform: translate(-2px, -2px); }
.btn--primary:active, .btn--sun:active, .btn--dark:active, .btn--light:active, .btn--gold:active {
  transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--stroke-sh);
}
.btn--ghost { --btn-fg: var(--text); box-shadow: inset 0 0 0 2.5px currentColor; background: transparent; }
.btn--ghost:hover { --btn-bg: rgba(228,38,28,.06); transform: translateY(-2px); }
.btn[disabled] { opacity: .55; pointer-events: none; }
.textlink {
  display: inline-flex; align-items: center; gap: .4rem; margin-top: var(--s-4);
  font-weight: 800; color: var(--c-ciel); border-bottom: 2.5px solid currentColor; padding-bottom: 2px;
}
.textlink svg { width: 18px; height: 18px; transition: transform var(--d-fast); }
.textlink:hover svg { transform: translateX(4px); }
.roundbtn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh);
  font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--c-nuit);
  transition: transform var(--d-fast), box-shadow var(--d-fast);
}
.roundbtn:hover { background: var(--c-soleil); }
.roundbtn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stroke-sh); }

/* Étiquettes */
.tag {
  display: inline-flex; align-items: center; height: 22px; padding: 0 .55rem; border-radius: var(--r-full);
  font-size: .72rem; font-weight: 800; letter-spacing: .03em; border: 1.5px solid var(--stroke);
}
.tag--best { background: var(--c-soleil); color: var(--c-nuit); }
.tag--veg { background: #DDF3E3; color: #0B5A2E; border-color: #0B5A2E; }
.tag--hot { background: #FFE1DC; color: var(--c-ciel-deep); border-color: var(--c-ciel-deep); }

/* Nappe à carreaux */
.gingham {
  height: 26px; background: var(--gingham); background-size: 28px 28px;
  border-block: 2.5px solid var(--stroke);
}

/* ---------------- Bandeau d'annonce ---------------- */
.announce {
  background: var(--c-basil); color: #FFF6E5; font-size: var(--t-xs); font-weight: 600;
  position: relative; z-index: calc(var(--z-header) + 1);
}
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 38px; padding-right: 3rem; position: relative; text-align: center; }
.announce__short { display: none; }
.announce__close { position: absolute; right: var(--gutter); top: 50%; translate: 0 -50%; width: 30px; height: 30px; border-radius: 50%; color: #FFF6E5; opacity: .8; }
.announce__close:hover { opacity: 1; background: rgba(255,255,255,.12); }
@media (max-width: 640px) { .announce__long { display: none; } .announce__short { display: inline; } }

/* ---------------- En-tête ---------------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg); -webkit-backdrop-filter: saturate(150%) blur(12px); backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 2.5px solid transparent;
  transition: border-color var(--d-mid), box-shadow var(--d-mid);
}
.header.is-stuck { border-bottom-color: var(--c-nuit); box-shadow: 0 6px 0 rgba(31,21,16,.06); }
.header__bar { display: flex; align-items: center; gap: var(--s-4); min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; }
.logo__mark { display: block; width: clamp(128px, 12vw, 162px); height: auto; aspect-ratio: 360 / 146; transition: transform var(--d-mid) var(--e-back); }
.logo__mark img { width: 100%; height: 100%; object-fit: contain; }
.logo:hover .logo__mark { transform: rotate(-3deg) scale(1.04); }
.logo__word { display: none; }

.nav { display: flex; align-items: center; gap: .15rem; margin-inline: auto; }
.nav a {
  position: relative; padding: .55rem .8rem; border-radius: var(--r-full);
  font-weight: 700; font-size: var(--t-sm); color: var(--text); white-space: nowrap;
  transition: background var(--d-fast), color var(--d-fast);
}
.nav a:hover { background: rgba(228,38,28,.08); color: var(--c-ciel); }
.nav a[aria-current="page"] { background: var(--c-nuit); color: var(--c-soleil); }

.header__tools { display: flex; align-items: center; gap: .3rem; margin-left: auto; }
.nav + .header__tools { margin-left: 0; }
.hcall {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem .35rem .4rem; margin-right: .3rem;
  border-radius: var(--r-full); background: var(--surface); border: 2px solid var(--line-strong); line-height: 1.1;
  transition: border-color var(--d-fast), transform var(--d-fast);
}
.hcall svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--c-matcha); color: #fff; flex: none; }
.hcall span { display: grid; font-weight: 800; font-size: .95rem; white-space: nowrap; }
.hcall small { font-size: .68rem; font-weight: 600; color: var(--text-mute); }
.hcall:hover { border-color: var(--c-matcha); transform: translateY(-1px); }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  color: var(--text); transition: background var(--d-fast);
}
.icon-btn:hover { background: rgba(31,21,16,.06); }
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn__count {
  position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: var(--r-full); background: var(--c-ciel); color: #fff; border: 2px solid var(--bg);
  font-size: .7rem; font-weight: 800; display: grid; place-items: center; line-height: 1;
}
.header__cta { margin-left: .3rem; }
.burger { display: none; }
.burger .burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: block; }

@media (max-width: 1440px) { .nav a { padding: .55rem .65rem; } }
@media (max-width: 1400px) {
  .hcall span { display: none; }
  .hcall { padding: 0; border: 0; background: none; margin: 0; }
  .hcall svg { width: 40px; height: 40px; padding: 10px; }
}
@media (max-width: 1160px) {
  /* backdrop-filter crée un bloc conteneur : le menu « fixed » serait
     enfermé dans l'en-tête et coupé après « Accueil ». Fond plein ici. */
  .header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  .burger { display: grid; }
  .header__cta { display: none; }
  .nav {
    position: fixed; inset: var(--nav-top, var(--header-h)) 0 0 0; z-index: var(--z-drawer);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: .2rem;
    padding: var(--s-5) var(--gutter) var(--s-8); margin: 0;
    background: var(--bg); overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform var(--d-mid) var(--e-out), visibility 0s linear var(--d-mid);
    border-top: 2.5px solid var(--stroke);
  }
  .nav::after { content: ""; display: block; height: 22px; margin-top: auto; background: var(--gingham); background-size: 22px 22px; border-radius: 6px; opacity: .9; }
  .nav.is-open { transform: none; visibility: visible; transition: transform var(--d-mid) var(--e-out), visibility 0s; }
  .nav a { font-family: var(--font-display); font-size: clamp(1.6rem, 6.5vw, 2.1rem); font-weight: 400; padding: .7rem 1rem; border-radius: var(--r-md); }
  .nav a[aria-current="page"] { background: var(--c-ciel); color: #fff; }
}
@media (max-width: 520px) {
  :root { --header-h: 64px; }
  .logo__mark { width: 116px; }
  .header__bar { gap: var(--s-2); }
  .header__tools { gap: 0; }
  .header__tools .icon-btn { width: 40px; height: 40px; }
  .header__tools a[href="/compte"] { display: none; }
}

/* ---------------- Fil d'Ariane, en-tête de page ---------------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: var(--t-xs); font-weight: 600; color: var(--text-mute); }
.crumbs a:hover { color: var(--c-ciel); }
.crumbs [aria-current] { color: var(--text); }
.pagehead { position: relative; padding: clamp(2.2rem, 5vw, 4rem) 0 clamp(2.6rem, 5vw, 4.2rem); background: linear-gradient(180deg, var(--warm-1), var(--bg)); overflow: hidden; }
.pagehead::before {
  content: ""; position: absolute; right: -60px; top: -80px; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--c-ciel) 0 55%, var(--c-crust) 56% 66%, transparent 67%);
  opacity: .1;
}
.pagehead__inner { position: relative; max-width: 860px; margin-inline: 0; }
.pagehead h1 { font-size: var(--t-3xl); margin-top: var(--s-3); line-height: 1.02; }
.pagehead p { margin-top: var(--s-3); font-size: var(--t-lg); color: var(--text-mute); max-width: 60ch; }
.pagehead__crust { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--gingham); background-size: 20px 20px; opacity: .55; }
.pagehead__logo { display: none; }

/* ---------------- HÉROS DE L'ACCUEIL ---------------- */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 4vw, 3.6rem) 0 clamp(1.6rem, 3vw, 2.4rem); }
.hero__sun {
  position: absolute; right: -14vw; top: 50%; translate: 0 -50%; width: min(70vw, 900px); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255,210,31,.38) 0 7deg, transparent 7deg 15deg);
  -webkit-mask: radial-gradient(circle, #000 0 40%, transparent 70%); mask: radial-gradient(circle, #000 0 40%, transparent 70%);
  animation: spin-slow 120s linear infinite; pointer-events: none;
}
@keyframes spin-slow { to { rotate: 360deg; } }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .6rem; padding: .45rem 1rem .45rem .5rem; border-radius: var(--r-full);
  background: var(--surface); border: 2px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh);
  font-weight: 800; font-size: var(--t-xs); letter-spacing: .02em;
}
.kicker__dot { width: 22px; height: 22px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--c-ciel-hi), var(--c-ciel)); box-shadow: inset 0 0 0 3px var(--c-crust); }
.hero__title { font-size: var(--t-4xl); line-height: .98; margin-top: var(--s-5); letter-spacing: -.005em; }
.hero__accent { display: inline-block; color: var(--c-basil); }
.hero__lede { margin-top: var(--s-5); font-size: var(--t-lg); color: var(--text-mute); max-width: 52ch; }
.hero__lede strong { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero__calls { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.callpill { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 1.1rem .4rem .45rem; border-radius: var(--r-full); background: var(--surface); border: 2px dashed var(--line-strong); line-height: 1.1; transition: border-color var(--d-fast), background var(--d-fast); }
.callpill svg { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--c-matcha); color: #fff; }
.callpill span { display: grid; font-weight: 800; font-size: 1.05rem; }
.callpill small { font-size: .7rem; font-weight: 700; color: var(--text-mute); text-transform: uppercase; letter-spacing: .08em; }
.callpill:hover { border-color: var(--c-matcha); border-style: solid; background: var(--surface); }

/* La pizza du héros */
.hero__art { position: relative; max-width: 620px; width: 100%; justify-self: center; aspect-ratio: 900 / 799; }
.hero__glow {
  position: absolute; inset: 8% 6% 4%; border-radius: 50%;
  background: radial-gradient(circle, rgba(228,38,28,.22) 0 45%, rgba(255,210,31,.25) 60%, transparent 72%);
  filter: blur(6px);
}
.hero__pizza {
  position: relative; z-index: 1; width: 100%; height: auto;
  filter: drop-shadow(10px 18px 0 rgba(31,21,16,.16)) drop-shadow(0 26px 40px rgba(120,50,10,.28));
  animation: pizza-in .9s var(--e-out) both, pizza-float 7s var(--e-inout) .9s infinite alternate;
}
@keyframes pizza-in { from { opacity: 0; transform: rotate(-25deg) scale(.86); } to { opacity: 1; transform: none; } }
@keyframes pizza-float { from { transform: rotate(0) translateY(0); } to { transform: rotate(4deg) translateY(-8px); } }
.hero__badge {
  position: absolute; z-index: 2; left: 2%; bottom: 4%; padding: .45rem .7rem; border-radius: 14px;
  background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop); rotate: -6deg;
}
.hero__badge img { width: 120px; height: auto; }

.sticker {
  position: absolute; display: grid; place-items: center; text-align: center; line-height: .95;
  font-family: var(--font-display); color: var(--c-nuit); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop);
  z-index: 2;
}
.sticker--size { left: -2%; top: 4%; width: 104px; height: 104px; border-radius: 50%; background: var(--c-soleil); rotate: -12deg; }
.sticker--size b { font-size: 2.6rem; font-weight: 400; }
.sticker--size small { font-family: var(--font-body); font-weight: 800; font-size: .8rem; margin-top: -.2rem; }
.sticker--size i { font-style: normal; font-family: var(--font-body); font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.sticker--price { right: -1%; bottom: 20%; width: 112px; height: 112px; border-radius: 50%; background: var(--c-ciel); color: #fff; rotate: 10deg; }
.sticker--price b { font-size: 2.5rem; font-weight: 400; }
.sticker--price small { font-family: var(--font-body); font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.sticker--fresh { right: 6%; top: -1%; padding: .55rem .95rem; border-radius: 12px; background: var(--c-matcha); color: #fff; font-size: 1.15rem; rotate: 8deg; }
.sticker--round { width: 110px; height: 110px; border-radius: 50%; background: var(--c-soleil); font-size: 1.3rem; rotate: -10deg; }

.hero__facts { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-3); margin-top: clamp(1.8rem, 4vw, 3rem); }
.hero__facts li { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border-radius: var(--r-md); background: var(--surface); border: 2px solid var(--line); }
.hero__facts svg { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--c-ciel); color: #fff; flex: none; }
.hero__facts span { display: grid; font-size: var(--t-xs); color: var(--text-mute); line-height: 1.25; }
.hero__facts b { font-size: var(--t-sm); color: var(--text); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; order: -1; margin-bottom: -.5rem; }
  .hero__facts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .hero__art { max-width: 300px; }
  .hero__badge img { width: 84px; }
  .sticker--size { width: 82px; height: 82px; } .sticker--size b { font-size: 2rem; }
  .sticker--price { width: 86px; height: 86px; } .sticker--price b { font-size: 1.9rem; }
  .sticker--fresh { font-size: .95rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts { gap: .5rem; } .hero__facts li { padding: .7rem; }
}

/* ---------------- Offres « tickets » ---------------- */
.deals { position: relative; padding-block: clamp(3rem, 6vw, 5rem); background: var(--c-basil); color: #FFF6E5; overflow: hidden; }
.deals::before { content: ""; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.5px); background-size: 18px 18px; }
.deals .wrap { position: relative; }
.deals .eyebrow { color: var(--c-soleil); }
.deals__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
.ticket {
  position: relative; display: grid; justify-items: center; text-align: center; gap: .15rem;
  padding: 1.8rem 1.2rem 1.6rem; border-radius: 18px; background: #FFF6E5; color: var(--c-nuit);
  border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg);
  -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  transition: transform var(--d-mid) var(--e-back);
}
.ticket:hover { transform: translateY(-6px) rotate(-1deg); }
.ticket__n { font-family: var(--font-display); font-size: clamp(4rem, 8vw, 5.5rem); line-height: .9; color: var(--c-ciel); -webkit-text-stroke: 2px var(--c-nuit); text-shadow: 4px 4px 0 var(--stroke-sh); }
.ticket__what { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: var(--t-xs); }
.ticket__eq { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--text-mute); border-top: 2px dashed var(--line-strong); width: 100%; padding-top: .6rem; margin-top: .4rem; }
.ticket__gift { font-family: var(--font-display); font-weight: 400; font-size: var(--t-xl); line-height: 1.05; }
.ticket__stamp { margin-top: .55rem; padding: .3rem .9rem; border-radius: 6px; background: var(--c-matcha); color: #fff; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; rotate: -3deg; border: 2px solid var(--stroke); }
.ticket--gold { background: var(--c-soleil); }
.ticket--gold .ticket__eq { color: var(--c-nuit); }
.ticket--red { background: var(--c-ciel); color: #fff; }
.ticket--red .ticket__n { color: var(--c-soleil); }
.ticket--red .ticket__eq { color: #FFE1DC; border-color: rgba(255,255,255,.4); }
.ticket--red .ticket__stamp { background: var(--c-soleil); color: var(--c-nuit); }
.deals__note { text-align: center; margin: var(--s-6) auto 0; max-width: 62ch; color: rgba(255,246,229,.82); font-size: var(--t-sm); }
@media (max-width: 760px) { .deals__row { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; } }

/* ---------------- Carte produit : la boîte à pizza ---------------- */
.pbox {
  position: relative; display: grid; place-items: center; width: 100%; height: 100%; padding: 12%;
  background:
    repeating-linear-gradient(94deg, rgba(120,75,30,.075) 0 2px, transparent 2px 8px),
    radial-gradient(120% 90% at 30% 20%, var(--c-kraft-hi), var(--c-kraft) 60%, var(--c-kraft-lo));
  container-type: inline-size;
}
.pbox::before { content: ""; position: absolute; inset: 7%; border: 2px dashed rgba(90,55,20,.32); border-radius: 10px; }
.pbox::after {  /* le pli du couvercle */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9%;
  background: linear-gradient(180deg, rgba(90,55,20,.22), transparent);
}
.pbox__lid {
  position: relative; z-index: 1; display: grid; place-items: center; width: 100%; max-width: 260px; aspect-ratio: 1; border-radius: 50%;
  background: var(--surface); border: 2.5px solid var(--stroke); padding: 11%;
  box-shadow: inset 0 0 0 7px #FFF6E5, inset 0 0 0 9px var(--ring-c, rgba(228,38,28,.35)), 3px 4px 0 rgba(31,21,16,.75);
  transition: transform var(--d-mid) var(--e-back);
}
.pbox__lid img { width: 100%; height: auto; transform: rotate(-5deg); }
.pbox__name {
  position: absolute; z-index: 2; bottom: 8%; left: 50%; translate: -50% 0; max-width: 86%;
  padding: .2rem .7rem; border-radius: 6px; background: var(--c-nuit); color: #FFF6E5;
  font-family: var(--font-display); font-size: clamp(.8rem, 7cqi, 1.05rem); line-height: 1.1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  rotate: -2deg;
}
/* Une couleur de cercle par famille, reprise du menu imprimé */
.pbox--pizzas-base-tomate { --ring-c: rgba(228,38,28,.55); }
.pbox--pizzas-base-creme { --ring-c: rgba(240,180,0,.6); }
.pbox--pizzas-sauce-mix { --ring-c: rgba(140,70,20,.55); }
.pbox--pizzas-dessert { --ring-c: rgba(230,90,150,.55); }
.pbox--burgers, .pbox--crousty-tenders-croque { --ring-c: rgba(25,160,75,.55); }
.pbox--burgers, .pbox--crousty-tenders-croque, .pbox--fritures, .pbox--desserts, .pbox--boissons {
  background:
    repeating-linear-gradient(0deg, rgba(228,38,28,.12) 0 10px, transparent 10px 20px),
    repeating-linear-gradient(90deg, rgba(228,38,28,.12) 0 10px, #FFFDF8 10px 20px);
}
.pbox--burgers::before, .pbox--crousty-tenders-croque::before { border-color: rgba(228,38,28,.3); }
.pbox--hero { aspect-ratio: 1; border-radius: 20px; border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); }
.pbox--lost { width: 220px; height: 220px; border-radius: 18px; border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); margin: 0 auto; rotate: -4deg; }
.pbox__photo { width: 100%; height: 100%; object-fit: cover; }

/* Logo de repli rendu par shop.js (fenêtre de choix, panier) */
.ph-logo {
  display: grid; place-items: center; width: 100%; height: 100%; padding: 12%;
  background:
    repeating-linear-gradient(94deg, rgba(120,75,30,.075) 0 2px, transparent 2px 8px),
    radial-gradient(120% 90% at 30% 20%, var(--c-kraft-hi), var(--c-kraft) 60%, var(--c-kraft-lo));
}
.ph-logo img { width: 78% !important; height: auto !important; object-fit: contain !important; padding: 9%; background: #fff; border-radius: 50%; aspect-ratio: 1; border: 2.5px solid var(--stroke); box-shadow: inset 0 0 0 6px #FFF6E5, 3px 4px 0 rgba(31,21,16,.7); }

.pcard {
  position: relative; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden;
  background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh);
  transition: transform var(--d-mid) var(--e-out), box-shadow var(--d-mid) var(--e-out);
}
.pcard:hover { transform: translate(-2px, -4px); box-shadow: 7px 9px 0 var(--stroke-sh); }
.pcard:hover .pbox__lid { transform: rotate(8deg) scale(1.04); }
.pcard__media { position: relative; display: block; aspect-ratio: 5 / 4; width: 100%; border-bottom: 2.5px solid var(--stroke); overflow: hidden; cursor: pointer; }
.pcard__size {
  position: absolute; z-index: 3; top: 10px; right: 10px; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; align-content: center; line-height: .85;
  background: var(--c-soleil); border: 2px solid var(--stroke); font-family: var(--font-display); font-size: 1.3rem; rotate: 12deg;
}
.pcard__size small { font-family: var(--font-body); font-weight: 800; font-size: .6rem; }
.pcard__body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.05rem 1.05rem; flex: 1; }
.pcard__name { font-size: 1.4rem; line-height: 1.05; }
.pcard__tags { display: flex; flex-wrap: wrap; gap: .3rem; }
.pcard__tags:empty { display: none; }
.pcard__desc { font-size: var(--t-sm); color: var(--text-mute); line-height: 1.45; flex: 1; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .5rem; padding-top: .7rem; border-top: 2px dashed var(--line); }
.pcard__price { display: grid; font-family: var(--font-display); font-size: 1.55rem; line-height: 1; color: var(--c-ciel); }
.pcard__price small { font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: var(--text-mute); margin-top: .2rem; }
.pcard__add {
  display: inline-flex; align-items: center; gap: .3rem; padding: .55rem .95rem; border-radius: var(--r-full);
  background: var(--c-ciel); color: #fff; font-weight: 800; font-size: var(--t-sm);
  border: 2px solid var(--stroke); box-shadow: 2px 2px 0 var(--stroke-sh);
  transition: transform var(--d-fast), box-shadow var(--d-fast), background var(--d-fast);
}
.pcard__add span { font-size: 1.15em; line-height: 1; }
.pcard__add:hover { background: var(--c-ciel-hi); }
.pcard__add:active { transform: translate(2px, 2px); box-shadow: 0 0 0 var(--stroke-sh); }
.pcard__out { font-weight: 800; color: var(--text-mute); font-size: var(--t-sm); }
.pcard.is-out { opacity: .6; }

/* ---------------- Sélection de l'accueil ---------------- */
.picks__nav { display: flex; gap: .6rem; }
.picks__row {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 290px); gap: 1.2rem;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: .3rem .6rem 1.2rem .2rem; margin-inline: -.2rem;
  scrollbar-width: thin; scrollbar-color: var(--c-ciel) transparent;
}
.picks__row > * { scroll-snap-align: start; }
.picks__more { text-align: center; margin-top: var(--s-5); }
@media (max-width: 640px) { .picks__nav { display: none; } .picks__row { grid-auto-columns: 78%; } }

/* ---------------- Les bases ---------------- */
.bases__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.base {
  position: relative; display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem 1.3rem 1.3rem; overflow: hidden;
  border-radius: 22px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh);
  transition: transform var(--d-mid) var(--e-out), box-shadow var(--d-mid);
}
.base:hover { transform: translate(-2px, -5px); box-shadow: 7px 10px 0 var(--c-nuit); }
.base__disc {
  width: 92px; height: 92px; border-radius: 50%; margin-bottom: .6rem; border: 2.5px solid var(--stroke);
  box-shadow: inset 0 0 0 9px var(--c-crust), inset 0 0 0 11px rgba(140,90,40,.35);
  transition: transform var(--d-slow) var(--e-out);
}
.base:hover .base__disc { transform: rotate(140deg); }
.base--tomate .base__disc { background: radial-gradient(circle at 30% 35%, #fff 0 7%, transparent 7.5%), radial-gradient(circle at 62% 58%, #fff 0 8%, transparent 8.5%), radial-gradient(circle at 45% 70%, #2a2a2a 0 4%, transparent 4.5%), radial-gradient(circle at 66% 30%, #2a2a2a 0 4%, transparent 4.5%), radial-gradient(circle, #E4261C 0 62%, #C8190F 63%); }
.base--creme .base__disc { background: radial-gradient(circle at 35% 40%, #F5D27A 0 8%, transparent 8.5%), radial-gradient(circle at 62% 62%, #E3B054 0 9%, transparent 9.5%), radial-gradient(circle at 60% 32%, #7A4E2A 0 5%, transparent 5.5%), radial-gradient(circle, #FFF8E8 0 62%, #F1E2BE 63%); }
.base--mix .base__disc { background: radial-gradient(circle at 33% 38%, #6B3416 0 7%, transparent 7.5%), radial-gradient(circle at 63% 60%, #F2C14E 0 8%, transparent 8.5%), radial-gradient(circle at 55% 30%, #6B3416 0 5%, transparent 5.5%), radial-gradient(circle, #9A3D16 0 62%, #7A2E0E 63%); }
.base--dessert .base__disc { background: radial-gradient(circle at 34% 38%, #FFE48A 0 9%, transparent 9.5%), radial-gradient(circle at 64% 60%, #FFE48A 0 9%, transparent 9.5%), radial-gradient(circle at 58% 30%, #E94E8A 0 6%, transparent 6.5%), radial-gradient(circle, #5A3220 0 62%, #3E2114 63%); }
.base h3 { font-size: 1.55rem; }
.base p { color: var(--text-mute); font-size: var(--t-sm); flex: 1; }
.base__meta { margin-top: .5rem; font-weight: 800; font-size: var(--t-xs); color: var(--c-ciel); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1000px) { .bases__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bases__grid { grid-template-columns: 1fr; } .base { flex-direction: row; flex-wrap: wrap; align-items: center; } .base__disc { width: 64px; height: 64px; margin: 0; } .base h3 { flex: 1; } .base p { flex-basis: 100%; } }

/* ---------------- Burgers & Crousty ---------------- */
.more__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.more__copy h2 { font-size: var(--t-2xl); margin-top: var(--s-3); }
.more__copy p { margin: var(--s-4) 0 var(--s-5); color: var(--text-mute); font-size: var(--t-lg); }
.more__cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.mini {
  display: grid; gap: .25rem; padding: 1.2rem 1.25rem; border-radius: 18px; background: #FFF6E5; color: var(--c-nuit);
  border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 rgba(0,0,0,.45);
  transition: transform var(--d-mid) var(--e-back);
}
.mini:nth-child(2) { rotate: 1.5deg; } .mini:nth-child(3) { rotate: -1.5deg; }
.mini:hover { transform: translateY(-5px) rotate(-1deg); }
.mini b { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; line-height: 1.05; }
.mini span { font-size: var(--t-sm); color: #6B5646; }
.mini em { font-style: normal; font-family: var(--font-display); font-size: 1.35rem; color: var(--c-ciel); margin-top: .3rem; }
.mini em small { font-family: var(--font-body); font-weight: 700; font-size: .8rem; color: #6B5646; }
@media (max-width: 860px) { .more__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .more__cards { grid-template-columns: 1fr; } .mini { rotate: 0deg !important; } }

/* ---------------- Texte local ---------------- */
.local__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.local__art { position: relative; max-width: 440px; width: 100%; justify-self: center; }
.peel { position: relative; aspect-ratio: 1; }
.peel::before { /* la pelle à pizza en bois */
  content: ""; position: absolute; left: 50%; bottom: -26%; width: 15%; height: 40%; translate: -50% 0; border-radius: 10px;
  background: linear-gradient(90deg, #A86B36, #C98B4F 50%, #A86B36); border: 2.5px solid var(--stroke);
}
.peel__pizza {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: 50%; padding: 15%;
  background: radial-gradient(circle, #fff 0 57%, #F6E3B8 58% 68%, #E9C887 69% 100%);
  border: 2.5px solid var(--stroke); box-shadow: 8px 10px 0 var(--c-nuit);
}
.peel__pizza img { width: 100%; height: auto; rotate: -6deg; }
.local__art .sticker--round { right: -2%; top: -2%; }
.local__copy h2 { font-size: var(--t-2xl); margin-top: var(--s-3); line-height: 1.05; }
.local__copy p { margin-top: var(--s-4); color: var(--text-mute); font-size: var(--t-base); max-width: 62ch; }
.local__copy p strong { color: var(--text); }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.2rem; margin-top: var(--s-5); }
.checks li { display: flex; gap: .6rem; align-items: flex-start; font-weight: 600; font-size: var(--t-sm); }
.checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--c-matcha); color: #fff; flex: none; margin-top: .05rem; }
@media (max-width: 860px) { .local__grid { grid-template-columns: 1fr; } .local__art { max-width: 300px; margin-bottom: 3rem; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* ---------------- Horaires, carte ---------------- */
.visit__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.2rem, 3vw, 2.4rem); align-items: stretch; }
.visit__card { padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 24px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); }
.visit__card h2 { font-size: var(--t-2xl); margin-top: .4rem; }
.visit__lines { display: grid; gap: .55rem; margin-top: var(--s-5); }
.visit__lines a { display: flex; gap: .7rem; align-items: center; font-weight: 700; }
.visit__lines a:hover { color: var(--c-ciel); }
.visit__lines svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #FFE9E7; color: var(--c-ciel); flex: none; }
.visit__cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: var(--s-5); }
.status { display: inline-flex; align-items: center; gap: .5rem; margin-top: var(--s-3); padding: .35rem .85rem; border-radius: var(--r-full); font-weight: 800; font-size: var(--t-xs); background: #EEE6D7; color: var(--text); }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #9C8B78; }
.status.is-open { background: #DDF3E3; color: #0B5A2E; }
.status.is-open::before { background: var(--c-matcha); box-shadow: 0 0 0 4px rgba(25,160,75,.22); animation: pulse 1.8s infinite; }
.status.is-closed { background: #FFE1DC; color: var(--c-ciel-deep); }
.status.is-closed::before { background: var(--c-ciel); }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(25,160,75,0); } }
.hours { display: grid; margin-top: var(--s-4); border-top: 2px dashed var(--line); }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .62rem 0; border-bottom: 2px dashed var(--line); font-size: var(--t-sm); }
.hours li > span { font-weight: 700; }
.hours b { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem .9rem; font-weight: 600; color: var(--text-mute); }
.hours li.is-today { color: var(--c-ciel); }
.hours li.is-today b { color: var(--text); }
.hours li.is-today > span::after { content: " · aujourd’hui"; font-weight: 600; font-size: .85em; }
.mapbox { position: relative; min-height: 320px; border-radius: 24px; overflow: hidden; border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); background: #EDE3CF; }
.mapbox iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mapbox--sm { min-height: 260px; margin-top: var(--s-5); }
.mapbox--wide { min-height: 380px; margin-top: var(--s-7); }
@media (max-width: 860px) { .visit__grid { grid-template-columns: 1fr; } }

/* ---------------- Avis ---------------- */
.review { background: var(--surface); border: 2.5px solid var(--stroke); border-radius: 18px; box-shadow: 4px 5px 0 var(--stroke-sh); padding: 1.2rem 1.3rem; }
.gstars { color: #F2A900; letter-spacing: .08em; }
.gcard { background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh); border-radius: 18px; color: var(--text); }
.gcard:hover { transform: translate(-1px, -3px); }

/* ---------------- FAQ ---------------- */
.faqs__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.faqs__grid h2 { font-size: var(--t-2xl); margin-top: .5rem; }
.faqs__grid > div:first-child p { color: var(--text-mute); margin-top: var(--s-3); }
.faq { display: grid; gap: .75rem; }
.qa { border-radius: 16px; background: var(--surface); border: 2.5px solid var(--stroke); overflow: hidden; transition: box-shadow var(--d-fast); }
.qa[open] { box-shadow: 4px 5px 0 var(--stroke-sh); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.2rem; font-weight: 800; font-size: var(--t-base); }
.qa summary::-webkit-details-marker { display: none; }
.qa__ico { position: relative; width: 30px; height: 30px; border-radius: 50%; background: var(--c-soleil); border: 2px solid var(--stroke); flex: none; transition: rotate var(--d-mid) var(--e-back); }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; translate: -50% -50%; background: var(--c-nuit); border-radius: 2px; }
.qa__ico::after { rotate: 90deg; }
.qa[open] .qa__ico { rotate: 45deg; background: var(--c-ciel); }
.qa[open] .qa__ico::before, .qa[open] .qa__ico::after { background: #fff; }
.qa p { padding: 0 1.2rem 1.1rem; color: var(--text-mute); }
@media (max-width: 860px) { .faqs__grid { grid-template-columns: 1fr; } }
.faqpage { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.late { position: sticky; top: calc(var(--header-h) + 1.5rem); padding: 1.6rem; border-radius: 22px; background: var(--c-basil); color: #fff; border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); }
.late h2 { color: #fff; font-size: var(--t-xl); }
.late p { margin-top: .6rem; color: #CFE5D7; }
.late__links { display: grid; gap: .6rem; margin-top: var(--s-5); }
.late .btn--ghost { --btn-fg: #fff; }
@media (max-width: 860px) { .faqpage { grid-template-columns: 1fr; } .late { position: static; } }

/* ---------------- Bandeau d'appel ---------------- */
.ctaband { position: relative; background: var(--c-ciel); color: #fff; border-top: 2.5px solid var(--stroke); overflow: hidden; }
.ctaband::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); }
.ctaband__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s-5); padding-block: clamp(2.2rem, 5vw, 3.6rem); flex-wrap: wrap; }
.ctaband__title { font-family: var(--font-display); font-size: var(--t-2xl); line-height: 1.02; text-shadow: 3px 3px 0 var(--stroke-sh); }
.ctaband__title span { display: block; color: var(--c-soleil); }
.ctaband__btns { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------------- Pied de page ---------------- */
.footer { position: relative; background: var(--c-basil-2); color: #CFE5D7; padding: 0 0 calc(var(--s-6) + env(safe-area-inset-bottom)); margin-top: 0; }
.footer__edge { height: 22px; background: var(--gingham); background-size: 22px 22px; border-block: 2.5px solid var(--stroke); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.footer__cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: clamp(1.5rem, 3vw, 3rem); }
.footer__brand { display: inline-block; padding: .8rem 1rem; border-radius: 18px; background: #FFF6E5; border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 rgba(0,0,0,.35); rotate: -2deg; }
.footer__brand img { width: 210px; height: auto; }
.footer__cols p { margin-top: var(--s-4); font-size: var(--t-sm); max-width: 42ch; }
.footer h4 { font-family: var(--font-display); font-weight: 400; color: var(--c-soleil); font-size: 1.35rem; margin-bottom: var(--s-3); }
.footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.footer li a { font-size: var(--t-sm); color: #EAF4EC; transition: color var(--d-fast); }
.footer li a:hover { color: var(--c-soleil); }
.footer__social { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-4); }
.footer__social:empty { display: none; }
.footer__social a { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .8rem; border-radius: var(--r-full); background: rgba(255,255,255,.08); color: #fff; font-size: var(--t-xs); font-weight: 700; }
.footer__social svg { width: 18px; height: 18px; }
.footer .gcard--footer { margin-top: var(--s-7); max-width: 560px; background: #FFF6E5; color: #22170F; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-top: var(--s-6); padding-top: var(--s-5); border-top: 1px solid rgba(255,255,255,.14); font-size: var(--t-xs); }
.footer__bottom a:hover { color: var(--c-soleil); }
.footer__credit a { font-weight: 800; color: var(--c-soleil); letter-spacing: .04em; }
.pay { display: flex; flex-wrap: wrap; gap: .4rem; }
.pay span { padding: .25rem .6rem; border-radius: 6px; background: rgba(255,255,255,.1); font-weight: 700; color: #fff; }
@media (max-width: 960px) { .footer__cols { grid-template-columns: 1fr 1fr; } .footer__cols > div:first-child { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ---------------- Flottants, cookies, chargement ---------------- */
.fab-stack { position: fixed; right: max(var(--s-4), env(safe-area-inset-right)); bottom: max(var(--s-4), env(safe-area-inset-bottom)); z-index: var(--z-sticky); display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.fab { display: inline-flex; align-items: center; gap: .5rem; min-height: 52px; min-width: 52px; padding: 0 1.15rem; border-radius: var(--r-full); font-weight: 800; font-size: var(--t-sm); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop); transition: transform var(--d-fast) var(--e-out); }
.fab:hover { transform: translate(-1px, -2px); }
.fab svg { width: 22px; height: 22px; flex: none; }
.fab--order { background: var(--c-ciel); color: #fff; }
.fab--call { background: var(--c-matcha); color: #fff; }
.fab--wa { background: #25D366; color: #06280F; }
.fab--top { justify-content: center; padding: 0; width: 46px; min-height: 46px; min-width: 46px; background: var(--surface); color: var(--c-nuit); opacity: 0; pointer-events: none; }
.fab--top.is-on { opacity: 1; pointer-events: auto; }
@media (max-width: 640px) { .fab span { display: none; } .fab--contact, .fab--order { padding: 0; justify-content: center; } }

.cookie {
  position: fixed; left: var(--s-4); bottom: var(--s-4); z-index: var(--z-toast);
  width: min(420px, calc(100% - 2 * var(--s-4) - 70px)); padding: var(--s-5);
  display: none; flex-direction: column; gap: var(--s-4);
  background: var(--surface); color: var(--text); border: 2.5px solid var(--stroke); border-radius: 20px; box-shadow: var(--sh-pop-lg); font-size: var(--t-sm);
}
.cookie.is-on { display: flex; }
.cookie__row { display: flex; flex-wrap: wrap; gap: .5rem; }

.preload { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: grid; place-items: center; transition: opacity 420ms var(--e-out), visibility 420ms; }
.preload.is-done { opacity: 0; visibility: hidden; }
.preload__img { width: min(64vw, 300px); height: auto; animation: breathe 1.1s var(--e-inout) infinite alternate; }
.preload__spin { width: 46px; height: 46px; border-radius: 50%; border: 4px solid; animation: spin 900ms linear infinite; }
.preload__dots { display: flex; gap: 8px; } .preload__dots i { width: 12px; height: 12px; border-radius: 50%; animation: breathe .8s infinite alternate; }
.preload__bar { width: 180px; height: 5px; border-radius: 5px; background: rgba(0,0,0,.1); overflow: hidden; }
.preload__bar i { display: block; height: 100%; width: 40%; animation: bar 1.1s var(--e-inout) infinite; }
@keyframes breathe { from { transform: scale(.96) rotate(-2deg); } to { transform: scale(1.03) rotate(1deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.toast { background: var(--c-nuit); color: #FFF6E5; border: 2px solid var(--stroke); border-radius: 14px; font-weight: 700; box-shadow: var(--sh-pop); }
.toast--ok { background: var(--c-basil); }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 520ms var(--e-out) var(--reveal-delay, 0ms), transform 520ms var(--e-out) var(--reveal-delay, 0ms); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }

/* ---------------- Barre de commande (mobile) et fenêtre de mode ---------------- */
.orderbar {
  position: fixed; left: 50%; bottom: max(.8rem, env(safe-area-inset-bottom)); translate: -50% 0; z-index: calc(var(--z-sticky) + 1);
  display: none; align-items: stretch; gap: .3rem; padding: .3rem; border-radius: var(--r-full);
  background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop);
  width: max-content; max-width: calc(100% - 1.4rem);
}
.orderbar__opt { display: grid; text-align: left; padding: .3rem .95rem; border-radius: var(--r-full); line-height: 1.15; min-width: 0; }
.orderbar__opt:hover { background: rgba(31,21,16,.05); }
.orderbar__opt small { font-size: .7rem; color: var(--text-mute); font-weight: 600; }
.orderbar__opt b { font-weight: 800; font-size: .95rem; color: var(--c-ciel); white-space: nowrap; }
.orderbar__cart { display: inline-flex; align-items: center; gap: .5rem; padding: 0 1.1rem 0 .9rem; border-radius: var(--r-full); background: var(--c-ciel); color: #fff; font-weight: 800; white-space: nowrap; }
.orderbar__cart svg { width: 20px; height: 20px; }
.orderbar__cart .icon-btn__count { position: static; background: var(--c-soleil); color: var(--c-nuit); border: 0; }
@media (max-width: 1160px) {
  .orderbar { display: flex; }
  .has-orderbar .fab--order { display: none; }
  .has-orderbar .fab-stack { bottom: calc(max(.8rem, env(safe-area-inset-bottom)) + 74px); }
  .has-orderbar .footer { padding-bottom: 110px; }
}
.orderbar--home .orderbar__opt { display: none; }
.orderbar--home { padding: .3rem; }
@media (max-width: 560px) { .orderbar__opt { padding: .3rem .65rem; } .orderbar__opt b { font-size: .86rem; } .orderbar__cart span.lbl { display: none; } }
@media (max-width: 380px) { .orderbar__opt small { display: none; } }

.modal-back { position: fixed; inset: 0; z-index: var(--z-modal); background: rgba(31,21,16,.6); display: none; place-items: end center; padding: 1rem; }
.modal-back.is-on { display: grid; }
@media (min-width: 640px) { .modal-back { place-items: center; } }
.modal { width: min(440px, 100%); border-radius: 24px; padding: var(--s-5); position: relative; background: var(--bg); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); animation: modal-up .38s var(--e-out) both; }
@keyframes modal-up { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h2 { text-align: center; font-size: var(--t-xl); }
.modal__x { position: absolute; right: .8rem; top: .8rem; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--c-nuit); }
.modal__x:hover { background: rgba(31,21,16,.06); }
.modal__x svg { width: 20px; height: 20px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: .3rem; padding: .3rem; border-radius: 14px; background: var(--surface); border: 2px solid var(--line-strong); margin-top: var(--s-4); }
.seg button { min-height: 46px; border-radius: 10px; font-weight: 800; font-size: var(--t-sm); color: var(--text); }
.seg button[aria-pressed="true"] { background: var(--c-ciel); color: #fff; }
.modal__note { margin-top: var(--s-3); font-size: var(--t-xs); color: var(--text-mute); text-align: center; min-height: 1.2em; }
.modal__time { margin-top: var(--s-3); display: none; }
.modal__time.is-on { display: block; }
.modal__time select { width: 100%; min-height: 46px; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface); color: var(--text); padding: .6rem .9rem; font-weight: 700; }
.modal .btn { margin-top: var(--s-4); }

/* =========================================================
   PAGE MENU
   ========================================================= */
.menuhero { position: relative; padding: clamp(2rem, 4vw, 3.4rem) 0 clamp(1.6rem, 3vw, 2.4rem); background: linear-gradient(180deg, var(--warm-1), var(--bg)); overflow: hidden; }
.menuhero::after {
  content: ""; position: absolute; right: -90px; top: -110px; width: 380px; height: 380px; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(228,38,28,.12) 0 10deg, transparent 10deg 20deg);
}
.menuhero__inner { position: relative; z-index: 1; }
.menuhero h1 { font-size: var(--t-3xl); margin-top: var(--s-3); line-height: 1; }
.menuhero p { margin-top: var(--s-3); color: var(--text-mute); font-size: var(--t-lg); max-width: 62ch; }
.menuhero__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.chipinfo { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: var(--r-full); background: var(--c-basil); color: #fff; font-weight: 700; font-size: var(--t-xs); }
.chipinfo svg { width: 16px; height: 16px; color: var(--c-soleil); }

/* ---- Barre des catégories (mobile + tablette) ---- */
.mbar { display: none; position: sticky; top: var(--header-h); z-index: calc(var(--z-sticky) + 2);
  background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-block: 2.5px solid var(--stroke); box-shadow: 0 6px 14px rgba(31,21,16,.08); }
.mbar__inner { display: flex; align-items: center; gap: .6rem; min-height: 66px; padding-block: .45rem; }
.mbar__all {
  flex: none; display: inline-flex; align-items: center; gap: .55rem; height: 50px; padding: 0 .85rem 0 .55rem;
  border-radius: 14px; background: var(--c-ciel); color: #fff; border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh);
  text-align: left; transition: transform var(--d-fast), box-shadow var(--d-fast);
}
.mbar__all:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stroke-sh); }
.mbar__burger { display: grid; gap: 4px; width: 30px; height: 30px; place-content: center; border-radius: 9px; background: rgba(255,255,255,.18); }
.mbar__burger i { display: block; width: 16px; height: 2.5px; border-radius: 2px; background: #fff; }
.mbar__lbl { display: grid; line-height: 1.05; }
.mbar__lbl small { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.mbar__lbl b { font-size: .98rem; font-weight: 800; white-space: nowrap; max-width: 30vw; overflow: hidden; text-overflow: ellipsis; }
.mbar__caret { font-size: .8rem; margin-left: .1rem; }
.mchips { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; }
.mtabs { display: flex; gap: .45rem; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; flex: 1; min-width: 0; padding: .35rem .2rem; scroll-snap-type: x proximity; }
.mtabs::-webkit-scrollbar { display: none; }
.mtabs a {
  flex: none; scroll-snap-align: center; display: inline-flex; align-items: center; gap: .4rem; height: 44px; padding: 0 1rem 0 .55rem;
  border-radius: var(--r-full); font-weight: 800; font-size: .95rem; white-space: nowrap;
  background: var(--surface); border: 2px solid var(--line-strong); color: var(--text);
  transition: background var(--d-fast), border-color var(--d-fast), color var(--d-fast);
}
.mchip__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); font-size: 1.05rem; }
.mtabs a:hover { border-color: var(--stroke); }
.mtabs a.is-on { background: var(--c-nuit); color: var(--c-soleil); border-color: var(--stroke); }
.mtabs a.is-on .mchip__ico { background: var(--c-soleil); }
/* fondus + flèches quand la barre déborde */
.mchips::before, .mchips::after { content: ""; position: absolute; top: 0; bottom: 0; width: 34px; pointer-events: none; opacity: 0; transition: opacity var(--d-fast); z-index: 1; }
.mchips::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.mchips::after { right: 0; background: linear-gradient(270deg, var(--bg), transparent); }
.mchips.can-l::before, .mchips.can-r::after { opacity: 1; }
.mchips__arrow { display: none; position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--stroke); box-shadow: 2px 2px 0 var(--stroke-sh); font-family: var(--font-display); font-size: 1.3rem; line-height: 1; }
.mchips__arrow--l { left: -4px; } .mchips__arrow--r { right: -4px; }
@media (hover: hover) and (min-width: 700px) {
  .mchips.can-l .mchips__arrow--l, .mchips.can-r .mchips__arrow--r { display: grid; place-items: center; }
}

/* ---- Fenêtre « Choisir une catégorie » ---- */
.catsheet { position: fixed; inset: 0; z-index: var(--z-modal); display: grid; align-items: end; background: rgba(31,21,16,0); transition: background var(--d-mid); }
.catsheet[hidden] { display: none; }
.catsheet.is-on { background: rgba(31,21,16,.55); }
.catsheet__panel {
  width: 100%; max-height: 86svh; overflow-y: auto; padding: 1rem var(--gutter) calc(1.4rem + env(safe-area-inset-bottom));
  background: var(--bg); border-top: 2.5px solid var(--stroke); border-radius: 26px 26px 0 0;
  transform: translateY(100%); transition: transform var(--d-mid) var(--e-out);
}
.catsheet.is-on .catsheet__panel { transform: none; }
.catsheet__panel::before { content: ""; display: block; width: 46px; height: 5px; border-radius: 5px; background: var(--line-strong); margin: 0 auto .9rem; }
.catsheet__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.catsheet__head h2 { font-size: var(--t-xl); }
.catsheet__x { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--stroke); }
.catsheet__x svg { width: 20px; height: 20px; }
.cgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.cgrid a {
  display: grid; justify-items: center; text-align: center; gap: .2rem; padding: 1rem .5rem .9rem; border-radius: 18px;
  background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh); transition: transform var(--d-fast);
}
.cgrid a:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stroke-sh); }
.cgrid__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--bg); font-size: 1.7rem; margin-bottom: .2rem; }
.cgrid b { font-family: var(--font-display); font-weight: 400; font-size: 1.1rem; line-height: 1.05; }
.cgrid small { font-size: .78rem; font-weight: 700; color: var(--text-mute); }
.cgrid a.is-on { background: var(--c-ciel); color: #fff; }
.cgrid a.is-on small { color: #FFE1DC; }
.cgrid a.is-on .cgrid__ico { background: var(--c-soleil); }
@media (max-width: 420px) { .cgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 700px) { .catsheet { align-items: center; justify-items: center; padding: 1rem; } .catsheet__panel { max-width: 640px; border-radius: 26px; border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); } .catsheet__panel::before { display: none; } }

/* ---- Mise en page : catégories à gauche (ordinateur) ---- */
.menulayout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); padding-block: var(--s-6) var(--s-9); align-items: start; }
.mnavcol { position: sticky; top: calc(var(--header-h) + 16px); display: grid; gap: 1rem; max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; scrollbar-width: thin; padding: 2px 8px 8px 2px; }
.mnav { padding: 1rem .8rem .8rem; border-radius: 22px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 5px 6px 0 var(--stroke-sh); }
.mnav__title { font-family: var(--font-display); font-size: 1.35rem; padding: 0 .5rem .6rem; border-bottom: 2px dashed var(--line); margin-bottom: .5rem; }
.mnav__list { display: grid; gap: .25rem; }
.mnav__list a {
  position: relative; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: .6rem;
  min-height: 50px; padding: .35rem .6rem .35rem .4rem; border-radius: 14px; font-weight: 800; font-size: .98rem; line-height: 1.15;
  transition: background var(--d-fast), color var(--d-fast), transform var(--d-fast);
}
.mnav__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--bg); font-size: 1.25rem; transition: transform var(--d-mid) var(--e-back); }
.mnav__n { min-width: 30px; height: 26px; padding: 0 .5rem; border-radius: var(--r-full); display: grid; place-items: center; background: var(--bg); font-size: .78rem; font-weight: 800; color: var(--text-mute); }
.mnav__list a:hover { background: rgba(228,38,28,.07); }
.mnav__list a:hover .mnav__ico { transform: rotate(-10deg) scale(1.08); }
.mnav__list a.is-on { background: var(--c-ciel); color: #fff; }
.mnav__list a.is-on .mnav__ico { background: var(--c-soleil); }
.mnav__list a.is-on .mnav__n { background: rgba(255,255,255,.22); color: #fff; }
.mnav__list a.is-on::after { content: ""; position: absolute; right: -14px; top: 50%; translate: 0 -50%; border: 8px solid transparent; border-left-color: var(--c-nuit); }

.mside__card { display: grid; gap: .8rem; padding: 1.1rem; border-radius: 22px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 5px 6px 0 var(--stroke-sh); }
.mside__card .status { margin: 0; justify-self: start; }
.mside__opts { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; }
.mside__opt { display: grid; text-align: left; padding: .5rem .65rem; border-radius: 12px; border: 2px solid var(--line-strong); line-height: 1.2; }
.mside__opt:hover { border-color: var(--stroke); }
.mside__opt small { font-size: .7rem; color: var(--text-mute); font-weight: 600; }
.mside__opt b { color: var(--c-ciel); font-weight: 800; font-size: .9rem; }
.mside__card .btn .icon-btn__count { position: static; border: 0; background: var(--c-soleil); color: var(--c-nuit); }
.mside__gift { display: flex; gap: .6rem; align-items: center; padding: .65rem .75rem; border-radius: 14px; background: #FFF4CC; border: 2px dashed var(--c-soleil-lo); font-size: var(--t-xs); }
.mside__gift svg { width: 26px; height: 26px; color: var(--c-ciel); flex: none; }
.mside__gift span { display: grid; }
.mside__gift b { font-size: var(--t-sm); }
.mside__lines { display: grid; gap: .4rem; padding-top: .3rem; border-top: 2px dashed var(--line); }
.mside__lines a { display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--t-sm); }
.mside__lines a:hover { color: var(--c-ciel); }
.mside__lines svg { width: 18px; height: 18px; color: var(--c-ciel); flex: none; }

/* Recherche et filtres, au-dessus du menu */
.mtools { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: var(--s-5); }
.msearch { display: flex; align-items: center; gap: .5rem; flex: 1 1 260px; padding: 0 1rem; height: 50px; border-radius: var(--r-full); background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh); }
.msearch svg { width: 20px; height: 20px; color: var(--text-mute); flex: none; }
.msearch input { border: 0; outline: 0; background: none; width: 100%; font-weight: 600; font-size: 1rem; }
.mfilter { height: 50px; padding: 0 1.1rem; border-radius: var(--r-full); font-weight: 800; font-size: var(--t-sm); background: var(--surface); border: 2px solid var(--line-strong); }
.mfilter[aria-pressed="true"] { background: var(--c-basil); color: #fff; border-color: var(--stroke); }
.mtools__count { margin-left: auto; font-weight: 800; font-size: var(--t-xs); color: var(--text-mute); }

.mcat { scroll-margin-top: calc(var(--header-h) + 90px); padding-bottom: var(--s-7); }
.mcat__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: center; margin-bottom: var(--s-5); padding-bottom: var(--s-4); border-bottom: 2.5px solid var(--stroke); }
.mcat__num { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--c-ciel); color: #fff; font-family: var(--font-display); font-size: 1.5rem; border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh); }
.mcat:nth-child(even) .mcat__num { background: var(--c-soleil); color: var(--c-nuit); }
.mcat:nth-child(3n) .mcat__num { background: var(--c-matcha); }
.mcat__head h2 { font-size: var(--t-2xl); line-height: 1; }
.mcat__head p { color: var(--text-mute); font-size: var(--t-sm); margin-top: .35rem; max-width: 70ch; }
.mcat__count { align-self: start; padding: .3rem .75rem; border-radius: var(--r-full); background: var(--surface); border: 2px solid var(--line-strong); font-weight: 800; font-size: var(--t-xs); white-space: nowrap; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2rem; }
.plist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .3rem 2rem; padding: 1rem 1.3rem; border-radius: 20px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh); }
.prow { display: grid; grid-template-columns: auto 1fr auto auto; grid-template-areas: "name dots price plus" "desc desc desc desc"; align-items: center; gap: 0 .6rem; padding: .75rem 0; text-align: left; border-bottom: 2px dashed var(--line); }
.prow:nth-last-child(-n+2) { border-bottom: 0; }
.prow__name { grid-area: name; display: inline-flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.1; }
.prow__desc { grid-area: desc; font-size: var(--t-xs); color: var(--text-mute); margin-top: .15rem; }
.prow__dots { grid-area: dots; height: 0; border-bottom: 2.5px dotted var(--line-strong); align-self: end; margin-bottom: .45rem; }
.prow__price { grid-area: price; font-family: var(--font-display); font-size: 1.2rem; color: var(--c-ciel); white-space: nowrap; }
.prow__plus { grid-area: plus; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--c-soleil); border: 2px solid var(--stroke); font-weight: 800; transition: transform var(--d-fast) var(--e-back); }
.prow:hover .prow__plus { transform: rotate(90deg) scale(1.1); background: var(--c-ciel); color: #fff; }
.prow.is-out { opacity: .5; }
.mempty { padding: 3rem 1rem; text-align: center; border-radius: 20px; border: 2.5px dashed var(--line-strong); }
.mempty b { font-family: var(--font-display); font-size: var(--t-xl); font-weight: 400; }
.mempty p { color: var(--text-mute); margin-top: .4rem; }

@media (max-width: 1160px) {
  .mbar { display: block; }
  .menulayout { grid-template-columns: 1fr; padding-top: var(--s-5); }
  .mnavcol { display: none; }
  .mcat { scroll-margin-top: calc(var(--header-h) + 84px); }
}
@media (max-width: 640px) {
  /* Téléphone : le bouton devient une icône, les puces prennent la largeur */
  .mbar__all { padding: 0 9px; gap: 0; }
  .mbar__lbl, .mbar__caret { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 560px) {
  .mtabs a { height: 42px; font-size: .9rem; padding-right: .85rem; }
  .mtools__count { display: none; }
  .mfilter { flex: 1; height: 46px; } .msearch { flex-basis: 100%; height: 48px; }
}
@media (max-width: 380px) { .mbar__lbl small { display: none; } .mchip__ico { display: none; } .mtabs a { padding: 0 .85rem; } }
@media (max-width: 680px) {
  .plist { grid-template-columns: 1fr; padding: .6rem 1rem; }
  .prow:nth-last-child(2) { border-bottom: 2px dashed var(--line); }
  .mcat__head { grid-template-columns: auto minmax(0, 1fr); }
  .mcat__count { display: none; }
  .mcat__num { width: 46px; height: 46px; font-size: 1.2rem; }
}
@media (max-width: 520px) {
  .pgrid { grid-template-columns: 1fr; gap: .8rem; }
  /* carte horizontale au téléphone : la boîte à gauche, le texte à droite */
  .pgrid .pcard { flex-direction: row; box-shadow: 3px 4px 0 var(--stroke-sh); }
  .pgrid .pcard__media { width: 38%; aspect-ratio: auto; border-bottom: 0; border-right: 2.5px solid var(--stroke); }
  .pgrid .pbox { padding: 10%; }
  .pgrid .pbox__name, .pgrid .pcard__size { display: none; }
  .pgrid .pcard__body { padding: .8rem .85rem; gap: .25rem; }
  .pgrid .pcard__name { font-size: 1.2rem; }
  .pgrid .pcard__desc { font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .pgrid .pcard__price { font-size: 1.3rem; }
  .pgrid .pcard__add { padding: .45rem .75rem; font-size: .85rem; }
  .pgrid .pcard__foot { margin-top: .2rem; padding-top: .5rem; }
}

/* =========================================================
   PAGES INTÉRIEURES
   ========================================================= */
.twocol { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.twocol--wide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
@media (max-width: 900px) { .twocol, .twocol--wide { grid-template-columns: 1fr; } }
.info { padding: clamp(1.3rem, 3vw, 2rem); border-radius: 22px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 5px 6px 0 var(--stroke-sh); }
.info + .info { margin-top: var(--s-5); }
.twocol > .info + .info { margin-top: 0; }
.info h2 { font-size: var(--t-xl); margin-top: .4rem; }
.info p { margin-top: .7rem; color: var(--text-mute); }
.info--big h2 { font-size: var(--t-2xl); }
.info__note { font-size: var(--t-xs); }
.info__btns { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: var(--s-5); }
.infos { display: grid; gap: var(--s-5); }
.infos .info + .info { margin-top: 0; }
.modes3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-top: var(--s-5); }
.modes3 div { display: grid; gap: .2rem; padding: .9rem; border-radius: 14px; background: var(--bg); border: 2px dashed var(--line-strong); }
.modes3 b { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; color: var(--c-ciel); }
.modes3 span { font-size: var(--t-xs); color: var(--text-mute); }
@media (max-width: 560px) { .modes3 { grid-template-columns: 1fr; } }

.ccards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; padding: 1.4rem; border-radius: 22px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 5px 6px 0 var(--stroke-sh); }
.ccard h2 { font-size: var(--t-xl); }
.ccard p { color: var(--text-mute); font-size: var(--t-sm); flex: 1; }
.ccard .btn { margin-top: .4rem; max-width: 100%; overflow-wrap: anywhere; }
.ccard--red { background: var(--c-ciel); color: #fff; }
.ccard--red h2 { color: #fff; } .ccard--red p { color: #FFE1DC; } .ccard--red .eyebrow { color: var(--c-soleil); }
.ccard--red .btn--primary { --btn-bg: var(--c-soleil); --btn-fg: var(--c-nuit); }
@media (max-width: 1080px) { .ccards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ccards { grid-template-columns: 1fr; } }

.formcard { padding: clamp(1.3rem, 3vw, 2.2rem); border-radius: 24px; background: var(--surface); border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); display: grid; gap: .9rem; }
.formcard h2 { font-size: var(--t-2xl); }
.formcard__lede { color: var(--text-mute); }
.formcard__msg { font-weight: 700; font-size: var(--t-sm); min-height: 1.2em; }
.formcard__msg.is-ok { color: #0B5A2E; } .formcard__msg.is-err { color: var(--c-ciel-deep); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .frow { grid-template-columns: 1fr; } }
.field label { font-weight: 700; font-size: var(--t-sm); }
.field input, .field select, .field textarea, .formcard input:not([type="checkbox"]):not([type="radio"]), .formcard select, .formcard textarea {
  width: 100%; border-radius: 12px; border: 2px solid var(--line-strong); background: var(--surface-2); padding: .75rem .9rem; color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-ciel); outline: 0; box-shadow: var(--ring); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--t-sm); color: var(--text-mute); }
.check input { margin-top: .25rem; accent-color: var(--c-ciel); width: 18px; height: 18px; flex: none; }
.check a { color: var(--c-ciel); text-decoration: underline; }

/* La pizzeria */
.story { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.story__side { position: sticky; top: calc(var(--header-h) + 1.5rem); display: grid; gap: var(--s-5); }
.story__box { rotate: -3deg; }
.toc { display: grid; gap: .3rem; list-style: none; padding: 0; counter-reset: t; }
.toc a { display: flex; gap: .6rem; padding: .5rem .7rem; border-radius: 10px; font-weight: 700; font-size: var(--t-sm); }
.toc li { counter-increment: t; }
.toc a::before { content: counter(t, decimal-leading-zero); font-family: var(--font-display); color: var(--c-ciel); }
.toc a:hover, .toc a.is-on { background: var(--surface); box-shadow: inset 0 0 0 2px var(--stroke); }
.prose { max-width: 70ch; }
.prose h2 { font-size: var(--t-2xl); margin-top: var(--s-7); scroll-margin-top: calc(var(--header-h) + 1rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--t-xl); margin-top: var(--s-5); }
.prose p, .prose li { margin-top: var(--s-3); color: var(--text-mute); }
.prose ul { padding-left: 1.2rem; }
.prose a { color: var(--c-ciel); text-decoration: underline; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .story__side { position: static; grid-template-columns: 160px 1fr; align-items: center; } }

/* Offres */
.offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.3rem; }
.offer { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: .7rem; padding: clamp(1.4rem, 3vw, 2.2rem); border-radius: 26px; border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); overflow: hidden; }
.offer h2 { font-size: var(--t-2xl); line-height: 1.02; max-width: 18ch; }
.offer p { max-width: 52ch; }
.offer--large { grid-row: span 2; justify-content: flex-end; min-height: 380px; }
.offer--large h2 { font-size: var(--t-3xl); }
.offer--red { background: var(--c-ciel); color: #fff; } .offer--red h2 { color: #fff; } .offer--red p { color: #FFE1DC; }
.offer--gold { background: var(--c-soleil); color: var(--c-nuit); }
.offer--dark { background: var(--c-basil); color: #fff; } .offer--dark h2 { color: #fff; } .offer--dark p { color: #CFE5D7; }
.offer::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.18) 0 55%, rgba(255,255,255,.08) 56% 66%, transparent 67%); }
.offer__tag { padding: .3rem .8rem; border-radius: var(--r-full); background: var(--c-nuit); color: var(--c-soleil); font-weight: 800; font-size: var(--t-xs); text-transform: uppercase; letter-spacing: .1em; }
.offer__price { font-family: var(--font-display); font-size: var(--t-xl); text-transform: uppercase; }
.offers__note { display: flex; align-items: center; gap: .6rem; margin-top: var(--s-6); font-weight: 700; color: var(--text-mute); }
.offers__note svg { width: 24px; height: 24px; color: var(--c-ciel); flex: none; }
@media (max-width: 760px) { .offers { grid-template-columns: 1fr; } .offer--large { min-height: 0; } }

/* Tableaux publics (allergènes) */
.tbl-wrap { overflow-x: auto; border-radius: 18px; border: 2.5px solid var(--stroke); background: var(--surface); box-shadow: 4px 5px 0 var(--stroke-sh); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.tbl th { text-align: left; background: var(--c-basil); color: #fff; padding: .75rem .9rem; font-weight: 800; white-space: nowrap; }
.tbl td { padding: .65rem .9rem; border-top: 1px solid var(--line); }
.tbl tr:nth-child(even) td { background: var(--surface-2); }
.searchbar { border-radius: var(--r-full); border: 2px solid var(--stroke); background: var(--surface); }

/* Fiche plat, panier, commande */
.product__media { border-radius: 22px; overflow: hidden; border: 2.5px solid var(--stroke); box-shadow: 6px 7px 0 var(--stroke-sh); }
.summary, .cartgrid .glass { border: 2.5px solid var(--stroke); box-shadow: 5px 6px 0 var(--stroke-sh); background: var(--surface); border-radius: 20px; }
.chip { border: 2px solid var(--line-strong); font-weight: 700; }
.chip[aria-pressed="true"], .chip.is-on { background: var(--c-ciel); color: #fff; border-color: var(--stroke); }
.stepdot.is-on { background: var(--c-ciel); }
.done__seal { background: var(--c-matcha); }
.track__step.is-now .track__dot, .track__step.is-done .track__dot { background: var(--c-matcha); }

/* Fenêtre de choix (shop.js) */
.sheet { background: var(--bg); border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); }
.sheet__media { background: none; border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh); }
.sheet__title { font-size: var(--t-2xl); }
.sheet__price { color: var(--c-ciel); font-family: var(--font-display); }
.sheet__close { background: var(--surface); border: 2px solid var(--stroke); color: var(--c-nuit); }
.ogroup { border-color: var(--line-strong); }
.ogroup__req { background: var(--c-ciel); color: #fff; }
.opick[aria-pressed="true"] { border-color: var(--c-ciel); }
.sheet__foot { border-top: 2.5px solid var(--stroke); background: var(--surface); }

/* Panier en volet */
.cartd { background: var(--bg); border-left: 2.5px solid var(--stroke); }
.cartd__head { border-bottom: 2.5px solid var(--stroke); }
.cartd__foot { border-top: 2.5px solid var(--stroke); background: var(--surface); }
.cline__img { border-radius: 12px; overflow: hidden; border: 2px solid var(--stroke); background: var(--c-kraft) url("/assets/img/logo-sm.webp?v=3") center / 82% auto no-repeat; }
.cline__img:has(img) { background: var(--surface); }
.mode[aria-pressed="true"] { border-color: var(--c-ciel); background: rgba(228,38,28,.06); }
.cartd__gift {
  display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; padding: .85rem 1rem; border-radius: 14px;
  background: #FFF4CC; border: 2px dashed var(--c-soleil-lo);
}
.cartd__gift-ico { font-size: 1.5rem; line-height: 1; }
.cartd__gift div { display: grid; gap: .1rem; font-size: var(--t-xs); color: var(--text-mute); }
.cartd__gift b { font-size: var(--t-sm); color: var(--c-ciel); }
.cartd__gift-next { font-weight: 700; color: var(--text) !important; }
.pickup { border-radius: 14px; border: 2px dashed var(--line-strong); }

/* Journal */
.post-card, .jcard { border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh); border-radius: 18px; background: var(--surface); }

/* 404 */
.lost { padding-block: clamp(3rem, 8vw, 6rem); text-align: center; }
.lost__inner { display: grid; justify-items: center; gap: .8rem; }
.lost__code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); line-height: .9; color: var(--c-ciel); -webkit-text-stroke: 2.5px var(--c-nuit); text-shadow: 6px 6px 0 var(--stroke-sh); margin-top: 1rem; }
.lost h1 { font-size: var(--t-2xl); }
.lost p { color: var(--text-mute); max-width: 52ch; }
.lost__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; margin-top: .6rem; }

/* Langue (i18n.js) : en accord avec l'en-tête */
.lang__btn { border: 2px solid var(--line-strong) !important; background: var(--surface) !important; color: var(--text) !important; }
.lang__menu { background: var(--surface) !important; border: 2px solid var(--stroke) !important; box-shadow: var(--sh-pop) !important; }

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .hero__sun, .hero__pizza { animation: none; }
}

/* Impression : le menu sur papier */
@media print {
  .header, .announce, .footer, .fab-stack, .orderbar, .cookie, .mbar, .mside, .preload { display: none !important; }
  body { background: var(--surface); }
  .pcard, .plist { box-shadow: none; break-inside: avoid; }
}

/* ---------------- Fiche produit (/plat/…/) ---------------- */
.pagehead--fiche { padding-block: 1.4rem 1.8rem; }
.fiche { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4.5rem); align-items: center; }
.fiche__media { position: relative; margin: 0; max-width: 480px; width: 100%; justify-self: center; aspect-ratio: 1; border-radius: 22px; overflow: hidden; border: 2.5px solid var(--stroke); box-shadow: var(--sh-pop-lg); rotate: -2deg; }
.fiche__media .pbox--hero { border: 0; box-shadow: none; border-radius: 0; }
.fiche__media .pcard__size { width: 72px; height: 72px; font-size: 1.8rem; top: 16px; right: 16px; }
.fiche__txt h1 { font-size: var(--t-3xl); margin-top: .5rem; line-height: 1; }
.fiche__prix { font-family: var(--font-display); font-size: var(--t-2xl); color: var(--c-ciel); margin-top: .6rem; }
.fiche__desc { margin-top: var(--s-4); font-size: var(--t-lg); color: var(--text-mute); max-width: 54ch; }
.fiche__txt h2 { font-size: var(--t-xl); margin-top: var(--s-5); }
.fiche__txt ul { margin-top: .5rem; padding-left: 1.1rem; color: var(--text-mute); }
.fiche__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: var(--s-6); }
.fiche__where { margin-top: var(--s-6); padding-top: var(--s-4); border-top: 2px dashed var(--line); color: var(--text-mute); font-size: var(--t-sm); }
@media (max-width: 820px) { .fiche { grid-template-columns: 1fr; } .fiche__media { max-width: 320px; } }
.journal-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.2rem; }
.journal-list .card { border: 2.5px solid var(--stroke); box-shadow: 4px 5px 0 var(--stroke-sh); background: var(--surface); }

/* Titres : casse naturelle partout (les feuilles de base forçaient les capitales) */
h1, h2, h3, h4, .pagehead h1, .sheet__title, .cartd__head h2, .ogroup__head h3 { text-transform: none; letter-spacing: .005em; }

/* Choix de la langue dans le menu mobile (injecté par i18n.js) : lisible sur fond crème */
.nav .lang--nav button { border: 2px solid var(--line-strong) !important; background: var(--surface) !important; color: var(--text) !important; font-family: var(--font-body); font-size: .95rem !important; }
.nav .lang--nav button[aria-current="true"] { background: var(--c-nuit) !important; color: var(--c-soleil) !important; border-color: var(--stroke) !important; }

/* ---- Menu mobile : toujours sous l'en-tête (la croix reste visible) ---- */
@media (max-width: 1160px) {
  .nav { z-index: calc(var(--z-header) - 1); }
  .burger { width: 48px; height: 48px; background: var(--bg); border: 2px solid var(--line-strong); }
  .burger[aria-expanded="true"] { background: var(--c-ciel); color: #fff; border-color: var(--stroke); }
  .burger svg { width: 24px; height: 24px; }
  html.nav-open .fab-stack, html.nav-open .orderbar, html.nav-open .cookie { display: none !important; }
}

/* ---- Barre panier du bas : grande et facile à toucher ---- */
@media (max-width: 1160px) {
  .orderbar {
    left: .7rem; right: .7rem; translate: none; width: auto; max-width: 560px; margin-inline: auto;
    padding: .4rem; gap: .35rem; border-radius: 20px;
  }
  .orderbar__opt { flex: 1 1 0; padding: .35rem .7rem; border-radius: 14px; min-height: 56px; align-content: center; }
  .orderbar__opt b { font-size: .95rem; }
  .orderbar__cart {
    flex: 1.15 1 0; justify-content: center; min-height: 58px; padding: 0 1rem; border-radius: 15px; gap: .55rem;
    font-size: 1.05rem; border: 2.5px solid var(--stroke); box-shadow: 3px 3px 0 var(--stroke-sh);
  }
  .orderbar__cart svg { width: 24px; height: 24px; }
  .orderbar__cart .icon-btn__count { min-width: 26px; height: 26px; font-size: .82rem; }
  .orderbar__cart:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stroke-sh); }
  .orderbar--home .orderbar__cart { flex: 1; }
  .has-orderbar .fab-stack { bottom: calc(max(.8rem, env(safe-area-inset-bottom)) + 92px); }
  .has-orderbar .footer { padding-bottom: 130px; }
  .orderbar__cart span.lbl { display: inline !important; }
}
@media (max-width: 400px) {
  .orderbar__opt { padding: .3rem .5rem; } .orderbar__opt b { font-size: .84rem; }
  .orderbar:not(.orderbar--home) .orderbar__cart .lbl { display: none !important; }
}
@media (max-width: 1160px) { .nav { overscroll-behavior: contain; touch-action: pan-y; } html.nav-open, html.nav-open body { overscroll-behavior: none; } }

/* =========================================================
   THÈME SOMBRE — ajustements
   ========================================================= */
.theme-btn .i-sun { display: none; }
[data-theme="dark"] .theme-btn .i-sun { display: block; }
[data-theme="dark"] .theme-btn .i-moon { display: none; }
.theme-btn svg { transition: transform var(--d-mid) var(--e-back); }
.theme-btn:hover svg { transform: rotate(-25deg); }
[data-theme="dark"] .theme-btn { color: var(--c-soleil); }

[data-theme="dark"] body {
  background-image:
    radial-gradient(rgba(255,220,170,.045) 1px, transparent 1.4px),
    radial-gradient(rgba(255,220,170,.03) 1px, transparent 1.4px);
}
[data-theme="dark"] .hero__accent { color: #3CC46E; }
[data-theme="dark"] .hero__sun { background: repeating-conic-gradient(from 0deg, rgba(255,210,31,.16) 0 7deg, transparent 7deg 15deg); }
[data-theme="dark"] .hero__glow { background: radial-gradient(circle, rgba(228,38,28,.35) 0 45%, rgba(255,160,40,.18) 60%, transparent 72%); }
[data-theme="dark"] .hero__pizza { filter: drop-shadow(0 26px 40px rgba(0,0,0,.6)); }
[data-theme="dark"] .status { background: rgba(255,230,190,.1); color: var(--text); }
[data-theme="dark"] .status.is-open { background: rgba(25,160,75,.2); color: #7BE3A0; }
[data-theme="dark"] .status.is-closed { background: rgba(228,38,28,.2); color: #FF9A90; }
[data-theme="dark"] .tag--veg { background: rgba(25,160,75,.2); color: #7BE3A0; border-color: #7BE3A0; }
[data-theme="dark"] .tag--hot { background: rgba(228,38,28,.2); color: #FF9A90; border-color: #FF9A90; }
[data-theme="dark"] .nav a[aria-current="page"],
[data-theme="dark"] .mtabs a.is-on { background: var(--c-soleil); color: #1F1510; border-color: var(--c-soleil); }
[data-theme="dark"] .mtabs a.is-on .mchip__ico { background: #fff; }
[data-theme="dark"] .nav a:hover { background: rgba(255,230,190,.08); }
[data-theme="dark"] .icon-btn:hover { background: rgba(255,230,190,.08); }
[data-theme="dark"] .roundbtn, [data-theme="dark"] .modal__x, [data-theme="dark"] .sheet__close,
[data-theme="dark"] .fab--top, [data-theme="dark"] .catsheet__x, [data-theme="dark"] .mchips__arrow { color: var(--text); }
[data-theme="dark"] .btn--light { --btn-fg: var(--text); }
[data-theme="dark"] .mside__gift, [data-theme="dark"] .cartd__gift { background: rgba(255,210,31,.1); }
[data-theme="dark"] .mchip__ico, [data-theme="dark"] .mnav__ico, [data-theme="dark"] .mnav__n,
[data-theme="dark"] .cgrid__ico, [data-theme="dark"] .modes3 div { background: rgba(255,230,190,.08); }
[data-theme="dark"] .mnav__list a.is-on .mnav__ico { background: var(--c-soleil); }
[data-theme="dark"] .visit__lines svg { background: rgba(228,38,28,.2); }
[data-theme="dark"] .ctaband__title { text-shadow: 3px 3px 0 #000; }
[data-theme="dark"] .pcard__size, [data-theme="dark"] .sticker { color: #1F1510; }
[data-theme="dark"] .sticker--price, [data-theme="dark"] .sticker--fresh { color: #fff; }
[data-theme="dark"] .qa__ico { border-color: #1F1510; }
[data-theme="dark"] .pagehead::before { opacity: .18; }
[data-theme="dark"] .gingham, [data-theme="dark"] .footer__edge { border-color: #000; }
[data-theme="dark"] .footer { background: #0C1F14; }
[data-theme="dark"] .deals, [data-theme="dark"] .section--basil { background-color: #0B3A22; }
[data-theme="dark"] .field input, [data-theme="dark"] .field select, [data-theme="dark"] .field textarea { background: var(--surface-2); }
[data-theme="dark"] .preload { background: var(--bg); }
[data-theme="dark"] .ph-logo img, [data-theme="dark"] .pbox__lid { box-shadow: inset 0 0 0 7px #FFF6E5, inset 0 0 0 9px var(--ring-c, rgba(228,38,28,.35)), 3px 4px 0 rgba(0,0,0,.7); }

/* =========================================================
   Choix de la langue (i18n.js) — textes lisibles dans les deux thèmes
   ========================================================= */
.lang__menu { background: var(--surface) !important; border: 2px solid var(--stroke) !important; box-shadow: var(--sh-pop) !important; padding: 6px !important; }
.lang__menu button { color: var(--text) !important; font-family: var(--font-body) !important; font-weight: 700 !important; }
.lang__menu button:hover, .lang__menu button:focus-visible { background: var(--bg) !important; }
.lang__menu button[aria-current="true"] { color: var(--c-ciel) !important; background: rgba(228,38,28,.08) !important; }
.lang__menu small { color: var(--text-mute) !important; opacity: 1 !important; }
.lang__btn { border: 2px solid var(--line-strong) !important; background: var(--surface) !important; color: var(--text) !important; }
.nav .lang--nav button { border: 2px solid var(--line-strong) !important; background: var(--surface) !important; color: var(--text) !important; }
.nav .lang--nav button[aria-current="true"] { background: var(--c-ciel) !important; color: #fff !important; border-color: var(--c-ciel) !important; }
/* Le cercle du logo reste blanc dans les deux thèmes (logo lisible) */
.pbox__lid, .ph-logo img, .hero__badge, .stack__lid { background: #fff !important; }
/* Petits téléphones : tout l'en-tête tient sur une ligne (bouton thème inclus) */
@media (max-width: 480px) {
  .header__tools [data-fav-btn], .header__tools button[aria-label="Voir mes favoris"] { display: none !important; }
  .header__tools .icon-btn { width: 38px; height: 38px; }
  .header__tools .burger { width: 42px; height: 42px; }
  .hcall svg { width: 36px; height: 36px; padding: 9px; }
  .logo__mark { width: 104px; }
}
@media (max-width: 350px) { .logo__mark { width: 92px; } .header__tools .lang__btn { padding: 0 .35rem !important; } }

/* =========================================================
   En-tête mobile / tablette : éléments espacés et alignés à droite
   (le menu hors-écran précède les outils dans le code : sans
   margin-left:auto, les icônes restaient collées au logo)
   ========================================================= */
@media (max-width: 1160px) {
  .header__bar { justify-content: space-between; gap: .75rem; }
  .nav + .header__tools, .header__tools { margin-left: auto !important; gap: clamp(.3rem, 1.8vw, .7rem) !important; }
  .header__tools .icon-btn, .header__tools .hcall, .header__tools .lang, .header__tools .burger { flex: none; margin: 0 !important; }
}
@media (max-width: 640px) {
  .header__bar { min-height: 68px; }
  .header__tools .icon-btn { width: 40px; height: 40px; }
  .header__tools .icon-btn svg { width: 21px; height: 21px; }
  .header__tools .burger { width: 44px; height: 44px; }
  .hcall svg { width: 40px; height: 40px; padding: 10px; }
  .header__tools .lang__btn { height: 40px !important; padding: 0 .6rem !important; }
}
@media (max-width: 400px) {
  .logo__mark { width: 98px; }
  .header__tools { gap: clamp(.2rem, 1.3vw, .45rem) !important; }
  .header__tools .icon-btn { width: 36px; height: 36px; }
  .hcall svg { width: 36px; height: 36px; padding: 9px; }
  .header__tools .lang__btn { padding: 0 .45rem !important; gap: .2rem !important; }
  .header__tools .burger { width: 40px; height: 40px; }
}
@media (max-width: 350px) { .logo__mark { width: 86px; } .header__tools .lang__btn svg { display: none; } }
@media (max-width: 400px) { .logo__mark { width: 92px; } .header__tools .lang__btn svg { display: none; } .header__tools .lang__btn { padding: 0 .55rem !important; } }
@media (max-width: 350px) { .logo__mark { width: 82px; } .header__tools { gap: .2rem !important; } }
@media (max-width: 350px) { .header__tools .icon-btn { width: 34px; height: 34px; } .hcall svg { width: 34px; height: 34px; padding: 8px; } .header__tools .burger { width: 38px; height: 38px; } }

/* =========================================================
   En-tête ordinateur (≥ 1161 px) : plus large que le contenu,
   espacement régulier, éléments masqués progressivement pour
   ne jamais déborder.
   ========================================================= */
@media (min-width: 1161px) {
  .header .wrap { max-width: 1560px; }
  .header__bar { gap: clamp(.8rem, 1.6vw, 2rem); }
  .nav { gap: clamp(.1rem, .4vw, .4rem); margin-inline: auto; }
  .nav a { padding: .55rem clamp(.55rem, .8vw, .95rem); font-size: clamp(.92rem, .55rem + .45vw, 1.04rem); }
  .nav + .header__tools, .header__tools { margin-left: 0 !important; gap: clamp(.35rem, .7vw, .75rem) !important; }
  .header__tools > * { flex: none; margin: 0 !important; }
  .header__cta { margin-left: clamp(.2rem, .5vw, .6rem) !important; white-space: nowrap; }
  /* Numéro visible seulement s'il y a la place */
  .hcall { padding: 0; border: 0; background: none; }
  .hcall span { display: none; }
  .hcall svg { width: 42px; height: 42px; padding: 11px; }
}
@media (min-width: 1580px) {
  .hcall { padding: .3rem .95rem .3rem .3rem; border: 2px solid var(--line-strong); background: var(--surface); }
  .hcall span { display: grid; }
  .hcall small { display: block; }
  .hcall svg { width: 36px; height: 36px; padding: 8px; }
}
@media (min-width: 1161px) and (max-width: 1320px) {
  /* Écrans étroits : compte et favoris passent dans le menu du pied ; logo plus compact */
  .header__tools a[href="/compte"], .header__tools [data-fav-btn], .header__tools button[aria-label="Voir mes favoris"] { display: none !important; }
  .logo__mark { width: 128px; }
}
