/* =============================================================
   AFFINICIA.IMMO : feuille de style unique (V1 statique)

   Reprise du design d'affinicia.fr (dépôt affinicia_fr) :
   jetons de packages/brand/tokens.scss et partiels de
   apps/site/src/styles (base, layout, composants, affinicia/accueil,
   affinicia/atouts), compilés une fois puis élagués. Le préfixe
   .p-accueil d'origine est retiré : les sections servent sur
   plusieurs pages.

   Sommaire
     1.  Jetons
     2.  Base
     3.  Animations
     4.  Grille et titres
     5.  Boutons
     6.  En-tête
     7.  Pied de page
     8.  Héro
     9.  Atouts (bandes alternées)
     10. Étapes
     11. Logos fournisseurs
     12. Avis
     13. Bandeau final
     14. FAQ
     15. Formulaire
     16. Page « Devenir partenaire »
     17. Pages légales
     18. Petits écrans
   ============================================================= */


/* 1. Jetons ---------------------------------------------------- */

:root {
  --ink: #2D1B25;
  --berry: #962064;
  --berry-deep: #781A50;
  --navy: #273655;
  --green: #97C459;
  --green-deep: #7DA844;
  --green-light: #B8D982;
  --green-pale: #DBE9C2;
  --sky: #F0E5EB;
  --surface: #F7EEF2;
  --paper: #FAF7F4;
  --muted: #5A4954;
  --faint: #8B7E84;
  --or: #F4A823;
  --or-deep: #E39A18;
  --or-pale: #FFF4D6;
  --err: #B3261E;
  --line: #E8DDE3;
  --line-soft: rgba(45, 27, 37, 0.06);
  --degrade-berry: linear-gradient(168deg, #962064, #781A50);
  --shadow: 0 1px 2px rgba(150, 32, 100, 0.05), 0 12px 32px rgba(150, 32, 100, 0.08);
  --shadow-lg: 0 2px 4px rgba(150, 32, 100, 0.06), 0 24px 60px rgba(150, 32, 100, 0.16);
  --f: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--f);
  --body: var(--f);
  --r: 18px;
  --maxw: 1140px;
  --narrow: 820px;
  --header-h: 70px;
}


/* 2. Base ------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  interpolate-size: allow-keywords;
}

body {
  font-family: var(--f);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  list-style: none;
}

sup {
  font-size: 0.6em;
  line-height: 0;
}

.nb {
  white-space: nowrap;
}

.arr {
  display: inline-block;
  transition: transform 0.18s;
}

a:hover .arr,
.btn:hover .arr {
  transform: translateX(3px);
}

/* Lien d'évitement, visible au focus clavier seulement. */
.evitement {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  background: var(--berry);
  color: #fff;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
}

.evitement:focus {
  top: 12px;
}


/* 3. Animations ------------------------------------------------ */

@keyframes logoscroll {
  to { transform: translateX(-50%); }
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(var(--leve, 9px) * -1)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arr { transition: none; }
}


/* 4. Grille et titres ------------------------------------------ */

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.narrow {
  max-width: var(--narrow);
  margin: 0 auto;
  padding: 0 24px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.head {
  max-width: 640px;
}

.head h1,
.head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(30px, 3.8vw, 44px);
  letter-spacing: -0.02em;
  line-height: 1.08;
  color: var(--ink);
  margin-top: 14px;
  text-wrap: balance;
}

.head p {
  color: var(--muted);
  font-size: 17px;
  margin-top: 14px;
}

.head--wide {
  max-width: 820px;
}

.head--centered {
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1.5px;
  background: var(--green);
  display: inline-block;
}

/* Liste à coches, utilisée dans les atouts et la page partenaire. */
.coches {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.coches li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
}

.coches li strong {
  color: var(--ink);
}

.coches li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 6px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23962064' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6.5 9.4 17.2 4 11.8'/%3E%3C/svg%3E") center / 13px no-repeat;
}


/* 5. Boutons --------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, border-color 0.18s;
  white-space: nowrap;
  text-decoration: none;
}

.btn:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 2px;
}

.btn[disabled] {
  opacity: 0.38;
  pointer-events: none;
  box-shadow: none;
}

.btn-lg {
  font-size: 16px;
  padding: 16px 30px;
}

.btn-sm {
  font-size: 13px;
  padding: 8px 16px;
  gap: 7px;
}

.btn-full {
  width: 100%;
}

.btn-violet {
  background: var(--berry);
  color: #fff;
  box-shadow: 0 8px 20px rgba(150, 32, 100, 0.3);
}

.btn-violet:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(150, 32, 100, 0.4);
  background: var(--berry-deep);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--ink);
  background: #fff;
}

.btn-white {
  background: #fff;
  color: var(--berry);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: var(--green-pale);
}

.btn-white:focus-visible {
  outline-color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  .btn:hover { transform: none; }
}


/* 6. En-tête ----------------------------------------------------
   Celui d'affinicia.fr sans le mégamenu : logo, trois ancres et
   l'appel à l'action. Sous 980 px, les ancres disparaissent. */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 244, 0.85);
  background: color-mix(in srgb, var(--paper) 85%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}

.nav {
  max-width: 100%;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-self: start;
}

.logo-img {
  height: 30px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-menu a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  padding: 24px 0;
  white-space: nowrap;
  transition: color 0.15s;
}

.nav-menu a:hover {
  color: var(--ink);
}

.nav-menu a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--green);
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
    padding: 0 24px;
  }

  .nav-menu {
    display: none;
  }
}


/* 7. Pied de page ---------------------------------------------- */

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.foot {
  padding-top: 54px;
  padding-bottom: 26px;
}

.foot-cols {
  display: grid;
  grid-template-columns: minmax(260px, 1.5fr) repeat(3, minmax(140px, 1fr));
  gap: 44px;
}

.foot-marque {
  max-width: 320px;
}

.foot-marque p {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 15px;
}

.foot-logo {
  display: block;
  height: 32px;
  width: auto;
}

.foot-col__t {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 13px;
}

.foot-l {
  display: block;
  font-size: 13.5px;
  line-height: 1.45;
  padding: 4.5px 0;
  color: var(--muted);
}

.foot-l:hover {
  color: var(--berry);
}

.foot-legal {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px 28px;
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--faint);
}

@media (max-width: 980px) {
  .foot-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 34px 30px;
  }

  .foot-marque {
    grid-column: 1 / -1;
    max-width: 560px;
  }
}

@media (max-width: 760px) {
  .foot-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .foot-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .foot-marque {
    max-width: none;
  }
}


/* 8. Héro ------------------------------------------------------ */

.hero {
  padding: 60px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 54px;
  align-items: center;
}

.hero-top {
  max-width: 600px;
}

.hero h1,
.lp-hero h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 56px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin-top: 18px;
  text-wrap: balance;
}

.hero h1 strong,
.lp-hero h1 strong {
  color: var(--berry);
  font-weight: 800;
}

.hero .lede,
.lp-hero .lede {
  margin-top: 18px;
  max-width: 540px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
}

/* Le chiffre mis en avant sous le chapô. */
.hero-gain {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.hero-gain strong {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--berry);
  line-height: 1;
}

.hero__action {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust {
  display: flex;
  align-items: center;
  gap: 10px 18px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.trust span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}

.trust .hv-ok {
  color: var(--green-deep);
  display: inline-flex;
}

.renvoi {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--faint);
}

/* La carte de droite : les contrats que l'on prend en charge. */
.hv {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 380px;
}

.hv-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 22px;
}

.hv-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.hv-uni {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
}

.hv-ic {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--green-pale);
  color: var(--green-deep);
}

.hv-badge {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--berry);
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 11px;
  white-space: nowrap;
}

.hv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 9px;
}

.hv-row:last-child {
  margin-bottom: 0;
}

.hv-logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--berry);
}

.hv-name {
  flex: 1;
  font-weight: 600;
  font-size: 14px;
}

.hv-row .hv-ok {
  color: var(--green-deep);
  display: inline-flex;
}

.hv-row.best {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 0 0 3px rgba(151, 196, 89, 0.16);
}

.hv-row.best .hv-logo {
  background: #fff;
  color: var(--green-deep);
}

.hv-tag {
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: var(--berry);
  border-radius: 999px;
  padding: 4px 9px;
  white-space: nowrap;
}

.hv-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--berry);
  white-space: nowrap;
  animation: floaty 5s ease-in-out infinite;
  --leve: 9px;
}

.hv-chip.c1 {
  top: 118px;
  right: -34px;
}

.hv-chip.c2 {
  top: -18px;
  left: -30px;
  animation-duration: 6.4s;
  animation-delay: 0.7s;
  --leve: 6px;
}

.hv-chip.c3 {
  bottom: -18px;
  left: 24px;
  animation-duration: 5.3s;
  animation-delay: 0.25s;
  --leve: 11px;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-top {
    max-width: 640px;
  }

  .hv {
    margin: 0 auto;
    max-width: 360px;
  }

  .hv-chip.c1 { right: -8px; }
  .hv-chip.c2 { left: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  .hv-chip { animation: none; }
}


/* 9. Atouts (bandes alternées) ---------------------------------
   Le bloc .at-bande d'affinicia.fr, avec une illustration à la
   place de la pastille d'icône. Les rangs pairs s'inversent. */

.atouts {
  padding: 72px 0;
}

.at-bandes {
  margin-top: 42px;
  display: grid;
  gap: 18px;
}

.at-bande {
  display: grid;
  grid-template-columns: minmax(220px, 36%) 1fr;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.at-bande__panneau {
  grid-column: 1;
  grid-row: 1;
  align-self: stretch;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 24px;
  background:
    radial-gradient(70% 70% at 30% 20%, rgba(150, 32, 100, 0.08), transparent 70%),
    var(--surface);
}

.at-bande__panneau img {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.at-bande__texte {
  grid-column: 2;
  grid-row: 1;
  padding: 34px 38px;
}

.at-bande:nth-child(even) {
  grid-template-columns: 1fr minmax(220px, 36%);
}

.at-bande:nth-child(even) .at-bande__panneau { grid-column: 2; }
.at-bande:nth-child(even) .at-bande__texte { grid-column: 1; }

.at-bande__texte h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}

.at-bande__texte p {
  margin-top: 14px;
  max-width: 72ch;
  font-size: 15.5px;
  line-height: 1.72;
  color: var(--muted);
}

@media (max-width: 760px) {
  .at-bande,
  .at-bande:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .at-bande .at-bande__panneau,
  .at-bande:nth-child(even) .at-bande__panneau {
    grid-column: 1;
    grid-row: 1;
    min-height: 0;
  }

  .at-bande__panneau img {
    max-width: 180px;
  }

  .at-bande .at-bande__texte,
  .at-bande:nth-child(even) .at-bande__texte {
    grid-column: 1;
    grid-row: 2;
    padding: 26px 24px 30px;
  }
}


/* 10. Étapes --------------------------------------------------- */

.how {
  padding: 72px 0;
  background: var(--surface);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 38px;
  list-style: none;
}

.how-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.how-step .n {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--berry);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 14px;
}

.how-step h3 {
  font-size: 17px;
  margin: 0 0 7px;
}

.how-step p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

.how-cta {
  margin-top: 36px;
  text-align: center;
}

@media (max-width: 980px) {
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .how-grid {
    grid-template-columns: 1fr;
  }
}


/* 11. Logos fournisseurs ---------------------------------------
   Défilement en CSS seul : la liste est écrite deux fois, la
   seconde copie (.logo-bis) est masquée aux lecteurs d'écran. */

.logos {
  padding: 34px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
  background: #fff;
}

.logos-lbl {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}

.logos:hover .logos-track {
  animation-play-state: paused;
}

.logos-mask {
  overflow: hidden;
  max-width: 2000px;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.logos-track {
  --logos-gap: 56px;
  display: flex;
  align-items: center;
  gap: var(--logos-gap);
  width: max-content;
  padding-right: var(--logos-gap);
  animation: logoscroll var(--logos-duree, 40s) linear infinite;
}

.logo-i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 150px;
  height: 68px;
}

.logo-i img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 760px) {
  .logos-track { --logos-gap: 32px; }
  .logo-i { width: 104px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .logos-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
    padding: 0 24px;
    --logos-gap: 24px;
  }

  .logo-bis { display: none; }
}


/* 12. Avis ----------------------------------------------------- */

.proof2 {
  padding: 72px 0;
}

/* La note globale et sa source, sous le titre. */
.note-avis {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-top: 18px;
}

.note-avis__n {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.note-avis__n span {
  font-size: 16px;
  font-weight: 600;
  color: var(--faint);
}

.note-avis__t {
  font-size: 13px;
  color: var(--muted);
}

.note-avis__marque {
  height: 41px;
  width: auto;
  margin-left: 4px;
  padding-left: 16px;
  border-left: 1px solid var(--line);
}

.stars {
  display: inline-flex;
  gap: 2px;
  color: var(--or);
}

.stars svg {
  width: 17px;
  height: 17px;
  display: block;
}

/* Étoile partielle : une pleine rognée par-dessus une vide. */
.stars__d {
  position: relative;
  display: inline-grid;
  place-items: center;
}

.stars__d i {
  position: absolute;
  inset: 0;
  overflow: hidden;
  display: grid;
  place-items: center start;
}

.quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.quote {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.quote .stars {
  margin-bottom: 12px;
}

.quote blockquote {
  flex: 1;
}

.quote blockquote p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 16px;
}

.quote .who {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quote .av {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--berry);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.quote .who b {
  font-size: 13.5px;
  display: block;
}

.quote .who div span {
  font-size: 12px;
  color: var(--faint);
}

.quotes-lien {
  margin-top: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.quotes-lien a {
  color: var(--berry);
}

.quotes-lien a:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .quotes {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    margin-inline: -24px;
    padding-inline: 24px;
    scroll-padding-inline: 24px;
    padding-block: 4px 20px;
    margin-bottom: -8px;
    scrollbar-width: none;
  }

  .quotes::-webkit-scrollbar {
    display: none;
  }

  .quotes > .quote {
    flex: 0 0 84%;
    scroll-snap-align: start;
  }
}


/* 13. Bandeau final -------------------------------------------- */

.final2 {
  padding: 10px 0 72px;
}

.final-band {
  background: var(--berry);
  color: #fff;
  border-radius: 26px;
  padding: 56px 44px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.final-band h2 {
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 12px;
  text-wrap: balance;
}

.final-band p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 26px;
  max-width: 50ch;
}


/* 14. FAQ ------------------------------------------------------
   <details name="..."> : ouvrir une question referme l'autre,
   sans JavaScript. */

.faqsec {
  padding: 72px 0;
}

.faq {
  max-width: 760px;
  margin: 0 auto;
}

.faq .head {
  margin-bottom: 28px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 12px;
  padding: 0 20px;
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-weight: 700;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary:focus-visible {
  outline: 3px solid var(--berry);
  outline-offset: 4px;
  border-radius: 6px;
}

/* Le « + » qui devient « - », dessiné en CSS. */
.faq summary::after {
  content: "";
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  background-image: linear-gradient(var(--berry), var(--berry)), linear-gradient(var(--berry), var(--berry));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 2px, 2px 14px;
  transition: background-size 0.25s ease;
}

.faq details[open] summary::after {
  background-size: 14px 2px, 2px 0;
}

.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  opacity: 0;
  transition: block-size 0.28s ease, opacity 0.22s ease, content-visibility 0.28s allow-discrete;
}

.faq details[open]::details-content {
  block-size: auto;
  opacity: 1;
}

.faq details p {
  padding: 0 0 18px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.6;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after,
  .faq details::details-content {
    transition: none;
  }
}


/* 15. Formulaire ----------------------------------------------- */

.form-carte {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
}

.form-carte h2 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.form-carte .form-intro {
  margin-top: 8px;
  font-size: 14px;
  color: var(--muted);
}

.form-carte form {
  margin-top: 22px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field label .opt {
  color: var(--muted);
  font-weight: 500;
}

.field label .req {
  color: var(--berry);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 11px;
  padding: 12px 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(150, 32, 100, 0.12);
}

.field input:user-invalid {
  border-color: var(--err);
  box-shadow: 0 0 0 3px rgba(179, 38, 30, 0.1);
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-mentions {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.55;
  color: var(--faint);
}

.form-mentions a {
  color: var(--berry);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-actions {
  margin-top: 20px;
}

/* Message affiché tant que le formulaire n'est pas branché. */
.form-notice {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--or-pale);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 560px) {
  .grid2 {
    grid-template-columns: 1fr;
  }

  .form-carte {
    padding: 24px 20px;
  }
}


/* 16. Page « Devenir partenaire » ------------------------------ */

.lp-hero {
  padding: 56px 0 40px;
  text-align: center;
}

.lp-hero .hero-top {
  max-width: 760px;
  margin: 0 auto;
}

.lp-hero .lede {
  margin-inline: auto;
  max-width: 640px;
}

.lp-hero .hero-gain,
.lp-hero .hero__action,
.lp-hero .trust {
  justify-content: center;
}

.lp-visuel {
  max-width: 1000px;
  margin: 36px auto 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.lp-visuel img {
  display: block;
  width: 100%;
  aspect-ratio: 1840 / 746;
  object-fit: cover;
}

.lp-form {
  padding: 56px 0 72px;
}

.lp-form-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.lp-arguments h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin-top: 14px;
  text-wrap: balance;
}

.lp-arguments > p {
  margin-top: 14px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .lp-form-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}


/* 17. Pages légales -------------------------------------------- */

.legal {
  padding: 56px 0 80px;
}

.legal h1 {
  font-size: clamp(30px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 14px;
}

.legal .maj {
  margin-top: 10px;
  font-size: 13px;
  color: var(--faint);
}

.legal h2 {
  margin-top: 40px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.legal p {
  margin-top: 12px;
}

.legal ul {
  list-style: disc;
  padding-left: 22px;
  margin-top: 12px;
}

.legal li + li {
  margin-top: 6px;
}

.legal strong {
  color: var(--ink);
}

.legal a {
  color: var(--berry);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal dl {
  display: grid;
  grid-template-columns: minmax(180px, 34%) 1fr;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.legal dt,
.legal dd {
  padding: 12px 16px;
  font-size: 14.5px;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}

.legal dt:first-of-type,
.legal dt:first-of-type + dd {
  border-top: 0;
}

.legal dt {
  font-weight: 600;
  color: var(--ink);
  background: var(--surface);
}

.legal dd {
  color: var(--muted);
}

@media (max-width: 620px) {
  .legal dl {
    grid-template-columns: 1fr;
  }

  .legal dd {
    border-top: 0;
    padding-top: 0;
    background: var(--surface);
  }
}


/* 18. Petits écrans -------------------------------------------- */

@media (max-width: 620px) {
  .nav {
    padding: 0 16px;
  }

  .logo-img {
    height: 24px;
  }

  .hero {
    padding: 36px 0 44px;
  }

  .hero h1,
  .lp-hero h1 {
    font-size: 32px;
  }

  .hero__action .btn {
    width: 100%;
  }

  .atouts,
  .how,
  .proof2,
  .faqsec {
    padding: 44px 0;
  }

  .logos {
    padding: 26px 0;
  }

  .how-step {
    padding: 20px 20px 22px;
  }

  .final2 {
    padding: 8px 0 48px;
  }

  .final-band {
    padding: 40px 24px;
  }

  .final-band .btn {
    width: 100%;
    white-space: normal;
  }

  .lp-hero {
    padding: 36px 0 28px;
  }

  .lp-visuel {
    border-radius: 16px;
  }

  .lp-form {
    padding: 36px 0 48px;
  }
}

@media (max-width: 620px) {
  .note-avis__marque {
    flex-basis: 100%;
    height: 36px;
    margin: 6px 0 0;
    padding: 0;
    border-left: 0;
    object-fit: contain;
  }
}

@media (max-width: 420px) {
  .hv-card {
    padding: 18px;
  }

  .hv-badge {
    display: none;
  }
}

@media (max-width: 380px) {
  .nav .btn-sm {
    padding: 8px 12px;
  }
}
