/* ── VmNewsletter Popup ─────────────────────────────────────────────────── */

.vmp-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 29, 73, 0.6); /* navy Velomania à 60% */
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: vmpFadeIn .25s ease;
}

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

.vmp-box {
    position: relative;
    background: #fff;
    border-radius: 8px;
    max-width: 480px;
    width: 100%;
    padding: 40px 36px 32px;
    box-shadow: 0 8px 40px rgba(7, 29, 73, 0.25);
    animation: vmpSlideUp .3s ease;
}

@keyframes vmpSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.vmp-close {
    position: absolute;
    top: 14px;
    right: 16px;
    background: none;
    border: none;
    font-size: 18px;
    color: #aaa;
    cursor: pointer;
    line-height: 1;
    padding: 4px 6px;
    transition: color .2s;
}
.vmp-close:hover { color: #071d49; }

.vmp-body { text-align: center; }

.vmp-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #071d49;
    margin: 0 0 10px;
    line-height: 1.3;
}

.vmp-subtitle {
    font-size: 15px;
    color: #555;
    margin: 0 0 24px;
    line-height: 1.5;
}

/* ── Honeypot — strictement invisible ───────────────────────────────────── */
.vmp-hp {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ── Champ email ─────────────────────────────────────────────────────────── */
.vmp-field-wrap { margin-bottom: 12px; }

.vmp-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 2px solid #dde3ef;
    border-radius: 6px;
    font-size: 15px;
    color: #071d49;
    outline: none;
    transition: border-color .2s;
    box-sizing: border-box;
}
.vmp-input:focus { border-color: #00afd7; }
.vmp-input.vmp-error { border-color: #e40046; }

/* ── Suggestion typo ─────────────────────────────────────────────────────── */
.vmp-suggestion {
    font-size: 13px;
    color: #e40046;
    margin-bottom: 8px;
    cursor: pointer;
    text-decoration: underline;
}

/* ── Message retour ──────────────────────────────────────────────────────── */
.vmp-message {
    font-size: 14px;
    padding: 10px 14px;
    border-radius: 5px;
    margin-bottom: 12px;
    text-align: left;
}
.vmp-message.vmp-msg-error   { background: #fff0f3; color: #c0002e; border: 1px solid #f7c0cd; }
.vmp-message.vmp-msg-success { background: #e8f9f0; color: #1a7a45; border: 1px solid #b2e6cb; }

/* ── Bouton ──────────────────────────────────────────────────────────────── */
.vmp-btn {
    width: 100%;
    height: 50px;
    background: #00afd7;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s, opacity .2s;
    margin-bottom: 16px;
}
.vmp-btn:hover:not(:disabled) { background: #0099be; }
.vmp-btn:disabled { opacity: .6; cursor: not-allowed; }

/* ── Légal ───────────────────────────────────────────────────────────────── */
.vmp-legal {
    font-size: 11px;
    color: #aaa;
    line-height: 1.5;
    margin: 0;
}

/* ── Responsive mobile ───────────────────────────────────────────────────── */
@media (max-width: 500px) {
    .vmp-box { padding: 32px 20px 24px; }
    .vmp-title { font-size: 18px; }
}
