:root {
    --primary-color: #ff6c0d;
    --secondary-color: #333;
    --background-color: #f2f2f2;
    --font-family: 'Segoe UI', Tahoma, sans-serif;
    --max-width: 1200px;
}

/* RESPONSIVO */



/* ================= RESPONSIVO ================= */

@media (max-width: 1024px) {
    .menu-desktop ul {
        gap: 30px;
    }

    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .box {
        width: 100%;
    }

    .box h1 {
        font-size: 2.6rem;
    }

    .box p {
        margin: 0 auto;
        font-size: 1.2rem;
    }

    .container-form {
        width: 100%;
        max-width: 420px;
    }
}

@media (max-width: 900px) {

    .container3 {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }


    .iconcasa img {
        max-width: 300px;
    }



    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer {
        text-align: center;
    }

    .container2 {
        flex-direction: column;
        text-align: center;
    }

    .sobre-nos p {
        text-align: center;
    }

    .sobre-nos button {
        margin: 0 auto;
    }

    .banner {
        width: 100%;
    }

    .banner img {
        width: 90%;
    }

    .iconcasa img {
        display: none;
    }

       .carousel {
        width: 500px;
        max-width: 100%;
    }

    .carousel-track img {
        height: 60vh;
    }

    .iconcasa,
    .carousel {
        width: 500px;
    }

}

@media (max-width: 680px) {
    .container1 h2 {
        font-size: 1.8rem;
    }

    .menu-desktop {
        display: flex;
        align-items: center;
        justify-content: space-around;
        height: 50px;
    }

    /* NAV */
    .menu-desktop ul li {
        display: none;
    }

    .menu-desktop ul .onpopup {
        width: 70px;
        display: flex;
        margin: auto;
        align-items: center;
        justify-content: center;
        transform: translateY(0) scale(1);
        transition: transform 0.6s ease;

    }

    .menu-desktop ul .exitpopup {
        width: 70px;
        display: none;
        margin: auto;
        align-items: center;
        justify-content: center;
        transform: translateY(0) scale(1);
        transition: transform 0.6s ease;
    }

    .menu-desktop ul .onpopup:hover,
    .menu-desktop ul .exitpopup:hover {
        transform: translatey(-5px) scale(1.05);
        border: 4px solid orange;
        border-radius: 10px;

    }

    .menu-desktop ul .onpopup img,
    .menu-desktop ul .exitpopup img {
        width: 60%;
    }

    .menu-desktop img {
        margin: 0;
        width: 120px;
    }

    /* HERO */
    .container-background {
        padding: 100px 15px;
    }

    .box h1 {
        font-size: 2.1rem;
    }

    .box p {
        font-size: 1.05rem;
        padding: 14px;
    }

    /* FORM */
    .container-form {
        padding: 20px;
        border-radius: 14px;
    }

    .container-form h2 {
        font-size: 1.15rem;
    }

    .container-form input,
    .container-form textarea {
        font-size: 0.9rem;
        padding: 10px;
    }

    .container-form button {
        font-size: 1rem;
        padding: 10px;
    }

    .sobre-nos p {
        text-align: left;
    }

    .sobre-nos h1 {
        color: var(--primary-color);
    }

    .banner img {
        width: 100%;
    }

    .container3 {
        width: 100%;
        gap: 3rem;
    }


    .iconcasa {

        display: none;
    }



       .carousel {
        width: 90%;
        max-width: 100%;
    }

    .carousel-track img {
        width: 100%;
        height: auto;
    }

    .carousel-track img {
        height: auto;
        object-fit: cover;
        flex-shrink: 0;
        border-radius: 10px;
    }

    .carousel-track img:hover {
        transform: scale(1.03);
        transition: transform 0.3s ease;
    }

    .projetos {
        margin-top: 1rem;
        font-size: 2rem;
        text-align: center;
        color: var(--primary-color);
    }



    .modalcontent {
        position: fixed;
        inset: 0;
        display: flex;
        justify-content: flex-end;

        background: rgba(0, 0, 15, 0.385);

        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }






}