/*
Theme Name: Margouy'IA
Theme URI: https://margouy-ia.re
Author: Margouy'IA
Description: Thème bloc sur mesure pour Margouy'IA — automatisation et IA pour les artisans et TPE de La Réunion.
Version: 1.5.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: margouyia
*/

/* =========================================================
   Margouy'IA — feuille de style de la maquette
   Registre relevé sur la référence, couleurs prélevées sur le logo
   ========================================================= */

:root {
  /* Couleurs — prélevées sur le logo, structure de la référence */
  --encre:      #14100E;   /* bandes sombres, titres */
  --encre-doux: #241D18;   /* panneaux sombres encartés */
  --fond:       #F7F3EA;   /* fond clair tiède */
  --blanc:      #FFFDF9;   /* cartes */
  --bande:      #EDE3D4;   /* bande de couleur (ex-lavande de la référence) */
  --brique:     #8A2E1C;   /* accent unique */
  --brique-vif: #A83B24;   /* survol */
  --gris:       #6E6459;   /* texte courant */
  --gris-clair: #A79C8E;   /* texte secondaire */
  --trait:      #E2D8C8;   /* filets */
  --trait-sombre: #332A23;

  /* Grille */
  --large: 1280px;
  --gouttiere: 40px;
  --rayon: 14px;
  --rayon-s: 10px;
}

/* --------------------------------------------------- Socle */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--encre);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
:where(body) {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, .didone { margin: 0; }
:where(h1, h2, h3, .didone) {
  font-family: 'Bodoni Moda', 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-optical-sizing: auto;
  letter-spacing: -0.015em;
}

p { margin: 0; }

.enveloppe {
  max-width: var(--large);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}

/* --------------------------------------------------- Éléments récurrents */

/* Micro-label : 11 px, capitales, très espacé, accent */
.label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brique);
  line-height: 1.4;
}
.label--clair { color: var(--brique-vif); }

.label-point {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.label-point::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brique);
  flex: none;
}

/* Grille d'en-tête de section : label / titre / paragraphe (asymétrique) */
.entete {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr) minmax(0, 300px);
  gap: 40px;
  align-items: start;
}
.entete__titre {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.06;
  max-width: 13ch;
}
.entete__texte {
  color: var(--gris);
  font-size: 14px;
  line-height: 1.75;
  padding-top: 6px;
}

/* Quand l'en-tête n'a pas de paragraphe latéral, la troisième colonne reste
   vide et le titre se tasse pour rien. Dans ce cas il prend toute la largeur
   restante, à l'aplomb de l'image qui le précède. */
.entete:not(:has(.entete__texte)) .entete__titre {
  grid-column: 2 / -1;
  max-width: none;
}

/* En-tête centré : réservé aux bandes de couleur */
.entete-centre {
  text-align: center;
  display: grid;
  justify-items: center;
  gap: 22px;
}
.entete-centre h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
  max-width: 16ch;
}

/* Boutons */
.bouton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brique);
  color: #FFF6EE;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background .2s ease, transform .2s ease;
}
.bouton:hover { background: var(--brique-vif); transform: translateY(-1px); }

.lien-texte {
  font-size: 13px;
  font-weight: 500;
  padding: 14px 4px;
  border-bottom: 1px solid var(--encre);
  transition: opacity .2s ease;
}
.lien-texte:hover { opacity: .55; }

/* --------------------------------------------------- En-tête du site */

.site-entete {
  /* L'en-tête défile avec la page : c'est la barre flottante qui prend
     le relais dès qu'on remonte. Deux barres collées en haut de l'écran
     se superposeraient. */
  position: relative;
  z-index: 50;
  background: color-mix(in srgb, var(--fond) 88%, transparent);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}
.site-entete.est-colle { border-bottom-color: var(--trait); }

.site-entete__inte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.marque { display: flex; align-items: center; gap: 14px; }
.marque__pastille {
  width: 52px;
  height: 52px;
  flex: none;
  transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.marque:hover .marque__pastille { transform: rotate(-4deg) scale(1.04); }
.marque__mot { height: 28px; width: auto; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav li { display: block; }
.nav a {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--encre);
  padding: 10px 16px;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 6px;
  height: 1px;
  background: var(--brique);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.nav a:hover { color: var(--brique); }
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current] {
  color: var(--brique);
  background: color-mix(in srgb, var(--brique) 9%, transparent);
}
.nav a[aria-current]::after { transform: scaleX(1); }

.site-entete .bascule { display: none; }

/* --------------------------------------------------- Barre flottante
   Elle n'apparaît que lorsqu'on remonte la page, et s'efface dès qu'on
   redescend : on la trouve quand on la cherche, elle ne suit pas la
   lecture. Tout son contenu existe en permanence dans la page, le
   script ne fait que poser des classes (règle 7 de la méthode). */

.barre-flottante {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 90;
  background: color-mix(in srgb, var(--fond) 94%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--trait);
  transform: translateY(-101%);
  opacity: 0;
  visibility: hidden;
  transition:
    transform .5s cubic-bezier(.22,.61,.36,1),
    opacity .4s ease,
    visibility 0s linear .5s;
}
.barre-flottante.est-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition:
    transform .5s cubic-bezier(.22,.61,.36,1),
    opacity .4s ease,
    visibility 0s;
}

.barre-flottante__inte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 11px;
  padding-bottom: 11px;
}
.barre-flottante .marque__pastille { width: 38px; height: 38px; }
.barre-flottante .marque__mot { height: 20px; }

/* Les trois traits. */
.bascule {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color .25s ease;
}
.bascule:hover,
.bascule:focus-visible {
  background: color-mix(in srgb, var(--brique) 9%, transparent);
}
.bascule__trait {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0;
  font-size: 0;
  line-height: 0;
  border-radius: 2px;
  background: var(--encre);
  transform-origin: center;
  transition:
    transform .4s cubic-bezier(.22,.61,.36,1),
    opacity .25s ease,
    background-color .25s ease;
}
/* Au clic, les trois traits se replient en croix. */
.est-ouvert .bascule__trait { background: var(--brique); }
.est-ouvert .bascule__trait:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.est-ouvert .bascule__trait:nth-child(2) { opacity: 0; transform: scaleX(.3); }
.est-ouvert .bascule__trait:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Le volet qui se déroule sous la barre. Il est positionné par rapport
   à elle, jamais à la fenêtre : le flou d'arrière-plan de la barre en
   fait un bloc de référence, s'en servir évite le piège. */
.volet {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--fond);
  border-bottom: 1px solid var(--trait);
  padding: 6px 0 20px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition:
    opacity .3s ease,
    transform .4s cubic-bezier(.22,.61,.36,1),
    visibility 0s linear .4s;
}
.est-ouvert .volet {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity .3s ease,
    transform .4s cubic-bezier(.22,.61,.36,1),
    visibility 0s;
}

.nav-volet ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}
.nav-volet li { display: block; }
.nav-volet a {
  display: block;
  padding: 15px 2px;
  font-size: 17px;
  font-weight: 500;
  color: var(--encre);
  border-bottom: 1px solid var(--trait);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity .45s ease,
    transform .45s cubic-bezier(.22,.61,.36,1),
    color .2s ease;
}
.nav-volet li:last-child a { border-bottom: 0; }
.nav-volet a:hover { color: var(--brique); }
/* Les entrées arrivent l'une après l'autre, très légèrement décalées. */
.est-ouvert .nav-volet a { opacity: 1; transform: translateY(0); }
.est-ouvert .nav-volet li:nth-child(1) a { transition-delay: .05s; }
.est-ouvert .nav-volet li:nth-child(2) a { transition-delay: .10s; }
.est-ouvert .nav-volet li:nth-child(3) a { transition-delay: .15s; }
.est-ouvert .nav-volet li:nth-child(4) a { transition-delay: .20s; }

@media (prefers-reduced-motion: reduce) {
  .barre-flottante,
  .barre-flottante.est-visible,
  .volet,
  .est-ouvert .volet,
  .nav-volet a,
  .nav a,
  nav.nav,
  .bascule__trait { transition-duration: .01ms; }
  .est-ouvert .nav-volet a,
  .site-entete.est-ouvert .nav a { transition-delay: 0s; }
}

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

.heros { padding: 66px 0 0; }

/* Une seule ligne, en vw pour que ça reste vrai à toutes les largeurs.
   Calibré pour tenir dans le conteneur sans le déborder. */
.heros__titre {
  margin: 22px 0 0;
  font-size: 5.35vw;
  line-height: 1.04;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.heros__bas {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 60px;
  align-items: end;
  margin-top: 34px;
}

.heros__actions { justify-self: start; }

/* Tient sur deux lignes : la mesure est large et le texte court. */
.heros__chapeau {
  max-width: 68ch;
  color: var(--gris);
  font-size: 15.5px;
  line-height: 1.72;
}

.heros__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

/* Bandeau paysage sous le héros, légende en surimpression */
.heros__bandeau {
  position: relative;
  max-width: var(--large);
  margin: 58px auto 0;
  padding: 0 var(--gouttiere);
}
.heros__bandeau img {
  width: 100%;
  aspect-ratio: 22 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
}
.heros__bandeau figcaption {
  position: absolute;
  left: calc(var(--gouttiere) + 20px);
  bottom: 20px;
  background: var(--blanc);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  gap: 30px;
  padding: 13px 16px 12px;
}
.heros__bandeau figcaption p {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gris);
  max-width: 24ch;
}
.heros__bandeau .numero {
  font-size: 26px;
  line-height: 1;
  color: var(--encre);
}

/* --------------------------------------------------- Services */

.services { padding: 60px 0 110px; }

/* --------------------------------------------------- Carrousel des modules

   Les trois modules sont tous présents dans la page, superposés dans la même
   case de grille. Passer de l'un à l'autre ne déplace qu'une classe : rien
   n'est injecté, donc tout reste éditable une fois sous WordPress. */

.carrousel { margin-top: 64px; }

.carrousel__scene {
  display: grid;
  align-items: stretch;
}

.diapo {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 52px;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .6s cubic-bezier(.22, .7, .3, 1),
              transform .6s cubic-bezier(.22, .7, .3, 1),
              visibility 0s linear .6s;
}
.diapo.est-actif {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .6s cubic-bezier(.22, .7, .3, 1),
              transform .6s cubic-bezier(.22, .7, .3, 1),
              visibility 0s;
}

.diapo__visuel {
  margin: 0;
  border-radius: var(--rayon);
  overflow: hidden;
}
.diapo__visuel img {
  width: 100%;
  aspect-ratio: 13 / 10;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 1.1s cubic-bezier(.22, .7, .3, 1);
}
.diapo.est-actif .diapo__visuel img { transform: none; }

.diapo__num {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brique);
  margin-bottom: 16px;
}
.diapo__titre { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.1; }
.diapo__corps {
  margin-top: 20px;
  color: var(--gris);
  font-size: 14.5px;
  line-height: 1.75;
  max-width: 42ch;
}
.diapo__liste {
  margin: 26px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--trait);
  max-width: 42ch;
}
.diapo__liste li {
  position: relative;
  padding-left: 19px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gris);
}
.diapo__liste li + li { margin-top: 10px; }
.diapo__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brique);
}

/* Barre de commande */
.carrousel__barre {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 40px;
}

.carrousel__fleche {
  width: 42px; height: 42px;
  flex: none;
  border: 1px solid var(--trait);
  border-radius: 50%;
  background: transparent;
  color: var(--encre);
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.carrousel__fleche:hover {
  border-color: var(--brique);
  color: var(--brique);
  background: color-mix(in srgb, var(--brique) 7%, transparent);
}
.carrousel__fleche:focus-visible {
  outline: 2px solid var(--brique);
  outline-offset: 3px;
}

.carrousel__points { display: flex; align-items: center; gap: 10px; }
.point {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--trait);
  cursor: pointer;
  transition: background-color .3s ease, width .35s cubic-bezier(.22, .7, .3, 1);
}
.point:hover { background: var(--gris-clair); }
.point.est-actif { background: var(--brique); width: 52px; }
.point:focus-visible { outline: 2px solid var(--brique); outline-offset: 4px; }

/* --------------------------------------------------- Bande : position */

.bande-position {
  background: var(--bande);
  padding: 96px 0;
}

.panneau {
  background: var(--encre);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
  color: #F3EDE4;
}
.panneau__visuel { margin: 0; }
.panneau__visuel img {
  width: 100%;
  aspect-ratio: 10 / 11;
  object-fit: cover;
  border-radius: 12px;
}
.panneau__texte { padding: 26px 46px 26px 8px; }
.panneau__titre {
  font-size: clamp(26px, 3.1vw, 42px);
  line-height: 1.1;
  margin-top: 20px;
  max-width: 17ch;
}
.panneau__texte p.corps {
  margin-top: 22px;
  color: #BFB3A4;
  font-size: 14px;
  max-width: 44ch;
}
/* Sur fond sombre, le gras doit s'éclaircir, pas s'assombrir */
.panneau__texte p.corps strong { color: #F3EDE4; font-weight: 500; }
.panneau .label { color: #C9744F; }

/* --------------------------------------------------- Capacités */

.packs { padding: 64px 0 110px; }

/* « Nos packs » porte la section : pas de gros titre au-dessus qui
   lui prendrait la place. */
.packs__entete {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.packs__titre {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1;
}

/* Le texte d'explication passe sous les cartes */
.packs__note {
  margin: 44px auto 0;
  max-width: 62ch;
  text-align: center;
  color: var(--gris);
  font-size: 14.5px;
  line-height: 1.78;
}
.packs__note strong { color: var(--encre); font-weight: 500; }

.packs__grille {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pack {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  transition: border-color .3s ease, transform .35s cubic-bezier(.2,.7,.3,1),
              box-shadow .35s ease;
}
.pack:hover {
  border-color: var(--brique);
  transform: translateY(-4px);
  box-shadow: 0 16px 38px -26px rgba(20, 16, 14, .45);
}

.pack__haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.pack__num {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--brique);
}
.pack__plus {
  width: 21px; height: 21px;
  border: 1px solid var(--trait);
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--gris-clair);
  line-height: 1;
  transition: border-color .3s ease, color .3s ease, transform .3s ease;
}
.pack:hover .pack__plus {
  border-color: var(--brique);
  color: var(--brique);
  transform: rotate(90deg);
}

.pack__nom {
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
}
.pack__role {
  margin-top: 7px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-clair);
}
.pack__texte {
  margin-top: 18px;
  color: var(--gris);
  font-size: 14px;
  line-height: 1.72;
}
.pack__liste {
  margin: 22px 0 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--trait);
}
.pack__liste li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gris);
}
.pack__liste li + li { margin-top: 9px; }
.pack__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brique);
}

/* --------------------------------------------------- Bande sombre : méthode */

.methode {
  background: var(--encre);
  color: #F3EDE4;
  padding: 108px 0 0;
}

.methode__grille {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 90px;
  align-items: start;
}

/* La colonne de gauche accompagne la lecture des étapes */
.methode__colonne {
  position: sticky;
  top: 128px;
  align-self: start;
}
.methode__titre {
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.08;
  margin-top: 20px;
  max-width: 14ch;
}
.methode__intro {
  margin-top: 22px;
  color: #9E9285;
  font-size: 14px;
  max-width: 34ch;
}
.methode .label { color: #C9744F; }

/* Fil conducteur plutôt que tableau : un trait relie les six étapes,
   chacune respire, et rien n'est enfermé dans une bordure. */
.etape {
  position: relative;
  padding: 0 0 48px 78px;
}
.etape:last-child { padding-bottom: 0; }

.etape::before {
  content: '';
  position: absolute;
  left: 21px;
  top: 46px;
  bottom: 2px;
  width: 1px;
  background: linear-gradient(to bottom, var(--trait-sombre), transparent);
}
.etape:last-child::before { display: none; }

.etape__num {
  position: absolute;
  left: 0;
  top: 0;
  width: 43px;
  height: 43px;
  border: 1px solid var(--trait-sombre);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--brique-vif);
  background: var(--encre);
  transition: border-color .4s ease, color .4s ease;
}
.etape.est-vu .etape__num { border-color: var(--brique); }

.etape__nom {
  font-size: 25px;
  line-height: 1.16;
  padding-top: 7px;
}
.etape__texte {
  margin-top: 12px;
  color: #948879;
  font-size: 14.5px;
  line-height: 1.8;
  max-width: 46ch;
}

/* Variante claire — page Services, où le noir appartient aux packs */
.methode--clair {
  background: var(--fond);
  color: var(--encre);
  padding: 104px 0 0;
}
.methode--clair .label { color: var(--brique); }
.methode--clair .methode__intro { color: var(--gris); }
.methode--clair .etape::before {
  background: linear-gradient(to bottom, var(--trait), transparent);
}
.methode--clair .etape__num {
  border-color: var(--trait);
  color: var(--brique);
  background: var(--fond);
}
.methode--clair .etape.est-vu .etape__num { border-color: var(--brique); }
.methode--clair .etape__texte { color: var(--gris); }
.methode--clair .secteurs { border-top-color: var(--trait); }
.methode--clair .secteurs__label { color: var(--gris-clair); }
.methode--clair .secteurs__liste span { color: var(--encre); }

/* Bandeau des secteurs */
.secteurs {
  margin-top: 96px;
  border-top: 1px solid var(--trait-sombre);
  padding: 34px 0 40px;
  text-align: center;
}
.secteurs__label {
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6A6058;
}
.secteurs__liste {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 44px;
}
.secteurs__liste span {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 17px;
  color: #CFC4B6;
}

/* --------------------------------------------------- Journal */

.journal { padding: 110px 0; }

.journal__grille {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.note__visuel { margin: 0; border-radius: var(--rayon-s); overflow: hidden; }
.note__visuel img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.7,.3,1);
}
.note:hover .note__visuel img { transform: scale(1.04); }
.note__meta {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gris-clair);
}
.note__meta span:first-child { color: var(--brique); }
.note__titre { margin-top: 10px; font-size: 19px; line-height: 1.22; }

/* --------------------------------------------------- Bande : engagements */

.engagements {
  background: var(--bande);
  padding: 100px 0;
}
.engagements__grille {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.chiffre {
  background: var(--blanc);
  border-radius: var(--rayon-s);
  padding: 30px 22px 26px;
  text-align: center;
}
.chiffre__valeur { font-size: clamp(30px, 3.4vw, 44px); line-height: 1; }
.chiffre__nom {
  margin-top: 14px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gris);
  line-height: 1.5;
}

/* --------------------------------------------------- Parti pris */

/* Le parti pris introduit les packs : les deux sections partagent le même
   fond et se lisent d'un seul mouvement, d'où les marges resserrées entre
   elles et l'alignement centré commun. */
.parti { padding: 106px 0 0; }
.parti__bloc {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 18px;
  max-width: 830px;
  margin: 0 auto;
}
.parti__guillemet {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 104px;
  line-height: .5;
  color: var(--brique);
}
.parti__texte {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 2.7vw, 34px);
  line-height: 1.3;
  letter-spacing: -0.012em;
}
.parti__signature {
  margin-top: 24px;
  font-size: 10.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-clair);
}

/* --------------------------------------------------- Appel final */

.appel {
  background: var(--encre);
  color: #F3EDE4;
  padding: 104px 0 0;
  text-align: center;
}
.appel .label { color: #C9744F; }
.appel__titre {
  font-size: clamp(34px, 5.4vw, 72px);
  line-height: 1.02;
  margin-top: 22px;
}
.appel__actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.appel .lien-texte { border-bottom-color: #5B5148; color: #CFC4B6; }

/* Mot-logo géant en pied, comme la référence */
.filigrane {
  margin-top: 84px;
  overflow: hidden;
  line-height: 0;
}
.filigrane span {
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 700;
  font-size: 15.3vw;
  line-height: .8;
  letter-spacing: -0.035em;
  color: #241D18;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

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

.pied {
  background: var(--encre);
  color: #8D8276;
  border-top: 1px solid var(--trait-sombre);
}
.pied__inte {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 26px 0 30px;
  font-size: 11.5px;
}
.pied__liens { display: flex; gap: 26px; flex-wrap: wrap; }
.pied__liens a:hover { color: #F3EDE4; }

/* --------------------------------------------------- Bande des secteurs

   Sortie de la section Méthode, qui ne vit plus que sur la page Services.
   Elle garde le noir au milieu de l'accueil, sans les six étapes. */

.secteurs-bande { background: var(--encre); color: #F3EDE4; }
.secteurs-bande .secteurs {
  margin-top: 0;
  border-top: 0;
  padding: 54px 0 58px;
}

/* --------------------------------------------------- Modules (page Services)

   Présentation volontairement différente du carrousel de l'accueil :
   chiffre hors d'échelle, lecture horizontale, image en bandeau large,
   points clés alignés en rangée sous l'image. */

.modules { padding: 0 0 24px; }

.module {
  padding: 84px 0;
  border-top: 1px solid var(--trait);
}
.module:first-of-type { border-top: 0; padding-top: 24px; }

.module__haut {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) minmax(0, 330px);
  gap: 48px;
  align-items: start;
}

.module__chiffre {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 700;
  font-size: clamp(64px, 8vw, 116px);
  line-height: .78;
  letter-spacing: -0.04em;
  color: var(--brique);
}
.module__etiquette {
  display: block;
  margin-top: 14px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-clair);
}

.module__titre {
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.06;
  max-width: 14ch;
}
.module__corps {
  color: var(--gris);
  font-size: 14.5px;
  line-height: 1.8;
  padding-top: 7px;
}

.module__visuel {
  margin: 48px 0 0;
  border-radius: var(--rayon);
  overflow: hidden;
}
.module__visuel img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22, .7, .3, 1);
}
.module.est-vu .module__visuel img { transform: none; }
.js .module__visuel img { transform: scale(1.05); }

/* Points clés en rangée, séparés par des filets verticaux */
.module__points {
  margin: 0;
  padding: 30px 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}
.module__points li {
  padding: 4px 26px;
  border-left: 1px solid var(--trait);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gris);
}
.module__points li:first-child { padding-left: 0; border-left: 0; }

/* --------------------------------------------------- Packs en vedette

   Page Services : un seul pack à l'écran, en grand, sur fond sombre,
   qui tourne tout seul en fondu. Rien à voir avec les trois cartes
   claires de l'accueil. */

.packs-vedette {
  background: var(--encre);
  color: #F3EDE4;
  padding: 104px 0 96px;
  overflow: hidden;
}
.packs-vedette .label { color: #C9744F; }

.packs-vedette__entete {
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}
.packs-vedette__titre {
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1;
}

.packs-vedette__scene {
  display: grid;
  margin-top: 64px;
}

.pack-vue {
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 70px;
  align-items: start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity .7s cubic-bezier(.22, .7, .3, 1),
              transform .7s cubic-bezier(.22, .7, .3, 1),
              visibility 0s linear .7s;
}
.pack-vue.est-actif {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .7s cubic-bezier(.22, .7, .3, 1),
              transform .7s cubic-bezier(.22, .7, .3, 1),
              visibility 0s;
}

.pack-vue__num {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--brique-vif);
}
.pack-vue__nom {
  margin-top: 16px;
  font-size: clamp(46px, 6.4vw, 86px);
  line-height: .94;
  letter-spacing: -0.03em;
}
.pack-vue__role {
  margin-top: 14px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #948879;
}

.pack-vue__texte {
  color: #BFB3A4;
  font-size: 16px;
  line-height: 1.8;
  max-width: 46ch;
}
.pack-vue__liste {
  margin: 28px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--trait-sombre);
  max-width: 46ch;
}
.pack-vue__liste li {
  position: relative;
  padding-left: 21px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #A2968A;
}
.pack-vue__liste li + li { margin-top: 12px; }
.pack-vue__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brique-vif);
}
.pack-vue__action { margin-top: 32px; }

/* Les noms des packs servent de commande, posés juste sous le titre */
.packs-vedette__barre {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.onglet-pack {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: 22px;
  line-height: 1;
  color: #6A6058;
  padding: 12px 22px;
  transition: color .3s ease;
}
.onglet-pack:hover { color: #CFC4B6; }
.onglet-pack.est-actif { color: #F3EDE4; }
.onglet-pack::after {
  content: '';
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 4px;
  height: 1px;
  background: var(--brique-vif);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.22, .7, .3, 1);
}
.onglet-pack.est-actif::after { transform: scaleX(1); }
.onglet-pack:focus-visible { outline: 2px solid var(--brique-vif); outline-offset: 2px; }

/* Quand la rotation automatique est en marche, le soulignement se remplit
   sur la durée du cycle : on voit le pack suivant arriver au lieu d'être
   surpris. La classe .tourne est posée par le script, et seulement s'il
   rote vraiment — sinon le trait reste simplement plein. */
@keyframes remplir-onglet {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
.packs-vedette.tourne .onglet-pack::after {
  transform: scaleX(0);
  transition: none;
}
.packs-vedette.tourne .onglet-pack.est-actif::after {
  animation: remplir-onglet var(--duree-pack, 6500ms) linear forwards;
}
/* La barre se fige en même temps que la rotation : survol et focus clavier */
.packs-vedette.tourne:hover .onglet-pack.est-actif::after,
.packs-vedette.tourne:focus-within .onglet-pack.est-actif::after {
  animation-play-state: paused;
}

.packs-vedette__note {
  margin: 56px auto 0;
  max-width: 62ch;
  text-align: center;
  color: #948879;
  font-size: 14.5px;
  line-height: 1.78;
}
.packs-vedette__note strong { color: #F3EDE4; font-weight: 500; }

/* --------------------------------------------------- Option maintenance

   Un encadré au trait, jamais un aplat : une option se lit autrement
   qu'une offre. La teinte de fond la sépare des packs au-dessus et de
   la méthode en dessous. */

/* Aucun aplat : le fond reste celui de la page, seul le trait délimite
   l'option. C'est ce qui la distingue des packs, qui sont des blocs pleins. */
.maintenance {
  background: var(--fond);
  padding: 100px 0;
}

.option {
  background: transparent;
  border: 1px solid var(--brique);
  border-radius: 18px;
  padding: 44px 48px 48px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
  align-items: start;
}

.option__titre {
  margin-top: 16px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
}

/* Les mentions comptent autant que le titre : elles évitent le malentendu */
.option__mentions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.option__mention {
  display: inline-block;
  padding: 8px 15px;
  border: 1px solid var(--brique);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brique);
}
.option__mention--neutre {
  border-color: var(--trait);
  color: var(--gris);
}

.option__texte {
  color: var(--gris);
  font-size: 15px;
  line-height: 1.8;
  max-width: 52ch;
}
.option__texte + .option__texte { margin-top: 16px; }
.option__texte strong { color: var(--encre); font-weight: 500; }

.option__liste {
  margin: 26px 0 0;
  padding: 24px 0 0;
  list-style: none;
  border-top: 1px solid var(--trait);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 30px;
}
.option__liste li {
  position: relative;
  padding-left: 19px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--gris);
}
.option__liste li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--brique);
}

.option__avertissement {
  margin-top: 26px;
  padding-left: 16px;
  border-left: 2px solid var(--brique);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--encre);
  max-width: 52ch;
}
.option__avertissement strong { font-weight: 600; }


/* --------------------------------------------------- Pages intérieures

   Ces composants servent aux pages À propos, Services et Contact.
   Ils réutilisent les jetons et les rythmes de l'accueil : aucune valeur
   nouvelle n'est introduite ici. */

.page-entete { padding: 72px 0 56px; }
.page-entete__titre {
  font-size: clamp(40px, 5.4vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 22px;
  max-width: 15ch;
}
.page-entete__chapeau {
  margin-top: 28px;
  max-width: 58ch;
  color: var(--gris);
  font-size: 15.5px;
  line-height: 1.74;
}

/* Bandeau paysage réutilisable */
.bandeau {
  position: relative;
  max-width: var(--large);
  margin: 0 auto;
  padding: 0 var(--gouttiere);
}
.bandeau img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--rayon);
}

/* Quand le bandeau précède une section pleine largeur, il lui faut sa
   propre respiration : sinon l'image se colle au bord de l'aplat suivant. */
.bandeau--detache { margin-bottom: 104px; }

/* Colonnes de texte courant */
.prose { padding: 104px 0; }
.prose__grille {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.prose__corps { max-width: 62ch; }
.prose__corps h2 {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.1;
  max-width: 18ch;
}
.prose__corps p {
  margin-top: 20px;
  color: var(--gris);
  font-size: 15px;
  line-height: 1.8;
}
.prose__corps p + h2 { margin-top: 48px; }
.prose__corps strong { color: var(--encre); font-weight: 500; }

/* --------------------------------------------------- Chapitres (À propos)

   Les textes défilent latéralement au lieu d'allonger la page. Les vues
   inactives sortent du flux pour que la hauteur suive le chapitre affiché
   — sinon la section garderait toujours la hauteur du plus long. */

.chapitres { padding: 100px 0 104px; }

.chapitres__entete {
  display: grid;
  gap: 22px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--trait);
}

.chapitres__barre {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.onglet-chapitre {
  position: relative;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: 21px;
  line-height: 1;
  color: var(--gris-clair);
  padding: 10px 18px;
  transition: color .3s ease;
}
.onglet-chapitre:hover { color: var(--gris); }
.onglet-chapitre.est-actif { color: var(--encre); }
.onglet-chapitre::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 1px;
  background: var(--brique);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.22, .7, .3, 1);
}
.onglet-chapitre.est-actif::after { transform: scaleX(1); }
.onglet-chapitre:focus-visible { outline: 2px solid var(--brique); outline-offset: 2px; }

.chapitres__scene {
  position: relative;
  margin-top: 44px;
  /* Les vues en attente sont décalées vers la droite : sans ce clip,
     elles débordent de l'écran et créent un défilement horizontal. */
  overflow: hidden;
}

.chapitre {
  position: absolute;
  inset: 0 0 auto 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(44px);
  transition: opacity .5s cubic-bezier(.22, .7, .3, 1),
              transform .5s cubic-bezier(.22, .7, .3, 1),
              visibility 0s linear .5s;
}
/* La vue active reprend sa place dans le flux : c'est elle qui donne
   sa hauteur à la scène. */
.chapitre.est-actif {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity .55s cubic-bezier(.22, .7, .3, 1) .06s,
              transform .55s cubic-bezier(.22, .7, .3, 1) .06s,
              visibility 0s;
}

.chapitre__titre {
  font-size: clamp(26px, 3.1vw, 40px);
  line-height: 1.1;
  max-width: 18ch;
}
.chapitre p {
  margin-top: 20px;
  color: var(--gris);
  font-size: 15px;
  line-height: 1.8;
  max-width: 62ch;
}
.chapitre strong { color: var(--encre); font-weight: 500; }

.chapitres__pied {
  margin-top: 42px;
  display: flex;
  gap: 12px;
}

/* --------------------------------------------------- Signature (À propos) */

.signature { padding: 0 0 104px; }
.signature__bloc {
  max-width: 900px;
  padding-left: 30px;
  border-left: 2px solid var(--brique);
}
.signature__phrase {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: clamp(22px, 2.8vw, 36px);
  line-height: 1.28;
  letter-spacing: -0.012em;
  color: var(--encre);
}
.signature__auteur { margin-top: 26px; }
.signature__nom {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.2;
  color: var(--encre);
}
.signature__role {
  margin-top: 6px;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--brique);
}

/* Principes, sur fond sombre */
.principes { background: var(--encre); color: #F3EDE4; padding: 104px 0; }
.principes .label { color: #C9744F; }
.principes__grille {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.principe {
  border: 1px solid var(--trait-sombre);
  border-radius: var(--rayon);
  padding: 26px 28px 30px;
  transition: border-color .3s ease;
}
.principe:hover { border-color: var(--brique-vif); }
.principe__num {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  color: var(--brique-vif);
}
.principe__titre { margin-top: 16px; font-size: 23px; line-height: 1.16; }
.principe__texte {
  margin-top: 12px;
  color: #948879;
  font-size: 14px;
  line-height: 1.75;
}

/* --------------------------------------------------- Contact */

.contact { padding: 16px 0 104px; }
.contact__grille {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: 72px;
  align-items: start;
}

.coordonnees { display: grid; gap: 4px; }
.coordonnee {
  padding: 22px 0;
  border-top: 1px solid var(--trait);
}
.coordonnee:first-of-type { border-top: 0; padding-top: 0; }
.coordonnee__label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--gris-clair);
}
.coordonnee__valeur {
  display: inline-block;
  margin-top: 9px;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 500;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--encre);
  transition: color .2s ease;
}
a.coordonnee__valeur:hover { color: var(--brique); }
.coordonnee__note {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--gris);
}

/* Formulaire — remplacé par Contact Form 7 au moment du passage
   sous WordPress. La mise en forme, elle, reste celle-ci. */
.formulaire {
  background: var(--blanc);
  border: 1px solid var(--trait);
  border-radius: var(--rayon);
  padding: 30px 32px 34px;
}
.formulaire__titre { font-size: 25px; line-height: 1.16; }
.formulaire__intro {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--gris);
}
.champs {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.champ { display: grid; gap: 7px; }
.champ--large { grid-column: 1 / -1; }
.champ label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris);
}
.champ input,
.champ select,
.champ textarea {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--encre);
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color .2s ease, background-color .2s ease;
}
.champ textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.champ input:focus,
.champ select:focus,
.champ textarea:focus {
  outline: none;
  border-color: var(--brique);
  background: var(--blanc);
}
.champ input::placeholder,
.champ textarea::placeholder { color: var(--gris-clair); }

.formulaire__pied {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.formulaire__mention {
  font-size: 12px;
  line-height: 1.6;
  color: var(--gris-clair);
  max-width: 30ch;
}
button.bouton { border: 0; cursor: pointer; font-family: inherit; }

/* --------------------------------------------------- Animations

   Parti pris : une seule apparition par bloc, courte, de faible amplitude,
   jamais rejouée. Le script n'injecte rien — il pose une classe, et c'est
   tout, pour que le contenu reste éditable une fois passé sous WordPress.
   Sans JavaScript, la classe .js est absente et tout s'affiche normalement. */

.js .anim {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .78s cubic-bezier(.22, .7, .3, 1),
              transform .78s cubic-bezier(.22, .7, .3, 1);
  transition-delay: var(--delai, 0ms);
}
.js .anim.est-vu {
  opacity: 1;
  transform: none;
}

/* Cadence du héros : le titre suit l'accroche, le reste s'enchaîne */
.heros .label    { --delai: 0ms; }
.heros__titre    { --delai: 90ms; }
.heros__chapeau  { --delai: 180ms; }
.heros__actions  { --delai: 250ms; }
.heros__bandeau  { --delai: 320ms; }

/* Le bandeau du héros se pose en se resserrant très légèrement */
.js .heros__bandeau img {
  transform: scale(1.045);
  transition: transform 1.25s cubic-bezier(.22, .7, .3, 1);
  transition-delay: var(--delai, 0ms);
}
.js .heros__bandeau.est-vu img { transform: none; }

/* Cadence des rangées */
.packs__grille .pack:nth-child(2)          { --delai: 90ms; }
.packs__grille .pack:nth-child(3)          { --delai: 180ms; }
.journal__grille .note:nth-child(2)        { --delai: 90ms; }
.journal__grille .note:nth-child(3)        { --delai: 180ms; }
.engagements__grille .chiffre:nth-child(2) { --delai: 70ms; }
.engagements__grille .chiffre:nth-child(3) { --delai: 140ms; }
.engagements__grille .chiffre:nth-child(4) { --delai: 210ms; }
.etapes .etape:nth-child(2)                { --delai: 55ms; }
.etapes .etape:nth-child(3)                { --delai: 110ms; }
.etapes .etape:nth-child(4)                { --delai: 165ms; }
.etapes .etape:nth-child(5)                { --delai: 220ms; }
.etapes .etape:nth-child(6)                { --delai: 275ms; }
.methode__intro                            { --delai: 90ms; }
.appel__actions                            { --delai: 90ms; }

/* Option maintenance : le texte se découvre en cascade, bloc par bloc,
   puis point par point dans la liste. */
.option__gauche                            { --delai: 0ms; }
.option__droite .option__texte             { --delai: 130ms; }
.option__droite .option__texte + .option__texte { --delai: 210ms; }
.option__liste                             { --delai: 290ms; }
.option__avertissement                     { --delai: 400ms; }

.js .option__liste li {
  opacity: 0;
  transform: translateY(9px);
  transition: opacity .55s cubic-bezier(.22, .7, .3, 1),
              transform .55s cubic-bezier(.22, .7, .3, 1);
}
.js .option__liste.est-vu li { opacity: 1; transform: none; }
.option__liste li:nth-child(1) { transition-delay: 340ms; }
.option__liste li:nth-child(2) { transition-delay: 420ms; }
.option__liste li:nth-child(3) { transition-delay: 500ms; }
.option__liste li:nth-child(4) { transition-delay: 580ms; }

/* L'encadré lui-même porte déjà .anim : son filet apparaît avec lui,
   et les blocs ci-dessus s'enchaînent par-dessus. */

/* --------------------------------------------------- Adaptatif */

@media (max-width: 1024px) {
  :root { --gouttiere: 30px; }
  .heros__bas { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .heros__bandeau img { aspect-ratio: 16 / 9; }
  .packs__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .entete { grid-template-columns: 1fr; gap: 20px; }
  .entete__titre { max-width: 18ch; }
  .entete:not(:has(.entete__texte)) .entete__titre { grid-column: auto; max-width: none; }
  .entete__texte { padding-top: 0; max-width: 46ch; }
  .panneau { grid-template-columns: 1fr; gap: 0; }
  .panneau__texte { padding: 30px 22px 26px; }
  .panneau__visuel img { aspect-ratio: 16 / 10; }
  .methode__grille { grid-template-columns: 1fr; gap: 44px; }
  .methode__colonne { position: static; }
  .journal__grille { grid-template-columns: 1fr; gap: 40px; }
  .engagements__grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .diapo { grid-template-columns: 1fr; gap: 30px; align-items: start; }
  .diapo__visuel img { aspect-ratio: 16 / 10; }
  .prose__grille { grid-template-columns: 1fr; gap: 20px; }
  .contact__grille { grid-template-columns: 1fr; gap: 48px; }
  .module__haut { grid-template-columns: 1fr; gap: 20px; }
  .module__titre { max-width: 20ch; }
  .module__corps { padding-top: 0; max-width: 54ch; }
  .module__points { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 0; }
  .module__points li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .module__visuel img { aspect-ratio: 16 / 9; }
  .pack-vue { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .option { grid-template-columns: 1fr; gap: 32px; padding: 36px 34px 40px; }
  .principes__grille { grid-template-columns: 1fr; }
  .bandeau img { aspect-ratio: 16 / 9; }
}

@media (max-width: 720px) {
  :root { --gouttiere: 22px; }
  body { font-size: 14.5px; }

  .marque__pastille { width: 44px; height: 44px; }
  .marque__mot { height: 24px; }

  /* Le menu de l'en-tête devient un volet déroulant, avec exactement
     la même animation que celui de la barre flottante. La règle vise
     le <nav> seul : sous WordPress, la classe .nav atterrit aussi sur
     la liste qu'il contient, qui ne doit surtout pas être sortie du
     flux elle aussi. */
  .site-entete .bascule { display: flex; }

  nav.nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: block;
    background: var(--fond);
    border-bottom: 1px solid var(--trait);
    padding: 6px 0 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition:
      opacity .3s ease,
      transform .4s cubic-bezier(.22,.61,.36,1),
      visibility 0s linear .4s;
  }
  .site-entete.est-ouvert nav.nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition:
      opacity .3s ease,
      transform .4s cubic-bezier(.22,.61,.36,1),
      visibility 0s;
  }
  .nav ul {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  .nav li { display: block; width: 100%; }
  .nav a {
    display: block;
    width: 100%;
    padding: 15px var(--gouttiere);
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--trait);
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity .45s ease,
      transform .45s cubic-bezier(.22,.61,.36,1),
      color .2s ease;
  }
  .nav li:last-child a { border-bottom: 0; }
  .nav a::after { display: none; }
  .nav a[aria-current] { background: transparent; }

  /* Les entrées arrivent l'une après l'autre, comme dans la barre. */
  .site-entete.est-ouvert .nav a { opacity: 1; transform: translateY(0); }
  .site-entete.est-ouvert .nav li:nth-child(1) a { transition-delay: .05s; }
  .site-entete.est-ouvert .nav li:nth-child(2) a { transition-delay: .10s; }
  .site-entete.est-ouvert .nav li:nth-child(3) a { transition-delay: .15s; }
  .site-entete.est-ouvert .nav li:nth-child(4) a { transition-delay: .20s; }


  .heros { padding: 40px 0 0; }

  /* Sous 720 px, une seule ligne rendrait le titre illisible :
     on le laisse revenir à la ligne, à une taille qui tient debout. */
  .heros__titre {
    width: auto;
    margin-left: 0;
    white-space: normal;
    font-size: clamp(38px, 11.5vw, 60px);
    line-height: 1.02;
  }
  .heros__bandeau { margin-top: 40px; }
  .heros__bandeau img { aspect-ratio: 4 / 3; }
  .heros__bandeau figcaption { left: calc(var(--gouttiere) + 14px); bottom: 14px; right: calc(var(--gouttiere) + 14px); }

  .services, .journal { padding: 70px 0; }
  .parti { padding: 66px 0 0; }
  .packs { padding: 40px 0 70px; }
  .bande-position, .engagements { padding: 70px 0; }
  .methode { padding-top: 72px; }

  .etape { padding: 0 0 38px 58px; }
  .etape::before { left: 17px; top: 38px; }
  .etape__num { width: 35px; height: 35px; font-size: 10px; }
  .etape__nom { font-size: 21px; padding-top: 4px; }

  .carrousel { margin-top: 44px; }
  .carrousel__barre { margin-top: 30px; gap: 16px; }
  .diapo__visuel img { aspect-ratio: 4 / 3; }

  .packs__grille, .engagements__grille { grid-template-columns: 1fr; }
  .packs__note { margin-top: 34px; text-align: left; }

  .page-entete { padding: 44px 0 40px; }
  .prose, .principes { padding: 70px 0; }
  .chapitres { padding: 62px 0 66px; }
  .signature { padding: 0 0 66px; }
  .signature__bloc { padding-left: 20px; }
  .onglet-chapitre { font-size: 17px; padding: 9px 12px; }
  .onglet-chapitre::after { left: 12px; right: 12px; }
  .chapitres__scene { margin-top: 32px; }
  .chapitre__titre { max-width: 22ch; }
  .module { padding: 54px 0; }
  .module:first-of-type { padding-top: 12px; }
  .module__visuel { margin-top: 30px; }
  .module__visuel img { aspect-ratio: 4 / 3; }
  .module__points { grid-template-columns: 1fr; gap: 12px; }
  .module__points li { padding: 0 0 0 0; border-left: 0; }
  .packs-vedette { padding: 70px 0 66px; }
  .maintenance { padding: 66px 0; }
  .option { padding: 28px 22px 32px; }
  .option__liste { grid-template-columns: 1fr; }
  .packs-vedette__scene { margin-top: 44px; }
  .packs-vedette__barre { margin-top: 42px; gap: 2px; }
  .onglet-pack { font-size: 18px; padding: 10px 14px; }
  .onglet-pack::after { left: 14px; right: 14px; }
  .packs-vedette__note { margin-top: 40px; text-align: left; }
  .contact { padding: 8px 0 70px; }
  .bandeau img { aspect-ratio: 4 / 3; }
  .bandeau--detache { margin-bottom: 66px; }
  .formulaire { padding: 24px 22px 28px; }
  .champs { grid-template-columns: 1fr; }
  .secteurs { margin-top: 60px; }
  .parti__bloc { grid-template-columns: 1fr; gap: 12px; }
  .parti__guillemet { font-size: 58px; }
  .appel { padding-top: 70px; }
  .filigrane { margin-top: 54px; }
  .pied__inte { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* À l'impression, rien n'attend un défilement qui n'aura pas lieu. */
@media print {
  .js .anim,
  .js .heros__bandeau img {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* Mouvement réduit : tout reste visible, rien ne bouge. L'ordre compte —
   la remise à plat des blocs animés doit précéder la coupure des transitions. */
@media (prefers-reduced-motion: reduce) {
  .js .anim,
  .js .heros__bandeau img {
    opacity: 1 !important;
    transform: none !important;
  }
  * { transition: none !important; animation: none !important; }
}


/* =========================================================
   COUCHE BLOCS — adaptation de la maquette à Gutenberg

   WordPress imprime le CSS de chaque bloc APRÈS cette feuille.
   À spécificité égale, le bloc gagne : toute reprise d'un style
   de bloc doit donc être plus spécifique, pas seulement plus bas.
   ========================================================= */

/* --- Espacement automatique ------------------------------
   theme.json coupe déjà blockGap à la source. Ce filet reste à
   spécificité nulle : écrit normalement, il écraserait toutes les
   marges des composants et détruirait le rythme vertical. */
:where(.wp-block-group) > :where(*),
:where(.wp-block-buttons) { margin-block: 0; }

figure.wp-block-image { margin: 0; }

/* L'attribut height= des images de la médiathèque l'emporte sinon
   sur tout aspect-ratio déclaré ici. */
img { height: auto; }

/* --- Marque de l'en-tête ---------------------------------
   La classe d'un core/image atterrit sur la FIGURE, pas sur l'img.
   Les règles de la maquette visaient l'image : sans ces deux lignes,
   le mot-logo déborde à sa hauteur naturelle (141 px au lieu de 28). */
.marque__pastille img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.marque__mot img {
  height: 28px;
  width: auto;
  display: block;
}
@media (max-width: 720px) {
  .marque__mot img { height: 24px; }
}

/* --- Barre flottante -------------------------------------
   Mêmes corrections que pour l'en-tête : la classe d'un core/image
   atterrit sur la figure, pas sur l'img. */
.barre-flottante .marque__mot img { height: 20px; }

/* Le décalage sous la barre d'administration de WordPress n'est PAS écrit
   ici : en dessous de 600 px de large, cette barre n'est plus fixée et s'en
   va avec le défilement. Un décalage figé laisserait un trou. C'est le
   script qui mesure sa position réelle et la reporte. */
@media (max-width: 720px) {
  .barre-flottante .marque__mot img { height: 19px; }
}

/* Le volet reprend le bloc de navigation du cœur, dont la feuille est
   imprimée APRÈS celle du thème : il faut donc forcer la mise en page
   verticale, sans quoi les quatre liens restent sur une rangée. */
.volet .wp-block-navigation,
.volet .wp-block-navigation__container {
  display: block !important;
  gap: 0 !important;
}
.volet .wp-block-navigation-item { display: block !important; }
.volet .wp-block-navigation-item__content { width: 100%; }
.volet .wp-block-navigation .wp-block-navigation-item__content { color: var(--encre); }
.volet .wp-block-navigation .wp-block-navigation-item__content:hover,
.volet .wp-block-navigation .wp-block-navigation-item__content:focus {
  color: var(--brique);
}

/* Les trois traits sont des paragraphes vides : WordPress leur ajoute
   une marge de bloc qu'il faut neutraliser, sinon ils s'écartent. */
.bascule .bascule__trait,
.bascule > p { margin-block-start: 0 !important; margin-block-end: 0 !important; }

/* Le menu de l'en-tête sur petit écran. Deux feuilles sont imprimées APRÈS
   celle du thème — celle du bloc de navigation et celle des dispositions —
   et les liens sont visés plus précisément que par .nav a. Il faut donc
   reprendre ici toute l'apparence du volet, sinon la liste reste une rangée
   horizontale aux liens minuscules. */
.site-entete .wp-block-navigation-item__content { color: var(--encre); }

@media (max-width: 720px) {
  .site-entete nav.nav { display: block !important; }
  .site-entete .wp-block-navigation__container {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
  }
  .site-entete .wp-block-navigation-item { display: block !important; width: 100%; }

  .site-entete .wp-block-navigation.nav .wp-block-navigation-item__content {
    display: block;
    width: 100%;
    padding: 15px var(--gouttiere);
    font-size: 17px;
    border-radius: 0;
    border-bottom: 1px solid var(--trait);
    opacity: 0;
    transform: translateY(10px);
    transition:
      opacity .45s ease,
      transform .45s cubic-bezier(.22,.61,.36,1),
      color .2s ease;
  }
  .site-entete .wp-block-navigation-item:last-child
    .wp-block-navigation-item__content { border-bottom: 0; }

  /* Les entrées arrivent l'une après l'autre, comme dans la barre flottante. */
  .site-entete.est-ouvert .wp-block-navigation.nav
    .wp-block-navigation-item__content { opacity: 1; transform: translateY(0); }
  .site-entete.est-ouvert .wp-block-navigation-item:nth-child(1)
    .wp-block-navigation-item__content { transition-delay: .05s; }
  .site-entete.est-ouvert .wp-block-navigation-item:nth-child(2)
    .wp-block-navigation-item__content { transition-delay: .10s; }
  .site-entete.est-ouvert .wp-block-navigation-item:nth-child(3)
    .wp-block-navigation-item__content { transition-delay: .15s; }
  .site-entete.est-ouvert .wp-block-navigation-item:nth-child(4)
    .wp-block-navigation-item__content { transition-delay: .20s; }
}

/* --- Enveloppe -------------------------------------------
   Les groupes de contenu reprennent la largeur de la maquette. */
.wp-block-group.enveloppe {
  max-width: var(--large);
  margin-inline: auto;
  padding-inline: var(--gouttiere);
}

/* --- Boutons ---------------------------------------------
   La classe passée à core/button atterrit sur le CONTENEUR
   div.wp-block-button, jamais sur le lien. Le conteneur se
   neutralise, sinon il hérite des règles de .bouton et double
   la pastille. */
.wp-block-button.bouton {
  display: inline-block;
  background: none;
  border: 0;
  padding: 0;
  border-radius: 0;
}
.wp-block-button.bouton .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--brique);
  color: #FFF6EE;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background-color .2s ease, transform .2s ease;
}
.wp-block-button.bouton .wp-block-button__link:hover {
  background: var(--brique-vif);
  transform: translateY(-1px);
}

/* Lien secondaire, rendu par un core/paragraph */
p.lien-texte { display: inline-block; }

/* --- Navigation ------------------------------------------
   core/navigation remplace les liens écrits à la main : c'est ce
   qui rend le menu réellement éditable depuis WordPress. */
.wp-block-navigation.nav { gap: 8px; }
.wp-block-navigation.nav .wp-block-navigation-item__content {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--encre);
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
.wp-block-navigation.nav .wp-block-navigation-item__content:hover { color: var(--brique); }
.wp-block-navigation.nav .current-menu-item .wp-block-navigation-item__content {
  color: var(--brique);
  background: color-mix(in srgb, var(--brique) 9%, transparent);
}

/* Le menu n'utilise plus le panneau de WordPress : il a ses propres trois
   traits, les mêmes que ceux de la barre flottante. Tout ce qui pilotait
   le panneau du cœur a donc été retiré. Ne reste que le filtre d'arrière-
   plan, qu'on enlève sur petit écran pour que le volet s'ouvre sur un fond
   franc. */
@media (max-width: 720px) {
  .site-entete {
    backdrop-filter: none;
    background: var(--fond);
  }
}

/* --- Titres ----------------------------------------------
   core/heading sort un h2.wp-block-heading : les classes de la
   maquette sont posées dessus via className et restent valables. */
.wp-block-heading { margin: 0; }

/* --- Listes ----------------------------------------------
   core/list sort ul.wp-block-list avec puces et retraits natifs. */
ul.wp-block-list { list-style: none; padding-left: 0; margin: 0; }

/* --- Citation --------------------------------------------- */
blockquote.wp-block-quote { margin: 0; padding: 0; border: 0; }

/* --- Structures reprises à la conversion -------------------
   Ces éléments étaient des balises brutes dans la maquette (figcaption,
   span, bouton). En blocs natifs ce sont des paragraphes : les règles
   qui visaient les anciennes balises sont réécrites ici. */

/* Légende du héros, en surimpression dans la photo */
.heros__bandeau .heros__legende {
  position: absolute;
  left: calc(var(--gouttiere) + 20px);
  bottom: 20px;
  background: var(--blanc);
  border-radius: 8px;
  display: flex;
  align-items: flex-end;
  gap: 30px;
  padding: 13px 16px 12px;
}
.heros__legende .legende__texte {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--gris);
  max-width: 24ch;
}
.heros__legende .legende__numero {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 26px;
  line-height: 1;
  color: var(--encre);
}

/* Secteurs : des paragraphes, plus des span */
.secteurs__liste .secteur {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 17px;
  color: #CFC4B6;
}

/* Métadonnées d'une note */
.note__cat { color: var(--brique); }
.note__cat, .note__date {
  font-size: 10.5px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--gris-clair);
}
.note__cat { color: var(--brique); }

/* Pied de page : liens en paragraphes dans une rangée */
.pied__liens { display: flex; gap: 26px; flex-wrap: wrap; }
.pied__lien { font-size: 11.5px; }
.pied__mention { font-size: 11.5px; }

/* Commandes de carrousel : des paragraphes rendus cliquables par le script */
.carrousel__fleche,
.onglet-pack,
.onglet-chapitre,
.point { cursor: pointer; }

.carrousel__barre .carrousel__fleche {
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--trait);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  color: var(--encre);
  transition: border-color .25s ease, color .25s ease, background-color .25s ease;
}
.carrousel__barre .carrousel__fleche:hover {
  border-color: var(--brique);
  color: var(--brique);
  background: color-mix(in srgb, var(--brique) 7%, transparent);
}
.chapitres__pied .carrousel__fleche {
  width: 42px;
  height: 42px;
  border: 1px solid var(--trait);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  line-height: 1;
  transition: border-color .25s ease, color .25s ease;
}
.chapitres__pied .carrousel__fleche:hover {
  border-color: var(--brique);
  color: var(--brique);
}
[role="button"]:focus-visible { outline: 2px solid var(--brique); outline-offset: 3px; }

/* Le filigrane du pied, désormais un paragraphe */
.filigrane .filigrane__mot {
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-weight: 700;
  font-size: 15.3vw;
  line-height: .8;
  letter-spacing: -0.035em;
  color: #241D18;
  text-align: center;
  white-space: nowrap;
  user-select: none;
}

/* --- L'éditeur a le dernier mot ----------------------------

   Quand on choisit une taille, une police ou une couleur sur un bloc,
   WordPress pose une classe `has-…`. Elle a la même spécificité que les
   classes du design, et la feuille du thème étant chargée plus tard, le
   design gagnait : le réglage ne se voyait pas. Ces règles rendent le
   choix de l'utilisateur prioritaire. Elles ne s'appliquent que si une
   valeur a été explicitement choisie — le design reste intact sinon. */

.has-micro-font-size   { font-size: var(--wp--preset--font-size--micro) !important; }
.has-petit-font-size   { font-size: var(--wp--preset--font-size--petit) !important; }
.has-normal-font-size  { font-size: var(--wp--preset--font-size--normal) !important; }
.has-chapeau-font-size { font-size: var(--wp--preset--font-size--chapeau) !important; }
.has-titre-3-font-size { font-size: var(--wp--preset--font-size--titre-3) !important; }
.has-titre-2-font-size { font-size: var(--wp--preset--font-size--titre-2) !important; }
.has-titre-1-font-size { font-size: var(--wp--preset--font-size--titre-1) !important; }

.has-titres-font-family   { font-family: var(--wp--preset--font-family--titres) !important; }
.has-courante-font-family { font-family: var(--wp--preset--font-family--courante) !important; }

.has-encre-color       { color: var(--wp--preset--color--encre) !important; }
.has-encre-doux-color  { color: var(--wp--preset--color--encre-doux) !important; }
.has-brique-color      { color: var(--wp--preset--color--brique) !important; }
.has-brique-vif-color  { color: var(--wp--preset--color--brique-vif) !important; }
.has-fond-color        { color: var(--wp--preset--color--fond) !important; }
.has-bande-color       { color: var(--wp--preset--color--bande) !important; }
.has-blanc-color       { color: var(--wp--preset--color--blanc) !important; }
.has-gris-color        { color: var(--wp--preset--color--gris) !important; }
.has-gris-clair-color  { color: var(--wp--preset--color--gris-clair) !important; }

.has-encre-background-color      { background-color: var(--wp--preset--color--encre) !important; }
.has-encre-doux-background-color { background-color: var(--wp--preset--color--encre-doux) !important; }
.has-brique-background-color     { background-color: var(--wp--preset--color--brique) !important; }
.has-brique-vif-background-color { background-color: var(--wp--preset--color--brique-vif) !important; }
.has-fond-background-color       { background-color: var(--wp--preset--color--fond) !important; }
.has-bande-background-color      { background-color: var(--wp--preset--color--bande) !important; }
.has-blanc-background-color      { background-color: var(--wp--preset--color--blanc) !important; }

/* Alignements du texte choisis dans l'éditeur */
.has-text-align-left   { text-align: left !important; }
.has-text-align-center { text-align: center !important; }
.has-text-align-right  { text-align: right !important; }

/* --- Formulaire Contact Form 7 -----------------------------
   Aucun bloc natif n'existe pour les formulaires : CF7 est posé
   par un core/shortcode. Sa mise en forme reprend .formulaire. */
.formulaire .wpcf7-form-control:not(.wpcf7-submit) {
  font-family: inherit;
  font-size: 14.5px;
  color: var(--encre);
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: 8px;
  padding: 12px 14px;
  width: 100%;
}
.formulaire .wpcf7-form-control:not(.wpcf7-submit):focus {
  outline: none;
  border-color: var(--brique);
  background: var(--blanc);
}
.formulaire .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  padding: 14px 26px;
  border: 0;
  border-radius: 999px;
  background: var(--brique);
  color: #FFF6EE;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .2s ease;
}
.formulaire .wpcf7-submit:hover { background: var(--brique-vif); }
.formulaire .wpcf7-not-valid-tip { color: var(--brique); font-size: 12px; margin-top: 5px; }
.formulaire .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 15px;
  border: 1px solid var(--trait);
  border-radius: 8px;
  font-size: 13px;
}
