/* =========================================================
   Chatou-Croissy Basket — Page "site déménagé"
   Palette accordée au logo : rouge, noir, blanc
   ========================================================= */

:root {
  --red:        #e63329;
  --red-bright: #ff4438;
  --red-dark:   #b71c1c;
  --ink:        #0e0e12;
  --ink-soft:   #16161c;
  --white:      #ffffff;
  --muted:      #b9bcc6;

  --radius: 22px;
  --shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.75);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--white);
  background:
    radial-gradient(1200px 700px at 50% -10%, #24151b 0%, transparent 60%),
    linear-gradient(160deg, #14141a 0%, var(--ink) 55%, #08080b 100%);
}

/* -------- Décor d'arrière-plan -------- */
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(600px 600px at 15% 20%, rgba(230, 51, 41, 0.16), transparent 70%),
    radial-gradient(700px 700px at 85% 85%, rgba(230, 51, 41, 0.12), transparent 70%);
}

/* Lignes de terrain stylisées, très discrètes */
.bg-court {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.6) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 75%);
}

/* -------- Carte principale -------- */
.card {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  text-align: center;
  padding: 48px 40px 40px;
  background: linear-gradient(180deg, rgba(30, 30, 38, 0.72), rgba(16, 16, 22, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Liseré rouge en haut de la carte */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, transparent, var(--red-bright), transparent);
}

/* -------- Logo -------- */
.logo-wrap {
  display: inline-flex;
  margin-bottom: 22px;
}

.logo {
  width: 168px;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(230, 51, 41, 0.35));
  animation: float 5s ease-in-out infinite;
}

/* -------- Badge -------- */
.badge {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--red-bright);
  padding: 7px 16px;
  border: 1px solid rgba(230, 51, 41, 0.4);
  border-radius: 999px;
  background: rgba(230, 51, 41, 0.08);
}

/* -------- Titres & texte -------- */
h1 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 2.9rem);
  margin: 18px 0 14px;
}

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.08rem);
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 auto;
}

.lead strong { color: var(--white); }

/* -------- Bouton CTA -------- */
.cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  padding: 16px 30px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(180deg, var(--red-bright), var(--red-dark));
  border-radius: 14px;
  box-shadow:
    0 12px 28px -8px rgba(230, 51, 41, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.cta svg { transition: transform 0.18s ease; }

.cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 18px 36px -8px rgba(230, 51, 41, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta:hover svg { transform: translateX(4px); }
.cta:active { transform: translateY(0); }

.cta:focus-visible {
  outline: 3px solid var(--red-bright);
  outline-offset: 3px;
}

/* -------- Note de redirection -------- */
.redirect-note {
  margin-top: 22px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

/* -------- Pied de page -------- */
.site-footer {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

/* -------- Animations -------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-9px); }
}

@media (prefers-reduced-motion: reduce) {
  .card, .logo { animation: none; }
  .cta { transition: none; }
}

/* -------- Responsive -------- */
@media (max-width: 480px) {
  .card { padding: 38px 24px 32px; }
  .logo { width: 138px; }
  .cta { width: 100%; justify-content: center; }
}
