/* ==========================================================
   MÉSOTÈS STUDIO — Feuille de style principale
   ----------------------------------------------------------
   Pour changer l'identité du site, modifie uniquement les
   variables ci-dessous (couleurs, polices, espacements).
   ========================================================== */

:root {
  /* — Couleurs de marque — */
  --or: #d8a945;            /* or principal (boutons, accents) */
  --or-clair: #f0c94b;      /* or lumineux (survols, reflets) */
  --or-sombre: #a87a26;     /* or profond (bordures, textes sur clair) */
  --noir: #0b0d10;          /* fond principal */
  --noir-2: #11131a;        /* fond des sections alternées */
  --noir-3: #191c25;        /* cartes sur fond noir */
  --ambre: #ffbe3d;          /* Élan : jaune néon / ambre chaud */
  --ambre-sombre: #b9761a;   /* Élan sur fond clair */
  --violet: #9b6bff;         /* Le Pacte : violet lumineux */
  --violet-sombre: #4b2a8a;  /* Le Pacte : violet profond */
  --violet-nuit: #140d24;    /* Le Pacte : fond nuit */
  --accent: var(--or);       /* couleur d'accent de la page (or par défaut) */
  --creme: #fbf8f2;         /* fond clair (univers Élan) */
  --sable: #efe5d3;         /* fond clair secondaire */
  --texte-clair: #f5f1e8;
  --texte-doux: rgba(245, 241, 232, .72);
  --texte-fonce: #17140f;
  --texte-fonce-doux: rgba(23, 20, 15, .68);
  --ligne-clair: rgba(255, 255, 255, .14);
  --ligne-fonce: rgba(23, 20, 15, .14);

  /* — Typographies — */
  --police-logo: "Cinzel", "Trajan Pro", Georgia, serif;
  --police-titre: "Cormorant Garamond", Georgia, serif;
  --police-texte: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* — Mise en page — */
  --largeur-max: 1200px;
  --marge: clamp(20px, 5vw, 64px);
  --section: clamp(80px, 12vw, 160px);
  --rayon: 10px;
  --header-h: 76px;
  --transition: .35s cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================
   BASE
   ========================================================== */

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

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

body {
  font-family: var(--police-texte);
  font-size: 17px;
  line-height: 1.65;
  background: var(--noir);
  color: var(--texte-clair);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.lien-evitement {
  position: absolute; left: 16px; top: -60px; z-index: 2000;
  background: var(--or); color: var(--noir); padding: 10px 16px; border-radius: 6px;
}
.lien-evitement:focus { top: 16px; }

.conteneur { width: 100%; max-width: var(--largeur-max); margin: 0 auto; padding: 0 var(--marge); }
.conteneur--etroit { max-width: 820px; }

/* ==========================================================
   TYPOGRAPHIE
   ========================================================== */

.surtitre {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--police-logo);
  font-size: 13px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase;
  color: var(--or);
  margin-bottom: 22px;
}
.surtitre::before { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }
.centre .surtitre::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .7; }

.titre-xl, .titre-l, .titre-m {
  font-family: var(--police-titre);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.01em;
}
.titre-xl { font-size: clamp(52px, 8vw, 104px); font-weight: 300; }
.titre-l  { font-size: clamp(40px, 5.4vw, 68px); }
.titre-m  { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; }

.titre-xl em, .titre-l em, .titre-m em {
  font-style: italic; color: var(--or);
}
.titre-xl em { display: block; }

.chapo { font-size: clamp(18px, 1.6vw, 21px); color: var(--texte-doux); max-width: 620px; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }

.separateur {
  width: min(320px, 70%); height: 1px; margin: 32px 0;
  background: linear-gradient(90deg, var(--or), transparent);
}
.centre .separateur { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--or), transparent); }

.disciplines {
  font-family: var(--police-logo); font-size: clamp(14px, 1.4vw, 17px);
  letter-spacing: .18em; text-transform: uppercase;
}
.disciplines span { color: var(--or); margin: 0 .5em; }

/* ==========================================================
   BOUTONS
   ========================================================== */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 30px;
  border-radius: var(--rayon);
  border: 1px solid transparent;
  font-family: var(--police-texte); font-size: 15px; font-weight: 600; letter-spacing: .04em;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--or { background: var(--or); color: var(--noir); }
.btn--or:hover { background: var(--or-clair); }

.btn--contour { border-color: rgba(255, 255, 255, .45); color: var(--texte-clair); }
.btn--contour:hover { border-color: var(--or); color: var(--or-clair); }

.btn--contour-fonce { border-color: rgba(23, 20, 15, .4); color: var(--texte-fonce); }
.btn--contour-fonce:hover { border-color: var(--or-sombre); color: var(--or-sombre); }

.btn--petit { min-height: 42px; padding: 10px 20px; font-size: 14px; }

.groupe-btn { display: flex; flex-wrap: wrap; gap: 16px; }
.centre .groupe-btn { justify-content: center; }

.lien-fleche {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 15px; letter-spacing: .04em; color: var(--or);
}
.lien-fleche::after { content: "→"; transition: transform var(--transition); }
.lien-fleche:hover::after { transform: translateX(5px); }

/* ==========================================================
   EN-TÊTE / NAVIGATION
   ========================================================== */

.entete {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header-h);
  background: linear-gradient(180deg, rgba(11,13,16,.7), rgba(11,13,16,0));
  transition: background var(--transition), box-shadow var(--transition);
}
.entete.est-defile,
.entete--plein {
  background: rgba(11, 13, 16, .86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--ligne-clair);
}
.entete__inner {
  height: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--marge);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.marque { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.marque img { height: 46px; width: auto; filter: drop-shadow(0 0 6px rgba(0,0,0,.6)); }
.marque__nom {
  font-family: var(--police-logo); font-weight: 600; font-size: 19px; letter-spacing: .2em; line-height: 1;
  color: var(--texte-clair);
}
.marque__nom small { display: block; font-size: 10px; letter-spacing: .5em; color: var(--or); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__liens { display: flex; gap: 30px; list-style: none; }
.nav__liens a {
  position: relative; font-size: 14px; letter-spacing: .06em; color: var(--texte-doux);
  padding: 6px 0; transition: color var(--transition);
}
.nav__liens a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav__liens a:hover, .nav__liens a[aria-current="page"] { color: var(--texte-clair); }
.nav__liens a:hover::after, .nav__liens a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__membre {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--texte-doux); transition: color var(--transition);
}
.nav__membre:hover { color: var(--or-clair); }
.nav__membre svg { width: 18px; height: 18px; }

.burger {
  display: none; width: 46px; height: 46px; border: 1px solid var(--ligne-clair); border-radius: 8px;
  background: transparent; color: var(--texte-clair); position: relative;
}
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; width: 20px; height: 1.5px; background: currentColor;
  transform: translateX(-50%); transition: transform var(--transition), opacity var(--transition);
}
.burger span { top: 50%; }
.burger span::before, .burger span::after { content: ""; left: 0; transform: none; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================
   HERO ACCUEIL — les deux univers
   ========================================================== */

.hero-duo {
  position: relative; min-height: 100vh; min-height: 100svh;
  background: var(--noir) url("../img/hero-split.jpg") center / cover no-repeat;
  overflow: hidden;
  display: flex;
}
.hero-duo__cote {
  position: relative; flex: 1 1 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  padding: calc(var(--header-h) + 56px) var(--marge) 72px;
  transition: flex var(--transition), background var(--transition);
  text-align: center;
}
.hero-duo__cote--elan {
  background: linear-gradient(180deg, rgba(251, 248, 242, .62), rgba(251, 248, 242, .12) 55%, rgba(251, 248, 242, .35));
  color: var(--texte-fonce);
}
.hero-duo__cote--pacte {
  background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .15) 55%, rgba(0, 0, 0, .55));
  color: var(--texte-clair);
}
@media (hover: hover) and (min-width: 1000px) {
  .hero-duo:has(.hero-duo__cote--elan:hover) .hero-duo__cote--elan,
  .hero-duo:has(.hero-duo__cote--pacte:hover) .hero-duo__cote--pacte { flex-basis: 58%; }
  .hero-duo:has(.hero-duo__cote--elan:hover) .hero-duo__cote--pacte { background-color: rgba(0,0,0,.25); }
}

.hero-duo__haut { display: flex; flex-direction: column; align-items: center; gap: 18px; }

.pastille {
  display: inline-block; padding: 9px 22px; border-radius: 999px;
  font-family: var(--police-logo); font-size: 13px; font-weight: 700; letter-spacing: .24em;
  border: 1px solid;
}
.pastille--or { background: var(--or); border-color: var(--or); color: var(--noir); }
.pastille--sombre { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.3); color: #fff; backdrop-filter: blur(6px); }

.hero-duo__accroche {
  font-family: var(--police-titre); font-style: italic; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2;
}
.hero-duo__cote .disciplines { font-size: 13px; opacity: .9; }
.hero-duo__cote--elan .disciplines span { color: var(--or-sombre); }

.hero-duo__btns { display: flex; flex-direction: column; gap: 12px; width: min(260px, 100%); }

.hero-duo__centre {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding-top: 40px;
}
.hero-duo__embleme { width: clamp(220px, 23vw, 340px); filter: drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 8px 30px rgba(0,0,0,.65)); }
.hero-duo__logo { width: clamp(150px, 16vw, 230px); filter: drop-shadow(0 0 2px rgba(0,0,0,.9)) drop-shadow(0 6px 24px rgba(0,0,0,.6)); }
.hero-duo__nom {
  font-family: var(--police-logo); font-weight: 600;
  font-size: clamp(44px, 6.4vw, 92px); letter-spacing: .14em; line-height: 1; margin-top: 18px;
  background: linear-gradient(180deg, #fbe6a6 0%, var(--or-clair) 35%, var(--or) 65%, var(--or-sombre) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.85)) drop-shadow(0 0 18px rgba(0,0,0,.55));
  padding-left: .14em;
}
.hero-duo__studio {
  display: flex; align-items: center; gap: 16px; margin-top: 10px;
  font-family: var(--police-logo); font-size: clamp(13px, 1.2vw, 16px); letter-spacing: .6em; color: var(--or-clair);
  text-shadow: 0 1px 6px rgba(0,0,0,.9);
}
.hero-duo__studio::before, .hero-duo__studio::after { content: ""; width: 48px; height: 1px; background: var(--or); }
.hero-duo__devise {
  margin-top: 14px; font-family: var(--police-logo); font-size: 12px; letter-spacing: .32em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.9);
}
.hero-duo__date {
  margin-top: 26px; padding: 8px 18px; border-radius: 999px;
  background: rgba(11, 13, 16, .55); backdrop-filter: blur(6px);
  border: 1px solid rgba(216, 169, 69, .45);
  font-size: 14px; letter-spacing: .12em; color: #fff;
}

.defiler {
  position: absolute; left: 50%; bottom: 22px; z-index: 4; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid rgba(255,255,255,.55); border-radius: 14px;
}
.defiler::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  border-radius: 2px; background: var(--or-clair); animation: defiler 2s infinite;
}
@keyframes defiler { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ==========================================================
   HERO DES PAGES UNIVERS
   ========================================================== */

.hero-page {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background-size: cover; background-position: center;
  overflow: hidden;
}
.hero-page::before { content: ""; position: absolute; inset: 0; }
.hero-page > .conteneur { position: relative; z-index: 2; }
.hero-page__contenu { max-width: 660px; }
.hero-page .chapo { color: rgba(255,255,255,.86); margin-bottom: 40px; }

.hero-page--elan { background-image: url("../img/hero-elan.jpg"); background-position: 70% center; }
.hero-page--elan::before {
  background: linear-gradient(90deg, rgba(18,15,10,.82) 0%, rgba(18,15,10,.5) 40%, rgba(18,15,10,0) 75%);
}

/* Le Pacte : composition en miroir (texte à gauche, image à droite) */
.hero-page--pacte { background: radial-gradient(ellipse at 75% 50%, #2a1d0e 0%, var(--noir) 60%); }
.hero-page--pacte::before {
  left: auto; width: 52%;
  background: linear-gradient(90deg, var(--noir) 0%, rgba(11,13,16,.2) 35%, rgba(11,13,16,0) 100%), url("../img/pacte-boxer.jpg") center 30% / cover no-repeat;
}
.hero-page--pacte .titre-xl em { color: var(--or-clair); }

.hero-page--simple {
  min-height: 62vh; min-height: 62svh;
  background: radial-gradient(ellipse at 50% 0%, #2a2013 0%, var(--noir) 65%);
}
.hero-page--teasing { background-image: url("../img/teasing.jpg"); }
.hero-page--teasing::before { background: linear-gradient(180deg, rgba(11,13,16,.75), rgba(11,13,16,.55) 50%, var(--noir)); }

/* ==========================================================
   SECTIONS
   ========================================================== */

.section { padding: var(--section) 0; position: relative; }
.section--alt { background: var(--noir-2); }
.section--clair { background: var(--creme); color: var(--texte-fonce); }
.section--clair .chapo, .section--clair p { color: var(--texte-fonce-doux); }
.section--clair .surtitre, .section--clair .titre-l em, .section--clair .titre-m em, .section--clair .titre-xl em { color: var(--or-sombre); }
.section--sable { background: var(--sable); color: var(--texte-fonce); }
.section--sable p { color: var(--texte-fonce-doux); }
.section--sable .surtitre, .section--sable em { color: var(--or-sombre); }

.entete-section { margin-bottom: clamp(48px, 6vw, 80px); }
.entete-section .titre-l { margin-bottom: 20px; }

/* — Manifeste — */
.manifeste { text-align: center; }
.manifeste__citation {
  font-family: var(--police-titre); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 3.6vw, 46px); line-height: 1.25; max-width: 900px; margin: 0 auto;
}
.manifeste__citation strong { font-weight: 500; font-style: normal; color: var(--or); }
.manifeste__texte { max-width: 640px; margin: 36px auto 0; color: var(--texte-doux); }
.manifeste__symbole { width: 64px; margin: 0 auto 32px; opacity: .9; }

/* — Cartes univers (accueil) — */
.univers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.carte-univers {
  position: relative; min-height: 620px; border-radius: 14px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(28px, 4vw, 48px);
  isolation: isolate;
}
.carte-univers img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.carte-univers::before { content: ""; position: absolute; inset: 0; z-index: -1; }
.carte-univers--elan::before { background: linear-gradient(180deg, rgba(30,22,10,0) 30%, rgba(30,22,10,.88) 100%); }
.carte-univers--pacte::before { background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,.92) 100%); }
.carte-univers:hover img { transform: scale(1.05); }
.carte-univers .pastille { align-self: flex-start; margin-bottom: 20px; }
.carte-univers .titre-m { margin-bottom: 12px; }
.carte-univers p { color: rgba(255,255,255,.8); margin-bottom: 24px; max-width: 440px; }
.carte-univers .disciplines { font-size: 12px; margin-bottom: 24px; color: #fff; }

/* — Grille de piliers / disciplines — */
.grille { display: grid; gap: 24px; }
.grille--3 { grid-template-columns: repeat(3, 1fr); }
.grille--4 { grid-template-columns: repeat(4, 1fr); }
.grille--2 { grid-template-columns: repeat(2, 1fr); }

.pilier {
  padding: 36px 30px; border-radius: 12px;
  background: var(--noir-3); border: 1px solid var(--ligne-clair);
  transition: border-color var(--transition), transform var(--transition);
}
.pilier:hover { border-color: rgba(216,169,69,.5); transform: translateY(-4px); }
.pilier__num {
  font-family: var(--police-logo); font-size: 13px; letter-spacing: .2em; color: var(--or); margin-bottom: 22px; display: block;
}
.pilier__icone { display: block; width: 40px; height: 40px; color: var(--or); margin-bottom: 22px; }
.pilier__icone svg { width: 100%; height: 100%; }
.pilier h3 { font-family: var(--police-titre); font-weight: 500; font-size: 28px; line-height: 1.15; margin-bottom: 12px; }
.pilier p { color: var(--texte-doux); font-size: 16px; }

.section--clair .pilier, .section--sable .pilier { background: #fff; border-color: var(--ligne-fonce); }
.section--clair .pilier:hover, .section--sable .pilier:hover { border-color: var(--or); }
.section--clair .pilier__num, .section--clair .pilier__icone,
.section--sable .pilier__num, .section--sable .pilier__icone { color: var(--or-sombre); }
.section--clair .pilier p, .section--sable .pilier p { color: var(--texte-fonce-doux); }

/* — Bloc image + texte — */
.duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center;
}
.duo--inverse .duo__media { order: 2; }
.duo__media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.duo__media img { width: 100%; height: 100%; object-fit: cover; }
.duo__media::after {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(240,201,75,.35); border-radius: 8px; pointer-events: none;
}
.duo__texte .titre-l { margin-bottom: 24px; }
.duo__texte p + p { margin-top: 16px; }
.duo__texte .groupe-btn { margin-top: 36px; }

.liste-points { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.liste-points li { display: flex; gap: 14px; align-items: baseline; }
.liste-points li::before { content: "✦"; color: var(--or); font-size: 13px; flex-shrink: 0; }
.section--clair .liste-points li::before { color: var(--or-sombre); }

/* — Déroulé de séance — */
.deroule { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: etape; position: relative; }
.deroule::before {
  content: ""; position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--or), var(--or), transparent); opacity: .6;
}
.deroule li { text-align: center; padding: 0 16px; counter-increment: etape; position: relative; }
.deroule li::before {
  content: counter(etape, upper-roman);
  display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 22px; border-radius: 50%;
  border: 1px solid var(--or); background: var(--noir-2);
  font-family: var(--police-logo); font-size: 14px; color: var(--or);
}
.section--clair .deroule li::before { background: var(--creme); color: var(--or-sombre); border-color: var(--or-sombre); }
.deroule h3 { font-family: var(--police-titre); font-weight: 500; font-size: 24px; margin-bottom: 8px; }
.deroule p { font-size: 15px; color: var(--texte-doux); }
.deroule small { display: block; font-family: var(--police-logo); letter-spacing: .14em; color: var(--or); font-size: 12px; margin-bottom: 6px; }
.section--clair .deroule small { color: var(--or-sombre); }
.section--clair .deroule p { color: var(--texte-fonce-doux); }

/* — Bandeau d'appel (teasing) — */
.bandeau {
  position: relative; padding: clamp(100px, 14vw, 180px) 0; text-align: center;
  background: var(--noir) url("../img/teasing.jpg") center / cover no-repeat;
  background-attachment: fixed;
}
.bandeau::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,13,16,.55), rgba(11,13,16,.88)); }
.bandeau > .conteneur { position: relative; }
.bandeau .groupe-btn { justify-content: center; }
.bandeau .titre-l { margin-bottom: 20px; }
.bandeau .chapo { margin: 0 auto 40px; color: rgba(255,255,255,.82); }

/* — Feuille de route (bientôt) — */
.feuille-route { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.etape-route {
  padding: 32px 28px; border-radius: 12px; border: 1px dashed rgba(216,169,69,.45);
  background: linear-gradient(180deg, rgba(216,169,69,.06), transparent);
}
.etape-route__statut {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--or); border: 1px solid rgba(216,169,69,.5); border-radius: 999px; padding: 4px 12px; margin-bottom: 18px;
}
.etape-route h3 { font-family: var(--police-titre); font-weight: 500; font-size: 26px; margin-bottom: 8px; }
.etape-route p { color: var(--texte-doux); font-size: 16px; }

/* ==========================================================
   OFFRES
   ========================================================== */

.offres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offre {
  position: relative; display: flex; flex-direction: column;
  padding: 40px 32px; border-radius: 14px; background: var(--noir-3); border: 1px solid var(--ligne-clair);
}
.offre--vedette {
  border-color: var(--or);
  background: linear-gradient(180deg, rgba(216,169,69,.14), var(--noir-3) 45%);
  box-shadow: 0 30px 80px -40px rgba(216,169,69,.45);
}
.offre__badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--or); color: var(--noir); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; white-space: nowrap;
}
.offre__univers { font-family: var(--police-logo); font-size: 12px; letter-spacing: .24em; color: var(--or); margin-bottom: 10px; }
.offre h3 { font-family: var(--police-titre); font-weight: 500; font-size: 34px; line-height: 1.1; margin-bottom: 14px; }
.offre__desc { color: var(--texte-doux); font-size: 16px; margin-bottom: 26px; }
.offre__prix {
  font-family: var(--police-titre); font-size: 40px; line-height: 1; margin-bottom: 4px;
}
.offre__prix--attente { font-style: italic; color: var(--or-clair); }
.offre__prix small { font-family: var(--police-texte); font-size: 14px; color: var(--texte-doux); }
.offre__note { font-size: 13px; color: var(--or); margin-bottom: 26px; }
.offre ul { list-style: none; display: grid; gap: 10px; margin-bottom: 32px; font-size: 15px; }
.offre li { display: flex; gap: 12px; color: var(--texte-doux); }
.offre li::before { content: "✓"; color: var(--or); }
.offre .btn { margin-top: auto; }

.offres-secondaires { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 24px; }
.offre-ligne {
  display: flex; flex-direction: column; gap: 6px; padding: 26px 28px; border-radius: 12px;
  border: 1px solid var(--ligne-clair);
}
.offre-ligne h3 { font-family: var(--police-titre); font-weight: 500; font-size: 24px; }
.offre-ligne p { color: var(--texte-doux); font-size: 15px; }
.offre-ligne strong { color: var(--or); font-weight: 600; font-size: 15px; }

/* — FAQ — */
.faq { display: grid; gap: 12px; }
.faq details {
  border: 1px solid var(--ligne-clair); border-radius: 12px; background: var(--noir-3);
  transition: border-color var(--transition);
}
.faq details[open] { border-color: rgba(216,169,69,.5); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 26px; padding-right: 60px; position: relative;
  font-family: var(--police-titre); font-size: 22px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-family: var(--police-texte); font-size: 24px; color: var(--or); transition: transform var(--transition);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 26px 24px; color: var(--texte-doux); }

/* ==========================================================
   FORMULAIRES
   ========================================================== */

.carte-form {
  padding: clamp(28px, 5vw, 56px); border-radius: 16px;
  background: rgba(17, 19, 26, .85); border: 1px solid var(--ligne-clair);
  backdrop-filter: blur(10px);
}
.form { display: grid; gap: 22px; }
.form__ligne { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.champ { display: grid; gap: 8px; }
.champ label, .champ legend { font-size: 14px; font-weight: 600; letter-spacing: .03em; color: var(--texte-clair); }
.champ input, .champ textarea, .champ select {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 8px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.18); color: var(--texte-clair);
  font: inherit; font-size: 16px; transition: border-color var(--transition), background var(--transition);
}
.champ textarea { min-height: 120px; resize: vertical; }
.champ input:focus, .champ textarea:focus { outline: none; border-color: var(--or); background: rgba(255,255,255,.07); }
.champ input::placeholder, .champ textarea::placeholder { color: rgba(255,255,255,.35); }

fieldset.champ { border: 0; }
.choix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.choix input { position: absolute; opacity: 0; pointer-events: none; }
.choix label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center;
  min-height: 84px; padding: 14px; border-radius: 10px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.18); transition: border-color var(--transition), background var(--transition);
}
.choix label strong { font-family: var(--police-logo); letter-spacing: .14em; font-size: 14px; }
.choix label span { font-size: 12px; font-weight: 400; color: var(--texte-doux); letter-spacing: 0; }
.choix input:checked + label { border-color: var(--or); background: rgba(216,169,69,.12); }
.choix input:focus-visible + label { outline: 2px solid var(--or-clair); outline-offset: 2px; }

.case { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--texte-doux); }
.case input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--or); flex-shrink: 0; }

.form__message {
  display: none; padding: 16px 18px; border-radius: 8px; font-size: 15px;
  background: rgba(216,169,69,.12); border: 1px solid rgba(216,169,69,.5);
}
.form__message.est-visible { display: block; }
.mention { font-size: 13px; color: var(--texte-doux); }

/* ==========================================================
   ESPACE MEMBRE (aperçu)
   ========================================================== */

.apercu-membre { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.apercu-membre .pilier { text-align: left; }

/* ==========================================================
   PIED DE PAGE
   ========================================================== */

.pied { background: #07080a; border-top: 1px solid var(--ligne-clair); padding: 80px 0 32px; font-size: 15px; }
.pied__grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 64px; }
.pied__marque img { width: 72px; margin-bottom: 18px; }
.pied__marque p { color: var(--texte-doux); max-width: 300px; margin-top: 14px; }
.pied h4 {
  font-family: var(--police-logo); font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase;
  color: var(--or); margin-bottom: 18px;
}
.pied ul { list-style: none; display: grid; gap: 10px; }
.pied ul a { color: var(--texte-doux); transition: color var(--transition); }
.pied ul a:hover { color: var(--or-clair); }
.pied__bas {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  padding-top: 28px; border-top: 1px solid var(--ligne-clair); font-size: 13px; color: var(--texte-doux);
}

/* ==========================================================
   ANIMATIONS D'APPARITION
   ========================================================== */

.apparition { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1); }
.apparition.est-visible { opacity: 1; transform: none; }
.apparition--delai-1 { transition-delay: .12s; }
.apparition--delai-2 { transition-delay: .24s; }
.apparition--delai-3 { transition-delay: .36s; }
.no-js .apparition { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .apparition { opacity: 1; transform: none; }
  .bandeau { background-attachment: scroll; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 1100px) {
  .grille--4, .apercu-membre { grid-template-columns: repeat(2, 1fr); }
  .pied__grille { grid-template-columns: 1fr 1fr; }
  .nav__liens { gap: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .burger { display: block; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 999;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    padding: 40px var(--marge); background: rgba(11,13,16,.98);
    transform: translateX(100%); visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    overflow-y: auto;
  }
  .nav.est-ouvert { transform: none; visibility: visible; }
  .nav__liens { flex-direction: column; gap: 0; }
  .nav__liens a {
    display: block; padding: 18px 0; border-bottom: 1px solid var(--ligne-clair);
    font-family: var(--police-titre); font-size: 30px; color: var(--texte-clair); letter-spacing: 0;
  }
  .nav__liens a::after { display: none; }
  .nav__liens a[aria-current="page"] { color: var(--or); }
  .nav__actions { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav__actions .btn { width: 100%; }
  .nav__membre { justify-content: center; padding: 12px; border: 1px solid var(--ligne-clair); border-radius: var(--rayon); }
  body.menu-ouvert { overflow: hidden; }
  .entete:has(.nav.est-ouvert) { background: rgba(11,13,16,.98); }

  /* Hero accueil empilé */
  .hero-duo { flex-direction: column; background-image: none; }
  .hero-duo__centre {
    position: relative; inset: auto; order: -1; pointer-events: auto;
    padding: calc(var(--header-h) + 48px) var(--marge) 56px;
    background: radial-gradient(ellipse at 50% 30%, #2a2013 0%, var(--noir) 70%);
  }
  .hero-duo__cote { min-height: 70svh; padding: 56px var(--marge); justify-content: flex-end; gap: 32px; }
  .hero-duo__cote--elan {
    background: linear-gradient(180deg, rgba(251,248,242,.15), rgba(251,248,242,.8)), url("../img/elan-yoga.jpg") center 30% / cover;
  }
  .hero-duo__cote--pacte {
    background: linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.85)), url("../img/pacte-boxer.jpg") center 30% / cover;
  }
  .defiler { display: none; }

  .hero-page--elan::before { background: linear-gradient(180deg, rgba(18,15,10,.35) 0%, rgba(18,15,10,.85) 75%); }
  .hero-page--elan { align-items: flex-end; }
  .hero-page--pacte { align-items: flex-end; }
  .hero-page--pacte::before {
    width: 100%;
    background: linear-gradient(180deg, rgba(11,13,16,.2) 0%, rgba(11,13,16,.92) 70%), url("../img/pacte-boxer.jpg") center 20% / cover no-repeat;
  }

  .univers, .duo, .grille--3, .feuille-route, .offres, .offres-secondaires { grid-template-columns: 1fr; }
  .carte-univers { min-height: 520px; }
  .duo--inverse .duo__media { order: 0; }
  .duo__media { aspect-ratio: 4 / 3; }

  .deroule { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .deroule::before { display: none; }

  .offre--vedette { order: -1; }
  .bandeau { background-attachment: scroll; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .marque__nom { font-size: 16px; }
  .marque img { height: 38px; }
  .grille--4, .grille--2, .apercu-membre, .deroule, .form__ligne, .pied__grille { grid-template-columns: 1fr; }
  .choix { grid-template-columns: 1fr; }
  .choix label { min-height: 64px; }
  .groupe-btn .btn { width: 100%; }
  .hero-duo__studio { letter-spacing: .4em; }
  .disciplines span { margin: 0 .25em; }
}


/* ==========================================================
   COULEURS DES UNIVERS
   L'or reste la couleur commune (boutons, logo).
   Élan = ambre / jaune néon · Le Pacte = violet.
   ========================================================== */

.theme-elan  { --accent: var(--ambre); }
.theme-pacte { --accent: var(--violet); }

.theme-elan .surtitre, .theme-pacte .surtitre,
.theme-elan .titre-xl em, .theme-pacte .titre-xl em,
.theme-elan .titre-l em,  .theme-pacte .titre-l em,
.theme-elan .disciplines span, .theme-pacte .disciplines span,
.theme-elan .pilier__num, .theme-pacte .pilier__num,
.theme-elan .deroule small, .theme-pacte .deroule small { color: var(--accent); }
.theme-elan .separateur, .theme-pacte .separateur { background: linear-gradient(90deg, var(--accent), transparent); }
.theme-elan .liste-points li::before, .theme-pacte .liste-points li::before { color: var(--accent); }
.theme-elan .deroule li::before, .theme-pacte .deroule li::before { color: var(--accent); border-color: var(--accent); }
.theme-elan .deroule::before, .theme-pacte .deroule::before { background: linear-gradient(90deg, transparent, var(--accent), var(--accent), transparent); }
.theme-pacte .pilier:hover { border-color: rgba(155,107,255,.6); }
.theme-pacte .duo__media::after { border-color: rgba(155,107,255,.45); }

/* Élan sur fond clair : ambre plus profond pour rester lisible */
.theme-elan .section--clair, .theme-elan .section--sable { --accent: var(--ambre-sombre); }
.theme-elan .section--clair .surtitre, .theme-elan .section--sable .surtitre,
.theme-elan .section--clair em, .theme-elan .section--sable em,
.theme-elan .section--clair .pilier__num, .theme-elan .section--sable .pilier__num { color: var(--ambre-sombre); }
.theme-elan .pastille--or { background: var(--ambre); border-color: var(--ambre); }

/* Le Pacte : fonds nuit violette */
.theme-pacte .section--alt { background: linear-gradient(180deg, var(--violet-nuit), #0e0b17); }
.theme-pacte .pilier { background: rgba(155,107,255,.05); border-color: rgba(155,107,255,.18); }
.theme-pacte .pastille--sombre, .pastille--violet { background: rgba(155,107,255,.16); border-color: rgba(155,107,255,.6); color: #fff; }
.hero-page--pacte { background: radial-gradient(ellipse at 75% 50%, #2b1856 0%, var(--noir) 62%); }
.hero-page--pacte::before {
  background: linear-gradient(90deg, var(--noir) 0%, rgba(11,13,16,.15) 35%, rgba(11,13,16,0) 100%), url("../img/pacte-loups.jpg") center 40% / cover no-repeat;
}
.theme-pacte .bandeau::before { background: radial-gradient(ellipse at center, rgba(20,13,36,.6), rgba(11,13,16,.9)); }

/* Accueil : chaque moitié garde sa couleur */
.hero-duo__cote--pacte .pastille--sombre { background: rgba(155,107,255,.18); border-color: rgba(155,107,255,.65); }
.hero-duo__cote--pacte { background: linear-gradient(180deg, rgba(20,8,40,.62), rgba(30,12,60,.18) 55%, rgba(10,4,20,.62)); }
.hero-duo__cote--elan .pastille--or { background: var(--ambre); border-color: var(--ambre); }
.carte-univers--pacte::before { background: linear-gradient(180deg, rgba(30,12,60,0) 25%, rgba(20,8,40,.94) 100%); }
.carte-univers--pacte .pastille--sombre { background: rgba(155,107,255,.2); border-color: rgba(155,107,255,.7); }
.carte-univers--pacte .lien-fleche { color: var(--violet); }
.carte-univers--elan .pastille--or { background: var(--ambre); border-color: var(--ambre); }
.carte-univers--elan .lien-fleche { color: var(--ambre); }
.offre__univers--pacte { color: var(--violet) !important; }
.offre__univers--elan { color: var(--ambre) !important; }

@media (max-width: 960px) {
  .hero-page--pacte::before {
    background: linear-gradient(180deg, rgba(11,13,16,.15) 0%, rgba(11,13,16,.92) 72%), url("../img/pacte-loups.jpg") center 30% / cover no-repeat;
  }
  .hero-duo__cote--pacte {
    background: linear-gradient(180deg, rgba(20,8,40,.15), rgba(14,6,28,.9)), url("../img/pacte-boxer.jpg") center 30% / cover;
  }
  .hero-duo__embleme { width: min(260px, 70vw); }
}

/* ==========================================================
   L'HISTOIRE — les trois symboles (page Le projet)
   ========================================================== */

.symbole {
  --accent: var(--or);
  display: flex; flex-direction: column;
  padding: 18px 18px 32px; border-radius: 14px;
  background: var(--noir-3); border: 1px solid var(--ligne-clair);
  transition: border-color var(--transition), transform var(--transition);
}
.symbole:hover { transform: translateY(-4px); border-color: var(--accent); }
.symbole--elan  { --accent: var(--ambre); }
.symbole--pacte { --accent: var(--violet); }
.symbole__media { aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; margin-bottom: 24px; background: #000; }
.symbole__media img { width: 100%; height: 100%; object-fit: cover; }
.symbole__media--logo { position: relative; background: radial-gradient(circle, #2a2013 0%, #000 70%); }
.symbole__media--logo img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; }
.symbole__lieu {
  font-family: var(--police-logo); font-size: 11px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--texte-doux); padding: 0 12px;
}
.symbole h3 { font-family: var(--police-titre); font-weight: 500; font-size: 32px; line-height: 1.1; margin: 8px 0 4px; padding: 0 12px; }
.symbole__univers { font-family: var(--police-logo); font-size: 13px; letter-spacing: .2em; color: var(--accent); margin-bottom: 14px; padding: 0 12px; }
.symbole p:last-child { color: var(--texte-doux); font-size: 16px; padding: 0 12px; }

/* ==========================================================
   ÉTUDE DE MARCHÉ (participer.html, resultats.html)
   ========================================================== */

.hero-page--court { min-height: auto; padding-bottom: 40px; }
.hero-page--court .chapo { margin-bottom: 28px; }
.etude__reperes { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 14px; color: var(--texte-doux); }
.etude__reperes strong { color: var(--or-clair); font-weight: 600; }

.section--etude { padding-top: 24px; }
.etude { scroll-margin-top: calc(var(--header-h) + 16px); }

.etude__haut { display: grid; gap: 10px; margin-bottom: 28px; }
.etude__etape { font-family: var(--police-logo); font-size: 12px; letter-spacing: .24em; color: var(--or); }
.etude__progression { height: 3px; background: var(--ligne-clair); border-radius: 3px; overflow: hidden; }
.etude__barre { height: 100%; background: linear-gradient(90deg, var(--ambre), var(--or), var(--violet)); transition: width .5s ease; }
.etude__titre { margin-bottom: 10px; outline: none; }
.etude__intro { color: var(--texte-doux); margin-bottom: 32px; }

.etude__concept { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: -8px 0 36px; }
.etude__univers { display: grid; gap: 6px; padding: 20px; border-radius: 12px; font-size: 15px; color: var(--texte-doux); }
.etude__univers strong { font-family: var(--police-logo); letter-spacing: .2em; font-size: 14px; }
.etude__univers--elan { background: linear-gradient(135deg, rgba(255,190,61,.16), rgba(255,190,61,.03)); border: 1px solid rgba(255,190,61,.4); }
.etude__univers--elan strong { color: var(--ambre); }
.etude__univers--pacte { background: linear-gradient(135deg, rgba(155,107,255,.2), rgba(155,107,255,.03)); border: 1px solid rgba(155,107,255,.45); }
.etude__univers--pacte strong { color: var(--violet); }

.etude__form { display: grid; gap: 34px; }
.q { border: 0; display: grid; gap: 12px; --accent: var(--or); --accent-fond: rgba(216,169,69,.14); }
.q[hidden] { display: none; }
.q--elan { --accent: var(--ambre); --accent-fond: rgba(255,190,61,.14); }
.q--pacte { --accent: var(--violet); --accent-fond: rgba(155,107,255,.16); }
.q__label { font-size: 17px; font-weight: 600; line-height: 1.4; color: var(--texte-clair); padding: 0; }
.q__oblig { color: var(--accent); }
.q__aide { font-size: 13px; color: var(--texte-doux); margin-top: -6px; }
.q__erreur { font-size: 14px; color: #ff9b8a; min-height: 0; }
.q__erreur:empty { display: none; }
.q--erreur .q__choix label, .q--erreur .q__echelle label, .q--erreur .q__nombre input { border-color: rgba(255,155,138,.6); }

.q__choix { display: flex; flex-wrap: wrap; gap: 10px; }
.q__choix input, .q__echelle input, .q__grille-choix input { position: absolute; opacity: 0; pointer-events: none; }
.q__choix label {
  padding: 11px 16px; border-radius: 999px; cursor: pointer; font-size: 15px; line-height: 1.3;
  border: 1px solid rgba(255,255,255,.2); transition: border-color var(--transition), background var(--transition), color var(--transition);
}
.q__choix label:hover { border-color: var(--accent); }
.q__choix input:checked + label { border-color: var(--accent); background: var(--accent-fond); color: #fff; }
.q__choix input[type="checkbox"]:checked + label::before { content: "✓ "; color: var(--accent); }
.q__choix input:focus-visible + label, .q__echelle input:focus-visible + label, .q__grille-choix input:focus-visible + label { outline: 2px solid var(--or-clair); outline-offset: 2px; }

.q__echelle { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 6px; }
.q__echelle label {
  display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 8px; cursor: pointer;
  border: 1px solid rgba(255,255,255,.2); font-weight: 600; transition: border-color var(--transition), background var(--transition);
}
.q__echelle label:hover { border-color: var(--accent); }
.q__echelle input:checked + label { background: var(--accent); border-color: var(--accent); color: var(--noir); }
.q__bornes { display: flex; justify-content: space-between; font-size: 12px; color: var(--texte-doux); margin-top: -4px; }

.q__nombre { display: flex; align-items: center; gap: 12px; }
.q__nombre input {
  width: 140px; min-height: 52px; padding: 12px 16px; border-radius: 8px; font: inherit; font-size: 20px; font-weight: 600;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.2); color: var(--texte-clair);
}
.q__nombre input:focus { outline: none; border-color: var(--accent); }
.q__nombre span { color: var(--texte-doux); }

.q__grille { display: grid; gap: 12px; }
.q__grille-ligne { display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; align-items: center; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.03); border: 1px solid var(--ligne-clair); }
.q__grille-ligne p { font-size: 15px; }
.q__grille-choix { display: flex; gap: 6px; }
.q__grille-choix label { padding: 8px 12px; border-radius: 8px; font-size: 13px; cursor: pointer; border: 1px solid rgba(255,255,255,.2); white-space: nowrap; }
.q__grille-choix input:checked + label.ton-trop-cher { background: rgba(255,140,120,.18); border-color: #ff8c78; }
.q__grille-choix input:checked + label.ton-correct { background: rgba(216,169,69,.18); border-color: var(--or); }
.q__grille-choix input:checked + label.ton-bonne-affaire { background: rgba(120,220,160,.16); border-color: #78dca0; }

.etude__contact { display: grid; gap: 18px; padding-top: 28px; border-top: 1px solid var(--ligne-clair); }
.etude__nav { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; }
.etude__test { text-align: center; color: var(--or); }

.etude__merci { text-align: center; display: grid; justify-items: center; gap: 20px; padding: 20px 0; }
.etude__merci img { width: 72px; }
.etude__merci h2 { outline: none; }
.etude__merci p { color: var(--texte-doux); max-width: 520px; }

.etude__rgpd { margin-top: 24px; font-size: 14px; color: var(--texte-doux); }
.etude__rgpd summary { cursor: pointer; color: var(--texte-clair); }
.etude__rgpd p { margin-top: 10px; }
.etude__rgpd a { color: var(--or-clair); text-decoration: underline; }

@media (max-width: 600px) {
  .etude__concept { grid-template-columns: 1fr; }
  .q__echelle { gap: 4px; }
  .q__echelle label { min-height: 44px; font-size: 14px; }
  .q__grille-ligne { grid-template-columns: 1fr; }
  .q__grille-choix label { flex: 1; text-align: center; padding: 10px 6px; }
  .etude__nav .btn { flex: 1; }
}
@media (max-width: 600px) { .q__echelle[style*="--n:11"] { grid-template-columns: repeat(6, 1fr); } }

/* — Page Résultats (privée) — */
.res { padding: calc(var(--header-h) + 40px) 0 80px; }
.res__barre-outils { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin: 24px 0 40px; }
.res__chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 48px; }
.res__chiffre { padding: 22px; border-radius: 12px; background: var(--noir-3); border: 1px solid var(--ligne-clair); }
.res__chiffre strong { display: block; font-family: var(--police-titre); font-size: 44px; font-weight: 500; line-height: 1; color: var(--or-clair); margin-bottom: 8px; }
.res__chiffre span { font-size: 14px; color: var(--texte-doux); }
.res__etape { margin: 48px 0 18px; font-family: var(--police-logo); font-size: 13px; letter-spacing: .24em; color: var(--or); }
.res__q { padding: 22px; border-radius: 12px; background: var(--noir-2); border: 1px solid var(--ligne-clair); margin-bottom: 14px; }
.res__q h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.res__q .mention { margin-bottom: 14px; }
.res__ligne { display: grid; grid-template-columns: minmax(140px, 38%) 1fr 64px; gap: 12px; align-items: center; font-size: 14px; padding: 4px 0; }
.res__piste { height: 10px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.res__plein { height: 100%; background: var(--or); border-radius: 5px; }
.res__val { text-align: right; color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.res__textes { display: grid; gap: 8px; max-height: 320px; overflow: auto; font-size: 14px; color: var(--texte-doux); }
.res__textes p { padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.03); }
.res__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.res__table th, .res__table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--ligne-clair); }
.res__table th { color: var(--or); font-weight: 600; }
.res__defile { overflow-x: auto; }
@media (max-width: 960px) { .res__chiffres { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .res__ligne { grid-template-columns: 1fr 52px; } .res__ligne .res__piste { grid-column: 1 / -1; grid-row: 2; } }
.etude__nav .btn--contour { background: transparent; }
.res__groupe { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.res__groupe .res__q { margin-bottom: 0; }
@media (max-width: 960px) { .res__groupe { grid-template-columns: 1fr; } }
button.btn--contour, button.btn--contour-fonce { background: transparent; }
.res__ligne { grid-template-columns: minmax(140px, 38%) 1fr 84px; }
.res__val { white-space: nowrap; }
.etude { scroll-margin-top: calc(var(--header-h) + 24px); }
@media (max-width: 600px) { .res__ligne { grid-template-columns: 1fr 84px; } }

/* — Correctif Safari : un titre de groupe (legend) dans un bloc en grille
     se replie sur plusieurs lignes. On repasse ces blocs en affichage simple. — */
fieldset.champ, .q { display: block; min-width: 0; }
fieldset.champ > legend, .q > legend { display: block; width: 100%; float: none; }
fieldset.champ > legend { margin-bottom: 8px; }
.q > * + * { margin-top: 12px; }
.q > .q__aide { margin-top: 2px; }
.q > .q__bornes { margin-top: 6px; }


/* ==========================================================
   PAGES LÉGALES (mentions légales, confidentialité)
   ========================================================== */
.section--legal { padding-top: 24px; }
.legal { color: var(--texte-doux); font-size: 17px; line-height: 1.7; }
.legal h2 { color: var(--texte-clair); margin: 48px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal p + p, .legal ul + p, .legal p + ul { margin-top: 12px; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 8px; }
.legal strong { color: var(--texte-clair); font-weight: 600; }
.legal a { color: var(--or-clair); text-decoration: underline; }
.legal .mention { margin-top: 48px; font-size: 14px; }
.legal .a-completer { color: var(--or); }
.etude__mineur { color: var(--texte-doux); }
