/* Variáveis e Reset */
:root {
    --primary-purple: #6A0DAD;
    --secondary-purple: #8e2de2;
    --dark-purple: #4b0082;
    --accent-yellow: #FFD700;
    --success-green: #25D366;
    --text-dark: #333;
    --text-light: #666;
    --white: #ffffff;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: #f8f9fa;
    padding-top: 76px; /* Espaço para navbar fixa */
}

/* Navbar */
.navbar-brand img {
    max-height: 50px;
}

.navbar-brand span {
    font-size: 1.6rem;
    color: var(--primary-purple);
    font-family: 'Poppins', sans-serif;
    margin-left: 10px;
    font-weight: 700;
}

.nav-link {
    color: var(--text-dark) !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-purple) !important;
}

/* Hero Section (Fundo Gradiente) */
.hero-section {
    position: relative;
    background: radial-gradient(circle at center, var(--secondary-purple) 0%, var(--primary-purple) 60%, var(--dark-purple) 100%);
    padding: 80px 0 120px 0;
    overflow: hidden;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
}

.hero-validation {
    background: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 10px 20px;
    border-radius: 50px;
    margin-top: 15px;
    backdrop-filter: blur(5px);
}

.hero-validation p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Botões Customizados */
.btn-cta-primary {
    background-color: var(--white);
    color: var(--primary-purple);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: 2px solid var(--white);
}

.btn-cta-primary:hover {
    background-color: transparent;
    color: var(--white);
}

.btn-cta-whatsapp {
    background-color: var(--success-green);
    color: var(--white);
    font-weight: 700;
    border-radius: 50px;
    padding: 12px 30px;
    border: none;
    transition: transform 0.3s ease;
}

.btn-cta-whatsapp:hover {
    transform: scale(1.05);
    background-color: #1ebc57;
    color: white;
}

/* Divisória de Onda */
.custom-shape-divider-bottom-1680000000 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.custom-shape-divider-bottom-1680000000 svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
}

.custom-shape-divider-bottom-1680000000 .shape-fill {
    fill: #f8f9fa; /* Mesma cor do background body */
}

/* Títulos das Seções */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--dark-purple);
}

.divider-purple {
    height: 4px;
    width: 60px;
    background-color: var(--primary-purple);
    border-radius: 2px;
    margin: 10px 0;
}

/* Cards de Planos */
.card-plano {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.card-plano:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

/* Destaque 568 Mega */
.card-plano.destaque {
    border: 2px solid var(--primary-purple);
    transform: scale(1.05);
    z-index: 2;
}

.card-plano.destaque:hover {
    transform: scale(1.08);
}

/* Badge Mais Vendido */
.selo-mais-vendido {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-yellow);
    color: var(--dark-purple);
    font-weight: 800;
    padding: 5px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.plano-header h3 {
    font-weight: 800;
    color: var(--primary-purple);
    margin-bottom: 5px;
}

.header-destaque h3 {
    font-size: 2rem;
}

.badge-fibra {
    font-size: 0.8rem;
    background: #f0f0f0;
    color: #666;
    padding: 4px 10px;
    border-radius: 10px;
}

.badge-fibra-white {
    font-size: 0.8rem;
    background: var(--primary-purple);
    color: white;
    padding: 4px 12px;
    border-radius: 10px;
}

.plano-price {
    margin: 20px 0;
    font-family: 'Poppins', sans-serif;
}

.plano-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    vertical-align: top;
}

.plano-price .value {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-dark);
}

.plano-price.text-purple .value {
    color: var(--primary-purple);
}

.plano-price .period {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 500;
}

.plano-features {
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plano-features li {
    margin-bottom: 12px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Botões do Plano */
.btn-outline-purple {
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
    border-radius: 12px;
    padding: 10px;
    transition: 0.3s;
}

.btn-outline-purple:hover {
    background-color: var(--primary-purple);
    color: white;
}

.btn-purple-gradient {
    background: linear-gradient(90deg, var(--primary-purple), var(--secondary-purple));
    color: white;
    border: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 12px;
    transition: 0.3s;
}

.btn-purple-gradient:hover {
    background: linear-gradient(90deg, var(--dark-purple), var(--primary-purple));
    color: white;
    box-shadow: 0 5px 15px rgba(106, 13, 173, 0.4);
}

.btn-link-whatsapp {
    background: none;
    border: none;
    color: var(--success-green);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-link-whatsapp:hover {
    text-decoration: underline;
    color: #1ebc57;
}

/* Utilities */
.text-purple { color: var(--primary-purple) !important; }
.hover-scale { transition: transform 0.3s; }
.hover-scale:hover { transform: scale(1.02); }

.border-purple { border: 2px solid var(--primary-purple) !important; }
.bg-purple { background-color: var(--primary-purple) !important; }

/* Animações */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

.fade-in-up {
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Footer (Adaptado para CSS externo) */
.main-footer {
    background-color: rebeccapurple;
    color: white;
    padding: 40px 0;
    margin-top: 40px;
}

.footer-section h3 {
    color: aliceblue;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-link {
    color: var(--accent-yellow);
    text-decoration: none;
    transition: 0.3s;
}

.footer-link:hover {
    color: white;
}

/* Responsivo */
@media (max-width: 768px) {
    .card-plano.destaque {
        transform: scale(1);
        margin: 20px 0;
    }
    .hero-title {
        font-size: 2rem;
    }
}
