/*
 * Faso Bouge — feuille de style publique.
 *
 * Servie statiquement (pas de Vite) : la même page peut donc être auditée par
 * les stores ou visitée depuis un lien WhatsApp sans dépendre d'un manifest
 * d'assets. Chargée par tous les gabarits publics via un <link> depuis
 * layouts/public.blade.php.
 *
 * Palette et typographie alignées sur l'app mobile (mobile/lib/core/theme).
 */

/* -----------------------------------------------------------------------------
 * 1. Polices — Gilroy self-hosted (mêmes fichiers que l'app, convertis en WOFF2)
 * -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Gilroy';
  src: url('fonts/Gilroy-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* -----------------------------------------------------------------------------
 * 2. Jetons de design
 * -------------------------------------------------------------------------- */
:root {
  color-scheme: light;

  /* Marque — bleu profond du logo (FB LOGO-04), aligné sur AppTheme.brandBlue. */
  --brand-600: #284388;
  --brand-700: #1E3369;
  --brand-800: #16264D;
  --brand-50:  #EEF1F8;

  /* Accents drapeau burkinabè. À réserver aux badges et statuts sémantiques. */
  --flag-red:    #C62828;
  --flag-yellow: #F5C518;
  --flag-green:  #1B7A38;

  /* Neutres. */
  --bg:        #F5F4F9;
  --surface:   #FFFFFF;
  --border:    #E6E6E8;
  --text:      #111827;
  --text-muted:#6B6B70;

  /* Formes. */
  --radius:     10px;
  --radius-lg:  14px;
  --radius-xl:  18px;

  /* Ombres. */
  --shadow-sm: 0 1px 2px rgba(17, 24, 39, 0.06);
  --shadow-md: 0 6px 20px rgba(40, 67, 136, 0.10);
  --shadow-lg: 0 18px 40px rgba(40, 67, 136, 0.14);

  /* Rythme. */
  --shell-max: 1120px;
}

/* -----------------------------------------------------------------------------
 * 3. Reset ciblé + typographie de base
 * -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--brand-600); text-decoration: none; }
a:hover { color: var(--brand-700); text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
h1 { font-size: 32px; line-height: 1.2; }
h2 { font-size: 24px; line-height: 1.25; }
h3 { font-size: 18px; line-height: 1.3; }

:focus-visible {
  outline: 3px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Lien de saut clavier. */
.fb-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-600);
  color: #fff;
  padding: 10px 14px;
  border-radius: 0 0 8px 0;
  font-weight: 600;
  z-index: 1000;
}
.fb-skip:focus { left: 0; color: #fff; text-decoration: none; }

/* -----------------------------------------------------------------------------
 * 4. Compatibilité — classes historiques utilisées par les vues déjà en prod
 *    (privacy/contact/CMS + annuaires venues/hotels/tourism).
 *    Elles doivent rester rendues correctement tant que Lot B ne les a pas
 *    rebasées sur les composants fb-*.
 * -------------------------------------------------------------------------- */
.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.wrap.wide { max-width: var(--shell-max); }

main { padding: 40px 0 24px; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.updated { margin: 0 0 24px; color: var(--text-muted); font-size: 14px; }

/* Contenu CMS (Trix). */
.cms h1 { font-size: 21px; margin: 28px 0 8px; font-weight: 700; }
.cms h2 { font-size: 19px; margin: 28px 0 8px; }
.cms h3 { font-size: 16px; margin: 20px 0 6px; }
.cms p, .cms ul, .cms ol { margin: 0 0 14px; }
.cms ul, .cms ol { padding-left: 22px; }
.cms li { margin-bottom: 6px; }
.cms > div { margin-bottom: 12px; }
.cms a { color: var(--brand-600); text-decoration: underline; }
.cms blockquote {
  margin: 0 0 14px; padding-left: 14px;
  border-left: 3px solid var(--border); color: #4a4a4f;
}
.cms pre {
  background: #f0f0f2; padding: 12px; border-radius: 8px;
  overflow-x: auto; font-size: 14px;
}
.cms code { background: #f0f0f2; padding: 1px 5px; border-radius: 4px; font-size: 14px; }
.cms table { border-collapse: collapse; width: 100%; margin: 0 0 16px; }
.cms th, .cms td { border: 1px solid var(--border); padding: 8px 10px; text-align: left; font-size: 14px; }
.cms th { background: #fafafa; }

@media (max-width: 520px) {
  .card { padding: 22px; }
  h1 { font-size: 26px; }
}

/* -----------------------------------------------------------------------------
 * 5. Boutons
 * -------------------------------------------------------------------------- */
.fb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.fb-btn:hover { text-decoration: none; }

.fb-btn--primary { background: var(--brand-600); color: #fff; }
.fb-btn--primary:hover { background: var(--brand-700); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }

.fb-btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.fb-btn--ghost:hover { border-color: var(--brand-600); color: var(--brand-700); }

.fb-btn--light { background: #fff; color: var(--brand-700); }
.fb-btn--light:hover { background: rgba(255, 255, 255, 0.9); color: var(--brand-800); transform: translateY(-1px); }

.fb-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.4); }
.fb-btn--outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: #fff; color: #fff; }

/* Variante WhatsApp — canal Burkindi. Une seule teinte, celle utilisée aussi côté
   app mobile (whatsapp_link_screen.dart), pour que qui reconnaît le vert de la
   demande WhatsApp le retrouve à l'identique sur le site. */
.fb-btn--whatsapp { background: #25D366; color: #fff; }
.fb-btn--whatsapp:hover { background: #1FB855; color: #fff; }
.fb-btn--whatsapp svg { flex-shrink: 0; }

.fb-btn--sm { padding: 8px 12px; font-size: 13px; }

/* -----------------------------------------------------------------------------
 * 6. En-tête sticky
 * -------------------------------------------------------------------------- */
.fb-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.fb-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.fb-header__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.fb-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  font-size: 18px;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.fb-brand:hover { color: var(--brand-700); text-decoration: none; }
.fb-brand__mark {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--brand-600);
  align-items: center;
  justify-content: center;
}
.fb-brand__mark img { width: 100%; height: 100%; display: block; object-fit: cover; }

.fb-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fb-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-weight: 500;
  font-size: 14.5px;
  transition: background-color .15s ease, color .15s ease;
}
.fb-nav a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.fb-nav a.is-active { color: var(--brand-700); font-weight: 700; background: var(--brand-50); }

.fb-header__menu {
  display: flex;
  align-items: center;
  gap: 20px;
}
.fb-header__actions { display: inline-flex; align-items: center; gap: 8px; }

.fb-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  color: var(--text);
  border-radius: 8px;
}
.fb-burger:hover { background: var(--brand-50); }
.fb-burger svg { display: block; }
.fb-burger__close { display: none; }
.fb-header.is-open .fb-burger__open { display: none; }
.fb-header.is-open .fb-burger__close { display: block; }

@media (max-width: 960px) {
  .fb-burger { display: inline-flex; }
  .fb-header__menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 20px 20px;
    gap: 6px;
  }
  .fb-header.is-open .fb-header__menu { display: flex; }
  .fb-header__menu .fb-nav { flex-direction: column; align-items: stretch; gap: 2px; }
  .fb-header__menu .fb-nav a { padding: 12px 10px; font-size: 15px; }
  .fb-header__menu .fb-header__actions {
    flex-direction: column;
    align-items: stretch;
    padding-top: 12px;
    margin-top: 6px;
    border-top: 1px solid var(--border);
  }
  .fb-header__menu .fb-header__actions .fb-btn { width: 100%; }
}

/* -----------------------------------------------------------------------------
 * 7. Pied de page (bleu profond, signature de marque)
 * -------------------------------------------------------------------------- */
.fb-footer {
  margin-top: 72px;
  background: var(--brand-700);
  color: rgba(255, 255, 255, 0.82);
  position: relative;
}
.fb-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg,
    var(--flag-red) 0%, var(--flag-red) 33.33%,
    var(--flag-yellow) 33.33%, var(--flag-yellow) 66.66%,
    var(--flag-green) 66.66%, var(--flag-green) 100%);
}
.fb-footer a { color: #fff; text-decoration: none; }
.fb-footer a:hover { text-decoration: underline; color: #fff; }

.fb-footer__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 20px;
}

.fb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 40px;
  padding: 56px 0 32px;
}

.fb-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}
.fb-footer__brand .fb-brand__mark { background: rgba(255, 255, 255, 0.12); }
.fb-footer__tagline {
  margin: 14px 0 22px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
  max-width: 340px;
}

.fb-footer__col h4 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 14px;
  font-weight: 700;
}
.fb-footer__col ul { list-style: none; padding: 0; margin: 0; }
.fb-footer__col li { margin-bottom: 10px; font-size: 14px; }

.fb-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  flex-wrap: wrap;
}
.fb-footer__bottom .fb-footer__legal a { margin-left: 16px; color: rgba(255, 255, 255, 0.72); }

.fb-footer__powered {
  opacity: .55;
  font-size: 12.5px;
  white-space: nowrap;
  margin-left: 4px;
}
.fb-footer__powered a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: .01em;
}
.fb-footer__powered a:hover {
  color: #fff;
  text-decoration: underline;
}
@media (max-width: 560px) {
  .fb-footer__powered { display: block; margin: 4px 0 0; opacity: .5; }
}

/* Icônes réseaux sociaux au pied. Une teinte translucide qui reprend la
   couleur du footer, transparence inversée au hover pour souligner l'action. */
.fb-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.fb-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}
.fb-footer__social a:hover {
  background: #fff;
  color: var(--brand-700);
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .fb-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; padding: 44px 0 28px; }
}
@media (max-width: 560px) {
  .fb-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .fb-footer__bottom { flex-direction: column; align-items: flex-start; }
  .fb-footer__bottom .fb-footer__legal a { margin-left: 0; margin-right: 14px; }
}

/* -----------------------------------------------------------------------------
 * 8. Hero
 * -------------------------------------------------------------------------- */
.fb-hero {
  position: relative;
  padding: 72px 0 64px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(245, 197, 24, 0.14), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(198, 40, 40, 0.14), transparent 60%),
    linear-gradient(160deg, var(--brand-600) 0%, var(--brand-700) 55%, var(--brand-800) 100%);
}
.fb-hero__inner {
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}
.fb-hero__stripes {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  display: flex;
  z-index: 2;
}
.fb-hero__stripes span { flex: 1; }
.fb-hero__stripes span:nth-child(1) { background: var(--flag-red); }
.fb-hero__stripes span:nth-child(2) { background: var(--flag-yellow); }
.fb-hero__stripes span:nth-child(3) { background: var(--flag-green); }

/* Variante « photo » — active quand le HomeController injecte une image de fond.
   Le style inline `background-image` combine un overlay dégradé (sombre à gauche
   pour préserver la lisibilité du texte) + la photo. */
.fb-hero--photo {
  background-color: var(--brand-700);
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 460px;
}
.fb-hero--photo .fb-hero__inner { max-width: 640px; }
@media (max-width: 720px) {
  /* Sur mobile, l'overlay du gradient inline suffit rarement — on empile un
     assombrissement supplémentaire sur toute la surface. Le pseudo-élément
     évite d'avoir à réécrire le `background-image` inline en JavaScript. */
  .fb-hero--photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 51, 105, 0.55) 0%, rgba(30, 51, 105, 0.75) 100%);
    z-index: 0;
    pointer-events: none;
  }
}

.fb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 22px;
  color: #fff;
}
.fb-hero__eyebrow .fb-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--flag-yellow);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.28);
}

.fb-hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  font-weight: 800;
  max-width: 760px;
}
.fb-hero__lead {
  font-size: 18px;
  line-height: 1.55;
  margin: 0 0 32px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 620px;
}
.fb-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 720px) {
  .fb-hero { padding: 56px 0 44px; }
  .fb-hero h1 { font-size: 34px; }
  .fb-hero__lead { font-size: 16px; }
}

/* -----------------------------------------------------------------------------
 * 9. Sections d'accueil
 * -------------------------------------------------------------------------- */
.fb-shell { max-width: var(--shell-max); margin: 0 auto; padding: 0 20px; }

.fb-section { padding: 64px 0; }
.fb-section--tight { padding: 40px 0; }
.fb-section--muted { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.fb-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.fb-section__head h2 { font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; margin: 0; }
.fb-section__head p { margin: 6px 0 0; color: var(--text-muted); font-size: 15px; max-width: 560px; }
.fb-section__head .fb-btn { flex-shrink: 0; }

/* Grille des 4 verticales. */
.fb-verticals {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .fb-verticals { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fb-verticals { grid-template-columns: 1fr; } }

.fb-vertical {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
}
.fb-vertical:hover {
  transform: translateY(-3px);
  border-color: var(--brand-600);
  box-shadow: var(--shadow-md);
  color: var(--text);
  text-decoration: none;
}
.fb-vertical__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.fb-vertical h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.fb-vertical p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }
.fb-vertical__arrow {
  margin-top: 18px;
  color: var(--brand-600);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .01em;
}

/* Bandeau de chiffres clés. */
.fb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.fb-stats__item { text-align: center; }
.fb-stats__value { font-size: 34px; font-weight: 800; color: var(--brand-600); line-height: 1; letter-spacing: -0.02em; }
.fb-stats__label { margin-top: 8px; font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
@media (max-width: 720px) { .fb-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 26px; } }

/* Bandeau app. */
.fb-app-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(40, 67, 136, 0.10), transparent 70%),
    linear-gradient(135deg, #EEF1F8 0%, #F6F4FB 100%);
  border: 1px solid var(--border);
}
.fb-app-banner h2 { font-size: 28px; margin: 0 0 12px; }
.fb-app-banner p { color: var(--text-muted); font-size: 15px; margin: 0 0 22px; line-height: 1.6; max-width: 480px; }
.fb-app-banner__stores { display: flex; gap: 12px; flex-wrap: wrap; }
.fb-app-banner__illus {
  display: flex;
  justify-content: flex-end;
  color: var(--brand-700);
  font-weight: 800;
  font-size: 96px;
  opacity: .12;
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
}
@media (max-width: 820px) {
  .fb-app-banner { grid-template-columns: 1fr; padding: 32px; gap: 20px; }
  .fb-app-banner__illus { display: none; }
}

/* Boutons stores. */
.fb-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #111;
  color: #fff;
  text-decoration: none;
  line-height: 1.15;
}
.fb-store-btn:hover { color: #fff; text-decoration: none; background: #000; transform: translateY(-1px); }
.fb-store-btn__label { display: flex; flex-direction: column; align-items: flex-start; }
.fb-store-btn__small { font-size: 10px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.fb-store-btn__name { font-size: 15px; font-weight: 700; }
.fb-store-btn svg { flex-shrink: 0; }

/* Bandeau CTA sobre. */
.fb-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: var(--radius-xl);
  background: var(--brand-600);
  color: #fff;
  flex-wrap: wrap;
}
.fb-cta-band h3 { color: #fff; font-size: 20px; margin: 0; }
.fb-cta-band p { margin: 4px 0 0; color: rgba(255, 255, 255, 0.8); font-size: 14.5px; }

/* -----------------------------------------------------------------------------
 * 10. Annuaires (venues / hotels / tourism) — index + fiches
 *
 *     Composants partagés entre les trois annuaires publics : chips de filtres,
 *     grille de tuiles, pastilles de statut d'ouverture, tableau d'horaires,
 *     galerie photos, tableau de faits.
 * -------------------------------------------------------------------------- */

/* Filtres en chips. */
.fb-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  align-items: center;
}
.fb-filters a {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface);
  font-weight: 500;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.fb-filters a:hover { border-color: var(--brand-600); color: var(--brand-700); text-decoration: none; }
.fb-filters a.is-on { background: var(--brand-600); color: #fff; border-color: var(--brand-600); }
.fb-filters__sep { color: var(--text-muted); padding: 0 4px; user-select: none; }

/* Grille de tuiles. */
.fb-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.fb-tile {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.fb-tile:hover { transform: translateY(-2px); border-color: var(--brand-600); box-shadow: var(--shadow-md); }
.fb-tile > a {
  display: flex; flex-direction: column;
  color: var(--text); text-decoration: none; flex: 1;
}
.fb-tile > a:hover { text-decoration: none; color: var(--text); }
.fb-tile__cover {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--brand-50), #F5F4F9);
}
.fb-tile__cover--empty {
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-600); font-weight: 800; font-size: 28px;
  letter-spacing: -0.02em;
}
.fb-tile__body {
  padding: 14px 16px 16px;
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.fb-tile__title {
  font-size: 16px; font-weight: 700;
  margin: 0; line-height: 1.3; letter-spacing: -0.01em;
}
.fb-tile__meta { color: var(--text-muted); font-size: 13px; margin: 0; }
.fb-tile__price {
  font-size: 14px; font-weight: 700; margin: 6px 0 0;
  font-variant-numeric: tabular-nums;
}
.fb-tile__row {
  margin-top: 8px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}

/* Pastille statut d'ouverture. */
.fb-status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700;
}
.fb-status--lg { font-size: 14px; padding: 5px 13px; }
.fb-status--open    { background: #e9f7ed; color: #1b6b33; }
.fb-status--soon    { background: #fdf1e3; color: #8a4b06; }
.fb-status--closed  { background: #fdeaea; color: #97231f; }
.fb-status--unknown { background: #eeeef0; color: #55555c; }

/* Badge type (musée / site, etc.). */
.fb-kind {
  display: inline-block;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .05em;
}
.fb-kind--museum { background: #f3e8ff; color: #6b21a8; }
.fb-kind--site   { background: #d1fae5; color: #065f46; }

/* Étoiles hôtels — teinte discrète alignée sur `--flag-yellow` mais plus mate. */
.fb-stars {
  color: #D6A518;
  letter-spacing: 2px;
  margin: 0; font-size: 15px; line-height: 1;
}
.fb-stars--lg { font-size: 22px; }
.fb-stars__off { color: #E5E5E8; }
.fb-stars__unranked { color: var(--text-muted); font-size: 13px; margin: 0; }

/* Pagination. */
.fb-pager {
  margin: 32px 0 0;
  display: flex; align-items: center; gap: 18px;
  font-size: 14px; color: var(--text-muted);
  flex-wrap: wrap;
}
.fb-pager a { color: var(--brand-600); font-weight: 600; }
.fb-pager a:hover { color: var(--brand-700); text-decoration: none; }

/* Fiche : image de couverture. */
.fb-cover {
  width: 100%; height: 280px; object-fit: cover;
  border-radius: var(--radius-lg); margin: 0 0 22px; display: block;
}
@media (max-width: 640px) { .fb-cover { height: 200px; } }

/* Fiche : en-tête (titre + méta). */
.fb-fiche__title {
  font-size: 30px; line-height: 1.2;
  margin: 8px 0 4px; letter-spacing: -0.015em;
}
@media (max-width: 640px) { .fb-fiche__title { font-size: 24px; } }

.fb-meta { color: var(--text-muted); font-size: 14.5px; margin: 6px 0 0; }

/* Fiche : prix. */
.fb-price {
  font-size: 22px; font-weight: 800;
  margin: 16px 0 0; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.fb-price small {
  display: block; font-size: 11px; font-weight: 600;
  color: var(--text-muted); margin-top: 4px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* Fiche : rangée de boutons d'action. */
.fb-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 22px 0 4px;
}

/* Fiche : liste de confort (chips). */
.fb-amenities {
  display: flex; flex-wrap: wrap; gap: 8px;
  padding: 0; margin: 0; list-style: none;
}
.fb-amenities li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  background: var(--surface);
}
.fb-amenities img { width: 18px; height: 18px; object-fit: contain; }

/* Fiche : galerie photos. */
.fb-gallery {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.fb-gallery img {
  width: 100%; height: 140px; object-fit: cover;
  border-radius: 10px; display: block;
}

/* Fiche : miniatures vidéos (liens YouTube externes). */
.fb-videos {
  display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}
.fb-video {
  position: relative; display: block;
  border-radius: 10px; overflow: hidden;
}
.fb-video img { width: 100%; height: 150px; object-fit: cover; display: block; }
.fb-video__play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, .28) 100%);
}

/* Fiche : tableau horaires. */
.fb-hours { width: 100%; border-collapse: collapse; }
.fb-hours td { padding: 11px 0; border-bottom: 1px solid #f0f0f2; font-size: 15px; }
.fb-hours td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.fb-hours tr.is-today td { background: var(--brand-50); font-weight: 700; }
.fb-hours tr.is-today td:first-child { padding-left: 12px; border-radius: 8px 0 0 8px; }
.fb-hours tr.is-today td:last-child { padding-right: 12px; border-radius: 0 8px 8px 0; }
.fb-hours__sub { color: var(--text-muted); font-size: 12px; font-weight: 400; }

/* Fiche : tableau de faits. */
.fb-facts { width: 100%; border-collapse: collapse; }
.fb-facts td { padding: 11px 0; border-bottom: 1px solid #f0f0f2; font-size: 15px; }
.fb-facts td:first-child { color: var(--text-muted); width: 42%; }

/* Fiche : encart exception. */
.fb-exception {
  background: #fdf6e3;
  border: 1px solid #f0dca8;
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.5;
}

/* Fiche : liste d'événements liés au lieu. */
.fb-events { padding: 0; margin: 0; list-style: none; }
.fb-events li {
  margin-bottom: 12px; padding-left: 22px;
  position: relative; font-size: 15px; line-height: 1.5;
}
.fb-events li::before {
  content: '';
  position: absolute; left: 4px; top: 8px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand-600);
}
.fb-events li strong { display: block; margin-bottom: 2px; }

/* Fiche : phrase vide. */
.fb-empty { color: var(--text-muted); font-size: 14.5px; margin: 8px 0; }

/* Fiche : titres H2 du corps de fiche. */
.fb-fiche h2 {
  font-size: 20px; margin: 36px 0 14px; letter-spacing: -0.01em;
}
.fb-fiche h2:first-of-type { margin-top: 24px; }

/* Fiche : section carte (menu de restaurant). */
.fb-menu__cat {
  font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--brand-700); margin: 26px 0 8px;
  padding-bottom: 6px; border-bottom: 2px solid var(--brand-50);
}
.fb-menu__item {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #f6f6f7;
  font-size: 15px;
}
.fb-menu__desc { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.fb-menu__price {
  font-weight: 700; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.fb-menu__variant {
  display: flex; justify-content: space-between;
  font-size: 13.5px; color: #55555c;
  padding: 4px 0 4px 16px;
  font-variant-numeric: tabular-nums;
}

/* Retour à l'annuaire. */
.fb-back {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 32px; color: var(--brand-600); font-weight: 600;
}
.fb-back:hover { color: var(--brand-700); text-decoration: none; }

/* -----------------------------------------------------------------------------
 * 11. Accueil — sections narratives supplémentaires (Lot C)
 *
 *     Étapes numérotées + FAQ en accordéon <details> natif. Le repli/déploiement
 *     de la FAQ est celui du navigateur (aucun JS requis).
 * -------------------------------------------------------------------------- */

/* Fond alterné, pour délimiter visuellement une section sans ajouter de bordure. */
.fb-section--soft {
  background: linear-gradient(180deg, transparent 0%, var(--brand-50) 60%, transparent 100%);
}

/* Étapes « Comment ça marche ». */
.fb-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .fb-steps { grid-template-columns: 1fr; gap: 18px; } }

.fb-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
}
.fb-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--brand-600);
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}
.fb-step h3 { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.fb-step p { margin: 0; color: var(--text-muted); font-size: 14.5px; line-height: 1.55; }

/* Ligne visuelle reliant les étapes (desktop uniquement). */
@media (min-width: 821px) {
  .fb-steps { position: relative; }
  .fb-steps::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: repeating-linear-gradient(
      to right,
      var(--brand-50) 0 8px,
      transparent 8px 14px
    );
    z-index: 0;
  }
  .fb-step { z-index: 1; }
}

/* FAQ — accordéon HTML natif. */
.fb-faq { max-width: 780px; margin: 0 auto; }
.fb-faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.fb-faq details[open] {
  border-color: var(--brand-600);
  box-shadow: var(--shadow-sm);
}
.fb-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.fb-faq summary::-webkit-details-marker { display: none; }
.fb-faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 400;
  color: var(--brand-600);
  line-height: 1;
  transition: transform .15s ease;
  flex-shrink: 0;
}
.fb-faq details[open] summary::after { transform: rotate(45deg); }
.fb-faq__body {
  padding: 0 22px 20px;
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}
.fb-faq__body a { color: var(--brand-600); font-weight: 600; }

/* Tuile « à la une » — variante compacte de fb-tile avec badge kind visible. */
.fb-featured-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) { .fb-featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .fb-featured-grid { grid-template-columns: 1fr; } }

/* -----------------------------------------------------------------------------
 * 12. Événements — spécifique fiche (Lot D.1)
 * -------------------------------------------------------------------------- */

/* Ligne date/lieu compacte en tête de fiche. */
.fb-fiche__when {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 14px; margin: 12px 0 4px;
  color: var(--text);
  font-weight: 500;
  font-size: 15.5px;
}
.fb-fiche__when strong { font-weight: 700; }
.fb-fiche__when .fb-dot--sep {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--text-muted);
  display: inline-block;
}

/* Chips artistes — visage + nom + rôle. */
.fb-artists {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding: 0; margin: 0; list-style: none;
}
.fb-artist {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  font-size: 14px;
}
.fb-artist__avatar {
  width: 32px; height: 32px; border-radius: 50%;
  object-fit: cover;
  background: var(--brand-50);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--brand-700); font-weight: 800; font-size: 13px;
  flex-shrink: 0;
}
.fb-artist__name { font-weight: 600; color: var(--text); }
.fb-artist__role { color: var(--text-muted); }

/* Timeline de programme multi-jours (docs/24). Colonne verticale marque à gauche,
   items empilés, chaque jour avec un chip en tête. */
.fb-timeline { position: relative; padding-left: 22px; margin: 8px 0 0; }
.fb-timeline::before {
  content: '';
  position: absolute; left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--brand-50), var(--border));
}
.fb-timeline__day {
  display: inline-block;
  margin: 22px 0 10px -22px;
  padding: 6px 14px;
  background: var(--brand-600);
  color: #fff;
  border-radius: 999px;
  font-weight: 700; font-size: 13px;
  letter-spacing: .02em;
}
.fb-timeline__day:first-child { margin-top: 0; }
.fb-timeline__item {
  position: relative;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid #f6f6f7;
}
.fb-timeline__item::before {
  content: '';
  position: absolute; left: -21px; top: 20px;
  width: 10px; height: 10px; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--brand-600);
}
.fb-timeline__time {
  font-weight: 700; font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--brand-700);
  margin-right: 8px;
}
.fb-timeline__title { font-weight: 600; font-size: 15px; }
.fb-timeline__sub {
  color: var(--text-muted); font-size: 13px; margin-top: 2px;
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* Tarifs — lecture seule sur la fiche publique. Chaque ligne : libellé + prix. */
.fb-tickets { list-style: none; padding: 0; margin: 8px 0 0; }
.fb-tickets li {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 10px;
  background: var(--surface);
}
.fb-tickets__label { font-weight: 700; font-size: 15px; }
.fb-tickets__desc { color: var(--text-muted); font-size: 13px; margin-top: 2px; }
.fb-tickets__price {
  font-weight: 800; font-size: 17px; letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.fb-tickets__price small {
  display: block; font-size: 11px; color: var(--text-muted);
  font-weight: 600; text-transform: uppercase; letter-spacing: .06em;
  margin-top: 2px;
}
.fb-tickets__price--free { color: var(--flag-green); }

/* -----------------------------------------------------------------------------
 * 13. Pages d'erreur (404, 500, 503)
 *
 *     Cohérence avec le reste : header + footer publics, gros chiffre marque en
 *     décor, deux CTA + liens de reprise. Une page d'erreur soignée est le seul
 *     endroit où l'utilisateur revient si on la traite bien.
 * -------------------------------------------------------------------------- */
.fb-error {
  padding: 72px 0 96px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fb-error__inner {
  max-width: 640px;
  position: relative;
  z-index: 1;
}
.fb-error__code {
  font-size: clamp(120px, 22vw, 220px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin: 0 0 8px;
  background: linear-gradient(180deg, var(--brand-50) 0%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  pointer-events: none;
}
.fb-error__title {
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.015em;
}
.fb-error__lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 auto 28px;
  max-width: 480px;
}
.fb-error__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.fb-error__links {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  margin-top: 8px;
}
.fb-error__hint {
  font-size: 12.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  margin: 0 0 12px;
}
.fb-error__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.fb-error__links a {
  color: var(--brand-600);
  font-weight: 600;
  font-size: 14px;
}
.fb-error__links a:hover { color: var(--brand-700); }

/* -----------------------------------------------------------------------------
 * 14. Burkindi — bulle flottante, mock-up de conversation, page dédiée
 *
 *     La marque Burkindi s'exprime en vert WhatsApp (25D366) sur fond bleu,
 *     avec un mock-up de conversation qui rappelle l'UI WhatsApp sans la copier.
 * -------------------------------------------------------------------------- */

/* Bulle flottante, présente sur toutes les pages publiques. */
.fb-bubble {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35), 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: transform .2s ease, box-shadow .2s ease, background-color .15s ease;
}
.fb-bubble:hover {
  color: #fff;
  text-decoration: none;
  background: #1FB855;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.45), 0 3px 8px rgba(0, 0, 0, 0.14);
}
.fb-bubble__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  flex-shrink: 0;
}
.fb-bubble__label { display: inline-flex; flex-direction: column; line-height: 1.2; }
.fb-bubble__eyebrow {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}
.fb-bubble__name { font-size: 15px; font-weight: 800; letter-spacing: -0.01em; }

/* Sur les petits écrans, on garde uniquement l'icône pour ne pas cacher le contenu. */
@media (max-width: 560px) {
  .fb-bubble {
    padding: 0;
    width: 56px;
    height: 56px;
    justify-content: center;
    right: 16px;
    bottom: 16px;
  }
  .fb-bubble__label { display: none; }
  .fb-bubble__icon { background: transparent; width: 32px; height: 32px; }
}

/* Le pulse discret : anneau qui bat toutes les 3 s pour attirer l'œil sans agacer. */
.fb-bubble::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: fb-bubble-pulse 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes fb-bubble-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fb-bubble::before { animation: none; opacity: 0; }
}

/* Mock-up de conversation WhatsApp (section home + page /burkindi). */
.fb-chat {
  background: linear-gradient(180deg, #ECE5DD 0%, #E5DDD1 100%);
  border-radius: var(--radius-xl);
  padding: 22px 20px;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.fb-chat::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.35) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.25) 0, transparent 35%);
  pointer-events: none;
}
.fb-chat__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 0 14px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}
.fb-chat__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #25D366;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
}
.fb-chat__name {
  display: block;
  font-weight: 700;
  font-size: 15px;
  color: #111;
}
.fb-chat__status {
  display: block;
  font-size: 12px;
  color: #4A7C4E;
  font-weight: 600;
}
.fb-chat__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.fb-chat__bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #111;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  position: relative;
}
.fb-chat__bubble--me {
  align-self: flex-end;
  background: #DCF8C6;
  border-bottom-right-radius: 4px;
}
.fb-chat__bubble--bot {
  align-self: flex-start;
  background: #fff;
  border-bottom-left-radius: 4px;
}
.fb-chat__time {
  font-size: 10.5px;
  color: rgba(0, 0, 0, 0.45);
  margin-left: 6px;
  vertical-align: bottom;
}
.fb-chat__card {
  align-self: flex-start;
  max-width: 82%;
  background: #fff;
  border-radius: 12px;
  padding: 10px 12px;
  border-left: 4px solid var(--brand-600);
  font-size: 13.5px;
  color: #111;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.fb-chat__card strong { display: block; font-weight: 700; margin-bottom: 2px; }
.fb-chat__card small { color: var(--text-muted); font-size: 12px; }

/* Section « Rencontrez Burkindi » sur la home. */
.fb-burkindi-section {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(400px 240px at 100% 0%, rgba(37, 211, 102, 0.10), transparent 70%),
    linear-gradient(135deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.fb-burkindi-section h2 { color: #fff; font-size: 30px; margin: 0 0 14px; }
.fb-burkindi-section p.lead {
  font-size: 16.5px; line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
  max-width: 520px;
}
.fb-burkindi-section__bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 10px;
}
.fb-burkindi-section__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.9);
}
.fb-burkindi-section__bullets svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: #25D366;
}
.fb-burkindi-section__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.fb-burkindi-section__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(37, 211, 102, 0.20);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #A9F0C1;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
@media (max-width: 900px) {
  .fb-burkindi-section { grid-template-columns: 1fr; padding: 32px; gap: 32px; }
  .fb-burkindi-section h2 { font-size: 24px; }
  .fb-chat { margin: 0 auto; }
}

/* Page dédiée /burkindi. */
.fb-burkindi-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(700px 320px at 80% -10%, rgba(37, 211, 102, 0.18), transparent 60%),
    linear-gradient(160deg, var(--brand-700) 0%, var(--brand-800) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.fb-burkindi-hero h1 { color: #fff; font-size: 40px; line-height: 1.15; margin: 0 0 14px; max-width: 640px; }
.fb-burkindi-hero p { font-size: 17px; color: rgba(255,255,255,0.9); max-width: 620px; margin: 0 0 24px; line-height: 1.6; }
@media (max-width: 640px) { .fb-burkindi-hero h1 { font-size: 30px; } }

.fb-caps {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .fb-caps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .fb-caps { grid-template-columns: 1fr; } }
.fb-cap {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.fb-cap__icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(37, 211, 102, 0.14);
  color: #1FB855;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.fb-cap h3 { font-size: 16px; margin: 0 0 6px; font-weight: 700; }
.fb-cap p { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 1.55; }

/* -----------------------------------------------------------------------------
 * 15. Page de téléchargement (/telecharger) — cible campagnes réseaux sociaux
 * -------------------------------------------------------------------------- */

.fb-dl-hero {
  padding: 72px 0 40px;
  color: #fff;
  background:
    radial-gradient(700px 320px at 90% -10%, rgba(245, 197, 24, 0.14), transparent 60%),
    radial-gradient(600px 320px at -10% 110%, rgba(198, 40, 40, 0.14), transparent 60%),
    linear-gradient(160deg, var(--brand-600) 0%, var(--brand-700) 55%, var(--brand-800) 100%);
  position: relative;
  overflow: hidden;
}
.fb-dl-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .fb-dl-hero__grid { grid-template-columns: 1fr; gap: 40px; text-align: left; } }

.fb-dl-hero h1 {
  color: #fff;
  font-size: 46px;
  line-height: 1.1;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
  font-weight: 800;
}
@media (max-width: 640px) { .fb-dl-hero h1 { font-size: 32px; } }
.fb-dl-hero__lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 24px;
  max-width: 520px;
  line-height: 1.55;
}

/* Ligne « ★★★★★ · gratuit · sans compte ». Petits atouts au-dessus des boutons. */
.fb-dl-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
}
.fb-dl-trust__item { display: inline-flex; align-items: center; gap: 6px; }
.fb-dl-trust__sep { opacity: 0.4; }
.fb-dl-trust__stars { color: var(--flag-yellow); letter-spacing: 1px; font-size: 14px; }

/* Boutons stores en taille XL — c'est le CTA principal, doit dominer le hero. */
.fb-dl-stores {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.fb-dl-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  border-radius: 12px;
  background: #111;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform .15s ease, background-color .15s ease;
}
.fb-dl-store:hover { background: #000; color: #fff; text-decoration: none; transform: translateY(-2px); }
.fb-dl-store__label { display: flex; flex-direction: column; align-items: flex-start; }
.fb-dl-store__eyebrow { font-size: 11px; opacity: .8; letter-spacing: .04em; text-transform: uppercase; }
.fb-dl-store__name { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }

/* Bloc QR — visible uniquement sur ≥ 900 px (les mobiles n'en ont pas besoin). */
.fb-dl-qr {
  display: none;
  margin-top: 24px;
  align-items: center;
  gap: 18px;
  padding: 16px 20px 16px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-lg);
  max-width: 340px;
}
.fb-dl-qr img { width: 84px; height: 84px; border-radius: 8px; background: #fff; padding: 4px; }
.fb-dl-qr__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.4;
}
.fb-dl-qr__label strong { display: block; font-size: 14px; color: #fff; }
@media (min-width: 900px) { .fb-dl-qr { display: inline-flex; } }

/* Phone mockup (droite du hero). Contient un mini-mock-up Burkindi pour rester
   cohérent avec ce qu'on vient de faire sur /burkindi. */
.fb-phone {
  position: relative;
  width: 300px;
  height: 600px;
  margin: 0 auto;
  border-radius: 42px;
  background: #111;
  padding: 12px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.35),
    0 0 0 3px rgba(255, 255, 255, 0.06);
}
@media (max-width: 900px) { .fb-phone { width: 260px; height: 520px; margin-top: 12px; } }
.fb-phone::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 84px;
  height: 20px;
  background: #111;
  border-radius: 999px;
  z-index: 3;
}
.fb-phone__screen {
  width: 100%;
  height: 100%;
  border-radius: 32px;
  background: linear-gradient(180deg, var(--brand-600) 0%, var(--brand-700) 100%);
  position: relative;
  overflow: hidden;
  padding: 42px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.fb-phone__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
  padding: 0 4px 6px;
}
.fb-phone__title { color: #fff; font-size: 16px; font-weight: 700; margin: 2px 0 8px; }

/* Aperçus de l'app en tuiles (3 aperçus alignés en bas de page). */
.fb-dl-previews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: end;
}
@media (max-width: 820px) { .fb-dl-previews { grid-template-columns: 1fr; gap: 48px; } }
.fb-dl-previews .fb-phone { width: 240px; height: 480px; }
.fb-dl-previews figcaption {
  text-align: center;
  color: var(--text-muted);
  font-size: 13.5px;
  margin-top: 14px;
  line-height: 1.5;
}
.fb-dl-previews figcaption strong {
  display: block;
  color: var(--text);
  font-size: 15px;
  margin-bottom: 2px;
}

/* Écrans de démo dans le phone : liste, fiche, message Burkindi. */
.fb-scr__card {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 10px 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.3;
}
.fb-scr__card strong { display: block; font-size: 13px; margin-bottom: 2px; }
.fb-scr__card small { color: rgba(255, 255, 255, 0.7); font-size: 11px; }
.fb-scr__badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--flag-yellow);
  color: #111;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 6px;
}
.fb-scr__cover {
  height: 88px;
  background: linear-gradient(135deg, var(--brand-50), #F5F4F9);
  border-radius: 10px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-600);
  font-weight: 800;
  font-size: 24px;
}

/* Bande stores finale (large, fond blanc pour contraster avec le hero). */
.fb-dl-final {
  text-align: center;
  padding: 48px 32px;
  background: var(--surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
}
.fb-dl-final h2 { margin: 0 0 8px; }
.fb-dl-final p { color: var(--text-muted); font-size: 15px; margin: 0 0 24px; }
.fb-dl-final .fb-dl-stores { justify-content: center; margin-bottom: 0; }
