/* ─── VARIABLES ─── */
:root {
  --navy: #1b3a5c;
  --blue: #0078c8;
  --blue-dark: #005fa3;
  --text: #444;
  --light-bg: #f9fbfd;
  --white: #fff;
}

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

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  scroll-behavior: smooth; /* smooth scroll pour liens ancres */
}

/* ───────────────────────── */
/* ABOUT */
/* ───────────────────────── */
.about-section {
  max-width: 1100px;
  margin: 70px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 60px;
  align-items: center;
}

.about-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-text h2 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
}

.section-line {
  width: 50px;
  height: 4px;
  background: var(--blue);
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 15px;
}

.btn-read {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 12px 25px;
  font-size: 11px;
  text-transform: uppercase;
  border-radius: 3px;
}

.btn-read:hover {
  background: var(--blue-dark);
}

/* ───────────────────────── */
/* INSIGHTS */
/* ───────────────────────── */
.insights-section {
  padding: 80px 20px 120px;
  background: var(--light-bg);
}

.insights-inner {
  max-width: 1200px;
  margin: auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

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

.section-header .line {
  width: 60px;
  height: 4px;
  background: var(--blue);
  margin: 10px auto;
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.insight-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  width: 100%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.insight-item:hover {
  transform: translateY(-5px);
}

.insight-date {
  min-width: 70px;
  text-align: center;
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 10px;
}

.thumb-bg {
  width: 130px;
  height: 90px;
  border-radius: 10px;
  background: rgba(0,120,200,0.1);
}

.insight-body h3 {
  font-size: 18px;
}

.insight-body p {
  font-size: 14px;
}

.read-more-link {
  color: var(--blue);
  font-weight: 600;
}

/* ───────────────────────── */
/* SPOTLIGHT (REFERENCE) */
/* ───────────────────────── */
.spotlight-section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.sp-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  transition: 0.3s;
}

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

.sp-img {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sp-body {
  padding: 15px;
}

.sp-body h3 {
  font-size: 18px;
}

/* ───────────────────────── */
/* GROUPES / FONDATIONS */
/* ───────────────────────── */
.groups-section {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
}

.groups-section .spotlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.groups-section .sp-card {
  background: #f5f5f5; /* fond gris léger */
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, opacity 0.8s ease, transform 0.8s ease;
  opacity: 0; /* invisible au départ */
  transform: translateY(30px); /* slide-in initial */
}

.groups-section .sp-card.show {
  opacity: 1;
  transform: translateY(0);
}

.groups-section .sp-img {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.groups-section .sp-body {
  padding: 15px;
  text-align: center;
}

.groups-section .sp-body h3 {
  font-size: 16px;
  font-weight: 700;
}

/* ───────────────────────── */
/* QUOTES */
/* ───────────────────────── */
.quotes-section {
  background: var(--navy);
  padding: 70px 20px;
  text-align: center;
  color: #fff;
}

/* ───────────────────────── */
/* RESPONSIVE */
/* ───────────────────────── */
@media (max-width: 900px) {
  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .insight-item {
    flex-direction: column;
  }

  .spotlight-grid,
  .groups-section .spotlight-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .section-header h2 {
    font-size: 22px;
  }

  .btn-view-more {
    width: 100%;
  }
}

/* ─── BOUTON VOIR TOUS LES GROUPES / FONDATIONS ─── */
.groups-section .btn-view-all {
  display: inline-block;
  padding: 12px 25px;
  background: var(--blue);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 30px;
  text-align: center;
}

.groups-section .btn-view-all:hover {
  background: var(--blue-dark);
}

@media (max-width: 600px) {
  .groups-section .btn-view-all {
    width: 100%;
  }
}
/* ─── BOUTON VOIR TOUS LES GROUPES / FONDATIONS ─── */
.groups-section .btn-view-all {
  display: inline-block;
  padding: 12px 25px;
  background: var(--blue);
  color: #fff;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
  margin-top: 30px;
  text-align: center;
}

.groups-section .btn-view-all:hover {
  background: var(--blue-dark);
}

@media (max-width: 600px) {
  .groups-section .btn-view-all {
    width: 100%;
  }
}

