/* La Novità — feuille de style principale
   Clair-obscur : fonds sombres et chauds comme les photos du four,
   texte couleur farine, une couleur par maison. */

:root {
  --nuit: #17110e;        /* fond principal, croûte cuite au bois */
  --braise: #231a16;      /* fond secondaire */
  --cendre: #3a2e28;      /* filets, bordures */
  --farine: #f5f1ea;      /* texte principal sur fond sombre */
  --semola: #c9bfb4;      /* texte secondaire */
  --sourdine: #a79c92;    /* texte discret */
  --pomodoro: #d41f16;    /* rouge du logo */

  /* une couleur par maison */
  --charquemont: #d41f16;
  --orchamps: #a85a2c;
  --morteau: #c2185b;
  --pontarlier: #2e7d4f;

  --accent: var(--pomodoro);

  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --bar-h: 0px;
}

[data-maison="charquemont"] { --accent: var(--charquemont); }
[data-maison="orchamps-vennes"] { --accent: var(--orchamps); }
[data-maison="morteau"] { --accent: var(--morteau); }
[data-maison="pontarlier"] { --accent: var(--pontarlier); }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* supprime le délai de double-tap et le zoom au double-tap sur iOS */
  touch-action: manipulation;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--nuit);
  color: var(--farine);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: var(--bar-h);
  overflow-x: clip;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; line-height: 0.92; letter-spacing: -0.01em; font-stretch: 68%; font-variation-settings: "wdth" 68; text-wrap: balance; }

:focus-visible { outline: 3px solid var(--farine); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--farine); color: var(--nuit); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }

/* ---------- Typo ---------- */
.display { font-size: clamp(3.4rem, 11vw, 10.5rem); }
.h2 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
.h3 { font-size: clamp(1.9rem, 3.4vw, 2.75rem); line-height: 0.95; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.5; color: var(--semola); max-width: 36em; }
.muted { color: var(--sourdine); }
.kicker { font-size: 0.95rem; font-weight: 600; color: var(--accent); margin-bottom: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid currentColor;
  font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap;
  background: transparent; cursor: pointer;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--plein { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn--farine { background: var(--farine); border-color: var(--farine); color: var(--nuit); }
.btn--petit { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.lien { font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; }

/* Les effets de survol uniquement sur les appareils qui ont vraiment une souris.
   Sur iPhone, un :hover force un premier tap « survol » avant le clic : c'est
   ce qui oblige à taper deux fois. */
@media (hover: hover) and (pointer: fine) {
  .btn { transition: background-color .15s, color .15s, border-color .15s; }
  .btn:hover { background: var(--farine); border-color: var(--farine); color: var(--nuit); }
  .btn--plein:hover { background: #fff; border-color: #fff; color: var(--nuit); }
  .lien:hover, .nav a:hover { color: var(--accent); }
  .maison-tuile a.tuile-nom:hover { text-decoration: underline; text-underline-offset: 6px; }
}

/* ---------- En-tête ---------- */
.entete { position: absolute; inset: 0 0 auto; z-index: 20; }
.entete .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.logo { display: block; color: var(--farine); width: 150px; }
.logo svg { display: block; width: 100%; height: auto; }
.nav { display: none; gap: 30px; font-weight: 600; font-size: 0.975rem; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.entete-actions { display: none; gap: 10px; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(245, 241, 234, .5); background: rgba(23, 17, 14, .35); font-weight: 700; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

@media (min-width: 980px) {
  .logo { width: 180px; }
  .nav { display: flex; }
  .entete-actions { display: flex; }
  .menu-btn { display: none; }
}

/* ---------- Menu mobile (plein écran) ---------- */
dialog.feuille { margin: 0; border: 0; padding: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: var(--nuit); color: var(--farine); }
dialog.feuille::backdrop { background: rgba(0, 0, 0, .6); }
.feuille-in { min-height: 100%; display: flex; flex-direction: column; padding: 20px var(--gut) calc(28px + env(safe-area-inset-bottom)); }
.feuille-haut { display: flex; justify-content: space-between; align-items: center; height: 48px; margin-bottom: 28px; }
.feuille nav a { display: block; text-decoration: none; font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; font-size: 2.6rem; line-height: 1.15; padding: 4px 0; }
.feuille .maisons-liste { margin-top: auto; border-top: 1px solid var(--cendre); padding-top: 20px; display: grid; gap: 14px; }
.feuille .maisons-liste a { display: flex; justify-content: space-between; align-items: center; min-height: 48px; text-decoration: none; font-weight: 600; }
.feuille .maisons-liste a span:last-child { color: var(--semola); font-weight: 500; }

/* ---------- Héros accueil ---------- */
.heros { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; }
.heros-photo { position: absolute; inset: 0; z-index: -1; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.heros-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(23,17,14,.55) 0%, rgba(23,17,14,0) 22%, rgba(23,17,14,0) 38%, rgba(23,17,14,.88) 72%, var(--nuit) 100%); }
.heros > .wrap { width: 100%; }
.heros-texte { padding-top: 140px; padding-bottom: 36px; }
.heros h1 { max-width: 10ch; }
.heros .lead { margin-top: 22px; color: #e6ddd2; }

/* L'unique animation de la page : le titre se dévoile au chargement */
@media (prefers-reduced-motion: no-preference) {
  .reveal span { display: inline-block; opacity: 0; transform: translateY(0.35em); animation: monte .8s cubic-bezier(.2, .7, .1, 1) forwards; }
  .reveal span:nth-child(2) { animation-delay: .08s; }
  .reveal span:nth-child(3) { animation-delay: .16s; }
  .reveal span:nth-child(4) { animation-delay: .24s; }
  .reveal span:nth-child(5) { animation-delay: .32s; }
  .reveal span:nth-child(6) { animation-delay: .40s; }
  @keyframes monte { to { opacity: 1; transform: none; } }
}

/* ---------- Tuiles des maisons (action directe) ---------- */
.maisons-tuiles { display: grid; gap: 12px; padding-bottom: 40px; }
@media (min-width: 700px) { .maisons-tuiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .maisons-tuiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.maison-tuile { --accent: var(--c); position: relative; background: rgba(35, 26, 22, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(245, 241, 234, .12); border-radius: 22px; padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 16px; }
.maison-tuile::before { content: ""; position: absolute; left: 22px; top: 0; width: 44px; height: 4px; border-radius: 0 0 4px 4px; background: var(--c); }
.tuile-haut { display: flex; flex-direction: column; gap: 4px; }
.tuile-nom { font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; font-size: clamp(1.8rem, 2.4vw, 2.1rem); line-height: 1; text-decoration: none; }
.tuile-type { color: var(--semola); font-size: 0.9375rem; }
.statut { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--semola); min-height: 1.6em; }
.statut::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sourdine); flex: none; }
.statut[data-ouvert="1"] { color: var(--farine); }
.statut[data-ouvert="1"]::before { background: #4cc46b; box-shadow: 0 0 0 4px rgba(76, 196, 107, .18); }
.tuile-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.tuile-actions .btn { padding: 0 12px; min-width: 0; }
.tuile-haut { flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 6.5vw, 96px) 0; }
.section--claire { background: var(--farine); color: var(--nuit); }
.section--claire .lead, .section--claire .muted { color: #5c5049; }
.entete-section { display: grid; gap: 22px; margin-bottom: clamp(32px, 4.5vw, 60px); }
@media (min-width: 980px) { .entete-section { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 64px; } }

/* ---------- Ce qu'on met dedans ---------- */
.produits { display: grid; gap: 40px; }
@media (min-width: 980px) { .produits { grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; } }
.produits-photo { position: relative; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--braise); }
.produits-photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 980px) { .produits-photo { position: sticky; top: 32px; } }
.produits-photo figcaption { position: absolute; left: 18px; bottom: 16px; right: 18px; font-size: .9rem; color: #efe7dd; }
.produits-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--cendre); }
.produits-liste li { display: grid; gap: 6px; padding: 26px 0; border-bottom: 1px solid var(--cendre); }
@media (min-width: 700px) { .produits-liste li { grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: baseline; } }
.produits-liste b { font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1; }
.produits-liste span { color: var(--semola); }

/* ---------- Les maisons (univers) ---------- */
.univers { display: grid; gap: clamp(16px, 2vw, 24px); }
.univers-carte { --accent: var(--c); display: grid; border-radius: 28px; overflow: hidden; background: var(--c); color: #fff; text-decoration: none; }
@media (min-width: 900px) {
  .univers-carte { grid-template-columns: 1.35fr 1fr; min-height: 560px; }
  .univers-carte:nth-child(even) { grid-template-columns: 1fr 1.35fr; }
  .univers-carte:nth-child(even) .univers-photo { order: 2; }
}
.univers-photo { min-height: 300px; position: relative; }
.univers-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.univers-texte { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; gap: 18px; justify-content: space-between; }
.univers-texte p { color: rgba(255, 255, 255, .88); max-width: 30em; }
.univers-texte .tag { color: #fff; opacity: .85; font-weight: 600; }
.univers-texte h3 { font-size: clamp(3rem, 6vw, 5.5rem); }
.univers-bas { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.univers-carte .btn { color: #fff; }
.univers-carte .btn--farine { color: var(--nuit); }

/* ---------- Équipe ---------- */
.equipe { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
@media (min-width: 700px) { .equipe { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .equipe { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px 16px; } }
.portrait { display: flex; flex-direction: column; gap: 10px; }
.portrait-photo { --accent: var(--c, var(--pomodoro)); aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; position: relative; background:
  radial-gradient(120% 80% at 30% 20%, color-mix(in srgb, var(--accent) 55%, var(--braise)) 0%, var(--braise) 70%); display: grid; place-items: center; }
.portrait-photo img { width: 100%; height: 100%; object-fit: cover; }
.portrait-photo .initiale { font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: clamp(4rem, 8vw, 6rem); line-height: 1; color: rgba(245, 241, 234, .9); }
.portrait-photo .bientot { position: absolute; left: 14px; bottom: 12px; font-size: .8125rem; color: rgba(245, 241, 234, .75); }
.portrait h3 { font-size: 1.6rem; margin-top: 4px; }
.portrait { gap: 6px; }
.portrait .role { font-size: .875rem; line-height: 1.35; }
.portrait p:last-child { font-size: .9rem !important; line-height: 1.4; }
.portrait .role { font-weight: 600; color: var(--c, var(--accent)); filter: brightness(1.35); }
.portrait p:last-child { color: var(--semola); font-size: .975rem; }
.section--claire .portrait p:last-child { color: #5c5049; }
.section--claire .portrait .role { filter: none; }
.equipe-photo { margin-top: 56px; border-radius: 26px; overflow: hidden; }
.equipe-photo img { width: 100%; }
.equipe-photo figcaption { padding: 14px 4px 0; color: var(--sourdine); font-size: .9375rem; }

/* ---------- Frise ---------- */
.frise-wrap { position: relative; }
.frise { list-style: none; margin: 0; padding: 0 var(--gut) 12px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 340px); gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: var(--gut); scrollbar-width: none; overscroll-behavior-x: contain; }
.frise::-webkit-scrollbar { display: none; }
@media (min-width: 1320px) { .frise { padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); scroll-padding-left: calc((100vw - var(--wrap)) / 2 + var(--gut)); } }
.frise li { scroll-snap-align: start; position: relative; padding: 34px 32px 0 0; border-top: 2px solid var(--cendre); }
.frise li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--nuit); border: 2px solid var(--semola); }
.frise li.titre::before { background: var(--pomodoro); border-color: var(--pomodoro); }
.frise .annee { display: block; font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: 4.6rem; line-height: .9; letter-spacing: -0.02em; }
.frise li.titre .annee { color: var(--pomodoro); }
.frise h3 { font-size: 1.6rem; margin: 14px 0 10px; line-height: 1; }
.frise p { color: var(--semola); font-size: .975rem; max-width: 26em; }
.frise-nav { display: flex; gap: 10px; }
.rond { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--cendre); background: transparent; display: grid; place-items: center; cursor: pointer; }
.rond svg { width: 22px; height: 22px; }
@media (hover: hover) and (pointer: fine) { .rond:hover { border-color: var(--farine); } }

.palmares { margin-top: 72px; display: grid; gap: 0; border-top: 1px solid var(--cendre); }
.palmares div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--cendre); align-items: baseline; }
@media (min-width: 800px) { .palmares div { grid-template-columns: 6rem 1.4fr 1fr; } }
.palmares b { font-weight: 800; font-stretch: 62%; font-variation-settings: "wdth" 62; font-size: 2.4rem; line-height: 1; color: var(--pomodoro); }
.palmares span { font-weight: 600; }
.palmares em { font-style: normal; color: var(--sourdine); grid-column: 2; }
@media (min-width: 800px) { .palmares em { grid-column: auto; } }

/* ---------- Bandeau distributeurs ---------- */
.bandeau { display: grid; border-radius: 28px; overflow: hidden; background: var(--braise); }
@media (min-width: 900px) { .bandeau { grid-template-columns: 1fr 1fr; } }
.bandeau-photo { min-height: 320px; position: relative; }
.bandeau-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau-texte { padding: clamp(28px, 4vw, 60px); display: flex; flex-direction: column; gap: 18px; justify-content: center; }
.bandeau-texte ul { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bandeau-texte li { border: 1px solid var(--cendre); border-radius: 999px; padding: 8px 16px; font-weight: 600; }

/* ---------- Héros maison ---------- */
.heros-maison { min-height: 92svh; }
.heros-maison .heros-photo::after { background: linear-gradient(180deg, rgba(23,17,14,.6) 0%, rgba(23,17,14,.1) 30%, rgba(23,17,14,.2) 45%, rgba(23,17,14,.92) 78%, var(--nuit) 100%); }
.heros-maison h1 { color: var(--farine); }
.heros-maison .trait { display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--accent); margin-bottom: 22px; }
.heros-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.heros-infos { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 24px; color: var(--semola); }

/* ---------- Commander ---------- */
.commander { display: grid; gap: 16px; }
@media (min-width: 860px) { .commander { grid-template-columns: repeat(3, 1fr); } }
.option { border-radius: 24px; background: var(--braise); padding: 30px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; }
.option--accent { background: var(--accent); color: #fff; }
.option--accent p { color: rgba(255, 255, 255, .9); }
.option h3 { font-size: 2.2rem; }
.option p { color: var(--semola); }
.option .btn { margin-top: auto; align-self: flex-start; }
.option .numero { font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; font-size: 2.4rem; text-decoration: none; line-height: 1; }

/* ---------- Horaires ---------- */
.horaires-grille { display: grid; gap: 48px; }
@media (min-width: 900px) { .horaires-grille { grid-template-columns: 1fr 1fr; gap: 80px; } }
.horaires { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.horaires th, .horaires td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--cendre); font-weight: 500; }
.horaires th { font-weight: 600; width: 40%; }
.horaires td { color: var(--semola); font-variant-numeric: tabular-nums; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--farine); font-weight: 700; }
.horaires tr.aujourdhui th::after { content: "aujourd'hui"; margin-left: 10px; font-size: .8125rem; font-weight: 600; color: #fff; background: var(--accent); border-radius: 999px; padding: 2px 10px; vertical-align: 2px; }
.adresse { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; font-stretch: 80%; font-variation-settings: "wdth" 80; line-height: 1.15; }

/* ---------- Galerie maison ---------- */
.galerie { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.galerie figure { margin: 0; border-radius: 20px; overflow: hidden; background: var(--braise); aspect-ratio: 1; }
.galerie figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
@media (min-width: 900px) { .galerie { grid-template-columns: 2fr 1fr 1fr; } .galerie figure:first-child { grid-column: auto; grid-row: span 2; aspect-ratio: auto; } }
.galerie img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Carte ---------- */
.carte-heros { padding: 150px 0 40px; }
.carte-onglets { position: sticky; top: 0; z-index: 10; background: rgba(23, 17, 14, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--cendre); }
.carte-onglets .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.carte-onglets .wrap::-webkit-scrollbar { display: none; }
.carte-onglets a { flex: none; min-height: 44px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 999px; border: 1px solid var(--cendre); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.carte-onglets a.actif { background: var(--farine); color: var(--nuit); border-color: var(--farine); }
.carte-section { padding: 64px 0 24px; scroll-margin-top: 70px; }
.carte-section h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-bottom: 8px; }
.carte-section > .wrap > p { color: var(--sourdine); margin-bottom: 26px; }
.plats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
@media (min-width: 900px) { .plats { grid-template-columns: 1fr 1fr; } }
.plat { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 18px 0; border-bottom: 1px solid var(--cendre); }
.plat b { font-weight: 700; font-size: 1.125rem; }
.plat .prix { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.plat .desc { grid-column: 1 / -1; color: var(--semola); font-size: .975rem; }
.plat .prix small { color: var(--sourdine); font-weight: 500; font-size: .8125rem; }
.tailles { display: flex; gap: 22px; color: var(--sourdine); font-size: .9375rem; margin-bottom: 6px; }

/* ---------- Pied de page ---------- */
.pied { border-top: 1px solid var(--cendre); padding: 72px 0 40px; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--cendre); }
.pied-haut p { color: var(--semola); max-width: 26em; }
.pied-grille { display: grid; gap: 36px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1000px) { .pied-grille { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; } }
.pied-maison { border-top: 3px solid var(--c); padding-top: 18px; }
.pied-maison h3 a { text-decoration: none; color: var(--farine); }
.pied .pied-tel { color: var(--farine); font-weight: 700; text-decoration: none; }
.reseaux { display: flex; gap: 8px; margin-top: 14px; }
.reseau { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--cendre); color: var(--farine) !important; }
.reseau svg { width: 20px; height: 20px; }
.reseaux-vide { margin-top: 14px; font-size: .875rem !important; }
.pied .logo { width: 220px; color: var(--farine); }
.pied h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); margin-bottom: 10px; }
.pied h3 a { font-size: inherit !important; }
.pied p, .pied a { color: var(--semola); font-size: .975rem; }
.pied-bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--cendre); color: var(--sourdine); font-size: .875rem; }
.pied-bas a { color: var(--sourdine); }

/* ---------- Barre d'actions mobile ----------
   Liens simples (pas de JavaScript au tap), pas d'effet de survol,
   pas de masquage au défilement : un seul tap suffit, toujours. */
.barre { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(23, 17, 14, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--cendre); padding: 8px 10px calc(10px + env(safe-area-inset-bottom)); }
.barre-actions { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.barre-actions a { min-height: 56px; color: var(--farine); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border-radius: 16px; text-decoration: none; font-weight: 700; font-size: .8125rem; background: var(--braise); }
.barre-actions a svg { width: 22px; height: 22px; }
.barre-actions a.principal { background: var(--accent); color: #fff; font-size: .9375rem; }
@media (min-width: 980px) { .barre { display: none; } }

/* Choix de la maison depuis la barre */
dialog.choix { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: 560px; border-radius: 26px 26px 0 0; background: var(--braise); color: var(--farine); }
dialog.choix::backdrop { background: rgba(0, 0, 0, .55); }
.choix-in { padding: 22px 20px calc(20px + env(safe-area-inset-bottom)); }
.choix h2 { font-size: 2rem; margin-bottom: 14px; }
.choix-liste { display: grid; gap: 8px; }
.choix-liste button { --accent: var(--c); display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 64px; padding: 0 18px; border-radius: 16px; border: 1.5px solid var(--cendre); background: var(--nuit); text-align: left; cursor: pointer; }
.choix-liste button[aria-pressed="true"] { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); }
.choix-liste b { font-size: 1.125rem; }
.choix-liste .statut { font-size: .875rem; }
.choix .fermer { margin-top: 12px; width: 100%; min-height: 50px; border-radius: 999px; border: 1.5px solid var(--cendre); background: transparent; font-weight: 700; cursor: pointer; }

@media (max-width: 979px) { body { --bar-h: calc(76px + env(safe-area-inset-bottom)); } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* ---------- Fenêtre « appeler quelle maison ? » ---------- */
.choix p.sous { color: var(--semola); margin: -6px 0 16px; }
.choix-liste a { --accent: var(--c); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; min-height: 68px; padding: 12px 16px 12px 18px; border-radius: 16px; border: 1.5px solid var(--cendre); background: var(--nuit); text-decoration: none; position: relative; }
.choix-liste a::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; background: var(--c); }
.choix-liste a b { font-size: 1.125rem; }
.choix-liste a .statut { grid-column: 1; font-size: .875rem; }
.choix-liste a .num { grid-row: 1 / span 2; grid-column: 2; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; background: var(--c); color: #fff; border-radius: 999px; padding: 10px 14px; font-size: .9375rem; }
.choix-liste a .num svg { width: 18px; height: 18px; }

/* ---------- Pontarlier : composition de pizzas en attendant les photos ---------- */
.univers-photo--pizzas { background: radial-gradient(90% 90% at 50% 50%, #3d8c5e 0%, var(--pontarlier) 60%, #1f5a38 100%); overflow: hidden; }
.univers-photo--pizzas img { position: absolute; inset: auto; width: 46%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0,0,0,.35)); }
.univers-photo--pizzas img:nth-child(1) { left: 6%; top: 10%; width: 52%; }
.univers-photo--pizzas img:nth-child(2) { right: 4%; top: 4%; width: 36%; }
.univers-photo--pizzas img:nth-child(3) { right: 12%; bottom: -8%; width: 44%; }

/* ---------- Carte ---------- */
.mode { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border-radius: 999px; background: var(--braise); border: 1px solid var(--cendre); margin-top: 28px; }
.mode button { min-height: 48px; padding: 0 26px; border-radius: 999px; border: 0; background: transparent; font-weight: 700; font-size: 1rem; cursor: pointer; color: var(--semola); }
.mode button[aria-pressed="true"] { background: var(--farine); color: var(--nuit); }
.carte-info { margin-top: 18px; color: var(--semola); max-width: 40em; }
.carte-info strong { color: var(--farine); }
.carte-section { padding: 56px 0 8px; scroll-margin-top: 72px; }
.carte-section h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.carte-section .note { color: var(--sourdine); margin-top: 8px; }
.carte-tete { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 10px; border-bottom: 1px solid var(--cendre); padding-bottom: 14px; }
.tailles { display: none; }
.pizzas { list-style: none; margin: 0; padding: 0; }
.pizza { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "photo txt" "photo prix"; gap: 4px 16px; padding: 16px 0; border-bottom: 1px solid var(--cendre); align-items: center; }
.pizza-photo { grid-area: photo; width: 64px; height: 64px; border-radius: 50%; align-self: start; }
.pizza-photo img { width: 100%; height: 100%; border-radius: 50%; filter: drop-shadow(0 6px 10px rgba(0,0,0,.45)); }
.pizza-photo:empty { background: radial-gradient(circle, rgba(245,241,234,.05) 0 60%, transparent 61%); border: 1px dashed rgba(245,241,234,.12); }
.pizza-txt { grid-area: txt; }
.pizza-txt b { font-weight: 700; font-size: 1.125rem; }
.pizza-txt .desc { display: block; color: var(--semola); font-size: .95rem; line-height: 1.45; margin-top: 2px; }
.pizza-prix { grid-area: prix; display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.pizza-prix span { display: inline-flex; gap: 6px; align-items: baseline; font-weight: 700; font-variant-numeric: tabular-nums; background: var(--braise); border-radius: 10px; padding: 5px 10px; }
.pizza-prix span small { font-weight: 500; color: var(--sourdine); font-size: .78rem; }
@media (min-width: 760px) {
  .tailles { display: grid; grid-template-columns: repeat(var(--n, 3), 76px); text-align: right; color: var(--sourdine); font-size: .9rem; font-weight: 600; }
  .pizza { grid-template-columns: 84px minmax(0, 1fr) auto; grid-template-areas: "photo txt prix"; gap: 0 22px; padding: 14px 0; }
  .pizza-photo { width: 84px; height: 84px; align-self: center; }
  .pizza-prix { display: grid; grid-template-columns: repeat(var(--n, 3), 76px); margin: 0; gap: 0; text-align: right; }
  .pizza-prix span { display: block; background: none; padding: 0; font-size: 1.0625rem; }
  .pizza-prix span small { display: none; }
}
.plats { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 56px; }
@media (min-width: 900px) { .plats { grid-template-columns: 1fr 1fr; } }
.plat { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 20px; padding: 16px 0; border-bottom: 1px solid var(--cendre); align-items: baseline; }
.plat b { font-weight: 700; font-size: 1.0625rem; }
.plat .desc { grid-column: 1; color: var(--semola); font-size: .95rem; line-height: 1.45; }
.plat .region { color: var(--accent); font-weight: 600; font-size: .9rem; margin-left: 8px; }
.plat .prix { grid-column: 2; grid-row: 1 / span 2; text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; display: grid; gap: 2px; }
.plat .prix small { color: var(--sourdine); font-weight: 500; font-size: .8rem; margin-right: 6px; }
.carte-appel { margin: 64px 0 0; border-radius: 26px; background: var(--braise); padding: clamp(26px, 4vw, 48px); display: grid; gap: 18px; }
@media (min-width: 900px) { .carte-appel { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Héros : arguments qui défilent ---------- */
.heros-accueil .heros-photo::after { background:
  linear-gradient(90deg, rgba(23,17,14,.78) 0%, rgba(23,17,14,.35) 45%, rgba(23,17,14,0) 70%),
  linear-gradient(180deg, rgba(23,17,14,.6) 0%, rgba(23,17,14,0) 20%, rgba(23,17,14,.1) 45%, rgba(23,17,14,.9) 80%, var(--nuit) 100%); }
.heros-accueil .heros-texte { padding-top: clamp(130px, 22vh, 220px); }
.slogans { display: grid; font-size: clamp(2.7rem, 6.2vw, 5.6rem); line-height: .95; max-width: 13ch; min-height: 2em; }
.slogans span { grid-area: 1 / 1; align-self: end; }
.heros-lead { margin-top: 20px; max-width: 34em; font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; color: var(--farine); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.heros-maison .heros-texte { padding-bottom: 64px; }
.heros-maison .display { font-size: clamp(3.2rem, 9vw, 8rem); }
.a-completer { color: var(--sourdine); font-style: italic; }
.section--claire .a-completer { color: #8a7d74; }
.equipe-photo { margin: 56px 0 0; }
@media (max-width: 979px) {
  .carte-heros { padding: 108px 0 28px; }
  .carte-heros .heros-actions { display: none; } /* la barre du bas porte déjà « Commander » */
}

/* ---------- Slogans qui roulent (piloté par le script) ---------- */
.slogans { overflow: hidden; padding-bottom: .08em; }
.slogans span { opacity: 0; transition: opacity .5s ease; }
.slogans span.actif { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .slogans span { transform: translateY(105%); transition: transform .75s cubic-bezier(.7, 0, .2, 1), opacity .5s ease; }
  .slogans span.actif { transform: none; }
  .slogans span.sort { transform: translateY(-105%); opacity: 0; }
}
.slogan-progres { display: flex; gap: 6px; margin-top: 18px; max-width: 280px; }
.slogan-progres span { flex: 1; height: 3px; border-radius: 3px; background: rgba(245, 241, 234, .22); overflow: hidden; position: relative; }
.slogan-progres span::after { content: ""; position: absolute; inset: 0; background: var(--farine); transform: scaleX(0); transform-origin: left; }
.slogan-progres span.fait::after { transform: scaleX(1); }
.slogan-progres span.encours::after { animation: progres var(--duree-slogan, 3600ms) linear forwards; }
@keyframes progres { to { transform: scaleX(1); } }

/* ---------- Espacements resserrés ---------- */
.section--serree { padding-top: 0; padding-bottom: clamp(56px, 7vw, 96px); }
.heros-accueil + .section--serree { padding-top: 8px; }
.section--serree + .section { padding-top: clamp(40px, 6vw, 80px); }

/* ---------- Distributeurs ---------- */
.distribs { display: grid; gap: 12px; margin-top: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .distribs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .distribs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.distrib-carte { background: var(--braise); border: 1px solid rgba(245,241,234,.08); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.distrib-carte h3 { font-size: 1.9rem; }
.distrib-carte p { font-size: .95rem; }
.distrib-carte .statut { margin-top: 6px; }
.distrib-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.distrib-actions .btn[aria-pressed="true"] { background: var(--farine); color: var(--nuit); border-color: var(--farine); }
.plan { margin-top: 12px; border-radius: 20px; overflow: hidden; background: var(--braise); height: clamp(260px, 34vw, 380px); }
.plan iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ---------- Maisons : liens ---------- */
.univers-lien { color: #fff; margin-left: 6px; }
.exemple { display: inline-block; font-size: .7rem; font-weight: 600; letter-spacing: .02em; color: #8a7d74; border: 1px solid #d8cdc2; border-radius: 999px; padding: 0 7px; vertical-align: 1px; }

/* ---------- Carte : barre collante (mode + rubriques) ---------- */
.carte-collant { position: sticky; top: 0; z-index: 10; background: rgba(23, 17, 14, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--cendre); }
.carte-collant .wrap { display: flex; align-items: center; gap: 14px; padding-top: 10px; padding-bottom: 10px; }
.carte-collant .carte-onglets { position: static; background: none; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; flex: 1; min-width: 0; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; scroll-padding-left: 0; }
.carte-collant .carte-onglets::-webkit-scrollbar { display: none; }
.carte-collant .carte-onglets[hidden] { display: none; }
.mode--mini { margin: 0; flex: none; padding: 4px; }
.mode--mini button { min-height: 38px; padding: 0 16px; font-size: .9rem; }
.carte-section { scroll-margin-top: 84px; }
@media (max-width: 760px) {
  .carte-collant .wrap { flex-wrap: wrap; gap: 10px; }
  .mode--mini { width: 100%; }
  .mode--mini button { min-height: 40px; }
  .carte-section { scroll-margin-top: 132px; }
}

/* ---------- École de pizzaïoli ---------- */
.ecole { display: grid; gap: 40px; background: var(--braise); border-radius: 28px; padding: clamp(20px, 3vw, 40px); }
@media (min-width: 980px) { .ecole { grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; } }
.ecole-photos { display: grid; grid-template-columns: 1.2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; aspect-ratio: 1 / .9; }
.ecole-photos figure { margin: 0; border-radius: 18px; overflow: hidden; background: var(--nuit); }
.ecole-photos .e1 { grid-row: 1 / span 2; }
.ecole-photos img { width: 100%; height: 100%; object-fit: cover; }
.ecole-texte { display: flex; flex-direction: column; gap: 18px; }
.ecole-formules { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .ecole-formules { grid-template-columns: 1fr 1fr; } }
.ecole-formules div { border: 1px solid var(--cendre); border-radius: 18px; padding: 18px; }
.ecole-formules h3 { font-size: 1.6rem; margin-bottom: 6px; }
.ecole-formules p { color: var(--semola); font-size: .95rem; }
.ecole-heros { padding: 140px 0 40px; }
.ecole-heros-grille { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .ecole-heros-grille { grid-template-columns: 1.2fr 1fr; gap: 64px; } }
.ecole-heros .display { font-size: clamp(3rem, 8vw, 7rem); }
.ecole-portrait { margin: 0; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; }
.ecole-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* ---------- Formulaire ---------- */
.formulaire-grille { display: grid; gap: 40px; }
@media (min-width: 980px) { .formulaire-grille { grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; } }
.formulaire { display: grid; gap: 16px; }
.champs-2 { display: grid; gap: 16px; }
@media (min-width: 600px) { .champs-2 { grid-template-columns: 1fr 1fr; } }
.formulaire label { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.formulaire input:not([type="radio"]), .formulaire select, .formulaire textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--nuit); background: #fff; border: 1.5px solid #d8cdc2; border-radius: 14px; padding: 13px 14px; min-height: 50px; width: 100%; }
.formulaire textarea { resize: vertical; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: 3px solid color-mix(in srgb, var(--pomodoro) 40%, transparent); border-color: var(--pomodoro); }
.formulaire fieldset { border: 0; padding: 0; margin: 0; }
.formulaire legend { font-weight: 600; font-size: .95rem; margin-bottom: 8px; }
.choix-radio { display: flex; flex-wrap: wrap; gap: 8px; }
.choix-radio label { display: block; }
.choix-radio input { position: absolute; opacity: 0; }
.choix-radio span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid #d8cdc2; background: #fff; font-weight: 600; cursor: pointer; }
.choix-radio input:checked + span { background: var(--nuit); color: var(--farine); border-color: var(--nuit); }
.choix-radio input:focus-visible + span { outline: 3px solid var(--pomodoro); outline-offset: 2px; }
.formulaire .btn--plein { justify-self: start; }
.form-erreur { color: #b3140d; font-weight: 600; }
.form-merci { background: #fff; border-radius: 18px; padding: 20px; border: 1.5px solid #d8cdc2; }
.form-merci h3 { font-size: 1.8rem; margin-bottom: 6px; }
.form-merci p { color: #5c5049; }

/* ---------- Page maison : bloc commande ---------- */
.heros-infos .lien { color: var(--farine); }
.commande { display: grid; gap: 12px; }
@media (min-width: 900px) { .commande { grid-template-columns: 1.05fr 1fr 1fr; } }
.commande-appel { background: var(--accent); color: #fff; border-radius: 24px; padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 16px; }
.commande-appel h2 { font-size: clamp(2rem, 3vw, 2.6rem); }
.commande-appel .numero { font-weight: 800; font-stretch: 68%; font-variation-settings: "wdth" 68; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; text-decoration: none; }
.commande-appel .btn { align-self: flex-start; }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: etape; }
.etapes li { counter-increment: etape; display: flex; align-items: center; gap: 12px; font-weight: 600; }
.etapes li::before { content: counter(etape); width: 28px; height: 28px; flex: none; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; font-size: .875rem; font-weight: 800; }
.commande-carte { position: relative; overflow: hidden; isolation: isolate; background: var(--braise); border: 1px solid rgba(245, 241, 234, .08); border-radius: 24px; padding: clamp(24px, 3vw, 34px); min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; text-decoration: none; color: var(--farine); }
.commande-carte img { position: absolute; z-index: -1; width: 230px; height: 230px; right: -46px; top: -46px; filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .5)); transition: transform .5s cubic-bezier(.2, .7, .1, 1); }
.cc-txt { display: flex; flex-direction: column; gap: 10px; }
.commande-carte h3 { font-size: clamp(2rem, 3vw, 2.5rem); max-width: 7em; }
.commande-carte p { color: var(--semola); font-size: .975rem; }
.commande-carte .btn { align-self: flex-start; margin-top: 6px; }
@media (hover: hover) and (pointer: fine) { .commande-carte:hover img { transform: rotate(18deg) scale(1.04); } .commande-carte:hover .btn { background: var(--farine); color: var(--nuit); border-color: var(--farine); } }
.commande-carte--liste { justify-content: flex-start; }
.paninoteca { list-style: none; margin: 4px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.paninoteca li { border: 1px solid var(--cendre); border-radius: 999px; padding: 8px 14px; font-weight: 600; }

/* ---------- Page maison : carte intégrée ---------- */
.carte-maison { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); border-top: 1px solid var(--cendre); }
.carte-maison-tete { display: grid; gap: 12px; margin-bottom: 24px; }
@media (min-width: 900px) { .carte-maison-tete { grid-template-columns: 1fr 1.2fr; align-items: end; gap: 48px; } }
.carte-maison .carte-info { margin: 0; }
.carte-maison .carte-appel { margin-top: 40px; }

/* ---------- Distributeurs : plan à la demande ---------- */
.plan[hidden] { display: none; }
.plan { position: relative; }
.fermer-plan { position: absolute; top: 12px; right: 12px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 0; background: var(--nuit); color: var(--farine); font-weight: 700; cursor: pointer; }

/* ---------- Titres « La carte. » plus compacts ---------- */
.carte-heros { padding: 120px 0 28px; }
.carte-heros .display { font-size: clamp(2.8rem, 5.6vw, 5.2rem); }
.carte-maison-tete .h2 { font-size: clamp(2.2rem, 3.6vw, 3.4rem); }
.carte-section h2 { font-size: clamp(2rem, 3.4vw, 3rem); }

/* ---------- Bloc commande plus compact, sans photos ---------- */
.commande-carte { min-height: 0; justify-content: space-between; }
.commande-carte h3 { max-width: none; }
.commande-appel p { color: rgba(255, 255, 255, .9); }

/* ---------- Écart distributeurs → « Ce qu'on met dedans » ---------- */
.section--serree { padding-bottom: 24px; }
.section--serree + .section { padding-top: 48px; }

/* ---------- Accueil desktop : l'info plus haut ---------- */
@media (min-width: 980px) {
  .heros-accueil { min-height: 0; }
  .heros-accueil .heros-texte { padding-top: 132px; padding-bottom: 28px; }
  .heros-accueil .maisons-tuiles { padding-bottom: 36px; }
}
@media (min-width: 980px) {
  .heros-accueil .heros-texte { padding-top: 124px; padding-bottom: 24px; }
  .heros-accueil .heros-lead { margin-top: 14px; }
  .heros-accueil .slogan-progres { margin-top: 14px; }
  .heros-accueil .maison-tuile { padding: 18px 20px 18px; gap: 12px; }
}

/* ---------- Séparation restaurants / distributeurs ---------- */
.heros-accueil + .section--distrib { padding-top: clamp(24px, 3vw, 40px); }
.distrib-sep { border-top: 1px solid var(--cendre); padding-top: clamp(40px, 5vw, 64px); }
.entete-distrib { margin-bottom: clamp(22px, 3vw, 36px); }
.entete-distrib .h2 { font-size: clamp(2.4rem, 4.6vw, 4.2rem); }

/* ---------- Distributeurs : statut et boutons alignés en bas de chaque carte ---------- */
.distrib-carte .statut { margin-top: auto; padding-top: 12px; }
.distrib-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.distrib-actions .btn { padding: 0 10px; min-width: 0; }
@media (min-width: 1100px) and (max-width: 1279px) { .distrib-actions { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Séparateur artisanal (trait tracé à la main + feuille de basilic) ---------- */
.distrib-sep { border-top: 0; padding-top: 0; }
.sep { display: flex; align-items: center; gap: 14px; margin: 0 0 clamp(40px, 5vw, 60px); color: #6a5a50; }
.sep-trait { flex: 1; height: 12px; overflow: visible; }
.sep-trait path { fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.sep-feuille { width: 30px; height: 19px; flex: none; transform: rotate(-12deg); }
.sep-feuille path { fill: none; stroke: #7fa36a; stroke-width: 1.4; stroke-linejoin: round; }
.sep-feuille .nervure { stroke-width: 1; opacity: .8; }
.sep-trait { flex: 1 1 0; width: 0; min-width: 0; display: block; }

/* ---------- Séparateur : petite pizza au trait ---------- */
.sep-pizza { width: 26px; height: 26px; flex: none; color: #a8806a; }
.sep-pizza circle, .sep-pizza path { fill: none; stroke: currentColor; stroke-width: 1.2; }
.sep-pizza .croute { stroke-width: 1.6; }
.sep-pizza .parts { stroke-width: .9; opacity: .7; }
.sep-pizza .garni { fill: var(--pomodoro); stroke: none; opacity: .85; }

/* ---------- Carte : pizza du mois / du moment ---------- */
.moments { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 900px) { .moments { grid-template-columns: 1fr 1fr; } }
.moment { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 18px; align-items: center; padding: 18px 22px 18px 18px; border-radius: 22px;
  background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 16%, var(--braise)) 0%, var(--braise) 70%);
  border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); }
.moment img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 8px 14px rgba(0, 0, 0, .45)); }
.moment-label { font-weight: 700; font-size: .875rem; color: color-mix(in srgb, var(--accent) 55%, var(--farine)); }
.moment h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin: 2px 0 6px; }
.moment-desc { color: var(--semola); font-size: .95rem; line-height: 1.45; }
.moment-note { margin-top: 8px; font-size: .8125rem; color: var(--sourdine); }
@media (min-width: 900px) { .moment { grid-template-columns: 120px minmax(0, 1fr); } .moment img { width: 120px; height: 120px; } }

/* ---------- Offre du moment : bandeau sobre avant la carte ---------- */
.offre-section { padding: 8px 0 clamp(28px, 4vw, 48px); }
.offre { position: relative; display: grid; gap: 18px; align-items: center; padding: clamp(20px, 3vw, 30px); padding-left: clamp(20px, 3vw, 30px); border-radius: 26px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 140% at 0% 50%, color-mix(in srgb, #c9a96e 22%, var(--braise)) 0%, var(--braise) 55%);
  border: 1px solid rgba(201, 169, 110, .45); }
.offre img { width: 132px; height: 132px; border-radius: 50%; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .5)); }
@media (min-width: 900px) { .offre { grid-template-columns: 150px minmax(0, 1fr) auto; gap: 32px; } .offre img { width: 150px; height: 150px; } }
.offre-label { font-weight: 700; font-size: .875rem; color: #d8bd88; display: flex; align-items: center; gap: 8px; }
.offre-label .exemple { color: #b9a37c; border-color: rgba(201, 169, 110, .5); }
.offre h2 { font-size: clamp(2rem, 3.4vw, 3rem); margin: 4px 0 8px; }
.offre-txt p:last-child { color: var(--semola); max-width: 38em; }
.offre-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
@media (min-width: 900px) { .offre-cta { align-items: flex-end; } }
.offre-quand { font-weight: 700; font-size: .9rem; color: #d8bd88; }
.lien-demo { opacity: .7; }
@media (max-width: 899px) { .offre img { width: 96px; height: 96px; } }
.sep-pizza { width: 30px; height: 30px; }
.sep-pizza .croute { fill: none; stroke: #b48a6c; stroke-width: 1.5; stroke-linejoin: round; }
.sep-pizza .sauce { fill: none; stroke: #b48a6c; stroke-width: .9; opacity: .55; }
.sep-pizza .garni { fill: var(--pomodoro); stroke: none; opacity: .9; }

/* ---------- Barre mobile : trois boutons de même largeur ---------- */
.barre-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.barre-actions a.principal { font-size: .8125rem; }
/* Charquemont : photo d'équipe devant la maison, cadrée sur l'enseigne et les visages */
[data-maison="charquemont"] .heros-maison .heros-photo img { object-position: 50% 30%; }

/* ---------- Rouge La Novità : bordeaux (bannières et logo officiel) ---------- */
:root { --pomodoro: #9f1219; --charquemont: #9f1219; --pomodoro-texte: #e0575b; }
.kicker { color: color-mix(in srgb, var(--accent) 45%, #f0b3a8); }
.frise li.titre .annee, .palmares b { color: var(--pomodoro-texte); }
.frise li.titre::before { background: var(--pomodoro-texte); border-color: var(--pomodoro-texte); }
.plat .region { color: color-mix(in srgb, var(--accent) 40%, var(--farine)); }
.portrait .role { filter: none; color: color-mix(in srgb, var(--c, var(--accent)) 55%, var(--farine)); }
.section--claire .portrait .role { color: var(--c, var(--accent)); }
.sep-pizza .garni { fill: #c4252c; }
