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

:root {
    --orange: #e8600b;
    --gris-fonce: #5a5a5a;
    --blanc: #ffffff;
    --gris-clair: #f5f5f5;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gris-fonce);
}

/* Header */
header {
    background: #2e3d4a;
    padding: 0.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
}

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

.logo {
    height: 100px;
    margin: -20px 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--blanc);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--orange);
}

.nav-social {
    display: none;
}

.nav-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.3rem;
    transition: background 0.3s;
}

.nav-social a:hover {
    background: var(--orange);
}

/* Main */
main {
    padding-top: 60px;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--blanc);
    text-align: center;
    padding: 120px 2rem;
    background: var(--gris-fonce);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('img-2.png') center/cover no-repeat;
    opacity: 1;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(90,90,90,0.4) 0%, rgba(58,58,58,0.5) 100%);
    z-index: 1;
}

.hero > * {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* Button */
.btn {
    display: inline-block;
    background: var(--orange);
    color: var(--blanc);
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s;
}

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

/* Qualités Section */
.qualites {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 80px 2rem;
    background: var(--blanc);
    flex-wrap: wrap;
}

.qualite {
    text-align: center;
    max-width: 280px;
}

.qualite .icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.5rem;
}

.qualite .icon img {
    width: 100%;
    height: 100%;
}

.qualite h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--gris-fonce);
}

.qualite p {
    color: #777;
}

/* Presentation Section */
.presentation {
    background: #2e3d4a;
    color: var(--blanc);
    padding: 60px 2rem;
    text-align: center;
}

.presentation p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.presentation .highlight {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--orange);
}

.presentation .team {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 2rem 0;
}

.presentation .member {
    text-align: center;
}

.presentation .member img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 15%;
    border: 3px solid var(--orange);
    margin-bottom: 1rem;
}

.presentation .member p {
    font-weight: 600;
    margin-bottom: 0;
}

.presentation .signature {
    font-style: italic;
    margin-top: 2rem;
    opacity: 0.9;
}

/* Services Section */
.services {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 60px 2rem;
    background: var(--blanc);
    flex-wrap: wrap;
}

.service {
    text-align: center;
    max-width: 220px;
}

.service .icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
}

.service .icon img {
    width: 100%;
    height: 100%;
}

.service h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--gris-fonce);
}

.service p {
    color: #777;
    font-size: 0.95rem;
}

/* Contact Info Section */
.contact-info {
    background: var(--gris-clair);
    text-align: center;
    padding: 60px 2rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    color: var(--gris-fonce);
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-details a {
    color: var(--gris-fonce);
    text-decoration: none;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.contact-details a:hover {
    color: var(--orange);
}

.contact-details i {
    color: var(--orange);
}

/* Contact Page */
.contact-page {
    max-width: 700px;
    margin: 0 auto;
    padding: 60px 2rem;
}

.contact-page h1 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.contact-page > p {
    text-align: center;
    color: #777;
    margin-bottom: 2rem;
}

/* Form */
.contact-form {
    background: var(--blanc);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-row .form-group {
    flex: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--gris-fonce);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

.radio-group {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
}

.radio-label input[type="radio"] {
    width: auto;
    accent-color: var(--orange);
}

.contact-form .btn {
    width: 100%;
}

/* Contact Direct */
.contact-direct {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-direct h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gris-fonce);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gris-fonce);
    color: var(--blanc);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: background 0.3s, transform 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
}

.social-links a[title="Facebook"]:hover {
    background: #1877f2;
}

.social-links a[title="Instagram"]:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-links a[title="YouTube"]:hover {
    background: #ff0000;
}

/* Avis Google Section */
.avis-google {
    background: var(--gris-clair);
    padding: 60px 2rem;
    text-align: center;
}

.avis-google h2 {
    margin-bottom: 2rem;
    color: var(--gris-fonce);
    font-size: 1.8rem;
}

.avis-google h2 i {
    color: #4285F4;
    margin-right: 0.5rem;
}

.carrousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.carrousel {
    flex: 1;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avis {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    background: var(--blanc);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    max-width: 700px;
}

.avis.active {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.avis .stars {
    color: #fbbc04;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.avis .texte {
    font-style: italic;
    color: var(--gris-fonce);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.avis .auteur {
    font-weight: 600;
    color: var(--orange);
}

.carrousel-btn {
    background: var(--orange);
    color: var(--blanc);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrousel-btn:hover {
    background: #d45500;
    transform: scale(1.1);
}

.carrousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.carrousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.carrousel-dots .dot.active {
    background: var(--orange);
}

/* Video Section */
.video-section {
    background: #2e3d4a;
    padding: 60px 2rem;
    text-align: center;
}

.video-section h2 {
    color: var(--blanc);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.video-container {
    max-width: 500px;
    margin: 0 auto;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
}

/* Footer */
footer {
    background: var(--gris-fonce);
    color: var(--blanc);
    text-align: center;
    padding: 1.5rem;
}

/* Méthode Page */
.methode-hero {
    background: #2e3d4a;
    color: var(--blanc);
    text-align: center;
    padding: 80px 2rem 60px;
}

.methode-hero h1 {
    font-size: 2.5rem;
}

.methode-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 2rem;
    text-align: center;
}

.methode-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--gris-fonce);
}

.methode-intro .highlight {
    font-weight: 600;
    color: var(--orange);
    font-size: 1.2rem;
}

.methode-cta {
    text-align: center;
    padding: 20px 2rem 60px;
}

/* Page Merci */
.merci-page {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 2rem;
}

.merci-icon {
    font-size: 5rem;
    color: #28a745;
    margin-bottom: 1.5rem;
}

.merci-page h1 {
    color: var(--gris-fonce);
    margin-bottom: 1rem;
}

.merci-page p {
    color: #777;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.merci-page .btn {
    margin-top: 2rem;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 2rem 40px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--orange);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
}

.timeline-icon {
    width: 60px;
    height: 60px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    margin-left: 21px;
}

.timeline-icon i {
    color: var(--blanc);
    font-size: 1.4rem;
}

.timeline-content {
    background: var(--blanc);
    padding: 1.5rem;
    margin-left: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    flex: 1;
}

.timeline-content h3 {
    color: var(--gris-fonce);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #777;
    line-height: 1.6;
    margin: 0;
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--blanc);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #2e3d4a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 100;
    }

    nav ul.active {
        right: 0;
    }

    nav ul li a {
        font-size: 1.3rem;
    }

    .nav-social {
        display: flex;
        margin-top: 1rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .qualites {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .services {
        flex-direction: column;
        align-items: center;
    }

    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .contact-details {
        flex-direction: column;
        gap: 1rem;
    }

    .carrousel-container {
        flex-direction: column;
    }

    .carrousel-btn {
        display: none;
    }

    .presentation .team {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-icon {
        width: 50px;
        height: 50px;
        margin-left: 6px;
    }

    .timeline-icon i {
        font-size: 1.1rem;
    }

    .timeline-content {
        margin-left: 1rem;
        padding: 1rem;
    }

    .methode-hero h1 {
        font-size: 1.8rem;
    }

    .biens-hero h1 {
        font-size: 1.8rem;
    }

    .biens-grid {
        grid-template-columns: 1fr;
    }

    .biens-filters {
        flex-wrap: wrap;
    }
}

/* ===========================================
   PAGE BIENS EN VENTE
   =========================================== */

.biens-hero {
    background: #2e3d4a;
    color: var(--blanc);
    text-align: center;
    padding: 80px 2rem 60px;
}

.biens-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.biens-hero p {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Filtres */
.biens-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    background: var(--gris-clair);
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--orange);
    background: transparent;
    color: var(--orange);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--orange);
    color: var(--blanc);
}

/* Grille des biens */
.biens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Carte de bien */
.bien-card {
    background: var(--blanc);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bien-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.bien-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.bien-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.bien-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.bien-card:hover .bien-image img {
    transform: scale(1.05);
}

.bien-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--orange);
    color: var(--blanc);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.bien-info {
    padding: 1.5rem;
}

.bien-price {
    font-size: 1.5rem;
    color: var(--orange);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.bien-location {
    color: var(--gris-fonce);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.bien-location i {
    color: var(--orange);
    margin-right: 0.3rem;
}

.bien-details {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.bien-details span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.bien-details i {
    color: var(--gris-fonce);
}

.bien-catchphrase {
    color: var(--gris-fonce);
    font-size: 0.9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Loading */
.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gris-fonce);
}

.loading i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.loading p {
    font-size: 1.1rem;
}

/* Error message */
.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gris-fonce);
}

.error-message i {
    font-size: 3rem;
    color: var(--orange);
    margin-bottom: 1rem;
}

.error-message p {
    margin-bottom: 0.5rem;
}

.safti-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    color: #777;
    font-size: 1.1rem;
}
