
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    z-index: 1001;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 20px;
    height: 80px;
}

header .logo {
    padding-top: 20px;
    padding-bottom: 12px;
    width: 200px;
    height: auto;
}

footer {
    background-color: #fff;
    padding: 15px 0px;

}

.footer-container {
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
}

.footer-left {
    flex: 1;
}

.footer-logo {
    width: 100px;
    height: auto;
    margin-top: 10px;
}

.footer-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-content {
    display: flex;
    align-items: center;
}

.footer-link {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    margin-right: 20px;
    transition: 0.2s;
}

.footer-link:hover {
    color: #888;
    transition: 0.2s;
}

.social-media {
    display: flex;
    align-items: center;
}

.social-icon {
    width: 24px;
    height: 24px;
    display: inline-block;
    background-size: cover;
    margin: 0 10px;
}

.social-icon img {
    padding-left: 10px;
    width: 24px;
    height: 24px;
    display: block;
}

.separator {
    width: 1px;
    height: 24px;
    background-color: #333;
}

.footer-right {
    flex: 1;
    text-align: right;
}

.footer-right p {
    margin: 2px 0;
    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    color: #333;
}


.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: 0.3s;
    z-index: 1002;
    position: relative;
}

.menu-icon .bar {
    width: 24px;
    height: 2px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s;
}

.menu-icon.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.menu-icon.open .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.menu.show {
    opacity: 1;
    visibility: visible;
}

.menu-content {
    text-align: center;
    color: #fff;
}

.menu-content a {
    letter-spacing: 2px;
    padding: 12px;
    font-family: "Montserrat", sans-serif;
    display: block;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    transition: 0.2s;
}

.menu-content a:hover {
    color: #aaa;
    transition: 0.2s;
}

.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    display: block;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.overlay .text {
    color: #fff;
    text-align: center;
}

.overlay h3 {
    margin: 0;
    font-size: 24px;
}

.overlay p {
    margin: 5px 0 0;
    font-size: 16px;
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.click-message {
    position: absolute;
    left: 50%;
    top: 80%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    background-color: rgba(0, 0, 0, 0);
    color: #ffffff;
    font-size: 18px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.click-message:hover {
    background-color: #ffffff;
    color: #000000;
}

.main-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 330px 0;
}

.form-wrapper-custom {
    width: 80%;
    max-width: 500px;
    min-width: 300px;
    padding: 20px;
    background-color: #ffffff;
    box-sizing: border-box;
}

.heading-custom {
    text-align: center;
    color: #333;
    font-size: 1.5em;
    margin-bottom: 20px;
}

.label-custom {
    display: block;
    margin: 10px 0 5px;
    font-weight: bold;
}

.input-custom {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
}

.textarea-custom {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    box-sizing: border-box;
    height: 150px; /* Ajuste la hauteur de base */
    resize: vertical; /* Permet uniquement le redimensionnement vertical */
}

.button-custom {
    width: 100%;
    padding: 12px;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}

.button-custom:hover {
    background-color: #333;
}

.status-message-custom {
    text-align: center;
    margin-top: 15px;
    color: #4CAF50;
    font-size: 0.9em;
}


.container {
    max-width: 800px;
    margin: auto;
    padding: 150px 20px;
    background: transparent;
}

.title {
    font-size: 2em;
    color: #333;
}

.section-title {
    font-size: 1.5em;
    margin-top: 50px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.info-detail, .property-detail, .terms-detail, .policy-detail {
    margin: 10px 0;
}

.terms-list {
    list-style-type: disc;
    margin-left: 20px;
}

.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 200px;
}

.profile-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 70px;
}

.info-box {
    max-width: 500px;
    width: 70%;
    padding: 15px;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 140px;
}

.separator2 {
    width: 60%;
    height: 1px;
    background-color: #cccccc;
    margin: 40px auto;
    border: none;
}

.client-title {
    text-align: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 100px 0;
    padding-bottom: 50px;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 20px;
    justify-items: center;
    padding-bottom: 100px;
}

.client-logo {
    width: 50%; /* Les logos occupent 100% de la largeur de chaque cellule */
    height: auto; /* Pour conserver le ratio d'aspect */
    max-width: 150px; /* Limite la taille maximale pour des grands écrans */
    transition: filter 0.3s ease;
}

.image_tarpin_grande {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 70px;
    max-width: 1200px;
    width: 100%;

}  

.jeteledis_cetexteesttroputile {
    padding-right: 50px;
    padding-left: 50px;
}

.jeteledis_cetexteesttroputile2 {
    padding-right: 50px;
    padding-left: 50px;
}

#untexteutile {
    background-color: #f9f9f9;
    padding-top: 180px;
    padding-bottom: 100px;
}

.jeteledis_cetexteesttroputile3 {
    display: none;
}

#untexteutile2 {
    display: none;
}

#zoneblanche {
    flex: 1;
}

/* Style pour la carte de confirmation */
.confirmation-card {
    width: 300px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: auto;
}

/* Style pour le cercle gris contenant la coche */
.confirmation-icon {
    width: 50px;
    height: 50px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faildmark{
    color: red;
    font-size: 24px;
    font-weight: bold;
}

.checkmark {
    color: #4CAF50;
    font-size: 24px;
    font-weight: bold;
}

.confirmation-message {
    font-size: 1.5em;
    color: #333;
    margin: 0;
}

.bouton_simple {
    margin-left: 48px;
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid black;
    background-color: transparent;
    color: black;
    text-decoration: none;
    font-size: 16px;
    border-radius: 0px;
    transition: 0.3s
}

.bouton_simple:hover {
    color: white;
    background-color: black;
    border-color: black;
    transition: 0.3s
}

#referencement {
    display: none;
    font-size: 1px;
}

@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
    
@media (max-width: 768px) { 
    .jeteledis_cetexteesttroputile2 {
        display: none;
    }

    .jeteledis_cetexteesttroputile3 {
        display: block;
        padding-right: 50px;
        padding-left: 50px;
    }

    #untexteutile2 {
        display: block;
        background-color: #f9f9f9;
        padding-top: 180px;
        padding-bottom: 100px;
    }
    
    .main-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 130px 0;
    }
    
    .gallery-item:hover .overlay {
        opacity: 0;
    }

    /* Affiche l'overlay uniquement lorsque la classe "show-overlay" est présente */
    .gallery-item.show-overlay .overlay {
        opacity: 1;
    }
    
    .logo-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    header .logo {
        padding-top: 20px;
        padding-bottom: 12px;
        width: 120px;
        height: auto;
    }
    
    .menu-content a {
        letter-spacing: 1px;
        padding: 10px;
        font-size: 18px;

    }
    
    .gallery {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .footer-container {
        padding-left: 30px;
        padding-right: 20px;
    }
    
    .footer-logo {
        width: 70px;
        height: auto;
        margin-top: 7px;
    }
    
    .footer-link {
        font-size: 10px;
    }
    
    .footer-center {
        flex: 18;
        display: flex;
        justify-content: flex-end;
        align-items: flex-end;
    }
    
    .social-icon img {
        padding-left: 0px;
        width: 20px;
        height: 20px;
    }
    
    .footer-right p {
        display: none;
    }
}
