/* =========================================================
   BLACKLINE TAXI — STYLE GLOBAL (Premium Dark + Accents)
   Appeler: BLEU | Medical: VERT | Taxi: OR | WhatsApp: VERT
   ========================================================= */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #e5e7eb;
  background-color: #0b0c10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* =========================
   Header
   ========================= */
.site-header {
  background: #020617;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
  gap: 1rem;
}

.brand { display: flex; align-items: center; gap: 0.5rem; }

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: linear-gradient(135deg, #d4af37, #8a6f1a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0c10;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-title { font-weight: 800; color: #e5e7eb; letter-spacing: 0.02em; }
.brand-subtitle { font-size: 0.75rem; color: #9ca3af; }

/* =========================
   Nav
   ========================= */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.9rem;
  color: #e5e7eb;
}

.nav-links a { color: #e5e7eb; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }

.btn {
  border-radius: 9999px;
  padding: 0.5rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

/* ✅ APPELER = BLEU (partout) */
.btn-call { background: #2563eb; color: #ffffff; }
.btn-call:hover { background: #1d4ed8; }

/* ✅ WhatsApp = VERT */
.btn-wa {
  background: rgba(37, 211, 102, 0.12);
  color: #25D366;
  border-color: rgba(37, 211, 102, 0.25);
}
.btn-wa:hover { background: rgba(37, 211, 102, 0.2); }

.btn-outline {
  border-color: #4b5563;
  color: #e5e7eb;
  background: transparent;
}
.btn-outline:hover { border-color: #9ca3af; }

/* ✅ Medical = VERT (classe dédiée) */
.btn-medical { background:#22c55e; color:#06210f; }
.btn-medical:hover { background:#16a34a; }

/* ✅ Taxi = OR (classe dédiée si besoin) */
.btn-taxi { background:#d4af37; color:#0b0c10; }
.btn-taxi:hover { background:#b8942e; }

/* =========================
   Mobile nav
   ========================= */
.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  color: #d4af37 !important;
  font-size: 1.8rem;
  font-weight: 800;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: #020617;
    padding: 0.75rem 1.25rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    border-bottom: 1px solid #1f2937;
  }
  .nav-links.open { display: flex; }
  .nav-actions { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
  .nav-toggle { display: block; }
}

/* =========================
   Layout / Sections
   ========================= */
main { flex: 1; }
.section { padding: 2.5rem 0; }

.section-dark {
  background: radial-gradient(circle at top, #1f2937 0, #020617 45%, #000 100%);
}

.section-alt {
  background: #020617;
  border-top: 1px solid #111827;
}

.section-light {
  background: #020617;
  color: #e5e7eb;
  border-top: 1px solid #111827;
}

.section h1, .section h2 { margin-bottom: 1rem; }

.hero-kicker {
  font-size: 0.8rem;
  color: #d4af37;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: #f9fafb;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  color: #9ca3af;
  max-width: 620px;
  margin-bottom: 1.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}

/* =========================
   Content blocks
   ========================= */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .content-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Cards */
.card, .card-dark {
  border-radius: 1.25rem;
  padding: 1.5rem;
  border: 1px solid #111827;
  background: #020617;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.66);
}

.card h2 { font-size: 1.25rem; margin-bottom: 0.75rem; color: #f9fafb; }
.card p { font-size: 0.95rem; line-height: 1.6; color: #9ca3af; }

/* List */
.list-check { margin-top: 0.75rem; list-style: none; }
.list-check li {
  font-size: 0.95rem;
  color: #e5e7eb;
  display: flex;
  gap: 0.45rem;
  margin-bottom: 0.45rem;
}

/* Par défaut OR (utile sur pages non-medical) */
.list-check .icon,
.list-check span.icon { color: #d4af37 !important; font-weight: 900; }

/* ✅ Sur pages MEDICAL, puces en VERT */
body.medical .list-check .icon,
body.medical .list-check span.icon { color: #22c55e !important; }

/* =========================
   Forms (Dark)
   ========================= */
form { display: grid; gap: 0.75rem; }
label { font-size: 0.85rem; font-weight: 700; color: #e5e7eb; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="datetime-local"],
select,
textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid #374151;
  padding: 0.65rem 0.8rem;
  font-size: 0.95rem;
  background: #0b0c10;
  color: #f9fafb;
}

textarea { min-height: 100px; }
input::placeholder, textarea::placeholder { color: #9ca3af; }

input:focus, select:focus, textarea:focus {
  outline: 2px solid #d4af37;
  outline-offset: 1px;
  border-color: transparent;
}

.columns-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 640px) {
  .columns-2 { grid-template-columns: minmax(0, 1fr); }
}

/* =========================
   Footer
   ========================= */
.site-footer {
  background: #020617;
  border-top: 1px solid #111827;
  padding: 1.5rem 0 2rem;
  color: #6b7280;
  font-size: 0.85rem;
}

/* =========================
   Cookie banner
   ========================= */
#cookie-banner {
  position: fixed;
  bottom: 0.75rem;
  left: 0.5rem;
  right: 0.5rem;
  background: #020617f2;
  color: #e5e7eb;
  border-radius: 0.9rem;
  border: 1px solid #374151;
  padding: 0.75rem 1rem;
  display: none;
  z-index: 80;
}

#cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

#cookie-banner p {
  font-size: 0.8rem;
  color: #d1d5db;
  max-width: 520px;
}

.cookie-actions { display: flex; gap: 0.5rem; }

/* =========================
   Contextual themes
   ========================= */
body.medical main {
  background: radial-gradient(circle at top, rgba(34,197,94,0.16) 0, #020617 40%, #000 100%);
}

body.taxi main {
  background: radial-gradient(circle at top, rgba(212,175,55,0.18) 0, #020617 40%, #000 100%);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.18rem 0.55rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  border: 1px solid #374151;
  color: #9ca3af;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: #d4af37;
}

/* ✅ Badge-dot vert sur medical */
body.medical .badge-dot { background:#22c55e; }

/* Utilities */
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.text-sm { font-size: 0.85rem; }
.text-muted { color: #9ca3af; }

/* =========================
   Slider établissements
   ========================= */
.bl-slider {
  position: relative;
  max-width: 1100px;
  margin: 1.5rem auto;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid #111827;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.66);
}

.bl-slider-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.bl-slide { min-width: 100%; }

.bl-slide img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .bl-slide img { height: 260px; }
}

.bl-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.65);
  color: #d4af37;
  border: 1px solid rgba(212,175,55,0.35);
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  cursor: pointer;
  z-index: 10;
  font-size: 1.4rem;
  font-weight: 800;
}

.bl-slider-btn.prev { left: 14px; }
.bl-slider-btn.next { right: 14px; }
.bl-slider-btn:hover { background: rgba(0,0,0,0.85); }

.bl-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.bl-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(212,175,55,0.35);
  cursor: pointer;
}

.bl-dot.active { background: #d4af37; }

/* ✅ Sur MEDICAL: slider vert (chevrons + dot active) */
body.medical .bl-slider-btn{
  color:#22c55e;
  border-color: rgba(34,197,94,0.35);
}
body.medical .bl-dot{ border-color: rgba(34,197,94,0.35); }
body.medical .bl-dot.active{ background:#22c55e; }
/* =========================
   Couleurs univers
   ========================= */

/* ✅ Bouton Appeler (BLEU) */
.btn-call {
  background: #2563eb; /* bleu */
  color: #ffffff;
}
.btn-call:hover { background: #1d4ed8; }

/* ✅ Bouton médical (VERT) */
.btn-medical {
  background: #2ecc71;
  color: #0b0c10;
}
.btn-medical:hover { background: #27ae60; }

/* ✅ Bouton taxi (OR) */
.btn-taxi {
  background: #d4af37;
  color: #000;
}
.btn-taxi:hover { background: #b8942e; }

/* ✅ PUCES en VERT uniquement sur pages médicales */
body.medical .list-check .icon,
body.medical .list-check span.icon {
  color: #2ecc71 !important;
}