/* ============================================
   FRIENDLY – PROMOTION IMMOBILIÈRE
   Charte graphique inspirée du logo
   ============================================ */

/* ---- VARIABLES ---- */
:root {
    --navy: #1a1f5e;
    --navy-dark: #0f1340;
    --navy-light: #2d3480;
    --gold: #c9a227;
    --gold-light: #e8c457;
    --gold-dark: #a07b10;
    --white: #ffffff;
    --off-white: #f8f7f3;
    --light-gray: #f2f2f2;
    --mid-gray: #888;
    --dark-text: #1a1a2e;
    --shadow: 0 8px 40px rgba(26, 31, 94, 0.15);
    --shadow-lg: 0 20px 60px rgba(26, 31, 94, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
    --transition: 0.35s cubic-bezier(.4, 0, .2, 1);

    /* Nouvelles variables Glassmorphism & Ombrages */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 12px 32px rgba(10, 12, 50, 0.08);
    --gold-glow: 0 8px 25px rgba(201, 162, 39, 0.35);

    /* Font families */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', sans-serif;
}

/* ---- RESET & BASE ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-text);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---- BACKGROUND BLOBS ---- */
.bg-blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.blob-gold {
    background: var(--gold);
    opacity: 0.15;
}

.blob-navy {
    background: var(--navy);
    opacity: 0.08;
}

.section {
    position: relative;
    overflow: hidden;
}

.section .container {
    position: relative;
    z-index: 1;
}

/* ---- UTILITY ---- */
.gold {
    color: var(--gold);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 96px 0;
}

.section-dark {
    background: var(--navy-dark);
    color: var(--white);
}

.section-dark .section-sub {
    color: rgba(255, 255, 255, 0.65);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(201, 162, 39, 0.12);
    padding: 6px 18px;
    border-radius: 100px;
    margin-bottom: 14px;
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--mid-gray);
    max-width: 580px;
    margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: var(--gold-glow);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 40px rgba(201, 162, 39, 0.5);
}

.btn-primary.full-width {
    width: 100%;
    justify-content: center;
}

.btn-primary.small {
    padding: 10px 22px;
    font-size: 0.88rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 2px solid var(--gold);
    color: var(--gold);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--gold);
    color: var(--white);
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 22px;
    background: #25d366;
    color: var(--white);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

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

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 22px 0;
    transition: padding 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 30px rgba(10, 12, 50, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

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

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
}

.nav-link {
    color: var(--navy);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link.active {
    color: var(--gold);
}

.nav-link.nav-cta {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    margin-left: 8px;
}

.nav-link.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px 24px;
        box-shadow: 0 8px 30px rgba(10, 12, 50, 0.12);
        gap: 4px;
        z-index: 999;
    }

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

    .nav-menu li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 12px 16px;
        border-radius: 8px;
        width: 100%;
    }

    .nav-link.nav-cta {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
        justify-content: center;
    }

    .navbar {
        position: relative;
    }

    .nav-container {
        flex-wrap: wrap;
        position: relative;
    }
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
}

.hero-swiper,
.hero-slide {
    height: 100%;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 12, 50, 0.82) 0%, rgba(10, 12, 50, 0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    animation: heroIn 0.8s ease both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 162, 39, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 36px;
    font-weight: 300;
    letter-spacing: 0.05em;
}

/* Hero Swiper customization */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: var(--white);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(8px);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 16px;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: var(--gold);
    border-color: var(--gold);
}

.hero-swiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;
    width: 8px;
    height: 8px;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* Hero Stats Bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(10, 12, 50, 0.9);
    backdrop-filter: blur(16px);
    border-top: 2px solid var(--gold);
    padding: 20px 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 48px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* ============================================
   PROJET SECTION
   ============================================ */
.projet-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.projet-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.projet-image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.image-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.projet-info h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.projet-info>p {
    color: var(--mid-gray);
    margin-bottom: 32px;
    font-size: 1.02rem;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 32px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.info-card:hover {
    transform: translateX(6px) translateY(-3px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--glass-shadow);
}

.info-card i {
    font-size: 1.1rem;
    color: var(--gold);
    width: 20px;
    text-align: center;
}

.info-card strong {
    display: block;
    font-size: 0.78rem;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.info-card span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
}

.equipements h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--mid-gray);
    margin-bottom: 12px;
}

.equip-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.equip-tags span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: rgba(26, 31, 94, 0.06);
    border: 1px solid rgba(26, 31, 94, 0.15);
    border-radius: 50px;
    font-size: 0.84rem;
    color: var(--navy);
    font-weight: 500;
    transition: var(--transition);
}

.equip-tags span i {
    color: var(--gold);
}

.equip-tags span:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

/* ============================================
   PLANS
   ============================================ */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.plan-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
}

.plan-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(201, 162, 39, 0.15);
    border-color: rgba(201, 162, 39, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.plan-card.featured {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 0 40px rgba(201, 162, 39, 0.2);
}

.plan-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--navy-light);
    color: var(--white);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.gold-badge {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

.plan-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.plan-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.plan-card:hover .plan-image img {
    transform: scale(1.08);
}

.plan-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 31, 94, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.plan-overlay i {
    font-size: 2rem;
    color: var(--white);
}

.plan-card:hover .plan-overlay {
    opacity: 1;
}

.plan-details {
    padding: 24px;
}

.plan-details h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 12px;
}

.plan-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.plan-specs span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    background: rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 50px;
}

.plan-specs i {
    color: var(--gold);
}

.plan-details p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 20px;
}

/* ============================================
   MATÉRIAUX
   ============================================ */
.mat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.mat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.mat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--glass-shadow), 0 15px 40px rgba(201, 162, 39, 0.12);
    border-color: var(--gold-light);
    background: rgba(255, 255, 255, 0.9);
}

.mat-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    transition: var(--transition);
}

.mat-card:hover .mat-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
}

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

.mat-card h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--navy);
}

.mat-card p {
    font-size: 0.88rem;
    color: var(--mid-gray);
    margin-bottom: 16px;
    line-height: 1.6;
}

.mat-quality {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quality-bar {
    flex: 1;
    height: 5px;
    background: rgba(26, 31, 94, 0.1);
    border-radius: 3px;
    position: relative;
    overflow: hidden;
}

.quality-bar::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--w);
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 3px;
}

.mat-quality span {
    font-size: 0.75rem;
    color: var(--mid-gray);
    font-weight: 500;
    white-space: nowrap;
}

/* ============================================
   GALERIE (SIDE-BY-SIDE SLIDER)
   ============================================ */
.gallery-layout-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 80px;
    align-items: center;
    min-height: 400px;
    /* Ensure space for the slider */
}

.gallery-slider-side {
    width: 100%;
    min-width: 0;
    /* Fix for swiper in grid */
    overflow: hidden;
}

.gallery-swiper {
    padding-bottom: 50px !important;
}

.gallery-item-slide {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 16/10;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.gallery-item-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0, 0.2, 1);
}

.gallery-item-slide:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 12, 50, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.gallery-item-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    font-size: 2.5rem;
    color: var(--white);
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item-slide:hover .gallery-overlay i {
    transform: scale(1);
}

/* Side Text Styles */
.section-header.align-left {
    text-align: left;
    margin-bottom: 0;
}

.gallery-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 32px 0 40px;
}

.gal-feat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 500;
}

.gal-feat-item i {
    font-size: 1.1rem;
}

/* Gallery Swiper controls */
.gallery-next,
.gallery-prev {
    color: var(--gold) !important;
    background: var(--white);
    width: 48px !important;
    height: 48px !important;
    border-radius: 50%;
    box-shadow: var(--shadow);
    border: 1px solid rgba(201, 162, 39, 0.2);
    transition: var(--transition);
}

.gallery-next::after,
.gallery-prev::after {
    font-size: 16px !important;
    font-weight: 900;
}

.gallery-next:hover,
.gallery-prev:hover {
    background: var(--gold);
    color: var(--white) !important;
}

.gallery-pagination .swiper-pagination-bullet {
    background: var(--gold);
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
}

#lb-caption {
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
    font-size: 0.9rem;
}

.lb-close,
.lb-prev,
.lb-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.lb-close {
    top: 20px;
    right: 20px;
}

.lb-prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
    background: var(--gold);
    border-color: var(--gold);
}

/* ============================================
   VIDÉOS
   ============================================ */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.video-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(26, 31, 94, 0.08);
}

.video-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.video-thumb {
    position: relative;
    aspect-ratio: 16/9;
}

.video-thumb iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--navy);
}

.video-info p {
    font-size: 0.85rem;
    color: var(--mid-gray);
    margin-bottom: 10px;
}

.video-duration {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
}

.video-duration i {
    margin-right: 4px;
}

/* ============================================
   AVIS
   ============================================ */
.avis-swiper {
    padding-bottom: 48px !important;
}

.avis-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    margin: 8px;
}

.avis-card:hover {
    border-color: var(--gold);
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.avis-stars {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 18px;
    letter-spacing: 3px;
}

.avis-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 24px;
}

.avis-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.avis-author img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: cover;
}

.avis-author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.avis-author span {
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 500;
}

.avis-swiper .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
}

.avis-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
}

.contact-form-wrap {
    background: var(--off-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(26, 31, 94, 0.08);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(26, 31, 94, 0.15);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-cards {
    margin-bottom: 28px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px;
    margin-bottom: 12px;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--gold);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateX(4px);
    background: rgba(255, 255, 255, 0.9);
}

.contact-card i {
    font-size: 1.2rem;
    color: var(--gold);
    width: 24px;
    text-align: center;
}

.contact-card strong {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mid-gray);
    margin-bottom: 2px;
}

.contact-card span,
.contact-card a {
    font-size: 0.95rem;
    color: var(--navy);
    font-weight: 500;
}

.contact-card a:hover {
    color: var(--gold);
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 260px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--navy-dark);
    padding: 64px 0 0;
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    height: 60px;
    width: auto;
    margin-bottom: 16px;
    filter: brightness(1.1);
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

.footer-links h5 {
    color: var(--white);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 6px;
}

.footer-contact h5 {
    color: var(--white);
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: inline-block;
}

.footer-contact .btn-primary,
.footer-contact .btn-whatsapp {
    display: flex;
    margin-bottom: 12px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   FLOATING ICONS
   ============================================ */
.floating-icons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
    transition: var(--transition);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.float-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.float-icon.whatsapp {
    background: #25d366;
}

.float-icon.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.float-icon.facebook {
    background: #1877f2;
}

.float-call {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 900;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    display: none;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(201, 162, 39, 0.45);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(201, 162, 39, 0.45);
    }

    50% {
        box-shadow: 0 8px 50px rgba(201, 162, 39, 0.7);
    }
}

/* TOAST */
.toast {
    position: fixed;
    bottom: 32px;
    right: 32px;
    background: var(--navy);
    color: var(--white);
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 500;
    border-left: 4px solid var(--gold);
    z-index: 9999;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
    .mat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 900px) {
    .projet-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .plans-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .videos-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .mat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item.large {
        grid-column: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

    .hero-stats {
        display: none;
    }

    .gallery-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .gallery-text-side {
        order: -1;
        /* Text on top for mobile */
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        padding: 80px 32px;
        transition: right 0.35s ease;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 12px 16px;
    }

    .nav-link.nav-cta {
        width: 100%;
        text-align: center;
        margin: 8px 0 0;
    }

    .section {
        padding: 64px 0;
    }

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

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrap {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .float-call {
        display: flex;
    }

    .floating-icons {
        right: 12px;
    }

    .float-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mat-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }

    .stat-item {
        padding: 0 20px;
    }

    .stat-num {
        font-size: 1.5rem;
    }
}

/* ---- PROJET MINI SLIDER ---- */
.projet-mini-swiper {
    width: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding-bottom: 40px !important;
}

.projet-mini-swiper .swiper-slide {
    border-radius: var(--radius);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.projet-mini-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.projet-mini-swiper .swiper-slide:hover img {
    transform: scale(1.05);
}

.projet-mini-swiper .swiper-slide-active {
    box-shadow: 0 12px 40px rgba(26, 31, 94, 0.25);
}

.projet-mini-swiper .swiper-button-next,
.projet-mini-swiper .swiper-button-prev {
    color: var(--gold);
    background: rgba(255, 255, 255, 0.9);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.projet-mini-swiper .swiper-button-next::after,
.projet-mini-swiper .swiper-button-prev::after {
    font-size: 1rem;
    font-weight: bold;
}

.projet-mini-swiper .swiper-pagination-bullet-active {
    background: var(--gold);
}

@media (max-width: 640px) {
    .projet-mini-swiper .swiper-slide {
        height: 200px;
    }
}

/* ============================================
   PWA INSTALL PROMPT
   ============================================ */
.pwa-prompt {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 10000;
    padding: 16px;
    width: 90%;
    max-width: 420px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.pwa-prompt.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.pwa-prompt-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pwa-icon {
    width: 54px;
    height: 54px;
    object-fit: contain;
    background: var(--navy-dark);
    border-radius: 12px;
    padding: 8px;
}

.pwa-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pwa-text strong {
    font-size: 0.95rem;
    color: var(--navy);
    margin-bottom: 4px;
}

.pwa-text span {
    font-size: 0.8rem;
    color: var(--mid-gray);
    line-height: 1.3;
}

.pwa-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.pwa-actions .btn-primary.small {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.pwa-actions .btn-outline {
    background: transparent;
    border: 1px solid rgba(26, 31, 94, 0.2);
    color: var(--navy);
    padding: 8px;
    font-size: 0.75rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pwa-actions .btn-outline:hover {
    background: rgba(26, 31, 94, 0.05);
}

/* ============================================
   LOCALISATION SECTION
   ============================================ */
.localisation-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.localisation-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 2px solid rgba(201, 162, 39, 0.25);
    aspect-ratio: 16/10;
}

.localisation-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.localisation-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loc-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.loc-card:hover {
    transform: translateX(6px) translateY(-3px);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--glass-shadow);
}

.loc-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    flex-shrink: 0;
}

.loc-icon i {
    color: var(--white);
    font-size: 1rem;
}

.loc-card strong {
    display: block;
    font-size: 0.82rem;
    color: var(--mid-gray);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.loc-card span {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
}

@media (max-width: 768px) {
    .localisation-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .localisation-map {
        aspect-ratio: 16/9;
    }
}

/* --- Project Visual Features (Icon Row) --- */
.projet-visual-features {
    display: flex;
    justify-content: flex-start;
    gap: 45px;
    margin-top: 35px;
    padding-top: 30px;
    border-top: 1px solid rgba(26, 31, 94, 0.1);
    flex-wrap: wrap;
}

.visual-feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s ease;
}

.visual-feature-item:hover {
    transform: translateY(-5px);
}

.visual-icon {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 2.2rem;
    opacity: 0.9;
}

.visual-tag {
    position: absolute;
    bottom: 5px;
    right: -5px;
    background: var(--gold);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.visual-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--navy);
    position: relative;
}

.visual-number::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 15px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

@media (max-width: 576px) {
    .projet-visual-features {
        gap: 25px;
        justify-content: center;
    }

    .visual-icon {
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
    }

    .visual-number {
        font-size: 1rem;
    }
}

/* --- Plans Advanced Filtering --- */
.plans-filter-bar {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    border: 1px solid rgba(26, 31, 94, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 180px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--navy);
    transition: all 0.3s ease;
    background-color: #f8fafc;
}

.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-disponible {
    background: #e6f7ef;
    color: #10b981;
}

.status-vendu {
    background: #fee2e2;
    color: #ef4444;
}

/* --- Plans List View --- */
.plans-list-header {
    display: grid;
    grid-template-columns: 100px 100px 150px 120px 150px 1fr;
    background: var(--navy);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 8px 8px 0 0;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.plans-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-card {
    display: grid;
    grid-template-columns: 100px 100px 150px 120px 150px 1fr;
    align-items: center;
    background: var(--white);
    padding: 12px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(26, 31, 94, 0.03);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.plan-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(26, 31, 94, 0.08);
    border-left-color: var(--gold);
}

.plan-card .list-ref {
    font-weight: 800;
    color: var(--navy);
}

.plan-card .list-type {
    font-weight: 600;
    color: var(--gold);
}

.plan-card .list-etage {
    color: #64748b;
    font-size: 0.9rem;
}

.plan-card .list-surface {
    font-weight: 700;
    color: var(--navy);
}

.plan-card .btn-pdf-small {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.plan-card .btn-pdf-small:hover {
    background: #ef4444;
    color: var(--white);
}

.plan-card.vendu {
    opacity: 0.6;
    background: #f8fafc;
}

.plan-card.vendu .list-ref {
    text-decoration: line-through;
}

/* Mobile adjustments for list view */
@media (max-width: 992px) {
    .plans-list-header {
        display: none;
    }

    .plan-card {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 20px;
    }

    .plan-card .btn-pdf-small {
        grid-column: span 2;
        justify-self: stretch;
        justify-content: center;
        padding: 12px;
    }
}

.plan-card .list-status .status-badge {
    position: static;
    margin: 0;
    white-space: nowrap;
    display: inline-block;
}

.plans-grid {
    border-top: 1px solid rgba(26, 31, 94, 0.05);
}

.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    background: #f8fafc;
    border-radius: var(--radius);
    border: 2px dashed #e2e8f0;
    display: none;
}

@media (max-width: 768px) {
    .plans-filter-bar {
        padding: 15px;
        gap: 15px;
    }

    .filter-group {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 480px) {
    .filter-group {
        min-width: 100%;
    }
}