/* ════════════════════════════════════════════════════════
   ANNOUNCEMENT CARD — Styles partagés
   Utilisé par tous les fichiers dans /cards/
════════════════════════════════════════════════════════ */

.ouverture-overlay {
    position: fixed;
    top: 0; right: 0; bottom: 0; left: 0;
    background: rgba(13, 27, 53, 0.82);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    pointer-events: none;
}
.ouverture-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.ouverture-card {
    background: #FDFAF5;
    max-width: 500px;
    width: 100%;
    padding: 52px 52px 44px;
    position: relative;
    border-radius: 4px;
    text-align: center;
    transform: translateY(18px) scale(0.97);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s,
                opacity  0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.08s;
    opacity: 0;
}
.ouverture-overlay.visible .ouverture-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.ouverture-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: "Jost", sans-serif;
    font-size: 1.1rem;
    font-weight: 300;
    color: #8A94A6;
    line-height: 1;
    padding: 4px 6px;
    transition: color 0.2s ease;
}
.ouverture-close:hover { color: #1B2744; }

.ouverture-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 28px;
}
.ouverture-ornament-line {
    display: block;
    width: 40px;
    height: 1px;
    background: #C5B49A;
}

.ouverture-badge {
    display: inline-block;
    font-family: "Jost", sans-serif;
    font-size: 0.57rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: #9B7E54;
    border: 1px solid rgba(155, 126, 84, 0.38);
    padding: 4px 14px;
    border-radius: 2px;
    margin-bottom: 24px;
}

.ouverture-title {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(1.55rem, 3vw, 2.1rem);
    font-weight: 400;
    color: #1B2744;
    line-height: 1.22;
    margin: 0 0 20px;
}
.ouverture-title em { font-style: italic; }

.ouverture-text {
    font-family: "Inter", sans-serif;
    font-size: 0.93rem;
    font-weight: 300;
    color: #4A5568;
    line-height: 1.85;
    margin: 0 0 10px;
}

.ouverture-quote {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 1.0rem;
    font-style: italic;
    color: #8A94A6;
    margin: 18px 0 32px;
    line-height: 1.6;
}

.ouverture-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
}

.ouverture-btn {
    font-family: "Jost", sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.10em;
    background: #1B2744;
    color: #FDFAF5;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.25s ease;
    text-decoration: none;
}
.ouverture-btn:hover { background: #0D1B35; }

.ouverture-dismiss {
    font-family: "Jost", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.10em;
    color: #8A94A6;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.ouverture-dismiss:hover { color: #1B2744; }

@media (max-width: 540px) {
    .ouverture-card { padding: 40px 28px 36px; }
}
