:root {
  /* Navy scale (extrait des logos) */
  --navy-950: #03091a;
  --navy-900: #061129;
  --navy-850: #0a1a3a;
  --navy-800: #0d2148;
  --navy-700: #14315f;
  --navy-600: #1d4179;
  --ink: #eaf0fb;
  --ink-soft: #aebbd4;
  --ink-dim: #6c7c9e;

  /* Or */
  --gold-100: #fbf3d6;
  --gold-200: #f3e2a8;
  --gold-300: #ecd07f;
  --gold-400: #dcb259;
  --gold-500: #c9962f;
  --gold-600: #a9772a;
  --gold-700: #815820;
  --gold-grad: linear-gradient(135deg, #fbf0c4 0%, #e8c874 22%, #c9962f 55%, #9c6f24 100%);
  --gold-grad-soft: linear-gradient(135deg, #f3e2a8, #c9962f);

  /* Surfaces */
  --bg: var(--navy-900);
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.05);
  --line: rgba(220, 178, 89, 0.18);
  --line-soft: rgba(174, 187, 212, 0.12);

  /* Type */
  --f-display: "Cinzel", "Cormorant Garamond", serif;
  --f-editorial: "Cormorant Garamond", "Cinzel", serif;
  --f-body: "Manrope", system-ui, sans-serif;
  --f-ar: "Amiri", "Cairo", serif;
  --f-ar-body: "Cairo", "Tajawal", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 18px;
  --shadow-gold: 0 30px 80px -30px rgba(201, 150, 47, 0.4);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
::selection { background: var(--gold-500); color: var(--navy-950); }

/* ---------- Background ambience ---------- */
.bg-field {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(29, 65, 121, 0.55), transparent 55%),
    radial-gradient(100% 70% at 10% 110%, rgba(13, 33, 72, 0.8), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900) 40%, var(--navy-850));
}
.bg-pattern {
  position: fixed;
  inset: -10%;
  z-index: -1;
  background-image: url("/assets/pattern.svg");
  background-size: 220px 220px;
  opacity: 0.05;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 75%);
          mask-image: radial-gradient(120% 100% at 50% 0%, #000 0%, transparent 75%);
  animation: drift 90s linear infinite;
}
@keyframes drift {
  to { background-position: 220px 440px; }
}

/* ---------- Utilities ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.eyebrow {
  font-family: var(--f-body);
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-300);
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
}
.eyebrow::before {
  content: "";
  width: 34px; height: 1px;
  background: var(--gold-grad-soft);
  display: inline-block;
}
[dir="rtl"] .eyebrow { letter-spacing: 0; }

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold-400);
}

.section { padding-block: clamp(70px, 11vw, 150px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin-top: 0.5em;
  text-wrap: balance;
}
.section-head p {
  margin-top: 1.1em;
  color: var(--ink-soft);
  font-size: 1.08rem;
  max-width: 56ch;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 0.95em;
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  padding: var(--pad-y) 1.7em;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.4s, color 0.4s;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn .ic { width: 1.15em; height: 1.15em; transition: transform 0.45s var(--ease); }
.btn-gold {
  background: var(--gold-grad);
  color: var(--navy-950);
  box-shadow: 0 14px 34px -14px rgba(201, 150, 47, 0.65);
}
.btn-gold::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.55) 50%, transparent 80%);
  transform: translateX(-120%);
  transition: transform 0.7s var(--ease);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -14px rgba(201, 150, 47, 0.8); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:hover .ic { transform: translateX(3px); }
[dir="rtl"] .btn-gold:hover .ic { transform: translateX(-3px); }

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--ink);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-200); transform: translateY(-3px); }

.btn-lg { --pad-y: 1.1em; padding-inline: 2.1em; font-size: 1.02rem; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  direction: ltr; /* chrome reste stable : logo à gauche, langues à droite, même en arabe */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  transition: background 0.5s, backdrop-filter 0.5s, padding 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(6, 17, 41, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line-soft);
  padding-block: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 38px; height: 38px; filter: drop-shadow(0 4px 10px rgba(201,150,47,0.35)); transform: rotate(var(--navspin, 0deg)); transition: transform 0.3s var(--ease); }
.brand:hover img { transform: rotate(calc(var(--navspin, 0deg) - 6deg)) scale(1.06); }
.brand .wordmark {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.14em;
  line-height: 1;
}
.brand .wordmark span { display: block; font-size: 0.5rem; letter-spacing: 0.42em; color: var(--gold-300); margin-top: 4px; font-family: var(--f-body); }
[dir="rtl"] .brand .wordmark span { letter-spacing: 0.12em; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 16px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: 100px;
  transition: color 0.3s, background 0.3s;
  position: relative;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 2px; height: 1.5px;
  background: var(--gold-grad-soft); border-radius: 2px;
}
.nav-right { display: flex; align-items: center; gap: 16px; }

/* Language switcher */
.lang {
  display: flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line-soft);
  border-radius: 100px;
  background: rgba(255,255,255,0.03);
  position: relative;
}
.lang button {
  position: relative;
  z-index: 1;
  padding: 6px 13px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  border-radius: 100px;
  transition: color 0.4s;
}
.lang button.on { color: var(--navy-950); }
.lang .pill {
  position: absolute;
  top: 4px; bottom: 4px;
  border-radius: 100px;
  background: var(--gold-grad);
  transition: left 0.5s var(--ease), width 0.5s var(--ease), right 0.5s var(--ease);
  z-index: 0;
  box-shadow: 0 4px 12px -4px rgba(201,150,47,0.6);
}
.nav-toggle { display: none; }

/* mobile nav */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 14px;
    padding: 90px 36px;
    background: linear-gradient(180deg, var(--navy-850), var(--navy-950));
    border-left: 1px solid var(--line);
    transform: translateX(110%);
    transition: transform 0.55s var(--ease);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.3rem; font-family: var(--f-editorial); }
  .nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; width: 30px; z-index: 110; }
  .nav-toggle span { height: 2px; background: var(--gold-300); border-radius: 2px; transition: transform 0.4s, opacity 0.3s; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  width: 100%;
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin: 0.45em 0 0.4em;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 50ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2.4em; }

/* floating mic */
.hero-mic { position: relative; display: grid; place-items: center; z-index: 1; }
.hero-mic .halo {
  position: absolute;
  width: 135%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,150,47,0.34), transparent 62%);
  filter: blur(20px);
  animation: pulse 6s var(--ease) infinite;
}
@keyframes pulse { 0%,100% { transform: scale(0.92); opacity: 0.8; } 50% { transform: scale(1.06); opacity: 1; } }
.hero-mic img {
  width: min(100%, 520px);
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.55)) drop-shadow(0 0 40px rgba(201,150,47,0.25));
  will-change: transform;
}
.hero-mic .ring {
  position: absolute; border: 1px solid var(--line); border-radius: 50%;
}
.hero-mic .ring.r1 { width: 108%; aspect-ratio: 1; animation: spin 40s linear infinite; border-style: dashed; }
.hero-mic .ring.r2 { width: 128%; aspect-ratio: 1; animation: spin 60s linear infinite reverse; opacity: 0.5; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Bandeau défilant éditorial */
.ticker { direction: ltr; overflow: hidden; border-block: 1px solid var(--line-soft); padding-block: 20px; position: relative; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 1; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--navy-900), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--navy-900), transparent); }
.ticker-track { display: flex; width: max-content; animation: tickmove 38s linear infinite; }
.ticker .tg { display: flex; align-items: center; white-space: nowrap; }
.ticker .tg span {
  font-family: var(--f-editorial); font-style: italic; font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 2rem); color: var(--ink-soft); padding-inline: 30px;
}
.ticker .tg i { font-style: normal; color: var(--gold-400); font-size: 0.95rem; }
@keyframes tickmove { to { transform: translateX(-50%); } }
.ticker:hover .ticker-track { animation-play-state: paused; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 2; }
  .hero-mic { order: 1; }
  .hero-mic img { width: min(54%, 230px); }
  .eyebrow, .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .ring { display: none; }
}

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { text-align: center; }
.manifesto .quote {
  font-family: var(--f-editorial);
  font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.95rem);
  line-height: 1.4;
  max-width: 42ch;
  margin: 0.6em auto;
  text-wrap: balance;
}
.manifesto .quote .gold-text { font-style: italic; }
.manifesto .lex {
  display: inline-block; text-align: start; margin-top: 3em;
  padding-top: 26px; border-top: 1px solid var(--line);
}
.lex-word { display: flex; align-items: baseline; gap: 16px; }
.lex-word b { font-family: var(--f-editorial); font-weight: 600; font-size: 2rem; color: var(--gold-200); }
.lex-phon { color: var(--ink-dim); font-size: 0.95rem; letter-spacing: 0.04em; }
.lex-def { font-family: var(--f-editorial); font-style: italic; font-size: 1.18rem; color: var(--ink-soft); margin-top: 8px; max-width: 44ch; }

/* ============================================================
   INDEX ÉDITORIAL (lignes numérotées, partagé accueil + cagnotte)
   ============================================================ */
.idx { border-top: 1px solid var(--line-soft); }
.idx-row {
  display: grid;
  grid-template-columns: clamp(86px, 12vw, 150px) 1fr 1.05fr;
  gap: clamp(18px, 3vw, 54px);
  align-items: baseline;
  padding-block: clamp(30px, 4.5vw, 52px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.idx-num {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 0.9;
  color: transparent;
  -webkit-text-stroke: 1px rgba(220, 178, 89, 0.5);
  transition: color 0.6s var(--ease);
}
.idx-row:hover .idx-num { color: var(--gold-400); }
.idx-row h3 { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.1; }
.idx-row p { color: var(--ink-soft); max-width: 52ch; font-size: 1rem; }
.idx-row::after {
  content: ""; position: absolute; bottom: -1px; inset-inline-start: 0;
  height: 1px; width: 0; background: var(--gold-grad-soft);
  transition: width 0.8s var(--ease);
}
.idx-row:hover::after { width: 100%; }
@media (max-width: 760px) {
  .idx-row { grid-template-columns: 70px 1fr; }
  .idx-row p { grid-column: 2; }
}

/* ============================================================
   TRACKLIST PODCASTS
   ============================================================ */
.tracks { list-style: none; border-top: 1px solid var(--line-soft); }
.track {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: clamp(18px, 3.5vw, 48px);
  align-items: center;
  padding-block: clamp(26px, 4vw, 42px);
  border-bottom: 1px solid var(--line-soft);
  position: relative;
  transition: padding 0.6s var(--ease);
}
.track::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 130% at 50% 50%, rgba(201,150,47,0.08), transparent 70%);
  opacity: 0; transition: opacity 0.5s;
}
.track:hover::before { opacity: 1; }
.track:hover { padding-inline-start: 14px; }
.track-no { font-family: var(--f-display); font-size: 0.78rem; letter-spacing: 0.26em; color: var(--gold-300); white-space: nowrap; }
.track h3 { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.05; }
.track p { color: var(--ink-soft); font-size: 0.97rem; margin-top: 0.35em; max-width: 58ch; }
.track-tag { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--ink-dim); white-space: nowrap; }
.eq { display: flex; align-items: flex-end; gap: 3px; height: 24px; width: 27px; }
.eq i { width: 3px; border-radius: 2px; background: var(--gold-grad); height: 18%; }
.eq i:nth-child(2) { height: 55%; }
.eq i:nth-child(3) { height: 32%; }
.eq i:nth-child(4) { height: 70%; }
.eq i:nth-child(5) { height: 26%; }
.track:hover .eq i { animation: eqdance 0.85s ease-in-out infinite alternate; }
.track:hover .eq i:nth-child(2) { animation-delay: 0.12s; }
.track:hover .eq i:nth-child(3) { animation-delay: 0.24s; }
.track:hover .eq i:nth-child(4) { animation-delay: 0.06s; }
.track:hover .eq i:nth-child(5) { animation-delay: 0.18s; }
@keyframes eqdance { from { height: 16%; } to { height: 100%; } }
.stamp {
  font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 700;
  color: var(--gold-200); border: 1px solid var(--gold-600); border-radius: 3px;
  padding: 8px 13px; transform: rotate(-4deg); white-space: nowrap;
}
.stamp-wip { display: inline-block; margin-top: 20px; transform: rotate(-2.5deg); border-style: dashed; }
[dir="rtl"] .stamp-wip { letter-spacing: 0.06em; }

/* mode brouillon : la campagne vient de commencer */
.tiers-grid.draft .tier-card { border-style: dashed; border-color: rgba(220, 178, 89, 0.3); }
.tiers-grid.draft .tier-card.featured { border-color: rgba(220, 178, 89, 0.55); }
.tiers-grid.draft .tier-card:hover, .tiers-grid.draft .tier-card.matched { border-style: solid; }
.wip-note {
  font-family: var(--f-editorial); font-style: italic; font-size: 1.08rem;
  color: var(--ink-dim); text-align: center; margin-top: 30px; max-width: 64ch; margin-inline: auto;
}
[lang="ar"] .wip-note { font-family: var(--f-ar); font-style: normal; }
@media (max-width: 760px) {
  .track { grid-template-columns: auto 1fr auto; }
  .track-tag, .eq { display: none; }
}

/* ============================================================
   VALEURS — triptyque typographique
   ============================================================ */
.values { border-block: 1px solid var(--line-soft); }
.creed { display: grid; grid-template-columns: repeat(3, 1fr); }
.creed-item { text-align: center; padding: clamp(14px, 2.5vw, 28px) clamp(20px, 4vw, 56px); border-inline-start: 1px solid var(--line-soft); }
.creed-item:first-child { border-inline-start: 0; }
.creed-item h4 { font-family: var(--f-editorial); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.creed-item h4::after { content: ""; display: block; width: 30px; height: 1px; background: var(--gold-grad-soft); margin: 16px auto 0; }
.creed-item p { color: var(--ink-soft); font-size: 0.96rem; margin-top: 14px; max-width: 30ch; margin-inline: auto; }
@media (max-width: 760px) {
  .creed { grid-template-columns: 1fr; }
  .creed-item { border-inline-start: 0; border-top: 1px solid var(--line-soft); padding-block: 28px; }
  .creed-item:first-child { border-top: 0; }
}

/* ============================================================
   FINALE
   ============================================================ */
.outro { text-align: center; overflow: hidden; padding-block: clamp(100px, 15vw, 190px); }
.ghost-ar {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%);
  pointer-events: none; user-select: none; z-index: 0;
}
.ghost-ar > span {
  display: block;
  font-family: var(--f-ar); font-weight: 700;
  font-size: clamp(14rem, 36vw, 30rem); line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.4px rgba(228, 188, 100, 0.34);
  filter: drop-shadow(0 0 38px rgba(201, 150, 47, 0.16));
  will-change: transform;
}
.outro h2 { font-family: var(--f-editorial); font-weight: 500; font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.05; margin-top: 0.5em; text-wrap: balance; }
.outro p { color: var(--ink-soft); max-width: 54ch; margin: 1.4em auto 0; }
.link-grand {
  display: inline-flex; align-items: center; gap: 20px; margin-top: 2.8em;
  font-family: var(--f-editorial); font-style: italic; font-weight: 500;
  font-size: clamp(1.4rem, 2.6vw, 2rem); color: var(--gold-200);
  border-bottom: 1px solid var(--gold-600); padding-bottom: 12px;
  transition: color 0.4s;
}
.link-grand .arr { position: relative; width: 56px; height: 1px; background: var(--gold-grad-soft); transition: width 0.55s var(--ease); }
.link-grand .arr::after {
  content: ""; position: absolute; inset-inline-end: -1px; top: -3.5px;
  width: 8px; height: 8px;
  border-top: 1px solid var(--gold-300); border-inline-end: 1px solid var(--gold-300);
  transform: rotate(45deg);
}
[dir="rtl"] .link-grand .arr::after { transform: rotate(-135deg); }
.link-grand:hover { color: var(--gold-100); }
.link-grand:hover .arr { width: 96px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line-soft); padding-block: 60px 40px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand { margin-bottom: 18px; }
.footer-blurb { color: var(--ink-soft); font-size: 0.96rem; max-width: 38ch; }
.footer h5 { font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 16px; }
.footer-col a, .footer-col span { display: block; color: var(--ink-soft); font-size: 0.95rem; padding: 5px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold-200); }
.socials { display: flex; gap: 10px; margin-top: 4px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--gold-200); transition: all 0.4s var(--ease); }
.socials a:hover { background: var(--gold-grad); color: var(--navy-950); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--line-soft); color: var(--ink-dim); font-size: 0.84rem; }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
[data-reveal] { opacity: 1; transform: none; }
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1.1s var(--ease);
}
.js [data-reveal].in { opacity: 1; transform: none; filter: none; }

/* variantes directionnelles */
.js [data-reveal="left"]  { transform: translateX(-50px); }
.js [data-reveal="right"] { transform: translateX(50px); }
.js [data-reveal="scale"] { transform: scale(0.86); }
.js [data-reveal="blur"]  { transform: translateY(30px); filter: blur(16px); }
.js [data-reveal="rise"]  { transform: translateY(72px) scale(0.98); }
[dir="rtl"] .js [data-reveal="left"]  { transform: translateX(50px); }
[dir="rtl"] .js [data-reveal="right"] { transform: translateX(-50px); }

/* dévoilement par masque pour les titres */
.js [data-reveal="clip"] {
  opacity: 0;
  clip-path: inset(0 0 108% 0);
  transform: translateY(6px);
  transition: clip-path 1.15s var(--ease), opacity 0.7s var(--ease), transform 1.15s var(--ease);
}
.js [data-reveal="clip"].in { opacity: 1; clip-path: inset(-18% 0 -22% 0); transform: none; }

/* cascades */
.js [data-reveal][data-delay="1"] { transition-delay: 0.09s; }
.js [data-reveal][data-delay="2"] { transition-delay: 0.18s; }
.js [data-reveal][data-delay="3"] { transition-delay: 0.27s; }
.js [data-reveal][data-delay="4"] { transition-delay: 0.36s; }
.js [data-reveal][data-delay="5"] { transition-delay: 0.45s; }
.js [data-reveal][data-delay="6"] { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; filter: none; clip-path: none; transition: none; }
  .bg-pattern, .hero-mic .halo, .hero-mic .ring, .ticker-track, .eq i { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   ARABIC / RTL
   ============================================================ */
[lang="ar"] body, body[lang="ar"] { font-family: var(--f-ar-body); }
[lang="ar"] .f-disp, [lang="ar"] .section-head h2, [lang="ar"] .hero h1,
[lang="ar"] .manifesto .quote, [lang="ar"] .idx-row h3, [lang="ar"] .track h3,
[lang="ar"] .creed-item h4, [lang="ar"] .outro h2, [lang="ar"] .brand .wordmark {
  font-family: var(--f-ar);
  font-weight: 700;
  letter-spacing: 0;
}
[lang="ar"] .hero h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.25; }
[lang="ar"] .manifesto .quote { line-height: 1.6; }
[lang="ar"] body { font-size: 18px; }
[lang="ar"] .ticker .tg span, [lang="ar"] .lex-word b, [lang="ar"] .lex-def,
[lang="ar"] .creed-item h4, [lang="ar"] .link-grand { font-family: var(--f-ar); font-style: normal; }

/* language transition flash */
.lang-fade { transition: opacity 0.32s ease; }
.lang-fade.swapping { opacity: 0; }

/* ============================================================
   CAGNOTTE PAGE
   ============================================================ */
.cag-hero { position: relative; padding-top: 150px; padding-bottom: clamp(50px, 8vw, 90px); overflow: hidden; }
.cag-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.cag-hero h1 {
  font-family: var(--f-editorial); font-weight: 500;
  font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.015em;
  margin: 0.4em 0 0.5em; text-wrap: balance;
}
.cag-hero .hero-sub { font-size: clamp(1.02rem, 1.5vw, 1.2rem); }

/* progress card */
.progress-card {
  border: 1px solid var(--line);
  border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  backdrop-filter: blur(8px);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-gold);
  position: relative; overflow: hidden;
}
.progress-card::before {
  content: ""; position: absolute; top: -40%; inset-inline-end: -20%; width: 60%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(201,150,47,0.22), transparent 65%);
}
.pc-amounts { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pc-raised { font-family: var(--f-display); font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 600; line-height: 1; }
.pc-goal { color: var(--ink-soft); font-size: 1.02rem; }
.pc-goal b { color: var(--gold-200); font-weight: 700; }
.pc-track { height: 12px; border-radius: 100px; background: rgba(255,255,255,0.07); margin: 22px 0 18px; overflow: hidden; position: relative; }
.pc-fill {
  height: 100%; width: 0; border-radius: 100px; background: var(--gold-grad);
  transition: width 1.6s var(--ease); position: relative; min-width: 3px;
}
.pc-track::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.18) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 3.4s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.pc-stats { display: flex; gap: 28px; margin-top: 6px; }
.pc-stat .n { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; color: var(--gold-200); }
.pc-stat .l { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-dim); }
.pc-note { display: flex; align-items: center; gap: 9px; margin-top: 22px; font-size: 0.9rem; color: var(--ink-soft); }
.pc-note .live { width: 9px; height: 9px; border-radius: 50%; background: #46c98a; box-shadow: 0 0 0 0 rgba(70,201,138,0.6); animation: live 2s var(--ease) infinite; flex: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(70,201,138,0.55); } 70% { box-shadow: 0 0 0 9px rgba(70,201,138,0); } 100% { box-shadow: 0 0 0 0 rgba(70,201,138,0); } }
.progress-card .btn { width: 100%; justify-content: center; margin-top: 24px; }
@media (max-width: 860px) {
  .cag-hero-grid { grid-template-columns: 1fr; }
  .cag-hero .eyebrow { justify-content: flex-start; }
}

/* fund allocation */
.fund-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.fund-list { display: flex; flex-direction: column; gap: 24px; }
.fund-row .top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 9px; }
.fund-row .name { font-weight: 600; font-size: 1.02rem; }
.fund-row .pct { font-family: var(--f-display); color: var(--gold-200); font-weight: 600; }
.fund-row .bar { height: 8px; border-radius: 100px; background: rgba(255,255,255,0.06); overflow: hidden; }
.fund-row .bar i { display: block; height: 100%; width: 0; border-radius: 100px; background: var(--gold-grad); transition: width 1.3s var(--ease); }
.fund-aside p { color: var(--ink-soft); margin-bottom: 1.2em; }
@media (max-width: 800px) { .fund-wrap { grid-template-columns: 1fr; } }

/* tiers */
.tiers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.tier-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: var(--surface); padding: 30px 26px; position: relative;
  transition: transform 0.5s var(--ease), border-color 0.5s, box-shadow 0.5s;
}
.tier-card.featured { border-color: var(--gold-500); background: linear-gradient(170deg, rgba(201,150,47,0.12), rgba(255,255,255,0.02)); }
.tier-card:hover, .tier-card.matched { transform: translateY(-8px); border-color: var(--gold-400); box-shadow: var(--shadow-gold); }
.tier-card.matched { box-shadow: 0 0 0 1.5px var(--gold-400), var(--shadow-gold); }
.tier-tag {
  position: absolute; top: -11px; inset-inline-start: 26px;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 700;
  padding: 5px 12px; border-radius: 100px; background: var(--gold-grad); color: var(--navy-950);
}
.tier-amt { font-family: var(--f-display); font-size: 2.2rem; font-weight: 700; }
.tier-amt span { font-size: 1.1rem; color: var(--ink-soft); }
.tier-name { color: var(--gold-200); font-weight: 600; margin-top: 4px; letter-spacing: 0.02em; }
.tier-sep { height: 2px; width: 52px; margin: 18px 0 2px; border-radius: 2px; background: var(--gold-grad); }
.tier-perks { list-style: none; margin: 20px 0 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.tier-perks li { display: flex; gap: 11px; font-size: 0.92rem; color: var(--ink-soft); line-height: 1.4; }
.tier-perks svg { width: 17px; height: 17px; color: var(--gold-300); flex: none; margin-top: 2px; }
.tier-perks .pk { color: var(--gold-300); font-style: normal; font-size: 0.8em; flex: none; margin-top: 3px; }
.tier-choose {
  border: 1px solid var(--line); border-radius: 100px; padding: 11px 16px; font-weight: 600; font-size: 0.9rem;
  color: var(--ink); transition: all 0.4s var(--ease); text-align: center;
}
.tier-choose:hover, .tier-card.featured .tier-choose { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; }
@media (max-width: 980px) { .tiers-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tiers-grid { grid-template-columns: 1fr; } }

/* picker */
.picker {
  border: 1px solid var(--line); border-radius: clamp(20px, 3vw, 28px);
  background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
  padding: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 50px); align-items: center;
}
.picker-label { font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }
.amount-chips { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
.amount-chip {
  padding: 13px 22px; border-radius: 14px; border: 1px solid var(--line-soft);
  font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--ink);
  transition: all 0.35s var(--ease); background: rgba(255,255,255,0.02);
}
.amount-chip:hover { border-color: var(--gold-400); }
.amount-chip.on { background: var(--gold-grad); color: var(--navy-950); border-color: transparent; transform: translateY(-2px); }
.amount-custom { position: relative; }
.amount-custom input {
  width: 100%; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-soft);
  background: rgba(0,0,0,0.18); color: var(--ink); font-family: var(--f-display); font-size: 1.1rem; outline: none;
  transition: border-color 0.3s;
}
.amount-custom input:focus { border-color: var(--gold-400); }
.amount-custom input::placeholder { color: var(--ink-dim); }
.picker-side { border-inline-start: 1px solid var(--line-soft); padding-inline-start: clamp(28px, 4vw, 50px); }
.picker-tier-label { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; min-height: 1em; }
.picker-tier-name { font-family: var(--f-editorial); font-size: 1.7rem; font-weight: 600; margin-top: 6px; color: var(--ink-soft); transition: color 0.4s; }
.picker-tier-name.active { color: var(--gold-100); }
.picker-give { width: 100%; justify-content: center; margin-top: 22px; }
.picker-give.disabled { opacity: 0.5; pointer-events: none; filter: grayscale(0.4); }
@media (max-width: 760px) {
  .picker { grid-template-columns: 1fr; }
  .picker-side { border-inline-start: 0; padding-inline-start: 0; border-top: 1px solid var(--line-soft); padding-top: 28px; }
}
