/* ===========================================
   Pause Inventaire - Style "Corinne vend des trucs"
   Variables : bleu #000098, rouge #ff3547, vert #55d7c8
   =========================================== */

:root {
    --corinne-bleu: #000098;
    --corinne-rouge: #ff3547;
    --corinne-vert: #55d7c8;
    --corinne-gris-clair: #f4f4f4;
    --corinne-blanc: #fff;
}

/* Overlay principal - TRANSPARENT pour voir le site derrière */
.wc-pause-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    /* Fond bleu profond semi-transparent */
    background: rgba(0, 0, 152, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #f5f3f0;
    font-family: inherit;
    overscroll-behavior: contain;
}

/* Carte centrale */
.wc-pause-content {
    width: min(580px, 92%);
    padding: 48px 42px;
    border-radius: 24px;
    background: #ffffff;
    border: none;
    box-shadow:
        0 8px 32px rgba(0, 0, 152, 0.25),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

/* Contenu - styles de base, le reste vient du HTML éditable */
.wc-pause-content h1,
.wc-pause-content h2,
.wc-pause-content h3 {
    color: var(--corinne-bleu, #000098);
    margin: 0 0 16px;
    line-height: 1.25;
    font-weight: 700;
}

.wc-pause-content h2 {
    font-size: clamp(22px, 4vw, 28px);
}

.wc-pause-content p {
    margin: 0 0 12px;
}

.wc-pause-content p:last-child {
    margin-bottom: 0;
}

.wc-pause-content a {
    color: var(--corinne-bleu, #000098);
    text-decoration: underline;
    font-weight: 600;
}

.wc-pause-content a:hover {
    color: var(--corinne-rouge, #ff3547);
}

/* Animation d'apparition douce */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px) scale(0.97); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wc-pause-overlay {
    animation: fadeIn 0.4s ease-out forwards;
}

.wc-pause-content {
    animation: fadeInUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s forwards;
    opacity: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .wc-pause-content {
        padding: 32px 24px;
    }

    .wc-pause-badge {
        font-size: 48px;
    }

    .wc-pause-inner p {
        font-size: 16px;
    }
}

/* Style quand l'overlay est actif */
html.wc-pause-inventaire-on {
    overflow: hidden;
}
