:root {
  color-scheme: dark;
  --fond: #050505;
  --surface: #101010;
  --surface-2: #181818;
  --trait: #262626;
  --encre: #F4F4F2;
  --doux: #92928E;
  --marque: #E4572E;
  --e: cubic-bezier(.2, .8, .16, 1);
  --marge: clamp(1rem, 4vw, 3.5rem);
  --rythme: clamp(5rem, 11vw, 9rem);
  --haut: 66px;
  --r: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--fond); overflow-x: clip; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fond); color: var(--encre); font-family: "Archivo", "Arial Narrow", Arial, sans-serif; font-size: clamp(1rem, .96rem + .2vw, 1.12rem); line-height: 1.5; letter-spacing: -.012em; overflow-x: clip; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--encre); outline-offset: 3px; }
::selection { background: var(--encre); color: var(--fond); }
[hidden] { display: none !important; }

.evitement { position: fixed; left: var(--marge); top: -4rem; z-index: 130; background: var(--encre); color: var(--fond); padding: .5rem 1rem; border-radius: 999px; }
.evitement:focus { top: .5rem; }

/* Voile d'entrée : disparaît seul, même si le script ne se charge pas. */
.voile { position: fixed; inset: 0; z-index: 120; background: var(--encre); pointer-events: none; animation: voile 1ms linear 1500ms forwards; }
html.intro .voile { background: var(--fond); animation-delay: 300ms; }
html.pret .voile { display: none; }
@keyframes voile { to { visibility: hidden; } }
.pixels { position: fixed; inset: 0; z-index: 121; display: none; pointer-events: none; }

/* Curseur */
.curseur { position: fixed; left: 0; top: 0; z-index: 125; width: 34px; height: 34px; margin: -17px 0 0 -17px; border: 1px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; transition: width 200ms var(--e), height 200ms var(--e), margin 200ms var(--e), background-color 200ms; }
.curseur.sur { width: 70px; height: 70px; margin: -35px 0 0 -35px; background: #fff; }

/* Boutons pilules */
.pilule { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.15rem; border: 1px solid #3a3a3a; border-radius: 999px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color 180ms, color 180ms, border-color 180ms; will-change: transform; }
.pilule:hover { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.pilule.pleine { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.pilule.pleine:hover { background: transparent; color: var(--encre); }
.pilule[aria-pressed="true"] { background: var(--encre); color: var(--fond); border-color: var(--encre); }

/* Bandeau et en-tête */
.bandeau { display: flex; justify-content: center; align-items: center; gap: .75rem; flex-wrap: wrap; padding: .5rem var(--marge); font-size: .88rem; border-bottom: 1px solid var(--trait); }
.bandeau b { background: var(--marque); color: var(--fond); padding: .08rem .5rem; border-radius: 6px; font-weight: 700; }
.bandeau span { color: var(--doux); }
.bandeau a { padding: .15rem .75rem; background: var(--encre); color: var(--fond); border-radius: 999px; text-decoration: none; font-weight: 600; }
.entete { position: sticky; top: 0; z-index: 60; height: var(--haut); display: flex; align-items: center; gap: 2rem; padding-inline: var(--marge); background: var(--fond); border-bottom: 1px solid var(--trait); }
html.intro .bandeau, html.intro .entete { opacity: 0; animation: arrive 1ms linear 2600ms forwards; }
@keyframes arrive { to { opacity: 1; } }
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -.045em; text-decoration: none; margin-right: 1rem; }
.navigation ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(1rem, 2vw, 1.9rem); }
.navigation a { position: relative; display: block; padding: .3rem 0; color: var(--doux); font-weight: 500; font-size: .95rem; text-decoration: none; transition: color 160ms; }
.navigation a:hover, .navigation a[aria-current] { color: var(--encre); }
.navigation a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--encre); transform: scaleX(0); transform-origin: left; transition: transform 240ms var(--e); }
.navigation a:hover::after, .navigation a[aria-current]::after { transform: none; }
.entete-droite { margin-left: auto; display: flex; gap: .5rem; align-items: center; }
.bouton-menu { display: none; }
@media (max-width: 1040px) {
  .bouton-menu { display: inline-flex; }
  .entete-droite .cache-mobile { display: none; }
  .navigation { position: fixed; inset: var(--haut) 0 0; background: var(--fond); padding: 1rem var(--marge); overflow-y: auto; clip-path: circle(0% at 100% 0); visibility: hidden; transition: clip-path 420ms var(--e), visibility 0ms 420ms; }
  .navigation.ouverte { clip-path: circle(150% at 100% 0); visibility: visible; transition: clip-path 420ms var(--e); }
  .navigation ul { flex-direction: column; gap: 0; }
  .navigation li { border-bottom: 1px solid var(--trait); }
  .navigation a { padding: .7rem 0; color: var(--encre); font-size: clamp(1.8rem, 8.5vw, 3.2rem); font-weight: 700; letter-spacing: -.045em; }
  .navigation a::after { display: none; }
}

/* Titres */
.tres-grand { font-weight: 700; letter-spacing: -.055em; line-height: .98; }
[data-code]:not(.vu) { opacity: 0; }
.calme [data-code] { opacity: 1; }

/* Reveals */
.m { position: relative; display: inline-block; }
.m::after { content: ""; position: absolute; inset: .1em -.05em .06em; background: var(--encre); transform-origin: right; transition: transform 300ms var(--e) calc(var(--i) * 26ms); }
.vu .m::after { transform: scaleX(0); }

[data-monte] > * { clip-path: inset(0 0 100% 0); transform: translateY(1rem); transition: clip-path 620ms var(--e) var(--depart, 0ms), transform 620ms var(--e) var(--depart, 0ms), background-color 180ms, color 180ms, border-color 180ms; }
[data-monte].vu > * { clip-path: inset(-1rem); transform: none; }

/* Balayage de scanner sur les médias */
.scan > .scan-in { position: absolute; inset: 0; clip-path: inset(0 0 100% 0); transition: clip-path 900ms var(--e); }
.scan.vu > .scan-in { clip-path: inset(0); }
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--encre); z-index: 2; opacity: 0; }
.scan.vu::after { animation: balayage 900ms var(--e); }
@keyframes balayage { 0% { top: 0; opacity: 1; } 95% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* Iris sur les vidéos */
.iris > .iris-in { position: absolute; inset: 0; clip-path: circle(0% at 50% 50%); transition: clip-path 850ms var(--e); }
.iris.vu > .iris-in { clip-path: circle(75% at 50% 50%); }

[data-trait] { position: relative; }
[data-trait]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--trait); transform: scaleX(0); transform-origin: left; transition: transform 800ms var(--e); }
[data-trait].vu::before { transform: none; }

.calme .m::after { transform: scaleX(0); }

/* Héros */
.heros { position: relative; min-height: calc(100svh - var(--haut)); padding: clamp(2rem, 6vh, 4.5rem) var(--marge) 0; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; }
.globe { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.heros-grille { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 6rem); max-width: 1320px; width: 100%; margin-inline: auto; }
.grand-titre { font-size: clamp(2.6rem, 1rem + 5.2vw, 5.6rem); }
.grand-titre .l { display: block; }
.accroche { max-width: 30rem; margin-top: 1.25rem; color: #C9C9C5; font-size: clamp(1.02rem, .95rem + .35vw, 1.2rem); line-height: 1.32; }
.recherche { position: relative; margin-top: 1.75rem; max-width: 33rem; }
.recherche form { display: flex; align-items: center; gap: .6rem; padding: .35rem .4rem .35rem .95rem; background: var(--surface); border: 1px solid #333; border-radius: 999px; transition: border-color 180ms; }
.recherche form:focus-within { border-color: var(--encre); }
.recherche input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: .45rem 0; }
.recherche input::placeholder { color: var(--doux); }
.recherche button { padding: .4rem 1rem; font-weight: 600; border-radius: 999px; transition: background-color 160ms, color 160ms; }
.recherche button:hover { background: var(--encre); color: var(--fond); }
.resultats { position: absolute; left: 0; right: 0; top: calc(100% + .5rem); z-index: 20; background: var(--surface); border: 1px solid #333; border-radius: var(--r); padding: .4rem; max-height: 19rem; overflow: auto; }
.resultats a { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .7rem; border-radius: 9px; text-decoration: none; }
.resultats a:hover, .resultats a:focus { background: var(--surface-2); }
.resultats small { color: var(--doux); white-space: nowrap; }
.resultats p { padding: .55rem .7rem; color: var(--doux); }
.compteur { align-self: start; padding-top: .3rem; }
.compteur-etat { display: inline-block; padding: .22rem .75rem; background: var(--surface); border: 1px solid #333; border-radius: 999px; font-size: .88rem; color: #C9C9C5; }
.compteur-nombre { font-size: clamp(3.2rem, 2rem + 4.2vw, 5.4rem); font-weight: 700; letter-spacing: -.055em; line-height: 1; margin-top: .8rem; font-variant-numeric: tabular-nums; }
.compteur p { color: #C9C9C5; margin-top: .4rem; max-width: 15rem; line-height: 1.3; }
.compteur-liste { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.compteur-liste li { padding: .22rem .7rem; border: 1px solid var(--trait); border-radius: 999px; font-size: .86rem; color: #C9C9C5; }
@media (max-width: 860px) { .heros-grille { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; } }

/* Arc d'objets, à la manière d'un sélecteur */
.arc { position: relative; flex: 1; min-height: 20rem; margin-top: 1rem; touch-action: pan-y; user-select: none; }
.arc-item { position: absolute; left: 50%; top: 42%; width: var(--tc, 10rem); text-decoration: none; will-change: transform; display: block; cursor: grab; }
.arc-item:active { cursor: grabbing; }
.arc-carte { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.arc-carte svg { width: clamp(4.5rem, 9vw, 7.5rem); height: auto; }
.arc-carte b { font-size: clamp(.95rem, .85rem + .4vw, 1.15rem); font-weight: 600; }
.arc-carte small { color: var(--doux); }
.arc-fleches { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); display: flex; gap: 2.5rem; z-index: 30; }
.arc-fleches button { font-size: 1.6rem; line-height: 1; color: var(--doux); padding: .3rem .7rem; transition: color 160ms; }
.arc-fleches button:hover { color: var(--encre); }

/* Portail : le zoom dans le trou du # */
.portail { position: relative; height: 480vh; }
.portail-scene { position: sticky; top: 0; height: 100vh; overflow: hidden; background: var(--fond); }
.portail-fond { position: absolute; inset: 0; display: flex; align-items: center; padding-inline: var(--marge); background: var(--surface); }
.portail-fond p { max-width: 62rem; margin-inline: auto; font-size: clamp(1.9rem, 1rem + 4vw, 4.8rem); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }
.portail-fond .marque { color: var(--marque); }
.portail-masque { position: absolute; left: 50%; top: 50%; width: min(70vmin, 620px); height: min(70vmin, 620px); margin: calc(min(70vmin, 620px) / -2) 0 0 calc(min(70vmin, 620px) / -2); overflow: visible; transform-origin: 50% 50%; will-change: transform; }
.portail-indice { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); color: var(--doux); font-size: .9rem; }
.calme .portail { height: auto; }
.calme .portail-scene { position: static; height: auto; }
.calme .portail-fond { position: static; padding-block: var(--rythme); }
.calme .portail-masque, .calme .portail-indice { display: none; }

/* Pile de panneaux */
.pile { padding: var(--rythme) var(--marge) 0; max-width: calc(1320px + 2 * var(--marge)); margin-inline: auto; }
.intertitre { font-size: .95rem; font-weight: 500; color: var(--doux); margin-bottom: 1.25rem; }
.panneau { position: sticky; top: calc(var(--haut) + var(--n) * 14px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; min-height: min(70vh, 34rem); padding: clamp(1.5rem, 4vw, 3.25rem); margin-bottom: 2rem; background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); text-decoration: none; transform-origin: 50% 0; will-change: transform; transition: border-color 180ms; }
.panneau:hover { border-color: #5a5a5a; }
.panneau h3 { font-size: clamp(2.6rem, 1rem + 6.4vw, 7rem); font-weight: 700; letter-spacing: -.055em; line-height: .95; overflow-wrap: anywhere; }
.panneau-n { color: var(--doux); margin-bottom: 1rem; }
.panneau-bas { align-self: end; justify-self: end; max-width: 26rem; }
.panneau-bas p { color: #C9C9C5; }
.panneau-bas strong { display: block; font-size: clamp(1.15rem, 1rem + .7vw, 1.6rem); line-height: 1.15; letter-spacing: -.03em; margin-top: 1rem; }
.panneau-bas .pilule { margin-top: 1.25rem; }
@media (max-width: 760px) { .panneau { grid-template-columns: minmax(0, 1fr); } .panneau-bas { justify-self: start; } }
.calme .panneau { position: static; }

/* Pellicule horizontale */
.pellicule { padding-top: var(--rythme); overflow: clip; }
.pellicule-tete { padding-inline: var(--marge); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.pellicule-tete .intertitre { margin: 0; }
.piste { display: flex; gap: clamp(1rem, 2vw, 2rem); padding: 1.5rem var(--marge) var(--rythme); overflow-x: auto; scrollbar-width: thin; }
.diapo { flex: none; width: min(82vw, 44rem); text-decoration: none; display: block; }
.diapo h3 { font-size: clamp(1.25rem, 1rem + 1vw, 1.9rem); line-height: 1.1; letter-spacing: -.035em; margin-top: .9rem; }
.diapo .ligne-meta { margin-top: .9rem; }
.pellicule.defile { padding-top: 0; }
.pellicule.defile .colle { position: sticky; top: var(--haut); height: calc(100vh - var(--haut)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.pellicule.defile .piste { overflow: visible; width: max-content; padding-bottom: 0; will-change: transform; }
.pellicule.defile .diapo { width: min(58vw, 60vh * 1.333, 44rem); }

/* Cadres de média */
.cadre { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--r); }
.cadre.large { aspect-ratio: 16 / 9; }
.cadre img, .cadre video, .cadre iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.cadre-vide { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(.8rem, 2vw, 1.25rem); color: var(--doux); border: 1px solid var(--trait); border-radius: var(--r); background: var(--surface); }
.cadre-vide strong { font-size: clamp(3.5rem, 10vw, 8rem); font-weight: 700; line-height: .85; letter-spacing: -.06em; color: var(--encre); }
.cadre-vide small { font-size: .9rem; max-width: 26rem; }
[data-incline] { transition: transform 200ms ease-out; transform-style: preserve-3d; }

.etiquette { display: inline-block; font-size: .76rem; line-height: 1; padding: .28rem .55rem; color: var(--marque); border: 1px solid currentColor; border-radius: 999px; white-space: nowrap; vertical-align: .15em; font-weight: 500; letter-spacing: 0; }
.ligne-meta { display: flex; flex-wrap: wrap; gap: .4rem 1rem; align-items: center; color: var(--doux); font-size: .92rem; }
.vide { color: var(--doux); padding-block: 3rem; font-size: 1.2rem; }
.alerte { margin: 0 var(--marge) 2rem; padding: .8rem 1.1rem; border: 1px solid var(--marque); border-radius: var(--r); color: var(--encre); }

/* En-têtes des pages */
.tete-page { padding: clamp(2.5rem, 7vw, 6rem) var(--marge) clamp(2rem, 4vw, 3.5rem); }
.titre-page { font-size: clamp(2.4rem, 10.5vw, 9.5rem); }
.chapo { max-width: 38rem; margin-top: clamp(1.1rem, 2.5vw, 2rem); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); line-height: 1.25; color: #C9C9C5; }

/* Preuves */
.filtres { display: flex; flex-wrap: wrap; gap: .5rem; padding-inline: var(--marge); }
.dossiers { padding: 2rem var(--marge) var(--rythme); }
.dossier { display: grid; grid-template-columns: minmax(0, 6rem) minmax(0, 1fr) minmax(0, 28rem); gap: clamp(1rem, 3vw, 3rem); padding-block: clamp(2rem, 4vw, 3.5rem); scroll-margin-top: calc(var(--haut) + 1rem); }
.dossier-n { font-size: 1rem; color: var(--doux); font-variant-numeric: tabular-nums; }
.dossier h2 { font-size: clamp(1.7rem, 1rem + 2.6vw, 3.4rem); line-height: 1.02; font-weight: 700; letter-spacing: -.05em; margin-bottom: .9rem; }
.dossier-texte { max-width: 40rem; margin-bottom: 1.1rem; color: #C9C9C5; }
.dossier-actions { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 860px) { .dossier { grid-template-columns: minmax(0, 1fr); } }
.visionneuse { width: min(94vw, 76rem); max-height: 92vh; padding: 0; background: var(--fond); color: var(--encre); border: 1px solid #333; border-radius: var(--r); }
.visionneuse::backdrop { background: rgba(0, 0, 0, .88); }
.visionneuse[open] { animation: visionneuse 320ms var(--e); }
.visionneuse img, .visionneuse video { width: 100%; max-height: 80vh; object-fit: contain; background: #000; }
.visionneuse-haut { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; }
@keyframes visionneuse { from { clip-path: inset(50% 0); } to { clip-path: inset(0); } }

/* Crédits : générique en perspective */
.crawl-zone { position: relative; }
.crawl-cadre { position: sticky; top: 0; height: 100vh; overflow: hidden; perspective: 720px; perspective-origin: 50% 30%; }
.crawl-cadre::before { content: ""; position: absolute; inset: 0 0 auto; height: 45%; z-index: 2; background: linear-gradient(var(--fond) 25%, transparent); pointer-events: none; }
.crawl-texte { position: absolute; left: 50%; top: 0; width: min(92vw, 52rem); text-align: center; transform-origin: 50% 0; will-change: transform; }
.gen-groupe { padding-block: clamp(2.5rem, 7vh, 5rem); }
.gen-role { color: var(--doux); margin-bottom: .6rem; }
.gen-nom { display: block; font-size: clamp(2rem, 1rem + 4.2vw, 5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.05em; }
.lancer { position: fixed; right: var(--marge); bottom: 1.25rem; z-index: 40; }
.calme .crawl-cadre { position: static; height: auto; perspective: none; }
.calme .crawl-cadre::before { display: none; }
.calme .crawl-texte { position: static; width: auto; transform: none; padding-bottom: var(--rythme); }

/* Team */
.team { padding: 0 var(--marge) var(--rythme); }
.team .arc { min-height: clamp(22rem, 62vh, 36rem); margin: 0 calc(var(--marge) * -1); overflow: hidden; }
.team .arc-item { top: 46%; --tc: clamp(13rem, 26vw, 22rem); }
.carte-membre { aspect-ratio: 3 / 4; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--trait); display: flex; align-items: flex-end; }
.carte-membre img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.monogramme { font-size: clamp(5rem, 13vw, 10rem); line-height: .78; font-weight: 800; padding: 0 0 1rem .75rem; letter-spacing: -.06em; text-transform: uppercase; }
.fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1rem, 4vw, 4rem); padding-top: 2rem; align-items: end; }
.fiche h2 { font-size: clamp(2.4rem, 1rem + 6vw, 6.5rem); line-height: .95; font-weight: 700; letter-spacing: -.055em; overflow-wrap: anywhere; }
.fiche-role { color: var(--marque); margin-bottom: .5rem; }
.fiche-bio { max-width: 34rem; color: #C9C9C5; }
.fiche .pilule { margin-top: 1rem; }
@media (max-width: 760px) { .fiche { grid-template-columns: minmax(0, 1fr); } }

/* Vidéos */
.videos { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 2vw, 2rem); padding: 1rem var(--marge) var(--rythme); }
.video { grid-column: span 5; }
.video:nth-child(3n + 1) { grid-column: 1 / -1; }
.video:nth-child(3n + 3) { grid-column: 7 / span 6; margin-top: 5rem; }
.video h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.8rem); line-height: 1.03; font-weight: 700; letter-spacing: -.045em; margin-top: 1rem; }
.video-texte { color: var(--doux); margin-top: .5rem; max-width: 38rem; }
.video-une .cadre { transform-origin: 50% 0; will-change: transform; }
.lecture { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; }
.lecture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lecture span { position: relative; padding: .7rem 1.3rem; background: var(--encre); color: var(--fond); font-weight: 600; border-radius: 999px; }
@media (max-width: 760px) { .video, .video:nth-child(3n + 1), .video:nth-child(3n + 3) { grid-column: 1 / -1; margin-top: 0; } }

/* Actus */
.actus { position: relative; padding: 1rem var(--marge) var(--rythme); }
.fil { position: absolute; left: calc(var(--marge) + .35rem); top: 1rem; bottom: var(--rythme); width: 1px; background: var(--encre); transform-origin: top; }
.actu { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); gap: 2rem; padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2.75rem) clamp(2rem, 6vw, 5rem); }
.actu h2 { font-size: clamp(1.6rem, 1rem + 2.4vw, 3.2rem); line-height: 1.03; font-weight: 700; letter-spacing: -.05em; margin: .4rem 0 .6rem; }
.actu p.corps { max-width: 40rem; color: #C9C9C5; }
@media (max-width: 760px) { .actu { grid-template-columns: minmax(0, 1fr); } }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); padding: 1rem var(--marge) var(--rythme); }
.contact h2 { font-size: .95rem; font-weight: 500; color: var(--doux); margin-bottom: 1rem; }
.liste-liens { list-style: none; margin: 0; padding: 0; }
.liste-liens a { display: block; padding: .3rem 0; font-size: clamp(1.6rem, 1rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -.05em; text-decoration: none; overflow-wrap: anywhere; }
.faq details { padding-block: 1rem; }
.faq summary { cursor: pointer; font-size: clamp(1.15rem, 1rem + .8vw, 1.55rem); font-weight: 600; letter-spacing: -.03em; }
.faq details p { margin-top: .6rem; color: var(--doux); max-width: 42rem; }
@media (max-width: 760px) { .contact { grid-template-columns: minmax(0, 1fr); } }

/* Pages légales */
.texte { max-width: 44rem; padding: 0 var(--marge) var(--rythme); }
.texte h2 { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); font-weight: 700; letter-spacing: -.035em; margin: 2.5rem 0 .6rem; line-height: 1.1; }
.texte p, .texte li { margin-bottom: .6rem; color: #C9C9C5; }
.texte ul { padding-left: 1.2rem; }
.todo { background: none; color: var(--marque); border: 1px solid currentColor; border-radius: 999px; padding: 0 .5rem; }

/* Pied dévoilé par le contenu */
main { position: relative; z-index: 1; background: var(--fond); display: block; }
.pied { position: relative; z-index: 0; padding: clamp(2.5rem, 5vw, 4rem) var(--marge) 1.25rem; background: var(--surface); }
.pied.dessous { position: sticky; bottom: 0; }
.pied-haut { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.pied ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; }
.pied a { text-decoration: none; color: var(--doux); transition: color 160ms; }
.pied a:hover { color: var(--encre); }
.pied-nom { width: 100%; font-size: 12vw; line-height: .9; font-weight: 800; letter-spacing: -.055em; }
.pied-nom .interne { display: inline-block; white-space: nowrap; font-variation-settings: "wdth" calc(62 + var(--p, 1) * 38), "wght" 800; }
.pied-nom.mesure .interne { font-variation-settings: "wdth" 100, "wght" 800; }
.pied-bas { margin-top: 1.25rem; color: var(--doux); font-size: .88rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; }
.page-404 { min-height: 60vh; }

/* Admin */
.admin { max-width: 62rem; margin: 0 auto; padding: 2rem var(--marge) 5rem; }
.admin h1 { font-size: clamp(2rem, 1rem + 3vw, 3.2rem); font-weight: 700; letter-spacing: -.05em; }
.admin-haut { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.onglets { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.boite { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: clamp(1rem, 3vw, 1.75rem); margin-bottom: 1.5rem; }
.boite h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 1rem; }
.champ { display: block; margin-bottom: 1rem; }
.champ > span { display: block; font-size: .9rem; color: #C9C9C5; margin-bottom: .3rem; }
.champ input:not([type="checkbox"]):not([type="file"]), .champ textarea, .champ select { width: 100%; padding: .6rem .8rem; background: var(--fond); border: 1px solid #3a3a3a; border-radius: 9px; }
.champ textarea { min-height: 7rem; resize: vertical; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: 0; border-color: var(--encre); }
.champ-ligne { display: flex; align-items: center; gap: .5rem; }
.apercu { max-height: 7rem; margin-top: .5rem; border-radius: 9px; }
.ligne-admin { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem 1rem; padding: .8rem 0; border-top: 1px solid var(--trait); }
.ligne-admin b { display: block; letter-spacing: -.02em; }
.ligne-admin small { color: var(--doux); }
.actions-admin { display: flex; gap: .4rem; }
.pilule.petite { padding: .3rem .8rem; font-size: .88rem; }
.message { padding: .65rem .9rem; border-radius: 9px; margin-bottom: 1rem; border: 1px solid var(--trait); }
.message.erreur { border-color: var(--marque); color: #FF9C80; }
.message.ok { border-color: #3a3a3a; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .voile, .curseur { display: none; }
}

@media (max-width: 860px) {
  .grand-titre { font-size: 13vw; }
}
@media (max-width: 640px) {
  .bandeau { flex-wrap: nowrap; justify-content: space-between; }
  .bandeau strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; min-width: 0; }
  .bandeau span { display: none; }
  .entete { gap: .5rem; }
  .logo { margin-right: 0; }
}

/* ---------- Comptes ---------- */
.pilule-compte { padding: .28rem .8rem .28rem .3rem; gap: .5rem; }
.pilule-compte small { color: var(--doux); font-weight: 500; transition: color 180ms; }
.pilule-compte:hover small { color: inherit; }
.avatar { display: block; flex: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.avatar.petit { width: 1.8rem; height: 1.8rem; font-size: .68rem; }
.avatar.grand { width: 100%; height: 100%; font-size: clamp(3rem, 8vw, 5rem); }
.avatar-vide { display: grid; place-items: center; font-weight: 700; letter-spacing: -.03em; color: var(--encre); border: 1px solid #333; }
.coche { display: inline-block; flex: none; width: 1.1em; height: 1.1em; color: var(--encre); vertical-align: -.15em; }
.lien-discret { color: var(--doux); font-size: .88rem; text-decoration: underline; text-underline-offset: 3px; transition: color 160ms; }
.lien-discret:hover { color: var(--encre); }
.lien-discret.danger:hover { color: var(--marque); }
.note { color: var(--doux); font-size: .92rem; }
.note a { color: inherit; }
.ligne-boutons { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.message { padding: .65rem .9rem; border-radius: 9px; margin-bottom: 1rem; border: 1px solid var(--trait); }
.message.erreur { border-color: var(--marque); color: #FF9C80; }
.message.ok { border-color: #3a3a3a; }

.boite { background: var(--surface); border: 1px solid var(--trait); border-radius: var(--r); padding: clamp(1rem, 3vw, 1.75rem); }
.onglets { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.champ { display: block; margin-bottom: 1rem; }
.champ > span { display: block; font-size: .9rem; color: #C9C9C5; margin-bottom: .3rem; }
.champ input:not([type="checkbox"]):not([type="file"]), .champ textarea, .champ select { width: 100%; padding: .6rem .8rem; background: var(--fond); border: 1px solid #3a3a3a; border-radius: 9px; }
.champ input:focus, .champ textarea:focus, .champ select:focus { outline: 0; border-color: var(--encre); }
.pilule.petite { padding: .3rem .8rem; font-size: .88rem; }
.pilule:disabled { opacity: .5; cursor: progress; }

.compte-zone { padding: 0 var(--marge) var(--rythme); }
.carte-compte { max-width: 28rem; }
.carte-compte .note { margin-bottom: 1rem; }

/* Avis */
.avis-place { margin-top: 1rem; }
.avis-zone { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--trait); }
.avis-form { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; margin-bottom: 1rem; }
.avis-form textarea { width: 100%; padding: .6rem .8rem; background: var(--surface); border: 1px solid #3a3a3a; border-radius: 9px; resize: vertical; }
.avis-form textarea:focus { outline: 0; border-color: var(--encre); }
.avis-form .message { width: 100%; margin: 0; }
.avis-invite { color: var(--doux); margin-bottom: 1rem; }
.avis-liste { list-style: none; margin: 0; padding: 0; }
.avis { display: flex; gap: .75rem; padding: .75rem 0; animation: avis-arrive 320ms var(--e); }
@keyframes avis-arrive { from { clip-path: inset(0 0 100% 0); transform: translateY(.5rem); } to { clip-path: inset(0); transform: none; } }
.avis-corps-ligne { min-width: 0; flex: 1; }
.avis-tete { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .45rem; font-size: .92rem; }
.avis-pseudo { font-weight: 700; text-decoration: none; letter-spacing: -.02em; }
.avis-pseudo:hover { text-decoration: underline; }
.avis-tete time { color: var(--doux); font-size: .82rem; }
.puce-niveau { padding: .05rem .45rem; border: 1px solid #333; border-radius: 999px; font-size: .74rem; color: #C9C9C5; }
.avis-texte { margin-top: .2rem; color: #DADAD6; white-space: pre-line; overflow-wrap: anywhere; }
.avis-actions { display: flex; gap: .8rem; margin-top: .3rem; }
.avis-vide { color: var(--doux); padding: .5rem 0; }

/* Profil */
.profil { padding: clamp(2rem, 6vw, 5rem) var(--marge) var(--rythme); max-width: calc(1180px + 2 * var(--marge)); margin-inline: auto; }
.profil-tete { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem); gap: clamp(1.25rem, 4vw, 3rem); align-items: end; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--trait); }
.profil-photo { width: clamp(7rem, 16vw, 12rem); aspect-ratio: 1; border-radius: 50%; overflow: hidden; animation: profil-iris 800ms var(--e); }
@keyframes profil-iris { from { clip-path: circle(0% at 50% 50%); } to { clip-path: circle(75% at 50% 50%); } }
.profil-ligne-nom { display: flex; align-items: center; flex-wrap: wrap; gap: .3em; font-size: clamp(2.4rem, 1rem + 5.4vw, 6rem); }
.profil-nom { font-size: inherit; overflow-wrap: anywhere; min-width: 0; }
.profil-ligne-nom .coche { width: .62em; height: .62em; }
.profil-certifie { font-weight: 600; margin: .3rem 0; }
.profil-n { display: flex; align-items: baseline; gap: .5rem; }
.profil-n small { color: var(--doux); }
.profil-n strong { font-size: clamp(2.6rem, 2rem + 2.5vw, 4rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.jauge { height: 6px; background: var(--surface-2); border-radius: 999px; overflow: hidden; margin: .6rem 0; }
.jauge-plein { display: block; height: 100%; background: var(--encre); transform-origin: left; transition: transform 900ms var(--e) 300ms; }
.profil-bloc { padding-top: clamp(2rem, 4vw, 3rem); }
.profil-bloc > h2 { font-size: .95rem; font-weight: 500; color: var(--doux); margin-bottom: 1rem; }
.liste-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.badge { display: grid; grid-template-columns: auto 1fr; column-gap: .45rem; align-items: center; padding: .6rem .95rem; border: 1px solid #333; border-radius: var(--r); max-width: 19rem; animation: badge-arrive 460ms var(--e) both; animation-delay: calc(var(--i) * 70ms + 200ms); }
.badge b { grid-column: 2; letter-spacing: -.02em; }
.badge small { grid-column: 2; color: var(--doux); line-height: 1.25; }
.badge:not(.certifie) b, .badge:not(.certifie) small { grid-column: 1 / -1; }
.badge.certifie { background: var(--encre); color: var(--fond); border-color: var(--encre); }
.badge.certifie small { color: #4a4a48; }
.badge.certifie .coche { color: var(--fond); grid-row: span 2; width: 1.4em; height: 1.4em; }
.badge.certifie .coche path:last-of-type { stroke: var(--encre); }
@keyframes badge-arrive { from { transform: scale(.6) rotate(-6deg); opacity: 0; } to { transform: none; opacity: 1; } }
.avis-profil { display: block; padding: .8rem 0; border-top: 1px solid var(--trait); text-decoration: none; overflow-wrap: anywhere; }
.avis-profil small { display: block; color: var(--doux); }
.avis-profil:hover span { text-decoration: underline; }
.grille-reglages { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grille-reglages .boite { margin: 0; }
@media (max-width: 900px) {
  .profil-tete { grid-template-columns: auto minmax(0, 1fr); align-items: center; }
  .profil-niveau { grid-column: 1 / -1; }
  .grille-reglages { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1040px) { .cache-mobile-texte { display: none; } }

/* Admin : membres */
.puces-admin { display: flex; flex-wrap: wrap; gap: .3rem; justify-content: flex-end; max-width: 34rem; }
.bouton-admin { border-color: var(--marque); }
.bouton-admin[aria-pressed="true"] { background: var(--marque); border-color: var(--marque); color: var(--fond); }
main.admin { min-height: 100vh; }

@media (max-width: 560px) {
  .profil-tete { grid-template-columns: minmax(0, 1fr); }
  .profil-niveau { grid-column: auto; }
}
@media (max-width: 420px) {
  .pilule-compte small { display: none; }
  .pilule-compte { padding: .28rem; }
  .logo { font-size: 1.05rem; }
  .entete-droite .pilule { padding-inline: .7rem; }
  .entete-droite .pilule-compte { padding: .28rem; }
}
