html {
    scroll-behavior: smooth;
}
:root {
    --primary-color: #0b1120; 
    --accent-color: #016db6;  
    --accent-hover: #00a8cc;
    --text-light: #ffffff;
    --text-gray: #a0aec0;
    --topbar-bg: #0055ff; 
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    overflow-x: hidden; /* Evita rolagem horizontal em telas pequenas */
}

/* Topbar */
.topbar {
    background-color: #016db6;
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 5%;
    font-size: 0.88rem;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap; /* Permite que os itens quebrem linha se não couberem */
}

.topbar i { margin-right: 5px; }

.topbar a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity 0.3s;
}

.topbar a:hover { opacity: 0.8; }

.social-icons i {
    margin-left: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.social-icons i:hover { transform: scale(1.2); }

/* City Selector Dropdown */
.city-selector {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.current-city {
    display: flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.3s;
}

.current-city:hover { opacity: 0.8; }

.city-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border-radius: 6px;
    list-style: none;
    z-index: 100;
    padding: 8px 0;
    margin-top: 12px;
}

.city-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 20px;
    width: 12px;
    height: 12px;
    background-color: #ffffff;
    transform: rotate(45deg);
}

.city-dropdown.show {
    display: block;
    animation: fadeIn 0.2s ease-in-out;
}

.city-dropdown li a {
    color: #333333 !important; 
    padding: 10px 20px;
    display: block;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
}

.city-dropdown li a:hover {
    background-color: #f0f7ff;
    color: var(--topbar-bg) !important;
    padding-left: 25px; 
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky; /* Mantém o menu preso no topo ao rolar (opcional) */
    top: 0;
    z-index: 50;
}

.logo img {
    max-height: 50px; 
    width: auto;      
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px; /* Reduzido de 45px para caber melhor em tablets */
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover { color: var(--accent-color); }

/* Menu Hamburguer e Botões Responsivos */
.menu-toggle {
    display: none; /* Escondido no Desktop */
    font-size: 1.8rem;
    cursor: pointer;
    color: #016db6;
}

.mobile-only-btn { display: none; }
.desktop-only-btn { display: flex; }

.btn {
    padding: 10px 22px;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.w-100 { width: 100%; margin-top: 15px; } /* Classe auxiliar para botão mobile */

.btn-solid {
    background-color: #016db6;
    color: var(--text-light);
    border: 2px solid #016db6;
}

.btn-solid:hover {
    background: var(--accent-color);
    color: var(--text-light);
    border-color: var(--accent-color);
}

/* Hero Section / Banner */
.hero {
    background-color: var(--primary-color);
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    display: flex; 
}

/* 1. Regra geral para as imagens do banner se ajustarem */
.hero-banner picture, .hero-banner img {
    width: 100%;       
    height: auto;
    display: block;    
}

/* 2. Configurações do Carrossel (Slides) - ATUALIZADO COM BOTÕES */
.hero-banner .slide {
    display: none; /* Agora esta regra esconde a DIV inteira */
    width: 100%;
    position: relative; /* Permite que o botão flutue sobre a imagem */
}

.hero-banner .slide.active {
    display: block; /* Mostra apenas o slide ativo */
    animation: fadeEffect 0.8s ease-in-out;
}

/* Caixa flutuante do botão no banner */
.banner-conteudo {
    position: absolute;
    top: 80%; /* Altura do botão na imagem */
    left: 10%; /* Move o botão para o lado esquerdo, deixando 10% de margem da borda */
    transform: translateY(-50%); /* Centraliza apenas na vertical, removendo o centro horizontal */
    z-index: 20;
    text-align: left; /* Alinha o conteúdo à esquerda */
}

/* Ajuste do botão em celulares */
@media (max-width: 768px) {
    .banner-conteudo { 
        top: 85%; 
        left: 5%; /* No celular, a margem esquerda diminui para caber melhor */
    }
    .banner-conteudo .btn-cta {
        padding: 10px 20px !important;
        font-size: 0.9rem !important;
    }
}

/* 3. Efeito de transição suave */
@keyframes fadeEffect {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Setas do Carrossel */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.7);
    font-size: 30px; 
    cursor: pointer;
    z-index: 10;
    background: rgba(0,0,0,0.2); 
    width: 60px; 
    height: 60px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.carousel-arrow:hover {
    color: #ffffff;
    background: rgba(0,0,0,0.5); 
}
.carousel-arrow.left { left: 30px; }
.carousel-arrow.right { right: 30px; }

/* ========================================= */
/* SEÇÃO DE PLANOS DE INTERNET               */
/* ========================================= */
.planos {
    padding: 60px 5%;
    background-color: #f8f9fa; /* Fundo cinza bem claro para destacar os cards */
    text-align: center;
}

.planos h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.cards-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Permite quebrar linha no celular */
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    padding: 40px 30px;
    width: 100%;
    max-width: 350px; 
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative; /* Necessário para ancorar a etiqueta "Mais Vendido" */
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Estilo do Card Central (Destaque) */
.card.destaque {
    border: 2px solid #016db6;
    transform: scale(1.05); /* Deixa ele um pouco maior que os outros no PC */
}

.card.destaque:hover {
    transform: scale(1.05) translateY(-10px);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #016db6;
    color: var(--text-light);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
}

.velocidade {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.desc-plano {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 45px; /* Mantém os preços alinhados mesmo se as descrições tiverem tamanhos diferentes */
}

.preco {
    font-size: 2.5rem;
    font-weight: bold;
    color: #016db6;
    margin-bottom: 25px;
}

.preco span {
    font-size: 1rem;
    color: #666;
    font-weight: normal;
}
/* Estilos para o bloco de desconto de vencimento */
.info-valores {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 10px 5px 10px;
    margin-bottom: 20px;
}

.valor-contrato {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.valor-contrato s {
    color: #ef4444; /* Vermelho suave para indicar que o preço original foi "cortado" */
    font-weight: bold;
}

.aviso-vencimento {
    font-size: 0.75rem;
    color: #059669; /* Verde para remeter a economia/benefício */
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: -5px; /* Puxa o preço grande mais para perto do aviso */
}

.aviso-vencimento i {
    margin-right: 4px;
}

.beneficios {
    list-style: none;
    text-align: left;
    margin-bottom: 30px;
    flex-grow: 1; /* Empurra os botões sempre para o final do cartão */
}

.beneficios li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    color: #444;
}

/* Botões dentro dos cartões */
.btn-client, .btn-cta {
    padding: 14px 0;
    border-radius: 6px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-client {
    background-color: #e2e8f0;
    color: var(--primary-color);
}

.btn-client:hover {
    background-color: #cbd5e1;
}

.btn-cta {
    background-color: #016db6;
    color: var(--text-light);
}

.btn-cta:hover {
    background-color: var(--primary-color);
}
/* ========================================= */
/* SEÇÃO DESTAQUE CTA (A MELHOR CONEXÃO)     */
/* ========================================= */
.secao-destaque {
    background-color: #016db6; /* Azul oficial da marca */
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border-bottom: none; /* Linha escura no rodapé igual a imagem */
}

.container-destaque2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.texto-destaque {
    flex: 1;
    padding: 70px 0;
    max-width: 550px;
}

.texto-destaque h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.texto-destaque p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    color: #e0f2fe; /* Azul bem clarinho para dar leitura e não cansar a vista */
}

.btn-branco {
    display: inline-block;
    background-color: #ffffff;
    color: #016db6;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-branco:hover {
    background-color: #f8fafc;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.btn-branco i {
    margin-left: 8px;
}

.imagem-destaque {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end; /* Alinha a imagem na base da seção */
    margin-top: 30px;
}

.imagem-destaque img {
    max-width: 100%;
    height: auto;
    max-height: 450px; 
    object-fit: contain;
    margin-bottom: -8px; /* Remove o espaço fantasma debaixo da imagem para encostar na borda */
}
/* ========================================= */
/* SEÇÃO CANAIS DE ATENDIMENTO               */
/* ========================================= */
.atendimento {
    background-color: #f8f9fa; /* Azul escuro inspirado na imagem */
    padding: 70px 5%;
    color: #016db6;
}

.container-atendimento {
    max-width: 1200px;
    margin: 0 auto;
}

.atendimento-header {
    margin-bottom: 40px;
}

.atendimento-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.atendimento-header h3 {
    font-size: 1.5rem;
    font-weight: 400;
	color: #000000;
}

.atendimento-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Permite que os botões se ajustem em telas menores */
}

.atendimento-card {
    background-color: #ffffff;
    color: #0b1120;
    flex: 1;
    min-width: 170px;
    aspect-ratio: 1 / 1; /* Força os cards a ficarem perfeitamente quadrados */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.atendimento-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Criando o efeito de gradiente laranja nos ícones igual à imagem */
.atendimento-card i {
    font-size: 4rem;
    background: linear-gradient(90deg, #f3cb14, #f3cb14);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.atendimento-card span {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

/* ========================================= */
/* SEÇÃO DE DÚVIDAS FREQUENTES (FAQ)         */
/* ========================================= */
.faq-section {
    padding: 80px 5%;
    background-color: #ffffff;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout de duas colunas alinhado ao topo */
.faq-grid-layout {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
}

.faq-main-content {
    flex: 1;
}

/* Título da Seção FAQ dentro da coluna esquerda */
.faq-header {
    text-align: left;
    margin-bottom: 30px;
}

.faq-header h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.faq-header p {
    color: #475569;
    font-size: 1.1rem;
}

/* Coluna da Imagem alinhada ao lado */
.faq-imagem {
    flex: 1;
    display: flex;
    justify-content: center;
    position: sticky; /* Mantém a imagem visível enquanto rola as perguntas se desejar */
    top: 100px;
}

.faq-imagem img {
    width: 200%;
    height: auto;
    max-height: 550px; /* Deixa a imagem com uma altura excelente e imponente */
    object-fit: contain;
}

/* Estilo das Abas Superiores */
.faq-tabs {
    display: flex;
    border-bottom: 1px solid #cbd5e1;
    margin-bottom: 30px;
    gap: 30px;
}

.faq-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: #475569;
    padding: 10px 15px;
    cursor: pointer;
    position: relative;
    font-weight: 500;
    transition: color 0.3s;
}

.faq-tab:hover {
    color: #016db6;
}

.faq-tab.active {
    color: #016db6;
}

.faq-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #016db6;
}

/* Controle de exibição do conteúdo das abas */
.faq-content { display: none; }
.faq-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Estilo do Efeito Sanfona (Accordion) */
.faq-item {
    border-bottom: 1px solid #cbd5e1;
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 1.1rem;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover { color: #016db6; }

.faq-question i {
    color: #475569;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    color: #475569;
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

/* ========================================= */
/* ESTILOS DO RODAPÉ (FOOTER)                */
/* ========================================= */
.site-footer {
    background-color: #016db6; /* Azul do seu topo/botões */
    color: #ffffff;
    padding-top: 60px;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 40px 5%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 35px;
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.brand-col {
    flex: 1.5; /* Dá um pouco mais de espaço para a logo e o texto */
}

.footer-logo {
    max-height: 60px; /* Mesmo tamanho da navbar */
    margin-bottom: 5px;
    /* Caso sua logo seja escura, você pode aplicar um filtro para deixá-la branca no CSS: */
    /* filter: brightness(0) invert(1); */
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #e0f2fe;
    margin-bottom: 20px;
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: #f3cb14; /* Amarelo de destaque */
    color: #0b1120;
    transform: translateY(-3px);
}

.footer-col h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: #f3cb14;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #e0f2fe;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-col ul li a:hover {
    color: #f3cb14;
    transform: translateX(1px);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 0.95rem;
}

.contact-info i {
    color: #f3cb14;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Barra inferior amarela (Copyright) */
.footer-bottom {
    background-color: #f3cb14; /* Cor amarela do tema */
    color: #000000;
    text-align: center;
    padding: 15px 5%;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-bottom .small-text {
    font-size: 0.75rem;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

/* Responsividade do Rodapé */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-col {
        text-align: center;
    }

    .footer-col p {
        margin: 0 auto 20px auto;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-info li {
        justify-content: center;
    }
}

/* ========================================= */
/* MEDIA QUERIES (A MÁGICA DA RESPONSIVIDADE)*/
/* ========================================= */

/* TABLETS E TELAS MÉDIAS (até 1024px) */
@media (max-width: 1024px) {
    .nav-links { gap: 15px; } /* Aproxima os links */
    .topbar { padding: 12px 3%; }
    .navbar { padding: 15px 3%; }
	/* Tira o efeito de ampliação do cartão destaque em tablets e celulares */
    .card.destaque { transform: scale(1); }
    .card.destaque:hover { transform: translateY(-5px); }
}

/* CELULARES GRANDES E TABLETS PEQUENOS (até 850px) */
@media (max-width: 850px) {
    /* Topbar agrupada e centralizada */
    .topbar { 
        flex-direction: column; 
        gap: 12px; 
        text-align: center; 
        padding: 15px;
    } /* <--- ESTA CHAVE ESTAVA FALTANDO AQUI! */
		
    /* Responsividade da Seção CTA */
    .container-destaque2 {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }
		
    .texto-destaque {
        padding: 20px 0;
    }
		
    .imagem-destaque {
        justify-content: center;
        margin-top: 10px;
    }
	
    .topbar-left, .topbar-right { justify-content: center; width: 100%; }
    
    /* Configuração do Menu Sanduíche (Hamburguer) */
    .menu-toggle { display: block; } /* Mostra o ícone */
	
    .desktop-only-btn { display: none; } /* Esconde o botão solto */
    
    .nav-links {
        display: none; /* Esconde o menu por padrão */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        padding: 20px;
        gap: 20px;
        text-align: center;
    }
    
    /* Quando a classe 'active' for adicionada pelo JavaScript, o menu aparece */
    .nav-links.active {
        display: flex;
        animation: fadeIn 0.3s ease;
    }
    
    .nav-links li { width: 100%; border-bottom: 1px solid #eee; padding-bottom: 10px; }
	
    .nav-links li:last-child { border-bottom: none; }
    
    .mobile-only-btn { display: block; } /* Mostra o botão dentro do menu */
	
	/* Responsividade da Central de Atendimento */
    .atendimento-header {
        text-align: center;
    }
    .atendimento-grid {
        justify-content: center;
    }
    .atendimento-card {
        min-width: 140px; /* Reduz levemente o quadrado no celular */
    }
	
	/* Responsividade da Seção FAQ com Imagem */
    .faq-grid-layout {
        flex-direction: column;
        gap: 30px;
    }
    .faq-imagem {
        display: none; /* Isso oculta a imagem inteira no mobile */
    }
}

/* CELULARES PEQUENOS (até 500px) */
@media (max-width: 500px) {
    .topbar-left span { font-size: 0.8rem; display: block; margin-bottom: 5px; }
    .carousel-arrow { display: none; } /* Esconde as setas, pois celulares usam touch swipe */
    .logo img { max-height: 40px; } /* Diminui a logo um pouco */
}
