* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #333333; 
    --alpha-card: rgba(0, 0, 0, 0.7); 
    --alpha-footer: rgba(0, 0, 0, 0.6); 
    --text-white: #ffffff;
}

body {
    background-color: black;/*var(--bg-main);*/
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: flex-start;
    min-height: calc(100vh - 250px);
}


.card-promo {
    background-color: var(--alpha-card);
    width: 540px;
    height: 440px;
    padding: 40px;
    position:absolute;
    left:50px;
    top:50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index:1000;
    border-radius: 5px;
}

.logo-placeholder img {
    max-height: 120px;
    margin-bottom: 20px;
}

.card-promo h1 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300; 
    font-size: 48px;
    margin-bottom: 15px;
}

.card-promo p {
    font-family: 'Roboto', sans-serif;
    font-weight: 100; 
    font-size: 18px;
    line-height: 1.4;
}

.footer-sections {
    background-color: var(--alpha-footer);
    height: 250px;
    display: flex;
    align-items: stretch;
    padding: 40px 60px;
}

.footer-col {
    flex: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.footer-col.border-left {
    border-left: 1px solid rgba(255, 255, 255, 0.4);
}

.footer-col h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 300; 
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-col p {
    font-family: 'Roboto', sans-serif;
    font-weight: 100; 
    font-size: 18px;
    line-height: 1.4;
}

.contact-info {
    font-family: 'Lato', sans-serif;
    font-weight: 400; 
    font-size: 18px;
    margin-top: auto; 
    padding-top: 20px;
    font-weight: bold; 
}





#carroussel {
    position: relative;
    width: 100%;
    height: calc(100vh - 250px); 
    overflow: hidden;
    z-index:10;
}




#carroussel img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    opacity: 0; 
    
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1) translate(0, 0);
}

#carroussel img.active {
    opacity: 1;
    transform: scale(1.05) translate(-2%, -1%);
    transition: opacity 1s ease-in-out, transform 4s ease-in-out; 
}

#carroussel img.exiting {
    opacity: 0;
    transform: scale(1.05) translate(-2%, -1%); 
    transition: opacity 1s ease-in-out; 
}

@media screen and (max-width: 768px) {
    
    
.main-content{
    height:60vh;
    min-height:60vh;
}

    .card-promo {
        width: 100%; 
        height: auto;      
        top:0;
        left:0;
        padding:15px;
    }

    .logo-placeholder img{
        max-height:50px;
        margin-bottom: 0;
    }

    .card-promo h1, .card-promo p{
        display:none;
    }


    .footer-sections {
        height: 40vh;        /* Le footer s'allonge si les colonnes s'empilent */
        flex-direction: column; /* Les 3 colonnes passent les unes sous les autres */
        padding: 20px;
        padding-top:0px;
    }

    .footer-col {
        padding: 15px 0;
    }

    .footer-col.border-left {
        border-left: none;   /* On enlève les lignes verticales */
        border-top: 1px solid rgba(255, 255, 255, 0.2); /* On met une ligne horizontale à la place */
    }

    #carroussel{
        height:60vh;
    }
}