/* =========================================================================
   PNEUMO'Connect — Design System
   Mini-site evenementiel medical (replique amelioree de pneumo-connect.fr)
   100% souverain : aucune ressource externe (pas de Google Fonts, pas de CDN).
   Mobile-first, responsive, accessible.
   ========================================================================= */

/* -------------------------------------------------------------------------
   0. POLICE — Jost (libre, SIL OFL), substitut souverain de "Century Gothic"
   (police officielle de la charte RCP Connect). Les postes équipés de Century
   Gothic l'affichent directement (1re du stack) ; les autres reçoivent Jost,
   auto-hébergé en .woff2. Aucune ressource externe.
   ------------------------------------------------------------------------- */
@font-face { font-family:'Jost'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/jost-400.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/jost-500.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/jost-600.woff2') format('woff2'); }
@font-face { font-family:'Jost'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/jost-700.woff2') format('woff2'); }

/* -------------------------------------------------------------------------
   1. VARIABLES (:root)
   ------------------------------------------------------------------------- */
:root {
  /* Couleurs de marque — CHARTE OFFICIELLE RCP Connect (référentiel fourni 06/2026) */
  --pf-navy: #022747;          /* bleu nuit — signature, textes profonds */
  --pf-blue: #0061A0;          /* bleu RCP — couleur signature (lettrage), liens, boutons */
  --pf-blue-connect: #0276B5;  /* bleu Connect — badge */
  --pf-blue-light: #138EC8;    /* bleu clair vif — dégradé du badge, accents */
  --pf-cyan: #01A2E0;          /* bleu cyan — nœuds lumineux, touches vives */
  --pf-magenta: #CA4392;       /* magenta — nœuds décoratifs (accent ~10 %) */
  --pf-purple: #CA4392;        /* alias historique -> magenta */
  --pf-orange: #F07F04;        /* orange — accent chaud, contraste (~10 %) */

  /* Neutres officiels (structurent ~20 %) */
  --pf-gray: #A7A6A8;          /* gris medium — ramifications bronchiques */
  --pf-gray-blue: #6DABD1;     /* gris-bleu — nœuds secondaires */
  --pf-gray-light: #C1CBD3;    /* gris clair — éléments légers */

  /* Degrades officiels */
  --hero-grad: linear-gradient(135deg, #022747 0%, #0061A0 55%, #138EC8 100%);
  --nav-grad: linear-gradient(90deg, #0061A0 0%, #01A2E0 100%);
  --badge-grad: linear-gradient(90deg, #0276B5 0%, #138EC8 50%, #01A2E0 100%);
  --card-title-grad: linear-gradient(90deg, #0061A0 0%, #01A2E0 100%);
  --avatar-grad: linear-gradient(135deg, #0061A0 0%, #138EC8 100%);

  /* Fonds & encre — charte : « fond blanc privilégié » */
  --section-bg: #F2F6F9;       /* gris très clair froid (alternance des sections) */
  --ink: #1c2b36;              /* texte courant (slate sombre, accessible) */
  --white: #fff;
  --input-bg: #F7FAFC;         /* champ très clair froid */
  --border-soft: #d7e0e7;      /* bordure froide */

  /* Conformite */
  --red: #E2001A;              /* bandeau conformite hors AMM */

  /* Ombres */
  --card-shadow: 0 2px 16px rgba(0, 147, 221, 0.18);

  /* Typo — Century Gothic (charte) si installé, sinon Jost auto-hébergé */
  --font-base: 'Century Gothic', 'Jost', 'Avant Garde', 'Trebuchet MS', system-ui, sans-serif;
  --title-spacing: 0.04em;     /* letter-spacing leger pour les titres CAPS */

  /* Rythme / layout */
  --container-max: 1280px;
  --radius: 0;                 /* coins droits sur les boutons */
  --gap: 1.5rem;
  --section-pad-y: clamp(2.5rem, 6vw, 5rem);

  /* Focus visible accessible */
  --focus-ring: 3px solid #ffb703;
  --focus-offset: 2px;
}

/* -------------------------------------------------------------------------
   2. RESET LEGER & BASES
   ------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* L'attribut [hidden] doit toujours masquer, même sur les éléments qui ont
   leur propre display (ex. .field { display:flex }) — sinon il est ignoré. */
[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  /* Espace en bas pour ne pas masquer le contenu sous le bandeau cookies */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--pf-blue);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 0.6em;
}

/* Titres de section et de hero en CAPITALES */
.hero h1,
.section h2,
.video-card__title,
.speaker-card__name {
  text-transform: uppercase;
  letter-spacing: var(--title-spacing);
}

/* Accessibilite : focus toujours visible */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* Classe utilitaire : masquer visuellement mais garder pour lecteurs d'ecran */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Lien d'evitement (skip link) */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--pf-blue);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 0;
}

/* Conteneur centre */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Le <main> pousse le footer vers le bas */
main {
  flex: 1 0 auto;
}

/* =========================================================================
   3. HEADER (bande blanche, sur toutes les pages)
   ========================================================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
}
.site-header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* logo central parfaitement centré */
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem;
  max-width: var(--container-max);
  margin-inline: auto;
}
.proposed-by { justify-self: start; }
.brand { justify-self: center; }
.site-header__cta { justify-self: end; }

/* Bouton d'action dans le header (équilibre la droite + pousse à l'inscription) */
.btn--header {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--pf-blue); color: #fff;
  text-transform: uppercase; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em;
  padding: 11px 24px; border-radius: 999px; border: 2px solid var(--pf-blue);
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.btn--header:hover, .btn--header:focus-visible {
  background: #004e82; border-color: #004e82; color: #fff; text-decoration: none;
  transform: translateY(-1px);
}

/* Bloc identité (espace connecté) : avatar + nom + déconnexion, en haut à droite */
.user-menu {
  justify-self: end;
  display: flex; align-items: center; gap: 0.65rem;
}
.user-menu__avatar {
  position: relative; flex: 0 0 auto;
  width: 44px; height: 44px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--nav-grad); color: #fff;
  font-weight: 700; font-size: 0.95rem; letter-spacing: 0.02em;
}
.user-menu__online {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px; border-radius: 50%;
  background: #2ec26a; border: 2px solid #fff;
}
.user-menu__info { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.user-menu__name {
  font-weight: 700; color: var(--pf-navy); font-size: 0.92rem; white-space: nowrap;
}
.user-menu__logout {
  font-size: 0.78rem; color: var(--pf-blue); font-weight: 600;
  text-decoration: none; white-space: nowrap;
}
.user-menu__logout:hover, .user-menu__logout:focus-visible { text-decoration: underline; }
/* Nom cliquable + liens « Mon compte · Se déconnecter » */
a.user-menu__name { text-decoration: none; }
a.user-menu__name:hover, a.user-menu__name:focus-visible { color: var(--pf-blue); }
.user-menu__liens { display: inline-flex; align-items: center; gap: 0.4rem; color: #9aa9b7; font-size: 0.78rem; }
/* En mode burger (<=1024px), l'identité + déconnexion quittent le header :
   la déconnexion passe en bas du menu déroulant (voir .site-nav__logout-item). */
@media (max-width: 1024px) {
  .user-menu { display: none; }
}

/* Bloc "Propose par" + placeholder Pierre Fabre (gauche) */
.proposed-by {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.62rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.proposed-by__label {
  font-size: 0.55rem;
  color: #888;
  margin-bottom: 2px;
}
.proposed-by__brand {
  font-weight: 700;
  color: var(--pf-blue);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
}
.proposed-by__sub {
  font-weight: 600;
  color: var(--pf-purple);
  font-size: 0.58rem;
}

/* Logo PNEUMO'Connect (centre) */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand__mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
}
.brand__wordmark {
  font-weight: 700;
  font-size: clamp(1.1rem, 3.5vw, 1.6rem);
  letter-spacing: 0.02em;
  line-height: 1;
  white-space: nowrap;
}
.brand__wordmark .w-pneumo {
  /* "PNEUMO'" en degrade violet -> cyan */
  background: var(--card-title-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--pf-purple); /* repli si background-clip non supporte */
}
.brand__wordmark .w-connect {
  color: var(--pf-blue);
}

/* Logos officiels (images PNG fournies) — remplacent les placeholders */
/* Logo Pierre Fabre agrandi (demande Agnès : « on le distingue à peine ») */
.proposed-by__logo { display: block; height: 96px; width: auto; }
/* Logo RCP Connect agrandi (demande Agnès) : badge vertical (portrait), grand & lisible */
.brand__logo { display: block; height: 232px; width: auto; }
@media (max-width: 900px) { .brand__logo { height: 164px; } .proposed-by__logo { height: 80px; } }
@media (max-width: 600px) { .brand__logo { height: 128px; } .proposed-by__logo { height: 62px; } }
/* Desktop : on resserre la bande blanche autour du logo SANS changer sa taille
   (padding réduit + le logo grignote son propre blanc interne via une marge négative). */
@media (min-width: 901px) {
  .site-header__inner { padding-top: 0.12rem; padding-bottom: 0.12rem; }
  .brand__logo { margin-top: -16px; margin-bottom: -16px; }
}

/* Sur petits ecrans, on ne garde que le logo central (nav -> inscription) */
@media (max-width: 600px) {
  .proposed-by, .site-header__cta { display: none; }
  .site-header__inner { grid-template-columns: 1fr; }
}

/* =========================================================================
   4. NAVIGATION (bande --nav-grad sous le header)
   ========================================================================= */
.site-nav {
  background: var(--nav-grad);
  position: relative;
}
/* Au scroll : le bandeau MENU reste figé en haut, le bandeau blanc des logos défile au-dessus. */
@media (min-width: 901px) {
  .site-nav { position: sticky; top: 0; z-index: 50; }
}
.site-nav__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Liste des liens */
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.site-nav__link {
  display: block;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  padding: 0.95rem 1.1rem;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.site-nav__link:hover,
.site-nav__link:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}
/* Etat actif (ajoute par main.js selon location.pathname) */
.site-nav__link.is-active {
  border-bottom-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
/* Déconnexion en bas du menu déroulant (visible seulement en mode burger) */
.site-nav__logout-item { display: none; }
@media (max-width: 1024px) {
  .site-nav__logout-item { display: block; }
  .site-nav__logout-item .site-nav__link { background: rgba(0, 0, 0, 0.22); font-weight: 700; }
  .site-nav__logout-item .site-nav__link:hover,
  .site-nav__logout-item .site-nav__link:focus-visible { background: rgba(0, 0, 0, 0.32); }
}

/* Bouton burger (mobile) */
.nav-toggle {
  display: none;
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 4px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after  { top: 7px; }
/* Animation en croix quand ouvert */
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* ----- Responsive nav : burger en dessous de 1024px ----- */
@media (max-width: 1024px) {
  .nav-toggle {
    display: flex;
  }
  .site-nav__inner {
    justify-content: flex-start;
    min-height: 52px;
    padding-left: 0.5rem;
  }
  .site-nav__list {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--nav-grad);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    z-index: 200;
  }
  /* Ouvert : main.js bascule l'attribut data-open */
  .site-nav__list.is-open {
    display: flex;
  }
  .site-nav__link {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .site-nav__link.is-active {
    border-bottom-color: rgba(255, 255, 255, 0.6);
  }
}

/* =========================================================================
   5. BOUTONS
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--pf-blue);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border: 2px solid var(--pf-blue);
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: background-color 0.15s ease, transform 0.05s ease;
}
.btn:hover,
.btn:focus-visible {
  background: #004e82;
  border-color: #004e82;
  color: #fff;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn--light {
  background: var(--pf-blue-light);
  border-color: var(--pf-blue-light);
}
.btn--light:hover,
.btn--light:focus-visible {
  background: #0089c0;
  border-color: #0089c0;
}

.btn--outline {
  background: transparent;
  border-color: #fff;
  color: #fff;
}
.btn--outline:hover,
.btn--outline:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* Icone SVG dans le bouton */
.btn__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

/* =========================================================================
   6. HERO
   ========================================================================= */
.hero {
  position: relative;
  background: var(--hero-grad);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 1.25rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
/* Texture de points subtile par-dessus le degrade */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.6px);
  background-size: 22px 22px;
  opacity: 0.5;
  pointer-events: none;
}
.hero > * { position: relative; z-index: 1; }

.hero__surtitle {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0.95;
  margin-bottom: 0.75rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 3rem);
  margin: 0 auto 1rem;   /* auto horizontal : centre la boîte malgré le max-width */
  max-width: 18ch;
}
/* Desktop : on laisse respirer les titres longs (ex. « Rencontres de Cancérologie
   Pulmonaire ») -> ils passent sur 2 lignes équilibrées au lieu de 3 trop compressées. */
@media (min-width: 901px) {
  .hero h1 { max-width: 30ch; text-wrap: balance; }
}
/* Page Vidéos RCP : logo RCP (sans connect) à GAUCHE du titre dans le hero. */
.hero--rcp .hero-rcp__row {
  display: flex; align-items: center; justify-content: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.hero--rcp .hero-rcp__logo { height: 224px; width: auto; flex: none; }
.hero--rcp .hero-rcp__text { text-align: left; }
.hero--rcp .hero-rcp__text .hero__surtitle,
.hero--rcp .hero-rcp__text h1,
.hero--rcp .hero-rcp__text .hero__lead { margin-left: 0; margin-right: 0; text-align: left; }
@media (max-width: 700px) {
  .hero--rcp .hero-rcp__row { flex-direction: column; gap: 1.1rem; }
  .hero--rcp .hero-rcp__logo { height: 150px; }
  .hero--rcp .hero-rcp__text,
  .hero--rcp .hero-rcp__text .hero__surtitle,
  .hero--rcp .hero-rcp__text h1,
  .hero--rcp .hero-rcp__text .hero__lead { text-align: center; margin-left: auto; margin-right: auto; }
}
.hero__lead {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 60ch;
  margin: 0 auto 1.75rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Variante accueil : plus haute */
.hero--accueil {
  min-height: 480px;
}
/* Hero interne : plus bas, meme traitement premium que l'accueil */
.hero--interne {
  min-height: 300px;
  background:
    radial-gradient(135% 130% at 10% 0%, rgba(202, 67, 146, 0.40) 0%, rgba(202, 67, 146, 0) 55%),
    radial-gradient(125% 130% at 92% 100%, rgba(1, 162, 224, 0.52) 0%, rgba(1, 162, 224, 0) 52%),
    linear-gradient(135deg, #022747 0%, #0061A0 52%, #138EC8 100%);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}

/* =========================================================================
   7. COMPTE A REBOURS (countdown)
   ========================================================================= */
.countdown {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1.5rem 0 0;
}
.countdown__cell {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  min-width: 72px;
  text-align: center;
}
.countdown__num {
  display: block;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
/* Mobile : les 4 cellules du compte à rebours tiennent sur une seule ligne
   (au lieu de déborder en 3 + 1). S'applique à tous les compteurs. */
@media (max-width: 600px) {
  /* Compte à rebours en 2x2 sur mobile : grille équilibrée, chaque cellule remplit toute
     sa colonne (pas de trou au milieu) et « SECONDES » ne déborde plus. */
  .countdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
  .countdown__cell { min-width: 0; padding: 0.75rem 0.5rem; }
  .countdown__num { font-size: 1.7rem; }
  .countdown__label { font-size: 0.66rem; }
}
.countdown__label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.35rem;
  opacity: 0.9;
}

/* =========================================================================
   8. SECTIONS & PICTO DE SECTION
   ========================================================================= */
.section {
  background: var(--section-bg);
  padding: var(--section-pad-y) 0;
}
.section--white {
  background: var(--white);
}
.section__head {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto 2.5rem;
}
.section h2 {
  color: var(--pf-blue);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
}
.section__intro {
  color: #555;
  font-size: 1.05rem;
}

/* Petit rond bleu clair avec icone SVG, centre au-dessus du titre */
.section-picto {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #d6e9fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.section-picto svg {
  width: 32px;
  height: 32px;
  color: var(--pf-blue);
}

/* Grilles generiques pour cartes */
.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* =========================================================================
   9. CARTE VIDEO REUTILISABLE (.video-card — "habillage conformite")
   ========================================================================= */
.video-card {
  background: var(--white);
  border: 1px solid #fff;
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Vrai logo RCP Connect en haut (bandeau blanc, logo centré) */
.video-card__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border-bottom: 1px solid #eef1f4;
}
.video-card__logo {
  height: 54px;
  width: auto;
  display: block;
}
/* Carte principale (large) : logo nettement plus grand pour ne pas se perdre */
.video-card--feature .video-card__logo {
  height: 96px;
}

/* Bandeau degrade violet->bleu avec TITRE + zone play */
.video-card__poster {
  position: relative;
  background: var(--card-title-grad);
  color: #fff;
  aspect-ratio: 16 / 9;        /* format vidéo type YouTube */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 1rem;
  text-align: center;
}
/* Carte principale (pleine largeur) : bandeau large, sans devenir trop haut */
.video-card--feature .video-card__poster {
  aspect-ratio: 21 / 9;
}
/* Mobile : on abandonne le ratio fixe (sinon titre / cadenas / texte sont rognés
   sur écran étroit). La vignette grandit pour afficher tout son contenu. */
@media (max-width: 600px) {
  .video-card__poster,
  .video-card--feature .video-card__poster {
    aspect-ratio: auto;
    min-height: 210px;
    padding: 1.75rem 1rem;
  }
}
.video-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
}

/* Gros bouton play rond (cercle blanc semi-transparent + triangle) */
.video-card__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.video-card__play:hover,
.video-card__play:focus-visible {
  background: rgba(255, 255, 255, 0.4);
  transform: scale(1.05);
}
.video-card__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px; /* recentre optiquement le triangle */
  fill: #fff;
}

/* État VERROUILLÉ — carte sans vidéo branchée (data-video absent/vide).
   Le cadenas est posé par main.js et disparaît dès qu'on ajoute data-video="…". */
.video-card--locked .video-card__play { display: none; }
.video-card--locked .video-card__poster {
  background: linear-gradient(135deg, #022747 0%, #0b3e63 100%);
}
.video-card__lock {
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.55);
  display: flex; align-items: center; justify-content: center;
}
.video-card__lock svg { width: 28px; height: 28px; }
/* Cadenas cliquable (visiteur non connecté -> invite à se connecter) */
a.video-card__lock {
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
a.video-card__lock:hover,
a.video-card__lock:focus-visible {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.05);
}
.video-card__lock-label {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  display: inline-flex; align-items: center; gap: 0.4rem;
}

/* Fine bande ROUGE de conformite hors AMM */
.video-card__compliance {
  background: var(--red);
  color: #fff;
  font-size: 0.66rem;
  line-height: 1.35;
  padding: 0.5rem 0.85rem;
  text-align: center;
}
.video-card__compliance sup { font-size: 0.8em; }

/* Pied : logo Pierre Fabre placeholder + code article */
.video-card__foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;   /* logo Pierre Fabre à droite (comme le site de référence) */
  gap: 0.5rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.66rem;
  color: #666;
}
.video-card__foot .pf-mini {
  font-weight: 700;
  color: var(--pf-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.video-card__pf {
  height: 40px;
  width: auto;
  display: block;
  flex: 0 0 auto;
}
.video-card--feature .video-card__pf {
  height: 58px;
}
/* Mobile : pied de carte fin et discret (réduit la « bordure blanche » des vignettes) */
@media (max-width: 600px) {
  .video-card__foot { padding: 0.3rem 0.7rem; }
  .video-card__pf,
  .video-card--feature .video-card__pf { height: 26px; }
}
.video-card__code {
  color: #888;
  white-space: nowrap;
}

/* =========================================================================
   10. CARTE INTERVENANT (.speaker-card)
   ========================================================================= */
.speaker-card {
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
}
/* Avatar rond placeholder : initiales sur degrade + anneau degrade */
.speaker-card__avatar {
  width: 96px;
  height: 96px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--avatar-grad);
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Anneau degrade autour de l'avatar */
  box-shadow: 0 0 0 4px #fff, 0 0 0 7px rgba(0, 162, 224, 0.5);
}
/* Photo réelle d'intervenant : l'anneau bleu est déjà intégré au fichier image. */
.speaker-card__photo {
  width: 112px;
  height: 112px;
  margin: 0 auto 1rem;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}
.speaker-card__name {
  color: var(--pf-blue);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
}
.speaker-card__role {
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
}
.speaker-card__org,
.speaker-card__city {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
}

/* =========================================================================
   11. FORMULAIRES
   ========================================================================= */
.form-card {
  background: var(--white);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 760px;
  margin-inline: auto;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem 1.25rem;
}
@media (min-width: 768px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  /* Un champ peut occuper toute la largeur */
  .form-grid .field--full { grid-column: 1 / -1; }
}

.field {
  display: flex;
  flex-direction: column;
}
.field label {
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
/* Asterisque rouge pour les champs requis */
.field .req {
  color: var(--red);
  margin-left: 2px;
}
.input,
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 0.7rem 0.85rem;
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 120px; resize: vertical; }

/* Menus déroulants : on retire le chrome natif du navigateur et on pose une
   flèche personnalisée à la charte (rendu propre et cohérent avec les champs). */
.field select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230061A0' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 15px;
}
.field select:hover { border-color: var(--pf-blue-light); }

/* Champ fichier stylé : bouton charte + nom du fichier (input natif masqué mais accessible) */
.filefield { display: flex; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.filefield__input {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.filefield__btn {
  display: inline-flex; align-items: center; gap: 0.5rem; cursor: pointer;
  background: #fff; color: var(--pf-blue); border: 1.5px solid var(--pf-blue);
  border-radius: 6px; padding: 0.6rem 1.1rem; font-weight: 700; font-size: 0.9rem;
  white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease;
}
.filefield__btn:hover { background: var(--pf-blue); color: #fff; }
.filefield__btn svg { width: 18px; height: 18px; }
.filefield__input:focus-visible + .filefield__btn { outline: var(--focus-ring); outline-offset: 2px; }
.filefield__name { font-size: 0.9rem; color: #5a6b7a; }
.filefield__name.has-file { color: var(--pf-navy); font-weight: 600; }
.filefield__name.est-refuse { color: #B3261E; font-weight: 600; }

.input:focus,
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
  border-color: var(--pf-blue-light);
}

/* Cases a cocher / consentement */
.field--check {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.5rem;
}
.field--check label { font-weight: 400; font-size: 0.85rem; margin: 0; }
.field--check input { width: auto; }

.form-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* Messages de succes / erreur (geres par main.js) */
.form-message {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
}
.form-message[hidden] { display: none; }
.form-message--success {
  background: #e3f6ea;
  color: #1b7a3d;
  border: 1px solid #b6e3c6;
}
.form-message--error {
  background: #fdecec;
  color: #b3000f;
  border: 1px solid #f5c2c2;
}

/* =========================================================================
   12. BANDEAU DE CONFORMITE (page / hors carte) — optionnel
   ========================================================================= */
.compliance-bar {
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 0.8rem;
  padding: 0.6rem 1rem;
}

/* =========================================================================
   13. FOOTER
   ========================================================================= */
.site-footer {
  background: #0e2a40;
  color: #cdd8e2;
  padding: 2.5rem 1.25rem 1.5rem;
  flex-shrink: 0;
}
.site-footer__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  align-items: center;
  text-align: center;
}
.site-footer__rem {
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.03em;
}
.site-footer__rem small {
  display: block;
  font-weight: 400;
  font-size: 0.72rem;
  color: #9fb3c4;
  margin-top: 2px;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  font-size: 0.82rem;
}
.site-footer__links a { color: #cdd8e2; }
.site-footer__links a:hover { color: #fff; }
.site-footer__code {
  font-size: 0.72rem;
  color: #8aa0b3;
}
/* Bloc « Réalisé par TimeForMed » — mise en valeur du partenaire, en tête du footer */
.site-footer__by {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.site-footer__by-label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8aa0b3;
}
.site-footer__by-link {
  display: inline-block;
  border-radius: 6px;
}
.site-footer__by-link:focus-visible {
  outline: 2px solid var(--pf-cyan, #00A2E0);
  outline-offset: 5px;
}
.site-footer__by-logo {
  height: 30px;   /* logo horizontal (icône + texte sur une ligne) */
  width: auto;
  display: block;
  transition: transform 0.18s ease, filter 0.18s ease;
}
@media (hover: hover) {
  /* Survol discret, cohérent avec les liens du footer (pas d'effet « bouton » qui se soulève). */
  .site-footer__by-link:hover .site-footer__by-logo { opacity: 0.8; }
}
@media (max-width: 600px) {
  .site-footer__by-logo { height: 24px; }
}

/* =========================================================================
   14. BANDEAU COOKIES (CNIL) — bas d'ecran, sur toutes les pages
   ========================================================================= */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: #fff;
  color: var(--ink);
  border-top: 3px solid var(--pf-blue);
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.15);
  padding: 1rem 1.25rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cookie-banner__text {
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0;
}
.cookie-banner__text a { color: var(--pf-blue); text-decoration: underline; }

/* Les 3 boutons sont de POIDS EGAL (meme style, meme taille) — exigence CNIL */
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.cookie-banner__actions .btn {
  flex: 1 1 auto;
  min-width: 150px;
  padding: 12px 18px;
  font-size: 0.8rem;
}
@media (min-width: 768px) {
  .cookie-banner__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .cookie-banner__actions { flex: 0 0 auto; }
  .cookie-banner__actions .btn { flex: 0 0 auto; min-width: 0; }
}

/* Modale "Parametres des cookies" (injectee par main.js, commune a toutes les pages) */
.cmodal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.cmodal[hidden] { display: none; }
.cmodal__overlay { position: absolute; inset: 0; background: rgba(18, 65, 109, 0.55); }
.cmodal__card {
  position: relative;
  background: #fff;
  border-radius: 16px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.75rem 1.75rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  border-top: 4px solid var(--pf-blue);
}
.cmodal__close {
  position: absolute; top: 0.6rem; right: 0.85rem;
  background: none; border: none; font-size: 1.8rem; line-height: 1;
  color: #7a8a99; cursor: pointer; padding: 0.2rem;
}
.cmodal__close:hover { color: var(--pf-blue); }
.cmodal__title { font-size: 1.35rem; color: var(--pf-blue); margin: 0 0 0.6rem; }
.cmodal__intro { font-size: 0.9rem; line-height: 1.55; margin: 0 0 0.9rem; color: var(--ink); }
.cmodal__sovereign {
  font-size: 0.82rem; line-height: 1.5;
  background: var(--section-bg, #F8F1ED);
  border-left: 3px solid var(--pf-cyan, #00A2E0);
  border-radius: 8px; padding: 0.7rem 0.9rem; margin: 0 0 1.1rem;
  color: var(--pf-navy, #12416D); font-weight: 600;
}
.cmodal__cat { border: 1px solid #e6ecf2; border-radius: 12px; padding: 0.9rem 1rem; margin-bottom: 0.75rem; }
.cmodal__cat-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.35rem; }
.cmodal__cat-title { font-weight: 700; color: var(--pf-navy, #12416D); }
.cmodal__cat-desc { font-size: 0.82rem; line-height: 1.5; margin: 0; color: #5a6b7a; }
.cmodal__badge {
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: #1b9e54; background: #e7f6ed; padding: 0.25rem 0.6rem; border-radius: 999px; white-space: nowrap;
}
.cmodal__policy { font-size: 0.85rem; margin: 0.25rem 0 1.1rem; }
.cmodal__policy a { color: var(--pf-blue); }
.cmodal__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.cmodal__actions .btn { flex: 1 1 auto; min-width: 130px; padding: 11px 16px; font-size: 0.8rem; }

/* Interrupteur accessible (toggle switch) */
.cswitch { position: relative; display: inline-block; width: 46px; height: 26px; flex: none; }
.cswitch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cswitch__slider { position: absolute; inset: 0; background: #c7d2dc; border-radius: 999px; transition: background-color 0.2s ease; pointer-events: none; }
.cswitch__slider::before {
  content: ""; position: absolute; height: 20px; width: 20px; left: 3px; top: 3px;
  background: #fff; border-radius: 50%; transition: transform 0.2s ease; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}
.cswitch input:checked + .cswitch__slider { background: var(--pf-blue); }
.cswitch input:checked + .cswitch__slider::before { transform: translateX(20px); }
.cswitch input:focus-visible + .cswitch__slider { outline: 2px solid var(--pf-cyan, #00A2E0); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .cswitch__slider, .cswitch__slider::before { transition: none; } }

/* Champ mot de passe avec bouton « œil » (injecté par main.js) */
.pwd-wrap { position: relative; display: block; }
.pwd-wrap > input { width: 100%; padding-right: 3rem; }
.pwd-toggle {
  position: absolute; top: 0; right: 0; height: 100%; width: 2.9rem;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: #6b7a88; padding: 0;
}
.pwd-toggle:hover, .pwd-toggle:focus-visible { color: var(--pf-blue); }
.pwd-toggle svg { width: 20px; height: 20px; }

/* =========================================================================
   15. MODALE LECTEUR VIDEO (placeholder)
   ========================================================================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(8, 20, 35, 0.78);
}
.modal[hidden] { display: none; }
.modal__dialog {
  background: #0d1c2b;
  border-radius: 10px;
  width: min(900px, 100%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}
.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1rem;
  color: #fff;
  background: var(--card-title-grad);
}
.modal__title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0;
}
.modal__close {
  background: rgba(255, 255, 255, 0.2);
  border: 0;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}
.modal__close:hover,
.modal__close:focus-visible { background: rgba(255, 255, 255, 0.35); }
/* Zone lecteur 16:9 (placeholder) */
.modal__player {
  aspect-ratio: 16 / 9;
  background:
    radial-gradient(circle at center, rgba(255,255,255,0.06), transparent 70%),
    #06121e;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fa6bb;
  text-align: center;
  font-size: 0.9rem;
  padding: 1rem;
}

/* =========================================================================
   16. UTILITAIRES DIVERS
   ========================================================================= */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 1rem; }

/* Respect des preferences de mouvement reduit */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================================
   13. HERO ACCUEIL — version premium "RCP Connect"
   Fond riche multi-couches + compte a rebours integre + animations d'entree.
   Sobre (contexte pharma) : pas de flashy, juste profondeur et raffinement.
   ========================================================================= */
.hero--home {
  /* base bleu profond Pierre Fabre + halos violet (haut-gauche) et cyan (bas-droite) */
  background:
    radial-gradient(130% 95% at 12% 8%, rgba(202, 67, 146, 0.42) 0%, rgba(202, 67, 146, 0) 55%),
    radial-gradient(120% 95% at 88% 92%, rgba(1, 162, 224, 0.55) 0%, rgba(1, 162, 224, 0) 52%),
    linear-gradient(135deg, #022747 0%, #0061A0 50%, #138EC8 100%);
  padding-block: clamp(3.25rem, 6vw, 5.5rem);
  min-height: clamp(540px, 78vh, 700px);
}
/* grille de points fine, fondue sur les bords (masque radial) */
.hero--home::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(125% 100% at 50% 32%, #000 52%, transparent 100%);
          mask-image: radial-gradient(125% 100% at 50% 32%, #000 52%, transparent 100%);
}
/* halo doux derriere le titre */
.hero--home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(58% 42% at 50% 30%, rgba(255, 255, 255, 0.10), transparent 70%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin-inline: auto;
}

/* Surtitre avec petit trait */
.hero--home .hero__surtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  opacity: 0.92;
}
.hero--home .hero__surtitle::before {
  display: none;
}

/* Titre geant */
.hero__title {
  font-size: clamp(2.7rem, 9vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: 0.01em;
  margin: 0.15em auto 0.4em;   /* auto horizontal : centre la boîte (sinon collée à gauche à cause du max-width) */
  text-shadow: 0 2px 34px rgba(4, 18, 48, 0.22);
}
.hero__title span {
  background: linear-gradient(90deg, #c8e9ff 0%, #ffffff 60%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero--home .hero__lead {
  font-size: clamp(1.02rem, 1.7vw, 1.25rem);
  line-height: 1.65;
  max-width: 60ch;
  opacity: 0.96;
  margin: 0 auto 1.7rem;
}

/* Pastille date (facon save-the-date) */
.hero__datepill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.30);
  -webkit-backdrop-filter: blur(6px);
          backdrop-filter: blur(6px);
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 1.4rem;
}
.hero__datepill svg { width: 18px; height: 18px; flex: 0 0 auto; opacity: 0.9; }

/* Compte a rebours integre */
.hero__countdown { margin: 0.25rem 0 1.5rem; }
.hero__countdown-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  font-weight: 700;
  opacity: 0.85;
  margin: 0 0 0.9rem;
}
.hero--home .countdown { margin: 0; gap: 0.7rem; }
.hero--home .countdown__cell {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  -webkit-backdrop-filter: blur(8px);
          backdrop-filter: blur(8px);
  border-radius: 14px;
  padding: 0.85rem 1.05rem;
  min-width: 86px;
  box-shadow: 0 10px 34px rgba(6, 26, 64, 0.20);
}
.hero--home .countdown__num { font-size: clamp(1.9rem, 4.5vw, 2.6rem); }
.hero--home .countdown__label { opacity: 0.8; }
/* Mobile : compte a rebours en 2x2 equilibre plutot que 3+1 */
@media (max-width: 600px) {
  .hero--home .countdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero--home .countdown__cell { min-width: 0; }
}

/* CTA premium plein blanc sur le hero */
.btn--on-hero {
  background: #fff;
  color: var(--pf-blue);
  border-color: #fff;
  box-shadow: 0 10px 30px rgba(6, 26, 64, 0.25);
  padding: 16px 34px;
  transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--on-hero:hover,
.btn--on-hero:focus-visible {
  background: #eaf4ff;
  border-color: #eaf4ff;
  color: var(--pf-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(6, 26, 64, 0.30);
}

/* Animations d'entree en cascade (neutralisees par le bloc prefers-reduced-motion global) */
@keyframes heroUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: none; }
}
.hero--home [data-anim] {
  opacity: 0;
  animation: heroUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero--home [data-anim="1"] { animation-delay: 0.05s; }
.hero--home [data-anim="2"] { animation-delay: 0.16s; }
.hero--home [data-anim="3"] { animation-delay: 0.28s; }
.hero--home [data-anim="4"] { animation-delay: 0.40s; }
.hero--home [data-anim="5"] { animation-delay: 0.52s; }

/* =========================================================================
   13 bis. HEROS INTERNES — finitions premium (cohérence avec l'accueil)
   ========================================================================= */
/* Grille de points fine, fondue sur les bords */
.hero--interne::before {
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.5px);
  background-size: 26px 26px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(130% 115% at 50% 26%, #000 48%, transparent 100%);
          mask-image: radial-gradient(130% 115% at 50% 26%, #000 48%, transparent 100%);
}
/* Halo doux derriere le titre */
.hero--interne::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 50% 35%, rgba(255, 255, 255, 0.08), transparent 70%);
  pointer-events: none;
}
/* Surtitre avec petit trait (meme look que l'accueil) */
.hero--interne .hero__surtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  letter-spacing: 0.18em;
}
.hero--interne .hero__surtitle::before {
  display: none;
}

/* =======================================================================
   APPARITIONS AU DEFILEMENT (premium sobre)
   Classe .reveal ajoutee par main.js ; .is-visible declenchee a l'entree
   dans le viewport. Desactive si l'utilisateur prefere moins d'animations.
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22, .61, .36, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================================
   REFONTE MOBILE PREMIUM (retours client : moins « cubique/météo », vidéo plus
   grande, hamburger en haut). Tout est scopé petit écran -> le DESKTOP (>1024px)
   reste 100% identique. Bloc en fin de fichier => gagne par cascade.
   ============================================================================ */

/* ---- HEADER + MENU : hamburger remonté dans le header (mode burger <=1024px) ---- */
@media (max-width: 1024px) {
  /* Header = logo à gauche | hamburger à droite. Le <button.nav-toggle> est
     déplacé dans .site-header__inner par le markup. proposed-by/cta/user-menu masqués. */
  .site-header__inner {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 0.75rem;
  }
  .proposed-by,
  .site-header__cta,
  .user-menu { display: none; }
  .brand { justify-self: start; }

  /* Hamburger : pastille bleu marque, posée dans la grille du header (plus d'absolu) */
  .nav-toggle {
    display: flex;
    position: static;
    transform: none;
    justify-self: end;
    width: 46px; height: 46px;
    border: 0; border-radius: 13px;
    background: var(--pf-blue);
    box-shadow: 0 3px 10px rgba(2, 39, 71, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }
  .nav-toggle:active { transform: scale(0.94); }
  .nav-toggle__bars,
  .nav-toggle__bars::before,
  .nav-toggle__bars::after { background: #fff; width: 20px; height: 2px; border-radius: 2px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }

  /* La barre bleue ne sert plus que d'ancrage au menu déroulant : on efface
     l'aplat bleu vide, le menu tombe proprement sous le header. */
  .site-nav { background: transparent; }
  .site-nav__inner { min-height: 0; padding: 0; }
  .site-nav__list {
    box-shadow: 0 14px 30px rgba(2, 39, 71, 0.24);
    border-radius: 0 0 16px 16px;
    overflow: hidden;
  }
  .site-nav__link { text-align: left; padding: 1rem 1.25rem; font-size: 0.9rem; }
}

/* ---- CARTES VIDÉO + MODALE : refonte premium (mobile <=600px) ---- */
@media (max-width: 600px) {
  /* Logo header (mobile) — agrandi */
  .brand__logo { height: 150px; }

  /* Plus d'air entre les cartes : un flux, pas une pile de tuiles */
  .grid { gap: 1.7rem; }

  /* Carte PLATE : fin du gros bloc blanc ombré « météo » */
  .video-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  /* Vignette = vraie 16:9 nette (annule le pavé trapu min-height:210/auto) */
  .video-card__poster,
  .video-card--feature .video-card__poster {
    aspect-ratio: 16 / 9;
    min-height: 0;
    border-radius: 16px;
    overflow: hidden;
    padding: 0.9rem;
    box-shadow: 0 8px 24px rgba(2, 39, 71, 0.18);
    background:
      linear-gradient(to bottom, rgba(2, 39, 71, 0.6) 0%, rgba(2, 39, 71, 0) 34%),
      linear-gradient(to top, rgba(2, 39, 71, 0.42) 0%, rgba(2, 39, 71, 0) 58%),
      var(--card-title-grad);
  }
  .video-card--locked .video-card__poster {
    background:
      linear-gradient(to top, rgba(2, 39, 71, 0.5) 0%, rgba(2, 39, 71, 0) 58%),
      linear-gradient(135deg, #022747 0%, #0b3e63 100%);
  }

  /* Titre : reste DANS la vignette (aucun changement de markup -> PC intact),
     lisible sur le voile, 2 lignes max */
  .video-card__poster .video-card__title {
    font-size: 1.02rem;
    line-height: 1.3;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Play : pastille blanche bas-droite (signal vidéo universel), cible 50px */
  .video-card__poster .video-card__play {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 50px; height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: 0;
    box-shadow: 0 4px 14px rgba(2, 39, 71, 0.35);
  }
  .video-card__poster .video-card__play svg { fill: var(--pf-blue); width: 21px; height: 21px; margin-left: 3px; }
  .video-card__poster .video-card__play:active { transform: scale(0.93); }
  /* Cadenas (cartes verrouillées) : même position bas-droite */
  .video-card--locked .video-card__lock {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    width: 50px; height: 50px;
  }

  /* Bande légale hors-AMM -> filet rouge fin (mention OBLIGATOIRE conservée et lisible) */
  .video-card__compliance {
    background: transparent;
    color: var(--red);
    border-left: 3px solid var(--red);
    text-align: left;
    font-size: 0.64rem;
    line-height: 1.35;
    padding: 0.3rem 0 0.3rem 0.6rem;
    margin-top: 0.6rem;
  }
  .video-card__compliance sup { color: var(--red); font-weight: 700; }

  /* Crédit Pierre Fabre -> micro-ligne discrète (présent mais fin) */
  .video-card__foot {
    justify-content: flex-start;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0 0;
    margin-top: 0.55rem;
    border-top: 1px solid var(--border-soft);
  }
  .video-card__foot::before {
    content: "Proposé par";
    font-size: 0.58rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--pf-gray);
  }
  .video-card__pf,
  .video-card--feature .video-card__pf { height: 21px; opacity: 0.85; }

  /* ---- MODALE VIDÉO : plein écran cinéma (la vidéo s'ouvre GRANDE) ---- */
  .modal {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    background: #000;
  }
  .modal__dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    border-radius: 0;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .modal__head {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(2, 39, 71, 0.85), rgba(2, 39, 71, 0));
    padding: max(0.7rem, env(safe-area-inset-top)) 1rem 1.4rem;
  }
  .modal__title { font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .modal__close {
    width: 44px; height: 44px;
    font-size: 1.4rem;
    background: rgba(0, 0, 0, 0.5);
    flex: 0 0 auto;
  }
  .modal__player {
    aspect-ratio: 16 / 9;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: #000;
  }
  .modal__player iframe {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    display: block;
  }
}

/* ---- Logos de marque intégrés DANS la vignette (mobile) : remplace le bandeau
   « Proposé par ». Masqué en desktop (le pied de carte y est conservé). ---- */
.video-card__brand {
  display: none;
  position: absolute;
  top: 0.85rem; left: 0.9rem; z-index: 2;
  align-items: center; gap: 0.55rem;
  /* Fond blanc : les VRAIS logos (vraies couleurs) ressortent proprement */
  background: rgba(255, 255, 255, 0.96);
  padding: 0.42rem 0.72rem;
  border-radius: 11px;
  box-shadow: 0 3px 12px rgba(2, 39, 71, 0.32);
}
.video-card__brand img { display: block; width: auto; }
.video-card__brand-rcp { height: 60px; }
.video-card__brand-pf {
  height: 38px;
  border-left: 1px solid rgba(2, 39, 71, 0.18);
  padding-left: 0.55rem;
}
@media (max-width: 600px) {
  .video-card__brand { display: inline-flex; }
  .video-card__foot { display: none; }
}

/* ============================================================================
   MENU DÉROULANT MODERNE (mode burger <=1024px) : glass, animation, chevrons,
   accent sur l'actif. Plus « tech » et pro. Desktop (>1024px) inchangé.
   ============================================================================ */
@media (max-width: 1024px) {
  .site-nav__list {
    background: linear-gradient(165deg, #0a4f86 0%, #0276B5 100%);
    box-shadow: 0 20px 44px rgba(2, 39, 71, 0.38);
    border-radius: 0 0 20px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    overflow: hidden;
    padding: 0.35rem 0;
  }
  .site-nav__list.is-open { animation: navDrop 0.24s cubic-bezier(0.2, 0.7, 0.2, 1); }
  @keyframes navDrop { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

  .site-nav__link {
    position: relative;
    text-align: left;
    padding: 1rem 1.35rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    transition: background-color 0.15s ease, padding-left 0.15s ease;
  }
  .site-nav__list li:last-child .site-nav__link { border-bottom: 0; }
  /* Chevron de droite (affordance + look app) */
  .site-nav__link::after {
    content: "";
    position: absolute; right: 1.35rem; top: 50%;
    width: 7px; height: 7px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) rotate(-45deg);
    transition: right 0.16s ease, border-color 0.16s ease;
  }
  .site-nav__link:hover,
  .site-nav__link:focus-visible { background: rgba(255, 255, 255, 0.12); padding-left: 1.65rem; }
  .site-nav__link:hover::after,
  .site-nav__link:focus-visible::after { right: 1.1rem; border-color: #fff; }
  /* Page active : barre d'accent cyan + fond */
  .site-nav__link.is-active { background: rgba(255, 255, 255, 0.14); }
  .site-nav__link.is-active::before {
    content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
    background: #00A2E0;
  }
  /* Déconnexion : nettement distincte, en bas */
  .site-nav__logout-item .site-nav__link { background: rgba(0, 0, 0, 0.2); font-weight: 700; }
  .site-nav__logout-item .site-nav__link::after { border-color: rgba(255, 255, 255, 0.65); }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav__list.is-open { animation: none; }
}

/* ============================================================================
   « VIVANT » — micro-interactions sobres (souris). Sur mobile, l'apparition au
   défilement + le retour tactile suffisent. Neutralisé en reduced-motion.
   ============================================================================ */
.video-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.section-picto, .video-card__play { transition: transform 0.2s ease, background-color 0.15s ease; }
@media (hover: hover) {
  .video-card:hover { transform: translateY(-5px); }
  .video-card:hover .video-card__poster { box-shadow: 0 18px 40px rgba(2, 39, 71, 0.28); }
  .speaker-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
  .speaker-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(2, 39, 71, 0.18); }
  .section__head:hover .section-picto { transform: translateY(-3px) scale(1.04); }
}
@media (prefers-reduced-motion: reduce) {
  .video-card, .speaker-card, .section-picto, .video-card__play { transition: none; }
  .video-card:hover, .speaker-card:hover { transform: none; }
}

/* ---- Bouton plein écran de la modale vidéo (cartes) : déclenche le plein écran NATIF
   du lecteur Vimeo (immersif), exactement comme le bouton du live. ---- */
.modal__head .modal__title { flex: 1 1 auto; min-width: 0; }
.modal__fs {
  flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.2); border: 0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background-color 0.15s ease;
}
.modal__fs svg { width: 18px; height: 18px; }
.modal__fs:hover, .modal__fs:focus-visible { background: rgba(255, 255, 255, 0.35); }
@media (max-width: 600px) {
  .modal__fs { width: 44px; height: 44px; background: rgba(0, 0, 0, 0.5); }
  .modal__fs svg { width: 20px; height: 20px; }
}

/* ============================================================================
   17. DYNAMISME — finitions « vivantes » (octobre 2026)
   Aucune structure modifiée : uniquement des transitions, des survols et de légères
   animations, aux couleurs de la charte. Sobre (contexte médical). Tout mouvement est
   neutralisé par le bloc « prefers-reduced-motion » global, et les survols ne
   s'appliquent qu'aux appareils qui ont une souris.
   ============================================================================ */
::selection { background: rgba(1, 162, 224, 0.28); color: inherit; }
html { scroll-behavior: smooth; }

/* ---- Boutons : reflet lumineux qui traverse, halo, léger soulèvement ---- */
.btn, .btn--header, .esp-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  -webkit-tap-highlight-color: transparent;
}
.btn {
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease,
              transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}
.btn--header, .esp-btn {
  transition: background-color 0.2s ease, border-color 0.2s ease,
              transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease;
}
.btn::after, .btn--header::after, .esp-btn::after {
  content: "";
  position: absolute;
  top: -20%; bottom: -20%; left: -70%;
  width: 46%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.42) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-22deg);
  pointer-events: none;
  transition: left 0s;
}
/* Sur les boutons blancs, le reflet est bleuté pour rester visible */
.btn--on-hero::after, .esp-btn:not(.esp-btn--ghost)::after {
  background: linear-gradient(100deg, rgba(1, 162, 224, 0) 0%, rgba(1, 162, 224, 0.22) 50%, rgba(1, 162, 224, 0) 100%);
}
@media (hover: hover) {
  .btn:hover::after, .btn--header:hover::after, .esp-btn:hover::after,
  .btn:focus-visible::after, .btn--header:focus-visible::after, .esp-btn:focus-visible::after {
    left: 130%;
    transition: left 0.75s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .btn:hover, .btn--header:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(0, 97, 160, 0.34), 0 0 22px rgba(1, 162, 224, 0.42);
  }
  .btn--light:hover { box-shadow: 0 10px 26px rgba(19, 142, 200, 0.36), 0 0 24px rgba(1, 162, 224, 0.5); }
  .btn--outline:hover {
    border-color: #fff;
    box-shadow: 0 10px 26px rgba(2, 39, 71, 0.3), 0 0 20px rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  }
  .btn--on-hero:hover { box-shadow: 0 16px 38px rgba(6, 26, 64, 0.34), 0 0 28px rgba(255, 255, 255, 0.45); }
  .esp-btn:hover { box-shadow: 0 12px 30px rgba(2, 39, 71, 0.32), 0 0 24px rgba(255, 255, 255, 0.3); }
}
.btn:active, .btn--header:active, .esp-btn:active { transform: translateY(0) scale(0.985); box-shadow: none; }
/* Le bandeau cookies garde trois boutons strictement identiques (CNIL) : le même effet s'applique aux trois. */

/* Bouton en cours d'envoi (posé par main.js sur les formulaires classiques) */
.btn.is-loading { pointer-events: none; opacity: 0.86; }
.btn.is-loading::before {
  content: "";
  width: 1em; height: 1em; flex: 0 0 auto;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: rcpSpin 0.7s linear infinite;
}
.btn[disabled], .btn:disabled { cursor: default; box-shadow: none; transform: none; }
.btn[disabled]::after, .btn:disabled::after { display: none; }
@keyframes rcpSpin { to { transform: rotate(360deg); } }

/* Onde au clic (élément ajouté par main.js) */
.rcp-ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  background: currentColor; opacity: 0.28;
  animation: rcpRipple 0.6s ease-out forwards;
}
@keyframes rcpRipple { to { transform: scale(26); opacity: 0; } }

/* ---- Menu : soulignement qui se déploie, ombre quand le menu est figé, barre de lecture ---- */
.site-nav { transition: box-shadow 0.3s ease; }
.site-nav.is-stuck { box-shadow: 0 8px 26px rgba(2, 39, 71, 0.28); }
.site-nav__progress {
  position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), #fff);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  transform: scaleX(var(--rcp-lecture, 0));
  transform-origin: left center;
  pointer-events: none;
}
@media (max-width: 900px) { .site-nav__progress { display: none; } }
@media (min-width: 1025px) {
  .site-nav__link { position: relative; transition: background-color 0.2s ease, border-color 0.2s ease; }
  .site-nav__link::after {
    content: "";
    position: absolute; left: 1.1rem; right: 1.1rem; bottom: -3px; height: 3px;
    background: #fff;
    transform: scaleX(0);
    transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .site-nav__link:hover::after, .site-nav__link:focus-visible::after { transform: scaleX(1); }
  .site-nav__link.is-active::after { display: none; }
}

/* ---- En-tête : logos qui respirent au survol ---- */
.brand__logo, .proposed-by__logo { transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (hover: hover) {
  .brand:hover .brand__logo { transform: scale(1.045); }
}

/* ---- Bandeaux : halos lumineux qui dérivent lentement (éléments ajoutés par main.js) ---- */
.hero > .hero__aura {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden; pointer-events: none;
}
.hero__aura i {
  position: absolute; display: block; border-radius: 50%;
  filter: blur(60px); opacity: 0.5;
  will-change: transform;
}
.hero__aura i:nth-child(1) {
  width: 46vmax; height: 46vmax; left: -14vmax; top: -22vmax;
  background: radial-gradient(circle, rgba(202, 67, 146, 0.55), rgba(202, 67, 146, 0) 68%);
  animation: auraA 19s ease-in-out infinite alternate;
}
.hero__aura i:nth-child(2) {
  width: 42vmax; height: 42vmax; right: -12vmax; bottom: -24vmax;
  background: radial-gradient(circle, rgba(1, 162, 224, 0.7), rgba(1, 162, 224, 0) 68%);
  animation: auraB 23s ease-in-out infinite alternate;
}
.hero__aura i:nth-child(3) {
  width: 22vmax; height: 22vmax; left: 46%; top: 8%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 70%);
  animation: auraC 15s ease-in-out infinite alternate;
}
@keyframes auraA { to { transform: translate3d(9vmax, 7vmax, 0) scale(1.12); } }
@keyframes auraB { to { transform: translate3d(-10vmax, -6vmax, 0) scale(1.1); } }
@keyframes auraC { to { transform: translate3d(-12vmax, 5vmax, 0) scale(0.9); } }

/* Bandeaux des pages internes : même entrée en cascade que l'accueil */
.hero--interne .hero__surtitle, .hero--interne h1, .hero--interne p {
  animation: heroUp 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero--interne h1 { animation-delay: 0.1s; }
.hero--interne p { animation-delay: 0.2s; }

/* ---- Compte à rebours : cellules qui réagissent, chiffre qui « bat » à chaque changement ---- */
.countdown__cell { transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease; }
@media (hover: hover) {
  .countdown__cell:hover {
    transform: translateY(-4px);
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 14px 34px rgba(6, 26, 64, 0.3), 0 0 22px rgba(1, 162, 224, 0.35);
  }
}
.countdown__num.is-tick { animation: rcpTick 0.42s cubic-bezier(0.2, 0.7, 0.2, 1); }
@keyframes rcpTick {
  0%   { opacity: 0.35; transform: translateY(-0.22em); }
  100% { opacity: 1; transform: none; }
}

/* ---- Titres de section : trait dégradé qui se dessine, pictogramme qui flotte ---- */
.section__head h2::after {
  content: "";
  display: block;
  width: 58px; height: 3px; margin: 0.75rem auto 0; border-radius: 3px;
  background: linear-gradient(90deg, var(--pf-blue), var(--pf-cyan));
  transform-origin: center;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) 0.15s;
}
.section__head.reveal:not(.is-visible) h2::after { transform: scaleX(0); }
.section-picto {
  box-shadow: 0 0 0 0 rgba(1, 162, 224, 0.0);
  animation: rcpFlotte 5.5s ease-in-out infinite;
}
@keyframes rcpFlotte {
  0%, 100% { transform: translateY(0); box-shadow: 0 6px 16px rgba(0, 97, 160, 0.10); }
  50%      { transform: translateY(-5px); box-shadow: 0 14px 24px rgba(0, 97, 160, 0.16); }
}

/* ---- Cartes vidéo : bordure lumineuse, reflet sur l'affiche, bouton lecture qui pulse ---- */
.video-card { transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease; }
.video-card__poster::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -80%; width: 55%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  transform: skewX(-20deg);
  pointer-events: none;
}
@media (hover: hover) {
  .video-card:hover {
    border-color: rgba(1, 162, 224, 0.55);
    box-shadow: 0 22px 48px rgba(0, 97, 160, 0.24), 0 0 0 1px rgba(1, 162, 224, 0.25);
  }
  .video-card:hover .video-card__poster::after { left: 130%; transition: left 0.9s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .video-card:hover .video-card__lock { animation: rcpCadenas 0.5s ease; border-color: rgba(255, 255, 255, 0.85); }
}
@keyframes rcpCadenas {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-7deg); }
  60% { transform: rotate(6deg); }
}
.video-card__play, .live-player__play, .test-player__play, .vp-play { animation: rcpPulse 2.4s ease-out infinite; }
@keyframes rcpPulse {
  0%   { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); }
  70%  { box-shadow: 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ---- Intervenants : portrait qui s'avance, halo ---- */
.speaker-card__photo, .speaker-card__avatar { transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.35s ease; }
.speaker-card__name { transition: color 0.25s ease; }
@media (hover: hover) {
  .speaker-card:hover .speaker-card__photo, .speaker-card:hover .speaker-card__avatar {
    transform: scale(1.07);
    filter: drop-shadow(0 10px 18px rgba(1, 162, 224, 0.4));
  }
  .speaker-card:hover .speaker-card__name { color: var(--pf-cyan); }
}

/* ---- Formulaires : champs qui s'éclairent, carte avec liseré dégradé ---- */
.form-card { position: relative; }
.form-card::before {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 4px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(90deg, var(--pf-navy), var(--pf-blue) 45%, var(--pf-cyan));
}
.input, .field input, .field select, .field textarea {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #a9bccb; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus {
  border-color: var(--pf-cyan);
  background-color: #fff;
  box-shadow: 0 0 0 4px rgba(1, 162, 224, 0.16), 0 4px 14px rgba(0, 97, 160, 0.08);
}
.field input[type="checkbox"], .field input[type="radio"], input[type="checkbox"], input[type="radio"] { accent-color: var(--pf-blue); }
.field label { transition: color 0.2s ease; }
.field:focus-within > label { color: var(--pf-blue); }

/* Messages (succès, erreur, file d'attente) : arrivée en douceur */
.alert, .form-message, .connexion-etat { animation: rcpMessage 0.4s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes rcpMessage { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---- Cartes des pages membres (étapes, accès, ressources) ---- */
.esp-step, .esp-access__card, .ress-card, .st-card, .replay-download {
  transition: transform 0.28s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}
@media (hover: hover) {
  .esp-step:hover, .esp-access__card:hover, .ress-card:hover {
    transform: translateY(-5px);
    border-color: rgba(1, 162, 224, 0.5);
    box-shadow: 0 18px 40px rgba(0, 97, 160, 0.16);
  }
}

/* ---- Pied de page ---- */
.site-footer a { transition: color 0.2s ease, opacity 0.2s ease; }
.site-footer__links a { position: relative; text-decoration: none; }
.site-footer__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.site-footer__links a:hover::after, .site-footer__links a:focus-visible::after { transform: scaleX(1); }

/* ---- Écrans tactiles : retour visuel au toucher ---- */
@media (hover: none) {
  .video-card:active, .speaker-card:active, .esp-step:active, .esp-access__card:active, .ress-card:active { transform: scale(0.985); }
}

/* ---- Moins d'animations demandé par l'appareil : tout ce qui boucle est arrêté ---- */
@media (prefers-reduced-motion: reduce) {
  .hero__aura, .rcp-ripple { display: none; }
  .section-picto, .video-card__play, .live-player__play, .test-player__play, .vp-play,
  .hero--interne .hero__surtitle, .hero--interne h1, .hero--interne p,
  .alert, .form-message, .connexion-etat, .countdown__num.is-tick { animation: none; }
  .btn::after, .btn--header::after, .esp-btn::after, .video-card__poster::after { display: none; }
  .section__head.reveal:not(.is-visible) h2::after { transform: none; }
}

/* ---- Correctif mobile (audit du 02/10/2026) : depuis l'agrandissement des logos, le cartouche
   blanc en haut à gauche recouvrait le titre centré de la vignette. Le titre et la mention
   « connectez-vous » passent en bas à gauche, sous le cartouche ; le bouton reste en bas à droite. ---- */
@media (max-width: 600px) {
  .video-card__poster,
  .video-card--feature .video-card__poster {
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    gap: 0.3rem;
    padding: 0.9rem 4.6rem 0.9rem 0.95rem;
  }
  .video-card__poster .video-card__title { margin: 0; text-align: left; font-size: 0.98rem; }
  .video-card__poster .video-card__lock-label { font-size: 0.68rem; text-align: left; }
}


/* ============================================================================
   18. FENÊTRE VIDÉO RÉELLE (vidéo de test) — octobre 2026
   Le lecteur remplit toute la zone 16:9, sans marge. Tant que la lecture vidéo n'est pas
   acceptée (bandeau cookies), un bouton propose d'afficher le lecteur.
   ============================================================================ */
.modal__player { position: relative; }
.modal__player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.modal__porte { display: flex; flex-direction: column; align-items: center; gap: 0.9rem; max-width: 34rem; padding: 0 0.5rem; }
.modal__porte p { margin: 0; color: #cfe1f1; font-size: 0.82rem; line-height: 1.5; }
.modal__porte .btn { background: #fff; color: var(--pf-blue); }
.modal__porte .btn:hover { background: #fff; color: var(--pf-navy, #12416D); }

/* =========================================================================
   MENU DU PROFIL (octobre 2026) : un bouton en haut à droite ouvre un petit menu
   (mes informations, changer mon mot de passe, préférences cookies, déconnexion).
   ========================================================================= */
.user-menu { position: relative; }
.user-menu__bouton {
  display: flex; align-items: center; gap: 0.65rem; padding: 0.35rem 0.5rem 0.35rem 0.35rem;
  background: transparent; border: 1px solid transparent; border-radius: 999px; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
  transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.2s ease;
}
.user-menu__bouton:hover, .user-menu.is-ouvert .user-menu__bouton {
  background: #f1f6fb; border-color: #d7e4f0; box-shadow: 0 6px 18px rgba(2, 39, 71, 0.08);
}
.user-menu__bouton:focus-visible { outline: 3px solid var(--pf-cyan); outline-offset: 2px; }
.user-menu__sous { font-size: 0.78rem; color: var(--pf-blue); font-weight: 600; }
.user-menu__roue {
  display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  background: #e8f2fa; color: var(--pf-blue); transition: transform 0.4s ease, background-color 0.18s ease;
}
.user-menu__roue svg { width: 18px; height: 18px; }
.user-menu__bouton:hover .user-menu__roue, .user-menu.is-ouvert .user-menu__roue { transform: rotate(60deg); background: var(--pf-blue); color: #fff; }
.user-menu__panneau {
  position: absolute; right: 0; top: calc(100% + 0.5rem); z-index: 300; width: 320px; max-width: calc(100vw - 2rem);
  background: #fff; border: 1px solid #dbe6f0; border-radius: 16px; padding: 0.5rem;
  box-shadow: 0 22px 60px rgba(2, 39, 71, 0.22);
  transform-origin: top right; animation: menuProfil 0.18s ease-out both;
}
@keyframes menuProfil { from { opacity: 0; transform: translateY(-6px) scale(0.97); } to { opacity: 1; transform: none; } }
.user-menu__entete { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.7rem 0.8rem; margin-bottom: 0.35rem; border-bottom: 1px solid #eef2f6; }
.user-menu__avatar--grand { width: 48px; height: 48px; font-size: 1.05rem; }
.user-menu__qui { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.user-menu__qui strong { color: var(--pf-navy); font-size: 0.95rem; }
.user-menu__qui span { color: #5a6b7a; font-size: 0.8rem; overflow-wrap: anywhere; }
.user-menu__item {
  display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.6rem 0.7rem; border-radius: 10px;
  color: var(--pf-navy); text-decoration: none; font: inherit; font-weight: 600; font-size: 0.9rem;
  background: none; border: 0; cursor: pointer; text-align: left;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.user-menu__item svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--pf-blue); }
.user-menu__item span { display: flex; flex-direction: column; line-height: 1.25; }
.user-menu__item small { font-weight: 500; font-size: 0.76rem; color: #6b7c8c; }
.user-menu__item:hover, .user-menu__item:focus-visible { background: #eef5fc; text-decoration: none; outline: none; }
.user-menu__item:focus-visible { box-shadow: inset 0 0 0 2px var(--pf-cyan); }
.user-menu__item--sortie { margin-top: 0.3rem; border-top: 1px solid #eef2f6; border-radius: 0 0 10px 10px; color: #b4232f; }
.user-menu__item--sortie svg { color: #b4232f; }
.user-menu__item--sortie:hover, .user-menu__item--sortie:focus-visible { background: #fdecee; }
@media (prefers-reduced-motion: reduce) { .user-menu__panneau { animation: none; } .user-menu__roue { transition: none; } }

/* =========================================================================
   BANDEAU ET PANNEAU DES COOKIES (octobre 2026)
   ========================================================================= */
.cookie-banner__ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #e8f2fa; color: var(--pf-blue); }
.cookie-banner__ico svg { width: 24px; height: 24px; }
.cookie-banner__text strong { color: var(--pf-navy); }
@media (max-width: 760px) { .cookie-banner__ico { display: none; } }

.cmodal { align-items: center; }
.cmodal__overlay { background: rgba(2, 39, 71, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; transition: opacity 0.22s ease; }
.cmodal.is-ouvert .cmodal__overlay { opacity: 1; }
.cmodal__card {
  width: min(620px, 100%); max-height: calc(100vh - 2rem); overflow-y: auto; outline: none;
  padding: 1.5rem 1.6rem 1.3rem; border-radius: 20px; border-top: 0;
  box-shadow: 0 30px 80px rgba(2, 39, 71, 0.35);
  opacity: 0; transform: translateY(14px) scale(0.98); transition: opacity 0.22s ease, transform 0.25s cubic-bezier(.2, .7, .2, 1);
}
.cmodal.is-ouvert .cmodal__card { opacity: 1; transform: none; }
.cmodal__tete { display: flex; align-items: flex-start; gap: 0.9rem; margin-bottom: 1rem; }
.cmodal__ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--nav-grad); color: #fff; box-shadow: 0 8px 20px rgba(0, 97, 160, 0.28); }
.cmodal__ico svg { width: 26px; height: 26px; }
.cmodal__titres { flex: 1 1 auto; min-width: 0; }
.cmodal__title { font-size: 1.3rem; color: var(--pf-navy); margin: 0.1rem 0 0.3rem; }
.cmodal__intro { margin: 0; font-size: 0.88rem; color: #3d4f5f; }
/* La croix : un bouton rond et discret (plus de carré de focus inattendu à l'ouverture). */
.cmodal__close {
  position: static; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: inline-grid; place-items: center;
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569; cursor: pointer; padding: 0; font-size: 0; line-height: 0;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.25s ease;
}
.cmodal__close svg { width: 18px; height: 18px; }
.cmodal__close:hover { background: #e2e8f0; color: var(--pf-navy); transform: rotate(90deg); }
.cmodal__close:focus-visible { outline: 3px solid var(--pf-cyan); outline-offset: 2px; }
.cmodal__sovereign { display: flex; align-items: center; gap: 0.6rem; border-left: 0; border-radius: 12px; background: #eef7fc; color: #0b4f70; font-size: 0.84rem; padding: 0.65rem 0.85rem; margin: 0 0 1rem; }
.cmodal__sovereign svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--pf-cyan); }
.cmodal__cats { display: grid; gap: 0.6rem; }
.ccat {
  display: flex; align-items: center; gap: 0.85rem; padding: 0.85rem 0.95rem; border: 1px solid #e2e8f0; border-radius: 14px;
  background: #fff; cursor: pointer; transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
label.ccat:hover { border-color: #b9d4ea; box-shadow: 0 8px 22px rgba(2, 39, 71, 0.08); transform: translateY(-1px); }
.ccat.is-on { border-color: #9cc9e8; background: linear-gradient(180deg, #f3f9fe, #fff); }
.ccat--fixe { cursor: default; background: #f8fafc; }
.ccat__ico { flex: 0 0 auto; display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #eef2f6; color: #64748b; transition: background-color 0.2s ease, color 0.2s ease; }
.ccat__ico svg { width: 21px; height: 21px; }
.ccat.is-on .ccat__ico { background: #e1f0fa; color: var(--pf-blue); }
.ccat--fixe .ccat__ico { background: #e7f6ec; color: #23864a; }
.ccat__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 0.15rem; }
.ccat__titre { font-weight: 700; color: var(--pf-navy); }
.ccat__desc { font-size: 0.8rem; line-height: 1.45; color: #5a6b7a; }
.ccat__droite { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 0.3rem; }
.ccat__etat { font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: #94a3b8; white-space: nowrap; }
.ccat.is-on .ccat__etat { color: var(--pf-blue); }
.ccat__etat--fixe { padding: 0.25rem 0.6rem; border-radius: 999px; background: #e7f6ec; color: #23864a; }
.ccat .cswitch { width: 50px; height: 28px; }
.ccat .cswitch__slider::before { width: 22px; height: 22px; }
.ccat .cswitch input:checked + .cswitch__slider { background: var(--pf-blue); }
.cmodal__resume { margin: 0.85rem 0 0.9rem; font-size: 0.84rem; color: #3d4f5f; min-height: 1.3em; }
.cmodal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.55rem; }
.cmodal__actions .cmodal__btn { width: 100%; min-width: 0; padding: 12px 14px; font-size: 0.82rem; }
.cmodal__actions .cmodal__btn--save { grid-column: 1 / -1; background: #fff; color: var(--pf-blue); border: 2px solid #b9d4ea; }
.cmodal__actions .cmodal__btn--save.is-pret { background: var(--pf-cyan); border-color: var(--pf-cyan); color: #fff; box-shadow: 0 8px 22px rgba(1, 162, 224, 0.32); }
.cmodal__policy { margin: 0.9rem 0 0; font-size: 0.78rem; color: #6b7c8c; line-height: 1.5; }
.cmodal__policy a { color: var(--pf-blue); font-weight: 600; }

/* Confirmation après un choix */
.ctoast {
  position: fixed; left: 50%; bottom: 1.4rem; z-index: 1100; transform: translate(-50%, 20px); opacity: 0;
  background: var(--pf-navy); color: #fff; padding: 0.75rem 1.1rem; border-radius: 12px; font-size: 0.9rem; font-weight: 600;
  box-shadow: 0 16px 40px rgba(2, 39, 71, 0.3); transition: opacity 0.25s ease, transform 0.25s ease; max-width: calc(100vw - 2rem);
}
.ctoast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Téléphone : le panneau monte du bas de l'écran. */
@media (max-width: 600px) {
  .cmodal { align-items: flex-end; padding: 0; }
  .cmodal__card { width: 100%; max-height: 92vh; border-radius: 20px 20px 0 0; padding: 1.2rem 1rem 1rem; transform: translateY(40px); }
  .cmodal__ico { width: 40px; height: 40px; }
  .cmodal__title { font-size: 1.12rem; }
  .ccat { padding: 0.75rem; gap: 0.65rem; }
  .ccat__ico { width: 34px; height: 34px; }
  .cmodal__actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cmodal__card, .cmodal__overlay, .ctoast, .ccat, .cmodal__close { transition: none; }
}
.cmodal__card { max-width: 620px; }
.ccat .cswitch input:checked + .cswitch__slider::before { transform: translateX(22px); }
/* Le menu du profil passe au-dessus de la bande de navigation (qui reste collée en haut au défilement). */
.site-header { position: relative; z-index: 60; }

/* =========================================================================
   VIDÉOS (octobre 2026) : cartes avec image d'aperçu, grande affiche, boutons.
   Composants : video_carte_html() et video_affiche_html() dans includes/videos.php.
   ========================================================================= */
/* Boutons « Lecture » : une pastille pleine (blanche) ou de verre. */
.vbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 48px; padding: .7rem 1.4rem;
  border-radius: 999px; border: 1.5px solid transparent; font: inherit; font-weight: 800; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s cubic-bezier(.2, .7, .2, 1), box-shadow .25s ease, background-color .2s ease, color .2s ease;
}
.vbtn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.vbtn--plein { position: relative; overflow: hidden; background: #fff; color: #022747; box-shadow: 0 10px 30px rgba(0, 0, 0, .28); }
.vbtn--plein svg { color: #0061A0; transition: transform .3s cubic-bezier(.2, .9, .25, 1.5); }
.vbtn--plein::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; pointer-events: none; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(1, 162, 224, 0), rgba(1, 162, 224, .22), rgba(202, 67, 146, .18), rgba(202, 67, 146, 0));
}
.vbtn--plein:hover::after, .vbtn--plein:focus-visible::after { animation: jeuReflet .8s ease-out; }
.vbtn--plein:hover svg, .vbtn--plein:focus-visible svg { transform: scale(1.2) translateX(2px); color: #fff; }
.vbtn.vbtn--plein:hover, .vbtn.vbtn--plein:focus-visible {
  color: #fff; background: linear-gradient(120deg, #0061A0 0%, #01A2E0 55%, #CA4392 130%); transform: translateY(-2px) scale(1.06);
  box-shadow: 0 16px 40px rgba(1, 162, 224, .5), 0 0 0 5px rgba(255, 255, 255, .25);
}
.vbtn--plein:active { transform: scale(.97); }
@keyframes jeuReflet { to { left: 120%; } }
.vbtn--plein:hover, .vbtn--plein:focus-visible { transform: translateY(-2px) scale(1.02); box-shadow: 0 16px 40px rgba(0, 0, 0, .34), 0 0 0 4px rgba(255, 255, 255, .2); color: #022747; text-decoration: none; }
.vbtn--verre { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .36); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.vbtn--verre:hover, .vbtn--verre:focus-visible { background: rgba(255, 255, 255, .26); transform: translateY(-2px); color: #fff; text-decoration: none; }
.vbtn--grand { min-height: 56px; padding: .85rem 1.9rem; font-size: 1.05rem; }
.vbtn--grand svg { width: 24px; height: 24px; }
.vbtn--inerte { cursor: default; opacity: .85; }
.vbtn--inerte:hover { transform: none; background: rgba(255, 255, 255, .14); }
.vbtn:focus-visible { outline: 3px solid #4CB7E3; outline-offset: 3px; }
.vbtn[hidden] { display: none; }

/* Motif de remplacement quand une vidéo n'a pas d'image : dégradé de la charte, trame de points, halo. */
.vcarte__motif {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 90% at 88% 8%, rgba(202, 67, 146, .5) 0%, rgba(202, 67, 146, 0) 60%),
    radial-gradient(70% 90% at 5% 100%, rgba(1, 162, 224, .55) 0%, rgba(1, 162, 224, 0) 60%),
    linear-gradient(135deg, #022747 0%, #0061A0 60%, #138EC8 100%);
}
.vcarte__motif::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .13) 1.2px, transparent 1.3px); background-size: 22px 22px; }

/* Grille de cartes */
.vgrille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.6rem; }
@media (max-width: 980px) { .vgrille { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vgrille { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; } }
.vrayon__tete { margin: 0 0 1.4rem; }
.vrayon__tete h2 { margin: 0 0 .3rem; font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--pf-navy); display: flex; align-items: center; gap: .7rem; }
.vrayon__tete h2::before { content: ""; width: 6px; height: 1.2em; border-radius: 3px; background: linear-gradient(180deg, #00A2E0, #C94191); }
.vrayon__tete p { margin: 0; color: #5a6b7a; max-width: 70ch; }
.vrayon__tete--suite { margin-top: .5rem; }

/* La carte */
.vcarte { position: relative; min-width: 0; display: flex; }
/* La boîte blanche de la carte (comme les cartes d'origine) : image, mention, texte, logo. C'est elle
   qui se soulève et s'incline sous la souris (--rx / --ry posés par main.js ; --leve / --zoom au survol). */
.vcarte__boite {
  position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; overflow: hidden; border-radius: 16px;
  background: #fff; border: 1px solid #e3ebf2; box-shadow: 0 10px 28px rgba(2, 39, 71, .12);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--leve, 0px)) scale(var(--zoom, 1));
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease, border-color .3s ease;
}
.vcarte__lien { display: flex; flex-direction: column; flex: 1 1 auto; color: inherit; text-decoration: none; }
.vcarte__lien:hover { text-decoration: none; color: inherit; }
.vcarte__lien:focus-visible { outline: 3px solid var(--pf-cyan); outline-offset: -3px; border-radius: 16px; }
/* MENTION DE CONFORMITÉ en pied de carte : le texte validé et le logo Pierre Fabre, côte à côte, sur un
   fond clair, signalés par un filet rouge. Sobre, mais toujours sous les yeux. */
.vcarte__mention {
  position: relative; flex: 0 0 auto; margin-top: auto; display: flex; align-items: center; gap: .9rem;
  padding: .65rem .9rem .65rem 1.15rem; background: #f6f9fc; border-top: 1px solid #e3ebf2;
}
.vcarte__mention::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--red); transition: width .25s ease; }
.vcarte__amm { margin: 0; flex: 1 1 auto; min-width: 0; font-size: .7rem; line-height: 1.45; color: #3b4a57; text-align: left; }
.vcarte__amm sup { font-size: .8em; color: var(--red); font-weight: 800; }
.vcarte__pf { display: block; flex: 0 0 auto; width: auto; height: 46px; padding: 2px 6px; border-radius: 8px; background: #fff; box-shadow: 0 1px 4px rgba(2, 39, 71, .12); }
.vcarte:hover .vcarte__mention::before { width: 6px; }
.vcarte__visuel {
  position: relative; flex: 0 0 auto; aspect-ratio: 16 / 9; overflow: hidden; background: #022747;
}
/* Un reflet qui suit la souris (--gx / --gy, posés par main.js). */
.vcarte__visuel::after {
  content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 46%);
}
.vcarte__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.vcarte__voile { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(1, 12, 24, .62) 0%, rgba(1, 12, 24, 0) 48%); transition: background-color .3s ease; }
/* BANDEAU DE CONFORMITÉ attaché sous une vidéo (lecteur, direct) : la mention hors AMM, toujours
   visible pendant la lecture, et « Proposé par Pierre Fabre » à son extrémité. */
.conformite { display: flex; align-items: stretch; background: var(--red); }
.conformite > p { flex: 1 1 auto; align-self: center; margin: 0; padding: .55rem 1rem; color: #fff; font-size: .78rem; line-height: 1.4; text-align: center; }
.conformite > p sup { font-size: .7em; }
.conformite__pf { flex: 0 0 auto; display: grid; place-items: center; padding: .3rem .95rem; background: #fff; }
.conformite__pf img { display: block; width: auto; height: 2.9rem; }
@media (max-width: 600px) {
  .conformite > p { font-size: .68rem; padding: .4rem .6rem; text-align: left; }
  .conformite__pf { padding: .25rem .55rem; }
  .conformite__pf img { height: 2.3rem; }
}

/* Bouton « Lecture » d'une carte : une pastille sobre, la même que sur la grande affiche.
   Elle monte au survol de la carte. */
.vcarte__lecture {
  position: absolute; left: 50%; top: 50%; display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  padding: .72rem 1.4rem .72rem 1.15rem; border-radius: 999px; background: rgba(255, 255, 255, .97); color: #022747;
  font-weight: 800; font-size: 1rem; letter-spacing: .01em; box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
  opacity: 0; transform: translate(-50%, -30%);
  transition: opacity .25s ease, transform .35s cubic-bezier(.2, .9, .25, 1.3), background-color .2s ease, color .2s ease, box-shadow .25s ease;
}
.vcarte__lecture svg { width: 17px; height: 17px; flex: 0 0 auto; color: #0061A0; transition: transform .3s cubic-bezier(.2, .9, .25, 1.5), color .2s ease; }
.vcarte__duree { position: absolute; right: .7rem; bottom: .7rem; background: rgba(1, 12, 24, .82); color: #fff; font-size: .76rem; font-weight: 800; padding: .22rem .55rem; border-radius: 7px; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.vcarte__avance { position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255, 255, 255, .3); }
.vcarte__avance[hidden] { display: none; }
.vcarte__avance span { display: block; height: 100%; background: linear-gradient(90deg, #00A2E0, #C94191); border-radius: 0 3px 3px 0; }
.vcarte__texte { padding: .8rem 1rem .85rem; }
.vcarte__rubrique { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pf-blue); margin-bottom: .25rem; }
.vcarte__titre { margin: 0; font-size: 1.06rem; line-height: 1.3; color: var(--pf-navy); font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s ease; }
.vcarte__desc { margin: .35rem 0 0; font-size: .87rem; line-height: 1.5; color: #5a6b7a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vcarte__reprise { display: inline-flex; align-items: center; margin-top: .55rem; font-size: .76rem; font-weight: 800; color: #0b6b96; background: #e6f6fd; border-radius: 999px; padding: .2rem .7rem; }
.vcarte__reprise[hidden] { display: none; }
@media (hover: hover) {
  .vcarte:hover .vcarte__boite, .vcarte:focus-within .vcarte__boite { --leve: -6px; --zoom: 1.02; box-shadow: 0 26px 54px rgba(2, 39, 71, .26); border-color: #cfe0ee; }
  .vcarte:hover .vcarte__visuel::after { opacity: 1; }
  .vcarte__lien:hover .vcarte__img, .vcarte__lien:focus-visible .vcarte__img { transform: scale(1.07); }
  .vcarte__lien:hover .vcarte__lecture, .vcarte__lien:focus-visible .vcarte__lecture { opacity: 1; transform: translate(-50%, -50%); }
  /* La souris sur la pastille elle-même : elle grossit et prend les couleurs vives de la charte. */
  .vcarte__lien .vcarte__lecture:hover {
    transform: translate(-50%, -50%) scale(1.14); color: #fff;
    background: linear-gradient(120deg, #0061A0 0%, #01A2E0 55%, #CA4392 130%);
    box-shadow: 0 16px 40px rgba(1, 162, 224, .55), 0 0 0 5px rgba(255, 255, 255, .28);
  }
  .vcarte__lien .vcarte__lecture:hover svg { color: #fff; transform: translateX(2px) scale(1.2); }
  .vcarte__lien:active .vcarte__lecture { transform: translate(-50%, -50%) scale(1.04); }
  .vcarte__lien:hover .vcarte__voile { background-color: rgba(1, 12, 24, .22); }
  .vcarte__lien:hover .vcarte__titre { color: var(--pf-blue); }
}
/* Écrans tactiles : pas de survol, le bouton de lecture est toujours là, plus discret, en bas à gauche. */
@media (hover: none) {
  .vcarte__lecture { opacity: 1; transform: none; top: auto; left: .7rem; bottom: .7rem; padding: .38rem .8rem .38rem .65rem; font-size: .78rem; gap: .35rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); }
  .vcarte__lecture svg { width: 13px; height: 13px; }
}
/* PAS ENCORE EN LIGNE : la même carte, aux couleurs vives de la charte, avec un cadenas.
   Au survol : la carte se soulève, ses halos glissent, un éclat la traverse, le cadenas se secoue
   (il est bien fermé) et la pastille s'allume. Au clic : un « non » de la tête et un mot d'explication. */
.vcarte--avenir { cursor: default; }
.vcarte--avenir .vcarte__motif {
  background:
    radial-gradient(55% 85% at 50% 50%, rgba(202, 67, 146, .6), rgba(202, 67, 146, 0) 62%) 135% -45% / 90% 110% no-repeat,
    radial-gradient(60% 90% at 50% 50%, rgba(120, 208, 245, .7), rgba(120, 208, 245, 0) 60%) -40% 150% / 95% 115% no-repeat,
    linear-gradient(120deg, #0061A0 0%, #138EC8 52%, #01A2E0 100%);
  transition: background-position 1s cubic-bezier(.2, .7, .2, 1);
}
.vcarte--avenir .vcarte__motif::after { background-image: radial-gradient(rgba(255, 255, 255, .22) 1.2px, transparent 1.3px); transition: background-position 1s cubic-bezier(.2, .7, .2, 1); }
.vcarte__eclat { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(105deg, rgba(255, 255, 255, 0) 36%, rgba(255, 255, 255, .42) 50%, rgba(255, 255, 255, 0) 64%); transform: translateX(-130%); }
.vcarte__cadenas {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 62px; height: 62px; margin: -46px 0 0 -31px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255, 255, 255, .2); color: #fff; border: 1px solid rgba(255, 255, 255, .55);
  transition: transform .35s cubic-bezier(.2, .9, .25, 1.4), background-color .25s ease, color .25s ease, box-shadow .35s ease, border-color .25s ease;
}
.vcarte__cadenas svg { width: 26px; height: 26px; transform-origin: 50% 70%; }
.vcadenas__anse { transform-origin: 50% 100%; transform-box: fill-box; }
.vcarte__badge {
  position: absolute; z-index: 2; left: 50%; top: calc(50% + 30px); transform: translateX(-50%); white-space: nowrap; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(2, 39, 71, .5); padding: .34rem .9rem; border-radius: 999px;
  transition: transform .3s cubic-bezier(.2, .9, .25, 1.3), background-color .25s ease, color .25s ease, letter-spacing .3s ease, box-shadow .3s ease;
}
.vcarte--avenir .vcarte__titre { color: var(--pf-navy); }
@media (hover: hover) {
  .vcarte--avenir:hover .vcarte__boite { box-shadow: 0 28px 56px rgba(0, 97, 160, .34); }
  .vcarte--avenir:hover .vcarte__motif { background-position: 70% 20%, 25% 80%, 0 0; }
  .vcarte--avenir:hover .vcarte__motif::after { background-position: 22px 22px; }
  .vcarte--avenir:hover .vcarte__eclat { animation: vcarteEclat .9s cubic-bezier(.3, .6, .3, 1) 1; }
  .vcarte--avenir:hover .vcarte__cadenas { transform: scale(1.14); background: #fff; color: #0061A0; border-color: #fff; box-shadow: 0 0 0 9px rgba(255, 255, 255, .18), 0 16px 34px rgba(2, 39, 71, .32); }
  .vcarte--avenir:hover .vcarte__cadenas svg { animation: vcadenasSecoue .75s ease 1; }
  .vcarte--avenir:hover .vcadenas__anse { animation: vcadenasAnse .75s ease 1; }
  .vcarte--avenir:hover .vcarte__badge { transform: translate(-50%, 3px); background: #fff; color: #022747; letter-spacing: .14em; box-shadow: 0 10px 26px rgba(2, 39, 71, .3); }
  .vcarte--avenir:hover .vcarte__titre { color: var(--pf-blue); }
}
/* Clic (ou toucher) sur une carte pas encore en ligne : elle fait « non ». */
.vcarte--avenir.est-secouee .vcarte__boite { animation: vcarteNon .45s ease 1; }
.vcarte--avenir.est-secouee .vcarte__cadenas svg { animation: vcadenasSecoue .6s ease 1; }
.vcarte--avenir.est-secouee .vcadenas__anse { animation: vcadenasAnse .6s ease 1; }
@keyframes vcarteEclat { from { transform: translateX(-130%); } to { transform: translateX(130%); } }
@keyframes vcadenasSecoue { 0%, 100% { transform: rotate(0); } 14% { transform: rotate(-16deg); } 30% { transform: rotate(13deg); } 46% { transform: rotate(-9deg); } 62% { transform: rotate(6deg); } 80% { transform: rotate(-2deg); } }
@keyframes vcadenasAnse { 0%, 100% { transform: translateY(0); } 22% { transform: translateY(-2.2px); } 46% { transform: translateY(0); } 62% { transform: translateY(-1.2px); } }
@keyframes vcarteNon { 0%, 100% { translate: 0 0; } 20% { translate: -9px 0; } 40% { translate: 8px 0; } 60% { translate: -5px 0; } 80% { translate: 3px 0; } }
/* Le mot d'explication, en bas de l'écran. */
.rcp-mot {
  position: fixed; left: 50%; bottom: clamp(1rem, 4vh, 2.2rem); z-index: 60; max-width: min(92vw, 34rem); padding: .75rem 1.2rem; border-radius: 14px;
  background: #022747; color: #fff; font-size: .92rem; font-weight: 600; line-height: 1.4; text-align: center; box-shadow: 0 18px 44px rgba(2, 39, 71, .4);
  opacity: 0; transform: translate(-50%, 14px); transition: opacity .25s ease, transform .35s cubic-bezier(.2, .9, .25, 1.2); pointer-events: none;
}
.rcp-mot.est-la { opacity: 1; transform: translate(-50%, 0); }
/* Blocs « à venir » (infographies, diapositives) et bouton inerte de l'affiche : un peu de vie au survol. */
.ress-empty__ico, .ev-empty__ico { transition: transform .4s cubic-bezier(.2, .9, .25, 1.5), box-shadow .3s ease; }
.ress-empty:hover .ress-empty__ico, .ev-empty:hover .ev-empty__ico { transform: translateY(-6px) rotate(-8deg) scale(1.08); box-shadow: 0 14px 30px rgba(1, 162, 224, .3); }
.vbtn--inerte svg { transform-origin: 50% 70%; }
.vbtn--inerte:hover svg { animation: vcadenasSecoue .75s ease 1; }
@media (prefers-reduced-motion: reduce) {
  .vcarte__boite { transform: none; transition: none; }
  .vcarte__visuel::after, .vcarte__eclat { display: none; }
  .vcarte--avenir .vcarte__motif, .vcarte--avenir .vcarte__motif::after, .vcarte__cadenas, .vcarte__badge, .ress-empty__ico, .ev-empty__ico, .rcp-mot { transition: none; }
  .vcarte--avenir:hover .vcarte__cadenas svg, .vcarte--avenir:hover .vcadenas__anse, .vcarte--avenir.est-secouee .vcarte__boite, .vcarte--avenir.est-secouee .vcarte__cadenas svg, .vcarte--avenir.est-secouee .vcadenas__anse, .vbtn--inerte:hover svg { animation: none; }
}

/* La grande affiche (tête de la page Replay) */
.vhero { position: relative; overflow: hidden; background: #010c18; color: #fff; min-height: clamp(380px, 62vh, 660px); display: flex; align-items: flex-end; }
.vhero__fond { position: absolute; inset: 0; }
.vhero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; animation: vheroZoom 16s ease-out both; }
@keyframes vheroZoom { from { transform: scale(1.07); } to { transform: none; } }
.vhero__voile {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 12, 24, .95) 0%, rgba(1, 12, 24, .76) 34%, rgba(1, 12, 24, .18) 70%, rgba(1, 12, 24, 0) 100%),
    linear-gradient(0deg, rgba(1, 12, 24, .92) 0%, rgba(1, 12, 24, 0) 44%);
}
.vhero__contenu { position: relative; z-index: 1; width: min(100% - 3rem, var(--container-max)); margin-inline: auto; padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 5vw, 3.6rem); animation: vheroMonte .7s cubic-bezier(.2, .7, .2, 1) both; }
.vhero__contenu > * { max-width: 660px; }
@keyframes vheroMonte { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.vhero__surtitre { margin: 0 0 .7rem; display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #7fd3f5; }
.vhero__surtitre::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #00A2E0, #C94191); }
.vhero__titre { margin: 0 0 .8rem; font-size: clamp(1.8rem, 4.6vw, 3.5rem); line-height: 1.05; font-weight: 800; color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .5); text-wrap: balance; }
.vhero__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1.1rem; margin: 0 0 .9rem; font-size: .92rem; font-weight: 600; color: rgba(255, 255, 255, .86); }
.vhero__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.vhero__meta svg { width: 16px; height: 16px; }
.vhero__desc { margin: 0 0 1.5rem; font-size: clamp(.95rem, 1.4vw, 1.1rem); line-height: 1.6; color: rgba(255, 255, 255, .9); }
.vhero__actions { display: flex; flex-wrap: wrap; gap: .75rem; max-width: none; }
/* VIDÉO PAS ENCORE EN LIGNE : l'affiche aux couleurs de la charte (bleus, halo cyan, pointe de magenta),
   le texte à gauche, et à droite un « écran » incliné avec le logo, un cadenas et les intervenants. */
.vhero--avenir { background: #04182b; align-items: center; }
.vhero--avenir .vhero__fond .vcarte__motif {
  filter: none;
  background:
    radial-gradient(44% 64% at 78% 48%, rgba(1, 162, 224, .6), rgba(1, 162, 224, 0) 70%),
    radial-gradient(38% 56% at 100% 0%, rgba(202, 67, 146, .42), rgba(202, 67, 146, 0) 66%),
    radial-gradient(46% 60% at 0% 100%, rgba(0, 97, 160, .55), rgba(0, 97, 160, 0) 70%),
    linear-gradient(135deg, #04182b 0%, #063a66 50%, #0a67a8 100%);
}
.vhero--avenir .vhero__fond .vcarte__motif::after { -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 100%); mask-image: linear-gradient(90deg, transparent 30%, #000 100%); }
.vhero--avenir .vhero__voile { background: linear-gradient(90deg, rgba(3, 18, 33, .82) 0%, rgba(3, 18, 33, .46) 42%, rgba(3, 18, 33, 0) 72%); }
.vhero--avenir .vhero__contenu { padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.vhero--avenir .vhero__contenu > * { max-width: min(100%, 600px); }
.vhero__ecran {
  position: absolute; z-index: 1; top: 0; bottom: 18px; right: max(2.2rem, calc((100% - var(--container-max)) / 2 + 1rem)); width: min(40%, 540px);
  height: -moz-fit-content; height: fit-content; margin: auto 0;                  /* centré en hauteur, sans transformation (l'animation d'entrée s'en sert) */
  animation: vheroMonte .8s cubic-bezier(.2, .7, .2, 1) .12s both;
}
.vhero__ecran::before {       /* une seconde plaque, derrière, pour la profondeur */
  content: ""; position: absolute; inset: 0; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  transform: perspective(1400px) rotateY(-11deg) rotateX(3deg) translate(30px, 26px);
}
.vhero__ecran-cadre {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; border: 1px solid rgba(255, 255, 255, .28);
  background:
    radial-gradient(55% 85% at 50% 50%, rgba(202, 67, 146, .55), rgba(202, 67, 146, 0) 62%) 130% -40% / 90% 110% no-repeat,
    radial-gradient(60% 90% at 50% 50%, rgba(120, 208, 245, .7), rgba(120, 208, 245, 0) 60%) -35% 150% / 95% 115% no-repeat,
    linear-gradient(120deg, #0061A0 0%, #138EC8 52%, #01A2E0 100%);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
  transform: perspective(1400px) rotateY(calc(-11deg + var(--ry, 0deg))) rotateX(calc(3deg + var(--rx, 0deg)));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), background-position 1s cubic-bezier(.2, .7, .2, 1), box-shadow .5s ease;
}
.vhero__ecran-cadre::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .2) 1.2px, transparent 1.3px); background-size: 24px 24px; }
/* Le logo RCP, recadré sur son dessin (le fichier a de larges marges). */
.vhero__ecran-logo { --h: clamp(92px, 12vw, 168px); position: absolute; top: 50%; left: 50%; width: calc(var(--h) * .534); height: var(--h); margin: calc(var(--h) * -.54) 0 0 calc(var(--h) * -.267); overflow: hidden; filter: drop-shadow(0 8px 24px rgba(2, 39, 71, .4)); }
.vhero__ecran-logo img { display: block; width: auto; max-width: none; height: calc(var(--h) * 1.5293); margin: calc(var(--h) * -.2634) 0 0 calc(var(--h) * -.2634); }
.vhero__ecran-cadenas {
  position: absolute; top: 1rem; right: 1rem; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #022747; background: #fff;
  box-shadow: 0 10px 26px rgba(2, 39, 71, .35); transition: transform .35s cubic-bezier(.2, .9, .25, 1.4);
}
.vhero__ecran-cadenas svg { width: 22px; height: 22px; transform-origin: 50% 70%; }
/* Un faux fil de lecture, à l'arrêt au tout début : la vidéo n'a pas commencé. */
.vhero__ecran-fil { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.5rem; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .3); }
.vhero__ecran-fil i { position: absolute; left: 0; top: 50%; width: 13px; height: 13px; margin-top: -6.5px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px rgba(2, 39, 71, .4); }
.vhero__ecran-visages { position: absolute; left: 1.6rem; bottom: -40px; display: flex; }
.vhero__ecran-visages img { display: block; width: clamp(52px, 5.4vw, 72px); height: auto; border-radius: 50%; margin-left: -14px; box-shadow: 0 10px 26px rgba(0, 0, 0, .4); transition: transform .35s cubic-bezier(.2, .9, .25, 1.4); }
.vhero__ecran-visages img:first-child { margin-left: 0; }
@media (hover: hover) {
  .vhero--avenir:hover .vhero__ecran-cadre { background-position: 72% 18%, 22% 82%, 0 0; box-shadow: 0 50px 110px rgba(0, 0, 0, .5), 0 0 60px rgba(1, 162, 224, .35); }
  .vhero--avenir:hover .vhero__ecran-cadre .vcarte__eclat { animation: vcarteEclat 1s cubic-bezier(.3, .6, .3, 1) 1; }
  .vhero--avenir:hover .vhero__ecran-cadenas { transform: scale(1.1); }
  .vhero--avenir:hover .vhero__ecran-cadenas svg { animation: vcadenasSecoue .75s ease 1; }
  .vhero--avenir:hover .vhero__ecran-cadenas .vcadenas__anse { animation: vcadenasAnse .75s ease 1; }
  .vhero__ecran-visages img:hover { transform: translateY(-6px) scale(1.08); }
  .vhero--avenir:hover .vhero__ecran-visages img:nth-child(1) { transform: translateY(-4px); }
  .vhero--avenir:hover .vhero__ecran-visages img:nth-child(2) { transform: translateY(-4px); transition-delay: .05s; }
  .vhero--avenir:hover .vhero__ecran-visages img:nth-child(3) { transform: translateY(-4px); transition-delay: .1s; }
  .vhero--avenir:hover .vhero__ecran-visages img:nth-child(4) { transform: translateY(-4px); transition-delay: .15s; }
}
@media (max-width: 1020px) {
  .vhero__ecran { display: none; }
  .vhero--avenir .vhero__voile { background: linear-gradient(180deg, rgba(3, 18, 33, .5) 0%, rgba(3, 18, 33, .2) 100%); }
}
@media (prefers-reduced-motion: reduce) {
  .vhero__ecran { animation: none; }
  .vhero__ecran-cadre, .vhero__ecran-cadenas, .vhero__ecran-visages img { transition: none; }
  .vhero--avenir:hover .vhero__ecran-cadenas svg, .vhero--avenir:hover .vhero__ecran-cadenas .vcadenas__anse, .vhero--avenir:hover .vhero__ecran-cadre .vcarte__eclat { animation: none; }
}
.vrayon { padding-top: clamp(2rem, 4vw, 3rem); }
@media (max-width: 600px) {
  .vhero { min-height: 0; }
  .vhero__contenu { width: calc(100% - 2rem); padding-top: 6rem; }
  .vhero__voile { background: linear-gradient(0deg, rgba(1, 12, 24, .97) 0%, rgba(1, 12, 24, .78) 55%, rgba(1, 12, 24, .4) 100%); }
  .vhero__actions .vbtn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .vhero__fond img, .vhero__contenu { animation: none; }
  .vcarte__visuel, .vcarte__img, .vcarte__lecture, .vbtn, .vbtn svg { transition: none; }
  .vbtn--plein::after { animation: none !important; }
}

/* Page « introuvable » (404.html) */
.erreur-liens { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin: 1.4rem 0 1.6rem; }
