/* ==========================================================
   VARIABLES GLOBALES (identiques aux autres pages)
   ========================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
:root {
  --color-primary: #013c54; /* Bleu-canard foncé */
  --color-secondary: #005b7f; /* Teal moyen */
  --color-accent: #008faf; /* Teal clair  */
  --color-light: #f4f6f8;
  --color-white: #ffffff;
  --color-gray: #555;
  --font-base: "Poppins", sans-serif;
  --radius: 10px;
  --spacing: 1.5rem;
  --transition: 0.3s ease;
  --shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ==========================================================
   RESET MINIMAL
   ========================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: var(--font-base);
  color: var(--color-gray);
  background: var(--color-light);
  line-height: 1.6;
}

/* ==========================================================
   STRUCTURE GLOBALE
   ========================================================== */
.container {
  width: 90%;
  max-width: 1200px;
  margin-inline: auto;
}
.section {
  padding: calc(var(--spacing) * 2) 0;
}
.section.alt {
  background: var(--color-light);
}

/* ==========================================================
   1 ▸ HERO
   ========================================================== */
.about-hero {
  position: relative;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/about/hero.jpg") center/cover no-repeat;
  filter: blur(2px);
  transform: scale(1.05);
}
.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 60, 84, 0.55);
}
.about-hero .hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--color-white);
  animation: fadeUp 0.8s 0.2s forwards;
  opacity: 0;
}
.about-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.about-hero p {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  max-width: 700px;
  margin-inline: auto;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================
   2 ▸ NOTRE MISSION
   ========================================================== */
.grid-2 {
  display: grid;
  gap: var(--spacing);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}
.about-mission .mission-text h2 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.mission-text p {
  margin-bottom: 1rem;
}
.mission-img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: url("/images/about/mission.jpg") center/cover no-repeat;
}

/* ==========================================================
   3 ▸ VALEURS
   ========================================================== */
.about-values {
  position: relative;
  text-align: center;
}
.about-values h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 2rem;
}
.values-grid {
  display: grid;
  gap: var(--spacing);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  list-style: none;
}
.values-grid li {
  background: var(--color-white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.values-grid li:hover {
  transform: translateY(-6px);
}
.values-grid i {
  font-size: 1.8rem;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}
.values-grid h3 {
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}
.values-grid p {
  font-size: 0.95rem;
}

/* ==========================================================
   4 ▸ POURQUOI NOUS CHOISIR
   ========================================================== */
.about-why .why-text h2 {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.why-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.why-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
}
.why-list i {
  color: var(--color-secondary);
}
.why-img {
  width: 100%;
  height: 320px;
  border-radius: var(--radius);
  background: url("/images/about/remote-support.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
}
/* inversion « Z-layout » sur desktop */
@media (min-width: 992px) {
  .grid-2.reverse {
    grid-template-columns: 1fr 1fr;
  }
  .grid-2.reverse > .why-img {
    order: 2;
  }
  .grid-2.reverse > .why-text {
    order: 1;
    padding-right: var(--spacing);
  }
}

/* ==========================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================== */
@media (max-width: 768px) {
  .about-hero {
    height: 45vh;
  }
  .mission-img,
  .why-img {
    height: 240px;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 576px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
  .about-hero {
    height: 38vh;
  }
}
