/* Swarley — home v3 (2026-08-05). Feuille dédiée à la page d'accueil :
   les sous-pages (/salles, /privacy, /terms, /mentions, /reset, /confirmed)
   restent sur /style.css — ne pas fusionner les deux. */
:root {
  --bg: #0B0B0D;
  --panel: #151518;
  --line: rgba(255, 255, 255, 0.09);
  --text: #F5F5F7;
  --text-2: #A1A1A6;
  --text-3: #6E6E73;
  --volt: #CDFF00;
  --volt-deep: #B9E600;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

.inner { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 11, 13, 0.72);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.nav .logo { height: 26px; width: auto; }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--text); }
.nav-links a.nav-cta {
  color: #0B0B0D; background: var(--volt); padding: 9px 18px; border-radius: 999px;
  font-weight: 700;
}
.nav-links a.nav-cta:hover { background: var(--volt-deep); color: #0B0B0D; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(11,11,13,0.82) 0%, rgba(11,11,13,0.62) 45%, var(--bg) 96%),
    url('/assets/img/hero-deadlift.jpg');
  background-size: cover;
  background-position: center 28%;
  filter: saturate(0.75);
  min-height: 640px;
}
.hero .inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
  padding-top: 132px;
  padding-bottom: 132px;
}
.kicker {
  display: inline-block;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 18px;
}
.display {
  font-size: clamp(44px, 7vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 0 0 22px;
}
.display .dim { color: var(--text-3); }
.lead {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-2);
  max-width: 34em;
  margin: 0 0 30px;
}
.lead strong { color: var(--text); font-weight: 600; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-xl {
  display: inline-block;
  background: var(--volt); color: #0B0B0D;
  font-size: 17px; font-weight: 700; text-decoration: none;
  padding: 15px 30px; border-radius: 999px;
}
.btn-xl:hover { background: var(--volt-deep); }
.btn-ghost {
  display: inline-block;
  color: var(--text); text-decoration: none;
  font-size: 17px; font-weight: 600;
  padding: 15px 30px; border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.25); }
.hero-note { margin-top: 18px; font-size: 14px; color: var(--text-3); }

/* ---------- Phone mockup ---------- */
.phone-wrap { display: flex; justify-content: center; }
.phone {
  width: min(320px, 82vw);
  border-radius: 44px;
  padding: 14px;
  background: #1A1A1E;
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 40px 90px rgba(0,0,0,0.55);
}
.phone-screen {
  border-radius: 32px;
  background: #0E0E11;
  border: 1px solid var(--line);
  padding: 26px 20px 22px;
  display: flex; flex-direction: column; gap: 12px;
}
.ph-day { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.ph-title { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 4px; }
.ph-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  font-size: 14px; color: var(--text-2);
  padding: 9px 0; border-bottom: 1px solid var(--line);
}
.ph-row b { color: var(--text); font-weight: 600; white-space: nowrap; }
.ph-row .done { color: var(--volt); margin-right: 6px; }
/* Les pas restants sont numerotes, pas coches : on montre ce qui manque. */
.ph-row .todo {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px; margin-right: 6px; border-radius: 999px;
  border: 1px solid var(--text-3); color: var(--text-3);
  font-size: 10px; font-weight: 700; line-height: 1;
}
.ph-row.done-row span { color: var(--text-3); }
.ph-adapt {
  font-size: 13px; color: #D8FF66;
  background: rgba(205,255,0,0.08);
  border: 1px solid rgba(205,255,0,0.22);
  border-radius: 12px; padding: 10px 12px;
}
.ph-btn {
  margin-top: 4px; text-align: center;
  background: var(--volt); color: #0B0B0D;
  font-size: 15px; font-weight: 700;
  border-radius: 999px; padding: 12px;
}

/* ---------- Bands ---------- */
.band { padding: 96px 0; }
.band.tight { padding: 72px 0; }
.h-band {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin: 0 0 18px;
}
.band-intro { font-size: 19px; color: var(--text-2); max-width: 38em; margin: 0 0 44px; }

/* ---------- Feature cards ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
}
.feat svg { width: 30px; height: 30px; stroke: var(--volt); margin-bottom: 16px; }
.feat h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.feat p { font-size: 15px; color: var(--text-2); margin: 0; }

/* ---------- Split feature (texte + visuel) ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
}
.split.rev .split-copy { order: 2; }
.split.rev .split-media { order: 1; }
.split h2 { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.02em; font-weight: 800; margin: 0 0 14px; }
.split p { color: var(--text-2); margin: 0 0 12px; }
.split p strong { color: var(--text); font-weight: 600; }
.split-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(0.75);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.chart-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.chart-card .chart-label { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.chart-card svg { width: 100%; height: auto; display: block; }

/* ---------- Photo statement band ---------- */
.photo-band {
  position: relative; overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.photo-band .pb-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: saturate(0.7);
}
.photo-band .pb-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(11,11,13,0.78), rgba(11,11,13,0.55));
}
.photo-band .inner { position: relative; padding-top: 190px; padding-bottom: 190px; }
.statement {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.06; letter-spacing: -0.02em; font-weight: 800;
  margin: 0; max-width: 16em;
}
.statement .volt-txt { color: var(--volt); }

/* ---------- Steps ---------- */
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; background: rgba(255,255,255,0.02);
}
.step-n { font-size: 15px; font-weight: 800; color: var(--volt); letter-spacing: 0.08em; }
.step h3 { font-size: 19px; font-weight: 700; margin: 10px 0 8px; }
.step p { font-size: 15px; color: var(--text-2); margin: 0; }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: start; }
.plan {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.plan.featured {
  border-color: rgba(205,255,0,0.5);
  background: linear-gradient(180deg, rgba(205,255,0,0.07), rgba(205,255,0,0.015) 40%), var(--panel);
}
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: #0B0B0D; background: var(--volt); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px;
}
.badge-quiet { background: rgba(255,255,255,0.1); color: var(--text-2); }
.plan h3 { font-size: 24px; font-weight: 800; margin: 0 0 2px; }
.plan .who { font-size: 14px; color: var(--text-3); margin: 0 0 18px; }
.plan .price { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 6px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--text-3); letter-spacing: 0; }
.plan .price-alt { font-size: 14px; color: var(--text-2); margin: 0 0 10px; }
.plan .price-alt .save { display: block; color: var(--volt); font-weight: 600; margin-top: 2px; }
.plan ul { list-style: none; padding: 0; margin: 18px 0 0; }
.plan li {
  font-size: 15px; color: var(--text-2);
  padding: 9px 0 9px 26px; position: relative;
  border-top: 1px solid var(--line);
}
.plan li::before { content: "✓"; position: absolute; left: 2px; color: var(--volt); font-weight: 700; }
.note {
  margin-top: 28px; padding: 20px 24px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  font-size: 15px; color: var(--text-2);
}
.note strong { color: var(--text); }
.note-quiet { margin-top: 18px; font-size: 15px; color: var(--text-3); }
.note-quiet a { color: var(--volt); text-decoration: none; font-weight: 600; }
.note-quiet a:hover { text-decoration: underline; }

/* ---------- Salles CTA ---------- */
.salles-card {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
}
.salles-card .sc-bg {
  position: absolute; inset: 0;
  background-image: url('/assets/img/band-rack.jpg');
  background-size: cover; background-position: center;
  filter: saturate(0.6);
}
.salles-card .sc-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,11,13,0.92) 30%, rgba(11,11,13,0.55));
}
.salles-card .sc-inner { position: relative; padding: 56px 48px; max-width: 60%; }
.salles-card h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.salles-card p { color: var(--text-2); margin: 0 0 22px; }

/* ---------- Footer ---------- */
.foot-band { border-top: 1px solid var(--line); padding: 40px 0 48px; }
.foot-band .inner { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; }
.foot-band a { color: var(--text-3); text-decoration: none; font-size: 14px; }
.foot-band a:hover { color: var(--text); }
.foot-band span { color: var(--text-3); font-size: 14px; margin-left: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .inner { grid-template-columns: 1fr; padding-top: 72px; padding-bottom: 80px; gap: 40px; }
  .split, .split.rev { grid-template-columns: 1fr; gap: 28px; }
  .split.rev .split-copy { order: 1; }
  .split.rev .split-media { order: 2; }
  .feat-grid, .steps3, .plans { grid-template-columns: 1fr; }
  .band { padding: 64px 0; }
  .photo-band .inner { padding-top: 120px; padding-bottom: 120px; }
  .salles-card .sc-inner { max-width: 100%; padding: 40px 28px; }
  .nav-links { gap: 16px; }
}

@media (max-width: 640px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ---------- Version claire (clair.html : <body class="light">) ----------
   Regle de marque : jamais de volt en texte sur fond blanc — les accents
   texte passent en olive fonce (--volt-ink), le volt reste en aplat (boutons,
   badges). Le hero, les bandes photo et la carte salles restent sombres :
   ce sont des ilots photo, pas des fonds de page. */
body.light {
  --bg: #FFFFFF;
  --panel: #F2F2F7;
  --line: rgba(0, 0, 0, 0.10);
  --text: #1C1C1E;
  --text-2: #6E6E73;
  --text-3: #AEAEB2;
  --volt-ink: #5C7300;
}
body.light .nav {
  background: rgba(255, 255, 255, 0.78);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
body.light .kicker { color: var(--volt-ink); }
body.light .feat svg { stroke: var(--volt-ink); }
body.light .step-n { color: var(--volt-ink); }
body.light .step { background: rgba(0, 0, 0, 0.015); }
body.light .plan li::before { color: var(--volt-ink); }
body.light .plan .price-alt .save { color: var(--volt-ink); }
body.light .plan.featured {
  border-color: rgba(122, 153, 0, 0.55);
  background: linear-gradient(180deg, rgba(205,255,0,0.16), rgba(205,255,0,0.04) 40%), var(--panel);
}
body.light .note { background: rgba(0, 0, 0, 0.025); }
body.light .note-quiet a { color: var(--volt-ink); }
body.light .btn-ghost {
  border-color: rgba(0, 0, 0, 0.16);
  background: rgba(0, 0, 0, 0.03);
  color: var(--text);
}
body.light .chart-card svg text { fill: #1C1C1E; }
/* Ilots qui restent sombres : on re-declare les variables localement. */
body.light .hero,
body.light .photo-band,
body.light .salles-card {
  --text: #F5F5F7;
  --text-2: #C7C7CC;
  --text-3: #8E8E93;
  --line: rgba(255, 255, 255, 0.09);
  --panel: #151518;
  color: var(--text);
}
body.light .hero { border-bottom-color: rgba(0, 0, 0, 0.08); }
body.light .hero .kicker,
body.light .photo-band .kicker,
body.light .salles-card .kicker { color: var(--volt); }
body.light .hero .btn-ghost {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05);
  color: #F5F5F7;
}
