/* ─── HERO SLIDER COMPLET PREMIUM ─── */
.hero {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}

/* SLIDES */
.slides { 
  display: flex; 
  height: 100%; 
  transition: transform .8s cubic-bezier(.77,0,.18,1); 
}

.slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center; 
  justify-content: center;
  overflow: hidden;
}

/* IMAGE DE FOND (SANS ZOOM) */
.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;           
  object-position: center 20%; 
  z-index: 0;

  /* ❌ ZOOM SUPPRIMÉ */
  transform: scale(1);
  transition: none;
}

/* PAS DE ZOOM ACTIVE */
.slide.active .slide-bg {
  transform: scale(1);
}

/* OVERLAY PRINCIPAL */
.slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* TEXTURE LÉGÈRE */
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 60px,
    rgba(255,255,255,0.02) 60px,
    rgba(255,255,255,0.02) 120px
  );
  z-index: 2;
}

/* SILHOUETTE */
.slide-figure {
  position: absolute;
  right: 12%;
  bottom: 0;
  width: 300px;
  height: 480px;
  opacity: 0.1;
  z-index: 2;
}

/* CONTENU */
.slide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: #fff;
  padding: 0 20px;
  max-width: 1000px;
  margin-top: 120px;
}

/* TITRE */
.slide-content h1 {
  font-family: 'Raleway', sans-serif;
  font-size: 3vw;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

/* BOUTON */
.btn-learn {
  display: inline-block;
  background: var(--blue, #1e90ff);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 3px;
  transition: all .25s ease;
}

.btn-learn:hover { 
  background: var(--blue-dark, #0d6efd); 
  transform: translateY(-3px);
}

/* DOTS */
.slider-dots {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.dot {
  width: 8px; 
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  border: none;
  transition: all .2s;
}

.dot.active { 
  background: #fff; 
  transform: scale(1.3); 
}

/* FLÈCHES */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  width: 44px; 
  height: 44px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  display: flex; 
  align-items: center; 
  justify-content: center;
  transition: all .2s ease;
}

.slider-arrow:hover { 
  background: rgba(255,255,255,0.3); 
  transform: translateY(-50%) scale(1.08);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

/* ─── GROUPES ET FONDATIONS ─── */
.groups-section {
  padding: 80px 20px;
  background: #f5f7fa;
  text-align: center;
}

.groups-section .section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #071428;
}

.groups-section .line {
  width: 60px;
  height: 3px;
  background: #1e90ff;
  margin: 0 auto 40px;
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.groups-section .sp-card {
  background: #0a1828;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.groups-section .sp-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.groups-section .sp-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a1828;
}

.groups-section .sp-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

.groups-section .sp-body {
  padding: 15px 20px;
}

.groups-section .sp-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.groups-section .sp-body p {
  font-size: 0.95rem;
  line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero { height: 500px; }
  .slide-content { margin-top: 60px; }
  .slide-content h1 { font-size: 4.5vw; }
}

@media (max-width: 600px) {
  .hero { height: 420px; }
  .slide-content { margin-top: 40px; }
  .slide-content h1 { font-size: 5vw; }
}

@media (min-width: 1200px) {
  .slide-content h1 { font-size: 36px; }
}

@media (min-width: 1400px) {
  .hero { height: 780px; }
  .slide-content h1 { font-size: 42px; }
}