/* =======================================================
   SIHATI 24.DZ — STYLE.CSS COMPLET
   Version: 3.0 — Nettoyé · Corrigé · Unifié · WOW
   Support: FR · AR (RTL) · EN
   Auteur: Inovate Technology
======================================================= */

/* ═══════════════════════════════════════════════════════
   0. IMPORTS & VARIABLES
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,700&display=swap');

:root {
  --color-primary:   #0077b6;
  --color-secondary: #00b386;
  --color-accent:    #47CFFE;
  --color-teal:      #23bfb3;
  --color-bg:        #f4f9f9;
  --color-dark:      #1f2d2e;
  --color-white:     #ffffff;
  --color-muted:     #6b7c80;
  --color-danger:    #e74c3c;
  --color-guard:     #ff4757;

  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill:999px;

  --shadow-sm:  0 4px 12px rgba(0,0,0,.06);
  --shadow-md:  0 10px 30px rgba(0,0,0,.10);
  --shadow-lg:  0 20px 50px rgba(0,119,182,.18);
  --shadow-teal:0 12px 32px rgba(35,191,179,.30);

  --font-main: 'Nunito', 'Segoe UI', sans-serif;
  --font-ar:   'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  --transition: 0.3s cubic-bezier(.25,1,.5,1);
  --transition-bounce: 0.4s cubic-bezier(.175,.885,.32,1.275);
}

/* ═══════════════════════════════════════════════════════
   1. RESET & BASE
═══════════════════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background: var(--color-bg);
  color: var(--color-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }

/* ═══════════════════════════════════════════════════════
   2. RTL (ARABE) — BASE
═══════════════════════════════════════════════════════ */

[dir="rtl"] {
  font-family: var(--font-ar);
}

/* ═══════════════════════════════════════════════════════
   3. PRELOADER
═══════════════════════════════════════════════════════ */

#preloader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 40%, #fff 0%, #eef6f9 60%, #dff2ef 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100000;
  transition: opacity .8s ease, transform .8s ease;
}

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.loader-logo {
  width: 160px;
  height: auto;
  animation: loaderPulse 1.6s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0,179,134,.35));
}

.health-bar {
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-teal));
  border-radius: var(--radius-pill);
  animation: loadBar 2.4s ease-in-out forwards;
  box-shadow: 0 0 12px rgba(0,179,134,.5);
}

@keyframes loaderPulse {
  0%,100% { transform: scale(1);    filter: drop-shadow(0 0 12px rgba(0,179,134,.3)); }
  50%      { transform: scale(1.06); filter: drop-shadow(0 0 24px rgba(0,179,134,.6)); }
}
@keyframes loadBar {
  0%   { width: 0; }
  100% { width: 160px; }
}

/* ═══════════════════════════════════════════════════════
   4. HERO HEADER
═══════════════════════════════════════════════════════ */

.hero-header {
  width: 100%;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #fff 0%, #f7fefe 35%, #eefbfa 60%, #e3f5f3 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(38,166,154,.10), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(18,180,180,.10), transparent 45%);
  animation: bgFloat 22s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

@keyframes bgFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-35px); }
}

/* Section A — Hero principal */
.A {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 30px;
  gap: 16px;
  width: 100%;
  z-index: 1;
}

/* Aura blobs */
.aura-container {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.aura-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: .45;
  animation: floatAura 20s infinite alternate ease-in-out;
}

.aura-left {
  background: radial-gradient(circle, #23bfb3 0%, transparent 70%);
  top: -100px;
  left: -150px;
}

.aura-right {
  background: radial-gradient(circle, #a8e6e2 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation-delay: -5s;
}

.aura-particles {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.8) 1.5px, transparent 1.5px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 80%);
  opacity: .35;
}

@keyframes floatAura {
  0%   { transform: translate(0,0) scale(1) rotate(0deg); }
  50%  { transform: translate(50px,80px) scale(1.1) rotate(10deg); }
  100% { transform: translate(-30px,20px) scale(1) rotate(-5deg); }
}

/* Tout le contenu de .A passe au-dessus du fond */
.A > *:not(.aura-container) {
  position: relative;
  z-index: 10;
}

/* ═══════════════════════════════════════════════════════
   5. TITRE HERO
═══════════════════════════════════════════════════════ */

.CENTER_CONTENT {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 10px;
}

.P1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: var(--color-dark);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 14px;
}

.P1 span {
  display: inline;
  color: var(--color-teal);
  font-size: inherit;
  /* Effet shimmer sur le mot clé */
  background: linear-gradient(120deg, #23bfb3 30%, #47CFFE 60%, #23bfb3 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s linear infinite;
}

@keyframes shimmerText {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.PARA {
  font-size: clamp(.9rem, 2vw, 1.15rem);
  color: var(--color-muted);
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto;
  font-weight: 500;
}

.PARA strong {
  color: var(--color-dark);
  font-weight: 700;
}

/* ═══════════════════════════════════════════════════════
   6. HERO STATS (BADGES)
═══════════════════════════════════════════════════════ */

.hero-stats {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 6px 0 14px;
}

.hero-stats span {
  position: relative;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: .88rem;
  font-weight: 700;
  color: #0f3d3a;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(230,248,246,.88));
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 22px rgba(0,150,136,.16), inset 0 0 0 1px rgba(0,150,136,.14);
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: 0;
  animation: fadeInBadge .7s ease-out forwards, floatBadge 5s ease-in-out infinite;
}

.hero-stats span:nth-child(1) { animation-delay: .15s, 0s; }
.hero-stats span:nth-child(2) { animation-delay: .35s, .4s; }
.hero-stats span:nth-child(3) { animation-delay: .55s, .8s; }

.hero-stats span i { color: var(--color-teal); font-size: .8rem; }

.hero-stats span:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 28px rgba(0,150,136,.28);
}

@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}
@keyframes fadeInBadge {
  from { opacity: 0; transform: translateY(12px) scale(.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ═══════════════════════════════════════════════════════
   7. GRILLE DE RECHERCHE
═══════════════════════════════════════════════════════ */

.searsh-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  padding: 0 16px;
}

.SIDE_SEARCH {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

/* ═══════════════════════════════════════════════════════
   8. GLASS CARDS
═══════════════════════════════════════════════════════ */

.glass-card {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,.5);
  padding: 24px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  background-repeat: no-repeat !important;
  background-position: right center !important;
  background-size: cover !important;
}

.glass-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.glass-card form {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 280px;
}

/* Garde urgence — glow animé */
.urgent-glow {
  border: 2px solid rgba(231,76,60,.35) !important;
  animation: urgentBreath 4s infinite ease-in-out !important;
}

.urgent-glow::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 9px;
  height: 9px;
  background: var(--color-guard);
  border-radius: 50%;
  animation: dotBeat 1.5s infinite;
  z-index: 20;
}

.urgent-glow .icon-pharma {
  animation: iconMorph 4s infinite ease-in-out;
}

@keyframes urgentBreath {
  0%,100% { box-shadow: 0 8px 32px rgba(31,38,135,.08); border-color: rgba(231,76,60,.2); }
  50%      { box-shadow: 0 0 10px rgba(231,76,60,.2), 0 0 28px rgba(231,76,60,.12), 0 8px 32px rgba(231,76,60,.18); border-color: rgba(231,76,60,.7); }
}
@keyframes dotBeat {
  0%   { transform: scale(.95); opacity: .8; }
  70%  { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(.95); opacity: 0; }
}
@keyframes iconMorph {
  0%,100% { color: var(--color-secondary); transform: scale(1);    filter: none; }
  50%      { color: var(--color-danger);   transform: scale(1.15); filter: drop-shadow(0 0 5px rgba(231,76,60,.6)); }
}

/* ═══════════════════════════════════════════════════════
   9. CARD HEADER
═══════════════════════════════════════════════════════ */

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.card-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.icon-pharma { color: var(--color-primary); font-size: 1.5rem; }
.icon-soins  { color: var(--color-teal);    font-size: 1.5rem; }

/* ═══════════════════════════════════════════════════════
   10. OPTION SELECTOR (RADIOS)
═══════════════════════════════════════════════════════ */

.option-selector {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}

.option-selector::-webkit-scrollbar { display: none; }

.option-selector input[type="radio"] { display: none; }

.option-selector label {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: rgba(241,243,245,.85);
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-weight: 700;
  font-size: .85rem;
  color: #636e72;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  box-shadow: 2px 2px 6px rgba(0,0,0,.08), -2px -2px 6px rgba(255,255,255,.6);
}

.option-selector label:hover {
  background: linear-gradient(145deg, #e0f2f2, #bfe8e8);
  color: var(--color-dark);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 4px 4px 12px rgba(0,0,0,.15), -4px -4px 12px rgba(255,255,255,.4);
}

.filtres-pharmacie input[type="radio"]:checked + label {
  background: linear-gradient(135deg, #0077b6, #005f8d);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0,119,182,.35);
}

.filtres-pro input[type="radio"]:checked + label {
  background: linear-gradient(135deg, #26a69a, #00897b);
  color: #fff;
  box-shadow: 0 4px 14px rgba(38,166,154,.35);
}

/* ═══════════════════════════════════════════════════════
   11. BARRE DE RECHERCHE
═══════════════════════════════════════════════════════ */

.search-bar-modern {
  display: flex;
  align-items: center;
  background: linear-gradient(270deg, rgba(235,247,246,.85) 0%, rgba(248,250,251,.95) 100%);
  border: 1.5px solid rgba(35,191,179,.18);
  border-radius: var(--radius-md);
  padding: 5px 5px 5px 14px;
  max-width: 280px;
  transition: all var(--transition);
  box-shadow: inset 0 2px 4px rgba(0,0,0,.03), 0 4px 12px rgba(35,191,179,.06);
}

.search-bar-modern:focus-within {
  background: #fff;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 4px rgba(35,191,179,.14);
  transform: translateY(-1px);
}

.search-bar-modern input {
  border: none;
  background: transparent;
  outline: none;
  flex: 1;
  font-size: .87rem;
  font-family: inherit;
  color: var(--color-dark);
}

.search-bar-modern input::placeholder { color: #b2bec3; }

.btn-search {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: none;
  background: linear-gradient(135deg, var(--color-primary), #005f8d);
  color: #fff;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-search:hover {
  transform: scale(1.08) rotate(4deg);
  filter: brightness(1.1);
}

.btn-soins-color {
  background: linear-gradient(135deg, #26a69a, #00897b) !important;
}

/* ═══════════════════════════════════════════════════════
   12. EMERGENCY BANNER
═══════════════════════════════════════════════════════ */

.emergency-banner {
  width: 90%;
  max-width: 1000px;
  margin: -80px auto 0;
  background: linear-gradient(270deg, rgba(35,191,179,.12) 0%, rgba(226,248,246,.97) 30%, rgba(255,255,255,.99) 100%);
  backdrop-filter: blur(25px) saturate(200%);
  border: 2px solid rgba(255,255,255,.95);
  outline: 1px solid rgba(35,191,179,.18);
  border-radius: 32px;
  padding: 10px 12px 10px 36px;
  position: relative;
  z-index: 100;
  box-shadow:
    0 30px 60px -12px rgba(35,191,179,.35),
    0 18px 36px -18px rgba(0,0,0,.22),
    0 0 15px rgba(255,255,255,.8),
    inset 0 6px 10px rgba(255,255,255,1),
    inset 0 -8px 18px rgba(35,191,179,.18);
  transition: all .5s cubic-bezier(.23,1,.32,1);
}

.emergency-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 16px;
}

.emergency-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.emergency-text {
  font-size: 1.1rem;
  color: #556062;
  font-weight: 600;
}

.emergency-button {
  background: linear-gradient(135deg, #23bfb3 0%, #179189 100%) !important;
  border: 1.5px solid rgba(255,255,255,.45) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 32px !important;
  font-weight: 800 !important;
  font-size: .95rem;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(35,191,179,.45), inset 0 -3px 0 rgba(0,0,0,.12) !important;
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.emergency-button:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 28px rgba(35,191,179,.55) !important;
  filter: brightness(1.06);
}

/* Sirène SVG */
.siren-wrapper {
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.real-siren-svg { transform: scale(.9); filter: drop-shadow(0 0 5px rgba(255,71,87,.4)); }

.siren-rays line {
  animation: flashRays .8s infinite;
}
.siren-rays line:nth-child(2) { animation-delay: .1s; }
.siren-rays line:nth-child(3) { animation-delay: .2s; }
.siren-rays line:nth-child(4) { animation-delay: .3s; }
.siren-rays line:nth-child(5) { animation-delay: .4s; }

@keyframes flashRays {
  0%,100% { opacity: 0; }
  50%      { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   13. CARTE LEAFLET
═══════════════════════════════════════════════════════ */

#map {
  width: 100%;
  height: 82vh;
  margin: 24px 0 0;
  border-radius: var(--radius-xl);
  border: 8px solid #fff;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  animation: mapFadeIn 1.2s ease-out forwards;
  transition: transform var(--transition), filter var(--transition);
}

#map:hover {
  transform: translateY(-6px) scale(1.004);
  filter: saturate(1.4) contrast(1.05);
  box-shadow: 0 30px 70px rgba(0,119,182,.22);
}

@keyframes mapFadeIn {
  from { opacity: 0; transform: translateY(24px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Message carte */
#map-message {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-pill);
  padding: 10px 24px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--color-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  text-align: center;
  margin: -8px auto 8px;
  max-width: 480px;
  border: 1px solid rgba(0,119,182,.1);
  animation: fadeInDown .4s ease;
  position: relative;
  z-index: 10;
  display: none;
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   14. MARQUEURS & POPUPS CARTE
═══════════════════════════════════════════════════════ */

.modern-marker {
  background: none;
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.marker-icon-img {
  width: clamp(30px, 8vw, 40px);
  height: clamp(30px, 8vw, 40px);
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,.25));
  transition: transform .2s ease;
}

/* Anneaux de pulsation */
.pulse-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: ringPulse 2s infinite;
}

.pulse-green  { background: rgba(0,150,136,.5); }
.pulse-red    { background: rgba(220,53,69,.55); animation-duration: 1.4s; }
.pulse-blue   { background: rgba(30,144,255,.5); }
.pulse-teal   { background: rgba(35,191,179,.5); }
.pulse-orange { background: rgba(230,126,34,.5); }

@keyframes ringPulse {
  0%   { transform: scale(1); opacity: .8; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Utilisateur GPS */
.user-marker-pulse .pulse-user {
  width: 14px;
  height: 14px;
  background: #007bff;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 rgba(0,123,255,.6);
  animation: userPulse 1.5s infinite;
}

@keyframes userPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,123,255,.6); }
  100% { box-shadow: 0 0 0 18px rgba(0,123,255,0); }
}

/* Flèche navigation */
.nav-arrow-container { background: none !important; border: none !important; }
.nav-arrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
}
.nav-arrow i {
  font-size: 30px;
  color: #1a73e8;
  text-shadow: 0 0 5px rgba(0,0,0,.3);
  transform: rotate(-45deg);
}

/* ─── POPUP PREMIUM ─── */
.wow-popup .leaflet-popup-content-wrapper {
  background: transparent;
  box-shadow: none;
  padding: 0;
}
.wow-popup .leaflet-popup-content { margin: 0; }
.wow-popup .leaflet-popup-tip-container { display: none; }

.popup-card-modern {
  width: 275px;
  background: rgba(255,255,255,.98);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #eef2f5;
  box-shadow: 0 15px 40px rgba(0,0,0,.16);
  font-family: var(--font-main);
  animation: popupFade .3s ease-out;
}

@keyframes popupFade {
  from { transform: translateY(10px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.pop-header {
  display: flex;
  gap: 12px;
  padding: 14px;
  align-items: center;
  background: #fcfdfe;
  border-bottom: 1px solid #f1f3f5;
}

.pop-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.06);
}

.pop-title-wrap h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  color: #2d3436;
  text-transform: uppercase;
  line-height: 1.2;
}

.pop-spec {
  font-size: 11px;
  font-weight: 600;
  display: block;
  margin-top: 3px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}
.live-dot.online  { background: #2ecc71; animation: dotGreen 1.5s infinite; }
.live-dot.offline { background: #95a5a6; }

@keyframes dotGreen {
  0%   { box-shadow: 0 0 0 0 rgba(46,204,113,.7); }
  70%  { box-shadow: 0 0 0 6px rgba(46,204,113,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,204,113,0); }
}

/* Boutons popup */
.btn-pop-call, .btn-pop-route, .btn-pop-urgence, .btn-pop-rdv {
  height: 40px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s ease;
  width: 100%;
}

.btn-pop-call     { background: linear-gradient(135deg, #00b894, #00cec9); color: #fff; animation: heartBeat 2.5s infinite; }
.btn-pop-route    { background: linear-gradient(135deg, #2d3436, #636e72); color: #fff; }
.btn-pop-urgence  { background: linear-gradient(135deg, #ff416c, #ff4b2b); color: #fff; }
.btn-pop-rdv      { background: #f1f3f5; color: #2d3436; border: 1px solid #dfe6e9; }

.btn-pop-call:hover, .btn-pop-route:hover, .btn-pop-urgence:hover, .btn-pop-rdv:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 5px 15px rgba(0,0,0,.12);
}

.btn-pop-call.btn-disabled {
  background: #f1f2f6 !important;
  color: #b2bec3 !important;
  cursor: not-allowed !important;
  animation: none !important;
}

@keyframes heartBeat {
  0%,80%,100% { transform: scale(1); }
  85%  { transform: scale(1.03); }
  90%  { transform: scale(1); }
  95%  { transform: scale(1.03); }
}

.pop-body { padding: 12px; }

/* ═══════════════════════════════════════════════════════
   15. LÉGENDE CARTE
═══════════════════════════════════════════════════════ */

.legend-control-container { position: relative; }

.info.legend {
  background: #fff;
  padding: 18px 20px;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,.18);
  font-family: var(--font-main);
  font-size: 13px;
  width: 240px;
  border: 1px solid rgba(0,0,0,.08);
  transition: all .35s ease;
  color: #333;
}

.info.legend h4 {
  margin: 0 0 13px;
  font-size: 16px;
  font-weight: 800;
  color: #222;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 7px;
}

.legend-item {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 9px;
  transition: all .3s ease;
}

.legend-item:hover {
  background: rgba(0,150,136,.07);
  transform: translateX(6px);
}

.legend-icon {
  width: 28px;
  height: 28px;
  margin-right: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.btn-toggle-legend { display: none; }

/* ═══════════════════════════════════════════════════════
   16. BOUTON "AUTOUR DE MOI"
═══════════════════════════════════════════════════════ */

.btn-around {
  background: linear-gradient(135deg, #009688, #00c9b7) !important;
  color: #fff !important;
  padding: 13px 22px !important;
  border-radius: var(--radius-pill) !important;
  border: 3px solid rgba(255,255,255,.8) !important;
  font-weight: 800 !important;
  font-size: 14px !important;
  box-shadow: 0 10px 22px rgba(0,150,136,.28) !important;
  cursor: pointer !important;
  transition: all var(--transition-bounce) !important;
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.btn-around:hover {
  transform: translateY(-4px) scale(1.04) !important;
  box-shadow: 0 16px 28px rgba(0,150,136,.40) !important;
}

/* ═══════════════════════════════════════════════════════
   17. GPS NAVIGATION UI
═══════════════════════════════════════════════════════ */

#gps-ui {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10000;
}

.next-instruction {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a73e8;
  color: #fff;
  padding: 18px 22px;
  border-radius: 14px;
  width: 90%;
  max-width: 500px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  pointer-events: auto;
}

.instruction-icon { font-size: 1.4rem; }

.bottom-panel {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 20px 24px;
  border-radius: 24px 24px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: auto;
  box-shadow: 0 -5px 22px rgba(0,0,0,.1);
}

.stats { display: flex; gap: 28px; }
.stat-item { text-align: center; font-weight: 800; font-size: 22px; color: #333; }
.stat-item small { display: block; font-size: 10px; font-weight: 600; color: #888; text-transform: uppercase; }

.btn-quit {
  background: var(--color-danger);
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  letter-spacing: .5px;
  transition: var(--transition);
}
.btn-quit:hover { filter: brightness(1.1); transform: scale(1.04); }

/* Arrivée */
.arrival-box {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.arrival-card {
  background: #fff;
  border-radius: 24px;
  padding: 30px;
  width: 320px;
  text-align: center;
  animation: popArrival .5s cubic-bezier(.175,.885,.32,1.275);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

.arrival-icon { font-size: 52px; margin-bottom: 12px; }
.arrival-card h3 { color: var(--color-secondary); margin-bottom: 10px; font-size: 1.3rem; }
.arrival-card p  { font-size: .95rem; color: #555; line-height: 1.6; }
.arrival-card button {
  margin-top: 18px;
  background: linear-gradient(135deg, var(--color-secondary), #00796b);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: .95rem;
  transition: var(--transition);
}
.arrival-card button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,150,136,.35); }

@keyframes popArrival {
  from { transform: scale(.82); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

/* ═══════════════════════════════════════════════════════
   18. TITRE DE SECTION COMMUN
═══════════════════════════════════════════════════════ */

.voir {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--color-primary);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  margin-bottom: 3.5rem;
  font-family: var(--font-main);
  animation: fadeDown .9s ease-out both;
}

.voir::after {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-teal));
  border-radius: var(--radius-pill);
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════
   19. SLIDERS (PHARMACIES + PARAPHARMACIES)
═══════════════════════════════════════════════════════ */

.bloc {
  width: 100%;
  max-width: 1400px;
  margin: 4.5rem auto;
  overflow: hidden;
  text-align: center;
  padding: 0 10px;
}

.RECHERCHE {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0 32px;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 4%, black 96%, transparent 100%);
}

.slide-track {
  display: flex;
  gap: 20px;
  padding: 8px 14px;
  transition: transform .6s cubic-bezier(.25,1,.5,1);
}

/* Carte slide */
.slide {
  flex: 0 0 340px;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(0,0,0,.08);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid rgba(0,0,0,.04);
}

.slide:hover {
  transform: translateY(-9px) scale(1.01);
  box-shadow: 0 18px 42px rgba(0,119,182,.14);
}

/* Image conteneur */
.img-container,
.slide .img-container {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.img-container img,
.slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}

.slide:hover .img-container img,
.slide:hover img { transform: scale(1.07); }

/* Contenu slide */
.slide-content {
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  flex: 1 !important;
  gap: 6px !important;
}

.brise {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
}

.bordj {
  font-size: .9rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0;
}

/* Zone boutons slide */
.ecriture1 {
  display: flex !important;
  flex-direction: row !important;
  gap: 10px !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  align-items: center !important;
  width: 100% !important;
}

/* Bouton itinéraire */
.ecriture1 .itineraire-btn {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  padding: 12px 8px !important;
  background: linear-gradient(135deg, var(--color-primary), #005f8d) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  font-size: .87rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 44px !important;
  white-space: nowrap !important;
  transition: all var(--transition) !important;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.ecriture1 .itineraire-btn:hover {
  background: linear-gradient(135deg, var(--color-secondary), #009688) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(0,179,134,.35) !important;
}

/* Bouton appel */
.ecriture1 .call-btn {
  flex: 0 0 44px !important;
  width: 44px !important;
  height: 44px !important;
  background: linear-gradient(135deg, var(--color-secondary), #009688) !important;
  color: #fff !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1rem !important;
  text-decoration: none !important;
  transition: all var(--transition) !important;
  border: none !important;
}

.ecriture1 .call-btn:hover {
  background: linear-gradient(135deg, #009688, #00796b) !important;
  transform: scale(1.1) rotate(8deg) !important;
  box-shadow: 0 8px 18px rgba(0,150,136,.42) !important;
}

/* Badge parapharmacie */
.PARAPHARMACIES .slide::after {
  content: '✦';
  position: absolute;
  top: 11px;
  right: 11px;
  background: rgba(155,89,182,.88);
  color: #fff;
  font-size: 10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

/* Dots pagination */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding-bottom: 8px;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: all .35s ease;
  border: none;
  padding: 0;
}

.slider-dot.active {
  width: 26px;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

/* No data */
.no-data {
  padding: 40px;
  text-align: center;
  color: var(--color-muted);
  font-size: 1rem;
}

/* ═══════════════════════════════════════════════════════
   20. SECTION SERVICES
═══════════════════════════════════════════════════════ */

.services {
  padding: 80px 0;
  background: var(--color-bg);
}

.bigbox {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: stretch;
}

.box1 {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.04);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-bounce);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.box1 > div {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 24px;
}

.imgordo {
  width: 100% !important;
  height: 200px !important;
  object-fit: cover !important;
  transition: transform .6s ease;
  border-bottom: 1px solid rgba(0,0,0,.04);
  display: block;
}

.envoyer {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--color-dark);
  padding: 20px 20px 8px;
  margin: 0;
  line-height: 1.3;
  text-align: left;
}

.direct {
  font-size: .95rem;
  color: #636e72;
  padding: 0 20px 24px;
  line-height: 1.65;
  text-align: left;
  flex-grow: 1;
  margin: 0;
}

.box1:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 45px rgba(0,119,182,.15);
  border-color: rgba(0,119,182,.25);
}

.box1:hover .imgordo { transform: scale(1.08); }
.box1:hover .envoyer { color: var(--color-primary); }

/* ═══════════════════════════════════════════════════════
   21. CTA PROFESSIONNEL (FLOTTANT)
═══════════════════════════════════════════════════════ */

.cta-professionnel {
  position: fixed;
  top: 350px;
  right: 28px;
  background: rgba(255,255,255,.18) !important;
  backdrop-filter: blur(22px) saturate(180%) brightness(1.1);
  -webkit-backdrop-filter: blur(22px) saturate(180%) brightness(1.1);
  border-radius: var(--radius-pill);
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.45) !important;
  box-shadow: 0 12px 32px rgba(35,191,179,.14), inset 0 0 14px rgba(255,255,255,.22);
  z-index: 2000;
  transition: all var(--transition-bounce);
  max-width: 500px;
  animation: slideInCta 1s ease-out, floatCta 5s ease-in-out infinite 1s;
}

.cta-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-title {
  font-weight: 900;
  color: #2874ce;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -.4px;
}

.cta-desc {
  font-size: .88rem;
  color: #475569;
  margin: 0;
  font-weight: 600;
}

.cta-btn {
  background: #2874ce !important;
  color: #fff !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;
  box-shadow: 0 5px 16px rgba(40,116,206,.32);
  transition: var(--transition);
  display: inline-block;
}

.cta-btn:hover { transform: scale(1.04) translateY(-2px); filter: brightness(1.08); }

.cta-close {
  position: absolute;
  top: -7px;
  right: 14px;
  background: var(--color-danger);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: .9rem;
  font-weight: bold;
  line-height: 22px;
  cursor: pointer;
  transition: var(--transition);
}
.cta-close:hover { transform: scale(1.1) rotate(90deg); }

/* Calendrier animé */
.calendar-animated {
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 5px 16px rgba(0,0,0,.1);
  border: 2px solid #2874ce;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  animation: calBounce 3s infinite ease-in-out;
}

.cal-top {
  height: 15px;
  background: #ff5722;
  width: 100%;
  position: relative;
}

.cal-top::after, .cal-top::before {
  content: '';
  position: absolute;
  top: -5px;
  width: 6px;
  height: 10px;
  background: #333;
  border-radius: 3px;
}
.cal-top::before { left: 8px; }
.cal-top::after  { right: 8px; }

.cal-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.cal-number {
  font-size: 18px;
  font-weight: 900;
  color: #333;
}

@keyframes calBounce {
  0%,100% { transform: translateY(0) rotate(0deg); }
  10%      { transform: translateY(-8px) rotate(-5deg); }
  20%      { transform: translateY(0) rotate(5deg); }
  30%      { transform: translateY(-4px) rotate(0); }
}

@keyframes slideInCta {
  from { opacity: 0; transform: translateX(100px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes floatCta {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════════════════════
   22. BOUTON LATÉRAL GAUCHE (ESPACE PRO)
═══════════════════════════════════════════════════════ */

.side-pro-btn-left {
  position: fixed !important;
  top: 50% !important;
  left: 0 !important;
  right: auto !important;
  transform: translateY(-50%);
  background: linear-gradient(135deg, var(--color-primary), #005f8d);
  color: #fff !important;
  text-decoration: none !important;
  z-index: 9999;
  transition: all var(--transition-bounce);
  display: flex !important;
  align-items: center;
  width: 65px;
  height: 65px;
  border-radius: 0 35px 35px 0;
  overflow: hidden;
  cursor: pointer;
  animation: pulseGlowLeft 2.5s infinite;
  box-shadow: 5px 5px 22px rgba(0,0,0,.14);
}

.side-pro-content {
  display: flex;
  align-items: center;
  padding-left: 16px;
}

.side-pro-btn-left i {
  font-size: 1.55rem;
  min-width: 30px;
  text-align: center;
}

.side-pro-btn-left span {
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  margin-left: 18px;
  transition: opacity .3s ease;
  color: #fff;
  font-size: .9rem;
}

@keyframes pulseGlowLeft {
  0%   { box-shadow: 0 0 0 0 rgba(0,179,134,.55); }
  70%  { box-shadow: 0 0 0 14px rgba(0,179,134,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,179,134,0); }
}

/* ═══════════════════════════════════════════════════════
   23. SECTION ARTICLES
═══════════════════════════════════════════════════════ */

.artcl {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
  padding: 4rem 0;
  background: #fff;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  padding: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.article-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  transition: all var(--transition-bounce);
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 22px 42px rgba(0,150,136,.15);
  border-color: var(--color-secondary);
}

.article-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}

.article-card:hover .article-image img { transform: scale(1.1); }

.category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(0,150,136,.9);
  color: #fff;
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  backdrop-filter: blur(4px);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-body h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #2c3e50;
  font-weight: 800;
  line-height: 1.35;
}

.article-body p {
  color: #7f8c8d;
  font-size: .92rem;
  line-height: 1.6;
  margin-bottom: 18px;
}

.btn-read-more {
  margin-top: auto;
  color: var(--color-secondary);
  font-weight: 800;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--transition);
}

.btn-read-more::after { content: '→'; transition: transform var(--transition); }
.btn-read-more:hover { color: #00796b; }
.btn-read-more:hover::after { transform: translateX(5px); }

/* ═══════════════════════════════════════════════════════
   24. SECTION À PROPOS
═══════════════════════════════════════════════════════ */

.apropos {
  padding: 8% 10%;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.apropos::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,179,134,.08) 0%, transparent 70%);
  pointer-events: none;
}

.rose {
  display: flex;
  align-items: center;
  gap: 56px;
  max-width: 1280px;
  margin: 0 auto;
  animation: fadeUp 1.1s ease-out both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.content-text { flex: 1.3; z-index: 2; text-align: left; }

.brand-title {
  font-size: 1.9rem;
  color: #2d3436;
  margin-bottom: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.article {
  font-size: 1.1rem;
  line-height: 1.82;
  color: #636e72;
  margin-bottom: 2.5rem;
  background: rgba(255,255,255,.8);
  padding: 1.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.article:hover { transform: translateY(-6px); box-shadow: 0 14px 32px rgba(0,179,134,.18); }

.btn-container { display: inline-block; }

.btn-moderne {
  padding: 15px 38px;
  background: linear-gradient(135deg, var(--color-primary), #005f8d);
  color: #fff;
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition-bounce);
  box-shadow: 0 10px 22px rgba(0,119,182,.22);
}

.btn-moderne:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(0,119,182,.32);
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

/* Logos showcase */
.logos-showcase {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fdff;
  padding: 46px 28px;
  border-radius: 36px;
  border: 1px solid rgba(0,119,182,.06);
  box-shadow: inset 0 0 28px rgba(0,0,0,.02);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 22px;
}

.box-logo {
  background: #fff;
  padding: 24px 14px;
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all var(--transition-bounce);
  width: 155px;
  border-bottom: 5px solid transparent;
}

.box-logo img { width: 100%; height: 86px; object-fit: contain; margin-bottom: 12px; }
.box-logo span { font-size: .68rem; text-transform: uppercase; letter-spacing: 1.5px; color: #a0aec0; font-weight: 800; }
.box-logo.creator { border-color: var(--color-secondary); }
.box-logo.product  { border-color: var(--color-primary); }
.box-logo:hover { transform: translateY(-10px) scale(1.04); }

.connection-line {
  color: var(--color-primary);
  font-size: 1.3rem;
  animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
  0%,100% { transform: translateX(0); opacity: .4; }
  50%      { transform: translateX(8px); opacity: 1; }
}

.tech-badge {
  background: rgba(0,119,182,.04);
  color: var(--color-primary);
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  font-size: .78rem;
  font-weight: 800;
  border: 1px dashed rgba(0,119,182,.28);
  text-transform: uppercase;
  letter-spacing: .9px;
}

/* ═══════════════════════════════════════════════════════
   25. MESSAGE SUPPRESSION ARTICLE
═══════════════════════════════════════════════════════ */

div[style*="background-color: #f8d7da"] {
  border-radius: 12px !important;
  margin: 20px auto !important;
  max-width: 1200px !important;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════
   26. RTL — AJUSTEMENTS GLOBAUX
═══════════════════════════════════════════════════════ */

[dir="rtl"] .btn-pro-modern i { margin-right: 0; margin-left: 12px; }
[dir="rtl"] .search-bar-modern { flex-direction: row-reverse; }
[dir="rtl"] .search-bar-modern input { text-align: right; padding-right: 14px; padding-left: 4px; }
[dir="rtl"] .card-header { flex-direction: row-reverse; }
[dir="rtl"] .option-selector { flex-direction: row; justify-content: flex-start; }
[dir="rtl"] .option-selector label { margin: 0 !important; text-align: center; }
[dir="rtl"] .btn-search { border-radius: 10px 0 0 10px !important; }
[dir="rtl"] .glass-card form { max-width: 100% !important; }
[dir="rtl"] .icon-pharma { margin-left: 10px; margin-right: 0; }

/* Carte Leaflet RTL */
[dir="rtl"] .leaflet-right { right: auto !important; left: 10px !important; }
[dir="rtl"] .leaflet-left  { left: auto !important; right: 10px !important; }
[dir="rtl"] .leaflet-popup-content { text-align: right; direction: rtl; }

/* Slides RTL */
[dir="rtl"] .RECHERCHE {
  -webkit-mask-image: linear-gradient(to left, transparent 0%, black 4%, black 96%, transparent 100%);
  mask-image: linear-gradient(to left, transparent 0%, black 4%, black 96%, transparent 100%);
}
[dir="rtl"] .slide-track { direction: ltr; }
[dir="rtl"] .slide { direction: rtl; text-align: right; }
[dir="rtl"] .brise, [dir="rtl"] .bordj { text-align: right !important; direction: rtl; }
[dir="rtl"] .ecriture1 { flex-direction: row-reverse !important; }
[dir="rtl"] .PARAPHARMACIES .slide::after { right: auto; left: 11px; }

/* Services RTL */
[dir="rtl"] .bigbox { direction: rtl; }
[dir="rtl"] .envoyer { text-align: right; font-size: 1.35rem; line-height: 1.55; }
[dir="rtl"] .direct  { text-align: right; line-height: 1.75; }
[dir="rtl"] .box1    { text-align: right; }

/* CTA RTL */
[dir="rtl"] .cta-professionnel { right: 28px !important; left: auto !important; direction: rtl; }
[dir="rtl"] .cta-text { text-align: right; }

/* À propos RTL */
[dir="rtl"] .rose { flex-direction: row-reverse; }
[dir="rtl"] .content-text { text-align: right; }
[dir="rtl"] .logo-wrapper { flex-direction: row-reverse; }
[dir="rtl"] .connection-line i { transform: rotate(180deg); }

/* Hero RTL */
[dir="rtl"] .P1 { direction: rtl; }
[dir="rtl"] .emergency-content { flex-direction: row-reverse; }
[dir="rtl"] .side-pro-btn-left { left: 0 !important; right: auto !important; border-radius: 0 35px 35px 0 !important; }

/* Légende RTL */
[dir="rtl"] .info.legend { text-align: right; direction: rtl; }
[dir="rtl"] .legend-icon { margin-right: 0; margin-left: 12px; }

/* ═══════════════════════════════════════════════════════
   27. RESPONSIVE — BREAKPOINTS UNIFIÉS
═══════════════════════════════════════════════════════ */

/* ── Large Desktop ── */
@media (min-width: 1025px) {
  .side-pro-btn-left:hover {
    width: 300px !important;
    background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  }
  .side-pro-btn-left:hover span { opacity: 1; }
}

/* ── Tablette Landscape (≤ 1100px) ── */
@media (max-width: 1100px) {
  .searsh-grid {
    flex-direction: column !important;
    align-items: center !important;
    gap: 18px !important;
    width: 100% !important;
    padding: 0 16px !important;
  }
  .SIDE_SEARCH {
    width: 100% !important;
    max-width: 520px !important;
    flex: none !important;
  }
  .glass-card { background-position: right center !important; }
  [dir="rtl"] .rose, .rose { gap: 32px; }
}

/* ── Tablette (≤ 1024px) ── */
@media (max-width: 1024px) {
  .bigbox { grid-template-columns: repeat(2, 1fr) !important; gap: 20px !important; padding: 0 18px !important; }
  .rose { flex-direction: column; gap: 36px; }
  .content-text { text-align: center; }
  .logos-showcase { width: 100%; padding: 28px 14px; }
  .logo-wrapper { gap: 14px; }
  .box-logo { width: 140px; }
  [dir="rtl"] .rose { flex-direction: column !important; }
  [dir="rtl"] .content-text { text-align: center !important; }
}

/* ── Mobile Large (≤ 860px) ── */
@media (max-width: 860px) {
  .P1 { font-size: 2.3rem !important; white-space: normal !important; flex-wrap: wrap !important; justify-content: center; gap: 6px !important; }
  .P1 span { font-size: 2.3rem !important; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {
  .A { padding: 28px 14px 20px; gap: 12px; }
  .PARA { font-size: .93rem !important; padding: 0 10px !important; }

  .glass-card {
    padding: 18px !important;
    border-radius: 20px !important;
    background-position: 115% center !important;
    background-size: 55% auto !important;
    min-height: auto !important;
  }
  .glass-card form { max-width: 100% !important; position: relative; z-index: 20; }
  .option-selector { overflow-x: auto !important; flex-wrap: nowrap !important; }
  .option-selector label { flex-shrink: 0 !important; font-size: .83rem !important; padding: 8px 14px !important; }
  .search-bar-modern { max-width: 100% !important; }

  .emergency-banner {
    width: calc(100% - 28px) !important;
    margin: 12px auto !important;
    padding: 14px 16px !important;
    border-radius: 22px !important;
  }
  .emergency-content { flex-direction: column !important; align-items: stretch !important; gap: 13px !important; }
  .emergency-left { justify-content: center !important; }
  .emergency-text { font-size: .95rem !important; text-align: center !important; }
  .emergency-button { width: 100% !important; justify-content: center !important; padding: 13px !important; font-size: .93rem !important; }
  [dir="rtl"] .emergency-content { flex-direction: column !important; }

  #map { height: 68vh; border-radius: 20px; border-width: 5px; }

  .slide { flex: 0 0 82vw; max-width: 320px; }
  .img-container, .slide img { height: 170px !important; }
  .brise { font-size: 1.08rem; }

  .articles-grid { grid-template-columns: 1fr !important; padding: 0 14px !important; gap: 18px !important; }
  .article-image { height: 178px !important; }

  .cta-professionnel {
    position: fixed !important;
    top: auto !important;
    bottom: 22px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    padding: 13px 16px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.97) !important;
    z-index: 10000 !important;
  }
  .cta-content { flex-direction: row !important; justify-content: space-between !important; gap: 10px !important; }
  .cta-title { font-size: .88rem !important; max-width: 130px !important; }
  .cta-btn { padding: 10px 14px !important; font-size: .8rem !important; flex-shrink: 0 !important; }

  .side-pro-btn-left { top: 72% !important; width: 54px !important; height: 54px !important; border-radius: 0 27px 27px 0 !important; }
  .side-pro-btn-left span { display: none !important; }
  .side-pro-btn-left.scrolled-hidden { transform: translateY(-50%) translateX(-100%); opacity: 0; pointer-events: none; }

  /* iPhone safe area */
  @supports (padding: env(safe-area-inset-bottom)) {
    .cta-professionnel { bottom: calc(20px + env(safe-area-inset-bottom)) !important; }
  }

  [dir="rtl"] .glass-card { background-position: -20% center !important; }
  [dir="rtl"] .rose { flex-direction: column !important; }
  [dir="rtl"] .logo-wrapper { flex-direction: row-reverse !important; }
}

/* ── Mobile Medium (≤ 640px) ── */
@media (max-width: 640px) {
  .bigbox { grid-template-columns: 1fr !important; max-width: 400px !important; padding: 0 18px !important; }
  .imgordo { height: 170px !important; }
  .envoyer { font-size: 1.08rem !important; }
  .direct  { font-size: .88rem !important; }
}

/* ── Mobile (≤ 600px) ── */
@media (max-width: 600px) {
  .P1 { font-size: 1.9rem !important; line-height: 1.2 !important; }
  .P1 span { font-size: 1.9rem !important; display: block !important; }
}

/* ── Mobile Small (≤ 480px) ── */
@media (max-width: 480px) {
  .hero-stats span { font-size: .76rem !important; padding: 6px 12px !important; }

  /* Légende mobile */
  .info.legend {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s .3s, opacity .3s ease, transform .3s ease;
    position: absolute;
    top: 76px;
    left: 8px;
    width: 235px;
    background: #fff !important;
    padding: 18px 20px;
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(0,0,0,.35) !important;
    border: 1px solid #eee !important;
    z-index: 1999;
    transform: translateX(-30px);
  }

  .info.legend.is-visible {
    visibility: visible;
    opacity: 1;
    transform: translateX(0);
    animation: slideInLeft .35s ease-out;
  }

  .btn-toggle-legend {
    display: flex !important;
    position: absolute;
    top: 12px;
    left: 12px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-secondary), #009688);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 26px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0,0,0,.35);
    z-index: 2001;
    transition: all .3s ease;
    animation: pulseBorder 2s infinite, shakeAttention 6s ease-in-out infinite;
  }

  .btn-toggle-legend:hover { transform: scale(1.14); }
  .legend-control-container.active .btn-toggle-legend { background: var(--color-danger) !important; animation: none !important; }

  [dir="rtl"] .btn-toggle-legend { left: auto !important; right: 12px !important; }
  [dir="rtl"] .info.legend { left: auto !important; right: 8px !important; transform: translateX(30px); text-align: right; direction: rtl; }
  [dir="rtl"] .info.legend.is-visible { animation: slideInRightAr .35s ease-out forwards; transform: translateX(0); }

  .slide { flex: 0 0 88vw; }
  .slide-track { gap: 15px; padding: 6px 10px; }
  .ecriture1 .itineraire-btn { font-size: .78rem !important; height: 40px !important; padding: 10px 6px !important; }
  .ecriture1 .call-btn { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; font-size: .88rem !important; }
}

/* ── Très petit (≤ 380px) ── */
@media (max-width: 380px) {
  .P1, .P1 span { font-size: 1.65rem !important; }
  .hero-stats { gap: 7px !important; }
  .PARA { font-size: .87rem !important; }
}

/* ── Hover seulement sur devices avec souris ── */
@media (hover: none) {
  .glass-card:hover { transform: none; }
  #map:hover { transform: none; filter: none; }
}

/* ═══════════════════════════════════════════════════════
   28. ANIMATIONS FINALES
═══════════════════════════════════════════════════════ */

@keyframes slideInLeft {
  from { transform: translateX(-55px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes slideInRightAr {
  from { transform: translateX(55px); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

@keyframes pulseBorder {
  0%   { box-shadow: 0 0 0 0 rgba(0,150,136,.7); }
  70%  { box-shadow: 0 0 0 18px rgba(0,150,136,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,150,136,0); }
}

@keyframes shakeAttention {
  0%,75%,100% { transform: rotate(0deg); }
  80%          { transform: rotate(14deg); }
  85%          { transform: rotate(-14deg); }
  90%          { transform: rotate(8deg); }
  95%          { transform: rotate(0deg); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-55px); }
  60%  { opacity: .8; transform: translateX(8px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(55px); }
  60%  { opacity: .8; transform: translateX(-8px); }
  to   { opacity: 1; transform: translateX(0); }
}

.SIDE_SEARCH:first-child { animation: fadeInLeft 1.2s ease-out forwards; opacity: 0; }
.SIDE_SEARCH:last-child  { animation: fadeInRight 1.2s ease-out forwards; opacity: 0; }

/* Routing machine — texte caché */
.leaflet-routing-alt { display: none; }

/* ═══════════════════════════════════════════════════════
   29. EXTRAS "WOW" — Effets premium additionnels
═══════════════════════════════════════════════════════ */

/* Scroll reveal global — classes optionnelles */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Gradient shimmer sur les images placeholder */
.img-placeholder {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmerBg 1.5s infinite;
}

@keyframes shimmerBg {
  from { background-position: 200% 0; }
  to   { background-position: -200% 0; }
}

/* Focus visible accessible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-teal);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Sélection de texte stylée */
::selection {
  background: rgba(35,191,179,.25);
  color: var(--color-dark);
}
/* =============================================
   NOTE CLIGNOTANTE MINUIT — STYLE SIHATI
============================================= */
.note-minuit-clignotante {
    background: linear-gradient(135deg, rgba(0, 150, 136, 0.12), rgba(0, 150, 136, 0.06));
    color: #006d63;
    text-align: center;
    padding: 12px 24px;
    font-size: 0.92rem;
    font-weight: 600;
    animation: clignote 2s infinite;
    border-radius: 50px;
    margin: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1.5;
    box-shadow: 0 4px 15px rgba(0, 150, 136, 0.15);
    border: 1.5px solid rgba(0, 150, 136, 0.35);
    backdrop-filter: blur(4px);
}

@keyframes clignote {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* =============================================
   BADGE MINUIT SUR L'ICONE LEAFLET
   ⚠️ On ne touche PAS à .modern-marker
============================================= */
.badge-minuit {
    position: absolute;
    top: -6px;
    right: -6px;
    font-size: 13px;
    background: #009688;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 150, 136, 0.5);
    border: 1.5px solid #fff;
    z-index: 10;
    line-height: 1;
    pointer-events: none;
}

/* =============================================
   RESPONSIVE TABLETTE (≤ 768px)
============================================= */
@media (max-width: 768px) {
    .note-minuit-clignotante {
        font-size: 0.82rem;
        padding: 10px 16px;
        margin: 8px 12px;
        border-radius: 30px;
        gap: 6px;
        flex-wrap: wrap;
    }
    .badge-minuit {
        width: 18px;
        height: 18px;
        font-size: 11px;
        top: -5px;
        right: -5px;
    }
}

/* =============================================
   RESPONSIVE MOBILE (≤ 480px)
============================================= */
@media (max-width: 480px) {
    .note-minuit-clignotante {
        font-size: 0.76rem;
        padding: 8px 14px;
        margin: 6px 10px;
        border-radius: 20px;
        gap: 5px;
        line-height: 1.4;
    }
    .badge-minuit {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -4px;
        right: -4px;
    }
}

/* =============================================
   RESPONSIVE TRÈS PETIT (≤ 360px)
============================================= */
@media (max-width: 360px) {
    .note-minuit-clignotante {
        font-size: 0.70rem;
        padding: 7px 10px;
        margin: 5px 8px;
        flex-direction: column;
        gap: 3px;
    }
    .badge-minuit {
        width: 15px;
        height: 15px;
        font-size: 9px;
        top: -4px;
        right: -4px;
    }
}
/* ============================
   SECTION & CONTAINER
============================ */
.pricing-section {
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;
}

.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
    flex-wrap: wrap;
    max-width: 1300px;
    margin: 0 auto;
}

/* ============================
   GLASS CARD STYLE
============================ */
.pricing-card {
    width: 280px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 40px 25px;
    text-align: center;
    color: #333;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(40, 116, 206, 0.2);
    background: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured {
    border: 2.5px solid #2874ce;
    background: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2874ce;
    color: white;
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(40, 116, 206, 0.3);
}

/* ============================
   TYPOGRAPHY & PRICE
============================ */
.card-header h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 10px;
}

.price {
    font-size: 38px;
    font-weight: 800;
    margin: 10px 0;
    color: #2874ce;
}

.price span {
    font-size: 16px;
    color: #666;
    font-weight: 400;
}

.card-header p {
    font-size: 13px;
    color: #7f8c8d;
}

/* ============================
   FEATURES LIST
============================ */
.features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    text-align: left;
    flex-grow: 1;
}

.features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #444;
}

.features li i {
    margin-right: 12px;
    color: #009688;
    font-size: 16px;
}

.features li.disabled {
    opacity: 0.4;
    text-decoration: line-through;
}

/* ============================
   BOUTON UNIQUE
============================ */
.btn-inscrire {
    padding: 14px 20px;
    border-radius: 15px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: 0.3s;
    font-size: 15px;
    background: linear-gradient(45deg, #2874ce, #009688);
    color: white;
    box-shadow: 0 5px 15px rgba(40, 116, 206, 0.3);
    text-align: center;
}

.btn-inscrire:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    color: white;
    text-decoration: none;
}

/* ============================
   CCP INFO BLOCK
============================ */
.ccp-info-container {
    margin-top: 50px;
    text-align: center;
}

.ccp-card {
    display: inline-block;
    background: #2c3e50;
    color: white;
    padding: 25px 40px;
    border-radius: 25px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.ccp-card strong {
    color: #00d1b2;
    font-size: 1.1em;
}

.ccp-subtitle {
    font-size: 14px;
    margin-top: 10px;
    opacity: 0.9;
}

.ccp-subtitle span {
    color: #3498db;
    text-decoration: underline;
}

/* ============================
   RESPONSIVE
============================ */
@media (max-width: 768px) {
    .pricing-card {
        width: 100%;
        max-width: 350px;
    }
    .pricing-card.featured {
        transform: scale(1);
    }
}