/* ───────────────────────── */
/* VARIABLES GLOBAL SITE */
/* ───────────────────────── */
:root {
  --navy: #1b3a5c;
  --blue: #0078c8;
  --blue-dark: #005fa3;
  --text: #444;
  --light-bg: #f4f7fb;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 10px 25px rgba(0,0,0,0.08);
}

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

body {
  font-family: 'Lato', sans-serif;
  background: var(--light-bg);
  color: var(--text);
  line-height: 1.7;
}

/* ───────────────────────── */
/* HERO ÉCOLE */
/* ───────────────────────── */
.hero-section {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: url("../../../image/WhatsApp Image 2026-03-18 at 14.30.15 (1).jpeg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.2);
}

.hero-container {
  position: relative;
  max-width: 900px;
  padding: 20px;
}

.hero-container h1 {
  font-size: 38px;
  font-weight: 800;
}

.hero-container h2 {
  font-size: 20px;
  margin-top: 10px;
}

.hero-container p {
  margin-top: 10px;
  opacity: 0.9;
}

/* ───────────────────────── */
/* SECTIONS GLOBALES */
/* ───────────────────────── */
.section {
  padding: 80px 20px;
}

.section-container {
  max-width: 1150px;
  margin: auto;
}

/* ───────────────────────── */
/* LAYOUT ABOUT (IMAGE + TEXTE) */
/* ───────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.about-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: var(--navy);
}

.about-text p,
.about-text li {
  font-size: 15px;
}

.about-text ul {
  padding-left: 20px;
}

.about-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ───────────────────────── */
/* TITRE SECTION */
/* ───────────────────────── */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 40px;
  color: var(--navy);
}

/* ───────────────────────── */
/* GRID 3 CARTES */
/* ───────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* ───────────────────────── */
/* CARTES IMAGE */
/* ───────────────────────── */
.card-img {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.card-img:hover {
  transform: translateY(-6px);
}

.card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card-img h3 {
  padding: 15px;
  font-size: 18px;
  color: var(--navy);
}

.card-img p {
  padding: 0 15px 15px;
  font-size: 14px;
}

/* ───────────────────────── */
/* STATS */
/* ───────────────────────── */
.stats-section {
  background: var(--navy);
  color: #fff;
  padding: 70px 20px;
}

.stats-container {
  max-width: 1000px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-box h3 {
  font-size: 40px;
  color: var(--blue);
}

.stat-box p {
  margin-top: 5px;
  font-size: 14px;
}

/* ───────────────────────── */
/* RESULTATS */
/* ───────────────────────── */
.card-result {
  background: #fff;
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.3s;
}

.card-result:hover {
  transform: translateY(-5px);
}

.card-result h3 {
  color: var(--blue);
  margin-bottom: 10px;
}

/* ───────────────────────── */
/* AMBITION / VISION */
/* ───────────────────────── */
.ambition-bg {
  position: relative;
  background: url("../../image/ecole/vision.jpg") center/cover no-repeat;
  color: #fff;
}

.ambition-content {
  position: relative;
  text-align: center;
}

.ambition-content h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

/* ================= GALERIE ================= */
.gallery-section {
  padding: 80px 20px;
  background: #f6f9fc;
}

/* TITRE */
.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: 30px;
  font-weight: 800;
  color: #1b3a5c;
}

.section-header .line {
  width: 60px;
  height: 4px;
  background: #0078c8;
  margin: 10px auto;
}

/* GRID */
.gallery-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* BOX */
.gallery-box {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: 0.3s ease;
}

/* IMAGE */
.gallery-box img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s ease;
}

/* HOVER EFFECT */
.gallery-box:hover img {
  transform: scale(1.08);
}

.gallery-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-box img {
    height: 260px;
  }
}

/* ───────────────────────── */
/* SECTIONS LIGHT */
/* ───────────────────────── */
.bg-light {
  background: #fff;
}

/* ───────────────────────── */
/* RESPONSIVE */
/* ───────────────────────── */
@media (max-width: 768px) {

  .about-layout {
    grid-template-columns: 1fr;
  }

  .hero-container h1 {
    font-size: 26px;
  }

  .hero-container h2 {
    font-size: 16px;
  }

  .about-image img {
    height: 250px;
  }
}


