*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000000;
  --bg-elevated: #0A0A0A;
  --surface: rgba(255,255,255,0.04);
  --surface2: rgba(255,255,255,0.06);
  --border: rgba(212,175,55,0.18);
  --border-strong: rgba(212,175,55,0.4);
  --gold: #D4AF37;
  --gold-bright: #F1C64C;
  --gold-dim: #8A6E23;
  --text: #F4F1E8;
  --muted: #9A9488;
  --radius: 16px;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  min-height: 100vh;
}

/* HERO HEADER */
.hero {
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212,175,55,0.14) 0%, transparent 70%), var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 72px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gold-bright);
  margin-bottom: 20px;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #FFF5D6 0%, var(--gold-bright) 55%, var(--gold-dim) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}
.hero p {
  color: var(--muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

/* LAYOUT */
.container {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

/* INTRO CARD */
.intro-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 48px;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
}
.intro-card strong { color: var(--text); }

/* SECTION */
.section {
  margin-bottom: 48px;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.section p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* COOKIE TYPES GRID */
.cookies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
  margin-bottom: 48px;
}
.cookie-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: border-color 0.2s, transform 0.2s;
}
.cookie-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.cookie-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.cookie-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  background: rgba(212,175,55,0.12);
  border: 1px solid var(--border);
}
.cookie-card h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.badge-required {
  font-size: 11px;
  font-weight: 600;
  background: rgba(212,175,55,0.15);
  color: var(--gold-bright);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 2px 8px;
  margin-left: auto;
  white-space: nowrap;
}
.cookie-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}

/* INFO BOX */
.info-box {
  background: rgba(212,175,55,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 26px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 48px;
}
.info-box a {
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 500;
}
.info-box a:hover { text-decoration: underline; }

/* CONTACT */
.contact-card {
  background: linear-gradient(135deg, rgba(212,175,55,0.1), rgba(212,175,55,0.03));
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  margin-bottom: 48px;
}
.contact-card h2 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.contact-card p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 18px;
}
.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-dim));
  border-radius: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: filter 0.2s, transform 0.2s;
}
.btn-contact:hover { filter: brightness(1.08); transform: translateY(-1px); }

/* BACK HOME */
.back-home {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: color 0.2s, border-color 0.2s;
}
.back-home:hover { color: var(--gold-bright); border-color: var(--border-strong); }

/* FOOTER */
/* FOOTER (uniformisé - identique à earn.html) */
footer {
  border-top: 1px solid #1C1C20;
  background: #050507;
  padding: 40px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
footer .logo img { height: 32px; opacity: 0.6; filter: brightness(2); }
footer p { font-size: 0.8rem; color: #71717A; }
footer nav a { color: #71717A; text-decoration: none; font-size: 0.8rem; margin-left: 20px; transition: color 0.2s; }
footer nav a:hover { color: #F59E0B; }
footer > a { color: #71717A; text-decoration: none; font-size: 0.8rem; transition: color 0.2s; }
footer > a:hover { color: #F59E0B; }

@media (max-width: 768px) {
  footer { flex-direction: column; text-align: center; }
  footer nav a { margin: 0 10px; }
}