/* --- 1. RESET DE LARGURA --- */
.ast-page-builder-template .entry-content #mapea-video-white,
.ast-container #mapea-video-white {
    max-width: 100% !important;
    width: 100% !important;
}

/* --- ESCOPO LOCAL --- */
#mapea-video-white {
    --mapea-merlot: #4F0713;
    --mapea-rosa: #E499B6;
    --mapea-gold: #FDC762;
    --mapea-rubi: #AD0919;
    --mapea-bg: #ffffff;

    position: relative;
    /* REFORÇO NO PADDING E MARGEM */
    padding: 120px 20px !important;
    
    background-color: var(--mapea-bg);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: var(--mapea-merlot);
    width: 100%;
    box-sizing: border-box;
}

/* Resto do CSS igual... (Copie o resto do seu arquivo) */
/* ... */
/* ... */
/* --- ESCOPO LOCAL --- */
#mapea-video-white {
    --mapea-merlot: #4F0713;
    --mapea-rosa: #E499B6;
    --mapea-gold: #FDC762;
    --mapea-rubi: #AD0919;
    --mapea-bg: #ffffff;

    position: relative;
    /* Aumentei o padding e adicionei margem para separar da sessão anterior */
    padding: 120px 20px; 
    background-color: var(--mapea-bg);
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    color: var(--mapea-merlot);
    width: 100%;
    box-sizing: border-box;
}

/* Luzes de Fundo */
.glow-spot {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}
.spot-1 { width: 400px; height: 400px; background: var(--mapea-rosa); top: -100px; left: -100px; }
.spot-2 { width: 300px; height: 300px; background: var(--mapea-gold); bottom: -50px; right: -50px; }

/* Container Central */
.video-container-fixed {
    width: 100%;
    max-width: 1140px !important;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* --- LADO ESQUERDO: CONTEÚDO --- */
.video-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--mapea-merlot);
    color: white;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    margin-bottom: 20px;
    width: fit-content;
    box-shadow: 0 4px 10px rgba(79, 7, 19, 0.2);
}

.video-content h2 {
    font-size: 2.8rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--mapea-merlot);
}

.highlight-merlot {
    color: var(--mapea-rubi);
    position: relative;
    z-index: 1;
}
.highlight-merlot::after {
    content: '';
    position: absolute;
    bottom: 5px; left: 0;
    width: 100%; height: 10px;
    background: var(--mapea-gold);
    opacity: 0.3;
    z-index: -1;
    transform: rotate(-2deg);
}

.video-desc {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px;
}

/* Ícones de Features */
.features-preview {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.f-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mapea-merlot);
}
.f-item i { color: var(--mapea-rubi); font-size: 16px; }

/* Box de Notificação */
.notify-box {
    background: #fdfdfd;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    max-width: 400px;
}
.notify-box p {
    margin: 0 0 10px 0;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

.btn-notify {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--mapea-merlot);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    width: 100%;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(79, 7, 19, 0.2);
}
.btn-notify:hover {
    background: var(--mapea-rubi);
    transform: translateY(-3px);
}

/* --- LADO DIREITO: PLAYER VISUAL --- */
.video-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.glass-player {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 16/10;
    background: #f2f2f2;
    background-image: linear-gradient(135deg, #f9f9f9 0%, #e0e0e0 100%);
    border-radius: 20px;
    border: 4px solid white;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-btn-3d {
    width: 70px; height: 70px;
    background: var(--mapea-gold);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--mapea-merlot);
    font-size: 22px;
    box-shadow: 0 10px 30px rgba(253, 199, 98, 0.4);
    animation: pulsePlay 2s infinite;
    z-index: 5;
    padding-left: 5px;
}

@keyframes pulsePlay {
    0% { box-shadow: 0 0 0 0 rgba(253, 199, 98, 0.7); }
    70% { box-shadow: 0 0 0 20px rgba(253, 199, 98, 0); }
    100% { box-shadow: 0 0 0 0 rgba(253, 199, 98, 0); }
}

/* Elementos Flutuantes (UI) */
.floating-ui {
    position: absolute;
    background: white;
    color: var(--mapea-merlot);
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    animation: floatUI 4s infinite ease-in-out;
    border: 1px solid #eee;
    white-space: nowrap;
}

.ui-1 { top: -15px; left: -15px; width: 160px; }
.ui-1 .bar { width: 100%; height: 4px; background: #eee; border-radius: 2px; margin-top: 5px; overflow: hidden; }
.ui-1 .fill { height: 100%; background: var(--mapea-gold); }

.ui-2 { bottom: -15px; right: -15px; display: flex; align-items: center; gap: 8px; animation-delay: 2s; }
.ui-2 i { color: #4CAF50; font-size: 14px; }

@keyframes floatUI {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* =========================================
   ESTILOS DO MODAL (POPUP)
   ========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(79, 7, 19, 0.7);
    backdrop-filter: blur(4px);
    z-index: 99999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s;
    padding: 20px;
    box-sizing: border-box;
}
.modal-overlay.active { opacity: 1; }

.modal-box {
    background: white;
    width: 100%;
    max-width: 450px !important;
    border-radius: 20px;
    padding: 35px 30px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin: auto;
}
.modal-overlay.active .modal-box { transform: scale(1); }

.close-btn {
    position: absolute; top: 15px; right: 20px;
    background: none; border: none;
    font-size: 28px; color: #ccc;
    cursor: pointer;
    transition: color 0.2s;
}
.close-btn:hover { color: var(--mapea-merlot); }

.modal-content { text-align: center; }

.modal-icon {
    width: 50px; height: 50px;
    margin: 0 auto 15px auto;
    background: #fff5e6;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: var(--mapea-gold);
}

.modal-content h3 {
    color: var(--mapea-merlot);
    font-size: 1.6rem;
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.2;
}

.modal-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Inputs do Form */
.input-group {
    position: relative;
    margin-bottom: 12px;
    text-align: left;
}
.input-icon {
    position: absolute;
    left: 15px; top: 50%;
    transform: translateY(-50%);
    color: var(--mapea-merlot);
    opacity: 0.5;
    font-size: 14px;
}

.modal-content input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    border: 2px solid #f0f0f0;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.modal-content input:focus { border-color: var(--mapea-merlot); }

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--mapea-merlot) !important;
    color: white !important;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.3s;
    display: flex; align-items: center; justify-content: center; gap: 10px;
}
.btn-submit:hover { background-color: var(--mapea-rubi) !important; }

.privacy-note {
    font-size: 10px !important;
    margin-top: 15px !important;
    color: #bbb !important;
}

/* Mensagem de Sucesso */
.success-box {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}
.check-anim {
    width: 60px; height: 60px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 15px;
    animation: popIn 0.5s;
}
@keyframes popIn { 0% { transform: scale(0); } 100% { transform: scale(1); } }

/* --- MOBILE --- */
@media (max-width: 992px) {
    #mapea-video-white { padding: 60px 20px; }
    .video-container-fixed { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .video-content { align-items: center; text-align: center; }
    .video-content h2 { font-size: 2rem; }
    .video-desc { margin: 0 auto 30px auto; }
    .features-preview { justify-content: center; }
    .notify-box { margin: 0 auto; }
}