/*
Theme Name: JK Coaching
Theme URI: https://jkcoaching.fr/
Author: JK Coaching
Description: Thème bloc sur mesure du site JK Coaching (Jérémie Kaminski, coach sportif en transformation physique). Version sombre, accent rouge JK, typographie Archivo. Toutes les pages sont composées de blocs natifs, modifiables dans l'éditeur.
Version: 1.0.4
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jk-coaching
Tags: block-theme, full-site-editing, one-column, dark
*/

/* =========================================================
   JK Coaching — système de design (maquette phase 2, convertie en thème bloc)
   Registre relevé sur la référence : sans-serif seule,
   1 accent (rouge JK, validé par le client), bandes pleine largeur,
   angles arrondis, titres à gauche.
   La police Archivo est déclarée dans theme.json (fontFace) : chargée
   à l'identique sur le site et dans l'éditeur.
   Conversion en blocs : les classes de la maquette sont posées sur les
   blocs natifs (className) ; seules diffèrent les règles qui visent un
   balisage que Gutenberg produit autrement (boutons, menu, coordonnées,
   tableau, formulaire Contact Form 7).
   ========================================================= */
:root {
  color-scheme: dark;

  --fond: #0e0d0d;            /* bande de base (le blanc de la référence) */
  --fond-relief: #181616;     /* bande alternée (le gris #EEE de la référence) */
  --surface: #1b1919;         /* carte posée sur la bande de base */
  --surface-relief: #242121;  /* carte posée sur la bande en relief */
  --pied: #080707;

  --texte: #f5f3f3;
  --texte-2: #a39f9f;
  --trait: rgba(255, 255, 255, .12);

  --inverse: #f5f3f3;         /* bouton principal, carte mise en avant, coches */
  --sur-inverse: #121010;

  --accent: #d81e24;          /* rouge JK éclairci pour rester lisible sur le noir */
  --rouge-logo: #950101;

  --conteneur: 1170px;
  --r-photo: 16px;
  --r-carte: 10px;
  --r-bouton: 5px;
  --etroit: 65%;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--fond);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; }
figure { margin: 0; }
ul { margin: 0; padding: 0; }
strong { font-weight: 700; }
sup { font-size: .5em; line-height: 0; vertical-align: .9em; }
button, input, select, textarea { font-family: inherit; }

/* Gutenberg : l'espacement automatique entre blocs est coupé à la source
   (theme.json, blockGap 0px) ; ce filet de sécurité reste à spécificité
   nulle pour ne jamais écraser les marges des composants. */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
figure.wp-block-image, figure.wp-block-table { margin: 0; }
.titre em, .transfo-appel-titre em, .transfo-cta-titre em { font-style: normal; color: var(--accent); }

.enveloppe {
  width: 100%;
  max-width: calc(var(--conteneur) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.bande-relief { background: var(--fond-relief); }

/* ---------- Typographie ---------- */
.titre {
  margin: 0;
  font-weight: 850;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: -0.005em;
  text-wrap: balance;
  hyphens: none;
}
.titre-xl { font-size: clamp(36px, 3.8vw, 54px); }
.titre-l  { font-size: clamp(28px, 2.8vw, 38px); }
.accent { color: var(--accent); }

.etiquette {
  font-size: 12px;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pastille {
  display: block;
  width: fit-content;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: var(--texte-2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.4;
  text-transform: uppercase;
}

.prose p + p { margin-top: 18px; }
.chapo { color: var(--texte-2); max-width: 560px; }

/* ---------- Boutons ----------
   core/button pose la classe du bloc (bouton, bouton-plein…) sur son conteneur
   div.wp-block-button : le style porte sur le lien qu'il contient. Le bouton
   d'envoi du formulaire (Contact Form 7) partage le même dessin. */
.wp-block-buttons.boutons { display: flex; flex-wrap: wrap; gap: 14px; }
.wp-block-button.bouton { display: flex; margin: 0; }
.wp-block-button.bouton > .wp-block-button__link,
.formulaire .wpcf7-submit {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1.5px solid var(--inverse);
  border-radius: var(--r-bouton);
  box-shadow: none;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.wp-block-button.bouton-plein > .wp-block-button__link,
.formulaire .wpcf7-submit { background: var(--inverse); color: var(--sur-inverse); }
.wp-block-button.bouton-contour > .wp-block-button__link { background: transparent; color: var(--texte); border-color: rgba(255, 255, 255, .55); }
/* survol réservé aux souris : sur écran tactile, l'état survolé resterait collé après le toucher */
@media (hover: hover) {
  .wp-block-button.bouton-plein > .wp-block-button__link:hover,
  .formulaire .wpcf7-submit:hover { background: #d6d2d2; border-color: #d6d2d2; color: var(--sur-inverse); }
  .wp-block-button.bouton-contour > .wp-block-button__link:hover { background: var(--inverse); color: var(--sur-inverse); border-color: var(--inverse); }
}
.wp-block-button.bouton > .wp-block-button__link:active,
.formulaire .wpcf7-submit:active { transform: translateY(1px); }

/* focus clavier visible partout */
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.champ input:focus-visible, .champ select:focus-visible, .champ textarea:focus-visible { outline: none; }

/* ---------- En-tête ----------
   L'en-tête est une partie de modèle : c'est son enveloppe <header> qui colle
   en haut de l'écran (un élément collant ne colle que dans son parent). */
.wp-site-blocks > header.wp-block-template-part {
  position: sticky;
  top: 0;
  z-index: 50;
}
body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; }
}
@media (max-width: 600px) {
  body.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; }
}
.entete {
  position: relative;
  background: var(--fond);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.entete.defile { border-bottom-color: var(--trait); }
.entete-ligne {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 78px;
}
/* logo : bloc Logo du site (emblème) + nom en paragraphe lien */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-stretch: 72%;
  font-size: 22px;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1;
  min-height: 44px;
}
.logo .wp-block-site-logo { flex-shrink: 0; line-height: 0; }
.logo .wp-block-site-logo.logo-embleme img { width: 46px; height: auto; }
.logo-nom a { color: inherit; text-decoration: none; }

/* menu : core/navigation, qualifié pour passer devant le CSS du bloc */
.entete nav.wp-block-navigation.menu { margin-left: auto; font-size: 14px; font-weight: 500; }
.entete nav.wp-block-navigation.menu .wp-block-navigation__container { gap: 30px; }
.entete nav.wp-block-navigation.menu .wp-block-navigation-item { position: relative; }
.entete nav.wp-block-navigation.menu .wp-block-navigation-item__content {
  display: block;
  padding: 10px 0;
  color: inherit;
  text-decoration: none;
}
.entete nav.wp-block-navigation.menu .wp-block-navigation-item__content:hover { text-decoration: underline; text-underline-offset: 5px; }
.entete nav.wp-block-navigation.menu .wp-block-navigation-item__content[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.entete nav.wp-block-navigation.menu .wp-block-navigation__submenu-container {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 2;
  width: auto;
  height: auto;
  min-width: 250px;
  overflow: visible;
  padding: 10px 0;
  background: var(--surface);
  color: var(--texte);
  border: 1px solid var(--trait);
  border-radius: var(--r-carte);
  box-shadow: 0 16px 40px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.entete nav.wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 9px 18px; }
.entete nav.wp-block-navigation.menu .has-child:hover > .wp-block-navigation__submenu-container,
.entete nav.wp-block-navigation.menu .has-child:focus-within > .wp-block-navigation__submenu-container {
  min-width: 250px;
  opacity: 1;
  visibility: visible;
  transform: none;
}
.entete nav.wp-block-navigation.menu .has-child > .wp-block-navigation-item__content::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.entete-cta .wp-block-button.bouton > .wp-block-button__link { min-height: 46px; padding: 0 22px; }
.burger { display: none; }
.entete nav.wp-block-navigation.menu .menu-appel { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 56px 0; }
.hero-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 6 / 7;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: var(--r-photo);
}
.hero-texte .etiquette { margin: 0 0 30px; line-height: 1.4; color: var(--texte-2); }
.hero-texte .titre { margin-bottom: 28px; }
.hero-intro { max-width: 550px; color: #d9d5d5; }
.hero-intro strong { color: var(--texte); }
.hero-texte .boutons { margin-top: 72px; }

/* ---------- Réalité ---------- */
.realite { padding: 96px 0 112px; }
.realite-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.realite-texte .pastille { margin-bottom: 20px; }
.realite-texte .titre { margin-bottom: 30px; }
.realite-texte .prose { color: #d9d5d5; }
.realite-texte .prose strong { color: var(--texte); }
.realite-texte .boutons { margin-top: 36px; }
.realite-centre .realite-grille { align-items: center; }
.realite-photo img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  object-position: 40% 50%;
  border-radius: var(--r-photo);
}

/* ---------- Tête de section ---------- */
.tete-section { margin-bottom: 48px; }
.tete-section .pastille { margin-bottom: 20px; }
.tete-section .titre { margin-bottom: 20px; max-width: 820px; }

/* ---------- Transformations ---------- */
.transfo { padding: 24px 0 72px; }
.transfo-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.transfo-carte {
  background: var(--surface);
  border-radius: var(--r-carte);
  overflow: hidden;
}
.transfo-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.transfo-corps { padding: 20px 22px 22px; }
.transfo-titre {
  margin: 0 0 6px;
  font-size: 26px;
  font-weight: 800;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.1;
}
/* « Sèche · 4 mois » : texte simple, modifiable d'un clic dans l'éditeur */
.transfo-objectif {
  font-size: 15px;
  color: var(--texte-2);
}
/* La maquette espace de 2 px les lignes repliees (flex, gap 2px) : interligne 1,65em + 2 px moins 1 px
   de chaque cote donne 24,75 px sur une ligne et 51,5 px sur deux, exactement comme la maquette.
   Specificite 0,2,0 : sinon ":root :where(.is-layout-flow) > :last-child" remet la marge basse a 0. */
.transfo-corps .transfo-objectif { line-height: calc(1.65em + 2px); margin-block: -1px; }
.transfo-pied, .appel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
  padding: 36px 40px;
  background: var(--surface);
  border-radius: var(--r-carte);
}
.transfo-appel { max-width: 600px; }
.transfo-appel-titre {
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 850;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.1;
  text-wrap: balance;
}
.transfo-appel-texte { margin-top: 10px; font-size: 15px; color: var(--texte-2); text-wrap: pretty; }
.transfo-pied .boutons, .appel .boutons { flex-shrink: 0; }

/* ---------- Méthode ---------- */
.methode { padding: 72px 0 104px; }
.methode-grille {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.etape {
  background: var(--surface-relief);
  border-radius: var(--r-carte);
  padding: 28px 24px 30px;
}
.etape-numero {
  font-size: 44px;
  font-weight: 800;
  font-stretch: var(--etroit);
  line-height: 1;
  margin-bottom: 14px;
}
.etape-titre {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--trait);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.etape-texte { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--texte-2); }
.etape-claire { background: var(--inverse); color: var(--sur-inverse); }
.etape-claire .etape-titre { border-bottom-color: rgba(0, 0, 0, .14); }
.etape-claire .etape-texte { color: rgba(18, 16, 16, .72); }

/* ---------- Services ---------- */
.services { padding: 112px 0; }
.offre-phare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  padding: 48px;
  background: var(--surface);
  border-radius: 14px;
}
.offre-phare .etiquette { color: var(--texte-2); margin-bottom: 14px; }
.offre-phare .titre { margin-bottom: 18px; }
.offre-phare p { color: #d9d5d5; }
.offre-phare p + p { margin-top: 14px; }
.offre-phare .boutons { margin-top: 32px; }

.coches { list-style: none; display: grid; gap: 14px; }
.coches li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
}
.coches li::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 21px; height: 21px;
  border-radius: 4px;
  background: var(--inverse);
}
.coches li::after {
  content: '';
  position: absolute;
  left: 7.5px; top: 4.5px;
  width: 5px; height: 9px;
  border-right: 2px solid var(--sur-inverse);
  border-bottom: 2px solid var(--sur-inverse);
  transform: rotate(45deg);
}
.offre-phare .coches { align-content: center; }

.offres-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.offre {
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--trait);
  border-radius: var(--r-carte);
}
.offre-titre {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 800;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.1;
}
.offre-duree { font-size: 14px; color: var(--texte-2); margin-bottom: 22px; }
.offre .coches { gap: 11px; margin-bottom: 28px; }
.offre .coches li { font-size: 14px; }
.offre > .wp-block-buttons { margin-top: auto; align-self: flex-start; }

/* ---------- Qui suis-je ---------- */
.apropos { padding: 112px 0; }
.apropos-grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.apropos-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 30%;
  border-radius: var(--r-photo);
}
.apropos-texte .pastille { margin-bottom: 20px; }
.apropos-texte .titre { margin-bottom: 28px; }
.apropos-texte .prose { color: #d9d5d5; }
.apropos-texte .prose strong { color: var(--texte); }
.apropos-texte .prose + .boutons { margin-top: 36px; }
.chiffres {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 40px 0 36px;
  padding-top: 28px;
  border-top: 1px solid var(--trait);
}
.chiffre-valeur {
  font-size: 40px;
  font-weight: 800;
  font-stretch: var(--etroit);
  line-height: 1;
}
.chiffre-legende { margin-top: 8px; font-size: 13px; line-height: 1.45; color: var(--texte-2); }

/* ---------- FAQ ---------- */
.faq { padding: 112px 0; }
.faq-grille {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.faq-tete { position: sticky; top: 110px; }
.faq-tete .pastille { margin-bottom: 20px; }
.faq-tete .titre { margin-bottom: 20px; }
.question { border-bottom: 1px solid var(--trait); }
.question:first-child { border-top: 1px solid var(--trait); }
.question summary {
  position: relative;
  padding: 22px 48px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
}
.question summary::-webkit-details-marker { display: none; }
.question summary::before,
.question summary::after {
  content: '';
  position: absolute;
  right: 6px; top: 50%;
  width: 14px; height: 2px;
  background: var(--texte);
  transition: transform .2s;
}
.question summary::after { transform: rotate(90deg); }
.question[open] summary::after { transform: rotate(0deg); }
.question p { padding: 0 48px 24px 0; color: var(--texte-2); }

/* ---------- Contact ---------- */
.contact { padding: 112px 0; }
.contact-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-texte .pastille { margin-bottom: 20px; }
.contact-texte .titre { margin-bottom: 26px; }
.contact-texte > p { color: #d9d5d5; }
/* coordonnées : un groupe par ligne (libellé + valeur, deux paragraphes) */
.coordonnees { margin-top: 36px; display: grid; gap: 0; }
.coordonnee {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--trait);
  font-size: 15px;
}
.coordonnee:last-child { border-bottom: 1px solid var(--trait); }
.coordonnees .etiquette { flex-shrink: 0; color: var(--texte-2); padding-top: 3px; }
.coordonnee-valeur { min-width: 0; text-align: right; overflow-wrap: anywhere; }
.coordonnees a { font-weight: 600; text-decoration: none; }
.coordonnees a:hover { text-decoration: underline; text-underline-offset: 4px; }

.formulaire {
  background: var(--fond);
  border: 1px solid var(--trait);
  border-radius: 14px;
  padding: 40px;
}
.formulaire .titre { margin-bottom: 24px; }
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.champ { display: grid; gap: 7px; }
.champ-large { grid-column: 1 / -1; }
.champ label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--texte-2); }
.champ input, .champ select, .champ textarea {
  width: 100%;
  font: inherit;
  font-size: 16px; /* 16 px minimum : en dessous, iOS zoome à la saisie */
  color: var(--texte);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--r-bouton);
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s, background-color .2s;
}
.champ textarea { min-height: 140px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--texte); background: var(--surface-relief); }
.formulaire .wpcf7-submit { width: 100%; margin-top: 22px; -webkit-appearance: none; appearance: none; }
.mention { margin-top: 14px; font-size: 12px; color: var(--texte-2); text-align: center; }

/* Contact Form 7 : champs enrobés d'un <span> (passé en bloc, sinon l'espace
   sous la ligne de base ajoute des pixels à chaque champ), messages aux couleurs du site */
.formulaire .wpcf7 { margin: 0; }
.formulaire .wpcf7-form-control-wrap { display: block; }
.formulaire .wpcf7-form-control-wrap > .wpcf7-form-control { vertical-align: top; }
.formulaire .wpcf7-spinner { display: none; }
.formulaire .wpcf7 form.submitting .wpcf7-submit { opacity: .6; cursor: progress; }
.formulaire .wpcf7-not-valid-tip { margin-top: 6px; font-size: 13px; font-weight: 600; color: #ff7a7f; }
.formulaire .champ .wpcf7-not-valid { border-color: var(--accent); }
.formulaire .wpcf7 form .wpcf7-response-output {
  margin: 18px 0 0;
  padding: 12px 16px;
  border: 1px solid var(--trait);
  border-radius: var(--r-bouton);
  font-size: 14px;
  line-height: 1.5;
  color: var(--texte);
  text-align: center;
}
.formulaire .wpcf7 form.sent .wpcf7-response-output { border-color: #46b450; }
.formulaire .wpcf7 form.invalid .wpcf7-response-output,
.formulaire .wpcf7 form.unaccepted .wpcf7-response-output,
.formulaire .wpcf7 form.payment-required .wpcf7-response-output { border-color: #ffb900; }
.formulaire .wpcf7 form.failed .wpcf7-response-output,
.formulaire .wpcf7 form.aborted .wpcf7-response-output,
.formulaire .wpcf7 form.spam .wpcf7-response-output { border-color: var(--accent); }

/* ---------- Pied de page ---------- */
.pied { background: var(--pied); color: var(--texte); padding: 80px 0 32px; border-top: 1px solid var(--trait); }
.pied-grille {
  display: grid;
  grid-template-columns: 4fr 2fr 3fr 3fr;
  gap: 40px;
}
.pied .logo { width: fit-content; margin-bottom: 10px; }
.pied-intro { max-width: 300px; font-size: 14px; color: var(--texte-2); }
/* .pied devant : la regle de mise en page de WordPress ":root :where(.is-layout-flow) > :first-child"
   (specificite 0,2,0) annulerait sinon la marge haute du premier enfant du groupe */
.pied .pied-titre {
  margin: 4px 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
}
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied ul a { text-decoration: none; font-size: 14px; color: rgba(255, 255, 255, .86); }
.pied ul a:hover { color: var(--texte); text-decoration: underline; }
.pied-bas {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
  font-size: 13px;
  color: rgba(255, 255, 255, .45);
}

/* =========================================================
   Pages internes (phase 3) — mêmes jetons, mêmes composants ;
   seuls s'ajoutent les blocs propres à ces pages.
   ========================================================= */
/* Fil d'Ariane */
.ariane { margin-bottom: 26px; font-size: 13px; line-height: 1.4; color: var(--texte-2); word-spacing: .12em; }
.ariane a { text-decoration: none; word-spacing: normal; }
.ariane a:hover { color: var(--texte); text-decoration: underline; text-underline-offset: 4px; }

/* En-tête de page (Services, Transformations) */
.tete-page { padding: 56px 0 88px; }
.tete-page-grille {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 64px;
  align-items: end;
}
.tete-page .pastille { margin-bottom: 20px; }
.tete-page .chapo { max-width: 460px; }
.tete-page .boutons { margin-top: 28px; }

/* Hero des pages de service : photo à droite */
.hero-inverse .hero-photo { order: 2; }
.hero-inverse .hero-photo img { object-position: 50% 35%; }
.faits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--trait);
}
.fait-valeur {
  font-size: 20px;
  font-weight: 800;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.15;
}
.fait-legende { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--texte-2); }
.hero-texte .faits + .boutons { margin-top: 40px; }

/* Texte + liste numérotée */
.pourquoi { padding: 112px 0; }
.pourquoi-grille {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.pourquoi-texte .pastille { margin-bottom: 20px; }
.pourquoi-texte .titre { margin-bottom: 28px; }
.pourquoi-texte .prose { color: #d9d5d5; }
.pourquoi-texte .prose strong { color: var(--texte); }
.liste-num {
  padding: 40px;
  background: var(--surface);
  border-radius: 14px;
}
.liste-num .etiquette { color: var(--texte-2); margin-bottom: 6px; }
.liste-num ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.liste-num li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--trait);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}
.liste-num li:last-child { border-bottom: 0; padding-bottom: 0; }
.liste-num li::before {
  content: counter(n, decimal-leading-zero);
  font-size: 30px;
  font-weight: 800;
  font-stretch: var(--etroit);
  line-height: 1;
  color: var(--accent);
}

/* Devise du service : trois mots sur toute la largeur */
.devise { padding: 52px 0 56px; }
/* Taille calée sur la largeur du conteneur (cqi), pas de la fenêtre :
   la devise la plus longue (« Objectif Travail Satisfaction ») mesure 12,1 em,
   7,4 cqi la fait tenir avec ~8 % de marge à toutes les largeurs. */
.devise-mots {
  container-type: inline-size;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 850;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.01em;
}
.devise-mots p { font-size: 7.4cqi; white-space: nowrap; }
.devise-mots p + p { margin-left: 1.4cqi; }
.devise-mots p:nth-child(2) { color: rgba(255, 255, 255, .32); }

/* Ce qui est inclus */
.inclus { padding: 112px 0; }

/* Déroulé en trois étapes */
.methode-grille.trois { grid-template-columns: repeat(3, 1fr); }

/* Résultats (aperçu) et autres services */
.resultats, .autres { padding: 112px 0; }
.autres .offres-grille { margin-top: 0; }

/* Contact en tête de page */
.contact-page { padding: 56px 0 112px; }

/* À propos : palmarès */
.palmares { padding: 112px 0; }
.palmares .chiffres {
  margin: 0 0 88px;
  padding: 0 0 48px;
  border-top: 0;
  border-bottom: 1px solid var(--trait);
}
.palmares .chiffre-valeur { font-size: clamp(44px, 4.4vw, 60px); }
.palmares .chiffre-legende { font-size: 14px; }
.palmares-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.palmares-carte {
  padding: 28px 28px 30px;
  border: 1px solid var(--trait);
  border-radius: var(--r-carte);
}
.palmares-tete {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--trait);
}
.palmares-rang {
  font-size: 44px;
  font-weight: 800;
  font-stretch: var(--etroit);
  line-height: 1;
}
.palmares-rang.premier { color: var(--accent); }
.palmares-annee { color: var(--texte-2); }
.palmares-titre {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: .01em;
  text-transform: uppercase;
  line-height: 1.2;
}
.palmares-texte { font-size: 15px; line-height: 1.6; color: var(--texte-2); }

/* À propos : galerie de scène */
.scene { padding: 112px 0; }
.scene-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.scene-grille figure:first-child { grid-column: span 2; grid-row: span 2; }
.scene-grille img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-carte);
}

/* À propos : mission */
.mission { padding: 112px 0; }
.mission .apropos-grille { grid-template-columns: 7fr 5fr; }
.mission .apropos-photo { order: 2; }
.citation {
  margin: 32px 0 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-size: clamp(22px, 2vw, 27px);
  font-weight: 800;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.2;
}
.mission .boutons { margin-top: 36px; }

/* Transformations : galerie complète */
.galerie { padding: 112px 0; }
.galerie-transfo { columns: 3; column-gap: 20px; }
.galerie .galerie-transfo figure { break-inside: avoid; margin: 0 0 20px; }
.galerie-transfo img { width: 100%; border-radius: var(--r-carte); cursor: zoom-in; }
.galerie .transfo-pied { margin-top: 28px; }
.agrandir .transfo-photo img { cursor: zoom-in; }
.transfo-cta {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 30px;
  background: var(--inverse);
  color: var(--sur-inverse);
}
.transfo-cta .etiquette { color: rgba(18, 16, 16, .6); margin-bottom: 14px; }
.transfo-cta-titre {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 850;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.05;
  text-wrap: balance;
}
.transfo-cta-texte { margin: 12px 0 26px; font-size: 15px; color: rgba(18, 16, 16, .72); }
.transfo-cta > .wp-block-buttons { align-self: flex-start; }
.transfo-cta .wp-block-button.bouton > .wp-block-button__link { background: var(--sur-inverse); color: var(--inverse); border-color: var(--sur-inverse); }
.transfo-cta .wp-block-button.bouton > .wp-block-button__link:hover { background: #2a2626; border-color: #2a2626; color: var(--inverse); }
.resultats-tous { padding: 0 0 112px; }

/* Agrandissement des photos : visionneuse native du bloc Image (lightbox),
   fond et bouton de fermeture repris des couleurs du thème (theme.json). */
.wp-lightbox-overlay .wp-block-image img { border-radius: var(--r-carte); }

/* Services : comparatif (bloc Tableau, qualifié pour passer devant son CSS) */
.comparatif { padding: 112px 0; }
.comparatif .wp-block-table.tableau-defile { overflow-x: auto; border: 1px solid var(--trait); border-radius: 14px; }
.comparatif .wp-block-table table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
.comparatif .wp-block-table thead { border-bottom: 0; }
.comparatif .wp-block-table th,
.comparatif .wp-block-table td { padding: 18px 20px; border: 0; border-bottom: 1px solid var(--trait); text-align: center; vertical-align: middle; }
.comparatif .wp-block-table thead th {
  font-size: 13px;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: .03em;
  text-transform: uppercase;
  line-height: 1.3;
  background: var(--surface);
}
.comparatif .wp-block-table thead th:nth-child(2) { background: var(--inverse); color: var(--sur-inverse); }
.comparatif .wp-block-table th:first-child { text-align: left; }
.comparatif .wp-block-table tbody th { font-weight: 600; color: #d9d5d5; }
.comparatif .wp-block-table tbody td { font-weight: 700; }
.comparatif .wp-block-table tbody tr:last-child > * { border-bottom: 0; }

/* ---------- Responsive ----------
   Paliers : 1080 (petit portable), 900 (tablette : menu replié, colonnes empilées),
   700 (grande mobile / petite tablette), 600 (mobile), 380 (petit mobile).
   Règle constante : aucune ligne de grille incomplète (pas de carte orpheline). */

/* un enfant de grille ne peut jamais élargir sa colonne (adresse e-mail, mot long) */
.hero-grille > *, .realite-grille > *, .apropos-grille > *, .faq-grille > *, .contact-grille > *,
.offre-phare > *, .tete-page-grille > *, .pourquoi-grille > * { min-width: 0; }

@media (max-width: 1080px) {
  .methode-grille { grid-template-columns: repeat(2, 1fr); }
  .chiffres { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .palmares .chiffres { grid-template-columns: repeat(4, 1fr); }
  .pied-grille { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  /* comparatif (Services) : réservé à l'ordinateur, il répète les offres présentées plus haut.
     La section Contact qui suit passe sur le fond de base pour garder l'alternance des bandes. */
  .comparatif { display: none; }
  .comparatif + .contact { background: var(--fond); }

  .entete nav.wp-block-navigation.menu, .wp-block-buttons.entete-cta { display: none; }
  .burger {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 46px; height: 46px;
    border: 0;
    border-radius: var(--r-bouton);
    background: var(--inverse);
    cursor: pointer;
  }
  .burger span, .burger span::before, .burger span::after {
    display: block;
    width: 18px; height: 2px;
    background: var(--sur-inverse);
    position: relative;
    transition: transform .2s, background-color .2s;
  }
  .burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
  .burger span::before { top: -6px; }
  .burger span::after { top: 6px; }
  .entete.menu-ouvert .burger span { background: transparent; }
  .entete.menu-ouvert .burger span::before { transform: translateY(6px) rotate(45deg); }
  .entete.menu-ouvert .burger span::after { transform: translateY(-6px) rotate(-45deg); }
  .entete.menu-ouvert nav.wp-block-navigation.menu {
    display: block;
    position: absolute;
    top: 100%; left: 0; right: 0;
    max-height: calc(100vh - 78px);
    max-height: calc(100dvh - 78px);
    margin: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--fond);
    border-top: 1px solid var(--trait);
    border-bottom: 1px solid var(--trait);
    padding: 8px 24px 24px;
    box-shadow: 0 24px 40px rgba(0, 0, 0, .5);
  }
  .entete.menu-ouvert nav.wp-block-navigation.menu .wp-block-navigation__container { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
  .entete.menu-ouvert nav.wp-block-navigation.menu .wp-block-navigation-item { display: block; }
  .entete.menu-ouvert nav.wp-block-navigation.menu .wp-block-navigation-item__content { padding: 12px 0; font-size: 16px; }
  .entete nav.wp-block-navigation.menu .wp-block-navigation__submenu-container {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    background: transparent; padding: 0 0 4px 16px; min-width: 0; width: auto; height: auto; overflow: visible;
  }
  .entete nav.wp-block-navigation.menu .has-child:hover > .wp-block-navigation__submenu-container,
  .entete nav.wp-block-navigation.menu .has-child:focus-within > .wp-block-navigation__submenu-container { min-width: 0; }
  .entete.menu-ouvert nav.wp-block-navigation.menu .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 10px 0; font-size: 15px; color: var(--texte-2); }
  .entete nav.wp-block-navigation.menu .has-child > .wp-block-navigation-item__content::after { display: none; }
  /* bouton d'appel en bas du menu déplié (le bouton de l'en-tête est masqué) */
  .entete.menu-ouvert nav.wp-block-navigation.menu .menu-appel { display: block; margin-top: 16px; }
  .entete.menu-ouvert nav.wp-block-navigation.menu .menu-appel > .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 22px;
    border: 1.5px solid var(--inverse);
    border-radius: var(--r-bouton);
    background: var(--inverse);
    color: var(--sur-inverse);
    font-size: 13px;
    font-weight: 800;
    font-stretch: 85%;
    letter-spacing: .03em;
    line-height: 1.25;
    text-transform: uppercase;
    text-decoration: none;
  }

  /* cibles tactiles d'au moins 40 px */
  .ariane a { padding: 14px 0; }
  .coordonnees a { padding: 10px 0; }
  .pied ul { gap: 0; }
  .pied ul a { display: inline-block; padding: 9px 0; }

  .hero { padding: 24px 0 64px; }
  .hero-grille, .realite-grille, .apropos-grille, .faq-grille, .contact-grille, .offre-phare { grid-template-columns: 1fr; gap: 36px; }
  /* pages internes : fil d'Ariane et titre d'abord, photo ensuite */
  .hero-page .hero-photo { order: 2; }
  .hero-texte .boutons { margin-top: 36px; }
  .realite, .services, .apropos, .faq, .contact, .methode { padding: 72px 0; }
  .transfo { padding: 8px 0 72px; }
  .transfo-pied { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; }
  .offre-phare { padding: 32px 24px; }
  .faq-tete { position: static; }

  /* grilles de 3 cartes : on garde 3 colonnes, resserrées */
  .transfo-grille, .offres-grille, .palmares-grille { gap: 16px; }
  .transfo-corps { padding: 18px 18px 20px; }
  .transfo-titre { font-size: 23px; }
  .offre { padding: 26px 20px; }
  .palmares-carte { padding: 24px 20px 26px; }
  .palmares-rang { font-size: 38px; }
  .chiffres { grid-template-columns: repeat(4, 1fr); }

  .tete-page { padding: 32px 0 64px; }
  .tete-page-grille, .pourquoi-grille, .mission .apropos-grille { grid-template-columns: 1fr; gap: 28px; }
  .mission .apropos-photo { order: 0; }
  .pourquoi, .inclus, .resultats, .autres, .palmares, .scene, .mission, .galerie { padding: 72px 0; }
  .contact-page { padding: 32px 0 72px; }
  .resultats-tous { padding: 0 0 72px; }
  .palmares .chiffres { margin-bottom: 56px; }
  .galerie-transfo { columns: 2; column-gap: 16px; }
  .galerie .galerie-transfo figure { margin-bottom: 16px; }
  .liste-num { padding: 28px 24px; }
  .appel { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px 24px; }
}
/* tablette : photos empilées en paysage, sinon elles dépassent la hauteur de l'écran */
@media (min-width: 601px) and (max-width: 900px) {
  .hero-photo img, .realite-photo img, .apropos-photo img { aspect-ratio: 4 / 3; }
  .realite-photo img, .apropos-photo img { object-position: 50% 30%; }
}
@media (max-width: 700px) {
  .transfo-grille, .palmares-grille { grid-template-columns: 1fr 1fr; }
  .offres-grille, .methode-grille.trois { grid-template-columns: 1fr; }
  /* nombre impair : la dernière carte prend toute la ligne */
  .transfo-grille > :last-child:nth-child(odd),
  .palmares-grille > :last-child:nth-child(odd) { grid-column: 1 / -1; }
  .transfo-grille > .transfo-carte:last-child:nth-child(odd):not(.transfo-cta) { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
  .transfo-grille > .transfo-carte:last-child:nth-child(odd):not(.transfo-cta) .transfo-photo img { height: 100%; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 80px; }
  .entete-ligne { height: 66px; }
  .logo { font-size: 20px; }
  .logo .wp-block-site-logo.logo-embleme img { width: 40px; }
  .entete.menu-ouvert nav.wp-block-navigation.menu { max-height: calc(100vh - 66px); max-height: calc(100dvh - 66px); }

  .titre-xl { font-size: clamp(30px, 9.3vw, 36px); }
  .titre-l { font-size: clamp(26px, 7.6vw, 28px); }
  /* un libellé long passe à la ligne au lieu de déborder */
  .wp-block-button.bouton > .wp-block-button__link,
  .formulaire .wpcf7-submit { white-space: normal; text-align: center; line-height: 1.25; padding: 12px 22px; }
  .wp-block-buttons.boutons > .wp-block-button { flex: 1 1 auto; }

  .realite, .services, .apropos, .faq, .contact, .methode,
  .pourquoi, .inclus, .resultats, .autres, .palmares, .scene, .mission, .galerie { padding: 64px 0; }
  .transfo { padding: 8px 0 64px; }
  .resultats-tous { padding: 0 0 64px; }
  .contact-page { padding: 28px 0 64px; }
  .tete-page { padding: 28px 0 56px; }
  .tete-section { margin-bottom: 36px; }

  .hero-photo img { aspect-ratio: 4 / 4.2; }
  .transfo-grille, .palmares-grille, .methode-grille { grid-template-columns: 1fr; }
  .transfo-grille > .transfo-carte:last-child:nth-child(odd):not(.transfo-cta) { display: block; }
  .transfo-grille > .transfo-carte:last-child:nth-child(odd):not(.transfo-cta) .transfo-photo img { height: auto; }
  .transfo-pied .boutons, .appel .boutons { width: 100%; }
  .transfo-pied, .appel { padding: 26px 20px; }
  .transfo-cta { padding: 28px 22px; }
  .offre-phare { padding: 28px 20px; gap: 28px; }

  .faits { grid-template-columns: 1fr; gap: 18px; }

  .chiffres, .palmares .chiffres { grid-template-columns: 1fr 1fr; row-gap: 28px; }
  .devise-mots { flex-direction: column; align-items: center; gap: 4px; }
  .devise-mots p { font-size: min(54px, 16cqi); }
  .devise-mots p + p { margin-left: 0; }
  .scene-grille { grid-template-columns: 1fr 1fr; gap: 10px; }
  .scene-grille figure:first-child { grid-column: auto; grid-row: auto; }
  .galerie-transfo { column-gap: 10px; }
  .galerie .galerie-transfo figure { margin-bottom: 10px; }
  .liste-num { padding: 24px 20px; }
  .liste-num li { font-size: 17px; }

  .question summary { font-size: 16px; padding: 20px 40px 20px 0; }
  .question p { padding: 0 0 22px; }
  .champs { grid-template-columns: 1fr; }
  .formulaire { padding: 28px 20px; }


  .pied { padding: 56px 0 28px; }
  .pied-grille { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .pied-grille > :first-child, .pied-grille > :last-child { grid-column: 1 / -1; }
  .pied-bas { flex-direction: column; gap: 6px; margin-top: 40px; }
}
@media (max-width: 380px) {
  .enveloppe { padding: 0 18px; }
  .entete.menu-ouvert nav.wp-block-navigation.menu { padding-left: 18px; padding-right: 18px; }
  .entete-ligne { gap: 16px; }
}

/* ---------- Centrage mobile et tablette (demande client) ----------
   Jusqu'à 900 px, tous les textes sont centrés. Restent alignés à gauche,
   pour la lisibilité : listes à coches (bloc centré, coches alignées entre elles),
   champs du formulaire, questions de la FAQ. */
@media (max-width: 900px) {
  main, .pied { text-align: center; }
  main p { text-wrap: pretty; }

  /* blocs à largeur limitée : centrés dans leur colonne */
  .pastille { margin-left: auto; margin-right: auto; }
  .tete-section .titre, .chapo, .hero-intro, .pied-intro { margin-left: auto; margin-right: auto; }
  /* paragraphes centrés : lignes de 70 caractères max, au-delà la lecture fatigue */
  .prose, .contact-texte > p, .offre-phare p, .transfo-appel { max-width: 620px; margin-left: auto; margin-right: auto; }
  .wp-block-buttons.boutons { justify-content: center; }

  /* menu déplié */
  .entete.menu-ouvert nav.wp-block-navigation.menu { text-align: center; }
  .entete.menu-ouvert nav.wp-block-navigation.menu .wp-block-navigation-item__content { justify-content: center; }
  .entete nav.wp-block-navigation.menu .wp-block-navigation__submenu-container { padding: 0 0 4px; }

  /* composants en flex / grille */
  .transfo-objectif { justify-content: center; }
  .transfo-pied, .appel { align-items: center; }
  .offre > .wp-block-buttons, .transfo-cta > .wp-block-buttons { align-self: center; }
  .palmares-tete { justify-content: center; gap: 14px; }
  .liste-num li { display: flex; flex-direction: column; align-items: center; gap: 8px; }
  .coordonnee { flex-direction: column; align-items: center; gap: 4px; }
  .coordonnees .etiquette { padding-top: 0; }
  .coordonnee-valeur { text-align: center; }

  /* citation : filet rouge au-dessus au lieu de la bordure gauche */
  .citation { border-left: 0; padding: 0; }
  .citation::before { content: ''; display: block; width: 44px; height: 3px; margin: 0 auto 18px; background: var(--accent); }

  /* listes à coches : bloc centré, contenu aligné */
  .coches { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; text-align: left; }
  .offre .coches { align-self: center; }

  /* restent à gauche */
  .faq-liste, .champs { text-align: left; }

  /* pied de page */
  .pied .logo { margin-left: auto; margin-right: auto; }
  .pied ul { justify-items: center; }
  .pied-bas { flex-direction: column; align-items: center; gap: 6px; }

  /* textes juridiques et articles : la lecture reste alignée à gauche */
  .page-texte .contenu-texte { text-align: left; }
}

/* =========================================================
   Pages de texte (mentions légales, politique de confidentialité,
   articles) : gabarit « Page de texte », titre de la page + contenu libre.
   ========================================================= */
.page-texte { padding: 56px 0 112px; }
.page-texte .enveloppe { max-width: calc(820px + 48px); }
.page-texte .wp-block-post-title { margin-bottom: 40px; }
.contenu-texte { color: #d9d5d5; }
.contenu-texte > * + * { margin-top: 18px; }
.contenu-texte h2, .contenu-texte h3, .contenu-texte h4 {
  margin-top: 44px;
  color: var(--texte);
  font-weight: 800;
  font-stretch: var(--etroit);
  text-transform: uppercase;
  line-height: 1.15;
  text-wrap: balance;
}
.contenu-texte h2 { font-size: clamp(24px, 2.2vw, 30px); }
.contenu-texte h3, .contenu-texte h4 { font-size: 20px; }
.contenu-texte strong { color: var(--texte); }
.contenu-texte a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 3px; }
.contenu-texte ul, .contenu-texte ol { padding-left: 22px; }
.contenu-texte li + li { margin-top: 6px; }
.article-date { margin: -24px 0 32px; color: var(--texte-2); }
.liste-articles .wp-block-post { padding: 28px 0; border-bottom: 1px solid var(--trait); }
.liste-articles .wp-block-post-title a { text-decoration: none; }
.liste-articles .wp-block-post-excerpt { margin-top: 12px; color: var(--texte-2); }
.page-404 { padding-bottom: 160px; }
.page-404 .pastille { margin-bottom: 20px; }
.page-404 .chapo { margin: 20px 0 32px; }
@media (max-width: 900px) {
  .page-texte { padding: 32px 0 72px; }
  .page-404 .chapo { margin-left: auto; margin-right: auto; }
}
