/* =========
   VARIABLES
   ========= */
:root {
  /* Couleurs marque */
  --brand: #1976f3; /* bleu principal */
  --brand-ink: #0f5ed0; /* hover/active */
  --accent: #f7d046; /* jaune pour icônes/SVG ponctuels */
  --highlight: #ff7300; /* Orange accent pour titres de section */

  /* Texte & surfaces */
  --text: #111111;
  --muted: #6b7280;
  --bg: #ffffff;
  --surface: #f6f7f9;
  --ring: rgba(25, 118, 243, 0.28);

  /* Layout */
  --container: 1120px;

  /* Typo (Poppins 400/600/700) + tailles demandées avec responsive fluid */
  /* Base 17px pour paragraphes, H3=19px bold, H2=47px bold, H1=76px bold */
  --fs-body: clamp(15px, 1.2vw, 17px);
  --fs-h3: clamp(17px, 1.4vw, 19px);
  --fs-h2: clamp(28px, 4vw, 47px);
  --fs-h1: clamp(36px, 6.8vw, 76px);

  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* =========
   RESET & BASE
   ========= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica,
    Arial, sans-serif;
  font-weight: 400;
  font-size: var(--fs-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

/* Accessibilité */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  background: var(--brand);
  color: #fff;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 10000;
}

/* =========
   TITRAGES
   ========= */
h1,
h2,
h3 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
h1 {
  font-size: var(--fs-h1);
  font-weight: 700;
}
h2 {
  font-size: var(--fs-h2);
  font-weight: 700;
}
h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}
p {
  margin: 0 0 1rem;
  font-weight: 400;
}

/* =========
   LAYOUT UTILES
   ========= */
.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section {
  padding: clamp(2rem, 6vw, 4rem) 0;
}

/* ===== Espacement entre sections ===== */
section {
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

/* =========
   BOUTONS GÉNÉRIQUES
   ========= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1rem;
  border-radius: 9999px; /* pilule par défaut */
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.06s ease, background-color 0.2s ease,
    border-color 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn.cta {
  background: var(--brand);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
}
.btn.cta:hover {
  background: var(--brand-ink);
}
.btn.primary {
  background: #111;
  color: #fff;
}
.btn.primary:hover {
  background: #000;
}

/* =========
   HEADER
   ========= */
.site-header {
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e9ecef;
}

/* Conteneur du header ≥ 90% de la largeur écran en desktop */

.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
}
.brand img {
  border-radius: 8px;
  height: var(--logo-size, 60px); /* ← ajuste la taille du logo ici */
  width: auto;
}

/* Burger button */
.menu-btn {
  display: none; /* visible en mobile */
  width: 44px;
  height: 44px;
  border: 1px solid #e5e7eb;
  border-radius: 0.8rem;
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn .icon {
  width: 22px;
  height: 22px;
}
.menu-btn .icon-close {
  display: none;
}

/* Nav Desktop (base) */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  font-weight: 400;
  font-size: 17px;
}
.nav-list a:hover {
  color: var(--brand);
}

/* =========
   RESPONSIVE
   ========= */
@media (max-width: 992px) {
  .menu-btn {
    display: inline-flex;
  }

  /* nav devient overlay plein écran */
  .site-nav {
    position: fixed;
    inset: 0 0 0 0;
    top: 68px;
    display: grid;
    grid-template-rows: 1fr auto; /* liens + CTA bas */
    padding: 2rem 1.25rem 2.25rem;
    background: #fff;
    opacity: 0;
    transform: translateY(-1rem);
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 34px;
  }
  .nav-list a {
    font-size: 18px;
    font-weight: 600;
  }

  .site-nav .btn.cta {
    width: 100%;
    max-width: 600px;
    justify-self: center;
    height: 52px;
    font-size: 17px;
  }

  /* switch d'icône burger/close */
  .menu-btn[aria-expanded="true"] .icon-open {
    display: none;
  }
  .menu-btn[aria-expanded="true"] .icon-close {
    display: block;
  }
}

/* ===== Desktop : largeur ≥ 90% + alignement 3 zones ===== */
@media (min-width: 993px) {
  /* 1) header ≥ 90% viewport */
  .site-header .container {
    width: max(90vw, var(--container));
    margin-inline: auto;
  }

  /* 2) Grille 3 colonnes: logo | nav (centré) | CTA */
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
  }

  /* 3) Le contenu de .site-nav participe à la grille */
  .site-nav {
    display: contents;
  }

  /* Menu au centre, CTA à droite → équidistance logo/CTA */
  .nav-list {
    justify-self: center;
  }
  .btn.cta {
    justify-self: end;
  }
}

/* ====== DÉCORATIONS & HELPERS ====== */
svg {
  color: var(--accent);
} /* si SVG inline; sinon géré par icône */
body.menu-open {
  overflow: hidden;
}

/* ===== HERO ===== */
.hero {
  background: var(--bg);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  overflow-x: clip; /* évite scroll horizontal dû au tilt */
}
.hero-grid {
  display: grid;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: 1.05fr 0.95fr; /* gauche | droite */
}

/* Titre avec badges bleus arrondis */
.hero-title {
  font-size: var(--fs-h1);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.75rem;
}
.pill {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 0.1em 0.35em;
  border-radius: 0.5em;
}
.hero-sub {
  color: var(--text);
  opacity: 0.85;
  max-width: 60ch;
  margin: 0 0 1.25rem;
}

/* CTA secondaire (outline) */
.btn.outline {
  background: #fff;
  color: var(--text);
  border: 1px solid #e5e7eb;
  padding: 0.45rem 1rem;
  font-weight: 600;
}
.btn.outline:hover {
  border-color: #d7dae0;
}
.hero-how {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.hero-how-icon {
  width: 24px;
  height: 24px;
}

/* Preuves sociales */
.social-proof {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.avatars {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.avatars li {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  overflow: hidden;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}
.avatars li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.avatars .more {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: #2f2f2f;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border: 2px solid #fff;
}
.rating {
  color: #9aa0a6;
  font-weight: 600;
}
.rating .star {
  color: var(--accent);
  margin-right: 0.25rem;
}

/* Colonne droite : plaque bleue inclinée + carte */
.hero-form {
  position: relative;
  --tilt: -12deg;
  --pad: 28px;
  --plate-radius: 26px;
}
.hero-form::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: calc(-1 * var(--pad));
  background: linear-gradient(180deg, #1976f3 0%, #0f5ed0 100%);
  border-radius: var(--plate-radius);
  transform: rotate(var(--tilt));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}
.loan-card {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  padding: clamp(1rem, 2.4vw, 1.5rem);
}
.loan-title {
  font-size: clamp(22px, 2.2vw, 28px);
  margin: 0 0 0.75rem;
  font-weight: 400; /* ← le texte du h3 normal, pas gras */
}

.loan-title strong {
  font-weight: 700; /* ← seulement le mot dans <strong> est gras */
}

/* Texte caché accessible (utilisé dans la disclaimer) */
.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;
}

/* État d'erreur léger si tu veux l'utiliser plus tard */
.loan-form input[aria-invalid="true"] {
  border-color: #ef4444;
  background: #fff5f5;
}

/* ===== Sélecteur incurvé (SVG) ===== */
.range-visual {
  margin: 0.5rem 0 1.25rem;
}
.range-visual .minmax {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  color: #666;
  margin-bottom: 0.5rem;
}
.range-visual .minmax small {
  display: block;
  color: #9aa0a6;
  margin-bottom: 0.25rem;
}
.range-visual .val {
  font-weight: 600;
  color: #444;
}
.curved-slider {
  width: 100%;
  max-width: 600px;
  margin-inline: auto;
}
.curved-slider svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  margin-bottom: -8px;
}
#cs-track {
  stroke: #c9ced6;
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}
#cs-progress {
  stroke: var(--brand);
  stroke-width: 3;
  stroke-linecap: round;
  fill: none;
}
#cs-thumb {
  fill: var(--brand);
  filter: url(#cs-shadow);
  cursor: grab;
  transition: transform 0.06s ease;
}
#cs-thumb:active {
  cursor: grabbing;
  transform: scale(1.02);
}

/* mobile */
@media (max-width: 480px) {
  .range-visual .minmax {
    margin-bottom: 0.6rem;
  }
}

/* Form fields */
.loan-form {
  display: grid;
  gap: 0.9rem;
}
.loan-form .row {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 1fr 1fr;
}
.loan-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  color: #4b5563;
}
.loan-form input {
  height: 44px;
  border: 1px solid #e5e7eb;
  background: #f5f7fa;
  border-radius: 10px;
  padding: 0 0.8rem;
  font: inherit;
}
.loan-form input:focus {
  outline: 3px solid var(--ring);
  border-color: transparent;
}
.loan-form .full {
  grid-column: 1 / -1;
}
.loan-cta {
  margin-top: 0.5rem;
  width: 100%;
  height: 48px;
  font-size: 17px;
}
.disclaimer {
  text-align: center;
  color: #9aa0a6;
  font-size: 12px;
  margin-top: 0.5rem;
}
.licence {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  color: #b1b6bd;
  font-size: 14px;
  margin: 0.35rem 0 0;
}
.badge-licence {
  filter: grayscale(1);
}

/* ===== Responsive : mobile / tablette ===== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: clamp(2rem, 6vw, 3rem);
  }
  .hero .container {
    width: 95%;
    margin-inline: auto;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-actions {
    display: flex;
    justify-content: center;
  }
  .social-proof {
    justify-content: center;
    flex-wrap: wrap;
  }
  .avatars {
    justify-content: center;
  }
  .hero-form {
    --tilt: -5deg;
    --pad: 14px;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
  }
  .loan-card {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
    padding: 1rem;
  }
  .loan-form .row {
    grid-template-columns: 1fr;
  }
  .loan-title {
    font-size: 20px;
  }
}

/* ===== Desktop medium (entre 993px et 1199px) ===== */
@media (min-width: 993px) and (max-width: 1199px) {
  .hero .container {
    width: 90vw;
    margin-inline: auto;
  }
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: clamp(2.5rem, 5vw, 4rem);
  }
}

/* ===== Desktop large (≥1200px) ===== */
@media (min-width: 1200px) {
  .hero .container {
    width: 80vw;
    margin-inline: auto;
  }
  .hero-grid {
    grid-template-columns: 1.35fr 0.65fr;
    gap: clamp(3rem, 6vw, 5.5rem);
  }
  .hero-form {
    --pad: 22px;
    --tilt: -10deg;
    margin-left: clamp(1.25rem, 3vw, 3rem);
  }
  .hero-title .line-1,
  .hero-title .line-2 {
    white-space: nowrap;
  }
}

/* Bouton CTA du formulaire (optimisé) */
.btn.cta {
  background: var(--brand);
  color: #fff;
  font-family: "Poppins", sans-serif; /* force la police */
  font-size: 17px;
  font-weight: 500;
  border: none;
  border-radius: 9999px; /* arrondi pilule si tu veux */
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.btn.cta:hover {
  background: #0f5ed0; /* couleur hover validée */
}

/* ===== Animations HERO ===== */

/* Fade-in général du contenu hero */
.hero {
  animation: fadeIn 0.8s ease-out both; /* déclenche à l'apparition */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animation légère sur la plaque bleue du formulaire */
.hero-form::before {
  animation: tiltIn 1s ease-out both;
  transform-origin: center center;
}

@keyframes tiltIn {
  0% {
    opacity: 0;
    transform: rotate(-20deg) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: rotate(var(--tilt)) scale(1);
  }
}

/* Afficheur éditable centré (badge) */
.amount-display {
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.amount-display .currency {
  font-weight: 700;
  color: var(--brand);
}

#amountInput {
  font: inherit;
  font-weight: 700;
  color: var(--brand);
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  min-width: 9ch; /* largeur mini lisible */
  text-align: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* petit confort sur mobile */
@media (max-width: 480px) {
  #amountInput {
    padding: 0.3rem 0.55rem;
  }
}

/* Screen-reader helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== As Seen On ===== */
.as-seen {
  background: var(--bg);
  padding: clamp(1.5rem, 4vw, 2.5rem) 0;
}

.as-seen-kicker {
  margin: 0 0 1rem;
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--highlight); /* Orange FF7300 */
  font-weight: 700;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.logo-row img {
  height: clamp(22px, 2.5vw, 40px);
  filter: grayscale(1);
  opacity: 0.75;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.logo-row img:hover {
  opacity: 1;
  filter: grayscale(0);
  transform: translateY(-2px);
}

:root {
  --kicker: #ff7300; /* demandé */
}

/* Layout */
.hiw {
  background: #f6faff;
} /* léger fond bleu-gris, ajuste si besoin */
.hiw-grid {
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: 1.05fr 0.95fr;
  align-items: start;
}

@media (max-width: 992px) {
  .hiw-grid {
    grid-template-columns: 1fr;
  }
}

/* Colonne gauche */
.kicker {
  color: var(--kicker);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.hiw-title {
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5rem;
}
.hiw-title .pill {
  background: var(--brand);
  color: #fff;
  padding: 0.1em 0.35em;
  border-radius: 0.5em;
}

.hiw-sub {
  color: var(--muted);
  max-width: 60ch;
}

.hiw-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Sparkles */
.hiw-sparkles {
  color: var(--accent);
  width: 120px;
  max-width: 35vw;
  margin-top: 1rem;
}
.hiw-sparkles .sparkles {
  display: block;
  width: 100%;
  height: auto;
}

/* Colonne droite : accordéon */
.hiw-steps {
  display: grid;
  gap: 0.75rem;
}
.step {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}
.step-head {
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 0;
  cursor: pointer;
  font: inherit;
  color: var(--text);
}
.step-head:focus-visible {
  outline: 3px solid var(--ring);
  outline-offset: 3px;
  border-radius: 14px;
}

/* Après */
.step-icon {
  width: 26px;
  height: 26px;
  color: var(--brand-ink); /* utilise ton bleu foncé #0F5ED0 */
  display: grid;
  place-items: center;
}

.step-title {
  font-weight: 700;
}
.step-toggle {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.step-toggle::before,
.step-toggle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--brand);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.step-toggle::after {
  transform: rotate(90deg);
}
.step.open .step-toggle::after {
  transform: rotate(0deg);
} /* devient × */

.step-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s ease, padding 0.28s ease;
  padding: 0 20px;
}
.step.open .step-body {
  grid-template-rows: 1fr;
  padding: 0 20px 16px;
}
.step-body > * {
  overflow: hidden;
}
.step-body p {
  color: var(--muted);
  margin: 0.25rem 0 0;
}

/* micro-hover */
.step-head:hover .step-title {
  color: var(--brand-ink);
}

/* ===== Ajustements largeur HIW ===== */

/* Conteneur légèrement plus large que le reste du site */
.hiw .container {
  width: min(100% - 2rem, 1240px); /* passe de 1120px → 1240px max */
  margin-inline: auto;
}

/* Grille desktop : plus d’espace */
@media (min-width: 1200px) {
  .hiw-grid {
    grid-template-columns: 1.25fr 0.85fr; /* texte un peu plus large */
    gap: clamp(3rem, 6vw, 5rem); /* espace entre les deux colonnes */
  }
}

/* ===== Testimonials (Flex slider) ===== */
.reviews {
  background: var(--bg);
  text-align: center;
}
.reviews .container {
  max-width: 920px;
}

.reviews-slider {
  position: relative;
}

/* viewport masque */
.reviews-viewport {
  overflow: hidden;
}

/* track en flex qui translate */
.reviews-track {
  display: flex;
  will-change: transform;
  transition: transform 0.35s ease;
}

/* chaque slide = 100% du viewport */
.review {
  flex: 0 0 100%;
  padding: 0 1rem;
  opacity: 0;
  transform: translateX(10%);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.review.is-active {
  opacity: 1;
  transform: translateX(0);
}

/* déco */
.stars {
  display: flex;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.star {
  width: 20px;
  height: 20px;
}
.quote {
  font-style: italic;
  color: #2b2b2b;
  max-width: 72ch;
  margin: 0 auto 1.25rem;
}
.client {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.avatar {
  width: 52px;
  height: 52px;
  border-radius: 9999px;
  object-fit: cover;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.who .name {
  font-weight: 700;
}
.who .place {
  color: var(--muted);
  font-size: 0.95em;
}

.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #d9e3f3;
  background: #fff;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--brand);
  transition: border-color 0.2s ease, transform 0.06s ease;
}
.nav:hover {
  border-color: #c9d6ef;
}
.nav:active {
  transform: translateY(-50%) scale(0.98);
}
.nav.prev {
  left: -10px;
}
.nav.next {
  right: -10px;
}
.nav .ico {
  width: 20px;
  height: 20px;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: #a7cbfa;
  border: 0;
  cursor: pointer;
}
.dot.is-active {
  background: var(--brand);
}

.reviews-more {
  margin-top: 1.25rem;
}

@media (max-width: 992px) {
  .nav.prev {
    left: 6px;
  }
  .nav.next {
    right: 6px;
  }
  .quote {
    padding: 0 0.5rem;
  }
}

/* Cacher les flèches sur mobile */
@media (max-width: 768px) {
  .reviews-slider .nav {
    display: none !important;
  }
}

/* ===== Services (strips) ===== */
.services {
  background: var(--bg);
}
.service-strip {
  position: relative;
  background: radial-gradient(
      1600px 500px at 85% 10%,
      rgba(25, 118, 243, 0.06) 0%,
      transparent 60%
    ),
    #fff;
  border-top: 1px solid #eef2f6;
}
.service-strip:nth-child(even) {
  background: radial-gradient(
      1400px 480px at 15% 10%,
      rgba(25, 118, 243, 0.05) 0%,
      transparent 60%
    ),
    var(--surface);
}
.service-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) 0;
}
.service-strip.reverse .service-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
.service-strip.reverse .service-copy {
  order: 2;
}
.service-strip.reverse .service-art {
  order: 1;
}

/* copy */
.kicker {
  color: var(--highlight);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.service-title {
  font-size: var(--fs-h2);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}
.service-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 1rem;
}
.service-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-ink);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-ink);
  padding-bottom: 2px;
}
.link-more:hover {
  opacity: 0.9;
}

/* art */
.service-art img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* responsive */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .service-strip.reverse .service-copy {
    order: 1;
  }
  .service-strip.reverse .service-art {
    order: 2;
  }
  .service-actions {
    gap: 0.75rem;
  }
  .service-art img {
    border-radius: 12px;
  }
}
@media (max-width: 560px) {
  .service-actions {
    flex-wrap: wrap;
  }
}

/* ===== Services (strips) ===== */
.services {
  background: var(--bg);
}
.service-strip {
  position: relative;
  background: radial-gradient(
      1600px 500px at 85% 10%,
      rgba(25, 118, 243, 0.06) 0%,
      transparent 60%
    ),
    #fff;
  border-top: 1px solid #eef2f6;
}
.service-strip:nth-child(even) {
  background: radial-gradient(
      1400px 480px at 15% 10%,
      rgba(25, 118, 243, 0.05) 0%,
      transparent 60%
    ),
    var(--surface);
}
.service-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(2rem, 6vw, 4rem) 0;
}
.service-strip.reverse .service-grid {
  grid-template-columns: 0.95fr 1.05fr;
}
.service-strip.reverse .service-copy {
  order: 2;
}
.service-strip.reverse .service-art {
  order: 1;
}

/* copy */
.kicker {
  color: var(--highlight);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 0.4rem;
}
.service-title {
  font-size: var(--fs-h2);
  line-height: 1.15;
  margin: 0 0 0.4rem;
}
.service-sub {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 0 1rem;
}
.service-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.link-more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-ink);
  font-weight: 600;
  border-bottom: 2px solid var(--brand-ink);
  padding-bottom: 2px;
}
.link-more:hover {
  opacity: 0.9;
}

/* ===== Image + plaque bleue (même style que le hero form) ===== */
.services {
  overflow-x: clip;
} /* évite un scroll horizontal dû au tilt */

.service-art {
  position: relative;
  --tilt: -10deg;
  --pad: 22px;
  --plate-radius: 24px;
  isolation: isolate;
}
.service-strip.reverse .service-art {
  --tilt: 10deg;
}

.service-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: calc(-1 * var(--pad));
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-ink) 100%);
  border-radius: var(--plate-radius);
  transform: rotate(var(--tilt));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
}

/* Cadre carré avec crop propre */
.art-frame {
  position: relative;
  z-index: 1;
  width: min(100%, 520px); /* limite la largeur max */
  aspect-ratio: 1 / 1; /* carré */
  border-radius: 18px;
  overflow: hidden; /* arrondis visibles + crop */
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.art-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop centre propre */
  display: block;
}

/* responsive */
@media (max-width: 992px) {
  .service-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .service-strip.reverse .service-copy {
    order: 1;
  }
  .service-strip.reverse .service-art {
    order: 2;
  }
  .service-actions {
    gap: 0.75rem;
  }
  .service-art {
    --pad: 16px;
    --tilt: -6deg;
  }
  .service-strip.reverse .service-art {
    --tilt: 6deg;
  }
  .art-frame {
    width: min(100%, 460px);
    border-radius: 16px;
  }
}
@media (max-width: 560px) {
  .service-actions {
    flex-wrap: wrap;
  }
  .service-art {
    --pad: 12px;
  }
  .art-frame {
    width: 100%;
    border-radius: 14px;
  }
}
/* ===== Mobile: pile verticale + espacement sûr ===== */
@media (max-width: 992px){
  .service-strip .service-grid,
  .service-strip.reverse .service-grid{
    display: grid;
    grid-template-columns: 1fr;        /* 1 colonne */
    grid-auto-flow: row;                /* ordre vertical */
    align-items: start;                 /* aligne le texte et l'image en haut */
    text-align: left;
    gap: clamp(1.5rem, 4vw, 2rem);      /* un peu plus d'air qu'avant */
  }

  /* ordre identique partout : texte → image */
  .service-strip .service-copy,
  .service-strip.reverse .service-copy{ order: 1; width: 100%; min-width: 0; }

  .service-strip .service-art,
  .service-strip.reverse .service-art{
    order: 2; width: 100%; min-width: 0;
    margin-top: calc(var(--pad) + 12px);  /* espace vs CTA, dépend de la plaque */
  }

  .service-actions{
    gap: .75rem;
    margin-bottom: .25rem;              /* un poil d'air sous le CTA */
  }

  /* plaque bleue + image (inchangé) */
  .service-art{ --pad: 16px; --tilt: -6deg; }
  .service-strip.reverse .service-art{ --tilt: 6deg; }

  .art-frame{ width: min(100%, 460px); border-radius: 16px; }
}

@media (max-width: 560px){
  .service-actions{ flex-wrap: wrap; }
  .service-art{ --pad: 12px; }          /* plaque un peu plus compacte */
  .art-frame{ width: 100%; border-radius: 14px; }

  /* encore un peu d'air sur très petit écran */
  .service-strip .service-art,
  .service-strip.reverse .service-art{
    margin-top: calc(var(--pad) + 18px);
  }
}

/* ===== Fade-in on scroll ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(24px);      /* petit décalage vers le bas */
  transition: opacity .8s ease, transform .8s ease;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ===== WHY (général) ===== */
.why { background: var(--bg); overflow-x: clip; }
.why .container{ max-width: 1280px; margin-inline: auto; }

/* Mise en page verticale (desktop inclus) */
.why-grid{
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "head"
    "art"
    "points";
  gap: clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.why-head{ grid-area: head; }
.why-head .why-title{ margin: .35rem 0 1.1rem; text-align: center; }

/* pill multi-ligne propre */
.why .pill{
  white-space: normal;
  display: inline;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: .05em .35em;
  border-radius: .5em;
}

/* Raisons en liste verticale centrée */
.why-points{
  grid-area: points;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  justify-items: center;
  text-align: left;
  max-width: 680px;
  margin-inline: auto;
}
.point{ display:grid; grid-template-columns:auto 1fr; column-gap:.75rem; row-gap:.35rem; width: 100%; }
.p-ico{
  grid-row: span 2;
  width:36px; height:36px; display:grid; place-items:center;
  color: var(--brand-ink);
  background:#ECF3FF;
  border-radius:10px;
}
.p-ico svg{ width:22px; height:22px; }
.point-title{ margin:0; font-weight:700; }
.point-text{ margin:0; color:var(--muted); max-width: 52ch; }
.why-cta{ margin-top:.5rem; }

/* Image + plaque bleue centrées */
.why-art{
  grid-area: art;
  position: relative;
  isolation: isolate;
  --tilt: -6deg;
  --pad: 20px;
  --plate-radius: 22px;
  justify-self: center;
}
.why-art::before{
  content:"";
  position:absolute;
  inset: calc(-1 * var(--pad));
  border-radius: var(--plate-radius);
  background: linear-gradient(180deg, var(--brand) 0%, var(--brand-ink) 100%);
  transform: rotate(var(--tilt));
  box-shadow: 0 24px 48px rgba(0,0,0,.18);
  z-index: 0;
}
.why-frame{
  position: relative;
  z-index: 1;
  width: min(85vw, 880px);
  aspect-ratio: 16 / 9;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
}
.why-frame > img{
  position:absolute; inset:0;
  width:100%; height:100%;
  object-fit:cover; display:block;
  border-radius:inherit;
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .why-grid{
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "points"
      "art";
    gap: clamp(1.5rem, 5vw, 2rem);
  }
  .why-art{ --pad: 14px; --tilt: -5deg; margin-top: clamp(12px, 2.5vw, 22px); }
  .why-frame{ width: min(92vw, 560px); aspect-ratio: 4 / 3; border-radius: 16px; }
}

@media (max-width: 560px){
  .p-ico{ width:34px; height:34px; }
  .why-art{ --pad: 10px; }
  .why-frame{ width: 92vw; max-width: 480px; aspect-ratio: 4 / 3; border-radius: 14px; }
}

/* ===== Desktop: espace supplémentaire entre image et raisons ===== */
@media (min-width: 992px){
  .why-points{
    margin-top: 3rem;  /* >>> espace vertical plus grand */
  }
}


/* =========================
   FAQ – Styles
   ========================= */
.faq { background: var(--bg); }
.faq-header { text-align: center; margin-bottom: clamp(1.2rem, 4vw, 2.2rem); }

.faq-eyebrow{
  letter-spacing: .35em;
  font-size: 13px;
  color: var(--highlight, #ff7300);
  margin: 0 0 .5rem;
}

.faq-title{
  font-size: var(--fs-h2);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
.title-badge{
  display:inline-block; background: var(--brand); color:#fff;
  padding:.18em .5em; border-radius:12px;
}

/* Liste */
.faq-list{
  width: min(100%, 860px);
  margin: 0 auto;
  display: grid;
  gap: .9rem;
}

/* Box/accordion (details/summary) */
.faq-item{
  background: color-mix(in srgb, var(--brand) 6%, #ffffff); /* bleu très clair */
  border: 1px solid rgba(25,118,243,.14);
  border-radius: 14px;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  overflow: clip;
}

/* Question */
.faq-item > .faq-question{
  list-style: none;                 /* enlève le triangle natif */
  cursor: pointer;
  padding: 1rem 1.1rem 1rem 1.1rem;
  position: relative;
  font-weight: 600;
  display: flex; align-items: center; gap: .8rem;
}

/* Icône + / − en CSS pur */
.faq-item > .faq-question::after{
  content: "+";
  font-weight: 700;
  color: var(--brand);
  margin-left: auto;
  width: 1.2em; text-align: center;
  line-height: 1;
}
.faq-item[open] > .faq-question::after{
  content: "–";
  color: var(--brand-ink, #0f5ed0);
}

/* Réponse */
.faq-answer{
  padding: 0 1.1rem 1rem 1.1rem;
  color: var(--text);
}
.faq-answer p{ margin: .2rem 0 0; }
.faq-answer ul{ margin: .4rem 0 0 1.1rem; }

/* Footer CTA */
.faq-footer{
  text-align: center;
  margin-top: clamp(1.6rem, 5vw, 2.6rem);
}
.faq-subtitle{
  font-size: var(--fs-h3);
  margin-bottom: .6rem;
}

/* Bouton réutilise ta base .btn + .btn-ghost */
.btn.btn-ghost{
  border: 2px solid var(--brand);
  color: var(--brand);
}
.btn.btn-ghost:hover{
  background: var(--brand);
  color: #fff;
}

/* Responsive */
@media (max-width: 720px){
  .faq-list{ width: 100%; padding-inline: .5rem; }
  .faq-item > .faq-question{ padding: .9rem .95rem; }
  .faq-answer{ padding: 0 .95rem .9rem .95rem; }
}


/* =========================
   SECTION CTA – centrée + ratio 2534/943 (namespacée)
   ========================= */

#cta-apply { 
  padding: 0; 
  margin-bottom: clamp(2rem, 6vw, 4rem);
}

/* Conteneur élargi ET centré (sans toucher à .container globale) */
#cta-apply .container.container-xl{
  width: min(100% - 2rem, 1400px) !important;
  margin-inline: auto;
  display: flex;
  justify-content: center;
}

/* Carte */
#cta-apply .cta-card{
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: transparent;
  box-shadow: var(--shadow);
  aspect-ratio: 2534 / 943;               /* fidèle à 2534x943 */
  min-height: clamp(420px, 34vw, 580px);
  display: grid; 
  align-items: center;
  margin-inline: auto;
  width: 100%;
}

/* Image de fond */
#cta-apply .cta-figure{ position: absolute; inset: 0; border-radius: inherit; margin: 0; }
#cta-apply .cta-figure img{
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  border-radius: inherit;
}

/* Overlay sombre */
#cta-apply .cta-overlay{
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    rgba(17,17,17,.80) 0%,
    rgba(17,17,17,.60) 30%,
    rgba(17,17,17,.25) 58%,
    rgba(17,17,17,0) 100%
  );
}

/* Contenu */
#cta-apply .cta-content{
  position: relative; z-index: 1;
  color: #fff;
  padding: clamp(1.6rem, 4.6vw, 3.2rem);
  max-width: 920px;
}

/* Titre + badge */
#cta-apply .cta-title{
  font-size: var(--fs-h2);
  font-weight: 700; 
  line-height: 1.1;
  margin: 0 0 1rem;
}
#cta-apply .title-badge{
  display:inline-block; background: var(--brand); color:#fff;
  padding:.25em .6em; border-radius:12px; margin-right:.3em;
  box-shadow: 0 4px 14px rgba(25,118,243,.30);
}

/* Paragraphe */
#cta-apply .cta-lead{
  font-size: var(--fs-body);
  line-height: 1.6;
  margin: 0 0 1.4rem;
  max-width: 680px; color:#fff; opacity:.95;
}

/* Actions (boutons) */
#cta-apply .cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* === Variantes boutons SCOPÉES CTA (n'impacte pas le header) === */
#cta-apply .btn-primary{
  position: relative;
  background: var(--brand); color:#fff;
  padding: .5rem 1.28rem; border-radius: 9999px;
  font-size: 17px; font-weight: 500;
  box-shadow: 0 10px 24px rgba(25,118,243,.34);
}
#cta-apply .btn-primary:hover{ background: var(--brand-ink); }

#cta-apply .btn-flare{
  position:absolute; left:-12px; top:-12px;
  width:34px; height:34px; pointer-events:none;
}

#cta-apply .btn-ghost{
  background: transparent; color:#fff;
  border:2px solid #fff; border-radius:9999px;
  padding:.5rem 1.28rem; font-size:17px; font-weight:500;
}
#cta-apply .btn-ghost:hover{ background:#fff; color: var(--brand); }

/* =========================
   Responsive
   ========================= */
@media (max-width: 920px){
  #cta-apply .cta-card{ aspect-ratio: auto; min-height: 520px; }
  #cta-apply .cta-overlay{
    background: linear-gradient(
      0deg,
      rgba(17,17,17,.78) 0%,
      rgba(17,17,17,.45) 45%,
      rgba(17,17,17,0) 100%
    );
  }
  #cta-apply .cta-content{ padding: clamp(1.2rem, 6vw, 2rem); }
  #cta-apply .cta-actions{
    gap: 1.5rem;                    /* plus d’espace en mobile */
    justify-content: flex-start;    /* aligné à gauche en mobile */
  }
}


/* ===== Footer (namespacé .site-footer / .sf-*) ===== */
.site-footer {
  background: #0f1115;
  color: #e9edf3;
}

/* Conteneur plus large sur desktop */
.footer-container {
  /* élargi */
  width: min(100% - 2rem, 1400px);
  margin-inline: auto;
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* --- Top area --- */
.sf-top {
  display: grid;
  /* un peu plus d'espace pour les liens à gauche */
  grid-template-columns: minmax(0, 1.6fr) minmax(420px, 1fr);
  /* gaps plus généreux */
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: start;
  padding-bottom: clamp(1.5rem, 3vw, 2.75rem);
}

.sf-links {
  display: grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr)); /* colonnes moins “serrées” */
  gap: clamp(1rem, 2.5vw, 2.25rem);
}

/* Logo */
.sf-logo img {
  display: block;
  height: 50px;
  width: auto;
  border-radius: 8px;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,.25));
}

/* Groupes & liens */
.sf-group-title {
  font-weight: 600;
  color: #fff;
  margin-bottom: .6rem; /* + */
}

.sf-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .55rem; /* + pour aérer */
}

/* Gestion des mots longs DE */
.sf-list a {
  color: #cfd6e0;
  text-decoration: none;
  line-height: 1.45;                 /* meilleure lisibilité */
  hyphens: auto;                     /* césure auto (requis lang="de-CH") */
  overflow-wrap: anywhere;           /* coupe proprement si besoin */
  word-break: normal;                /* évite la casse violente */
  transition: color .2s ease, opacity .2s ease;
}
.sf-list a:hover { color: #fff; }

/* Newsletter */
.sf-newsletter .sf-group-title { margin-bottom: .35rem; }
.sf-news-desc {
  color: #cfd6e0;
  margin: 0 0 .9rem 0; /* + */
}

.sf-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .7rem; /* + */
  margin-bottom: .75rem; /* + */
}

.sf-input {
  width: 100%;
  background: #0a0c10;
  border: 1px solid #232833;
  color: #e9edf3;
  border-radius: 9999px;
  padding: .78rem 1rem;  /* un poil plus haut */
  line-height: 1.2;
}
.sf-input::placeholder { color: #94a3b8; }
.sf-input:focus {
  outline: 3px solid var(--ring, rgba(25,118,243,.28));
  outline-offset: 2px;
  border-color: var(--brand, #1976f3);
}

/* Bouton local */
.sf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.25rem; /* harmonisé avec l’input */
  border-radius: 9999px;
  border: 1px solid transparent;
  background: var(--brand, #1976f3);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform .06s ease, background-color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.sf-btn:hover { background: var(--brand-ink, #0f5ed0); }
.sf-btn:active { transform: translateY(1px); }

/* Légende newsletter */
.sf-legal-hint {
  font-size: .9rem;    /* + */
  color: #a9b3c5;
  margin: 0;
}
.sf-legal-hint a { color: #fff; text-decoration: underline; }

/* Divider un peu plus large visuellement */
.sf-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.09);
  margin: clamp(1.2rem, 3.2vw, 2.2rem) 0; /* + */
}

/* --- Bottom area --- */
.sf-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem; /* + */
  align-items: center;
}

.sf-legal-line {
  display: flex;
  flex-wrap: wrap;
  gap: .95rem 1.4rem; /* + */
  align-items: center;
  color: #cfd6e0;
}
.sf-legal-nav {
  display: inline-flex;
  gap: 1.1rem; /* + */
}
.sf-legal-nav a {
  color: #cfd6e0;
  text-decoration: none;
}
.sf-legal-nav a:hover { color: #fff; }

/* Réseaux */
.sf-social {
  display: inline-flex;
  align-items: center;
  gap: .7rem; /* + */
}
.sf-social a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px; /* + */
  border-radius: 10px;
  background: #0a0c10;
  color: #fff;
  border: 1px solid #232833;
  transition: transform .12s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
}
.sf-social a:hover {
  background: #111522;
  border-color: #2d3646;
  transform: translateY(-1px);
}
.sf-social ion-icon { font-size: 21px; /* + */ }

/* Disclaimers */
.sf-disclaimers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.1rem, 2.6vw, 2.2rem); /* + */
  margin-top: clamp(1.1rem, 3.2vw, 2.2rem); /* + */
  color: #b7c1d4;
}
.sf-disclaimer-title {
  font-weight: 700;
  color: #fff;
  margin-bottom: .35rem; /* + */
}
.sf-disclaimer-body {
  margin: 0;
  font-size: .95rem;   /* + */
  line-height: 1.55;   /* + */
}

/* ===== Lang switch – Footer button ===== */
.sf-lang {
  margin-left: auto; /* pousse à droite dans la ligne .sf-bottom */
}

.sf-btn--lang {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  padding-inline: 1rem;
  font-weight: 600;
  line-height: 1;
}

/* Petite icône globe (optionnel, si tu veux) */
/* .sf-btn--lang::before { content: "🌐"; } */

/* Variante responsive */
@media (max-width: 860px) {
  .sf-lang { margin-left: 0; }
  .sf-btn--lang { width: 100%; }
}

/* ===== Variante flottante (facultatif) =====
   Ajoute la classe .is-floating sur le bouton pour l'activer. */
.sf-btn--lang.is-floating {
  position: fixed;
  right: clamp(.9rem, 2.6vw, 1.25rem);
  bottom: clamp(.9rem, 2.6vw, 1.25rem);
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
}

/* Évite qu’il masque d’autres CTA flottants si tu en as un côté droit : */
@media (min-width: 1024px) {
  .sf-btn--lang.is-floating { right: 1.25rem; bottom: 1.25rem; }
}


/* --- Responsive --- */
@media (max-width: 1280px) {
  /* un cran intermédiaire : conteneur un peu moins large */
  .footer-container { width: min(100% - 2rem, 1280px); }
  .sf-links { grid-template-columns: repeat(4, minmax(160px, 1fr)); }
}
@media (max-width: 1024px) {
  .sf-links { grid-template-columns: repeat(3, minmax(160px, 1fr)); }
}
@media (max-width: 860px) {
  .footer-container { width: min(100% - 2rem, 800px); }
  .sf-top { grid-template-columns: 1fr; }
  .sf-links { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
  .sf-form { grid-template-columns: 1fr; }
  .sf-btn { width: 100%; }
  .sf-bottom { grid-template-columns: 1fr; gap: .6rem; }
  .sf-social { justify-content: flex-start; }
  .sf-disclaimers { grid-template-columns: 1fr; }
}


/* =========================
   STATS – Universalkreditts
   ========================= */
.uk-stats {
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 16px;
}

.uk-stats .container { text-align: center; }

/* Header */
.uk-stats__header { margin-bottom: clamp(1rem, 3vw, 2rem); }
.uk-stats__title {
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text);
  margin: 0;
}
.uk-stats .title-badge{
  display:inline-block;
  background: var(--brand);      /* bleu */
  color:#fff;
  padding:.2em .55em;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(25,118,243,.25);
}

/* Grille (cartes à hauteur égale) */
.uk-stats__grid{
  list-style:none;
  margin:0; padding:0;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: clamp(1rem, 4vw, 2rem);
  align-items: stretch;
}
.uk-stats__item{
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-between;
  gap:.6rem;
  background:#fff;
  border: 1px solid #e9eef6;
  border-radius: 18px;
  padding: clamp(1rem, 3.5vw, 1.4rem);
  min-height: 190px;                 /* <-- assure une même présence */
  box-shadow: 0 10px 30px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.uk-stats__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 38px rgba(0,0,0,.08);
}

/* Icône (bleu + anneau orange léger) */
.uk-stats__icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(25,118,243,.10);
  color: var(--brand);
  outline: 3px solid rgba(255,115,0,.08); /* halo orange */
  outline-offset: 2px;
}
.uk-stats__icon ion-icon{ font-size:26px; }

/* Valeur – plus petite pour homogénéiser les cartes */
.uk-stats__number{
  margin-top:.35rem;
  font-weight:700;
  font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size: clamp(24px, 3.2vw, 32px);   /* ↓ taille réduite */
  line-height:1.1;
  color: var(--brand);                   /* bleu, pas de vert */
  letter-spacing:.2px;
  word-break: break-word;
  max-width: 100%;
  text-wrap: balance;
}

/* Libellé */
.uk-stats__label{
  margin:.2rem 0 0;
  color:#0f172a;
  opacity:.9;
  font-weight:500;
  font-size: clamp(14px, 1.6vw, 16px);
}

/* Responsive */
@media (max-width: 900px){
  .uk-stats__grid{ grid-template-columns: 1fr; }
  .uk-stats__item{ min-height: 160px; }
}


/* =========================
   INFO – Universalkreditts
   ========================= */
.uk-info {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  border-radius: 16px;
}

/* Décor optionnel (halo doux en bas à droite) */
.uk-info::after{
  content:"";
  position:absolute;
  right:-12%;
  bottom:-18%;
  width: 520px;
  height: 520px;
  background: radial-gradient(closest-side, rgba(25,118,243,.08), rgba(25,118,243,0));
  filter: blur(2px);
  pointer-events:none;
}

.uk-info__header{
  text-align:center;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.uk-info__title{
  font-size: var(--fs-h2);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .35rem 0;
}
.uk-info .title-badge{
  display:inline-block;
  background: var(--brand);
  color:#fff;
  padding:.15em .55em;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(25,118,243,.25);
}

.uk-info__intro{
  margin:0;
  color: var(--muted);
}
/* ===== Grille 2 colonnes : Q à gauche (étroite) / A à droite (large) ===== */
.uk-info__grid{
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr; /* ← colonne Q plus étroite */
  gap: clamp(1rem, 4vw, 2.5rem);
  align-items: start;
}

/* Colonnes */
.uk-info__col{ display: grid; align-content: start; gap: clamp(.9rem, 2vw, 1.25rem); }
.uk-info__col--q{ position: relative; }

/* Questions (liste verticale dans la colonne gauche) */
.uk-info__q{
  margin: 0;
  font-size: var(--fs-h3);
  font-weight: 700;
  color: #0f1a2b;
  padding-left: 14px;
  position: relative;
}
.uk-info__q::before{
  content:"";
  position:absolute;
  left:0; top:.45em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--highlight); /* orange accent */
}

/* Réponses (liste verticale dans la colonne droite) */
.uk-info__a{
  background: #fff;
  border: 1px solid #e9eef6;
  border-radius: 14px;
  padding: clamp(.9rem, 2.6vw, 1.25rem);
  box-shadow: 0 6px 18px rgba(0,0,0,.05);
}
.uk-info__a p{
  margin: 0 0 .85rem 0;
  color: var(--text);
  line-height: 1.7;
}
.uk-info__a p:last-child{ margin-bottom: 0; }

/* Mobile : on garde la logique 2 blocs (questions puis réponses)
   Si tu veux alterner Q/A en mobile, dis-le et je te fais une version grid-areas. */
@media (max-width: 980px){
  .uk-info__grid{
    grid-template-columns: 1fr; /* pile */
  }
  .uk-info__col--q{
    margin-bottom: .75rem;
  }
}

/* =========================
   HOW IT WORKS – Timeline (desktop overlap proof)
   ========================= */

.hw-hero .eyebrow { color: var(--highlight); letter-spacing: .15em; font-weight: 700; }
.hw-title { margin: .25rem 0 0; font-size: var(--fs-h1); }
.hw-sub { color: var(--muted); margin-top: .25rem; }

/* Variables locales */
.timeline{
  --rail-w: 2px;
  --rail-gap: clamp(18px, 3vw, 40px);
  --left-col: minmax(220px, 320px);
  --content-max: 720px;
  --container-wide: calc(var(--container) + 320px);
  position: relative;
}

/* On élargit le container UNIQUEMENT ici */
.timeline .timeline__container{
  width: min(100% - 2rem, var(--container-wide));
  margin-inline: auto;
}

/* La grille maîtresse : 1fr | left | gap | RAIL | gap | content | 1fr */
.timeline__container{
  position: relative;
  display: grid;
  grid-template-columns:
    1fr
    var(--left-col)
    var(--rail-gap)
    var(--rail-w)
    var(--rail-gap)
    minmax(0, var(--content-max))
    1fr;
  row-gap: clamp(16px, 3vw, 28px);
  z-index: 0;
}

/* Le rail est une vraie colonne de grille qui s’étire sur toute la hauteur */
.timeline__rail{
  grid-column: 4;
  grid-row: 1 / -1;
  width: var(--rail-w);
  background: #e9eef6;
  justify-self: stretch;
  align-self: stretch;
  z-index: 0;
}
.timeline__progress{
  display: block;                /* important pour gérer la height */
  grid-column: 4;
  grid-row: 1 / -1;
  width: var(--rail-w);
  background: var(--brand);
  height: 0;
  align-self: start;
  justify-self: stretch;
  z-index: 1;                    /* au-dessus du rail en desktop */
}

.timeline__item{ display: contents; }

.timeline__side{
  grid-column: 2;
  align-self: start;
}
.timeline__side .step-eyebrow{
  color: var(--highlight);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin: 0 0 .25rem;
}
.timeline__title{
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
}

/* La pastille s’ancre sur la colonne du rail */
.timeline__dot{
  grid-column: 4;
  width: 14px; height: 14px; border-radius: 50%;
  background: #c6d7fb; border: 3px solid #fff;
  box-shadow: 0 0 0 3px rgba(25,118,243,.12);
  justify-self: center;
  align-self: start;
  transform: translateY(6px);
  z-index: 2;
}
.is-visible .timeline__dot{ background: var(--brand); }

/* Colonne droite : texte + bouton + image */
.timeline__content{
  grid-column: 6;
  max-width: var(--content-max);
  text-align: left;
  align-self: start;
}
.timeline__content p{ margin: 0 0 .9rem; color: var(--text); }

.timeline__media{
  margin: .75rem 0 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  max-width: 100%;
}
.timeline__media img{ display:block; width:100%; height:auto; }

/* Bandeau régions (si utilisé) */
.regions__box{
  text-align: center;
  background: var(--surface);
  border: 1px solid #e9eef6;
  border-radius: 16px;
  padding: clamp(1rem, 4vw, 2rem);
  box-shadow: var(--shadow);
}
.regions__title{ margin: .25rem 0 0; font-size: clamp(22px, 2.6vw, 32px); }
.regions__sub{ color: var(--muted); margin-top: .35rem; }

/* =========================
   Mobile : pile + rail fixé à gauche
   ========================= */
@media (max-width: 900px){
  .timeline .timeline__container{
    position: relative;                           /* contexte pour abs. */
    width: min(100% - 2rem, var(--container));
  }
  .timeline__container{
    grid-template-columns: 1fr;                   /* une seule colonne */
  }

  /* Rail + progress en absolu, HAUTEUR 100% du container */
  .timeline__rail,
  .timeline__progress{
    position: absolute;
    left: 24px;                                   /* rail fixe à gauche */
    top: 0;
    width: var(--rail-w);
    height: 100%;                                  /* <-- clé pour que railH > 0 */
    transform: none;
    grid-column: 1;
    grid-row: auto;
    pointer-events: none;                          /* évite tout hit */
  }

  /* Empilement : rail < progress < dots */
  .timeline__rail{ z-index: 1; }
  .timeline__progress{ z-index: 2; }

  .timeline__item{ display: grid; }               /* on réactive la grille locale */
  .timeline__side,
  .timeline__content{
    grid-column: 1;
    padding-left: 56px;                            /* place pour le rail + dot */
  }
  .timeline__dot{
    position: absolute;
    left: 24px;
    transform: translate(-50%, 6px);
    grid-column: 1;
    justify-self: start;
    z-index: 3;                                    /* au-dessus */
  }
}

/* Accessibilité : réduire le motion */
@media (prefers-reduced-motion: reduce){
  .timeline__progress{ height: auto; }
}


/* ==== Requirements section (2-col desktop / stack mobile) ==== */
.requirements { background: var(--surface); }
.requirements .eyebrow { color: var(--highlight); letter-spacing: .16em; font-weight: 700; }
.requirements__title { margin: .35rem 0 .5rem; font-size: var(--fs-h2); line-height: 1.12; }
.requirements__sub { color: var(--muted); max-width: 58ch; }

.requirements__container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}

.requirements__intro { align-self: start; }
.requirements__list { display: grid; gap: 18px; }

.requirements__item{
  background: transparent;   /* plus de carte blanche */
  border: none;
  box-shadow: none;
  padding: 0;                /* on enlève le padding de carte */
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
}
.requirements__icon{
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(25,118,243,.10); color: var(--brand);
}

/* Espacements verticaux cohérents entre items */
.requirements__list{ display: grid; gap: 18px; }
.requirements__text .item-title{ margin: 0 0 .15rem; font-weight: 700; }
.requirements__text p{ margin: 0; color: var(--text); }

.requirements__cta{ grid-column: 1 / -1; margin-top: clamp(16px, 3vw, 24px); }

/* Responsive */
@media (max-width: 960px){
  .requirements__container{ grid-template-columns: 1fr; }
  .requirements__cta{ grid-column: 1; }
}


/* ===== Contact Section ===== */
.section.contact {
  padding: 4rem 1rem;
  background: #f9fafc;
  font-family: "Poppins", sans-serif;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.contact__intro .eyebrow {
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0f5ed0;
  margin-bottom: 0.5rem;
}

.contact__title {
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact__lead {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact__notice {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.contact__notice strong {
  color: #000;
}

/* ===== Form Styles ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .form__row {
    grid-template-columns: 1fr;
  }
}

.form__field {
  display: flex;
  flex-direction: column;
}

.form__label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form__input,
.form__textarea {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form__input:focus,
.form__textarea:focus {
  border-color: #0f5ed0;
  outline: none;
  box-shadow: 0 0 0 2px rgba(15, 94, 208, 0.15);
}

.form__textarea {
  resize: vertical;
  min-height: 140px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.checkbox input {
  margin-top: 0.2rem;
}

.btn.cta {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #1976f3;
  color: #fff;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}

.btn.cta:hover {
  background: #0f5ed0;
}

.form__helper {
  font-size: 0.8rem;
  color: #666;
}

/* Success / Error messages */
.form__msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.form__msg--success {
  color: green;
}

.form__msg--error {
  color: red;
}


/* =========================
   PARTNER – CONTAINER ALIGN
   ========================= */
/* On mappe le template (.padding-global/.container-large/.padding-section-large)
   sur ton système container existant (width: min(100% - 2rem, var(--container))) */
.section_header1 .container-large,
.section_layout246 .container-large {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}
.section_header1 .padding-global,
.section_layout246 .padding-global {
  padding-inline: 0; /* pas de padding parasite */
}
.section_header1 .padding-section-large,
.section_layout246 .padding-section-large {
  padding: 0; /* on gère le vertical au niveau des sections */
}

/* ================ HERO Referral ================ */
.section_header1 {
  background: var(--bg, #f2f7fc);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
  overflow-x: clip; /* pas de scroll horiz avec la plaque bleue */
}

.header1_component {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4rem);
  /* colonne texte fluide + colonne image bornée pour éviter les débordements */
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 520px);
}

/* bornes de longueur de ligne (lisibilité banques) */
.header1_content .heading-style-h2-copy-copy {
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 700;
  color: #111;
  max-inline-size: 18ch;
}
.text-size-medium-copy-copy-copy {
  font-size: clamp(1rem, 1.2vw, 1.06rem);
  line-height: 1.6;
  color: #444;
  margin-top: 1rem;
  max-inline-size: 60ch;
}
.blue-highlight { color: #1976f3; font-weight: 700; }

.button-group { display: flex; gap: 1rem; margin-top: 1.5rem; }
.button.w-button {
  background: #1976f3; color: #fff;
  padding: 0.65rem 1.5rem; border-radius: 9999px;
  font-size: 1rem; font-weight: 600; transition: background .25s ease;
}
.button.w-button:hover { background: #0f5ed0; }
.button.is-secondary { background: transparent; border: 1.5px solid #1976f3; color: #1976f3; }
.button.is-secondary:hover { background: #1976f3; color: #fff; }

/* Image + plaque bleue décorative, bornes strictes */
.header1_image-wrapper {
  position: relative;
  display: grid;
  place-items: center;
  /* borne dure pour protéger la mise en page large écran */
  max-inline-size: 560px;
  margin-inline: auto;
}
.header1_image {
  width: 100%;
  aspect-ratio: 16 / 11;          /* ratio stable */
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}
.image-backing-gradient {
  position: absolute;
  inset: auto  -14px -14px auto;  /* bottom/right offset */
  width: 100%; height: 100%;
  background: #1976f3;
  border-radius: 12px;
  transform: rotate(2.5deg);
  z-index: 1;
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
}

/* breakpoints alignés à ton HERO existant */
@media (max-width: 992px) {
  .header1_component {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 5vw, 2.5rem);
    text-align: center;
  }
  .header1_content .heading-style-h2-copy-copy,
  .text-size-medium-copy-copy-copy { margin-inline: auto; }
  .button-group { justify-content: center; }
  .header1_image-wrapper { margin-top: 1rem; max-inline-size: 520px; }
}
@media (min-width: 1200px) {
  .header1_component {
    /* légère domination du texte côté gauche comme ton HERO principal */
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, 560px);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* ============== SECTION: So funktioniert’s ============== */
.section_layout246 {
  background: #fff;
  padding: clamp(2.25rem, 6vw, 4.5rem) 0;
}

.eyebrow-text-copy {
  font-size: .85rem; text-transform: uppercase; letter-spacing: .08em;
  color: var(--highlight) ; font-weight: 600; margin-bottom: .5rem;
}
.heading-15 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  font-weight: 700; color: #111; line-height: 1.25;
  max-inline-size: 26ch;
}

.layout246_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(1.25rem, 3vw, 2rem);
}
@media (max-width: 992px) {
  .layout246_list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .layout246_list { grid-template-columns: 1fr; }
}

.layout246_item { max-inline-size: 38ch; }
.layout246_item h3 {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  font-weight: 600; margin: .5rem 0; color: #222;
}
.layout246_item p {
  font-size: 1rem; line-height: 1.55; color: #555;
}
.icon-embed-medium svg { width: 32px; height: 32px; color: #1976f3; }

.section_layout246 .button-group {
  justify-content: center;
  margin-top: clamp(1.75rem, 4vw, 3rem);
}

/* Fade-in global sur les sections partenaires */
.section_header1,
.section_layout246 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.9s ease-out forwards;
}

.section_layout246 {
  animation-delay: 0.3s; /* la 2e section arrive un peu après */
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

html {
  scroll-behavior: smooth;
}

/* ===================== PARTNERS ===================== */
/* Mappe sur ton système container (déjà fait pour d’autres sections) */
.section_partners .container-large { 
  width: min(100% - 2rem, var(--container)); 
  margin-inline: auto; 
}
.section_partners .padding-global { padding-inline: 0; }
.section_partners .padding-section-large { padding: 0; }

.section_partners {
  /* léger fond “institutionnel” */
  background: radial-gradient(1200px 600px at 50% -200px, #f2f7fc 0%, #ffffff 55%);
  padding: clamp(2.25rem, 6vw, 4.5rem) 0;
}

/* Header */
.partners-header {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(1.5rem, 4vw, 2.25rem);
}
.partners-title {
  font-size: clamp(2rem, 4.2vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 .5rem;
}
.partners-intro {
  color: #445; 
  opacity: .9;
}

/* Liste */
.partners-list {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* Carte partenaire : logo à gauche, texte à droite */
.partner-card {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr); /* logo + texte */
  gap: clamp(1.5rem, 3vw, 2.5rem); /* plus d’espace horizontal */
  align-items: start;
  padding: clamp(1rem, 2.2vw, 1.25rem) clamp(1rem, 2.2vw, 1.5rem);
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.06));
}

.partner-logo-wrap {
  width: 180px; /* augmente l’espace réservé */
  height: 90px;
  display: grid;
  place-items: center;
  background: #f6f8fb;
  border-radius: 10px;
  border: 1px solid #eef1f5;
  overflow: hidden;
}
.partner-logo {
  max-width: 150px; /* plus d’air autour du logo */
  max-height: 54px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(.9) contrast(1.05);
}

.partner-body { max-inline-size: 80ch; }
.partner-name {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  margin: .1rem 0 .35rem;
}
.partner-text {
  color: #555;
  line-height: 1.6;
}
.partner-link a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .35rem;
  color: var(--brand, #1976f3);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.partner-link a::before {
  content: "↗";
  font-weight: 700;
}

/* CTA bas de section */
.partners-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.partners-cta .button.w-button {
  background: var(--brand, #1976f3);
  color: #fff;
  padding: .7rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: background .25s ease;
}
.partners-cta .button.w-button:hover { background: var(--brand-ink, #0f5ed0); }

/* Responsive */
@media (max-width: 860px) {
  .partner-card {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 1rem; /* gap réduit quand tout passe en colonne */
  }
  .partner-logo-wrap {
    width: 100%;
    max-width: 220px;
    margin-bottom: 0.75rem;
  }
}

/* Apparition douce (réutilise le pattern que tu aimes) */
.section_partners { 
  opacity: 0; 
  transform: translateY(24px); 
  animation: partnersFadeIn .8s ease-out .15s forwards; 
}
@keyframes partnersFadeIn {
  to { opacity: 1; transform: translateY(0); }
}


/* ===================== ÜBER UNS ===================== */

/* ===================== ÜBER UNS — HERO (fix spacing & sizes) ===================== */
/* Aligne sur ton système de container global */
.ueberuns-hero .container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.ueberuns-hero {
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
  background: #fff;            /* même surface que le reste */
  overflow-x: clip;
}

/* grille : colonne texte fluide + colonne image bornée */
.ueber-grid {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem); /* + d’espace entre texte et image */
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 560px);
}

/* colonne texte : bornes de longueur + tailles plus sages */
.ueber-copy { max-inline-size: 70ch; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--brand); font-size:.85rem; }

.ueber-title {
  /* on ne prend PAS --fs-h1 pour éviter les titres géants ici */
  font-size: clamp(28px, 4.6vw, 46px);
  line-height: 1.15;
  font-weight: 700;
  margin: .35rem 0 .85rem;
  max-inline-size: 18ch;       /* lignes courtes = lisibilité + pas de débord sur image */
}

.ueber-lead {
  color: #444;
  line-height: 1.6;
  max-inline-size: 60ch;
  margin: 0 0 1rem;
}

.ueber-actions {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

/* badge */
.pill { display:inline-block; background: var(--brand); color:#fff; padding:.1em .45em; border-radius:.55em; }

/* colonne image : borne dure + plaque bleue décorative */
.ueber-visual {
  position: relative;
  display: grid;
  place-items: center;
  max-inline-size: 560px;   /* protège le layout grands écrans */
  margin-inline: auto;
}
.ueber-img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 12px;
  position: relative;
  z-index: 2;
}
.ueber-plate {
  position: absolute;
  inset: auto -14px -14px auto; /* bottom/right offset */
  width: 100%;
  height: 100%;
  background: var(--brand);
  border-radius: 12px;
  transform: rotate(2.5deg);
  z-index: 1;
  box-shadow: 0 24px 48px rgba(0,0,0,.12);
}

/* responsive */
@media (max-width: 992px) {
  .ueber-grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
    text-align: center;
  }
  .ueber-copy,
  .ueber-lead,
  .ueber-actions { margin-inline: auto; }
  .ueber-visual { margin-top: .5rem; max-inline-size: 520px; }
}

@media (min-width: 1200px) {
  .ueber-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(380px, 560px);
    gap: clamp(2.5rem, 5vw, 5rem);
  }
}

/* ===================== Mission ===================== */
.mission { 
  background: #fff; 
  padding: clamp(2.25rem, 6vw, 4.5rem) 0; 
}
.mission-grid { 
  display:grid; 
  gap: clamp(1.25rem, 3vw, 2rem); 
}
.mission-head { 
  max-width: 70ch; 
  margin: 0 auto clamp(1.5rem, 4vw, 2rem); 
  text-align: center; 
}
.mission-intro { 
  color:#444; 
}

.mission-points { 
  display:grid; 
  grid-template-columns: repeat(3, minmax(0,1fr)); 
  gap: clamp(1rem, 3vw, 2rem); 
  margin-top: clamp(1rem, 3vw, 2rem); 
}
@media (max-width: 992px) { 
  .mission-points { grid-template-columns:1fr 1fr; } 
}
@media (max-width: 640px) { 
  .mission-points { grid-template-columns:1fr; } 
}

.point { 
  background:#fff; 
  border:1px solid #eef1f5; 
  border-radius: var(--radius); 
  padding: clamp(1rem, 2vw, 1.25rem); 
  box-shadow: var(--shadow); 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  text-align: center; 
}

.point h3 { 
  font-size: var(--fs-h3); 
  margin: 0 0 .5rem; 
  text-align: center; 
}

.icon-badge { 
  width:60px; 
  height:60px; 
  display:grid; 
  place-items:center; 
  border-radius:50%; 
  background:#f6f8fb; 
  color:#111; 
  font-size: 1.5rem; 
  margin: .5rem 0 1rem; 
}

.point p { 
  margin: 0; 
  color:#444; 
  line-height: 1.6; 
  width: 100%; /* le texte occupe toute la largeur dispo */
}

/* values */
.values { background: radial-gradient(1200px 600px at 50% -200px, #f2f7fc 0%, #ffffff 55%); }
.values-head { text-align:center; max-width:70ch; margin:0 auto clamp(1rem,3vw,2rem); }
.values-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(1rem, 3vw, 2rem); }
@media (max-width: 992px) { .values-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 640px) { .values-grid { grid-template-columns:1fr; } }
.value-card { background:#fff; border:1px solid #eef1f5; border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(1rem,2vw,1.25rem); }
.value-card h3 { margin:.2rem 0 .4rem; }

/* ===================== Metrics (animated stats) ===================== */
.metrics-grid {
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(1rem, 3vw, 1.5rem);
  list-style:none;
  margin:0; padding:0;
}
@media (max-width: 992px) { .metrics-grid { grid-template-columns:1fr 1fr; } }
@media (max-width: 560px) { .metrics-grid { grid-template-columns:1fr; } }

.metric {
  background:#fff;
  border:1px solid #e9eef6;
  border-radius: 16px;
  padding: clamp(1rem, 2.2vw, 1.25rem);
  text-align:center;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.metric:hover{
  transform: translateY(-2px);
  box-shadow:0 14px 38px rgba(0,0,0,.08);
}

.uk-stats__number {
  font-weight:700;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height:1.1;
  color: var(--brand); /* bleu principal */
  letter-spacing:.2px;
  margin-bottom:.35rem;
}

.metric .label {
  color:#0f172a;
  font-weight:500;
  font-size: clamp(14px, 1.6vw, 16px);
  opacity:.9;
}


/* CTA finale */
.team-cta { background:#fff; }
.cta-box { border:1px solid #eef1f5; border-radius: 16px; box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 1.75rem); display:grid; gap:.75rem; align-items:center; justify-items:start; }
.cta-actions { display:flex; gap:.75rem; flex-wrap:wrap; }
@media (max-width: 768px) { .cta-box { text-align:center; justify-items:center; } }

/* boutons secondaires déjà cohérents avec ta base */
.btn.outline { background:#fff; color: var(--text); border:1px solid #e5e7eb; }
.btn.outline:hover { border-color:#d7dae0; }



/* ===================== GREAT PLACE TO WORK ===================== */
.gptw { background: #fff; }

.gptw__grid {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

/* En-tête */
.gptw__head {
  text-align: center;
  max-width: 72ch;
  margin: 0 auto;
}
.gptw__title {
  font-size: clamp(26px, 3.8vw, 40px);
  line-height: 1.2;
  margin: 0.25rem 0 0.5rem;
}
.gptw__lead {
  color: #444;
  margin: 0.25rem auto 0;
  max-width: 62ch;
}

/* Deux colonnes : texte + encadré */
.gptw__content {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(1rem, 3.2vw, 2rem);
  align-items: start;
}
@media (max-width: 900px) {
  .gptw__content { grid-template-columns: 1fr; }
}

.gptw__story {
  display: grid;
  gap: 0.9rem;
  max-inline-size: 70ch;
}
.gptw__story p { margin: 0; }

.gptw__contact {
  color: var(--brand);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Encadré à droite */
.gptw__box {
  border: 1px solid #eef1f5;
  background: #fff;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.06));
  padding: clamp(1rem, 2.4vw, 1.25rem);
}
.gptw__box-title {
  font-size: clamp(18px, 2vw, 20px);
  margin: 0 0 0.5rem;
}
.gptw__list {
  margin: 0 0 0.5rem;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.4rem;
}
.gptw__box-note {
  color: #555;
  margin: 0.25rem 0 0;
}

/* Ruban de badges */
.gptw__badges {
  margin-top: clamp(0.5rem, 2.6vw, 1.5rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: clamp(0.75rem, 2vw, 1.25rem);
  align-items: center;
}
@media (max-width: 900px) {
  .gptw__badges { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px) {
  .gptw__badges { grid-template-columns: 1fr; }
}
.gptw__badge {
  background: #f6f8fb;
  border: 1px solid #eef1f5;
  border-radius: 12px;
  display: grid;
  place-items: center;
  padding: clamp(0.6rem, 2vw, 1rem);
  min-height: 100px;
}
.gptw__badge img {
  max-width: 200px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: saturate(.95) contrast(1.05);
}


/* ===================== KREDITRECHNER ===================== */
.uk-calc {
  background: radial-gradient(1200px 600px at 50% -220px, #f2f7fc 0%, #ffffff 55%);
}
.uk-calc__head {
  text-align: center;
  max-width: 70ch;
  margin: 0 auto clamp(1rem, 3vw, 2rem);
}
.uk-calc__title {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.15;
  margin: 0 0 .35rem;
}
.uk-calc__subtitle {
  color: #475569;
}

/* Grille du formulaire */
.uk-calc__grid {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
  display: grid;
  gap: clamp(1rem, 3vw, 1.75rem);
  justify-items: center;
  text-align: left;
}

/* Champs (montant, durée) */
.uk-calc__field {
  width: min(640px, 100%);
}
.uk-calc__label {
  display: block;
  font-weight: 700;
  margin-bottom: .35rem;
}
.uk-calc__inputwrap {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}
.uk-calc__prefix,
.uk-calc__suffix {
  font-weight: 600;
  color: var(--brand);
}
.uk-calc__prefix { margin-right: .5rem; }
.uk-calc__suffix { margin-left: .5rem; }
.uk-calc__input {
  height: 48px;
  border: 1.5px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 12px;
  padding: 0 .9rem;
  font: inherit;
  font-weight: 600;
  text-align: center;
}
.uk-calc__input--end { text-align: center; }
.uk-calc__input:focus {
  outline: 3px solid var(--ring);
  border-color: transparent;
}
.uk-calc__help {
  margin-top: .35rem;
  color: #64748b;
  font-size: .9rem;
}

/* Sliders */
.uk-calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e6edf7;
  border-radius: 999px;
  outline: none;
  margin-top: .65rem;
}
.uk-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(25,118,243,.35);
  cursor: pointer;
  border: 2px solid #fff;
}
.uk-calc__range::-moz-range-thumb {
  width: 22px; height: 22px;
  border: none; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 2px 8px rgba(25,118,243,.35);
  cursor: pointer;
}

/* Option radio */
.uk-calc__option {
  width: min(640px, 100%);
  display: flex;
  align-items: center;
  gap: 1rem;
}
.uk-calc__radio {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .35rem .6rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  user-select: none;
}
.uk-calc__radio input { transform: translateY(1px); }

/* Résultat */
.uk-calc__result {
  text-align: center;
  width: min(680px, 100%);
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 16px;
  padding: clamp(1rem, 3vw, 1.4rem);
  box-shadow: var(--shadow);
}
.uk-calc__hint { color: #334155; margin: 0 0 .25rem; }
.uk-calc__number {
  font-weight: 800;
  font-size: clamp(26px, 3.8vw, 36px);
  line-height: 1;
  letter-spacing: .2px;
  margin: 0 0 .35rem;
  color: var(--brand);
}
.uk-calc__currency { margin-right: .15rem; }
.uk-calc__disclaimer { color: #64748b; }

/* CTA */
.uk-calc__cta {
  grid-column: 1 / -1;        /* occupe toute la largeur de la grille */
  display: flex;              /* flex pour contrôler l’alignement */
  flex-direction: column;
  align-items: center;        /* centre horizontalement */
  justify-content: center;    /* au cas où */
  gap: .35rem;
}

.uk-calc__tiny {
  color: #64748b;
  font-size: .9rem;
}

/* Petite pastille bleue déjà présente dans ton DS */
.pill {
  display:inline-block; background: var(--brand); color:#fff;
  padding:.08em .45em; border-radius:.6em; font-weight:700;
}

/* Responsive */
@media (min-width: 900px) {
  .uk-calc__grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    grid-auto-rows: max-content;
  }
  .uk-calc__option { grid-column: span 2; }
  .uk-calc__result { grid-column: span 2; }
  .uk-calc__cta { grid-column: span 2; }
}
@media (max-width: 899px) {
  .uk-calc__grid { grid-template-columns: 1fr; }
}


.uk-form { display: grid; gap: 1.25rem; }
.uk-form__summary {
  display: flex; flex-wrap: wrap; gap: .5rem;
  align-items: center;
}
.uk-form__pill {
  background: #f5f7fa; border: 1px solid #e5e7eb;
  border-radius: 999px; padding: .35rem .75rem; font-weight: 600;
}
.uk-form__pill--brand { background: rgba(25,118,243,.08); border-color: rgba(25,118,243,.25); color: var(--brand); }
.uk-fieldset { border: 1px solid #eef1f5; border-radius: 14px; padding: 1rem; background:#fff; }
.uk-legend { font-weight: 700; margin-bottom: .35rem; }
.uk-legend__note { font-weight: 500; color: #64748b; }
.uk-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem; }
.uk-field { display: grid; gap: .35rem; }
.uk-field.full { grid-column: 1 / -1; }
.uk-label { font-weight: 600; color: #4b5563; }
.uk-row-2 { display: grid; grid-template-columns: 2fr 1fr; gap: .6rem; }
.uk-radiochips { display:flex; gap:.5rem; flex-wrap:wrap; }
.uk-radiochip { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .65rem; border:1px solid #e5e7eb; border-radius:999px; cursor:pointer; user-select:none; }
.uk-checkboxline { display:flex; align-items:flex-start; gap:.6rem; }
.uk-checkboxline input { transform: translateY(3px); }
.uk-form__actions { display:grid; justify-items:start; }

.uk-field input, .uk-field select, .uk-field textarea {
  height: 46px; padding: 0 .85rem; font: inherit; border-radius: 10px;
  border: 1px solid #e5e7eb; background: #f8fafc;
}
.uk-field textarea { height: auto; padding: .7rem .85rem; }
.uk-field input:focus, .uk-field select:focus, .uk-field textarea:focus {
  outline: 3px solid var(--ring); border-color: transparent; background: #fff;
}

@media (max-width: 900px){
  .uk-grid { grid-template-columns: 1fr; }
  .uk-row-2 { grid-template-columns: 1fr 1fr; }
  .uk-form__actions { justify-items: stretch; }
}




/* ===== [FIX MOBILE] Empêcher le zoom iOS sur focus et réduire la densité ===== */
@media (max-width: 900px){
  /* 1) iOS: empêcher le zoom auto sur les champs */
  input, select, textarea, button {
    font-size: 16px; /* >=16px pour annuler le zoom iOS */
  }

  /* 2) Empêcher le débordement horizontal des grilles */
  .uk-grid > *, .uk-row-2 > * {
    min-width: 0; /* crucial en CSS Grid pour éviter l'overflow */
  }

  /* 3) Alléger visuellement les champs et les titres en mobile */
  .uk-calc__title {
    font-size: clamp(22px, 6vw, 34px);
    line-height: 1.2;
  }
  .uk-calc__number {
    font-size: clamp(22px, 5.8vw, 30px);
  }

  .uk-calc__input {
    height: 42px;               /* 48px -> 42px */
    padding: 0 .75rem;
    font-weight: 600;           /* conserve la lisibilité sans excès */
  }
  .uk-calc__range {
    height: 6px;                /* 8px -> 6px */
    margin-top: .5rem;
  }
  .uk-calc__range::-webkit-slider-thumb,
  .uk-calc__range::-moz-range-thumb {
    width: 18px; height: 18px;  /* 22 -> 18 */
  }

  .uk-calc__option {
    gap: .6rem;
    flex-wrap: wrap; /* évite que les radios forcent la largeur */
  }
  .uk-calc__radio {
    padding: .3rem .55rem;
  }

  /* Formulaire d'application */
  .uk-form {
    width: min(100%, var(--container, 1100px));
    margin-inline: auto;
  }
  .uk-form__pill {
    padding: .3rem .6rem;
    font-weight: 600;
  }
  .uk-field input,
  .uk-field select,
  .uk-field textarea {
    height: 40px;               /* 46 -> 40 */
    padding: 0 .7rem;
    border-radius: 10px;
  }
  .uk-field textarea {
    height: auto; padding: .6rem .7rem;
  }

  /* Grilles internes du formulaire */
  .uk-grid { 
    grid-template-columns: 1fr; 
    gap: .9rem; 
  }
  .uk-row-2 { 
    grid-template-columns: 1fr 1fr; 
    gap: .5rem; 
  }
  /* Si ça serre encore trop en très petit écran, passe à une colonne: */
  @media (max-width: 380px){
    .uk-row-2 { grid-template-columns: 1fr; }
  }

  /* Cartouche résultat plus compact */
  .uk-calc__result {
    padding: .9rem;
    border-radius: 14px;
  }

  /* CTA compact et évite l’overflow du petit texte */
  .uk-calc__cta { 
    padding-top: .2rem; 
  }
  .uk-calc__tiny { 
    font-size: .85rem; 
    text-align: center; 
    word-break: break-word; 
  }
}

/* ===== [FIX GLOBAL] Sécurité overflow dans le conteneur de section ===== */
.uk-calc .container,
.uk-apply-form .container {
  width: min(100% - 2rem, var(--container, 1100px));
  margin-inline: auto;
  overflow-x: clip; /* coupe toute fuite horizontale éventuelle */
}


/* ========= FAQ par catégories ========= */

/* Barre de nav des catégories (pills) */
.faq-cats-nav{
  display:flex; flex-wrap:wrap; gap:.5rem;
  justify-content:center;
  margin: 0 auto clamp(1rem, 3vw, 1.75rem);
  max-width: 960px;
}
.faq-catlink{
  display:inline-block;
  border:1.5px solid rgba(25,118,243,.28);
  background: #fff;
  padding:.4rem .7rem;
  border-radius:999px;
  font-weight:600;
  text-decoration:none;
  color: var(--brand, #1976F3);
}
.faq-catlink:hover{ background: rgba(25,118,243,.06); }

/* Boîte catégorie (details externe) */
.faq-cat{
  width:min(100%, 980px);
  margin: 0 auto clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid rgba(25,118,243,.2);
  border-radius: 16px;
  background:#fff;
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
  overflow: clip;
}

/* En-tête catégorie */
.faq-cat__head{
  list-style:none;
  cursor:pointer;
  padding: 1rem 1.2rem;
  font-weight:700;
  font-size: clamp(18px, 2.4vw, 22px);
  position:relative;
  display:flex; align-items:center;
  border-bottom:1px solid #eef1f5;
}
.faq-cat__head::after{
  content:"+";
  margin-left:auto; width:1.2em; text-align:center;
  color: var(--brand, #1976F3); font-weight:700;
}
.faq-cat[open] > .faq-cat__head::after{ content:"–"; color:#0F5ED0; }

/* Corps catégorie (contient ta .faq-list existante) */
.faq-cat__body{ padding: 1rem 1rem 1.2rem 1rem; background: #f9fbfe; }
.faq-cat__body .faq-list{ width: 100%; max-width: 880px; }

/* Petites marges entre items lorsqu'ils sont imbriqués */
.faq-cat .faq-item{ background:#fff; }

/* Responsive */
@media (max-width: 720px){
  .faq-cat{ border-radius:14px; }
  .faq-cat__head{ padding:.9rem .95rem; }
  .faq-cat__body{ padding:.8rem .8rem 1rem .8rem; }
}


/* ============ Floating WhatsApp ============ */
.wa-btn{
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, calc(env(safe-area-inset-bottom) + 16px));
  z-index: 2147483000;

  width: 56px;
  height: 56px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;

  background: var(--brand);
  color: #fff;
  text-decoration: none;
  border: none;

  box-shadow: 0 10px 24px rgba(25,118,243,.22), 0 2px 6px rgba(0,0,0,.12);
  transform: translateZ(0);
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wa-btn:hover{ 
  background: var(--brand-ink);
  transform: translateY(-1px);
}
.wa-btn:active{ transform: translateY(0); }
.wa-btn:focus-visible{
  outline: 3px solid var(--ring);
  outline-offset: 3px;
}

.wa-btn ion-icon{
  font-size: 28px; /* icône WhatsApp */
  line-height: 1;
}

/* Mobile: un peu plus compact */
@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; }
}

/* =========================
   LEGAL (Nutzungsbedingungen / Datenschutz / Impressum)
   ========================= */
.legal-hero .page-title { margin-bottom: .3rem; }
.legal-hero .page-sub   { max-width: 60ch; color: var(--muted); }

.legal-toc { padding-top: .2rem; padding-bottom: .2rem; }
.legal-toc__list{
  display: grid;
  gap: .35rem .8rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none; padding: 0; margin: 0;
}
.legal-toc__list a{
  display: inline-block;
  padding: .45rem .6rem;
  border: 1px solid var(--ring);
  border-radius: 10px;
  text-decoration: none;
}
.legal-toc__list a:hover{ background: var(--surface); }

.legal-body .legal-content{ width: min(100%, 900px); margin-inline: auto; }
.legal-section + .legal-section{ margin-top: 1.6rem; }

.legal-section h2{
  font-size: var(--fs-h3);
  line-height: 1.25;
  margin: 0 0 .3rem 0;
}
.legal-section p{ margin: .6rem 0; }
.legal-section .legal-list{
  margin: .6rem 0 .2rem 1.2rem;
}
.legal-section .legal-list li{ margin: .25rem 0; }

.legal-note{
  background: color-mix(in srgb, var(--brand) 6%, #fff);
  border: 1px solid rgba(25,118,243,.14);
  border-radius: 10px;
  padding: .7rem .8rem;
}

.legal-meta{ color: var(--muted); }
.muted{ color: var(--muted); }

/* Responsive petits écrans */
@media (max-width: 720px){
  .legal-body .legal-content{ width: 100%; padding-inline: .5rem; }
}


/* =========================
   Legal pages (Datenschutz / CGU)
   ========================= */
.page-hero .page-title { margin-top: .2rem; }
.page-hero .page-sub { color: var(--muted); max-width: 70ch; }

.legal-body { color: var(--text); }
.legal-body h2 {
  font-size: var(--fs-h3, 1.4rem);
  line-height: 1.25;
  margin: 1.4rem 0 .6rem;
}
.legal-body p { margin: .6rem 0; }
.legal-body .legal-list {
  margin: .4rem 0 .8rem 1.1rem;
  list-style: disc;
}
.legal-body .legal-list li { margin: .25rem 0; }

.legal-address { font-style: normal; }
.legal-address a { color: var(--brand); text-decoration: underline; }

.legal-note {
  background: color-mix(in srgb, var(--brand) 6%, #fff);
  border: 1px solid rgba(25,118,243,.14);
  border-radius: 10px;
  padding: .75rem .9rem;
  margin: .8rem 0;
}

.legal-stand { color: var(--muted); font-size: .95rem; }

/* Accessibilité */
.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;
}


/* ===== Careers (Bewerbung) ===== */
.careers__container{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px){
  .careers__container{ grid-template-columns: 1fr; gap: 2rem; }
}
.careers__title{
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: .6rem;
}
.careers__lead{ color: var(--text); margin-bottom: .8rem; line-height: 1.55; }
.careers__bullets{ margin: .4rem 0 0 1.1rem; list-style: disc; }
.careers__bullets li{ margin: .25rem 0; }

/* Fichier (CV) */
.form__file{
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: .55rem .75rem;
  font-size: 1rem;
  background: #fff;
}
.form__file:focus{
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 2px var(--ring);
}

/* ===== Modal (popup) ===== */
.modal[hidden]{ display: none; }
.modal{
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
}
.modal__overlay{
  position: absolute; inset: 0; background: rgba(0,0,0,.45);
}
.modal__dialog{
  position: relative;
  background: #fff; color: var(--text);
  width: min(92vw, 560px);
  border-radius: 14px;
  box-shadow: 0 10px 34px rgba(0,0,0,.20);
  padding: 1.2rem 1.2rem 1rem;
}
.modal__title{ font-size: 1.25rem; margin: 0 0 .4rem; }
.modal__body{ margin: 0 0 .9rem; }
.modal__actions{ display: flex; justify-content: flex-end; gap: .6rem; }


/* ===== Newsletter modal: spinner only (réutilise .modal existant) ===== */
.spinner{
  width: 28px; height: 28px; border-radius: 50%;
  border: 3px solid rgba(0,0,0,.12);
  border-top-color: var(--brand, #1976f3);
  animation: nlspin 0.9s linear infinite;
  margin: .25rem 0 .75rem;
}
@keyframes nlspin { to { transform: rotate(360deg); } }


/* Spinner sur le bouton */
.btn.is-loading,
button.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}
.btn.is-loading::after,
button.is-loading::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 16px; height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 2px solid currentColor;
  border-top-color: transparent;
  animation: uk-spin .8s linear infinite;
}
@keyframes uk-spin { to { transform: rotate(360deg); } }

/* Modal */
.uk-modal { 
  display: none;
}
.uk-modal.is-open { 
  display: block;
}
.uk-modal__backdrop{
  position: fixed; inset: 0; background: rgba(0,0,0,.45);
}
.uk-modal__dialog{
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  background: #fff; border-radius: 12px; max-width: 520px; width: calc(100% - 32px);
  box-shadow: 0 10px 30px rgba(0,0,0,.2); overflow: hidden;
}
.uk-modal__header{ background:#1976F3; color:#fff; padding:14px 18px; }
.uk-modal__body{ padding:18px; color:#1f2937; }
.uk-modal__footer{ padding:12px 18px; text-align:right; background:#f8fafc; }
.uk-modal__footer .btn{ background:#1976F3; color:#fff; border:none; padding:10px 18px; border-radius:6px; cursor:pointer; }
.uk-modal__footer .btn:focus{ outline:2px solid #0F5ED0; outline-offset:2px; }


/* =========================
   Cookie Consent (Universalkreditts)
   S'appuie sur tes variables : --brand, --brand-ink, --accent, --bg, --text, --muted, --ring
========================= */
.cc-root { font-family: inherit; }

/* Bouton "Cookies" (rouvrir) */
.cc-reopen{
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 9997;
  background: #fff;
  color: var(--text);
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  padding: .5rem .9rem;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: var(--shadow);
}
.cc-reopen:hover{ border-color:#cfd8e3; }

/* Backdrop */
.cc-backdrop{
  position: fixed; inset: 0;
  background: rgba(9,12,18,.45);
  z-index: 9998;
}

/* Dialog */
.cc-dialog{
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  width: min(920px, 92vw);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  z-index: 9999;
  overflow: hidden;
}
.cc-head{ padding: 18px 22px; background: #f2f7fc; border-bottom: 1px solid #e8eef7; }
.cc-title{ margin:0; font-size: var(--fs-h3); color: var(--text); }

.cc-body{ padding: 18px 22px; display: grid; gap: 14px; }
.cc-text{ margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.cc-link{ color: var(--brand); text-decoration: underline; }

.cc-grid{ display: grid; gap: 12px; }
.cc-row{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border: 1px solid #eef3fb; border-radius: 12px; background: #fff;
}
.cc-row-title{ margin: 0; font-size: 15.5px; font-weight: 700; }

/* Switch */
.cc-switch{ position: relative; width: 50px; height: 28px; flex: 0 0 auto; }
.cc-switch input{ opacity: 0; width: 0; height: 0; }
.cc-slider{
  position: absolute; inset: 0; background: #e5e7eb; border-radius: 999px;
  cursor: pointer; transition: .2s;
}
.cc-slider::before{
  content:""; position:absolute; height:22px; width:22px; left:3px; top:3px;
  background:#fff; border-radius: 50%; transition:.2s; box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.cc-switch input:checked + .cc-slider{ background: var(--brand); }
.cc-switch input:checked + .cc-slider::before{ transform: translateX(22px); }
.cc-switch input:disabled + .cc-slider{ background:#c7d2fe; cursor: not-allowed; }

/* Footer buttons (utilise ta .btn) */
.cc-foot{
  display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end;
  padding:16px 22px; border-top:1px solid #eef3fb; background:#fff;
}
.cc-btn.primary{ background: var(--brand); color:#fff; border-color: transparent; }
.cc-btn.primary:hover{ background: var(--brand-ink); }
.cc-btn.accent{ background: var(--accent); color:#111; border-color: transparent; }
.cc-btn.ghost{ background:#fff; color: var(--text); border:1px solid #e2e8f0; }

/* Animations d’apparition (optionnelles) */
@media (prefers-reduced-motion:no-preference){
  .cc-dialog[data-open="true"]{ animation: cc-pop .16s ease-out; }
  @keyframes cc-pop{ from{ transform:translate(-50%,20px); opacity:0; }
                     to{   transform:translate(-50%,0);   opacity:1; } }
}

/* Accessibilité focus (s’aligne sur tes règles) */
.cc-dialog button:focus,
.cc-dialog a:focus,
.cc-dialog input:focus{ outline: 3px solid var(--ring); outline-offset: 2px; }
