/* Annonce plein écran après l’intro — page d’accueil */

html.post-intro-promo-active,
body.post-intro-promo-active {
  overflow: hidden;
  touch-action: none;
}

.post-intro-promo {
  position: fixed;
  inset: 0;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(3.25rem, 8vw, 4rem) clamp(1rem, 4vw, 2rem) clamp(1.25rem, 4vw, 2rem);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(6px);
}

.post-intro-promo[hidden] {
  display: none !important;
}

.post-intro-promo__close {
  position: absolute;
  top: clamp(0.65rem, 2.5vw, 1rem);
  right: clamp(0.65rem, 2.5vw, 1rem);
  z-index: 2;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  color: var(--black, #0a0a0a);
  transition: background 0.2s ease, transform 0.2s ease;
}

.post-intro-promo__close:hover {
  background: #fff;
  transform: scale(1.05);
}

.post-intro-promo__close:focus-visible {
  outline: 2px solid var(--terracotta, #a65947);
  outline-offset: 3px;
}

.post-intro-promo__frame {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: min(92vw, 720px);
  min-height: 0;
  margin-bottom: 1rem;
}

.post-intro-promo__img {
  display: block;
  max-width: 100%;
  max-height: min(78vh, calc(100dvh - 9rem), calc(100vh - 9rem));
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.post-intro-promo__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--terracotta, #a65947);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 28px rgba(166, 89, 71, 0.45);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.post-intro-promo__cta:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.post-intro-promo__cta:focus-visible {
  outline: 2px solid #facc15;
  outline-offset: 3px;
}
