* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
}

/* Barre d'informations */
.info-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 12px 0;
    text-align: center;
    position: relative;
}

.info-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.info-item i {
    color: #ff9500;
}

.cta-discover {
    background: linear-gradient(90deg, #1a1a2e, #ff9500);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.cta-discover:hover {
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    background: white;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-section {
    text-align: center;
    font-family: 'Playfair Display', 'Poppins', serif;
}

.logo-main {
    font-size: 36px;
    color: #000;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
}

.logo-main::after {
    content: '';
    display: block;
    width: 60%;
    margin: 8px auto 0;
    height: 2px;
    background: linear-gradient(to right, #000, #d4af37);
    /* dégradé noir/or */
}

.logo-sub {
    font-size: 16px;
    color: #555;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-style: italic;
}


.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #ff9500;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff9500;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HAMBURGER MENU */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    border-radius: 2px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        width: 200px;
        background-color: #fff;
        flex-direction: column;
        padding: 10px;
        gap: 10px;
        border: 1px solid #ddd;
        display: none;
        /* caché par défaut */
    }

    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ===== Section Propriétés ===== */
/* ===== Section Propriétés ===== */
.properties-section {
    width: 100%;
    padding: 50px 0;
    background: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.section-title {
    text-align: center;
    padding: 4rem 2rem 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.section-title h1 {
    font-size: 3rem;
    line-height: 1.2;
    color: #1a1a1a;
    font-family: 'Playfair Display', serif;
    /* Luxe / Premium font */
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.section-title p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: #555;
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    margin-bottom: 0;
}

/* Responsive: mobile first */
@media (max-width: 768px) {
    .section-title {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
    }

    .section-title h1 {
        font-size: 2rem;
    }

    .section-title p {
        font-size: 1rem;
    }
}


/* ===== Carousel ===== */
.properties-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.properties-track {
    display: flex;
    gap: 30px;
    transition: transform 0.5s ease;
}

/* ===== Cartes carrées très grandes ===== */
.property-card {
    flex: 0 0 calc((100% - 90px)/4);
    /* 4 cartes par ligne */
    aspect-ratio: 1 / 1;
    /* carré parfait */
    background: #f9f9f9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: scale(1.05);
}

/* Photo dominante */
.property-image {
    flex: 7;
    /* 70% de la carte */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Badge référence sur la photo */
.property-reference {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
}

/* Informations élégantes en bas */
.property-info {
    flex: 3;
    /* 30% de la carte */
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
}

.property-title {
    font-size: 20px;
    font-weight: bold;
    color: #222;
    margin-bottom: 8px;
    line-height: 1.2;
}

.property-price {
    font-size: 18px;
    font-weight: 700;
    /* Dégradé bleu */
    background: black;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.property-details {
    display: flex;
    gap: 12px;
    font-size: 14px;
    color: #555;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.property-details i {
    color: #ff6600;
    margin-right: 4px;
}

.property-location {
    font-size: 14px;
    color: #777;
    display: flex;
    align-items: center;
}

.property-location i {
    color: #ff6600;
    margin-right: 4px;
}

/* ===== Boutons carousel ===== */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    border: none;
    padding: 16px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 22px;
    z-index: 10;
    transition: background 0.3s ease;
}

.carousel-controls:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-controls.prev {
    left: 15px;
}

.carousel-controls.next {
    right: 15px;
}

/* ===== Responsive ===== */

/* Tablette : 2 cartes par ligne */
@media (max-width: 1024px) {
    .property-card {
        flex: 0 0 calc((100% - 30px)/2);
    }
}

/* Mobile : 1 carte par vue */
@media (max-width: 767px) {
    .properties-track {
        gap: 0;
    }

    .property-card {
        flex: 0 0 100%;
        margin: 0;
    }
}


/* Section Pourquoi nous choisir */
.why-choose-us {
    padding: 80px 20px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ff9500;
    box-shadow: 0 20px 40px rgba(255, 149, 0, 0.2);
}

.feature-icon {
    font-size: 3rem;
    color: #ff9500;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.2);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: white;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Stats */
.stats {
    padding: 60px 20px;
    background: rgba(255, 149, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-item {
    color: #1a1a2e;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #ff9500;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
}



/* Flèches Swiper en noir */
.swiper-button-next,
.swiper-button-prev {
    color: #000 !important;
    /* noir */
    width: 35px;
    height: 35px;
}


/* Footer */
.footer {
    background: #1a1a2e;
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #ff9500;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff9500;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff9500;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: #ff9500;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

#newsletter-email {
    padding: 10px;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

#newsletter-btn {
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: linear-gradient(90deg, #1a1a2e, #ff9500);
    color: white;
    font-weight: bold;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#newsletter-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.newsletter-message {
    margin-top: 5px;
    color: #ff9500;
    font-size: 0.9rem;
}



/* Contact flottant */
.floating-contact {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    display: flex;
    gap: 15px;
}

.contact-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-btn:hover {
    transform: scale(1.1);
}

.phone-btn {
    background: linear-gradient(45deg, #25d366, #128c7e);
}

.chat-btn {
    background: linear-gradient(90deg, #1a1a2e, #ff9500);
}

/* Modal de contact */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.modal-title {
    color: #1a1a2e;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff9500;
}

.form-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #1a1a2e, #ff9500);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #666;
    border: 2px solid #e9ecef;
}

.btn:hover {
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .info-content {
        gap: 20px;
    }

    .info-item {
        font-size: 12px;
    }

    .logo-text {
        font-size: 24px;
    }

    .nav-links {
        display: none;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .floating-contact {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .contact-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Preloader full screen */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a2e;
    /* couleur de fond du preloader */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Texte du preloader */
#preloader-text {
    color: #ff9500;
    font-size: 2.5rem;
    font-family: 'Playfair Display', 'Poppins', serif;
    letter-spacing: 5px;
    overflow: hidden;
}

/* Animation lettres (typewriter) */
#preloader-text span {
    opacity: 0;
    animation: fadeInLetter 0.5s forwards;
}

@keyframes fadeInLetter {
    to {
        opacity: 1;
    }
}
