/* couleurs */
:root {
    --blanc: #FFF;
    --noir: #071A32;
    --gris: #F9F9F9;
    --rouge: #EC3339;
}

/* titres */
h1 span, h2 span{
    color: var(--rouge);
}

/* temps forts */
.temps-forts{
    margin: 0;
    padding-left: 20px;
}
.temps-forts__item{
    color: var(--rouge);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.temps-forts__item strong{
    font-weight: 600;
}
.temps-forts__item::marker{
    color: var(--rouge);
}
.temps-forts__item::before{
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-image: url('../img/ligne-2.jpg');
    background-repeat: no-repeat;
    background-size: 100% 1px;
    margin-bottom: 8px;
}
.temps-forts::after{
    content: '';
    display: block;
    width: 100%;
    height: 4px;
    background-image: url('../img/ligne-2.jpg');
    background-repeat: no-repeat;
    background-size: 100% 1px;
    margin-top: 2px;
}

/* boutons home */
.home-boutons{
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.home-boutons__bouton{
    display: flex;
    align-items: center;
    gap: 15px;
    border: none;
    background: none;
}
.home-boutons__icone{
    width: 50px;
    height: 50px;
}
.home-boutons__libelle{
    color: var(--blanc);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}
.home-boutons__bouton:hover .home-boutons__libelle{
    color: var(--rouge);
}

/* blocs-liste */
.blocs-liste{
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}
.blocs-liste__bloc{
    background-color: var(--gris);
    border-bottom: solid 1px var(--rouge);
    padding: 55px 35px;
    margin-bottom: 35px;
}
.blocs-liste__titre-ligne{
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}
h3.blocs-liste__titre{
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}
.blocs-liste__icone{
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}
.blocs-liste__icone img{
    display: block;
    width: 50px !important;
    height: 50px !important;
    object-fit: contain;
}
.blocs-liste__ligne{
    display: block;
    margin: 15px 0;
}
.blocs-liste__texte{
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 16px;
}

/* contact */
.wpcf7-form input[type=text],
.wpcf7-form input[type=email],
.wpcf7-form textarea{
    background-color: var(--gris);
    border: solid 1px rgba(236, 51, 57, 0.13);
}
.wpcf7-form input[type=text]:focus,
.wpcf7-form input[type=email]:focus,
.wpcf7-form textarea:focus{
    outline: none;
}
.wpcf7-form input[type=submit]{
    color: var(--blanc);
    background-color: var(--rouge);
    border: solid 1px var(--rouge);
}
.wpcf7-form input[type=submit]:hover{
    color: var(--rouge);
    background-color: var(--blanc);
    border-color: var(--rouge);
}

/* home illu footer */
body:not(.page-id-21){
    background-image: url('../img/footer-fond-clair.png');
    background-size: 75% auto;
    background-repeat: no-repeat;
    background-position: bottom right;
}
.wpcf7-form textarea{
    height: 100px;
}

/* separations sur pages contact, mention et politique */
body.page-id-27 footer .elementor-shape .elementor-shape-fill,
body.page-id-2 footer .elementor-shape .elementor-shape-fill,
body.page-id-3 footer .elementor-shape .elementor-shape-fill{
    stroke: rgba(236, 51, 57, 0.26);
    stroke-width: 2px;
    stroke-dasharray: 0 1106 3000 0;
}

.mentions-texte h2{
    font-size: 24px;
    margin-top: 30px;
}

@media screen and (min-width: 768px){
    .blocs-liste{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media screen and (min-width: 1200px){
    .blocs-liste{
        grid-template-columns: repeat(5, 1fr);
    }
    .texte-max{
        max-width: 490px !important;
    }

}

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

    /* menu */
    .menu-contact-item a{
        border: solid 1px var(--blanc);
        border-radius: 34px;
        max-width: 128px;
        background-image: url('../img/icone-mail.svg');
        background-size: 16px;
        background-repeat: no-repeat;
        background-position: left 15px center;
        padding-left: 35px !important;
    }
    .menu-contact-item a:hover,
    .menu-contact-item.current-menu-item a{
        background-color: var(--rouge);
        border-color: var(--rouge);
    }

    li.current-menu-item:not(.menu-contact-item) > a,
    li.current-menu-ancestor:not(.menu-contact-item) > a,
    li.current-menu-parent:not(.menu-contact-item) > a{
        position: relative;
    }
    li.current-menu-item:not(.menu-contact-item) > a::after,
    li.current-menu-ancestor:not(.menu-contact-item) > a::after,
    li.current-menu-parent:not(.menu-contact-item) > a::after{
        content: '';
        position: absolute;
        left: 50%;
        bottom: -5px;
        transform: translateX(-50%);
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: var(--rouge);
    }
    /* jamais de point sur les liens à l'intérieur d'un sous-menu déroulant */
    .sub-menu li a::after{
        display: none;
    }


}