:root {
    --laranja: #FF6b00;
    --laranjaescuro: #e25027;
    --azul: #0f4db0;
    --cinza: #f5f7fa;
    --escuro: #1f2933;
}

html {
    scroll-behavior: smooth;
}

@media (max-width: 768px) {

    header {
        padding: 16px 24px;
        flex-direction: column;
        gap: 12px;
    }

    nav a {
        margin-left: 0;
        margin-right: 16px;
        font-size: 0.9rem;
    }

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--cinza);
    color: var(--escuro);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
}

@media (max-width: 768px) {
    section {
        padding: 72px 24px;
    }
}

header {
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    position: sticky;
    top: 0;
    z-index: 1000;
/*
    background: linear-gradient(
    135deg,
    #0f4db0 0%,
    #163b7a 50%,
    #0b2f6d 100%
);*/

background: linear-gradient(
    135deg,
    #5a5a5a 0%,
    #494949 50%,
    #3a3a3a 100%
);

    padding: 10px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;

    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: #fff;
    margin: 0;
}

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

@media (max-width: 768px) {
    .logo img {
        height: 70px;
        /* também aumenta no mobile */
    }
}


header.scrolled {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 12px 48px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

header.scrolled .logo img {
    height: 46px;
}

header.scrolled nav a {
    padding: 8px 14px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {

    header.scrolled {
        padding: 10px 24px;
    }

    header.scrolled .logo img {
        height: 42px;
    }
}


h1,
h2,
h3,
h4 {
    letter-spacing: -0.5px;
}

.menu-toggle{
    display:none;
    font-size:28px;
    color:#fff;
    cursor:pointer;
    z-index:1001; /* garante que fique acima */
}


@media (max-width: 768px) {

    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        margin-left: 10px;
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
/*
        background: linear-gradient(135deg,
    #0f4db0 0%,
    #163b7a 50%,
    #0b2f6d 100%);
*/

background: linear-gradient(
    135deg,
    #5a5a5a 0%,
    #494949 50%,
    #3a3a3a 100%
);
        flex-direction: column;
        align-items: center;
        gap: 12px;

        padding: 20px 0;

        display: none !important;

    }

    nav.active {
        display: flex !important;
        flex-direction: column;
        opacity: 1;
        transform: translateY(0);
    }

    
    /* ===== SECTIONS ===== */
    section{
        padding:48px 20px;
    }

    nav a {
        width: 80%;
        text-align: center;
    }

    .hero{
        max-height:250px;
    }

    .hero-slides{
        aspect-ratio:auto;
        height:200px;
    }

    .hero-slides img{
        object-fit:cover;
    }

    /* ===== FOOTER ===== */
    .footer{
        padding:40px 20px;
    }

    .footer-content{
        gap:20px;
    }

}


nav {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

nav a {
    position: relative;
    padding: 10px 18px;
    border-radius: 999px;

    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;

    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(6px);

    transition: all 0.3s ease;
}

nav a:hover {
    background: linear-gradient(
    135deg,
    #f5d76e,
    #d4af37,
    #7a5c1b
);

transform: translateY(-2px);
box-shadow: 0 8px 20px rgba(212, 175, 55, 0.5);
}

.hero{
    width:100%;
    overflow:hidden;
    margin: 0;
    padding: 0;
}

.hero img{
    width:100%;
    height:auto;
    display:block;
}

.hero-carousel {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;

}

.hero-slides {
    position: relative;
    height: 100%;
    aspect-ratio: 1900 / 449;
}

@media (max-width:768px) {
    .hero-slides {
        aspect-ratio: auto;
        height: 200px;
    }

    .hero-slides img {
        object-fit: cover;
        /* importante */
    }
}

.hero-slides img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* mostra a imagem inteira */
    background: white;
    opacity: 0;
    transition: opacity 0.8s ease;
    object-fit: contain;
    z-index: 1;
}

.hero-slides img.active {
    opacity: 1;
    z-index: 1;
}

.hero-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    background: black;
}

.dot.active {
    width: 28px;
    border-radius: 999px;
    background: white;
}

@media (max-width: 768px) {
    .hero-slides {
        height: 260px;
    }

    .hero-carousel {
        border-radius: 18px;
    }
}

section {
    padding: 64px 48px;
}


section h2 {
    color: var(--azul);
    margin-bottom: 32px;
    text-align: center;
    font-size: 2.2rem;
}


.faq{
    margin-left: 15%;
    margin-right: 15%;
}

.faq details {
    background: #fff;
    padding: 24px 28px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq details:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faq summary {
    list-style: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--escuro);
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--laranja);
    transition: transform 0.3s ease;
}

.faq details[open] summary::after {
    transform: rotate(45deg);
}

.faq details p {
    margin-top: 16px;
    color: #555;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.footer {
    background: linear-gradient(
    135deg,
    #5a5a5a 0%,
    #494949 50%,
    #3a3a3a 100%
);
    /*
    background: linear-gradient(
        135deg,
        #0b2f6d,
        #092557
    );*/
    color: #fff;
    padding: 64px 48px 24px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: 16px;
    color: #fff;
}

.footer-col p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
}

.footer-col a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-col > p > a {
    display: block;
    color: #dbeafe;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.footer-col a:hover {
    color: var(--laranja);
}

.footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.75;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 16px;
}

.social-links{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.social-links a{
    text-decoration:none;
    font-size:15px;
    display:flex;
    align-items:center;
    gap:8px;
}

.social-links i{
    font-size:18px;
}

.banner-5g {
    width: 100%;
    padding: 60px 20px;
    /* espaço vertical e lateral */
    display: flex;
    justify-content: center;
}


.roteador-container img {
    width: 100%; /* AQUI você controla o quanto a imagem cresce */
    max-width: none;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
    margin-top: 10%;
    margin-bottom: 10%;
}

.banner-container {
    max-width: 1200px;
    /* limita largura para não ficar gigante */
    width: 100%;
}


.banner-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(
    135deg,
    #5a5a5a 0%,
    #494949 50%,
    #3a3a3a 100%
);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    z-index: 999;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;

    animation: vibrar-whatsapp 8s infinite;
}

.whatsapp-float img {
    width: 50%
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

@keyframes vibrar-whatsapp {

    0%,
    90%,
    100% {
        transform: translate(0);
    }

    92% {
        transform: translate(-2px, 2px);
    }

    94% {
        transform: translate(2px, -2px);
    }

    96% {
        transform: translate(-2px, 2px);
    }

    98% {
        transform: translate(2px, -2px);
    }

}

/* estado inicial */
.reveal{
    opacity:0;
    transform:translateY(40px);
    transition:all 0.8s ease;
}

/* quando aparece */
.reveal.active{
    opacity:1;
    transform:translateY(0);
}