/* ========================================
   SFG â€” Design System v3 (Charte SFeelGood)
   ======================================== */

:root {
  /* Palette SFeelGood */
  --bg: #06090d;
  --bg-alt: #0b0f16;
  --card: #101620;
  --card-hover: #161e2e;
  --border: rgba(132, 177, 191, 0.1);

  --primary: #84b1bf;       /* Bleu clair SFeelGood */
  --primary-glow: rgba(132, 177, 191, 0.25);
  --secondary: #3a4d65;     /* Bleu marine SFeelGood */
  --secondary-glow: rgba(58, 77, 101, 0.5);
  --accent: #84b1bf;        /* MÃªme teinte pour cohÃ©rence */

  --text: #f0f4f8;
  --text-muted: #7a90a6;

  --font-head: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Custom Cursor */
.cursor-dot, .cursor-outline {
  pointer-events: none;
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 9999;
}
.cursor-dot { width: 8px; height: 8px; background: var(--primary); }
.cursor-outline { width: 40px; height: 40px; border: 2px solid var(--primary); }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.1; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; text-transform: uppercase; font-style: italic; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.4rem; font-weight: 700; }

p { color: var(--text-muted); font-weight: 400; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; }

/* Gradients & Effects */
.gradient-text {
  background: linear-gradient(to right, var(--primary), #00d4ff, var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(132, 177, 191, 0.1);
  color: var(--primary);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

/* ---- BUTTONS ---- */
a.btn-primary, a.btn-ghost, a.btn-nav { text-decoration: none; }

.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  background: var(--primary);
  color: #000;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  font-style: italic;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  transform: translateX(-100%);
  transition: 0.5s;
}
.btn-primary:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 0 30px var(--primary-glow);
}
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  display: inline-flex;
  padding: 16px 32px;
  border: 2px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  transition: var(--transition);
}
.btn-ghost:hover {
  border-color: var(--primary);
  background: rgba(132, 177, 191, 0.05);
}

/* ---- NAV ---- */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#mainNav.scrolled {
  padding: 12px 0;
  background: rgba(5, 7, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}
.logo-img--header {
  height: 52px;
  width: auto;
  border-radius: 14px;
  border: 1.5px solid rgba(132, 177, 191, 0.35);
  padding: 6px 10px;
  background: #ffffff;
}
.logo-dot { color: var(--primary); text-shadow: 0 0 10px var(--primary-glow); }

.nav-links { display: flex; list-style: none; gap: 32px; align-items: center; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: var(--transition);
  text-decoration: none;
}
.nav-links a:hover { color: var(--primary); }
.btn-nav {
  background: var(--primary) !important;
  color: #000 !important;
  padding: 10px 24px !important;
  border-radius: 8px !important;
  font-weight: 800 !important;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 140px 0 80px;
  position: relative;
  gap: 80px;
  overflow: visible;
}
.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: 
    radial-gradient(circle at 80% 20%, var(--primary-glow) 0%, transparent 45%),
    radial-gradient(circle at 20% 80%, var(--secondary-glow) 0%, transparent 45%);
}
.hero-content { flex: 1; position: relative; z-index: 2; }
.hero h1 { margin-bottom: 24px; line-height: 0.95; }
.hero-sub { font-size: 1.25rem; line-height: 1.5; margin-bottom: 40px; max-width: 580px; }

.hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; min-width: 140px; }
.stat-number {
  display: block;
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
}
.stat-label { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--text-muted); }

.hero-visual {
  flex: 0 0 520px;
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  margin-right: -80px;
}

.phone-mockup {
  width: 320px;
  background: #000;
  border: 12px solid #1a1a1a;
  border-radius: 48px;
  padding: 24px;
  position: relative;
  box-shadow: 
    0 50px 100px -20px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.1);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 140px; height: 28px;
  background: #1a1a1a;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  z-index: 10;
}
.phone-screen { 
  display: flex; 
  flex-direction: column; 
  gap: 20px; 
  position: relative; 
  z-index: 1;
  min-height: 500px;
}

.phone-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.phone-avatar {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #000;
}
.phone-name { font-weight: 700; font-size: 1rem; }
.phone-streak { font-size: 0.8rem; color: var(--text-muted); }

.phone-steps-display {
  position: relative;
  width: 180px; height: 180px;
  margin: 20px auto;
}
.ring-svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 10; }
.ring-progress {
  fill: none;
  stroke: url(#heroGrad);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 314;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1s ease-out;
}
.ring-inner {
  position: absolute;
  inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
}
.ring-count {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: var(--text);
  line-height: 1;
}
.ring-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

.phone-goal {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.phone-pct { color: var(--primary); }

.phone-progress-bar {
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 8px;
}
.phone-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 100px;
}

.phone-challenges-mini {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.mini-challenge {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.mini-challenge.active {
  background: rgba(132, 177, 191, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- HERO BADGE ---- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }

/* ---- CARDS & SECTIONS ---- */
.section { padding: 140px 0; }
.section-intro { font-size: 1.15rem; max-width: 700px; margin-bottom: 60px; color: var(--text-muted); line-height: 1.7; }

/* ---- PHOTO PLACEHOLDERS ---- */
.photo-placeholder {
  background: rgba(255,255,255,0.03);
  border: 2px dashed rgba(132, 177, 191, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.photo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ph-inner {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.photo-placeholder img ~ .ph-inner { display: none; }
.ph-icon { font-size: 2rem; opacity: 0.4; }
.ph-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.ph-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* HÃ©ro â€” remplace le mockup tÃ©lÃ©phone */
.ph-hero {
  width: 100%;
  height: 560px;
  flex-shrink: 0;
  border: none;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* Constat â€” dans le bloc conviction */
.conviction-block {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 72px;
}
.conviction-photo { grid-column: 1; }
.conviction-quote { grid-column: 2; }
.conviction-text { grid-column: 3; }

.ph-constat {
  height: 340px;
  width: 100%;
  border-radius: 20px;
}

/* Programme â€” petite vignette en haut de chaque carte */
.ph-prog {
  width: 100%;
  height: 180px;
  border-radius: 16px;
  margin-bottom: 8px;
}

/* Marche â€” grande photo Ã  gauche */
.marche-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.marche-content { grid-column: 1; grid-row: 1 / span 2; }
.marche-photo   { grid-column: 2; grid-row: 1; }
.marche-visual  { grid-column: 2; grid-row: 2; }

.ph-marche {
  height: 360px;
  width: 100%;
  border-radius: 24px;
}

/* ---- MINI FORMULAIRES ---- */
.mini-form-strip {
  background: rgba(58, 77, 101, 0.12);
  border-top: 1px solid rgba(58, 77, 101, 0.2);
  border-bottom: 1px solid rgba(58, 77, 101, 0.2);
  padding: 60px 0;
}
.mini-form-strip--alt {
  background: rgba(132, 177, 191, 0.04);
  border-color: rgba(132, 177, 191, 0.12);
}
.mini-form-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: center;
}
.mini-form-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text) !important;
  margin-bottom: 10px;
}
.mini-form-sub {
  font-size: 0.95rem;
  color: var(--text-muted) !important;
  line-height: 1.6;
}
.mini-form {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  align-items: end;
}
.mini-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.mini-form input:focus { border-color: var(--primary); }
.mini-form input::placeholder { color: rgba(255,255,255,0.3); }
.mini-form .btn-primary {
  padding: 13px 20px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.mini-form-success {
  grid-column: span 3;
  color: var(--primary);
  font-weight: 600;
  padding: 16px;
  background: rgba(0,255,163,0.08);
  border-radius: 10px;
  border: 1px solid rgba(0,255,163,0.2);
  text-align: center;
}

/* ---- BANDE PRÃ‰VENTION (slide 2) ---- */
.prevention-strip {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 0;
}
.prevention-header {
  max-width: 700px;
  margin-bottom: 64px;
}
.prevention-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}
.prevention-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.prevention-points {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}
.prev-point {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
}
.prev-point:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}
.prev-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  opacity: 0.35;
  line-height: 1;
  flex-shrink: 0;
}
.prev-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.prev-body strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  display: block;
}
.prev-body span {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ---- CONSTAT ---- */
.constat { background: var(--bg-alt); }

.signals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 80px;
}
.signal-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.signal-card:hover {
  border-color: var(--primary);
  background: var(--card-hover);
  transform: translateY(-4px);
}
.signal-num {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  opacity: 0.5;
  flex-shrink: 0;
  min-width: 36px;
}
.signal-text { font-weight: 600; font-size: 0.95rem; }

.conviction-quote {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--text-muted);
  position: relative;
  padding-left: 40px;
}
.quote-mark {
  position: absolute;
  left: 0; top: -16px;
  font-size: 5rem;
  color: var(--primary);
  line-height: 1;
  opacity: 0.5;
}
.conviction-text h3 { margin-bottom: 20px; font-size: 1.5rem; }
.conviction-text p { margin-bottom: 16px; }
.conviction-text strong { color: var(--text); }

/* ---- PROGRAMME ---- */
.programme { background: var(--bg); }

.programme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 100px;
}
.programme-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.programme-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.programme-card:hover {
  transform: translateY(-12px);
  border-color: var(--primary);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.prog-number {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: -8px;
}
.programme-card h3 { font-size: 1.35rem; line-height: 1.2; }
.programme-card p { font-size: 0.9rem; color: var(--text-muted); }
.prog-tag {
  margin-top: auto;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(0,255,163,0.08);
  border: 1px solid rgba(0,255,163,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  display: inline-block;
}

/* ---- COMPTEUR DE PAS — ANIMATION EN BOUCLE ---- */
.steps-teaser { padding-top: 20px; }
.steps-teaser-header { margin-bottom: 56px; }
.steps-teaser-header h3 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 12px; }
.steps-teaser-header p { font-size: 1rem; }

/* Wrapper démo */
.sca-demo-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

/* ---- Phone card ---- */
.sca-phone-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px 24px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sca-phone-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px 3px 0 0;
}

/* Topbar */
.sca-phone-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.sca-phone-time {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.sca-live-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: 0.08em;
  color: var(--primary);
  background: rgba(132,177,191,0.08);
  border: 1px solid rgba(132,177,191,0.2);
  padding: 4px 10px;
  border-radius: 100px;
}
.sca-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
  animation: livePulse 1.4s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Profil */
.sca-phone-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sca-phone-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
}
.sca-phone-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
}
.sca-phone-streak {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Anneau SVG */
.sca-ring-area {
  position: relative;
  width: 200px;
  height: 200px;
  margin: 0 auto;
}
.sca-svg-demo {
  width: 100%; height: 100%;
  transform: rotate(-90deg);
}
.sca-ring-bg {
  fill: none;
  stroke: rgba(255,255,255,0.06);
  stroke-width: 14;
}
.sca-ring-fill {
  fill: none;
  stroke: url(#demoGrad);
  stroke-width: 14;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.12s linear;
}
.sca-ring-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  gap: 2px;
}
.sca-ring-steps {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.sca-ring-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.sca-ring-goal {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Barre de progression */
.sca-progress-section { display: flex; flex-direction: column; gap: 8px; }
.sca-progress-track {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.sca-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 100px;
  width: 0%;
  transition: width 0.12s linear;
}
.sca-progress-info {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Tag moment */
.sca-moment-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--primary);
  background: rgba(132,177,191,0.08);
  border: 1px solid rgba(132,177,191,0.15);
  padding: 6px 14px;
  border-radius: 100px;
  align-self: flex-start;
  transition: opacity 0.4s;
}

/* Overlay objectif atteint */
.sca-goal-reached {
  position: absolute;
  inset: 0;
  background: rgba(6,9,13,0.88);
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1);
}
.sca-goal-reached--visible {
  opacity: 1;
  pointer-events: auto;
}
.sgr-trophy {
  font-size: 3.5rem;
  animation: trophyBounce 0.6s cubic-bezier(0.16,1,0.3,1);
}
@keyframes trophyBounce {
  from { transform: scale(0.4) rotate(-15deg); opacity: 0; }
  to   { transform: scale(1)   rotate(0deg);   opacity: 1; }
}
.sgr-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
}
.sgr-sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---- Team Leaderboard card ---- */
.sca-team-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.sca-team-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary));
  border-radius: 3px 3px 0 0;
}
.sca-team-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.sca-team-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

/* Leaderboard rows */
.sca-lb {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.lb-row {
  display: grid;
  grid-template-columns: 28px 32px 1fr auto 72px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}
.lb-row--active {
  background: rgba(132,177,191,0.06);
  border-color: rgba(132,177,191,0.15);
}
.lb-rank {
  font-size: 1rem;
  text-align: center;
}
.lb-av {
  width: 32px; height: 32px;
  border-radius: 10px;
  background: rgba(132,177,191,0.12);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 0.85rem;
  color: var(--primary);
  flex-shrink: 0;
}
.lb-row--active .lb-av {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
}
.lb-name {
  font-weight: 600;
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.lb-bar-wrap { min-width: 0; }
.lb-bar {
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  overflow: hidden;
}
.lb-bar-fill {
  height: 100%;
  background: rgba(132,177,191,0.3);
  border-radius: 100px;
  transition: width 0.4s ease;
}
.lb-bar-fill--active {
  background: linear-gradient(90deg, var(--secondary), var(--primary));
}
.lb-steps {
  font-family: var(--font-head);
  font-weight: 700;
  font-style: italic;
  font-size: 0.82rem;
  color: var(--primary);
  text-align: right;
  white-space: nowrap;
}

/* Footer equipe */
.sca-team-foot {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.sca-notif {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(132,177,191,0.08);
  border: 1px solid rgba(132,177,191,0.15);
  border-radius: 10px;
  padding: 8px 14px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s, transform 0.4s cubic-bezier(0.16,1,0.3,1);
  min-height: 36px;
}
.sca-notif--visible {
  opacity: 1;
  transform: translateY(0);
}
.sca-total-row {
  font-size: 0.85rem;
  color: var(--text-muted);
}
.sca-total-row strong { color: var(--primary); font-family: var(--font-head); font-style: italic; }

.btn-full { width: 100%; justify-content: center; }

/* ---- POUR QUI ---- */
.pourqui { background: var(--bg-alt); }

.two-col-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}
.pourqui-intro-text p { font-size: 1.1rem; line-height: 1.7; margin-bottom: 16px; }
.pourqui-intro-text strong { color: var(--text); }
.pourqui-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pourqui-list li {
  padding-left: 20px;
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}
.pourqui-list li::before {
  content: '\2014';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}
.pourqui-list li strong { color: var(--text); }

.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 60px;
}
.impact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 48px;
  transition: var(--transition);
}
.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.impact-entreprise { border-top: 3px solid var(--secondary); }
.impact-salaries { border-top: 3px solid var(--primary); }
.impact-card h3 { font-size: 1.5rem; margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.impact-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.impact-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1rem; }
.impact-check {
  width: 22px; height: 22px;
  background: rgba(0,255,163,0.1);
  border: 1px solid rgba(0,255,163,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 1px;
}

.conviction-banner {
  background: linear-gradient(135deg, var(--secondary), rgba(0,255,163,0.1));
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 40px 48px;
  text-align: center;
}
.conviction-banner p { font-size: 1.4rem; color: var(--text); font-family: var(--font-head); font-style: italic; }
.conviction-banner strong { color: var(--primary); }

/* ---- MARCHE ---- */
.marche-section { background: var(--bg); }
.marche-lead { font-size: 1.15rem; margin-bottom: 40px; }
.marche-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.marche-point {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 1rem;
  padding: 4px 0;
}
.mp-dash {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 900;
  flex-shrink: 0;
}
.marche-body { color: var(--text-muted); margin-bottom: 32px; font-size: 1rem; line-height: 1.7; }

.marche-quote {
  border-left: 3px solid var(--primary);
  padding-left: 24px;
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--text);
  line-height: 1.5;
}
.marche-quote span { color: var(--primary); }

.marche-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: center;
}
.marche-stat-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: var(--transition);
}
.marche-stat-box:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}
.msb-value {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 900;
  font-style: italic;
  color: var(--primary);
  line-height: 1;
}
.msb-label { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

/* ---- TEMOIGNAGES ---- */
.temoignages { background: var(--bg-alt); }
.temoignages h2 { margin-bottom: 60px; }
.temoignages-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.temo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--transition);
}
.temo:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.15); }
.temo-stars { color: #ffd700; letter-spacing: 2px; font-size: 0.9rem; }
.temo p { color: var(--text-muted); font-size: 0.95rem; font-style: italic; flex: 1; line-height: 1.6; }
.temo-author { display: flex; align-items: center; gap: 12px; }
.temo-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}
.temo-author strong { display: block; font-size: 0.95rem; }
.temo-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ---- CONTACT ---- */
.contact-section { background: var(--bg); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.contact-left h2 { margin-bottom: 20px; }
.contact-sub { font-size: 1.05rem; line-height: 1.7; margin-bottom: 48px; }
.cr-check {
  width: 22px; height: 22px;
  background: rgba(0,255,163,0.1);
  border: 1px solid rgba(0,255,163,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-reassurance { display: flex; flex-direction: column; gap: 16px; }
.cr-item { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.cr-icon {
  width: 24px; height: 24px;
  background: rgba(0,255,163,0.1);
  border: 1px solid rgba(0,255,163,0.2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}
.form-group input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus { border-color: var(--primary); background: rgba(0,255,163,0.02); }
.form-group input::placeholder { color: rgba(255,255,255,0.25); }
.cta-success { color: var(--primary); font-weight: 700; font-size: 1.1rem; padding: 24px; text-align: center; background: rgba(0,255,163,0.08); border-radius: 16px; border: 1px solid rgba(0,255,163,0.2); }

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 60px 0 100px;
}
.card {
  background: var(--card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  background: var(--card-hover);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}
.card-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}
.card h3 { margin-bottom: 16px; color: var(--text); }
.card p { font-size: 0.95rem; line-height: 1.6; color: var(--text-muted); }

/* ---- SOLUTION BLOCK ---- */
.solution-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px;
  background: var(--card);
  border-radius: 40px;
  border: 1px solid var(--border);
  position: relative;
}
.solution-text h2 { margin-bottom: 24px; }
.solution-text p { margin-bottom: 32px; font-size: 1.1rem; }

.solution-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.solution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.solution-list li::before {
  content: '\2713';
  color: var(--primary);
  font-weight: 900;
  background: rgba(132, 177, 191, 0.1);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 0.8rem;
}

.wellness-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.wellness-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
  color: var(--text);
}
.wellness-card:hover {
  background: rgba(132, 177, 191, 0.05);
  border-color: var(--primary);
  transform: scale(1.05);
  color: var(--primary);
}

/* ---- CHALLENGES V2 ---- */
.challenges-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.challenge-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ch-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ch-icon { font-size: 2.5rem; }
.ch-meta { flex: 1; }
.ch-title { font-size: 1.2rem; margin-bottom: 4px; }
.ch-type { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); }

.ch-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; min-height: 3em; }

.ch-progress-wrap { margin: 10px 0; }
.ch-progress-labels { display: flex; justify-content: space-between; font-size: 0.8rem; margin-bottom: 8px; font-weight: 600; }
.ch-bar { height: 8px; background: rgba(255, 255, 255, 0.05); border-radius: 100px; overflow: hidden; }
.ch-bar-fill { height: 100%; border-radius: 100px; transition: width 1s ease-out; }

.ch-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--border); }
.ch-participants { font-size: 0.8rem; font-weight: 600; color: var(--text-muted); }
.ch-join-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}
.ch-join-btn:hover, .ch-join-btn.joined-btn {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}


/* ---- DASHBOARD V2 ---- */
.dashboard-mockup {
  background: var(--card);
  border-radius: 32px;
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
.db-header { padding: 32px; border-bottom: 1px solid var(--border); background: rgba(255,255,255,0.01); }
.db-members { padding: 16px 0; }
.db-member {
  display: grid;
  grid-template-columns: 60px 1fr 120px 180px;
  align-items: center;
  padding: 16px 32px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: var(--transition);
}
.db-member:last-child { border-bottom: none; }
.db-member:hover { background: rgba(255,255,255,0.03); transform: scale(1.01); }
.db-rank { font-size: 1.5rem; font-weight: 900; font-style: italic; text-align: center; }
.db-info { display: flex; flex-direction: column; gap: 2px; }
.db-member-name { font-weight: 700; font-size: 1.1rem; }
.db-member-role { font-size: 0.8rem; color: var(--text-muted); }
.db-steps { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; color: var(--primary); text-align: right; }
.db-bar-wrap { padding-left: 32px; }
.db-mini-bar { height: 6px; background: rgba(255,255,255,0.05); border-radius: 100px; overflow: hidden; }
.db-mini-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--primary)); border-radius: 100px; }

.db-footer { padding: 24px 32px; border-top: 1px solid var(--border); background: rgba(255,255,255,0.01); }

/* ---- CTA BOX V2 ---- */
.cta-box {
  background: linear-gradient(135deg, var(--secondary), var(--bg));
  border: 1px solid var(--border);
  padding: 80px;
  border-radius: 40px;
  position: relative;
}
.cta-box::before {
  content: 'SFeelGood';
  position: absolute;
  bottom: -20px; right: 20px;
  font-size: 10rem;
  font-weight: 900;
  font-style: italic;
  opacity: 0.05;
  pointer-events: none;
}

/* ---- BLOG PREVIEW ---- */
.blog-preview { background: var(--bg-alt); }

.blog-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.blog-preview-header .section-intro { margin-bottom: 0; }
.blog-all-link { white-space: nowrap; align-self: flex-end; }

.blog-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.blog-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.blog-card:hover::before { opacity: 1; }

.blog-card--featured {
  border-color: rgba(132,177,191,0.25);
}
.blog-card--featured::before { opacity: 1; }
.blog-card--featured h3 { font-size: 1.5rem; }

.blog-card-tag {
  display: inline-flex;
  width: fit-content;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: rgba(132,177,191,0.1);
  border: 1px solid rgba(132,177,191,0.2);
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-card-date {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.blog-card h3 {
  font-size: 1.15rem;
  line-height: 1.3;
  color: var(--text);
}

.blog-card p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.blog-card-link:hover { gap: 10px; }
.blog-card-link span { transition: transform 0.2s; }
.blog-card-link:hover span { transform: translateX(4px); }

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}
.blog-author-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  color: #fff;
  flex-shrink: 0;
}

/* ---- ARTICLE PAGE ---- */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 140px 0 40px;
  flex-wrap: wrap;
}
.article-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  font-weight: 600;
}
.article-breadcrumb a:hover { color: var(--primary); }
.article-breadcrumb-sep { opacity: 0.35; }
.article-breadcrumb-current { color: var(--text); font-weight: 600; }

.article-header {
  max-width: 800px;
  margin: 0 auto 60px;
  text-align: center;
}
.article-header-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.article-header h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: none;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}
.article-author-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.article-author-info { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.article-author-name { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.article-author-date { font-size: 0.78rem; color: var(--text-muted); }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
  padding-bottom: 100px;
}

.article-body {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 64px;
}
.article-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  margin: 48px 0 18px;
  color: var(--text);
  line-height: 1.25;
}
.article-body h2:first-child { margin-top: 0; }
.article-body p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 22px;
  color: var(--text-muted);
}
.article-body p:last-child { margin-bottom: 0; }
.article-body strong { color: var(--text); }
.article-body ul, .article-body ol {
  padding-left: 0;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
.article-body ul li, .article-body ol li {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
}
.article-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 900;
}
.article-body ol { counter-reset: art-counter; }
.article-body ol li { counter-increment: art-counter; }
.article-body ol li::before {
  content: counter(art-counter) '.';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: 800;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.9rem;
}
.article-body blockquote {
  border-left: 3px solid var(--primary);
  padding: 20px 28px;
  background: rgba(132,177,191,0.06);
  border-radius: 0 16px 16px 0;
  margin: 36px 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.55;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 36px;
  margin-top: 36px;
  border-top: 1px solid var(--border);
  gap: 20px;
  flex-wrap: wrap;
}
.article-footer-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.article-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.article-nav-link {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-nav-link:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}
.article-nav-link--prev { align-items: flex-start; }
.article-nav-link--next { align-items: flex-end; text-align: right; }
.article-nav-direction {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-head);
}
.article-nav-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Light mode article */
[data-theme="light"] .article-body blockquote { background: rgba(61,143,164,0.06); }
[data-theme="light"] .article-nav-link:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.1); }

/* Responsive article */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-body { padding: 40px; }
}
@media (max-width: 768px) {
  .article-breadcrumb { padding-top: 110px; }
  .article-body { padding: 24px; }
  .article-nav-links { grid-template-columns: 1fr; }
  .article-nav-link--next { align-items: flex-start; text-align: left; }
  .article-header h1 { font-size: 1.7rem; }
}

/* ---- BLOG PAGE ---- */
.blog-hero {
  padding: 160px 0 80px;
  background: var(--bg);
}
.blog-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 20px;
}
.blog-hero p { font-size: 1.15rem; max-width: 600px; }

.blog-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 40px 0 60px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 80px;
}
.blog-filter-btn {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}
.blog-filter-btn:hover,
.blog-filter-btn.active {
  background: var(--primary);
  color: #000;
  border-color: var(--primary);
}

.blog-main-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 100px;
}

.blog-articles { display: flex; flex-direction: column; gap: 40px; }

.blog-article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.blog-article-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity 0.3s;
}
.blog-article-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}
.blog-article-card:hover::before { opacity: 1; }

.blog-article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.blog-article-card h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  margin-bottom: 16px;
}
.blog-article-card > p {
  font-size: 0.97rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.blog-article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}

.blog-sidebar { display: flex; flex-direction: column; gap: 32px; }
.sidebar-widget {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.sidebar-widget-title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.sidebar-links { display: flex; flex-direction: column; gap: 12px; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--primary); }
.sidebar-link-num {
  font-family: var(--font-head);
  font-style: italic;
  font-size: 0.8rem;
  color: var(--primary);
  opacity: 0.6;
  min-width: 20px;
}

.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 100px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.sidebar-tag:hover {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(132,177,191,0.06);
}

.sidebar-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.sidebar-newsletter-form input {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.2s;
}
.sidebar-newsletter-form input:focus { border-color: var(--primary); }
.sidebar-newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
[data-theme="light"] .sidebar-newsletter-form input { background: rgba(0,0,0,0.04); color: var(--text); }
[data-theme="light"] .sidebar-newsletter-form input::placeholder { color: rgba(0,0,0,0.35); }

/* Light mode blog */
[data-theme="light"] .blog-card:hover { box-shadow: 0 24px 48px rgba(0,0,0,0.1); }
[data-theme="light"] .blog-article-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.1); }

/* CTA widget sidebar */
.sidebar-widget--cta {
  background: linear-gradient(135deg, #2a3d55 0%, #19283a 100%) !important;
  border-color: rgba(132,177,191,0.25) !important;
}
.sidebar-widget--cta .sidebar-widget-title {
  color: #84b1bf !important;
  border-bottom-color: rgba(132,177,191,0.15) !important;
}
.sidebar-widget--cta p {
  color: rgba(255,255,255,0.72) !important;
}

/* Responsive blog */
@media (max-width: 1024px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-main-grid { grid-template-columns: 1fr; }
  .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .blog-preview-header { flex-direction: column; align-items: flex-start; }
  .blog-all-link { align-self: flex-start; }
  .blog-article-card { padding: 28px; }
  .blog-sidebar { grid-template-columns: 1fr; }
}

/* ---- FOOTER ---- */
footer { border-top: 1px solid var(--border); padding: 36px 0; }
footer .logo { font-size: 1.4rem; }
footer .logo-img { height: 28px; width: 28px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 32px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer p { font-size: 0.82rem; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); transition: color 0.2s; text-decoration: none; }
.footer-links a:hover { color: var(--primary); }

/* ---- HAMBURGER ---- */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .prevention-points { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1100px) {
  .mini-form { grid-template-columns: 1fr 1fr; }
  .mini-form-layout { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 1024px) {
  .hero { flex-direction: column; text-align: center; padding-top: 120px; gap: 48px; }
  .hero-sub { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .hero-visual { flex: unset; width: 100%; justify-content: center; margin-right: 0; }
  .ph-hero { width: 100%; max-width: 100%; height: 320px; border-radius: var(--radius-lg); }
  .sca-demo-wrap { grid-template-columns: 1fr; }
  .conviction-block { grid-template-columns: 1fr; padding: 48px; gap: 40px; }
  .conviction-photo, .conviction-quote, .conviction-text { grid-column: 1; }
  .ph-constat { height: 260px; }
  .two-col-intro { grid-template-columns: 1fr; gap: 24px; }
  .impact-grid { grid-template-columns: 1fr; }
  .marche-layout { grid-template-columns: 1fr; gap: 40px; }
  .marche-content, .marche-photo, .marche-visual { grid-column: 1; grid-row: auto; }
  .ph-marche { height: 280px; position: static; }
  .contact-layout { grid-template-columns: 1fr; gap: 60px; }
  .programme-grid { grid-template-columns: 1fr; }
  .signals-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .signals-grid { grid-template-columns: 1fr; }
  .temoignages-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .container { padding: 0 20px; }
  .mini-form { grid-template-columns: 1fr; }
  .mini-form-success { grid-column: 1; }
  .prevention-points { grid-template-columns: 1fr 1fr; }
  .prevention-strip { padding: 60px 0; }
  .lb-row { grid-template-columns: 24px 28px 1fr 56px; }
  .lb-bar-wrap { display: none; }
  .sca-ring-area { width: 170px; height: 170px; }
}

/* ========================================
   THEME TOGGLE SWITCH
   ======================================== */
.theme-toggle {
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  margin-right: 4px;
}
.tt-wrap {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 5px 10px 5px 9px;
  transition: background 0.3s, border-color 0.3s;
}
.tt-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: opacity 0.3s, color 0.3s;
  user-select: none;
  flex-shrink: 0;
}
.tt-moon { opacity: 1; color: var(--primary); }
.tt-sun  { opacity: 0.4; }
.tt-track {
  width: 32px;
  height: 17px;
  background: var(--secondary);
  border-radius: 100px;
  position: relative;
  transition: background 0.3s;
  flex-shrink: 0;
}
.tt-thumb {
  width: 11px;
  height: 11px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px;
  left: 3px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}


/* ========================================
   LIGHT MODE
   ======================================== */
[data-theme="light"] {
  --bg:             #f4f7fa;
  --bg-alt:         #eaeff4;
  --card:           #ffffff;
  --card-hover:     #f0f4f8;
  --border:         rgba(58, 77, 101, 0.18);
  --primary:        #3d8fa4;
  --primary-glow:   rgba(61, 143, 164, 0.2);
  --secondary:      #2a3d55;
  --secondary-glow: rgba(42, 61, 85, 0.25);
  --text:           #0d1b2a;
  --text-muted:     #4e6478;
}

/* Toggle état light */
[data-theme="light"] .tt-track { background: var(--primary); }
[data-theme="light"] .tt-thumb { transform: translateX(15px); }
[data-theme="light"] .tt-moon  { opacity: 0.4; color: var(--text-muted); }
[data-theme="light"] .tt-sun   { opacity: 1; color: var(--primary); }
[data-theme="light"] .tt-wrap  { background: rgba(0, 0, 0, 0.06); }

/* Logo header */
[data-theme="light"] .logo-img--header {
  background: #ffffff;
  border-color: #ffffff;
}

/* Nav */
[data-theme="light"] #mainNav.scrolled {
  background: rgba(244, 247, 250, 0.92);
  border-bottom: 1px solid rgba(58, 77, 101, 0.15);
}

/* Hero bg */
[data-theme="light"] .hero-bg {
  background:
    linear-gradient(to bottom, #ffffff 0%, transparent 22%),
    radial-gradient(ellipse 100% 60% at 70% 10%, rgba(61, 143, 164, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 20% 30%, rgba(42, 61, 85, 0.1) 0%, transparent 50%);
}

/* Gradient text */
[data-theme="light"] .gradient-text {
  background: linear-gradient(to right, var(--primary), #1a9cba, var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
}

/* Glass */
[data-theme="light"] .glass { background: rgba(0, 0, 0, 0.02); }

/* Hero badge */
[data-theme="light"] .hero-badge { background: rgba(0, 0, 0, 0.05); }

/* Section label */
[data-theme="light"] .section-label { background: rgba(61, 143, 164, 0.12); }

/* Cards */
[data-theme="light"] .card-icon     { background: rgba(0, 0, 0, 0.04); }
[data-theme="light"] .wellness-card { background: rgba(0, 0, 0, 0.03); }
[data-theme="light"] .mini-challenge { background: rgba(0, 0, 0, 0.04); }

/* Card hovers */
[data-theme="light"] .card:hover           { box-shadow: 0 20px 40px rgba(0,0,0,0.12); }
[data-theme="light"] .prev-point:hover     { box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
[data-theme="light"] .programme-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.15); }
[data-theme="light"] .impact-card:hover    { box-shadow: 0 24px 48px rgba(0,0,0,0.12); }
[data-theme="light"] .temo:hover           { border-color: rgba(0,0,0,0.15); }

/* Prog tag */
[data-theme="light"] .prog-tag {
  background: rgba(61, 143, 164, 0.1);
  border-color: rgba(61, 143, 164, 0.2);
  color: var(--primary);
}

/* Checks / icônes */
[data-theme="light"] .impact-check,
[data-theme="light"] .cr-check,
[data-theme="light"] .cr-icon {
  background: rgba(61, 143, 164, 0.1);
  border-color: rgba(61, 143, 164, 0.2);
}

/* Forms */
[data-theme="light"] .mini-form input,
[data-theme="light"] .form-group input {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text);
}
[data-theme="light"] .mini-form input::placeholder,
[data-theme="light"] .form-group input::placeholder { color: rgba(0, 0, 0, 0.35); }
[data-theme="light"] .mini-form input:focus,
[data-theme="light"] .form-group input:focus { background: rgba(61, 143, 164, 0.04); }

/* Strips */
[data-theme="light"] .mini-form-strip {
  background: rgba(42, 61, 85, 0.06);
  border-color: rgba(42, 61, 85, 0.15);
}
[data-theme="light"] .mini-form-strip--alt {
  background: rgba(61, 143, 164, 0.05);
  border-color: rgba(61, 143, 164, 0.15);
}
[data-theme="light"] .prevention-strip { background: var(--bg-alt); }

/* SCA ring et progress */
[data-theme="light"] .sca-ring-bg        { stroke: rgba(0, 0, 0, 0.09); }
[data-theme="light"] .ring-bg            { stroke: rgba(0, 0, 0, 0.09); }
[data-theme="light"] .sca-progress-track { background: rgba(0, 0, 0, 0.08); }

/* Leaderboard */
[data-theme="light"] .lb-row     { background: rgba(0, 0, 0, 0.025); }
[data-theme="light"] .lb-bar     { background: rgba(0, 0, 0, 0.07); }
[data-theme="light"] .lb-bar-fill { background: rgba(61, 143, 164, 0.35); }

/* Challenges bar */
[data-theme="light"] .ch-bar { background: rgba(0, 0, 0, 0.08); }

/* CTA box */
[data-theme="light"] .cta-box {
  background: linear-gradient(135deg, rgba(42, 61, 85, 0.1), var(--bg));
}

/* Conviction banner */
[data-theme="light"] .conviction-banner {
  background: linear-gradient(135deg, rgba(42, 61, 85, 0.12), rgba(61, 143, 164, 0.06));
  border-color: rgba(58, 77, 101, 0.2);
}

/* Solution list */
[data-theme="light"] .solution-list li { color: var(--text); }
[data-theme="light"] .solution-list li::before { background: rgba(61, 143, 164, 0.12); }

/* Btn ghost */
[data-theme="light"] .btn-ghost { color: var(--text); }

/* Marche quote */
[data-theme="light"] .marche-quote { color: var(--text); }
