:root {
    --red: #d8213a;
    --red-dark: #8e1830;
    --blue: #05aeea;
    --blue-dark: #087ca8;
    --green: #47c271;
    --yellow: #d8df4c;
    --orange: #f0774f;
    --ink: #12202b;
    --muted: #667786;
    --surface: #f5f9fb;
    --white: #fff;
    --border: #dbe9ef;
    --shadow: 0 24px 70px rgba(18, 32, 43, .14);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Manrope, Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(5, 174, 234, .6);
    outline-offset: 4px;
}

.container {
    width: min(100% - 32px, 1180px);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -5rem;
    z-index: 1000;
    padding: .75rem 1rem;
    color: var(--white);
    background: var(--ink);
    border-radius: 8px;
}

.skip-link:focus {
    top: 1rem;
}

.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 50;
    background: rgba(255, 255, 255, .84);
    border-bottom: 1px solid rgba(219, 233, 239, .75);
    backdrop-filter: blur(18px);
    transition: box-shadow .2s ease, background .2s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 14px 34px rgba(18, 32, 43, .08);
}

.header-inner {
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.brand img {
    width: auto;
    max-width: 150px;
    max-height: 76px;
    height: auto;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    gap: .15rem;
}

.primary-nav a,
.nav-item > a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 .85rem;
    color: #203443;
    border-radius: 999px;
    font-size: .88rem;
    font-weight: 800;
    white-space: nowrap;
    transition: background .2s ease, color .2s ease;
}

.primary-nav a:hover,
.nav-item:hover > a,
.nav-item:focus-within > a {
    color: var(--red-dark);
    background: rgba(216, 33, 58, .08);
}

.nav-item {
    position: relative;
}

.nav-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 60;
    width: 230px;
    display: grid;
    gap: .15rem;
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 20px 48px rgba(18, 32, 43, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown a {
    min-height: 42px;
    justify-content: flex-start;
    white-space: normal;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--ink);
}

.hero-section {
    height: min(820px, 86dvh);
    min-height: 620px;
    position: relative;
    overflow: hidden;
    background: #07151d;
}

.hero-carousel,
.hero-slide {
    height: 100%;
    min-height: 620px;
}

.hero-carousel {
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.02);
    transition: opacity .6s ease, visibility .6s ease, transform 1.2s ease;
}

.hero-slide.is-active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1;
}

.hero-slide > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 21, 29, .88), rgba(7, 21, 29, .56) 44%, rgba(7, 21, 29, .06)),
        linear-gradient(0deg, rgba(7, 21, 29, .42), transparent 42%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 112px;
    padding-bottom: 72px;
}

.eyebrow,
.section-label {
    margin: 0 0 .85rem;
    color: var(--red);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.hero-copy {
    color: var(--white);
}

.hero-copy h1 {
    max-width: 780px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.85rem, 6vw, 5.6rem);
    line-height: .94;
    font-weight: 800;
}

.hero-copy p:not(.eyebrow) {
    max-width: 650px;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
    margin-top: 2.25rem;
}

.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .9rem 1.25rem;
    border-radius: 8px;
    font-weight: 900;
    box-shadow: 0 0 0 rgba(18, 32, 43, 0);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(18, 32, 43, .18);
}

.btn-primary {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 18px 36px rgba(216, 33, 58, .28);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, .14);
    border: 1px solid rgba(255, 255, 255, .26);
}

.btn-light {
    color: var(--red-dark);
    background: var(--white);
}

.carousel-arrow {
    width: 48px;
    height: 48px;
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    padding: 0;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .2s ease, transform .2s ease;
}

.carousel-arrow::before {
    content: "";
    width: 12px;
    height: 12px;
    display: block;
    border-top: 3px solid #fff;
    border-left: 3px solid #fff;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, .18);
}

.carousel-prev {
    left: 24px;
}

.carousel-prev::before {
    transform: rotate(-45deg) translate(1px, 1px);
}

.carousel-next {
    right: 24px;
}

.carousel-next::before {
    transform: rotate(135deg) translate(1px, 1px);
}

.carousel-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    z-index: 3;
    display: flex;
    gap: .55rem;
    transform: translateX(-50%);
}

.carousel-dots button {
    width: 34px;
    height: 6px;
    padding: 0;
    background: rgba(255, 255, 255, .42);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.carousel-dots button.is-active {
    width: 54px;
    background: var(--red);
}

.impact-strip {
    position: relative;
    z-index: 2;
    margin-top: -1px;
    color: var(--white);
    background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--green), var(--yellow));
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.impact-grid div {
    min-height: 132px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1.25rem;
    border-left: 1px solid rgba(255, 255, 255, .24);
}

.impact-grid div:first-child {
    border-left: 0;
}

.impact-grid strong {
    font-size: clamp(1.65rem, 3vw, 2.3rem);
    line-height: 1;
}

.impact-grid span {
    margin-top: .45rem;
    font-weight: 800;
}

.section {
    padding: 72px 0;
}

.about-section {
    background: var(--surface);
}

.about-grid,
.transparency-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(1.75rem, 4.5vw, 3.8rem);
    align-items: start;
}

h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.25rem, 4.8vw, 4.4rem);
    line-height: 1;
}

.lead {
    margin: 0;
    color: #354958;
    font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.text-link {
    display: inline-flex;
    margin-top: 1rem;
    color: var(--blue-dark);
    font-weight: 900;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 1.85rem;
}

.section-heading.split {
    max-width: none;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
}

.departments-section {
    background: #fff;
    padding-bottom: 76px;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.department-card {
    min-height: 320px;
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 14px 36px rgba(18, 32, 43, .08);
}

.department-card::before {
    content: "";
    position: absolute;
    right: -48px;
    top: -48px;
    width: 150px;
    height: 150px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
}

.department-card span {
    font-size: .9rem;
    font-weight: 900;
    opacity: .82;
}

.department-card h3 {
    margin: 1.9rem 0 .85rem;
    font-size: 1.7rem;
    line-height: 1.05;
}

.department-card p {
    margin: 0;
    font-weight: 700;
}

.department-card a {
    margin-top: auto;
    padding-top: 1.15rem;
    font-weight: 900;
    transition: color .2s ease;
}

.department-card a:hover {
    color: rgba(255, 255, 255, .78);
}

.tone-yellow a:hover {
    color: var(--blue-dark);
}

.tone-cyan {
    background: var(--blue-dark);
}

.tone-blue {
    background: var(--blue);
}

.tone-yellow {
    color: #23323d;
    background: var(--yellow);
}

.tone-orange {
    background: var(--orange);
}

.tone-green {
    background: var(--green);
}

.tone-red {
    background: var(--red);
}

.partner-section {
    padding: 72px 0;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(216, 33, 58, .95), rgba(142, 24, 48, .92)),
        url("https://ieb.org.br/novo/img/lar-escola.jpg") center / cover no-repeat;
}

.partner-box {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    align-items: center;
}

.partner-box .section-label {
    color: rgba(255, 255, 255, .8);
}

.partner-box h2 {
    max-width: 760px;
}

.partner-box p {
    max-width: 720px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.15rem;
}

.upcoming-events-section {
    position: relative;
    overflow: hidden;
    padding: 48px 0 52px;
    color: var(--ink);
    background: #eef8fc;
    border-top: 1px solid rgba(5, 174, 234, .18);
    border-bottom: 1px solid rgba(5, 174, 234, .18);
}

.upcoming-events-section::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: linear-gradient(180deg, var(--blue), var(--green), var(--yellow));
    pointer-events: none;
}

.upcoming-events-section > .container {
    position: relative;
    z-index: 1;
}

.upcoming-events-section .section-label {
    color: var(--red);
}

.upcoming-events-section h2 {
    color: var(--ink);
    font-size: clamp(2rem, 3.7vw, 3.4rem);
}

.upcoming-events-section .section-heading {
    margin-bottom: 1.5rem;
}

.upcoming-events-section .text-link {
    min-height: 46px;
    align-items: center;
    margin-top: 0;
    padding: 0 1rem;
    color: var(--blue-dark);
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
}

.upcoming-events-section .text-link:hover {
    color: var(--red-dark);
    background: rgba(216, 33, 58, .08);
}

.upcoming-events-section .empty-state {
    color: var(--muted);
    background: #fff;
    border-color: var(--border);
    border-left-color: var(--blue);
}

.upcoming-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.upcoming-event-card,
.month-event-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: .9rem;
    align-items: start;
    padding: 1rem;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(18, 32, 43, .05);
}

.upcoming-event-card:nth-child(2),
.month-event-card:nth-child(2n) {
    border-left-color: var(--red);
}

.upcoming-event-card:nth-child(3),
.month-event-card:nth-child(3n) {
    border-left-color: var(--green);
}

.event-date-badge {
    min-height: 76px;
    display: grid;
    place-items: center;
    align-content: center;
    color: #fff;
    background: var(--blue-dark);
    border-radius: 8px;
}

.event-date-badge strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: 2.15rem;
    line-height: .9;
}

.event-date-badge small {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .78);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.upcoming-event-copy,
.month-event-card > span:last-child {
    min-width: 0;
    display: grid;
    gap: .35rem;
}

.upcoming-event-copy small,
.month-event-card small,
.event-hero-meta span {
    color: var(--muted);
    font-size: .84rem;
    font-style: normal;
    font-weight: 900;
}

.upcoming-event-copy strong,
.month-event-card strong {
    color: var(--ink);
    font-size: 1.14rem;
    line-height: 1.2;
    transition: color .2s ease;
}

.upcoming-event-copy em,
.month-event-card em {
    color: var(--muted);
    font-style: normal;
}

.upcoming-event-card:hover strong,
.month-event-card:hover strong {
    color: var(--red-dark);
}

.highlights-section {
    background: var(--surface);
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.highlight-card {
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(18, 32, 43, .08);
}

.highlight-card-link {
    display: block;
}

.highlight-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    object-position: center;
}

.highlight-image-link {
    display: block;
    overflow: hidden;
}

.highlight-card div {
    padding: 1.25rem;
}

.highlight-card span {
    color: var(--red-dark);
    font-size: .82rem;
    font-weight: 900;
}

.highlight-card h3 {
    margin: .45rem 0 .7rem;
    font-size: 1.25rem;
    line-height: 1.2;
}

.highlight-card p {
    color: var(--muted);
}

.highlight-card h3,
.card-cta {
    transition: color .2s ease;
}

.card-cta {
    color: var(--blue-dark);
    font-weight: 900;
}

.highlight-card a,
.highlight-card-link:hover h3,
.highlight-card-link:hover .card-cta {
    color: var(--blue-dark);
    font-weight: 900;
}

.highlight-card a:hover,
.highlight-card-link:hover h3,
.highlight-card-link:hover .card-cta {
    color: var(--red-dark);
}

.empty-state {
    margin: 0;
    padding: 1.2rem 1.35rem;
    color: var(--muted);
    background: #fff;
    border: 1px solid var(--border);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    font-weight: 800;
}

.page-main {
    padding-top: 86px;
}

.page-hero {
    padding: 58px 0;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .96), rgba(8, 124, 168, .82)),
        url("https://ieb.org.br/novo/img/galeria-fotos/criancas-lar.jpg") center / cover no-repeat;
}

.news-archive-hero {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .96), rgba(216, 33, 58, .78)),
        url("https://ieb.org.br/novo/img/lar-escola.jpg") center / cover no-repeat;
}

.page-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(280px, .55fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
}

.page-hero h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.15rem, 4vw, 3.8rem);
    line-height: 1.04;
}

.news-detail-head h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 4.5vw, 4.2rem);
    line-height: 1.02;
}

.page-hero p:not(.section-label),
.news-detail-head p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.6vw, 1.14rem);
}

.news-archive-section {
    background: var(--surface);
}

.news-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 980px;
    margin-inline: auto;
}

.news-archive-card {
    display: grid;
    grid-template-columns: 286px minmax(0, 1fr);
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(18, 32, 43, .06);
}

.news-archive-card.is-featured {
    grid-template-columns: 286px minmax(0, 1fr);
    min-height: 0;
}

.news-archive-image {
    display: block;
    background: var(--surface);
    overflow: hidden;
}

.news-archive-card.is-featured .news-archive-image {
    min-height: 0;
}

.news-archive-image img {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.news-archive-card.is-featured .news-archive-image img {
    aspect-ratio: 16 / 10;
}

.news-archive-copy {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    padding: 1.25rem 1.35rem;
}

.news-archive-copy span,
.news-detail-head span,
.sidebar-news-link span {
    color: var(--red-dark);
    font-size: .82rem;
    font-weight: 900;
}

.news-archive-copy h2 {
    margin: .45rem 0 .75rem;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(1.12rem, 1.35vw, 1.34rem);
    line-height: 1.18;
}

.news-archive-card.is-featured h2 {
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(1.12rem, 1.35vw, 1.34rem);
    line-height: 1.18;
}

.news-archive-copy h2,
.news-content a {
    transition: color .2s ease;
}

.news-archive-card:hover h2,
.news-content a:hover {
    color: var(--red-dark);
}

.news-archive-copy p {
    margin: 0;
    color: var(--muted);
}

.news-detail-hero {
    padding: 56px 0 46px;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 24, 33, .97), rgba(142, 24, 48, .9)),
        radial-gradient(circle at 75% 25%, rgba(5, 174, 234, .35), transparent 36%);
}

.news-detail-head {
    max-width: 820px;
}

.news-detail-head .section-label {
    margin-top: 1.25rem;
}

.news-detail-head p {
    max-width: 720px;
    margin-top: 1rem;
}

.news-detail-head span {
    display: inline-flex;
    margin-top: 1.2rem;
    color: #fff;
}

.back-link {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    color: rgba(255, 255, 255, .86);
    font-weight: 900;
}

.back-link:hover {
    color: #fff;
}

.news-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 290px;
    gap: clamp(1.75rem, 4vw, 3rem);
    align-items: start;
    padding-top: 42px;
    padding-bottom: 76px;
}

.news-detail-main {
    min-width: 0;
}

.news-detail-image {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(18, 32, 43, .1);
}

.news-content {
    max-width: 780px;
    margin-top: 2rem;
    color: #2d4352;
    font-size: 1.03rem;
}

.news-content p,
.news-content ul,
.news-content ol,
.news-content blockquote {
    margin: 0 0 1.2rem;
}

.news-content h2,
.news-content h3,
.news-content h4 {
    margin: 2rem 0 .8rem;
    color: var(--ink);
    line-height: 1.15;
}

.news-content a {
    color: var(--blue-dark);
    font-weight: 900;
}

.news-content blockquote {
    padding: 1rem 1.25rem;
    border-left: 6px solid var(--blue);
    background: var(--surface);
    border-radius: 8px;
}

.news-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    margin: .6rem 0 1.4rem;
    border: 0;
    border-radius: 8px;
    background: #081821;
}

.news-sidebar {
    position: sticky;
    top: 110px;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.news-sidebar h2 {
    margin: 0 0 .75rem;
    font-family: Manrope, Arial, sans-serif;
    font-size: .82rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sidebar-news-link {
    display: grid;
    gap: .25rem;
    padding: .85rem 0;
    border-top: 1px solid var(--border);
}

.sidebar-news-link strong {
    color: var(--ink);
    font-size: .94rem;
    line-height: 1.28;
    transition: color .2s ease;
}

.sidebar-news-link:hover strong {
    color: var(--red-dark);
}

.news-index-hero {
    padding: 54px 0 20px;
    background: #fff;
}

.page-hero-standard {
    min-height: 0;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
    padding: 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 24, 33, .98), rgba(8, 124, 168, .86)),
        linear-gradient(90deg, var(--blue-dark), var(--green));
}

.page-hero-standard > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.page-hero-standard::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .95), rgba(8, 124, 168, .78), rgba(8, 24, 33, .18)),
        linear-gradient(0deg, rgba(8, 24, 33, .54), transparent 45%);
    pointer-events: none;
}

.page-hero-standard.hero-tone-vermelho::before {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .94), rgba(216, 33, 58, .76), rgba(8, 24, 33, .18)),
        linear-gradient(0deg, rgba(8, 24, 33, .56), transparent 45%);
}

.page-hero-standard.hero-tone-verde::before {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .95), rgba(71, 194, 113, .7), rgba(8, 24, 33, .18)),
        linear-gradient(0deg, rgba(8, 24, 33, .56), transparent 45%);
}

.page-hero-standard.hero-tone-escuro::before {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .96), rgba(18, 32, 43, .76), rgba(8, 24, 33, .22)),
        linear-gradient(0deg, rgba(8, 24, 33, .6), transparent 45%);
}

.page-hero-standard-copy {
    position: relative;
    z-index: 2;
    padding-top: 64px;
    padding-bottom: 64px;
}

.page-hero-standard-copy .section-label {
    color: #8ee4ff;
}

.page-hero-standard-copy h1 {
    max-width: 820px;
    margin: 0;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1;
}

.page-hero-standard-copy p:not(.section-label) {
    max-width: 700px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1.08rem;
}

.page-hero-standard-copy time {
    display: inline-flex;
    margin-top: 1.1rem;
    color: rgba(255, 255, 255, .9);
    font-weight: 900;
}

.news-detail-standard-hero .back-link {
    margin-bottom: 1.2rem;
    color: rgba(255, 255, 255, .86);
}

.news-detail-standard-hero .back-link:hover {
    color: #fff;
}

.news-detail-standard-hero .page-hero-standard-copy {
    padding-top: 46px;
    padding-bottom: 46px;
}

.news-detail-standard-hero .page-hero-standard-copy h1 {
    max-width: 880px;
    font-size: clamp(2.1rem, 4.2vw, 3.9rem);
}

.news-index-heading {
    max-width: 780px;
}

.news-index-heading:not(.page-hero-standard-copy) h1 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.2rem, 4.6vw, 4rem);
    line-height: 1.02;
}

.news-index-heading:not(.page-hero-standard-copy) p:not(.section-label) {
    max-width: 660px;
    margin: 1rem 0 0;
    color: var(--muted);
    font-size: 1.08rem;
}

.news-index-hero + .news-archive-section {
    padding-top: 30px;
    background: #fff;
}

.news-index-hero + .news-archive-section .news-archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.6rem 1.25rem;
    max-width: none;
}

.news-index-hero + .news-archive-section .news-archive-card,
.news-index-hero + .news-archive-section .news-archive-card.is-featured {
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.news-index-hero + .news-archive-section .news-archive-image {
    width: 100%;
    flex: 0 0 auto;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
}

.news-index-hero + .news-archive-section .news-archive-image img,
.news-index-hero + .news-archive-section .news-archive-card.is-featured .news-archive-image img {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.news-index-hero + .news-archive-section .news-archive-copy {
    display: block;
    padding: 1rem 0 0;
    margin: 0;
}

.news-category {
    display: inline-flex;
    margin-bottom: .45rem;
    color: var(--blue-dark);
    font-size: .78rem;
    font-weight: 900;
}

.news-index-hero + .news-archive-section .news-archive-copy h2,
.news-index-hero + .news-archive-section .news-archive-card.is-featured h2 {
    margin: .2rem 0 .55rem;
    color: var(--ink);
    font-family: Manrope, Arial, sans-serif;
    font-size: 1.14rem;
    line-height: 1.25;
}

.news-index-hero + .news-archive-section .news-archive-copy small {
    display: block;
    margin-bottom: .65rem;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.news-index-hero + .news-archive-section .news-archive-copy p {
    font-size: .95rem;
}

.news-index-hero + .news-archive-section .text-link {
    margin-top: .8rem;
}

.news-detail-kicker {
    padding: 62px 0 34px;
    background: #fff;
}

.news-detail-kicker .back-link {
    color: var(--blue-dark);
    font-size: .92rem;
}

.news-detail-kicker .back-link:hover {
    color: var(--red-dark);
}

.news-detail-kicker h1 {
    margin: 1.2rem 0 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.3rem, 5vw, 4.8rem);
    line-height: 1;
}

.article-shell {
    max-width: 880px;
    padding-top: 44px;
    padding-bottom: 86px;
}

.article-heading {
    max-width: 780px;
    margin-bottom: 1.75rem;
}

.article-heading h2 {
    margin: .25rem 0 .65rem;
    font-family: Manrope, Arial, sans-serif;
    font-size: clamp(1.9rem, 4vw, 3rem);
    line-height: 1.08;
}

.article-heading time {
    display: block;
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800;
}

.article-heading p {
    margin: 0;
    color: #344a5a;
    font-size: 1.12rem;
}

.article-shell .news-detail-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 16 / 9;
    box-shadow: none;
    margin-bottom: 2rem;
}

.article-shell .news-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.related-news {
    margin-top: 64px;
    padding-top: 34px;
    border-top: 1px solid var(--border);
}

.related-news .section-heading {
    margin-bottom: 1.3rem;
}

.related-news .section-heading h2 {
    font-family: Manrope, Arial, sans-serif;
    font-size: 1.35rem;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.related-news-card {
    display: grid;
    gap: .55rem;
    color: inherit;
}

.related-news-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
}

.related-news-card span {
    color: var(--red-dark);
    font-size: .82rem;
    font-weight: 900;
}

.related-news-card strong {
    font-size: 1rem;
    line-height: 1.25;
    transition: color .2s ease;
}

.related-news-card:hover strong {
    color: var(--red-dark);
}

.about-page {
    background: #fff;
}

.about-page-hero {
    min-height: 0;
    position: relative;
    display: flex;
    align-items: end;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 24, 33, .98), rgba(8, 124, 168, .86)),
        linear-gradient(90deg, var(--blue-dark), var(--green));
}

.about-page-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-page-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 24, 33, .92), rgba(8, 24, 33, .48) 58%, rgba(8, 24, 33, .12)),
        linear-gradient(0deg, rgba(8, 24, 33, .5), transparent 45%);
}

.hero-tone-azul .about-page-hero-overlay {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .95), rgba(8, 124, 168, .78), rgba(8, 24, 33, .2)),
        linear-gradient(0deg, rgba(8, 24, 33, .54), transparent 45%);
}

.hero-tone-vermelho .about-page-hero-overlay {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .94), rgba(216, 33, 58, .76), rgba(8, 24, 33, .18)),
        linear-gradient(0deg, rgba(8, 24, 33, .56), transparent 45%);
}

.hero-tone-verde .about-page-hero-overlay {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .95), rgba(71, 194, 113, .7), rgba(8, 24, 33, .18)),
        linear-gradient(0deg, rgba(8, 24, 33, .56), transparent 45%);
}

.hero-tone-escuro .about-page-hero-overlay {
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .96), rgba(18, 32, 43, .76), rgba(8, 24, 33, .22)),
        linear-gradient(0deg, rgba(8, 24, 33, .6), transparent 45%);
}

.about-page-hero-copy {
    position: relative;
    z-index: 1;
    padding-top: 64px;
    padding-bottom: 64px;
}

.about-page-hero-copy .section-label {
    color: #8ee4ff;
}

.about-page-hero-copy h1 {
    max-width: 820px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1;
}

.about-page-hero-copy p:not(.section-label) {
    max-width: 720px;
    margin: 1.2rem 0 0;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.about-page-intro {
    color: #fff;
    background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--green));
}

.about-page-intro-grid {
    display: grid;
    grid-template-columns: .42fr 1fr;
    gap: 2rem;
    align-items: center;
    min-height: 150px;
    padding-top: 1.4rem;
    padding-bottom: 1.4rem;
}

.about-page-intro-grid strong {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
}

.about-page-intro-grid p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
}

.about-content-section:nth-of-type(odd) {
    background: var(--surface);
}

.about-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.about-content-grid.is-reversed {
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1fr);
}

.about-content-grid.is-reversed .about-content-copy {
    order: 2;
}

.about-content-copy h2,
.about-governance-grid h2,
.about-feature-box h2 {
    margin: 0;
}

.about-content-copy .lead {
    margin: 1rem 0 0;
    color: #344a5a;
}

.about-rich-text {
    margin-top: 1.4rem;
    color: #2d4352;
    font-size: 1.03rem;
}

.about-rich-text p,
.about-rich-text ul,
.about-rich-text ol {
    margin: 0 0 1rem;
}

.about-rich-text h3 {
    margin: 1.1rem 0 .45rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.about-rich-text a {
    color: var(--blue-dark);
    font-weight: 900;
}

.about-content-image {
    margin: 0;
    position: relative;
}

.about-content-image img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 22px 52px rgba(18, 32, 43, .13);
}

.about-feature-band {
    padding: 82px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(216, 33, 58, .96), rgba(142, 24, 48, .94)),
        url("https://ieb.org.br/novo/img/galeria-fotos/criancas-lar.jpg") center / cover no-repeat;
}

.about-feature-box {
    max-width: 860px;
}

.about-feature-box .section-label {
    color: rgba(255, 255, 255, .78);
}

.about-feature-box strong {
    display: block;
    margin-top: 1rem;
    font-size: 1.15rem;
}

.about-feature-box .about-rich-text {
    max-width: 760px;
    color: rgba(255, 255, 255, .86);
    font-size: 1.18rem;
}

.about-governance-section {
    background: var(--surface);
}

.about-governance-grid {
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.about-governance-grid > div:first-child p:not(.section-label) {
    color: var(--muted);
}

.about-carded-content {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 32, 43, .05);
    margin-top: 0;
}

.about-carded-content h3,
.about-carded-content p {
    margin: 0 0 1rem;
}

.about-carded-content h3 {
    margin: 1.2rem 0 .45rem;
    padding-left: .8rem;
    color: var(--blue-dark);
    border-left: 4px solid var(--blue);
}

.about-carded-content h3:first-child {
    margin-top: 0;
}

.about-carded-content p {
    color: var(--muted);
}

.about-gallery-section {
    background: #fff;
}

.about-gallery-section .section-heading p:not(.section-label) {
    color: var(--muted);
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr;
    grid-auto-rows: 210px;
    gap: .85rem;
}

.about-gallery-grid figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: var(--surface);
}

.about-gallery-grid figure:first-child,
.about-gallery-grid figure:nth-child(4) {
    grid-row: span 2;
}

.about-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-gallery-grid figcaption {
    position: absolute;
    left: .7rem;
    right: .7rem;
    bottom: .7rem;
    padding: .55rem .7rem;
    color: #fff;
    background: rgba(8, 24, 33, .72);
    border-radius: 8px;
    font-size: .86rem;
    font-weight: 800;
}

.simple-page-section {
    background: #fff;
}

.simple-page-shell {
    max-width: 920px;
}

.simple-page-content {
    color: #2d4352;
    font-size: 1.06rem;
    line-height: 1.8;
}

.simple-page-content h2,
.simple-page-content h3,
.simple-page-content h4 {
    color: var(--ink);
    line-height: 1.12;
}

.simple-page-content h2 {
    margin: 2.7rem 0 1rem;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.simple-page-content h2:first-child {
    margin-top: 0;
}

.simple-page-content h3 {
    margin: 2rem 0 .75rem;
    font-size: 1.35rem;
}

.simple-page-content p,
.simple-page-content ul,
.simple-page-content ol,
.simple-page-content blockquote {
    margin: 0 0 1.25rem;
}

.simple-page-content a {
    color: var(--blue-dark);
    font-weight: 900;
}

.simple-page-content img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    display: block;
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 20px 52px rgba(18, 32, 43, .12);
}

.simple-page-content blockquote {
    padding: 1.2rem 1.35rem;
    color: var(--ink);
    background: var(--surface);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    font-size: 1.12rem;
    font-weight: 800;
}

.simple-page-content iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
    margin: 2rem 0;
    border: 0;
    border-radius: 8px;
    background: #081821;
}

.contact-page {
    background: var(--surface);
}

.contact-page-section {
    background: var(--surface);
}

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.25rem;
    align-items: start;
}

.contact-form-panel,
.contact-info-panel {
    display: grid;
    gap: 1rem;
}

.contact-form-panel,
.contact-info-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 32, 43, .06);
}

.contact-form-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.4rem);
}

.contact-form-panel p:not(.section-label) {
    margin: .8rem 0 0;
    color: var(--muted);
}

.contact-form-panel label span {
    display: block;
    margin-bottom: .35rem;
    color: #344c5c;
    font-weight: 900;
}

.contact-form-panel input,
.contact-form-panel textarea {
    width: 100%;
    min-height: 50px;
    padding: .9rem 1rem;
    color: var(--ink);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font: inherit;
}

.contact-form-panel textarea {
    resize: vertical;
}

.contact-success {
    margin: 0;
    padding: 1rem;
    color: #155b35;
    background: rgba(71, 194, 113, .15);
    border: 1px solid rgba(71, 194, 113, .28);
    border-radius: 8px;
    font-weight: 800;
}

.contact-info-card {
    border-left: 5px solid var(--blue);
}

.contact-info-card:nth-child(2) {
    border-left-color: var(--red);
}

.contact-info-card:nth-child(3) {
    border-left-color: var(--green);
}

.contact-info-card span {
    color: var(--muted);
    font-size: .82rem;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-info-card strong {
    display: block;
    margin-top: .35rem;
    font-size: 1.12rem;
    line-height: 1.25;
}

.contact-info-card p {
    margin: .55rem 0 0;
    color: var(--muted);
}

.map-section {
    padding: 0 0 86px;
    background: var(--surface);
}

.map-section .section-heading {
    margin-bottom: 1.25rem;
}

.map-frame {
    height: 460px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(18, 32, 43, .08);
}

.map-frame iframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

.donation-page {
    background: var(--surface);
}

.donation-intro-section {
    background: #fff;
}

.donation-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.donation-intro-grid h2 {
    max-width: 720px;
}

.donation-intro-grid p:not(.section-label) {
    max-width: 680px;
    color: var(--muted);
    font-size: 1.08rem;
}

.pix-card {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 22px 58px rgba(18, 32, 43, .12);
}

.pix-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pix-card-head span {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 .8rem;
    color: #fff;
    background: var(--green);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 900;
}

.pix-card-head strong {
    color: var(--blue-dark);
    font-weight: 900;
}

.qr-box {
    display: grid;
    place-items: center;
    aspect-ratio: 1;
    padding: 1rem;
    background:
        linear-gradient(135deg, rgba(5, 174, 234, .12), rgba(71, 194, 113, .12)),
        #fff;
    border: 1px dashed rgba(8, 124, 168, .36);
    border-radius: 8px;
}

.qr-box img {
    width: 100%;
    max-width: 290px;
    height: auto;
}

.qr-placeholder {
    width: min(100%, 280px);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    align-content: center;
    gap: .75rem;
    color: var(--muted);
    background:
        repeating-linear-gradient(45deg, rgba(18, 32, 43, .08) 0 8px, transparent 8px 16px),
        #fff;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
}

.qr-placeholder span {
    color: var(--ink);
    font-size: 3rem;
    line-height: 1;
}

.pix-card > p {
    margin: 1rem 0 0;
    color: var(--muted);
    font-weight: 800;
}

.donation-steps-section {
    background: var(--surface);
}

.donation-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.donation-step-grid article {
    min-height: 230px;
    display: flex;
    flex-direction: column;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 5px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 32, 43, .06);
}

.donation-step-grid article:nth-child(2) {
    border-top-color: var(--red);
}

.donation-step-grid article:nth-child(3) {
    border-top-color: var(--green);
}

.donation-step-grid article:nth-child(4) {
    border-top-color: var(--yellow);
}

.donation-step-grid span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--ink);
    border-radius: 999px;
    font-weight: 900;
}

.donation-step-grid h3 {
    margin: 1.2rem 0 .55rem;
    font-size: 1.2rem;
}

.donation-step-grid p {
    margin: 0;
    color: var(--muted);
}

.donation-contact-band {
    padding: 72px 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(216, 33, 58, .95), rgba(142, 24, 48, .92)),
        url("https://ieb.org.br/novo/img/lar-escola.jpg") center / cover no-repeat;
}

.donation-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2rem;
    align-items: center;
}

.donation-contact-grid .section-label {
    color: rgba(255, 255, 255, .78);
}

.donation-contact-grid h2 {
    max-width: 760px;
}

.donation-contact-grid p {
    max-width: 700px;
    color: rgba(255, 255, 255, .82);
}

.gallery-section {
    background: #fff;
}

.gallery-copy {
    max-width: 680px;
    margin-bottom: 1.25rem;
}

.gallery-copy p:not(.section-label) {
    color: var(--muted);
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: 1.15fr .85fr .85fr;
    grid-auto-rows: 172px;
    gap: .85rem;
}

.gallery-mosaic-item {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
    background: var(--surface);
    border-radius: 8px;
}

.gallery-mosaic-item.is-large {
    grid-row: span 2;
}

.gallery-mosaic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease;
}

.gallery-mosaic-item::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    background: linear-gradient(0deg, rgba(8, 24, 33, .78), transparent);
}

.gallery-mosaic-item span {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .85rem;
    z-index: 1;
    font-weight: 900;
    line-height: 1.25;
}

.gallery-mosaic-item:hover img {
    transform: scale(1.04);
}

.gallery-page-hero .page-hero-standard-copy {
    padding-top: 54px;
    padding-bottom: 54px;
}

.gallery-albums-section,
.album-photos-section {
    background: var(--surface);
}

.album-public-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.album-public-card {
    display: grid;
    overflow: hidden;
    color: inherit;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 32, 43, .06);
}

.album-public-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.album-public-card span {
    display: grid;
    gap: .35rem;
    padding: 1rem;
}

.album-public-card small {
    color: var(--red-dark);
    font-size: .8rem;
    font-weight: 900;
}

.album-public-card strong {
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1.2;
    transition: color .2s ease;
}

.album-public-card em {
    color: var(--muted);
    font-style: normal;
}

.album-public-card:hover strong {
    color: var(--red-dark);
}

.album-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.album-photo-card {
    position: relative;
    min-height: 0;
    padding: 0;
    overflow: hidden;
    color: #fff;
    background: #fff;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
}

.album-photo-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .25s ease;
}

.album-photo-card span {
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .8rem;
    z-index: 1;
    font-weight: 900;
    text-align: left;
}

.album-photo-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 44%;
    background: linear-gradient(0deg, rgba(8, 24, 33, .72), transparent);
}

.album-photo-card:hover img {
    transform: scale(1.04);
}

body.has-lightbox {
    overflow: hidden;
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.gallery-lightbox.is-open {
    display: flex;
}

.gallery-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(8, 24, 33, .82);
    border: 0;
    cursor: pointer;
}

.gallery-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 1060px);
    display: grid;
    place-items: center;
}

.gallery-lightbox-dialog img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, .36);
}

.gallery-lightbox-dialog p {
    min-height: 1.5rem;
    margin: .85rem 0 0;
    color: #fff;
    font-weight: 800;
    text-align: center;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    position: absolute;
    z-index: 2;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: #fff;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: 900;
}

.gallery-lightbox-close {
    top: -56px;
    right: 0;
}

.gallery-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
}

.gallery-lightbox-nav.prev {
    left: -58px;
}

.gallery-lightbox-nav.next {
    right: -58px;
}

.gallery-lightbox-nav::before {
    content: "";
    width: 12px;
    height: 12px;
    border-top: 3px solid currentColor;
    border-left: 3px solid currentColor;
}

.gallery-lightbox-nav.prev::before {
    transform: rotate(-45deg) translate(1px, 1px);
}

.gallery-lightbox-nav.next::before {
    transform: rotate(135deg) translate(1px, 1px);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    grid-auto-rows: 190px;
    gap: .8rem;
}

.gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.gallery-grid img:first-child,
.gallery-grid img:nth-child(5) {
    grid-row: span 2;
}

.transparency-section {
    background: var(--surface);
}

.transparency-section p {
    color: var(--muted);
}

.document-list {
    display: grid;
    gap: .85rem;
}

.document-list a {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.2rem;
    background: #fff;
    border: 1px solid var(--border);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 32, 43, .06);
    font-weight: 900;
}

.document-list a:nth-child(2) {
    border-left-color: var(--red);
}

.document-list a:nth-child(3) {
    border-left-color: var(--green);
}

.document-list strong {
    color: var(--blue-dark);
}

.document-list small {
    display: block;
    margin-top: .2rem;
    color: var(--muted);
    font-size: .82rem;
    font-weight: 800;
}

.transparency-page {
    background: var(--surface);
}

.events-page {
    background: var(--surface);
}

.events-hero .page-hero-standard-copy,
.event-detail-hero .page-hero-standard-copy {
    padding-top: 54px;
    padding-bottom: 54px;
}

.events-calendar-section {
    background: var(--surface);
}

.events-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 1.25rem;
    align-items: start;
}

.calendar-panel,
.month-events-panel {
    padding: 1.25rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 14px 34px rgba(18, 32, 43, .06);
}

.calendar-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}

.calendar-head h2,
.month-events-panel h2 {
    font-size: clamp(2rem, 4vw, 3.3rem);
}

.calendar-nav {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 .9rem;
    color: var(--blue-dark);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-weight: 900;
}

.calendar-nav:hover {
    color: var(--red-dark);
    background: rgba(216, 33, 58, .08);
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: .55rem;
}

.calendar-weekdays {
    margin-bottom: .55rem;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.calendar-day {
    min-height: 112px;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: .75rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.calendar-day.is-empty {
    background: transparent;
    border-style: dashed;
    opacity: .45;
}

.calendar-day.has-event {
    background: rgba(5, 174, 234, .08);
    border-color: rgba(5, 174, 234, .28);
}

.calendar-day strong {
    color: var(--ink);
    font-size: .94rem;
}

.calendar-day a {
    color: var(--blue-dark);
    font-size: .78rem;
    font-weight: 900;
    line-height: 1.2;
}

.calendar-day a:hover {
    color: var(--red-dark);
}

.calendar-day small {
    color: var(--muted);
    font-size: .76rem;
    font-weight: 800;
}

.month-event-list {
    display: grid;
    gap: .85rem;
    margin-top: 1rem;
}

.event-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.2rem;
}

.event-hero-meta span {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 .8rem;
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
}

.event-detail-section {
    padding-top: 44px;
    padding-bottom: 86px;
    background: #fff;
}

.event-detail-section .article-shell {
    padding-top: 0;
    padding-bottom: 0;
}

.event-detail-image {
    margin-bottom: 2rem;
}

.transparency-hero {
    padding: 64px 0;
    color: #fff;
    background:
        linear-gradient(120deg, rgba(8, 24, 33, .96), rgba(8, 124, 168, .86)),
        url("https://ieb.org.br/novo/img/galeria-fotos/passarela.jpg") center / cover no-repeat;
}

.transparency-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
}

.transparency-hero .section-label {
    color: #8ee4ff;
}

.transparency-hero h1 {
    max-width: 820px;
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.35rem, 5vw, 4.6rem);
    line-height: 1;
}

.transparency-hero p:not(.section-label) {
    max-width: 680px;
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .82);
    font-size: 1.08rem;
}

.transparency-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem;
}

.transparency-stats div {
    min-height: 116px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1rem;
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 8px;
    backdrop-filter: blur(12px);
}

.transparency-stats strong {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1;
}

.transparency-stats span {
    margin-top: .35rem;
    color: rgba(255, 255, 255, .78);
    font-weight: 800;
}

.transparency-list-section {
    padding-top: 52px;
}

.transparency-filter-panel {
    display: grid;
    grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: end;
    margin-bottom: .85rem;
    padding: .9rem 1rem;
    background: linear-gradient(90deg, rgba(8, 124, 168, .08), rgba(255, 255, 255, .96) 34%, #fff);
    border: 1px solid rgba(8, 124, 168, .16);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
}

.filter-field {
    display: grid;
    gap: .28rem;
}

.filter-field label {
    color: var(--red);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.filter-field select,
.filter-field input {
    width: 100%;
    min-height: 46px;
    padding: .75rem .9rem;
    color: var(--ink);
    background: #fff;
    border: 1px solid rgba(8, 124, 168, .18);
    border-radius: 8px;
    font: inherit;
    font-weight: 700;
}

.filter-actions {
    display: flex;
    align-items: center;
    gap: .7rem;
    flex-wrap: wrap;
}

.filter-actions .btn {
    min-height: 46px;
    padding: .75rem 1.05rem;
    box-shadow: none;
}

.filter-clear-link {
    color: var(--blue-dark);
    font-size: .9rem;
    font-weight: 900;
    white-space: nowrap;
}

.filter-clear-link:hover {
    color: var(--red-dark);
}

.transparency-result-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 .1rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 800;
}

.transparency-result-summary strong {
    color: var(--blue-dark);
}

.transparency-timeline {
    display: grid;
    gap: 1.1rem;
}

.transparency-year-block {
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 1.15rem;
}

.transparency-year-label {
    position: sticky;
    top: 112px;
    min-height: 118px;
    display: grid;
    place-items: center;
    align-content: center;
    color: #fff;
    background: var(--ink);
    border-radius: 8px;
    box-shadow: 0 16px 34px rgba(18, 32, 43, .1);
}

.transparency-year-label span {
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    opacity: .72;
}

.transparency-year-label strong {
    font-size: 2.2rem;
    line-height: 1;
}

.transparency-events {
    display: grid;
    gap: .85rem;
}

.transparency-event {
    background: #fff;
    border: 1px solid var(--border);
    border-left: 6px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(18, 32, 43, .06);
    overflow: hidden;
}

.transparency-event:nth-child(2n) {
    border-left-color: var(--red);
}

.transparency-event summary {
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    cursor: pointer;
    list-style: none;
    font-weight: 900;
}

.transparency-event summary::-webkit-details-marker {
    display: none;
}

.transparency-event summary span {
    font-size: 1.08rem;
    line-height: 1.25;
}

.transparency-event summary strong {
    flex: 0 0 auto;
    color: var(--blue-dark);
    font-size: .86rem;
}

.transparency-doc-list {
    display: grid;
    gap: .65rem;
    padding: 0 1.1rem 1.1rem;
}

.transparency-doc-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .85rem;
    align-items: center;
    padding: .95rem;
    color: inherit;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.doc-icon {
    display: inline-grid;
    place-items: center;
    min-width: 52px;
    min-height: 38px;
    padding: 0 .55rem;
    color: #fff;
    background: var(--red);
    border-radius: 7px;
    font-size: .78rem;
    font-weight: 900;
}

.doc-copy {
    min-width: 0;
}

.doc-copy strong,
.doc-copy small {
    display: block;
}

.doc-copy strong,
.doc-action {
    transition: color .2s ease;
}

.doc-copy small {
    margin-top: .2rem;
    color: var(--muted);
    font-size: .9rem;
    font-weight: 700;
}

.doc-action {
    color: var(--blue-dark);
    font-weight: 900;
}

.transparency-doc-card:hover .doc-copy strong,
.transparency-doc-card:hover .doc-action {
    color: var(--red-dark);
}

.transparency-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.transparency-pagination a {
    min-width: 38px;
    min-height: 38px;
    display: inline-grid;
    place-items: center;
    padding: .55rem .8rem;
    color: var(--blue-dark);
    background: transparent;
    border: 1px solid rgba(8, 124, 168, .2);
    border-radius: 8px;
    font-size: .92rem;
    font-weight: 900;
}

.transparency-pagination a:hover,
.transparency-pagination a.is-active {
    color: #fff;
    background: var(--blue);
    border-color: var(--blue);
}

.contact-section {
    padding: 58px 0;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(8, 24, 33, .98), rgba(8, 124, 168, .86)),
        url("https://ieb.org.br/novo/img/galeria-fotos/passarela.jpg") center / cover no-repeat;
}

.contact-wrap {
    display: grid;
    grid-template-columns: .65fr 1.35fr;
    gap: clamp(1.5rem, 3vw, 2.25rem);
    align-items: center;
}

.contact-copy {
    max-width: 380px;
}

.contact-copy .section-label {
    color: #8ee4ff;
}

.contact-copy h2 {
    margin: 0;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.03;
}

.contact-copy p:not(.section-label) {
    margin: 1rem 0 0;
    color: rgba(255, 255, 255, .78);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.contact-grid a {
    min-width: 0;
    min-height: 132px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 1.45rem;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(255, 255, 255, .54);
    border-left: 5px solid var(--blue);
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
    transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
    overflow-wrap: normal;
}

.contact-grid a:nth-child(1) {
    border-left-color: var(--blue);
}

.contact-grid a:nth-child(2) {
    border-left-color: var(--red);
}

.contact-grid a:nth-child(3) {
    grid-column: 1 / -1;
    border-left-color: var(--green);
}

.contact-grid a:hover {
    transform: translateY(-3px);
    color: var(--red-dark);
    box-shadow: 0 22px 54px rgba(0, 0, 0, .2);
}

.contact-grid span {
    color: var(--muted);
    font-size: .88rem;
    font-weight: 700;
}

.contact-grid strong {
    margin-top: .25rem;
    font-size: clamp(1rem, 1.25vw, 1.16rem);
    line-height: 1.25;
    white-space: nowrap;
    word-break: normal;
    overflow-wrap: normal;
}

.site-footer {
    padding: 56px 0;
    color: rgba(255, 255, 255, .72);
    background: #081821;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr 1fr;
    gap: 2rem;
}

.footer-grid img {
    width: auto;
    max-width: 210px;
    max-height: 150px;
    margin-bottom: 1rem;
}

.footer-grid h2 {
    margin-bottom: 1rem;
    font-family: Manrope, Arial, sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
}

.footer-grid a {
    display: block;
    margin-bottom: .45rem;
}

.footer-grid a:hover {
    color: #fff;
}

@media (max-width: 1060px) {
    .menu-toggle {
        display: flex;
    }

    .primary-nav {
        position: absolute;
        inset: 86px 0 auto;
        display: none;
        padding: 1rem;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 22px 42px rgba(18, 32, 43, .12);
    }

    .primary-nav.is-open {
        display: grid;
    }

    .primary-nav a {
        min-height: 52px;
        justify-content: center;
    }

    .nav-item {
        display: grid;
    }

    .nav-item > a {
        justify-content: center;
    }

    .nav-dropdown {
        position: static;
        width: 100%;
        padding: 0 .8rem .8rem;
        background: transparent;
        border: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown a {
        background: var(--surface);
    }

    .about-grid,
    .transparency-grid,
    .transparency-hero-grid,
    .about-content-grid,
    .about-content-grid.is-reversed,
    .about-governance-grid,
    .contact-page-grid,
    .donation-intro-grid,
    .donation-contact-grid,
    .contact-wrap,
    .partner-box {
        grid-template-columns: 1fr;
    }

    .about-content-grid.is-reversed .about-content-copy {
        order: 0;
    }
}

@media (max-width: 820px) {
    .impact-grid,
    .department-grid,
    .highlight-grid,
    .upcoming-event-grid,
    .album-public-grid,
    .album-photo-grid,
    .news-archive-grid,
    .contact-grid,
    .donation-step-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .page-hero-grid,
    .news-archive-card.is-featured,
    .news-detail-layout,
    .events-layout {
        grid-template-columns: 1fr;
    }

    .news-archive-card {
        grid-template-columns: 1fr;
    }

    .news-archive-card.is-featured {
        grid-column: auto;
        min-height: 0;
    }

    .news-sidebar {
        position: static;
    }

    .news-index-hero + .news-archive-section .news-archive-grid,
    .related-news-grid,
    .transparency-stats {
        grid-template-columns: 1fr;
    }

    .about-page-intro-grid {
        grid-template-columns: 1fr;
        gap: .8rem;
    }

    .transparency-year-block {
        grid-template-columns: 1fr;
    }

    .transparency-year-label {
        position: static;
        min-height: 82px;
    }

    .transparency-filter-panel {
        grid-template-columns: 1fr;
    }

    .transparency-result-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: .3rem;
    }

    .impact-grid div {
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, .24);
    }

    .section {
        padding: 58px 0;
    }

    .upcoming-events-section {
        padding: 40px 0 44px;
    }

    .contact-section {
        padding: 50px 0;
    }

    .map-frame {
        height: 360px;
    }

    .section-heading.split {
        align-items: start;
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
    }

    .gallery-mosaic-item.is-large {
        grid-column: 1 / -1;
    }

    .about-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 170px;
    }

    .contact-grid a {
        min-height: 118px;
        padding: 1.25rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 24px, 1180px);
    }

    .brand img {
        max-width: 118px;
        max-height: 62px;
    }

    .hero-section,
    .hero-carousel,
    .hero-slide {
        min-height: 680px;
        height: auto;
    }

    .hero-content {
        padding-top: 118px;
        padding-bottom: 72px;
    }

    .hero-copy h1 {
        font-size: 3rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .carousel-arrow {
        display: none;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }

    .gallery-lightbox-nav.prev {
        left: .75rem;
    }

    .gallery-lightbox-nav.next {
        right: .75rem;
    }

    .gallery-lightbox-close {
        top: .75rem;
        right: .75rem;
    }

    .about-gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .about-gallery-grid figure:first-child,
    .about-gallery-grid figure:nth-child(4) {
        grid-row: span 1;
    }

    .transparency-doc-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .calendar-head,
    .calendar-weekdays,
    .calendar-grid {
        grid-template-columns: 1fr;
    }

    .calendar-weekdays {
        display: none;
    }

    .calendar-day.is-empty {
        display: none;
    }

    .calendar-day {
        min-height: auto;
    }

    .transparency-event summary {
        align-items: start;
        flex-direction: column;
    }

    .gallery-grid img:first-child,
    .gallery-grid img:nth-child(5) {
        grid-row: span 1;
    }
}

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