/**
 * Slider principal da Home.
 */

.ou-hero,
.ou-hero * {
    box-sizing: border-box;
}

.ou-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #202020;
}

.ou-hero__viewport {
    position: relative;
    width: 100%;
    min-height: clamp(560px, 72vh, 790px);
    overflow: hidden;
}

.ou-hero__track {
    position: relative;
    width: 100%;
    min-height: inherit;
}

.ou-hero__slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: inherit;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.65s ease,
        visibility 0.65s ease;
}

.ou-hero__slide.is-active {
    position: relative;
    z-index: 2;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.ou-hero__picture,
.ou-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ou-hero__picture {
    z-index: 0;
}

.ou-hero__image {
    display: block;
    object-fit: cover;
    object-position: center;
}

.ou-hero__overlay {
    position: absolute;
    z-index: 1;
    inset: 0;
    background: rgba(0, 0, 0, 0.13);
}

.ou-hero__slide--text-dark .ou-hero__overlay {
    background: rgba(255, 255, 255, 0.35);
}

.ou-hero__container {
    position: relative;
    z-index: 3;
    width: min(100% - 40px, 1240px);
    margin: 0 auto;
    padding: 90px 0 110px;
}

.ou-hero__content {
    width: min(100%, 650px);
}

.ou-hero__slide--align-left .ou-hero__content {
    margin-right: auto;
    text-align: left;
}

.ou-hero__slide--align-center .ou-hero__content {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.ou-hero__slide--align-right .ou-hero__content {
    margin-left: auto;
    text-align: right;
}

.ou-hero__slide--text-light {
    color: #ffffff;
}

.ou-hero__slide--text-dark {
    color: #202124;
}

.ou-hero__eyebrow {
    display: inline-block;
    margin-bottom: 15px;
    color: #fadd7b;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.4;
    text-transform: uppercase;
}

.ou-hero__slide--text-dark .ou-hero__eyebrow {
    color: #ed3237;
}

.ou-hero__title {
    max-width: 780px;
    margin: 0;
    color: inherit;
    font-size: clamp(42px, 5.3vw, 78px);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 0.98;
}

.ou-hero__description {
    max-width: 620px;
    margin-top: 24px;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.6;
}

.ou-hero__slide--align-center .ou-hero__description {
    margin-right: auto;
    margin-left: auto;
}

.ou-hero__slide--align-right .ou-hero__description {
    margin-left: auto;
}

.ou-hero__description p {
    margin: 0;
}

.ou-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-top: 32px;
}

.ou-hero__slide--align-center .ou-hero__actions {
    justify-content: center;
}

.ou-hero__slide--align-right .ou-hero__actions {
    justify-content: flex-end;
}

.ou-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 25px;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.ou-hero__button:hover,
.ou-hero__button:focus {
    transform: translateY(-2px);
}

.ou-hero__button--primary {
    border-color: #ed3237;
    background: #ed3237;
    color: #ffffff;
}

.ou-hero__button--primary:hover,
.ou-hero__button--primary:focus {
    border-color: #c9252a;
    background: #c9252a;
    color: #ffffff;
}

.ou-hero__button--secondary {
    border-color: #ffffff;
    background: transparent;
    color: #ffffff;
}

.ou-hero__button--secondary:hover,
.ou-hero__button--secondary:focus {
    background: #ffffff;
    color: #202124;
}

.ou-hero__slide--text-dark .ou-hero__button--secondary {
    border-color: #202124;
    color: #202124;
}

.ou-hero__slide--text-dark .ou-hero__button--secondary:hover,
.ou-hero__slide--text-dark .ou-hero__button--secondary:focus {
    background: #202124;
    color: #ffffff;
}

.ou-hero__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.48);
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.32);
    color: #ffffff;
    cursor: pointer;
    transform: translateY(-50%);
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.ou-hero__arrow:hover,
.ou-hero__arrow:focus {
    border-color: #ed3237;
    background: #ed3237;
    outline: none;
}

.ou-hero__arrow span {
    display: block;
    margin-top: -4px;
    font-size: 40px;
    font-weight: 300;
    line-height: 1;
}

.ou-hero__arrow--previous {
    left: 25px;
}

.ou-hero__arrow--next {
    right: 25px;
}

.ou-hero__dots {
    position: absolute;
    z-index: 10;
    right: 0;
    bottom: 34px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.ou-hero__dot {
    display: block;
    width: 11px;
    height: 11px;
    padding: 0;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition:
        width 0.2s ease,
        border-radius 0.2s ease,
        background-color 0.2s ease;
}

.ou-hero__dot.is-active {
    width: 30px;
    border-color: #ed3237;
    border-radius: 10px;
    background: #ed3237;
}

@media screen and (max-width: 1100px) {
    .ou-hero__viewport {
        min-height: 650px;
    }

    .ou-hero__container {
        width: min(100% - 80px, 1100px);
    }

    .ou-hero__arrow--previous {
        left: 14px;
    }

    .ou-hero__arrow--next {
        right: 14px;
    }
}

@media screen and (max-width: 767px) {
    .ou-hero__viewport {
        min-height: 660px;
    }

    .ou-hero__slide {
        align-items: flex-start;
    }

    .ou-hero__image {
        object-position: center;
    }

    .ou-hero__container {
        width: min(100% - 36px, 720px);
        margin: 0 auto;
        padding: 45px 0 90px;
    }

    .ou-hero__content,
    .ou-hero__slide--align-left .ou-hero__content,
    .ou-hero__slide--align-center .ou-hero__content,
    .ou-hero__slide--align-right .ou-hero__content {
        align-self: flex-start;
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }

    .ou-hero__title {
        font-size: clamp(38px, 12vw, 58px);
        line-height: 1.02;
    }

    .ou-hero__description,
    .ou-hero__slide--align-right .ou-hero__description {
        margin-right: auto;
        margin-left: auto;
        font-size: 17px;
    }

    .ou-hero__actions,
    .ou-hero__slide--align-left .ou-hero__actions,
    .ou-hero__slide--align-center .ou-hero__actions,
    .ou-hero__slide--align-right .ou-hero__actions {
        justify-content: center;
    }

    .ou-hero__button {
        min-width: 190px;
    }

    .ou-hero__arrow {
        display: none;
    }

    .ou-hero__dots {
        bottom: 26px;
    }
}

@media screen and (max-width: 480px) {
    .ou-hero__viewport {
        min-height: 620px;
    }

    .ou-hero__container {
        width: calc(100% - 30px);
        padding-bottom: 82px;
    }

    .ou-hero__eyebrow {
        font-size: 12px;
    }

    .ou-hero__title {
        font-size: 40px;
    }

    .ou-hero__description {
        margin-top: 18px;
        font-size: 16px;
    }

    .ou-hero__actions {
        flex-direction: column;
        width: 100%;
        margin-top: 25px;
    }

    .ou-hero__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ou-hero__slide,
    .ou-hero__button,
    .ou-hero__dot {
        transition: none;
    }
}

/* Remove definitivamente a película escura do slider */
/* Película suave */
.ou-hero .ou-hero__overlay,
.ou-home .ou-hero__overlay,
body .ou-hero__overlay {
    background: rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
}

/* Mantém o texto legível sem escurecer toda a imagem */
.ou-hero__eyebrow,
.ou-hero__title,
.ou-hero__description {
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.85),
        0 4px 12px rgba(0, 0, 0, 0.55);
}

/* Texto escuro não precisa de sombra branca pesada */
.ou-hero__slide--text-dark .ou-hero__eyebrow,
.ou-hero__slide--text-dark .ou-hero__title,
.ou-hero__slide--text-dark .ou-hero__description {
    text-shadow:
        0 1px 3px rgba(255, 255, 255, 0.75);
}