/* DSG CI — Styles complémentaires (Tailwind CDN) */
:root {
  --bleu-espoir: #0057ff;
  --orange-solidarite: #ff6b00;
  --vert-impact: #00a86b;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", system-ui, sans-serif;
  color: #1a1a2e;
}

h1, h2, h3, h4, .font-display {
  font-family: "Poppins", system-ui, sans-serif;
}

/* Boutons marque */
.btn-bleu {
  background: var(--bleu-espoir);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-bleu:hover {
  background: #0046cc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 87, 255, 0.35);
  color: #fff;
}

.btn-orange {
  background: var(--orange-solidarite);
  color: #fff;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.btn-orange:hover {
  background: #e05f00;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
  color: #fff;
}

.btn-outline-white {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 9999px;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-white:hover {
  background: #fff;
  color: var(--bleu-espoir);
}

/* Header */
.site-header {
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.nav-link-dsg {
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  position: relative;
}
.nav-link-dsg:hover,
.nav-link-dsg.active {
  color: var(--bleu-espoir);
}
.nav-link-dsg.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 3px;
  background: var(--orange-solidarite);
  border-radius: 2px;
}

/* Hero overlay */
.hero-overlay {
  background: linear-gradient(
    105deg,
    rgba(0, 40, 120, 0.82) 0%,
    rgba(0, 87, 255, 0.55) 55%,
    rgba(0, 168, 107, 0.35) 100%
  );
}

/* Cards */
.card-impact {
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}
.card-impact:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 87, 255, 0.12);
}

.icon-pill {
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* Compteurs */
.counter-value {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  color: var(--bleu-espoir);
  line-height: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Galerie */
.gallery-item img {
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

/* WhatsApp flottant */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 3.75rem;
  height: 3.75rem;
  background: #25d366;
  color: #fff;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, background 0.2s;
}
.whatsapp-float:hover {
  background: #128c7e;
  color: #fff;
  transform: scale(1.08);
}

/* Footer */
.footer-dsg {
  background: #0a1628;
  color: #c8d0dc;
}
.footer-dsg a:hover {
  color: var(--orange-solidarite);
}

/* Page banner */
.page-banner {
  background: linear-gradient(120deg, #0057ff 0%, #00a86b 100%);
  padding: 7.5rem 0 3.5rem;
  color: #fff;
}

@media (max-width: 768px) {
  .page-banner {
    padding-top: 6rem;
  }
}
