:root { color-scheme: dark; }

.support-page {
    --support-soft: color-mix(in srgb, var(--cor-usuario) 13%, transparent);
    --support-border: color-mix(in srgb, var(--cor-usuario) 32%, var(--border-color));
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    position: relative;
    isolation: isolate;
    overflow-x: hidden;
    background: var(--bg-body);
    color: var(--text-secundario);
    font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--cor-usuario);
    color: var(--cor-usuario-texto);
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.support-ambient,
.support-orb,
.floating-circles {
    position: fixed;
    inset: 0;
    pointer-events: none;
}

.support-ambient { z-index: -1; overflow: hidden; }

.support-orb {
    width: 36rem;
    height: 36rem;
    border-radius: 50%;
    background: var(--cor-usuario);
    filter: blur(140px);
    opacity: .17;
}

.support-orb-one { inset: -18rem auto auto -14rem; }
.support-orb-two { inset: auto -20rem -20rem auto; opacity: .11; }

.floating-circles {
    overflow: hidden;
}

.floating-circle {
    position: absolute;
    display: block;
    border: 1px solid color-mix(in srgb, var(--cor-usuario) 28%, transparent);
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 28%, color-mix(in srgb, var(--cor-usuario) 20%, transparent), transparent 56%),
        color-mix(in srgb, var(--cor-usuario) 5%, transparent);
    box-shadow:
        inset 0 0 28px color-mix(in srgb, var(--cor-usuario) 7%, transparent),
        0 0 32px color-mix(in srgb, var(--cor-usuario) 6%, transparent);
    opacity: .72;
    will-change: transform;
    animation: supportFloat 16s ease-in-out infinite alternate;
}

.circle-one {
    width: 88px;
    height: 88px;
    top: 15%;
    left: 5%;
    animation-duration: 14s;
}

.circle-two {
    width: 34px;
    height: 34px;
    top: 27%;
    left: 45%;
    animation-duration: 11s;
    animation-delay: -4s;
}

.circle-three {
    width: 148px;
    height: 148px;
    top: 8%;
    right: 4%;
    opacity: .48;
    animation-duration: 19s;
    animation-delay: -8s;
}

.circle-four {
    width: 58px;
    height: 58px;
    right: 9%;
    bottom: 11%;
    animation-duration: 13s;
    animation-delay: -2s;
}

.circle-five {
    width: 184px;
    height: 184px;
    left: 27%;
    bottom: -64px;
    opacity: .38;
    animation-duration: 22s;
    animation-delay: -10s;
}

.circle-six {
    width: 24px;
    height: 24px;
    right: 38%;
    bottom: 22%;
    animation-duration: 10s;
    animation-delay: -6s;
}

@keyframes supportFloat {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    45% { transform: translate3d(18px, -24px, 0) scale(1.04); }
    100% { transform: translate3d(-14px, 18px, 0) scale(.96); }
}

.support-header,
.support-main,
.support-footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.support-header {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.support-brand,
.header-login {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    color: var(--text-primario);
    text-decoration: none;
}

.support-brand { gap: 12px; border-radius: 14px; }

.support-brand-logo {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--border-color-forte);
    border-radius: 12px;
    background: var(--bg-card-alt);
    box-shadow: 0 10px 26px var(--shadow-color);
}

.support-brand-logo img { width: 34px; height: 34px; object-fit: contain; }
.support-brand-copy { display: grid; gap: 1px; }
.support-brand-copy strong { font-size: .94rem; letter-spacing: -.01em; }
.support-brand-copy small { color: var(--text-muted); font-size: .72rem; }

.header-login {
    gap: 8px;
    padding: 10px 14px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-input);
    color: var(--text-secundario);
    font-size: .86rem;
    font-weight: 700;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.header-login svg,
.support-button svg,
.security-note > svg,
.privacy-strip > svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.header-login svg { width: 18px; height: 18px; stroke-width: 2; }
.header-login:hover { transform: translateY(-1px); border-color: var(--support-border); background: var(--bg-hover); color: var(--text-primario); }

.support-main {
    align-self: center;
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(490px, 1.1fr);
    align-items: center;
    gap: clamp(42px, 7vw, 88px);
    padding: 36px 0 52px;
}

.support-intro { min-width: 0; }

.support-eyebrow {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 11px;
    border: 1px solid var(--support-border);
    border-radius: 999px;
    background: var(--support-soft);
    color: var(--cor-usuario);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.support-eyebrow svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-intro h1 {
    max-width: 650px;
    margin-top: 20px;
    color: var(--text-primario);
    font-size: clamp(2.4rem, 4.9vw, 4.25rem);
    line-height: 1.02;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.support-lead {
    max-width: 620px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.72;
}

.support-actions {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.support-button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: .9rem;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.support-button svg { width: 20px; height: 20px; stroke-width: 1.9; }
.support-button-primary { background: var(--cor-usuario); color: var(--cor-usuario-texto); box-shadow: 0 14px 30px var(--support-soft); }
.support-button-primary:hover { background: var(--cor-usuario-hover); box-shadow: 0 18px 36px var(--support-soft); transform: translateY(-2px); }
.support-button-secondary { border-color: var(--border-color-forte); background: var(--bg-input); color: var(--text-secundario); }
.support-button-secondary:hover { border-color: var(--support-border); background: var(--bg-hover); color: var(--text-primario); transform: translateY(-2px); }

.security-note {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid color-mix(in srgb, #f59e0b 32%, var(--border-color));
    border-radius: 14px;
    background: color-mix(in srgb, #f59e0b 8%, var(--bg-input));
}

.security-note > svg { width: 21px; height: 21px; flex: 0 0 auto; margin-top: 1px; color: #fbbf24; stroke-width: 1.8; }
.security-note div { display: grid; gap: 3px; }
.security-note strong { color: var(--text-primario); font-size: .85rem; }
.security-note span { color: var(--text-muted); font-size: .78rem; line-height: 1.5; }

.support-card {
    min-width: 0;
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--border-color-forte);
    border-radius: 24px;
    background: color-mix(in srgb, var(--bg-card) 94%, transparent);
    box-shadow: 0 30px 80px -38px var(--shadow-color);
    backdrop-filter: blur(18px);
}

.support-card-header { display: flex; align-items: flex-start; gap: 14px; padding-bottom: 24px; border-bottom: 1px solid var(--border-color); }
.card-icon { width: 46px; height: 46px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--support-border); border-radius: 14px; background: var(--support-soft); color: var(--cor-usuario); }
.card-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.support-card-header > div { min-width: 0; }
.card-kicker { color: var(--cor-usuario); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.support-card h2 { margin-top: 4px; color: var(--text-primario); font-size: clamp(1.35rem, 2.3vw, 1.7rem); letter-spacing: -.025em; }
.support-card-header p { margin-top: 6px; color: var(--text-muted); font-size: .82rem; line-height: 1.5; }

.help-list { display: grid; }
.help-item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 15px; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.help-number { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border-color); border-radius: 12px; background: var(--bg-input); color: var(--cor-usuario); font-size: .73rem; font-weight: 850; font-variant-numeric: tabular-nums; }
.help-item > div { min-width: 0; }
.help-item h3 { color: var(--text-primario); font-size: .94rem; letter-spacing: -.01em; }
.help-item p { margin-top: 5px; color: var(--text-muted); font-size: .8rem; line-height: 1.55; }
.help-item a { min-height: 36px; width: fit-content; margin-top: 7px; display: inline-flex; align-items: center; gap: 6px; color: var(--cor-usuario); font-size: .78rem; font-weight: 750; text-decoration: none; }
.help-item a:hover { color: var(--cor-usuario-hover); text-decoration: underline; text-underline-offset: 3px; }

.privacy-strip { margin-top: 22px; display: flex; align-items: flex-start; gap: 11px; padding: 13px 14px; border: 1px solid var(--support-border); border-radius: 12px; background: var(--support-soft); }
.privacy-strip > svg { width: 20px; height: 20px; flex: 0 0 auto; color: var(--cor-usuario); stroke-width: 1.9; }
.privacy-strip p { color: var(--text-muted); font-size: .75rem; line-height: 1.5; }
.privacy-strip strong { color: var(--text-secundario); }

.support-brand:focus-visible,
.header-login:focus-visible,
.support-button:focus-visible,
.help-item a:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--cor-usuario) 52%, transparent);
    outline-offset: 3px;
}

.support-footer { min-height: 62px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--text-fraco); font-size: .72rem; }
.support-footer > span:first-child { color: var(--text-muted); font-weight: 700; }
.support-footer > span:nth-child(2) { width: 4px; height: 4px; border-radius: 50%; background: var(--cor-usuario); }

@media (max-width: 940px) {
    .support-main { grid-template-columns: 1fr; gap: 36px; max-width: 720px; }
    .support-intro h1, .support-lead { max-width: 680px; }
}

@media (max-width: 620px) {
    .support-header,
    .support-main,
    .support-footer { width: min(100% - 24px, 1180px); }
    .support-header { min-height: 70px; }
    .support-brand-copy small { display: none; }
    .header-login { width: 46px; min-width: 46px; padding: 0; justify-content: center; font-size: 0; }
    .header-login svg { width: 20px; height: 20px; }
    .support-main { padding: 22px 0 34px; gap: 30px; }
    .support-intro h1 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
    .support-actions { display: grid; grid-template-columns: 1fr; }
    .support-button { width: 100%; }
    .support-card { padding: 22px 18px; border-radius: 20px; }
    .support-card-header { padding-bottom: 20px; }
    .card-icon { width: 42px; height: 42px; }
    .support-footer { min-height: 54px; text-align: center; }

    .circle-two,
    .circle-six { display: none; }

    .circle-one { width: 64px; height: 64px; left: -22px; }
    .circle-three { width: 96px; height: 96px; right: -38px; }
    .circle-four { right: -16px; bottom: 18%; }
    .circle-five { width: 126px; height: 126px; left: 20%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
