/* ============================================================
   MEDCYCLE MALI — Styles personnalisés (par-dessus Bootstrap 5)
   Couleurs : Teal #0F4C46 (primary), Or #C98A2B (accent), Crème #FAF7F0
   ============================================================ */

/* Variables Bootstrap overrides */
:root {
  --bs-primary:         #0F4C46;
  --bs-primary-rgb:     15, 76, 70;
  --bs-link-color:      #0F4C46;
  --mc-gold:            #C98A2B;
  --mc-gold-light:      #E3B05C;
  --mc-cream:           #FAF7F0;
  --mc-sand:            #EDE3CC;
  --mc-ink:             #16201E;
  --mc-ink-soft:        #4A5650;
  --mc-line:            #D9D2BD;
}

/* ---- Typographie globale ---- */
body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: var(--mc-ink);
  background: #fff;
}
.fw-500 { font-weight: 500; }
.section-title {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--bs-primary);
  letter-spacing: 0.02em;
}
.eyebrow-label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mc-gold);
  font-weight: 600;
  margin-bottom: 10px;
}

/* ---- Boutons ---- */
.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-primary:hover, .btn-primary:focus {
  background-color: #0A2E2A;
  border-color: #0A2E2A;
}
.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ---- Navbar ---- */
.navbar { border-bottom: 2px solid var(--mc-sand); }
.nav-link { color: var(--mc-ink) !important; font-size: 14.5px; padding: 8px 12px !important; }
.nav-link:hover { color: var(--bs-primary) !important; }

.logo-icon { flex-shrink: 0; }
.logo-main {
  font-size: 17px; font-weight: 800; color: var(--bs-primary);
  letter-spacing: 0.04em; line-height: 1;
}
.logo-sub {
  font-size: 17px; font-weight: 800; color: var(--mc-gold);
  margin-left: 3px; letter-spacing: 0.04em;
}
.logo-tagline {
  font-size: 10px; color: var(--mc-ink-soft);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1;
}

/* ---- Hero ---- */
.hero-section {
  position: relative;
  min-height: 480px;
  background: linear-gradient(135deg, var(--bs-primary) 0%, #0A2E2A 100%),
              url('../img/hero-bg.jpg') center/cover no-repeat;
  background-blend-mode: multiply;
  display: flex;
  align-items: center;
  padding: 80px 0;
  overflow: hidden;
}
.hero-section::after {
  content: "";
  position: absolute; right: -80px; bottom: -80px;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(250,247,240,0.08);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: 13px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--mc-gold-light);
  font-weight: 600; margin-bottom: 14px;
}
.hero-title {
  font-size: clamp(28px, 5vw, 50px);
  font-weight: 800; color: #fff; line-height: 1.1;
  margin-bottom: 16px;
}
.hero-subtitle { font-size: 17px; color: rgba(250,247,240,0.85); max-width: 440px; }

/* ---- Bandeau stats ---- */
.stats-band {
  background: var(--bs-primary);
  color: #fff;
}
.stat-item {
  display: flex; flex-direction: column;
  align-items: center; padding: 12px 8px;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-item strong { font-size: 22px; font-weight: 800; color: var(--mc-gold-light); }
.stat-item span { font-size: 12px; opacity: 0.78; letter-spacing: 0.03em; }

/* ---- Cards services (style Laborex) ---- */
.service-card {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  padding: 32px 24px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(15,76,70,.12); }
.service-card h5 { font-size: 16px; font-weight: 700; color: var(--bs-primary); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--mc-ink-soft); }
.service-card--promo { border-top: 4px solid var(--mc-gold); }
.service-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--mc-sand);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; color: var(--bs-primary);
}
.service-card--promo .service-icon { background: rgba(201,138,43,.15); color: var(--mc-gold); }
.service-link {
  font-size: 13px; font-weight: 600;
  color: var(--bs-primary);
  text-decoration: underline;
}
.service-link:hover { color: var(--mc-gold); }

/* ---- MEDCYCLE SCORE grid ---- */
.score-grid { display: flex; flex-direction: column; gap: 10px; }
.score-pill {
  display: grid;
  grid-template-columns: 80px 60px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
}
.score-label { font-weight: 700; font-size: 13px; letter-spacing: .06em; }
.score-pct { font-weight: 800; font-size: 20px; text-align: center; }
.score-range { color: inherit; opacity: .85; }
.score-action { font-size: 12px; font-weight: 600; text-align: right; opacity: .8; }

.score-vert   { background: rgba(63,167,150,.12);  color: #0F4C46; border-left: 5px solid #3FA796; }
.score-jaune  { background: rgba(232,179,61,.12);  color: #6B4C0A; border-left: 5px solid #E8B33D; }
.score-orange { background: rgba(224,121,46,.12);  color: #7A3210; border-left: 5px solid #E0792E; }
.score-rouge  { background: rgba(194,59,59,.12);   color: #7A0F0F; border-left: 5px solid #C23B3B; }
.score-expire { background: rgba(138,132,120,.12); color: #3D3A33; border-left: 5px solid #8A8478; }

@media (max-width: 576px) {
  .score-pill { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .score-range, .score-action { grid-column: 1 / -1; }
}

/* ---- Parcours ---- */
.parcours-card {
  background: #fff;
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  overflow: hidden;
}
.parcours-header {
  background: var(--bs-primary);
  color: #fff;
  padding: 16px 24px;
  font-size: 16px;
}
.parcours-header strong { font-weight: 700; }
.parcours-steps {
  list-style: none; padding: 24px; margin: 0;
  display: flex; flex-direction: column; gap: 16px;
}
.parcours-steps li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 14.5px; color: var(--mc-ink-soft);
}
.step-num {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--mc-sand);
  color: var(--bs-primary);
  font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.parcours-card .btn { margin: 0 24px 24px; }

/* ---- Footer ---- */
.footer-section { background: #0A2E2A; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links li, .footer-links a {
  font-size: 14px; color: rgba(250,247,240,0.7); text-decoration: none;
}
.footer-links a:hover { color: var(--mc-gold-light); }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .hero-section { min-height: 360px; padding: 60px 0; }
  .score-pill { grid-template-columns: 1fr 1fr; }
  .score-range, .score-action { display: none; }
}
