/* ==========================================================================
   Élan Tennis Club — Réservation des terrains extérieurs
   Thème visuel inspiré des couleurs de la plateforme Ten'Up (FFT)
   ========================================================================== */

:root {
  --navy: #16123f;
  --navy-light: #221c6b;
  --navy-soft: #2b2470;
  --lime: #d9f736;
  --lime-dark: #b8d820;
  --teal: #128a6e;
  --blue-badge: #2f7bce;
  --bg: #f4f5f9;
  --card: #ffffff;
  --text: #1c1c28;
  --muted: #5b5b6b;
  --border: #e6e7ef;
  --shadow: 0 10px 30px rgba(22, 18, 63, 0.08);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--teal);
}

.container {
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */

.site-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  max-width: 960px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #fff;
}

.brand-logo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.2;
}

.brand .accent {
  color: var(--lime);
}

.brand small {
  display: block;
  font-weight: 400;
  font-size: 0.65rem;
  color: #cfcbf0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  gap: 22px;
}

.header-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

.header-nav a:hover {
  opacity: 1;
  color: var(--lime);
}

@media (max-width: 620px) {
  .header-nav {
    display: none;
  }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 55%, var(--navy-light) 100%);
  color: #fff;
  padding: 56px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(217, 247, 54, 0.15), transparent 55%);
  pointer-events: none;
}

.hero .container {
  max-width: 760px;
  position: relative;
}

.eyebrow {
  display: inline-block;
  background: rgba(217, 247, 54, 0.15);
  color: var(--lime);
  border: 1px solid rgba(217, 247, 54, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 0 0 14px;
  font-weight: 800;
  line-height: 1.2;
}

.hero p.lead {
  font-size: 1.05rem;
  color: #d9d7f0;
  max-width: 620px;
  margin: 0 auto 30px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(217, 247, 54, 0.35);
}

.btn-primary:hover {
  background: #e5ff5c;
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  border-color: #fff;
}

/* ---------- Section titles ---------- */

.section {
  padding: 56px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--navy);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

/* ---------- Rules grid ---------- */

.rules {
  background: var(--card);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.rule-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}

.rule-card .emoji {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.rule-card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: var(--navy);
}

.rule-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.rule-card.highlight {
  background: linear-gradient(135deg, var(--teal), #0f6f59);
  border: none;
  color: #fff;
}

.rule-card.highlight h3 {
  color: #fff;
}

.rule-card.highlight p {
  color: #dff3ec;
}

/* ---------- App download (inline hint inside step 7 card) ---------- */

.app-hint {
  border-top: 1px solid var(--border);
  background: #f2fbf8;
  padding: 22px 24px;
}

.app-hint .recommended-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.app-hint h4 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1rem;
}

.app-hint > p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.app-hint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.app-mini {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}

.app-mini .qr-mini {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px;
}

.app-mini .qr-mini img {
  width: 100%;
  height: 100%;
  display: block;
}

.app-mini .platform {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.app-mini .platform .icon {
  margin-right: 6px;
}

.mini-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  text-decoration: none;
}

.mini-store-btn:hover {
  background: #0f6f59;
}

/* ---------- Steps ---------- */

.steps {
  background: var(--bg);
}

.step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 36px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--lime);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.step-card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
}

.step-card .step-body {
  padding: 20px 24px;
}

.step-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 1.1rem;
}

.step-card p {
  margin: 0 0 6px;
  color: var(--muted);
}

.step-card .step-shot {
  border-top: 1px solid var(--border);
  background: #fafafd;
}

.step-card .step-shot img {
  width: 100%;
}

.badge {
  display: inline-block;
  background: var(--blue-badge);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

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

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* ---------- Reglement ---------- */

.reglement {
  background: var(--navy);
  color: #fff;
}

.reglement .section-title,
.reglement .section-subtitle {
  color: #fff;
}

.reglement .section-subtitle {
  color: #cfcbf0;
}

.reglement ul {
  max-width: 640px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.reglement li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 12px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.reglement li .tick {
  color: var(--lime);
  font-weight: 900;
  flex-shrink: 0;
}

/* ---------- FAQ ---------- */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.faq-item a {
  color: var(--teal);
  font-weight: 600;
}

/* ---------- Bottom CTA ---------- */

.bottom-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--teal), #0d6350);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 28px;
}

.bottom-cta h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
}

.bottom-cta p {
  margin: 0 0 24px;
  color: #dff3ec;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy);
  color: #cfcbf0;
  text-align: center;
  padding: 30px 20px;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--lime);
  text-decoration: none;
}

.site-footer .disclaimer {
  max-width: 560px;
  margin: 14px auto 0;
  color: #9d99c4;
  font-size: 0.78rem;
}
