/* =========================================================
   HOMEPAGE ANTIGA — recuperação isolada
   Mantém a arquitetura/animações do tema original sem tocar
   nas restantes páginas do site novo.
   ========================================================= */

html.lelephant-home-lock,
html.lelephant-home-lock body.home.elephant-legacy-homepage {
    width: 100%;
    height: auto;
    min-height: 100%;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior-y: auto;
}

html.lelephant-home-lock body.home.elephant-legacy-homepage #main {
    width: 100%;
    height: auto;
    overflow: visible;
}

body.home.elephant-legacy-homepage {
    background: #fff;
}

body.home.elephant-legacy-homepage header.menu-transparente {
    opacity: 0;
    transition: opacity 2s ease;
}

body.home.elephant-legacy-homepage header.menu-transparente.fade-in-right5 {
    opacity: 1;
    transition: opacity 2s ease 2s;
}

body.home.elephant-legacy-homepage header.menu-transparente.inverter #main-menu li a,
body.home.elephant-legacy-homepage header.menu-transparente.inverter #mobile-menu li a {
    color: #000;
}

body.home.elephant-legacy-homepage .elephant-legacy-home {
    position: relative;
    width: 100%;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__horizontal {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__horizontal::-webkit-scrollbar {
    display: none;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__rail {
    position: relative;
    display: block;
    width: max-content;
    height: 100vh;
    height: 100dvh;
    min-width: 241vw;
    white-space: nowrap;
}

body.home.elephant-legacy-homepage .slick-slider,
body.home.elephant-legacy-homepage .slick-texto {
    display: inline-block !important;
    vertical-align: top;
    white-space: normal;
    margin-bottom: 0;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__hero {
    position: absolute !important;
    inset: 0 auto auto 0;
    width: 100vw !important;
    height: 100vh;
    height: 100dvh;
    z-index: 1;
    margin: 0 !important;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__panel--2 {
    width: 40vw !important;
    height: 100vh;
    height: 100dvh;
    margin-left: 100vw !important;
    z-index: 4;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__copy {
    width: 30vw !important;
    height: 100vh;
    height: 100dvh;
    background: #98300a;
    position: relative;
    box-sizing: border-box;
    z-index: 2;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__panel--3 {
    width: 30vw !important;
    height: 100vh;
    height: 100dvh;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__panel--4 {
    width: 41vw !important;
    height: 100vh;
    height: 100dvh;
}

body.home.elephant-legacy-homepage .slick-track,
body.home.elephant-legacy-homepage .slick-list,
body.home.elephant-legacy-homepage .slick-slide,
body.home.elephant-legacy-homepage .slide-item {
    height: 100vh;
    height: 100dvh;
}

body.home.elephant-legacy-homepage .slide-item {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

body.home.elephant-legacy-homepage .slick-slider-3 .slide-item {
    background-position: top center;
}

body.home.elephant-legacy-homepage .slick-slider button {
    display: none !important;
}

body.home.elephant-legacy-homepage .slick-texto-2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 100px 50px;
}

body.home.elephant-legacy-homepage .slick-texto-2 h6 {
    line-height: 26px;
    font-family: 'LibreBodoni-Italic', 'Libre Bodoni', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 20px;
    margin: 0 0 30px;
    color: #000;
}

body.home.elephant-legacy-homepage .slick-texto-2 p {
    margin: 0;
    line-height: 1.4em;
    font-family: 'Roboto', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.6vw;
    color: #000;
}

body.home.elephant-legacy-homepage .traco-grande {
    display: none !important;
    position: absolute;
    left: 2.4%;
    bottom: 50px;
    z-index: 6;
    margin: 0;
    color: #fff;
    font-family: 'Roboto-Medium', 'Roboto', Arial, sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
    opacity: 0;
    text-transform: uppercase;
}

body.home.elephant-legacy-homepage .traco-grande::after {
    content: '';
    position: absolute;
    left: calc(100% + 20px);
    bottom: 7px;
    width: 150px;
    height: 1.5px;
    background: currentColor;
}

body.home.elephant-legacy-homepage .traco-grande.fade-in-percorrer {
    opacity: 1;
    transition: opacity 2s ease 2s;
}

body.home.elephant-legacy-homepage .traco-grande.inverter {
    color: #000;
}

body.home.elephant-legacy-homepage .cortina {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #c8c2bf;
    animation: elephant-legacy-curtain .8s linear forwards;
    z-index: 9999;
    pointer-events: none;
}

@keyframes elephant-legacy-curtain {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

body.home.elephant-legacy-homepage .seta-mobile-wev {
    display: none;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__video {
    width: 100%;
    padding-top: 300px;
    margin: 0;
    background: #fff;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__video video {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
}

body.home.elephant-legacy-homepage footer {
    display: block !important;
    background: #fff;
}

/* O CTA do novo sistema de reuniões permanece funcional por cima da home antiga. */
body.home.elephant-legacy-homepage .lelephant-booking-global-cta,
body.home.elephant-legacy-homepage .lelephant-booking-cta--home {
    z-index: 100;
}

@media (max-width: 701px) {
    body.home.elephant-legacy-homepage .elephant-legacy-home__horizontal {
        height: auto;
        overflow: visible;
        white-space: normal;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__rail {
        display: block;
        width: 100%;
        min-width: 0;
        height: auto;
        white-space: normal;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__hero {
        position: relative !important;
        width: 100% !important;
        height: 100vh;
        height: 100dvh;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__panel,
    body.home.elephant-legacy-homepage .elephant-legacy-home__copy {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__copy {
        height: auto;
        min-height: 100vh;
        min-height: 100dvh;
    }

    body.home.elephant-legacy-homepage .slick-texto-2 {
        position: relative;
        padding: 40vh 20px 30vh;
        max-height: none;
    }

    body.home.elephant-legacy-homepage .slick-texto-2 h6 {
        color: #fff;
        font-size: 12px;
        line-height: 16px;
        margin-bottom: 5px;
    }

    body.home.elephant-legacy-homepage .slick-texto-2 p {
        color: #fff;
        font-size: 6vw;
        line-height: 30px;
        padding-right: 50px;
    }

    body.home.elephant-legacy-homepage .traco-grande {
        display: none !important;
    }

    body.home.elephant-legacy-homepage .seta-mobile-wev {
        display: block;
        position: absolute;
        left: 50%;
        top: 75vh;
        z-index: 30;
        transform: translate(-50%, -50%);
        opacity: 0;
        pointer-events: none;
    }

    body.home.elephant-legacy-homepage .seta-mobile-wev.seta-mobile-wev-fade-in {
        opacity: 1;
        transition: opacity 2s ease 2s;
    }

    body.home.elephant-legacy-homepage .seta-mobile-wev img {
        width: auto;
        height: 60px;
        animation: elephant-legacy-arrow 4s infinite 5s ease-in-out;
    }

    @keyframes elephant-legacy-arrow {
        0%,20%,50%,75%,100% { transform: translateY(0); }
        10% { transform: translateY(15px); }
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__video {
        padding-top: 0;
    }

    body.home.elephant-legacy-homepage footer {
        background: #ede6e2;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home.elephant-legacy-homepage .cortina {
        animation-duration: .01ms;
    }
    body.home.elephant-legacy-homepage header.menu-transparente,
    body.home.elephant-legacy-homepage .traco-grande,
    body.home.elephant-legacy-homepage .seta-mobile-wev {
        transition-duration: .01ms !important;
    }
}


/* =====================================================================
 * HOME — award copy + scroll cue do site antigo
 * ===================================================================== */

/* O novo site não usa o bloco de introdução do overlay antigo na home. */
body.home.elephant-legacy-homepage #hpOverlay .ov-hero-inner {
    display: none !important;
}

/* Quote Andrew Martin: mesma linguagem/tipografia do hero da página Press. */
body.home.elephant-legacy-homepage .elephant-legacy-home__award-copy {
    position: absolute;
    z-index: 8;
    bottom: 75px;
    left: 50vw;
    width: min(1120px, 82vw);
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    opacity: 0;
    pointer-events: none;
    animation: elephant-home-award-in 2s ease .28s forwards;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__award-title {
    margin: 0;
    padding: 0;
    font-family: "Elephant Span", "Libre Bodoni", serif;
    font-size: clamp(42px, 4.15vw, 80px);
    font-weight: 400;
    line-height: .88;
    letter-spacing: -.025em;
    text-transform: uppercase;
    color: #fff;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__award-title span {
    display: block;
}

body.home.elephant-legacy-homepage .elephant-legacy-home__award-source {
    margin: 24px 0 0;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .015em;
    text-transform: uppercase;
    color: #fff;
}

@keyframes elephant-home-award-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/*
 * Indicador original do site antigo.
 * O HTML é o mesmo: .mouse > .move + .indicator.
 * A bolinha percorre o interior do rato continuamente.
 */
body.home.elephant-legacy-homepage .elephant-legacy-home__scroll-cue {
    position: absolute;
    z-index: 9;
    bottom: 15px;
    left: 50vw;
    width: auto;
    margin: 0 !important;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.home.elephant-legacy-homepage #scroll-down-animation {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    color: #fff;
    text-align: center;
}

body.home.elephant-legacy-homepage #scroll-down-animation.fade-in-percorrer {
    opacity: 1;
    transition: opacity 2s ease 2s;
}

body.home.elephant-legacy-homepage #scroll-down-animation .mouse {
    margin: 0 auto;
    display: block;
    border-radius: 50px;
    border: 2px solid #fff;
    height: 50px;
    width: 25px;
    position: relative;
    box-sizing: border-box;
}

body.home.elephant-legacy-homepage #scroll-down-animation .move {
    position: absolute;
    background-color: #fff;
    height: 5px;
    width: 5px;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    animation: move 2s linear infinite;
}

body.home.elephant-legacy-homepage #scroll-down-animation .indicator {
    display: block;
    margin-top: 7px;
    color: #fff;
    font-family: 'Roboto', 'Arial', sans-serif;
    font-weight: 200;
    font-size: 14px;
    line-height: 1.15;
    letter-spacing: 0;
    white-space: nowrap;
    text-transform: none;
}

@keyframes move {
    0% {
        transform: translate(-50%, 7px);
        opacity: 0;
    }
    20% {
        opacity: 1;
    }
    80% {
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 36px);
        opacity: 0;
    }
}

/* Quando a experiência horizontal chega à zona clara, acompanha o antigo invert. */
body.home.elephant-legacy-homepage #scroll-down-animation.inverter {
    color: #000;
}

@media (max-width: 782px) {
    body.home.elephant-legacy-homepage .elephant-legacy-home__award-copy {
        top: 45%;
        width: 90vw;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__award-title {
        font-size: clamp(34px, 9vw, 56px);
        line-height: .92;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__award-source {
        margin-top: 18px;
        font-size: 10px;
    }

    body.home.elephant-legacy-homepage .elephant-legacy-home__scroll-cue {
        bottom: 15px;
        left: 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home.elephant-legacy-homepage .elephant-legacy-home__award-copy,
    body.home.elephant-legacy-homepage #scroll-down-animation {
        opacity: 1 !important;
        animation: none !important;
        transition: none !important;
    }

    body.home.elephant-legacy-homepage #scroll-down-animation .move {
        animation: none !important;
        transform: translate(-50%, 24px);
        opacity: 1;
    }
}


body.home.elephant-legacy-homepage #scroll-down-animation.inverter .mouse {
    border-color: #000;
}
body.home.elephant-legacy-homepage #scroll-down-animation.inverter .move {
    background-color: #000;
}
body.home.elephant-legacy-homepage #scroll-down-animation.inverter .indicator {
    color: #000;
}
