/* =========================
   Variables globales
========================= */
:root {
  --bg: #0b0b0b;
  --card: #111111;
  --accent: #991b1b;
  --muted: #9ca3af;
  --glass: rgba(255, 255, 255, 0.04);
}

/* =========================
   Base
========================= */
body {
  background: linear-gradient(180deg, var(--bg), #050505);
  color: #eee;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system,
    "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* =========================
   Utilitaires
========================= */
.glass {
  background: var(--glass);
  backdrop-filter: blur(6px);
}

.accent {
  color: var(--accent);
}

/* =========================
   Navigation
========================= */
nav a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color 0.25s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: var(--accent);
  transition: width 0.25s ease;
}
/*
nav a:hover {
  color: var(--accent);
}*/

nav a:hover::after {
  width: 100%;
}


/* =========================
   Section IA
========================= */
.ai-section {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
}



.ai-section {
  padding: 40px;
  background: #f5f5f5;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.py-10 {
   
    padding-bottom: 0.5rem!important;
}

.ai-slider {
  position: relative;
  width: 90%;
  margin: auto;
  overflow: hidden;
}

.ai-slides-wrapper {
  overflow: hidden;
}

.ai-slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.ai-slides img {
  width: calc(100% / 3); /* Affiche 3 images à la fois */
  flex-shrink: 0;
  margin: 0 5px;
  border-radius: 10px;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }