@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-latin-400.woff2") format("woff2");
}

@font-face {
    font-family: Poppins;
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-latin-600.woff2") format("woff2");
}

:root {
    color-scheme: light;
    --color-green: #087a43;
    --color-green-dark: #075a34;
    --color-blue: #00588b;
    --color-social: #3d85c6;
    --color-yellow: #ffcc29;
    --color-pink: #b82e5c;
    --color-text: #333;
    --color-muted: #6b6b6b;
    --color-border: #e5e5e5;
    --color-surface: #f3f3f3;
    --color-white: #fff;
    --font-body: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
    --font-heading: Poppins, "Segoe UI", Arial, sans-serif;
    --container: 1140px;
    --space-1: .5rem;
    --space-2: 1rem;
    --space-3: 1.5rem;
    --space-4: 2rem;
    --space-5: 3rem;
    --focus-ring: 0 0 0 3px var(--color-white), 0 0 0 6px var(--color-pink);
    --vlibras-btn-focus-visible-outline: 2px solid var(--color-white);
    --vlibras-btn-focus-visible-shadow: 0 0 0 5px var(--color-pink);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-block: 1rem 5rem;
}

body {
    margin: 0;
    color: var(--color-text);
    background: var(--color-surface);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--color-pink);
    text-underline-offset: .2em;
}

a:hover {
    color: var(--color-green-dark);
}

:where(a, button, input, textarea, main, nav, footer, form, summary, [data-form-errors]):focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: 2px;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

svg,
img {
    display: block;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(var(--container), calc(100% - 3rem));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.accessibility-links a {
    position: fixed;
    z-index: 100;
    top: .5rem;
    left: .5rem;
    padding: .65rem 1rem;
    transform: translateY(-160%);
    color: var(--color-white);
    background: var(--color-green-dark);
}

.accessibility-links a:focus {
    transform: translateY(0);
}

.site-header {
    background: var(--color-surface);
}

.color-strips {
    display: flex;
    height: 6.5px;
}

.color-strips span {
    flex: 1;
    background: var(--color-social);
}

.color-strips span:nth-child(2) {
    background: var(--color-yellow);
}

.color-strips span:nth-child(3) {
    background: #00ab58;
}

.footer-bottom__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.header-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 12rem;
    align-items: center;
    gap: 1rem 1.25rem;
    padding-block: .75rem;
}

.brand {
    display: block;
    grid-column: 1;
    grid-row: 1;
    width: 174px;
    max-width: 100%;
}

.brand__logo {
    width: 174px;
}

.social-links {
    display: flex;
    flex: 0 0 auto;
    gap: .375rem;
    padding: 0;
    margin: 0;
    list-style: none;
    grid-column: 2;
    grid-row: 1;
}

.social-links a {
    display: grid;
    width: 1.75rem;
    height: 1.75rem;
    place-items: center;
    color: var(--color-white);
    background: var(--color-social);
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--color-blue);
}

.social-links svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.social-links svg path:not(.social-icon__line),
.social-links svg .social-icon__dot {
    fill: currentColor;
    stroke: none;
}

.search-form {
    display: flex;
    width: min(100%, 22rem);
    min-height: 2.5rem;
    background: var(--color-white);
    border: 1px solid #c5c5c5;
    border-radius: 12px;
    font-size: .875rem;
}

.header-content > .search-form {
    grid-column: 3;
    grid-row: 1;
}

.search-form input {
    font: inherit;
    width: 100%;
    min-width: 0;
    padding: .55rem .8rem;
    color: var(--color-text);
    background: transparent;
    border: 0;
    border-radius: 12px;
}

.search-form button {
    display: grid;
    min-width: 3rem;
    place-items: center;
    padding-inline: .75rem;
    color: var(--color-green);
    background: transparent;
    border: 0;
    border-radius: 0 12px 12px 0;
}

.search-form button:hover {
    color: var(--color-white);
    background: var(--color-green);
}

.search-form button svg {
    width: 1.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.document-page { padding-block: 3rem 4rem; }
.document-page__header { max-width: 52rem; margin-bottom: 2rem; }
.document-page__header h1 { margin-bottom: 1rem; color: var(--color-green); }
.document-page__notice { font-size: .875rem; color: #6b6b6b; }
.document-years { display: grid; gap: 1rem; }
.document-year { background: #fff; border: 1px solid #ddd; border-radius: 12px; overflow: clip; }
.document-year > summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1.25rem 1.5rem; color: #00588b; cursor: pointer; font-weight: 700; border-left: 4px solid #087a43; }
.document-year > summary::after { content: "+"; }
.document-year[open] > summary::after { content: "-"; }
.document-year__count { margin-left: auto; font-size: .875rem; font-weight: 400; color: #6b6b6b; }
.document-year__content { padding: 0 1.5rem 1.5rem; }
.document-type + .document-type { margin-top: 2rem; }
.document-type :is(h2, h3) { font-size: 1.125rem; padding-top: 1.25rem; color: #087a43; }
.document-links { display: grid; gap: .75rem; padding: 0; list-style: none; }
.document-link { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem; border: 1px solid #e1e5e3; border-radius: 8px; background: #fff; }
.document-link__body { min-width: 0; overflow-wrap: anywhere; }
.document-link__meta { margin: 0 0 .35rem; font-size: .75rem; color: #6b6b6b; }
.document-link__title { margin: 0; font-size: 1rem; line-height: 1.6; color: #00588b; }
.document-link__description { margin: .5rem 0 0; font-size: .875rem; white-space: pre-line; }
.document-link__action { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex-shrink: 0; max-width: min(100%, 22rem); overflow-wrap: anywhere; padding: .75rem 1rem; color: #087a43; border: 1px solid #087a43; border-radius: 6px; font-size: .875rem; font-weight: 600; text-underline-offset: .2em; }
.document-link__action:hover { color: #fff; background: #087a43; }
.document-empty { padding: 2rem; border-left: 4px solid #ffcc29; background: #fff; border-radius: 8px; }
.document-empty h2 { font-size: 1.25rem; color: #00588b; }
.home-documents { padding-bottom: 3rem; }
.home-documents__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.home-documents__heading h2 { color: #087a43; }
.ranking-jump { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.ranking-jump a { padding: .65rem 1rem; border: 1px solid #00588b; border-radius: 6px; color: #00588b; font-weight: 600; }
.ranking-modality { margin-top: 1.5rem; }
.ranking-modality > h2 { margin-bottom: .75rem; color: #00588b; font-size: 1.25rem; }
.ranking-group { margin-top: .75rem; }
.document-links--compact { gap: 0; margin-block: 0; }
.document-links--compact .document-link { display: block; padding: .65rem 0; border: 0; border-radius: 0; background: transparent; }
.document-links--compact .document-link__line { line-height: 1.6; }
.document-links--compact .document-link__kind { font-weight: 600; }
.document-links--compact .document-link__title { text-underline-offset: .2em; }
.document-links--compact .document-link__meta { margin: .25rem 0 0; }
.ranking-note { padding: .75rem 1rem; border-left: 3px solid #ffcc29; background: #f5f6f7; white-space: pre-line; }
.ranking-pending { color: #6b6b6b; font-size: .875rem; }
.ranking-unclassified { margin-top: 2.5rem; }
.ranking-unclassified > h2 { color: #00588b; font-size: 1.5rem; }
.ranking-intro { padding-top: 1rem; overflow-wrap: anywhere; }
.ranking-season > summary { font-size: 1.5rem; line-height: 1.4; overflow-wrap: anywhere; }
@media (max-width: 767px) {
    .document-page { padding-block: 2rem; }
    .document-year > summary { padding: 1rem; }
    .document-year__content { padding: 0 1rem 1rem; }
    .document-link { align-items: stretch; flex-direction: column; gap: 1rem; padding: 1rem; }
}

.site-nav {
    grid-column: 1 / -1;
    padding-block: .25rem .75rem;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0 0 20px 20px;
}

.site-nav ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0 1.25rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.site-nav a {
    display: block;
    padding: .65rem 0 .5rem;
    color: #111;
    font-family: var(--font-heading);
    font-size: .875rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
    color: var(--color-green);
    border-bottom-color: var(--color-green);
}

.menu-toggle {
    display: none;
    align-items: center;
    gap: .6rem;
    padding: .8rem 1rem;
    color: var(--color-white);
    background: var(--color-green);
    border: 0;
    border-radius: 3px;
    font-weight: 600;
    justify-self: start;
}

.menu-toggle__icon,
.menu-toggle__icon::before,
.menu-toggle__icon::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: currentColor;
}

.menu-toggle__icon {
    position: relative;
}

.menu-toggle__icon::before,
.menu-toggle__icon::after {
    position: absolute;
    left: 0;
    content: "";
}

.menu-toggle__icon::before {
    top: -.4rem;
}

.menu-toggle__icon::after {
    top: .4rem;
}

.header-gradient {
    height: clamp(2rem, 4.3vw, 3.5rem);
    background: var(--color-surface) url("../images/gradient-top.png") top center / 100% 100% no-repeat;
}

.page-main {
    min-height: 23rem;
}

.home-intro,
.error-page {
    padding-block: clamp(3rem, 7vw, 5rem);
    text-align: center;
}

.home-intro {
    overflow-wrap: anywhere;
}

.eyebrow {
    margin-bottom: .5rem;
    color: var(--color-green);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

h1,
h2 {
    color: var(--color-green);
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    margin: 0 0 1rem;
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.home-intro > p:not(.eyebrow),
.error-page > p:not(.eyebrow) {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
    color: var(--color-muted);
    font-size: 1.1rem;
}

.button-link {
    display: inline-block;
    padding: .75rem 1.2rem;
    color: var(--color-white);
    background: var(--color-pink);
    border-radius: 3px;
    font-weight: 700;
    text-decoration: none;
}

.information-page { padding-block: clamp(2rem, 5vw, 4rem); overflow-wrap: anywhere; }
.information-heading { max-width: 52rem; margin-bottom: 2rem; }
.information-heading > p:last-child { color: var(--color-muted); font-size: 1.1rem; }
.information-sections { display: grid; gap: 1.5rem; }
.about-history { max-width: 64rem; margin-inline: auto; }
.about-history__text { max-width: 72ch; margin-inline: auto; }
.about-history__text p { line-height: 1.8; }
.about-history__photo { margin: 1.5rem 0; min-width: 0; }
.about-history__photo img { display: block; width: 100%; height: auto; border-radius: 4px; }
.about-history__gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 1.5rem; align-items: center; }
.information-sections--columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.information-card { padding: clamp(1.25rem, 3vw, 2rem); background: #fff; border-top: 4px solid #087a43; border-radius: 8px; min-width: 0; }
.information-card h2, .information-note h2 { margin-top: 0; font-size: 1.4rem; }
.information-card p:last-child, .information-note p:last-child { margin-bottom: 0; }
.information-note { margin-top: 2rem; padding: 1.5rem; background: #fff; border-left: 4px solid #ffcc29; border-radius: 8px; }
.information-year { color: #00588b; font-size: 1.15rem; }
.information-price { color: #087a43; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; }
.information-links { padding-left: 1.25rem; }
.information-links li + li { margin-top: .75rem; }
.faq-list { display: grid; gap: 1rem; }
.faq-item { background: #fff; border: 1px solid #ddd; border-radius: 8px; }
.faq-item summary { cursor: pointer; padding: 1.25rem; color: #00588b; }
.faq-item summary h2 { display: inline; font-size: 1.1rem; line-height: 1.6; color: inherit; }
.faq-item[open] summary { border-bottom: 1px solid #ddd; }
.faq-answer { padding: 1.25rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.contact-form { display: grid; gap: 1.25rem; }
.contact-field label { display: block; margin-bottom: .5rem; font-weight: 600; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; border: 1px solid #767676; border-radius: 4px; padding: .75rem; color: #292929; background: #fff; font: inherit; }
.contact-field textarea { resize: vertical; }
.contact-consent { display: flex; align-items: start; gap: .75rem; }
.contact-consent input { flex-shrink: 0; width: 1.25rem; height: 1.25rem; margin-top: .2rem; }
.contact-channels h3 { font-size: 1rem; margin-bottom: .5rem; }
.contact-help, #privacy-help { font-size: .875rem; }
.contact-errors { padding: 1rem; margin-block: 1rem; border: 2px solid #a11d36; background: #fff4f4; }
.contact-errors h3 { margin-top: 0; font-size: 1.1rem; }
.contact-field-error { color: #a11d36; font-weight: 600; }
.contact-success { padding: 1rem; border-left: 4px solid #087a43; background: #eef8f0; }
.contact-form .button-link { border: 0; justify-self: start; font: inherit; font-weight: 700; }
@media (max-width: 767px) {
    .information-sections--columns { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

.button-link:hover {
    color: var(--color-white);
    background: #942148;
}

.error-page {
    max-width: 48rem;
}

.search-form--error {
    margin: 0 auto 1.5rem;
}

.text-link {
    font-weight: 700;
}

.site-footer {
    color: var(--color-white);
}

.site-footer::before {
    display: block;
    height: clamp(3rem, 14.25vw, 12rem);
    background: url("../images/gradient-bottom.png") bottom center / 100% 100% no-repeat;
    content: "";
}

.footer-main {
    background: var(--color-blue);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .8fr) minmax(0, 1fr);
    gap: var(--space-5);
    padding-block: 1.75rem;
    font-family: var(--font-heading);
    font-size: .8125rem;
}

.footer-grid h2 {
    overflow-wrap: anywhere;
    margin: 0 0 1rem;
    color: var(--color-yellow);
    font-size: 1rem;
    letter-spacing: 1px;
}

.footer-grid p {
    margin: 0 0 .55rem;
    overflow-wrap: anywhere;
}

.footer-grid a {
    color: var(--color-white);
}

.footer-brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-brand__logo {
    width: 174px;
}

.footer-brand__flag {
    width: 80px;
}

.footer-grid .footer-about__hours {
    margin-top: var(--space-3);
}

.footer-bottom {
    padding-block: 1rem;
    color: #111;
    background: var(--color-yellow);
    font-size: .875rem;
    font-weight: 600;
}

.footer-bottom p {
    margin: 0;
    min-width: 0;
    overflow-wrap: anywhere;
}

.footer-bottom a {
    color: inherit;
}

@media (max-width: 1024px) {
    .container {
        width: min(var(--container), calc(100% - 2.5rem));
    }

    .js .menu-toggle {
        display: inline-flex;
        grid-column: 1 / -1;
    }

    .site-nav ul {
        display: block;
        padding-top: .5rem;
    }

    .site-nav a {
        padding: .7rem .5rem;
        border-bottom: 1px solid var(--color-border);
    }

    .footer-grid {
        gap: var(--space-3);
    }
}

@media (max-width: 767px) {
    .container {
        width: min(var(--container), calc(100% - 2rem));
    }

    .header-content {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        gap: .75rem;
    }

    .brand {
        grid-column: 1 / 3;
    }

    .brand__logo {
        width: 168px;
    }

    .social-links {
        grid-column: 3;
        justify-self: end;
    }

    .header-content .search-form {
        grid-column: 2 / 4;
        grid-row: 2;
        width: 100%;
        max-width: 15rem;
        justify-self: center;
    }

    .js .menu-toggle {
        grid-column: 1;
        grid-row: 2;
        width: 44px;
        height: 44px;
        justify-content: center;
        padding: 0;
    }

    .menu-toggle__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        grid-row: 1;
    }

    .footer-bottom__content {
        flex-direction: column;
        gap: .35rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.news-section { padding-top: 2.5rem; padding-bottom: 2.5rem; overflow-wrap: anywhere; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.news-card { padding: 1.5rem; background: #fff; border: 1px solid #d4dce1; border-radius: 12px; }
.news-card h3 { font-size: 1.25rem; line-height: 1.5; }
.news-card p { margin-top: .75rem; }
.news-filter, .news-pagination { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin: 1.5rem 0; }
.news-filter select, .news-filter input { min-width: 0; max-width: 100%; padding: .65rem; border: 1px solid #60666c; background: #fff; color: #292929; font: inherit; }
.news-filter button { padding: .7rem 1.2rem; border: 0; border-radius: 6px; color: #fff; background: #087a43; cursor: pointer; }
.news-article { max-width: 54rem; }
.news-lead { font-size: 1.15rem; }
.news-content { margin-top: 2rem; line-height: 1.9; }
.home-shortcuts, .home-partnership { padding-bottom: 3rem; overflow-wrap: anywhere; }
.home-shortcuts .news-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.home-shortcuts h2, .home-partnership h2 { color: var(--color-green); }
