.banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: black;
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo img {
    height: 70px;
    display: block;
}

.menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 10px 20px; /* Ajoute du padding vertical et horizontal */
    background-color: #CB3139;
    border-radius: 30px;
    margin-right: 20px;

}

.menu li {
    margin-left: 30px;
}

.menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    font-size: 1.1em;
    transition: color 0.2s;
}

.menu a:hover {
    color: #0078d4;
}

/* Pour éviter que le contenu soit caché derrière la bannière fixe */
body {
    margin: 0;
    padding-top: 70px;
    font-family: Arial, sans-serif;
}

.content-header h1 {
    color: #0878B4;
    font-size: 6em;
    font-family: 'verdana', Arial, sans-serif;
    font-weight: 900;
    margin-bottom: 10px;
    margin-left: 20px;
}

.content-header p {
    color: #487EBB;
    font-size: 2em;
    font-family: 'verdana', Arial, sans-serif;
    font-weight: 400;
    margin-top: 80px;
    margin-left: 20px;
}

.btn-devis {
    color: #fff;
    background-color: #CB3139;
    padding: 14px 36px;
    border-radius: 30px;
    display: inline-block;
    margin-top: 10px;
    margin-left: 40px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-devis:hover {
    background-color: #a6262d;
}


.btn-discutons {
    color: black;
    background-color: white;
    padding: 14px 36px;
    border-radius: 30px;
    display: inline-block;
    margin-left: 40px;
    text-decoration: none;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    margin-bottom: 40px;
}



.video-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-end; /* Aligne les rectangles à droite */
    margin-top: -100px;
    margin-right: 40px;   /* Ajoute une marge à droite */
}

.video-rect {
    width: 62vw;
    max-width: 900px;
    height: 410px;
    background: #e0e0e0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    color: #999;
}

.image-row {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin: 40px 0;
}

.image-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px;
}

.image-card img {
    width: 270px;
    height: 380px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.image-card h3 {
    margin: 16px 0 8px 0;
    font-size: 1.2em;
    color: #0878B4;
    text-align: center;
}

.image-card p {
    font-size: 1em;
    color: #487EBB;
    text-align: center;
    margin: 0;
}

.source-visibilite{
    text-align: center;
    margin-top: 80px;


}

.source-visibilite h1{
    color: #0878B4;
    font-size: 3.5em;
}

.source-visibilite h6{
    color: black;
    font-size: 1em;
    margin-top: -30px;
}

.image-card h3, .image-row p{
    color: black;
}


.video-background-section {
    position: relative;
    width: 100%;
    height: 800px; /* Ajuste la hauteur selon ton besoin */
    overflow: hidden;
    
}

.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.overlay-rect {
    position: absolute;
    left: 40px;      /* Espace à gauche */
    bottom: 40px;    /* Espace en bas */
    z-index: 2;
    background: #CB3139;
    border-radius: 24px;
    width: 35vw;
    max-width: 700px;
    padding: 40px 30px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    text-align: left;
    font-size: 1.7em;
    color: white;
    font-family: 'verdana', Arial, sans-serif;
    
}


.red-background-section {
    background: #CB3139;
    width: 100%;
    position: relative;
    margin-top: -60px;
    
   
}


.red-background-section h2 {
    font-size: 4.5em;
    color: white;
    margin-left: 30px;
    
    
}
    
.red-background-section p {
    font-size: 2em;
    color: white;
    margin-top: -50px; /* Ajoute de l'espace au-dessus du titre */
    margin-left: 30px;
    
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 700px;
    margin: 60px 0 60px 40px;
    align-items: flex-start;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0; /* Supprime le padding */
    background: none; /* Supprime le fond */
    box-shadow: none; /* Supprime l'ombre */
}

.service-num {
    font-size: 2em;
    font-weight: bold;
    color: white;
    min-width: 48px;
}

.service-item h3 {
    font-size: 1.2em;
    color: white;
    margin: 0;
    font-weight: normal;
}

.image-rectangle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.devis-section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    background-color: #0078d4;
}

.devis-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.devis-left h2 {
    font-size: 4em;
    color: white;
    font-weight: bold;
    margin: 0;
    text-align: left;
    margin-top: 80px;
    margin-left: 40px;      
}

.devis-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 40px 32px;
    border-radius: 24px;
    
    min-width: 320px;
    max-width: 400px;
}

.devis-form input,
.devis-form select {
    padding: 14px;
    font-size: 1.1em;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
}

.devis-form button {
    padding: 14px;
    font-size: 1.2em;
    background: #CB3139;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}

.devis-form button:hover {
    background: #a6262d;
}

#langue-btn{
    margin-left: 30px;
}




/* Bas de page html */  

.site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: black;
    color: #fff;
    padding: 40px 60px;
    flex-wrap: wrap;
}

.footer-left img {
    height: 60px;
    border-radius: 12px;
}

.footer-right {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-section {
    min-width: 140px;
}

.footer-section h4 {
    margin-bottom: 12px;
    font-size: 1.1em;
    color: #CB3139;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: #CB3139;
}


/* code css pour la page politique de confidentialité */

.privacy-policy {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 20px;
}

.privacy-policy h1 {
    color: #0878B4;
    font-size: 2.5em;
    margin-bottom: 20px;
}

.privacy-policy h2 {
    color: #CB3139;
    margin-top: 20px;
}

.privacy-policy p, .privacy-policy ul {
    color: #487EBB;
    font-size: 1em;
    line-height: 1.6;
}



/* Animation des rectangles vidéos */


.video-rect img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* recadre l’image sans déformation */
    object-position: center; /* centre l’image */
    display: block;
    border-radius: 8px; /* optionnel, arrondi si tu veux */
}

.video-rect:hover {
    transform: scale(1.05); /* Agrandit légèrement au survol */
    transition: transform 0.3s ease; /* Animation fluide */
    box-shadow: 0 4px 16px rgba(0,0,0,0.2); /* Ajoute une ombre pour l'effet de profondeur */
}





















/* Responsive Design pour téléphone*/

/* Style du bouton burger */
.burger {
    display: none; /* caché par défaut (desktop) */
    font-size: 2em;
    cursor: pointer;
    color: white;
    margin-right: 20px;
}

/* Version mobile */
@media (max-width: 900px) {
    .burger {
        display: block; /* visible sur mobile */
    }

    .menu {
        display: none;
        flex-direction: column; /* pour que les liens soient verticaux */
        
        position: absolute;
        top: 60px;   /* juste sous le header */
        right: 0;
        width: 200px;
        padding: 20px;
        border-radius: 8px;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
        background: #CB3139;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }

   .menu {
    display: none; /* caché sur mobile */
}

    .menu-active {
        display: flex; /* affiché quand le burger est cliqué */
        flex-direction: column;
    }


    .content-header h1 {
        font-size: 2em;
        margin: 10px;

    }

    .content-header p {
        font-size: 1.2em;
        margin: 10px;
        margin-top: 40px;
    }

    .btn-devis, .btn-discutons {
        font-size: 1em;
        padding: 10px 20px;
        margin-left: 20px;
        margin-bottom: 20px;
    }

    .video-grid {
        align-items: center; /* Centre les rectangles */
        margin: 20px;   /* Réduit la marge */
        gap: 20px;      /* Réduit l'espace entre les rectangles */
        grid-template-columns: 1fr; /* 1 colonne seulement */
    }

    .video-rect {
        width: 90vw;   /* Utilise presque toute la largeur de l'écran */
        height: 200px; /* Réduit la hauteur */
    }

    .image-row {
        flex-direction: column;
        gap: 30px;
        margin: 20px 0;
        align-items: center;
    }

    .image-card {
        width: 80vw; /* Utilise presque toute la largeur de l'écran */
    }

    .image-card img {
        width: 100%;
        height: auto; /* Ajuste la hauteur automatiquement */
    }

    .source-visibilite h1{
        font-size: 2.2em;

    
    }    

    .source-visibilite h6{
        font-size: 0.8em;
        margin-top: -5px;
    }

    

    .overlay-rect {
        width: 80vw; /* Utilise presque toute la largeur de l'écran */
        max-width: none; /* Supprime la limite de largeur maximale */
        font-size: 1.2em; /* Réduit la taille de la police */
        left: 20px; /* Réduit l'espace à gauche */
        padding: 20px; /* Réduit le padding */
    }

    
    .service-item {
        display: flex;
        flex-direction: column; /* met les éléments verticalement */
        align-items: flex-start; /* aligne tout à gauche */
        text-align: left;
        gap: 8px; /* espace entre numéro et texte */
        margin-bottom: 20px; /* espace entre chaque service-item */
    }

    .service-num {
        font-size: 1.5em; /* adapte la taille du numéro */
        min-width: auto;  /* plus besoin de largeur minimale */
    }

    .service-item h3 {
        font-size: 1em; /* texte plus lisible sur mobile */
        margin: 0;
    }

    .devis-section {
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 20px 0;
    }

    .devis-left h2 {
        font-size: 2.5em;
        text-align: center;
        margin: 0 20px 20px 20px; /* Centre le texte et ajoute des marges */
        margin-top: 40px;
    }

    .devis-form {
        max-width: 90vw; /* Utilise presque toute la largeur de l'écran */
        margin: 0 20px 40px 20px; /* Ajoute des marges latérales et en bas */
        padding: 20px; /* Réduit le padding */
    }

    .site-footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-right {
        justify-content: center;
        gap: 40px;
    }

    .red-background-section {
        margin-top: -20px; /* Réduit la marge supérieure */
        padding: 20px 0; /* Ajoute du padding vertical */
    }

    .red-background-section h2 {
        font-size: 2em; /* Réduit la taille de la police */
    }

    .red-background-section p {
        font-size: 1em; /* Réduit la taille de la police */
        margin-top: -20px; /* Réduit la marge supérieure */
    }

    .video-background-section h2{
        font-size: 1.7em;
        margin: 0 20px 20px 20px; /* Centre le texte et ajoute des marges */
        margin-top: 20px;
    }

    

   
   

}