/*==========================================================================
Formulários de contacto e reporte de erros.
==========================================================================*/
.site-content>.container-1600.contact-page {
    width: min(1440px, calc(100% - 32px));
    margin: 32px auto 80px;
    padding: 0;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 0%, rgba(255, 105, 0, 0.13), transparent 28rem),
        linear-gradient(145deg, rgba(19, 19, 21, 0.98), rgba(7, 7, 8, 0.98));
}

.contact-hero {
    padding: clamp(34px, 6vw, 70px);
    border-bottom: 1px solid var(--home-border);
    background:
        linear-gradient(115deg, rgba(255, 105, 0, 0.13), transparent 42%),
        rgba(255, 255, 255, 0.015);
}

.contact-hero h1 {
    max-width: 820px;
    margin: 0;
    color: var(--home-text);
    font-family: inherit;
    font-size: clamp(2.4rem, 5.8vw, 5rem);
    font-weight: 850;
    line-height: 0.98;
    letter-spacing: -0.065em;
    text-shadow: none;
}

.contact-hero h1::after {
    color: var(--home-orange);
}

.contact-hero>p:last-child {
    max-width: 720px;
    margin: 22px 0 0;
    color: var(--home-muted-strong) !important;
    font-size: clamp(1rem, 1.6vw, 1.2rem) !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

.contact-layout {
    padding: clamp(24px, 4vw, 48px);
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(22px, 3vw, 36px);
    align-items: start;
}

.contact-card {
    min-width: 0;
    border: 1px solid var(--home-border);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(24, 24, 25, 0.96), rgba(12, 12, 13, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.contact-form {
    padding: clamp(22px, 4vw, 38px);
    display: grid;
    gap: 20px;
}

.contact-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.contact-form__grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-form__stack {
    display: grid;
    gap: 16px;
}

.contact-form label {
    display: grid;
    gap: 8px;
    color: var(--home-muted-strong);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.065em;
}

.contact-form .form {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 13px 14px;
    color: var(--home-text);
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.45;
    text-transform: none;
    letter-spacing: normal;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: none;
}

.contact-form textarea.form {
    min-height: 190px;
    resize: vertical;
}

.contact-form .form:focus {
    border-width: 1px;
    border-color: rgba(255, 105, 0, 0.85);
    box-shadow: 0 0 0 4px rgba(255, 105, 0, 0.12);
}

.contact-captcha {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
}

.contact-captcha .m-cols {
    margin: 0;
    align-items: center;
    gap: 18px;
}

.contact-captcha .col-center {
    min-width: 0;
}

.contact-captcha b {
    color: var(--home-muted-strong);
}

.contact-captcha #captcha_reload {
    color: var(--home-orange);
}

.contact-submit {
    width: fit-content;
    min-width: 190px;
    border: 0;
}

.contact-feedback {
    padding: 14px 16px;
    color: var(--home-text);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.45;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
}

.contact-feedback--success {
    color: #d8ffe7;
    border-color: rgba(85, 197, 138, 0.5);
    background: rgba(85, 197, 138, 0.11);
}

.contact-feedback--error {
    color: #ffe1d7;
    border-color: rgba(255, 105, 0, 0.55);
    background: rgba(255, 105, 0, 0.11);
}

.contact-identity {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(85, 197, 138, 0.42);
    border-radius: 12px;
    background: rgba(85, 197, 138, 0.08);
}

.contact-identity span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #07130c;
    border-radius: 50%;
    background: #55c58a;
}

.contact-identity p {
    margin: 0;
    color: var(--home-muted-strong) !important;
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
    text-align: left !important;
}

.contact-identity strong {
    color: var(--home-text);
}

.contact-info {
    position: sticky;
    top: 100px;
    padding: clamp(24px, 4vw, 36px);
}

.contact-info__icon {
    width: 58px;
    height: 58px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    color: var(--home-orange);
    font-size: 1.55rem;
    border: 1px solid rgba(255, 105, 0, 0.45);
    border-radius: 16px;
    background: rgba(255, 105, 0, 0.08);
}

.contact-info h2 {
    margin: 0 0 16px;
    color: var(--home-text);
    font-family: inherit;
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-shadow: none;
}

.contact-info p,
.contact-info li {
    color: var(--home-muted-strong) !important;
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    text-align: left !important;
}

.contact-info ul {
    margin: 20px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
    list-style: none;
}

.contact-info li {
    position: relative;
    padding-left: 23px;
}

.contact-info li::before {
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    content: "";
    border-radius: 2px;
    background: var(--home-orange);
    transform: rotate(45deg);
}

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

    .contact-info {
        position: static;
    }

    .contact-form__grid,
    .contact-form__grid--two {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .site-content>.container-1600.contact-page {
        width: min(100% - 20px, 1440px);
        margin-top: 22px;
        border-radius: 16px;
    }

    .contact-hero,
    .contact-layout,
    .contact-form,
    .contact-info {
        padding: 22px;
    }

    .contact-submit {
        width: 100%;
    }
}