*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: black;
    
}

body {
    font-family: 'Tw Cen Mt';
    font-size: 14px;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.overlay { 
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    background-size: cover;
    z-index: -100;
}

header {
    max-width: 80%;
    margin: 0 auto;
}

content {
    background-color: black;
    color: black;
    flex-grow: 1;
}


/**
* Header
*/
    
nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
    padding: 0px 0 0px;
    background-color: transparent !important;
}

nav .logo {
    width: 300px;
}

nav .menu-icon {
    width: 20px;
    cursor: pointer;
    margin-top: 5px;
    margin-right: 5px;
    background-color: transparent !important;
    border: none;
}

.menu-icon:focus,
.menu-icon:active {
    background-color: transparent !important; /* évite le rouge au clic */
    outline: none; /* supprime le contour sur mobile */
}

nav ul {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    padding-right: 40px;
    background-color: transparent !important;
}

nav ul li {
    list-style: none;
    margin-left: 26px;
}

nav ul li a {
    text-decoration: none;
    color: #003366;
    font-size: 0.9rem;
    transition: color .3s;
}

nav ul li a:hover{
    color: black;
}

nav .dropdown__menu {
    display: block;
    position: absolute;
    left: 0;
    top: 100;
    background-color: white;
}

nav .dropdown__menu ul{
    display: block;
    margin: 10px;
}

nav .dropdown__menu ul li {
    width: 150px;
    padding: 10px;
}
.conteneur {
    position: relative;
    width: 100%;
    margin: 0 auto; 
    overflow: hidden; 
}

.conteneur .photo {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none; /* empêche les clics et interactions */
}

.texte-superpose {
    position: absolute;
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    color: #003366;
    font-size: 55px;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
}

.formulaire{
    position: absolute;
    top: 55%; 
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
    white-space: nowrap;
    z-index: 3;
}

.form-container {
    width: 100%;
    padding: 20px;
    margin-bottom: 10px;
}

form {
    display: flex;
    flex-direction: row; 
    gap: 15px; 
}

input[type="text"], input[type="tel"]{
    padding: 10px;
    font-size: 16px;
    border: 1px solid;
    border-radius: 5px;
    flex: 1;
    background: transparent;
    transition: border-color 0.3s ease;
    width: 400px; 
}

input[type="text"]:hover, input[type="tel"]:hover {
    border-color:rgb(196, 195, 195);
}

input[type="text"]:focus, input[type="tel"]:focus {
    outline: none; 
    border-color: #003366; 
}

input[type="submit"] {
        padding: 10px;
        font-size: 16px;
        color: #fff;
        background-color:#003366;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #003366;
}


/**
* main container 
*/


main{
    width: 90vw;
    margin: 0 auto;
    padding: 30px 20px;
    min-height: calc(100vh - 269px) ;   
}

.main-head {
    background: white;
    position: relative;
    z-index: 10;
}

.exp {
    padding-top: 50px;
    align-items: center;
    justify-content: center;
    margin: 20px 0;
    display: flex;
}

.exp-title {
    color: #003366;
    font-size: 30px;
    text-align: center;
    position: relative;
    max-width: 500px;
    margin: 40px auto;

}

.exp-text{
    font-size: 18px;
    text-align: center;
    margin-top: 0;
}

.exp-title::before,
.exp-title::after{
    content:"";
    display: block;
    height: 2px;
    width: 130px;
    position: absolute;
    top: 50%;
    background:#003366;
}

.exp-title::after{
    right: -100px;
}

.exp-title::before{
    left: -100px;
}
.transparent-text {
    color: black; 
    text-decoration: none; 
}

.transparent-text:hover {
    color: black; 
}

.phone-number {
    color: #003366;

}
.exp-title1 {
    color: #003366;
    font-size: 30px;
    text-align: center;
    position: relative;
    max-width: 500px;
    margin: 40px auto;

}

.exp-title1::before,
.exp-title1::after{
    content:"";
    display: block;
    height: 2px;
    width: 130px;
    position: absolute;
    top: 50%;
    background:#003366;
}

.exp-title1::after{
    right: -5px;
}

.exp-title1::before{
    left: -5px;
}   

.competence{
    padding-top: 50px;
    justify-content: center;
    margin: 20px 0;
    display: flex;
    align-items: center;
}

.multi-column{
    display: flex; 
    width: 100%;
    max-width: 1200px;
    justify-content: space-between;
}

.p {
    margin-bottom: 40px; 
    font-size: 1.1rem;
}

.icon{
    width: 10rem; 
    height: 10rem;
    margin-bottom: 10px; 
    border-radius: 50%; 
    object-fit: contain;
}

.p1-icon, .p2-icon, .p3-icon {
    flex: 1 1 30%; 
    display: flex; 
    flex-direction: column;
    align-items: center; 
    justify-content: center;
    text-align: center;
    margin-bottom: 10px;
}

.p1-icon p, .p2-icon p, .p3-icon p {
    margin: 0;
    font-size: 1.7rem;
    font-weight: bold;
    color: #003366;
    margin-top: 15px;
}
.p1-icon .description {
    font-size: 18px; /* Taille du texte */
    color: #333; /* Couleur du texte */
    margin-top: 10px; /* Espace entre le texte et l'icône */
    text-align: center; /* Centrer le texte sous l'icône */
}
.p2-icon .description {
    font-size: 18px; /* Taille du texte */
    color: #333; /* Couleur du texte */
    margin-top: 10px; /* Espace entre le texte et l'icône */
    text-align: center; /* Centrer le texte sous l'icône */
}
.p3-icon .description {
    font-size: 18px; /* Taille du texte */
    color: #333; /* Couleur du texte */
    margin-top: 10px; /* Espace entre le texte et l'icône */
    text-align: center; /* Centrer le texte sous l'icône */
}

.gut {
    display: flex; /* Active flexbox */
    justify-content: center; /* Centre le lien horizontalement */
    align-items: center; /* Centre le lien verticalement */ 
}



.link {
    display: inline-block; /* Cela transforme le lien en bloc inline */
    padding: 20px; /* Espace autour du texte à l'intérieur de la "boîte" */
    border: 2px solid #003366; /* Bordure autour du lien */
    background-color: rgba(0, 51, 102, 0.1); /* Fond léger de couleur */
    border-radius: 8px; /* Coins arrondis pour un effet plus doux */
    width: 80%; /* Largeur de la "boîte", ajustez selon vos besoins */
    max-width: 400px; /* Largeur maximale de la "boîte" */
    margin: 20px auto; /* Centrer la "boîte" horizontalement */
    text-align: center; /* Centrer le texte à l'intérieur */
    font-size: 1rem; /* Taille du texte */
    color:#003366;
}

.link:hover {
    background-color:#003366; /* Changer la couleur du fond au survol */
    color: #fff; /* Changer la couleur du texte au survol */
}

/**
* footer
*/

footer {
    background-color: #003366;
    display: flex;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    min-height: 200px;
    
}
footer .transparent-text {
    color: white; /* Assure que le lien téléphone est en blanc */
}
footer p {
    color: white; /* Assurer que les paragraphes sont en blanc */

}

footer .list li a {
    color: white; /* Lien en blanc */
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.footer-content{
    flex: 1;
    min-width: 200px;
    width: 33.3%;
    padding: 40px;
    text-align: center;
    color: white;
}

.footer-content1{
    width: 33.3%;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
}
.footer-content1 p{
    color: white;
}

.footer-content{
    width: 33.3%;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
}

.footer-content3{
    width: 33.3%;
    flex-direction: column;
    padding: 40px;
    justify-content: center;
}


.footer-content3 .tex{
    color: white;
}
footer .tex {
    margin-bottom: 15px; /* Ajoute une petite marge en bas */
}

h3{
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
    color:white;
}

.footer-content p{
    width: 190px;
    margin: auto;
    font-size: 20px;
}

.footer-content ul{
    text-align: center;   
}

.list{
    padding: 0;
}

.list li{
    width: auto;
    text-align: center;
    list-style-type: none;
    padding: 7px;
    position: relative;
    font-size: 16px;
}

.list li::before{
    content: '';
    position: absolute;
    transform: translate(-50%,-50%);
    left: 50%;
    top: 100%;
    width: 0;
    height: 2px;
    background:white;
    transition-duration: .3s;
}

.list li:hover::before{
    width: 70px;
}

a{
    text-decoration: none;
}

a:hover{
    color:white;
}

nav ul li ul{
    position: absolute;
    display: none;
    background-color:white;
    border-radius: 0px 0px 5px 5px;
}

nav ul li ul li{
    line-height: 1;
    width: 190px;
    border-radius: 5px;
    padding: 6px;
}

nav ul li ul li a {
    padding: 10px 16px;
    font-size: 12px;
}

nav ul li ul li a :hover{
    background-color:white;
}

nav ul li:hover ul{
    display: block;
}

.bottom-bar{
    background:white;
    align-items: center;
    padding: 8px 0px;
    display: flex;
    flex-wrap: wrap;
}

.bottom-bar .centered{
    color: #003366;
    font-size: 15px;
    margin: 0px;
    padding:7px;
    flex: 1;
    text-align: right;
   
}

.bottom-bar a{
    color: inherit; 
    text-decoration: none; 
}

.right-aligned{
    color: #003366;
    margin: 0px;
    font-size: 15px;
    padding:7px;
    text-align: right;
    flex: 1;
    margin-right: 15px;
}

.icon1 {
    width: 24px; 
    height: auto; 
    vertical-align: middle; 
    margin-right: 1px; 
    right: -20px;
}

.icon2 {
    width: 24px; 
    height: auto; 
    vertical-align: middle; 
    margin-right: 3px; 
    
}

.icon3 {
    width: 24px; 
    height: auto; 
    vertical-align: middle; 
    margin-right: 2px; 
}

.tex{margin-bottom: 8px; 
    text-align: center;  
    font-size: 18px;
}

.tex1{margin-left: 20px;
text-align: center;
margin-bottom: 10px;
font-size: 18px;
}

.tex2{margin-left:55px ;
    margin-bottom: 10px;
    font-size: 18px;
}

.tex3{margin-left:70px ;
    font-size: 18px;
}


.tex4 { font-size: 16px;
text-align: center;
}

@media (max-width: 768px) {

    nav ul {
        flex-direction: column;
        display: none;
        width: 100%;
        text-align: center;
    }
    
    nav ul li.active > ul {
        display: block; 
    }

    nav ul.active {
        display: flex;
    }
    nav ul li ul {
        display: none; 

    }

    nav ul li:hover ul {
        display: block;
    }

    nav ul li ul li {
        text-align: left;
        padding: 10px;
        width: 100%;
    }

    nav ul li a {
        color: #003366;
    }

    .exp-title, .footer-content {
        text-align: center;
        width: 100%;
    }

    .menu-icon{
        margin-left: 150px;
    }

    .exp-title {
            text-align: center;
            position: relative;
            margin: 20px 0; 
            margin-top: 40px;
    }
    
    .exp-title::before,
    .exp-title::after {
            content: "";
            display: block;
            height: 2px;
            width: 50px; 
            position: absolute;
            top: 50%;
            background: rgb(17, 144, 161);
            margin-top: -1px; 
    }
    
    .exp-title::before {
            left: 0; 
            margin-right: 0px; 
    
    }
    
    .exp-title::after {
            right: 0; 
            margin-left: 0px; 
    }
    .multi-column {
        flex-direction: column; 
    }

    .p1-icon, .p2-icon, .p3-icon, .p4-icon {
        flex: 1 1 100%; 
    }

    form {
        flex-direction: column; 
        gap: 0px;
    }

    input[type="text"], input[type="tel"] {
        min-width: 100%; 
        margin: 0;
    }

    input[type="submit"] {
        min-width: 100%; 
    }

    .icon {
        width: 3rem;   /* Taille de l'icône pour les écrans plus grands */
        height: 3rem;
    }

    footer {
        padding: 20px; 
    }

    .footer-content1 {
        min-width: 100%; 
        margin-bottom: 20px; 
    }

    .footer-content3 {
        min-width: 100%; 
        margin-bottom: 20px; 
    }

    .footer-content {
        min-width: 100%; 
        margin-bottom: 20px;
    }

    .bottom-bar {
        flex-direction: column; 
        padding: 5px 0; 
        text-align: center;
    }

    .bottom-bar .right-aligned {
        font-size: 14px; 
        padding: 5px; 
        text-align: center; 
        width: 100%; 
        flex: none;
    }

    .bottom-bar .centered{
        font-size: 14px;
        padding: 5px; 
        width: 100%; 
        text-align: center;
        flex: none;
        
    }
}
@media (max-width: 767px) {
    .icon {
        width: 2rem;   /* Réduire la taille de l'icône pour les petits écrans */
        height: 2rem;
    }
}
@media (max-width: 600px) {
    .gif-container {
        height: 200px; 
    }
}

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px; 
    height: 50px;
    z-index: 1000;
    margin-bottom: 40px;
}

.whatsapp-icon img {
    width: 100%;
    height: auto;
}

.phone-icon {
    position: fixed;
    bottom: 20px;
    left: 80px; 
    width: 40px; 
    height: 50px;
    z-index: 1000;
    margin-bottom: 37px;
}

.phone-icon img {
    width: 100%;
    height: auto;
}

.contact-icons {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px; 
    z-index: 1000;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.5) !important; 
    color: #003366; 
    padding: 15px 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 14px;
    z-index: 10000;
    box-shadow: 0 -2px 8px #003366;
    backdrop-filter: blur(5px); /* Flou derrière le bandeau pour améliorer la lisibilité */
    -webkit-backdrop-filter: blur(5px); /* Support Safari */
}

.cookie-banner p {
    margin: 0 0 10px 0;
    color: #003366;
}

.cookie-banner label {
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
    user-select: none;
    font-weight: normal;
    color: #003366;
  }
  
  .cookie-banner input[type="checkbox"] {
    margin-right: 6px;
    cursor: pointer;
  }
  
  .cookie-btn {
    background-color: #003366;
    color: white;
    border: none;
    padding: 8px 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s ease;
  }
  
  .cookie-btn:hover {
    background-color: #003366;
  }
  
  .cookie-link {
    color: #003366;
    text-decoration: underline;
    margin-left: 15px;
    font-weight: 500;
  }
  
  .cookie-link:hover {
    color:#003366;
    text-decoration: none;
  }

  

@media (min-width: 800px) {
    .menu-icon {
        display: none;
    }
}

@media (max-width: 320px) {
    nav .menu-icon {
        margin: 0 auto;
    }
}

@media screen and (max-width: 768px) 
{
    nav {
    background-color: transparent !important;
    }

    nav ul {
    background-color: #fff !important; /* couleur du fond du menu mobile */
    border: none; /* si une bordure apparaît */
    }

     /* Ajustez la largeur selon vos besoins */
    nav ul li ul li a {
        display: none; /* Masque les liens des sous-menus sur mobile */
    }
    nav .dropdown__menu ul li {
        display: none; /* Masque les liens des sous-menus sur mobile */
    }
    nav .dropdown__menu
    {
        display: none; /* Masque les liens des sous-menus sur mobile */
        background-color: transparent !important;
    }
    nav ul li:hover ul {
        background-color: transparent !important;
    }
}


@media (max-width: 480px) {
    .conteneur {
        position: relative;
        display: flex;
        flex-direction: column; /* Empile le texte et le formulaire */
        align-items: center;
        text-align: center;
    }
    .photo {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 0;
    }
    .texte-superpose {
      font-size: 26px;        /* Réduit la taille sur petits écrans */
      top: 8%; 
      margin-top: 50px;
    }
    .formulaire {
        position: static;
        transform: none;
        margin-top: 40px;
    }
    .form-container {
        width: 90%;
        margin: 0 auto;
        margin-top: 190px;
    }
    
    .form-container form {
        width: 100%;
    }
    
    .form-container input[type="text"],
    .form-container input[type="tel"],
    .form-container input[type="submit"] {
        width: 100%; /* Champs prennent toute la largeur */
        box-sizing: border-box; /* Inclut les padding dans la largeur */
        display: block; /* Force chaque élément sur une ligne */
    }
    .form-container input[type="submit"] {
        background-color:#003366; /* Couleur du bouton */
        color: #fff;
        border: none;
        font-size: 1rem;
        cursor: pointer;
    }
    
    .form-container input[type="submit"]:hover {
        background-color: #003366; /* Effet au survol */
    }

    .exp-title::before,
    .exp-title::after {
            width: 50px; 
            top: 25%;
    }
    .exp-title1::before,
    .exp-title1::after{
    height: 2px;
    width: 80px;
    }
    .exp-title1::after{
        right: -20px;
    }
    
    .exp-title1::before{
        left: -20px;
    }   
    .exp-title {
        margin-top: -20px;
    }
    nav .logo {
    width: 200px;
    }
    
    
    
    
    
    
    .tex2{margin-left:30px ;
    }
    .icon2 {
        margin-right: 2px;  
    }
    .tex3{margin-left:30px ;
    }
    .icon3 {
        margin-right: 5px;  
    }
    .tex1{
        margin-left: 20px ;
    }
    .icon1 {
        margin-right: 35px;  
    }

}

.hidden {
    display: none !important;
  }