/* ==================================================================
   BK Auto Brillance — couche « conversion » (sept. 2026)
   Composants communs à toutes les pages : CTA, barre mobile, offres,
   réassurance, FAQ d'accueil, pied de page, sortie de page.
   Couleurs de marque : #1A3251 (bleu nuit) · #C5C7EB (lavande acier)
   ================================================================== */
:root {
  --bk-nuit: #1A3251;
  --bk-lavande: #C5C7EB;
  --bk-lavande-2: #9a9ed4;
  --bk-noir: #0a1120;
  --bk-encre: #0f1a2e;
  --bk-texte: #4a5366;
  --bk-trait: #e6e8f2;
  --bk-metal: linear-gradient(135deg, #eef0fb 0%, #C5C7EB 55%, #9a9ed4 100%);
  --bk-rayon: 18px;
}

/* ---------- Performance : pas d'écran de chargement, pas de curseur sur tactile ---------- */
[data-loader] { display: none !important; }
@media (hover: none), (pointer: coarse) {
  [data-cursor-ring], [data-cursor-dot] { display: none !important; }
}

/* ---------- Boutons ---------- */
.bk-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: 999px;
  font-weight: 800; font-size: 15.5px; line-height: 1; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 0;
  transition: transform .25s cubic-bezier(.16, 1, .3, 1), box-shadow .25s ease, background-color .25s ease, border-color .25s ease;
}
.bk-btn:active { transform: scale(.98); }
.bk-btn-primaire { background: var(--bk-metal); color: var(--bk-noir) !important; box-shadow: 0 16px 40px -16px rgba(154, 158, 212, .75); }
.bk-btn-primaire:hover { transform: translateY(-2px); box-shadow: 0 22px 50px -16px rgba(154, 158, 212, .9); }
.bk-btn-secondaire { background: rgba(255, 255, 255, .04); color: #fff !important; border: 1px solid rgba(197, 199, 235, .45); font-weight: 700; }
.bk-btn-secondaire:hover { border-color: var(--bk-lavande); background: rgba(197, 199, 235, .1); }
.bk-btn-clair { background: var(--bk-nuit); color: #fff !important; box-shadow: 0 14px 34px -16px rgba(26, 50, 81, .8); }
.bk-btn-clair:hover { transform: translateY(-2px); background: #22406a; }
.bk-btn-contour { background: transparent; color: var(--bk-nuit) !important; border: 1.5px solid rgba(26, 50, 81, .35); font-weight: 700; }
.bk-btn-contour:hover { border-color: var(--bk-nuit); }
.bk-btn .bk-fleche { transition: transform .25s ease; }
.bk-btn:hover .bk-fleche { transform: translateX(3px); }

/* ---------- En-tête ---------- */
.bk-header-cta { display: inline-flex; align-items: center; gap: 10px; }
.bk-header-cta .bk-btn { min-height: 44px; padding: 0 20px; font-size: 14px; }
.bk-header-cta .bk-lien-estim { color: rgba(255, 255, 255, .82); font-size: 14px; font-weight: 600; white-space: nowrap; }
.bk-header-cta .bk-lien-estim:hover { color: #fff; }
@media (max-width: 1080px) { .bk-header-cta .bk-lien-estim { display: none; } }
@media (max-width: 640px) { .bk-header-cta .bk-btn { min-height: 40px; padding: 0 16px; font-size: 13.5px; } }

/* Menu mobile */
.bk-menu-cta { display: flex; flex-direction: column; gap: 12px; width: min(320px, 86vw); margin-top: 18px; }
.bk-menu-cta .bk-btn { width: 100%; }
.bk-menu-tel { color: var(--bk-lavande) !important; font-weight: 700; font-size: 16px; padding: 10px; }

/* ---------- Héro ---------- */
.bk-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--bk-lavande);
}
.bk-hero-eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--bk-lavande); opacity: .7; }
.rf-hero .rf-h1.bk-h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.04; margin-bottom: 22px; }
.bk-h1 em { font-style: normal; color: var(--bk-lavande); }
.bk-hero-points { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 10px; }
.bk-hero-points li { display: flex; gap: 10px; align-items: flex-start; color: rgba(233, 238, 246, .82); font-size: 15.5px; line-height: 1.5; }
.bk-hero-points li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: rgba(197, 199, 235, .16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C5C7EB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.bk-hero-preuve { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 26px; font-size: 14px; color: rgba(233, 238, 246, .75); }
.bk-hero-preuve a { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.bk-hero-preuve a:hover { color: var(--bk-lavande); }
.bk-etoiles { color: #e8a33b; letter-spacing: 2px; }
.bk-hero-preuve .bk-sep { width: 1px; height: 16px; background: rgba(255, 255, 255, .2); }
.bk-hero-pro { display: inline-block; margin-top: 18px; font-size: 14px; color: rgba(233, 238, 246, .7); }
.bk-hero-pro a { color: var(--bk-lavande); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .bk-hero-points { margin-bottom: 26px; }
  .bk-hero-points li { font-size: 15px; }
  .rf-hero .rf-cta-row .bk-btn { width: 100%; }
  .bk-hero-preuve .bk-sep { display: none; }
}

/* ---------- Sections génériques ---------- */
.bk-section { position: relative; padding: 110px 0; }
.bk-wrap { max-width: 1220px; margin: 0 auto; padding: 0 26px; }
.bk-kicker { font-size: 12px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #6b70a8; margin: 0 0 14px; }
.bk-sombre .bk-kicker { color: var(--bk-lavande); }
.bk-h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.06; letter-spacing: -.025em; color: var(--bk-encre); margin: 0 0 16px; }
.bk-sombre .bk-h2 { color: #fff; }
.bk-intro { font-size: 17px; line-height: 1.65; color: var(--bk-texte); margin: 0; max-width: 640px; }
.bk-sombre .bk-intro { color: rgba(233, 238, 246, .72); }
.bk-entete { margin-bottom: 48px; }
.bk-cta-suite { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 40px; }
.bk-cta-suite .bk-note { font-size: 13.5px; color: #6b7385; }
.bk-sombre .bk-cta-suite .bk-note { color: rgba(233, 238, 246, .6); }
@media (max-width: 640px) {
  .bk-section { padding: 72px 0; }
  .bk-wrap { padding: 0 20px; }
  .bk-cta-suite .bk-btn { width: 100%; }
  .bk-entete { margin-bottom: 32px; }
}

/* ---------- Offres ---------- */
.bk-offres { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.bk-offre {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--bk-trait);
  border-radius: 22px; overflow: hidden; transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s ease, border-color .35s ease;
}
.bk-offre:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(15, 26, 46, .45); border-color: #cfd2ea; }
.bk-offre-img { aspect-ratio: 16 / 10; overflow: hidden; background: #e9ebf5; }
.bk-offre-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.bk-offre:hover .bk-offre-img img { transform: scale(1.05); }
.bk-offre-corps { display: flex; flex-direction: column; gap: 14px; padding: 24px 22px 22px; flex: 1; }
.bk-offre-type { font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6b70a8; }
.bk-offre h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--bk-encre); margin: 0; }
.bk-offre-pourqui { font-size: 14.5px; line-height: 1.55; color: var(--bk-texte); margin: 0; }
.bk-offre-inclus { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.bk-offre-inclus li { position: relative; padding-left: 22px; font-size: 14px; line-height: 1.45; color: #2c3547; }
.bk-offre-inclus li::before { content: ""; position: absolute; left: 0; top: 6px; width: 12px; height: 7px; border-left: 2px solid var(--bk-nuit); border-bottom: 2px solid var(--bk-nuit); transform: rotate(-45deg); }
.bk-offre-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--bk-trait); }
.bk-offre-meta span { display: block; font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #8a90a3; }
.bk-offre-meta strong { display: block; font-family: 'Sora', sans-serif; font-size: 15px; color: var(--bk-encre); margin-top: 3px; }
.bk-offre-actions { display: grid; gap: 8px; }
.bk-offre-actions .bk-btn { width: 100%; min-height: 48px; font-size: 14.5px; }
.bk-offre-actions .bk-lien { text-align: center; font-size: 13.5px; font-weight: 700; color: var(--bk-nuit); padding: 6px; }
.bk-offre-actions .bk-lien:hover { color: #3a4f8a; }
/* Offre mise en avant : logique réelle (intérieur + extérieur ≈ -10 %) */
.bk-offre-phare { background: linear-gradient(170deg, #1A3251 0%, #13233c 55%, #0f1a2e 100%); border-color: rgba(197, 199, 235, .55); box-shadow: 0 36px 80px -40px rgba(15, 26, 46, .8); }
.bk-offre-phare .bk-offre-type, .bk-offre-phare .bk-offre-meta span { color: var(--bk-lavande); }
.bk-offre-phare h3, .bk-offre-phare .bk-offre-meta strong { color: #fff; }
.bk-offre-phare .bk-offre-pourqui { color: rgba(233, 238, 246, .78); }
.bk-offre-phare .bk-offre-inclus li { color: rgba(255, 255, 255, .9); }
.bk-offre-phare .bk-offre-inclus li::before { border-color: var(--bk-lavande); }
.bk-offre-phare .bk-offre-meta { border-top-color: rgba(255, 255, 255, .12); }
.bk-offre-phare .bk-offre-actions .bk-lien { color: var(--bk-lavande); }
.bk-badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--bk-lavande); color: var(--bk-encre); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.bk-offres-note { margin-top: 22px; font-size: 13.5px; line-height: 1.6; color: #6b7385; }
@media (max-width: 1100px) { .bk-offres { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .bk-offres { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -20px; padding: 4px 20px 18px; scrollbar-width: none; }
  .bk-offres::-webkit-scrollbar { display: none; }
  .bk-offre { flex: 0 0 84%; scroll-snap-align: center; }
  .bk-offre:hover { transform: none; }
}
.bk-glisser { display: none; font-size: 12.5px; color: #8a90a3; margin: 0 0 10px; }
@media (max-width: 640px) { .bk-glisser { display: block; } }

/* ---------- Pourquoi BK (différenciation réelle) ---------- */
.bk-why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 22px; overflow: hidden; }
.bk-why > div { background: #0d1628; padding: 30px 28px; }
.bk-why-num { font-family: 'Sora', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--bk-lavande); margin-bottom: 14px; }
.bk-why h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; color: #fff; margin: 0 0 8px; line-height: 1.3; }
.bk-why p { font-size: 14.5px; line-height: 1.6; color: rgba(233, 238, 246, .66); margin: 0; }
@media (max-width: 980px) { .bk-why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .bk-why { grid-template-columns: 1fr; } .bk-why > div { padding: 24px 22px; } }

/* ---------- Avant / après : légende et CTA ---------- */
.bk-ba-legende { text-align: center; font-size: 13.5px; color: #6b7385; margin: 16px 0 0; }
[data-ba]:focus-visible { outline: 3px solid var(--bk-nuit); outline-offset: 4px; }

/* ---------- FAQ d'accueil ---------- */
.bk-faq-grille { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.bk-faq-aside { position: sticky; top: 120px; }
.bk-faq-aside .bk-carte-aide { margin-top: 28px; padding: 24px; border-radius: 18px; background: #f4f5fb; border: 1px solid var(--bk-trait); }
.bk-carte-aide p { margin: 0 0 14px; font-size: 14.5px; line-height: 1.6; color: var(--bk-texte); }
.bk-carte-aide .bk-btn { width: 100%; }
.bk-carte-aide a.bk-tel { display: block; text-align: center; margin-top: 12px; font-weight: 700; color: var(--bk-nuit); }
@media (max-width: 900px) { .bk-faq-grille { grid-template-columns: 1fr; gap: 20px; } .bk-faq-aside { position: static; } }

/* ---------- Bande finale ---------- */
.bk-final { position: relative; overflow: hidden; border-radius: 28px; padding: 60px 56px; background: radial-gradient(120% 140% at 0% 0%, #22406a 0%, #1A3251 40%, #0f1a2e 100%); box-shadow: 0 40px 90px -44px rgba(15, 26, 46, .8); }
.bk-final-grille { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.bk-final h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -.02em; color: #fff; margin: 0 0 14px; }
.bk-final p { font-size: 16.5px; line-height: 1.6; color: rgba(233, 238, 246, .75); margin: 0; }
.bk-final-actions { display: grid; gap: 12px; }
.bk-final-actions .bk-btn { width: 100%; }
.bk-final-actions small { text-align: center; font-size: 12.5px; color: rgba(233, 238, 246, .55); }
.bk-final-garanties { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 22px; padding: 0; list-style: none; }
.bk-final-garanties li { font-size: 13.5px; color: rgba(233, 238, 246, .8); display: flex; align-items: center; gap: 8px; }
.bk-final-garanties li::before { content: "✓"; color: var(--bk-lavande); font-weight: 800; }
@media (max-width: 860px) { .bk-final { padding: 40px 24px; border-radius: 22px; } .bk-final-grille { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- Pied de page ---------- */
.bk-footer { background: #070d18; color: rgba(233, 238, 246, .62); padding: 0 0 36px; }
.bk-footer a { color: rgba(233, 238, 246, .66); }
.bk-footer a:hover { color: #fff; }
.bk-footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 44px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bk-footer-cta strong { display: block; font-family: 'Sora', sans-serif; font-size: clamp(20px, 2.4vw, 26px); color: #fff; margin-bottom: 6px; }
.bk-footer-cta span { font-size: 14.5px; }
.bk-footer-cta .bk-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.bk-footer-grille { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 48px 0 40px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.bk-footer-titre { font-family: 'Sora', sans-serif; font-weight: 600; color: #fff; font-size: 14px; margin: 0 0 16px; }
.bk-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; font-size: 14px; }
.bk-footer-marque p { font-size: 14.5px; line-height: 1.65; margin: 14px 0 0; max-width: 320px; }
.bk-footer-logo { display: flex; align-items: center; gap: 10px; }
.bk-footer-logo span.bk-logo-carre { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; background: #fff; padding: 3px; }
.bk-footer-logo img { width: 100%; height: 100%; object-fit: contain; }
.bk-footer-logo b { font-family: 'Sora', sans-serif; color: #fff; font-size: 18px; }
.bk-footer-bas { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; color: rgba(233, 238, 246, .42); }
.bk-footer-bas nav { display: flex; gap: 18px; flex-wrap: wrap; }
.bk-footer-bas button { background: none; border: 0; padding: 0; font: inherit; color: rgba(233, 238, 246, .5); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.bk-footer-bas button:hover { color: #fff; }
@media (max-width: 900px) { .bk-footer-grille { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .bk-footer-grille { grid-template-columns: 1fr; gap: 28px; }
  .bk-footer-cta .bk-actions, .bk-footer-cta .bk-actions .bk-btn { width: 100%; }
  .bk-footer { padding-bottom: 96px; } /* place pour la barre mobile */
}

/* ---------- Barre d'action mobile ---------- */
.bk-sticky {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 945;
  display: none; grid-template-columns: 52px 1fr 1.25fr; gap: 8px; padding: 8px;
  background: rgba(10, 17, 32, .92); border: 1px solid rgba(197, 199, 235, .22); border-radius: 20px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .6);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.16, 1, .3, 1);
}
.bk-sticky.bk-visible { transform: none; }
.bk-sticky a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; border-radius: 14px; font-size: 14px; font-weight: 800; }
.bk-sticky .bk-s-tel { background: rgba(255, 255, 255, .08); color: #fff; }
.bk-sticky .bk-s-estim { background: rgba(197, 199, 235, .12); color: #fff; border: 1px solid rgba(197, 199, 235, .35); font-weight: 700; }
.bk-sticky .bk-s-resa { background: var(--bk-metal); color: var(--bk-noir); }
@media (max-width: 900px) {
  .bk-sticky { display: grid; }
  body.bk-a-barre [data-fab] { display: none !important; }
}

/* ---------- Sortie de page (bureau uniquement, discret) ---------- */
.bk-exit {
  position: fixed; left: 24px; bottom: 24px; z-index: 960; width: min(380px, calc(100vw - 48px));
  background: #fff; color: var(--bk-encre); border-radius: 20px; padding: 24px 24px 22px;
  box-shadow: 0 30px 70px -24px rgba(15, 26, 46, .55); border: 1px solid var(--bk-trait);
  transform: translateY(24px); opacity: 0; visibility: hidden; transition: all .35s cubic-bezier(.16, 1, .3, 1);
}
.bk-exit.bk-visible { transform: none; opacity: 1; visibility: visible; }
.bk-exit strong { display: block; font-family: 'Sora', sans-serif; font-size: 19px; margin: 0 28px 8px 0; }
.bk-exit p { font-size: 14.5px; line-height: 1.55; color: var(--bk-texte); margin: 0 0 16px; }
.bk-exit .bk-btn { width: 100%; min-height: 48px; }
.bk-exit-fermer { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: #f1f2f8; color: var(--bk-encre); font-size: 18px; cursor: pointer; }

/* ---------- Accessibilité / mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  .bk-btn, .bk-offre, .bk-offre-img img, .bk-sticky, .bk-exit { transition: none !important; }
}
.bk-visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* En-tête mobile : bouton Réserver collé au menu */
@media (max-width: 900px) { .bk-header-cta { margin-left: auto; } }

/* <picture> (WebP + JPEG de secours) sans effet sur la mise en page existante */
picture { display: contents; }

/* Galerie avant / après supplémentaire (Réalisations) */
.bk-ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; max-width: 900px; margin: 34px auto 0; }
.bk-ba-item { margin: 0; }
.bk-ba-cadre { position: relative; aspect-ratio: 600 / 791; border-radius: 18px; overflow: hidden; user-select: none; touch-action: pan-y; cursor: ew-resize; box-shadow: 0 30px 70px -40px rgba(16,21,31,.55); background: #dfe3ea; }
.bk-ba-cadre:focus-visible { outline: 3px solid #1A3251; outline-offset: 3px; }
.bk-ba-cadre img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bk-ba-avant { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.bk-ba-tag { position: absolute; top: 14px; font-size: 11px; font-weight: 700; letter-spacing: .14em; padding: 6px 11px; border-radius: 999px; pointer-events: none; }
.bk-ba-tag-avant { left: 14px; background: rgba(10,17,32,.72); color: #fff; }
.bk-ba-tag-apres { right: 14px; background: rgba(197,199,235,.94); color: #0f1a2e; }
.bk-ba-poignee { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; transform: translateX(-50%); box-shadow: 0 0 18px rgba(0,0,0,.35); pointer-events: none; }
.bk-ba-poignee::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: #fff; color: #1A3251; font-size: 18px; font-weight: 700; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); }
.bk-ba-item figcaption { margin-top: 12px; font-size: 14px; font-weight: 600; color: #1A3251; text-align: center; }
