/*
Theme Name: Olivier Angus
Theme URI: https://olivierangus.com
Author: Olivier Angus
Description: Thème bloc sur mesure du site d'Olivier Angus — consultant en transformation digitale et formateur des dirigeants. Contenus 100 % en blocs natifs, modifiables dans l'éditeur.
Version: 1.0.3
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: olivier-angus
Tags: block-theme, full-site-editing, business, one-column
*/

/* =========================================================
   Palette : #15DB95 vert · #232633 nuit · #FFFFFF blanc · #DAE0F0 brume · #C0C0C0 argent
   Titres : Aeonik (repli Geist) · Italiques : Cabernet JF Pro (repli Playfair Display 800 italic)
   Nom : Trajan 3 (repli Cinzel) · Texte : Plus Jakarta Sans · Nom géant du pied : Verdana
   ========================================================= */

/* Aeonik : utilisée si installée chez le visiteur (licence web non fournie) */
@font-face { font-family: 'Aeonik OA'; font-weight: 300; src: local('Aeonik Light'), local('Aeonik-Light'); }
@font-face { font-family: 'Aeonik OA'; font-weight: 400; src: local('Aeonik Regular'), local('Aeonik-Regular'); }
@font-face { font-family: 'Aeonik OA'; font-weight: 500; src: local('Aeonik Medium'), local('Aeonik-Medium'); }
@font-face { font-family: 'Aeonik OA'; font-weight: 700; src: local('Aeonik Bold'), local('Aeonik-Bold'); }

:root {
  --vert: #15DB95;
  --nuit: #232633;
  --blanc: #FFFFFF;
  --brume: #DAE0F0;
  --argent: #C0C0C0;

  --texte: #232633;
  --texte-doux: rgba(35, 38, 51, .68);
  --clair-doux: rgba(255, 255, 255, .72);
  --ligne-claire: rgba(218, 224, 240, .14);

  --titre: 'Aeonik OA', 'Aeonik', 'Geist', 'Inter', system-ui, sans-serif;
  --nom: 'Trajan Pro 3', 'Trajan 3', 'TrajanPro3-Regular', 'Trajan Pro', 'Cinzel', Georgia, serif;
  --italique: 'Cabernet JF Pro', 'CabernetJFPro', 'Cabernet JF', 'Playfair Display', Georgia, serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --rayon-img: 12px;
  --rayon-carte: 20px;
  --conteneur: 1240px;
  --gouttiere: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  interpolate-size: allow-keywords;

  /* icônes (masques CSS : aucun SVG dans le contenu) */
  --i-fleche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
  --i-gauche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
  --i-droite: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E");
  --i-pilotage: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-3-6.7'/%3E%3Cpath d='M21 3v6h-6'/%3E%3C/svg%3E");
  --i-loupe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E");
  --i-equipe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M22 21v-2a4 4 0 0 0-3-3.87M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
  --i-courbe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M14 7h7v7'/%3E%3C/svg%3E");
  --i-horloge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
  --i-message: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.4 8.4 0 0 1-12.4 7.4L3 21l2.1-5.6A8.4 8.4 0 1 1 21 11.5z'/%3E%3C/svg%3E");
  --i-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
  --i-coche: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  --i-diplome-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10 12 5 2 10l10 5 10-5z'/%3E%3Cpath d='M6 12v5c3 3 9 3 12 0v-5'/%3E%3C/svg%3E");
  --i-agenda-blanc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M8 2v4M16 2v4M3 10h18'/%3E%3Cpath d='m9 16 2 2 4-4'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* height:auto obligatoire : sinon l'attribut height des blocs image l'emporte sur aspect-ratio */
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; hyphens: none; text-wrap: balance; }
p { margin: 0; }
figure, figure.wp-block-image { margin: 0; }
.wp-site-blocks { padding: 0; }

/* Neutralisation de l'espacement automatique de Gutenberg : blockGap "0px" dans theme.json
   + filet de sécurité À SPÉCIFICITÉ NULLE (jamais .wp-block-group > * : cela écraserait
   toutes les marges des composants). */
:where(.wp-block-group) > :where(*), :where(.wp-block-buttons) { margin-block: 0; }
:where(ul.wp-block-list, ol.wp-block-list) { margin: 0; padding: 0; }
.wp-block-buttons > .wp-block-button { margin: 0; }
/* Les styles globaux remettent à zéro la marge de début du premier enfant et la marge de fin du
   dernier (:root :where(.is-layout-flow) > :first-child / :last-child, spécificité 0,2,0).
   Les marges du design portées par un premier ou un dernier enfant sont donc qualifiées par leur
   parent (porte 4 : écarts mesurés sur les pistes du hero, l'agenda et le pied de page). */
.hero > .hero-pistes { margin-bottom: 104px; }
.rdv-carte > .agenda { margin: 14px; }
.agenda-accueil > h3.wp-block-heading { margin-top: 6px; }
.wp-site-blocks [id] { scroll-margin-top: 70px; }

.conteneur { width: 100%; max-width: calc(var(--conteneur) + var(--gouttiere) * 2); margin-inline: auto; padding-inline: var(--gouttiere); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 2px solid var(--vert); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typo commune ---------- */
.titre-section {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.1;
  letter-spacing: -.01em;
}
/* tous les textes en italique : Cabernet JF Pro */
.titre-section em, .hero-titre em, .page-titre em, .hero-piste em, .masters li::before,
.apropos-signature, .defilant-groupe p {
  font-family: var(--italique); font-style: italic; font-weight: 800; font-synthesis: none;
}
.titre-section em, .hero-titre em, .page-titre em { color: var(--vert); letter-spacing: -.01em; }
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--texte-doux);
  margin-bottom: 18px;
}
.surtitre::before { content: ""; width: 28px; height: 2px; background: var(--vert); border-radius: 2px; }
.surtitre-clair { color: var(--brume); }
.surtitre-centre { justify-content: center; }
.chapo { font-size: 19px; line-height: 1.6; }

/* ---------- Boutons (core/button : la classe est sur le conteneur, le style sur le lien) ---------- */
.wp-block-button.b-vert .wp-block-button__link,
.wp-block-button.b-verre .wp-block-button__link {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 0;
  font-family: var(--sans); font-size: 15px; font-weight: 700; letter-spacing: .01em; line-height: 1.65;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, color .3s;
  white-space: nowrap;
}
.wp-block-button.b-vert .wp-block-button__link { background: var(--vert); color: #fff; box-shadow: 0 10px 30px -10px rgba(21, 219, 149, .7); }
.wp-block-button.b-vert .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(21, 219, 149, .85); }
.wp-block-button.b-verre .wp-block-button__link { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.wp-block-button.b-verre .wp-block-button__link:hover { background: rgba(255, 255, 255, .16); transform: translateY(-2px); }
.wp-block-button.b-grand .wp-block-button__link { padding: 17px 30px; font-size: 16px; }
.wp-block-button.b-fleche .wp-block-button__link::after,
.wp-block-button.b-whatsapp .wp-block-button__link::before {
  content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
  transition: transform .35s var(--ease);
}
.wp-block-button.b-fleche .wp-block-button__link::after { -webkit-mask-image: var(--i-fleche); mask-image: var(--i-fleche); }
.wp-block-button.b-fleche .wp-block-button__link:hover::after { transform: translateX(4px); }
.wp-block-button.b-whatsapp .wp-block-button__link::before { -webkit-mask-image: var(--i-message); mask-image: var(--i-message); }

/* ---------- Verres ---------- */
.verre-clair {
  background: rgba(255, 255, 255, .78);
  border: 1px solid rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 24px 60px -20px rgba(35, 38, 51, .35);
}

/* =========================================================
   EN-TÊTE
   ========================================================= */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 22px 0;
  transition: background-color .45s var(--ease), padding .45s var(--ease), box-shadow .45s, border-color .45s;
  border-bottom: 1px solid transparent;
}
.admin-bar .entete { top: 32px; }
@media (max-width: 782px) { .admin-bar .entete { top: 46px; } }
.entete.is-scrolle {
  background: rgba(35, 38, 51, .92);
  backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%);
  padding: 12px 0;
  border-bottom-color: rgba(218, 224, 240, .08);
  box-shadow: 0 12px 40px -20px rgba(0, 0, 0, .6);
}
.entete-in {
  max-width: 1440px; margin-inline: auto; padding-inline: var(--gouttiere);
  display: flex; align-items: center; gap: 28px;
}
.marque { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.wp-block-site-logo.marque-logo { line-height: 0; }
.wp-block-site-logo.marque-logo img { width: 44px; height: 44px; border-radius: 10px; box-shadow: 0 6px 20px -8px rgba(21, 219, 149, .6); }
.wp-block-site-title.marque-nom { margin: 0; font-family: var(--nom); font-size: 21px; font-weight: 600; color: #fff; letter-spacing: .05em; white-space: nowrap; line-height: 1; }
.wp-block-site-title.marque-nom a { color: inherit; text-decoration: none; }

/* menu : core/navigation */
.wp-block-navigation.menu { margin-left: auto; font-size: 15px; }
.wp-block-navigation.menu .wp-block-navigation__container { gap: 6px; }
.wp-block-navigation.menu .wp-block-navigation-item__content {
  position: relative;
  padding: 8px 14px;
  font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .86);
  text-decoration: none;
  transition: color .3s;
  white-space: nowrap;
}
.wp-block-navigation.menu .wp-block-navigation-item__content::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.wp-block-navigation.menu .wp-block-navigation-item__content:hover,
.wp-block-navigation.menu .wp-block-navigation-item__content.is-actif { color: var(--vert); }
.wp-block-navigation.menu .wp-block-navigation-item__content:hover::after,
.wp-block-navigation.menu .wp-block-navigation-item__content.is-actif::after { transform: scaleX(1); }
.wp-block-navigation.menu .menu-cta-mobile { display: none; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open {
  width: 46px; height: 46px; margin-left: auto; padding: 0;
  align-items: center; justify-content: center;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); color: #fff;
}
.wp-block-navigation.menu .wp-block-navigation__responsive-container-open svg { width: 26px; height: 26px; fill: currentColor; }
/* panneau mobile : le CSS du bloc est imprimé après cette feuille et pose un fond blanc */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open {
  background-color: rgba(35, 38, 51, .985) !important;
  color: #fff !important;
  padding: 28px var(--gouttiere) 40px;
}
/* l'alignement « à droite » du menu se propage au panneau : on le ramène à gauche, centré verticalement */
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  align-items: flex-start !important; justify-content: center; min-height: calc(100svh - 68px); padding-top: 40px;
}
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container,
.wp-block-navigation.menu .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item { align-items: flex-start !important; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation__container { flex-direction: column; gap: 4px; margin-left: 0 !important; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content { font-family: var(--titre); font-size: 34px; font-weight: 400; padding: 6px 0; color: #fff; }
.wp-block-navigation.menu .is-menu-open .wp-block-navigation-item__content::after { left: 0; right: auto; width: 40px; }
.wp-block-navigation.menu .is-menu-open .menu-cta-mobile { display: block; margin-top: 24px; }
.wp-block-navigation.menu .is-menu-open .menu-cta-mobile .wp-block-navigation-item__content {
  font-family: var(--sans); font-size: 16px; font-weight: 700; padding: 16px 28px; border-radius: 999px; background: var(--vert); color: #fff;
}
.wp-block-navigation.menu .is-menu-open .menu-cta-mobile .wp-block-navigation-item__content::after { display: none; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close { color: #fff; top: 0; right: 0; }
.wp-block-navigation.menu .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; fill: currentColor; }

.wp-block-buttons.entete-cta .wp-block-button__link { padding: 12px 22px; font-size: 14.5px; }

/* =========================================================
   HERO
   ========================================================= */
/* contenu puis pistes dans le flux : sur un écran bas, le hero grandit au lieu de faire se chevaucher les boutons et les pistes */
.hero {
  position: relative;
  min-height: clamp(640px, 100vh, 800px);
  display: grid; grid-template-rows: 1fr auto; justify-items: center;
  overflow: hidden;
  background: var(--nuit);
  color: #fff;
  text-align: center;
  isolation: isolate;
}
/* aurore */
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px;
  left: 50%; top: 50%; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(21, 219, 149, .16), rgba(218, 224, 240, .06), rgba(21, 219, 149, 0), rgba(21, 219, 149, .12), rgba(21, 219, 149, .16));
  filter: blur(80px);
  animation: tourner 26s linear infinite;
}
@keyframes tourner { to { rotate: 360deg; } }
.hero-diapos { position: absolute; inset: -12% 0; z-index: -2; will-change: transform; }
/* voile #232633 à 70 % */
.hero-diapos::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(21, 219, 149, .10), transparent 70%),
    linear-gradient(180deg, rgba(35, 38, 51, .35) 0%, rgba(35, 38, 51, 0) 22%, rgba(35, 38, 51, 0) 70%, rgba(35, 38, 51, .6) 100%),
    rgba(35, 38, 51, .70);
}
.wp-block-image.hero-diapo { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.wp-block-image.hero-diapo img { width: 100%; height: 100%; max-width: none; object-fit: cover; transform: scale(1.14); transform-origin: 50% 40%; }
.wp-block-image.hero-diapo.is-active { opacity: 1; }
.wp-block-image.hero-diapo.is-active img { animation: kenburns 9s linear forwards; }
@keyframes kenburns { from { transform: scale(1.14) translate3d(0, 0, 0); } to { transform: scale(1.02) translate3d(-1.5%, -1%, 0); } }
/* portrait : calé sur le haut du hero (sinon la tête est coupée), visage décalé à droite du titre */
.wp-block-image.hero-diapo-portrait { top: 9.7%; }
.wp-block-image.hero-diapo-portrait img { object-position: 40% 0%; transform-origin: 70% 25%; }

/* flèches (paragraphes : le script ajoute rôle bouton, tabindex et clavier) */
.hero-fleche {
  position: absolute; z-index: 3; top: 50%; margin-top: -26px;
  width: 52px; height: 52px; border-radius: 50%;
  cursor: pointer; overflow: hidden;
  font-size: 0; line-height: 0; color: transparent;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .22);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: .55;
  transition: opacity .35s, background-color .35s, border-color .35s, transform .45s var(--ease);
}
.hero-fleche::before {
  content: ""; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; background: #fff;
  -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat;
}
.hero-fleche-precedente { left: clamp(12px, 2.2vw, 32px); }
.hero-fleche-precedente::before { -webkit-mask-image: var(--i-gauche); mask-image: var(--i-gauche); }
.hero-fleche-suivante { right: clamp(12px, 2.2vw, 32px); }
.hero-fleche-suivante::before { -webkit-mask-image: var(--i-droite); mask-image: var(--i-droite); }
.hero-fleche:hover, .hero-fleche:focus-visible { opacity: 1; background: rgba(21, 219, 149, .18); border-color: rgba(21, 219, 149, .6); outline: none; }
.hero-fleche-precedente:hover { transform: translateX(-3px); }
.hero-fleche-suivante:hover { transform: translateX(3px); }

.hero-contenu { align-self: center; max-width: 1000px; padding: 110px var(--gouttiere) 36px; will-change: transform, opacity; }
.pastille {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .92);
  margin-bottom: 30px;
}
.pastille::before { content: ""; width: 8px; height: 8px; flex-shrink: 0; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(21, 219, 149, .25); animation: battement 2s ease-in-out infinite; }
@keyframes battement { 50% { box-shadow: 0 0 0 8px rgba(21, 219, 149, 0); } }
.hero-titre {
  font-family: var(--titre);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-inline: auto;
}
.hero-titre .mot { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(10px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease); transition-delay: calc(var(--i) * 75ms + .15s); }
.hero-titre.is-visible .mot { opacity: 1; transform: none; filter: none; }
.hero-texte { max-width: 760px; margin: 28px auto 0; font-size: clamp(18px, 1.7vw, 22px); font-weight: 500; color: rgba(255, 255, 255, .94); }
ul.hero-axes {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px;
  max-width: 900px; margin: 16px auto 0; padding: 0; list-style: none;
  font-size: clamp(14px, 1.15vw, 16px); font-weight: 600; letter-spacing: .02em; color: rgba(255, 255, 255, .8);
}
.hero-axes li { display: inline-flex; align-items: center; gap: 14px; }
.hero-axes li + li::before { content: "•"; color: var(--vert); font-size: 1.2em; line-height: 1; }
.hero-pilotage {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 8px 18px 8px 14px; border-radius: 999px;
  border: 1px solid rgba(21, 219, 149, .45); background: rgba(21, 219, 149, .1);
  font-family: var(--titre); font-size: clamp(18px, 1.7vw, 22px); letter-spacing: .03em; color: var(--vert);
}
.hero-pilotage::before {
  content: ""; width: 20px; height: 20px; flex-shrink: 0; background: currentColor;
  -webkit-mask: var(--i-pilotage) center / contain no-repeat; mask: var(--i-pilotage) center / contain no-repeat;
  animation: tourner 6s linear infinite;
}
.wp-block-buttons.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 34px; }

.hero-pistes {
  position: relative; margin-bottom: 104px;
  width: min(var(--conteneur), calc(100% - var(--gouttiere) * 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 18px;
}
.hero-piste {
  position: relative; padding: 0 0 12px; cursor: pointer;
  display: flex; align-items: baseline; gap: 10px; text-align: left;
  color: rgba(255, 255, 255, .5); font-size: 13px; font-weight: 600; letter-spacing: .03em;
  transition: color .4s;
}
.hero-piste em { font-size: 14px; }
.hero-piste::before, .hero-piste::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; border-radius: 2px; }
.hero-piste::before { right: 0; background: rgba(255, 255, 255, .2); }
.hero-piste::after { width: 0; background: var(--vert); }
.hero-piste:hover, .hero-piste.is-active { color: #fff; }
.hero-piste.is-active em { color: var(--vert); }
.hero-piste.is-active::after { animation: remplir var(--duree, 6s) linear forwards; }
@keyframes remplir { to { width: 100%; } }

/* =========================================================
   CHIFFRES (chevauche le hero)
   ========================================================= */
.chiffres { position: relative; z-index: 5; margin-top: -72px; padding-inline: var(--gouttiere); }
.chiffres-barre {
  max-width: var(--conteneur); margin-inline: auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.5fr;
  background: var(--nuit);
  border: 1px solid rgba(218, 224, 240, .12);
  border-radius: 24px;
  box-shadow: 0 40px 80px -30px rgba(35, 38, 51, .55);
  overflow: hidden;
}
.chiffre { padding: 30px 32px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; position: relative; }
.chiffre + .chiffre::before { content: ""; position: absolute; left: 0; top: 26%; bottom: 26%; width: 1px; background: rgba(218, 224, 240, .14); }
.chiffre-valeur { font-family: var(--titre); font-weight: 400; font-size: clamp(34px, 3.4vw, 46px); line-height: 1; color: var(--vert); letter-spacing: -.01em; white-space: nowrap; }
.chiffre-label { font-size: 14.5px; color: var(--brume); }
.chiffre-masters .chiffre-label { line-height: 1.45; }

/* =========================================================
   À PROPOS
   ========================================================= */
.apropos { padding: clamp(110px, 12vw, 170px) 0 clamp(90px, 10vw, 140px); background: var(--blanc); position: relative; overflow: hidden; }
.apropos::before {
  content: ""; position: absolute; width: 760px; height: 760px; right: -280px; top: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 224, 240, .9), rgba(218, 224, 240, 0) 68%);
  pointer-events: none;
}
.apropos-grille { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(48px, 7vw, 110px); align-items: center; position: relative; }
.apropos-visuel { position: relative; padding: 0 0 40px 0; }
.apropos-visuel::before { content: ""; position: absolute; inset: 34px -26px 6px 34px; border-radius: 16px; border: 2px solid var(--vert); }
.wp-block-image.apropos-cadre { position: relative; border-radius: var(--rayon-img); overflow: hidden; aspect-ratio: 4 / 5; background: var(--nuit); box-shadow: 0 50px 90px -40px rgba(35, 38, 51, .6); }
.wp-block-image.apropos-cadre img { width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: 50% 12%; will-change: transform; }
.apropos-badge {
  position: absolute; right: -44px; bottom: 82px; max-width: 330px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 22px 16px 16px; border-radius: 18px;
  animation: flotter 6s ease-in-out infinite;
}
.apropos-badge::before { content: ""; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: var(--vert) var(--i-diplome-blanc) center / 22px no-repeat; }
.apropos-badge-texte { font-size: 13.5px; color: var(--texte-doux); line-height: 1.4; }
.apropos-badge-texte strong { display: block; font-family: var(--titre); font-size: 21px; font-weight: 400; line-height: 1.1; color: var(--texte); }
.apropos-signature {
  position: absolute; left: -10px; bottom: -6px;
  font-size: clamp(40px, 4.4vw, 62px); color: var(--nuit);
  line-height: 1; letter-spacing: -.02em;
  text-shadow: 0 2px 0 #fff, 0 -2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff;
}
@keyframes flotter { 50% { transform: translateY(-10px); } }

.apropos-texte .titre-section { margin-bottom: 26px; }
.apropos-texte .chapo { color: var(--texte); margin-bottom: 16px; }
.apropos-paragraphe { color: var(--texte-doux); }
ol.masters { list-style: none; padding: 0; margin: 34px 0 30px; border-top: 1px solid var(--brume); counter-reset: master; }
.masters li { position: relative; padding: 18px 0 18px 64px; border-bottom: 1px solid var(--brume); font-size: 15px; color: var(--texte-doux); counter-increment: master; transition: padding .4s var(--ease); }
.masters li::before { content: counter(master, decimal-leading-zero); position: absolute; left: 0; top: 17px; font-size: 22px; line-height: 1.3; color: var(--vert); }
.masters li:hover { padding-left: 72px; }
.masters strong { display: block; font-size: 17px; font-weight: 700; color: var(--texte); }
.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pilier {
  padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--brume);
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.pilier:hover { transform: translateY(-4px); border-color: var(--vert); box-shadow: 0 20px 40px -24px rgba(35, 38, 51, .4); }
.pilier::before { content: ""; width: 24px; height: 24px; margin-bottom: 8px; background: var(--vert); -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.pilier-analytique::before { -webkit-mask-image: var(--i-loupe); mask-image: var(--i-loupe); }
.pilier-humaine::before { -webkit-mask-image: var(--i-equipe); mask-image: var(--i-equipe); }
.pilier-performance::before { -webkit-mask-image: var(--i-courbe); mask-image: var(--i-courbe); }
.pilier-titre { font-size: 16px; font-weight: 700; }
.pilier-texte { font-size: 13.5px; color: var(--texte-doux); line-height: 1.45; }

/* =========================================================
   SERVICES
   ========================================================= */
.services { background: var(--nuit); color: #fff; padding: 0 0 clamp(90px, 10vw, 140px); position: relative; overflow: hidden; }
.services::before {
  content: ""; position: absolute; width: 900px; height: 900px; left: -380px; top: -300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21, 219, 149, .13), transparent 65%); pointer-events: none;
}

/* bandeau défilant (le script duplique le groupe pour boucler) */
.defilant { overflow: hidden; padding: clamp(36px, 5vw, 60px) 0; border-bottom: 1px solid var(--ligne-claire); margin-bottom: clamp(70px, 8vw, 110px); position: relative; }
.defilant-piste { display: flex; width: max-content; animation: defiler 52s linear infinite; }
.defilant:hover .defilant-piste { animation-play-state: paused; }
.defilant-groupe { display: flex; align-items: center; gap: 44px; padding-right: 44px; flex-shrink: 0; }
.defilant-groupe p { display: inline-flex; align-items: center; gap: 44px; font-size: clamp(38px, 5vw, 72px); line-height: 1.15; white-space: nowrap; letter-spacing: -.01em; }
.defilant-groupe p::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 18px rgba(21, 219, 149, .7); flex-shrink: 0; }
.defilant-groupe p:nth-child(odd) { color: #fff; }
.defilant-groupe p:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px var(--vert); }
@keyframes defiler { to { transform: translateX(-50%); } }

.services-tete { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: end; margin-bottom: 60px; position: relative; }
.services-intro { color: var(--clair-doux); font-size: 17.5px; }

.bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; perspective: 1400px; position: relative; }
.carte {
  position: relative;
  border-radius: var(--rayon-carte);
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--ligne-claire);
  padding: 22px;
  transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease);
  will-change: transform;
}
.carte:hover { border-color: rgba(21, 219, 149, .45); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(21, 219, 149, .12); }
.carte h3 { font-family: var(--titre); font-weight: 400; font-size: 25px; line-height: 1.2; margin: 8px 0 10px; color: #fff; }
.carte p { color: var(--clair-doux); font-size: 15.5px; line-height: 1.6; }
/* hauteur de ligne de la carte (28,05 px) : dans la maquette le numéro était un span en ligne */
.carte .carte-num { font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--vert); line-height: 28.05px; }
.wp-block-image.carte-img { border-radius: var(--rayon-img); overflow: hidden; }
.wp-block-image.carte-img img { width: 100%; max-width: none; object-fit: cover; border-radius: var(--rayon-img); transition: transform .8s var(--ease); }

.carte-majeure { grid-column: span 7; grid-row: span 2; min-height: 620px; padding: 0; overflow: hidden; display: flex; align-items: flex-end; border-radius: var(--rayon-img); }
.wp-block-image.carte-fond { position: absolute; inset: 0; margin: 0; border-radius: var(--rayon-img); overflow: hidden; }
.wp-block-image.carte-fond img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 25%; transition: transform 1.2s var(--ease); }
.carte-majeure::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(35, 38, 51, 0) 30%, rgba(35, 38, 51, .6) 58%, rgba(35, 38, 51, .96) 100%); }
.carte-majeure:hover .wp-block-image.carte-fond img { transform: scale(1.05); }
.carte-majeure-texte { position: relative; z-index: 2; padding: 38px; transform: translateZ(40px); }
.carte-majeure h3 { font-size: clamp(30px, 3vw, 40px); max-width: 16ch; }
.carte-majeure p { max-width: 50ch; font-size: 16.5px; }
ul.etiquettes { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 7px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.carte-image-haut { grid-column: span 5; }
.carte-image-haut .wp-block-image.carte-img { margin-bottom: 20px; }
.carte-image-haut .wp-block-image.carte-img img { height: 170px; }
.carte-image-haut:hover .wp-block-image.carte-img img { transform: scale(1.03); }

.carte-secteur { grid-column: span 6; display: grid; grid-template-columns: 190px 1fr; gap: 24px; align-items: center; }
.carte-secteur .wp-block-image.carte-img img { height: 190px; }
.carte-secteur:hover .wp-block-image.carte-img img { transform: scale(1.04) rotate(-1deg); }

/* =========================================================
   TÉMOIGNAGES
   ========================================================= */
.temoignages { padding: clamp(100px, 11vw, 160px) 0; text-align: center; position: relative; overflow: hidden; background: radial-gradient(70% 60% at 50% 0%, rgba(218, 224, 240, .75), #fff 70%); }
.temoignages::before {
  content: "“"; position: absolute; left: 50%; top: 40px; transform: translateX(-50%);
  font-family: var(--titre); font-size: 420px; line-height: 1; color: rgba(218, 224, 240, .9); pointer-events: none;
}
.temoignages-in { position: relative; }
.temoignages .titre-section { max-width: 18ch; margin-inline: auto; }
.temoins { display: grid; margin: 56px auto 0; max-width: 940px; }
.wp-block-quote.temoin { grid-area: 1 / 1; margin: 0; padding: 0; border: 0; opacity: 0; transform: translateY(34px); filter: blur(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); pointer-events: none; }
.wp-block-quote.temoin.is-active { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.wp-block-quote.temoin p { margin: 0; font-family: var(--titre); font-size: clamp(24px, 2.8vw, 36px); line-height: 1.34; color: var(--nuit); text-wrap: balance; }
.wp-block-quote.temoin cite { display: block; margin-top: 30px; font-size: 15px; font-style: normal; color: var(--texte-doux); }
.wp-block-quote.temoin cite strong { display: block; font-size: 18px; color: var(--texte); margin-bottom: 2px; }
.temoins-avatars { position: relative; display: flex; justify-content: center; gap: 12px; margin-top: 40px; padding-bottom: 36px; }
.temoins-avatars::before, .temoins-avatars::after { content: ""; position: absolute; left: 50%; bottom: 0; height: 2px; margin-left: -90px; border-radius: 2px; }
.temoins-avatars::before { width: 180px; background: var(--brume); }
.temoins-avatars::after { width: 0; background: var(--vert); }
.temoins-avatars.is-anime::after { animation: remplir-180 6.5s linear forwards; }
@keyframes remplir-180 { to { width: 180px; } }
.avatar {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; line-height: 1;
  font-family: var(--titre); font-size: 20px;
  background: var(--brume); color: var(--nuit);
  transition: transform .45s var(--ease), background-color .4s, color .4s, box-shadow .4s;
}
.avatar:hover { transform: translateY(-3px); }
.avatar.is-active { background: var(--nuit); color: var(--vert); transform: scale(1.12); box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--vert); }

/* =========================================================
   RÉSERVER UN RDV
   ========================================================= */
.rdv { padding: clamp(90px, 10vw, 140px) 0; background: linear-gradient(180deg, #fff, rgba(218, 224, 240, .55)); }
.rdv-carte {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  background: var(--nuit); color: #fff; border-radius: 30px; overflow: hidden;
  box-shadow: 0 60px 120px -50px rgba(35, 38, 51, .7);
  position: relative;
}
.rdv-carte::before { content: ""; position: absolute; width: 600px; height: 600px; left: -200px; bottom: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 219, 149, .22), transparent 65%); pointer-events: none; }
.rdv-infos { padding: clamp(36px, 5vw, 64px); position: relative; }
.rdv-infos .titre-section { font-size: clamp(32px, 3.6vw, 48px); }
.rdv-chapo { color: var(--clair-doux); margin-top: 20px; font-size: 17px; }
ol.rdv-etapes { list-style: none; padding: 0; margin: 30px 0; display: grid; gap: 12px; counter-reset: etape; }
.rdv-etapes li { display: flex; align-items: center; gap: 14px; font-size: 15.5px; font-weight: 600; counter-increment: etape; }
.rdv-etapes li::before { content: counter(etape); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--nuit); background: var(--vert); flex-shrink: 0; }
.rdv-dispos { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--ligne-claire); font-size: 15px; color: var(--brume); }
.rdv-dispos::before { content: ""; width: 20px; height: 20px; flex-shrink: 0; background: var(--vert); -webkit-mask: var(--i-horloge) center / contain no-repeat; mask: var(--i-horloge) center / contain no-repeat; }
.rdv-dispos strong { color: #fff; }
.rdv-contacts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; }
.rdv-contact { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 600; color: var(--vert); transition: opacity .3s; }
.rdv-contact:hover { opacity: .75; }
.rdv-contact::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; background: currentColor; -webkit-mask: center / contain no-repeat; mask: center / contain no-repeat; }
.rdv-whatsapp::before { -webkit-mask-image: var(--i-message); mask-image: var(--i-message); }
.rdv-email::before { -webkit-mask-image: var(--i-mail); mask-image: var(--i-mail); }

/* Agenda Calendly — accueil, puis widget chargé au clic */
.agenda { margin: 14px; border-radius: 22px; background: #fff; color: var(--texte); position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 600px; }
.agenda-accueil { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(28px, 4vw, 48px); }
.agenda-accueil::before { content: ""; width: 64px; height: 64px; border-radius: 18px; background: var(--vert) var(--i-agenda-blanc) center / 30px no-repeat; box-shadow: 0 0 0 10px rgba(21, 219, 149, .12); }
.agenda-accueil h3 { font-family: var(--titre); font-weight: 400; font-size: clamp(26px, 2.4vw, 32px); line-height: 1.15; margin-top: 6px; }
.agenda-texte { color: var(--texte-doux); font-size: 16px; }
.agenda-semaine { display: grid; grid-template-columns: repeat(5, 1fr) 1.6fr 1.6fr; gap: 6px; width: 100%; margin: 4px 0 6px; }
.agenda-semaine p { display: grid; place-items: center; padding: 12px 4px; border-radius: 12px; background: rgba(218, 224, 240, .45); color: rgba(35, 38, 51, .35); font-size: 13px; font-weight: 700; text-align: center; line-height: 1.3; }
.agenda-semaine p.is-dispo { background: var(--nuit); color: var(--brume); font-size: 12px; font-weight: 600; }
.agenda-semaine p.is-dispo strong { display: block; color: var(--vert); font-size: 13px; font-weight: 700; }
.wp-block-buttons.agenda-boutons { width: 100%; }
.wp-block-buttons.agenda-boutons .wp-block-button { width: 100%; }
.wp-block-buttons.agenda-boutons .wp-block-button__link { width: 100%; }
.agenda-note { font-size: 13px; color: var(--texte-doux); line-height: 1.55; }
.agenda-note a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--vert); text-underline-offset: 3px; }
.agenda.is-chargement .agenda-boutons { opacity: .7; pointer-events: none; }
.agenda-widget { display: none; }
.agenda.is-ouvert .agenda-accueil { display: none; }
.agenda.is-ouvert .agenda-widget { display: block; height: 720px; animation: entree .6s var(--ease); }
.agenda-reserve { display: none; align-items: center; gap: 12px; padding: 14px 20px; background: var(--vert); color: #fff; font-weight: 600; font-size: 14.5px; }
.agenda-reserve::before { content: ""; width: 22px; height: 22px; flex-shrink: 0; background: currentColor; -webkit-mask: var(--i-coche) center / contain no-repeat; mask: var(--i-coche) center / contain no-repeat; }
.agenda.is-reserve .agenda-reserve { display: flex; order: -1; }
@keyframes entree { from { opacity: 0; transform: translateY(16px); } }

/* =========================================================
   FAQ (core/details)
   ========================================================= */
.faq { padding: clamp(90px, 10vw, 140px) 0; background: linear-gradient(180deg, rgba(218, 224, 240, .55), #fff 55%); }
.faq-grille { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.faq-tete { position: sticky; top: 120px; }
.faq-tete .titre-section { margin-bottom: 20px; }
.faq-intro { color: var(--texte-doux); }
.faq-aide { margin-top: 32px; padding: 26px; border-radius: 20px; background: var(--nuit); color: #fff; position: relative; overflow: hidden; }
.faq-aide::before { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 219, 149, .3), transparent 65%); }
.faq-aide .faq-aide-titre { font-family: var(--titre); font-weight: 400; font-size: 24px; position: relative; color: #fff; }
.faq-aide .faq-aide-texte { color: var(--clair-doux); font-size: 15px; margin-top: 6px; position: relative; }
.wp-block-buttons.faq-aide-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; position: relative; }
.wp-block-buttons.faq-aide-actions .wp-block-button__link { padding: 11px 18px; font-size: 14px; }

.faq-liste { display: grid; gap: 12px; }
.wp-block-details.faq-item { border-radius: 18px; background: #fff; border: 1px solid var(--brume); transition: border-color .4s, box-shadow .5s var(--ease); }
.wp-block-details.faq-item:hover { border-color: rgba(21, 219, 149, .45); }
.wp-block-details.faq-item[open] { border-color: rgba(21, 219, 149, .6); box-shadow: 0 26px 50px -32px rgba(35, 38, 51, .4); }
.wp-block-details.faq-item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 26px;
  font-family: var(--titre); font-size: 21px; line-height: 1.3; color: var(--texte);
}
.wp-block-details.faq-item summary::-webkit-details-marker { display: none; }
.wp-block-details.faq-item summary::marker { content: ""; }
.wp-block-details.faq-item summary:focus-visible { outline: 2px solid var(--vert); outline-offset: 4px; border-radius: 14px; }
.wp-block-details.faq-item summary::after {
  content: ""; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%;
  background:
    linear-gradient(var(--nuit), var(--nuit)) center / 13px 2px no-repeat,
    linear-gradient(var(--nuit), var(--nuit)) center / 2px 13px no-repeat,
    var(--brume);
  transition: transform .6s var(--ease), background-color .4s;
}
.wp-block-details.faq-item[open] summary::after {
  background: linear-gradient(#fff, #fff) center / 13px 2px no-repeat, var(--vert);
  transform: rotate(180deg);
}
.wp-block-details.faq-item > p { padding: 0 26px 24px; color: var(--texte-doux); font-size: 16px; max-width: 68ch; }
.wp-block-details.faq-item > p a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--vert); text-underline-offset: 3px; }
@supports selector(::details-content) {
  .wp-block-details.faq-item::details-content { block-size: 0; overflow: clip; transition: block-size .55s var(--ease), content-visibility .55s allow-discrete; }
  .wp-block-details.faq-item[open]::details-content { block-size: auto; }
}

/* =========================================================
   PAGES LÉGALES ET GABARITS SIMPLES
   ========================================================= */
.page-tete { background: var(--nuit); color: #fff; padding: 180px 0 90px; position: relative; overflow: hidden; }
.page-tete::before { content: ""; position: absolute; width: 820px; height: 820px; right: -260px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(21, 219, 149, .2), transparent 65%); pointer-events: none; }
.page-tete .conteneur { position: relative; }
.page-404 { min-height: 70vh; }
.wp-block-buttons.page-404-actions { margin-top: 34px; }
.fil { font-size: 14px; color: var(--clair-doux); margin-bottom: 20px; }
.fil a { transition: color .3s; }
.fil a:hover { color: var(--vert); }
.page-titre { font-family: var(--titre); font-weight: 400; font-size: clamp(42px, 5.4vw, 72px); line-height: 1.05; letter-spacing: -.01em; }
.page-maj { margin-top: 18px; font-size: 15px; color: var(--clair-doux); }
.page-simple { padding: 170px 0 120px; }
.page-simple .page-titre { margin-bottom: 40px; }

.page-corps { padding: clamp(60px, 8vw, 100px) 0 clamp(90px, 10vw, 140px); }
.page-grille { display: grid; grid-template-columns: 250px 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
ul.sommaire { list-style: none; margin: 0; padding: 0; position: sticky; top: 110px; display: flex; flex-direction: column; border-left: 2px solid var(--brume); }
.sommaire a { display: block; position: relative; padding: 7px 0 7px 18px; font-size: 14.5px; font-weight: 600; color: var(--texte-doux); transition: color .3s; }
.sommaire a::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--vert); transform: scaleY(0); transition: transform .4s var(--ease); }
.sommaire a:hover, .sommaire a.is-actif { color: var(--texte); }
.sommaire a.is-actif::before { transform: scaleY(1); }

.texte-legal { max-width: 780px; counter-reset: section; }
.texte-legal-intro { font-size: 19px; line-height: 1.6; color: var(--texte); padding-bottom: 30px; border-bottom: 1px solid var(--brume); }
.texte-legal h2 { display: flex; align-items: baseline; gap: 16px; font-family: var(--titre); font-weight: 400; font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; margin: 56px 0 18px; scroll-margin-top: 110px; counter-increment: section; }
.texte-legal h2::before { content: counter(section, decimal-leading-zero); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--vert); }
.texte-legal p, .texte-legal li { color: var(--texte-doux); }
.texte-legal > p + p { margin-top: 14px; }
.texte-legal ul.wp-block-list { margin: 14px 0; padding-left: 22px; }
.texte-legal li { margin: 8px 0; }
.texte-legal li::marker { color: var(--vert); }
.texte-legal strong { color: var(--texte); }
.texte-legal a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--vert); text-underline-offset: 3px; transition: color .3s; }
.texte-legal a:hover { color: var(--vert); }
.wp-block-table.fiche { margin: 0; border: 1px solid var(--brume); border-radius: 16px; overflow: hidden; }
.wp-block-table.fiche table { width: 100%; border-collapse: collapse; }
.wp-block-table.fiche td { padding: 14px 20px; border: 0; border-bottom: 1px solid var(--brume); vertical-align: top; color: var(--texte-doux); }
.wp-block-table.fiche tr:last-child td { border-bottom: 0; }
.wp-block-table.fiche td:first-child { width: 230px; font-size: 14px; font-weight: 700; color: var(--texte); background: rgba(218, 224, 240, .35); }
.wp-block-table.tableau { margin: 18px 0; border: 1px solid var(--brume); border-radius: 16px; overflow-x: auto; }
.wp-block-table.tableau table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wp-block-table.tableau thead { border-bottom: 0; }
.wp-block-table.tableau th { text-align: left; padding: 14px 20px; border: 0; background: var(--nuit); color: #fff; font-weight: 700; font-size: 13.5px; letter-spacing: .04em; }
.wp-block-table.tableau td { padding: 14px 20px; border: 0; border-top: 1px solid var(--brume); color: var(--texte-doux); vertical-align: top; }
.wp-block-table.tableau td:first-child { color: var(--texte); font-weight: 600; width: 55%; }
.texte-legal ul.droits { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 24px; }

/* =========================================================
   PIED DE PAGE
   ========================================================= */
.pied { background: var(--nuit); color: var(--vert); padding: 90px 0 30px; overflow: hidden; }
.pied-haut { display: grid; grid-template-columns: 5fr 3fr 4fr; gap: 48px; padding-bottom: 50px; border-bottom: 1px solid rgba(21, 219, 149, .18); }
.pied-presentation { margin-top: 20px; max-width: 40ch; font-size: 15.5px; color: var(--vert); opacity: .85; }
.pied .pied-titre { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 28px; color: var(--vert); opacity: .65; }
.pied-col { display: flex; flex-direction: column; align-items: flex-start; font-size: 15.5px; }
ul.pied-liens { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pied-liens a { display: inline-block; transition: opacity .3s, transform .3s var(--ease); }
.pied-liens a:hover { opacity: .7; transform: translateX(4px); }
.wp-block-buttons.pied-cta { margin-top: 22px; }
.pied-geant {
  font-family: Verdana, 'DejaVu Sans', 'Bitstream Vera Sans', Geneva, sans-serif;
  font-style: normal; font-weight: 400;
  font-size: clamp(30px, 6.6vw, 96px); line-height: 1; letter-spacing: -.04em;
  color: var(--argent);
  white-space: nowrap; margin: 40px 0 20px; text-align: center;
}
.pied-bas { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; opacity: .75; }
.pied-bas a:hover { text-decoration: underline; }

/* =========================================================
   APPARITIONS (le script pose data-reveal ; sans script, tout reste visible)
   ========================================================= */
[data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease) var(--delai, 0s), transform 1s var(--ease) var(--delai, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.carte[data-reveal].is-visible { transition: opacity 1s var(--ease) var(--delai, 0s), transform .5s var(--ease), border-color .4s, box-shadow .5s var(--ease); }
.wp-block-details.faq-item[data-reveal].is-visible { transition: opacity 1s var(--ease) var(--delai, 0s), transform 1s var(--ease) var(--delai, 0s), border-color .4s, box-shadow .5s var(--ease); }

/* =========================================================
   CURSEUR PERSONNALISÉ (créé par le script)
   ========================================================= */
.curseur { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.curseur-actif, html.curseur-actif * { cursor: none !important; }
  html.curseur-actif input, html.curseur-actif textarea { cursor: text !important; }
  .curseur { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 9999; transition: opacity .3s; }
  .curseur-point, .curseur-anneau { position: fixed; left: 0; top: 0; border-radius: 50%; pointer-events: none; will-change: transform; }
  .curseur-point { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--vert); }
  .curseur-anneau {
    width: 40px; height: 40px; margin: -20px 0 0 -20px;
    border: 1.5px solid rgba(21, 219, 149, .75);
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background-color .35s, border-color .35s;
  }
  .curseur.is-survol .curseur-anneau { width: 68px; height: 68px; margin: -34px 0 0 -34px; background: rgba(21, 219, 149, .14); border-color: rgba(21, 219, 149, .35); }
  .curseur.is-presse .curseur-anneau { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .curseur.is-cache { opacity: 0; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1120px) {
  /* le menu bascule en panneau dès 1120 px (le bloc le fait sinon à 600 px) */
  .wp-block-navigation.menu .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex !important; }
  .wp-block-navigation.menu .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none !important; }
  .wp-block-buttons.entete-cta { display: none; }
  .entete:has(.is-menu-open) { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }

  .apropos-grille { grid-template-columns: 1fr; }
  .apropos-visuel { max-width: 520px; }
  .services-tete { grid-template-columns: 1fr; gap: 20px; }
  .carte-majeure { grid-column: span 12; min-height: 520px; }
  .carte-image-haut { grid-column: span 6; }
  .rdv-carte { grid-template-columns: 1fr; }
  .faq-grille { grid-template-columns: 1fr; }
  .faq-tete { position: static; }
  .page-grille { grid-template-columns: 1fr; }
  ul.sommaire { position: static; flex-direction: row; flex-wrap: wrap; gap: 8px; border-left: 0; }
  .sommaire a { padding: 7px 14px; border: 1px solid var(--brume); border-radius: 999px; font-size: 13.5px; }
  .sommaire a::before { display: none; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .chiffres-barre { grid-template-columns: 1fr 1fr; }
  .chiffre-masters .chiffre-valeur { white-space: normal; }
  .chiffre:nth-child(3)::before { display: none; }
  .chiffre:nth-child(n+3) { border-top: 1px solid rgba(218, 224, 240, .12); }
  .hero-pistes { gap: 8px; width: calc(100% - var(--gouttiere) * 2 - 116px); }
  /* les flèches encadrent les pistes pour ne jamais recouvrir le texte */
  .hero-fleche { top: auto; margin-top: 0; bottom: 101px; width: 42px; height: 42px; }
  .hero-fleche::before { width: 19px; height: 19px; }
  .hero-fleche-precedente { left: var(--gouttiere); }
  .hero-fleche-suivante { right: var(--gouttiere); }
  .wp-block-image.hero-diapo-portrait img { object-position: 72% 0%; }
  .hero-piste { font-size: 0; }
  .carte-secteur { grid-column: span 12; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wp-block-site-title.marque-nom { font-size: 20px; }
  .wp-block-site-logo.marque-logo img { width: 38px; height: 38px; }
  .hero { min-height: 100svh; }
  .hero-contenu { padding: 104px var(--gouttiere) 28px; }
  .pastille { font-size: 11.5px; letter-spacing: .02em; line-height: 1.4; text-align: left; padding: 8px 16px 8px 12px; border-radius: 18px; margin-bottom: 24px; }
  .hero-texte { font-size: 17px; margin-top: 22px; }
  ul.hero-axes { font-size: 13.5px; gap: 4px 10px; }
  .hero-axes li { gap: 10px; }
  .hero-pilotage { font-size: 18px; margin-top: 14px; }
  .wp-block-buttons.hero-actions { margin-top: 26px; gap: 12px; }
  .wp-block-buttons.hero-actions .wp-block-button, .wp-block-buttons.hero-actions .wp-block-button__link { width: 100%; }
  .hero > .hero-pistes { margin-bottom: 84px; }
  .hero-fleche { bottom: 81px; }
  .chiffres { margin-top: -56px; }
  .chiffre { padding: 22px 18px; }
  .chiffre-label { font-size: 13px; }
  .apropos-badge { right: -6px; bottom: 70px; padding: 12px 16px 12px 12px; }
  .apropos-visuel::before { inset: 24px -10px 6px 24px; }
  .piliers { grid-template-columns: 1fr; }
  .carte-image-haut { grid-column: span 12; }
  .carte-majeure-texte { padding: 26px; }
  .carte-secteur { grid-template-columns: 1fr; }
  .carte-secteur .wp-block-image.carte-img img { height: 180px; }
  .rdv-carte > .agenda { margin: 8px; min-height: 0; }
  .agenda-semaine { grid-template-columns: 1fr 1fr; }
  .agenda-semaine p:not(.is-dispo) { display: none; }
  .agenda.is-ouvert .agenda-widget { height: 760px; }
  .wp-block-details.faq-item summary { font-size: 18px; padding: 18px 18px; }
  .wp-block-details.faq-item > p { padding: 0 18px 20px; font-size: 15.5px; }
  .page-tete { padding: 140px 0 60px; }
  .wp-block-table.fiche td { display: block; width: auto; }
  .wp-block-table.fiche td:first-child { width: auto; border-bottom: 0; padding-bottom: 4px; }
  .texte-legal ul.droits { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr; }
  .temoignages::before { font-size: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal], .hero-titre .mot { opacity: 1; transform: none; filter: none; }
}
