/* ============================================================
   LANDING « Grand Meeting » — feuille de style autonome.
   Servie statiquement (public/landing/landing.css). Les url("fonts/…")
   sont relatives à CE fichier → résolvent vers /landing/fonts/.
   Découplée du build Vite du site (design system distinct).
   ============================================================ */

/* ============================================================
   POLICES — self-hébergées (RGPD, aucun appel à Google Fonts)
   ============================================================ */
@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/bebas-neue-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Archivo Variable";
  src: url("fonts/archivo-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk Variable";
  src: url("fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ============================================================
   TOKENS — charte couleurs reprise du formulaire Qomon
   ============================================================ */
:root {
  --bleu: #283377;          /* bleu du lockup SVG — titres & boutons */
  --bleu-clair: #3a48b0;
  --rouge: #E23628;         /* accent rouge-orangé */
  --rouge-fonce: #b9281c;
  --orange: #E23628;
  --blanc: #ffffff;
  --page: #f7fbfc;          /* fond de page Qomon */
  --encre: #1a1f3a;
  --beton: #8b90a4;
  --pan-1: #eef4f8;

  --font-sans: "Hanken Grotesk Variable", system-ui, sans-serif;
  --font-display: "Bebas Neue", "Archivo Variable", system-ui, sans-serif;
  --font-archivo: "Archivo Variable", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--encre);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }

/* ---------- Header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: 72px; display: flex; align-items: center;
  transition: background-color .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.hdr[data-scrolled="true"] {
  background: var(--bleu);
  border-bottom-color: rgba(255,255,255,.15);
}
.wrap {
  width: 100%; max-width: 1280px; margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 96px);
}
.hdr .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hdr .logo { width: 128px; flex: none; display: block; }
.hdr .logo img { width: 100%; display: block; }
.hdr .logo .white { display: none; }
.hdr[data-scrolled="true"] .logo .dark { display: none; }
.hdr[data-scrolled="true"] .logo .white { display: block; }
.hdr .cta-top { display: none; }
@media (min-width: 1024px) { .hdr .cta-top { display: inline-flex; } }

/* ---------- Boutons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  border: 1px solid transparent; padding: 16px 26px;
  font-family: var(--font-archivo); font-size: 15px; font-weight: 700;
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn .arr { transition: transform .3s ease; }
.btn:hover .arr { transform: translateX(6px); }

.btn-roll { background: var(--rouge); color: #fff; }
.btn-roll:hover { box-shadow: 0 14px 28px -12px rgba(254,1,6,.45); }

.btn-neutral {
  border-color: rgba(40,51,119,.3); background: transparent; color: var(--bleu);
}
.btn-neutral:hover { border-color: var(--bleu); background: var(--bleu); color: #fff; }
.hdr[data-scrolled="true"] .btn-neutral { border-color: rgba(255,255,255,.4); color: #fff; }
.hdr[data-scrolled="true"] .btn-neutral:hover { background: #fff; color: var(--bleu); }

/* Label qui roule */
.roll { display: inline-grid; overflow: hidden; line-height: 1.25; }
.roll > span { grid-area: 1 / 1; transition: transform .5s cubic-bezier(.16,.84,.34,1); }
.roll > span:nth-child(2) { transform: translateY(115%); }
.btn:hover .roll > span:nth-child(1) { transform: translateY(-115%); }
.btn:hover .roll > span:nth-child(2) { transform: translateY(0); }

/* ---------- Sur-titre ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-archivo); font-weight: 700; text-transform: uppercase;
  letter-spacing: .18em; font-size: clamp(12px, .95vw, 14px); color: var(--bleu);
}
.eyebrow::before { content: ""; display: inline-block; height: 3px; width: 28px; flex: none; background: var(--rouge); }

/* ============================================================
   HÉRO — affiche, photo « hand up », bordure rouge
   ============================================================ */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  overflow: hidden; border-bottom: 6px solid var(--rouge);
  background: var(--page); color: var(--bleu); padding-inline: 16px;
}
.hero__img {
  position: absolute; bottom: 0; right: 0; z-index: 0;
  pointer-events: none; transform-origin: bottom right; display: none;
}
.hero__img img { height: clamp(40.25rem, calc(78vh + 100px), 62.25rem); width: auto; display: block; }
/* 2 colonnes (texte + photo) maintenues dès 1024px ; masquée en dessous. */
@media (min-width: 1024px) { .hero__img { display: block; } }
@media (min-width: 1536px) { .hero__img { right: 40px; } }

.hero__inner {
  position: relative; z-index: 10; margin: auto;
  width: 100%; max-width: 1280px; flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 32px; padding-bottom: 48px; padding-top: 96px;
}
@media (min-width: 1024px) { .hero__inner { flex-direction: row; align-items: flex-end; gap: 0; } }

.hero__title-col {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; max-width: 42rem;
}
@media (min-width: 1024px) { .hero__title-col { margin-right: auto; align-items: flex-start; } }

.hero__title {
  margin: 0; font-family: var(--font-display); text-transform: uppercase;
  line-height: .82; font-size: clamp(4.5rem, 20vw, 8rem);
}
@media (min-width: 1024px) { .hero__title { font-size: clamp(4.5rem, 13vw, 15rem); } }
.hero__title .l1 { display: block; color: var(--bleu); }
.hero__title .l2 { display: block; margin-left: 1rem; color: var(--bleu); }

/* Variante « nom » (ÉDOUARD / PHILIPPE) : capitales, collées à gauche,
   un cran plus serrées que le titre générique. */
.hero__title--name { text-transform: uppercase; line-height: .8; }
.hero__title--name .l2 { margin-left: 0; }

/* Lockup titre (SVG « Grand Meeting / Édouard Philippe ») en lieu et place
   du sur-titre + nom HTML. Le SVG (viewBox 283.5×217.2) scale en largeur. */
.hero__lockup { margin: 0; line-height: 0; width: 100%; }
.hero__lockup img {
  display: block; width: 100%; height: auto;
  max-width: 34rem;
}
/* Desktop : le lockup s'adapte à la largeur (≤ 44vw) pour cohabiter avec la
   photo en 2 colonnes dès 1024px, plafonné à 40rem sur grand écran. */
@media (min-width: 1024px) { .hero__lockup img { max-width: min(40rem, 44vw); } }

/* Ligne d'affiche rouge sous le nom (lieu + date) */
.hero__affiche {
  margin: clamp(14px, 2.4vh, 22px) 0 0;
  font-family: var(--font-archivo);
  font-weight: 800; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.08;
  color: var(--rouge);
  font-size: clamp(1rem, 2.4vw, 1.5rem);
}
.hero__affiche span { display: block; }

/* Carte info / CTA */
.hero__card { width: 100%; text-align: left; color: #000; }
@media (min-width: 1024px) {
  .hero__card-wrap { width: 100%; }
  .hero__card { max-width: 30rem; }
}
.hero__meta {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-archivo); margin: 18px 0 28px;
}
.hero__meta .date {
  font-size: clamp(1.5rem, 4vw, 1.9rem); font-weight: 800;
  text-transform: uppercase; letter-spacing: -.01em; color: var(--bleu); line-height: 1;
}
.hero__meta .place {
  font-size: 15px; font-weight: 600; color: var(--encre);
  display: inline-flex; align-items: center; gap: 8px;
}
.hero__meta .place svg { width: 16px; height: 16px; flex: none; color: var(--rouge); }
.hero__lede { padding-bottom: 28px; font-size: 16px; line-height: 1.5; color: var(--encre); }

/* Indicateur de défilement (mobile) */
.scroll-hint {
  position: fixed; inset: auto 0 28px 0; z-index: 40;
  display: flex; justify-content: center; pointer-events: none;
  transition: opacity .5s ease;
}
.scroll-hint span.lbl {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(40,51,119,.8); font-family: var(--font-archivo);
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em;
}
.scroll-hint svg { width: 24px; height: 24px; animation: bounce 1.4s infinite; }
@media (min-width: 1024px) { .scroll-hint { display: none; } }
@keyframes bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-hint svg { animation: none; } }

/* ============================================================
   SECTION — détails de l'événement
   ============================================================ */
.sec { position: relative; padding-block: clamp(72px, 12vh, 140px); }
.sec-title {
  font-family: var(--font-archivo); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1.02;
  font-size: clamp(2rem, 4.6vw, 3.5rem); color: var(--bleu); margin-top: 18px;
  text-wrap: balance;
}
.sec-lede { margin-top: 20px; max-width: 46rem; font-size: 18px; line-height: 1.6; color: var(--encre); }

.info-grid {
  margin-top: 56px; display: grid; gap: 24px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .info-grid { grid-template-columns: repeat(3, 1fr); } }
.info-card {
  border: 1px solid rgba(40,51,119,.14); padding: 28px;
  background: var(--pan-1);
}
.info-card .ic {
  width: 28px; height: 28px; color: var(--rouge); margin-bottom: 16px;
}
.info-card h3 {
  font-family: var(--font-archivo); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--beton); margin-bottom: 8px;
}
.info-card p { font-family: var(--font-archivo); font-size: 20px; font-weight: 800; color: var(--bleu); line-height: 1.15; }
.info-card p span { display: block; font-size: 14px; font-weight: 500; color: var(--encre); margin-top: 4px; }

/* Bande CTA finale */
.cta-band {
  background: var(--bleu); color: #fff; padding-block: clamp(64px, 10vh, 120px);
  border-top: 6px solid var(--rouge);
}
.cta-band .eyebrow { color: #fff; }
.cta-band h2 {
  font-family: var(--font-display); text-transform: uppercase; line-height: .9;
  font-size: clamp(3rem, 9vw, 6rem); margin: 16px 0 12px;
}
.cta-band h2 .grad {
  background-image: linear-gradient(135deg, var(--orange) 0%, var(--rouge) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.cta-band p { max-width: 40rem; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.85); margin-bottom: 36px; }
.btn-light { background: #fff; color: var(--bleu); }
.btn-light:hover { box-shadow: 0 14px 28px -12px rgba(0,0,0,.35); }

/* ---------- Footer ---------- */
/* Zone de contenu libre au-dessus du footer */
.content-zone {
  background: var(--page); color: var(--encre);
  padding-block: clamp(56px, 9vh, 112px);
  border-top: 6px solid var(--rouge);
}
.content-zone .inner { max-width: 46rem; }
.content-zone h2 {
  font-family: var(--font-archivo); font-weight: 800; text-transform: uppercase;
  letter-spacing: -.02em; line-height: 1.05; color: var(--bleu);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); margin-bottom: 20px; text-wrap: balance;
}
.content-zone h3 {
  font-family: var(--font-archivo); font-weight: 800; text-transform: uppercase;
  letter-spacing: .02em; line-height: 1.1; color: var(--bleu);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  margin: 1.8em 0 .5em;
}
.content-zone p { font-size: 17px; line-height: 1.7; color: var(--encre); }
.content-zone p + p { margin-top: .85em; }
.content-zone a { color: var(--bleu); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.content-zone .cz-signoff { margin-top: 1.8em; font-style: italic; color: var(--beton); }
.content-zone .cz-list { margin-top: .5em; padding-left: 1.4em; list-style: none; }
.content-zone .cz-list li { position: relative; font-size: 17px; line-height: 1.7; color: var(--encre); }
.content-zone .cz-list li::before {
  content: ""; position: absolute; left: -1.4em; top: .65em;
  width: 7px; height: 7px; background: var(--rouge); border-radius: 50%;
}

.ftr { background: var(--page); color: var(--beton); padding-block: 40px; font-size: 13px; border-top: 1px solid rgba(40,51,119,.12); }
.ftr .wrap { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
@media (min-width: 700px) { .ftr .wrap { flex-direction: row; align-items: center; justify-content: space-between; } }
.ftr a { color: #fff; text-decoration: none; }
.ftr a:hover { text-decoration: underline; }
.ftr .logo { width: 120px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
