@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --blue-primary: #0A3D8F;
    --blue-light: #0077FF;
    --cyan: #00C6FF;
    --yellow-primary: #FFC107;
    --yellow-dark: #FF9800;
    --dark-bg: #0B1120;
    --darker-bg: #060913;
    --text-white: #FFFFFF;
    /* Força a visibilidade dos subtópicos escuros */
.text-gray {
    color: #ffffff !important;
}
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-white);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* Utilities */
h1, h2, h3, h4, h5, h6 { font-weight: 800; text-transform: uppercase; letter-spacing: -0.5px; }
.text-yellow { color: var(--yellow-primary) !important; }
.text-blue-light { color: var(--blue-light) !important; }
.text-cyan { color: var(--cyan) !important; }
.bg-darker { background-color: var(--darker-bg) !important; }

/* Buttons Integrato Style */
.btn-neon {
    background: linear-gradient(90deg, var(--blue-primary), var(--blue-light));
    color: var(--text-white);
    font-weight: 700;
    border: none;
    border-radius: 8px;
    padding: 15px 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 119, 255, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 0%; height: 100%;
    background: linear-gradient(90deg, var(--yellow-dark), var(--yellow-primary));
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-neon:hover {
    color: var(--blue-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
}

.btn-neon:hover::before {
    width: 100%;
}

.btn-outline-neon {
    background: transparent;
    color: var(--yellow-primary);
    border: 2px solid var(--yellow-primary);
    font-weight: 700;
    border-radius: 8px;
    padding: 13px 38px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-outline-neon:hover {
    background: var(--yellow-primary);
    color: var(--dark-bg);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
}

/* Navbar */
.navbar {
    transition: all 0.4s ease;
    padding: 20px 0;
    background-color: transparent;
}
.navbar.scrolled {
    background-color: rgba(6, 9, 19, 0.95);
    backdrop-filter: blur(10px);
    padding: 10px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}
.nav-link {
    color: var(--text-white) !important;
    font-weight: 600;
    margin: 0 15px;
    text-transform: uppercase;
    font-size: 0.9rem;
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px;
    background-color: var(--yellow-primary);
    transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }
.navbar-brand img { max-height: 60px; transition: 0.3s; }

/* Hero Section */
.hero-section {
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(6,9,19,0.95) 0%, rgba(10,61,143,0.8) 100%);
    z-index: 1;
}

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

.slogan-highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.02);
}
.slogan-highlight-text span.blue { color: var(--blue-light); }
.slogan-highlight-text span.yellow { color: var(--yellow-primary); }

.mascot-hero {
    max-width: 130%;
    margin-left: -15%;
    filter: drop-shadow(0 0 30px rgba(0, 119, 255, 0.5));
    animation: floatMascot 4s ease-in-out infinite;
    position: relative;
    z-index: 2;
}
@keyframes floatMascot { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }

/* Curved Separators */
.curve-bottom {
    position: absolute;
    bottom: -1px; left: 0; width: 100%;
    line-height: 0;
    z-index: 3;
}
.curve-bottom svg { display: block; width: 100%; height: 60px; }
.curve-bottom path { fill: var(--dark-bg); }

/* CAROUSEL ESTILO - CORRIGIDO */
#carouselTecnologia {
    position: relative;
    width: 100%;
    background-color: var(--darker-bg);
}

/* Garante que os controles fiquem clicáveis acima do caption */
.carousel-control-prev,
.carousel-control-next,
.carousel-indicators {
    z-index: 10 !important;
}
.carousel-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    z-index: 1;
}
.carousel-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(6,9,19,0.95) 0%, rgba(10,61,143,0.85) 100%);
    z-index: 2;
}
.floating-shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border-radius: 30px;
    transform: rotate(45deg);
    z-index: 2;
}
.shape-1 { width: 180px; height: 180px; top: 15%; left: 15%; }
.shape-2 { width: 280px; height: 280px; bottom: 5%; right: 10%; }
.shape-3 { width: 90px; height: 90px; top: 40%; right: 25%; }

.carousel-caption {
    position: relative; z-index: 3;
    bottom: auto; left: auto; right: auto; padding: 0;
}
.content-box {
    max-width: 600px; width: 100%;
    text-align: left;
}
.feature-list {
    padding: 0; list-style: none;
}
.feature-list li {
    font-size: 1.1rem; color: var(--text-white); font-weight: 500;
    margin-bottom: 18px; display: flex; align-items: center;
}
.feature-list li i {
    margin-right: 15px; font-size: 1.3rem;
}
.custom-indicators {
    bottom: 30px; margin: 0; z-index: 4;
}
.custom-indicators button {
    width: 35px !important; height: 3px !important;
    background-color: rgba(255,255,255,0.3) !important;
    border: none !important; border-radius: 2px;
    margin: 0 5px !important; transition: 0.3s;
}
.custom-indicators button.active {
    background-color: var(--white) !important; width: 50px !important;
}

/* SELETOR DE CIDADES */
.city-selector {
    background-color: var(--darker-bg) !important;
    color: var(--text-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-align-last: center;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300C6FF' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 16px 12px !important;
    padding-right: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.city-selector:focus {
    border-color: var(--cyan) !important;
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.3) !important;
    outline: none;
}

.city-selector option {
    background-color: var(--darker-bg);
    color: var(--text-white);
    font-weight: 500;
    padding: 15px;
}

/* Plans Section (Neon Cards) */
.plan-card {
    background: var(--darker-bg);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
    text-align: center;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; transform: translateX(-50%);
    width: 80%; height: 100%;
    background: radial-gradient(circle at top, rgba(0, 119, 255, 0.15) 0%, transparent 70%);
    z-index: -1;
}

.plan-card:hover {
    transform: translateY(-15px);
    border-color: var(--blue-light);
    box-shadow: 0 15px 40px rgba(0, 119, 255, 0.2);
}

.plan-card.recommended {
    border-color: var(--yellow-primary);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.15);
    transform: scale(1.05);
}

.plan-card.recommended::before {
    background: radial-gradient(circle at top, rgba(255, 193, 7, 0.15) 0%, transparent 70%);
}

.plan-card.recommended:hover { transform: scale(1.05) translateY(-10px); }

.plan-speed { font-size: 4rem; font-weight: 900; color: var(--text-white); line-height: 1; margin-bottom: 0; text-shadow: 0 0 20px rgba(255,255,255,0.2); }
.plan-mega { font-size: 1.5rem; font-weight: 800; color: var(--blue-light); text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
.plan-card.recommended .plan-mega { color: var(--yellow-primary); }

.plan-price { font-size: 2.5rem; font-weight: 800; color: var(--text-white); margin-bottom: 30px; }
.plan-price span { font-size: 1rem; color: var(--text-gray); font-weight: 400; }
.plan-features { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.plan-features li { margin-bottom: 15px; font-weight: 500; color: var(--text-gray); font-size: 0.95rem; }
.plan-features li i { color: var(--yellow-primary); margin-right: 10px; font-size: 1.2rem; }

/* Coverage Section */
.coverage-section {
    background: url('https://images.unsplash.com/photo-1518770660439-4636190af475?q=80&w=2070&auto=format&fit=crop') center/cover fixed;
    position: relative;
    padding: 120px 0;
}
.coverage-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(6, 9, 19, 0.9);
}
.city-badge {
    background: rgba(10, 61, 143, 0.5);
    border: 1px solid var(--blue-light);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    backdrop-filter: blur(5px);
    transition: 0.3s;
}
.city-badge:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--yellow-primary);
    transform: translateY(-5px);
}
.city-badge i { font-size: 2.5rem; color: var(--yellow-primary); margin-bottom: 10px; }

/* Features / Why Us */
.feature-item {
    padding: 40px 30px;
    background: var(--darker-bg);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.02);
    height: 100%;
    transition: 0.3s;
    text-align: center;
}
.feature-item:hover {
    border-color: rgba(255,255,255,0.1);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.feature-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, rgba(10, 61, 143, 0.5), rgba(0, 119, 255, 0.2));
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 25px;
    border: 1px solid rgba(0, 119, 255, 0.3);
    color: var(--cyan);
    font-size: 35px;
    transform: rotate(45deg);
}
.feature-icon i { transform: rotate(-45deg); }
.feature-item:hover .feature-icon { background: linear-gradient(135deg, rgba(255, 193, 7, 0.5), rgba(255, 152, 0, 0.2)); border-color: var(--yellow-primary); color: var(--yellow-primary); }

/* Fiber Animation Section */
.fiber-tech-section {
    background-color: var(--blue-primary);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.glowing-lines {
    position: absolute; top: 50%; left: -10%; width: 120%; height: 2px;
    background: rgba(0, 198, 255, 0.2);
    transform: translateY(-50%);
}
.glowing-lines::after {
    content: ''; position: absolute; top: -2px; left: 0; width: 150px; height: 6px;
    background: var(--yellow-primary);
    box-shadow: 0 0 20px var(--yellow-primary), 0 0 40px var(--white);
    border-radius: 10px;
    animation: lightSpeed 2s infinite linear;
}
@keyframes lightSpeed { 0% { left: -10%; } 100% { left: 110%; } }

/* Footer */
footer {
    background-color: #030408;
    color: var(--text-gray);
    padding: 80px 0 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
footer h5 { color: var(--text-white); margin-bottom: 30px; font-weight: 700; letter-spacing: 1px; }
footer ul { padding: 0; list-style: none; }
footer ul li { margin-bottom: 15px; }
footer a { color: var(--text-gray); text-decoration: none; transition: 0.3s; display: inline-flex; align-items: center; }
footer a i { margin-right: 10px; color: var(--blue-light); transition: 0.3s; }
footer a:hover { color: var(--yellow-primary); }
footer a:hover i { color: var(--yellow-primary); margin-right: 15px; }
.footer-social a { display: inline-flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: rgba(255,255,255,0.05); border-radius: 10px; margin-right: 10px; }
.footer-social a i { margin: 0; color: var(--text-white); font-size: 1.2rem; }
.footer-social a:hover { background: var(--blue-light); color: var(--white); transform: translateY(-5px); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed; bottom: 30px; right: 30px;
    width: 65px; height: 65px;
    background: linear-gradient(135deg, #25D366, #128C7E); color: #FFF;
    border-radius: 50%; text-align: center;
    font-size: 35px; box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    z-index: 1000; display: flex; align-items: center; justify-content: center;
    transition: 0.3s; text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1) rotate(10deg); color: #fff; box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7); }

/* Mascot Chat Area */
.mascot-chat-box {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* ========================================= */
/* CORREÇÃO DE TEXTOS DO FORMULÁRIO          */
/* ========================================= */

.form-label {
    color: #e9ecef !important; /* Deixa os títulos dos campos claros */
}

.text-muted {
    color: #a6b0cf !important; /* Clareia o subtítulo "Descubra se sua rua..." */
}

.fade-in {
    animation: fadeIn 0.8s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}


/* MASCOTE OCUPANDO A ALTURA DA TELA */
.hero-section {
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;
    position: relative;
}

.mascot-hero {
    display: block;
    width: 100%;
    max-width: none;
    height: calc(100vh - 80px);
    height: calc(100svh - 80px);
    object-fit: contain;
    object-position: center bottom;
    margin-left: 0;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 30px rgba(0, 119, 255, 0.5));
    animation: floatMascot 4s ease-in-out infinite;
}

/* CELULARES */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100svh;
        padding-top: 80px;
    }

    .mascot-hero {
        width: 100%;
        height: 65svh;
        max-width: none;
        object-fit: contain;
        object-position: center bottom;
        margin: 0 auto;
    }
}
