/* =========================================
   MEDIA QUERIES - NAV RESPONSIVA
   ========================================= */

/* --- TABLET (768px) --- */
@media screen and (min-width: 767px) {
    #mobile-wrapper {
        left: 5%;
        width: 90%;
    }

    .formulario {
        display: flex;
        justify-content: center;
    }

    .content {
        width: 60%;
    }
}

/* --- DESKTOP PADRÃO (1024px) - O Ponto de Virada --- */
@media screen and (min-width: 1024px) {

    /* 1. Esconde o Mobile */
    #mobile-wrapper {
        display: none;
    }

    /* 2. Mostra e Estiliza Nav Desktop */
    .nav-pc {
        display: flex;
        /* Torna visível */
        position: fixed;
        top: 30px;
        left: 3%;
        width: 94%;
        height: 80px;
        padding: 0 20px;

        background-color: rgba(0, 0, 0, 0.55);
        backdrop-filter: saturate(180%) blur(20px);
        border-radius: 80px;
        box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.226);
        z-index: 1000;

        justify-content: space-between;
        align-items: center;
        transition: all 0.4s ease-in-out;

        animation: navEntrada 1.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
        transform-origin: center top;
    }

    /* 3. Comportamento ao Rolar (Minimizada) */
    nav.minimizada {
        top: 10px;
        height: 70px;
        width: 88%;
        /* Zoom out horizontal */
        left: 6%;
        background-color: rgba(0, 0, 0, 0.75);
    }

    /* 4. Elementos Internos Desktop */
    nav>.txt-lo {
        width: 140px;
    }

    #img-logo {
        width: 120px;
        height: 120px;
        margin-top: 25px;
        transition: all 0.4s ease-in-out;
    }

    nav.minimizada #img-logo {
        transform: scale(0.95);
    }

    /* Links/Abas */
    nav>.abas {
        width: 75%;
        max-width: 1000px;
        display: flex;
        justify-content: space-around;
        padding: 10px;
        background-color: #ffffff0c;
        border-radius: 80px;
        margin: 0px 10px;
    }

    .s-link-nav {
        color: rgba(255, 255, 255, 0.8);
        text-decoration: none;
        padding: 7px 1px;
        font-size: 1.1rem;
        font-weight: 100;
        font-family: "Montserrat", sans-serif;
        transition: 0.2s;
    }

    .s-link-nav:hover {
        color: #5a8cf8;
        transform: translateY(-2px);
    }

    /* Botão Contato */
    #contato-btn {
        padding: 13px 30px;
        background-color: #155DFC;
        border: none;
        border-radius: 10px;
        margin-right: 10px;
        transition: 0.3s ease-in-out;
    }

    nav.minimizada #contato-btn {
        transform: scale(0.95);
    }

    #contato-btn>a {
        text-decoration: none;
        color: white;
        font-size: 1.4rem;
    }

    #contato-btn:hover {
        background-color: #134ecc;
        transform: scale(1.02);
    }

    .image-logo {
        display: block;
        width: 45%;
        background-image: url('img-ctt/contato\ 1024\ \(1\).png');
    }

    .formulario {
        display: flex;
        justify-content: center;
    }

    .content {
        width: 90%;
        height: 650px;
        max-width: 925px;
    }

    .formulario {
        width: 45%;
        height: 90%;
    }

    .botoes {
        width: 50%;
        max-width: 470px;
        left: 25%;
        margin: auto;
    }

    .s-nav {
        position: relative;
        height: 150px;
    }

    input {
        width: 350px;
    }

    .content {
        width: 90%;
        height: 650px;
        max-width: 925px;
    }

    .formulario {
        width: 45%;
        height: 90%;
    }
}

/* --- TELAS GRANDES (1367px) --- */
@media screen and (min-width: 1367px) {
    .nav-pc {
        width: 80%;
        left: 10%;
    }

    nav.minimizada {
        width: 72%;
        left: 14%;
    }

    #contato-btn {
        margin-right: 30px;
    }




    .content {
        width: 90%;
        height: 750px;
        max-width: 1025px;
    }

      .image-logo {
        background-image: url('img-ctt/contato\ 1367\ \(1\).png');
    }
}

/* --- TELAS EXTRA GRANDES (1601px) --- */
@media screen and (min-width: 1601px) {
    .nav-pc {
        width: 75%;
        left: 12.5%;
    }

    nav.minimizada {
        width: 68%;
        left: 16%;
    }

    .content {
        width: 90%;
        height: 750px;
        max-width: 1125px;
        transform: scale(0.9)
    }
      .image-logo {
        background-image: url('img-ctt/contato\ 1601\ \(1\).png');
    }
}

/* --- MONITORES WIDE (1920px) --- */
@media screen and (min-width: 1920px) {
    .nav-pc {
        width: 68%;
        left: 16%;
    }

    nav.minimizada {
        width: 58%;
        left: 21%;
    }

    #contato-btn {
        margin-left: 40px;
        margin-right: 40px;
        padding: 15px 35px;
    }

    .txt-lo {
        margin-left: 40px;
        margin-right: 40px;
    }

    .nav-pc>.abas {
        width: 100%;
    }
}

@keyframes navEntrada {
    0% { opacity: 0; transform: scale(1.15) translateY(-20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}