/* ============================================================
   FONDATION RZB — site-v8 « Le Journal des Racines »
   Le Kiosque : éditorial cinétique, grille brisée, papier clair.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
/* texture papier très légère, jamais lourde */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 80% at 80% -10%, rgba(0,24,120,0.045), transparent 60%),
    radial-gradient(90% 70% at -10% 110%, rgba(24,144,48,0.045), transparent 60%);
}
main, .masthead, .ours { position: relative; z-index: 1; }

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
em { font-style: italic; }
.mono { font-family: var(--font-mono); font-weight: 400; letter-spacing: 0.04em; }
.amp { font-family: var(--font-display); font-style: italic; font-weight: 500; }

.skip {
  position: absolute; left: -999px; top: 0; z-index: 9999;
  background: var(--navy); color: #fff; padding: 0.7em 1.1em; font-family: var(--font-mono);
}
.skip:focus { left: 0.6rem; top: 0.6rem; }

:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; }

.todo {
  font-family: var(--font-mono); font-size: 0.78em; color: var(--ink-soft);
  background: var(--paper-3); padding: 0.05em 0.5em; border-radius: 2px;
  border: 1px solid var(--rule); white-space: nowrap; font-weight: 400;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono); font-weight: 500; font-size: var(--step--1);
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.95em 1.5em; border: 1.5px solid var(--ink); border-radius: var(--radius);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: transform var(--dur) var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn--cta { background: var(--red); border-color: var(--red); color: #fff; font-weight: 700; }
.btn--cta:hover { background: #b40019; border-color: #b40019; }
.btn:hover { transform: translateY(-2px); }

/* ---------- Curseur custom (desktop) ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: var(--z-cursor); pointer-events: none; mix-blend-mode: multiply; display: none; }
.cursor__dot { position: fixed; width: 7px; height: 7px; border-radius: 50%; background: var(--red); transform: translate(-50%, -50%); }
.cursor__ring { position: fixed; width: 40px; height: 40px; border: 1.5px solid var(--navy); border-radius: 50%; transform: translate(-50%, -50%); transition: width .25s var(--ease), height .25s var(--ease), background-color .25s; }
.cursor.is-hover .cursor__ring { width: 64px; height: 64px; background: rgba(0,24,120,0.06); }
.cursor.is-cta .cursor__ring { width: 72px; height: 72px; border-color: var(--red); background: rgba(216,0,30,0.08); }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } .js.cursor-on * { cursor: none !important; } }

/* ---------- Rail d'index cinétique ---------- */
.rail {
  position: fixed; left: clamp(0.8rem, 1.4vw, 1.7rem); top: 50%; transform: translateY(-50%);
  z-index: var(--z-index-rail); font-family: var(--font-mono); font-size: var(--step--1);
  display: grid; grid-template-columns: auto; gap: 0.1em; line-height: 1.1;
  writing-mode: vertical-rl; text-orientation: mixed; align-items: center;
  color: var(--ink-soft);
}
.rail__no { font-size: 1.7em; font-weight: 700; color: var(--ink); }
.rail__sep, .rail__total { color: var(--ink-soft); }
.rail__label { margin-top: 0.8em; letter-spacing: 0.22em; text-transform: uppercase; font-size: 0.82em; color: var(--ink-soft); }
.rail-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: var(--z-nav); background: transparent; }
.rail-progress span { display: block; height: 100%; width: 0%; background: var(--ink-chapter); transition: background-color .5s var(--ease); }
/* le rail vit dans une voie réservée à gauche (évite le chevauchement du contenu) */
@media (min-width: 1201px) { body { padding-left: 3.2rem; } }
@media (max-width: 1200px) { .rail { display: none; } }

/* ---------- Masthead ---------- */
.masthead { position: sticky; top: 0; z-index: var(--z-nav); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.masthead__bar {
  max-width: var(--maxw); margin: 0 auto; padding: 0.7rem var(--gutter);
  display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: clamp(0.8rem, 2vw, 2rem);
}
.masthead__brand { display: inline-flex; align-items: center; gap: 0.55em; font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--navy); }
.masthead__brand img { width: 34px; height: 34px; }
.masthead__meta { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-soft); letter-spacing: 0.05em; }
.masthead__nav { display: flex; gap: clamp(0.8rem, 1.6vw, 1.6rem); font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.05em; }
.masthead__nav a { position: relative; padding-bottom: 2px; }
.masthead__nav a::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 0; height: 1.5px; background: var(--green); transition: width .35s var(--ease); }
.masthead__nav a:hover::after { width: 100%; }
@media (max-width: 760px) {
  .masthead__bar { grid-template-columns: 1fr auto; gap: 0.6rem; }
  .masthead__meta, .masthead__nav { display: none; }
}

/* ---------- Conteneur de section ---------- */
.chapter, .hero { max-width: var(--maxw); margin: 0 auto; padding: var(--section-y) var(--gutter); position: relative; }
.chapter { border-top: 1px solid var(--rule); }

/* numéro géant en filigrane (décoratif) */
.filigrane {
  position: absolute; top: clamp(-1.5rem, -2vw, -1rem); right: var(--gutter);
  font-family: var(--font-display); font-weight: 900; font-size: var(--step-giant);
  line-height: 0.8; color: var(--ink-chapter); opacity: 0.06; pointer-events: none; z-index: 0;
  transition: color .5s var(--ease); user-select: none;
}
.filigrane::before { content: attr(data-fil); }

/* kicker de presse */
.kicker { display: flex; align-items: center; gap: 0.8em; font-family: var(--font-mono); font-weight: 400; font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); margin: 0 0 clamp(1.4rem, 3vw, 2.6rem); position: relative; z-index: 1; }
.kicker__rule { width: clamp(1.6rem, 5vw, 4rem); height: 1.5px; background: var(--ink-chapter); transition: background-color .5s var(--ease); }

/* ---------- HERO cinématique (scène figée + transformation au scroll) ---------- */
.hero { position: relative; }
.hero__pin { display: grid; place-items: center; padding: clamp(1.4rem, 4vw, 3rem) 0; }
/* Mode scroll (ajouté en JS, desktop, hors reduced-motion) : la scène se fige et se transforme */
.hero.is-scroll { height: 200vh; }
.hero.is-scroll .hero__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }

.hero__inner { --p: 0; position: relative; width: 100%; height: 100%; min-height: 86vh;
  display: grid; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr auto;
  gap: 0 var(--col-gap); align-content: center; }

.hero__kicker { grid-column: 1 / -1; grid-row: 1; font-family: var(--font-mono); font-size: var(--step--1);
  text-transform: uppercase; letter-spacing: 0.22em; color: var(--ink-soft); padding-top: clamp(1rem, 3vw, 2rem);
  opacity: 0; animation: heroIn .7s var(--ease) .05s forwards; }

.hero__title { grid-column: 1 / 8; grid-row: 2; align-self: center; margin: 0;
  font-family: var(--font-display); font-weight: 800; color: var(--navy);
  font-size: var(--step-hero); line-height: 0.92; letter-spacing: -0.02em;
  position: relative; z-index: 3; will-change: transform, opacity; }
.hero__line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__line--2 { margin-left: clamp(0.4rem, 3vw, 2.5rem); }
.hero__line--3 { margin-left: clamp(0.8rem, 6vw, 5rem); }
.hero__line--4 { margin-left: clamp(0.4rem, 2vw, 2rem); }
.hero__word { display: block; transform: translateY(115%); animation: heroLine .95s cubic-bezier(0.16, 1, 0.3, 1) both; }
.hero__line--2 .hero__word { animation-delay: .10s; }
.hero__line--3 .hero__word { animation-delay: .20s; }
.hero__line--4 .hero__word { animation-delay: .30s; }
.hero__title em { color: var(--green); font-weight: 700; font-style: italic; }
.dot { display: inline-block; width: clamp(10px, 0.13em, 22px); height: clamp(10px, 0.13em, 22px);
  background: var(--red); margin-left: 0.14em; vertical-align: baseline; border-radius: 1px; }

.hero__media { grid-column: 8 / 13; grid-row: 2; align-self: center; position: relative;
  aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); border: 1px solid var(--rule);
  z-index: 2; will-change: transform; opacity: 0; animation: heroIn 1s var(--ease) .35s forwards; }
.hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__frameline { position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,0.55);
  mix-blend-mode: overlay; pointer-events: none; opacity: calc(1 - var(--p)); }
.hero__fig { position: absolute; left: 10px; bottom: 8px; font-size: var(--step--1); color: #fff;
  mix-blend-mode: difference; letter-spacing: 0.1em; opacity: calc(1 - var(--p) * 1.4); }

.hero__cue { grid-column: 1 / 8; grid-row: 3; align-self: end; justify-self: start;
  display: inline-flex; align-items: center; gap: .55em; padding-bottom: clamp(1rem, 3vw, 2rem);
  font-family: var(--font-mono); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .2em; color: var(--ink-soft); }
.hero__cue::after { content: "\2193"; display: inline-block; animation: heroBounce 1.6s var(--ease) infinite; }

/* Effet scroll : le titre s'élève et s'efface, la vidéo grandit et envahit la scène */
.hero.is-scroll .hero__title { transform: translateY(calc(var(--p) * -20vh)); opacity: calc(1 - var(--p) * 1.7); }
.hero.is-scroll .hero__kicker { opacity: calc(1 - var(--p) * 2.4); }
.hero.is-scroll .hero__cue { opacity: calc(1 - var(--p) * 3); }
.hero.is-scroll .hero__media { transform: scale(calc(1 + var(--p) * 0.92)) translateX(calc(var(--p) * -15%)); transform-origin: center right; }

@keyframes heroLine { from { transform: translateY(115%); } to { transform: translateY(0); } }
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes heroBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- OUVERTURE (accroche + sommaire, après le hero) ---------- */
.opening { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap);
  padding-top: clamp(2rem, 6vw, 5rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.opening__lede { grid-column: 1 / 7; font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.opening__lede strong { color: var(--green); font-weight: 600; }
.opening .sommaire { grid-column: 8 / 13; list-style: none; padding: 0; display: grid; gap: 0.2em; align-self: end; }
.opening .sommaire li { border-bottom: 1px solid var(--rule); }
.opening .sommaire a { display: flex; gap: 1em; align-items: baseline; padding: 0.55em 0;
  font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; transition: color .3s, padding-left .3s var(--ease); }
.opening .sommaire a .mono { font-family: var(--font-mono); font-size: 0.6em; color: var(--red); font-weight: 500; }
.opening .sommaire a:hover { color: var(--red); padding-left: 0.6em; }

/* Accessibilité : reduced-motion => pas de scroll-jacking ni d'entrées animées, MAIS la vidéo joue. */
@media (prefers-reduced-motion: reduce) {
  .hero.is-scroll { height: auto; }
  .hero.is-scroll .hero__pin { position: static; height: auto; }
  .hero__inner { min-height: 0; }
  .hero__title, .hero__media, .hero__kicker, .hero__cue { transform: none !important; opacity: 1 !important; animation: none !important; }
  .hero__word { transform: none !important; animation: none !important; }
  .hero__cue::after { animation: none; }
}

/* Tablette / mobile : pas de scène figée (mauvaise UX tactile) => pile propre, vidéo qui joue. */
@media (max-width: 880px) {
  .hero.is-scroll { height: auto; }
  .hero.is-scroll .hero__pin { position: static; height: auto; }
  .hero__inner { min-height: 0; grid-template-rows: auto auto auto auto; row-gap: clamp(1.2rem, 4vw, 2rem); }
  .hero__title { grid-column: 1 / 13; grid-row: 2; }
  .hero__media { grid-column: 1 / 13; grid-row: 3; aspect-ratio: 1 / 1; }
  .hero__cue { grid-row: 4; }
  .hero.is-scroll .hero__title, .hero.is-scroll .hero__media,
  .hero.is-scroll .hero__kicker, .hero.is-scroll .hero__cue { transform: none; opacity: 1; }
  .opening__lede, .opening .sommaire { grid-column: 1 / 13; }
  .opening .sommaire { margin-top: 1.5rem; }
}
@media (max-width: 560px) {
  .hero__title { font-size: clamp(2.1rem, 1rem + 7vw, 3.4rem); }
}

/* ---------- 01 MANIFESTE ---------- */
.chapter--manifeste { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap) var(--col-gap); }
.chapter--manifeste .kicker { grid-column: 1 / 13; }
.manifesto { grid-column: 1 / 10; }
.manifesto p { font-family: var(--font-display); font-weight: 500; font-size: var(--step-3); line-height: 1.12; letter-spacing: -0.01em; color: var(--ink); }
.manifesto em { color: var(--green); }
.manifesto .hl { color: var(--navy); font-style: italic; font-weight: 700; }
.founder { grid-column: 8 / 13; align-self: end; border-left: 2px solid var(--red); padding-left: 1.2em; margin-top: clamp(1.5rem, 4vw, 3rem); }
.founder blockquote { font-size: var(--step-0); line-height: 1.5; font-style: italic; color: var(--ink); }
.founder figcaption { margin-top: 1em; display: grid; gap: 0.1em; }
.founder__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); color: var(--navy); }
.founder__role { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 760px) { .manifesto, .founder { grid-column: 1 / 13; } .founder { margin-top: 2rem; } }

/* ---------- 02 MÉTHODE (index éditorial) ---------- */
.method { list-style: none; padding: 0; counter-reset: m; display: grid; gap: 0; }
.method__item { display: grid; grid-template-columns: clamp(2.5rem, 7vw, 6rem) 1fr; gap: clamp(1rem, 3vw, 3rem); align-items: start; padding: clamp(1.6rem, 3.5vw, 3rem) 0; border-top: 1px solid var(--rule); }
.method__item:nth-child(2) { padding-left: clamp(0rem, 8vw, 7rem); } /* grille brisée : décalage */
.method__item:nth-child(3) { padding-left: clamp(0rem, 4vw, 3.5rem); }
.method__no { grid-column: 1; grid-row: 1 / span 2; font-family: var(--font-mono); font-size: var(--step-1); color: var(--red); padding-top: 0.5em; }
.method__h { grid-column: 2; font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; color: var(--navy); letter-spacing: -0.01em; }
.method__item p { grid-column: 2; margin-top: 0.7em; max-width: 46ch; font-size: var(--step-1); color: var(--ink); }
@media (max-width: 620px) { .method__item, .method__item:nth-child(2), .method__item:nth-child(3) { padding-left: 0; grid-template-columns: 1fr; gap: 0.3rem; } }

/* ---------- 03 TERRAINS (Embla) ---------- */
.terrains__head { display: grid; grid-template-columns: 1fr auto; gap: 1rem 2rem; align-items: end; margin-bottom: clamp(1.5rem, 3vw, 2.6rem); }
.terrains__head .kicker { grid-column: 1 / 2; margin-bottom: 0.6em; }
.terrains__lede { grid-column: 1 / 2; max-width: 40ch; color: var(--ink-soft); font-size: var(--step-0); }
.terrains__ctrl { grid-column: 2; display: flex; gap: 0.6rem; }
.embla__btn { width: 3rem; height: 3rem; border: 1.5px solid var(--ink); background: transparent; border-radius: 50%; font-size: 1.1rem; cursor: pointer; transition: background-color .3s, color .3s, transform var(--dur) var(--ease); }
.embla__btn:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.embla { overflow: hidden; }
.embla__container { display: flex; gap: var(--col-gap); touch-action: pan-y; }
.commune {
  flex: 0 0 clamp(280px, 78%, 560px); min-width: 0;
  display: grid; grid-template-rows: auto auto 1fr; gap: 1.1rem;
  background: var(--paper-2); border: 1px solid var(--rule); border-top: 5px solid var(--c);
  padding: 1.4rem 1.4rem 1.7rem;
}
.commune__no { color: var(--c); font-weight: 700; }
.commune__media { overflow: hidden; border-radius: var(--radius); background: var(--paper-3); aspect-ratio: 4 / 3.4; }
.commune__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); filter: saturate(1.02); }
.commune:hover .commune__media img { transform: scale(1.05); }
.commune__place { color: var(--ink-soft); }
.commune__h { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); line-height: 1.02; color: var(--ink); }
.commune__h .amp { color: var(--c); }
.commune__body p { font-size: var(--step-0); }
.commune__stat { margin-top: 0.3rem; }
.embla__dots { display: flex; gap: 0.5rem; margin-top: 1.4rem; justify-content: flex-start; }
.embla__dot { width: 26px; height: 26px; display: grid; place-items: center; border: 0; background: transparent; cursor: pointer; padding: 0; }
.embla__dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--rule-strong); background: transparent; transition: background-color .3s, transform .3s var(--ease); }
.embla__dot.is-sel::before { background: var(--ink-chapter); border-color: var(--ink-chapter); transform: scale(1.3); }

/* ---------- 04 EMPREINTE ---------- */
.chapter--empreinte .filigrane { color: var(--red); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--col-gap); align-items: end; }
.stat { border-top: 2px solid var(--ink); padding-top: 1rem; display: grid; gap: 0.3rem; }
.stat:nth-child(2) { transform: translateY(clamp(0px, 3vw, 2.4rem)); } /* décalage éditorial */
.stat__num { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 0.9; color: var(--navy); letter-spacing: -0.02em; }
.stat:nth-child(2) .stat__num { color: var(--red); }
.stat:nth-child(3) .stat__num { color: var(--green); }
.stat__u, .stat__num .stat__u { font-size: 0.45em; vertical-align: super; }
.stat__lab { font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.4; }
.disclaimer { margin-top: clamp(1.6rem, 3vw, 2.6rem); color: var(--ink-soft); max-width: 60ch; font-size: var(--step--1); }
@media (max-width: 620px) { .stats { grid-template-columns: 1fr; gap: 1.6rem; } .stat:nth-child(2) { transform: none; } }

/* ---------- 05 LE CERCLE ---------- */
.cercle__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.cercle__intro { grid-column: 1 / 6; position: sticky; top: 6rem; }
.cercle__h { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.02; color: var(--navy); margin: 0.3em 0 0.5em; letter-spacing: -0.01em; }
.cercle__lede { color: var(--ink); font-size: var(--step-0); max-width: 36ch; margin-bottom: 1.4rem; }
.cercle__note { margin-top: 1rem; color: var(--ink-soft); font-size: var(--step--1); }
.tiers { grid-column: 6 / 13; list-style: none; padding: 0; display: grid; gap: 0; }
.tier { display: grid; grid-template-columns: minmax(7rem, auto) 1fr; gap: 1.4rem; align-items: baseline; padding: 1.05rem 0.2rem; border-top: 1px solid var(--rule); transition: padding-left .3s var(--ease), background-color .3s; }
.tier:last-child { border-bottom: 1px solid var(--rule); }
.tier:hover { padding-left: 0.8rem; background: var(--paper-2); }
.tier__amt { font-family: var(--font-display); font-weight: 700; font-size: var(--step-2); color: var(--ink); }
.tier__amt small { font-family: var(--font-mono); font-size: 0.4em; color: var(--ink-soft); font-weight: 400; letter-spacing: 0.06em; }
.tier__what { font-size: var(--step-0); color: var(--ink-soft); }
.tier--feat { background: var(--paper-2); }
.tier--feat .tier__amt { color: var(--red); }
.tier--feat .tier__what { color: var(--ink); }
.tier--free .tier__amt { font-style: italic; color: var(--green); }
@media (max-width: 760px) {
  .cercle__intro { grid-column: 1 / 13; position: static; }
  .tiers { grid-column: 1 / 13; }
  .tier { grid-template-columns: 1fr; gap: 0.1rem; }
}

/* ---------- 06 TRANSPARENCE ---------- */
.alloc__bar { display: flex; width: 100%; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; min-height: clamp(4rem, 9vw, 6.5rem); }
.alloc__seg { flex: 0 0 var(--w); width: var(--w); background: color-mix(in srgb, var(--c) 16%, var(--paper)); border-right: 1px solid var(--paper); display: flex; flex-direction: column; justify-content: flex-end; padding: 0.8rem 0.9rem; font-family: var(--font-mono); font-size: var(--step--1); color: var(--ink); line-height: 1.3; }
.alloc__seg:last-child { border-right: 0; }
.alloc__seg b { font-family: var(--font-display); font-size: var(--step-2); color: var(--c); font-weight: 800; display: block; }
.alloc__note { margin-top: 1.2rem; color: var(--ink-soft); max-width: 60ch; font-size: var(--step--1); }
@media (max-width: 620px) { .alloc__bar { flex-direction: column; } .alloc__seg { width: 100%; flex-basis: auto; border-right: 0; border-bottom: 1px solid var(--paper); } }

/* ---------- 07 CONTACT ---------- */
.chapter--contact { text-align: left; }
.contact__h { font-family: var(--font-display); font-weight: 800; font-size: var(--step-4); line-height: 0.98; color: var(--navy); letter-spacing: -0.015em; margin: 0.2em 0 0.7em; }
.contact__h em { color: var(--green); }
.contact__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2.2rem; border-top: 1.5px solid var(--ink); padding-top: 1.6rem; }
.contact__line { font-family: var(--font-display); font-size: var(--step-2); color: var(--ink); }
a.contact__line:hover { color: var(--red); }
.contact__line.mono { font-family: var(--font-mono); font-size: var(--step-0); color: var(--ink-soft); }
.contact__cta { margin-left: auto; }
@media (max-width: 560px) { .contact__cta { margin-left: 0; } }

/* ---------- OURS / COLOPHON ---------- */
.ours { max-width: var(--maxw); margin: 0 auto; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(2rem, 4vw, 3rem); }
.ours__bar { height: 6px; background: linear-gradient(90deg, var(--abobo) 0 20%, var(--yamoussoukro) 20% 40%, var(--bouake) 40% 60%, var(--korhogo) 60% 80%, var(--daloa) 80% 100%); border-radius: 2px; }
.ours__grid { display: grid; grid-template-columns: auto 1fr; gap: 0.6rem 2rem; align-items: baseline; margin-top: 1.5rem; }
.ours__brand { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); color: var(--navy); }
.dot--green { background: var(--green); }
.ours__line { grid-column: 2; color: var(--ink-soft); font-size: var(--step-0); }
.ours__spec, .ours__legal { grid-column: 2; color: var(--ink-soft); font-size: var(--step--1); }
.ours__legal { margin-top: 0.4rem; }
@media (max-width: 620px) { .ours__grid { grid-template-columns: 1fr; } .ours__line, .ours__spec, .ours__legal { grid-column: 1; } }

/* ============================================================
   REVEALS hétérogènes (additifs ; le contenu est visible sans JS)
   ============================================================ */
.no-js .reveal, .reduce .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
.js .reveal { will-change: transform, opacity; }
.js .reveal[data-reveal="rise"] { opacity: 0; transform: translateY(38px); }
.js .reveal[data-reveal="side"] { opacity: 0; transform: translateX(-44px); }
/* PAS de clip-path qui réduit la boîte à zéro : l'IntersectionObserver ne verrait jamais l'élément
   (aire visible nulle => jamais "intersecting" => .in jamais ajouté => contenu invisible à vie). */
.js .reveal[data-reveal="mask"] { opacity: 0; transform: translateY(30px); }
.reveal.in { opacity: 1 !important; transform: none !important; clip-path: inset(0 0 0 0) !important;
  transition: opacity .9s var(--ease), transform .9s var(--ease), clip-path 1s var(--ease); }
@media (prefers-reduced-motion: reduce) { .reveal, .reveal.in { transition: none !important; } }

/* (ancien .ln retire : le titre hero est desormais anime en CSS pur) */

/* ---------- Intro « ouverture du numéro » (piloté par JS, sûr sans JS) ---------- */
.intro { display: none; }
.intro.run {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 9000;
  background: var(--paper); transition: transform 1s var(--ease);
}
.intro.done { transform: translateY(-101%); pointer-events: none; }
.intro__inner { display: grid; gap: 1.2rem; justify-items: center; text-align: center; padding: 2rem; }
.intro__no { font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-soft); opacity: 0; transform: translateY(12px); }
.intro__brand { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); color: var(--navy); line-height: 1; opacity: 0; transform: translateY(14px); }
.intro__brand .dot { background: var(--red); }
.intro__bar { width: 0; height: 5px; border-radius: 2px; background: linear-gradient(90deg, var(--abobo) 0 20%, var(--yamoussoukro) 20% 40%, var(--bouake) 40% 60%, var(--korhogo) 60% 80%, var(--daloa) 80% 100%); }
.intro.run .intro__no { animation: introUp .7s var(--ease) .1s forwards; }
.intro.run .intro__brand { animation: introUp .8s var(--ease) .24s forwards; }
.intro.run .intro__bar { animation: introBar 1s var(--ease) .4s forwards; }
@keyframes introUp { to { opacity: 1; transform: translateY(0); } }
@keyframes introBar { to { width: min(440px, 72vw); } }
@media (prefers-reduced-motion: reduce) { .intro.run { display: none; } }
