/* ============================================================
   ACR EVENTS — CSS PUBLIC v2
   Charte : vert #007A5E / rouge #CE1126 / or #FCD116
   Police : Montserrat
============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

#acr-events-wrap,
#acr-events-wrap * { box-sizing: border-box; margin: 0; padding: 0; }
#acr-events-wrap {
  font-family: 'Montserrat', sans-serif;
  color: #1B1B1B;
  line-height: 1.6;
}

/* ════════════════════════════════════════
   À LA UNE
════════════════════════════════════════ */
.acr-alune {
  position: relative;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 64px;
  background: #0f3d22;
  display: flex;
  align-items: flex-end;
}
.acr-alune-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}
.acr-alune:hover .acr-alune-bg { transform: scale(1); }
.acr-alune-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,.82) 0%,
    rgba(0,0,0,.35) 50%,
    rgba(0,0,0,.05) 100%
  );
}
/* bandeau tricolore camerounais en haut */
.acr-alune::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, #007A5E 33.3%, #FCD116 33.3% 66.6%, #CE1126 66.6%);
  z-index: 5;
}
.acr-alune-content {
  position: relative;
  z-index: 3;
  padding: 48px 52px;
  max-width: 680px;
  width: 100%;
}
.acr-alune-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #CE1126;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.acr-alune-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: acrPulse 1.4s infinite;
}
@keyframes acrPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .4; transform: scale(.6); }
}
.acr-alune-meta {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.acr-alune-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.acr-alune-titre {
  font-size: 34px;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.acr-alune-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #007A5E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 14px;
  text-decoration: none;
  transition: .25s;
  box-shadow: 0 8px 24px rgba(0,122,94,.4);
}
.acr-alune-btn:hover {
  background: #005B46;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,122,94,.5);
  color: #fff;
}
.acr-alune-btn svg { width: 20px; height: 20px; fill: currentColor; }

/* ════════════════════════════════════════
   SECTIONS
════════════════════════════════════════ */
.acr-section { margin-bottom: 64px; }

.acr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}
.acr-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #007A5E;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.acr-section-label::before {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: #007A5E;
  border-radius: 1px;
}
.acr-section-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f1f14;
  margin: 0 0 4px;
  line-height: 1.2;
}
.acr-section-sub { font-size: 14px; color: #666; margin: 0; }

/* ════════════════════════════════════════
   FILTRES
════════════════════════════════════════ */
.acr-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.acr-filter {
  border: 1.5px solid #e0e0e0;
  background: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: .2s;
  color: #555;
}
.acr-filter:hover  { border-color: #007A5E; color: #007A5E; }
.acr-filter.active {
  background: #007A5E;
  border-color: #007A5E;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0,122,94,.25);
}

/* ════════════════════════════════════════
   GRILLE ÉVÉNEMENTS À VENIR
════════════════════════════════════════ */
.acr-upcoming-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.acr-event-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #f0f0f0;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.acr-event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.1);
}
.acr-event-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: #e8f0ec;
}
.acr-event-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.acr-event-card:hover .acr-event-img img { transform: scale(1.06); }
.acr-event-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #e0f0e8, #c8e4d8);
}
.acr-event-date-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: #fff;
  border-radius: 14px;
  padding: 10px 14px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  min-width: 58px;
}
.acr-date-mois {
  display: block;
  font-size: 10px;
  font-weight: 800;
  color: #007A5E;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.acr-date-jour {
  display: block;
  font-size: 26px;
  font-weight: 900;
  color: #1B1B1B;
  line-height: 1.1;
}
.acr-event-body { padding: 22px 24px; }
.acr-event-cat {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.acr-cat-culture     { background: rgba(0,122,94,.1);   color: #007A5E; }
.acr-cat-sport       { background: rgba(206,17,38,.1);  color: #CE1126; }
.acr-cat-integration { background: rgba(252,209,22,.2); color: #7a5a00; }

.acr-event-titre {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.3;
  color: #0f1f14;
}
.acr-event-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.acr-event-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0f0f0;
  padding-top: 16px;
}
.acr-event-heure {
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}
.acr-btn-details {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #007A5E;
  cursor: pointer;
  padding: 0;
  transition: .2s;
}
.acr-btn-details::after { content: ' →'; }
.acr-btn-details:hover  { color: #005B46; letter-spacing: .02em; }

/* ════════════════════════════════════════
   HISTORIQUE
════════════════════════════════════════ */
.acr-section-history {
  background: linear-gradient(135deg, #f0f7f4 0%, #e8f5f0 100%);
  border-radius: 24px;
  padding: 52px 48px;
  position: relative;
  overflow: hidden;
}
.acr-section-history::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007A5E 33.3%, #FCD116 33.3% 66.6%, #CE1126 66.6%);
}
.acr-history-list { display: flex; flex-direction: column; gap: 16px; }
.acr-history-row  { display: flex; align-items: flex-start; gap: 24px; }
.acr-history-month {
  font-size: 13px;
  font-weight: 700;
  color: #007A5E;
  min-width: 96px;
  padding-top: 16px;
  flex-shrink: 0;
}
.acr-history-card {
  flex: 1;
  background: #fff;
  border: 1px solid #e0ede6;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: transform .2s, box-shadow .2s;
}
.acr-history-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0,0,0,.09);
}
.acr-history-thumb {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #e0ede6;
}
.acr-history-info  { flex: 1; }
.acr-history-titre {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #0f1f14;
}
.acr-history-desc {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin-bottom: 12px;
}
.acr-btn-album {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #007A5E;
  cursor: pointer;
  padding: 0;
  transition: .2s;
}
.acr-btn-album:hover { color: #005B46; }

/* ════════════════════════════════════════
   POPUP DÉTAILS
════════════════════════════════════════ */
.acr-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,14,.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
  overflow-y: auto;
  padding: 32px 20px;
}
.acr-popup-overlay.active { opacity: 1; visibility: visible; }
.acr-popup-modal {
  width: min(1000px, 100%);
  margin: auto;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,.22);
  animation: acrSlideUp .4s cubic-bezier(.16,1,.3,1);
}
@keyframes acrSlideUp {
  from { opacity:0; transform:translateY(24px) scale(.97); }
  to   { opacity:1; transform:none; }
}
/* hero popup */
.acr-popup-hero {
  position: relative;
  height: 320px;
  overflow: hidden;
  background: #1a3d2a;
}
.acr-popup-hero img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .92;
}
.acr-popup-hero-grad {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.05) 60%);
}
.acr-popup-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  transition: .25s;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.acr-popup-close:hover { background: #CE1126; color: #fff; transform: rotate(90deg); }
/* body popup */
.acr-popup-body {
  padding: 32px 40px 40px;
}
.acr-popup-top {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-top: -64px;
  position: relative;
  z-index: 5;
  margin-bottom: 28px;
}
.acr-popup-datebox {
  background: #fff;
  border-radius: 18px;
  padding: 16px 14px;
  text-align: center;
  min-width: 76px;
  box-shadow: 0 12px 36px rgba(0,0,0,.14);
  flex-shrink: 0;
  border: 1px solid #eee;
}
.acr-popup-datebox .mois {
  font-size: 10px;
  font-weight: 800;
  color: #007A5E;
  letter-spacing: .12em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.acr-popup-datebox .jour {
  font-size: 36px;
  font-weight: 900;
  color: #0f1f14;
  line-height: 1;
  display: block;
}
.acr-popup-main {
  flex: 1;
  background: #fff;
  border-radius: 20px;
  padding: 22px 26px;
  box-shadow: 0 8px 32px rgba(0,0,0,.07);
  border: 1px solid #f0f0f0;
}
.acr-popup-cat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.acr-popup-title {
  font-size: 22px;
  font-weight: 900;
  color: #0f1f14;
  line-height: 1.2;
  margin-bottom: 12px;
}
.acr-popup-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
}
.acr-popup-infos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}
.acr-info-card {
  background: #f8faf8;
  border: 1px solid #e8eee8;
  border-radius: 14px;
  padding: 16px;
  transition: .2s;
}
.acr-info-card:hover { background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.acr-info-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  color: #999;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.acr-info-value {
  font-size: 14px;
  font-weight: 700;
  color: #0f1f14;
  line-height: 1.3;
}
.acr-popup-about {
  border-left: 3px solid #007A5E;
  background: #f6faf8;
  border-radius: 0 14px 14px 0;
  padding: 18px 22px;
  margin-bottom: 24px;
}
.acr-popup-about h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f1f14;
  margin-bottom: 8px;
}
.acr-popup-about p {
  font-size: 13px;
  color: #555;
  line-height: 1.75;
  margin: 0;
}
.acr-popup-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.acr-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #007A5E;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 12px;
  text-decoration: none;
  transition: .25s;
  box-shadow: 0 6px 20px rgba(0,122,94,.3);
}
.acr-btn-wa:hover { background: #005B46; transform: translateY(-2px); color:#fff; }
.acr-btn-wa svg   { width: 18px; height: 18px; fill: currentColor; }
.acr-btn-close-popup {
  background: #f4f4f4;
  color: #333;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: .2s;
}
.acr-btn-close-popup:hover { background: #eee; }

/* ════════════════════════════════════════
   GALERIE HISTORIQUE
════════════════════════════════════════ */
.acr-gallery-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10,20,14,.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: .35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.acr-gallery-overlay.active { opacity: 1; visibility: visible; }
.acr-gallery-box {
  width: min(1200px, 100%);
  max-height: 92vh;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,.3);
  animation: acrSlideUp .4s cubic-bezier(.16,1,.3,1);
}
.acr-gallery-header {
  padding: 24px 32px;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.acr-gallery-header-title {
  font-size: 20px;
  font-weight: 900;
  color: #0f1f14;
}
.acr-gallery-header-sub {
  font-size: 13px;
  color: #888;
  margin-top: 3px;
}
.acr-gallery-close {
  width: 42px; height: 42px;
  border: none;
  border-radius: 50%;
  background: #f4f4f4;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.acr-gallery-close:hover { background: #CE1126; color: #fff; transform: rotate(90deg); }
.acr-gallery-main {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  min-height: 0;
  flex: 1;
  overflow: hidden;
}
.acr-gallery-viewer {
  background: #f5f7f5;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 28px;
}
.acr-gallery-big {
  max-width: 100%;
  max-height: 62vh;
  object-fit: contain;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  transition: opacity .2s;
}
.acr-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.15);
  cursor: pointer;
  font-size: 22px;
  font-weight: 700;
  transition: .25s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1B1B1B;
}
.acr-gallery-nav:hover { transform: translateY(-50%) scale(1.1); background: #007A5E; color: #fff; }
.acr-gallery-prev { left: 16px; }
.acr-gallery-next { right: 16px; }
.acr-gallery-counter {
  position: absolute;
  bottom: 16px; left: 16px;
  background: rgba(0,0,0,.55);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}
.acr-gallery-sidebar {
  border-left: 1px solid #eee;
  overflow-y: auto;
  padding: 20px;
}
.acr-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.acr-gallery-thumb {
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1;
  background: #eee;
  border: 2.5px solid transparent;
  transition: .2s;
}
.acr-gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.acr-gallery-thumb:hover { border-color: rgba(0,122,94,.4); }
.acr-gallery-thumb.active { border-color: #007A5E; box-shadow: 0 4px 16px rgba(0,122,94,.25); }
.acr-gallery-note {
  margin-top: 16px;
  background: #f6faf8;
  border-radius: 12px;
  padding: 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.7;
  border: 1px solid #e0ede6;
}

/* ════════════════════════════════════════
   VIDE / LOADING
════════════════════════════════════════ */
.acr-empty   { color: #999; font-size: 14px; padding: 32px 0; text-align: center; }
.acr-loading { color: #999; font-size: 13px; text-align: center; padding: 24px; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 900px) {
  .acr-gallery-main { grid-template-columns: 1fr; }
  .acr-gallery-sidebar { border-left: none; border-top: 1px solid #eee; }
  .acr-gallery-big { max-height: 44vh; }
  .acr-gallery-thumbs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .acr-alune-content { padding: 28px 24px; }
  .acr-alune-titre   { font-size: 24px; }
  .acr-section-history { padding: 32px 24px; }
  .acr-history-row   { flex-direction: column; gap: 8px; }
  .acr-history-month { padding-top: 0; }
  .acr-popup-body    { padding: 24px 20px 28px; }
  .acr-popup-top     { flex-direction: column; margin-top: -50px; }
  .acr-popup-title   { font-size: 18px; }
  .acr-section-head  { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .acr-gallery-thumbs { grid-template-columns: repeat(2, 1fr); }
}
