:root {
    --main-color: #2c1810;
    --accent-color: #d4b08c;
    --bg-light: #E2B99C;
    --footer-bg: #3b2b20;
    --card-bg: #ffffff;
    --lightblue: #3dafb0;
    --green-color: #4a6b45;
    --lightgreen: #BFD7B5;
    --brown: #C4A484;
    --darkblue: #4A6572;
    --yellow: #e0ba78;
    --orange: #d99571;
    --rose: #804a7e;
}

/* Styles de la modale */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
}

.modal iframe {
    top: 0;
    width: 90vw;
    height: 82vh; /* Ajustement pour éviter le masquage */
    border: none;
    max-width: 100vw;
    max-height: 100vh;
}

.modal-body {
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .modal iframe {
        height: 75vh; /* Réduction spécifique pour mobile */
    }
    
    /* Correction spécifique pour Chrome mobile */
    body::-webkit-scrollbar {
        display: none;
    }
    
    .modal {
        display: flex;
        align-items: flex-start;
    }
    
    .modal iframe {
        height: calc(100vh - 100px); /* Ajustement dynamique */
    }
}

.close-btn {
    position: absolute;
    top: 0px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
    z-index: 10000;
}
.close-btn:hover {
    color: var(--accent-color);
}

.btn-visite {
    display: inline-block;
    padding: 10px 5px;
    background-color: var(--accent-color);
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    
	height: 70px;
	width: 100px;
}
.btn-visite:hover {
    background-color: #c89a7b;
}

* {
    box-sizing: border-box; /* Inclus les paddings et les bordures dans la largeur */
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Josefin Sans', sans-serif;
}



html {
    scroll-behavior: smooth;
}

body {
    background: linear-gradient(135deg, #4a2513, #643924, #4a2513);
    color: white;
    line-height: 1.6;
    max-width: 1024px;
    margin: 0 auto;
}

/* Style pour le header compact */
.compact-header {
    position: relative;
    text-align: center;
    background-color: #f5f5f5;
    padding: 20px;
    transition: transform 0.3s ease-in-out;
    z-index: 2;
}



h1, h2, h3, h4, h5, h6 {
    text-align: center;
    color: white;
    font-family: 'Handlee', sans-serif;
}







/* Style pour les sections */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.compact-header {
    text-align: center;
    padding: 2rem 1rem;
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    color: white;
    border-radius: 0px;
}

.phone-number {
    font-size: 1.5rem;
    font-weight: bold;
    margin-top: 0.5rem;
}

.cta-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #c89a7b;
}

.main-container {
    background: linear-gradient(45deg, var(--main-color), var(--accent-color));
    padding: 2rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
}

/* Disposition et couleur des cartes */
.grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin-top: 1rem;
}

.card {
    background-color: var(--card-bg);
    border-radius: 0px;
    padding: 1.5rem;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: white;
}

/* Couleurs des cartes */
.card-green { background-color: var(--green-color); }
.card-lightgreen { background-color: var(--lightgreen); color: #333333; }
.card-brown { background-color: var(--brown); color: #333333; }
.card-lightblue { background-color: var(--lightblue); color: #333333; }
.card-darkblue { background-color: var(--darkblue); }
.card-yellow { background-color: var(--yellow); color: #333333; }
.card-orange { background-color: var(--orange); color: #333333; }
.card-rose { background-color: var(--rose); color: #333333; }

/* Masque les cartes colorées par défaut */
.card-green, .card-lightgreen, .card-brown, .card-lightblue, .card-darkblue, .card-yellow, .card-orange, .card-rose {
    color: white !important;
}

/* Styles du Carrousel */
.carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 2rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.carousel-slide {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 100%;
    max-width: 300px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.footer {
    background-color: var(--footer-bg);
    color: white;
    text-align: center;
    padding: 1.5rem;
    margin-top: 2rem;
}

.footer .social-links a {
    color: var(--accent-color);
    margin: 0 10px;
    text-decoration: none;
}

.footer .social-links a:hover {
    text-decoration: underline;
}



.top-nav {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--main-color);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 900; /* Assure que la nav-bar est au-dessus des autres éléments */
}

.logo {
    height: 70px;
}

.nav-links {
    list-style: none;
    display: flex; /* Affiche les liens horizontalement en mode normal */
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-links a {
    color: var(--bg-light);
    text-decoration: none;
    font-size: 1.1rem;
}

.burger-menu {
    display: none;
    font-size: 1.5rem;
    color: var(--bg-light);
    cursor: pointer;
}

/* Styles pour le mode mobile */
@media (max-width: 768px) {
    .burger-menu {
        display: block;
    }
    .nav-links {
        display: none; /* Cache les liens en mode mobile tant que le menu n’est pas actif */
        flex-direction: column;
        position: absolute;
        top: 60px; /* Positionne le menu sous la barre de navigation */
        right: 0;
        background-color: var(--main-color);
        width: 100%;
        text-align: center;
        padding: 1rem;
        z-index: 999; /* Assure que le menu apparaisse par-dessus le contenu */
    }
    .nav-links.active {
        display: flex; /* Affiche le menu en mode mobile lorsqu'il est activé */
    }
	
	

	
	
	
	
	
}