main > section > .container {
    width: min(calc(100% - 40px), 1180px);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}

.mobile-content-page .section-block {
    background: var(--stmc-white);
}

.mobile-content-page .section-block-alt {
    background: #f4f6f8;
}

.about-topbar-link {
    color: var(--stmc-gray-300);
    font-size: 0.75rem;
    text-decoration: none;
}

.about-topbar-link:hover {
    color: var(--stmc-white);
    text-decoration: underline;
}

.about-hero {
    overflow: hidden;
    padding: 2rem 0 2.5rem;
    background: var(--stmc-white);
    border-bottom: 1px solid var(--stmc-gray-100);
}

.about-hero-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
    align-items: start;
    gap: clamp(1.5rem, 4vi, 3.5rem);
}

.about-hero-copy {
    min-width: 0;
}

.about-eyebrow,
.about-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--stmc-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.about-section-kicker {
    margin-bottom: 0.35rem;
}

.about-eyebrow {
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: #fff1f1;
    border: 1px solid #f5c2c4;
    color: var(--stmc-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: none;
}

.about-hero h1 {
    margin: 0.85rem 0 0.75rem;
    color: #10203d;
    font-size: clamp(1.85rem, 2.5vw, 2.35rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.03em;
}

.about-hero-copy > p {
    max-width: 48ch;
    margin: 0 0 1.25rem;
    color: #405675;
    font-size: 0.96rem;
    line-height: 1.65;
}

.about-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.35rem;
}

.about-hero-actions .btn {
    border-radius: 9px;
    min-height: 42px;
    font-size: 0.84375rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-ghost-button {
    color: #10203d;
    background: var(--stmc-white);
    border: 1px solid #dce3ec;
    font-weight: 600;
    font-size: 0.84375rem;
}

.about-ghost-button:hover,
.about-ghost-button:focus-visible {
    color: var(--stmc-red);
    border-color: var(--stmc-red);
    background: #fff8f8;
}

.about-hero-art {
    position: relative;
    min-width: 0;
    width: min(100%, 26rem);
    justify-self: center;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.about-hero-art::after {
    display: none;
}

.about-hero-art img {
    display: block;
    width: 100%;
    height: auto;
    background: transparent !important;
}

.about-hero-art figcaption {
    padding: 0.7rem 0 0.2rem;
    color: #526071;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.5;
    text-align: center;
}

/* No desktop, alinha a arte no trilho editorial sem deslocamento negativo. */
@media (min-width: 992px) {
    .about-hero-layout {
        align-items: center;
    }

    .about-hero-art {
        transform: none;
    }
}

.about-stats {
    padding: 1.25rem 0;
    background: var(--stmc-white);
    border-bottom: 1px solid #e5eaf0;
}

.about-stats-grid {
    box-sizing: border-box;
    width: min(calc(100% - 40px), 1180px);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    align-items: center;
    gap: 1rem 2rem;
}

.about-stat {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.85rem 1.05rem;
    border: 1px solid #e5eaf0;
    border-radius: 12px;
    background: var(--stmc-white);
    box-shadow: 0 4px 14px rgba(15, 29, 53, 0.045);
}

.about-stat-icon {
    display: grid;
    flex: 0 0 2.75rem;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 10px;
    color: var(--stmc-red);
    background: #fff1f1;
    font-size: 1.125rem;
}

.about-stat-value,
.about-stat-label {
    display: block;
}

.about-stat-value {
    color: #10203d;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-stat-label {
    color: #526071;
    font-size: 0.8125rem;
}

.about-stats-grid > p {
    max-width: 32ch;
    margin: 0;
    color: #405675;
    font-size: 0.875rem;
    line-height: 1.55;
}

.about-section-heading {
    max-width: 62ch;
    margin-bottom: 1.5rem;
}

.about-section-heading .section-title {
    display: table;
    margin: 0 0 0.75rem;
    padding-bottom: 0.55rem;
    font-size: clamp(1.25rem, 1.6vw, 1.45rem);
    font-weight: 700;
    color: #10203d;
}

.about-section-heading > p {
    margin: 0;
    color: #405675;
    font-size: 0.9375rem;
    line-height: 1.65;
}

.about-essence-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

.about-info-card {
    min-width: 0;
    height: 100%;
    padding: 1.4rem;
    background: var(--stmc-white);
    border: 1px solid #e5eaf0;
    border-top: 3px solid var(--stmc-red);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(15, 29, 53, 0.04);
}

.about-card-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 10px;
    color: var(--stmc-red);
    background: #fff1f1;
    font-size: 1.15rem;
}

.about-info-card h3,
.about-service-card h3,
.about-commitment h3 {
    margin: 0.85rem 0 0.35rem;
    color: #10203d;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-info-card p,
.about-service-card p,
.about-commitment p {
    margin: 0;
    color: #405675;
    font-size: 0.875rem;
    line-height: 1.6;
    text-align: left;
    word-spacing: normal;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}

.about-service-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.35rem;
    background: var(--stmc-white);
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(15, 29, 53, 0.035);
    transition: border-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.about-service-card:hover {
    transform: translateY(-2px);
    border-color: #f0a2a4;
    box-shadow: 0 8px 20px rgba(15, 29, 53, 0.07);
}

.about-service-card > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #fff1f1;
    color: var(--stmc-red);
    font-size: 1.15rem;
    line-height: 1;
}

.about-service-card h3 {
    margin-top: 0.85rem;
    font-size: 1rem;
}

.about-service-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    padding-top: 0.9rem;
    color: var(--stmc-red);
    font-size: 0.8125rem;
    font-weight: 700;
}

.about-history-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr));
    align-items: center;
    gap: clamp(1.5rem, 4vi, 3rem);
}

.about-history-image {
    overflow: hidden;
    width: min(100%, 34rem);
    justify-self: center;
    border-radius: 14px;
    border: 1px solid #e5eaf0;
    background: var(--stmc-gray-900);
    box-shadow: 0 10px 26px rgba(15, 29, 53, 0.08);
}

.about-history-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.about-timeline {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.about-timeline li {
    position: relative;
    padding: 0 0 1.5rem 1.5rem;
    border-left: 2px solid var(--stmc-gray-200);
}

.about-timeline li:last-child {
    padding-bottom: 0;
    border-left-color: transparent;
}

.about-timeline li::before {
    position: absolute;
    top: 0.25rem;
    left: -0.43rem;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 50%;
    background: var(--stmc-red);
    border: 2px solid var(--stmc-white);
    box-shadow: 0 0 0 1px var(--stmc-red);
    content: "";
}

.about-timeline-date {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #fff1f1;
    color: var(--stmc-red);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.about-timeline h3 {
    margin: 0.35rem 0 0.25rem;
    color: #10203d;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}

.about-timeline p {
    margin: 0;
    color: #405675;
    font-size: 0.875rem;
    line-height: 1.6;
}

.about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
    gap: 1rem;
}

.about-gallery-card {
    position: relative;
    overflow: hidden;
    min-width: 0;
    margin: 0;
    background: var(--stmc-gray-900);
}

.about-gallery-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 300ms ease, opacity 300ms ease;
}

.about-gallery-card:hover img {
    transform: scale(1.025);
    opacity: 0.95;
}

.about-gallery-card figcaption {
    display: grid;
    gap: 0.2rem;
    padding: 0.9rem 1rem 1rem;
    color: var(--stmc-white);
    border-top: 3px solid var(--stmc-red);
}

.about-gallery-card figcaption span {
    color: var(--stmc-gray-300);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-gallery-card figcaption strong {
    font-size: 0.875rem;
    line-height: 1.4;
}

.about-partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
    gap: 1rem;
}

.about-partner-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 1rem;
    align-items: center;
    min-width: 0;
    padding: 1.25rem 1.4rem;
    background: var(--stmc-white);
    border: 1px solid #e5eaf0;
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(15, 29, 53, 0.035);
}

.about-partner-card > i {
    grid-row: 1 / span 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 11px;
    background: #fff1f1;
    color: var(--stmc-red);
    font-size: 1.2rem;
}

.about-partner-card h3 {
    margin: 0 0 0.15rem;
    color: #10203d;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.2;
}

.about-partner-card p {
    margin: 0;
    color: #405675;
    font-size: 0.875rem;
    line-height: 1.5;
}

.about-commitments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
    gap: 1rem;
}

.about-commitment {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    height: 100%;
    padding: 1.35rem;
    background: var(--stmc-white);
    border: 1px solid #e5eaf0;
    border-left: 3.5px solid var(--stmc-red);
    border-radius: 14px;
    box-shadow: 0 5px 16px rgba(15, 29, 53, 0.035);
}

.about-commitment > i {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff1f1;
    margin-top: 0;
    color: var(--stmc-red);
    font-size: 1.1rem;
}

.about-commitment h3 {
    margin: 0 0 0.35rem;
    font-size: 0.96rem;
    font-weight: 700;
    color: #10203d;
}

.about-contact {
    padding: clamp(2rem, 4vi, 3rem) 0;
    color: var(--stmc-white);
    background:
        radial-gradient(ellipse at 90% 0%, rgb(255 255 255 / 0.1), transparent 40%),
        linear-gradient(120deg, var(--stmc-red-dark), var(--stmc-red));
}

.about-contact-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.about-contact .about-section-kicker {
    color: rgb(255 255 255 / 0.8);
}

.about-contact h2 {
    margin: 0.4rem 0;
    color: var(--stmc-white);
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    font-weight: 700;
    line-height: 1.2;
}

.about-contact p {
    max-width: 55ch;
    margin: 0;
    color: rgb(255 255 255 / 0.88);
    font-size: 0.875rem;
}

.about-contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.about-contact-actions .btn {
    border-radius: 9px;
    min-height: 44px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .about-hero h1 { font-size: 1.625rem; }
}

.about-contact-outline {
    color: var(--stmc-white);
    border: 1px solid rgb(255 255 255 / 0.65);
    font-weight: 700;
}

.about-contact-outline:hover,
.about-contact-outline:focus-visible {
    color: var(--stmc-white);
    background: rgb(255 255 255 / 0.12);
    border-color: var(--stmc-white);
}

@media (prefers-reduced-motion: reduce) {
    .about-service-card,
    .about-gallery-card img {
        transition: none;
    }
}

@media (max-width: 767px) {
    .about-stats {
        padding: 8px 0 16px;
        background: var(--mobile-shell-bg, #f4f6f8);
        border: 0;
    }
    .about-stats-grid {
        box-sizing: border-box;
        width: calc(100% - 40px);
        margin-inline: 20px;
        padding: 16px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
        gap: 14px 12px;
        background: var(--stmc-white);
        border: 1px solid #e5eaf0;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.05);
    }
    .about-stat {
        min-width: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        gap: 10px;
    }
    .about-stat:first-child {
        padding-right: 10px;
        border-right: 1px solid #e5eaf0;
    }
    .about-stat-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 1rem;
    }
    .about-stat-value {
        font-size: 0.9rem;
        font-weight: 700;
        line-height: 1.25;
        white-space: nowrap;
    }
    .about-stat-label {
        margin-top: 2px;
        font-size: 0.75rem;
        line-height: 1.3;
    }
    .about-stats-grid > p {
        grid-column: 1 / -1;
        max-width: none;
        padding-top: 12px;
        border-top: 1px solid #e5eaf0;
        font-size: 0.8125rem;
        line-height: 1.45;
    }
    .about-hero .container, .section-block .container, .section-block-alt .container { width: calc(100% - 40px); margin-inline: 20px; padding-inline: 0; }
    .about-hero {
        padding-block: 12px 10px;
        background: var(--mobile-shell-bg, #f4f6f8);
        border: 0;
    }
    .about-hero > .container > nav:first-child { margin-bottom: 12px !important; }
    .about-hero-layout {
        box-sizing: border-box;
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
        padding: 18px;
        background: var(--stmc-white);
        border: 1px solid #e5eaf0;
        border-radius: 14px;
        box-shadow: 0 4px 14px rgb(17 24 39 / 0.05);
    }
    .about-info-card, .about-service-card, .about-partner-card, .about-commitment { min-width: 0; padding: 16px; border-radius: 14px; }
    .about-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 14px; }
    .about-hero-actions .btn { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 0.875rem; font-weight: 600; }
    .section-block .row, .section-block-alt .row { --bs-gutter-x: 16px; --bs-gutter-y: 16px; }

    .about-hero h1 { margin: 0.65rem 0 0.5rem; padding-top: 0; font-size: 1.55rem; font-weight: 700; line-height: 1.18; letter-spacing: -0.025em; }
    .about-eyebrow {
        display: inline-flex;
        align-items: center;
        min-height: 30px;
        padding: 0.3rem 0.75rem;
        border-radius: 999px;
        font-size: 0.7rem;
        line-height: 1.15;
        letter-spacing: 0.07em;
    }
    .about-hero-copy > p { display: block; overflow: visible; margin-bottom: 12px; font-size: 0.9375rem; line-height: 1.55; }
    .about-hero-art { width: 100%; padding: 0; border-radius: 0; background: transparent; border: 0; box-shadow: none; }
    .about-hero-art img { aspect-ratio: 3 / 2; object-fit: contain; object-position: center; }
    .about-card-icon {
        display: grid;
        width: 44px;
        height: 44px;
        place-items: center;
        border-radius: 10px;
        background: #fff1f1;
        font-size: 1.2rem;
    }
    .about-topbar-link { display: none; }
    .about-essence-grid, .about-services-grid, .about-partners-grid, .about-commitments-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .about-history-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .about-timeline { gap: 16px; padding-left: 8px; }
    .about-timeline-date { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 0.7rem; }
    .about-contact-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 100%; }
    .about-contact-actions .btn { width: 100%; min-height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; font-size: 0.875rem; font-weight: 600; }
    .about-section-heading { margin-bottom: 14px; }
    .about-section-heading .section-title { margin: 0 0 10px; font-size: 1.25rem; line-height: 1.25; }
    .about-section-heading > p { font-size: 0.9rem; line-height: 1.5; }
    .mobile-content-page .about-info-card,
    .mobile-content-page .about-service-card,
    .mobile-content-page .about-partner-card,
    .mobile-content-page .about-commitment { border-radius: 14px; }
    .about-info-card h3, .about-service-card h3, .about-commitment h3, .about-timeline h3 { margin: 10px 0 4px; font-size: 0.96rem; line-height: 1.3; }
    .about-partner-card h3 { margin: 0 0 2px; font-size: 0.96rem; line-height: 1.25; }
    .about-info-card p, .about-service-card p, .about-commitment p, .about-partner-card p, .about-timeline p { font-size: 0.84375rem; line-height: 1.5; }
    .about-contact h2 { font-size: 1.25rem; line-height: 1.25; }
    .about-history-image img { aspect-ratio: 16 / 9; object-fit: cover; }
}

/* Mobile content rules: preserve every institutional item and keep the page
   readable while fixed navigation and consent UI are present. */
@media (max-width: 767px) {
    body.mobile-content-page main {
        padding-bottom: 0 !important;
        overflow-x: hidden;
    }

    body.mobile-content-page main > section {
        margin-block: 0 !important;
        padding-block: 1.35rem;
    }

    body.mobile-content-page main > section + section {
        margin-top: 0 !important;
    }

    body.mobile-content-page .about-stats {
        padding-block: 0 1.15rem;
    }

    body.mobile-content-page .about-info-card,
    body.mobile-content-page .about-service-card,
    body.mobile-content-page .about-partner-card,
    body.mobile-content-page .about-commitment {
        width: 100%;
        min-width: 0;
    }

    body.mobile-content-page .about-hero-art img {
        aspect-ratio: 3 / 2;
        object-fit: contain;
        object-position: center;
    }

    body.mobile-content-page .about-contact {
        padding-block: 1.75rem;
        margin-bottom: 0 !important;
    }

    body.mobile-content-page .about-timeline {
        gap: 18px;
    }

    body.mobile-content-page :is(.about-info-card, .about-service-card, .about-partner-card, .about-commitment) p,
    body.mobile-content-page .about-timeline p {
        font-size: 0.875rem;
        line-height: 1.55;
    }

    body.mobile-content-page .cookie-consent {
        max-height: 150px;
        bottom: calc(var(--mobile-bottom-nav-height, 68px) + env(safe-area-inset-bottom) + 8px);
        margin-inline: 16px;
    }

    body.mobile-content-page .cookie-consent-copy p {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }

    body.mobile-content-page .cookie-consent-actions button {
        min-height: 42px;
    }
}

@media (max-width: 359px) {
    .about-stats-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .about-stat:first-child {
        padding: 0 0 12px;
        border-right: 0;
        border-bottom: 1px solid var(--stmc-gray-200);
    }
    .mobile-content-page .about-stats > .about-stats-grid > p {
        grid-column: auto;
    }
}
