/* ============================================================
   NORFLIX FORMATION — Système de design partagé
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@500;600;700;800;900&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  /* Surfaces */
  --bg:        #08080A;
  --bg-1:      #0E0E12;
  --bg-2:      #16161C;
  --bg-3:      #1F1F27;
  --bg-4:      #2A2A33;
  --line:      rgba(255,255,255,0.08);
  --line-2:    rgba(255,255,255,0.14);

  /* Texte */
  --text:      #F6F6F8;
  --muted:     #A6A6B0;
  --muted-2:   #74747F;

  /* Marque */
  --red:        #E50914;
  --red-bright: #FF2D2D;
  --red-deep:   #8A0610;
  --red-grad:   linear-gradient(135deg, #FF2D2D 0%, #C20611 55%, #8A0610 100%);
  --red-glow:   0 8px 40px -8px rgba(229,9,20,0.55);

  /* Accent certif (or, usage très limité) */
  --gold:      #E6B450;

  /* Rayons & ombres */
  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,0.8);
  --shadow-lg: 0 40px 90px -30px rgba(0,0,0,0.9);

  --nav-h: 72px;
  --maxw: 1480px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Manrope', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
}

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

::selection { background: var(--red); color: #fff; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 48px; }
.eyebrow {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-bright);
}
.text-muted { color: var(--muted); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  background: linear-gradient(180deg, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0) 100%);
  border-bottom: 1px solid transparent;
}
.nav.solid {
  background: rgba(8,8,10,0.86);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  width: 100%;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 38px; height: 38px; border-radius: 9px; box-shadow: var(--red-glow); }
.brand__name {
  font-family: 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
}
.brand__name span { color: var(--red); }

.nav__links { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav__links a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 9px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.06); }
.nav__links a.active { color: var(--text); }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.nav__burger {
  display: none;
  background: none; border: none; color: var(--text);
  width: 42px; height: 42px; border-radius: 8px;
  align-items: center; justify-content: center;
}
.nav__burger:hover { background: rgba(255,255,255,0.08); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-bright); box-shadow: var(--red-glow); }

.btn--light { background: var(--text); color: #111; }
.btn--light:hover { background: #fff; }

.btn--ghost { background: rgba(255,255,255,0.08); color: var(--text); border-color: var(--line-2); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255,255,255,0.16); }

.btn--outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--text); background: rgba(255,255,255,0.05); }

.btn--lg { padding: 15px 30px; font-size: 16.5px; }
.btn--sm { padding: 8px 15px; font-size: 13.5px; }

/* Bouton rond (play/+/flèche carte) */
.icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20,20,24,0.6);
  border: 1.5px solid rgba(255,255,255,0.45);
  color: var(--text);
  transition: border-color .2s, background .2s, transform .15s;
}
.icon-btn:hover { border-color: #fff; background: rgba(255,255,255,0.15); }
.icon-btn svg { width: 19px; height: 19px; }

/* ============================================================
   BADGES & PILLS
   ============================================================ */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 100px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  color: var(--muted);
}
.badge--red { background: rgba(229,9,20,0.16); border-color: rgba(229,9,20,0.4); color: #ff8b8b; }
.badge--qualiopi { background: rgba(230,180,80,0.12); border-color: rgba(230,180,80,0.4); color: var(--gold); }
.badge--new { background: var(--red); border-color: transparent; color: #fff; }

.tag-row { display: flex; flex-wrap: wrap; gap: 8px; }
.badge svg { width: 14px; height: 14px; flex-shrink: 0; }
.badge { white-space: nowrap; }
.badge--qualiopi svg { color: var(--gold); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-h) + 36px);
  padding-bottom: 90px;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(229,9,20,0.42) 0%, rgba(138,6,16,0.12) 38%, transparent 66%),
    linear-gradient(115deg, #0a0a0c 0%, #140608 45%, #2a060a 100%);
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.55) 0%, transparent 22%, transparent 55%, rgba(8,8,10,0.85) 88%, var(--bg) 100%),
    linear-gradient(90deg, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.4) 42%, transparent 72%);
}
/* texture grille discrète */
.hero__grid {
  position: absolute; inset: 0; z-index: 1; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 80% at 70% 30%, #000 0%, transparent 70%);
}
/* Image personnage en arrière-plan du héro */
.hero__char {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right bottom;
  z-index: 1;
  -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 18%);
          mask-image: linear-gradient(0deg, transparent 0%, #000 18%);
  pointer-events: none;
}
@media (max-width: 860px) { .hero__char { opacity: 0.3; object-position: right center; } }

.hero__inner { position: relative; z-index: 3; max-width: 620px; margin-right: auto; }
.hero > .wrap { width: 100%; }

/* Photo à droite, bords estompés */
.hero__photo {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56%;
  z-index: 2;
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 16%, #000 46%),
    linear-gradient(0deg, transparent 0%, #000 24%);
          mask-image:
    linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.35) 16%, #000 46%),
    linear-gradient(0deg, transparent 0%, #000 24%);
  -webkit-mask-composite: source-in;
          mask-composite: intersect;
}
.hero__photo image-slot { display: block; width: 100%; height: 100%; border-radius: 0; opacity: 0.96; }
@media (max-width: 980px) { .hero__photo { display: none; } }
.hero h1 {
  font-size: clamp(36px, 4.6vw, 60px);
  font-weight: 900;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}
.hero h1 .accent { color: var(--red-bright); }
.hero__lead {
  font-size: clamp(15px, 1.15vw, 17px);
  color: #d8d8de;
  max-width: 500px;
  margin: 18px 0 0;
}
.hero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 24px; }
.hero__meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.hero__meta span { font-size: 14.5px; color: var(--muted); font-weight: 600; display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span svg { width: 17px; height: 17px; color: var(--red-bright); flex-shrink: 0; }
.hero__meta span.dot { display: inline-block; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* ============================================================
   SECTIONS & RANGÉES (carrousels)
   ============================================================ */
.section { padding: 18px 0; }
.section--pad { padding: 56px 0; }

.row { margin: 30px 0; }
.row__head {
  display: flex; align-items: baseline; gap: 14px;
  max-width: var(--maxw); margin: 0 auto 16px; padding: 0 48px;
}
.row__title { font-size: 24px; font-weight: 800; }
.row__title a:hover { color: var(--red-bright); }
.row__see {
  margin-left: auto;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: 5px;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s, color .2s;
}
.row:hover .row__see { opacity: 1; transform: translateX(0); }
.row__see:hover { color: var(--red-bright); }
.row__see svg { width: 15px; height: 15px; }

.rail-wrap { position: relative; }
.rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 8px 48px 26px;
  scrollbar-width: none;
}
.rail::-webkit-scrollbar { display: none; }

.rail-arrow {
  position: absolute; top: 0; bottom: 26px;
  width: 56px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(90deg, rgba(8,8,10,0.92), rgba(8,8,10,0));
  border: none; color: #fff; z-index: 5;
  opacity: 0; transition: opacity .25s;
}
.rail-arrow svg { width: 30px; height: 30px; transition: transform .2s; }
.rail-arrow:hover svg { transform: scale(1.35); }
.rail-arrow--left { left: 0; }
.rail-arrow--right { right: 0; background: linear-gradient(270deg, rgba(8,8,10,0.92), rgba(8,8,10,0)); }
.rail-wrap:hover .rail-arrow { opacity: 1; }
.rail-arrow[disabled] { opacity: 0 !important; pointer-events: none; }

/* ============================================================
   CARTES-AFFICHES
   ============================================================ */
.card {
  position: relative;
  flex: 0 0 auto;
  width: 300px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.7,.3,1), box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-6px) scale(1.035);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-2);
  z-index: 6;
}
.card--poster { width: 230px; }

.card__poster {
  position: relative;
  aspect-ratio: 16 / 10;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
  overflow: hidden;
}
.card--poster .card__poster { aspect-ratio: 3 / 4; }
.card__poster::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.0) 40%, rgba(0,0,0,0.55) 100%);
}
/* image déposable en fond de carte */
.card__img {
  display: block; position: absolute; inset: 0; z-index: 0;
  pointer-events: none;
  width: 100%; height: 100%; border-radius: 0;
}
.card__poster:has(.card__img) { background-image: none; }
.card__poster--clean::after { display: none; }
/* Grille formations : zone description en blanc, texte noir */
.formations-grid .card { display: flex; flex-direction: column; }
.formations-grid .card__body { background: #ffffff; flex: 1 1 auto; display: flex; flex-direction: column; }
.formations-grid .card__meta { margin-top: auto; }
.formations-grid .card__title { color: #111418; }
.formations-grid .card__desc { color: #444a52; -webkit-line-clamp: unset; display: block; overflow: visible; }
.acc-grid .card { display: flex; flex-direction: column; }
.acc-grid .card__body { display: flex; flex-direction: column; flex: 1; }
.acc-grid .card__desc { -webkit-line-clamp: unset; display: block; overflow: visible; }
.sd-grid .card__acro { white-space: nowrap; }
.sd-grid .card { border: 1.5px solid rgba(255,255,255,.85); }
.bq-grid .card__acro { white-space: nowrap; }

/* À propos — Pourquoi nous choisir */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why__card { background: #1c1c1c; border: 1px solid rgba(255,255,255,.06); border-radius: 16px; padding: 28px 26px; }
.why__ic { width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(229,9,20,.5), rgba(229,9,20,.16)); border: 1px solid rgba(229,9,20,.45); display: flex; align-items: center; justify-content: center; color: var(--red,#e50914); margin-bottom: 22px; }
.why__ic svg { width: 24px; height: 24px; }
.why__card h4 { font-size: 19px; margin: 0 0 10px; color: #fff; }
.why__card p { margin: 0; color: var(--muted); line-height: 1.55; font-size: 15px; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .why { grid-template-columns: 1fr; } }

/* À propos — Notre histoire */
.histoire { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.histoire__story { position: relative; }
.histoire__story::after { content: ''; position: absolute; top: 0; bottom: 0; right: -27px; width: 1px; background: rgba(255,255,255,.16); }
.histoire__story p { margin: 0 0 16px; color: var(--muted); line-height: 1.65; }
.histoire__story p:first-child { margin-top: 0; }
.timeline { position: relative; padding-left: 30px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 64px; width: 2px; background: var(--red, #e50914); }
.timeline__item { position: relative; padding-bottom: 28px; }
.timeline__item::before { content: ''; position: absolute; left: -30px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--red, #e50914); box-shadow: 0 0 0 4px rgba(229,9,20,.18); }
.timeline__year { font-weight: 800; font-size: 20px; color: var(--red, #e50914); margin-bottom: 4px; }
.timeline__desc { color: #fff; line-height: 1.55; font-size: 15px; }
.timeline__cta { margin-top: 8px; }
@media (max-width: 860px) {
  .histoire { grid-template-columns: 1fr; gap: 34px; }
  .histoire__story::after { display: none; }
}

/* À propos — Fiche formateur (style acteur) */
.actor { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.actor--panel { background: #262626; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; padding: 44px; align-items: stretch; box-shadow: 0 26px 70px rgba(0,0,0,.4); grid-template-columns: 440px 1fr; gap: 40px; }
.actor__photo { position: relative; width: 280px; height: 280px; border-radius: 50%; padding: 6px; background: linear-gradient(160deg, var(--red,#e50914), #7a0009); box-shadow: 0 22px 60px rgba(0,0,0,.5); }
.actor__photo image-slot { display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.actor__portrait { display: block; width: 100%; height: auto; }
.actor--panel .actor__photo { width: auto; height: 100%; border-radius: 0; padding: 0; background: none; box-shadow: none; display: flex; align-items: flex-end; justify-content: center; }
.actor--panel .actor__portrait { width: 100%; max-width: 440px; height: auto; filter: none; display: block; }
.actor__name { font-size: clamp(30px,3.4vw,44px); margin: 10px 0 4px; }
.actor__role { color: var(--red,#e50914); font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.actor__block { margin-top: 22px; }
.actor__block h4 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.14); }
.actor__block ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 5px; color: var(--muted); line-height: 1.55; }
.actor__block p { margin: 0 0 10px; color: var(--muted); line-height: 1.65; }
.actor__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.actor__tags span { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; background: rgba(229,9,20,.14); border: 1px solid rgba(229,9,20,.4); color: #fff; font-size: 13px; font-weight: 600; }
@media (max-width: 760px) {
  .actor { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 28px; }
  .actor__photo { width: 220px; height: 220px; }
  .actor__block { width: 100%; }
  .actor__block ul { text-align: left; }
  .actor__tags { justify-content: center; }
}
/* Bandeaux kits alternés (page Boutique) */
.kit-bands { display: flex; flex-direction: column; gap: 18px; }
.kit-band { display: grid; grid-template-columns: 0.78fr 1.22fr; align-items: stretch; border-radius: 16px; overflow: hidden; background: var(--surface, #14161a); border: 1px solid rgba(255,255,255,.08); scroll-margin-top: calc(var(--nav-h, 76px) + 24px); }
.kit-band__media { position: relative; padding: 26px; display: flex; align-items: center; justify-content: center; }
.kit-band__media img { position: static; width: 100%; max-width: 320px; height: 100%; max-height: 230px; object-fit: cover; border-radius: 14px; }
.kit-band__body { padding: 40px 44px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.kit-band__title { font-family: 'Archivo'; font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); margin: 0; color: #fff; }
.kit-band__desc { font-size: 15px; line-height: 1.5; margin: 0; color: rgba(255,255,255,.82); }
.kit-band__body ul { font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,.82); }
.kit-band--light .kit-band__body ul { color: #444a52; }
.kit-band .card__kind { color: var(--red, #e50914); font-weight: 700; }
.kit-band__body > div { margin-top: 8px; }
/* version claire */
.kit-band--light { background: #fff; border-color: rgba(0,0,0,.08); }
.kit-band--light .kit-band__title { color: #111418; }
.kit-band--light .kit-band__desc { color: #444a52; }
/* image à droite */
.kit-band--rev { grid-template-columns: 1.22fr 0.78fr; }
.kit-band--rev .kit-band__media { order: 2; }
.kit-band--rev .kit-band__body { order: 1; }
@media (max-width: 760px) {
  .kit-band, .kit-band--rev { grid-template-columns: 1fr; }
  .kit-band--rev .kit-band__media { order: 0; }
  .kit-band--rev .kit-band__body { order: 0; }
  .kit-band__media { min-height: 220px; }
}
/* En-tête centré Safety Day : titre encadré de traits rouges, sous-titre dessous */
.sd-head { text-align: center; margin: 0 auto 30px; width: fit-content; max-width: 100%; }
.sd-head__title { display: flex; align-items: center; gap: 22px; }
.sd-head__title h2 { font-family: 'Archivo'; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase; font-size: clamp(22px, 3vw, 34px); white-space: nowrap; margin: 0; }
.sd-head__rule { flex: 1; height: 3px; background: var(--red, #e50914); border-radius: 2px; }
.sd-head__sub { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
.formations-grid .card__meta .m { color: #6a7079; }
.formations-grid .card__meta .m svg { color: #6a7079; }
.card__acro {
  position: relative; z-index: 2;
  font-family: 'Archivo', sans-serif; font-weight: 900;
  font-size: 40px; line-height: 0.95; letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 4px 18px rgba(0,0,0,0.35);
  align-self: flex-start;
  white-space: nowrap;
}
.card__poster-top { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.card__poster-foot { position: relative; z-index: 2; }
.card__kind {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.82);
}

.card__body { padding: 14px 16px 16px; }
.card__title { font-size: 16.5px; font-weight: 700; font-family: 'Archivo'; letter-spacing: -0.01em; }
.card__desc { font-size: 13.5px; color: var(--muted); margin-top: 5px; line-height: 1.45;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; align-items: center; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.card__meta .m { font-size: 12.5px; color: var(--muted-2); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.card__meta .m svg { width: 14px; height: 14px; flex-shrink: 0; color: var(--muted); }
.card__price { font-family: 'Archivo'; font-weight: 800; font-size: 17px; }
.card__price small { font-weight: 600; font-size: 12px; color: var(--muted); }

.card__hoverbar {
  display: flex; align-items: center; gap: 8px; margin-top: 13px;
  max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .3s, opacity .25s, margin-top .3s;
}
.card:hover .card__hoverbar { max-height: 60px; opacity: 1; }
.card__hoverbar .icon-btn { width: 36px; height: 36px; }
.card__hoverbar .icon-btn svg { width: 16px; height: 16px; }

/* Variations de fond d'affiche (dégradés thématiques) */
.pg-red    { background: var(--red-grad); }
.pg-ember  { background: linear-gradient(140deg, #FF6A2D, #B3260A); }
.pg-night  { background: linear-gradient(140deg, #3B4BA8, #141642); }
.pg-violet { background: linear-gradient(140deg, #7A2BC9, #2C0B52); }
.pg-teal   { background: linear-gradient(140deg, #11857F, #06302E); }
.pg-slate  { background: linear-gradient(140deg, #4A5568, #1A1F2B); }
.pg-gold   { background: linear-gradient(140deg, #E6B450, #8A5A12); }
.pg-rose   { background: linear-gradient(140deg, #E5466F, #7A0E32); }
.pg-grass  { background: linear-gradient(140deg, #3F9E4D, #114A1C); }

/* numéro façon "top 10" */
.card--rank { width: 360px; display: flex; align-items: flex-end; background: transparent; border: none; overflow: visible; }
.card--rank:hover { transform: none; box-shadow: none; }
.card--rank .rank-num {
  font-family: 'Archivo'; font-weight: 900; font-size: 170px; line-height: 0.7;
  color: #0d0d11; -webkit-text-stroke: 2px rgba(255,255,255,0.22);
  margin-right: -18px; flex-shrink: 0; user-select: none;
}
.card--rank .card { width: 210px; }

/* ============================================================
   BANDES & CTA
   ============================================================ */
.strip {
  position: relative;
  margin: 60px 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  padding: 56px 56px;
  background: var(--red-grad);
}
.strip::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(120% 140% at 90% 10%, rgba(255,255,255,0.18), transparent 50%);
  pointer-events: none;
}
.strip__inner { position: relative; z-index: 2; max-width: 620px; }
.strip h2 { font-size: clamp(28px, 3.4vw, 44px); color: #fff; font-weight: 900; }
.strip p { color: rgba(255,255,255,0.9); font-size: 18px; margin: 14px 0 0; }
.strip .btn { margin-top: 26px; }

/* feature split */
.feature { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 50px 0; }
.feature__media {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-2);
}
.feature h2 { font-size: clamp(28px, 3.2vw, 42px); }
.feature p { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* placeholder visuel rayé + libellé mono */
.ph {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.035) 0 12px, transparent 12px 24px),
    var(--bg-3);
  display: flex; align-items: center; justify-content: center;
}
.ph span {
  font-family: 'SFMono-Regular', ui-monospace, Menlo, monospace;
  font-size: 12px; letter-spacing: 0.08em; color: var(--muted-2);
  text-transform: uppercase; padding: 6px 12px;
  border: 1px dashed var(--line-2); border-radius: 6px;
}

/* liste de points */
.checks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: #d4d4da; }
.checks li svg { width: 21px; height: 21px; color: var(--red-bright); flex-shrink: 0; margin-top: 1px; }

/* ============================================================
   PAGE HEADER (sous-pages)
   ============================================================ */
.pagehead {
  position: relative;
  padding: calc(var(--nav-h) + 70px) 0 50px;
  overflow: hidden;
}
.pagehead__bg { position: absolute; inset: 0; z-index: 0; }
.pagehead__bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 85% -10%, rgba(229,9,20,0.4), transparent 55%),
    linear-gradient(180deg, #140608, var(--bg));
}
.pagehead__inner { position: relative; z-index: 2; }
.pagehead h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 900; letter-spacing: -0.035em; margin-top: 16px; }
.pagehead p { color: #cfcfd6; font-size: clamp(16px,1.4vw,19px); max-width: 620px; margin: 20px 0 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted-2); font-weight: 600; }
.breadcrumb a:hover { color: var(--text); }

/* ============================================================
   GRILLES
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid .card { width: 100%; }

/* ============================================================
   STATS / LOGOS
   ============================================================ */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 12px 0; }
.stat { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg-1); }
.stat__num { font-family: 'Archivo'; font-weight: 900; font-size: 46px; letter-spacing: -0.03em; line-height: 1; }
.stat__num span { color: var(--red); }
.stat__label { color: var(--muted); font-size: 14.5px; margin-top: 10px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); margin-top: 80px; padding: 60px 0 40px; background: var(--bg-1); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { width: 40px; height: 40px; border-radius: 9px; }
.footer__brand .brand__name { font-size: 22px; }
.footer__about { color: var(--muted); font-size: 14.5px; margin: 18px 0 20px; max-width: 320px; }
.footer h4 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); font-family: 'Archivo'; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: 14.5px; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--text); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3); color: var(--muted); transition: background .2s, color .2s;
}
.footer__social a:hover { background: var(--red); color: #fff; }
.footer__social svg { width: 19px; height: 19px; }
.footer__bottom {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px;
  font-size: 13px; color: var(--muted-2);
}
.footer__bottom a:hover { color: var(--text); }
.footer__bottom .sep { margin-left: auto; }

/* ============================================================
   ESPACE MEMBRE — sélection de profil
   ============================================================ */
.profiles {
  min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 60px 24px; text-align: center;
}
.profiles h1 { font-size: clamp(34px, 4.4vw, 58px); font-weight: 800; }
.profiles__grid { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; margin: 48px 0 40px; }
.profile {
  background: none; border: none; color: var(--muted);
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  transition: color .2s;
}
.profile__av {
  width: 150px; height: 150px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Archivo'; font-weight: 900; font-size: 58px; color: #fff;
  border: 3px solid transparent; transition: border-color .2s, transform .2s;
}
.profile:hover .profile__av { border-color: #fff; transform: scale(1.04); }
.profile:hover { color: var(--text); }
.profile span { font-size: 18px; font-weight: 600; }

/* dashboard membre */
.member-hero {
  padding: calc(var(--nav-h) + 40px) 0 10px;
}
.member-hero h1 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; }
.member-hero .sub { color: var(--muted); font-size: 17px; margin-top: 8px; }
.member-chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 14px; border-radius: 100px;
  background: var(--bg-2); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600;
}
.member-chip .ava { width: 30px; height: 30px; border-radius: 7px; display: flex; align-items:center; justify-content:center; font-family:'Archivo'; font-weight:900; font-size:14px; color:#fff; }

.res-card .card__poster { aspect-ratio: 16/10; }
.res-card .card__dl {
  position: absolute; z-index: 3; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.3);
}
.res-card .card__dl svg { width: 16px; height: 16px; color: #fff; }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(8,8,10,0.97); backdrop-filter: blur(10px);
  display: flex; flex-direction: column; padding: 24px;
  transform: translateX(100%); transition: transform .3s ease;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-top: 40px; }
.mobile-menu nav a {
  font-family: 'Archivo'; font-weight: 700; font-size: 26px;
  padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.mobile-menu__cta { margin-top: auto; display: grid; gap: 12px; }

/* ============================================================
   REVEAL
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
  .reveal.in { opacity: 1; transform: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .feature { grid-template-columns: 1fr; gap: 32px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .grid--4 { grid-template-columns: repeat(2,1fr); }
  .grid--3 { grid-template-columns: repeat(2,1fr); }
  .stats { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 860px) {
  .wrap, .nav__inner, .row__head { padding-left: 22px; padding-right: 22px; }
  .rail { padding-left: 22px; padding-right: 22px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right .btn--ghost { display: none; }
  .hero { min-height: 88vh; padding-bottom: 60px; }
  .strip { padding: 40px 28px; }
  .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .card { width: 260px; }
  .card--poster { width: 180px; }
  .profile__av { width: 120px; height: 120px; font-size: 46px; }
}
