@import url(https://fonts.googleapis.com/css?family=Oxygen:400,700);

/* GENERAL */

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Oxygen', Arial, Helvetica, sans-serif;
    background-color: white;
    scroll-behavior: smooth;
    color : black;
    width: 100vw;
}

.gy-6 {
    --bs-gutter-y : 4rem;
}

/* HEADER */
.logo_agence {
    width : 100vw;
    height : 200px;
    background-color : var(--background-header);
 }

.logo_agence img {
    height : 200px;
    width : auto;
}

.menu {
    text-decoration: none;
    height: 55px;
    line-height: 55px;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}

.menu ul li a {
    color : black;
}

.menu ul li a:hover {
    color: var(--color-primary);
    transition: 0.2s ease-in-out;
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--color-primary);
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row;
    gap: 30px;
    align-items: center;
}

.text-primary {
    color: var(--color-primary) !important;
}

.bg-primary {
    background-color: rgba(var(--color-primary-rgb), var(--bs-bg-opacity)) !important;
}

.bg-glass {
    background-color: rgba(0,0,0,.15) !important;
    backdrop-filter: blur(10px);
    font-weight: bold;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    border: var(--bs-btn-border-width) solid var(--btn-border-color);
}


.btn-primary:hover {
    box-shadow: 0 0.5rem 1rem rgba(var(--color-primary-rgb), 0.25);
    background-color: var(--color-primary);
}


/* RESET + BASE TYPOGRAPHIE */


a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: darken(var(--color-primary), 10%);
}

/* ==============================================
   🧭 HEADER / NAVBAR
   ============================================== */
header {
    background-color: var(--background-header);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: background-color var(--transition-slow);
}
.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
}
.nav-link {
    color: var(--color-text-dark);
    transition: color var(--transition-fast);
}
.nav-link:hover {
    color: var(--color-primary);
}

/* ==============================================
   🎯 HERO SECTION
   ============================================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero.h-40 {
    min-height: 40vh;
    height: 40vh;
}

/* Optionnel : léger overlay sombre pour le contraste */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

/* Wrapper du formulaire bloqué à droite */
.hero-form-wrapper {
    position: relative;
    z-index: 2;
    width: 40%;
    margin-right: 5%;
}
.hero-form-wrapper-fluid {
    position: relative;
    z-index: 2;
    width: 90%;
    margin-right: 5%;
}

/* Glassmorphism form */
.hero-form {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: var(--color-text-light);
}

.no-shadow {
    box-shadow: none;
}

.hero-form input,
.hero-form select {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    color: var(--color-text-dark);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.hero-form input:focus,
.hero-form select:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--color-primary);
    transform: translateY(-2px);
}

.hero-form .btn-custom {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: none;
    transition: all 0.25s ease;
}

.hero-form .btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}



.hero-text {
    position: relative;
    z-index: 2;
    width: 45%;
    margin-left: 5%;
    color: var(--color-text-light);
    text-align: left;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0.9;
    max-width: 90%;
}



/* ==============================================
   🏡 CARTES DE BIENS IMMOBILIERS
   ============================================== */
.property-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-radius: 2rem;
    padding: 2rem;
    //box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

/* Image ronde */
.property-image {
    flex: 0 0 60%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.property-image img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--color-primary), 0 8px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

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

/* Zone infos */
.property-info {
    flex: 1;
    color: var(--color-text-dark);
    background: var(--background-primary);
}

.property-type {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--color-text-dark);
}

.property-city {
    font-size: .95rem;
    color: var(--color-text-dark);
    margin-bottom: .25rem;
}

.property-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}

.btn-outline-custom {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
    width: 140px;
}

.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* Alternance gauche/droite */
.property-card.layout-right {
    flex-direction: row-reverse;
    text-align: right;
}

.property-card.layout-right .property-info {
    align-items: flex-end;
}



.lux-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    width: 80%;
    padding: 1rem 3rem;
    border-radius: 2rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    color: var(--color-text-dark);
    overflow: visible;
    transition: all 0.4s ease;
    z-index: 0;
}

.lux-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,0.25), rgba(255,255,255,0.05));
    z-index: -1;
}

.lux-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 50px rgba(0,0,0,0.18);
}

/* === IMAGE : RONDE, SURDIMENSIONNÉE, DÉBORDE EN HAUT ET EN BAS === */
.lux-image {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.lux-image img {
    width: 310px;
    height: 310px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(255,255,255,0.25), 0 10px 25px rgba(0,0,0,0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    /* débordement vertical */
    margin-top: -15%;
    margin-bottom: -15%;
}

.lux-card:hover .lux-image img {

    box-shadow: 0 0 0 8px var(--color-primary), 0 12px 30px rgba(0,0,0,0.25);
}

/* === ALTERNANCE GAUCHE / DROITE === */
.lux-card.layout-left .lux-image {
    left: -140px; /* moitié sort de la card */
}

.lux-card.layout-right .lux-image {
    right: -140px;
}

.lux-card.layout-right {
    flex-direction: row-reverse;
}

/* === CONTENU === */
.lux-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
    max-width: 60%;
    width: 60%;
    text-align: center;
    gap : 10px;
    align-items: center;
}

.lux-content svg {
    color: var(--color-primary);
}

.lux-type {
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.lux-city {
    margin-bottom: 0.25rem;
    font-weight: bold;
}

.lux-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-text-dark);
    margin-bottom: 1rem;
}



/* === BOUTON === */
.lux-btn {
    display: inline-block;
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.15);
    transition: all 0.3s ease;
}

.lux-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.icon-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

/* === RESPONSIVE === */
@media (max-width: 991px) {
    .lux-card {
        flex-direction: column !important;
        width: 90%;
        text-align: center;
        padding: 2rem;
    }

    .lux-image {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
        margin: 0 0 1rem 0;
    }

    .lux-image img {
        width: 200px;
        height: 200px;
        margin: 0;
    }

    .lux-content {
        max-width: 100%;
    }
}


/* ==============================================
   🎛️ BOUTONS
   ============================================== */
.btn-custom {
    border-radius: 9999px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all var(--transition-fast);
    border: none;
    background: var(--gradient-accent);
    color: #fff;
}
.btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-soft);
}

/* Variante Outline */
.btn-outline-custom {
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    border-radius: 9999px;
    font-weight: 600;
    transition: all var(--transition-fast);
}
.btn-outline-custom:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/* ==============================================
   🧱 SECTIONS GÉNÉRALES
   ============================================== */
.section {
    padding: 5rem 0;
}
.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ==============================================
   📦 FORMULAIRES (barre de recherche, contact)
   ============================================== */
.form-control {
    border-radius: var(--radius-soft);
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.25rem rgba(79, 70, 229, 0.15);
}

/* ==============================================
   💫 ANIMATIONS ET MICRO-INTERACTIONS
   ============================================== */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

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

/* Effet "lévitation" doux */
.hover-float {
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}
.hover-float:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

/* ==============================================
   🌙 MODE SOMBRE
   ============================================== */
@media (prefers-color-scheme: dark) {
    /*
    :root {
        --background-primary: #0f172a;
        --color-text-light: #f8fafc;
        --color-text-dark: #e2e8f0;
    }
    body {
        background-color: var(--background-primary);
        color: var(--color-text-light);
    }
    .card, .property-card {
        background-color: #1e293b;
        color: var(--color-text-light);
    }
    .btn-outline-custom {
        border-color: var(--color-text-light);
        color: var(--color-text-light);
    }
    .btn-outline-custom:hover {
        background-color: var(--color-primary);
        color: #fff;
    }

     */
}

/* ==============================================
    PAGE BIEN
   ============================================== */

.dpe2021 {
    display: flex;
    align-items: center;
}


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

.dpe2021 img {
    height : 250px;
    width : auto;
}

/* ==============================================
    PAGE CONTACT
   ============================================== */


.contact-form-wrapper-fluid {
    position: relative;
    z-index: 2;
    width: 70%;
    margin-right: 1%;
}

/* Glassmorphism clair adapté au fond blanc */
.contact-form {
    background: rgba(255, 255, 255, 0.7); /* plus opaque */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05); /* bord légèrement gris */
    border-radius: 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); /* ombre douce */
    color: #333; /* texte plus lisible */
}

.no-shadow {
    box-shadow: none;
}

/* Champs de saisie */
.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: #333;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
    transform: translateY(-2px);
}

/* Label */
.contact-form label {
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

/* Bouton */
.contact-form .btn-custom {
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    border: none;
    transition: all 0.25s ease;
}

.contact-form .btn-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Espacement */
.contact-form .form-group {
    margin-bottom: 1rem;
}

/* ==============================================
    MENTIONS LEGALES
   ============================================== */

.mentions-legales h1 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-text-dark);
}

.mentions-legales .card {
    line-height: 1.7;
    color: var(--color-text-dark);
}

.mentions-legales hr {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}


/* ==============================================
    FOOTER
   ============================================== */

.footer {
    background-color: var(--color-primary);
    height : 6vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    gap: 1rem;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: var(--color-text-dark);
}

.byWinImmobilier {
    display : flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 1rem 0;
}

