/* ========================================================================== 
   MOLERNA — Base CSS
   Fichier : css/styles.css
   Description : variables, reset, typographies, containers, liens, boutons,
   utilitaires, responsive. (Sans HTML spécifique au header)
   ========================================================================== */

/* ------------------------------
   1) Variables / Design tokens
   ------------------------------ */
:root {
  /* Brand */
  --brand-primary: #0A3954;   /* Bleu foncé (azure foncé) */
  --brand-accent:  #2AE0A8;   /* Turquoise */
  --brand-black:   #111111;
  --brand-white:   #FFFFFF;

  /* Text & Surfaces */
  --text-strong:   #111111;
  --text-base:     #3A3A3A;
  --text-muted:    #6F7781;
  --bg:            #FFFFFF;
  --surface:       #FFFFFF;
  --line:          #EBEDF0;

  /* States */
  --success: #20C997;
  --warning: #FFC107;
  --danger:  #E53935;

  /* Layout */
  --container:       1280px;     /* élargi pour éviter la casse des liens */
  --container-wide:  1440px;
  --radius:          12px;
  --radius-pill:     9999px;
  --shadow-sm:       0 2px 8px rgba(10, 57, 84, .08);
  --shadow-md:       0 6px 20px rgba(10, 57, 84, .12);

  /* Spacing scale (8px base) */
  --sp-0: 0;
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 48px;
  --sp-10: 64px;

  /* Typography */
  --ff-sans: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
  --fs-root: 16px; /* 1rem */
  --lh-base: 1.6;

  /* Fluid type (desktop → mobile) */
  --fs-h1: clamp(2rem, 1.2rem + 2.5vw, 3.5rem); /* 32 → 56 */
  --fs-h2: clamp(1.5rem, 1.1rem + 1.6vw, 2.5rem); /* 24 → 40 */
  --fs-h3: clamp(1.25rem, 1.05rem + 0.8vw, 1.75rem); /* 20 → 28 */
  --fs-h4: clamp(1.125rem, 1.02rem + 0.4vw, 1.375rem); /* 18 → 22 */
  --fs-body: 1rem; /* 16 */
  --fs-small: 0.9375rem; /* 15 */
  --fs-xs: 0.875rem; /* 14 */

  /* Transitions */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur-1: .18s;
  --dur-2: .28s;
}


/* ===========================
GLOBAL ANIMATIONS
=========================== */

/* Effet de fondu général à l’ouverture */
/* Effet de fondu général à l’ouverture (sans transform sur body) */
body {
  opacity: 0;
  transition: opacity 0.8s ease-out;
}
body.loaded {
  opacity: 1;
}

/* Animation fade-up pour éléments au scroll */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ------------------------------
   2) Reset / base
   ------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  font-size: var(--fs-root);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-base);
  background: var(--bg);
  font-family: var(--ff-sans);
  line-height: var(--lh-base);
  font-weight: 400;
}

img, svg, video, canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

picture { display: block; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

ul, ol { padding-left: var(--sp-7); }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--sp-4);
  color: var(--text-strong);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); font-weight: 600; }
h3 { font-size: var(--fs-h3); font-weight: 600; }
h4 { font-size: var(--fs-h4); font-weight: 600; }

p { margin: 0 0 var(--sp-5); font-size: var(--fs-body); }
small, .text-small { font-size: var(--fs-small); }

hr {
  border: 0; height: 1px; background: var(--line);
  margin: var(--sp-7) 0;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--brand-accent) 65%, white);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------
   3) Links
   ------------------------------ */
a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--dur-1) var(--ease), opacity var(--dur-1) var(--ease);
}
a:hover { color: color-mix(in srgb, var(--brand-primary) 90%, black); }
a:active { opacity: .85; }

/* ------------------------------
   4) Containers / layout helpers
   ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  padding-left: var(--sp-6);
  padding-right: var(--sp-6);
  margin-left: auto;
  margin-right: auto;
}
.container-wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--sp-10) 0;
}
.section--tight {
  padding: var(--sp-8) 0;
}

/* Flex helpers */
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-7 { gap: var(--sp-7); }

/* Spacing utils */
.mt-0{margin-top:0}.mt-2{margin-top:var(--sp-2)}.mt-4{margin-top:var(--sp-4)}.mt-6{margin-top:var(--sp-6)}
.mb-0{margin-bottom:0}.mb-2{margin-bottom:var(--sp-2)}.mb-4{margin-bottom:var(--sp-4)}.mb-6{margin-bottom:var(--sp-6)}
.py-2{padding-top:var(--sp-2);padding-bottom:var(--sp-2)}
.py-3{padding-top:var(--sp-3);padding-bottom:var(--sp-3)}
.py-4{padding-top:var(--sp-4);padding-bottom:var(--sp-4)}
.py-6{padding-top:var(--sp-6);padding-bottom:var(--sp-6)}

/* Visibility */
.visually-hidden, .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;
}

/* ------------------------------
   5) Buttons
   ------------------------------ */
.btn {
  --btn-bg: var(--brand-primary);
  --btn-fg: var(--brand-white);
  --btn-bd: transparent;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
  font-size: var(--fs-small);
  line-height: 1;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn:active { transform: translateY(0); box-shadow: none; }

.btn--primary {
  --btn-bg: var(--brand-primary);
  --btn-fg: var(--brand-white);
  --btn-bd: var(--brand-primary);
}
.btn--primary:hover {
  --btn-bg: color-mix(in srgb, var(--brand-primary) 92%, black);
  --btn-bd: color-mix(in srgb, var(--brand-primary) 92%, black);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--brand-primary);
  --btn-bd: var(--brand-primary);
}
.btn--outline:hover {
  --btn-bg: var(--brand-primary);
  --btn-fg: var(--brand-white);
}

.btn--accent {
  --btn-bg: var(--brand-accent);
  --btn-fg: #003a2b;
  --btn-bd: var(--brand-accent);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text-strong);
  --btn-bd: transparent;
}

/* Icônes inline */
.btn > svg, .btn > img { width: 18px; height: 18px; }

/* Bouton CTA spécifique "Suivi de dossier" (outline par défaut) */
.btn-cta {
  --btn-bg: transparent;
  --btn-fg: var(--brand-primary);
  --btn-bd: var(--brand-primary);
  padding: 0.72rem 1.2rem;
  letter-spacing: .15px;
}
.btn-cta:hover {
  --btn-bg: var(--brand-primary);
  --btn-fg: var(--brand-white);
}

/* ------------------------------
   6) Badges / Pills
   ------------------------------ */
.badge {
  display: inline-flex; align-items: center; gap: .375rem;
  padding: .3rem .6rem;
  border-radius: var(--radius-pill);
  font-size: var(--fs-xs);
  font-weight: 600;
  border: 1px solid var(--line);
  background: #F7FAFB;
  color: var(--brand-primary);
}

/* ------------------------------
   7) Cards (génériques)
   ------------------------------ */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-6);
}
.card--soft { padding: var(--sp-5); }
.card--flat { box-shadow: none; }

/* ------------------------------
   8) Tables (génériques)
   ------------------------------ */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-small);
}
.table th, .table td {
  border-bottom: 1px solid var(--line);
  padding: .9rem .6rem;
  text-align: left;
}
.table th { color: var(--text-strong); font-weight: 600; }

/* ------------------------------
   9) Forms (génériques)
   ------------------------------ */
.input, select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: .8rem .9rem;
  color: var(--text-base);
  outline: none;
  transition: border-color var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease);
}
.input:focus, select:focus, textarea:focus {
  border-color: color-mix(in srgb, var(--brand-primary) 70%, white);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 12%, transparent);
}
.label { display: inline-block; margin-bottom: .4rem; font-weight: 600; color: var(--text-strong); }

/* ------------------------------
   10) Nav primitives (sans structure)
   ------------------------------ */
.nav {
  display: flex;
  align-items: center;
  gap: var(--sp-7);
  white-space: nowrap;
  font-weight: 500;
}
.nav__link {
  position: relative;
  display: inline-flex; align-items: center;
  padding: .4rem 0;
  color: var(--text-strong);
  white-space: nowrap;
}
.nav__link:hover { color: var(--brand-primary); }
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--brand-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-2) var(--ease);
}
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }

/* ------------------------------
   11) Header shell (sans HTML)
   ------------------------------ */
.header-shell{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;           /* garanti au-dessus du flux */
  z-index: 100;                 /* le menu passe devant le contenu */
}

.header-inner {
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-6);
}

.header-cta { display: inline-flex; }      /* état par défaut */

.logo { display: inline-flex; align-items: center; line-height: 0; }
.logo img { height: 42px; width: auto; }

/* Burger placeholder (mobile) */
.burger {
  display: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center; justify-content: center;
}
.burger:focus-visible { outline-offset: 3px; }

/* ===========================
   Mega menu desktop (hover)
   =========================== */
.nav { position: relative; /* plus de contain ici (bug) */ }
.nav__item { position: relative; }

.has-mega > .mega {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, 8px);
  min-width: 880px;                 /* plus large */
  max-width: min(92vw, 1100px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr; /* 2 colonnes liens + 1 colonne image */
  gap: 22px 32px;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s linear var(--dur-2);
  z-index: 50;
}

.has-mega:hover > .mega,
.has-mega:focus-within > .mega,
.has-mega[aria-expanded="true"] > .mega {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
  transition: opacity var(--dur-2) var(--ease), transform var(--dur-2) var(--ease), visibility 0s;
}

/* colonnes de liens */
.mega__col .mega__title {
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
  font-size: 0.95rem;
}
.mega__col a {
  display: block;
  color: var(--text-strong);
  padding: 8px 6px;
  border-radius: 8px;
  font-size: var(--fs-small);
  border: 1px solid transparent;
}
.mega__col a:hover {
  background:#fbfbfc; border-color: var(--line); color: var(--brand-primary);
}

/* colonne media (image à droite) */
.mega__media {
  align-self: start;
  border-left: 1px solid var(--line);
  padding-left: 24px;
}
.mega__media .mega__thumb {
  width: 100%;
  aspect-ratio: 488 / 423;
  border-radius: 5px;
  overflow: hidden;
  background: #f7f9fb;
  display: block;
  border: 1px solid var(--line);
}
.mega__media .mega__thumb img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.mega__media .mega__caption {
  margin-top: 10px;
  font-size: 0.94rem;
  color: var(--text-muted);
}

/* accessibilité focus */
.has-mega > .nav__link:focus { outline-offset: 4px; }



/* ------------------------------
   12) Responsive
   ------------------------------ */
@media (max-width: 1200px) {
  .container { padding-left: var(--sp-5); padding-right: var(--sp-5); }
}
@media (max-width: 1024px) {
  .header-inner { height: 68px; }
  .nav { display: none; }       /* Nav desktop cachée sur mobile (panel JS plus tard) */
  .burger { display: inline-flex; }
  .btn-cta { padding: 0.68rem 1rem; }
  .header-cta { display:none; }            /* cache le bouton desktop sur mobile */
}

@media (max-width: 640px) {
  .container { padding-left: var(--sp-4); padding-right: var(--sp-4); }
  :root { --fs-root: 15.5px; }  /* léger compactage mobile */
}


/* ========================================================================== 
   Mobile Nav Overlay
   ========================================================================== */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .45);
  backdrop-filter: saturate(120%) blur(2px);
  z-index: 60;
  display: none;                /* visible via .is-open */
}
.mobile-nav.is-open { display: block; }

.mobile-nav__panel {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: min(92vw, 380px);
  background: var(--bg);
  box-shadow: var(--shadow-md);
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
}

.mobile-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  border-bottom: 1px solid var(--line);
}
.mobile-nav__title {
  font-size: 1.05rem; font-weight: 600; color: var(--text-strong);
}

.mobile-nav__close {
  width: 40px; height: 40px;
  border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

.mobile-nav__body {
  padding: var(--sp-4) var(--sp-2);
  overflow: auto;
  flex: 1;
}
.mobile-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid; gap: 4px;
}

.mobile-link {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-4);
  padding: .9rem 1rem;
  border-radius: 10px;
  border: 1px solid transparent;
  color: var(--text-strong);
}
.mobile-link:hover { border-color: var(--line); background: #fbfbfc; }

.mobile-nav__cta {
  padding: var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--line);
}

/* Accordéon sous-liens (placeholder pour l’extension mega-menu plus tard) */
.accordion {
  display: none; padding: .4rem 1rem 1rem 1rem;
}
.accordion a {
  display: block; padding: .5rem 0 .5rem .25rem; color: var(--brand-primary);
  border-bottom: 1px dashed var(--line);
  font-size: var(--fs-small);
}
.accordion a:last-child { border-bottom: none; }

/* Ouverture accordéon */
.mobile-link[aria-expanded="true"] + .accordion { display: block; }


/* ===========================
HERO
=========================== */
.hero { padding: clamp(28px, 2.2vw, 44px) 0; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3vw, 56px);
  align-items: center;

  /* Définition des zones et ordre en desktop */
  grid-template-areas: "content media";
}
.hero__content { max-width: 720px; grid-area: content; }
.hero__eyebrow { font-weight: 600; color: var(--brand-primary); margin-bottom: 6px; letter-spacing: .2px; }
.hero__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 10px; }
.hero__title span { color: var(--brand-accent); }
.hero__subtitle { color: var(--text-muted); margin-bottom: 18px; }

.hero__media { grid-area: media; }
.hero__media img { width: 100%; height: auto; display: block; aspect-ratio: 16/13; object-fit: contain; }


/* ===========================
HERO • SIMULATEUR
=========================== */
.simu {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  border-radius: 14px;
  padding: 20px 20px 16px;
}
.simu__block + .simu__block { margin-top: 18px; }

.simu__label { display: block; font-weight: 600; color: var(--text-strong); margin-bottom: 12px; }

/* Ligne montant */
.simu__amount {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}
.simu__btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff; font-weight: 700; line-height: 1; cursor: pointer;
}
.simu__btn:hover { box-shadow: var(--shadow-sm); }

/* Range + valeur au-dessus (PLUS DE CHEVAUCHEMENT) */
.simu__range { position: relative; }
.simu__value {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--brand-primary);
}

/* Slider stylé (remplissage accent) */
.simu__range input[type="range"] {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.simu__range input[type="range"]::-webkit-slider-runnable-track {
  height: 10px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand-accent) var(--_pct, 0%), #C9D0D6 var(--_pct, 0%));
}
.simu__range input[type="range"]::-moz-range-track {
  height: 10px; border-radius: 999px;
  background: linear-gradient(to right, var(--brand-accent) var(--_pct, 0%), #C9D0D6 var(--_pct, 0%));
}
.simu__range input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px; margin-top: -6px;
  border-radius: 50%; border: 3px solid #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-accent) 60%, #0000);
  background: var(--brand-accent); cursor: pointer;
}
.simu__range input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border: 3px solid #fff; border-radius: 50%;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-accent) 60%, #0000);
  background: var(--brand-accent); cursor: pointer;
}
.simu__range-scale {
  display: flex; justify-content: space-between;
  font-size: var(--fs-small); color: var(--text-muted); margin-top: 8px;
}

/* Projets (grille FIXE 3 colonnes, cartes uniformes) */
.simu__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff; color: var(--text-strong);
  cursor: pointer; text-align: left;
  transition: box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease), transform var(--dur-1) var(--ease);
  min-height: 64px;                 /* 👉 même hauteur partout */
}
.chip span { line-height: 1.2; }
.chip:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.chip[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--brand-accent) 60%, #0000);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-accent) 14%, #0000);
}
.chip svg { width: 20px; height: 20px; color: var(--brand-primary); }

/* CTA dans la box */
.simu__actions {
  margin-top: 18px;
  display: flex; justify-content: center;
}

/* Responsives */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
  }

  .simu__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .simu { padding: 16px; }
  .simu__btn { width: 40px; height: 40px; }
  .simu__grid { grid-template-columns: 1fr; }
}

/* ===========================
HERO • SUBSECTION
=========================== */
.hero-sub {
  padding: clamp(28px, 3vw, 56px) 0;
  background: #fff;
  border-top: 1px solid var(--line);
}
.hero-sub__inner {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}
.hero-sub__block + .hero-sub__block { margin-top: clamp(16px, 2vw, 28px); }

.hero-sub__title {
  font-size: clamp(1.3rem, 1.05rem + 1vw, 1.8rem);
  line-height: 1.25;
  margin-bottom: 6px;
}
.hero-sub__text {
  color: var(--text-muted);
  font-size: clamp(0.98rem, .9rem + .2vw, 1.05rem);
}

/* Ruban “preuves” */
.hero-sub__proofs {
  list-style: none;
  padding: 0;
  margin: clamp(18px, 2.2vw, 28px) auto 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--brand-accent) 8%, white);
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
}
.proof__icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-primary);
}
/* Taille/couleur des Ionicons */
.proof__icon ion-icon {
  font-size: 20px;           /* ≈ 20px visuels */
  color: var(--brand-primary);
}

/* Accents */
.hero-sub strong { color: var(--brand-primary); }
.proof strong { color: var(--brand-accent); }

/* ===========================
TRUST / OFFRES & MENSUALITÉS
=========================== */
.trust { padding: clamp(34px, 4vw, 72px) 0; }
.trust__head { text-align: center; margin-bottom: clamp(18px, 2.2vw, 28px); }
.trust__title { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.2rem); margin: 0 0 6px; }
.trust__tagline {
  display: inline-flex; gap: 10px; align-items: center; flex-wrap: wrap;
  color: var(--text-muted);
}
.trust__tagline ion-icon { color: var(--brand-primary); font-size: 18px; }
.trust__tagline .dot { opacity: .4; }

.trust__grid {
  display: grid; gap: clamp(14px, 2vw, 22px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(14px, 2.2vw, 24px);
}
.card--service {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 100%; padding: 22px;
}
.card__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: 10px;
  background: color-mix(in srgb, var(--brand-accent) 12%, white);
  color: var(--brand-primary);
}
.card__icon ion-icon { font-size: 26px; }
.card__title { font-size: 1.1rem; margin: 6px 0; }
.card__lead { color: var(--text-strong); margin: 4px 0 8px; }
.card__text { color: var(--text-muted); margin-bottom: 14px; }
.card__cta { margin-top: auto; }

.trust__table { margin-top: clamp(26px, 3vw, 38px); }
.trust__table-head { display: grid; gap: 4px; text-align: center; margin-bottom: 12px; }
.trust__table-title { font-size: 1.05rem; }
.trust__table-note { color: var(--text-muted); }

.grid-table {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.gt__cell {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 12px;
  background: #fff;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.gt__amount { font-weight: 600; color: var(--brand-primary); margin-bottom: 4px; }
.gt__monthly { color: var(--text-strong); }

.trust__legal {
  margin-top: 10px;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 1100px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .grid-table { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .trust__grid { grid-template-columns: 1fr; }
  .grid-table { grid-template-columns: repeat(2, 1fr); }
}


/* ===========================
BRAND PROMISE / EXPERTISE
=========================== */
.brand-split{
  background: var(--brand-accent);
  /* léger motif pour un rendu “tech” discret */
  --dot: color-mix(in srgb, #000 6%, transparent);
  background-image:
    radial-gradient(var(--dot) 1px, transparent 1px),
    radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 18px 18px, 18px 18px;
  background-position: 0 0, 9px 9px;
  padding: clamp(28px, 4vw, 72px) 0;
}

.brand-split__card{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: stretch;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid color-mix(in srgb, #000 5%, transparent);
  background: #fff; /* la carte est blanche, visuel à droite recoloré */
}

/* Colonne gauche */
.brand-split__content{
  padding: clamp(20px, 3.2vw, 40px);
}
.brand-split__eyebrow{
  font-weight: 700;
  color: var(--brand-primary);
  letter-spacing: .2px;
  margin: 2px 0 8px;
}
.brand-split__title{
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 10px;
}
.brand-split__title br{ display: none; }
@media (min-width: 860px){ .brand-split__title br{ display: inline; } }

.brand-split__lead{
  color: var(--text-base);
  margin: 0 0 12px;
}
.brand-split__bullets{
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.brand-split__bullets li{
  position: relative;
  padding-left: 26px;
  color: var(--text-strong);
}
.brand-split__bullets li::before{
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-accent) 28%, #fff);
}

.brand-split__cta{ margin-top: 6px; }

/* Colonne droite (fond accent + image) */
.brand-split__visual{
  background: color-mix(in srgb, var(--brand-accent) 80%, #08383a);
  display: grid; place-items: end center;
  padding: clamp(12px, 2.5vw, 24px);
}
.brand-split__visual img{
  width: min(92%, 750px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(0,0,0,.14));
}

/* Responsive */
@media (max-width: 980px){
  .brand-split__card{ grid-template-columns: 1fr; }
  .brand-split__visual{ order: -1; place-items: center; }
  .brand-split__content{ padding-top: 16px; }
}


/* ===========================
PROJECTS • USE-CASES
=========================== */
.projects{ padding: clamp(32px,4vw,72px) 0; }
.projects__head{ text-align:center; margin-bottom: clamp(18px,2.2vw,28px); }
.projects__title{ font-size: clamp(1.6rem,1.1rem + 1.8vw,2.2rem); margin:0 0 8px; }
.projects__tagline{ color: var(--text-muted); }

.projects__grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0,1fr));
  gap: clamp(12px,1.6vw,18px);
  margin-top: clamp(16px,2vw,22px);
}

/* Carte projet */
.pcard{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height: 168px;                 /* même hauteur partout */
  padding: 22px 18px;
  text-align:center;
  border:1px solid var(--line);
  border-radius: 14px;
  background:#fff;
  color: var(--text-strong);
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.pcard:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: color-mix(in srgb, var(--brand-primary) 16%, var(--line));
}
.pcard__icon ion-icon{ font-size: 52px; color: var(--brand-primary); }
.pcard__label{ font-weight:600; }

/* Badge “Nouveau” sur la moto */
.pcard__badge{
  position:absolute; left:14px; top:14px;
  padding:.28rem .55rem;
  font-size: .8rem; font-weight:700;
  color:#0b4a3f;
  background: color-mix(in srgb, var(--brand-accent) 92%, white);
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 40%, white);
}
.pcard--highlight{
  outline: 3px dashed color-mix(in srgb, var(--brand-accent) 55%, transparent);
  outline-offset: -6px;
}

/* CTA bas */
.projects__cta{ display:flex; justify-content:center; margin-top: clamp(18px,2.4vw,28px); }
.btn--xl{ padding: .95rem 1.6rem; font-size: 1.02rem; }

/* Responsive */
@media (max-width: 1100px){
  .projects__grid{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 720px){
  .projects__grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 460px){
  .projects__grid{ grid-template-columns: 1fr; }
}

/* ===========================
STEPS • timeline (Desktop = 1 ligne / Mobile = colonne)
=========================== */
.steps{
  background: var(--brand-primary);
  color: #fff;
  /* bande plus “haute” */
  padding: clamp(56px, 6vw, 96px) 0;
}
.steps__title{
  text-align:center;
  font-size: clamp(1.6rem,1.1rem + 1.8vw,2.2rem);
  margin: 0 0 clamp(18px,1.8vw,24px);
}
.steps__inner{
  max-width: 1200px;               /* un peu plus large pour tenir sur 1 ligne */
  margin-inline: auto;
}

/* —— Layout desktop : 1 seule ligne —— */
.steps__flow{
  list-style:none; padding:0; margin:0;
  display:flex; align-items:center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;               /* force 1 ligne sur desktop */
  text-align: left;                /* lisibilité desktop */
}
.step{
  display:flex; align-items:center; gap: 12px;
  min-width: 0;
  padding: 6px 8px;
}
.step:not(.step--arrow){ flex: 1 1 0; }
.step--arrow{ flex: 0 0 26px; display:flex; justify-content:center; }

.step__num{
  font-weight: 800;
  font-size: clamp(2.0rem,1.2rem + 2.6vw,3.0rem);
  color: var(--brand-accent);
  line-height: 1;
  flex: 0 0 auto;
}
.step__text{
  min-width: 0;
  text-wrap: balance;
  font-size: clamp(.95rem,.9rem + .2vw,1rem);
  /* pour que tout paraisse “centré” visuellement dans le bloc */
  margin-top: 2px;
}
.step--arrow ion-icon{
  font-size: 26px;
  color: color-mix(in srgb, #ffffff 80%, var(--brand-primary));
  transform: none;                 /* flèche → droite en desktop */
}

/* Titre explicitement en blanc sur fond bleu */
.steps__title { color: #fff; }

/* Petite pastille icône devant le texte (compatible desktop & mobile) */
.step__icon{
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand-accent) 12%, #ffffff 0%);
  color: #fff;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand-accent) 55%, #0000);
}
.step__icon ion-icon{ font-size: 20px; }

/* —— Mobile : pile verticale centrée —— */
@media (max-width: 768px){
  .steps{ padding: 48px 0; }       /* bande bleue confortable sur mobile */
  .steps__flow{
    flex-direction: column;        /* ← pile verticale */
    flex-wrap: nowrap;             /* ne pas rebasculer en ligne */
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;            /* tout centré */
  }
  .step{
    width: 100%;
    max-width: 420px;              /* colonne agréable */
    flex-direction: column;        /* numéro au-dessus du texte */
    gap: 10px;
  }
  .step__text{
    max-width: 28ch;               /* largeur de lecture idéale */
  }
  .step--arrow{
    width: auto; height: auto;
    padding: 4px 0 10px;
  }
  .step--arrow ion-icon{
    transform: rotate(90deg);      /* flèche ↓ (on pivote la →) */
  }
}

/* Mobile : icône sous le numéro, comme le reste en colonne */
@media (max-width: 768px){
  .step__icon{ width: 44px; height: 44px; border-radius: 12px; }
  .step__icon ion-icon{ font-size: 22px; }
}


/* ===========================
STATS • kpis (chevauchement)
=========================== */
.stats{
  position: relative;
  background: #F7FAFB;
  padding: clamp(34px,4vw,72px) 0;
}
.overlap{ margin-top: -28px; } /* chevauche la bande steps */
.stats::before{
  /* petit arrondi en haut pour un effet “vague” discret */
  content:"";
  position:absolute; inset: -24px 0 auto 0; height: 48px;
  background: radial-gradient(120% 120% at 50% 0%, #F7FAFB 60%, #0000 61%);
}
.stats__title{
  text-align:center;
  font-size: clamp(1.6rem,1.1rem + 1.8vw,2.2rem);
  margin: 0 0 24px;
  color: var(--text-strong);
}
.stats__grid{
  display:grid; gap: clamp(14px,2vw,22px);
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: stretch;
}
.kpi{
  background:#fff; border:1px solid var(--line); border-radius:14px;
  box-shadow: var(--shadow-sm);
  padding: 22px;
  text-align:center;
  display:flex; flex-direction:column; align-items:center; gap:8px;
}
.kpi__icon{
  width:56px; height:56px; border-radius:14px;
  background: color-mix(in srgb, var(--brand-accent) 12%, #fff);
  color: var(--brand-primary);
  display:grid; place-items:center;
}
.kpi__icon ion-icon{ font-size: 28px; }
.kpi__value{
  font-weight:800;
  font-size: clamp(1.6rem,1.2rem + 1.8vw,2.2rem);
  color: var(--brand-primary);
}
.kpi__label{ color: var(--text-muted); }

/* Responsive */
@media (max-width: 980px){
  .stats__grid{ grid-template-columns: 1fr; }
  .steps__flow{ justify-content:flex-start; }
}

/* ===========================
INFO+ • layout & styles
=========================== */
.infoplus{
  position: relative;
  padding: clamp(36px,4vw,72px) 0;
  background: #F7FAFB;
  overflow: hidden;                 /* évite les débords sur petits écrans */
}

/* Le décor passe en pseudo-élément, DERRIÈRE le contenu */
.infoplus::after{
  content:"";
  position:absolute;
  right: -10vw; bottom: -8vw;
  width: clamp(260px,34vw,520px);
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--brand-accent) 16%, #fff);
  border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%;
  filter: blur(.4px);
  z-index: 0;                       /* derrière */
  pointer-events: none;             /* jamais cliquable */
}

/* Le contenu est au-dessus */
.infoplus__inner{
  position: relative;
  z-index: 1;
}

.infoplus__title{
  text-align: center;
  font-size: clamp(1.6rem,1.1rem + 1.8vw,2.2rem);
  margin: 0 0 clamp(22px,2vw,32px);
  color: var(--text-strong);
}

.infoplus__grid{
  display: grid;
  grid-template-columns: 1fr 2.2fr;   /* titres à gauche, contenu à droite */
  gap: clamp(12px,2vw,18px) clamp(22px,3vw,42px);
  align-items: start;
  max-width: 1040px;
  margin-inline: auto;
}

.infoplus__q{
  margin: 0;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: clamp(1.05rem,1rem + .4vw,1.2rem);
}
.infoplus__a p{ margin: 0 0 10px; color: var(--text-muted); }
.infoplus__a p strong{ color: var(--text-strong); }
.infoplus__bullets{ margin-top: 4px; color: var(--text-strong); }

/* Décor arrondi en bas-droite (couleur marque atténuée) */
.infoplus__shape{
  position: absolute;
  right: -8vw; bottom: -6vw;
  width: clamp(260px,34vw,520px);
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--brand-accent) 16%, #ffffff);
  border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%;
  filter: blur(0.4px);
  z-index: 0;
}
.infoplus__inner{ z-index: 1; }

/* Responsive : pile verticale sur mobile */
@media (max-width: 860px){
  .infoplus__grid{
    grid-template-columns: 1fr;
    max-width: 700px;
  }
  .infoplus__q{ color: var(--brand-primary); }
  .infoplus__shape{
    right: -18vw; bottom: -14vw; opacity: .7;
  }
}


/* ===========================
FAQ • STYLE
=========================== */
.faq {
  background: #fafafa;
  padding: clamp(48px, 5vw, 96px) 0;
}
.faq__title {
  text-align: center;
  font-size: clamp(1.6rem, 1.1rem + 1.5vw, 2.2rem);
  color: var(--text-strong);
  margin-bottom: clamp(24px, 3vw, 40px);
}
.faq__inner {
  max-width: 760px;
  margin-inline: auto;
}
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.05));
  overflow: hidden;
  border: 1px solid #eee;
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  font-weight: 600;
  background: none;
  border: none;
  text-align: left;
  font-size: 1rem;
  color: var(--text-strong);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background 0.3s ease;
}
.faq-question:hover {
  background: color-mix(in srgb, var(--brand-accent) 10%, #fff);
}
.faq-question ion-icon {
  font-size: 22px;
  color: var(--brand-primary);
  transition: transform 0.3s ease;
}
.faq-answer {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.faq-item[open] .faq-answer {
  display: block;
}
.faq-item.active .faq-question ion-icon {
  transform: rotate(180deg);
}
.faq__cta {
  margin-top: clamp(28px, 4vw, 48px);
  text-align: center;
}
.btn.btn--accent {
  display: inline-block;
  background: var(--brand-primary);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
}
.btn.btn--accent:hover {
  background: var(--brand-accent);
}

/* ===========================
FOOTER
=========================== */
.site-footer{
  background: #fff;
  border-top: 1px solid var(--line);
  padding: clamp(36px,4vw,64px) 0;
  color: var(--text-muted);
}
.site-footer .container{ max-width: 1200px; margin: 0 auto; }

.footer-intro{
  max-width: 920px;
  margin: 0 auto clamp(22px,2vw,32px);
  text-align: center;
  color: var(--text-muted);
}

.footer-grid{
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px,2vw,24px);
  padding-block: 8px 18px;
}
.footer-title{
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-strong);
  margin: 0 0 8px;
}
.footer-links{ list-style: none; margin: 0; padding: 0; }
.footer-links li{ margin: 6px 0; }
.footer-links a{
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover{
  color: var(--brand-primary);
  text-decoration: underline;
}

.footer-badges{
  display: flex; gap: 18px; align-items: center; justify-content: center;
  padding: 18px 0 10px;
  flex-wrap: wrap;
}
.footer-badges img{ height: 48px; width: auto; filter: saturate(0.9); }

.footer-legal{
  display: flex; flex-wrap: wrap; gap: 12px 18px;
  justify-content: center;
  list-style: none; padding: 12px 0 0; margin: 0;
  border-top: 1px dashed var(--line);
}
.footer-legal a{
  color: var(--text-muted);
  text-decoration: none;
  font-size: .95rem;
}
.footer-legal a:hover{ color: var(--brand-primary); text-decoration: underline; }

.footer-bottom{
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 12px;
}
.footer-brand img{ display: block; }
.copyright{
  text-align: center;
  color: var(--text-muted);
  margin: 0;
}
.footer-social{
  display: flex; gap: 12px; justify-content: flex-end;
  list-style: none; padding: 0; margin: 0;
}
.footer-social a{
  display: inline-grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--brand-primary);
  background: color-mix(in srgb, var(--brand-accent) 12%, #fff);
  border: 1px solid var(--line);
  text-decoration: none;
}
.footer-social a:hover{
  background: var(--brand-accent);
  color: #093a46; /* contraste sur turquoise */
}

/* Responsive */
@media (max-width: 1024px){
  .footer-grid{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  .footer-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-bottom{ grid-template-columns: 1fr; gap: 10px; }
  .footer-social{ justify-content: center; }
}


/* ===========================
RESULT • bandeau légal
=========================== */
.legal-banner { padding-top: var(--sp-4); padding-bottom: var(--sp-4); }
.legal-banner__text {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-5);
  text-align: center;
  box-shadow: var(--shadow-sm);
  font-size: var(--fs-small);
}

/* ===========================
RESULT • en-tête
=========================== */
.sr-head__inner { text-align: center; max-width: 72ch; margin: 0 auto; }
.sr-title { font-size: var(--fs-h2); margin-bottom: var(--sp-2); }
.sr-subtitle { color: var(--text-muted); }
.sr-amount, .sr-term { color: var(--brand-primary); }

/* ===========================
RESULT • grille principale
=========================== */
.sr-grid__inner {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-7);
}
.sr-left__title { margin-bottom: var(--sp-4); }
.sr-table { display: grid; gap: var(--sp-3); }
.sr-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--sp-4);
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease), box-shadow var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.sr-row:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.sr-row input[type="radio"] { accent-color: var(--brand-primary); }
.sr-row__term { font-weight: 600; color: var(--text-strong); }
.sr-row__monthly { font-weight: 700; color: var(--brand-primary); }

.sr-cta { margin-top: var(--sp-6); display: grid; gap: var(--sp-2); }
.sr-note { color: var(--text-muted); font-size: var(--fs-small); }

/* Droite : étapes & projet */
.sr-steps__title { margin-bottom: var(--sp-3); }
.sr-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--sp-3); }
.sr-step { display: grid; grid-template-columns: 44px 1fr; gap: var(--sp-3); align-items: start; }
.sr-step__icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--brand-accent) 12%, white);
  color: var(--brand-primary);
}
.sr-step__icon ion-icon { font-size: 22px; }
.sr-step__label { font-weight: 600; }
.sr-step__text { color: var(--text-muted); margin: 2px 0 0; }

.sr-project { display: grid; grid-template-columns: 48px 1fr; gap: var(--sp-3); margin-top: var(--sp-4); }
.sr-project__icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: grid; place-items: center; color: var(--brand-primary);
  background: #F7FAFB; border: 1px solid var(--line);
}
.sr-project__eyebrow { font-size: var(--fs-xs); color: var(--text-muted); margin-bottom: 2px; }
.sr-project__label { font-weight: 600; color: var(--text-strong); }

/* Ligne de mensualité sélectionnée */
.sr-row.is-selected {
  outline: 2px solid var(--brand-accent);
  border-radius: var(--radius-md);
}


/* ===========================
RESULT • formulaire rapide
=========================== */
.sr-form__head { text-align: center; max-width: 70ch; margin: 0 auto var(--sp-6); }
.sr-form__title { margin-bottom: var(--sp-2); }
.sr-form__subtitle { color: var(--text-muted); }

.sr-form__grid { display: grid; gap: var(--sp-6); }
.sr-summary { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }
.sr-pill {
  background: #F7FAFB; border: 1px solid var(--line);
  border-radius: var(--radius-pill); padding: .4rem .75rem; font-weight: 600;
}
.sr-pill--brand {
  background: color-mix(in srgb, var(--brand-accent) 14%, white);
  border-color: color-mix(in srgb, var(--brand-accent) 35%, white);
  color: var(--brand-primary);
}

/* Grille 3 colonnes sur desktop */
.sr-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  column-gap: var(--sp-5);
  row-gap: var(--sp-3);
  align-items: start;
}

/* Labels et inputs alignés proprement */
.sr-fields .label { font-weight: 600; }
.sr-fields .input {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
}

/* Spans utilitaires pour champs larges */
.span-2 { grid-column: span 2; }
.span-3 { grid-column: 1 / -1; }

.sr-actions { display: grid; gap: .35rem; }
.sr-actions__hint { color: var(--text-muted); font-size: var(--fs-small); }

/* Responsive */
@media (max-width: 980px){
  .sr-grid__inner { grid-template-columns: 1fr; }
  .sr-fields { grid-template-columns: 1fr; }
  .span-2, .span-3 { grid-column: auto; }
}

/* Confort visuel de la colonne gauche */
.sr-left.card { padding: var(--sp-6); }

/* ===== Result • éditeur de montant ===== */
.sr-amount-editor{
  display:flex; align-items:center; gap:10px;
  margin: 12px 0 16px;
}
.sr-amt-btn{
  width:42px; height:42px; border-radius:10px;
  border:1px solid var(--line); background:#fff;
  font-weight:700; cursor:pointer; line-height:1;
}
#sr-amount-input{
  max-width: 200px; text-align:right; font-variant-numeric: tabular-nums;
}
.input--mono { font-feature-settings: "tnum" 1, "lnum" 1; }

/* --- Bloc offre à droite du héros sur /credit/demande-en-ligne --- */
.offer {
  background: #FFEB99;                 /* jaune doux; ajuste si besoin à ta palette */
  border: 1px solid color-mix(in srgb, #000 15%, #fff);
  border-radius: 16px;
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow-sm);
}

.offer__title {
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 8px;
}
.offer__title strong { color: var(--brand-accent); font-weight: 700; }

.offer__kicker {
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 10px;
}

.offer__price {
  display: grid;
  gap: 2px;
  margin: 8px 0 12px;
}
.offer__from {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--text-muted);
  font-size: clamp(.8rem, .7rem + .3vw, .9rem);
}
.offer__amount {
  font-weight: 800;
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.4rem);
  line-height: 1;
}
.offer__currency { font-weight: 700; font-size: .6em; margin-left: .05em; }
.offer__per { font-weight: 700; font-size: .5em; margin-left: .25em; color: var(--text-muted); }

.offer__note {
  margin: 6px 0 12px;
  color: var(--text-strong);
}

.offer__badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  list-style: none; padding: 0; margin: 0;
}
.offer__badges li {
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Responsif : conserver l’ordre simulateur (avant) puis offre (après) */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
  }
}


/* ===========================
INTRO CRÉDIT
=========================== */
.intro-credit { padding: clamp(28px, 4vw, 56px) 0; background: #fff; }
.intro-credit__inner { max-width: 900px; margin: 0 auto; text-align: center; }

.intro-credit__legal {
  font-size: clamp(.9rem, .85rem + .2vw, 1rem);
  color: var(--text-muted);
  margin: 0 0 12px;
}

.intro-credit__title {
  /* Vert turquoise de la marque : utilise la variable si elle existe, sinon fallback */
  color: var(--brand-accent, #1AC6A9);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem);
  line-height: 1.2;
  margin: 0 0 8px;
}

.intro-credit__lead {
  color: var(--text-strong);
  font-weight: 500;
  max-width: 780px;
  margin: 0 auto 18px;
}

.intro-credit__text h3 {
  color: var(--brand-primary, #0A3954);
  font-size: clamp(1.05rem, .95rem + .6vw, 1.25rem);
  margin: 18px 0 6px;
}

.intro-credit__text p { margin: 0 auto 12px; color: var(--text); max-width: 780px; }

.intro-credit__range {
  margin-top: 10px;
  font-weight: 600;
  color: var(--text-strong);
}


/* ===========================
HERO SIMPLE — Crédit conso
=========================== */
.hero-simple {
  background: var(--brand-accent, #1AC6A9);
  color: #fff;
  padding: clamp(60px, 8vw, 120px) 0;
  text-align: center;
}

.hero-simple__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-simple__title {
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
}

.hero-simple__title span {
  color: #fff;
  opacity: 0.9;
}

.hero-simple__subtitle {
  font-size: clamp(1rem, .95rem + .3vw, 1.2rem);
  font-weight: 500;
  margin: 12px 0 26px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-simple__form {
  background: #fff;                /* ✅ fond blanc opaque */
  border-radius: 14px;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* ✅ légère ombre propre */
}

.hero-simple__form label {
  display: block;
  font-weight: 600;
  text-align: left;
  margin-bottom: 6px;
  color: var(--brand-primary, #0A3954); /* ✅ texte foncé pour lisibilité */
}

.hero-simple__form input,
.hero-simple__form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  color: #0A3954;
  background-color: #fff;
}

.hero-simple__form input:focus,
.hero-simple__form select:focus {
  border-color: var(--brand-accent, #1AC6A9);
  outline: none;
  box-shadow: 0 0 0 2px rgba(26, 198, 169, 0.2);
}


.hero-simple__form input::placeholder {
  color: #888;
}

.hero-simple__form select {
  appearance: none;
}

.form-actions {
  margin-top: 8px;
}

.btn--white {
  background: #1AC6A9;
  color: var(#fff, #1AC6A9);
  border: none;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.25s ease;
}

.btn--white:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* ===========================
Crédit à la consommation
=========================== */
.conso-info {
  padding: clamp(40px, 6vw, 80px) 0;
  background: #fff;
  text-align: center;
}

.conso-info__title {
  color: var(--brand-primary, #0A3954);
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.conso-info__intro {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 800px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.conso-info__subtitle {
  color: var(--brand-accent, #1AC6A9);
  font-size: clamp(1.3rem, 1rem + .8vw, 1.6rem);
  margin: 24px 0 20px;
  font-weight: 700;
}

.conso-engagements {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.engagement {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line, #eee);
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,.05));
  transition: transform .2s ease, box-shadow .2s ease;
}
.engagement:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.engagement ion-icon {
  font-size: 38px;
  color: var(--brand-accent, #1AC6A9);
  margin-bottom: 10px;
}

.engagement p {
  color: var(--text-strong, #333);
  font-size: .95rem;
  line-height: 1.5;
}

.conso-definition {
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.conso-definition h4 {
  color: var(--brand-primary, #0A3954);
  font-size: 1.1rem;
  margin: 20px 0 8px;
}

.conso-definition p {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .conso-engagements { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .conso-engagements { grid-template-columns: 1fr; }
}


/* Conso: listes soignées */
.conso-definition ul { padding-left: 1.15rem; margin: 0 0 14px; list-style: disc; }
.conso-definition li { margin: 6px 0; }
.conso-definition li::marker { color: var(--brand-accent, #1AC6A9); }


/* ===========================
VIDÉO SECTION
=========================== */
.video-section {
  background: var(--brand-accent, #1AC6A9);
  padding: clamp(50px, 6vw, 90px) 0;
  text-align: center;
  color: #fff;
}

.video-section__title {
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.video-section__intro {
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #f8f8f8;
}

.video-box {
  display: flex;
  justify-content: center;
}

.video-responsive {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.video-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


/* ===========================
PRÊT PERSONNEL — Simulateur compact
=========================== */
.pp-hero { padding: clamp(32px, 5vw, 64px) 0; background: #fff; }
.pp-grid { display:grid; grid-template-columns: 520px minmax(0,1fr); gap: clamp(20px, 3vw, 40px); align-items:start; }

.pp-card {
  background:#fff; border:1px solid var(--line, #ececec); border-radius:14px;
  box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.05));
  padding: clamp(18px, 2.6vw, 26px);
}
.pp-head { display:flex; align-items:center; justify-content:space-between; margin-bottom: 10px; }
.pp-badge { font-size:.9rem; background: var(--brand-accent, #1AC6A9); color:#fff; padding:6px 10px; border-radius:999px; }
.pp-title { margin:0; font-size: clamp(1.2rem, 1.1rem + 1.2vw, 1.8rem); color: var(--brand-primary, #0A3954); }

.pp-block { margin-top: 16px; }
.pp-label { font-weight:600; color: var(--text-strong, #2b2b2b); margin-bottom:8px; display:block; }

.pp-amount-editor { display:grid; grid-template-columns: 40px 1fr 40px; gap: 10px; align-items:center; }
.pp-step { width:40px; height:40px; border-radius:8px; border:1px solid var(--line,#eaeaea); background:#fff; font-size:20px; }
.pp-range output { display:block; text-align:center; font-weight:700; color: var(--brand-primary); margin-bottom:6px; }
.pp-range input[type=range]{ width:100%; accent-color: var(--brand-accent, #1AC6A9); }
.pp-range-scale{ display:flex; justify-content:space-between; font-size:.9rem; color:var(--text-muted,#777); }

.pp-table { display:grid; gap:8px; margin-top:10px; }
.pp-row {
  display:grid; grid-template-columns: 20px 1fr auto; gap:10px; align-items:center;
  padding:10px 12px; border:1px solid var(--line,#ececec); border-radius:10px; background:#fff;
}
.pp-row__term{ color: var(--text-strong); }
.pp-row__monthly{ font-weight:700; }

.pp-actions { display:flex; justify-content:center; margin:14px 0 8px; }

.pp-recap { margin-top: 10px; border-top:1px solid var(--line,#ececec); padding-top: 12px; }
.pp-recap__title{ font-size:1.05rem; margin:0 0 8px; color: var(--brand-primary); }
.pp-recap__grid{ display:grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap:10px; align-items:end; }
.pp-recap__cell{ background:#fff; border:1px solid var(--line,#ececec); border-radius:10px; padding:10px; text-align:center; }
.pp-recap__num{ font-weight:700; }
.pp-recap__num--total{ color: var(--brand-accent); }
.pp-recap__label{ font-size:.85rem; color:var(--text-muted,#6e6e6e); }
.pp-recap__plus, .pp-recap__eq { font-weight:700; color:var(--text-strong); }

.pp-meta { display:grid; grid-template-columns: repeat(3,1fr); gap:8px; margin-top:8px; font-size:.95rem; }
.pp-meta dt{ color: var(--text-muted); } .pp-meta dd{ margin:0; font-weight:600; }

.pp-aside__card{
  background: #fff; border:1px solid var(--line,#ececec); border-radius:14px;
  padding: clamp(18px, 2.6vw, 26px); box-shadow: var(--shadow-sm, 0 2px 10px rgba(0,0,0,.05));
}
.pp-aside__title{ margin-top:0; color: var(--brand-primary); }

@media (max-width: 1100px){
  .pp-grid{ grid-template-columns: 1fr; }
}




/* ===========================
STEP2 — styles
=========================== */
.STEP2s { padding: clamp(28px, 4vw, 56px) 0; background:#fff; }
.STEP2s__title {
  text-align:center;
  color: var(--brand-primary);
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2rem);
  margin: 0 0 18px;
}
.STEP2s__grid {
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
  align-items: stretch;
}
.STEP2-card {
  position:relative;
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  box-shadow: var(--shadow-sm);
  padding: 22px 18px 20px;
  text-align:center;
}
.STEP2-card__badge{
  position:absolute; top:-14px; left:50%; transform:translateX(-50%);
  width:36px; height:36px; border-radius:50%;
  display:grid; place-items:center;
  background:#fff;
  border:2px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight:700; color: var(--brand-primary);
}
.STEP2-card__icon{
  font-size: 42px;
  color: var(--brand-accent);
  margin-top: 8px;
}
.STEP2-card__heading{
  color: var(--brand-accent);
  font-weight: 700;
  margin: 8px 0 6px;
}
.STEP2-card__text{ color: var(--text); margin:0; }

.STEP2s__cta{
  margin-top: 20px;
  display:flex; justify-content:center;
}

@media (max-width: 960px){
  .STEP2s__grid{ grid-template-columns: 1fr; }
  .STEP2-card__badge{ left:18px; transform:none; }
  .STEP2-card{ text-align:left; padding-top:28px; }
  .STEP2-card__icon{ margin: 6px 0; }
}


/* ===== Solutions de financement (9 cards) ===== */
.solutions-grid { padding: clamp(40px, 6vw, 80px) 0; background:#fff; text-align:center; }
.solutions-title { color: var(--brand-primary,#0A3954); font-weight:700; font-size:clamp(1.8rem,1.2rem+1.4vw,2.4rem); margin:0 0 8px; }
.solutions-sub { color: var(--text,#444); max-width:820px; margin:0 auto 28px; line-height:1.6; }
.solutions-cards {
  display:grid; gap:22px;
  grid-template-columns: repeat(3, minmax(0,1fr));
}
.solution-card {
  background:#fff; border:1px solid var(--line,#eee); border-radius:14px;
  padding:22px 18px; box-shadow: var(--shadow-sm,0 2px 8px rgba(0,0,0,.05));
  display:flex; flex-direction:column; align-items:center; text-align:center;
  transition:.2s ease; transition-property:transform, box-shadow, border-color;
}
.solution-card:hover { transform: translateY(-4px); box-shadow:0 6px 18px rgba(0,0,0,.08); border-color:#e8eef1; }
.solution-ico ion-icon { font-size:40px; color: var(--brand-accent,#1AC6A9); margin-bottom:8px; }
.solution-title { font-size:1.05rem; line-height:1.35; color:var(--text-strong,#222); margin:2px 0 8px; }
.solution-desc { color:var(--text,#555); font-size:.96rem; line-height:1.55; margin:0 0 14px; max-width:44ch; }
.solution-cta { width:100%; }
@media (max-width: 1024px){ .solutions-cards{ grid-template-columns: repeat(2,1fr);} }
@media (max-width: 640px){ .solutions-cards{ grid-template-columns: 1fr; } }


/* ====== Molerna — Taux d’endettement (namespacé debt-) ====== */
.debt-card{background:#fff;border-radius:14px;box-shadow:0 6px 24px rgba(10,57,84,.06);padding:24px 24px}
.debt-title{font-size:1.35rem;margin:0 0 4px;font-weight:700}
.debt-muted{color:#6b7785;font-size:.9rem}
.debt-tabs{display:flex;gap:.5rem;margin:16px 0}
.debt-tab{border:1px solid #dbe3ea;background:#fff;border-radius:999px;padding:.5rem .9rem;font-weight:600}
.debt-tab.is-active{background:#1AC6A9;color:#fff;border-color:#1AC6A9}
.debt-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:8px}
.debt-section-title{font-size:1rem;margin:0 0 .5rem;font-weight:700}
.debt-two-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.debt-label{font-weight:600;margin-bottom:.25rem}
.debt-fieldset.is-hidden{display:none}
.fc{display:flex;flex-direction:column;gap:.35rem;margin-bottom:.75rem}
.fc > span{font-size:.9rem;color:#24323d}
.input{height:44px;border:1px solid #dbe3ea;border-radius:10px;padding:0 .75rem;font-size:1rem}
.input:focus{outline:2px solid rgba(26,198,169,.25);border-color:#1AC6A9}
.debt-actions{margin-top:8px}
.debt-disclaimer{margin-top:10px;color:#6b7785;font-size:.85rem}
.debt-result{margin-top:24px}
.debt-result__card{background:#f8fbfb;border:1px dashed #1AC6A9;border-radius:12px;padding:20px}
.debt-result__title{margin-top:0}
.debt-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:12px 0 8px}
.debt-kpi{background:#fff;border:1px solid #e8eef2;border-radius:10px;padding:12px}
.debt-kpi__label{font-size:.85rem;color:#6b7785}
.debt-kpi__value{font-size:1.25rem;font-weight:700;margin-top:.15rem}
.debt-interpret{margin:.5rem 0 0}
.debt-capacity{margin:.75rem 0 0}
@media (max-width: 900px){
  .debt-grid{grid-template-columns:1fr}
  .debt-two-cols{grid-template-columns:1fr}
  .debt-kpis{grid-template-columns:1fr}
}



/* Style visuel quand on bloque le clic (optionnel) */
  .nav .nav__item.has-mega > .nav__link.is-disabled {
    cursor: default;
  }
  /* Accessibilité : évite un style "lien mort" trop gris si ton thème le fait */
  .nav .nav__item.has-mega > .nav__link.is-disabled[aria-disabled="true"] {
    opacity: 1;
  }

  /* ===============================
   PAGE 404 — Molerna
================================= */
.notfound {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  text-align: center;
  padding: 4rem 1rem;
  background: #f8fafc;
  color: #0A3954;
  font-family: 'Poppins', sans-serif;
}

.notfound__container {
  max-width: 700px;
  margin: 0 auto;
  animation: fadeIn 0.8s ease forwards;
}

.notfound__title {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
  font-weight: 700;
  color: #0A3954;
  margin-bottom: 1rem;
}

.notfound__text {
  font-size: 1rem;
  color: #334155;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.notfound__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}



@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


/* ============================
   MOLERNA • Bouton WhatsApp flottant
   ============================ */
.wa-btn {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, calc(env(safe-area-inset-bottom) + 18px));
  z-index: 2147483000;

  width: 60px;
  height: 60px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;

  background: #0A3954; /* Couleur principale Molerna */
  color: #fff;
  text-decoration: none;
  border: none;

  box-shadow: 0 10px 24px rgba(10, 57, 84, 0.25), 0 2px 6px rgba(0,0,0,0.15);
  transform: translateZ(0);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.wa-btn:hover {
  background: #2AE0A8; /* Accent vert Molerna */
  color: #0A3954;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(42, 224, 168, 0.35), 0 2px 8px rgba(0,0,0,0.1);
}

.wa-btn:active {
  transform: translateY(0);
}

.wa-btn:focus-visible {
  outline: 3px solid #2AE0A8;
  outline-offset: 3px;
}

.wa-btn ion-icon {
  font-size: 28px;
  line-height: 1;
}

/* --- Mobile ajusté --- */
@media (max-width: 480px) {
  .wa-btn {
    width: 54px;
    height: 54px;
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, calc(env(safe-area-inset-bottom) + 12px));
  }
  .wa-btn ion-icon {
    font-size: 26px;
  }
}


/* Form: états d'erreur simples */
.sr-error{ color: var(--danger); font-size: var(--fs-small); margin-top: 4px; }
.input--error{ border-color: var(--danger);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent); }

  .compliance {background:#f6fbfa; border:1px solid #d8efe9; padding:16px; margin:16px 0;}
.compliance__inner {display:grid; gap:16px; grid-template-columns:1fr;}
@media (min-width: 960px){
  .compliance__inner {grid-template-columns: 1.2fr 1fr 1fr;}
}
.compliance__title {font-weight:600; margin:0 0 .25rem;}
.compliance__text, .compliance__list {margin:0; font-size:.95rem; line-height:1.5;}
