/* GLOBAL */

@media screen and (max-width: 35em) {
    .a-heading--1, h1{
        font-size: 1.8em !important;
    }
}

.fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: 0.6s ease 0.3s;
}

.fade-right.animate{
    opacity: 1;
    transform: translateX(0);
}

/* Overflow hidden sur les sections qui ont une illustration qui arrive au scroll */

#etude, #conseils, #partage-de-la-route{ 
    overflow-x: hidden;
}

/* HERO BANNER */

/* ANCRES */
.t-accent-dark .m-navigation-inpage-link, .t-accent-dark .m-navigation-inpage-link:focus, .t-accent-dark .m-navigation-inpage-link:hover, .t-accent-dark .m-navigation-inpage-link:visited, .t-card-accent-dark .m-card .m-navigation-inpage-link:visited, .t-accent-dark .m-navigation-inpage>.m-navigation-inpage__item, .t-card-accent-dark .m-card .m-navigation-inpage>.m-navigation-inpage__item{
    border: none !important;
}

@media (min-width: 35em) {

    #ancres .m-navigation-inpage__item{
        margin: 0 auto !important;
        margin-bottom: 0!important;
    }
    
    #ancres .m-navigation-inpage-link{
        padding: 1em;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: relative;
        transition: 0.3s ease;
    }
        
    #ancres .m-navigation-inpage-link__icon{
        height: 2em;
        width: 2em;
        transition: 0.3s ease;
    }

    #ancres .m-navigation-inpage-link .m-navigation-inpage-link__text{
        transition: 0.3s ease;
    }

    #ancres .m-navigation-inpage-link:after{
        content: '';
        position: absolute;
        width: 2px;
        height: 0;
        left: 50%;
        bottom: 0;
        transform: translate(-50%);
        background-color: #FFFFFF;
        transition: 0.3s ease;
    }

    #ancres .m-navigation-inpage-link:hover:after{
        height: 0.8em;
    }

    .fixed-ancres{
        position: fixed;
        top: 0px;
        width: 100%;
        z-index: 9;
        border-bottom: 1px solid #4C4C4C;
    }

    .patch-fixed-ancres{
        margin-top: 112px;
    }
}

@media (min-width: 720px) {
    .patch-fixed-ancres{
        margin-top: 88px;
    }
}


/* 02 SONDAGE */

#etude ul{
    padding: 0;
}

#etude ul>.m-card{
    background-color: rgba(76, 76, 76, 0.4);
}

#etude ul>.m-card:first-child{
    margin-top: 0;
}


#etude ul>.m-card .m-card-content__inner{
    display: flex;
}

#etude ul>.m-card .m-card-content__inner img{
    margin-right: 10px;
}

#etude ul>.m-card .m-card-content__inner p{
    margin: 0;
}

/* CITATION */

#changer-le-monde{
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/section-citation-prevention-routiere-2026-3-dk.jpg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

@media screen and (max-width: 35em) {
    #changer-le-monde{
        background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/section-citation-prevention-routiere-2026-3-m.jpg);
    }
}

#changer-le-monde:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

#changer-le-monde > .l-content-container {
    z-index: 1;
    margin-bottom: 120px;
    margin-top: 120px;
}


/* 03 CONSEILS */

#conseils .l-content-container .m-tabs .richtext-super{
    max-width: none;
}

#conseils .m-card{
    background-color: rgba(76, 76, 76, 0.4);
}

#conseils .m-card:hover{
    background-color: rgba(76, 76, 76, 0.6);
}

@media screen and (max-width: 60em) {
    #conseils .l-columns--3-large iframe{
        height: 350px;
    }
}

@media screen and (max-width: 35em) {
    #conseils .l-columns--3-large iframe{
        height: 300px;
    }
}


/* RESEAUX SOCIAUX */

#reseaux-sociaux #liens-reseaux{
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

@media screen and (min-width: 60em) {
    #reseaux-sociaux > .l-content-container {
        margin-top: 60px;
    }
}

#reseaux-sociaux #liens-reseaux a{
    margin: 0 10px;
    border: 0;
}

/* 05 BD */

#partage-de-la-route{
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/fond-section-bd.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

#partage-de-la-route .l-content-container #lien-img{
    display: inline-block;
    transition : 0.1s;
}

/* FRISE HISTOIRE */

.m-timeline-list-item--planned .m-timeline-list-item__date:before {
    background-color: #4C4C4C !important;
}

.m-timeline__list:before {
    border-left: 0.3125em dotted #4C4C4C !important;
}

/* CHIFFRES TITRES */

#chiffres .l-content-container .l-section__heading, #etude .l-content-container .l-section__heading, #porte-parole .l-content-container .a-heading--1, #conseils .l-content-container .l-section__heading, #partage-de-la-route .l-content-container .a-heading--1{
    position: relative;
    z-index: 0;
    min-height: 120px;
    padding-top: 35px;
    padding-left: 65px;

}

#chiffres .l-content-container .l-section__heading:before, #etude .l-content-container .l-section__heading:before, #porte-parole .l-content-container .a-heading--1:before, #conseils .l-content-container .l-section__heading:before, #partage-de-la-route .l-content-container .a-heading--1:before {
    content: '';
    position: absolute;
    height: 120px;
    width: 180px;
    top: 0;
    left: 0;
    z-index: -1;
    background-size: 180px;
    background-repeat: no-repeat;
}

#chiffres .l-content-container .l-section__heading:before {
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-01.svg);
}

#etude .l-content-container .l-section__heading:before {
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-02.svg);
}

#conseils .l-content-container .l-section__heading:before{
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-03.svg);
}

#partage-de-la-route .l-content-container .a-heading--1:before{
    background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-04.svg);
}

@media screen and (max-width: 35em) {
    #chiffres .l-content-container .l-section__heading, #etude .l-content-container .l-section__heading, #porte-parole .l-content-container .a-heading--1, #conseils .l-content-container .l-section__heading, #partage-de-la-route .l-content-container .a-heading--1{
        min-height: auto;
        padding-top: 60px;
        padding-left: 0px;
    
    }
    
    #chiffres .l-content-container .l-section__heading:before, #etude .l-content-container .l-section__heading:before, #porte-parole .l-content-container .a-heading--1:before, #conseils .l-content-container .l-section__heading:before, #partage-de-la-route .l-content-container .a-heading--1:before {
        height: 60px;
        width: 92px;
        background-size: 92px;
    }
    #chiffres .l-content-container .l-section__heading:before {
        background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-01-m.svg);
    }
    
    #etude .l-content-container .l-section__heading:before {
        background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-02-m.svg);
    }
    
    #conseils .l-content-container .l-section__heading:before{
        background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-03-m.svg);
    }
    
    #partage-de-la-route .l-content-container .a-heading--1:before{
        background-image: url(../images/abeille/entreprise/engagements/prevention-routiere/titre-04-m.svg);
    }
}