/* =================================================================
   RC PATRIMOINE — Design system global
   Palette noir / crème / or, typo géométrique + serif Playfair.
   ================================================================= */

:root {
    --noir: #0B0B0C;
    --noir-2: #141416;
    --noir-3: #1c1c20;
    --blanc: #FFFFFF;
    --creme: #F6F5F3;
    --creme-2: #EFEDE8;
    --or: #B98A2F;
    --or-clair: #C9A227;
    --or-soft: #d9b866;
    --texte: #1A1A1A;
    --texte-sec: #6B6B6B;
    --vert: #2E7D32;
    --bordure: #E5E2DC;
    --bordure-sombre: rgba(255, 255, 255, .12);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-script: 'Dancing Script', 'Snell Roundhand', 'Brush Script MT', cursive;

    --ombre-carte: 0 18px 50px rgba(11, 16, 32, .07);
    --ombre-carte-hover: 0 26px 60px rgba(11, 16, 32, .14);
    --rayon: 12px;
    --rayon-sm: 6px;
    --contenu: 1240px;
    --transi: 200ms ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--texte);
    background: var(--blanc);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---- Conteneur ---- */
.contenu { max-width: var(--contenu); margin: 0 auto; padding: 0 24px; }

/* ---- Sur-titre doré (surtitre de section) ---- */
.surtitre {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--or);
    margin-bottom: 18px;
}

/* ---- Titres accent doré ---- */
.accent-or { color: var(--or-clair); }

/* =================================================================
   BOUTONS
   ================================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 15px 28px;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: var(--rayon-sm);
    transition: var(--transi);
    white-space: nowrap;
    line-height: 1;
}
.btn svg { width: 17px; height: 17px; flex-shrink: 0; }
.btn-or {
    background: linear-gradient(135deg, var(--or-clair), var(--or));
    color: #fff;
    box-shadow: 0 10px 26px rgba(185, 138, 47, .28);
}
.btn-or:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(185, 138, 47, .38); }
.btn-noir { background: var(--noir); color: #fff; }
.btn-noir:hover { background: var(--noir-3); transform: translateY(-2px); }
.btn-outline-or {
    background: transparent;
    color: var(--or-clair);
    border-color: rgba(201, 162, 39, .5);
}
.btn-outline-or:hover { border-color: var(--or-clair); background: rgba(201, 162, 39, .08); }
.btn-outline-sombre {
    background: transparent;
    color: var(--texte);
    border-color: var(--bordure);
}
.btn-outline-sombre:hover { border-color: var(--or); color: var(--or); }
.btn-bloc { width: 100%; }
.btn-lien-or {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--or); font-weight: 700; font-size: .8rem;
    letter-spacing: .1em; text-transform: uppercase;
}
.btn-lien-or:hover { gap: 12px; }

/* =================================================================
   EN-TÊTE
   ================================================================= */
.entete {
    position: sticky; top: 0; z-index: 100;
    background: var(--noir);
    border-bottom: 1px solid var(--bordure-sombre);
}
.entete-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 84px;
    max-width: var(--contenu); margin: 0 auto; padding: 0 24px;
}
.logo-rc { display: flex; align-items: center; }
.logo-rc svg { height: 46px; width: auto; }
.nav-principale { display: flex; align-items: center; gap: 38px; }
.nav-principale a {
    position: relative;
    font-size: .8rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: rgba(255, 255, 255, .82);
    padding: 6px 0; transition: var(--transi);
}
.nav-principale a:hover { color: #fff; }
.nav-principale a.actif { color: var(--or-clair); }
.nav-principale a.actif::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
    height: 2px; background: var(--or-clair); border-radius: 2px;
}
.entete-actions { display: flex; align-items: center; gap: 16px; }
.burger {
    display: none; background: none; border: none; padding: 8px;
    color: #fff;
}
.burger svg { width: 26px; height: 26px; }

/* Menu mobile */
.nav-mobile {
    position: fixed; inset: 0; z-index: 200;
    background: var(--noir);
    transform: translateX(100%); transition: transform 300ms ease;
    display: flex; flex-direction: column; padding: 28px 24px;
    overflow-y: auto;
}
.nav-mobile.ouvert { transform: translateX(0); }
.nav-mobile-haut { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.nav-mobile a {
    font-size: 1.1rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: rgba(255, 255, 255, .85); padding: 18px 0; border-bottom: 1px solid var(--bordure-sombre);
}
.nav-mobile a.actif { color: var(--or-clair); }
.nav-mobile .btn { margin-top: 28px; }
.fermer-mobile { background: none; border: none; color: #fff; padding: 8px; }
.fermer-mobile svg { width: 26px; height: 26px; }

/* =================================================================
   PIED DE PAGE
   ================================================================= */
.pied {
    background: var(--noir); color: rgba(255, 255, 255, .68);
    padding: 72px 0 32px;
}
.pied-grille {
    display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px;
    padding-bottom: 48px; border-bottom: 1px solid var(--bordure-sombre);
}
.pied h4 {
    font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
    color: #fff; margin-bottom: 20px; font-weight: 700;
}
.pied-col p { font-size: .92rem; line-height: 1.8; margin-bottom: 10px; }
.pied-col a { display: block; font-size: .92rem; padding: 7px 0; transition: var(--transi); }
.pied-col a:hover { color: var(--or-clair); }
.pied .logo-rc svg { height: 52px; margin-bottom: 20px; }
.pied-bas {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 28px; flex-wrap: wrap; gap: 20px;
}
.pied-baseline {
    display: flex; align-items: center; gap: 14px;
    font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--or-clair);
    font-weight: 600;
}
.pied-baseline svg { height: 40px; width: auto; }
.pied-legal { display: flex; gap: 24px; font-size: .8rem; }
.pied-copyright { font-size: .8rem; color: rgba(255, 255, 255, .45); }

/* =================================================================
   HÉRO ACCUEIL
   ================================================================= */
.hero {
    position: relative;
    background: var(--noir);
    color: #fff;
    overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(11,11,12,.96) 0%, rgba(11,11,12,.86) 42%, rgba(11,11,12,.42) 100%);
}
.hero-inner {
    position: relative; z-index: 1;
    max-width: var(--contenu); margin: 0 auto; padding: 92px 24px 150px;
    display: grid; grid-template-columns: 1.35fr .85fr; gap: 40px; align-items: start;
}
.hero h1 { font-size: clamp(2.6rem, 5vw, 4.1rem); line-height: 1.03; margin-bottom: 26px; }
.hero h1 span { display: block; }
.hero-desc { font-size: 1.05rem; color: rgba(255, 255, 255, .8); max-width: 480px; margin-bottom: 34px; }

.hero-piliers { display: flex; gap: 34px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-pilier { display: flex; gap: 14px; max-width: 210px; }
.hero-pilier .ic {
    width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid rgba(201, 162, 39, .4); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: var(--or-clair);
}
.hero-pilier .ic svg { width: 22px; height: 22px; }
.hero-pilier h4 { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 5px; }
.hero-pilier p { font-size: .82rem; color: rgba(255, 255, 255, .62); line-height: 1.45; }

/* Carte stats */
.hero-stats {
    background: rgba(20, 20, 22, .72);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bordure-sombre);
    border-radius: 16px; padding: 12px 26px;
}
.hero-stat {
    display: flex; align-items: center; gap: 18px;
    padding: 20px 0; border-bottom: 1px solid var(--bordure-sombre);
}
.hero-stat:last-child { border-bottom: none; }
.hero-stat .ic { width: 40px; flex-shrink: 0; color: var(--or-clair); }
.hero-stat .ic svg { width: 30px; height: 30px; }
.hero-stat .val { font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1; min-width: 74px; }
.hero-stat .lbl { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .62); line-height: 1.3; }

/* =================================================================
   BARRE DE FILTRES
   ================================================================= */
.filtres-barre {
    position: relative; z-index: 5;
    max-width: var(--contenu); margin: -56px auto 0; padding: 0 24px;
}
.filtres-barre form {
    background: #fff; border-radius: 16px; box-shadow: var(--ombre-carte);
    border: 1px solid var(--bordure);
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 4px; padding: 14px;
    align-items: stretch;
}
.filtre-champ {
    display: flex; align-items: center; gap: 12px; padding: 12px 16px;
    border-right: 1px solid var(--bordure);
}
.filtre-champ:nth-child(4) { border-right: none; }
.filtre-champ .ic { color: var(--or); flex-shrink: 0; }
.filtre-champ .ic svg { width: 22px; height: 22px; }
.filtre-champ label { display: block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-sec); margin-bottom: 2px; }
.filtre-champ select {
    border: none; background: transparent; font-family: inherit; font-size: .95rem;
    font-weight: 600; color: var(--texte); width: 100%; padding: 0; outline: none;
    -webkit-appearance: none; appearance: none; cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B6B6B' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right center; padding-right: 20px;
}
.filtres-barre .btn { border-radius: 12px; }

/* =================================================================
   SECTIONS GÉNÉRIQUES
   ================================================================= */
.section { padding: 90px 0; }
.section-creme { background: var(--creme); }
.section-noir { background: var(--noir); color: #fff; }
.section-titre-ligne {
    display: flex; align-items: flex-end; justify-content: space-between;
    margin-bottom: 40px; gap: 20px; flex-wrap: wrap;
}
.section-titre h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-titre .barre-or { width: 54px; height: 3px; background: var(--or); border-radius: 3px; margin-bottom: 16px; }
.section-centre { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section-centre .surtitre { display: block; }
.section-centre h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-centre p { color: var(--texte-sec); font-size: 1.05rem; }

/* =================================================================
   CARTES IMMEUBLES
   ================================================================= */
.grille-immeubles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.carte-immeuble {
    background: #fff; border: 1px solid var(--bordure); border-radius: var(--rayon);
    overflow: hidden; display: flex; flex-direction: column;
    transition: var(--transi); box-shadow: var(--ombre-carte);
}
.carte-immeuble:hover { transform: translateY(-6px); box-shadow: var(--ombre-carte-hover); }
.carte-photo { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.carte-immeuble:hover .carte-photo img { transform: scale(1.05); }
.carte-ville {
    position: absolute; left: 12px; top: 12px;
    display: flex; align-items: center; gap: 6px;
    background: rgba(11, 11, 12, .7); backdrop-filter: blur(4px);
    color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em;
    padding: 7px 12px; border-radius: 8px;
}
.carte-ville svg { width: 14px; height: 14px; color: var(--or-clair); }
.carte-compteur {
    position: absolute; right: 12px; top: 12px;
    background: #fff; border-radius: 8px; padding: 6px 11px; text-align: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.carte-compteur .nb { font-size: .8rem; font-weight: 800; color: var(--texte); display: block; line-height: 1.15; }
.carte-compteur .dispo { font-size: .6rem; font-weight: 700; letter-spacing: .06em; color: var(--vert); text-transform: uppercase; }
.carte-badge {
    position: absolute; left: 12px; top: 12px;
    font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase;
    padding: 6px 11px; border-radius: 6px;
}
.carte-badge.nouveaute { background: linear-gradient(135deg, var(--or-clair), var(--or)); color: #fff; }
.carte-badge.exclusivite { background: var(--noir); color: #fff; }
.carte-corps { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.carte-lieu { display: none; align-items: center; gap: 6px; font-weight: 800; font-size: 1.02rem; color: var(--texte); }
.carte-lieu svg { width: 16px; height: 16px; color: var(--or); }
.carte-soustitre { display: none; font-size: .85rem; color: var(--texte-sec); margin: 3px 0 16px; }
.carte-metrics {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    padding: 14px 0; border-top: 1px solid var(--bordure); border-bottom: 1px solid var(--bordure);
    margin-bottom: 16px;
}
.carte-metric .k { font-size: .58rem; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-sec); margin-bottom: 4px; }
.carte-metric .v { font-size: .92rem; font-weight: 800; color: var(--texte); line-height: 1.1; }
.carte-metric .v.or { color: var(--or); }
.carte-immeuble .btn { margin-top: auto; }

/* =================================================================
   BANDEAU RÉASSURANCES
   ================================================================= */
.reassurances { background: var(--creme); border-top: 1px solid var(--bordure); }
.reassurances-grille { display: grid; grid-template-columns: repeat(4, 1fr); }
.reassurance {
    display: flex; gap: 16px; padding: 40px 30px;
    border-right: 1px solid var(--bordure);
}
.reassurance:last-child { border-right: none; }
.reassurance .ic {
    width: 46px; height: 46px; flex-shrink: 0; border-radius: 50%;
    background: #fff; border: 1px solid var(--bordure);
    display: flex; align-items: center; justify-content: center; color: var(--or);
}
.reassurance .ic svg { width: 24px; height: 24px; }
.reassurance h4 { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.reassurance p { font-size: .85rem; color: var(--texte-sec); line-height: 1.5; }

/* =================================================================
   FLASH / ALERTES
   ================================================================= */
.flash {
    border-radius: var(--rayon); padding: 15px 20px; font-size: .92rem; font-weight: 600;
    margin-bottom: 22px; border: 1px solid;
}
.flash.success { background: #ecfdf5; border-color: #a7f3d0; color: #157f3b; }
.flash.error   { background: #fef2f2; border-color: #fecaca; color: #b91c1c; }
.flash.warning { background: #fffbeb; border-color: #fde68a; color: #b45309; }
.flash.info    { background: #eff6ff; border-color: #bfdbfe; color: #1d4ed8; }

/* =================================================================
   FORMULAIRES (base)
   ================================================================= */
.champ { margin-bottom: 16px; }
.champ label { display: block; font-size: .82rem; font-weight: 600; color: var(--texte); margin-bottom: 7px; }
.champ .avec-icone { position: relative; }
.champ .avec-icone svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--texte-sec); pointer-events: none; }
.champ input, .champ select, .champ textarea {
    width: 100%; font-family: inherit; font-size: .95rem; color: var(--texte);
    padding: 14px 16px; border: 1px solid var(--bordure); border-radius: 10px;
    background: #fff; outline: none; transition: var(--transi);
}
.champ .avec-icone input, .champ .avec-icone select { padding-left: 44px; }
.champ input:focus, .champ select:focus, .champ textarea:focus { border-color: var(--or); box-shadow: 0 0 0 3px rgba(185, 138, 47, .12); }
.champ textarea { resize: vertical; min-height: 130px; }
.champ-rgpd { display: flex; align-items: flex-start; gap: 10px; font-size: .85rem; color: var(--texte-sec); }
.champ-rgpd input { width: auto; margin-top: 3px; }

/* =================================================================
   UTILITAIRES
   ================================================================= */
.text-centre { text-align: center; }
.mt-40 { margin-top: 40px; }
.masque { display: none !important; }
.pastille { display: inline-flex; align-items: center; gap: 6px; font-size: .74rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.pastille.dispo { background: #ecfdf5; color: var(--vert); }
.pastille.ambre { background: #fffbeb; color: #b45309; }
.pastille.loue  { background: #eef2f7; color: #475569; }
.pastille.vendu { background: #fef2f2; color: #b91c1c; }

/* =================================================================
   PLACEHOLDER MÉDIA (monogramme RC)
   ================================================================= */
.rc-placeholder { display: block; width: 100%; height: 100%; }
.rc-placeholder svg { width: 100%; height: 100%; object-fit: cover; display: block; }

/* =================================================================
   HÉRO DE PAGE INTÉRIEURE (méthode, à propos, contact, listes)
   ================================================================= */
.page-hero { position: relative; background: var(--noir); color: #fff; overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,12,.95), rgba(11,11,12,.6)); }
.page-hero-inner { position: relative; z-index: 1; max-width: var(--contenu); margin: 0 auto; padding: 84px 24px; }
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.2rem); max-width: 760px; margin-bottom: 22px; }
.page-hero p.chapo { font-size: 1.08rem; color: rgba(255,255,255,.8); max-width: 620px; }
.fil-ariane { display: inline-flex; align-items: center; gap: 8px; color: rgba(255,255,255,.7); font-size: .85rem; font-weight: 600; margin-bottom: 20px; }
.fil-ariane:hover { color: var(--or-clair); }
.fil-ariane svg { width: 18px; height: 18px; }

/* =================================================================
   AUTHENTIFICATION (connexion, inscription, mot de passe)
   ================================================================= */
.auth-wrap { display: grid; grid-template-columns: 1fr 1fr; min-height: calc(100vh - 84px); }
.auth-brand { position: relative; background: var(--noir); color: #fff; padding: 70px 56px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.auth-brand::before { content: ""; position: absolute; inset: 0; background-image: url("/assets/img/hero-batiment.webp"); background-size: cover; background-position: center; opacity: .22; }
.auth-brand > * { position: relative; z-index: 1; }
.auth-brand .surtitre { display: block; }
.auth-brand h2 { font-size: 2.1rem; margin-bottom: 20px; line-height: 1.15; }
.auth-brand p { color: rgba(255,255,255,.72); max-width: 400px; margin-bottom: 34px; }
.auth-avantages li { display: flex; align-items: center; gap: 12px; padding: 11px 0; color: rgba(255,255,255,.85); font-size: .95rem; }
.auth-avantages svg { width: 20px; height: 20px; color: var(--or-clair); flex-shrink: 0; }
.auth-form-col { display: flex; align-items: center; justify-content: center; padding: 56px 24px; background: var(--creme); }
.auth-card { width: 100%; max-width: 430px; background: #fff; border: 1px solid var(--bordure); border-radius: 18px; box-shadow: var(--ombre-carte); padding: 40px; }
.auth-card .logo-rc { color: var(--noir); display: inline-flex; margin-bottom: 26px; }
.auth-card .logo-rc svg { height: 44px; }
.auth-card h1 { font-size: 1.7rem; margin-bottom: 6px; }
.auth-card .sous { color: var(--texte-sec); font-size: .95rem; margin-bottom: 26px; }
.auth-card .btn { margin-top: 8px; }
.auth-liens { display: flex; justify-content: space-between; margin-top: 20px; font-size: .88rem; flex-wrap: wrap; gap: 10px; }
.auth-liens a { color: var(--or); font-weight: 600; }
.auth-bas { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--bordure); text-align: center; font-size: .9rem; color: var(--texte-sec); }
.auth-bas a { color: var(--or); font-weight: 700; }
.champ-mdp { position: relative; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

@media (max-width: 900px) {
    .auth-wrap { grid-template-columns: 1fr; }
    .auth-brand { display: none; }
    .grille-2 { grid-template-columns: 1fr; }
}

/* =================================================================
   MODALE
   ================================================================= */
.rc-modal { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(11,11,12,.6); backdrop-filter: blur(3px); }
.rc-modal.ouvert { display: flex; }
.rc-modal-box { background: #fff; border-radius: 18px; width: 100%; max-width: 460px; padding: 32px; box-shadow: 0 30px 80px rgba(0,0,0,.35); max-height: 92vh; overflow-y: auto; }
.rc-modal-box h3 { font-size: 1.35rem; margin-bottom: 6px; }
.rc-modal-box .sous { color: var(--texte-sec); font-size: .92rem; margin-bottom: 22px; }
.rc-modal-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.rc-modal-fermer { background: none; border: none; color: var(--texte-sec); padding: 4px; cursor: pointer; }
.rc-modal-fermer svg { width: 24px; height: 24px; }

/* =================================================================
   LIGHTBOX
   ================================================================= */
.rc-lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(11,11,12,.92); }
.rc-lightbox.ouvert { display: flex; }
.rc-lightbox img, .rc-lightbox .rc-placeholder { max-width: 90vw; max-height: 86vh; border-radius: 10px; width: auto; height: auto; }
.rc-lightbox .rc-placeholder { width: 70vw; height: 60vh; }
.rc-lb-fermer { position: absolute; top: 22px; right: 26px; background: none; border: none; color: #fff; cursor: pointer; }
.rc-lb-fermer svg { width: 32px; height: 32px; }
.rc-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); color: #fff; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.rc-lb-nav:hover { background: rgba(255,255,255,.24); }
.rc-lb-nav.prev { left: 24px; } .rc-lb-nav.suiv { right: 24px; }
.rc-lb-nav svg { width: 26px; height: 26px; }

/* =================================================================
   TOASTS
   ================================================================= */
.rc-toasts { position: fixed; right: 20px; bottom: 20px; z-index: 500; display: flex; flex-direction: column; gap: 10px; }
.rc-toast { background: var(--noir); color: #fff; padding: 14px 20px; border-radius: 10px; font-size: .9rem; font-weight: 600; box-shadow: 0 14px 40px rgba(0,0,0,.3); display: flex; align-items: center; gap: 10px; animation: rc-toast-in .3s ease; max-width: 340px; }
.rc-toast.success { border-left: 3px solid var(--vert); }
.rc-toast.error { border-left: 3px solid #ef4444; }
.rc-toast svg { width: 20px; height: 20px; flex-shrink: 0; }
@keyframes rc-toast-in { from { transform: translateX(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* =================================================================
   RESPONSIVE
   ================================================================= */
@media (max-width: 1080px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-stats { max-width: 460px; }
    .grille-immeubles { grid-template-columns: repeat(2, 1fr); }
    .reassurances-grille { grid-template-columns: repeat(2, 1fr); }
    .reassurance:nth-child(2) { border-right: none; }
    .reassurance { border-bottom: 1px solid var(--bordure); }
    .pied-grille { grid-template-columns: 1fr 1fr; }
    .filtres-barre form { grid-template-columns: repeat(2, 1fr); }
    .filtre-champ:nth-child(2) { border-right: none; }
    .filtre-champ { border-bottom: 1px solid var(--bordure); }
    .filtres-barre .btn { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
    .nav-principale, .entete-actions .btn { display: none; }
    .burger { display: inline-flex; }
    .section { padding: 62px 0; }
    .hero-inner { padding: 60px 24px 120px; }
}
@media (max-width: 620px) {
    .grille-immeubles { grid-template-columns: 1fr; }
    .reassurances-grille { grid-template-columns: 1fr; }
    .reassurance { border-right: none; }
    .pied-grille { grid-template-columns: 1fr; gap: 30px; }
    .filtres-barre form { grid-template-columns: 1fr; }
    .filtre-champ { border-right: none; }
    .hero-piliers { gap: 20px; }
}
