/* ================= RESET ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* ================= HEADER ================= */
.header {
    position: fixed;
    width: 100%;
    top: 0;
    background: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* ===== AJUSTE CIRÚRGICO DE ALINHAMENTO ===== */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px; /* ajustado para alinhar com o menu */
}

.logo span {
    margin-left: 12px;
    font-weight: 600;
    font-size: 16px;
}

/* ============================================ */

.nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
    transition: 0.3s;
}

.nav a:hover {
    opacity: 0.6;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* ================= BANNER ================= */
.banner {
    margin-top: 80px;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ================= SEÇÕES ================= */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: #f9f9f9;
}

.section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
}

/* ================= GRID SEGMENTOS ================= */
.grid-segmentos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    text-align: center;
    padding: 20px;
    border: 1px solid #eaeaea;
    transition: 0.3s ease;
    background: #fff;
}

.card img {
    width: 80px;
    margin-bottom: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

/* ================= FOOTER ================= */
.footer {
    padding: 40px 0;
    text-align: center;
    background: #ffffff;
}

.footer img {
    height: 50px;
    margin: 20px 0;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 768px) {

    .nav ul {
        display: none;
        flex-direction: column;
        background: #ffffff;
        position: absolute;
        top: 70px;
        right: 20px;
        padding: 20px;
        border: 1px solid #eaeaea;
    }

    .nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    /* Ajuste responsivo da legenda */
    .logo span {
        font-size: 14px;
    }

}
