/* ==========================================================
   CONSULTORIA E AUDITORIA — SAME LAYOUT AS TV HOTELEIRA
   This file is a copy of css/tv_hoteleira.css (same classes,
   same sizes, same gallery, same large-screen sizes), plus a
   short block at the end for what only this page has: slide
   titles, a longer hero text, and a hero video that only
   shows when its file exists.
   ========================================================== */


/* ==========================================================
   TYPOGRAPHY — MATCH SERVIÇOS
   Only typography sizing/family is synchronized; TV content
   and page structure remain unchanged.
   ========================================================== */

.hotel-tv-page,
.hotel-tv-page button,
.hotel-tv-page a {
    font-family: inherit;
}

/* ==========================================================
   TV HOTELEIRA
   REFERENCE LAYOUT
   ========================================================== */


/* ==========================================================
   PAGE
   ========================================================== */

.hotel-tv-page {

    --hotel-blue: #347ff0;
    --hotel-purple: #9c5cf5;

    --hotel-dark: #1b263b;
    --hotel-text: #3f4b5d;
    --hotel-muted: #8993a3;

    --hotel-border: #e9edf3;

    width: 100%;

    min-height: 100vh;

    background: #ffffff;

    overflow: hidden;

}


/* ==========================================================
   GENERAL CONTAINER
   ========================================================== */

.hotel-content {

    width:calc(100% - 56px);
    width: min(
        1080px,
        calc(100% - 56px)
    );

    margin-left: auto;
    margin-right: auto;

}


/* ==========================================================
   FIRST SECTION
   (taller to fit the bigger image / HTML video)
   ========================================================== */

.hotel-hero {

    position: relative;

    width: 100%;

    height: 450px;

    padding: 0;

    margin: 60px 0 0;

    background: #ffffff;

}


/* ==========================================================
   HERO INNER BOX
   ========================================================== */

.hotel-hero-box {

    position: relative;

    width:calc(100% - 56px);
    width: min(
        1080px,
        calc(100% - 56px)
    );

    height: 450px;

    margin-left: auto;
    margin-right: auto;

}


/* ==========================================================
   GRADIENT BLOCK (now grey panel)
   ========================================================== */

.hotel-hero-gradient {

    position: absolute;

    z-index: 1;

    right: 0;

    top: 90px;

    width: 88%;

    height: 330px;

    background: #f2f2f2;

}


/* ==========================================================
   HERO IMAGE / HTML VIDEO
   Bigger: 560 x 315 (same shape as the video, 1672 x 941)
   ========================================================== */

.hotel-hero-media {

    position: absolute;

    z-index: 5;

    left: 0;

    top: 0;

    width: 560px;

    height: 315px;

    overflow: hidden;

    background: #e9edf2;

    box-shadow:

        0 12px 27px
        rgba(22, 39, 65, 0.17);

}


/* ==========================================================
   HERO IMAGE — IMAGE ONLY
   Hide the video/play control so no paused-video icon appears.
   ========================================================== */

.hotel-hero-media .hero-play {
    display: none !important;
}


/* ==========================================================
   HERO IMAGE ITSELF
   (stays underneath as the poster while the video loads)
   ========================================================== */

.hotel-hero-media img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

}


/* ==========================================================
   HTML VIDEO (iframe)
   Sits exactly on top of the image and fills the frame.
   Clicks pass through, so it behaves like a muted video.
   ========================================================== */

.hotel-hero-media .hero-html-video {

    position: absolute;

    z-index: 2;

    top: 0;
    left: 0;

    display: block;

    width: 100%;

    height: 100%;

    margin: 0;

    padding: 0;

    border: 0;

    background: transparent;

    pointer-events: none;

}


/* ==========================================================
   PLAY BUTTON
   ========================================================== */

.hero-play {

    position: absolute;

    left: 50%;

    top: 50%;

    width: 46px;

    height: 46px;

    padding: 0;

    margin: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    transform:
        translate(
            -50%,
            -50%
        );

    border:

        1.5px solid
        rgba(255,255,255,.95);

    border-radius: 50%;

    background:
        rgba(25, 39, 63, .08);

    cursor: pointer;

    transition:

        transform .2s ease,

        background .2s ease;

}


/* ==========================================================
   PLAY BUTTON HOVER
   ========================================================== */

.hero-play:hover {

    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);

    background:
        rgba(25, 39, 63, .20);

}


/* ==========================================================
   PLAY TRIANGLE
   ========================================================== */

.hero-play span {

    display: block;

    width: 0;

    height: 0;

    margin-left: 3px;

    border-top:

        7px solid
        transparent;

    border-bottom:

        7px solid
        transparent;

    border-left:

        11px solid
        #ffffff;

}


/* ==========================================================
   HERO TEXT
   ========================================================== */

.hotel-hero-copy {

    position: absolute;

    z-index: 4;

    left: 35%;

    bottom: 34px;

    width: 56%;

    color: #000000;

}


/* ==========================================================
   EYEBROW
   ========================================================== */

.hotel-hero-copy .eyebrow {

    display: block;

    margin-bottom: 9px;

    color:

        #000000;

    font-size: 12px;

    line-height: 1;

    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;

}


/* ==========================================================
   HERO TITLE
   ========================================================== */

.hotel-hero-copy h1 {

    margin:

        0 0 9px;

    padding: 0;

    color: #000000;

    font-size: 36px;

    line-height: 1.16;

    font-weight: 800;

    letter-spacing: -.02em;

}


/* ==========================================================
   HERO DESCRIPTION
   ========================================================== */

.hotel-hero-copy p {

    width: 100%;

    max-width: 570px;

    margin: 0;

    padding: 0;

    color:

        #000000;

    font-size: 15px;

    line-height: 1.68;

    font-weight: 400;

}


/* ==========================================================
   SMALL KICKER
   (used by the middle section and the text section)
   ========================================================== */

.small-kicker {

    display: block;

    margin-bottom: 9px;

    color: #000000;

    font-size: 12px;

    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .13em;

    text-transform: uppercase;

}


/* ==========================================================
   CENTER MESSAGE
   ========================================================== */

.hotel-message {

    width: 100%;

    padding:

        55px 0 65px;

    background: #ffffff;

    text-align: center;

}


/* ==========================================================
   MESSAGE INNER
   ========================================================== */

.hotel-message-inner {

    width:calc(100% - 48px);
    width: min(
        620px,
        calc(100% - 48px)
    );

    margin-left: auto;
    margin-right: auto;

}


/* ==========================================================
   MESSAGE TITLE
   ========================================================== */

.hotel-message h2 {

    margin:

        0 0 13px;

    padding: 0;

    color: var(--hotel-dark);

    font-size: 36px;

    line-height: 1.2;

    font-weight: 800;

    letter-spacing: -.02em;

}


/* ==========================================================
   MESSAGE TEXT
   ========================================================== */

.hotel-message p {

    max-width: 590px;

    margin:

        0 auto 22px;

    padding: 0;

    color: var(--hotel-muted);

    font-size: 15px;

    line-height: 1.75;

}


/* ==========================================================
   CTA
   ========================================================== */

.hotel-cta {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-width: 116px;

    height: 31px;

    padding:

        0 18px;

    border-radius: 2px;

    background:

        linear-gradient(
            100deg,
            #416ff1,
            #58c9e8
        );

    color: #ffffff;

    font-size: 14px;

    line-height: 1;

    font-weight: 800;

    letter-spacing: .08em;

    text-decoration: none;

    text-transform: uppercase;

    box-shadow:

        0 6px 16px
        rgba(70,126,237,.16);

    transition:

        transform .2s ease,

        box-shadow .2s ease;

}


.hotel-cta:hover {

    transform:
        translateY(-2px);

    box-shadow:

        0 10px 22px
        rgba(70,126,237,.22);

}


/* ==========================================================
   TEXT SECTION (the big image was removed)
   ========================================================== */

.hotel-message {
    width: 100%;
    padding: 70px 0 80px;
    background: #ffffff;
}

.hotel-video-content {
    width:calc(100% - 56px);
    width: min(1080px, calc(100% - 56px));
    margin-left: auto;
    margin-right: auto;
}

.hotel-video-text {
    width: 54%;
    margin-left: auto;
    margin-top: 34px;
    text-align: left;
}

.hotel-video-text .small-kicker {
    margin-bottom: 9px;
    color: #000000;
}

.hotel-video-text h2 {
    margin: 0 0 13px;
    padding: 0;
    color: var(--hotel-dark);
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.02em;
}

.hotel-video-text p {
    max-width: 590px;
    margin: 0;
    padding: 0;
    color: var(--hotel-muted);
    font-size: 15px;
    line-height: 1.75;
}


/* ==========================================================
   DYNAMIC FEATURE SLIDER
   ========================================================== */

.hotel-features {

    width: 100%;

    padding:
        28px 0 90px;

    background: #ffffff;

}


/* ==========================================================
   SLIDER
   ========================================================== */

.feature-slider {

    position: relative;

    width: 100%;

    height: 430px;

    overflow: hidden;

}


/* ==========================================================
   SLIDE
   ========================================================== */

.feature-card {

    position: absolute;

    z-index: 1;

    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 100%;

    overflow: visible;

    background: transparent;

    border: 0;

    box-shadow: none;

    opacity: 0;

    transform:
        translateX(115%);

    transition:
        transform .75s cubic-bezier(.22,.61,.36,1),
        opacity .75s ease;

    pointer-events: none;

}


.feature-card.is-active {

    z-index: 3;

    opacity: 1;

    transform:
        translateX(0);

    pointer-events: auto;

}


.feature-card.is-previous {

    z-index: 2;

    opacity: 1;

    transform:
        translateX(-115%);

    pointer-events: none;

}


/* ==========================================================
   IMAGE — RIGHT SIDE
   ========================================================== */

.feature-image {

    position: absolute;

    z-index: 1;

    top: 0;
    right: 0;

    width: 68%;

    height: 100%;

    overflow: hidden;

    background: #edf0f5;

}


.feature-image img {

    display: block;

    width: 100%;

    height: 100%;

    object-fit: cover;

    transition:
        transform 1s ease;

}


.feature-card.is-active
.feature-image img {

    transform:
        scale(1);

}


/* ==========================================================
   WHITE TEXT PANEL
   Starts inside the image and overlaps it.
   ========================================================== */

.feature-body {

    position: absolute;

    z-index: 4;

    left: 0;

    top: 50%;

    width: 51%;

    min-height: 235px;

    box-sizing: border-box;

    padding:
        46px 52px 46px 0;

    transform:
        translateY(-50%);

    background: rgba(255, 255, 255, .90);

}


.feature-body::after {

    content: "";

    position: absolute;

    top: 0;
    right: -70px;
    bottom: 0;

    width: 70px;

    background: rgba(255, 255, 255, .90);

    clip-path:
        polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );

}


.feature-body p {

    position: relative;

    z-index: 2;

    max-width: 470px;

    margin: 0;

    padding: 0;

    color: var(--hotel-muted);

    font-size: 20px;

    line-height: 1.9;

    font-weight: 400;

}


/* ==========================================================
   SCROLL ANIMATIONS
   (the middle-section cards have their own, see the
   MIDDLE SECTION block at the end of this file)
   ========================================================== */

.hotel-message-inner {

    opacity: 0;

    transform:
        translateY(22px);

    transition:

        opacity .65s ease,

        transform .65s ease;

}


.hotel-message-inner.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .feature-slider {

        height: 390px;

    }


    .feature-image {

        width: 72%;

    }


    .feature-body {

        width: 53%;

        min-height: 215px;

        padding:
            38px 42px 38px 0;

    }


    .feature-body::after {

        right: -55px;

        width: 55px;

    }


    .feature-body p {

        font-size: 19px;

        line-height: 1.8;

    }

}


/* ==========================================================
   TABLET / SMALL — FEATURE SLIDER
   ========================================================== */

@media (max-width: 700px) {

    .hotel-features {

        padding:
            18px 0 70px;

    }


    .feature-slider {

        height: 520px;

    }


    .feature-image {

        top: 0;
        right: 0;

        width: 88%;

        height: 325px;

    }


    .feature-body {

        top: auto;

        right: auto;
        bottom: 0;

        left: 0;

        width: 76%;

        min-height: 235px;

        padding:
            34px 30px 34px 0;

        transform: none;

    }


    .feature-body::after {

        right: -38px;

        width: 38px;

    }


    .feature-body p {

        font-size: 18px;

        line-height: 1.8;

    }
}


/* ==========================================================
   MOBILE — FEATURE SLIDER
   ========================================================== */

@media (max-width: 500px) {

    .hotel-features {

        padding:
            12px 0 60px;

    }


    .feature-slider {

        height: 500px;

    }


    .feature-image {

        width: 92%;

        height: 295px;

    }


    .feature-body {

        width: 84%;

        min-height: 225px;

        padding:
            30px 22px 30px 0;

    }


    .feature-body::after {

        right: -28px;

        width: 28px;

    }


    .feature-body p {

        font-size: 17px;

        line-height: 1.75;

    }
}


/* ==========================================================
   VERY SMALL MOBILE — FEATURE SLIDER
   ========================================================== */

@media (max-width: 360px) {

    .feature-slider {

        height: 475px;

    }


    .feature-image {

        width: 94%;

        height: 275px;

    }


    .feature-body {

        width: 87%;

        min-height: 215px;

        padding:
            27px 20px 27px 0;

    }


    .feature-body p {

        font-size: 16px;

    }

}


/* ==========================================================
   FEATURE CARD / MESSAGE — VISIBLE STATE
   ========================================================== */

.hotel-message-inner.is-visible,
.feature-card.is-visible {

    opacity: 1;

    transform:
        translateY(0);

}


.feature-card:nth-child(2) {

    transition-delay: .08s;

}


.feature-card:nth-child(3) {

    transition-delay: .16s;

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {


    /* ---------------------------------------------
       HERO
    --------------------------------------------- */

    .hotel-hero {

        height: 440px;

    }


    .hotel-hero-box {

        width:

            calc(100% - 40px);

        height: 440px;

    }


    .hotel-hero-gradient {

        width: 88%;

        height: 300px;

        top: 82px;

    }


    /* Bigger image on tablet too (same 1672 x 941 shape) */
    .hotel-hero-media {

        width: 410px;

        height: 231px;

    }


    .hotel-hero-copy {

        left: 28%;

        bottom: 35px;

        width: 58%;

    }


    .hotel-hero-copy h1 {

        font-size: 32px;

    }


    /* ---------------------------------------------
       CONTENT
    --------------------------------------------- */

    .hotel-content {

        width:

            calc(100% - 40px);

    }

}


/* ==========================================================
   TABLET / SMALL
   ========================================================== */

@media (max-width: 700px) {

    .feature-grid {

        grid-template-columns: 1fr;

        gap: 25px;

    }


    .feature-card {

        width:100%;
        width: min(
            520px,
            100%
        );

        margin-left: auto;

        margin-right: auto;

    }

}


/* ==========================================================
   MOBILE (non-hero rules)
   ========================================================== */

@media (max-width: 500px) {

    .hotel-content {

        width:

            calc(100% - 30px);

    }


    .hotel-features {

        padding:

            8px 0 60px;

    }


    .feature-image {

        height: 190px;

    }

}


/* ==========================================================
   TEXT SECTION — RESPONSIVE
   ========================================================== */

@media (max-width: 900px) {
    .hotel-video-content { width: calc(100% - 40px); }
    .hotel-video-text { width: 62%; margin-top: 30px; }
}

@media (max-width: 700px) {
    .hotel-message { padding: 55px 0 65px; }
    .hotel-video-content { width: calc(100% - 32px); }
    .hotel-video-text { width: 100%; margin-top: 28px; }
    .hotel-video-text h2 { font-size: 32px; }
}

@media (max-width: 500px) {
    .hotel-message { padding: 48px 0 52px; }
    .hotel-video-content { width: calc(100% - 30px); }
    .hotel-video-text { width: 100%; margin-top: 24px; }
    .hotel-video-text h2 { font-size: 30px; }
    .hotel-video-text p { font-size: 15px; line-height: 1.75; }
}


/* ==========================================================
   ONEPA — GREY HERO / SERVIÇOS TYPOGRAPHY MATCH
   ========================================================== */

.hotel-hero-gradient {
    background: #f2f2f2;
}

.hotel-hero-copy,
.hotel-hero-copy .eyebrow,
.hotel-hero-copy h1,
.hotel-hero-copy p {
    color: #000000;
    font-family: inherit;
}

@media (min-width: 901px) {
    .hotel-hero-copy .eyebrow {
        font-size: 12px;
    }

    .hotel-hero-copy h1 {
        font-size: 36px;
    }

    .hotel-hero-copy p {
        font-size: 15px;
    }
}

.small-kicker,
.hotel-video-text .small-kicker {
    color: #000000;
}


/* ==========================================================
   TV HOTELEIRA — TYPOGRAPHY MATCH WITH PARCERIAS
   ========================================================== */

.hotel-tv-page,
.hotel-tv-page h1,
.hotel-tv-page h2,
.hotel-tv-page h3,
.hotel-tv-page p,
.hotel-tv-page .eyebrow,
.hotel-tv-page .small-kicker,
.hotel-tv-page .hotel-video-text,
.hotel-tv-page .feature-body {
    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif !important;
}

/* Keep the opening text panel grey. */
.hotel-tv-page .hotel-hero-gradient {
    background: #f2f2f2 !important;
}

/* Opening title: compact, bold subtitle style like Parcerias. */
.hotel-tv-page .hotel-hero-copy h1 {
    font-size: 16px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    color: #111111 !important;
}

/* Keep all text in the opening grey section black. */
.hotel-tv-page .hotel-hero-copy,
.hotel-tv-page .hotel-hero-copy .eyebrow,
.hotel-tv-page .hotel-hero-copy h1,
.hotel-tv-page .hotel-hero-copy p {
    color: #111111 !important;
}

/* Section labels and subtitles use the same clean font and dark text. */
.hotel-tv-page .small-kicker,
.hotel-tv-page .hotel-message h2,
.hotel-tv-page .hotel-video-text h2 {
    color: #111111 !important;
    font-weight: 600 !important;
}

/* Body text: consistent, compact size and black color. */
.hotel-tv-page .hotel-hero-copy p,
.hotel-tv-page .hotel-message p,
.hotel-tv-page .hotel-video-text p,
.hotel-tv-page .feature-body p {
    color: #111111 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 400 !important;
}

/* Preserve the compact uppercase labels. */
.hotel-tv-page .hotel-hero-copy .eyebrow,
.hotel-tv-page .small-kicker {
    font-size: 12px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
}

/* Keep white CTA text readable on its existing button background. */
.hotel-tv-page .hotel-cta {
    color: #ffffff !important;
}


/* ==========================================================
   MOBILE ONLY (≤ 700px)
   1) Hero looks exactly like desktop: image top-left, grey
      panel behind it shifted right, text inside the panel.
   2) Feature slider scaled down.
   ========================================================== */

@media (max-width: 700px) {

    /* ---------------- HERO (same look as desktop) ---------------- */

    .hotel-hero {
        height: auto;
        margin-top: 40px;
        margin-bottom: 20px;
    }

    .hotel-hero-box {
        width: calc(100% - 32px);
        height: calc((100vw - 32px) * 0.45 + 24px + 170px);
    }

    .hotel-hero-gradient {
        top: 48px;
        right: 0;
        bottom: 0;
        left: auto;
        width: 92%;
        height: auto;
        background: #f2f2f2 !important;
    }

    .hotel-hero-media {
        position: absolute;
        top: 0;
        left: 0;
        width: 80%;
        height: auto;
        aspect-ratio: 1672 / 941;
    }

    .hotel-hero-copy {
        position: absolute;
        z-index: 4;
        top: calc((100vw - 32px) * 0.45 - 24px);
        bottom: auto;
        left: 0;
        right: 0;
        width: auto;
        margin: 0;
        padding: 0 22px;
        box-sizing: border-box;
        text-align: left;
    }

    .hotel-tv-page .hotel-hero-copy .eyebrow {
        display: none !important;
    }

    .hotel-tv-page .hotel-hero-copy h1 {
        text-align: left;
        margin: 0 0 9px;
    }

    .hotel-tv-page .hotel-hero-copy p {
        max-width: 100%;
        margin: 0;
        text-align: justify;
        text-justify: inter-word;
        hyphens: auto;
        -webkit-hyphens: auto;
    }

    .hotel-hero {
        margin-bottom: 0;
    }

    /* Gap between the text section and the section above it */
    .hotel-message {
        padding-top: 24px;
    }

    .hotel-tv-page .small-kicker {
        text-align: center;
    }


    /* ---------------- FEATURE SLIDER (same look as desktop) ---------------- */

    .feature-slider {
        height: 270px;
    }

    .feature-image {
        top: 0;
        right: 0;
        bottom: auto;
        left: auto;
        width: 70%;
        height: 100%;
    }

    .feature-body {
        top: 50%;
        right: auto;
        bottom: auto;
        left: 0;
        width: 58%;
        min-height: 150px;
        padding: 22px 14px 22px 0;
        transform: translateY(-50%);
    }

    .feature-body::after {
        right: -22px;
        width: 22px;
    }

    .hotel-tv-page .feature-body p {
        max-width: 100%;
        text-align: left;
    }
}


/* ==========================================================
   TEXT SIZES MATCH THE SOBRE PAGE
   18px text / 21px titles on desktop,
   16px / 19px up to 1100px, 17px / 20px up to 900px.
   ========================================================== */

.hotel-tv-page {
    --tv-text-size: 18px;
    --tv-title-size: 21px;
    --tv-label-size: 14px;
    --tv-line-height: 1.6;
}

@media (max-width: 1100px) {
    .hotel-tv-page {
        --tv-text-size: 16px;
        --tv-title-size: 19px;
    }
}

@media (max-width: 900px) {
    .hotel-tv-page {
        --tv-text-size: 17px;
        --tv-title-size: 20px;
    }
}

/* Body texts */
.hotel-tv-page .hotel-hero-copy p,
.hotel-tv-page .hotel-message p,
.hotel-tv-page .hotel-video-text p,
.hotel-tv-page .feature-body p {
    font-size: var(--tv-text-size) !important;
    line-height: var(--tv-line-height) !important;
}

/* Titles / subtitles */
.hotel-tv-page .hotel-hero-copy h1,
.hotel-tv-page .hotel-message h2,
.hotel-tv-page .hotel-video-text h2 {
    font-size: var(--tv-title-size) !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
}

/* Small uppercase labels */
.hotel-tv-page .hotel-hero-copy .eyebrow,
.hotel-tv-page .small-kicker {
    font-size: var(--tv-label-size) !important;
}


/* ==========================================================
   HERO TEXT CENTERED IN THE GREY PANEL
   (desktop + tablet, > 700px)
   ========================================================== */

@media (min-width: 701px) {

    .hotel-hero-copy {
        position: absolute;
        top: 0;
        bottom: 0;
        left: calc(560px - 13.6364%);
        right: 0;
        width: auto;
        height: auto;
        margin: 0;
        padding: 24px 48px;
        box-sizing: border-box;
        transform: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: left;
    }

    .hotel-tv-page .hotel-hero-copy .eyebrow,
    .hotel-tv-page .hotel-hero-copy h1,
    .hotel-tv-page .hotel-hero-copy p {
        width: 100%;
        max-width: 520px;
        text-align: left !important;
    }

    .hotel-tv-page .hotel-hero-copy .eyebrow {
        margin: 0 0 10px;
    }

    .hotel-tv-page .hotel-hero-copy h1 {
        margin: 0 0 12px;
    }

    .hotel-tv-page .hotel-hero-copy p {
        margin: 0;
    }
}

@media (min-width: 901px) and (max-width: 1100px) {

    .hotel-hero-media {
        width: 480px;
        height: 270px;
    }

    .hotel-hero-gradient {
        top: 80px;
        height: 330px;
    }

    .hotel-hero,
    .hotel-hero-box {
        height: 440px;
    }

    .hotel-hero-copy {
        left: calc(480px - 13.6364%);
        padding: 24px 32px;
    }
}

@media (min-width: 701px) and (max-width: 900px) {

    .hotel-hero,
    .hotel-hero-box {
        height: 500px;
    }

    .hotel-hero-gradient {
        height: 360px;
    }

    .hotel-hero-copy {
        left: calc(410px - 13.6364%);
        padding: 20px 22px;
    }
}


/* ==========================================================
   MOBILE ROOM FOR THE BIGGER TEXT (≤ 700px)
   ========================================================== */

@media (max-width: 700px) {

    .hotel-hero-box {
        height: calc((100vw - 32px) * 0.45 + 24px + 250px);
    }

    .feature-slider {
        height: 340px;
    }

    .feature-body {
        min-height: 200px;
    }
}


/* ==========================================================
   MIDDLE SECTION — GALLERY (3D rotation)
   Each item can be an HTML animation, an image or a video.
   No grey boxes: an item stays invisible until its file has
   loaded (js/tv_hoteleira.js adds .is-ready), and items whose
   file does not exist are removed.

   Every item has the SAME size, in front and in the back
   (the size of the first image). The places are made with
   transform (move only), so an HTML animation inside never
   has to resize while it moves: smooth and sharp.
   Shape: 16:9. Keep this block LAST.
   ========================================================== */

.hotel-tv-page .hotel-gallery {
    width: 100%;
    padding: 80px 0 30px;
    background: transparent;
}

/* Hidden completely when there is nothing to show */
.hotel-tv-page .hotel-gallery.is-empty {
    display: none;
}

/* The gallery area: its height follows its width */
.hotel-tv-page .gallery-stage {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 43%;
}

/* 1 or 2 items: no back row, so less height */
.hotel-tv-page .gallery-stage.is-flat {
    padding-bottom: 29%;
}

/* One item: 48.5% wide, 16:9 */
.hotel-tv-page .gallery-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 48.5%;
    height: 0;
    padding-bottom: 27.28%;         /* 48.5% x 9/16 */
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
    opacity: 0;
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    -webkit-transform: translate(0, 47.3%);
    transform: translate(0, 47.3%);
    -webkit-filter: none;
    filter: none;
    transition:
        -webkit-transform 1.1s cubic-bezier(.65, 0, .35, 1),
        transform 1.1s cubic-bezier(.65, 0, .35, 1),
        opacity .8s ease,
        -webkit-filter 1.1s ease,
        filter 1.1s ease;
}

/* Visible only once its file has loaded.
   No frame, no shadow: only the picture itself shows. */
.hotel-tv-page .gallery-item.is-ready {
    opacity: 1;
}

/* The content fills the frame */
.hotel-tv-page .gallery-item iframe,
.hotel-tv-page .gallery-item img,
.hotel-tv-page .gallery-item video {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    object-fit: cover;
    pointer-events: none;           /* behaves like a picture */
}


/* ---------- Places in front ---------- */

.hotel-tv-page .gallery-item.pos-front-left {
    -webkit-transform: translate(0, 47.3%);
    transform: translate(0, 47.3%);
}

.hotel-tv-page .gallery-item.pos-front-right {
    -webkit-transform: translate(106.19%, 47.3%);
    transform: translate(106.19%, 47.3%);
}

/* only one item: centred */
.hotel-tv-page .gallery-item.pos-single {
    -webkit-transform: translate(53.09%, 0);
    transform: translate(53.09%, 0);
}

/* 1 or 2 items: front row at the top */
.hotel-tv-page .gallery-stage.is-flat .gallery-item.pos-front-left {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.hotel-tv-page .gallery-stage.is-flat .gallery-item.pos-front-right {
    -webkit-transform: translate(106.19%, 0);
    transform: translate(106.19%, 0);
}


/* ---------- Places in the back ----------
   Same size as the images in front. They sit behind them and
   higher up, slightly softer, so they look farther away. */

/* with 3 items: one in the back, centred */
.hotel-tv-page .gallery-item.pos-back {
    -webkit-transform: translate(53.09%, 0);
    transform: translate(53.09%, 0);
}

/* with 4 items: two in the back, one behind each front image */
.hotel-tv-page .gallery-item.pos-back-left {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
}

.hotel-tv-page .gallery-item.pos-back-right {
    -webkit-transform: translate(106.19%, 0);
    transform: translate(106.19%, 0);
}

/* with 5 or more: the extra items wait hidden behind */
.hotel-tv-page .gallery-item.pos-hidden {
    -webkit-transform: translate(53.09%, 0);
    transform: translate(53.09%, 0);
}

.hotel-tv-page .gallery-item.pos-hidden.is-ready {
    opacity: 0;
}

.hotel-tv-page .gallery-item.is-ready.pos-back,
.hotel-tv-page .gallery-item.is-ready.pos-back-left,
.hotel-tv-page .gallery-item.is-ready.pos-back-right,
.hotel-tv-page .gallery-item.is-ready.pos-hidden {
    -webkit-filter: blur(1.2px) brightness(.9) saturate(.85);
    filter: blur(1.2px) brightness(.9) saturate(.85);
}


/* ---------- Tablet ---------- */

@media (max-width: 900px) {

    .hotel-tv-page .hotel-gallery {
        padding: 64px 0 24px;
    }

    .hotel-tv-page .gallery-item {
        border-radius: 12px;
    }
}


/* ---------- Mobile: same structure, a little more room ---------- */

@media (max-width: 700px) {

    .hotel-tv-page .hotel-gallery {
        padding: 40px 0 12px;
    }

    .hotel-tv-page .gallery-stage {
        padding-bottom: 46%;
    }

    .hotel-tv-page .gallery-stage.is-flat {
        padding-bottom: 29.5%;
    }

    /* items 49% wide */
    .hotel-tv-page .gallery-item {
        width: 49%;
        padding-bottom: 27.56%;
        border-radius: 8px;
    }

    .hotel-tv-page .gallery-item.pos-front-left {
        -webkit-transform: translate(0, 50.07%);
        transform: translate(0, 50.07%);
    }

    .hotel-tv-page .gallery-item.pos-front-right {
        -webkit-transform: translate(104.08%, 50.07%);
        transform: translate(104.08%, 50.07%);
    }

    .hotel-tv-page .gallery-item.pos-single {
        -webkit-transform: translate(52.04%, 0);
        transform: translate(52.04%, 0);
    }

    .hotel-tv-page .gallery-stage.is-flat .gallery-item.pos-front-right {
        -webkit-transform: translate(104.08%, 0);
        transform: translate(104.08%, 0);
    }

    /* back places: same size as the front images */
    .hotel-tv-page .gallery-item.pos-back {
        -webkit-transform: translate(52.04%, 0);
        transform: translate(52.04%, 0);
    }

    .hotel-tv-page .gallery-item.pos-back-left {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    .hotel-tv-page .gallery-item.pos-back-right {
        -webkit-transform: translate(104.08%, 0);
        transform: translate(104.08%, 0);
    }

    .hotel-tv-page .gallery-item.pos-hidden {
        -webkit-transform: translate(52.04%, 0);
        transform: translate(52.04%, 0);
    }
}


/* ---------- No motion for visitors who turned it off ---------- */

@media (prefers-reduced-motion: reduce) {

    .hotel-tv-page .gallery-item {
        transition: opacity .3s ease;
    }
}


/* ==========================================================
   LARGE SCREENS (1301 px and wider) — EVERYTHING BIGGER
   The page content is 1400 px wide instead of 1080 px, so the
   first section, the gallery, the text and the slider all
   grow by about 30%. The hero image grows in the same shape
   (726 x 408) and the text is a little larger to match.
   Smaller screens (laptops, tablets, phones) stay exactly
   as before.
   ========================================================== */

@media (min-width: 1301px) {

    /* text a little larger */
    .hotel-tv-page {
        --tv-text-size: 20px;
        --tv-title-size: 24px;
        --tv-label-size: 15px;
    }

    /* wider content everywhere (old browsers use the first line) */
    .hotel-content,
    .hotel-hero-box,
    .hotel-video-content {
        width: calc(100% - 80px);
        width: min(1400px, calc(100% - 80px));
    }

    /* ---------- first section ---------- */

    .hotel-hero,
    .hotel-hero-box {
        height: 585px;
    }

    .hotel-hero-media {
        width: 726px;
        height: 408px;
    }

    .hotel-hero-gradient {
        top: 117px;
        height: 428px;
    }

    .hotel-hero-copy {
        left: calc(726px - 13.6364%);
        padding: 32px 64px;
    }

    .hotel-tv-page .hotel-hero-copy .eyebrow,
    .hotel-tv-page .hotel-hero-copy h1,
    .hotel-tv-page .hotel-hero-copy p {
        max-width: 620px;
    }

    .hotel-tv-page .hotel-hero-copy .eyebrow {
        margin: 0 0 12px;
    }

    .hotel-tv-page .hotel-hero-copy h1 {
        margin: 0 0 16px;
    }

    /* ---------- gallery (grows with the content width) ---------- */

    .hotel-tv-page .hotel-gallery {
        padding: 100px 0 40px;
    }

    /* ---------- text section ---------- */

    .hotel-video-text p {
        max-width: 700px;
    }

    /* ---------- slider ---------- */

    .feature-slider {
        height: 560px;
    }

    .feature-body {
        min-height: 300px;
        padding: 56px 64px 56px 0;
    }

    .feature-body p {
        max-width: 600px;
    }
}



/* ==========================================================
   THIS PAGE ONLY
   ========================================================== */

/* Hero video: hidden until js/consultoria_auditoria.js finds the file
   and gives the iframe its src, so a missing file never shows */
.hotel-hero-media .hero-html-video:not([src]),
.hotel-hero-media .hero-html-video[src=""] {
    display: none;
}

/* Slide titles (the TV Hoteleira slides have no title) */
.hotel-tv-page .feature-body h3 {
    position: relative;
    z-index: 2;
    margin: 0 0 13px;
    padding: 0;
    color: #111111;
    font-size: var(--tv-title-size);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: 0;
}

.hotel-tv-page .feature-body h3:empty {
    display: none;
}

/* Tablet: this page's hero text is longer, so the image is a
   little smaller and the grey panel a little taller */
@media (min-width: 701px) and (max-width: 900px) {

    .hotel-hero,
    .hotel-hero-box {
        height: 540px;
    }

    .hotel-hero-gradient {
        height: 400px;
    }

    .hotel-hero-media {
        width: 360px;
        height: 203px;
    }

    .hotel-hero-copy {
        left: calc(360px - 13.6364%);
        padding: 20px 20px;
    }
}

/* Mobile: more room for the longer hero text and the slide titles */
@media (max-width: 700px) {

    .hotel-hero-box {
        height: calc((100vw - 32px) * 0.45 + 24px + 290px);
    }

    .hotel-tv-page .feature-body h3 {
        margin: 0 0 8px;
    }

    .feature-slider {
        height: 400px;
    }
}

@media (max-width: 400px) {

    .hotel-hero-box {
        height: calc((100vw - 32px) * 0.45 + 24px + 330px);
    }

    .feature-slider {
        height: 470px;
    }
}