.sn-page {
    --sn-blue: #264d7a;
    --sn-dark-blue: #304271;
    --sn-turquoise: #15a8ab;
    --sn-text: #6d6d6d;
    color: var(--sn-text);
    overflow-x: clip;
}

.text-balance {
    text-wrap: balance;
}

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

.sn-page h1,
.sn-page h2,
.sn-page h3,
.sn-page p,
.sn-page ol,
.sn-page ul {
    margin: 0;
}

.sn-container {
    /* width: min(1200px, calc(100% - 40px)); */
    width: min(100% - 40px, 1300px);
    margin-inline: auto;
}

.sn-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 42px;
    padding: 10px 20px;
    border-radius: 11px;
    color: #fff;
    font-size: 16px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform .2s ease, filter .2s ease;
}

.sn-button:hover {
    color: #fff;
    filter: brightness(.95);
    transform: translateY(-2px);
}

.sn-button:focus-visible,
.sn-history-link:focus-visible,
.sn-timeline-pagination button:focus-visible {
    outline: 3px solid var(--sn-turquoise);
    outline-offset: 3px;
}

.sn-button--turquoise { background: var(--sn-turquoise); }
.sn-button--blue { background: var(--sn-blue); }

.sn-hero {
    display: flex;
    flex-direction: column;
    background: #fff;
}

.sn-hero-photo {
    display: block;
    height: 200px;
    overflow: hidden;
}

.sn-hero-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 69% center;
}

.sn-hero-content {
    padding-block: 24px 32px;
    color: var(--sn-blue);
}

.sn-hero h1 {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
}

.sn-hero p {
    width: 100%;
    max-width: 28rem;
    margin-top: 16px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.sn-hero p strong { font-weight: 600; }
.sn-hero .sn-button { margin-top: 16px; }

.sn-history {
    padding-block: 32px 20px;
}

.sn-section-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.sn-section-heading h2 {
    max-width: 590px;
    color: var(--sn-turquoise);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.sn-history-heading-word {
    display: inline-block;
    will-change: opacity, transform;
}

.sn-section-heading p {
    max-width: 700px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.3;
}

.sn-history-banner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(24px, 5vw, 38px);
    width: 100%;
    min-height: 660px;
    margin-top: 20px;
    padding: clamp(48px, 10vw, 88px) 10%;
    border-radius: 26px;
    background: #064b91 url('../assets/sobre-nos/historia-mobile.webp?v=1792074616') center / cover no-repeat;
    color: #fff;
}

.sn-history-highlight {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.sn-history-number {
    display: block;
    font-size: clamp(62px, 19vw, 112px);
    font-weight: 700;
    letter-spacing: -.055em;
    line-height: .95;
    white-space: nowrap;
}

.sn-history-number > [aria-hidden="true"] {
    background: linear-gradient(180deg, #9affff 0%, #00dce7 100%);
    background-clip: text;
    color: transparent;
}

.sn-history-plus,
.sn-history-count,
.sn-history-unit { display: inline-block; }

.sn-history-count {
    min-width: 2ch;
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.sn-history-label {
    display: block;
    font-size: clamp(23px, 6.4vw, 37px);
    font-weight: 700;
    line-height: 1.08;
}

.sn-history-label--desktop { display: none; }

.sn-history-divider {
    display: block;
    width: 56px;
    height: 4px;
    border-radius: 4px;
    background: #00e5e6;
}

.sn-history-detail p {
    font-size: clamp(16px, 4vw, 22px);
    line-height: 1.3;
}

.sn-history-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    background: #fff;
    color: #008baa;
    font-size: clamp(15px, 4vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform .2s ease;
}

.sn-history-link:hover {
    color: #008baa;
    font-weight: 700;
    text-decoration: none;
    transform: scale(1.025);
}

.sn-history-link svg {
    flex: none;
    width: 25px;
    height: 25px;
    color: #075196;
}

.sn-timeline {
    padding-block: 14px 40px;
    scroll-margin-top: 92px;
}

@media (max-width: 991px) {
    .sn-timeline.sn-container { width: 100%; }
}

.sn-timeline-swiper {
    width: 100%;
    overflow-x: auto;
}

.sn-timeline-swiper.sn-swiper-ready { overflow: hidden; }

.sn-timeline-list {
    display: flex;
    align-items: stretch;
    padding: 0;
    list-style: none;
}

.sn-timeline-slide {
    display: flex;
    height: auto;
}

.sn-timeline-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 0;
    padding: 22px 12px 18px;
    text-align: center;
}

.sn-timeline-item::before {
    position: absolute;
    z-index: 0;
    top: 41px;
    right: -12px;
    left: -12px;
    height: 2px;
    background: var(--sn-dark-blue);
    content: '';
    transform: scaleX(var(--sn-mobile-line-progress, 1));
    transform-origin: left center;
}

.sn-timeline-year {
    position: relative;
    z-index: 1;
    display: block;
    width: min(100%, 300px);
    padding: 9px 15px;
    border-radius: 10px;
    background: var(--sn-turquoise);
    box-shadow: 0 3px 4px rgba(0,0,0,.16);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
}

.sn-timeline-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: min(100%, 300px);
    padding-top: 16px;
    font-size: 15px;
    line-height: 1.45;
    text-align: left;
}

.sn-timeline-copy p {
    font-size: inherit;
    line-height: inherit;
}

.sn-timeline-copy ul {
    padding-left: 20px;
    list-style: disc;
}

.sn-timeline-copy li {
    margin-bottom: 4px;
    font-size: inherit;
    line-height: inherit;
}

.sn-timeline-stat {
    display: block;
    max-width: 165px;
    margin-top: 16px;
    padding: 9px 13px;
    border-radius: 10px;
    background: var(--sn-dark-blue);
    box-shadow: 0 3px 4px rgba(0,0,0,.16);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.sn-timeline-desktop { display: none; }

.sn-timeline-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
}

.sn-timeline-pagination.swiper-pagination-horizontal {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: auto;
    max-width: 220px;
}

.sn-timeline-pagination .swiper-pagination-bullet {
    flex: none;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border: 0;
    background: var(--sn-turquoise);
    opacity: .45;
    transition: width .2s ease, opacity .2s ease;
}

.sn-timeline-pagination .swiper-pagination-bullet-active {
    width: 21px;
    border-radius: 999px;
    opacity: 1;
}

.sn-specialties {
    padding-block: 0 32px;
}

.sn-specialties-card {
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
    border-radius: 35px;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,.16);
}

.sn-specialties-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 28px 24px;
}

.sn-specialties-content h2 {
    color: var(--sn-turquoise);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
}

.sn-specialties-content p {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
}

.sn-specialties-photo { height: 342px; }

.sn-specialties-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.sn-mission {
    position: relative;
    min-height: 533px;
    padding-top: 200px;
}

.sn-mission-inner {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.sn-mission-card {
    width: 100%;
    padding: 23px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 3px 6px rgba(0,0,0,.16);
}

.sn-mission-card h2 {
    color: var(--sn-blue);
    font-size: 23px;
    font-weight: 700;
    line-height: 1.25;
}

.sn-mission-card p {
    margin-top: 15px;
    font-size: 17px;
    line-height: 1.33;
}

.sn-mission-photo {
    display: block;
    width: 100%;
    height: 333px;
    object-fit: cover;
    object-position: 72% center;
}

.sn-values {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding-block: 32px;
    text-align: center;
}

.sn-values > h2 {
    color: var(--sn-turquoise);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
}

.sn-values-carousel {
    width: 100%;
    overflow-x: auto;
}

.sn-values-carousel.sn-swiper-ready { overflow: hidden; }

.sn-values-list {
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    list-style: none;
}

.sn-value-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    height: auto;
    min-width: 0;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 11px;
    background: #fff;
    text-align: left;
}

.sn-value-number {
    color: var(--sn-turquoise);
    font-size: 22px;
    font-weight: 700;
}

.sn-value-card h3 {
    color: var(--sn-blue);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.sn-value-card p {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.sn-values-pagination.swiper-pagination-horizontal {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.sn-values-pagination .swiper-pagination-bullet {
    flex: none;
    width: 8px;
    height: 8px;
    margin: 0 !important;
    border: 0;
    background: var(--sn-turquoise);
    opacity: .45;
    transition: width .2s ease, opacity .2s ease;
}

.sn-values-pagination .swiper-pagination-bullet-active {
    width: 21px;
    border-radius: 999px;
    opacity: 1;
}

.sn-values-pagination.swiper-pagination-lock,
.sn-values-pagination:empty { display: none; }

.sn-values-ready {
    color: var(--sn-turquoise);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

@media (min-width: 576px) {
    .sn-specialties-photo { height: 360px; }
    .sn-timeline-item { padding-inline: 10px; }
}

@media (min-width: 768px) {
    .sn-hero {
        position: relative;
        min-height: 420px;
        justify-content: center;
        overflow: hidden;
        background: #eee;
    }

    .sn-hero-photo,
    .sn-hero-photo img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .sn-hero-photo img { object-position: center; }

    .sn-hero-content {
        position: relative;
        z-index: 1;
        padding-block: 40px;
    }

    .sn-hero h1 { font-size: clamp(32px, 3vw, 40px); }
    .sn-hero p { font-size: 22px; }
    .sn-hero .sn-button { display: none !important; }
    .sn-history { padding-block: 45px 24px; }
    .sn-section-heading h2 { font-size: 32px; }
    .sn-history-banner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 2px minmax(0, 1.12fr);
        align-items: center;
        gap: clamp(20px, 3vw, 48px);
        max-width: 1012px;
        min-height: 300px;
        margin-inline: auto;
        padding: 36px 6%;
        background-image: url('../assets/sobre-nos/historia-desktop.webp?v=1792074616');
    }

    .sn-history-highlight { align-items: center; }
    .sn-history-number { font-size: clamp(62px, 8.4vw, 102px); }
    .sn-history-label { font-size: clamp(22px, 2.75vw, 34px); }
    .sn-history-label--desktop { display: block; }
    .sn-history-label--mobile { display: none; }
    .sn-history-divider { width: 2px; height: 100%; min-height: 220px; }
    .sn-history-detail p { font-size: clamp(14px, 1.4vw, 17px); }
    .sn-history-link { max-width: 320px; font-size: clamp(15px, 1.6vw, 19px); }

    .sn-specialties-card {
        flex-direction: row;
        align-items: stretch;
        max-width: 1030px;
        margin-inline: auto;
    }

    .sn-specialties-content,
    .sn-specialties-photo { width: 50%; }
    .sn-specialties-content { justify-content: center; padding: 30px; }
    .sn-specialties-photo { height: auto; min-height: 340px; }
    .sn-specialties { padding-block: 20px 50px; }

    .sn-mission {
        display: flex;
        align-items: center;
        min-height: 400px;
        padding-top: 0;
        overflow: hidden;
    }

    .sn-mission-photo {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-position: center;
    }

    .sn-mission-inner { position: relative; top: auto; left: auto; transform: none; }
    .sn-mission-card { width: min(475px, 52%); }
    .sn-values { padding-block: 45px 50px; }
}

@media (min-width: 992px) {
    .sn-hero { min-height: 500px; }
    .sn-timeline { scroll-margin-top: 160px; }
    .sn-timeline-swiper,
    .sn-timeline-controls { display: none; }
    .sn-timeline { padding-block: 12px 65px; }

    .sn-timeline-desktop {
        display: block;
        width: 100%;
        --sn-dt-marker-width: clamp(80px, 8.33vw, 100px);
        --sn-dt-edge: calc(var(--sn-dt-marker-width) / 2);
    }

    .sn-dt-row {
        position: relative;
        min-height: 165px;
    }

    .sn-dt-row:nth-child(1) { min-height: 10rem; }
    .sn-dt-row:nth-child(5) { min-height: 185px; }
    .sn-dt-row:nth-child(6) { min-height: 251px; }

    .sn-dt-row::before,
    .sn-dt-row:not(:last-child)::after {
        position: absolute;
        z-index: 0;
        background: var(--sn-dark-blue);
        content: '';
    }

    .sn-dt-row::before {
        top: 44px;
        right: var(--sn-dt-edge);
        left: var(--sn-dt-edge);
        height: 2px;
        transform: scaleX(var(--sn-line-x, 1));
        transform-origin: left center;
    }

    .sn-dt-row--direita::before { transform-origin: right center; }

    .sn-dt-row:not(:last-child)::after {
        top: 44px;
        right: var(--sn-dt-edge);
        width: 2px;
        height: calc(100% + 2px);
        transform: scaleY(var(--sn-line-y, 1));
        transform-origin: top center;
    }

    .sn-dt-row--direita:not(:last-child)::after {
        right: auto;
        left: var(--sn-dt-edge);
    }

    .sn-dt-events {
        position: relative;
        z-index: 1;
        display: grid;
        gap: clamp(16px, 2.5vw, 30px);
        margin-inline: auto;
        padding-top: 26px;
    }

    .sn-dt-events--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 78.5%;
        margin-left: 12.1%;
        margin-right: 0;
    }

    .sn-dt-events--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 53.33%;
        margin-left: 24.3%;
        margin-right: 0;
    }

    .sn-dt-events--1 {
        grid-template-columns: minmax(0, 1fr);
        width: 25.45%;
    }

    .sn-dt-event { min-width: 0; }

    .sn-dt-year {
        display: block;
        min-height: 38px;
        padding: 8px 10px;
        border-radius: 10px;
        background: var(--sn-turquoise);
        box-shadow: 0 3px 4px rgba(0,0,0,.16);
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        line-height: 22px;
        text-align: center;
    }

    .sn-dt-copy {
        padding-top: 16px;
        color: #6d6d6d;
        font-size: 13px;
        font-weight: 400;
        line-height: 17px;
    }

    .sn-dt-copy p {
        font-size: inherit;
        font-weight: inherit;
        line-height: inherit;
    }

    .sn-dt-copy ul {
        padding-left: 20px;
        list-style: disc;
    }

    .sn-dt-copy li {
        font-size: inherit;
        line-height: inherit;
    }

    .sn-dt-marker {
        position: absolute;
        z-index: 2;
        top: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: var(--sn-dt-marker-width);
        min-height: 90px;
        padding: 8px clamp(8px, 1.08vw, 13px);
        border-radius: 10px;
        background: var(--sn-dark-blue);
        box-shadow: 0 3px 4px rgba(0,0,0,.16);
        color: #fff;
        font-size: clamp(12px, 1.25vw, 15px);
        line-height: 17px;
        text-align: center;
    }

    .sn-dt-marker--esquerda { left: 0; }
    .sn-dt-marker--direita { right: 0; }
    .sn-dt-marker--light {
        background: #fff;
        color: var(--sn-blue);
    }

    .sn-dt-marker > strong { font-size: 17px; line-height: 22px; }

    .sn-dt-marker-year {
        display: block;
        width: 100%;
        border-radius: 9px;
        background: var(--sn-turquoise);
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        line-height: 17px;
    }

    .sn-dt-marker-count { display: block; margin-top: 7px; }
    .sn-dt-marker-count strong { display: block; }

    .sn-value-card { padding: 20px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .sn-dt-copy { font-size: 12px; line-height: 16px; }
}

@media (min-width: 1200px) {
    .sn-specialties-content { padding: 36px 44px; }
}

@media (prefers-reduced-motion: reduce) {
    .sn-button,
    .sn-timeline-pagination .swiper-pagination-bullet,
    .sn-values-pagination .swiper-pagination-bullet { transition: none; }
}
