:root {
  --color-white: #ffffff;
  --color-darkblue: #0b2545; /* bleu foncé */
  --color-forestgreen: #2e7d32; /* vert forêt */
  --font-family-base: 'Roboto', sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
  font-family: var(--font-family-base);
}


body {
  margin: 0;
  font-family: var(--font-family-base);
  padding: 0;
   height: 100%;
}

:root {
  --font-family: 'Roboto', sans-serif;
  --color-white: #ffffff;
  --color-bleu-fonce: #003366;
  --color-vert-foret: #228B22;
}

/* Hero Section */
.hero-about {
  background: url('./../Gallerie/Apropos_de_nous/Qui\ sommes-nous1.jpg') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  color: var(--color-white);
  font-family: var(--font-family);
  padding: 60px 15px;
}

.hero-about::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-description {
    font-size: 1rem;
  }
}



/* misssion */
:root {
  --color-white: #ffffff;
  --color-darkblue: #0b2545;
  --color-forestgreen: #2e7d32;
  --font-family-base: 'Roboto', sans-serif;
}

/* SECTION MISSION */
.mission-section {
  padding: 60px 20px;
  background-color: var(--color-white);
  color: var(--color-darkblue);
  text-align: center;
}

.mission-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 30px;
  color: var(--color-forestgreen);
}

.mission-text {
  font-size: 1.125rem;
  max-width: 900px;
  margin: 0 auto 50px;
  line-height: 1.7;
  color: var(--color-darkblue);
}

/* CARDS */
.mission-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.mission-card {
  background-color: var(--color-darkblue);
  color: var(--color-white);
  border-radius: 12px;
  padding: 30px 20px;
  width: 220px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.mission-card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--color-forestgreen);
}

.mission-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .mission-card {
    width: 45%;
  }
  .mission-section h2 {
    font-size: 2rem;
  }
  .mission-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .mission-card {
    width: 100%;
  }
  .mission-card i {
    font-size: 2rem;
  }
}

/* Section NOS VALEURS */
:root {
  --color-white: #ffffff;
  --color-darkblue: #0b2545;
  --color-forestgreen: #2e7d32;
  --font-family-base: 'Roboto', sans-serif;
}

.valeurs-section {
  background-color: var(--color-white);
  color: var(--color-darkblue);
  padding: 60px 20px;
  text-align: center;
}

.valeurs-section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--color-forestgreen);
}

.valeurs-section p {
  max-width: 850px;
  margin: 0 auto 40px;
  font-size: 1.125rem;
  line-height: 1.6;
}

/* Container des cartes */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cartes individuelles */
.cards-container .card {
  background-color: var(--color-darkblue);
  color: var(--color-white);
  width: 260px;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.cards-container .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cards-container .card i {
  font-size: 2.3rem;
  color: var(--color-forestgreen);
  margin-bottom: 15px;
}

.cards-container .card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
  .cards-container .card {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .valeurs-section h2 {
    font-size: 2rem;
  }

  .cards-container .card {
    width: 100%;
  }

  .valeurs-section p {
    font-size: 1rem;
    padding: 0 10px;
  }
}

/* Section Inauguration */
:root {
  --color-white: #ffffff;
  --color-darkblue: #0b2545;
  --color-forestgreen: #2e7d32;
  --font-base: 'Roboto', sans-serif;
}

section {
  background-color: var(--color-white);
  color: var(--color-darkblue);
  padding: 60px 20px;
  text-align: center;
}

section h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--color-forestgreen);
}

/* Grille des médias */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

/* Cartes image/vidéo */
.media-card {
  background-color: var(--color-darkblue);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: calc(33.333% - 20px);
  max-width: 320px;
}

.media-card:hover {
  transform: scale(1.03);
}

.media-card img,
.media-card video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive tablette */
@media (max-width: 992px) {
  .media-card {
    width: calc(50% - 20px);
  }
}

/* Responsive mobile */
@media (max-width: 576px) {
  section h2 {
    font-size: 2rem;
  }

  .media-card {
    width: 100%;
  }
}

/* Section Qui sommes-nous */
:root {
  --color-white: #ffffff;
  --color-darkblue: #0b2545;
  --color-forestgreen: #2e7d32;
}

/* Section principale */
.about {
  background-color: var(--color-white);
  padding: 80px 15px;
  overflow: hidden;
}

/* Grille */
.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1140px;
  margin: auto;
  align-items: center;
}

/* Image */
.about-image {
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease;
}

.about-image img:hover {
  transform: scale(1.08);
}

/* Contenu */
.about-content {
  text-align: center;
  padding: 20px;
}

.about-content h2 {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--color-forestgreen);
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-darkblue);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
  }

  .about-content h2 {
    font-size: 2.2rem;
  }

  .about-content p {
    font-size: 1rem;
  }
}

/* Section Engagements */
:root {
  --font-family: 'Roboto', sans-serif;
  --white: #ffffff;
  --bleu-fonce: #003366;
  --vert-foret: #228B22;
  --text-color: #444;
  --section-bg: var(--white);
  --title-color: var(--bleu-fonce);
  --card-bg: #f9f9f9;
  --card-shadow: rgba(0, 0, 0, 0.1);
}

.engagements {
  background-color: var(--section-bg);
  padding: 80px 15px;
  font-family: var(--font-family);
}

.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 50px;
}

.cards-container,
.themes-container,
.events-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
}

.card,
.theme-card,
.event-card {
  background-color: var(--card-bg);
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px var(--card-shadow);
  flex: 1 1 280px;
  max-width: 320px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover,
.theme-card:hover,
.event-card:hover {
  transform: translateY(-10px);
}

.card h3,
.theme-card h3,
.event-card h4 {
  font-size: 1.5rem;
  color: var(--vert-foret);
  font-weight: 600;
  margin-bottom: 15px;
}

.cards-container .card p .card-text {
  font-size: 1rem;
  color: var(--color-white) !important;
  line-height: 1.6;
}

.theme-card p,
.event-card p {
  font-size: 1rem;
  color: var(--text-color);
  line-height: 1.6;
}

.description,
.event-title {
  text-align: center;
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px;
  color: var(--text-color);
}

.event-title {
  font-size: 1.8rem;
  color: var(--bleu-fonce);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .card,
  .theme-card,
  .event-card {
    max-width: 100%;
    flex: 1 1 100%;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 2rem;
  }

  .event-title {
    font-size: 1.4rem;
  }
}

:root {
  --font-family: 'Roboto', sans-serif;
  --color-white: #ffffff;
  --color-bleu-fonce: #003366;
  --color-vert-foret: #228B22;
}

.video-section {
  background-color: var(--color-white);
  color: var(--color-bleu-fonce);
  font-family: var(--font-family);
}

.video-title {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--color-bleu-fonce);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

video {
  width: 100%;
  height: auto;
  border-radius: 12px;
  outline: none;
  background: #000;
}

/* Responsive font size */
@media (max-width: 768px) {
  .video-title {
    font-size: 1.8rem;
  }
}
