/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

/* PALETA */
:root {
    --dark: #0b0f14;
    --blue: #142a4c;
    --blue-light: #1f3b75;
    --red: #d60000;
    --white: #ffffff;
}


/* CHECKBOX */
#menu-toggle {
    display: none;
}

/* HEADER */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

/* LOGO */
.logo img {
    height: 45px;
}

/* MENU ICON (HAMBÚRGUER) */
.menu-icon {
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.menu-icon span {
    width: 28px;
    height: 3px;
    background: var(--white);
}

/* MENU MOBILE */
.side-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: var(--dark);
    padding-top: 90px;
    transition: 0.3s ease;
}

.side-menu ul {
    list-style: none;
}

.side-menu a {
    display: block;
    padding: 15px 25px;
    color: var(--white);
    text-decoration: none;
}

.side-menu {
    background: linear-gradient(
        180deg,
        var(--blue) 0%,
        var(--blue-light) 100%
    );
}



.side-menu a:hover {
    background: #b00000;
}


/* ABRIR MENU MOBILE */
#menu-toggle:checked ~ .side-menu {
    left: 0;
}

/* MENU DESKTOP (ESCONDIDO NO MOBILE) */
.nav-desktop {
    display: none;
}

.nav-desktop ul {
    list-style: none;
}

.nav-desktop a.active::after {
    width: 100%;
}


/* CONTEÚDO */
.content {
    padding: 120px 30px;
    max-width: 900px;
}

.content h1 {
    color: var(--blue);
    margin-bottom: 20px;
}

.content p {
    font-size: 18px;
    line-height: 1.6;
}

/* DESKTOP */
@media (min-width: 992px) {

    /* ESCONDE HAMBÚRGUER */
    .menu-icon {
        display: none;
    }

    /* MOSTRA MENU DESKTOP */
    .nav-desktop {
        display: block;
    }

    .nav-desktop ul {
        display: flex;
        gap: 30px;
    }

    .nav-desktop a {
        color: var(--white);
        text-decoration: none;
        font-size: 16px;
        position: relative;
    }

    .nav-desktop a::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--red);
        left: 0;
        bottom: -6px;
        transition: 0.3s;
    }

    .nav-desktop a:hover::after {
        width: 100%;
    }

    /* DESATIVA MENU MOBILE */
    .side-menu {
        display: none;
    }

    .side-menu a.active {
       background: #b00000;
    }


}



.btn-acesso {
    background: #ff6600;
    padding: 10px 20px;
    border-radius: 5px;
    color: white !important;
}



/* CONTATO */
.contact-box {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.contact-info h2,
.contact-form h2 {
    color: var(--blue);
    margin-bottom: 15px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 16px;
}

.contact-form {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 6px;
}

.contact-form label {
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    margin-top: 20px;
    padding: 12px;
    width: 100%;
    background: var(--red);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.contact-form button:hover {
    opacity: 0.9;
}

/* DESKTOP */
@media (min-width: 992px) {
    .contact-box {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}



/* SOBRE */
.about-section {
    margin-top: 30px;
}

.about-section h2 {
    color: var(--blue);
    margin-bottom: 10px;
}

.about-section p {
    font-size: 17px;
    line-height: 1.7;
}

.about-section ul {
    margin-top: 10px;
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 8px;
    font-size: 16px;
}

/* CAIXAS DESTACADAS */
.about-section.highlight {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 6px;
}



/* SERVIÇOS */
.services-grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.service-card {
    background: #f7f7f7;
    padding: 25px;
    border-radius: 6px;
    border-left: 4px solid var(--red);
}

.service-card h2 {
    color: var(--blue);
    margin-bottom: 10px;
    font-size: 18px;
}

.service-card p {
    font-size: 16px;
    line-height: 1.6;
}

/* DESKTOP */
@media (min-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* GARANTIR CAMPOS UM ABAIXO DO OUTRO */
/* FORMULÁRIO – CAMPOS EM COLUNA */
.contact-form {
    display: flex;
    flex-direction: column;
}

.contact-form label {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    margin-top: 20px;
}

.contact-form * {
    max-width: 100%;
}
