/* Strada Pizza — feuille de style du site public */
:root {
  /* Palette par défaut : thème Noir. Les autres thèmes sont dans themes.css */
  --primaire: #141414;
  --profond: #1E1E1E;
  --sombre: #0B0B0B;
  --accent: #C8A45D;
  --accent-clair: #E6D3A6;
  --sur-accent: #141414;
  --clair: #EDECE9;
  --apres-hero: var(--clair);
  --papier: #FFFFFF;
  --encre: #221B19;
  --gris: #6A625D;
  --ligne: #E4DFD8;
  --second: #22372B;
  --affichage: "Gloock", Georgia, "Times New Roman", serif;
  --texte: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mesure: 68ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.0625rem/1.6 var(--texte); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--affichage); font-weight: 400; line-height: 1.1; margin: 0; }
[hidden] { display: none !important; }

.cadre { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--encre); color: #fff; padding: .6rem 1rem; z-index: 50; }
.evitement:focus { left: 1rem; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: .7rem 1.4rem;
  border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--texte); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.bouton-clair { background: var(--papier); color: var(--primaire); }
.bouton-clair:hover { background: var(--accent-clair); }
.bouton-contour { border-color: rgba(255,255,255,.55); color: #fff; }
.bouton-contour:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.bouton-plein { background: var(--primaire); color: #fff; }
.bouton-plein:hover { background: var(--profond); }
.bouton-or { background: var(--accent); color: var(--sur-accent); }
.bouton-or:hover { background: var(--accent-clair); }
.lien { color: var(--primaire); font-weight: 600; text-underline-offset: 3px; }

/* ---------- Bandeau d'annonce ---------- */
.annonce { background: var(--accent); color: var(--sur-accent); text-align: center; padding: .65rem 20px; font-weight: 600; }

/* ---------- En-tête ---------- */
.entete { background: var(--primaire); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.entete-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 76px; }
.marque { text-decoration: none; display: flex; align-items: center; }
.marque img { max-height: 54px; width: auto; }
.marque-texte { font-family: var(--affichage); font-size: 1.6rem; }
.nav { display: flex; gap: 1.6rem; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; color: rgba(255,255,255,.85); padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--accent); }
.entete-cta { min-height: 42px; padding: .5rem 1.1rem; }

/* ---------- Hero ---------- */
.hero { background: var(--primaire); color: #fff; padding: 3.5rem 0 5rem; overflow: hidden; }
.hero-grille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.hero-grille.sans-sceau { grid-template-columns: 1fr; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); max-width: 15ch; letter-spacing: -.01em; }
.hero-sous { font-size: 1.2rem; max-width: 46ch; margin: 1.4rem 0 2rem; color: rgba(255,255,255,.88); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.etat { display: inline-flex; align-items: center; gap: .55rem; margin: 0 0 1.4rem; font-weight: 500; background: rgba(0,0,0,.25); padding: .35rem .9rem .35rem .7rem; border-radius: 999px; font-size: .95rem; }
.pastille { width: .6rem; height: .6rem; border-radius: 50%; background: #D9A7A0; flex: none; }
.etat-ouvert .pastille { background: #7EE08F; box-shadow: 0 0 0 3px rgba(126,224,143,.25); }

.hero-visuel { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-photo { width: 100%; max-width: 460px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent), 0 0 0 12px var(--primaire), 0 0 0 13px color-mix(in srgb, var(--accent) 35%, transparent); }

/* Sceau champion (SVG blanc) */
.sceaux { --w: 370px; position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.2rem 1.4rem; width: 100%; }
.sceaux-moyen { --w: 280px; }
.sceaux-petit { --w: 200px; }
.sceaux-n2.sceaux-grand { --w: 270px; }
.sceaux-n2.sceaux-moyen { --w: 215px; }
.sceaux-n2.sceaux-petit { --w: 165px; }
.sceaux-n3.sceaux-grand { --w: 230px; }
.sceaux-n3.sceaux-moyen { --w: 185px; }
.sceaux-n3.sceaux-petit { --w: 145px; }
.sceau { width: min(var(--w), 100%); color: #fff; }
.sceau-svg { display: block; width: 100%; height: auto; overflow: visible; }
.sceau-disque { fill: none; }
.sceau-trait { fill: none; stroke: currentColor; stroke-width: .8; }
.sceau-trait-fort { stroke-width: 2.2; }
.sceau-plein { fill: currentColor; }
.sceau-arc { font-family: var(--texte); font-weight: 600; letter-spacing: .24em; }
.sceau-annee { font-family: var(--affichage); letter-spacing: .01em; }
.sceau-tige { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }
.avec-photo .sceaux { position: absolute; right: -2%; bottom: -8%; width: auto; max-width: 70%; justify-content: flex-end; gap: .6rem; }
.avec-photo .sceau { width: calc(var(--w) * .5); }
.avec-photo .sceau-disque { fill: var(--profond); }

/* ---------- Titres de section ---------- */
.titre-section { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }

/* ---------- Pizza du moment : module centré encadré ---------- */
.moment { background: var(--clair); padding: 5.5rem 0; }
.moment-avec-photo { padding-top: 10rem; }
.moment-carte {
  position: relative;
  max-width: 760px; margin: 0 auto;
  background: var(--profond); color: #fff;
  text-align: center;
  padding: 4.2rem 3.5rem 3.8rem;
  border-radius: 4px;
  box-shadow: 0 24px 50px -24px rgba(42, 9, 7, .55);
}
.moment-carte::before,
.moment-carte::after { content: ""; position: absolute; pointer-events: none; }
.moment-carte::before { inset: 14px; border: 1px solid var(--accent); }
.moment-carte::after { inset: 20px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); }
.coin { position: absolute; width: 14px; height: 14px; background: var(--profond); border: 1px solid var(--accent); transform: rotate(45deg); z-index: 1; }
.coin::after { content: ""; position: absolute; inset: 3px; background: var(--accent); }
.coin-hg { top: 7px; left: 7px; }
.coin-hd { top: 7px; right: 7px; }
.coin-bg { bottom: 7px; left: 7px; }
.coin-bd { bottom: 7px; right: 7px; }

.moment-photo { margin: -10.5rem auto 2rem; width: 240px; position: relative; z-index: 2; }
.moment-photo img { width: 240px; height: 240px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 6px var(--profond), 0 0 0 7px var(--accent), 0 18px 34px -14px rgba(0,0,0,.6); }

.moment-etiquette {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font: 600 1rem/1.3 var(--texte); color: var(--accent); letter-spacing: .04em;
  margin: 0 0 .9rem;
}
.moment-etiquette::before,
.moment-etiquette::after { content: ""; width: 48px; height: 1px; background: currentColor; opacity: .7; }
.moment-nom { font-family: var(--affichage); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1.02; margin: 0 0 1.1rem; }
.moment-desc { font-size: 1.15rem; max-width: 44ch; margin: 0 auto 1.8rem; color: rgba(255,255,255,.85); }
.ingredients { list-style: none; padding: 1.3rem 0; margin: 0 auto 2.2rem; max-width: 580px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem 2rem; text-align: left; border-top: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.ingredients li { display: flex; align-items: baseline; gap: .7rem; }
.ingredients li::before { content: ""; flex: none; width: 5px; height: 5px; background: var(--accent); transform: translateY(-.2em) rotate(45deg); }
.ingredients.un-seul { grid-template-columns: 1fr; justify-items: center; }
.moment-pied { display: flex; align-items: center; justify-content: center; gap: 1.6rem; flex-wrap: wrap; }
.moment-prix { font-family: var(--affichage); font-size: 2.1rem; color: var(--accent-clair); }

/* ---------- La carte ---------- */
.carte { background: var(--sombre); color: #fff; padding: 5.5rem 0; }
.carte-tete { text-align: center; max-width: var(--mesure); margin: 0 auto 2.4rem; }
.carte-tete .titre-section { margin-bottom: .6rem; }
.carte-intro { color: rgba(255,255,255,.75); margin: 0; }
.carte-lien { text-align: center; margin: 1.6rem 0 0; }
.carte-lien a { color: var(--accent-clair); font-weight: 600; text-underline-offset: 3px; }

.planche {
  position: relative;
  background: var(--papier); color: var(--encre);
  border-radius: 4px;
  padding: 2.6rem 3.4rem 2.8rem;
  max-width: 1040px; margin: 0 auto;
}
.planche::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--ligne); pointer-events: none; border-radius: 2px; }

.onglets { display: none; }
.js .onglets {
  display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  padding-bottom: 1.8rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--ligne);
  position: relative;
}
.onglets button {
  font: 600 .98rem/1.2 var(--texte); color: var(--encre);
  background: transparent; border: 1px solid #CFC8BF; border-radius: 999px;
  padding: .65rem 1.2rem; min-height: 44px; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s;
}
.onglets button:hover { border-color: var(--primaire); color: var(--primaire); }
.onglets button[aria-selected="true"] { background: var(--primaire); border-color: var(--primaire); color: #fff; }

.rubrique + .rubrique { margin-top: 2.8rem; }
.js .rubrique + .rubrique { margin-top: 0; }
.rubrique-titre {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--primaire); text-align: center; margin-bottom: .4rem;
}
.rubrique-titre::before,
.rubrique-titre::after { content: ""; width: 7px; height: 7px; background: var(--accent); transform: rotate(45deg); flex: none; }
.rubrique-note { text-align: center; color: var(--gris); margin: 0 0 .5rem; }

.mets { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3.5rem; }
.met { padding: 1.05rem 0 1.1rem; border-bottom: 1px solid var(--ligne); }
.mets-photos .met { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 1.1rem; align-items: center; }
.met-photo { display: block; width: 120px; height: 120px; border-radius: 18px; overflow: hidden; background: var(--clair); border: 4px solid var(--papier); box-shadow: 0 0 0 1px var(--ligne), 0 10px 22px -12px rgba(0,0,0,.4); }
.met-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
a.met-photo:hover img { transform: scale(1.06); }
a.met-photo { cursor: zoom-in; }
.met-photo-vide { box-shadow: 0 0 0 1px var(--ligne); background: color-mix(in srgb, var(--clair) 70%, white) center / 46% no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%23C9C1B7' stroke-width='2.4' stroke-linejoin='round'%3E%3Cpath d='M6 12 Q24 2 42 12 L24 44 Z'/%3E%3Ccircle cx='20' cy='17' r='3'/%3E%3Ccircle cx='28' cy='24' r='3'/%3E%3Ccircle cx='22' cy='30' r='2.5'/%3E%3C/svg%3E"); }
.zoom { border: 0; padding: 0; background: transparent; max-width: min(92vw, 900px); max-height: 90vh; overflow: visible; }
.zoom::backdrop { background: rgba(10, 8, 8, .82); }
.zoom img { display: block; max-width: min(92vw, 900px); max-height: 86vh; border-radius: 18px; border: 6px solid #fff; cursor: zoom-out; }
.zoom-fermer { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: #111; font-size: 1.1rem; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.35); }
.met-ligne { display: flex; align-items: baseline; gap: .45rem; flex-wrap: nowrap; }
.met-nom { font-family: var(--affichage); font-size: 1.3rem; line-height: 1.2; }
.met-points { flex: 1; min-width: 1rem; border-bottom: 2px dotted #C9C1B7; transform: translateY(-.28em); }
.met-prix { font-weight: 600; font-size: 1.05rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--primaire); }
.met-desc { margin: .3rem 0 0; color: var(--gris); font-size: .97rem; max-width: 46ch; }
.pastille-met { display: inline-block; flex: none; font: 600 .7rem/1.5 var(--texte); padding: 0 .45rem; border-radius: 4px; transform: translateY(-.15em); }
.pastille-met.vege { background: var(--second); color: #fff; }
.pastille-met.nouveau { background: var(--accent); color: var(--sur-accent); }
.pastille-met.epice { background: color-mix(in srgb, var(--primaire) 12%, white); color: var(--primaire); }
.legende { color: var(--gris); font-size: .92rem; margin: 1.6rem 0 0; text-align: center; }
.carte-image { margin-top: 1.4rem; text-align: center; }
.carte-image img { margin: 0 auto; border-radius: 4px; width: 100%; max-width: 900px; }

/* ---------- Horaires & accès ---------- */
.infos { background: var(--clair); padding: 5rem 0; }
.infos-grille { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.horaires { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.horaires th, .horaires td { text-align: left; padding: .7rem 0; border-bottom: 1px solid #D8D3CB; }
.horaires th { font-weight: 500; }
.horaires td { text-align: right; }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { font-weight: 600; color: var(--primaire); }
.auj { font-size: .8rem; font-weight: 600; background: var(--primaire); color: #fff; border-radius: 4px; padding: .05rem .4rem; margin-left: .4rem; vertical-align: .1em; }
.note { color: var(--gris); margin: 1rem 0 0; }
.adresse { font-style: normal; font-size: 1.35rem; font-family: var(--affichage); line-height: 1.3; margin-bottom: 1rem; }
.contacts { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.contacts li { margin: .3rem 0; }
.contacts a { font-weight: 600; text-underline-offset: 3px; }
.plan { background: var(--papier); border: 1px solid #D8D3CB; border-radius: 6px; padding: 1.4rem; color: var(--gris); }
.plan p { margin: 0 0 1rem; font-size: .95rem; }
.plan-actions { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.plan.plan-charge { padding: 0; overflow: hidden; }
.plan iframe { display: block; width: 100%; height: 320px; border: 0; }

/* ---------- Événements ---------- */
.evenements { background: var(--second); color: #fff; padding: 4.5rem 0; }
.evenements-inner > * { max-width: 760px; }
.evenements h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1rem; }
.evenements p { font-size: 1.15rem; margin: 0 0 1.8rem; max-width: 56ch; color: rgba(255,255,255,.9); }
.evenements .bouton-clair { color: var(--second); }

/* ---------- Pied de page ---------- */
.pied { padding: 2.5rem 0 3rem; background: var(--papier); }
.pied-grille { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.pied-nom { font-family: var(--affichage); font-size: 1.4rem; margin: 0; }
.pied-liens { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; padding: 0; margin: 0; }
.pied-liens a { text-underline-offset: 3px; }
.pied-copy { margin: 0 0 0 auto; color: var(--gris); font-size: .92rem; }

.commande-mobile { display: none; }

/* ---------- Page mentions légales ---------- */
.page-simple { padding: 3.5rem 0 5rem; }
.page-simple .cadre { max-width: 760px; }
.page-simple h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: 2rem; }
.page-simple h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.page-simple p, .page-simple dd { max-width: var(--mesure); }
.page-simple dl { margin: 0; }
.page-simple dt { font-weight: 600; margin-top: .8rem; }
.page-simple dd { margin: 0; color: var(--gris); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grille, .infos-grille { grid-template-columns: 1fr; }
  .mets { grid-template-columns: 1fr; }
  .hero { padding: 2rem 0 3.5rem; }
  .sceaux { --w: 250px; } .sceaux-moyen { --w: 210px; } .sceaux-petit { --w: 160px; }
  .sceaux-n2.sceaux-grand, .sceaux-n3.sceaux-grand { --w: 170px; } .sceaux-n2.sceaux-moyen, .sceaux-n3.sceaux-moyen { --w: 145px; } .sceaux-n2.sceaux-petit, .sceaux-n3.sceaux-petit { --w: 120px; }
  .hero-photo { max-width: 400px; }
  .avec-photo .sceaux { right: 0; }
  .infos-grille { gap: 3rem; }
  .planche { padding: 2rem 1.8rem 2.2rem; }
}
@media (max-width: 720px) {
  .entete-inner { flex-wrap: wrap; gap: .4rem 1rem; padding-top: .7rem; padding-bottom: .5rem; }
  .nav { order: 3; width: 100%; margin: 0; overflow-x: auto; gap: 1.2rem; padding-bottom: .2rem; }
  .nav a { white-space: nowrap; font-size: .95rem; }
  .entete-cta { margin-left: auto; }
  .moment, .carte, .infos { padding: 3.5rem 0; }
  .moment-avec-photo { padding-top: 8.5rem; }
  .moment-carte { padding: 3.2rem 1.6rem 3rem; }
  .moment-photo { width: 190px; margin-top: -8.4rem; }
  .moment-photo img { width: 190px; height: 190px; }
  .moment-etiquette::before, .moment-etiquette::after { width: 28px; }
  .ingredients { grid-template-columns: 1fr; max-width: 320px; }
  .planche { padding: 1.6rem 1.1rem 1.8rem; }
  .planche::before { inset: 6px; }
  .js .onglets { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-left: -.4rem; margin-right: -.4rem; padding: 0 .4rem 1.2rem; scrollbar-width: none; }
  .onglets button { white-space: nowrap; flex: none; }
  .met-nom { font-size: 1.2rem; }
  .mets-photos .met { grid-template-columns: 92px minmax(0, 1fr); gap: .9rem; }
  .met-photo { width: 92px; height: 92px; border-radius: 15px; border-width: 3px; }
  .zoom-fermer { top: 8px; right: 8px; }
  .pied-copy { margin-left: 0; }
  .commande-mobile {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 20;
    min-height: 52px; align-items: center; justify-content: center;
    background: var(--accent); color: var(--sur-accent); font-weight: 600; text-decoration: none;
    border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3);
  }
  body { padding-bottom: 76px; }
}

/* ---------- Présentation du chef ---------- */
.presentation { background: var(--clair); padding: 0 0 5.5rem; }
.moment + .presentation { margin-top: -1.5rem; }
.presentation:first-child, .hero + .presentation { padding-top: 5rem; }
.pres-carte {
  display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 2rem; align-items: center;
  max-width: 1080px; margin: 0 auto; padding: 2rem 2.4rem;
  background: var(--pres-fond); color: var(--pres-texte); border-radius: 24px;
  box-shadow: 0 24px 50px -28px rgba(0,0,0,.55);
}
.pres-carte.pres-avec-sceaux { grid-template-columns: 180px minmax(0, 1fr) auto; }
.pres-photo { width: 180px; height: 180px; border-radius: 50%; padding: 6px; background: var(--pres-cadre); flex: none; }
.pres-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 3px solid var(--pres-fond); }
.pres-etiquette { margin: 0 0 .35rem; font: 700 .82rem/1.3 var(--texte); letter-spacing: .1em; text-transform: uppercase; color: var(--pres-accent); }
.pres-titre { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 0 0 .35rem; color: var(--pres-texte); }
.pres-sous { margin: 0 0 .9rem; font-weight: 600; color: var(--pres-accent); }
.pres-texte { margin: 0 0 .6rem; color: var(--pres-doux); max-width: 68ch; }
.pres-texte:last-child { margin-bottom: 0; }
.pres-sceaux { display: flex; flex-direction: column; gap: .8rem; align-items: center; }
.pres-sceau { width: 128px; color: var(--pres-sceau); }
.pres-sceaux:has(.pres-sceau:nth-child(3)) { display: grid; grid-template-columns: 1fr 1fr; }
.pres-sceaux:has(.pres-sceau:nth-child(3)) .pres-sceau { width: 104px; }
@media (max-width: 900px) {
  .pres-carte, .pres-carte.pres-avec-sceaux { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 2rem 1.4rem; gap: 1.2rem; }
  .pres-texte { margin-left: auto; margin-right: auto; }
  .pres-sceaux, .pres-sceaux:has(.pres-sceau:nth-child(3)) { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pres-sceau, .pres-sceaux:has(.pres-sceau:nth-child(3)) .pres-sceau { width: 94px; }
  .pres-sceaux { gap: .5rem; }
  .pres-photo { width: 150px; height: 150px; }
}

/* ---------- Photo du chef en haut, sceaux dessous ---------- */
.hero-chef { flex-direction: column; }
.chef-photo { display: block; position: relative; z-index: 1; width: 290px; height: 290px; border-radius: 50%; padding: 7px; background: var(--pres-cadre); box-shadow: 0 24px 50px -24px rgba(0,0,0,.6); }
.chef-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; border: 4px solid var(--primaire); }
.hero-chef .sceaux { --w: 150px; margin-top: -42px; gap: .4rem .8rem; }
.hero-chef .sceaux-moyen { --w: 122px; }
.hero-chef .sceaux-petit { --w: 96px; }
.hero-chef .sceaux-n3 { --w: 128px; }
.hero-chef .sceaux-n3.sceaux-moyen { --w: 108px; }
.hero-chef .sceaux-n3.sceaux-petit { --w: 88px; }
.hero-chef .sceau-disque { fill: var(--primaire); }
.hero + .presentation { padding-top: 5rem; }
.presentation + .hero { margin-top: 0; }
main > .presentation:first-child { padding-top: 3rem; }
@media (max-width: 900px) {
  .chef-photo { width: 220px; height: 220px; }
  .hero-chef .sceaux { --w: 116px; margin-top: -34px; }
  .hero-chef .sceaux-moyen { --w: 100px; }
  .hero-chef .sceaux-petit { --w: 84px; }
  .hero-chef .sceaux-n3, .hero-chef .sceaux-n3.sceaux-moyen { --w: 96px; }
}

/* =====================================================================
   Fluidité : tout le site sur un même fond sombre, sans bandes blanches.
   Le haut de page (couleur du thème) se fond dans ce fond continu.
   ===================================================================== */
:root, [class*="theme-"] {
  --encre: #F1ECE6;
  --gris: #B9B1AA;
  --ligne: rgba(255, 255, 255, .12);
  --apres-hero: var(--sombre);
  --surface: color-mix(in srgb, var(--profond) 88%, white 4%);
}
.sans-moment { --apres-hero: var(--sombre); }
body { background: var(--sombre); color: var(--encre); }

/* Haut de page : fondu progressif vers le fond du site */
.hero { background: linear-gradient(180deg, var(--primaire) 0%, var(--primaire) 62%, var(--sombre) 100%); }
.hero.a-scene { background: var(--primaire); }

/* Sections : même fond, plus de coupures */
.moment, .presentation, .carte, .infos { background: transparent; }
.moment { padding: 4.5rem 0; }
.moment-avec-photo { padding-top: 9.5rem; }
.moment-carte { background: var(--surface); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.coin { background: var(--surface); }
.moment-photo img { box-shadow: 0 0 0 6px var(--surface), 0 0 0 7px var(--accent), 0 18px 34px -14px rgba(0,0,0,.6); }
.presentation { padding: 1rem 0 4rem; }
.hero + .presentation { padding-top: 3.5rem; }
.carte { padding: 4.5rem 0; }
.infos { padding: 4.5rem 0; }

/* Liens et accents lisibles sur fond sombre */
.lien { color: var(--accent-clair); }
.bouton-plein { background: var(--accent); color: var(--sur-accent); }
.bouton-plein:hover { background: var(--accent-clair); }

/* La carte : planche sombre, accents dorés */
.planche { background: var(--surface); color: var(--encre); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); }
.planche::before { border-color: rgba(255,255,255,.08); }
.onglets button { color: var(--encre); border-color: rgba(255,255,255,.22); }
.onglets button:hover { border-color: var(--accent); color: var(--accent-clair); }
.onglets button[aria-selected="true"] { background: var(--accent); border-color: var(--accent); color: var(--sur-accent); }
.rubrique-titre { color: var(--accent-clair); }
.met-prix { color: var(--accent-clair); }
.met-points { border-bottom-color: rgba(255,255,255,.22); }
.pastille-met.epice { background: rgba(240, 120, 90, .18); color: #F6B4A2; }
.met-photo { border-color: var(--profond); background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 10px 22px -12px rgba(0,0,0,.6); }
.met-photo-vide { background-color: rgba(255,255,255,.04); }
.carte-image img { border: 1px solid var(--ligne); }

/* Horaires et accès */
.horaires th, .horaires td { border-bottom-color: var(--ligne); }
.horaires tr.aujourdhui th, .horaires tr.aujourdhui td { color: var(--accent-clair); }
.auj { background: var(--accent); color: var(--sur-accent); }
.contacts a { color: var(--encre); }
.plan { background: rgba(255,255,255,.04); border-color: var(--ligne); }

/* Événements : un encadré dans le flux plutôt qu'une bande pleine largeur */
.evenements { background: transparent; padding: 0 0 4.5rem; }
.evenements-inner { background: var(--second); border-radius: 24px; padding: 2.6rem 2.8rem; max-width: 1080px; }
.evenements-inner > * { max-width: 62ch; }

/* Pied de page */
.pied { background: transparent; border-top: 1px solid var(--ligne); }
.pied-copy { color: var(--gris); }

/* Page mentions légales */
.page-simple dd { color: var(--gris); }

@media (max-width: 720px) {
  .moment, .carte, .infos { padding: 3rem 0; }
  .moment-avec-photo { padding-top: 8rem; }
  .evenements { padding-bottom: 3rem; }
  .evenements-inner { padding: 2rem 1.4rem; border-radius: 18px; }
}

/* Titre du haut de page : image facultative, taille et police réglées dans l'admin */
.hero-logo { display: block; max-width: 100%; height: auto; margin: 0 0 1.4rem; }
.hero-titre { line-height: 1.08; }
.hero h1.hero-titre { max-width: 100%; }
.hero h1.titre-une-ligne { white-space: nowrap; overflow: hidden; }
.hero-texte { min-width: 0; }

/* =====================================================================
   Téléphone : tout le contenu centré
   ===================================================================== */
@media (max-width: 720px) {
  .hero-texte { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .hero h1, .hero-sous { margin-left: auto; margin-right: auto; }
  .actions { justify-content: center; }
  .nav { justify-content: safe center; }
  .titre-section, .carte-tete { text-align: center; }
  .infos-grille > div { text-align: center; }
  .horaires th, .horaires td { text-align: left; }
  .horaires td { text-align: right; }
  .contacts { padding: 0; }
  .plan-actions { justify-content: center; }
  .evenements-inner { text-align: center; }
  .evenements-inner > * { margin-left: auto; margin-right: auto; }
  .pied-grille { flex-direction: column; text-align: center; }
  .pied-liens { justify-content: center; }
  .pied-copy { margin: 0; }
  .met-texte, .met { text-align: left; }
}
