/* ==========================================================================
   ANCRÉAL — Feuille de style principale
   Identité : bleu du logo #1B3A5B + accent « grès des Vosges »,
   fond blanc / pierre, typographie grotesque, angles nets.
   ========================================================================== */

/* Polices auto-hébergées (licence SIL Open Font License) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-latin-500-normal.woff2") format("woff2"); }

:root {
  --brand: #1b3a5b;          /* bleu du logo */
  --brand-dark: #10263d;
  --gres: #a8432d;           /* grès rouge des Vosges */
  --gres-dark: #8c3523;
  --gres-light: #f5e9e4;
  --ink: #15191e;
  --text: #3b424a;
  --muted: #6a727b;
  --line: #e2dfd9;
  --stone: #f2efe9;
  --paper: #ffffff;
  --success: #2e6e4f;

  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Public Sans", "Helvetica Neue", Arial, sans-serif;
  --font-brand: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 2px;
  --container: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--ink); margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
em { font-style: normal; }
:focus-visible { outline: 3px solid var(--gres); outline-offset: 3px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.section--cream { background: var(--stone); }
.section--navy { background: var(--brand); color: #c5d1de; }
.section--navy h2, .section--navy h3, .section--navy h4 { color: #fff; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 1000; }
.skip-link:focus { left: 8px; }

/* ---------- Typo utilitaires ---------- */
.eyebrow {
  display: block; font-family: var(--font-head); font-size: 13px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--gres); margin-bottom: 16px;
}
.section--navy .eyebrow, .hero .eyebrow, .ambition .eyebrow { color: #fff; opacity: .7; }
.title { font-weight: 700; font-size: clamp(34px, 4.4vw, 58px); }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--muted); max-width: 680px; }
.section--navy .lead { color: #b3c1d0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; }
.section-head--row .lead { margin: 0; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 16px 26px; border-radius: var(--radius); border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: background .25s, color .25s, border-color .25s; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--gold { background: var(--gres); color: #fff; }
.btn--gold:hover { background: var(--gres-dark); }
.btn--navy { background: var(--brand); color: #fff; }
.btn--navy:hover { background: var(--brand-dark); }
.btn--ghost { border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }

/* ---------- Barre utilitaire + en-tête ---------- */
.topbar { background: var(--ink); color: #b9bfc6; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 24px; }

.header { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(0, 0, 0, .18); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--brand); }
.brand__mark { width: 42px; height: 38px; background: url("../img/logo-mark.svg") center/contain no-repeat; }
.brand__name { font-family: var(--font-brand); font-weight: 500; font-size: 21px; letter-spacing: .32em; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  font-family: var(--font-head); font-size: 15px; font-weight: 600; color: var(--ink);
  position: relative; padding: 30px 0; white-space: nowrap;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gres); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.header .btn { padding: 12px 20px; font-size: 14px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: all .3s var(--ease); }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.nav-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - 122px); min-height: calc(100svh - 122px); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; overflow: hidden; background: #2b3036; }
.hero__media { position: absolute; inset: 0; }
.hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity 1.6s ease, transform 9s linear; }
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-ready { opacity: 1; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 15, 19, .85) 0%, rgba(12, 15, 19, .45) 45%, rgba(12, 15, 19, .15) 100%); }
.hero__content { position: relative; z-index: 2; padding-top: 120px; padding-bottom: 56px; max-width: 900px; }
.hero__badge { font-family: var(--font-head); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero__badge b { background: var(--gres); color: #fff; padding: 5px 10px; font-size: 12px; letter-spacing: .1em; }
.hero h1 { color: #fff; font-weight: 800; font-size: clamp(46px, 7vw, 100px); line-height: .98; letter-spacing: -.035em; margin-bottom: 24px; }
.hero__text { font-size: clamp(18px, 1.6vw, 21px); color: #e4e7ea; max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Accès rapide par profil */
.quick { position: relative; z-index: 3; background: #fff; }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-left: 1px solid var(--line); }
.quick__item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .25s; }
.quick__item small { display: block; font-size: 13px; color: var(--muted); }
.quick__item strong { font-family: var(--font-head); font-size: 18px; color: var(--ink); }
.quick__item svg { width: 22px; height: 22px; color: var(--gres); flex: 0 0 22px; transition: transform .3s var(--ease); }
.quick__item:hover { background: var(--stone); }
.quick__item:hover svg { transform: translateX(4px); }

/* ---------- Chiffres ---------- */
.figures { padding: clamp(64px, 8vw, 100px) 0 0; }
.figures__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 36px; flex-wrap: wrap; }
.figures__head h2 { font-size: clamp(28px, 3vw, 40px); margin: 0; max-width: 640px; }
.figures__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.figure { padding: 30px 28px 10px 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure__num { font-family: var(--font-head); font-size: clamp(44px, 4.6vw, 68px); font-weight: 800; color: var(--ink); line-height: 1; letter-spacing: -.03em; margin-bottom: 14px; }
.figure__num small { font-size: .5em; font-weight: 700; }
.figure__label { font-size: 16px; color: var(--text); line-height: 1.45; margin-bottom: 10px; }
.figure__src { font-size: 12.5px; color: var(--muted); }
.figure--accent .figure__num { color: var(--gres); }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.split__media { position: relative; }
.photo { position: relative; overflow: hidden; background: #c9c4bb; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.photo:hover img { transform: scale(1.03); }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.photo--small { position: absolute; width: 44%; aspect-ratio: 1; right: -6%; bottom: -8%; border: 10px solid #fff; }
.split__stamp { position: absolute; left: 0; top: 0; background: var(--gres); color: #fff; padding: 24px 26px; max-width: 240px; }
.split__stamp strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: 44px; line-height: 1; margin-bottom: 6px; }
.split__stamp span { font-size: 14px; line-height: 1.4; display: block; }
.chain { display: grid; grid-template-columns: repeat(3, 1fr); margin: 30px 0 34px; border: 1px solid var(--line); }
.chain__item { padding: 16px 14px; font-family: var(--font-head); font-weight: 700; font-size: 15px; color: var(--ink); }
.chain__item:not(:first-of-type) { border-left: 1px solid var(--line); }
.chain__item:last-child { background: var(--brand); color: #fff; }
.chain__arrow { display: none; }
.checklist { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist svg { flex: 0 0 22px; width: 22px; height: 22px; color: var(--gres); margin-top: 3px; }

/* ---------- Modèle : étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.step { position: relative; padding: 36px 32px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.step:hover { background: #fbfaf8; }
.step__num { font-family: var(--font-head); font-size: 15px; font-weight: 700; color: var(--gres); margin-bottom: 26px; letter-spacing: .04em; }
.step h3 { font-size: 22px; font-weight: 700; }
.step p { font-size: 16px; margin: 0; }
.step__icon { position: absolute; right: 30px; top: 30px; color: var(--brand); }
.step__icon svg { width: 30px; height: 30px; }
.loop-note { display: flex; gap: 22px; align-items: center; padding: 28px 32px; background: var(--brand); color: #d0dae5; }
.loop-note svg { flex: 0 0 34px; width: 34px; height: 34px; color: #fff; }
.loop-note strong { color: #fff; }

/* ---------- Opération type ---------- */
.op { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.op__card { border-top: 2px solid #fff; }
.op__row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.op__row span { color: #c5d1de; font-size: 16px; }
.op__row strong { color: #fff; font-family: var(--font-head); font-size: 30px; font-weight: 800; white-space: nowrap; letter-spacing: -.02em; }
.op__note { font-size: 13px; color: #95a7ba; margin-top: 18px; }

/* ---------- Écosystème ---------- */
.eco { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.eco__card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); }
.eco__img { aspect-ratio: 4 / 3; background: #c9c4bb; overflow: hidden; }
.eco__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.eco__card:hover .eco__img img { transform: scale(1.04); }
.eco__body { padding: 28px 28px 32px; }
.eco__tag { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gres); margin-bottom: 8px; display: block; }
.eco__card h3 { font-size: 26px; font-weight: 700; margin-bottom: 8px; }
.eco__card p { font-size: 16px; margin: 0; }

/* ---------- Engagements ESS ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); background: #fff; }
.pillar { padding: 38px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pillar__icon { color: var(--brand); margin-bottom: 22px; }
.pillar__icon svg { width: 32px; height: 32px; }
.pillar h3 { font-size: 21px; font-weight: 700; }
.pillar p { font-size: 16px; margin: 0; }
.pillar__ref { display: block; margin-top: 16px; font-size: 13px; color: var(--muted); }

.labels { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border: 1px solid var(--line); background: #fff; }
.label-card { padding: 28px 30px; display: flex; flex-direction: column; gap: 12px; }
.label-card + .label-card { border-left: 1px solid var(--line); }
.label-card__status { align-self: flex-start; font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; }
.status--now { background: #e2efe8; color: var(--success); }
.status--next { background: var(--gres-light); color: var(--gres-dark); }
.status--later { background: #e5ebf1; color: var(--brand); }
.label-card h4 { font-size: 20px; margin-bottom: 4px; }
.label-card p { font-size: 15px; margin: 0; color: var(--muted); }

/* ---------- Ambition ---------- */
.ambition { position: relative; overflow: hidden; color: #fff; background: var(--ink); }
.ambition__bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.ambition::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14, 18, 23, .78); }
.ambition .container { position: relative; z-index: 2; }
.ambition .title { color: #fff; max-width: 900px; }
.ambition .lead { color: #d3d8dd; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 2px solid #fff; }
.kpi { padding: 28px 24px 0 0; }
.kpi + .kpi { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.2); }
.kpi__num { font-family: var(--font-head); font-size: clamp(54px, 6vw, 88px); line-height: 1; color: #fff; font-weight: 800; letter-spacing: -.04em; }
.kpi p { color: #d3d8dd; font-size: 16px; margin: 14px 0 0; }
.disclaimer { margin-top: 44px; font-size: 13px; color: #a3abb3; max-width: 780px; }

/* ---------- Feuille de route ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 2px solid var(--ink); }
.tl { position: relative; padding: 30px 22px 0 0; }
.tl + .tl { padding-left: 22px; border-left: 1px solid var(--line); }
.tl::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--ink); }
.tl + .tl::before { left: 22px; }
.tl.is-current::before { background: var(--gres); }
.tl__when { font-family: var(--font-head); font-size: 14px; font-weight: 700; color: var(--gres); }
.tl h4 { font-size: 19px; margin: 8px 0 8px; }
.tl p { font-size: 15px; margin: 0; }

/* ---------- Partenaires ---------- */
.tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.tab { border: 0; background: transparent; color: var(--muted); padding: 18px 22px; font-family: var(--font-head); font-size: 16px; font-weight: 600; position: relative; transition: color .25s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--gres); transform: scaleX(0); transition: transform .3s var(--ease); }
.tab:hover, .tab[aria-selected="true"] { color: var(--ink); }
.tab[aria-selected="true"]::after { transform: scaleX(1); }
.panel { display: none; grid-template-columns: 1fr 1fr; background: var(--stone); margin-top: 32px; }
.panel.is-active { display: grid; animation: fadeUp .5s var(--ease); }
.panel__media { min-height: 460px; background: #c9c4bb; position: relative; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: clamp(30px, 4.5vw, 60px); display: flex; flex-direction: column; justify-content: center; }
.panel__body h3 { font-size: clamp(28px, 2.8vw, 38px); font-weight: 700; }
.panel__body .checklist { margin-bottom: 30px; }
.panel__body .btn { align-self: flex-start; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.founders-circle { margin-top: 32px; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 44px 48px; background: var(--brand); color: #d0dae5; }
.founders-circle .eyebrow { color: #fff; opacity: .7; }
.founders-circle h3 { color: #fff; font-size: clamp(26px, 2.6vw, 34px); font-weight: 700; margin-bottom: 8px; }
.founders-circle p { margin: 0; max-width: 720px; }
.seats { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.seat { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; font-family: var(--font-head); font-size: 13px; color: #fff; font-weight: 600; }

/* ---------- Fondateur ---------- */
.founder { display: grid; grid-template-columns: 380px 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.founder__portrait { aspect-ratio: 4 / 5; background: var(--brand); display: grid; place-items: center; position: relative; overflow: hidden; }
.founder__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.founder__initials { font-family: var(--font-head); font-weight: 800; font-size: 120px; color: #fff; letter-spacing: -.04em; }
.founder blockquote { margin: 0 0 30px; font-family: var(--font-head); font-weight: 600; font-size: clamp(24px, 2.5vw, 34px); line-height: 1.3; color: var(--ink); letter-spacing: -.015em; padding-left: 28px; border-left: 4px solid var(--gres); }
.founder__name { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); }
.founder__role { color: var(--muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); }
.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 26px 50px 26px 0; position: relative; font-family: var(--font-head); font-weight: 600; font-size: 19px; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 30px; font-weight: 400; color: var(--gres); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 40px 26px 0; margin: 0; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 6vw, 90px); }
.contact__info { display: grid; margin-top: 34px; border-top: 1px solid rgba(255,255,255,.2); }
.contact__line { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact__line .ico { color: #fff; flex: 0 0 24px; }
.contact__line .ico svg { width: 24px; height: 24px; }
.contact__line small { display: block; font-size: 13px; color: #95a7ba; }
.contact__line a, .contact__line strong { color: #fff; font-weight: 600; font-size: 18px; }
.form { background: #fff; padding: clamp(26px, 4vw, 48px); color: var(--text); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1px solid #cfcac2; border-radius: var(--radius); padding: 14px 15px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(27, 58, 91, .15); }
.form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); }
.form__consent input { margin-top: 4px; accent-color: var(--brand); }
.form__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 8px; flex-wrap: wrap; }
.form__status { font-size: 14px; color: var(--success); min-height: 1em; }

/* ---------- Pied de page ---------- */
.footer { background: var(--ink); color: #9aa2ab; padding: 80px 0 34px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand { color: #fff; margin-bottom: 20px; }
.footer .brand__mark { background-image: url("../img/logo-mark-white.svg"); }
.footer h5 { color: #fff; font-size: 15px; margin: 0 0 18px; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer__ess { display: inline-block; margin-top: 18px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.25); color: #fff; font-size: 13px; font-weight: 600; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 28px; font-size: 13px; }

/* ---------- Apparition ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; } .reveal[data-delay="4"] { transition-delay: .32s; }

/* Pages légales */
.legal { padding: 90px 0; }
.legal .container { max-width: 860px; }
.legal h1 { font-size: clamp(40px, 5vw, 56px); font-weight: 800; }
.legal h2 { font-size: 22px; margin-top: 40px; }
.legal .todo { background: var(--gres-light); padding: 2px 6px; color: var(--gres-dark); font-weight: 600; }

.figure__num, .kpi__num, .op__row strong, .split__stamp strong { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Guides (pages de contenu) ---------- */
.guide { padding: clamp(60px, 8vw, 110px) 0; }
.guide .container { max-width: 860px; }
.guide h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.02em; margin: 64px 0 18px; }
.guide h2:first-child { margin-top: 0; }
.guide h3 { font-size: 21px; margin: 34px 0 10px; }
.guide p, .guide li { font-size: 18px; line-height: 1.7; }
.guide ul, .guide ol { padding-left: 1.2em; margin: 0 0 22px; }
.guide li { margin-bottom: 8px; }
.guide a:not(.btn) { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.guide .summary { background: var(--stone); border-left: 4px solid var(--gres); padding: 26px 30px; margin-bottom: 48px; }
.guide .summary p { margin: 0; }
.guide .note { background: var(--gres-light); padding: 20px 24px; margin: 28px 0; font-size: 16px; }
.guide .note p { font-size: 16px; margin: 0; }
.guide .compare-wrap { margin: 26px 0 34px; }
.guide .compare td:first-child { width: 30%; }
.guide__cta { margin-top: 56px; padding: 36px; background: var(--brand); color: #fff; }
.guide__cta h2 { color: #fff; margin: 0 0 12px; font-size: clamp(24px, 2.6vw, 32px); }
.guide__cta p { color: #d3dbe4; }
.guide__cta .btn { margin-top: 10px; }
.guide__related { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.guide__related ul { list-style: none; padding: 0; }
.guide .faq summary { font-size: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav__links { gap: 20px; }
  .nav__links a { font-size: 14px; }
}
@media (max-width: 1080px) {
  .figures__grid, .kpis { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3), .kpi:nth-child(3) { padding-left: 0; border-left: 0; }
  .quick__grid { grid-template-columns: repeat(2, 1fr); }
  .steps, .pillars, .eco { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .tl, .tl + .tl { padding: 0 0 30px 30px; border-left: 0; }
  .tl::before, .tl + .tl::before { top: 6px; left: -7px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .topbar__links { display: none; }
  .burger { display: block; z-index: 2; }
  .nav { position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: #fff; flex-direction: column; justify-content: flex-start; align-items: stretch; gap: 24px; padding: 24px var(--gutter); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; overflow-y: auto; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav__links { flex-direction: column; gap: 0; }
  .nav__links a { display: block; padding: 18px 0; font-size: 20px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .split, .op, .founder, .contact, .panel, .faq-wrap, .section-head--row { grid-template-columns: 1fr; }
  .labels { grid-template-columns: 1fr; }
  .label-card + .label-card { border-left: 0; border-top: 1px solid var(--line); }
  .founder { max-width: 600px; }
  .founder__portrait { max-width: 360px; }
  .founders-circle { grid-template-columns: 1fr; }
  .panel__media { min-height: 280px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .header__inner { height: 72px; }
  .nav { top: 72px; }
  .hero { min-height: calc(100svh - 110px); }
  .brand__name { font-size: 18px; }
  .figures__grid, .steps, .pillars, .eco, .kpis, .form__grid, .footer__grid, .quick__grid { grid-template-columns: 1fr; }
  .figure, .figure + .figure, .kpi, .kpi + .kpi { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
  .kpi, .kpi + .kpi { border-bottom-color: rgba(255,255,255,.2); }
  .quick__grid { border-left: 0; }
  .quick__item { padding: 20px 0; border-right: 0; }
  .hero__actions .btn { width: 100%; }
  .chain { grid-template-columns: 1fr; }
  .chain__item:not(:first-of-type) { border-left: 0; border-top: 1px solid var(--line); }
  .op__row strong { font-size: 22px; }
  .photo--small { display: none; }
  .loop-note { flex-direction: column; align-items: flex-start; }
  .tab { padding: 14px 12px; font-size: 14px; }
  .founders-circle { padding: 32px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   COMPOSANTS AVANCÉS — version multi-pages
   ========================================================================== */

/* Défilement fluide (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

/* Transition de page */
.page-veil { position: fixed; inset: 0; z-index: 999; background: var(--brand); transform: scaleY(0); transform-origin: bottom; pointer-events: none; }
.page-veil.is-leaving { transform: scaleY(1); transition: transform .5s cubic-bezier(.7,0,.3,1); }
.page-veil__mark { position: absolute; left: 50%; top: 50%; width: 64px; height: 58px; transform: translate(-50%,-50%); background: url("../img/logo-mark-white.svg") center/contain no-repeat; opacity: 0; transition: opacity .2s .25s; }
.page-veil.is-leaving .page-veil__mark { opacity: 1; }

/* Titres animés (SplitText) */
.split-line { overflow: hidden; display: block; padding-bottom: .04em; }

/* Révélation d'image */
.js .img-reveal { clip-path: inset(0 0 100% 0); }
.js .img-reveal.is-in { clip-path: inset(0 0 0 0); transition: clip-path 1.3s cubic-bezier(.7,0,.2,1); }
.no-js .img-reveal { clip-path: none; }

/* Navigation : lien actif de page */
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* En-tête de page interne */
.page-hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.page-hero__media { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(12,15,19,.88) 0%, rgba(12,15,19,.55) 60%, rgba(12,15,19,.3) 100%); }
.page-hero .container { position: relative; z-index: 2; padding-top: clamp(90px, 12vw, 170px); padding-bottom: clamp(60px, 7vw, 100px); }
.page-hero h1 { color: #fff; font-weight: 800; font-size: clamp(44px, 6.4vw, 92px); line-height: 1; letter-spacing: -.035em; max-width: 1000px; margin-bottom: 24px; }
.page-hero p { font-size: clamp(18px, 1.6vw, 22px); color: #dde2e7; max-width: 680px; margin: 0; }
.crumbs { display: flex; gap: 10px; font-size: 14px; color: #b9c0c8; margin-bottom: 28px; font-family: var(--font-head); font-weight: 500; }
.crumbs a:hover { color: #fff; }
.crumbs span[aria-hidden] { opacity: .5; }

/* Sommaire de page (ancre) */
.subnav { position: sticky; top: 84px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.subnav ul { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.subnav a { display: block; padding: 18px 0; font-family: var(--font-head); font-weight: 600; font-size: 15px; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.subnav a:hover, .subnav a.is-active { color: var(--ink); border-bottom-color: var(--gres); }

/* Bandeau défilant de valeurs */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; padding: 26px 0; }
.marquee__track { display: flex; gap: 60px; width: max-content; animation: marquee 38s linear infinite; }
.marquee__item { font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 4vw, 56px); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; display: flex; align-items: center; gap: 60px; }
.marquee__item::after { content: ""; width: 14px; height: 14px; background: var(--gres); }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Histoire épinglée (étapes du modèle) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.story__visual { position: sticky; top: 130px; aspect-ratio: 4 / 5; overflow: hidden; background: #c9c4bb; }
.story__img { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transform: scale(1.06); transition: opacity .8s ease, transform 1.4s var(--ease); }
.story__img.is-active { opacity: 1; transform: scale(1); }
.story__counter { position: absolute; left: 0; bottom: 0; z-index: 2; background: #fff; padding: 18px 24px; font-family: var(--font-head); font-weight: 800; font-size: 40px; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.story__counter small { font-size: 16px; color: var(--muted); font-weight: 600; }
.story__steps { display: grid; gap: 0; }
.story__step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 40px 0; border-top: 1px solid var(--line); transition: opacity .5s; }
.js .story__step { opacity: .28; }
.js .story__step.is-active { opacity: 1; }
.story__step .step__num { margin-bottom: 18px; }
.story__step h3 { font-size: clamp(30px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; }
.story__step p { font-size: 18px; max-width: 520px; }
.story__step ul { margin: 10px 0 0; padding-left: 20px; color: var(--text); }

/* Bloc d'introduction éditorial */
.intro { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(30px, 6vw, 90px); }
.intro__text { font-family: var(--font-head); font-weight: 600; font-size: clamp(26px, 2.8vw, 40px); line-height: 1.25; letter-spacing: -.02em; color: var(--ink); margin: 0; }
.intro__text .muted { color: #a9a49c; }

/* Cartes de liens vers les pages */
.links-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.link-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 460px; overflow: hidden; color: #fff; background: #2b3036; }
.link-card__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.link-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(12,15,19,.9) 0%, rgba(12,15,19,.2) 60%); }
.link-card:hover .link-card__img { transform: scale(1.05); }
.link-card__body { position: relative; z-index: 2; padding: 32px; }
.link-card__body span { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .75; }
.link-card__body h3 { color: #fff; font-size: 30px; font-weight: 800; margin: 10px 0 14px; }
.link-card__more { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 600; border-bottom: 2px solid var(--gres); padding-bottom: 4px; }
.link-card__more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-card:hover .link-card__more svg { transform: translateX(5px); }

/* Grande citation / manifeste */
.manifesto { background: var(--stone); }
.manifesto__text { font-family: var(--font-head); font-weight: 700; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.12; letter-spacing: -.035em; color: var(--ink); max-width: 1100px; margin: 0; }
.manifesto__text .word { opacity: .15; }
.manifesto__sign { margin-top: 36px; display: flex; align-items: center; gap: 16px; font-family: var(--font-head); font-weight: 600; }
.manifesto__sign::before { content: ""; width: 40px; height: 3px; background: var(--gres); }

/* Bandeau d'appel final */
.cta-band { background: var(--gres); color: #fff; padding: clamp(70px, 9vw, 130px) 0; overflow: hidden; position: relative; }
.cta-band__inner { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; }
.cta-band h2 { color: #fff; font-weight: 800; font-size: clamp(44px, 6.4vw, 96px); line-height: .98; letter-spacing: -.04em; margin: 0; }
.cta-band p { color: #fbe6df; font-size: 19px; }
.cta-band .btn--light { background: #fff; color: var(--ink); }
.cta-band .btn--light:hover { background: var(--ink); color: #fff; }
.cta-band__mark { position: absolute; right: -60px; bottom: -80px; width: 460px; height: 420px; background: url("../img/logo-mark-white.svg") center/contain no-repeat; opacity: .08; pointer-events: none; }

/* Simulateur */
.sim { display: grid; grid-template-columns: 1fr 1fr; background: #fff; border: 1px solid var(--line); }
.sim__controls { padding: clamp(28px, 4vw, 52px); }
.sim__results { padding: clamp(28px, 4vw, 52px); background: var(--brand); color: #d0dae5; display: grid; gap: 26px; align-content: center; }
.sim__amount { font-family: var(--font-head); font-weight: 800; font-size: clamp(48px, 5vw, 72px); color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 18px 0 26px; }
.sim input[type="range"] { width: 100%; accent-color: var(--gres); height: 28px; }
.sim__scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-top: 6px; }
.sim__presets { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 22px; }
.sim__presets button { border: 1px solid var(--line); background: #fff; padding: 9px 14px; font-family: var(--font-head); font-weight: 600; font-size: 14px; color: var(--ink); }
.sim__presets button:hover, .sim__presets button.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }
.sim__res strong { display: block; font-family: var(--font-head); font-weight: 800; font-size: clamp(34px, 3.4vw, 48px); color: #fff; letter-spacing: -.03em; line-height: 1.05; }
.sim__res > span { font-size: 15px; }
.sim__bar { height: 8px; background: rgba(255,255,255,.15); margin-top: 12px; }
.sim__bar i { display: block; height: 100%; width: 0; background: var(--gres); transition: width .4s var(--ease); }
.sim__note { font-size: 12.5px; color: #8fa2b6; margin: 0; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 48px 0; border-bottom: 1px solid rgba(255,255,255,.12); margin-bottom: 60px; }
.newsletter h3 { color: #fff; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; margin: 0 0 6px; letter-spacing: -.03em; }
.newsletter form { display: flex; gap: 0; }
.newsletter input { flex: 1; min-width: 0; font: inherit; padding: 16px 18px; border: 1px solid rgba(255,255,255,.3); border-right: 0; background: transparent; color: #fff; border-radius: 0; }
.newsletter input::placeholder { color: #8a929b; }
.newsletter input:focus { outline: none; border-color: #fff; }
.newsletter small { display: block; margin-top: 10px; font-size: 12.5px; }

/* Gouvernance / équipe */
.gov { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); }
.gov__item { padding: 30px 28px 10px 0; }
.gov__item + .gov__item { padding-left: 28px; border-left: 1px solid var(--line); }
.gov__item h4 { font-size: 21px; }
.gov__role { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gres); margin-bottom: 10px; display: block; }

/* Tableau comparatif */
.compare { width: 100%; border-collapse: collapse; background: #fff; font-size: 16px; }
.compare th, .compare td { text-align: left; padding: 20px 22px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--font-head); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.compare thead th:last-child { color: var(--gres); }
.compare td:first-child { font-family: var(--font-head); font-weight: 700; color: var(--ink); width: 26%; }
.compare td:last-child { background: #fbf6f4; color: var(--ink); font-weight: 500; }
.compare-wrap { overflow-x: auto; }

/* Bloc document (presse / dossier) */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.doc { display: flex; flex-direction: column; gap: 14px; padding: 32px; border: 1px solid var(--line); background: #fff; transition: border-color .25s; }
.doc:hover { border-color: var(--ink); }
.doc__type { font-family: var(--font-head); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gres); }
.doc h4 { font-size: 21px; margin: 0; }
.doc p { font-size: 15px; margin: 0; color: var(--muted); flex: 1; }
.doc__cta { font-family: var(--font-head); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }
.doc__cta svg { width: 18px; height: 18px; }

/* 404 */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.notfound__code { font-family: var(--font-head); font-weight: 800; font-size: clamp(120px, 20vw, 260px); line-height: .9; letter-spacing: -.06em; color: var(--stone); -webkit-text-stroke: 2px var(--ink); }

@media (max-width: 1080px) {
  .links-grid, .docs { grid-template-columns: 1fr 1fr; }
  .gov { grid-template-columns: 1fr; border-top: 0; }
  .gov__item, .gov__item + .gov__item { padding: 24px 0; border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 960px) {
  .story, .intro, .cta-band__inner, .sim, .newsletter { grid-template-columns: 1fr; }
  .story__visual { position: relative; top: 0; aspect-ratio: 16 / 10; }
  .story__step, .js .story__step { min-height: 0; opacity: 1; padding: 32px 0; }
  .subnav { top: 72px; }
}
@media (max-width: 640px) {
  .links-grid, .docs { grid-template-columns: 1fr; }
  .link-card { min-height: 380px; }
  .newsletter form { flex-direction: column; gap: 10px; }
  .newsletter input { border-right: 1px solid rgba(255,255,255,.3); }
  .compare th, .compare td { padding: 14px 12px; font-size: 14px; }
  .marquee__item { gap: 34px; }
  .marquee__track { gap: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .js .img-reveal { clip-path: none; }
  .manifesto__text .word { opacity: 1; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.docs--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .docs--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .docs--4 { grid-template-columns: 1fr; } }
