/* =========================================================
   NALIAN NOGUEIRA GESTÃO E PESSOAS
   PÁGINA DE CONTATO
   ========================================================= */

/*
 * Estrutura global, cabeçalho e rodapé:
 * /css/global.css
 */

input,
textarea,
select {
    font: inherit;
}


/* =========================================================
   COMPONENTES UTILIZADOS NESTA PÁGINA
   ========================================================= */

.section-kicker {
    margin-bottom: 10px;
    color: var(--terracota);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 27px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.button-primary {
    border: 1px solid var(--terracota);
    background: var(--terracota);
    color: var(--branco);
    box-shadow: none;
}

.button-primary:hover {
    background: var(--branco);
    color: var(--terracota);
    box-shadow: none;
}

.button-secondary {
    border: 1px solid var(--azul);
    background: transparent;
    color: var(--azul);
    box-shadow: none;
}

.button-secondary:hover {
    background: var(--azul);
    color: var(--branco);
}


/* =========================================================
   PÁGINA DE CONTATO
   ========================================================= */

.contact-page-section {
    min-height: calc(100vh - 92px);
    padding: 32px 0 40px;
    background: var(--branco);
}

.contact-page-layout {
    display: grid;
    grid-template-columns:
        minmax(400px, 0.92fr)
        minmax(0, 1.08fr);
    gap: 52px;
    align-items: start;
}


/* =========================================================
   APRESENTAÇÃO
   ========================================================= */

.contact-intro {
    max-width: 510px;
    padding-top: 5px;
}

.contact-intro h1 {
    color: var(--azul);
    font-size: clamp(36px, 3.35vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.contact-intro-text {
    max-width: 450px;
    margin-top: 14px;
    color: var(--cinza-texto);
    font-size: 17px;
    line-height: 1.7;
}

.contact-whatsapp {
    max-width: 420px;
    margin-top: 26px;
    padding-top: 22px;
    border-top: 1px solid #152D48;
}

.contact-whatsapp p {
    max-width: 390px;
    color: var(--cinza-texto);
    font-size: 14px;
    line-height: 1.65;
}

.contact-whatsapp .button {
    margin-top: 14px;
}


/* =========================================================
   FORMULÁRIO
   ========================================================= */

.contact-form-area {
    width: 100%;
    max-width: 680px;
}

.contact-form-area h2 {
    color: var(--azul);
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.contact-form {
    position: relative;
    margin-top: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 11px;
}

.form-field label {
    display: block;
    margin-bottom: 6px;
    color: var(--azul);
    font-size: 13px;
    font-weight: 700;
}

.form-field label span {
    color: var(--terracota);
}

.form-field input,
.form-field textarea,
.form-field select {
    display: block;
    width: 100%;
    border: 1px solid #152D48;
    border-radius: 8px;
    background: var(--branco);
    color: var(--carvao);
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-field input,
.form-field select {
    height: 45px;
    padding: 0 14px;
}

.form-field select {
    cursor: pointer;
}

.form-field textarea {
    min-height: 105px;
    height: 105px;
    padding: 12px 14px;
    line-height: 1.55;
    resize: vertical;
}

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {
    border-color: #152D48;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-color: var(--terracota);
    box-shadow: none;
}


/* =========================================================
   RODAPÉ DO FORMULÁRIO
   ========================================================= */

.form-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.form-privacy {
    max-width: 390px;
    color: var(--cinza-texto);
    font-size: 11px;
    line-height: 1.5;
}

.form-submit {
    flex-shrink: 0;
    margin: 0;
}


/* =========================================================
   HONEYPOT
   ========================================================= */

.form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}


/* =========================================================
   MENSAGENS DO FORMULÁRIO
   ========================================================= */

.form-message {
    margin-top: 18px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.5;
}

.form-message strong {
    display: block;
    margin-bottom: 2px;
}

.form-message-success {
    border: 1px solid #5A7C5D;
    background: #5A7C5D;
    color: #30312B;
}

.form-message-error {
    border: 1px solid #A95826;
    background: #A95826;
    color: #30312B;
}

.form-message-error ul {
    margin-top: 6px;
}


/* =========================================================
   NOTEBOOK
   ========================================================= */

@media (max-width: 1050px) {

    .contact-page-layout {
        gap: 45px;
    }

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .contact-page-section {
        min-height: auto;
        padding: 50px 0 60px;
        background: var(--branco);
    }

    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .contact-intro {
        max-width: 700px;
    }

    .contact-intro-text {
        max-width: 650px;
    }

    .contact-whatsapp {
        max-width: 500px;
    }

    .contact-form-area {
        max-width: 700px;
    }

}


/* =========================================================
   SMARTPHONE
   ========================================================= */

@media (max-width: 600px) {

    .contact-page-section {
        padding: 40px 0 52px;
    }

    .contact-intro h1 {
        font-size: clamp(35px, 10vw, 44px);
    }

    .contact-intro-text {
        margin-top: 17px;
        font-size: 16px;
    }

    .contact-whatsapp {
        margin-top: 25px;
        padding-top: 21px;
    }

    .contact-form {
        margin-top: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-field {
        margin-bottom: 15px;
    }

    .form-field input,
    .form-field select {
        height: 47px;
    }

    .form-field textarea {
        min-height: 120px;
        height: 120px;
    }

    .form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .button {
        width: 100%;
    }

    .form-submit {
        width: 100%;
    }

}

