/* Style partagé des pages du site bluffabet.web.app (générées par
   tool/build_legal_site.dart). Couleurs reprises de l'app (AppColors). */
:root {
  --primary: #FF6B35;
  --primary-shadow: #C44A1F;
  --text: #1A1410;
  --muted: #6F6A68;
  --ground: #FFF7F1;
  --card: #FFFFFF;
  --line: #EFE9E6;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
}
a { color: var(--primary-shadow); }
.site-header {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
}
.brand img { border-radius: 9px; }
main {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 20px 40px;
}
.hero { text-align: center; padding: 32px 0 16px; }
.hero img { border-radius: 26px; box-shadow: 0 6px 0 rgba(0, 0, 0, 0.08); }
.hero h1 { font-size: clamp(26px, 6vw, 36px); letter-spacing: -0.5px; margin: 20px 0 10px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 520px; margin: 0 auto 10px; }
.hero .promise { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 12px; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 28px;
}
.card {
  display: block;
  padding: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 3px 0 var(--line);
}
.card strong { display: block; margin-bottom: 4px; }
.card span { color: var(--muted); font-size: 14px; }
.legal h1 { font-size: clamp(24px, 5vw, 30px); letter-spacing: -0.5px; margin-bottom: 4px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.legal .intro { font-size: 17px; }
.legal section {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 18px;
  margin: 14px 0;
}
.legal h2 { font-size: 18px; margin: 14px 0 6px; }
.legal li { margin-bottom: 6px; }
.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 8px; }

/* ── Page d'accueil : le jeu en dix secondes ─────────────────────────── */
/* Couleurs des tuiles = AppColors.tile1…tile8 de l'app. */
.w1 { background: #4ECDC4; box-shadow: 0 4px 0 #2BA39B; }
.w2 { background: #58CC02; box-shadow: 0 4px 0 #3F9400; }
.w3 { background: #FFD93D; box-shadow: 0 4px 0 #D9B20F; color: #4A3B00; }
.w5 { background: #FF9500; box-shadow: 0 4px 0 #C26F00; }
.w8 { background: #FF3D7F; box-shadow: 0 4px 0 #C81E58; }
.play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 22px 11px 18px;
  background: #1A1410;
  color: #FFFFFF;
  border-radius: 14px;
  box-shadow: 0 4px 0 #000000;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  line-height: 1.15;
  text-align: left;
}
.play small { display: block; font-size: 10px; letter-spacing: 1.4px; opacity: 0.75; }
.play svg { color: #58CC02; }
.play:active { transform: translateY(3px); box-shadow: 0 1px 0 #000000; }
.block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 4px 0 var(--line);
  padding: 8px 20px 22px;
  margin: 22px 0;
}
.block h2 { font-size: 21px; letter-spacing: -0.3px; margin: 16px 0 12px; text-align: center; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.steps li { text-align: center; }
.steps strong { display: block; font-size: 16px; margin-top: 10px; }
.steps li > span { color: var(--muted); font-size: 14px; }
.tiles { display: flex; justify-content: center; align-items: center; gap: 6px; min-height: 56px; }
.tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 44px;
  border-radius: 10px;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 20px;
}
.tile small { position: absolute; right: 4px; bottom: 1px; font-size: 9px; font-weight: 700; opacity: 0.85; }
.tile.w3 { color: #4A3B00; }
.tile.faulty { outline: 3px dashed #E53935; outline-offset: 2px; }
.pot { margin-left: 6px; font-weight: 800; color: var(--primary-shadow); font-size: 18px; }
.guess { text-align: center; }
.guess p { color: var(--muted); max-width: 520px; margin: 0 auto 10px; }
.guess .squares { font-size: 38px; letter-spacing: 4px; color: inherit; margin: 4px auto 10px; }
.legend { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding: 0; margin: 6px 0 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 14px; height: 14px; border-radius: 4px; box-shadow: none; }
.shots { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scroll-snap-type: x mandatory; justify-content: safe center; }
.shots img { flex: 0 0 auto; width: 190px; height: auto; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 4px 0 var(--line); scroll-snap-align: center; }
.tuilo { display: flex; gap: 16px; align-items: flex-start; padding-top: 18px; }
.tuilo img { border-radius: 18px; flex: 0 0 auto; }
.tuilo h2 { text-align: left; margin-top: 0; }
.tuilo p { color: var(--muted); margin: 0; }
@media (max-width: 480px) {
  .tuilo { flex-direction: column; align-items: center; text-align: center; }
  .tuilo h2 { text-align: center; }
}
