/* =====================================================================
   PTERIX SQUAD — Feuille de style principale
   Palette : violet sombre / violet clair / blanc / noir
   Style : esport moderne, propre et professionnel
   ---------------------------------------------------------------------
   Astuce : presque toutes les couleurs sont définies dans :root
   ci-dessous. Changez-les ici pour modifier tout le site d'un coup.
===================================================================== */

/* ----------------------------- VARIABLES ---------------------------- */
:root {
  /* Couleurs de fond */
  --bg-900: #07050d;      /* noir violacé très sombre (fond global) */
  --bg-800: #0c0916;      /* fond secondaire */
  --surface: #120e20;     /* cartes */
  --surface-2: #181230;   /* cartes survolées / blocs internes */
  --line: rgba(167, 139, 250, 0.14);   /* bordures discrètes */
  --line-strong: rgba(167, 139, 250, 0.35);

  /* Violets */
  --violet-700: #6d28d9;
  --violet-600: #7c3aed;
  --violet-500: #8b5cf6;
  --violet-400: #a78bfa;  /* violet clair */
  --violet-300: #c4b5fd;  /* violet très clair */
  --magenta: #c026d3;     /* touche d'énergie */

  /* Texte */
  --white: #ffffff;
  --text: #ece9f5;        /* texte principal (blanc cassé) */
  --text-soft: #b6b0cc;   /* texte secondaire */
  --text-dim: #7d7795;    /* texte discret */

  /* Dégradés */
  --grad: linear-gradient(120deg, var(--violet-600) 0%, var(--violet-400) 55%, var(--magenta) 110%);
  --grad-soft: linear-gradient(120deg, rgba(124,58,237,0.18), rgba(192,38,211,0.12));

  /* Effets */
  --glow: 0 0 0 1px var(--line-strong), 0 18px 50px -18px rgba(124, 58, 237, 0.55);
  --shadow: 0 24px 60px -24px rgba(0, 0, 0, 0.85);
  --radius: 6px;
  --radius-lg: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Polices */
  --font-display: 'Saira Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --maxw: 1200px;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-900);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  position: relative;
}

/* Texture / atmosphère de fond (grille + halos violets) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(900px 600px at 78% -8%, rgba(124, 58, 237, 0.30), transparent 60%),
    radial-gradient(800px 700px at 10% 8%, rgba(192, 38, 211, 0.16), transparent 55%),
    radial-gradient(900px 900px at 50% 120%, rgba(109, 40, 217, 0.22), transparent 60%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(167, 139, 250, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(167, 139, 250, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 35%, transparent 80%);
  pointer-events: none;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

::selection { background: var(--violet-500); color: #fff; }

/* Barre de défilement (navigateurs compatibles) */
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--bg-900); }
::-webkit-scrollbar-thumb { background: var(--violet-700); border-radius: 10px; border: 3px solid var(--bg-900); }
::-webkit-scrollbar-thumb:hover { background: var(--violet-500); }

/* --------------------------- TYPOGRAPHIE ---------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }

p { color: var(--text-soft); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Petit label technique au-dessus des titres */
.kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--violet-300);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.kicker::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--grad);
}

/* ----------------------------- LAYOUT ------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 130px) 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { margin: 14px 0 16px; }
.section-head p { font-size: 1.05rem; }
.center { text-align: center; margin-inline: auto; }

/* ----------------------------- BOUTONS ------------------------------ */
.btn {
  --pad: 15px 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: var(--pad);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 34px -14px rgba(124, 58, 237, 0.9);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 48px -14px rgba(192, 38, 211, 0.95); }
.btn-ghost {
  background: rgba(167, 139, 250, 0.06);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}
.btn-ghost:hover { background: rgba(167, 139, 250, 0.16); color: #fff; transform: translateY(-3px); }
.btn-sm { --pad: 10px 18px; font-size: 0.85rem; }

/* ------------------------------ HEADER ------------------------------ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 5, 13, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: auto; height: 40px !important; max-width: 65px; object-fit: contain; flex: none; display: block; }
.brand .name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.brand .name span { color: var(--violet-400); }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  transition: color 0.25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

/* Bouton burger (mobile) */
.burger { display: none; width: 44px; height: 44px; position: relative; z-index: 110; }
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease), top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
body.menu-open .burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* ------------------------------- HERO ------------------------------- */
.hero { position: relative; padding: 150px 0 90px; overflow: hidden; }
.hero-inner { position: relative; z-index: 2; max-width: 880px; }
.hero h1 { margin: 22px 0 6px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero .sub {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: var(--text-soft);
  max-width: 620px;
  margin: 22px 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Élément graphique décoratif (aile/triangle) dans le hero */
.hero-deco {
  position: absolute;
  right: -60px; top: 50%;
  transform: translateY(-50%);
  width: min(620px, 48vw);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 30px 60px rgba(124, 58, 237, 0.4));
  animation: float 7s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(-58%); } }

/* Bandeau de statistiques */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 70px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: var(--surface); padding: 26px 24px; }
.stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3rem);
  line-height: 1;
}
.stat .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 8px;
}

/* ------------------------------ CARTES ------------------------------ */
.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  overflow: hidden;
}
/* coin angulaire décoratif */
.card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 16px 16px 0;
  border-color: transparent var(--violet-500) transparent transparent;
  opacity: 0.55;
  transition: opacity 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 26px 50px -28px rgba(124, 58, 237, 0.7);
}
.card:hover::after { opacity: 1; }

/* --------------------- PAGE D'EN-TÊTE (sous-pages) ------------------ */
.page-hero { padding: 150px 0 60px; position: relative; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: 16px 0 14px; }
.page-hero p { max-width: 640px; font-size: 1.06rem; }

/* ---------------------- GRILLE "POURQUOI / FEATURES" ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { padding: 30px 28px; }
.feature .ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--grad-soft);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  margin-bottom: 20px;
  color: var(--violet-300);
}
.feature h3 { margin-bottom: 10px; }
.feature p { font-size: 0.96rem; }

/* ---------------------------- PAGE JEUX ----------------------------- */
.game-block { margin-bottom: 70px; scroll-margin-top: 100px; }
.game-block:last-child { margin-bottom: 0; }
.game-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 22px;
  background: var(--grad-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--violet-500);
  border-radius: var(--radius);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.game-head .game-ico {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  color: var(--violet-300);
}
.game-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.game-head .meta {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.player {
  text-align: center;
  padding: 28px 18px 22px;
}
.player .avatar {
  width: 96px; height: 96px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(167,139,250,0.12);
  overflow: hidden;
}
.player .avatar img { width: 100%; height: 100%; object-fit: cover; }
.player .pseudo { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.03em; }
.player .realname { font-size: 0.85rem; color: var(--text-dim); margin-top: 2px; }
.player .role {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--violet-300);
  background: rgba(167, 139, 250, 0.1);
  border-radius: 100px;
}
.player .socials { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.player .socials a { color: var(--text-dim); transition: color 0.25s var(--ease), transform 0.25s var(--ease); }
.player .socials a:hover { color: var(--violet-300); transform: translateY(-2px); }

/* ---------------------------- PAGE MATCHS --------------------------- */
.tab-bar { display: inline-flex; gap: 6px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 100px; margin-bottom: 40px; }
.tab-bar button {
  padding: 9px 22px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-soft);
  border-radius: 100px;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.tab-bar button.active { background: var(--grad); color: #fff; }

.match-list { display: flex; flex-direction: column; gap: 16px; }
.match-card {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 26px;
}
.match-card .date {
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 22px;
}
.match-card .date .d { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.match-card .date .m { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }
.match-card .date .t { font-size: 0.8rem; color: var(--violet-300); margin-top: 8px; }

.match-card .versus { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.match-card .team { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; }
.match-card .team .tag { width: 36px; height: 36px; border-radius: var(--radius); background: var(--surface-2); display: grid; place-items: center; font-size: 0.9rem; box-shadow: inset 0 0 0 1px var(--line); }
.match-card .team.us .tag { background: var(--grad); color: #fff; }
.match-card .vs { font-family: var(--font-mono); color: var(--text-dim); font-size: 0.9rem; }
.match-card .score { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; padding: 0 14px; }
.match-card .game-tag { display: block; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-dim); margin-top: 6px; }
.match-card .right { text-align: right; }

/* badges résultat */
.badge { display: inline-block; padding: 5px 14px; border-radius: 100px; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.badge.win { color: #6ee7b7; background: rgba(16,185,129,0.12); box-shadow: inset 0 0 0 1px rgba(110,231,183,0.3); }
.badge.loss { color: #fca5a5; background: rgba(239,68,68,0.12); box-shadow: inset 0 0 0 1px rgba(252,165,165,0.3); }
.badge.live { color: #fff; background: var(--magenta); }
.badge.soon { color: var(--violet-300); background: rgba(167,139,250,0.12); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* -------------------------- PAGE ACTUALITÉS ------------------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card { display: flex; flex-direction: column; }
.news-card .thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--violet-700), var(--magenta));
  position: relative;
  display: grid; place-items: center;
  overflow: hidden;
}
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card .thumb .ph { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: rgba(255,255,255,0.85); text-transform: uppercase; }
.news-card .body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.news-card .tags { display: flex; gap: 10px; align-items: center; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 12px; }
.news-card .tags .cat { color: var(--violet-300); }
.news-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.news-card p { font-size: 0.95rem; flex: 1; }
.news-card .more { margin-top: 16px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--violet-300); display: inline-flex; align-items: center; gap: 8px; transition: gap 0.25s var(--ease); }
.news-card .more:hover { gap: 14px; }

/* article en avant */
.news-feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; margin-bottom: 40px; overflow: hidden; }
.news-feature .thumb { aspect-ratio: auto; min-height: 320px; }
.news-feature .body { padding: 40px; justify-content: center; }
.news-feature h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.news-feature p { font-size: 1.05rem; }

/* --------------------------- PAGE SPONSORS -------------------------- */
.tier-label {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 1.2rem; color: var(--violet-300);
  margin: 0 0 26px;
}
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 56px; }
.sponsor-grid.big { grid-template-columns: repeat(3, 1fr); }
.sponsor {
  aspect-ratio: 16 / 9;
  display: grid; place-items: center;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.sponsor:hover { transform: translateY(-5px); border-color: var(--line-strong); background: var(--surface-2); }
.sponsor img { max-height: 70%; max-width: 60%; object-fit: contain; filter: grayscale(1) brightness(2); opacity: 0.8; transition: filter 0.35s var(--ease), opacity 0.35s var(--ease); }
.sponsor:hover img { filter: none; opacity: 1; }
.sponsor .ph { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; color: var(--text-soft); letter-spacing: 0.04em; }

/* ----------------------------- À PROPOS ----------------------------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 50px; align-items: center; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.value { padding: 26px; }
.value .ico { color: var(--violet-300); margin-bottom: 14px; }
.value h3 { font-size: 1.25rem; margin-bottom: 8px; }
.value p { font-size: 0.93rem; }

.timeline { position: relative; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--grad); }
.tl-item { position: relative; padding-bottom: 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -34px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg-900); box-shadow: 0 0 0 3px var(--violet-500); }
.tl-item .year { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.14em; color: var(--violet-300); }
.tl-item h3 { font-size: 1.25rem; margin: 4px 0 6px; }
.tl-item p { font-size: 0.95rem; }

.staff-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* ----------------------------- CONTACT ------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-800);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--violet-500);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.18);
}
.field textarea { resize: vertical; min-height: 130px; }

.contact-info { padding: 34px; }
.contact-info .row { display: flex; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info .row:last-child { border-bottom: none; }
.contact-info .row .ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: var(--radius); background: var(--grad-soft); color: var(--violet-300); box-shadow: inset 0 0 0 1px var(--line-strong); }
.contact-info .row .lbl { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.contact-info .row .val { font-weight: 600; color: var(--text); }

/* --------------------------- BANDE CTA ------------------------------ */
.cta-band {
  position: relative;
  padding: clamp(50px, 7vw, 80px);
  text-align: center;
  background: var(--grad-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 50% 0%, rgba(192,38,211,0.25), transparent 70%);
  pointer-events: none;
}
.cta-band h2 { margin-bottom: 16px; position: relative; }
.cta-band p { max-width: 560px; margin: 0 auto 30px; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* ------------------------------ FOOTER ------------------------------ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-800); padding: 70px 0 30px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand p { font-size: 0.95rem; margin: 18px 0 22px; max-width: 320px; }
.footer-col h4 { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; margin-bottom: 18px; color: var(--white); }
.footer-col a { display: block; color: var(--text-soft); font-size: 0.95rem; padding: 6px 0; transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer-col a:hover { color: var(--violet-300); padding-left: 6px; }
.socials-row { display: flex; gap: 12px; }
.socials-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-soft);
  transition: all 0.3s var(--ease);
}
.socials-row a:hover { color: #fff; border-color: var(--line-strong); transform: translateY(-3px); background: var(--surface-2); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.85rem; color: var(--text-dim); }
.footer-bottom .legal { display: flex; gap: 20px; }
.footer-bottom .legal a { font-size: 0.85rem; color: var(--text-dim); }
.footer-bottom .legal a:hover { color: var(--violet-300); }

/* --------------------- ANIMATIONS AU DÉFILEMENT --------------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* apparition du hero au chargement */
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
.hero .anim { opacity: 0; animation: rise 0.9s var(--ease) forwards; }
.hero .anim.d1 { animation-delay: 0.05s; }
.hero .anim.d2 { animation-delay: 0.18s; }
.hero .anim.d3 { animation-delay: 0.32s; }
.hero .anim.d4 { animation-delay: 0.46s; }
.hero .anim.d5 { animation-delay: 0.60s; }

/* --------------------------- RESPONSIVE ----------------------------- */
@media (max-width: 1024px) {
  .feature-grid, .news-grid, .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .player-grid, .sponsor-grid, .sponsor-grid.big { grid-template-columns: repeat(3, 1fr); }
  .hero-deco { opacity: 0.35; right: -120px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(82vw, 340px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 100px 28px 40px;
    background: var(--bg-800);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -30px 0 80px rgba(0,0,0,0.6);
  }
  body.menu-open .nav-links { transform: translateX(0); }
  .nav-links a { width: 100%; font-size: 1.15rem; padding: 12px 0; }
  .nav-links a::after { display: none; }
  .burger { display: block; }
  .nav-cta .btn { display: none; }

  .stats { grid-template-columns: repeat(2, 1fr); }
  .feature-grid, .news-grid, .player-grid, .sponsor-grid, .sponsor-grid.big, .staff-grid, .values { grid-template-columns: 1fr 1fr; }
  .news-feature { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }

  .match-card { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .match-card .date { display: flex; align-items: baseline; gap: 12px; border-right: none; border-bottom: 1px solid var(--line); padding: 0 0 14px; }
  .match-card .date .m, .match-card .date .t { margin-top: 0; }
  .match-card .right { text-align: left; }
}

@media (max-width: 520px) {
  .container { padding: 0 18px; }
  .feature-grid, .news-grid, .player-grid, .sponsor-grid, .sponsor-grid.big, .staff-grid, .values, .footer-top { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { width: 100%; }
  .brand .name { font-size: 1.25rem; }
}

/* Respect des préférences de réduction de mouvement */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
