/* =========================================================
   FONTE MVO
========================================================= */

@font-face {
    font-family: 'MVO';
    src:
        url('../fontes/mvo.woff2') format('woff2'),
        url('../fontes/mvo.woff') format('woff');

    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   VARIÁVEIS
========================================================= */

:root {
    --mvo-primary: #008ac5;
    --mvo-primary-dark: #006f9f;
    --mvo-primary-light: #dff4fc;

    --mvo-dark: #071a35;
    --mvo-text: #18304f;
    --mvo-muted: #617894;

    --mvo-border: #d9e8f5;
    --mvo-background: #f5f9ff;
    --mvo-white: #ffffff;
}

/* =========================================================
   RESET
========================================================= */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body.mvo-splash-active {
    overflow: hidden;
}

/* =========================================================
   SPLASH PRINCIPAL
========================================================= */

.mvo-brand-splash {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    overflow: hidden;

    opacity: 1;
    visibility: visible;

    background:
        radial-gradient(
            circle at 78% 32%,
            rgba(0, 138, 197, 0.1),
            transparent 33%
        ),
        radial-gradient(
            circle at 18% 78%,
            rgba(0, 138, 197, 0.06),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f8fbff 48%,
            #edf7ff 100%
        );

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease,
        transform 0.9s ease;
}

.mvo-brand-splash.is-finishing {
    opacity: 0;
    visibility: hidden;

    transform: scale(1.015);

    pointer-events: none;
}

.mvo-brand-splash::before {
    content: "";

    position: absolute;
    inset: 0;

    opacity: 0.28;

    background-image:
        linear-gradient(
            rgba(0, 138, 197, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 138, 197, 0.035) 1px,
            transparent 1px
        );

    background-size: 48px 48px;

    mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 20%,
            #000 80%,
            transparent
        );

    -webkit-mask-image:
        linear-gradient(
            to bottom,
            transparent,
            #000 20%,
            #000 80%,
            transparent
        );

    pointer-events: none;
}

/* =========================================================
   DECORAÇÕES DE FUNDO
========================================================= */

.mvo-background-decoration {
    position: absolute;
    inset: 0;

    pointer-events: none;
}

.mvo-decoration-circle {
    position: absolute;

    display: block;

    border: 1px solid rgba(0, 138, 197, 0.08);
    border-radius: 50%;
}

.mvo-decoration-circle.circle-one {
    top: -260px;
    right: -180px;

    width: 680px;
    height: 680px;

    animation:
        mvoDecorationFloat
        9s
        ease-in-out
        infinite;
}

.mvo-decoration-circle.circle-two {
    bottom: -380px;
    left: -250px;

    width: 850px;
    height: 850px;

    animation:
        mvoDecorationFloat
        11s
        ease-in-out
        infinite
        reverse;
}

.mvo-decoration-line {
    position: absolute;

    display: block;

    width: 260px;
    height: 1px;

    opacity: 0.3;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--mvo-primary),
            transparent
        );
}

.mvo-decoration-line.line-one {
    top: 25%;
    left: 5%;

    transform: rotate(-15deg);
}

.mvo-decoration-line.line-two {
    right: 6%;
    bottom: 25%;

    transform: rotate(15deg);
}

/* =========================================================
   CONTEÚDO PRINCIPAL
========================================================= */

.mvo-splash-content {
    position: relative;
    z-index: 5;

    width: min(1050px, calc(100% - 40px));
    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mvo-splash-step {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 45px 20px;

    text-align: center;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.mvo-splash-step.is-visible {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}

/* =========================================================
   LABELS
========================================================= */

.mvo-step-label,
.mvo-new-brand-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 38px;
    padding: 9px 17px;

    border: 1px solid rgba(0, 138, 197, 0.14);
    border-radius: 999px;

    color: var(--mvo-primary-dark);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;

    background:
        rgba(223, 244, 252, 0.82);
}

/* =========================================================
   DESCRIÇÕES
========================================================= */

.mvo-step-description {
    max-width: 610px;

    margin: 34px auto 0;

    color: var(--mvo-muted);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   BOTÃO PULAR
========================================================= */

.mvo-skip-button {
    position: absolute;
    z-index: 20;

    top: 26px;
    right: 32px;

    min-height: 40px;

    padding: 0 18px;

    border: 1px solid var(--mvo-border);
    border-radius: 999px;

    color: var(--mvo-muted);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    background:
        rgba(255, 255, 255, 0.9);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease;
}

.mvo-skip-button:hover {
    color: var(--mvo-primary);

    border-color:
        rgba(0, 138, 197, 0.35);

    background: #ffffff;

    transform: translateY(-1px);
}

/* =========================================================
   ETAPA 1 — MMHOSPEDAGEM
========================================================= */

.mvo-old-brand-step.is-visible {
    animation:
        mvoStepEnter
        0.9s
        ease
        both;
}

.mvo-old-brand-text {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;

    white-space: nowrap;

    color: var(--mvo-dark);

    font-family: 'MVO', sans-serif !important;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1;
    letter-spacing: 0;

    font-synthesis: none;

    filter:
        drop-shadow(
            0 18px 28px
            rgba(7, 26, 53, 0.08)
        );
}

.mvo-old-brand-text * {
    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;
}

.mvo-old-mm {
    color: var(--mvo-primary);
}

.mvo-old-hosting {
    color: var(--mvo-dark);
}

/* =========================================================
   ETAPA 2 — TRANSFORMAÇÃO
========================================================= */

.mvo-morph-step.is-visible {
    animation:
        mvoStepEnter
        0.8s
        ease
        both;
}

.mvo-morph-container {
    position: relative;

    width: min(900px, 94vw);
    min-height: 185px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mvo-morph-word {
    display: flex;
    align-items: baseline;
    justify-content: center;

    white-space: nowrap;

    color: var(--mvo-dark);

    font-family: 'MVO', sans-serif !important;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1;
    letter-spacing: 0;

    font-synthesis: none;
}

.mvo-morph-word * {
    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;
}

.mvo-letter {
    display: inline-block;

    max-width: 100px;

    opacity: 1;
    filter: blur(0);

    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;

    transform:
        translateX(0)
        translateY(0)
        scale(1);

    transform-origin: center center;

    transition:
        opacity 0.7s ease,
        filter 0.7s ease,
        transform 0.7s ease,
        max-width 0.8s cubic-bezier(0.65, 0, 0.35, 1),
        margin 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.mvo-letter-primary {
    color: var(--mvo-primary);
}

.mvo-letter:not(.mvo-letter-primary) {
    color: var(--mvo-dark);
}

.mvo-letter.is-removing {
    max-width: 0;

    margin-right: 0;

    opacity: 0;
    filter: blur(10px);

    transform:
        translateY(-22px)
        rotate(-5deg)
        scale(0.65);
}

.mvo-letter.is-transforming {
    opacity: 0;
    filter: blur(12px);

    transform:
        translateY(-15px)
        scale(0.65);
}

/* =========================================================
   PONTOS ANIMADOS
========================================================= */

.mvo-morph-dots {
    position: absolute;

    left: 50%;
    bottom: 16px;

    display: flex;
    gap: 7px;

    opacity: 0;

    transform: translateX(-50%);

    transition:
        opacity 0.4s ease;
}

.mvo-morph-dots.is-visible {
    opacity: 1;
}

.mvo-morph-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: var(--mvo-primary);

    animation:
        mvoDotsPulse
        1s
        ease-in-out
        infinite;
}

.mvo-morph-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.mvo-morph-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

/* =========================================================
   LOGO MVO EM TEXTO
========================================================= */

.mvo-text-logo {
    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--mvo-primary);

    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    line-height: 1;
    letter-spacing: 0;

    font-synthesis: none;
}

.mvo-text-logo * {
    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;
}

.mvo-logo-letter {
    position: relative;

    display: inline-block;

    color: var(--mvo-primary);

    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;

    text-shadow:
        0 8px 20px
        rgba(0, 138, 197, 0.13);
}

/*
 * Não coloque margem negativa.
 * A própria fonte MVO define o desenho e o espaçamento.
 */
.mvo-logo-letter + .mvo-logo-letter {
    margin-left: 0;
}

/* =========================================================
   RESULTADO MVO DA TRANSFORMAÇÃO
========================================================= */

.mvo-morph-result {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--mvo-primary);

    font-family: 'MVO', sans-serif !important;
    font-size: clamp(90px, 14vw, 170px);
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1;
    letter-spacing: 0;

    font-synthesis: none;

    opacity: 0;
    visibility: hidden;

    pointer-events: none;
}

.mvo-morph-result * {
    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;
}

.mvo-morph-result.is-visible {
    opacity: 1;
    visibility: visible;
}

.mvo-morph-result .mvo-logo-letter {
    opacity: 0;
    filter: blur(15px);

    transform:
        translateY(30px)
        scale(0.6);
}

.mvo-morph-result.is-visible .result-m {
    animation:
        mvoTextLogoLetterEnter
        0.9s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        forwards;
}

.mvo-morph-result.is-visible .result-v {
    animation:
        mvoTextLogoLetterEnter
        0.9s
        0.2s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        forwards;
}

.mvo-morph-result.is-visible .result-o {
    animation:
        mvoTextLogoLetterEnter
        0.9s
        0.4s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        forwards;
}

/* =========================================================
   MENSAGEM DA TRANSFORMAÇÃO
========================================================= */

.mvo-morph-message {
    margin-top: 28px;

    color: var(--mvo-muted);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 17px;
    line-height: 1.6;

    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.mvo-morph-message.is-changing {
    opacity: 0;

    transform: translateY(8px);
}

/* =========================================================
   ETAPA 3 — EVOLUÍMOS
========================================================= */

.mvo-evolution-step.is-visible {
    animation:
        mvoEvolutionEnter
        1s
        ease
        both;
}

.mvo-evolution-eyebrow {
    margin-bottom: 18px;

    color: var(--mvo-primary);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.18em;

    text-transform: uppercase;
}

.mvo-evolution-title {
    margin: 0;

    color: var(--mvo-dark);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(64px, 10vw, 112px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.075em;
}

.mvo-evolution-title::after {
    content: "";

    display: block;

    width: 88px;
    height: 5px;

    margin: 28px auto 0;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            var(--mvo-primary),
            #5cc5ed
        );
}

.mvo-evolution-description {
    max-width: 680px;

    margin: 28px auto 0;

    color: var(--mvo-muted);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(16px, 2vw, 19px);
    line-height: 1.7;
}

/* =========================================================
   ETAPA 4 — NOVA MARCA
========================================================= */

.mvo-new-brand-step.is-visible {
    animation:
        mvoNewBrandEnter
        1s
        ease
        both;
}

.mvo-new-logo-container {
    position: relative;

    width: min(500px, 84vw);
    min-height: 180px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.mvo-logo-light {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 420px;
    height: 170px;

    border-radius: 50%;

    background:
        rgba(0, 138, 197, 0.13);

    filter: blur(58px);

    transform:
        translate(-50%, -50%);
}

.mvo-final-text-logo {
    position: relative;
    z-index: 2;

    color: var(--mvo-primary);

    font-family: 'MVO', sans-serif !important;
    font-size: clamp(105px, 17vw, 190px);
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1;
    letter-spacing: 0;

    font-synthesis: none;

    opacity: 0;
    filter: blur(14px);

    transform:
        translateY(25px)
        scale(0.82);
}

.mvo-final-text-logo * {
    font-family: 'MVO', sans-serif !important;
    font-weight: normal !important;
    font-style: normal !important;

    font-synthesis: none;
}

.mvo-new-brand-step.is-visible
.mvo-final-text-logo {
    animation:
        mvoFinalTextLogoEnter
        1.3s
        cubic-bezier(0.2, 0.8, 0.2, 1)
        forwards;
}

.mvo-new-brand-title {
    margin: 34px 0 0;

    color: var(--mvo-dark);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: clamp(29px, 4vw, 46px);
    font-weight: 900;
    letter-spacing: -0.045em;
}

.mvo-new-brand-description {
    max-width: 650px;

    margin: 16px auto 0;

    color: var(--mvo-muted);

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 16px;
    line-height: 1.7;
}

/* =========================================================
   BARRA DE CARREGAMENTO
========================================================= */

.mvo-loading-container {
    width: min(320px, 76vw);

    margin-top: 38px;
}

.mvo-loading-bar {
    width: 100%;
    height: 4px;

    overflow: hidden;

    border-radius: 999px;

    background: #dbe8f3;
}

.mvo-loading-bar span {
    display: block;

    width: 0;
    height: 100%;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            var(--mvo-primary),
            #58c0e9
        );
}

.mvo-new-brand-step.is-visible
.mvo-loading-bar span {
    animation:
        mvoLoading
        6s
        linear
        forwards;
}

.mvo-loading-container small {
    display: block;

    margin-top: 13px;

    color: #7890aa;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;

    text-transform: uppercase;
}

/* =========================================================
   RODAPÉ
========================================================= */

.mvo-splash-footer {
    position: absolute;
    z-index: 10;

    bottom: 27px;
    left: 50%;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #8a9eb6;

    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;

    font-size: 12px;

    white-space: nowrap;

    transform:
        translateX(-50%);
}

.mvo-splash-footer svg {
    width: 20px;
    height: 20px;

    color: var(--mvo-primary);
}

.mvo-splash-footer strong {
    color: var(--mvo-primary);

    font-family: 'MVO', sans-serif !important;
    font-size: 18px;
    font-weight: normal !important;
    font-style: normal !important;
    line-height: 1;

    font-synthesis: none;
}

/* =========================================================
   ANIMAÇÕES
========================================================= */

@keyframes mvoStepEnter {
    from {
        opacity: 0;
        filter: blur(9px);

        transform:
            translateY(18px);
    }

    to {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(0);
    }
}

@keyframes mvoEvolutionEnter {
    from {
        opacity: 0;
        filter: blur(12px);

        transform:
            translateY(22px)
            scale(0.94);
    }

    to {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes mvoNewBrandEnter {
    from {
        opacity: 0;
        filter: blur(11px);

        transform:
            translateY(20px)
            scale(0.92);
    }

    to {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes mvoTextLogoLetterEnter {
    0% {
        opacity: 0;
        filter: blur(15px);

        transform:
            translateY(30px)
            scale(0.6);
    }

    70% {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(-5px)
            scale(1.07);
    }

    100% {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes mvoFinalTextLogoEnter {
    0% {
        opacity: 0;
        filter: blur(14px);

        transform:
            translateY(25px)
            scale(0.82);
    }

    65% {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(-5px)
            scale(1.05);
    }

    100% {
        opacity: 1;
        filter: blur(0);

        transform:
            translateY(0)
            scale(1);
    }
}

@keyframes mvoDotsPulse {
    0%,
    100% {
        opacity: 0.25;

        transform: scale(0.75);
    }

    50% {
        opacity: 1;

        transform: scale(1.15);
    }
}

@keyframes mvoLoading {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes mvoDecorationFloat {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(30px);
    }
}

/* =========================================================
   RESPONSIVO
========================================================= */

@media (max-width: 768px) {
    .mvo-splash-content {
        width: calc(100% - 24px);
        min-height: 520px;
    }

    .mvo-splash-step {
        padding: 65px 12px;
    }

    .mvo-skip-button {
        top: 18px;
        right: 18px;

        min-height: 36px;

        padding: 0 14px;

        font-size: 11px;
    }

    .mvo-step-label,
    .mvo-new-brand-label {
        margin-bottom: 28px;
    }

    .mvo-old-brand-text {
        font-size:
            clamp(
                34px,
                10vw,
                54px
            );
    }

    .mvo-step-description {
        font-size: 14px;
    }

    .mvo-morph-container {
        min-height: 150px;
    }

    .mvo-morph-word {
        font-size:
            clamp(
                31px,
                9vw,
                50px
            );
    }

    .mvo-letter {
        max-width: 58px;
    }

    .mvo-morph-result {
        font-size:
            clamp(
                82px,
                27vw,
                135px
            );
    }

    .mvo-morph-message {
        margin-top: 18px;

        font-size: 15px;
    }

    .mvo-evolution-title {
        font-size: 61px;
    }

    .mvo-evolution-description,
    .mvo-new-brand-description {
        font-size: 15px;
    }

    .mvo-new-logo-container {
        min-height: 145px;
    }

    .mvo-final-text-logo {
        font-size:
            clamp(
                92px,
                29vw,
                145px
            );
    }

    .mvo-new-brand-title {
        font-size: 29px;
    }

    .mvo-splash-footer {
        bottom: 18px;
    }
}

@media (max-width: 480px) {
    .mvo-brand-splash::before {
        background-size: 34px 34px;
    }

    .mvo-step-label,
    .mvo-new-brand-label {
        padding: 8px 13px;

        font-size: 10px;
    }

    .mvo-old-brand-text {
        font-size:
            clamp(
                29px,
                9.5vw,
                43px
            );
    }

    .mvo-morph-word {
        font-size:
            clamp(
                28px,
                8.7vw,
                43px
            );
    }

    .mvo-morph-message {
        max-width: 300px;
    }

    .mvo-evolution-title {
        font-size: 52px;
    }

    .mvo-evolution-description {
        max-width: 330px;
    }

    .mvo-new-brand-title {
        font-size: 25px;
    }

    .mvo-new-brand-description {
        max-width: 340px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .mvo-decoration-circle {
        animation: none;
    }
}