/*
 * Página inicial pública da VISA.
 * Escopo isolado para não interferir no painel ou nos demais formulários.
 */

.visa-public-home-shell {
    --home-primary: #0872ce;
    --home-primary-strong: #075fae;
    --home-primary-dark: #064f91;
    --home-primary-soft: #eaf3fc;
    --home-canvas: #eef3f8;
    --home-surface: #ffffff;
    --home-surface-soft: #f6f9fc;
    --home-text: #172a3a;
    --home-muted: #5d6d7b;
    --home-border: #d7e0e8;
    --home-border-strong: #b7c6d5;
    background: var(--home-canvas);
    color: var(--home-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.visa-public-home-shell .visa-public-header {
    align-items: center;
    background: rgba(255, 255, 255, .97);
    border-bottom: 1px solid var(--home-border);
    box-shadow: 0 3px 16px rgba(25, 71, 111, .06);
    display: grid;
    gap: 18px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 72px;
    padding: 12px max(20px, calc((100vw - 1180px) / 2));
}

.visa-public-home-shell .visa-public-brand {
    gap: 10px;
}

.visa-public-home-shell .visa-brand-mark {
    background: transparent;
    border-radius: 0;
    height: 48px;
    object-fit: contain;
    padding: 0;
    width: 48px;
}

.visa-public-home-shell .visa-public-brand strong {
    color: var(--home-primary-dark);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .96rem;
}

.visa-public-home-shell .visa-public-brand small {
    color: var(--home-muted);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .7rem;
    letter-spacing: 0;
    text-transform: none;
}

.visa-public-home-shell .visa-public-nav {
    gap: 4px;
    justify-content: center;
}

.visa-public-home-shell .visa-public-nav a {
    border-radius: 8px;
    color: var(--home-muted);
    font-size: .8rem;
    font-weight: 600;
    padding: 9px 10px;
}

.visa-public-home-shell .visa-public-nav a::after {
    display: none;
}

.visa-public-home-shell .visa-public-nav a:hover,
.visa-public-home-shell .visa-public-nav a:focus-visible {
    background: var(--home-primary-soft);
    color: var(--home-primary-strong);
}

.visa-public-home-shell .visa-public-actions .visa-button--primary {
    background: var(--home-primary);
    border-color: var(--home-primary);
    border-radius: 8px;
    color: #fff;
}

.visa-public-home-shell .visa-page.visa-home-modern {
    display: grid;
    gap: 20px;
    margin: 0 auto;
    max-width: 1236px;
    padding: 24px 28px 38px;
}

.visa-public-home-shell .visa-home-modern h1,
.visa-public-home-shell .visa-home-modern h2,
.visa-public-home-shell .visa-home-modern h3 {
    color: var(--home-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

.visa-public-home-shell .visa-home-modern .visa-kicker {
    color: var(--home-primary);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .7rem;
    font-weight: 750;
    letter-spacing: .075em;
}

.visa-public-home-shell .visa-home-modern .visa-kicker::before {
    background: var(--home-primary);
}

/* Apresentação principal */

.visa-public-home-shell .visa-home-modern .visa-hero {
    align-items: stretch;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    box-shadow: 0 12px 32px rgba(25, 71, 111, .08);
    color: var(--home-text);
    display: grid;
    gap: 34px;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
    min-height: 0;
    overflow: hidden;
    padding: 34px;
}

.visa-public-home-shell .visa-home-modern .visa-hero::after {
    display: none;
}

.visa-public-home-shell .visa-home-modern .visa-hero__content {
    align-self: center;
    min-width: 0;
}

.visa-public-home-shell .visa-home-modern .visa-hero h1 {
    color: var(--home-text);
    font-size: clamp(2rem, 4vw, 3.15rem);
    letter-spacing: -.035em;
    line-height: 1.04;
    margin: 0 0 16px;
    max-width: 13ch;
}

.visa-public-home-shell .visa-home-modern .visa-hero > .visa-hero__content > p:not(.visa-kicker) {
    color: var(--home-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    max-width: 58ch;
}

.visa-public-home-shell .visa-home-modern .visa-hero-protocol {
    background: var(--home-primary-soft);
    border: 1px solid #c9dff2;
    border-radius: 12px;
    gap: 9px;
    margin-top: 22px;
    max-width: 620px;
    padding: 14px;
}

.visa-public-home-shell .visa-home-modern .visa-hero-protocol label {
    color: var(--home-primary-dark);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .7rem;
    letter-spacing: .05em;
}

.visa-public-home-shell .visa-home-modern .visa-hero-protocol input {
    background: #fff;
    border: 1px solid var(--home-border-strong);
    border-radius: 8px;
    color: var(--home-text);
    min-height: 44px;
}

.visa-public-home-shell .visa-home-modern .visa-hero-protocol input:focus {
    border-color: var(--home-primary);
    box-shadow: 0 0 0 3px rgba(8, 114, 206, .12);
}

.visa-public-home-shell .visa-home-modern .visa-button {
    border-radius: 8px;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    min-height: 44px;
    padding: 10px 16px;
    white-space: nowrap;
}

.visa-public-home-shell .visa-home-modern .visa-button--primary {
    background: var(--home-primary);
    border-color: var(--home-primary);
    color: #fff;
}

.visa-public-home-shell .visa-home-modern .visa-button--primary:hover {
    background: var(--home-primary-strong);
    border-color: var(--home-primary-strong);
}

.visa-public-home-shell .visa-home-modern .visa-button--secondary {
    background: #fff;
    border-color: var(--home-border-strong);
    color: var(--home-primary-strong);
}

.visa-public-home-shell .visa-home-modern .visa-button--secondary:hover {
    background: var(--home-primary-soft);
    border-color: var(--home-primary);
    color: var(--home-primary-dark);
}

.visa-public-home-shell .visa-home-modern .visa-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.visa-public-home-shell .visa-home-modern .visa-button .ti {
    font-size: 18px;
}

.visa-public-home-shell .visa-home-modern .visa-hero-note {
    color: var(--home-muted);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .76rem;
    margin-top: 18px;
}

.visa-public-home-shell .visa-home-modern .visa-seal-stage {
    background: linear-gradient(145deg, #f5f9fd, #e6f1fb);
    border: 1px solid #c9dff2;
    border-radius: 14px;
    min-height: 350px;
    overflow: hidden;
}

.visa-public-home-shell .visa-home-modern .visa-seal-plate {
    background:
        radial-gradient(circle at 82% 18%, rgba(8, 114, 206, .11), transparent 27%),
        linear-gradient(145deg, #f7fbff, #e8f2fb);
    border: 0;
}

.visa-public-home-shell .visa-home-modern .visa-protocol-ticket {
    background: #fff;
    border: 1px solid var(--home-border-strong);
    border-radius: 10px;
    box-shadow: 0 18px 38px rgba(25, 71, 111, .15);
    max-width: 360px;
}

.visa-public-home-shell .visa-home-modern .ticket-num {
    color: var(--home-primary-dark);
}

/* Serviços */

.visa-public-home-shell .visa-home-modern > .visa-section {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(25, 71, 111, .055);
    margin: 0;
    padding: 30px;
}

.visa-public-home-shell .visa-home-modern .visa-section__heading {
    margin-bottom: 20px;
}

.visa-public-home-shell .visa-home-modern .visa-section__heading h2 {
    color: var(--home-text);
    font-size: clamp(1.45rem, 2.5vw, 2rem);
    letter-spacing: -.025em;
    margin: 0;
}

.visa-public-home-shell .visa-home-modern .visa-service-grid {
    background: transparent;
    border: 0;
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.visa-public-home-shell .visa-home-modern .visa-service {
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: 12px;
    color: var(--home-text);
    min-height: 190px;
    padding: 20px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.visa-public-home-shell .visa-home-modern a.visa-service:hover,
.visa-public-home-shell .visa-home-modern a.visa-service:focus-visible {
    background: #fff;
    border-color: var(--home-primary);
    box-shadow: 0 10px 24px rgba(25, 71, 111, .1);
    transform: translateY(-2px);
}

.visa-public-home-shell .visa-home-modern .visa-service > .ti {
    align-items: center;
    background: var(--home-primary-soft);
    border-radius: 10px;
    color: var(--home-primary);
    display: inline-flex;
    font-size: 21px;
    height: 40px;
    justify-content: center;
    margin-bottom: 16px;
    width: 40px;
}

.visa-public-home-shell .visa-home-modern .visa-tag {
    color: var(--home-primary-strong);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .68rem;
    font-weight: 750;
    letter-spacing: .045em;
    margin-bottom: 6px;
}

.visa-public-home-shell .visa-home-modern .visa-service h3 {
    color: var(--home-text);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 1.02rem;
    margin: 0 0 8px;
}

.visa-public-home-shell .visa-home-modern .visa-service p {
    color: var(--home-muted);
    font-size: .9rem;
    line-height: 1.55;
    margin: 0;
}

/* Fluxo */

.visa-public-home-shell .visa-home-modern > .visa-flow {
    background: var(--home-surface);
    color: var(--home-text);
    margin: 0;
    padding: 30px;
}

.visa-public-home-shell .visa-home-modern .visa-flow .visa-kicker,
.visa-public-home-shell .visa-home-modern .visa-flow h2,
.visa-public-home-shell .visa-home-modern .visa-flow .visa-section__heading h2 {
    color: var(--home-text);
}

.visa-public-home-shell .visa-home-modern .visa-flow .visa-kicker {
    color: var(--home-primary);
}

.visa-public-home-shell .visa-home-modern .visa-steps {
    border: 0;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.visa-public-home-shell .visa-home-modern .visa-steps li {
    background: var(--home-surface-soft);
    border: 1px solid var(--home-border);
    border-radius: 10px;
    color: var(--home-text);
    display: grid;
    font-size: .86rem;
    font-weight: 600;
    gap: 12px;
    min-height: 128px;
    padding: 18px;
}

.visa-public-home-shell .visa-home-modern .visa-steps span {
    align-items: center;
    background: var(--home-primary);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    font-size: .76rem;
    height: 30px;
    justify-content: center;
    margin: 0;
    width: 30px;
}

/* Denúncia */

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta {
    align-items: center;
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 255, 255, .15), transparent 24%),
        linear-gradient(135deg, var(--home-primary-dark), var(--home-primary));
    border-radius: 18px;
    color: #fff;
    display: flex;
    gap: 28px;
    justify-content: space-between;
    margin: 0;
    padding: 30px 34px;
}

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta .visa-kicker,
.visa-public-home-shell .visa-home-modern .visa-denuncia-cta h2 {
    color: #fff;
}

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta .visa-kicker::before {
    background: #b9dcfb;
}

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.75rem);
    margin: 0 0 8px;
}

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta p {
    color: rgba(255, 255, 255, .84);
    line-height: 1.55;
    margin: 0;
}

.visa-public-home-shell .visa-home-modern .visa-denuncia-cta .visa-button--primary {
    background: #fff;
    border-color: #fff;
    color: var(--home-primary-dark);
}

@media (max-width: 980px) {
    .visa-public-home-shell .visa-public-header {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .visa-public-home-shell .visa-public-nav {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .visa-public-home-shell .visa-home-modern .visa-hero {
        grid-template-columns: 1fr;
    }

    .visa-public-home-shell .visa-home-modern .visa-seal-stage {
        min-height: 320px;
    }

    .visa-public-home-shell .visa-home-modern .visa-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visa-public-home-shell .visa-home-modern .visa-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .visa-public-home-shell .visa-public-header {
        padding: 10px 14px;
        position: relative;
    }

    .visa-public-home-shell .visa-public-brand small {
        display: none;
    }

    .visa-public-home-shell .visa-public-actions .visa-button {
        font-size: .74rem;
        min-height: 38px;
        padding: 8px 10px;
    }

    .visa-public-home-shell .visa-page.visa-home-modern {
        padding: 14px;
    }

    .visa-public-home-shell .visa-home-modern .visa-hero,
    .visa-public-home-shell .visa-home-modern > .visa-section,
    .visa-public-home-shell .visa-home-modern .visa-denuncia-cta {
        border-radius: 12px;
        padding: 20px;
    }

    .visa-public-home-shell .visa-home-modern .visa-hero h1 {
        font-size: 2rem;
    }

    .visa-public-home-shell .visa-home-modern .visa-hero-protocol div,
    .visa-public-home-shell .visa-home-modern .visa-service-grid,
    .visa-public-home-shell .visa-home-modern .visa-steps {
        grid-template-columns: 1fr;
    }

    .visa-public-home-shell .visa-home-modern .visa-hero-protocol .visa-button,
    .visa-public-home-shell .visa-home-modern .visa-actions .visa-button {
        width: 100%;
    }

    .visa-public-home-shell .visa-home-modern .visa-seal-stage {
        min-height: 280px;
    }

    .visa-public-home-shell .visa-home-modern .visa-denuncia-cta {
        align-items: stretch;
        flex-direction: column;
    }
}
