.igniter {
    cursor: pointer;
}

/* Voile (ancien overlay) */
.veil {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.veil.active {
    opacity: 1;
    visibility: visible;
}

/* Capsule (ancien container) */
.capsule {
    position: relative;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.8) translateY(30px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.veil.active .capsule {
    transform: scale(1) translateY(0);
    opacity: 1;
}

/* Pinnacle (ancien header) */
.pinnacle {
    background: #2c3e50;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.dismiss-btn {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.dismiss-btn:hover {
    opacity: 1;
}

/* Core (ancien content) */
.core {
    height: calc(100% - 60px);
    overflow-y: auto;
    padding: 20px;
    background: #f9fafa;
    color: #333;
    line-height: 1.7;
}

/* Animation subtile */
.veil::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    background: transparent;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.veil.active::before {
    animation: pulse 0.8s ease-out forwards, shroudIn 0.4s ease-in forwards;
}

@keyframes pulse {
    0% {
    width: 10px;
    height: 10px;
    opacity: 0.3;
    }
    100% {
    width: 1500px;
    height: 1500px;
    opacity: 0;
    }
}

@keyframes shroudIn {
    from {
    background: rgba(0, 0, 0, 0.6);
    }
    to {
    background: rgba(0, 0, 0, 0.85);
    }
}

@media (max-width: 768px) {
    .capsule {
    width: 95%;
    height: 90vh;
    border-radius: 12px;
    }
}