/* GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* ROOT */
html {
    font-size: 16px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

* {
    --main-color: #03995B;
    --secondary-color: #fff;
    --text: #000;
    --padding-y: 0 5% 0 5%;
    --padding-mobile: 0 5% 0 5%;
    --title: 24px;
    --paragraph: 14px;
    letter-spacing: -0.02em;
}


/* NAVEGAÇÃO */
.navigationContainer {
    padding: var(--padding-y);
    background-size: 100% 100%;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navigation img {
    width: 10%;
}

.navigation nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    overflow: none;
    text-align: center;
    justify-content: space-between;
}

.navigation nav ul li a {
    text-decoration: none;
    color: var(--main-color);
    font-size: 80%;
    font-weight: bold;
}

.navigationMobile {
    display: none;
}

.here::before {
    content: "I";
    background-color: var(--main-color);
    margin-right: 5px;
    font-weight: 100;
}

/* HERO */

.heroContainer {
    background-image: url(./midia/hero-image.png);
    background-size: cover;
    background-position: center;
    height: 584px;
    border-radius: 0 0 150px 150px;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: var(--padding-y);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero h1,
.hero h3 {
    color: var(--secondary-color);
}

.hero h1 {
    font-size: 74px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.03em;
    margin-bottom: 0;
    margin-top: 0;
}

.heroButtons {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
}

.buttonSolucoes {
    background-color: var(--main-color);
    color: var(--secondary-color);
    padding: 16px 60px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonSolucoes:hover {
    transform: scale(1.05);
}

.buttonSolucoes:active {
    transform: scale(1);
}

.buttonCotacao {
    border: 2px solid white;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 16px 60px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    text-justify: center;
    transition: 0.5s;
    cursor: pointer;
}

.buttonCotacao:hover {
    transform: scale(1.05);
}

.buttonCotacao:active {
    transform: scale(1);
}

/* INFO CONTAINER */

.infoContainer {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    margin-top: -60px;
    background-color: transparent;
}

.infoText {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    gap: 50px;
    box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
    width: 900px;
    border-radius: 100px;
    background-color: var(--secondary-color);
}

.infoText img {
    width: 100px;
}

.infoText p {
    font-size: 16px;
    font-weight: bold;
}

/* FORM */

.formContainer {
    padding: var(--padding-y);
    margin-bottom: 50px;
    margin-top: 100px;
}

.formContainer h2 {
    margin-bottom: 50px;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--main-color);
}

input {
    height: 30px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: inset -1px 8px 11px -6px rgba(0, 0, 0, 0.22);
    border-radius: 8px;
    margin-bottom: 30px;
    margin-top: 5px;
    padding-left: 10px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

/* Estilos para placeholders */
input::placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

input::-webkit-input-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

input::-moz-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

input:-ms-input-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

.formOne {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.inputGroup {
    display: flex;
    flex-direction: column;
}

.firstRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.firstRow .inputGroup {
    flex: 1;
}

.secondRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.secondRow .inputGroup {
    flex: 1;
}

.mailAndPhone {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.mailAndPhone input {
    width: 618px;
}

/* Estilos para as linhas de endereço */
.addressFirstRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.addressFirstRow .inputGroup {
    flex: 1;
}

.addressFirstRow .cepInput {
    flex: 0 0 200px;
}

.addressFirstRow .numberInput {
    flex: 0 0 200px;
}

.addressSecondRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.addressSecondRow .inputGroup {
    flex: 1;
}

.addressSecondRow .stateInput {
    flex: 0 0 100px;
}

.addressThirdRow {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
}

.addressThirdRow .inputGroup {
    flex: 1;
}

/* Classes antigas mantidas para compatibilidade */
.cepAddressNumber {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.stateAdditional {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.stateAdditional input {
    width: 618px;
}

#cep_coleta,
#cep_entrega {
    width: 200px;
}

#rua_coleta,
#rua_entrega {
    width: 810px;
}

#numero_coleta,
#numero_entrega {
    width: 200px;
}

.neigborhoodCity {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.neigborhoodCity input {
    width: 618px;
}

.materialInfo {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.materialInfo input {
    width: 403px;
}

.materialInfoTwo {
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.materialInfoTwo input {
    width: 403px;
}

.deadlineInput {
    margin-bottom: 60px;
    width: 403px;
}

.deadlineInput input {
    width: 100%;
}

#mensagem {
    height: 100px;
    border: 1px solid rgba(0, 0, 0, 0.09);
    box-shadow: inset -1px 8px 11px -6px rgba(0, 0, 0, 0.22);
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 10px;
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
}

/* Estilos para placeholder do textarea */
textarea::placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

textarea::-webkit-input-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

textarea::-moz-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

textarea:-ms-input-placeholder {
    font-family: 'Poppins', Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #999;
}

.sendMessage {
    background-color: var(--main-color);
    color: var(--secondary-color);
    padding: 16px 60px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    text-decoration: none;
    transition: 0.5s;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sendMessage:hover {
    transform: scale(1.05);
}










/* FOOTER */

.footerOne {
    background-image: url(./midia/footer-bg.png);
    background-size: cover;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
}

.footerLogo img {
    height: 50px;
}

.footerText h2 {
    font-size: 60px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-top: 0;
}

.footerText p {
    font-size: 20px;
    color: var(--secondary-color);
}

.footerTwo {
    background-color: #001A2A;
    padding: var(--padding-y);
    padding-top: 50px;
    padding-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    color: var(--secondary-color);
    gap: 460px;
}

.footerTwo h3 {
    font-size: 36px;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.footerTwo p {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 50px;
}

.trabalheConoscoFooter {
    padding: 16px 90px;
    background-color: var(--main-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border-radius: 10px;
}



@media only screen and (max-width: 600px) {




    /* ROOT */
    html {
        margin: 0;
        padding: 0;
        overflow-x: hidden;
    }

    body {
        padding: 0;
        margin: 0;
        font-size: 12px;
        width: 100%;
        max-width: 600px;
        overflow-x: hidden;
    }

    /* NAVIGATION MOBILE */
    .navigationContainer {
        padding: var(--padding-mobile);
        display: flex;
        height: 50px;
    }

    .navigation {
        display: none;
    }

    /* Configuração do menu mobile */
    .navigationMobile {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px;
        position: relative;
    }

    /* Estilização do logotipo */
    .navigationMobile img {
        width: 120px;
        /* Ajuste conforme necessário */
    }

    /* Ícone do menu hambúrguer */
    .navigationMobile div p {
        font-size: 30px;
        cursor: pointer;
        color: var(--main-color);
        margin: 0;
        user-select: none;
    }

    /* Oculta o menu por padrão */
    .navigationMobile nav {
        display: none;
        position: absolute;
        top: 60px;
        right: 10px;
        background: white;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        border-radius: 5px;
        padding: 10px;
        width: 150px;
    }

    /* Exibe o menu quando ativo */
    .navigationMobile nav.active {
        display: block;
    }

    /* Estilização dos links do menu */
    .navigationMobile nav p {
        margin: 0;
        padding: 10px 15px;
        text-align: left;
    }

    .navigationMobile nav p a {
        text-decoration: none;
        color: var(--main-color);
        font-size: var(--paragraph);
        font-weight: bold;
        display: block;
    }


    /* HERO MOBILE */

    .heroContainer {
        padding: var(--padding-mobile);
        height: 260px;
        border-radius: 0 0 50px 50px;
    }

    .hero h1 {
        font-size: 20px;
        font-family: 'Poppins', sans-serif;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .hero h3 {
        font-size: 10px;
        width: 400px;
    }

    .heroButtons {
        gap: 30px;
    }

    .buttonSolucoes {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }

    .buttonCotacao {
        padding: 10px 30px;
        font-size: 12px;
        text-align: center;
    }


    /* INFO CONTAINER MOBILE*/


    .infoContainer {
        margin-top: -20px;
    }


    .infoText {
        gap: 12px;
        box-shadow: 0 10px 10px 0 rgba(0, 0, 0, 0.1);
        width: fit-content;
        border-radius: 50px;
        background-color: var(--secondary-color);
        padding: 10px 16px;
    }

    .infoText img {
        width: 50px;
        height: auto;
    }

    .infoText p {
        font-size: 8px;
        width: 270px;
    }

    /* FORM MOBILE */

    .form {
        padding-right: 4%;
    }

    .formContainer h2 {
        font-size: var(--title);
    }

    label {
        font-size: 12px;
    }

    input {
        width: 100%;
    }

    .addressFirstRow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .addressSecondRow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .addressThirdRow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .cepAddressNumber {
        flex-direction: column;
    }

    #cep {
        width: 100%;
    }

    #rua {
        width: 100%;
    }

    #numero {
        width: 100%;
    }

    .firstRow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .secondRow {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mailAndPhone {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .cepAddressNumber {
        gap: 0;
    }

    .mailAndPhone input {
        width: 100%;
    }

    .neigborhoodCity {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .neigborhoodCity input {
        width: 100%;
    }

    .stateAdditional {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .stateAdditional input {
        width: 100%;
    }

    #complemento {
        width: 100%;
    }

    .materialInfo {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #material {
        width: 100%;
    }

    #peso {
        width: 100%;
    }

    #volumes {
        width: 100%;
    }

    #altura {
        width: 100%;
    }

    .materialInfoTwo {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    #largura {
        width: 100%;
    }

    #comprimento {
        width: 100%;
    }

    .deadlineInput {
        width: 100%;
    }

    #mensagem {
        width: 100%;
    }



    /* FOOTER MOBILE */

    .footerOne {
        background-position: center;
        background-size: cover;
    }

    .footerLogo img {
        width: 70px;
        height: auto;
    }


    .footerTwo {
        gap: 30px;
        display: flex;
        flex-direction: column;
    }

    .footerText h2 {
        font-size: 18px;
    }

    .footerText p {
        font-size: var(--paragraph);
    }

    .footerTwo h3 {
        font-size: var(--title);
    }

    .footerTwo p {
        font-size: var(--paragraph);
    }

}

/* Estados do botão de envio */

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ========== MODAL SIMPLES ========== */

.modal-simples {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.modal-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-icone {
    font-size: 48px;
    margin-bottom: 20px;
}

.modal-box h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #333;
}

.modal-box p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 10px 0;
    color: #666;
}

.btn-ok {
    background: #007bff;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-ok:hover {
    background: #0056b3;
}

/* Responsividade do modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 0 20px 20px 20px;
    }
}

/ * Garantir que o modal apareça corretamente */ body.modal-open {
    overflow: hidden;
}

.modal-overlay * {
    box-sizing: border-box;
}

/* Responsividade melhorada do modal */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: 85vh;
    }

    .modal-header h3 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 0 20px 20px 20px;
    }

    .btn-modal-ok {
        width: 100%;
        padding: 15px;
    }
}

/* Garantir que o modal esteja sempre visível */
.modal-overlay[style*="flex"] {
    display: flex !important;
}

/* ===
======= RESPONSIVIDADE DO MODAL ========== */

/* Mobile */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 16px !important;
    }

    .modal-content {
        max-width: 100% !important;
        margin: 0 !important;
    }

    .modal-header {
        padding: 20px 20px 16px 20px !important;
    }

    .modal-header h3 {
        font-size: 1.1rem !important;
    }

    .modal-body {
        padding: 20px !important;
    }

    .modal-footer {
        padding: 0 20px 20px 20px !important;
    }

    .btn-modal-ok {
        width: 100% !important;
        padding: 16px !important;
    }
}

/* Garantir que o body não tenha scroll quando modal estiver aberto */
body.modal-open {
    overflow: hidden !important;
}

/* Reset de estilos para elementos do modal */
.modal-overlay,
.modal-overlay * {
    box-sizing: border-box !important;
}

/* ======
==== CONTAINER DO BOTÃO ========== */

.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 30px;
    padding: 0 20px;
}

.button-container .sendMessage {
    margin: 0;
    min-width: 200px;
}