:root {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --text: #16181a;
  --muted: #5b636b;
  --line: #e3e6ea;
  --primary: #3e65a2;
  --teal: #4fb5ca;
  --pink: #cb1751;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1e1f21;
    --text: #eceef0;
    --muted: #a3a9b0;
    --line: #2e3135;
    --primary: #8aa9d6;
    --teal: #6fcadb;
    --pink: #f0628c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--primary); }
img { max-width: 100%; height: auto; }

/* Language switch: every bilingual element carries .fr or .en */
html[data-lang="fr"] .en, html[data-lang="en"] .fr { display: none !important; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.lang { display: flex; gap: 4px; }
.lang button {
  font: inherit; font-size: 14px; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--muted); cursor: pointer;
}
html[data-lang="fr"] .lang [data-set="fr"], html[data-lang="en"] .lang [data-set="en"] {
  background: var(--text); color: var(--bg); border-color: var(--text);
}

.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center;
  padding: 48px 0 56px;
}
.hero h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--teal), var(--primary) 45%, var(--pink));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); margin: 0 0 28px; }
.hero .bird { justify-self: center; width: min(320px, 70vw); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px; border-radius: 12px; text-decoration: none;
  background: var(--text); color: var(--bg); font-weight: 600; line-height: 1.2;
}
.store small { display: block; font-weight: 400; font-size: 12px; opacity: .8; }
.store svg { width: 24px; height: 24px; fill: currentColor; flex: none; }

.pill {
  display: inline-block; font-size: 14px; font-weight: 600; color: var(--primary);
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 16px;
}

section { padding: 48px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 28px; margin: 0 0 24px; letter-spacing: -0.01em; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shot { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.shot img { display: block; border-radius: 12px; width: 100%; aspect-ratio: 418 / 726; object-fit: cover; }
.shot h3 { margin: 14px 4px 4px; font-size: 18px; }
.shot p { margin: 0 4px 4px; color: var(--muted); font-size: 15px; }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.fact h3 { margin: 0 0 6px; font-size: 18px; }
.fact p { margin: 0; color: var(--muted); font-size: 15px; }

footer { border-top: 1px solid var(--line); padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; margin-bottom: 8px; }

/* Long-form pages (privacy, legal) */
.doc { max-width: 740px; padding: 24px 0 56px; }
.doc h1 { font-size: 36px; line-height: 1.15; margin: 16px 0 8px; }
.doc h2 { font-size: 22px; margin: 36px 0 8px; }
.doc .meta { color: var(--muted); font-size: 15px; }
.doc .box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 24px; }
  .hero .bird { order: -1; width: 160px; justify-self: start; }
  .shots, .facts { grid-template-columns: 1fr; }
  .shot { max-width: 360px; }
}
.sources { color: var(--muted); font-size: 14px; margin: 20px 0 0; }
.badge { display: inline-block; line-height: 0; }
.badge img { height: 48px; width: auto; }
.facts.facts-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 760px) { .facts.facts-2 { grid-template-columns: 1fr; } }
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px;
}
.gallery img { width: 100%; height: auto; border-radius: 14px; scroll-snap-align: start; border: 1px solid var(--line); }
@media (max-width: 760px) { .gallery { grid-auto-columns: 62%; } }
