/* ==========================================================================
   GON Investor Day — couche « moderne » (2026-11-26)
   Fond sable, encre nuit, police Now (charte), titres en graisse moyenne, bandes « nuit »
   avec les arcs concentriques du visuel. Chargée après styles/refonte/popup.
   ========================================================================== */

:root {
  /* Couleurs de la charte (visuel Investor Day 2e édition) */
  --c-navy: #0a4179;
  --c-cyan: #3ca9d1;
  --c-slate: #345e74;
  --c-sky: #80d3f4;
  --c-teal: #00bca8;
  --c-lime: #c0e063;
  --c-orange: #ee9f1a;
  --c-tan: #c49162;
  --c-mauve: #926969;
  --c-grey: #3d3d3d;

  --m-paper: #ffffff;
  --m-paper-2: #f2f6fa;          /* voile du marine, pas de beige */
  --m-surface: #ffffff;
  --m-ink: var(--c-navy);
  --m-ink-2: var(--c-slate);
  --m-text: var(--c-grey);
  --m-navy: var(--c-navy);
  --m-night: #062c56;            /* marine de la charte, assombri */
  --m-night-2: var(--c-navy);
  --m-cyan: var(--c-cyan);
  --m-cyan-ink: var(--c-slate);
  --m-sand: var(--c-slate);
  --m-sand-tint: #e5f6fd;        /* bleu clair de la charte, en voile */
  --m-line: rgba(10, 65, 121, 0.12);
  --m-line-dark: rgba(255, 255, 255, 0.16);
  --m-on-dark: #ffffff;
  --m-on-dark-2: #c9e9f8;
  --f-display: 'Now', 'Century Gothic', -apple-system, 'Segoe UI', sans-serif;
  --f-sans: 'Now', 'Century Gothic', -apple-system, 'Segoe UI', sans-serif;
  --m-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --m-radius: 14px;

  /* on recâble les jetons existants */
  --font-sans: var(--f-sans);
  --color-primary: var(--m-navy);
  --color-primary-dark: var(--m-ink);
  --color-accent: var(--m-cyan-ink);
  --color-text: var(--m-ink);
  --color-text-light: var(--m-ink-2);
  --color-bg-gray: var(--m-paper);
  --gon-navy: var(--m-navy);
  --gon-ink: var(--m-ink);
  --gon-accent: var(--m-cyan-ink);
  --gon-tone-1: var(--m-paper);
  --gon-tone-2: var(--m-paper-2);
  --gon-muted: var(--m-ink-2);
}

html[lang="ar"] {
  --f-display: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
  --f-sans: 'IBM Plex Sans Arabic', Tahoma, sans-serif;
}

/* --- Base ---------------------------------------------------------------- */
html { scroll-padding-top: 96px; }
body {
  font-family: var(--f-sans);
  color: var(--m-ink);
  background: var(--m-paper);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
html[lang="ar"] body { font-family: var(--f-sans); }
::selection { background: rgba(128, 211, 244, 0.40); color: var(--m-ink); }
:focus-visible { outline: 2px solid var(--m-cyan-ink); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: #b8c8d8 var(--m-paper); scrollbar-width: thin; }
a { text-underline-offset: 0.2em; }

h1, h2, h3, h4 { text-wrap: balance; }

.container { max-width: 1200px; }

/* Titres de section : sans-serif, graisse moyenne, aligné au début, sans barre décorative */
.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-optical-sizing: auto;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--m-ink);
  text-align: start;
  padding: 0;
  margin: 0 0 clamp(2rem, 4vw, 3.5rem);
}
html[lang="ar"] .section-title { font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.section-title::after { display: none !important; }

.section { padding: clamp(4.5rem, 9vw, 8rem) 0; overflow-x: clip; }
.section--gray { background: var(--m-paper); }
.section--gray::before { display: none; }

.text-lead {
  font-size: clamp(1.125rem, 1.4vw, 1.3125rem);
  line-height: 1.7;
  color: var(--m-ink);
  text-align: start;
  max-width: 62ch;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}

/* --- En-tête ------------------------------------------------------------- */
.header {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--m-ease), background-color 0.4s var(--m-ease);
}
.header.scrolled { box-shadow: none; border-bottom-color: var(--m-line); background: rgba(255, 255, 255, 0.92); }
.nav-link {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--m-ink-2);
  position: relative;
  background: none !important;
}
.nav-link:not(.nav-link--live)::after {
  content: '';
  position: absolute;
  inset-inline: 0.75rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 0.45s var(--m-ease);
}
.nav-link:hover, .nav-link--active { color: var(--m-ink); }
.nav-link--active::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .nav-link:hover::after { transform: scaleX(1); } }
.nav-link--live,
.nav-link--live:hover {
  background: transparent !important;
  color: #b42318 !important;
  box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.35);
  animation: none;
  transform: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
}
.nav-link--live:hover { box-shadow: inset 0 0 0 1px rgba(180, 35, 24, 0.7); }
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #d92d20; flex: none; position: relative;
}
.live-dot::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #d92d20; animation: mLivePing 1.8s var(--m-ease) infinite;
}
@keyframes mLivePing { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(2.6); opacity: 0; } }

.lang-switch a { font-family: var(--f-sans); font-weight: 600; }

/* barre de progression de lecture */
.m-progress {
  position: fixed; inset-inline: 0; top: 0; height: 2px; z-index: 10003;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-teal), var(--c-lime), var(--c-orange));
  transform-origin: inline-start; transform: scaleX(0);
  pointer-events: none;
}

/* --- Héros --------------------------------------------------------------- */
.hero { overflow: hidden; background: #fff; }
.hero-banner { will-change: transform; transform-origin: 50% 30%; }

/* --- Bandes « nuit » ----------------------------------------------------- */
.countdown-section,
.section--event-title,
.participate {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--m-on-dark);
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(0, 188, 168, 0.14), transparent 60%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%);
}
.section--event-title::before { display: none; }

.fx-arcs {
  position: absolute;
  z-index: -1;
  inset-inline-end: -6vw;
  top: 50%;
  width: min(760px, 70vw);
  aspect-ratio: 1;
  translate: 0 -50%;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.12);
}
[dir="rtl"] .fx-arcs { transform: scaleX(-1); }
.fx-arcs circle { fill: none; stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.fx-arcs circle:nth-child(3n) { stroke: rgba(128, 211, 244, 0.40); }

/* Compte à rebours */
.countdown-section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.countdown-section .section-title {
  color: #fff;
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  letter-spacing: -0.025em;
}
.countdown-subtitle { color: var(--m-on-dark-2); font-weight: 500; }
.countdown { gap: 0; }
.countdown-item,
.countdown-item:hover {
  background: transparent;
  border-inline-start: 1px solid var(--m-line-dark);
  padding: 8px clamp(10px, 2vw, 28px);
  text-align: start;
}
.countdown-value {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums;
  color: #fff;
  display: block;
}
.countdown-label {
  color: var(--m-on-dark-2);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
html[lang="ar"] .countdown-label { letter-spacing: 0; text-transform: none; font-size: 0.95rem; }

/* --- Contexte : titre + texte en deux colonnes --------------------------- */
@media (min-width: 1024px) {
  #contexte .container {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  #contexte .section-title { margin: 0; position: sticky; top: 120px; }
}
#contexte .text-lead::first-line { font-weight: 600; }

/* --- Discours royal ------------------------------------------------------ */
.section--royal { background: var(--m-surface); color: var(--m-ink); }
.section--royal::before { display: none; }
.section--royal .section-title { color: var(--m-ink); text-shadow: none; text-align: start; }
.royal-card {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  max-width: none;
  overflow: visible;
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
}
@media (min-width: 960px) {
  .royal-card { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
}
.royal-card__header {
  display: grid;
  gap: 1.25rem;
  padding: 0;
  background: none;
  border: 0;
  grid-template-columns: 1fr;
  text-align: start;
}
.royal-card__image {
  width: 100%;
  max-width: 420px;
  height: auto;
  border: 0;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 48, 0.45);
  border-radius: var(--m-radius);
  overflow: hidden;
}
.royal-card__image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.royal-card__info { text-align: start; padding: 0; }
.royal-card__title { font-family: var(--f-display); font-weight: 400; font-size: 1.625rem; line-height: 1.2; color: var(--m-ink); letter-spacing: -0.015em; }
.royal-card__subtitle { color: var(--m-ink-2); }
.royal-card__date { color: var(--m-cyan-ink); font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.royal-card__occasion { color: var(--m-ink-2); font-style: normal; }
.royal-card__content { padding: 0; }
.royal-card__intro {
  background: none;
  border: 0;
  padding: 0;
  margin: 0;
  color: var(--m-ink);
  font-size: 1.0625rem;
}
.royal-card__intro p { color: var(--m-ink-2) !important; max-width: 62ch; margin: 0 0 1.1em; }
.royal-card__intro p:first-child {
  font-family: var(--f-display);
  font-style: italic !important;
  font-weight: 300;
  font-size: clamp(1.5rem, 2.4vw, 2.125rem) !important;
  line-height: 1.32 !important;
  letter-spacing: -0.015em;
  color: var(--m-ink) !important;
  margin-bottom: 1.4em;
}
html[lang="ar"] .royal-card__intro p:first-child { font-style: normal !important; font-weight: 500; letter-spacing: 0; line-height: 1.7 !important; }

/* --- Bloc titre de l'édition -------------------------------------------- */
.section--event-title { padding: clamp(5rem, 10vw, 9rem) 0; }
.event-title-card {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  max-width: 1000px;
  margin: 0;
  text-align: start;
}
.event-title-card::before, .event-title-card::after { display: none; }
.event-title-card__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-align: start;
  text-transform: none;
  margin: 0 0 2rem;
}
html[lang="ar"] .event-title-card__title { font-weight: 500; letter-spacing: 0; line-height: 1.3; }
.event-title-card__theme {
  color: var(--m-on-dark-2);
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.6;
  text-align: start;
  max-width: 58ch;
  margin: 0 0 2.5rem;
  background: none;
  border: 0;
  padding: 0;
}
.event-title-card__theme strong { color: var(--m-cyan); font-weight: 600; display: block; margin-bottom: 0.35rem; }
.event-title-card__details {
  display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: flex-start;
  border: 0; padding: 0; margin: 0;
}
.event-title-card__details p,
.event-title-card__location {
  display: inline-flex; align-items: center; gap: 0.6rem;
  margin: 0; padding: 0.7rem 1.1rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--m-line-dark);
  color: #fff; background: rgba(255, 255, 255, 0.04);
  font-size: 1rem;
}
.event-title-card__details strong, .event-title-card__location strong { color: #fff; font-weight: 600; }

.m-ico { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.event-title-card .m-ico { color: var(--m-cyan); }

/* --- Mot de la présidente ----------------------------------------------- */
.section--president { background: var(--m-paper); }
.president-card {
  background: transparent;
  box-shadow: none;
  border: 0;
  padding: 0;
  max-width: none;
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
@media (min-width: 900px) { .president-card { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.president-card__image {
  width: 100%; max-width: 460px; height: auto;
  border-radius: var(--m-radius); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(10, 22, 48, 0.45);
  border: 0;
}
.president-card__image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.president-card__content { padding: 0; text-align: start; }
.president-card__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.875rem, 3vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em;
  color: var(--m-ink); margin-bottom: 0.5rem;
}
html[lang="ar"] .president-card__name { font-weight: 500; letter-spacing: 0; }
.president-card__title { color: var(--m-cyan-ink); font-weight: 600; font-size: 1rem; margin-bottom: 1.5rem; }
.president-card__intro { color: var(--m-ink); font-size: 1.125rem; line-height: 1.75; max-width: 60ch; }

.btn--link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--m-ink); font-weight: 600;
  padding: 0; background: none;
  border-bottom: 1px solid currentColor; border-radius: 0;
  transition: color 0.2s var(--m-ease);
}
.btn--link:hover { color: var(--m-cyan-ink); text-decoration: none; }

/* --- Boutons ------------------------------------------------------------- */
.btn--primary, .btn-primary {
  background: var(--m-ink); color: #fff; border-radius: 10px; box-shadow: none;
  transition: background-color 0.3s var(--m-ease), transform 0.2s var(--m-ease);
}
.btn--primary:hover, .btn-primary:hover { background: var(--c-slate); transform: none; box-shadow: none; }
.btn:active { transform: scale(0.98); }

/* --- Agenda -------------------------------------------------------------- */
#programme.section--gray { background: var(--m-paper-2); }
.agenda-tabs { gap: 0; border-bottom: 1px solid var(--m-line); margin-bottom: 0; background: transparent; }
.agenda-tab,
.agenda-tab:hover {
  background: transparent;
  color: var(--m-ink-2);
  border-radius: 0;
  box-shadow: none;
  position: relative;
  transition: color 0.3s var(--m-ease), background-color 0.3s var(--m-ease);
}
.agenda-tab:hover { color: var(--m-ink); background: rgba(255, 255, 255, 0.45); }
.agenda-tab::after {
  content: ''; position: absolute; inset-inline: 0; bottom: -1px; height: 2px;
  background: var(--m-ink); transform: scaleX(0); transform-origin: inline-start;
  transition: transform 0.5s var(--m-ease);
}
.agenda-tab[aria-selected="true"] { background: transparent; color: var(--m-ink); }
.agenda-tab[aria-selected="true"]::after { transform: scaleX(1); }
.agenda-tab__day { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; letter-spacing: -0.015em; }
html[lang="ar"] .agenda-tab__day { font-weight: 600; letter-spacing: 0; }
.agenda-tab__theme { opacity: 1; color: inherit; font-size: 0.9375rem; }

.agenda-panel {
  background: var(--m-surface);
  border-radius: 0 0 var(--m-radius) var(--m-radius);
  box-shadow: 0 30px 60px -40px rgba(10, 22, 48, 0.35);
}
.agenda-panel__head { background: transparent; }
.agenda-panel__date { color: var(--m-sand); font-weight: 600; letter-spacing: 0.02em; }
.agenda-panel__theme {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(1.75rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -0.02em; color: var(--m-ink);
}
html[lang="ar"] .agenda-panel__theme { font-weight: 600; letter-spacing: 0; line-height: 1.35; }
.agenda-panel__sub { color: var(--m-ink-2); }
.agenda-slot { background: transparent; border-radius: 10px; border-bottom: 1px solid var(--m-line); transition: background-color 0.3s var(--m-ease); }
.agenda-slot:hover { background: var(--m-paper); }
.agenda-slot__time { color: var(--m-ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.agenda-slot__title { font-weight: 600; color: var(--m-ink); }
.agenda-slot__desc { color: var(--m-ink-2); font-size: 1rem; }
@media (max-width: 640px) {
  .agenda-tab__day { font-size: 1.125rem; }
  .agenda-tab__theme { font-size: 0.8125rem; }
}
.agenda-slot--key, .agenda-slot--key:hover { background: var(--m-sand-tint); border-bottom-color: transparent; }
.agenda-slot--key .agenda-slot__time { color: var(--m-sand); }
.agenda-slot--key .agenda-slot__title, .agenda-slot--key .agenda-slot__desc { color: var(--m-ink); }
.agenda-slot--pause .agenda-slot__title { color: var(--m-ink-2); }

/* --- Intervenants -------------------------------------------------------- */
#speakers { background: var(--m-paper); }
.speakers-grid { gap: clamp(2rem, 3vw, 3rem) clamp(1.25rem, 2.5vw, 2.25rem); padding: 0; max-width: none; }
.speaker-card,
.speaker-card:hover {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transform: none;
  overflow: visible;
}
.speaker-card__image {
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--m-radius);
  overflow: hidden;
  background: var(--m-paper-2);
}
.speaker-card__image img { transition: transform 1.1s var(--m-ease); object-position: top; }
@media (hover: hover) and (pointer: fine) { .speaker-card:hover .speaker-card__image img { transform: scale(1.045); } }
.speaker-card__content { background: transparent; padding: 1.1rem 0 0; text-align: start; }
.speaker-card__name {
  font-family: var(--f-display); font-weight: 400;
  font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; color: var(--m-ink);
}
html[lang="ar"] .speaker-card__name { font-weight: 600; letter-spacing: 0; }
.speaker-card__title { color: var(--m-cyan-ink); font-weight: 600; font-size: 0.9375rem; }
.speaker-card__bio { color: var(--m-ink-2); font-size: 1rem; line-height: 1.6; }

/* --- Participer ---------------------------------------------------------- */
.participate { padding: clamp(5rem, 10vw, 9rem) 0; }
.participate__title {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(2.25rem, 4.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; color: #fff;
}
html[lang="ar"] .participate__title { font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.participate__lead { color: var(--m-on-dark-2); font-size: 1.1875rem; }
.participate__btn {
  background: #fff; color: var(--m-ink);
  border-radius: 10px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 0.75rem;
  transition: background-color 0.2s var(--m-ease), transform 0.16s var(--m-ease);
}
.participate__btn::after { content: '→'; font-family: var(--f-sans); transition: transform 0.25s var(--m-ease); }
[dir="rtl"] .participate__btn::after { content: '←'; }
@media (hover: hover) and (pointer: fine) {
  .participate__btn:hover { background: var(--m-cyan); color: var(--m-ink); }
  .participate__btn:hover::after { transform: translateX(4px); }
  [dir="rtl"] .participate__btn:hover::after { transform: translateX(-4px); }
}
.participate__link { color: var(--m-on-dark-2); font-weight: 500; }
.participate__link:hover { color: #fff; }
.participate-card.inscription-card {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%);
  border-radius: var(--m-radius);
}
.participate-card.inscription-card h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.02em; }

/* --- Pied de page -------------------------------------------------------- */
.footer { background: var(--m-paper-2); color: var(--m-ink); border-top: 1px solid var(--m-line); }
.footer::before { display: none; }
.footer-title { font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; color: var(--m-ink); letter-spacing: -0.01em; }
.footer-title::after { display: none; }
.footer-text, .footer-bottom, .footer-bottom p { color: var(--m-ink-2); }
.footer-links { list-style: none; padding: 0; }
.footer-links li::marker { content: none; }
.footer-links a, .footer-contact a { color: var(--m-ink); }
.footer-links a:hover, .footer-contact a:hover { color: var(--m-cyan-ink); }
.footer-logo { border-radius: 8px; }

/* --- Pages intérieures -------------------------------------------------- */
.page-header {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%);
}
.page-header__title { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.03em; }
html[lang="ar"] .page-header__title { font-weight: 600; letter-spacing: 0; }
.e1-stats, .page-edition1 .section--cta {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%);
}
.e1-stats .stat-card__number { font-family: var(--f-display); font-weight: 300; }
.page-edition1 .section-title { font-family: var(--f-display); font-weight: 400; }
.page-edition1 .achievement-card { background: var(--m-surface); border-radius: var(--m-radius); }
.page-edition1 .achievement-card__title { font-family: var(--f-display); font-weight: 400; font-size: 1.5rem; color: var(--m-ink); }
.e1-icon { background: var(--m-sand-tint); color: var(--m-sand); border-radius: 12px; }
.page-edition1 .cta-card__title { font-family: var(--f-display); font-weight: 400; }

/* --- Pop-up « Save the date » ------------------------------------------- */
.save-date-popup { border-radius: 16px; border: 0; box-shadow: 0 30px 70px -30px rgba(10, 22, 48, 0.5); }
.save-date-popup__title { font-family: var(--f-display); font-weight: 400; font-size: 1.375rem; color: var(--m-ink); }
.save-date-popup__date { color: var(--m-sand); }
.save-date-popup__btn { border-radius: 10px; }
.save-date-popup__btn--primary { background: var(--m-ink); }
.save-date-popup__btn--primary:hover { background: var(--c-slate); }

/* --- Modales ------------------------------------------------------------- */
.modal-content { border-radius: 18px; }
.prose h2, .prose h3, .modal-content h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.015em; }

/* ==========================================================================
   Animations au scroll (activées par scroll-fx.js : html.fx)
   État par défaut : visible. On ne masque que si le JS tourne.
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  html.fx [data-fx] {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    filter: blur(6px);
    transition:
      opacity 0.9s var(--m-ease) var(--fx-d, 0ms),
      transform 1.1s var(--m-ease) var(--fx-d, 0ms),
      filter 0.9s var(--m-ease) var(--fx-d, 0ms);
  }
  html.fx [data-fx].is-in { opacity: 1; transform: none; filter: none; }

  /* titres : mot à mot, depuis un masque */
  html.fx .fx-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
  html.fx .fx-words .w > span {
    display: inline-block;
    transform: translate3d(0, 105%, 0);
    transition: transform 1s var(--m-ease) calc(var(--i, 0) * 55ms);
  }
  html.fx .fx-words.is-in .w > span { transform: none; }

  /* images : ouverture par le bas + léger dézoom */
  html.fx [data-fx-media] {
    clip-path: inset(18% 0 0 0 round var(--m-radius));
    transition: clip-path 1.3s var(--m-ease) var(--fx-d, 0ms);
  }
  html.fx [data-fx-media] img { transform: scale(1.14); transition: transform 1.6s var(--m-ease) var(--fx-d, 0ms); }
  html.fx [data-fx-media].is-in { clip-path: inset(0 0 0 0 round var(--m-radius)); }
  html.fx [data-fx-media].is-in img { transform: none; }
  @media (hover: hover) and (pointer: fine) { html.fx .speaker-card:hover [data-fx-media].is-in img { transform: scale(1.045); } }

  /* arcs : tracé à l'entrée */
  html.fx .fx-arcs circle {
    stroke-dasharray: var(--len) var(--len);
    stroke-dashoffset: var(--len);
    transition: stroke-dashoffset 2.4s var(--m-ease) calc(var(--i, 0) * 90ms);
  }
  html.fx .fx-arcs.is-in circle { stroke-dashoffset: 0; }

  /* agenda : créneaux en cascade à chaque changement de jour */
  html.fx .agenda-panel.fx-play .agenda-slot {
    animation: mSlotIn 0.7s var(--m-ease) both;
    animation-delay: calc(var(--i, 0) * 35ms);
  }
}
@keyframes mSlotIn { from { opacity: 0; transform: translate3d(0, 12px, 0); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  /* plus doux, pas nul : simple fondu, sans mouvement */
  html.fx [data-fx] { opacity: 0; transition: opacity 0.5s ease-out var(--fx-d, 0ms); }
  html.fx [data-fx].is-in { opacity: 1; }
  .live-dot::after { animation: none; }
  .hero-banner { transform: none !important; }
}

/* --- Contact / Live ------------------------------------------------------ */
.page-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--m-ink);
}
html[lang="ar"] .page-title { font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.video-placeholder {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%) !important;
  border-radius: var(--m-radius);
}
.video-placeholder__title { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.75rem, 3vw, 2.5rem); letter-spacing: -0.02em; }

/* --- Police Now (charte du visuel) : titres en Medium, pas de gras lourd --- */
.section-title, .countdown-section .section-title, .event-title-card__title, .participate__title,
.president-card__name, .agenda-panel__theme, .page-title, .page-header__title,
.participate-card.inscription-card h2, .page-edition1 .section-title, .page-edition1 .cta-card__title {
  font-weight: 500; letter-spacing: -0.025em;
}
.royal-card__title, .speaker-card__name, .agenda-tab__day, .footer-title, .save-date-popup__title,
.page-edition1 .achievement-card__title, .video-placeholder__title, .prose h2, .prose h3, .modal-content h2 {
  font-weight: 500; letter-spacing: -0.015em;
}
.countdown-value, .e1-stats .stat-card__number { font-weight: 300; letter-spacing: -0.03em; }
.royal-card__intro p:first-child { font-style: normal !important; font-weight: 400; letter-spacing: -0.015em; }
.agenda-slot__title, .speaker-card__title, .president-card__title, .royal-card__date { font-weight: 500; }
b, strong { font-weight: 600; }
html[lang="ar"] .section-title, html[lang="ar"] .event-title-card__title, html[lang="ar"] .participate__title,
html[lang="ar"] .president-card__name, html[lang="ar"] .agenda-panel__theme, html[lang="ar"] .page-title,
html[lang="ar"] .royal-card__intro p:first-child, html[lang="ar"] .countdown-value { letter-spacing: 0; }

/* Now a un œil plus petit : on remonte les tailles de lecture */
body { font-size: 1.125rem; }
.royal-card__intro, .royal-card__intro p { font-size: 1.125rem; }
.speaker-card__bio, .agenda-slot__desc, .president-card__intro { font-size: 1.0625rem; }
.speaker-card__title, .president-card__title, .agenda-slot__time, .royal-card__date { font-size: 1rem; }
.nav-link { font-size: 1rem; }

/* --- Charte : texte courant en gris de la charte, titres en marine --- */
body { color: var(--m-text); }
.text-lead, .president-card__intro, .royal-card__intro p, .agenda-slot__desc, .speaker-card__bio,
.footer-text, .footer-bottom p, .participate-card p { color: var(--m-text) !important; }
.royal-card__intro p:first-child { color: var(--c-navy) !important; }
.participate__lead, .countdown-subtitle, .event-title-card__theme { color: var(--m-on-dark-2) !important; }
/* arcs : une touche des couleurs du collage */
.fx-arcs circle:nth-child(4n+1) { stroke: rgba(128, 211, 244, 0.35); }
.fx-arcs circle:nth-child(4n+2) { stroke: rgba(0, 188, 168, 0.30); }
.fx-arcs circle:nth-child(4n+3) { stroke: rgba(192, 224, 99, 0.25); }
.fx-arcs circle:nth-child(4n) { stroke: rgba(238, 159, 26, 0.25); }
.e1-icon { background: var(--m-sand-tint); color: var(--c-navy); }
.event-title-card__theme strong { color: var(--c-sky); }
.participate__btn { color: var(--c-navy); }
@media (hover: hover) and (pointer: fine) { .participate__btn:hover { background: var(--c-sky); color: var(--c-navy); } }

/* --- Titres et informations clés en gras (Now Bold) --------------------- */
.section-title, .countdown-section .section-title, .event-title-card__title, .participate__title,
.president-card__name, .agenda-panel__theme, .page-title, .page-header__title,
.participate-card.inscription-card h2, .page-edition1 .section-title, .page-edition1 .cta-card__title,
.royal-card__title, .speaker-card__name, .agenda-tab__day, .footer-title, .save-date-popup__title,
.page-edition1 .achievement-card__title, .video-placeholder__title, .prose h2, .prose h3, .modal-content h2 {
  font-weight: 700;
  letter-spacing: -0.02em;
}
.countdown-value, .e1-stats .stat-card__number { font-weight: 700; letter-spacing: -0.03em; }
/* informations clés : dates, lieux, horaires, fonctions, intitulés */
.agenda-slot__time, .agenda-slot__title, .agenda-panel__date, .royal-card__date,
.speaker-card__title, .president-card__title, .event-title-card__theme strong,
.event-title-card__details strong, .event-title-card__location strong,
.save-date-popup__date, .countdown-label, .participate__lead strong, #contexte .text-lead::first-line {
  font-weight: 700;
}
.agenda-slot--pause .agenda-slot__title, .agenda-slot--pause .agenda-slot__time { font-weight: 500; }
b, strong { font-weight: 700; }
html[lang="ar"] .section-title, html[lang="ar"] .event-title-card__title, html[lang="ar"] .participate__title,
html[lang="ar"] .president-card__name, html[lang="ar"] .agenda-panel__theme, html[lang="ar"] .page-title,
html[lang="ar"] .speaker-card__name, html[lang="ar"] .countdown-value { font-weight: 600; letter-spacing: 0; }

/* --- Compte à rebours : tuiles façon tableau d'affichage ----------------- */
.countdown-section .fx-arcs { display: none; }
.countdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.4vw, 16px); }
.countdown-item,
.countdown-item:hover {
  position: relative;
  background: #fff;
  border: 0;
  border-radius: 16px;
  padding: clamp(18px, 2.4vw, 30px) 8px clamp(14px, 1.8vw, 22px);
  text-align: center;
  box-shadow: 0 24px 40px -24px rgba(2, 20, 45, 0.6);
  overflow: visible;
}
/* séparateurs « : » entre les tuiles */
.countdown-item + .countdown-item::before {
  content: ':';
  position: absolute;
  inset-inline-start: calc(clamp(8px, 1.4vw, 16px) / -2);
  top: 50%;
  translate: -50% -62%;
  color: var(--c-sky);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  line-height: 1;
}
[dir="rtl"] .countdown-item + .countdown-item::before { translate: 50% -62%; }
.countdown-value {
  color: var(--c-navy);
  font-weight: 700;
  font-size: clamp(2.5rem, 5.6vw, 5rem);
  line-height: 1;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  margin: 0 0 clamp(8px, 1vw, 12px);
  display: block;
  overflow: hidden;
}
.countdown-label {
  display: block;
  color: var(--c-slate);
  font-size: clamp(0.6875rem, 0.9vw, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
html[lang="ar"] .countdown-label { letter-spacing: 0; text-transform: none; font-size: 0.9375rem; }
/* la tuile des secondes porte la couleur d'accent */
.countdown-item:last-child .countdown-value { color: var(--c-cyan); }
.countdown-section .section-title { font-size: clamp(2rem, 3.8vw, 3.5rem); }
@media (prefers-reduced-motion: no-preference) {
  .countdown-value.is-tick { animation: mTick 0.32s cubic-bezier(0.23, 1, 0.32, 1); }
}
@keyframes mTick { from { opacity: 0.2; transform: translateY(28%); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
  .countdown { gap: 6px; }
  .countdown-item + .countdown-item::before { display: none; }
  .countdown-item, .countdown-item:hover { border-radius: 12px; padding: 16px 4px 12px; }
  .countdown-label { letter-spacing: 0.06em; }
}

/* --- Cercles animés : arcs ouverts qui tournent lentement ---------------- */
.fx-arcs circle {
  stroke-dasharray: var(--arc) var(--len);
  transform-box: view-box;
  transform-origin: 50% 50%;
  rotate: var(--start, 0deg);
}
@media (prefers-reduced-motion: no-preference) {
  .fx-arcs circle { animation: mSpin var(--spin, 90s) linear infinite var(--dir, normal); }
  html.fx .fx-arcs circle {
    stroke-dasharray: var(--arc) var(--len);
    stroke-dashoffset: var(--arc);
  }
  html.fx .fx-arcs.is-in circle { stroke-dashoffset: 0; }
}
@keyframes mSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* --- Édition 1 : bandeau sans photo, marine de la charte ----------------- */
.page-edition1 .page-header--photo {
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(60, 169, 209, 0.20), transparent 55%),
    radial-gradient(80% 80% at 0% 100%, rgba(0, 188, 168, 0.14), transparent 60%),
    linear-gradient(160deg, var(--m-night-2) 0%, var(--m-night) 70%) !important;
  isolation: isolate;
}
.page-edition1 .page-header--photo::before { display: none; }
.page-edition1 .page-header .fx-arcs { width: min(560px, 60vw); }

/* --- Contexte / Discours royal : deux sections bien distinctes ----------- */
#contexte { background: #fff; }
.section--royal { background: var(--m-paper-2); border-top: 1px solid var(--m-line); }

/* --- Slider : fixe (pas de parallaxe), image entière avec de la marge ---- */
.hero { background: #fff; }
.hero-banner {
  inset: clamp(20px, 3.5vw, 48px) clamp(12px, 2vw, 32px) !important;
  width: auto !important;
  height: auto !important;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transform: none !important;
  opacity: 1 !important;
  will-change: auto;
}

/* --- Discours royal : pas d'encadré blanc -------------------------------- */
.royal-card__content, .royal-card__intro { background: transparent !important; box-shadow: none; border: 0; padding: 0; }

/* --- Contact : informations resserrées, survol charte, carte ------------- */
.contact-form-container, .contact-info-container { border: 1px solid var(--m-line); box-shadow: none; transition: none; }
.contact-form-container:hover, .contact-info-container:hover { transform: none; box-shadow: none; }
.contact-info { gap: 4px; }
.contact-info-item {
  gap: 14px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  transition: background-color 0.2s var(--m-ease);
}
.contact-info-item:hover { background: var(--m-sand-tint); border-color: transparent; transform: none; }
.contact-icon { color: var(--c-cyan); width: 22px; height: 22px; margin-top: 3px; }
.contact-info-item h3 { font-size: 1rem; font-weight: 700; color: var(--c-navy); margin-bottom: 2px; }
.contact-info-item p { font-size: 1rem; line-height: 1.5; color: var(--m-text); margin: 0; }
.contact-info-item a { color: var(--c-navy); }
.contact-info-container .section-title { margin-bottom: 1.25rem; }
.contact-map { margin: 1.25rem 0 0; }
.contact-map iframe {
  display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 260px;
  border: 0; border-radius: 14px; background: var(--m-paper-2);
}
.contact-map figcaption { margin-top: 10px; font-size: 0.9375rem; }
.contact-map figcaption a { color: var(--c-navy); font-weight: 700; }

/* --- Contact : encadré « S'inscrire » blanc, pleine largeur ------------- */
.participate-card.inscription-card,
.participate-card.inscription-card:hover {
  background: #fff !important;
  color: var(--m-text);
  max-width: none !important;
  width: 100%;
  margin-inline: 0 !important;
  border: 1px solid var(--m-line);
  box-shadow: none;
  text-align: start;
  padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
  display: grid;
  gap: 8px 32px;
  align-items: center;
}
@media (min-width: 900px) {
  .participate-card.inscription-card { grid-template-columns: minmax(0, 1fr) auto; }
  .participate-card.inscription-card > :last-child { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
.participate-card.inscription-card h2 { color: var(--c-navy) !important; margin: 0; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.participate-card.inscription-card p { color: var(--m-text) !important; margin: 0; }
.participate-card.inscription-card .btn {
  background: var(--c-navy); color: #fff; border-radius: 10px; padding: 16px 28px; font-weight: 700;
}
.participate-card .btn:hover, .participate-card.inscription-card .btn:hover { background: var(--c-slate); color: #fff; }

/* --- Édition 1 : chiffres clés ------------------------------------------ */
.e1-stats { position: relative; isolation: isolate; overflow: hidden; color: #fff; padding: clamp(5rem, 9vw, 8rem) 0; }
.e1-stats .section-title { color: #fff; }
.e1-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 56px) 0;
  max-width: none;
}
@media (min-width: 960px) { .e1-stats .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.e1-stats .stat-card,
.e1-stats .stat-card:hover {
  --tone: var(--c-cyan);
  background: transparent;
  border: 0;
  border-inline-start: 1px solid var(--m-line-dark);
  border-radius: 0;
  box-shadow: none;
  transform: none;
  padding: 0 clamp(16px, 2.4vw, 32px) 18px;
  text-align: start;
  position: relative;
}
.e1-stats .stat-card:nth-child(2) { --tone: var(--c-teal); }
.e1-stats .stat-card:nth-child(3) { --tone: var(--c-lime); }
.e1-stats .stat-card:nth-child(4) { --tone: var(--c-orange); }
.e1-stats .e1-icon { background: none; width: auto; height: auto; margin: 0 0 18px; color: var(--tone); border-radius: 0; }
.e1-stats .e1-icon svg { width: 28px; height: 28px; }
.e1-stats .stat-card__number {
  font-weight: 700;
  font-size: clamp(3.5rem, 7.5vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums lining-nums;
  color: #fff;
  margin: 0 0 14px;
  white-space: nowrap;
}
.e1-stats .stat-card__number .plus { display: inline-block; color: var(--tone); font-size: 0.55em; vertical-align: 0.62em; margin-inline-start: 0.04em; }
.e1-stats .stat-card__label { color: var(--m-on-dark-2); font-size: 1.0625rem; font-weight: 700; line-height: 1.35; max-width: 16ch; }
/* trait de couleur qui se trace sous chaque chiffre */
.e1-stats .stat-card::after {
  content: '';
  position: absolute; inset-inline-start: clamp(16px, 2.4vw, 32px); bottom: 0;
  width: 56px; height: 3px; border-radius: 3px;
  background: var(--tone);
  transform-origin: left;
}
[dir="rtl"] .e1-stats .stat-card::after { transform-origin: right; }
@media (prefers-reduced-motion: no-preference) {
  html.fx .e1-stats .stat-card::after { transform: scaleX(0); transition: transform 1.4s var(--m-ease) calc(var(--fx-d, 0ms) + 500ms); }
  html.fx .e1-stats .stat-card.is-in::after { transform: scaleX(1); }
  /* à la fin du comptage, le « + » s'allume une fois */
  .e1-stats .stat-card__number.is-done .plus { animation: mPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
}
@keyframes mPop { 0% { transform: scale(0.6); opacity: 0.3; } 100% { transform: none; opacity: 1; } }
@media (max-width: 959px) {
  .e1-stats .stat-card:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .e1-stats .stat-card:nth-child(odd)::after { inset-inline-start: 0; }
}

/* --- Carte imposante, pleine largeur, sous le formulaire ----------------- */
.contact-map { margin: clamp(2.5rem, 5vw, 4rem) 0 0; }
.contact-map iframe {
  display: block; width: 100%;
  height: clamp(420px, 68vh, 720px); aspect-ratio: auto; min-height: 0;
  border: 0; border-radius: 18px; background: var(--m-paper-2);
  box-shadow: 0 40px 80px -48px rgba(6, 44, 86, 0.55);
}
.contact-map figcaption {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px;
  margin-top: 14px; font-size: 1rem;
}
.contact-map__place { color: var(--c-navy); font-weight: 700; }

/* --- Tous les boutons arrondis (forme pilule unique) --------------------- */
.btn:not(.btn--link), .btn-primary, .btn-tertiary, .participate__btn,
.save-date-popup__btn,
.cta-card .btn, .participate-card .btn, .participate-card.inscription-card .btn,
.video-placeholder button, .video-placeholder .btn, button[type="submit"],
.page-edition1 .cta-card .btn--secondary {
  border-radius: 999px !important;
}

/* --- Contact : la carte remplit la colonne des informations -------------- */
.contact-info-container { display: flex; flex-direction: column; }
.contact-info-container .contact-map { flex: 1 1 auto; display: flex; flex-direction: column; margin: 1.25rem 0 0; }
.contact-info-container .contact-map iframe {
  flex: 1 1 auto; height: auto; min-height: 340px;
  border-radius: 14px; box-shadow: none;
}
.contact-info-container .contact-map figcaption { margin-top: 12px; font-size: 0.9375rem; gap: 4px 16px; }

/* ==========================================================================
   2026-11-27 — slider pleine largeur, countdown verre liquide,
   mot de la présidente en entier, agenda condensé, carte contact
   ========================================================================== */

/* --- 1. Slider : pleine largeur, image entière, au format de la slide ----- */
.hero {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1166 / 2000;            /* mobile : slide verticale */
  background: #fff;
}
@media (min-width: 768px) { .hero { aspect-ratio: 2000 / 886; } }
.hero-banner {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-size: cover !important;
  background-position: center !important;
}

/* --- 2. Compte à rebours : tuiles en verre liquide ---------------------- */
.countdown { position: relative; isolation: isolate; }
/* nappes de couleur de la charte qui dérivent derrière le verre */
.countdown::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -18% 4%;
  pointer-events: none;
  background:
    radial-gradient(28% 60% at 18% 40%, rgba(60, 169, 209, 0.85), transparent 70%),
    radial-gradient(24% 55% at 52% 70%, rgba(0, 188, 168, 0.70), transparent 70%),
    radial-gradient(22% 50% at 82% 30%, rgba(192, 224, 99, 0.55), transparent 70%),
    radial-gradient(18% 45% at 96% 80%, rgba(238, 159, 26, 0.45), transparent 70%);
  filter: blur(36px);
}
@media (prefers-reduced-motion: no-preference) {
  .countdown::after { animation: mLiquid 22s ease-in-out infinite alternate; }
}
@keyframes mLiquid {
  0%   { transform: translate3d(-3%, 2%, 0) scale(1); }
  50%  { transform: translate3d(2%, -4%, 0) scale(1.06); }
  100% { transform: translate3d(4%, 3%, 0) scale(0.97); }
}
.countdown-item,
.countdown-item:hover {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.06) 55%, rgba(255, 255, 255, 0.12) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.10),
    inset 0 0 24px rgba(255, 255, 255, 0.06),
    0 30px 60px -30px rgba(0, 10, 30, 0.65);
  overflow: hidden;
}
/* reflet spéculaire en haut de chaque tuile */
.countdown-item::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 55%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}
.countdown-item + .countdown-item::before { display: none; }
.countdown-value { color: #fff; position: relative; text-shadow: 0 2px 18px rgba(0, 20, 50, 0.25); }
.countdown-item:last-child .countdown-value { color: #fff; }
.countdown-item:last-child .countdown-label { color: var(--c-sky); }
.countdown-label { color: var(--m-on-dark-2); position: relative; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .countdown-item, .countdown-item:hover { background: rgba(20, 70, 120, 0.85); }
}

/* --- 3. Mot de la présidente en entier ---------------------------------- */
.president-card__intro.is-full { display: grid; gap: 0.9em; max-width: 68ch; }
.president-card__intro.is-full p { margin: 0; }
.president-card__intro.is-full p:first-child { font-weight: 700; color: var(--c-navy); }
.president-card__intro.is-full strong { color: var(--c-navy); font-weight: 700; }
@media (min-width: 1024px) {
  .section--president .president-card { align-items: start; }
  .section--president .president-card__image { position: sticky; top: 110px; }
}

/* --- 4. Agenda : trois dates bien visibles, lignes condensées ----------- */
.agenda-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
  border: 0;
  margin-bottom: clamp(16px, 2vw, 24px);
}
.agenda-tab,
.agenda-tab:hover {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: clamp(10px, 1.4vw, 18px);
  padding: clamp(14px, 1.6vw, 20px) clamp(14px, 1.8vw, 24px);
  background: #fff;
  color: var(--c-navy);
  border: 1px solid var(--m-line);
  border-radius: 18px;
  text-align: start;
  transition: background-color 0.25s var(--m-ease), border-color 0.25s var(--m-ease), color 0.25s var(--m-ease);
}
.agenda-tab::after { display: none; }
@media (hover: hover) and (pointer: fine) {
  .agenda-tab:hover { border-color: var(--c-cyan); background: var(--m-sand-tint); }
}
.agenda-tab[aria-selected="true"],
.agenda-tab[aria-selected="true"]:hover {
  background: var(--c-navy);
  border-color: var(--c-navy);
  color: #fff;
}
.agenda-tab__num {
  font-weight: 700;
  font-size: clamp(2.5rem, 4.4vw, 3.75rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums lining-nums;
  color: var(--c-cyan);
  flex: none;
}
.agenda-tab[aria-selected="true"] .agenda-tab__num { color: var(--c-sky); }
.agenda-tab__meta { display: grid; gap: 2px; min-width: 0; }
.agenda-tab__day {
  font-size: clamp(0.9375rem, 1.2vw, 1.0625rem) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.25;
}
.agenda-tab__day strong { font-weight: 700; }
.agenda-tab__theme {
  font-size: 0.8125rem !important;
  line-height: 1.3;
  opacity: 0.8;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* panneau : une seule colonne, en-tête compact */
.agenda-panel { display: block; background: #fff; border-radius: 18px; border: 1px solid var(--m-line); overflow: hidden; }
.agenda-panel[hidden] { display: none; }
.agenda-panel__head {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px;
  padding: 16px clamp(16px, 2vw, 24px) 12px !important;
  background: var(--m-paper-2) !important;
  border-bottom: 1px solid var(--m-line);
}
.agenda-panel__date { margin: 0; font-size: 0.875rem; color: var(--c-cyan); font-weight: 700; }
.agenda-panel__theme {
  margin: 0;
  font-size: clamp(1.0625rem, 1.5vw, 1.25rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
  color: var(--c-navy);
}
.agenda-panel__sub { margin: 0; font-size: 0.9375rem; flex-basis: 100%; }
.agenda-list { padding: 6px clamp(8px, 1.2vw, 14px) 12px !important; gap: 0; }
.agenda-slot,
.agenda-slot:hover {
  grid-template-columns: 8.25rem minmax(0, 1fr);
  gap: 16px;
  padding: 9px 12px;
  border-radius: 10px;
}
.agenda-slot__time { font-size: 0.9375rem !important; }
.agenda-slot__title { font-size: 1rem !important; line-height: 1.35; font-weight: 700 !important; }
.agenda-slot__desc { font-size: 0.9375rem !important; line-height: 1.45; margin-top: 2px; }
.agenda-slot--pause { padding-top: 7px; padding-bottom: 7px; }
.agenda-slot--pause .agenda-slot__title { font-weight: 500 !important; }
.agenda-slot .programme-item__speakers { margin-top: 4px; font-size: 0.875rem; }
@media (max-width: 640px) {
  .agenda-tab, .agenda-tab:hover { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px; border-radius: 14px; }
  .agenda-tab__num { font-size: 2rem; }
  .agenda-tab__day strong { display: block; }
  .agenda-tab__theme { display: none; }
  .agenda-slot, .agenda-slot:hover { grid-template-columns: 1fr; gap: 2px; padding: 9px 10px; }
}

/* --- 5. Contact : carte plus grande, colonnes équilibrées --------------- */
@media (min-width: 968px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) !important; gap: clamp(24px, 3vw, 40px) !important; }
}
.contact-info-container .contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 4px 8px;
}
.contact-info-container .contact-map { margin-top: 1rem; }
.contact-info-container .contact-map iframe { min-height: 420px; border-radius: 16px; }
.contact-info-container .contact-info-item:first-child { grid-column: 1 / -1; }
.contact-info-container .contact-info-item a { overflow-wrap: anywhere; }
@media (min-width: 968px) { .contact-info-container { padding: clamp(24px, 2.6vw, 36px) clamp(20px, 2.2vw, 28px) !important; } }

/* ==========================================================================
   2026-11-27 (b) — programme en frise, un jour à la fois
   ========================================================================== */

/* --- Programme : frise chronologique, trois journées côte à côte -------- */
.agenda-tabs[hidden] { display: none !important; }
.agenda-tab, .agenda-tab:hover { --day: var(--c-cyan); }
.agenda-tab__num { color: var(--day); }
.agenda-tab[aria-selected="true"],
.agenda-tab[aria-selected="true"]:hover { border-bottom: 4px solid var(--day); }
.agenda-tab[aria-selected="true"] .agenda-tab__num { color: var(--day); }

.agenda-panel { --day: var(--c-cyan); border-top: 4px solid var(--day); }
.agenda-panel__num { display: none; }
.agenda-panel__head { background: #fff !important; }
.agenda-panel__date { color: var(--day); }

/* la frise : un trait vertical, un carreau par créneau */
.agenda-list { position: relative; padding-inline-start: 40px !important; }
.agenda-list::before {
  content: '';
  position: absolute;
  top: 18px; bottom: 22px;
  inset-inline-start: 24px;
  width: 2px;
  background: var(--m-line);
}
.agenda-slot { position: relative; }
.agenda-slot::before {
  content: '';
  position: absolute;
  inset-inline-start: -20px;
  top: 15px;
  width: 10px; height: 10px;
  background: var(--day);
  box-shadow: 0 0 0 4px #fff;
}
.agenda-slot--pause::before { background: #fff; border: 2px solid var(--m-line); width: 10px; height: 10px; box-sizing: border-box; }
.agenda-slot--key::before { width: 14px; height: 14px; inset-inline-start: -22px; top: 13px; background: var(--c-navy); }
.agenda-slot--key,
.agenda-slot--key:hover { background: color-mix(in srgb, var(--day) 12%, #fff) !important; }
.agenda-slot--key .agenda-slot__time { color: var(--c-navy) !important; }

/* agenda : libellé « Jour 1 / 2 / 3 » et sous-titre de la journée */
.agenda-tab__kicker { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--day); }
html[lang="ar"] .agenda-tab__kicker { letter-spacing: 0; text-transform: none; font-size: 0.875rem; }
.agenda-panel__head { row-gap: 6px !important; }
.agenda-panel__sub { color: var(--m-text) !important; font-size: 0.9375rem !important; line-height: 1.45; max-width: 80ch; margin: 0 !important; }

/* --- Slider : cadré avec des marges, taille raisonnable ----------------- */
.hero {
  aspect-ratio: auto !important;
  height: auto !important;
  display: block !important;
  padding: clamp(16px, 3vw, 44px) clamp(16px, 4vw, 48px) clamp(20px, 3.5vw, 52px);
}
.hero-banner {
  position: relative !important;
  inset: auto !important;
  margin: 0 auto;
  aspect-ratio: 1166 / 2000;
  width: min(100%, 460px, calc((100svh - 240px) * 0.583)) !important;
  height: auto !important;
  background-size: contain !important;
}
@media (min-width: 768px) {
  .hero-banner {
    aspect-ratio: 2000 / 886;
    width: min(100%, 1080px, calc((100svh - 230px) * 2.257)) !important;
  }
}

/* slider : plus grand */
.hero { padding: clamp(12px, 2vw, 32px) clamp(10px, 3vw, 40px) clamp(16px, 2.6vw, 40px) !important; }
.hero-banner { width: min(100%, 560px, calc((100svh - 170px) * 0.583)) !important; }
@media (min-width: 768px) { .hero-banner { width: min(100%, 1360px, calc((100svh - 160px) * 2.257)) !important; } }

/* slider : pas de double marge sous le menu (le body réserve déjà sa place) */
.hero { margin-top: 0 !important; padding-top: clamp(36px, 4.8vw, 69px) !important; }

/* ==========================================================================
   Agenda — version sobre : une seule couleur, pas de carreaux ni de frise
   ========================================================================== */
.agenda-tab, .agenda-tab:hover,
.agenda-panel { --day: var(--c-navy) !important; }

/* onglets : texte sur fond blanc, filet sous l'onglet actif */
.agenda-tabs { gap: 0 !important; border-bottom: 1px solid var(--m-line) !important; margin-bottom: 0 !important; }
.agenda-tab,
.agenda-tab:hover,
.agenda-tab[aria-selected="true"],
.agenda-tab[aria-selected="true"]:hover {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px;
  color: var(--c-slate) !important;
  padding: 18px clamp(12px, 2vw, 28px) 16px !important;
  box-shadow: none !important;
}
.agenda-tab[aria-selected="true"],
.agenda-tab[aria-selected="true"]:hover { border-bottom-color: var(--c-navy) !important; color: var(--c-navy) !important; }
@media (hover: hover) and (pointer: fine) {
  .agenda-tab:hover { color: var(--c-navy) !important; }
}
.agenda-tab__num,
.agenda-tab[aria-selected="true"] .agenda-tab__num { color: inherit !important; font-weight: 300 !important; opacity: 0.9; }
.agenda-tab[aria-selected="true"] .agenda-tab__num { font-weight: 500 !important; opacity: 1; }
.agenda-tab__kicker { color: inherit !important; opacity: 0.7; }
.agenda-tab__theme { opacity: 0.75 !important; }

/* panneau : blanc, sans bordure de couleur */
.agenda-panel { border: 0 !important; border-radius: 0 !important; background: transparent !important; }
.agenda-panel__head {
  background: transparent !important;
  border-bottom: 1px solid var(--m-line) !important;
  padding: 26px 0 18px !important;
}
.agenda-panel__date { color: var(--c-slate) !important; font-weight: 500 !important; }
.agenda-panel__theme { color: var(--c-navy) !important; }

/* créneaux : lignes fines, heure à gauche, sans frise ni carreaux */
.agenda-list { padding: 0 !important; }
.agenda-list::before,
.agenda-slot::before { display: none !important; content: none !important; }
.agenda-slot,
.agenda-slot:hover,
.agenda-slot--key,
.agenda-slot--key:hover,
.agenda-slot--pause {
  background: transparent !important;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--m-line) !important;
  padding: 14px 0 !important;
  grid-template-columns: 9rem minmax(0, 1fr) !important;
  gap: 24px !important;
}
.agenda-slot__time { color: var(--c-slate) !important; font-weight: 500 !important; }
.agenda-slot__title { color: var(--c-navy) !important; }
.agenda-slot__desc { color: var(--m-text) !important; }
/* temps forts : simplement un trait fin à gauche du titre */
.agenda-slot--key .agenda-slot__time { color: var(--c-navy) !important; font-weight: 700 !important; }
.agenda-slot--key .agenda-slot__body { border-inline-start: 2px solid var(--c-navy); padding-inline-start: 14px; }
/* pauses : en retrait */
.agenda-slot--pause .agenda-slot__title,
.agenda-slot--pause .agenda-slot__time { color: #7b8794 !important; font-weight: 400 !important; }
@media (max-width: 640px) {
  .agenda-tab, .agenda-tab:hover,
  .agenda-tab[aria-selected="true"], .agenda-tab[aria-selected="true"]:hover { padding: 12px 6px 10px !important; }
  .agenda-slot, .agenda-slot:hover, .agenda-slot--key, .agenda-slot--key:hover, .agenda-slot--pause {
    grid-template-columns: 1fr !important; gap: 2px !important; padding: 12px 0 !important;
  }
}


/* agenda : sous-titre toujours sur sa propre ligne, programme dans un encadré */
.agenda-panel__sub { flex: 0 0 100% !important; max-width: none !important; }
.agenda {
  background: #fff;
  border: 1px solid var(--m-line);
  border-radius: 20px;
  padding: 6px clamp(16px, 3vw, 44px) clamp(14px, 2.4vw, 30px);
  box-shadow: 0 30px 60px -40px rgba(10, 65, 121, 0.35);
}
.agenda-slot:last-child { border-bottom: 0 !important; }
@media (max-width: 640px) { .agenda { border-radius: 14px; padding: 4px 14px 12px; } }

/* agenda : au survol, le soulignement prend la couleur cyan de la charte */
.agenda-tab { transition: color 0.2s var(--m-ease), border-color 0.2s var(--m-ease) !important; }
@media (hover: hover) and (pointer: fine) {
  .agenda-tab:hover,
  .agenda-tab[aria-selected="true"]:hover { border-bottom-color: var(--c-cyan) !important; }
}

/* agenda : marges intérieures plus généreuses */
.agenda { padding: clamp(12px, 1.6vw, 24px) clamp(24px, 4.5vw, 72px) clamp(24px, 3vw, 44px) !important; }
.agenda-slot, .agenda-slot:hover, .agenda-slot--key, .agenda-slot--key:hover, .agenda-slot--pause { padding-inline: 12px !important; }
.agenda-panel__head { padding-inline: 12px !important; }
@media (max-width: 640px) { .agenda { padding: 8px 18px 16px !important; } .agenda-slot, .agenda-slot:hover, .agenda-slot--key, .agenda-slot--key:hover, .agenda-slot--pause, .agenda-panel__head { padding-inline: 4px !important; } }

/* agenda : encadré seulement autour du programme de la journée, pas des onglets */
.agenda { background: transparent !important; border: 0 !important; border-radius: 0 !important; padding: 0 !important; box-shadow: none !important; }
.agenda-panel {
  background: #fff !important;
  border: 1px solid var(--m-line) !important;
  border-radius: 20px !important;
  padding: clamp(4px, 1vw, 12px) clamp(24px, 4.5vw, 64px) clamp(20px, 2.6vw, 36px) !important;
  margin-top: clamp(18px, 2vw, 28px);
  box-shadow: 0 30px 60px -40px rgba(10, 65, 121, 0.35);
}
@media (max-width: 640px) { .agenda-panel { border-radius: 14px !important; padding: 4px 16px 14px !important; } }

/* agenda : encadré en verre liquide, halos doux de la charte derrière */
.agenda { position: relative; isolation: isolate; }
.agenda::before {
  content: "";
  position: absolute; z-index: -1;
  inset: 90px -4% -40px;
  pointer-events: none;
  background:
    radial-gradient(30% 40% at 12% 22%, rgba(60, 169, 209, 0.38), transparent 70%),
    radial-gradient(26% 34% at 88% 48%, rgba(0, 188, 168, 0.28), transparent 70%),
    radial-gradient(30% 34% at 40% 88%, rgba(128, 211, 244, 0.40), transparent 70%);
  filter: blur(30px);
}
@media (prefers-reduced-motion: no-preference) { .agenda::before { animation: mLiquid 26s ease-in-out infinite alternate; } }
.agenda-panel {
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55)) !important;
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.9) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(10, 65, 121, 0.05), 0 30px 60px -36px rgba(10, 65, 121, 0.35) !important;
}
.agenda-panel .agenda-panel__head, .agenda-panel .agenda-slot { border-bottom-color: rgba(10, 65, 121, 0.10) !important; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .agenda-panel { background: #fff !important; } }

/* mobile : barre des dates collée sous le menu pendant le défilement du programme */
html, body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip !important; overflow-y: visible !important; } }
@media (max-width: 767px) {
  .agenda-tabs {
    position: sticky;
    top: var(--m-header-h, 78px);
    z-index: 40;
    margin-inline: -16px;
    padding-inline: 16px;
    background: rgba(242, 246, 250, 0.92);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
}

/* mobile : pas de cercles animés */
@media (max-width: 767px) { .fx-arcs { display: none !important; } }

/* mobile : programme en continu, 07 puis 08 puis 09, sans onglets */
@media (max-width: 767px) {
  .agenda-tabs { display: none !important; }
  .agenda-panel[hidden] { display: block !important; }
  .agenda-panel + .agenda-panel { margin-top: 28px; }
  .agenda-panel__date { font-size: 1rem !important; font-weight: 700 !important; color: var(--c-navy) !important; }
}

/* jour écrit hors de l'encadré (mobile), même forme que les onglets PC */
.agenda-daylabel { display: none; }
@media (max-width: 767px) {
  .agenda-panel, .agenda-panel[hidden] {
    background: transparent !important;
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
    border: 0 !important; box-shadow: none !important; padding: 0 !important;
    border-radius: 0 !important; overflow: visible !important;
  }
  .agenda-panel + .agenda-panel { margin-top: 36px; }
  .agenda-daylabel {
    display: flex; align-items: center; gap: 14px;
    padding: 0 4px 14px; color: var(--c-navy);
  }
  .agenda-daylabel .agenda-tab__num { font-size: 2.75rem; font-weight: 500 !important; line-height: .9; letter-spacing: -0.04em; opacity: 1; }
  .agenda-daylabel .agenda-tab__meta { display: grid; gap: 2px; }
  .agenda-daylabel .agenda-tab__kicker { opacity: .7; }
  .agenda-daylabel .agenda-tab__day { font-size: 1.0625rem !important; }
  .agenda-daylabel .agenda-tab__day strong { display: inline; font-weight: 700; }
  .agenda-panel__box {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.55));
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(10, 65, 121, 0.05), 0 30px 60px -36px rgba(10, 65, 121, 0.35);
    padding: 4px 20px 18px;
  }
  .agenda-panel__date { display: none !important; }
}

/* contact : formulaire condensé, champs courts deux par deux */
.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
}
.contact-form > * { grid-column: 1 / -1; }
.contact-form > .form-group:nth-child(-n+4) { grid-column: auto; }
.contact-form .form-group { margin: 0 !important; }
.contact-form .form-group label {
  font-size: 0.875rem !important; font-weight: 600;
  color: var(--c-slate); margin-bottom: 5px;
}
.contact-form .form-group input,
.contact-form .form-group textarea {
  padding: 10px 14px !important;
  font-size: 0.9375rem !important;
  border: 1px solid var(--m-line) !important;
  border-radius: 12px !important;
  background: #fff;
}
.contact-form .form-group input { height: 44px; }
.contact-form .form-group textarea { min-height: 120px; resize: vertical; }
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: var(--c-cyan) !important;
  box-shadow: 0 0 0 3px rgba(60, 169, 209, 0.18) !important;
}
.contact-form .form-error:empty { display: none; }
.contact-form .form-error { margin-top: 4px; font-size: 0.8125rem; }
.contact-form #submitBtn { margin-top: 4px; }
.contact-form-container .section-title { margin-bottom: 18px !important; }
@media (max-width: 479px) {
  .contact-form { grid-template-columns: 1fr; gap: 12px; }
}
/* le message occupe la hauteur restante : pas de vide sous le bouton */
@media (min-width: 968px) {
  .contact-form-container { display: flex; flex-direction: column; }
  .contact-form { flex: 1; grid-template-rows: auto auto auto 1fr auto auto auto; }
  .contact-form > .form-group:nth-child(6) { display: flex; flex-direction: column; }
  .contact-form > .form-group:nth-child(6) textarea { flex: 1; }
}
@media (min-width: 1024px) { .contact-form-container { padding: clamp(24px, 2.6vw, 36px) !important; } }

/* --- Live : encadré vidéo propre sur mobile et tablette ------------------- */
.video-container { border-radius: var(--m-radius); background: var(--m-night); box-shadow: 0 30px 60px -36px rgba(10, 65, 121, 0.45); }
@media (max-width: 1023px) {
  .live-section { min-height: 0; padding: 28px 0 48px !important; }
  .live-section .page-title { margin-bottom: 14px; }
  .live-info {
    display: flex; flex-wrap: wrap; justify-content: center;
    gap: 4px 20px; padding: 0 !important; margin: 0 auto 24px !important;
  }
  .live-info p { margin: 0; font-size: 0.9375rem !important; }
  /* l'encadré prend la hauteur de son contenu, au moins 16:9 */
  .video-placeholder { padding-bottom: 0 !important; aspect-ratio: 16 / 9; display: flex; }
  .video-placeholder__content {
    position: static !important; flex: 1;
    padding: clamp(28px, 6vw, 48px) 20px !important;
    gap: 10px;
  }
  .video-placeholder__icon { flex: none; width: 48px !important; height: 48px !important; margin: 0 0 4px !important; opacity: .85; }
  .video-placeholder__title { margin: 0 !important; font-size: clamp(1.5rem, 5vw, 2rem) !important; line-height: 1.15; }
  .video-placeholder__text { margin: 0 0 8px !important; max-width: 34ch; padding: 0 !important; line-height: 1.5; }
  .video-placeholder .btn, #loadVideoBtn { padding: 13px 28px !important; font-size: 0.9375rem !important; width: auto; min-height: 0; }
  .video-container { margin-bottom: 20px !important; }
  .live-fallback { margin: 0 !important; padding: 0 !important; }
}
@media (max-width: 1023px) { .video-placeholder { aspect-ratio: auto !important; height: auto !important; min-height: calc((100vw - 32px) * 0.5625); } }

/* --- Menu mobile/tablette : « Live » aligné sur les autres lignes ---------- */
@media (max-width: 768px) {
  .nav .nav-link--live,
  .nav .nav-link--live:hover {
    display: flex !important;
    width: 100%;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--m-line) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 18px 24px !important;
    color: #b42318 !important;
    font-weight: 600;
  }
  .nav .nav-link--live .live-dot { flex: none; }
  .nav .nav-link--live.nav-link--active { background: rgba(180, 35, 24, 0.06) !important; }
}

/* --- Live : en-tête resserré, la vidéo occupe l'écran --------------------- */
.live-section { min-height: 0 !important; padding: clamp(20px, 3vw, 36px) 0 clamp(32px, 4vw, 56px) !important; }
.live-section .page-title {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem) !important;
  line-height: 1.1 !important;
  margin: 0 0 10px !important;
}
.live-info {
  display: flex !important; flex-wrap: wrap; justify-content: center;
  gap: 2px 24px !important; padding: 0 !important;
  margin: 0 auto clamp(16px, 2vw, 24px) !important;
}
.live-info p { margin: 0 !important; line-height: 1.5; }
/* la vidéo : aussi large que l'écran le permet, en restant entière à l'écran */
.live-section .video-container {
  width: 100%;
  max-width: max(min(1400px, calc((100svh - 250px) * 16 / 9)), 640px) !important;
  margin: 0 auto 16px !important;
}
.live-fallback { margin: 0 !important; padding: 0 !important; }
@media (max-width: 767px) {
  .live-section .container { padding-inline: 12px; }
  .live-section .video-container { max-width: none !important; }
}

/* logos arrondis comme le reste du site */
.logo img, .header .logo img, .footer-logo { border-radius: 8px !important; background: #0a4179; padding: 4px 7px; box-sizing: border-box; object-fit: cover; }
.footer-logo { padding: 10px 15px; border-radius: 12px !important; }

/* slider : un peu plus d espace en bas */
.hero { padding-bottom: clamp(28px, 3.75vw, 54px) !important; }

/* ==========================================================================
   Fiche intervenant détaillée + page figée tant qu'une fenêtre est ouverte
   ========================================================================== */
html { scrollbar-gutter: stable; }
html.modal-open, html.modal-open body { overflow: hidden !important; }
.modal { overscroll-behavior: contain; }
.modal-content { overscroll-behavior: contain; }

#speakerModal { padding: clamp(12px, 3vw, 40px) !important; align-items: center; }
#speakerModal .modal-overlay { background: rgba(6, 30, 58, 0.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
#speakerModal .modal-content--speaker {
  width: 100%; max-width: 1040px; max-height: min(88svh, 760px);
  margin: 0; padding: 0 !important; overflow: hidden;
  border-radius: 22px; background: #fff;
  box-shadow: 0 40px 90px -30px rgba(0, 10, 30, 0.6);
  display: flex;
}
#speakerModal #speakerModalContent { display: flex; flex: 1; min-width: 0; }
#speakerModal .modal-close {
  z-index: 3; top: 14px; inset-inline-end: 14px; right: auto;
  width: 42px; height: 42px; font-size: 1.6rem; line-height: 1;
  background: rgba(255, 255, 255, 0.92); color: var(--c-navy);
  box-shadow: 0 4px 14px rgba(10, 65, 121, 0.18);
}
html:not([dir="rtl"]) #speakerModal .modal-close { right: 14px; }

.sfiche { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); width: 100%; min-height: 0; }
.sfiche__media { margin: 0; position: relative; background: var(--m-paper-2); min-height: 0; }
.sfiche__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.sfiche__media::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 30%;
  background: linear-gradient(180deg, transparent, rgba(10, 65, 121, 0.28));
}
.sfiche__body {
  display: flex; flex-direction: column;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 52px) clamp(22px, 3vw, 34px);
  overflow-y: auto; overscroll-behavior: contain; min-height: 0;
}
.sfiche__kicker {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 0 14px; padding-inline-end: 44px;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-cyan);
}
html[lang="ar"] .sfiche__kicker { letter-spacing: 0; font-size: 0.875rem; }
.sfiche__count { color: var(--c-slate); opacity: 0.7; font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.sfiche__name {
  margin: 0 !important; padding: 0 !important;
  font-family: var(--f-display); font-weight: 500 !important;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem) !important; line-height: 1.08 !important;
  letter-spacing: -0.02em; color: var(--c-navy) !important;
}
.sfiche__title { margin: 10px 0 0; font-size: clamp(1rem, 1.4vw, 1.125rem); line-height: 1.45; font-weight: 600; color: var(--c-slate); }
.sfiche__meta { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sfiche__meta li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  background: var(--m-sand-tint); color: var(--c-navy); font-size: 0.8125rem; font-weight: 600;
}
.sfiche__meta svg { width: 16px; height: 16px; fill: none; stroke: var(--c-cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sfiche__h {
  margin: 28px 0 10px !important; padding-top: 22px; border-top: 1px solid var(--m-line);
  font-family: inherit !important; font-size: 0.75rem !important; font-weight: 700 !important;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--c-slate) !important;
}
html[lang="ar"] .sfiche__h { letter-spacing: 0; font-size: 0.875rem !important; }
.sfiche__bio p { margin: 0 0 0.9em; font-size: 1rem; line-height: 1.75; color: var(--m-text); }
.sfiche__event { margin: auto 0 0; padding-top: 18px; font-size: 0.8125rem; color: var(--c-slate); opacity: 0.8; }
.sfiche__pager {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--m-line);
}
.sfiche__nav {
  display: grid; gap: 2px; text-align: start;
  padding: 10px 14px; border: 1px solid var(--m-line); border-radius: 14px; background: #fff;
  cursor: pointer; transition: border-color .2s var(--m-ease), background-color .2s var(--m-ease);
  font: inherit; color: var(--c-navy); min-width: 0;
}
.sfiche__nav--next { text-align: end; grid-column: 2; }
.sfiche__nav-label { font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--c-cyan); }
.sfiche__nav--prev .sfiche__nav-label::before { content: '← '; }
.sfiche__nav--next .sfiche__nav-label::after { content: ' →'; }
[dir="rtl"] .sfiche__nav--prev .sfiche__nav-label::before { content: '→ '; }
[dir="rtl"] .sfiche__nav--next .sfiche__nav-label::after { content: ' ←'; }
.sfiche__nav-name { font-size: 0.875rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) and (pointer: fine) {
  .sfiche__nav:hover { border-color: var(--c-cyan); background: var(--m-sand-tint); }
}
.sfiche__nav:focus-visible { outline: 2px solid var(--c-cyan); outline-offset: 2px; }

/* mobile / tablette : une seule colonne, la fiche défile à l'intérieur */
@media (max-width: 767px) {
  #speakerModal { padding: 0 !important; align-items: flex-end; }
  #speakerModal .modal-content--speaker {
    max-height: 92svh; border-radius: 22px 22px 0 0; display: block; overflow-y: auto;
  }
  #speakerModal #speakerModalContent { display: block; }
  .sfiche { display: block; }
  .sfiche__media { aspect-ratio: 4 / 3.4; }
  .sfiche__body { overflow: visible; padding: 24px 20px 22px; }
  .sfiche__name { font-size: 1.75rem !important; }
}
@media (prefers-reduced-motion: no-preference) {
  #speakerModal.active .modal-content--speaker { animation: sficheIn .42s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes sficheIn { from { opacity: 0; transform: translateY(18px) scale(.985); } to { opacity: 1; transform: none; } }
}

/* Bandeaux institutionnels sous le programme de chaque journée */
.agenda-partners { margin-top: 28px; padding: 18px 20px; background: #fff; border-radius: 16px; border: 1px solid var(--m-line, rgba(10,65,121,.12)); display: grid; gap: 14px; }
.agenda-partners img { display: block; width: 100%; height: auto; }
.agenda-partners img + img { padding-top: 14px; border-top: 1px dashed var(--m-line, rgba(10,65,121,.18)); }
@media (max-width: 767px) {
  .agenda-partners { margin-top: 20px; padding: 10px; border-radius: 12px; overflow-x: auto; }
  .agenda-partners img { width: auto; height: 120px; max-width: none; }
}
/* Bandeaux institutionnels : taille réduite */
.agenda-partners { margin-top: 20px; padding: 12px 16px; justify-items: center; }
.agenda-partners img { width: auto; max-width: min(100%, 680px); max-height: 96px; object-fit: contain; }
@media (max-width: 767px) {
  .agenda-partners { margin-top: 16px; padding: 8px 10px; overflow-x: visible; }
  .agenda-partners img { width: 100%; height: auto; max-width: 100%; max-height: 72px; }
}
/* 08 : bandeau des 6 organismes plus grand ; 09 : plus petit */
.agenda-partners--d1 img { max-width: min(100%, 920px); max-height: 130px; }
.agenda-partners--d2 img { max-height: 70px; }
@media (max-width: 767px) {
  .agenda-partners--d1 img { max-height: none; }
  .agenda-partners--d2 img { width: 70%; max-height: 40px; }
}
.agenda-partners--d0 img { max-width: min(100%, 790px); max-height: 110px; }
.agenda-partners--d1 img { max-width: min(100%, 840px); max-height: 117px; }
@media (max-width: 767px) { .agenda-partners--d0 img, .agenda-partners--d1 img { max-width: 100%; max-height: none; } }
.agenda-partners--d2 img { max-height: 86px; }
@media (max-width: 767px) { .agenda-partners--d2 img { width: 80%; max-height: 52px; } }

/* --- Slider v6 (30/11/2026) : bandeau PC 3,2:1, visuel mobile 9:16 --- */
.hero-banner { aspect-ratio: 3375 / 6000 !important; width: min(100%, 560px, calc((100svh - 170px) * 0.5625)) !important; }
@media (min-width: 768px) {
  .hero-banner { aspect-ratio: 12000 / 3750 !important; width: min(100%, 1600px, calc((100svh - 160px) * 3.2)) !important; }
}

/* --- Slider un peu plus grand (30/11/2026) : marges latérales réduites --- */
.hero { padding-left: clamp(6px, 1.2vw, 18px) !important; padding-right: clamp(6px, 1.2vw, 18px) !important; }
.hero-banner { width: min(100%, 580px, calc((100svh - 150px) * 0.5625)) !important; }
@media (min-width: 768px) {
  .hero-banner { width: min(100%, 1680px, calc((100svh - 140px) * 3.2)) !important; }
}

/* --- Slider v7 (30/11/2026) : images recadrées sur leur contenu (marges blanches retirées), plus grandes et nettes --- */
.hero-banner { aspect-ratio: 3051 / 5563 !important; width: min(100%, 600px, calc((100svh - 150px) * 0.5484)) !important; }
@media (min-width: 768px) {
  .hero-banner { aspect-ratio: 7341 / 3351 !important; width: min(100%, 1560px, calc((100svh - 190px) * 2.1907)) !important; }
}

/* --- Slider v8 (30/11/2026) : slider reconstruit en HTML (texte traduit + collage + logos), animation d'ouverture --- */
.hero-banner.hero-stage {
  --hs-ease: cubic-bezier(0.23, 1, 0.32, 1);
  background: none !important; aspect-ratio: auto !important; height: auto !important;
  width: min(100%, 1480px) !important; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  grid-template-areas: ". art" "head art" "place art" "logos art" ". art";
  grid-template-rows: 1fr auto auto auto 1fr;
  column-gap: clamp(28px, 4.2vw, 80px); color: var(--c-navy);
}
.hs-head { grid-area: head; }
.hs-art { grid-area: art; margin: 0; align-self: center; }
.hs-place { grid-area: place; }
.hs-logos { grid-area: logos; }
.hs-art img { display: block; width: 100%; height: auto; max-height: calc(100svh - 180px); object-fit: contain; }
.hs-region { margin: 0; font-size: clamp(17px, 2vw, 33px); font-weight: 500; letter-spacing: .28em; text-transform: uppercase; line-height: 1.2; }
.hs-title { margin: .2em 0 .28em; font-size: clamp(54px, 7.4vw, 124px); font-weight: 700; line-height: .9; letter-spacing: -.005em; text-transform: uppercase; color: var(--c-navy); }
.hs-title span { display: block; }
.hs-meta { margin: 0; font-size: clamp(14px, 1.42vw, 23px); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.hs-place { margin: clamp(18px, 2.4vw, 38px) 0 0; font-size: clamp(13px, 1.3vw, 21px); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; color: var(--c-cyan); line-height: 1.4; }
.hs-logos { position: relative; margin-top: clamp(16px, 2vw, 30px); padding-top: clamp(14px, 1.6vw, 24px);
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; }
.hs-logos::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 2px; background: var(--c-navy); transform-origin: left center; }
.hs-logos__group { min-width: 0; }
.hs-logos__group--part { border-inline-start: 2px dotted rgba(10, 65, 121, .45); padding-inline-start: clamp(10px, 1.2vw, 18px); margin-inline-start: clamp(10px, 1.2vw, 18px); }
.hs-logos__label { margin: 0 0 8px; font-size: clamp(10px, .78vw, 12.5px); font-weight: 700; color: #1d2530; letter-spacing: .01em; }
.hs-logos img { display: block; width: 100%; height: auto; }
.hs-logos__group--part img { margin-top: clamp(6px, 1vw, 16px); }
[dir="rtl"] .hs-region, [dir="rtl"] .hs-meta, [dir="rtl"] .hs-place, [dir="rtl"] .hs-logos__label { letter-spacing: 0; text-transform: none; }
[dir="rtl"] .hs-region { font-size: clamp(20px, 2.2vw, 36px); font-weight: 600; }
[dir="rtl"] .hs-meta { font-size: clamp(16px, 1.55vw, 25px); }
[dir="rtl"] .hs-place { font-size: clamp(15px, 1.45vw, 23px); }
[dir="rtl"] .hs-title { text-align: right; }
[dir="rtl"] .hs-logos::before { transform-origin: right center; }

@media (max-width: 767.98px) {
  .hero-banner.hero-stage { width: 100% !important; grid-template-columns: minmax(0, 1fr); grid-template-rows: none;
    grid-template-areas: "head" "art" "place" "logos"; }
  .hs-region { font-size: clamp(13px, 4.3vw, 20px); letter-spacing: .22em; }
  .hs-title { font-size: clamp(48px, 16.6vw, 84px); margin: .14em 0 .2em; }
  .hs-meta { font-size: clamp(11px, 3.3vw, 15px); letter-spacing: .06em; }
  .hs-art { margin-top: 18px; }
  .hs-art img { max-height: none; }
  .hs-place { margin-top: 16px; text-align: center; font-size: clamp(11px, 3.5vw, 15px); letter-spacing: .2em; }
  .hs-logos { grid-template-columns: minmax(0, 1fr); row-gap: 12px; }
  .hs-logos__group--part { border-inline-start: 0; margin-inline-start: 0; padding-inline-start: 0; border-top: 2px dotted rgba(10, 65, 121, .35); padding-top: 10px; }
  .hs-logos__label { font-size: 11px; }
  .hs-logos__group--part img { margin-top: 0; max-width: 86%; }
  [dir="rtl"] .hs-region { font-size: clamp(18px, 5.4vw, 24px); }
  [dir="rtl"] .hs-meta { font-size: clamp(14px, 4.2vw, 18px); }
}

/* Ouverture : le collage se révèle depuis le centre des arcs, les textes montent en cascade (une fois, au chargement) */
@media (prefers-reduced-motion: no-preference) {
  .hs-in { animation: hs-up 820ms var(--hs-ease) both; animation-delay: calc(260ms + var(--i, 0) * 90ms); }
  .hs-art img { animation: hs-reveal 1400ms var(--hs-ease) 60ms both; }
  .hs-logos::before { animation: hs-rule 900ms var(--hs-ease) 640ms both; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-in, .hs-art img { animation: hs-fade 300ms ease both; }
}
@keyframes hs-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes hs-reveal {
  from { opacity: .4; clip-path: circle(0% at 27% 46%); transform: scale(1.04); }
  to { opacity: 1; clip-path: circle(142% at 27% 46%); transform: none; }
}
@keyframes hs-rule { from { transform: scaleX(0); } to { transform: none; } }
@keyframes hs-fade { from { opacity: 0; } to { opacity: 1; } }
@media (min-width: 768px) { .hero-banner.hero-stage { padding-inline: clamp(8px, 2.2vw, 40px); box-sizing: border-box; } }
@media (max-width: 767.98px) { .hero-banner.hero-stage { padding-inline: 6px; box-sizing: border-box; } }
.hs-title { font-family: 'Now', system-ui, sans-serif !important; }

/* --- Slider : logos un à un, ordre imposé (1-4 ministères, 5 CDG, 6 CRI, 7 Cluster ENR), même ordre dans toutes les langues --- */
.hs-logos { display: block; }
.hs-logos__group--part { border-inline-start: 0 !important; margin-inline-start: 0 !important; padding-inline-start: 0 !important;
  margin-top: clamp(12px, 1.4vw, 20px); padding-top: clamp(10px, 1.2vw, 16px); border-top: 2px dotted rgba(10, 65, 121, .35); }
.hs-logos__row { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(8px, 1vw, 16px); max-width: 540px; }
.hs-logos__row--part { gap: clamp(16px, 2.4vw, 36px); max-width: 500px; }
.hs-logos__row li { min-width: 0; }
.hs-logos__row img, .hs-logos__group--part .hs-logos__row img { display: block; width: 100%; height: auto; margin: 0; max-width: none; }
@media (max-width: 767.98px) {
  .hs-logos__row { max-width: none; gap: 8px; }
  .hs-logos__row--part { gap: 18px; max-width: 92%; }
}

/* --- Slider v9 (30/11/2026) : texte calé sur la largeur de la ligne, ligne fine, slider un peu plus petit, ouverture en mosaïque --- */
.hero-banner.hero-stage { --hs-col: clamp(340px, 33vw, 520px); width: min(100%, 1340px) !important;
  grid-template-columns: minmax(0, var(--hs-col)) minmax(0, 1fr); column-gap: clamp(32px, 5.5vw, 104px); }
.hs-art img { max-height: calc(100svh - 240px); }
.hs-line { display: block; overflow: hidden; padding-block: .05em; margin-block: -.05em; }
.hs-fit { display: inline-block; white-space: nowrap; }
.hs-title { line-height: .95; margin: .12em 0 .16em; }
.hs-title .hs-line { display: block; }
.hs-title .hs-fit { display: inline-block; }
.hs-region, .hs-meta, .hs-place { white-space: nowrap; }
.hs-place { margin-top: clamp(14px, 1.8vw, 28px); }
.hs-logos { display: block; }
.hs-logos::before { height: 1px; }
.hs-logos__group--part { border-top-width: 1px !important; }
.hs-logos__row, .hs-logos__row--part { max-width: none; }
.hs-logos__row--part { gap: clamp(18px, 2.6vw, 40px); }
[dir="rtl"] .hs-region, [dir="rtl"] .hs-meta, [dir="rtl"] .hs-place { white-space: normal; }
@media (max-width: 767.98px) {
  .hero-banner.hero-stage { --hs-col: 100%; grid-template-columns: minmax(0, 1fr); }
  .hs-place { text-align: start; }
  .hs-art img { max-height: none; }
  .hs-logos__row--part { max-width: none; gap: 16px; }
}

/* Mosaïque d'ouverture (cases créées par hero-stage.js, retirées après l'animation) */
.hs-art { position: relative; }
.hs-tiles { position: absolute; inset: 0; pointer-events: none; }
.hs-tiles span { position: absolute; width: calc(100% / var(--cols) + 1px); height: calc(100% / var(--rows) + 1px);
  background: #fff; animation: hs-tile 760ms var(--hs-ease) var(--d, 0ms) both; }
@keyframes hs-tile { from { opacity: 1; transform: scale(1.02); } to { opacity: 0; transform: scale(.35); } }

/* Nouvelle cascade : chaque ligne sort de sous sa propre ligne, la ligne bleue se trace, puis les logos dans l'ordre 1 → 7 */
@media (prefers-reduced-motion: no-preference) {
  .hero-stage .hs-art img { animation: hs-settle 1800ms var(--hs-ease) both; }
  .hero-stage .hs-line > .hs-fit { animation: hs-rise 950ms var(--hs-ease) both; animation-delay: calc(260ms + var(--i, 0) * 110ms); }
  .hero-stage .hs-logos::before { animation: hs-rule 1000ms var(--hs-ease) 820ms both; }
  .hero-stage .hs-logos__label { animation: hs-up 700ms var(--hs-ease) 980ms both; }
  .hero-stage .hs-logos__row li { animation: hs-up 700ms var(--hs-ease) both; animation-delay: calc(1040ms + var(--j, 0) * 70ms); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage .hs-line > .hs-fit, .hero-stage .hs-logos__row li, .hero-stage .hs-art img { animation: hs-fade 300ms ease both; }
}
@keyframes hs-rise { from { transform: translateY(112%); } to { transform: none; } }
@keyframes hs-settle { from { transform: scale(1.035); } to { transform: none; } }

/* --- Logos côte à côte, trait pointillé vertical sur toute la hauteur du bloc (du haut des intitulés au bas des logos) --- */
@media (min-width: 768px) {
  .hs-logos { display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr); align-items: stretch; }
  .hs-logos__group--part { display: flex; flex-direction: column; margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important;
    border-inline-start: 1px dotted rgba(10, 65, 121, .55) !important;
    margin-inline-start: clamp(10px, 1.2vw, 18px) !important; padding-inline-start: clamp(10px, 1.2vw, 18px) !important; }
  .hs-logos__row--part { flex: 1; align-items: center; gap: clamp(8px, 1vw, 14px); }
  .hs-logos__row { gap: clamp(6px, .8vw, 12px); }
}
@media (min-width: 768px) { .hs-logos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* Logos du slider agrandis (02/12/2026) : la ligne bleue garde la largeur du texte, le bloc des logos peut être plus large */
.hs-logos::before { inset-inline-end: auto !important; inset-inline-start: 0; width: var(--hs-rule, 100%); }
.hs-logos { max-width: none; }
.hs-logos__label { font-size: clamp(11px, .9vw, 14px); }
/* Logos agrandis : les deux groupes l'un sous l'autre, chacun sur toute la largeur */
@media (min-width: 768px) {
  .hs-logos { display: block !important; }
  .hs-logos__group--part { display: block !important; border-inline-start: 0 !important; margin-inline-start: 0 !important; padding-inline-start: 0 !important;
    border-top: 1px dotted rgba(10, 65, 121, .55) !important; margin-top: clamp(10px, 1.1vw, 16px) !important; padding-top: clamp(10px, 1.1vw, 16px) !important; }
  .hs-logos__row { gap: clamp(10px, 1.2vw, 20px) !important; }
  .hs-logos__row--part { gap: clamp(22px, 2.6vw, 44px) !important; max-width: 88%; }
}
/* Logos sur une seule ligne, aussi grands que possible (02/12/2026) : la rangée passe sous le texte et le collage, sur toute la largeur */
@media (min-width: 768px) {
  .hero-banner.hero-stage { grid-template-areas: ". art" "head art" "place art" ". art" "logos logos" !important; grid-template-rows: 1fr auto auto 1fr auto !important; }
  .hs-logos { display: flex !important; align-items: stretch; width: 100% !important; max-width: none; --hs-rule: 100% !important; margin-top: clamp(12px, 1.4vw, 22px) !important; }
  .hs-logos__group--egide { flex: 1210 1 0; min-width: 0; }
  .hs-logos__group--part { flex: 1200 1 0; min-width: 0; display: flex !important; flex-direction: column;
    border-top: 0 !important; margin-top: 0 !important; padding-top: 0 !important;
    border-inline-start: 1px dotted rgba(10, 65, 121, .55) !important; margin-inline-start: clamp(12px, 1.4vw, 24px) !important; padding-inline-start: clamp(12px, 1.4vw, 24px) !important; }
  .hs-logos__row { gap: clamp(8px, 1vw, 16px) !important; max-width: none !important; }
  .hs-logos__row--part { flex: 1; align-items: center; gap: clamp(14px, 1.8vw, 30px) !important; max-width: none !important; }
}
@media (min-width: 768px) { .hs-logos { max-width: 960px !important; } }
/* Bandeau de logos sur toute la largeur du slider, logos à taille modérée (02/12/2026) */
@media (min-width: 768px) {
  .hs-logos { max-width: none !important; }
  .hs-logos__group--egide, .hs-logos__group--part { flex: 1 1 0 !important; }
  .hs-logos__row, .hs-logos__row--part { justify-content: space-between; }
  .hs-logos__row li, .hs-logos__row--part li { flex: 0 1 auto !important; }
  .hs-logos__group--egide .hs-logos__row img { width: auto !important; height: clamp(48px, 5vw, 80px) !important; max-width: 100%; object-fit: contain; }
  .hs-logos__row--part img { width: auto !important; height: clamp(22px, 2.25vw, 36px) !important; max-width: 100%; object-fit: contain; }
}

/* 2026-12-02 : bouton S'inscrire dans le menu */
.nav .nav-link.nav-link--cta, .nav-link.nav-link--cta { background: var(--c-navy) !important; color: #fff !important; border-radius: 999px; padding: .55em 1.15em; transition: background-color .2s ease; }
.nav-link.nav-link--cta::after { display: none; }
.nav .nav-link.nav-link--cta:hover, .nav-link.nav-link--cta:hover { background: #072f59 !important; color: #fff !important; }

/* 2026-12-02 : bandeau de logos du slider, logos plus grands et resserrés */
@media (min-width: 768px) {
  .hs-logos { justify-content: flex-start; gap: clamp(20px, 2.6vw, 44px); }
  .hs-logos__group--egide, .hs-logos__group--part { flex: 0 1 auto !important; }
  .hs-logos__row, .hs-logos__row--part { justify-content: flex-start !important; gap: clamp(14px, 1.6vw, 26px) !important; }
  .hs-logos__group--egide .hs-logos__row img { height: clamp(62px, 6.6vw, 108px) !important; }
  .hs-logos__row--part img { height: clamp(30px, 3.1vw, 50px) !important; }
  .hs-logos__label { font-size: clamp(12px, 1vw, 15px); }
}

/* 2026-12-02 (2) : logos répartis jusqu'au bout de la ligne ; CDG, CRI et Cluster ENR de même taille visuelle */
@media (min-width: 768px) {
  .hs-logos { justify-content: space-between; }
  .hs-logos__group--egide, .hs-logos__group--part { flex: 1 1 0 !important; }
  .hs-logos__row, .hs-logos__row--part { justify-content: space-between !important; }
  .hs-logos__row--part { --ph: clamp(30px, 2.9vw, 48px); }
  .hs-logos__row--part li:nth-child(1) img { height: calc(var(--ph) * 1.83) !important; }
  .hs-logos__row--part li:nth-child(2) img { height: calc(var(--ph) * 1.09) !important; }
  .hs-logos__row--part li:nth-child(3) img { height: var(--ph) !important; }
}

/* 2026-12-02 (3) : les 7 logos à la même taille visuelle (surface égale), répartis jusqu'au bout de la ligne */
@media (min-width: 768px) {
  .hs-logos { --u: clamp(54px, 6.4vw, 96px); }
  .hs-logos__group--egide { flex: 4.6 1 0 !important; }
  .hs-logos__group--part { flex: 5.6 1 0 !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(1) img { height: calc(var(--u) * .985) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(2) img { height: calc(var(--u) * .778) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(3) img { height: calc(var(--u) * .913) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(4) img { height: calc(var(--u) * .894) !important; }
  .hs-logos__row--part li:nth-child(1) img { height: calc(var(--u) * .808) !important; }
  .hs-logos__row--part li:nth-child(2) img { height: calc(var(--u) * .476) !important; }
  .hs-logos__row--part li:nth-child(3) img { height: calc(var(--u) * .442) !important; }
}

/* 2026-12-02 (4) : taille VISUELLE égale = même surface d'encre affichée (ministères peu denses, partenaires denses) */
@media (min-width: 768px) {
  .hs-logos { --u: clamp(66px, 7.6vw, 116px); }
  .hs-logos__group--egide { flex: 4.7 1 0 !important; }
  .hs-logos__group--part { flex: 3.7 1 0 !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(1) img { height: var(--u) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(2) img { height: calc(var(--u) * .861) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(3) img { height: calc(var(--u) * .935) !important; }
  .hs-logos__group--egide .hs-logos__row li:nth-child(4) img { height: calc(var(--u) * .923) !important; }
  .hs-logos__row--part li:nth-child(1) img { height: calc(var(--u) * .50) !important; }
  .hs-logos__row--part li:nth-child(2) img { height: calc(var(--u) * .345) !important; }
  .hs-logos__row--part li:nth-child(3) img { height: calc(var(--u) * .283) !important; }
}

/* (5) header : liens sur une ligne, centrés verticalement */
@media (min-width: 992px) {
  .nav .nav-list > li { display: flex; align-items: center; }
  .nav .nav-list > li > a.nav-link { display: inline-flex; align-items: center; white-space: nowrap; }
}

/* (6) mobile : partenaires ramenés à la même présence visuelle que les ministères */
@media (max-width: 767.98px) {
  .hs-logos__row--part { justify-content: space-between !important; align-items: center; }
  .hs-logos__row--part li { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
  .hs-logos__row--part li:nth-child(1) img { height: 32px !important; width: auto !important; }
  .hs-logos__row--part li:nth-child(2) img { height: 22px !important; width: auto !important; }
  .hs-logos__row--part li:nth-child(3) img { height: 18px !important; width: auto !important; }
}
