/* ==========================================================================
   Variables & Reset (High-End Agency Style)
   ========================================================================== */
:root {
    /* Charte Graphique AIQ */
    --color-primary: #2848dd; /* Bright Blue */
    --color-primary-hover: #1f2445; /* Dark Blue */
    --color-primary-light: #deefff; /* Light Ice Blue */
    --color-white: #ffffff;
    --color-light: #deefff; /* Light Ice Blue (for background waves) */
    --color-dark: #1f2445; /* Dark Blue from brand */
    --color-surface: #d7d8d8; /* Light Grey from brand */
    
    /* Couleurs de texte */
    --color-text-main: #334155; 
    --color-text-heading: #1f2445; /* Dark Blue */
    --color-text-muted: #64748B; 
    
    /* Typographie */
    --font-heading: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Roboto', system-ui, sans-serif;
    
    /* Espacements (Massive Whitespace) */
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: clamp(4rem, 8vh, 6rem);
    --spacing-xl: clamp(6rem, 12vh, 10rem);
    
    /* Divers */
    --border-radius-sm: 0.75rem;
    --border-radius: 1.5rem; /* 24px - Double-Bezel inner */
    --border-radius-lg: 2rem; /* 32px - Double-Bezel outer */
    
    /* Ombres (Ultra-douces, diffuses, premium) */
    --shadow-sm: 0 2px 8px -2px rgba(2, 6, 23, 0.05);
    --shadow: 0 10px 30px -5px rgba(2, 6, 23, 0.05), 0 4px 10px -5px rgba(2, 6, 23, 0.02);
    --shadow-lg: 0 20px 40px -10px rgba(2, 6, 23, 0.08), 0 10px 20px -10px rgba(2, 6, 23, 0.04);
    --shadow-xl: 0 30px 60px -15px rgba(26, 86, 219, 0.15), 0 15px 30px -15px rgba(26, 86, 219, 0.1);
    
    /* Transitions (Physics-based) */
    --transition-fluid: all 0.7s cubic-bezier(0.32, 0.72, 0, 1);
    --transition-fast: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Typographie & Utilitaires
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-text-heading);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.03em; /* Plus serré pour un look premium */
}

h1 { 
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Taille contrôlée pour tenir sur 2 lignes */
    margin-bottom: 1.5rem; 
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3rem); 
    margin-bottom: 1.5rem; 
    letter-spacing: -0.02em;
}

h3 { 
    font-size: 1.5rem; 
    margin-bottom: 1rem; 
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem; /* Texte de base plus grand et lisible */
    color: var(--color-text-main);
    line-height: 1.7;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

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

.container {
    width: 100%;
    max-width: 1600px; /* Élargi pour les grands écrans (32 pouces) */
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 6rem); /* Padding dynamique : moins sur grand écran, plus sur petit */
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

.bg-light {
    background-color: var(--color-light);
}

.bg-primary {
    background: linear-gradient(to bottom, var(--color-primary) 0%, #2563EB 100%);
    color: rgba(255, 255, 255, 0.85);
}

.bg-primary h1, .bg-primary h2, .bg-primary h3, .bg-primary .section-title {
    color: var(--color-white);
}

.bg-primary p, .bg-primary span, .bg-primary .subtitle {
    color: rgba(255, 255, 255, 0.85);
}

/* Glassmorphism pour les éléments dans les sections bleues */
.bg-primary .step,
.bg-primary .property-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.bg-primary .step:hover,
.bg-primary .property-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.bg-primary .step-number {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-white);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.bg-primary .step::before {
    color: rgba(255, 255, 255, 0.03);
}

.bg-primary .property-icon {
    background: rgba(255, 255, 255, 0.15);
}

.bg-primary .property-icon svg {
    color: var(--color-white);
}

/* Garder le formulaire lisible */
.bg-primary .form-wrapper h2,
.bg-primary .form-wrapper label {
    color: var(--color-text-heading);
}
.bg-primary .form-wrapper p {
    color: var(--color-text-muted);
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-medium { margin-top: var(--spacing-md); }
.mt-large { margin-top: var(--spacing-lg); }
.mb-medium { margin-bottom: var(--spacing-md); }
.mb-large { margin-bottom: var(--spacing-lg); }

.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }

/* Le mot "rapide" mis en évidence */
.highlight {
    color: var(--color-primary);
    font-weight: 800;
}

/* CTA mobile cache sur desktop */
.mobile-cta {
    display: none;
}

/* ==========================================================================
   Boutons (CTA) - Style Éditorial Haut de Gamme
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 0.5rem; /* Coins légèrement arrondis, plus sérieux */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    border: none;
    font-size: 1.05rem;
    font-family: var(--font-body);
    width: 100%;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .btn {
        width: auto;
    }
}

.btn-primary {
    background-color: var(--color-primary); /* Couleur unie, pas de dégradé */
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(26, 86, 219, 0.2);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--color-white); /* Force le texte en blanc pour éviter le conflit avec a:hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 86, 219, 0.3);
}

/* Icône simple et élégante */
.btn-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.btn-icon-wrapper svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon-wrapper {
    transform: translateX(4px); /* L'icône glisse vers la droite au survol */
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
}

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    width: 100%;
    max-width: 380px;
}

.btn-block {
    display: flex;
    width: 100%;
    max-width: none;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent; /* Transparent au top */
    box-shadow: none;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: var(--color-primary);
    box-shadow: var(--shadow-sm);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.main-nav a {
    color: var(--color-white); /* Liens en blanc par défaut */
    font-weight: 600;
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--color-primary);
}

.header-phone {
    color: rgba(255, 255, 255, 0.9); /* En blanc car il est sur la bulle bleue */
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
}

.header-phone:hover {
    color: var(--color-white);
}

/* Couleurs en blanc quand le header est scrollé (fond bleu) */
.site-header.scrolled .main-nav a,
.site-header.scrolled .header-phone {
    color: rgba(255, 255, 255, 0.9);
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .header-phone:hover {
    color: var(--color-white);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-white); /* Hamburger blanc par défaut */
    margin-bottom: 6px;
    border-radius: 2px;
    transition: 0.3s;
}

.site-header.scrolled .mobile-menu-toggle span {
    background-color: var(--color-white); /* Hamburger blanc au scroll */
}

/* Bouton CTA Header - Inversé pour le fond bleu */
.header-cta {
    background-color: var(--color-white);
    color: var(--color-primary);
}
.header-cta:hover {
    background-color: var(--color-light);
    color: var(--color-primary-hover);
}

/* ==========================================================================
   Hero Section (High-End Asymmetrical)
   ========================================================================== */
/* ==========================================================================
   Hero Section (Charte Graphique AIQ)
   ========================================================================== */
.brand-hero {
    padding-top: 120px; /* Espace pour le header fixe transparent */
    padding-bottom: 120px; /* Espace pour la barre en bas */
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--color-dark);
    position: relative;
    /* overflow: hidden retiré pour permettre à la barre de flotter par-dessus la section suivante */
}

.hero-bg-bw {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-bg-bw::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0) 70%);
    z-index: 1;
}

.brand-hero .hero-container {
    position: relative;
    z-index: 30;
}

.brand-hero .hero-content {
    max-width: 1000px;
    padding: 2rem 0 4rem 0; /* Plus d'espace en bas pour éviter la vague */
}

.brand-title {
    font-size: clamp(1.5rem, 2.8vw, 2.8rem);
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.brand-box-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.1em 0.4em;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.brand-subtitle {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

.brand-box-dark {
    background-color: var(--color-white);
    color: var(--color-dark);
    padding: 0.2rem 0.6rem;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.brand-hook {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: var(--font-heading);
    line-height: 1.8;
}

.brand-box-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    padding: 0.2rem 0.6rem;
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Bouton Charte - Assorti au reste du site */
.brand-hero .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary);
    max-width: 450px; /* Assez large pour rester sur une seule ligne */
    font-weight: 700;
}

.brand-hero .btn-primary:hover {
    background-color: var(--color-light);
    color: var(--color-primary-hover);
}

/* Utilities */
.relative { position: relative; }
.z-10 { z-index: 10; }
.z-30 { z-index: 30; }
.uppercase { text-transform: uppercase; }

/* Bande bleue en bas du hero (Full width, premium) */
.hero-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(40, 72, 221, 0.95); /* var(--color-primary) avec légère transparence */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 0;
    z-index: 40;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.1);
}

.hero-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-bar-logo img {
    height: 45px;
    width: auto;
}

.hero-bar-contact {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.hero-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: color 0.3s ease;
}

.hero-bar-item:hover {
    color: var(--color-light);
}

.hero-bar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    border-radius: 50%;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.hero-bar-icon svg {
    width: 18px;
    height: 18px;
}

@media (max-width: 992px) {
    .hero-bottom-bar {
        padding: 1.5rem 0;
    }
    .hero-bar-container {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .hero-bar-contact {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 768px) {
    .hero-bar-item {
        font-size: 1.05rem;
    }
    .hero-bar-logo img {
        height: 55px;
    }
}

/* Animations Premium */
@keyframes float-house {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Badges Flottants (Style Agence) */
.floating-badge {
    --badge-scale: 1;
    position: absolute;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0.875rem 1.25rem;
    border-radius: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.875rem;
    box-shadow: 0 15px 35px rgba(2, 6, 23, 0.1);
    z-index: 2;
    animation: float-badge 6s ease-in-out infinite;
}

@media (min-width: 992px) {
    .floating-badge {
        --badge-scale: 0.9; 
    }
    .badge-top-left {
        top: 15%;
        left: 5%; 
    }
    .badge-bottom-right {
        bottom: 35%; /* Remonté pour ne pas toucher le sol */
        right: 0%; 
    }
}

.badge-top-left {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: 30%;
    right: -5%;
    animation-delay: 1.5s; /* Décalage pour ne pas flotter en même temps */
}

.floating-badge .badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.floating-badge .badge-icon svg {
    width: 18px;
    height: 18px;
}

.bg-green-light { background-color: #ECFDF5; }
.text-green { color: #059669; }

.bg-blue-light { background-color: var(--color-primary-light); }
.text-blue { color: var(--color-primary); }

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text-heading);
    line-height: 1.2;
}

.badge-desc {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

@keyframes float-badge {
    0% { transform: scale(var(--badge-scale)) translateY(0px) rotate(0deg); }
    50% { transform: scale(var(--badge-scale)) translateY(-10px) rotate(1deg); }
    100% { transform: scale(var(--badge-scale)) translateY(0px) rotate(0deg); }
}

@media (max-width: 768px) {
    .floating-badge {
        --badge-scale: 0.75; /* Plus petit sur mobile */
    }
    
    .badge-top-left {
        top: -5%;
        left: -5%;
    }
    
    .badge-bottom-right {
        bottom: 25%;
        right: -5%;
    }
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 50%, #93C5FD 100%);
    border-radius: var(--border-radius); /* Rayon interne plus petit */
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.5); /* Highlight interne */
    overflow: hidden;
}

.image-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.4;
}

/* ==========================================================================
   Wave Dividers (Alternating)
   ========================================================================== */
.section-with-wave {
    position: relative;
    padding-bottom: calc(var(--spacing-xl) + 40px);
}

.shape-divider-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.shape-divider-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
    transform: rotate(180deg);
}

.shape-divider-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    z-index: 2;
}

.shape-divider-top svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* Alternance de la direction de la vague pour un effet naturel */
.bg-primary .shape-divider-bottom svg {
    transform: rotate(180deg);
}

.wave-flip .shape-divider-bottom svg {
    transform: rotate(180deg) scaleX(-1);
}

.shape-fill-white {
    fill: var(--color-white);
}

.shape-fill-light {
    fill: var(--color-light);
}

.shape-fill-primary {
    fill: var(--color-primary);
}

.shape-fill-primary-bottom {
    fill: #2563EB; /* Correspond à la fin du dégradé de .bg-primary */
}

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p.subtitle {
    font-size: 1.25rem;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Cards (Pourquoi nous) - Style Manus avec Photos
   ========================================================================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 30px rgba(26, 86, 219, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    text-align: left;
    transition: var(--transition-fluid);
    border: 1px solid rgba(255, 255, 255, 0.8);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(26, 86, 219, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    border-color: #FFFFFF;
}

.card-img-top {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    background: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 500;
    overflow: hidden;
}

/* Garder le degrade bleu seulement pour les cards sans image (SVG placeholder) */
.card-img-top:has(svg) {
    background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 50%, #93C5FD 100%);
}

.card-img-top svg {
    width: 48px;
    height: 48px;
    opacity: 0.4;
}

.card-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.card-body {
    padding: 1rem 2rem 2rem;
    flex-grow: 1;
}

.card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.card p {
    color: var(--color-text-muted);
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
}

/* ==========================================================================
   Situations
   ========================================================================== */
.situations-editorial {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    padding: clamp(3rem, 5vw, 5rem) 0; /* On garde juste un peu de padding vertical */
}

@media (min-width: 992px) {
    .situations-editorial {
        grid-template-columns: 4fr 6fr;
        gap: 6rem;
    }
}

.situations-intro .section-title {
    margin-bottom: 1.5rem;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    text-align: left;
}

.situations-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.situations-desc strong {
    color: var(--color-primary);
    display: block;
    margin-top: 0.5rem;
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.situation-item {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 15px rgba(26, 86, 219, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition-fast);
}

.situation-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(26, 86, 219, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    border-color: #FFFFFF;
}

.situation-icon {
    width: 40px;
    height: 40px;
    background: #ECFDF5; /* Vert émeraude très clair */
    color: #059669; /* Vert émeraude premium */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.situation-icon svg {
    width: 20px;
    height: 20px;
}

.situation-item span {
    font-weight: 600;
    color: var(--color-text-heading);
    font-size: 1.05rem;
    line-height: 1.4;
}

/* ==========================================================================
   Types de proprietes
   ========================================================================== */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.property-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.property-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.property-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary-light);
    border-radius: 0.5rem;
    padding: 0.5rem;
}

.property-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-primary);
}

.property-item span {
    font-weight: 600;
    color: var(--color-text-heading);
    font-size: 1.05rem;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-heading);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    outline: none;
}

.faq-question::after {
    content: '+';
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    display: inline-block;
    line-height: 1;
}

.faq-item.is-open .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer-wrapper {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.faq-item.is-open .faq-answer-wrapper {
    grid-template-rows: 1fr;
}

.faq-answer {
    overflow: hidden;
    padding: 0 2rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-answer {
    padding-bottom: 1.5rem;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Processus
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    position: relative;
    padding-top: 1rem;
}

@media (min-width: 992px) {
    .process-steps::before {
        content: '';
        position: absolute;
        top: 5.5rem;
        left: 5%;
        right: 5%;
        height: 3px;
        background: linear-gradient(90deg, transparent, var(--color-primary) 20%, var(--color-primary) 80%, transparent);
        z-index: 0;
        opacity: 0.15;
    }
}

.step {
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    text-align: left;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(26, 86, 219, 0.15);
    border-top: 6px solid var(--color-primary);
    box-shadow: 0 20px 40px -10px rgba(26, 86, 219, 0.12);
    transition: var(--transition-fluid);
    overflow: hidden;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(26, 86, 219, 0.2);
    border-color: rgba(26, 86, 219, 0.3);
}

/* Filigrane géant du numéro en arrière-plan */
.step::before {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 12rem;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--color-light);
    z-index: 0;
    opacity: 0.6;
    transition: var(--transition-fluid);
    line-height: 1;
}

.step:nth-child(1)::before { content: '1'; }
.step:nth-child(2)::before { content: '2'; }
.step:nth-child(3)::before { content: '3'; }

.step:hover::before {
    color: var(--color-primary-light);
    transform: scale(1.05) rotate(-5deg);
}

.step-number {
    width: 64px;
    height: 64px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    box-shadow: inset 0 0 0 1px rgba(26, 86, 219, 0.1);
}

.step h3, .step p {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Formulaire
   ========================================================================== */
.form-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.form-content-side {
    padding: 4rem 3rem;
}

.form-image-side {
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    /* Ici tu pourras mettre ton image en background-image ou avec une balise img */
    background-size: cover;
    background-position: center;
}

.image-placeholder-box {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-placeholder-box svg {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-text-heading);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: var(--color-white);
    color: var(--color-text-heading);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px var(--color-primary-light);
}

.select-wrapper {
    position: relative;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 0.8rem;
    color: var(--color-text-muted);
}

.form-group select {
    appearance: none;
    padding-right: 3rem;
}

.btn-submit {
    margin-top: 1rem;
    font-size: 1.125rem;
    padding: 1.25rem;
    border-radius: var(--border-radius);
}

.form-mentions {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.form-feedback {
    margin-top: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.95rem;
    text-align: center;
}

.form-feedback--success {
    background-color: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-feedback--error {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.form-feedback--error a {
    color: #991b1b;
    font-weight: 600;
}

/* ==========================================================================
   Vidéo
   ========================================================================== */
.video-wrapper {
    max-width: 768px; /* Réduit pour ne pas prendre tout l'écran sur desktop */
    margin: 0 auto;
    position: relative;
    aspect-ratio: 16 / 9; /* Remplace le vieux hack du padding-bottom */
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(0,0,0,0.05);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-primary-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.25rem;
}

.video-placeholder svg {
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* ==========================================================================
   Blog Cards
   ========================================================================== */
.blog-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-card-image {
    height: 240px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-image svg {
    width: 48px;
    height: 48px;
    opacity: 0.3;
    color: var(--color-primary);
}

.blog-card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.875rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    line-height: 1.3;
}

.blog-card p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    flex-grow: 1;
}

.read-more {
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    font-size: 1rem;
}

.read-more:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Success Section (Sans pression)
   ========================================================================== */
.success-section {
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
    background-color: var(--color-dark);
}

.success-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
}

.success-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(31, 36, 69, 0.95) 0%, rgba(31, 36, 69, 0.8) 45%, rgba(31, 36, 69, 0.1) 100%);
    z-index: 1;
}

.success-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    text-align: left;
}

.success-content .section-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.success-content .subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .success-bg::after {
        background: linear-gradient(to bottom, rgba(31, 36, 69, 0.6) 0%, rgba(31, 36, 69, 0.95) 80%);
    }
    .success-content {
        text-align: center;
        margin: 0 auto;
        padding-top: 150px; /* Pousse le texte vers le bas pour montrer la maison sur mobile */
    }
}

/* ==========================================================================
   Modal (Popup Success)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    animation: fadeIn 0.3s forwards;
}

.modal-content {
    background: var(--color-white);
    border-radius: 1.5rem;
    padding: 3rem 2.5rem;
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.modal-close:hover {
    color: var(--color-text-heading);
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 0 10px rgba(209, 250, 229, 0.5);
}

.modal-icon svg {
    width: 40px;
    height: 40px;
}

.modal-content h3 {
    font-size: 1.75rem;
    color: var(--color-text-heading);
    margin-bottom: 1rem;
}

.modal-content p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.modal-content strong {
    color: var(--color-primary);
}

.modal-content .btn {
    margin-top: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: linear-gradient(to bottom, var(--color-primary) 0%, #2563EB 100%);
    color: rgba(255, 255, 255, 0.85);
    padding-top: var(--spacing-xl);
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-logo-img {
    height: 130px;
    width: auto;
    margin-bottom: 1.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.125rem;
    max-width: 300px;
}

.footer-tagline .highlight {
    color: #93c5fd;
}

.footer-contact h3,
.footer-links h3 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    font-family: var(--font-heading);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-contact a:hover {
    color: var(--color-white);
}

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

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--color-white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 2rem 0;
    text-align: center;
    color: #FFFFFF;
    font-size: 0.95rem;
}

.footer-bottom p {
    color: #FFFFFF !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        display: flex;
        flex-direction: column-reverse; /* Met l'image en premier, puis le texte */
        text-align: center;
        gap: 3rem;
        padding-top: 1rem;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-bg .blob-1 {
        width: 100vw;
        height: 100vw;
        top: -20%;
        left: -20%;
    }
    
    .badges-container {
        justify-content: center;
    }
    
    .hero .subtitle {
        margin: 0 auto 1.5rem;
    }
    
    .check-list {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .header-cta.desktop-only {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-primary);
        box-shadow: var(--shadow-lg);
        padding: 1.5rem;
        display: none;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .main-nav a {
        display: block;
        padding: 0.5rem;
        font-size: 1.125rem;
    }

    /* CTA dans le menu mobile */
    .main-nav .mobile-cta {
        display: block;
        margin-top: 1rem;
        padding: 1rem;
        background-color: var(--color-white);
        color: var(--color-primary);
        border-radius: var(--border-radius);
        font-weight: 700;
        text-align: center;
        font-size: 1.125rem;
    }
    
    .situations-editorial {
        padding: 2.5rem 1.5rem;
    }
    
    .form-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-image-side {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .form-content-side {
        padding: 2.5rem 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .footer-tagline {
        margin: 0 auto;
    }
}

/* ==========================================================================
   Overrides for .bg-primary sections (Glassmorphism & Contrast Fixes)
   ========================================================================== */
.bg-primary .section-title,
.bg-primary h1, .bg-primary h2, .bg-primary h3,
.bg-primary .property-item span,
.bg-primary .step h3,
.bg-primary .step p,
.bg-primary .faq-question,
.bg-primary .faq-answer,
.bg-primary .subtitle,
.bg-primary p {
    color: #FFFFFF !important;
}

.bg-primary .faq-question::after {
    color: #FFFFFF !important;
}

.bg-primary .property-icon {
    background: rgba(255, 255, 255, 0.15) !important;
}
.bg-primary .property-icon svg {
    color: #FFFFFF !important;
}

.bg-primary .step,
.bg-primary .property-item,
.bg-primary .faq-item {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
    transition: height 0.3s cubic-bezier(0.25, 1, 0.5, 1), transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.bg-primary .step:hover,
.bg-primary .property-item:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
}

.bg-primary .step-number {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
}

.bg-primary .step::before {
    color: rgba(255, 255, 255, 0.05) !important;
}

/* Boutons dans les sections bleues */
.bg-primary .btn-primary {
    background-color: var(--color-white);
    color: var(--color-primary) !important;
}

.bg-primary .btn-primary span {
    color: var(--color-primary) !important;
}

.bg-primary .btn-primary:hover {
    background-color: var(--color-light);
    color: var(--color-primary-hover) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.bg-primary .btn-primary:hover span {
    color: var(--color-primary-hover) !important;
}
.bg-primary .form-wrapper {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}
.bg-primary .form-wrapper h2,
.bg-primary .form-wrapper label {
    color: #FFFFFF !important;
}
.bg-primary .form-wrapper p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Style des inputs pour le glassmorphism */
.bg-primary .form-group input,
.bg-primary .form-group select,
.bg-primary .form-group textarea {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(10px);
}
.bg-primary .form-group input::placeholder,
.bg-primary .form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6) !important;
}
.bg-primary .form-group input:focus,
.bg-primary .form-group select:focus,
.bg-primary .form-group textarea:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #FFFFFF !important;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.1) !important;
    outline: none !important;
}

/* Fix pour l'icône du select */
.bg-primary .select-wrapper::after {
    color: rgba(255, 255, 255, 0.8) !important;
}
