body {
    background-color: #ecf0f1 !important;
}

/* HEADER */
header {
    padding: 20px 60px;
}

/* LOGO */
#logo img{
    display: flex;
    margin-top: -50px;
    position: absolute;
    width: 30vh;
}

/* MENU */
#menu ul {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    padding: 0;
    margin-bottom: 5px;
}

/* HERO (texto + imagem lado a lado) */
.principal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

/* TEXTO */
.title {
    max-width: 600px;
}

.title h1 {
    line-height: 1.2;
    margin-bottom: 10px;
}

.title h3 {
    margin: 0;
}

/* IMAGEM */
.img img {
    max-width: 600px;
    height: auto;
}

main h3{
    margin-top: 60px;
    margin-left: 60px;
}

.parceiros,.servicos{
    display: flex;
    gap: 20px;
    margin-top: 50px;
    margin-left: 10vh;
    position: relative;
    
}

.parceiros.card{
    padding: 100px;
}

.parceiros img{
    width: 80px;
    height: 80px;
}

.img-parceiros {
    display: flex;
    justify-content: flex-end;
    margin-right: 60px;
    margin-top: -250px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 25px;
    right: 25px;

    background-color: #25D366;
    color: white;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(0,0,0,0.25);

    z-index: 9999;

    transition: transform 0.2s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float span {
    font-size: 30px;
}

/* =========================================================
   ADAPTAÇÃO PARA DISPOSITIVOS MÓVEIS
   Não altera o código original acima
   ========================================================= */

@media (max-width: 768px) {

    /* HEADER */
    header {
        padding: 20px;
    }

    /* LOGO */
    #logo img {
        position: relative;
        display: block;
        width: 180px;
        max-width: 60%;
        height: auto;
        margin: 0 auto 30px auto;
    }

    /* MENU */
    #menu ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: center;
        gap: 10px;
        padding: 0;
        margin: 0;
    }

    #menu ul li {
        width: 100%;
    }

    #menu ul li a {
        display: block;
        width: 100%;
        text-align: center;
    }

    /* HERO */
    .principal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
        gap: 30px;
        text-align: center;
    }

    /* TEXTO */
    .title {
        max-width: 100%;
        width: 100%;
    }

    .title h1 {
        font-size: 30px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .title h3 {
        font-size: 18px;
        line-height: 1.5;
        margin: 0;
    }

    /* IMAGEM PRINCIPAL */
    .img {
        width: 100%;
        text-align: center;
    }

    .img img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    /* TÍTULOS DAS SEÇÕES */
    main h3 {
        margin-top: 50px;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }

    /* PARCEIROS */
    .parceiros {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    .parceiros .card {
        width: 90% !important;
        max-width: 350px;
        margin: 0 auto;
    }

    .parceiros img {
        width: 80px;
        height: 80px;
    }

    /* IMAGEM DOS PARCEIROS */
    .img-parceiros {
        display: block;
        width: 100%;
        margin: 40px auto 0 auto;
        text-align: center;
    }

    .img-parceiros img {
        width: 90%;
        max-width: 400px;
        height: auto;
    }

    /* SERVIÇOS */
    .servicos {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-top: 30px;
        margin-left: 0;
        margin-right: 0;
    }

    .servicos .card {
        width: 90% !important;
        max-width: 350px;
        margin: 0 auto;
    }

    /* ÍCONES DOS SERVIÇOS */
    .servicos .bi {
        font-size: 40px;
        text-align: center;
        display: block;
        margin-top: 20px;
    }

    /* BOTÃO WHATSAPP */
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
    }

    .whatsapp-float span {
        font-size: 27px;
    }

    .whatsapp-float i {
        font-size: 27px;
    }

}


/* =========================================================
   CELULARES PEQUENOS
   ========================================================= */

@media (max-width: 480px) {

    /* HEADER */
    header {
        padding: 15px;
    }

    /* LOGO */
    #logo img {
        width: 160px;
        max-width: 70%;
        margin-bottom: 25px;
    }

    /* HERO */
    .principal {
        margin-top: 30px;
        gap: 25px;
    }

    .title h1 {
        font-size: 26px;
    }

    .title h3 {
        font-size: 16px;
        line-height: 1.5;
    }

    /* IMAGEM PRINCIPAL */
    .img img {
        width: 95%;
    }

    /* TÍTULOS */
    main h3 {
        font-size: 22px;
        margin-top: 40px;
        margin-left: 15px;
        margin-right: 15px;
    }

    /* CARDS */
    .parceiros .card,
    .servicos .card {
        width: 92% !important;
    }

    /* IMAGEM PARCEIROS */
    .img-parceiros {
        margin-top: 30px;
    }

    .img-parceiros img {
        width: 95%;
    }

    /* WHATSAPP */
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: 15px;
        right: 15px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }

}