/* =====================================================================
   Pages vitrines (accueil, à propos, contact)
   S'appuie sur public/css/missions.css (couleurs, boutons, cartes « bkm- »).
   ===================================================================== */

.bkh { padding-bottom: 0; background: #fff; }
.bkh .bkm-flash { margin-top: 16px; }
.bkh-btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }

/* ---------- Accueil : en-tête ---------- */
.bkh-hero {
  background:
    radial-gradient(900px 420px at 92% 10%, rgba(103, 186, 202, .30), transparent 60%),
    radial-gradient(700px 360px at 0% 100%, rgba(179, 219, 192, .45), transparent 60%),
    linear-gradient(#ffffff, var(--bkm-bg));
  padding: 56px 0 40px;
  overflow: hidden;
}
.bkh-hero-inner { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .bkh-hero-inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; } }
.bkh-hero h1 { font-size: clamp(32px, 5vw, 56px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 14px 0 16px; color: var(--bkm-ink); }
.bkh-hero .bkm-lead { font-size: 18px; line-height: 1.6; max-width: 560px; }
.bkh-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bkh-trust { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--bkm-muted); }
.bkh-trust li { display: inline-flex; align-items: center; gap: 7px; }
.bkh-trust i { color: #3f9a62; }

.bkh-hero-visual { display: flex; justify-content: center; }
.bkh-covers { position: relative; width: min(420px, 100%); height: 400px; }
.bkh-cover { position: absolute; width: 190px; aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden; box-shadow: 0 24px 50px rgba(28, 32, 51, .28); background: #e2e7ef; }
.bkh-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bkh-cover-1 { left: 50%; top: 20px; transform: translateX(-50%); z-index: 3; }
.bkh-cover-2 { left: 4%; top: 70px; transform: rotate(-9deg); z-index: 2; }
.bkh-cover-3 { right: 4%; top: 70px; transform: rotate(9deg); z-index: 1; }
.bkh-float { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px rgba(28, 32, 51, .18); font-size: 14px; font-weight: 700; color: var(--bkm-ink); }
.bkh-float-keez { left: 0; bottom: 20px; }
.bkh-float-keez i { color: #d79a1e; }
.bkh-float-review { right: 0; top: 0; }
.bkh-float-review i { color: var(--bkm-red); }
@media (max-width: 640px) {
  .bkh-covers { height: 300px; }
  .bkh-cover { width: 140px; }
}

.bkh-logo-card { width: min(340px, 80%); aspect-ratio: 1; border-radius: 28px; background: #fff; box-shadow: 0 24px 60px rgba(28, 32, 51, .15); display: flex; align-items: center; justify-content: center; padding: 30px; }
.bkh-logo-card img { width: 100%; height: auto; }

.bkh-welcome { width: min(400px, 100%); background: #fff; border: 1px solid var(--bkm-line); border-radius: 20px; box-shadow: 0 24px 60px rgba(28, 32, 51, .12); padding: 26px; }
.bkh-welcome-label { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--bkm-muted); }
.bkh-welcome-keez { display: block; font-size: 44px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0 18px; color: var(--bkm-ink); }
.bkh-welcome-keez small { font-size: 18px; color: var(--bkm-muted); font-weight: 600; }
.bkh-welcome-links { display: grid; gap: 8px; }
.bkh-welcome-links a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--bkm-bg); color: var(--bkm-ink); font-weight: 600; font-size: 15px; transition: background-color .15s ease, color .15s ease; }
.bkh-welcome-links a:hover { background: var(--bkm-teal-soft); color: var(--bkm-teal); }
.bkh-welcome-links i { width: 18px; text-align: center; color: var(--bkm-teal); }

.bkh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 48px 0 0; padding: 0; }
.bkh-stats > div { background: #fff; border: 1px solid var(--bkm-line); border-radius: 16px; padding: 18px 20px; }
.bkh-stats dt { font-size: 13px; color: var(--bkm-muted); font-weight: 500; }
.bkh-stats dd { margin: 4px 0 0; font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--bkm-ink); }
@media (max-width: 640px) {
  .bkh-stats { grid-template-columns: 1fr; }
  .bkh-stats > div { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
  .bkh-stats dd { margin: 0; font-size: 22px; }
}

/* ---------- Sections ---------- */
.bkh-section { padding: 72px 0; }
.bkh-section-alt { background: var(--bkm-bg); }
.bkh-head { max-width: 680px; margin: 0 auto 36px; text-align: center; }
.bkh-head h2, .bkh-why h2, .bkh-page h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin: 10px 0 10px; color: var(--bkm-ink); }
.bkh-head p { font-size: 17px; color: var(--bkm-muted); margin: 0; }
.bkh-head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; text-align: left; }
.bkh-head-row h2 { margin-bottom: 0; }
@media (max-width: 640px) { .bkh-section { padding: 52px 0; } }

/* Étapes */
.bkh-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bkh-steps li { position: relative; background: #fff; border: 1px solid var(--bkm-line); border-radius: 18px; padding: 26px 24px; box-shadow: var(--bkm-shadow); }
.bkh-step-icon { width: 52px; height: 52px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.bkh-step-icon.is-teal { background: var(--bkm-teal-soft); color: var(--bkm-teal); }
.bkh-step-icon.is-amber { background: var(--bkm-amber-soft); color: #b7791f; }
.bkh-step-icon.is-red { background: var(--bkm-red-soft); color: var(--bkm-red); }
.bkh-step-num { position: absolute; top: 20px; right: 22px; font-size: 44px; font-weight: 800; color: #eef0f5; line-height: 1; }
.bkh-steps h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; color: var(--bkm-ink); }
.bkh-steps p { font-size: 15px; line-height: 1.6; color: var(--bkm-muted); margin: 0; }

.bkh-keez { display: flex; gap: 16px; align-items: center; margin: 28px auto 0; max-width: 820px; padding: 18px 22px; border-radius: 16px; background: linear-gradient(135deg, #fff8e8, #fffdf6); border: 1px solid #f4e2b8; }
.bkh-keez-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%; background: #f6c453; color: #6b4600; display: inline-flex; align-items: center; justify-content: center; font-size: 20px; }
.bkh-keez strong { display: block; font-size: 16px; color: var(--bkm-ink); }
.bkh-keez span { font-size: 15px; color: #6b5a33; }

/* Livres et genres */
/* Rangées toujours complètes : 2 colonnes (6 livres), 3 colonnes (9), 5 colonnes (10). */
.bkh-books { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bkh-books > .bkm-card:nth-child(n+7) { display: none; }
@media (min-width: 768px) {
  .bkh-books { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bkh-books > .bkm-card:nth-child(n+7) { display: flex; }
  .bkh-books > .bkm-card:nth-child(n+10) { display: none; }
}
@media (min-width: 1200px) {
  .bkh-books { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .bkh-books > .bkm-card:nth-child(n+10) { display: flex; }
}
.bkh-genres { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.bkh-genre { padding: 10px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--bkm-line); font-size: 15px; font-weight: 600; color: var(--bkm-ink); transition: all .15s ease; }
.bkh-genre:hover { border-color: var(--bkm-teal); color: #fff; background: var(--bkm-teal); transform: translateY(-1px); }

/* Types de lecture */
.bkh-types { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.bkh-type { background: #fff; border: 1px solid var(--bkm-line); border-radius: 16px; padding: 22px; }
.bkh-type .bkm-type { box-shadow: none; border: 1px solid var(--bkm-line); font-size: 13px; }
.bkh-type p { font-size: 15px; line-height: 1.6; color: var(--bkm-muted); margin: 14px 0 0; }

/* Pourquoi */
.bkh-why { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bkh-why { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 64px; } }
.bkh-why-lead { font-size: 17px; line-height: 1.65; color: var(--bkm-muted); margin: 0 0 24px; }
.bkh-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.bkh-checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: var(--bkm-bg); }
.bkh-checks i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--bkm-teal); display: inline-flex; align-items: center; justify-content: center; font-size: 17px; box-shadow: var(--bkm-shadow); }
.bkh-checks strong { display: block; font-size: 15px; color: var(--bkm-ink); }
.bkh-checks span { font-size: 14px; color: var(--bkm-muted); }

/* Questions fréquentes */
.bkh-faq-wrap { max-width: 820px; }
.bkh-faq { display: grid; gap: 10px; }
.bkh-faq details { background: #fff; border: 1px solid var(--bkm-line); border-radius: 14px; padding: 0 20px; }
.bkh-faq details[open] { box-shadow: var(--bkm-shadow); }
.bkh-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-size: 16px; font-weight: 700; color: var(--bkm-ink); }
.bkh-faq summary::-webkit-details-marker { display: none; }
.bkh-faq summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--bkm-bg); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 600; color: var(--bkm-teal); transition: transform .2s ease; }
.bkh-faq details[open] summary::after { transform: rotate(45deg); }
.bkh-faq p { margin: 0 0 18px; font-size: 15px; line-height: 1.65; color: var(--bkm-muted); }

/* Dernier appel */
.bkh-final { background: var(--bkm-ink); color: #fff; padding: 56px 0; }
.bkh-final-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.bkh-final h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 800; margin: 0 0 6px; color: #fff; letter-spacing: -.02em; }
.bkh-final p { margin: 0; color: #c9cee0; font-size: 16px; }

/* =====================================================================
   Pages « À propos » et « Contact »
   ===================================================================== */
.bkh-page-hero { padding: 56px 0 36px; background: radial-gradient(900px 300px at 90% -20%, rgba(103, 186, 202, .28), transparent 60%), linear-gradient(#fff, var(--bkm-bg)); }
.bkh-page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 12px 0 14px; color: var(--bkm-ink); max-width: 820px; }
.bkh-page-hero .bkm-lead { font-size: 18px; line-height: 1.6; max-width: 680px; }

.bkh-prose { max-width: 760px; font-size: 17px; line-height: 1.75; color: #374151; }
.bkh-prose p { margin: 0 0 1.1em; }
.bkh-prose strong { color: var(--bkm-ink); }

.bkh-values { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.bkh-value { background: #fff; border: 1px solid var(--bkm-line); border-radius: 16px; padding: 22px; }
.bkh-value i { width: 44px; height: 44px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--bkm-teal-soft); color: var(--bkm-teal); font-size: 18px; }
.bkh-value h3 { font-size: 17px; font-weight: 700; margin: 14px 0 6px; color: var(--bkm-ink); }
.bkh-value p { font-size: 15px; line-height: 1.6; color: var(--bkm-muted); margin: 0; }

/* Contact */
.bkh-contact { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .bkh-contact { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: 40px; } }
.bkh-form-card { background: #fff; border: 1px solid var(--bkm-line); border-radius: 18px; box-shadow: var(--bkm-shadow); padding: 28px; }
.bkh-form-card h2 { font-size: 22px; font-weight: 800; margin: 0 0 4px; color: var(--bkm-ink); }
.bkh-form-card > p { color: var(--bkm-muted); margin: 0 0 22px; font-size: 15px; }
.bkh-form { display: grid; gap: 16px; }
.bkh-form .bkh-row { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .bkh-form .bkh-row { grid-template-columns: 1fr 1fr; } }
.bkh-form label, .bkh-form .bkh-label { display: block; font-size: 14px; font-weight: 600; color: var(--bkm-ink); margin-bottom: 6px; }
.bkh-form input[type="text"], .bkh-form input[type="email"], .bkh-form input[type="tel"], .bkh-form select, .bkh-form textarea {
  width: 100%; border: 1px solid #d5dae5; border-radius: 10px; background: #fff; padding: 11px 14px; font-size: 15px; color: var(--bkm-ink); transition: border-color .15s ease, box-shadow .15s ease;
}
.bkh-form textarea { min-height: 160px; resize: vertical; line-height: 1.5; }
.bkh-form input:focus, .bkh-form select:focus, .bkh-form textarea:focus { outline: none; border-color: var(--bkm-teal-light); box-shadow: 0 0 0 3px rgba(103, 186, 202, .25); }
.bkh-form ul { list-style: none; padding: 0; margin: 6px 0 0; color: var(--bkm-red); font-size: 13px; }
.bkh-form .bkh-help { font-size: 13px; color: var(--bkm-muted); margin-top: 6px; }
.bkh-form .bkh-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; font-weight: 400; color: var(--bkm-muted); }
.bkh-form .bkh-check input { margin-top: 3px; width: 17px; height: 17px; accent-color: var(--bkm-teal); flex-shrink: 0; }
.bkh-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
.bkh-form-actions small { color: var(--bkm-muted); font-size: 13px; }

.bkh-side { display: grid; gap: 14px; }
.bkh-side-item { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--bkm-line); }
.bkh-side-item > i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--bkm-teal-soft); color: var(--bkm-teal); font-size: 17px; }
.bkh-side-item strong { display: block; font-size: 15px; color: var(--bkm-ink); }
.bkh-side-item span, .bkh-side-item a { font-size: 14px; color: var(--bkm-muted); }
.bkh-side-item a { color: var(--bkm-teal); text-decoration: underline; }

/* Adresse e-mail mise en avant (page contact) */
.bkh-mail { display: flex; align-items: center; gap: 14px; padding: 18px; margin: 0 0 18px; border-radius: 14px; background: var(--bkm-bg); border: 1px dashed #cfd5e2; }
.bkh-mail-icon { flex-shrink: 0; width: 46px; height: 46px; border-radius: 12px; background: var(--bkm-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 19px; }
.bkh-mail-address { font-size: clamp(18px, 2.6vw, 24px); font-weight: 800; color: var(--bkm-ink); word-break: break-all; user-select: all; }
.bkh-form-actions { justify-content: flex-start; }

/* =====================================================================
   Page « Comment ça marche » (homepage/fonctionnement.html.twig)
   ===================================================================== */
.bkh-howto-hero { display: grid; gap: 36px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 992px) { .bkh-howto-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; } }
.bkh-howto-hero .bkm-lead strong { color: var(--bkm-ink); }
.bkh-howto-promise { margin: 18px 0 0; padding: 14px 16px; border-left: 4px solid var(--bkm-red); background: #fff; border-radius: 0 12px 12px 0; font-size: 15px; font-weight: 600; color: var(--bkm-ink); }

.bkh-video { position: relative; }
.bkh-video video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: var(--bkm-ink); box-shadow: 0 24px 60px rgba(28, 32, 51, .22); }
.bkh-video-caption { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--bkm-muted); }
.bkh-video-caption i { color: var(--bkm-red); }

.bkh-features { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.bkh-features li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--bkm-line); border-radius: 14px; font-size: 15px; font-weight: 600; color: var(--bkm-ink); }
.bkh-features i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--bkm-teal-soft); color: var(--bkm-teal); font-size: 16px; }

.bkh-duo { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .bkh-duo { grid-template-columns: 1fr 1fr; } }
.bkh-duo-card { background: #fff; border: 1px solid var(--bkm-line); border-radius: 18px; padding: 26px; box-shadow: var(--bkm-shadow); }
.bkh-duo-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.01em; margin: 0 0 16px; color: var(--bkm-ink); }
.bkh-ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.bkh-ticks li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.5; color: #374151; }
.bkh-ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--bkm-green-soft); color: var(--bkm-green); font-size: 12px; font-weight: 800; }
