/* Estuda Plus - página individual independente */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: #f6f8fb;
    color: #21384a;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(30, 56, 75, 0.08);
    background: #023047;
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}


.brand-logo {
    width: 138px;
    height: auto;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text small {
    color: #ffffff;
    font-size: 12px;
    opacity: 0.88;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 650;
}

.main-nav a {
    transition: color 0.18s ease;
}

.main-nav a:hover {
    color: #85b2dd;
}

.nav-cta {
    padding: 10px 16px;
    border: 1px solid #d7e2ea;
    border-radius: 999px;
    background: #042c40;
}

.mobile-menu {
    position: relative;
    display: none;
}

.mobile-menu summary {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 12px;
    display: grid;
    place-content: center;
    gap: 5px;
    cursor: pointer;
    list-style: none;
    background: rgba(255, 255, 255, 0.06);
}

.mobile-menu summary::-webkit-details-marker {
    display: none;
}

.mobile-menu summary span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: #ffffff;
}

.mobile-menu nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(280px, calc(100vw - 28px));
    overflow: hidden;
    border: 1px solid #d9e4eb;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(10, 41, 61, 0.18);
}

.mobile-menu nav a {
    display: block;
    padding: 14px 18px;
    border-bottom: 1px solid #edf2f5;
    color: #173f5d;
    font-size: 14px;
    font-weight: 750;
}

.mobile-menu nav a:last-child {
    border-bottom: 0;
}

.mobile-menu nav a:active {
    background: #f3f7fa;
}

.preview-bar {
    padding: 9px 20px;
    background: #fff3cf;
    color: #765800;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 78px;
    background:
        linear-gradient(135deg, #eef7ff 0%, #ffffff 52%, #fff7e8 100%);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(4px);
    pointer-events: none;
}

.hero-glow-one {
    width: 380px;
    height: 380px;
    top: -190px;
    right: 10%;
    background: rgba(28, 115, 190, 0.10);
}

.hero-glow-two {
    width: 260px;
    height: 260px;
    bottom: -140px;
    left: 8%;
    background: rgba(247, 165, 35, 0.12);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(330px, 0.65fr);
    gap: 62px;
    align-items: center;
}

.eyebrow,
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f63aa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/*.eyebrow::before,
.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    border-radius: 999px;
    background: #f2a321;
}*/

.hero h1 {
    max-width: 820px;
    margin: 18px 0 20px;
    color: #173a58;
    font-size: clamp(42px, 5.3vw, 68px);
    line-height: 1.03;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: #0e67ae;
}

.hero-lead {
    max-width: 720px;
    margin: 0;
    color: #5c7183;
    font-size: 19px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 800;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, #116ab2, #0e578f);
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 94, 160, 0.22);
}

.button-primary:hover {
    box-shadow: 0 16px 34px rgba(15, 94, 160, 0.28);
}

.button-secondary {
    border: 1px solid #d8e3ec;
    background: rgba(255, 255, 255, 0.78);
    color: #244760;
}

.button-light {
    background: #fff;
    color: #174364;
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
}

.hero-proof div {
    min-height: 94px;
    padding: 18px 18px 16px;
    border: 1px solid rgba(31, 84, 123, 0.09);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.hero-proof strong {
    display: block;
    color: #163f5f;
    font-size: 24px;
    line-height: 1;
}

.hero-proof span {
    display: block;
    margin-top: 8px;
    color: #788a98;
    font-size: 12px;
    line-height: 1.35;
}

.hero-card {
    position: relative;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    background: linear-gradient(145deg, #153f61, #0e5f9e);
    color: #fff;
    box-shadow: 0 26px 60px rgba(17, 62, 96, 0.22);
}

.hero-card::after {
    content: "";
    position: absolute;
    width: 118px;
    height: 118px;
    right: -34px;
    top: -34px;
    border: 22px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
}

.hero-card-label {
    position: relative;
    z-index: 1;
    color: #bfe3ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-card-year {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: 74px;
    line-height: 1;
    letter-spacing: -0.055em;
}

.hero-card p {
    position: relative;
    z-index: 1;
    margin: 20px 0;
    color: #d8ecfb;
    font-size: 15px;
}

.hero-card ul {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    list-style: none;
}

.hero-card li {
    position: relative;
    padding: 10px 0 10px 27px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #f7fbfe;
    font-size: 14px;
}

.hero-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffbd4a;
    font-weight: 900;
}

.section {
    padding: 45px 0;
}

.section-heading {
    margin-bottom: 34px;
}

.schools-heading {
    width: 100%;
    margin: 0 0 34px;
    text-align: center;
}

.schools-heading-title {
    width: 100%;
    margin: 0;
    color: #0f63aa;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.schools-heading-subtitle {
    width: 100%;
    margin: 6px 0 0;
    color: #708292;
    font-size: 16px;
    text-align: center;
}

.section-heading-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
}

.section-heading h2,
.rules-card h2,
.final-cta h2 {
    margin: 9px 0 10px;
    color: #183c59;
    /*font-size: clamp(30px, 3vw, 42px);*/
    line-height: 1.1;
    letter-spacing: -0.035em;
}

.section-heading p,
.rules-card p {
    max-width: 680px;
    margin: 0;
    color: #708292;
}

.centered-heading {
    max-width: 720px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

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


.schools-section {
    background: #f6f8fb;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 360px));
    justify-content: center;
    gap: 24px;
}

.school-card {
    overflow: hidden;
    border: 1px solid #dde6ed;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(31, 62, 87, 0.055);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.school-card:hover {
    transform: translateY(-3px);
    border-color: #c9dae7;
    box-shadow: 0 18px 38px rgba(31, 62, 87, 0.10);
}

.school-cover {
    position: relative;
    height: 250px;
    display: block;
    overflow: hidden;
    background: #e8f1f7;
}

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

.school-card:hover .school-cover img {
    transform: scale(1.025);
}

.school-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(8, 36, 56, 0.32), transparent 58%);
    pointer-events: none;
}

.school-cover-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #dcecf7, #f4f9fc);
    color: #2f668d;
    font-size: 54px;
    font-weight: 800;
}

.campaign-badge {
    position: absolute;
    z-index: 2;
    left: 16px;
    bottom: 16px;
    max-width: calc(100% - 32px);
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    color: #174565;
    font-size: 11px;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(7, 32, 48, 0.12);
}

.school-card-body {
    padding: 22px;
}

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

.school-logo {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid #e4ebf0;
    border-radius: 14px;
    background: #fff;
}

.school-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /*padding: 5px;*/
}

.school-card h3 {
    margin: 0;
    color: #173c59;
    font-size: 20px;
    line-height: 1.2;
}

.school-card h3 a:hover {
    color: #0e64a8;
}

.school-location {
    margin: 5px 0 0;
    color: #7b8b97;
    font-size: 12px;
    font-weight: 700;
}

.school-slogan {
    min-height: 42px;
    margin: 16px 0 0;
    color: #607485;
    font-size: 13px;
    font-weight: 600;
}

.school-stats {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 10px;
    margin-top: 18px;
}

.school-stats div {
    padding: 13px 14px;
    border-radius: 14px;
    background: #f5f8fa;
}

.school-stats strong {
    display: block;
    color: #174565;
    font-size: 19px;
    line-height: 1;
}

.school-stats span {
    display: block;
    margin-top: 6px;
    color: #7d8c97;
    font-size: 11px;
}

.school-button {
    min-height: 46px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: 13px;
    background: #143f5f;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.school-button span {
    font-size: 19px;
}

.empty-state {
    padding: 48px 28px;
    border: 1px dashed #cbd8e1;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}

.empty-state strong {
    color: #1c4562;
    font-size: 20px;
}

.empty-state p {
    max-width: 650px;
    margin: 9px auto 0;
    color: #7a8b98;
}

.benefits-section {
    background: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.benefit-card {
    position: relative;
    min-height: 164px;
    overflow: hidden;
    padding: 22px 22px 20px;
    border: 1px solid rgba(21, 73, 108, 0.12);
    border-radius: 22px;
    background: #ffffff;
    box-shadow:
        0 12px 30px rgba(19, 61, 91, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.benefit-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #0e67ae 0%, #164c72 100%);
}

.benefit-card:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 103, 174, 0.22);
    box-shadow:
        0 18px 38px rgba(19, 61, 91, 0.11),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.benefit-card:nth-child(1) {
    background: linear-gradient(180deg, #ffffff 0%, #f4f9fd 100%);
}

.benefit-card:nth-child(2) {
    background: linear-gradient(180deg, #ffffff 0%, #f4faf8 100%);
}

.benefit-card:nth-child(3) {
    background: linear-gradient(180deg, #ffffff 0%, #f8f8fc 100%);
}

.benefit-card:nth-child(4) {
    background: linear-gradient(180deg, #ffffff 0%, #f7f6fb 100%);
}

.benefit-card-heading {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.benefit-number {
    min-width: 36px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid rgba(14, 103, 174, 0.14);
    border-radius: 10px;
    background: rgba(14, 103, 174, 0.08);
    color: #0e67ae;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
}

.benefit-card h3 {
    margin: 0;
    color: #163f5f;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.benefit-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #667d8e;
    font-size: 13px;
    line-height: 1.55;
}

.how-section {
    background: linear-gradient(180deg, #f0f7fc 0%, #f7fafc 100%);
}




.how-collapse {
    overflow: hidden;
    border: 1px solid #d9e5ed;
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(25, 63, 93, 0.06);
}

.how-collapse summary {
    min-height: 142px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 32px;
    cursor: pointer;
    list-style: none;
}

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

.how-summary-copy {
    min-width: 0;
}

.how-summary-copy h2 {
    margin: 8px 0 6px;
    color: #183c59;
    /*font-size: clamp(28px, 3vw, 40px);*/
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.how-summary-copy p {
    margin: 0;
    color: #708292;
}

.how-summary-action {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0f62a7;
    font-size: 13px;
    font-weight: 800;
}

.how-summary-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf5fb;
    color: #0e67ae;
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.how-collapse[open] .how-summary-icon {
    transform: rotate(45deg);
    background: #e4f0f8;
}

.how-collapse[open] .how-summary-label {
    font-size: 0;
}

.how-collapse[open] .how-summary-label::after {
    content: "Fechar etapas";
    font-size: 13px;
}

.how-collapse-content {
    padding: 0 32px 30px;
    border-top: 1px solid #e4ebf0;
}

.how-collapse-content .steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 34px;
}

.how-collapse-content .steps li:nth-child(-n + 2) {
    padding-top: 24px;
}

.how-rules-link {
    margin-top: 22px;
}

.text-link {
    display: inline-flex;
    margin-top: 20px;
    color: #0f62a7;
    font-size: 14px;
    font-weight: 800;
}

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

.steps li {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #dce6ed;
}

.steps li:first-child {
    padding-top: 0;
}

.steps > li > span {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 15px;
    background: #fff;
    color: #0f65aa;
    font-size: 15px;
    font-weight: 900;
    box-shadow: 0 6px 18px rgba(28, 80, 117, 0.08);
}

.steps strong {
    color: #193f5c;
    font-size: 17px;
}

.steps p {
    margin: 5px 0 0;
    color: #718493;
    font-size: 14px;
}

.testimonials-section {
    overflow: hidden;
    background: #ffffff;
}

.testimonials-heading {
    margin-bottom: 30px;
}

.testimonials-heading .section-heading {
    max-width: 700px;
    margin-bottom: 0;
}

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

.testimonial-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;
}

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

.testimonials-viewport {
    width: 100%;
    overflow-x: auto;
    padding: 2px 2px 16px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.testimonials-viewport::-webkit-scrollbar {
    display: none;
}

.testimonials-track {
    display: flex;
    gap: 20px;
}

.testimonial-card {
    flex: 0 0 calc((100% - 40px) / 3);
    min-width: 0;
    min-height: 305px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid #dfe8ee;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfd 100%);
    box-shadow: 0 12px 30px rgba(20, 62, 91, 0.055);
    scroll-snap-align: start;
}

.testimonial-top {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
}

.testimonial-photo,
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
}

.testimonial-photo {
    object-fit: cover;
}

.testimonial-avatar {
    display: grid;
    place-items: center;
    background: #e8f2f9;
    color: #135f94;
    font-size: 12px;
    font-weight: 900;
}

.testimonial-person {
    min-width: 0;
}

.testimonial-person strong {
    display: block;
    overflow: hidden;
    color: #173f5d;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-person span {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #7b8d9b;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-stars {
    display: flex;
    gap: 1px;
    color: #d9e0e5;
    font-size: 12px;
}

.testimonial-stars .active {
    color: #e6a125;
}

.testimonial-card blockquote {
    flex: 1;
    margin: 21px 0;
    padding: 19px 0 0;
    border-top: 1px solid #e6edf2;
    color: #536b7d;
    font-size: 14px;
    line-height: 1.62;
}

.testimonial-school {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding-top: 17px;
    border-top: 1px solid #e6edf2;
}

.testimonial-school img,
.testimonial-school-logo {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 10px;
}

.testimonial-school img {
    border: 1px solid #edf1f4;
    background: #ffffff;
    object-fit: contain;
}

.testimonial-school-logo {
    display: grid;
    place-items: center;
    background: #edf4f8;
    color: #155f92;
    font-size: 10px;
    font-weight: 900;
}

.testimonial-school div {
    min-width: 0;
}

.testimonial-school strong {
    display: block;
    overflow: hidden;
    color: #1d465f;
    font-size: 12px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.testimonial-school span {
    display: block;
    margin-top: 2px;
    color: #8a99a4;
    font-size: 10px;
}

.testimonials-footer {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}

.testimonials-footer .text-link {
    margin-top: 0;
}

.rules-section {
    padding-top: 0;
    background: #fff;
}

.rules-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 44px;
    padding: 42px;
    border-radius: 26px;
    background: #fafcfd;
    color: #fff;
    box-shadow: 0 20px 46px rgba(18, 67, 101, 0.16);
}

.rules-card .section-kicker {
    color: #183c59;
}

.rules-card h2 {
    color: #fff;
}

.rules-card p {
    color: #d7eaf7;
}

.final-cta {
    padding: 70px 0;
    background: #f7fafc;
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.final-cta h2 {
    margin-bottom: 0;
}

.site-footer {
    padding: 32px 0;
    border-top: 1px solid #dde5eb;
    background: #023047;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-inner > div:first-child {
    display: flex;
    flex-direction: column;
}

.footer-inner strong {
    color: #ffffff;
    font-size: 15px;
}

.footer-inner span {
    margin-top: 3px;
    color: #ffffff;
    font-size: 11px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 650;
}

@media (max-width: 1020px) {
    .main-nav {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

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

    .hero-card {
        max-width: 620px;
    }

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

    .testimonial-card {
        flex-basis: calc((100% - 20px) / 2);
    }

}

@media (max-width: 760px) {
    body {
        font-size: 15px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .header-inner {
        min-height: 68px;
    }

    .brand-logo {
        width: 122px;
    }

    .brand-text small {
        display: none;
    }

    .hero-card {
        display: none;
    }

    .hero {
        padding: 58px 0 54px;
    }

    .hero-grid {
        gap: 36px;
    }

    .hero h1 {
        margin-top: 14px;
        font-size: clamp(39px, 13vw, 56px);
    }

    .hero-lead {
        font-size: 17px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-proof {
        grid-template-columns: 1fr;
    }

    .hero-proof div {
        min-height: auto;
    }

    .hero-card {
        padding: 27px;
        border-radius: 22px;
    }

    .hero-card-year {
        font-size: 64px;
    }

    .section {
        padding: 62px 0;
    }

    .how-collapse summary {
        min-height: 0;
        align-items: flex-start;
        gap: 18px;
        padding: 22px 20px;
    }

    .how-summary-copy h2 {
        font-size: 28px;
    }

    .how-summary-copy p {
        font-size: 13px;
    }

    .how-summary-label {
        display: none;
    }

    .how-summary-icon {
        width: 36px;
        height: 36px;
        flex: 0 0 36px;
    }

    .how-collapse-content {
        padding: 0 20px 22px;
    }

    .how-collapse-content .steps {
        grid-template-columns: 1fr;
    }

    .how-collapse-content .steps li:nth-child(2) {
        padding-top: 24px;
    }

    .testimonials-heading {
        margin-bottom: 22px;
    }

    .testimonial-card {
        flex-basis: 86%;
        min-height: 0;
        padding: 21px;
    }

    .testimonial-top {
        grid-template-columns: 43px minmax(0, 1fr);
    }

    .testimonial-photo,
    .testimonial-avatar {
        width: 43px;
        height: 43px;
    }

    .testimonial-stars {
        grid-column: 2;
        margin-top: -4px;
    }

    .section-heading-row,
    .rules-card,
    .final-cta-inner,
    .footer-inner {
        align-items: stretch;
        flex-direction: column;
    }

    .school-grid,
    .benefits-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .school-cover {
        height: 250px;
    }

    .benefit-card {
        min-height: 0;
    }

    .rules-card {
        padding: 28px;
    }

    .final-cta {
        padding: 54px 0;
    }

    .footer-links {
        gap: 15px;
    }
}

@media (max-width: 420px) {
    .school-card-body {
        padding: 19px;
    }

    .school-stats {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 40px;
    }
}

/* Componentes específicos da escola */
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 30px;
    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: 5px;
    color: #0f63aa;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.school-hero h1 {
    margin: 0;
    color: #173d5b;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

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

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








.school-gallery-section {
    padding: 40px 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: 40px 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: 14px;
    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;
    text-align: center;
}

.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 15px;*/
    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);
    }
}


/* =====================================================
   CONVERSÃO - PRIMEIRA DOBRA
   Estilos da primeira dobra orientada à conversão.
===================================================== */

.school-hero-conversion {
    padding: 34px 0 40px;
    background:
        radial-gradient(circle at 88% 18%, rgba(255, 133, 0, 0.10), transparent 30%),
        linear-gradient(135deg, #edf7ff 0%, #ffffff 58%, #fff8ec 100%);
}

.conversion-hero-grid {
    max-width: 940px;
    margin: 0 auto;
}

.conversion-hero-content {
    padding: 28px;
    border: 1px solid #dce7ee;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 42px rgba(20, 67, 99, 0.07);
}

.conversion-school-identity {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.conversion-offer-copy {
    max-width: 760px;
    margin-top: 22px;
}

.conversion-offer-copy h2 {
    margin: 0;
    color: #173d5b;
    font-size: clamp(26px, 3.6vw, 42px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.conversion-offer-copy p {
    max-width: 720px;
    margin: 14px 0 0;
    color: #5d7282;
    font-size: 17px;
    line-height: 1.55;
}

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

.conversion-benefit-card {
    padding: 14px 16px;
    border: 1px solid #dce7ee;
    border-radius: 14px;
    background: #f8fbfd;
}

.conversion-benefit-card strong {
    display: block;
    color: #0f619e;
    font-size: 16px;
    line-height: 1.2;
}

.conversion-benefit-card span {
    display: block;
    margin-top: 3px;
    color: #5f7483;
    font-size: 11px;
    line-height: 1.4;
}

.conversion-benefit-card-wide {
    grid-column: 1 / -1;
    background: #fffaf3;
    border-color: #f2dfc8;
}

.conversion-benefit-card-wide strong {
    color: #ad6200;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.conversion-benefit-card-wide span {
    color: #665848;
    font-size: 13px;
}

.conversion-hero-actions {
    margin-top: 20px;
}

.conversion-primary-cta {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    border-radius: 13px;
    background: #143f5f;
    color: #ffffff;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(20, 63, 95, 0.16);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.conversion-primary-cta:hover,
.conversion-primary-cta:focus {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(20, 63, 95, 0.20);
    color: #ffffff;
    outline: none;
}

.conversion-primary-cta span {
    font-size: 17px;
    line-height: 1;
}

.conversion-trust-line {
    margin: 9px 0 0;
    color: #728591;
    font-size: 11px;
    font-weight: 650;
}

.conversion-trust-line span {
    margin: 0 5px;
    color: #a7b5be;
}

@media (max-width: 760px) {
    .school-hero-conversion {
        padding: 28px 0 34px;
    }

    .conversion-hero-content {
        padding: 20px 16px;
        border-radius: 20px;
    }

    .conversion-school-identity {
        align-items: flex-start;
        gap: 12px;
    }

    .conversion-school-logo {
        width: 64px;
        height: 64px;
        flex-basis: 64px;
        border-radius: 16px;
    }

    .conversion-offer-copy {
        margin-top: 18px;
    }

    .conversion-offer-copy h2 {
        font-size: 28px;
    }

    .conversion-offer-copy p {
        margin-top: 10px;
        font-size: 14px;
    }

    .conversion-benefits {
        grid-template-columns: 1fr;
        gap: 8px;
        margin-top: 18px;
    }

    .conversion-benefit-card-wide {
        grid-column: auto;
    }

    .conversion-benefit-card {
        padding: 13px 14px;
    }

    .conversion-benefit-card strong {
        font-size: 15px;
    }

    .conversion-primary-cta {
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        font-size: 12px;
    }

    .conversion-trust-line {
        text-align: center;
        line-height: 1.55;
    }
}

/* =====================================================
   ACORDEÃO DE SÉRIES
===================================================== */

.series-group > summary {
    list-style: none;
}

.series-group > summary::-webkit-details-marker {
    display: none;
}

.series-group-header {
    cursor: pointer;
    user-select: none;
}

.series-group-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.series-group-chevron {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #edf4f8;
    color: #53758c;
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
    transition: transform 0.18s ease, background 0.18s ease;
}

.series-group[open] .series-group-chevron {
    transform: rotate(180deg);
    background: #e2f0f8;
}

.series-group:not([open]) .series-group-header {
    border-bottom-color: transparent;
}

.series-group[open] .series-group-header {
    border-bottom-color: #e8eef2;
}

@media (max-width: 760px) {
    .series-group-header {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .series-group-header > div:first-child {
        min-width: 0;
    }

    .series-group-header h3 {
        font-size: 19px;
    }

    .series-group-meta {
        flex: 0 0 auto;
        margin-left: auto;
    }

    .series-group-meta small {
        display: none;
    }

    .series-group-chevron {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .school-vacancies-section {
        padding-top: 38px;
    }
}

/* Botão simples - voltar para todas as escolas participantes */
.school-simple-back-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 18px auto 0;
    padding: 10px 16px;
    border: 1px solid #d7e3eb;
    border-radius: 10px;
    background: #ffffff;
    color: #173f5b;
    font-size: 12px;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}

.school-simple-back-button:hover,
.school-simple-back-button:focus {
    background: #f7fafc;
    border-color: #b9cfdd;
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 760px) {
    .school-simple-back-button {
        width: 100%;
        margin-top: 14px;
        padding: 11px 14px;
        font-size: 11px;
    }
}

/* =====================================================
   AJUSTES FINAIS DO ACORDEÃO DE SÉRIES
   - mantém "x turnos disponíveis" visível no mobile
   - prepara conteúdo para animação suave via JS
===================================================== */

.series-group .turn-options {
    overflow: hidden;
}

@media (max-width: 760px) {
    .series-group-meta small {
        display: inline-flex;
        align-items: center;
        padding: 6px 8px;
        font-size: 9px;
        line-height: 1.2;
        white-space: nowrap;
    }

    .series-group-meta {
        gap: 7px;
    }

    .series-group-chevron {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }
}

@media (max-width: 420px) {
    .series-group-header {
        padding: 15px 14px;
        gap: 8px;
    }

    .series-group-header h3 {
        font-size: 17px;
    }

    .series-group-meta small {
        padding: 5px 7px;
        font-size: 8px;
    }

    .series-group-chevron {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
        font-size: 18px;
    }
}

/* Cabeçalho e rodapé públicos compartilhados */
/* Estuda Plus | Escolas - visual público independente do legado */
:root {
    --ep-navy: #023047;
    --ep-blue: #1479a7;
    --ep-text: #21384a;
    --ep-muted: #627585;
    --ep-border: #dee8ef;
    --ep-bg: #f5f8fb;
}
*, *::before, *::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--ep-bg);
    color: var(--ep-text);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.45;
}
a {
    color: inherit;
    text-decoration: none;
}
button, input, select {
    font: inherit;
}
.ep-container {
    width: min(1180px, calc(100% - 32px));
    margin-inline: auto;
}
.ep-header {
    background: var(--ep-navy);
    color: #fff;
}
.ep-header-inner {
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.ep-header img {
    display: block;
    width: 144px;
    height: auto;
}
.ep-header-label {
    font-size: 13px;
    font-weight: 600;
    opacity: .88;
}
.ep-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}
.ep-top-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px 22px;
    font-size: 13px;
    font-weight: 700;
}
.ep-top-nav a {
    color: rgba(255, 255, 255, .85);
    transition: color .2s ease;
}
.ep-top-nav a:hover,
.ep-top-nav a:focus-visible,
.ep-top-nav .ep-top-active {
    color: #fff;
}
.ep-top-active {
    text-decoration: underline;
    text-decoration-color: #fb8500;
    text-underline-offset: 7px;
    text-decoration-thickness: 2px;
}
.ep-intro {
    padding: 30px 0 24px;
    background: linear-gradient(120deg, #eef7fc, #fff);
    border-bottom: 1px solid var(--ep-border);
}
.ep-eyebrow {
    margin: 0 0 8px;
    color: var(--ep-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ep-intro h1 {
    margin: 0;
    color: #173e57;
    font-size: clamp(25px, 3.3vw, 37px);
    line-height: 1.15;
}
.ep-intro p:not(.ep-eyebrow) {
    margin: 10px 0 0;
    color: var(--ep-muted);
}
.ep-preview {
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff2cf;
    color: #745000 !important;
    font-size: 13px;
}
.ep-listing {
    padding-top: 24px;
    padding-bottom: 48px;
}
.ep-search-panel {
    padding: 20px;
    border: 1px solid var(--ep-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 23px rgba(2, 48, 71, .045);
}
.ep-search-panel label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 750;
    color: #304e60;
}
.ep-search-wrap {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    border: 1px solid #cbdce7;
    border-radius: 11px;
    background: #fff;
}
.ep-search-wrap svg {
    flex: none;
    fill: none;
    stroke: #4684a4;
    stroke-width: 2;
    stroke-linecap: round;
}
.ep-search-wrap input {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: none;
    outline: none;
    background: transparent;
    color: var(--ep-text);
    font-size: 15px;
}
.ep-search-wrap:focus-within {
    outline: 3px solid rgba(20, 121, 167, .17);
    border-color: #1479a7;
}
.ep-results-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin: 26px 0 17px;
}
.ep-results-heading h2 {
    margin: 0;
    font-size: 21px;
    color: #173e57;
}
.ep-results-heading p {
    margin: 0;
    color: var(--ep-muted);
    font-size: 13px;
}
.ep-school-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}
.ep-school-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--ep-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(2, 48, 71, .05);
    transition: transform .18s ease, box-shadow .18s ease;
}
.ep-school-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(2, 48, 71, .12);
}
.ep-school-card > a {
    display: flex;
    height: 100%;
    flex-direction: column;
}
.ep-school-card a:focus-visible {
    outline: 3px solid #fb8500;
    outline-offset: -3px;
}
.ep-school-image {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    padding: 12px;
    background: #fff;
}
.ep-school-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.ep-school-image > span {
    display: grid;
    place-items: center;
    width: 70%;
    aspect-ratio: 1;
    border-radius: 14px;
    background: #e9f4fa;
    color: var(--ep-blue);
    font-size: 27px;
    font-weight: 800;
}
.ep-school-details {
    flex: 1;
    padding: 9px 11px 12px;
    text-align: center;
}
.ep-school-details h3 {
    margin: 0;
    color: #163d56;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 750;
    overflow-wrap: anywhere;
}
.ep-school-details p {
    margin: 6px 0 0;
    color: var(--ep-muted);
    font-size: 11px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}
.ep-school-action {
    display: flex;
    justify-content: center;
    gap: 9px;
    align-items: center;
    min-height: 38px;
    padding: 7px 9px;
    background: var(--ep-navy);
    color: #fff;
    font-size: 12px;
    font-weight: 750;
}
.ep-school-card:hover .ep-school-action {
    background: #075477;
}
.ep-empty {
    padding: 28px 16px;
    border: 1px dashed #cbdce7;
    border-radius: 14px;
    background: #fff;
    color: var(--ep-muted);
    text-align: center;
}
[hidden] {
    display: none !important;
}
.ep-footer {
    padding: 38px 0 0;
    background: var(--ep-navy);
    color: #fff;
}
.ep-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 34px;
    padding-bottom: 34px;
}
.ep-footer-brand img {
    display: block;
    width: 148px;
    height: auto;
}
.ep-footer-brand p {
    max-width: 340px;
    margin: 15px 0 0;
    color: #c5d9e4;
    font-size: 13px;
    line-height: 1.65;
}
.ep-footer-about {
    margin-top: 8px !important;
}
.ep-footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
}
.ep-footer-links h2 {
    margin: 2px 0 6px;
    color: #fff;
    font-size: 14px;
}
.ep-footer-links a {
    color: #c5d9e4;
    font-size: 13px;
    line-height: 1.45;
}
.ep-footer-links a:hover,
.ep-footer-links a:focus-visible {
    color: #fff;
    text-decoration: underline;
}
.ep-footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    padding-top: 18px;
    padding-bottom: 22px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}
.ep-footer-bottom span {
    font-size: 11px;
    color: #bad0dc;
}
@media (max-width: 760px) {
    .ep-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 17px;
    }
    .ep-footer-brand {
        grid-column: 1 / -1;
    }
    .ep-footer-grid .ep-footer-links:last-of-type {
        grid-column: 1 / -1;
    }
    .ep-top-nav {
        gap: 8px 12px;
        font-size: 12px;
    }
    .ep-top-nav a:not(.ep-top-active) {
        display: none;
    }
}
@media (max-width: 1050px) {
    .ep-school-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 760px) {
    .ep-school-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}
@media (max-width: 520px) {
    .ep-container {
        width: calc(100% - 24px);
    }
    .ep-header-inner {
        min-height: 62px;
    }
    .ep-header img {
        width: 124px;
    }
    .ep-header-label {
        font-size: 11px;
    }
    .ep-intro {
        padding: 22px 0 18px;
    }
    .ep-listing {
        padding-top: 16px;
    }
    .ep-search-panel {
        padding: 14px;
    }
    .ep-results-heading {
        margin-top: 21px;
    }
    .ep-school-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 11px;
    }
    .ep-school-image {
        padding: 8px;
    }
    .ep-school-details {
        padding: 7px 7px 9px;
    }
    .ep-school-details h3 {
        font-size: 13px;
    }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}


/* Página individual: composição com componentes compartilhados. */
.ep-container { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.ep-header .ep-top-active { color: rgba(255,255,255,.85); text-decoration: none; }
.ep-header .ep-top-nav a:first-child { color: #fff; text-decoration: underline; text-decoration-color: #fb8500; text-underline-offset: 7px; }
.vacancy-cta-pending { justify-content: center; background: #e9eef2; color: #526b7e; cursor: default; }
.payment-methods { display: block; font-size: 11px; margin-top: 8px; text-align: center; color: #687c8e; }
.school-vacancies-section .campaign-benefits-content { color: #48677d; font-size: 14px; line-height: 1.5; }
.school-vacancies-section .campaign-benefits-content p { margin: 0 0 5px; }
.school-vacancies-section .campaign-benefits-content p:last-child { margin-bottom: 0; }
@media(max-width:760px){.ep-header .ep-top-nav a:first-child{display:inline;} }
