body {
    background: #f7f9fb;
}

.school-page-nav {
    display: flex;
    align-items: center;
}

.school-page-nav a {
    color: #ffffff;
    font-size: 13px;
    font-weight: 750;
}

.school-hero {
    padding: 56px 0 48px;
    background:
        linear-gradient(135deg, #edf7ff 0%, #ffffff 58%, #fff8ec 100%);
}

.school-hero-grid {
    display: block;
}

.school-back-link {
    display: inline-flex;
    margin-bottom: 24px;
    color: #0f63aa;
    font-size: 13px;
    font-weight: 800;
}

.school-hero-identity {
    display: flex;
    align-items: center;
    gap: 22px;
}

.school-page-logo {
    width: 104px;
    height: 104px;
    flex: 0 0 104px;
    display: grid;
    place-items: center;
    padding: 9px;
    overflow: hidden;
    border: 1px solid #dbe6ee;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(20, 67, 99, 0.08);
}

.school-page-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.school-campaign-label {
    display: inline-flex;
    margin-bottom: 7px;
    color: #0f63aa;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.school-hero h1 {
    margin: 0;
    color: #173d5b;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.school-slogan-page {
    margin: 11px 0 0;
    color: #577083;
    font-size: 16px;
    font-weight: 650;
}

.school-page-location {
    margin: 7px 0 0;
    color: #82929e;
    font-size: 13px;
}








.school-gallery-section {
    padding: 58px 0;
    background: #ffffff;
}

.school-gallery-heading {
    margin-bottom: 24px;
}

.school-gallery-heading h2,
.vacancies-heading h2,
.school-info-collapse h2 {
    margin: 8px 0 0;
    color: #183d5a;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.school-gallery-controls {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.school-gallery-nav {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    padding: 0 0 2px;
    border: 0;
    border-radius: 50%;
    background: #ff8500;
    color: #ffffff;
    cursor: pointer;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
    box-shadow: 0 7px 16px rgba(255, 133, 0, 0.22);
    transition:
        transform 0.16s ease,
        filter 0.16s ease;
}

.school-gallery-nav:hover {
    transform: translateY(-1px);
    filter: brightness(0.96);
}

.school-gallery-viewport {
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.school-gallery-viewport::-webkit-scrollbar {
    display: none;
}

.school-gallery-track {
    display: flex;
    gap: 16px;
}

.school-gallery-item {
    flex: 0 0 calc((100% - 32px) / 3);
    height: 250px;
    overflow: hidden;
    border-radius: 20px;
    background: #eaf0f4;
    scroll-snap-align: start;
}

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

.school-gallery-item:hover img {
    transform: scale(1.025);
}

.school-vacancies-section {
    padding: 74px 0 84px;
    background: #f4f7f9;
}

.vacancies-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.vacancies-heading .section-kicker {
    justify-content: center;
}

.vacancies-heading p {
    margin: 12px auto 0;
    color: #718492;
    font-size: 15px;
}

.campaign-benefits {
    max-width: 920px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 0 auto 30px;
    padding: 16px 19px;
    border: 1px solid #cfe1ed;
    border-radius: 16px;
    background: #edf7fc;
}

.campaign-benefits strong {
    flex: 0 0 auto;
    color: #0f619e;
    font-size: 12px;
    text-transform: uppercase;
}

.campaign-benefits span {
    color: #48677d;
    font-size: 13px;
}

.series-list {
    display: grid;
    gap: 22px;
}

.series-group {
    overflow: hidden;
    border: 1px solid #92c7eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(24, 62, 89, 0.05);
}

.series-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 23px;
    border-bottom: 1px solid #e8eef2;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
}

.series-group-header span {
    display: block;
    color: #7b8e9b;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.series-group-header h3 {
    margin: 3px 0 0;
    color: #163f5e;
    font-size: 23px;
    line-height: 1.15;
}

.series-group-header small {
    padding: 7px 10px;
    border-radius: 999px;
    background: #edf4f8;
    color: #53758c;
    font-size: 10px;
    font-weight: 750;
}

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

.turn-card {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 23px;
    border-right: 1px solid #e8eef2;
}

.turn-card:last-child {
    border-right: 0;
}

.turn-card.is-last {
    background: linear-gradient(180deg, #fffdf8 0%, #ffffff 58%);
}

.turn-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 13px;
    padding: 8px;
    border: 1px solid #bad9ed;
    border-radius: 12px;
    background: #fdfdfd;
}

.turn-card-top > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}

.turn-label {
    color: #173f5d;
    font-size: 17px;
    font-weight: 850;
}

.availability-badge {
    padding: 5px 8px;
    border-radius: 999px;
    background: #e8f5ee;
    color: #2d7a50;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.availability-badge.is-last {
    background: #fff1df;
    color: #b66400;
}

.vacancy-quantity {
    flex: 0 0 auto;
    color: #6f8290;
    font-size: 11px;
    font-weight: 750;
}

.vacancy-highlight {
    margin-top: 15px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #eef6fb;
    color: #35637f;
    font-size: 11px;
    font-weight: 750;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.price-block {
    padding: 14px;
    border-radius: 15px;
    background: #f5f8fa;
}

.price-block.is-enrollment {
    background: #eef6fb;
}

.price-kicker {
    display: block;
    margin-bottom: 7px;
    color: #273036;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.price-block small {
    display: block;
    color: #62727c;
    font-size: 13px;
}

.price-block strong {
    display: block;
    margin-top: 3px;
    color: #143f5f;
    font-size: 19px;
    line-height: 1.1;
}

.price-block em {
    display: block;
    margin-top: 5px;
    color: #168053;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
}

.vacancy-description {
    margin: 16px 0 0;
    color: #6b7f8e;
    font-size: 12px;
    line-height: 1.55;
}

.vacancy-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 0 14px;
    border-radius: 12px;
    background: #143f5f;
    color: #ffffff;
    font-size: 12px;
    font-weight: 850;
}

.vacancy-description + .vacancy-cta,
.pricing-grid + .vacancy-cta {
    margin-top: 18px;
}

.vacancy-cta span {
    font-size: 17px;
}

.vacancies-empty {
    padding: 40px 24px;
    border: 1px dashed #cad8e1;
    border-radius: 18px;
    background: #ffffff;
    text-align: center;
}

.vacancies-empty strong {
    color: #173f5e;
}

.vacancies-empty p {
    margin: 7px 0 0;
    color: #798b98;
}

.school-info-section {
    padding: 0 0 76px;
    background: #f4f7f9;
}

.school-info-collapse {
    overflow: hidden;
    border: 1px solid #dce6ed;
    border-radius: 22px;
    background: #ffffff;
}

.school-info-collapse summary {
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 25px 28px;
    cursor: pointer;
    list-style: none;
}

.school-info-collapse summary::-webkit-details-marker {
    display: none;
}

.school-info-plus {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5fa;
    color: #0e66a9;
    font-size: 22px;
    transition: transform 0.2s ease;
}

.school-info-collapse[open] .school-info-plus {
    transform: rotate(45deg);
}

.school-info-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    padding: 26px 28px 30px;
    border-top: 1px solid #e7edf2;
}

.school-info-content article {
    padding: 18px;
    border-radius: 16px;
    background: #f7f9fb;
}

.school-info-content h3 {
    margin: 0;
    color: #173f5d;
    font-size: 15px;
}

.school-info-content p {
    margin: 8px 0 0;
    color: #6b7f8d;
    font-size: 12px;
    line-height: 1.65;
}

@media (max-width: 1020px) {


    .school-gallery-item {
        flex-basis: calc((100% - 16px) / 2);
    }

    .turn-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .turn-card:nth-child(2n) {
        border-right: 0;
    }

    .turn-card:nth-child(n + 3) {
        border-top: 1px solid #e8eef2;
    }
}

@media (max-width: 760px) {
    .school-page-nav {
        display: none;
    }

    .school-hero {
        padding: 40px 0 34px;
    }

    .school-back-link {
        margin-bottom: 18px;
    }

    .school-hero-identity {
        align-items: flex-start;
        gap: 15px;
    }

    .school-page-logo {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
        border-radius: 18px;
    }

    .school-hero h1 {
        font-size: 34px;
    }

    .school-slogan-page {
        font-size: 14px;
    }

    .school-gallery-section {
        padding: 45px 0;
    }

    .school-gallery-heading {
        align-items: flex-start;
    }

    .school-gallery-heading h2,
    .vacancies-heading h2,
    .school-info-collapse h2 {
        font-size: 29px;
    }

    .school-gallery-item {
        flex-basis: 86%;
        height: 220px;
    }

    .school-vacancies-section {
        padding: 56px 0 64px;
    }

    .campaign-benefits {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .series-group-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
        padding: 18px;
    }

    .turn-options {
        grid-template-columns: 1fr;
    }

    .turn-card {
        border-right: 0;
        border-top: 1px solid #e8eef2;
        padding: 19px;
    }

    .turn-card:first-child {
        border-top: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr 1fr;
    }

    .school-info-collapse summary {
        min-height: 0;
        align-items: flex-start;
        padding: 22px 20px;
    }

    .school-info-content {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}

@media (max-width: 420px) {
    .school-hero-identity {
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .school-page-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
    }

    .school-hero h1 {
        font-size: 30px;
    }


    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   ATALHOS INSTITUCIONAIS - ESTRUTURA / METODOLOGIA / PROPOSTA
===================================================== */

.school-profile-actions {
    padding: 24px 0 34px;
}

.school-profile-actions-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.school-profile-action {
    width: auto;
    min-height: 42px;
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #d7e3eb;
    border-radius: 999px;
    background: #fff;
    color: #17344a;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(17, 52, 77, .045);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.school-profile-action:hover,
.school-profile-action:focus {
    transform: translateY(-1px);
    border-color: #90cae8;
    background: #fbfdfe;
    box-shadow: 0 7px 18px rgba(17, 52, 77, .08);
    outline: none;
}

.school-profile-action-icon {
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef8fd;
    color: #00a7e7;
}

.school-profile-action-icon svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.school-profile-action-label {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
}

.school-profile-action-arrow {
    color: #7f9bad;
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 760px) {
    .school-profile-actions {
        padding: 22px 0 28px;
    }

    .school-profile-actions-grid {
        gap: 8px;
    }

    .school-profile-action {
        min-height: 40px;
        padding: 7px 10px;
        gap: 7px;
    }

    .school-profile-action-icon {
        width: 22px;
        min-width: 22px;
        height: 22px;
    }

    .school-profile-action-icon svg {
        width: 13px;
        height: 13px;
    }

    .school-profile-action-label {
        font-size: 10px;
    }

    .school-profile-action-arrow {
        font-size: 16px;
    }
}

body.school-info-modal-open {
    overflow: hidden;
}

.school-info-modal[hidden] {
    display: none;
}

.school-info-modal {
    position: fixed;
    inset: 0;
    z-index: 2500;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-info-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 25, 39, .62);
    backdrop-filter: blur(2px);
}

.school-info-modal-card {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(78vh, 720px);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #dfe8ef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(5, 25, 40, .22);
}

.school-info-modal-header {
    padding: 22px 24px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #edf1f4;
}

.school-info-modal-header h2 {
    margin: 4px 0 0;
    color: #14344b;
    font-size: 21px;
    line-height: 1.2;
}

.school-info-modal-close {
    width: 38px;
    min-width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f2f6f8;
    color: #3b5568;
    font-family: inherit;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.school-info-modal-close:hover,
.school-info-modal-close:focus {
    background: #e8f1f5;
    outline: none;
}

.school-info-modal-body {
    padding: 22px 24px 26px;
    overflow-y: auto;
    color: #506779;
    font-size: 14px;
    line-height: 1.75;
}

@media (max-width: 760px) {

    .school-profile-actions {
        padding: 0 0 26px;
    }

    .school-profile-actions-grid {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .school-profile-action {
        min-height: 52px;
        padding: 0 14px 0 16px;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(17, 52, 77, .04);
    }

    .school-profile-action-label {
        font-size: 12px;
    }

    .school-profile-action-arrow {
        width: 28px;
        min-width: 28px;
        height: 28px;
        font-size: 15px;
    }

    .school-info-modal {
        padding: 14px;
        align-items: flex-end;
    }

    .school-info-modal-card {
        width: 100%;
        max-height: 82vh;
        border-radius: 18px 18px 14px 14px;
    }

    .school-info-modal-header {
        padding: 18px 18px 15px;
    }

    .school-info-modal-header h2 {
        font-size: 19px;
    }

    .school-info-modal-close {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }

    .school-info-modal-body {
        padding: 18px 18px 22px;
        font-size: 13px;
        line-height: 1.7;
    }
}

/* =====================================================
   REFINO DOS MODAIS INSTITUCIONAIS
===================================================== */

.school-info-modal-intro {
    margin-bottom: 20px;
}

.school-structure-groups {
    display: grid;
    gap: 18px;
}

.school-structure-group {
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f4;
}

.school-structure-group:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.school-structure-category {
    display: block;
    margin-bottom: 9px;
    color: #17344a;
    font-size: 14px;
    font-weight: 700;
}

.school-structure-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.school-structure-list li {
    margin: 0 0 7px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #506779;
    font-size: 13px;
    line-height: 1.45;
}

.school-structure-list li:last-child {
    margin-bottom: 0;
}

.school-structure-check {
    width: 18px;
    min-width: 18px;
    height: 18px;
    margin-top: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef8fd;
    color: #00a7e7;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 760px) {

    .school-info-modal {
        padding: 16px;
        align-items: center;
        justify-content: center;
    }

    .school-info-modal-card {
        width: 100%;
        max-height: calc(100vh - 32px);
        border-radius: 18px;
    }

    .school-structure-groups {
        gap: 16px;
    }

    .school-structure-category {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .school-structure-list li {
        margin-bottom: 7px;
        font-size: 12px;
    }
}

/* =====================================================
   GALERIA - AMPLIAÇÃO DAS FOTOS
===================================================== */

body.school-gallery-lightbox-open {
    overflow: hidden;
}

.school-gallery-lightbox[hidden] {
    display: none;
}

.school-gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 18, 28, .88);
}

.school-gallery-lightbox-stage {
    width: min(1120px, calc(100vw - 130px));
    height: min(82vh, 760px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.school-gallery-lightbox-stage img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .3);
}

.school-gallery-lightbox-close {
    position: fixed;
    top: 20px;
    right: 22px;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #17344a;
    font-family: inherit;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
}

.school-gallery-lightbox-nav {
    position: fixed;
    top: 50%;
    z-index: 2;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ff8500;
    color: #fff;
    font-family: inherit;
    font-size: 31px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}

.school-gallery-lightbox-prev {
    left: 24px;
}

.school-gallery-lightbox-next {
    right: 24px;
}

@media (max-width: 760px) {

    .school-gallery-lightbox {
        padding: 14px;
    }

    .school-gallery-lightbox-stage {
        width: 100%;
        height: calc(100vh - 120px);
    }

    .school-gallery-lightbox-stage img {
        max-width: 100%;
        max-height: 100%;
        border-radius: 10px;
    }

    .school-gallery-lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
        font-size: 26px;
    }

    .school-gallery-lightbox-nav {
        top: auto;
        bottom: 18px;
        width: 42px;
        height: 42px;
        margin-top: 0;
        font-size: 28px;
    }

    .school-gallery-lightbox-prev {
        left: calc(50% - 52px);
    }

    .school-gallery-lightbox-next {
        right: calc(50% - 52px);
    }
}

