/*
Theme Name: Le Cellia
Theme URI: https://le-cellia.com
Author: Le Cellia
Description: Thème bloc sur mesure du Cellia — restaurant, pub et événements à Vincelottes. Entièrement modifiable dans l'éditeur de blocs.
Version: 1.1.2
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: le-cellia
Tags: block-theme, full-site-editing, one-column
*/

/* ==========================================================
   Jetons — palette prélevée sur la photo de référence
   ========================================================== */
:root {
  --nuit: #26160B;
  --tonneau: #41220C;
  --cuivre: #AE6A33;
  --ambre: #D78A39;
  --or: #F0BF8E;
  --lumiere: #FEC679;
  --calcaire: #F6EAD2;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --caps: 'Josefin Sans', 'Helvetica Neue', Arial, sans-serif;
  --craie: 'Kalam', 'Comic Sans MS', cursive;
  --gouttiere: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--nuit);
  color: var(--calcaire);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto : sinon l'attribut height des blocs image l'emporte */
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 500; line-height: 1.05; text-wrap: balance; hyphens: none; }
p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0),
   filet de sécurité ici À SPÉCIFICITÉ NULLE (voir blocs-gutenberg.md). */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks { padding: 0; }

.enveloppe { width: min(1240px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }
.etroit { width: min(1000px, 100% - 2 * var(--gouttiere)); }
.etroit .chapo { max-width: 44rem; margin-inline: auto; }
.centre { text-align: center; }

.surtitre {
  font-family: var(--caps);
  font-size: .78rem;
  font-weight: 400;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--cuivre);
}
.titre { font-size: clamp(2.6rem, 5.2vw, 4.6rem); margin-top: 1.1rem; }
.chapo { font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.55; margin-top: 1.6rem; text-wrap: pretty; }

/* titre lu par Google et les lecteurs d'écran, invisible à l'écran */
.masque {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================
   Boutons — la classe de core/button est posée sur le conteneur
   ========================================================== */
.wp-block-buttons.boutons { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.wp-block-buttons > .wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.15rem 2rem 1rem;
  font-family: var(--caps); font-size: .78rem; font-weight: 600; line-height: 1.6;
  letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--nuit);
  background: var(--lumiere);
  border: 1px solid var(--lumiere);
  border-radius: 0;
  box-shadow: 0 0 28px rgba(254, 198, 121, .35);
  transition: background .25s, color .25s, box-shadow .25s;
}
.wp-block-button .wp-block-button__link:hover { background: var(--or); box-shadow: 0 0 44px rgba(254, 198, 121, .55); }
.wp-block-button.bouton-contour .wp-block-button__link { background: transparent; color: var(--or); border-color: rgba(240, 191, 142, .6); box-shadow: none; }
.wp-block-button.bouton-contour .wp-block-button__link:hover { background: rgba(240, 191, 142, .1); color: var(--lumiere); }
.wp-block-button.bouton-sombre .wp-block-button__link { background: var(--nuit); color: var(--or); border-color: var(--nuit); box-shadow: none; }
.wp-block-button.bouton-sombre .wp-block-button__link:hover { background: var(--tonneau); }
.wp-block-button.bouton-contour-sombre .wp-block-button__link { background: transparent; color: var(--nuit); border-color: var(--nuit); box-shadow: none; }
.wp-block-button.bouton-contour-sombre .wp-block-button__link:hover { background: var(--nuit); color: var(--or); }
.wp-block-button.bouton-petit .wp-block-button__link { padding: .85rem 1.3rem .7rem; font-size: .7rem; }

.lien {
  display: inline-flex; align-items: center; gap: .7em;
  font-family: var(--caps); font-size: .74rem; font-weight: 600;
  letter-spacing: .26em; text-transform: uppercase;
}
.lien::after { content: ""; width: 34px; height: 1px; background: currentColor; transition: width .25s; }
.lien:hover::after { width: 54px; }

/* ==========================================================
   Arches en plein cintre
   ========================================================== */
.wp-block-image.arche { border-radius: 999px 999px 0 0; overflow: hidden; }
.wp-block-image.arche img { width: 100%; height: 100%; object-fit: cover; }
/* nervure : un arc fin décalé autour de chaque photo */
.lieu-cadre, .pub-photo { position: relative; }
.lieu-cadre::before, .pub-photo::before {
  content: ""; position: absolute; inset: -14px -14px 0 -14px;
  border: 1px solid var(--ambre); border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

/* ==========================================================
   En-tête (template part « header »)
   ========================================================== */
.entete {
  /* le bandeau reste en haut de l'écran pendant le défilement */
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  color: var(--or);
  background: rgba(38, 22, 11, .86);
  border-bottom: 1px solid rgba(240, 191, 142, .3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  transition: background .3s, box-shadow .3s;
}
.admin-bar .entete { top: 32px; }
.entete-infos {
  display: flex; justify-content: center; align-items: center; gap: 18px;
  padding: 12px var(--gouttiere);
  font-family: var(--caps); font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(240, 191, 142, .75);
  border-bottom: 1px solid rgba(240, 191, 142, .14);
  max-height: 60px; overflow: hidden;
  transition: max-height .3s, padding .3s, opacity .3s;
}
.entete-infos p { display: flex; align-items: center; gap: 18px; }
.entete-infos p + p::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--lumiere); box-shadow: 0 0 8px var(--lumiere); }
.entete-infos a { color: var(--lumiere); }
.entete-barre {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  width: min(1320px, 100% - 2 * var(--gouttiere)); margin-inline: auto;
  padding: 18px 0;
  transition: padding .3s;
}
.wp-block-navigation.nav { font-family: var(--caps); font-size: .76rem; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; }
.wp-block-navigation.nav,
.wp-block-navigation.nav .wp-block-navigation__container { gap: 34px; }
.wp-block-navigation.nav .wp-block-navigation-item__content { padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s; }
.wp-block-navigation.nav .wp-block-navigation-item__content:hover { color: var(--lumiere); border-color: currentColor; }
.wp-block-navigation.nav-gauche { grid-column: 1; justify-self: start; }
.nav-droite { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 34px; }
/* le logo pend sous le bandeau comme une enseigne, sans couvrir la façade */
.wp-block-site-logo.logo { grid-column: 2; position: relative; width: 140px; height: 44px; }
.wp-block-site-logo.logo a { position: absolute; left: 50%; top: -8px; translate: -50% 0; transition: top .3s; }
.wp-block-site-logo.logo img {
  width: 118px; max-width: none; height: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5));
  transition: width .3s;
}
/* page d'accueil, tout en haut : logo en grand, il reprend sa petite taille dès qu'on défile */
.home .entete:not(.defile) .wp-block-site-logo.logo img { width: 236px; }
.home .entete:not(.defile) .wp-block-site-logo.logo a { top: -10px; }
/* une fois la page défilée : bandeau compact, sans la ligne des horaires */
.entete.defile { background: rgba(38, 22, 11, .95); }
.entete.defile .entete-infos { max-height: 0; padding-block: 0; opacity: 0; border-bottom-color: transparent; }
.entete.defile .entete-barre { padding: 10px 0; }
.entete.defile .wp-block-site-logo.logo img { width: 88px; }
.entete.defile .wp-block-site-logo.logo a { top: -4px; }

/* menu mobile : core/navigation en panneau plein écran */
.wp-block-navigation.nav-mobile { display: none; }
.wp-block-navigation.nav-mobile .wp-block-navigation__responsive-container-open {
  width: 44px; height: 44px; display: grid; place-items: center;
  color: var(--or); border: 1px solid rgba(240, 191, 142, .4);
}
.wp-block-navigation.nav-mobile .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--nuit) !important;
  color: var(--or) !important;
  padding: 100px var(--gouttiere) 40px;
}
.wp-block-navigation.nav-mobile .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
  align-items: center; gap: 22px;
  font-family: var(--caps); font-size: .85rem; letter-spacing: .26em; text-transform: uppercase;
}
.wp-block-navigation.nav-mobile .wp-block-navigation__responsive-container-content { align-items: center !important; }

/* ==========================================================
   Hero
   ========================================================== */
.hero {
  position: relative; overflow: hidden;
  min-height: max(720px, 100svh);
  display: grid; place-items: end center;
  padding: 190px var(--gouttiere) 120px;
  isolation: isolate;
}
.wp-block-image.hero-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.wp-block-image.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
/* raccord court avec la section suivante : la photo reste nette */
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(38, 22, 11, 0) 92%, var(--nuit) 100%); }
.hero::before { content: ""; position: absolute; left: 50%; bottom: 34px; translate: -50% 0; width: 1px; height: 64px; background: linear-gradient(var(--lumiere), transparent); }
.hero-contenu {
  position: relative; max-width: 780px; text-align: center;
  /* panneau net façon enseigne : le texte se lit sans brouiller la photo */
  padding: 36px clamp(24px, 4vw, 56px) 40px;
  background: rgba(38, 22, 11, .72);
  outline: 1px solid rgba(240, 191, 142, .42);
  outline-offset: -10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.hero-signature {
  font-family: var(--caps); font-size: clamp(.85rem, 1.2vw, 1.05rem); font-weight: 400;
  letter-spacing: .42em; text-transform: uppercase; color: var(--or);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 0 16px rgba(38, 22, 11, .95);
}
.hero-texte {
  max-width: 600px; margin: 22px auto 30px;
  font-size: clamp(1.3rem, 1.8vw, 1.55rem); line-height: 1.5;
  font-weight: 600;
  color: var(--calcaire);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 22px rgba(38, 22, 11, .95);
}

/* ==========================================================
   Bienvenue — quatre arches à cheval sur la section suivante
   ========================================================== */
.bienvenue {
  background:
    radial-gradient(ellipse 40% 60% at 50% 0%, rgba(215, 138, 57, .16), transparent 70%),
    var(--calcaire);
  color: var(--nuit);
  padding: 130px 0 0;
}
.bienvenue .titre { color: var(--nuit); }
.lieux {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(24px, 2.8vw, 44px);
  align-items: start;
  margin-top: 90px;
}
/* (0,3,0) : WordPress annule la marge basse du dernier enfant d'un groupe en (0,2,0) */
.wp-block-group.bienvenue > .lieux { margin-bottom: -230px; }
.lieu .wp-block-image.arche { aspect-ratio: 3 / 4.5; box-shadow: 0 30px 60px rgba(38, 22, 11, .35); }
.wp-block-image.photo-salle img { object-position: 48% 50%; }
.wp-block-image.photo-bar img { object-position: 58% 50%; }
.lieu .legende { text-align: center; padding-top: 34px; color: var(--or); }
.numero { font-family: var(--caps); font-size: .74rem; letter-spacing: .3em; color: var(--ambre); line-height: 2rem; }
.lieu h3 { font-size: clamp(1.9rem, 2.6vw, 2.4rem); font-weight: 600; margin-top: 8px; }
.lieu .legende p:not(.numero) { font-size: 1.15rem; color: rgba(246, 234, 210, .75); margin-top: 6px; }

/* ==========================================================
   Événements
   ========================================================== */
.evenements { position: relative; overflow: hidden; padding: 350px 0 150px; background: var(--nuit); }
.evenements::before {
  content: ""; position: absolute; left: 50%; top: 420px; translate: -50% 0;
  width: 1300px; height: 900px; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(215, 138, 57, .32) 0%, rgba(215, 138, 57, .1) 40%, transparent 68%);
  animation: vacille 6s ease-in-out infinite alternate;
}
@keyframes vacille { 0% { opacity: .85; } 40% { opacity: 1; } 70% { opacity: .9; } 100% { opacity: 1; } }
.evenements > * { position: relative; }
.evenements .titre { color: var(--or); }
.evenements .surtitre { color: var(--ambre); }
.wp-block-list.occasions {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 6px 0; padding: 0; list-style: none;
  max-width: 1100px; margin: 56px auto 0;
  font-size: clamp(1.6rem, 2.8vw, 2.5rem); font-weight: 500; line-height: 1.3;
  color: var(--calcaire);
}
.wp-block-list.occasions li { display: inline-flex; align-items: center; }
.wp-block-list.occasions li + li::before {
  content: ""; width: 7px; height: 7px; margin: 0 .85em; border-radius: 50%;
  background: var(--lumiere); box-shadow: 0 0 10px 2px rgba(254, 198, 121, .7);
}
.scene { margin-top: 90px; }
.wp-block-image.scene-photo img { width: 100%; height: clamp(380px, 46vw, 620px); object-fit: cover; }
.enseigne {
  position: relative;
  width: min(640px, 100% - 32px);
  margin: -170px auto 0;
  padding: 56px clamp(28px, 5vw, 64px) 54px;
  text-align: center;
  background: var(--nuit);
  outline: 1px solid rgba(240, 191, 142, .45);
  outline-offset: -12px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
/* le verre du logo, en masque CSS */
.enseigne::before, .info-adresse::before {
  content: ""; display: block; margin: 0 auto;
  width: 30px; height: 55px; background: var(--lumiere);
  -webkit-mask: url("assets/img/verre.svg") center / contain no-repeat;
          mask: url("assets/img/verre.svg") center / contain no-repeat;
}
/* (0,2,1) : WordPress remet à zéro la marge du premier enfant d'un groupe en (0,2,0) */
.wp-block-group.enseigne h3 { font-size: clamp(2rem, 3vw, 2.7rem); font-weight: 600; color: var(--or); margin-top: 14px; }
.enseigne p { margin: 18px 0 32px; color: rgba(246, 234, 210, .85); }

/* ==========================================================
   Cuisine — trois enseignes sur le mur de pierre
   ========================================================== */
.cuisine, .infos {
  background:
    radial-gradient(ellipse 34% 70% at 0% 100%, rgba(215, 138, 57, .22), transparent 70%),
    radial-gradient(ellipse 34% 70% at 100% 100%, rgba(215, 138, 57, .22), transparent 70%),
    var(--calcaire);
}
.cuisine { color: var(--nuit); padding: 140px 0 170px; }
.panneaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 36px); margin-top: 80px; align-items: start; }
.panneau {
  display: flex; flex-direction: column;
  background: var(--nuit); color: var(--calcaire);
  box-shadow: 0 24px 50px rgba(65, 34, 12, .25);
  transition: translate .3s, box-shadow .3s;
}
.panneau:hover { translate: 0 -6px; box-shadow: 0 34px 60px rgba(65, 34, 12, .32); }
.panneau-central { margin-top: 56px; }
.panneau .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panneau-corps { position: relative; padding: 38px 34px 40px; text-align: center; }
.panneau-corps::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(240, 191, 142, .3); border-top: 0; pointer-events: none; }
.panneau .surtitre { color: var(--ambre); }
.panneau h3 { font-size: clamp(2rem, 2.6vw, 2.5rem); font-weight: 600; color: var(--or); margin-top: 10px; }
.panneau-corps p:not(.surtitre) { margin-top: 14px; font-size: 1.15rem; color: rgba(246, 234, 210, .8); }
.panneau-corps p.lien { margin-top: 26px; font-size: .74rem; color: var(--lumiere); }

/* ==========================================================
   Pub — l'ardoise
   ========================================================== */
.pub { position: relative; overflow: hidden; background: var(--nuit); padding: 140px 0 150px; }
/* la guirlande lumineuse, en fond CSS */
.pub::before, .pied::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px;
  background: url("assets/img/guirlande.svg") center top / auto 70px repeat-x;
  filter: drop-shadow(0 0 5px rgba(254, 198, 121, .9)) drop-shadow(0 0 14px rgba(254, 198, 121, .45));
  pointer-events: none;
}
.pub-scene { display: grid; grid-template-columns: 1fr minmax(280px, 400px) 1fr; align-items: center; }
.pub-photo { aspect-ratio: 3 / 4.2; }
.pub-photo .wp-block-image.arche { height: 100%; }
.pub-photo-g { margin-right: -40px; translate: 0 50px; }
.pub-photo-d { margin-left: -40px; translate: 0 -40px; }
/* le personnage est petit sur un grand fond noir : on resserre le cadre, en sépia chaud */
.wp-block-image.photo-degustation img {
  transform: scale(1.5); transform-origin: 50% 48%;
  filter: sepia(.75) saturate(1.35) brightness(1.03);
}
.ardoise {
  position: relative; z-index: 2;
  padding: 54px 30px 40px;
  text-align: center;
  background: #1E140D radial-gradient(ellipse at 40% 30%, rgba(255, 255, 255, .06), transparent 70%);
  border: 10px solid var(--tonneau);
  box-shadow: 0 0 0 1px rgba(240, 191, 142, .25), 0 40px 80px rgba(0, 0, 0, .6), 0 0 120px rgba(254, 198, 121, .18);
}
.ardoise p {
  font-family: var(--craie); font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1.3;
  color: #F4EAD8; text-shadow: 0 0 2px rgba(244, 234, 216, .4);
}
.ardoise p.ardoise-coeur { font-size: 2.6rem; line-height: 1; margin-top: 16px; }
.pub-texte { margin-top: 110px; }
.pub .titre { color: var(--or); }
.pub .surtitre { color: var(--ambre); }
.pub .chapo { color: rgba(246, 234, 210, .85); }

/* ==========================================================
   Infos pratiques
   ========================================================== */
.infos { color: var(--nuit); padding: 140px 0 130px; }
.infos-grille {
  display: grid; grid-template-columns: 1fr 1.25fr 1fr; align-items: stretch;
  margin-top: 70px;
  border-top: 1px solid rgba(38, 22, 11, .18); border-bottom: 1px solid rgba(38, 22, 11, .18);
}
.info { padding: 56px 36px; text-align: center; }
.info + .info { border-left: 1px solid rgba(38, 22, 11, .18); }
.info h3 { font-family: var(--caps); font-size: .78rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--cuivre); margin-bottom: 26px; }
.info-terme { font-size: 1.6rem; font-weight: 600; line-height: 1.1; }
.info-detail { font-size: 1.2rem; margin-top: 28px; margin-bottom: 22px; }
.info-detail:last-child { margin-bottom: 0; }
.info-detail a { border-bottom: 1px solid rgba(174, 106, 51, .45); }
.info-adresse { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--nuit); color: var(--or); margin-block: -1px; }
.info-adresse::before { width: 26px; height: 48px; }
/* même respiration que l'icône en ligne de la maquette (une marge fusionnerait avec celle du titre) */
.enseigne::before { height: 65px; -webkit-mask-position: top; mask-position: top; }
.adresse { font-size: clamp(2rem, 2.8vw, 2.6rem); font-weight: 600; line-height: 1.15; margin: 18px 0 26px; }
.info-adresse .lien { color: var(--lumiere); }
.infos .wp-block-buttons.boutons { margin-top: 64px; }

/* ==========================================================
   Pied de page (template part « footer »)
   ========================================================== */
.pied { position: relative; background: var(--nuit); color: var(--or); padding: 110px 0 50px; border-top: 1px solid rgba(240, 191, 142, .12); }
.wp-block-site-logo.pied-logo { display: flex; justify-content: center; }
.wp-block-site-logo.pied-logo img { width: 210px; max-width: none; }
.pied-signature { font-family: var(--caps); font-size: .72rem; letter-spacing: .4em; text-transform: uppercase; color: var(--calcaire); margin-top: 14px; }
/* core/navigation recopie sa classe sur la liste <ul> : la marge ne vise que le <nav> */
nav.pied-nav { margin-top: 50px; }
.wp-block-navigation.pied-nav { justify-content: center; font-family: var(--caps); font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; }
.wp-block-navigation.pied-nav .wp-block-navigation__container { justify-content: center; gap: 10px 34px; }
.wp-block-navigation.pied-nav .wp-block-navigation-item__content:hover { color: var(--lumiere); }
.pied-coord { margin-top: 36px; font-size: 1.15rem; color: rgba(246, 234, 210, .8); }
.wp-block-social-links.pied-reseaux { display: flex; justify-content: center; gap: 14px; margin-top: 28px; padding: 0; }
.wp-block-social-links.pied-reseaux .wp-social-link {
  margin: 0; border-radius: 0; background: transparent; color: var(--or);
  border: 1px solid rgba(240, 191, 142, .35); transition: background .2s, color .2s;
}
.wp-block-social-links.pied-reseaux .wp-social-link a { padding: 11px; }
.wp-block-social-links.pied-reseaux .wp-social-link svg { width: 20px; height: 20px; fill: currentColor; }
.wp-block-social-links.pied-reseaux .wp-social-link:hover { background: var(--lumiere); color: var(--nuit); transform: none; }
.pied-legal { margin-top: 44px; padding-top: 26px; border-top: 1px solid rgba(240, 191, 142, .12); font-family: var(--caps); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(240, 191, 142, .55); }

/* ==========================================================
   Pages intérieures — en-tête de page, sommaire, cartes
   (mêmes classes sur la maquette et dans les blocs WordPress)
   ========================================================== */
.page-entete {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 640px;
  display: grid; place-items: end center;
  padding: 210px var(--gouttiere) 90px;
}
.wp-block-image.page-entete-photo { position: absolute; inset: 0; z-index: -2; margin: 0; }
.wp-block-image.page-entete-photo img { width: 100%; height: 100%; object-fit: cover; }
.page-entete::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(38, 22, 11, .2) 0%, rgba(38, 22, 11, 0) 45%, rgba(38, 22, 11, .35) 80%, var(--nuit) 100%); }
.page-entete-contenu {
  position: relative; max-width: 760px; text-align: center;
  padding: 34px clamp(24px, 4vw, 56px) 38px;
  background: rgba(38, 22, 11, .72);
  outline: 1px solid rgba(240, 191, 142, .42); outline-offset: -10px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.page-entete-contenu .surtitre { color: var(--or); }
.page-entete-contenu .titre { color: var(--or); font-size: clamp(3rem, 6vw, 5.2rem); margin-top: .7rem; }
.page-entete-contenu .chapo { color: var(--calcaire); margin-top: 1rem; }

.sommaire {
  background: var(--nuit); color: var(--or); text-align: center;
  padding: 20px var(--gouttiere);
  border-block: 1px solid rgba(240, 191, 142, .18);
  font-family: var(--caps); font-size: .76rem; letter-spacing: .26em; text-transform: uppercase;
}
.sommaire a { display: inline-block; margin: 6px 18px; padding-bottom: 3px; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.sommaire a:hover { color: var(--lumiere); border-color: currentColor; }

.carte-section { position: relative; padding: 120px 0; }
.carte-section.claire {
  background:
    radial-gradient(ellipse 34% 50% at 0% 100%, rgba(215, 138, 57, .18), transparent 70%),
    radial-gradient(ellipse 34% 50% at 100% 0%, rgba(215, 138, 57, .14), transparent 70%),
    var(--calcaire);
  color: var(--nuit);
}
.carte-section.sombre { background: var(--nuit); color: var(--calcaire); }
.carte-section.sombre .titre { color: var(--or); }
.carte-section.sombre .surtitre { color: var(--ambre); }
.carte-section.claire + .carte-section.claire { padding-top: 0; }

/* une ligne de carte : nom … pointillés … prix, description dessous */
.wp-block-group.plats { width: min(880px, 100% - 2 * var(--gouttiere)); margin: 64px auto 0; display: grid; gap: 30px; }
.wp-block-group.plat { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-auto-flow: row dense; column-gap: 22px; align-items: baseline; }
.plat-nom { grid-column: 1; display: flex; align-items: baseline; gap: 14px; font-size: 1.55rem; font-weight: 600; line-height: 1.25; }
.plat-nom::after { content: ""; flex: 1; min-width: 24px; border-bottom: 1px dotted currentColor; opacity: .4; }
.plat-prix { grid-column: 2; text-align: right; white-space: nowrap; font-size: 1.4rem; font-weight: 600; line-height: 1.3; color: var(--cuivre); }
.claire .plat-prix, .claire .vin-prix { color: var(--tonneau); }
.sombre .plat-prix { color: var(--lumiere); }
.wp-block-group.plat .plat-desc { grid-column: 1; margin-top: 4px; font-size: 1.12rem; line-height: 1.45; opacity: .75; }
.wp-block-group.plat.sans-prix { grid-template-columns: minmax(0, 1fr); }
.plat.sans-prix .plat-nom::after { content: none; }

/* burgers : deux colonnes de prix, 125 g et 250 g */
.wp-block-group.plats.deux-prix .plat,
.wp-block-group.plats-entete { grid-template-columns: minmax(0, 1fr) 96px 96px; column-gap: 22px; }
.plats.deux-prix .plat-prix { grid-column: auto; }
.wp-block-group.plats-entete {
  display: grid; padding-bottom: 12px; border-bottom: 1px solid rgba(240, 191, 142, .25);
  font-family: var(--caps); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ambre);
}
.plats-entete p + p { text-align: right; }

.note-craie { font-family: var(--craie); font-size: 1.45rem; line-height: 1.3; color: var(--cuivre); text-align: center; margin: 6px 0 -8px; }
.sombre .note-craie { color: var(--or); }
.wp-block-group.carte-intro { width: min(760px, 100% - 2 * var(--gouttiere)); margin: 34px auto 0; font-size: 1.2rem; line-height: 1.55; color: rgba(246, 234, 210, .88); }
.carte-intro p + p { margin-top: 12px; }
.carte-intro strong { color: var(--or); font-weight: 600; }
.carte-intro .note-craie { margin-top: 22px; }
/* (0,3,1) : WordPress annule la marge basse du dernier enfant d'un groupe */
.wp-block-group.carte-intro > p.note-craie:last-child { margin-bottom: -8px; }

.wp-block-group.carte-colonnes { width: min(1100px, 100% - 2 * var(--gouttiere)); margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 80px; align-items: start; }
.carte-colonne { display: grid; gap: 28px; }
.carte-sous-titre {
  font-family: var(--caps); font-size: .82rem; font-weight: 600; letter-spacing: .34em; text-transform: uppercase;
  color: var(--cuivre); text-align: center;
  padding-bottom: 14px; border-bottom: 1px solid rgba(174, 106, 51, .3);
}
.sombre .carte-sous-titre { color: var(--ambre); border-color: rgba(240, 191, 142, .25); }

/* glaces */
.wp-block-group.parfums-colonnes { width: min(880px, 100% - 2 * var(--gouttiere)); margin: 64px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 60px; align-items: start; }
.wp-block-list.parfums {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 0; padding: 0; list-style: none;
  font-size: 1.45rem; line-height: 1.4; color: var(--calcaire);
}
.wp-block-list.parfums li { display: inline-flex; align-items: center; }
.wp-block-list.parfums li + li::before { content: ""; width: 5px; height: 5px; margin: 0 .6em; border-radius: 50%; background: var(--lumiere); box-shadow: 0 0 8px 1px rgba(254, 198, 121, .6); }
.wp-block-heading.coupes-titre { width: min(880px, 100% - 2 * var(--gouttiere)); margin: 90px auto 0; }
.wp-block-group.coupes { width: min(1000px, 100% - 2 * var(--gouttiere)); margin: 46px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 70px; align-items: start; }
.coupe-groupe {
  display: grid; gap: 22px; padding: 34px 34px 38px; text-align: center;
  outline: 1px solid rgba(240, 191, 142, .3); outline-offset: -10px;
  background: rgba(65, 34, 12, .35);
}
.coupe-prix { font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--lumiere); }
.coupe-groupe .plat-nom { justify-content: center; font-size: 1.4rem; }

/* fin de page */
.carte-fin { background: var(--nuit); padding: 110px 0 120px; border-top: 1px solid rgba(240, 191, 142, .12); }
.carte-fin .titre { color: var(--or); }
.carte-fin .surtitre { color: var(--ambre); }
.carte-fin .wp-block-buttons.boutons { margin-top: 44px; }

/* carte des vins */
.wp-block-group.region { width: min(980px, 100% - 2 * var(--gouttiere)); margin: 64px auto 0; display: grid; gap: 14px; }
.wp-block-group.region .carte-sous-titre { text-align: left; margin-bottom: 8px; }
.wp-block-group.vin { display: grid; grid-template-columns: 92px auto minmax(0, 1fr) 64px; column-gap: 18px; align-items: baseline; }
.vin-annee { font-family: var(--caps); font-size: .76rem; letter-spacing: .1em; color: var(--cuivre); }
.sombre .vin-annee { color: var(--ambre); }
.vin-nom { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }
/* les pointillés relient le nom au domaine (le nom peut contenir 1<sup>er</sup> et <em>Bio</em>) */
.vin-nom em {
  display: inline-block; margin-left: 10px; vertical-align: 3px; font-style: normal; font-family: var(--caps); font-size: .6rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ambre); border: 1px solid currentColor; padding: 4px 6px 2px; line-height: 1;
}
.vin-nom sup { font-size: .6em; line-height: 0; }
.vin-domaine { display: flex; align-items: baseline; justify-content: flex-end; gap: 12px; font-size: 1.1rem; text-align: right; opacity: .78; }
.vin-domaine::before { content: ""; flex: 1; min-width: 20px; border-bottom: 1px dotted currentColor; opacity: .5; }
.vin-prix { text-align: right; white-space: nowrap; font-size: 1.3rem; font-weight: 600; color: var(--cuivre); }
.sombre .vin-prix { color: var(--lumiere); }

/* Pages simples (404, archives) : réserve la place du bandeau fixe */
.page-simple { padding: 200px 0 140px; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1080px) {
  .wp-block-navigation.nav,
  .wp-block-navigation.nav .wp-block-navigation__container,
  .nav-droite { gap: 22px; }
  .wp-block-navigation.nav { font-size: .7rem; }
}

@media (max-width: 900px) {
  :root { --gouttiere: 20px; }
  .entete-infos { display: none; }
  .entete-barre { padding: 16px 0; }
  .wp-block-navigation.nav-gauche, .nav-droite { display: none; }
  .wp-block-navigation.nav-mobile { display: flex; grid-column: 3; justify-self: end; }
  .wp-block-site-logo.logo { width: 96px; height: 40px; }
  .wp-block-site-logo.logo img { width: 84px; }
  .wp-block-site-logo.logo a { top: -4px; }
  .entete.defile .wp-block-site-logo.logo img { width: 70px; }
  .entete.defile .wp-block-site-logo.logo a { top: -2px; }
  .home .entete:not(.defile) .wp-block-site-logo.logo img { width: 168px; }
  .home .entete:not(.defile) .wp-block-site-logo.logo a { top: -6px; }

  .hero { padding: 130px var(--gouttiere) 120px; min-height: 100svh; }
  .wp-block-image.hero-photo img { object-position: 64% 50%; }
  .hero-contenu { padding: 28px 18px 30px; width: 100%; }

  .lieux { grid-template-columns: 1fr 1fr; gap: 44px 22px; margin-top: 70px; width: min(560px, 100% - 2 * var(--gouttiere) - 16px); }
  .wp-block-group.bienvenue > .lieux { margin-bottom: -150px; }
  .lieu-cadre::before, .pub-photo::before { inset: -8px -8px 0 -8px; }
  .lieu .legende { padding-top: 18px; }
  .lieu h3 { font-size: 1.55rem; }
  .lieu .legende p:not(.numero) { font-size: 1rem; line-height: 1.35; }
  .lieu:nth-child(-n+2) .legende { color: var(--nuit); }
  .lieu:nth-child(-n+2) .legende p:not(.numero) { color: rgba(38, 22, 11, .7); }
  .lieu:nth-child(-n+2) .numero { color: var(--cuivre); }
  .evenements { padding-top: 230px; }

  .panneaux { grid-template-columns: 1fr; max-width: 480px; }
  .panneau-central { margin-top: 0; }

  .pub-scene { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .ardoise { grid-column: 1 / -1; grid-row: 1; margin: 0 auto; width: min(360px, 100%); }
  .pub-photo-g, .pub-photo-d { margin: -40px 0 0; translate: none; }
  .pub-photo-d { margin-top: 30px; }

  .infos-grille { grid-template-columns: 1fr; }
  .info + .info { border-left: 0; border-top: 1px solid rgba(38, 22, 11, .18); }
  .info-adresse { margin: 0; padding: 50px 24px; }

  /* pages intérieures */
  .page-entete { min-height: 560px; padding: 140px var(--gouttiere) 70px; }
  .page-entete-contenu { padding: 26px 18px 28px; width: 100%; }
  .sommaire a { margin: 6px 10px; }
  .carte-section { padding: 90px 0; }
  .plat-nom { font-size: 1.3rem; gap: 10px; }
  .plat-prix { font-size: 1.2rem; }
  .wp-block-group.plat { column-gap: 12px; }
  .wp-block-group.plats.deux-prix .plat,
  .wp-block-group.plats-entete { grid-template-columns: minmax(0, 1fr) 72px 72px; column-gap: 10px; }
  .wp-block-group.carte-colonnes, .wp-block-group.parfums-colonnes, .wp-block-group.coupes { grid-template-columns: 1fr; }
  .wp-block-group.vin { grid-template-columns: 56px minmax(0, 1fr) auto; column-gap: 10px; row-gap: 2px; }
  .wp-block-group.vin .vin-domaine { grid-column: 2; grid-row: 2; justify-content: flex-start; text-align: left; font-size: 1rem; }
  .wp-block-group.vin .vin-prix { grid-column: 3; grid-row: 1; }
  .vin-annee { font-size: .66rem; letter-spacing: .04em; }
  .vin-nom { font-size: 1.15rem; }
  .vin-domaine::before { display: none; }
}

@media (max-width: 480px) {
  .hero-signature { letter-spacing: .16em; font-size: .72rem; }
  .wp-block-buttons.boutons { flex-direction: column; align-items: stretch; }
  .wp-block-buttons.boutons .wp-block-button__link { width: 100%; }
  .wp-block-list.occasions li + li::before { margin: 0 .55em; }
  .wp-block-site-logo.pied-logo img { width: 170px; }
}

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