/* ==========================================================================
   EZ Sports — styles principaux
   ========================================================================== */

:root {
  --bg-deepest: #060810;
  --bg-primary: #0a0e1a;
  --bg-surface: #101628;
  --border: #1e2a4a;
  --brand-blue: #2b42f0;
  --brand-blue-hover: #4d62f5;
  --brand-orange: #f26320;
  --text-primary: #edf0ff;
  --text-secondary: #8890b0;
  --text-muted: #4a5270;
  --header-h: 72px;
  --container: min(1200px, 100% - 2rem);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

body {
  margin: 0;
  background: var(--bg-deepest);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.5;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--brand-blue-hover);
  outline-offset: 2px;
}

.container {
  width: var(--container);
  margin-inline: auto;
  padding-inline: 1rem;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--brand-blue);
  color: var(--text-primary);
  border-radius: 6px;
}
.skip-link:focus { top: 1rem; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(6, 8, 16, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(43, 66, 240, 0.15);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.logo__dot { color: var(--brand-blue); }

.nav-desktop { display: none; }

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  transition: color 0.2s;
}

.nav-menu a:hover { color: var(--text-primary); }

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 1.5rem;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 1rem;
}

.nav-mobile.is-open { display: flex; }

.nav-menu--mobile {
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-desktop { display: block; }
  .nav-toggle { display: none; }
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  padding: 0.85rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.btn--primary {
  background: var(--brand-blue);
  color: var(--text-primary);
}

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

.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn--ghost:hover { color: var(--text-primary); }

.btn--sm { font-size: 0.8rem; padding: 0.55rem 1rem; }
.btn--lg { font-size: 1.05rem; padding: 1rem 2rem; }
.btn--block { width: 100%; }

.btn-hide-mobile { display: none; }
@media (min-width: 640px) { .btn-hide-mobile { display: inline-flex; } }

/* Sections */
.section { padding-block: 4rem; }
.section--primary { background: var(--bg-primary); }
.section--deepest { background: var(--bg-deepest); }

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--brand-blue);
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--brand-blue);
}

.heading-xl {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0.75rem 0;
}

.heading-hero {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
}

.text-secondary { color: var(--text-secondary); }

.badge-pill {
  display: inline-flex;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: rgba(43, 66, 240, 0.12);
  border: 1px solid rgba(43, 66, 240, 0.3);
  color: var(--brand-blue-hover);
}

/* Hero */
.hero { padding-top: 2rem; }

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero__grid { grid-template-columns: 1.2fr 0.8fr; }
}

.hero__content { display: flex; flex-direction: column; gap: 1.25rem; }

.hero__subtitle {
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--text-secondary);
  max-width: 32rem;
}

.hero__disclaimer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

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

.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.stat__value {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  line-height: 1;
}

.stat__value--orange { color: var(--brand-orange); }

.stat__label {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 2.5rem;
  background: var(--border);
}

.phone-mockup {
  width: min(280px, 100%);
  margin-inline: auto;
  aspect-ratio: 9/16;
  border-radius: 2rem;
  border: 2px solid rgba(43, 66, 240, 0.3);
  background: #0c1020;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.phone-mockup__label {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Features */
.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
}

.feature-card h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
}

.steps-list {
  max-width: 40rem;
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  color: var(--text-secondary);
}

/* Form */
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .form-row { flex-direction: row; }
}

.input-field {
  flex: 1;
  min-width: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 1rem 1.25rem;
}

.input-field::placeholder { color: var(--text-muted); }

.split-grid {
  display: grid;
  gap: 2rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--text-secondary);
}

/* CTA final */
.cta-final {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

/* Pages intérieures */
.page-content {
  padding-block: 3rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.page-body {
  color: var(--text-secondary);
  max-width: 70ch;
}

.page-body h2,
.page-body h3 {
  color: var(--text-primary);
  font-family: var(--font-display);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
  background: var(--bg-deepest);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr; }
}

.footer-brand__text {
  color: var(--text-secondary);
  max-width: 22rem;
  margin-top: 1rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-muted);
}
