/* ============================================
   Despertar Vocal - Theme Extras CSS
   WordPress-specific fixes + Mobile optimization
   ============================================ */

/* Reset WordPress admin bar */
html {
    margin-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

/* Global */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #0d041c;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* ===== CTA BUTTON ===== */
.dv-btn {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00D65E, #00E666);
    color: #fff;
    font-weight: 900;
    padding: 1.25rem 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 2.5vw, 1rem);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 214, 94, 0.4), 0 0 40px rgba(0, 214, 94, 0.2);
    animation: dvpulsebtn 2s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dv-btn:hover {
    transform: scale(1.04);
    background: linear-gradient(135deg, #00E666, #00F770);
    box-shadow: 0 6px 30px rgba(0, 214, 94, 0.6), 0 0 60px rgba(0, 214, 94, 0.4);
}

.dv-btn:active {
    transform: scale(0.97);
}

.dv-btn::after {
    content: ' →';
    font-size: 1.1em;
}

/* ===== GRID RESPONSIVE ===== */
@media (min-width: 768px) {
    .dv-grid-2col {
        grid-template-columns: 1fr 1fr !important;
    }

    .dv-grid-3col {
        grid-template-columns: 1fr 1fr 1fr !important;
    }

    .dv-grid-instructor {
        grid-template-columns: 5fr 7fr !important;
    }

    .dv-desc-desktop {
        display: block !important;
    }

    .dv-hide-mobile {
        display: block !important;
    }

    .dv-footer-inner {
        flex-direction: row !important;
        justify-content: space-between !important;
    }

    .dv-timeline-item {
        padding-left: 3.5rem !important;
    }
}

@media (min-width: 1024px) {
    .dv-grid-4col {
        grid-template-columns: 1fr 1fr 1fr 1fr !important;
    }
}

/* ===== HIDE MOBILE ===== */
.dv-hide-mobile {
    display: none;
}

/* ===== VIDEO MODAL ===== */
.dv-video-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.dv-video-modal.active {
    display: flex;
}

.dv-video-modal iframe {
    width: min(90vw, 800px);
    height: min(50vw, 450px);
    border-radius: 1rem;
    border: none;
}

.dv-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== THUMBNAIL HOVER ===== */
.dv-video-thumb:hover img {
    transform: scale(1.05);
}

/* ===== INSTRUCTOR PHOTO HOVER ===== */
.dv-instructor-img:hover {
    transform: rotate(0deg) !important;
}

.dv-instructor-img:hover .dv-luana-photo {
    filter: grayscale(0%) !important;
}

/* ===== FAQ ===== */
.dv-faq-item.open {
    background: #160826 !important;
    border-color: rgba(139, 92, 246, 0.4) !important;
}

.dv-faq-item.open .dv-faq-btn {
    color: #fff !important;
}

.dv-faq-item.open .dv-faq-icon {
    background: #8B5CF6 !important;
    transform: rotate(180deg);
}

.dv-faq-answer {
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.dv-faq-btn {
    transition: color 0.3s;
}

/* ===== ANIMATIONS ===== */
@keyframes dvpulsebtn {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(0, 214, 94, 0.4), 0 0 40px rgba(0, 214, 94, 0.2);
    }

    50% {
        box-shadow: 0 4px 30px rgba(0, 214, 94, 0.6), 0 0 60px rgba(0, 214, 94, 0.35);
        transform: scale(1.02);
    }
}

@keyframes dvping {
    0% {
        transform: scale(1);
        opacity: 0.75;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

@keyframes dvpulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* ===== SCROLL REVEAL ===== */
.dv-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.dv-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== MOBILE TYPOGRAPHY ===== */
@media (max-width: 480px) {
    .dv-btn {
        padding: 1.1rem 1.75rem;
        font-size: 0.85rem;
    }

    section {
        padding: 3rem 0 !important;
    }
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}