.contact-page {
    background: #f3f6fb;
}

.contact-page .main-nav a.is-current {
    color: var(--orange);
}

.contact-main {
    position: relative;
    overflow: hidden;
    padding: 76px 0 94px;
    background-color: #f3f6fb;
    background-image:
        linear-gradient(rgba(243, 246, 251, .95), rgba(243, 246, 251, .95)),
        url("../png/pontos.png");
}

.contact-heading {
    position: relative;
    max-width: 760px;
    margin-bottom: 34px;
}

.contact-kicker,
.contact-form-heading > span,
.contact-commercial-kicker {
    margin: 0 0 9px;
    color: var(--orange);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
}

.contact-heading h1 {
    max-width: 700px;
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 700;
    line-height: 1.03;
}

.contact-heading > p:last-child {
    max-width: 650px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
    align-items: start;
    gap: 28px;
}

.contact-form-panel {
    padding: 34px;
    border-top: 5px solid var(--yellow);
    border-radius: 8px;
    background: var(--white);
    box-shadow: 0 20px 56px rgba(3, 47, 104, .12);
}

.contact-form-heading {
    margin-bottom: 25px;
}

.contact-form-heading h2 {
    margin: 0;
    color: var(--blue-deep);
    font-size: clamp(25px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.12;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 19px 18px;
}

.contact-field {
    min-width: 0;
}

.contact-field-full {
    grid-column: 1 / -1;
}

.contact-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--blue-deep);
    font-size: 12px;
    font-weight: 700;
}

.contact-field input,
.contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid #d7dfeb;
    border-radius: 6px;
    color: var(--ink);
    background: #f8fafd;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    outline: 0;
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.contact-field input {
    height: 50px;
    padding: 0 15px;
}

.contact-field textarea {
    min-height: 144px;
    padding: 13px 15px;
    line-height: 1.55;
    resize: vertical;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
    color: #8a94a6;
}

.contact-field input:focus,
.contact-field textarea:focus {
    border-color: var(--blue-bright);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 146, 250, .13);
}

.contact-form-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px 16px;
    margin-top: 2px;
}

.contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 21px;
    border: 0;
    border-radius: 7px;
    color: var(--white);
    background: #0b8b4a;
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-submit svg {
    width: 19px;
    height: 19px;
}

.contact-submit:hover,
.contact-submit:focus-visible {
    background: #087a40;
    box-shadow: 0 10px 24px rgba(8, 122, 64, .2);
    transform: translateY(-2px);
}

.contact-form-footer > p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}

.contact-status {
    flex-basis: 100%;
    min-height: 1px;
    color: #087a40;
    font-size: 12px;
    font-weight: 600;
}

.contact-commercial {
    position: sticky;
    top: 138px;
    overflow: hidden;
    padding: 38px 36px 36px;
    border-radius: 8px;
    color: var(--white);
    background-color: var(--blue-deep);
    background-image:
        linear-gradient(rgba(3, 35, 84, .93), rgba(3, 35, 84, .93)),
        url("../png/pontos.png");
    box-shadow: 0 20px 56px rgba(3, 47, 104, .2);
}

.contact-commercial::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: var(--yellow);
}

.contact-commercial-kicker {
    color: var(--yellow);
}

.contact-commercial h2 {
    margin: 0;
    color: var(--white);
    font-size: clamp(30px, 3.4vw, 43px);
    font-weight: 700;
    line-height: 1.05;
}

.contact-commercial h2 span {
    color: var(--yellow);
}

.contact-commercial-intro {
    margin: 19px 0 25px;
    color: rgba(255, 255, 255, .72);
    font-size: 14px;
    line-height: 1.7;
}

.contact-methods {
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.contact-methods > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
    padding: 17px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    transition: color .2s ease, padding-left .2s ease;
}

.contact-methods > a:hover,
.contact-methods > a:focus-visible {
    color: var(--yellow);
    padding-left: 5px;
}

.contact-methods svg {
    width: 25px;
    height: 25px;
    color: var(--yellow);
}

.contact-methods span,
.contact-methods small,
.contact-methods strong {
    display: block;
    min-width: 0;
}

.contact-methods small {
    margin-bottom: 3px;
    color: rgba(255, 255, 255, .56);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.contact-methods strong {
    overflow-wrap: anywhere;
    color: inherit;
    font-size: 13px;
    font-weight: 600;
}

.contact-commercial-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 52px;
    margin-top: 25px;
    padding: 0 18px;
    border-radius: 7px;
    color: var(--blue-deep);
    background: var(--yellow);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    transition: background-color .2s ease, transform .2s ease;
}

.contact-commercial-button svg {
    width: 20px;
    height: 20px;
}

.contact-commercial-button:hover,
.contact-commercial-button:focus-visible {
    background: var(--yellow-deep);
    transform: translateY(-2px);
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-commercial {
        position: relative;
        top: auto;
    }
}

@media (max-width: 620px) {
    .contact-main {
        padding: 58px 0 70px;
    }

    .contact-heading {
        margin-inline: auto;
        margin-bottom: 25px;
        text-align: center;
    }

    .contact-heading h1 {
        font-size: clamp(31px, 10vw, 40px);
    }

    .contact-heading > p:last-child {
        margin-inline: auto;
        font-size: 14px;
    }

    .contact-form-panel,
    .contact-commercial {
        padding: 27px 22px;
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .contact-field-full {
        grid-column: auto;
    }

    .contact-submit {
        width: 100%;
    }

    .contact-form-footer > p {
        width: 100%;
        text-align: center;
    }
}
