/* ========================================================================== 
   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 + Header — kalra-plus (simple & doux)
   ------------------------------ */

/* Header shell */
.header-shell{
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Layout */
.header-inner{
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

/* Logo kalra-plus (PNG 1000x500) */
.logo{
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo img{
  height: 80px;          /* Desktop */
  width: auto;           /* Respecte le ratio */
  max-width: 400px;      /* Sécurité pour écrans étroits */
  object-fit: contain;
}


/* Nav (base) */
.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: .45rem 0;
  color: var(--text-strong);
  text-decoration: none;
}

.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);
}

/* Actions à droite */
.header-actions{
  display: inline-flex;
  align-items: center;
  gap: var(--sp-4);
}

.header-link{
  color: var(--text-strong);
  text-decoration: none;
  font-weight: 500;
  padding: .45rem .6rem;
  border-radius: 10px;
}
.header-link:hover{
  background: #fbfbfc;
  color: var(--brand-primary);
}

/* Bouton inscription (on réutilise ton btn btn-cta existant) */
.header-signup{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Burger (mobile) */
.burger{
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.burger:focus-visible{ outline-offset: 3px; }

/* Mobile nav: simple dropdown sous le header */
.nav--mobile{
  display: none; /* visible via .is-open */
  flex-direction: column;
  gap: 6px;
  padding: 10px 0 16px 0;
  border-top: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 92%, white);
}

.nav--mobile .nav__link{
  padding: .85rem 0;
}

.nav-mobile-actions{
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}

/* ------------------------------
   12) Responsive
   ------------------------------ */
@media (max-width: 1024px){
  .nav--desktop{ display: none; }
  .burger{ display: inline-flex; }
  .nav--mobile.is-open{ display: flex; }
}

@media (max-width: 640px){
  .header-inner{ min-height: 68px; }
  
}

/* ✅ Mobile: éviter le doublon "Se connecter / S’inscrire"
   On les garde uniquement dans le menu déroulant */
@media (max-width: 1024px){
  .header-actions > .header-link,
  .header-actions > .header-signup{
    display: none;
  }
}
@media (max-width: 640px){
  .logo img{
    height: 60px;
    max-width: 340px;
  }
}


/* ===========================
HERO — kalra-plus (sans simulateur)
=========================== */
.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;
  grid-template-areas: "content media";
}

.hero__content{
  max-width: 720px;
  grid-area: content;
}

.hero__eyebrow{
  font-weight: 600;
  color: var(--brand-primary);
  margin-bottom: 8px;
  letter-spacing: .2px;
}

.hero__title{
  font-size: clamp(2.1rem, 1.4rem + 2.3vw, 3.2rem);
  line-height: 1.08;
  margin-bottom: 12px;
}

.hero__title span{
  color: var(--brand-accent);
}

.hero__subtitle{
  color: var(--text-muted);
  margin-bottom: 10px;
  max-width: 56ch;
}

.hero__text{
  color: var(--text-muted);
  margin-bottom: 18px;
  max-width: 56ch;
}

.hero__actions{
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Image (ON GARDE le comportement actuel) */
.hero__media{
  grid-area: media;
}
.hero__media img{
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16/13;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 1024px){
  .hero__grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "media";
  }
}


/* ===========================
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); }

@media (max-width: 520px){
  .proof{ width: 100%; justify-content: center; }
}


/* ===========================
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); }
.card--service .card__text { line-height: 1.6; }


.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; }
}

/* ===========================
SECURITY • VOTRE COMPTE, PROTÉGÉ — Kalra-plus
(remplace INFO+)
=========================== */
.security{
  position: relative;
  padding: clamp(36px,4vw,72px) 0;
  background: #F7FAFB;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

/* décor doux (subtil) */
.security::after{
  content:"";
  position:absolute;
  left: -12vw; top: -10vw;
  width: clamp(280px,36vw,560px);
  aspect-ratio: 1/1;
  background: color-mix(in srgb, var(--brand-accent) 14%, #fff);
  border-radius: 52% 48% 62% 38% / 40% 60% 40% 60%;
  filter: blur(.6px);
  opacity: .7;
  z-index: 0;
  pointer-events: none;
}

.security__inner{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: clamp(16px, 3vw, 44px);
  align-items: start;
}

.security__intro{
  max-width: 520px;
}

.security__title{
  font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.2rem);
  margin: 0 0 10px;
  color: var(--text-strong);
}

.security__lead{
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.security__lead strong{
  color: var(--text-strong);
}

.security__cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Col droite: cards */
.security__cards{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.security-card{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  padding: 16px 16px 14px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px 14px;
  align-items: start;
}

.security-card__icon{
  width: 44px; height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--brand-accent) 10%, #fff);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 28%, var(--line));
  color: var(--brand-primary);
}

.security-card__icon ion-icon{
  font-size: 22px;
  color: var(--brand-primary);
}

.security-card__title{
  margin: 2px 0 4px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-strong);
}

.security-card__text{
  margin: 0;
  grid-column: 2 / -1;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 960px){
  .security__inner{
    grid-template-columns: 1fr;
  }
  .security__intro{
    max-width: 720px;
    text-align: center;
    margin-inline: auto;
  }
  .security__cta{
    margin-inline: auto;
  }
  .security::after{
    left: -22vw; top: -18vw;
    opacity: .55;
  }
}


/* ===========================
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 — Kalra-plus (bloc légal sombre, sans vrais liens)
=========================== */
.site-footer--legal{
  background: #0b0f14;
  border-top: 1px solid color-mix(in srgb, var(--line) 30%, transparent);
  color: color-mix(in srgb, var(--text-muted) 88%, white);
  padding: clamp(28px, 3.2vw, 54px) 0;
}

.footer-legal__inner{
  max-width: 1200px;
}

/* Top */
.footer-legal__top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
}

/* Logo footer — taille 100% CSS */
.footer-legal__brand{
  --footer-logo-h: 70px; /* ajuste ici si tu veux plus grand/petit */
}

.footer-legal__brand img{
  display: block;
  height: var(--footer-logo-h);
  width: auto;
  max-width: 440px;      /* évite que ça explose sur desktop */
  object-fit: contain;
  filter: brightness(1.15) contrast(1.05);
}

/* Responsive */
@media (max-width: 820px){
  .footer-legal__brand{ --footer-logo-h: 26px; }
}
@media (max-width: 520px){
  .footer-legal__brand{ --footer-logo-h: 24px; }
}


.footer-legal__meta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  opacity: .95;
}
.footer-legal__chip{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: color-mix(in srgb, var(--text-muted) 92%, white);
}
.footer-legal__dot{
  opacity: .55;
}

/* Nav “visuelle” */
.footer-legal__nav{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  padding: 10px 0 14px;
}

.footer-legal__link{
  font-size: .92rem;
  color: color-mix(in srgb, var(--text-muted) 92%, white);
  opacity: .9;
  cursor: default;               /* pas cliquable */
  user-select: none;
}
.footer-legal__link:hover{
  opacity: 1;
  color: #fff;
  text-decoration: underline;    /* visuel “lien”, sans navigation */
}

.footer-legal__hr{
  border: 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 28%, transparent);
  margin: 10px 0 16px;
}

/* Texte */
.footer-legal__content{
  max-width: 1100px;
}

.footer-legal__p{
  margin: 0 0 14px;
  line-height: 1.65;
  font-size: .95rem;
  color: color-mix(in srgb, var(--text-muted) 88%, white);
}

.footer-legal__p strong{
  color: #fff;
  font-weight: 600;
}

/* Bloc “bientôt” */
.footer-legal__soon{
  margin-top: 14px;
  border: 1px dashed color-mix(in srgb, var(--line) 40%, transparent);
  border-radius: 14px;
  padding: 14px 16px;
  background: color-mix(in srgb, #0b0f14 88%, white);
}
.footer-legal__soon-title{
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.footer-legal__soon-text{
  color: color-mix(in srgb, var(--text-muted) 92%, white);
  font-size: .92rem;
  line-height: 1.55;
}

/* Bottom */
.footer-legal__bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--line) 28%, transparent);
}

.footer-legal__copy{
  margin: 0;
  text-align: center;
  font-size: .92rem;
  color: color-mix(in srgb, var(--text-muted) 88%, white);
  opacity: .9;
}

/* Responsive */
@media (max-width: 820px){
  .footer-legal__top{
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-legal__brand img{ height: 26px; }
}

@media (max-width: 520px){
  .footer-legal__nav{
    gap: 10px 14px;
  }
  .footer-legal__link{
    font-size: .9rem;
  }
}

/* ===========================
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;}

.compliance__fineprint{
  margin: 10px 0 0;
  font-size: .9rem;
  line-height: 1.5;
  color: var(--text-muted);
}
/* ===========================
HERO — proofs (Cartes)
=========================== */
.hero__proofs{
  list-style: none;
  padding: 0;
  margin: 14px auto 0;
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

@media (min-width: 880px){
  .hero__proofs{
    margin-top: 18px;
    justify-content: flex-start;
  }
}

/* On réutilise exactement le style “proof” si déjà présent.
   Si proof/proof__icon existent déjà dans ton CSS, tu peux supprimer ce bloc. */
.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);
}

.proof__icon ion-icon{
  font-size: 20px;
  color: var(--brand-primary);
}

.hero__proofs strong{ color: var(--brand-accent); }


/* ===========================
CARDS • SELECTEUR (tabs + fiche)
=========================== */
.cards-pick{
  padding: clamp(34px, 4vw, 72px) 0;
  background: #fff;
}
.cards-pick__inner{
  max-width: 1100px;
  margin-inline: auto;
}
.cards-pick__head{
  text-align: center;
  margin-bottom: clamp(18px, 2.2vw, 26px);
}
.cards-pick__title{
  font-size: clamp(1.75rem, 1.15rem + 2vw, 2.45rem);
  margin: 0 0 8px;
  color: var(--text-strong);
}
.cards-pick__subtitle{
  margin: 0 auto;
  max-width: 860px;
  color: var(--text-muted);
}

/* Tabs */
.cards-tabs{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px auto 0;
}
.cards-tab{
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text-strong);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform var(--dur-1) var(--ease), background var(--dur-1) var(--ease), border-color var(--dur-1) var(--ease);
}
.cards-tab:hover{
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--brand-primary) 18%, var(--line));
}
.cards-tab.is-active{
  background: #0b0f14;
  color: #fff;
  border-color: #0b0f14;
}

/* Panel */
.cards-panel{
  margin-top: clamp(18px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
  padding: clamp(18px, 2.5vw, 28px);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(18px, 2.6vw, 34px);
  align-items: center;
}

/* Badge */
.cards-badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 10px;
  background: color-mix(in srgb, var(--brand-accent) 10%, white);
  color: var(--text-strong);
  font-weight: 600;
  width: fit-content;
}
.cards-badge ion-icon{
  color: var(--brand-primary);
  font-size: 16px;
}

/* Texts */
.cards-name{
  margin: 12px 0 6px;
  font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem);
  color: var(--text-strong);
}
.cards-desc{
  margin: 0 0 16px;
  color: var(--text-muted);
  max-width: 560px;
}

/* Price */
.cards-price{
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 8px 0 4px;
}
.cards-price__amount{
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
.cards-price__period{
  color: var(--text-muted);
  font-weight: 500;
}

/* Metrics */
.cards-metrics{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 4px 0 16px;
  color: var(--text-muted);
}
.cards-metrics__sep{
  opacity: .5;
}
.cards-metric__label{
  color: var(--text-muted);
}
.cards-metric__value{
  color: var(--text-strong);
  font-weight: 700;
  margin-left: 6px;
}

/* Perks */
.cards-perks{
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}
.cards-perk{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text-strong);
}
.cards-perk__icon{
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  color: var(--brand-primary);
}
.cards-perk__icon ion-icon{
  font-size: 20px;
}

/* CTA */
.cards-cta{
  margin-top: 6px;
}
.cards-note{
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: var(--fs-small);
  line-height: 1.5;
}

/* Image */
.cards-panel__media{
  display: grid;
  place-items: center;
}
.cards-panel__media img{
  width: min(100%, 440px);
  height: auto;
  object-fit: contain;
  transform: rotate(-10deg);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.14));
}

/* Responsive */
@media (max-width: 900px){
  .cards-panel{
    grid-template-columns: 1fr;
  }
  .cards-panel__media img{
    transform: rotate(-8deg);
    width: min(100%, 420px);
  }
}
/* ===========================
LAUNCH OFFER • Offre de lancement
(utilise tes variables de thème)
=========================== */
.launch-offer{
  position: relative;
  padding: clamp(46px, 5vw, 88px) 0;
  overflow: hidden;

  /* Fond basé sur la marque (pas de bleu nuit fixe) */
  background:
    radial-gradient(900px 420px at 50% 0%,
      color-mix(in srgb, var(--brand-accent) 22%, transparent) 0%,
      transparent 60%),
    radial-gradient(900px 520px at 50% 120%,
      color-mix(in srgb, var(--brand-primary) 22%, transparent) 0%,
      transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--brand-primary) 92%, #000) 0%,
      color-mix(in srgb, var(--brand-primary) 78%, #000) 100%);
}

.launch-offer__inner{
  text-align: center;
  max-width: 980px;
  margin-inline: auto;
}

.launch-offer__badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: .55rem .9rem;
  border-radius: 999px;

  color: #fff;
  background: color-mix(in srgb, #fff 10%, transparent);
  border: 1px solid color-mix(in srgb, #fff 16%, transparent);

  font-weight: 600;
  font-size: .95rem;
  backdrop-filter: blur(8px);
}

.launch-offer__badge ion-icon{
  font-size: 16px;
  color: color-mix(in srgb, var(--brand-accent) 80%, #fff);
}

.launch-offer__title{
  margin: clamp(16px, 2vw, 22px) 0 12px;
  font-size: clamp(2.05rem, 1.35rem + 3.3vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #fff;
}

.launch-offer__title span{
  color: color-mix(in srgb, var(--brand-accent) 78%, #fff);
}

.launch-offer__subtitle{
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(1.02rem, .98rem + .4vw, 1.18rem);
  line-height: 1.65;
  color: color-mix(in srgb, #fff 82%, transparent);
}

.launch-offer__actions{
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: clamp(20px, 2.6vw, 30px);
}

.launch-offer__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: .95rem 1.45rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;

  border: 1px solid transparent;
  transition: transform var(--dur-1) var(--ease),
              background var(--dur-1) var(--ease),
              border-color var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease);
}

.launch-offer__btn--primary{
  background: #fff;
  color: #0b0f14;
  box-shadow: 0 18px 50px color-mix(in srgb, #000 32%, transparent);
}

.launch-offer__btn--primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 22px 60px color-mix(in srgb, #000 38%, transparent);
}

.launch-offer__btn--ghost{
  background: transparent;
  color: #fff;
  border-color: color-mix(in srgb, #fff 28%, transparent);
}

.launch-offer__btn--ghost:hover{
  transform: translateY(-1px);
  background: color-mix(in srgb, #fff 10%, transparent);
  border-color: color-mix(in srgb, #fff 38%, transparent);
}

.launch-offer__checks{
  list-style: none;
  padding: 0;
  margin: clamp(18px, 2.6vw, 26px) 0 0;

  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
  flex-wrap: wrap;

  color: color-mix(in srgb, #fff 70%, transparent);
  font-size: .95rem;
}

.launch-offer__check{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: .95;
}

.launch-offer__check ion-icon{
  font-size: 18px;
  color: color-mix(in srgb, var(--brand-accent) 78%, #fff);
}

/* Mobile tweaks */
@media (max-width: 560px){
  .launch-offer__btn{
    width: min(420px, 100%);
  }
}


/* =========================
   KYC — kalra-plus (add-on)
========================= */
.kyc-shell{
  background:#fff;
  border:1px solid rgba(10,57,84,.12);
  border-radius:22px;
  padding:26px;
  box-shadow:0 14px 40px rgba(10,57,84,.08);
}

.kyc-info{
  background:rgba(25,118,243,.08);
  border:1px solid rgba(25,118,243,.22);
  color:#0A3954;
  border-radius:16px;
  padding:14px 14px;
  font-size:14px;
  margin-bottom:14px;
}

.kyc-error{
  margin:10px 0 0;
  color:#b42318;
  font-size:14px;
  min-height:18px;
}

.kyc-steps{ margin:18px 0 18px; }
.kyc-steps__row{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  align-items:start;
}
.kyc-step{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:6px;
  text-align:center;
}
.kyc-step__dot{
  width:34px;height:34px;
  border-radius:999px;
  display:grid;
  place-items:center;
  border:2px solid rgba(10,57,84,.20);
  color:rgba(10,57,84,.55);
  font-weight:700;
  background:rgba(10,57,84,.04);
}
.kyc-step__label{
  font-size:12px;
  font-weight:600;
  color:rgba(10,57,84,.70);
}
.kyc-step.is-active .kyc-step__dot{
  border-color:#1976F3;
  color:#1976F3;
  background:rgba(25,118,243,.10);
}
.kyc-step.is-done .kyc-step__dot{
  border-color:#12b76a;
  color:#12b76a;
  background:rgba(18,183,106,.10);
}
.kyc-steps__bar{
  margin-top:10px;
  height:8px;
  border-radius:999px;
  background:rgba(10,57,84,.10);
  overflow:hidden;
}
.kyc-steps__barFill{
  display:block;
  height:100%;
  width:0%;
  background:#1976F3;
  transition:width .25s ease;
}

.kyc-panel{
  border:1px solid rgba(10,57,84,.12);
  border-radius:18px;
  padding:18px;
}
.kyc-panel__head{ margin-bottom:14px; }
.kyc-panel__title{
  margin:0;
  font-size:18px;
  font-weight:700;
  color:#0A3954;
}
.kyc-panel__hint{
  margin:6px 0 0;
  font-size:14px;
  color:rgba(10,57,84,.70);
}

.kyc-grid{
  display:grid;
  gap:12px;
  margin:12px 0;
}
.kyc-grid--2{ grid-template-columns:repeat(2,1fr); }
.kyc-grid--3{ grid-template-columns:repeat(3,1fr); }
.kyc-grid--4{ grid-template-columns:repeat(4,1fr); }

.kyc-stack{ display:grid; gap:12px; margin:12px 0; }
.kyc-colspan-2{ grid-column:span 2; }

.kyc-field label, .kyc-label{
  display:block;
  font-size:13px;
  font-weight:600;
  color:rgba(10,57,84,.85);
  margin-bottom:6px;
}
.kyc-req{ color:#b42318; font-weight:800; }

.kyc-field input,
.kyc-field select{
  width:100%;
  border:1px solid rgba(10,57,84,.16);
  border-radius:14px;
  padding:10px 12px;
  font-size:14px;
  outline:none;
  background:#fff;
  color:#0A3954;
}
.kyc-field input:focus,
.kyc-field select:focus{
  border-color:#1976F3;
  box-shadow:0 0 0 4px rgba(25,118,243,.12);
}

.kyc-radio{
  display:flex;
  gap:16px;
  align-items:center;
  font-size:14px;
  color:rgba(10,57,84,.85);
}
.kyc-radio label{ display:flex; gap:8px; align-items:center; }

.kyc-footnote{
  margin:10px 0 0;
  font-size:12px;
  color:rgba(10,57,84,.60);
}

.kyc-card{
  border:1px solid rgba(10,57,84,.10);
  background:rgba(10,57,84,.03);
  border-radius:16px;
  padding:14px;
  margin-bottom:14px;
}
.kyc-card__title{
  margin:0 0 10px;
  font-size:14px;
  font-weight:700;
  color:#0A3954;
}

.kyc-uploads{ align-items:start; }
.kyc-upload__meta{
  display:grid;
  gap:2px;
  margin-bottom:8px;
  font-size:13px;
  color:rgba(10,57,84,.72);
}
.kyc-upload__meta strong{ color:#0A3954; }

.kyc-drop{
  display:block;
  border:2px dashed rgba(10,57,84,.22);
  border-radius:18px;
  background:rgba(10,57,84,.03);
  padding:16px;
  cursor:pointer;
}
.kyc-drop input{ display:none; }
.kyc-drop__ui{ display:grid; gap:2px; }
.kyc-drop__title{ font-weight:700; color:#0A3954; }
.kyc-drop__sub{ font-size:12px; color:rgba(10,57,84,.65); }

.kyc-preview{
  margin-top:10px;
  display:grid;
  gap:8px;
}
.kyc-preview__img{
  width:92px;height:92px;
  border-radius:14px;
  border:1px solid rgba(10,57,84,.12);
  object-fit:cover;
}
.kyc-preview__file{
  font-size:12px;
  color:rgba(10,57,84,.75);
  font-weight:600;
  max-width:100%;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.kyc-actions{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:center;
  margin-top:16px;
}
.btn-outline{
  background:#fff;
  border:1px solid rgba(10,57,84,.18);
  color:#0A3954;
}
.btn-outline:disabled{
  opacity:.45;
  cursor:not-allowed;
}

.kyc-progress{
  margin-top:16px;
}
.kyc-progress__bar{
  height:10px;
  border-radius:999px;
  background:rgba(10,57,84,.10);
  overflow:hidden;
}
.kyc-progress__fill{
  display:block;
  height:100%;
  width:0%;
  background:#1976F3;
  transition:width .2s ease;
}
.kyc-progress__txt{
  margin:8px 0 0;
  font-size:13px;
  color:rgba(10,57,84,.70);
  text-align:center;
}

.kyc-finished{
  border:1px solid rgba(10,57,84,.12);
  border-radius:22px;
  padding:26px;
  text-align:center;
}
.kyc-finished__icon{
  width:56px;height:56px;
  border-radius:999px;
  margin:0 auto 10px;
  display:grid;
  place-items:center;
  font-weight:900;
  color:#12b76a;
  background:rgba(18,183,106,.10);
  border:2px solid rgba(18,183,106,.25);
}
.kyc-finished__title{
  margin:0 0 8px;
  color:#0A3954;
  font-size:20px;
  font-weight:800;
}
.kyc-finished__text{
  margin:0 auto 16px;
  color:rgba(10,57,84,.70);
  max-width:56ch;
}

/* Responsive */
@media (max-width: 900px){
  .kyc-grid--4{ grid-template-columns:1fr 1fr; }
  .kyc-grid--3{ grid-template-columns:1fr; }
  .kyc-grid--2{ grid-template-columns:1fr; }
  .kyc-colspan-2{ grid-column:auto; }
  .kyc-steps__row{ grid-template-columns:repeat(2,1fr); }
}


/* ===========================
SALAIRE / DÉPENSES — Slider (FIX)
=========================== */
.salary { padding: clamp(34px, 4vw, 72px) 0; }

.salary__head { text-align: center; margin-bottom: clamp(16px, 2vw, 22px); }
.salary__title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 1.1rem + 2.2vw, 2.5rem);
  letter-spacing: -0.02em;
}
.salary__subtitle {
  margin: 0 auto;
  max-width: 62ch;
  color: var(--text-muted);
  line-height: 1.65;
}
.salary__cta { margin-top: 14px; }

/* Bouton pilule */
.btn.btn--pill{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration: none;
  background: var(--brand-primary);
  color: #fff;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 22%, transparent);
  box-shadow: var(--shadow-sm);
}
.btn.btn--pill:hover{ filter: brightness(0.96); }

/* Wrap */
.salary__sliderWrap { margin-top: clamp(16px, 2.2vw, 24px); }
.salary__viewport{ overflow: hidden; border-radius: 18px; }

/* TRACK = flex (pas grid) */
.salary__track{
  --slide-w: min(78vw, 360px);     /* Mobile => 1 carte + peek de la suivante */
  --pad-x: 18px;

  display: flex;
  gap: clamp(12px, 2vw, 18px);

  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;

  padding: 10px var(--pad-x) 16px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--pad-x);
}
.salary__track::-webkit-scrollbar{ display:none; }

/* SLIDE */
.salary__slide{
  flex: 0 0 var(--slide-w);
  scroll-snap-align: start;

  /* “mise en avant” contrôlée */
  transform: scale(0.92);
  transform-origin: left center;
  opacity: 0.82;
  filter: saturate(0.92) brightness(0.96);
  transition: transform 220ms ease, opacity 220ms ease, filter 220ms ease;
}
.salary__slide.is-active{
  transform: scale(1);
  opacity: 1;
  filter: none;
}
.salary__slide.is-next{
  transform: scale(0.95);
  opacity: 0.92;
  filter: saturate(0.96) brightness(0.98);
}

/* CARD */
.salary__card{
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 14px 40px rgba(0,0,0,0.14);
  border: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.salary__card img{
  display:block;
  width:100%;
  height:auto;
}

/* DOTS */
.salary__dots{
  display:flex;
  justify-content:center;
  gap: 8px;
  margin-top: 10px;
}
.salary__dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-muted) 45%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 80%, transparent);
  opacity: 0.85;
}
.salary__dot.is-active{
  background: var(--brand-primary);
  border-color: color-mix(in srgb, var(--brand-primary) 70%, transparent);
  opacity: 1;
}

/* Desktop : 2 (ou 3 max) visibles */
@media (min-width: 900px){
  .salary__head { text-align: left; }
  .salary__subtitle{ margin-left: 0; }

  .salary__track{
    --slide-w: clamp(320px, 32vw, 420px); /* => 2-3 visibles selon largeur écran */
    --pad-x: 12px;
    padding: 12px var(--pad-x) 18px;
    scroll-padding-left: var(--pad-x);
  }
}
/* ===========================
KALRA • PARALLAX (image only)
- Full width
- Viewport crop (ne montre jamais toute l’image)
- Parallax fluide sans background-attachment
=========================== */
.kp-parallax{
  padding: 0;
}

.kp-parallax__viewport{
  position: relative;
  width: 100%;
  height: clamp(260px, 42vh, 520px);
  overflow: hidden;
  background: #0b0b0b;
}

/* Image volontairement plus grande que le viewport => crop permanent */
.kp-parallax__img{
  position: absolute;
  left: 0;
  top: 0;

  width: 100%;
  height: 135%;          /* + grand => on cache le reste */
  object-fit: cover;
  object-position: center;

  transform: translate3d(0, -20%, 0); /* position initiale */
  will-change: transform;
}

/* Mobile : encore plus de crop (on ne veut jamais “voir tout”) */
@media (max-width: 720px){
  .kp-parallax__viewport{
    height: min(420px, 40vh);
  }
  .kp-parallax__img{
    height: 155%;
    transform: translate3d(0, -24%, 0);
  }
}

/* Respect accessibilité */
@media (prefers-reduced-motion: reduce){
  .kp-parallax__img{ transform: translate3d(0, -12%, 0) !important; }
}

/* ===========================
SCENE HERO (Revolut-like)
=========================== */
.scene { padding: 0; }
.scene__wrap{
  position: relative;
  width: 100%;
  min-height: clamp(520px, 78vh, 840px);
  overflow: hidden;
  border-radius: 0; /* full width */
  background: #000;
}

/* Background stack */
.scene__bg{
  position: absolute;
  inset: 0;
}
.scene__img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* IMPORTANT: cadrage mobile (par défaut) */
  object-position: 50% var(--scene-y, 55%);

  opacity: 0;
  transform: scale(1.04);
  transition: opacity 520ms ease, transform 1200ms ease;
}
.scene__img.is-active{
  opacity: 1;
  transform: scale(1.0);
}

/* Overlay pour lisibilité */
.scene__overlay{
  position:absolute; inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.62) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.55) 100%);
  pointer-events:none;
}

/* Content */
.scene__content{
  position: relative;
  z-index: 2;
  padding: clamp(26px, 4vw, 54px) 0 clamp(22px, 4vw, 44px);
  color: #fff;
}
.scene__title{
  margin: 0 0 10px;
  font-size: clamp(2.0rem, 1.2rem + 2.8vw, 3.2rem);
  letter-spacing: -0.02em;
}
.scene__subtitle{
  margin: 0 0 12px;
  max-width: 62ch;
  line-height: 1.65;
  color: rgba(255,255,255,.88);
}
.scene__note{
  margin: 0 0 18px;
  max-width: 70ch;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.65);
}

/* Pills CTA (tu peux garder ton btn existant) */
.btn.btn--pill{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  text-decoration:none;
  background: #fff;
  color: #111;
  border: 1px solid rgba(255,255,255,.25);
}

/* Tabs / Pills */
.scene__tabs{
  display:flex;
  gap: 10px;
  margin-top: clamp(18px, 3vw, 28px);
  flex-wrap: wrap;
}
.scene__tab{
  appearance:none;
  border: 1px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.12);
  color:#fff;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 650;
  cursor:pointer;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.scene__tab.is-active{
  background:#fff;
  color:#111;
  border-color: rgba(255,255,255,.85);
}

/* Mobile: pills en bas façon capture */
@media (max-width: 640px){
  .scene__wrap{ min-height: 78vh; }
  .scene__tabs{
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 16px;
    margin: 0;
    justify-content: space-between;
  }
  .scene__tab{
    flex: 1;
    text-align:center;
    padding: 12px 14px;
  }
}
/* ===========================
SCENE HERO — Fix mobile layout
(empêche les overlaps)
=========================== */
@media (max-width: 640px){

  /* 1) on arrête de coller les tabs en absolute */
  .scene__tabs{
    position: static !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 16px !important;

    justify-content: center;
    gap: 10px;
  }

  /* 2) 2 pills max par ligne (jamais 3 collées) */
  .scene__tab{
    flex: 0 0 calc(50% - 6px) !important; /* 2 par ligne */
    text-align: center;
    padding: 12px 12px;
  }

  /* 3) CTA en dessous des textes, sans collision */
  .scene__cta{
    display: inline-flex;
    width: fit-content;
    margin: 14px 0 6px;
  }

  /* 4) un peu de breathing room général */
  .scene__content{
    padding-top: 22px !important;
    padding-bottom: 22px !important;
  }

  /* 5) optionnel: limiter le texte pour éviter un hero trop “plein” */
  .scene__note{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}
