/* ==========================================================
   MONRÊVE SPLASH MASTER PREMIUM - FOODOMAA 3.5
   Cor oficial: #BF5F2B
   ========================================================== */

#monreveSplash {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    background:
        radial-gradient(circle at 80% 8%, rgba(191, 95, 43, 0.42), transparent 22%),
        radial-gradient(circle at 15% 25%, rgba(191, 95, 43, 0.16), transparent 28%),
        radial-gradient(circle at 50% 78%, rgba(191, 95, 43, 0.26), transparent 38%),
        linear-gradient(150deg, #020202 0%, #100704 42%, #000000 100%);
    color: #fff;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DM Sans', 'Inter', Arial, sans-serif;
}

#monreveSplash.monreve-splash-hide {
    animation: monreveSplashOut .78s cubic-bezier(.2,.9,.2,1) forwards;
}

#monreveSplash * {
    box-sizing: border-box;
}

.monreve-glow-ring {
    position: absolute;
    width: 158vw;
    height: 158vw;
    left: -56vw;
    top: -76vw;
    border-radius: 50%;
    border: 2px solid rgba(191, 95, 43, .8);
    box-shadow:
        0 0 22px rgba(191, 95, 43, .85),
        0 0 70px rgba(191, 95, 43, .35),
        inset 0 0 80px rgba(191, 95, 43, .18);
    opacity: .82;
    animation: monreveRingMove 5.5s ease-in-out infinite alternate;
}

.monreve-glow-ring::after {
    content: "";
    position: absolute;
    width: 13px;
    height: 13px;
    right: 18%;
    bottom: 18%;
    border-radius: 50%;
    background: #BF5F2B;
    box-shadow: 0 0 18px #BF5F2B, 0 0 45px #BF5F2B, 0 0 90px rgba(191,95,43,.8);
}

.monreve-lux-grid {
    position: absolute;
    right: -130px;
    top: 34%;
    width: 340px;
    height: 340px;
    opacity: .13;
    border: 2px solid #BF5F2B;
    transform: rotate(45deg);
    box-shadow: inset 0 0 35px rgba(191,95,43,.35);
}

.monreve-lux-grid::before,
.monreve-lux-grid::after {
    content: "";
    position: absolute;
    border: 2px solid #BF5F2B;
}

.monreve-lux-grid::before { inset: 48px; }
.monreve-lux-grid::after { inset: 100px; }

.monreve-stars {
    position: absolute;
    inset: 0;
    opacity: .28;
    background-image:
        radial-gradient(circle, rgba(191,95,43,.95) 0 1px, transparent 2px),
        radial-gradient(circle, rgba(255,255,255,.38) 0 1px, transparent 2px);
    background-size: 84px 84px, 136px 136px;
    animation: monreveStarsMove 10s linear infinite;
}

.monreve-sheen {
    position: absolute;
    width: 110%;
    height: 20%;
    left: -5%;
    top: -20%;
    background: linear-gradient(110deg, transparent, rgba(255,255,255,.10), transparent);
    transform: rotate(-18deg);
    animation: monreveSheen 4.2s ease-in-out infinite;
}

.monreve-splash-wrap {
    width: min(88vw, 430px);
    position: relative;
    z-index: 3;
    text-align: center;
    animation: monreveSplashIn .92s cubic-bezier(.2,.9,.2,1) both;
}

.monreve-logo-stage {
    position: relative;
    margin: 0 auto 22px;
    width: min(66vw, 285px);
}

.monreve-logo-stage::before {
    content: "";
    position: absolute;
    inset: 12% 4%;
    background: radial-gradient(circle, rgba(191,95,43,.40), transparent 62%);
    filter: blur(18px);
    z-index: -1;
}

.monreve-splash-logo {
    width: 100%;
    display: block;
    margin: 0 auto;
    filter:
        drop-shadow(0 0 18px rgba(191, 95, 43, .45))
        drop-shadow(0 24px 38px rgba(0,0,0,.9));
    animation: monreveLogoFloat 3.2s ease-in-out infinite;
}

.monreve-splash-line {
    width: 72%;
    height: 1px;
    margin: 0 auto 21px;
    position: relative;
    background: linear-gradient(90deg, transparent, rgba(191,95,43,.95), transparent);
}

.monreve-splash-line::after {
    content: "";
    width: 10px;
    height: 10px;
    position: absolute;
    left: calc(50% - 5px);
    top: -4.5px;
    border-radius: 50%;
    background: #BF5F2B;
    box-shadow: 0 0 18px #BF5F2B, 0 0 40px #BF5F2B;
}

.monreve-splash-title {
    font-size: clamp(24px, 6.2vw, 33px);
    line-height: 1.2;
    margin: 0 0 30px;
    color: rgba(255,255,255,.94);
    font-weight: 500;
    letter-spacing: -.4px;
    text-shadow: 0 0 18px rgba(255,255,255,.12);
}

.monreve-splash-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 auto 42px;
}

.monreve-splash-feature {
    min-height: 92px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.monreve-splash-feature + .monreve-splash-feature {
    border-left: 1px solid rgba(255,255,255,.15);
}

.monreve-splash-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    border-radius: 50%;
    border: 2px solid #BF5F2B;
    color: #BF5F2B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 0 18px rgba(191,95,43,.35);
}

.monreve-splash-feature strong {
    display: block;
    font-size: 15px;
    color: #fff;
    line-height: 1.1;
    font-weight: 700;
}

.monreve-splash-feature span {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.62);
    margin-top: 4px;
}

.monreve-city {
    position: relative;
    height: 118px;
    margin: 0 -22px 28px;
    overflow: hidden;
    border-bottom: 1px solid rgba(191,95,43,.65);
}

.monreve-city::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -50px;
    width: 360px;
    height: 132px;
    transform: translateX(-50%);
    border-radius: 50%;
    border: 2px solid rgba(191,95,43,.72);
    box-shadow: 0 0 35px rgba(191,95,43,.45);
}

.monreve-buildings {
    position: absolute;
    bottom: 0;
    left: 4%;
    right: 4%;
    height: 94px;
    opacity: .40;
    filter: drop-shadow(0 0 14px rgba(191,95,43,.85));
    background: linear-gradient(to top, rgba(191,95,43,.82), rgba(191,95,43,.05));
    clip-path: polygon(
        0 100%,0 64%,5% 64%,5% 43%,10% 43%,10% 73%,15% 73%,15% 54%,21% 54%,21% 31%,28% 31%,28% 78%,35% 78%,35% 46%,41% 46%,41% 60%,47% 60%,50% 12%,53% 60%,59% 60%,59% 41%,65% 41%,65% 75%,71% 75%,71% 52%,77% 52%,77% 32%,84% 32%,84% 70%,90% 70%,90% 43%,96% 43%,96% 100%
    );
}

.monreve-splash-loading {
    color: #BF5F2B;
    font-size: 17px;
    margin-bottom: 16px;
    font-weight: 600;
    text-shadow: 0 0 18px rgba(191,95,43,.45);
}

.monreve-progress-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 88%;
    margin: 0 auto;
}

.monreve-progress {
    flex: 1;
    height: 12px;
    background: rgba(255,255,255,.13);
    border-radius: 99px;
    overflow: hidden;
    box-shadow: inset 0 0 8px rgba(0,0,0,.65);
}

.monreve-progress-bar {
    height: 100%;
    width: 0%;
    border-radius: 99px;
    background: linear-gradient(90deg, #8d3f1c, #BF5F2B, #f3a15f, #BF5F2B);
    background-size: 220% 100%;
    box-shadow: 0 0 18px rgba(191,95,43,.75), 0 0 36px rgba(191,95,43,.36);
    position: relative;
    overflow: hidden;
    animation: monreveProgress 4.4s cubic-bezier(.2,.9,.2,1) forwards;
}

.monreve-progress-number {
    min-width: 44px;
    color: #BF5F2B;
    text-align: left;
    font-size: 18px;
    font-weight: 800;
}

.monreve-brand-bottom {
    position: absolute;
    bottom: max(24px, env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    z-index: 4;
    text-align: center;
    color: rgba(255,255,255,.54);
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
}


.monreve-progress-bar::after {
    content: "";
    position: absolute;
    top: 0;
    left: -45%;
    width: 45%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
    animation: monreveLiquidShine 1.35s ease-in-out infinite;
}

.monreve-splash-loading {
    position: relative;
    height: 24px;
}

.monreve-loading-text {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .55s ease, transform .55s ease;
}

.monreve-loading-text.active {
    opacity: 1;
    transform: translateY(0);
}

#monreveSplash.monreve-ready .monreve-splash-logo {
    animation: monreveLogoFinal .55s ease forwards;
}

#monreveSplash.monreve-ready .monreve-city {
    filter: drop-shadow(0 0 18px rgba(191,95,43,.72));
}

@keyframes monreveLiquidShine {
    0% { left: -45%; opacity: 0; }
    20% { opacity: 1; }
    100% { left: 120%; opacity: 0; }
}

@keyframes monreveLogoFinal {
    0% { transform: scale(1); }
    50% { transform: scale(1.035); filter: drop-shadow(0 0 28px rgba(191,95,43,.75)); }
    100% { transform: scale(1.015); }
}

@keyframes monreveSplashIn {
    from { opacity: 0; transform: translateY(18px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes monreveSplashOut {
    to { opacity: 0; visibility: hidden; transform: scale(1.018); }
}

@keyframes monreveProgress {
    from { width: 0%; }
    to { width: 100%; }
}

@keyframes monreveLogoFloat {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes monreveRingMove {
    from { transform: rotate(0deg) scale(1); }
    to { transform: rotate(4deg) scale(1.025); }
}

@keyframes monreveStarsMove {
    from { transform: translateY(0); }
    to { transform: translateY(84px); }
}

@keyframes monreveSheen {
    0%, 55% { transform: translateY(0) rotate(-18deg); opacity: 0; }
    70% { opacity: 1; }
    100% { transform: translateY(760%) rotate(-18deg); opacity: 0; }
}

@media (max-width: 390px) {
    .monreve-logo-stage {
        width: 230px;
        margin-bottom: 18px;
    }
    .monreve-splash-title {
        font-size: 21px;
        margin-bottom: 22px;
    }
    .monreve-splash-features {
        margin-bottom: 30px;
    }
    .monreve-city {
        height: 88px;
        margin-bottom: 22px;
    }
    .monreve-brand-bottom {
        display: none;
    }
}



/* ==========================================================
   EVOLUÇÃO TECNOLÓGICA MONRÊVE - LOGO 3D + TAMPA ABRINDO
   ========================================================== */

.monreve-logo-stage {
    perspective: 900px;
}

.monreve-logo-anim {
    position: relative;
    width: 100%;
    margin: 0 auto;
    transform-style: preserve-3d;
    animation: monreveLogoIntro3D 4.8s cubic-bezier(.2,.9,.2,1) both;
}

.monreve-logo-anim .monreve-splash-logo {
    position: relative;
    z-index: 2;
    transform-origin: 50% 45%;
    animation: monreveBottleReveal 4.8s cubic-bezier(.2,.9,.2,1) both;
}

.monreve-floating-cap {
    position: absolute;
    z-index: 5;
    left: 50%;
    top: 1.5%;
    width: 19%;
    height: 13%;
    transform: translateX(-50%) scale(.85);
    opacity: 0;
    filter:
        drop-shadow(0 0 10px rgba(191,95,43,.72))
        drop-shadow(0 12px 18px rgba(0,0,0,.75));
    animation: monreveCapOpen 4.8s cubic-bezier(.2,.9,.2,1) both;
}

.monreve-floating-cap::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 50% 45%, #d9864e 0 18%, #7b3518 19% 23%, transparent 24%),
        linear-gradient(145deg, #f09a5e, #BF5F2B 45%, #6e2f16);
    clip-path: polygon(25% 2%, 75% 2%, 100% 50%, 75% 98%, 25% 98%, 0 50%);
    box-shadow:
        inset 0 0 0 2px rgba(255,204,157,.6),
        inset 0 -10px 16px rgba(0,0,0,.28),
        0 0 22px rgba(191,95,43,.55);
}

.monreve-aroma {
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 23%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(242, 159, 91, .85);
    box-shadow: 0 0 12px rgba(242,159,91,.95), 0 0 35px rgba(191,95,43,.55);
    opacity: 0;
}

.monreve-aroma-1 { animation: monreveAromaUp1 4.8s ease both; }
.monreve-aroma-2 { animation: monreveAromaUp2 4.8s ease both; }
.monreve-aroma-3 { animation: monreveAromaUp3 4.8s ease both; }

.monreve-logo-anim::after {
    content: "";
    position: absolute;
    z-index: 4;
    left: 50%;
    top: 19%;
    width: 26%;
    height: 8px;
    border: 2px solid rgba(191,95,43,.95);
    border-radius: 50%;
    transform: translateX(-50%) scale(.25);
    opacity: 0;
    box-shadow: 0 0 18px rgba(191,95,43,.9), 0 0 42px rgba(191,95,43,.45);
    animation: monreveOpenRing 4.8s ease both;
}

.monreve-logo-anim::before {
    content: "";
    position: absolute;
    z-index: 6;
    left: -25%;
    top: 43%;
    width: 32%;
    height: 44%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.30), transparent);
    transform: skewX(-18deg);
    opacity: 0;
    animation: monreveLogoSweep 4.8s ease both;
    pointer-events: none;
}

@keyframes monreveLogoIntro3D {
    0% { transform: rotateY(-28deg) rotateX(7deg) scale(.92); opacity: 0; }
    16% { opacity: 1; }
    34% { transform: rotateY(18deg) rotateX(2deg) scale(1); }
    52% { transform: rotateY(-8deg) rotateX(0deg) scale(1.015); }
    72%, 100% { transform: rotateY(0deg) rotateX(0deg) scale(1); }
}

@keyframes monreveBottleReveal {
    0% { filter: drop-shadow(0 0 4px rgba(191,95,43,.20)) drop-shadow(0 18px 28px rgba(0,0,0,.9)); }
    40% { filter: drop-shadow(0 0 18px rgba(191,95,43,.48)) drop-shadow(0 24px 38px rgba(0,0,0,.9)); }
    78% { filter: drop-shadow(0 0 32px rgba(191,95,43,.82)) drop-shadow(0 24px 42px rgba(0,0,0,.95)); }
    100% { filter: drop-shadow(0 0 18px rgba(191,95,43,.45)) drop-shadow(0 24px 38px rgba(0,0,0,.9)); }
}

@keyframes monreveCapOpen {
    0%, 28% { opacity: 0; transform: translateX(-50%) translateY(0) scale(.75) rotate(0deg); }
    36% { opacity: .95; transform: translateX(-50%) translateY(-10px) scale(.86) rotate(0deg); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-38px) scale(.92) rotate(10deg); }
    66% { opacity: 1; transform: translateX(-50%) translateY(-54px) scale(.96) rotate(-7deg); }
    82% { opacity: .92; transform: translateX(-50%) translateY(-20px) scale(.90) rotate(3deg); }
    100% { opacity: 0; transform: translateX(-50%) translateY(0) scale(.75) rotate(0deg); }
}

@keyframes monreveOpenRing {
    0%, 32% { opacity: 0; transform: translateX(-50%) scale(.2); }
    44% { opacity: 1; transform: translateX(-50%) scale(1); }
    65% { opacity: .65; transform: translateX(-50%) scale(1.25); }
    100% { opacity: 0; transform: translateX(-50%) scale(1.65); }
}

@keyframes monreveAromaUp1 {
    0%, 40% { opacity: 0; transform: translate(-50%, 0) scale(.5); }
    48% { opacity: 1; transform: translate(-50%, -10px) scale(1); }
    76% { opacity: .35; transform: translate(-72px, -72px) scale(.7); }
    100% { opacity: 0; transform: translate(-94px, -105px) scale(.2); }
}

@keyframes monreveAromaUp2 {
    0%, 43% { opacity: 0; transform: translate(-50%, 0) scale(.5); }
    52% { opacity: 1; transform: translate(-50%, -16px) scale(1); }
    80% { opacity: .35; transform: translate(44px, -84px) scale(.75); }
    100% { opacity: 0; transform: translate(70px, -118px) scale(.2); }
}

@keyframes monreveAromaUp3 {
    0%, 47% { opacity: 0; transform: translate(-50%, 0) scale(.5); }
    56% { opacity: 1; transform: translate(-50%, -18px) scale(1); }
    78% { opacity: .28; transform: translate(4px, -92px) scale(.75); }
    100% { opacity: 0; transform: translate(12px, -126px) scale(.2); }
}

@keyframes monreveLogoSweep {
    0%, 68% { left: -35%; opacity: 0; }
    76% { opacity: .75; }
    100% { left: 105%; opacity: 0; }
}

@media (max-width: 390px) {
    .monreve-floating-cap {
        width: 18%;
        height: 12%;
        top: 1%;
    }
}




/* ==========================================================
   MONRÊVE GIF ORIGINAL NO SPLASH
   Usa o GIF real em /assets/img/splash/monreve.gif
   ========================================================== */

.monreve-gif-logo {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    filter:
        drop-shadow(0 0 18px rgba(191, 95, 43, .45))
        drop-shadow(0 24px 38px rgba(0,0,0,.9));
    animation: monreveGifSoftFloat 4.8s ease-in-out infinite;
}

.monreve-floating-cap,
.monreve-aroma,
.monreve-logo-anim::before,
.monreve-logo-anim::after {
    display: none !important;
}

.monreve-logo-anim {
    animation: none !important;
}

.monreve-logo-anim .monreve-splash-logo {
    animation: none !important;
}

#monreveSplash.monreve-ready .monreve-gif-logo {
    animation: monreveLogoFinal .55s ease forwards;
}

@keyframes monreveGifSoftFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-4px) scale(1.01);
    }
}
