/* Gulf Media & Events Group — feuille de style principale
   Parenté avec MIMTC : bleu nuit, or champagne, ivoire, famille Playfair.
   Principes : la photo à grande échelle, l'espace, une seule idée forte (la photo devient le blason du logo). */

/* ---------- Tokens ---------- */
:root {
  --midnight: #0a1330;
  --indigo: #16224a;
  --champagne: #c9a978;     /* or MIMTC, sur fond sombre */
  --gold: #b08a4f;          /* or MIMTC, filets et détails */
  --antique: #8a6a32;       /* or assombri pour le texte sur fond clair */
  --ivory: #f7f5f1;
  --white: #ffffff;
  --ink: #0f1a36;
  --stone: #5b6377;
  --line: rgba(15, 26, 54, 0.12);
  --on-dark: #ffffff;
  --on-dark-muted: rgba(255, 255, 255, 0.7);
  --on-dark-line: rgba(255, 255, 255, 0.16);
  --focus: var(--antique);

  --serif: "Playfair", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;

  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lede: clamp(1.125rem, 1.02rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.5rem, 1.25rem + 0.9vw, 2.125rem);
  --fs-h2: clamp(2.375rem, 1.55rem + 3.3vw, 5rem);
  --fs-h1: clamp(2.375rem, 1.5rem + 4.7vw, 6.5rem);

  --gutter: clamp(1.25rem, 0.4rem + 3.4vw, 3.5rem);
  --container: 1440px;
  --section: clamp(5.5rem, 3rem + 8vw, 11rem);
  --r: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 92px;
}

@view-transition { navigation: auto; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-padding-top: 96px; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); font-size: var(--fs-body); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.04; letter-spacing: -0.022em;
  font-variant-numeric: lining-nums; font-optical-sizing: auto; text-wrap: balance; overflow-wrap: break-word;
}
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; }
a { color: inherit; text-underline-offset: 0.24em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.on-dark { --focus: var(--champagne); background: var(--midnight); color: var(--on-dark); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); color: var(--ink); padding: 0.75rem 1rem; }
.skip-link:focus { top: 1rem; }
.tbc { border-bottom: 1px dashed currentColor; opacity: 0.85; }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.section { padding-block: var(--section); }
.section--ivory { background: var(--ivory); }
.section--tight { padding-block: calc(var(--section) * 0.6); }

.section-head { display: grid; gap: 1.5rem; max-width: 50rem; margin-bottom: clamp(3rem, 2rem + 3.5vw, 6rem); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { color: var(--stone); font-size: var(--fs-lede); line-height: 1.55; max-width: 38rem; }
.on-dark .section-head p, .section-head.on-dark p { color: var(--on-dark-muted); }
.section-head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 4rem; }
.section-head--row > p { max-width: 30rem; font-size: var(--fs-body); }
.section-head--row > .text-link { margin-bottom: 0.6rem; }

.split { display: grid; gap: 3rem; }
@media (min-width: 960px) {
  .split { grid-template-columns: 5fr 7fr; gap: clamp(3rem, 1rem + 6vw, 9rem); align-items: start; }
  .split > .section-head { margin-bottom: 0; position: sticky; top: 7.5rem; }
  .split--media { align-items: center; }
  .split--media > .section-head { position: static; }
}

/* Texte et photo à fond perdu : l'image touche le bord de l'écran, le texte reste aligné sur la grille */
.bleed { display: grid; }
.bleed-media { position: relative; overflow: hidden; min-height: 62vw; background: var(--indigo); }
.bleed-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed-body { display: grid; align-content: center; gap: 1.5rem; padding: var(--section) var(--gutter); }
.bleed-body h2 { font-size: var(--fs-h2); }
.bleed-body > p { color: var(--stone); font-size: var(--fs-lede); line-height: 1.55; max-width: 36rem; }
.on-dark .bleed-body > p { color: var(--on-dark-muted); }
@media (min-width: 960px) {
  .bleed { grid-template-columns: 1fr 1fr; min-height: min(92svh, 860px); }
  .bleed-media { min-height: 0; }
  .bleed-body { padding: var(--section) max(var(--gutter), calc((100vw - var(--container)) / 2)) var(--section) clamp(3rem, 1rem + 5vw, 7.5rem); }
  .bleed--reverse .bleed-media { order: 2; }
  .bleed--reverse .bleed-body { padding: var(--section) clamp(3rem, 1rem + 5vw, 7.5rem) var(--section) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
}

.prose { max-width: 42rem; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.875rem, 1.45rem + 1.4vw, 2.75rem); margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.45em; }
.prose li::marker { color: var(--gold); }
.lede { font-size: var(--fs-lede); line-height: 1.55; max-width: 38rem; }
.muted { color: var(--stone); }
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }

/* ---------- Boutons et liens ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0.8rem 2rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-size: 0.9875rem; font-weight: 600; line-height: 1.15; letter-spacing: 0.002em;
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.2s;
}
/* Au survol, la couleur monte du bas du bouton */
.btn::before { content: ""; position: absolute; inset: -1px; z-index: -1; background: var(--btn-fill); transform: translateY(101%); transition: transform 0.5s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(0.985); }
.btn-sm { min-height: 46px; padding: 0.55rem 1.5rem; font-size: 0.9375rem; }
.btn-gold { background: var(--champagne); color: var(--midnight); --btn-fill: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.42); color: var(--white); --btn-fill: var(--white); }
.btn-ghost:hover { color: var(--midnight); border-color: var(--white); }
.btn-ink { background: var(--midnight); color: var(--white); --btn-fill: var(--antique); }
.btn-quiet { border-color: rgba(15, 26, 54, 0.26); color: var(--ink); --btn-fill: var(--midnight); }
.btn-quiet:hover { color: var(--white); border-color: var(--midnight); }

.text-link {
  font-weight: 600; color: var(--antique); text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 0.2em; transition: background-size 0.45s var(--ease);
}
.text-link:hover { background-size: 35% 1px; }
.on-dark .text-link { color: var(--champagne); }

/* ---------- En-tête ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-dark); --focus: var(--champagne);
  transition: transform 0.5s var(--ease);
  view-transition-name: site-header;
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(10, 19, 48, 0.86); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: 0 1px 0 var(--on-dark-line);
  transition: opacity 0.4s;
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-101%); }

.topbar { max-height: 42px; overflow: hidden; font-size: 0.875rem; transition: max-height 0.4s var(--ease), opacity 0.3s; border-bottom: 1px solid var(--on-dark-line); }
.is-scrolled .topbar { max-height: 0; opacity: 0; border-color: transparent; }
.page-index .topbar { display: none; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 41px; }
.topbar p { display: flex; flex-wrap: wrap; align-items: center; gap: 0 0.75rem; color: var(--on-dark-muted); }
.topbar strong { font-weight: 600; color: var(--white); }
.topbar a { color: var(--champagne); font-weight: 500; white-space: nowrap; text-decoration: none; }
.topbar a:hover { color: var(--white); }
.countdown--bar { color: var(--champagne); }
@media (max-width: 760px) { .topbar-detail { display: none; } }

.header-inner { display: flex; align-items: center; gap: 0 2rem; min-height: var(--header-h); transition: min-height 0.4s var(--ease); }
.is-scrolled .header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; position: relative; z-index: 2; flex: none; }
.brand img { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.is-scrolled .brand img { height: 40px; }
@media (max-width: 640px) { .brand img, .is-scrolled .brand img { height: 38px; } :root { --header-h: 76px; } .is-scrolled .header-inner { min-height: 68px; } }

.nav-toggle {
  position: relative; z-index: 2; margin-left: auto; display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 44px; padding: 0 0 0 0.75rem; font: inherit; font-size: var(--fs-sm); font-weight: 500; color: var(--on-dark);
  background: none; border: 0; cursor: pointer;
}
.nav-toggle-bars { position: relative; display: block; width: 28px; height: 10px; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.4s var(--ease), top 0.4s var(--ease); }
.nav-toggle-bars::before { top: 0; }
.nav-toggle-bars::after { top: 8.5px; }
.is-open .nav-toggle-bars::before { top: 4px; transform: rotate(45deg); }
.is-open .nav-toggle-bars::after { top: 4px; transform: rotate(-45deg); }

.nav-list { list-style: none; display: flex; }
.nav-link {
  display: flex; align-items: center; gap: 0.4rem; padding: 0; background: none; border: 0; cursor: pointer;
  font: inherit; font-size: 0.9625rem; font-weight: 500; color: inherit; text-decoration: none; white-space: nowrap;
}
.chevron { width: 11px; height: 11px; transition: transform 0.3s var(--ease); }
.has-sub.is-open .chevron { transform: rotate(180deg); }
.subnav { list-style: none; }
.subnav a { display: block; text-decoration: none; }
.nav-cta { display: none; flex: none; }

@media (max-width: 1239px) {
  /* Menu plein écran */
  .site-nav {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
    padding: calc(var(--header-h) + 1.5rem) max(var(--gutter), env(safe-area-inset-right)) calc(2rem + env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
    background: var(--midnight); overflow-y: auto; overscroll-behavior: contain;
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity 0.35s var(--ease), transform 0.5s var(--ease), visibility 0s 0.35s;
  }
  .is-open .site-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .is-open .topbar { display: none; }
  .nav-list { flex-direction: column; }
  .nav-link { width: 100%; justify-content: space-between; min-height: 62px; font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 2vw, 2.5rem); font-weight: 400; letter-spacing: -0.02em; }
  .nav-item.is-active > .nav-link { color: var(--champagne); }
  .chevron { width: 16px; height: 16px; }
  .subnav { display: none; padding: 0 0 1rem; }
  .has-sub.is-open .subnav { display: block; }
  .subnav a { padding: 0.6rem 0; min-height: 44px; }
  .subnav-label { display: block; font-size: 1.125rem; font-weight: 500; }
  .subnav-note { display: block; font-size: 0.9375rem; color: var(--on-dark-muted); }
  .subnav a[aria-current="page"] .subnav-label { color: var(--champagne); }
  .nav-foot { margin-top: auto; padding-top: 2.5rem; display: grid; gap: 1.25rem; }
  .nav-foot-event { display: grid; line-height: 1.35; text-decoration: none; }
  .nav-foot-event strong { font-weight: 600; color: var(--champagne); }
  .nav-foot-event span { color: var(--on-dark-muted); }
  .nav-foot .btn { width: 100%; }
}
@media (min-width: 1240px) {
  .nav-toggle, .nav-foot { display: none; }
  .nav-cta { display: inline-flex; }
  .site-nav { margin-left: auto; }
  .nav-list { gap: clamp(1.25rem, 0.2rem + 1.5vw, 2.25rem); align-items: center; }
  .nav-item { position: relative; }
  .nav-link { min-height: var(--header-h); position: relative; opacity: 0.88; transition: opacity 0.25s; }
  .is-scrolled .nav-link { min-height: 74px; }
  .nav-link:hover, .nav-item.is-active > .nav-link, .has-sub:hover > .nav-link { opacity: 1; }
  /* Filet d'or sous le lien survolé ou actif */
  .nav-link::after { content: ""; position: absolute; left: 0; right: 0; top: calc(50% + 0.95rem); height: 1.5px; background: var(--champagne); transform: scaleX(0); transform-origin: left; transition: transform 0.45s var(--ease); }
  .nav-link:hover::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); }
  .subnav {
    position: absolute; top: calc(100% - 6px); left: -1.5rem; width: 21rem; padding: 0.6rem;
    background: var(--white); color: var(--ink); border-radius: var(--r);
    box-shadow: 0 40px 70px -24px rgba(10, 19, 48, 0.55), 0 2px 8px rgba(10, 19, 48, 0.08);
    opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s, transform 0.4s var(--ease), visibility 0s 0.25s;
  }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav, .has-sub.is-open .subnav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .subnav a { padding: 0.8rem 1rem; border-radius: 9px; transition: background-color 0.2s; }
  .subnav a:hover { background: var(--ivory); }
  .subnav-label { display: block; font-family: var(--serif); font-size: 1.25rem; line-height: 1.2; letter-spacing: -0.01em; }
  .subnav-note { display: block; margin-top: 0.15rem; font-size: 0.875rem; color: var(--stone); }
  .subnav a[aria-current="page"] .subnav-label { color: var(--antique); }
}
html.menu-open, html.menu-open body { overflow: hidden; }

/* ---------- Le hero de l'accueil et le blason ---------- */
.aperture { position: relative; background: var(--midnight); color: var(--on-dark); --focus: var(--champagne); }
.aperture-stage { position: relative; display: grid; }
.aperture-media { grid-area: 1 / 1; position: relative; overflow: hidden; background: var(--indigo); }
/* Le blason demande un écran assez haut ; sur un téléphone à l'horizontale le hero reste une image fixe */
@media (min-height: 501px) {
  .has-motion .aperture { height: 300svh; }
  .has-motion .aperture-stage { display: block; position: sticky; top: 0; height: 100svh; overflow: hidden; }
  .has-motion .aperture-media { position: absolute; inset: 0; will-change: clip-path; }
  .has-motion .hero-layer { position: absolute; inset: 0; min-height: 0; }
}

.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s ease; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); transition: transform 0s 1.8s; }
.slide.is-active img { transform: none; transition: transform 9s linear; }
.aperture-veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(10, 19, 48, 0.55) 0%, rgba(10, 19, 48, 0) 26%),
    linear-gradient(90deg, rgba(10, 19, 48, 0.42) 0%, rgba(10, 19, 48, 0) 64%),
    linear-gradient(0deg, rgba(10, 19, 48, 0.95) 0%, rgba(10, 19, 48, 0.78) 30%, rgba(10, 19, 48, 0.4) 60%, rgba(10, 19, 48, 0.06) 86%);
}

.hero-layer { grid-area: 1 / 1; position: relative; z-index: 2; display: flex; align-items: flex-end; min-height: max(100svh, 560px); }
.hero-inner { padding-top: calc(var(--header-h) + 1rem); padding-bottom: 1.5rem; }
.hero-title { font-size: min(clamp(2.25rem, 0.9rem + 7.1vw, 7.75rem), 12.5svh); line-height: 1; letter-spacing: -0.03em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.13em; margin-bottom: -0.13em; }
.hero-title .line > span { display: block; }
.hero-row { display: grid; gap: 1.75rem; margin-top: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.hero-row .lede { color: rgba(255, 255, 255, 0.84); max-width: 40rem; }
.hero-row .actions { margin-top: 0; }
@media (min-width: 1000px) { .hero-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 4rem; } }

.hero-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 2.5rem; margin-top: clamp(1.75rem, 1rem + 2vw, 3rem); padding-top: 1.1rem; border-top: 1px solid var(--on-dark-line); font-size: var(--fs-sm); }
.hero-next { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.1rem 0.9rem; text-decoration: none; }
.hero-next-title { font-weight: 600; }
.hero-next-when { color: var(--on-dark-muted); }
.hero-next:hover .hero-next-title { color: var(--champagne); }
.ticker { color: var(--champagne); font-variant-numeric: tabular-nums; font-weight: 500; }
.hero-controls { display: flex; align-items: center; gap: 1.25rem; }
.hero-caption { color: var(--on-dark-muted); }
.hero-bars { display: flex; }
.hero-bars button { position: relative; width: 38px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer; }
.hero-bars button::before, .hero-bars button::after { content: ""; position: absolute; left: 3px; right: 3px; top: 50%; height: 2px; background: rgba(255, 255, 255, 0.28); }
.hero-bars button::after { background: var(--champagne); transform: scaleX(0); transform-origin: left; }
.hero-bars button.is-active::after { animation: bar 7s linear forwards; }
.hero-bars.is-paused button::after { animation-play-state: paused; }
html:not(.has-motion) .hero-bars button.is-active::after { transform: none; animation: none; }
@keyframes bar { to { transform: none; } }
.hero-pause { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -0.75rem; padding: 0; color: var(--white); background: none; border: 0; cursor: pointer; }
.hero-pause[hidden] { display: none; }
.hero-pause svg { width: 15px; height: 15px; fill: currentColor; }
.hero-pause .i-play, .hero-pause.is-paused .i-pause { display: none; }
.hero-pause.is-paused .i-play { display: block; }

/* La déclaration autour du blason */
.aperture-statement { grid-area: 2 / 1; display: grid; gap: 1.25rem; padding: var(--section) max(var(--gutter), calc((100vw - var(--container)) / 2)) 0; }
.aperture-statement > * { max-width: 46rem; }
.statement-lead { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.9vw, 3rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.statement-side { color: var(--on-dark-muted); }
@media (min-height: 501px) {
  .has-motion .aperture-statement { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 0 var(--gutter) calc(4vh + 3.25rem + env(safe-area-inset-bottom)); opacity: 0; pointer-events: none; }
}
@media (min-height: 501px) and (min-aspect-ratio: 1/1) {
  .has-motion .aperture-statement { top: 0; bottom: 0; align-items: center; grid-template-columns: minmax(0, 1fr) 54svh minmax(0, 1fr); gap: clamp(2rem, 1rem + 2.4vw, 4rem); padding: var(--header-h) max(var(--gutter), calc((100vw - var(--container)) / 2)); }
  .has-motion .statement-lead { grid-column: 1; font-size: clamp(1.625rem, 0.8rem + 1.9vw, 3rem); }
  .has-motion .statement-side { grid-column: 3; max-width: 26rem; font-size: var(--fs-lede); line-height: 1.5; }
}

/* Une seule entrée orchestrée au chargement */
.has-motion .hero-title .line > span { animation: line-in 1.25s var(--ease) both; }
.has-motion .hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.has-motion .hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
.has-motion .hero-row, .has-motion .hero-foot { animation: fade-in 1.2s ease 0.6s both; }
@keyframes line-in { from { transform: translateY(112%); } to { transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(0.4em); } to { opacity: 1; transform: none; } }

/* ---------- Chiffres : une phrase plutôt qu'un tableau ---------- */
.figures { padding-top: clamp(4rem, 2rem + 6vw, 8rem); padding-bottom: clamp(4rem, 2rem + 6vw, 8rem); }
.sentence { font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.5vw, 5rem); line-height: 1.12; letter-spacing: -0.022em; font-variant-numeric: lining-nums; color: rgba(15, 26, 54, 0.48); max-width: 22em; text-wrap: pretty; }
.sentence b { font-weight: 400; color: var(--ink); }
.on-dark .sentence { color: rgba(255, 255, 255, 0.5); }
.on-dark .sentence b { color: var(--white); }
.principles { list-style: none; display: grid; gap: 1rem 3rem; margin-top: clamp(3rem, 2rem + 4vw, 6rem); color: var(--champagne); font-size: var(--fs-lede); line-height: 1.35; }
@media (min-width: 800px) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Les portes des plateformes ---------- */
.platforms-intro .section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.doors { display: flex; flex-direction: column; }
.door { position: relative; overflow: hidden; background: var(--indigo); color: var(--white); }
.door > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.door::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(10, 19, 48, 0.92) 0%, rgba(10, 19, 48, 0.42) 44%, rgba(10, 19, 48, 0.1) 100%); }
.door::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 3px; background: var(--zone, var(--champagne)); transform: scaleX(0.14); transform-origin: left; transition: transform 0.9s var(--ease); }
.door:hover::after, .door:focus-within::after { transform: scaleX(1); }
.door:hover > img { transform: scale(1.04); }
.door-link { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.5rem; height: 100%; min-height: 76svh; padding: 2.25rem var(--gutter); text-decoration: none; }
.door-acronym { font-family: var(--serif); font-size: clamp(3.25rem, 2rem + 4.8vw, 7rem); line-height: 1; letter-spacing: -0.03em; }
.door-name { max-width: 28rem; font-size: 1.125rem; line-height: 1.35; }
.door-when { max-width: 28rem; color: rgba(255, 255, 255, 0.76); font-size: var(--fs-sm); }
.door-more { align-self: flex-start; margin-top: 1rem; padding-bottom: 0.2em; font-weight: 600; color: var(--champagne); border-bottom: 1px solid currentColor; }
.countdown:not(.countdown--bar) { display: block; margin-top: 0.3rem; color: var(--champagne); font-size: var(--fs-sm); font-weight: 500; }
.countdown[hidden] { display: none !important; }
.door--next { background: var(--indigo); }
.door--next::before { display: none; }
.door--next .door-link { min-height: 0; padding-block: 3rem; }
.door--next .door-acronym { color: var(--champagne); }
@media (min-width: 900px) {
  .doors { flex-direction: row; height: min(90svh, 880px); }
  .door { flex: 1 1 0; min-width: 0; transition: flex-grow 0.9s var(--ease); }
  .doors:hover .door { flex-grow: 0.86; }
  .doors .door:hover { flex-grow: 1.3; }
  .door--next, .doors:hover .door--next, .doors .door--next:hover { flex: 0 0 clamp(15rem, 20vw, 21rem); }
  .door-link { min-height: 0; padding: 3rem clamp(1.75rem, 1rem + 2vw, 3.5rem); }
  .door--next .door-link { padding: 3rem clamp(1.75rem, 1rem + 1.4vw, 2.5rem); }
  .door--next .door-acronym { font-size: clamp(2.5rem, 1.5rem + 2vw, 4rem); }
  .door-name, .door-when { width: min(28rem, 30vw); }
  .door--next .door-name { width: auto; }
}

/* ---------- Ce que nous faisons ---------- */
.practice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; }
.practice .section-head { margin-bottom: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); }
.practice-list { list-style: none; display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.practice-list::-webkit-scrollbar { display: none; }
.practice-list li { flex: 0 0 84%; scroll-snap-align: start; }
.practice-list img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-bottom: 1.25rem; }
.practice-list h3 { font-size: var(--fs-h3); margin-bottom: 0.75rem; }
.practice-list p { color: var(--stone); max-width: 32rem; }
.practice-list .text-link { display: inline-block; margin-top: 1rem; }
.practice-stack { display: none; }
@media (min-width: 960px) {
  .practice { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(3rem, 1rem + 6vw, 9rem); align-items: start; }
  .practice-list { display: block; overflow: visible; margin: 0; padding: 0; }
  .practice-list img { display: none; }
  .practice-list li { position: relative; padding: 1.5rem 0 1.5rem 1.75rem; }
  .practice-list li::before { content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem; width: 2px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform 0.6s var(--ease); }
  .practice-list li.is-active::before { transform: none; }
  .practice-list h3 { font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.625rem); color: rgba(15, 26, 54, 0.46); transition: color 0.4s; }
  .practice-list li.is-active h3 { color: var(--ink); }
  .practice-stack { display: block; position: sticky; top: 7.5rem; aspect-ratio: 4 / 5; max-height: calc(100svh - 10rem); width: 100%; overflow: hidden; border-radius: var(--r); background: var(--ivory); }
  .practice-stack img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.05); transition: opacity 0.8s ease, transform 1.6s var(--ease); }
  .practice-stack img.is-active { opacity: 1; transform: none; }
}

/* ---------- Photos ---------- */
.photo { position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo--wide img { aspect-ratio: 3 / 2; }
.has-motion .photo img, .has-motion .bleed-media img, .has-motion .tl-media img { transform: scale(1.07); transition: transform 1.8s var(--ease); }
.has-motion .is-in img { transform: none; }

/* ---------- Fondateur ---------- */
.founder { display: grid; gap: 3rem; align-items: center; }
.founder-photo { max-width: 34rem; }
.founder-photo img { aspect-ratio: 4 / 5; }
.founder blockquote p { font-family: var(--serif); font-size: clamp(1.875rem, 1.25rem + 2.5vw, 3.75rem); line-height: 1.12; letter-spacing: -0.022em; }
.founder blockquote footer { margin-top: 2rem; display: grid; gap: 0.15rem; }
.founder blockquote footer strong { font-size: 1.125rem; font-weight: 600; }
.founder blockquote footer span { color: var(--stone); font-size: var(--fs-sm); }
.founder-note { margin-top: 2rem; margin-bottom: 1rem; color: var(--stone); max-width: 38rem; }
.founder-bio { display: grid; gap: 1.1rem; max-width: 40rem; color: var(--stone); margin-top: 1.75rem; }
.founder-role { color: var(--stone); margin-top: 0.75rem; }
.founder h2:not(.visually-hidden) { font-size: var(--fs-h2); }
@media (min-width: 960px) { .founder { grid-template-columns: 5fr 7fr; gap: clamp(4rem, 2rem + 6vw, 10rem); } }

/* ---------- Bande de photos ---------- */
.film-section { padding-bottom: 0; }
.film-section .section-head { margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.film-controls { display: flex; gap: 0.5rem; }
.film-controls[hidden], .film-controls button[hidden] { display: none; }
.film-controls [data-film-pause] svg { width: 14px; height: 14px; fill: currentColor; }
.film-controls .i-play, .film-controls .is-paused .i-pause { display: none; }
.film-controls .is-paused .i-play { display: block; }
.film-bar { display: flex; justify-content: flex-end; margin-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); margin-bottom: clamp(1.25rem, 1rem + 1vw, 2rem); }
.film-controls button { display: grid; place-items: center; width: 52px; height: 52px; padding: 0; color: var(--ink); background: none; border: 1px solid rgba(15, 26, 54, 0.22); border-radius: 50%; cursor: pointer; transition: background-color 0.3s, color 0.3s, opacity 0.3s; }
.film-controls button:hover:not(:disabled) { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.film-controls button:disabled { opacity: 0.32; cursor: default; }
.film-controls svg { width: 16px; height: 16px; }
.film { display: flex; gap: clamp(0.75rem, 0.4rem + 0.8vw, 1.25rem); overflow-x: auto; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2)); scrollbar-width: none; cursor: grab; }
.film::-webkit-scrollbar { display: none; }
.film.is-dragging { cursor: grabbing; user-select: none; }
.film figure { flex: none; }
.film img { height: clamp(300px, 22rem + 14vw, 640px); width: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); pointer-events: none; }
.film-tall img { aspect-ratio: 4 / 5; }
.film figcaption { margin-top: 0.75rem; font-size: var(--fs-sm); color: var(--stone); }
@media (max-width: 759px) {
  html:not(.has-motion) .film { scroll-snap-type: x mandatory; }
  .film figure { scroll-snap-align: start; }
  .film img, .film-tall img { height: 58vw; min-height: 210px; max-height: 70svh; }
  .film-controls button { width: 46px; height: 46px; }
}

/* ---------- Partenaires ---------- */
.logo-wall { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2.25rem, 1.5rem + 2.4vw, 4.5rem) clamp(1.5rem, 1rem + 2vw, 3.5rem); }
@media (min-width: 640px) { .logo-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .logo-wall { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.logo-wall li { --logo-h: clamp(52px, 2.75rem + 2.5vw, 84px); display: flex; align-items: center; justify-content: center; min-width: 0; height: var(--logo-h); }
.logo-wall img { max-height: var(--logo-h); max-width: min(100%, 170px); width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: 0.72; mix-blend-mode: multiply; transition: filter 0.4s, opacity 0.4s; }
.logo-wall li:hover img { filter: none; opacity: 1; }
.section--ivory .logo-wall img { mix-blend-mode: multiply; }

/* ---------- Bandeau final ---------- */
.cta-band { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: min(92svh, 880px); color: var(--on-dark); background: var(--midnight); --focus: var(--champagne); }
.cta-band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 19, 48, 0.95) 8%, rgba(10, 19, 48, 0.6) 55%, rgba(10, 19, 48, 0.28) 100%); }
.cta-inner { position: relative; z-index: 2; display: grid; gap: 2rem; padding-block: var(--section) clamp(3.5rem, 2rem + 4vw, 6rem); }
.cta-inner h2 { font-size: clamp(2.75rem, 1.5rem + 5.2vw, 7rem); line-height: 1; letter-spacing: -0.03em; max-width: 12em; }
.cta-side p { color: rgba(255, 255, 255, 0.82); max-width: 40rem; }
.cta-side .actions { margin-top: 2rem; }
@media (min-width: 1000px) { .cta-side { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; align-items: end; } .cta-side .actions { margin-top: 0; } }
.cta-band--statement { min-height: min(84svh, 780px); }
.cta-band--statement .statement { color: var(--white); }

/* ---------- Hero des pages intérieures ---------- */
.page-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; min-height: max(76svh, 560px); color: var(--on-dark); background: var(--midnight); --focus: var(--champagne); }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(180deg, rgba(10, 19, 48, 0.62) 0%, rgba(10, 19, 48, 0.1) 30%), linear-gradient(0deg, rgba(10, 19, 48, 0.94) 0%, rgba(10, 19, 48, 0.55) 42%, rgba(10, 19, 48, 0.08) 80%); }
.page-hero-inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 5rem); padding-bottom: clamp(3rem, 2rem + 3.5vw, 5.5rem); }
.page-hero h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.03em; max-width: 14em; }
.page-hero .lede { margin-top: 1.75rem; color: rgba(255, 255, 255, 0.84); }
.page-hero--contact { min-height: max(66svh, 520px); }
.page-hero--plain { min-height: 0; }
.page-hero--plain::before { display: none; }
.page-hero--plain .page-hero-inner { padding-top: calc(var(--header-h) + 6.5rem); }
.has-motion .page-hero > img { animation: settle 2.6s var(--ease) both; }
.has-motion .page-hero h1 { animation: rise 1.1s var(--ease) both; }
.has-motion .page-hero .lede, .has-motion .page-hero .crumbs, .has-motion .page-hero .actions, .has-motion .page-hero .hero-facts { animation: fade-in 1.2s ease 0.35s both; }
@keyframes settle { from { transform: scale(1.08); } to { transform: none; } }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; margin-bottom: 1.75rem; font-size: 0.9rem; color: rgba(255, 255, 255, 0.74); }
.crumbs li + li::before { content: "/"; margin-right: 0.5rem; opacity: 0.55; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--white); }

/* Plateformes : nom, faits clés et actions sur la photo */
.page-hero--platform h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 5.25rem); max-width: 16em; }
.platform-acronym { display: block; margin-bottom: 1.25rem; font-weight: 600; font-size: 1.0625rem; color: var(--zone-light, var(--champagne)); }
.hero-facts { display: grid; gap: 0.75rem 3rem; margin-top: 2.5rem; font-size: 1rem; }
.hero-facts dt { color: rgba(255, 255, 255, 0.66); font-size: 0.9rem; }
.hero-facts dd { font-weight: 500; }
@media (min-width: 760px) { .hero-facts { display: flex; flex-wrap: wrap; } }

.feature-logo { height: clamp(56px, 3rem + 1.5vw, 76px); width: auto; max-width: 100%; object-fit: contain; object-position: left; }
.feature-summary { color: var(--stone); font-size: var(--fs-lede); line-height: 1.55; max-width: 36rem; }
.logo-inline { height: clamp(56px, 3rem + 1.5vw, 72px); width: auto; max-width: 100%; }

.facts { display: grid; max-width: 38rem; }
.facts > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 0.8rem; border-top: 1px solid var(--line); }
.facts dt { color: var(--stone); font-size: var(--fs-sm); padding-top: 0.1rem; }
.facts dd { font-weight: 500; }

/* ---------- Listes ---------- */
/* Une énumération écrite comme une phrase, en très grand */
.sentence-list { list-style: none; font-family: var(--serif); font-size: clamp(2rem, 1.2rem + 3.2vw, 4.5rem); line-height: 1.14; letter-spacing: -0.022em; }
.sentence-list li { display: inline; }
.sentence-list li:not(:last-child)::after { content: ", "; color: var(--gold); }
.on-dark .sentence-list li:not(:last-child)::after { color: var(--champagne); }

.big-list { list-style: none; display: grid; gap: clamp(1.25rem, 0.8rem + 1.2vw, 2.25rem); }
.big-list li { font-family: var(--serif); font-size: clamp(1.875rem, 1.3rem + 2.4vw, 3.75rem); line-height: 1.08; letter-spacing: -0.022em; }
.big-list li span { display: block; font-family: var(--sans); font-size: var(--fs-body); line-height: 1.5; letter-spacing: 0; color: var(--stone); margin-top: 0.75rem; max-width: 34rem; }
.on-dark .big-list li span { color: var(--on-dark-muted); }
.big-list--compact { gap: clamp(0.9rem, 0.6rem + 0.8vw, 1.5rem); }
.big-list--compact li { font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.75rem); }

.plain-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); column-gap: 3rem; }
.plain-list li { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.plain-list li strong { display: block; font-weight: 500; }
.plain-list li span { display: block; color: var(--stone); font-size: var(--fs-sm); margin-top: 0.2rem; }
.on-dark .plain-list li { border-color: var(--on-dark-line); }
.on-dark .plain-list li span { color: var(--on-dark-muted); }

.statement { font-family: var(--serif); font-size: clamp(2.125rem, 1.25rem + 3.4vw, 5rem); line-height: 1.08; letter-spacing: -0.025em; max-width: 19em; text-wrap: balance; }

/* Les éditions d'une plateforme : les dates comme des jalons */
.steps { list-style: none; display: grid; gap: 2.5rem 2.5rem; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.steps li { position: relative; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.steps li::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.steps h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.625rem); margin-bottom: 0.75rem; }
.steps p { color: var(--stone); max-width: 30ch; }

/* ---------- Frise de l'histoire ---------- */
.timeline { --tl: 0; position: relative; list-style: none; display: grid; gap: clamp(4.5rem, 3rem + 6vw, 10rem); padding-left: 1.75rem; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--line); }
.timeline::after { width: 2px; background: var(--gold); transform: scaleY(var(--tl)); transform-origin: top; }
.tl-item { position: relative; display: grid; gap: 1.75rem; }
.tl-item::before { content: ""; position: absolute; left: calc(-1.75rem - 3px); top: 0.6rem; width: 8px; height: 8px; border-radius: 50%; background: var(--zone, var(--gold)); z-index: 1; }
.tl-media { position: relative; overflow: hidden; border-radius: var(--r); background: var(--line); }
.tl-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.tl-meta { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; font-size: var(--fs-sm); color: var(--stone); }
.tl-meta strong { font-weight: 600; color: var(--zone-ink, var(--antique)); }
.tl-body h3 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.75rem); margin: 1rem 0 1.25rem; }
.tl-body p:not(.tl-meta):not(.tl-upcoming) { color: var(--stone); max-width: 34rem; }
.tl-body .text-link { display: inline-block; margin-top: 1.25rem; }
.tl-upcoming { margin-top: 1.25rem; font-weight: 600; color: var(--antique); }
@media (min-width: 960px) {
  .timeline { padding-left: 0; }
  .timeline::before, .timeline::after { left: 50%; }
  .tl-item { grid-template-columns: 1fr 1fr; gap: clamp(4rem, 2rem + 6vw, 9rem); align-items: center; }
  .tl-item::before { left: calc(50% - 3px); top: 50%; }
  .tl-item:nth-child(even) .tl-media { order: 2; }
  .tl-item:nth-child(even) .tl-body { text-align: right; justify-items: end; }
  .tl-item:nth-child(even) .tl-meta { justify-content: flex-end; }
  .tl-item:nth-child(even) .tl-body p { margin-left: auto; }
}

/* ---------- Calendrier ---------- */
.calendar { list-style: none; display: grid; gap: clamp(3rem, 2rem + 3vw, 5rem); }
.cal-row { display: grid; gap: 1.5rem 3rem; }
.cal-date { display: flex; flex-direction: column; }
.cal-day { font-family: var(--serif); font-size: clamp(3.75rem, 2.5rem + 5vw, 8rem); line-height: 0.95; letter-spacing: -0.035em; font-variant-numeric: lining-nums; }
.cal-month { margin-top: 0.6rem; color: var(--champagne); }
.cal-body h3 { font-size: clamp(2rem, 1.5rem + 1.8vw, 3.25rem); margin-bottom: 0.75rem; }
.cal-body p { color: var(--on-dark-muted); }
.cal-body .cal-venue { color: var(--white); margin-top: 0.3rem; }
.cal-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 1040px) { .cal-row { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) auto; align-items: center; gap: 3rem clamp(2rem, 1rem + 3vw, 5rem); } }

/* ---------- Partenariats : six façons de participer ---------- */
.photo-cards { display: grid; gap: clamp(0.75rem, 0.4rem + 0.8vw, 1.25rem); }
@media (min-width: 720px) { .photo-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .photo-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photo-card { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: clamp(460px, 22rem + 14vw, 640px); padding: clamp(1.5rem, 1.2rem + 1vw, 2.25rem); border-radius: var(--r); background: var(--indigo); color: var(--white); --focus: var(--champagne); }
.photo-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.photo-card:hover > img { transform: scale(1.05); }
.photo-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(10, 19, 48, 0.95) 0%, rgba(10, 19, 48, 0.72) 42%, rgba(10, 19, 48, 0.08) 78%); }
.photo-card > :not(img) { position: relative; z-index: 2; }
.photo-card h3 { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.5rem); margin-bottom: 0.75rem; }
.photo-card p { color: rgba(255, 255, 255, 0.82); font-size: 1rem; line-height: 1.5; }
.photo-card .offer-points { margin-top: 0.75rem; color: rgba(255, 255, 255, 0.66); font-size: 0.9375rem; }
.photo-card .text-link { align-self: flex-start; margin-top: 1.25rem; color: var(--champagne); }

/* Valeurs : panneaux blancs sur ivoire */
.values { display: grid; gap: clamp(0.75rem, 0.4rem + 0.8vw, 1.25rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.values > div { padding: clamp(1.75rem, 1.2rem + 1.5vw, 3rem); background: var(--white); border-radius: var(--r); }
.values dt { font-family: var(--serif); font-size: clamp(1.625rem, 1.3rem + 1vw, 2.375rem); line-height: 1.1; letter-spacing: -0.015em; margin-bottom: 1rem; }
.values dd { color: var(--stone); max-width: 30rem; }

.network-groups { display: grid; gap: clamp(3rem, 2rem + 3vw, 5.5rem); margin-top: clamp(4rem, 3rem + 4vw, 7rem); }
@media (min-width: 960px) { .network-groups { grid-template-columns: 7fr 5fr; gap: clamp(4rem, 2rem + 6vw, 9rem); } }
.group-block h3 { font-size: var(--fs-h3); margin-bottom: 1rem; }
.group-block > p { color: var(--on-dark-muted); max-width: 38rem; }
.group-block .plain-list { margin-top: 1.75rem; }

/* ---------- Actualités ---------- */
.news-grid { display: grid; gap: 3.5rem 2rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.news-card { display: flex; flex-direction: column; gap: 1.25rem; }
.news-card[hidden] { display: none; }
.news-media { display: block; overflow: hidden; border-radius: var(--r); background: var(--line); }
.news-media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.4s var(--ease); }
.news-card:hover .news-media img { transform: scale(1.04); }
.news-meta { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; font-size: 0.9rem; }
.news-cat { font-weight: 600; color: var(--zone); }
.news-type { color: var(--stone); }
.news-title { font-size: clamp(1.5rem, 1.3rem + 0.7vw, 2rem); line-height: 1.12; letter-spacing: -0.015em; margin-top: 0.6rem; }
.news-title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.6s var(--ease); }
.news-title a:hover { background-size: 100% 1px; }
.news-excerpt { color: var(--stone); margin-top: 0.75rem; max-width: 36rem; }
.news-lead { display: grid; gap: 3rem; }
.news-side { display: grid; gap: 2.5rem; align-content: start; }
.news-card--row .news-excerpt { display: none; }
.news-card--lead .news-media img { aspect-ratio: 16 / 10; }
@media (min-width: 960px) {
  .news-lead { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 1rem + 5vw, 7rem); }
  .news-card--lead .news-title { font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); line-height: 1.06; letter-spacing: -0.022em; }
  .news-card--row { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 1.5rem; align-items: start; }
  .news-card--row .news-media img { aspect-ratio: 1 / 1; }
  .news-card--row .news-title { font-size: clamp(1.375rem, 1.1rem + 0.7vw, 1.75rem); }
}
.news-card--featured { margin-bottom: 5rem; }
.news-card--featured .news-media img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) {
  .news-card--featured { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(3rem, 1rem + 5vw, 6rem); align-items: center; }
  .news-card--featured .news-title { font-size: clamp(2.25rem, 1.5rem + 2.4vw, 3.75rem); line-height: 1.04; letter-spacing: -0.025em; }
  .news-card--featured .news-excerpt { font-size: var(--fs-lede); }
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(3rem, 2rem + 2vw, 4.5rem); }
.filters button { font: inherit; font-size: var(--fs-sm); min-height: 44px; padding: 0.45rem 1.15rem; cursor: pointer; color: var(--ink); background: none; border: 1px solid var(--line); border-radius: 999px; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.filters button:hover { border-color: var(--midnight); }
.filters button[aria-pressed="true"] { background: var(--midnight); color: var(--white); border-color: var(--midnight); }
.empty { padding: 3rem 0; }
.empty p { margin-bottom: 1rem; color: var(--stone); }

/* ---------- Article ---------- */
.article-meta { margin-bottom: 1.5rem; }
.article-meta .news-type { color: rgba(255, 255, 255, 0.72); }
.page-hero--article h1 { font-size: clamp(2.5rem, 1.6rem + 3.8vw, 5.25rem); max-width: 17em; }
.article-body { display: grid; gap: 3rem; padding-block: var(--section); }
@media (min-width: 1000px) { .article-body { grid-template-columns: 1fr 18rem; gap: clamp(4rem, 2rem + 6vw, 9rem); } .article-aside { position: sticky; top: 7.5rem; align-self: start; } }
.article-body .prose { font-size: 1.1875rem; line-height: 1.72; }
.article-body blockquote { margin-block: 2.5em; }
.article-body blockquote p { font-family: var(--serif); font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.14; letter-spacing: -0.02em; }
.article-body blockquote footer { margin-top: 1.25rem; font-size: var(--fs-sm); color: var(--stone); }
.article-aside { display: grid; gap: 2.5rem; align-content: start; font-size: 1rem; }
.article-aside h2 { font-family: var(--sans); font-size: var(--fs-sm); font-weight: 600; color: var(--stone); letter-spacing: 0; margin-bottom: 0.75rem; }
.article-aside ul { list-style: none; display: grid; gap: 0.5rem; }

/* ---------- Contact : le formulaire flotte sur la photo ---------- */
.contact-section { position: relative; z-index: 2; padding-bottom: var(--section); background: linear-gradient(var(--midnight) 0, var(--midnight) clamp(3rem, 2rem + 5vw, 7rem), var(--white) clamp(3rem, 2rem + 5vw, 7rem)); }
.contact-grid { display: grid; gap: 3.5rem; padding: clamp(1.75rem, 1rem + 4vw, 5.5rem); background: var(--white); border-radius: calc(var(--r) + 4px); box-shadow: 0 50px 100px -50px rgba(10, 19, 48, 0.5), 0 1px 0 var(--line); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(4rem, 2rem + 5vw, 8rem); } }
.form { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 500; font-size: 0.975rem; }
.field .hint { font-weight: 400; color: var(--stone); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink); background: var(--ivory);
  padding: 0.85rem 1.1rem; min-height: 56px; border: 1px solid transparent; border-radius: 10px;
  transition: border-color 0.25s, background-color 0.25s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--line); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { background: var(--white); border-color: var(--antique); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: #c0392b; }
.field-error { color: #b23224; font-size: var(--fs-sm); font-weight: 500; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; font-weight: 400 !important; }
.check input { flex: none; width: 20px; height: 20px; min-height: 0; margin-top: 0.2rem; padding: 0; accent-color: var(--midnight); }
.form-status { grid-column: 1 / -1; padding: 1.1rem 1.35rem; border-radius: 10px; background: var(--ivory); }
.form .btn { justify-self: start; }
.contact-aside { display: grid; gap: 2.75rem; align-content: start; }
.contact-logo { height: 56px; width: auto; }
.contact-aside p { margin-top: 1.25rem; color: var(--stone); }
.contact-aside h2 { font-family: var(--sans); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0; margin-bottom: 0.75rem; }
.contact-aside li { color: var(--stone); }
.contact-aside ul { list-style: none; display: grid; gap: 0.5rem; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--midnight); color: var(--on-dark); font-size: 1rem; --focus: var(--champagne); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.footer-mark { position: absolute; right: -6vw; bottom: -14vw; width: clamp(320px, 42vw, 720px); height: auto; fill: rgba(255, 255, 255, 0.028); pointer-events: none; }
.footer-top { position: relative; padding-top: clamp(4.5rem, 3rem + 5vw, 9rem); padding-bottom: clamp(3rem, 2rem + 4vw, 6rem); }
.footer-tagline { font-family: var(--serif); font-size: clamp(2.125rem, 1.2rem + 4vw, 5.5rem); line-height: 1.04; letter-spacing: -0.028em; max-width: 14em; text-wrap: balance; }
.footer-grid { position: relative; display: grid; gap: 3rem; padding-bottom: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.5fr 1.6fr 1.2fr 0.7fr; gap: 4rem; } }
.footer-links--two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
.footer-brand img { height: 50px; width: auto; }
.footer-platforms { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin-top: 1.75rem; font-weight: 500; }
.footer-title { font-family: var(--sans); font-size: 0.9rem; font-weight: 600; color: var(--champagne); letter-spacing: 0; line-height: 1.6; margin-bottom: 1rem; text-wrap: initial; }
.footer-col p + p { margin-top: 0.75rem; }
.footer-col p { color: var(--on-dark-muted); }
.footer-links { list-style: none; display: grid; gap: 0.55rem; }
.site-footer a { text-decoration: none; transition: color 0.25s; }
.site-footer a:hover { color: var(--champagne); }
.footer-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem calc(2.25rem + env(safe-area-inset-bottom)); color: var(--on-dark-muted); font-size: 0.9rem; }
.footer-base::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--on-dark-line); }
.footer-base ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }

/* ---------- Légal ---------- */
.legal-block + .legal-block { margin-top: 4rem; }
.legal-block h2 { font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); margin-bottom: 1.25rem; }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.7rem max(var(--gutter), env(safe-area-inset-right)) max(0.7rem, env(safe-area-inset-bottom)) max(var(--gutter), env(safe-area-inset-left));
  background: rgba(10, 19, 48, 0.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: var(--on-dark);
  border-top: 1px solid var(--on-dark-line); --focus: var(--champagne);
  transform: translateY(110%); transition: transform 0.45s var(--ease);
}
.mobile-bar.is-visible { transform: none; }
.mobile-bar-info { flex: 1; min-width: 0; display: grid; line-height: 1.3; font-size: 0.875rem; text-decoration: none; }
.mobile-bar-info strong { color: var(--champagne); font-weight: 600; }
.mobile-bar-info span { color: var(--on-dark-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mobile-bar .btn { flex: none; min-height: 46px; padding-inline: 1.25rem; font-size: 0.9375rem; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
.page-contact .mobile-bar { display: none; }

/* ---------- Téléphone ---------- */
@media (max-width: 759px) {
  .section-head { margin-block-end: 2.25rem; gap: 1rem; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .btn { width: 100%; }
  .actions .text-link { align-self: flex-start; }
  .text-link { display: inline-block; }
  .hero-caption { display: none; }
  .hero-foot { padding-top: 0.75rem; margin-top: 1.25rem; }
  .hero-inner { padding-bottom: 0.75rem; }
  .hero-row { gap: 1.25rem; margin-top: 1.25rem; }
  .hero-row .lede { font-size: 1rem; line-height: 1.5; }
  .hero-row .actions { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .hero-row .actions .btn { width: auto; flex: 1 1 auto; min-height: 50px; padding-inline: 0.75rem; font-size: 0.875rem; white-space: nowrap; }
  /* Petits liens : la zone tactile atteint 44 px sans changer leur dessin */
  .text-link, .crumbs a, .topbar a, .contact-aside a, .article-aside a { position: relative; }
  .text-link::after, .crumbs a::after, .topbar a::after, .contact-aside a::after, .article-aside a::after { content: ""; position: absolute; left: -6px; right: -6px; top: 50%; height: 44px; transform: translateY(-50%); }
  .contact-aside ul, .article-aside ul { gap: 0.9rem; }
  .contact-section { background: linear-gradient(var(--midnight) 0, var(--midnight) 3rem, var(--white) 3rem); }
  .contact-grid { margin-inline: calc(-1 * var(--gutter) + 0.5rem); padding: 1.75rem 1.25rem; }
  .door-link { min-height: max(76svh, 440px); }
  .news-card--row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 1rem; align-items: start; }
  .news-card--row .news-media img { aspect-ratio: 1 / 1; }
  .news-card--row .news-title { font-size: 1.25rem; margin-top: 0.3rem; }
  .news-card--featured { margin-bottom: 3.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem 1.5rem; }
  @media (max-width: 419px) {
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .footer-col:last-child .footer-links { display: flex; flex-wrap: wrap; column-gap: 1.5rem; }
  }
  .footer-brand, nav.footer-col { grid-column: 1 / -1; }
  .footer-links { gap: 0; }
  .footer-links a, .footer-platforms a, .footer-base a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-platforms { gap: 0 1.5rem; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters button { flex: none; }
  .founder-photo { max-width: none; }
  /* Les six façons de participer se parcourent en glissant, pour ne pas allonger la page */
  .photo-cards { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .photo-cards::-webkit-scrollbar { display: none; }
  .photo-card { flex: 0 0 84%; min-height: 500px; scroll-snap-align: start; }
}
/* Écrans peu hauts : le hero garde l'essentiel */
@media (max-height: 700px) and (max-width: 759px) {
  .hero-row .lede { display: none; }
}
@media (min-height: 501px) and (max-height: 700px) and (max-width: 759px) {
  .has-motion .statement-side { display: none; }
}
@media (max-height: 560px) {
  .hero-row .lede { display: none; }
}
@media (max-height: 500px) and (max-width: 1239px) {
  .site-nav .nav-link { min-height: 50px; font-size: 1.625rem; }
}
@media (max-height: 500px) {
  .topbar { display: none; }
  .hero-layer { min-height: 100svh; }
  .hero-title { font-size: clamp(2.25rem, 1rem + 4vw, 3.75rem); }
  .page-hero { min-height: max(100svh, 440px); }
  .page-hero-inner { padding-top: calc(var(--header-h) + 2.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  @view-transition { navigation: none; }
}
