/* ====================================================================
   NINJA BLEU · SITE · SYSTEME « BLEU FLOTTANT » (decembre 2026)
   --------------------------------------------------------------------
   Demande de Swan (1er decembre 2026) : garder le premier ecran de
   l'accueil tel quel, et refaire tout le reste du site dans un style
   coherent, celui de la plateforme client et de l'app des Ninjas :
   des blocs blancs qui flottent sur le bleu de la marque ou sur le
   blanc bleute, de belles ombres, de beaux titres, des icones, de
   l'air. Les textes ne changent pas.

   Cette feuille se charge APRES les styles existants (feuille commune
   et styles de la page) : elle ne refait pas la mise en page de base,
   elle pose le nouveau dessin par-dessus. Ordre :
     0. Jetons
     1. Pieces communes (boutons, liens, surtitres, icones, cartes)
     2. Accueil, sections 2 a 8 (classes bf-*)
     3. L'iPhone (le vrai ecran de la camera du tunnel)
     4. Pages interieures (body[data-page-longue])
     5. L'appel final (.fin), commun a toutes les pages
     6. Le pied de page
     7. La banniere des temoins
     8. Telephone et tablette
     9. Mouvement reduit
   ==================================================================== */

/* 0. JETONS ---------------------------------------------------------- */
:root {
  /* La rampe Pantone du site (Clement), inchangee. */
  --bf-293: #003da5;
  --bf-2935: #0057b8;
  --bf-285: #0072ce;
  --bf-279: #418fde;
  --bf-284: #6cace4;
  --bf-2905: #8dc8e8;
  --bf-290: #b9d9eb;
  --bf-656: #dde5ed;
  --bf-jour: #f4f6fb;
  /* Ce que la refonte ajoute. */
  --bf-nuit: #021d55;
  --bf-glace: #e3ecfb;
  --bf-glace-fort: #d3e2fa;
  --bf-encre: #0b1220;
  --bf-texte: #3a4558;
  --bf-doux: #5d6779;
  --bf-filet: rgb(11 18 32 / 0.08);
  --bf-filet-fort: rgb(11 18 32 / 0.12);
  /* L'orange du tunnel : seulement pour le mois gratuit. */
  --bf-orange: #ff7a00;
  /* Les rayons. */
  --bf-r-xl: 32px;
  --bf-r-l: 24px;
  --bf-r-m: 18px;
  --bf-r-s: 12px;
  /* Les ombres : un liseré clair en haut, une ombre courte qui pose le
     bloc, une longue ombre bleutee qui le fait flotter. */
  --bf-ombre-carte:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 1px 2px rgb(4 24 70 / 0.06),
    0 14px 34px -16px rgb(4 30 90 / 0.22),
    0 42px 80px -44px rgb(4 30 90 / 0.3);
  --bf-ombre-levee:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 2px 4px rgb(4 24 70 / 0.07),
    0 22px 44px -18px rgb(4 30 90 / 0.3),
    0 56px 100px -48px rgb(4 30 90 / 0.38);
  /* Sur le bleu, l'ombre doit etre plus franche pour se voir, sans salir. */
  --bf-ombre-sur-bleu:
    inset 0 1px 0 rgb(255 255 255 / 0.9),
    0 2px 4px rgb(0 20 70 / 0.12),
    0 22px 44px -16px rgb(0 20 70 / 0.34),
    0 56px 100px -40px rgb(0 18 64 / 0.42);
  --bf-ombre-tuile: 0 1px 2px rgb(4 24 70 / 0.05), 0 8px 20px -14px rgb(4 30 90 / 0.25);
  --bf-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --bf-sans: 'Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --bf-mesure: 68ch;
}

/* 1. PIECES COMMUNES ------------------------------------------------- */

/* Les titres : semi-gras franc, serres, equilibres. */
.bf-titre {
  margin: 0;
  font-family: var(--bf-sans);
  font-size: clamp(2rem, 3.5vw, 3.05rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.bf-titre--moyen {
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
}
.bf-titre sup {
  font-size: 0.5em;
  vertical-align: 0.85em;
  line-height: 0;
}
.bf-lede {
  margin: 0;
  max-width: 58ch;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: var(--clair-doux);
}

/* Le surtitre : une pastille, jamais une ligne de texte perdue. */
.bf-surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: var(--bf-glace);
  color: var(--bf-293);
  font-family: var(--bf-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.bf-surtitre::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(0 61 165 / 0.14);
}
.bf-surtitre--verre {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
}
.bf-surtitre--verre::before {
  background: var(--bf-2905);
  box-shadow: 0 0 0 3px rgb(141 200 232 / 0.22);
}

/* L'icone dans sa tuile : le dessin des pictos du tunnel (trait de 1,7). */
.bf-icone {
  display: grid;
  flex: none;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 15px;
  background: linear-gradient(150deg, #1d63d4 0%, var(--bf-293) 62%, #00317f 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.28),
    0 10px 20px -10px rgb(0 61 165 / 0.75);
}
.bf-icone svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bf-icone--clair {
  background: var(--bf-glace);
  color: var(--bf-293);
  box-shadow: inset 0 0 0 1px rgb(0 61 165 / 0.08);
}
.bf-icone--verre {
  background: rgb(255 255 255 / 0.14);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.24);
}

/* La carte blanche qui flotte. */
.bf-carte {
  position: relative;
  border-radius: var(--bf-r-xl);
  background: #fff;
  color: var(--bf-encre);
  box-shadow: var(--bf-ombre-carte);
}
.bf-bloc:not(.sur-clair) .bf-carte {
  box-shadow: var(--bf-ombre-sur-bleu);
}

/* La pastille orange du mois gratuit (celle du tunnel). */
.bf-gratuit {
  display: inline-block;
  padding: 0.04em 0.42em 0.08em;
  border-radius: 0.32em;
  background: var(--bf-orange);
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 16px -8px rgb(255 122 0 / 0.9);
}

/* Les boutons : la pilule de l'en-tete partout, la fleche dans son rond. */
:is(.bf-bloc, .bande, .contenu, .fin) .bouton {
  min-height: 3.3rem;
  padding: 0.45rem 0.5rem 0.45rem 1.45rem;
  gap: 0.9rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--bf-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition:
    transform 0.35s var(--bf-ease),
    box-shadow 0.35s var(--bf-ease),
    background-color 0.25s ease,
    color 0.25s ease;
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton:not(:has(.fleche)) {
  padding-inline: 1.5rem;
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton .fleche {
  display: inline-grid;
  flex: none;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  background: var(--bf-293);
  color: #fff;
  font-size: 0.95rem;
  line-height: 1;
  transition: transform 0.35s var(--bf-ease), background-color 0.25s ease;
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton:hover {
  transform: translateY(-2px);
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton:hover .fleche {
  transform: translateX(3px);
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton:active {
  transform: translateY(0) scale(0.98);
  transition-duration: 0.12s;
}
/* Plein, sur le bleu : blanc, fleche bleue (comme l'en-tete). */
:is(.bf-bloc, .bande, .contenu, .fin) .bouton--plein {
  background: #fff;
  color: #08183a;
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.4),
    0 14px 30px -14px rgb(0 8 40 / 0.6);
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton--plein:hover {
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.4),
    0 20px 40px -16px rgb(0 8 40 / 0.7);
}
/* Plein, sur le clair : bleu de marque, fleche blanche. */
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--plein,
body[data-page-longue] .contenu .bouton--plein,
.bf-carte .bouton--plein {
  background: linear-gradient(180deg, #0a4dbe 0%, var(--bf-293) 100%);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 12px 26px -12px rgb(0 61 165 / 0.75);
}
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--plein:hover,
body[data-page-longue] .contenu .bouton--plein:hover,
.bf-carte .bouton--plein:hover {
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.2),
    0 18px 36px -14px rgb(0 61 165 / 0.85);
}
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--plein .fleche,
body[data-page-longue] .contenu .bouton--plein .fleche,
.bf-carte .bouton--plein .fleche {
  background: #fff;
  color: var(--bf-293);
}
/* Contour : sur le clair, une pilule blanche cerclee de bleu pale. */
:is(.bf-bloc, .bande, .contenu, .fin) .bouton--fil,
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--fil {
  background: #fff;
  color: var(--bf-293);
  box-shadow: inset 0 0 0 1.5px rgb(0 61 165 / 0.22), var(--bf-ombre-tuile);
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton--fil .fleche,
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--fil .fleche {
  background: var(--bf-glace);
  color: var(--bf-293);
}
:is(.bf-bloc, .bande, .contenu, .fin) .bouton--fil:hover,
:is(.bf-bloc.sur-clair, .contenu, .fin) .bouton--fil:hover {
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgb(0 61 165 / 0.45), 0 14px 28px -16px rgb(0 61 165 / 0.5);
}

/* Le lien de suite : texte semi-gras, fleche qui avance. */
.bf-lien {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  color: var(--bf-293);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}
.bf-lien .fleche {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: var(--bf-glace);
  font-size: 0.85rem;
  transition: transform 0.35s var(--bf-ease), background-color 0.25s ease, color 0.25s ease;
}
.bf-lien:hover .fleche {
  transform: translateX(3px);
  background: var(--bf-293);
  color: #fff;
}

/* L'apparition : le bloc monte de 24 px en s'allumant. `translate` et non
   `transform`, que la feuille d'origine force a `none` sur .revele. */
html.js-anim .bf-bloc .revele,
html.js-anim body[data-page-longue] .revele {
  translate: 0 26px;
  transition:
    opacity 0.7s ease,
    translate 0.95s var(--bf-ease);
}
html.js-anim .bf-bloc .revele.vu,
html.js-anim body[data-page-longue] .revele.vu {
  translate: 0 0;
}
/* Les rangees d'une carte arrivent l'une apres l'autre. */
html.js-anim .revele .bf-cascade > * {
  opacity: 0;
  translate: 0 14px;
  transition:
    opacity 0.6s ease,
    translate 0.8s var(--bf-ease);
}
html.js-anim .revele.vu .bf-cascade > * {
  opacity: 1;
  translate: 0 0;
}
html.js-anim .revele.vu .bf-cascade > :nth-child(1) { transition-delay: 0.12s; }
html.js-anim .revele.vu .bf-cascade > :nth-child(2) { transition-delay: 0.2s; }
html.js-anim .revele.vu .bf-cascade > :nth-child(3) { transition-delay: 0.28s; }
html.js-anim .revele.vu .bf-cascade > :nth-child(4) { transition-delay: 0.36s; }
html.js-anim .revele.vu .bf-cascade > :nth-child(5) { transition-delay: 0.44s; }
html.js-anim .revele.vu .bf-cascade > :nth-child(6) { transition-delay: 0.52s; }

/* 2. ACCUEIL, SECTIONS 2 A 8 ----------------------------------------- */
/* Retour de Swan (1er dec., 2e passe) : le defilement est guide, chaque
   section est un ecran et doit s'y voir en entier ; aucun texte pose sur un
   bleu moyen ; les blocs d'une meme rangee ont la meme taille ; ni pastille
   au-dessus des titres, ni petit ninja.
   - Sous le premier ecran, un seul bleu profond, comme la plateforme client :
     le texte y est blanc, ou dans une carte blanche. Jamais de bleu sur bleu.
   - Toutes les mesures sont en em d'une taille de base qui suit la HAUTEUR
     de la fenetre : un portable de 768 px de haut voit tout, un grand ecran
     aussi. Les titres reprennent ceux du premier ecran (600, serres). */

body:not([data-page-longue]) {
  background:
    linear-gradient(180deg, var(--bf-293) 0%, #004fb4 14%, #0053b6 40%, #00499f 72%, #003b8c 100%);
}
.bloc.bf-bloc,
.compare.bf-bloc {
  text-align: left;
}
.bloc.bf-bloc {
  --bf-base: clamp(13.5px, calc(1.3svh + 0.36vw), 17px);
  min-height: 100svh;
  justify-content: safe center;
  padding-top: calc(6.2rem + 1vh);
  padding-bottom: 4vh;
  font-size: var(--bf-base);
  color: #fff;
}
.bf-bloc .fort {
  font-style: normal;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
/* Les titres, comme le titre du premier ecran. */
.bf-bloc .bf-titre {
  font-size: 2.6em;
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.034em;
  color: #fff;
}
.bf-bloc .bf-titre .fort {
  color: #dce8ff;
}
.bf-bloc .bf-titre--moyen {
  font-size: 1.95em;
}
.bf-bloc .bf-titre sup {
  font-size: 0.52em;
  vertical-align: 0.82em;
  line-height: 0;
  letter-spacing: 0;
}
.bf-bloc .bf-lede {
  max-width: 62ch;
  font-size: 1em;
  line-height: 1.62;
  color: rgb(238 242 251 / 0.88);
}
/* Dans une carte blanche : l'encre, et le bleu de la marque pour l'accent. */
.bf-bloc .bf-carte .bf-titre {
  color: var(--bf-encre);
}
.bf-bloc .bf-carte .bf-titre .fort {
  color: var(--bf-293);
}
.bf-bloc .bf-carte .bf-lede {
  color: var(--bf-texte);
}
.bf-bloc .bf-carte .bf-lede .fort {
  color: var(--bf-293);
  font-weight: 600;
}
/* Sur le bleu profond, une carte flotte franchement. */
.bf-bloc .bf-carte {
  border-radius: 1.9em;
  box-shadow: var(--bf-ombre-sur-bleu);
}
/* Le lien de suite, version claire (sur le bleu). */
.bf-lien--clair {
  color: #fff;
}
.bf-lien--clair .fleche {
  background: rgb(255 255 255 / 0.16);
  color: #fff;
}
.bf-lien--clair:hover .fleche {
  background: #fff;
  color: var(--bf-293);
}

/* -- 2a. Comment ca marche : texte, quatre etapes egales, iPhone ------- */
.bf-produit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 3.4em;
}
.bf-produit__texte {
  display: grid;
  gap: 1.7em;
}
.bf-produit__tete {
  display: grid;
  gap: 0.85em;
}
.bf-produit__tete .bf-lede {
  font-size: 0.96em;
}
.bf-etapes__haut {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em 1.5em;
  margin-bottom: 0.9em;
}
.bf-etapes__tete {
  margin: 0;
  font-size: 0.88em;
  font-weight: 500;
  color: rgb(238 242 251 / 0.82);
}
.bf-etapes .bf-lien {
  font-size: 0.88em;
}
.bf-etapes__liste {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 0.85em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bf-etape {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  padding: 1.15em 1.25em 1.2em;
  border-radius: 1.3em;
  background: #fff;
  box-shadow: var(--bf-ombre-sur-bleu);
  transition: transform 0.45s var(--bf-ease);
}
.bf-etape:hover {
  transform: translateY(-3px);
}
.bf-etape__tete {
  display: flex;
  align-items: center;
  gap: 0.75em;
}
.bf-etape .bf-icone {
  width: 2.55em;
  height: 2.55em;
  border-radius: 0.8em;
}
.bf-etape .bf-icone svg {
  width: 1.3em;
  height: 1.3em;
}
.bf-etape__t {
  margin: 0;
  font-size: 1.04em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bf-encre);
}
.bf-etape__n {
  margin-right: 0.15em;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--bf-279);
  font-variant-numeric: tabular-nums;
}
.bf-etape__d {
  margin: 0;
  font-size: 0.86em;
  line-height: 1.55;
  color: var(--bf-texte);
}
.bf-produit__tel {
  justify-self: center;
}
.bf-produit__tel .bf-iphone {
  --w: min(18.5rem, calc((100svh - 9.5rem) * 0.4613));
}

/* -- 2b. L'offre : une grande carte, et le panneau du mois gratuit ---- */
.bf-offre {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
  gap: 3em;
  max-width: 72em;
  margin-inline: auto;
  padding: 1.4em 1.4em 1.4em 3.2em;
}
.bf-offre__texte {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.3em;
  padding-block: 2em;
}
.bf-offre .bf-titre .fort {
  display: block;
}
.bf-offre__panneau {
  position: relative;
  display: grid;
  align-content: space-between;
  gap: 1.8em;
  overflow: hidden;
  padding: 2.2em;
  border-radius: 1.4em;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(65 143 222 / 0.45), transparent 60%),
    linear-gradient(155deg, #0a4fc2 0%, var(--bf-293) 48%, #002a76 100%);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.18), 0 24px 50px -28px rgb(0 40 120 / 0.9);
  transition: transform 0.45s var(--bf-ease), box-shadow 0.45s var(--bf-ease);
}
.bf-offre__panneau::before,
.bf-cta::before,
body[data-page-longue] .bande::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto -18% -55% auto;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, transparent 64%, rgb(255 255 255 / 0.09) 64.5%, rgb(255 255 255 / 0.09) 66%, transparent 66.5%),
    radial-gradient(closest-side, transparent 80%, rgb(255 255 255 / 0.07) 80.5%, rgb(255 255 255 / 0.07) 82%, transparent 82.5%),
    radial-gradient(closest-side, transparent 96%, rgb(255 255 255 / 0.06) 96.5%, rgb(255 255 255 / 0.06) 98%, transparent 98.5%);
  pointer-events: none;
}
.bf-offre__panneau:hover {
  transform: translateY(-3px);
}
.bf-offre__haut {
  display: grid;
  gap: 1em;
}
.bf-offre__phrase {
  margin: 0;
  max-width: 19ch;
  font-size: 1.55em;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.02em;
}
.bf-offre__phrase sup,
.bf-offre__grand sup {
  font-size: 0.55em;
  vertical-align: 0.8em;
  line-height: 0;
}
.bf-offre__phrase .bf-gratuit {
  margin-top: 0.35em;
  font-size: 1.1em;
}
.bf-offre__chiffres {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.2em 1em;
  padding-top: 1.4em;
  border-top: 1px solid rgb(255 255 255 / 0.18);
}
.bf-offre__grand {
  font-size: 2.6em;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.bf-offre__legende {
  margin: 0;
  font-size: 0.92em;
  line-height: 1.4;
  color: rgb(238 242 251 / 0.85);
}
.bf-offre__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  font-size: 0.86em;
  color: rgb(238 242 251 / 0.8);
}
.bf-offre__pied .fleche {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.8em;
  height: 2.8em;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-293);
  font-style: normal;
  transition: transform 0.35s var(--bf-ease);
}
.bf-offre__panneau:hover .bf-offre__pied .fleche {
  transform: translateX(3px);
}

/* -- 2c. L'espace client : le texte sur le bleu, la fenetre a droite --- */
.bf-app {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 4em;
}
.bf-app__texte {
  display: grid;
  justify-items: start;
  gap: 1.2em;
}
.bf-app__texte .bouton {
  margin-top: 0.5em;
}
.bf-fenetre {
  padding: 0.6em;
}
.bf-fenetre__barre {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.75em 0.9em 0.9em;
  font-size: 0.88em;
  font-weight: 600;
  color: var(--bf-encre);
}
.bf-fenetre__barre img {
  width: 1.7em;
  height: 1.7em;
}
.bf-fenetre__barre i {
  width: 0.6em;
  height: 0.6em;
  border-radius: 999px;
  background: var(--bf-656);
}
.bf-fenetre__barre i:first-of-type {
  margin-left: auto;
}
/* Cinq rangees de la meme hauteur. */
.bf-fenetre__lignes {
  display: grid;
  grid-auto-rows: 1fr;
  gap: 0.4em;
  margin: 0;
  padding: 0;
  list-style: none;
}
.bf-fenetre__lignes li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1em;
  padding: 0.85em 1.1em;
  border-radius: 1em;
  background: var(--bf-jour);
  transition: background-color 0.3s ease;
}
.bf-fenetre__lignes li:hover {
  background: var(--bf-glace);
}
.bf-fenetre__lignes b {
  display: block;
  margin-bottom: 0.1em;
  font-size: 0.98em;
  font-weight: 600;
  color: var(--bf-encre);
}
.bf-fenetre__lignes div > span {
  display: block;
  font-size: 0.88em;
  line-height: 1.45;
  color: var(--bf-texte);
}
.bf-fenetre__lignes .bf-icone {
  width: 2.6em;
  height: 2.6em;
  border-radius: 0.8em;
  background: #fff;
  color: var(--bf-293);
  box-shadow: var(--bf-ombre-tuile), inset 0 0 0 1px rgb(0 61 165 / 0.06);
}
.bf-fenetre__lignes .bf-icone svg {
  width: 1.3em;
  height: 1.3em;
}

/* -- 2d. Le prix juste : une carte a gauche, trois cartes egales ------- */
.bf-prix {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: stretch;
  gap: 1.3em;
}
.bf-prix__carte {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.1em;
  padding: 2.6em 2.8em;
}
.bf-prix__carte .bf-lede {
  font-size: 0.95em;
  line-height: 1.65;
}
.bf-rangs {
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: 1.3em;
}
.bf-rang {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.2em;
  padding: 1.4em 1.6em;
}
.bf-rang .bf-icone {
  width: 3em;
  height: 3em;
  border-radius: 0.95em;
}
.bf-rang__t {
  margin: 0 0 0.3em;
  font-size: 1.06em;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--bf-encre);
}
.bf-rang__t .fort {
  color: var(--bf-293);
}
.bf-rang__d {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.55;
  color: var(--bf-texte);
}

/* -- 2e. Une seule fois : la photo et le texte dans une carte ---------- */
.bf-ponctuel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 3em;
  max-width: 72em;
  margin-inline: auto;
  padding: 1em 3.2em 1em 1em;
}
.bf-ponctuel__photo {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 1.3em;
  aspect-ratio: 4 / 3.3;
  max-height: 62svh;
  background: var(--bf-glace);
}
.bf-ponctuel__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 40%;
  transition: transform 1.2s var(--bf-ease);
}
.bf-ponctuel:hover .bf-ponctuel__photo img {
  transform: scale(1.04);
}
.bf-ponctuel__texte {
  display: grid;
  justify-items: start;
  gap: 1.2em;
  padding-block: 1.5em;
}

/* -- 2f. Avant de commencer : deux cartes de la meme hauteur ----------- */
.bf-avant {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
  gap: 1.3em;
}
.bf-avant__carte {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
  padding: 2.3em 2.4em 2em;
}
.bf-avant__carte--avis {
  justify-content: space-between;
}
/* Dans la carte, la FAQ et l'avis ne refont pas une carte. */
.bf-avant__carte .bf-faq.questions {
  margin: 0 -1.1em;
  padding: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}
.bf-avant__carte .bf-faq .question summary {
  min-height: 3.3em;
  font-size: 0.95em;
}
.bf-avant__carte .bf-avis.temoin {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.6em;
  border-radius: 1.3em;
  background: var(--bf-jour);
  box-shadow: none;
}
.bf-avant__carte .bf-avis .temoin__pile {
  flex: 1;
}
.bf-avant__carte .bf-note-google a {
  background: var(--bf-jour);
  box-shadow: none;
}
.bf-avant__carte .bf-note-google a:hover {
  background: var(--bf-glace);
}

/* -- 2g. L'appel final de l'accueil : une carte blanche sur le bleu, le
   texte a gauche, la photo de l'equipe en couleur a droite. ------------ */
#prix.bf-bloc .fort,
#compare.bf-bloc .fort,
#ponctuel.bf-bloc .fort {
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
}
.fin.bf-bloc > .large {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  max-width: 72em;
  min-height: 26em;
  padding: 2.6em calc(44% + 3em) 2.6em 3.4em;
  background: #fff;
  color: var(--bf-encre);
  text-align: left;
  font-size: var(--bf-base);
}
.fin.bf-bloc > .large > .fin__fond {
  position: absolute;
  z-index: 0;
  inset: 1.2em 1.2em 1.2em auto;
  width: 44%;
  overflow: hidden;
  border-radius: 1.3em;
}
.fin.bf-bloc > .large > .fin__fond img {
  position: absolute;
  inset: 0;
  opacity: 1;
  filter: none;
  object-position: 50% 35%;
}
.fin.bf-bloc .fin__lede,
.fin.bf-bloc .fin__note {
  margin: 0;
}
.fin.bf-bloc > .large > .fin__voile,
.fin.bf-bloc > .large::before,
.fin.bf-bloc > .large::after {
  display: none;
}
.fin.bf-bloc h2 {
  max-width: none;
  margin: 0 0 0.5em;
  font-size: 2.6em;
}
.fin.bf-bloc .fin__lede,
.fin.bf-bloc .fin__note {
  max-width: 40ch;
}
.fin.bf-bloc .fin__actions {
  justify-content: flex-start;
  margin-block: 1.6em 1.2em;
}
.fin.bf-bloc .fin__preuve {
  margin-top: 0.6em;
}
@media (max-width: 900px) {
  .fin.bf-bloc > .large {
    min-height: 0;
    padding: calc(13em + 2.2em) 1.6em 2em;
  }
  .fin.bf-bloc > .large > .fin__fond {
    inset: 1em 1em auto 1em;
    width: auto;
    height: 13em;
  }
}
.fin.bf-bloc h2 {
  font-weight: 600;
  color: var(--bf-encre);
}
.fin.bf-bloc h2 .fort {
  color: var(--bf-293);
}
.fin.bf-bloc .fin__lede,
.fin.bf-bloc .fin__note {
  color: var(--bf-texte);
}
.fin.bf-bloc .fin__lede b,
.fin.bf-bloc .fin__note b {
  color: var(--bf-encre);
}
.fin.bf-bloc .large .bouton.bouton--plein {
  background: linear-gradient(180deg, #0a4dbe 0%, var(--bf-293) 100%);
  color: #fff;
}
.fin.bf-bloc .large .bouton.bouton--plein .fleche {
  background: #fff;
  color: var(--bf-293);
}
.fin.bf-bloc .fin__preuve a {
  color: var(--bf-293);
  text-decoration-color: rgb(0 61 165 / 0.35);
}

/* -- Tablette et telephone : les sections reprennent leur hauteur ------- */
@media (max-width: 900px) {
  .bloc.bf-bloc {
    --bf-base: 15.5px;
    min-height: auto;
    padding-top: 4.5rem;
    padding-bottom: 2.5rem;
  }
  #produit.bf-bloc {
    padding-top: 6rem;
  }
  .bf-produit,
  .bf-offre,
  .bf-app,
  .bf-prix,
  .bf-ponctuel,
  .bf-avant {
    grid-template-columns: minmax(0, 1fr);
  }
  .bf-produit {
    gap: 2em;
  }
  .bf-produit__tel {
    grid-row: 2;
  }
  .bf-produit__tel .bf-iphone {
    --w: min(64vw, 16rem);
  }
  .bf-produit__texte {
    display: contents;
  }
  .bf-produit__tete {
    grid-row: 1;
  }
  .bf-etapes {
    grid-row: 3;
  }
  .bf-offre {
    padding: 1em;
    gap: 1.2em;
  }
  .bf-offre__texte {
    padding: 1em 0.8em 0;
  }
  .bf-rangs {
    grid-template-rows: none;
  }
  .bf-ponctuel {
    padding: 1em;
    gap: 1.2em;
  }
  .bf-ponctuel__texte {
    padding: 0.5em 0.8em 1em;
  }
}
@media (max-width: 640px) {
  .bloc.bf-bloc {
    --bf-base: 15px;
  }
  .bf-bloc .bf-titre {
    font-size: 2.05em;
  }
  .bf-bloc .bf-titre--moyen {
    font-size: 1.7em;
  }
  .bf-etapes__liste {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }
  .bf-bloc .bf-carte {
    border-radius: 1.5em;
  }
  .bf-prix__carte,
  .bf-avant__carte {
    padding: 1.6em 1.4em;
  }
  .bf-rang {
    padding: 1.2em;
  }
  .bf-fenetre__lignes {
    grid-auto-rows: auto;
  }
}

/* La FAQ, commune a l'accueil et aux pages : une carte, des rangees. */
.bf-faq.questions,
body[data-page-longue] .questions {
  margin: 0;
  padding: 0.5rem clamp(0.4rem, 1vw, 0.6rem);
  border: 0;
  border-radius: var(--bf-r-l);
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
}
.bf-faq .question,
body[data-page-longue] .question {
  position: relative;
  border: 0;
  border-radius: var(--bf-r-m);
  transition: background-color 0.3s ease;
}
/* Le filet entre deux questions, qui s'efface autour de celle qu'on survole. */
.bf-faq .question + .question::before,
body[data-page-longue] .question + .question::before {
  content: '';
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background: var(--bf-filet);
  transition: opacity 0.3s ease;
}
.bf-faq .question:hover,
.bf-faq .question[open],
body[data-page-longue] .question:hover,
body[data-page-longue] .question[open] {
  background: var(--bf-jour);
}
.bf-faq .question:is(:hover, [open])::before,
.bf-faq .question:is(:hover, [open]) + .question::before,
body[data-page-longue] .question:is(:hover, [open])::before,
body[data-page-longue] .question:is(:hover, [open]) + .question::before {
  opacity: 0;
}
.bf-faq .question summary,
body[data-page-longue] .question summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.6rem;
  padding: 0.85rem 3.6rem 0.85rem 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.005em;
  color: var(--bf-encre);
  cursor: pointer;
  list-style: none;
}
.bf-faq .question summary::-webkit-details-marker,
body[data-page-longue] .question summary::-webkit-details-marker {
  display: none;
}
/* Le chevron dans son rond. */
.bf-faq .question summary::after,
body[data-page-longue] .question summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1rem;
  width: 1.9rem;
  height: 1.9rem;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003da5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") center / 1.05rem no-repeat,
    var(--bf-glace);
  transform: translateY(-50%);
  transition: transform 0.4s var(--bf-ease), background-color 0.3s ease;
}
.bf-faq .question[open] summary::after,
body[data-page-longue] .question[open] summary::after {
  transform: translateY(-50%) rotate(180deg);
  background-color: #fff;
}
.bf-faq .question summary:hover,
body[data-page-longue] .question summary:hover {
  color: var(--bf-293);
}
.bf-faq .question p,
body[data-page-longue] .question p,
body[data-page-longue] .question .reponse {
  max-width: 62ch;
  margin: -0.2rem 0 0;
  padding: 0 1.1rem 1.15rem;
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--bf-texte);
}
body[data-page-longue] .question .reponse p {
  padding: 0;
  margin: 0 0 0.8rem;
}
.bf-faq .question a,
body[data-page-longue] .question a {
  color: var(--bf-2935);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Les avis : une carte, un guillemet, l'auteur. */
.bf-avis.temoin,
body[data-page-longue] .temoin {
  position: relative;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  border: 0;
  border-radius: var(--bf-r-l);
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
}
.bf-avis__guillemet {
  display: block;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 0.9rem;
  color: var(--bf-293);
}
.bf-avis .temoin__texte p,
body[data-page-longue] .temoin .temoin__texte p {
  margin: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.26rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--bf-encre);
}
.bf-avis .temoin__qui,
body[data-page-longue] .temoin .temoin__qui {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
  margin-top: 1.2rem;
  font-size: 0.88rem;
  color: var(--bf-doux);
}
.bf-avis .temoin__qui b,
body[data-page-longue] .temoin .temoin__qui b {
  color: var(--bf-encre);
  font-weight: 650;
}
.bf-avis .etoiles,
body[data-page-longue] .temoin .etoiles,
.bf-note-google .etoiles {
  color: var(--bf-293);
  letter-spacing: 0.08em;
}
.bf-note-google {
  margin: 0;
}
.bf-note-google a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-encre);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--bf-ombre-tuile);
  transition: transform 0.35s var(--bf-ease), box-shadow 0.35s var(--bf-ease);
}
.bf-note-google a:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -16px rgb(0 61 165 / 0.45);
}

/* 3. L'IPHONE : LE VRAI ECRAN DE LA CAMERA DU TUNNEL ------------------- */
.bf-iphone {
  --w: clamp(15rem, 23vw, 19.5rem);
  position: relative;
  width: var(--w);
  aspect-ratio: 393 / 852;
  margin-inline: auto;
}
.bf-iphone__corps {
  position: absolute;
  inset: 0;
  padding: calc(var(--w) * 0.032);
  border-radius: calc(var(--w) * 0.16);
  background: linear-gradient(145deg, #3a3d44 0%, #15171b 38%, #2a2c31 70%, #0d0e10 100%);
  box-shadow:
    inset 0 0 0 1.5px #6b6f78,
    inset 0 0 0 3px #1a1b1f,
    0 2px 6px rgb(0 8 30 / 0.4),
    0 40px 70px -24px rgb(0 8 30 / 0.75),
    0 90px 120px -50px rgb(0 8 30 / 0.6);
  animation: bf-flotte 7s ease-in-out infinite;
}
.bf-iphone__btn {
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #5c6068, #2a2c31);
}
.bf-iphone__btn--action { left: -2px; top: 17%; height: 4.5%; }
.bf-iphone__btn--vol1 { left: -2px; top: 25%; height: 7.5%; }
.bf-iphone__btn--vol2 { left: -2px; top: 34%; height: 7.5%; }
.bf-iphone__btn--marche { right: -2px; top: 27%; height: 11%; }
.bf-iphone__ecran {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: calc(var(--w) * 0.13);
  background: #003995;
}
.bf-iphone__ecran img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.bf-iphone__statut {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: calc(var(--w) * 0.118);
  padding: 0 calc(var(--w) * 0.085) 0 calc(var(--w) * 0.1);
  color: #fff;
  font-size: calc(var(--w) * 0.044);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.bf-iphone__statut svg {
  height: calc(var(--w) * 0.034);
  width: auto;
}
.bf-iphone__ile {
  position: absolute;
  top: calc(var(--w) * 0.03);
  left: 50%;
  width: calc(var(--w) * 0.31);
  height: calc(var(--w) * 0.09);
  border-radius: 999px;
  background: #000;
  transform: translateX(-50%);
}
.bf-iphone__indicateur {
  position: absolute;
  bottom: calc(var(--w) * 0.022);
  left: 50%;
  width: calc(var(--w) * 0.34);
  height: calc(var(--w) * 0.013);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.85);
  transform: translateX(-50%);
}
/* Un reflet de verre, a peine. */
.bf-iphone__ecran::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.13) 0%, rgb(255 255 255 / 0) 34%);
  pointer-events: none;
}
/* Le halo derriere le telephone. */
.bf-iphone::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 8% -30% 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(108 172 228 / 0.55), transparent);
  filter: blur(10px);
}
/* Le meme telephone, en petit, dans « Comment ca marche ». */
.bf-iphone--petit {
  --w: min(12.5rem, 100%);
}
.bf-iphone--petit::before {
  inset: 12% 0 8%;
  opacity: 0.55;
}
@keyframes bf-flotte {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* 4. PAGES INTERIEURES ----------------------------------------------- */

/* Le bandeau : le bleu de la marque, ses arcs, et de l'air sous le texte
   pour que la premiere carte vienne le chevaucher. */
body[data-page-longue] .bande {
  position: relative;
  overflow: hidden;
  padding-bottom: clamp(6.5rem, 12vh, 8.5rem);
  isolation: isolate;
}
body[data-page-longue] .bande::after {
  z-index: 0;
  inset: -40% -12% auto auto;
  width: min(62vw, 54rem);
}
body[data-page-longue] .bande__contenu {
  position: relative;
  z-index: 1;
}
body[data-page-longue] .bande__titre {
  font-weight: 600;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
body[data-page-longue] .bande .surtitre,
body[data-page-longue] .bande__surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  padding: 0.4rem 0.85rem 0.4rem 0.7rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.12);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
body[data-page-longue] .bande .surtitre::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--bf-2905);
  box-shadow: 0 0 0 3px rgb(141 200 232 / 0.22);
}
/* Le fil d'Ariane : discret, en pastilles. */
body[data-page-longue] .fil {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
}
body[data-page-longue] .fil a {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.1);
  color: rgb(238 242 251 / 0.9);
  text-decoration: none;
  transition: background-color 0.25s ease;
}
body[data-page-longue] .fil a:hover {
  background: rgb(255 255 255 / 0.2);
}
body[data-page-longue] .fil__sep {
  opacity: 0.55;
}
/* L'offre sous le bouton du bandeau : une pastille de verre. */
body[data-page-longue] .bande__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.2rem;
}
body[data-page-longue] .bande__offre,
body[data-page-longue] .bande .hero__essai {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0.7rem 1.1rem;
  border: 0;
  border-radius: var(--bf-r-m);
  background: rgb(255 255 255 / 0.1);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}
body[data-page-longue] .bande__offre small,
body[data-page-longue] .bande .hero__essai span:not(.bf-gratuit) {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgb(238 242 251 / 0.8);
}
body[data-page-longue] .bande .hero__essai b {
  font-size: inherit;
  font-weight: 600;
}

/* Le contenu : le blanc bleute, et chaque section devient une carte. La
   premiere carte remonte sur le bandeau, mais la section elle-meme reste
   sous lui (flow-root) : la barre du haut, qui passe au clair quand une
   section claire entre dans l'ecran, reste bleue sur le bandeau. */
body[data-page-longue] .contenu {
  position: relative;
  z-index: 2;
  display: flow-root;
  padding-top: 0;
  background: var(--bf-jour);
}
body[data-page-longue] .contenu > .page {
  margin-top: clamp(-5.5rem, -9vh, -4rem);
  row-gap: clamp(1.25rem, 2.4vw, 1.75rem);
}
body[data-page-longue] .page > .section,
body[data-page-longue] .page > .loi__section,
body[data-page-longue] .page > .sommaire {
  position: relative;
  justify-self: stretch;
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(1.6rem, 4vw, 3.4rem);
  border-radius: var(--bf-r-xl);
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
}
/* La premiere carte chevauche le bandeau : elle monte plus haut. */
body[data-page-longue] .page > .section:first-child {
  box-shadow: var(--bf-ombre-levee);
}
/* « En quelques lignes » : la carte d'ouverture. */
body[data-page-longue] .page > .reponse {
  background: #fff;
  color: var(--bf-encre);
}
body[data-page-longue] .page > .reponse h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.25rem, 1.9vw, 1.55rem);
  color: var(--bf-293);
}
body[data-page-longue] .page > .reponse .reponse__texte,
body[data-page-longue] .page > .reponse p {
  max-width: none;
  margin: 0;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
  line-height: 1.7;
  color: var(--bf-encre);
}
body[data-page-longue] .page > .reponse a {
  color: var(--bf-2935);
}

/* Titres et textes des cartes. */
body[data-page-longue] .contenu h2 {
  margin-top: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--bf-encre);
  text-wrap: balance;
}
body[data-page-longue] .contenu .section > h2:not(.surtitre) {
  font-size: clamp(1.65rem, 2.7vw, 2.35rem);
  max-width: 24ch;
}
body[data-page-longue] .contenu h3 {
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--bf-encre);
}
body[data-page-longue] .contenu .surtitre {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  margin: 0 0 1rem;
  padding: 0.38rem 0.8rem 0.38rem 0.65rem;
  border-radius: 999px;
  background: var(--bf-glace);
  color: var(--bf-293);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
body[data-page-longue] .contenu .surtitre::before {
  content: '';
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 3px rgb(0 61 165 / 0.14);
}
body[data-page-longue] .contenu .section__lede {
  max-width: 62ch;
  font-size: clamp(1.02rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  color: var(--bf-texte);
}
body[data-page-longue] .contenu .section p:not([class]),
body[data-page-longue] .contenu .lecture__texte p {
  max-width: var(--bf-mesure);
  color: var(--bf-texte);
  line-height: 1.72;
}
body[data-page-longue] .contenu .section p:not([class]) b,
body[data-page-longue] .contenu .section p:not([class]) strong {
  color: var(--bf-encre);
  font-weight: 650;
}
/* Les liens dans le texte : le bleu de la marque, jamais le bleu par defaut. */
body[data-page-longue] .contenu .section p a:not(.bouton),
body[data-page-longue] .contenu .section ul:not([class]) > li a,
body[data-page-longue] .contenu .section ol:not([class]) > li a,
body[data-page-longue] .contenu .section__note a,
body[data-page-longue] .contenu .loi a {
  color: var(--bf-2935);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
body[data-page-longue] .contenu .section p a:not(.bouton):hover,
body[data-page-longue] .contenu .section ul:not([class]) > li a:hover {
  color: var(--bf-293);
}
/* Les listes simples : une coche dans un rond bleu pale. */
body[data-page-longue] .contenu .section ul:not([class]) {
  display: grid;
  gap: 0.55rem;
  max-width: var(--bf-mesure);
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .contenu .section ul:not([class]) > li,
body[data-page-longue] .coches > li,
body[data-page-longue] .carte ul > li,
body[data-page-longue] .formule ul > li,
body[data-page-longue] .cadre__col--oui li {
  position: relative;
  padding-left: 2rem;
  list-style: none;
  color: var(--bf-texte);
  line-height: 1.55;
}
body[data-page-longue] .contenu .section ul:not([class]) > li::before,
body[data-page-longue] .coches > li::before,
body[data-page-longue] .carte ul > li::before,
body[data-page-longue] .formule ul > li::before,
body[data-page-longue] .cadre__col--oui li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.12em;
  width: 1.3rem;
  height: 1.3rem;
  border: 0;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23003da5' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 0.82rem no-repeat,
    var(--bf-glace);
  transform: none;
  mask: none;
}
body[data-page-longue] .coches {
  display: grid;
  gap: 0.7rem;
  margin: 1.2rem 0;
  padding: 0;
}
/* Ce qui n'est pas inclus : un tiret, pas une coche. */
body[data-page-longue] .cadre__col--non li {
  position: relative;
  padding-left: 2rem;
  list-style: none;
  color: var(--bf-doux);
}
body[data-page-longue] .cadre__col--non li::before {
  content: '';
  position: absolute;
  left: 0.35rem;
  top: 0.75em;
  width: 0.6rem;
  height: 2px;
  border-radius: 2px;
  background: var(--bf-doux);
}

/* Les tuiles dans une carte : blanc bleute, sans filet. */
body[data-page-longue] .carte,
body[data-page-longue] .formule,
body[data-page-longue] .choix > li,
body[data-page-longue] .point,
body[data-page-longue] .cadre__col,
body[data-page-longue] .repere,
body[data-page-longue] .etape-p,
body[data-page-longue] .etapes > li {
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
  box-shadow: none;
}
body[data-page-longue] .carte,
body[data-page-longue] .formule {
  padding: clamp(1.3rem, 2.4vw, 1.9rem);
  transition: transform 0.45s var(--bf-ease), box-shadow 0.45s var(--bf-ease), background-color 0.3s ease;
}
body[data-page-longue] .carte:hover,
body[data-page-longue] .formule:hover {
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
  transform: translateY(-3px);
}
body[data-page-longue] .carte h3,
body[data-page-longue] .formule h3 {
  margin-top: 0;
  font-size: 1.18rem;
}
body[data-page-longue] .carte p,
body[data-page-longue] .formule p {
  color: var(--bf-texte);
  line-height: 1.65;
}
body[data-page-longue] .carte ul,
body[data-page-longue] .formule ul {
  display: grid;
  gap: 0.6rem;
  padding: 0;
}
/* Les petits intitules dans les cartes (Taches incluses, Ideal pour...). */
body[data-page-longue] .carte :is(.carte__note, h4, .carte__sous),
body[data-page-longue] .formule__sous,
body[data-page-longue] .carte p > small {
  color: var(--bf-293);
}
/* La carte mise en avant (plan Standard, engagement annuel) : un anneau. */
body[data-page-longue] .carte:is(.carte--vedette, .carte--mise, [data-vedette], .carte--standard),
body[data-page-longue] .formule--reduit {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--bf-293), var(--bf-ombre-carte);
}
body[data-page-longue] :is(.formule, .carte) .formule__sous,
body[data-page-longue] .formule__sous {
  margin: 1.1rem 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  color: var(--bf-293);
}
/* Sur la carte de l'engagement annuel, le premier intitule est l'offre : orange. */
body[data-page-longue] .formule--reduit > .formule__sous:first-child {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  background: var(--bf-orange);
  color: #fff;
  font-weight: 650;
}

/* Les choix numerotes (01 Le plan, 02 La frequence...) */
body[data-page-longue] .choix {
  gap: 0.9rem;
}
body[data-page-longue] .choix > li {
  padding: 1.15rem 1.25rem;
  transition: transform 0.45s var(--bf-ease), background-color 0.3s ease, box-shadow 0.45s var(--bf-ease);
}
body[data-page-longue] .choix > li:hover {
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
  transform: translateY(-3px);
}
body[data-page-longue] .choix__n,
body[data-page-longue] .point__n,
body[data-page-longue] .etape-p__n,
body[data-page-longue] .etapes__n {
  display: inline-grid;
  place-items: center;
  min-width: 2.3rem;
  height: 2.3rem;
  padding: 0 0.4rem;
  border-radius: 12px;
  background: linear-gradient(150deg, #1d63d4, var(--bf-293));
  color: #fff;
  font-size: 0.82rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 8px 16px -8px rgb(0 61 165 / 0.7);
}
body[data-page-longue] .choix__n {
  justify-self: start;
  align-self: start;
  width: fit-content;
  margin-bottom: 0.7rem;
}
body[data-page-longue] .point {
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  margin-bottom: 0.9rem;
}
body[data-page-longue] .point h3 {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
body[data-page-longue] .point__reponse {
  padding: 1rem 1.15rem;
  border-radius: var(--bf-r-m);
  background: #fff;
  color: var(--bf-texte);
}
body[data-page-longue] .point__reponse b {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--bf-293);
}

/* L'echelle des frequences : une barre degradee, des crans ronds. */
body[data-page-longue] .echelle {
  padding: 1.6rem 1.2rem 1.1rem;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
}
body[data-page-longue] .echelle__barre {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--bf-290), var(--bf-279) 55%, var(--bf-293));
}
body[data-page-longue] .echelle__point {
  width: 1rem;
  height: 1rem;
  border: 3px solid var(--bf-293);
  background: #fff;
  box-shadow: 0 4px 10px -4px rgb(0 61 165 / 0.6);
}
body[data-page-longue] .echelle__label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--bf-texte);
}

/* Les reperes (pastilles cochees) et les chiffres du marche. */
body[data-page-longue] .reperes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.2rem 0;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .reperes > li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem 0.5rem 0.55rem;
  border-radius: 999px;
  background: var(--bf-jour);
  color: var(--bf-encre);
  font-size: 0.9rem;
  font-weight: 500;
}
body[data-page-longue] .reperes > li::before {
  content: '';
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 999px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6.5 12.5 3.5 3.5 7.5-8'/%3E%3C/svg%3E") center / 0.8rem no-repeat,
    var(--bf-293);
}
body[data-page-longue] .reperes-marche {
  gap: 0.9rem;
}
body[data-page-longue] .repere {
  padding: 1.3rem 1.4rem;
}
body[data-page-longue] .repere b {
  display: block;
  margin-bottom: 0.3rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--bf-293);
}
body[data-page-longue] .repere span {
  color: var(--bf-texte);
}

/* Les etapes detaillees (Comment ca marche, Changer de fournisseur). */
body[data-page-longue] .etape-p {
  padding: clamp(1.3rem, 2.6vw, 2rem);
}
body[data-page-longue] .etape-p__dl > div {
  padding: 0.9rem 1rem;
  border-radius: var(--bf-r-m);
  background: #fff;
}
body[data-page-longue] .etape-p__dl dt {
  color: var(--bf-293);
  font-weight: 600;
}
body[data-page-longue] .etape-p__repere {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-texte);
}
body[data-page-longue] .etapes {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .etapes > li {
  padding: 1.2rem 1.4rem;
}

/* Le comparatif : la colonne Ninja Bleu en bleu pale. */
body[data-page-longue] .duel-p {
  overflow: hidden;
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
}
body[data-page-longue] .duel-p__tete > div,
body[data-page-longue] .duel-p__ligne > div {
  border-color: var(--bf-filet);
}
body[data-page-longue] .duel-p__tete .duel-p__nb,
body[data-page-longue] .duel-p__ligne .duel-p__nb {
  background: var(--bf-glace);
  color: var(--bf-encre);
}
body[data-page-longue] .duel-p__tete .duel-p__nb {
  color: var(--bf-293);
  font-weight: 600;
}
body[data-page-longue] .duel-p__dim {
  font-weight: 650;
  color: var(--bf-encre);
}

/* Les cadres oui / non. */
body[data-page-longue] .cadre {
  gap: 0.9rem;
}
body[data-page-longue] .cadre__col {
  padding: clamp(1.3rem, 2.4vw, 1.8rem);
}
body[data-page-longue] .cadre__col--oui {
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--bf-glace-fort);
}
body[data-page-longue] .cadre__col ul {
  display: grid;
  gap: 0.6rem;
  padding: 0;
}

/* Les liens vers d'autres pages : des cartes, une fleche dans un rond. */
body[data-page-longue] .liens-cartes,
body[data-page-longue] .secteurs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
  gap: 0.9rem;
  margin: 1.3rem 0 0;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .liens-cartes a,
body[data-page-longue] .secteurs a {
  position: relative;
  display: grid;
  align-content: start;
  gap: 0.35rem;
  height: 100%;
  grid-template-columns: minmax(0, 1fr);
  padding: 1.25rem 3.6rem 1.3rem 1.3rem;
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
  color: var(--bf-encre);
  text-decoration: none;
  transition: transform 0.45s var(--bf-ease), box-shadow 0.45s var(--bf-ease), background-color 0.3s ease;
}
body[data-page-longue] .liens-cartes a::after,
body[data-page-longue] .secteurs a::after {
  content: '→';
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-293);
  font-size: 0.9rem;
  box-shadow: var(--bf-ombre-tuile);
  transition: transform 0.35s var(--bf-ease), background-color 0.25s ease, color 0.25s ease;
}
body[data-page-longue] .secteurs a > .fleche {
  display: none;
}
body[data-page-longue] .liens-cartes a:hover,
body[data-page-longue] .secteurs a:hover {
  background: #fff;
  box-shadow: var(--bf-ombre-carte);
  transform: translateY(-3px);
}
body[data-page-longue] .liens-cartes a:hover::after,
body[data-page-longue] .secteurs a:hover::after {
  background: var(--bf-293);
  color: #fff;
  transform: translateX(2px);
}
body[data-page-longue] .liens-cartes b,
body[data-page-longue] .secteurs b {
  font-size: 1.02rem;
  font-weight: 650;
  line-height: 1.3;
}
body[data-page-longue] .liens-cartes span,
body[data-page-longue] .secteurs span {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--bf-texte);
}
/* Les quartiers et villes : des pastilles. */
body[data-page-longue] .liens-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .liens-zones a {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--bf-jour);
  color: var(--bf-encre);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--bf-ease);
}
body[data-page-longue] .liens-zones a:hover {
  background: var(--bf-293);
  color: #fff;
  transform: translateY(-2px);
}
/* Pour aller plus loin : des rangees cliquables. */
body[data-page-longue] .maillage__liste {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
  gap: 0.6rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
body[data-page-longue] .maillage__liste li {
  padding: 0;
  list-style: none;
}
body[data-page-longue] .maillage__liste li::before {
  content: none;
}
body[data-page-longue] .maillage__liste a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 100%;
  padding: 0.95rem 0.95rem 0.95rem 1.2rem;
  border: 0;
  border-radius: var(--bf-r-m);
  background: var(--bf-jour);
  color: var(--bf-encre);
  font-size: 0.95rem;
  font-weight: 550;
  line-height: 1.4;
  text-decoration: none;
  transition: background-color 0.25s ease, transform 0.35s var(--bf-ease);
}
body[data-page-longue] .maillage__liste a .fleche {
  display: grid;
  flex: none;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-293);
  font-size: 0.85rem;
  transition: transform 0.35s var(--bf-ease), background-color 0.25s ease, color 0.25s ease;
}
body[data-page-longue] .maillage__liste a:hover {
  background: var(--bf-glace);
}
body[data-page-longue] .maillage__liste a:hover .fleche {
  background: var(--bf-293);
  color: #fff;
  transform: translateX(2px);
}
/* Un avis pose dans une carte : une tuile, pas une seconde carte. */
body[data-page-longue] .page > .section .temoin {
  box-shadow: none;
  background: var(--bf-jour);
}
body[data-page-longue] .maillage .temoin {
  margin-top: 1.4rem;
  box-shadow: none;
  background: var(--bf-jour);
}
/* Les zones desservies. */
body[data-page-longue] .zones__groupe {
  padding: 1.2rem 1.3rem;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
}
body[data-page-longue] .zones__titre {
  font-weight: 600;
  color: var(--bf-293);
}
body[data-page-longue] .zones__groupe ul {
  padding: 0;
  list-style: none;
}
body[data-page-longue] .zones__groupe li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--bf-filet);
}
body[data-page-longue] .zones__groupe li:last-child {
  border-bottom: 0;
}
body[data-page-longue] .zones__groupe a {
  font-weight: 600;
  color: var(--bf-encre);
  text-decoration: none;
}
body[data-page-longue] .zones__groupe a:hover {
  color: var(--bf-293);
}
body[data-page-longue] .zones__tissu {
  color: var(--bf-doux);
}

/* La FAQ : les rubriques en pastilles. */
body[data-page-longue] .themes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
body[data-page-longue] .themes a {
  padding: 0.5rem 0.95rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--bf-293);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--bf-ombre-tuile);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.35s var(--bf-ease);
}
body[data-page-longue] .themes a:hover {
  background: var(--bf-293);
  color: #fff;
  transform: translateY(-2px);
}
/* Dans une carte, la FAQ ne refait pas une carte : des rangees. */
body[data-page-longue] .page > .section .questions {
  padding: 0;
  margin-top: 1.2rem;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-page-longue] .page > .section .question {
  margin-inline: -1.1rem;
}

/* Les tableaux des guides. */
body[data-page-longue] .tab-guide {
  overflow: hidden;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
}
body[data-page-longue] .tab-guide th,
body[data-page-longue] .tab-guide td {
  padding: 0.85rem 1.1rem;
  border: 0;
  border-bottom: 1px solid var(--bf-filet);
  text-align: left;
  vertical-align: top;
}
body[data-page-longue] .tab-guide thead th {
  background: var(--bf-293);
  color: #fff;
  font-weight: 600;
}
body[data-page-longue] .tab-guide tbody tr:last-child > * {
  border-bottom: 0;
}
body[data-page-longue] .tab-guide tbody th {
  color: var(--bf-encre);
  font-weight: 650;
}
body[data-page-longue] .tab-guide td {
  color: var(--bf-texte);
}
body[data-page-longue] .source {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  color: var(--bf-doux);
  font-size: 0.88rem;
}
body[data-page-longue] .source > span:first-child {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  background: var(--bf-glace);
  color: var(--bf-293);
  font-weight: 600;
  font-size: 0.78rem;
}
body[data-page-longue] .modele {
  position: relative;
  margin: 1.3rem 0;
  padding: 1.4rem 1.5rem 1.4rem 3.6rem;
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
  color: var(--bf-encre);
}
body[data-page-longue] .modele::before {
  content: '';
  position: absolute;
  left: 1.2rem;
  top: 1.35rem;
  width: 1.5rem;
  height: 1.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003da5'%3E%3Cpath d='M9.6 6C6.3 7.4 4.5 10 4.5 13.4c0 2.6 1.6 4.4 3.8 4.4 1.9 0 3.3-1.4 3.3-3.2 0-1.8-1.3-3-3-3-.4 0-.8.1-1 .2.3-1.7 1.6-3.2 3.6-4.1zm9 0c-3.3 1.4-5.1 4-5.1 7.4 0 2.6 1.6 4.4 3.8 4.4 1.9 0 3.3-1.4 3.3-3.2 0-1.8-1.3-3-3-3-.4 0-.8.1-1 .2.3-1.7 1.6-3.2 3.6-4.1z'/%3E%3C/svg%3E") center / contain no-repeat;
}
body[data-page-longue] .section__note {
  color: var(--bf-doux);
  font-size: 0.9rem;
}

/* Les pages legales : lisibles, la table des matieres en carte. */
body[data-page-longue] .sommaire ol {
  display: grid;
  gap: 0.3rem;
  padding: 0;
  list-style: none;
  counter-reset: none;
}
body[data-page-longue] .sommaire a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: var(--bf-r-s);
  color: var(--bf-encre);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
body[data-page-longue] .sommaire a:hover {
  background: var(--bf-jour);
  color: var(--bf-293);
}
body[data-page-longue] .loi__article h4,
body[data-page-longue] .loi h3 {
  color: var(--bf-encre);
  font-weight: 650;
}
body[data-page-longue] .loi__article p {
  max-width: var(--bf-mesure);
  color: var(--bf-texte);
  line-height: 1.72;
}

/* Le formulaire de la liste d'attente (Devenir Ninja) : les champs du tunnel. */
body[data-page-longue] .attente {
  display: grid;
  gap: 1rem;
}
body[data-page-longue] .attente__champ > span {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--bf-encre);
}
body[data-page-longue] .attente input[type='email'],
body[data-page-longue] .attente input[type='text'] {
  min-height: 3.3rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid #d4def0;
  border-radius: 14px;
  background: #fff;
  color: var(--bf-encre);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body[data-page-longue] .attente input[type='email']:focus,
body[data-page-longue] .attente input[type='text']:focus {
  outline: none;
  border-color: var(--bf-293);
  box-shadow: 0 0 0 4px rgb(0 61 165 / 0.14);
}

/* 5. L'APPEL FINAL (.fin), COMMUN A TOUTES LES PAGES ------------------ */
/* Une grande carte au bleu de la marque, la photo de l'equipe en
   filigrane, les arcs, le bouton blanc. */
.fin.sur-clair {
  min-height: auto;
  overflow: visible;
  padding-top: clamp(2.5rem, 7vh, 4.5rem);
  padding-bottom: clamp(3rem, 8vh, 5rem);
}
/* La photo de l'equipe est une vraie image dans la carte (son alt compte
   pour la recherche) ; le voile bleu par-dessus, les arcs encore au-dessus. */
.fin > .fin__fond,
.fin > .fin__voile {
  display: none;
}
.fin > .large > .fin__fond {
  position: absolute;
  z-index: -3;
  inset: 0;
  display: block;
  margin: 0;
}
.fin > .large > .fin__fond img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  opacity: 1;
  filter: none;
  transform: none;
}
.fin > .large > .fin__voile {
  position: absolute;
  z-index: -2;
  inset: 0;
  display: block;
  background: linear-gradient(180deg, rgb(0 61 165 / 0.86) 0%, rgb(0 46 128 / 0.94) 100%);
}
/* Les pages sans photo (pages legales, Devenir Ninja) : la meme carte, photo en fond. */
.fin > .large:not(:has(> .fin__fond)) {
  background:
    linear-gradient(180deg, rgb(0 61 165 / 0.86) 0%, rgb(0 46 128 / 0.94) 100%),
    url('photos/equipe-corridor-1600.jpg') center 30% / cover no-repeat,
    var(--bf-293);
}
.fin > .large {
  position: relative;
  z-index: 0;
  overflow: hidden;
  max-width: min(var(--large, 1240px) - 2 * var(--gouttiere, 5rem), 70rem);
  margin-inline: auto;
  padding: clamp(2.6rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  border-radius: var(--bf-r-xl);
  background: var(--bf-293);
  color: #fff;
  text-align: center;
  box-shadow: 0 2px 4px rgb(0 10 40 / 0.12), 0 40px 80px -36px rgb(0 30 100 / 0.65);
  isolation: isolate;
}
@supports (width: calc(1px - 2 * 1px)) {
  .fin > .large {
    width: calc(100% - 2 * var(--gouttiere, 1.25rem));
  }
}
.fin > .large::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: auto -14% -60% auto;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, transparent 64%, rgb(255 255 255 / 0.1) 64.5%, rgb(255 255 255 / 0.1) 66%, transparent 66.5%),
    radial-gradient(closest-side, transparent 80%, rgb(255 255 255 / 0.08) 80.5%, rgb(255 255 255 / 0.08) 82%, transparent 82.5%),
    radial-gradient(closest-side, transparent 96%, rgb(255 255 255 / 0.06) 96.5%, rgb(255 255 255 / 0.06) 98%, transparent 98.5%);
  pointer-events: none;
}
.fin > .large::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -50% auto auto -12%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(108 172 228 / 0.35), transparent);
  pointer-events: none;
}
.fin h2 {
  margin: 0 auto 1rem;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
}
.fin h2 .fort,
.sur-clair.fin h2 .fort {
  color: var(--bf-290);
}
.fin .fin__lede,
.fin .fin__note {
  max-width: 46ch;
  margin-inline: auto;
  color: rgb(238 242 251 / 0.88);
}
.fin .fin__lede b,
.fin .fin__note b {
  color: #fff;
  font-weight: 600;
}
.fin .fin__actions {
  margin-block: 1.8rem 1.2rem;
}
.fin .large .bouton.bouton--plein {
  width: auto;
  background: #fff;
  color: #08183a;
  box-shadow: 0 16px 34px -14px rgb(0 8 40 / 0.7);
}
.fin .large .bouton.bouton--plein .fleche {
  background: var(--bf-293);
  color: #fff;
}
.fin .fin__preuve {
  margin-top: 1rem;
  color: #fff;
}
.fin .fin__preuve a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgb(255 255 255 / 0.45);
  text-underline-offset: 4px;
  border: 0;
}
.fin .fin__preuve a:hover {
  text-decoration-color: #fff;
}
.fin .etoiles,
.sur-clair .fin .etoiles,
.fin .fin__preuve .etoiles {
  color: #fff;
}
.fin .bf-gratuit {
  font-size: 0.95em;
}

/* 6. LE PIED DE PAGE ------------------------------------------------- */
.pied.sur-clair,
.pied {
  --clair: #fff;
  --clair-doux: rgb(232 239 252 / 0.78);
  --clair-faible: rgb(232 239 252 / 0.62);
  margin-top: 0;
  padding-top: clamp(3rem, 7vh, 4.5rem);
  background:
    radial-gradient(90% 120% at 100% 0%, rgb(0 87 184 / 0.35), transparent 60%),
    linear-gradient(180deg, #032a74 0%, var(--bf-nuit) 100%);
  color: #fff;
}
.pied .pied-b__phrase,
.pied .pied-b__nap {
  color: rgb(232 239 252 / 0.78);
}
.pied .pied-b__titre,
.pied .pied-b__titre a {
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}
.pied a {
  color: rgb(232 239 252 / 0.82);
  text-decoration: none;
  border-bottom-color: rgb(255 255 255 / 0.25);
  transition: color 0.2s ease;
}
.pied a:hover {
  color: #fff;
}
.pied .pied-c {
  border-top-color: rgb(255 255 255 / 0.14);
}
.pied .pied-c__copie,
.pied .pied-c__mentions a {
  color: rgb(232 239 252 / 0.62);
}
/* Le blanc bleute s'arrete net au pied, sans bande claire. */
html:has(body[data-page-longue]),
body[data-page-longue] {
  background-color: var(--bf-jour);
}

/* 7. LA BANNIERE DES TEMOINS ----------------------------------------- */
.temoins {
  border: 0;
  border-radius: var(--bf-r-l);
  background: #fff;
  box-shadow: var(--bf-ombre-levee), 0 0 0 1px rgb(11 18 32 / 0.04);
}
.temoins .bouton {
  min-height: 2.8rem;
  padding-inline: 1.1rem;
}

/* 8. TELEPHONE ET TABLETTE (pages interieures, appel final) ------- */
@media (max-width: 640px) {
  body[data-page-longue] .page > .section,
  body[data-page-longue] .page > .loi__section,
  body[data-page-longue] .page > .sommaire {
    padding: 1.5rem 1.25rem;
    border-radius: var(--bf-r-l);
  }
  .fin > .large {
    border-radius: var(--bf-r-l);
    padding: 2.4rem 1.25rem;
  }
  :is(.bf-bloc, .bande, .contenu, .fin) .bouton {
    min-height: 3.2rem;
  }
}

/* 9. MOUVEMENT REDUIT ------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .bf-iphone__corps {
    animation: none;
  }
  html.js-anim .bf-bloc .revele,
  html.js-anim body[data-page-longue] .revele,
  html.js-anim .revele .bf-cascade > * {
    translate: none;
    transition: none;
  }
  :is(.bf-bloc, .bande, .contenu, .fin) .bouton,
  .bf-offre__panneau,
  .bf-ponctuel__photo img,
  body[data-page-longue] .carte,
  body[data-page-longue] .formule {
    transition: none;
  }
}

/* 10. LES GUIDES : LE TEXTE LONG, LISIBLE ------------------------------ */
body[data-page-longue] .lecture__texte > h2,
body[data-page-longue] .lecture__texte > h3 {
  margin: 2.6rem 0 0.8rem;
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--bf-encre);
}
body[data-page-longue] .lecture__texte > :is(h2, h3):first-child {
  margin-top: 0;
}
body[data-page-longue] .lecture__texte > p {
  margin: 0 0 1rem;
}
/* « Ce que tu vas lire » : une tuile, des rangees cliquables. */
body[data-page-longue] .section .sommaire {
  margin: 1.2rem 0 2.4rem;
  padding: 1.2rem 1.2rem 0.8rem;
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
}
body[data-page-longue] .contenu .sommaire ol > li {
  padding: 0;
  border: 0;
}
body[data-page-longue] .contenu .section .sommaire ol > li a,
body[data-page-longue] .contenu .sommaire ol > li a {
  display: block;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: var(--bf-r-s);
  color: var(--bf-encre);
  font-size: 0.95rem;
  font-weight: 550;
  text-decoration: none;
  transition: background-color 0.25s ease, color 0.25s ease;
}
body[data-page-longue] .contenu .section .sommaire ol > li a:hover,
body[data-page-longue] .contenu .sommaire ol > li a:hover {
  background: #fff;
  color: var(--bf-293);
}
body[data-page-longue] form.attente {
  max-width: 36rem;
  padding: clamp(1.2rem, 2.6vw, 1.8rem);
  border: 0;
  border-radius: var(--bf-r-l);
  background: var(--bf-jour);
  box-shadow: none;
}

/* 11. RIEN NE DEPASSE SUR LES COTES ----------------------------------- */
/* Le halo du telephone et les grandes ombres ne doivent jamais elargir la
   page sur un telephone (clip, pas hidden : la barre du haut reste fixe). */
body,
.bf-bloc,
body[data-page-longue] .contenu {
  overflow-x: clip;
}
@media (max-width: 640px) {
  .bf-iphone::before {
    inset: 8% -8% 4%;
  }
}
/* Les chiffres qu'on peut verifier (A propos) : le chiffre en bleu. */
body[data-page-longue] .cartes--quatre .carte h3 {
  color: var(--bf-293);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

/* 12. DEUXIEME PASSE (retour de Swan du 1er dec.) --------------------- */
/* Plus de pastille au-dessus d'un titre : le titre suffit. Un surtitre qui
   est seul (sans titre apres lui) devient le titre de sa carte. */
body[data-page-longue] :is(.bande, .contenu) .surtitre.surtitre:has(+ :is(h1, h2)) {
  display: none;
}
body[data-page-longue] .contenu .surtitre:not(:has(+ :is(h1, h2))) {
  display: block;
  width: auto;
  margin: 0 0 1.1rem;
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--bf-encre);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.15;
}
body[data-page-longue] .contenu .surtitre:not(:has(+ :is(h1, h2)))::before {
  content: none;
}
/* Les titres au dessin du premier ecran : semi-gras, serres. */
body[data-page-longue] .bande__titre,
body[data-page-longue] .contenu h2,
.fin h2 {
  font-weight: 600;
  letter-spacing: -0.034em;
}
/* Sur le bleu, l'accent est le bleu tres clair du premier ecran, jamais
   un bleu moyen. */
.fin h2 .fort,
.sur-clair.fin h2 .fort {
  color: #dce8ff;
}
/* Dans une rangee, les tuiles ont toutes la meme hauteur. */
body[data-page-longue] :is(.cartes, .formules, .choix, .liens-cartes, .secteurs, .reperes-marche, .maillage__liste, .cadre, .zones) {
  align-items: stretch;
}
body[data-page-longue] :is(.cartes, .formules, .cadre, .reperes-marche) > *,
body[data-page-longue] .choix > li,
body[data-page-longue] :is(.liens-cartes, .secteurs, .maillage__liste) > li {
  height: auto;
  align-self: stretch;
}
body[data-page-longue] :is(.liens-cartes, .secteurs, .maillage__liste) > li > a {
  height: 100%;
}
