/* ---------- Design tokens ---------- */
:root {
  /* Dark "aubergine" theme — Charte graphique OZ STREAM.
     Brand colours are the charte's exact values; --color-purple-light is the one
     derived tint (a lighter #943eb9) needed for links / hover / accents on dark. */
  --color-bg: #150A1E;
  --color-bg-elevated: #1F1330;
  --color-surface: #241634;
  --color-purple-deep: #542a66;
  --color-purple: #943eb9;
  --color-purple-light: #b985e4;
  --color-pink: #e12e6e;
  --color-pink-deep: #8f2350;
  --color-error: #ff5f8b;
  --color-text: #F6F0FB;
  --color-text-secondary: #BCA9CE;
  --color-border: #3A2A4C;
  --gradient-brand: linear-gradient(135deg, #542a66 0%, #943eb9 45%, #e12e6e 100%);
  --font-base: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --radius-btn: 10px;   /* buttons: square-ish, only slightly rounded (charte) */
  --container-max: 1200px;
  /* Header pills (Investisseurs + CTA + countdown) share one fixed box so
     switching FR/EN never resizes or shifts them. */
  --header-pill-w: 202px;
  --header-pill-h: 42px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 40px;
  --space-6: 64px;
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.45);
  --header-bg: rgba(21, 10, 30, 0.82);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  background-image:
    radial-gradient(1200px 600px at 15% -5%, rgba(148, 62, 185, 0.20), transparent 60%),
    radial-gradient(1000px 700px at 100% 8%, rgba(225, 46, 110, 0.12), transparent 55%);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* Homepage: one continuous left-to-right brand gradient behind the whole page,
   sampled from the charte mockup (Aperçu 1.png) — #230E2C (aubergine) → #350C1A
   (wine). No radial glows, no per-section fills; sections sit transparently on it. */
body.home {
  background-color: #230E2C;
  background-image: linear-gradient(90deg, #230E2C 0%, #350C1A 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* --- Homepage: charte-mockup treatment (Aperçu 1.png) --- */
/* section eyebrows + their icons are white, no gradient underline */
body.home main > section .eyebrow,
body.home main > section .section-title__icon { color: #FFFFFF; }
body.home .hero .eyebrow { color: #D9A9F0; }            /* keep the hero's own eyebrow tint */
body.home .section-title::after { display: none; }

/* "Pourquoi OZ STREAM" feature cards DO carry a fill in the charte mockup
   (Aperçu 1.png) — a ~18% white veil over the page gradient (sampled #4B3952
   over the #230E2C end, #52394B over the #2C0D23 mid — both == rgba(255,255,255,.18)) */
body.home .feature-card {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.22);
}
/* the "Comment ça marche" steps + "Preuve sociale" stats have NO fill — they sit
   transparently on the page gradient, hairline border only */
body.home .step-card,
body.home .stats-section .stat-card {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.16);
}
/* app badges — white rounded pills, reproduced from the charte mockup (Aperçu 1.png):
   store badge + label on a near-white card, dark text, soft drop shadow */
body.home .app-badge {
  background: #FBF9FD;
  border-color: transparent;
  border-radius: 14px;
  padding: 0.7rem 1.05rem;
  color: #1C1226;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
body.home .app-badge small { color: #6E6577; }
body.home .app-badges { gap: var(--space-3); }
/* wider text column so the three pills sit on one row, as in the mockup */
body.home .app-banner__inner { grid-template-columns: 1.5fr 1fr; }
/* the app-banner note is white in the charte mockup, not the muted secondary tint */
body.home .app-banner__note { color: #FFFFFF; font-size: 1.05rem; line-height: 1.6; }
/* "Pourquoi" number badges: white disc, purple digit (mockup) */
body.home .feature-card__num {
  background: #FFFFFF;
  color: var(--color-purple);
  border-color: transparent;
}
/* "Preuve sociale" stat values: solid white, not the gradient-clipped text */
body.home .stats-section .stat-card__value {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: #FFFFFF;
}
/* devices: one designer image (extracted from the mockup), no CSS device mockups */
.app-banner__devices {
  width: 100%;
  max-width: 620px;
  height: auto;
  margin-left: auto;
  border-radius: var(--radius-md);
  display: block;
}
@media (max-width: 900px) {
  .app-banner__devices { margin: 0 auto; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, p { margin: 0; }

.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;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.container-wide {
  width: 100%;
  box-sizing: border-box;
  padding: 0 clamp(20px, 6vw, 96px);
}
section[id], .genre-tile[id] { scroll-margin-top: 96px; }

/* ---------- Typography ---------- */
h1, .h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.15; }
h2, .h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3, .h3 { font-size: 1.25rem; font-weight: 600; }
.text-secondary { color: var(--color-text-secondary); }
.eyebrow {
  display: inline-block;
  margin-bottom: var(--space-2);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-purple-light);
}
.section-title { display: inline-flex; align-items: center; gap: 6px; position: relative; padding-bottom: 10px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 2px; border-radius: 1px; background: var(--gradient-brand); }
.section-title__icon { width: 16px; height: 16px; color: var(--color-purple-light); flex-shrink: 0; }

/* ---------- Buttons ---------- */
/* Two solid brand fills, exactly as in the charte mockup (Aperçu 1.png):
   --primary = pink #e12e6e (lead action), --outline = purple #943eb9 (secondary).
   The "outline" name is legacy — it is now a solid purple button. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  border: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #FFFFFF;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn--primary {
  background: var(--color-pink);
  box-shadow: 0 6px 18px rgba(225, 46, 110, 0.38);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(225, 46, 110, 0.5); }
.btn--outline {
  background: var(--color-purple);
  box-shadow: 0 6px 18px rgba(148, 62, 185, 0.34);
}
.btn--outline:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(148, 62, 185, 0.46); }
.btn--block { width: 100%; }

/* ---------- Brand wordmark ---------- */
.brand { display: inline-flex; align-items: center; gap: var(--space-2); }
.brand__logo { height: 56px; width: auto; display: block; }
.site-footer .brand__logo { height: 40px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  transition: padding 0.2s ease, background 0.2s ease;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
}
.site-header.is-scrolled .site-header__inner { padding-top: var(--space-2); padding-bottom: var(--space-2); }
.site-header__actions { display: flex; align-items: center; gap: var(--space-3); }

/* Both header pills (Investisseurs + CTA) share ONE fixed box: same width,
   same height, icon + centred label. The FR/EN label length never changes the
   box, so nothing in the header moves when the language is switched. */
.header-link,
.btn.site-header__cta {
  box-sizing: border-box;
  width: var(--header-pill-w);
  height: var(--header-pill-h);
  min-width: 0;
  padding: 0 12px;
  border-radius: var(--radius-btn);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 0 0 auto;
}
.header-link > span,
.btn.site-header__cta > span {
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-link__icon,
.site-header__cta-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}
/* Investisseurs — solid purple pill (site colours), white icon + label */
.header-link {
  background: var(--color-purple);
  color: #FFFFFF;
  transition: filter 0.2s ease;
}
.header-link:hover { filter: brightness(1.1); color: #FFFFFF; }
/* Header CTA — white pill with dark text + purple icon, like the mockup,
   on every page and in every scroll state (overrides --primary / --outline). */
.btn.site-header__cta {
  background: #FFFFFF;
  color: #1A1420;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}
.btn.site-header__cta:hover { transform: translateY(-1px); filter: brightness(0.97); color: #1A1420; }
.site-header__cta-icon { color: var(--color-purple); }

/* Overlay variant: header floats transparently over a hero (video/photo) and only
   gains a solid background once scrolled past it — used on index.html and
   espace-createurs.html only, since legal pages have no hero to overlay. */
.site-header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  backdrop-filter: none;
}
.site-header--overlay.is-scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
/* CTA and Investisseurs pills carry their own solid fills, so the overlay
   header needs no special-casing for them. */

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  overflow: hidden;
  flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--color-purple-light); }
.lang-toggle__flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  /* On narrow screens the fixed-width pills won't fit two-up — let them size to
     content (the FR/EN shift matters far less than horizontal overflow here). */
  .site-header__inner { flex-wrap: wrap; row-gap: var(--space-3); padding-left: var(--space-3); padding-right: var(--space-3); }
  .site-header__actions { gap: var(--space-2); }
  .header-link,
  .btn.site-header__cta {
    width: auto;
    height: auto;
    padding: 0.55rem 1rem;
    font-size: 0.8rem;
  }
}
@media (max-width: 400px) {
  .header-link { display: none; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--color-border); padding: var(--space-6) 0 var(--space-4); margin-top: var(--space-6); }
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-5);
}
.footer__brand p { margin-top: var(--space-2); }
.footer__nav ul, .footer__social ul { margin-top: var(--space-3); display: flex; flex-direction: column; gap: var(--space-2); }
.footer__nav a, .footer__social a { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-text-secondary); font-size: 0.9rem; }
.footer__nav a:hover, .footer__social a:hover { color: var(--color-text); }
.payment-badges { margin-top: var(--space-3); display: flex; flex-wrap: wrap; gap: var(--space-2); }
.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 56px;
  padding: 10px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}
.payment-badge img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; display: block; }
.footer-icon { flex-shrink: 0; width: 16px; height: 16px; }
.footer__bottom {
  margin-top: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.footer__legal a { color: var(--color-text-secondary); font-size: 0.85rem; }
.footer__legal a:hover { color: var(--color-text); }

@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: var(--space-6) 0; }
.hero__inner { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: var(--space-5); position: relative; z-index: 1; }
.hero__title { margin: var(--space-2) 0 var(--space-3); }
.hero__subtitle { max-width: 40ch; margin-bottom: var(--space-4); }
.hero__actions { display: flex; gap: var(--space-3); flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
}

/* ---------- Hero reel (homepage video background) ---------- */
.hero--reel { min-height: 720px; display: flex; align-items: flex-end; padding-bottom: var(--space-6); }
.hero--reel .hero__inner { display: block; max-width: 640px; margin-left: 0; margin-right: auto; }
/* poster image also set as the reel background → an instant, identical still frame
   shows while the (small, 720p) video buffers, with no flash of empty black */
.hero__reel {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #0B0710 url("../assets/hero/oz-stream-hero-poster.jpg") center / cover no-repeat;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 7, 16, 0.55) 0%, rgba(11, 7, 16, 0) 22%),
    linear-gradient(100deg, rgba(11, 7, 16, 0.55) 0%, rgba(11, 7, 16, 0.25) 38%, rgba(11, 7, 16, 0) 72%),
    linear-gradient(0deg, rgba(11, 7, 16, 0.35) 0%, rgba(11, 7, 16, 0) 42%);
}
.hero__watermark {
  position: absolute;
  z-index: 2;
  bottom: var(--space-4);
  right: var(--space-4);
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: none;
  cursor: pointer;
  opacity: 0.4;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero__watermark:hover,
.hero__watermark:focus-visible { opacity: 0.9; transform: scale(1.06); }
.hero__watermark-logo { display: block; width: 100%; height: 100%; border-radius: 50%; }
.hero__watermark-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 20px;
  height: 20px;
  color: #FFFFFF;
  opacity: 0;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
  transition: opacity 0.2s ease;
}
.hero__watermark:hover .hero__watermark-icon--pause,
.hero__watermark:focus-visible .hero__watermark-icon--pause { opacity: 1; }
.hero__watermark.is-paused .hero__watermark-icon--pause { opacity: 0; }
.hero__watermark.is-paused .hero__watermark-icon--play { opacity: 1; }

.hero--reel .eyebrow { color: #D9A9F0; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6); }
.hero--reel .hero__title {
  color: #FFFFFF;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.6);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}
.hero--reel .hero__subtitle {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-style: normal;
  font-weight: 600;
  font-size: 1.15rem;
}
.hero--reel .hero__actions { flex-wrap: nowrap; }
/* Fixed min-width per button (sized for the longer of the FR/EN labels) so the
   pair never resizes or shifts when the language is switched. */
.hero--reel .hero__actions .btn { padding: 0.9rem 1.4rem; font-size: 1rem; white-space: nowrap; }
.hero--reel .hero__actions .btn:first-child { min-width: 284px; }
.hero--reel .hero__actions .btn:last-child { min-width: 236px; }

@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero__reel { background: url("../assets/hero/films-hero.svg") center / cover no-repeat; }
}

@media (max-width: 900px) {
  .hero--reel { min-height: 600px; }
  .hero--reel .hero__inner { max-width: 100%; }
  .hero__watermark { width: 40px; height: 40px; }
}

@media (max-width: 600px) {
  .hero--reel { min-height: 540px; padding-bottom: var(--space-4); }
  .hero--reel .hero__title { font-size: clamp(1.75rem, 8vw, 2.5rem); line-height: 1.2; }
  .hero--reel .hero__subtitle { font-size: 1rem; max-width: none; }
  .hero--reel .hero__actions { width: 100%; flex-wrap: wrap; }
  .hero--reel .hero__actions .btn,
  .hero--reel .hero__actions .btn:first-child,
  .hero--reel .hero__actions .btn:last-child { padding: 0.95rem 1.5rem; font-size: 1rem; width: 100%; min-width: 0; }
}

@media (max-width: 380px) {
  .hero--reel .hero__title { font-size: clamp(1.5rem, 8.5vw, 2rem); }
}

@media (max-width: 600px) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(11, 7, 16, 0.6) 0%, rgba(11, 7, 16, 0) 16%),
      linear-gradient(0deg, rgba(11, 7, 16, 0.85) 0%, rgba(11, 7, 16, 0.55) 32%, rgba(11, 7, 16, 0.15) 60%, rgba(11, 7, 16, 0.05) 100%);
  }
}

/* ---------- Hero photo (investisseurs.html background image) ---------- */
.hero__photo { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: #0B0710; }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Creators hero: full-width CARROUSEL of the 3 designer banners ----------
   The 3 files delivered by the designer are 1440×720 (2:1). The viewport uses that exact
   ratio (`aspect-ratio: 1440 / 720`) so it spans the full page width and is exactly as
   tall as the image needs — `object-fit: cover` on a matching ratio = ZERO crop, ZERO
   stretch, whole image visible. Slides move horizontally (translateX) every 5s. */
/* Same layout as the homepage .hero--reel: the media is a full-bleed background and
   the two CTAs sit bottom-left in a 640px column, overlaid on it. */
.hero--createurs {
  position: relative;
  min-height: min(50vw, 720px);
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-6);
  overflow: hidden;
  background: var(--color-bg);
}
.creators-hero__carousel {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--color-bg);
  z-index: 0;
}
/* bottom scrim so the overlaid CTAs stay readable over any slide */
.creators-hero__carousel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 55%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(11, 7, 16, 0.82) 0%, rgba(11, 7, 16, 0.35) 45%, rgba(11, 7, 16, 0) 100%);
}
.creators-hero__viewport { position: absolute; inset: 0; overflow: hidden; }
.creators-hero__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.creators-hero__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.creators-hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* top gradient keeps the overlay header's pills readable over the first slide */
.creators-hero__carousel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 130px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 7, 16, 0.6) 0%, rgba(11, 7, 16, 0) 100%);
}
.creators-hero__dots {
  position: absolute;
  right: clamp(20px, 6vw, 96px);
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: var(--space-2);
}
.creators-hero__dot {
  width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%;
  background: rgba(255, 255, 255, 0.45); cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.creators-hero__dot.is-active { width: 24px; border-radius: var(--radius-pill); background: #FFFFFF; }

/* CTA block — identical placement/sizing to .hero--reel .hero__inner / .hero__actions */
.hero--createurs .hero__inner { display: block; max-width: 640px; margin-left: 0; margin-right: auto; position: relative; z-index: 3; }
.hero--createurs .hero__actions { flex-wrap: nowrap; }
.hero--createurs .hero__actions .btn { padding: 0.9rem 1.4rem; font-size: 1rem; white-space: nowrap; }
.hero--createurs .hero__actions .btn:first-child { min-width: 224px; }
.hero--createurs .hero__actions .btn:last-child { min-width: 304px; }

@media (prefers-reduced-motion: reduce) {
  .creators-hero__track { transition: none; }
}

@media (max-width: 900px) {
  .hero--createurs { min-height: 0; display: block; padding-bottom: 0; }
  .creators-hero__carousel { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1440 / 720; }
  .creators-hero__carousel::after { display: none; }
  .creators-hero__dots { right: 50%; transform: translateX(50%); }
  .hero--createurs .hero__inner { max-width: none; padding-top: var(--space-4); padding-bottom: var(--space-5); }
  .hero--createurs .hero__actions { justify-content: center; flex-wrap: wrap; }
}
@media (max-width: 600px) {
  .hero--createurs .hero__actions,
  .hero--createurs .hero__actions .btn:first-child,
  .hero--createurs .hero__actions .btn:last-child { flex-direction: column; width: 100%; min-width: 0; }
}

/* ---------- Catalogue (genre showcase) ---------- */
.catalogue { padding: var(--space-6) 0 0; }
.catalogue__head { margin-bottom: var(--space-4); }
.catalogue__head .h2 { margin: 0; }

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--color-bg);
  width: 100%;
}
/* on the gradient homepage the 2px tile gaps must not paint a flat block */
body.home .genre-grid { background: transparent; }

.genre-tile {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  opacity: 0;
  transform: translateY(48px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 0.12s);
}
.genre-tile.is-visible { opacity: 1; transform: translateY(0); }

.genre-tile__img {
  position: absolute;
  inset: -6% 0;
  width: 100%;
  height: 112%;
  object-fit: cover;
  object-position: center 22%;
  filter: grayscale(25%) saturate(1.05) contrast(1.1) brightness(0.82);
  transform: translateY(var(--parallax, 0px)) scale(1.04);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  will-change: transform;
}
.genre-tile__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 7, 16, 0.97) 0%, rgba(11, 7, 16, 0.65) 42%, rgba(11, 7, 16, 0.15) 80%);
}
.genre-tile__body { position: absolute; inset: auto var(--space-4) var(--space-4) var(--space-4); z-index: 1; }
.genre-tile__accent,
.genre-tile__title,
.genre-tile__tagline,
.genre-tile__desc {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.genre-tile.is-visible .genre-tile__accent { opacity: 1; transform: none; transition-delay: 0.25s; }
.genre-tile.is-visible .genre-tile__title { opacity: 1; transform: none; transition-delay: 0.32s; }
.genre-tile.is-visible .genre-tile__tagline { opacity: 1; transform: none; transition-delay: 0.4s; }
.genre-tile.is-visible .genre-tile__desc { opacity: 1; transform: none; transition-delay: 0.48s; }

.genre-tile__accent {
  display: block;
  width: 32px;
  height: 3px;
  margin-bottom: var(--space-2);
  border-radius: 2px;
  background: var(--gradient-brand);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), width 0.4s ease;
}
.genre-tile__title { color: #FFFFFF; font-size: 1.5rem; font-weight: 700; margin: 0 0 4px; }
.genre-tile__tagline { color: var(--color-purple-light); font-style: italic; font-weight: 600; font-size: 0.9rem; margin: 0; }
.genre-tile__desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  line-height: 1.55;
  margin: var(--space-2) 0 0;
}

.genre-tile__ribbon {
  position: absolute;
  top: 14px;
  right: -32px;
  z-index: 1;
  width: 130px;
  padding: 4px 0;
  background: var(--color-pink);
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  transform: rotate(35deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.genre-tile:hover .genre-tile__img,
.genre-tile:focus-within .genre-tile__img { transform: translateY(var(--parallax, 0px)) scale(1.14); filter: grayscale(0%) saturate(1.15) contrast(1.02) brightness(1); }
.genre-tile:hover .genre-tile__accent,
.genre-tile:focus-within .genre-tile__accent { width: 52px; }

@media (prefers-reduced-motion: reduce) {
  .genre-tile,
  .genre-tile__accent,
  .genre-tile__title,
  .genre-tile__tagline,
  .genre-tile__desc { opacity: 1; transform: none; transition: none; }
  .genre-tile__img { transition: none; transform: none; }
}

@media (max-width: 1000px) {
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .genre-grid { grid-template-columns: 1fr; }
  .genre-tile { aspect-ratio: 4 / 5; }
}

/* ---------- App banner ---------- */
.app-banner { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); overflow-x: hidden; }
.app-banner__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--space-5); }
.app-badges { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: var(--space-4) 0; }
.app-badge {
  display: flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-weight: 600;
}
.app-badge small { display: block; font-weight: 400; font-size: 0.7rem; color: var(--color-text-secondary); }
.app-badge--accent { background: var(--gradient-brand); border-color: transparent; }
.app-badge--soon { opacity: 0.92; cursor: default; }
.app-badge__logo { height: 38px; width: auto; object-fit: contain; flex-shrink: 0; }
.app-badge__logo--icon { width: 38px; height: 38px; border-radius: 7px; }

.device-showcase { position: relative; height: 260px; }
.device-wrap { position: absolute; }
.device { position: relative; box-shadow: var(--shadow-card); display: block; width: 100%; height: 100%; }
.device-wrap--tv { width: 280px; height: 170px; top: 0; left: 0; }
.device-wrap--laptop { width: 220px; height: 140px; top: 60px; left: 140px; opacity: 0.9; }
.device-wrap--tablet { width: 110px; height: 150px; top: 90px; left: 40px; opacity: 0.85; }
.device-wrap--phone { width: 70px; height: 140px; top: 110px; left: 300px; opacity: 0.95; }
.device-wrap__logo {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 22%;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
  pointer-events: none;
}

@media (max-width: 900px) {
  .app-banner__inner { grid-template-columns: 1fr; }
  .device-showcase { height: 180px; transform: scale(0.7); transform-origin: top left; }
}

/* ---------- Steps (Comment ça marche) ---------- */
.steps { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.steps__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.steps__grid--4 { grid-template-columns: repeat(4, 1fr); }
.step-card {
  position: relative;
  padding: var(--space-4);
  padding-top: calc(var(--space-4) + 14px);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.step-card__num {
  position: absolute;
  top: -18px; left: var(--space-4);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-card);
}
.chip-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }
/* Single-line country row: never wraps; scrolls horizontally on narrow viewports */
.chip-row--nowrap { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
.chip-row--nowrap::-webkit-scrollbar { display: none; }
.chip-row--nowrap .chip { flex-shrink: 0; padding: var(--space-2) var(--space-3); font-size: 0.8rem; }
.chip {
  display: inline-flex; align-items: center;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  font-size: 0.85rem; font-weight: 600;
}
.chip--solid { background: var(--color-purple-deep); border-color: transparent; color: #FFFFFF; }
.chip--flag { gap: 6px; }
.chip__flag { width: 16px; height: 12px; border-radius: 2px; object-fit: cover; flex-shrink: 0; display: block; }
.payment-logo-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-4); align-items: center; }
.payment-logo {
  display: flex; align-items: center; justify-content: center;
  height: 44px;
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
}
.payment-logo img { height: 100%; width: auto; max-width: 96px; object-fit: contain; display: block; }

@media (max-width: 900px) {
  .steps__grid, .steps__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps__grid, .steps__grid--4 { grid-template-columns: 1fr; }
}

/* ---------- Why OZ STREAM ---------- */
.why-section { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.feature-card { padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--space-2); }
.feature-card__num {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  color: var(--color-purple-light);
  font-weight: 700;
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ---------- Showcase (Afrique text + image carousel) ---------- */
.showcase { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
/* text top-aligns with the carousel — it is NOT stretched/centred to the image height */
/* mockup proportions: a narrower text column, a wider image column flush to the
   right content edge (same right edge as the feature cards above) */
.showcase__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: var(--space-6); align-items: start; }
.showcase__text { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--space-4); }
.showcase__heading {
  margin: 0;
  color: var(--color-pink);
  font-weight: 800;
  /* sized so the mockup's middle line ("trop chers et les catalogues qui")
     fits on one line inside the text column */
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.25;
}
/* upright text, exactly as in the charte mockup (Aperçu 1.png) — 1st paragraph
   bold, 2nd paragraph regular; both essentially white, not the muted tint */
.showcase__text p { font-style: normal; font-weight: 400; font-size: clamp(0.95rem, 1.15vw, 1.05rem); line-height: 1.7; }
.showcase__text p:first-of-type { font-weight: 700; }
.showcase__text p:last-child { color: rgba(255, 255, 255, 0.85); }
/* the "1 café = 1 épisode" 4:3 creative — replaces the old carousel, top-aligned
   with the text column exactly as in the charte mockup */
.showcase__img {
  width: 100%;
  max-width: 760px;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  margin-left: auto;
  margin-right: 0;
  align-self: start;
}
/* line breaks that reproduce the charte mockup's wrapping — dropped once the
   layout collapses to a single column (the text is full-width there) */
.br-wide { display: inline; }
@media (max-width: 900px) { .br-wide { display: none; } }

.carousel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 620px;
  margin-inline: auto;
}
.carousel__viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 0;
  overflow: hidden;
  box-sizing: border-box;
  padding: 4px;
  background: linear-gradient(120deg, var(--color-purple-deep), var(--color-purple), var(--color-pink), var(--color-purple-light), var(--color-purple-deep));
  background-size: 300% 300%;
  animation: carousel-border-flow 6s ease infinite;
  box-shadow: var(--shadow-card);
}
@keyframes carousel-border-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel__viewport { animation: none; background-position: 0% 50%; }
}
.carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.carousel__slide { flex: 0 0 100%; width: 100%; height: 100%; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel__arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #1A1420;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.carousel__arrow:hover { color: var(--color-purple-light); }
.carousel__arrow--prev { left: var(--space-3); }
.carousel__arrow--next { right: var(--space-3); }
.carousel__dots { display: flex; justify-content: center; gap: var(--space-2); margin-top: var(--space-3); }
.carousel__dot { width: 9px; height: 9px; padding: 0; border: none; border-radius: 50%; background: var(--color-border); }
.carousel__dot.is-active { width: 22px; border-radius: var(--radius-pill); background: var(--color-purple-light); }

@media (prefers-reduced-motion: reduce) {
  .carousel__track { transition: none; }
}

@media (max-width: 900px) {
  .showcase__inner { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.faq__list { margin-top: var(--space-4); display: flex; flex-direction: column; gap: var(--space-2); max-width: 800px; }
.faq__item { border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: var(--space-3) var(--space-4); background: var(--color-surface); }
.faq__question { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq__question::-webkit-details-marker { display: none; }
.faq__question::after { content: "+"; font-size: 1.25rem; color: var(--color-purple-light); }
.faq__item[open] .faq__question::after { content: "\2212"; }
.faq__answer { margin-top: var(--space-3); color: var(--color-text-secondary); }

/* ---------- Stats section (espace créateurs) ---------- */
.stats-section { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.stat-card {
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.stat-card__value { font-size: 2.5rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .stats-grid--4 { grid-template-columns: 1fr; }
}

.quote-block {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-pink);
  color: var(--color-text-secondary);
  line-height: 1.7;
}
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.solution-card { padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-purple-deep); display: flex; flex-direction: column; gap: var(--space-2); }
.solution-card__value { font-size: 1.75rem; font-weight: 700; color: var(--color-purple-light); }
.solution-card h3 { color: #FFFFFF; }
.solution-card p { color: rgba(255, 255, 255, 0.75); margin: 0; }

@media (max-width: 900px) {
  .solution-grid { grid-template-columns: 1fr; }
}

.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.offer-card {
  padding: var(--space-4);
  border-top: 3px solid var(--color-purple);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.offer-card--pink { border-top-color: var(--color-pink); }
.offer-card--deep { border-top-color: var(--color-purple-deep); }
.offer-card ul { display: flex; flex-direction: column; gap: var(--space-2); margin-top: var(--space-2); }
.offer-card li { position: relative; padding-left: var(--space-3); color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.5; }
.offer-card li::before { content: "—"; position: absolute; left: 0; color: var(--color-purple-light); }

@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr; }
}

.highlight-banner {
  margin-top: var(--space-4);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.6;
}
.highlight-banner + .btn { margin-top: var(--space-4); }

.testimonials { margin-top: var(--space-5); }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.testimonial { padding: var(--space-4); border: 1px dashed var(--color-border); border-radius: var(--radius-md); background: var(--color-surface); }
.testimonial__stars { color: #F5A623; letter-spacing: 2px; margin-bottom: var(--space-2); }
.testimonial__quote { font-size: 1.1rem; font-weight: 600; font-style: italic; margin: 0; }
.testimonial__author { margin-top: var(--space-2); color: var(--color-text-secondary); font-size: 0.9rem; }

@media (max-width: 900px) {
  .testimonials__grid { grid-template-columns: 1fr; }
}

/* ---------- Forms ---------- */
.form-section { padding: var(--space-6) 0; border-top: 1px solid var(--color-border); }
.form-section__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); align-items: start; }
.form-section__intro { position: sticky; top: 100px; }
.form-card {
  display: flex; flex-direction: column; gap: var(--space-4);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}
.form-group { display: flex; flex-direction: column; gap: var(--space-1); }
.form-label { font-size: 0.85rem; font-weight: 600; color: var(--color-text-secondary); }
.form-input {
  padding: 0.75rem var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-elevated);
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-input:focus { outline: 2px solid var(--color-purple-light); outline-offset: 1px; }
.form-input.is-invalid { border-color: var(--color-error); }
.form-input::placeholder { color: var(--color-text-secondary); opacity: 0.65; }
.form-error { min-height: 1.1em; color: var(--color-error); font-size: 0.8rem; }

.country-select { position: relative; }
.country-select__toggle {
  width: 100%; display: flex; align-items: center; gap: var(--space-2);
  cursor: pointer; text-align: left;
}
.country-select__toggle::after {
  content: ''; margin-left: auto; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid var(--color-text-secondary);
}
.country-select__label { flex: 1; }
.country-select__list {
  position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 20;
  max-height: 260px; overflow-y: auto; margin: 0; padding: var(--space-1);
  list-style: none; border-radius: var(--radius-sm); border: 1px solid var(--color-border);
  background: var(--color-bg-elevated); box-shadow: var(--shadow-card);
}
.country-select__option {
  width: 100%; display: flex; align-items: center; gap: var(--space-2);
  padding: 0.55rem var(--space-2); border: 0; border-radius: var(--radius-sm);
  background: transparent; color: var(--color-text); font-family: inherit; font-size: 0.9rem;
  text-align: left; cursor: pointer;
}
.country-select__option:hover,
.country-select__option[aria-selected="true"] { background: var(--color-surface); }
.form-success { min-height: 1.1em; color: var(--color-purple-light); font-size: 0.9rem; font-weight: 600; }

@media (max-width: 900px) {
  .form-section__inner { grid-template-columns: 1fr; }
  .form-section__intro { position: static; }
}

/* ---------- Legal pages ---------- */
.legal-hero { padding: var(--space-6) 0 var(--space-4); border-bottom: 1px solid var(--color-border); }
.legal-hero .h1 { margin: var(--space-2) 0 0; }
.legal-content { max-width: 760px; margin: 0 auto; padding: var(--space-6) var(--space-4); }
.legal-updated { color: var(--color-text-secondary); font-size: 0.9rem; margin: 0 0 var(--space-5); }
.legal-notice {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-pink);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-5);
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}
.legal-content h2 { margin: var(--space-5) 0 var(--space-2); font-size: 1.25rem; }
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--color-text-secondary); line-height: 1.75; }
.legal-content p { margin: 0 0 var(--space-3); }
.legal-content ul { display: flex; flex-direction: column; gap: var(--space-2); padding-left: 1.2em; margin: 0 0 var(--space-3); }
.legal-content strong { color: var(--color-text); }
.legal-content a { color: var(--color-purple-light); }


/* ---------- Payments by country (index.html) ---------- */
.payment-country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.payment-country-card__head { display: flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-2); }
.payment-country-card__flag { width: 26px; height: 19px; border-radius: 3px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--color-border); }

@media (max-width: 900px) {
  .payment-country-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .payment-country-grid { grid-template-columns: 1fr; }
}

/* ---------- World presence (subscribers worldwide) ---------- */
.world-presence { margin-top: var(--space-6); padding-top: var(--space-5); border-top: 1px dashed var(--color-border); }
.world-presence__intro { max-width: 640px; margin-top: var(--space-2); }

.world-globe {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1 / 1;
  margin: var(--space-5) auto var(--space-6);
}
.world-globe__glow {
  position: absolute;
  inset: -14%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(139, 53, 184, 0.25), transparent 72%);
  filter: blur(8px);
}
.world-globe__svg { position: relative; width: 100%; height: 100%; display: block; }
.world-globe__mesh { transform-origin: 100px 100px; animation: world-globe-spin 46s linear infinite; }
.world-globe__land-logo image { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45)); }
.world-globe__stat {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  white-space: nowrap;
  z-index: 3;
}
.world-globe__stat strong { font-size: 1.5rem; font-weight: 700; background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1; }
.world-globe__stat span { font-size: 0.7rem; font-weight: 600; color: var(--color-text-secondary); text-align: center; }

@keyframes world-globe-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Highlighted country pins on the globe: a small pulsing dot always on,
   plus a flag+name label that fades in during its turn in the highlight cycle. */
.world-globe__pin {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%);
  z-index: 2;
}
.world-globe__pin-dot {
  display: block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-pink);
  box-shadow: 0 0 0 3px rgba(224, 50, 111, 0.28);
  animation: world-globe-dot-glow 2.2s ease-in-out infinite;
}
.world-globe__pin-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%) translateY(4px) scale(0.92);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  font-size: clamp(0.65rem, 1.6vw, 0.78rem);
  font-weight: 700;
  color: var(--color-text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  animation: world-globe-pin-highlight 8s ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}
.world-globe__pin-flag { width: 15px; height: 11px; border-radius: 2px; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px var(--color-border); }
.world-globe__pin:hover .world-globe__pin-label { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); animation-play-state: paused; }

@keyframes world-globe-dot-glow {
  0%, 100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.15); }
}
@keyframes world-globe-pin-highlight {
  0%, 10% { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.92); }
  14%, 22% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
  26%, 100% { opacity: 0; transform: translateX(-50%) translateY(4px) scale(0.92); }
}

@media (prefers-reduced-motion: reduce) {
  .world-globe__mesh { animation: none; }
  .world-globe__pin-dot { animation: none; opacity: 0.9; }
  .world-globe__pin-label { animation: none; opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.world-countries { margin-top: var(--space-5); display: flex; flex-direction: column; gap: var(--space-4); }
.world-countries__heading {
  margin: 0 0 var(--space-2);
  font-size: 0.95rem;
  color: var(--color-purple-light);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.world-countries__icon { width: 15px; height: 15px; flex-shrink: 0; }
body.home .world-countries__heading,
body.home .world-countries__icon { color: #FFFFFF; }

/* Infinite right-to-left marquee for the "International & diaspora" / "Afrique" country bands */
.country-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}
.country-marquee__track { display: flex; align-items: center; gap: var(--space-2); width: max-content; }
.country-marquee__copy { display: flex; align-items: center; gap: var(--space-2); flex-shrink: 0; }
.country-marquee--intl .country-marquee__track { animation: country-marquee-scroll 24s linear infinite; }
.country-marquee--africa .country-marquee__track { animation: country-marquee-scroll 56s linear infinite; }
.country-marquee:hover .country-marquee__track { animation-play-state: paused; }

@keyframes country-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .country-marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .country-marquee__track { animation: none; transform: none; width: 100%; flex-wrap: wrap; }
  .country-marquee__copy[aria-hidden="true"] { display: none; }
}

@media (max-width: 900px) {
  .world-globe { max-width: 340px; }
}
@media (max-width: 560px) {
  .world-globe { max-width: 280px; }
  .world-globe__pin-label { display: none; }
  .world-globe__pin:hover .world-globe__pin-label { display: inline-flex; }
}

/* ---------- Hero banner (investisseurs.html) ----------
   The designer delivers one 2:1 banner (1440×720) with the headline baked into the
   artwork, so the page's own <h1> is `sr-only` (SEO/AT only) and this hero mirrors the
   .hero--createurs pattern: full-bleed image, the subtitle + CTAs overlaid bottom-left.
   Fixed height (not min-height) so the image never grows/shrinks with the FR/EN copy. */
.hero--investors { height: 720px; display: flex; align-items: flex-end; padding-bottom: var(--space-6); overflow: hidden; }
.hero--investors .hero__inner { display: block; max-width: 680px; margin-left: 0; margin-right: auto; position: relative; z-index: 1; }
/* the banner's headline sits in the top-left corner — keep it anchored through every crop */
.hero--investors .hero__photo img { object-position: left top; }
/* the two CTAs stay on one line inside the overlay column (like .hero--createurs) */
.hero--investors .hero__actions { flex-wrap: nowrap; }
.hero--investors .hero__actions .btn { white-space: nowrap; padding: 0.85rem 1.25rem; font-size: 0.95rem; }
/* the banner artwork is busy on the left (phone mockup) — a stronger bottom-left vignette
   than the shared .hero__scrim so the overlaid subtitle + CTAs stay readable */
.hero--investors .hero__scrim {
  background:
    linear-gradient(0deg, rgba(11, 7, 16, 0.92) 0%, rgba(11, 7, 16, 0.55) 30%, rgba(11, 7, 16, 0) 62%),
    linear-gradient(90deg, rgba(11, 7, 16, 0.78) 0%, rgba(11, 7, 16, 0.35) 42%, rgba(11, 7, 16, 0) 70%);
}
.hero--investors .hero__subtitle {
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
  font-style: italic;
  font-size: 1.15rem;
}
/* tablet + mobile: the header is fixed and floats over the page, and this banner's
   headline sits at its very top — so stop overlaying. Clear the header (logo height +
   its padding), show the whole banner at its native 2:1 ratio (nothing cropped, nothing
   behind the header), and stack the subtitle + CTAs underneath. */
@media (max-width: 900px) {
  .hero--investors { height: auto; display: block; padding: calc(56px + 2 * var(--space-3)) 0 var(--space-5); overflow: visible; }
  .hero--investors .hero__photo { position: relative; aspect-ratio: 1440 / 720; }
  .hero--investors .hero__scrim { display: none; }
  .hero--investors .hero__inner { max-width: 100%; padding-top: var(--space-4); }
  .hero--investors .hero__actions { flex-wrap: wrap; }
  .hero--investors .hero__actions .btn { font-size: 1rem; }
}
@media (max-width: 600px) {
  .hero--investors { padding-bottom: var(--space-4); }
  .hero--investors .hero__subtitle { font-size: 1rem; max-width: none; }
  .hero--investors .hero__actions { width: 100%; flex-direction: column; }
  .hero--investors .hero__actions .btn { width: 100%; }
}
.hero__lock-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-3);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
}
.hero__lock-note svg { flex-shrink: 0; }

/* ---------- Investor documents ---------- */
.doc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-4); }
.doc-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-purple);
}
.doc-card--pink { border-top-color: var(--color-pink); }
.doc-card--deep { border-top-color: var(--color-purple-deep); }
.doc-card__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--color-purple-light);
  margin-bottom: var(--space-1);
  flex-shrink: 0;
}
.doc-card--pink .doc-card__icon { color: var(--color-pink); }
.doc-card__tag {
  align-self: flex-start;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-purple-light);
}
.doc-card > p:not(.doc-card__meta) { color: var(--color-text-secondary); font-size: 0.9rem; line-height: 1.55; margin: 0; }
.doc-card__meta {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
  margin: 0;
}
.doc-card__meta strong { color: var(--color-text); font-weight: 600; }
.doc-card__action {
  margin-top: auto;
  padding-top: var(--space-2);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-purple-light);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  align-self: flex-start;
  transition: gap 0.2s ease, color 0.2s ease;
}
.doc-card__action svg { width: 16px; height: 16px; flex-shrink: 0; }
.doc-card__action:hover { gap: 10px; color: var(--color-pink); }
.doc-card--pink .doc-card__action { color: var(--color-pink); }
.doc-card--pink .doc-card__action:hover { color: var(--color-purple-light); }
button.doc-card__action { background: none; border: none; font: inherit; cursor: pointer; padding: var(--space-2) 0 0; text-align: left; }

@media (max-width: 900px) {
  .doc-grid { grid-template-columns: 1fr; }
}

/* ---------- Investor Room documents modal (investisseurs.html) ---------- */
.docs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 4vw, 40px);
}
.docs-modal[hidden] { display: none; }
.docs-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11, 7, 16, 0.74);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.docs-modal.is-open .docs-modal__backdrop { opacity: 1; }
.docs-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 40px 120px -24px rgba(11, 7, 16, 0.7);
  opacity: 0;
  transform: translateY(16px) scale(0.97);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.docs-modal.is-open .docs-modal__dialog { opacity: 1; transform: none; }
/* brand gradient bar across the top */
.docs-modal__dialog::before {
  content: "";
  display: block;
  height: 6px;
  background: var(--gradient-brand);
}
.docs-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-text);
  transition: transform 0.2s ease, color 0.2s ease;
}
.docs-modal__close:hover { transform: rotate(90deg); color: var(--color-pink); }
.docs-modal__head { padding: var(--space-5) var(--space-5) var(--space-4); }
.docs-modal__logo { height: 40px; width: auto; display: block; margin-bottom: var(--space-3); }
.docs-modal__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-purple-light);
}
.docs-modal__title { margin: 6px 0 0; font-size: 1.45rem; font-weight: 700; }
.docs-modal__intro { margin: var(--space-2) 0 0; font-size: 0.9rem; color: var(--color-text-secondary); }
.docs-modal__rights {
  margin: 0;
  padding: var(--space-3) var(--space-5) var(--space-5);
  border-top: 1px solid var(--color-border);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}
.docs-modal__list { list-style: none; margin: 0; padding: 0 var(--space-5) var(--space-5); display: flex; flex-direction: column; gap: var(--space-2); }
.docs-modal__list[hidden] { display: none; }
.docs-modal__item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3);
  border-radius: var(--radius-sm);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}
.docs-modal__item-icon { width: 30px; height: 30px; flex-shrink: 0; color: var(--color-purple-light); }
.docs-modal__item-name { flex: 1; min-width: 0; font-weight: 600; font-size: 0.92rem; }
.docs-modal__item-size { display: block; font-weight: 500; font-size: 0.75rem; color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.04em; }
.docs-modal__item-dl {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-btn);
  background: var(--color-pink);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(225, 46, 110, 0.32);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.docs-modal__item-dl svg { width: 15px; height: 15px; flex-shrink: 0; }
.docs-modal__item-dl:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(225, 46, 110, 0.44); }
.docs-modal__empty { margin: 0; padding: 0 var(--space-5) var(--space-5); font-size: 0.9rem; color: var(--color-text-secondary); }
.docs-modal__empty[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .docs-modal__backdrop,
  .docs-modal__dialog { transition: none; }
  .docs-modal__dialog { opacity: 1; transform: none; }
  .docs-modal__close:hover { transform: none; }
}
@media (max-width: 480px) {
  .docs-modal__item { flex-wrap: wrap; }
  .docs-modal__item-dl { width: 100%; justify-content: center; }
}

/* ---------- Investor direct contact ---------- */
.contact-direct { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-4); border-radius: var(--radius-md); background: var(--color-surface); border: 1px solid var(--color-border); height: 100%; }
.contact-direct__person { display: flex; align-items: center; gap: var(--space-3); }
.contact-direct__avatar {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.contact-direct__name { font-weight: 700; }
.contact-direct__role { color: var(--color-text-secondary); font-size: 0.85rem; margin-top: 2px; }
.contact-direct__lines { display: flex; flex-direction: column; gap: var(--space-2); font-size: 0.9rem; }
.contact-direct__lines a { color: var(--color-purple-light); font-weight: 600; }
.contact-direct__subs { padding-top: var(--space-3); border-top: 1px dashed var(--color-border); font-size: 0.82rem; color: var(--color-text-secondary); }
.contact-direct__subs strong { display: block; color: var(--color-text); margin-bottom: 4px; }

/* body scroll-lock while a modal is open (investisseurs.html docs modal) */
body.oz-modal-open { overflow: hidden; }

/* ============================================================================
   investisseurs.html — LIGHT "lavande" theme, reproduced from the client mockup
   `public/assets/Investor/template Investisseurs_EN.png`.
   Page-scoped like `body.home`: token overrides cascade to every tokenised
   component inside <main>; the shared header and footer are re-pinned to the
   dark palette so only the page body flips.
   ========================================================================== */
body.investors {
  --color-bg: #E5D2EE;            /* lavender page background (mockup) */
  --color-bg-elevated: #EEDFF6;   /* form inputs */
  --color-surface: #F7EBFC;       /* cards / form container (near-white lilac) */
  --color-text: #1E1327;          /* near-black */
  --color-text-secondary: #574A63;
  --color-border: #C7B2D6;        /* section rules, chips, faint card edges */
  --color-purple-light: #7A2E9E;  /* accents/links must read dark on lavender */
  --shadow-card: 0 14px 34px rgba(84, 42, 102, 0.16);
  background-color: #E5D2EE;
  background-image: none;
}

/* keep the shared chrome dark (mockup shows only the page body) */
body.investors .site-footer {
  background-color: #150A1E;
  margin-top: 0;
  --color-text: #F6F0FB;
  --color-text-secondary: #BCA9CE;
  --color-border: #3A2A4C;
  --color-surface: #241634;
  --color-purple-light: #B985E4;
}
body.investors .docs-modal {
  --color-bg: #150A1E;
  --color-bg-elevated: #1F1330;
  --color-surface: #241634;
  --color-text: #F6F0FB;
  --color-text-secondary: #BCA9CE;
  --color-border: #3A2A4C;
  --color-purple-light: #B985E4;
}

/* eyebrows: sentence-case dark label + wider brand underline (mockup) */
body.investors main .eyebrow {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text);
}
body.investors main .section-title { padding-bottom: 12px; }
body.investors main .section-title::after { width: 104px; height: 3px; }
body.investors main .section-title__icon { width: 18px; height: 18px; color: var(--color-purple); }

/* section headings: larger, near-black (mockup) */
body.investors main .h2 {
  font-size: clamp(1.9rem, 3.8vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--color-text);
  margin-top: 4px;
}
body.investors main .h2 + .text-secondary { margin-top: var(--space-2); }

/* stats: white-lilac cards, thin dark edge, solid-purple value, centred */
body.investors .stat-card {
  border: 1px solid rgba(21, 11, 30, 0.62);
  align-items: center;
  text-align: center;
}
body.investors .stat-card__value {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: var(--color-purple);
  font-size: 2.6rem;
}

/* thesis cards: number disc beside the title, body spanning underneath */
body.investors .feature-card {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: var(--space-3);
  row-gap: 0;
  align-items: center;
  align-content: start;   /* free space (cards stretch to the tallest) goes to the bottom, not between title and body */
  border: 1px solid rgba(21, 11, 30, 0.62);
}
body.investors .feature-card__num {
  background: var(--color-purple);
  border: none;
  color: #FFFFFF;
  width: 42px;
  height: 42px;
  font-size: 1rem;
}
body.investors .feature-card > h3 { color: var(--color-text); }
body.investors .feature-card > p { grid-column: 1 / -1; margin-top: var(--space-3); }

/* documents: two-tone cards — purple header strip, deep-aubergine body, white text */
body.investors .doc-card {
  padding: 0;
  gap: 0;
  background: #542A66;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: #FFFFFF;
}
body.investors .doc-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px var(--space-4);
  background: #943EB9;
}
body.investors .doc-card__icon { width: 22px; height: 22px; margin: 0; color: #FFFFFF; }
body.investors .doc-card__tag {
  align-self: auto;
  padding: 0;
  background: none;
  color: #FFFFFF;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
}
body.investors .doc-card > :not(.doc-card__head) { margin-inline: var(--space-4); }
body.investors .doc-card > h3 { margin-top: var(--space-4); color: #FFFFFF; }
body.investors .doc-card > p { margin-top: var(--space-2); }
body.investors .doc-card > p:not(.doc-card__meta) { color: rgba(255, 255, 255, 0.86); font-size: 0.9rem; }
body.investors .doc-card__meta { color: rgba(255, 255, 255, 0.82); }
body.investors .doc-card__meta strong { color: #FFFFFF; }
body.investors .doc-card__action {
  align-self: stretch;
  justify-content: flex-start;
  margin: auto var(--space-4) var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
body.investors .doc-card__action:hover { color: #FF9DC0; }

/* contact card + form (mockup) */
body.investors .contact-direct { border-color: rgba(21, 11, 30, 0.10); }
body.investors .contact-direct__lines a { color: var(--color-purple); }
body.investors .contact-direct__subs { border-top-style: dashed; border-top-color: rgba(225, 46, 110, 0.45); }
body.investors .form-card { border-color: rgba(21, 11, 30, 0.10); }
body.investors .form-label { color: var(--color-text); font-weight: 500; }
body.investors .form-input { border-color: rgba(148, 62, 185, 0.32); }
body.investors .form-input::placeholder { color: rgba(87, 74, 99, 0.55); }
