/* Widget bourgogne-section */

.bourgogne-section,
.bourgogne-section * {
    box-sizing: border-box;
}

.bourgogne-section {
    --bourgogne-section-secondary: #0b0e19;
    --bourgogne-section-accent: #f47a34;
    position: relative;
    min-height: 32rem;
    overflow: hidden;
    padding: 8rem 0;
    background: var(--bourgogne-section-secondary);
    color: #ffffff;
}

.bourgogne-section__background,
.bourgogne-section__overlay {
    position: absolute;
    inset: 0;
}

.bourgogne-section__background {
    z-index: 0;
    overflow: hidden;
}

.bourgogne-section__image {
    position: absolute;
    top: -10%;
    left: 0;
    display: block;
    width: 100%;
    height: 120%;
    object-fit: cover;
    transform: translate3d(0, var(--bourgogne-section-offset, 0px), 0);
    will-change: transform;
}

.bourgogne-section__overlay {
    background: rgba(11, 14, 25, 0.8);
}

.bourgogne-section__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.bourgogne-section__content {
    width: 100%;
    max-width: 42rem;
    opacity: 0;
    transform: translateY(2.5rem);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.bourgogne-section__content.is-in-view {
    opacity: 1;
    transform: translateY(0);
}

.elementor-editor-active .bourgogne-section__content,
.elementor-editor-preview .bourgogne-section__content {
    opacity: 1;
    transform: none;
}

.bourgogne-section__title {
    margin: 0 0 1.5rem !important;
    color: #ffffff;
    font-family: var(--font-heading, "Lato", sans-serif);
    font-size: clamp(1.875rem, 1.2rem + 2vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.bourgogne-section__title-highlight {
    position: relative;
    z-index: 0;
    display: inline-block;
    color: #ffffff;
}

.bourgogne-section__title-highlight-bg {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.02em;
    z-index: -1;
    height: 0.25em;
    background: var(--bourgogne-section-accent);
}

.bourgogne-section__text,
.bourgogne-section__text p {
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font-body, "Poppins", sans-serif);
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0;
}

.bourgogne-section__text p {
    margin: 0 0 1rem !important;
}

.bourgogne-section__text p:last-child {
    margin-bottom: 0 !important;
}

/*RESPONSIVE*/

/*phone*/
@media (max-width: 767px) {

    .bourgogne-section {
        min-height: 28rem;
        padding: 5rem 0;
    }

    .bourgogne-section__inner {
        padding: 0 1rem;
    }

}

/*tablet*/
@media (min-width: 768px) and (max-width: 1023px) {

    .bourgogne-section {
        padding: 6rem 0;
    }

    .bourgogne-section__inner {
        padding: 0 1.5rem;
    }

}

/*mobile and tablet*/
@media (max-width: 1023px) {

}

/*desktop*/
@media (min-width: 1025px) {

}

/*laptop 1*/
@media (min-width: 1024px) and (max-width: 1439px) {

    .bourgogne-section {
        min-height: 15rem;
        padding: 5rem 0;
    }

    .bourgogne-section__inner {
        max-width: 1135px;
    }

    .bourgogne-section__title {
        font-size: 2.25rem;
    }

    .bourgogne-section__content {
        max-width: 35rem;
    }

    .bourgogne-section__text,
    .bourgogne-section__text p {
        font-size: 0.75rem;
    }

}

/*laptop 2*/
@media (min-width: 1440px) and (max-width: 1700px) {

}

/*RESPONSIVE*/

/* mobile paragraph minimum */
@media (max-width: 767px) {
    .bourgogne-section p {
        font-size: max(0.9375rem, 1em);
    }
}
