/*
Theme Name: EFM Technology
Theme URI: https://efmtechnology.site
Author: EFM Technology
Description: Thème sur mesure d'EFM Technology. En-tête et pied de page dans le thème, contenu des pages modifiable dans Elementor.
Version: 1.0.7
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: efm-technology
*/

/* ═════ Socle Elementor (avant la feuille de la maquette) ═════
   Ce que les balises h1/h2/h3/ul de la maquette apportaient, reporté sur les
   enveloppes de widgets Elementor qui portent désormais les classes. */
.elementor-widget-heading { font-weight: 700; line-height: 1.04; letter-spacing: -0.035em; hyphens: none; text-wrap: balance; }
.elementor-widget-heading .elementor-heading-title { font: inherit; line-height: inherit; letter-spacing: inherit; color: inherit; text-wrap: inherit; }
.elementor-widget-text-editor p, .elementor-widget-text-editor ul, .elementor-widget-text-editor ol { margin: 0; padding: 0; }
.elementor-widget-text-editor ul, .elementor-widget-text-editor ol { list-style: none; }

/* ═════ Feuille de la maquette ═════ */
/* EFM Technology — maquette d'accueil
   Registre relevé sur la référence : une famille sans-serif, un seul accent vert,
   fond quasi noir, panneaux empilés à grands rayons, titres à gauche. */

:root {
  --vert: #02B563;
  --vert-clair: #35A46F;
  --vert-num: #1C965B;
  --vert-bouton: #167E4B;
  --vert-profond: #06462C;
  --vert-nuit: #05241E;
  --fond: #0E0E0E;
  --panneau: #141414;
  --gris: #8D8D8F;
  --gris-clair: #C9C9CB;
  --blanc: #FFFFFF;
  --ligne: rgba(255, 255, 255, .09);
  --rayon-xl: 56px;
  --rayon: 24px;
  --gouttiere: clamp(20px, 3.2vw, 48px);
  --police: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--blanc);
  font-family: var(--police);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
h1, h2, h3 { hyphens: none; text-wrap: balance; letter-spacing: -0.035em; line-height: 1.04; font-weight: 700; }

.conteneur:not(.z):not(.z) { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gouttiere); }

/* ── Petits éléments partagés ─────────────────────────── */
.etiquette:not(.z):not(.z) { color: var(--vert-clair); font-weight: 600; font-size: clamp(18px, 1.7vw, 24px); letter-spacing: -0.01em; margin-bottom: 18px; }
.titre-xl:not(.z):not(.z) { font-size: clamp(34px, 4.1vw, 60px); }
.titre-l:not(.z):not(.z) { font-size: clamp(30px, 3.2vw, 46px); }
.petit-gris:not(.z):not(.z) { color: var(--gris); font-size: 14px; line-height: 1.6; }
.num:not(.z):not(.z) { font-size: 14px; font-weight: 500; color: var(--blanc); }
.num strong:not(.z):not(.z) { color: var(--vert); font-weight: 500; margin-right: 1px; }

.bouton:not(.z):not(.z) {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 6px 0 26px;
  border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.bouton:hover:not(.z):not(.z) { transform: translateY(-2px); }
.pastille:not(.z):not(.z) {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.bouton:hover .pastille:not(.z):not(.z) { transform: rotate(-45deg); }
.pastille svg:not(.z):not(.z), .fleche svg:not(.z):not(.z) { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bouton-blanc:not(.z):not(.z) { background: var(--blanc); color: #111; }
.bouton-blanc .pastille:not(.z):not(.z) { background: var(--vert); color: var(--blanc); }
.bouton-vert:not(.z):not(.z) { background: var(--vert-bouton); color: var(--blanc); }
.bouton-vert .pastille:not(.z):not(.z) { background: var(--blanc); color: var(--vert-bouton); }
.bouton-contour:not(.z):not(.z) { padding: 0 28px; border: 1.5px solid rgba(255,255,255,.55); color: var(--blanc); }

/* Photos ramenées au seul accent de la référence : noir et blanc + vert */
.teinte:not(.z):not(.z) { position: relative; overflow: hidden; background: var(--vert-profond); }
.teinte img:not(.z):not(.z) { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(.9); mix-blend-mode: luminosity; opacity: .9; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.teinte:not(.z):not(.z)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(2,181,99,.38) 0%, rgba(6,70,44,.25) 45%, rgba(5,20,16,.75) 100%); mix-blend-mode: normal; pointer-events: none; }

/* ── Logo ─────────────────────────────────────────────── */
.logo:not(.z):not(.z) {
  display: inline-flex; align-items: center;
  height: 52px; padding: 0 18px;
  background: var(--blanc); border-radius: 999px;
}
.logo img:not(.z):not(.z) { width: 118px; height: 42px; object-fit: cover; object-position: 50% 48%; }

/* ── HERO ─────────────────────────────────────────────── */
.hero:not(.z):not(.z) {
  position: relative; z-index: 2;
  min-height: min(940px, 100svh);
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr auto;
  padding: 26px var(--gouttiere) 46px;
  border-radius: 0 0 var(--rayon-xl) var(--rayon-xl);
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(42% 55% at 12% 14%, #03B55D 0%, rgba(3,181,93,0) 70%),
    radial-gradient(38% 50% at 46% 18%, #0FBF68 0%, rgba(15,191,104,0) 72%),
    radial-gradient(70% 70% at 8% 100%, #06462C 0%, rgba(6,70,44,0) 70%),
    linear-gradient(180deg, #078A4B 0%, #06603A 40%, #05402C 70%, #05241E 100%);
}
.hero:not(.z):not(.z)::after { /* assombrit le flanc droit, comme la référence */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5,36,30,0) 45%, rgba(5,36,30,.55) 75%, rgba(6,26,22,.85) 100%);
  pointer-events: none;
}

.nav:not(.z):not(.z) { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; z-index: 3; }
.nav-liens:not(.z):not(.z) { display: flex; gap: clamp(20px, 2.6vw, 40px); margin-left: auto; margin-right: clamp(16px, 2.4vw, 36px); }
.nav-liens a:not(.z):not(.z) { font-size: 15px; font-weight: 500; color: rgba(255,255,255,.92); position: relative; }
.nav-liens a:not(.z):not(.z)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.nav-liens a:hover:not(.z):not(.z)::after { transform: scaleX(1); }

.hero-photo:not(.z):not(.z) {
  position: absolute; z-index: -1;
  left: 31%; bottom: 0;
  width: 44%; height: 90%;
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%);
}
.hero-photo img:not(.z):not(.z) {
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 8%;
  filter: grayscale(1) brightness(1.14) contrast(1.22);
}

.hero-texte:not(.z):not(.z) { grid-column: 1; grid-row: 2; align-self: center; padding-top: 40px; position: relative; z-index: 2; }
.hero-salut:not(.z):not(.z) { font-size: clamp(18px, 1.9vw, 26px); font-weight: 500; margin-bottom: 22px; letter-spacing: -0.01em; }
.hero-titre:not(.z):not(.z) { font-size: clamp(54px, 8.2vw, 124px); line-height: .98; letter-spacing: -0.045em; font-weight: 700; }
.hero-titre .ligne:not(.z):not(.z) { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero-titre .ligne > span:not(.z):not(.z) { display: inline-block; }

.hero-cote:not(.z):not(.z) { grid-column: 2; grid-row: 2; align-self: center; justify-self: end; width: min(330px, 100%); padding-top: 120px; position: relative; z-index: 2; }
.hero-accroche:not(.z):not(.z) { font-size: clamp(20px, 2vw, 28px); font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; margin-bottom: 26px; }
.hero-detail:not(.z):not(.z) { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.75; }

.hero-poles:not(.z):not(.z) { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; z-index: 2; padding-top: 40px; }
.hero-poles > .t-li:not(.z):not(.z) { display: flex; flex-direction: column; gap: 12px; font-size: 15px; font-weight: 500; color: rgba(255,255,255,.88); }

/* ── OUTILS (panneau glissé sous le hero) ─────────────── */
.outils:not(.z):not(.z) {
  position: relative; z-index: 1;
  margin-top: calc(-1 * var(--rayon-xl));
  padding: calc(var(--rayon-xl) + 54px) var(--gouttiere) 78px;
  background: var(--panneau);
  border-radius: 0 0 var(--rayon-xl) var(--rayon-xl);
  display: grid; grid-template-columns: 220px 1fr; align-items: center; gap: 40px;
}
.outils-titre:not(.z):not(.z) { font-size: 14px; font-weight: 600; line-height: 1.4; }
.defile:not(.z):not(.z) { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile-piste:not(.z):not(.z) { display: flex; width: max-content; gap: 64px; animation: defile 34s linear infinite; }
.defile-piste span:not(.z):not(.z) { font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; color: #BDBDBF; letter-spacing: -0.02em; }
@keyframes defile { to { transform: translateX(calc(-50% - 32px)); } }

/* ── APPROCHE ─────────────────────────────────────────── */
.approche:not(.z):not(.z) { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; padding-top: 150px; padding-bottom: 96px; align-items: start; }
.approche-droite:not(.z):not(.z) { padding-top: 44px; }
.approche-texte:not(.z):not(.z) { font-size: clamp(19px, 1.9vw, 27px); font-weight: 500; line-height: 1.35; letter-spacing: -0.015em; max-width: 520px; }
.approche-pied:not(.z):not(.z) { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 42px; max-width: 520px; }

/* ── SERVICES ─────────────────────────────────────────── */
.services:not(.z):not(.z) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 150px; }
.carte:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; }
.carte-image:not(.z):not(.z) { aspect-ratio: 4 / 3.1; border-radius: var(--rayon); }
.carte:hover .carte-image img:not(.z):not(.z) { transform: scale(1.05); }
.carte-corps:not(.z):not(.z) { padding: 26px 28px 32px; display: flex; flex-direction: column; gap: 12px; }
.carte .elementor-widget-heading:not(.z):not(.z) { font-size: 23px; letter-spacing: -0.025em; }
.carte-corps > :last-child:not(.z):not(.z) { color: var(--gris); font-size: 15px; line-height: 1.65; }

/* ── FORMATIONS ───────────────────────────────────────── */
.formations:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon-xl); padding: 110px 0; margin-inline: clamp(0px, 1.2vw, 18px); }
.formations-grille:not(.z):not(.z) { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.formations-intro:not(.z):not(.z) { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 22px; }
.formations-intro .etiquette:not(.z):not(.z) { margin-bottom: 0; }
.formations-intro .petit-gris:not(.z):not(.z) { font-size: 16px; max-width: 420px; }
.formations-image:not(.z):not(.z) { aspect-ratio: 16 / 10; border-radius: var(--rayon); margin-top: 18px; }
.formations-liste:not(.z):not(.z) { border-top: 1px solid var(--ligne); }
.formations-liste > .t-li:not(.z):not(.z) {
  display: grid; grid-template-columns: 64px 1fr 48px; align-items: center; gap: 12px;
  padding: 34px 0; border-bottom: 1px solid var(--ligne);
  cursor: default;
}
.formations-liste .nom:not(.z):not(.z) { font-size: clamp(21px, 2.1vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.2; transition: transform .45s cubic-bezier(.2,.8,.2,1), color .3s; }
.formations-liste .fleche:not(.z):not(.z) { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--ligne); color: var(--blanc); transition: background .3s, border-color .3s, transform .45s cubic-bezier(.2,.8,.2,1); }
.formations-liste > .t-li:hover .nom:not(.z):not(.z) { transform: translateX(10px); color: var(--vert); }
.formations-liste > .t-li:hover .fleche:not(.z):not(.z) { background: var(--vert); border-color: var(--vert); transform: rotate(-45deg); }

/* ── PROJETS ──────────────────────────────────────────── */
.projets:not(.z):not(.z) { padding-top: 150px; padding-bottom: 150px; }
.projets-tete:not(.z):not(.z) { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.projets-tete .approche-texte:not(.z):not(.z) { font-size: clamp(17px, 1.5vw, 21px); color: var(--gris-clair); }
.projets-grille:not(.z):not(.z) { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.projet:not(.z):not(.z) { position: relative; border-radius: var(--rayon); overflow: hidden; min-height: 330px; display: flex; align-items: flex-end; }
.projet > .teinte:not(.z):not(.z) { position: absolute; inset: 0; }
.projet:hover figure img:not(.z):not(.z) { transform: scale(1.05); }
.projet-grand:not(.z):not(.z) { grid-row: span 2; min-height: 684px; }
.projet-texte:not(.z):not(.z) { position: relative; z-index: 1; padding: 34px; display: flex; flex-direction: column; gap: 10px; max-width: 520px; }
.projet .elementor-widget-heading:not(.z):not(.z) { font-size: clamp(24px, 2.2vw, 32px); }
.projet-grand .elementor-widget-heading:not(.z):not(.z) { font-size: clamp(30px, 3.2vw, 46px); }
.projet-texte > :last-child:not(.z):not(.z) { color: rgba(255,255,255,.78); font-size: 15px; line-height: 1.65; }

/* ── CONTACT ──────────────────────────────────────────── */
.contact:not(.z):not(.z) { padding: 0 var(--gouttiere); }
.contact-panneau:not(.z):not(.z) {
  position: relative; overflow: hidden;
  border-radius: var(--rayon-xl);
  padding: clamp(56px, 7vw, 110px) clamp(28px, 5vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end;
  background:
    radial-gradient(45% 80% at 10% 10%, #03B55D 0%, rgba(3,181,93,0) 70%),
    radial-gradient(60% 90% at 100% 100%, #05241E 0%, rgba(5,36,30,0) 70%),
    linear-gradient(135deg, #079150 0%, #06603A 45%, #05402C 100%);
}
.contact-titre:not(.z):not(.z) { font-size: clamp(48px, 7vw, 104px); line-height: .98; letter-spacing: -0.045em; }
.contact-tel:not(.z):not(.z) { display: inline-block; font-size: clamp(26px, 2.6vw, 38px); font-weight: 700; letter-spacing: -0.03em; margin-bottom: 16px; }
.contact-boutons:not(.z):not(.z) { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ── PIED ─────────────────────────────────────────────── */
.pied:not(.z):not(.z) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 56px; padding-bottom: 56px; }
.pied-liens:not(.z):not(.z) { display: flex; flex-wrap: wrap; gap: 28px; }
.pied-liens a:not(.z):not(.z) { font-size: 15px; font-weight: 500; color: var(--gris-clair); }
.pied-liens a:hover:not(.z):not(.z) { color: var(--blanc); }

/* ── Chargement ───────────────────────────────────────── */
.loader:not(.z):not(.z) {
  position: fixed; inset: 0; z-index: 100;
  background: var(--fond);
  display: grid; place-content: center; justify-items: center; gap: 28px;
  transition: opacity .7s ease, visibility .7s;
}
.loader-logo:not(.z):not(.z) { background: var(--blanc); border-radius: 999px; padding: 8px 22px; animation: respire 1.6s ease-in-out infinite; }
.loader-logo img:not(.z):not(.z) { width: 150px; height: 54px; object-fit: cover; object-position: 50% 48%; }
.loader-barre:not(.z):not(.z) { width: 160px; height: 2px; background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden; }
.loader-barre span:not(.z):not(.z) { display: block; height: 100%; width: 40%; background: var(--vert); animation: charge 1.1s cubic-bezier(.6,0,.4,1) infinite; }
@keyframes charge { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes respire { 50% { transform: scale(1.04); } }
.est-pret .loader:not(.z):not(.z) { opacity: 0; visibility: hidden; }

/* ── Animations d'entrée ──────────────────────────────── */
.js .hero-titre .ligne > span:not(.z):not(.z) { transform: translateY(105%); transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.js .hero-titre .ligne:nth-child(2) > span:not(.z):not(.z) { transition-delay: .1s; }
.js .hero-titre .ligne:nth-child(3) > span:not(.z):not(.z) { transition-delay: .2s; }
.js.est-pret .hero-titre .ligne > span:not(.z):not(.z) { transform: none; }

.js .hero-salut:not(.z):not(.z), .js .hero-cote:not(.z):not(.z), .js .hero-poles > .t-li:not(.z):not(.z), .js .nav:not(.z):not(.z) { opacity: 0; transform: translateY(18px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.8,.2,1); }
.js.est-pret .hero-salut:not(.z):not(.z), .js.est-pret .hero-cote:not(.z):not(.z), .js.est-pret .hero-poles > .t-li:not(.z):not(.z), .js.est-pret .nav:not(.z):not(.z) { opacity: 1; transform: none; }
.js.est-pret .hero-cote:not(.z):not(.z) { transition-delay: .45s; }
.js.est-pret .hero-poles > .t-li:nth-child(1):not(.z):not(.z) { transition-delay: .55s; }
.js.est-pret .hero-poles > .t-li:nth-child(2):not(.z):not(.z) { transition-delay: .62s; }
.js.est-pret .hero-poles > .t-li:nth-child(3):not(.z):not(.z) { transition-delay: .69s; }
.js.est-pret .hero-poles > .t-li:nth-child(4):not(.z):not(.z) { transition-delay: .76s; }

.js .hero-photo:not(.z):not(.z) { opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 1.8s cubic-bezier(.2,.8,.2,1); transform-origin: 50% 100%; }
.js.est-pret .hero-photo:not(.z):not(.z) { opacity: 1; transform: none; }

.js .reveal:not(.z):not(.z) { opacity: 0; transform: translateY(36px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.8,.2,1); }
.js .reveal.visible:not(.z):not(.z) { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js *:not(.z):not(.z), .js *:not(.z):not(.z)::before, .js *:not(.z):not(.z)::after { transition: none !important; animation: none !important; }
  .js .reveal:not(.z):not(.z), .js .hero-titre .ligne > span:not(.z):not(.z), .js .hero-salut:not(.z):not(.z), .js .hero-cote:not(.z):not(.z), .js .hero-poles > .t-li:not(.z):not(.z), .js .nav:not(.z):not(.z), .js .hero-photo:not(.z):not(.z) { opacity: 1 !important; transform: none !important; }
}

/* ── Tablette ─────────────────────────────────────────── */
@media (max-width: 1000px) {
  .nav-liens:not(.z):not(.z) { display: none; }
  .hero:not(.z):not(.z) { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; min-height: 0; padding-bottom: 36px; }
  .hero-texte:not(.z):not(.z) { grid-row: 2; padding-top: 70px; }
  .hero-photo:not(.z):not(.z) { position: relative; grid-row: 3; left: auto; width: 100%; height: 520px; margin: -40px 0 0; }
  .hero-cote:not(.z):not(.z) { grid-column: 1; grid-row: 4; justify-self: start; padding-top: 0; margin-top: -150px; width: min(420px, 100%); }
  .hero-poles:not(.z):not(.z) { grid-row: 5; grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .hero:not(.z):not(.z)::after { background: linear-gradient(180deg, rgba(5,36,30,0) 55%, rgba(5,36,30,.7) 100%); }
  .outils:not(.z):not(.z) { grid-template-columns: 1fr; gap: 24px; }
  .approche:not(.z):not(.z), .projets-tete:not(.z):not(.z), .formations-grille:not(.z):not(.z), .contact-panneau:not(.z):not(.z) { grid-template-columns: 1fr; gap: 36px; }
  .approche:not(.z):not(.z) { padding-top: 110px; }
  .approche-droite:not(.z):not(.z) { padding-top: 0; }
  .services:not(.z):not(.z) { grid-template-columns: 1fr 1fr; }
  .formations-intro:not(.z):not(.z) { position: static; }
  .projets-grille:not(.z):not(.z) { grid-template-columns: 1fr; }
  .projet-grand:not(.z):not(.z) { grid-row: auto; min-height: 460px; }
}

/* ── Téléphone ────────────────────────────────────────── */
@media (max-width: 640px) {
  :root { --rayon-xl: 36px; }
  .logo:not(.z):not(.z) { height: 46px; padding: 0 14px; }
  .logo img:not(.z):not(.z) { width: 100px; height: 36px; }
  .nav .bouton:not(.z):not(.z) { height: 46px; padding-left: 18px; font-size: 14px; gap: 10px; }
  .nav .bouton .pastille:not(.z):not(.z) { width: 34px; height: 34px; }
  .hero-photo:not(.z):not(.z) { height: 430px; }
  .hero-cote:not(.z):not(.z) { margin-top: -110px; }
  .services:not(.z):not(.z) { grid-template-columns: 1fr; padding-bottom: 100px; }
  .approche-pied:not(.z):not(.z) { flex-direction: column; align-items: flex-start; }
  .formations:not(.z):not(.z) { padding: 72px 0; margin-inline: 0; }
  .formations-liste > .t-li:not(.z):not(.z) { grid-template-columns: 48px 1fr 40px; padding: 24px 0; }
  .formations-liste .fleche:not(.z):not(.z) { width: 40px; height: 40px; }
  .projets:not(.z):not(.z) { padding-top: 100px; padding-bottom: 100px; }
  .projet:not(.z):not(.z) { min-height: 380px; }
  .projet-texte:not(.z):not(.z) { padding: 24px; }
  .pied:not(.z):not(.z) { flex-direction: column; align-items: flex-start; }
}

/* ── Tour de design : lisibilité des projets, titre d'approche ── */
.approche .titre-xl:not(.z):not(.z) { font-size: clamp(36px, 4.5vw, 66px); }
.projet:not(.z):not(.z)::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(14,14,14,0) 30%, rgba(10,14,12,.6) 62%, rgba(10,12,11,.92) 100%); pointer-events: none; }
.projet .num:not(.z):not(.z) { font-size: 13px; letter-spacing: .02em; }

/* ── Porte de registre : flanc droit et bas du hero plus sombres, rayon plus large ── */
:root { --rayon-xl: 72px; }
.hero:not(.z):not(.z) {
  background:
    radial-gradient(40% 52% at 12% 12%, #03B55D 0%, rgba(3,181,93,0) 72%),
    radial-gradient(34% 46% at 47% 14%, #0FBF68 0%, rgba(15,191,104,0) 72%),
    linear-gradient(180deg, #068A49 0%, #05683C 30%, #054A2F 58%, #052F23 82%, #04201A 100%);
}
.hero:not(.z):not(.z)::after { background:
  linear-gradient(90deg, rgba(5,30,25,0) 42%, rgba(5,30,25,.62) 70%, rgba(6,24,20,.92) 100%),
  linear-gradient(180deg, rgba(5,30,25,0) 60%, rgba(5,30,25,.45) 100%); }
.hero-titre:not(.z):not(.z) { font-size: clamp(54px, 7.6vw, 116px); }
@media (max-width: 1000px) {
  .hero:not(.z):not(.z)::after { background: linear-gradient(180deg, rgba(5,36,30,0) 55%, rgba(5,36,30,.7) 100%); }
}
@media (max-width: 640px) { :root { --rayon-xl: 36px; } }

/* ═══════════════ Phase 3 · pages internes ═══════════════ */

/* Navigation : page courante, menu mobile */
.nav-liens a[aria-current="page"]:not(.z):not(.z)::after { transform: scaleX(1); }
.menu-bouton:not(.z):not(.z) { display: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--blanc); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-bouton span:not(.z):not(.z) { display: block; width: 20px; height: 2px; background: #111; border-radius: 2px; transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.menu-ouvert .menu-bouton span:first-child:not(.z):not(.z) { transform: translateY(4px) rotate(45deg); }
.menu-ouvert .menu-bouton span:last-child:not(.z):not(.z) { transform: translateY(-4px) rotate(-45deg); }

/* Liens dans la rangée de pôles du hero */
.hero-poles a:not(.z):not(.z) { display: flex; flex-direction: column; gap: 12px; transition: color .3s; }
.hero-poles a:hover:not(.z):not(.z) { color: var(--blanc); }
.hero-poles-ancres:not(.z):not(.z) { grid-template-columns: repeat(4, 1fr); row-gap: 26px; }

/* Hero des pages internes : même panneau, photo fondue dans le vert */
.hero-page:not(.z):not(.z) { min-height: min(760px, 92svh); }
.hero-page-image:not(.z):not(.z) {
  position: absolute; z-index: -2; right: 0; top: 0; bottom: 0; width: 58%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 45%);
  mix-blend-mode: luminosity; opacity: .38;
}
.hero-page-image img:not(.z):not(.z) { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.1); }
.hero-titre-page:not(.z):not(.z) { font-size: clamp(48px, 6.6vw, 100px); }
.hero-page .hero-cote:not(.z):not(.z) { padding-top: 70px; }

/* Panneau glissé sous le hero : chiffres ou phrase d'intro */
.outils-chiffres:not(.z):not(.z) { grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: start; }
.chiffre:not(.z):not(.z) { display: flex; flex-direction: column; gap: 6px; }
.chiffre-b:not(.z):not(.z) { font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.chiffre-span:not(.z):not(.z) { color: var(--gris); font-size: 15px; }
.outils-intro:not(.z):not(.z) { grid-template-columns: 1fr; }
.outils-intro .approche-texte:not(.z):not(.z) { max-width: 820px; }

/* Accueil : grille des 8 pôles */
.poles:not(.z):not(.z) { padding-bottom: 150px; }
.poles-tete:not(.z):not(.z) { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: 52px; }
.poles-grille:not(.z):not(.z) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.poles-grille .carte-image:not(.z):not(.z) { aspect-ratio: 4 / 3; }
.poles-grille .carte .elementor-widget-heading:not(.z):not(.z) { font-size: 20px; line-height: 1.15; }
.poles-grille .carte-corps:not(.z):not(.z) { padding: 22px 22px 28px; }
.poles-grille .carte-corps > :last-child:not(.z):not(.z) { font-size: 14px; }
.carte:not(.z):not(.z) { transition: transform .5s cubic-bezier(.2,.8,.2,1), background .3s; }
a.carte:hover:not(.z):not(.z) { transform: translateY(-6px); background: #181818; }
.formations-intro .bouton:not(.z):not(.z) { align-self: flex-start; margin-top: 6px; }

/* Services : un pôle par section, alternance fond / panneau */
.pole:not(.z):not(.z) { padding: 120px 0; }
.pole-panneau:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon-xl); margin-inline: clamp(0px, 1.2vw, 18px); }
.pole-grille:not(.z):not(.z) { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.pole-intro:not(.z):not(.z) { position: sticky; top: 40px; display: flex; flex-direction: column; gap: 18px; }
.pole-intro .num:not(.z):not(.z) { font-size: 16px; }
.pole-desc:not(.z):not(.z) { color: var(--gris-clair); font-size: 17px; line-height: 1.65; max-width: 460px; }
.pole-image:not(.z):not(.z) { aspect-ratio: 16 / 11; border-radius: var(--rayon); margin-top: 10px; }
.liste-coche:not(.z):not(.z) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--ligne); }
.liste-coche li:not(.z):not(.z) { display: flex; align-items: flex-start; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--ligne); font-size: 16px; font-weight: 500; line-height: 1.45; }
.liste-coche-1:not(.z):not(.z) { grid-template-columns: 1fr; }
.coche:not(.z):not(.z) { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(2,181,99,.14); color: var(--vert); display: grid; place-items: center; margin-top: -1px; }
.coche svg:not(.z):not(.z) { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Formations : groupes de cartes */
.groupe:not(.z):not(.z) { padding: 120px 0; }
.groupe.conteneur:not(.z):not(.z) { padding-inline: var(--gouttiere); }
.groupe-panneau:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon-xl); margin-inline: clamp(0px, 1.2vw, 18px); }
.groupe-tete:not(.z):not(.z) { margin-bottom: 52px; max-width: 760px; }
.groupe-grille:not(.z):not(.z) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.groupe-grille-2:not(.z):not(.z) { grid-template-columns: repeat(2, 1fr); }
.groupe-grille-5:not(.z):not(.z) { grid-template-columns: repeat(5, 1fr); }
.fc:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon); padding: 30px 28px 34px; display: flex; flex-direction: column; gap: 14px; min-height: 250px; border: 1px solid transparent; transition: border-color .3s, transform .5s cubic-bezier(.2,.8,.2,1); }
.groupe-panneau .fc:not(.z):not(.z) { background: #1B1B1B; }
.fc:hover:not(.z):not(.z) { border-color: rgba(2,181,99,.5); transform: translateY(-4px); }
.fc .elementor-widget-heading:not(.z):not(.z) { font-size: 23px; letter-spacing: -0.025em; margin-top: auto; }
.fc > :last-child:not(.z):not(.z) { color: var(--gris); font-size: 15px; line-height: 1.6; }
.groupe-grille-2 .fc:not(.z):not(.z) { min-height: 220px; }
.groupe-grille-2 .fc .elementor-widget-heading:not(.z):not(.z) { font-size: clamp(26px, 2.4vw, 34px); }

.etapes:not(.z):not(.z) { padding-top: 140px; padding-bottom: 150px; }
.etapes-grille:not(.z):not(.z) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--ligne); }
.etapes-grille > .t-li:not(.z):not(.z) { padding-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.etape-num:not(.z):not(.z) { font-size: clamp(56px, 6vw, 88px); font-weight: 700; letter-spacing: -0.05em; line-height: .9; color: var(--vert); }
.etapes-grille .elementor-widget-heading:not(.z):not(.z) { font-size: 26px; }
.etapes-grille p:not(.z):not(.z) { color: var(--gris); max-width: 340px; }

/* Projets : sections détaillées */
.projet-detail:not(.z):not(.z) { display: grid; grid-template-columns: 1.1fr 1fr; gap: 72px; align-items: center; padding-top: 130px; }
.projet-detail-inverse .projet-detail-image:not(.z):not(.z) { order: 2; }
.projet-detail-image:not(.z):not(.z) { aspect-ratio: 4 / 4.2; border-radius: var(--rayon-xl); }
.projet-detail-texte:not(.z):not(.z) { display: flex; flex-direction: column; gap: 20px; }
.projet-detail-texte .num:not(.z):not(.z) { font-size: 16px; }
.projet-detail-texte .liste-coche:not(.z):not(.z) { margin-top: 10px; }
.feuille:not(.z):not(.z) { margin: 150px clamp(0px, 1.2vw, 18px) 150px; padding: 120px 0; background: var(--panneau); border-radius: var(--rayon-xl); }
.feuille-liste:not(.z):not(.z) { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; position: relative; }
.feuille-liste:not(.z):not(.z)::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--ligne); }
.feuille-liste > .t-li:not(.z):not(.z) { position: relative; padding-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.feuille-liste > .t-li:not(.z):not(.z)::before { content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 6px rgba(2,181,99,.15); }
.feuille-liste .elementor-widget-heading:not(.z):not(.z) { font-size: 22px; }
.feuille-liste p:not(.z):not(.z) { color: var(--gris); font-size: 15px; }

/* À propos */
.mission:not(.z):not(.z) { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 130px; }
.mission-carte:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon-xl); padding: clamp(36px, 4.4vw, 64px); min-height: 380px; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.mission-carte-verte:not(.z):not(.z) { background: radial-gradient(70% 90% at 0% 0%, #03B55D 0%, rgba(3,181,93,0) 70%), linear-gradient(160deg, #07854A 0%, #05553A 55%, #05302A 100%); }
.mission-carte-verte .etiquette:not(.z):not(.z) { color: var(--blanc); }
.mission-texte:not(.z):not(.z) { font-size: clamp(22px, 2.3vw, 32px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }
.valeurs:not(.z):not(.z) { padding-top: 140px; padding-bottom: 140px; }
.direction:not(.z):not(.z) { padding: 0 var(--gouttiere); }
.direction-panneau:not(.z):not(.z) {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--rayon-xl); min-height: 680px;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  background:
    radial-gradient(50% 60% at 30% 20%, #0FBF68 0%, rgba(15,191,104,0) 72%),
    linear-gradient(180deg, #068A49 0%, #05683C 35%, #054A2F 65%, #04201A 100%);
}
.direction-photo:not(.z):not(.z) { align-self: stretch; min-height: 680px; position: relative; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%); }
.direction-photo img:not(.z):not(.z) { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 10%; filter: grayscale(1) brightness(1.14) contrast(1.22); }
.direction-texte:not(.z):not(.z) { padding: 64px clamp(28px, 5vw, 80px) 64px 0; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.direction-texte .hero-salut:not(.z):not(.z) { margin-bottom: 0; }
.organisation:not(.z):not(.z) { padding-top: 140px; padding-bottom: 150px; display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }

/* Contact */
.contact-page:not(.z):not(.z) { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; padding-top: 130px; padding-bottom: 40px; align-items: start; }
.contact-infos:not(.z):not(.z) { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 40px; }
.contact-infos .titre-l:not(.z):not(.z) { margin-bottom: 18px; }
.info:not(.z):not(.z) { display: flex; flex-direction: column; gap: 8px; padding: 26px 28px; background: var(--panneau); border-radius: var(--rayon); transition: background .3s; }
a.info:hover:not(.z):not(.z) { background: #1B1B1B; }
.info-valeur:not(.z):not(.z) { font-size: clamp(19px, 1.7vw, 24px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.35; }
.formulaire:not(.z):not(.z) { background: var(--panneau); border-radius: var(--rayon-xl); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; gap: 20px; }
.champs-2:not(.z):not(.z) { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.champ:not(.z):not(.z) { display: flex; flex-direction: column; gap: 10px; }
.champ span:not(.z):not(.z) { font-size: 14px; font-weight: 600; color: var(--gris-clair); }
.champ input:not(.z):not(.z), .champ select:not(.z):not(.z), .champ textarea:not(.z):not(.z) {
  width: 100%; font: inherit; font-size: 16px; color: var(--blanc);
  background: #1B1B1B; border: 1.5px solid transparent; border-radius: 16px;
  padding: 15px 18px; outline: none; transition: border-color .3s;
}
.champ select:not(.z):not(.z) { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C9C9CB' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 48px; }
.champ select option:not(.z):not(.z) { background: #1B1B1B; }
.champ textarea:not(.z):not(.z) { resize: vertical; min-height: 150px; }
.champ input:focus:not(.z):not(.z), .champ select:focus:not(.z):not(.z), .champ textarea:focus:not(.z):not(.z) { border-color: var(--vert); }
.formulaire .bouton:not(.z):not(.z) { align-self: flex-start; border: 0; cursor: pointer; font-family: inherit; margin-top: 6px; }

/* Pied de page en colonnes */
.pied:not(.z):not(.z) { display: block; padding: 110px 0 0; }
.pied-grille:not(.z):not(.z) { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 64px; }
.pied-marque:not(.z):not(.z) { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.pied-marque .petit-gris:not(.z):not(.z) { max-width: 300px; font-size: 15px; }
.pied-titre:not(.z):not(.z) { font-size: 14px; font-weight: 600; color: var(--vert-clair); margin-bottom: 18px; }
.pied-liste:not(.z):not(.z) { display: flex; flex-direction: column; gap: 12px; color: var(--gris-clair); font-size: 15px; }
.pied-liste a:hover:not(.z):not(.z) { color: var(--blanc); }
.pied-bas:not(.z):not(.z) { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; padding-bottom: 36px; border-top: 1px solid var(--ligne); }

@media (max-width: 1200px) {
  .poles-grille:not(.z):not(.z) { grid-template-columns: repeat(2, 1fr); }
  .groupe-grille:not(.z):not(.z), .groupe-grille-5:not(.z):not(.z) { grid-template-columns: repeat(2, 1fr); }
  .feuille-liste:not(.z):not(.z) { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
}

@media (max-width: 1000px) {
  .menu-bouton:not(.z):not(.z) { display: flex; }
  .nav > .bouton:not(.z):not(.z) { display: none; }
  .nav-liens:not(.z):not(.z) {
    display: flex; flex-direction: column; gap: 6px;
    position: absolute; top: calc(100% + 14px); left: 0; right: 0; margin: 0;
    background: var(--panneau); border-radius: var(--rayon); padding: 14px;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s, visibility .3s;
  }
  .nav-liens a:not(.z):not(.z) { display: block; padding: 14px 16px; font-size: 18px; border-radius: 14px; }
  .nav-liens a:not(.z):not(.z)::after { display: none; }
  .nav-liens a[aria-current="page"]:not(.z):not(.z) { background: rgba(2,181,99,.14); color: var(--vert); }
  .menu-ouvert .nav-liens:not(.z):not(.z) { opacity: 1; visibility: visible; transform: none; }
  .hero-page:not(.z):not(.z) { min-height: 0; }
  .hero-page .hero-texte:not(.z):not(.z) { padding-top: 90px; }
  .hero-page .hero-cote:not(.z):not(.z) { grid-row: 3; margin-top: 30px; padding-top: 0; }
  .hero-page .hero-poles:not(.z):not(.z) { grid-row: 4; }
  .hero-page-image:not(.z):not(.z) { width: 100%; opacity: .25; -webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%); mask-image: linear-gradient(180deg, #000 30%, transparent 100%); }
  .outils-chiffres:not(.z):not(.z) { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .poles-tete:not(.z):not(.z) { flex-direction: column; align-items: flex-start; }
  .pole-grille:not(.z):not(.z), .projet-detail:not(.z):not(.z), .mission:not(.z):not(.z), .organisation:not(.z):not(.z), .contact-page:not(.z):not(.z), .direction-panneau:not(.z):not(.z) { grid-template-columns: 1fr; gap: 40px; }
  .pole-intro:not(.z):not(.z), .contact-infos:not(.z):not(.z) { position: static; }
  .projet-detail-inverse .projet-detail-image:not(.z):not(.z) { order: 0; }
  .projet-detail-image:not(.z):not(.z) { aspect-ratio: 16 / 11; }
  .direction-photo:not(.z):not(.z) { min-height: 460px; order: 2; }
  .direction-texte:not(.z):not(.z) { padding: 56px 28px 0; }
  .pied-grille:not(.z):not(.z) { grid-template-columns: 1fr 1fr; }
  .etapes-grille:not(.z):not(.z) { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .menu-bouton:not(.z):not(.z) { width: 46px; height: 46px; }
  .poles-grille:not(.z):not(.z), .groupe-grille:not(.z):not(.z), .groupe-grille-2:not(.z):not(.z), .groupe-grille-5:not(.z):not(.z), .liste-coche:not(.z):not(.z), .champs-2:not(.z):not(.z), .pied-grille:not(.z):not(.z) { grid-template-columns: 1fr; }
  .feuille-liste:not(.z):not(.z) { grid-template-columns: 1fr; row-gap: 36px; }
  .feuille-liste:not(.z):not(.z)::before { left: 7px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .feuille-liste > .t-li:not(.z):not(.z) { padding-top: 0; padding-left: 40px; }
  .pole:not(.z):not(.z), .groupe:not(.z):not(.z), .feuille:not(.z):not(.z) { padding: 80px 0; }
  .pole-panneau:not(.z):not(.z), .groupe-panneau:not(.z):not(.z), .feuille:not(.z):not(.z) { margin-inline: 0; }
  .fc:not(.z):not(.z) { min-height: 0; }
  .fc .elementor-widget-heading:not(.z):not(.z) { margin-top: 8px; }
  .mission-carte:not(.z):not(.z) { min-height: 0; }
  .direction-photo:not(.z):not(.z) { min-height: 400px; }
  .chiffre-b:not(.z):not(.z) { font-size: 40px; }
}

/* Services : respiration avant le panneau contact */
.services-page:not(.z):not(.z) { padding-bottom: 150px; }
@media (max-width: 1000px) {
  .hero:not(.z):not(.z) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1000px) {
  .hero-poles-ancres:not(.z):not(.z) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ═══════════════ Phase 4 · en-tête hors du hero (thème + Elementor) ═══════════════ */
/* Le menu appartient au thème ; il flotte au-dessus du premier panneau de la page. */
.entete:not(.z):not(.z) { position: absolute; top: 0; left: 0; right: 0; z-index: 20; padding: 26px var(--gouttiere) 0; }
.admin-bar .entete:not(.z):not(.z) { top: 32px; }
.hero:not(.z):not(.z) { padding-top: calc(26px + 52px); grid-template-rows: 1fr auto; }
.hero-texte:not(.z):not(.z), .hero-cote:not(.z):not(.z) { grid-row: 1; }
.hero-poles:not(.z):not(.z) { grid-row: 2; }
/* logo recadré : plus besoin de rogner le carré d'origine */
.logo img:not(.z):not(.z) { width: 118px; height: auto; object-fit: contain; }
.loader-logo img:not(.z):not(.z) { width: 150px; height: auto; object-fit: contain; }
@media (max-width: 1000px) {
  .hero:not(.z):not(.z) { grid-template-rows: auto; }
  .hero-texte:not(.z):not(.z) { grid-row: 1; }
  .hero-photo:not(.z):not(.z) { grid-row: 2; }
  .hero-cote:not(.z):not(.z) { grid-row: 3; }
  .hero-poles:not(.z):not(.z) { grid-row: 4; }
  .hero-page .hero-cote:not(.z):not(.z) { grid-row: 2; }
  .hero-page .hero-poles:not(.z):not(.z) { grid-row: 3; }
}
@media (max-width: 782px) { .admin-bar .entete:not(.z):not(.z) { top: 46px; } }
@media (max-width: 640px) {
  .entete:not(.z):not(.z) { padding-top: 22px; }
  .hero:not(.z):not(.z) { padding-top: calc(22px + 46px); }
  .logo img:not(.z):not(.z) { width: 100px; }
}

/* ═══════════════ Hero vidéo (2026-10-18) : boucle motion en fond, voile pour la lisibilité ═══════════════ */
.hero-video:not(.z):not(.z) { background: #05241E; }
.hero-fond:not(.z):not(.z) { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hero-video:not(.z):not(.z)::after { background:
  linear-gradient(90deg, rgba(4,24,19,.5) 0%, rgba(4,24,19,.12) 40%, rgba(4,24,19,.08) 60%, rgba(4,20,16,.5) 100%),
  linear-gradient(180deg, rgba(4,24,19,.2) 0%, rgba(4,24,19,0) 25%, rgba(4,24,19,0) 70%, rgba(4,20,16,.55) 100%); }
@media (max-width: 1000px) {
  .hero-video:not(.z):not(.z) { min-height: min(860px, 100svh); align-content: center; }
  .hero-video:not(.z):not(.z)::after { background: linear-gradient(180deg, rgba(4,24,19,.4) 0%, rgba(4,24,19,.2) 45%, rgba(4,20,16,.7) 100%); }
  .hero-video .hero-cote:not(.z):not(.z) { margin-top: 32px; }
  .hero-video .hero-poles:not(.z):not(.z) { padding-top: 56px; }
}


/* ═════ Surcharges Elementor (après la feuille de la maquette) ═════ */

/* Conteneurs issus de la maquette (classe .efm) : flux normal, sans marge ni
   écart imposés. La double classe dépasse le CSS par élément d'Elementor.
   Un conteneur ajouté par le client dans Elementor garde le comportement Elementor. */
.elementor .e-con.efm.efm:not(.z):not(.z) {
  --display: block;
  --width: auto;
  --padding-top: 0px; --padding-right: 0px; --padding-bottom: 0px; --padding-left: 0px;
  --gap: 0px; --row-gap: 0px; --column-gap: 0px;
  --flex-direction: row; --flex-wrap: nowrap;
  --align-items: normal; --justify-content: normal; --align-content: normal;
  --container-widget-width: auto; --container-widget-flex-grow: 0;
  --margin-top: 0px; --margin-bottom: 0px; --margin-left: 0px; --margin-right: 0px;
}
a.e-con.efm:not(.z):not(.z) { color: inherit; text-decoration: none; }

/* Marges basses des widgets : Elementor les force à 0 en (0,3,0) */
.e-con .elementor-widget.etiquette:not(.z):not(.z) { margin-bottom: 18px; }
.e-con .elementor-widget.hero-salut:not(.z):not(.z) { margin-bottom: 22px; }
.e-con .elementor-widget.hero-accroche:not(.z):not(.z) { margin-bottom: 26px; }
.e-con .elementor-widget.contact-tel:not(.z):not(.z) { margin-bottom: 16px; }
.e-con .formations-intro .elementor-widget.etiquette:not(.z):not(.z),
.e-con .direction-texte .elementor-widget.hero-salut:not(.z):not(.z) { margin-bottom: 0; }
.e-con .contact-infos .elementor-widget.titre-l:not(.z):not(.z) { margin-bottom: 18px; }

/* Images : l'attribut height ne doit pas gagner sur le cadrage du CSS */
.elementor .teinte img:not(.z):not(.z), .elementor .hero-photo img:not(.z):not(.z), .elementor .hero-page-image img:not(.z):not(.z), .elementor .direction-photo img:not(.z):not(.z) { height: 100%; max-width: none; }
.elementor .teinte img:not(.z):not(.z) { width: 100%; }
.elementor-widget-image.teinte:not(.z):not(.z), .elementor-widget-image.hero-photo:not(.z):not(.z), .elementor-widget-image.hero-page-image:not(.z):not(.z), .elementor-widget-image.direction-photo:not(.z):not(.z) { line-height: 0; }

/* Lien de téléphone dans le panneau contact */
.contact-tel a:not(.z):not(.z) { color: inherit; }

/* ── Boutons Elementor : la classe est sur l'enveloppe, le style va sur le lien ── */
.elementor-widget-button.bouton:not(.z):not(.z) { display: block; height: auto; padding: 0; background: none; border: 0; border-radius: 0; transform: none; }
.elementor-widget-button.bouton .elementor-button:not(.z):not(.z) {
  display: inline-flex; align-items: center; gap: 14px;
  height: 52px; padding: 0 6px 0 26px; border-radius: 999px; border: 0;
  font-family: inherit; font-weight: 600; font-size: 15px; line-height: 1; letter-spacing: -0.01em;
  white-space: nowrap; text-decoration: none;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.elementor-widget-button.bouton .elementor-button:hover:not(.z):not(.z) { transform: translateY(-2px); }
.elementor-widget-button.bouton .elementor-button:not(.z):not(.z)::after {
  content: ""; flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--vert) 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.elementor-widget-button.bouton .elementor-button:hover:not(.z):not(.z)::after { transform: rotate(-45deg); }
.elementor-widget-button.bouton-blanc .elementor-button:not(.z):not(.z), .elementor-widget-button.bouton-blanc .elementor-button:hover:not(.z):not(.z), .elementor-widget-button.bouton-blanc .elementor-button:visited:not(.z):not(.z) { background: var(--blanc); color: #111; }
.elementor-widget-button.bouton-vert .elementor-button:not(.z):not(.z), .elementor-widget-button.bouton-vert .elementor-button:hover:not(.z):not(.z), .elementor-widget-button.bouton-vert .elementor-button:visited:not(.z):not(.z) { background: var(--vert-bouton); color: var(--blanc); }
.elementor-widget-button.bouton-vert .elementor-button:not(.z):not(.z)::after {
  background-color: var(--blanc);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23167E4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}
.elementor-widget-button.bouton-contour .elementor-button:not(.z):not(.z), .elementor-widget-button.bouton-contour .elementor-button:hover:not(.z):not(.z) { padding: 0 28px; background: transparent; border: 1.5px solid rgba(255,255,255,.55); color: var(--blanc); }
.elementor-widget-button.bouton-contour .elementor-button:not(.z):not(.z)::after { content: none; }
.elementor-widget-button.bouton .elementor-button-content-wrapper:not(.z):not(.z) { display: contents; }

/* ── Listes : coches et flèches dessinées en CSS (ex-<span> décoratifs) ── */
.elementor-widget.liste-coche:not(.z):not(.z) { display: block; border-top: 0; }
.liste-coche > ul:not(.z):not(.z) { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; border-top: 1px solid var(--ligne); }
.liste-coche-1 > ul:not(.z):not(.z) { grid-template-columns: 1fr; }
.liste-coche li:not(.z):not(.z)::before {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; margin-top: -1px;
  background: rgba(2,181,99,.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2302B563' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 15px no-repeat;
}
.formations-liste > .t-li:not(.z):not(.z) { display: grid; grid-template-columns: 64px 1fr 48px; }
.formations-liste > .t-li:not(.z):not(.z)::after {
  content: ""; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--ligne);
  background: 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='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 20px no-repeat;
  transition: background-color .3s, border-color .3s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.formations-liste > .t-li:hover:not(.z):not(.z)::after { background-color: var(--vert); border-color: var(--vert); transform: rotate(-45deg); }
.hero-poles .libelle:not(.z):not(.z), .hero-poles a:not(.z):not(.z) { color: inherit; }

/* ── Contact Form 7 aux couleurs de la maquette ── */
.formulaire-cf7 .wpcf7-form:not(.z):not(.z) { display: flex; flex-direction: column; gap: 20px; }
.formulaire-cf7 .wpcf7-form > p:not(.z):not(.z) { margin: 0; }
.champ .wpcf7-form-control-wrap:not(.z):not(.z) { display: block; font-size: inherit; font-weight: 400; color: var(--blanc); }
.champ .champ-libelle:not(.z):not(.z) { font-size: 14px; font-weight: 600; color: var(--gris-clair); }
.formulaire-cf7 .wpcf7-submit:not(.z):not(.z) {
  align-self: flex-start; height: 52px; padding: 0 60px 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  font: 600 15px/1 var(--police); letter-spacing: -0.01em; color: var(--blanc);
  background: var(--vert-bouton) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='20' fill='%23fff'/%3E%3Cpath d='M11 20h18M23 14l6 6-6 6' fill='none' stroke='%23167E4B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 6px center / 40px no-repeat;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.formulaire-cf7 .wpcf7-submit:hover:not(.z):not(.z) { transform: translateY(-2px); }
.formulaire-cf7 .wpcf7-spinner:not(.z):not(.z) { display: none; }
.formulaire-cf7 .wpcf7-not-valid-tip:not(.z):not(.z) { color: #ff8a80; font-size: 13px; margin-top: 6px; }
.formulaire-cf7 .wpcf7-response-output:not(.z):not(.z) { margin: 0 !important; border-radius: 16px; padding: 14px 18px !important; font-size: 14px; border-color: var(--vert) !important; }

/* ── Menu : élément courant (WordPress) ── */
.nav-liens .current-menu-item > a:not(.z):not(.z)::after { transform: scaleX(1); }
@media (max-width: 1000px) {
  .nav-liens .current-menu-item > a:not(.z):not(.z) { background: rgba(2,181,99,.14); color: var(--vert); }
}

/* ── Pages hors Elementor (blog, articles) ── */
.standard-hero:not(.z):not(.z) { min-height: 0; padding-bottom: 80px; }
.standard-corps:not(.z):not(.z) { padding-top: 100px; padding-bottom: 140px; }
.standard-liste:not(.z):not(.z) { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.standard-liste .fc h3:not(.z):not(.z) { font-size: 23px; }
.standard-article:not(.z):not(.z) { max-width: 760px; font-size: 18px; line-height: 1.75; color: var(--gris-clair); }
.standard-article > * + *:not(.z):not(.z) { margin-top: 1.2em; }
.standard-article a:not(.z):not(.z) { color: var(--vert); }
@media (max-width: 1000px) { .standard-liste:not(.z):not(.z) { grid-template-columns: 1fr; } }

@media (max-width: 640px) {
  .liste-coche > ul:not(.z):not(.z) { grid-template-columns: 1fr; }
  .formations-liste > .t-li:not(.z):not(.z) { grid-template-columns: 48px 1fr 40px; }
  .formations-liste > .t-li:not(.z):not(.z)::after { width: 40px; height: 40px; }
  .elementor-widget-button.bouton .elementor-button:not(.z):not(.z) { height: 48px; }
}

/* Police du site : passe devant les feuilles globales d'autres extensions */
html body { font-family: var(--police); }

/* Largeurs maximales de la maquette : Elementor impose max-width:100% en (0,4,0) */
.elementor.elementor .e-con > .elementor-widget.approche-texte:not(.z):not(.z) { max-width: 520px; }
.elementor.elementor .outils-intro > .elementor-widget.approche-texte:not(.z):not(.z) { max-width: 820px; }
.elementor.elementor .e-con > .elementor-widget.pole-desc:not(.z):not(.z) { max-width: 460px; }
.elementor.elementor .formations-intro > .elementor-widget.petit-gris:not(.z):not(.z) { max-width: 420px; }
.elementor.elementor .e-con > .elementor-widget.hero-titre:not(.z):not(.z) { max-width: none; }

/* Bandeau défilant : chaque mot est un widget texte (ex-<span>) */
.defile-piste > .elementor-widget:not(.z):not(.z) { flex: none; font-size: clamp(20px, 1.9vw, 27px); font-weight: 700; color: #BDBDBF; letter-spacing: -0.02em; }

/* Hero vidéo : le lecteur d'arrière-plan d'Elementor passe sous le voile (::after, z -1) */
.hero-video > .elementor-background-video-container:not(.z):not(.z) { z-index: -2; }
.hero-video .elementor-background-video-hosted:not(.z):not(.z) { width: 100%; height: 100%; object-fit: cover; }

/* ═════ Animations au défilement ═════
   Pilotées par assets/app.js, sans bibliothèque. Seulement transform, scale,
   translate, opacity et clip-path : rien ne recalcule la mise en page.
   Les états de départ dépendent de classes posées par le script : sans
   JavaScript, tout reste visible. */

/* ── Barre de progression de lecture ── */
.progression:not(.z):not(.z) {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 99999; pointer-events: none;
  background: linear-gradient(90deg, var(--vert-profond), var(--vert) 55%, #7dffc0);
  box-shadow: 0 0 14px rgba(2,181,99,.55);
  transform-origin: 0 50%; transform: scaleX(0);
}
.admin-bar .progression:not(.z):not(.z) { top: 32px; }
@media (max-width: 782px) { .admin-bar .progression:not(.z):not(.z) { top: 46px; } }

/* ── Titres : chaque mot monte derrière un masque, en cascade ── */
.anim-mots .mot:not(.z):not(.z) { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.anim-mots .mot > span:not(.z):not(.z) {
  display: inline-block; transform: translateY(115%) rotate(5deg); transform-origin: 0 100%; opacity: 0;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1), opacity .7s ease;
  transition-delay: calc(var(--i) * 55ms + .1s);
}
.anim-mots.visible .mot > span:not(.z):not(.z) { transform: none; opacity: 1; }

/* ── Images : la fenêtre s'ouvre pendant que la photo se pose ── */
.anim-img:not(.z):not(.z) { clip-path: inset(14% 10% 14% 10% round var(--rayon)); transition: clip-path 1.5s cubic-bezier(.16,1,.3,1); }
.anim-img.visible:not(.z):not(.z) { clip-path: inset(0 0 0 0 round var(--rayon)); }
.anim-img img:not(.z):not(.z) { scale: 1.4; transition: scale 2s cubic-bezier(.16,1,.3,1), transform 1.2s cubic-bezier(.2,.8,.2,1); }
.anim-img.visible img:not(.z):not(.z) { scale: var(--repos, 1); }
/* marge de sécurité pour le parallaxe (l'image glisse dans son cadre) */
.parallaxe:not(.z):not(.z) { --repos: 1.16; }

/* ── Cartes : arrivée en 3D, basculées vers l'arrière ── */
.js .carte.reveal:not(.z):not(.z), .js .projet.reveal:not(.z):not(.z), .js .fc.reveal:not(.z):not(.z), .js .mission-carte.reveal:not(.z):not(.z) {
  transform: perspective(1400px) translate3d(0, 90px, 0) rotateX(16deg) scale(.95);
  transform-origin: 50% 0;
  transition: opacity 1s ease, transform 1.5s cubic-bezier(.16,1,.3,1);
}
/* ── Lignes de liste : glissent depuis la gauche ── */
.js .t-li.reveal:not(.z):not(.z) {
  transform: translate3d(-60px, 0, 0);
  transition: opacity .9s ease, transform 1.3s cubic-bezier(.16,1,.3,1);
}
.js .carte.reveal.visible:not(.z):not(.z), .js .projet.reveal.visible:not(.z):not(.z), .js .fc.reveal.visible:not(.z):not(.z), .js .mission-carte.reveal.visible:not(.z):not(.z), .js .t-li.reveal.visible:not(.z):not(.z) { transform: none; }

/* ── Compteurs : chiffres à largeur fixe pendant le décompte ── */
.compteur:not(.z):not(.z) { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .anim-mots .mot > span:not(.z):not(.z), .anim-img:not(.z):not(.z), .anim-img img:not(.z):not(.z) { transform: none !important; opacity: 1 !important; clip-path: none !important; scale: none !important; transition: none !important; }
  .js .carte.reveal:not(.z):not(.z), .js .projet.reveal:not(.z):not(.z), .js .fc.reveal:not(.z):not(.z), .js .mission-carte.reveal:not(.z):not(.z), .js .t-li.reveal:not(.z):not(.z) { transform: none !important; }
}
