/* FUNPAR - Portal Ouvidoria
   Layout baseado no topo e rodapé do novo site institucional da FUNPAR. */
:root {
    --funpar-blue: #004487;
    --funpar-blue-dark: #001e5a;
    --funpar-blue-900: #061d4b;
    --funpar-green: #6cab2f;
    --funpar-green-soft: #88c857;
    --funpar-yellow: #ffd11a;
    --funpar-white: #ffffff;
    --funpar-text: #102033;
    --funpar-muted: #667085;
    --funpar-border: #e9eef5;
    --funpar-soft: #f5f8fc;
    --funpar-shadow-soft: 0 18px 40px rgba(16, 32, 51, .07);
    --funpar-shadow-hover: 0 28px 60px rgba(0, 30, 90, .16);
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--funpar-text);
    background: #ffffff;
    font-family: "Urbanist", "Segoe UI", Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

body,
button,
input,
select,
textarea {
    font-family: "Urbanist", "Segoe UI", Arial, Helvetica, sans-serif;
}

a {
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
}

/* Header igual ao padrão novo da FUNPAR */
.funpar-header {
    width: 100%;
    min-height: 106px;
    background:
        radial-gradient(circle at 12% -35%, rgba(255, 255, 255, .14), transparent 34%),
        linear-gradient(120deg, var(--funpar-blue), #003d7a 52%, var(--funpar-blue-dark));
    color: var(--funpar-white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .08);
}

.funpar-header-container {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.funpar-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 1;
}

.funpar-header-logo {
    width: 132px;
    height: auto;
    display: block;
}

.funpar-header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.btn-voltar-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 10px 24px;
    border: 1px solid rgba(255, 255, 255, .82);
    border-radius: 999px;
    color: #ffffff;
    background: transparent;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}

.btn-voltar-site:hover,
.btn-voltar-site:focus {
    color: var(--funpar-blue-dark);
    background: #ffffff;
    border-color: #ffffff;
    outline: none;
    transform: translateY(-1px);
}

.btn-voltar-icon {
    font-size: 15px;
    line-height: 1;
}

/* Conteúdo */
.funpar-main {
    min-height: calc(100vh - 206px);
    background: #ffffff;
}

.ouvidoria-hero {
    background:
        radial-gradient(circle at 12% 20%, rgba(255, 255, 255, .16), transparent 24%),
        radial-gradient(circle at 84% 28%, rgba(136, 200, 87, .30), transparent 28%),
        radial-gradient(circle at 74% 88%, rgba(0, 132, 189, .30), transparent 34%),
        linear-gradient(116deg, #002a69 0%, var(--funpar-blue) 48%, #002251 100%);
    color: #ffffff;
    padding: 82px 0 90px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.ouvidoria-hero::before {
    content: "";
    position: absolute;
    right: -10%;
    bottom: -32%;
    width: 78%;
    height: 420px;
    background:
        radial-gradient(circle at 28% 0, rgba(255, 255, 255, .16), transparent 24%),
        linear-gradient(135deg, rgba(108, 171, 47, .72), rgba(0, 68, 135, .10));
    border-radius: 55% 45% 0 0;
    transform: rotate(-5deg);
    opacity: .82;
    z-index: -2;
}

.ouvidoria-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        url("data:image/svg+xml,%3Csvg width='820' height='520' viewBox='0 0 820 520' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.20' stroke-width='2'%3E%3Cpath d='M-40 118C113 18 265 26 416 145c130 103 259 121 404 53'/%3E%3Cpath d='M-25 158C126 59 272 70 408 182c131 108 267 130 431 55'/%3E%3Cpath d='M-5 198C142 104 281 118 402 221c133 113 279 135 449 54'/%3E%3Cpath d='M578 42a94 94 0 1 0 188 0a94 94 0 1 0 -188 0'/%3E%3Cpath d='M604 42a68 68 0 1 0 136 0a68 68 0 1 0 -136 0'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 52%);
    background-repeat: no-repeat, no-repeat;
    background-position: right -80px top -42px, center;
    background-size: min(880px, 72vw) auto, cover;
    pointer-events: none;
    z-index: -1;
}

.ouvidoria-hero-container,
.ouvidoria-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
    align-items: center;
    gap: clamp(32px, 6vw, 82px);
}

.ouvidoria-hero-content {
    max-width: 920px;
}

.ouvidoria-kicker {
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 8px 15px;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    background: rgba(255, 255, 255, .10);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .05em;
    backdrop-filter: blur(10px);
}

.ouvidoria-kicker::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--funpar-green-soft);
    box-shadow: 0 0 0 6px rgba(136, 200, 87, .18);
}

.ouvidoria-title {
    max-width: 900px;
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2.55rem, 5vw, 4.6rem);
    font-weight: 900;
    line-height: .96;
    letter-spacing: -.04em;
    text-wrap: balance;
}

.ouvidoria-subtitle {
    max-width: 850px;
    margin: 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(1.06rem, 2vw, 1.35rem);
    line-height: 1.46;
    font-weight: 500;
}

.ouvidoria-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.btn-ouvidoria-primary,
.btn-ouvidoria-outline {
    min-height: 48px;
    border-radius: 999px;
    padding: 13px 26px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .015em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-ouvidoria-primary {
    background: #ffffff;
    color: var(--funpar-blue-dark);
    border: 1px solid #ffffff;
    box-shadow: 0 14px 26px rgba(0, 0, 0, .14);
}

.btn-ouvidoria-primary:hover {
    background: var(--funpar-green-soft);
    color: var(--funpar-blue-dark);
    border-color: var(--funpar-green-soft);
    transform: translateY(-2px);
}

.btn-ouvidoria-outline {
    background: rgba(255, 255, 255, .08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, .78);
}

.btn-ouvidoria-outline:hover {
    background: rgba(255, 255, 255, .15);
    color: #ffffff;
    border-color: #ffffff;
    transform: translateY(-2px);
}

.ouvidoria-hero-visual {
    min-height: 360px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ouvidoria-orbit {
    position: absolute;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .20);
    pointer-events: none;
}

.ouvidoria-orbit-one {
    width: 360px;
    height: 360px;
    border-width: 2px;
}

.ouvidoria-orbit-two {
    width: 260px;
    height: 260px;
    border-style: dashed;
    opacity: .72;
}

.ouvidoria-hero-card {
    width: min(100%, 390px);
    padding: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 34px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .07)),
        rgba(0, 30, 90, .32);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.ouvidoria-hero-card::before {
    content: "";
    position: absolute;
    right: -70px;
    top: -70px;
    width: 190px;
    height: 190px;
    border-radius: 44% 56% 43% 57%;
    background: rgba(136, 200, 87, .70);
}

.ouvidoria-hero-card::after {
    content: "";
    position: absolute;
    left: -55px;
    bottom: -75px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
}

.ouvidoria-hero-card-label {
    position: relative;
    z-index: 1;
    display: inline-block;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.ouvidoria-hero-card strong {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 280px;
    color: #ffffff;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.03;
    letter-spacing: -.03em;
}

.ouvidoria-hero-card-line {
    position: relative;
    z-index: 1;
    display: block;
    width: 88px;
    height: 5px;
    margin: 24px 0;
    border-radius: 999px;
    background: var(--funpar-green-soft);
}

.ouvidoria-hero-card-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ouvidoria-hero-card-grid span {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
    font-weight: 800;
}

.page-section {
    padding: 68px 0;
}

.section-soft {
    background:
        radial-gradient(circle at 0 0, rgba(0, 68, 135, .04), transparent 28%),
        var(--funpar-soft);
}

.section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--funpar-blue);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .04em;
}

.section-title {
    margin: 0 0 14px;
    color: var(--funpar-blue-dark);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 900;
    letter-spacing: -.02em;
}

.section-description {
    max-width: 860px;
    color: var(--funpar-muted);
    font-size: 1.05rem;
    line-height: 1.65;
}

.feature-card,
.form-shell,
.side-card {
    background: #ffffff;
    border: 1px solid var(--funpar-border);
    border-radius: 22px;
    box-shadow: var(--funpar-shadow-soft);
}

.feature-card {
    height: 100%;
    padding: 28px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transform: translateY(0);
    transition:
        transform .32s cubic-bezier(.22, 1, .36, 1),
        box-shadow .32s cubic-bezier(.22, 1, .36, 1),
        border-color .32s ease;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 5px;
    background: linear-gradient(90deg, var(--funpar-green), var(--funpar-blue));
    transform: scaleX(.22);
    transform-origin: left center;
    transition: transform .36s cubic-bezier(.22, 1, .36, 1);
    z-index: -1;
}

.feature-card::after {
    content: "";
    position: absolute;
    right: -58px;
    top: -58px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 171, 47, .16), transparent 68%);
    opacity: 0;
    transform: scale(.72);
    transition: opacity .32s ease, transform .32s ease;
    z-index: -1;
}

.feature-card:hover,
.feature-card:focus-within {
    border-color: rgba(0, 68, 135, .22);
    box-shadow: var(--funpar-shadow-hover);
    transform: translateY(-10px);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
    transform: scaleX(1);
}

.feature-card:hover::after,
.feature-card:focus-within::after {
    opacity: 1;
    transform: scale(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--funpar-blue-dark);
    background: var(--funpar-yellow);
    font-weight: 900;
    box-shadow: 0 12px 22px rgba(255, 209, 26, .24);
    transition:
        transform .32s cubic-bezier(.22, 1, .36, 1),
        color .32s ease,
        background-color .32s ease,
        box-shadow .32s ease;
}

.feature-card:hover .feature-icon,
.feature-card:focus-within .feature-icon {
    color: #ffffff;
    background: var(--funpar-blue);
    box-shadow: 0 14px 28px rgba(0, 68, 135, .24);
    transform: translateY(-4px) rotate(-4deg) scale(1.04);
}

.feature-card h3 {
    margin: 0 0 10px;
    color: var(--funpar-blue-dark);
    font-size: 1.2rem;
    font-weight: 900;
}

.feature-card p {
    margin: 0;
    color: var(--funpar-muted);
    line-height: 1.6;
}

.form-shell {
    padding: 34px;
}

.form-label {
    color: var(--funpar-blue-dark);
    font-weight: 800;
}

.form-control,
.form-select {
    min-height: 46px;
    border-radius: 12px;
    border-color: #d6dee8;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--funpar-blue);
    box-shadow: 0 0 0 .2rem rgba(0, 68, 135, .13);
}

.side-card {
    padding: 30px;
    position: sticky;
    top: 132px;
}

.side-card h3 {
    margin: 0 0 22px;
    color: var(--funpar-blue-dark);
    font-size: 1.3rem;
    font-weight: 900;
}

.side-card dl {
    margin: 0;
}

.side-card dt {
    margin-top: 18px;
    color: var(--funpar-blue);
    font-size: .88rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.side-card dt:first-child {
    margin-top: 0;
}

.side-card dd {
    margin: 6px 0 0;
    color: var(--funpar-muted);
    line-height: 1.55;
}

/* Rodapé igual ao padrão novo da FUNPAR */
.funpar-footer {
    background:
        radial-gradient(circle at 90% 0, rgba(255, 255, 255, .08), transparent 28%),
        var(--funpar-blue-dark);
    color: #ffffff;
    padding: 32px 0 0;
}

.funpar-footer-line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, .32);
}

.funpar-footer-content {
    min-height: 106px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 28px 0 30px;
}

.funpar-footer-brand {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.funpar-footer-logo {
    width: 140px;
    height: auto;
    display: block;
    flex: 0 0 auto;
}

.funpar-footer-copy {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.funpar-footer-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 34px;
    text-align: right;
    flex-wrap: wrap;
}

.funpar-footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.funpar-footer-links a:hover,
.funpar-footer-links a:focus {
    color: var(--funpar-yellow);
    text-decoration: none;
}

@media (prefers-reduced-motion: no-preference) {
    .ouvidoria-hero::after {
        animation: funparHeroLines 18s ease-in-out infinite alternate;
    }

    .ouvidoria-orbit-one {
        animation: funparOrbit 18s linear infinite;
    }

    .ouvidoria-orbit-two {
        animation: funparOrbit 14s linear infinite reverse;
    }

    .ouvidoria-hero-card {
        animation: funparHeroFloat 6s ease-in-out infinite;
    }

    .feature-card {
        animation: funparCardIn .62s cubic-bezier(.22, 1, .36, 1) both;
    }

    .row > div:nth-child(2) .feature-card {
        animation-delay: .08s;
    }

    .row > div:nth-child(3) .feature-card {
        animation-delay: .16s;
    }

    .row > div:nth-child(4) .feature-card {
        animation-delay: .24s;
    }
}

@keyframes funparHeroLines {
    from {
        background-position: right -80px top -42px, center;
    }

    to {
        background-position: right -30px top -24px, center;
    }
}

@keyframes funparOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes funparHeroFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }

    50% {
        transform: translateY(-12px) rotate(1deg);
    }
}

@keyframes funparCardIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .funpar-header,
    .funpar-header-container {
        min-height: 88px;
    }

    .funpar-header-logo {
        width: 118px;
    }

    .btn-voltar-site {
        min-height: 40px;
        padding: 9px 18px;
        font-size: 12px;
    }

    .ouvidoria-hero {
        padding: 62px 0 68px;
    }

    .ouvidoria-hero-container,
.ouvidoria-hero-grid {
        grid-template-columns: 1fr;
    }

    .ouvidoria-hero-visual {
        min-height: 300px;
        justify-content: flex-start;
    }

    .ouvidoria-hero-card {
        max-width: 420px;
    }

    .page-section {
        padding: 54px 0;
    }

    .side-card {
        position: static;
    }

    .funpar-footer-content {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .funpar-footer-brand {
        flex-wrap: wrap;
    }

    .funpar-footer-links {
        justify-content: flex-start;
        gap: 10px 24px;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .funpar-header-container {
        gap: 12px;
    }

    .funpar-header-logo {
        width: 104px;
    }

    .btn-voltar-site {
        padding: 8px 14px;
        font-size: 11px;
    }

    .btn-voltar-icon {
        display: none;
    }

    .ouvidoria-hero {
        padding: 52px 0 58px;
    }

    .ouvidoria-kicker {
        font-size: 11px;
    }

    .ouvidoria-hero-visual {
        min-height: auto;
    }

    .ouvidoria-orbit {
        display: none;
    }

    .ouvidoria-hero-card {
        padding: 24px;
        border-radius: 26px;
    }

    .ouvidoria-hero-card-grid {
        grid-template-columns: 1fr;
    }

    .ouvidoria-actions .btn-ouvidoria-primary,
    .ouvidoria-actions .btn-ouvidoria-outline {
        width: 100%;
    }

    .form-shell {
        padding: 24px;
    }

    .funpar-footer-brand {
        display: block;
    }

    .funpar-footer-copy {
        display: block;
        margin-top: 12px;
        white-space: normal;
    }

    .funpar-footer-logo {
        width: 128px;
    }
}


/* Consulta de protocolo em destaque no banner */
.protocol-search-card {
    width: min(100%, 430px);
    justify-self: end;
    padding: 28px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .26);
    border-radius: 30px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, .08)),
        rgba(0, 30, 90, .34);
    box-shadow: 0 34px 80px rgba(0, 0, 0, .24);
    backdrop-filter: blur(18px);
}

.protocol-search-card::before {
    content: "";
    position: absolute;
    right: -68px;
    top: -72px;
    width: 185px;
    height: 185px;
    border-radius: 42% 58% 45% 55%;
    background: rgba(136, 200, 87, .70);
    pointer-events: none;
}

.protocol-search-card::after {
    content: "";
    position: absolute;
    left: -70px;
    bottom: -88px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .10);
    pointer-events: none;
}

.protocol-search-card > * {
    position: relative;
    z-index: 1;
}

.protocol-search-kicker {
    display: inline-block;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.protocol-search-card h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(1.55rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -.03em;
}

.protocol-search-card p {
    margin: 0 0 20px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.5;
    font-weight: 600;
}

.protocol-search-form {
    margin: 0;
}

.protocol-search-group {
    display: flex;
    gap: 10px;
    padding: 6px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .16);
}

.protocol-search-group .form-control {
    min-width: 0;
    border: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .96);
    font-weight: 700;
}

.btn-protocol-search {
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: 13px;
    color: var(--funpar-blue-dark);
    background: var(--funpar-green-soft);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-protocol-search:hover,
.btn-protocol-search:focus {
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .14);
    transform: translateY(-1px);
}

.protocol-search-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .94);
    font-size: 14px;
    font-weight: 700;
}

/* Cards clicáveis de tipo de manifestação */
.feature-card-action {
    width: 100%;
    display: block;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.feature-card-action:focus {
    outline: none;
    border-color: rgba(0, 68, 135, .34);
    box-shadow: 0 0 0 .25rem rgba(0, 68, 135, .12), var(--funpar-shadow-hover);
}

.feature-card-action.is-selected {
    border-color: rgba(108, 171, 47, .62);
    box-shadow: 0 26px 58px rgba(0, 68, 135, .14);
    transform: translateY(-6px);
}

.feature-card-action.is-selected::before {
    transform: scaleX(1);
}

.feature-card-action.is-selected .feature-icon {
    color: #ffffff;
    background: var(--funpar-blue);
    box-shadow: 0 14px 28px rgba(0, 68, 135, .24);
}

.feature-title {
    display: block;
    margin: 0 0 10px;
    color: var(--funpar-blue-dark);
    font-size: 1.2rem;
    font-weight: 900;
}

.feature-text {
    display: block;
    margin: 0;
    color: var(--funpar-muted);
    line-height: 1.6;
}

/* Formulário */
.ouvidoria-form {
    margin-top: 24px;
}

.validation-summary-valid {
    display: none;
}

.validation-summary {
    border-radius: 16px;
}

.field-validation,
.field-validation-error {
    display: block;
    margin-top: 6px;
    color: #b42318;
    font-size: 13px;
    font-weight: 700;
}

.required-marker {
    color: #b42318;
    font-weight: 900;
}

.anonymous-toggle-column {
    display: flex;
    flex-direction: column;
}

.anonymous-toggle-spacer {
    display: block;
}

.anonymous-toggle {
    min-height: 38px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 68, 135, .18);
    border-radius: .375rem;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 68, 135, .04);
}

.anonymous-toggle:focus-within {
    border-color: #86b7fe;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.anonymous-switch {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding-left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.anonymous-switch .form-check-input {
    width: 3rem;
    height: 1.5rem;
    margin: 0;
    flex: 0 0 auto;
    cursor: pointer;
}

.anonymous-switch .form-check-input:checked {
    background-color: var(--funpar-blue);
    border-color: var(--funpar-blue);
}

.anonymous-switch .form-check-label {
    color: var(--funpar-blue-dark);
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
}

@media (max-width: 767.98px) {
    .anonymous-toggle-spacer {
        display: none;
    }
}

.anonymous-alert {
    display: none;
    padding: 14px 16px;
    border-radius: 16px;
    color: var(--funpar-blue-dark);
    background: rgba(108, 171, 47, .14);
    border: 1px solid rgba(108, 171, 47, .32);
    font-weight: 800;
}

[data-identificacao-fields] {
    transition: opacity .2s ease, filter .2s ease;
}

[data-identificacao-fields].is-disabled {
    opacity: .55;
    filter: grayscale(.18);
}

.form-feedback {
    display: grid;
    gap: 4px;
    border-radius: 16px;
    font-weight: 700;
}

.form-feedback small {
    color: inherit;
    opacity: .85;
}

.btn-form-submit {
    min-height: 50px;
    padding: 13px 28px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(120deg, var(--funpar-blue), var(--funpar-blue-dark));
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .02em;
    box-shadow: 0 18px 34px rgba(0, 68, 135, .20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-form-submit:hover,
.btn-form-submit:focus {
    transform: translateY(-2px);
    box-shadow: 0 24px 46px rgba(0, 68, 135, .26);
}

.side-protocol-shortcut {
    margin-top: 26px;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(136, 200, 87, .20), transparent 36%),
        var(--funpar-soft);
    border: 1px solid var(--funpar-border);
}

.side-protocol-shortcut span {
    display: block;
    margin-bottom: 10px;
    color: var(--funpar-muted);
    font-weight: 700;
}

.side-protocol-shortcut a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 16px;
    border-radius: 999px;
    color: #ffffff;
    background: var(--funpar-blue);
    text-decoration: none;
    font-weight: 900;
}

.side-protocol-shortcut a:hover,
.side-protocol-shortcut a:focus {
    color: #ffffff;
    background: var(--funpar-blue-dark);
    transform: translateY(-1px);
}

@media (prefers-reduced-motion: no-preference) {
    .protocol-search-card {
        animation: funparHeroFloat 6s ease-in-out infinite;
    }
}

@media (max-width: 991.98px) {
    .ouvidoria-hero-grid {
        grid-template-columns: 1fr;
    }

    .protocol-search-card {
        justify-self: stretch;
        width: 100%;
        max-width: 520px;
    }
}

@media (max-width: 575.98px) {
    .protocol-search-group {
        display: block;
        padding: 8px;
    }

    .protocol-search-group .form-control {
        margin-bottom: 8px;
    }

    .btn-protocol-search,
    .btn-form-submit {
        width: 100%;
    }

    .anonymous-toggle {
        min-height: auto;
    }
}


.form-hint {
    display: block;
    margin-top: 6px;
    color: var(--funpar-muted);
    font-size: 13px;
    font-weight: 700;
}

.form-control[type="file"] {
    min-height: 48px;
    padding: 11px 14px;
}

.protocol-result-card {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #ffffff;
    backdrop-filter: blur(8px);
}

.protocol-result-label {
    display: block;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.protocol-result-card > strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 900;
}

.protocol-result-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 8px 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.protocol-result-grid span,
.protocol-final-answer span {
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    font-weight: 800;
}

.protocol-result-grid b {
    color: #ffffff;
    font-weight: 900;
    text-align: right;
}

.protocol-final-answer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}

.protocol-final-answer p {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, .94);
    line-height: 1.55;
}

@media (max-width: 575.98px) {
    .protocol-result-grid {
        grid-template-columns: 1fr;
    }

    .protocol-result-grid b {
        text-align: left;
    }
}


/* Ajustes de tipos de manifestação e resposta final */
.section-description-note {
    display: block;
    margin-top: 10px;
    color: var(--funpar-blue-dark);
    font-weight: 800;
}

.manifestacao-card-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}

.manifestacao-card-grid .feature-card {
    min-height: 246px;
    padding: 24px;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(16, 32, 51, .07);
}

.manifestacao-card-grid .feature-card::before {
    inset: auto auto -34px -34px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--feature-soft, rgba(108, 171, 47, .14));
    transform: none;
    opacity: 1;
    z-index: 0;
}

.manifestacao-card-grid .feature-card::after {
    display: none;
}

.manifestacao-card-grid .feature-card:hover,
.manifestacao-card-grid .feature-card:focus,
.manifestacao-card-grid .feature-card.is-selected {
    border: 0;
    box-shadow: 0 28px 58px rgba(0, 30, 90, .13);
    transform: translateY(-8px);
}

.manifestacao-card-grid .feature-card:focus {
    outline: 3px solid rgba(0, 68, 135, .16);
    outline-offset: 4px;
}

.manifestacao-card-grid .feature-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin-bottom: 52px;
    border-radius: 50%;
    color: var(--feature-color, var(--funpar-blue));
    background: var(--feature-soft, rgba(0, 68, 135, .10));
    box-shadow: none;
}

.manifestacao-card-grid .feature-icon svg {
    width: 30px;
    height: 30px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.manifestacao-card-grid .feature-card:hover .feature-icon,
.manifestacao-card-grid .feature-card:focus .feature-icon,
.manifestacao-card-grid .feature-card.is-selected .feature-icon {
    color: #ffffff;
    background: var(--feature-color, var(--funpar-blue));
    box-shadow: 0 16px 28px rgba(0, 68, 135, .16);
    transform: translateY(-4px) rotate(-3deg) scale(1.04);
}

.manifestacao-card-grid .feature-title {
    position: relative;
    z-index: 1;
    margin-bottom: 4px;
    color: var(--feature-title, var(--funpar-blue-dark));
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.26rem;
    line-height: 1.15;
    font-weight: 800;
}

.manifestacao-card-grid .feature-text {
    position: relative;
    z-index: 1;
    color: var(--funpar-blue-dark);
    font-size: .93rem;
    line-height: 1.36;
}

.feature-card--sugestao {
    --feature-color: #5aa21d;
    --feature-title: #4d8616;
    --feature-soft: #e9fada;
}

.feature-card--elogio {
    --feature-color: #004487;
    --feature-title: #004487;
    --feature-soft: #e6f3ff;
}

.feature-card--reclamacao {
    --feature-color: #ff9f1a;
    --feature-title: #7b230b;
    --feature-soft: #fff0d6;
}

.feature-card--denuncia {
    --feature-color: #e73462;
    --feature-title: #7f0026;
    --feature-soft: #ffe0ea;
}

.feature-card--solicitacao {
    --feature-color: #9b45ff;
    --feature-title: #6b0fb3;
    --feature-soft: #f0ddff;
}

.side-stack {
    position: sticky;
    top: 132px;
    display: grid;
    gap: 18px;
}

.side-stack .side-card {
    position: static;
    top: auto;
}

.side-card-links {
    background:
        radial-gradient(circle at 100% 0, rgba(108, 171, 47, .13), transparent 34%),
        #ffffff;
}

.useful-links {
    display: grid;
    gap: 12px;
}

.useful-links a {
    display: block;
    padding: 15px 16px;
    border-radius: 16px;
    color: var(--funpar-blue-dark);
    background: var(--funpar-soft);
    border: 1px solid var(--funpar-border);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.useful-links a:hover,
.useful-links a:focus {
    color: var(--funpar-blue-dark);
    border-color: rgba(0, 68, 135, .22);
    box-shadow: 0 16px 30px rgba(0, 68, 135, .10);
    transform: translateY(-2px);
}

.useful-links span {
    display: block;
    font-weight: 900;
}

.useful-links small {
    display: block;
    margin-top: 3px;
    color: var(--funpar-muted);
    font-weight: 700;
}

.protocol-final-answer-available {
    display: grid;
    gap: 10px;
}

.btn-protocol-answer {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--funpar-blue-dark);
    background: #ffffff;
    text-decoration: none;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-protocol-answer:hover,
.btn-protocol-answer:focus {
    color: var(--funpar-blue-dark);
    box-shadow: 0 14px 26px rgba(0, 0, 0, .18);
    transform: translateY(-1px);
}

.response-final-section {
    background:
        radial-gradient(circle at 92% 0, rgba(108, 171, 47, .13), transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
}

.response-final-card {
    padding: clamp(24px, 4vw, 38px);
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid var(--funpar-border);
    box-shadow: 0 26px 64px rgba(16, 32, 51, .10);
}

.response-final-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--funpar-border);
}

.response-final-status {
    min-width: 190px;
    padding: 16px 18px;
    border-radius: 18px;
    color: var(--funpar-blue-dark);
    background: rgba(108, 171, 47, .13);
    border: 1px solid rgba(108, 171, 47, .28);
    text-align: center;
}

.response-final-status span {
    display: block;
    color: var(--funpar-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.response-final-status strong {
    display: block;
    margin-top: 4px;
    font-size: 1rem;
    font-weight: 900;
}

.response-final-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.response-final-meta div {
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--funpar-soft);
    border: 1px solid var(--funpar-border);
}

.response-final-meta dt {
    margin: 0 0 4px;
    color: var(--funpar-blue);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.response-final-meta dd {
    margin: 0;
    color: var(--funpar-blue-dark);
    font-weight: 800;
}

.response-final-content {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .98)),
        radial-gradient(circle at 100% 0, rgba(0, 68, 135, .08), transparent 32%);
    border: 1px solid var(--funpar-border);
}

.response-final-content h3 {
    margin: 0 0 14px;
    color: var(--funpar-blue-dark);
    font-size: 1.15rem;
    font-weight: 900;
}

.response-final-text {
    max-height: 520px;
    overflow: auto;
    padding-right: 8px;
    color: var(--funpar-text);
    font-size: 1.03rem;
    line-height: 1.75;
    white-space: pre-line;
}

.response-final-guidance {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    color: var(--funpar-blue-dark);
    background: rgba(0, 68, 135, .06);
    border: 1px solid rgba(0, 68, 135, .14);
    font-size: .98rem;
    font-weight: 700;
    line-height: 1.65;
}

.response-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn-response-action {
    min-height: 42px;
    padding: 10px 18px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: var(--funpar-blue);
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn-response-action:hover,
.btn-response-action:focus {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(0, 68, 135, .20);
}

.btn-response-action-outline {
    color: var(--funpar-blue);
    background: #ffffff;
    border: 1px solid rgba(0, 68, 135, .22);
}

@media (max-width: 1199.98px) {
    .manifestacao-card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .side-stack {
        position: static;
    }

    .response-final-header {
        display: block;
    }

    .response-final-status {
        margin-top: 16px;
        text-align: left;
    }

    .response-final-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .manifestacao-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .manifestacao-card-grid .feature-card {
        min-height: 230px;
    }
}

@media (max-width: 575.98px) {
    .manifestacao-card-grid {
        grid-template-columns: 1fr;
    }

    .response-final-actions,
    .btn-response-action {
        width: 100%;
    }
}

@media print {
    body.printing-response * {
        visibility: hidden;
    }

    body.printing-response #resposta-final-ouvidoria,
    body.printing-response #resposta-final-ouvidoria * {
        visibility: visible;
    }

    body.printing-response #resposta-final-ouvidoria {
        position: absolute;
        inset: 0;
        width: 100%;
        background: #ffffff;
    }

    body.printing-response .response-final-actions {
        display: none;
    }

    body.printing-response .response-final-text {
        max-height: none;
        overflow: visible;
    }
}

.manifestacao-card-grid .feature-card:hover::before,
.manifestacao-card-grid .feature-card:focus::before,
.manifestacao-card-grid .feature-card.is-selected::before {
    transform: none;
}
