section.cartes{
    padding:50px 0;
}

section.cartes .container{
    display: flex;
    flex-direction: column;
    gap:10px;
}

section.cartes .container .carte-wrapper{
    border-radius: 4px;
    background: var(--grisblanc);
    padding:20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: background 0.5s ease;
}

section.cartes .container .carte-wrapper .picto-titre{
    display: flex;
    gap:10px;
    align-items: center;
}

section.cartes .container .carte-wrapper .picto-titre svg{
    width:25px;
    height:25px;
}

section.cartes .container .carte-wrapper .picto-titre h3{
    color: var(--bleuclair);
    font-family: Trenda, sans-serif;
    text-transform: uppercase;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    transition: color 0.5s ease;
}

section.cartes .container .carte-wrapper p{
    color: var(--shades-noir-1);
    font-family: Trenda, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.17px;
    transition: color 0.5s ease;
}

section.cartes .container .carte-wrapper > svg{
    margin-left: auto;
    margin-top: auto;
}

section.cartes .container .carte-wrapper:hover{
    background: var(--bleufonce);
    transition: background 0.5s ease;
}

section.cartes .container .carte-wrapper .picto-titre svg path{
    transition: stroke 0.5s ease;
}

section.cartes .container .carte-wrapper:hover .picto-titre svg path{
    stroke: var(--shades-blanc);
    transition: stroke 0.5s ease;
}

section.cartes .container .carte-wrapper:hover .picto-titre h3{
    color: var(--shades-blanc);
    transition: color 0.5s ease;
}

section.cartes .container .carte-wrapper:hover p{
    color: var(--shades-blanc);
    transition: color 0.5s ease;
}

section.cartes .container .carte-wrapper:hover > svg path{
    fill: var(--shades-blanc);
    transition: fill 0.5s ease;
}

section.cartes .container .carte-wrapper > svg path{
    transition: fill 0.5s ease;
}

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

    section.cartes{
        padding:100px 0;
    }

    section.cartes .container{
        flex-direction:row;
        gap:30px;
    }

    section.cartes .container .carte-wrapper{
        max-width: 33%;
    }

    section.cartes .container .carte-wrapper .picto-titre{
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    section.cartes .container .carte-wrapper .picto-titre svg{
        width:50px;
        height:50px;
        padding: 5px;
    }

    section.cartes .container .carte-wrapper .picto-titre h3{
        font-size: 20px;
    }

    section.cartes .container .carte-wrapper p{
        font-size: 14px;
    }
}