/* =====================================================================
   FitRace — Feuille de styles commune (fitrace.com)
   Base partagee entre index, guide-offert et pages legales.
   ===================================================================== */

:root {
  --bg: #000308;
  --accent: #1a7fff;
  --accent-2: #0494DB;
  --accent-deep: #0055ee;
  --text: #ffffff;
  --text-soft: rgba(255,255,255,0.8);
  --text-mute: rgba(255,255,255,0.5);
  --font-base: -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --font-head: 'Arial Black', 'Arial Bold', Arial, sans-serif;
}

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

body {
  font-family: var(--font-base);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { color: inherit; }

/* ---- Logo texte FitRace (reutilisable) ---- */
.logo-wrap {
  display: inline-flex;
  align-items: center;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: 'Arial Black', Arial, sans-serif;
  text-decoration: none;
}
.logo-myfit { color: #fff; }
.logo-i { color: var(--accent); }
.logo-race {
  background: #1a6ffc;
  color: #fff;
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 900;
}

/* ---- Bouton CTA générique ---- */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: transform 0.12s;
}
.cta-btn:active { transform: scale(0.97); }

/* =====================================================================
   PAGES LEGALES
   ===================================================================== */
.legal-body { background: var(--bg); }

.legal-topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-topbar .back-link {
  font-size: 13px;
  color: var(--text-mute);
  text-decoration: none;
  transition: color .2s;
}
.legal-topbar .back-link:hover { color: var(--accent-2); }

.legal-glow {
  position: fixed;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 520px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(0,100,255,0.16) 0%, rgba(0,60,180,0.05) 50%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 34px 22px 72px;
}

.legal-wrap h1 {
  font-family: var(--font-head);
  font-size: clamp(24px, 5vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  line-height: 1.15;
  margin-bottom: 8px;
}
.legal-updated {
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 30px;
}

.legal-wrap h2 {
  font-family: var(--font-base);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 34px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  line-height: 1.3;
}

.legal-wrap p,
.legal-wrap li {
  font-size: 15px;
  line-height: 1.72;
  color: var(--text-soft);
  margin-bottom: 12px;
}
.legal-wrap ul { padding-left: 22px; margin-bottom: 12px; }
.legal-wrap li { margin-bottom: 6px; }
.legal-wrap strong { color: #fff; font-weight: 700; }
.legal-wrap a { color: var(--accent-2); text-decoration: none; }
.legal-wrap a:hover { text-decoration: underline; }

/* Bloc encadre (coordonnees societe) */
.legal-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 6px 0 18px;
}
.legal-card p { margin-bottom: 4px; }

/* =====================================================================
   FOOTER COMMUN
   ===================================================================== */
.site-footer {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 26px 20px 30px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}
.site-footer a {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  transition: color .2s;
}
.site-footer a:hover { color: var(--accent-2); }
.site-footer .copyright {
  font-size: 10px;
  color: rgba(255,255,255,0.18);
  margin-top: 4px;
}

/* =====================================================================
   BASE LANDING (partagee index + guide-offert)
   ===================================================================== */
.page {
  max-width: 480px;
  margin: 0 auto;
  min-height: 100vh;
  background: var(--bg);
}
.page::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0,100,255,0.35) 0%, rgba(0,60,180,0.15) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}
.hero {
  background: transparent;
  padding: 14px 24px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.3px;
  text-align: center;
}
.hero h1 .after-line {
  display: inline;
  background: linear-gradient(90deg, #1a7fff, #00aaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: normal;
  font-size: 1.1em;
}
#cursor-dot {
  color: var(--accent);
  font-style: normal;
  font-size: 1.1em;
  line-height: 1;
  vertical-align: baseline;
  position: relative;
  top: -0.05em;
}
/* Trust bar (etoiles + avis verifies) */
.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 16px 20px 6px;
  position: relative;
  z-index: 1;
}
.stars { display: flex; gap: 3px; }
.star {
  width: 21px;
  height: 21px;
  background: #d32f2f;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
}
.rating-txt { font-size: 13px; color: #bbb; }
.avis-badge { display: flex; align-items: center; gap: 4px; font-size: 14px; }
.avis-badge .av-star { color: #f5a623; font-size: 17px; }
.avis-badge .av-avis { font-style: italic; color: #eee; }
.avis-badge .av-verifies { font-weight: 900; color: #fff; }

/* Logo image (topbar legale + contact) */
.legal-topbar .logo-link { display: block; }
.legal-topbar .logo-img { height: 26px; width: auto; display: block; }

/* =====================================================================
   CONTACT
   ===================================================================== */
.contact-intro { font-size: 15px; line-height: 1.7; color: var(--text-soft); margin-bottom: 26px; }
.contact-form { max-width: 560px; }
.contact-field { margin-bottom: 16px; }
.contact-field label { display: block; font-size: 13px; color: var(--text-mute); margin-bottom: 6px; }
.contact-field input, .contact-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 13px 16px;
  color: #fff;
  font-size: 15px;
  font-family: var(--font-base);
  transition: border-color .2s;
}
.contact-field input:focus, .contact-field textarea:focus { outline: none; border-color: var(--accent); }
.contact-field textarea { min-height: 150px; resize: vertical; }
.contact-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-submit {
  display: inline-block;
  margin-top: 4px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  border: none;
  border-radius: 10px;
  padding: 15px 32px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(0,150,255,0.35);
  transition: transform .12s, opacity .2s;
}
.contact-submit:active { transform: scale(0.98); }
.contact-submit:disabled { opacity: 0.6; cursor: default; }
.contact-status { margin-top: 16px; font-size: 14px; min-height: 20px; line-height: 1.5; }
.contact-status.ok { color: #39d98a; }
.contact-status.err { color: #ff6b6b; }
