/*
  Pâte Mère — Restaurant & Pizzeria HTML Template
  © 2026 NS. Maquette de présentation.
  ------------------------------------------------
  Feuille de style unique, partagée par les 5 pages.
  Pour changer l'ambiance, modifiez seulement les couleurs et polices de :root ci-dessous.

  Sommaire : variables · base · typographie · boutons · navigation · hero · bandeau ·
  carte des pizzas · boissons · offres · histoire · lieu · pied de page · panier ·
  choix de la pâte · formulaires · avis · paiement · curseur · pages · menu mobile
*/
:root {
  --parchment: #D8CBB8;
  --ivory: #E9E1D4;
  --linen: #C9BDAB;
  --stone: #B6AB9C;
  --walnut: #978E81;
  --espresso: #55504A;
  --onyx: #2C2C2C;
  --night: #292622;
  --saffron: #D49653;
  --f-serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --f-sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.25, .46, .45, .94);
  --max: 1440px;
  --gutter: clamp(16px, 4vw, 56px);
  --sec: clamp(56px, 6.5vw, 88px);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--parchment); color: var(--onyx);
  font-family: var(--f-sans); font-weight: 500; font-size: 15px; line-height: 1.55; letter-spacing: -.01em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
p { margin: 0; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 1px solid var(--saffron); outline-offset: 3px; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.tnum { font-variant-numeric: tabular-nums lining-nums; }

/* Typographie */
h1, h2, h3 { margin: 0; font-family: var(--f-serif); font-weight: 300; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(3rem, 7.2vw, 6rem); line-height: .86; letter-spacing: -.04em; }
h2 em, h1 em { font-style: italic; letter-spacing: -.03em; }
h3 { font-size: clamp(1.55rem, 2.2vw, 1.85rem); font-weight: 400; line-height: .95; letter-spacing: -.02em; }
.cap { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--espresso); }
.sub { font-size: 15px; color: var(--espresso); max-width: 46ch; }

/* En-têtes de section : une colonne de légende, une colonne de titre */
.sec { padding-block: var(--sec); }
.sec-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 20px 32px; padding-top: 18px; border-top: 1px solid var(--stone); margin-bottom: clamp(44px, 6vw, 80px); }
.sec-head .cap { padding-top: 6px; }
.sec-head .sub { margin-top: 26px; }
.sec-head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }
.head-c { display: grid; justify-items: center; text-align: center; gap: 22px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.head-c h2 { font-size: clamp(3.2rem, 8vw, 6.6rem); }
.head-c .sub { margin: -6px auto 0; text-align: center; }
.head-c .tabs { justify-content: center; }

/* Tons de section */
.t-ivory { background: var(--ivory); }
.t-linen { background: var(--linen); }
.t-night { background: var(--night); color: var(--parchment); }
.t-night .cap, .t-night .sub { color: var(--walnut); }
.t-night .sec-head { border-color: #4A443C; }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 16px 24px; border-radius: 3px;
  border: 1px solid currentColor; background: transparent; text-decoration: none; cursor: pointer;
  font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.btn:hover { background: var(--onyx); color: var(--parchment); border-color: var(--onyx); }
.on-dark .btn:hover, .t-night .btn:hover { background: var(--parchment); color: var(--onyx); border-color: var(--parchment); }
.add {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 3px; cursor: pointer;
  border: 1px solid var(--onyx); background: transparent; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.add:hover { background: var(--onyx); color: var(--parchment); }
.add.done { background: var(--saffron); border-color: var(--saffron); color: var(--onyx); }
.t-night .add { border-color: var(--parchment); }
.t-night .add:hover { background: var(--parchment); color: var(--onyx); }

/* Navigation */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 30; padding-top: env(safe-area-inset-top, 0px); color: var(--parchment); transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); border-bottom: 1px solid transparent; }
.nav.solid { background: var(--parchment); color: var(--onyx); border-bottom-color: var(--stone); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 18px; }
.logo { font-family: var(--f-serif); font-weight: 400; font-size: 1.55rem; text-transform: uppercase; letter-spacing: -.02em; text-decoration: none; line-height: 1; white-space: nowrap; }
.nav ul { display: flex; gap: clamp(16px, 2.4vw, 36px); list-style: none; margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.nav ul a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.nav-right { display: flex; align-items: center; gap: 12px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--walnut); }
.status.open i { background: var(--saffron); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 3px; border: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.cart-btn b { min-width: 20px; height: 20px; padding-inline: 5px; border-radius: 3px; background: var(--saffron); color: var(--onyx); display: inline-grid; place-items: center; font-size: 11px; }
.cart-btn.bump { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (max-width: 1000px) { .nav ul { display: none; } }
@media (max-width: 520px) { .nav .status { display: none; } }

/* Hero */
.hero { position: relative; min-height: min(94vh, 920px); display: flex; align-items: center; justify-content: center; text-align: center; color: var(--parchment); background: var(--night); overflow: hidden; }
.hero-bg { position: absolute; inset: -24px; background: url("../images/instagram/nouveaute-livraison.jpg") center 60% / cover no-repeat; transition: transform 1.2s var(--ease); }
.hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(41,38,34,.55) 0%, rgba(41,38,34,.78) 70%), rgba(41,38,34,.25); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 128px 72px; display: flex; flex-direction: column; align-items: center; }
.since { display: inline-flex; align-items: center; gap: 16px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .32em; padding-left: .32em; }
.since::before, .since::after { content: ""; width: 44px; height: 1px; background: var(--saffron); }
/* « PÂTE » est centré seul ; « Mère » est posé en surimpression sans décaler le centrage */
.lockup { --l2: clamp(3.4rem, 12vw, 10.5rem); position: relative; display: inline-block; margin: 26px 0 calc(var(--l2) * .42); font-weight: 300; line-height: .8; white-space: nowrap; }
.lockup .l1 { display: block; font-family: var(--f-serif); font-weight: 300; font-size: clamp(4.4rem, 17vw, 15rem); letter-spacing: .05em; margin-right: -.05em; text-transform: uppercase; }
.lockup .l2 {
  position: absolute; right: -.12em; bottom: -.52em; font-family: "Pinyon Script", "Snell Roundhand", cursive; font-weight: 400; text-transform: none; letter-spacing: 0;
  font-size: var(--l2); line-height: 1; color: var(--saffron); transform: rotate(-6deg); transform-origin: right center;
}
.since { justify-content: center; }
.tagline { margin-top: 18px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .34em; padding-left: .34em; }
.address { margin-top: 12px; font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: 0; opacity: .92; }
.hero-phone { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 26px; }
.hero-phone .cap { color: var(--parchment); opacity: .8; }
.hero-phone a { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.hero-phone a:hover { color: var(--saffron); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }
[data-home] { cursor: pointer; }
.btn-main { background: var(--saffron); border-color: var(--saffron); color: var(--onyx); padding: 20px 38px; font-size: 14px; font-weight: 700; }
.on-dark .btn-main:hover { background: var(--parchment); border-color: var(--parchment); color: var(--onyx); }
.btn-ghost { padding: 20px 30px; font-size: 14px; }

/* Bandeau défilant */
.marquee { background: var(--onyx); color: var(--parchment); overflow: hidden; padding-block: 20px; border-block: 1px solid #3A3631; }
.marquee-track { display: flex; width: max-content; animation: marquee 27s linear infinite; }
.marquee span { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem); text-transform: uppercase; letter-spacing: -.02em; white-space: nowrap; padding-inline: 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Carte des pizzas */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 9px 14px; border-radius: 3px; border: 1px solid var(--stone); background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--espresso); transition: all .4s var(--ease); }
.tab:hover { border-color: var(--onyx); color: var(--onyx); }
.tab[aria-pressed="true"] { border-color: var(--onyx); background: var(--onyx); color: var(--parchment); }
/* Carrousel des pizzas */
.rail-wrap { position: relative; }
.rail { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
.track { display: flex; width: max-content; will-change: transform; }
.track .dish { flex: none; width: clamp(240px, 24vw, 330px); margin-right: 22px; }
.arrow {
  position: absolute; z-index: 2; top: calc(clamp(240px, 24vw, 330px) * .625); transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 3px; border: 1px solid var(--onyx); background: var(--onyx); color: var(--parchment);
  display: grid; place-items: center; font-size: 20px; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease);
}
.arrow:hover, .arrow:focus-visible { background: var(--parchment); color: var(--onyx); }
.arrow.prev { left: calc(-1 * var(--gutter) + 12px); }
.arrow.next { right: calc(-1 * var(--gutter) + 12px); }
@media (max-width: 600px) {
  .track .dish { width: 74vw; }
  .arrow { width: 44px; height: 44px; top: calc(74vw * .625); }
}
.dish { display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-snap-align: start; }
.photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; background: var(--linen); perspective: 900px; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); will-change: transform; }
.photo .badge { position: absolute; top: 10px; left: 10px; padding: 4px 8px; border-radius: 3px; background: var(--parchment); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.photo .badge.hot { background: var(--saffron); }
.dish-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 2px; }
.dish .price { font-weight: 700; font-size: 15px; white-space: nowrap; }
.dish p { font-size: 14px; color: var(--espresso); line-height: 1.5; }
.dish-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--stone); }
.dish-foot .cap { color: var(--walnut); }
.menu-note { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 56px; padding-top: 18px; border-top: 1px solid var(--stone); }

/* Boissons */
.drinks { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.drinks-side { display: grid; gap: clamp(20px, 3vw, 44px); }
.drinks-side figure { margin: 0; }
.drinks-side .photo { aspect-ratio: 3 / 4; }
.drinks-side figcaption { margin-top: 10px; }
.drinks-side.right { margin-top: clamp(40px, 8vw, 120px); }
.drinks-list { display: grid; gap: 40px; }
.dgroup h3 { padding-bottom: 12px; border-bottom: 1px solid var(--onyx); }
.drow { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; padding-block: 13px; border-bottom: 1px solid var(--stone); }
.drow .n { font-weight: 600; }
.drow .d { display: block; font-size: 13px; color: var(--espresso); font-weight: 500; }
.drow .price { font-weight: 700; white-space: nowrap; }
.drow .add { padding: 6px 9px; }
@media (max-width: 900px) {
  .drinks { grid-template-columns: 1fr 1fr; }
  .drinks-list { grid-column: 1 / -1; grid-row: 2; }
  .drinks-side.right { margin-top: 0; }
}

/* Formules */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer { border: 1px solid #5A5349; padding: 32px 28px; display: flex; flex-direction: column; gap: 22px; min-width: 0; transition: border-color .4s var(--ease); }
.offer:hover { border-color: var(--saffron); }
.offer-top { display: grid; gap: 12px; justify-items: start; }
.offer-top .kind { padding: 4px 9px; border-radius: 3px; background: var(--saffron); color: var(--onyx); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.offer h3 { font-size: clamp(2.2rem, 3.2vw, 2.8rem); font-weight: 300; }
.offer dl { margin: 0; display: grid; border-top: 1px solid #4A443C; }
.offer dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding-block: 11px; border-bottom: 1px solid #4A443C; }
.offer dt { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--walnut); padding-top: 2px; }
.offer dd { margin: 0; font-size: 15px; color: #CFC3B0; }
.offer dl > div.key { align-items: baseline; padding-block: 14px; }
.offer dl > div.key dd { font-family: var(--f-serif); font-weight: 400; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.15; letter-spacing: -.01em; color: var(--parchment); }
.offer .amount { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 6px 16px; }
.offer .amount b, .offer .amount span, .month-buy b, .sum-total b, .total b { white-space: nowrap; }
.offer .amount b { font-family: var(--f-serif); font-weight: 300; font-size: 3.2rem; line-height: 1; letter-spacing: -.03em; }
.offer .amount span { font-family: var(--f-serif); font-style: italic; font-size: clamp(1.35rem, 1.9vw, 1.6rem); line-height: 1.1; color: var(--parchment); text-align: right; }
@media (max-width: 960px) { .offers { grid-template-columns: 1fr; } }
.month { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); margin-top: clamp(32px, 4vw, 52px); border: 1px solid #4A443C; }
.month .photo { aspect-ratio: 5 / 4; }
.month-txt { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.month-txt .cap { color: var(--saffron); }
.month-txt h3 { font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 300; line-height: .88; letter-spacing: -.04em; }
.month-txt p { color: var(--walnut); max-width: 44ch; }
.month-buy { display: flex; align-items: center; gap: 20px; margin-top: 8px; }
.month-buy b { font-family: var(--f-serif); font-weight: 300; font-size: 2.4rem; letter-spacing: -.03em; }
@media (max-width: 860px) { .month { grid-template-columns: 1fr; } }

/* Histoire */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.story .photo { aspect-ratio: 4 / 5; }
.story-txt { display: grid; gap: 22px; }
.story-txt .quote { font-family: var(--f-serif); font-weight: 300; font-size: clamp(1.7rem, 3vw, 2.5rem); line-height: 1.1; letter-spacing: -.02em; }
.story-txt .quote em { color: var(--saffron); font-style: italic; }
.story-txt p.body { color: var(--espresso); max-width: 52ch; }
.timeline { list-style: none; margin: 18px 0 0; padding: 0; border-top: 1px solid var(--stone); }
.timeline li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 18px; padding-block: 16px; border-bottom: 1px solid var(--stone); }
.timeline b { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; line-height: 1; letter-spacing: -.02em; }
.timeline span { color: var(--espresso); }
.dough { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--onyx); }
.dough > div { padding: 24px 24px 0 0; min-width: 0; }
.dough .big { font-family: var(--f-serif); font-weight: 300; font-size: clamp(3.4rem, 7vw, 6rem); line-height: .85; letter-spacing: -.04em; }
.dough .big small { font-size: .3em; letter-spacing: 0; text-transform: uppercase; font-family: var(--f-sans); font-weight: 600; margin-left: 8px; color: var(--espresso); }
.dough h3 { font-family: var(--f-sans); text-transform: uppercase; font-size: 12px; font-weight: 600; letter-spacing: .08em; margin: 18px 0 8px; }
.dough p { color: var(--espresso); max-width: 34ch; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } .dough { grid-template-columns: 1fr; } .dough > div { padding-bottom: 24px; border-bottom: 1px solid var(--stone); } }

/* Lieu */
.facade { position: relative; min-height: clamp(380px, 62vw, 720px); display: flex; align-items: flex-end; color: var(--parchment); background: var(--night) url("../images/instagram/pate-maison.jpg") center / cover no-repeat; }
.facade::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,38,34,.1) 30%, rgba(41,38,34,.8) 100%); }
.facade .wrap { position: relative; z-index: 1; width: 100%; padding-block: 48px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; }
.facade h2 { font-size: clamp(3rem, 8vw, 7rem); }
.facade .cap { color: var(--parchment); }
.place { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); }
.addr { font-family: var(--f-serif); font-weight: 300; text-transform: uppercase; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: .92; letter-spacing: -.035em; margin: 14px 0 26px; }
.info { margin: 36px 0 0; border-top: 1px solid var(--stone); }
.info > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--stone); }
.info dt { margin: 0; padding-top: 2px; }
.info dd { margin: 0; }
.copy-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.copy { padding: 4px 9px; border-radius: 3px; border: 1px solid var(--stone); background: transparent; cursor: pointer; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--espresso); }
.copy:hover { border-color: var(--onyx); color: var(--onyx); }
.hours-box { background: var(--ivory); padding: 28px; }
.hours-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 20px; }
.hours-state .status { color: var(--onyx); }
.hours-state span#statusText { color: var(--espresso); }
.hours { width: 100%; border-collapse: collapse; }
.hours td { padding: 11px 0; border-top: 1px solid var(--stone); vertical-align: top; }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.today td { font-weight: 700; }
.hours tr.today td:first-child::after { content: "Aujourd'hui"; margin-left: 10px; padding: 2px 6px; border-radius: 3px; background: var(--saffron); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.hours tr.closed td:last-child { color: var(--walnut); }
.salle { margin-top: 20px; aspect-ratio: 16 / 10; }
.services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.services span { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 6px 10px; border: 1px solid var(--stone); border-radius: 3px; color: var(--espresso); }
@media (max-width: 900px) { .place { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .info > div { grid-template-columns: 1fr; gap: 4px; } }

/* Pied de page */
footer { background: var(--onyx); color: var(--parchment); padding-block: 56px 40px; }
footer .big { font-family: var(--f-sans); font-weight: 500; text-transform: uppercase; font-size: clamp(2.6rem, 11vw, 10rem); line-height: .8; letter-spacing: -.05em; white-space: nowrap; overflow: hidden; }
.foot-logo { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: 24px 16px; }
footer .lockup { --l2: clamp(2.6rem, 8.5vw, 7rem); }
footer .lockup .l1 { font-size: clamp(3.4rem, 12vw, 10rem); }
footer .row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: 32px; padding-top: 18px; border-top: 1px solid #45413B; }
footer .cap { color: var(--walnut); }

/* Panier */
.veil { position: fixed; inset: 0; z-index: 40; background: rgba(41,38,34,.45); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: min(420px, 100%); background: var(--parchment); border-left: 1px solid var(--stone);
  display: flex; flex-direction: column; padding: calc(24px + env(safe-area-inset-top, 0px)) 24px calc(24px + env(safe-area-inset-bottom, 0px));
}
.drawer header { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 16px; border-bottom: 1px solid var(--onyx); }
.drawer h2 { font-size: 2.6rem; }
.close { background: none; border: 0; cursor: pointer; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 4px; }
.lines { flex: 1; overflow-y: auto; }
.line { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding-block: 14px; border-bottom: 1px solid var(--stone); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--stone); border-radius: 3px; }
.qty button { width: 28px; height: 28px; background: none; border: 0; cursor: pointer; font-size: 15px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.empty { padding-block: 32px; color: var(--espresso); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding-block: 18px; border-top: 1px solid var(--onyx); }
.total b { font-family: var(--f-serif); font-weight: 300; font-size: 2.4rem; letter-spacing: -.03em; }
.how { font-size: 13px; color: var(--espresso); margin-bottom: 14px; }
.how strong { color: var(--onyx); }
.drawer-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Choix de la pâte, demandé à l'ajout */
.dough-modal { position: fixed; inset: 0; z-index: 45; background: rgba(41,38,34,.55); display: grid; place-items: center; padding: 16px; }
.dm-box { width: min(520px, 100%); background: var(--parchment); border: 1px solid var(--stone); padding: clamp(24px, 4vw, 36px); display: grid; gap: 18px; }
.dm-box h3 { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 300; }
.dm-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dm-choice { display: grid; place-items: center; text-align: center; padding: 26px 18px; border: 1px solid var(--onyx); border-radius: 3px; background: transparent; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.dm-choice b { font-family: var(--f-serif); font-weight: 400; font-size: 1.6rem; line-height: 1; text-transform: uppercase; letter-spacing: -.02em; }
.dm-choice small { font-size: 13px; color: var(--espresso); }
.dm-choice:hover, .dm-choice:focus-visible { background: var(--onyx); color: var(--parchment); }
.dm-choice:hover small, .dm-choice:focus-visible small { color: var(--stone); }
.dm-box .close { justify-self: start; }
@media (max-width: 420px) { .dm-choices { grid-template-columns: 1fr; } }
.pay-go { display: grid; gap: 10px; width: 100%; }
.pay-go .btn-pay { text-decoration: none; }

/* Pizza du mois */
.month-label { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.month-label strong { font-family: var(--f-serif); font-weight: 300; font-style: italic; font-size: clamp(2.4rem, 4vw, 3.6rem); line-height: 1; letter-spacing: -.02em; color: var(--saffron); }
.month-label span { padding: 6px 10px; border-radius: 3px; border: 1px solid var(--saffron); color: var(--saffron); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.month-order { display: grid; gap: 14px; max-width: 360px; margin-top: 6px; }
.month-buy { flex-wrap: wrap; margin-top: 0; }

/* Formulaires */
.field { display: grid; gap: 8px; }
input, textarea, select { font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--stone); border-radius: 3px; background: var(--parchment); color: var(--onyx); width: 100%; }
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus, select:focus { outline: 1px solid var(--onyx); outline-offset: 0; border-color: var(--onyx); }
.form-msg { font-size: 13px; color: var(--espresso); min-height: 1.4em; }
.err { font-size: 13px; color: #8F3A1C; min-height: 1.4em; }

/* Avis */
.reviews-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.score { display: grid; gap: 10px; }
.score .big { font-family: var(--f-serif); font-weight: 300; font-size: clamp(4.4rem, 9vw, 7rem); line-height: .85; letter-spacing: -.04em; }
.score .big small { font-size: .35em; letter-spacing: 0; color: var(--espresso); margin-left: 6px; }
.stars { color: var(--saffron); font-size: 20px; letter-spacing: .12em; }
.review-form { display: grid; gap: 16px; border: 1px solid var(--stone); padding: 28px; }
.review-form h3 { font-size: 2rem; }
.rate { display: flex; gap: 2px; }
.rate button { font-size: 30px; line-height: 1; padding: 0 3px; background: none; border: 0; cursor: pointer; color: var(--stone); transition: color .2s; }
.rate button.on { color: var(--saffron); }
.review-list { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(260px, 30vw, 380px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; margin-top: clamp(28px, 3.5vw, 44px); padding-bottom: 8px; }
.review { background: var(--parchment); padding: 52px 28px 32px; display: grid; gap: 14px; align-content: start; scroll-snap-align: start; min-width: 0; }
.review p { overflow-wrap: anywhere; }
.review .who { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--espresso); }
.empty-note { color: var(--espresso); margin-top: 40px; }
.owner { margin-top: 36px; padding: 28px; border: 1px dashed var(--onyx); display: grid; gap: 14px; }
.order-card { padding-block: 14px; border-top: 1px solid var(--stone); display: grid; gap: 4px; font-size: 14px; }
.order-card b { font-weight: 700; }
@media (max-width: 860px) { .reviews-top { grid-template-columns: 1fr; } }

/* Page de paiement */
.checkout { background: var(--parchment); }
.is-off { opacity: .5; pointer-events: none; }
.drawer-actions .btn-pay { text-decoration: none; }
.co-empty { padding-block: 72px 96px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.co-empty .sub { margin-inline: auto; }
.reviews-note { margin-top: 18px; text-align: center; }
.co-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--stone); }
.co-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); padding-block: 48px 88px; align-items: start; }
.co-grid > div > h2 { margin-bottom: 40px; }
.co-step { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--onyx); margin-bottom: 44px; }
.co-step h3 { font-size: 1.9rem; }
.choices { display: grid; gap: 10px; }
.choice { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--stone); border-radius: 3px; cursor: pointer; transition: border-color .3s var(--ease), background .3s var(--ease); }
.choice:has(input:checked) { border-color: var(--onyx); background: var(--ivory); }
.choice input { width: auto; accent-color: var(--onyx); margin: 3px 0 0; }
.choice b { display: block; font-weight: 700; }
.choice small { font-size: 13px; color: var(--espresso); }
.choice.off { opacity: .55; cursor: not-allowed; }
.summary { background: var(--ivory); padding: 28px; position: sticky; top: 24px; display: grid; gap: 4px; }
.sum-line { display: flex; justify-content: space-between; gap: 12px; padding-block: 11px; border-bottom: 1px solid var(--stone); font-size: 14px; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-block: 18px 22px; }
.sum-total b { font-family: var(--f-serif); font-weight: 300; font-size: 2.8rem; letter-spacing: -.03em; }
.btn-pay { width: 100%; justify-content: center; background: var(--onyx); color: var(--parchment); border-color: var(--onyx); padding: 20px; font-size: 14px; font-weight: 700; }
.btn-pay:hover { background: var(--saffron); border-color: var(--saffron); color: var(--onyx); }
.btn-pay:disabled { opacity: .5; pointer-events: none; }
.co-done { max-width: 640px; margin-inline: auto; padding-block: 88px; display: grid; gap: 20px; justify-items: center; text-align: center; }
.co-done .num { font-family: var(--f-serif); font-weight: 300; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; letter-spacing: -.03em; color: var(--onyx); }
.co-done .recap { width: 100%; text-align: left; background: var(--ivory); padding: 22px 24px; }
@media (max-width: 860px) { .co-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* Curseur */
.cursor, .cursor-dot { position: fixed; top: 0; left: 0; z-index: 60; pointer-events: none; border-radius: 50%; }
.cursor { width: 36px; height: 36px; margin: -18px 0 0 -18px; border: 1px solid var(--onyx); display: grid; place-items: center; transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s var(--ease), border-color .4s var(--ease), opacity .3s; }
.cursor-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; background: var(--onyx); }
.cursor span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--onyx); opacity: 0; transition: opacity .3s; white-space: nowrap; }
.cursor.dark { border-color: var(--parchment); }
.cursor-dot.dark { background: var(--parchment); }
.cursor.link { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.dish { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--saffron); border-color: var(--saffron); }
.cursor.dish span { opacity: 1; }
.cursor.hide, .cursor-dot.hide { opacity: 0; }
.has-cursor, .has-cursor * { cursor: none !important; }
.cursor, .cursor-dot { display: none; }
.has-cursor .cursor, .has-cursor .cursor-dot { display: grid; }
.has-cursor .cursor-dot { display: block; }

/* Pages */
.page { animation: pageIn .5s var(--ease); }
@keyframes pageIn { from { opacity: 0; } }
.nav ul a[aria-current="page"] { opacity: 1; text-decoration: underline; text-decoration-color: var(--saffron); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.page-hero { position: relative; display: flex; align-items: flex-end; justify-content: center; text-align: center; min-height: clamp(340px, 46vh, 460px); color: var(--parchment); background: var(--night); overflow: hidden; }
.page-hero-bg { position: absolute; inset: 0; background: center / cover no-repeat; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(41,38,34,.6) 0%, rgba(41,38,34,.82) 75%); }
.page-hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 120px 52px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.page-hero h1 { font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .86; letter-spacing: -.04em; }
.page-hero .address { margin: 0; max-width: 40ch; }

/* Accueil : accès aux pages */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; min-height: clamp(260px, 30vw, 380px); padding: 26px; overflow: hidden; color: var(--parchment); text-decoration: none; background: var(--night); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(41,38,34,.05) 25%, rgba(41,38,34,.85) 100%); }
.tile > :not(img) { position: relative; z-index: 1; }
.tile .cap { color: var(--saffron); }
.tile b { font-family: var(--f-serif); font-weight: 300; font-size: clamp(2.2rem, 3.4vw, 3rem); line-height: .9; text-transform: uppercase; letter-spacing: -.03em; }
.tile i { font-style: normal; font-size: 14px; opacity: .85; }
.tile b::after { content: " →"; font-size: .6em; opacity: 0; transition: opacity .4s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile:hover b::after { opacity: 1; }
@media (max-width: 860px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 220px; } }

/* Offres : conditions */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--onyx); }
.rules > div { padding: 24px 24px 0 0; display: grid; gap: 10px; align-content: start; }
.rules p { color: var(--espresso); max-width: 36ch; }
@media (max-width: 860px) { .rules { grid-template-columns: 1fr; } .rules > div { padding-bottom: 22px; border-bottom: 1px solid var(--stone); } }
.center-cta { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 48px); }
.next-step { padding-block: 40px; }
.next-step .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px; }
.next-step .cap { font-size: 14px; color: var(--parchment); }

/* Menu mobile */
.menu-btn { display: none; padding: 10px 14px; border-radius: 3px; border: 1px solid currentColor; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1000px) {
  .menu-btn { display: inline-flex; }
  .nav.open { background: var(--parchment); color: var(--onyx); border-bottom-color: var(--stone); }
  .nav.open ul { display: grid; position: absolute; top: 100%; left: 0; right: 0; gap: 0; padding: 8px var(--gutter) 20px; background: var(--parchment); border-bottom: 1px solid var(--stone); }
  .nav.open ul a { display: block; padding-block: 14px; border-bottom: 1px solid var(--stone); font-family: var(--f-serif); font-weight: 300; font-size: 2rem; letter-spacing: -.02em; }
}
@media (max-width: 420px) { .cart-btn, .menu-btn { padding: 9px 10px; } .logo { font-size: 1.3rem; } }

/* Pied de page : liens */
.foot-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 20px; }
.foot-nav a { text-decoration: none; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.foot-nav a:hover { color: var(--saffron); }

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

/* =====================================================================
   Charte Foca & Brother's (d'apres leur Instagram, leur logo et leur menu)
   Logo taupe, police arrondie · brun chaud fonce · creme · vert sauge · accent orange
   ===================================================================== */
:root {
  --parchment: #F4EFE6;
  --ivory: #FBF8F2;
  --linen: #E2E8DC;
  --stone: #D3CABD;
  --walnut: #A39588;
  --espresso: #5E514B;
  --onyx: #2B211E;
  --night: #2B211E;
  --saffron: #E27A2E;
  --taupe: #6F5A58;
  --sage: #7F977A;
  --f-serif: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --f-round: "Quicksand", "Montserrat", Arial, sans-serif;
  --f-script: "Pinyon Script", cursive;
}

/* Titres : capitales grasses et espacees, comme leur menu */
h1, h2 { font-weight: 800; letter-spacing: .06em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.6vw, 3.4rem); }
.head-c h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
h3 { font-weight: 700; letter-spacing: .03em; line-height: 1.1; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
h1 em, h2 em {
  font-family: var(--f-script); font-weight: 400; font-style: normal; text-transform: none;
  letter-spacing: 0; color: var(--saffron); font-size: 1.25em; line-height: .8;
}
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 5rem); line-height: 1; letter-spacing: .08em; }
.facade h2 { font-size: clamp(2.2rem, 6vw, 4.6rem); }

/* Chiffres et prix : Montserrat leger */
.offer .amount b, .month-buy b, .total b, .sum-total b, .score .big, .dough .big, .co-done .num { font-weight: 300; letter-spacing: -.01em; }
.offer .amount span, .address { font-family: var(--f-sans); font-style: normal; font-weight: 500; }
.offer .amount span { font-size: 1rem; }
.offer h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; }
.offer dl > div.key dd { font-family: var(--f-sans); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.35; letter-spacing: 0; }
.month-txt h3 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: .04em; line-height: 1; }
.month-label strong { font-family: var(--f-script); font-style: normal; font-size: clamp(2.6rem, 4.4vw, 3.8rem); }
.month-txt p { color: var(--stone); }
.month-buy .btn { padding: 12px 16px; font-size: 12px; }
.quote { font-weight: 600 !important; letter-spacing: .01em !important; line-height: 1.25 !important; }
.quote em { font-family: var(--f-script); font-weight: 400; font-size: 1.35em; }
.addr { font-weight: 700; letter-spacing: .04em; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; }
.timeline b { font-weight: 700; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.dough .big { font-size: clamp(2.8rem, 6vw, 4.6rem); }
.dough h3 { font-family: var(--f-sans); }
.tile b { font-weight: 800; letter-spacing: .06em; font-size: clamp(1.5rem, 2.4vw, 2rem); }
.marquee span { font-weight: 700; letter-spacing: .1em; font-size: clamp(1.1rem, 2vw, 1.5rem); }
.drawer h2 { font-size: 1.8rem; }
.dgroup h3 { color: var(--sage); letter-spacing: .14em; font-weight: 800; border-bottom-color: var(--taupe); }
.t-night .dgroup h3 { color: var(--linen); }
.co-step h3 { font-size: 1.25rem; }
.review-form h3 { font-size: 1.4rem; }

/* Logo : carre taupe, ecriture arrondie */
.logo { text-transform: none; font-family: var(--f-round); }
.logo-box {
  display: inline-block; padding: 7px 10px 6px; background: var(--taupe); color: #fff; border-radius: 2px;
  font-family: var(--f-round); font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: 0;
}
.logo-box small, .bl-name small { font-size: .55em; vertical-align: .35em; }
.brand-logo {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 22px;
  padding: clamp(22px, 3.4vw, 34px) clamp(26px, 4vw, 44px); background: var(--taupe); color: #fff;
  font-family: var(--f-round); text-transform: none; letter-spacing: 0; line-height: 1;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .28);
}
.bl-name { display: block; text-align: left; font-weight: 600; font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: .98; }
.bl-tag { font-family: var(--f-serif); font-weight: 700; font-size: clamp(10px, 1.1vw, 12px); letter-spacing: .22em; text-transform: uppercase; margin-top: 6px; }
.bl-since { font-family: var(--f-serif); font-weight: 500; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.brand-logo-sm { box-shadow: none; padding: 20px 26px; }
.brand-logo-sm .bl-name { font-size: clamp(1.8rem, 4vw, 2.4rem); }
.foot-logo { text-decoration: none; }
footer a { text-decoration: none; }

/* Hero et bandeaux : photos Instagram adoucies */
.hero { min-height: min(92vh, 860px); }
.hero-bg { background-image: url("../images/instagram/nouveaute-livraison.jpg"); background-position: center 70%; filter: blur(5px) saturate(1.1); inset: -40px; }
.hero::after { background: radial-gradient(ellipse at center, rgba(43,33,30,.55) 0%, rgba(43,33,30,.86) 72%); }
.page-hero-bg { filter: blur(4px); inset: -30px; }
.page-hero::after { background: radial-gradient(ellipse at center, rgba(43,33,30,.62) 0%, rgba(43,33,30,.86) 75%); }
.facade { background-image: url("../images/instagram/pate-maison.jpg"); background-position: center 40%; }
.facade::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(3px); }
.tagline { letter-spacing: .26em; }

/* Vignettes de pizzas sans photo, aux couleurs de la marque */
.brand-tile {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 12px;
  padding: 24px; text-align: center; color: #fff;
  background-image: radial-gradient(circle at 20% 15%, rgba(255,255,255,.08) 0 18%, transparent 19%), radial-gradient(circle at 85% 90%, rgba(255,255,255,.07) 0 24%, transparent 25%);
}
.brand-tile.tone-0 { background-color: var(--taupe); }
.brand-tile.tone-1 { background-color: var(--sage); }
.brand-tile.tone-2 { background-color: var(--onyx); }
.bt-mark { font-family: var(--f-round); font-weight: 600; font-size: 13px; opacity: .8; }
.bt-mark small { font-size: .75em; }
.bt-name { font-family: var(--f-serif); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: clamp(1.4rem, 2.2vw, 1.9rem); line-height: 1.05; }
.bt-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; padding: 5px 9px; border: 1px solid rgba(255,255,255,.55); border-radius: 3px; }
.dish h3 { font-size: 1.1rem; }
.photo .illus { position: absolute; right: 8px; bottom: 8px; padding: 3px 7px; border-radius: 3px; background: rgba(43,33,30,.72); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: .04em; pointer-events: none; }

/* Livraison maison (accueil) */
.delivery-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.delivery-photo { aspect-ratio: 4 / 5; max-width: 420px; }
.delivery-txt { display: grid; gap: 18px; justify-items: start; }
.delivery-txt .cap { color: var(--saffron); }
.delivery-txt .sub { color: var(--stone); max-width: 52ch; }
.delivery-keys { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; border-top: 1px solid #4A3E39; }
.delivery-keys li { display: grid; gap: 4px; padding: 16px 16px 0 0; }
.delivery-keys b { font-family: var(--f-serif); font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: .03em; }
.delivery-keys span { font-size: 13px; color: var(--walnut); }
.delivery .hero-cta { margin-top: 10px; justify-content: flex-start; }
@media (max-width: 860px) { .delivery-grid { grid-template-columns: 1fr; } .delivery-photo { max-width: none; aspect-ratio: 4 / 3; } .delivery-keys { grid-template-columns: 1fr; } }

/* Offres : 4 cartes */
.offers-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 760px) { .offers-4 { grid-template-columns: 1fr; } }

/* Menu deroulant (telephone et tablette) */
@media (max-width: 1000px) {
  .nav.open ul { padding: 6px 0 14px; gap: 0; box-shadow: 0 18px 40px rgba(43, 33, 30, .18); }
  .nav.open ul a {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 18px var(--gutter); border-bottom: 1px solid var(--stone);
    font-family: var(--f-serif); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .14em;
    color: var(--onyx); opacity: 1; text-decoration: none !important;
    transition: background .25s var(--ease), color .25s var(--ease), padding-left .25s var(--ease);
  }
  .nav.open ul a::after { content: "→"; font-weight: 600; letter-spacing: 0; color: var(--saffron); transition: transform .25s var(--ease); }
  .nav.open ul a:hover, .nav.open ul a:focus-visible, .nav.open ul a:active {
    background: var(--onyx); color: var(--parchment); padding-left: calc(var(--gutter) + 8px); text-decoration: none !important; outline: none;
  }
  .nav.open ul a:hover::after, .nav.open ul a:focus-visible::after { transform: translateX(4px); }
  .nav.open ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--saffron); text-decoration: none !important; }
}

/* Telephone : textes plus grands, boutons faciles a toucher */
.m-bar { display: none; }
@media (max-width: 760px) {
  body { font-size: 16px; padding-bottom: 68px; }
  .sub, .story-txt p.body, .rules p, .dough p, .delivery-c .sub, .page-hero .address, .address { font-size: 16px; line-height: 1.55; }
  .cap, .tagline, .hero-phone .cap, footer .cap, .services span, .hours-state .status { font-size: 13px; }
  .bl-tag { font-size: 11px; } .bl-since { font-size: 11px; }
  .dish p { font-size: 15px; } .dish .price { font-size: 16px; } .dish h3 { font-size: 1.15rem; }
  .drow { padding-block: 15px; } .drow .n { font-size: 16px; } .drow .d { font-size: 14px; line-height: 1.45; } .drow .price { font-size: 16px; }
  .add { min-height: 40px; padding: 9px 14px; font-size: 13px; } .drow .add { min-width: 40px; justify-content: center; }
  .tab { padding: 11px 14px; font-size: 13px; }
  .hours td { font-size: 15px; padding-block: 12px; }
  .info > div { padding-block: 14px; } .info dd { font-size: 16px; }
  .copy { padding: 7px 11px; font-size: 12px; }
  .offer dt { font-size: 13px; } .offer dd { font-size: 16px; } .offer dl > div { grid-template-columns: 1fr; gap: 4px; }
  .hero-cta { width: 100%; flex-direction: column; align-items: stretch; }
  .hero-cta .btn, .center-cta .btn, .next-step .btn, .delivery-c .btn { justify-content: center; width: 100%; }
  .btn { font-size: 14px; padding: 16px 20px; }
  .foot-nav a { font-size: 14px; padding: 6px 2px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; }
  .delivery-keys span { font-size: 15px !important; }
  .review-form, .hours-box, .summary { padding: 22px; }
  input, textarea, select { font-size: 16px; }
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 36;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--onyx); box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
  }
  .m-bar a { display: flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 3px; text-decoration: none; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
  .m-bar .m-call { border: 1px solid var(--parchment); color: var(--parchment); }
  .m-bar .m-order { background: var(--saffron); color: #fff; }
}

/* Pied de page : 3 colonnes alignees, mention de maquette centree tout en bas */
footer .row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px 32px; }
footer .row > :first-child { justify-self: start; }
footer .row > :nth-child(2) { justify-self: center; text-align: center; }
footer .row > :last-child { justify-self: end; text-align: right; }
footer .mail-lower { text-transform: none; letter-spacing: .02em; }
.credit-line { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid #3E3430; text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #7E716A; }
.demo-note { margin: 22px 0 0; text-align: center; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--walnut); }
@media (max-width: 860px) { footer .row { grid-template-columns: 1fr; justify-items: center; text-align: center; } footer .row > * { justify-self: center !important; text-align: center !important; } }
/* Pas de curseur anime dans le pied de page */
.has-cursor footer, .has-cursor footer * { cursor: auto !important; }
.has-cursor footer a, .has-cursor footer a * { cursor: pointer !important; }
.cursor.off, .cursor-dot.off { opacity: 0; }

/* Moins de vide entre les sections */
:root { --sec: clamp(40px, 4.6vw, 64px); }
.head-c { margin-bottom: clamp(20px, 2.6vw, 32px); gap: 16px; }
.hero { min-height: min(86vh, 780px); }
.hero .wrap { padding-block: 112px 56px; }
.page-hero { min-height: clamp(280px, 38vh, 380px); }
.page-hero .wrap { padding-block: 104px 40px; }
.month, .dough { margin-top: clamp(24px, 3vw, 40px); }
.next-step { padding-block: 32px; }
.center-cta { margin-top: clamp(24px, 3vw, 36px); }

/* Pas de phrases coupees n'importe ou */
p, li, dd, .cap, .sub, .address { text-wrap: balance; }
.story-txt p.body, .dish p, .drow .d { text-wrap: pretty; }
.delivery-c .sub, .page-hero .address, .head-c .sub { max-width: none !important; }
.delivery-keys span { font-size: 14px !important; }
.page-hero .address { max-width: 66ch; }

/* Livraison : infos importantes d'abord, tout centre */
.delivery-c { display: grid; justify-items: center; text-align: center; gap: 18px; }
.delivery-c .cap { color: var(--saffron); }
.delivery-c .sub { color: var(--stone); max-width: 52ch; margin: 0 auto; }
.delivery-c .delivery-keys { max-width: 820px; margin: 8px 0 0; }
.delivery-c .delivery-keys li { padding: 18px 12px 0; justify-items: center; }
.delivery-c .delivery-keys b { font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; }
.delivery-c .hero-cta { justify-content: center; margin-top: 4px; }
@media (max-width: 860px) { .delivery-c .delivery-keys { grid-template-columns: 1fr; } }

/* Formulaire de reservation */
.resa-box { width: min(620px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; }
.resa-box h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); font-weight: 800; letter-spacing: .05em; }
.resa-box .sub { max-width: none; }
.resa-fields { display: grid; gap: 16px; }
.resa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 520px) { .resa-grid { grid-template-columns: 1fr; } }
.resa-done { display: grid; gap: 14px; }
.resa-done .num { font-family: var(--f-serif); font-weight: 800; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; }
.link-btn { background: none; border: 0; padding: 0; margin-left: 6px; cursor: pointer; font-weight: 700; color: var(--taupe); text-decoration: underline; text-underline-offset: 4px; }
.btn-main { color: #fff; }
.btn-main:hover { color: var(--onyx); }
.cart-btn b, .photo .badge.hot, .offer-top .kind, .hours tr.today td:first-child::after { color: #fff; }
.add.done { color: #fff; }

/* Photo Margherita : on cadre la pizza, sous le titre de la publication */
.photo img[src*="nouveaute-livraison"] { object-position: center 100%; }
.page-hero-bg[style*="nouveaute-livraison"] { background-position: center 80%; }
