@font-face {
  font-family: "Bangers";
  src: url("/assets/Bangers.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg: #070b1a;
  --bg-2: #0d1430;
  --card: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.12);
  --text: #eef2ff;
  --muted: #a9b3d6;
  --gold: #ffc629;
  --gold-2: #ff9d00;
  --blue: #2f7bff;
  --red: #ff3b4e;
  --radius: 18px;
  --max: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Barre du haut */
.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(7, 11, 26, 0.85);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.brand span { font-family: "Bangers", Impact, sans-serif; font-size: 26px; letter-spacing: 1px; }
.brand b { color: var(--gold); font-weight: normal; }
.nav { display: flex; align-items: center; gap: 18px; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: #fff; }
.nav .lang {
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; color: var(--text);
}

/* Accueil */
.hero {
  position: relative; overflow: hidden; text-align: center;
  padding: 56px 0 72px;
  background: var(--bg);
}
.hero::before {
  content: ""; position: absolute; inset: -20px;
  background: url("/assets/hero.jpg") center 40% / cover no-repeat;
  filter: blur(3px) saturate(1.15);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(47, 123, 255, 0.35), transparent 55%),
    radial-gradient(ellipse at 85% 10%, rgba(255, 59, 78, 0.3), transparent 55%),
    linear-gradient(180deg, rgba(7, 11, 26, 0.45) 0%, rgba(7, 11, 26, 0.72) 60%, var(--bg) 100%);
}
.hero > * { position: relative; z-index: 1; }
.hero .logo { width: min(440px, 82%); margin: 0 auto 8px; filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.6)); }
.hero h1 {
  font-family: "Bangers", Impact, sans-serif; font-weight: normal; letter-spacing: 1.5px;
  font-size: clamp(30px, 5vw, 50px); line-height: 1.1; margin: 8px 0 12px;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.7);
}
.hero p.lead { color: #dfe5ff; max-width: 640px; margin: 0 auto 28px; font-size: 19px; }
.hero p.lead strong { display: block; color: var(--gold); font-size: 1.15em; margin-bottom: 4px; }
.badges { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 14px;
  background: rgba(0, 0, 0, 0.55); border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff; font-weight: 700; font-size: 15px;
}
.free { margin-top: 16px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0.5px; }
.badge small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; line-height: 1.2; }
.pill {
  display: inline-block; margin-bottom: 18px; padding: 6px 16px; border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #1a1200;
  font-weight: 800; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
}

section { padding: 64px 0; }
h2.title {
  font-family: "Bangers", Impact, sans-serif; font-weight: normal; letter-spacing: 1.5px;
  font-size: clamp(30px, 4vw, 42px); line-height: 1.1; margin: 0 0 8px; text-align: center;
}
h2.title b { color: var(--gold); font-weight: normal; }
p.sub { color: var(--muted); text-align: center; max-width: 620px; margin: 0 auto 36px; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature {
  background: linear-gradient(160deg, rgba(47, 123, 255, 0.12), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: inset 0 0 0 1px rgba(255, 198, 41, 0.04);
}
.feature .ico {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 22px rgba(255, 198, 41, 0.35);
}
.feature .ico img { width: 30px; height: 30px; filter: brightness(0); }
.feature h3 { margin: 0 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); font-size: 15.5px; }

.shots { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.shots figure { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.shots figure img { width: 100%; aspect-ratio: 1600 / 740; object-fit: cover; }
.shots .big { grid-column: 1 / -1; }
.shots figcaption { padding: 10px 14px; color: var(--muted); font-size: 14px; }

.band { background: linear-gradient(180deg, var(--bg), var(--bg-2)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.cups { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.cup { border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); background: var(--card); text-align: center; }
.cup .when { color: var(--gold); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.cup h3 { font-family: "Bangers", Impact, sans-serif; font-weight: normal; font-size: 28px; letter-spacing: 1px; margin: 6px 0; }
.cup p { color: var(--muted); margin: 0; font-size: 15px; }

/* Cartes d'assistance */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p, .card li { color: var(--muted); font-size: 15.5px; }
.card ol { padding-left: 20px; margin: 8px 0 0; }
.button {
  display: inline-block; margin-top: 10px; padding: 12px 20px; border-radius: 12px;
  background: linear-gradient(90deg, var(--gold), var(--gold-2)); color: #1a1200;
  font-weight: 800; text-decoration: none; word-break: break-all;
}
.card p.mail { margin: 10px 0 0; font-size: 14px; overflow-wrap: anywhere; }
.button:hover { color: #1a1200; filter: brightness(1.08); }

/* Pages légales */
.doc { padding: 40px 0 72px; }
.doc .wrap { max-width: 820px; }
.doc h1 {
  font-family: "Bangers", Impact, sans-serif; font-weight: normal; letter-spacing: 1.5px;
  font-size: clamp(32px, 5vw, 46px); line-height: 1.1; margin: 0 0 6px;
}
.doc h2 { font-size: 21px; margin: 36px 0 10px; padding-top: 8px; border-top: 1px solid var(--line); }
.doc h3 { font-size: 18px; margin: 24px 0 8px; }
.doc p, .doc li { color: #d6dcf5; }
.doc .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc strong { color: #fff; }
.doc .table { overflow-x: auto; margin: 16px 0; border: 1px solid var(--line); border-radius: 12px; }
.doc table { border-collapse: collapse; width: 100%; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { background: rgba(255, 255, 255, 0.06); color: #fff; }
.doc tr:last-child td { border-bottom: 0; }
.doc a { word-break: break-word; }

/* Pied de page */
footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 10px 20px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: #fff; }

.notfound { text-align: center; padding: 100px 0; }

@media (max-width: 960px) and (min-width: 721px) {
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav a:not(.lang) { display: none; }
  .hero { padding: 36px 0 52px; }
  .hero p.lead { font-size: 17px; }
  section { padding: 48px 0; }
  .shots { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  footer .wrap { flex-direction: column; align-items: flex-start; }
}
