/* ==================================================================
   Velora Finance — Feuille de styles principale
   Design : sobre, moderne, éditorial, rassurant, accessible
   Inspiration : doctype.html interne (Manrope + DM Serif Display)
   ================================================================== */

:root {
  color-scheme: light dark;

  /* Palette CLAIRE (défaut) */
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef3f9;
  --ink: #0e1b2d;
  --muted: #5b6b82;
  --line: #d9e2ef;
  --brand: #123b7a;
  --brand-2: #1f5fbf;
  --brand-soft: #e8f0ff;
  --success: #127a5b;
  --success-soft: #e6f5ee;
  --warning: #8b5e12;
  --danger: #b42318;
  --shadow: 0 20px 60px rgba(10, 26, 53, 0.08);
  --shadow-sm: 0 10px 24px rgba(10, 26, 53, 0.06);
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --max: 1240px;
  --section: clamp(4rem, 7vw, 7rem);
  --transition: 0.2s ease;
}

/* Palette SOMBRE (system) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1220;
    --surface: #101a2e;
    --surface-2: #14213a;
    --ink: #eef2fb;
    --muted: #98a4bc;
    --line: #22304f;
    --brand: #6ea1ff;
    --brand-2: #4e88ff;
    --brand-soft: rgba(78, 136, 255, 0.14);
    --success: #4bd3a0;
    --success-soft: rgba(75, 211, 160, 0.14);
    --warning: #f5b664;
    --danger: #ff7a70;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.35);
  }
}

/* Palette SOMBRE (forcée via toggle) */
:root[data-theme="dark"] {
  --bg: #0a1220;
  --surface: #101a2e;
  --surface-2: #14213a;
  --ink: #eef2fb;
  --muted: #98a4bc;
  --line: #22304f;
  --brand: #6ea1ff;
  --brand-2: #4e88ff;
  --brand-soft: rgba(78, 136, 255, 0.14);
  --success: #4bd3a0;
  --success-soft: rgba(75, 211, 160, 0.14);
  --warning: #f5b664;
  --danger: #ff7a70;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.35);
}

/* Sombre — remappe les composants qui utilisent des couleurs fixes ============ */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .site-header { background: rgba(10, 18, 32, 0.85); border-bottom-color: var(--line); }
  :root:not([data-theme="light"]) .nav-list { background: rgba(10, 18, 32, 0.98); }
  :root:not([data-theme="light"]) .nav-list .submenu { background: var(--surface); border-color: var(--line); }
  :root:not([data-theme="light"]) .menu-btn { background: var(--surface); color: var(--ink); }
  :root:not([data-theme="light"]) .btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
  :root:not([data-theme="light"]) .trust-bar { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
  :root:not([data-theme="light"]) .why-card,
  :root:not([data-theme="light"]) .value-card,
  :root:not([data-theme="light"]) .principle-card,
  :root:not([data-theme="light"]) .project-tile,
  :root:not([data-theme="light"]) .step-block,
  :root:not([data-theme="light"]) .trust-item,
  :root:not([data-theme="light"]) .solution-card,
  :root:not([data-theme="light"]) .band,
  :root:not([data-theme="light"]) .page-block,
  :root:not([data-theme="light"]) .sheet-card,
  :root:not([data-theme="light"]) .pane,
  :root:not([data-theme="light"]) .kpi,
  :root:not([data-theme="light"]) .form-group,
  :root:not([data-theme="light"]) .sim-inputs,
  :root:not([data-theme="light"]) .simulator .sim-box,
  :root:not([data-theme="light"]) .simulator .result-box,
  :root:not([data-theme="light"]) details.faq,
  :root:not([data-theme="light"]) .step-pill,
  :root:not([data-theme="light"]) input,
  :root:not([data-theme="light"]) select,
  :root:not([data-theme="light"]) textarea { background: var(--surface); color: var(--ink); border-color: var(--line); }
  :root:not([data-theme="light"]) .band-cream { background: linear-gradient(180deg, #0f1a2f 0%, #12213c 100%); border-block-color: var(--line); }
  :root:not([data-theme="light"]) .band-cream::after { background: radial-gradient(circle, rgba(78,136,255,0.18), transparent 70%); }
  :root:not([data-theme="light"]) .band-tint { background: linear-gradient(180deg, #0e1a30 0%, #0a1220 100%); border-block-color: var(--line); }
  :root:not([data-theme="light"]) .mobile-cta-bar { background: rgba(10, 18, 32, 0.98); border-top-color: var(--line); }
  :root:not([data-theme="light"]) .form-note { background: var(--brand-soft); color: var(--ink); border-left-color: var(--brand-2); }
  :root:not([data-theme="light"]) .result-row { background: var(--surface-2); }
  :root:not([data-theme="light"]) .reference-badge { background: var(--surface); color: var(--ink); border-color: var(--line); }
  :root:not([data-theme="light"]) .hero-card { background: var(--surface); color: var(--ink); border-color: var(--line); }
  :root:not([data-theme="light"]) .hero-card p { color: var(--muted); }
  :root:not([data-theme="light"]) .hero-card .num { background: var(--brand-soft); color: var(--brand); }
}
:root[data-theme="dark"] .site-header { background: rgba(10, 18, 32, 0.85); border-bottom-color: var(--line); }
:root[data-theme="dark"] .nav-list { background: rgba(10, 18, 32, 0.98); }
:root[data-theme="dark"] .nav-list .submenu { background: var(--surface); border-color: var(--line); }
:root[data-theme="dark"] .menu-btn { background: var(--surface); color: var(--ink); }
:root[data-theme="dark"] .btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .trust-bar { background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%); }
:root[data-theme="dark"] .why-card,
:root[data-theme="dark"] .value-card,
:root[data-theme="dark"] .principle-card,
:root[data-theme="dark"] .project-tile,
:root[data-theme="dark"] .step-block,
:root[data-theme="dark"] .trust-item,
:root[data-theme="dark"] .solution-card,
:root[data-theme="dark"] .band,
:root[data-theme="dark"] .page-block,
:root[data-theme="dark"] .sheet-card,
:root[data-theme="dark"] .pane,
:root[data-theme="dark"] .kpi,
:root[data-theme="dark"] .form-group,
:root[data-theme="dark"] .sim-inputs,
:root[data-theme="dark"] .simulator .sim-box,
:root[data-theme="dark"] .simulator .result-box,
:root[data-theme="dark"] details.faq,
:root[data-theme="dark"] .step-pill,
:root[data-theme="dark"] input,
:root[data-theme="dark"] select,
:root[data-theme="dark"] textarea { background: var(--surface); color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .band-cream { background: linear-gradient(180deg, #0f1a2f 0%, #12213c 100%); border-block-color: var(--line); }
:root[data-theme="dark"] .band-cream::after { background: radial-gradient(circle, rgba(78,136,255,0.18), transparent 70%); }
:root[data-theme="dark"] .band-tint { background: linear-gradient(180deg, #0e1a30 0%, #0a1220 100%); border-block-color: var(--line); }
:root[data-theme="dark"] .mobile-cta-bar { background: rgba(10, 18, 32, 0.98); border-top-color: var(--line); }
:root[data-theme="dark"] .form-note { background: var(--brand-soft); color: var(--ink); border-left-color: var(--brand-2); }
:root[data-theme="dark"] .result-row { background: var(--surface-2); }
:root[data-theme="dark"] .reference-badge { background: var(--surface); color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .hero-card { background: var(--surface); color: var(--ink); border-color: var(--line); }
:root[data-theme="dark"] .hero-card p { color: var(--muted); }
:root[data-theme="dark"] .hero-card .num { background: var(--brand-soft); color: var(--brand); }

/* Base ------------------------------------------------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(31, 95, 191, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(18, 59, 122, 0.06), transparent 24%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: clip;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button, input, select, textarea { font: inherit; }
:focus-visible {
  outline: 3px solid rgba(31, 95, 191, 0.35);
  outline-offset: 3px;
  border-radius: 10px;
}

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }

/* Typography ------------------------------------------------------- */
h1, h2, h3 {
  font-family: "DM Serif Display", "Cambria", Georgia, serif;
  line-height: 1.05;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.6rem); }
/* Titre de slide (h2 stylé comme un h1 pour rester premium mais préserver le SEO) */
.hero-slide h2.slide-title,
h2.slide-title { font-size: clamp(2.4rem, 5.2vw, 4.6rem); font-family: "DM Serif Display", serif; font-weight: 400; line-height: 1.05; letter-spacing: -0.02em; color: #fff; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.55rem); }
p { margin: 0 0 1rem; color: var(--muted); }
.lead { font-size: clamp(1rem, 1.35vw, 1.13rem); max-width: 62ch; }
.small { font-size: 0.95rem; }
.fine { font-size: 0.88rem; color: var(--muted); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* Eyebrow ---------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(18, 59, 122, 0.12);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 0.85rem; color: var(--brand);
  font-weight: 700; letter-spacing: 0.02em;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 0.6rem; height: 0.6rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 0 0 4px rgba(31, 95, 191, 0.12);
}

/* Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 50px; padding: 0.85rem 1.2rem;
  border-radius: 14px; border: 1px solid transparent;
  font-weight: 700; letter-spacing: 0.01em; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform var(--transition), box-shadow var(--transition),
              background var(--transition), border-color var(--transition), color var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-2), var(--brand));
  color: #fff;
  box-shadow: 0 14px 28px rgba(18, 59, 122, 0.25);
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(18, 59, 122, 0.32); color: #fff; }
.btn-secondary {
  background: #fff; border-color: var(--line); color: var(--ink);
  box-shadow: 0 10px 22px rgba(11, 22, 44, 0.06);
}
.btn-secondary:hover { color: var(--brand); }
.btn-ghost {
  background: transparent; border-color: rgba(255, 255, 255, 0.25); color: #fff;
}
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-lg { min-height: 58px; padding: 1rem 1.5rem; font-size: 1.02rem; border-radius: 16px; }

/* Skip link -------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: auto; }
.skip-link:focus {
  left: 1rem; top: 1rem; z-index: 1000;
  background: #fff; color: var(--ink);
  padding: 0.75rem 1rem; border-radius: 10px; box-shadow: var(--shadow);
}

/* Header ----------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(245, 247, 251, 0.85);
  border-bottom: 1px solid rgba(14, 27, 45, 0.06);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 78px; gap: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-weight: 800; color: var(--ink);
}
.brand:hover { color: var(--brand); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 12px;
  display: block;
  box-shadow: 0 12px 24px rgba(18, 59, 122, 0.18);
  flex-shrink: 0;
}
.brand-text { font-size: 1rem; letter-spacing: 0.01em; }
.nav-list {
  display: flex; gap: 1rem; list-style: none; margin: 0; padding: 0;
  align-items: center;
}
.nav-list a {
  color: var(--muted); font-weight: 600; font-size: 0.92rem;
  padding: 0.55rem 0.3rem; position: relative;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--ink); }
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.15rem;
  height: 2px; background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transform: scaleX(0); transform-origin: left; transition: transform var(--transition);
}
.nav-list a:hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.menu-btn { display: none; }

/* Toggle thème */
.theme-toggle {
  width: 40px; height: 40px; border-radius: 12px;
  background: transparent; border: 1px solid var(--line);
  color: var(--ink); cursor: pointer;
  display: inline-grid; place-items: center;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.theme-toggle:hover { background: var(--surface-2); border-color: var(--brand-2); transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
:root[data-theme="dark"] .theme-toggle .sun { display: block; }
:root[data-theme="dark"] .theme-toggle .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display: none; }
}

/* CTA du menu : visibles seulement dans le menu déroulant mobile */
.nav-cta { display: none; }

/* Sous-menu (desktop = flyout, mobile = arbre déplié) */
.nav-list .has-submenu { position: relative; }
.nav-list .lang-switcher {
  margin-left: 0.6rem;
  padding-left: 1rem;
  border-left: 1px solid rgba(14, 27, 45, 0.12);
}
.nav-list .lang-switcher > a { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 700; }
@media (max-width: 1080px) {
  .nav-list .lang-switcher { margin-left: 0; padding-left: 0.5rem; border-left: 0; }
}
.nav-list .submenu {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 240px;
  list-style: none; padding: 0.5rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
  display: flex; flex-direction: column; gap: 2px;
}
.nav-list .has-submenu:hover > .submenu,
.nav-list .has-submenu:focus-within > .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-list .submenu li { margin: 0; }
.nav-list .submenu a {
  display: block; padding: 0.55rem 0.75rem; border-radius: 10px;
  color: var(--ink); font-size: 0.92rem;
}
.nav-list .submenu a:hover, .nav-list .submenu a[aria-current="page"] {
  background: var(--brand-soft); color: var(--brand);
}
.nav-list .submenu a::after { display: none; }

@media (max-width: 1080px) {
  .nav-list {
    position: fixed; inset: 78px 0 auto 0;
    background: rgba(245, 247, 251, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.4rem;
    transform: translateY(-120%);
    transition: transform 0.28s ease;
    flex-direction: column; align-items: stretch;
    gap: 0.2rem;
    max-height: calc(100vh - 78px); overflow-y: auto;
  }
  .nav-list.is-open { transform: translateY(0); }
  .nav-list > li { width: 100%; }
  .nav-list a { padding: 0.75rem 0.5rem; width: 100%; display: block; }

  /* Sous-menu déplié en accordéon sur mobile */
  .nav-list .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: 0; background: transparent;
    padding: 0 0 0.5rem 0.9rem; margin: 0;
    display: block; min-width: 0;
  }
  .nav-list .submenu a { padding: 0.55rem 0.5rem; font-size: 0.9rem; }

  /* CTA en bas du menu déroulant */
  .nav-cta {
    display: block;
    margin-top: 0.4rem;
    padding-top: 0.4rem;
  }
  .nav-cta:first-of-type { margin-top: 1rem; border-top: 1px solid var(--line); padding-top: 1rem; }
  .nav-cta .btn { width: 100%; }
  .nav-cta a::after { display: none; }

  .menu-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 46px; height: 46px; border-radius: 12px;
    background: #fff; border: 1px solid var(--line); cursor: pointer;
    color: var(--ink);
  }
  /* Masque les CTA horizontaux du header sur mobile — ils repassent dans le menu */
  .nav-actions { display: none; }
}

/* Sections --------------------------------------------------------- */
main section { padding: var(--section) 0; scroll-margin-top: 100px; }

/* Page hero (bandeau haut de page avec image de fond) -------------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--page-hero-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14,37,71,0.78) 0%, rgba(14,37,71,0.60) 45%, rgba(14,37,71,0.35) 100%),
    linear-gradient(180deg, rgba(14,37,71,0.20) 0%, rgba(14,37,71,0.55) 100%);
}
.page-hero h1 { color: #fff; max-width: 22ch; }
.page-hero p  { color: rgba(255, 255, 255, 0.88); }
.page-hero .lead { max-width: 62ch; font-size: clamp(1rem, 1.35vw, 1.15rem); }
.page-hero .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.page-hero .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.page-hero .breadcrumb {
  color: rgba(255, 255, 255, 0.7); font-size: 0.85rem; margin-bottom: 0.9rem;
  display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap;
}
.page-hero .breadcrumb a { color: rgba(255, 255, 255, 0.8); }
.page-hero .breadcrumb a:hover { color: #fff; }
.page-hero .btn-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  backdrop-filter: blur(10px);
}
.page-hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.22); color: #fff; }
.page-hero .btn-primary { background: #fff; color: var(--brand); }
.page-hero .btn-primary:hover { color: var(--brand); }

/* Bande parallax (image de fond fixe au scroll) -------------------- */
.bg-parallax {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 8vw, 6rem) 0;
  background-image: var(--parallax-img, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  isolation: isolate;
}
.bg-parallax::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,37,71,0.7), rgba(14,37,71,0.55));
}
.bg-parallax h2 { color: #fff; }
.bg-parallax p, .bg-parallax .lead { color: rgba(255, 255, 255, 0.9); }
.bg-parallax .eyebrow {
  background: rgba(255, 255, 255, 0.12); color: #fff;
  border-color: rgba(255, 255, 255, 0.25); backdrop-filter: blur(10px);
}
.bg-parallax .eyebrow::before { background: #fff; }
/* Sur mobile / iOS, background-attachment: fixed est instable → scroll classique */
@media (max-width: 900px), (hover: none) {
  .bg-parallax { background-attachment: scroll; }
}

.section-head {
  display: grid; gap: 1rem; align-items: end;
  grid-template-columns: 1fr auto;
  margin-bottom: 2rem;
}
@media (max-width: 720px) { .section-head { grid-template-columns: 1fr; } }

/* Hero ------------------------------------------------------------- */
.hero { padding-top: clamp(2rem, 5vw, 3.5rem); }

/* Hero cover — variante avec image de fond ------------------------- */
.hero-cover {
  position: relative;
  color: #fff;
  padding: clamp(4rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hero-cover {
  --hero-bg: url("../img/hero-bg.svg");
}
.hero-cover::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image: var(--hero-bg), url("../img/hero-bg.svg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  transition: background-image 0.6s ease;
}
.hero-cover::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 37, 71, 0.72) 0%, rgba(14, 37, 71, 0.55) 35%, rgba(14, 37, 71, 0.35) 70%, rgba(14, 37, 71, 0.55) 100%),
    linear-gradient(180deg, rgba(14, 37, 71, 0.15) 0%, rgba(14, 37, 71, 0.35) 100%);
}
.hero-cover h1 { color: #fff; max-width: 14ch; }
.hero-cover p { color: rgba(255, 255, 255, 0.9); }
.hero-cover .lead { max-width: 60ch; font-size: clamp(1.05rem, 1.4vw, 1.2rem); }
.hero-cover .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
}
.hero-cover .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2); }
.hero-cover .hero-actions { margin: 1.8rem 0 1.2rem; gap: 0.8rem; }
.hero-cover .btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
}
.hero-cover .btn-secondary:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.hero-cover .btn-primary {
  background: #fff; color: var(--brand);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}
.hero-cover .btn-primary:hover { color: var(--brand); }
.hero-cover .hero-meta { border-top-color: rgba(255, 255, 255, 0.15); }
.hero-cover .hero-meta strong { color: #fff; }
.hero-cover .hero-meta .muted { color: rgba(255, 255, 255, 0.72); }
.hero-cover .fine { color: rgba(255, 255, 255, 0.72); }

.hero-cover-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 2.4rem; align-items: center;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.4rem 0.8rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.85rem; color: #fff; font-weight: 600;
  backdrop-filter: blur(10px);
}

.hero-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  border-radius: 26px;
  padding: 1.6rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.4);
}
.hero-card h2 { font-size: 1.4rem; color: var(--ink); }
.hero-card p  { color: var(--muted); font-size: 0.95rem; }
.hero-card .card-list { display: grid; gap: 0.7rem; margin: 0.8rem 0 0; padding: 0; list-style: none; }
.hero-card .card-list li {
  display: grid; grid-template-columns: 34px 1fr; gap: 0.6rem; align-items: flex-start;
  font-size: 0.95rem;
}
.hero-card .card-list li strong { color: var(--ink); }
.hero-card .num {
  width: 32px; height: 32px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; flex-shrink: 0;
  font-family: "DM Serif Display", serif; font-size: 1.05rem;
}
.hero-card .cta-row {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line);
}

/* Slideshow (diaporama hero) --------------------------------------- */
.hero-slider { position: relative; }
.hero-slides { position: relative; }
.hero-slide {
  display: none;
  animation: slideFade 0.6s ease;
}
.hero-slide.is-active { display: block; }
@keyframes slideFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.slider-controls {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
  margin-top: 1.4rem; padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.slider-dots { display: flex; gap: 0.5rem; align-items: center; }
.slider-dot {
  width: 34px; height: 6px; padding: 0; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.25); border-radius: 999px;
  transition: background var(--transition), width var(--transition);
}
.slider-dot:hover { background: rgba(255, 255, 255, 0.5); }
.slider-dot.is-active { background: #fff; width: 46px; }
.slider-nav {
  display: flex; gap: 0.4rem; margin-left: auto;
}
.slider-btn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1); color: #fff; cursor: pointer;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.slider-btn:hover { background: rgba(255, 255, 255, 0.2); border-color: rgba(255, 255, 255, 0.5); transform: translateY(-1px); }
.slider-btn svg { width: 18px; height: 18px; }
.slider-progress {
  height: 3px; background: rgba(255, 255, 255, 0.1); border-radius: 999px;
  overflow: hidden; margin-top: 0.9rem;
}
.slider-progress-bar {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.6), #fff);
  transition: width 0.15s linear;
}
@media (prefers-reduced-motion: reduce) { .hero-slide { animation: none; } }
.hero-grid {
  display: grid; grid-template-columns: 1.12fr 0.88fr;
  gap: 2rem; align-items: stretch;
}
.hero-copy h1 { max-width: 12ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.6rem 0 1rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  padding-top: 1rem; border-top: 1px solid var(--line); margin-top: 1rem;
}
.hero-meta strong { display: block; color: var(--ink); font-size: 1.02rem; margin-bottom: 0.15rem; }
.hero-panel {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76)),
    linear-gradient(135deg, rgba(31, 95, 191, 0.08), rgba(18, 59, 122, 0.03));
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 30px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute; inset: auto -8% -12% auto;
  width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 95, 191, 0.15), transparent 62%);
  pointer-events: none;
}
.trust-sheet {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem; align-items: stretch;
}
.sheet-card, .pane {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.sheet-card { padding: 1.2rem; }
.pane { padding: 1.4rem; }
.panel-label {
  font-size: 0.8rem; font-weight: 800; color: var(--brand);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.kpi-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem;
  margin-top: 0.6rem;
}
.kpi {
  padding: 0.9rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.kpi strong { display: block; font-size: 1.15rem; color: var(--ink); font-family: "DM Serif Display", serif; }
.kpi span { color: var(--muted); font-size: 0.88rem; }

.check-list { list-style: none; padding: 0; margin: 0.8rem 0 0; display: grid; gap: 0.35rem; }
.check-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 0.8rem; align-items: flex-start;
  padding: 0.9rem 0; border-bottom: 1px solid rgba(14, 27, 45, 0.08);
}
.check-list li:last-child { border-bottom: 0; }
.check-list strong { color: var(--ink); }
.check-list p { margin: 0.15rem 0 0; }
.tick {
  width: 26px; height: 26px; border-radius: 8px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-weight: 800; margin-top: 0.1rem;
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .trust-sheet { grid-template-columns: 1fr; }
}

/* Feature lines ---------------------------------------------------- */
.feature-lines { display: grid; gap: 0.4rem; }
.feature-line {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1.2rem;
  align-items: start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
}
.feature-line:last-child { border-bottom: 1px solid var(--line); }
.feature-number {
  font-family: "DM Serif Display", serif;
  font-size: 2.1rem; color: var(--brand-2);
  line-height: 1;
}
@media (max-width: 720px) {
  .feature-line { grid-template-columns: 1fr; }
  .feature-number { font-size: 1.7rem; }
}

/* ============================================================
   Icônes SVG unifiées (via mask-image + currentColor)
   Utilisation : <i class="ico ico-shield" aria-hidden="true"></i>
   ============================================================ */
.ico {
  display: inline-block;
  width: 1em; height: 1em;
  background-color: currentColor;
  -webkit-mask: no-repeat center / contain;
          mask: no-repeat center / contain;
  vertical-align: -0.125em;
  flex-shrink: 0;
}
.ico-shield         { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/></svg>"); }
.ico-shield-check   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='M9 12l2 2 4-4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/><path d='M9 12l2 2 4-4'/></svg>"); }
.ico-lock           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='11' width='18' height='11' rx='2'/><path d='M7 11V7a5 5 0 0 1 10 0v4'/></svg>"); }
.ico-key            { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='7' cy='17' r='3'/><path d='M9 15l10-10M14 5l5 5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='7' cy='17' r='3'/><path d='M9 15l10-10M14 5l5 5'/></svg>"); }
.ico-check          { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>"); }
.ico-check-circle   { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 11.08V12a10 10 0 1 1-5.93-9.14'/><polyline points='22 4 12 14.01 9 11.01'/></svg>"); }
.ico-smartphone     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='7' y='2' width='10' height='20' rx='2'/><line x1='12' y1='18' x2='12.01' y2='18'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='7' y='2' width='10' height='20' rx='2'/><line x1='12' y1='18' x2='12.01' y2='18'/></svg>"); }
.ico-user           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>"); }
.ico-monitor        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='3' width='20' height='14' rx='2'/><line x1='8' y1='21' x2='16' y2='21'/><line x1='12' y1='17' x2='12' y2='21'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='3' width='20' height='14' rx='2'/><line x1='8' y1='21' x2='16' y2='21'/><line x1='12' y1='17' x2='12' y2='21'/></svg>"); }
.ico-calculator     { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='2' width='16' height='20' rx='2'/><line x1='8' y1='6' x2='16' y2='6'/><line x1='8' y1='11' x2='8.01' y2='11'/><line x1='12' y1='11' x2='12.01' y2='11'/><line x1='16' y1='11' x2='16.01' y2='11'/><line x1='8' y1='15' x2='8.01' y2='15'/><line x1='12' y1='15' x2='12.01' y2='15'/><line x1='16' y1='15' x2='16.01' y2='15'/><line x1='8' y1='19' x2='8.01' y2='19'/><line x1='12' y1='19' x2='12.01' y2='19'/><line x1='16' y1='19' x2='16.01' y2='19'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='4' y='2' width='16' height='20' rx='2'/><line x1='8' y1='6' x2='16' y2='6'/><line x1='8' y1='11' x2='8.01' y2='11'/><line x1='12' y1='11' x2='12.01' y2='11'/><line x1='16' y1='11' x2='16.01' y2='11'/><line x1='8' y1='15' x2='8.01' y2='15'/><line x1='12' y1='15' x2='12.01' y2='15'/><line x1='16' y1='15' x2='16.01' y2='15'/><line x1='8' y1='19' x2='8.01' y2='19'/><line x1='12' y1='19' x2='12.01' y2='19'/><line x1='16' y1='19' x2='16.01' y2='19'/></svg>"); }
.ico-compass        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polygon points='16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76'/></svg>"); }
.ico-book           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/><path d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z'/><path d='M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z'/></svg>"); }
.ico-eye-off        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a19.7 19.7 0 0 1 5.06-5.94M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a19.7 19.7 0 0 1-1.67 2.68M9.88 9.88A3 3 0 1 0 14.12 14.12'/><line x1='1' y1='1' x2='23' y2='23'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a19.7 19.7 0 0 1 5.06-5.94M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a19.7 19.7 0 0 1-1.67 2.68M9.88 9.88A3 3 0 1 0 14.12 14.12'/><line x1='1' y1='1' x2='23' y2='23'/></svg>"); }
.ico-message        { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/></svg>"); }
.ico-file-text      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><line x1='10' y1='9' x2='8' y2='9'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/><polyline points='14 2 14 8 20 8'/><line x1='16' y1='13' x2='8' y2='13'/><line x1='16' y1='17' x2='8' y2='17'/><line x1='10' y1='9' x2='8' y2='9'/></svg>"); }
.ico-tool           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/></svg>"); }
.ico-car            { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 16H9m10 0h3v-3.15a1 1 0 0 0-.84-.99L16 11l-2.7-3.6a1 1 0 0 0-.8-.4H5.24a2 2 0 0 0-1.8 1.1l-.8 1.63A6 6 0 0 0 2 12.42V16h2'/><circle cx='6.5' cy='16.5' r='2.5'/><circle cx='16.5' cy='16.5' r='2.5'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M14 16H9m10 0h3v-3.15a1 1 0 0 0-.84-.99L16 11l-2.7-3.6a1 1 0 0 0-.8-.4H5.24a2 2 0 0 0-1.8 1.1l-.8 1.63A6 6 0 0 0 2 12.42V16h2'/><circle cx='6.5' cy='16.5' r='2.5'/><circle cx='16.5' cy='16.5' r='2.5'/></svg>"); }
.ico-briefcase      { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='14' rx='2'/><path d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='2' y='7' width='20' height='14' rx='2'/><path d='M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16'/></svg>"); }
.ico-target         { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><circle cx='12' cy='12' r='6'/><circle cx='12' cy='12' r='2'/></svg>"); }
.ico-home           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 0-2-2h0a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4a2 2 0 0 0-2-2h0a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/></svg>"); }
.ico-bookmark       { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z'/></svg>"); }
.ico-clock          { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='12 6 12 12 16 14'/></svg>"); }
.ico-search         { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>"); }
.ico-edit           { -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/><path d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/></svg>"); mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/><path d='M18.5 2.5a2.121 2.121 0 0 1 3 3L12 15l-4 1 1-4 9.5-9.5z'/></svg>"); }
.ico-lg { font-size: 1.6rem; }
.ico-md { font-size: 1.25rem; }

/* Solution cards (hub) --------------------------------------------- */
.solution-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
}
.solution-card {
  background: #fff;
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.solution-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.solution-card .thumb {
  aspect-ratio: 16 / 10;
  background: var(--brand-soft);
  background-size: cover; background-position: center;
  border-bottom: 1px solid var(--line);
}
.solution-card .body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.solution-card h3 { margin-bottom: 0.4rem; }
.solution-card p { flex: 1; }
.solution-card .card-cta {
  margin-top: 0.8rem;
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; color: var(--brand); font-size: 0.95rem;
}
.solution-card .card-cta svg { width: 16px; height: 16px; transition: transform var(--transition); }
.solution-card:hover .card-cta svg { transform: translateX(3px); }
@media (max-width: 900px) { .solution-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .solution-cards { grid-template-columns: 1fr; } }

/* Content with image split ----------------------------------------- */
.media-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center;
}
.media-split.reverse { grid-template-columns: 1fr 1fr; }
.media-split .media {
  border-radius: 22px; overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
}
@media (max-width: 900px) {
  .media-split, .media-split.reverse { grid-template-columns: 1fr; }
  .media-split.reverse .media-text { order: 1; }
  .media-split.reverse .media       { order: 2; }
}

/* Project bands ---------------------------------------------------- */
.project-bands { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.band {
  min-height: 170px;
  padding: 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(18, 59, 122, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.82)),
    linear-gradient(120deg, rgba(31, 95, 191, 0.05), rgba(18, 59, 122, 0.02));
  box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.band::after {
  content: "";
  position: absolute; inset: auto -20px -18px auto;
  width: 120px; height: 120px; border-radius: 26px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, rgba(18, 59, 122, 0.1), rgba(31, 95, 191, 0.03));
}
@media (max-width: 720px) { .project-bands { grid-template-columns: 1fr; } }

/* Split ------------------------------------------------------------ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start;
}
@media (max-width: 1080px) { .split { grid-template-columns: 1fr; } }

/* Trust grid ------------------------------------------------------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trust-item {
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand);
  margin-bottom: 0.9rem;
  font-size: 1.05rem;
}
@media (max-width: 1080px) { .trust-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px)  { .trust-grid { grid-template-columns: 1fr; } }

/* Page block ------------------------------------------------------- */
.page-block {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}
.form-note {
  padding: 0.9rem 1rem;
  border-left: 4px solid var(--brand-2);
  background: var(--brand-soft);
  border-radius: 12px;
  color: var(--ink);
  font-size: 0.92rem;
}

/* Simulator -------------------------------------------------------- */
.simulator {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 1.2rem;
  align-items: stretch;
}
.sim-box, .result-box {
  background: var(--surface);
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
  padding: 1.4rem;
}
.field-grid { display: grid; gap: 1rem; }
.field { display: grid; gap: 0.4rem; }
label { font-size: 0.92rem; color: var(--ink); font-weight: 700; }
input, select, textarea {
  width: 100%; min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  background: #fff; color: var(--ink);
  transition: border-color var(--transition), box-shadow var(--transition);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  border-color: rgba(31, 95, 191, 0.5);
  box-shadow: 0 0 0 4px rgba(31, 95, 191, 0.12);
  outline: none;
}
input[type="range"] {
  min-height: auto; padding: 0; border: none; box-shadow: none;
  accent-color: var(--brand-2); background: transparent;
}
.inline-values {
  display: flex; justify-content: space-between; gap: 1rem;
  font-size: 0.9rem; color: var(--muted);
}
.result-stack { display: grid; gap: 0.75rem; margin-top: 0.6rem; }
.result-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 0.9rem 1rem;
  background: var(--surface-2);
  border-radius: 14px;
}
.result-row strong { font-size: 1.1rem; color: var(--ink); }
@media (max-width: 1080px) { .simulator { grid-template-columns: 1fr; } }
@media (max-width: 480px)  { .result-row { flex-direction: column; align-items: flex-start; gap: 0.15rem; } }

/* Form multi-step -------------------------------------------------- */
.stepper {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem;
}
.step-pill {
  padding: 0.7rem 0.95rem; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; color: var(--muted); font-weight: 700; font-size: 0.9rem;
}
.step-pill.is-active {
  background: var(--brand-soft); color: var(--brand);
  border-color: rgba(31, 95, 191, 0.25);
}
.step-pill.is-done {
  background: var(--success-soft); color: var(--success); border-color: rgba(18, 122, 91, 0.25);
}
.step-pane { display: none; }
.step-pane.is-active { display: block; animation: rise 0.4s ease both; }

.form-actions {
  display: flex; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap;
  margin-top: 1.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line);
}
.review { display: grid; gap: 0.4rem; }
.review-row {
  display: flex; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 0; border-bottom: 1px solid var(--line);
}
.review-row:last-child { border-bottom: 0; }
.review-row .k { color: var(--muted); }
.review-row .v { color: var(--ink); font-weight: 700; text-align: right; word-break: break-word; }
@media (max-width: 480px) { .review-row { flex-direction: column; } .review-row .v { text-align: left; } }

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08); }
.field-error { color: var(--danger); font-size: 0.85rem; display: none; }
.field.is-invalid .field-error { display: block; }
.checkbox-row {
  display: flex; gap: 0.8rem; align-items: flex-start;
  font-weight: 500; color: var(--ink);
}
.checkbox-row input { width: auto; min-height: auto; margin-top: 0.25rem; }

/* FAQ -------------------------------------------------------------- */
.faq-list { display: grid; gap: 0.8rem; }
details.faq {
  background: #fff;
  border: 1px solid rgba(18, 59, 122, 0.1);
  border-radius: 16px;
  padding: 1rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
details.faq summary {
  cursor: pointer; font-weight: 700; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  color: var(--ink);
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+"; font-size: 1.5rem; line-height: 1; color: var(--brand-2);
  transition: transform var(--transition);
}
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0.7rem 0 0; }

/* CTA panel -------------------------------------------------------- */
.cta-panel {
  padding: clamp(1.6rem, 2.5vw, 2.4rem);
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    linear-gradient(135deg, #0e2547, #123b7a 58%, #1f5fbf);
  box-shadow: 0 24px 70px rgba(18, 59, 122, 0.25);
  display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center;
}
.cta-panel h2, .cta-panel h3 { color: #fff; margin-bottom: 0.4rem; }
.cta-panel p { color: rgba(255, 255, 255, 0.86); margin: 0; }
.cta-panel .btn-primary {
  background: #fff; color: var(--brand);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}
.cta-panel .btn-primary:hover { color: var(--brand); }
@media (max-width: 720px) { .cta-panel { grid-template-columns: 1fr; } }

/* Confirmation ----------------------------------------------------- */
.confirmation-shell {
  text-align: center; max-width: 620px; margin: 0 auto;
  padding: 1.8rem;
  background: linear-gradient(180deg, rgba(18, 122, 91, 0.07), rgba(18, 122, 91, 0.02));
  border: 1px solid rgba(18, 122, 91, 0.22);
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}
.check-circle {
  width: 76px; height: 76px; border-radius: 50%;
  background: var(--success-soft); color: var(--success);
  display: inline-grid; place-items: center;
  margin: 0.5rem auto 1rem;
  font-size: 2.2rem;
}
.reference-badge {
  display: inline-block; padding: 0.4rem 0.85rem; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85rem; font-weight: 700; color: var(--ink);
  margin: 0.4rem 0 1rem;
}

/* Alerts ----------------------------------------------------------- */
.alert {
  padding: 0.85rem 1rem;
  border-radius: 12px; font-size: 0.9rem;
  display: flex; gap: 0.7rem; align-items: flex-start;
  margin: 0.8rem 0;
}
.alert-info { background: var(--brand-soft); border: 1px solid rgba(31, 95, 191, 0.18); color: #0b2b5f; }
.alert-warn { background: #fff5eb; border: 1px solid #f6c99a; color: #6b3d0a; }

/* Prose (pages légales) ------------------------------------------- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.4rem; }
.prose ul { color: var(--muted); padding-left: 1.25rem; }
.prose ul li { margin-bottom: 0.4rem; }

/* Footer ----------------------------------------------------------- */
.site-footer {
  padding: 3rem 0 2rem;
  background: linear-gradient(180deg, #123b7a 0%, #0e2547 100%);
  margin-top: 2rem;
}
.site-footer .brand { color: #fff; }
.site-footer .brand:hover { color: rgba(255, 255, 255, 0.85); }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 0.9fr 0.9fr 0.9fr;
  gap: 1.5rem; margin-bottom: 2rem;
}
.footer-grid h4 {
  font-family: "Manrope", sans-serif;
  font-size: 0.95rem; font-weight: 800;
  margin: 0 0 0.75rem; color: #fff;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.3rem; }
.footer-grid a { color: rgba(255, 255, 255, 0.75); padding: 0.3rem 0; display: inline-block; font-size: 0.92rem; }
.footer-grid a:hover { color: #fff; }
.footer-brand-text { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; max-width: 34ch; margin: 0.75rem 0 0; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; font-size: 0.85rem; color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* Anim ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .reveal, .reveal-up, .reveal-left, .reveal-right, .reveal-scale, .reveal-blur {
    opacity: 0; transition: opacity 0.7s cubic-bezier(.2,.7,.2,1),
                            transform 0.7s cubic-bezier(.2,.7,.2,1),
                            filter 0.7s cubic-bezier(.2,.7,.2,1);
  }
  .reveal        { transform: translateY(24px); }
  .reveal-up     { transform: translateY(40px); }
  .reveal-left   { transform: translateX(-40px); }
  .reveal-right  { transform: translateX(40px); }
  .reveal-scale  { transform: scale(0.94); }
  .reveal-blur   { filter: blur(10px); transform: translateY(20px); }

  .reveal.is-visible,
  .reveal-up.is-visible,
  .reveal-left.is-visible,
  .reveal-right.is-visible,
  .reveal-scale.is-visible,
  .reveal-blur.is-visible {
    opacity: 1; transform: none; filter: none;
  }

  /* Stagger : chaque enfant reçoit un délai croissant */
  .reveal[data-stagger].is-visible > *,
  .stagger.is-visible > *,
  .stagger.is-visible > article,
  .stagger.is-visible > .card,
  .stagger.is-visible > .band {
    animation: rise 0.65s cubic-bezier(.2,.7,.2,1) both;
  }
  .stagger > * { opacity: 0; transform: translateY(18px); }
  .stagger.is-visible > *:nth-child(1){ animation-delay: 0.05s; }
  .stagger.is-visible > *:nth-child(2){ animation-delay: 0.14s; }
  .stagger.is-visible > *:nth-child(3){ animation-delay: 0.23s; }
  .stagger.is-visible > *:nth-child(4){ animation-delay: 0.32s; }
  .stagger.is-visible > *:nth-child(5){ animation-delay: 0.41s; }
  .stagger.is-visible > *:nth-child(6){ animation-delay: 0.50s; }
  .stagger.is-visible > *:nth-child(7){ animation-delay: 0.59s; }
  .stagger.is-visible > *:nth-child(8){ animation-delay: 0.68s; }
  @keyframes rise { to { opacity: 1; transform: translateY(0); } }

  /* Flottement doux (pour illustrations) */
  .float-slow { animation: floaty 6s ease-in-out infinite; }
  @keyframes floaty {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-8px); }
  }
  /* Pulsation */
  .pulse-dot { animation: pulseDot 2s ease-in-out infinite; }
  @keyframes pulseDot {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%     { transform: scale(1.15); opacity: 0.7; }
  }
}

/* ============================================================
   Bandes visuelles différenciées entre sections
   ============================================================ */

/* Bande sombre premium (bleu marine, texte clair) */
.band-dark {
  position: relative;
  color: #e8eefb;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(31, 95, 191, 0.25), transparent 60%),
    radial-gradient(600px 300px at 88% 80%, rgba(46, 120, 220, 0.18), transparent 60%),
    linear-gradient(180deg, #0a1a36, #0e2547 60%, #0a1a36);
  overflow: hidden; isolation: isolate;
}
.band-dark::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: -1;
}
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p, .band-dark .lead { color: rgba(255, 255, 255, 0.82); }
.band-dark .eyebrow { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); color: #fff; }
.band-dark .eyebrow::before { background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.18); }
.band-dark .btn-secondary {
  background: rgba(255,255,255,0.12); color: #fff;
  border-color: rgba(255,255,255,0.35); box-shadow: none;
}
.band-dark .btn-secondary:hover { background: rgba(255,255,255,0.2); color: #fff; }

/* Bande crème (rupture douce) */
.band-cream {
  background:
    linear-gradient(180deg, #f7f3ea 0%, #fbf7ef 100%);
  border-block: 1px solid #eadfc7;
  position: relative; overflow: hidden;
}
.band-cream::after {
  content: ""; position: absolute;
  right: -60px; top: -60px; width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,204,120,0.25), transparent 70%);
  pointer-events: none;
}

/* Bande tint bleutée */
.band-tint {
  background:
    radial-gradient(700px 320px at 90% 10%, rgba(31,95,191,0.10), transparent 60%),
    linear-gradient(180deg, #eef3fb 0%, #f6f8fc 100%);
  border-block: 1px solid #dee6f5;
}

/* Section chiffres */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.stat {
  padding: 1.4rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  text-align: left;
  backdrop-filter: blur(6px);
}
.band-dark .stat { color: #fff; }
.stat .num {
  font-family: "DM Serif Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: #fff; margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat .lbl { font-size: 0.9rem; color: rgba(255,255,255,0.7); font-weight: 600; }
@media (max-width: 900px) { .stats-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .stats-row { grid-template-columns: 1fr; } }

/* Timeline verticale */
.timeline { position: relative; padding-left: 44px; }
.timeline::before {
  content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px;
  width: 2px; background: linear-gradient(180deg, var(--brand-2), var(--brand));
  border-radius: 2px; opacity: 0.4;
}
.timeline .tl-item {
  position: relative; padding: 0.4rem 0 1.6rem;
}
.timeline .tl-item::before {
  content: ""; position: absolute; left: -34px; top: 12px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #fff; border: 3px solid var(--brand-2);
  box-shadow: 0 0 0 4px rgba(31,95,191,0.15);
}
.timeline h3 { margin-bottom: 0.3rem; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.1rem; }
.timeline p { font-size: 0.95rem; }

/* Grille de valeurs (avec accent) */
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.value-card {
  padding: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  position: relative; overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--brand-2), var(--brand));
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(.2,.7,.2,1);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card:hover::before { transform: scaleX(1); }
.value-card .v-icon {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin-bottom: 0.9rem;
  font-size: 1.4rem;
}
@media (max-width: 900px) { .values-grid { grid-template-columns: 1fr; } }

/* Diviseur SVG en vague */
.wave-divider { display: block; width: 100%; height: 60px; }

/* Ancre de lecture en marge (grand chapitre) */
.chapter-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 0.78rem; letter-spacing: 0.08em;
  background: rgba(31,95,191,0.1); color: var(--brand);
  border: 1px solid rgba(31,95,191,0.2);
  margin-bottom: 0.75rem;
}
.band-dark .chapter-badge { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }

/* ============================================================
   Nouveaux composants — homepage restructurée
   ============================================================ */

/* Trust bar (juste sous le hero) */
.trust-bar {
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}
.trust-bar-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  align-items: center;
}
.trust-item-inline {
  display: flex; align-items: center; gap: 0.75rem;
  font-weight: 700; font-size: 0.95rem; color: var(--ink);
}
.trust-item-inline .ico-round {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.1rem;
  flex-shrink: 0;
}
.trust-item-inline .sub { display: block; font-weight: 500; color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) { .trust-bar-row { grid-template-columns: 1fr 1fr; gap: 1rem; } }
@media (max-width: 480px) { .trust-bar-row { grid-template-columns: 1fr; } }

/* Pourquoi Velora — 4 cartes */
.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
}
.why-card {
  padding: 1.6rem 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative; overflow: hidden;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.why-card .why-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-soft), #dfe9ff);
  color: var(--brand); display: grid; place-items: center;
  margin-bottom: 1rem; font-size: 1.6rem;
}
.why-card h3 { margin-bottom: 0.5rem; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.1rem; }
.why-card p { font-size: 0.95rem; margin: 0; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* Vos projets — icônes grid 6 */
.projects-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.project-tile {
  padding: 1.5rem 1.3rem;
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex; align-items: flex-start; gap: 1rem;
}
.project-tile:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-sm);
  border-color: rgba(31,95,191,0.3);
}
.project-tile .p-ico {
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.4rem;
}
.project-tile h3 { margin: 0 0 0.3rem; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.05rem; }
.project-tile p { margin: 0; font-size: 0.9rem; }
@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .projects-grid { grid-template-columns: 1fr; } }

/* Simulateur premium (résultat central massif) */
.sim-premium {
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 2rem; align-items: stretch;
}
.sim-premium .sim-inputs {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  padding: 1.8rem; box-shadow: var(--shadow-sm);
}
.sim-premium .sim-result {
  background: linear-gradient(135deg, #0e2547, #123b7a 55%, #1f5fbf);
  color: #fff; border-radius: 24px; padding: 1.8rem;
  box-shadow: 0 24px 60px rgba(18,59,122,0.28);
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.sim-premium .sim-result::before {
  content: ""; position: absolute; inset: auto -30% -30% auto;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 60%);
  pointer-events: none;
}
.sim-premium .sim-monthly-big {
  font-family: "DM Serif Display", serif;
  font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1;
  color: #fff; margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.sim-premium .sim-monthly-lbl {
  font-size: 0.9rem; color: rgba(255,255,255,0.75); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.4rem;
}
.sim-premium .sim-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem;
  margin: 1rem 0;
  padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15);
}
.sim-premium .sim-summary div {
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
}
.sim-premium .sim-summary strong {
  display: block; color: #fff; font-size: 1rem; margin-top: 2px;
  font-family: "Manrope", sans-serif; font-weight: 700;
}
.sim-premium .sim-cta { margin-top: 1.4rem; }
.sim-premium .sim-cta .btn-primary {
  background: #fff; color: var(--brand); width: 100%;
}
.sim-premium .sim-cta .btn-primary:hover { color: var(--brand); }
.sim-premium .sim-note {
  margin-top: 1rem; font-size: 0.8rem; color: rgba(255,255,255,0.7);
}
@media (max-width: 900px) { .sim-premium { grid-template-columns: 1fr; } }

/* Étapes visuelles (grid 4 avec numéros géants) */
.steps-visual {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  counter-reset: sv;
  position: relative;
}
.step-block {
  position: relative;
  padding: 1.6rem 1.3rem 1.4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.step-block:hover { transform: translateY(-4px); }
.step-block .step-num {
  font-family: "DM Serif Display", serif;
  font-size: 3rem; color: var(--brand-2); line-height: 1;
  margin-bottom: 0.75rem; display: block;
  letter-spacing: -0.02em;
}
.step-block h3 { margin-bottom: 0.4rem; font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1.05rem; }
.step-block p { margin: 0; font-size: 0.9rem; }
.step-block .arrow {
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(18,59,122,0.3);
  z-index: 2;
}
.step-block:last-child .arrow { display: none; }
@media (max-width: 900px) {
  .steps-visual { grid-template-columns: 1fr 1fr; }
  .step-block .arrow { display: none; }
}
@media (max-width: 560px) { .steps-visual { grid-template-columns: 1fr; } }

/* Hero-image (illustration à droite du slider) */
.hero-illustration {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255,255,255,0.4);
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,0.06);
}
.hero-illustration img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}
.hero-illustration img.is-swapping {
  animation: illusFade 0.55s ease;
}
@keyframes illusFade {
  from { opacity: 0.2; transform: scale(1.02); }
  to   { opacity: 1;   transform: scale(1); }
}
.hero-illustration::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(14,37,71,0.55) 100%);
}
.hero-illustration .badge-floating {
  position: absolute; left: 1rem; bottom: 1rem; right: 1rem;
  background: rgba(255,255,255,0.95); color: var(--ink);
  padding: 0.9rem 1.1rem; border-radius: 16px;
  display: flex; align-items: center; gap: 0.75rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
}
.hero-illustration .badge-floating .b-ico {
  width: 40px; height: 40px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-illustration .badge-floating strong { display: block; font-size: 0.95rem; }
.hero-illustration .badge-floating span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 1080px) {
  .hero-illustration { aspect-ratio: 16 / 10; }
}

/* Section sécurité — split avec image */
.security-showcase {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem;
  align-items: center;
}
.security-showcase .sec-media {
  border-radius: 24px; overflow: hidden;
  box-shadow: 0 24px 60px rgba(18,59,122,0.18);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  position: relative;
}
.security-showcase .sec-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(14,37,71,0.35) 100%);
}
.security-showcase .sec-list {
  list-style: none; padding: 0; margin: 1.4rem 0 0;
  display: grid; gap: 1rem;
}
.security-showcase .sec-list li {
  display: grid; grid-template-columns: 44px 1fr; gap: 1rem;
  padding: 0.5rem 0;
}
.security-showcase .sec-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; font-size: 1.2rem;
}
.security-showcase .sec-list h3 { margin: 0 0 0.2rem; font-family: "Manrope", sans-serif; font-weight: 700; font-size: 1.05rem; }
.security-showcase .sec-list p { margin: 0; font-size: 0.92rem; }
@media (max-width: 900px) { .security-showcase { grid-template-columns: 1fr; } }

/* Form group (démande.html) --------------------------------------- */
.form-group {
  padding: 1.4rem 1.5rem;
  background: rgba(31, 95, 191, 0.02);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.form-group-head {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.2rem; padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}
.form-group-head h3 {
  margin: 0; font-family: "Manrope", sans-serif;
  font-weight: 800; font-size: 1.1rem; color: var(--ink);
}
.form-group-head p { margin: 0.15rem 0 0; }
.form-group-num {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; display: grid; place-items: center;
  font-family: "DM Serif Display", serif;
  font-size: 1.2rem; font-weight: 400;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(18, 59, 122, 0.25);
}

/* Confiance — 4 principes carte moderne */
.principles-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.principle-card {
  padding: 1.4rem; background: #fff;
  border: 1px solid var(--line); border-radius: 18px;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.principle-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.principle-card .pr-ico {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; margin: 0 auto 0.9rem;
  font-size: 1.5rem;
}
.principle-card h3 { font-family: "Manrope", sans-serif; font-weight: 800; font-size: 1rem; margin-bottom: 0.4rem; }
.principle-card p { margin: 0; font-size: 0.9rem; }
@media (max-width: 900px) { .principles-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .principles-grid { grid-template-columns: 1fr; } }

/* Barre CTA persistante mobile */
.mobile-cta-bar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  padding: 0.6rem 0.75rem;
  box-shadow: 0 -8px 24px rgba(10,26,53,0.1);
}
.mobile-cta-bar .mcb-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem;
}
.mobile-cta-bar .btn { min-height: 46px; padding: 0.6rem 0.8rem; font-size: 0.92rem; }
@media (max-width: 720px) { .mobile-cta-bar { display: block; } }
@media (max-width: 720px) {
  main { padding-bottom: 70px; } /* espace pour ne pas cacher le contenu */
}

/* Bouton WhatsApp flottant */
.whatsapp-fab {
  position: fixed; right: 1.2rem; bottom: 1.2rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25d366; color: #fff;
  box-shadow: 0 10px 24px rgba(18, 59, 122, 0.25);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-fab:hover, .whatsapp-fab:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 59, 122, 0.32);
  color: #fff;
}
.whatsapp-fab:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
@media (max-width: 720px) {
  /* Décalé au-dessus de la barre CTA mobile persistante (présente sur certaines pages). */
  .whatsapp-fab { right: 1rem; bottom: calc(70px + 1rem); width: 50px; height: 50px; }
}

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }
