/* ==========================================================================
   ECOSYSTEME – feuille de style du site
   Échelle volontairement compacte : chaque écran doit tenir dans un portable
   de 1280 × 600 px utiles sans avoir à dézoomer.
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #0e1f1a;
  --ink-2: #43524c;
  --ink-3: #5f6c67;
  --line: #e2e8e3;
  --line-strong: #cbd5ce;
  --bg: #ffffff;
  --bg-soft: #f4f7f4;
  --bg-tint: #e8f5eb;
  --green: #15803a;
  --green-dark: #0f6a2f;
  --green-logo: #40b14f;
  --forest: #0b2a22;
  --forest-2: #123a2f;
  --lime: #c6f06a;
  --sun: #ffb020;
  --amber: #b45309;
  --amber-bg: #fff7e6;
  --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M21 3C11.500 2.500 4 6.500 4 14.500c0 1.400.300 2.700.800 3.900C7.300 12.300 11.700 8.600 17 7c-4.700 2.600-8.300 6.800-9.900 13.300.900.200 1.800.200 2.700.200C17.500 20.500 21.500 13.500 21 3z'/%3E%3C/svg%3E");

  /* Typographie */
  --font-head: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --fs-body: 0.9375rem;
  --fs-small: 0.8125rem;
  --fs-h1: clamp(1.75rem, min(2.9vw, 6.2vh), 2.375rem);
  --fs-h2: clamp(1.3125rem, min(2.1vw, 4.5vh), 1.75rem);
  --fs-h3: 1.0625rem;

  /* Mise en page */
  --wrap: 1120px;
  --gutter: clamp(16px, 3vw, 28px);
  --header: 68px;
  --section: clamp(36px, 8vh, 76px);
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(14, 31, 26, .06), 0 2px 8px rgba(14, 31, 26, .04);
  --shadow-lg: 0 2px 6px rgba(14, 31, 26, .05), 0 18px 44px -18px rgba(14, 31, 26, .28);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 12px); }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: inherit; text-underline-offset: 3px; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
fieldset { border: 0; padding: 0; min-width: 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.14; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -.01em; line-height: 1.3; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; border-radius: 4px; }
.site-footer :focus-visible, .cta-band :focus-visible, .feature :focus-visible, .section-dark :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-dark { background: var(--forest); color: #fff; }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-head { max-width: 720px; margin-bottom: clamp(20px, 4vh, 36px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-2); margin-top: 10px; font-size: 1rem; }
.section-dark .section-head p { color: rgba(255, 255, 255, .78); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--green); margin-bottom: 10px; }
.section-dark .eyebrow { color: var(--lime); }
.lead { font-size: 1.0625rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.small { font-size: var(--fs-small); }
.center { text-align: center; }
.mt { margin-top: 20px; }
.mt-lg { margin-top: 36px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 9px 18px; border-radius: 10px; border: 1px solid transparent;
  font-family: var(--font-head); font-size: .9375rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 16px -8px rgba(21, 128, 58, .7); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-quiet { background: transparent; color: var(--ink-2); padding-inline: 10px; }
.btn-quiet:hover { color: var(--ink); background: var(--bg-soft); }
.btn-lime { background: var(--sun); color: var(--forest); }
.btn-lime:hover { background: #ffc24d; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .4); }
.btn-outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: .875rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--green); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow .ico { transition: transform .15s; }
.link-arrow:hover .ico { transform: translateX(3px); }
.section-dark .link-arrow { color: var(--lime); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(14, 31, 26, .35); }
.header-in { display: flex; align-items: center; gap: 14px; height: var(--header); }
.brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 50px; width: auto; }
.brand-text { font-family: var(--font-head); font-weight: 800; letter-spacing: .02em; color: var(--green); font-size: 1.15rem; }
.nav { margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; }
.nav > ul > li > a, .nav > ul > li > button {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 9px; border: 0; background: none; border-radius: 8px;
  font-size: .9rem; font-weight: 500; color: var(--ink-2); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover { color: var(--ink); background: var(--bg-soft); }
.nav > ul > li > [aria-current] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--green); border-radius: 8px 8px 0 0; }
.sub a[aria-current="page"] { background: var(--bg-soft); font-weight: 600; }
.nav .ico { width: 14px; height: 14px; transition: transform .15s; }
.has-sub { position: relative; }
.has-sub.is-open > button .ico { transform: rotate(180deg); }
/* Sous-menus : une colonne régulière, chaque ligne = pictogramme + titre + précision */
.sub { position: absolute; top: calc(100% + 8px); left: -8px; width: 344px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); display: none; }
.sub::before { content: ""; position: absolute; inset: -10px 0 auto 0; height: 10px; }
.has-sub.is-open .sub { display: block; }
.sub a { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; padding: 6px 8px; border-radius: 9px; text-decoration: none; color: var(--ink); }
.sub a:hover { background: var(--bg-soft); }
.sub-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: var(--bg-tint); color: var(--green); }
.sub .sub-ico .ico { width: 18px; height: 18px; }
.sub a strong { display: block; font-size: .875rem; font-weight: 600; line-height: 1.25; }
.sub a small { display: block; font-size: .75rem; color: var(--ink-3); line-height: 1.3; }
.sub .sub-main { background: var(--forest); color: #fff; padding-block: 9px; }
.sub .sub-main:hover { background: var(--forest-2); }
.sub .sub-main .sub-ico { background: var(--sun); color: var(--forest); }
.sub .sub-main small { color: rgba(255, 255, 255, .78); }
.sub-title { padding: 10px 8px 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.sub .sub-all { display: flex; justify-content: space-between; margin-top: 6px; padding: 10px 8px 6px; border-top: 1px solid var(--line); border-radius: 0 0 9px 9px; font-size: .875rem; font-weight: 600; color: var(--green-dark); }
.sub .sub-all .ico { width: 16px; height: 16px; }
.sub-wide { width: 468px; }
.sub-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 6px; }
.header-cta { display: flex; align-items: center; gap: 10px; flex: none; }
.tel { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.tel:hover { color: var(--green); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger span { top: 19px; }
.burger span::before { left: 0; right: 0; top: -6px; }
.burger span::after { left: 0; right: 0; top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero d'accueil ---------- */
.hero { position: relative; background: radial-gradient(58% 90% at 88% 0%, var(--bg-tint) 0, rgba(232, 245, 235, 0) 62%), #fff; }
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: clamp(20px, 4vw, 56px); align-items: center;
  min-height: min(calc(100svh - var(--header) - 50px), 600px); padding-block: clamp(18px, 4vh, 44px);
}
.hero h1 em { font-style: normal; color: var(--green); display: block; }
.hero .lead { margin-top: clamp(10px, 2vh, 18px); }
.hero .btn-row { margin-top: clamp(14px, 3vh, 26px); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: clamp(14px, 3vh, 26px); font-size: .875rem; color: var(--ink-2); }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .ico { color: var(--green); stroke-width: 2.4; }

/* ---------- Pastille « installateurs qualifiés RGE » ---------- */
.rge { display: inline-flex; align-items: center; gap: 11px; padding: 6px 16px 6px 6px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); max-width: 100%; transition: border-color .15s, box-shadow .15s; }
a.rge:hover { border-color: var(--green); box-shadow: 0 0 0 3px rgba(21, 128, 58, .12); }
.rge-mark { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: .8125rem; letter-spacing: .03em; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 0 0 2px var(--green); }
.rge-text { min-width: 0; }
.rge-text strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: .9375rem; line-height: 1.25; }
.rge-text small { display: block; font-size: .75rem; color: var(--ink-3); line-height: 1.35; }
.rge-sm { gap: 7px; padding: 3px 11px 3px 3px; box-shadow: none; }
.rge-sm .rge-mark { width: 26px; height: 26px; font-size: .5625rem; box-shadow: none; }
.rge-sm .rge-text strong { font-size: .78rem; font-weight: 600; line-height: 1.15; white-space: nowrap; }
.rge-sm .rge-text small { font-size: .625rem; line-height: 1.15; white-space: nowrap; }
.site-header .rge { display: none; }
.rge-dark { background: transparent; border-color: rgba(255, 255, 255, .22); box-shadow: none; color: #fff; }
.rge-dark .rge-mark { background: var(--lime); color: var(--forest); box-shadow: none; }
.rge-dark .rge-text small { color: rgba(255, 255, 255, .7); }
.hero-trust { display: grid; justify-items: start; gap: 10px; margin-top: clamp(14px, 3vh, 24px); }
.hero-trust .hero-points { margin-top: 0; }

/* ---------- Carte formulaire ---------- */
.elig-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: clamp(16px, 2.2vw, 22px); }
.elig-card.is-flash { animation: flash 1s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 58, .55), var(--shadow-lg); } 100% { box-shadow: 0 0 0 16px rgba(21, 128, 58, 0), var(--shadow-lg); } }
.elig { display: grid; gap: 10px; }
.elig fieldset { display: grid; gap: 10px; }
.elig fieldset[hidden], .elig [hidden] { display: none; }
.elig-title { font-family: var(--font-head); font-weight: 700; font-size: 1.125rem; letter-spacing: -.01em; line-height: 1.25; }
.elig-sub { font-size: .8125rem; color: var(--ink-3); margin-top: 2px; }
.elig-steps { display: flex; gap: 6px; margin-top: 10px; font-size: .75rem; font-weight: 600; color: var(--ink-3); }
.elig-steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 8px; background: var(--bg-soft); }
.elig-steps li span { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 1px solid var(--line-strong); font-size: .6875rem; }
.elig-steps li.is-on { background: var(--bg-tint); color: var(--green-dark); }
.elig-steps li.is-on span, .elig-steps li.is-done span { background: var(--green); border-color: var(--green); color: #fff; }
.f { display: grid; gap: 4px; min-width: 0; }
.f > span { font-size: .78rem; font-weight: 600; color: var(--ink-2); }
.f > span em { font-style: normal; font-weight: 400; color: var(--ink-3); }
.f input, .f select, .f textarea {
  width: 100%; min-width: 0; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff;
  font-size: .9375rem; transition: border-color .15s, box-shadow .15s;
}
.f textarea { height: auto; padding-block: 10px; resize: vertical; }
.f select { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2343524c' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; background-size: 16px; }
.f input::placeholder { color: #75827c; }
.f input:hover, .f select:hover { border-color: #9fb0a7; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(21, 128, 58, .18); }
.f.is-invalid input, .f.is-invalid select { border-color: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, .14); }
.f-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.f-row .f-sm { max-width: none; }
.f-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.elig-actions { display: flex; gap: 8px; }
.elig-actions .btn-primary { flex: 1; }
.elig-legal { font-size: .72rem; color: var(--ink-3); text-align: center; }
.elig-result { display: grid; gap: 10px; justify-items: start; padding-block: 6px; outline: none; }
.elig-result p { color: var(--ink-2); }
.elig-result .elig-title { color: var(--ink); }
.elig-badge { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-tint); color: var(--green); }
.elig-badge .ico { width: 22px; height: 22px; stroke-width: 2.4; }
.elig-demo { font-size: .78rem; background: var(--amber-bg); color: var(--amber); border-radius: 8px; padding: 6px 10px; }

/* ---------- Bandeau « pour qui » ---------- */
.strip { border-block: 1px solid var(--line); background: var(--bg-soft); padding-block: 10px; }
.strip-in { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.strip-label { font-size: .78rem; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .8125rem; font-weight: 500; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
a.chip:hover { border-color: var(--green); color: var(--green-dark); }
.chip-lime { background: var(--sun); border-color: var(--sun); color: var(--forest); font-weight: 600; }
.chip-green { background: var(--bg-tint); border-color: transparent; color: var(--green-dark); font-weight: 600; }

/* ---------- Grilles et cartes ---------- */
.grid { display: grid; gap: clamp(12px, 1.6vw, 18px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); align-items: center; }
.split.top { align-items: start; }
.split-wide { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(16px, 1.8vw, 22px); }
.card h3 { margin-bottom: 6px; }
.card p { color: var(--ink-2); }
.card-soft { background: var(--bg-soft); border-color: transparent; }
a.card { display: block; text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--green); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.card-ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--bg-tint); color: var(--green); margin-bottom: 12px; }
.card-ico .ico { width: 20px; height: 20px; }
.section-dark .card { background: var(--forest-2); border-color: rgba(255, 255, 255, .1); }
.section-dark .card p { color: rgba(255, 255, 255, .76); }
.section-dark .card-ico { background: rgba(198, 240, 106, .14); color: var(--lime); }

/* Offre phare (avec photo) + colonne des autres solutions, lignes de même hauteur */
.solutions { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(14px, 2vw, 22px); align-items: stretch; }
.feature { position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; background: var(--forest); color: #fff; border-radius: var(--radius-lg); }
.feature-photo { position: relative; margin: 0; }
.feature-photo img { width: 100%; height: clamp(110px, 20vh, 150px); object-fit: cover; }
.feature-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 42, 34, 0) 45%, var(--forest) 100%); }
.feature-photo .chip { position: absolute; left: 16px; top: 14px; z-index: 1; }
.feature-body { display: flex; flex-direction: column; padding: 4px clamp(18px, 2.2vw, 26px) clamp(18px, 2.2vw, 24px); }
.feature h3 { font-size: clamp(1.1875rem, 1.9vw, 1.4375rem); line-height: 1.2; margin-bottom: 8px; }
.feature p { color: rgba(255, 255, 255, .8); max-width: 52ch; }
.feature .btn-row { margin-top: auto; padding-top: 16px; }
.sol-list { display: grid; grid-auto-rows: minmax(0, 1fr); gap: 8px; }
.sol-list > li { display: grid; }
.sol-item { display: grid; grid-template-columns: 38px minmax(0, 1fr) 18px; align-items: center; gap: 12px; padding: 8px 14px 8px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, background-color .15s; }
.sol-item:hover { border-color: var(--green); background: #fbfdfb; }
.sol-item .op-ico { width: 38px; height: 38px; border-radius: 10px; }
.sol-item .op-ico .ico { width: 21px; height: 21px; }
.sol-item strong { display: block; font-family: var(--font-head); font-size: .9375rem; line-height: 1.25; }
.sol-item small { display: block; color: var(--ink-2); font-size: .8125rem; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sol-item > .ico { color: var(--line-strong); transition: transform .15s, color .15s; }
.sol-item:hover > .ico { color: var(--green); transform: translateX(3px); }
.sol-all { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 14px; border: 1px dashed var(--line-strong); border-radius: var(--radius); font-weight: 600; font-size: .9063rem; color: var(--green-dark); text-decoration: none; }
.sol-all:hover { border-color: var(--green); border-style: solid; background: #fff; }

.checklist { display: grid; gap: 7px; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; }
.checklist .ico { color: var(--green); stroke-width: 2.4; margin-top: .2em; }
.section-dark .checklist .ico, .feature .checklist .ico { color: var(--lime); }
.checklist.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 22px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 18px); counter-reset: step; }
.step { position: relative; padding-top: 44px; counter-increment: step; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .875rem; }
.step::after { content: ""; position: absolute; top: 15px; left: 42px; right: -8px; height: 2px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--ink-2); font-size: .9063rem; }
.step .step-meta { display: inline-block; margin-top: 8px; font-size: .75rem; font-weight: 600; color: var(--green-dark); background: var(--bg-tint); padding: 2px 8px; border-radius: 6px; }
.section-dark .step p { color: rgba(255, 255, 255, .76); }
.section-dark .step::before { background: var(--lime); color: var(--forest); }
.section-dark .step::after { background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .28) 0 6px, transparent 6px 12px); }

/* ---------- Schéma du financement ---------- */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.flow-box { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.flow-box:not(:last-child)::after { content: ""; position: absolute; top: 50%; right: -27px; width: 20px; height: 20px; transform: translateY(-50%); background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }
.flow-box .flow-k { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.flow-box h3 { margin: 4px 0; }
.flow-box p { font-size: .875rem; color: var(--ink-2); }
.flow-box.is-result { background: var(--forest); border-color: var(--forest); color: #fff; }
.flow-box.is-result .flow-k { color: var(--lime); }
.flow-box.is-result p { color: rgba(255, 255, 255, .8); }

/* ---------- Onglets ---------- */
.tabs-list { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.tabs-list::-webkit-scrollbar { display: none; }
.tabs-list [role="tab"] { flex: none; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; font-size: .875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.tabs-list [role="tab"]:hover { border-color: var(--ink-3); }
.tabs-list [role="tab"][aria-selected="true"] { background: var(--forest); border-color: var(--forest); color: #fff; }
.tab-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(16px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 2.4vw, 28px); }
.tab-panel[hidden] { display: none; }
.tab-panel h3 { font-size: 1.1875rem; margin-bottom: 6px; }
.tab-panel p { color: var(--ink-2); }
.tab-aside { background: var(--bg-soft); border-radius: var(--radius); padding: 16px; }
.tab-aside h3, .tab-aside h4 { font-size: .8125rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }

/* ---------- Opérations par secteur ---------- */
.tab-panel.solo { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0; border: 0; background: none; }
.tabs-list [role="tab"] { display: inline-flex; align-items: center; gap: 7px; }
.tabs-list [role="tab"] .ico { width: 17px; height: 17px; }
.op-intro { color: var(--ink-2); max-width: 78ch; }
.op-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.op { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; padding: 9px 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: inherit; transition: border-color .15s, box-shadow .15s; }
a.op:hover { border-color: var(--green); box-shadow: var(--shadow-sm); }
.op-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: var(--bg-tint); color: var(--green); }
.op-ico .ico { width: 24px; height: 24px; }
.op-ico.is-heat { background: #fff1d6; color: #b45309; }
.op-ico.is-iso { background: #eef7d2; color: #4d6b0c; }
.op-ico.is-pilot { background: var(--forest); color: var(--lime); }
.op strong { display: block; font-family: var(--font-head); font-size: .9375rem; line-height: 1.25; }
.op small { display: block; font-size: .8125rem; color: var(--ink-2); line-height: 1.4; margin-top: 2px; }
.op-fiche { display: inline-block; margin-top: 4px; font-size: .6875rem; font-weight: 600; letter-spacing: .03em; color: var(--ink-2); background: var(--bg-soft); border-radius: 5px; padding: 1px 6px; }
.op.is-main { background: var(--forest); border-color: var(--forest); color: #fff; }
.op.is-main small { color: rgba(255, 255, 255, .8); }
.op.is-main .op-ico { background: var(--sun); color: var(--forest); }
.op.is-main .op-fiche { background: rgba(255, 255, 255, .14); color: #fff; }
.op-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.checklist.is-out .ico { color: var(--amber); }
.matrix { font-size: .875rem; }
.matrix th, .matrix td { padding: 5px 10px; }
.matrix td.yes, .matrix td.no { text-align: center; font-size: 1rem; }
.matrix td.no { color: var(--line-strong); }
.matrix thead th { text-align: center; }
.matrix thead th:first-child { text-align: left; }
.matrix tbody th { font-weight: 500; }
.matrix tbody th small { display: block; font-size: .75rem; color: var(--ink-3); font-weight: 400; }
.matrix tr.fam th { padding-block: 4px; background: var(--bg-tint); font-family: var(--font-head); font-weight: 700; font-size: .8125rem; color: var(--green-dark); }

/* ---------- Chiffres, encadrés, tableaux ---------- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.kpi b { display: block; font-family: var(--font-head); font-size: 1.5rem; letter-spacing: -.02em; line-height: 1.15; color: var(--green-dark); }
.kpi span { font-size: .8438rem; color: var(--ink-2); }
.section-dark .kpi { background: var(--forest-2); border-color: rgba(255, 255, 255, .1); }
.section-dark .kpi b { color: var(--lime); }
.section-dark .kpi span { color: rgba(255, 255, 255, .78); }
.callout { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-tint); border: 1px solid #cfe8d5; }
.callout > .ico { color: var(--green); width: 20px; height: 20px; margin-top: 2px; }
.callout p { color: var(--ink-2); }
.callout strong { color: var(--ink); }
.callout.warn { background: var(--amber-bg); border-color: #f3dfb6; }
.callout.warn > .ico { color: var(--amber); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table { width: 100%; border-collapse: collapse; font-size: .9063rem; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-family: var(--font-head); font-size: .8125rem; background: var(--bg-soft); color: var(--ink-2); white-space: nowrap; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
tbody th { font-weight: 600; }
td.yes { color: var(--green-dark); font-weight: 600; }

/* ---------- Questions fréquentes ---------- */
.faq { display: grid; gap: 8px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 16px; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: .9688rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 18px; height: 18px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803a' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div, .faq details > p { padding: 0 16px 14px; color: var(--ink-2); }
.faq details > div > * + * { margin-top: 8px; }
.faq details > .callout { margin: 0 16px 14px; padding: 10px 14px; }
.faq-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 40px); align-items: start; }
.faq-aside { position: sticky; top: calc(var(--header) + 16px); }

/* ---------- Bandeau d'appel final ---------- */
.cta-band { background: var(--forest); color: #fff; border-radius: var(--radius-lg); padding: clamp(22px, 3.4vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; left: -60px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(198, 240, 106, .16), transparent 68%); pointer-events: none; }
.cta-band p { color: rgba(255, 255, 255, .8); margin-top: 8px; max-width: 56ch; }
.cta-band .btn-row { position: relative; z-index: 1; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { background: radial-gradient(50% 120% at 92% 0%, var(--bg-tint) 0, rgba(232, 245, 235, 0) 65%), var(--bg-soft); border-bottom: 1px solid var(--line); }
.page-hero-in { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(20px, 4vw, 52px); align-items: center; padding-block: clamp(22px, 5vh, 46px); }
.page-hero-in.solo { grid-template-columns: minmax(0, 800px); }
.page-hero h1 { font-size: clamp(1.5625rem, min(2.6vw, 5.6vh), 2.125rem); }
.page-hero .lead { margin-top: 12px; }
.page-hero .btn-row { margin-top: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--ink-3); margin-bottom: 12px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green); text-decoration: underline; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line-strong); }
.facts { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 6px 18px; }
.facts li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }
.facts .ico { width: 20px; height: 20px; color: var(--green); }
.facts strong { display: block; font-family: var(--font-head); font-size: .9375rem; line-height: 1.3; }
.facts span { font-size: .8438rem; color: var(--ink-2); }

/* Illustrations et schémas SVG */
.figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(12px, 2vw, 20px); }
.figure svg { display: block; width: 100%; height: auto; }
.figure figcaption { font-size: .8125rem; color: var(--ink-3); margin-top: 10px; text-align: center; }
.section-dark .figure, .feature .figure { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .12); }

/* Texte courant (pages légales, explications longues) */
.prose > * { max-width: 760px; }
.prose > * + * { margin-top: 12px; }
.prose h2 { font-size: 1.3125rem; margin-top: 32px; }
.prose h3 { margin-top: 22px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }
.prose ol { display: grid; gap: 6px; padding-left: 20px; list-style: decimal; }
.prose a { color: var(--green-dark); }

/* Liens vers les autres solutions */
.related { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.related a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-decoration: none; font-weight: 600; font-size: .9063rem; }
.related a:hover { border-color: var(--green); }
.related .ico { color: var(--green); width: 18px; height: 18px; }

/* ---------- Message d'information du service public (obligatoire, distinct du message commercial) ---------- */
.service-public { background: #fff; border-top: 1px solid var(--line); padding-block: 12px; font-size: .8438rem; color: var(--ink-2); text-align: center; }
.service-public a { font-weight: 600; color: var(--ink); }

/* ---------- Pied de page ---------- */
.site-footer { background: #081f19; color: rgba(255, 255, 255, .72); font-size: .875rem; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .85fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(18px, 3vw, 44px); padding-block: clamp(26px, 5vh, 44px); }
.footer-logo { display: inline-block; background: #fff; border-radius: 12px; padding: 8px 14px; margin-bottom: 12px; }
.footer-logo img { height: 54px; width: auto; }
.footer-logo .brand-text { font-size: 1.25rem; }
.footer-brand > p { max-width: 38ch; }
.footer-contact { display: grid; gap: 6px; margin-top: 14px; }
.footer-contact li { display: flex; gap: 8px; align-items: center; }
.footer-contact .ico { color: var(--lime); }
.footer-title { font-family: var(--font-head); font-weight: 700; color: #fff; margin-bottom: 10px; font-size: .875rem; }
.site-footer nav ul { display: grid; gap: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-block: 14px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .8125rem; }

/* ---------- Tiroir du formulaire ---------- */
dialog:not([open]) { display: none; }
html:has(dialog[open]) { overflow: hidden; }
.drawer { border: 0; padding: 0; margin: 0 0 0 auto; width: min(440px, 100vw); height: 100vh; height: 100dvh; max-height: 100vh; max-height: 100dvh; max-width: 100vw; background: #fff; color: var(--ink); box-shadow: -20px 0 60px -20px rgba(14, 31, 26, .4); overflow-y: auto; }
.drawer::backdrop { background: rgba(8, 31, 25, .5); backdrop-filter: blur(2px); }
.drawer[open] { animation: drawer-in .22s ease-out; }
@keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-in { position: relative; min-height: 100%; padding: 22px clamp(18px, 4vw, 26px); display: grid; align-content: center; gap: 14px; }
.drawer-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--bg-soft); cursor: pointer; display: grid; place-items: center; }
.drawer-close:hover { background: var(--line); }
.drawer .elig-head { padding-right: 40px; }
.drawer-alt { text-align: center; font-size: .875rem; color: var(--ink-2); }
.drawer-alt a { font-weight: 600; color: var(--ink); }

/* ---------- Barre d'action mobile ---------- */
.mobile-bar { display: none; }

/* ==========================================================================
   Secteurs, photos et rôle de facilitateur
   ========================================================================== */

/* Petite feuille devant les surtitres, grande feuille en filigrane : la touche végétale */
.eyebrow::before { content: ""; flex: none; width: 13px; height: 13px; background: currentColor; -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; }
.hero { overflow: hidden; }
.hero::after, .role::after { content: ""; position: absolute; width: 340px; height: 340px; background: var(--green); opacity: .06; -webkit-mask: var(--leaf) center / contain no-repeat; mask: var(--leaf) center / contain no-repeat; pointer-events: none; }
.hero::after { left: -120px; bottom: -150px; transform: rotate(28deg); }
.hero-in { position: relative; z-index: 1; }

/* Preuves sous le hero : ce que fait ECOSYSTEME, en quatre points */
.proofs { border-block: 1px solid var(--line); background: var(--bg-soft); padding-block: 12px; }
.proofs ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px clamp(12px, 2vw, 24px); }
.proofs li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; }
.proofs .card-ico { margin: 0; width: 36px; height: 36px; background: #fff; border: 1px solid var(--line); }
.proofs strong { display: block; font-family: var(--font-head); font-size: .875rem; line-height: 1.25; }
.proofs span span { display: block; font-size: .78rem; color: var(--ink-2); line-height: 1.3; }

/* Cartes secteur : une photo, un nom, le nombre d'opérations */
.sector-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.sector-card { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 5 / 4; border-radius: 14px; background: var(--forest); color: #fff; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.sector-card img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.sector-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 31, 25, .05) 25%, rgba(8, 31, 25, .9) 100%); }
.sector-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.sector-card:hover img { transform: scale(1.06); }
.sector-card-n { position: absolute; top: 8px; left: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--green-dark); font-size: .6875rem; font-weight: 600; }
.sector-card-txt { position: absolute; left: 11px; right: 11px; bottom: 9px; }
.sector-card strong { display: block; font-family: var(--font-head); font-size: .9063rem; line-height: 1.2; }
.sector-card small { display: none; }
.sector-grid.is-large { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.is-large .sector-card { aspect-ratio: 4 / 3; border-radius: 16px; }
.is-large .sector-card strong { font-size: 1.0625rem; }
.is-large .sector-card small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; margin-top: 3px; font-size: .78rem; line-height: 1.35; color: rgba(255, 255, 255, .84); }
.is-large .sector-card-txt { left: 14px; right: 14px; bottom: 12px; }
.sector-note { margin-top: 12px; font-size: .8125rem; color: var(--ink-3); }

/* Photo d'en-tête des pages secteur */
.photo { position: relative; isolation: isolate; margin: 0 12px 12px 0; }
.photo::before { content: ""; position: absolute; inset: 14px -12px -12px 14px; z-index: -1; border-radius: 20px 20px 20px 64px; background: #cfe8d5; }
.photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 20px 20px 20px 64px; box-shadow: var(--shadow-lg); }
.photo figcaption { position: absolute; right: 10px; top: 10px; padding: 2px 9px; border-radius: 999px; background: rgba(8, 31, 25, .55); color: #fff; font-size: .6875rem; }
.photo-badge { position: absolute; right: -6px; bottom: 18px; display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); }
.photo-badge b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: var(--green); color: #fff; font-family: var(--font-head); font-size: 1.1875rem; }
.photo-badge span { font-size: .8125rem; line-height: 1.3; color: var(--ink-2); }
.sector-pour { margin-top: 14px; }
.sector-hero .lead { font-size: 1rem; }

/* Opérations d'un secteur : une carte par opération, le détail se déplie */
.opc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.opc { display: grid; gap: 8px; align-content: start; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.opc:hover, .opc:has(details[open]) { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.opc-head { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; }
.opc-fam { font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.opc-fam b { display: inline-block; margin-left: 4px; padding: 0 7px; border-radius: 999px; background: var(--sun); color: var(--forest); font-weight: 700; letter-spacing: .03em; }
.opc h3 { font-size: 1rem; line-height: 1.25; }
.opc-resume { font-size: .875rem; color: var(--ink-2); }
.opc-codes { display: flex; flex-wrap: wrap; gap: 4px; }
.opc-codes .op-fiche { margin: 0; }
.opc.is-main { border-color: var(--green); background: linear-gradient(180deg, var(--bg-tint), #fff 70%); }
.opc summary { display: inline-flex; align-items: center; gap: 6px; padding-block: 2px; cursor: pointer; list-style: none; font-size: .8438rem; font-weight: 600; color: var(--green-dark); }
.opc summary::-webkit-details-marker { display: none; }
.opc summary::after { content: ""; width: 15px; height: 15px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803a' stroke-width='2.6' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E"); transition: transform .2s; }
.opc details[open] summary::after { transform: rotate(45deg); }
.opc summary:hover { text-decoration: underline; }
.opc-more { display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--ink-2); }
.opc-more h4 { margin-top: 4px; font-family: var(--font-body); font-size: .6875rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.opc-more .checklist { gap: 5px; }
.opc-docs { display: grid; gap: 6px; }
.opc-docs a { display: grid; grid-template-columns: auto 1fr; gap: 9px; align-items: start; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); text-decoration: none; color: var(--ink-2); }
.opc-docs a:hover { border-color: var(--green); background: #fff; }
.opc-docs .ico { color: var(--green); margin-top: 2px; }
.opc-docs strong { color: var(--ink); }
.opc-docs small { display: block; font-size: .72rem; color: var(--ink-3); }
.opc-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 2px; }
.op-ico.is-cold { background: #e0f2fe; color: #075985; }
.op-ico.is-air { background: #d9f5ef; color: #0f6b5f; }
.op-ico.is-proc { background: #efe9dc; color: #6b4a14; }

/* Enjeux du secteur et « qui décide » */
.enjeux { display: grid; gap: 10px; counter-reset: enjeu; }
.enjeux li { position: relative; padding: 12px 14px 12px 54px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); counter-increment: enjeu; }
.enjeux li::before { content: counter(enjeu); position: absolute; left: 14px; top: 13px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-tint); color: var(--green-dark); font-family: var(--font-head); font-weight: 700; font-size: .8125rem; }
.enjeux h3 { font-size: .9688rem; margin-bottom: 2px; }
.enjeux p { font-size: .875rem; color: var(--ink-2); }
.decide { display: grid; gap: 8px; padding: clamp(16px, 2vw, 22px); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.decide .card-ico { margin: 0; }
.decide > p { color: var(--ink-2); font-size: .9063rem; }
.decide .mt { margin-top: 6px; }

/* Notre rôle : seul face au dispositif / avec ECOSYSTEME */
.role { position: relative; overflow: hidden; }
.role::after { right: -90px; top: -110px; background: var(--lime); opacity: .07; transform: rotate(-150deg); }
.role .wrap { position: relative; z-index: 1; }
.versus { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 14px; align-items: stretch; }
.versus-col { padding: clamp(16px, 2vw, 22px); border-radius: var(--radius-lg); }
.versus-col h3 { margin-bottom: 10px; }
.versus-col ul { display: grid; gap: 8px; }
.versus-col li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: .9063rem; }
.versus-col li .ico { margin-top: .2em; stroke-width: 2.4; }
.versus-col.is-without { border: 1px dashed rgba(255, 255, 255, .28); color: rgba(255, 255, 255, .74); }
.versus-col.is-without h3 { color: rgba(255, 255, 255, .9); }
.versus-col.is-without .ico { color: #f6a68c; }
.versus-col.is-with { background: #fff; color: var(--ink); box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }
.versus-col.is-with li { color: var(--ink-2); }
.versus-col.is-with li strong { color: var(--ink); }
.versus-col.is-with .ico { color: var(--green); }
.versus-col.is-with .btn-row { margin-top: 14px; gap: 10px 18px; }
.versus-col.is-with .link-arrow { color: var(--green); }
.versus-col.is-with :focus-visible { outline-color: var(--green); }
.versus-tag { display: table; margin-bottom: 6px; padding: 2px 10px; border-radius: 999px; background: var(--bg-tint); color: var(--green-dark); font-family: var(--font-body); font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }

/* Catalogue : une ligne par fiche officielle */
.catalogue th:first-child { white-space: nowrap; }
.catalogue th a { font-family: var(--font-head); font-weight: 700; color: var(--green-dark); }
.catalogue td { color: var(--ink-2); }
.catalogue .cat-sect { display: flex; flex-wrap: wrap; gap: 4px; min-width: 240px; }
.catalogue .chip { padding: 1px 8px; font-size: .75rem; }
.catalogue tr.fam th { background: var(--bg-tint); font-family: var(--font-head); font-size: .8125rem; color: var(--green-dark); scroll-margin-top: calc(var(--header) + 12px); }
.footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 18px; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */

/* Grands écrans : on respire un peu plus, sans grossir démesurément */
@media (min-width: 1230px) {
  .site-header .rge { display: inline-flex; }
}
@media (min-width: 921px) {
  .nav .nav-mobile-only { display: none; }
}

@media (min-width: 1500px) and (min-height: 800px) {
  :root { --fs-body: 1rem; --wrap: 1180px; --header: 76px; }
  .brand img { height: 58px; }
}

/* Écrans peu hauts (portables) : on resserre encore le vertical */
@media (max-height: 640px) and (min-width: 721px) {
  :root { --header: 64px; --section: clamp(28px, 7vh, 48px); }
  .brand img { height: 48px; }
  .hero-in { min-height: 0; padding-block: 12px; }
  .sector-grid:not(.is-large) .sector-card { aspect-ratio: 3 / 2; }
  .feature-photo img { height: 96px; }
  .sol-list { gap: 6px; }
  .sol-item { padding-block: 5px; }
  .versus-col { padding-block: 14px; }
  .f input, .f select { height: 36px; }
  .elig, .elig fieldset { gap: 8px; }
  .btn { min-height: 38px; }
}

/* Tablette et fenêtres étroites */
@media (max-width: 1040px) {
  .tel span { display: none; }
  .tel { width: 36px; height: 36px; justify-content: center; border: 1px solid var(--line-strong); border-radius: 10px; }
  .nav > ul > li > a, .nav > ul > li > button { padding-inline: 8px; }
  .sector-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .proofs ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 920px) {
  .burger { display: block; }
  .header-cta { margin-left: auto; }
  .lead { font-size: 1rem; }
  .hero-in { align-items: start; }
  .split, .split-wide { grid-template-columns: minmax(0, 1fr); }
  .figure { max-width: 620px; }
  /* Panneau du menu : placé sous l'en-tête (et non en position fixe, que le flou de l'en-tête empêcherait de couvrir l'écran) */
  .nav { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header)); height: calc(100dvh - var(--header)); margin: 0; background: #fff; padding: 12px var(--gutter) 24px; overflow-y: auto; display: none; border-top: 1px solid var(--line); }
  .nav.is-open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; padding: 12px 10px; font-size: 1rem; }
  .nav > ul > li > [aria-current] { box-shadow: inset 3px 0 0 var(--green); border-radius: 0 8px 8px 0; }
  .sub { position: static; width: auto; border: 0; box-shadow: none; padding: 0 0 6px 6px; }
  .sub::before { display: none; }
  .sub .sub-all { border-top: 0; margin-top: 0; justify-content: flex-start; gap: 8px; }
  body.nav-open { overflow: hidden; }
  .sector-grid.is-large { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .step:nth-child(2n)::after { display: none; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  :root { --fs-body: 1rem; --header: 60px; }
  .brand img { height: 44px; }
  .hero-in { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .solutions, .split, .split-wide, .page-hero-in, .tab-panel, .faq-layout, .cta-band, .footer-in { grid-template-columns: minmax(0, 1fr); }
  .faq-aside { position: static; }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sector-grid.is-large { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opc-grid { grid-template-columns: minmax(0, 1fr); }
  .photo { max-width: 520px; }
  .photo-badge { right: 8px; bottom: 12px; }
  .sol-item small { white-space: normal; }
  .flow { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .flow-box:not(:last-child)::after { top: auto; bottom: -25px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .f input, .f select, .f textarea { font-size: 1rem; height: 44px; }
  .checklist.cols { grid-template-columns: minmax(0, 1fr); }
  .drawer { margin: auto 0 0 0; width: 100vw; height: fit-content; max-height: 94vh; max-height: 94dvh; border-radius: 18px 18px 0 0; }
  .drawer[open] { animation-name: sheet-in; }
  .drawer-in { min-height: 0; align-content: start; padding-top: 26px; }
  .mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: auto 1fr; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(14, 31, 26, .4); transform: translateY(110%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .is-past-hero .mobile-bar { transform: none; visibility: visible; }
  body { padding-bottom: 62px; }
  .header-cta .btn { display: none; }
  .elig-card.is-desktop-only { display: none; }
}
@keyframes sheet-in { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4, .steps, .op-grid { grid-template-columns: minmax(0, 1fr); }
  .step::after { display: none; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-card { aspect-ratio: 4 / 3; }
  .proofs ul, .sub-cols { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none !important; }
  .strip-label { width: 100%; }
  .hero .btn-row .btn, .page-hero .btn-row .btn, .cta-band .btn { flex: 1 1 100%; }
  .f-row { grid-template-columns: minmax(0, 1fr); }
  .elig .f-row.keep { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  th, td { padding: 9px 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .drawer, .btn-row, .cta-band { display: none !important; }
  body { font-size: 11pt; }
}
