:root {
    --cor-principal: #128C7E;
    --cor-secundaria: #25D366;
    --texto-claro: #fff;
    --texto-escuro: #222;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    color: var(--texto-claro);
    overflow-x: hidden;
    background: #000;
}

.video-fundo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4) blur(2px);
}

header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 30px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.4);
    /* leve escurecimento para contraste com vídeo */
    flex-wrap: wrap;
}

header a button {
    background-color: #25D366;
    border: none;
    padding: 10px 18px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
}

header a button:hover {
    background-color: #128C7E;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    color: white;
    margin-right: auto;
    cursor: pointer;
}

.conteudo {
    text-align: center;
    padding: 60px 20px 30px;
    position: relative;
    z-index: 2;
}

.conteudo h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
}

.conteudo p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #ddd;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

.btn-principal {
    background-color: var(--cor-secundaria);
    color: #fff;
    padding: 14px 24px;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.btn-principal:hover {
    background-color: var(--cor-principal);
    transform: scale(1.05);
}

.secao {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: #fff;
}

.secao h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.planos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.plano {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid #25D366;
    border-radius: 10px;
    padding: 20px;
    width: 260px;
    text-align: center;
}

.plano h3 {
    margin-top: 0;
}

.plano .preco {
    font-size: 28px;
    margin: 15px 0;
    color: #25D366;
}

.plano ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 15px;
}

.plano li::before {
    content: "✔️ ";
    color: #25D366;
}

.plano button {
    background-color: #25D366;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s;
}

.plano button:hover {
    background-color: #128C7E;
}

footer {
    text-align: center;
    padding: 15px;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    bottom: 0;
    position: fixed;
    width: 100%;
}

#modalContato {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

#modalContato .conteudo-modal {
    background: #fff;
    color: #222;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    position: relative;
}

#modalContato .fechar {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    color: #888;
}

#modalContato input,
#modalContato textarea {
    width: 100%;
    padding: 8px;
    margin: 8px 0 15px;
    border-radius: 4px;
    border: 1px solid #ccc;
}

#modalContato button {
    background: #25D366;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
}

.planos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.plano {
    opacity: 0;
    transform: translateY(50px);
    animation: entrar 0.8s forwards;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid #25D366;
    border-radius: 10px;
    padding: 20px;
    width: 260px;
    text-align: center;
}

.plano:nth-child(1) {
    animation-delay: 0.3s;
}

.plano:nth-child(2) {
    animation-delay: 0.6s;
}

.plano:nth-child(3) {
    animation-delay: 0.9s;
}

@keyframes entrar {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loader .spinner {
    border: 6px solid rgba(255, 255, 255, 0.2);
    border-top: 6px solid #25D366;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: girar 1s linear infinite;
}

#menuLinks {
    margin-right: 50px;
}

@keyframes girar {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    header {
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px;
    }

    .menu-toggle {
        display: block;
        margin-bottom: 10px;
    }

    nav {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    nav.ativo {
        display: flex;
    }

    nav a {
        width: 100%;
    }

    nav a button {
        width: 100%;
        text-align: left;
    }
}