/* ============================================================
   FRANCE UNIVE — Feuille de styles principale
   Mobile-first · Dark theme · EdTech Premium
   ============================================================ */

/* ========================================
   1. VARIABLES CSS & RESET
   ======================================== */
/* ---- Mode clair (défaut) ---- */
:root {
  --bg-primary:    #f4f7ff;
  --bg-secondary:  #eaefff;
  --bg-card:       #ffffff;
  --bg-card-hover: #f0f4ff;

  --blue:          #3b82f6;
  --blue-light:    #2563eb;
  --blue-dark:     #1d4ed8;
  --blue-glow:     rgba(59,130,246,0.18);

  --gold:          #d97706;
  --gold-light:    #f59e0b;
  --gold-glow:     rgba(217,119,6,0.15);

  --white:         #0f172a;
  --white-2:       #374151;
  --muted:         #6b7280;
  --border:        rgba(59,130,246,0.18);
  --border-gold:   rgba(217,119,6,0.22);

  --radius-sm:     8px;
  --radius-md:     16px;
  --radius-lg:     24px;
  --radius-xl:     40px;

  --shadow-blue:   0 0 40px rgba(59,130,246,0.12);
  --shadow-gold:   0 0 40px rgba(217,119,6,0.10);
  --shadow-card:   0 4px 24px rgba(0,0,0,0.08);

  --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;

  --font-display:  'Ubuntu', sans-serif;
  --font-body:     'Plus Jakarta Sans', sans-serif;

  --nav-h:         72px;
  --max-w:         1200px;

  --bg-nav:        rgba(244,247,255,0.92);
  --bg-overlay:    rgb(244,247,255);
  --hero-mesh-1:   rgba(59,130,246,0.14);
  --hero-mesh-2:   rgba(37,99,235,0.08);
  --hero-mesh-3:   rgba(217,119,6,0.05);
}

/* ---- Mode sombre ---- */
[data-theme="dark"] {
  --bg-primary:    #05080f;
  --bg-secondary:  #080d1a;
  --bg-card:       #0a1220;
  --bg-card-hover: #0e1a2e;

  --blue:          #3b82f6;
  --blue-light:    #60a5fa;
  --blue-dark:     #1d4ed8;
  --blue-glow:     rgba(59,130,246,0.35);

  --gold:          #f59e0b;
  --gold-light:    #fbbf24;
  --gold-glow:     rgba(245,158,11,0.30);

  --white:         #f0f4ff;
  --white-2:       #c8d4f0;
  --muted:         #64748b;
  --border:        rgba(59,130,246,0.15);
  --border-gold:   rgba(245,158,11,0.20);

  --shadow-blue:   0 0 40px rgba(59,130,246,0.20);
  --shadow-gold:   0 0 40px rgba(245,158,11,0.20);
  --shadow-card:   0 4px 60px rgba(0,0,0,0.40);

  --bg-nav:        rgba(5,8,15,0.85);
  --bg-overlay:    rgb(5,8,15);
  --hero-mesh-1:   rgba(59,130,246,0.22);
  --hero-mesh-2:   rgba(29,78,216,0.18);
  --hero-mesh-3:   rgba(245,158,11,0.08);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  cursor: none;
  transition: background-color 0.35s ease, color 0.35s ease;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img { display: block; max-width: 100%; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ========================================
   2. SCROLLBAR PERSONNALISÉE
   ======================================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--blue), var(--blue-dark));
  border-radius: 99px;
}

/* Transition globale pour le changement de thème */
*, *::before, *::after {
  transition-property: background-color, border-color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* ========================================
   3. UTILITAIRES
   ======================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-light);
  background: rgba(59,130,246,0.10);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue-light);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.6); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-sub {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--white-2);
  max-width: 560px;
  margin-bottom: 56px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Bouton primaire */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: #fff;
  box-shadow: 0 0 0 0 var(--blue-glow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--blue-glow);
}

.btn-primary:hover::after { opacity: 1; }

/* Bouton secondaire outline */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  color: var(--white);
  transition: var(--transition);
}

.btn-outline:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: rgba(59,130,246,0.08);
  transform: translateY(-2px);
}

/* Bouton gold CTA */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: #05080f;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-gold::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-radius: inherit;
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--gold-glow);
}

/* Fade-in scroll animation */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: none;
}

/* ========================================
   4. CURSEUR PERSONNALISÉ
   ======================================== */
#cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--blue-light);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, background 0.25s;
  will-change: transform;
}

#cursor-ring {
  position: fixed;
  width: 38px; height: 38px;
  border: 1.5px solid rgba(96,165,250,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, width 0.2s, height 0.2s, opacity 0.2s;
  will-change: transform;
}

body.cursor-hover #cursor {
  background: var(--gold);
  transform: translate(-50%, -50%) scale(1.8);
}

body.cursor-hover #cursor-ring {
  width: 54px; height: 54px;
  border-color: rgba(245,158,11,0.4);
}

/* ========================================
   5. NAVIGATION
   ======================================== */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

#navbar.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.nav-logo svg {
  width: 36px; height: 36px;
  flex-shrink: 0;
}

.nav-logo span { color: var(--blue-light); }

/* Liens desktop */
.nav-links {
  display: none;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-2);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1.5px;
  background: var(--blue-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

/* CTA nav */
.nav-cta {
  display: none;
  align-items: center;
  gap: 12px;
}

.nav-login {
  font-size: 14px;
  font-weight: 500;
  color: var(--white-2);
  transition: color var(--transition-fast);
}

.nav-login:hover { color: var(--white); }

/* Hamburger mobile */
.nav-toggle {
  width: 36px; height: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Menu mobile */
.nav-mobile {
  position: fixed;
  inset: 0;
  padding-top: var(--nav-h);
  background: var(--bg-overlay);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--white-2);
  transition: color var(--transition-fast);
}

.nav-mobile a:hover { color: var(--blue-light); }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-cta   { display: flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* ========================================
   6. HERO
   ======================================== */
#hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Fond mesh gradient animé */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-mesh::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, var(--hero-mesh-1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 70%, var(--hero-mesh-2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 60% 20%, var(--hero-mesh-3) 0%, transparent 50%);
  animation: mesh-shift 12s ease-in-out infinite alternate;
}

.hero-mesh::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 110%, rgba(59,130,246,0.12) 0%, transparent 60%);
  animation: mesh-pulse 8s ease-in-out infinite;
}

@keyframes mesh-shift {
  0%   { opacity: 1; transform: scale(1)   rotate(0deg); }
  100% { opacity: 0.75; transform: scale(1.08) rotate(2deg); }
}

@keyframes mesh-pulse {
  0%, 100% { opacity: 0.6; }
  50%       { opacity: 1; }
}

/* Canvas particules */
#particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Grille de fond */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image:
    linear-gradient(rgba(59,130,246,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59,130,246,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Contenu hero */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 40px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245,158,11,0.10);
  border: 1px solid var(--border-gold);
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 28px;
  animation: fadeInDown 0.8s ease both;
}

.hero-badge svg { width: 14px; height: 14px; }

.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(38px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s 0.15s ease both;
}

.hero-h1 .line-2 {
  display: block;
  background: linear-gradient(135deg, var(--blue-light), #818cf8, var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-typewriter {
  display: block;
  font-size: clamp(20px, 3.5vw, 36px);
  font-weight: 500;
  color: var(--white-2);
  margin-bottom: 12px;
  min-height: 44px;
}

.cursor-blink {
  display: inline-block;
  width: 2px;
  height: 1em;
  background: var(--blue-light);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 1s step-end infinite;
}

@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-desc {
  font-size: clamp(14px, 2vw, 17px);
  color: var(--white-2);
  max-width: 540px;
  line-height: 1.7;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s 0.3s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 56px;
  animation: fadeInUp 0.8s 0.45s ease both;
}

.hero-stats {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.6s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
}

.hero-stat .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Vague de séparation */
.hero-wave {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  z-index: 2;
}

.hero-wave path { fill: var(--bg-secondary); }

/* Animation d'entrée */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: none; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ========================================
   7. TRUST BANNER — MARQUEE UNIVERSITÉS
   ======================================== */
#trust {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
}

.trust-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.trust-track:hover { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition-fast);
  border-right: 1px solid var(--border);
}

.trust-item:hover { color: var(--white-2); }

.trust-item svg {
  width: 20px; height: 20px;
  color: var(--blue);
  flex-shrink: 0;
}

/* ========================================
   8. À PROPOS / MISSION
   ======================================== */
#about {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: 0; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-card-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.about-card-main::before {
  content: '';
  position: absolute;
  top: -1px; left: 24px; right: 24px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.about-flag {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.flag-stripe {
  height: 6px;
  border-radius: 3px;
  flex: 1;
}

.flag-stripe.blue  { background: #002395; }
.flag-stripe.white { background: #EDEDED; }
.flag-stripe.red   { background: #ED2939; }

.about-card-main h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

.about-card-main p {
  font-size: 14px;
  color: var(--white-2);
  line-height: 1.7;
}

.about-float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-gold);
  bottom: -20px; right: -10px;
  max-width: 200px;
}

.about-float-card .num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
}

.about-float-card .label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition);
}

.pillar:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-3px);
}

.pillar-icon {
  width: 36px; height: 36px;
  background: rgba(59,130,246,0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  color: var(--blue-light);
}

.pillar-icon svg { width: 18px; height: 18px; }

.pillar h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 6px;
}

.pillar p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}

/* Citation */
.about-quote {
  background: linear-gradient(135deg, rgba(59,130,246,0.08), rgba(245,158,11,0.06));
  border: 1px solid var(--border);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-top: 28px;
  font-style: italic;
  color: var(--white-2);
  font-size: 15px;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   9. NOS SERVICES
   ======================================== */
#services {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 10% 50%, rgba(59,130,246,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 50%, rgba(245,158,11,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  transform-style: preserve-3d;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.06), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(59,130,246,0.40);
  box-shadow: var(--shadow-blue);
  transform: translateY(-6px);
}

.service-card:hover::before { opacity: 1; }

/* Carte premium (service complet) */
.service-card.featured {
  border-color: var(--border-gold);
  background: linear-gradient(145deg, var(--bg-card), #0e1a2e);
}

.service-card.featured::before {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), transparent);
}

.service-card.featured:hover {
  border-color: rgba(245,158,11,0.45);
  box-shadow: var(--shadow-gold);
}

.service-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  margin-bottom: 24px;
}

.service-badge.free {
  color: #4ade80;
  background: rgba(74,222,128,0.10);
  border: 1px solid rgba(74,222,128,0.20);
}

.service-badge.premium {
  color: var(--gold);
  background: rgba(245,158,11,0.10);
  border: 1px solid var(--border-gold);
}

.service-badge.housing {
  color: var(--blue-light);
  background: rgba(59,130,246,0.10);
  border: 1px solid var(--border);
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.service-icon.blue { background: rgba(59,130,246,0.15); }
.service-icon.gold { background: rgba(245,158,11,0.15); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 14px;
  color: var(--white-2);
  line-height: 1.7;
  margin-bottom: 24px;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--white-2);
}

.service-feature svg {
  width: 16px; height: 16px;
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-feature.gold svg { color: var(--gold); }

/* Numéro déco */
.service-number {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 800;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  user-select: none;
}

@media (min-width: 768px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:first-child { grid-column: span 2; }
}

@media (min-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card:first-child { grid-column: span 1; }
}

/* ========================================
   10. COMMENT ÇA MARCHE — TIMELINE
   ======================================== */
#process {
  padding: 100px 0;
  position: relative;
}

.process-wrapper {
  position: relative;
}

/* Ligne centrale */
.process-line {
  display: none;
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--blue) 20%, var(--blue) 80%, transparent);
  transform: translateX(-50%);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.process-step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 0;
  position: relative;
}

.step-dot {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--blue);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 4px rgba(59,130,246,0.25);
  z-index: 1;
}

.step-content {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.step-content:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow-blue);
  transform: translateY(-4px);
}

.step-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--blue-light);
  margin-bottom: 12px;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 14px;
  color: var(--white-2);
  line-height: 1.7;
}

.step-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .process-line { display: block; }
  .step-dot     { display: block; }

  .process-step {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }

  .process-step:nth-child(even) .step-content {
    order: -1;
  }
}

/* ========================================
   11. STATISTIQUES
   ======================================== */
#stats {
  padding: 80px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

#stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(59,130,246,0.08), transparent);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  background: var(--bg-card);
  padding: 40px 32px;
  text-align: center;
  position: relative;
  transition: background var(--transition-fast);
}

.stat-item:hover { background: var(--bg-card-hover); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 60px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue-light);
  margin-bottom: 8px;
}

.stat-num.gold { color: var(--gold); }

.stat-label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ========================================
   12. ANNONCES LOGEMENT
   ======================================== */
#logement {
  padding: 100px 0;
  position: relative;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 56px;
}

.section-header-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.listings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.listing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.listing-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

.listing-img {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-card));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}

.listing-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, var(--bg-card));
}

.listing-tag {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 6px;
  z-index: 1;
}

.listing-tag.available {
  background: rgba(74,222,128,0.15);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.25);
}

.listing-tag.reserved {
  background: rgba(245,158,11,0.15);
  color: var(--gold);
  border: 1px solid var(--border-gold);
}

.listing-body {
  padding: 24px;
}

.listing-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.listing-location svg { width: 14px; height: 14px; }

.listing-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.listing-body p {
  font-size: 13px;
  color: var(--white-2);
  line-height: 1.6;
  margin-bottom: 20px;
}

.listing-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.listing-price {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-light);
}

.listing-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

@media (min-width: 768px) {
  .listings-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .listings-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   13. TÉMOIGNAGES
   ======================================== */
#temoignages {
  padding: 100px 0;
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonials-container {
  position: relative;
}

.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(100% - 0px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px; right: 28px;
  font-family: Georgia, serif;
  font-size: 80px;
  color: rgba(59,130,246,0.12);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-stars span {
  color: var(--gold);
  font-size: 16px;
}

.testimonial-text {
  font-size: 16px;
  line-height: 1.75;
  color: var(--white-2);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #818cf8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  color: white;
}

.testimonial-info h4 {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 2px;
}

.testimonial-info p {
  font-size: 12px;
  color: var(--muted);
}

.testimonials-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

.testimonials-nav button {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--white-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.testimonials-nav button:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: rgba(59,130,246,0.08);
}

.testimonials-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  cursor: pointer;
}

.t-dot.active {
  background: var(--blue-light);
  width: 24px;
  border-radius: 4px;
}

@media (min-width: 768px) {
  .testimonial-card { flex: 0 0 calc(50% - 12px); }
}

@media (min-width: 1024px) {
  .testimonial-card { flex: 0 0 calc(33.33% - 16px); }
}

/* ========================================
   14. BLOG / ACTUALITÉS
   ======================================== */
#blog {
  padding: 100px 0;
  position: relative;
}

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

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-blue);
}

.blog-img {
  height: 180px;
  background: linear-gradient(135deg, #0e1a2e, #0a1220);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.blog-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.blog-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-light);
}

.blog-date {
  font-size: 12px;
  color: var(--muted);
}

.blog-body h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 10px;
}

.blog-body p {
  font-size: 13px;
  color: var(--white-2);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-light);
  transition: gap var(--transition-fast);
}

.blog-link:hover { gap: 10px; }

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   15. POURQUOI ÉTUDIER EN FRANCE
   ======================================== */
#why-france {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.why-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  gap: 20px;
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(59,130,246,0.30);
  transform: translateX(6px);
}

.why-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(245,158,11,0.10));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 13px;
  color: var(--white-2);
  line-height: 1.65;
}

@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========================================
   16. NOS BUREAUX
   ======================================== */
#bureaux {
  padding: 100px 0;
  position: relative;
}

.bureaux-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.bureau-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--transition);
}

.bureau-card:hover {
  border-color: rgba(59,130,246,0.35);
  box-shadow: var(--shadow-blue);
}

.bureau-flag {
  font-size: 32px;
  margin-bottom: 20px;
}

.bureau-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.bureau-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bureau-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.bureau-row svg {
  width: 18px; height: 18px;
  color: var(--blue-light);
  flex-shrink: 0;
  margin-top: 2px;
}

.bureau-row p {
  font-size: 14px;
  color: var(--white-2);
  line-height: 1.6;
}

.bureau-row a {
  color: var(--blue-light);
  transition: color var(--transition-fast);
}

.bureau-row a:hover { color: var(--blue); }

@media (min-width: 768px) {
  .bureaux-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========================================
   17. CONTACT
   ======================================== */
#contact {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, rgba(59,130,246,0.08), transparent),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245,158,11,0.05), transparent);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px; height: 48px;
  background: rgba(59,130,246,0.12);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-light);
  flex-shrink: 0;
}

.contact-icon svg { width: 22px; height: 22px; }

.contact-info-item h4 {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  font-size: 14px;
  color: var(--white-2);
  line-height: 1.6;
}

.contact-info-item a:hover { color: var(--blue-light); }

/* Formulaire */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--white-2);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--white);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  outline: none;
  width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.15);
}

.form-group select option { background: var(--bg-secondary); }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  margin-top: 24px;
}

.form-msg {
  margin-top: 12px;
  font-size: 13px;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-msg.success {
  display: block;
  background: rgba(74,222,128,0.10);
  color: #4ade80;
  border: 1px solid rgba(74,222,128,0.20);
}

.form-msg.error {
  display: block;
  background: rgba(239,68,68,0.10);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.20);
}

@media (min-width: 768px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

/* ========================================
   18. FOOTER
   ======================================== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 72px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand {
  max-width: 340px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 16px;
}

.footer-logo span { color: var(--blue-light); }

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer-social {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  transition: var(--transition);
}

.footer-social:hover {
  border-color: var(--blue-light);
  color: var(--blue-light);
  background: rgba(59,130,246,0.08);
}

.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white-2);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover { color: var(--blue-light); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal a {
  font-size: 12px;
  color: var(--muted);
  transition: color var(--transition-fast);
}

.footer-legal a:hover { color: var(--white-2); }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ========================================
   19. WHATSAPP FLOTTANT
   ======================================== */
#whatsapp-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.whatsapp-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: none;
}

.whatsapp-option {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  border: 1px solid rgba(37,211,102,0.25);
  border-radius: var(--radius-xl);
  padding: 10px 16px 10px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  white-space: nowrap;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.whatsapp-option:hover {
  background: rgba(37,211,102,0.12);
  border-color: rgba(37,211,102,0.5);
}

.whatsapp-option-icon {
  width: 32px; height: 32px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-option-icon svg { width: 18px; height: 18px; fill: white; }

#whatsapp-toggle {
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: var(--transition);
  flex-shrink: 0;
}

#whatsapp-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

#whatsapp-toggle svg { width: 28px; height: 28px; fill: white; }

/* Badge notification */
.wa-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 18px; height: 18px;
  background: var(--gold);
  border-radius: 50%;
  font-size: 10px;
  font-weight: 700;
  color: #05080f;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   20. BOUTON INSTALLER L'APPLICATION
   ======================================== */
#install-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--bg-overlay);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  padding: 16px 20px;
  z-index: 950;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#install-banner.visible { transform: none; }

.install-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.install-text {
  flex: 1;
}

.install-text h4 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.install-text p {
  font-size: 12px;
  color: var(--muted);
}

.install-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.install-dismiss {
  font-size: 13px;
  color: var(--muted);
  padding: 8px;
  transition: color var(--transition-fast);
}

.install-dismiss:hover { color: var(--white); }

/* ========================================
   21. ANIMATIONS KEYFRAMES GLOBALES
   ======================================== */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes scale-in {
  from { opacity: 0; transform: scale(0.8); }
  to   { opacity: 1; transform: scale(1); }
}

/* Effet shimmer sur les boutons gold */
.btn-gold {
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

/* Empty state pour les sections CMS */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: var(--bg-card);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  color: var(--muted);
}

.empty-state svg {
  width: 48px; height: 48px;
  color: var(--border);
  margin: 0 auto 16px;
}

.empty-state p { font-size: 14px; }

/* ========================================
   22. RESPONSIVE GLOBAL
   ======================================== */
@media (max-width: 767px) {
  .hero-actions { flex-direction: column; }
  .hero-actions a { text-align: center; justify-content: center; }
  .stat-item { padding: 28px 20px; }
}

@media (min-width: 768px) {
  .section-header-row { flex-direction: row; align-items: flex-end; }
}

/* Masquer le curseur custom sur les appareils tactiles */
@media (pointer: coarse) {
  #cursor, #cursor-ring { display: none; }
}

/* ========================================
   23. BOUTON TOGGLE THÈME
   ======================================== */
#theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg-card);
  color: var(--white-2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

#theme-toggle:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(59,130,246,0.08);
}

#theme-toggle svg { width: 18px; height: 18px; }

/* icône soleil visible en mode sombre, lune en mode clair */
#icon-sun  { display: none; }
#icon-moon { display: block; }

[data-theme="dark"] #icon-sun  { display: block; }
[data-theme="dark"] #icon-moon { display: none; }

/* Cartes et sections : ombres légères en mode clair */
:root .service-card,
:root .listing-card,
:root .blog-card,
:root .bureau-card,
:root .step-content,
:root .about-card-main,
:root .pillar,
:root .why-item,
:root .testimonial-card {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* Formulaire : fond blanc en mode clair */
:root .form-group input,
:root .form-group select,
:root .form-group textarea {
  background: #ffffff;
  border-color: rgba(59,130,246,0.20);
}

/* Footer en mode clair : fond légèrement différent */
:root footer {
  background: var(--bg-secondary);
}

/* Hero en mode clair : texte sombre lisible */
:root .hero-typewriter { color: var(--white-2); }
:root .hero-stat .label { color: var(--muted); }
:root .hero-stat .num   { color: var(--blue); }
