/* =============================================================================
   LANDING — Soirée IA × Château d'Aurec
   Charte MarketFrame.

   RÈGLES PALETTE :
   - Noir profond #000000 + Blanc cassé #F6F6F8 → alternance des fonds.
   - Texte sur fond noir = blanc cassé. Texte sur fond clair = noir profond.
   - Néon orange #FF5C1C : ponctuel uniquement (chiffre, point, ligne, forme).
     JAMAIS pour du texte.
   - Néon bleu #0094FF : réservé au logo, ne pas réutiliser ailleurs.
   ============================================================================= */

:root {
  /* Couleurs MarketFrame */
  --black:  #000000;
  --cream:  #F6F6F8;
  /* --blue: #0094FF; — réservé au logo, non utilisé ici */

  /* Surface & texte (fond noir, texte blanc cassé) */
  --bg:           var(--black);
  --bg-card:      #0C0C0E;
  --text:         var(--cream);
  --text-soft:    #BDBDC2;
  --text-muted:   #7A7A80;
  --line:         rgba(246, 246, 248, 0.10);
  --line-strong:  rgba(246, 246, 248, 0.18);
  --grid:         rgba(246, 246, 248, 0.04);

  /* Accent orange (ponctuel uniquement — jamais en texte) */
  --accent:       #FF5C1C;
  --accent-soft:  rgba(255, 92, 28, 0.12);
  --accent-ink:   var(--black);

  /* Typo — HK Grotesk Bold pour les titres, Inter pour le reste */
  --font-display: "Hanken Grotesk", "HK Grotesk", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Géométrie */
  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-full: 9999px;

  --container:        72rem;
  --container-narrow: 48rem;
}

/* ---- Reset léger ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  min-height: 100dvh;
  overflow-x: hidden;
}

/* Quadrillage tech (visible sur toute la page, au-dessus des halos) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background-image:
    linear-gradient(to right, rgba(246, 246, 248, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(246, 246, 248, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* Halos orange animés — derrière le quadrillage et le contenu */
.bg-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.bg-glow span {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
/* Orbe 1 — confiné dans la moitié supérieure du viewport */
.bg-glow span:nth-child(1) {
  width: 55vw; height: 55vw;
  top: -20vh; left: -15vw;
  background: radial-gradient(circle, rgba(255, 92, 28, 0.16), transparent 60%);
  animation: bg-drift-top 70s ease-in-out infinite;
}
/* Orbe 2 — confiné dans la moitié inférieure du viewport */
.bg-glow span:nth-child(2) {
  width: 55vw; height: 55vw;
  bottom: -20vh; right: -15vw;
  background: radial-gradient(circle, rgba(255, 92, 28, 0.13), transparent 60%);
  animation: bg-drift-bottom 95s ease-in-out infinite;
}
/* Trajectoires dans des moitiés opposées : ils ne se croisent jamais */
@keyframes bg-drift-top {
  0%, 100% { transform: translate3d(0vw, 0vh, 0); }
  25%      { transform: translate3d(35vw, 6vh, 0); }
  50%      { transform: translate3d(70vw, -4vh, 0); }
  75%      { transform: translate3d(20vw, 10vh, 0); }
}
@keyframes bg-drift-bottom {
  0%, 100% { transform: translate3d(0vw, 0vh, 0); }
  25%      { transform: translate3d(-30vw, -6vh, 0); }
  50%      { transform: translate3d(-65vw, 4vh, 0); }
  75%      { transform: translate3d(-22vw, -10vh, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .bg-glow span { animation: none; }
}

main, footer { position: relative; z-index: 2; }

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.section { padding: 0.5rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 0.75rem 0; } }

.section--bordered-y { border-block: 1px solid var(--line); }

/* ---- Typo ---- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft); /* ⚠️ jamais en orange */
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow::before {
  /* Le "point" peut être orange (élément ponctuel = forme) */
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent);
}
.eyebrow__sep { color: rgba(255, 255, 255, 0.35); }
.eyebrow__free { color: #FF5C1C; font-weight: 600; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.05;
}
h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(2rem, 3.5vw + 0.5rem, 3.25rem);
  letter-spacing: -0.03em;
}
h3 {
  font-size: clamp(1.25rem, 1.2vw + 0.8rem, 1.5rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.lede {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  color: var(--text-soft);
}

/* ---- Boutons CTA ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1rem;
  box-shadow:
    0 0 0 1px rgba(255, 92, 28, 0.5),
    0 12px 30px -10px rgba(255, 92, 28, 0.45);
}
@media (min-width: 640px) { .btn--primary { font-size: 1.0625rem; } }
/* Hover : couleur orange préservée + halo néon multi-couches */
.btn--primary:hover {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 92, 28, 1),
    0 0 18px rgba(255, 92, 28, 0.7),
    0 0 38px rgba(255, 92, 28, 0.5),
    0 0 70px rgba(255, 92, 28, 0.3);
  transform: translateY(-1px);
}
.btn--primary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---- Top nav (sticky, compact, premium) ---- */
:root {
  --topnav-h: 68px;
}

.topnav {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--topnav-h);
  color: var(--cream);
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}
.topnav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
}

/* --- Logos / brand (gauche) --- */
.topnav__brand {
  display: inline-flex;
  align-items: center;
  flex: 1;
}
.topnav__logo-img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}
.topnav__divider {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 12px;
}

/* --- Navigation centrale --- */
.topnav__links {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 36px;
  flex: 1;
}
@media (min-width: 1024px) and (max-width: 1280px) {
  .topnav__links { gap: 28px; }
}
@media (min-width: 1024px) {
  .topnav__links { display: flex; }
}
.topnav__links a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.topnav__links a:hover { color: #fff; }

/* --- Actions (CTA + burger, droite) --- */
.topnav__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 1;
}
.topnav__cta {
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  background: #FF5C1C;
  color: #fff;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(255, 92, 28, 0.25);
}
.topnav__cta:hover {
  background: var(--accent);
  box-shadow:
    0 0 0 1px rgba(255, 92, 28, 1),
    0 0 12px rgba(255, 92, 28, 0.65),
    0 0 24px rgba(255, 92, 28, 0.4);
}
.topnav__cta .arrow { font-size: 13px; }

/* Burger (Lucide Menu / X) — visible < 1024 */
.topnav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--cream);
  transition: background 0.2s ease;
}
.topnav__burger:hover { background: rgba(255, 255, 255, 0.12); }
.topnav__burger { position: relative; }
.topnav__burger svg {
  position: absolute;
  top: 50%; left: 50%;
  width: 20px; height: 20px;
  transition: opacity 0.22s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.topnav__burger-menu { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
.topnav__burger-x   { opacity: 0; transform: translate(-50%, -50%) rotate(-45deg); }
.topnav__burger.is-active .topnav__burger-menu { opacity: 0; transform: translate(-50%, -50%) rotate(45deg); }
.topnav__burger.is-active .topnav__burger-x   { opacity: 1; transform: translate(-50%, -50%) rotate(0deg); }
@media (min-width: 1024px) { .topnav__burger { display: none; } }

/* Drawer mobile sous la nav */
@media (max-width: 1023px) {
  .topnav__links {
    position: fixed;
    top: var(--topnav-h);
    left: 0; right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
    transform: translateY(-110%);
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    visibility: hidden;
  }
  .topnav__links.is-open {
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  .topnav__links a {
    font-size: 1rem;
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .topnav__links a:last-child { border-bottom: 0; }
  .topnav__links a:hover { color: var(--accent); }
}

/* Overlay sombre derrière le drawer mobile */
.topnav__overlay {
  position: fixed;
  inset: 0;
  top: var(--topnav-h);
  z-index: 59;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}
.topnav__overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.32s ease, visibility 0s linear 0s;
}

/* Mobile : on cache le 2e logo + le séparateur, et on rapetisse encore le CTA */
@media (max-width: 767px) {
  .topnav__brand > :nth-child(2),
  .topnav__brand > :nth-child(3) { display: none; }
  .topnav__logo-img { height: 32px; }
  .topnav__cta { padding: 6px 14px; font-size: 12px; }
}
@media (max-width: 380px) { .topnav__cta .arrow { display: none; } }

/* Ancres : atterrissage sous la nav */
section[id], div[id] {
  scroll-margin-top: calc(var(--topnav-h) + 16px);
}

/* ---- Hero ---- */
/* =============================================================================
   HERO PHOTO — plein écran, photo de la soirée + overlay texte
   ============================================================================= */
.hero-photo {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero-photo__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-photo__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  /* Zoom lent très léger pour donner vie à la photo */
  animation: heroKenBurns 24s ease-out forwards;
}
@keyframes heroKenBurns {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

/* Voile dégradé : assombrit le bas + la gauche (où se trouve le texte) */
.hero-photo__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to right,
      rgba(0,0,0,0.85) 0%,
      rgba(0,0,0,0.55) 34%,
      rgba(0,0,0,0.15) 62%,
      rgba(0,0,0,0.30) 100%),
    linear-gradient(to top,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.30) 32%,
      rgba(0,0,0,0.18) 70%,
      rgba(0,0,0,0.40) 100%),
    radial-gradient(120% 90% at 10% 60%, rgba(255,92,28,0.18) 0%, transparent 55%);
}

.hero-photo__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 5.5rem;
  padding-bottom: clamp(2rem, 5vh, 4rem);
  max-width: 62rem;
}

.hero-photo__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.5rem 0.9rem;
  border-radius: 9999px;
  margin: 0 0 1.25rem 0;
}
.hero-photo__dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 12px 2px rgba(255,92,28,0.9);
}

.hero-photo__title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
  text-shadow: 0 2px 40px rgba(0,0,0,0.5);
}

.hero-photo__subtitle {
  margin: 1.5rem 0 0 0;
  max-width: 40rem;
  font-size: clamp(1rem, 0.4vw + 0.95rem, 1.2rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
}

.hero-photo__cta {
  margin-top: 2.25rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.hero-photo__link {
  color: rgba(255,255,255,0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-photo__link:hover { color: #fff; border-color: var(--accent); }

/* Flèche de scroll animée en bas */
.hero-photo__scroll {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.hero-photo__scroll:hover { color: #fff; border-color: var(--accent); }
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 6px); }
}

@media (max-width: 640px) {
  .hero-photo__inner { padding-top: 6.5rem; }
  .hero-photo__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-photo__bg img,
  .hero-photo__scroll { animation: none; }
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 3rem 0 0.5rem;
}
@media (min-width: 768px) { .hero { padding: 4.5rem 0 0.75rem; } }
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong), transparent);
}
/* Container hero élargi (1440px) avec padding fluide */
.hero .container {
  max-width: 90rem;
  padding-left: clamp(1.5rem, 4vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
  }
}
@media (min-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(3rem, 4vw, 4rem);
    align-items: center;
  }
}

.hero__accent { color: var(--accent); }

.hero__subtitle {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: clamp(1rem, 0.4vw + 0.9rem, 1.125rem);
  line-height: 1.6;
  color: var(--text-soft);
}
.hero__cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .hero__cta-row {
    flex-direction: row;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
  }
}
.hero__gratuit {
  margin-top: 0.75rem;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.hero__gratuit-hl {
  color: #FF5C1C;
  font-weight: 600;
}
/* =============================================================================
   HERO — icône château avec lévitation (entièrement contenue dans sa colonne)
   ============================================================================= */

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  align-self: center;
}

.hero__stage {
  position: relative;
  width: 100%;
  max-width: 100%;
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero__stage { max-width: 30rem; } /* 480px */
}
@media (min-width: 1024px) {
  .hero__stage { max-width: 30rem; } /* 480px */
}
@media (min-width: 1600px) {
  .hero__stage { max-width: 34rem; }    /* 544px */
}

.hero__stage {
  /* Perspective pour le tilt 3D souris */
  perspective: 900px;
}

.hero__icon {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 3;
  filter:
    drop-shadow(0 25px 40px rgba(0, 0, 0, 0.45))
    drop-shadow(0 0 0px rgba(255, 92, 28, 0));
  animation:
    hero-levitate 7s ease-in-out infinite,
    hero-glow-pulse 4s ease-in-out infinite;
  will-change: transform, filter;
  transform-style: preserve-3d;
  transition: filter 0.1s ease;
}

/* Halo orange derrière l'icône */
.hero__stage::before {
  content: "";
  position: absolute;
  inset: 10% 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 28, 0.18) 0%, transparent 68%);
  animation: hero-halo 5s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
  filter: blur(28px);
}

/* Anneau de lumière subtil */
.hero__stage::after {
  content: "";
  position: absolute;
  inset: -4%;
  border-radius: 50%;
  border: 1px solid rgba(255, 92, 28, 0);
  animation: hero-ring 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-levitate {
  0%, 100% { transform: translateY(var(--parallax-y, 0px))        rotate(-0.3deg); }
  50%      { transform: translateY(calc(var(--parallax-y, 0px) - 12px)) rotate(0.4deg); }
}

@keyframes hero-glow-pulse {
  0%, 100% { filter: drop-shadow(0 25px 40px rgba(0,0,0,0.45)) drop-shadow(0 0 0px rgba(255,92,28,0)); }
  50%      { filter: drop-shadow(0 30px 50px rgba(0,0,0,0.5)) drop-shadow(0 0 28px rgba(255,92,28,0.22)); }
}

@keyframes hero-halo {
  0%   { transform: scale(0.9) translateY(6px);  opacity: 0.6; }
  100% { transform: scale(1.1) translateY(-6px); opacity: 1; }
}

@keyframes hero-ring {
  0%   { transform: scale(0.92); border-color: rgba(255,92,28,0);    opacity: 0; }
  40%  { border-color: rgba(255,92,28,0.18); opacity: 1; }
  100% { transform: scale(1.18); border-color: rgba(255,92,28,0);    opacity: 0; }
}

@media (max-width: 767px) {
  .hero__icon {
    max-height: 320px;
    width: auto;
    margin: 0 auto;
  }
}

/* --- Accessibilité : motion réduit --- */
@media (prefers-reduced-motion: reduce) {
  .hero__icon { animation: none; }
  .hero__stage::before,
  .hero__stage::after { animation: none; }
}

/* ---- Asset placeholder ---- */
.asset {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 12px,
      var(--line) 12px 13px
    ),
    var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--text-muted);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  overflow: hidden;
}
.asset__inner {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 100%;
}
.asset__tag {
  font-family: var(--font-sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted); /* ⚠️ pas d'orange en texte */
}
.asset__label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-soft);
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.asset__meta {
  font-size: 11px;
  color: var(--text-muted);
}
.asset__path {
  font-family: var(--font-sans);
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 0.25rem;
  word-break: break-all;
}
.asset--landscape { aspect-ratio: 16 / 9; }
.asset--square    { aspect-ratio: 1 / 1; }
.asset--round     { border-radius: 9999px; }

/* Quand .asset est utilisé sur un vrai <img>, on retire le pattern hachuré
   du placeholder et on laisse l'image remplir proprement la zone. */
img.asset {
  background: none;
  padding: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================================
   Floating section — cartes décoratives + manifesto central
   ============================================================================ */
.floating-section {
  position: relative;
  overflow: hidden;
  padding: 120px clamp(20px, 4vw, 40px);
  min-height: 720px;
  isolation: isolate;
}
/* Variante sans cartes décoratives (page formations) : pas de hauteur imposée */
.floating-section--compact {
  min-height: 0;
  padding: 24px clamp(20px, 4vw, 40px) 8px;
}
.floating-section__inner {
  position: relative;
  z-index: 5;
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.fs-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 auto 24px;
  max-width: 780px;
}
.fs-title-1 { color: #fff; font-weight: 600; }
.fs-title-2 { color: #fff; font-weight: 500; }
.fs-title-accent { color: #FF5C1C; }

.fs-para {
  max-width: 540px;
  margin: 0 auto 40px;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  color: #fff;
}
.fs-hl { color: #FF5C1C; font-weight: 500; }

.fs-cta { padding: 12px 22px; font-size: 13px; }

/* ---- Cartes flottantes (notification iOS uniforme, liquid glass) ---- */
.float-card {
  position: absolute;
  z-index: 1;
  width: 260px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-family: -apple-system, BlinkMacSystemFont, var(--font-sans);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(60px) saturate(200%);
  -webkit-backdrop-filter: blur(60px) saturate(200%);
  border: 0.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.04);
  --scale: 1;
  transform: rotate(var(--rot, 0deg)) scale(var(--scale));
  animation: float var(--dur, 6.5s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  will-change: transform;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)) scale(var(--scale, 1)); }
  50%      { transform: translateY(calc(-1 * var(--amp, 8px))) rotate(var(--rot, 0deg)) scale(var(--scale, 1)); }
}

/* Bouton close (apparaît au hover de la carte) */
.float-card__close {
  position: absolute;
  top: -7px;
  right: -7px;
  width: 22px;
  height: 22px;
  padding: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.72);
  border: 0.5px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.22s ease, transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;
  z-index: 10;
}
.float-card:hover .float-card__close { opacity: 1; transform: scale(1); }
.float-card__close:hover {
  background: #FF5C1C;
  border-color: rgba(255, 92, 28, 0.9);
}
.float-card__close svg { display: block; pointer-events: none; }

/* Pop magique au clic */
.float-card.is-popping {
  animation: magic-pop 0.6s cubic-bezier(0.34, 1.4, 0.6, 1) forwards;
  pointer-events: none;
}
.float-card.is-popping::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 28px;
  background: radial-gradient(circle, rgba(255, 92, 28, 0.5), transparent 60%);
  pointer-events: none;
  animation: magic-burst 0.55s ease-out forwards;
}
@keyframes magic-pop {
  0% {
    transform: translateY(0) rotate(var(--rot, 0deg)) scale(var(--scale, 1));
    opacity: 1;
    filter: blur(0);
  }
  25% {
    transform: translateY(-6px) rotate(var(--rot, 0deg)) scale(calc(var(--scale, 1) * 1.18));
    opacity: 1;
    filter: blur(0);
  }
  100% {
    transform: translateY(-30px) rotate(calc(var(--rot, 0deg) + 22deg)) scale(0);
    opacity: 0;
    filter: blur(10px);
  }
}
@keyframes magic-burst {
  0%   { opacity: 0; transform: scale(0.4); }
  35%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.7); }
}
@media (prefers-reduced-motion: reduce) {
  .float-card.is-popping { animation: none; opacity: 0; transition: opacity 0.3s ease; }
  .float-card.is-popping::after { display: none; }
}

/* ============================================================================
   Modal d'inscription (rm = reservation modal)
   ============================================================================ */
body.modal-open { overflow: hidden; }

.rm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease-out;
}
.rm-backdrop[hidden] { display: none; }
.rm-backdrop.is-open { opacity: 1; pointer-events: auto; }

.rm-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 40px;
  background: #1c1c1e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
  color: #fff;
  transform: scale(0.95) translateY(20px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease-out;
}
.rm-backdrop.is-open .rm-modal {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.rm-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.rm-close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.rm-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.rm-eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FF5C1C;
}
.rm-title {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}
.rm-required {
  color: var(--accent);
  margin-left: 2px;
  font-weight: 600;
}
.rm-alert {
  padding: 10px 14px;
  margin-bottom: 16px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  font-size: 13px;
  line-height: 1.4;
}

/* Form fields */
.rm-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.rm-field {
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(8px);
}
.rm-row.rm-row--split { opacity: 0; transform: translateY(8px); }
/* Stagger d'entrée déclenché à l'ouverture du modal (.is-open sur backdrop) */
.rm-backdrop.is-open .rm-row--split,
.rm-backdrop.is-open .rm-field {
  animation: rm-field-in 0.45s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.rm-backdrop.is-open .rm-row--split { animation-delay: 0.18s; }
.rm-backdrop.is-open .rm-row--split + .rm-field { animation-delay: 0.23s; }
.rm-backdrop.is-open .rm-row--split + .rm-field + .rm-field { animation-delay: 0.28s; }
.rm-backdrop.is-open .rm-row--split + .rm-field + .rm-field + .rm-field { animation-delay: 0.33s; }
@keyframes rm-field-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .rm-field, .rm-row--split { opacity: 1; transform: none; animation: none !important; }
}
.rm-label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.7);
}
.rm-label__hint {
  font-style: italic;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}
.rm-input {
  width: 100%;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #fff;
  font-family: inherit;
  font-size: 16px; /* ≥ 16px pour éviter le zoom auto au focus sur iOS Safari */
  transition: border-color 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}
.rm-input::placeholder { color: rgba(255, 255, 255, 0.35); }
.rm-input:focus {
  outline: none;
  border-color: #FF5C1C;
  background: rgba(255, 255, 255, 0.05);
}
.rm-input.is-invalid {
  border-color: #ef4444;
  background: rgba(239, 68, 68, 0.05);
}
.rm-error {
  display: block;
  min-height: 0;
  margin-top: 0;
  font-size: 11px;
  color: #ef4444;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease, margin-top 0.2s ease;
}
.rm-error.is-shown {
  opacity: 1;
  margin-top: 4px;
}

/* Toggle RGPD (<details>/<summary>) */
.rm-rgpd { margin: 8px 0 24px; }
.rm-rgpd__summary {
  display: inline-block;
  font-size: 12px;
  line-height: 1.5;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  list-style: none;
  outline: none;
}
.rm-rgpd__summary::-webkit-details-marker { display: none; }
.rm-rgpd__summary:hover { color: #FF7A47; }
.rm-rgpd__summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.rm-rgpd__detail {
  margin-top: 10px;
  padding: 14px 16px;
  background: rgba(255, 92, 28, 0.05);
  border: 1px solid rgba(255, 92, 28, 0.15);
  border-radius: 10px;
}
.rm-rgpd__heading {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.rm-rgpd__body {
  margin: 0 0 12px;
  font-size: 11.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.rm-rgpd__body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.rm-rgpd__close {
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(255, 92, 28, 0.45);
  border-radius: 999px;
  color: var(--accent);
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.rm-rgpd__close:hover {
  background: var(--accent);
  color: #fff;
}

/* Submit button */
.rm-submit {
  width: 100%;
  padding: 14px 24px;
  background: #FF5C1C;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 24px rgba(255, 92, 28, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, opacity 0.2s ease;
}
.rm-submit:hover {
  background: #FF6E36;
  box-shadow: 0 6px 28px rgba(255, 92, 28, 0.4);
}
.rm-submit:active { transform: scale(0.98); }
.rm-submit[disabled] { opacity: 0.7; cursor: wait; }
.rm-submit__spinner { display: none; animation: rm-spin 0.9s linear infinite; }
.rm-submit.is-loading .rm-submit__arrow { display: none; }
.rm-submit.is-loading .rm-submit__spinner { display: block; }
@keyframes rm-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* État confirmation */
.rm-state--success { text-align: center; }
.rm-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22C55E;
  animation: rm-bounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes rm-bounce { from { transform: scale(0.6); } to { transform: scale(1); } }
.rm-success-title {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}
.rm-success-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #FF5C1C;
  margin: 0 0 24px;
}
.rm-callout {
  margin-bottom: 24px;
  padding: 18px 20px;
  background: rgba(255, 92, 28, 0.06);
  border: 1px solid rgba(255, 92, 28, 0.15);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}
.rm-callout strong { color: #fff; font-weight: 500; }
.rm-details {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  text-align: left;
}
.rm-details li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}
.rm-details li:last-child { margin-bottom: 0; }
.rm-details li svg {
  flex: none;
  color: #FF5C1C;
}
.rm-calendar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  margin-bottom: 12px;
  background: transparent;
  border: 1px solid rgba(255, 92, 28, 0.4);
  border-radius: 999px;
  color: #FF5C1C;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.rm-calendar:hover {
  background: rgba(255, 92, 28, 0.08);
  border-color: #FF5C1C;
}
.rm-close-link {
  width: 100%;
  padding: 8px;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.2s ease;
}
.rm-close-link:hover { color: #fff; }

/* Transitions entre états */
.rm-state { transition: opacity 0.3s ease; }
.rm-state[hidden] { display: none; }
.rm-state--success { animation: rm-state-in 0.4s ease forwards; }
@keyframes rm-state-in {
  from { opacity: 0; transform: scale(0.97); }
  to   { opacity: 1; transform: scale(1); }
}

/* Responsive */
@media (max-width: 767px) {
  .rm-backdrop { padding: 12px; align-items: flex-end; }
  .rm-modal { padding: 24px 20px; max-height: 90dvh; overflow-y: auto; border-radius: 20px 20px 12px 12px; }
  .rm-close { top: 12px; right: 12px; }
  .rm-title { font-size: 20px; }
}
@media (max-width: 480px) {
  .rm-row--split { grid-template-columns: 1fr; gap: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .rm-backdrop, .rm-modal, .rm-check, .rm-state--success { transition: none; animation: none; }
}

/* ============================================================================
   Easter egg final : popup cadeau + confetti orange
   ============================================================================ */
.prize-pop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 32px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}
.prize-pop[hidden] { display: none; }
.prize-pop.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0s linear 0s;
}
.prize-pop__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}
.prize-pop__confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  width: 8px;
  height: 14px;
  border-radius: 1px;
  opacity: 0;
  animation: confetti-fall var(--dur, 4.5s) var(--delay, 0s) linear forwards;
  will-change: transform, opacity;
}
@keyframes confetti-fall {
  0%   { transform: translate3d(0, -10vh, 0) rotate(0deg); opacity: 0; }
  8%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { transform: translate3d(var(--drift, 40px), 110vh, 0) rotate(var(--spin, 720deg)); opacity: 0; }
}

.prize-pop__card {
  position: relative;
  z-index: 1;
  max-width: 480px;
  width: 100%;
  padding: 40px 32px 32px;
  background: rgba(20, 20, 22, 0.92);
  border: 1px solid rgba(255, 92, 28, 0.25);
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  text-align: center;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}
.prize-pop.is-open .prize-pop__card {
  transform: scale(1);
  opacity: 1;
}
.prize-pop__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.prize-pop__close:hover {
  background: #FF5C1C;
  border-color: #FF5C1C;
}
.prize-pop__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 18px;
  background: rgba(255, 92, 28, 0.14);
  border: 1px solid rgba(255, 92, 28, 0.3);
  color: #FF5C1C;
  animation: prize-icon-pulse 2.4s ease-in-out infinite;
}
@keyframes prize-icon-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 92, 28, 0.4); }
  50%      { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(255, 92, 28, 0); }
}
.prize-pop__title {
  font-size: clamp(22px, 3.2vw, 28px);
  font-weight: 700;
  color: #fff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.prize-pop__text {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 14px;
}
.prize-pop__text strong { color: #fff; font-weight: 600; }
.prize-pop__accent { color: #FF5C1C; font-weight: 600; }
.prize-pop__password {
  margin: 20px auto 28px;
  padding: 14px 20px;
  background: rgba(255, 92, 28, 0.10);
  border: 1px dashed rgba(255, 92, 28, 0.55);
  border-radius: 12px;
  color: #FF5C1C;
  font-size: clamp(16px, 2.2vw, 19px);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-style: italic;
  user-select: all;
}
.prize-pop__cta {
  padding: 12px 28px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .prize-pop__card { padding: 32px 22px 24px; }
  .prize-pop__icon { width: 56px; height: 56px; }
  .prize-pop__password { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .prize-pop, .prize-pop__card, .prize-pop__icon { transition: opacity 0.2s ease; animation: none; }
  .confetti-piece { display: none; }
}

/* Bloc logo (fond blanc pour faire ressortir les couleurs de marque) */
.float-card__logo {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.float-card__logo img {
  width: 24px;
  height: 24px;
  display: block;
}

/* Bloc contenu (à droite du logo) */
.float-card__body { flex: 1; min-width: 0; }
.float-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}
.float-card__app {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}
.float-card__time {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.float-card__title {
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 2px;
}
.float-card__desc {
  font-size: 11.5px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.35;
}

/* Positions + rotations + cadence d'animation par carte */
.float-card--n1 { top: 60px;    left: 60px;    --rot: -6deg; --amp: 4px; --dur: 6.5s; --delay: 0s; }
.float-card--n2 { top: 280px;   right: 100px;  --rot: 4deg;  --amp: 3px; --dur: 7s;   --delay: 0.8s; }
.float-card--n3 { top: 280px;   left: 30px;    --rot: -3deg; --amp: 5px; --dur: 6s;   --delay: 1.6s; }
.float-card--n4 { top: 60px;    right: 60px;   --rot: 7deg;  --amp: 4px; --dur: 7.5s; --delay: 2.4s; }
.float-card--n5 { bottom: 60px; left: 80px;    --rot: -5deg; --amp: 5px; --dur: 6.8s; --delay: 0.4s; }
.float-card--n6 { bottom: 80px; right: 70px;   --rot: 4deg;  --amp: 4px; --dur: 6.2s; --delay: 1.2s; }

/* ---- Responsive ---- */
@media (min-width: 768px) and (max-width: 1199px) {
  .floating-section { min-height: 720px; }
  .float-card { width: 240px; --scale: 0.9; }
}
@media (max-width: 767px) {
  .floating-section { min-height: auto; padding: 80px 20px; position: relative; overflow: hidden; }
  .floating-section__inner { max-width: 100%; position: relative; z-index: 5; }
  .fs-title { font-size: clamp(28px, 7vw, 40px); }
  /* Cartes en mode icône seulement — repositionnées dans les coins hors texte */
  .float-card {
    width: 52px; height: 52px; border-radius: 14px; padding: 8px;
    display: flex !important; align-items: center; justify-content: center; gap: 0;
  }
  .float-card__body { display: none !important; }
  /* Croix toujours visible sur mobile (pas de hover sur touch) */
  .float-card__close {
    display: flex !important;
    opacity: 1;
    transform: scale(1);
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
  }
  .float-card__logo { width: 32px; height: 32px; border-radius: 6px; }
  .float-card__logo img { width: 24px; height: 24px; }
  .float-card--n1 { top: 12px; left: 12px; --rot: 0deg; }
  .float-card--n2 { display: none !important; }
  .float-card--n3 { top: 12px; right: 12px; left: auto; --rot: 0deg; }
  .float-card--n4 { top: auto; bottom: 12px; left: 12px; right: auto; --rot: 0deg; }
  .float-card--n5 { display: none !important; }
  .float-card--n6 { bottom: 12px; right: 12px; left: auto; --rot: 0deg; }
}

@media (prefers-reduced-motion: reduce) {
  .float-card { animation: none; }
}


/* ============================================================================
   Programme — fenêtre "Calendrier macOS" dark mode (mockup statique)
   Aucune font-family : tout hérite de la charte globale de la landing.
   ============================================================================ */
.cal-section {
  padding: 100px clamp(24px, 4vw, 80px);
}
.cal-section__inner {
  max-width: 1200px;
  margin: 0 auto;
  /* Perspective pour la profondeur 3D de la fenêtre calendrier */
  perspective: 1600px;
}
.cal-section__title {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto;
}
.cal-section__subtitle {
  text-align: center;
  max-width: 36rem;
  margin: 1rem auto 3rem;
}

/* Fenêtre calendrier (avec lévitation 3D subtile) */
.cal-window {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  /* Liquid Glass : panneau translucide + flou saturé qui laisse passer le grid */
  background: rgba(22, 22, 26, 0.55);
  backdrop-filter: blur(48px) saturate(180%) brightness(108%);
  -webkit-backdrop-filter: blur(48px) saturate(180%) brightness(108%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  transform-style: preserve-3d;
  transform-origin: center;
  will-change: transform, box-shadow;
  animation: cal-float 9s ease-in-out infinite;
}
/* Rim light orange MarketFrame en haut de la fenêtre */
.cal-window::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 92, 28, 0) 10%,
    rgba(255, 92, 28, 0.4) 35%,
    rgba(255, 92, 28, 0.6) 50%,
    rgba(255, 92, 28, 0.4) 65%,
    rgba(255, 92, 28, 0) 90%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}
@keyframes cal-float {
  0%, 100% {
    transform: translateY(0);
    box-shadow:
      0 20px 60px rgba(0, 0, 0, 0.55),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  }
  50% {
    transform: translateY(-6px);
    box-shadow:
      0 28px 70px rgba(0, 0, 0, 0.6),
      inset 0 1px 0 rgba(255, 255, 255, 0.08),
      inset 0 -1px 0 rgba(0, 0, 0, 0.15);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cal-window { animation: none; transform: none; }
}

/* Title bar macOS — strate de verre supplémentaire sur le container */
.cal-titlebar {
  position: relative;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cal-traffic { display: flex; gap: 7px; }
.cal-light {
  width: 12px; height: 12px;
  border-radius: 50%;
  display: inline-block;
}
.cal-light--red    { background: #FF5F57; }
.cal-light--yellow { background: #FEBC2E; }
.cal-light--green  { background: #28C840; }

.cal-segmented {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  padding: 2px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 7px;
}
.cal-segmented__tab {
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.5);
}
.cal-segmented__tab--active {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-weight: 500;
}

/* Header date */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.cal-header__day {
  font-size: 28px;
  font-weight: 600;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 4px;
}
.cal-header__weekday {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.2;
}
.cal-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-nav__btn {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  border-radius: 6px;
  font-size: 13px;
  padding: 5px 14px;
  user-select: none;
  transition: background 0.2s ease;
}
.cal-nav__btn:hover { background: rgba(255, 255, 255, 0.14); }
.cal-nav__btn--arrow {
  font-size: 12px;
  padding: 5px 9px;
}

/* Grille horaire */
.cal-grid {
  display: grid;
  grid-template-columns: 60px 1fr;
  min-height: 400px;
}
.cal-hours { border-right: 1px solid rgba(255, 255, 255, 0.08); }
.cal-hours__cell {
  height: 80px;
  padding: 4px 10px;
  text-align: right;
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
}

.cal-events { position: relative; }
.cal-events__line {
  position: absolute;
  left: 0; right: 0;
  height: 80px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.cal-events__line:nth-child(1) { top: 0; }
.cal-events__line:nth-child(2) { top: 80px; }
.cal-events__line:nth-child(3) { top: 160px; }
.cal-events__line:nth-child(4) { top: 240px; }
.cal-events__line:nth-child(5) { top: 320px; }

.cal-event {
  position: absolute;
  left: 8px; right: 8px;
  top: var(--top);
  height: var(--h);
  /* Légèrement renforcé pour ressortir sur le verre liquide */
  background: rgba(255, 92, 28, 0.22);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-left: 3px solid #FF5C1C;
  border-radius: 5px;
  padding: 5px 10px;
  overflow: hidden;
  color: #FF8A5C;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.cal-event__title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.cal-event__subtitle {
  font-size: 11px;
  opacity: 0.85;
  line-height: 1.3;
  margin-top: 1px;
}
.cal-event__time {
  font-size: 10.5px;
  opacity: 0.6;
  margin-top: 2px;
}
/* Pour les événements courts (Accueil + Cas d'usage en live),
   le titre est légèrement plus petit pour rentrer dans la hauteur réduite */
.cal-event[style*="height:37px"] .cal-event__title,
.cal-event[style*="--h:37px"] .cal-event__title { font-size: 12px; }
.cal-event[style*="height:37px"] .cal-event__time,
.cal-event[style*="--h:37px"] .cal-event__time { opacity: 0.7; }

/* Responsive */
@media (max-width: 767px) {
  .cal-section { padding: 80px clamp(16px, 4vw, 24px); }
  .cal-segmented { display: none; }
  .cal-header { padding: 18px 16px; }
  .cal-header__day { font-size: 22px; }
  .cal-header__weekday { font-size: 14px; }

  .cal-grid { min-height: 320px; }
  .cal-hours__cell { height: 64px; font-size: 10px; }
  .cal-events__line { height: 64px; }
  .cal-events__line:nth-child(2) { top: 64px !important; }
  .cal-events__line:nth-child(3) { top: 128px !important; }
  .cal-events__line:nth-child(4) { top: 192px !important; }
  .cal-events__line:nth-child(5) { top: 256px !important; }

  /* Recalcul des positions/hauteurs : 1 cellule = 2 h, soit 32px par heure
     (contre 40px en desktop). Journée 09:00 → 17:00. */
  .cal-event:nth-of-type(1) { --top: 0px;   --h: 29px; }
  .cal-event:nth-of-type(2) { --top: 32px;  --h: 77px; }
  .cal-event:nth-of-type(3) { --top: 112px; --h: 29px; }
  .cal-event:nth-of-type(4) { --top: 144px; --h: 109px; }
}

/* ---- Lieu ---- */
.venue__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 1024px) {
  .venue__grid {
    grid-template-columns: 5fr 7fr;
    gap: 3rem;
    align-items: start;
  }
}
.venue__lede { margin-top: 1.5rem; }
.venue__address {
  margin-top: 2rem;
  padding: 1.25rem;
  border: 1px solid var(--line-strong);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  position: relative;
}
.venue__address::before {
  /* "Une ligne" orange pour souligner le bloc */
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--accent);
  border-radius: 2px 0 0 2px;
}
.venue__address-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.venue__address-name {
  margin-top: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.venue__address-line { margin-top: 0.25rem; font-size: 0.875rem; color: var(--text-soft); }
.venue__map-link {
  margin-top: 1rem;
  display: inline-flex;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);                          /* texte = pas orange */
  text-decoration: underline;
  text-decoration-color: var(--accent);        /* mais le soulignement = orange (= "une ligne") */
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.venue__map-link:hover { text-decoration-thickness: 3px; }

.venue__photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .venue__photos { gap: 1rem; } }
.venue__photos > .venue__photo--landscape { grid-column: 1 / -1; }

/* Wrapper photo : clipping + zoom doux au survol */
.venue__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
}
.venue__photo--landscape { aspect-ratio: 16 / 9; }
.venue__photo--square    { aspect-ratio: 1 / 1; }
.venue__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
@media (hover: hover) {
  .venue__photo:hover img { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .venue__photo img { transition: none; }
  .venue__photo:hover img { transform: none; }
}

/* ---- Partenaires ---- */
.partners__header { text-align: center; }
.partners-section { text-align: center; }
.partners__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 1.5rem;
}
@media (min-width: 640px) { .partners__grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .partners__grid { grid-template-columns: repeat(6, 1fr); } }

/* Wrapper + track : grille desktop, défilement horizontal mobile */
.partners__track-wrapper {
  margin-top: 2.5rem;
  overflow: hidden;
}
.partners__track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .partners__track-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 1rem 1rem;
    margin-left: -1rem;
    margin-right: -1rem;
  }
  .partners__track-wrapper::-webkit-scrollbar { display: none; }
  .partners__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    margin: 0;
    padding-right: 1rem;
  }
  .partners__track .partners__logo--img {
    flex: 0 0 140px;
    width: 140px;
    height: 90px;
  }
  .partners__track .partners__logo--glass {
    padding: 8px 10px;
  }
}
.partners__logo {
  height: 5rem;
  border: 1px dashed var(--line-strong);
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 0.75rem;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-muted);
  font-family: var(--font-sans);
}
/* Logos dans la section partenaires : fond transparent, sur fond sombre de la page */
.partners__logo--img {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 0;
  height: 120px;
  overflow: hidden;
}
.partners__logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.partners__logo-link:hover { opacity: 0.85; transform: scale(1.03); }
.partners__logo--img img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* Fond blanc pour les logos à texte sombre (rives-aurec, loire-semene) */
.partners__logo--glass {
  background: #ffffff;
  border-radius: 12px;
  padding: 10px 14px;
}

/* Logos navbar/footer */
.topnav__logo-link,
.footer__logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.topnav__logo-link:hover,
.footer__logo-link:hover { opacity: 0.8; }

/* =============================================================================
   SECTION — INTERVENANTS
   ============================================================================= */
.intervenants { text-align: center; }

.intervenants__title {
  margin-top: 1rem;
  max-width: 32rem;
  margin-inline: auto;
}

.intervenants__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
/* Slider horizontal sur mobile/tablette */
@media (max-width: 768px) {
  .intervenants__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 1rem 1.5rem;
    margin-left: -1rem;
    margin-right: -1rem;
    scrollbar-width: none;
    max-width: none;
  }
  .intervenants__grid::-webkit-scrollbar { display: none; }
  .intervenants__card { flex: 0 0 80%; max-width: 80%; scroll-snap-align: start; }
}
/* Dots */
.intervenants__dots { display: none; justify-content: center; gap: 8px; margin-top: 1.5rem; }
@media (max-width: 768px) { .intervenants__dots { display: flex; } }
.intervenants__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); background-clip: content-box; border: none; cursor: pointer;
  padding: 5px; box-sizing: content-box;
  transition: background 0.2s ease;
}
.intervenants__dot.is-active { background: #FF5C1C; background-clip: content-box; width: 8px; height: 8px; }

.intervenants__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.intervenants__photo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.intervenants__photo img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.intervenants__avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: #111113;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.12);
  user-select: none;
}

.intervenants__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.intervenants__name {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
}
.intervenants__role {
  font-size: 0.8125rem;
  color: var(--accent);
  font-weight: 500;
}
.intervenants__action {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}

/* =============================================================================
   SECTION — POUR QUI ?
   ============================================================================= */
.pourqui { text-align: center; padding-top: 4rem; }

.pourqui__title {
  margin-top: 1rem;
  max-width: 32rem;
  margin-inline: auto;
}

.pourqui__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1.25rem;
  text-align: left;
}
@media (min-width: 900px) {
  .pourqui__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .pourqui__grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0 1rem 1.5rem;
    margin: 0 -1rem;
    scrollbar-width: none;
  }
  .pourqui__grid::-webkit-scrollbar { display: none; }
  .pourqui__card { flex: 0 0 85%; max-width: 85%; scroll-snap-align: start; }
}

/* Dots de navigation */
.pourqui__dots { display: none; justify-content: center; gap: 8px; margin-top: 1.5rem; }
@media (max-width: 768px) { .pourqui__dots { display: flex; } }
.pourqui__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.25); background-clip: content-box; border: none; cursor: pointer; padding: 5px;
  box-sizing: content-box;
  transition: background 0.2s ease;
}
.pourqui__dot.is-active { background: #FF5C1C; background-clip: content-box; width: 8px; height: 8px; }

.pourqui__card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.pourqui__card:hover { border-color: rgba(255, 92, 28, 0.35); }

.pourqui__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 92, 28, 0.12);
  color: var(--accent);
  flex-shrink: 0;
}

.pourqui__card-title {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.pourqui__card-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.pourqui__filter {
  margin-top: 1.25rem;
  font-size: 13px;
  color: var(--text-muted);
  font-style: italic;
  max-width: 48rem;
  margin-inline: auto;
}

/* ---- CTA final ---- */
.final {
  text-align: center;
}
.final__inner { max-width: var(--container-narrow); margin: 0 auto; position: relative; }
.final__subtitle { margin-top: 0.75rem; max-width: 32rem; margin-inline: auto; }
.final__cta { margin-top: 1.5rem; display: flex; justify-content: center; }
.final__reassure {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 2rem;
  font-size: 0.875rem;
  color: var(--text-soft);
}
.final__reassure li { display: inline-flex; align-items: center; gap: 0.5rem; }
.final__reassure svg { width: 1.125rem; height: 1.125rem; color: var(--accent); }

/* ---- FAQ ---- */
.faq { max-width: var(--container-narrow); margin: 4.5rem auto 0; }
.faq__title { text-align: center; }
.faq__list {
  margin-top: 1.25rem;
  border-block: 1px solid var(--line-strong);
}
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.015em;
  font-size: 1rem;
  color: var(--text);
  transition: opacity 0.2s ease;
}
@media (min-width: 640px) { .faq__q { font-size: 1.125rem; } }
.faq__q:hover { opacity: 0.75; }
.faq__icon {
  flex: none;
  color: var(--accent); /* "une forme" → autorisé */
  transition: transform 0.3s ease;
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 2.5rem 1.25rem 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-soft);
  text-align: left;
}

/* ---- Pages légales (mentions, confidentialité) ---- */
.legal {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 4vw, 5rem);
}
.legal__inner { max-width: 40rem; }
.legal h1 { margin-top: 0.5rem; margin-bottom: 1.25rem; }
.legal__body { color: var(--text-soft); }
.legal__contact {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-soft);
}
.legal__contact a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.legal__back {
  display: inline-block;
  margin-top: 2.5rem;
  font-size: 0.875rem;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* ---- Footer ---- */
.footer {
  background: #0a0a0a;
  color: var(--cream);
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  padding: 48px 0;
}
.footer__inner {
  max-width: 90rem;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 5rem);
  padding-right: clamp(1.5rem, 4vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand {
  display: flex;
  align-items: center;
}
.footer__logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}
.footer__divider {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.35);
  margin: 0 12px;
}
.footer__legal-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.footer__legal {
  font-family: var(--font-sans);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.footer__legal--nda {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
}
.footer__legal a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__legal a:hover { color: #fff; }
.footer__sep { color: rgba(255, 255, 255, 0.3); }

@media (max-width: 767px) {
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal-group { align-items: flex-start; }
  .footer__legal { font-size: 11px; }
}

/* ---- Reveal au scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal-from="left"]  { transform: translateX(-32px); }
.reveal[data-reveal-from="right"] { transform: translateX(32px); }
.reveal[data-reveal-from="left"].is-visible,
.reveal[data-reveal-from="right"].is-visible { transform: translateX(0); }
@media (max-width: 700px) {
  /* Sur mobile, pas de direction — simple fade vertical */
  .reveal[data-reveal-from="left"],
  .reveal[data-reveal-from="right"] { transform: translateY(16px); }
  .reveal[data-reveal-from="left"].is-visible,
  .reveal[data-reveal-from="right"].is-visible { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---- Footer legal buttons ---- */
.footer__legal-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  color: rgba(255, 255, 255, 0.65);
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__legal-btn:hover { color: #fff; }

/* ---- Legal Modal ---- */
.lm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.lm-backdrop[hidden] { display: none; }
.lm-backdrop.is-open { opacity: 1; }
.lm-modal {
  background: #0a0a0a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  width: 100%;
  max-width: 700px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s ease;
  box-shadow: 0 0 60px hsl(17 100% 50% / 0.12), 0 0 0 1px hsl(17 100% 50% / 0.10);
}
.lm-backdrop.is-open .lm-modal { transform: translateY(0); }
.lm-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}
.lm-header__text { display: flex; flex-direction: column; gap: 0.25rem; }
.lm-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  margin: 0;
  line-height: 1.3;
}
.lm-subtitle {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}
.lm-close {
  background: none;
  border: none;
  padding: 0.25rem;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s ease;
  flex-shrink: 0;
  line-height: 0;
}
.lm-close:hover { color: #fff; }
.lm-body {
  overflow-y: auto;
  padding: 1.5rem;
  flex: 1;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.75;
}
.lm-body h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 1.25rem 0 0.3rem;
}
.lm-body h3:first-child { margin-top: 0; }
.lm-body p {
  margin: 0 0 0.5rem;
  white-space: pre-line;
}
.lm-body p:last-child { margin-bottom: 0; }
.lm-section { display: flex; flex-direction: column; gap: 0.375rem; }
.lm-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  display: flex;
  justify-content: flex-end;
}
.lm-close-btn {
  background: #FF5C1C;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}
.lm-close-btn:hover { background: #e04d10; }

/* Lien politique de confidentialité dans le bloc RGPD du formulaire */
.rm-rgpd__policy-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
}
.rm-rgpd__policy-link:hover { color: #fff; }

@media (max-width: 480px) {
  .lm-header { padding: 1.25rem 1rem 1rem; }
  .lm-body { padding: 1.25rem 1rem; }
  .lm-footer { padding: 0.875rem 1rem; }
}

/* =============================================================================
   RESPONSIVE GLOBAL — anti-débordement + correctifs mobile/tablette
   ============================================================================= */

/* Aucun débordement horizontal quelle que soit la taille d'écran */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Section padding réduit sur très petit mobile */
@media (max-width: 480px) {
  .section { padding: 4rem 0; }
  .container { padding: 0 1rem; }

  /* Hero : titre et sous-titre plus petits, tout aligné gauche */
  h1 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .hero { padding: 4rem 0 3rem; overflow-x: hidden; }
  .hero .container { padding-left: 1rem; padding-right: 1rem; }
  .hero__grid { text-align: left; }
  .hero__cta-row { align-items: flex-start; }
  .btn--primary { min-height: 44px; display: inline-flex; align-items: center; }
  .hero .eyebrow { display: block; font-size: 10px; letter-spacing: 0.10em; }
  .hero .eyebrow::before { display: inline-block; vertical-align: middle; margin-right: 0.4rem; flex: none; }

  /* Partenaires : 3 logos côte à côte même sur petit mobile */
  .partners__grid--3 { gap: 0.5rem; max-width: 100%; }
  .partners__logo--img { height: 70px; }
  .partners__logo-link { padding: 6px; }

  /* Section pour qui : 1 colonne assurée */
  .pourqui__grid { grid-template-columns: 1fr; }

  /* FAQ : padding réduit */
  .faq__q { font-size: 0.9375rem; padding: 1rem 0; }

  /* Footer : colonne */
  .footer__inner { flex-direction: column; gap: 1rem; text-align: center; }
  .footer__brand { justify-content: center; }
  .footer__legal-group { align-items: center; }
  .footer__legal { font-size: 11px; }
}

/* Tablette (481px – 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .section { padding: 5rem 0; }

  /* Hero en colonne, image centrée */
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { justify-content: center; max-width: 400px; margin: 0 auto; }

  /* Pour qui : 2 colonnes */
  .pourqui__grid { grid-template-columns: repeat(2, 1fr); }

  /* Partenaires : 3 colonnes sur tablette */
  .partners__grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Navbar mobile : pas de débordement sur petits écrans */
@media (max-width: 380px) {
  .topnav__inner { gap: 0.5rem; }
}

/* Touch targets : tous les boutons/liens interactifs ≥ 44px */
.btn, .faq__q, .rm-submit, .topnav__cta, .topnav__burger {
  min-height: 44px;
}

/* =============================================================================
   ANIMATIONS — page vivante
   ============================================================================= */

/* ---- Hero : orbe ambiant (lueur orange qui dérive lentement) ---- */
.hero::after {
  content: "";
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 28, 0.07) 0%, transparent 65%);
  top: -200px;
  right: -180px;
  pointer-events: none;
  z-index: 0;
  animation: hero-orb 14s ease-in-out infinite alternate;
}
@keyframes hero-orb {
  from { transform: translate(0, 0) scale(1); opacity: 0.8; }
  to   { transform: translate(-50px, 80px) scale(1.2); opacity: 1; }
}

/* ---- CTA : pulsation lumineuse (filter ne conflicte pas avec box-shadow hover) ---- */
@keyframes cta-glow {
  0%, 100% { filter: drop-shadow(0 0 0px rgba(255, 92, 28, 0)); }
  50%       { filter: drop-shadow(0 0 14px rgba(255, 92, 28, 0.55)); }
}
.btn--primary { animation: cta-glow 2.8s ease-in-out infinite; }
.btn--primary:hover { animation: none; filter: none; }

/* ---- Château — Ken Burns sur la photo paysage ---- */
@keyframes ken-burns {
  from { transform: scale(1)    translate(0, 0); }
  to   { transform: scale(1.05) translate(-1.2%, 0.4%); }
}
@keyframes ken-burns-b {
  from { transform: scale(1.04) translate(0.5%, 0.5%); }
  to   { transform: scale(1)    translate(-0.5%, -0.5%); }
}
.venue__photo--landscape img {
  animation: ken-burns 22s ease-in-out infinite alternate;
}
.venue__photo--square:nth-child(2) img {
  animation: ken-burns-b 18s ease-in-out 2s infinite alternate;
}
@media (hover: hover) {
  .venue__photo:hover img { transform: scale(1.06); animation: none; }
}

/* ---- Intervenants : hover lift ---- */
.intervenants__card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
  will-change: transform;
}
@media (hover: hover) {
  .intervenants__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.55);
  }
}

/* ---- Pour qui : hover lift + bordure orange ---- */
.pourqui__card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
  will-change: transform;
}
@media (hover: hover) {
  .pourqui__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  }
}

/* ---- Partenaires : légère lévitation au survol ---- */
@media (hover: hover) {
  .partners__logo--glass:hover {
    transform: translateY(-3px);
    transition: transform 0.3s ease;
  }
}

/* ---- Grain animé sur le hero (texture vivante) ---- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  animation: grain-drift 8s steps(10) infinite;
}
@keyframes grain-drift {
  0%   { background-position: 0 0; }
  10%  { background-position: -5% -10%; }
  20%  { background-position: -15% 5%; }
  30%  { background-position: 7% -25%; }
  40%  { background-position: -5% 25%; }
  50%  { background-position: -15% 10%; }
  60%  { background-position: 15% 0%; }
  70%  { background-position: 0% 15%; }
  80%  { background-position: 3% 35%; }
  90%  { background-position: -10% 10%; }
  100% { background-position: 0 0; }
}

/* ---- Section "Pour qui" : lueur orange sur la carte active ---- */
.pourqui__card {
  position: relative;
  overflow: hidden;
}
.pourqui__card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(255,92,28,0.08) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
@media (hover: hover) {
  .pourqui__card:hover::after { opacity: 1; }
}

/* ---- Intervenants : shimmer sur la photo au hover ---- */
.intervenants__photo {
  position: relative;
  overflow: visible;
}
.intervenants__photo::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,92,28,0) 0%, rgba(255,92,28,0.55) 25%, rgba(255,92,28,0) 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: photo-spin 3s linear infinite;
  pointer-events: none;
  z-index: 0;
}
.intervenants__photo img {
  position: relative;
  z-index: 1;
}
@media (hover: hover) {
  .intervenants__card:hover .intervenants__photo::after { opacity: 1; }
}
@keyframes photo-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- Section calendrier : ligne de temps animée ---- */
.cal-events__line {
  transition: border-color 0.3s ease;
}
.cal-event {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
@media (hover: hover) {
  .cal-event:hover {
    background: rgba(255, 92, 28, 0.32);
    box-shadow:
      inset 0 1px 0 rgba(255,255,255,0.1),
      0 4px 20px rgba(255,92,28,0.2);
  }
}

/* ---- Respect prefers-reduced-motion ---- */
@media (prefers-reduced-motion: reduce) {
  .hero::after,
  .hero::before,
  .btn--primary,
  .venue__photo--landscape img,
  .venue__photo--square img { animation: none; }
  .intervenants__card,
  .pourqui__card { transition: none; will-change: auto; }
  .intervenants__photo::after { display: none; }
  .pourqui__card::after { display: none; }
}
