@font-face {
  font-family: "Baloo 2";
  src: url("assets/baloo2.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --night: #2b2d5c;
  --night-deep: #1c1d40;
  --cream: #fff1d0;
  --cream-dark: #f2dfb0;
  --ink: #3a2a1a;
  --orange: #ff8a2a;
  --orange-deep: #c2410c;
  --yellow: #ffe066;
  --muted: #b9b6d8;
}

* { box-sizing: border-box; }

html { background: var(--night-deep); }

body {
  margin: 0;
  font-family: "Baloo 2", system-ui, sans-serif;
  color: var(--cream);
  background:
    radial-gradient(1200px 600px at 70% -10%, #3b3e7a 0%, transparent 60%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  min-height: 100vh;
  line-height: 1.55;
  font-size: 18px;
}

a { color: var(--yellow); }

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

/* Barre du haut */
.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 24px; color: var(--cream); text-decoration: none;
}
.brand img { width: 34px; height: 40px; }
.lang {
  font: inherit; font-size: 15px; font-weight: 700;
  background: transparent; color: var(--cream);
  border: 2px solid #4a4c86; border-radius: 999px; padding: 4px 12px; cursor: pointer;
}
.lang option { color: #222; }

/* Accueil */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center;
  padding: 40px 0 56px;
}
.hero h1 {
  margin: 0; font-size: clamp(56px, 9vw, 96px); line-height: 0.95; font-weight: 800;
  color: var(--yellow); text-shadow: 0 6px 0 var(--orange);
}
.hero p.tag { font-size: 24px; margin: 18px 0 28px; max-width: 30ch; }
.hero .art { display: flex; justify-content: center; }
.hero .art img {
  width: min(300px, 70vw); height: auto;
  animation: bob 3.2s ease-in-out infinite;
  filter: drop-shadow(0 18px 30px rgba(255, 138, 42, 0.25));
}
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero .art img { animation: none; } }

.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(180deg, #ffa44d, var(--orange));
  color: #fff; font-weight: 800; font-size: 20px; text-decoration: none;
  padding: 12px 24px; border-radius: 18px; box-shadow: 0 5px 0 var(--orange-deep);
}
.store { flex-direction: column; align-items: flex-start; gap: 0; line-height: 1.2; }
.store small { font-weight: 600; font-size: 14px; opacity: 0.9; }

/* Captures */
.shots {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 64px;
}
.shots img {
  width: 100%; height: auto; border-radius: 16px; display: block;
  border: 3px solid #4a4c86;
}

/* Points forts */
.features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 72px;
}
.card {
  background: var(--cream); color: var(--ink);
  border-radius: 22px; padding: 22px 22px 18px;
  box-shadow: 0 6px 0 var(--cream-dark);
}
.card h3 { margin: 0 0 6px; font-size: 22px; line-height: 1.2; }
.card p { margin: 0; font-size: 17px; }
.card .ico { font-size: 30px; line-height: 1; margin-bottom: 8px; }

/* Pages de texte (confidentialité) */
.doc {
  background: var(--cream); color: var(--ink);
  border-radius: 26px; padding: 36px clamp(20px, 5vw, 56px); margin: 16px 0 64px;
  box-shadow: 0 8px 0 var(--cream-dark);
}
.doc h1 { margin-top: 0; font-size: 40px; line-height: 1.1; }
.doc h2 { font-size: 24px; margin: 30px 0 6px; }
.doc a { color: var(--orange-deep); }
.doc .meta { color: #7a6a55; font-size: 16px; }
.doc li { margin-bottom: 4px; }

footer {
  border-top: 2px solid #3d3f78; padding: 22px 0 36px; color: var(--muted); font-size: 15px;
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between;
}
footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer a { color: var(--muted); }

[data-lang] { display: none !important; }
html[data-ui="en"] [data-lang="en"] { display: revert !important; }
html[data-ui="fr"] [data-lang="fr"] { display: revert !important; }
html[data-ui="de"] [data-lang="de"] { display: revert !important; }
html[data-ui="it"] [data-lang="it"] { display: revert !important; }
html[data-ui="es"] [data-lang="es"] { display: revert !important; }
html[data-ui="pt_BR"] [data-lang="pt_BR"] { display: revert !important; }
html[data-ui="ja"] [data-lang="ja"] { display: revert !important; }
html[data-ui="ko"] [data-lang="ko"] { display: revert !important; }
html[data-ui="zh_TW"] [data-lang="zh_TW"] { display: revert !important; }
html[data-ui="ru"] [data-lang="ru"] { display: revert !important; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 16px; }
  .hero .art { order: -1; }
  .hero p.tag { margin-left: auto; margin-right: auto; }
  .shots { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
}
