/* BOKONO RDC — site public. Couleurs de la marque (bleu cobalt, marine, rouge, jaune du drapeau). */
:root { --cobalt:#0047AB; --blue:#0B5CD5; --navy:#012a5e; --red:#C8102E; --yellow:#F7D618; --ink:#0f2a44; --muted:#4a6077;
        --bg:#f4f7fb; --card:#fff; --line:#dfe7f2; --tint:#e8f0fc; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: var(--blue); }
img { max-width: 100%; }
.small { font-size: .88rem; } .muted { color: var(--muted); }
.flag { display: flex; height: 6px; } .flag i { flex: 1; background: var(--blue); } .flag i:nth-child(2) { flex: .3; background: var(--yellow); } .flag i:nth-child(3) { flex: .3; background: var(--red); }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 10px 5vw; background: rgba(255,255,255,.96);
       border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; letter-spacing: .02em; }
.brand img { width: 38px; height: 38px; border-radius: 9px; }
.brand b { color: var(--red); }
.top nav { display: flex; gap: 4px; margin-left: auto; flex-wrap: wrap; }
.top nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.top nav a:hover, .top nav a.on { background: var(--tint); color: var(--cobalt); }
.lang { padding: 8px 14px; border-radius: 999px; border: 2px solid var(--cobalt); color: var(--cobalt); font-weight: 700; text-decoration: none; font-size: .9rem; white-space: nowrap; }
.lang:hover { background: var(--cobalt); color: #fff; }

/* Accueil */
.hero { position: relative; min-height: 78vh; display: flex; overflow: hidden; background: var(--navy); color: #fff; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 35% center; transform: scaleX(-1); }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(1,42,94,.95) 0%, rgba(1,42,94,.84) 45%, rgba(1,42,94,.25) 78%, rgba(1,42,94,.1) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 56px 5vw; max-width: 760px; display: flex; flex-direction: column; justify-content: center; }
.tag { margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8fd3ff; }
.doc .tag, .mhead .tag { color: var(--blue); }
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; margin: 12px 0 0; font-weight: 800; }
.hero h1 span { color: #ffd84d; }
.hero .sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: #dbe8fb; margin: 18px 0 0; max-width: 580px; }
.badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 9px 16px; border-radius: 999px; background: rgba(255,255,255,.12);
         border: 1px solid rgba(255,255,255,.35); font-weight: 700; width: fit-content; }
.badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.25); }

/* Boutons de téléchargement */
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px; border-radius: 14px; text-decoration: none; min-width: 220px; }
.store .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; background: rgba(255,255,255,.2); }
.store b { display: block; font-size: 1rem; } .store small { display: block; font-size: .8rem; opacity: .85; }
.store.android { background: var(--red); color: #fff; }
.store.android:hover { filter: brightness(1.08); }
.store.ios { background: rgba(255,255,255,.1); color: #c9d8ee; border: 1px dashed rgba(255,255,255,.45); cursor: not-allowed; }
.store.manual { background: #fff; color: var(--cobalt); } .store.manual .ic { background: var(--tint); }
.stores.light .store.ios { background: #eef2f7; color: #6b7f95; border-color: #b8c6d8; }
.stores.light .store.manual { border: 2px solid var(--cobalt); }

.keys { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--cobalt); color: #fff; }
.keys div { padding: 22px 5vw; border-right: 1px solid rgba(255,255,255,.15); }
.keys b { display: block; font-size: 1.9rem; font-weight: 800; color: #ffd84d; } .keys span { font-size: .92rem; color: #dbe8fb; }

main.home { max-width: 1120px; margin: 0 auto; padding: 8px 5vw 40px; }
main.home > section { padding: 44px 0 8px; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0 0 6px; color: var(--navy); }
.lead { color: var(--muted); margin: 0 0 22px; max-width: 760px; font-size: 1.05rem; }
.more { font-weight: 700; text-decoration: none; }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fig { background: var(--card); border-radius: 16px; padding: 18px; border: 1px solid var(--line); }
.fig b { font-size: 2rem; color: var(--red); font-weight: 800; } .fig p { margin: 6px 0 10px; }
.fig a { font-size: .8rem; color: var(--muted); }
.feats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feat { background: var(--card); border-radius: 16px; padding: 18px; border-top: 4px solid var(--blue); box-shadow: 0 1px 2px rgba(15,42,68,.06); }
.feat h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--navy); } .feat p { margin: 0; color: var(--muted); font-size: .95rem; }
.whos { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.who { display: flex; flex-direction: column; gap: 6px; background: var(--card); border-radius: 16px; padding: 16px 18px; border-left: 6px solid var(--c);
       text-decoration: none; color: var(--ink); box-shadow: 0 1px 2px rgba(15,42,68,.06); transition: transform .15s; }
.who:hover { transform: translateY(-2px); } .who b { font-size: 1.08rem; } .who span { color: var(--muted); font-size: .92rem; flex: 1; }
.who em { font-style: normal; color: var(--c); font-weight: 700; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; }
ul.checks { list-style: none; padding: 0; margin: 0 0 16px; }
ul.checks li { padding: 8px 0 8px 32px; position: relative; border-bottom: 1px solid var(--line); }
ul.checks li::before { content: "✓"; position: absolute; left: 4px; top: 7px; color: #03968F; font-weight: 800; }
table.price { width: 100%; border-collapse: collapse; background: var(--card); border-radius: 14px; overflow: hidden; }
table.price th, table.price td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); }
table.price th { background: var(--tint); color: var(--navy); } table.price td:last-child { font-weight: 800; color: var(--cobalt); white-space: nowrap; }
.word blockquote { margin: 0; background: var(--navy); color: #fff; border-radius: 18px; padding: 26px 28px; font-size: 1.08rem; border-left: 6px solid var(--yellow); }
.word cite { display: block; margin-top: 14px; font-style: normal; font-weight: 700; color: #ffd84d; font-size: .92rem; }
.cta { text-align: center; } .cta .stores { justify-content: center; } .cta p { color: var(--muted); }

/* Pages de contenu */
main.doc { max-width: 860px; margin: 0 auto; padding: 28px 5vw 48px; }
main.doc.wide { max-width: 1120px; }
main.doc h1 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin: 6px 0 8px; color: var(--navy); }
main.doc h2 { margin-top: 30px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.card { display: block; background: var(--card); border-radius: 14px; padding: 14px 16px; text-decoration: none; color: var(--ink); border-left: 5px solid var(--blue); }
.card b { display: block; } .card span { color: var(--muted); font-size: .88rem; }
ol.steps { counter-reset: s; list-style: none; padding: 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 4px 0 10px 42px; }
ol.steps > li::before { content: counter(s); position: absolute; left: 0; top: 2px; width: 28px; height: 28px; border-radius: 50%; background: var(--c, var(--blue));
                        color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.legal article, .manual article { background: var(--card); border-radius: 16px; padding: 8px 24px 20px; }
.legal .meta { color: var(--muted); }
.warn, .note.warn { background: #fff4e5; border-left: 4px solid #e08a00; padding: 10px 14px; border-radius: 8px; margin: 12px 0; }
.note { padding: 10px 14px; border-radius: 10px; margin: 14px 0; border-left: 4px solid var(--blue); background: var(--tint); }
.note.info { border-left-color: #03968F; background: #e3f6f4; } .note p { margin: 0; }
.toc { background: var(--card); border-radius: 12px; padding: 12px 18px; margin: 16px 0; }
.toc summary { font-weight: 700; cursor: pointer; } .toc ol { margin: 8px 0 0; padding-left: 22px; columns: 2; column-gap: 28px; } .toc a { text-decoration: none; }
table.kv { width: 100%; border-collapse: collapse; margin: 14px 0; } table.kv th, table.kv td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.kv th { width: 38%; color: var(--muted); font-weight: 600; }
article table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: .94rem; display: block; overflow-x: auto; }
article th, article td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; } article th { background: var(--tint); }

/* Manuels */
.chooser { position: sticky; top: 59px; z-index: 9; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 5vw; display: flex; align-items: center; gap: 12px; }
.chooser > span { font-weight: 700; font-size: .85rem; color: var(--muted); white-space: nowrap; }
.chooser div { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.chooser a { white-space: nowrap; padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--c); color: var(--c); text-decoration: none; font-weight: 600; font-size: .88rem; }
.chooser a.on { background: var(--c); color: #fff; }
.mhead { border-left: 6px solid var(--c); padding-left: 16px; margin-bottom: 8px; }
.mhead .for { color: var(--muted); font-size: .94rem; }
.pill { display: inline-block; margin-top: 4px; padding: 7px 14px; border-radius: 999px; background: var(--c); color: #fff; text-decoration: none; font-weight: 700; font-size: .88rem; }
.manual section { scroll-margin-top: 120px; } .manual h2 { color: var(--c); border-bottom: 2px solid var(--line); padding-bottom: 6px; }
figure.shots { margin: 18px 0; } figure.shots .row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
figure.shots .row > div { width: 200px; text-align: center; }
.phone { border: 6px solid #1c2733; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 4px 14px rgba(15,42,68,.18); }
.phone img { display: block; width: 100%; height: auto; }
.lbl { font-size: .8rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
figcaption { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 10px; font-style: italic; }

/* Pied de page */
.foot { background: var(--navy); color: #c7d6ec; padding: 34px 5vw 18px; margin-top: 30px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; max-width: 1120px; margin: 0 auto; }
.foot .brand { color: #fff; } .foot h4 { color: #fff; margin: 4px 0 10px; font-size: .95rem; }
.foot a { display: block; color: #e3ecf8; text-decoration: none; padding: 3px 0; font-size: .93rem; } .foot a:hover { color: #ffd84d; }
.foot .copy { max-width: 1120px; margin: 24px auto 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.15); }
.foot .copy a { display: inline; }

@media (max-width: 900px) {
  .feats { grid-template-columns: repeat(2, 1fr); } .figs { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 10px; } .foot .cols { grid-template-columns: 1fr 1fr; }
  .keys { grid-template-columns: repeat(2, 1fr); } .keys div { border-bottom: 1px solid rgba(255,255,255,.15); }
}
@media (max-width: 700px) {
  .top { flex-wrap: wrap; gap: 8px; padding: 8px 16px; position: static; }
  .top nav { order: 3; width: 100%; margin: 0; flex-wrap: nowrap; overflow-x: auto; }
  .top nav a { white-space: nowrap; font-size: .88rem; padding: 7px 10px; }
  .lang { margin-left: auto; }
  .chooser { top: 0; padding: 8px 16px; } .chooser > span { display: none; }
  .hero { min-height: auto; } .hero img.bg { height: 46%; object-position: 30% top; transform: none; }
  .hero::after { background: linear-gradient(180deg, rgba(1,42,94,.15) 0%, rgba(1,42,94,.6) 30%, var(--navy) 46%); }
  .hero .wrap { padding: 30vh 16px 30px; }
  .store { flex: 1 1 100%; }
  main.home, main.doc { padding-left: 16px; padding-right: 16px; }
  .feats, .figs { grid-template-columns: 1fr; } .keys div { padding: 16px; }
  .toc ol { columns: 1; } figure.shots .row > div { width: 46%; }
  .legal article, .manual article { padding: 4px 14px 16px; }
  .foot .cols { grid-template-columns: 1fr; }
}
