﻿/* Banner da campanha */
.campaign-banner {
    background-position: center center, center center;
    background-size: cover, auto;
    background-repeat: no-repeat, no-repeat;
    text-align: center;
    padding: 5vw;
    border-radius: 12px;
    max-width: 90%;
    box-sizing: border-box;
    animation: pulse 3s infinite;
    overflow: hidden;
    position: relative;
}

    .campaign-banner h2 {
        font-size: clamp(1.5rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
        animation: slideDown 1s ease forwards;
    }

    .campaign-banner p {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        margin-bottom: 1.5rem;
        animation: fadeIn 2s ease forwards;
        font-weight: bold;
    }

    .campaign-banner button {
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        font-size: 1.5rem;
        color: #000;
        cursor: pointer;
    }

.campaign-body {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin-bottom: 1.5rem;
    animation: fadeIn 2s ease forwards;
    font-weight: bold;
}

.campaignOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cta-button {
    display: inline-block;
    background: #fff;
    color: #0078d7;
    padding: 1rem 2rem;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
    animation: bounce 2s infinite;
}

    .cta-button:hover {
        background: #0078d7;
        color: #fff;
    }

/* Animações */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes bounce {
    0%,100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}
