/* Site Bajji Box — mêmes couleurs que l'app (CLAUDE.md, section Design). */
:root {
  --primary: #1f6f5c;
  --primary-dark: #17574a;
  --brand-green: #006233;
  --brand-red: #c1272d;
  --bg: #f6f7f9;
  --card: #ffffff;
  --border: #e3e6eb;
  --text: #1b1f24;
  --muted: #5b6470;
  --radius: 20px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --primary: #4fb79c;
    --primary-dark: #3fa087;
    --bg: #111416;
    --card: #1a1e21;
    --border: #2b3136;
    --text: #e8ebee;
    --muted: #a0a8b1;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
.container { width: min(1080px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }

/* En-tête */
.topbar { background: var(--card); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 10; }
.topbar .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--border); }
.nav { display: flex; gap: 18px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--primary); }

/* Présentation */
.hero { padding: 64px 0 48px; }
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 600; margin: 0 0 8px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; margin: 0 0 16px; }
.lead { font-size: 1.15rem; color: var(--muted); margin: 0 0 28px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store {
  display: inline-flex; flex-direction: column; justify-content: center;
  min-width: 170px; min-height: 52px; padding: 6px 18px; border-radius: 12px;
  background: #111; color: #fff; text-decoration: none; line-height: 1.2;
}
.store small { font-size: 0.72rem; opacity: 0.8; }
.store strong { font-size: 1.05rem; }
.store--soon { background: transparent; color: var(--muted); border: 1px dashed var(--border); }
.badges { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 24px 0 0; }
.badges li { padding: 4px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); font-size: 0.9rem; }
.hero__shot { justify-self: center; width: min(300px, 80%); border-radius: 28px; border: 8px solid #1b1f24; box-shadow: 0 20px 50px rgb(0 0 0 / 0.18); }

/* Sections */
.section { padding: 56px 0; }
.section--alt { background: var(--card); border-block: 1px solid var(--border); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.2; margin: 0 0 12px; }
.section__lead { color: var(--muted); margin: 0 0 28px; max-width: 680px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; list-style: none; padding: 0; margin: 0; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.section:not(.section--alt) .card { background: var(--card); }
.card h3 { margin: 0 0 6px; font-size: 1.1rem; }
.card p { margin: 0; color: var(--muted); }
.shots { display: flex; gap: 16px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; }
.shots figure { margin: 0; flex: 0 0 200px; scroll-snap-align: start; text-align: center; }
.shots img { border-radius: 18px; border: 1px solid var(--border); }
.shots figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { padding-left: 28px; position: relative; }
.checks li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.checks--no li::before { content: '✕'; color: var(--brand-red); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 20px; }
.button {
  display: inline-block; padding: 12px 22px; border-radius: 14px; min-height: 48px;
  background: var(--primary); color: #fff; text-decoration: none; font-weight: 600;
}
.button:hover { background: var(--primary-dark); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.section--alt details { background: var(--bg); }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* Pages légales */
.legal { padding: 48px 0 64px; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin: 0 0 4px; }
.legal .updated { color: var(--muted); margin: 0 0 32px; }
.legal h2 { font-size: 1.2rem; margin: 32px 0 8px; }
.legal p { margin: 0; }
.legal .note { margin-top: 40px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--muted); }

/* Pied de page */
.footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: 0.92rem; }
.footer .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

@media (max-width: 760px) {
  .hero { padding-top: 40px; }
  .hero .container, .two-cols { grid-template-columns: 1fr; }
  .topbar .container { padding-block: 10px; }
  .nav { gap: 12px; width: 100%; }
  .legal h2 { overflow-wrap: anywhere; }
  .nav a { font-size: 0.88rem; }
}
