/* Maquette Alya — 13 nov. 2026
   Même charte que le site en ligne (vert profond, Manrope, accent feu, logo),
   composition refaite : alignée à gauche, filets à la place des cartes,
   un seul accent, mouvement piloté par le défilement. */

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("../assets/manrope-6.woff2") format("woff2");
}

:root {
  --papier: #f6f8f3;
  --papier-2: #edf2e8;
  --surface: #ffffff;
  --encre: #171f12;
  --encre-2: #4a5545;
  --encre-3: #6d7869;
  --filet: rgba(23, 31, 18, 0.14);
  --filet-doux: rgba(23, 31, 18, 0.08);

  --profond: #243020;
  --profond-2: #2f3d27;
  --clair: #eef3ea;
  --doux: #bcd4ac;
  --vert: #5a7743;
  --vert-clair: #abc698;
  --filet-clair: rgba(232, 241, 225, 0.18);

  --feu: #b9491a;
  --feu-fonce: #8f3510;
  --feu-clair: #ffb57a;

  --courbe: cubic-bezier(0.22, 1, 0.36, 1);
  --marge: clamp(20px, 4vw, 64px);
  --entete: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
em { font-style: normal; color: var(--vert); }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--feu); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--profond-2); color: var(--clair); }

.lisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.evitement { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--feu); color: #fff; padding: 8px 16px; border-radius: 8px; font-weight: 600; }
.evitement:focus { top: 12px; }

.cadre { width: 100%; max-width: 1440px; margin-inline: auto; padding-inline: var(--marge); position: relative; }

/* ── Rideau d'ouverture ─────────────────────────────── */
.rideau { position: fixed; inset: 0; z-index: 300; background: var(--profond); display: grid; place-items: center; pointer-events: none; }
.rideau img { width: 76px; height: auto; }
.sans-js .rideau, .reduit .rideau { display: none; }

/* ── En-tête ────────────────────────────────────────── */
.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--entete);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--marge);
  color: var(--clair);
  transition: background-color 0.35s var(--courbe), color 0.35s var(--courbe), transform 0.5s var(--courbe), border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.entete.pose { background: rgba(246, 248, 243, 0.92); backdrop-filter: blur(12px); color: var(--encre); border-color: var(--filet-doux); }
.entete.cache { transform: translateY(-100%); }
.marque { display: flex; align-items: center; gap: 12px; }
.marque img { width: 36px; height: auto; }
.marque b { display: block; font-weight: 700; font-size: 1.02rem; letter-spacing: 0.06em; line-height: 1.1; }
.marque small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.72; line-height: 1.2; }
.nav { display: flex; gap: 28px; font-size: 0.9rem; font-weight: 500; }
.nav a, .lien-discret { position: relative; padding-block: 8px; opacity: 0.82; transition: opacity 0.2s; }
.nav a::after, .lien-discret::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--courbe); }
.nav a:hover, .lien-discret:hover, .nav a.actif { opacity: 1; }
.nav a:hover::after, .lien-discret:hover::after, .nav a.actif::after { transform: scaleX(1); transform-origin: left; }
.entete-actions { display: flex; align-items: center; gap: 24px; }
.lien-discret { font-size: 0.9rem; font-weight: 500; }
.avancement { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.avancement span { display: block; height: 100%; background: var(--feu); transform: scaleX(0); transform-origin: left; }
.bouton-menu { display: none; width: 40px; height: 40px; position: relative; }
.bouton-menu i { position: absolute; left: 9px; right: 9px; height: 1.5px; background: currentColor; transition: transform 0.4s var(--courbe), top 0.4s var(--courbe); }
.bouton-menu i:first-child { top: 15px; }
.bouton-menu i:last-child { top: 24px; }
.menu-ouvert .bouton-menu i:first-child { top: 19px; transform: rotate(45deg); }
.menu-ouvert .bouton-menu i:last-child { top: 19px; transform: rotate(-45deg); }
.menu-ouvert .entete { color: var(--clair); background: transparent; border-color: transparent; transform: none; }

.menu-plein { position: fixed; inset: 0; z-index: 90; background: var(--profond); color: var(--clair); padding: 112px var(--marge) 40px; display: flex; flex-direction: column; justify-content: space-between; }
.menu-plein[hidden] { display: none; }
.menu-plein ul a { display: block; font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 500; letter-spacing: -0.03em; padding-block: 8px; border-bottom: 1px solid var(--filet-clair); }
.menu-tel { font-size: 1.25rem; font-weight: 500; }

/* ── Boutons et liens ───────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 44px; padding-inline: 20px; border-radius: 10px;
  font-size: 0.92rem; font-weight: 600; white-space: nowrap; overflow: hidden;
  transition: background-color 0.25s var(--courbe), transform 0.25s var(--courbe);
  will-change: transform;
}
.btn span, .btn svg { position: relative; z-index: 1; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.4s var(--courbe); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-feu { background: var(--feu); color: #fff; }
.btn-feu::before { content: ""; position: absolute; inset: 0; background: var(--feu-fonce); transform: translateY(101%); transition: transform 0.45s var(--courbe); }
.btn-feu:hover::before { transform: translateY(0); }
.btn-lg { height: 52px; padding-inline: 24px; font-size: 1rem; }

.lien-fleche { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.98rem; color: var(--encre); padding-block: 6px; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size 0.45s var(--courbe); }
.lien-fleche::after { content: ""; width: 16px; height: 16px; background: currentColor; flex: none; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform 0.4s var(--courbe); }
.lien-fleche:hover { background-size: 0% 1px; background-position: right bottom; }
.lien-fleche:hover::after { transform: translateX(4px); }
.lien-clair { color: var(--clair); }

/* ── Typographie ────────────────────────────────────── */
.repere { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; font-weight: 500; color: var(--vert); }
.repere::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.repere-clair { color: var(--vert-clair); }
.titre { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; margin-top: 20px; text-wrap: balance; }
.titre-clair { color: #fff; }
.titre-clair em, .bloc-profond em { color: var(--vert-clair); }
.sous-titre { font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.sous-titre-clair { color: #fff; }
.intro { color: var(--encre-2); font-size: 1.06rem; max-width: 52ch; }
.intro-claire { color: var(--doux); }
.mot { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.mot > span { display: inline-block; will-change: transform; }

.lignes li { position: relative; padding: 14px 0 14px 28px; border-top: 1px solid var(--filet); font-size: 0.98rem; color: var(--encre-2); }
.lignes li:last-child { border-bottom: 1px solid var(--filet); }
.lignes li::before { content: ""; position: absolute; left: 2px; top: 24px; width: 12px; height: 1px; background: var(--vert); }
.lignes-claires li { border-color: var(--filet-clair); color: var(--doux); }
.lignes-claires li::before { background: var(--vert-clair); }

.bloc { padding-block: clamp(88px, 11vw, 168px); position: relative; }
.bloc-teinte { background: var(--papier-2); }
.bloc-profond { background: var(--profond); color: var(--clair); overflow: hidden; }
.tete { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.tete .intro { padding-bottom: 8px; }

/* ── Accueil ────────────────────────────────────────── */
.hero { position: relative; background: var(--profond); color: var(--clair); min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between; padding-top: calc(var(--entete) + clamp(40px, 7vh, 96px)); padding-bottom: clamp(32px, 5vh, 56px); overflow: hidden; }
.arc { position: absolute; color: rgba(171, 198, 152, 0.26); pointer-events: none; }
.arc-hero { width: min(72vw, 980px); right: -14vw; top: -18vw; }
.arc-propos { width: min(60vw, 760px); left: -18vw; bottom: -22vw; transform: rotate(160deg); }
.hero-titre { font-size: clamp(2.9rem, 9.4vw, 9.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 0.94; margin-top: 24px; }
.hero-titre em { color: var(--vert-clair); }
.ligne { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.ligne > span { display: block; will-change: transform; }
.hero-bas { display: grid; grid-template-columns: 1fr minmax(0, 520px); gap: 40px 64px; align-items: end; margin-top: 56px; }
.hero-domaines { border-top: 1px solid var(--filet-clair); max-width: 420px; }
.hero-domaines a { display: flex; gap: 20px; padding-block: 12px; border-bottom: 1px solid var(--filet-clair); font-weight: 500; color: var(--clair); transition: padding-left 0.4s var(--courbe), color 0.25s; }
.hero-domaines a span { color: var(--vert-clair); font-size: 0.82rem; padding-top: 2px; }
.hero-domaines a:hover { padding-left: 12px; color: #fff; }
.hero-texte p { font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--doux); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }

/* ── Film ───────────────────────────────────────────── */
.film { background: var(--profond); padding-bottom: 0; }
.film-cadre { position: relative; height: 100svh; overflow: hidden; background: #111a0e; will-change: clip-path; }
.film-cadre video { width: 100%; height: 100%; object-fit: cover; }
.film-legende { position: absolute; inset: auto 0 0 0; padding: 96px var(--marge) 32px; display: flex; justify-content: space-between; align-items: end; gap: 24px; color: #fff; background: linear-gradient(to top, rgba(17, 26, 14, 0.82), rgba(17, 26, 14, 0)); }
.film-legende strong { display: block; font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.02em; }
.film-legende span { color: var(--doux); font-size: 0.95rem; }
.film-son { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding-inline: 20px 24px; border-radius: 10px; background: rgba(238, 243, 234, 0.14); backdrop-filter: blur(10px); border: 1px solid rgba(238, 243, 234, 0.28); font-weight: 600; transition: background-color 0.25s; }
.film-son:hover { background: rgba(238, 243, 234, 0.24); }
.film-son svg { width: 16px; height: 16px; }
.film-son span { color: #fff; font-size: 0.95rem; }

/* ── Domaines ───────────────────────────────────────── */
.domaines { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px clamp(40px, 8vw, 128px); align-items: start; }
.domaines-fixe { position: sticky; top: 120px; }
.domaines-fixe .intro { margin-top: 24px; }
.compteur-domaine { display: flex; align-items: baseline; gap: 12px; margin-top: 56px; color: var(--profond-2); }
.rouleau { height: clamp(5rem, 9vw, 8.5rem); overflow: hidden; font-size: clamp(5rem, 9vw, 8.5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
.rouleau span { display: block; height: 100%; will-change: transform; }
.compteur-domaine i { font-style: normal; color: var(--encre-3); font-size: 1.1rem; font-weight: 500; }
.domaine { padding-block: 48px 72px; border-top: 1px solid var(--filet); opacity: 0.38; transition: opacity 0.5s var(--courbe); }
.domaine.actif { opacity: 1; }
.domaine header { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; flex-wrap: wrap; }
.domaine h3 { font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.04; }
.domaine header p { color: var(--vert); font-weight: 500; font-size: 0.95rem; }
.domaine-texte { margin-block: 24px 32px; color: var(--encre-2); font-size: 1.06rem; max-width: 56ch; }

/* ── Prestations ────────────────────────────────────── */
.prestations { background: var(--profond); color: var(--clair); position: relative; }
.prestations-vue { position: relative; overflow: hidden; }
.prestations-piste { display: flex; will-change: transform; }
.volet { flex: none; width: min(78vw, 860px); min-height: 100svh; padding: calc(var(--entete) + 48px) clamp(24px, 4vw, 64px) 96px; border-left: 1px solid var(--filet-clair); display: flex; flex-direction: column; justify-content: space-between; gap: 40px; position: relative; }
.volet-intro { width: min(88vw, 760px); border-left: 0; padding-left: var(--marge); justify-content: center; }
.volet-intro .intro { margin-top: 24px; }
.indice-defilement { display: flex; align-items: center; gap: 16px; margin-top: 56px; color: var(--vert-clair); font-size: 0.88rem; font-weight: 500; }
.indice-defilement span { width: 56px; height: 1px; background: currentColor; transform-origin: left; animation: indice 2.4s var(--courbe) infinite; }
@keyframes indice { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
.volet-numero { font-size: clamp(7rem, 16vw, 15rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.8; color: transparent; -webkit-text-stroke: 1px rgba(171, 198, 152, 0.5); will-change: transform; }
.volet-fort { background: var(--profond-2); }
.volet-fort .volet-numero { color: var(--vert-clair); -webkit-text-stroke: 0; }
.volet-note { color: var(--feu-clair); font-size: 0.9rem; font-weight: 500; margin-bottom: 12px; }
.volet h3 { font-size: clamp(1.7rem, 2.8vw, 2.5rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.06; color: #fff; }
.volet-corps > p:not(.volet-note) { color: var(--doux); margin-block: 20px 28px; max-width: 54ch; font-size: 1.04rem; }
.volet .lien-fleche { margin-top: 32px; }
.prestations-jauge { position: absolute; left: var(--marge); right: var(--marge); bottom: 40px; height: 1px; background: var(--filet-clair); }
.prestations-jauge span { display: block; height: 3px; margin-top: -1px; background: var(--vert-clair); transform: scaleX(0); transform-origin: left; }

/* ── Formats ────────────────────────────────────────── */
.formats { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; padding-top: 48px; border-top: 1px solid var(--filet); }
.formats-gauche > p { color: var(--encre-2); margin-top: 20px; max-width: 52ch; }
.formats-gauche strong, .reserve strong { color: var(--encre); }
.segments { position: relative; display: inline-grid; grid-template-columns: repeat(3, 1fr); margin-top: 32px; padding: 4px; border-radius: 12px; background: var(--papier-2); border: 1px solid var(--filet-doux); }
.segments button { position: relative; z-index: 1; height: 40px; padding-inline: 20px; border-radius: 8px; font-weight: 600; font-size: 0.92rem; color: var(--encre-2); transition: color 0.3s; }
.segments button[aria-selected="true"] { color: #fff; }
.segments-pastille { position: absolute; top: 4px; left: 4px; bottom: 4px; width: calc((100% - 8px) / 3); border-radius: 8px; background: var(--profond-2); transition: transform 0.5s var(--courbe); }
.format-fiche { margin-top: 32px; min-height: 280px; }
.format-sous { font-weight: 600; font-size: 1.12rem; letter-spacing: -0.01em; }
.format-texte { color: var(--encre-2); margin-block: 8px 20px; max-width: 52ch; }
.formats-droite { position: relative; }
.comparatif { width: 100%; border-collapse: collapse; position: relative; z-index: 1; font-size: 0.95rem; }
.comparatif th, .comparatif td { padding: 16px 12px; text-align: center; border-bottom: 1px solid var(--filet); transition: color 0.35s, opacity 0.35s; }
.comparatif thead th { font-weight: 600; font-size: 0.9rem; color: var(--encre-3); padding-top: 20px; }
.comparatif tbody th { text-align: left; font-weight: 500; color: var(--encre); padding-left: 0; width: 46%; }
.comparatif td { color: var(--encre-2); font-weight: 500; }
.comparatif td.non { color: var(--encre-3); opacity: 0.6; }
.comparatif .fort td { font-weight: 600; color: var(--encre); }
.comparatif [data-col].actif { color: #fff; opacity: 1; }
.comparatif-colonne { position: absolute; top: 0; bottom: 0; left: 0; width: 18%; border-radius: 12px; background: var(--profond-2); will-change: transform; }
.reserve { margin-top: 48px; padding: 24px 0 24px 24px; border-left: 2px solid var(--vert); color: var(--encre-2); max-width: 86ch; }
.reserve-nette { border-color: var(--feu); margin-top: 56px; }

/* ── Programmes ─────────────────────────────────────── */
.programmes { margin-top: clamp(72px, 9vw, 128px); }
.programmes-tete { display: grid; grid-template-columns: 1fr auto; gap: 24px 40px; align-items: end; padding-bottom: 24px; }
.filtres { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.filtre { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.filtre button { position: relative; padding-block: 8px; font-size: 0.94rem; font-weight: 500; color: var(--encre-3); transition: color 0.25s; }
.filtre button::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--feu); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--courbe); }
.filtre button:hover { color: var(--encre); }
.filtre button[aria-pressed="true"] { color: var(--encre); }
.filtre button[aria-pressed="true"]::after { transform: scaleX(1); }
.programmes-compte { color: var(--encre-3); font-size: 0.94rem; grid-row: 1; grid-column: 2; }
.programmes-compte b { color: var(--encre); font-weight: 600; }
.programmes-liste { border-top: 1px solid var(--encre); }
.programme { border-bottom: 1px solid var(--filet); overflow: hidden; }
.programme-ligne { width: 100%; display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1fr) 140px 40px; gap: 24px; align-items: center; padding-block: 28px; text-align: left; position: relative; }
.programme-ligne::before { content: ""; position: absolute; inset: 0 calc(var(--marge) * -1); background: var(--profond-2); transform: scaleY(0); transform-origin: bottom; transition: transform 0.5s var(--courbe); z-index: 0; }
.programme-ligne > * { position: relative; z-index: 1; transition: color 0.35s, transform 0.5s var(--courbe); }
.programme-ligne:hover::before, .programme.ouvert .programme-ligne::before { transform: scaleY(1); }
.programme-ligne:hover > *, .programme.ouvert .programme-ligne > * { color: #fff; }
.programme-ligne:hover .programme-nom, .programme.ouvert .programme-nom { transform: translateX(12px); }
.programme-rang { color: var(--encre-3); font-size: 0.88rem; font-weight: 500; }
.programme-nom { font-size: clamp(1.3rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.035em; line-height: 1.08; }
.programme-nom small { display: block; font-size: 0.92rem; font-weight: 500; letter-spacing: 0; color: var(--vert); margin-top: 6px; transition: color 0.35s; }
.programme-ligne:hover small, .programme.ouvert small { color: var(--vert-clair); }
.programme-domaine, .programme-duree { color: var(--encre-2); font-size: 0.95rem; font-weight: 500; }
.programme-plus { width: 40px; height: 40px; position: relative; }
.programme-plus::before, .programme-plus::after { content: ""; position: absolute; left: 12px; right: 12px; top: 19.5px; height: 1.5px; background: currentColor; transition: transform 0.45s var(--courbe); }
.programme-plus::after { transform: rotate(90deg); }
.programme.ouvert .programme-plus::after { transform: rotate(0deg); }
.programme-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--courbe); }
.programme.ouvert .programme-detail { grid-template-rows: 1fr; }
.programme-detail > div { min-height: 0; }
.programme-detail-in { display: grid; grid-template-columns: 56px minmax(0, 1.5fr) minmax(0, 1.2fr); gap: 24px; padding-block: 32px 40px; }
.programme-detail-in > p { grid-column: 2; color: var(--encre-2); max-width: 58ch; }
.programme-detail-in .lignes { grid-column: 3; grid-row: 1 / span 2; }
.programme-liens { grid-column: 2; display: flex; flex-wrap: wrap; gap: 12px 32px; align-self: end; }

/* ── E-learning ─────────────────────────────────────── */
.elearning { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px clamp(40px, 8vw, 128px); align-items: center; }
.elearning-texte .intro { margin-block: 24px 32px; }
.elearning-texte .lien-fleche { margin-top: 32px; }
.elearning-visuel { position: relative; display: flex; justify-content: center; padding-block: 24px; }
.telephone { width: 320px; border-radius: 36px; background: var(--surface); border: 1px solid var(--filet); padding: 24px 20px 20px; box-shadow: 0 40px 80px -32px rgba(36, 48, 32, 0.4), 0 8px 20px -8px rgba(36, 48, 32, 0.12); position: relative; z-index: 1; }
.tel-barre { display: flex; justify-content: space-between; align-items: center; color: var(--encre-3); font-size: 0.8rem; font-weight: 500; }
.tel-barre img { width: 22px; height: auto; }
.tel-bonjour { font-size: 1.4rem; font-weight: 600; letter-spacing: -0.03em; margin-top: 12px; }
.tel-chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; }
.tel-chiffres div { padding: 12px 16px; border-radius: 12px; background: var(--papier); }
.tel-chiffres b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; color: var(--profond-2); }
.tel-chiffres span { font-size: 0.78rem; color: var(--encre-3); }
.tel-jauge { height: 4px; border-radius: 2px; background: var(--papier-2); margin-top: 16px; overflow: hidden; }
.tel-jauge span { display: block; height: 100%; background: var(--vert); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--courbe); }
.tel-modules { margin-top: 16px; display: grid; gap: 8px; }
.tel-modules li { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px solid var(--filet-doux); font-size: 0.86rem; font-weight: 500; color: var(--encre-3); transition: background-color 0.4s, border-color 0.4s, color 0.4s; }
.tel-modules i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 0.78rem; font-weight: 600; background: var(--papier-2); transition: background-color 0.4s, color 0.4s; }
.tel-modules em { font-size: 0.74rem; color: var(--encre-3); }
.tel-modules em::before { content: "Verrouillé"; }
.tel-modules li.valide { color: var(--encre); }
.tel-modules li.valide i { background: var(--vert); color: #fff; font-size: 0; }
.tel-modules li.valide i::before { content: ""; width: 12px; height: 7px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.tel-modules li.valide em::before { content: "Validé"; color: var(--vert); }
.tel-modules li.courant { background: var(--profond-2); border-color: var(--profond-2); color: #fff; }
.tel-modules li.courant i { background: #fff; color: var(--profond-2); }
.tel-modules li.courant em::before { content: "Continuer"; color: var(--feu-clair); font-weight: 600; }
.tel-attestation { margin-top: 12px; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1px dashed var(--filet); font-size: 0.84rem; font-weight: 500; color: var(--encre-3); transition: background-color 0.5s, color 0.5s, border-color 0.5s; }
.tel-attestation svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; justify-self: center; }
.tel-attestation em { font-size: 0.74rem; color: inherit; }
.tel-attestation.prete { background: var(--feu); border: 1px solid var(--feu); color: #fff; }
.suivi { position: absolute; right: -8px; bottom: 32px; width: 232px; padding: 16px; border-radius: 16px; background: var(--profond); color: var(--clair); z-index: 2; box-shadow: 0 24px 48px -20px rgba(36, 48, 32, 0.6); }
.suivi p { font-size: 0.74rem; color: var(--doux); margin-bottom: 8px; }
.suivi li { display: grid; grid-template-columns: 76px 1fr; gap: 12px; align-items: center; font-size: 0.8rem; padding-block: 6px; }
.suivi b { height: 4px; border-radius: 2px; background: rgba(238, 243, 234, 0.16); overflow: hidden; }
.suivi b i { display: block; height: 100%; width: 0; background: var(--vert-clair); transition: width 0.6s var(--courbe); }

/* ── Méthode ────────────────────────────────────────── */
.methode { position: relative; }
.methode-trait { height: 1px; background: var(--filet); position: relative; }
.methode-trait span { position: absolute; inset: -1px 0 -1px 0; height: 3px; background: var(--profond-2); transform: scaleX(0); transform-origin: left; }
.methode ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.methode li { padding-top: 32px; position: relative; }
.methode li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--papier); border: 1px solid var(--encre-3); transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--courbe); }
.methode li.atteint::before { background: var(--feu); border-color: var(--feu); transform: scale(1.3); }
.methode b { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: var(--v, var(--encre-3)); opacity: 0.3; transition: opacity 0.5s, color 0.5s; }
.methode li.atteint b { opacity: 1; color: var(--profond-2); }
.methode h3 { font-size: 1.24rem; font-weight: 600; letter-spacing: -0.02em; margin-block: 20px 8px; }
.methode p { color: var(--encre-2); font-size: 0.98rem; max-width: 30ch; }

/* ── À propos ───────────────────────────────────────── */
.mission { font-size: clamp(1.9rem, 4.6vw, 4.2rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1.08; color: #fff; margin-top: 32px; max-width: 22ch; max-width: min(100%, 1180px); }
.mission .lu { opacity: 0.16; }
.propos { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 8vw, 128px); margin-top: clamp(72px, 9vw, 128px); }
.propos-texte p { color: var(--doux); margin-block: 20px 28px; max-width: 50ch; }
.atouts { display: grid; grid-template-columns: 1fr 1fr; }
.atouts div { padding: 24px 24px 28px 0; border-top: 1px solid var(--filet-clair); }
.atouts dt { font-weight: 600; font-size: 1.08rem; color: #fff; }
.atouts dd { color: var(--doux); font-size: 0.95rem; margin-top: 8px; max-width: 30ch; }
.chiffres { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(64px, 8vw, 112px); border-top: 1px solid var(--filet-clair); }
.chiffres div { padding: 32px 24px 0 0; }
.chiffres div + div { padding-left: 24px; border-left: 1px solid var(--filet-clair); }
.chiffres dt { font-size: clamp(2.8rem, 6vw, 5.6rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; color: #fff; }
.chiffres dt small { font-size: 0.36em; letter-spacing: -0.02em; color: var(--vert-clair); font-weight: 600; }
.chiffres dd { color: var(--doux); font-size: 0.95rem; margin-top: 12px; max-width: 24ch; }
.cadres-legaux { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 72px; }
.cadres-legaux li { color: var(--doux); font-size: 0.9rem; padding-left: 16px; border-left: 1px solid var(--vert-clair); }
.cadres-legaux strong { display: block; color: #fff; font-size: 0.98rem; margin-bottom: 4px; }

/* ── FAQ ────────────────────────────────────────────── */
.faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 8vw, 128px); align-items: start; }
.faq-fixe { position: sticky; top: 120px; }
.faq-fixe .lien-fleche { margin-top: 32px; }
.faq-liste { border-top: 1px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--filet); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; gap: 24px; align-items: center; padding-block: 24px; font-size: clamp(1.08rem, 1.5vw, 1.28rem); font-weight: 600; letter-spacing: -0.02em; transition: color 0.25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; justify-self: center; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); transition: transform 0.45s var(--courbe); }
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq summary:hover { color: var(--vert); }
.faq details > div { overflow: hidden; }
.faq details p { color: var(--encre-2); padding-bottom: 28px; max-width: 62ch; }

/* ── Contact ────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px clamp(40px, 8vw, 128px); align-items: start; }
.contact .intro { margin-top: 24px; }
.contact-tel { display: inline-block; margin-top: 40px; font-size: clamp(2.2rem, 4.6vw, 4rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; color: #fff; background: linear-gradient(var(--feu-clair), var(--feu-clair)) left bottom / 0% 2px no-repeat; padding-bottom: 8px; transition: background-size 0.5s var(--courbe); }
.contact-tel:hover { background-size: 100% 2px; }
.coordonnees { margin-block: 40px 32px; border-top: 1px solid var(--filet-clair); }
.coordonnees div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--filet-clair); }
.coordonnees dt { color: var(--vert-clair); font-size: 0.9rem; font-weight: 500; }
.coordonnees dd { color: #fff; font-weight: 500; }
.coordonnees small { display: block; color: var(--doux); font-weight: 400; font-size: 0.88rem; }
.formulaire { background: var(--papier); color: var(--encre); border-radius: 20px; padding: clamp(24px, 3.4vw, 48px); position: relative; min-height: 420px; }
.formulaire-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.champ { display: block; position: relative; }
.champ-large { grid-column: 1 / -1; }
.champ span { display: block; font-size: 0.84rem; font-weight: 500; color: var(--encre-3); transition: color 0.25s; }
.champ input, .champ select, .champ textarea { width: 100%; font: inherit; color: var(--encre); background: transparent; border: 0; border-bottom: 1px solid var(--filet); border-radius: 0; padding: 8px 0 12px; outline: none; resize: vertical; background-image: linear-gradient(var(--profond-2), var(--profond-2)); background-repeat: no-repeat; background-position: left bottom; background-size: 0% 2px; transition: background-size 0.5s var(--courbe); }
.champ input:focus, .champ select:focus, .champ textarea:focus { background-size: 100% 2px; }
.champ:focus-within span { color: var(--profond-2); }
.champ .faux { background-image: linear-gradient(var(--feu), var(--feu)); background-size: 100% 2px; }
.formulaire-note { grid-column: 1 / -1; font-size: 0.82rem; color: var(--encre-3); }
.formulaire .btn { grid-column: 1 / -1; justify-self: start; }
.formulaire-merci { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3.4vw, 48px); gap: 12px; }
.formulaire-merci[hidden] { display: none; }
.formulaire-merci svg { width: 56px; height: 56px; fill: none; stroke: var(--vert); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.formulaire-merci h3 { font-size: 1.7rem; font-weight: 600; letter-spacing: -0.03em; }
.formulaire-merci p { color: var(--encre-2); max-width: 44ch; }
.formulaire-merci a { text-decoration: underline; text-underline-offset: 3px; }
.formulaire-merci small { color: var(--encre-3); }

/* ── Pied de page ───────────────────────────────────── */
.pied { background: var(--profond); color: var(--doux); border-top: 1px solid var(--filet-clair); padding-top: 64px; overflow: hidden; }
.pied-haut { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; font-size: 0.94rem; }
.pied .marque { color: var(--clair); align-self: start; }
.pied li { padding-block: 4px; }
.pied a:hover { color: #fff; }
.pied-geant { display: flex; justify-content: center; font-size: 31vw; font-weight: 700; letter-spacing: -0.05em; line-height: 0.74; color: var(--profond-2); margin-top: 48px; user-select: none; }
.pied-geant span { display: block; will-change: transform; }
.pied-bas { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 24px; font-size: 0.84rem; border-top: 1px solid var(--filet-clair); }

/* ── Écrans étroits ─────────────────────────────────── */
@media (max-width: 1100px) {
  .nav, .lien-discret { display: none; }
  .bouton-menu { display: block; }
}
@media (max-width: 900px) {
  .tete, .domaines, .formats, .elearning, .propos, .faq, .contact { grid-template-columns: 1fr; }
  .hero-bas { grid-template-columns: 1fr; }
  .hero-domaines { order: 2; max-width: none; }
  .domaines-fixe, .faq-fixe { position: static; }
  .compteur-domaine { display: none; }
  .domaine { opacity: 1; padding-block: 32px 40px; }
  .prestations-piste { flex-direction: column; }
  .volet, .volet-intro { width: 100%; min-height: 0; padding: 56px var(--marge); border-left: 0; border-top: 1px solid var(--filet-clair); }
  .volet-intro { border-top: 0; padding-top: 88px; }
  .indice-defilement, .prestations-jauge { display: none; }
  .volet-numero { font-size: 6rem; }
  .film-cadre { height: 62svh; }
  .film-legende { flex-direction: column; align-items: start; }
  .programme-ligne { grid-template-columns: 32px minmax(0, 1fr) 40px; gap: 12px; padding-block: 20px; }
  .programme-domaine, .programme-duree { display: none; }
  .programme-detail-in { grid-template-columns: 1fr; padding-block: 20px 28px; }
  .programme-detail-in > p, .programme-detail-in .lignes, .programme-liens { grid-column: 1; grid-row: auto; }
  .methode ol { grid-template-columns: 1fr 1fr; gap: 40px 24px; }
  .methode-trait { display: none; }
  .methode li { border-top: 1px solid var(--filet); }
  .methode li::before { display: none; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres div { padding: 24px 16px 24px 0; border-bottom: 1px solid var(--filet-clair); }
  .chiffres div + div { padding-left: 0; border-left: 0; }
  .cadres-legaux, .atouts { grid-template-columns: 1fr; }
  .pied-haut { grid-template-columns: 1fr 1fr; }
  .suivi { display: none; }
  .comparatif { font-size: 0.84rem; }
  .comparatif th, .comparatif td { padding: 12px 4px; }
  .comparatif tbody th { width: 40%; }
}
@media (max-width: 560px) {
  .formulaire-champs { grid-template-columns: 1fr; }
  .telephone { width: 100%; max-width: 320px; }
  .segments { display: grid; width: 100%; }
  .segments button { padding-inline: 8px; }
  .programmes-tete { grid-template-columns: 1fr; }
  .programmes-compte { grid-row: auto; grid-column: 1; }
}

/* Apparition au défilement (classe posée par le script) */
.monte { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--courbe), transform 0.9s var(--courbe); }
.monte.vu { opacity: 1; transform: none; }

/* FAQ : ouverture en douceur (navigateurs récents) */
:root { interpolate-size: allow-keywords; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.5s var(--courbe), content-visibility 0.5s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
