/* Getaway Raccoon — site vitrine */
:root {
  --night: #141a33;
  --night-2: #1d2547;
  --night-3: #2a3463;
  --sunset: #ff8a3d;
  --sunset-2: #ffb547;
  --stripe: #ffd84a;
  --siren-red: #ff4d5e;
  --siren-blue: #3d8bff;
  --cream: #fff6e8;
  --ink: #1b1f33;
  --muted: #b9bfdc;
  --muted-ink: #545a78;
  --radius: 18px;
  --shadow: 0 6px 0 rgba(0, 0, 0, .25);
  --max: 1120px;
  --font-title: "Lilita One", "Arial Black", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--sunset-2); }
a:hover { color: var(--stripe); }
h1, h2, h3 { font-family: var(--font-title); font-weight: 400; line-height: 1.15; letter-spacing: .5px; margin: 0 0 .5em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--stripe); color: var(--ink); padding: 8px 12px; border-radius: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(20, 26, 51, .92);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--night-3);
}
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); font-family: var(--font-title); font-size: 22px; margin-right: auto; }
.brand:hover { color: var(--cream); }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 700; padding: 6px 10px; border-radius: 10px; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--cream); background: var(--night-3); }
.lang { display: flex; gap: 4px; }
.lang a { font-weight: 800; font-size: 13px; text-decoration: none; color: var(--muted); border: 2px solid var(--night-3); padding: 3px 8px; border-radius: 8px; }
.lang a[aria-current="true"] { background: var(--stripe); color: var(--ink); border-color: var(--stripe); }
.lang a:hover { color: var(--cream); border-color: var(--muted); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 120%, var(--sunset) 0%, rgba(255,138,61,0) 55%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 55%, #4a2d4f 100%);
  padding: 64px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; }
.hero h1 { font-size: clamp(44px, 8vw, 84px); margin-bottom: .2em; text-shadow: 0 5px 0 rgba(0,0,0,.3); }
.hero h1 span { color: var(--stripe); display: block; }
.hero .tagline { font-size: clamp(18px, 2.4vw, 22px); color: var(--cream); max-width: 34ch; margin: 0 0 24px; }
.sirens { display: flex; gap: 8px; margin-bottom: 18px; }
.sirens i { width: 34px; height: 10px; border-radius: 10px; display: block; animation: siren 1s infinite steps(1); }
.sirens i:first-child { background: var(--siren-red); }
.sirens i:last-child { background: var(--siren-blue); animation-delay: .5s; }
@keyframes siren { 0% { opacity: 1; } 50% { opacity: .25; } }
/* Le raton est posé sur la route : sa base passe sous le bord du bitume (z-index de .road) */
.hero-art { position: relative; align-self: end; line-height: 0; }
.hero-art .mascot { width: min(400px, 100%); height: auto; margin: 0 auto -18px; filter: drop-shadow(0 10px 14px rgba(0,0,0,.35)); }
.road {
  height: 64px; background: #2b2b38; position: relative; z-index: 2; margin-top: 0;
  border-top: 6px solid #4b4b5c;
}
.road::after {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 8px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--stripe) 0 60px, transparent 60px 120px);
  animation: road 1.2s linear infinite;
}
@keyframes road { from { background-position: 0 0; } to { background-position: -120px 0; } }
@media (prefers-reduced-motion: reduce) {
  .road::after, .sirens i { animation: none; }
}

/* ---------- Store buttons ---------- */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff; text-decoration: none;
  border: 2px solid #5a5a6e; border-radius: 12px;
  padding: 8px 18px 8px 14px; min-width: 170px;
  box-shadow: var(--shadow); transition: transform .12s;
}
.store-btn:hover { color: #fff; transform: translateY(-2px); border-color: #fff; }
.store-btn svg { width: 26px; height: 26px; flex: none; fill: currentColor; }
.store-btn small { display: block; font-size: 11px; line-height: 1.1; opacity: .85; }
.store-btn strong { display: block; font-size: 18px; line-height: 1.1; font-weight: 800; }
.store-btn.soon { opacity: .6; pointer-events: none; }
.store-note { font-size: 14px; color: var(--muted); margin-top: 10px; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-title { font-size: clamp(30px, 5vw, 46px); text-align: center; }
.section-lead { text-align: center; color: var(--muted); max-width: 60ch; margin: 0 auto 40px; }
.alt { background: var(--night-2); }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--night-3); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); border: 2px solid rgba(255,255,255,.06);
}
.card .ico { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 30px; margin-bottom: 14px; }
.card h3 { font-size: 22px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.biomes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.biome {
  position: relative; border-radius: var(--radius); padding: 64px 22px 22px; min-height: 170px;
  color: #fff; box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.biome h3 { font-size: 24px; margin-bottom: 4px; text-shadow: 0 2px 0 rgba(0,0,0,.3); }
.biome p { margin: 0; font-size: 15px; opacity: .95; }
.biome .num { position: absolute; top: 14px; left: 18px; font-family: var(--font-title); font-size: 40px; opacity: .35; }
.biome .badge {
  position: absolute; top: 16px; right: 16px; font-size: 12px; font-weight: 800; text-transform: uppercase;
  background: rgba(0,0,0,.35); padding: 3px 10px; border-radius: 20px; letter-spacing: .5px;
}
.biome .badge.ok { background: var(--stripe); color: var(--ink); }
.b1 { background: linear-gradient(160deg, #7cc95a, #3f8f3a); }
.b2 { background: linear-gradient(160deg, #ffa24d, #b4532a); }
.b3 { background: linear-gradient(160deg, #57b8ff, #2d63c8); }
.b4 { background: linear-gradient(160deg, #6fae7c, #2f5d44); }
.b5 { background: linear-gradient(160deg, #b07cff, #5a3ab3); }
.b6 { background: linear-gradient(160deg, #3b4a8a, #111833); }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 860px; margin: 0 auto; }
.shot {
  margin: 0; aspect-ratio: 750 / 1334; border-radius: 26px; overflow: hidden;
  background: #0c1024; border: 6px solid #0c1024; box-shadow: 0 10px 0 rgba(0,0,0,.3);
}
.shot img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }

.chase-band { background: linear-gradient(180deg, var(--night) 0%, #2a2140 100%); padding: 40px 0 64px; overflow: hidden; }
.chase-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.chase-inner img { width: 115%; max-width: none; margin-left: -10%; height: auto; filter: drop-shadow(0 16px 14px rgba(0,0,0,.4)); }
.chase-inner h2 { font-size: clamp(28px, 4.4vw, 42px); color: var(--stripe); }
.chase-inner p { color: var(--cream); font-size: 18px; margin: 0; }

.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--night-3); border-radius: 14px; margin-bottom: 12px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 14px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; font-family: var(--font-title); color: var(--stripe); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

.cta { text-align: center; background: linear-gradient(135deg, var(--sunset), #e0533a); color: #fff; padding-bottom: 0; overflow: hidden; }
.cta-inner { display: flex; align-items: flex-end; justify-content: center; gap: 24px; }
.cta-inner > div { padding-bottom: 64px; }
.cta-raccoon { width: 240px; height: auto; flex: none; filter: drop-shadow(0 10px 14px rgba(0,0,0,.3)); }
.cta h2 { font-size: clamp(30px, 5vw, 48px); }
.cta .stores { justify-content: center; }

/* ---------- Legal / content pages ---------- */
.page-head { background: linear-gradient(180deg, var(--night-2), var(--night)); padding: 48px 0 24px; }
.page-head h1 { font-size: clamp(32px, 5vw, 48px); }
.page-head p { color: var(--muted); margin: 0; }
.prose { background: var(--cream); color: var(--ink); border-radius: var(--radius); padding: 40px; margin: 0 auto 72px; max-width: 860px; box-shadow: var(--shadow); }
.prose h2 { font-size: 26px; margin-top: 1.6em; color: var(--night-2); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin-top: 1.2em; color: var(--night-3); }
.prose a { color: #c1491c; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .3em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 1em 0; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #e6dcc9; vertical-align: top; }
.prose th { background: #f3e8d4; }
.prose .toc { background: #f6ecda; border-radius: 12px; padding: 16px 20px; }
.prose .toc ol { margin: 0; padding-left: 1.2em; }
.prose .box { background: #f6ecda; border-left: 5px solid var(--sunset); border-radius: 8px; padding: 14px 18px; margin: 1em 0; }
.todo { background: #ffe066; color: #5a3d00; padding: 0 4px; border-radius: 4px; font-weight: 700; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 1em 0 2em; }
.contact-card { background: #f6ecda; border-radius: 14px; padding: 20px; }
.contact-card h3 { margin-top: 0; }
.btn {
  display: inline-block; background: var(--sunset); color: #fff !important; text-decoration: none; font-weight: 800;
  padding: 10px 20px; border-radius: 12px; box-shadow: 0 4px 0 #b4532a;
}
.btn:hover { background: #ff9a52; }

/* ---------- Footer ---------- */
.site-footer { background: #0d1124; color: var(--muted); padding: 40px 0 28px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.site-footer h4 { font-family: var(--font-title); font-weight: 400; color: var(--cream); font-size: 18px; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--stripe); }
.site-footer .legal-line { border-top: 1px solid var(--night-3); margin-top: 28px; padding-top: 18px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .features { grid-template-columns: repeat(2, 1fr); }
  .biomes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .shots { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .shot { border-width: 4px; border-radius: 18px; }
  .shot img { border-radius: 14px; }

  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .hero .tagline { margin-left: auto; margin-right: auto; }
  .sirens, .stores { justify-content: center; }
  .hero-art .mascot { width: 230px; margin-bottom: -12px; }
  .chase-inner { grid-template-columns: 1fr; text-align: center; }
  .chase-inner img { width: 110%; margin-left: -5%; }
  .cta-inner { flex-direction: column-reverse; align-items: center; }
  .cta-inner > div { padding-bottom: 0; }
  .cta-raccoon { width: 180px; }
  .nav { order: 3; width: 100%; justify-content: center; padding-bottom: 8px; }
  .features, .biomes { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; }
  .prose { padding: 24px 18px; border-radius: 0; }
  section { padding: 52px 0; }
}
.cta .store-note { color: rgba(255,255,255,.9); }

/* ---------- Formulaire de contact ---------- */
.contact-form { background: #f6ecda; border-radius: 16px; padding: 24px; margin: 1.4em 0 2em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 800; font-size: 15px; margin-bottom: 6px; color: var(--night-2); }
.field .req { color: #c1491c; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 2px solid #e2d3b8; border-radius: 12px; padding: 10px 12px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sunset); box-shadow: 0 0 0 3px rgba(255,138,61,.25); }
.field [aria-invalid="true"] { border-color: #d6332b; }
.field-error { color: #c0262d; font-size: 14px; font-weight: 700; margin: 4px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.field.check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 15px; color: var(--ink); }
.field.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--sunset); }
.hint { font-size: 14px; color: var(--muted-ink); margin: 6px 0 0; }
.contact-form .btn { border: 0; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; padding: 12px 26px; }
.contact-form .btn:disabled { opacity: .6; cursor: wait; }
.contact-form > .hint { margin-top: 14px; }
.form-status { border-radius: 12px; padding: 12px 16px; margin-bottom: 18px; font-weight: 700; }
.form-status.ok { background: #d8f3dc; color: #1b5e20; border: 2px solid #8bd49a; }
.form-status.err { background: #fde2e1; color: #8c1d18; border: 2px solid #f3a5a1; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
}
