/* =========================================================
   CSAPA — Page d'accueil v3.0
   Design BNP Paribas-inspired : spacieux, cartes arrondies,
   sections alternées, typographie aérée
   ========================================================= */

/* ── VARIABLES ────────────────────────────────────────────── */
:root {
  --home-radius: 24px;
  --home-shadow: 0 2px 12px rgba(12,27,58,.06);
  --home-shadow-hover: 0 12px 48px rgba(12,27,58,.12);
  --home-gap: 2rem;
}

/* ===========================================================
   1. HERO — Plein écran gradient + recherche centrale
   =========================================================== */
.home-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0C1B3A 0%, #0e244a 50%, #1B6B3A 100%);
}

/* Image de fond */
.home-hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  pointer-events: none;
}

/* Pattern overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(200,169,81,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(27,107,58,0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.home-hero-content { position: relative; z-index: 2; padding: 3rem 0; }

/* Tag label */
.home-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(200,169,81,0.12);
  border: 1px solid rgba(200,169,81,0.25);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--csapa-or);
  letter-spacing: 0.03em;
  backdrop-filter: blur(8px);
}
.hero-tag-dot {
  width: 8px; height: 8px;
  background: var(--csapa-or);
  border-radius: 50%;
  animation: pulse-gold 2s infinite;
}

/* Title */
.home-hero-title {
  color: #fff;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 1.5rem;
}
.home-hero-title .text-or { color: var(--csapa-or); }

/* Lead */
.home-hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  max-width: 600px;
}

/* Search bar BNP style */
.hero-search-form {
  display: flex;
  max-width: 560px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-pill);
  overflow: hidden;
  backdrop-filter: blur(12px);
  transition: var(--transition);
}
.hero-search-form:focus-within {
  background: rgba(255,255,255,0.15);
  border-color: var(--csapa-or);
  box-shadow: 0 0 0 4px rgba(200,169,81,0.15);
}
.hero-search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.9rem 1.4rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-corps);
  outline: none;
}
.hero-search-input::placeholder { color: rgba(255,255,255,0.45); }
.hero-search-btn {
  background: var(--csapa-or);
  color: var(--csapa-bleu);
  border: none;
  padding: 0.9rem 1.6rem;
  font-weight: 700;
  font-size: 0.88rem;
  font-family: var(--font-corps);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
}
.hero-search-btn:hover { background: #b8952f; }

/* CTA buttons */
.home-hero-ctas .btn { border-radius: var(--radius-pill); }

/* Hero indicators */
.hero-indicators {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.hero-indicator {
  display: flex;
  flex-direction: column;
}
.hero-indicator-value {
  font-family: var(--font-titre);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.hero-indicator-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.3rem;
}
.hero-indicator-sep {
  width: 1px;
  background: rgba(255,255,255,0.15);
  align-self: stretch;
}

/* Flash card */
.hero-flash-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--home-radius);
  overflow: hidden;
}
.hero-flash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero-flash-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hero-flash-date { font-size: 0.72rem; color: rgba(255,255,255,0.45); }
.hero-flash-img { position: relative; }
.hero-flash-img img { width: 100%; height: 200px; object-fit: cover; }
.hero-flash-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.6) 0%, transparent 60%);
}
.hero-flash-img-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-size: 0.65rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
}
.hero-flash-body { padding: 1rem 1.25rem; }
.hero-flash-title { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.4rem; }
.hero-flash-title a { color: #fff; }
.hero-flash-title a:hover { color: var(--csapa-or); }
.hero-flash-chapeau { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.55; margin: 0; }
.hero-flash-meta { display: flex; gap: 1rem; font-size: 0.7rem; color: rgba(255,255,255,0.4); margin-top: 0.6rem; }
.hero-flash-footer {
  padding: 0.75rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  gap: 0.75rem;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 3;
}
.hero-scroll-indicator span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  animation: float 2s infinite;
}
.hero-scroll-indicator span:nth-child(2) { animation-delay: 0.2s; opacity: 0.5; }
.hero-scroll-indicator span:nth-child(3) { animation-delay: 0.4s; opacity: 0.3; }

/* ===========================================================
   2. STATS BAND — BNP chiffres clés
   =========================================================== */
.stats-band {
  background: #fff;
  padding: 0;
  border-bottom: 1px solid var(--csapa-gris);
  position: relative;
  z-index: 10;
}
.stats-band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.stat-item {
  text-align: center;
  padding: 1rem 2.5rem;
  flex: 1;
  min-width: 140px;
}
.stat-value {
  font-family: var(--font-titre);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--csapa-bleu);
  line-height: 1;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #4b5563;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.stat-sub {
  font-size: 0.7rem;
  color: var(--csapa-or);
  margin-top: 0.15rem;
}
.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--csapa-gris);
  flex-shrink: 0;
}

/* ===========================================================
   3. AUDIENCE TABS — BNP "Je suis" quick access
   =========================================================== */
.audience-section {
  background: var(--csapa-light);
}
.audience-tabs {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.audience-tab-btn {
  background: #fff;
  border: 2px solid var(--csapa-gris);
  border-radius: var(--radius-pill);
  padding: 0.65rem 1.5rem;
  font-family: var(--font-corps);
  font-size: 0.88rem;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.audience-tab-btn:hover { border-color: var(--csapa-or); color: var(--csapa-bleu); }
.audience-tab-btn.active {
  background: var(--csapa-bleu);
  border-color: var(--csapa-bleu);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.audience-panel { display: none; }
.audience-panel.active { display: block; animation: fadeInUp 0.4s ease; }

.audience-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.audience-action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border-radius: var(--home-radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  color: var(--csapa-texte);
}
.audience-action-card:hover {
  box-shadow: var(--home-shadow-hover);
  transform: translateY(-3px);
  color: var(--csapa-bleu);
}
.audience-action-icon {
  width: 50px; height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.audience-action-label {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.3;
  flex: 1;
}
.audience-action-arrow {
  color: var(--csapa-or);
  opacity: 0;
  transition: var(--transition);
  font-size: 0.8rem;
}
.audience-action-card:hover .audience-action-arrow { opacity: 1; transform: translateX(3px); }

/* ===========================================================
   4. MISSIONS — 3 cards image + overlay
   =========================================================== */
.mission-section {
  padding: 0;
}
.mission-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 500px;
}
.mission-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  min-height: 500px;
}
.mission-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.mission-card:hover .mission-card-img { transform: scale(1.08); }
.mission-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.95) 0%, rgba(12,27,58,0.5) 50%, transparent 100%);
}
.mission-card-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  color: #fff;
}
.mission-card-icon {
  width: 56px; height: 56px;
  background: rgba(200,169,81,0.15);
  border: 1px solid rgba(200,169,81,0.3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
  color: var(--csapa-or);
  margin-bottom: 1.25rem;
  backdrop-filter: blur(8px);
}
.mission-card-title {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.mission-card-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.mission-card-cta {
  display: inline-flex;
  align-items: center;
  color: var(--csapa-or);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.mission-card:hover .mission-card-cta { color: #fff; }

/* ===========================================================
   5. ACTUALITES — Featured + mini cards BNP style
   =========================================================== */
.section-actualites { background: #fff; }

.actu-featured {
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  background: #fff;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.actu-featured:hover { box-shadow: var(--home-shadow-hover); }
.actu-featured-img { position: relative; overflow: hidden; }
.actu-featured-img img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.actu-featured:hover .actu-featured-img img { transform: scale(1.04); }
.actu-featured-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,27,58,0.3) 0%, transparent 50%);
}
.actu-featured-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.actu-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.actu-cat-badge {
  font-size: 0.6rem !important;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-pill);
}
.actu-cat-badge-sm { font-size: 0.55rem !important; padding: 0.15rem 0.45rem; border-radius: var(--radius-pill); }
.csapa-badge-pilier { font-size: 0.6rem; padding: 0.2rem 0.55rem; border-radius: var(--radius-pill); font-weight: 700; }
.actu-date { font-size: 0.75rem; }
.actu-featured-title { font-size: 1.35rem; line-height: 1.3; margin-bottom: 0.5rem; }
.actu-featured-title a { color: var(--csapa-bleu); }
.actu-featured-title a:hover { color: var(--csapa-or); }
.actu-featured-chapeau { font-size: 0.9rem; color: #6b7280; line-height: 1.65; }
.actu-featured-footer { display: flex; align-items: center; margin-top: auto; }

.actu-mini {
  display: flex;
  gap: 0;
  background: #fff;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  height: calc(33.333% - 0.67rem);
}
.actu-mini:hover { box-shadow: var(--home-shadow-hover); transform: translateX(4px); }
.actu-mini-thumb { width: 120px; flex-shrink: 0; overflow: hidden; }
.actu-mini-thumb img { width: 100%; height: 100%; object-fit: cover; }
.actu-mini-pilier-bar { width: 4px; flex-shrink: 0; }
.actu-mini-body { padding: 1rem 1.15rem; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.actu-mini-title { font-size: 0.92rem; line-height: 1.3; margin-bottom: 0.2rem; }
.actu-mini-title a { color: var(--csapa-bleu); }
.actu-mini-title a:hover { color: var(--csapa-or); }
.actu-mini-chapeau { font-size: 0.78rem; line-height: 1.5; }

/* ===========================================================
   6. PILIERS — 6 cards en grille
   =========================================================== */
.section-piliers { background: var(--csapa-light); }

.pilier-card {
  position: relative;
  background: #fff;
  border-radius: var(--home-radius);
  padding: 2rem;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  overflow: hidden;
  border: 2px solid transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.pilier-card:hover {
  box-shadow: var(--home-shadow-hover);
  transform: translateY(-5px);
  border-color: var(--pilier-color);
}
.pilier-card-bg-letter {
  position: absolute;
  right: -10px;
  top: -15px;
  font-family: var(--font-titre);
  font-size: 8rem;
  font-weight: 700;
  color: var(--pilier-color);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
}
.pilier-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.pilier-icon-box {
  width: 48px; height: 48px;
  background: color-mix(in srgb, var(--pilier-color) 10%, transparent);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pilier-color);
  font-size: 1.1rem;
}
.pilier-code-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--pilier-color);
  background: color-mix(in srgb, var(--pilier-color) 8%, transparent);
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
}
.pilier-card-title {
  font-size: 1.25rem;
  color: var(--csapa-bleu);
  margin-bottom: 0.5rem;
}
.pilier-card-mission {
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.6;
  flex: 1;
  margin-bottom: 1.25rem;
}
.pilier-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--csapa-gris);
}
.pilier-stats { display: flex; gap: 1rem; }
.pilier-stat { font-size: 0.78rem; color: #9ca3af; }
.pilier-stat strong { color: var(--csapa-bleu); font-weight: 700; }
.pilier-explore-btn {
  background: transparent;
  color: var(--pilier-color);
  border: 2px solid var(--pilier-color);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-corps);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
}
.pilier-explore-btn:hover {
  background: var(--pilier-color);
  color: #fff;
}

/* ===========================================================
   7. IMPACT — Cards sur image de fond
   =========================================================== */
.impact-section {
  position: relative;
  padding: var(--section-py) 0;
  overflow: hidden;
}
.impact-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impact-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(12,27,58,0.92) 0%, rgba(12,27,58,0.85) 50%, rgba(27,107,58,0.8) 100%);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.impact-card {
  position: relative;
  border-radius: var(--home-radius);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  transition: var(--transition);
}
.impact-card:hover { transform: translateY(-5px); }
.impact-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.impact-card-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--home-radius);
}
.impact-card-content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
  color: #fff;
}
.impact-card-icon { font-size: 1.25rem; margin-bottom: 0.75rem; opacity: 0.8; }
.impact-card-number {
  font-family: var(--font-titre);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.impact-card-label {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}
.impact-card-story { font-size: 0.8rem; opacity: 0.7; line-height: 1.5; margin: 0; }

/* ===========================================================
   8. PRESIDENT QUOTE — BNP testimonial style
   =========================================================== */
.president-quote-section {
  background: #fff;
  padding: var(--section-py) 0;
}
.pq-photo-wrapper {
  position: relative;
  height: 100%;
  border-radius: var(--home-radius);
  overflow: hidden;
}
.pq-photo {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}
.pq-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(to top, rgba(12,27,58,0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
}
.pq-photo-caption strong { color: #fff; font-size: 1rem; }
.pq-photo-caption span { color: rgba(255,255,255,0.6); font-size: 0.78rem; }

.pq-content {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  background: var(--csapa-light);
  border-radius: 0 var(--home-radius) var(--home-radius) 0;
}
.pq-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--csapa-or);
  margin-bottom: 1.5rem;
}
.pq-quote {
  font-family: var(--font-titre);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--csapa-bleu);
  line-height: 1.65;
  border-left: 4px solid var(--csapa-or);
  padding-left: 1.5rem;
  margin: 0 0 1.5rem 0;
}
.pq-source {
  font-size: 0.78rem;
  color: #9ca3af;
}
.pq-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ===========================================================
   9. EVENTS AGENDA — Cards BNP style
   =========================================================== */
.section-agenda { background: #fff; }

.event-home-card {
  background: #fff;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.event-home-card:hover {
  box-shadow: var(--home-shadow-hover);
  transform: translateY(-5px);
}
.event-home-img {
  position: relative;
  overflow: hidden;
}
.event-home-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.event-home-card:hover .event-home-img img { transform: scale(1.05); }
.event-home-img-overlay {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  mix-blend-mode: multiply;
}
.event-home-date-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #fff;
  border-radius: 14px;
  padding: 0.6rem 0.75rem;
  text-align: center;
  min-width: 60px;
  box-shadow: var(--shadow-md);
}
.event-home-day {
  display: block;
  font-family: var(--font-titre);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--csapa-bleu);
  line-height: 1;
}
.event-home-month {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--csapa-or);
}
.event-home-year { display: block; font-size: 0.6rem; color: #9ca3af; }
.event-home-live-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #dc3545;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  animation: pulse-red 2s infinite;
}
.event-home-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-home-title { font-size: 1.05rem; line-height: 1.3; margin-bottom: 0.5rem; }
.event-home-title a { color: var(--csapa-bleu); }
.event-home-title a:hover { color: var(--csapa-or); }
.event-home-lieu { margin-bottom: 0.35rem; }
.event-home-desc { flex: 1; }
.event-home-capacity {
  font-size: 0.75rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--csapa-gris);
}
.event-home-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--csapa-gris);
}

/* ===========================================================
   10. TEMOIGNAGES
   =========================================================== */
.testimonials-section { background: var(--csapa-light); }

.testimonial-card {
  background: #fff;
  border-radius: var(--home-radius);
  padding: 2rem;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { box-shadow: var(--home-shadow-hover); transform: translateY(-3px); }
.testimonial-stars { display: flex; gap: 0.15rem; }
.testimonial-stars i { font-size: 0.8rem; }
.testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: #4b5563;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.5rem;
  border: none;
  padding: 0;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--csapa-gris);
}
.testimonial-avatar { width: 50px; height: 50px; border-radius: var(--radius-pill); overflow: hidden; flex-shrink: 0; }
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testimonial-info { display: flex; flex-direction: column; }
.testimonial-name { font-size: 0.88rem; color: var(--csapa-bleu); }
.testimonial-role { font-size: 0.75rem; color: #9ca3af; }

/* ===========================================================
   11. DASHBOARD / PUBLICATIONS / PRESS / TRUST
   =========================================================== */
/* Dashboard */
.dashboard-section { background: var(--csapa-bleu); color: #fff; }
.dashboard-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--home-radius);
  padding: 1.75rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.dashboard-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* Entités */
.entity-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}
.entity-item:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.entity-logo {
  width: 44px; height: 44px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--csapa-light);
  display: flex; align-items: center; justify-content: center;
}
.entity-logo img { width: 100%; height: 100%; object-fit: cover; }
.entity-info { flex: 1; min-width: 0; }
.entity-name { font-size: 0.85rem; font-weight: 600; color: var(--csapa-bleu); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entity-pilier-tag { font-size: 0.65rem; }

/* Publications */
.publication-card {
  background: #fff;
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: var(--home-shadow);
  transition: var(--transition);
}
.publication-card:hover { box-shadow: var(--home-shadow-hover); transform: translateY(-4px); }
.publication-cover { position: relative; overflow: hidden; }
.publication-cover img { width: 100%; height: 220px; object-fit: cover; transition: transform 0.5s ease; }
.publication-card:hover .publication-cover img { transform: scale(1.04); }
.publication-body { padding: 1.5rem; }
.publication-body h4 { font-size: 1rem; line-height: 1.3; margin-bottom: 0.4rem; }
.publication-body h4 a { color: var(--csapa-bleu); }
.publication-body h4 a:hover { color: var(--csapa-or); }

/* Press quotes */
.press-card {
  background: #fff;
  border-radius: var(--home-radius);
  padding: 2rem;
  box-shadow: var(--home-shadow);
  border-left: 4px solid var(--csapa-or);
  transition: var(--transition);
}
.press-card:hover { box-shadow: var(--home-shadow-hover); transform: translateY(-3px); }
.press-media { font-size: 0.78rem; font-weight: 700; color: var(--csapa-or); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.press-quote { font-family: var(--font-titre); font-size: 1.1rem; font-style: italic; color: var(--csapa-bleu); line-height: 1.55; margin-bottom: 0.75rem; }
.press-date { font-size: 0.72rem; color: #9ca3af; }

/* Trust / Confiance */
.trust-section { background: var(--csapa-light); }
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--home-radius);
  box-shadow: var(--home-shadow);
  transition: var(--transition);
}
.trust-item:hover { box-shadow: var(--home-shadow-hover); }
.trust-icon {
  width: 56px; height: 56px;
  background: rgba(200,169,81,0.08);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--csapa-or);
  font-size: 1.25rem;
  flex-shrink: 0;
}
.trust-label { font-size: 1rem; font-weight: 600; color: var(--csapa-bleu); margin-bottom: 0.25rem; }
.trust-desc { font-size: 0.85rem; color: #6b7280; line-height: 1.55; }

/* ===========================================================
   12. CTA BANNER — BNP call-to-action section
   =========================================================== */
.cta-banner-section {
  background: linear-gradient(135deg, var(--csapa-bleu) 0%, #162e5e 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-banner-section::before {
  content: '';
  position: absolute;
  right: -10%;
  top: -30%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(200,169,81,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.cta-banner-content h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 1rem;
}
.cta-banner-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.cta-banner-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

/* ===========================================================
   13. NEWSLETTER SECTION — avant footer
   =========================================================== */
.newsletter-section {
  background: #fff;
  padding: 4rem 0;
  border-top: 1px solid var(--csapa-gris);
}
.newsletter-card {
  background: var(--csapa-light);
  border-radius: var(--home-radius);
  padding: 3rem;
  display: flex;
  align-items: center;
  gap: 3rem;
}
.newsletter-card-text { flex: 1; }
.newsletter-card-text h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.newsletter-card-text p { color: #6b7280; margin: 0; }
.newsletter-card-form { flex: 1; display: flex; gap: 0; }
.newsletter-card-form input {
  flex: 1;
  padding: 0.85rem 1.25rem;
  border: 2px solid var(--csapa-gris);
  border-right: none;
  border-radius: var(--radius-pill) 0 0 var(--radius-pill);
  font-size: 0.92rem;
  font-family: var(--font-corps);
  outline: none;
  background: #fff;
  transition: var(--transition);
}
.newsletter-card-form input:focus { border-color: var(--csapa-or); }
.newsletter-card-form button {
  padding: 0.85rem 1.8rem;
  background: var(--csapa-bleu);
  color: #fff;
  border: 2px solid var(--csapa-bleu);
  border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-corps);
  transition: var(--transition);
  white-space: nowrap;
}
.newsletter-card-form button:hover { background: var(--csapa-or); border-color: var(--csapa-or); color: var(--csapa-bleu); }

/* ===========================================================
   RESPONSIVE
   =========================================================== */
@media (max-width: 1199px) {
  .audience-actions-grid { grid-template-columns: repeat(2, 1fr); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991.98px) {
  .mission-cards-grid { grid-template-columns: 1fr; }
  .mission-card { min-height: 350px; }
  .stats-band-inner { flex-wrap: wrap; gap: 0; }
  .stat-item { min-width: 120px; padding: 0.75rem 1.5rem; }
  .stat-divider { display: none; }
  .pq-content { border-radius: 0 0 var(--home-radius) var(--home-radius); padding: 2rem 1.5rem; }
  .newsletter-card { flex-direction: column; gap: 1.5rem; text-align: center; }
  .newsletter-card-form { width: 100%; }
}

@media (max-width: 991.98px) {
  /* Hero padding on tablets */
  .home-hero { padding: 3rem 0 2.5rem; }
  .home-hero-content { padding: 2rem 0; }
  .home-hero-title { font-size: clamp(1.9rem, 5vw, 2.8rem); }
  .home-hero-lead { font-size: 1rem; }
  .home-hero-ctas { gap: 0.75rem; }
  .home-hero-ctas .btn-csapa-primary,
  .home-hero-ctas .btn-csapa-white,
  .home-hero-ctas .btn-csapa-lg { font-size: 0.85rem; padding: 0.7rem 1.4rem; }
  .hero-flash-card { margin-top: 1.5rem; }
}

@media (max-width: 767px) {
  /* ── HERO MOBILE — marges intérieures ── */
  .home-hero {
    min-height: auto;
    padding: 3rem 0 2.5rem;
  }
  .home-hero-content {
    padding: 1.5rem 1.25rem;
  }
  /* Forcer le container à ne pas toucher les bords */
  .home-hero .container,
  .home-hero .container-xl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  .home-hero-tag {
    font-size: 0.7rem;
    padding: 0.35rem 0.85rem;
  }
  .home-hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    margin-top: 1rem;
  }
  .home-hero-lead {
    font-size: 0.92rem;
    line-height: 1.65;
  }
  .hero-search-form {
    flex-direction: column;
    border-radius: var(--radius-md);
    max-width: 100%;
  }
  .hero-search-input { padding: 0.8rem 1.1rem; font-size: 0.88rem; }
  .hero-search-btn { border-radius: 0 0 var(--radius-md) var(--radius-md); }

  /* Hero CTAs — stack en colonne */
  .home-hero-ctas {
    flex-direction: column;
    gap: 0.65rem;
  }
  .home-hero-ctas .btn-csapa-primary,
  .home-hero-ctas .btn-csapa-white,
  .home-hero-ctas .btn-csapa-lg {
    width: 100%;
    justify-content: center;
    font-size: 0.88rem;
    padding: 0.75rem 1.2rem;
  }

  /* Hero indicators — 2x2 grid */
  .hero-indicators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .hero-indicator-sep { display: none; }
  .hero-indicator-value { font-size: 1.5rem; }
  .hero-indicator-label { font-size: 0.68rem; }

  /* Flash card */
  .hero-flash-card { margin-top: 1.5rem; }
  .hero-flash-img img { height: 160px; }
  .hero-flash-title { font-size: 0.95rem; }
  .hero-flash-footer { flex-direction: column; gap: 0.5rem; }
  .hero-flash-footer .btn-csapa-primary,
  .hero-flash-footer .btn-csapa-ghost { width: 100%; justify-content: center; }

  /* ── Autres sections mobile ── */
  .audience-actions-grid { grid-template-columns: 1fr; }
  .impact-grid { grid-template-columns: 1fr; }
  .stat-value { font-size: 1.6rem; }
  .stat-item { padding: 0.6rem 1rem; }
  .audience-tab-btn { font-size: 0.75rem; padding: 0.45rem 0.85rem; }
  .press-card { padding: 1.25rem; }
  .press-quote { font-size: 0.95rem; }
  .testimonial-card { padding: 1.5rem; }
  .newsletter-card { padding: 1.75rem 1.25rem; }
  .newsletter-card-form { flex-direction: column; }
  .newsletter-card-form input { border-radius: var(--radius-pill); border-right: 2px solid var(--csapa-gris); }
  .newsletter-card-form input:focus { border-color: var(--csapa-or); }
  .newsletter-card-form button { border-radius: var(--radius-pill); border: 2px solid var(--csapa-bleu); }
  .cta-banner-section { padding: 3.5rem 0; }
  .cta-banner-content { padding: 0 1rem; }
  .cta-banner-buttons { flex-direction: column; align-items: center; }
  .cta-banner-buttons .btn-csapa-secondary,
  .cta-banner-buttons .btn-csapa-white { width: 100%; justify-content: center; }

  /* Scroll indicator */
  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .home-hero .container,
  .home-hero .container-xl {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .home-hero-title { font-size: 1.5rem; line-height: 1.15; }
  .home-hero-lead { font-size: 0.85rem; }
  .home-hero-tag { font-size: 0.65rem; }
  .hero-indicator-value { font-size: 1.3rem; }
  .stat-label { font-size: 0.68rem; }
}
