/* =====================================================================
 * L'Éléphant — Página Serviços
 * ===================================================================== */

body.elephant-services-page {
    background: var(--beige);
}

body.elephant-services-page main#main {
    padding: 0;
    margin: 0;
    background: var(--beige);
}


/* =====================================================================
 * Header da página Serviços
 * Mantém-se branco em toda a página, exatamente como no layout.
 * EN / FR fazem parte do próprio #main-menu para manter o alinhamento.
 * ===================================================================== */
body.elephant-services-page header.menu-transparente #main-menu li a,
body.elephant-services-page header.menu-transparente #mobile-menu li a {
    color: #fff !important;
    transition: opacity .25s ease;
}

body.elephant-services-page header.menu-transparente #main-menu li a:hover,
body.elephant-services-page header.menu-transparente #main-menu li a:focus-visible,
body.elephant-services-page header.menu-transparente #mobile-menu li a:hover,
body.elephant-services-page header.menu-transparente #mobile-menu li a:focus-visible {
    color: #fff !important;
}

body.elephant-services-page .site-lelephant,
body.elephant-services-page .site-lelephant.inverter,
body.elephant-services-page header.menu-transparente.inverter .site-lelephant {
    filter: none !important;
}

/* O logo permanece sempre na versão branca na página Serviços. */
body.elephant-services-page .elephant-header-logo {
    filter: none !important;
}

body.elephant-services-page #main-menu > li.elephant-services-language > a {
    display: block;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    text-transform: uppercase;
    color: #fff !important;
}

body.elephant-services-page #main-menu > li.elephant-services-language:first-of-type {
    margin-top: 2px;
}


/* Hero usa a Imagem de destaque da página. */
.elephant-services__hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    min-height: 620px;
    overflow: hidden;
    background: var(--beige);
}

.elephant-services__hero-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center center;
}

.elephant-services__hero-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: rgba(0, 0, 0, .08);
}

/* Introdução — composição centrada do XD. */
.elephant-services__intro {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48vh;
    padding: clamp(70px, 8vw, 150px) 8vw;
    background: var(--beige);
}

.elephant-services__intro-inner {
    width: min(980px, 82vw);
    margin: 0 auto;
    text-align: center;
}

.elephant-services__intro-copy {
    max-width: 900px;
    margin: 0 auto;
    font-family: "Roboto", sans-serif;
    font-size: clamp(14px, .82vw, 18px);
    font-weight: 400;
    line-height: 1.28;
    color: var(--black);
}

.elephant-services__intro-tagline {
    margin: clamp(34px, 3vw, 58px) auto 0;
    font-family: "LibreBodoni", "Libre Bodoni", serif;
    font-size: clamp(22px, 1.55vw, 34px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    color: var(--black);
}

/* Serviços: não são cards soltos; são faixas editoriais como no XD. */
.elephant-services__list {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, .15);
    background: var(--beige);
}

.elephant-services__card {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: clamp(220px, 27vh, 340px);
    border-bottom: 1px solid rgba(0, 0, 0, .15);
    background: var(--beige);
}

.elephant-services__card-inner {
    width: min(650px, 42vw);
    margin-left: 13.8vw;
    padding: 46px 0;
}

.elephant-services__card-title {
    margin: 0 0 11px;
    font-family: "Roboto", sans-serif;
    font-size: clamp(15px, .85vw, 18px);
    line-height: 1.15;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--black);
}

.elephant-services__card-copy {
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: clamp(13px, .72vw, 15px);
    line-height: 1.25;
    font-weight: 400;
    color: var(--black);
}

.elephant-services__projects-link-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    padding: 70px 30px;
    background: var(--beige);
}

.elephant-services__projects-link {
    display: inline-block;
    font-family: "Roboto", sans-serif;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    text-transform: uppercase;
    color: var(--black);
    transition: opacity .25s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
}

.elephant-services__projects-link:hover {
    color: var(--black);
    opacity: .55;
    transform: translateY(-2px);
}

/* Movimento leve, alinhado com o resto do site. */
.elephant-services-reveal {
    opacity: 0;
    transform: translateY(26px);
    transition:
        opacity .72s cubic-bezier(.22, 1, .36, 1),
        transform .82s cubic-bezier(.22, 1, .36, 1);
    will-change: opacity, transform;
}

.elephant-services-reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1100px) {
    .elephant-services__hero {
        min-height: 520px;
    }

    .elephant-services__intro {
        min-height: 42vh;
    }

    .elephant-services__card-inner {
        width: min(650px, 62vw);
        margin-left: 9vw;
    }
}

@media (max-width: 767px) {
    .elephant-services__hero {
        height: 100svh;
        min-height: 520px;
    }

    .elephant-services__intro {
        min-height: auto;
        padding: 82px 24px;
    }

    .elephant-services__intro-inner {
        width: 100%;
    }

    .elephant-services__intro-copy {
        font-size: 14px;
        line-height: 1.35;
    }

    .elephant-services__intro-tagline {
        margin-top: 32px;
        font-size: 22px;
    }

    .elephant-services__card {
        min-height: 230px;
    }

    .elephant-services__card-inner {
        width: auto;
        margin: 0;
        padding: 48px 24px;
    }

    .elephant-services__card-title {
        font-size: 15px;
    }

    .elephant-services__card-copy {
        font-size: 13px;
        line-height: 1.35;
    }

    .elephant-services__projects-link-wrap {
        min-height: 180px;
        padding: 60px 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .elephant-services-reveal,
    .elephant-services-reveal.is-revealed {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
