* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    
    background: 
        linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.8)),
        url('../images/fundoclima.png') no-repeat center center;

    background-size: cover;
    background-attachment: fixed;

    color: white;
}

/* HEADER */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 50px;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header a {
    color: white;
    text-decoration: none;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
}

header h2 {
    margin-left: 10px;
    color: #00bfff;
}

/* MENU */
nav a {
    margin-left: 20px;
    transition: 0.3s;
}

nav a:hover {
    color: #00bfff;
}

/* BOTÃO HAMBURGUER */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* HERO */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.hero h1 {
    font-size: 55px;
    color: #00bfff;
    z-index: 2;
}

.hero p {
    margin-top: 20px;
    font-size: 18px;
    max-width: 500px;
    z-index: 2;
}

/* BOTÃO */
.btn {
    display: inline-block;
    margin-top: 30px;
    padding: 15px 30px;
    border-radius: 30px;
    background: linear-gradient(45deg, #00bfff, #007bff);
    color: white;
    text-decoration: none;
    transition: 0.3s;
    z-index: 2;
}

.btn:hover {
    transform: scale(1.05);
}

/* FUMAÇA */
.smoke {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.smoke span {
    position: absolute;
    bottom: -150px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0,191,255,0.4) 0%, rgba(0,191,255,0) 70%);
    animation: smokeUp 15s linear infinite;
    filter: blur(35px);
}

.smoke span:nth-child(1){left:10%;}
.smoke span:nth-child(2){left:30%;}
.smoke span:nth-child(3){left:50%;}
.smoke span:nth-child(4){left:70%;}
.smoke span:nth-child(5){left:90%;}

@keyframes smokeUp {
    0% {transform: translateY(0) scale(1); opacity: 0.4;}
    100% {transform: translateY(-1000px) scale(2); opacity: 0;}
}

/* SERVIÇOS */
.servicos {
    padding: 80px 60px;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 30px;
}

.card {
    padding: 30px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

/* DIFERENCIAIS */
.diferenciais {
    padding: 80px 60px;
}

.lista {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
    gap: 20px;
}

/* CTA */
.cta {
    padding: 80px;
    text-align: center;
}

/* EMPRESA */
.empresa-info {
    padding: 80px 60px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
    gap: 20px;
}

/* MAPA */
.mapa {
    padding: 80px 20px;
    text-align: center;
}

.map-container {
    max-width: 900px;
    margin: auto;
    border-radius: 20px;
    overflow: hidden;
}

/* COMENTÁRIOS */
.comentarios {
    padding: 80px 60px;
    text-align: center;
}

/* SOCIAL */
.social-float {
    position: fixed;
    right: 20px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social img {
    width: 20px;
}


/* MOBILE */
@media(max-width:768px){

    header {
        padding: 15px 20px;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }

    nav {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #020617;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav.active {
        display: flex;
    }

    nav a {
        margin: 10px 0;
    }

    .hero {
        padding: 20px;
        height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 30px;
    }

    .servicos,
    .diferenciais,
    .comentarios,
    .empresa-info {
        padding: 50px 20px;
    }

    .grid,
    .lista,
    .info-grid {
        grid-template-columns: 1fr;
    }

    .social {
        width: 40px;
        height: 40px;
    }

    .smoke {
        display: none;
    }
}









/* ===== MENU MOBILE CORRETO ===== */
@media(max-width:768px){

    /* ESCONDE MENU */
    nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #020617;
        padding: 20px 0;
    }

    /* MOSTRA QUANDO CLICAR */
    nav.active {
        display: flex;
    }

    /* MOSTRA BOTÃO ☰ */
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 20px;
    }
}


@media(min-width:769px){
    nav {
        display: flex;
    }
}