:root {
    --mf-blue-950: #0b2e68;
    --mf-blue-900: #123d8c;
    --mf-blue-800: #164eaa;
    --mf-blue-700: #1767f2;
    --mf-blue-600: #1f75ff;
    --mf-cyan-400: #40c7ff;
    --mf-cyan-100: #dff6ff;
    --mf-ink: #10213e;
    --mf-muted: #5d6e88;
    --mf-line: #dbe4f0;
    --mf-surface: #ffffff;
    --mf-background: #eef3f9;
    --mf-success: #0e9f6e;
    --mf-shadow: 0 24px 70px rgba(17, 48, 96, .15);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.mf-landing-page {
    margin: 0;
    min-width: 320px;
    background: var(--mf-background);
    color: var(--mf-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.mf-landing-page a {
    color: inherit;
}

.mf-landing-page svg {
    display: block;
}

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

.mf-skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    transform: translateY(-180%);
    padding: 12px 16px;
    border-radius: 10px;
    background: #fff;
    color: var(--mf-blue-900);
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
}

.mf-skip-link:focus {
    transform: translateY(0);
}

.mf-site-header {
    position: relative;
    z-index: 20;
    padding: 18px 0;
    background: rgba(238, 243, 249, .9);
    border-bottom: 1px solid rgba(191, 206, 225, .65);
    backdrop-filter: blur(18px);
}

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

.mf-brand,
.mf-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.mf-brand-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 14px;
    background: linear-gradient(145deg, var(--mf-blue-900), var(--mf-blue-700));
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.03em;
    box-shadow: 0 10px 24px rgba(23, 103, 242, .25);
}

.mf-brand-copy,
.mf-footer-brand > span:last-child {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.mf-brand-copy strong,
.mf-footer-brand strong {
    color: var(--mf-blue-950);
    font-size: 18px;
    line-height: 1.05;
    letter-spacing: -.02em;
}

.mf-brand-copy small,
.mf-footer-brand small {
    margin-top: 4px;
    color: var(--mf-blue-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.mf-primary-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.mf-primary-nav a {
    position: relative;
    color: #40516b;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.mf-primary-nav a::after {
    position: absolute;
    right: 50%;
    bottom: -9px;
    left: 50%;
    height: 2px;
    border-radius: 999px;
    background: var(--mf-blue-600);
    content: "";
    transition: right .18s ease, left .18s ease;
}

.mf-primary-nav a:hover::after,
.mf-primary-nav a:focus-visible::after {
    right: 0;
    left: 0;
}

.mf-header-cta,
.mf-button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 13px;
    font-weight: 850;
    line-height: 1;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.mf-header-cta {
    padding: 0 19px;
    background: linear-gradient(90deg, #1477ff, #2851df);
    color: #fff;
    font-size: 14px;
    box-shadow: 0 10px 24px rgba(30, 96, 224, .22);
}

.mf-header-cta svg,
.mf-button svg,
.mf-text-link svg {
    width: 19px;
    height: 19px;
}

.mf-header-cta:hover,
.mf-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

.mf-header-cta:focus-visible,
.mf-button:focus-visible,
.mf-text-link:focus-visible,
.mf-primary-nav a:focus-visible {
    outline: 3px solid rgba(64, 199, 255, .65);
    outline-offset: 4px;
}

.mf-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 0 92px;
    background:
        radial-gradient(circle at 10% 20%, rgba(64, 199, 255, .13), transparent 32%),
        linear-gradient(180deg, #f3f7fc 0%, #edf3fa 100%);
}

.mf-hero::before {
    position: absolute;
    inset: 0;
    opacity: .23;
    background-image:
        linear-gradient(rgba(35, 79, 147, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(35, 79, 147, .08) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
    mask-image: linear-gradient(to bottom, black, transparent 72%);
}

.mf-hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(8px);
    pointer-events: none;
}

.mf-hero-orb-one {
    top: -150px;
    right: -110px;
    width: 410px;
    height: 410px;
    background: rgba(34, 105, 244, .11);
}

.mf-hero-orb-two {
    bottom: -210px;
    left: 20%;
    width: 360px;
    height: 360px;
    background: rgba(64, 199, 255, .14);
}

.mf-hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(500px, 1.08fr);
    align-items: center;
    gap: 72px;
}

.mf-eyebrow,
.mf-section-kicker {
    margin: 0 0 18px;
    color: var(--mf-blue-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.mf-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mf-eyebrow span {
    display: inline-block;
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: var(--mf-cyan-400);
}

.mf-hero h1 {
    max-width: 670px;
    margin: 0;
    color: var(--mf-blue-950);
    font-size: clamp(42px, 5.1vw, 68px);
    line-height: 1.02;
    letter-spacing: -.055em;
}

.mf-hero h1 em {
    color: var(--mf-blue-700);
    font-style: normal;
}

.mf-hero-lead {
    max-width: 620px;
    margin: 26px 0 0;
    color: var(--mf-muted);
    font-size: 19px;
    line-height: 1.65;
}

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

.mf-button {
    padding: 0 24px;
    font-size: 15px;
}

.mf-button-primary {
    background: linear-gradient(90deg, #1477ff, #2851df);
    color: #fff;
    box-shadow: 0 14px 30px rgba(25, 97, 228, .25);
}

.mf-button-secondary {
    border: 1px solid #c6d4e7;
    background: rgba(255, 255, 255, .78);
    color: var(--mf-blue-900);
}

.mf-trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 17px 24px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.mf-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4c607d;
    font-size: 12px;
    font-weight: 800;
}

.mf-trust-list svg {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #dcf7ed;
    color: var(--mf-success);
}

.mf-hero-visual {
    position: relative;
    min-width: 0;
    padding: 36px 18px 42px;
}

.mf-visual-glow {
    position: absolute;
    inset: 12% 3% 4%;
    border-radius: 48px;
    background: linear-gradient(145deg, rgba(23, 103, 242, .35), rgba(64, 199, 255, .22));
    filter: blur(36px);
}

.mf-journey-card {
    position: relative;
    z-index: 2;
    overflow: hidden;
    padding: 27px;
    border: 1px solid rgba(188, 205, 228, .85);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    box-shadow: var(--mf-shadow);
}

.mf-journey-card::before {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--mf-blue-900), var(--mf-blue-600), var(--mf-cyan-400));
    content: "";
}

.mf-journey-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.mf-card-kicker {
    color: var(--mf-blue-600);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.mf-journey-header h2 {
    max-width: 340px;
    margin: 8px 0 0;
    color: var(--mf-blue-950);
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.mf-status-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 999px;
    background: #edf9f5;
    color: #0a7d5a;
    font-size: 10px;
    font-weight: 850;
}

.mf-status-dot i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #13b77d;
    box-shadow: 0 0 0 4px rgba(19, 183, 125, .12);
}

.mf-progress-summary {
    margin: 24px 0 21px;
    padding: 17px;
    border: 1px solid #dde7f3;
    border-radius: 15px;
    background: linear-gradient(135deg, #f5f9ff, #edf6ff);
}

.mf-progress-copy {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
}

.mf-progress-copy strong {
    color: var(--mf-blue-900);
    font-size: 25px;
    letter-spacing: -.04em;
}

.mf-progress-copy span {
    color: #657690;
    font-size: 11px;
    font-weight: 750;
}

.mf-progress-track {
    overflow: hidden;
    height: 7px;
    margin-top: 11px;
    border-radius: 999px;
    background: #d8e4f3;
}

.mf-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--mf-blue-700), var(--mf-cyan-400));
}

.mf-timeline {
    display: grid;
    gap: 9px;
}

.mf-timeline-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid #e3eaf3;
    border-radius: 14px;
    background: #fff;
}

.mf-event-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 12px;
}

.mf-event-icon svg {
    width: 21px;
    height: 21px;
}

.mf-event-blue {
    background: #e9f1ff;
    color: #2867da;
}

.mf-event-cyan {
    background: #e3f8ff;
    color: #078db8;
}

.mf-event-green {
    background: #e5f8f0;
    color: #0b9568;
}

.mf-timeline-item strong {
    display: block;
    color: #203550;
    font-size: 12px;
}

.mf-timeline-item p {
    margin: 4px 0 0;
    color: #718199;
    font-size: 10px;
    line-height: 1.35;
}

.mf-event-badge {
    padding: 6px 8px;
    border-radius: 8px;
    background: #f0f4f9;
    color: #64748b;
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.mf-journey-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 18px -27px -27px;
    padding: 16px 27px;
    background: linear-gradient(95deg, var(--mf-blue-950), var(--mf-blue-800));
    color: #fff;
}

.mf-journey-footer span {
    color: #acd8ff;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.mf-journey-footer strong {
    text-align: right;
    font-size: 11px;
}

.mf-floating-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 180px;
    padding: 12px 14px;
    border: 1px solid rgba(201, 215, 234, .9);
    border-radius: 15px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 16px 34px rgba(18, 52, 102, .17);
}

.mf-floating-note-top {
    top: 0;
    right: -12px;
}

.mf-floating-note-bottom {
    bottom: 0;
    left: -10px;
}

.mf-note-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eaf3ff;
    color: var(--mf-blue-700);
}

.mf-note-icon svg {
    width: 19px;
    height: 19px;
}

.mf-floating-note > span:last-child {
    display: flex;
    flex-direction: column;
}

.mf-floating-note strong {
    color: var(--mf-blue-950);
    font-size: 11px;
}

.mf-floating-note small {
    margin-top: 3px;
    color: #75859c;
    font-size: 9px;
}

.mf-value-section {
    padding: 92px 0;
    background: #fff;
}

.mf-section-heading {
    max-width: 720px;
    margin: 0 auto 44px;
    text-align: center;
}

.mf-section-heading h2,
.mf-audience-copy h2,
.mf-final-cta h2 {
    margin: 0;
    color: var(--mf-blue-950);
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    letter-spacing: -.045em;
}

.mf-section-heading > p:last-child,
.mf-audience-copy > p {
    margin: 18px auto 0;
    color: var(--mf-muted);
    font-size: 17px;
    line-height: 1.65;
}

.mf-value-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.mf-value-card {
    position: relative;
    overflow: hidden;
    min-height: 275px;
    padding: 28px;
    border: 1px solid #dfe8f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 15px 38px rgba(24, 55, 101, .07);
}

.mf-value-card-featured {
    background: linear-gradient(145deg, var(--mf-blue-950), var(--mf-blue-800));
    border-color: transparent;
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 22px 48px rgba(18, 61, 140, .22);
}

.mf-value-number {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #e6edf6;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -.08em;
}

.mf-value-card-featured .mf-value-number {
    color: rgba(255, 255, 255, .13);
}

.mf-value-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    margin-bottom: 34px;
    border-radius: 15px;
    background: #eaf3ff;
    color: var(--mf-blue-700);
}

.mf-value-card-featured .mf-value-icon {
    background: rgba(255, 255, 255, .13);
    color: var(--mf-cyan-400);
}

.mf-value-icon svg {
    width: 25px;
    height: 25px;
}

.mf-value-card h3 {
    margin: 0;
    color: var(--mf-blue-950);
    font-size: 21px;
    letter-spacing: -.025em;
}

.mf-value-card-featured h3 {
    color: #fff;
}

.mf-value-card p {
    margin: 13px 0 0;
    color: #65758d;
    font-size: 14px;
    line-height: 1.65;
}

.mf-value-card-featured p {
    color: #c8d9f2;
}

.mf-audience-section {
    padding: 92px 0;
    background: linear-gradient(180deg, #f2f6fb, #eaf1f8);
}

.mf-audience-grid {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(480px, 1.12fr);
    align-items: center;
    gap: 70px;
}

.mf-audience-copy > p {
    max-width: 560px;
    margin-left: 0;
}

.mf-text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    color: var(--mf-blue-700);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
}

.mf-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.mf-profile-card {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 14px;
    min-height: 108px;
    padding: 20px;
    border: 1px solid #d9e4f1;
    border-radius: 17px;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 12px 30px rgba(21, 52, 96, .07);
}

.mf-profile-card > span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 13px;
    background: linear-gradient(145deg, #e5f1ff, #d8eaff);
    color: var(--mf-blue-700);
    font-size: 12px;
    font-weight: 950;
}

.mf-profile-card div {
    min-width: 0;
}

.mf-profile-card strong {
    display: block;
    color: var(--mf-blue-950);
    font-size: 15px;
}

.mf-profile-card small {
    display: block;
    margin-top: 5px;
    color: #6c7d95;
    font-size: 11px;
    line-height: 1.45;
}

.mf-final-cta {
    padding: 0 0 88px;
    background: linear-gradient(180deg, #eaf1f8 0%, #eef3f9 100%);
}

.mf-final-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 42px;
    overflow: hidden;
    padding: 42px 46px;
    border-radius: 25px;
    background:
        radial-gradient(circle at 82% -40%, rgba(64, 199, 255, .34), transparent 38%),
        linear-gradient(125deg, var(--mf-blue-950), #164fae 68%, #1767f2);
    color: #fff;
    box-shadow: 0 24px 55px rgba(18, 61, 140, .24);
}

.mf-final-label {
    display: inline-block;
    margin-bottom: 13px;
    color: var(--mf-cyan-400);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .16em;
}

.mf-final-cta h2 {
    max-width: 680px;
    color: #fff;
    font-size: clamp(28px, 3.3vw, 42px);
}

.mf-final-cta p {
    margin: 14px 0 0;
    color: #cbdcf3;
    font-size: 15px;
}

.mf-button-light {
    flex: 0 0 auto;
    background: #fff;
    color: var(--mf-blue-900);
    box-shadow: 0 14px 30px rgba(6, 27, 70, .22);
}

.mf-site-footer {
    padding: 28px 0;
    border-top: 1px solid #dce5ef;
    background: #fff;
}

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

.mf-footer-brand .mf-brand-mark {
    width: 39px;
    height: 39px;
    border-radius: 12px;
    font-size: 13px;
}

.mf-footer-brand strong {
    font-size: 14px;
}

.mf-footer-brand small {
    font-size: 8px;
}

.mf-footer-inner > p {
    margin: 0;
    color: #74839a;
    font-size: 12px;
    text-align: right;
}

@media (max-width: 1040px) {
    .mf-primary-nav {
        display: none;
    }

    .mf-hero-grid {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .mf-hero-content {
        max-width: 780px;
        text-align: center;
        margin: 0 auto;
    }

    .mf-eyebrow {
        justify-content: center;
    }

    .mf-hero h1,
    .mf-hero-lead {
        margin-left: auto;
        margin-right: auto;
    }

    .mf-hero-actions,
    .mf-trust-list {
        justify-content: center;
    }

    .mf-hero-visual {
        width: min(680px, 100%);
        margin: 0 auto;
    }

    .mf-audience-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .mf-audience-copy {
        max-width: 720px;
        text-align: center;
        margin: 0 auto;
    }

    .mf-audience-copy > p {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 760px) {
    .mf-container {
        width: min(100% - 28px, 1180px);
    }

    .mf-site-header {
        padding: 13px 0;
    }

    .mf-brand-copy small {
        display: none;
    }

    .mf-header-cta {
        min-height: 44px;
        padding: 0 14px;
        font-size: 12px;
    }

    .mf-header-cta svg {
        display: none;
    }

    .mf-hero {
        padding: 58px 0 68px;
    }

    .mf-hero h1 {
        font-size: clamp(39px, 12vw, 54px);
    }

    .mf-hero-lead {
        font-size: 16px;
    }

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

    .mf-button {
        width: 100%;
    }

    .mf-trust-list {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .mf-hero-visual {
        padding: 28px 0 34px;
    }

    .mf-journey-card {
        padding: 20px;
        border-radius: 20px;
    }

    .mf-journey-header {
        flex-direction: column;
    }

    .mf-timeline-item {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .mf-event-badge {
        grid-column: 2;
        justify-self: start;
    }

    .mf-journey-footer {
        align-items: flex-start;
        flex-direction: column;
        margin: 16px -20px -20px;
        padding: 16px 20px;
    }

    .mf-journey-footer strong {
        text-align: left;
    }

    .mf-floating-note {
        position: relative;
        right: auto;
        bottom: auto;
        left: auto;
        width: calc(50% - 6px);
        min-width: 0;
        margin-top: 12px;
        display: inline-flex;
        vertical-align: top;
    }

    .mf-floating-note-bottom {
        margin-left: 8px;
    }

    .mf-value-section,
    .mf-audience-section {
        padding: 68px 0;
    }

    .mf-value-grid,
    .mf-profile-grid {
        grid-template-columns: 1fr;
    }

    .mf-value-card-featured {
        transform: none;
    }

    .mf-final-cta {
        padding-bottom: 60px;
    }

    .mf-final-cta-card {
        align-items: flex-start;
        flex-direction: column;
        padding: 32px 25px;
    }

    .mf-button-light {
        width: 100%;
    }

    .mf-footer-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .mf-footer-inner > p {
        text-align: left;
    }
}

@media (max-width: 460px) {
    .mf-brand-mark {
        width: 42px;
        height: 42px;
    }

    .mf-brand-copy strong {
        font-size: 15px;
    }

    .mf-header-cta {
        min-height: 42px;
        padding: 0 12px;
    }

    .mf-eyebrow {
        font-size: 10px;
        letter-spacing: .09em;
    }

    .mf-floating-note {
        width: 100%;
    }

    .mf-floating-note-bottom {
        margin-left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/*
 * MF EDUCAR — Frontend Institucional V004
 * Refinamento visual, contraste, hierarquia e interação.
 * Camada somente visual: não altera autenticação, sessão, AACP ou rotas.
 */

/* Corrige a especificidade da regra global de links e garante contraste real. */
.mf-landing-page .mf-header-cta,
.mf-landing-page .mf-button-primary {
    color: #fff;
}

.mf-landing-page .mf-button-secondary,
.mf-landing-page .mf-button-light,
.mf-landing-page .mf-text-link {
    color: var(--mf-blue-900);
}

.mf-site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    background: rgba(245, 248, 252, .88);
    border-bottom-color: rgba(174, 195, 221, .72);
    box-shadow: 0 8px 28px rgba(20, 53, 101, .07);
    backdrop-filter: blur(20px) saturate(145%);
    -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.mf-header-inner {
    min-height: 52px;
}

.mf-brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    box-shadow: 0 12px 28px rgba(23, 103, 242, .28);
}

.mf-primary-nav a {
    color: #334967;
    font-size: 14px;
}

.mf-header-cta,
.mf-button {
    min-height: 50px;
    border: 1px solid transparent;
}

.mf-header-cta {
    padding: 0 21px;
    box-shadow: 0 12px 28px rgba(30, 96, 224, .28);
}

.mf-header-cta:hover,
.mf-button-primary:hover {
    box-shadow: 0 17px 36px rgba(25, 97, 228, .32);
}

.mf-hero {
    padding: 92px 0 110px;
    background:
        radial-gradient(circle at 8% 18%, rgba(64, 199, 255, .16), transparent 31%),
        radial-gradient(circle at 94% 8%, rgba(23, 103, 242, .12), transparent 27%),
        linear-gradient(180deg, #f5f9fd 0%, #eaf2fa 100%);
}

.mf-hero-grid {
    grid-template-columns: minmax(0, .94fr) minmax(500px, 1.06fr);
    gap: 78px;
}

.mf-hero h1 {
    max-width: 690px;
    text-wrap: balance;
}

.mf-hero-lead {
    max-width: 630px;
    color: #425775;
    font-size: 19px;
    line-height: 1.7;
}

.mf-hero-actions {
    margin-top: 36px;
}

.mf-button {
    padding: 0 26px;
}

.mf-button-primary {
    border-color: rgba(255, 255, 255, .22);
}

.mf-button-secondary {
    border-color: #b9cbe2;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 10px 24px rgba(24, 55, 101, .07);
}

.mf-button-secondary:hover {
    border-color: #87abe0;
    box-shadow: 0 15px 32px rgba(24, 55, 101, .12);
}

.mf-trust-list {
    gap: 18px 26px;
    margin-top: 32px;
}

.mf-trust-list li {
    color: #425976;
    font-size: 12.5px;
}

.mf-journey-card {
    border-color: rgba(165, 190, 224, .9);
    box-shadow: 0 28px 78px rgba(17, 48, 96, .18);
}

.mf-floating-note {
    border-color: rgba(180, 201, 228, .95);
    box-shadow: 0 18px 38px rgba(18, 52, 102, .18);
}

.mf-value-section {
    position: relative;
    z-index: 3;
    margin-top: -30px;
    padding-top: 104px;
    border-radius: 34px 34px 0 0;
    box-shadow: 0 -18px 48px rgba(24, 55, 101, .06);
}

.mf-section-heading h2,
.mf-audience-copy h2,
.mf-final-cta h2 {
    text-wrap: balance;
}

.mf-section-heading > p:last-child,
.mf-audience-copy > p {
    color: #526682;
}

.mf-value-card,
.mf-profile-card {
    transition:
        transform .22s ease,
        box-shadow .22s ease,
        border-color .22s ease,
        background-color .22s ease;
}

.mf-value-card:hover,
.mf-value-card:focus-within {
    transform: translateY(-6px);
    border-color: #b9d0ee;
    box-shadow: 0 24px 50px rgba(18, 61, 140, .13);
}

.mf-value-card-featured:hover,
.mf-value-card-featured:focus-within {
    transform: translateY(-15px);
    border-color: transparent;
    box-shadow: 0 30px 58px rgba(18, 61, 140, .28);
}

.mf-value-icon,
.mf-profile-card > span {
    transition: transform .22s ease, box-shadow .22s ease;
}

.mf-value-card:hover .mf-value-icon,
.mf-value-card:focus-within .mf-value-icon,
.mf-profile-card:hover > span,
.mf-profile-card:focus-within > span {
    transform: scale(1.06);
    box-shadow: 0 10px 24px rgba(23, 103, 242, .14);
}

.mf-audience-section {
    background:
        radial-gradient(circle at 92% 18%, rgba(64, 199, 255, .10), transparent 28%),
        linear-gradient(180deg, #f2f6fb, #e8f0f8);
}

.mf-profile-card:hover,
.mf-profile-card:focus-within {
    transform: translateY(-5px);
    border-color: #b8d0ef;
    background: #fff;
    box-shadow: 0 20px 42px rgba(18, 61, 140, .13);
}

.mf-text-link {
    position: relative;
    padding-bottom: 3px;
}

.mf-text-link::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transform: scaleX(.22);
    transform-origin: left;
    transition: transform .2s ease;
}

.mf-text-link:hover::after,
.mf-text-link:focus-visible::after {
    transform: scaleX(1);
}

.mf-final-cta {
    padding-bottom: 96px;
}

.mf-final-cta-card {
    position: relative;
    isolation: isolate;
    padding: 48px 52px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 28px 65px rgba(18, 61, 140, .28);
}

.mf-final-cta-card::before,
.mf-final-cta-card::after {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    content: "";
    pointer-events: none;
}

.mf-final-cta-card::before {
    top: -100px;
    right: 110px;
    width: 260px;
    height: 260px;
    background: rgba(64, 199, 255, .16);
}

.mf-final-cta-card::after {
    right: -70px;
    bottom: -130px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, .09);
}

.mf-final-cta-card > * {
    position: relative;
    z-index: 1;
}

.mf-final-cta p {
    color: #e2ecfb;
    font-size: 16px;
}

.mf-landing-page .mf-button-light {
    min-width: 210px;
    border-color: rgba(255, 255, 255, .9);
    background: #fff;
    color: var(--mf-blue-900);
    white-space: nowrap;
    box-shadow: 0 16px 34px rgba(6, 27, 70, .28);
}

.mf-landing-page .mf-button-light:hover {
    background: #f7fbff;
    color: var(--mf-blue-950);
    box-shadow: 0 20px 42px rgba(6, 27, 70, .34);
}

.mf-landing-page .mf-button-light svg {
    color: var(--mf-blue-700);
}

.mf-site-footer {
    padding: 31px 0;
}

.mf-footer-inner > p {
    color: #64758d;
}

@media (max-width: 1040px) {
    .mf-site-header {
        position: sticky;
    }

    .mf-hero {
        padding-top: 74px;
    }

    .mf-value-card-featured:hover,
    .mf-value-card-featured:focus-within {
        transform: translateY(-10px);
    }
}

@media (max-width: 760px) {
    .mf-site-header {
        padding: 11px 0;
    }

    .mf-header-inner {
        min-height: 48px;
    }

    .mf-brand-mark {
        width: 44px;
        height: 44px;
    }

    .mf-hero {
        padding: 62px 0 82px;
    }

    .mf-value-section {
        margin-top: -20px;
        padding-top: 78px;
        border-radius: 24px 24px 0 0;
    }

    .mf-value-card:hover,
    .mf-value-card:focus-within,
    .mf-value-card-featured:hover,
    .mf-value-card-featured:focus-within,
    .mf-profile-card:hover,
    .mf-profile-card:focus-within {
        transform: none;
    }

    .mf-final-cta-card {
        padding: 36px 28px;
    }

    .mf-landing-page .mf-button-light {
        min-width: 0;
        white-space: normal;
    }
}

@media (max-width: 460px) {
    .mf-header-cta {
        padding: 0 13px;
    }

    .mf-header-cta svg {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mf-value-card,
    .mf-profile-card,
    .mf-value-icon,
    .mf-profile-card > span,
    .mf-text-link::after {
        transition: none !important;
    }
}

/*
 * MF EDUCAR — Frontend Institucional V005
 * Correção responsiva da cascata: o layout de uma coluna volta a prevalecer
 * em tablets e celulares, sem alterar conteúdo, rotas ou autenticação.
 */
html,
body.mf-landing-page {
    max-width: 100%;
    overflow-x: clip;
}

@media (max-width: 1040px) {
    .mf-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 52px;
    }

    .mf-hero-content {
        max-width: 780px;
        min-width: 0;
        margin: 0 auto;
        text-align: center;
    }

    .mf-eyebrow {
        justify-content: center;
    }

    .mf-hero h1,
    .mf-hero-lead {
        margin-right: auto;
        margin-left: auto;
    }

    .mf-hero-actions,
    .mf-trust-list {
        justify-content: center;
    }

    .mf-hero-visual {
        width: min(680px, 100%);
        max-width: 100%;
        min-width: 0;
        margin: 0 auto;
    }

    .mf-audience-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }

    .mf-audience-copy {
        max-width: 720px;
        margin: 0 auto;
        text-align: center;
    }

    .mf-audience-copy > p {
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width: 760px) {
    .mf-container {
        width: calc(100% - 28px);
        max-width: 1180px;
    }

    .mf-header-inner {
        gap: 14px;
    }

    .mf-hero {
        padding: 50px 0 68px;
    }

    .mf-hero-grid {
        gap: 38px;
    }

    .mf-hero h1 {
        max-width: 620px;
        font-size: clamp(36px, 11vw, 49px);
        line-height: 1.04;
        letter-spacing: -.05em;
    }

    .mf-hero-lead {
        font-size: 16px;
        line-height: 1.6;
    }

    .mf-hero-visual {
        width: 100%;
        padding: 14px 0 24px;
    }

    .mf-visual-glow {
        inset: 8% 0 2%;
    }

    .mf-journey-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 18px;
        border-radius: 19px;
    }

    .mf-journey-header {
        gap: 12px;
    }

    .mf-journey-header h2 {
        max-width: none;
        font-size: 20px;
    }

    .mf-progress-copy {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .mf-timeline-item {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 10px;
        padding: 11px;
    }

    .mf-event-badge {
        grid-column: 2;
        justify-self: start;
    }

    .mf-journey-footer {
        margin: 16px -18px -18px;
        padding: 16px 18px;
    }

    .mf-floating-note {
        display: none;
    }

    .mf-value-section {
        margin-top: -16px;
        padding-top: 66px;
    }

    .mf-value-grid,
    .mf-profile-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mf-final-cta-card {
        width: 100%;
    }
}

@media (max-width: 460px) {
    .mf-site-header {
        padding: 9px 0;
    }

    .mf-header-inner {
        min-height: 44px;
        gap: 10px;
    }

    .mf-brand {
        gap: 9px;
    }

    .mf-brand-mark {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .mf-brand-copy strong {
        font-size: 15px;
    }

    .mf-header-cta {
        min-height: 40px;
        padding: 0 12px;
        border-radius: 11px;
        font-size: 11px;
    }

    .mf-hero {
        padding-top: 42px;
    }

    .mf-hero h1 {
        font-size: clamp(34px, 10.8vw, 44px);
    }

    .mf-hero-actions {
        margin-top: 28px;
    }

    .mf-journey-card {
        padding: 16px;
    }

    .mf-journey-footer {
        margin: 15px -16px -16px;
        padding: 15px 16px;
    }

    .mf-final-cta h2 {
        font-size: 30px;
    }
}
