/* Rentolib — socle neuf (30/10/2026). Même identité que l'accueil : fond nuit, bleu électrique, or, Outfit + Cormorant Garamond. */
:root {
  --blue: #1B3FE4; --blue-mid: #1a35c4; --blue-dark: #0f2080; --gold: #F5A623; --gold-light: #fdc96a;
  --dark: #080C1A; --dark2: #0f1627; --dark3: #151d33; --grey: #8892a4; --texte: rgba(255,255,255,.82); --blanc: #fff;
  --ligne: rgba(255,255,255,.08); --ligne-forte: rgba(255,255,255,.16); --carte: rgba(255,255,255,.03);
  --ok: #4ade80; --ok-fond: rgba(74,222,128,.12); --erreur: #f87171; --erreur-fond: rgba(248,113,113,.12);
  --r: 18px; --r-petit: 12px; --ombre: 0 18px 50px rgba(0,0,0,.45);
  --police: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; --titre: 'Cormorant Garamond', Georgia, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--police); background: var(--dark); color: var(--texte); line-height: 1.55; font-size: 16px; -webkit-font-smoothing: antialiased; }
a { color: var(--gold-light); }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--blanc); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-family: var(--titre); font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h2 { font-family: var(--titre); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
p { margin: 0 0 1em; }
.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muet { color: var(--grey); }
.petit { font-size: .88rem; }
.centre { text-align: center; }
.texte-libre { white-space: pre-line; }

/* En-tête */
.entete { position: sticky; top: 0; z-index: 200; background: rgba(8,12,26,.82); backdrop-filter: blur(24px); border-bottom: 1px solid rgba(255,255,255,.06); }
.entete-int { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; }
.nav-logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(135deg, var(--blue), var(--blue-dark)); display: inline-flex; align-items: center; justify-content: center; font-size: 18px; box-shadow: 0 4px 20px rgba(27,63,228,.5); flex: none; }
.nav-logo-text { display: block; font-family: var(--titre); font-size: 24px; font-weight: 700; color: var(--blanc); line-height: 1; }
.nav-logo-sub { display: block; font-size: 10px; color: var(--grey); letter-spacing: 2px; text-transform: uppercase; font-weight: 300; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: rgba(255,255,255,.65); text-decoration: none; font-size: 14px; }
.nav a:hover, .nav a.actif { color: var(--blanc); }
.burger { display: none; background: transparent; border: 1px solid rgba(255,255,255,.15); color: #fff; width: 42px; height: 38px; border-radius: 10px; font-size: 18px; cursor: pointer; }
@media (max-width: 1000px) {
  .burger { display: inline-flex; align-items: center; justify-content: center; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 63px; background: rgba(8,12,26,.98); flex-direction: column; align-items: stretch; padding: 8px 22px 18px; border-bottom: 1px solid var(--ligne); }
  .nav.ouvert { display: flex; }
  .nav a { padding: 12px 4px; border-bottom: 1px solid var(--ligne); font-size: 15px; }
  .nav .btn { margin-top: 8px; justify-content: center; }
}

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border-radius: 50px; font-weight: 600; font-size: 14px; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: inherit; transition: transform .15s, background .15s, box-shadow .15s; color: var(--blanc) !important; }
.btn:hover { transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.18); }
.btn-ghost:hover { border-color: rgba(255,255,255,.45); background: rgba(255,255,255,.05); }
.btn-primaire { background: var(--blue); box-shadow: 0 4px 20px rgba(27,63,228,.45); }
.btn-primaire:hover { background: var(--blue-mid); }
.btn-cta { background: linear-gradient(135deg, var(--gold), #f0920a); color: #0a0e1c !important; box-shadow: 0 8px 28px rgba(245,166,35,.35); }
.btn-petit { padding: 7px 14px; font-size: 13px; }
.btn-bloc { width: 100%; }
.lien-discret { display: block; text-align: center; margin-top: 10px; color: var(--grey); font-size: .9rem; }
.lien-bouton { background: none; border: 0; color: var(--gold-light); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }

/* Alertes */
.alerte { padding: 14px 18px; border-radius: var(--r-petit); margin: 18px 0; font-weight: 500; border: 1px solid; }
.alerte-ok { background: var(--ok-fond); color: var(--ok); border-color: rgba(74,222,128,.4); }
.alerte-erreur { background: var(--erreur-fond); color: var(--erreur); border-color: rgba(248,113,113,.4); }
.alerte-info { background: rgba(27,63,228,.12); color: #c7d2ff; border-color: rgba(27,63,228,.4); }

/* Pages et blocs */
.page { padding: 36px 0 70px; }
.page-etroite { width: min(760px, 100% - 32px); }
.page h1 + .muet { font-size: 1.05rem; }
.bandeau-titre { padding: 70px 0 50px; background: radial-gradient(ellipse 80% 70% at 50% -10%, rgba(27,63,228,.45) 0%, transparent 60%), var(--dark); border-bottom: 1px solid var(--ligne); }
.bandeau-titre p { max-width: 720px; margin: 0 auto; color: rgba(255,255,255,.7); font-size: 1.1rem; }
.carte { background: var(--dark2); border: 1px solid var(--ligne); border-radius: var(--r); padding: 26px; }
.carte + .carte, .bloc + .bloc { margin-top: 18px; }
.bloc { margin: 28px 0; }
.grille-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.grille-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 28px; }
.grille-cartes { gap: 16px; margin: 18px 0 28px; }
@media (max-width: 640px) { .grille-2 { grid-template-columns: 1fr; } }
.h-section { margin: 40px 0 18px; }
.liste-coches { list-style: none; padding: 0; margin: 0; }
.liste-coches li { padding-left: 26px; position: relative; margin-bottom: 8px; }
.liste-coches li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 800; }
.encadre-bleu { background: linear-gradient(135deg, rgba(27,63,228,.35), rgba(15,32,128,.5)); border: 1px solid rgba(27,63,228,.5); border-radius: var(--r); padding: 40px 26px; margin: 28px 0; }
.papier { background: #fff; color: #22303F; border-radius: var(--r); padding: 36px clamp(18px, 4vw, 48px); max-width: 860px; margin: 0 auto; box-shadow: var(--ombre); }
.papier h1, .papier h2, .papier h3, .papier h4 { color: #14213D; font-family: var(--police); }
.papier h1 { font-size: 2rem; margin-bottom: 1em; }
.papier a { color: var(--blue); }
.papier img { max-width: 100%; height: auto; }
.prose h2 { margin-top: 1.6em; font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 22px; }
.vide { background: var(--dark2); border: 1px dashed var(--ligne-forte); border-radius: var(--r); padding: 36px; text-align: center; }

/* Formulaires */
.formulaire label { display: block; font-weight: 500; margin: 14px 0 6px; color: var(--blanc); font-size: .95rem; }
.formulaire label .opt { font-weight: 300; color: var(--grey); }
.formulaire input[type=text], .formulaire input[type=email], .formulaire input[type=tel], .formulaire input[type=number], .formulaire input[type=password], .formulaire input[type=date], .formulaire input[type=url], .formulaire select, .formulaire textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--ligne-forte); border-radius: var(--r-petit); font: inherit; color: var(--blanc); background: rgba(255,255,255,.05); color-scheme: dark; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,63,228,.3); }
.formulaire select option { color: #111; }
.formulaire textarea { min-height: 150px; resize: vertical; }
.formulaire .aide { font-size: .88rem; color: var(--grey); margin-top: 4px; }
.formulaire .erreur { color: var(--erreur); font-size: .9rem; margin-top: 4px; font-weight: 500; }
.formulaire .champ-erreur input, .formulaire .champ-erreur select, .formulaire .champ-erreur textarea { border-color: var(--erreur); }
.formulaire .btn { margin-top: 18px; }
.formulaire details { border: 1px solid var(--ligne); border-radius: var(--r-petit); padding: 10px 14px; margin-top: 14px; }
.formulaire summary { cursor: pointer; font-weight: 500; color: var(--blanc); }
.cases { display: grid; gap: 6px; margin-top: 10px; }
.cases-2 { grid-template-columns: 1fr 1fr; }
.cases label { display: flex; gap: 8px; align-items: center; margin: 0; font-weight: 400; font-size: .9rem; color: var(--texte); }
.cases input { accent-color: var(--blue); }
.cases + .cases { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ligne); }

/* Recherche */
.recherche { display: grid; grid-template-columns: 300px 1fr; gap: 26px; padding: 26px 0 70px; align-items: start; }
.filtres { background: var(--dark2); border: 1px solid var(--ligne); border-radius: var(--r); padding: 20px; position: sticky; top: 80px; max-height: calc(100vh - 100px); overflow-y: auto; }
.h-recherche { font-size: 1.5rem; margin-bottom: 6px; }
.resultats-tete { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.resultats-tete p { margin: 0; }
.cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.cartes-4 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.carte-logement { background: var(--dark2); border: 1px solid var(--ligne); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--texte); display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.carte-logement:hover { transform: translateY(-3px); border-color: rgba(27,63,228,.5); }
.carte-logement .visuel { aspect-ratio: 4 / 3; background: var(--dark3); overflow: hidden; }
.carte-logement .visuel img { width: 100%; height: 100%; object-fit: cover; }
.carte-logement .corps { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.carte-logement .ligne { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.carte-logement b { color: var(--blanc); font-size: 1.02rem; }
.carte-logement .lieu { font-size: .9rem; color: var(--grey); }
.carte-logement .prix { color: var(--gold-light); font-weight: 700; font-size: 1.1rem; margin-top: 6px; }
.carte-logement .prix small { color: var(--grey); font-weight: 400; font-size: .85rem; }
.etiquette { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 600; background: rgba(27,63,228,.2); color: #8ea6ff; }
.pagination { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 28px; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: 10px; border: 1px solid var(--ligne); text-decoration: none; color: var(--texte); }
.pagination a:hover { border-color: var(--blue); }
.pagination .inactif { opacity: .4; }
.carte { }
#carte.carte { padding: 0; height: 420px; border-radius: var(--r); border: 1px solid var(--ligne); overflow: hidden; margin-bottom: 18px; background: var(--dark3); }
#carte.carte-cachee { display: none; }
.leaflet-container { background: #0b1020; font-family: var(--police); }
.leaflet-popup-content-wrapper, .leaflet-popup-tip { background: var(--dark2); color: var(--texte); }
.leaflet-popup-content a { color: var(--gold-light); font-weight: 600; }
.marqueur-prix { background: var(--blue); color: #fff; font-weight: 700; font-size: 13px; padding: 4px 9px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 4px 14px rgba(0,0,0,.5); white-space: nowrap; }
@media (max-width: 900px) { .recherche { grid-template-columns: 1fr; } .filtres { position: static; max-height: none; } }

/* Fiche logement */
.fiche { padding: 22px 0 70px; }
.galerie { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; margin-bottom: 26px; }
.galerie a { display: block; overflow: hidden; border-radius: var(--r-petit); background: var(--dark3); }
.galerie img { width: 100%; height: 100%; object-fit: cover; }
.galerie-grande { aspect-ratio: 3 / 2; max-height: 480px; }
.galerie-petites { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: relative; }
.galerie-petites a { aspect-ratio: 1; }
.galerie-plus { position: absolute; right: 10px; bottom: 10px; background: rgba(8,12,26,.85); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; pointer-events: none; }
@media (max-width: 760px) { .galerie { grid-template-columns: 1fr; } .galerie-petites { grid-template-columns: repeat(4, 1fr); } }
.fiche-colonnes { display: grid; grid-template-columns: 1fr 380px; gap: 36px; align-items: start; }
@media (max-width: 960px) { .fiche-colonnes { grid-template-columns: 1fr; } }
.fiche-sous { color: var(--grey); margin-top: -6px; }
.ariane { font-size: 0.85rem; color: var(--grey); margin-bottom: 6px; display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; }
.ariane a { color: var(--grey); text-decoration: none; }
.ariane a:hover { color: var(--or); text-decoration: underline; }
.ariane span[aria-current] { color: var(--text); }
.details { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 18px 0 8px; }
.details div { background: var(--dark2); border: 1px solid var(--ligne); border-radius: var(--r-petit); padding: 10px 14px; }
.details small { display: block; color: var(--grey); font-size: .8rem; }
.details b { color: var(--blanc); font-size: 1.15rem; }
.h-groupe { font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); margin: 14px 0 6px; }
.liste-equipements { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 14px; }
.hote-ligne { display: flex; gap: 14px; align-items: center; }
.hote-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; overflow: hidden; flex: none; }
.hote-avatar img { width: 100%; height: 100%; object-fit: cover; }
.avis { border-top: 1px solid var(--ligne); padding: 14px 0; }
.avis-tete { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.avis .note { color: var(--gold); font-weight: 700; }
.fiche-resa { position: sticky; top: 84px; }
.resa-carte { background: var(--dark2); border: 1px solid var(--ligne-forte); border-radius: var(--r); padding: 22px; box-shadow: var(--ombre); }
.resa-prix b { font-size: 1.7rem; color: var(--blanc); }
.resa-form label { margin-top: 10px; }
.resa-detail { margin: 16px 0 4px; border-top: 1px solid var(--ligne); padding-top: 12px; font-size: .95rem; }
.resa-detail > div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.resa-detail .total { border-top: 1px solid var(--ligne); margin-top: 6px; padding-top: 10px; font-weight: 700; color: var(--blanc); font-size: 1.1rem; }
.resa-detail .erreur { color: var(--erreur); display: block; }
.resa-form .btn { margin-top: 12px; }
.partage { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--ligne); font-size: .9rem; }
.partage a { color: var(--texte); text-decoration: none; }
.partage a:hover, .partage .lien-bouton:hover { color: var(--gold-light); }
.partage .lien-bouton { text-decoration: none; color: var(--texte); }

/* Pied */
.pied { background: rgba(4,7,16,.9); padding: 60px 24px 30px; border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; }
.pied-int { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.06); }
.pied-marque p { font-size: 13px; color: var(--grey); line-height: 1.7; margin-top: 18px; max-width: 280px; font-weight: 300; }
.pied-titre { color: var(--blanc); font-size: 13px; font-weight: 600; margin: 0 0 16px; letter-spacing: .5px; }
.pied-liens a { display: block; color: var(--grey); text-decoration: none; font-size: 13px; padding: 5px 0; font-weight: 300; }
.pied-liens a:hover { color: var(--blanc); }
.pied-bas { max-width: 1200px; margin: 24px auto 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 12px; color: var(--grey); }
.reseaux { display: flex; gap: 10px; margin-top: 20px; }
.reseaux a { width: 36px; height: 36px; border-radius: 10px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); display: inline-flex; align-items: center; justify-content: center; color: var(--grey); transition: all .2s; }
.reseaux a:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.reseaux svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 900px) { .pied-int { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pied-int { grid-template-columns: 1fr; } }
#rlWaBtn { position: fixed; bottom: 22px; left: 22px; z-index: 150; display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; border-radius: 50%; background: #25D366; box-shadow: 0 10px 26px rgba(37,211,102,.45); }

/* Visionneuse photos */
.visionneuse { position: fixed; inset: 0; z-index: 500; background: rgba(4,7,16,.96); display: none; align-items: center; justify-content: center; flex-direction: column; }
.visionneuse.ouverte { display: flex; }
.visionneuse img { max-width: 94vw; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.visionneuse button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 46px; height: 46px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.visionneuse .fermer { top: 18px; right: 18px; }
.visionneuse .prec { left: 18px; top: 50%; }
.visionneuse .suiv { right: 18px; top: 50%; }
.visionneuse .legende { color: var(--grey); margin-top: 12px; font-size: .9rem; }
