/* ═══════════════════════════════════════
   VAUBAN — styles.css (rewrite complet)
   Palette : bleu pastel / noir profond / gris pastel
   ══════════════════════════════════════ */

/* ── 1. VARIABLES & RESET ─────────────── */
:root {
  --bl: #08090b;
  --dk: #131417;
  --tx: #1a1c20;
  --mt: #63656e;
  --gP: #dcdfe8;
  --gs: #f4f5fa;
  --p1: #ccdff2;
  --p2: #b6cce0;
  --p3: #9abde0;
  --xs: 0 1px 3px rgba(0,0,0,.04);
  --ss: 0 2px 8px rgba(0,0,0,.055);
  --md: 0 6px 24px rgba(0,0,0,.09);
  --rA: 14px;
  --xL: 22px;
  --wM: 1170px;
  --wC: 930px;
  --ph: clamp(3rem, 7vw, 8rem);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; font-size: 16px; }
body {
  background: #fafbfe;
  color: var(--tx);
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.62;
  letter-spacing: -.015em;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--p3); text-decoration: none; transition: color .2s ease; }
a:hover { opacity: .78; }
button { font: inherit; cursor: pointer; border: none; background: none; }
::selection { background: rgba(154, 189, 224, .18); }

.skip-link {
  position: fixed; z-index: 999; top: .8rem; left: .8rem;
  padding: .6rem 1.2rem; background: #fff; color: var(--tx);
  border-radius: 7px; box-shadow: var(--xs);
  transform: translateY(-200%); transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container { max-width: var(--wM); width: 100%; margin-inline: auto; padding-inline: 2rem; }
.section { padding-block: clamp(5rem, 10vw, 9rem); }
.section--light { background: var(--gs); }
.section--dark { background: var(--dk); color: #f4f6fa; }

/* ── 2. HEADER ────────────────────────── */
.site-header {
  position: fixed; z-index: 100; inset: 0 0 auto;
  height: 66px; padding-inline: 2rem;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 3rem;
  background: rgba(250, 252, 254, .87);
  backdrop-filter: saturate(170%) blur(16px);
  -webkit-backdrop-filter: saturate(170%) blur(16px);
  border-bottom: 1px solid var(--gP);
  transition: height .3s ease, background .3s ease;
}
.site-header.is-scrolled { height: 54px; background: rgba(250, 252, 254, .96); box-shadow: var(--xs); }

.brand {
  display: flex; align-items: center; gap: .7rem; justify-self: start;
  text-decoration: none; color: #fff; border-radius: 8px;
  padding: .5rem 1.2rem; background: var(--bl); cursor: pointer;
}
.brand img.vauban-symbol { width: 30px; height: 30px; object-fit: contain; }
.brand strong { font-size: .84rem; letter-spacing: .06em; color: #f4f6fa; }
.brand-tagline { font-size: .58rem; color: var(--mt); margin-left: .3rem; white-space: nowrap; }

.desktop-nav { justify-self: end; display: flex; align-items: center; gap: 2.4rem; }
.desktop-nav a:not(.button) { font-size: .8rem; color: var(--mt); letter-spacing: .02em; transition: color .15s ease; }
.desktop-nav a:not(.button):hover { color: var(--tx); opacity: 1; }

.menu-toggle, .mobile-menu { display: none; }

/* ── 3. BUTTONS ───────────────────────── */
.button {
  min-height: 42px; padding: 0 1.5rem; border-radius: 9800px;
  text-decoration: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 500; font-size: .82em; letter-spacing: .01em;
  transition: background .2s ease, transform .2s ease; border: none;
}
.button:hover { opacity: 1 !important; box-shadow: none; text-decoration: none; }
.button--solid { background: var(--bl); color: #fff; }
.button--solid:hover { background: #34373c; transform: translateY(-1px); }
.button:active { transform: scale(.97) !important; }

.desktop-nav .button--outline {
  border: 1.5px solid var(--gP); color: var(--tx);
  min-height: 32px; padding: 0 1.2rem; font-size: .72em; background: transparent;
}
.desktop-nav .button--outline:hover { border-color: var(--p2); transform: none; }
.button--small { height: 32px; padding-inline: 1rem; font-size: .72em; }
.button--large { min-height: 50px; padding: 0 2.4rem; font-size: .92em; }
.button--light { background: transparent; color: #fff; min-height: 36px; }

.text-link {
  display: inline-flex; gap: .3rem; align-items: center;
  color: rgba(244, 246, 250, .5); font-size: .78em; font-weight: 600;
  text-transform: uppercase; letter-spacing: .1em; transition: color .2s ease;
}
.text-link:hover { color: #f4f6fa; opacity: 1 !important; }

/* ── 4. HERO ──────────────────────────── */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  overflow: hidden; background: var(--bl); color: #f4f6fa;
}
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media img { height: 100%; width: 100%; object-fit: cover; opacity: .22; filter: saturate(.6) contrast(1.04); }
.hero-overlay {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(75, 130, 255, .13), transparent),
    linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.88) 32%, rgba(8,9,11,.45) 68%),
    linear-gradient(0deg, var(--bl), transparent 40%);
}

.hero-content {
  position: relative; z-index: 2; max-width: 760px; margin-inline: auto;
  display: grid; gap: 1.1em; place-items: center; text-align: center;
}
.hero .eyebrow { color: rgba(244, 246, 250, .4); }
.hero h1 em { font-style: italic; -webkit-text-fill-color: var(--p1); }

.hero-lead {
  max-width: 620px; margin-top: .3rem;
  color: rgba(244, 246, 250, .55);
  font-size: clamp(1.08em, 1.4vw, 1.22em); line-height: 1.68; text-align: center;
}
.hero-actions { display: flex; align-items: center; gap: 2.6rem; margin-top: .4rem; flex-wrap: wrap; justify-content: center; }

/* ── 5. TYPOGRAPHY & HELPERS ──────────── */
.overline {
  color: var(--mt); font-size: .78em; letter-spacing: .13em;
  text-transform: uppercase; font-weight: 600; margin-bottom: .95rem; line-height: 1.32;
}
.section--dark .overline { color: rgba(244, 246, 250, .35); }

h2 {
  margin: 0 0 clamp(2rem, 7vw, 4.5rem);
  font-size: clamp(2.8rem, 6vw, 5.6em); line-height: .94;
  letter-spacing: -.07em; font-weight: 800; max-width: var(--wC);
}

/* ── 6. VALUE CARDS + data-solution colors ─── */
.value-trigger { display: flex; align-items: center; gap: 1rem; margin: -2rem 0 2rem; color: var(--mt); font-size: .72em; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.value-trigger::before, .value-trigger::after { content: ""; height: 1px; flex: 1; background: var(--gP); }
.value-trigger button { display: inline-flex; align-items: center; gap: .7rem; min-height: 46px; padding: 0 1.2rem; border: 0; border-radius: 999px; background: var(--bl); color: #fff; cursor: pointer; font: inherit; font-size: 1em; letter-spacing: .05em; text-transform: uppercase; box-shadow: var(--ss); transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.value-trigger button:hover { transform: translateY(-2px); box-shadow: var(--md); }
.value-trigger button:focus-visible { outline: 3px solid var(--p1); outline-offset: 3px; }
.value-trigger button i { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--p1); color: #26344a; font-style: normal; transition: transform .35s ease; }
.value-trigger button[aria-expanded="true"] { background: #365b7d; }
.value-trigger button[aria-expanded="true"] i { transform: rotate(180deg); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2em; }

.value-card {
  background: #fff; border-radius: var(--xL);
  padding: clamp(2rem, 4vw, 3.2rem) clamp(2rem, 4vw, 3.5rem);
  display: grid; gap: .35rem;
  transition: transform .3s ease, box-shadow .3s ease; position: relative;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--md); }
.value-card.is-solved { box-shadow: var(--md); }

.card-index {
  font-size: .56em; color: var(--mt) !important; text-transform: uppercase;
  font-weight: 700; margin-bottom: .55rem; display: block;
}
.value-card h3 {
  font-size: clamp(1.4rem, 2vw, 1.8rem); letter-spacing: -.04em;
  font-weight: 800; margin-bottom: 1.4rem; line-height: 1.22;
}

.card-body p { margin: .85rem 0; font-size: .92em; color: #636570; line-height: 1.6; }

/* — Réponse cartonnée par solution — */
.card-answer {
  padding: clamp(1.3rem, 3vw, 1.9rem) clamp(1.3rem, 3vw, 1.7rem);
  border-radius: var(--rA); margin-top: auto; overflow: hidden;
  transition: max-height .55s ease, opacity .35s ease, transform .45s ease, padding .45s ease, margin .45s ease;
}
.js .value-card:not(.is-solved) .card-answer { max-height: 0; opacity: 0; transform: translateY(14px); padding-top: 0; padding-bottom: 0; margin-top: 0; border-top-width: 0; }
.js .value-card.is-solved .card-answer { max-height: 360px; opacity: 1; transform: translateY(0); }
.js .value-card:nth-child(2) .card-answer { transition-delay: .1s; }
.js .value-card:nth-child(3) .card-answer { transition-delay: .2s; }
.js .value-card.is-solved .card-body > p { opacity: .38; }
.card-body > p { transition: opacity .35s ease; }
.card-answer strong {
  font-size: .62em; text-transform: uppercase; display: block;
  margin-bottom: .45rem; font-weight: 700;
}
.card-answer p { color: inherit !important; margin: 0 !important; font-size: .88rem !important; line-height: 1.92 !important; }

/* savoir → bleu clair pastel */
.value-card[data-solution="savoir"] .card-answer {
  background: var(--p1); border-top: 3px solid var(--p3);
}
.value-card[data-solution="savoir"] .card-answer strong { color: #3a6b94; }

/* donnees → noir profond, texte blanc */
.value-card[data-solution="donnees"] .card-answer {
  background: #1e2025; color: #f8fffa;
}
.value-card[data-solution="donnees"] .card-answer strong { color: var(--p2); }

/* complexite → gris pastel */
.value-card[data-solution="complexite"] .card-answer {
  background: #edeef3; border-top: 3px solid var(--gP);
}
.value-card[data-solution="complexite"] .card-answer strong { color: #4a5068; }

/* ── 7. SPLIT LAYOUT ──────────────────── */
.split-layout {
  display: grid;
  grid-template-columns: minmax(58%, 1fr) minmax(420px, 42%);
  gap: clamp(4rem, 9vw, 8rem); align-items: center;
}
.split-copy > p:not(.overline):first-of-type {
  color: rgba(244, 246, 250, .56); margin-top: 1.2rem; max-width: 540px; font-size: .96em; line-height: 1.7;
}
.split-copy > p:not(:first-child) {
  color: rgba(244, 246, 250, .56); margin-top: 1.3rem; max-width: 540px; font-size: .94em; line-height: 1.7;
}

.feature-list { list-style: none; padding: 0; margin-top: 2.4rem; }
.feature-list li {
  display: flex; align-items: flex-start; gap: clamp(.8rem, 2vw, 1.4rem);
  padding: .82rem 0; border-bottom: 1px solid rgba(244, 246, 250, .07);
  font-size: .94em; color: rgba(244, 246, 250, .68) !important;
}
.feature-list li > span {
  width: 26px; height: 26px; background: var(--p1); border-radius: 50%;
  display: grid; place-content: center; flex-shrink: 0; margin-top: .08rem;
}
.feature-list li > span::after {
  content: "✓"; font-size: 14px; color: #3a6b94; text-align: center; line-height: 1;
}

.split-image img { border-radius: var(--xL); box-shadow: var(--md); aspect-ratio: 3/2; object-fit: cover; }

/* ── 8. CAPABILITIES / MINI-DÉMO ─────── */
.cap-demo {
  display: grid; grid-template-columns: minmax(230px,.72fr) minmax(0,1.28fr);
  margin-top: clamp(2.2rem,5vw,4rem); border-radius: var(--xL); overflow: hidden;
  background: #fff; box-shadow: var(--md);
}
.cap-missions { padding: clamp(1.5rem,3vw,2.4rem); background: var(--bl); display: flex; flex-direction: column; gap: .65rem; }
.cap-missions > p { margin-bottom: .55rem; color: rgba(244,246,250,.5); font-size: .7em; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.cap-mission {
  width: 100%; padding: .9rem 1rem; border: 1px solid rgba(244,246,250,.13); border-radius: var(--rA);
  background: transparent; color: rgba(244,246,250,.72); text-align: left; cursor: pointer;
  font: inherit; font-size: .84em; font-weight: 650; transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.cap-mission:hover { color: #fff; border-color: rgba(154,189,224,.55); transform: translateX(2px); }
.cap-mission.is-active { background: var(--p1); border-color: var(--p1); color: #26344a; }
.cap-mission:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cap-result { padding: clamp(1.5rem,4vw,3rem); display: grid; gap: 1rem; background: linear-gradient(145deg,#fff 0%,#f5f7fb 100%); }
.cap-result.is-updating > * { animation: cap-result-in .32s ease both; }
@keyframes cap-result-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.cap-file { display: flex; align-items: center; gap: .9rem; padding-bottom: 1rem; border-bottom: 1px solid var(--gP); }
.cap-file-type { min-width: 48px; padding: .55rem .45rem; border-radius: 8px; background: #e7eef8; color: #42678d; text-align: center; font-size: .68em; font-weight: 800; }
.cap-file span:last-child { display: grid; gap: .12rem; }
.cap-file small, .cap-query small, .cap-answer small { color: var(--mt); font-size: .66em; letter-spacing: .04em; text-transform: uppercase; }
.cap-file strong { color: var(--tx); font-size: .86em; }
.cap-query { padding: 1rem 1.15rem; border: 1px solid var(--gP); border-radius: var(--rA); background: #fff; }
.cap-query p { margin-top: .35rem; color: #4a5068; font-size: .9em; line-height: 1.55; }
.cap-answer { display: grid; grid-template-columns: 38px 1fr; gap: .85rem; padding: 1.15rem; border-radius: var(--rA); background: var(--bl); color: #f4f6fa; }
.cap-answer-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--p1); color: #26344a; font-size: .78em; font-weight: 900; }
.cap-answer small { color: rgba(244,246,250,.45); }
.cap-answer p { margin-top: .35rem; color: rgba(244,246,250,.86); font-size: .91em; line-height: 1.58; }
.cap-proposal { padding: 1rem 1.15rem; border-left: 3px solid var(--p1); border-radius: 0 var(--rA) var(--rA) 0; background: #eef4fb; }
.cap-proposal small { color: #52708c; font-size: .66em; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.cap-proposal p { margin-top: .35rem; color: #3e5369; font-size: .86em; line-height: 1.58; }
.cap-proof { display: flex; justify-content: space-between; gap: 1rem; color: var(--mt); font-size: .7em; line-height: 1.5; }
.cap-proof strong { color: #42678d; white-space: nowrap; }

/* ── 8b. CONFIANCE / SÉCURITÉ CONCRÈTE ─── */
.trust-section { background: var(--bl); color: #f4f6fa; }
.trust-section .overline { color: rgba(244,246,250,.42); }
.trust-heading {
  display: grid; grid-template-columns: minmax(0,1.25fr) minmax(320px,.75fr);
  gap: clamp(3rem,8vw,7rem); align-items: end;
}
.trust-heading h2 { margin-bottom: 0; }
.trust-heading h2 em { color: var(--p1); font-style: italic; }
.trust-intro { color: rgba(244,246,250,.66); font-size: 1.02em; line-height: 1.72; max-width: 520px; }
.trust-intro strong { color: #f4f6fa; font-weight: 650; }
.trust-grid {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem;
  margin-top: clamp(3rem,7vw,5.5rem);
}
.trust-card {
  min-height: 330px; padding: clamp(1.5rem,2.5vw,2.1rem); position: relative;
  display: flex; flex-direction: column; align-items: flex-start;
  background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--rA);
}
.trust-card--option { background: rgba(154,189,224,.11); border-color: rgba(154,189,224,.34); }
.trust-status {
  display: inline-flex; padding: .28rem .6rem; border-radius: 99px;
  background: rgba(154,189,224,.14); color: var(--p1);
  font-size: .64em; line-height: 1.2; letter-spacing: .07em; text-transform: uppercase; font-weight: 700;
}
.trust-card--option .trust-status { background: var(--p1); color: #26344a; }
.trust-number { position: absolute; top: 1.75rem; right: 1.7rem; color: rgba(244,246,250,.22); font-size: .72em; font-weight: 750; }
.trust-card h3 { margin: 1.35rem 0 .9rem; color: #f4f6fa; font-size: clamp(1.25rem,2vw,1.55rem); line-height: 1.17; letter-spacing: -.035em; }
.trust-card > p { color: rgba(244,246,250,.72); font-size: .91em; line-height: 1.62; }
.trust-card small {
  display: block; width: 100%; margin-top: auto; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.09); color: rgba(244,246,250,.5);
  font-size: .74em; line-height: 1.55;
}
.trust-proof {
  margin-top: 1rem; padding: clamp(2rem,5vw,3.5rem); border-radius: var(--xL);
  display: grid; grid-template-columns: minmax(0,.8fr) minmax(420px,1.2fr);
  gap: clamp(2.5rem,7vw,6rem); align-items: center;
  background: var(--p1); color: #26344a;
}
.trust-proof .overline { color: #52708c; margin-bottom: .75rem; }
.trust-proof h3 { font-size: clamp(1.8rem,3.6vw,3rem); line-height: 1.02; letter-spacing: -.05em; }
.trust-proof-copy > p:last-child { margin-top: 1.2rem; color: #4a5b6e; font-size: .91em; line-height: 1.65; }
.trust-checks { list-style: none; display: grid; }
.trust-checks li {
  display: grid; grid-template-columns: 24px 1fr; gap: .75rem; align-items: start;
  padding: .72rem 0; border-bottom: 1px solid rgba(38,52,74,.15);
  color: #33465a; font-size: .9em; line-height: 1.5;
}
.trust-checks li::before {
  content: "✓"; width: 22px; height: 22px; display: grid; place-items: center;
  border-radius: 50%; background: var(--bl); color: #fff; font-size: .72em; font-weight: 800;
}
.trust-source {
  max-width: 980px; margin: 1.5rem 0 0; color: rgba(244,246,250,.48);
  font-size: .74em; line-height: 1.65;
}
.trust-source strong { color: rgba(244,246,250,.78); }
.trust-source a { color: var(--p1); text-decoration: underline; text-underline-offset: .18em; }

/* ── 8c. SOBRIÉTÉ / JUSTE DIMENSIONNEMENT ─── */
.efficiency-section { background: #fff; }
.efficiency-layout {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(520px, 1.1fr);
  gap: clamp(3rem, 8vw, 7rem); align-items: center;
}
.efficiency-copy h2 { margin-bottom: 2rem; }
.efficiency-copy .section-lede { color: #4a5068; max-width: 590px; }
.efficiency-copy > p:last-child { color: var(--mt); max-width: 590px; font-size: .94em; line-height: 1.68; margin-top: 1.2rem; }
.efficiency-proof {
  background: var(--bl); color: #f4f6fa; border-radius: var(--xL);
  padding: clamp(1.8rem, 4vw, 3rem); box-shadow: var(--md);
}
.efficiency-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.efficiency-metric { padding: 1.35rem; border-bottom: 1px solid rgba(255,255,255,.09); }
.efficiency-metric:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.09); }
.efficiency-metric strong {
  display: block; color: var(--p1); font-size: clamp(1.65rem, 3vw, 2.5rem);
  line-height: 1; letter-spacing: -.04em; margin-bottom: .65rem;
}
.efficiency-metric span { display: block; color: rgba(244,246,250,.6); font-size: .78em; line-height: 1.5; }
.efficiency-note { margin: 1.5rem 0 0; color: rgba(244,246,250,.76); font-size: .88em; line-height: 1.65; }
.efficiency-note strong { color: #f4f6fa; }
.efficiency-source {
  margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.09);
  color: rgba(244,246,250,.4); font-size: .7em; line-height: 1.55;
}
.efficiency-source a { color: rgba(244,246,250,.68); text-underline-offset: .18em; }
.efficiency-source a:hover { color: var(--p1); }

/* ── 9. OFFER / PRICING ───────────────── */
.offer-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(370px, 410px);
  gap: clamp(4.5rem, 12vw, 12%); align-items: start;
}
.offer-intro > p:first-of-type { margin-top: 1.5rem; max-width: 510px; line-height: 1.68; }

.specs { margin-top: 2rem; }
.specs div {
  display: flex; align-items: center; gap: 2rem; min-height: 2.4rem; padding: .68rem 0;
  border-bottom: 1px solid var(--gP); font-size: .94em;
}
.specs dt { font-weight: 700; color: var(--tx); min-width: 90px; }
.specs dd { color: var(--mt); }

.price-card {
  background: #fff; border-radius: var(--xL); padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--md); display: grid; gap: 1.5rem; text-align: center;
}
.price-label { font-size: .68em; text-transform: uppercase; letter-spacing: .08em; color: var(--mt); font-weight: 600; }

.price-heading { margin: 0; }
.pre-price { display: block; font-size: .72em; color: var(--mt); margin-bottom: .3rem; }
.price-heading strong { font-size: clamp(2.4rem, 4vw, 3.2rem); letter-spacing: -.05em; font-weight: 900; color: var(--tx); }

.price-card ul { list-style: none; padding: 0; text-align: left; }
.price-card li { padding: .65rem 0; border-bottom: 1px solid var(--gP); font-size: .88em; color: #4a5068; display: flex; align-items: flex-start; gap: .6rem; }
.price-card li::before { content: "✓"; color: var(--p3); font-weight: 700; flex-shrink: 0; margin-top: .1rem; }

.price-card .button--solid { width: 100%; justify-content: center; }
.price-card small { font-size: .72em; color: var(--mt); line-height: 1.4; }

/* ── 10. FAQ ACCORDÉON ────────────────── */
.faq-heading { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

.accordion details { background: #fff; border-radius: var(--rA); margin-bottom: .8rem; box-shadow: var(--xs); overflow: hidden; }
.accordion summary {
  padding: clamp(1.2rem, 3vw, 1.6rem) clamp(1.4rem, 3vw, 2rem);
  font-size: .95em; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; position: relative;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.4em; color: var(--p3); transition: transform .2s ease; flex-shrink: 0; margin-left: 1rem; }
.accordion details[open] summary::after { content: "−"; }

.accordion p { padding: 0 clamp(1.4rem, 3vw, 2rem) clamp(1.2rem, 3vw, 1.6rem); font-size: .9em; color: #636570; line-height: 1.68; }

/* Divulgation progressive des sections longues */
.section-disclosure { margin-top: clamp(2rem, 5vw, 3.5rem); }
.section-disclosure > summary {
  width: fit-content; padding: .85rem 1.2rem; border: 1px solid var(--gP); border-radius: 999px;
  background: #fff; color: var(--tx); cursor: pointer; list-style: none;
  font-size: .84em; font-weight: 700; transition: border-color .2s ease, transform .2s ease;
}
.section-disclosure > summary::-webkit-details-marker { display: none; }
.section-disclosure > summary::after { content: " +"; color: var(--p3); }
.section-disclosure[open] > summary::after { content: " −"; }
.section-disclosure > summary:hover { border-color: var(--p3); transform: translateY(-1px); }
.section-disclosure > summary:focus-visible { outline: 3px solid var(--p1); outline-offset: 3px; }
.section-disclosure--dark > summary { background: transparent; color: #f4f6fa; border-color: rgba(244,246,250,.28); }
.section-disclosure--dark > summary:hover { border-color: var(--p1); }
.section-disclosure .trust-grid,
.section-disclosure .opt-grid { margin-top: 1.5rem; animation: disclosure-in .3s ease both; }
@keyframes disclosure-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── 11. FINAL CTA ────────────────────── */
.final-cta {
  position: relative; background: var(--dk); padding-block: clamp(6rem, 14vw, 12rem); text-align: center;
}
.final-cta-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 72% at 40% 50%, rgba(75, 130, 255, .1), transparent);
}
.final-content { position: relative; z-index: 2; display: grid; gap: 1.2em; place-items: center; }
.final-cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); color: #f4f6fa; margin-bottom: 0; }
.final-cta h2 em { font-style: italic; -webkit-text-fill-color: var(--p1); }
.cta-copy { max-width: 560px; color: rgba(244, 246, 250, .5); font-size: 1.05em; line-height: 1.68; margin-bottom: .5rem; }

/* ── 12. FOOTER ───────────────────────── */
.site-footer { background: var(--bl); color: rgba(244, 246, 250, .4); padding-block: 3.5rem; text-align: center; }
.footer-inner { display: grid; gap: 1rem; place-items: center; }
.footer-left { display: flex; align-items: center; gap: .7rem; justify-content: center; color: #f4f6fa; }
.footer-left img.vauban-symbol { width: 28px; height: 28px; object-fit: contain; }
.footer-left strong { font-size: .84rem; letter-spacing: .06em; }
.footer-line { font-size: .78em; max-width: 380px; line-height: 1.5; }
.footer-legal { font-size: .68em; margin-top: .5rem; }

/* ── 13. REVEAL ANIMATIONS ────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .card-answer, .card-body > p, .value-trigger button, .value-trigger button i { transition: none !important; }
  .section-disclosure .trust-grid,
  .section-disclosure .opt-grid { animation: none !important; }
  .cap-result.is-updating > * { animation: none !important; }
  html { scroll-behavior: auto !important; }
}

/* ── 14. WORKFLOW MOCKUP (flux) ───────── */
.section-lede { margin-top: 1.2rem; font-size: 1.02em; color: rgba(244,246,250,.75); line-height: 1.65; }
.wf-tabs { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: clamp(2rem, 5vw, 3rem); }
.wf-tab {
  min-height: 38px; padding: 0 1rem; border: 1px solid var(--gP); border-radius: 999px;
  background: #fff; color: var(--mt); font-size: .78em; font-weight: 650;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.wf-tab:hover { color: var(--tx); border-color: var(--p3); transform: translateY(-1px); }
.wf-tab.is-active { color: #f4f6fa; background: var(--bl); border-color: var(--bl); }
.wf-tab[data-workflow-sector="industrie"].is-active { background: #9a5b12; border-color: #9a5b12; }
.wf-tab[data-workflow-sector="ingenierie"].is-active { background: #202226; border-color: #c62d38; }
.wf-tab[data-workflow-sector="pharmacie"].is-active { background: #236b4c; border-color: #236b4c; }
.wf-tab[data-workflow-sector="collectivite"].is-active { background: #315f99; border-color: #315f99; }
.wf-tab:focus-visible { outline: 3px solid rgba(154,189,224,.45); outline-offset: 2px; }
.wf-mock {
  --wf-accent: #b96d17; --wf-soft: #fff0d9; --wf-ink: #4e3011; --wf-bar: #34302b; --wf-surface: #fffdf9;
  margin-top: 1rem; display: grid;
  grid-template-areas: "titlebar titlebar titlebar" "left center right" "note-left note-center note-right";
  grid-template-columns: minmax(0,22%) minmax(0,54%) minmax(0,24%);
  grid-template-rows: auto minmax(400px, 1fr) auto;
  background: transparent; filter: drop-shadow(0 6px 18px rgba(0,0,0,.06));
  transition: filter .25s ease;
}
.wf-mock[data-theme="ingenierie"] { --wf-accent: #c62d38; --wf-soft: #f7e3e5; --wf-ink: #57171d; --wf-bar: #202226; --wf-surface: #fbfbfc; }
.wf-mock[data-theme="pharmacie"] { --wf-accent: #2e805b; --wf-soft: #e2f2e9; --wf-ink: #194a34; --wf-bar: #245c47; --wf-surface: #f9fdfa; }
.wf-mock[data-theme="collectivite"] { --wf-accent: #3569a8; --wf-soft: #e4edf8; --wf-ink: #1f426d; --wf-bar: #294f7f; --wf-surface: #fafcff; }
.wf-titlebar {
  grid-area: titlebar;
  display: flex; align-items: center; gap: .5rem; padding: .8rem 1.1rem;
  background: var(--wf-bar); border: 1px solid var(--wf-bar);
  border-radius: var(--xL) var(--xL) 0 0;
  transition: background .25s ease, border-color .25s ease;
}
.wf-dot { width: 10px; height: 10px; border-radius: 50%; }
.wf-dot.red { background: #ff5f57; } .wf-dot.yellow { background: #febc2e; } .wf-dot.green { background: #28c840; }
.wf-client-logo { width: 30px; height: 30px; margin-left: .45rem; display: grid; place-items: center; border-radius: 8px; background: var(--wf-accent); color: #fff; font-size: .66em; font-weight: 850; letter-spacing: -.02em; }
.wf-client-name { color: #fff; font-size: .76em; letter-spacing: .015em; white-space: nowrap; }
.wf-title { margin-left: auto; font-size: .72em; letter-spacing: .04em; color: rgba(255,255,255,.62); text-align: right; }
.wf-pane--left { grid-area: left; border-left: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.wf-pane--center { grid-area: center; border: 1px solid rgba(255,255,255,.06); border-top: 0; }
.wf-pane--right { grid-area: right; border-right: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.wf-pane { padding: 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .65rem; background: var(--wf-surface); min-width: 0; transition: background .25s ease; }
.wf-pane-title { font-size: .66em; letter-spacing: .08em; text-transform: uppercase; color: rgba(244,246,250,.42); margin-bottom: .2rem; }
.wf-tree { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .28rem; font-size: .82em; }
.wf-node { padding: .32rem .55rem; border-radius: 6px; color: rgba(244,246,250,.68); cursor: default; }
.wf-node--dir { font-weight: 650; }
.wf-node--active { background: var(--wf-soft); color: var(--wf-ink); font-weight: 600; }
.wf-node--sub { padding-left: 1.4rem; color: rgba(244,246,250,.45); font-size: .95em; }
.wf-document { background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 9px; padding: 1.2rem; display: grid; gap: .8rem; }
.wf-doc-title { font-size: 1rem; line-height: 1.3; font-weight: 750; letter-spacing: -.025em; }
.wf-doc-meta { padding-bottom: .7rem; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .69em; color: rgba(244,246,250,.4); }
.wf-doc { font-size: .86em; line-height: 1.6; color: rgba(244,246,250,.78); margin: 0; }
.wf-hl { background: var(--wf-soft); color: var(--wf-ink); padding: .05em .25em; border-radius: 3px; }
.wf-doc--mut { color: rgba(244,246,250,.42); font-size: .78em; font-style: italic; margin-top: .4rem; }
.wf-conversation { display: flex; flex-direction: column; gap: .75rem; }
.wf-chat { font-size: .82em; line-height: 1.55; color: rgba(244,246,250,.78); margin: 0; padding: .7rem .8rem; border-radius: 9px; }
.wf-chat--agent { background: rgba(255,255,255,.045); }
.wf-chat--user { background: var(--wf-soft); border-left: 2px solid var(--wf-accent); color: var(--wf-ink); }
.wf-chat--action { padding: .5rem .6rem; background: rgba(154,189,224,.1); border-radius: 7px; border-left: 2px solid var(--p2); }
.wf-point--left { grid-area: note-left; }
.wf-point--center { grid-area: note-center; }
.wf-point--right { grid-area: note-right; }
.wf-point {
  display: grid; gap: .35rem; align-content: start; margin: 1.1rem .45rem 0; padding: 1.05rem 1.1rem;
  background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.07); border-radius: 10px;
  position: relative;
}
.wf-point::before { content: ""; position: absolute; top: -1.15rem; left: 50%; height: 1.1rem; border-left: 1px solid var(--wf-accent); opacity: .62; }
.wf-point span { font-family: "Georgia", serif; font-style: italic; font-weight: 700; color: var(--wf-accent); font-size: 1rem; }
.wf-point p { font-size: .88em; line-height: 1.55; color: rgba(244,246,250,.78); margin: 0; }
.wf-point p strong { color: inherit; }
.wf-cta { margin-top: 2.2rem; font-size: .94em; }
.wf-cta a { color: var(--p1); text-decoration: none; }
.wf-cta a:hover { text-decoration: underline; }
/* Dans les sections claires, --p1 (bleu très clair) est illisible sur fond blanc : on bascule sur un ton plus soutenu */
.section--light .wf-cta a { color: #2a4a6b; }

/* ── 14b. ROI ──────────────────────────── */
.roi-section .section-lede { color: rgba(244,246,250,.72); }
.roi-section .overline { color: rgba(244,246,250,.4); }
.roi-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.2rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}
.roi-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: var(--xL);
  padding: clamp(1.6rem, 3vw, 2.4rem); display: grid; gap: .8rem; align-content: start;
}
.roi-num { font-size: clamp(2rem, 3.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; color: var(--p1); }
.roi-num em { font-size: .5em; font-style: normal; font-weight: 500; color: rgba(244,246,250,.55); letter-spacing: .04em; }
.roi-card h3 { font-size: 1.05rem; font-weight: 700; color: #f4f6fa; letter-spacing: -.02em; margin: 0; line-height: 1.25; }
.roi-card p { font-size: .9rem; line-height: 1.6; color: rgba(244,246,250,.62); margin: 0; }
.roi-src { font-size: .72rem; font-style: italic; color: rgba(244,246,250,.38); line-height: 1.5; border-top: 1px solid rgba(255,255,255,.07); padding-top: .9rem; margin-top: auto; }
.roi-card.recommend { background: linear-gradient(180deg, rgba(154,189,224,.1) 0%, rgba(154,189,224,.02) 100%); border-color: rgba(154,189,224,.32); }
.roi-card.recommend .roi-num { color: #f4f6fa; }
.roi-card .roi-src { color: rgba(244,246,250,.45); border-top-color: rgba(154,189,224,.25); }
.roi-src a { color: rgba(244,246,250,.72); text-underline-offset: .18em; }
.roi-src a:hover { color: var(--p1); }
.roi-method {
  max-width: 900px; margin: 1.5rem 0 0; padding: 1rem 1.2rem;
  border-left: 2px solid rgba(154,189,224,.55); background: rgba(154,189,224,.06);
  color: rgba(244,246,250,.58); font-size: .78em; line-height: 1.6;
}
.roi-method strong { color: rgba(244,246,250,.86); }

/* ── 14c. WORKFLOW LIGHT VARIANT (section claire, fenetre lisible) ─── */
.wf-light .section-lede,
.wf-light .section-lede-lede { color: var(--mt); }
.wf-light .wf-titlebar { background: var(--wf-bar); border-bottom: 1px solid var(--wf-bar); }
.wf-light .wf-title { color: rgba(255,255,255,.62); }
.wf-light .wf-mock {
  background: transparent;
}
.wf-light .wf-titlebar { border-color: var(--wf-bar); }
.wf-light .wf-pane { background: var(--wf-surface); border-color: var(--gP) !important; }
.wf-light .wf-pane-title { color: var(--mt); }
.wf-light .wf-pane-title::before { content: "▸ "; color: var(--wf-accent); }
.wf-light .wf-tree { color: var(--tx); }
.wf-light .wf-node { color: #4a5068; }
.wf-light .wf-node--active { background: var(--wf-soft); color: var(--wf-ink); }
.wf-light .wf-node--sub { color: var(--mt); }
.wf-light .wf-doc { color: var(--tx); }
.wf-light .wf-document { background: #fbfcfe; border-color: var(--gP); }
.wf-light .wf-doc-title { color: var(--tx); }
.wf-light .wf-doc-meta { color: var(--mt); border-bottom-color: var(--gP); }
.wf-light .wf-hl { background: var(--wf-soft); color: var(--wf-ink); }
.wf-light .wf-doc--mut { color: var(--mt); }
.wf-light .wf-chat { color: var(--tx); }
.wf-light .wf-chat--agent { background: #f4f5fa; }
.wf-light .wf-chat--user {
  padding: .55rem .7rem; background: var(--wf-soft); border-left: 2px solid var(--wf-accent); border-radius: 7px; color: var(--wf-ink);
  font-weight: 500;
}
.wf-light .wf-point { background: #fff; border: 1px solid var(--gP); box-shadow: var(--xs); }
.wf-light .wf-point span { color: var(--wf-accent); }
.wf-light .wf-point p { color: #4a5068; }
.wf-light .wf-cta a { color: #2a4a6b; }

/* ── 15. OPTIONS ───────────────────────── */
.opt-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 2.4rem; border-top: 1px solid var(--gP); border-left: 1px solid var(--gP); }
.opt-card {
  border-right: 1px solid var(--gP); border-bottom: 1px solid var(--gP);
  padding: clamp(1.4rem, 3vw, 2rem); display: grid; gap: .7rem; align-content: start;
  background: #fff; text-decoration: none; color: var(--tx); transition: background .2s ease;
  min-height: 220px;
}
.opt-card:hover, .opt-card:focus-visible { background: #fbfcfe; }
.opt-ico { font-size: 1.4em; line-height: 1; color: var(--p3); }
.opt-card h3 { font-size: 1.05em; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.opt-card p { font-size: .85em; color: #636570; line-height: 1.55; margin: 0; }
.opt-tag { justify-self: start; font-size: .68em; letter-spacing: .06em; text-transform: uppercase; color: var(--mt); background: var(--gs); padding: .28rem .6rem; border-radius: 99px; }

/* ── 16. RESPONSIVE ───────────────────── */

/* ≤ 1050px : 2 colonnes capacités, menu mobile */
@media (max-width: 1050px) {
  .desktop-nav { display: none; }
  .menu-toggle {
    display: grid; gap: 5px; justify-self: end; padding: .4rem;
  }
  .menu-toggle span { display: block; height: 2px; background: var(--tx); border-radius: 2px; width: 22px; transition: transform .2s ease, opacity .2s ease; }
  .mobile-menu {
    display: grid; gap: .4rem; padding: 1.5rem 2rem; background: #fff;
    border-bottom: 1px solid var(--gP); text-align: center;
  }
  .mobile-menu:not([hidden]) { box-shadow: var(--ss); }
  .mobile-menu a { display: block; padding: .7rem 0; color: var(--tx); font-size: .92em; }

  .cap-demo { grid-template-columns: 1fr; }
  .cap-missions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cap-missions > p { grid-column: 1 / -1; }
  .trust-heading { grid-template-columns: 1fr; gap: 2rem; }
  .trust-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .trust-proof { grid-template-columns: 1fr; gap: 2rem; }
  .efficiency-layout { grid-template-columns: 1fr; }
  .opt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≤ 760px : 1 colonne partout */
@media (max-width: 760px) {
  .value-grid { grid-template-columns: 1fr; gap: 1rem; }
  .value-trigger { margin-top: -1rem; }
  .value-trigger > span { display: none; }
  .cap-missions { grid-template-columns: 1fr; }
  .cap-proof { flex-direction: column; gap: .35rem; }
  .cap-proof strong { white-space: normal; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-card { min-height: 0; }
  .trust-card small { margin-top: 1.5rem; }
  .efficiency-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .split-layout { grid-template-columns: 1fr; gap: 3rem; }
  .split-image { order: -1; }
  .offer-layout { grid-template-columns: 1fr; gap: 3rem; }
  h2 { font-size: clamp(2rem, 8vw, 3.6rem); }
  .hero h1 em { display: inline; }
  .wf-tabs { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wf-tab { width: 100%; }
  .wf-title { display: none; }
  .wf-mock {
    grid-template-columns: 1fr;
    grid-template-areas: "titlebar" "left" "note-left" "center" "note-center" "right" "note-right";
    grid-template-rows: auto auto auto auto auto auto auto;
  }
  .wf-pane { min-height: 0; border: 1px solid var(--gP) !important; }
  .wf-pane--left { border-top: 0 !important; }
  .wf-pane--center, .wf-pane--right { margin-top: 1rem; }
  .wf-point { margin: .8rem .2rem 0; }
  .wf-point::before { top: -.85rem; height: .8rem; }
  .specs dt { min-width: 70px; }
  .roi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ≤ 480px : compactage */
@media (max-width: 480px) {
  .container { padding-inline: 1.2rem; }
  .hero-content { max-width: 95%; }
  .hero-actions { flex-direction: column; gap: 1.2rem; }
  .price-card { padding: 1.8rem 1.4rem; }
  .efficiency-metrics { grid-template-columns: 1fr; }
  .efficiency-metric:nth-child(odd) { border-right: none; }
  .opt-grid { grid-template-columns: 1fr; }
}
