/* ------------------------------------------------------
   VARIABLES GLOBALES
------------------------------------------------------ */
:root {
  --bg:#0f172a;
  --card:#111827;
  --elev:#0b1227;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --primary:#60a5fa;
  --accent:#f59e0b;
  --success:#34d399;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --maxw:1200px;
  --t: 5s;
  --slide: 7s;
  --slides-count: 4;
  --icon-color: #0f172a;
  --back: linear-gradient(180deg,#0c132a 0%,#0a1024 50%,#0a0e1e 100%);
  --edge: rgba(255,255,255,.08);
  --surface: linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  --marginTop: 70px;
  --maxw-wide: 1440px;
  --maxw-ultra: 1680px;
  --speed: 30s  ; /*durée d'animation linéaire de la page accueil*/

}

/* ------------------------------------------------------
   THEMES LIGHT / DARK
------------------------------------------------------ */

[data-theme="dark"] {
  --bg: #0d1220;
  --bg-alt: #131a2c;

  --card: #111827;
  --card-alt: #1a2337;

  --text: #e8ecf3;
  --text-strong: #f1f5f9;

  --muted: #94a3b8;          /* Modernisé */
  --muted-light: #cbd5e1;

  --primary: #5b8bff;        /* Bleu premium */
  --primary-light: #7da2ff;
  --primary-dark: #355ecc;

  --accent: #a78bfa;         /* Violet premium */
  --accent-light: #c4b5fd;
  --accent-dark: #7c3aed;

  --success: #34d399;
  --warning: #fbbf24;
  --danger: #ef4444;

  --edge: rgba(255,255,255,0.06);
  --border-strong: rgba(255,255,255,0.12);

  --surface: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  --surface-elevated: rgba(255,255,255,0.06);

  --back: linear-gradient(180deg,#0c132a 0%,#0a1024 50%,#0a0e1e 100%);
  --icon-color: #ffffff;
}

[data-theme="light"] {
  --bg: #f3f6fc;
  --bg-alt: #ffffff;

  --card: #ffffff;
  --card-alt: #f8fafc;

  --text: #111827;
  --text-strong: #0f172a;

  --muted: #64748b;          /* Modernisé */
  --muted-light: #94a3b8;

  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #2563eb;

  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-dark: #5b21b6;

  --success: #22c55e;
  --warning: #eab308;
  --danger: #dc2626;

  --edge: rgba(15,23,42,0.08);
  --border-strong: rgba(15,23,42,0.15);

  --surface: #ffffff;
  --surface-elevated: #f1f5f9;

  --back: #ffffff;
  --icon-color: #0f172a;
}


/* ------------------------------------------------------
   RESET + BASE
------------------------------------------------------ */

*, *::before, *::after {
  box-sizing: border-box; 
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Montserrat, sans-serif !important;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1600px) {
  .container {
    max-width: var(--maxw-wide);
  }
}

@media (min-width: 2200px) {
  .container {
    max-width: var(--maxw-ultra);
  }
}

/* ------------------------------------------------------
   BOUTONS / UTILITAIRES GLOBAUX
------------------------------------------------------ */

.btn {
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;

  background: var(--surface-elevated);
  border: 1px solid var(--edge);

  box-shadow: var(--shadow);
  color: var(--text);

  backdrop-filter: blur(4px);
  transition: 0.25s ease;
}

.btn:hover {
  background: var(--primary-light);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
}

.cta_2 {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
    }


.btn.primary {
  background: var(--primary);
  color: white;
  border-color: transparent;
  margin-right: 10px;
}

.btn.primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}






































