/* ================= RESET ================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ================= BODY ================= */

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* ================= HEADER ================= */

.cabecalho {
    background: #057d92;
    color: white;
    padding: 15px 40px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, .2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: auto;
}

.logo img {
    width: 220px;
    height: auto;
    display: block;
}

/* ================= MENU ================= */

.lista-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 30px;
}

.lista-menu li {
    list-style: none;
}

.lista-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: .3s;
}

.lista-menu a:hover {
    color: #ffd54f;
}

/* ================= MAIN ================= */

.conteudo-principal {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto;
}

/* ================= HOME ================= */

/* .cards-home{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
} */

.cards-home {
    display: grid;
    grid-template-columns: repeat(2, 380px);
    justify-content: center;
    gap: 25px;
}


/* =============== RODOFÁCIL =============== */
.cards-rodofacil {
    display: flex;
    gap: 25px;
    margin-top: 30px;
    align-items: stretch;
}

.cards-rodofacil .card {
    flex: 1;
    border: 1px solid #d9d9d9;
    border-radius: 12px;
    padding: 20px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

.cards-rodofacil .card-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.cards-rodofacil .card-topo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

.cards-rodofacil h2 {
    margin: 0;
}

.cards-rodofacil p {
    margin: 0;
    line-height: 1.6;
}

/* =============== CONTEÚDO RODOFÁCIL =============== */

.rodofacil-conteudo {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
}

.rodofacil-imagem {
    flex: 0 0 40%;
    text-align: center;
}

.rodofacil-imagem img {
    width: 100%;
    max-width: 420px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .15);
}

.rodofacil-texto {
    flex: 1;
}

.rodofacil-texto p {
    text-align: justify;
    font-size: 18px;
    line-height: 1.8;
}

/* ================= SOBRE ================= */

body.sobre {

    background: url("../img/fundo-sobre.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

}

main.sobre {

    background: rgba(255, 255, 255, .94);
    border-radius: 16px;
    padding: 40px;
    margin-top: 40px;
    margin-bottom: 40px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);

}

main.sobre h3 {

    color: #0d4d92;
    font-size: 28px;

    margin-top: 30px;
    margin-bottom: 15px;

    border-left: 5px solid #057d92;
    padding-left: 12px;

}

main.sobre h3:first-child {

    margin-top: 0;

}

main.sobre p {

    text-align: justify;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 17px;

}

/* ================= Imagem BackGround ================= */

body.sobre {

    background-image: url("../img/33anos.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

/* ================= BANNER ================= */

.banner {
    background: white;
    border-radius: 10px;
    padding: 50px;
    margin-bottom: 30px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.banner h2 {
    color: #0d4d92;
    margin-bottom: 20px;
    font-size: 2rem;
}

/* ================= CONTEÚDO ================= */

.conteudo {
    background: white;
    border-radius: 10px;
    padding: 35px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, .1);
}

.conteudo h2 {
    color: #0d4d92;
    margin-bottom: 20px;
}

.conteudo h3 {
    color: #0d4d92;
    margin-bottom: 10px;
}

.conteudo h4 {
    color: #0d4d92;
    margin-bottom: 10px;
}

.conteudo p {
    margin-bottom: 15px;
    text-align: justify;
}

.conteudo ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.conteudo li {
    margin-bottom: 8px;
}

/* ================= FIELDSET ================= */

fieldset {

    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    padding: 15px;
    min-height: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;

}

fieldset:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

fieldset h2 {
    color: #0d4d92;
    margin-bottom: 12px;
}

fieldset p {
    margin: 10px 0;
    color: #444;
    line-height: 1.5;
}

fieldset img {
    width: 70px;
    height: auto;
    transition: .3s;
}

fieldset img:hover {
    transform: scale(1.08);
}

fieldset a {
    color: #0d4d92;
    text-decoration: none;
}

fieldset a:hover {
    color: #ff9800;
}


/* ================ Cards Main Home ========*/

/* === Chatbots ======*/
.card-topo {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.card-topo h2 {
    margin: 0;
}

.card-topo img {
    width: 60px;
    height: auto;
}


/* ================= LINKS ================= */

a {
    transition: .3s;
}

/* ================= IMAGENS ================= */

img {
    max-width: 100%;
}


/* ================= LINHAS ================= */

.cards-linhas {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-items: start;
}

.card-linha {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .08);
    transition: .3s;
    overflow: hidden;
}

.card-linha:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .15);
}

.card-linha summary {
    cursor: pointer;
    list-style: none;
    padding: 18px 22px;
    font-size: 22px;
    font-weight: bold;
    color: #0d4d92;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.card-linha summary::-webkit-details-marker {
    display: none;
}

.card-linha summary::after {
    content: "▼";
    font-size: 14px;
    transition: .3s;
}

.card-linha[open] summary::after {
    transform: rotate(180deg);
}

.card-linha ul {
    padding: 0 30px 20px;
}

.card-linha li {
    margin-bottom: 10px;
}


/* ================= RODAPÉ ================= */

.rodape {
    background: #8b8787;
    color: white;
    margin-top: 60px;
}

.rodape-conteudo {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: auto;
    padding: 40px;
}

.rodape article {
    flex: 1;
}

.rodape h3 {
    margin-bottom: 15px;
}

.rodape p {
    margin-bottom: 10px;
}

.rodape-links ul {
    list-style: none;
    padding: 0;
}

.rodape-links li {
    margin-bottom: 8px;
}

.rodape-links a {
    color: white;
    text-decoration: none;
}

.rodape-links a:hover {
    text-decoration: underline;
}

.rodape-info {
    text-align: center;
}

.rodape-info img {
    width: 180px;
    height: auto;
}

/* ================= COPYRIGHT ================= */

.copyright {
    background: #111;
    text-align: center;
    padding: 18px;
}

/* ================= RESPONSIVO ================= */


/* Tablet */

@media (max-width:914px) {

    .cabecalho {
        padding: 10px;
    }

    .topo {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo img {
        width: 120px;
    }

    .lista-menu {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .lista-menu li {
        width: 30%;
        max-width: 150px;
    }

    .lista-menu a {
        display: block;
        background: #0b4380;
        padding: 8px;
        border-radius: 8px;
        text-align: center;
        font-size: 18px;
    }

    .conteudo-principal {
        width: 95%;
        margin: 20px auto;
    }

    /* ================= HOME ================= */

    .cards-home fieldset {
        padding: 12px;
    }

    .cards-home h2 {
        font-size: 20px;
    }

    .cards-home p {
        font-size: 14px;
    }

    .cards-home img {
        width: 55px;
    }

    /* ================= LINHAS ================= */

    .cards-linhas {
        grid-template-columns: 1fr;
    }

    /* ================= SOBRE ================= */

    body.sobre {
        background-attachment: scroll;
    }

    main.sobre {
        padding: 25px;
    }

    main.sobre h3 {
        font-size: 22px;
    }

    main.sobre p {
        font-size: 16px;
        line-height: 1.7;
    }

    /* ================= BANNER ================= */

    .banner {
        padding: 30px 20px;
    }

    .banner h2 {
        font-size: 1.7rem;
    }

    /* ================= CONTEÚDO ================= */

    .conteudo {
        padding: 25px;
    }

    /* ================= RODAPÉ ================= */

    .rodape-conteudo {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .rodape article {
        text-align: center;
    }

    .rodape-links ul {
        padding: 0;
        margin: 0;
    }

    .rodape-info img {
        width: 120px;
        margin: 15px auto 0;
    }

}

/* ================= CELULARES ================= */


    @media (max-width:814px) {

         /* ================= HOME CELULAR ================= */

        .cards-home {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .cards-home fieldset {
            padding: 15px;
        }

        .cards-home h2 {
            font-size: 20px;
        }

        .cards-home p {
            font-size: 14px;
        }

        /* ================= RODOFÁCIL ================= */

        .rodofacil-conteudo {
            flex-direction: column;
            align-items: center;
            text-align: center;
            gap: 25px;
        }

        .rodofacil-imagem {
            width: 100%;
        }

        .rodofacil-imagem img {
            width: 100%;
            max-width: 320px;
        }

        .rodofacil-texto {
            width: 100%;
        }

        .rodofacil-texto p {
            text-align: justify;
            font-size: 16px;
        }

        .cards-rodofacil {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .cards-rodofacil .card {
            width: 100%;
        }

        /* ================= GERAL ================= */

        fieldset {
            padding: 20px;
        }

        .card-topo {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 15px;
        }

        .card-topo img {
            width: 55px;
        }

    }