/* ==========================================================================
   AGDS — Restauration africaine solidaire
   Direction artistique : style CQCM (vert coopératif, pills noires, aplats)
   ========================================================================== */

:root {
  --green: #44d991;
  --blue: #4c92e9;
  --coral: #ff6a51;
  --mint: #eaf9f2;
  --ink: #000000;
  --paper: #ffffff;
  --steel: #666666;

  --font-display: 'Archivo', 'Archivo Black', 'Anton', sans-serif;
  --font-body: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --max: 1280px;
  --gutter: 40px;
  --section: 120px;
  --gap: 20px;

  --r-card: 8px;
  --r-badge: 4px;
  --r-pill: 100px;
  --shadow-nav: rgba(0, 0, 0, 0.1) 0px 0px 20px 0px;

  --ease: cubic-bezier(.16, 1, .3, 1);
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body { overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; }

::selection { background: var(--green); color: var(--ink); }

/* ---------- Typo ---------- */
.display {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: 0.04em;
}
.d-xl { font-size: clamp(44px, 7.4vw, 112px); }
.d-lg { font-size: clamp(38px, 5.4vw, 78px); }
.d-md { font-size: clamp(32px, 4.2vw, 59px); }
.d-sm { font-size: clamp(26px, 3.4vw, 48px); }

.tag {
  font-family: var(--font-display);
  font-stretch: 115%;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.35; letter-spacing: 0.011em; }
.muted { color: var(--steel); }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }

/* Line mask helpers (split text) */
.line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.line > span { display: inline-block; will-change: transform; }
.word { display: inline-block; }
.wmask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.wmask > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.pill {
  --bg: var(--ink);
  --fg: var(--paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  line-height: 1;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color .5s var(--ease);
}
.pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
  z-index: -1;
}
.pill:hover { color: var(--ink); }
.pill:hover::before { transform: translateY(0); }
.pill .arrow { width: 14px; height: 14px; transition: transform .5s var(--ease); }
.pill:hover .arrow { transform: translateX(4px) rotate(-45deg); }

.pill--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill--ghost::before { background: var(--ink); }
.pill--ghost:hover { color: var(--paper); }

/* On green panels the hover fill stays legible */
.on-green .pill::before { background: var(--paper); }

.see-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.see-all::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transition: transform .4s var(--ease);
}
.see-all:hover::before { transform: scale(1.8); }

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.loader__panel {
  position: absolute;
  inset: 0;
  background: var(--green);
}
.loader__panel--ink { background: var(--ink); }
.loader__inner { position: relative; text-align: center; }
.loader__word {
  display: flex;
  gap: 0.04em;
  font-size: clamp(80px, 18vw, 260px);
  color: var(--ink);
}
.loader__word span { display: inline-block; }
.loader__count {
  position: absolute;
  left: 50%;
  bottom: -48px;
  transform: translateX(-50%);
}
.loader__dots {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 1fr;
  opacity: .0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: transform .6s var(--ease), background-color .4s, box-shadow .4s;
}
.nav.is-solid { background: var(--paper); box-shadow: var(--shadow-nav); }
.nav.is-hidden { transform: translateY(-110%); }
.nav__row { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__mark {
  position: relative;
  width: 38px; height: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
.logo__mark i { display: block; border-radius: 50%; background: var(--green); }
.logo__mark i:nth-child(2) { background: var(--ink); border-radius: 4px; }
.logo__mark i:nth-child(3) { background: var(--ink); }
.logo__mark i:nth-child(4) { background: var(--green); border-radius: 4px 4px 50% 4px; }
.logo__text { font-size: 22px; }
.logo__sub { display: block; font-family: var(--font-body); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--steel); margin-top: 3px; font-stretch: 100%; font-weight: 400; }

.nav__links { display: flex; gap: 28px; font-size: 14px; text-transform: uppercase; }
.nav__links a { position: relative; padding: 6px 0; }
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__links a:hover::after,
.nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav__cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); position: relative; }
.burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease), top .5s var(--ease); }
.burger span:nth-child(1) { top: 19px; }
.burger span:nth-child(2) { top: 27px; }
.menu-open .burger span:nth-child(1) { top: 23px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--green);
  padding: 120px 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 40px);
  visibility: hidden;
}
.mobile-menu a.display { display: block; font-size: clamp(28px, 8.6vw, 64px); padding: 6px 0; border-bottom: 1px solid var(--ink); }
.mobile-menu__foot { display: grid; gap: 6px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--paper);
}
.hero__media {
  position: relative;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}
.hero__img {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: 50% 30%;
  transform-origin: 50% 50%;
}
.hero__dots {
  position: absolute;
  inset: -30px;
  display: grid;
  grid-template-columns: repeat(var(--cols, 7), 1fr);
  gap: 0;
  pointer-events: none;
}
.hero__dots i {
  display: block;
  aspect-ratio: 1;
  justify-self: center;
  align-self: center;
  width: 30px;
  border-radius: 50%;
  background: var(--green);
}
.hero__dots i.is-off { visibility: hidden; }

.hero__panel {
  position: relative;
  background: var(--green);
  padding: 140px 60px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero__eyebrow { display: flex; align-items: center; gap: 12px; }
.hero__eyebrow::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); }
.hero__title { margin: 40px 0 30px; }
.hero__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.hero__foot p { max-width: 340px; font-size: 16px; }
.hero__scroll {
  position: absolute;
  right: 60px;
  top: 120px;
  width: 92px; height: 92px;
}
.hero__scroll svg { width: 100%; height: 100%; }
.hero__scroll text { font-family: var(--font-display); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; font-stretch: 115%; }
.hero__scroll .dot { position: absolute; inset: 50% auto auto 50%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--ink); }

.hero__badge {
  position: absolute;
  left: calc(50% - 70px);
  top: 50%;
  width: 140px; height: 140px;
  margin-top: -70px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 3;
}
.hero__badge b { display: block; font-size: 36px; }
.hero__badge small { font-size: 11px; display: block; margin-top: 6px; color: var(--green); }

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: 40px; padding-right: 40px; font-size: clamp(28px, 3.4vw, 48px); }
.marquee__item i { width: 22px; height: 22px; border-radius: 50%; background: var(--green); flex: none; }
.marquee__item i.b { background: var(--blue); }
.marquee__item i.c { background: var(--coral); }

/* ---------- Manifesto ---------- */
.manifesto { padding: 180px 0 140px; }
.manifesto__grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; }
.manifesto__text { font-size: clamp(30px, 4.1vw, 58px); }
.manifesto__text .word { color: rgba(0, 0, 0, .12); transition: none; }
.manifesto__text .hl { position: relative; white-space: nowrap; }
.manifesto__text .pin-img {
  display: inline-block;
  width: 1.9em; height: 0.82em;
  border-radius: 100px;
  overflow: hidden;
  vertical-align: -0.04em;
  margin: 0 .08em;
}
.manifesto__text .pin-img img { width: 100%; height: 100%; object-fit: cover; }
.manifesto__meta { display: flex; gap: 60px; margin-top: 70px; padding-left: 260px; flex-wrap: wrap; }
.manifesto__meta p { max-width: 380px; }

/* ---------- Activities (horizontal) ---------- */
.acts { background: var(--mint); overflow: hidden; }
.acts__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 100px 0 60px; }
.acts__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 50px; }
.acts__progress { width: 220px; height: 2px; background: rgba(0,0,0,.12); position: relative; }
.acts__progress span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.acts__track { display: flex; gap: var(--gap); padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2)); padding-right: var(--gutter); width: max-content; }
.act {
  position: relative;
  flex: none;
  width: clamp(300px, 34vw, 460px);
  height: clamp(440px, 62vh, 580px);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.act__top {
  position: relative;
  flex: 1;
  display: grid;
  place-items: center;
  background: var(--c, var(--blue));
  overflow: hidden;
}
.act__circle {
  width: 66%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
}
.act__circle img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
.act__num { position: absolute; top: 20px; left: 20px; font-size: 14px; }
.act__body { padding: 20px; display: grid; gap: 10px; }
.act__body h3 { font-size: 22px; }
.act__body p { font-size: 14px; line-height: 1.4; }
.act__body .pill { justify-self: start; margin-top: 6px; padding: 10px 20px; }
.act--intro { background: transparent; width: clamp(280px, 26vw, 360px); justify-content: flex-end; padding-bottom: 10px; }

/* ---------- Stats staircase ---------- */
.stats__grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 60px; align-items: start; }
.stats__intro { position: sticky; top: 140px; }
.stats__intro p { margin-top: 30px; max-width: 420px; }
.stats__intro .pill { margin-top: 40px; }
.stairs { position: relative; display: grid; gap: 0; }
.stair {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  width: calc(100% - 120px);
  min-height: 170px;
  padding: 20px;
  border-radius: var(--r-card);
  margin-top: -30px;
  background: var(--c);
}
.stair:first-child { margin-top: 0; }
.stair:nth-child(1) { margin-left: 0; }
.stair:nth-child(2) { margin-left: 30px; }
.stair:nth-child(3) { margin-left: 60px; }
.stair:nth-child(4) { margin-left: 90px; box-shadow: inset 0 0 0 1px var(--ink); }
.stair:nth-child(5) { margin-left: 120px; }
.stair__num { font-size: clamp(48px, 6vw, 88px); }
.stair__label { writing-mode: vertical-rl; transform: rotate(180deg); align-self: stretch; text-align: left; max-height: 140px; }
.stair__desc { position: absolute; top: 20px; left: 20px; font-size: 14px; max-width: 70%; }

/* ---------- Restaurant feature ---------- */
.resto { background: var(--blue); color: var(--ink); overflow: hidden; }
.resto__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.resto__visual { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.resto__circle {
  position: relative;
  width: 86%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  clip-path: circle(50% at 50% 50%);
}
.resto__circle img { width: 100%; height: 100%; object-fit: cover; }
.resto__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.resto__ring text { font-family: var(--font-display); font-size: 14px; letter-spacing: 0.3em; text-transform: uppercase; font-stretch: 115%; }
.resto__chip {
  position: absolute;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid var(--blue);
}
.resto__chip img { width: 100%; height: 100%; object-fit: cover; }
.resto__chip--a { right: 0; top: 6%; }
.resto__chip--b { left: 2%; bottom: 4%; }
.resto__price {
  position: absolute;
  right: 6%; bottom: 10%;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--coral);
  display: grid;
  place-items: center;
  text-align: center;
  z-index: 2;
}
.resto__price b { font-size: 44px; display: block; }
.resto__price small { font-size: 10px; }
.resto__content p { margin: 30px 0; max-width: 480px; }
.resto__list { display: grid; gap: 0; margin-bottom: 40px; border-top: 1px solid var(--ink); }
.resto__list li { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--ink); font-size: 16px; }
.resto__list li span:last-child { font-family: var(--font-display); font-stretch: 115%; font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.resto__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Parcours ---------- */
.path__head { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 80px; }
.path__list { position: relative; display: grid; gap: 0; }
.path__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(0,0,0,.12); }
.path__line span { position: absolute; inset: 0; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.step {
  display: grid;
  grid-template-columns: 120px 1.2fr 1fr 60px;
  gap: 30px;
  align-items: center;
  padding: 34px 0;
  border-bottom: 1px solid rgba(0,0,0,.12);
  position: relative;
  cursor: default;
}
.step::before {
  content: '';
  position: absolute;
  inset: 0 -20px;
  background: var(--mint);
  border-radius: var(--r-card);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .6s var(--ease);
  z-index: -1;
}
.step:hover::before { transform: scaleY(1); }
.step__n { font-size: 14px; }
.step__t { font-size: clamp(22px, 2.4vw, 34px); }
.step__d { font-size: 15px; color: #222; }
.step__dot { width: 22px; height: 22px; border-radius: 50%; background: var(--c, var(--green)); justify-self: end; transition: transform .6s var(--ease); }
.step:hover .step__dot { transform: scale(2.2); }

/* ---------- Publics ---------- */
.publics { background: var(--mint); }
.publics__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.publics__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--r-pill);
  background: var(--paper);
  font-size: 16px;
  box-shadow: inset 0 0 0 1px var(--ink);
}
.chip i { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--green)); }
.publics__goals { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.goal { padding: 20px; border-radius: var(--r-card); background: var(--paper); }
.goal .tag { display: block; margin-bottom: 10px; color: var(--steel); }

/* ---------- News / À la une ---------- */
.news__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; gap: 20px; }
.news__title { font-size: 24px; }
.news__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.card {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
}
.card__top { background: var(--blue); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.card__circle { width: 64%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: width .8s var(--ease); }
.card__circle img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__circle { width: 72%; }
.card:hover .card__circle img { transform: scale(1.08); }
.card__body { padding: 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card__meta { display: flex; gap: 12px; align-items: center; }
.card__meta .tag { background: var(--paper); padding: 6px 8px; border-radius: var(--r-badge); box-shadow: inset 0 0 0 1px var(--ink); }
.card__meta time { font-size: 12px; color: var(--steel); }
.card__body h3 { font-size: 18px; font-weight: 400; line-height: 1.3; }
.card__body p { font-size: 14px; }
.card__body .pill { justify-self: start; padding: 10px 20px; margin-top: 8px; }

/* ---------- Team ---------- */
.team__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 60px; }
.member { display: grid; gap: 14px; }
.member__img { aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--c, var(--green)); position: relative; }
.member__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--green) 7px, transparent 7.5px);
  background-size: 34px 34px;
  opacity: 0;
  transition: opacity .6s var(--ease);
  mix-blend-mode: normal;
}
.member:hover .member__img::after { opacity: .9; }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member .tag { color: var(--steel); }

/* ---------- Big CTA ---------- */
.cta { padding: 0 0 var(--section); }
.cta__box {
  position: relative;
  border-radius: var(--r-card);
  background: var(--green);
  padding: 100px 60px;
  overflow: hidden;
  min-height: 560px;
  display: grid;
  align-content: space-between;
}
.cta__title { position: relative; z-index: 2; max-width: 900px; }
.cta__row { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: 60px; }
.cta__row p { max-width: 420px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cta__dots { position: absolute; right: -60px; top: -60px; width: 520px; height: 520px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 0; z-index: 1; }
.cta__dots i { width: 26px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); justify-self: center; align-self: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 100px 0 30px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--green); margin-bottom: 20px; }
.footer ul { display: grid; gap: 10px; font-size: 15px; }
.footer a { transition: color .3s; }
.footer a:hover { color: var(--green); }
.footer__lead { font-size: 20px; max-width: 360px; line-height: 1.3; }
.footer__lead + .pill { margin-top: 30px; --bg: var(--green); --fg: var(--ink); }
.footer__lead + .pill::before { background: var(--paper); }
.footer__word {
  margin-top: 100px;
  font-size: clamp(90px, 25vw, 380px);
  line-height: .8;
  color: var(--green);
  display: flex;
  justify-content: space-between;
  overflow: hidden;
}
.footer__word span { display: inline-block; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 30px; margin-top: 30px; border-top: 1px solid #333; font-size: 12px; color: #999; }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 999;
  display: grid;
  place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background-color .3s;
}
.cursor span { font-family: var(--font-display); font-stretch: 115%; font-size: 11px; letter-spacing: .04em; color: var(--ink); opacity: 0; transition: opacity .3s; text-transform: uppercase; }
.cursor.is-view { width: 96px; height: 96px; margin: -48px 0 0 -48px; background: var(--green); }
.cursor.is-view span { opacity: 1; }
.cursor.is-hover { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(68, 217, 145, .55); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- Reveal defaults (JS sets initial states; keep visible if no JS) ---------- */
.no-js .loader { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta .pill--ghost { display: none; }
  .hero__panel { padding: 120px 40px 40px; }
  .hero__scroll { right: 40px; top: 100px; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --gutter: 20px; --section: 90px; }
  .hero { grid-template-columns: 1fr; grid-template-rows: 44% 56%; height: auto; min-height: 100svh; }
  .hero__panel { padding: 30px 20px 30px; }
  .hero__title { margin: 24px 0 24px; }
  .hero__badge { left: auto; right: 20px; top: 44%; width: 104px; height: 104px; margin-top: -52px; }
  .hero__badge b { font-size: 26px; }
  .hero__scroll { display: none; }
  .hero__dots i { width: 18px; }
  .manifesto { padding: 110px 0 90px; }
  .manifesto__grid { grid-template-columns: 1fr; gap: 24px; }
  .manifesto__meta { padding-left: 0; gap: 24px; margin-top: 40px; }
  .acts__pin { height: auto; padding: 90px 0; }
  .acts__head { flex-direction: column; align-items: flex-start; padding: 0 20px; }
  .acts__progress { display: none; }
  .acts__track { width: auto; flex-direction: column; padding: 0 20px; }
  .act, .act--intro { width: 100%; height: auto; }
  .act__top { min-height: 280px; }
  .act--intro { display: none; }
  .stats__grid, .resto__grid, .path__head, .publics__grid { grid-template-columns: 1fr; gap: 40px; }
  .stats__intro { position: static; }
  .stair { width: calc(100% - 60px); min-height: 140px; }
  .stair:nth-child(2) { margin-left: 15px; }
  .stair:nth-child(3) { margin-left: 30px; }
  .stair:nth-child(4) { margin-left: 45px; }
  .stair:nth-child(5) { margin-left: 60px; }
  .resto__price { width: 100px; height: 100px; }
  .resto__price b { font-size: 32px; }
  .step { grid-template-columns: 50px 1fr 30px; gap: 16px; padding: 26px 0; }
  .step__d { grid-column: 2 / 3; }
  .step__dot { grid-row: 1; grid-column: 3; }
  .news__grid { grid-template-columns: 1fr; }
  .news__head { flex-wrap: wrap; }
  .publics__goals { grid-template-columns: 1fr; }
  .cta__box { padding: 60px 24px; min-height: 0; }
  .cta__dots { width: 300px; height: 300px; right: -80px; top: -80px; }
  .cta__dots i { width: 16px; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .team__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .logo__sub { display: none; }
  .nav__cta > .pill { display: none; }
  .pill { padding: 13px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .manifesto__text .word { color: var(--ink); }
}

/* ==========================================================================
   INNER PAGES
   ========================================================================== */

/* ---------- Page transition curtain ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 950;
  pointer-events: none;
  display: grid;
  place-items: center;
}
.curtain__panel { position: absolute; inset: 0; background: var(--green); }
.curtain__panel--ink { background: var(--ink); }
.curtain__mark { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; width: 72px; height: 72px; }
.curtain__mark i { display: block; border-radius: 50%; background: var(--ink); }
.curtain__mark i:nth-child(2), .curtain__mark i:nth-child(3) { border-radius: 8px; }
.no-js .curtain { display: none; }
.curtain.is-off { visibility: hidden; }

/* ---------- Page hero ---------- */
.phero {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 92vh;
  min-height: 92svh;
  background: var(--paper);
  overflow: hidden;
}
.phero__panel {
  position: relative;
  background: var(--c, var(--green));
  padding: 160px 60px 60px max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}
.phero__panel.is-ink { color: var(--paper); }
.crumbs { display: flex; gap: 10px; align-items: center; }
.crumbs a { opacity: .6; transition: opacity .3s; }
.crumbs a:hover { opacity: 1; }
.crumbs i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.phero__title { margin: 30px 0 0; }
.phero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.phero__foot .lead { max-width: 460px; }
.phero__media { position: relative; overflow: hidden; }
.phero__media img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; }
.phero__index {
  position: absolute;
  right: 30px; bottom: 30px;
  z-index: 2;
  background: var(--paper);
  border-radius: var(--r-pill);
  padding: 12px 18px;
}

/* ---------- Two-column text block ---------- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 80px; align-items: start; }
.split__aside { position: sticky; top: 120px; }
.split__aside h2 { margin-top: 24px; }
.prose { display: grid; gap: 24px; font-size: 18px; line-height: 1.5; }
.prose p.big { font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: .011em; }

/* ---------- Quote ---------- */
.quote { background: var(--ink); color: var(--paper); text-align: center; }
.quote blockquote { max-width: 1100px; margin: 0 auto; }
.quote .display { font-size: clamp(30px, 4.4vw, 64px); }
.quote .display .word { color: rgba(255,255,255,.15); }
.quote cite { display: block; margin-top: 40px; font-style: normal; color: var(--green); }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 80px; }
.timeline__rail { position: absolute; left: 220px; top: 0; bottom: 0; width: 1px; background: rgba(0,0,0,.12); }
.timeline__rail span { position: absolute; inset: 0; background: var(--ink); transform-origin: top; transform: scaleY(0); }
.tl-item { display: grid; grid-template-columns: 220px 1fr 1fr; gap: 0 60px; padding: 0 0 100px; position: relative; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item__year { font-size: clamp(28px, 2.8vw, 42px); padding-right: 30px; line-height: 1.05; }
.tl-item__dot { position: absolute; left: 209px; top: 8px; width: 23px; height: 23px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); transition: background-color .5s; z-index: 1; }
.tl-item.is-active .tl-item__dot { background: var(--c, var(--green)); box-shadow: none; }
.tl-item__body { padding-left: 30px; display: grid; gap: 14px; align-content: start; }
.tl-item__body h3 { font-size: 22px; }
.tl-item__img { border-radius: var(--r-card); overflow: hidden; aspect-ratio: 4 / 3; background: var(--c, var(--green)); }
.tl-item__img img { width: 100%; height: 100%; object-fit: cover; }
.tl-item__img.is-circle { border-radius: 50%; aspect-ratio: 1; width: 70%; justify-self: center; }

/* ---------- Mission objectives grid ---------- */
.objectives { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 60px; }
.objective { border-radius: var(--r-card); padding: 20px; min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; background: var(--c, var(--mint)); }
.objective__n { font-size: 48px; }
.objective p { font-size: 16px; }

/* ---------- Board members ---------- */
.board { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 60px; }
.bm {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--mint);
  padding: 20px;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.bm::before {
  content: '';
  position: absolute;
  left: 50%; top: 42%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c, var(--green));
  transform: translate(-50%, -50%) scale(0);
  transition: transform .9s var(--ease);
  z-index: -1;
}
.bm:hover::before { transform: translate(-50%, -50%) scale(90); }
.bm__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bm__avatar {
  width: 150px; height: 150px;
  border-radius: 50%;
  background: var(--c, var(--green));
  display: grid; place-items: center;
  font-size: 48px;
  margin: 30px auto;
  transition: background-color .5s, color .5s, transform .9s var(--ease);
}
.bm:hover .bm__avatar { background: var(--ink); color: var(--paper); transform: rotate(-12deg) scale(1.05); }
.bm__name { font-size: 22px; }
.bm__role { color: var(--ink); margin-top: 8px; }
.bm__desc { font-size: 14px; margin-top: 14px; max-width: 320px; }

.org { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 60px; position: relative; }
.org__node { border-radius: var(--r-card); padding: 20px; min-height: 200px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.org__node:nth-child(1) { background: var(--green); box-shadow: none; }
.org__node:nth-child(2) { background: var(--blue); box-shadow: none; margin-top: 30px; }
.org__node:nth-child(3) { background: var(--mint); box-shadow: none; margin-top: 60px; }
.org__node:nth-child(4) { margin-top: 90px; }
.org__node h3 { font-size: 22px; }
.org__node p { font-size: 14px; }

/* ---------- Big facts (recrutement) ---------- */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.fact { border-radius: var(--r-card); padding: 20px; background: var(--c, var(--mint)); min-height: 240px; display: flex; flex-direction: column; justify-content: space-between; }
.fact__num { font-size: clamp(44px, 5vw, 78px); }
.fact p { font-size: 15px; }

/* ---------- Steps (numbered cards) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-top: 60px; counter-reset: s; }
.sc { position: relative; padding: 20px; border-radius: var(--r-card); box-shadow: inset 0 0 0 1px var(--ink); min-height: 320px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; background: var(--paper); }
.sc__n { width: 64px; height: 64px; border-radius: 50%; background: var(--c, var(--green)); display: grid; place-items: center; font-size: 22px; transition: transform .8s var(--ease); }
.sc:hover .sc__n { transform: scale(6); }
.sc h3, .sc p, .sc a { position: relative; z-index: 1; }
.sc h3 { font-size: 22px; margin-bottom: 10px; }
.sc p { font-size: 14px; }
.sc a.pill { margin-top: 16px; align-self: flex-start; padding: 10px 20px; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--ink); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 28px 0;
  font-size: clamp(18px, 1.8vw, 24px);
}
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); transition: background-color .4s, transform .6s var(--ease); }
.faq .plus::before, .faq .plus::after { content: ''; position: absolute; left: 14px; right: 14px; top: 21.5px; height: 1.5px; background: var(--paper); transition: transform .5s var(--ease); }
.faq .plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--green); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--ink); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq__a { overflow: hidden; }
.faq__a > div { padding: 0 80px 30px 0; font-size: 16px; line-height: 1.5; max-width: 820px; display: grid; gap: 12px; }

/* ---------- Menu (restaurant) ---------- */
.menu-list { border-top: 1px solid var(--ink); }
.dish {
  position: relative;
  display: grid;
  grid-template-columns: 80px 1.3fr 1fr 120px;
  gap: 30px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--ink);
}
.dish__n { font-size: 14px; }
.dish__name { font-size: clamp(24px, 2.5vw, 38px); overflow-wrap: anywhere; transition: transform .6s var(--ease); }
.dish:hover .dish__name { transform: translateX(16px); }
.dish__desc { font-size: 15px; }
.dish__tag { justify-self: end; padding: 7px 10px; border-radius: var(--r-badge); background: var(--c, var(--mint)); }
.dish-preview {
  position: fixed;
  top: 0; left: 0;
  width: 280px; height: 280px;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 80;
  opacity: 0;
  transform: scale(.4);
  background: var(--blue);
}
.dish-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.dish-preview img.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) { .dish-preview { display: none; } }

.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.offer { border-radius: var(--r-card); overflow: hidden; display: flex; flex-direction: column; background: var(--paper); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.offer__top { background: var(--c, var(--blue)); aspect-ratio: 1 / .8; display: grid; place-items: center; position: relative; overflow: hidden; }
.offer__circle { width: 66%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; transition: transform .9s var(--ease); }
.offer:hover .offer__circle { transform: scale(1.08) rotate(-4deg); }
.offer__circle img { width: 100%; height: 100%; object-fit: cover; }
.offer__badge { position: absolute; top: 20px; left: 20px; background: var(--paper); padding: 7px 10px; border-radius: var(--r-badge); }
.offer__body { padding: 20px; display: grid; gap: 10px; flex: 1; align-content: start; }
.offer__body h3 { font-size: 22px; }
.offer__body p { font-size: 14px; }
.offer__body .pill { justify-self: start; padding: 10px 20px; margin-top: 8px; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gap); align-items: center; }
.gallery figure { border-radius: var(--r-card); overflow: hidden; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-column: 1 / 6; aspect-ratio: 4 / 5; }
.gallery .g2 { grid-column: 6 / 9; aspect-ratio: 1; border-radius: 50%; }
.gallery .g3 { grid-column: 9 / 13; aspect-ratio: 3 / 4; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 80px; align-items: start; }
.cinfo { display: grid; gap: var(--gap); }
.cinfo__card { position: relative; display: grid; gap: 8px; padding: 20px; border-radius: var(--r-card); background: var(--c, var(--mint)); overflow: hidden; transition: transform .6s var(--ease); }
.cinfo__card:hover { transform: translateY(-4px); }
.cinfo__card strong { font-family: var(--font-display); font-stretch: 115%; font-weight: 600; font-size: clamp(17px, 1.6vw, 24px); letter-spacing: .04em; line-height: 1.15; overflow-wrap: anywhere; padding-right: 56px; }
.cinfo__card .arrow-c { position: absolute; right: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .6s var(--ease); }
.cinfo__card:hover .arrow-c { transform: rotate(-45deg); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.field { position: relative; display: grid; gap: 10px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--steel); }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 0 14px;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 140px; resize: vertical; }
.field::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .6s var(--ease);
}
.field:focus-within::after { transform: scaleX(1); }
.subjects { display: flex; flex-wrap: wrap; gap: 10px; }
.subjects input { position: absolute; opacity: 0; pointer-events: none; }
.subjects label {
  cursor: pointer;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1px var(--ink);
  font-size: 14px;
  text-transform: uppercase;
  color: var(--ink);
  transition: background-color .3s, color .3s;
}
.subjects input:checked + label { background: var(--ink); color: var(--paper); }
.subjects input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 2px; }
.form__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.form__foot small { color: var(--steel); max-width: 380px; }
.form__status { grid-column: 1 / -1; padding: 16px 20px; border-radius: var(--r-card); background: var(--green); display: none; }
.form__status.is-on { display: block; }

.map-card {
  position: relative;
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--green);
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 30px;
}
.map-card__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,0,0,.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.12) 1px, transparent 1px);
  background-size: 56px 56px;
}
.map-card__road { position: absolute; background: var(--paper); }
.map-card__road.r1 { left: -10%; right: -10%; top: 38%; height: 26px; transform: rotate(-8deg); }
.map-card__road.r2 { top: -10%; bottom: -10%; left: 58%; width: 20px; transform: rotate(14deg); }
.map-card__pin {
  position: absolute;
  left: 58%; top: 38%;
  width: 84px; height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: var(--ink);
  display: grid; place-items: center;
  z-index: 2;
}
.map-card__pin::after { content: ''; width: 18px; height: 18px; border-radius: 50%; background: var(--green); }
.map-card__pulse { position: absolute; left: 58%; top: 38%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--ink); z-index: 1; }
.map-card__info { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; background: var(--paper); border-radius: var(--r-card); padding: 20px; }

/* ---------- Banner link (next page) ---------- */
.next {
  display: block;
  background: var(--c, var(--green));
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}
.next__row { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.next__title { font-size: clamp(48px, 9vw, 140px); transition: transform .8s var(--ease); }
.next:hover .next__title { transform: translateX(20px); }
.next__circle { flex: none; width: clamp(80px, 10vw, 140px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; transition: transform .8s var(--ease); }
.next__circle svg { width: 34%; height: 34%; }
.next:hover .next__circle { transform: rotate(-45deg) scale(1.08); }

/* ---------- Inner responsive ---------- */
@media (max-width: 1100px) {
  .objectives, .steps, .facts { grid-template-columns: repeat(2, 1fr); }
  .board { grid-template-columns: repeat(2, 1fr); }
  .org { grid-template-columns: repeat(2, 1fr); }
  .org__node:nth-child(n) { margin-top: 0; }
}
@media (max-width: 900px) {
  .phero { grid-template-columns: 1fr; grid-template-rows: auto 46vh; min-height: 0; }
  .phero__panel { padding: 110px 20px 40px; }
  .phero__media { min-height: 46vh; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split__aside { position: static; }
  .timeline__rail { left: 11px; }
  .tl-item { grid-template-columns: 1fr; gap: 20px; padding: 0 0 70px 50px; }
  .tl-item__dot { left: 0; }
  .tl-item__body { padding-left: 0; }
  .tl-item__year { padding: 0; }
  .tl-item__img.is-circle { width: 60%; justify-self: start; }
  .objectives, .steps, .facts, .board, .offers, .org { grid-template-columns: 1fr; }
  .objective, .sc, .fact { min-height: 0; gap: 30px; }
  .bm { min-height: 0; }
  .dish { grid-template-columns: 40px 1fr; gap: 10px 16px; }
  .dish__desc { grid-column: 2; }
  .dish__tag { grid-column: 2; justify-self: start; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g1 { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
  .gallery .g2, .gallery .g3 { grid-column: auto; }
  .faq__a > div { padding-right: 0; }
  .form { grid-template-columns: 1fr; }
  .next { padding: 70px 0; }
}

@media (max-width: 520px) { .dish__name { font-size: 21px; } .next__title { font-size: 44px; } }
@media (max-width: 520px) { .next__row { flex-direction: column; align-items: flex-start; } .next__title { font-size: 9vw; } .step__t { font-size: 19px; } .tl-item__img img { max-width: none; } }
