/* ===== GENERAL ===== */

* { margin:0; padding:0; box-sizing:border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background:#f5f7fa;
    color:#1b1f23;
}

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

.container {
    max-width:1200px;
    margin:0 auto;
    padding:0 20px;
}

/* ===== NAVBAR ===== */

.topbar {
    background:#0c4d84;
    padding:10px 0;
    position:sticky;
    top:0;
    z-index:50;
    box-shadow:0 2px 6px rgba(0,0,0,0.15);
}

.nav-wrapper {
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo-img {
    height:105px;
}

.main-nav {
    display:flex;
    gap:25px;
    align-items:center;
}

.main-nav a {
    color:#fff;
    font-size:15px;
    font-weight:500;
    transition:0.2s;
}

.main-nav a:hover {
    color:#2ba0e0;
}

.btn-area-cliente {
    padding:8px 18px;
    border-radius:30px;
    background:#2ba0e0;
    color:#fff !important;
    font-weight:600;
}

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

.nav-toggle span {
    width:25px;
    height:3px;
    background:#fff;
}

/* ===== HERO RESPONSIVO ===== */

.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 1000px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
}

.hero-slide {
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity:1;
}

.hero-bg-img {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    z-index:0;
}

/* Overlay suave para manter atmosfera One Telecom */
.hero-overlay {
    position:absolute;
    inset:0;
    background: linear-gradient(120deg, rgba(12,77,132,0.55), rgba(43,160,224,0.35));
    z-index:1;
}

/* Conteúdo */
.hero-content {
    position:relative;
    z-index:2;
    max-width:600px;
}

.hero h1 {
    font-size:42px;
    line-height:1.1;
    color:#fff;
    text-shadow:0 2px 4px rgba(0,0,0,0.35);
    margin-bottom:12px;
}

.hero-sub {
    color:#fff;
    margin-bottom:20px;
    font-size:17px;
}

/* ===== BUTTONS ===== */

.btn-primary {
    background:#2ba0e0;
    padding:10px 18px;
    border-radius:30px;
    color:#fff;
    font-weight:600;
    box-shadow:0 3px 8px rgba(0,0,0,0.25);
}
.btn-primary:hover { opacity:0.9; }

.btn-secondary {
    background:#fff;
    color:#0c4d84;
    padding:10px 18px;
    border-radius:30px;
    font-weight:600;
}
.btn-secondary:hover { background:#e8f5ff; }

.full { width:100%; text-align:center; display:inline-block; }

/* ===== SECTIONS ===== */

.section { padding:50px 0; }
.section.alt { background:#eaf0f9; }

.section h2 {
    font-size:28px;
    margin-bottom:5px;
}

.section-sub {
    color:#4e5a67;
    margin-bottom:25px;
}

/* ===== CARDS ===== */

.cards {
    display:grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,1fr));
    gap:18px;
}

.card {
    background:#fff;
    padding:20px;
    border-radius:14px;
    box-shadow:0 4px 14px rgba(0,0,0,0.12);
    position:relative;
    min-height:260px;
    display:flex;
    flex-direction:column;
}

.card .badge {
    position:absolute;
    top:12px;
    right:12px;
    background:#2ba0e0;
    color:#fff;
    padding:4px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
}

.card h3 { font-size:20px; margin-bottom:6px; }

.speed {
    color:#0c4d84;
    font-weight:600;
    margin-bottom:4px;
}

.price {
    font-size:20px;
    font-weight:700;
    margin:10px 0 8px 0;
}

.beneficios {
    list-style:disc;
    padding-left:18px;
    font-size:13px;
    color:#4b5563;
    flex:1;
}

.beneficios li { margin-bottom:3px; }

.card a.btn-primary { margin-top:10px; }

.destaque {
    border:2px solid #2ba0e0;
}

/* ===== MANDAMENTOS ===== */

.mandamentos {
    display:flex;
    flex-direction:column;
    gap:12px;
}

.mandamento {
    display:flex;
    gap:10px;
    background:#fff;
    border-radius:12px;
    padding:12px;
    box-shadow:0 2px 8px rgba(0,0,0,0.08);
}

.m-num {
    width:32px;
    height:32px;
    border-radius:50%;
    background:#2ba0e0;
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
}

.mandamento h3 { font-size:16px; margin-bottom:4px; }
.mandamento p { font-size:13px; color:#4b5563; }

/* ==== FOOTER ==== */

/* FOOTER */

/* FOOTER CORRIGIDO E DISTRIBUÍDO */

/* Barra azul no topo do footer */
.footer {
    background:#0c4d84;
    color:#fff;
    padding:50px 0;
     /* A BARRA QUE FALTA */
}


.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
}

.footer-col {
    font-size: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 10px;
}

.footer-social img {
    width: 26px;
    height: auto;
}

.lre-icon {
    width: 40px;
    height: auto;
}

@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content: center;
    }
}


/* MOBILE */
@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-social {
        justify-content:center;
    }
}



/* ===== MOBILE ===== */

@media (max-width: 850px) {

    .main-nav { 
        display:none;
        flex-direction:column;
        background:#0c4d84;
        position:absolute;
        right:20px;
        top:75px;
        padding:20px;
        border-radius:12px;
        box-shadow:0 4px 12px rgba(0,0,0,0.3);
    }
    .main-nav.open { display:flex; }
    .nav-toggle { display:flex; }

    .hero {
        height:65vh;
        min-height:380px;
    }

    .hero h1 { font-size:30px; }
    .hero-content { padding:0 20px; }
}
