@charset "UTF-8";

.hero {
    padding: 32px 20px;
}

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

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

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

@media screen and (min-width: 768px) {
    .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: 768px) {
    .hero .co-text h1 {
        font-size: 48px;
        line-height: 56px;
        text-align: left;
    }
}

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

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

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

@media screen and (min-width: 768px) {
    .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: 768px) {
    .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: 768px) {
    .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%;
}

.hero.full {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 32px 0;
}

@media screen and (min-width: 768px) {
    .hero.full {
        flex-direction: row;
    }
}

.hero.full .co-text {
    padding: 0 20px;
}

@media screen and (min-width: 768px) {
    .hero.full .co-text {
        flex: 0 0 680px;
        z-index: 1;
        padding: 245px 20px;
        pointer-events: none;
    }
}

@media screen and (min-width: 768px) {

    .hero.full .co-text h1,
    .hero.full .co-text p {
        pointer-events: none;
    }
}

.hero.full .co-text .btn {
    pointer-events: auto;
}

@media screen and (min-width: 768px) {
    .hero.full .hero--container {
        justify-content: unset;
    }
}

@media screen and (min-width: 1280px) {
    .hero.full .hero--container {
        justify-content: flex-end;
        margin-right: -171px;
    }
}

@media screen and (min-width: 768px) {
    .hero.full .hero--media {
        flex: 0 0 clamp(400px, 57vw, 808px);
    }
}

.hero.full .hero--media-video {
    border-radius: unset;
    height: 328px;
}

@media screen and (min-width: 768px) {
    .hero.full .hero--media-video {
        border-radius: 32px 0px 0px 32px;
    }
}

.hero.full .hero--media-keynumber {
    bottom: 32px;
    left: -32px;
}

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

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

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

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

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

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

.hero-car-image--item .co-text--content {
    max-width: 488px;
}

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

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

.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%);
}

@media screen and (min-width: 768px) {
    .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%);
    }
}

.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;
}

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

@media screen and (min-width: 1024px) {
    .hero-car-personnage {
        padding: 0 20px;
    }
}

.hero-car-personnage--container {
    background-color: var(--ocre-20);
    border-radius: 20px;
    padding: 32px 0;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--container {
        padding: 0;
    }
}

.hero-car-personnage--item {
    display: flex;
    flex-direction: column;
    gap: 32px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item {
        flex-direction: row;
        justify-content: space-between;
    }
}

.hero-car-personnage--item .co-text {
    z-index: 2;
    align-items: center;
    padding: 0 20px;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item .co-text {
        padding: 64px 40px;
        align-items: flex-start;
    }
}

@media screen and (min-width: 1400px) {
    .hero-car-personnage--item .co-text {
        padding: 64px 40px 64px 104px;
    }
}

.hero-car-personnage--item .co-text--content {
    max-width: 680px;
    width: 100%;
}

.hero-car-personnage--item .co-text h1 {
    font-size: 40px;
    text-align: center;
    margin-bottom: 32px;
}

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

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item .co-text h2 {
        font-size: 48px;
    }
}

.hero-car-personnage--item .co-text .uptitle {
    text-align: center;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item .co-text .uptitle {
        text-align: left;
    }
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item .co-text p {
        max-width: 592px;
    }
}

.hero-car-personnage--item-img {
    position: relative;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item-img {
        flex: 0 1 694px;
        position: absolute;
        right: 0;
        top: 0;
    }
}

.hero-car-personnage--item-img img {
    object-fit: contain;
    max-height: 350px;
    height: 100%;
    width: 100%;
    z-index: 1;
    position: relative;
    margin-top: -32px;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item-img img {
        margin-top: 0;
        max-width: 429px;
        max-height: 100%;
        height: 543px;
        margin: auto;
        right: 129px;
        object-fit: cover;
    }
}

.hero-car-personnage--item-img .fond {
    color: var(--ocre-100);
    font-family: var(--knewave);
    font-size: 170px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transform: rotate(10.6deg);
    opacity: 0.2;
    position: absolute;
    top: 0;
    right: 20px;
    z-index: -1;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item-img .fond {
        font-size: 390px;
        top: -163px;
    }
}

.hero-car-personnage--item-img .item-keynumber {
    padding: 16px;
    display: grid;
    grid-template-columns: 32px 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: auto;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage--item-img .item-keynumber {
        position: absolute;
        top: 30%;
        right: 20px;
        padding: 16px 32px;
    }
}

.hero-car-personnage--item-img .item-keynumber .btn-only {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    grid-column: 1/2;
    grid-row: 1/3;
    flex-shrink: 0;
    padding: unset;
}

.hero-car-personnage--item-img .item-keynumber .btn-only span {
    height: 16px;
    width: 16px;
    flex-shrink: 0;
}

.hero-car-personnage--item-img .item-keynumber p {
    grid-column: 2/3;
    font-family: var(--roboto);
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
    line-height: 20px;
}

.hero-car-personnage--item-img .item-keynumber p.title {
    font-family: var(--robotoSlab);
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    color: var(--ocre-100);
}

.hero-car-personnage .owl-dots {
    position: relative;
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

@media screen and (min-width: 1024px) {
    .hero-car-personnage .owl-dots {
        margin-top: -10px;
        top: -16px;
    }
}

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

.hero-car-personnage .owl-dots .owl-dot.active {
    background-color: var(--ocre-100);
}