@charset "UTF-8";

.hero {
    padding: 32px 20px;
}

.hero-admin-empty {
    padding: 24px 16px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d9b24c;
    background: #fffaf0;
}

.hero-admin-empty .section-nav-title {
    display: block !important;
    font-weight: 700;
    margin: 0;
    text-align: center;
    font-size: 20px;
    color: #111111 !important;
}

@media screen and (min-width: 996px) {
    .hero {
        padding: 64px 20px;
    }
}

.hero--container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media screen and (min-width: 996px) {
    .hero--container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

@media screen and (min-width: 996px) {
    .hero .co-text {
        flex: 0 1 680px;
        padding: 64px 0;
    }
}

.hero .co-text h1 {
    font-size: 40px;
    line-height: 48px;
    text-align: center;
}

@media screen and (min-width: 996px) {
    .hero .co-text h1 {
        font-size: 48px;
        line-height: 56px;
        text-align: left;
    }
}


.hero .co-text .co-text--content p {
    max-width: 100%;
    text-align: center;
}

@media screen and (min-width: 996px) {
    .hero .co-text .co-text--content p {
        max-width: 592px;
        text-align: left;
    }
}

.hero .co-text h1+p {
    margin-top: 32px;
}

.hero--container .co-text .co-text--content .co-text--content-btn {
    justify-content: center;
}

@media screen and (min-width: 996px) {
    .hero--container .co-text .co-text--content .co-text--content-btn {
        justify-content: flex-start;
    }
}

.hero--media {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

@media screen and (min-width: 996px) {
    .hero--media {
        flex: 0 1 488px;
    }
}

.hero--media-video {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    height: 480px;
    width: 100%;
    display: block;
}

@media screen and (min-width: 996px) {
    .hero--media-video {
        min-height: 580px;
    }
}

.hero--media-video::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 47px;
    width: 47px;
    mask: url(../../../../../../themes/apo/resources/images/icons/play-round.svg) no-repeat center;
    mask-size: contain;
    background-color: var(--white);
    transition: transform 0.3s ease;
}

.hero--media-video.no-video {
    pointer-events: none;
    cursor: none;
}

.hero--media-video.no-video::after {
    content: none;
}

.hero--media-keynumber {
    padding: 16px;
    display: grid;
    grid-template-columns: 60px auto;
    align-items: center;
    column-gap: 10px;
    border-radius: 10px;
    box-shadow: 6px 6px 22.9px 0px rgba(0, 0, 0, 0.1);
    width: calc(100% - 84px);
    max-width: 236px;
    background-color: var(--white);
    z-index: 1;
    margin-top: -40px;
}

@media screen and (min-width: 996px) {
    .hero--media-keynumber {
        position: absolute;
        bottom: 54px;
        left: -80px;
    }
}

@media screen and (min-width: 1200px) {
    .hero--media-keynumber {
        left: -100px;
    }
}

.hero--media-keynumber span {
    width: 60px;
    height: 60px;
    background-color: var(--ocre-100);
    border-radius: 50%;
    grid-column: 1/2;
    grid-row: 1/3;
    flex-shrink: 0;
    position: relative;
}

.hero--media-keynumber span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    mask: url(../../../../../../themes/apo/resources/images/icons/succès.svg) no-repeat center;
    mask-size: contain;
    background-color: var(--white);
    height: 36px;
    width: 36px;
}

.hero--media-keynumber p {
    grid-column: 2/3;
    font-family: var(--roboto);
    font-size: 11px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
}

.hero--media-keynumber p.number {
    font-family: var(--robotoSlab);
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

@media (hover: hover) {
    .hero--media:hover .hero--media-video::after {
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.hero--media img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.acf-block-preview .hero {
    padding: 48px 24px;
}

.acf-block-preview .hero .hero--container {
    max-width: 1440px;
    margin: 0 auto;
    gap: clamp(48px, 8vw, 128px);
    align-items: center;
}

.acf-block-preview .hero .co-text {
    flex: 1 1 620px;
    padding: 0;
}

.acf-block-preview .hero .co-text--content {
    max-width: 640px;
}

.acf-block-preview .hero .co-text--content-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.acf-block-preview .hero .co-text--content-btn .btn {
    pointer-events: none;
}

.acf-block-preview .hero a {
    pointer-events: none;
}

.acf-block-preview .hero .hero--media {
    flex: 0 1 520px;
    width: min(100%, 520px);
    margin: 0 auto;
}

.acf-block-preview .hero .hero--media-video {
    min-height: 560px;
    height: 560px !important;
    pointer-events: none;
}

.acf-block-preview .hero .hero--media-keynumber {
    position: absolute;
    left: -64px;
    bottom: 40px;
    width: min(280px, calc(100% - 32px));
    max-width: 280px;
    margin-top: 0;
    padding: 20px;
    grid-template-columns: 64px auto;
    column-gap: 16px;
    z-index: 3;
    background-color: #fff;
}

.acf-block-preview .hero .hero--media-keynumber span {
    width: 64px;
    height: 64px;
}

.acf-block-preview .hero .hero--media-keynumber p {
    font-size: 13px;
    margin: 0;
}

.acf-block-preview .hero .hero--media-keynumber p.number {
    font-size: 28px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.acf-block-preview .hero .hero--media:hover .hero--media-video::after {
    transform: translate(-50%, -50%);
}

@media screen and (max-width: 1024px) {
    .acf-block-preview .hero .hero--container {
        gap: 40px;
    }

    .acf-block-preview .hero .hero--media {
        width: min(100%, 488px);
    }

    .acf-block-preview .hero .hero--media-keynumber {
        left: 24px;
        right: 24px;
        bottom: 24px;
        width: auto;
        max-width: none;
    }
}

@media screen and (max-width: 767px) {
    .acf-block-preview .hero {
        padding: 32px 20px;
    }

    .acf-block-preview .hero .hero--container {
        gap: 32px;
    }

    .acf-block-preview .hero .hero--media-video {
        min-height: 420px;
        height: 420px !important;
    }

    .acf-block-preview .hero .hero--media-keynumber {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        margin-top: -40px;
        width: calc(100% - 32px);
    }
}

.th-dark .hero-car-image .co-text--content,
.th-dark .hero-car-image .co-text--content-btn .btn.primary {
    --color: var(--neutre-100);
    --bg-color: var(--white);
    --border-color: var(--white);
    --color-hover: var(--white);
    --bg-color-hover: var(--neutre-100);
    --border-color-hover: var(--neutre-100);
}

.th-dark .hero-car-image .co-text--content,
.th-dark .hero-car-image .co-text--content-btn .btn.secondary {
    --color: var(--white);
    --bg-color: transparent;
    --border-color: var(--white);
    --color-hover: var(--neutre-100);
    --bg-color-hover: var(--white);
    --border-color-hover: var(--white);
}

.th-light .hero-car-image .co-text--content,
.th-light .hero-car-image .co-text--content-btn .btn.secondary {
    --color: var(--white);
    --bg-color: transparent;
    --border-color: var(--white);
    --color-hover: var(--neutre-100);
    --bg-color-hover: var(--white);
    --border-color-hover: var(--white);
}

.th-dore .hero-car-image .co-text--content {
    --color: var(--white);
}

.th-dore .hero-car-image .co-text--content .uptitle {
    --color: var(--ocre-100);
}

.hero-car-image {
    padding: 32px 20px;
}

@media screen and (min-width: 996px) {
    .hero-car-image {
        padding: 64px 20px;
    }
}

.hero-car-image--item {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 468px;
    justify-content: center;
}

.hero-car-image--item .co-text {
    padding: 200px 20px 74px 20px;
    z-index: 1;
    align-items: center;
}

@media screen and (min-width: 996px) {
    .hero-car-image--item .co-text {
        padding: 64px 20px 64px 20px;
    }
}

@media screen and (min-width: 996px) {
    .hero-car-image--item .co-text {
        padding: 64px 20px 64px 104px;
        align-items: start;
    }
}

.hero-car-image--item .co-text--content .uptitle {
    text-align: center;
    color: var(--color);
}

.hero-car-image--item .co-text--content {
    /* max-width: 75%; */
    color: var(--color);
}

@media screen and (min-width: 996px) {
    .hero-car-image--item .co-text--content {
        max-width: 75%;
    }
}

.hero-car-image--item .co-text h1 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color);
}

@media screen and (min-width: 996px) {
    .hero-car-image--item .co-text h1 {
        font-size: 48px;
        text-align: left;
        line-height: 64px;
    }
}

.hero-car-image--item .co-text .co-text--content p {
    text-align: center;
    max-width: 100%;
}

@media screen and (min-width: 996px) {
    .hero-car-image--item .co-text .co-text--content p {
        text-align: left;
    }
}

.hero-car-image--item-img {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index: -1;
}

.hero-car-image--item-img img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.hero-car-image--item::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    /* background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 13.57%, rgba(255, 255, 255, 0) 50.03%), linear-gradient(180deg, rgba(255, 255, 255, 0) 13.23%, rgba(255, 255, 255, 0.8) 46.71%, rgba(255, 255, 255, 0.8) 75.21%, rgba(255, 255, 255, 0) 103.71%); */
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
}

@media screen and (min-width: 996px) {
    .hero-car-image--item::after {
        /* background: linear-gradient(270deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.6) 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.3) 100%); */
        background: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.3) 100%);
    }
}

.hero-car-image .owl-dots {
    position: absolute;
    bottom: 32px;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.hero-car-image .owl-dots .owl-dot {
    height: 10px;
    width: 10px;
    border-radius: 50%;
    background-color: var(--neutre-60);
    transition: background-color 0.3s ease;
}

.hero-car-image .owl-dots .owl-dot.active {
    background-color: white;
}

.acf-block-preview .hero-car-image.is-admin-preview {
    padding: 32px 20px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--container {
    display: block;
    max-width: 1440px;
    margin: 0 auto;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item {
    min-height: 520px;
    z-index: 0;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item:not(:first-child) {
    display: none;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text {
    padding: 64px 32px 56px 32px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content {
    max-width: 520px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text h1 {
    text-align: left;
    font-size: 48px;
    line-height: 56px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content-btn {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content-btn .btn {
    pointer-events: none;
}

.acf-block-preview .hero-car-image.is-admin-preview a {
    pointer-events: none;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item::after {
    z-index: 1;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item-img {
    z-index: 0;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb {
    border-radius: 16px;
    overflow: hidden;
    background: var(--neutre-20);
    display: flex;
    flex-direction: column;
    min-height: 220px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb img,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-image-placeholder {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutre-60);
    background: var(--neutre-20);
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-content {
    padding: 16px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-content .uptitle {
    margin-bottom: 8px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy>* {
    margin: 0;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy>*+* {
    margin-top: 10px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy h1,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy h2 {
    font-family: var(--robotoSlab);
    font-size: 24px;
    line-height: 1.2;
    color: var(--neutre-100);
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy h3 {
    font-family: var(--robotoSlab);
    font-size: 20px;
    line-height: 1.3;
    color: var(--neutre-100);
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-copy p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutre-80);
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumb-links .btn {
    pointer-events: none;
}

.acf-block-preview .hero-car-image.is-admin-preview.th-dark .hero-car-image--item .co-text--content,
.acf-block-preview .hero-car-image.is-admin-preview.th-light .hero-car-image--item .co-text--content,
.acf-block-preview .hero-car-image.is-admin-preview.th-dore .hero-car-image--item .co-text--content {
    color: #fff;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h1,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h2,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h3,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h4,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h5,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content h6,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content p,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content li,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content strong,
.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content em {
    color: inherit;
}

.acf-block-preview .hero-car-image.is-admin-preview.th-dark .hero-car-image--item .co-text .uptitle,
.acf-block-preview .hero-car-image.is-admin-preview.th-light .hero-car-image--item .co-text .uptitle {
    color: #fff;
}

.acf-block-preview .hero-car-image.is-admin-preview.th-dore .hero-car-image--item .co-text .uptitle {
    color: #ddbb59;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content-btn .btn.primary {
    --color: #1f1f1f;
    --bg-color: #fff;
    --border-color: #fff;
    --color-hover: #1f1f1f;
    --bg-color-hover: #fff;
    --border-color-hover: #fff;
}

.acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--item .co-text--content-btn .btn.secondary {
    --color: #fff;
    --bg-color: transparent;
    --border-color: #fff;
    --color-hover: #fff;
    --bg-color-hover: transparent;
    --border-color-hover: #fff;
}

@media screen and (max-width: 960px) {
    .acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .acf-block-preview .hero-car-image.is-admin-preview .hero-car-image--preview-thumbs {
        grid-template-columns: 1fr;
    }
}