Body{
    background-color: black;
    width: 100vw;
    overflow-x: hidden;
}
header{
    width: 100%;
    display: block;
    flex-wrap: wrap;
    position: fixed;
    z-index: 10000 !important;
    height: 10%;
    padding: 40px 0%;
    top: 0%;
    left: 0%;
}
#header{
    background: radial-gradient(circle at 50% 60%, black   100%); 
    position: fixed;
    height: 29px;
}
#logo{
    cursor: pointer;
    display: flex;
    align-items: center;
}
#logo img{
    border-radius: 20%;
    cursor: pointer;
    display: flex;
    position: relative;
    top: -50px;
}
#logo p{
    color: white;
    font-size: 40px;
    position: relative;
    top: -50px;
    left: 0.1%;
}
#logo span{
    color: goldenrod;
}
nav{
    display: flex;
    gap: 50px;
    position: relative;
    left: 43%;
    top: -125px;
    height: 100%;
    align-items: center;
    z-index: 10000 !important;
}
nav a{
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
nav a:hover{
    color: goldenrod;
    transition: 0.8s;
}
nav button{
    background-color: goldenrod;
    cursor: pointer;
    width: 150px;
    height: 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: none;
    font-size: 17px;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-top: -10px;
    margin-left: 30px;
}
nav .connect{
    color: black;
}
nav .connect:hover{
    color: black;
}
.account-created{
    display: none;
    position: relative;
    right: 20px;
}
.account-created button{
    background: none;
}
.account-created.active{
    display: block;
}
.account-created img{
    width: 50px;
    height: 50px;
    position: relative;
    top: 10px;
}
.nav-item{
    position: relative;
    padding-bottom: 5px;
}
.nav-item::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 3px;
    background-color: goldenrod;
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-item.active::after{
    width: 100%;
}
.main{
    background-image: url(https://hauteretreats.com/wp-content/uploads/2024/09/Villa-Saliu_27.jpeg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    flex-direction: column-reverse;
    height: 700px;
    width: 100%;
    position: relative;
    top: 40px;
}
#slogan{
    color: white;
    font-size: 100px;
    position: relative;
    top: 100px;
    left: 1%;
}
main span{
    color: goldenrod;
}
main:where(.main) p{
    color: white;
    font-size: 30px;
    position: relative;
    top: 100px;
    left: 1%;
}
#discover{
    background-color: goldenrod;
    cursor: pointer;
    width: 200px;
    height: 50px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: none;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
    top: 100px;
    left: 1%;
}
#undernav{
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative !important;
    gap: 70px;
    display: flex;
    top: 200px;
    left: 12%;
    width: 1150px;
    height: 70px;
    z-index: 5099 !important;
    overflow: visible !important;
}

/* Grands écrans : la barre de recherche rapide restait figée à 1150px
   quelle que soit la largeur disponible au-delà de 1400px. */
@media (min-width: 1400px) {
    #undernav { width: 1300px; }
}
@media (min-width: 1800px) {
    #undernav { width: 1500px; }
}
@media (min-width: 2200px) {
    #undernav { width: 1700px; left: 15%; }
}
@media (min-width: 2600px) {
    #undernav { width: 1900px; left: 17%; }
}

#undernav .search span {
    display: inline !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: black !important;
    -webkit-text-fill-color: black !important;
}

#undernav .searc{
    background-color: goldenrod;
    cursor: pointer;
    width: 150px;
    height: 30px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: none;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
    top: 20px;
    left: 3%;
    display: flex;
    align-items: center;
    justify-content: center;
}
#undernav a{
    color: black;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 2%;
}
#undernav a:hover{
    color: goldenrod;
    transition: 0.8s;
}
#undernav img{
    position: relative;
    top: 7px;
}
#undernav select{
    color: black;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 2%;
    transition: 0.8s;
    cursor: pointer;
    border: none;
}
#undernav option a{
    color: black;
    font-size: 20px;
    text-decoration: none;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-left: 2%;
}
#undernav .dropdown {
    position: relative !important;
    z-index: 5000 !important;
}
.dropdown{
    display: flex;
    flex-direction: column;
}
.dropdown button{
    background-color: goldenrod;
    cursor: pointer;
    width: 230px;
    height: 50px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    border: none;
    font-size: 20px;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    position: relative;
    top: 10px;
}
.dropdown p{
    margin-top: -135px;
    margin-left: 40px;
    color: black;
    display: flex;
    font-size: 22px;
}

.dropdown img{
    margin-left: -78%;
    margin-top: -40px;
}
.contains{
    display: none;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    width: 230px;
    height: 350px;
    position: absolute;
    top: 70px;
    justify-content: center;
    gap: 6px;
    z-index: 2999 !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
}
.contains a{
    position: relative;
    left: 33%;
    color: black;
    text-align: center;
}
.contains a:hover{
    color: goldenrod;
    transition: 0.8s;
}
.dropdown.active .contains{
    display: flex !important;
    flex-direction: column;
    z-index: 2999 !important;
}

@media screen and (max-width: 768px) {

    #undernav .dropdown {
        position: relative !important;
        z-index: 5000 !important;
    }

    #undernav .dropdown > button.mbtn {
        width: 230px !important;
        height: 50px !important;
    }

    #undernav .dropdown .contains {
        top: 60px !important;
        left: 0 !important;

        width: 230px !important;
        max-width: calc(100vw - 30px) !important;

        max-height: 420px !important;

        z-index: 5002 !important;
    }
}

/* =========================================================
   LANDORA — CORRECTION RECHERCHE
   IMPORTANT :
   - Les couleurs des boutons Landora sont CONSERVÉES.
   - Aucun style global de Landora n'est modifié.
   - Ce bloc remplace uniquement les anciens blocs de recherche
     contradictoires.
   ========================================================= */


/* =========================================================
   BOUTON OUVERTURE RECHERCHE
   CONSERVÉ EXACTEMENT COMME DANS TON CSS
   ========================================================= */

.search-btn button {
    background-color: goldenrod;
    height: 70px;
    width: 70px;
    border-radius: 100%;
    border: 1px solid goldenrod;
    position: fixed;
    left: 90%;
    top: 170px;
    cursor: pointer;
    box-shadow: 0 8px 25px goldenrod;
    z-index: 6000;
}


/* =========================================================
   BARRE DE RECHERCHE
   ========================================================= */
.search-item {
    display: none;
    position: fixed;
    left: 13%;
    top: 175px;
    z-index: 6000;
}

.search-item.active {
    display: flex;
    align-items: center;
}

.search-item input {
    height: 40px;
    width: 1000px;
    font-size: 23px;
}

.search {
    background-color: goldenrod;
    border-radius: 100%;
    height: 50px;
    width: 50px;
    cursor: pointer;
    border: 1px solid goldenrod;
}
/* =========================================================
   PANNEAU DE RECHERCHE
   Il est positionné sous la barre, pas en bas de la page.
   ========================================================= */
#search-suggestions,
#search-history,
#search-results {
    display: none;
    position: fixed;

    left: 13%;
    top: 225px;

    width: 66%;
    box-sizing: border-box;

    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);

    border-radius: 12px;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);

    z-index: 6000;

    max-height: 70vh;
    overflow-y: auto;

    border: 2px goldenrod solid;
}

/* Uniquement lorsque JS ajoute .active */

#search-suggestions.active,
#search-history.active,
#search-results.active {
    display: block;
}


/* =========================================================
   HISTORIQUE
   ========================================================= */

#search-history {
    padding: 0;
}

.history-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 12px 16px;

    color: #fff;

    border-bottom: 1px solid #eee;
}

.history-title button {
    background: transparent;
    color: goldenrod;
    border: none;
    cursor: pointer;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;

    padding: 12px 16px;

    color: #fff;

    cursor: pointer;
}

.history-item:hover {
    background: rgba(30, 30, 30, 0.5);
}

.history-icon {
    font-size: 18px;
}

.history-query {
    flex: 1;
}

.delete-history {
    background: transparent;
    color: goldenrod;
    border: none;
    font-size: 22px;
    cursor: pointer;
}


/* =========================================================
   SUGGESTIONS
   ========================================================= */

#search-suggestions {
    padding: 0;
}

.search-suggestion {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 10px 14px;

    border-bottom: 1px solid #eeeeee;

    cursor: pointer;
}

.search-suggestion:hover {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);
}

.suggestion-image {
    width: 55px;
    height: 55px;

    object-fit: cover;

    border-radius: 8px;

    flex-shrink: 0;
}

.suggestion-info {
    display: flex;
    flex-direction: column;

    gap: 4px;

    min-width: 0;
}

.suggestion-info strong {
    color: #fff;
}

.suggestion-info span {
    color: #999;
    font-size: 13px;
}

.suggestion-price {
    color: goldenrod !important;
}


/* =========================================================
   RÉSULTATS
   ========================================================= */

#search-results {
    padding: 0;
}

.search-title {
    padding: 12px 16px;

    font-size: 14px;

    color: #777;

    border-bottom: 1px solid #eee;
}

.search-result {
    padding: 15px;

    cursor: pointer;

    border-bottom: 1px solid #eee;

    transition: background 0.2s ease;
}

.search-result:hover {
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);
}

.search-result h3 {
    margin: 0 0 6px 0;
    font-size: 17px;
}

.search-result p {
    margin: 4px 0;
    font-size: 14px;
}

.search-result strong {
    display: block;

    margin-top: 8px;

    color: goldenrod;
}

.no-results {
    padding: 25px;
    text-align: center;
}

.no-results p {
    color: #777;
}

.search-loading,
.search-error {
    padding: 20px;
    text-align: center;
}


/* =========================================================
   CARTES IMMOBILIÈRES DES RÉSULTATS
   ========================================================= */

#search-results .property-card {
    display: flex;

    position: relative;

    width: 100%;

    box-sizing: border-box;

    margin: 0;

    cursor: pointer;
}

#search-results .property-image-container {
    width: 220px;
    min-width: 220px;

    height: 160px;

    overflow: hidden;
}

#search-results .property-image {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

#search-results .property-info {
    padding: 15px;

    flex: 1;
}


/* =========================================================
   PANNEAU DES FILTRES
   CONSERVÉ : bouton Appliquer doré + Reset gris
   ========================================================= */

#filter-panel {
    display: none;
    position: fixed;
    left: 10%;
    top: 230px;
    width: 80%;
    max-height: 70vh;
    overflow-y: auto;

    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(8px);

    padding: 20px;
    border-radius: 15px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);

    z-index: 1002;
}

#filter-panel.active {
    display: block;
}

#filter-panel h3 {
    margin-top: 0;
}

#filter-panel label {
    display: block;

    margin-top: 15px;
    margin-bottom: 6px;

    font-weight: bold;
}

#filter-panel select,
#filter-panel input {
    height: 42px;

    border: 1px solid #ccc;
    border-radius: 8px;

    padding: 0 10px;

    font-size: 15px;

    box-sizing: border-box;
}

#filter-panel select {
    width: 100%;
}

.filter-row {
    display: flex;
    gap: 10px;

    margin-top: 12px;
}

.filter-row input {
    width: 50%;
}

#apply-filters,
#reset-filters {
    margin-top: 20px;

    padding: 12px 20px;

    border-radius: 8px;

    cursor: pointer;
}

/* Tes couleurs d'origine */
#apply-filters {
    background: goldenrod;
    border: none;
}

#reset-filters {
    background: #eee;
    border: none;
}


/* =========================================================
   MOBILE
   On conserve les couleurs, uniquement adaptation de taille.
   ========================================================= */
@media (max-width: 768px) {
    .search-btn button {
        left: auto;
        right: 20px;
        top: 120px;
    }

    .search-item {
        left: 5%;
        right: 5%;
        top: 130px;

        width: 90%;
    }

    .search-item input {
        width: 100%;
        font-size: 18px;
    }

    #search-suggestions,
    #search-history,
    #search-results {
        left: 5%;
        top: 180px;
        width: 66%;
    }

    #search-results .property-card {
        display: block;
    }

    #search-results .property-image-container {
        width: 100%;
        min-width: 0;
        height: 190px;
    }

    #search-results .property-info {
        padding: 12px;
    }
}

.sea{
    background-color: goldenrod;
    border: none;
    height: 40px;
    width: 40px;
    position: relative;
    top: 4px;
    border-radius: 100%;
    cursor: pointer;
}
#Poster{
    margin-top: 180px;
    margin-left: 2%;
}
#Poster h2{
    color: white;
    font-size: 30px;
}
/************************************************************Agent***************************************************************************/
.lp{
    width:min(1160px,92%);
    margin:auto;
    padding:42px 0 70px;
    color:#171715;
}
.hero{
    padding:20px 0 32px;
}
.hero small{
    color:#b28b2f;
    font-weight:800;
    letter-spacing:2px;
}
.hero h1{
    font:700 clamp(36px,5vw,54px)/1.05 Georgia,serif;
    color: white;
    margin-top: 50px;
    text-align: center;
}
.hero p{
    color:white;
    margin-top: -100px;
    text-align: center;
}
.choices{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    margin-top: 150px;
    min-height: 250px;
}
.choices a{
    display:flex;
    gap:20px;
    padding:28px;
    background:#fff;
    border:1px solid #e5e1d7;
    border-radius:20px;
    color:inherit;
    text-decoration:none;
}
.choices a:hover{
    transform: scale(1.02);
    transition: 0.8s;
}
.choices a>b{
    width:62px;
    height:62px;
    flex:none;
    border-radius:18px;
    background:#171715;
    color:#d9b85d;
    display:grid;
    place-items:center;
    font-weight:800;
}
.choices b{
    display: flex;
}
.choices h2{
    margin:5px 0;
}
.choices p{
    color:black;
    margin-top: -100px;
    font-size: 22px;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.choices strong{
    color:#9b7924;
    position: relative;
    top: 80%;
    font-size: 22px;
}
#fi1{
    margin-top: 130px;
}
/*****************************************************************Agent/Agence immobilier****************************************************/
.btn-agent{
    position: relative;
    top: 220px;
    display: flex;
    left: 75%;
    gap: 40px;
}
.nav-item1{
    text-decoration: underline 3px goldenrod;
}

/************************************************************Buy*****************************************************************************/
#buy{
    position: relative;
    top: 200px;
    display: flex;
    flex-direction: column;
    left: 13%;
    gap: 40px;
}
#buy .icons-buy{
    display: flex;
    gap: 50px;
    background-color: goldenrod;
    height: 500px;
    width: 1120px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.icons-buy h2{
    color: white;
    font-size: 30px;
    text-align: center;
    margin-top: 50px;
}
.icons-buy img{
    margin-top: 40px;
    margin-left: 20px;
}
.icons-buy img:hover{
    transform: scale(1.1);
    transition: 0.6s;
}
.icons-buy section{
    background-color: goldenrod;
    height: 500px;
    width: 1050px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
#fi2{
    margin-top: 400px;
}
/*********************************************************Affichage des annonces**********************************************************************************/
#appartsmeub h1, #apparts h1, #chambreMeublés h1, #Chambre h1, #Locaux h1, #Maison h1, #Salledefete h1, #Studio h1, #Studiomeubles h1,
#terrains h1, #Villasmeubles h1, #Villas h1{
    color: white;
    font-size: 60px;
    text-align: center;
    position: relative;
    top: 110px;
}
/* ==========================================
   AMÉLIORATION UI DESIGN & RESPONSIVE DES BIENS
   ========================================== */

/* Conteneurs globaux (Page d'accueil #biens-boostes et page de liste .annonce-card) */
#biens-boostes,
.annonce-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 25px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
}
.annonce-card {
    margin-top: 120px;
}
@media (min-width: 640px) {
    #biens-boostes,
    .annonce-card {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    #biens-boostes,
    .annonce-card {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ==========================================
   GRANDS ÉCRANS (1400px → 3000px)
   La grille des biens ne doit plus rester figée
   à 1400px avec de l'espace vide de chaque côté :
   elle continue de s'élargir et d'ajouter des
   colonnes à mesure que l'écran grandit.
   ========================================== */
@media (min-width: 1400px) {
    #biens-boostes,
    .annonce-card {
        max-width: 1700px;
        grid-template-columns: repeat(4, 1fr);
        gap: 28px;
    }
}

@media (min-width: 1800px) {
    #biens-boostes,
    .annonce-card {
        max-width: 2000px;
        grid-template-columns: repeat(6, 1fr);
        gap: 30px;
    }
}

@media (min-width: 2200px) {
    #biens-boostes,
    .annonce-card {
        max-width: 2400px;
        grid-template-columns: repeat(7, 1fr);
        gap: 32px;
    }
}

@media (min-width: 2600px) {
    #biens-boostes,
    .annonce-card {
        max-width: 2800px;
        grid-template-columns: repeat(8, 1fr);
        gap: 34px;
    }
}

/* Style de la carte de bien */
.carte-bien {
    position: relative;
    background: #161616;
    border: 1px solid #262626;
    border-radius: 16px;
    overflow: hidden;
    box-sizing: border-box;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.carte-bien:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border-color: goldenrod;
}

/* Gestion de la galerie / image dans la carte */
.carte-bien .gallery,
.carte-bien .gallery-media {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #000;
}

.carte-bien .media-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carte-bien:hover .media-item {
    transform: scale(1.05);
}

/* Badge "À louer" / "À vendre" positionné sur l'image (si présent dans ton HTML/JS) */
.carte-bien .badge-transaction, 
.badge-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: goldenrod;
    color: black;
    padding: 5px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 8px;
    z-index: 5;
    text-transform: uppercase;
}

/* Conteneur des détails du bien */
.carte-bien .details {
    position: relative;
    padding: 16px;
    padding-bottom: 52px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    box-sizing: border-box;
}

/* Titre du bien */
.carte-bien .title {
    font-size: 16px;
    color: white;
    text-align: left;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Description / Localisation */
.carte-bien .description {
    font-size: 13px;
    color: #9ca3af;
    text-align: left;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Prix du bien */
.carte-bien .price {
    font-size: 17px;
    color: goldenrod;
    font-weight: bold;
    text-align: left;
    margin: 4px 0;
}

/* Icône Coeur (Favoris) alignée proprement en haut à droite de l'image */
.carte-bien .like-container {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    padding: 6px 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.like-container{
    display: flex;
    align-items: center;
    gap: 6px;
}
.likes-count{
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 600;
    min-width: 12px;
}
.heart-icon {
    font-size: 18px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.25s ease, color 0.25s ease;
    margin-left: 0 !important;
    
}

.heart-icon:active {
    transform: scale(1.3);
}

.heart-icon.fa-solid, 
.heart-icon.liked {
    color: goldenrod !important;
}

/* Masquer le compteur de likes moche s'il encombre, ou l'intégrer proprement si besoin */
.carte-bien .likes-count {
    display: none; 
}

/* Gestion de l'icône oeil (vues) */
.eye-container {
    position: absolute;
    bottom: 16px;
    right: 16px;
    color: #9ca3af;
    margin: 0;
}

.eye-container .views-count {
    font-size: 14px;
    color: #9ca3af;
    white-space: nowrap;
}
/* Bouton Contacter */
.btn-contact {
    display: none; /* Optionnel : masqué sur la grille pour épurer comme l'image, ou affiché selon ton design */
    background: goldenrod;
    cursor: pointer;
    border: black;
    border-radius: 25px;
    font-weight: bolder;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

/* Menu d'options (trois petits points) */
.menu-annonce-container {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
}

.menu-annonce-btn {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-annonce {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    min-width: 180px;
    background: #1f1f1f;
    border: 1px solid #333;
    border-radius: 10px;
    padding: 6px;
    z-index: 100;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.menu-annonce.active {
    display: block;
}

.menu-annonce button {
    display: block;
    width: 100%;
    padding: 10px;
    background: transparent;
    border: none;
    text-align: left;
    color: white;
    cursor: pointer;
    border-radius: 6px;
    font-size: 13px;
}

.menu-annonce button:hover {
    background: goldenrod;
    color: black;
}

.image-principale-container {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    background: #151515;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-principale {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.image-indisponible {
    color: #c9a227;
    flex-direction: column;
    gap: 10px;
}

.image-indisponible i {
    font-size: 40px;
}

.image-indisponible span {
    font-size: 14px;
}

.property-availability-band {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-top: 8px;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.property-availability-band.is-available {
    background: rgba(212, 175, 55, 0.14);
    border-left: 4px solid #d4af37;
    color: #d4af37;
}

.property-availability-band.is-unavailable {
    background: rgba(190, 35, 35, 0.14);
    border-left: 4px solid #c93636;
    color: #e05a5a;
}

/* ================================
   MODAL DE CONFIRMATION SUPPRESSION
   ================================ */

#delete-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;

    display: none;
    align-items: center;
    justify-content: center;

    background: rgba(0, 0, 0, 0.78) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    z-index: 999999 !important;
}

/* Boîte centrale */
#delete-modal .modal-content {
    width: min(90%, 420px);
    padding: 30px 28px;

    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.55);
    border-radius: 16px;

    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(212, 175, 55, 0.08);

    text-align: center;

    animation: deleteModalAppear 0.25s ease-out;
}

/* Texte */
#delete-modal .modal-content p {
    margin: 0 0 25px;

    color: #f5f5f5;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

/* Conteneur des boutons */
#delete-modal .modal-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

/* Boutons */
#delete-modal .modal-buttons button {
    min-width: 110px;
    padding: 11px 22px;

    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease;
}

/* Bouton OUI */
#delete-modal .btn-confirm {
    border: 1px solid #b9972e;
    background: #c9a227;
    color: #111111;
}

#delete-modal .btn-confirm:hover {
    background: #d4af37;
    transform: translateY(-2px);

    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
}

/* Bouton NON */
#delete-modal .btn-cancel {
    border: 1px solid #444444;
    background: #222222;
    color: #eeeeee;
}

#delete-modal .btn-cancel:hover {
    background: #2d2d2d;
    transform: translateY(-2px);
}

/* Animation d'apparition */
@keyframes deleteModalAppear {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(10px);
    }

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

/* Mobile */
@media (max-width: 480px) {

    #delete-modal .modal-content {
        width: calc(100% - 40px);
        padding: 25px 20px;
        border-radius: 14px;
    }

    #delete-modal .modal-content p {
        font-size: 16px;
    }

    #delete-modal .modal-buttons {
        gap: 10px;
    }

    #delete-modal .modal-buttons button {
        min-width: 100px;
        padding: 10px 16px;
    }
}
/**********************************************************Sign In************************************************************/
#Sign{
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}
.header{
    position: relative;
    top: 100px;
}
#Sign img{
    box-shadow: 20px white;
    display: block;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.Sign h1{
    text-align: center;
    font-size: 50px;
    color: white;
    position: relative;
    top: 55px;
}
.Sign h3{
    text-align: center;
    font-size: 25px;
    color: white;
    position: relative;
    top: 55px;
}
#Sign-In #email-number{
    width: 80%;
    max-width: 200px;
    height: 35px;
    margin: 0 auto;
    border-bottom-width: 3px;
    font-size: 20px;
    position: relative;
    top: 55px;
    border-radius: 5px;
}
#email-number::placeholder{
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-top: -5px;
    font-style: italic;
    font-weight: 200;
    color: #100f13;
}
#Sign-In #Password{
    width: 80%;
    max-width: 200px;
    height: 35px;
    margin: 0 auto;
    border-bottom-width: 3px;
    font-size: 20px;
    position: relative;
    top: 55px;
    border-radius: 5px;
}
#Password::placeholder{
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    margin-top: -5px;
    font-style: italic;
    font-weight: 200;
    color: #100f13;
}
.Sign-a{
    font-size: 20px;
    text-decoration: none;
    font-weight: 700;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: goldenrod;
    position: relative;
    top: 55px;
    left: -33%;
}
#Sign-In #Ne{
    display: flex;
    margin: 2% auto 0;
    width: 50%;
    max-width: 500px;
    height: 50px;
    font-size: 30px;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: goldenrod;
    color: black;
    text-align: center;
    cursor: pointer;
    position: relative;
    top: 55px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    border: 1px solid white;
    justify-content: center !important;
    align-items: center !important;
}
.Newp{
    text-align: center;
    font-size: 23px;
    color: white;
    position: relative;
    top: 55px;
}
.New{
    text-decoration: none;
    font-weight: 700;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    color: goldenrod;
    top: 55px;
}
#fi3{
    margin-top: 170px;
}

/* -----------------------------------------------------------
   AJOUT : responsive mobile (le reste du bloc ci-dessus
   est resté strictement identique à l'original, sauf le
   retrait des décalages left:X% qui cassaient l'alignement)
----------------------------------------------------------- */
@media (max-width: 600px){
    #Sign{
        max-width: 100%;
        padding: 0 16px;
        box-sizing: border-box;
    }
    #Sign-In #email-number,
    #Sign-In #Password{
        width: 100%;
        max-width: none;
    }
    #Sign-In #Ne{
        width: 100%;
    }
}
/***********************************************************Sign Up************************************************************/

/* Conteneur principal pour tout aligner au centre */
.signup-wrapper {
    width: 100%;
    max-width: 700px;
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. LOGO AU CENTRE */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

#logo-a img {
   display: block !important;
   margin-left: auto !important;
   margin-right: auto !important;
}

/* 2. TITRE JUSTE EN DESSOUS DU LOGO */
.Newa {
    width: 99%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    position: relative;
    top: 100px;
}

.Newa h1 {
    text-align: center;
    font-size: clamp(24px, 4vw, 42px);
    color: white;
    margin: 0;
    position: static; /* Annule tout décalage bizarre */
}

/* 3. FORMULAIRE ET INPUTS */
#form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

/* Style UNIFORME pour TOUS les inputs (y compris l'email) */
#form .input {
    width: 100%;
    max-width: 450px;
    height: 40px;
    font-size: 20px;
    color: black;
    background: white !important; /* Pas de fond blanc bizarre */
    border: none;
    border-bottom: 3px solid white;
    outline: none;
    box-sizing: border-box;
    margin: 0;
    position: static; /* Supprime les margin-left et positions qui cassaient tout */
    border-radius: 5px;
}

#form #email-number{
    width: 100%;
    max-width: 450px;
    height: 40px;
    font-size: 20px;
    color: black;
    background: white !important; /* Pas de fond blanc bizarre */
    border: none;
    border-bottom: 3px solid white;
    outline: none;
    box-sizing: border-box;
    margin: 0;
    position: static;
    border-radius: 5px;
}
/* Gestion de l'autofill du navigateur (pour éviter le fond blanc automatique du navigateur sur l'email) */
#form .input:-webkit-autofill,
#form .input:-webkit-autofill:hover, 
#form .input:-webkit-autofill:focus {
    -webkit-text-fill-color: rgb(10, 9, 9);
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset;
    transition: background-color 5000s ease-in-out 0s;
}

#form .input::placeholder {
    font-size: 20px;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-style: italic;
    font-weight: 200;
    color: rgba(0, 0, 0, 0.7); /* Texte d'exemple en blanc translucide clair */
}

/* 4. CHOIX RADIO */
.account-type-choice {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: white;
    margin-top: 10px;
}

.choice-title {
    font-size: 18px;
    font-weight: bold;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 16px;
}

.radio-option input[type="radio"] {
    accent-color: goldenrod;
    width: 18px;
    height: 18px;
}

/* 5. BOUTON SUIVANT AU CENTRE */
#form button#Ni {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 300px;
    height: 50px;
    font-size: 26px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: rgb(253, 183, 4);
    color: black;
    cursor: pointer;
    border-radius: 20px;
    border: 1px solid white;
    margin-top: 20px;
    position: static;
}

#Ni p {
    margin: 0;
    position: static;
    color: black;
    font-weight: bold;
}

/* Adaptabilité responsive mobile */
@media (max-width: 600px) {
    #form .input,
    .account-type-choice,
    #form button#Ni {
        max-width: 100%;
    }
}
/***************************************************Subscribe****************************************************************/
.type{
    background: radial-gradient(circle at 50% 50%, #100f13 0%,  rgba(225, 225, 225, 0.5));
    border-radius: 3vh;
    position: relative;
    left: 20%;
    height: 85vh;
    width: 60vw;
    border: none;
}
#typeaccount{
    position: relative;
    top: 15%;
}
#typeaccount H2{
    text-align: center;
    color: white;
    position: relative;
    font-size: 5rem;
}
.type h1{
    position: relative;
    top: -5%;
    text-align: center;
    color: goldenrod;
    font-size: 4rem;
}
.type h3{
    text-align: center;
    font-size: 3rem;
    color: white;
}
.type p{
    text-align: center;
    font-size: 2rem;
    color: white;
}
.type ul{
    font-size: 2rem;
    color: white;
}
.type sub{
    color: #100f13;
}
.Newa a{
    text-decoration: none;
    text-align: center;
}
.type button{
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10%;
    width: 40%;
    max-width: 100px;
    height: 6vh;
    font-size: 30px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    background-color: goldenrod;
    color: black;
    text-align: center;
    cursor: pointer;
    border-radius: 3vh;
    border: 0.5vh solid black;
}
#free.active{
    border: 0.875vh solid goldenrod;
}
#pro.active{
    border: 0.875vh solid goldenrod;
}
#agence.active{
    border: 0.875vh solid goldenrod;
}
#premium.active{
    border: 0.875vh solid goldenrod;
}
/**************************************************************Account**************************************************************/
/* =========================================================
   1. BASE DE LA PAGE ACCOUNT
   ========================================================= */
.account-header,
.account-header *,
.dash-menu,
.dash-menu * {
    box-sizing: border-box;
}
/* =========================================================
   2. HEADER ACCOUNT — ÉTAT NORMAL
   ========================================================= */
.account-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 560px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    overflow: hidden !important;
    z-index: 1000 !important;
    display: block !important;
    transition:
        height 0.45s ease,
        padding 0.45s ease,
        background-color 0.45s ease !important;
}
/* =========================================================
   3. BOUTON RETOUR
   ========================================================= */
.account-header .back-btn {
    position: absolute !important;
    top: 12px !important;
    left: 14px !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(0, 0, 0, 0.95) !important;
    color: goldenrod !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 50 !important;
}
/* =========================================================
   4. BOUTON MODIFIER PROFIL
   ========================================================= */
#edit-profile-btn {
    position: absolute !important;
    top: 12px !important;
    right: 18px !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: goldenrod !important;
    color: black !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    z-index: 50 !important;
}
#edit-profile-btn i {
    font-size: 22px !important;
}
/* =========================================================
   LANDORA — POP-UP MODIFICATION DU PROFIL
   IDENTITÉ : NOIR + OR
   ========================================================= */
#account-edit-modal {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    /* Fond noir profond */
    background: rgba(0, 0, 0, 0.82) !important;
    backdrop-filter: blur(6px);
    z-index: 10000 !important;
}
/* =========================================================
   MODAL CACHÉ
   ========================================================= */
#account-edit-modal.hidden {
    display: none !important;
}
/* =========================================================
   FENÊTRE PRINCIPALE
   ========================================================= */
#account-edit-modal .account-edit-content {
    position: relative !important;
    width: min(92vw, 500px) !important;
    max-width: 500px !important;
    height: auto !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: 0 auto !important;
    padding: 34px 30px 28px !important;
    box-sizing: border-box !important;
    /* Noir Landora */
    background: #080808 !important;
    /* Contour doré */
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
    border-top: 4px solid #d4af37 !important;
    border-radius: 20px !important;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.75),
        0 0 25px rgba(212, 175, 55, 0.08) !important;
    animation: landoraEditModalIn 0.25s ease-out;
}
/* =========================================================
   PETITE BARRE DORÉE
   ========================================================= */
#account-edit-modal .account-edit-content::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #d4af37;
    border-radius: 0 0 6px 6px;
}
/* =========================================================
   TITRE
   ========================================================= */
#account-edit-modal .account-edit-content h3 {
    margin: 4px 0 28px !important;
    text-align: center !important;
    color: #d4af37 !important;
    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
}
/* =========================================================
   LABELS
   ========================================================= */
#account-edit-modal .account-edit-content label {
    display: block !important;
    margin: 0 0 7px !important;
    color: #d4af37 !important;
    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
}
/* =========================================================
   CHAMPS
   ========================================================= */
/* Champs remplacés par le sélecteur pays / indicatif : toujours cachés. */
#account-edit-modal .account-edit-content input.lp-replaced {
    display: none !important;
}
#account-edit-modal .account-edit-content input {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    margin: 0 0 19px !important;
    padding: 0 15px !important;
    box-sizing: border-box !important;
    /* Gris/noir très sombre */
    background: #151515 !important;
    color: #ffffff !important;
    border: 1px solid #3a3a3a !important;
    border-radius: 10px !important;
    outline: none !important;
    font-family:
        Arial,
        sans-serif !important;
    font-size: 1rem !important;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease !important;
}
/* =========================================================
   FOCUS DES CHAMPS
   ========================================================= */
#account-edit-modal .account-edit-content input:focus {
    background: #111111 !important;
    color: #ffffff !important;
    border-color: #d4af37 !important;
    box-shadow:
        0 0 0 2px rgba(212, 175, 55, 0.18),
        0 0 12px rgba(212, 175, 55, 0.08) !important;
}
/* =========================================================
   PLACEHOLDER
   ========================================================= */
#account-edit-modal .account-edit-content input::placeholder {
    color: #777777 !important;
    opacity: 1 !important;
}
/* =========================================================
   MESSAGE D'ERREUR
   ========================================================= */
#account-edit-modal .account-edit-error {
    margin: -4px 0 17px !important;
    text-align: center !important;
    color: #ff5a5a !important;
    font-family:
        Arial,
        sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}
#account-edit-modal .account-edit-error.hidden {
    display: none !important;
}
/* =========================================================
   BOUTONS
   ========================================================= */
#account-edit-modal .modal-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 8px !important;
}
#account-edit-modal .modal-buttons button {
    min-width: 135px !important;
    height: 46px !important;
    padding: 0 22px !important;
    border-radius: 11px !important;
    cursor: pointer !important;
    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease !important;
}
/* =========================================================
   ENREGISTRER — OR LANDORA
   ========================================================= */
#account-edit-modal #account-edit-save {
    background: #d4af37 !important;
    color: #080808 !important;
    border: 1px solid #d4af37 !important;
    box-shadow:
        0 4px 14px rgba(212, 175, 55, 0.20) !important;
}
/* =========================================================
   ANNULER — NOIR / GRIS SOMBRE
   ========================================================= */
#account-edit-modal #account-edit-cancel {
    background: #1b1b1b !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.55) !important;
}
/* =========================================================
   HOVER
   ========================================================= */
#account-edit-modal .modal-buttons button:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}
/* Enregistrer */
#account-edit-modal #account-edit-save:hover {
    background: #e0bd4c !important;
    box-shadow:
        0 7px 20px rgba(212, 175, 55, 0.30) !important;
}

/* Annuler */
#account-edit-modal #account-edit-cancel:hover {
    background: #252525 !important;
    border-color: #d4af37 !important;
}
#account-edit-modal .modal-buttons button:active {
    transform: translateY(0);
}

/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes landoraEditModalIn {
    from {
        opacity: 0;
        transform:
            translateY(18px)
            scale(0.96);
    }
    to {
        opacity: 1;
        transform:
            translateY(0)
            scale(1);
    }
}

/* =========================================================
   TÉLÉPHONE
   ========================================================= */
@media screen and (max-width: 600px) {
    #account-edit-modal {
        padding: 15px !important;
    }
    #account-edit-modal .account-edit-content {
        width: calc(100vw - 30px) !important;
        max-width: 430px !important;
        padding: 29px 20px 23px !important;
        border-radius: 18px !important;
    }
    #account-edit-modal .account-edit-content h3 {
        font-size: 1.4rem !important;
        margin-bottom: 24px !important;
    }
    #account-edit-modal .account-edit-content label {
        font-size: 0.9rem !important;
    }
    #account-edit-modal .account-edit-content input {
        height: 46px !important;
        font-size: 0.95rem !important;
        margin-bottom: 16px !important;
    }
    #account-edit-modal .modal-buttons {
        gap: 10px !important;
    }
    #account-edit-modal .modal-buttons button {
        flex: 1 !important;
        min-width: 0 !important;
        height: 44px !important;
        padding: 0 12px !important;
        font-size: 0.95rem !important;
    }
}
/* =========================================================
   TRÈS PETITS ÉCRANS
   ========================================================= */
@media screen and (max-width: 380px) {
    #account-edit-modal .account-edit-content {
        padding: 26px 16px 20px !important;
    }
    #account-edit-modal .account-edit-content h3 {
        font-size: 1.25rem !important;
    }
    #account-edit-modal .account-edit-content input {
        height: 44px !important;
    }
}
/* =========================================================
   5. CONTENEUR PROFIL
   ========================================================= */
.account-profile {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}
/* =========================================================
   6. PHOTO DE COUVERTURE
   ========================================================= */
.profile-picture-container {
    position: relative !important;
    width: 100% !important;
    height: auto !important;

    left: auto !important;
    top: auto !important;

    margin: 0 !important;
    padding: 0 !important;
    z-index: 10 !important;
}

.profile-cover {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 250px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    opacity: 1 !important;
    background: black !important;
}

#cover-picture, [data-cover-image] {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center !important;
}
/* =========================================================
   7. BOUTON PHOTO DE COUVERTURE
   ========================================================= */
.cover-camera-btn {
    position: absolute !important;
    right: 14px !important;
    bottom: 14px !important;

    width: 36px !important;
    height: 36px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border: none !important;
    border-radius: 50% !important;

    background: rgba(0, 0, 0, 0.65) !important;
    color: white !important;

    cursor: pointer !important;
    z-index: 20 !important;
}
/* =========================================================
   8. PHOTO DE PROFIL
   ========================================================= */
#profile-picture, .profile-image, [data-profile-image] {
    position: relative !important;
    display: block !important;

    width: 120px !important;
    height: 120px !important;

    margin: -60px auto 0 auto !important;
    border-radius: 50% !important;

    object-fit: cover !important;
    border: 4px solid #2563eb !important;

    z-index: 30 !important;
    transform: none !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35) !important;
}
/* =========================================================
   9. BOUTON PHOTO DE PROFIL
   ========================================================= */
.account-header .camera-btn {
    position: absolute !important;
    left: calc(50% + 35px) !important;
    top: 280px !important;

    width: 42px !important;
    height: 42px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: goldenrod !important;
    color: black !important;

    border: none !important;
    border-radius: 50% !important;

    cursor: pointer !important;
}

.account-header .camera-btn i {
    font-size: 18px !important;
}
/* =========================================================
   10. INFORMATIONS DU PROFIL
   ========================================================= */
.profile-info {
    position: relative !important;
    left: auto !important;
    top: auto !important;

    width: 100% !important;
    margin: 10px auto 0 auto !important;
    padding: 0 20px !important;

    text-align: center !important;
    transition: none !important;
}

.profile-info h2, #user-full-name {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    color: white !important;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
    font-size: clamp(1.45rem, 3vw, 2.2rem) !important;
    font-weight: 900 !important;
    line-height: 1.15 !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}
/* =========================================================
   11. BADGE ABONNEMENT
   ========================================================= */
#account-badge, .badge {
    display: inline-flex !important;

    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    max-width: 90% !important;

    min-height: 46px !important;

    margin: 0 auto 12px auto !important;

    padding: 10px 28px !important;

    border-radius: 999px !important;

    font-size: clamp(1rem, 2vw, 1.35rem) !important;

    line-height: 1 !important;

    font-weight: bold !important;

    white-space: nowrap !important;

    color: white !important;
}

/* On conserve les couleurs des forfaits existants */
.badge.free {
    background: linear-gradient(135deg, #34d399, #10b981) !important;
    animation: premiumHeartbeat 2.8s ease-in-out infinite !important;
}

.badge.pro {
    background: linear-gradient(135deg, #2563eb, #60a5fa) !important;
    animation: premiumHeartbeat 2.8s ease-in-out infinite !important;
}

.badge.agency {
    background: linear-gradient(135deg, #8b5cf6,#7c3aed, #ff3d00) !important;
    background-size: 300% 300% !important;
    animation: premiumHeartbeat 2.8s ease-in-out infinite !important;
}

.badge.premium {
    background: linear-gradient(135deg, #ffb700, #ff7a00, #ff3d00) !important;
    background-size: 300% 300% !important;
    animation: premiumHeartbeat 2.8s ease-in-out infinite !important;
}

@keyframes premiumHeartbeat {

    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.035);
    }

    45% {
        transform: scale(1);
    }

    55% {
        transform: scale(1.025);
    }

    65% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}
/* =========================================================
   12. EMAIL / TÉLÉPHONE / CNI
   ========================================================= */

#user-email,
#user-phone,
#user-cni,
.account-profile p {
    color: white !important;

    font-size: clamp(
        0.95rem,
        1.8vw,
        1.25rem
    ) !important;

    line-height: 1.5 !important;

    text-align: center !important;

    margin: 5px 0 !important;

    overflow-wrap: anywhere !important;
}


/* =========================================================
   13. DASHBOARD
   ========================================================= */

.dash-menu {
    position: relative !important;

    width: 100% !important;

    margin: 590px auto 0 auto !important;
    padding: 0 22px 30px 22px !important;

    box-sizing: border-box !important;
}


/* =========================================================
   DASHBOARD
   ========================================================= */

.dashboard {
    width: 100% !important;
    max-width: 1200px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 20px !important;
}


/* =========================================================
   CARTES
   ========================================================= */

.dashboard-card {
    position: relative !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 145px !important;

    margin: 0 !important;
    padding: 28px 20px !important;

    background: white !important;
    border-radius: 26px !important;

    text-align: center !important;
    overflow: hidden !important;

    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    animation: fadeUp 0.7s ease !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}


/* =========================================================
   TITRE
   ========================================================= */

.dashboard-card > h3 {
    width: 100% !important;

    margin: 0 0 18px 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: row !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 8px !important;

    color: black !important;

    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;

    font-size: clamp(
        1rem,
        1.8vw,
        1.5rem
    ) !important;

    font-weight: 600 !important;

    line-height: 1.2 !important;

    text-align: center !important;
}


/* =========================================================
   ICÔNE
   ========================================================= */

.dashboard-card > h3 > img {
    width: 32px !important;
    height: 32px !important;

    flex: 0 0 32px !important;

    object-fit: contain !important;

    margin: 0 !important;
}


/* =========================================================
   NOMBRE / VALEUR
   ========================================================= */

/*
   IMPORTANT :
   Le > garantit que le nombre est un élément séparé
   du titre et se trouve EN DESSOUS.
*/

.dashboard-card > span {
    display: block !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #2563eb !important;

    font-family:
        'Inter',
        'Segoe UI',
        Roboto,
        Arial,
        sans-serif !important;

    font-size: clamp(
        1.25rem,
        2.5vw,
        1.8rem
    ) !important;

    font-weight: 700 !important;

    line-height: 1.25 !important;

    text-align: center !important;

    font-variant-numeric: tabular-nums !important;
}
/* =========================================================
   NOTIFICATIONS — CORRECTION
   HTML conservé tel quel
   ========================================================= */

.dashboard-card > h3 {
    flex-wrap: wrap !important;
}


/* Le nombre des notifications passe à la ligne */
.dashboard-card > h3 > .notif-badge {
    flex: 0 0 100% !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    color: #2563eb !important;

    font-family:
        'Inter',
        'Segoe UI',
        Roboto,
        Arial,
        sans-serif !important;

    font-size: clamp(
        1.25rem,
        2.5vw,
        1.8rem
    ) !important;

    font-weight: 700 !important;

    line-height: 1.25 !important;

    text-align: center !important;

    font-variant-numeric: tabular-nums !important;
}
/* =========================================================
   18. MENU ACCOUNT
   ========================================================= */

.account-menu {
    width: 100% !important;

    max-width: 1200px !important;

    margin: 30px auto 0 auto !important;
    padding: 0 !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 16px !important;
}


/* =========================================================
   19. BOUTONS DU MENU
   ========================================================= */

.account-menu .menu-item {
    width: 100% !important;

    min-width: 0 !important;

    min-height: 64px !important;

    margin: 0 !important;
    padding: 14px 18px !important;

    display: flex !important;

    align-items: center !important;

    gap: 10px !important;

    background: white !important;

    color: black !important;

    border: none !important;

    border-radius: 18px !important;

    text-align: left !important;

    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;

    font-size: clamp(
        1rem,
        2vw,
        1.45rem
    ) !important;

    line-height: 1.2 !important;

    box-shadow:
        0 7px 18px rgba(0, 0, 0, 0.45) !important;

    cursor: pointer !important;

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        color 0.2s ease !important;
}

.account-menu .menu-item img {
    width: 30px !important;
    height: 30px !important;

    min-width: 30px !important;
    min-height: 30px !important;

    flex: 0 0 30px !important;

    object-fit: contain !important;

    margin: 0 !important;
}

.account-menu .menu-item:active {
    transform: scale(0.98) !important;
}


/*
   On ne change pas le fond blanc au survol.
   Cela évite que le bleu du Landora.css transforme
   complètement l'apparence de la page.
*/
.account-menu .menu-item:hover {
    background: white !important;
    color: black !important;
}

/* =========================================================
   DÉCONNEXION — RESTAURATION EXACTE DU COMPORTEMENT ORIGINAL
   ========================================================= */

#logout-btn {
    background: #dc2626 !important;
    height: 5vh !important;
    cursor: pointer !important;
    border-radius: 3vh !important;
    border: none !important;
    position: relative !important;
    font-size: 1.9rem !important;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif !important;
    color: white !important;

    /*
       IMPORTANT :
       le bouton doit rester cliquable.
    */
    pointer-events: auto !important;
}
#custom-modal.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    display: none;
    justify-content: center !important;
    align-items: center !important;
    background: rgba(0, 0, 0, 0.72) !important;
    backdrop-filter: blur(4px);
    z-index: 10000 !important;
    box-sizing: border-box !important;
}

/* Quand le JavaScript ouvre le modal */
#custom-modal.modal-overlay[style*="display: block"] {
    display: flex !important;
}
/* =========================================================
   BOÎTE DE DIALOGUE
   ========================================================= */
#custom-modal .modal-content {
    position: relative !important;
    width: min(90vw, 430px) !important;
    max-width: 430px !important;
    height: auto !important;
    margin: 20px !important;
    padding: 35px 30px 30px !important;
    background: #ffffff !important;
    border-radius: 20px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45) !important;
    animation: landoraModalIn 0.22s ease-out;
}

/* Petite barre dorée en haut */
#custom-modal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 4px;
    background: #d4af37;
    border-radius: 0 0 5px 5px;
}

/* =========================================================
   TEXTE
   ========================================================= */
#custom-modal .modal-content p {
    width: 100% !important;
    margin: 15px auto 30px !important;
    text-align: center !important;
    color: #1a1a1a !important;
    font-family:'Franklin Gothic Medium','Arial Narrow', Arial, sans-serif !important;
    font-size: 1.35rem !important;
    font-weight: 600 !important;
    line-height: 1.45 !important;
    box-sizing: border-box !important;
    position: relative !important;
    top: 0;
    z-index: 2 !important;
}

/* =========================================================
   BOUTONS
   ========================================================= */
#custom-modal .modal-buttons {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 14px !important;
    margin-top: 0 !important;
}
#custom-modal .modal-buttons button {
    min-width: 115px !important;
    height: 46px !important;
    padding: 0 22px !important;
    border: none !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    font-family:
        'Franklin Gothic Medium',
        'Arial Narrow',
        Arial,
        sans-serif !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease !important;
}

/* OUI */
#custom-modal .btn-confirm {
    background: #dc2626 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25) !important;
}

/* NON */
#custom-modal .btn-cancel {
    background: #eeeeee !important;
    color: #222222 !important;
    border: 1px solid #d5d5d5 !important;
}

/* Effet au survol */
#custom-modal .modal-buttons button:hover {
    transform: translateY(-2px);
    opacity: 0.92;
}
/* Effet au clic */
#custom-modal .modal-buttons button:active {
    transform: translateY(0);
}

/* =========================================================
   ANIMATION
   ========================================================= */
@keyframes landoraModalIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.96);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}
/* =========================================================
   MOBILE
   ========================================================= */
@media screen and (max-width: 600px) {
    #custom-modal .modal-content {
        width: calc(100vw - 35px) !important;
        max-width: 430px !important;
        padding: 32px 20px 25px !important;
        border-radius: 18px !important;
    }

    #custom-modal .modal-content p {
        font-size: 1.15rem !important;
        margin-bottom: 25px !important;
    }

    #custom-modal .modal-buttons {
        gap: 10px !important;
    }

    #custom-modal .modal-buttons button {
        flex: 1 !important;
        min-width: 0 !important;
        height: 46px !important;
        font-size: 0.95rem !important;
    }
}
/* =========================================================
   22. MODALE MODIFICATION PROFIL
   ========================================================= */

.account-edit-content {
    width: min(420px, 92vw) !important;

    text-align: left !important;
}

.account-edit-content h3 {
    margin: 0 0 14px 0 !important;
}

#account-edit-form {
    width: 100% !important;

    display: flex !important;

    flex-direction: column !important;

    gap: 6px !important;
}

#account-edit-form label {
    margin-top: 10px !important;

    font-size: 0.9rem !important;

    color: #333 !important;
}

#account-edit-form input {
    width: 100% !important;

    min-height: 42px !important;

    padding: 10px 12px !important;

    box-sizing: border-box !important;

    border: 1px solid rgba(0, 0, 0, 0.15) !important;

    border-radius: 8px !important;
}

.account-edit-error {
    color: #c0392b !important;

    font-size: 0.85rem !important;

    margin: 10px 0 0 !important;
}

.account-edit-error.hidden,
.modal-overlay.hidden {
    display: none !important;
}


/* =========================================================
   23. ÉTAT COLLAPSED
   =========================================================

   Le JavaScript ajoute .collapsed lorsque scrollY > 120.

   IMPORTANT :
   On ne casse PAS le comportement du JavaScript.
   On reconstruit simplement le header compact correctement.
   ========================================================= */

.account-header.collapsed {
    position: fixed !important;

    top: 0 !important;
    left: 0 !important;

    width: 100% !important;
    height: 82px !important;

    padding: 0 !important;
    margin: 0 !important;

    background: black !important;

    overflow: hidden !important;

    z-index: 1000 !important;
}


/* Cache complètement la couverture en mode compact */
.account-header.collapsed .profile-cover {
    width: 0 !important;
    height: 0 !important;

    opacity: 0 !important;

    overflow: hidden !important;
}


/* Conteneur de la photo en mode compact */
.account-header.collapsed .profile-picture-container {
    position: absolute !important;

    left: 14px !important;
    top: 50% !important;

    width: 58px !important;
    height: 58px !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    z-index: 20 !important;
}


/* Photo compacte */
.account-header.collapsed .profile-image,
.account-header.collapsed #profile-picture {
    position: absolute !important;

    left: 50px !important;
    top: 0 !important;

    width: 58px !important;
    height: 58px !important;

    margin: 0 !important;

    border-width: 3px !important;

    transform: none !important;
}


/* Caméra compacte */
.account-header.collapsed .camera-btn {
    position: absolute !important;

    right: -5px !important;
    bottom: -4px !important;

    left: 50px !important;
    top: auto !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 2px solid black !important;

    z-index: 30 !important;
}

.account-header.collapsed .camera-btn i {
    font-size: 10px !important;
}


/* Informations compactes */
.account-header.collapsed .profile-info {
    position: absolute !important;

    left: 130px !important;
    right: 75px !important;

    top: 50% !important;

    width: auto !important;

    margin: 0 !important;
    padding: 0 !important;

    transform: translateY(-50%) !important;

    text-align: left !important;

    z-index: 15 !important;
}


/* Nom compact */
.account-header.collapsed #user-full-name {
    display: block !important;

    width: 100% !important;

    margin: 0 0 5px 0 !important;
    padding: 0 !important;

    color: white !important;

    font-size: clamp(
        0.95rem,
        2vw,
        1.35rem
    ) !important;

    font-weight: 900 !important;

    line-height: 1.15 !important;

    text-align: left !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    text-overflow: ellipsis !important;
}


/* Badge compact */
.account-header.collapsed #account-badge {
    display: inline-flex !important;

    width: auto !important;

    min-height: 30px !important;

    margin: 0 !important;

    padding: 6px 17px !important;

    font-size: 0.78rem !important;

    line-height: 1 !important;

    border-radius: 999px !important;
}


/* Informations inutiles quand le header est compact */
.account-header.collapsed .profile-info p,
.account-header.collapsed #user-email,
.account-header.collapsed #user-phone,
.account-header.collapsed #user-cni {
    display: none !important;

    opacity: 0 !important;

    pointer-events: none !important;
}


/* Bouton modifier compact */
.account-header.collapsed #edit-profile-btn {
    position: absolute !important;

    top: 50% !important;
    right: 14px !important;

    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    z-index: 50 !important;
}

.account-header.collapsed #edit-profile-btn i {
    font-size: 21px !important;
}
/* =========================================================
   24. DASHBOARD LORSQUE LE HEADER EST COLLAPSED
   ========================================================= */
.account-header.collapsed ~ .dash-menu {
    margin-top: 112px !important;
}
/* =========================================================
   25. DASHBOARD LORSQUE LE HEADER EST NORMAL
   ========================================================= */
.account-header:not(.collapsed) ~ .dash-menu {
    margin-top: 590px !important;
}

/* =========================================================
   26. TABLETTE
   ========================================================= */

@media screen and (max-width: 900px) {

    .account-header {
        height: 520px !important;
    }

    .profile-cover {
        height: 225px !important;
    }

    .account-header .camera-btn {
        top: 160px !important;
    }

    .account-header:not(.collapsed) ~ .dash-menu {
        margin-top: 550px !important;
    }

    .dash-menu {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .dashboard {
        grid-template-columns:
            repeat(2, minmax(0, 1fr)) !important;

        gap: 18px !important;
    }

    .dashboard-card {
        min-height: 140px !important;

        padding: 24px 16px !important;
    }

    .dashboard-card h3 {
        font-size: 1.2rem !important;
    }

    .dashboard-card span {
        font-size: 1.45rem !important;
    }

    .account-menu {
        gap: 15px !important;
    }

    .account-menu .menu-item {
        min-height: 62px !important;

        font-size: 1.25rem !important;
    }
}


/* =========================================================
   27. TÉLÉPHONE
   ========================================================= */

@media screen and (max-width: 600px) {

    .account-header {
        height: 440px !important;
    }

    .profile-cover {
        height: 190px !important;
    }

    #profile-picture,
    .profile-image,
    [data-profile-image] {
        width: 100px !important;
        height: 100px !important;

        margin-top: -50px !important;
    }

    .account-header .camera-btn {
        left: calc(50% + 30px) !important;
        top: 155px !important;

        width: 36px !important;
        height: 36px !important;
    }

    .account-header .camera-btn i {
        font-size: 15px !important;
    }

    .profile-info {
        margin-top: 8px !important;

        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    #user-full-name {
        font-size: 1.45rem !important;
    }

    #account-badge {
        min-height: 40px !important;

        padding: 9px 22px !important;

        font-size: 1rem !important;
    }

    #user-email,
    #user-phone,
    #user-cni,
    .account-profile p {
        font-size: 0.95rem !important;

        line-height: 1.4 !important;
    }

    .account-header:not(.collapsed) ~ .dash-menu {
        margin-top: 470px !important;
    }

    .account-header.collapsed {
        height: 78px !important;
    }

    .account-header.collapsed .profile-picture-container {
        left: 10px !important;

        width: 54px !important;
        height: 54px !important;
    }

    .account-header.collapsed .profile-image,
    .account-header.collapsed #profile-picture {
        width: 54px !important;
        height: 54px !important;
    }

    .account-header.collapsed .profile-info {
        left: 130px !important;
        right: 65px !important;
    }

    .account-header.collapsed #user-full-name {
        font-size: 1rem !important;
    }

    .account-header.collapsed #account-badge {
        min-height: 27px !important;

        padding: 5px 14px !important;

        font-size: 0.72rem !important;
    }

    .account-header.collapsed #edit-profile-btn {
        right: 10px !important;

        width: 44px !important;
        height: 44px !important;
    }

    .account-header.collapsed ~ .dash-menu {
        margin-top: 100px !important;
    }

    .dash-menu {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .dashboard {
        grid-template-columns: 1fr !important;

        gap: 14px !important;
    }

    .dashboard-card {
        min-height: 125px !important;

        padding: 22px 14px !important;

        border-radius: 22px !important;
    }

    .dashboard-card h3 {
        font-size: 1.05rem !important;

        margin-bottom: 14px !important;
    }

    .dashboard-card h3 img {
        width: 30px !important;
        height: 30px !important;

        flex-basis: 30px !important;
    }

    .dashboard-card span {
        font-size: 1.35rem !important;
    }

    .account-menu {
        margin-top: 22px !important;

        gap: 13px !important;
    }

    .account-menu .menu-item {
        min-height: 58px !important;

        padding: 12px 14px !important;

        border-radius: 17px !important;

        font-size: 1.05rem !important;
    }

    .account-menu .menu-item img {
        width: 30px !important;
        height: 30px !important;

        min-width: 30px !important;
    }

    #logout-btn {
        min-height: 54px !important;

        font-size: 1.15rem !important;
    }
}


/* =========================================================
   28. TRÈS PETITS TÉLÉPHONES
   ========================================================= */

@media screen and (max-width: 380px) {

    .account-header.collapsed .profile-info {
        left: 130px !important;
        right: 58px !important;
    }

    .account-header.collapsed #user-full-name {
        font-size: 0.9rem !important;
    }

    .account-header.collapsed #account-badge {
        padding: 5px 11px !important;

        font-size: 0.68rem !important;
    }

    .account-header.collapsed #edit-profile-btn {
        right: 8px !important;

        width: 40px !important;
        height: 40px !important;
    }

    .dashboard-card {
        min-height: 118px !important;
    }

    .dashboard-card h3 {
        font-size: 0.98rem !important;
    }

    .dashboard-card span {
        font-size: 1.25rem !important;
    }

    .account-menu .menu-item {
        font-size: 1rem !important;
    }
}


/* =========================================================
   29. ÉCRANS LARGES
   ========================================================= */

@media screen and (min-width: 1200px) {

    .account-header {
        height: 560px !important;
    }

    .profile-cover {
        height: 250px !important;
    }

    .account-header .camera-btn {
        top: 280 !important;
    }

    .dashboard {
        gap: 22px !important;
    }

    .dashboard-card {
        min-height: 150px !important;
    }

    .account-menu {
        gap: 16px !important;
    }
}


/* =========================================================
   30. GRILLES / CARTES SUPPLÉMENTAIRES ACCOUNT
   ========================================================= */

.account-final-card {
    width: 100% !important;

    min-width: 0 !important;
}

.account-final-grid {
    display: grid !important;

    grid-template-columns:
        repeat(2, minmax(0, 1fr)) !important;

    gap: 18px !important;
}

.account-final-grid > * {
    min-width: 0 !important;
}

.account-final-row {
    display: flex !important;

    align-items: center !important;
    justify-content: space-between !important;

    gap: 12px !important;

    min-width: 0 !important;
}

.account-final-row > * {
    min-width: 0 !important;
}


@media screen and (max-width: 900px) {

    .account-final-grid {
        grid-template-columns: 1fr !important;
    }
}


@media screen and (max-width: 640px) {

    .account-final-row {
        align-items: flex-start !important;

        flex-direction: column !important;
    }

    input,
    select,
    textarea,
    button {
        max-width: 100% !important;
    }
}


/* =========================================================
   31. ANIMATION
   ========================================================= */

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/*********************************************************Details******************************************************************/
.details-container{
    width:90%;
    max-width:1400px;
    margin:120px auto 50px;
}

@media (min-width: 1400px) {
    .details-container{
        max-width: 1600px;
    }
}
@media (min-width: 1800px) {
    .details-container{
        max-width: 1800px;
    }
}

.media-section{
    width:100%;
}

.carousel{
    position:relative;
    width:100%;
    height:600px;
    border-radius:18px;
    overflow:hidden;
    background:#111;
    box-shadow:0 15px 40px rgba(0,0,0,.45);
}

#gallery{
    width:100%;
    height:100%;
}

#gallery img,
#gallery video{
    width:100%;
    height:100%;
    object-fit:contain;
    display:block;
    background:#000;
}

.nav-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    width:55px;
    height:55px;
    border:none;
    border-radius:50%;
    cursor:pointer;
    font-size:28px;
    color:white;
    background:rgba(0,0,0,.45);
    transition:.3s;
    z-index:10;
}

.nav-btn:hover{
    background:#d4a017;
}

#prevBtn{
    left:20px;
}

#nextBtn{
    right:20px;
}

.thumbnails{
    display:flex;
    gap:12px;
    overflow-x:auto;
    margin-top:18px;
    padding-bottom:10px;
}

.thumbnails img,
.thumbnails video{
    width:120px;
    height:80px;
    border-radius:10px;
    cursor:pointer;
    object-fit:cover;
    border:3px solid transparent;
    transition:.3s;
}

.thumbnails img:hover,
.thumbnails video:hover{
    border-color:#d4a017;
}

.details-info{
    margin-top:40px;
}

#title{
    font-size:3rem;
    color:#fff;
    margin-bottom:10px;
}

#price{
    color:#d4a017;
    font-size:2.2rem;
    font-weight:bold;
    margin-bottom:25px;
}

#description{
    color:#ddd;
    font-size:1.2rem;
    line-height:1.8;
    margin-bottom:35px;
}

.property-card{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
    background:#161616;
    padding:30px;
    border-radius:18px;
}

.property-card div{
    color:white;
    font-size:1.1rem;
}

.property-card strong{
    color:#d4a017;
}

@media(max-width:900px){

    .carousel{
        height:420px;
    }

    .property-card{
        grid-template-columns:1fr;
    }

    #title{
        font-size:2.2rem;
    }

    #price{
        font-size:1.8rem;
    }

}

@media(max-width:600px){

    .details-container{
        width:95%;
    }

    .carousel{
        height:260px;
    }

    .nav-btn{
        width:42px;
        height:42px;
        font-size:22px;
    }

    .thumbnails img,
    .thumbnails video{
        width:80px;
        height:60px;
    }

    #title{
        font-size:1.8rem;
    }

    #description{
        font-size:1rem;
    }

}
/***********************************************************************************************************************************/
.social{
    position: relative;
    left: 44%;
    top: -15px;
    display: flex;
    gap: 20px;
}
.fi{
    position: relative;
    left: 20%;
    bottom: 3%;
    display: flex;
    gap:48px;
}
.fi a{
    color: white;
    text-decoration: none;
    font-size: 30px
}

/* Sans !important : les largeurs maximales propres à chaque élément
   (formulaires, cartes…) doivent pouvoir s'appliquer. */
*{
    max-width: 100%;
    box-sizing: border-box !important;
}
img, video, iframe{
    height: auto;
}

/* ========================================================== */
/* AJOUT DE MEDIA QUERIES RESPONSIVES POUR ADAPTER SUR MOBILE  */
/* ========================================================== */
@media screen and (max-width: 768px) {
    .main {
        width: 100% !important;
        max-width: 768px;
    }
    nav {
        left: 5% !important;
        gap: 15px !important;
        top: 0 !important;
    }
    #undernav {
        width: 40% !important;
        left: 5% !important;
        flex-direction:row !important;
        height: auto !important;
        padding: 15px !important;
    }
    #agent {
        flex-direction: row !important;
        left: 5% !important;
        gap: 50px !important;
    }
    #buy .icons-buy {
        width: 100% !important;
        flex-direction: column !important;
        height: auto !important;
    }
    .type {
        width: 90% !important;
        left: 5% !important;
        height: auto !important;
        padding: 20px;
    }
    .search-item input {
        width: 70vw !important;
    }
    .modal-overlay {
        left: 5% !important;
        width: 90% !important;
    }
    .modal-content {
        max-width: 90vw !important;
    }
}
/* ========================================================== */
/* MENU BURGER MOBILE : Masquer la nav de base et styler le tiroir */
/* ========================================================== */
@media screen and (max-width: 768px) {
    /* Cache la barre de navigation horizontale de base sur mobile */
    header nav {
        display: none !important;
    }

    /* Style du conteneur/bouton des trois points ou menu burger */
    .menu-mobile-btn {
        display: block !important;
        background: transparent;
        border: none;
        color: white;
        font-size: 30px;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 25px;
        z-index: 1100;
    }

    /* Le menu tiroir latéral qui s'ouvre lorsqu'il a la classe .active */
    header nav.active {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 75% !important;
        max-width: 700px !important;
        height: 100% !important;
        background-color: #111 !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 25px !important;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.8) !important;
        z-index: 1050 !important;
        margin-top: 0 !important;
    }
}

/* Par défaut sur grand écran, le bouton mobile est masqué */
.menu-mobile-btn {
    display: none;
}

/* ========================================================== */
/* RESPONSIVE COMPLÉMENTAIRE : compte, formulaires, vitrine     */
/* Uniquement des ajouts/overrides — aucune règle existante     */
/* n'est modifiée ou supprimée, même thème et mêmes principes.  */
/* ========================================================== */
@media screen and (max-width: 768px) {

    /* ---- Hero / accueil ---- */
    #slogan {
        font-size: 42px !important;
        left: 4% !important;
        width: 90% !important;
    }
    main:where(.main) p {
        font-size: 18px !important;
        left: 4% !important;
        width: 90% !important;
    }
    #discover {
        left: 4% !important;
    }
    #logo p {
        font-size: 26px !important;
    }

    /* ---- Barre de recherche sous le hero ---- */
    #undernav {
        width: 90% !important;
        flex-wrap: wrap !important;
        height: auto !important;
        gap: 15px !important;
        padding: 15px !important;
    }
    #undernav a, #undernav select {
        font-size: 15px !important;
        margin-left: 0 !important;
    }

    /* ---- Section Agent ---- */
    #agent {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 25px !important;
    }
    #agent img {
        width: 90% !important;
        height: auto !important;
    }
    .btn-agent {
        left: 5% !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    /* ---- Formulaires (Connexion / Inscription) ---- */
    .Sign h1, .Sign h3, .Newa h1 {
        left: 0 !important;
        width: 100% !important;
        font-size: 28px !important;
    }
    #logo-a img {
        left: 0 !important;
    }
    #email-number, #Password, .input, .inputype {
        margin-left: 0 !important;
        left: 0 !important;
        width: 85% !important;
        max-width: none !important;
        display: block;
        margin: 15px auto 0 !important;
    }
    .Sign-a, .Newp {
        left: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
        text-align: center !important;
    }
    #Sign-In button, #form button {
        left: 0 !important;
        margin: 20px auto 0 !important;
        width: 80% !important;
        max-width: 320px !important;
    }

    /* ---- Forfaits / Subscribe ---- */
    #typeaccount H2 {
        font-size: 2.2rem !important;
    }
    .type h1 {
        font-size: 2rem !important;
    }
    .type h3 {
        font-size: 1.4rem !important;
    }
    .type p, .type ul {
        font-size: 1.1rem !important;
    }

    /* ---- Vitrine des biens ---- */
    .carte-bien {
        width: 100% !important;
        max-width: 340px;
        margin: 15px auto !important;
    }
    .annonce-card {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        padding: 12px !important;
        margin-top: 90px !important;
    }
    .title { font-size: 18px !important; }
    .description { font-size: 15px !important; }
    .price { font-size: 17px !important; }
    #appartsmeub h1, #apparts h1, #chambreMeublés h1, #Chambre h1, #Locaux h1, #Maison h1,
    #Salledefete h1, #Studio h1, #Studiomeubles h1, #terrains h1, #Villasmeubles h1, #Villas h1 {
        font-size: 28px !important;
    }

    /* ---- Compte / tableau de bord ---- */
    .dash-menu {
        margin-top: 25% !important;
        padding: 0 12px !important;
    }
    .profile-cover {
        height: 130px !important;
    }
    .profile-image {
        width: 90px !important;
        height: 90px !important;
        margin-top: -70px !important;
    }
    #edit-profile-btn {
        margin-left: 0 !important;
        position: absolute !important;
        right: 5% !important;
        top: 8px !important;
    }
    .badge {
        display: block !important;
        margin: 10px auto !important;
        width: fit-content !important;
        font-size: 1.1rem !important;
        padding: 1vh 3vh !important;
    }
    #user-full-name {
        font-size: 2.2vh !important;
    }
    #user-email, #user-phone, #user-cni, .account-profile p {
        font-size: 1.8vh !important;
    }
    .dashboard {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.8rem !important;
    }
    .dashboard-card {
        padding: 6% !important;
    }
    .dashboard-card h3 {
        font-size: 1.1rem !important;
    }
    .dashboard-card span {
        font-size: 1.3rem !important;
    }
    .account-menu .menu-item {
        font-size: 1.1rem !important;
        padding: 14px !important;
    }
    #logout-btn {
        width: 100% !important;
        height: 6vh !important;
        font-size: 1.4rem !important;
    }
    .modal-overlay {
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    .modal-content {
        max-width: 88vw !important;
        height: auto !important;
        padding: 6% 4% !important;
    }
    .modal-content p {
        font-size: 1.4rem !important;
    }

    /* ---- Pied de page / réseaux sociaux ---- */
    .social, .fi {
        left: 0 !important;
        width: 100% !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
}

/* Tablettes/petits écrans intermédiaires : la grille du dashboard reste sur
   deux colonnes jusqu'à 480px, puis passe en une seule colonne pour éviter
   des cartes trop étroites sur les très petits téléphones. */
@media screen and (max-width: 480px) {
    .dashboard {
        grid-template-columns: 1fr !important;
    }
    .annonce-card {
        grid-template-columns: 1fr !important;
    }
    #slogan {
        font-size: 32px !important;
    }
}

/* ========================================================== */
/* PAGE PARAMÈTRES & PAGE MON ABONNEMENT (style professionnel) */
/* Même thème que le reste du site : fond noir, accents dorés, */
/* cartes blanches arrondies comme .dashboard-card/.modal-content */
/* ========================================================== */
.settings-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 70px;
    background-color: #111;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 5%;
    z-index: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.back-btn-settings {
    background: transparent;
    border: none;
    color: goldenrod;
    cursor: pointer;
}

.settings-header h1 {
    color: white;
    font-size: 1.8rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin: 0;
}

.settings-main {
    max-width: 700px;
    margin: 100px auto 60px;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.settings-group h2 {
    color: goldenrod;
    font-size: 1.3rem;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    margin-bottom: 12px;
}

.settings-card {
    background: white;
    border-radius: 3vh;
    padding: 5%;
    box-shadow: 0 3vh 5vh rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-card label {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.settings-input {
    width: 100%;
    height: 42px;
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 1rem;
    box-sizing: border-box;
}

.settings-input:focus {
    outline: none;
    border-color: goldenrod;
}

.settings-save-btn {
    margin-top: 10px;
    background-color: goldenrod;
    color: black;
    border: none;
    border-radius: 15px;
    height: 48px;
    font-size: 1.1rem;
    font-weight: 900;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.settings-save-btn:hover {
    background-color: #c99a1f;
}

.settings-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1rem;
    color: #333;
}

/* Interrupteur (toggle switch) façon applications pro */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch .slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: 0.3s;
}

.switch .slider::before {
    content: "";
    position: absolute;
    height: 22px;
    width: 22px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.switch input:checked + .slider {
    background-color: goldenrod;
}

.switch input:checked + .slider::before {
    transform: translateX(22px);
}

.settings-links {
    gap: 10px;
}

.settings-links a {
    color: #2563eb;
    text-decoration: none;
    font-size: 1rem;
}

.settings-links a:hover {
    text-decoration: underline;
}

.settings-version {
    color: #888;
    font-size: 0.85rem;
    margin-top: 8px;
}

.settings-danger {
    align-items: center;
}

.settings-danger-btn {
    width: 100%;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 15px;
    height: 48px;
    font-size: 1.1rem;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    cursor: pointer;
    transition: 0.3s;
}

.settings-danger-btn:hover {
    background-color: #c0392b;
}

/********************************************** ---- Mon abonnement ---- ***********************************************/
.current-plan-card {
    background: radial-gradient(circle at 30% 30%, #2a2a2a, #111);
    border-radius: 3vh;
    padding: 6% 5%;
    box-shadow: 0 3vh 5vh rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.current-plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.current-plan-header .badge {
    margin: 0 !important;
    margin-right: auto !important;
    justify-self: flex-start !important;
}

/* Badges des cartes de forfait : toujours alignés à gauche.
   On ne touche pas au badge du profil Account. */
.type .badge,
.plan-card .badge {
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-self: flex-start !important;
}

.current-plan-price {
    color: goldenrod;
    font-size: 1.6rem;
    font-weight: bold;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.current-plan-cible {
    color: #ccc;
    font-size: 0.95rem;
    margin-top: 10px;
}

.current-plan-renewal {
    color: #999;
    font-size: 0.9rem;
    margin-top: 14px;
}

.usage-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #333;
}

.usage-row > span:first-child {
    width: 42%;
    flex-shrink: 0;
}

.usage-row > span:last-child {
    width: 70px;
    flex-shrink: 0;
    text-align: right;
    font-weight: bold;
}

.usage-bar {
    flex: 1;
    height: 10px;
    background: #eee;
    border-radius: 10px;
    overflow: hidden;
}

.usage-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, goldenrod, #f0c14b);
    border-radius: 10px;
    width: 0%;
    transition: width 0.4s ease;
}

.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plan-feature-list li {
    font-size: 0.95rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-feature-list li i {
    color: #27ae60;
    margin-top: 3px;
}

.billing-history {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.billing-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.92rem;
    color: #333;
}

.billing-history-item:last-child {
    border-bottom: none;
}

.billing-history-item .billing-amount {
    color: goldenrod;
    font-weight: bold;
}

.billing-empty {
    color: #888;
    font-size: 0.95rem;
    text-align: center;
    margin: 6px 0;
}


.usage-section {
    margin-top: 35px;
}

.usage-section h2 {
    color: #d4a017;
    margin-bottom: 18px;
}

.usage-card,
.boost-usage-card {
    background: #171717;
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
}

.usage-header,
.boost-usage-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.usage-header {
    margin-bottom: 12px;
}

.usage-title,
.boost-name {
    color: #e8e8e8;
    font-weight: 600;
}

.usage-header span:last-child,
.boost-usage-row > span:last-child {
    color: #d4a017;
    font-weight: 700;
}

.usage-progress {
    height: 8px;
    background: #292929;
    border-radius: 999px;
    overflow: hidden;
}

.usage-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(
        90deg,
        #9b6f00,
        #d4a017
    );
    border-radius: 999px;
    transition: width 0.4s ease;
}

.boost-usage-title {
    color: #d4a017;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.boost-usage-row {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.boost-usage-row:last-child {
    border-bottom: none;
}

.boost-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.boost-icon {
    width: 28px;
    text-align: center;
}

.boost-paid {
    color: #d4a017 !important;
}

@media screen and (max-width: 768px) {
    .settings-header {
        padding: 0 4%;
    }
    .settings-header h1 {
        font-size: 1.4rem;
    }
    .settings-main {
        margin: 90px auto 50px;
        gap: 22px;
    }
    .usage-row {
        flex-wrap: wrap;
    }
    .usage-row > span:first-child {
        width: 100%;
    }
    .usage-row > span:last-child {
        width: auto;
        margin-left: auto;
    }
}

/* =========================================================
   LANDORA — INSCRIPTION / VÉRIFICATION PROFESSIONNELLE
   ========================================================= */
.landora-signup-verification {
    margin: 18px 0;
    padding: 18px;
    border: 1px solid rgba(218,165,32,.35);
    border-radius: 16px;
    background: rgba(255,255,255,.035);
}
.landora-signup-verification[hidden] { display:none !important; }
.landora-signup-verification-head h3 { margin:0 0 7px; color:goldenrod; }
.landora-signup-verification-head h3 span { font-size:12px; color:#aaa; font-weight:400; margin-left:8px; }
.landora-signup-verification-head p { margin:0 0 15px; color:#bbb; font-size:13px; line-height:1.5; }
.landora-document-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:12px; }
.landora-document-field { display:flex; flex-direction:column; gap:7px; padding:12px; border:1px solid #2a2a2a; border-radius:12px; background:#080808; }
.landora-document-field label { color:#eee; font-size:13px; font-weight:600; }
.landora-document-field small { color:#777; line-height:1.35; }
.landora-document-field input[type=file] { color:#aaa; font-size:12px; }
.landora-upload-message { margin-top:10px; font-size:13px; color:#aaa; }
@media(max-width:600px){ .landora-document-grid{grid-template-columns:1fr;} }

/* ==========================================================
   LANDORA — DOCUMENTS DE VÉRIFICATION
   AGENT / AGENCE
   IMPORTANT :
   Ce bloc ne modifie PAS les inputs existants du formulaire.
   ========================================================== */
#landora-verification-documents {
    width: 100%;
    box-sizing: border-box;
    margin-top: 40px;
    padding: 25px;
}
.landora-verification-inner {
    width: min(850px, 90%);
    margin: 0 auto;
    padding: 25px;
    box-sizing: border-box;
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid goldenrod;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
}
.landora-verification-heading {
    text-align: center;
    margin-bottom: 25px;
}
.landora-verification-heading h3 {
    margin: 0 0 10px;
    color: goldenrod;
    font-size: 26px;
    font-family:'Franklin Gothic Medium','Arial Narrow', Arial, sans-serif;
}
.landora-verification-heading p {
    margin: 0;
    color: #ffffff;
    font-size: 16px;
    line-height: 1.5;
}
/* ----------------------------------------------------------
   LISTE DES DOCUMENTS
   ---------------------------------------------------------- */
.landora-verification-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
/* ----------------------------------------------------------
   CARTE D'UN DOCUMENT
   ---------------------------------------------------------- */
.landora-verification-document {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    background: #111111;
    border: 1px solid #333333;
    border-radius: 14px;
    box-sizing: border-box;
}
.landora-verification-document-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 0;
}
.landora-verification-document-label {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}
.landora-verification-document-info small {
    color: #999999;
    font-size: 13px;
}
/* ----------------------------------------------------------
   ZONE DU FICHIER
   ---------------------------------------------------------- */
.landora-file-picker {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
/*
 * On cache UNIQUEMENT le nouvel input file.
 *
 * Les autres inputs du formulaire ne sont absolument
 * pas concernés.
 */
.landora-verification-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
}
/* ----------------------------------------------------------
   BOUTON "CHOISIR UN FICHIER"
   ---------------------------------------------------------- */
.landora-file-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 190px;
    min-height: 44px;
    padding: 10px 16px;
    box-sizing: border-box;
    background: goldenrod;
    color: #000000;
    border-radius: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 800;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.landora-file-button:hover {
    transform: translateY(-2px);
    background: #d9a928;
    box-shadow: 0 5px 18px rgba(218, 165, 32, 0.35);
}
.landora-file-button:active {
    transform: translateY(0);
}
.landora-file-icon {
    font-size: 17px;
}
/* ----------------------------------------------------------
   NOM DU FICHIER
   ---------------------------------------------------------- */
.landora-file-name {
    display: block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
    font-size: 13px;
}
.landora-file-name.selected {
    color: goldenrod;
    font-weight: 700;
}
/* ----------------------------------------------------------
   ERREUR
   ---------------------------------------------------------- */
.landora-verification-error {
    margin: 18px 0 0;
    padding: 12px 15px;
    color: #ffffff;
    background: rgba(150, 30, 30, 0.25);
    border: 1px solid #9b3030;
    border-radius: 10px;
    font-size: 14px;
}

/* ----------------------------------------------------------
   NOTE
   ---------------------------------------------------------- */
.landora-verification-note {
    margin: 20px 0 0;
    color: #999999;
    font-size: 13px;
    text-align: center;
}
/* ==========================================================
   MOBILE
   ========================================================== */
@media (max-width: 768px) {
    #landora-verification-documents {
        padding: 15px 0;
    }
    .landora-verification-inner {
        width: 90%;
        padding: 18px;
    }
    .landora-verification-heading h3 {
        font-size: 22px;
    }

    .landora-verification-heading p {
        font-size: 14px;
    }
    .landora-verification-document {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .landora-file-picker {
        flex-direction: column;
        align-items: stretch;
    }
    .landora-file-button {
        width: 100%;
    }
    .landora-file-name {
        max-width: 100%;
        text-align: center;
    }
}

/* =========================================================
   VÉRIFICATION DE PROPRIÉTÉ — CARTES DES BIENS
   ========================================================= */

.property-verification-card-badge {
    width: fit-content;
    max-width: 100%;
    min-height: 36px;

    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin: 12px 0 10px;
    padding: 8px 13px;

    box-sizing: border-box;

    background: #17130a;
    border: 1px solid #8a6a20;
    border-radius: 999px;

    color: #f1f1f1;

    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.35);
}

.property-verification-card-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d9a52b;
    color: #080808;

    font-size: 12px;
}

.property-verification-card-badge.verified {
    background: #17130a;
    border-color: #d9a52b;
}

.property-verification-card-badge.verified
.property-verification-card-icon {
    background: #d9a52b;
    color: #080808;
}

/* Non vérifiée */
.property-verification-card-badge:not(.verified) {
    background: #16181a;
    border-color: #555b60;
    color: #e5e5e5;
}

.property-verification-card-badge:not(.verified)
.property-verification-card-icon {
    background: #363b40;
    color: #e5e5e5;
}

/* Vérification en cours */
.property-verification-card-badge:not(.verified) {
    color: #eeeeee;
}

/* Évite que le badge déborde sur les petites cartes */
@media (max-width: 600px) {
    .property-verification-card-badge {
        font-size: 12px;
        padding: 7px 10px;
    }

    .property-verification-card-icon {
        width: 22px;
        height: 22px;
        min-width: 22px;
    }
}

/* =========================================================
   CORRECTION ESTHÉTIQUE — BADGE DE VÉRIFICATION DES CARTES
   Le badge est retiré du flux vertical de la carte.
   Il reste fixé en bas à gauche, comme l'œil est fixé en bas
   à droite. Une location sans badge ne décale donc rien.
   ========================================================= */

.carte-bien .property-verification-card-slot {
    position: absolute;
    left: 16px;
    bottom: 5px;

    width: calc(100% - 72px);
    height: 36px;
    min-height: 36px;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
    z-index: 4;

    pointer-events: none;
}

.carte-bien .property-verification-card-slot.no-verification {
    display: none;
}

.carte-bien .property-verification-card-slot.has-verification {
    display: flex;
}

.carte-bien .property-verification-card-badge {
    position: relative;

    width: auto;
    max-width: 100%;
    height: 34px;
    min-height: 34px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0;
    padding: 5px 10px;

    box-sizing: border-box;

    border-radius: 18px;

    color: #f5f5f5;
    background: rgba(20, 20, 20, 0.94);
    border: 1px solid rgba(218, 165, 32, 0.65);

    font-size: 11px;
    font-weight: 700;
    line-height: 1;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.carte-bien .property-verification-card-badge > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.carte-bien .property-verification-card-icon {
    width: 21px;
    height: 21px;
    min-width: 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #3b3b3b;
    color: #ffffff;

    font-size: 10px;
}

.carte-bien .property-verification-card-badge.verified {
    background: rgba(25, 21, 10, 0.96);
    border-color: #c9a227;
    color: #f2d675;
}

.carte-bien .property-verification-card-badge.verified
.property-verification-card-icon {
    background: #d4af37;
    color: #111111;
}

/*
 * Le bouton/compteur de vues reste indépendant à droite.
 * Le badge reste à gauche : aucun chevauchement visuel.
 */
.carte-bien .eye-container {
    bottom: 16px;
    right: 16px;
    z-index: 5;
}

@media (max-width: 600px) {
    .carte-bien .property-verification-card-slot {
        left: 12px;
        bottom: 5px;
        width: calc(100% - 60px);
    }

    .carte-bien .property-verification-card-badge {
        height: 32px;
        min-height: 32px;
        padding: 5px 9px;
        font-size: 10px;
    }

    .carte-bien .property-verification-card-icon {
        width: 20px;
        height: 20px;
        min-width: 20px;
    }
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: #b8941f #111;
}


/* Chrome / Edge / Safari */
*::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}


/* Fond de la scrollbar */
*::-webkit-scrollbar-track {
    background: #111;
    border-radius: 10px;
}


/* Curseur */
*::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #f4cf55 0%,
        #d4af37 50%,
        #a88416 100%
    );

    border-radius: 10px;

    border: 1px solid rgba(212,175,55,.35);
}


/* Curseur au survol */
*::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #ffe58a 0%,
        #d4af37 50%,
        #b8941f 100%
    );
}


/* Coins de la scrollbar */
*::-webkit-scrollbar-corner {
    background: #111;
}


/* ========================================================== */
/* BARRE DE NAVIGATION ORDINATEUR : calée à droite, jamais     */
/* hors de l'écran (7 liens + « Se connecter » / photo).       */
/* ========================================================== */
@media screen and (min-width: 769px) {
    header nav {
        left: auto;
        margin-left: auto;
        margin-right: clamp(16px, 2.5vw, 48px);
        width: max-content;
        max-width: calc(100% - 32px);
        gap: clamp(12px, 1.7vw, 50px);
    }
    header nav a {
        font-size: clamp(14px, 1.25vw, 20px);
        white-space: nowrap;
    }
    header nav button {
        width: auto;
        min-width: 0;
        padding: 0 clamp(14px, 1.3vw, 26px);
        margin-left: clamp(4px, 0.8vw, 30px);
        white-space: nowrap;
    }
    header nav .account-created {
        right: 0;
    }
}


/* ==========================================
   ACCUEIL — BIENS À LA UNE : rangée horizontale
   (défilement au doigt / à la molette / flèches)
   ========================================== */
#biens-boostes.landora-hscroll {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    gap: 20px;
    padding: 16px 20px 20px;
}
#biens-boostes.landora-hscroll > * {
    flex: 0 0 clamp(240px, 23%, 320px);
    scroll-snap-align: start;
    margin: 0;
}
.landora-hscroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 4px auto 30px;
}
.landora-hscroll-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, .5);
    background: transparent;
    color: goldenrod;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.landora-hscroll-arrow:hover { background: rgba(212, 175, 55, .12); }
.landora-see-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 26px;
    border-radius: 24px;
    background: goldenrod;
    color: #111;
    font-weight: bold;
    text-decoration: none;
}
.landora-see-more:hover { filter: brightness(1.08); }
@media (max-width: 768px) {
    #biens-boostes.landora-hscroll > * { flex-basis: 75%; }
    .landora-hscroll-arrow { display: none; }
}
