/* =====================================================================
   Pied de page Bookeez (templates/partials/_footer.html.twig)
   ===================================================================== */
.bkf {
  --ink: #1c2033; --muted: #a9b0c6; --line: rgba(255, 255, 255, .1);
  position: relative; overflow: hidden;
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(103, 186, 202, .22), transparent 60%),
    radial-gradient(600px 300px at 0% 100%, rgba(224, 36, 36, .16), transparent 60%),
    var(--ink);
  color: #fff; font-size: 15px;
}
.bkf *, .bkf *::before, .bkf *::after { box-sizing: border-box; }
.bkf a { text-decoration: none; }

.bkf-inner { max-width: 1280px; margin: 0 auto; padding: 56px 20px 40px; display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bkf-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.9fr); gap: 64px; } }

.bkf-logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; font-size: 22px; font-weight: 800; letter-spacing: -.01em; }
.bkf-logo img { width: 48px; height: 48px; border-radius: 12px; background: #fff; padding: 4px; }
.bkf-tagline { margin: 16px 0 6px; font-size: 18px; font-weight: 700; color: #fff; }
.bkf-pitch { margin: 0 0 22px; max-width: 380px; line-height: 1.6; color: var(--muted); }
.bkf-cta { display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 10px; background: #e02424; color: #fff; font-weight: 700; font-size: 14px; transition: background-color .15s ease; }
.bkf-cta:hover { background: #c81e1e; color: #fff; }

.bkf-cols { display: grid; gap: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 640px) { .bkf-cols { grid-template-columns: 1fr 1fr; } }
.bkf-col h2 { margin: 0 0 14px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #67baca; }
.bkf-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.bkf-col a { color: #dde1ee; transition: color .15s ease; }
.bkf-col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.bkf a:focus-visible { outline: 3px solid rgba(103, 186, 202, .6); outline-offset: 3px; border-radius: 4px; }

.bkf-bottom { border-top: 1px solid var(--line); }
.bkf-bottom-inner { max-width: 1280px; margin: 0 auto; padding: 18px 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; font-size: 13px; color: var(--muted); }
.bkf-bottom a { color: #dde1ee; text-decoration: underline; text-underline-offset: 2px; }
.bkf-bottom a:hover { color: #fff; }

/* Espace au-dessus du pied de page sur les anciennes pages ; les pages refaites (.bkm) gèrent leur propre espacement. */
.bkf { margin-top: 48px; }
body:has(.bkm) .bkf { margin-top: 0; }
/* Séparation nette quand la page se termine par un bandeau sombre (accueil, à propos). */
body:has(.bkh-final) .bkf { border-top: 1px solid rgba(255, 255, 255, .08); }
