/*
Theme Name: NH Productions
Theme URI: https://www.nhproductions.ca
Author: NH Productions
Description: Thème bloc sur mesure de NH Productions et du Festival Gospel Nations. Fond noir, titres Archivo étendu, accent rouge. Tout le contenu est composé de blocs natifs modifiables dans l'éditeur.
Version: 1.0.2
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nh-productions
Tags: block-theme, full-site-editing, one-column, custom-colors
*/

/* =========================================================
   NH Productions — maquette d'accueil (v2, référence « Amplify »)
   Registre relevé : fond quasi noir, deux familles
   (grotesque large très grasse pour les titres + grotesque
   neutre pour le texte), un seul accent rouge qui occupe
   du terrain (photo teintée, ruban incliné, numéros, contact),
   cartes sombres à angles vifs, filets fins, alignement à gauche.
   ========================================================= */

/* Polices hébergées avec le site (aucun appel à Google — Loi 25). */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-variable.woff2") format("woff2");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap;
  font-weight: 300 600;
  src: url("assets/fonts/inter-latin-variable.woff2") format("woff2");
}

:root {
  --fond: #070707;
  --carte: #0E0E0E;
  --carte-2: #141414;
  --ligne: #1C1C1C;
  --blanc: #F2F2F2;
  --gris: #8A8A8A;
  --gris-2: #5E5E5E;
  --rouge: #D00A0A;
  --bordeaux: #1E0404;

  --marge: 4.4vw;
  --t-section: 4.3vw;
  --t-ligne: 3.3vw;

  --display: "Archivo", "Arial Black", sans-serif;
  --texte: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--blanc);
  font-family: var(--texte);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure, figure.wp-block-image { margin: 0; }
/* Remise à zéro des marges automatiques de Gutenberg, à spécificité nulle
   (blockGap est déjà à 0 dans theme.json) : ne jamais écrire .wp-block-group > *. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Briques communes ---------- */
.texte { font-size: 13px; line-height: 1.9; color: var(--gris); }

.chiffre-romain {
  font-family: var(--display); font-stretch: 75%; font-weight: 300;
  font-size: clamp(22px, 2.1vw, 34px); line-height: 1;
  color: var(--rouge);
}
.sur-titre {
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--gris);
}

.carte { background: var(--carte); transition: background .3s; }
.carte:hover { background: var(--carte-2); }

/* Légende d'image en pastille noire (core/image + légende) */
:is(.affiche__image, .coulisses__image, .edition__image, .diaporama__diapo).wp-block-image figcaption.wp-element-caption {
  position: absolute; z-index: 2; left: 2.2vw; bottom: 2.2vw;
  margin: 0; padding: .85em 1.2em;
  background: #000; color: var(--blanc); text-align: left;
  font-size: 11px; font-weight: 500; line-height: 1;
}

/* ---------- Boutons (core/buttons + core/button) ----------
   La classe du bouton est posée sur div.wp-block-button : le style vise
   le lien intérieur, avec une spécificité qui dépasse le CSS des blocs. */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6vw; }
.wp-block-button { margin: 0; }
.wp-block-button .wp-block-button__link {
  display: inline-flex; align-items: center; text-decoration: none;
  background: none; color: inherit; border: 0; border-radius: 0; padding: 0;
  font: inherit; cursor: pointer;
}

/* Libellé + carré fléché (repris de « Start project ») */
.wp-block-button.bouton-carre .wp-block-button__link {
  gap: 1.2vw;
  font-family: var(--texte); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2;
  color: var(--blanc);
}
.wp-block-button.bouton-carre .wp-block-button__link::after {
  content: "↗"; flex: none;
  display: inline-grid; place-items: center;
  width: max(44px, 3.6vw); height: max(44px, 3.6vw);
  border: 1px solid var(--blanc);
  font-size: 16px; line-height: 1; letter-spacing: 0;
  transition: background .25s, color .25s;
}
.wp-block-button.bouton-carre .wp-block-button__link:hover::after { background: var(--blanc); color: #000; }

/* Carré fléché seul (commandes de carrousel : paragraphes rendus cliquables par le script) */
.carre-icone {
  display: inline-grid; place-items: center; flex: none;
  width: max(44px, 3.6vw); height: max(44px, 3.6vw);
  border: 1px solid var(--blanc);
  font-size: 16px; line-height: 1; cursor: pointer; user-select: none;
  transition: background .25s, color .25s, opacity .25s;
}
.carre-icone:hover { background: var(--blanc); color: #000; }
.carre-icone.est-desactive { opacity: .25; pointer-events: none; }

/* Bouton plein blanc (repris de « Send proposal ») */
.wp-block-button.bouton-plein .wp-block-button__link,
.bouton-formulaire {
  display: inline-grid; place-items: center;
  min-width: 15.7vw; min-height: max(46px, 3.4vw);
  padding: 0 2.4em;
  background: var(--blanc); color: #000; border: 0; border-radius: 0;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.2;
  cursor: pointer; transition: background .25s, color .25s;
}
.wp-block-button.bouton-plein .wp-block-button__link:hover,
.bouton-formulaire:hover { background: var(--rouge); color: var(--blanc); }
/* Bouton sans lien (ex. billetterie pas encore ouverte) : visible mais inerte */
.wp-block-button .wp-block-button__link:not([href]) { cursor: default; }
.wp-block-button.bouton-plein .wp-block-button__link:not([href]),
.wp-block-button.bouton-plein .wp-block-button__link:not([href]):hover { background: var(--carte-2); color: var(--gris); box-shadow: inset 0 0 0 1px #2A2A2A; }

/* Lien fléché */
.wp-block-button.lien-fleche .wp-block-button__link {
  gap: .6em;
  font-family: var(--texte); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; line-height: 1.4;
  color: var(--blanc);
}
.wp-block-button.lien-fleche .wp-block-button__link::after { content: "↗"; transition: transform .25s; }
.wp-block-button.lien-fleche .wp-block-button__link:hover::after { transform: translate(2px, -2px); }

/* ---------- Titres de section ---------- */
.section { padding: 10.8vw var(--marge) 0; }
.titre-section {
  display: flex; align-items: flex-end; gap: 0;
  padding-bottom: 2.6vw;
  border-bottom: 1px solid var(--ligne);
}
.titre-section__num {
  flex: none; width: 3.8vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 9px; line-height: 1; color: var(--rouge);
  padding-bottom: .3em;
}
.titre-section__texte {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: var(--t-section); line-height: .9; text-transform: uppercase; letter-spacing: -0.01em;
}

/* =========================================================
   EN-TÊTE
   ========================================================= */
.entete {
  position: absolute; inset: 0 0 auto 0; z-index: 20;
  display: flex; justify-content: space-between; align-items: center;
  padding: 2.6vw var(--marge) 0;
}
.marque { display: inline-flex; align-items: center; gap: .7em; }
.marque img { width: auto; height: 30px; }
.marque span {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1;
}
.entete__menu { display: none; }

.nav__liste { display: flex; gap: 3.3vw; }
.nav__liste > li { position: relative; }
.nav__liste a {
  display: flex; align-items: center; gap: .5em;
  font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
  color: #BDBDBD; transition: color .2s;
}
.nav__liste a:hover, .nav__liste a[aria-current="page"] { color: var(--blanc); }
.nav__chevron {
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
  transform: rotate(45deg); transition: transform .25s, margin .25s;
}
.nav__parent:hover .nav__chevron, .nav__parent:focus-within .nav__chevron { transform: rotate(225deg); margin-top: 3px; }
.nav__sous {
  position: absolute; top: 100%; right: -1.4em; min-width: 16em;
  padding-top: 1.2em;
  opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity .2s, translate .2s, visibility .2s;
}
.nav__sous::before { content: ""; position: absolute; inset: .6em 0 0; background: var(--carte); border: 1px solid var(--ligne); }
.nav__parent:hover .nav__sous, .nav__parent:focus-within .nav__sous { opacity: 1; visibility: visible; translate: 0 0; }
.nav__sous li { position: relative; }
.nav__sous a { justify-content: space-between; gap: 2em; padding: 1.1em 1.4em; color: var(--blanc); }
.nav__sous a span { color: var(--gris); }
.nav__sous li + li a { border-top: 1px solid var(--ligne); }

/* =========================================================
   HÉROS
   ========================================================= */
.heros {
  position: relative; overflow: hidden;
  min-height: max(600px, 51vw);
  display: flex; flex-direction: column;
  padding: 9.2vw var(--marge) 5vw;
  isolation: isolate;
}
.heros__fond { position: absolute; inset: 0; z-index: -1; background: #000; }
.wp-block-image.heros__fond img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 40%;
  filter: grayscale(1) contrast(1.15) brightness(1.05);
}
/* teinte rouge (multiplication) puis ombrage des bords.
   z-index explicite : l'image filtrée forme un contexte d'empilement
   et passerait sinon au-dessus du ::before. */
.heros__fond::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: radial-gradient(ellipse 60% 70% at 45% 28%, #ff3b4e 0%, #c40018 45%, #5a0008 100%);
  mix-blend-mode: multiply;
}
.heros__fond::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    linear-gradient(90deg, rgba(7,7,7,.96) 0%, rgba(7,7,7,.55) 22%, rgba(7,7,7,0) 45%, rgba(7,7,7,0) 70%, rgba(7,7,7,.45) 100%),
    linear-gradient(0deg, rgba(7,7,7,.9) 0%, rgba(7,7,7,0) 38%),
    linear-gradient(180deg, rgba(7,7,7,.75) 0%, rgba(7,7,7,0) 16%);
}

.heros__meta {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: start;
  font-size: 11px; font-weight: 500; color: #D6D6D6;
}
.heros__meta p:nth-child(2) { text-align: center; }
.heros__meta p:nth-child(3) { text-align: right; }

.heros__marque {
  margin: auto 0;
  padding: 2vw 0;
  text-align: center;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 9.2vw; line-height: .9; letter-spacing: -0.045em;
  text-transform: lowercase;
  background: linear-gradient(180deg, #FFFFFF 0%, #E4E4E4 45%, #9C9C9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.heros__bas { display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; }
.heros__texte { max-width: 420px; width: 29vw; font-size: 13px; line-height: 1.95; color: #E2E2E2; }

/* =========================================================
   01 · À L'AFFICHE
   ========================================================= */
.affiche {
  margin-top: 5.6vw;
  display: grid; grid-template-columns: 1.45fr 1fr; gap: 2.2vw;
}
.affiche__image { position: relative; min-height: 38vw; overflow: hidden; }
.wp-block-image.affiche__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.affiche__carte { padding: 2.6vw 2.6vw 2.8vw; display: flex; flex-direction: column; }

/* Diaporama photo (toutes les diapos sont dans la page, le script bascule .est-active) */
.diaporama { position: relative; overflow: hidden; background: #000; }
.diaporama__diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .9s ease; }
.diaporama__diapo.est-active { opacity: 1; z-index: 1; }
.wp-block-image.diaporama__diapo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.wp-block-image.diaporama__diapo.est-active img { transform: scale(1); }
.diaporama__commandes {
  position: absolute; z-index: 3; right: 2.2vw; bottom: 2.2vw;
  display: flex; align-items: center; gap: .6vw;
}
.diaporama__compteur {
  margin-right: 1vw;
  font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--blanc);
  font-variant-numeric: tabular-nums;
}
.diaporama__bouton { background: rgba(7,7,7,.45); }
/* Barre de progression : deux pseudo-éléments, aucun bloc vide */
.diaporama::before, .diaporama::after { content: ""; position: absolute; z-index: 3; left: 0; bottom: 0; height: 3px; }
.diaporama::before { right: 0; background: rgba(255,255,255,.14); }
.diaporama::after { width: 0; background: var(--rouge); }
.diaporama.est-en-cours::after { animation: progression var(--duree, 6s) linear forwards; }
@keyframes progression { from { width: 0; } to { width: 100%; } }
.affiche__carte .sur-titre { margin-top: 3vw; }
.affiche__titre {
  margin-top: .8vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 2.35vw; line-height: .95; text-transform: uppercase; letter-spacing: -0.01em;
}
.fiche { margin-top: 2.4vw; border-top: 1px solid var(--ligne); }
.fiche__ligne { display: flex; justify-content: space-between; align-items: baseline; gap: 2vw; padding: 1em 0; border-bottom: 1px solid var(--ligne); }
.fiche__cle { font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }
.fiche__valeur { font-size: 13px; font-weight: 500; text-align: right; }
.affiche__carte .texte { margin-top: 2vw; }
.wp-block-buttons.affiche__actions { margin-top: auto; padding-top: 2.4vw; justify-content: space-between; }

/* =========================================================
   RUBAN ROUGE INCLINÉ
   ========================================================= */
.ruban-zone { overflow: hidden; padding: 8vw 0 2vw; }
.ruban {
  width: 112vw; margin-left: -6vw;
  height: 9vw; min-height: 64px;
  display: flex; align-items: center;
  background: var(--rouge);
  border-top: 2px solid rgba(255,255,255,.55);
  border-bottom: 2px solid rgba(255,255,255,.55);
  transform: rotate(-2.6deg);
  overflow: hidden;
}
.ruban__piste {
  display: flex; gap: 5vw; width: max-content; padding-left: 5vw;
  animation: ruban 38s linear infinite;
}
.ruban__piste p {
  flex: none;
  font-family: var(--display); font-stretch: 125%; font-weight: 900;
  font-size: 3.7vw; line-height: 1; text-transform: uppercase; letter-spacing: -0.01em;
  color: #0A0A0A; white-space: nowrap;
}
@keyframes ruban { to { transform: translateX(-50%); } }

/* =========================================================
   02 · SERVICES — CARROUSEL
   ========================================================= */
.services { padding-right: 0; }
.services .titre-section { margin-right: var(--marge); }
.carrousel__commandes { margin-left: auto; display: flex; align-items: center; gap: .8vw; }
.carrousel__compteur {
  margin-right: 1.2vw;
  font-size: 11px; font-weight: 500; letter-spacing: .06em; color: var(--blanc);
  font-variant-numeric: tabular-nums;
}

.carrousel {
  margin-top: 5.6vw;
  display: flex; gap: 3vw;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 0;
  padding-right: var(--marge);
  scrollbar-width: none; outline: none;
}
.carrousel::-webkit-scrollbar { display: none; }
.service {
  flex: none; width: 27.4vw;
  scroll-snap-align: start;
  padding: 2.2vw 2.2vw 2.6vw;
  display: flex; flex-direction: column;
}
.service__image { aspect-ratio: 16 / 10; overflow: hidden; margin-bottom: 2.4vw; }
.wp-block-image.service__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.85); transition: filter .5s, transform .8s; }
.service:hover .wp-block-image.service__image img { filter: grayscale(0) brightness(.95); transform: scale(1.03); }
.service__titre {
  margin-top: 1.5vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(14px, 1.3vw, 20px); line-height: 1.1; text-transform: uppercase;
}
.service .texte { margin-top: 1.1vw; }
.service > .actions { margin-top: auto; padding-top: 1.8vw; }

/* =========================================================
   03 · LISTE GOSPEL NATIONS (repris de « Capabilities »)
   ========================================================= */
.liste { margin-top: 1vw; }
.liste__ligne {
  position: relative;
  display: grid; grid-template-columns: 5.6vw 1fr auto 3vw; align-items: center;
  padding: 3.6vw 0;
  border-bottom: 1px solid var(--ligne);
}
/* Flèche dessinée par le pseudo-élément ; le lien du titre couvre toute la ligne */
.liste__ligne::after { content: "↗"; justify-self: end; font-size: 18px; transition: transform .25s, color .25s; }
.liste__titre a::after { content: ""; position: absolute; inset: 0; }
.liste__num {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 9px; color: var(--rouge);
}
.liste__titre {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: var(--t-ligne); line-height: 1; text-transform: uppercase; letter-spacing: -0.005em;
  color: #D4D4D4; transition: color .25s, transform .35s;
}
.liste__puces { display: flex; gap: .8vw; }
.liste__puces li {
  padding: .9em 1.5em; border: 1px solid #262626; border-radius: 999px;
  font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #7A7A7A; line-height: 1.2;
}
.liste__ligne:hover .liste__titre { color: var(--blanc); transform: translateX(.8vw); }
.liste__ligne:hover::after { color: var(--rouge); transform: translate(3px, -3px); }
/* Ligne sans lien (ex. billetterie pas encore ouverte) : ni flèche ni survol */
.liste__ligne.est-inactif::after { visibility: hidden; }
.liste__ligne.est-inactif:hover .liste__titre { color: #D4D4D4; transform: none; }

/* =========================================================
   04 · EN COULISSES (repris de « The Lab »)
   ========================================================= */
.coulisses {
  margin-top: 5.6vw;
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.2vw;
  height: 41.6vw;
}
.coulisses__image { position: relative; overflow: hidden; }
.wp-block-image.coulisses__image img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1.2s; }
.wp-block-image.coulisses__image:first-child img { object-position: center 55%; }
.wp-block-image.coulisses__image:hover img { transform: scale(1.03); }
.coulisses__diaporama .wp-block-image.diaporama__diapo img { filter: grayscale(1) contrast(1.05); }

/* =========================================================
   05 · RÉALISATIONS (repris de « Selected works »)
   ========================================================= */
.oeuvres {
  margin-top: 5.6vw;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3.1vw;
}
.oeuvre {
  position: relative;
  display: grid; grid-template-columns: 7vw 1fr auto; align-items: center; gap: 1.7vw;
  padding: 2.2vw;
  min-height: 13.9vw;
}
.oeuvre__vignette { width: 7vw; height: 7vw; overflow: hidden; }
.wp-block-image.oeuvre__vignette img { width: 100%; height: 100%; object-fit: cover; }
.oeuvre__titre { font-size: 14px; font-weight: 600; line-height: 1.45; }
.oeuvre__titre a::after { content: ""; position: absolute; inset: 0; z-index: 1; } /* toute la carte est cliquable */
.oeuvre__annee { margin-top: .2em; font-size: 10px; font-weight: 600; color: var(--rouge); letter-spacing: .04em; }
.oeuvre__type { margin-top: .3em; font-size: 11.5px; line-height: 1.5; color: var(--gris); }
/* Barre de lecture décorative (pseudo-élément) */
.oeuvre__info::after {
  content: ""; display: block; margin-top: 1.1vw; height: 3px;
  background: linear-gradient(var(--rouge), var(--rouge)) 0 0 / var(--p, 40%) 100% no-repeat, #262626;
  transition: background-size .6s;
}
.oeuvre:nth-child(6n+1) { --p: 72%; } .oeuvre:nth-child(6n+2) { --p: 34%; } .oeuvre:nth-child(6n+3) { --p: 88%; }
.oeuvre:nth-child(6n+4) { --p: 12%; } .oeuvre:nth-child(6n+5) { --p: 56%; } .oeuvre:nth-child(6n+6) { --p: 40%; }
.oeuvre:hover .oeuvre__info::after { background-size: 100% 100%, auto; }
/* Bouton de lecture : cercle blanc et triangle, dessinés en CSS */
.oeuvre::after {
  content: ""; width: max(36px, 2.8vw); height: max(36px, 2.8vw); border-radius: 50%;
  background: var(--blanc) 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='%23000'/%3E%3C/svg%3E") 55% 50% / 10px 12px no-repeat;
  transition: transform .25s;
}
.oeuvre:hover::after { transform: scale(1.08); }

/* =========================================================
   ILS NOUS FONT CONFIANCE
   ========================================================= */
.confiance { padding-top: 11vw; }
.confiance__titre {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 10px; text-transform: uppercase; letter-spacing: .22em; color: #9A9A9A;
}
.confiance__grille {
  margin-top: 3.4vw;
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #151515; border-left: 1px solid #151515;
}
.confiance__grille li {
  display: grid; place-items: center; text-align: center;
  min-height: 10.1vw; padding: 1.5vw;
  border-right: 1px solid #151515; border-bottom: 1px solid #151515;
  font-size: clamp(12px, 1.05vw, 16px); text-transform: uppercase; letter-spacing: .02em; color: #7E7E7E;
  transition: color .25s, background .25s;
}
.confiance__grille li:hover { color: var(--blanc); background: #0B0B0B; }

/* =========================================================
   06 · CONTACT
   ========================================================= */
.contact {
  margin-top: 6vw;
  padding: 10vw var(--marge) 7vw;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4.4vw;
  background: linear-gradient(180deg, var(--fond) 0%, #0F0303 45%, var(--bordeaux) 100%);
}
.contact__gauche .titre-section__num { display: block; width: auto; }
.contact__titre {
  margin-top: 1vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 5.2vw; line-height: .92; letter-spacing: -0.03em;
  max-width: 6.2em;
}
.contact__gauche .texte { margin-top: 3.4vw; max-width: 28em; }
.contact__etiquette {
  margin-top: 3.4vw;
  font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--rouge);
}
.contact__courriel { margin-top: 1vw; font-size: clamp(18px, 1.85vw, 30px); font-weight: 500; letter-spacing: -0.01em; line-height: 1.25; }
.contact__courriel a { border-bottom: 2px solid rgba(242,242,242,.8); }
.contact__courriel a:hover { border-color: var(--rouge); }
.contact__tel { margin-top: 1.2vw; font-size: 14px; color: #CFCFCF; }

.formulaire { padding-top: 5.4vw; display: flex; flex-direction: column; gap: 1.4vw; align-items: flex-start; }
.champ { display: block; width: 100%; }
.champ input, .champ textarea {
  width: 100%; display: block;
  background: transparent; border: 0; border-bottom: 1px solid #3A3A3A;
  padding: 1.4em 0 1.1em;
  font: inherit; font-size: 13px; color: var(--blanc);
  resize: vertical; outline: none; transition: border-color .25s;
}
.champ textarea { min-height: 7.6vw; }
.champ input::placeholder, .champ textarea::placeholder { color: #777; }
.champ input:focus, .champ textarea:focus { border-color: var(--blanc); }
.formulaire .bouton-formulaire { margin-top: 1.6vw; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied {
  display: flex; justify-content: space-between; align-items: center; gap: 2vw; flex-wrap: wrap;
  padding: 2.6vw var(--marge);
  font-size: 11px; color: var(--gris-2);
}
.pied__liens { display: flex; gap: 2.2vw; flex-wrap: wrap; }
.pied__liens a { color: var(--blanc); font-weight: 600; }
.pied__liens a:hover { color: var(--rouge); }

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 900px) {
  :root { --marge: 6vw; --t-section: 8vw; --t-ligne: 5.9vw; }

  .entete { padding-top: 5vw; }
  .marque { position: relative; z-index: 31; }
  .marque span { font-size: 13px; }
  .entete__menu {
    display: block; position: relative; z-index: 31;
    font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  }
  .nav {
    position: fixed; inset: 0; z-index: 30; background: var(--fond);
    padding: 30vw var(--marge) 10vw; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
  }
  .entete.est-ouvert .nav { opacity: 1; visibility: visible; }
  .nav__liste { flex-direction: column; gap: 0; }
  .nav__liste > li { border-bottom: 1px solid var(--ligne); }
  .nav__liste > li > a {
    padding: 4.5vw 0;
    font-family: var(--display); font-stretch: 125%; font-weight: 800;
    font-size: 6.4vw; color: var(--blanc); letter-spacing: -0.01em;
  }
  .nav__chevron { display: none; }
  .nav__sous { position: static; opacity: 1; visibility: visible; translate: none; padding: 0 0 4vw; min-width: 0; }
  .nav__sous::before { display: none; }
  .nav__sous a { padding: 2.6vw 0; font-size: 12px; }
  .nav__sous li + li a { border-top: 0; }

  .heros { min-height: min(100svh, 820px); padding-top: 24vw; padding-bottom: 9vw; }
  .heros__meta { grid-template-columns: 1fr 1fr; row-gap: 2vw; }
  .heros__meta p:nth-child(2) { text-align: right; }
  .heros__meta p:nth-child(3) { grid-column: 1 / -1; text-align: left; }
  .heros__marque { font-size: 11.6vw; padding: 8vw 0; }
  .heros__bas { flex-direction: column; align-items: flex-start; gap: 7vw; }
  .heros__texte { width: auto; }

  .section { padding-top: 22vw; }
  .titre-section { padding-bottom: 4vw; flex-wrap: wrap; }
  .titre-section__num { width: 8vw; }
  .titre-section__texte { flex: 1 1 0; min-width: 0; }

  .affiche { grid-template-columns: 1fr; margin-top: 8vw; gap: 3vw; }
  .affiche__image { min-height: 64vw; }
  .affiche__carte { padding: 7vw 6vw; }
  .affiche__carte .sur-titre { margin-top: 7vw; }
  .affiche__titre { margin-top: 2vw; font-size: 7.4vw; }
  .fiche { margin-top: 6vw; }
  .affiche__carte .texte { margin-top: 5vw; }
  .wp-block-buttons.affiche__actions { padding-top: 7vw; gap: 5vw; flex-direction: column; align-items: stretch; }
  .wp-block-button.bouton-plein .wp-block-button__link, .bouton-formulaire { min-width: 0; width: 100%; }
  .affiche__actions .wp-block-button.bouton-carre .wp-block-button__link { width: 100%; justify-content: space-between; }

  .ruban-zone { padding: 16vw 0 4vw; }
  .ruban { height: 15vw; }
  .ruban__piste p { font-size: 7vw; }

  .carrousel__commandes { width: 100%; margin: 5vw 0 0 8vw; justify-content: flex-end; }
  .carrousel__compteur { margin-right: auto; }
  .carrousel { margin-top: 7vw; gap: 4vw; }
  .service { width: 80vw; padding: 5vw 5vw 6vw; }
  .service__image { margin-bottom: 6vw; }
  .service__titre { margin-top: 4vw; font-size: 17px; }
  .service .texte { margin-top: 3vw; }
  .service > .actions { padding-top: 6vw; }

  .liste__ligne { grid-template-columns: 8vw 1fr auto; row-gap: 3vw; padding: 6vw 0; }
  .liste__puces { grid-column: 2 / 3; grid-row: 2; gap: 2vw; }
  .liste__ligne::after { grid-column: 3; grid-row: 1; }

  .coulisses { grid-template-columns: 1fr; height: auto; margin-top: 8vw; gap: 3vw; }
  .coulisses__image, .coulisses__diaporama { height: 72vw; }
  :is(.affiche__image, .coulisses__image, .edition__image, .diaporama__diapo).wp-block-image figcaption.wp-element-caption { left: 4vw; bottom: 4vw; }

  .oeuvres { grid-template-columns: 1fr; gap: 3vw; margin-top: 8vw; }
  .oeuvre { grid-template-columns: 20vw 1fr auto; gap: 4vw; padding: 4.5vw; }
  .oeuvre__vignette { width: 20vw; height: 20vw; }
  .oeuvre__info::after { margin-top: 3vw; }

  .confiance { padding-top: 20vw; }
  .confiance__grille { grid-template-columns: repeat(2, 1fr); margin-top: 6vw; }
  .confiance__grille li { min-height: 24vw; padding: 3vw; font-size: 11px; }

  .contact { grid-template-columns: 1fr; margin-top: 22vw; padding: 14vw var(--marge); gap: 10vw; }
  .contact__titre { font-size: 12.5vw; margin-top: 3vw; }
  .contact__gauche .texte, .contact__etiquette { margin-top: 7vw; }
  .contact__courriel { margin-top: 2.5vw; }
  .contact__tel { margin-top: 3vw; }
  .formulaire { padding-top: 0; gap: 3vw; }
  .champ textarea { min-height: 30vw; }
  .formulaire .bouton-formulaire { margin-top: 5vw; }

  .pied { padding: 7vw var(--marge); flex-direction: column; align-items: flex-start; gap: 5vw; }
  .pied__liens { gap: 5vw; }
}

/* =========================================================
   PAGES INTÉRIEURES — composants partagés (phase 3)
   Même registre que l'accueil : rien de nouveau en couleur,
   en police ni en géométrie, seulement des assemblages.
   ========================================================= */

/* En-tête de page : photo teintée rouge (mêmes calques que le héros) */
.page-entete {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: max(480px, 36vw);
  display: flex; flex-direction: column;
  padding: 9.2vw var(--marge) 4.6vw;
}
.page-entete__corps {
  margin-top: auto; padding-top: 6vw;
  display: grid; grid-template-columns: 1fr minmax(260px, 29vw); align-items: end; gap: 4vw;
}
.page-entete__titre {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 7.4vw; line-height: .88; text-transform: uppercase; letter-spacing: -0.03em;
  background: linear-gradient(180deg, #FFFFFF 0%, #E4E4E4 45%, #9C9C9C 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .04em;
}
.page-entete__intro { font-size: 13px; line-height: 1.95; color: #E2E2E2; }
.page-entete__intro strong { color: var(--blanc); font-weight: 600; }
.page-entete--court { min-height: max(380px, 26vw); }
.page-entete--court .page-entete__titre { font-size: 5.6vw; }

/* Texte sur deux colonnes : accroche + paragraphes */
.texte-2col { margin-top: 5.6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 4.4vw; align-items: start; }
.accroche {
  font-family: var(--display); font-stretch: 125%; font-weight: 700;
  font-size: clamp(20px, 2vw, 32px); line-height: 1.18; letter-spacing: -0.015em;
}
.accroche em { font-style: normal; color: var(--rouge); }
.texte-2col .texte + .texte { margin-top: 1.4em; }
.texte-2col .fiche { margin-top: 2.4vw; }

/* Grilles de cartes sans image (repris de « Workflow ») */
.cartes { margin-top: 5.6vw; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3vw; }
.cartes--4 { grid-template-columns: repeat(4, 1fr); gap: 2.2vw; }
.cartes--2 { grid-template-columns: repeat(2, 1fr); }
.cartes > .carte { padding: 2.2vw 2.2vw 2.6vw; min-height: 21vw; display: flex; flex-direction: column; }
.carte__titre {
  margin-top: 3.2vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: clamp(14px, 1.3vw, 20px); line-height: 1.12; text-transform: uppercase;
}
.cartes .carte .texte { margin-top: 1.2vw; }
.cartes .carte > .actions { margin-top: auto; padding-top: 2vw; }
.carte__date { margin-top: 3.2vw; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--rouge); }
.carte__date + .carte__titre { margin-top: 1vw; }

/* Chiffres clés */
.chiffres { margin-top: 3vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2vw; }
.chiffre { padding: 2.2vw 2.2vw 2.4vw; }
.chiffre__valeur {
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 4.3vw; line-height: .9; letter-spacing: -0.02em;
}
.chiffre__libelle { margin-top: 1.4vw; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--gris); }

/* Bloc image + carte (services détaillés, billetterie), alternance possible */
.affiche--inverse { grid-template-columns: 1fr 1.45fr; }
.affiche--inverse > :first-child { order: 2; }
.affiche + .affiche { margin-top: 3vw; }
.wp-block-image.affiche__image--nb img { filter: grayscale(1) contrast(1.08) brightness(.9); transition: filter .6s; }
.affiche:hover .wp-block-image.affiche__image--nb img { filter: grayscale(0) brightness(.95); }
.affiche__carte .liste__puces { margin-top: 2vw; flex-wrap: wrap; }
[id] { scroll-margin-top: 3vw; }

/* Liste à puces simple dans une carte */
.points { margin-top: 1.8vw; border-top: 1px solid var(--ligne); }
.points li { position: relative; padding: 1em 0 1em 1.6em; border-bottom: 1px solid var(--ligne); font-size: 13px; line-height: 1.6; color: #CFCFCF; }
.points li::before { content: ""; position: absolute; left: 0; top: 1.55em; width: 6px; height: 6px; background: var(--rouge); }

/* Filtres (portfolio) */
.filtres { margin-top: 3.4vw; display: flex; flex-wrap: wrap; gap: .8vw; }
.filtres__bouton {
  cursor: pointer; user-select: none; line-height: 1.2;
  padding: .95em 1.7em; border: 1px solid #262626; border-radius: 999px;
  font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: #8A8A8A;
  transition: background .2s, color .2s, border-color .2s;
}
.filtres__bouton:hover { color: var(--blanc); border-color: #555; }
.filtres__bouton.est-actif { background: var(--blanc); border-color: var(--blanc); color: #000; }
.filtres + .oeuvres { margin-top: 3vw; }
.est-masque { display: none !important; }

/* Galerie d'images carrées */
.galerie { margin-top: 5.6vw; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.2vw; }
.galerie__item { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--carte); }
.wp-block-image.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.wp-block-image.galerie__item:hover img { transform: scale(1.04); }

/* Artistes (portraits N&B, couleur au survol) */
.artistes { margin-top: 5.6vw; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2.2vw 1.4vw; }
.artiste__photo { aspect-ratio: 3 / 4; overflow: hidden; background: var(--carte); }
.wp-block-image.artiste__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.06); transition: filter .5s; }
.artiste:hover .wp-block-image.artiste__photo img { filter: none; }
.artiste__nom { margin-top: 1vw; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }

/* Vidéos */
.videos { margin-top: 5.6vw; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 2.2vw; }
.video {
  position: relative; overflow: hidden; background: #000; min-height: 16vw;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2vw 2.2vw;
}
.video--grande { grid-row: span 2; min-height: 34vw; }
.video__image { position: absolute; inset: 0; }
.wp-block-image.video__image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) saturate(.9); transition: filter .5s, transform .8s; }
.video:hover .wp-block-image.video__image img { filter: brightness(.7); transform: scale(1.03); }
/* Voile sombre + bouton de lecture : pseudo-éléments, aucun bloc décoratif */
.video::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(7,7,7,.94) 0%, rgba(7,7,7,.45) 45%, rgba(7,7,7,.2) 100%); }
.video::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; translate: -50% -50%;
  width: max(52px, 5vw); height: max(52px, 5vw); border-radius: 50%;
  background: var(--blanc) 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='%23000'/%3E%3C/svg%3E") 56% 50% / 15px 18px no-repeat;
  transition: transform .25s; pointer-events: none;
}
.video:hover::after { transform: scale(1.08); }
.video__titre, .video__meta { position: relative; z-index: 2; }
.video__titre { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(14px, 1.3vw, 20px); text-transform: uppercase; line-height: 1.1; }
.video__titre a::after { content: ""; position: absolute; inset: -100vh -100vw; } /* toute la vignette est cliquable */
.video { isolation: isolate; }
.video__meta { margin-top: .5em; font-size: 11px; color: #CFCFCF; }

/* Éditions (page Gospel Nations) */
.editions { margin-top: 5.6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 3vw; }
.edition { display: flex; flex-direction: column; }
.edition__image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.wp-block-image.edition__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.edition:hover .wp-block-image.edition__image img { transform: scale(1.03); }
.edition__corps { padding: 2.4vw 2.4vw 2.6vw; display: flex; flex-direction: column; flex: 1; }
.edition__titre { margin-top: 1vw; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 2.35vw; line-height: .95; text-transform: uppercase; }
.edition .fiche { margin-top: 2vw; }
.edition__corps > .actions { margin-top: auto; padding-top: 2.2vw; }

/* Note encadrée (information à venir) */
.note { margin-top: 3vw; padding: 1.6vw 2.2vw; border-left: 3px solid var(--rouge); background: var(--carte); font-size: 13px; line-height: 1.8; color: #CFCFCF; }
.note strong { color: var(--blanc); font-weight: 600; }

/* Bandeau d'appel en bas de page */
.appel {
  margin-top: 10.8vw;
  padding: 8vw var(--marge) 7vw;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 4vw; flex-wrap: wrap;
  background: linear-gradient(180deg, var(--fond) 0%, #0F0303 45%, var(--bordeaux) 100%);
}
.appel__titre {
  margin-top: 1vw;
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 5.2vw; line-height: .92; letter-spacing: -0.03em; max-width: 9em;
}
.wp-block-buttons.appel__actions { gap: 2.4vw; }

/* Texte long (mentions légales, confidentialité) */
.prose { margin-top: 5.6vw; max-width: 46em; }
.prose h2 { margin-top: 3vw; font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: clamp(15px, 1.3vw, 20px); text-transform: uppercase; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 1em; font-size: 14px; line-height: 1.85; color: #BDBDBD; }
.prose ul { list-style: square; padding-left: 1.2em; }
.prose a { color: var(--blanc); border-bottom: 1px solid #555; }
.prose strong { color: var(--rouge); font-weight: 600; } /* passages « à compléter » */

.page-entete__actions { margin-top: 2.4vw; }
.champ select {
  width: 100%; display: block; appearance: none; -webkit-appearance: none;
  background: transparent; border: 0; border-bottom: 1px solid #3A3A3A; border-radius: 0;
  padding: 1.4em 0 1.1em; font: inherit; font-size: 13px; color: #CFCFCF; outline: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, #9A9A9A 50%), linear-gradient(135deg, #9A9A9A 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.champ select:focus { border-color: var(--blanc); }
.champ select option { background: var(--carte); color: var(--blanc); }
.note + .cartes { margin-top: 3vw; }
.carte .points { margin-top: 1.6vw; }
.chiffre-romain + .affiche__titre { margin-top: 3vw; }
.affiche__titre + .texte { margin-top: 1.6vw; }
.appel .titre-section__num { display: block; width: auto; }

/* Coulisses : la grande image peut être un diaporama */
.coulisses .diaporama { height: 100%; }

@media (max-width: 900px) {
  .page-entete { min-height: 560px; padding-top: 24vw; padding-bottom: 9vw; }
  .page-entete--court { min-height: 440px; }
  .page-entete__corps { grid-template-columns: 1fr; gap: 6vw; padding-top: 14vw; }
  .page-entete__titre { font-size: 11.4vw; }
  .page-entete--court .page-entete__titre { font-size: 7.4vw; }

  .texte-2col { grid-template-columns: 1fr; gap: 7vw; margin-top: 8vw; }
  .accroche { font-size: 22px; }
  .texte-2col .fiche { margin-top: 6vw; }

  .cartes, .cartes--4, .cartes--2 { grid-template-columns: 1fr; gap: 3vw; margin-top: 8vw; }
  .cartes > .carte { padding: 6vw 6vw 7vw; min-height: 0; }
  .carte__titre { margin-top: 6vw; font-size: 17px; }
  .cartes .carte .texte { margin-top: 3vw; }
  .cartes .carte > .actions { padding-top: 6vw; }
  .carte__date { margin-top: 6vw; }

  .chiffres { grid-template-columns: 1fr 1fr; gap: 3vw; margin-top: 8vw; }
  .chiffre { padding: 6vw 5vw; }
  .chiffre__valeur { font-size: 10vw; }
  .chiffre__libelle { margin-top: 3vw; }

  .affiche--inverse { grid-template-columns: 1fr; }
  .affiche--inverse > :first-child { order: 0; }
  .affiche + .affiche { margin-top: 10vw; }
  .affiche__carte .liste__puces { margin-top: 5vw; }
  .points { margin-top: 5vw; }

  .filtres { margin-top: 7vw; gap: 2vw; }
  .filtres + .oeuvres { margin-top: 5vw; }

  .galerie { grid-template-columns: 1fr 1fr; gap: 3vw; margin-top: 8vw; }
  .artistes { grid-template-columns: repeat(3, 1fr); gap: 5vw 3vw; margin-top: 8vw; }
  .artiste__nom { margin-top: 2vw; font-size: 10px; }

  .videos { grid-template-columns: 1fr; gap: 3vw; margin-top: 8vw; }
  .video, .video--grande { min-height: 56vw; grid-row: auto; }
  .video { padding: 5vw; }

  .editions { grid-template-columns: 1fr; gap: 6vw; margin-top: 8vw; }
  .edition__corps { padding: 6vw 6vw 7vw; }
  .edition__titre { font-size: 7.4vw; margin-top: 3vw; }
  .edition .fiche { margin-top: 5vw; }
  .edition__corps > .actions { padding-top: 6vw; }

  .note { margin-top: 7vw; padding: 5vw; }
  .chiffre-romain + .affiche__titre { margin-top: 6vw; }
  .affiche__titre + .texte { margin-top: 4vw; }

  .appel { margin-top: 22vw; padding: 14vw var(--marge); flex-direction: column; align-items: flex-start; gap: 8vw; }
  .appel__titre { font-size: 11vw; margin-top: 3vw; }
  .wp-block-buttons.appel__actions { gap: 6vw; width: 100%; }

  .prose { margin-top: 8vw; }
  .prose h2 { margin-top: 9vw; }
}

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


/* =========================================================
   COUCHE WORDPRESS — ajoutée à la suite du CSS de la maquette.
   Le CSS des blocs est imprimé APRÈS cette feuille : chaque
   surcharge est donc plus spécifique, jamais simplement plus tardive.
   ========================================================= */

/* Fond du site et enveloppe générale */
.wp-site-blocks { padding: 0; }
body .wp-block-buttons { gap: 1.6vw; }
.wp-block-post-content > * { max-width: none; }

/* La barre d'administration ne recouvre pas l'en-tête flottant */
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }

/* ---------- En-tête : logo + nom du site ---------- */
.entete .marque { display: flex; align-items: center; gap: .7em; }
.wp-block-image.marque__logo { margin: 0; }
.wp-block-image.marque__logo img { width: auto; height: 30px; }
.marque__nom.wp-block-site-title, .marque__nom.wp-block-site-title a {
  margin: 0; color: var(--blanc);
  font-family: var(--display); font-stretch: 125%; font-weight: 800;
  font-size: 15px; text-transform: uppercase; letter-spacing: -0.01em; line-height: 1;
}

/* ---------- Navigation principale (core/navigation) ---------- */
.wp-block-navigation.nav-principale { font-size: 11px; }
.wp-block-navigation.nav-principale .wp-block-navigation__container { gap: 3.3vw; }
.wp-block-navigation.nav-principale .wp-block-navigation-item__content {
  font-family: var(--texte); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
  color: #BDBDBD; transition: color .2s;
}
.wp-block-navigation.nav-principale .wp-block-navigation-item__content:hover,
.wp-block-navigation.nav-principale .est-courant > .wp-block-navigation-item__content,
.wp-block-navigation.nav-principale .current-menu-item > .wp-block-navigation-item__content { color: var(--blanc); }

/* Sous-menu Gospel Nations : panneau sombre (le bloc l'ouvre blanc par défaut) */
.wp-block-navigation.nav-principale:not(.has-background) .wp-block-navigation__submenu-container {
  background: var(--carte); border: 1px solid var(--ligne); color: var(--blanc);
  min-width: 16em; padding: 0; top: calc(100% + 1em); left: auto; right: -1.4em;
}
.wp-block-navigation.nav-principale .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 1.1em 1.4em; color: var(--blanc);
}
.wp-block-navigation.nav-principale .wp-block-navigation__submenu-container .wp-block-navigation-item + .wp-block-navigation-item {
  border-top: 1px solid var(--ligne);
}
.wp-block-navigation.nav-principale .wp-block-navigation__submenu-icon { color: #BDBDBD; margin-left: .4em; }
.wp-block-navigation.nav-principale .wp-block-navigation__submenu-icon svg { width: 9px; height: 9px; }

/* Panneau mobile : fond sombre forcé (le seul !important justifié du thème) */
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container-open,
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container-close { color: var(--blanc); }
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open {
  background-color: var(--fond) !important;
  color: var(--blanc) !important;
  padding: 24vw var(--marge) 10vw;
}
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 0; width: 100%; }
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--ligne); }
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
  padding: 4.5vw 0;
  font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 6.4vw; color: var(--blanc); letter-spacing: -0.01em;
}
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
  background: transparent; border: 0; padding: 0 0 4vw;
}
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item { border: 0; }
.wp-block-navigation.nav-principale .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  padding: 2.6vw 0; font-family: var(--texte); font-size: 12px; font-weight: 500; text-transform: uppercase;
}

/* ---------- Pied de page ---------- */
.pied__copie { color: var(--gris-2); }
.wp-block-navigation.pied__liens .wp-block-navigation__container { gap: 2.2vw; }
.wp-block-navigation.pied__liens .wp-block-navigation-item__content { font-size: 11px; font-weight: 600; color: var(--blanc); }
.wp-block-navigation.pied__liens .wp-block-navigation-item__content:hover { color: var(--rouge); }

/* ---------- Contact Form 7 aux couleurs du thème ---------- */
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .wpcf7-not-valid-tip { margin-top: .5em; font-size: 11px; color: var(--rouge); }
.formulaire .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output { margin: 1.6vw 0 0; padding: 1em 1.2em; border: 1px solid var(--ligne); font-size: 13px; color: var(--blanc); }
.wpcf7 form.sent .wpcf7-response-output { border-color: var(--blanc); }
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.failed .wpcf7-response-output { border-color: var(--rouge); }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .bouton-formulaire.wpcf7-submit { margin-top: 1.6vw; }
.formulaire label.champ { width: 100%; }

/* ---------- Liste des articles (gabarit index) ---------- */
.section--liste { padding-top: 14vw; }
.articles-liste { display: grid; gap: 3vw; }

@media (max-width: 900px) {
  .wp-block-navigation.nav-principale .wp-block-navigation__container { gap: 0; }
  .wp-block-navigation.pied__liens .wp-block-navigation__container { gap: 5vw; }
  .section--liste { padding-top: 34vw; }
}

/* WordPress annule la marge haute du premier enfant d'un groupe
   (:root :where(.is-layout-flow) > :first-child). La prose des pages
   légales est le premier enfant de sa section : on rétablit la marge de la maquette. */
.wp-block-group > .prose:first-child { margin-top: 5.6vw; }
@media (max-width: 900px) {
  .wp-block-group > .prose:first-child { margin-top: 8vw; }
}
