/*
Theme Name: Vadaclic
Theme URI: https://www.vadaclic.fr
Author: Vadaclic
Description: Thème bloc sur mesure pour Vadaclic — location de bornes photobooth et de matériel événementiel. Tout le contenu est en blocs natifs, modifiable dans l'éditeur.
Version: 1.0.13
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: vadaclic
Tags: block-theme, full-site-editing, dark, one-column
*/

:root {
  --noir: #0b0a09;
  --charbon: #151311;
  --creme: #ede7de;
  --taupe: #8f877d;
  --bronze: #b89a7a;
  --filet: rgba(237, 231, 222, .14);
  --filet-fort: rgba(237, 231, 222, .4);

  --sans: "Manrope", system-ui, sans-serif;
  --large: "Archivo", "Manrope", sans-serif;

  --marge: clamp(20px, 4.4vw, 72px);
  --rayon: 4px;

  /* grain des lettres géantes : taches sombres sur une lumière bronze */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.2 -1.3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --taches: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600'%3E%3Cfilter id='t'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012' numOctaves='4' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2.4 -1.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23t)'/%3E%3C/svg%3E");
  --lumiere: radial-gradient(ellipse 80% 95% at 52% 10%, #f6e6cd 0%, #d2b694 14%, #a68b72 34%, #86705c 58%, #6a5848 80%, #4e4136 100%);
  --lecture: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23ede7de'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--noir);
  color: var(--creme);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; } /* height:auto : sinon l'attribut height des blocs image l'emporte */
button, input, select, textarea { font-family: inherit; }
body::after { /* grain de pellicule sur toute la page */
  content: ""; position: fixed; inset: 0; z-index: 100; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: .07; mix-blend-mode: overlay;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.02em; hyphens: none; text-wrap: balance; }
p { margin: 0; }
figure { margin: 0; }
ol, ul { margin: 0; padding: 0; list-style: none; }

/* Espacement automatique de Gutenberg : coupé dans theme.json (blockGap 0),
   filet de sécurité ici À SPÉCIFICITÉ NULLE pour ne jamais écraser les marges
   des composants. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image { margin: 0; }
.wp-site-blocks, .wp-block-post-content { padding: 0; }
/* L'extension Kubio (héritée de l'ancien thème) limite tout le contenu des pages à 840 px :
   « .entry-content:not(.wc-tab) > * { max-width: 840px } ». Les sections de ce thème sont pleine largeur. */
.contenu .entry-content.wp-block-post-content > * { max-width: none; margin: 0; }

/* photos : même étalonnage partout, chaud et désaturé comme la référence */
.wp-block-image.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.72) sepia(.3) contrast(1.06) brightness(.84); }
.wp-block-image.photo-bas img { object-position: 50% 100%; }

/* ---------- Éléments communs ---------- */

.surtitre {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--large); font-stretch: 125%; font-weight: 500;
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--taupe);
}
.surtitre::before { content: ""; display: inline-block; width: 38px; height: 1px; background: var(--filet-fort); flex: none; }

.wp-block-buttons.boutons { display: flex; flex-wrap: wrap; gap: 16px; }
.wp-block-button.bouton-plein, .wp-block-button.bouton-contour { display: inline-block; margin: 0; }
.wp-block-button.bouton-plein .wp-block-button__link,
.wp-block-button.bouton-contour .wp-block-button__link {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 24px; line-height: 1;
  font-family: var(--large); font-stretch: 112%; font-weight: 600;
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: var(--rayon); white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s;
}
.wp-block-button.bouton-plein .wp-block-button__link { background: var(--creme); color: #14110e; border: 0; }
.wp-block-button.bouton-plein .wp-block-button__link:hover { background: #fff; }
.wp-block-button.bouton-contour .wp-block-button__link { background: transparent; color: var(--creme); border: 1px solid var(--filet-fort); }
.wp-block-button.bouton-contour .wp-block-button__link:hover { border-color: var(--creme); }
.wp-block-button.fleche .wp-block-button__link::after,
.lien a::after, .vignette-lien a::after {
  content: "→"; font-family: var(--sans); font-size: 16px; font-weight: 400; letter-spacing: 0; transition: transform .25s;
}
.wp-block-button.fleche .wp-block-button__link:hover::after, .lien a:hover::after, .vignette-lien a:hover::after { transform: translateX(4px); }
.wp-block-button.bouton-lecture .wp-block-button__link { padding-left: 14px; }
.wp-block-button.bouton-lecture .wp-block-button__link::before {
  content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--filet-fort);
  background: var(--lecture) 12px center / 8px 10px no-repeat;
}

.lien a {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--large); font-stretch: 112%; font-weight: 600;
  font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
}

.chapo { font-size: 17px; color: rgba(237, 231, 222, .7); max-width: 34em; }

/* lettres géantes texturées */
.heros-geant, .mot-geant, .contact-geant, .numero-geant, .evt.actif .evt-mot,
.page-geant, .rangee-mot, .deroule-num {
  background-image: var(--grain), var(--taches), var(--lumiere);
  background-size: 260px, 700px, 100% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

/* ---------- En-tête ---------- */

.entete {
  position: absolute; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; gap: 40px;
  padding: 30px var(--marge) 0;
}
.entete::after {
  content: ""; position: absolute; left: calc(var(--marge) + 230px); right: var(--marge); bottom: -26px;
  height: 1px; background: var(--filet);
}
.logo { display: inline-flex; flex-direction: column; align-items: center; border: 1.5px solid var(--creme); padding: 7px 12px 4px; line-height: 1; flex: none; }
.logo-mot { font-family: var(--large); font-stretch: 125%; font-weight: 600; font-size: 19px; line-height: 1; letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; }
.logo-mot a { color: var(--creme); }
.logo-sous { font-family: var(--large); font-stretch: 125%; font-size: 6.5px; line-height: 1; letter-spacing: .5em; text-transform: uppercase; margin-top: 4px; color: var(--taupe); }

/* Logo du site (bloc « Logo du site », modifiable dans Apparence → Éditeur) */
.entete .wp-block-site-logo.logo-image { flex: none; line-height: 0; margin: 0; }
.wp-block-site-logo.logo-image img { width: 198px; height: auto; }
.pied .wp-block-image.logo-pied { justify-self: start; width: 150px; margin: 0; }
.pied .wp-block-image.logo-pied img { width: 100%; height: auto; }
nav.wp-block-navigation.nav { margin-left: 12px; white-space: nowrap; }
.wp-block-navigation.nav .wp-block-navigation__container { gap: 26px; flex-wrap: nowrap; }
.wp-block-navigation.nav .wp-block-navigation-item__content,
.entete-tel {
  font-family: var(--large); font-stretch: 110%; font-weight: 500;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; line-height: 1.6;
  color: rgba(237, 231, 222, .82); transition: color .2s;
}
.wp-block-navigation.nav .wp-block-navigation-item__content:hover { color: #fff; }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content { color: #fff; position: relative; }
.wp-block-navigation.nav .current-menu-item > .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 50%; bottom: -10px; width: 3px; height: 3px; border-radius: 50%; background: var(--creme); translate: -50% 0;
}
.entete-actions { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.entete-tel { padding-right: 22px; border-right: 1px solid var(--filet); white-space: nowrap; }
.entete-tel a { color: inherit; }

/* bouton du menu mobile de core/navigation */
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open {
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--filet-fort); border-radius: var(--rayon); color: var(--creme);
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container-open svg,
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }
/* Le panneau s'ouvre blanc sur blanc sans ceci : le CSS du bloc est imprimé APRÈS cette feuille. */
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: rgba(11, 10, 9, .97) !important;
  color: var(--creme) !important;
  padding: 30px var(--marge) !important;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start; justify-content: center; padding-top: 0;
}
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { flex-direction: column; align-items: flex-start; gap: 26px; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 20px; padding: 0; }
.wp-block-navigation.nav .wp-block-navigation__responsive-container-close { color: var(--creme); top: 30px; right: var(--marge); }

/* ---------- Héros ---------- */

.heros {
  position: relative; overflow: hidden; isolation: isolate;
  height: 100vh; min-height: 760px; max-height: 1100px;
}
.wp-block-image.heros-fond { position: absolute; inset: -4%; z-index: -3; margin: 0; }
.wp-block-image.heros-fond img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) sepia(.45) brightness(.32) blur(7px); transform: scale(1.06); }
.heros::before { /* vignettage */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 58% 42%, transparent 0%, rgba(11,10,9,.55) 60%, rgba(11,10,9,.95) 100%),
    linear-gradient(to bottom, rgba(11,10,9,.85) 0%, transparent 22%, transparent 70%, rgba(11,10,9,.9) 100%);
}
.heros::after { /* faisceau de lumière */
  content: ""; position: absolute; z-index: -1; top: -30%; left: 46%;
  width: 22vw; height: 120%;
  background: linear-gradient(to bottom, rgba(255, 238, 214, .6), rgba(255, 238, 214, .12) 55%, transparent 82%);
  transform: rotate(26deg); transform-origin: top center;
  filter: blur(38px); mix-blend-mode: screen; pointer-events: none;
}

.heros-geant {
  position: absolute; z-index: 0; left: 33%; top: 15%;
  display: flex; flex-direction: column;
  font-family: var(--large); font-stretch: 100%; font-weight: 900;
  font-size: clamp(110px, 16.6vw, 300px); line-height: .8; letter-spacing: -.03em;
  text-transform: uppercase; white-space: nowrap;
  background-size: 260px, 700px, 100% 100%;
  opacity: .92;
}
.heros-geant p { line-height: .8; }
.heros-geant .l1 { padding-left: .62em; }
.heros-geant .l3 { padding-left: .04em; }
.heros-geant::after { /* poussière dans le faisceau */
  content: ""; position: absolute; left: 20%; top: -20%; width: 60%; height: 110%; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(circle, rgba(255,240,220,.9) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(255,240,220,.7) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(255,240,220,.5) 0 .8px, transparent 1.2px);
  background-size: 173px 151px, 97px 131px, 61px 83px;
  background-position: 13px 27px, 41px 9px, 5px 50px;
  -webkit-mask-image: radial-gradient(ellipse 60% 70% at 55% 30%, #000, transparent 75%);
          mask-image: radial-gradient(ellipse 60% 70% at 55% 30%, #000, transparent 75%);
  animation: poussiere 40s linear infinite;
}
@keyframes poussiere { to { background-position: 13px -124px, 41px -122px, 5px -33px; } }

.wp-block-image.heros-objet {
  position: absolute; z-index: 2; left: 47.5%; top: 30%;
  width: clamp(210px, 21vw, 360px); margin: 0;
}
.wp-block-image.heros-objet::before { /* la lumière tombe sur les lettres, derrière l'objet */
  content: ""; position: absolute; z-index: -1; left: -60%; top: -45%; width: 220%; aspect-ratio: 1;
  background: radial-gradient(circle at 50% 45%, rgba(236, 204, 160, .26), rgba(214, 178, 136, .08) 38%, transparent 64%);
  pointer-events: none;
}
.wp-block-image.heros-objet img,
.wp-block-image.page-tete-objet img {
  width: 100%; height: auto;
  filter: sepia(.4) saturate(.85) brightness(.8) contrast(1.1) drop-shadow(0 50px 50px rgba(0,0,0,.75)) drop-shadow(0 0 1px rgba(0,0,0,.9));
  /* éclairage par le haut : le bas de l'objet se fond dans l'ombre (fonctionne quelle que soit l'image) */
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.12) 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 0%, #000 34%, rgba(0,0,0,.55) 62%, rgba(0,0,0,.12) 92%, transparent 100%);
}
/* la borne de l'accueil porte son fondu dans l'image : sans masque, l'ombre portée n'est plus coupée net aux bords du cadre */
.wp-block-image.heros-objet img { -webkit-mask-image: none; mask-image: none; }

.wp-block-image.heros-avantplan {
  position: absolute; z-index: 3; right: -6%; bottom: -16%; width: 46vw; height: 46vh; margin: 0;
  mix-blend-mode: screen; opacity: .55; pointer-events: none;
  -webkit-mask-image: radial-gradient(ellipse at 60% 60%, #000 20%, transparent 70%);
          mask-image: radial-gradient(ellipse at 60% 60%, #000 20%, transparent 70%);
}
.wp-block-image.heros-avantplan img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.7) saturate(.6) blur(3px); }

.heros-texte { position: absolute; z-index: 4; left: var(--marge); top: 25%; max-width: 560px; }
.heros-texte .surtitre { margin-bottom: 34px; }
.heros-texte h1 { font-size: clamp(44px, 4vw, 72px); line-height: 1.02; letter-spacing: -.03em; }
.heros-intro { margin: 22px 0 34px; max-width: 25em; font-size: 16.5px; line-height: 1.65; color: rgba(237, 231, 222, .74); }

.heros-chiffres { position: absolute; z-index: 4; left: var(--marge); bottom: 17%; display: flex; }
.heros-chiffres li {
  display: flex; flex-direction: column; gap: 4px; padding: 0 28px; border-left: 1px solid var(--filet);
  font-family: var(--large); font-stretch: 112%; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); line-height: 1.6;
}
.heros-chiffres li:first-child { padding-left: 0; border-left: 0; }
.heros-chiffres strong { font-weight: 600; font-size: 13px; letter-spacing: .1em; color: var(--creme); }

.heros-index {
  position: absolute; z-index: 4; right: var(--marge); top: 23%;
  display: flex; flex-direction: column; gap: 14px;
  padding-left: 22px; border-left: 1px solid var(--filet-fort);
}
.heros-index p { font-size: 11px; line-height: 1.6; }
.heros-index a { font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .14em; color: rgba(237, 231, 222, .4); position: relative; display: inline-block; }
.heros-index .actif a { color: var(--creme); font-weight: 600; padding-bottom: 12px; }
.heros-index .actif a::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 3px; height: 3px; border-radius: 50%; background: var(--creme); translate: -50% 0; }

.heros-cote {
  position: absolute; z-index: 4; right: calc(var(--marge) + 6px); top: 52%;
  font-family: var(--large); font-stretch: 125%; font-size: 10.5px; letter-spacing: .3em; line-height: 2.1;
  text-transform: uppercase; color: rgba(237, 231, 222, .62);
}
.heros-cote::after { content: ""; display: block; width: 30px; height: 1px; background: var(--filet-fort); margin-top: 14px; }

.heros-defiler {
  position: absolute; z-index: 4; left: var(--marge); bottom: 5%;
  padding-left: 20px; border-left: 1px solid var(--filet-fort); line-height: 3;
  font-family: var(--large); font-stretch: 112%; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: rgba(237, 231, 222, .6);
}

.heros-vignette {
  position: absolute; z-index: 4; right: var(--marge); bottom: 5%;
  display: flex; align-items: center; gap: 26px;
}
.wp-block-image.vignette-img { position: relative; width: 158px; height: 96px; border: 1px solid var(--filet-fort); border-radius: var(--rayon); overflow: hidden; margin: 0; }
.wp-block-image.vignette-img a { display: block; height: 100%; }
.wp-block-image.vignette-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.72) sepia(.3) contrast(1.06) brightness(.84); }
.wp-block-image.vignette-img::after {
  content: ""; position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--filet-fort); background: rgba(11,10,9,.35) var(--lecture) 12px center / 8px 10px no-repeat; backdrop-filter: blur(3px); pointer-events: none;
}
.vignette-txt { width: 170px; font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.vignette-sur { font-size: 9.5px; font-weight: 400; letter-spacing: .2em; color: var(--taupe); }
.vignette-lien a { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ---------- 01 Borne ---------- */

.borne {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: 170px var(--marge) 160px;
  align-items: center;
}
.borne-visuels { grid-column: 1 / 7; position: relative; padding: 70px 0 90px; }
.numero-geant {
  position: absolute; z-index: 0; top: -40px; right: -6%;
  font-family: var(--large); font-weight: 900; font-size: clamp(180px, 22vw, 380px); line-height: .8; letter-spacing: -.05em;
  opacity: .9;
}
.wp-block-image.borne-photo-a { position: relative; z-index: 1; width: 78%; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; margin: 0; }
.wp-block-image.borne-photo-b {
  position: absolute; z-index: 2; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; margin: 0;
  border-radius: var(--rayon); overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,.6); outline: 10px solid var(--noir);
}
.borne-legende {
  position: absolute; z-index: 2; left: 0; bottom: 30px;
  font-family: var(--large); font-stretch: 125%; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe);
}

.borne-texte { grid-column: 8 / 13; }
.borne-texte h2 { margin: 28px 0 24px; font-size: clamp(32px, 3.1vw, 50px); line-height: 1.08; }
.liste-filets { margin: 44px 0 46px; border-top: 1px solid var(--filet); counter-reset: filet; }
.liste-filets li {
  counter-increment: filet;
  display: grid; grid-template-columns: 48px 1fr; column-gap: 8px;
  padding: 18px 0; border-bottom: 1px solid var(--filet);
}
.liste-filets li::before { content: counter(filet, decimal-leading-zero); grid-row: span 2; font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .14em; color: var(--taupe); padding-top: 4px; }
.liste-filets strong { font-weight: 600; font-size: 16.5px; }
.liste-filets em { font-style: normal; font-size: 14.5px; color: rgba(237, 231, 222, .58); }

/* ---------- 02 Matériel ---------- */

.materiel { padding: 40px var(--marge) 150px; position: relative; }
.materiel-tete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; }
.materiel-tete .surtitre { grid-column: 1 / -1; }
.mot-geant {
  grid-column: 1 / -1; margin: 0 0 0 -.04em; padding-top: .16em;
  font-family: var(--large); font-weight: 900; font-stretch: 100%;
  font-size: clamp(56px, 16.4vw, 300px); line-height: .8; letter-spacing: -.045em; text-transform: uppercase; white-space: nowrap;
  background-size: 260px, 700px, 100% 100%;
}
.materiel-intro { grid-column: 7 / 13; margin-top: 44px; }
.materiel-intro h2 { font-size: clamp(26px, 2.3vw, 36px); line-height: 1.15; margin-bottom: 16px; }
.materiel-intro p { color: rgba(237, 231, 222, .62); max-width: 30em; }

.materiel-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 90px; }
.carte .wp-block-image { aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; margin: 0 0 26px; }
.carte .wp-block-image img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.carte:hover .wp-block-image img { transform: scale(1.04); }
.carte-num { font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; color: var(--taupe); padding-bottom: 14px; border-bottom: 1px solid var(--filet); margin-bottom: 18px; }
.carte h3 { font-size: 24px; margin-bottom: 10px; }
.carte > p:not(.carte-num):not(.lien) { font-size: 15px; color: rgba(237, 231, 222, .6); margin-bottom: 22px; max-width: 26em; }
.carte-decalee { margin-top: 120px; }

/* ---------- 03 Événements ---------- */

.evenements { padding: 150px var(--marge) 160px; background: var(--charbon); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.evenements-tete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; margin-bottom: 70px; }
.evenements-tete .surtitre { grid-column: 1 / 6; align-self: start; padding-top: 14px; }
.evenements-tete h2 { grid-column: 6 / 13; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.1; }

.evenements-corps { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 56px; align-items: stretch; }
.evenements-liste { border-top: 1px solid var(--filet); }
.evt {
  display: grid; grid-template-columns: 70px 1fr; align-items: center; column-gap: 10px;
  padding: 22px 0 20px; border-bottom: 1px solid var(--filet); cursor: pointer; outline: none;
}
.evt-num { font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; color: var(--taupe); align-self: start; padding-top: 1.1em; }
.evt-mot {
  font-family: var(--large); font-weight: 900; font-size: clamp(40px, 5.4vw, 96px); line-height: .9; letter-spacing: -.035em; text-transform: uppercase;
  padding-top: .12em; color: #2b2621; transition: color .3s;
  background-size: 260px, 700px, 100% 100%;
}
.evt:hover .evt-mot, .evt:focus-visible .evt-mot { color: #4b423a; }
.evt.actif .evt-mot { color: transparent; }
.evt-desc { grid-column: 2; max-height: 0; overflow: hidden; opacity: 0; font-size: 15px; color: rgba(237, 231, 222, .62); transition: max-height .4s, opacity .4s, margin .4s; }
.evt.actif .evt-desc { max-height: 3em; opacity: 1; margin-top: 12px; }

.evenements-photos { position: relative; min-height: 520px; border-radius: var(--rayon); overflow: hidden; }
.wp-block-image.evt-photo { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; margin: 0; }
.wp-block-image.evt-photo.actif { opacity: 1; }
.wp-block-image.evt-photo img { transform: scale(1.03); transition: transform 6s linear; }
.wp-block-image.evt-photo.actif img { transform: scale(1.1); }

/* ---------- 04 Étapes ---------- */

.etapes { padding: 160px var(--marge) 150px; }
.etapes-tete { margin-bottom: 84px; }
.etapes-tete h2 { margin-top: 26px; font-size: clamp(40px, 4.6vw, 78px); line-height: 1; letter-spacing: -.03em; max-width: 12em; }
.etapes-tete .lien { margin-top: 27px; }
.etapes-liste { display: grid; grid-template-columns: repeat(4, 1fr); }
.etapes-liste > * { padding: 0 32px 10px; border-left: 1px solid var(--filet); }
.etapes-liste > :first-child { padding-left: 0; border-left: 0; }
.etape-num { display: block; font-size: clamp(56px, 5.4vw, 92px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: rgba(237, 231, 222, .9); margin-bottom: 48px; }
.etapes-liste h3 { font-size: 20px; margin-bottom: 12px; }
.etapes-liste p:not(.etape-num) { font-size: 15px; color: rgba(237, 231, 222, .6); }

/* ---------- Galerie (accueil) ---------- */

.galerie { padding: 40px var(--marge) 170px; }
.galerie-mosaique {
  display: grid; gap: 18px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, clamp(70px, 7.6vw, 124px));
}
.galerie-tete { grid-column: 1 / 5; grid-row: 1 / 3; display: flex; flex-direction: column; justify-content: space-between; padding-right: 20px; }
.galerie-tete h2 { font-size: clamp(36px, 3.7vw, 62px); line-height: 1; letter-spacing: -.03em; margin-top: 22px; }
.galerie-mosaique .wp-block-image { border-radius: var(--rayon); overflow: hidden; margin: 0; }
.galerie-mosaique .g1 { grid-column: 5 / 9; grid-row: 1 / 5; }
.galerie-mosaique .g2 { grid-column: 9 / 13; grid-row: 1 / 3; }
.galerie-mosaique .g3 { grid-column: 1 / 5; grid-row: 3 / 7; }
.galerie-mosaique .g4 { grid-column: 9 / 13; grid-row: 3 / 7; }
.galerie-mosaique .g5 { grid-column: 5 / 9; grid-row: 5 / 7; }

/* ---------- Appel « Votre date ? » (bloc commun) ---------- */

.contact {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: 940px; padding: 170px var(--marge) 140px;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
}
.wp-block-image.contact-fond { position: absolute; inset: 0; z-index: -2; margin: 0; }
.wp-block-image.contact-fond img { filter: grayscale(.6) sepia(.45) brightness(.4) blur(2px); }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to bottom, var(--noir) 0%, rgba(11,10,9,.55) 35%, rgba(11,10,9,.75) 75%, var(--noir) 100%); }
.contact-geant {
  position: absolute; z-index: -1; left: calc(var(--marge) - .05em); top: 40px; padding-top: .14em;
  font-family: var(--large); font-weight: 900; font-size: clamp(64px, 15vw, 270px); line-height: .82; letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap;
  background-size: 260px, 700px, 100% 100%; opacity: .85;
}
.contact-texte { grid-column: 1 / 7; }
.contact-texte h2 { margin: 26px 0 20px; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.06; }
.contact-texte .chapo { margin-bottom: 36px; }
.contact-coord { grid-column: 8 / 13; border-top: 1px solid var(--filet-fort); }
.contact-coord > * { display: flex; flex-direction: column; padding: 24px 0; border-bottom: 1px solid var(--filet); }
.coord-titre { font-family: var(--large); font-stretch: 125%; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 8px; line-height: 1.6; }
.coord-valeur { font-size: clamp(24px, 2.3vw, 36px); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.coord-valeur a:hover { color: #fff; }

/* ---------- Pied de page ---------- */

.pied { padding: 80px var(--marge) 34px; border-top: 1px solid var(--filet); }
.pied-haut { display: grid; grid-template-columns: auto 1.4fr 1fr 1fr 1fr; gap: 48px; align-items: start; }
.pied .logo { justify-self: start; }
.pied-accroche { max-width: 22em; font-size: 14.5px; color: rgba(237, 231, 222, .55); }
.pied-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.pied-titre { font-family: var(--large); font-stretch: 125%; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 6px; line-height: 1.6; }
.pied-col a { color: rgba(237, 231, 222, .82); }
.pied-col a:hover { color: #fff; }
.pied-bas { display: flex; justify-content: space-between; margin-top: 80px; padding-top: 24px; border-top: 1px solid var(--filet); font-family: var(--large); font-stretch: 112%; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.pied-legal { display: flex; flex-wrap: wrap; gap: 6px 28px; }
.pied-legal a:hover { color: var(--creme); }

/* =========================================================
   Pages internes — mêmes dispositifs que l'accueil
   ========================================================= */

/* ---------- En-tête de page ---------- */

.page-tete {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: min(100vh, 900px);
  padding: 200px var(--marge) clamp(150px, 15vw, 260px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start;
}
.wp-block-image.page-tete-fond { position: absolute; inset: -4%; z-index: -3; margin: 0; }
.wp-block-image.page-tete-fond img { filter: grayscale(.6) sepia(.45) brightness(.3) blur(8px); transform: scale(1.06); }
.page-tete::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse 60% 70% at 62% 40%, transparent 0%, rgba(11,10,9,.55) 60%, rgba(11,10,9,.95) 100%),
    linear-gradient(to bottom, rgba(11,10,9,.85) 0%, transparent 24%, transparent 72%, var(--noir) 100%);
}
.page-tete::after { /* faisceau de lumière */
  content: ""; position: absolute; z-index: -1; top: -40%; left: 58%;
  width: 22vw; height: 120%;
  background: linear-gradient(to bottom, rgba(255, 238, 214, .6), rgba(255, 238, 214, .12) 55%, transparent 82%);
  transform: rotate(26deg); transform-origin: top center;
  filter: blur(38px); mix-blend-mode: screen; pointer-events: none;
}
.page-tete-texte { grid-column: 1 / 7; position: relative; z-index: 3; }
.fil {
  margin-bottom: 44px; word-spacing: .3em;
  font-family: var(--large); font-stretch: 112%; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe);
}
.fil a { color: rgba(237, 231, 222, .8); margin-right: .4em; }
.fil a:hover { color: #fff; }
.page-tete h1 { margin: 28px 0 22px; font-size: clamp(42px, 4.3vw, 74px); line-height: 1.03; letter-spacing: -.03em; }
.page-tete .chapo { margin-bottom: 36px; }
.page-geant {
  position: absolute; z-index: 1; left: calc(var(--marge) - .05em); bottom: -.1em;
  padding-top: .16em;
  font-family: var(--large); font-weight: 900; font-size: clamp(72px, 14.4vw, 270px); line-height: .8;
  letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap;
  background-size: 260px, 700px, 100% 100%;
}
.page-geant.page-geant--long { font-size: clamp(56px, 11.8vw, 230px); }
.wp-block-image.page-tete-photo {
  position: absolute; z-index: 2; right: var(--marge); bottom: clamp(70px, 7vw, 130px); width: 26vw; max-width: 460px; margin: 0;
  aspect-ratio: 3 / 4; border-radius: var(--rayon); overflow: hidden;
  box-shadow: 0 60px 100px rgba(0, 0, 0, .65);
}
.wp-block-image.page-tete-objet { position: absolute; z-index: 2; right: calc(var(--marge) + 7vw); top: 170px; width: clamp(220px, 22vw, 380px); margin: 0; }
.page-tete--courte { min-height: 0; padding-bottom: clamp(130px, 13vw, 230px); }

/* ---------- Colonnes à filets ---------- */

.colonnes { padding: 150px var(--marge); }
.colonnes-tete { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: 76px; }
.colonnes-tete .surtitre { grid-column: 1 / -1; margin-bottom: 26px; }
.colonnes-tete h2 { grid-column: 1 / 8; font-size: clamp(34px, 3.5vw, 58px); line-height: 1.05; }
.colonnes-tete > p:last-child { grid-column: 9 / 13; color: rgba(237, 231, 222, .62); }
.colonnes-grille { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--filet); }
.colonnes-grille > * { padding: 32px 30px 42px; border-left: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.colonnes-grille > :nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.col-num { display: block; margin-bottom: 52px; font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; color: var(--taupe); }
.colonnes-grille h3 { font-size: 19px; margin-bottom: 10px; }
.colonnes-grille p:not(.col-num) { font-size: 15px; color: rgba(237, 231, 222, .6); }
.colonnes--trois .colonnes-grille { grid-template-columns: repeat(3, 1fr); }
.colonnes--trois .colonnes-grille > :nth-child(4n + 1) { border-left: 1px solid var(--filet); padding-left: 30px; }
.colonnes--trois .colonnes-grille > :nth-child(3n + 1) { border-left: 0; padding-left: 0; }
.colonnes--sombre { background: var(--charbon); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }

/* ---------- Duo image / texte (miroir de la section borne) ---------- */

.borne-texte .chapo + .boutons { margin-top: 40px; }
.borne--inverse .borne-visuels { grid-column: 7 / 13; grid-row: 1; }
.borne--inverse .borne-texte { grid-column: 1 / 6; grid-row: 1; }
.borne--inverse .numero-geant { right: auto; left: -4%; }
.borne--inverse .wp-block-image.borne-photo-a { margin-left: auto; }
.borne--inverse .wp-block-image.borne-photo-b { right: auto; left: 0; }
.borne--inverse .borne-legende { left: auto; right: 0; }

/* ---------- Rangées alternées ---------- */

.rangees { padding: 60px var(--marge) 140px; }
.rangee {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
  padding: 80px 0; border-top: 1px solid var(--filet); position: relative;
}
.rangee:first-child { border-top: 0; }
.wp-block-image.rangee-photo { grid-column: 1 / 8; grid-row: 1; aspect-ratio: 16 / 11; border-radius: var(--rayon); overflow: hidden; margin: 0; }
.rangee-texte { grid-column: 9 / 13; grid-row: 1; position: relative; z-index: 2; }
.rangee:nth-child(even) .wp-block-image.rangee-photo { grid-column: 6 / 13; }
.rangee:nth-child(even) .rangee-texte { grid-column: 1 / 5; }
.rangee-num { font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); padding-bottom: 14px; border-bottom: 1px solid var(--filet); margin-bottom: 24px; }
.rangee-texte h2 { font-size: clamp(30px, 2.8vw, 46px); line-height: 1.08; margin-bottom: 18px; }
.rangee-texte .chapo { font-size: 16px; margin-bottom: 26px; }
.puces { margin-bottom: 34px; border-top: 1px solid var(--filet); }
.puces li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--filet); font-size: 15px; color: rgba(237, 231, 222, .78); }
.puces li::before { content: "—"; color: var(--taupe); }
.rangee-mot {
  grid-column: 1 / -1; grid-row: 1; position: relative; z-index: 1; margin: 0 0 -.34em -.04em; padding-top: .16em;
  font-family: var(--large); font-weight: 900; font-size: clamp(52px, 9.4vw, 170px); line-height: .8;
  letter-spacing: -.04em; text-transform: uppercase; white-space: nowrap; pointer-events: none;
  background-size: 260px, 700px, 100% 100%;
}
.rangee--geant .wp-block-image.rangee-photo, .rangee--geant .rangee-texte { grid-row: 2; z-index: 2; }
.rangee--geant .wp-block-image.rangee-photo { position: relative; aspect-ratio: 16 / 10; }
.rangee--geant .rangee-texte { padding-top: clamp(30px, 4vw, 70px); }

/* ---------- Bandeau photo ---------- */

.bandeau {
  position: relative; overflow: hidden; isolation: isolate;
  padding: 170px var(--marge) 150px;
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
}
.wp-block-image.bandeau-fond { position: absolute; inset: 0; z-index: -2; margin: 0; }
.wp-block-image.bandeau-fond img { filter: grayscale(.6) sepia(.45) brightness(.55); }
.bandeau::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to right, rgba(11,10,9,.9) 0%, rgba(11,10,9,.55) 55%, rgba(11,10,9,.8) 100%), linear-gradient(to bottom, var(--noir) 0%, transparent 25%, transparent 75%, var(--noir) 100%); }
.bandeau-texte { grid-column: 1 / 5; }
.bandeau-texte h2 { margin: 26px 0 20px; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.06; }
.bandeau-etapes { grid-column: 6 / 13; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--filet-fort); }
.bandeau-etapes > * { padding: 28px 26px 0; border-left: 1px solid var(--filet); }
.bandeau-etapes > :first-child { border-left: 0; padding-left: 0; }
.etape-sur { display: block; margin-bottom: 40px; font-family: var(--large); font-stretch: 125%; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); }
.bandeau-etapes h3 { font-size: 20px; margin-bottom: 10px; }
.bandeau-etapes p:not(.etape-sur) { font-size: 15px; color: rgba(237, 231, 222, .66); }

/* ---------- Questions fréquentes ---------- */

.faq { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 150px var(--marge); align-items: start; }
.faq-tete { grid-column: 1 / 5; position: sticky; top: 40px; }
.faq-tete h2 { margin: 26px 0 18px; font-size: clamp(34px, 3.4vw, 56px); line-height: 1.04; }
.faq-tete p:not(.surtitre) { color: rgba(237, 231, 222, .6); font-size: 15px; }
.faq-tete a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--filet-fort); }
.faq-liste { grid-column: 6 / 13; border-top: 1px solid var(--filet); }
.faq-item { border-bottom: 1px solid var(--filet); }
.faq-question {
  display: flex; justify-content: space-between; align-items: center; gap: 30px;
  padding: 26px 0; cursor: pointer;
  font: 500 19px/1.35 var(--sans); letter-spacing: -.01em; color: var(--creme);
}
.faq-question::after {
  content: ""; flex: none; width: 34px; height: 34px; border: 1px solid var(--filet-fort); border-radius: 50%;
  background:
    linear-gradient(var(--creme), var(--creme)) center / 11px 1px no-repeat,
    linear-gradient(var(--creme), var(--creme)) center / 1px 11px no-repeat;
}
.faq-item.ouvert .faq-question::after { background: linear-gradient(var(--creme), var(--creme)) center / 11px 1px no-repeat; }
.faq-question:focus-visible { outline: 1px solid var(--creme); outline-offset: 4px; }
.faq-reponse { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s; }
.faq-reponse > * { overflow: hidden; min-height: 0; }
.faq-reponse p { padding: 0 60px 28px 0; font-size: 15.5px; color: rgba(237, 231, 222, .66); max-width: 44em; }
.faq-item.ouvert .faq-reponse { grid-template-rows: 1fr; }

/* ---------- Galerie complète ---------- */

.mur-section { padding: 30px var(--marge) 160px; }
.filtres { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 50px; padding-bottom: 30px; border-bottom: 1px solid var(--filet); }
.filtre {
  display: inline-flex; align-items: center; height: 42px; padding: 0 18px; border: 1px solid var(--filet-fort); border-radius: var(--rayon); cursor: pointer;
  font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--creme);
}
.filtre:hover { border-color: var(--creme); }
.filtre.actif { background: var(--creme); color: #14110e; border-color: var(--creme); }
.mur { columns: 3; column-gap: 18px; }
.mur .wp-block-image { position: relative; break-inside: avoid; margin: 0 0 18px; border-radius: var(--rayon); overflow: hidden; }
.mur .wp-block-image.photo img { height: auto; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.mur .wp-block-image:hover img { transform: scale(1.03); }
.mur .wp-block-image .wp-element-caption {
  position: absolute; left: 14px; bottom: 12px; margin: 0; padding: 6px 10px; border-radius: var(--rayon);
  background: rgba(11, 10, 9, .6); backdrop-filter: blur(4px);
  font-family: var(--large); font-stretch: 112%; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--creme); line-height: 1.6;
}
.mur .wp-block-image.masque { display: none; }

/* ---------- Étapes détaillées ---------- */

.deroule { padding: 40px var(--marge) 120px; }
.deroule-etape { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 70px 0; border-top: 1px solid var(--filet); align-items: center; }
.deroule-etape:first-child { border-top: 0; }
.deroule-num {
  grid-column: 1 / 4; align-self: start; padding-top: .16em;
  font-family: var(--large); font-weight: 900; font-size: clamp(110px, 13vw, 230px); line-height: .8; letter-spacing: -.05em;
  background-size: 260px, 700px, 100% 100%;
}
.deroule-texte { grid-column: 4 / 9; }
.deroule-texte h2 { font-size: clamp(28px, 2.6vw, 42px); line-height: 1.1; margin-bottom: 16px; }
.deroule-texte .chapo { font-size: 16px; margin-bottom: 24px; }
.deroule-texte .puces { margin-bottom: 0; }
.wp-block-image.deroule-photo { grid-column: 10 / 13; aspect-ratio: 4 / 5; border-radius: var(--rayon); overflow: hidden; margin: 0; }

.listes { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 140px var(--marge); background: var(--charbon); border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.listes-tete { grid-column: 1 / 5; }
.listes-tete h2 { margin-top: 26px; font-size: clamp(32px, 3.2vw, 52px); line-height: 1.06; }
.listes-col { grid-column: span 4; }
.listes-col:nth-of-type(2) { grid-column: 5 / 9; }
.listes-col:nth-of-type(3) { grid-column: 9 / 13; }
/* WordPress annule la marge basse du dernier enfant d'un groupe (:root :where(.is-layout-flow) > :last-child) */
.listes .listes-col > .puces:last-child { margin-bottom: 34px; }
.listes-col h3 { font-family: var(--large); font-stretch: 125%; font-weight: 500; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--taupe); margin-bottom: 22px; }

/* ---------- Formulaire de devis (Contact Form 7) ---------- */

.devis { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 40px var(--marge) 150px; align-items: start; }
.devis-coord { grid-column: 1 / 5; position: sticky; top: 40px; }
.devis-coord h2 { margin: 26px 0 30px; font-size: clamp(30px, 2.8vw, 46px); line-height: 1.08; }
.devis-coord .contact-coord { margin-bottom: 30px; }
.devis-coord > p:last-child { font-size: 15px; color: rgba(237, 231, 222, .6); }
.devis .wpcf7 { grid-column: 6 / 13; }
.formulaire { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 28px; padding: 46px 44px 44px; background: var(--charbon); border: 1px solid var(--filet); border-radius: var(--rayon); }
.formulaire > fieldset.hidden-fields-container, .formulaire > div[style*="none"] { display: none; }
.formulaire-titre { grid-column: 1 / -1; font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.champ { display: flex; flex-direction: column; gap: 10px; min-width: 0; border: 0; margin: 0; padding: 0; }
.champ--large { grid-column: 1 / -1; }
.champ label, .champ-titre { font-family: var(--large); font-stretch: 125%; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--taupe); padding: 0; line-height: 1.6; }
.champ-titre { margin-bottom: 4px; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.champ input, .champ select, .champ textarea {
  width: 100%; padding: 10px 0 12px; background: transparent; border: 0; border-bottom: 1px solid var(--filet-fort); border-radius: 0;
  font: 400 16px/1.4 var(--sans); color: var(--creme); outline: none; transition: border-color .2s;
}
.champ select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--creme) 50%), linear-gradient(-45deg, transparent 50%, var(--creme) 50%); background-size: 5px 5px; background-position: right 6px center, right 1px center; background-repeat: no-repeat; padding-right: 20px; }
.champ select option { background: var(--charbon); color: var(--creme); }
.champ textarea { resize: vertical; min-height: 110px; height: 110px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--creme); }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(237, 231, 222, .3); }
.champ input[type="date"] { color-scheme: dark; }
.cases { display: flex; flex-wrap: wrap; gap: 10px; }
.cases .wpcf7-list-item { margin: 0; }
.cases label { position: relative; display: block; cursor: pointer; }
.cases input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.cases .wpcf7-list-item-label {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px;
  border: 1px solid var(--filet-fort); border-radius: var(--rayon);
  font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--creme);
  transition: background .2s, color .2s, border-color .2s;
}
.cases .wpcf7-list-item-label:hover { border-color: var(--creme); }
.cases input:checked + .wpcf7-list-item-label { background: var(--creme); color: #14110e; border-color: var(--creme); }
.cases input:focus-visible + .wpcf7-list-item-label { outline: 1px solid var(--creme); outline-offset: 3px; }
.formulaire-pied { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-top: 8px; position: relative; }
.formulaire-pied p { font-size: 13px; color: rgba(237, 231, 222, .5); max-width: 26em; }
.formulaire .wpcf7-submit {
  height: 52px; padding: 0 24px; border: 0; border-radius: var(--rayon); cursor: pointer;
  background: var(--creme); color: #14110e;
  font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s;
}
.formulaire .wpcf7-submit:hover { background: #fff; }
.formulaire .wpcf7-spinner { position: absolute; right: 0; bottom: -34px; margin: 0; background-color: var(--taupe); }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 12.5px; color: #e9b8a6; }
.formulaire .wpcf7-response-output { grid-column: 1 / -1; margin: 0 !important; padding: 18px 20px !important; border: 1px solid var(--filet-fort) !important; border-radius: var(--rayon); font-size: 15px; }
.formulaire.invalid .wpcf7-response-output, .formulaire.failed .wpcf7-response-output { border-color: #e9b8a6 !important; }
.formulaire.sent .wpcf7-response-output { border-color: var(--creme) !important; }

/* Formulaire du thème (code court [vadaclic_devis]) */
.devis .formulaire { grid-column: 6 / 13; }
.case { position: relative; }
.case input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.case span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--filet-fort); border-radius: var(--rayon);
  font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--creme);
  transition: background .2s, color .2s, border-color .2s;
}
.case span:hover { border-color: var(--creme); }
.case input:checked + span { background: var(--creme); color: #14110e; border-color: var(--creme); }
.case input:focus-visible + span { outline: 1px solid var(--creme); outline-offset: 3px; }
.champ .consentement {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  font-family: var(--sans); font-stretch: 100%; font-size: 14px; letter-spacing: 0; text-transform: none; line-height: 1.5; color: rgba(237, 231, 222, .72);
}
.champ .consentement input[type="checkbox"] { flex: none; width: 18px; height: 18px; margin: 2px 0 0; padding: 0; border: 0; accent-color: var(--creme); }
.champ .consentement a { color: var(--creme); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.champ-piege { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Calendrier des disponibilités (formulaire de devis) : tous les mois sont dans la page,
   app.js bascule « est-visible » (mois affiché) et « est-choisie » (jour sélectionné). */
.calendrier { display: flex; flex-direction: column; gap: 14px; max-width: 440px; padding: 18px 18px 16px; border: 1px solid var(--filet); border-radius: var(--rayon); background: rgba(11, 10, 9, .35); }
.cal-barre { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cal-nom { display: none; margin: 0; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.cal-nom.est-visible { display: block; }
.cal-nav { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex: none; padding: 0; border: 1px solid var(--filet-fort); border-radius: 50%; background: transparent; color: var(--creme); font-family: var(--sans); font-size: 20px; line-height: 1; cursor: pointer; }
.cal-nav:hover:not(:disabled) { border-color: var(--creme); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-mois { display: none; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-mois.est-visible { display: grid; }
.cal-entete { padding: 4px 0 6px; text-align: center; font-family: var(--large); font-stretch: 112%; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--taupe); }
.cal-jour { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border-radius: 4px; font-family: var(--sans); font-size: 14px; color: var(--creme); }
button.cal-jour { padding: 0; border: 1px solid rgba(237, 231, 222, .16); background: transparent; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
button.cal-jour:hover { border-color: var(--creme); }
button.cal-jour.est-choisie { background: var(--creme); border-color: var(--creme); color: #14110e; font-weight: 600; }
button.cal-jour:focus-visible { outline: 1px solid var(--creme); outline-offset: 2px; }
.cal-jour.est-passe { color: rgba(237, 231, 222, .2); }
.cal-jour.est-reservee { color: rgba(237, 231, 222, .38); background: repeating-linear-gradient(-45deg, rgba(237, 231, 222, .07) 0 4px, transparent 4px 8px); text-decoration: line-through; text-decoration-color: rgba(233, 184, 166, .8); }
.cal-legende { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 12.5px; color: rgba(237, 231, 222, .62); }
.cal-legende span { display: inline-flex; align-items: center; gap: 8px; }
.cal-legende span::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.cal-legende-libre::before { border: 1px solid rgba(237, 231, 222, .45); }
.cal-legende-reservee::before { background: repeating-linear-gradient(-45deg, rgba(237, 231, 222, .3) 0 2px, transparent 2px 4px); }
.cal-aide { margin: 0; font-size: 12.5px; color: rgba(237, 231, 222, .5); }
.champ-alerte { display: none; margin: 0; font-size: 13px; line-height: 1.45; color: #e9b8a6; }
.champ-alerte.est-visible { display: block; }
.formulaire { position: relative; }
.formulaire .bouton-envoi {
  display: inline-flex; align-items: center; gap: 14px; height: 52px; padding: 0 24px; border: 0; border-radius: var(--rayon); cursor: pointer;
  background: var(--creme); color: #14110e;
  font-family: var(--large); font-stretch: 112%; font-weight: 600; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s;
}
.formulaire .bouton-envoi::after { content: "→"; font-family: var(--sans); font-size: 16px; font-weight: 400; letter-spacing: 0; transition: transform .25s; }
.formulaire .bouton-envoi:hover { background: #fff; }
.formulaire .bouton-envoi:hover::after { transform: translateX(4px); }
.formulaire-merci.est-visible { display: block; }
.formulaire .champ.est-masque { display: none; }
.formulaire-erreur { border-color: #e9b8a6; }
.formulaire-merci a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages simples (blog, 404) ---------- */

.page-simple { padding: 200px var(--marge) 140px; max-width: 900px; }
.page-simple h1 { margin: 28px 0 22px; font-size: clamp(42px, 4.3vw, 74px); line-height: 1.03; letter-spacing: -.03em; }
.page-simple .chapo { margin-bottom: 36px; }
.page-simple .wp-block-post-title { font-size: 28px; margin: 40px 0 10px; }

/* ---------- Accessibilité ---------- */

:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 1px solid var(--creme); outline-offset: 3px; }

/* ---------- Responsive ---------- */

/* ---------- Texte légal (mentions légales, confidentialité) ---------- */

.texte-legal { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; padding: 120px var(--marge) 150px; }
.texte-legal > * { grid-column: 4 / 11; }
.texte-legal h2 {
  margin: 64px 0 18px; padding-top: 24px; border-top: 1px solid var(--filet);
  font-size: clamp(22px, 1.9vw, 30px); line-height: 1.2;
}
.texte-legal h2:first-child { margin-top: 0; }
.texte-legal p { margin-bottom: 16px; color: rgba(237, 231, 222, .74); }
.texte-legal p:last-child { margin-bottom: 0; }
.texte-legal a { color: var(--creme); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.texte-legal a:hover { text-decoration-color: var(--creme); }
.texte-legal strong { color: var(--creme); font-weight: 600; }
.texte-legal .puces { margin: 4px 0 20px; }

/* ---------- Bandeau cookies : masqué tant que app.js ne l'ouvre pas ---------- */

.panneau-cookies {
  display: none; position: fixed; z-index: 120; left: var(--marge); bottom: 24px;
  width: min(470px, calc(100% - 2 * var(--marge)));
  padding: 26px 28px 28px; background: var(--charbon); border: 1px solid var(--filet); border-radius: var(--rayon);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}
.panneau-cookies.est-visible { display: block; }
.panneau-cookies-titre { margin-bottom: 12px; font-family: var(--large); font-stretch: 112%; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--taupe); }
.panneau-cookies p:not(.panneau-cookies-titre) { font-size: 14px; line-height: 1.55; color: rgba(237, 231, 222, .78); }
.panneau-cookies p a { color: var(--creme); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.panneau-cookies .wp-block-buttons.boutons { margin-top: 22px; gap: 12px; }
.panneau-cookies .wp-block-button .wp-block-button__link { height: 46px; padding: 0 26px; cursor: pointer; }

@media (max-width: 1380px) {
  .entete-tel { display: none; }
  .wp-block-navigation.nav .wp-block-navigation__container { gap: 24px; }
}

@media (max-width: 1240px) {
  /* le menu passe dans le panneau de core/navigation dès 1240 px (le bloc ne le fait qu'à 600 px) */
  .entete nav.wp-block-navigation.nav { order: 3; margin-left: 0; }
  .entete .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .entete .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .entete::after { left: var(--marge); }
  .texte-legal > * { grid-column: 3 / 12; }
}

@media (max-width: 980px) {
  .entete-actions .wp-block-buttons { display: none; }

  .heros { height: auto; min-height: 0; max-height: none; padding: 150px var(--marge) 60px; display: flex; flex-direction: column; }
  .heros-geant { left: 50%; top: 120px; translate: -50% 0; font-size: 25vw; align-items: center; }
  .heros-geant .l1, .heros-geant .l3 { padding-left: 0; }
  .heros-geant::after { display: none; }
  .wp-block-image.heros-objet { position: relative; left: auto; top: auto; order: -1; width: 58%; margin: 24vw auto 18px; max-height: 96vw; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .wp-block-image.heros-objet img { filter: sepia(.4) saturate(.85) brightness(.8) contrast(1.1) drop-shadow(0 14px 10px rgba(0,0,0,.6)); } /* cadre rogné en mobile : ombre courte */
  .wp-block-image.heros-objet::before { display: none; } /* le halo serait rogné en rectangle par le cadre */
  .heros-texte, .heros-chiffres { position: relative; left: auto; top: auto; bottom: auto; }
  .heros-chiffres { margin-top: 44px; flex-wrap: wrap; row-gap: 16px; }
  .heros-index, .heros-cote, .heros-defiler, .heros-vignette, .wp-block-image.heros-avantplan { display: none; }
  .heros::after { width: 50vw; left: 40%; }

  .borne, .materiel-tete, .evenements-tete, .contact { display: block; }
  .borne { padding-top: 110px; padding-bottom: 100px; }
  .borne-visuels { margin-bottom: 40px; }
  .materiel-intro { margin-top: 20px; padding: 0; }
  .materiel-grille { grid-template-columns: 1fr; gap: 56px; margin-top: 56px; }
  .carte-decalee { margin-top: 0; }
  .evenements { padding: 100px var(--marge); }
  .evenements-tete h2 { margin-top: 22px; }
  .evenements-corps { grid-template-columns: minmax(0, 1fr); }
  .evenements-photos { min-height: 0; aspect-ratio: 4 / 3; order: -1; }
  .etapes { padding: 100px var(--marge); }
  .etapes-liste { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .etapes-liste > :nth-child(3) { padding-left: 0; border-left: 0; }
  .galerie-mosaique { grid-template-rows: auto repeat(6, 16vw); gap: 10px; }
  .galerie-tete { grid-column: 1 / -1; grid-row: 1; padding: 0 0 30px; }
  .galerie-mosaique .g1 { grid-row: 2 / 6; } .galerie-mosaique .g2 { grid-row: 2 / 4; } .galerie-mosaique .g3 { grid-column: 1 / 5; grid-row: 4 / 8; } .galerie-mosaique .g4 { grid-row: 4 / 8; } .galerie-mosaique .g5 { grid-row: 6 / 8; }
  .contact { padding-top: 220px; min-height: 0; }
  .contact-coord { margin-top: 60px; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied .logo, .pied .logo-pied, .pied-accroche { grid-column: span 2; }

  .page-tete { display: flex; flex-direction: column; min-height: 0; padding-top: 150px; padding-bottom: 70px; }
  .page-tete--courte { padding-bottom: 50px; }
  .texte-legal { padding: 70px var(--marge) 90px; }
  .texte-legal > * { grid-column: 1 / -1; }
  .page-tete-texte { order: 0; }
  .page-geant { position: relative; left: auto; bottom: auto; order: 1; margin: 48px 0 -.3em -.04em; font-size: 15vw; }
  .page-geant.page-geant--long { font-size: 11.8vw; }
  .page-tete--courte .page-geant { margin-bottom: 0; }
  .wp-block-image.page-tete-photo { order: 2; position: relative; right: auto; bottom: auto; width: 78%; max-width: none; margin: 0 0 0 auto; }
  .wp-block-image.page-tete-objet { order: 2; position: relative; right: auto; top: auto; width: 56%; margin: 0 auto; max-height: 96vw; overflow: hidden; -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
  .colonnes, .faq, .listes { padding-top: 100px; padding-bottom: 100px; }
  .colonnes-tete, .faq, .listes, .devis, .bandeau { display: block; }
  .colonnes-tete > p:last-child { margin-top: 20px; }
  .colonnes-grille, .colonnes--trois .colonnes-grille { grid-template-columns: 1fr 1fr; }
  .colonnes-grille > *, .colonnes--trois .colonnes-grille > :nth-child(n) { border-left: 1px solid var(--filet); padding-left: 24px; padding-right: 20px; }
  .colonnes-grille > :nth-child(odd), .colonnes--trois .colonnes-grille > :nth-child(odd) { border-left: 0; padding-left: 0; }
  .borne--inverse .borne-visuels { margin-bottom: 40px; }
  .numero-geant { right: 0; }
  .borne--inverse .numero-geant { left: 0; }
  .rangee, .deroule-etape { display: flex; flex-direction: column; align-items: stretch; padding: 56px 0; }
  .rangee-texte, .rangee--geant .rangee-texte { margin-top: 34px; padding-top: 0; }
  .rangee-mot { order: -1; margin-bottom: -.3em; }
  .bandeau-etapes { margin-top: 56px; }
  .faq-tete, .devis-coord { position: static; margin-bottom: 44px; }
  .mur { columns: 2; }
  .deroule-num { font-size: 32vw; margin-bottom: 20px; }
  .wp-block-image.deroule-photo { margin-top: 34px; aspect-ratio: 4 / 3; }
  .listes-col { margin-top: 50px; }
  .formulaire { padding: 34px 24px 30px; }
}

@media (max-width: 560px) {
  .heros-texte h1 { font-size: 46px; }
  .wp-block-button.bouton-plein .wp-block-button__link, .wp-block-button.bouton-contour .wp-block-button__link { height: 48px; padding: 0 18px; }
  .heros-chiffres li { padding: 0 16px; }
  .heros-chiffres li:last-child { padding-left: 0; border-left: 0; }
  .numero-geant { font-size: 44vw; top: -20px; right: 0; }
  .wp-block-image.borne-photo-a { width: 82%; }
  .wp-block-image.borne-photo-b { width: 50%; outline-width: 6px; }
  .etapes-liste { grid-template-columns: 1fr; }
  .etapes-liste > * { padding: 26px 0 0; border-left: 0; border-top: 1px solid var(--filet); }
  .etape-num { margin-bottom: 20px; }
  .galerie-mosaique { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 46vw; }
  .galerie-mosaique .wp-block-image, .galerie-mosaique .galerie-tete { grid-column: auto; grid-row: auto; }
  .galerie-mosaique .galerie-tete, .galerie-mosaique .g1, .galerie-mosaique .g5 { grid-column: span 2; }
  .galerie-mosaique .galerie-tete { padding-bottom: 20px; }
  .evt { grid-template-columns: 46px minmax(0, 1fr); }
  .evt-mot { font-size: 8.4vw; }
  .pied-haut { grid-template-columns: 1fr; }
  .pied .logo, .pied .logo-pied, .pied-accroche { grid-column: auto; }
  .wp-block-site-logo.logo-image img { width: 170px; }
  .pied-bas { flex-direction: column; gap: 8px; }
  .panneau-cookies { bottom: 16px; padding: 22px 20px; }
  .panneau-cookies .wp-block-button { flex: 1; }
  .panneau-cookies .wp-block-button .wp-block-button__link { width: 100%; justify-content: center; padding: 0 12px; }

  .page-tete h1 { font-size: 40px; }
  .page-geant { font-size: 16vw; }
  .page-geant.page-geant--long { font-size: 11.8vw; }
  .colonnes-grille, .colonnes--trois .colonnes-grille { grid-template-columns: 1fr; }
  .colonnes-grille > *, .colonnes--trois .colonnes-grille > :nth-child(n) { border-left: 0; padding: 26px 0 30px; }
  .col-num { margin-bottom: 22px; }
  .bandeau-etapes { grid-template-columns: 1fr; }
  .bandeau-etapes > * { border-left: 0; padding: 26px 0; border-bottom: 1px solid var(--filet); }
  .etape-sur { margin-bottom: 14px; }
  .faq-question { font-size: 17px; }
  .faq-reponse p { padding-right: 0; }
  .mur { columns: 1; }
  .formulaire { grid-template-columns: 1fr; }
  .rangee-mot { font-size: 10vw; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .heros-geant::after { animation: none; }
}
