/* ====================================================
   Support / Error pages — alinhadas ao visual do sistema
   (mesma linguagem das telas de autenticação: site-auth.css)
   ==================================================== */

:root {
    --auth-blue: #07487f;
    --auth-blue-deep: #063a6b;
    --auth-blue-dark: #032443;
    --auth-orange: #f59315;
    --auth-slate: #1e293b;
    --auth-slate-muted: #64748b;
    --auth-border: #e2e8f0;
    --auth-blue-gradient: linear-gradient(180deg, #002f55 0%, #003f73 54%, #00345f 100%);
    --auth-blue-surface:
        radial-gradient(circle 560px at 88% 10%, rgba(22, 80, 132, .58) 0 63%, rgba(22, 80, 132, .18) 64%, transparent 65%),
        linear-gradient(135deg, transparent 0 49.95%, rgba(125, 211, 252, .08) 50%, transparent 50.08%),
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .016) 0 1px, transparent 1px 24px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .014) 0 1px, transparent 1px 24px),
        var(--auth-blue-gradient);
}

.support-page-body {
    min-height: 100vh;
    background: var(--auth-blue-surface);
    background-attachment: fixed;
    background-size: auto, auto, 24px 24px, 24px 24px, auto;
    color: var(--auth-slate);
}

.support-page-body main {
    min-height: 100vh;
}

.support-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.5rem, 4vw, 3.5rem);
    position: relative;
    overflow: hidden;
}

/* Círculos decorativos suaves — mesmos das telas de auth */
.support-page::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.support-page::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

/* Card branco — superfície principal (igual ao #cardLogin) */
.support-page__surface {
    width: min(1060px, 100%);
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1fr);
    align-items: stretch;
    gap: 0;
    position: relative;
    z-index: 1;
    background: #ffffff;
    border: 1px solid var(--auth-border);
    border-radius: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

/* Coluna da ilustração — painel levemente azulado */
.support-page__visual {
    position: relative;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 2.25rem);
    background:
        linear-gradient(180deg, rgba(7, 72, 127, 0.04), rgba(7, 72, 127, 0.02)),
        #f8fafc;
    border-right: 1px solid var(--auth-border);
}

.support-page__visual img {
    width: min(100%, 440px);
    max-height: 340px;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(7, 72, 127, 0.12));
}

.support-page__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    background: var(--auth-blue);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow: 0 8px 20px rgba(7, 72, 127, 0.22);
    z-index: 2;
}

.support-page__badge::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--auth-orange);
}

/* Coluna de conteúdo */
.support-page__content {
    padding: clamp(1.75rem, 3.5vw, 3rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-page__eyebrow {
    margin: 0 0 0.65rem;
    color: var(--auth-blue);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.support-page__content h1 {
    margin: 0;
    color: var(--auth-slate);
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.support-page__content h1 span {
    color: var(--auth-orange);
}

.support-page__lead {
    margin: 1rem 0 0;
    color: var(--auth-slate-muted);
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.65;
    font-weight: 400;
}

.support-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.5rem;
}

.support-page__actions .support-page__action {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.6rem;
    background: #fff;
    color: var(--auth-blue);
    border: 1px solid var(--auth-border);
    text-decoration: none;
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.support-page__actions .support-page__action i {
    font-size: 1.6rem;
    line-height: 1;
}

.support-page__actions .support-page__action:hover,
.support-page__actions .support-page__action:focus {
    background: var(--auth-blue);
    color: #fff;
    border-color: var(--auth-blue);
    box-shadow: 0 12px 24px rgba(7, 72, 127, 0.22);
    transform: translateY(-2px);
}

.support-page__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 1.85rem;
}

.support-page__home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    border: 0;
    border-radius: 0.4rem;
    background: var(--auth-blue);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.support-page__home:hover,
.support-page__home:focus {
    background: var(--auth-blue-deep);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(7, 72, 127, 0.22);
}

.support-page__request {
    color: var(--auth-slate-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

@media (max-width: 991.98px) {
    .support-page {
        align-items: flex-start;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .support-page__surface {
        grid-template-columns: 1fr;
    }

    .support-page__visual {
        min-height: 200px;
        padding: 1.5rem;
        border-right: 0;
        border-bottom: 1px solid var(--auth-border);
    }

    .support-page__visual img {
        max-height: 220px;
    }
}

@media (max-width: 575.98px) {
    .support-page {
        padding: 0.85rem;
    }

    .support-page__surface {
        border-radius: 0.85rem;
    }

    .support-page__visual {
        min-height: 168px;
        padding: 1.1rem 0.9rem;
    }

    .support-page__visual img {
        max-height: 170px;
    }

    .support-page__badge {
        top: 0.6rem;
        left: 0.6rem;
        padding: 0.36rem 0.6rem;
        font-size: 0.64rem;
        letter-spacing: 0.05em;
    }

    .support-page__content {
        padding: 1.5rem 1.35rem 1.65rem;
    }

    .support-page__eyebrow {
        font-size: 0.66rem;
    }

    .support-page__content h1 {
        font-size: 1.7rem;
    }

    .support-page__lead {
        font-size: 0.95rem;
    }

    .support-page__actions {
        gap: 0.5rem;
        margin-top: 1.25rem;
    }

    .support-page__actions .support-page__action {
        width: 2.7rem;
        height: 2.7rem;
        border-radius: 0.5rem;
    }

    .support-page__actions .support-page__action i {
        font-size: 1.4rem;
    }

    .support-page__footer {
        margin-top: 1.5rem;
    }
}
