/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #e30613;
    --primary-dark: #b5000d;
    --secondary: #ffd54f;
    --text: #222;
    --text-light: #555;
    --bg: #fff;
    --bg-light: #f5f5f5;
    --border: #e0e0e0;
    --shadow: 0 8px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
    --radius: 16px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* === CONTAINER === */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* === HEADER === */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem 0;
}

.logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-link-destaque {
    background: var(--primary);
    color: var(--bg) !important;
    padding: 0.5rem 1rem;
    border-radius: 999px;
}

.nav-link-destaque:hover {
    background: var(--primary-dark);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 10px;
    transition: var(--transition);
}

/* === HERO / CAROUSEL (FAIXA VERMELHA) === */
.hero {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--bg);
    position: relative;
    overflow: hidden;
    padding: 1.8rem 0 1.6rem; /* altura controlada */
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(34, 139, 34, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-carousel {
    position: relative;
    z-index: 2;
}

.hero-track {
    position: relative;
    width: 100%;
    min-height: 0; /* sem altura mínima forçada */
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: center;
    padding: 0.8rem 0; /* padding interno reduzido */
}

.hero-badge {
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.15);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

.natal-badge {
    background: linear-gradient(135deg, #228B22, #32CD32) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(34, 139, 34, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 0.6rem;
}

.hero-title .highlight {
    color: var(--secondary);
}

.hero-subtitle {
    font-size: 1.05-bottom: 0.6rem;
    opacity: 0.95;
}

.hero-list {
    margin-bottom: 0.8rem;
}

.hero-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.hero-list li i {
    color: #228B22;
    font-size: 1.1rem;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 0.6rem;
}

.hero-footnote {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 0.4rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 400px; /* tamanho controlado */
    width: auto;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* Botões do Hero */
.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    border: none;
    color: var(--bg);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
}

.hero-btn:hover {
    background: rgba(0,0,0,0.5);
    transform: translateY(-50%) scale(1.1);
}

/* Botão da Esquerda (Anterior) */
.hero-btn-prev {
    left: 1rem;  /* Encosta na esquerda */
    right: auto; /* Garante que não vá para a direita */
}
/* Botão da Direita (Próximo) */
.hero-btn-next {
    right: 1rem; /* Encosta na direita */
    left: auto;  /* Garante que não vá para a esquerda */
}
/* Indicadores */
.hero-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicator.active {
    background: var(--secondary);
    transform: scale(1.3);
}

/* === BOTÕES === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: var(--bg);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background: transparent;
    border-color: var(--bg);
    color: var(--bg);
}

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

.btn-block {
    width: 100%;
}

/* === SEÇÕES === */
.section {
    padding: 4rem 0;
    background: var(--bg);
}

.section-light {
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text);
}

.section-title::after {
    content: '🎄';
    margin-left: 0.5rem;
    font-size: 1.5rem;
    vertical-align: middle;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
}

/* === CARDS === */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary), #228B22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--bg);
}

.card-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* === PLANOS === */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.plano-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.plano-card::before {
    content: "🎄";
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;
    z-index: 1;
    opacity: 0.7;
}

.plano-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.plano-destaque {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.plano-destaque::before {
    content: "⭐";
    color: #ffd700;
    opacity: 1;
}

.plano-badge {
    position: absolute;
    top: -12px;
    right: 1rem;
    background: var(--primary);
    color: var(--bg);
    padding: 0.3rem 1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.plano-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.plano-price {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.plano-currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 0.2rem;
}

.plano-value {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
}

.plano-cents {
    font-size: 1.5rem;
    font-weight: 700;
}

.plano-period {
    font-size: 0.9rem;
    color: var(--text-light);
    align-self: flex-end;
    margin-left: 0.3rem;
}

.plano-features {
    margin-bottom: 1.5rem;
}

.plano-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.plano-features i {
    color: var(--primary);
}

/* === FORMULÁRIOS === */
.form-cobertura,
.form-contato {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 0 auto 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.7rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(227, 6, 19, 0.1);
}

.result-box {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem;
    border-radius: var(--radius);
    display: none;
}

.result-box.success {
    display: block;
    background: #e6f9ec;
    border: 2px solid #30a46c;
    color: #155724;
}

.result-box.error {
    display: block;
    background: #ffe6e6;
    border: 2px solid #dc3545;
    color: #842029;
}

/* === CONTATO === */
.contato-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contato-info {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
}

.contato-info h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.contato-list {
    margin-bottom: 1.5rem;
}

.contato-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.contato-list i {
    color: var(--primary);
    width: 20px;
}

.contato-social {
    display: flex;
    gap: 1rem;
}

.contato-social a {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: var(--transition);
}

.contato-social a:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.contato-logo {
    text-align: center;
    margin-top: 3rem;
}

.contato-logo img {
    max-width: 320px;
    margin: 0 auto;
}

/* === FOOTER === */
.footer {
    background: linear-gradient(135deg, #111, #228B22);
    color: #aaa;
    padding: 2rem 0;
}

.footer-content {
    text-align: center;
    font-size: 0.9rem;
}

.footer-content p {
    margin-bottom: 0.5rem;
}

.footer-content a {
    color: var(--secondary);
    transition: var(--transition);
}

.footer-content a:hover {
    color: var(--bg);
}

/* === WHATSAPP FLUTUANTE === */
.whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #228B22);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(34, 139, 34, 0.4);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.whatsapp-float::after {
    content: "🎁 Promo Natal";
    position: absolute;
    bottom: -25px;
    right: -10px;
    background: #228B22;
    color: #fff;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
    60% { transform: translateY(-3px); }
}

/* === SCROLL TOP === */
.scroll-top {
    position: fixed;
    right: 1.5rem;
    bottom: 5.5rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 99;
}

.scroll-top.visible {
    display: flex;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* === RESPONSIVO === */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-image {
        order: -1;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .cards-grid,
    .planos-grid {
        grid-template-columns: 1fr;
    }

    .contato-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        right: 1.5rem;
        background: var(--bg);
        flex-direction: column;
        gap: 0;
        box-shadow: var(--shadow-lg);
        border-radius: var(--radius);
        overflow: hidden;
        display: none;
        min-width: 200px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 0.8rem 1.2rem;
    }

    .nav-toggle {
        display: flex;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .hero-btn {
        display: none;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero {
        padding: 1.4rem 0;
    }

    .hero-image img {
        max-width: 280px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .whatsapp-float::after {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.6rem;
    }

    .plano-value {
        font-size: 2.4rem;
    }
}




/* --- CORREÇÃO DO BOTÃO SPEEDTEST --- */

/* Estado PADRÃO (Visível o tempo todo) */
.btn-speed-fix {
    display: inline-flex;       /* Alinha ícone e texto corretamente */
    align-items: center;
    justify-content: center;
    gap: 10px;                  /* Espaço entre ícone e texto */
    
    /* O MAIS IMPORTANTE: Cores para ficar visível */
    background-color: #e30613 !important; /* Fundo Vermelho */
    color: #ffffff !important;            /* Texto Branco */
    
    /* Formatação do botão */
    padding: 15px 30px;
    border-radius: 50px;        /* Bordas redondas */
    text-decoration: none;      /* Tira o sublinhado do link */
    font-weight: bold;
    font-size: 18px;
    border: none;               /* Remove bordas padrão se houver */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); /* Sombra leve para destacar */
    transition: all 0.3s ease;  /* Suaviza a mudança de cor */
}

/* Estado HOVER (Apenas muda um pouco quando passa o mouse) */
.btn-speed-fix:hover {
    background-color: #b5000d !important; /* Vermelho um pouco mais escuro */
    transform: translateY(-2px); /* Leve efeito de "subir" */
    box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}