/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #000; /* Fundo preto como no design original */
}

/* Tela de Loading */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-logo {
    max-width: 300px;
    animation: pulse 1.5s infinite ease-in-out;
}

/* Animação de pulsar */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header (vazio) */
header {
    display: none; /* Removido o header */
}

/* Logo Grande no Topo */
.top-logo {
    background: #000;
    padding: 30px 0;
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.logo-large {
    max-width: 300px;
}

/* Banner Promocional */
.promo-banner {
    background: #000;
    padding: 30px 0;
    text-align: center;
}

.promo-banner-container {
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.promo-banner-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

/* Banner Principal com Personagem */
.banner {
    background: #000;
    padding: 60px 0;
    text-align: center;
}

.banner-container {
    background: #000;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.banner-content {
    position: relative;
}

.banner-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
}

.personagem {
    max-width: 300px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 1s ease forwards 1.5s;
}

.wifi-icon {
    max-width: 150px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 1s ease forwards 1.7s;
}

.banner h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 30px;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.9s;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #f5a623;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.1s;
}

.btn:hover {
    background: #d48f1e;
    transform: scale(1.05);
}

.whatsapp-btn {
    background: #25D366; /* Verde do WhatsApp */
}

.whatsapp-btn:hover {
    background: #1EBE54; /* Verde mais escuro para hover */
    transform: scale(1.05);
}

/* Planos */
.planos {
    padding: 60px 0;
    text-align: center;
    background: #000;
}

.planos h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 1s ease forwards 2.3s;
}

/* Grade de Planos */
.planos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plano {
    flex: 0 0 300px;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.plano:nth-child(1) { animation-delay: 2.5s; }
.plano:nth-child(2) { animation-delay: 2.7s; }
.plano:nth-child(3) { animation-delay: 2.9s; }
.plano:nth-child(4) { animation-delay: 3.1s; }

.plano:hover {
    transform: scale(1.05);
}

.plano img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

/* Efeito de balançar ao passar o mouse ou tocar */
.plano:hover img,
.plano.shake img {
    animation: shake 0.5s ease-in-out;
}

/* Animação de balançar */
@keyframes shake {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* Informação de Roteadores em Comodato */
.roteadores-info {
    margin-top: 40px;
    text-align: center;
}

.roteadores-info h3 {
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: bold;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s ease forwards 3.3s;
}

/* Localização */
.localizacao {
    padding: 60px 0;
    background: #000;
    text-align: center;
}

.localizacao h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #fff;
    font-weight: bold;
    opacity: 0;
    animation: fadeIn 1s ease forwards 3.5s;
}

.map-container {
    background: #000;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 3.7s;
}

/* Termos de Uso e Política de Privacidade */
.terms {
    padding: 60px 0;
    background: #000;
    text-align: left;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: #000;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.terms-container h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 20px;
}

.terms-container h2 {
    font-size: 1.8rem;
    color: #fff;
    margin-top: 30px;
    margin-bottom: 15px;
}

.terms-container p {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 15px;
}

.terms-container ul {
    list-style-type: disc;
    margin-left: 20px;
    color: #ccc;
}

.terms-container ul li {
    margin-bottom: 10px;
}

.terms-container a {
    color: #f5a623;
    text-decoration: none;
}

.terms-container a:hover {
    color: #d48f1e;
}

/* Footer */
footer {
    background: #000;
    color: #fff;
    padding: 30px 0;
    text-align: center;
}

.footer-logo {
    max-width: 200px;
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 1s ease forwards 3.9s;
}

footer ul {
    list-style: none;
    margin-top: 15px;
}

footer ul li {
    display: inline;
    margin: 0 15px;
}

footer ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: #f5a623;
}

.template-credit {
    margin-top: 15px;
    font-size: 0.9rem;
    color: #ccc;
}

.template-credit a {
    color: #f5a623;
    text-decoration: none;
}

.template-credit a:hover {
    color: #d48f1e;
}

/* Botão de Deslizamento Lateral */
.scroll-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-up, .scroll-down {
    background: #000;
    color: #fff;
    border: 2px solid #f5a623;
    padding: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    opacity: 0;
    animation: fadeIn 1s ease forwards 4.1s;
}

.scroll-up:hover, .scroll-down:hover {
    background: #f5a623;
    color: #000;
    transform: scale(1.1);
}

/* Notificação de Cookies */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    z-index: 9998;
    opacity: 0;
    animation: fadeIn 1s ease forwards 4.3s;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-consent p {
    margin: 0;
    font-size: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
}

.cookie-accept {
    background: #f5a623;
}

.cookie-accept:hover {
    background: #d48f1e;
}

.cookie-decline {
    background: #ff4444;
}

.cookie-decline:hover {
    background: #cc0000;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsividade para telas menores que 768px */
@media (max-width: 768px) {
    .loading-logo {
        max-width: 250px;
    }

    .logo-large {
        max-width: 250px;
    }

    .banner h1 {
        font-size: 1.8rem;
    }

    .banner-container {
        padding: 30px;
    }

    .banner-images {
        flex-direction: column;
        gap: 20px;
    }

    .personagem {
        max-width: 200px;
    }

    .wifi-icon {
        max-width: 100px;
    }

    .plano {
        flex: 0 0 250px;
    }

    .roteadores-info h3 {
        font-size: 1.5rem;
    }

    .map-container {
        padding: 15px;
    }

    .promo-banner-container {
        padding: 0 15px;
    }

    .promo-banner-image {
        border-radius: 10px;
    }

    .terms-container {
        padding: 15px;
    }

    .terms-container h1 {
        font-size: 2rem;
    }

    .terms-container h2 {
        font-size: 1.5rem;
    }

    .scroll-buttons {
        right: 10px;
    }

    .cookie-consent {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        width: 90%;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Responsividade para telas menores que 480px */
@media (max-width: 480px) {
    .loading-logo {
        max-width: 200px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .banner h1 {
        font-size: 1.5rem;
    }

    .banner-container {
        padding: 20px;
    }

    .personagem {
        max-width: 150px;
    }

    .wifi-icon {
        max-width: 80px;
    }

    .plano {
        flex: 0 0 200px;
    }

    .planos h2, .localizacao h2 {
        font-size: 2rem;
    }

    .roteadores-info h3 {
        font-size: 1.2rem;
    }

    .footer-logo {
        max-width: 150px;
    }

    .scroll-up, .scroll-down {
        padding: 8px;
        font-size: 1rem;
    }

    .cookie-consent p {
        font-size: 0.9rem;
    }

    .cookie-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }

    .terms-container h1 {
        font-size: 1.8rem;
    }

    .terms-container h2 {
        font-size: 1.3rem;
    }

    .terms-container p {
        font-size: 0.9rem;
    }
}