/* ZPronostiques — Réseau social hippique
   Design : épuré, dark luxe, social-first */

:root {
  --bg: #0A0E1A;
  --bg-2: #111728;
  --surface: #1A2138;
  --surface-2: #232C45;
  --line: rgba(255,255,255,0.08);
  --text: #F1F4F9;
  --muted: #8A92A6;
  --accent: #6366F1;
  --accent-2: #EC4899;
  --green: #22C55E;
  --gold: #F59E0B;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }

/* Typographic accents */
em { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; }

/* NAV — fond blanc */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: #FFFFFF;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  color: #0A0E1A;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}
.nav .brand { color: #0A0E1A; }
.nav .play-btn {
  color: #0A0E1A;
  background: rgba(10, 14, 26, 0.06);
  border: 1px solid rgba(10, 14, 26, 0.08);
}
.nav .play-btn:hover {
  background: rgba(10, 14, 26, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.play-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  transition: all .25s;
}
.play-btn:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-1px);
}

/* HERO */
.hero {
  position: relative;
  padding: 160px 0 100px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 30%, transparent 80%);
}
.hero-bg-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(800px circle at 20% 20%, rgba(99,102,241,0.20), transparent 55%),
    radial-gradient(700px circle at 85% 80%, rgba(236,72,153,0.18), transparent 55%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 560px;
}

/* Kicker */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-left h1 {
  font-size: clamp(44px, 6vw, 76px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.hero-left h1 em {
  font-size: 1.05em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 18px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 40px;
}

/* CTA + trust */
.cta-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #FFFFFF 0%, #E5E7EB 100%);
  color: #0A0E1A;
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 600;
  transition: all .3s;
  box-shadow: 0 12px 30px rgba(255,255,255,0.12);
}
.cta-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 50px rgba(255,255,255,0.18);
}
.cta-play span {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}
.cta-play small {
  font-size: 11px;
  color: rgba(10,14,26,0.65);
  font-weight: 500;
}
.cta-play strong {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.trust-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatars {
  display: flex;
}
.avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border: 2px solid var(--bg);
  margin-left: -10px;
}
.avatars span:first-child { margin-left: 0; }
.trust-text strong {
  display: block;
  font-size: 14px;
  color: var(--text);
}
.trust-text small {
  font-size: 12px;
  color: var(--muted);
}

/* HERO RIGHT — floating cards */
.hero-right {
  position: relative;
  height: 540px;
}
.float-card {
  position: absolute;
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px 20px;
  width: 320px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(20px);
}
.float-card header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.float-card .av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 13px;
}
.float-card header strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
}
.float-card header strong i {
  color: var(--accent);
  font-style: normal;
  font-size: 12px;
  margin-left: 2px;
}
.float-card header small {
  font-size: 11px;
  color: var(--muted);
}
.float-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.4;
}
.float-card p b {
  color: #fff;
  font-weight: 700;
}
.float-card .nums {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.float-card .nums span {
  width: 30px;
  height: 30px;
  background: var(--accent);
  color: #fff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.float-card footer {
  font-size: 11px;
  color: var(--muted);
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.card-1 {
  top: 0;
  right: 0;
  z-index: 3;
  animation: float 6s ease-in-out infinite;
}
.card-2 {
  top: 200px;
  left: -20px;
  z-index: 2;
  animation: float 6s ease-in-out infinite -2s;
}
.card-3 {
  bottom: 0;
  right: 30px;
  z-index: 1;
  animation: float 6s ease-in-out infinite -4s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* PILIERS */
.pillars {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.pillars-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}
.pillars-head h2 {
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-top: 8px;
}
.pillars-head h2 em {
  font-size: 1.05em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 36px 32px;
  transition: all .4s;
  position: relative;
  overflow: hidden;
}
.pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
}
.pillar:hover {
  transform: translateY(-6px);
  border-color: rgba(99,102,241,0.4);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(99,102,241,0.08) 100%);
}
.pillar-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 24px;
  box-shadow: 0 12px 24px rgba(99,102,241,0.3);
}
.pillar h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}
.pillar p {
  color: var(--muted);
  font-size: 15px;
}

/* BIG CTA */
.big-cta {
  padding: 100px 0;
}
.big-cta-card {
  background: linear-gradient(135deg, #1A2138 0%, #2D1B5E 50%, #4A1A4A 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 32px;
  padding: 60px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
}
.big-cta-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(236,72,153,0.2), transparent 50%);
  pointer-events: none;
}
.big-cta-text { position: relative; z-index: 1; }
.big-cta-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}
.big-cta-text h2 em {
  font-size: 1.05em;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.big-cta-text p {
  color: var(--muted);
  font-size: 16px;
}
.cta-play.big {
  position: relative;
  z-index: 1;
  padding: 18px 30px;
  flex-shrink: 0;
}
.cta-play.big strong { font-size: 19px; }

/* FOOTER */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 14px;
}
.footer-brand img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.footer-nav {
  display: flex;
  gap: 28px;
}
.footer-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--text); }
.footer small {
  color: var(--muted);
  font-size: 12px;
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 130px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 60px; min-height: auto; }
  .hero-right { height: 520px; max-width: 380px; margin: 0 auto; }
  .hero-left h1 { font-size: 48px; }
  .pillars { padding: 80px 0; }
  .pillars-grid { grid-template-columns: 1fr; gap: 16px; }
  .pillars-head { margin-bottom: 50px; }
  .big-cta-card { flex-direction: column; padding: 40px 30px; text-align: center; }
  .big-cta-card .cta-play.big { width: 100%; max-width: 280px; justify-content: center; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .hero-left h1 { font-size: 40px; }
  .float-card { width: 280px; padding: 16px 18px; }
  .card-1 { right: 10px; }
  .card-2 { left: 10px; top: 180px; }
  .card-3 { right: 30px; }
  .cta-group { flex-direction: column; align-items: flex-start; }
}
