/*
	Theme Name: Transports Cordier
	Theme URI: http://www.hyper-volume.fr/
	Description: HYPER VOLUME LEADER DU TRANSPORT DE MARCHANDISES VOLUMINEUSES
	Version: 2.0
	Author: Lézards Création
	Author URI: http://www.lezardscreation.fr
	Tags: Agence de Communication dans les Vosges. 

*/

#homeslider .slide {
    position: relative;
}

#homeslider .homeslider-overlay {
    position: absolute;
    bottom: 0;
    right: 50px;
}

#homeslider .homeslider-overlay a {
    display: block;
    background-color: red;
    color: white;
    padding: 1rem;
    font-family: "Cocon", sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
}

#homeslider .homeslider-overlay a:hover {
    background-color: #000000;
}

@media screen and (max-width: 768px) {
    #homeslider .homeslider-overlay a {
        font-size: 1rem;
        padding: 0.5rem;
    }
}

#homeslider video {
    width: 100%;
    object-fit: cover;
}

.key-stats {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
    gap: 5rem;
    font-family: "Cocon", sans-serif;
    padding: 0 1rem;
}

.key-stats .key-stat-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.key-stats .key-stat-entry .key-stats-value {
    color: #cd1619;
    font-weight: bold;
    font-size: 2.75rem;
}

.key-stats .key-stat-entry .key-stats-title {
    font-size: 1.5rem;
}

#homeTitle {
    display: inline-flex;
    color: black;
    text-align: center;
    text-transform: none;
    width: 100%;
    font-size: 2rem;
    font-family: "Cocon", sans-serif;
    font-weight: bold;
    line-height: 3rem;       /* même valeur que .slick-vertical-ticker height */
    gap: 0.75rem;
    justify-content: center;
}

#homeTitle .scrolling-title {
    color: red;
    overflow-x: hidden;
}

#homeTitle .scrolling-title .slick-slide {
    text-align: left;          /* ou center, right… */
    white-space: nowrap;
}

@media screen and (max-width: 1024px) {
    #homeTitle {
        font-size: 2rem;
    }
}

@media screen and (max-width: 768px) {
    #homeTitle {
        font-size: 1rem;
        gap: 0.25rem;
        flex-direction: column;
    }

    #homeTitle {
        line-height: 1rem;
    }

    #homeTitle .scrolling-title .slick-slide {
        text-align: center;
    }
}

.home .post-video {
    margin-top: 4rem;
    font-family: "Cocon", sans-serif;
    font-size: 1.5rem;
    line-height: 1.75rem;
}

.home .post-video h2 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.75rem;
    text-transform: none !important;
}

@media screen and (max-width: 768px) {
    .home .post-video {
        font-size: 1rem;
    }

    .home .post-video h2 {
        font-size: 1.2rem;
    }
}

.home-brands {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin-top: 4rem;
    gap: 2rem;
}

.home-brands h2 {
    font-weight: bold !important;
    font-family: "Cocon", sans-serif;
    text-transform: none !important;
    font-size: 3.5rem !important;
}

.home-brands img {
    width: 100%;
    max-width: 750px !important;
}

.button {
    font-family: "Cocon", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #cd1619;
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.button:hover {
    background-color: #000000;
}

.home-contact {
    width: 100%;
    margin-top: 5rem;
}

.home-contact h2 {
    font-family: "Cocon", sans-serif;
    font-weight: bold !important;
    color: black !important;
    text-transform: none !important;
    text-align: center;
}

.home-contact p {
    text-align: center;
    font-size: 1.3rem;
    line-height: 1.3rem;
}

.home-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.home-form label {
    text-align: left;
}

.home-form p {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.home-form input[type="submit"] {
    appearance: none;
    font-family: "Cocon", sans-serif;
    font-size: 1.5rem;
    font-weight: bold;
    background-color: #cd1619;
    color: white;
    padding: 0.75rem;
    border-radius: 0.75rem;
}

.home-form input[type="submit"]:hover {
    background-color: #000000;
}

@media screen and (max-width: 1024px) {
    .home-form {
        grid-template-columns: repeat(1, 1fr);
        gap: 0;
    }

    .home-form input, .home-form textarea {
        max-width: 75vw;
    }
}

.brands-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.brands-links img {
    width: 150px;
}