/**
 * ==========================================================================
 * POPUP ANNONCE SPÉCIALE CONCERT (RICOS CAMPOS - 24 OCTOBRE 2026)
 * Design Haute Hospitalité • Double-Bezel & Effet Flash Éclat (Awwwards-Tier)
 * Maison Adénikè • Ouidah, Bénin
 * ==========================================================================
 */

/* 1. Backdrop Flou Luxueux */
.event-announcement-backdrop {
  position: fixed;
  inset: 0;
  z-index: 280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(14, 12, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-announcement-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* 2. Double-Bezel Outer Shell (Doppelrand) */
.event-announcement-shell {
  width: 100%;
  max-width: 920px;
  max-height: calc(100vh - 2.5rem);
  background: rgba(26, 23, 20, 0.94);
  border: 1.5px solid rgba(197, 160, 89, 0.45);
  border-radius: 28px;
  padding: 10px;
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.85),
              0 0 70px rgba(197, 160, 89, 0.18),
              inset 0 1px 1px rgba(255, 255, 255, 0.15);
  transform: translateY(22px) scale(0.94);
  opacity: 0;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.event-announcement-backdrop.is-visible .event-announcement-shell {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* 3. Inner Core */
.event-announcement-core {
  background: linear-gradient(165deg, #1C1915 0%, #12100E 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  max-height: calc(100vh - 4rem);
  position: relative;
  scrollbar-width: thin;
  scrollbar-color: rgba(197, 160, 89, 0.4) transparent;
}

.event-announcement-core::-webkit-scrollbar {
  width: 5px;
}
.event-announcement-core::-webkit-scrollbar-thumb {
  background: rgba(197, 160, 89, 0.4);
  border-radius: 10px;
}

/* 4. Bouton Fermeture Flottant Haute Précision */
.announcement-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #FAF7F2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease;
  backdrop-filter: blur(8px);
}

.announcement-close-btn:hover {
  background: rgba(197, 160, 89, 0.25);
  border-color: #C5A059;
  transform: rotate(90deg) scale(1.08);
  color: #FFE6A7;
}

.announcement-close-btn:active {
  transform: rotate(90deg) scale(0.95);
}

/* 5. Grille Asymétrique Desktop / Mobile */
.announcement-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 1.75rem;
  padding: 1.5rem;
  align-items: center;
}

/* 6. Colonne Gauche : L'Affiche & Flash Shimmer */
.announcement-media-col {
  display: flex;
  justify-content: center;
}

.announcement-poster-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.7),
              0 0 35px rgba(197, 160, 89, 0.25);
  border: 1.5px solid rgba(197, 160, 89, 0.4);
  background: #100E0C;
  line-height: 0;
  max-width: 100%;
}

.announcement-poster-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.announcement-poster-frame:hover .announcement-poster-img {
  transform: scale(1.025);
}

/* Rayon Flash Éclat Lumineux */
.announcement-flash-beam {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.03) 38%,
    rgba(255, 235, 175, 0.45) 48%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 235, 175, 0.45) 52%,
    rgba(255, 255, 255, 0.03) 62%,
    transparent 80%
  );
  transform: translate3d(-180%, -50%, 0) rotate(25deg);
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.event-announcement-backdrop.is-visible .announcement-flash-beam {
  animation: announcementFlashBeam 1.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes announcementFlashBeam {
  0% {
    transform: translate3d(-180%, -50%, 0) rotate(25deg);
    opacity: 0;
  }
  20% {
    opacity: 0.95;
  }
  60% {
    opacity: 1;
  }
  85% {
    opacity: 0.85;
  }
  100% {
    transform: translate3d(240%, -50%, 0) rotate(25deg);
    opacity: 0;
  }
}

/* Badge Live Pulse sur l'Affiche */
.announcement-poster-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(18, 16, 14, 0.85);
  border: 1px solid rgba(197, 160, 89, 0.5);
  backdrop-filter: blur(8px);
  padding: 0.3rem 0.65rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #FFE6A7;
  z-index: 3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.live-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #E53E3E;
  box-shadow: 0 0 10px #E53E3E;
  animation: liveDotPulse 1.8s infinite ease-in-out;
}

@keyframes liveDotPulse {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.3);
    opacity: 1;
    box-shadow: 0 0 14px #E53E3E;
  }
}

/* 7. Colonne Droite : Contenu Éditorial */
.announcement-content-col {
  display: flex;
  flex-direction: column;
  color: #FAF7F2;
  text-align: left;
}

.announcement-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}

.announcement-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(197, 160, 89, 0.25);
  padding: 0.25rem 0.65rem 0.25rem 0.35rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-ochre, #C5A059);
  font-weight: 600;
}

.announcement-brand-logo {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #C5A059;
}

.announcement-exclusive-tag {
  background: linear-gradient(135deg, #B3542E, #8C3E1F);
  color: #FFFFFF;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  box-shadow: 0 2px 10px rgba(179, 84, 46, 0.4);
}

.announcement-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 0.5rem 0;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.announcement-title-accent {
  font-style: italic;
  font-weight: 400;
  background: linear-gradient(135deg, #FFE6A7 0%, #C5A059 50%, #E8D3A7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.announcement-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  color: rgba(250, 247, 242, 0.78);
  line-height: 1.55;
  margin: 0 0 1.15rem 0;
}

/* Rangée des Caractéristiques Clés */
.announcement-meta-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.15rem;
}

.meta-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.78rem;
  color: #FAF7F2;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.meta-pill-icon {
  font-size: 0.85rem;
}

/* Carte VIP d'Exception */
.announcement-vip-card {
  background: linear-gradient(145deg, rgba(197, 160, 89, 0.12) 0%, rgba(179, 84, 46, 0.08) 100%);
  border: 1.5px solid rgba(197, 160, 89, 0.35);
  border-radius: 14px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  overflow: hidden;
}

.announcement-vip-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #C5A059, #B3542E);
}

.vip-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.vip-badge {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFE6A7;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vip-price {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #C5A059;
}

.vip-card-desc {
  font-size: 0.78rem;
  color: rgba(250, 247, 242, 0.85);
  line-height: 1.45;
  margin: 0 0 0.5rem 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.vip-entry-note {
  font-size: 0.72rem;
  color: rgba(250, 247, 242, 0.65);
  border-top: 1px dashed rgba(197, 160, 89, 0.25);
  padding-top: 0.45rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Boutons d'Action (Double-CTA) */
.announcement-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.announcement-btn-primary {
  flex: 1;
  min-width: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.85rem 0.75rem 1.25rem;
  background: var(--color-ochre, #B3542E);
  color: #FFFFFF;
  border-radius: 9999px;
  border: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(179, 84, 46, 0.45);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.25s ease,
              background-color 0.2s ease;
}

.announcement-btn-primary:hover {
  background: #A04724;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(179, 84, 46, 0.55);
}

.announcement-btn-primary:active {
  transform: scale(0.98);
}

.announcement-btn-primary .btn-icon-capsule {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
  margin-left: 0.5rem;
}

.announcement-btn-primary:hover .btn-icon-capsule {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.35);
}

.announcement-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 9999px;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
}

.announcement-btn-wa:hover {
  background: #20BD5A;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

.announcement-btn-wa:active {
  transform: scale(0.98);
}

/* Liens de Pied */
.announcement-footer-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  flex-wrap: wrap;
}

.announcement-more-link {
  color: #C5A059;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.announcement-more-link:hover {
  color: #FFE6A7;
  text-decoration: underline;
}

.announcement-dismiss-link {
  background: none;
  border: none;
  color: rgba(250, 247, 242, 0.45);
  cursor: pointer;
  padding: 0;
  font-size: 0.72rem;
  transition: color 0.2s ease;
}

.announcement-dismiss-link:hover {
  color: rgba(250, 247, 242, 0.8);
  text-decoration: underline;
}

/* 8. Bouton Lanceur Flottant Discret (Bottom-Left) */
.event-floating-launcher {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(26, 23, 20, 0.92);
  border: 1.5px solid rgba(197, 160, 89, 0.5);
  color: #FAF7F2;
  padding: 0.65rem 1.15rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6),
              0 0 20px rgba(197, 160, 89, 0.25);
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.2s ease,
              box-shadow 0.2s ease;
}

.event-floating-launcher.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.event-floating-launcher:hover {
  border-color: #C5A059;
  background: rgba(38, 33, 28, 0.98);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7),
              0 0 30px rgba(197, 160, 89, 0.4);
  transform: translateY(-3px) scale(1.02);
}

.event-floating-launcher:active {
  transform: scale(0.98);
}

.launcher-pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 9999px;
  border: 1.5px solid rgba(197, 160, 89, 0.6);
  animation: launcherRingPulse 2.4s infinite cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

@keyframes launcherRingPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

.launcher-icon {
  font-size: 1rem;
}

.launcher-text {
  color: #FFE6A7;
  font-weight: 700;
}

/* 9. Responsive Mobile Collapse (< 860px) */
@media (max-width: 860px) {
  .event-announcement-shell {
    max-width: 480px;
    padding: 8px;
    border-radius: 22px;
  }

  .event-announcement-core {
    max-height: 85vh;
    padding: 1.25rem 1rem 1rem 1rem;
  }

  .announcement-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
    padding: 0.25rem;
  }

  .announcement-poster-frame {
    max-width: 280px;
  }

  .announcement-poster-img {
    max-height: 280px;
  }

  .announcement-title {
    font-size: 1.65rem;
  }

  .announcement-actions {
    flex-direction: column;
  }

  .announcement-btn-primary,
  .announcement-btn-wa {
    width: 100%;
    min-width: unset;
  }

  .event-floating-launcher {
    bottom: 85px;
    left: 16px;
    padding: 0.55rem 0.95rem;
    font-size: 0.75rem;
  }
}
