/* Design system — site institucional (cores do tema do sistema) */

.inst-body {
    margin: 0;
    font-family: var(--font);
    font-size: 17px;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.65;
}

.inst-body *,
.inst-body *::before,
.inst-body *::after {
    box-sizing: border-box;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.inst-site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.inst-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: color-mix(in srgb, var(--background-color) 92%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 12%, #ddd);
}

.inst-header__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.inst-brand img {
    max-height: 46px;
    width: auto;
    border-radius: 8px;
}

.inst-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 20%, #ccc);
    border-radius: 10px;
    background: var(--sidebar-bg);
    color: inherit;
    cursor: pointer;
    font-size: 1.1rem;
}

.inst-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    flex: 1;
    justify-content: flex-end;
}

.inst-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.inst-header__login {
    padding: 10px 16px;
    font-size: 15px;
    white-space: nowrap;
}

.inst-nav__link {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: inherit;
    text-decoration: none;
    opacity: 0.82;
    transition: opacity 0.15s, background 0.15s, color 0.15s;
}

.inst-nav__link:hover,
.inst-nav__link.is-active {
    opacity: 1;
    color: var(--primary-color);
    background: color-mix(in srgb, var(--primary-color) 8%, transparent);
}

/* Buttons */
.inst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.inst-btn:hover,
.inst-btn:focus {
    transform: translateY(-1px);
}

.inst-btn--primary {
    background: var(--primary-color);
    color: var(--headerbar-color);
    box-shadow: 0 8px 24px color-mix(in hsl, var(--primary-color), transparent 68%);
}

.inst-btn--primary:hover,
.inst-btn--primary:focus {
    background: var(--headerbar-btn-hover);
    color: var(--headerbar-color);
}

.inst-btn--ghost {
    background: transparent;
    border-color: color-mix(in hsl, var(--primary-color), white 35%);
    color: var(--primary-color);
}

.inst-btn--ghost:hover,
.inst-btn--ghost:focus {
    background: color-mix(in hsl, var(--primary-color), white 92%);
    color: var(--primary-color);
    border-color: color-mix(in hsl, var(--primary-color), white 35%);
}

/* Botões <a>: sem sublinhado nem cor de link no hover */
.inst-site a.inst-btn,
.inst-site a.inst-btn:link,
.inst-site a.inst-btn:visited,
.inst-site a.inst-btn:hover,
.inst-site a.inst-btn:focus,
.inst-site a.inst-btn:active {
    text-decoration: none;
}

.inst-site a.inst-btn--primary,
.inst-site a.inst-btn--primary:link,
.inst-site a.inst-btn--primary:visited,
.inst-site a.inst-btn--primary:hover,
.inst-site a.inst-btn--primary:focus,
.inst-site a.inst-btn--primary:active {
    color: var(--headerbar-color);
}

.inst-site a.inst-btn--ghost,
.inst-site a.inst-btn--ghost:link,
.inst-site a.inst-btn--ghost:visited,
.inst-site a.inst-btn--ghost:hover,
.inst-site a.inst-btn--ghost:focus,
.inst-site a.inst-btn--ghost:active {
    color: var(--primary-color);
}

.inst-btn--lg {
    padding: 15px 26px;
    font-size: 17px;
}

/* Main layout */
.inst-main {
    flex: 1;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px 56px;
}

.inst-section {
    padding: 48px 0;
}

.inst-section--tight {
    padding: 32px 0;
}

.inst-section__title {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.inst-section__lead {
    margin: 0 0 32px;
    max-width: 640px;
    font-size: 1.15rem;
    opacity: 0.88;
    line-height: 1.65;
}

.inst-section__title--center,
.inst-section__lead--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Hero */
.inst-hero {
    text-align: center;
    padding: 56px 12px 64px;
    border-radius: 0 0 24px 24px;
    margin: 0 -20px 24px;
    background: linear-gradient(
        160deg,
        color-mix(in srgb, var(--primary-color) 12%, #fff) 0%,
        color-mix(in hsl, var(--secondary-color), var(--background-color) 92%) 100%
    );
}

.inst-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    margin-bottom: 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    background: color-mix(in srgb, var(--secondary-color) 12%, #fff);
    color: var(--secondary-color);
    border: 1px solid color-mix(in srgb, var(--secondary-color) 22%, transparent);
}

.inst-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(2.25rem, 5.5vw, 3.5rem);
    line-height: 1.1;
    letter-spacing: -0.03em;
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}

.inst-hero__lead {
    max-width: 680px;
    margin: 0 auto 32px;
    font-size: 1.2rem;
    line-height: 1.7;
    opacity: 0.88;
}

.inst-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-bottom: 40px;
}

.inst-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    max-width: 720px;
    margin: 0 auto;
}

.inst-stat {
    padding: 20px 16px;
    border-radius: 14px;
    background: var(--sidebar-bg);
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e5e7eb);
}

.inst-stat strong {
    display: block;
    font-size: 1.85rem;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 4px;
}

.inst-stat span {
    font-size: 15px;
    opacity: 0.75;
}

/* Grid & cards */
.inst-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
}

.inst-grid--2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.inst-grid--3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.inst-card {
    background: var(--sidebar-bg);
    border-radius: 16px;
    padding: 26px 24px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e5e7eb);
    box-shadow: 0 12px 32px color-mix(in srgb, var(--primary-color) 6%, transparent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.inst-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--primary-color) 12%, transparent);
}

.inst-card__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary-color) 14%, #fff),
        color-mix(in srgb, var(--secondary-color) 12%, #fff));
    color: var(--primary-color);
}

.inst-card h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.inst-card p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.85;
}

.inst-card__tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: color-mix(in srgb, var(--secondary-color) 10%, #eee);
    color: var(--secondary-color);
}

.inst-card__price {
    display: block;
    margin: 12px 0 16px;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

.inst-card__price small {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.7;
}

.inst-card__list {
    margin: 0 0 20px;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.88;
}

.inst-card__list li {
    margin-bottom: 6px;
}

.inst-card__carga {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.75;
}

.inst-card__no-disc {
    margin: 0 0 16px;
    font-size: 14px;
    opacity: 0.7;
}

.inst-empty {
    margin: 24px 0;
    font-size: 16px;
    opacity: 0.8;
}

/* Course cards */
.inst-course {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.inst-course__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.inst-course h3 {
    margin: 0;
    font-size: 1.35rem;
}

.inst-course__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
}

.inst-course__actions .inst-btn {
    flex: 1 1 auto;
    min-width: 140px;
    justify-content: center;
}

/* Modal — grade curricular */
.inst-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.inst-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.inst-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.inst-modal__dialog {
    position: relative;
    width: min(520px, 100%);
    max-height: min(80vh, 640px);
    overflow: auto;
    background: var(--sidebar-bg);
    border-radius: 18px;
    padding: 28px 24px 24px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 14%, #e5e7eb);
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.22);
}

.inst-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 8%, #f3f4f6);
    color: inherit;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.inst-modal__close:hover {
    background: color-mix(in srgb, var(--primary-color) 14%, #e5e7eb);
}

.inst-modal__title {
    margin: 0 32px 10px 0;
    font-size: 1.35rem;
    line-height: 1.3;
}

.inst-modal__meta {
    margin: 0 0 18px;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.75;
}

.inst-modal__list {
    margin: 0;
    padding-left: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.inst-modal__list li {
    margin-bottom: 8px;
}

.inst-modal__empty {
    margin: 0;
    font-size: 15px;
    opacity: 0.75;
}

body.inst-modal-open {
    overflow: hidden;
}

/* CTA band */
.inst-cta {
    text-align: center;
    padding: 48px 28px;
    border-radius: 20px;
    background: linear-gradient(
        135deg,
        color-mix(in srgb, var(--primary-color) 14%, #fff),
        color-mix(in srgb, var(--secondary-color) 8%, #fff)
    );
    border: 1px solid color-mix(in srgb, var(--primary-color) 18%, transparent);
}

.inst-cta h2 {
    margin: 0 0 12px;
    font-size: 1.85rem;
}

.inst-cta p {
    max-width: 520px;
    margin: 0 auto 24px;
    font-size: 1.1rem;
    opacity: 0.88;
}

/* About page */
.inst-mvv {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.inst-mvv__item {
    padding: 28px 24px;
    border-radius: 16px;
    background: var(--sidebar-bg);
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e5e7eb);
    border-left: 4px solid var(--secondary-color);
}

.inst-mvv__item h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
}

.inst-mvv__item p {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
}

.inst-timeline {
    border-left: 2px solid color-mix(in srgb, var(--primary-color) 25%, #ddd);
    padding-left: 28px;
    margin-left: 8px;
}

.inst-timeline__item {
    position: relative;
    padding-bottom: 28px;
}

.inst-timeline__item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary-color) 20%, #fff);
}

.inst-timeline__item h4 {
    margin: 0 0 6px;
    font-size: 1.15rem;
}

.inst-timeline__item p {
    margin: 0;
    font-size: 16px;
    opacity: 0.85;
}

/* Contact */
.inst-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 32px;
    align-items: start;
}

.inst-contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inst-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.inst-contact-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: color-mix(in srgb, var(--primary-color) 12%, #fff);
    color: var(--primary-color);
    flex-shrink: 0;
}

.inst-contact-item h4 {
    margin: 0 0 4px;
    font-size: 16px;
}

.inst-contact-item p,
.inst-contact-item a {
    margin: 0;
    font-size: 16px;
    opacity: 0.88;
    color: inherit;
    text-decoration: none;
}

.inst-contact-item a:hover {
    color: var(--primary-color);
}

.inst-form {
    padding: 28px;
    border-radius: 16px;
    background: var(--sidebar-bg);
    border: 1px solid color-mix(in srgb, var(--primary-color) 10%, #e5e7eb);
}

.inst-form h3 {
    margin: 0 0 20px;
    font-size: 1.35rem;
}

.inst-form__row {
    margin-bottom: 16px;
}

.inst-form__row label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
}

.inst-form__row input,
.inst-form__row select,
.inst-form__row textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--primary-color) 15%, #ccc);
    border-radius: 10px;
    font: inherit;
    font-size: 16px;
    background: var(--background-color);
    color: inherit;
}

.inst-form__row textarea {
    min-height: 120px;
    resize: vertical;
}

.inst-form__note {
    margin: 12px 0 0;
    font-size: 14px;
    opacity: 0.65;
}

.inst-form button[type="submit"] {
    width: 100%;
    margin-top: 8px;
}

/* Footer */
.inst-footer {
    margin-top: auto;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 10%, #ddd);
    background: color-mix(in srgb, var(--primary-color) 4%, var(--background-color));
}

.inst-footer__inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 20px 28px;
    display: grid;
    grid-template-columns: 1.2fr 2fr;
    gap: 32px;
}

.inst-footer__brand img {
    max-height: 40px;
    margin-bottom: 14px;
}

.inst-footer__brand p {
    margin: 0;
    font-size: 16px;
    opacity: 0.8;
    line-height: 1.6;
    max-width: 320px;
}

.inst-footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.inst-footer__col h4 {
    margin: 0 0 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.7;
}

.inst-footer__col a {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
    opacity: 0.85;
}

.inst-footer__col a:hover {
    color: var(--primary-color);
    opacity: 1;
}

.inst-footer__bottom {
    text-align: center;
    padding: 16px 20px 24px;
    font-size: 15px;
    opacity: 0.65;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 8%, #ddd);
}

/* Page hero (inner pages) */
.inst-page-hero {
    padding: 40px 0 32px;
    border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 10%, #ddd);
    margin-bottom: 16px;
}

.inst-page-hero h1 {
    margin: 0 0 12px;
    font-size: clamp(2rem, 4.5vw, 2.85rem);
    letter-spacing: -0.02em;
}

.inst-page-hero p {
    margin: 0;
    max-width: 600px;
    font-size: 1.15rem;
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
    .inst-footer__inner {
        grid-template-columns: 1fr;
    }

    .inst-footer__cols {
        grid-template-columns: 1fr 1fr;
    }

    .inst-contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .inst-nav-toggle {
        display: flex;
    }

    .inst-header__inner {
        position: relative;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .inst-brand {
        flex: 1;
        min-width: 0;
    }

    .inst-brand img {
        max-height: 40px;
    }

    .inst-header__actions {
        margin-left: auto;
    }

    .inst-header__login {
        padding: 10px 12px;
        font-size: 14px;
    }

    .inst-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex: none;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 16px 20px 20px;
        background: var(--sidebar-bg);
        border-bottom: 1px solid color-mix(in srgb, var(--primary-color) 12%, #ddd);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    }

    .inst-nav.is-open {
        display: flex;
    }

    .inst-header {
        position: relative;
    }

    .inst-nav__link {
        padding: 12px 14px;
    }

    .inst-nav .inst-btn {
        margin-top: 8px;
        text-align: center;
    }

    .inst-hero {
        padding-top: 32px;
        margin-left: -20px;
        margin-right: -20px;
    }

    .inst-footer__cols {
        grid-template-columns: 1fr;
    }
}

/* === JR Info — layout moderno === */

.inst-section--alt {
    background: color-mix(in hsl, var(--primary-color), white 96%);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 16px;
}

.jr-hero-split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
    text-align: left;
    padding: 48px 24px 56px;
}

.jr-hero-split__visual {
    display: flex;
    justify-content: center;
}

.jr-icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 280px;
}

.jr-icon-grid span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    font-size: 2rem;
    background: linear-gradient(135deg,
        color-mix(in hsl, var(--primary-color), transparent 88%),
        color-mix(in hsl, var(--secondary-color), transparent 88%));
    color: var(--primary-color);
    box-shadow: 0 8px 24px color-mix(in hsl, var(--primary-color), transparent 90%);
}

.jr-nav-mat {
    margin-left: 4px;
}

.jr-page-hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.jr-page-hero__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.5rem;
    background: linear-gradient(135deg,
        color-mix(in hsl, var(--primary-color), transparent 86%),
        color-mix(in hsl, var(--secondary-color), transparent 90%));
    color: var(--primary-color);
    margin-bottom: 8px;
}

.jr-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.jr-step {
    background: var(--conteudo-bg);
    border-radius: 14px;
    padding: 20px;
    border: 1px solid color-mix(in hsl, var(--primary-color), white 88%);
}

.jr-step__num {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--headerbar-color);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 10px;
}

.jr-empty {
    text-align: center;
    padding: 48px 24px;
    background: var(--conteudo-bg);
    border-radius: 16px;
    border: 1px dashed color-mix(in hsl, var(--primary-color), white 75%);
}

.jr-empty i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.jr-mat-form {
    background: var(--conteudo-bg);
    border-radius: 16px;
    padding: 28px;
    border: 1px solid color-mix(in hsl, var(--primary-color), white 88%);
    box-shadow: 0 12px 32px color-mix(in hsl, var(--primary-color), transparent 94%);
}

.jr-mat-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 24px;
}

.jr-mat-form__resp {
    background: color-mix(in hsl, var(--secondary-color), white 96%);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid color-mix(in hsl, var(--secondary-color), white 85%);
}

.jr-mat-form__hint {
    font-size: 14px;
    opacity: 0.8;
    margin: 0 0 16px;
}

.jr-req {
    color: #dc2626;
}

.jr-curso-info {
    font-size: 14px;
    margin: 8px 0 0;
    color: var(--primary-color);
}

.jr-hero-photo {
    width: 100%;
    max-width: 420px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 16px 40px color-mix(in hsl, var(--primary-color), transparent 85%);
}

.jr-hero-extra {
    text-align: center;
    max-width: 720px;
    margin: -8px auto 0;
    padding: 0 20px;
    font-size: 1.05rem;
    color: var(--text-soft);
}

.jr-testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.jr-testimonial {
    background: var(--conteudo-bg);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid color-mix(in hsl, var(--primary-color), white 88%);
    box-shadow: 0 8px 24px color-mix(in hsl, var(--primary-color), transparent 95%);
}

.jr-testimonial__photo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
}

.jr-testimonial__avatar {
    display: inline-flex;
    width: 56px;
    height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: color-mix(in hsl, var(--primary-color), white 90%);
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.jr-testimonial blockquote {
    margin: 0 0 16px;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-color);
}

.jr-testimonial footer {
    font-size: 14px;
}

.jr-testimonial__curso {
    display: block;
    color: var(--primary-color);
    font-size: 13px;
    margin-top: 4px;
}

.jr-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}

.jr-gallery__item {
    margin: 0;
    background: var(--conteudo-bg);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid color-mix(in hsl, var(--primary-color), white 88%);
    box-shadow: 0 6px 20px color-mix(in hsl, var(--primary-color), transparent 94%);
}

.jr-gallery__item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.jr-gallery__item figcaption {
    padding: 12px 14px;
    font-size: 14px;
    color: var(--text-soft);
}

@media (max-width: 900px) {
    .jr-hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .jr-hero-split__visual {
        order: -1;
    }

    .jr-mat-form__grid {
        grid-template-columns: 1fr;
    }
}
