/*
Theme Name: Gigi Wine Tour
Theme URI: https://www.gigiwinetour.com
Author: Gigi Wine Tour
Description: Thème bloc sur mesure, converti depuis la maquette validée (méthode Claude-To-WordPress).
Version: 1.0.2
Requires at least: 6.6
Requires PHP: 7.4
License: Propriétaire
Text Domain: gigi-wine-tour
*/

/* ==========================================================
   Gigi Wine Tour — maquette v2
   Registre : Levant (structure, géométrie, découpe)
   + charte GIGI (couleurs, lettrage) + retours client du 25/09
   ========================================================== */

/* polices hébergées avec le site : aucune requête vers Google (voir la politique de confidentialité) */
@font-face { font-family: 'Bagel Fat One'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/bagel-fat-one-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Bagel Fat One'; font-style: normal; font-weight: 400; font-display: swap; src: url('assets/fonts/bagel-fat-one-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/instrument-sans-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Instrument Sans'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('assets/fonts/instrument-sans-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }


:root {
  --bordeaux: #751630;
  --bordeaux-fonce: #5e1126;
  --rose: #E77E8D;
  --creme: #FEF9EB;
  --encre: #171717;
  --blanc: #FFFFFF;

  --ronde: "Bagel Fat One", "Arial Rounded MT Bold", system-ui, sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --r-photo: 20px;
  --r-ui: 11px;
  --r-pilule: 16px;

  --gouttiere: 48px;
  --espace: 96px;   /* espace entre deux sections */
  --pause: 140px;   /* air autour des bandeaux WINE et TOUR, qui servent de pauses */
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--creme);
  color: var(--encre);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3, p:where(:not(.x-enrobe)), blockquote, ul { margin: 0; }
ul { padding: 0; list-style: none; }
.insecable { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.enveloppe { width: min(1344px, 100% - 2 * var(--gouttiere)); margin-inline: auto; }

/* ---------- Typo commune : la ronde du logo pour tous les titres ---------- */
.titre-section, .titre-carte, .hero-titre, .experience-titre, .groupes-titre,
.app-titre, .article-titre, .pied-titre, .bandeau-mot {
  font-family: var(--ronde);
  font-weight: 400;
  hyphens: none;
  text-wrap: balance;
}
.titre-section {
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bordeaux);
}
.titre-carte {
  font-size: clamp(28px, 2.5vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.005em;
  color: var(--bordeaux);
}
.texte-carte, .entete-texte { font-size: 15.5px; line-height: 1.45; max-width: 44ch; }
.entete-colonne { display: grid; justify-items: start; gap: 16px; margin-bottom: 44px; }
.entete-colonne .entete-texte { max-width: 60ch; font-size: 16px; }
.entete-colonne .lien-souligne { margin-top: 2px; }
.lien-texte { color: var(--bordeaux); font-weight: 600; text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 3px; }
.lien-texte:hover { text-decoration-color: var(--bordeaux); }

.surtitre {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bordeaux);
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.surtitre i { width: 7px; height: 7px; border-radius: 50%; background: var(--rose); display: inline-block; }
.surtitre-creme { color: var(--creme); }

.point {
  display: inline-block;
  width: 0.2em; height: 0.2em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--rose);
  vertical-align: baseline;
}

/* ---------- Boutons, liens ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--r-ui);
  font: 500 15.5px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.bouton-large { width: 100%; }
.bouton-bordeaux { background: var(--bordeaux); color: var(--creme); box-shadow: inset 0 0 0 1.5px var(--bordeaux); }
.bouton-bordeaux:hover, .bouton-bordeaux:focus-visible { background: var(--creme); color: var(--bordeaux); }
.bouton-creme { background: var(--creme); color: var(--bordeaux); }
.bouton-creme:hover { background: var(--blanc); }

.lien-souligne {
  font-size: 15.5px; font-weight: 500;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: var(--rose);
}
.lien-souligne:hover { color: var(--bordeaux); }

.photo { position: relative; isolation: isolate; border-radius: var(--r-photo); overflow: hidden; background: #e9dfcc; }
.photo img { width: 100%; height: 100%; object-fit: cover; }

.photo-lien { display: block; width: 100%; color: inherit; text-decoration: none; border-radius: var(--r-photo); }
.photo-lien.photo img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.photo-lien.photo::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(117, 22, 48, 0);
  transition: background-color .4s ease;
}
.wp-element-caption:where(.wp-block-image > *) {
  position: absolute; z-index: 1; left: 16px; bottom: 16px;
  padding: 11px 16px; border-radius: 999px;
  background: rgba(254, 249, 235, 0.9);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  color: var(--bordeaux); font: 500 14.5px/1 var(--sans);
  opacity: 0; transform: translateY(10px);
  transition: opacity .35s ease, transform .35s ease;
}
.photo-lien.photo:hover img, .photo-lien.photo:focus-visible img { transform: scale(1.07); }
.photo-lien.photo:hover::after, .photo-lien.photo:focus-visible::after { background: rgba(117, 22, 48, 0.2); }
.photo-lien.photo:hover-badge, .photo-lien.photo:focus-visible-badge { opacity: 1; transform: none; }
.photo-lien:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
@media (hover: none) {
  .wp-element-caption:where(.wp-block-image > *) { opacity: 1; transform: none; }
}

/* ==========================================================
   BARRE COLLANTE — apparaît une fois l'en-tête dépassé
   ========================================================== */
.barre {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: center;
  pointer-events: none;
  transform: translateY(-140%);
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.barre-visible .barre { transform: none; visibility: visible; transition: transform .35s ease; }
.barre-pilule {
  pointer-events: auto;
  width: min(1344px, 100% - 2 * var(--gouttiere));
  display: flex; align-items: center; gap: 18px;
  padding: 8px 8px 8px 20px;
  border-radius: 18px;
  background: rgba(254, 249, 235, 0.78);
  border: 1px solid rgba(117, 22, 48, 0.12);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 10px 30px -18px rgba(117, 22, 48, 0.45);
}
.barre-logo { display: flex; align-items: center; gap: 12px; flex: none; text-decoration: none; }
.barre-logo img { width: 68px; height: auto; }
.barre-logo span {
  font-size: 12px; font-weight: 650; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bordeaux); white-space: nowrap; padding-top: 3px;
}
.barre-nav { display: flex; gap: 2px; margin: 0 auto; }
.barre-nav a {
  padding: 10px 14px; border-radius: 11px;
  font-size: 15px; font-weight: 450; text-decoration: none;
  transition: background-color .2s;
}
.barre-nav a:hover { background: var(--blanc); }
.barre-cta { min-height: 44px; padding: 0 20px; font-size: 15px; }
.barre-menu { display: none; }

/* ==========================================================
   HÉRO — pan crème | photo, bord à bord
   ========================================================== */
.hero {
  display: grid;
  grid-template-columns: 36% 1fr;
  min-height: 720px;
}
.hero-panneau {
  background: var(--creme);
  color: var(--encre);
  padding: 22px 46px 34px;
  display: flex; flex-direction: column;
}
.hero-logo { width: 272px; display: block; margin-left: -4px; }
.hero-logo img { width: 100%; height: auto; }

.hero-titre {
  margin-top: auto;
  padding-top: 16px;
  font-size: clamp(46px, 4.3vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.012em;
  color: var(--bordeaux);
  text-wrap: nowrap;
}
.hero-titre span { display: block; }
.hero-titre .decale { padding-left: 1.5em; }

.hero-intro {
  margin-top: 14px;
  font-size: 15.5px; line-height: 1.5;
  max-width: 42ch;
}

.choix { margin-top: auto; padding-top: 18px; display: grid; gap: 12px; }
.choix-groupe { display: grid; gap: 8px; }
.choix-label { font-size: 12px; font-weight: 650; letter-spacing: 0.28em; text-transform: uppercase; color: var(--bordeaux); }
.choix-puces { display: flex; flex-wrap: wrap; gap: 6px; }
.choix .bouton { margin-top: 4px; }
.puce-choix {
  padding: 9px 11px;
  border: 1px solid var(--bordeaux); border-radius: 999px;
  background: transparent; color: var(--bordeaux);
  font: 500 14px/1 var(--sans);
  cursor: pointer;
  transition: background-color .2s, color .2s;
}
.puce-choix:hover { background: rgba(117, 22, 48, 0.08); }
.puce-choix[aria-pressed="true"] { background: var(--bordeaux); color: var(--creme); }

/* accueil : taille d'en-tête validée, titre un cran sous le logo */
.hero:not(.hero-page) { min-height: 640px; }   /* même hauteur que les en-têtes des pages intérieures */
.hero:not(.hero-page) .hero-panneau { padding: 22px 46px 30px; }
.hero:not(.hero-page) .hero-logo { width: 240px; }
.hero:not(.hero-page) .hero-titre { padding-top: 14px; font-size: clamp(32px, 2.95vw, 42px); }
.hero:not(.hero-page) .hero-titre .decale { padding-left: 1.4em; }
.hero:not(.hero-page) .hero-intro { margin-top: 14px; }
.hero:not(.hero-page) .choix { padding-top: 18px; gap: 12px; }
.hero:not(.hero-page) .choix-groupe { gap: 8px; }
.hero:not(.hero-page) .puce-choix { padding: 8px 11px; }
.hero:not(.hero-page) .choix .bouton { min-height: 46px; margin-top: 2px; }

/* photo + couches de verre */
.hero-photo { position: relative; overflow: hidden; }
.hero-photo > .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }

.nav-pilule {
  position: absolute; top: 44px; left: 44px;
  display: flex; gap: 2px;
  padding: 6px;
  border-radius: var(--r-pilule);
  background: rgba(240, 244, 247, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav-pilule a {
  padding: 11px 14px;
  border-radius: 11px;
  font-size: 15.5px; font-weight: 450;
  text-decoration: none; color: var(--encre);
  transition: background-color .2s;
}
.nav-pilule a:hover, .nav-pilule a.actif { background: var(--blanc); }

/* sous-menu « Wine tours » : s'ouvre au survol ou au clavier */
.nav-groupe { position: relative; display: flex; }
.nav-groupe > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 0 3px 7px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg);
}
.sous-menu {
  position: absolute; top: 100%; left: 0; z-index: 5;
  min-width: 210px; padding: 8px; margin-top: 8px;
  display: grid; gap: 2px;
  background: rgba(254, 249, 235, 0.97);
  border: 1px solid rgba(117, 22, 48, 0.12); border-radius: 14px;
  box-shadow: 0 16px 34px -18px rgba(40, 8, 18, 0.45);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.sous-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-groupe:hover .sous-menu, .nav-groupe:focus-within .sous-menu {
  opacity: 1; visibility: visible; transform: none; transition: opacity .2s ease, transform .2s ease;
}
.sous-menu a {
  display: block; padding: 10px 14px; border-radius: 10px;
  font-size: 15px; font-weight: 450; color: var(--encre); text-decoration: none; white-space: nowrap;
}
.sous-menu a:hover, .sous-menu a[aria-current="page"] { background: var(--blanc); color: var(--bordeaux); }
.barre-nav .nav-groupe > a { padding: 10px 14px; border-radius: 11px; font-size: 15px; font-weight: 450; text-decoration: none; }
.barre-nav .nav-groupe > a:hover { background: var(--blanc); }
.nav-bouton { display: none; }

.carte-verre {
  position: absolute; top: 50%; right: 40px;
  transform: translateY(-50%);
  width: 238px;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(240, 244, 247, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.carte-verre-titre { font-size: 15px; font-weight: 500; }
.carte-verre-form { margin-top: 12px; display: grid; gap: 9px; }
.carte-verre .bouton { min-height: 42px; font-size: 14.5px; }
.saisie {
  width: 100%; height: 42px;
  padding: 0 14px;
  border: 0; border-radius: var(--r-ui);
  background: var(--blanc);
  font: 400 14.5px/1 var(--sans); color: var(--encre);
}
.saisie::placeholder { color: #9a9a9a; }
.accord { display: block; font-size: 12.5px; line-height: 1.35; margin: 2px 0 4px; white-space: nowrap; }
.accord input { width: 15px; height: 15px; margin: 0 6px 0 0; vertical-align: -3px; accent-color: var(--encre); }
.accord a { text-underline-offset: 2px; }

/* ==========================================================
   VIDÉO — rectangle arrondi, séparé de l'en-tête
   ========================================================== */
.experience { padding-top: 56px; }
.experience-cadre {
  position: relative;
  height: min(540px, 40vw);
  min-height: 400px;
  border-radius: var(--r-photo);
  overflow: hidden;
  background: #2b2a24;
  color: var(--creme);
}
.video-fond { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.experience-cadre::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(40, 8, 18, 0.46), rgba(40, 8, 18, 0.14) 72%);
  pointer-events: none;
}
.experience-texte {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 32px;
}
.experience-titre {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  column-gap: 0.32em; row-gap: 0.08em;
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1;
}
.experience-logo { height: 1.3em; width: auto; margin: -0.12em 0.02em 0; }
.lien-video {
  margin-top: 30px;
  font-size: 13px; font-weight: 650; letter-spacing: 0.28em; text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 6px; border-bottom: 1px solid var(--rose);
}
.video-pause {
  position: absolute; z-index: 2; right: 22px; bottom: 20px;
  padding: 10px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(240, 244, 247, 0.28);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: var(--blanc); font: 500 13.5px/1 var(--sans); cursor: pointer;
}

/* ==========================================================
   PROMESSE
   ========================================================== */
.promesse { padding: var(--espace) 0 calc(var(--espace) - 8px); }
.promesse-texte {
  margin-top: 28px;
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 26ch;
  text-wrap: balance;
}
.promesse-faits {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px;
}
.promesse-faits li { border-top: 1px solid rgba(23, 23, 23, 0.9); padding-top: 18px; display: grid; gap: 8px; }
.promesse-faits strong { font-size: 17px; font-weight: 600; }
.promesse-faits span { font-size: 15.5px; line-height: 1.45; max-width: 34ch; color: #3b3b3b; }

/* ==========================================================
   TROIS EXPÉRIENCES — quinconce : hélico | tour privé | séjour
   ========================================================== */
.experiences { padding-bottom: var(--espace); }
.entete-section {
  display: flex; align-items: end; justify-content: space-between; gap: 40px;
  margin-bottom: 48px;
}
.grille-exp {
  display: grid;
  grid-template-columns: 29fr 40fr 29fr;
  gap: 34px;
  align-items: start;
}
.exp { display: grid; justify-items: start; }
.exp .titre-carte { margin-top: 28px; }
.exp .texte-carte { margin-top: 16px; }
.exp .bouton { margin-top: 28px; }
.exp-photo-gauche { aspect-ratio: 478 / 662; width: 100%; }
.exp-photo-milieu { aspect-ratio: 642 / 900; width: 100%; }
.exp-droite .titre-carte { margin-top: 0; }
.exp-photo-droite { aspect-ratio: 452 / 400; width: 100%; margin-top: 44px; }

/* ==========================================================
   BANDEAUX « WINE » et « TOUR » — lettrage géant rogné sur les bords
   ========================================================== */
.bandeau {
  position: relative;
  height: 12vw;
  margin: calc(var(--pause) - var(--espace)) 0 var(--pause);
  overflow: hidden;
}
.exclusif + .bandeau { margin-top: var(--pause); }
#exclusif + .bandeau { margin-top: var(--espace); }   /* accueil : même écart au-dessus et au-dessous du bandeau exclusif */
.bandeau-mot {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  font-size: 39.5vw;
  line-height: 0.8;
  letter-spacing: 0.03em;
  color: var(--bordeaux);
  white-space: nowrap;
}
.bandeau-mot span { display: block; }
.bandeau-trou { position: relative; margin-right: 0.1em; }
.bandeau-verre {
  position: absolute;
  right: -0.105em; top: 47%;
  width: 0.095em; height: auto;
  transform: translateY(-50%) rotate(-22deg);
}
.bandeau-tour .bandeau-verre { transform: translateY(-50%) rotate(20deg); }

/* ==========================================================
   APPELLATIONS — 4 colonnes serrées
   ========================================================== */
.appellations { padding-bottom: var(--espace); }
.entete-large .titre-section { max-width: none; }
.titre-logo span { display: block; }
.titre-logo-fin img { display: inline-block; height: 1.14em; width: auto; vertical-align: -0.13em; margin: 0 0.04em; }
.entete-large .entete-texte { max-width: 42ch; padding-bottom: 6px; }
.grille-app { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.app-photo { aspect-ratio: 5 / 7; }
.app-suite { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; }
.app-combo { margin: 0; }
.app-titre { margin-top: 20px; font-size: 27px; line-height: 1.05; color: var(--bordeaux); }
.app-texte { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #3b3b3b; max-width: 30ch; }
.puces { margin-top: 16px; display: flex; gap: 8px; }
.puce-reserver {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 9px;
  border: 1px solid var(--bordeaux); color: var(--bordeaux);
  font-size: 13.5px; font-weight: 500; line-height: 1; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.puce-reserver::after { content: "→"; }
.appellations .app { display: flex; flex-direction: column; }
.appellations .app .puces { margin-top: auto; padding-top: 16px; }
.puce-reserver:hover, .puce-reserver:focus-visible { background: var(--bordeaux); color: var(--creme); }

.carte-bloc {
  margin-top: 56px;
  display: grid; grid-template-columns: 1fr 440px; gap: 48px; align-items: center;
  background: var(--blanc);
  border-radius: var(--r-photo);
  padding: 28px 28px 28px 44px;
}
.carte-texte { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; align-items: end; }
.carte-texte .surtitre { grid-column: 1; }
.carte-texte .titre-carte { grid-column: 1; margin-top: 14px; max-width: 13ch; font-size: clamp(24px, 2vw, 30px); }
.carte-texte .texte-carte { grid-column: 1; }
.carte-liste { grid-column: 2; grid-row: 1 / span 3; align-self: center; width: 100%; }
.carte-liste li {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0; border-bottom: 1px solid rgba(117, 22, 48, 0.2);
  font-size: 15.5px;
}
.carte-liste li:first-child { border-top: 1px solid rgba(117, 22, 48, 0.2); }
.carte-liste strong { font-weight: 600; }
.carte-liste span { font-size: 13px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); }
.carte-texte .texte-carte { margin-top: 16px; max-width: 36ch; font-size: 15px; }
.carte-image {
  justify-self: end; width: 100%;
  background: var(--creme);
  border-radius: 16px; overflow: hidden;
}
.carte-image img { width: 100%; height: auto; }

/* pages régions : encart carte compact */
.carte-mini {
  display: grid; grid-template-columns: 1fr 280px; gap: 48px; align-items: center;
  background: var(--blanc); border-radius: var(--r-photo);
  padding: 22px 22px 22px 44px;
  max-width: 900px; margin-inline: auto;
}
.carte-mini > * { min-width: 0; }
.carte-mini-texte { display: grid; justify-items: start; gap: 14px; }
.carte-mini-texte .titre-carte { max-width: 18ch; }
.carte-mini-texte .texte-carte { max-width: 44ch; }
.carte-mini-image { background: var(--creme); border-radius: 14px; overflow: hidden; }
.carte-mini-image img { width: 100%; height: auto; }
.puces span {
  padding: 8px 12px; border-radius: 9px;
  border: 1px solid var(--bordeaux); color: var(--bordeaux);
  font-size: 13.5px; font-weight: 500; line-height: 1;
}

/* ==========================================================
   SURVOL — vidéo aérienne, titre en escalier, médaillon qui déborde
   ========================================================== */
.survol { position: relative; margin-bottom: calc(var(--pause) + 60px); }
.survol-cadre {
  position: relative;
  min-height: clamp(460px, 38vw, 540px);
  border-radius: var(--r-photo);
  overflow: hidden;
  background: #2b2a24;
  color: var(--creme);
  padding: 44px 56px 48px;
  display: grid; grid-template-rows: auto 1fr auto; grid-template-columns: minmax(0, 1fr);
}
.survol-cadre::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(40, 8, 18, 0.42) 0%, rgba(40, 8, 18, 0.06) 40%, rgba(40, 8, 18, 0.62) 100%),
    linear-gradient(90deg, rgba(40, 8, 18, 0.38) 0%, rgba(40, 8, 18, 0) 48%);
  pointer-events: none;
}
.survol-titre {
  position: relative; z-index: 1;
  font-family: var(--ronde); font-weight: 400;
  font-size: clamp(50px, 6.2vw, 92px);
  line-height: 0.92; letter-spacing: -0.01em;
}
.survol-titre span { display: block; }
.survol-titre .decale { padding-left: 1.4em; }
.survol-corps {
  position: relative; z-index: 1;
  grid-row: 3;
  max-width: 400px;
  display: grid; gap: 26px; justify-items: start;
}
.survol-corps p:where(:not(.x-enrobe)) { font-size: 16px; line-height: 1.5; text-shadow: 0 1px 14px rgba(40, 8, 18, 0.7), 0 0 2px rgba(40, 8, 18, 0.5); }
.survol-medaillon {
  position: absolute; z-index: 2;
  right: 56px; bottom: -110px;
  width: clamp(220px, 27%, 380px);
  aspect-ratio: 4 / 3;
  box-shadow: 0 40px 70px -34px rgba(40, 8, 18, 0.55);
}
.survol-medaillon img { object-position: 50% 60%; }
.survol .video-pause { top: 22px; bottom: auto; }
.survol-sans-medaillon { margin-bottom: var(--espace); }
.survol-sombre .survol-cadre::after {
  background:
    linear-gradient(180deg, rgba(40, 8, 18, 0.35) 0%, rgba(40, 8, 18, 0.1) 45%, rgba(40, 8, 18, 0.6) 100%),
    linear-gradient(90deg, rgba(40, 8, 18, 0.62) 0%, rgba(40, 8, 18, 0.28) 38%, rgba(40, 8, 18, 0) 62%);
}

/* ==========================================================
   GROUPES — pan bordeaux
   ========================================================== */
.groupes {
  display: grid; grid-template-columns: 1fr 36%;
  min-height: 680px;
}
/* accueil : bandeau « Exclusive wine tours », symétrique (clocher | texte | bouteille) */
.bandeau-exclusif {
  display: grid; grid-template-columns: 27% minmax(0, 1fr) 27%; align-items: stretch;
  min-height: 440px; overflow: hidden;
  background: var(--bordeaux); color: var(--creme); border-radius: var(--r-photo);
}
.bandeau-exclusif-photo { position: relative; margin: 0; min-height: 100%; }
.bandeau-exclusif-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.bandeau-exclusif-texte { display: grid; justify-items: center; align-content: center; gap: 14px; padding: 44px 48px; text-align: center; }
.bandeau-exclusif-texte .surtitre { justify-content: center; }
.bandeau-exclusif-accroche { font-size: clamp(18px, 1.5vw, 21px); font-weight: 600; letter-spacing: -0.01em; color: var(--rose); margin-bottom: -4px; }
.bandeau-exclusif-titre { font-family: var(--ronde); font-weight: 400; font-size: clamp(32px, 3.1vw, 46px); line-height: 1; letter-spacing: -0.01em; max-width: 14ch; text-wrap: balance; }
.bandeau-exclusif-texte > p:where(:not(.x-enrobe)):not(.surtitre):not(.bandeau-exclusif-accroche) { font-size: 15px; line-height: 1.55; max-width: 50ch; color: rgba(254, 249, 235, 0.88); }
.bandeau-exclusif .bouton { margin-top: 8px; }
.groupes-photo { position: relative; overflow: hidden; }
.groupes-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.groupes-photo.photo-lien { border-radius: 0; width: auto; }
.groupes-photo.photo-lien img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.groupes-photo.photo-lien::after { content: ""; position: absolute; inset: 0; background: rgba(117, 22, 48, 0); transition: background-color .4s ease; }
.groupes-photo.photo-lien:hover img, .groupes-photo.photo-lien:focus-visible img { transform: scale(1.05); }
.groupes-photo.photo-lien:hover::after, .groupes-photo.photo-lien:focus-visible::after { background: rgba(117, 22, 48, 0.2); }
.groupes-photo.photo-lien.photo:hover-badge, .groupes-photo.photo-lien.photo:focus-visible-badge { opacity: 1; transform: none; }
.groupes-photo .wp-element-caption:where(.wp-block-image > *) { left: 24px; bottom: 24px; }
.groupes-panneau {
  background: var(--bordeaux); color: var(--creme);
  padding: 64px 46px 50px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.groupes-titre {
  margin-top: auto;
  font-size: clamp(38px, 3.8vw, 56px);
  line-height: 0.95; letter-spacing: -0.01em;
}
.groupes-texte { margin-top: 26px; font-size: 15.5px; line-height: 1.5; color: rgba(254, 249, 235, 0.86); max-width: 38ch; }
.groupes-infos { margin-top: 22px; display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase; }
.groupes-infos i { width: 6px; height: 6px; border-radius: 50%; background: var(--rose); }
.groupes-panneau .bouton { margin-top: 38px; }
.groupes-panneau .liste-points { margin-top: 22px; }
.groupes-panneau .liste-points li { color: rgba(254, 249, 235, 0.9); font-size: 15px; }
.exclusif { margin-bottom: var(--espace); scroll-margin-top: 80px; }

/* ==========================================================
   FONDATEUR
   ========================================================== */
.fondateur {
  padding: var(--espace) 0;
  display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center;
}
.fondateur-photo { aspect-ratio: 4 / 5; }
.fondateur-photo img { object-position: 50% 30%; }
.citation {
  margin-top: 26px;
  font-family: var(--sans);
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.signature { margin-top: 30px; font-size: 15.5px; display: grid; gap: 2px; color: #3b3b3b; }
.signature strong { color: var(--encre); font-weight: 600; }
.fondateur-bio { margin-top: 26px; font-size: 15.5px; line-height: 1.5; max-width: 52ch; }
.fondateur .lien-souligne { display: inline-block; margin-top: 24px; }

/* ==========================================================
   ALLOCATIONS
   ========================================================== */
.allocations {
  display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch;
  padding-bottom: var(--espace);
}
.allocations-texte {
  background: var(--blanc);
  border-radius: var(--r-photo);
  padding: 48px;
  display: flex; flex-direction: column; align-items: flex-start;
}
.allocations-texte .titre-section { margin-top: auto; padding-top: 60px; }
.allocations-texte .entete-texte { margin-top: 20px; }
.allocations-texte .bouton { margin-top: 32px; }
.allocations-photo { aspect-ratio: 5 / 4; width: 100%; }
.allocations > * { min-width: 0; }

/* ==========================================================
   AVIS
   ========================================================== */
.avis { padding-bottom: var(--espace); }
.grille-avis { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.avis-item { border-top: 1px solid var(--encre); padding-top: 24px; display: grid; align-content: space-between; gap: 28px; }
.avis-item blockquote { font-size: 20px; font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; }
.avis-item figcaption { font-size: 14.5px; color: #3b3b3b; display: grid; gap: 2px; }
.avis-item figcaption strong { color: var(--encre); font-weight: 600; }

/* ==========================================================
   JOURNAL
   ========================================================== */
.journal { padding-bottom: var(--espace); }
.grille-journal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.article-photo { aspect-ratio: 4 / 3; }
.article-meta { margin-top: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bordeaux); }
.article-titre { margin-top: 10px; font-size: 24px; line-height: 1.1; color: var(--encre); }

/* ==========================================================
   PIED — avec le lettrage GIGI géant rogné en bas
   ========================================================== */
.pied { background: var(--bordeaux); color: var(--creme); padding: 110px 0 0; overflow: hidden; }
.pied-appel { display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-bottom: 90px; border-bottom: 1px solid rgba(254, 249, 235, 0.3); }
.pied-titre { font-size: clamp(40px, 4.6vw, 68px); line-height: 0.98; letter-spacing: -0.01em; max-width: 15ch; }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 34px; padding: 56px 0 60px; }
.pied-accroche { font-size: 17px; line-height: 1.45; max-width: 26ch; color: rgba(254, 249, 235, 0.9); }
.pied-col { display: grid; align-content: start; gap: 10px; font-size: 15.5px; }
.pied-col a { text-decoration: none; }
.pied-col a:hover { text-decoration: underline; text-decoration-color: var(--rose); text-underline-offset: 4px; }
.pied-col p:where(:not(.x-enrobe)) { line-height: 1.5; color: rgba(254, 249, 235, 0.86); }
.pied-label { font-size: 12px; font-weight: 650; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rose) !important; margin-bottom: 6px; }
.pied-legal { font-size: 13px; color: rgba(254, 249, 235, 0.6); }
.pied-legal a { color: inherit; text-underline-offset: 3px; }
.pied-legal a:hover { color: var(--creme); }
.pied-geant {
  width: min(1344px, 100% - 2 * var(--gouttiere));
  margin: 64px auto 0;
  aspect-ratio: 1006 / 470;
  overflow: hidden;
}
.pied-geant img { width: 100%; height: auto; }

.menu-mobile { display: none; }

/* ==========================================================
   PAGES INTÉRIEURES — mêmes composants, déclinés
   ========================================================== */
.hero-page { min-height: 640px; }
.hero-page .hero-logo { width: 196px; }
.hero-page .surtitre { margin-top: auto; padding-top: 28px; }
.hero-page .hero-titre { margin-top: 14px; padding-top: 0; font-size: clamp(42px, 3.9vw, 58px); text-wrap: balance; }
.hero-page .hero-titre .decale { padding-left: 1.1em; }
.hero-page .billet-titre-hero { font-size: clamp(36px, 3.2vw, 48px); }
.hero-page .billet-titre-hero span { text-wrap: nowrap; }
.hero-page .hero-intro { max-width: 40ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.lien-discret { font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--rose); padding-bottom: 3px; }
.lien-discret:hover { color: var(--bordeaux); }

.section { padding-bottom: var(--espace); }
.section-serree { padding-bottom: 96px; }
.promesse-page { padding: calc(var(--espace) - 16px) 0; }

/* liste à puces roses */
.liste-points { display: grid; gap: 10px; }
.liste-points li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.45; }
.liste-points li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 7px; height: 7px; border-radius: 50%; background: var(--rose); }

/* formats demi-journée / journée */
.formats { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.format { background: var(--blanc); border-radius: var(--r-photo); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.format-photo { border-radius: 0; aspect-ratio: 16 / 9; }
.format-corps { padding: 34px 38px 40px; display: grid; align-content: start; gap: 16px; justify-items: start; }
.format-titre { font-family: var(--ronde); font-size: clamp(30px, 2.8vw, 42px); line-height: 1; color: var(--bordeaux); }
.format-horaires { font-size: 13px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; }
.format .liste-points { margin-top: 6px; }

/* appellations détaillées, en alternance */
.regions { display: grid; gap: 130px; }
.region { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: start; scroll-margin-top: 110px; }
.region-photo { aspect-ratio: 4 / 5; position: sticky; top: 100px; }
.region:nth-child(even) .region-photo { order: 2; }
.region-photo-lien { position: sticky; top: 100px; }
.region-photo-lien.region-photo.x-sans-effet { position: static; }
.region:nth-child(even) .region-photo-lien { order: 2; }
.region-texte .hero-actions { margin-top: 30px; }
.region-texte .hero-actions .bouton { margin-top: 0; }
.region-texte { display: grid; justify-items: start; }
.region-texte .titre-section { margin-top: 16px; }
.region-intro { margin-top: 20px; font-size: 17px; line-height: 1.5; max-width: 46ch; }
.region-texte .puces { margin-top: 28px; }
.region-texte .bouton { margin-top: 30px; }

/* programme heure par heure */
.programme { margin-top: 30px; width: 100%; padding: 0; list-style: none; }
.programme li { display: grid; grid-template-columns: 112px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid rgba(117, 22, 48, 0.2); }
.programme li:last-child { border-bottom: 1px solid rgba(117, 22, 48, 0.2); }
.programme-heure { font-family: var(--ronde); font-size: 19px; line-height: 1.15; color: var(--bordeaux); }
.programme strong { display: block; font-size: 16px; font-weight: 600; }
.programme p:where(:not(.x-enrobe)) { margin-top: 4px; font-size: 15px; line-height: 1.45; color: #3b3b3b; max-width: 52ch; }
.note { margin-top: 18px; font-size: 13.5px; color: #5a5a5a; max-width: 60ch; }

/* wine tours : étapes, réservation par destination, grille tarifaire compacte */

.etapes { margin: 56px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.etapes li { background: var(--blanc); border-radius: var(--r-photo); padding: 24px 26px 26px; display: grid; gap: 6px; align-content: start; }
.etape-num {
  width: 38px; height: 38px; border-radius: 50%; margin-bottom: 8px;
  display: grid; place-items: center;
  background: var(--bordeaux); color: var(--creme);
  font-family: var(--ronde); font-size: 19px; line-height: 1;
}
.etapes strong { font-size: 17px; font-weight: 600; }
.etapes span:not(.etape-num) { font-size: 15px; line-height: 1.45; color: #3b3b3b; }
.etapes + .promesse-faits { margin-top: 56px; }

.reserver-choix { margin-top: 12px; width: 100%; display: grid; gap: 10px; }
.reserver-liens { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.reserver-liens > .x-enrobe:last-child:nth-child(odd) > .puce-lien { grid-column: 1 / -1; }   /* journée Sauternes & Pessac-Léognan */
.puce-lien {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 46px; padding: 0 16px;
  border-radius: var(--r-ui); border: 1.5px solid var(--bordeaux);
  color: var(--bordeaux); font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color .2s, color .2s;
}
.puce-lien::after { content: "→"; font-size: 16px; }
.puce-lien:hover, .puce-lien:focus-visible { background: var(--bordeaux); color: var(--creme); }

.format { scroll-margin-top: 110px; }
.format:target { box-shadow: 0 0 0 3px var(--rose); }

.tarifs { display: grid; grid-template-columns: 5fr 6fr; gap: 64px; align-items: center; }
.tarifs > * { min-width: 0; }
.tarifs-texte { display: grid; justify-items: start; }
.tarifs-texte .titre-section, .tarifs-texte .titre-carte { margin-top: 14px; max-width: 14ch; }
.tarifs-texte > p:where(:not(.x-enrobe)):not(.surtitre) { margin-top: 18px; font-size: 16px; line-height: 1.55; max-width: 44ch; }
.tarifs-texte .liste-points { margin-top: 18px; }
.tarifs-texte .liste-points li { font-size: 15px; }
.tarifs-texte .bouton { margin-top: 26px; }
.tarifs-carte { background: var(--blanc); border-radius: var(--r-photo); padding: 10px 28px 16px; }
.wp-block-table.tarifs-table { width: 100%; border-collapse: collapse; }
.wp-block-table.tarifs-table th, .wp-block-table.tarifs-table td { padding: 8px 0; text-align: right; font-size: 14.5px; border-bottom: 1px solid rgba(117, 22, 48, 0.12); }
.wp-block-table.tarifs-table thead th { font-size: 11px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bordeaux); padding: 10px 0 9px; }
.wp-block-table.tarifs-table th:first-child { text-align: left; }
.wp-block-table.tarifs-table tbody th { font-weight: 500; }
.wp-block-table.tarifs-table td { font-family: var(--ronde); font-size: 17px; color: var(--bordeaux); }
.wp-block-table.tarifs-table tbody tr:last-child th, .wp-block-table.tarifs-table tbody tr:last-child td { border-bottom: 0; }
.tarifs-pied { margin-top: 8px; font-size: 12.5px; color: #5a5a5a; }
.formats + .tarifs { margin-top: 64px; }
.format-corps .bouton { margin-top: 10px; }
.format:not(:has(.format-photo)) { grid-template-rows: 1fr; }
.format-corps { display: flex; flex-direction: column; align-items: flex-start; }
.format-corps > :last-child:not(.x-enrobe), .format-corps > .x-enrobe:last-child > * { margin-top: auto; }
.format-corps > .liste-points { margin-bottom: 10px; }

.grille-app-3 { grid-template-columns: repeat(3, 1fr); }
.grille-app-5 { grid-template-columns: repeat(5, 1fr); gap: 18px; }
.app-lien { display: inline-block; margin-top: 14px; font-size: 15px; }

.appel-exclusif {
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  background: var(--bordeaux); color: var(--creme);
  border-radius: var(--r-photo); padding: 48px 56px;
}
.appel-exclusif-titre { margin-top: 14px; font-family: var(--ronde); font-weight: 400; font-size: clamp(30px, 2.8vw, 42px); line-height: 1; max-width: 18ch; }
.appel-exclusif p:where(:not(.x-enrobe)):not(.surtitre) { margin-top: 16px; font-size: 16px; line-height: 1.5; max-width: 56ch; color: rgba(254, 249, 235, 0.88); }
.appel-exclusif .bouton { flex: none; }

/* galerie en mosaïque */
.galerie { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 22px; }
.galerie .photo:first-child { grid-row: span 2; }
.galerie .photo:nth-child(4) { grid-column: span 2; }

/* programme : détail par formule sous une étape commune */
.prog-formules { display: grid; gap: 6px; margin-top: 10px; }
.prog-formules > span { display: flex; gap: 10px; align-items: baseline; }
.prog-formules b {
  flex: none; min-width: 84px;
  font-size: 11px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux);
}

/* galerie à 8 photos : une grande, six petites, une large */
.galerie-8 { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 220px); }
.galerie-8 .photo:first-child { grid-column: span 2; grid-row: span 2; }
.galerie-8 .photo:nth-child(4) { grid-column: auto; }
.galerie-8 .photo:last-child { grid-column: span 2; }

/* lien sous la galerie */
.souvenirs-suite { margin-top: 34px; }

/* cartes simples (formules, séminaires, itinéraires) */
.cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.cartes-2 { grid-template-columns: repeat(2, 1fr); }
.cartes-4 { grid-template-columns: repeat(4, 1fr); gap: 22px; }
.carte-simple { background: var(--blanc); border-radius: var(--r-photo); padding: 32px 30px 34px; display: grid; align-content: start; gap: 14px; justify-items: start; }
.carte-simple .photo { width: 100%; aspect-ratio: 4 / 3; margin-bottom: 8px; }
.carte-simple-titre { font-family: var(--ronde); font-size: 28px; line-height: 1.02; color: var(--bordeaux); }
.carte-simple p:where(:not(.x-enrobe)) { font-size: 15px; line-height: 1.45; }
.carte-simple .bouton { margin-top: 8px; }
.carte-duree { font-size: 12px; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bordeaux); }
.jours { display: grid; gap: 12px; width: 100%; }
.jours li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(117, 22, 48, 0.18); font-size: 15px; line-height: 1.4; }
.jours b { font-family: var(--ronde); font-weight: 400; color: var(--bordeaux); font-size: 17px; }

/* bloc texte + photo côte à côte */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.duo-inverse .photo { order: 2; }
.duo .photo { aspect-ratio: 5 / 4; }
.duo-texte { display: grid; justify-items: start; }
.duo-texte .titre-section { margin-top: 16px; }
.duo-texte > p:where(:not(.x-enrobe)):not(.surtitre) { margin-top: 20px; font-size: 16.5px; line-height: 1.55; max-width: 48ch; }
.duo-texte .liste-points { margin-top: 24px; }
.duo-texte .bouton, .duo-texte .lien-souligne { margin-top: 30px; }

/* formulaire de contact */
.contact { display: grid; grid-template-columns: 7fr 4fr; gap: 48px; align-items: start; padding: 64px 0 var(--espace); }
.contact > *, .champs-2 > *, .formats > *, .cartes > *, .duo > *, .region > * { min-width: 0; }
.formulaire { background: var(--blanc); border-radius: var(--r-photo); padding: 44px 48px 48px; display: grid; gap: 26px; }
.formulaire .choix-label { margin-bottom: 2px; }
.champs-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.champ-texte { display: grid; gap: 8px; }
.champ-texte span { font-size: 12px; font-weight: 650; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bordeaux); }
.champ-texte input, .champ-texte textarea {
  width: 100%; border: 1px solid rgba(117, 22, 48, 0.25); border-radius: var(--r-ui);
  background: var(--creme); padding: 0 16px; height: 52px;
  font: 400 16px/1.4 var(--sans); color: var(--encre);
}
.champ-texte textarea { height: 150px; padding: 14px 16px; resize: vertical; }
.champ-texte input:focus, .champ-texte textarea:focus { outline: 2px solid var(--rose); outline-offset: 1px; }
.formulaire .accord { font-size: 14px; white-space: normal; }
.formulaire .bouton { justify-self: start; }
.contact-infos { display: grid; gap: 22px; position: sticky; top: 100px; }
.info-bloc { background: var(--blanc); border-radius: var(--r-photo); padding: 30px; display: grid; gap: 10px; }
.info-bloc .titre-carte { font-size: 26px; }
.info-bloc p:where(:not(.x-enrobe)), .info-bloc a { font-size: 15.5px; line-height: 1.5; }
.info-bloc a { font-weight: 500; text-decoration: none; }
.info-bloc a:hover { color: var(--bordeaux); }
.contact-infos .photo { aspect-ratio: 4 / 3; }
.info-bloc-avis { background: rgba(231, 126, 141, 0.16); border: 1px solid rgba(231, 126, 141, 0.55); }
.info-bloc-avis .titre-carte { color: var(--bordeaux); }

/* dégustation : formulaire de demande léger */
.demande { display: grid; grid-template-columns: 4fr 6fr; gap: 64px; align-items: start; padding: 20px 0 var(--espace); scroll-margin-top: 90px; }
.demande > * { min-width: 0; }
.demande-texte { display: grid; justify-items: start; position: sticky; top: 110px; }
.demande-texte .titre-section { margin-top: 16px; }
.demande-texte > p:where(:not(.x-enrobe)):not(.surtitre) { margin-top: 20px; font-size: 16.5px; line-height: 1.55; max-width: 40ch; }
.demande-texte .liste-points { margin-top: 24px; }
.demande .champ-texte textarea { height: 120px; }

/* conditions générales de vente */
.hero-court { min-height: 480px; }
.legal { padding: 64px 0 var(--espace); }
.legal-version { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 90px; align-items: start; }
.legal-version.est-cache { display: none; }
.legal-aside { position: sticky; top: 110px; display: grid; gap: 22px; justify-items: start; }
.legal-langues { display: flex; gap: 6px; margin-bottom: 10px; }
.legal-sommaire { margin: 0; padding: 0; list-style: none; counter-reset: art; display: grid; gap: 2px; width: 100%; }
.legal-sommaire li { counter-increment: art; }
.legal-sommaire a { display: flex; gap: 12px; padding: 7px 0; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(117, 22, 48, 0.12); }
.legal-sommaire a::before { content: counter(art); min-width: 20px; font-family: var(--ronde); color: var(--bordeaux); }
.legal-sommaire a:hover { color: var(--bordeaux); }
.legal-maj { font-size: 13px; color: #5a5a5a; }
.legal-texte { max-width: 720px; }
.legal-note { margin-top: 18px; font-size: 14px; color: #5a5a5a; }
.legal-texte article { padding-top: 40px; scroll-margin-top: 100px; }
.legal-texte h3 { font-family: var(--ronde); font-weight: 400; font-size: 26px; line-height: 1.1; color: var(--bordeaux); }
.legal-texte p:where(:not(.x-enrobe)) { margin-top: 14px; font-size: 16.5px; line-height: 1.6; }
.legal-texte .liste-points { margin-top: 14px; }
.legal-texte .liste-points li { font-size: 16px; }
.legal-texte strong { font-weight: 600; }
.legal-infos { margin-top: 20px; background: var(--blanc); border-radius: var(--r-photo); padding: 8px 26px; }
.legal-infos li { display: grid; grid-template-columns: 170px 1fr; gap: 16px; padding: 12px 0; font-size: 15.5px; border-bottom: 1px solid rgba(117, 22, 48, 0.12); }
.legal-infos li:last-child { border-bottom: 0; }
.legal-infos span { font-size: 12px; font-weight: 650; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bordeaux); padding-top: 2px; }
.legal-infos a { text-decoration: none; font-weight: 500; }

/* wine shop : fiches vins en stock */
.grille-cave { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.vin { background: var(--blanc); border-radius: var(--r-photo); padding: 12px 12px 18px; display: flex; flex-direction: column; }
.vin-photo { aspect-ratio: 4 / 3; border-radius: 14px; }
.vin-appellation { margin-top: 16px; padding: 0 6px; font-size: 11px; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--bordeaux); line-height: 1.4; }
.vin-nom { margin-top: 6px; padding: 0 6px; font-family: var(--ronde); font-weight: 400; font-size: 22px; line-height: 1.05; color: var(--bordeaux); }
.vin-details { margin-top: 6px; padding: 0 6px; font-size: 14.5px; color: #3b3b3b; }
.vin-pied { margin-top: auto; padding: 16px 6px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.vin-prix { font-size: 13.5px; font-weight: 600; }
.vin-pied .lien-souligne { font-size: 14px; }

/* crédits photo */
.credits-liste { margin-top: 26px; display: grid; gap: 12px; }
.credits-liste li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: center; background: var(--blanc); border-radius: 14px; padding: 10px; }
.credits-liste .photo { aspect-ratio: 1; border-radius: 10px; }
.credits-liste strong { display: block; font-size: 15px; font-weight: 600; }
.credits-liste span { font-size: 13.5px; color: #5a5a5a; }
.credits-liste a { color: var(--bordeaux); }
.credits h3 { margin-top: 44px; }

/* journal : filtres, grille, article */
.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.grille-journal-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 34px; }
.article .photo-lien { display: block; }
.article-extrait { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #3b3b3b; }
.article-titre a { text-decoration: none; }
.article-titre a:hover { color: var(--bordeaux); }
.article.est-cache { display: none; }

.billet-entete { padding: 70px 0 44px; display: grid; justify-items: start; max-width: 980px; }
.retour { font-size: 15px; font-weight: 500; text-decoration: none; }
.retour:hover { color: var(--bordeaux); }
.billet-entete .article-meta { margin-top: 36px; }
.billet-titre { margin-top: 14px; font-family: var(--ronde); font-size: clamp(44px, 5.2vw, 78px); line-height: 0.95; color: var(--bordeaux); text-wrap: balance; }
.billet-chapo { margin-top: 26px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; max-width: 42ch; }
.billet-image { aspect-ratio: 16 / 8; }
.prose { max-width: 700px; margin: 72px auto 0; }
.prose p:where(:not(.x-enrobe)) { font-size: 18px; line-height: 1.65; margin-top: 22px; }
.prose h2 { font-family: var(--ronde); font-weight: 400; font-size: 34px; line-height: 1.05; color: var(--bordeaux); margin-top: 56px; }
.prose blockquote { margin: 44px 0; padding-left: 26px; border-left: 3px solid var(--rose); font-size: 26px; font-weight: 500; line-height: 1.25; letter-spacing: -0.02em; }
.prose-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 44px 0; }
.prose-duo .photo { aspect-ratio: 4 / 5; }
.prose figcaption { margin-top: 10px; font-size: 13.5px; color: #5a5a5a; }
.billet-suite { margin-top: 80px; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1320px) {
  .barre-nav a { padding: 10px 10px; }
}
@media (max-width: 1100px) {
  .bandeau-exclusif { grid-template-columns: 22% minmax(0, 1fr) 22%; }
  .bandeau-exclusif-texte { padding: 36px 28px; }
  .grille-cave { grid-template-columns: repeat(2, 1fr); }
  .grille-app-3 { grid-template-columns: repeat(3, 1fr); }
  .appel-exclusif { flex-direction: column; align-items: flex-start; }
  .cartes-4 { grid-template-columns: repeat(2, 1fr); }
  .region { gap: 44px; }
  .contact { grid-template-columns: 1fr; }
  .contact-infos { position: static; grid-template-columns: 1fr 1fr; }
  .carte-texte { grid-template-columns: 1fr; }
  .carte-liste { grid-column: 1; grid-row: auto; margin-top: 20px; }
  :root { --gouttiere: 32px; }
  .hero { grid-template-columns: 44% 1fr; }
  .nav-pilule { left: 32px; }
  .nav-pilule { left: 24px; }
  .nav-pilule a { padding: 9px 8px; font-size: 14px; }
  .barre-nav { display: none; }
  .barre-cta { margin-left: auto; }
  .grille-app { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .grille-app-5 { grid-template-columns: repeat(3, 1fr); }
  .groupes { grid-template-columns: 1fr 44%; }
  .fondateur { gap: 48px; }
}
/* petites tablettes : le menu en verre ne tient plus sur la photo, on passe au bouton Menu */
@media (min-width: 861px) and (max-width: 1040px) {
  .nav-pilule { display: none; }
  .hero-panneau { position: relative; }
  .nav-bouton {
    display: block; position: absolute; top: 24px; right: 24px; z-index: 2;
    padding: 12px 18px; border-radius: 12px; border: 1px solid var(--bordeaux);
    background: transparent; font: 500 15px/1 var(--sans); color: var(--bordeaux); cursor: pointer;
  }
  .barre-menu { position: static; margin-left: 12px; }
  .menu-fermer {
    position: absolute; top: 26px; right: 24px;
    padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(254, 249, 235, 0.9);
    background: transparent; font: 500 15px/1 var(--sans); color: var(--creme); cursor: pointer;
  }
  .menu-mobile.est-ouvert {
    display: grid; position: fixed; inset: 0; z-index: 50;
    background: var(--bordeaux); color: var(--creme);
    align-content: safe center; gap: 8px; padding: 40px 48px; overflow-y: auto;
  }
  .menu-mobile a { font-family: var(--ronde); font-size: 40px; text-decoration: none; line-height: 1.15; }
  .menu-mobile a.menu-sous { font-family: var(--sans); font-size: 18px; font-weight: 500; padding-left: 18px; opacity: .85; line-height: 1.5; }
  .menu-mobile a.menu-sous::before { content: "– "; color: var(--rose); }
}

@media (max-width: 860px) {
  :root { --gouttiere: 20px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-panneau { position: relative; padding: 18px 20px 30px; }
  .hero-logo { width: 200px; }
  .hero-titre { font-size: clamp(46px, 13.5vw, 70px); padding-top: 40px; }
  .choix { padding-top: 28px; }
  .hero-photo { height: 60svh; min-height: 360px; }
  .nav-pilule, .carte-verre { display: none; }
  .nav-bouton {
    display: block; position: absolute; top: 24px; right: 20px; z-index: 2;
    padding: 12px 18px; border-radius: 12px; border: 1px solid var(--bordeaux);
    background: transparent;
    font: 500 15px/1 var(--sans); color: var(--bordeaux);
  }
  .barre-pilule { padding: 6px 6px 6px 14px; }
  .barre-cta { display: none; }
  .barre-menu { display: block; position: static; margin-left: auto; }
  .menu-fermer {
    position: absolute; top: 26px; right: 20px;
    padding: 12px 18px; border-radius: 12px; border: 1px solid rgba(254, 249, 235, 0.9);
    background: transparent; font: 500 15px/1 var(--sans); color: var(--creme);
  }
  .menu-mobile.est-ouvert {
    display: grid; position: fixed; inset: 0; z-index: 50;
    background: var(--bordeaux); color: var(--creme);
    align-content: safe center; gap: 8px; padding: 40px 28px; overflow-y: auto;
  }
  .menu-mobile a { font-family: var(--ronde); font-size: 38px; text-decoration: none; line-height: 1.15; }
  .menu-mobile a.menu-sous { font-family: var(--sans); font-size: 18px; font-weight: 500; padding-left: 18px; opacity: .85; line-height: 1.5; }
  .menu-mobile a.menu-sous::before { content: "– "; color: var(--rose); }
  .surtitre { font-size: 11px; letter-spacing: 0.22em; gap: 10px; }
  .experience { padding-top: 20px; }
  .experience-cadre { height: 64svh; min-height: 420px; }
  .survol-cadre { padding: 28px 22px 32px; min-height: 620px; }
  .survol-titre { padding-right: 58px; font-size: 44px; }
  .survol-titre .decale { padding-left: 0.5em; }
  .survol-corps { max-width: none; padding-bottom: 60px; }
  .survol-medaillon { right: 20px; bottom: -80px; width: 58%; }
  .experience-titre { flex-direction: column; }
  .promesse { padding: 84px 0 80px; }
  .promesse-faits { grid-template-columns: 1fr; gap: 26px; margin-top: 48px; }
  .entete-section { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .grille-exp { grid-template-columns: 1fr; gap: 64px; }
  .exp-photo-milieu { aspect-ratio: 4 / 5; }
  .exp-droite { display: flex; flex-direction: column; align-items: flex-start; }
  .exp-droite > .photo-lien { order: -1; margin-bottom: 28px; }
  .exp-photo-droite { margin: 0; }
  .exp-droite .titre-carte { margin-top: 0; }
  .appellations, .avis, .journal, .allocations { padding-bottom: 96px; }
  .grille-app { grid-template-columns: 1fr 1fr; gap: 16px; row-gap: 36px; }
  .app-titre { font-size: 22px; }
  .carte-bloc { grid-template-columns: 1fr; padding: 28px 22px; gap: 28px; margin-top: 48px; }
  .carte-mini { grid-template-columns: 1fr; padding: 26px 22px; gap: 22px; }
  .carte-mini-image { max-width: 260px; justify-self: center; }
  .carte-texte { grid-template-columns: 1fr; }
  .carte-liste { grid-column: 1; grid-row: auto; margin-top: 22px; }
  .carte-image { max-width: 400px; justify-self: center; }
  .groupes { grid-template-columns: 1fr; }

  .groupes-photo { height: 56svh; min-height: 320px; }
  .groupes-panneau { padding: 48px 20px; }
  .groupes-titre { margin-top: 0; }
  .fondateur { grid-template-columns: 1fr; padding: 96px 0; gap: 40px; }
  .allocations { grid-template-columns: 1fr; }
  .allocations-texte { padding: 32px 24px; }
  .allocations-texte .titre-section { padding-top: 24px; }
  .grille-avis, .grille-journal { grid-template-columns: 1fr; gap: 40px; }
  .pied { padding-top: 80px; }
  .pied-appel { flex-direction: column; align-items: flex-start; padding-bottom: 60px; }
  .pied-grille { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .pied-accroche { grid-column: 1 / -1; }
  .hero-page { min-height: 0; }
  .hero-page .hero-logo { width: 160px; }
  .hero-page .surtitre { padding-top: 44px; }
  .section { padding-bottom: 96px; }
  .promesse-page { padding: 72px 0; }
  .formats, .cartes, .cartes-2, .cartes-4, .duo, .contact, .champs-2, .grille-journal-page, .prose-duo { grid-template-columns: 1fr; }
  .demande { grid-template-columns: 1fr; gap: 32px; padding-bottom: 72px; }
  .grille-cave { grid-template-columns: 1fr 1fr; gap: 12px; }
  .vin-nom { font-size: 18px; }
  .demande-texte { position: static; }
  .format-corps { padding: 26px 24px 30px; }
  .regions { gap: 90px; }
  .region { grid-template-columns: 1fr; gap: 32px; }
  .region-photo { position: static; aspect-ratio: 4 / 3; }
  .region:nth-child(even) .region-photo { order: 0; }
  .programme li { grid-template-columns: 1fr; gap: 4px; }
  .etapes { grid-template-columns: 1fr; gap: 12px; margin-top: 36px; }
  .etapes + .promesse-faits { margin-top: 36px; }
  .tarifs { grid-template-columns: 1fr; gap: 28px; }
  .tarifs-carte { padding: 6px 18px 14px; }
  .formats + .tarifs { margin-top: 44px; }
  .reserver-liens { grid-template-columns: 1fr; }
  .grille-app-3 { grid-template-columns: 1fr; }
  .appel-exclusif { flex-direction: column; align-items: flex-start; padding: 32px 24px; gap: 24px; }
  .region-photo-lien { position: static; }
  .region-photo-lien.region-photo.x-sans-effet { position: relative; }   /* le badge « Open the page » reste sur sa photo */
  .region:nth-child(even) .region-photo-lien { order: 0; }
  .galerie { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 180px; gap: 12px; }
  .galerie .photo:first-child { grid-column: span 2; grid-row: auto; }
  .galerie .photo:nth-child(4) { grid-column: auto; }
  .galerie-8 { grid-template-columns: 1fr 1fr; grid-template-rows: none; }
  .galerie-8 .photo:last-child { grid-column: span 2; }
  .prog-formules b { min-width: 76px; }
  .duo { gap: 32px; }
  .duo-inverse .photo { order: 0; }
  .contact { padding: 48px 0 96px; gap: 32px; }
  .formulaire { padding: 28px 22px 32px; }
  .contact-infos { position: static; grid-template-columns: 1fr; }
  .billet-entete { padding: 44px 0 32px; }
  .prose { margin-top: 44px; }
  .prose p:where(:not(.x-enrobe)) { font-size: 17px; }
}
@media (max-width: 480px) {
  .grille-app { grid-template-columns: 1fr; }
  .pied-grille { grid-template-columns: 1fr; }
}

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

/* ==========================================================
   MOBILE COMPACT — tout un cran plus petit (retour client du 25/09)
   Placé en dernier : l'emporte sur les réglages ordinateur de même spécificité.
   ========================================================== */
@media (max-width: 860px) {
  .hero:not(.hero-page) { grid-template-columns: 1fr; min-height: 0; }
  .hero:not(.hero-page) .hero-panneau { padding: 16px 20px 24px; }
  .hero:not(.hero-page) .hero-logo { width: 150px; }
  .hero:not(.hero-page) .hero-titre { padding-top: 22px; font-size: clamp(26px, 8.4vw, 34px); text-wrap: balance; }
  .hero:not(.hero-page) .hero-titre span { text-wrap: balance; }
  .hero:not(.hero-page) .hero-titre .decale { padding-left: 1.2em; }
  .hero:not(.hero-page) .hero-intro { font-size: 14px; }
  .hero:not(.hero-page) .puce-choix { padding: 7px 10px; font-size: 13px; }
  .hero:not(.hero-page) .choix .bouton { min-height: 44px; font-size: 14.5px; }
  .hero:not(.hero-page) .hero-photo { height: 34svh; min-height: 230px; }
  .hero-page .hero-logo { width: 130px; }
  .hero-page .hero-titre { font-size: clamp(30px, 9vw, 38px); }
  .hero-page .hero-panneau { padding: 16px 20px 26px; }
  .hero-page .hero-photo { height: 38svh; min-height: 240px; }
  .nav-bouton { padding: 10px 14px; font-size: 14px; top: 18px; }

  body { font-size: 15px; }
  .titre-section { font-size: 28px; }
  .titre-carte, .format-titre, .carte-simple-titre { font-size: 24px; }
  .promesse-texte, .citation { font-size: 23px; }
  .promesse-faits strong { font-size: 16px; }
  .texte-carte, .entete-texte, .promesse-faits span, .app-texte, .duo-texte > p:where(:not(.x-enrobe)):not(.surtitre), .region-intro { font-size: 14.5px; }
  .experience-titre { font-size: 34px; }
  .experience-cadre { height: 52svh; min-height: 340px; }
  .survol-titre { font-size: 36px; }
  .survol-cadre { min-height: 460px; }
  .groupes-titre { font-size: 32px; }
  .groupes-photo { height: 40svh; min-height: 260px; }
  .pied-titre { font-size: 32px; }
  .article-titre { font-size: 20px; }
  .app-titre { font-size: 20px; }
  .avis-item blockquote { font-size: 17px; }
  .billet-titre, .prose h2 { font-size: 28px; }
  .bouton { min-height: 46px; padding: 0 20px; font-size: 14.5px; }

  .promesse { padding: var(--espace) 0; }
  .promesse-faits { margin-top: 36px; }
  :root { --espace: 56px; --pause: 84px; }
  .experiences, .appellations, .avis, .journal, .allocations, .section { padding-bottom: var(--espace); }
  .fondateur { padding: var(--espace) 0; }
  .groupes-panneau { padding: 40px 20px; }
  .grille-exp { gap: 48px; }
  .exp-c { margin-top: 48px; }
  .survol { margin-bottom: calc(var(--pause) + 60px); }
  .pied { padding-top: 64px; }
  .pied-appel { padding-bottom: 44px; }
  .app-photo, .exp-photo-gauche, .exp-photo-milieu, .exp-photo-droite, .allocations-photo, .article-photo { aspect-ratio: 4 / 3; }
  .fondateur-photo { aspect-ratio: 1 / 1; }
  .hero-court { min-height: 0; }
  .legal { padding: 40px 0 var(--espace); }
  .legal-version { grid-template-columns: 1fr; gap: 32px; }
  .legal-aside { position: static; }
  .legal-texte h3 { font-size: 22px; }
  .legal-texte p:where(:not(.x-enrobe)) { font-size: 15.5px; }
  .legal-infos { padding: 4px 18px; }
  .legal-infos li { grid-template-columns: 1fr; gap: 4px; }
}

/* bandeau « Exclusive wine tours » sur mobile (placé en dernier pour passer après la règle tablette) */
@media (max-width: 860px) {
  .bandeau-exclusif { grid-template-columns: 1fr 1fr; min-height: 0; }
  .bandeau-exclusif-photo { aspect-ratio: 3 / 4; min-height: 0; }
  .bandeau-exclusif-photo:first-child { grid-column: 1; grid-row: 1; }
  .bandeau-exclusif-photo:last-child { grid-column: 2; grid-row: 1; }
  .bandeau-exclusif-texte { grid-column: 1 / -1; grid-row: 2; padding: 28px 22px 32px; }
  .bandeau-exclusif-titre { font-size: 30px; }
}

/* ==========================================================
   ADAPTATIONS WORDPRESS (thème bloc) — générées par scripts/theme.py
   ========================================================== */

/* paragraphe d'enrobage : sa boîte disparaît, l'élément en ligne garde sa place dans la mise en page */
.x-enrobe { display: contents; }
.est-cache { display: none !important; }

/* blocs natifs : aucune marge ni bordure apportée par WordPress */
:where(.wp-site-blocks) > * { margin-block: 0; }
.wp-block-post-content > * { margin-block: 0; }
/* spécificité nulle : les marges posées par la maquette sur ses figures (.hero-logo, .exp-photo-droite…) l'emportent */
:where(figure.wp-block-image, figure.wp-block-video, figure.wp-block-table) { margin: 0; }
.wp-block-image img { height: auto; }
.photo.wp-block-image img, .wp-block-image.photo img { height: 100%; }
.wp-block-image > a { display: contents; }
.wp-block-image figcaption { margin: 0; }

/* Contact Form 7 : l'enrobage des champs ne doit pas ajouter d'espace sous la ligne de base */
.champ-texte .wpcf7-form-control-wrap { display: block; }
.champ-texte .wpcf7-form-control-wrap > textarea, .champ-texte .wpcf7-form-control-wrap > input { display: block; }
.accord .wpcf7-form-control-wrap, .accord .wpcf7-acceptance, .accord .wpcf7-list-item { display: inline; margin: 0; }
.accord .wpcf7-list-item-label:empty { display: none; }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; color: var(--bordeaux); }
.wpcf7 form .wpcf7-response-output { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--r-ui); border: 1px solid var(--bordeaux); color: var(--bordeaux); font-size: 15px; }

/* photo-lien : la figure porte le lien, la légende fait le badge et laisse passer le clic */
.wp-block-image.photo-lien > .wp-element-caption { pointer-events: none; }
.region-photo-lien.region-photo { position: sticky; }

/* en-tête : la photo du héros occupe tout son cadre */
.hero-photo > .wp-block-image { position: static; }

/* vidéo de fond : la figure prend le cadre, la vidéo la remplit */
.wp-block-video.video-fond video { width: 100%; height: 100%; object-fit: cover; }

/* tableau des prix : pas de bordures ni de légende visibles du bloc tableau */
.wp-block-table.tarifs-table table { width: 100%; border-collapse: collapse; }
.wp-block-table.tarifs-table thead { border-bottom: 0; }
.wp-block-table.tarifs-table td, .wp-block-table.tarifs-table th { border-top: 0; border-left: 0; border-right: 0; }
.wp-block-table.tarifs-table .wp-element-caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; margin: 0; }

/* ---------- partie « header » : tout est hors flux, positionné comme dans la maquette ---------- */
.entete { position: static; height: 0; }
.barre-logo { display: flex; align-items: center; gap: 12px; flex: none; }
.barre-logo .wp-block-image { margin: 0; }
.barre-logo img { width: 68px; height: auto; }
.barre-logo-texte {
  font-size: 12px; font-weight: 650; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bordeaux); white-space: nowrap; padding-top: 3px;
}
/* menus (bloc Navigation) : mêmes pastilles que la maquette */
.wp-block-navigation.nav-pilule, .wp-block-navigation.barre-nav, .wp-block-navigation.menu-mobile-nav { gap: 0; }
.wp-block-navigation.nav-pilule .wp-block-navigation__container,
.wp-block-navigation.barre-nav .wp-block-navigation__container { gap: 2px; }
.wp-block-navigation.nav-pilule .wp-block-navigation-item__content,
.wp-block-navigation.barre-nav .wp-block-navigation-item__content { display: block; border-radius: 11px; font-weight: 450; text-decoration: none; color: var(--encre); transition: background-color .2s; }
nav.wp-block-navigation.nav-pilule {
  position: absolute; top: 44px; left: calc(36% + 44px); z-index: 3;
  display: flex; padding: 6px;
  border-radius: var(--r-pilule);
  background: rgba(240, 244, 247, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.wp-block-navigation.nav-pilule .wp-block-navigation__container { background: none; border: 0; padding: 0; position: static; backdrop-filter: none; -webkit-backdrop-filter: none; }
.wp-block-navigation.nav-pilule .wp-block-navigation-item__content { padding: 11px 14px; font-size: 15.5px; }
.wp-block-navigation.nav-pilule .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav-pilule .current-menu-item > .wp-block-navigation-item__content { background: var(--blanc); }
nav.wp-block-navigation.barre-nav { margin: 0 auto; }
.wp-block-navigation.barre-nav .wp-block-navigation-item__content { padding: 10px 14px; font-size: 15px; }
.wp-block-navigation.barre-nav .wp-block-navigation-item__content:hover { background: var(--blanc); }
.menu-mobile.est-ouvert { display: grid; position: fixed; inset: 0; z-index: 50; background: var(--bordeaux); color: var(--creme); align-content: safe center; gap: 8px; overflow-y: auto; }
.menu-mobile-nav .wp-block-navigation__container { display: grid; gap: 8px; }
.menu-mobile-nav .wp-block-navigation-item__content { font-family: var(--ronde); text-decoration: none; line-height: 1.15; color: var(--creme); }
@media (max-width: 1320px) {
  .wp-block-navigation.barre-nav .wp-block-navigation-item__content { padding: 10px 10px; }
}
@media (max-width: 1100px) {
  nav.wp-block-navigation.nav-pilule { left: calc(44% + 24px); }
  .wp-block-navigation.nav-pilule .wp-block-navigation-item__content { padding: 9px 8px; font-size: 14px; }
  nav.wp-block-navigation.barre-nav { display: none; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  nav.wp-block-navigation.nav-pilule { display: none; }
  .nav-bouton.nav-bouton-hero { right: calc(56% + 24px); }
  .menu-mobile.est-ouvert { padding: 40px 48px; }
  .menu-mobile-nav .wp-block-navigation-item__content { font-size: 40px; }
}
@media (max-width: 860px) {
  .region-photo-lien.region-photo { position: relative; }
  nav.wp-block-navigation.nav-pilule { display: none; }
  .menu-mobile.est-ouvert { padding: 40px 28px; }
  .menu-mobile-nav .wp-block-navigation-item__content { font-size: 38px; }
}

/* styles en ligne de la maquette, devenus des classes */
.ar-4-5 { aspect-ratio: 4 / 5 !important; }
.pos-30-50 img, .pos-30-50 video, img.pos-30-50 { object-position: 30% 50% !important; }
.pos-40-50 img, .pos-40-50 video, img.pos-40-50 { object-position: 40% 50% !important; }
.pos-42-40 img, .pos-42-40 video, img.pos-42-40 { object-position: 42% 40% !important; }
.pos-42-55 img, .pos-42-55 video, img.pos-42-55 { object-position: 42% 55% !important; }
.pos-46-40 img, .pos-46-40 video, img.pos-46-40 { object-position: 46% 40% !important; }
.pos-50-0 img, .pos-50-0 video, img.pos-50-0 { object-position: 50% 0% !important; }
.pos-50-10 img, .pos-50-10 video, img.pos-50-10 { object-position: 50% 10% !important; }
.pos-50-30 img, .pos-50-30 video, img.pos-50-30 { object-position: 50% 30% !important; }
.pos-50-35 img, .pos-50-35 video, img.pos-50-35 { object-position: 50% 35% !important; }
.pos-50-40 img, .pos-50-40 video, img.pos-50-40 { object-position: 50% 40% !important; }
.pos-50-45 img, .pos-50-45 video, img.pos-50-45 { object-position: 50% 45% !important; }
.pos-50-50 img, .pos-50-50 video, img.pos-50-50 { object-position: 50% 50% !important; }
.pos-50-55 img, .pos-50-55 video, img.pos-50-55 { object-position: 50% 55% !important; }
.pos-50-56 img, .pos-50-56 video, img.pos-50-56 { object-position: 50% 56% !important; }
.pos-50-60 img, .pos-50-60 video, img.pos-50-60 { object-position: 50% 60% !important; }
.pos-50-62 img, .pos-50-62 video, img.pos-50-62 { object-position: 50% 62% !important; }
.pt-0 { padding-top: 0 !important; }
.pt-64px { padding-top: 64px !important; }
.pt-espace { padding-top: var(--espace) !important; }
