/* Institucional — alinhado aos PNGs Figma (Sobre / Diretoria / Estatuto) */

.inst-page {
    background: #fff;
}

.inst-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #5b8fd4;
}

.inst-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.95rem;
    border-radius: 999px;
    background: #eef3fb;
    color: var(--color-navy);
    font-size: var(--type-pill);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.inst-badge--center {
    display: inline-flex;
}

.inst-badge--success {
    background: rgba(50, 191, 109, 0.14);
    color: #1f8f4e;
}

.inst-section {
    padding: 5rem 0;
    background: #fff;
}

.inst-section--board {
    padding: 3rem 0;
}

.inst-about__prose {
    max-width: 72ch;
    margin: 0 auto;
}

.inst-about__prose p {
    margin: 0 0 1rem;
    color: var(--color-muted);
    font-size: var(--type-lede);
    line-height: 1.65;
}

.inst-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 2rem 0 0;
}

.inst-facts div {
    padding: 1.1rem 1.15rem;
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    background: #f5f7fb;
}

.inst-facts dt {
    margin: 0 0 0.35rem;
    color: #6b7280;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.inst-facts dd {
    margin: 0;
    color: var(--color-navy);
    font-weight: 700;
}

.inst-founders {
    max-width: 72ch;
    margin: 2.5rem auto 0;
    text-align: center;
}

.inst-founders h3 {
    margin: 0 0 0.65rem;
    color: var(--color-navy);
    font-family: var(--font-display);
}

.inst-founders p {
    margin: 0 0 0.65rem;
    color: var(--color-muted);
    line-height: 1.6;
}

.inst-section__head {
    text-align: center;
    margin-bottom: 2.75rem;
}

.inst-section__head .inst-badge {
    margin-bottom: 1rem;
}

.inst-section__head h2,
.inst-section__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--type-section-title);
    color: var(--color-navy);
    letter-spacing: -0.02em;
}

.inst-section__head h2::after,
.inst-section__rule::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin: 0.85rem auto 0;
    background: var(--color-navy);
    border-radius: 2px;
}

.inst-section__head p,
.inst-section__sub {
    margin: 0.85rem auto 0;
    max-width: 48ch;
    color: var(--color-muted);
    font-size: var(--type-lede);
}

.inst-section__more {
    margin: 2.25rem 0 0;
    text-align: center;
}

.inst-section__more a {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* —— Page hero (Diretoria / Estatuto) —— */
.inst-page-hero {
    padding: var(--space-page-hero);
    text-align: center;
    background: #f5f7fb;
}

.inst-page-hero--white {
    background: #fff;
}

.inst-page-hero .inst-badge {
    margin-bottom: 1.1rem;
}

.inst-page-hero h1 {
    margin: 0 auto;
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: var(--type-page-title);
    color: var(--color-navy);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.inst-page-hero p {
    margin: 1rem auto 0;
    max-width: 52ch;
    color: var(--color-muted);
    font-size: var(--type-lede);
}

/* —— Sobre: hero split —— */
.inst-hero {
    padding: 3.5rem 0 4.5rem;
    background: #fff;
}

.inst-hero--compact {
    padding: 2.75rem 0 1.75rem;
}

.inst-hero--compact h1 {
    margin: 0.65rem 0 0.85rem;
    font-family: var(--font-display);
    font-size: var(--type-cover-compact);
    line-height: 1.15;
    color: var(--color-navy);
    letter-spacing: -0.025em;
}

.inst-hero__intro {
    margin: 0;
    max-width: 62ch;
    color: var(--color-muted);
    font-size: var(--type-lede);
    line-height: 1.65;
}

.inst-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 3rem;
    align-items: center;
}

.inst-hero__copy .inst-eyebrow {
    margin-bottom: 0.85rem;
}

.inst-hero__copy h1 {
    margin: 0 0 1.15rem;
    font-family: var(--font-display);
    font-size: var(--type-page-title);
    line-height: 1.12;
    color: var(--color-navy);
    letter-spacing: -0.025em;
}

.inst-hero__text {
    color: var(--color-muted);
    max-width: 46ch;
    font-size: var(--type-lede);
    line-height: 1.65;
}

.inst-hero__text p {
    margin: 0 0 1rem;
}

.inst-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 1.75rem;
}

.inst-hero__media {
    position: relative;
}

.inst-hero__image {
    display: block;
    width: 100%;
    min-height: 380px;
    height: 420px;
    object-fit: cover;
    border-radius: 18px;
    background: #dbe4f7;
    box-shadow: 0 18px 40px rgba(0, 32, 104, 0.12);
}

.inst-hero__stat {
    position: absolute;
    left: 1.25rem;
    bottom: 1.25rem;
    max-width: 210px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 12px 32px rgba(0, 32, 104, 0.16);
    backdrop-filter: blur(8px);
}

.inst-hero__stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2.15rem;
    color: var(--color-navy);
    line-height: 1;
}

.inst-hero__stat span {
    display: block;
    margin-top: 0.45rem;
    color: var(--color-navy);
    font-size: 0.82rem;
    line-height: 1.4;
    opacity: 0.85;
}

/* —— Timeline (alternating) —— */
.inst-timeline {
    list-style: none;
    margin: 3rem auto 0;
    padding: 0;
    max-width: 780px;
    position: relative;
}

.inst-timeline::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    background: #d5deef;
    transform: translateX(-50%);
}

.inst-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    margin-bottom: 2.75rem;
}

.inst-timeline li::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 1.1rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #5b8fd4;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px #5b8fd4;
    transform: translateX(-50%);
    z-index: 1;
}

.inst-timeline__year {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 4vw, 3.25rem);
    font-weight: 700;
    color: #c9d4e8;
    line-height: 1;
    letter-spacing: -0.03em;
}

.inst-timeline__card h3 {
    margin: 0 0 0.4rem;
    color: var(--color-navy);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.inst-timeline__card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.inst-timeline li:nth-child(odd) .inst-timeline__card {
    grid-column: 1;
    text-align: right;
}

.inst-timeline li:nth-child(odd) .inst-timeline__year {
    grid-column: 2;
    text-align: left;
    padding-left: 1.5rem;
}

.inst-timeline li:nth-child(even) .inst-timeline__year {
    grid-column: 1;
    text-align: right;
    padding-right: 1.5rem;
}

.inst-timeline li:nth-child(even) .inst-timeline__card {
    grid-column: 2;
    text-align: left;
}

/* —— Missão / Visão / Valores —— */
.inst-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.inst-values article {
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    padding: 1.85rem 1.65rem;
    box-shadow: 0 8px 24px rgba(0, 32, 104, 0.05);
}

.inst-values__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(0, 32, 104, 0.08);
    color: var(--color-navy);
    margin-bottom: 1.1rem;
}

.inst-values__icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.inst-values h3 {
    margin: 0 0 0.65rem;
    color: var(--color-navy);
    font-family: var(--font-display);
    font-size: 1.2rem;
}

.inst-values p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

/* —— Board: photo cards (Sobre) —— */
.inst-board-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
}

.inst-board-photo {
    text-align: left;
}

.inst-board-photo__media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 16px;
    background: #e8eefc;
    margin-bottom: 1rem;
}

.inst-board-photo__placeholder {
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--color-navy);
    font-size: 1.5rem;
}

    font-size: 1.05rem;
}

.inst-board-photo p {
    margin: 0.3rem 0 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

/* —— Board: horizontal cards (Diretoria page) —— */
.inst-board-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
    margin-top: 0.5rem;
}

.inst-board-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    padding: 1.15rem 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 32, 104, 0.04);
    text-align: left;
}

.inst-board-card__avatar,
.inst-board-card__photo {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    background: #e8eefc;
}

.inst-board-card__avatar {
    display: grid;
    place-items: center;
    color: var(--color-navy);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1rem;
}

.inst-board-card h3 {
    margin: 0;
    color: var(--color-navy);
    font-family: var(--font-display);
    font-size: 1rem;
    line-height: 1.3;
}

.inst-board-card p {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
    font-size: 0.88rem;
}

/* —— History —— */
.inst-history {
    margin-top: 0.5rem;
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 32, 104, 0.04);
}

.inst-history__row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1.5rem;
    padding: 1.45rem 1.75rem;
    border-bottom: 1px solid #eef1f7;
}

.inst-history__row:last-child {
    border-bottom: 0;
}

    font-size: 1.05rem;
}

    font-size: 1.05rem;
    font-family: var(--font-display);
}

.inst-history__row p {
    margin: 0.3rem 0 0;
    color: var(--color-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* —— Coverage —— */
.inst-coverage {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 2.5rem;
    align-items: center;
}

.inst-coverage h2 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: var(--type-section-title);
    color: var(--color-navy);
}

.inst-coverage > div > p {
    margin: 0 0 1.35rem;
    color: var(--color-muted);
    max-width: 40ch;
    line-height: 1.6;
}

.inst-coverage__list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.25rem;
}

.inst-coverage__list li {
    position: relative;
    padding-left: 1.15rem;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.inst-coverage__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #7dff4d;
    box-shadow: 0 0 6px rgba(125, 255, 77, 0.55);
}

.inst-coverage__link {
    color: var(--color-navy);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.inst-coverage__map {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 32, 104, 0.14);
    background: #061428;
    min-height: 280px;
}

.inst-coverage__map img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center;
}

/* —— Documents —— */
.inst-doc-featured {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem;
    align-items: center;
    padding: 2rem 2.15rem;
    border: 1px solid #e6ebf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 32, 104, 0.06);
}

.inst-doc-featured__icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: rgba(50, 191, 109, 0.14);
    color: #1f8f4e;
}

.inst-doc-featured__icon svg {
    width: 34px;
    height: 34px;
}

.inst-doc-featured__body .inst-badge {
    margin-bottom: 0.75rem;
}

.inst-doc-featured__body h2 {
    margin: 0 0 0.65rem;
    color: var(--color-navy);
    font-family: var(--font-display);
    font-size: 1.45rem;
}

.inst-doc-featured__body p {
    margin: 0;
    color: var(--color-muted);
    max-width: 58ch;
    line-height: 1.55;
    font-size: 0.95rem;
}

.inst-doc-meta {
    margin-top: 0.85rem !important;
    font-size: 0.88rem !important;
}

.inst-doc-featured__action .akaiito-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.inst-doc-list {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.inst-doc-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.35rem;
    background: #fff;
    border: 1px solid #e6ebf4;
    border-radius: 12px;
}

.inst-doc-row__icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: rgba(0, 32, 104, 0.08);
    color: var(--color-navy);
}

.inst-doc-row__icon svg {
    width: 22px;
    height: 22px;
}

.inst-doc-row h3 {
    margin: 0;
    color: var(--color-navy);
    font-size: 1rem;
    font-family: var(--font-display);
}

.inst-doc-row p {
    margin: 0.25rem 0 0;
    color: var(--color-muted);
    font-size: 0.85rem;
}

.inst-doc-row__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-navy);
    font-weight: 700;
    white-space: nowrap;
    font-size: 0.92rem;
}

.inst-doc-row__link svg {
    width: 16px;
    height: 16px;
}

/* —— External links —— */
.inst-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.75rem;
}

.inst-links-grid a {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.5rem;
    border: 1px solid #e6ebf4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(0, 32, 104, 0.04);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.inst-links-grid a:hover {
    border-color: #c5d2ea;
    transform: translateY(-2px);
}

.inst-links-grid__icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #eef3fb;
    color: var(--color-navy);
    margin-bottom: 1rem;
}

.inst-links-grid__icon svg {
    width: 20px;
    height: 20px;
}

    font-size: 1.05rem;
}

.inst-links-grid p {
    margin: 0 0 1.15rem;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
}

.inst-links-grid span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--color-navy);
    font-weight: 700;
    font-size: 0.9rem;
}

/* —— CTAs —— */
.inst-cta {
    padding: 0 0 4.5rem;
}

.inst-cta--plain {
    padding: 4rem 0 2rem;
    text-align: center;
    background: #fff;
}

.inst-cta--plain h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--type-section-title);
    color: var(--color-navy);
}

.inst-cta--plain p {
    margin: 0.85rem auto 1.5rem;
    max-width: 42ch;
    color: var(--color-muted);
}

.inst-cta__inner {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    align-items: center;
    padding: 2.35rem 2.75rem;
    border-radius: 18px;
    background: var(--color-navy);
    color: #fff;
}

.inst-cta__inner h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-display);
    font-size: var(--type-band-title);
}

.inst-cta__inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
    max-width: 46ch;
}

@media (max-width: 980px) {
    .inst-hero__grid,
    .inst-coverage,
    .inst-doc-featured,
    .inst-cta__inner,
    .inst-values,
    .inst-links-grid,
    .inst-history__row,
    .inst-coverage__list,
    .inst-facts {
        grid-template-columns: 1fr;
    }

    .inst-doc-featured {
        display: grid;
    }

    .inst-doc-featured__action {
        justify-self: start;
    }

    .inst-doc-row {
        grid-template-columns: auto 1fr;
    }

    .inst-doc-row__link {
        grid-column: 2;
    }

    .inst-timeline::before {
        left: 1rem;
    }

    .inst-timeline li {
        grid-template-columns: 1fr;
        padding-left: 2.5rem;
        gap: 0.5rem;
    }

    .inst-timeline li::after {
        left: 1rem;
    }

    .inst-timeline li:nth-child(odd) .inst-timeline__card,
    .inst-timeline li:nth-child(even) .inst-timeline__card,
    .inst-timeline li:nth-child(odd) .inst-timeline__year,
    .inst-timeline li:nth-child(even) .inst-timeline__year {
        grid-column: 1;
        text-align: left;
        padding: 0;
    }

    .inst-timeline__year {
        font-size: 1.75rem;
        color: #9aadc9;
        order: -1;
    }

    .inst-hero__image {
        min-height: 220px;
        height: 240px;
    }

    .inst-board-photos,
    .inst-board-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .inst-board-photo__media {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
        margin-bottom: 0.45rem;
    }

    .inst-board-photo h3,
    .inst-board-card h3 {
        font-size: 0.9rem;
    }

    .inst-board-photo p,
    .inst-board-card p {
        font-size: 0.78rem;
    }

    .inst-board-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .inst-board-card__avatar,
    .inst-board-card__photo {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
        font-size: 0.85rem;
    }
}

@media (max-width: 640px) {
    .inst-cta__inner {
        padding: 1.75rem;
    }
}
