/* =========================================================
   ECORENOVATION — Feuille de style principale
   Charte : primaire #007461 · secondaire #0a94a8
   ========================================================= */

:root {
  --primary: #007461;
  --primary-600: #00654f;
  --primary-700: #005446;
  --primary-900: #003b32;
  --primary-50: #e8f4f1;
  --primary-100: #cfe8e2;
  --secondary: #0a94a8;
  --secondary-600: #08798a;
  --secondary-50: #e7f5f8;
  --mint: #bff3e6;
  --accent: #e62f44;
  --accent-600: #c4213a;
  --accent-50: #fdecee;

  --ink: #10201d;
  --ink-2: #435653;
  --ink-3: #6b7d7a;
  --line: #e1e8e6;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --bg-dark: #05231f;
  --bg-dark-2: #0a302b;

  --grad: linear-gradient(120deg, var(--primary) 0%, var(--secondary) 100%);
  --grad-dark: linear-gradient(135deg, #032420 0%, #00473c 60%, #06606e 100%);

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(16, 32, 29, .06), 0 2px 8px rgba(16, 32, 29, .04);
  --shadow: 0 10px 30px -12px rgba(0, 59, 50, .22);
  --shadow-lg: 0 30px 60px -20px rgba(0, 59, 50, .35);

  --container: 1240px;
  --header-h: 84px;
  --font-head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
}

*,
*::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: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -.02em;
  font-weight: 800;
}
h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -.01em; }
h4 { font-size: 1.05rem; font-weight: 700; }
:focus-visible { outline: 3px solid var(--secondary); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--grad-dark); color: #d7ebe7; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 70px 0; }
.text-center { text-align: center; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--primary); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- En-têtes de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--mint); }
.section-head { max-width: 760px; margin-bottom: 60px; }
.section-head.text-center { margin-left: auto; margin-right: auto; }
.section-head.text-center .eyebrow::after { content: ""; width: 28px; height: 3px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.section--dark .lead { color: #b9d6d1; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem;
  padding: 15px 28px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
  line-height: 1.2; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 116, 97, .7); }
.btn--primary:hover { background: var(--primary-700); color: #fff; transform: translateY(-2px); }
.btn--secondary { background: var(--secondary); color: #fff; }
.btn--secondary:hover { background: var(--secondary-600); color: #fff; transform: translateY(-2px); }
.btn--ghost { border-color: var(--primary-100); color: var(--primary); background: #fff; }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--light { background: #fff; color: var(--primary-900); }
.btn--light:hover { background: var(--mint); color: var(--primary-900); transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-head); font-weight: 700; }
.link-arrow::after { content: "→"; color: var(--accent); transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--bg-dark); color: #a9c7c2; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 20px; }
.topbar a { color: #d7ebe7; }
.topbar a:hover { color: #fff; }
.topbar__links { display: flex; gap: 26px; align-items: center; }
.topbar__links span, .topbar__links a { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; }

/* ---------- En-tête / navigation ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 59, 50, .35); }
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 28px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-head); font-size: 1.75rem; letter-spacing: -.03em; line-height: 1; white-space: nowrap; display: inline-flex; align-items: baseline; }
.brand__name b { color: var(--primary); font-weight: 800; }
.brand__name i { color: var(--accent); font-weight: 800; font-style: normal; }
.brand__name span { color: var(--secondary); font-weight: 600; }
.brand__tag { display: block; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; margin-top: 5px; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink);
  padding: 10px 12px; border-radius: 8px; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.header .container { max-width: 1380px; }
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--primary); background: var(--primary-50); }
.nav__link[aria-current="page"] { color: var(--primary); }
.nav__link[aria-current="page"]::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 3px; background: var(--accent); border-radius: 3px; }
.nav__link .chev { width: 12px; height: 12px; transition: transform .2s; }
.nav__item:hover .chev { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 8px);
  width: 360px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 12px; opacity: 0; visibility: hidden; transition: all .2s;
}
.dropdown::before { content: ""; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav__item:hover .dropdown, .nav__item:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dropdown a { display: flex; gap: 14px; padding: 12px; border-radius: 10px; color: var(--ink); }
.dropdown a:hover { background: var(--bg-soft); }
.dropdown__icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.dropdown__icon svg { width: 20px; height: 20px; }
.dropdown strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.dropdown small { display: block; color: var(--ink-3); font-size: .82rem; line-height: 1.4; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.partner-link {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: .9rem; color: var(--primary-900);
  padding: 9px 16px 9px 9px; border-radius: 999px; border: 1px solid var(--line); background: #fff;
}
.partner-link__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; }
.partner-link__icon svg { width: 16px; height: 16px; }
.partner-link:hover { border-color: var(--primary); color: var(--primary); }

.burger { display: none; width: 46px; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; padding: 0; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: .25s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { top: 0; transform: rotate(45deg); }
.nav-open .burger span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Hero accueil ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--bg-dark) url("../img/hero.jpg") center / cover no-repeat;
  min-height: 760px; display: flex; align-items: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(3, 30, 26, .96) 0%, rgba(0, 70, 58, .86) 42%, rgba(6, 96, 110, .35) 100%);
}
.hero::after {
  content: ""; position: absolute; right: -180px; bottom: -260px; width: 680px; height: 680px; border-radius: 50%;
  border: 90px solid rgba(10, 148, 168, .16);
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: #fff; margin-bottom: 24px; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero__lead { font-size: 1.2rem; color: #cfe4df; max-width: 600px; margin-bottom: 36px; }
.hero__checks { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 38px; padding: 0; list-style: none; color: #cfe4df; font-size: .95rem; }
.hero__checks li { display: flex; align-items: center; gap: 9px; }
.hero__checks svg { width: 20px; height: 20px; color: var(--mint); }

.hero-card {
  background: rgba(255, 255, 255, .98); color: var(--ink); border-radius: var(--radius-lg);
  padding: 34px; box-shadow: var(--shadow-lg); position: relative;
}
.hero-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--grad); }
.hero-card h2 { font-size: 1.45rem; margin-bottom: 8px; }
.hero-card p { color: var(--ink-2); font-size: .95rem; }

/* ---------- Bandeau engagements ---------- */
.pillars { position: relative; z-index: 2; margin-top: -70px; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden;
}
.pillar { padding: 34px 30px; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin-bottom: 18px; }
.pillar__icon svg { width: 26px; height: 26px; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 6px; }
.pillar p { color: var(--ink-2); font-size: .93rem; margin: 0; }

/* ---------- Mise en page à deux colonnes ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; height: 540px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.media-badge {
  position: absolute; left: -30px; bottom: 40px; background: #fff; border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-lg); display: flex; gap: 16px; align-items: center; max-width: 300px;
}
.media-badge__icon { flex: none; width: 50px; height: 50px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; }
.media-badge__icon svg { width: 24px; height: 24px; }
.media-badge strong { display: block; font-family: var(--font-head); font-size: 1.02rem; line-height: 1.25; }
.media-badge small { color: var(--ink-3); font-size: .84rem; }
.media-frame { position: absolute; top: -24px; right: -24px; width: 60%; height: 60%; border-radius: var(--radius-lg); background: var(--grad); opacity: .12; z-index: -1; }

.check-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 14px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list li::before {
  content: ""; flex: none; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007461' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.section--dark .check-list li::before { background-color: rgba(191, 243, 230, .14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bff3e6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.check-list strong { display: block; font-family: var(--font-head); }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px 32px;
  transition: transform .25s, box-shadow .25s, border-color .25s; position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); transition: width .35s; }
.card:hover::after { width: 100%; }
.card__icon { width: 58px; height: 58px; border-radius: 16px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; margin-bottom: 24px; transition: background .25s, color .25s; }
.card:hover .card__icon { background: var(--grad); color: #fff; }
.card__icon svg { width: 28px; height: 28px; }
.card p { color: var(--ink-2); font-size: .96rem; }
.card p:last-child { margin-bottom: 0; }
.card__num { font-family: var(--font-head); font-weight: 800; font-size: .8rem; letter-spacing: .14em; color: var(--accent); margin-bottom: 10px; display: block; }

.img-card { border-radius: var(--radius-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.img-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.img-card__media { position: relative; height: 220px; overflow: hidden; }
.img-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.img-card:hover .img-card__media img { transform: scale(1.06); }
.img-card__tag { position: absolute; top: 16px; left: 16px; background: rgba(255, 255, 255, .95); color: var(--primary-900); font-family: var(--font-head); font-weight: 800; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.img-card__body { padding: 28px; display: flex; flex-direction: column; flex: 1; }
.img-card__body p { color: var(--ink-2); font-size: .95rem; }
.img-card__body .link-arrow { margin-top: auto; }

.codes { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; list-style: none; }
.codes li { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .78rem; font-weight: 600; color: var(--primary-700); background: var(--primary-50); border: 1px solid var(--primary-100); border-radius: 6px; padding: 3px 8px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 34px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--primary-100), var(--secondary), var(--primary-100)); }
.step { position: relative; text-align: center; padding: 0 6px; }
.step__num {
  counter-increment: step; position: relative; z-index: 1;
  width: 68px; height: 68px; margin: 0 auto 22px; border-radius: 50%; background: #fff; border: 2px solid var(--primary);
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--primary);
  box-shadow: 0 0 0 8px var(--bg-soft);
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step:hover .step__num { background: var(--grad); color: #fff; border-color: transparent; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--ink-2); font-size: .92rem; }
.section--dark .step__num { background: var(--bg-dark-2); box-shadow: 0 0 0 8px #04302a; border-color: var(--mint); color: var(--mint); }
.section--dark .step p { color: #b9d6d1; }

.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 33px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--secondary)); }
.timeline li { position: relative; padding: 0 0 46px 100px; counter-increment: tl; }
.timeline li:last-child { padding-bottom: 0; }
.timeline { counter-reset: tl; }
.timeline li::before {
  content: counter(tl, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 68px; height: 68px; border-radius: 50%;
  background: #fff; border: 2px solid var(--primary); display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; color: var(--primary);
}
.timeline h3 { margin-top: 6px; }
.timeline p { color: var(--ink-2); max-width: 760px; }
.timeline .tag { display: inline-block; font-family: var(--font-head); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-600); background: var(--secondary-50); padding: 4px 10px; border-radius: 999px; margin-bottom: 10px; }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, .14); border-bottom: 1px solid rgba(255, 255, 255, .14); }
.stat { padding: 40px 28px; border-right: 1px solid rgba(255, 255, 255, .14); }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.2rem, 3.6vw, 3.1rem); line-height: 1; color: #fff; letter-spacing: -.03em; margin-bottom: 12px; }
.stat__value small { font-size: .45em; color: var(--mint); font-weight: 700; margin-left: 4px; letter-spacing: 0; }
.stat p { color: #b9d6d1; font-size: .93rem; margin: 0; }
.source-note { font-size: .8rem; color: #8fb2ac; margin-top: 18px; }
.section:not(.section--dark) .source-note { color: var(--ink-3); }

/* ---------- Schéma acteurs ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.flow__item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.flow__item:not(:last-child)::after {
  content: ""; position: absolute; right: -16px; top: 50%; width: 14px; height: 14px; transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid var(--secondary); border-right: 2px solid var(--secondary); z-index: 1;
}
.flow__item--accent { background: var(--grad); color: #fff; border-color: transparent; box-shadow: var(--shadow); }
.flow__item--accent h3, .flow__item--accent p { color: #fff; }
.flow__role { font-family: var(--font-head); font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--secondary-600); margin-bottom: 8px; display: block; }
.flow__item--accent .flow__role { color: var(--mint); }
.flow__item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.flow__item p { font-size: .9rem; color: var(--ink-2); margin: 0; }

/* ---------- Plateforme (maquette) ---------- */
.mockup { background: #fff; border-radius: 16px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); overflow: hidden; color: var(--ink); font-size: .82rem; }
.mockup__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #eef3f2; border-bottom: 1px solid var(--line); }
.mockup__bar i { width: 10px; height: 10px; border-radius: 50%; background: #cfd9d7; }
.mockup__bar span { margin-left: 12px; background: #fff; border-radius: 6px; padding: 3px 12px; color: var(--ink-3); font-size: .74rem; }
.mockup__body { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; }
.mockup__side { background: var(--bg-dark); padding: 18px 12px; display: grid; align-content: start; gap: 6px; }
.mockup__side b { color: #fff; font-family: var(--font-head); font-size: .8rem; margin: 0 6px 12px; }
.mockup__side span { color: #a9c7c2; padding: 7px 10px; border-radius: 6px; font-size: .74rem; }
.mockup__side span.on { background: rgba(191, 243, 230, .14); color: #fff; }
.mockup__main { padding: 20px; display: grid; gap: 14px; align-content: start; background: #f7faf9; }
.mockup__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mockup__kpi { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.mockup__kpi small { color: var(--ink-3); display: block; font-size: .68rem; }
.mockup__kpi strong { font-family: var(--font-head); font-size: 1.15rem; color: var(--primary); }
.mockup__table { background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mockup__row { display: grid; grid-template-columns: 1.3fr 1fr .9fr; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); align-items: center; font-size: .72rem; }
.mockup__row:first-child { border-top: 0; color: var(--ink-3); font-weight: 600; background: #fbfdfc; }
.pill { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: .66rem; font-weight: 700; }
.pill--ok { background: var(--primary-50); color: var(--primary); }
.pill--wait { background: #fff4e0; color: #9a6200; }
.pill--alert { background: var(--accent-50); color: var(--accent-600); }
.pill--info { background: var(--secondary-50); color: var(--secondary-600); }

/* ---------- Onglets ---------- */
.tabs__list { display: inline-flex; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; margin-bottom: 44px; flex-wrap: wrap; }
.tabs__btn { border: 0; background: none; font-family: var(--font-head); font-weight: 700; font-size: .95rem; color: var(--ink-2); padding: 11px 22px; border-radius: 999px; cursor: pointer; }
.tabs__btn[aria-selected="true"] { background: var(--primary); color: #fff; }
.tabs__panel[hidden] { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--primary-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 26px; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%;
  background: var(--primary-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007461' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__body { padding: 0 26px 24px; color: var(--ink-2); }
.faq__body p:last-child { margin-bottom: 0; }
.faq-cat { margin: 60px 0 22px; font-size: 1.35rem; display: flex; align-items: center; gap: 12px; }
.faq-cat:first-child { margin-top: 0; }
.faq-cat::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--accent); }

/* ---------- Bandeau CTA ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--grad); color: #fff; padding: 70px; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center; }
.cta-band::before { content: ""; position: absolute; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .08); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: #e0f3ef; font-size: 1.1rem; margin: 0; max-width: 640px; }
.cta-band > * { position: relative; }

/* ---------- En-tête de page interne ---------- */
.page-hero { position: relative; color: #fff; background: var(--bg-dark) center / cover no-repeat; padding: 110px 0 100px; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(3, 30, 26, .95) 0%, rgba(0, 70, 58, .85) 50%, rgba(6, 96, 110, .55) 100%); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; max-width: 860px; font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p { color: #cfe4df; font-size: 1.15rem; max-width: 720px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .86rem; color: #a9c7c2; }
.breadcrumb a { color: #d7ebe7; }
.breadcrumb li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* ---------- Contenu éditorial ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.7rem; margin-top: 56px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 32px; }
.prose p, .prose li { color: var(--ink-2); }
.prose li { margin-bottom: 6px; }
.callout { background: var(--primary-50); border-left: 4px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 28px 0; color: var(--primary-900); }
.callout p:last-child { margin: 0; }
.callout--info { background: var(--secondary-50); border-color: var(--secondary); color: #064c57; }
.placeholder { background: #fff4d6; color: #7a4b00; border-radius: 4px; padding: 0 4px; font-weight: 600; }
.layout-aside { display: grid; grid-template-columns: 1fr 340px; gap: 70px; align-items: start; }
.aside-card { position: sticky; top: calc(var(--header-h) + 24px); background: var(--bg-soft); border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.aside-card h3 { font-size: 1.15rem; }
.aside-card p { color: var(--ink-2); font-size: .94rem; }
.aside-nav { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 4px; }
.aside-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 500; font-size: .94rem; }
.aside-nav a:hover { background: #fff; color: var(--primary); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); margin: 24px 0; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--bg-soft); font-family: var(--font-head); font-weight: 700; color: var(--ink); white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .85rem; color: var(--primary-700); background: var(--primary-50); padding: 2px 6px; border-radius: 4px; white-space: nowrap; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); }
.field label .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0, 116, 97, .12); }
.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 12px; }
.field--check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.field--check label { font-family: var(--font-body); font-weight: 400; font-size: .86rem; color: var(--ink-2); }
.form__note { font-size: .82rem; color: var(--ink-3); margin: 0; }
.form__status { display: none; padding: 16px 18px; border-radius: 10px; font-weight: 600; }
.form__status.is-ok { display: block; background: var(--primary-50); color: var(--primary-700); }
.form__status.is-error { display: block; background: #fdecea; color: #9b1c1c; }
.form-card { background: #fff; border-radius: var(--radius-lg); padding: 44px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list__icon { flex: none; width: 50px; height: 50px; border-radius: 14px; background: var(--primary-50); color: var(--primary); display: grid; place-items: center; }
.contact-list__icon svg { width: 22px; height: 22px; }
.contact-list strong { display: block; font-family: var(--font-head); }
.contact-list span, .contact-list a { color: var(--ink-2); }

/* ---------- Valeurs ---------- */
.value { padding: 30px 0; border-top: 2px solid var(--line); position: relative; }
.value::before { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 2px; background: var(--accent); }
.value h3 { font-size: 1.15rem; }
.value p { color: var(--ink-2); font-size: .95rem; margin: 0; }

/* ---------- Pied de page ---------- */
.footer { background: var(--bg-dark); color: #a9c7c2; font-size: .93rem; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 50px; padding: 90px 0 60px; }
.footer .brand { color: #fff; margin-bottom: 22px; }
.footer .brand__name b { color: #fff; }
.footer .brand__name span { color: var(--mint); }
.footer .brand__name { font-size: 1.9rem; }
.footer .brand__tag { color: #7fa6a0; }
.footer h4 { color: #fff; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.footer a { color: #a9c7c2; }
.footer a:hover { color: #fff; }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--mint); }
.footer__legal-id { margin-top: 22px; font-size: .8rem; color: #7fa6a0; line-height: 1.7; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 26px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Animations d'apparition ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
  .header__actions .btn { display: none; }
}
@media (max-width: 1180px) {
  .header .container { gap: 16px; }
  .nav__link { padding: 10px 8px; font-size: .88rem; }
  .partner-link__text { display: none; }
  .partner-link { padding: 6px; }
}
@media (max-width: 1024px) {
  :root { --header-h: 74px; }
  .section { padding: 84px 0; }
  .burger { display: grid; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 20px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s, visibility .3s; margin: 0; visibility: hidden;
  }
  .header { backdrop-filter: none; background: #fff; }
  .topbar { display: none; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 16px 4px; font-size: 1.05rem; width: 100%; justify-content: space-between; }
  .nav__link[aria-current="page"]::after { display: none; }
  .dropdown { position: static; transform: none; width: auto; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 12px; display: none; }
  .nav__item.is-open .dropdown { display: block; }
  .nav__item:hover .dropdown, .nav__item:focus-within .dropdown { transform: none; }
  .nav__item.is-open .chev { transform: rotate(180deg); }
  .nav__item:hover .chev { transform: none; }
  .nav__item.is-open:hover .chev { transform: rotate(180deg); }
  .nav-mobile-cta { display: grid !important; gap: 12px; margin-top: 26px; }
  .header__actions { margin-left: auto; }
  .nav-open { overflow: hidden; }
  .hero .container { grid-template-columns: 1fr; }
  .hero { min-height: 0; }
  .hero-card { max-width: 560px; }
  .pillars__grid { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(2) { border-right: 0; }
  .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .split, .layout-aside { grid-template-columns: 1fr; gap: 50px; }
  .split--reverse .split__media { order: 0; }
  .split__media img { height: 420px; }
  .media-badge { left: 20px; }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before { display: none; }
  .step { text-align: left; display: grid; grid-template-columns: 68px 1fr; gap: 0 22px; }
  .step__num { margin: 0; grid-row: span 2; }
  .stats, .flow { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .flow__item::after { display: none; }
  .cta-band { grid-template-columns: 1fr; padding: 50px 40px; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .aside-card { position: static; }
}
.nav-mobile-cta { display: none; }
@media (max-width: 680px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 70px 0; }
  .topbar__links .hide-sm { display: none; }
  .topbar .container > span { display: none; }
  .topbar .container { justify-content: flex-end; }
  .brand__tag { display: none; }
  .brand img { width: 38px; height: 38px; }
  .brand__name { font-size: 1.45rem; }
  .partner-link { padding: 6px; }
  .partner-link__text { display: none; }
  .hero .container { padding-top: 60px; padding-bottom: 110px; }
  .hero-card, .form-card { padding: 26px 22px; }
  .pillars__grid, .grid--2, .grid--3, .grid--4, .stats, .flow, .form__row, .footer__top { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .stat:last-child { border-bottom: 0; }
  .split__media img { height: 300px; }
  .media-frame { display: none; }
  th, td { padding: 11px 12px; font-size: .88rem; }
  .media-badge { position: relative; left: 0; bottom: 0; margin-top: -40px; margin-left: 16px; margin-right: 16px; }
  .mockup__body { grid-template-columns: 1fr; }
  .mockup__side { display: none; }
  .cta-band { padding: 40px 24px; }
  .timeline::before { left: 23px; }
  .timeline li { padding-left: 70px; }
  .timeline li::before { width: 48px; height: 48px; font-size: 1rem; }
  .tabs__list { border-radius: var(--radius); }
  .page-hero { padding: 70px 0 64px; }
  .btn { white-space: normal; }
}

/* ---------- Touches d'accent #e62f44 ---------- */
::selection { background: var(--accent); color: #fff; }
.accent { color: var(--accent); }
.dot { color: var(--accent); }
.stat__value::after { content: ""; display: block; width: 26px; height: 3px; background: var(--accent); border-radius: 2px; margin-top: 16px; }
.step:hover .step__num { box-shadow: 0 0 0 8px var(--bg-soft), 0 0 0 10px var(--accent); }
.faq details[open] { border-left: 3px solid var(--accent); }
.timeline li:hover::before { border-color: var(--accent); color: var(--accent); }
.media-badge__icon--accent { background: var(--accent); }
.hero-card::before { background: linear-gradient(90deg, var(--primary), var(--secondary) 70%, var(--accent)); }
.badge-new { display: inline-block; margin-left: 6px; font-family: var(--font-head); font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--accent); padding: 2px 8px; border-radius: 999px; vertical-align: middle; }
.cta-band::after { content: ""; position: absolute; left: 70px; top: 0; width: 64px; height: 5px; background: var(--accent); border-radius: 0 0 4px 4px; }
.footer h4::after { content: ""; display: block; width: 22px; height: 2px; background: var(--accent); margin-top: 12px; }
.callout { border-left-color: var(--primary); }
.callout--alert { background: var(--accent-50); border-color: var(--accent); color: #7a1424; }