:root {
  --black: #0a0a0a;
  --white: #f5f4f0;
  --accent: #e8380d;
  --accent-dark: #b52c09;
  --grey: #1c1c1c;
  --grey-mid: #2e2e2e;
  --grey-light: #888;
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── HEADER ─────────────────────────────────────────── */

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(10,10,10,0.95), transparent);
}

.logo {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.08em;
  color: var(--white);
}

.btn-connexion {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(245, 244, 240, 0.3);
  padding: 0.55rem 1.4rem;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-connexion:hover {
  border-color: var(--white);
  background: rgba(245, 244, 240, 0.07);
}

/* ─── HERO ────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.court-lines {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 49.8%, rgba(255,255,255,0.03) 50%, transparent 50.2%),
    radial-gradient(ellipse 60% 50% at 75% 50%, transparent 39%, rgba(255,255,255,0.03) 40%, transparent 41%),
    radial-gradient(ellipse 30% 25% at 75% 50%, transparent 29%, rgba(255,255,255,0.02) 30%, transparent 31%);
  opacity: 1;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 65% 50%, rgba(232, 56, 13, 0.08) 0%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 640px;
  animation: fadeUp 0.8s ease both;
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  border-left: 2px solid var(--accent);
  padding-left: 0.75rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.hero-content h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-badge {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  text-align: center;
  animation: fadeUp 1s 0.3s ease both;
}

.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  line-height: 1;
  letter-spacing: 0.05em;
}

.badge-label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .hero-badge { display: none; }
  .hero { padding: 0 1.5rem; }
  .site-header { padding: 1.25rem 1.5rem; }
}

/* ─── BOUTONS ─────────────────────────────────────────── */

.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--white);
  padding: 0.85rem 2rem;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  padding: 0.85rem 2rem;
  border: 1px solid rgba(245, 244, 240, 0.25);
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: rgba(245, 244, 240, 0.05);
}

/* ─── FEATURES ────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--grey-mid);
}

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

@media (max-width: 520px) {
  .features { grid-template-columns: 1fr; }
}

.feature-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--grey-mid);
  transition: background 0.2s;
}

.feature-item:last-child {
  border-right: none;
}

.feature-item:hover {
  background: var(--grey);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-item h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--grey-light);
  line-height: 1.6;
}

/* ─── CTA BAND ────────────────────────────────────────── */

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding: 3rem 2.5rem;
  background: var(--grey);
  border-top: 1px solid var(--grey-mid);
}

.cta-band p {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: 0.03em;
  color: var(--white);
}

/* ─── FOOTER ──────────────────────────────────────────── */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--grey-mid);
  font-size: 0.8rem;
  color: var(--grey-light);
}

/* ─── ANIMATIONS ──────────────────────────────────────── */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
