/* ==========================================================
   LM3 PRO — v2 — Charte "Énergie & Acier"
   Anthracite #16202E · Acier #44566B · Flamme #E0651C
   Pétrole #11514A = accent réservé à la page Tertiaire/ERP
   ========================================================== */

:root {
  --anthracite: #16202E;
  --anthracite-dark: #0F1822;
  --steel: #44566B;
  --steel-dark: #34434F;
  --petrol: #11514A;
  --petrol-dark: #0C3D38;
  --orange: #E0651C;
  --orange-dark: #C05018;
  /* --navy et --navy-mid supprimés — remplacés par --anthracite (#16202E) */
  --grey: #5A5A5A;
  --grey-light: #F4F6F8;
  --white: #FFFFFF;
  --red: #C0392B;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(22, 32, 46, 0.10);
  --font-display: "Archivo", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--anthracite);
  background: var(--grey-light);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }
h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; letter-spacing: -0.5px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.3px; margin-bottom: 14px; }
h3 { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
h2 em { font-style: normal; color: var(--orange); }

.kicker {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.kicker--orange { color: var(--orange); }

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}

.section__intro { max-width: 760px; color: var(--grey); margin-bottom: 36px; }
.section--navy .section__intro,
.section--violet .section__intro { color: rgba(255, 255, 255, 0.82); }
.section__punch {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 32px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--primary { background: var(--anthracite); color: var(--white); }
.btn--primary:hover { background: var(--anthracite-dark); }
.btn--orange { background: var(--orange); color: var(--white); box-shadow: 0 4px 16px rgba(224, 101, 28, 0.35); }
.btn--orange:hover { background: var(--orange-dark); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn--ghost:hover { border-color: var(--white); }
.btn--ghost-navy { background: transparent; color: var(--anthracite); border-color: var(--anthracite); }
.btn--ghost-navy:hover { background: var(--anthracite); color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(244, 246, 248, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e6e9f0;
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.header__logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 800; font-size: 19px;
  text-decoration: none;
}
.wordmark__pro { color: var(--orange); margin-left: 1px; }
.header__nav { display: flex; gap: 26px; margin-left: auto; }
.header__nav a {
  text-decoration: none; font-weight: 600; font-size: 15px; color: var(--anthracite);
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.header__nav a:hover { border-bottom-color: var(--orange); }
.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone {
  display: flex; align-items: center; gap: 7px;
  font-weight: 700; font-size: 15px; text-decoration: none; color: var(--anthracite);
  white-space: nowrap;
}
.header__phone:hover { color: var(--orange); }
.header__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.header__burger span { display: block; width: 24px; height: 2px; background: var(--anthracite); margin: 5px 0; transition: 0.2s; }

/* ---------- Hero ---------- */
.hero {
  background: var(--anthracite);
  color: var(--white);
  padding: 88px 0 64px;
  position: relative;
  overflow: hidden;
}
.hero h1 { max-width: 860px; }
.hero__sub { max-width: 720px; margin: 22px 0 30px; font-size: 19px; color: rgba(255, 255, 255, 0.88); }
.hero__sub strong { color: var(--orange); }
.hero__cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__cta .btn { text-align: center; }
.hero__meta { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.hero__footnote { margin-top: 12px; font-size: 12px; color: rgba(255, 255, 255, 0.45); }
/* ── Hero background photo ── */
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 0;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg,
      #16202E 0%,
      rgba(22,32,46,0.92) 35%,
      rgba(22,32,46,0.55) 70%,
      rgba(22,32,46,0.35) 100%),
    linear-gradient(180deg,
      rgba(22,32,46,0.30) 0%,
      rgba(22,32,46,0.10) 50%,
      rgba(22,32,46,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; }
@media (max-width: 768px) {
  .hero__overlay {
    background:
      linear-gradient(90deg,
        rgba(22,32,46,0.75) 0%,
        rgba(22,32,46,0.75) 60%,
        rgba(22,32,46,0.55) 100%),
      linear-gradient(180deg,
        rgba(22,32,46,0.40) 0%,
        rgba(22,32,46,0.15) 50%,
        rgba(22,32,46,0.65) 100%);
  }
  .hero__bg { object-position: 60% 30%; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; }
}
.hero h1 .accent-flamme { color: #E0651C; }
.hero--tertiaire .hero__overlay {
  background:
    linear-gradient(90deg,
      rgba(22,32,46,0.97) 0%,
      rgba(22,32,46,0.82) 45%,
      rgba(22,32,46,0.48) 100%),
    linear-gradient(180deg,
      rgba(22,32,46,0.12) 0%,
      rgba(22,32,46,0.22) 55%,
      rgba(22,32,46,0.68) 100%);
}

.trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 52px;
}
.trust li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 18px 20px;
}
.trust strong {
  display: block;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
  min-height: 2.4em;
}
.trust span { font-size: 13.5px; color: rgba(255, 255, 255, 0.78); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section--alt { background: var(--grey-light); }
.section--navy { background: var(--anthracite); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
/* Séparateur subtil entre deux sections --navy consécutives (étude de cas → track-record) */
#references { border-top: 1px solid rgba(255, 255, 255, 0.08); }
/* Hairlines entre sections claires consécutives */
#avantages,
#financeurs,
#specialiste { border-top: 1px solid rgba(22, 32, 46, 0.10); }
/* Lisibilité : textes secondaires sur fond sombre */
.section--navy .counter__detail,
.section--navy .logos__title,
.section--navy .logos__note { color: rgba(255, 255, 255, 0.60); }
.section--violet {
  background: var(--steel);
  color: var(--white);
}
.section--violet h2, .section--violet h3 { color: var(--white); }
.section__cta { text-align: center; margin-top: 48px; }
.section__cta p { font-family: var(--font-display); font-size: 20px; font-weight: 700; margin-bottom: 16px; }

/* ---------- Grilles & cartes ---------- */
.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); margin-top: 40px; }
.card-group-label { display: none; }

.card {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: var(--orange);
}
.card p { color: var(--grey); font-size: 15.5px; }
.card__num {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  color: var(--anthracite);
  margin-right: 6px;
}
.card__num--hot { color: var(--orange); }
.card__num--cold { color: #4a72b0; }
.card__tag {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.card--lever h3 { font-size: 20px; }
.card--dark {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}
.card--dark h3 { color: var(--white); }
.card--dark p { color: rgba(255, 255, 255, 0.82); }
.card--anthracite {
  background: var(--anthracite);
  border-color: rgba(255, 255, 255, 0.14);
}
.card--anthracite h3 { color: var(--white); }
.card--anthracite p { color: rgba(255, 255, 255, 0.82); }
.card--sector a {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--orange);
  text-decoration: none;
}
.card--sector a:hover { text-decoration: underline; }

/* ---------- Schéma avant/après ---------- */
.schema {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  margin: 36px 0 12px;
}
.schema__panel {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.schema__label { font-family: var(--font-display); font-weight: 700; font-size: 15px; margin-bottom: 10px; }
.schema__panel--before .schema__label { color: var(--red); }
.schema__panel--after .schema__label { color: #1d7a3e; }
.schema__arrow { font-size: 34px; font-weight: 800; color: var(--orange); }
.schema__temp { font: 800 20px var(--font-display); fill: var(--anthracite); }
.schema__temp--hot { fill: #b35a00; }
.schema__temp--cold { fill: #2d5288; }
.schema__temp--even { fill: var(--anthracite); }
.schema__caption { font: 400 11px var(--font-body); fill: var(--grey); }

/* ---------- Cas client ---------- */
.case { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px; }
.case__col {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 30px;
}
.case__heading {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.case__sub { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; margin-bottom: 22px; }
.case__specs div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.case__specs dt { color: rgba(255, 255, 255, 0.7); font-size: 14.5px; }
.case__specs dd { font-weight: 700; font-size: 14.5px; text-align: right; }
.case__results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 22px; }
.case__results strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800; color: var(--orange);
}
.case__results span { font-size: 13.5px; color: rgba(255, 255, 255, 0.75); }
.case__benefits { list-style: none; }
.case__benefits li { padding: 5px 0; font-size: 15px; }

/* ---------- Compteurs ---------- */
.counters {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin: 44px 0 60px;
}
.counter { text-align: center; }
.counter strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: #E0651C;
  white-space: nowrap;
}
.counter strong .js-count { color: #E0651C; }
.counter__label { display: block; font-weight: 700; font-size: 15px; margin-top: 6px; }
.counter__detail { display: block; font-size: 13px; color: var(--grey); margin-top: 4px; }

/* ---------- Logos ---------- */
.logos__title { text-align: center; font-size: 18px; font-weight: 700; margin-bottom: 28px; color: var(--grey); }
.logos { overflow: hidden; position: relative; }
.logos__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-logos 28s linear infinite;
}
.logos:hover .logos__track { animation-play-state: paused; }
.logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  flex-shrink: 0;
  margin-right: 36px;
}
.logo-card img {
  height: 46px;
  width: auto;
  max-width: 164px;
  object-fit: contain;
  display: block;
}
.logo-card img.logo-img--square    { height: 58px; }
.logo-card img.logo-img--square-lg { height: 68px; max-width: 164px; }
.logo-card img.logo-img--tall      { height: 60px; max-width: 168px; }
.logo-card img.logo-img--wide      { height: 44px; max-width: 170px; }
.logo-card img.logo-img--xwide     { height: 38px; max-width: 180px; }
@keyframes scroll-logos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.logos__note { text-align: center; font-size: 13.5px; color: var(--grey); max-width: 680px; margin: 26px auto 0; }

/* ---------- Méthode (étapes) ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: step;
}
.steps li {
  background: var(--white);
  border: 1px solid #e6e9f0;
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.steps li:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  border-color: var(--orange);
}
.steps__num {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 800;
  color: var(--orange);
  opacity: 0.35;
  display: block;
  margin-bottom: 8px;
}
.steps h3 { font-size: 18px; }
.steps p { font-size: 14px; color: var(--grey); }

/* ---------- Financement CEE ---------- */
.checklist { list-style: none; margin-bottom: 36px; max-width: 720px; }
.checklist li {
  padding: 12px 0 12px 34px;
  position: relative;
  font-size: 17.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.checklist li::before {
  content: "✔";
  position: absolute; left: 0;
  color: var(--orange);
  font-weight: 800;
}
.financement__sub {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 700;
  margin-bottom: 20px;
}
.financement__note { margin-top: 26px; font-size: 15px; color: rgba(255, 255, 255, 0.85); }


/* ---------- FAQ teaser ---------- */
.faq { max-width: 820px; }
.faq details {
  border: 1px solid #e6e9f0;
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.faq summary {
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq summary::after {
  content: "+";
  position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--orange); font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 22px 18px; color: var(--grey); font-size: 15.5px; }
.faq__more { margin-top: 20px; }
.faq__more a { font-weight: 700; color: var(--orange); text-decoration: none; }
.faq__more a:hover { text-decoration: underline; }

/* ---------- Contact direct ---------- */
.section--contact { background: var(--grey-light); padding: 64px 0; }
.contact__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.contact__inner h2 { font-size: clamp(22px, 2.8vw, 30px); }
.contact__inner p { color: var(--grey); max-width: 520px; }
.contact__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--anthracite-dark); color: rgba(255, 255, 255, 0.78); font-size: 14.5px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding: 56px 24px 40px;
}
.footer__brand { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--white); margin-bottom: 10px; }
.footer__title { font-family: var(--font-display); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.footer p { margin-bottom: 8px; }
.footer a { display: block; color: rgba(255, 255, 255, 0.78); text-decoration: none; padding: 4px 0; }
.footer a:hover { color: var(--orange); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 20px 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- Sticky CTA mobile ---------- */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  background: var(--white);
  border-top: 1px solid #e6e9f0;
  padding: 10px 16px;
  gap: 10px;
  box-shadow: 0 -4px 20px rgba(27, 43, 94, 0.12);
}
.sticky-cta .btn { flex: 1; text-align: center; }

/* ---------- Modale ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; overflow-y: auto; padding: 40px 16px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: fixed; inset: 0; background: rgba(14, 24, 56, 0.72); }
.modal__box {
  position: relative;
  background: var(--white);
  border-radius: 14px;
  max-width: 680px;
  width: 100%;
  padding: 38px;
  z-index: 1;
}
.modal__box > p { color: var(--grey); margin-bottom: 22px; }
.modal__close {
  position: absolute; top: 16px; right: 16px;
  background: none; border: none;
  font-size: 20px; cursor: pointer; color: var(--grey);
  padding: 8px;
}
.modal__close:hover { color: var(--anthracite); }

#leadForm label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 14px; }
#leadForm input, #leadForm select, #leadForm textarea {
  width: 100%;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #cfd6e4;
  border-radius: 8px;
  font: inherit; font-size: 15px;
}
#leadForm input:focus, #leadForm select:focus, #leadForm textarea:focus { outline: 2px solid var(--orange); border-color: var(--orange); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__step {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--steel);
  margin: 20px 0 14px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--grey-light);
}
.form__step small { font-weight: 400; color: var(--grey); }
.form__privacy { font-size: 12.5px; color: var(--grey); margin-top: 14px; }
.form__privacy a { color: var(--steel); }
.hp { position: absolute; left: -9999px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .header__nav {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #e6e9f0;
    padding: 8px 24px 16px;
    z-index: 999;
  }
  .header__nav.is-open { display: flex !important; z-index: 1000; box-shadow: 0 8px 24px rgba(22,32,46,0.12); }
  .header__nav a { padding: 13px 0; border-bottom: 1px solid var(--grey-light); }
  .header__burger { display: block; }
  .header__phone { display: none; }

  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .schema { grid-template-columns: 1fr; }
  .schema__arrow { transform: rotate(90deg); justify-self: center; }
  .case { grid-template-columns: 1fr; }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 48px; }

  .sticky-cta { display: flex; }
  body { padding-bottom: 64px; }
}

@media (max-width: 560px) {
  .grid--4 { grid-template-columns: 1fr; }
  .counters { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .modal__box { padding: 26px 20px; }
  .card-group-label {
    display: block;
    grid-column: 1 / -1;
    width: 100%;
    margin: 8px 0 4px;
    padding-bottom: 8px;
    border-bottom: 1.5px solid rgba(22, 32, 46, 0.18);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--anthracite);
  }
}

/* ==========================================================
   Page Tertiaire & ERP — composants spécifiques
   ========================================================== */

/* Breadcrumb */
.breadcrumb { font-size: 13.5px; color: rgba(255,255,255,0.6); margin-bottom: 26px; }
.breadcrumb a { color: rgba(255,255,255,0.6); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: rgba(255,255,255,0.9); }

/* Badges (puces de réassurance courtes) */
.badges { list-style: none; display: flex; gap: 22px; flex-wrap: wrap; margin-top: 22px; }
.badges li { font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,0.85); }
.badges--navy li { color: var(--anthracite); }

/* Timeline DEET */
.timeline__title {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange);
  margin: 48px 0 22px;
}
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 21px; left: 6%; right: 6%;
  height: 2px;
  background: rgba(255,255,255,0.25);
}
.timeline li { text-align: center; position: relative; padding-top: 50px; }
.timeline__year {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800; font-size: 14.5px;
  padding: 9px 16px;
  border-radius: 999px;
}
.timeline strong {
  display: block;
  font-family: var(--font-display);
  font-size: 32px; font-weight: 800;
  color: var(--white);
}
.timeline span:last-child { font-size: 13.5px; color: rgba(255,255,255,0.72); }

/* Section solution (texte + visuel) */
.solution {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.solution p { color: var(--grey); margin-bottom: 16px; }
.solution img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* Cartes sous-secteurs (avec visuel) */
.card--subsector { padding: 0; overflow: hidden; }
.card--subsector img { display: block; width: auto; max-height: 230px; margin-inline: auto; object-fit: contain; }
.card--subsector .card__tag { margin: 20px 24px 8px; }
.card--subsector h3 { margin: 0 24px 8px; }
.card--subsector p:last-child { margin: 0 24px 22px; }
@media (max-width: 768px) {
  .card--subsector img { max-height: 260px; }
}

/* Cartes études de cas (avec photo) */
.case-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
  display: flex; flex-direction: column;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.case-card__media { position: relative; overflow: hidden; }
.case-card__media > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.case-card__overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg,
    rgba(22,32,46,0.10) 0%,
    rgba(22,32,46,0.08) 45%,
    rgba(22,32,46,0.70) 100%);
}
.case__badge {
  position: absolute; bottom: 12px; left: 14px;
  background: var(--orange); color: var(--white);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.6px; text-transform: uppercase;
  padding: 4px 11px; border-radius: 20px; line-height: 1.5;
}
.case-card__body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.case-card__intro { min-height: 150px; box-sizing: border-box; }
.case-card__identity {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 14px; margin-bottom: 10px;
}
.case-card__identity .case__sub { margin-bottom: 0; }
.case__logo {
  flex-shrink: 0; background: #fff; border-radius: 8px;
  padding: 7px 11px; display: flex;
  align-items: center; justify-content: center;
}
.case__logo img { height: 36px; width: auto; object-fit: contain; aspect-ratio: unset; }
.case__lm3note {
  font-style: italic; font-size: 13.5px;
  color: rgba(255,255,255,0.58);
  margin: 0 0 16px; line-height: 1.45;
}
.case__kpi {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  background: rgba(255,255,255,0.04);
  border-radius: calc(var(--radius) - 4px); padding: 16px;
}
.case__kpi-cell { display: flex; flex-direction: column; gap: 3px; }
.case__kpi-cell strong { display: block; font-family: var(--font-display); line-height: 1.1; }
.case__kpi-cell span { font-size: 12.5px; color: rgba(255,255,255,0.60); line-height: 1.3; }
.case__kpi-cell--money strong { font-size: 34px; font-weight: 800; color: var(--orange); }
.case__kpi-cell--scope strong { font-size: 22px; font-weight: 500; color: rgba(255,255,255,0.90); }
.case__kpi sup { font-size: 0.55em; vertical-align: super; line-height: 0; }
.casegrid { margin-top: 40px; }

/* Réassurance sous CTA FAQ */
.faq__reassurance { font-size: 13.5px; color: var(--grey); margin-top: 14px; font-family: var(--font-body); font-weight: 400; }

@media (max-width: 860px) {
  .solution { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
}

/* ==========================================================
   Page Tertiaire & ERP — accent vert pétrole
   (le hero et les autres sections sombres restent anthracite
    pour la cohérence ; seules les bandes signature passent
    en pétrole : Décret Tertiaire + Financement CEE)
   ========================================================== */
body.page-tertiaire #deet,
body.page-tertiaire #cee { background: var(--petrol); }
body.page-tertiaire #cee { padding-bottom: 52px; }

/* ════════════════════════════════════════════════════════════
   CORRECTIONS VISUELLES SIMULATEUR — surcharge ciblée
   (3 points : contraste panneaux · chiffres € · alignement CTA)
   Aucune classe utilisée par le JS n'est renommée. Style seul.
   ════════════════════════════════════════════════════════════ */

/* ── 1. CONTRASTE : détacher franchement les panneaux du fond navy ── */
.simulator-form {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.simulator-result {
  background: linear-gradient(180deg, rgba(232, 117, 10, 0.10) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(232, 117, 10, 0.55);
  box-shadow: 0 0 0 1px rgba(232, 117, 10, 0.22), 0 24px 64px rgba(0, 0, 0, 0.34);
}

/* ── 2. CHIFFRES : le montant € en orange, dominant ── */
.simulator-result #sim-savings.sim-kpi-cell-value-lg {
  color: var(--orange);
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -2.5px;
  font-weight: 900;
  text-shadow: 0 2px 24px rgba(232, 117, 10, 0.30);
}
.simulator-result #sim-pct.sim-kpi-cell-value {
  font-size: 46px;
  letter-spacing: -2px;
}
.simulator-result .sim-kpi-stack > .sim-kpi-cell-full:first-child {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 4px;
}
.simulator-result .sim-kpi-hint { color: rgba(255, 255, 255, 0.50); }

/* ── 3. ALIGNEMENT CTA (desktop 2 colonnes uniquement) ── */
@media (min-width: 881px) {
  .simulator-form,
  .simulator-result {
    position: relative;
    padding-bottom: 62px;
  }
  .simulator-form .sim-form-note--centered,
  .simulator-result .sim-disclaimer--mt {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  .sim-trust {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 16px;
    margin: 0;
  }
}
.sim-trigger,
.sim-cta {
  min-height: 54px;
  padding: 16px 24px;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 14.5px;
}
    /* ── SIMULATEUR ── */
    .simulator {
      background: var(--anthracite);
      padding: 96px 0 100px;
      position: relative;
      overflow: hidden;
    }
    .simulator::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(circle at 85% 0%, rgba(232,117,10,0.10), transparent 50%),
        radial-gradient(circle at 0% 100%, rgba(232,117,10,0.06), transparent 45%);
      pointer-events: none;
    }
    .simulator-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 32px;
      position: relative;
      z-index: 2;
    }
    .simulator-header { text-align: center; margin-bottom: 48px; }
    .simulator-header .section-tag {
      font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
      font-weight: 700; color: var(--orange); display: inline-block; margin-bottom: 14px;
    }
    .simulator-header h2 {
      font-size: clamp(28px, 3vw, 42px); font-weight: 900; color: #fff;
      letter-spacing: -1px; line-height: 1.15; margin: 0 0 14px; text-wrap: balance;
    }
    .simulator-header p {
      font-size: 16px; color: rgba(255,255,255,0.65); line-height: 1.6;
      max-width: 640px; margin: 0 auto;
    }
    .simulator-grid {
      display: grid; grid-template-columns: 1fr 1fr; gap: 28px;
      align-items: stretch;
    }
    .simulator-form, .simulator-result {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(255,255,255,0.10);
      border-radius: 10px;
      padding: 32px;
      display: flex; flex-direction: column; gap: 18px;
    }
    .simulator-result {
      border-color: rgba(232,117,10,0.45);
      box-shadow: 0 0 0 1px rgba(232,117,10,0.15), 0 20px 60px rgba(0,0,0,0.25);
      background: linear-gradient(180deg, rgba(232,117,10,0.05) 0%, rgba(255,255,255,0.02) 100%);
    }
    .simulator-form-eyebrow, .simulator-result-eyebrow {
      font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
      font-weight: 700; color: rgba(255,255,255,0.45); margin-bottom: 6px;
    }
    .simulator-result-eyebrow { color: var(--orange); }
    .simulator-result-title {
      font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -0.5px;
      margin: -4px 0 4px;
    }
    /* ── SIMULATOR FIELDS ── */
    .sim-field { display: flex; flex-direction: column; gap: 6px; }
    .sim-field label {
      font-size: 11.5px; font-weight: 700; color: rgba(255,255,255,0.65);
      letter-spacing: 0.3px; text-transform: uppercase;
    }
    .sim-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
    .sim-field input, .sim-field select {
      width: 100%; padding: 11px 14px;
      background: rgba(255,255,255,0.05);
      border: 1px solid rgba(255,255,255,0.14);
      border-radius: 6px;
      color: #fff; font-size: 14px; font-family: 'Inter', sans-serif;
      transition: border-color 0.18s;
    }
    .sim-field input::placeholder { color: rgba(255,255,255,0.25); }
    .sim-field input:focus, .sim-field select:focus {
      outline: none; border-color: var(--orange);
    }
    .sim-field select {
      appearance: none;
      background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.5) 50%), linear-gradient(135deg, rgba(255,255,255,0.5) 50%, transparent 50%);
      background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
      background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-right: 32px;
    }
    .sim-field select option { background: var(--anthracite); color: #fff; }
    .sim-optional { color: rgba(255,255,255,0.35); font-weight: 500; text-transform: none; letter-spacing: 0; }
    .sim-required { color: var(--orange); }
    .sim-form-note {
      font-size: 11.5px; color: rgba(255,255,255,0.4); line-height: 1.5; margin-top: 2px;
    }
    /* Note collée après le dernier champ, CTA poussé en bas */
    .simulator-form .sim-form-note { margin-top: 20px; margin-bottom: 18px; }
    .simulator-form .sim-trigger { margin-top: 0; }
    /* Disclaimer après KPIs, CTA poussé en bas */
    .simulator-result .sim-disclaimer { margin-top: 16px; margin-bottom: 18px; }
    .simulator-result .sim-cta { margin-top: 0; }
    /* ── KPI STACK ── */
    .sim-kpi-grid { display: flex; flex-direction: column; margin-top: 4px; }
    /* ── KPI 2x2 GRID ── */
    .sim-kpi-2x2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      position: relative;
    }
    /* ── KPI vertical stack with split last row ── */
    .sim-kpi-stack { display: flex; flex-direction: column; }
    .sim-kpi-stack > .sim-kpi-cell-full {
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .sim-kpi-stack > .sim-kpi-cell-full:first-child { padding-top: 0; }
    .sim-kpi-stack > .sim-kpi-cell:first-child { padding-top: 0; }
    .sim-kpi-cell-fixed { min-height: 90px; }
    .sim-kpi-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
    }
    .sim-kpi-row::after {
      content: '';
      position: absolute;
      left: 50%;
      top: 0; bottom: 0;
      width: 1px;
      background: rgba(255,255,255,0.07);
      pointer-events: none;
    }
    .sim-kpi-row > .sim-kpi-cell:first-child::after { content: none; }
    .sim-kpi-cell-value-lg {
      font-size: 34px;
      line-height: 1.05;
    }
    @media (max-width: 540px) {
      .sim-kpi-row { grid-template-columns: 1fr; }
      .sim-kpi-row > .sim-kpi-cell:first-child::after { display: none; }
      .sim-kpi-row > .sim-kpi-cell:first-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
    }
    .sim-kpi-cell {
      padding: 14px 20px;
      display: flex; flex-direction: column; gap: 5px;
      position: relative;
      min-width: 0;
    }
    /* Subtle dividers between cells (vertical + horizontal) */
    .sim-kpi-cell:nth-child(odd)::after {
      content: '';
      position: absolute;
      right: 0; top: 14px; bottom: 14px;
      width: 1px;
      background: rgba(255,255,255,0.07);
    }
    .sim-kpi-cell:nth-child(-n+2) {
      border-bottom: 1px solid rgba(255,255,255,0.07);
    }
    .sim-kpi-cell:nth-child(odd) { padding-left: 4px; }
    .sim-kpi-cell:nth-child(even) { padding-right: 4px; }
    .sim-kpi-underline {
      width: 20px; height: 2px;
      background: var(--orange);
      border-radius: 1px;
      margin: 2px 0 4px;
    }
    .sim-kpi-cell-value {
      font-size: 26px;
      font-weight: 900;
      letter-spacing: -0.8px;
      line-height: 1.1;
      font-variant-numeric: tabular-nums;
    }
    @media (max-width: 540px) {
      .sim-kpi-2x2 { grid-template-columns: 1fr; }
      .sim-kpi-cell:nth-child(odd)::after { display: none; }
      .sim-kpi-cell { border-bottom: 1px solid rgba(255,255,255,0.07) !important; padding-left: 4px !important; padding-right: 4px !important; }
      .sim-kpi-cell:last-child { border-bottom: none !important; }
    }
    .sim-kpi {
      padding: 16px 0;
      border-bottom: 1px solid rgba(255,255,255,0.08);
      display: flex; flex-direction: column; gap: 3px;
    }
    .sim-kpi:first-child { padding-top: 0; }
    .sim-kpi-primary { padding-bottom: 20px; }
    .sim-kpi-label {
      font-size: 10.5px; font-weight: 700; letter-spacing: 1.8px;
      text-transform: uppercase; color: rgba(255,255,255,0.5);
    }
    .sim-kpi-value {
      font-size: 40px; font-weight: 900; color: var(--orange);
      letter-spacing: -1.5px; line-height: 1.05;
      font-variant-numeric: tabular-nums;
    }
    .sim-kpi-value-white { color: #fff; }
    .sim-pct-suffix { font-size: 0.6em; font-weight: 800; letter-spacing: 0; margin-left: 6px; opacity: 0.85; }
    .sim-kpi-row .sim-kpi-cell .sim-kpi-value { font-size: 46px; letter-spacing: -2px; }
    .sim-kpi-value-sm { font-size: 28px; letter-spacing: -1px; }
    .sim-kpi-hint { font-size: 12px; color: rgba(255,255,255,0.45); }
    /* CEE block */
    .sim-kpi-cee {
      margin-top: 12px;
      border: none;
      background: rgba(92,203,114,0.07);
      border-radius: 8px;
      border: 1px solid rgba(92,203,114,0.2);
      padding: 13px 20px;
    }
    .sim-kpi-underline--green { background: #10b981; }
    .sim-kpi-cee-pct { font-size: 2.2rem; letter-spacing: -1.5px; line-height: 1.1; margin-top: 6px; }
    .sim-kpi-cee .sim-kpi-hint { margin-top: 5px; }
    .sim-kpi-value-green { color: #5ccb72 !important; }
    .sim-kpi-fullwidth { width: 100%; }
    /* CP error */
    #sim-cp.cp-error { border-color: #ff4d4d !important; box-shadow: 0 0 0 2px rgba(255,77,77,0.18); }
    /* Disclaimer */
    .sim-disclaimer {
      font-size: 11.5px; color: rgba(255,255,255,0.40);
      line-height: 1.5; margin: 6px 0 0; text-align: center; font-style: italic;
    }
    /* CTA */
    .sim-cta {
      margin-top: auto; width: 100%;
      background: var(--orange); color: #fff; font-size: 14.5px; font-weight: 800;
      letter-spacing: 0.2px; border: none; border-radius: 6px; padding: 16px 22px;
      cursor: pointer; font-family: 'Inter', sans-serif;
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
      box-shadow: 0 8px 24px rgba(232,117,10,0.25);
    }
    .sim-cta:hover { background: var(--orange-dark); transform: translateY(-1px); box-shadow: 0 12px 28px rgba(232,117,10,0.35); }
    /* Trust */
    .sim-trust { display: flex; align-items: center; gap: 8px; font-size: 11.5px; color: rgba(255,255,255,0.5); justify-content: center; margin-top: 16px; }
    .sim-trust-dot { width: 6px; height: 6px; border-radius: 50%; background: #18c47c; box-shadow: 0 0 8px rgba(24,196,124,0.6); flex-shrink: 0; }
    /* Ghost trigger */
    .sim-trigger {
      display: flex; align-items: center; justify-content: center; gap: 8px;
      margin-top: 20px; width: 100%; padding: 13px 24px;
      background: transparent; border: 1px solid var(--orange);
      color: var(--orange); border-radius: 8px;
      font-size: 0.88rem; font-weight: 600; letter-spacing: 0.03em;
      cursor: pointer; transition: background 0.2s ease;
    }
    .sim-trigger:hover { background: rgba(232,117,10,0.10); }
    .sim-trigger svg { flex-shrink: 0; }
    /* Fade-in */
    @keyframes simFadeIn { from { opacity:0; transform:translateY(5px); } to { opacity:1; transform:none; } }
    .sim-results-ready .sim-kpi { animation: simFadeIn 0.3s ease forwards; }
    .sim-results-ready .sim-kpi:nth-child(2) { animation-delay: 0.06s; }
    .sim-results-ready .sim-kpi:nth-child(3) { animation-delay: 0.12s; }
    .sim-results-ready .sim-kpi:nth-child(4) { animation-delay: 0.18s; }
    @media (max-width: 880px) {
      .simulator { padding: 64px 0 72px; }
      .simulator-grid { grid-template-columns: 1fr; }
      .simulator-form, .simulator-result { padding: 24px; }
      .sim-field-row { grid-template-columns: 1fr; }
      .sim-kpi-value { font-size: 32px; }
    }

  /* ── MODAL ── */
  .modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.72);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
  }
  .modal-overlay.open { display: flex; }

  .modal {
    background: #0b1929;
    color: #e2e8f0;
    border-radius: 16px;
    padding: 0;
    max-width: 1100px;
    width: 95vw;
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 0;
    max-height: 92vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.03);
  }

  .modal-close {
    position: absolute;
    top: 16px; right: 16px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    color: rgba(255,255,255,0.45);
    line-height: 1;
    padding: 6px 9px;
    transition: background 0.15s, color 0.15s;
  }
  .modal-close:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
  }

  /* ── Panneau gauche : accroche (badge + titre + sous-titre) ── */
  .modal-header {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 32px 24px;
    border-right: 1px solid rgba(255,255,255,0.06);
  }

  .modal-overlay .modal > form {
    padding: 36px 40px 40px;
    min-width: 0;
  }

  .modal-tag {
    display: flex; align-items: flex-start; gap: 8px;
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: #e8750a; margin-bottom: 0;
    line-height: 1.4;
    white-space: nowrap;
  }
  .modal-tag::before {
    content: '';
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #e8750a; flex-shrink: 0;
    margin-top: 3px;
  }

  .modal h2 {
    font-size: 20px; font-weight: 700;
    color: #fff;
    line-height: 1.25;
    text-wrap: balance;
    margin-top: 12px;
  }
  .modal-subtitle {
    font-size: 13px; color: #94A3B8;
    line-height: 1.5;
    margin-top: 10px;
  }

  /* ── Corps : 2 colonnes permanentes ── */
  .modal-body-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 28px;
  }

  .modal-col-left,
  .modal-col-right {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
  }

  /* ── En-têtes de section ── */
  .form-section-head {
    display: flex; align-items: center; gap: 10px;
    margin-bottom: 18px;
  }
  .form-section-num {
    width: 22px; height: 22px; border-radius: 50%;
    background: rgba(232,117,10,0.15);
    border: 1px solid rgba(232,117,10,0.45);
    color: #e8750a;
    font: 700 11px/1 -apple-system, BlinkMacSystemFont, sans-serif;
    display: inline-flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .form-section-title {
    font-size: 10px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(226,232,240,0.65);
  }
  .form-section-hint {
    margin-left: auto; font-size: 10px;
    color: rgba(226,232,240,0.30); font-style: italic;
  }

  /* ── Lignes et groupes ── */
  .form-row {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .form-group {
    display: flex; flex-direction: column;
    gap: 0; margin-bottom: 12px;
  }
  .form-group label {
    font-size: 10px; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase;
    color: rgba(226,232,240,0.50);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
  }
  .form-label-opt {
    color: rgba(226,232,240,0.28);
    font-weight: 500; text-transform: none;
    letter-spacing: 0; font-size: 10px;
  }

  /* ── Inputs & textarea ── */
  .form-group input,
  .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 7px;
    padding: 10px 13px;
    font-size: 14px; color: #e2e8f0;
    outline: none; font-family: inherit;
    transition: border-color 0.15s, background 0.15s;
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(226,232,240,0.20);
  }
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: rgba(232,117,10,0.70);
    background: rgba(232,117,10,0.04);
    box-shadow: 0 0 0 3px rgba(232,117,10,0.08);
  }
  .form-group textarea {
    resize: vertical; min-height: 84px; line-height: 1.5;
  }

  /* ── Select personnalisé (pas de look navigateur) ── */
  .form-group select {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 7px;
    padding: 10px 36px 10px 13px;
    font-size: 14px; color: #e2e8f0;
    outline: none; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    font-family: inherit;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='rgba%28226%2C232%2C240%2C0.4%29' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.15s;
  }
  .form-group select option {
    background: #112240; color: #e2e8f0;
  }
  .form-group select:focus {
    border-color: rgba(232,117,10,0.70);
    box-shadow: 0 0 0 3px rgba(232,117,10,0.08);
  }

  /* ── Séparateur entre sections (non utilisé dans la nouvelle structure, conservé par sécurité) ── */
  .form-section + .form-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  /* ── Bouton envoi (colonne droite, bas) ── */
  .form-submit {
    width: 100%; background: #e8750a; color: #fff;
    border: none; border-radius: 8px;
    padding: 15px; font-size: 15px; font-weight: 800;
    cursor: pointer; margin-top: 4px;
    letter-spacing: 0.1px;
    transition: background 0.18s, transform 0.10s;
  }
  .form-submit:hover { background: #cf6508; }
  .form-submit:active { transform: scale(0.99); }

  .form-note {
    font-size: 11px; color: rgba(226,232,240,0.28);
    text-align: center; margin-top: 10px; line-height: 1.5;
  }
  .form-note.form-note-pdf {
    color: rgba(226,232,240,0.35) !important;
    font-size: 11px; line-height: 1.55;
  }

  /* ── Panneau résumé simulation (colonne gauche, mode simulateur) ── */
  #modal-recap-panel { display: none; }
  .modal--simulator #modal-recap-panel {
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 22px 18px 20px;
  }

  /* ── Contenu du panneau recap ── */
  .recap-panel-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 9.5px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase;
    color: #e8750a; margin-bottom: 16px;
  }
  .recap-panel-title::before {
    content: '';
    display: inline-block; width: 6px; height: 6px;
    border-radius: 50%; background: #e8750a; flex-shrink: 0;
  }
  .recap-savings-banner {
    background: rgba(232,117,10,0.10);
    border: 1px solid rgba(232,117,10,0.28);
    border-radius: 10px; padding: 16px 14px 14px;
    margin-bottom: 14px; text-align: center;
  }
  .recap-savings-banner-label {
    font-size: 9px; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
    color: rgba(226,232,240,0.45); margin-bottom: 6px;
  }
  .recap-savings-banner-value {
    font-size: 26px; font-weight: 900;
    color: #e8750a; line-height: 1;
    font-variant-numeric: tabular-nums; letter-spacing: -0.5px;
  }
  .recap-savings-banner-value .recap-kpi-unit {
    font-size: 14px; font-weight: 500;
    color: rgba(232,117,10,0.65); margin-left: 3px;
  }
  .recap-kpi-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 8px; margin-bottom: 16px;
  }
  .recap-kpi {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 16px 10px 14px;
  }
  .recap-kpi-label {
    font-size: 9.5px; font-weight: 700;
    letter-spacing: 0.7px; text-transform: uppercase;
    color: rgba(226,232,240,0.38); margin-bottom: 5px;
  }
  .recap-kpi-value {
    font-size: 20px; font-weight: 800;
    color: #fff; line-height: 1;
    font-variant-numeric: tabular-nums;
  }
  .recap-kpi-value.accent { color: #e8750a; }
  .recap-kpi-unit {
    font-size: 11px; font-weight: 400;
    color: rgba(226,232,240,0.42); margin-left: 2px;
  }
  .recap-data-rows {
    display: flex; flex-direction: column; gap: 11px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 14px; flex: 1;
    justify-content: space-between;
  }
  .recap-data-row {
    display: flex; justify-content: space-between;
    align-items: baseline; gap: 8px; font-size: 12px;
  }
  .recap-data-label { color: rgba(226,232,240,0.38); flex-shrink: 0; }
  .recap-data-value {
    color: #e2e8f0; font-weight: 600;
    text-align: right; font-variant-numeric: tabular-nums;
  }
  .recap-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(22,163,74,0.12);
    border: 1px solid rgba(34,197,94,0.28);
    color: #4ade80; font-size: 10px; font-weight: 700;
    letter-spacing: 0.7px; text-transform: uppercase;
    padding: 5px 10px; border-radius: 20px;
    margin-top: 12px; width: fit-content;
  }
  .recap-badge::before {
    content: ''; width: 5px; height: 5px;
    border-radius: 50%; background: #4ade80; flex-shrink: 0;
  }
  .recap-footer-note {
    font-size: 10px; color: rgba(226,232,240,0.25);
    margin-top: 14px; line-height: 1.5;
  }

  /* ── Responsive ── */
  @media (max-width: 768px) {
    .modal { grid-template-columns: 1fr; }
    .modal-header { padding: 24px 20px 16px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .modal-overlay .modal > form { padding: 20px 20px 28px; }
    .modal-body-cols { grid-template-columns: 1fr; gap: 16px; }
    .form-row { grid-template-columns: 1fr; }
  }

    /* ────────────────────────────────────────── */
    /* ── MOBILE LAYOUT FIXES (≤ 768px) ──         */
    /* ────────────────────────────────────────── */
    @media (max-width: 768px) {
      /* Header & nav */
      .header-inner { padding: 0 16px !important; height: 60px !important; gap: 8px !important; }
      .logo-text { font-size: 17px !important; }
      nav { display: none !important; }
      .header-cta { font-size: 11px !important; padding: 9px 13px !important; letter-spacing: 0.3px !important; }

      /* Hero */
      .hero { min-height: auto !important; padding: 50px 0 40px !important; }

      /* Section paddings: tighten on mobile */
      .perf-inner,
      .processus-inner,
      .cas-client-inner,
      .reassurance-inner,
      .avantages-inner,
      .ps-inner,
      .pourquoi-agir-inner,
      .simulator-inner,
      .cee-inner,
      .footer-inner { padding-left: 20px !important; padding-right: 20px !important; }

      /* Section titles */
      .section-title { font-size: 26px !important; padding: 0 4px; }
      .section-tag { font-size: 10px !important; letter-spacing: 1.2px !important; }

      /* Reassurance band: 2x2 */
      .reassurance-grid { grid-template-columns: 1fr 1fr !important; gap: 16px !important; }

      /* Performance counters: stack 1 col */
      .perf-counters { grid-template-columns: 1fr !important; gap: 0 !important; margin-bottom: 50px !important; }
      .perf-counter { padding: 22px 12px !important; border-right: none !important; border-bottom: 1px solid rgba(255,255,255,0.08) !important; }
      .perf-counter:last-child { border-bottom: none !important; }
      .perf-counter:nth-child(4),
      .perf-counter:nth-child(5) { grid-column: auto !important; }
      .perf-counter-value { font-size: 42px !important; }
      .perf-header { margin-bottom: 40px !important; }
      .perf-header h2 { font-size: 28px !important; }

      /* Logos header */
      .perf-logos-header h3 { font-size: 13px !important; line-height: 1.5 !important; padding: 0 12px; }
      .perf-logos-header span { display: none !important; }
      .perf-references-note { font-size: 12px !important; padding: 0 8px; }

      /* Avantages: 1 column */
      .avantages-grid { grid-template-columns: 1fr !important; gap: 16px !important; }
      .avantage-card { padding: 28px 22px !important; }

      /* Schéma 2 cols → 1 col */
      .ps-explication { grid-template-columns: 1fr !important; gap: 28px !important; }
      .ps-col-divider { display: none !important; }
      .ps-schema { margin-bottom: 40px !important; }

      /* Cas client: stack */
      .cas-grid { grid-template-columns: 1fr !important; gap: 20px !important; }
      .cas-data-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
      .cas-data-card { padding: 20px 16px !important; }
      .cas-data-value { font-size: 32px !important; }
      .cas-bottom { padding: 28px 22px !important; }
      .cas-benefices { gap: 12px !important; flex-direction: column !important; align-items: flex-start !important; }
      .cas-benefice { align-items: flex-start !important; }
      .cas-cta-bloc { padding: 22px !important; text-align: center !important; flex-direction: column !important; align-items: stretch !important; gap: 14px !important; }
      .cas-cta-line { text-align: center !important; max-width: none !important; font-size: 17px !important; }
      .cas-cta-btn { font-size: 13px !important; padding: 14px 12px !important; white-space: normal !important; line-height: 1.3 !important; width: 100% !important; box-sizing: border-box !important; justify-content: center !important; flex-shrink: 1 !important; }
      .cas-fiche li { grid-template-columns: 30px 1fr auto !important; padding: 11px 18px !important; gap: 8px !important; }
      .cas-profil-header { padding: 22px 22px 16px !important; }

      /* Timeline (processus) → 1 col stack */
      .timeline { grid-template-columns: 1fr !important; gap: 12px !important; }
      .timeline::before { display: none !important; }
      .timeline-step { padding: 22px 20px !important; }

      /* Simulator: stack */
      .simulator-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
      .simulator-form,
      .simulator-result { padding: 24px 20px !important; }
      .sim-field-row { grid-template-columns: 1fr !important; gap: 12px !important; }

      /* CEE banner / Financement */
      .cee-tag { white-space: nowrap !important; }

      /* Footer: tighter */
      .footer-top { grid-template-columns: 1fr !important; gap: 28px !important; }
      .footer-bottom { flex-direction: column !important; gap: 12px !important; text-align: center !important; }

      /* Modals: full bleed */
      .modal { width: calc(100vw - 24px) !important; max-width: none !important; }
      /* Simulator modal: single column on mobile */
      .modal--simulator .modal-body-cols { grid-template-columns: 1fr !important; }
      .modal--simulator .modal-col-recap { display: none !important; }
      .modal--simulator { max-width: none !important; }
    }

    /* Very small phones */
    @media (max-width: 380px) {
      .header-cta { font-size: 10px !important; padding: 8px 10px !important; }
      .cas-data-grid { grid-template-columns: 1fr !important; }
      .reassurance-grid { grid-template-columns: 1fr !important; }
    }
/* ── REFACTORED INLINE STYLES ── */
.logo-img--zero { object-fit: contain; width: 0px }
.hero-overlay--cover { background-size: cover }
.hero-cta-meta-wrap--mt { margin: 20px 0px 0px }
.section-tag--orange { color:var(--orange);margin-bottom:14px; }
.avantages--compact { padding: 26px 0px }
.avantages-title { margin: 0px 0px 16px }
.font-size-tiny { font-size: 1px }
.margin-zero { margin: 0px }
.cas-body-note { margin-top:18px; }
.cas-tag-dark { color: rgb(13, 27, 46) }
.section-tag--orange-only { color: var(--orange); }
.simulator-result-title--top { margin: 0 0 18px; }
.sim-field-row--mt { margin-top:14px; }
.sim-form-note--centered { margin-top:14px; text-align:center; font-style:italic; }
.simulator-result-title--tight { margin: 0; }
.simulator-result-eyebrow--flush { margin-bottom:0; }
.sim-mwh-value { font-size:36px; letter-spacing:-1px; font-weight:700; line-height:1; }
.sim-disclaimer--mt { margin: 14px 0 0; }
.sim-cta--mt { margin-top:16px; margin-bottom:8px; }
.footer-logo-img--zero { width: 0px }
.footer-social-links { margin-top: 18px; }
.footer-copyright { margin-top:8px; font-size:12px; color:rgba(255,255,255,0.35); }
.hp-trap-hidden { position:absolute;left:-9999px;top:-9999px;opacity:0;width:0;height:0;z-index:-1;pointer-events:none; }
.text-dim-normal { font-weight:400;color:var(--text-dim); }
.hidden { display:none }
.label-optional { color:var(--muted);font-weight:500;text-transform:none;letter-spacing:0 }
.dot--blue { background:#5eb1ff }
.td-preview-card { border:1px solid var(--line);border-radius:10px;padding:22px 20px;background:linear-gradient(135deg,rgba(232,117,10,0.06),rgba(255,255,255,0.02)); }
.td-preview-label { font-size:10px;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--orange);margin-bottom:10px; }
.td-preview-title { font-size:22px;font-weight:800;line-height:1.2;max-width:380px;margin-bottom:10px; }
.td-preview-desc { font-size:13px;color:var(--muted-2);max-width:420px;margin-bottom:18px;line-height:1.55; }

/* ─── Validation inline simulateur ─── */
.sim-field-msg {
  display: block;
  font-size: 12px;
  color: #e74c3c;
  min-height: 16px;
  margin-top: 4px;
  line-height: 1.3;
}
.sim-field input.sim-field-error,
.sim-field select.sim-field-error {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15);
}

/* ─── Tooltip ⓘ Puissance ─── */
.sim-tooltip {
  position: relative;
  display: inline-block;
  margin-left: 4px;
  width: 16px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  font-size: 12px;
  color: #E8750A;
  cursor: help;
  user-select: none;
}
.sim-tooltip-bubble {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  padding: 8px 10px;
  background: #1B2B5E;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.4;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 100;
  pointer-events: none;
}
.sim-tooltip-bubble::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: #1B2B5E;
}
.sim-tooltip:hover .sim-tooltip-bubble,
.sim-tooltip:focus .sim-tooltip-bubble,
.sim-tooltip:focus-within .sim-tooltip-bubble {
  opacity: 1;
  visibility: visible;
}
@media (max-width: 480px) {
  .sim-tooltip-bubble {
    width: 200px;
    left: auto;
    right: 0;
    transform: none;
  }
  .sim-tooltip-bubble::after {
    left: auto;
    right: 4px;
    transform: none;
  }
}

/* ─── Recap simulateur dans le modal (page tertiaire) ─── */
.sim-recap {
  margin: 0 0 22px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(232,117,10,0.06);
  border: 1px solid rgba(232,117,10,0.30);
}
.sim-recap-head {
  display: flex; align-items: center; gap: 8px;
  font: 700 10.5px/1 -apple-system, BlinkMacSystemFont, sans-serif;
  letter-spacing: 1.2px; text-transform: uppercase;
  color: #e8750a; margin-bottom: 10px;
}
.sim-recap-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #e8750a; display: inline-block;
}
.sim-recap-body {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 18px; font-size: 12px; color: #475569;
}
.sim-recap-body strong { color: var(--anthracite); margin-left: 4px; }

/* ════════════════════════════════════════════════════════════
   SECTION SECTEURS v3 — vitrine industrie + passerelle tertiaire
   ════════════════════════════════════════════════════════════ */
.sect-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 32px; }
.sect-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid #dde1e8; border-radius: 10px; padding: 18px 20px; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.sect-tile:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(22, 32, 46, 0.08); }
.sect-ico { width: 26px; height: 26px; flex: 0 0 26px; color: var(--steel); }
.sect-tile span { font-size: 15px; font-weight: 600; color: var(--anthracite); line-height: 1.3; }
.sect-cta-wrap { text-align: center; margin-bottom: 30px; }
.sect-cta { display: inline-block; background: var(--orange); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; padding: 15px 30px; border-radius: 8px; transition: background .18s ease, transform .18s ease; }
.sect-cta:hover { background: var(--orange-dark); transform: translateY(-2px); }
.sect-bridge { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--petrol); border-radius: 12px; padding: 22px 28px; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.sect-bridge:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(17, 81, 74, 0.28); }
.sect-bridge-txt { display: flex; flex-direction: column; gap: 3px; }
.sect-bridge-txt strong { font-size: 17px; font-weight: 700; color: #fff; }
.sect-bridge-txt span { font-size: 13.5px; color: #8fb3ac; }
.sect-bridge-link { font-size: 15px; font-weight: 700; color: #f0a024; white-space: nowrap; }
@media (max-width: 880px) { .sect-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sect-grid { grid-template-columns: 1fr; } .sect-bridge { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ── SECTEURS v3 — corrections layout / couleur / espacement ── */
.secteurs { padding: 84px 0; }
.secteurs-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; }
#secteurs .section-tag { color: var(--orange); }
#secteurs .secteurs-header { margin-bottom: 48px; }
#secteurs .sect-grid { gap: 18px; margin-bottom: 40px; }
#secteurs .sect-tile { padding: 20px 22px; }
#secteurs .sect-cta-wrap { margin-bottom: 40px; }

/* ── SECTEURS v3 — ajustements visuels ── */
#secteurs { background: #f6f7f9; }
/* kicker identique aux autres sections */
#secteurs .section-tag {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}
/* h2 identique aux autres sections (retire padding résiduel du responsive) */
#secteurs .section-title {
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
  padding: 0;
}
/* sous-titre aligné sur .section__intro */
#secteurs .secteurs-subtitle {
  max-width: 760px;
  color: var(--grey);
  margin-bottom: 0;
}
#secteurs .sect-tile > svg.sect-ico {
  box-sizing: content-box;
  padding: 9px;
  background: rgba(68, 86, 107, 0.08);
  border-radius: 8px;
  width: 22px; height: 22px; flex: 0 0 22px;
}

/* ─── Modal état succès : pleine largeur, sans panneau accroche ─── */
.modal.modal--success { grid-template-columns: 1fr; }
.modal.modal--success .modal-header { display: none; }
