/* =====================================================================
   Ô Puits — feuille de style du site public
   Palette : lie-de-vin (l'auvent), pierre (les murs de la salle),
   blanc nappe, vert du parc Saint-Pierre.
   ===================================================================== */

:root {
  --vin: #5c1631;
  --vin-fonce: #3f0d22;
  --vin-pale: #f4e9ed;
  --pierre: #e9e6e0;
  --pierre-fonce: #d8d2cb;
  --nappe: #ffffff;
  --encre: #2a1d22;
  --gris: #6b5f63;
  --parc: #46553f;
  --erreur: #a3261b;

  --f-titre: "Young Serif", Georgia, "Times New Roman", serif;
  --f-texte: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --largeur: 72rem;
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --espace-section: clamp(4rem, 9vw, 7.5rem);
  --rayon: 6px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--f-texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--encre);
  background: var(--nappe);
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--f-titre);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--vin-fonce);
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5.5vw, 3.75rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.375rem); }
h3 { font-size: 1.375rem; }
p { margin: 0 0 1em; }

a { color: var(--vin); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--vin-fonce); text-decoration-thickness: 2px; }

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

.masque, .piege {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.evitement {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  background: var(--vin); color: #fff; padding: .6rem 1rem; border-radius: var(--rayon);
}
.evitement:focus { top: 1rem; }

.enveloppe { width: 100%; max-width: var(--largeur); margin-inline: auto; padding-inline: var(--gouttiere); }
.enveloppe--texte { max-width: 46rem; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .7rem 1.4rem;
  font: 600 1rem/1.2 var(--f-texte);
  color: var(--vin); background: transparent;
  border: 1.5px solid var(--vin); border-radius: 999px;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s;
}
.bouton:hover { background: var(--vin-pale); color: var(--vin-fonce); text-decoration: none; }
.bouton--plein { background: var(--vin); color: #fff; }
.bouton--plein:hover { background: var(--vin-fonce); border-color: var(--vin-fonce); color: #fff; }
.bouton--clair { border-color: #fff; color: #fff; }
.bouton--clair:hover { background: #fff; color: var(--vin); }

.lien-fleche { font-weight: 600; }

/* ---------- En-tête ---------- */
.entete {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--pierre-fonce);
}
.entete__in {
  max-width: 80rem; margin-inline: auto; padding: .75rem var(--gouttiere);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.marque { display: flex; flex-direction: column; text-decoration: none; color: var(--vin-fonce); line-height: 1; }
.marque:hover { color: var(--vin); }
.marque__nom { font-family: var(--f-titre); font-size: 1.75rem; }
.marque__sous { font-size: .8125rem; color: var(--gris); margin-top: .3rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav ul { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav ul a {
  color: var(--encre); text-decoration: none; font-weight: 500; padding: .35rem 0;
  border-bottom: 2px solid transparent;
}
.nav ul a:hover { color: var(--vin); border-bottom-color: var(--pierre-fonce); }
.nav ul a[aria-current="page"] { color: var(--vin); border-bottom-color: var(--vin); }
.nav__resa { min-height: 2.6rem; padding: .5rem 1.15rem; }

.nav-bouton {
  display: none; align-items: center; gap: .6rem;
  background: none; border: 1.5px solid var(--pierre-fonce); border-radius: 999px;
  padding: .55rem 1rem; font: 600 .95rem var(--f-texte); color: var(--encre); cursor: pointer;
}
.nav-bouton__barres, .nav-bouton__barres::before, .nav-bouton__barres::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.nav-bouton__barres::before, .nav-bouton__barres::after { content: ""; position: absolute; left: 0; }
.nav-bouton__barres::before { top: -6px; }
.nav-bouton__barres::after { top: 6px; }

@media (max-width: 960px) {
  .nav-bouton { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    background: #fff; border-bottom: 1px solid var(--pierre-fonce);
    padding: 1rem var(--gouttiere) 1.5rem;
    box-shadow: 0 18px 30px -20px rgba(63, 13, 34, .35);
  }
  .nav.nav--ouverte { display: flex; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a { display: block; padding: .85rem 0; border-bottom: 1px solid var(--pierre); font-size: 1.125rem; }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--pierre); box-shadow: inset 3px 0 0 var(--vin); padding-left: .85rem; }
  .nav__resa { min-height: 3rem; }
}

/* ---------- Accueil : hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 6rem); overflow: hidden; }
.hero__grille {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center; gap: clamp(2rem, 5vw, 4.5rem);
}
.hero__lieu { font-size: 1.0625rem; color: var(--gris); margin-bottom: 1.25rem; }
.hero__titre {
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: 1; letter-spacing: -.035em;
  color: var(--vin);
  margin: 0 0 2rem; margin-left: -.04em;
}
.hero__accroche { font-size: clamp(1.125rem, 1.6vw, 1.3rem); line-height: 1.55; max-width: 32rem; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero__horaires {
  font-size: .975rem; color: var(--gris);
  padding-left: 1rem; border-left: 3px solid var(--parc); margin: 0;
}

/* Le « puits » : la photo vue comme l'ouverture ronde d'un puits, cerclée de sa margelle */
.hero__visuel { display: flex; justify-content: center; }
.puits {
  position: relative; width: min(100%, 34rem); aspect-ratio: 1;
}
.puits::before {
  content: ""; position: absolute; inset: -1.1rem;
  border: 1.5px solid var(--vin); border-radius: 50%;
  opacity: .55;
}
.puits::after {
  content: ""; position: absolute; inset: -2.4rem;
  border: 1px solid var(--pierre-fonce); border-radius: 50%;
}
.puits img {
  position: relative; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  border-radius: 50%;
}
@media (prefers-reduced-motion: no-preference) {
  .puits::before { animation: margelle 1.4s cubic-bezier(.2, .7, .2, 1) both .2s; }
  .puits img { animation: ouverture 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes ouverture { from { clip-path: circle(8% at 50% 50%); } to { clip-path: circle(50% at 50% 50%); } }
  @keyframes margelle { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: .55; } }
}

@media (max-width: 820px) {
  .hero__grille { grid-template-columns: 1fr; }
  .hero__visuel { order: -1; }
  .puits { width: min(78vw, 24rem); }
  .hero__titre { margin-bottom: 1.25rem; }
}

/* ---------- Accueil : bienvenue ---------- */
.bienvenue { padding-block: var(--espace-section); background: var(--pierre); }
.bienvenue__grille { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.bienvenue__photos { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.bienvenue__photos img { border-radius: var(--rayon); aspect-ratio: 4 / 5; object-fit: cover; }
.bienvenue__photos img:last-child { margin-top: 3rem; }
@media (max-width: 820px) { .bienvenue__grille { grid-template-columns: 1fr; } }

/* ---------- Accueil : teaser carte ---------- */
.teaser-carte { background: var(--vin); color: #f6eef1; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.teaser-carte h2 { color: #fff; }
.teaser-carte__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.teaser-carte p { max-width: 32rem; font-size: 1.125rem; }
.teaser-carte__liens { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.teaser-carte__liens li { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.teaser-carte__liens a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1rem .25rem; color: #fff; text-decoration: none;
  font-family: var(--f-titre); font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}
.teaser-carte__liens a::after { content: ""; width: .6rem; height: .6rem; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); opacity: .7; }
.teaser-carte__liens a:hover { background: rgba(255, 255, 255, .07); }
.teaser-carte :focus-visible { outline-color: #fff; }
@media (max-width: 820px) { .teaser-carte__grille { grid-template-columns: 1fr; } }

/* ---------- Accueil : chef ---------- */
.chef { padding-block: var(--espace-section); }
.chef__grille { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; max-width: 60rem; }
.chef__photo { border-radius: 999px 999px var(--rayon) var(--rayon); width: 100%; object-fit: cover; }
@media (max-width: 720px) { .chef__grille { grid-template-columns: 1fr; } .chef__photo { max-width: 16rem; } }

/* ---------- Avis ---------- */
.avis { padding-block: var(--espace-section); background: var(--pierre); }
.avis__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; }
.avis__item { margin: 0; }
.avis__item blockquote { margin: 0 0 1rem; }
.avis__item blockquote p { font-family: var(--f-titre); font-size: 1.2rem; line-height: 1.5; color: var(--vin-fonce); }
.avis__item blockquote p::before { content: "« "; }
.avis__item blockquote p::after { content: " »"; }
.avis__item figcaption { color: var(--gris); font-weight: 600; }

/* ---------- Chèques cadeaux ---------- */
.cadeau { padding-block: var(--espace-section); }
.cadeau__grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.cadeau__grille img { border-radius: var(--rayon); }
@media (max-width: 720px) { .cadeau__grille { grid-template-columns: 1fr; } }

/* ---------- Infos pratiques + plan ---------- */
.infos { padding-block: var(--espace-section); border-top: 1px solid var(--pierre-fonce); }
.infos__grille { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.infos__liste { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin: 1.5rem 0 2rem; }
.infos__liste dt { font-weight: 600; color: var(--vin); margin-bottom: .2rem; }
.infos__liste dd { margin: 0; }
.infos__large { grid-column: 1 / -1; }
.infos__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 820px) { .infos__grille { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .infos__liste { grid-template-columns: 1fr; } }

.plan { position: relative; border-radius: var(--rayon); overflow: hidden; aspect-ratio: 4 / 3; background: var(--pierre); }
.plan img { width: 100%; height: 100%; object-fit: cover; }
.plan__voile {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start;
  padding: 1.5rem; color: #fff;
  background: linear-gradient(to top, rgba(43, 8, 22, .85), rgba(43, 8, 22, .1) 65%);
}
.plan__voile p { margin: 0 0 .75rem; font-weight: 600; }
.plan__voile .plan__note { font-weight: 400; font-size: .85rem; opacity: .85; margin: .75rem 0 0; }
.plan iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Pages intérieures ---------- */
.bandeau { background: var(--pierre); padding-block: clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem); }
.bandeau h1 { margin-bottom: .35em; }
.bandeau__intro { font-size: 1.1875rem; max-width: 40rem; color: var(--encre); margin: 0; }

.recits { padding-block: var(--espace-section); display: grid; gap: var(--espace-section); }
.recit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.recit__photo { border-radius: var(--rayon); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.recit--inverse .recit__photo { order: 2; }
.recit:first-child .recit__photo { border-radius: 999px 999px var(--rayon) var(--rayon); aspect-ratio: 300 / 425; max-width: 300px; justify-self: center; }
@media (max-width: 820px) {
  .recit { grid-template-columns: 1fr; }
  .recit--inverse .recit__photo { order: 0; }
}

.galerie { padding-bottom: var(--espace-section); }
.galerie__grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.galerie__grille img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
@media (max-width: 640px) { .galerie__grille { grid-template-columns: repeat(2, 1fr); } }

.equipe { padding-block: var(--espace-section); }
.equipe__grille { display: grid; grid-template-columns: repeat(2, minmax(0, 17rem)) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.membre { margin: 0; }
.membre img { border-radius: 999px 999px var(--rayon) var(--rayon); width: 100%; }
.membre figcaption { margin-top: 1rem; display: flex; flex-direction: column; }
.membre__nom { font-family: var(--f-titre); font-size: 1.375rem; color: var(--vin-fonce); }
.membre__role { color: var(--gris); }
.equipe__texte { padding-left: clamp(0rem, 2vw, 1.5rem); }
@media (max-width: 960px) { .equipe__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); } .equipe__texte { grid-column: 1 / -1; padding: 0; } }

/* ---------- La carte ---------- */
.carte { padding-block: clamp(2.5rem, 5vw, 4rem) var(--espace-section); }
.onglets {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem;
  position: sticky; top: 4.6rem; z-index: 5; background: #fff; padding-block: .75rem;
  border-bottom: 1px solid var(--pierre-fonce);
}
.onglets button {
  font: 600 1rem var(--f-texte); color: var(--encre);
  background: var(--pierre); border: 1.5px solid transparent; border-radius: 999px;
  padding: .6rem 1.15rem; cursor: pointer; min-height: 2.75rem;
}
.onglets button:hover { border-color: var(--vin); }
.onglets button[aria-selected="true"] { background: var(--vin); color: #fff; }
.js .panneau[hidden] { display: none; }
.panneau { max-width: 52rem; }
.panneau + .panneau { margin-top: 4rem; }
.js .panneau + .panneau { margin-top: 0; }
.panneau:focus-visible { outline-offset: 8px; }
.js .panneau__titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.panneau__bloc + .panneau__bloc { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--pierre-fonce); }
.carte__note {
  margin-top: 4rem; max-width: 52rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--pierre); border-radius: var(--rayon);
}
.carte__note h2 { font-size: 1.6rem; }
.vide { font-size: 1.125rem; }

/* ---------- Formulaires ---------- */
.resa { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 20rem); gap: clamp(2rem, 6vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4rem) var(--espace-section); align-items: start; }
@media (max-width: 900px) { .resa { grid-template-columns: 1fr; } }

.formulaire__groupe { border: 0; padding: 0; margin: 0 0 2.25rem; }
.formulaire__groupe legend { font-family: var(--f-titre); font-size: 1.5rem; color: var(--vin-fonce); margin-bottom: 1rem; padding: 0; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem 1.5rem; }
.champs--3 { grid-template-columns: 1.2fr 1fr 1fr; }
.champ--large { grid-column: 1 / -1; }
@media (max-width: 640px) { .champs, .champs--3 { grid-template-columns: 1fr; } }
.champ label { display: block; font-weight: 600; margin-bottom: .4rem; }
.facultatif { font-weight: 400; color: var(--gris); }
.champ input, .champ select, .champ textarea {
  width: 100%; min-height: 3rem; padding: .7rem .9rem;
  font: inherit; color: var(--encre); background: #fff;
  border: 1.5px solid #b9b0ab; border-radius: var(--rayon);
}
.champ textarea { resize: vertical; min-height: 6rem; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--vin); outline: 3px solid var(--vin-pale); outline-offset: 0; }
.champ [aria-invalid="true"] { border-color: var(--erreur); }
.champ__aide { font-size: .925rem; color: var(--gris); margin: .4rem 0 0; }
.champ__aide.alerte { color: var(--erreur); font-weight: 600; }
.champ__erreur { color: var(--erreur); font-size: .95rem; font-weight: 600; margin: .4rem 0 0; }
.g-recaptcha { margin-bottom: 1.5rem; }
.formulaire button[type="submit"] { min-width: 14rem; }

.message { padding: 1.5rem 1.75rem; border-radius: var(--rayon); background: var(--pierre); margin-bottom: 2rem; border-left: 4px solid var(--vin); }
.message h2 { font-size: 1.6rem; }
.message p:last-child { margin-bottom: 0; }
.message--ok { border-left-color: var(--parc); background: #eef1ea; }
.message--erreur { border-left-color: var(--erreur); background: #fbeeec; }

.encart { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--pierre-fonce); }
.encart:last-child { border-bottom: 0; }
.encart h2 { font-size: 1.35rem; margin-bottom: .5rem; }
.liste-simple { margin: 0; padding-left: 1.1rem; }
.liste-simple li { margin-bottom: .35rem; }

.texte-long { padding-block: clamp(2.5rem, 5vw, 4rem) var(--espace-section); }
.texte-long h2 { font-size: 1.6rem; margin-top: 2.5rem; }

/* ---------- Pied de page ---------- */
.pied { background: var(--vin-fonce); color: #eadde2; padding-top: clamp(3.5rem, 7vw, 5rem); font-size: .975rem; }
.pied a { color: #fff; }
.pied :focus-visible { outline-color: #fff; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.pied__nom { font-family: var(--f-titre); font-size: 2.25rem; color: #fff; margin-bottom: .5rem; line-height: 1; }
.pied__titre { font-family: var(--f-texte); font-weight: 600; font-size: 1rem; color: #fff; margin-bottom: .6rem; }
.pied__paiement { color: #cdbac2; font-size: .9rem; }
.pied__bas { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; color: #cdbac2; }
.pied__bas p { margin: 0; display: flex; gap: 1.5rem; }
.pied__bas a { color: #cdbac2; }
@media (max-width: 900px) { .pied__grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pied__grille { grid-template-columns: 1fr; } }

/* =====================================================================
   Contenus saisis avec CKEditor (.cms)
   Les anciennes pages contiennent des tailles, polices et couleurs « en dur ».
   On les harmonise avec le site sans toucher à la base de données.
   ===================================================================== */
.cms { max-width: 40rem; }
.cms > *:first-child { margin-top: 0; }
.cms > *:last-child { margin-bottom: 0; }
.cms + p { margin-top: 1.5rem; }
.cms h1, .cms h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 1.5em 0 .5em; }
.cms h3 { font-size: 1.35rem; margin: 1.4em 0 .5em; }
.cms h1:first-child, .cms h2:first-child, .cms h3:first-child { margin-top: 0; }
.cms ul, .cms ol { padding-left: 1.25rem; margin: 0 0 1em; }
.cms li { margin-bottom: .3em; }
.cms img { max-width: 100% !important; height: auto !important; border-radius: var(--rayon); }
.cms table { border-collapse: collapse; width: 100%; max-width: 100%; margin-bottom: 1em; }
.cms td, .cms th { padding: .45rem .6rem; border-bottom: 1px solid var(--pierre-fonce); vertical-align: top; }
.cms hr { border: 0; border-top: 1px solid var(--pierre-fonce); margin: 2rem 0; }
.cms blockquote { margin: 1.5rem 0; padding-left: 1.25rem; border-left: 3px solid var(--vin); font-family: var(--f-titre); font-size: 1.2rem; color: var(--vin-fonce); }

/* Harmonisation des anciens styles en ligne */
.cms [style*="font-family"] { font-family: inherit !important; }
.cms span[style*="font-size"], .cms font[size] { font-size: inherit !important; }
.cms h1 strong, .cms h2 strong { font-weight: inherit; }
.cms h1 u, .cms h2 u { text-decoration: none; }
.cms [style*="color:#FF0000"], .cms [style*="color: #FF0000"], .cms [style*="color:#ff0000"],
.cms [style*="color:#A52A2A"], .cms [style*="color: rgb(255, 0, 0)"] { color: var(--vin) !important; }
.cms [style*="color:#000000"] { color: inherit !important; }

/* Le titre « Le Restaurant Ô Puits » saisi en tête du texte d'accueil */
.cms--accueil > p:first-child { font-family: var(--f-titre); font-size: clamp(1.75rem, 3vw, 2.375rem); line-height: 1.15; color: var(--vin-fonce); margin-bottom: .8em; }
.cms--accueil > p:first-child * { color: inherit !important; text-decoration: none; font-weight: 400; }

/* Les menus scannés (images) occupent toute la largeur du panneau */
.cms--carte { max-width: none; }
.cms--carte img { margin-inline: auto; box-shadow: 0 1px 0 var(--pierre-fonce), 0 20px 40px -28px rgba(63, 13, 34, .45); }
.cms__zoom { display: block; cursor: zoom-in; }
/* Images alignées à gauche/droite dans l'éditeur : sur la carte on les empile, centrées */
.cms--carte img, .cms--carte .cms__zoom { float: none !important; margin: 0 auto 1.5rem !important; display: block; }
.cms--carte img { width: auto !important; }
/* Un texte ne doit jamais déborder sur le bloc suivant */
.cms::after { content: ""; display: block; clear: both; }
.cms--carte p[style*="text-align:center"] { margin-bottom: .35em; }

.cms--neutre h1, .cms--neutre h2 { font-family: var(--f-texte); font-size: 1.0625rem; font-weight: 600; color: var(--encre); margin: 0 0 1em; line-height: 1.6; }
.cms--neutre [style*="text-align:center"] { text-align: left !important; }

@media print {
  .entete, .pied, .onglets, .plan, .nav-bouton { display: none !important; }
  .js .panneau[hidden] { display: block !important; }
}
