/* ============================================
   REAL ESTATE SECTION V2 - Propriétés & Biens
   Design Premium & Typographie Elégante
   ============================================ */

.immo-v2-section {
    padding: 80px 0;
    background-color: #ffffff;
    margin: 60px 40px;
    border-radius: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.immo-v2-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* En-tête de section */
.immo-v2-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.immo-v2-badge {
    display: inline-block;
    background: #f0f7ff;
    color: #1a3a8f;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 24px;
    border-radius: 60px;
    margin-bottom: 20px;
    border: 1px solid #dbeafe;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.immo-v2-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.immo-v2-header p {
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
}

/* Grille immobilière */
.immo-v2-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Carte propriété */
.immo-v2-card {
    background: #ffffff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.immo-v2-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.immo-v2-card-img {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.immo-v2-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.immo-v2-card:hover .immo-v2-card-img img {
    transform: scale(1.1);
}

.immo-v2-img-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 12px;
    color: #1a3a8f;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 2;
}

.immo-v2-card-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.immo-v2-card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1e293b;
}

.immo-v2-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 14px;
}

.immo-v2-location i {
    color: #ef4444;
}

.immo-v2-features {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding: 15px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.immo-v2-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #475569;
    font-size: 13px;
}

.immo-v2-feature-item i {
    color: #1a3a8f;
    font-size: 16px;
}

.immo-v2-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.immo-v2-price {
    font-size: 26px;
    font-weight: 800;
    color: #1a3a8f;
}

.immo-v2-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.immo-v2-btn:hover {
    background: #1a3a8f;
    transform: scale(1.05);
}

/* Bloc Agent */
.immo-v2-agent-cta {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 35px;
    padding: 30px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.immo-v2-agent-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.immo-v2-agent-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.immo-v2-agent-details h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #0f172a;
}

.immo-v2-agent-details p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.immo-v2-contact-btn {
    background: linear-gradient(135deg, #1a3a8f 0%, #2d5cc2 100%);
    color: #ffffff;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(26, 58, 143, 0.2);
}

.immo-v2-contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(26, 58, 143, 0.3);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .immo-v2-section {
        margin: 40px 20px;
    }
}

@media (max-width: 768px) {
    .immo-v2-section {
        margin: 40px 15px;
        padding: 40px 0;
        border-radius: 20px;
    }

    .immo-v2-container {
        padding: 0 15px;
    }

    .immo-v2-header h2 {
        font-size: 28px;
    }

    .immo-v2-grid {
        gap: 20px;
    }

    .immo-v2-card-img {
        height: 220px;
    }

    .immo-v2-card-content {
        padding: 20px;
    }

    .immo-v2-agent-cta {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        border-radius: 25px;
    }

    .immo-v2-agent-info {
        flex-direction: column;
        gap: 15px;
    }

    .immo-v2-agent-img {
        width: 90px;
        height: 90px;
    }

    .immo-v2-footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .immo-v2-price {
        font-size: 22px;
    }

    .immo-v2-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .immo-v2-section {
        margin: 30px 10px;
        padding: 35px 0;
    }

    .immo-v2-container {
        padding: 0 10px;
    }

    .immo-v2-header h2 {
        font-size: 24px;
    }

    .immo-v2-header p {
        font-size: 15px;
    }

    .immo-v2-card-content {
        padding: 15px;
    }

    .immo-v2-card-title {
        font-size: 20px;
    }

    .immo-v2-footer {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .immo-v2-btn {
        width: 100%;
        justify-content: center;
    }

    .immo-v2-agent-details h4 {
        font-size: 20px;
    }

    .immo-v2-contact-btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
}
