* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #0c1b24;
    color: white;
    padding-top: 90px;
}

/* HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 10%;
    background: #07141b;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.ativo {
    background: rgba(7, 20, 27, 0.9);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    padding: 15px 10%;
}

/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 60px;
}

/* MENU DESKTOP */

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin-left: 20px;
    color: #00d9ff;
    text-decoration: none;
    transition: 0.3s;
}

nav a:hover {
    color: white;
}

/* BOTÃO HAMBÚRGUER */

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #00d9ff;
}

/* HERO */

.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(120deg, #0f2c3a, #07141b);
}

.hero h2 {
    font-size: 40px;
    margin-bottom: 20px;
}

.hero p {
    margin-bottom: 30px;
}

/* BOTÃO PRINCIPAL */

.btn-orcamento {
    padding: 15px 40px;
    background: linear-gradient(135deg, #00d9ff, #0097a7);
    color: white;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.btn-orcamento:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #00f0ff, #00bcd4);
}

/* SERVIÇOS */

.servicos {
    padding: 80px 10%;
    text-align: center;
}

.cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card {
    background: #0f2c3a;
    padding: 40px;
    border-radius: 10px;
    width: 260px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    background: #00d9ff;
    color: black;
}

/* SOBRE */

.sobre {
    padding: 80px 10%;
    text-align: center;
}

/* CONTATO */

.contato {
    padding: 80px 10%;
    text-align: center;
}

/* FOOTER */

footer {
    background: #07141b;
    text-align: center;
    padding: 30px;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 999;
}

.modal-content {
    background: linear-gradient(145deg, #0f2c3a, #07141b);
    color: white;
    width: 420px;
    margin: 5% auto;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.4s ease;
    position: relative;
}

.fechar {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

.modal form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal input,
.modal textarea,
.modal select {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background: #0c1b24;
    color: white;
    border: 1px solid #1e3a47;
}

.modal textarea {
    height: 100px;
}

.modal button {
    margin-top: 10px;
    padding: 14px;
    background: linear-gradient(135deg, #00d9ff, #0097a7);
    border: none;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* ANIMAÇÕES */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE */

@media (max-width:768px) {

    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #07141b;
        display: none;
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
    }

    nav a {
        margin: 15px 0;
        display: block;
    }

    nav.ativo {
        display: flex;
        animation: slideDown 0.3s ease;
    }

}