/* =========================
   RESET E BASE
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: #f4f8fb;
    color: #333;
    line-height: 1.6;
    padding-top: 80px;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   HEADER FIXO
========================= */
.topo {
    position: fixed;
    top: 0;
    width: 100%;
    background: #0a2540;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo h2 {
    color: white;
    font-family: 'Poppins', sans-serif;
}

/* MENU */
.menu {
    display: flex;
    gap: 25px;
}

.menu a {
    color: white;
    text-decoration: none;
}

/* BOTÃO NAV */
.btn-nav {
    background: #00a8e8;
    color: white;
    padding: 8px 18px;
    border-radius: 5px;
    text-decoration: none;
}

/* BOTÃO HAMBURGER */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 900px) {

    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a2540;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }

    .menu a {
        padding: 12px;
        width: 100%;
        text-align: center;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* HERO */
.hero {
    background: linear-gradient(rgba(11,60,93,0.85), rgba(28,110,164,0.85)),
                url('img/bg.jpg');
    background-size: cover;
    text-align: center;
    color: white;
    padding: 100px 20px;
}

/* BOTÃO */
.btn {
    display: inline-flex;
    justify-content: center;
    margin-top: 20px;
    background: #00a8e8;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
}

/* SERVIÇOS */
.servicos {
    padding: 60px 20px;
    text-align: center;
}

.servicos .container {
    display: grid;
    gap: 20px;
}

/* CARD */
.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
}

/* CTA */
.cta {
    display: flex;
    justify-content: center;
    padding: 40px;
}

/* FOOTER */
footer {
    background: #0a2540;
    color: white;
    text-align: center;
    padding: 20px;
}

/* BOTÃO TOPO */
#btnTopo {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #00a8e8;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 50%;
    display: none;
}

/* RESPONSIVO GRID */
@media (min-width: 600px) {
    .servicos .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .servicos .container {
        grid-template-columns: repeat(4, 1fr);
    }
}