/* ==========================================================================
   SAFA STUDY - DESIGN SYNERGIE.MA INSPIRED
   Campus France Maroc • Thème Deep Navy & Electric Cyan
   ========================================================================== */

/* ================= LUCIDE ICONS (STYLE SYNERGIE.MA) ================= */
svg.lucide, .lucide {
  width: 1.25em;
  height: 1.25em;
  display: inline-block;
  vertical-align: -0.2em;
  stroke-width: 2px;
  stroke: currentColor;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease, stroke 0.2s ease;
}
.btn svg.lucide, .btn .lucide {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.15em;
  margin-right: 2px;
}
.step-icon svg.lucide, .step-icon .lucide {
  width: 28px;
  height: 28px;
  stroke-width: 2.2px;
}
.badge-icon-box svg.lucide, .badge-icon-box .lucide {
  width: 22px;
  height: 22px;
  stroke-width: 2.2px;
}
.trust-icon svg.lucide, .trust-icon .lucide {
  width: 22px;
  height: 22px;
  stroke-width: 2px;
}
.logo-icon svg.lucide, .logo-icon .lucide {
  width: 26px;
  height: 26px;
  stroke-width: 2.2px;
}
.agence-info-item svg.lucide {
  width: 16px;
  height: 16px;
  color: var(--cyan);
  flex-shrink: 0;
}
.pack-features li svg.lucide {
  width: 18px;
  height: 18px;
  color: #10b981;
  stroke-width: 2.2px;
  flex-shrink: 0;
  margin-top: 3px;
}

:root {
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Palette Synergie */
  --navy: #0B1B3D;             /* Deep Midnight Navy (Fond Hero & Footer) */
  --navy-light: #12244E;       /* Surface Navy éclairée */
  --navy-dark: #061129;        /* Bleu nuit profond */
  --cyan: #00A3E0;             /* Electric Cyan signature */
  --cyan-hover: #008cc2;
  --cyan-light: #E6F6FC;       /* Cyan très doux pour badges */
  --cyan-glow: rgba(0, 163, 224, 0.25);
  --cta-gold: #F59E0B;         /* Or ambré conversion */
  --cta-gold-hover: #D97706;
  --secondary: #EF4444;        /* Rouge accent France / alerte */
  --light-bg: #F4F7FC;         /* Fond de page épuré */
  --card-bg: #FFFFFF;
  --border-color: #E2E8F0;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --whatsapp-green: #25D366;
  --whatsapp-dark: #128C7E;
  
  /* Radius & Shadows */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(11, 27, 61, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(11, 27, 61, 0.08), 0 8px 10px -6px rgba(11, 27, 61, 0.04);
  --shadow-lg: 0 20px 40px -10px rgba(11, 27, 61, 0.14);
  --shadow-cyan: 0 10px 30px rgba(0, 163, 224, 0.28);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--light-bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Accessibility */
.skip-link {
  position: absolute;
  top: -60px;
  left: 20px;
  background: var(--cyan);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 700;
  text-decoration: underline;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 15px;
}

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 2px;
}

/* ================= TOPBAR ================= */
.topbar {
  background: var(--navy-dark);
  color: #94A3B8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.topbar a:hover {
  color: #fff;
}
.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 163, 224, 0.15);
  color: #38bdf8;
  padding: 2px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(0, 163, 224, 0.3);
}
.badge-live::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0, 163, 224, 0.35);
  animation: pulse 2s infinite;
}

/* ================= NAVBAR (MODERNE BLUR) ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}
.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: #ffffff;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 163, 224, 0.3);
}
.logo-text .logo-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.logo-text span {
  font-size: 0.72rem;
  color: var(--cyan);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 26px;
}
.main-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--cyan);
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--cyan);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--navy);
  cursor: pointer;
  padding: 6px;
}

/* ================= BOUTONS STYLE SYNERGIE ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: 1.5px solid transparent;
  line-height: 1;
}
.btn-primary, .btn-cyan {
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 163, 224, 0.35);
}
.btn-primary:hover, .btn-cyan:hover {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 224, 0.45);
}
.btn-secondary, .btn-gold {
  background: linear-gradient(135deg, var(--cta-gold) 0%, #EA580C 100%);
  color: #fff;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
}
.btn-secondary:hover, .btn-gold:hover {
  background: linear-gradient(135deg, #D97706 0%, #C2410C 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.45);
}
.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--navy);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: var(--cyan-light);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
  transform: translateY(-2px);
}
.btn-whatsapp {
  background: var(--whatsapp-green);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 16px 32px;
  font-size: 1rem;
}
.btn-sm {
  padding: 8px 18px;
  font-size: 0.82rem;
}

/* ================= HERO SECTION (DEEP NAVY IMMERSIF COMME SYNERGIE.MA) ================= */
.hero-synergie {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(0, 163, 224, 0.15) 0%, transparent 50%),
              radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
              var(--navy);
  color: #ffffff;
  padding: 70px 0 90px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Particules d'arrière-plan animées */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(0, 163, 224, 0.22);
  pointer-events: none;
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% { transform: translateY(0) scale(1); opacity: 0.4; }
  50% { transform: translateY(-40px) scale(1.15); opacity: 0.8; }
  100% { transform: translateY(-80px) scale(1); opacity: 0; }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}
.hero-badge-synergie {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 163, 224, 0.12);
  color: #38bdf8;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 22px;
  border: 1px solid rgba(0, 163, 224, 0.3);
}
.hero-title-synergie {
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.hero-title-synergie .text-cyan {
  color: var(--cyan);
}
.hero-subtitle-synergie {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 600px;
}

/* ================= SELECTEUR DE PROFIL ETUDIANT (STYLE SYNERGIE.MA) ================= */
.profile-selector-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
}
.profile-selector-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 12px;
  display: block;
}
.profile-pills-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.profile-pill {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  color: #E2E8F0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-pill:hover, .profile-pill.active {
  background: var(--cyan);
  color: #ffffff;
  border-color: var(--cyan);
  box-shadow: 0 4px 14px rgba(0, 163, 224, 0.4);
  transform: translateY(-2px);
}

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.hero-trust-synergie {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-trust-synergie .trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-trust-synergie .trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan);
  font-size: 1.1rem;
}
.hero-trust-synergie .trust-text {
  font-size: 0.8rem;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.8);
}
.hero-trust-synergie .trust-text strong {
  display: block;
  font-size: 0.95rem;
  color: #ffffff;
}

/* ================= HERO VISUAL AVEC BADGES FLOTTANTS ================= */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-container {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  max-width: 520px;
}
.hero-image-container:hover {
  transform: translateY(-6px) scale(1.01);
}
.hero-image-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.05) 0%, rgba(6, 17, 41, 0.5) 100%);
  pointer-events: none;
}

.floating-glass-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px -5px rgba(11, 27, 61, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  animation: floatSlow 4s ease-in-out infinite;
  max-width: 270px;
}
.floating-glass-badge.top-right {
  top: -15px;
  right: -15px;
}
.floating-glass-badge.bottom-left {
  bottom: -20px;
  left: -15px;
  animation: floatReverse 4.5s ease-in-out infinite;
}
.badge-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.badge-icon-box.green {
  background: #dcfce7;
  color: #15803d;
}
.badge-icon-box.cyan {
  background: var(--cyan-light);
  color: var(--cyan);
}
.badge-text-box strong {
  display: block;
  font-size: 0.88rem;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
}
.badge-text-box span {
  font-size: 0.74rem;
  color: var(--text-muted);
  display: block;
}

/* ================= BANNIERE LOGOS DES UNIVERSITES ================= */
.logos-strip {
  background: #ffffff;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-color);
}
.university-logos-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.univ-logo-item {
  height: 50px;
  padding: 6px 14px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(11, 27, 61, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  filter: grayscale(40%);
  opacity: 0.85;
}
.univ-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: translateY(-3px);
  border-color: var(--cyan);
  box-shadow: 0 8px 20px rgba(0, 163, 224, 0.18);
}
.univ-logo-item img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

/* ================= BANNIERE STATS (STYLE SYNERGIE) ================= */
.stats-banner-synergie {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  padding: 56px 0;
  border-radius: var(--radius-xl);
  margin: 50px 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.92rem;
  color: #CBD5E1;
  font-weight: 500;
}

/* ================= SECTION HEADINGS ================= */
.section {
  padding: 85px 0;
}
.section-light {
  background: #FFFFFF;
}
.section-alt {
  background: var(--light-bg);
}
.section-header {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 50px;
}
.section-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan);
  background: var(--cyan-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(0, 163, 224, 0.2);
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================= CARTES DES ETAPES (MODERNES 5 COLONNES) ================= */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
@media (max-width: 1200px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .steps-grid { grid-template-columns: 1fr; }
}
.step-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--cyan);
}
.step-number {
  position: absolute;
  top: 18px;
  right: 18px;
  font-size: 2rem;
  font-weight: 900;
  color: #E2E8F0;
  line-height: 1;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--cyan-light);
  color: var(--cyan);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.step-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
}
.step-badge {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--navy);
  background: #f1f5f9;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  align-self: flex-start;
}

/* ================= SPOTLIGHT FEATURE VISA SUCCESS ================= */
.success-spotlight-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  margin: 60px 0;
}
.spotlight-image-col {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}
.spotlight-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.success-spotlight-card:hover .spotlight-image-col img {
  transform: scale(1.04);
}
.spotlight-content-col {
  padding: 44px;
}

/* ================= PACKS & TARIFS ================= */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: stretch;
}
.pack-card {
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 36px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}
.pack-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.pack-card.popular {
  border: 2px solid var(--cyan);
  box-shadow: var(--shadow-cyan);
}
.pack-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--cyan) 0%, #0284c7 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 163, 224, 0.4);
}
.pack-name {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 8px;
}
.pack-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.pack-features {
  margin-bottom: 28px;
  flex-grow: 1;
}
.pack-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-main);
  margin-bottom: 14px;
  line-height: 1.45;
}
.pack-features li i {
  color: #10b981;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 3px;
}

/* ================= VILLES & AGENCES ================= */
.agences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.agence-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 26px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.agence-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan);
}
.agence-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--cyan-light);
  color: var(--cyan);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.agence-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.agence-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.agence-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  margin-bottom: 8px;
  color: var(--text-main);
}
.agence-info-item i {
  color: var(--cyan);
}

/* Recherche Villes */
.city-search-box {
  max-width: 460px;
  margin: 0 auto 30px;
  position: relative;
}
.city-search-box i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}
.city-search-box input {
  padding-left: 44px;
  min-height: 48px;
}
.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
}
.city-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
}
.city-card:hover {
  border-color: var(--cyan);
  background: var(--cyan-light);
  color: var(--cyan);
  transform: translateY(-3px);
}
.city-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: var(--text-muted);
}
.city-card:hover .city-tag {
  background: #fff;
  color: var(--cyan);
}
.city-tag.agence {
  background: var(--cyan-light);
  color: var(--cyan);
}

/* ================= FORMULAIRES MODERNES ================= */
.hero-card, .form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-color);
}
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group label .req {
  color: var(--secondary);
}
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--navy);
  background: #fff;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px var(--cyan-glow);
}
textarea.form-control {
  resize: vertical;
  min-height: 100px;
}

/* ================= FAQ ACCORDION ================= */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active {
  border-color: var(--cyan);
}
.faq-question {
  width: 100%;
  padding: 22px 26px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-question:hover {
  color: var(--cyan);
}
.faq-icon {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
  color: var(--cyan);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}
.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 26px 22px;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--secondary);
}

/* ================= FLOATING WHATSAPP BUTTON ================= */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
}
.whatsapp-bubble {
  background: var(--whatsapp-green);
  color: #fff;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  position: relative;
  transition: var(--transition);
}
.whatsapp-bubble:hover {
  transform: scale(1.08);
  background: var(--whatsapp-dark);
}
.whatsapp-ping {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--whatsapp-green);
  opacity: 0.75;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
  z-index: -1;
}
.whatsapp-tooltip {
  background: #fff;
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  white-space: nowrap;
  animation: floatTooltip 3s ease-in-out infinite;
}

/* WhatsApp Chat Preview */
.whatsapp-chat-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 300px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 45px -10px rgba(11, 27, 61, 0.25);
  border: 1px solid var(--border-color);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10000;
  pointer-events: none;
}
.floating-whatsapp:hover .whatsapp-chat-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.wa-chat-header {
  background: #075e54;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.wa-agent-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}
.wa-chat-header h5 {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
}
.wa-chat-header span {
  font-size: 0.72rem;
  color: #a7f3d0;
}
.wa-chat-body {
  padding: 14px;
  background: #ece5dd;
  font-size: 0.85rem;
  line-height: 1.45;
}
.wa-message-bubble {
  background: #fff;
  padding: 10px 12px;
  border-radius: 0 12px 12px 12px;
  color: #111827;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 6px;
}
.wa-chat-footer {
  padding: 10px 14px;
  background: #fff;
  text-align: center;
}

/* ================= FOOTER (STYLE SYNERGIE DEEP NAVY) ================= */
.site-footer {
  background: var(--navy-dark);
  color: #94A3B8;
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul a {
  color: #94A3B8;
  font-size: 0.88rem;
}
.footer-col ul a:hover {
  color: var(--cyan);
  padding-left: 4px;
}
.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}

/* ================= ANIMATIONS ================= */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}
@keyframes ping {
  75%, 100% { transform: scale(1.6); opacity: 0; }
}
@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .success-spotlight-card { grid-template-columns: 1fr; }
  .spotlight-image-col { min-height: 260px; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
    display: none;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 16px; }
  .mobile-toggle { display: block; }
}
@media (max-width: 640px) {
  .form-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .floating-whatsapp .whatsapp-tooltip { display: none; }
  .floating-glass-badge.top-right { top: -10px; right: 0; }
  .floating-glass-badge.bottom-left { bottom: -10px; left: 0; }
}
