/* SECTIONS GÉNÉRIQUES */
.section {
    padding: 80px 0;
    scroll-margin-top: 80px;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.section-title-propierty {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: white;
}
.section-title-propierty h2 {
    font-size: 36px;
    color: white;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title-propierty p {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
}
.section-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.section-title p {
    color: #666;
    font-size: 18px;
    font-weight: 500;
}

/* ===== SECTION "POURQUOI ROSEMÈRE" AVEC IMAGE ===== */
.why-rosemere-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    min-height: 600px; /* Ajoute une hauteur minimale */
}

.woman-column {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 60px;
    min-width: 400px;
    height: 100%; /* Important : occupe toute la hauteur */
}

.woman-image {
    width: 150%;
    max-width: 610px;
    height: auto;
    object-fit: cover;
    margin-left: 20px;
    margin-bottom: -10px;
}

.features-column {
    display: flex;
    flex-direction: column;
}

/* Grille des features - TOUTES LES 6 CARTES IDENTIQUES */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 0;
}

.feature-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 15px;
    border: 3px solid #1900ff;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.feature-card h3 {
    color: #000000;
    margin: 0 0 12px 0;
    font-weight: 600;
    font-size: 20px;
    text-align: left;
    line-height: 1.3;
}

.feature-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
    text-align: left;
    flex-grow: 1;
}

.feature-subtitle {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    text-align: left;
}

/* Style pour la carte "Ville à échelle humaine" */
#ville {
    background-color: #313FB4!important;
}

#ville p {
    color: #ffffff !important;
}

#ville h3 {
    color: #ffffff !important;
}

/* Style pour la carte "Ville à échelle humaine" */
#pk {
    border: 3px solid #1900ff00;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0)  ;
}



#pk h3 {
    color: #1908b8 !important;
    font-size: 30px;
}
#pk span {
    color: #000000 !important;
    font-size: 16px;
}

#pourquoi {
    background-color: #ffffff !important;
}


/* ===== SECTION STATISTIQUES AVEC BACKGROUND ===== */
/* ===== SECTION STATISTIQUES AVEC GRID ===== */
.stats-section {
    background: #122198; /* Bleu sur toute la section */
    position: relative;
    overflow: hidden;
}

.stats-background-wrapper {
    position: absolute;
    top: -100px;
    left: 0;
    width: 60%; /* L'image occupe la moitié gauche */
    height: 100%;
    z-index: 1;
}

.stats-background-image {
    margin-top: 0px;
    width: 100%;
    height: 150%;
    object-fit: cover;
    object-position: left center;
    mask-image: linear-gradient(135deg, black 0%, transparent 50%);
    -webkit-mask-image: linear-gradient(135deg, black 0%, transparent 50%);
}

/* Grid principal pour les deux colonnes */
.stats-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 2;
    height: 100%;
}

/* Colonne de gauche - Texte */
.stats-text-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 200px;
    padding-top:50px;
}

.stats-description {
    color: white !important;
    font-size: 16px;
    line-height: 1.6;
    margin-top: 20px;
    opacity: 0.9;
}

.stats-image-column {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    position: relative;
}

/* Image de base - circledots.png */
.stats-base-image {
    max-width: 80%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

/* Image du milieu - chiffre-mall.png */
.stats-middle-image {
    position: absolute;
    max-width: 110%;
    height: 68%;
    object-fit: contain;
    z-index: 2;
    bottom: -100px; /* Encore plus haut */
    right: -89px; /* Décalé vers la droite */
}

/* Image du dessus - agent-imobilier.png */
.stats-top-image {
    position: absolute;
    max-width: 100%;
    height: 110%;
    object-fit: contain;
    z-index: 3;
    bottom: -100px; /* Encore plus haut */
    right: 140px; /* Plus vers la gauche */
}

/* Version responsive */
@media (max-width: 768px) {
    .stats-base-image {
        max-width: 90%;
    }
    
    .stats-middle-image {
        max-width: 70%;
        right: 30px;
        top: -10px;
    }
    
    .stats-top-image {
        max-width: 80%;
        right: 60px;
        top: -20px;
    }
}
/* Ajustement du grid des stats pour qu'il prenne moins de place */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-left: 0; /* Retirer le margin-left précédent */
}

.stat-item {
    background: #6f55ff;
    padding: 25px 15px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item h3 {
    font-size: 36px; /* Légèrement plus petit pour mieux s'adapter */
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

.stat-item p {
    font-weight: 500;
    color: #ffffff;
    font-size: 14px;
}

/* Colonne de droite - Image */
.stats-image-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.stats-right-image {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Styles pour le titre */
#chiffre-title p {
    color: white !important;
    margin-bottom: 10px;
}

#chiffre-title h2 {
    color: white !important;
    margin-bottom: 15px;
}

/* Version responsive */
@media (max-width: 768px) {
    .stats-content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-background-wrapper {
        width: 100%;
        height: 200px;
    }
}







.practical-info-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.practical-info-background {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.building-background {
    width: 300px;
    height: auto;
    object-fit: contain;
    opacity: 0.8;
}

.practical-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 2;
}

/* Colonne de GAUCHE */
.practical-info-left {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-left: 100px;
}

.practical-main-content {
    text-align: left;
}

.practical-main-title {
    color: #4120ff; /* Mauve */
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.practical-paragraph {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

/* Grille des stats avec icônes - 2 colonnes × 2 rangées */
.practical-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colonnes */
    gap: 15px;
}

.practical-stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    min-height: 80px; /* Hauteur uniforme */
}

.stat-icon {
    width: 30px;
    height: 30px;
    background: #4120ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0; /* Empêche l'icône de rétrécir */
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-bottom: 4px;
}

.stat-value {
    color: #8A2BE2;
    font-weight: 700;
    font-size: 16px;
}

/* Colonne de DROITE - Cartes colorées */
.practical-info-right {
    display: flex;
}

.practical-features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ← CHANGEZ SEULEMENT CETTE LIGNE */
    gap: 20px;
}

.practical-feature-card {
    padding: 25px 20px;
    border-radius: 12px;
    text-align: center; /* ← CHANGÉ */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 160px; /* ← AJOUT */
    display: flex; /* ← AJOUT */
    flex-direction: column; /* ← AJOUT */
    align-items: center; /* ← AJOUT */
    justify-content: flex-start; /* ← AJOUT */
    width: 300px;
}

.practical-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.practical-feature-card h3 {
    font-size: 17px; /* ← CHANGÉ */
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
    text-align: center; /* ← AJOUT */
}

.practical-feature-card p {
    color: #ffffff;
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
    text-align: center; /* ← AJOUT */
}
/* AJOUT - Styles pour les icônes */
.feature-icon {
    font-size: 32px;
    margin-bottom: 15px;
    display: block;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Couleurs des cartes - tons de bleu mauve pâle */
.card-color-1 {
    background: #3131ac; /* Lavender */
}

.card-color-2 {
    background: #6f31ff; /* Alice Blue */
    
}

.card-color-3 {
    background: #240a97; /* Ghost White avec nuance bleue */
}

.card-color-4 {
    background: #000768; /* Bleu très pâle */
}

/* Version responsive */
@media (max-width: 768px) {
    .practical-info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .building-background {
        width: 200px;
        opacity: 0.6;
    }
    
    .practical-stats-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
        /* AJOUT - Responsive pour les cartes */
    .practical-features-grid {
        grid-template-columns: 1fr; /* 1 colonne sur mobile */
    }
    
    .practical-feature-card {
        min-height: 180px;
        padding: 20px 15px;
        top: 0 !important;
        margin-bottom: 20px;
    }
}
/* ===== SECTION PROPRIÉTÉS AVEC DÉCORATIONS ===== */
.properties-section {
    background: #6745FC;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

/* Conteneurs des décorations - CORRIGÉ */
.property-decoration {
    position: absolute;
    top: 5%; /* Commence à 5% du haut pour centrer verticalement */
    height: 90%; /* 90% de la hauteur de la section */
    z-index: 1;
    display: flex;
    align-items: center;
}

.property-decoration-left {
    left: 0;
    padding-left: 2px;
    justify-content: flex-start; /* Aligne à gauche */
}

.property-decoration-right {
    right: 0;
    padding-right: 2px;
    justify-content: flex-end; /* Aligne à droite */
}

/* Images de décoration */
.decoration-image {
    height: 100%; /* Prend 100% de la hauteur du conteneur */
    width: auto; /* Largeur automatique pour garder les proportions */
    object-fit: contain;
    opacity: 0.8;
}

/* Assurez-vous que le contenu reste au-dessus */
.properties-section .container {
    position: relative;
    z-index: 2;
}

/* Le reste de votre CSS existant pour les propriétés */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: bold;
    margin: 10px 0;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Navigation carousel */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.carousel-btn:hover {
    background: white;
    color: #6745FC;
}

/* Version responsive */
@media (max-width: 768px) {
    .property-decoration {
        display: none; /* Cache les décorations sur mobile */
    }
    
    .properties-section .container {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CAROUSEL PROPRIÉTÉS ===== */
.properties-carousel {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.properties-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 30px;
}

.property-slide {
    flex: 0 0 calc(33.333% - 20px); /* 3 cartes visibles à la fois */
    min-width: 0;
}

/* Styles existants pour property-card */
.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: bold;
    margin: 10px 0;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Navigation carousel */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.carousel-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.carousel-btn:hover {
    background: white;
    color: #6745FC;
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-btn:disabled:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Version responsive */
@media (max-width: 1024px) {
    .property-slide {
        flex: 0 0 calc(50% - 15px); /* 2 cartes visibles sur tablette */
    }
}

@media (max-width: 768px) {
    .property-slide {
        flex: 0 0 100%; /* 1 carte visible sur mobile */
    }
    
    .properties-section .container {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}










/* ===== SECTION PROPRIÉTÉS ===== */

#buttons-propiety{
    width: 100%;
    justify-content: center;
}

.properties-section {
    background: var(--light-bg);
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.property-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.property-info {
    padding: 20px;
}

.property-price {
    font-size: 28px;
    color: var(--accent-color);
    font-weight: bold;
    margin: 10px 0;
}

.property-location {
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
}

.property-features {
    display: flex;
    gap: 15px;
    margin-top: 15px;
    font-size: 14px;
    color: #888;
}


















/* ===== SECTION À PROPOS ===== */
/* ===== SECTION PRÉSENTATION AGENT ===== */
/* ===== SECTION PRÉSENTATION AGENT ===== */
.agent-presentation-section {
    background: url('../images/bg-about.png') no-repeat center center;
    background-size: cover;
    width: 100%;
    height: 100%;
}

.agent-presentation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
}

.agent-image-column {
    display: flex;
    justify-content: center;
    align-items: center;
}

.agent-image-wrapper {
    position: relative;
    display: inline-block;
}

.agent-image {
    width: 100%;
    max-width: 525px;
    border-radius: 15px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

/* Élément étincelle */
.spark-decoration {
    position: absolute;
    top: -100px;
    left: -100px;
    width: 250px;
    height: 250px;
    z-index: 2;
    animation: sparkle 10s ease-in-out infinite;
    pointer-events: none;
}

/* Animation pour l'étincelle */
@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(10deg);
        opacity: 0.8;
    }
}

.agent-content {
    padding: 40px 0;
}

.agent-content h2 {
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.agent-subtitle {
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 20px;
}

.agent-description {
    color: #000000;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 20px;
}

.agent-contact-btn {
    background: #2e08b8;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.agent-contact-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Version responsive */
@media (max-width: 768px) {
    .agent-presentation-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        min-height: auto;
    }
    
    .agent-image {
        max-width: 300px;
    }
    
    .spark-decoration {
        width: 50px;
        height: 50px;
        top: -15px;
        left: -15px;
    }
    
    .agent-content {
        text-align: center;
        padding: 20px 0;
    }
    
    .agent-content h2 {
        font-size: 32px;
    }
    
    .agent-subtitle {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .agent-image {
        max-width: 250px;
    }
    
    .spark-decoration {
        width: 40px;
        height: 40px;
        top: -10px;
        left: -10px;
    }
    
    .agent-content h2 {
        font-size: 28px;
    }
}
/* NOUVEAU : Boutons réseaux sociaux */
.social-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: flex-start;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Couleurs individuelles pour chaque bouton */
.facebook-btn {
    background: #2e08b8;
    color: white;
}

.facebook-btn:hover {
    background: #1e0678;
    border-color: #2e08b8;
}

.twitter-btn {
    background: #3d1df2;
    color: white;
}

.twitter-btn:hover {
    background: #6843eb;
    border-color: #1DA1F2;
}

.telegram-btn {
    background: #8a3cf0;
    color: white;
}

.telegram-btn:hover {
    background: #00b7ff;
    border-color: #0088cc;
}

/* Version responsive */
@media (max-width: 768px) {
    .social-buttons {
        justify-content: center;
        gap: 12px;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        gap: 10px;
    }
    
    .social-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-btn svg {
        width: 20px;
        height: 20px;
    }
}














/* ===== SECTION GALERIE ===== */
.gallery-section {
    background: #313FB4;
    padding: 80px 0;
    color: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.gallery-subtitle {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

.gallery-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-set {
    flex: 0 0 100%;
    min-width: 0;
    display: none;
}

.gallery-set.active {
    display: block;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item-raised {
    transform: translateY(-30px);
}

.gallery-item-raised:hover {
    transform: translateY(-35px);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    margin-top: 50px;
}

.gallery-image:hover {
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
}

/* Navigation galerie */
.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.gallery-nav-btn {
    background: transparent;
    border: 2px solid white;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.gallery-nav-btn:hover:not(:disabled) {
    background: white;
    color: #313FB4;
    transform: scale(1.1);
}

.gallery-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: white;
    color: #313FB4;
}

.gallery-nav-btn:disabled:hover {
    transform: none;
    background: white;
    color: #313FB4;
}

/* Version responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .gallery-item-raised {
        transform: translateY(0);
    }
    
    .gallery-item-raised:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    .gallery-section {
        padding: 60px 0;
    }
    
    .gallery-title {
        font-size: 32px;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 28px;
    }
    
    .gallery-subtitle {
        font-size: 16px;
    }
    
    .gallery-image {
        height: 180px;
        border-radius: 10px;
    }
}





/* ===== SECTION STATISTIQUES MODIFIÉE ===== */
.stats-section-modified {
    background: #6745FC;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

/* Décorations d'extrémités */
.stats-decoration {
    position: absolute;
    top: 5%;
    height: 90%;
    z-index: 1;
    display: flex;
    align-items: center;
}

.stats-decoration-left {
    left: 0;
    padding-left: 2px;
    justify-content: flex-start;
}

.stats-decoration-right {
    right: -0%;
    padding-right: -10px;
    justify-content: flex-end;
}

/* Assurez-vous que le contenu reste au-dessus */
.stats-section-modified .container {
    position: relative;
    z-index: 2;
}

/* Grille des statistiques modifiée */
.stats-grid-modified {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-item-modified {
    background: white;
    padding: 40px 20px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom: 2px #000000;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

#stats-title{
color: #ffffff;
}
#stats-p{
color: #ffffff;
}

.stat-item-modified:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.stat-item-modified h3 {
    font-size: 38px;
    color: #000000;
    margin-bottom: 15px;
    font-weight: 700;
}

.stat-item-modified p {
    font-weight: 600;
    color: #000000;
    font-size: 18px;
    margin: 0;
}

/* Version responsive */
@media (max-width: 1024px) {
    .stats-grid-modified {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .stats-section-modified {
        padding: 60px 0;
    }
    
    .stats-grid-modified {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stats-decoration {
        display: none; /* Cache les décorations sur mobile */
    }
    
    .stat-item-modified {
        padding: 30px 15px;
    }
    
    .stat-item-modified h3 {
        font-size: 36px;
    }
    
    .stat-item-modified p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stats-section-modified {
        padding: 40px 0;
    }
    
    .stat-item-modified {
        padding: 25px 15px;
    }
    
    .stat-item-modified h3 {
        font-size: 32px;
    }
}





/* ===== SECTION CONTACT ===== */
.contact-section {
    background: var(--light-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    background: #00000000;
    padding: 10px;
    border-radius: 10px;
}

.contact-info h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #666;
}

.contact-detail i {
    margin-right: 10px;
    color: var(--accent-color);
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

/* ===== SECTION TESTIMONIALS ===== */
.testimonials-section {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.testimonial-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-info p {
    color: #888;
    font-size: 14px;
}

/* ===== SECTION FAQ ===== */
.faq-section {
    background: var(--light-bg);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
    padding-bottom: 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* ===== SECTION BLOG ===== */
.blog-section {
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}

.blog-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.blog-content p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* ===== SECTION CTA ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.cta-content h2 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== SECTION NEWSLETTER ===== */
.newsletter-section {
    background: var(--light-bg);
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.newsletter-content p {
    color: #666;
    margin-bottom: 30px;
    font-size: 18px;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 16px;
}

.newsletter-form button {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
    background: var(--primary-color);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease-out;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease-out;
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-30 {
    margin-top: 30px;
}

.mt-40 {
    margin-top: 40px;
}

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ===== PRINT STYLES ===== */
@media print {
    .section {
        padding: 40px 0;
    }
    
    .feature-card,
    .property-card,
    .testimonial-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .btn {
        display: none;
    }
}










/* ===== FOOTER COMPLET ===== */
.main-footer {
    background: #2C3AB4;
    color: white;
    position: relative;
    justify-content: center;
}

/* Barre de contact rapide */
.footer-contact-bar {
    background: white;
    padding:0px ;
    border-radius: 19px;
    margin-top: -20px;
    margin-bottom: 30px;
    width: 70%;
    left: 15%;
    position: relative;
    z-index: 10;
}

.contact-quick {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.contact-text {
    color: #6745FC;
    font-weight: 600;
    font-size: 18px;
    text-align: center;
}

.phone-icon-wrapper {
    position: relative;
    z-index: 2;
}

.phone-circle {
    width: 60px;
    height: 60px;
    background: white;
    border: 3px solid #6745FC;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(103, 69, 252, 0.3);
}

.phone-number {
    color: #6745FC;
    font-weight: 700;
    font-size: 18px;
}

/* Contenu principal du footer */
.footer-main {
    padding: 60px 0 40px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

/* Colonne 1 - Menu */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 16px;
}

.footer-menu a:hover {
    color: #E6E6FA;
}

/* Colonne 2 - Coordonnées */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-info p {
    margin: 0 0 5px 0;
    line-height: 1.5;
    font-size: 15px;
}

.hours-secondary {
    font-size: 14px !important;
    opacity: 0.9;
}

/* Colonne 3 - Réseaux sociaux */
.social-footer {
    margin-bottom: 25px;
}



.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.remax-logo {
    margin-top: 15px;
}

.remax-image {
    max-width: 120px;
    height: auto;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.remax-image:hover {
    opacity: 1;
}

/* Bottom du footer */
.footer-bottom {
    background: white;
    padding: 25px 0;
    border-top: 3px solid #6745FC;
}

.footer-bottom p {
    color: #6745FC;
    text-align: center;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.footer-bottom a {
    color: #6745FC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #2C3AB4;
    text-decoration: underline;
}

/* Version responsive */
@media (max-width: 768px) {
    .footer-contact-bar {
        padding: 20px 0;
        margin-top: -15px;
    }
    
    .contact-quick {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-text {
        font-size: 16px;
    }
    
    .phone-number {
        font-size: 16px;
    }
    
    .footer-main {
        padding: 40px 0 30px 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .footer-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .footer-contact-bar {
        padding: 15px 0;
    }
    
    .phone-circle {
        width: 50px;
        height: 50px;
    }
    
    .contact-text {
        font-size: 15px;
    }
    
    .phone-number {
        font-size: 15px;
    }
    
    .footer-main {
        padding: 30px 0 20px 0;
    }
    
    .footer-content {
        gap: 25px;
    }
}