﻿/* ═══════════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════════ */
:root {
  --red:      #B22222;
  --red2:     #C42222;
  --red3:     #D03030;
  --cream:    #F9F5F2;
  --cream2:   #EDE8E4;
  --cream3:   #E0D8D2;
  --ink:      #100808;
  --ink2:     #1E0A0A;
  --muted:    #7A6A60;
  --gold:     #B8893A;
  --gold2:    #D4A84E;
  --white:    #FFFFFF;
  --border:   rgba(178,34,34,.15);
  --shadow:   0 20px 60px rgba(16,8,8,.12);
  --shadow-sm:0 4px 20px rgba(16,8,8,.08);
  --r:        6px;
  --r-lg:     12px;
  --font-head:'Poppins', 'Arial Rounded MT Bold', Arial, sans-serif;
  --font-body:'Poppins', Arial, sans-serif;
  --transition: all .3s cubic-bezier(.4,0,.2,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--ink); font-size: 14px; line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select { font-family: var(--font-body); }

/* ═══════════════════════════════════════════
   SCROLL & SELECTION
═══════════════════════════════════════════ */
::selection { background: var(--red); color: white; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
/* ══════════════════════════════════════════════════════
   BACKEND ADMIN — L'Égide
══════════════════════════════════════════════════════ */
.be-overlay {
  display:none; position:fixed; inset:0; z-index:9000;
  background:var(--cream);
}
.be-overlay.open { display:flex; }
.be-sidebar {
  width:220px; min-height:100vh; background:var(--ink2);
  display:flex; flex-direction:column; flex-shrink:0;
}
.be-logo {
  padding:24px 20px 20px; border-bottom:1px solid rgba(255,255,255,.08);
}
.be-logo-title {
  font-family:var(--font-head);
  color:white; font-size:16px; font-weight:700; display:block; margin-bottom:4px;
}
.be-logo-sub {
  color:var(--gold2); font-size:10px; letter-spacing:.18em; text-transform:uppercase;
}
.be-nav { flex:1; padding:12px 0; }
.be-nav-item {
  display:flex; align-items:center; gap:12px; padding:11px 20px;
  color:rgba(255,255,255,.6); font-size:13px; cursor:pointer;
  border:none; background:none; width:100%; text-align:left;
  transition:var(--transition); border-left:3px solid transparent;
}
.be-nav-item:hover { color:white; background:rgba(255,255,255,.05); }
.be-nav-item.active {
  color:white; background:rgba(178,34,34,.28);
  border-left-color:var(--red);
}
.be-nav-icon { font-size:16px; width:20px; text-align:center; }
.be-nav-divider { height:1px; background:rgba(255,255,255,.07); margin:8px 16px; }
.be-signout {
  padding:16px 20px; border-top:1px solid rgba(255,255,255,.06);
}
.be-signout button {
  background:none; border:1px solid rgba(255,255,255,.15); color:rgba(255,255,255,.5);
  padding:8px 14px; border-radius:var(--r); font-size:11px; cursor:pointer; width:100%;
  transition:var(--transition);
}
.be-signout button:hover { border-color:var(--red); background:var(--red); color:white; }

.be-main {
  flex:1; overflow-y:auto; background:var(--cream); display:flex; flex-direction:column;
}
.be-topbar {
  background:var(--white); padding:16px 28px; display:flex; align-items:center;
  justify-content:space-between; border-bottom:2px solid var(--red); flex-shrink:0;
}
.be-topbar h2 { font-family:var(--font-head); font-size:18px; font-weight:700; color:var(--ink); }
.be-topbar-sub { font-size:12px; color:var(--muted); margin-top:2px; }
.be-content { padding:24px 28px; flex:1; }

/* Cartes stat dashboard */
.be-stats { display:grid; grid-template-columns:repeat(auto-fill,minmax(160px,1fr)); gap:16px; margin-bottom:28px; }
.be-stat {
  background:var(--white); border-radius:var(--r-lg); padding:20px;
  border:1px solid rgba(16,8,8,.04); border-left:4px solid var(--red);
  box-shadow:var(--shadow-sm);
}
.be-stat-num { font-family:var(--font-head); font-size:32px; font-weight:700; color:var(--ink); line-height:1; }
.be-stat-label { font-size:12px; color:var(--muted); margin-top:6px; }

/* Cards section */
.be-card {
  background:var(--white); border-radius:var(--r-lg); padding:20px 24px;
  border:1px solid rgba(16,8,8,.04); box-shadow:var(--shadow-sm); margin-bottom:20px;
}
.be-card-title {
  font-family:var(--font-head);
  font-size:15px; font-weight:700; color:var(--ink); margin-bottom:4px;
  display:flex; align-items:center; gap:8px;
}
.be-card-sub { font-size:12px; color:var(--muted); margin-bottom:18px; }
.be-card hr { border:none; border-top:1px solid var(--cream2); margin:16px 0; }

/* Formulaire */
.be-form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.be-form-row.cols3 { grid-template-columns:1fr 1fr 1fr; }
.be-form-row.cols1 { grid-template-columns:1fr; }
.be-field { display:flex; flex-direction:column; gap:5px; }
.be-field label { font-size:11px; font-weight:600; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; }
.be-field input, .be-field select, .be-field textarea {
  border:1.5px solid var(--cream3); border-radius:var(--r); padding:10px 12px;
  font-size:13px; font-family:inherit; outline:none; transition:var(--transition);
  background:var(--cream); color:var(--ink);
}
.be-field input:focus, .be-field select:focus, .be-field textarea:focus {
  border-color:var(--red); background:var(--white);
}
.be-field textarea { resize:vertical; min-height:100px; line-height:1.6; }
.be-field .be-hint { font-size:11px; color:var(--muted); margin-top:3px; }

/* Boutons */
.be-btn { display:inline-flex; align-items:center; gap:7px; padding:10px 20px; border-radius:var(--r);
  font-size:13px; font-weight:600; cursor:pointer; border:none; transition:var(--transition); }
.be-btn.primary { background:var(--red); color:white; }
.be-btn.primary:hover { background:var(--red2); box-shadow:0 4px 12px rgba(178,34,34,.35); }
.be-btn.secondary { background:var(--cream2); color:var(--ink); }
.be-btn.secondary:hover { background:var(--cream3); }
.be-btn.danger { background:#FCEBEB; color:#A32D2D; }
.be-btn.danger:hover { background:#A32D2D; color:white; }
.be-btn-row { display:flex; gap:10px; flex-wrap:wrap; margin-top:16px; }

/* Liste items */
.be-list { list-style:none; }
.be-list-item {
  display:flex; align-items:center; gap:12px; padding:12px 14px;
  border:1px solid var(--cream2); border-radius:var(--r); background:var(--cream); margin-bottom:8px;
  transition:var(--transition);
}
.be-list-item:hover { border-color:var(--red); background:var(--white); }
.be-list-emoji { font-size:20px; width:28px; text-align:center; }
.be-list-info { flex:1; min-width:0; }
.be-list-title { font-size:13px; font-weight:600; color:var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.be-list-meta { font-size:11px; color:var(--muted); margin-top:2px; }
.be-list-actions { display:flex; gap:6px; flex-shrink:0; }
.be-list-btn {
  padding:5px 10px; border-radius:var(--r); font-size:11px; font-weight:600;
  cursor:pointer; border:none; transition:var(--transition);
}
.be-list-btn.edit { background:var(--cream2); color:var(--ink); }
.be-list-btn.edit:hover { background:var(--red); color:white; }
.be-list-btn.del { background:#FCEBEB; color:#A32D2D; }
.be-list-btn.del:hover { background:#A32D2D; color:white; }
.be-badge {
  font-size:9px; font-weight:700; padding:3px 8px; border-radius:20px;
  text-transform:uppercase; letter-spacing:.06em;
}
.be-badge.vente { background:#FFF0E0; color:#854F0B; }
.be-badge.location { background:#E6F0E6; color:#2B6E2B; }

/* Login */
.be-login {
  display:flex; align-items:center; justify-content:center;
  flex:1; width:100%;               /* remplit l'overlay (be-overlay est flex) et la page /admin */
  min-height:100vh; background:var(--cream);
}
.be-login-box {
  background:var(--white); border-radius:var(--r-lg); border-top:3px solid var(--red);
  padding:40px; width:100%; max-width:400px; box-shadow:var(--shadow);
}
.be-login-logo { text-align:center; margin-bottom:28px; }
.be-login-logo span { font-size:40px; }
.be-login-logo h3 { font-family:var(--font-head); font-size:20px; font-weight:700; color:var(--ink); margin-top:10px; }
.be-login-logo p { font-size:13px; color:var(--muted); margin-top:4px; }
.be-login-field { margin-bottom:14px; }
.be-login-field label { display:block; font-size:11px; font-weight:600; color:var(--muted); letter-spacing:.05em; text-transform:uppercase; margin-bottom:5px; }
.be-login-field input {
  width:100%; border:1.5px solid var(--cream3); border-radius:var(--r); padding:12px 14px;
  font-size:14px; outline:none; transition:var(--transition); box-sizing:border-box;
  background:var(--cream); color:var(--ink);
}
.be-login-field input:focus { border-color:var(--red); background:var(--white); }
.be-login-error { color:#A32D2D; font-size:12px; margin-top:8px; display:none; }
.be-login-btn {
  width:100%; background:var(--red); color:white; border:none; border-radius:var(--r);
  padding:13px; font-size:14px; font-weight:700; cursor:pointer; margin-top:8px;
  transition:var(--transition);
}
.be-login-btn:hover { background:var(--red2); box-shadow:0 6px 16px rgba(178,34,34,.35); }
.be-login-hint { font-size:11px; color:var(--muted); text-align:center; margin-top:14px; }

/* Paramètres agence */
.be-settings-group { margin-bottom:24px; }
.be-settings-group-title {
  font-size:12px; font-weight:700; color:var(--muted); letter-spacing:.1em; text-transform:uppercase;
  margin-bottom:12px; padding-bottom:8px; border-bottom:1px solid var(--cream2);
}

/* Toggle switch */
.be-toggle { display:flex; align-items:center; gap:10px; cursor:pointer; }
.be-toggle input { display:none; }
.be-toggle-track {
  width:42px; height:24px; background:var(--cream3); border-radius:12px; position:relative; transition:.3s;
}
.be-toggle input:checked + .be-toggle-track { background:var(--red); }
.be-toggle-thumb {
  position:absolute; top:3px; left:3px; width:18px; height:18px;
  background:white; border-radius:50%; transition:.3s;
}
.be-toggle input:checked ~ .be-toggle-thumb { left:21px; }
.be-toggle-label { font-size:13px; color:var(--ink); }

/* Responsive */
@media(max-width:640px) {
  .be-sidebar { width:60px; }
  .be-nav-item span:not(.be-nav-icon) { display:none; }
  .be-logo-title, .be-logo-sub, .be-signout button span { display:none; }
  .be-content { padding:16px; }
  .be-form-row { grid-template-columns:1fr; }
  .be-form-row.cols3 { grid-template-columns:1fr; }
  .be-topbar { padding:12px 16px; }
}

/* Admin access button (discret) */
.be-access-btn {
  position:fixed; bottom:24px; left:24px; z-index:500;
  background:rgba(30,10,10,.72); color:rgba(255,255,255,.55);
  border:1px solid rgba(255,255,255,.1); border-radius:var(--r);
  padding:8px 14px; font-size:11px; cursor:pointer;
  backdrop-filter:blur(8px); transition:var(--transition);
}
.be-access-btn:hover { background:var(--red); color:white; border-color:var(--red); }

/* Gestionnaire de photos (upload Storage) */
.be-photos { display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.be-photos.uploading { opacity:.55; pointer-events:none; }
.be-photo-thumb { position:relative; width:104px; height:78px; border-radius:var(--r); overflow:hidden; border:1px solid var(--cream3); flex-shrink:0; }
.be-photo-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.be-photo-del { position:absolute; top:4px; right:4px; width:20px; height:20px; border-radius:50%; border:none; cursor:pointer; background:rgba(16,8,8,.6); color:#fff; font-size:11px; line-height:1; display:flex; align-items:center; justify-content:center; transition:var(--transition); }
.be-photo-del:hover { background:var(--red); }
.be-photo-add { width:104px; height:78px; border:1.5px dashed var(--cream3); border-radius:var(--r); display:flex; align-items:center; justify-content:center; cursor:pointer; color:var(--muted); font-size:12px; font-weight:600; background:var(--cream); transition:var(--transition); flex-shrink:0; }
.be-photo-add:hover { border-color:var(--red); color:var(--red); }
.be-list-thumb { width:40px; height:32px; object-fit:cover; border-radius:4px; flex-shrink:0; }

/* Galerie de la fiche bien (modal) */
.modal-thumbs { position:absolute; left:0; right:0; bottom:0; display:flex; gap:6px; padding:8px; background:linear-gradient(transparent, rgba(0,0,0,.55)); overflow-x:auto; }
.modal-thumb { width:56px; height:42px; object-fit:cover; border-radius:4px; cursor:pointer; border:2px solid transparent; flex-shrink:0; }
.modal-thumb.active, .modal-thumb:hover { border-color:#fff; }

/* Image de couverture d'article */
.article-cover { margin:0 0 24px; border-radius:var(--r-lg); overflow:hidden; max-height:420px; }
.article-cover img { width:100%; max-height:420px; object-fit:cover; display:block; }

/* ═══════════════════════════════════════════
   ACTUALITÉS — BLOG
═══════════════════════════════════════════ */
.blog-hero {
  background: linear-gradient(135deg, var(--ink2) 0%, #2A0808 100%);
  padding: 80px 24px 56px; margin-top: 0;
}
.blog-hero-inner { max-width: 1200px; margin: 0 auto; }
.blog-hero h2 {
  font-family: var(--font-head); font-size: clamp(28px,4vw,44px);
  font-weight: 700; color: white; margin-bottom: 8px;
}
.blog-hero p { font-size: 15px; color: rgba(255,255,255,.5); font-weight: 300; }
.blog-cats {
  display: flex; gap: 8px; flex-wrap: wrap; margin-top: 24px;
}
.blog-cat {
  padding: 6px 16px; border-radius: 20px; font-size: 11px; font-weight: 500;
  letter-spacing: .06em; cursor: pointer; transition: var(--transition);
  border: 1px solid rgba(255,255,255,.18); color: rgba(255,255,255,.6);
  background: transparent;
}
.blog-cat.active, .blog-cat:hover {
  background: var(--red); border-color: var(--red); color: white;
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(340px,1fr));
  gap: 28px; margin-top: 40px;
}
.blog-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); cursor: pointer; transition: var(--transition);
  border: 1px solid rgba(0,0,0,.04);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card-img {
  height: 200px; background: var(--cream2);
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; position: relative; overflow: hidden;
}
.blog-card-cat {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; background: var(--red); color: white;
}
.blog-card-body { padding: 20px; }
.blog-card-date { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.blog-card-title {
  font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.blog-card-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 11px; color: var(--muted); border-top: 1px solid var(--cream2); padding-top: 12px;
}
.blog-card-read { color: var(--red); font-weight: 500; }

/* Article plein écran */
.article-view {
  display: none; max-width: 780px; margin: 0 auto; padding: 24px;
}
.article-view.open { display: block; }
.article-back {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500; color: var(--red);
  cursor: pointer; margin-bottom: 32px; letter-spacing: .04em;
  text-transform: uppercase; transition: var(--transition);
}
.article-back:hover { gap: 10px; }
.article-cat {
  display: inline-block; font-size: 10px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: 12px;
}
.article-title {
  font-family: var(--font-head); font-size: clamp(26px,4vw,40px);
  font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 16px;
}
.article-meta {
  display: flex; align-items: center; gap: 16px; font-size: 12px;
  color: var(--muted); margin-bottom: 32px; padding-bottom: 20px;
  border-bottom: 2px solid var(--cream2);
}
.article-author { font-weight: 600; color: var(--ink); }
.article-body { font-size: 16px; color: #3A3030; line-height: 1.85; }
.article-body h2 {
  font-size: 22px; font-weight: 700; color: var(--ink); margin: 36px 0 14px;
  padding-left: 14px; border-left: 3px solid var(--red);
}
.article-body h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 28px 0 10px; }
.article-body p { margin-bottom: 18px; }
.article-body ul { margin: 0 0 18px 24px; }
.article-body ul li { margin-bottom: 8px; }
.article-body blockquote {
  background: var(--cream); border-left: 4px solid var(--red);
  margin: 24px 0; padding: 16px 20px; border-radius: 0 var(--r) var(--r) 0;
  font-style: italic; color: var(--muted);
}
.article-body strong { color: var(--ink); font-weight: 600; }
.article-share {
  margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--cream2);
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.article-share span { font-size: 12px; font-weight: 500; color: var(--muted); }
.share-btn {
  padding: 7px 16px; border-radius: 20px; font-size: 11px; font-weight: 500;
  border: 1px solid var(--cream3); cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; gap: 6px;
}
.share-btn:hover { background: var(--red); color: white; border-color: var(--red); }
.article-cta {
  background: var(--ink2); border-radius: var(--r-lg); padding: 28px 32px;
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.article-cta h4 { font-size: 18px; font-weight: 700; color: white; margin-bottom: 6px; }
.article-cta p { font-size: 13px; color: rgba(255,255,255,.5); }

/* ── ADMIN ── */
.admin-toggle {
  position: fixed; bottom: 80px; right: 24px; z-index: 500;
  background: var(--ink2); color: white; border: none; border-radius: 50%;
  width: 48px; height: 48px; font-size: 18px; cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,.3); transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.admin-toggle:hover { background: var(--red); transform: scale(1.08); }
.admin-panel {
  position: fixed; inset: 0; z-index: 600; display: none;
  background: rgba(16,8,8,.8); backdrop-filter: blur(4px);
  align-items: flex-start; justify-content: flex-end; padding: 20px;
}
.admin-panel.open { display: flex; }
.admin-box {
  background: white; border-radius: var(--r-lg); width: 100%; max-width: 640px;
  max-height: 90vh; overflow-y: auto; box-shadow: 0 40px 80px rgba(0,0,0,.3);
}
.admin-header {
  background: var(--ink2); padding: 18px 24px;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  display: flex; align-items: center; justify-content: space-between;
}
.admin-header h3 { color: white; font-size: 15px; font-weight: 600; }
.admin-close {
  background: rgba(255,255,255,.1); border: none; color: white; width: 30px;
  height: 30px; border-radius: 50%; cursor: pointer; font-size: 14px;
  display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.admin-close:hover { background: var(--red); }
.admin-body { padding: 24px; }
.admin-field { margin-bottom: 16px; }
.admin-field label {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%; border: 1.5px solid var(--cream2); border-radius: var(--r);
  padding: 10px 14px; font-size: 13px; font-family: var(--font-body);
  outline: none; transition: var(--transition); background: var(--cream);
}
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus {
  border-color: var(--red); background: white;
}
.admin-field textarea { resize: vertical; min-height: 200px; line-height: 1.6; }
.admin-actions { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.btn-admin-save {
  flex: 1; background: var(--red); color: white; border: none; padding: 12px;
  border-radius: var(--r); font-size: 13px; font-weight: 600; cursor: pointer;
  transition: var(--transition);
}
.btn-admin-save:hover { background: var(--red2); }
.btn-admin-cancel {
  padding: 12px 20px; border: 1.5px solid var(--cream2); border-radius: var(--r);
  font-size: 13px; cursor: pointer; transition: var(--transition); background: white;
}
.btn-admin-cancel:hover { background: var(--cream2); }
.admin-list { list-style: none; margin-top: 20px; }
.admin-list li {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  border-radius: var(--r); border: 1px solid var(--cream2); margin-bottom: 8px;
  background: var(--cream);
}
.admin-list-title { flex: 1; font-size: 13px; font-weight: 500; }
.admin-list-date { font-size: 11px; color: var(--muted); }
.btn-edit, .btn-del {
  padding: 5px 10px; border-radius: 4px; font-size: 11px;
  cursor: pointer; border: none; font-weight: 500;
}
.btn-edit { background: var(--cream2); color: var(--ink); }
.btn-edit:hover { background: var(--red); color: white; }
.btn-del { background: #FCEBEB; color: #A32D2D; }
.btn-del:hover { background: #A32D2D; color: white; }
.admin-login { text-align: center; padding: 40px 24px; }
.admin-login h4 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.admin-login p { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.admin-pwd { display: flex; gap: 8px; }
.admin-pwd input {
  flex: 1; border: 1.5px solid var(--cream2); border-radius: var(--r);
  padding: 10px 14px; font-size: 13px; outline: none;
}
.admin-pwd input:focus { border-color: var(--red); }
.hint-md {
  font-size: 11px; color: var(--muted); background: var(--cream);
  border-radius: var(--r); padding: 10px 12px; margin-top: 8px; line-height: 1.7;
}
.blog-empty {
  text-align: center; padding: 80px 20px; color: var(--muted);
}
.blog-empty .be-icon { font-size: 48px; opacity: .3; margin-bottom: 16px; }
.blog-empty h3 { font-family: var(--font-head); font-size: 22px; margin-bottom: 8px; }


/* ═══════════════════════════════════════════
   HEADER / NAV
═══════════════════════════════════════════ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,.97); backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--red);
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: var(--transition);
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-text { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.logo-sub { font-family: var(--font-body); font-size: 9px; font-weight: 400; color: var(--muted); letter-spacing: .18em; text-transform: uppercase; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); transition: var(--transition); }
.nav a:hover, .nav a.active { color: var(--red); }
.nav-cta {
  background: var(--red); color: white !important;
  padding: 9px 20px; border-radius: var(--r);
  font-size: 11px !important; font-weight: 500 !important; letter-spacing: .08em !important;
  transition: var(--transition);
}
.nav-cta:hover { background: var(--red2) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(178,34,34,.45); }
.burger { display: none; flex-direction: column; gap: 4px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--ink); display: block; border-radius: 1px; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center; padding: 0 24px;
  position: relative; overflow: hidden;
  background: #000;
}
/* Slideshow de photos en arrière-plan */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
  animation: kenburns 18s ease-in-out infinite;
}
.hero-slide.active { opacity: 1; }
@keyframes kenburns {
  0%   { transform: scale(1)   translateX(0)    translateY(0); }
  50%  { transform: scale(1.08) translateX(-1%)  translateY(-1%); }
  100% { transform: scale(1)   translateX(0)    translateY(0); }
}
/* Overlay gradient pour lisibilité du texte */
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  /* Dégradé gauche fort (lisibilité texte) → droite transparent (photo visible) */
  background:
    linear-gradient(to right, rgba(0,0,0,.78) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,.2) 100%),
    linear-gradient(to bottom, rgba(0,0,0,.3) 0%, transparent 30%, rgba(0,0,0,.4) 100%);
}
/* hero::before supprimé */
.hero-inner {
  max-width: 1200px; margin: 0 auto; padding-top: 68px;
  position: relative; z-index: 3; width: 100%;
}
.hero-content { max-width: 680px; padding: 80px 0; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold2); margin-bottom: 24px; text-shadow: 0 1px 8px rgba(0,0,0,.4);
}
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--gold2); }
.hero h1 {
  font-family: 'Poppins', sans-serif; font-size: clamp(38px, 5.5vw, 70px);
  font-weight: 700; color: white; line-height: 1.1; margin-bottom: 20px;
}
.hero h1 em { font-style: italic; color: var(--red3); font-weight: 300; }
.hero p { font-size: 15px; font-weight: 300; color: rgba(255,255,255,.6); max-width: 480px; margin-bottom: 40px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 60px; }
.btn-primary {
  background: var(--red); color: white; padding: 14px 32px; border-radius: var(--r);
  font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { background: var(--red2); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(178,34,34,.45); }
.btn-secondary {
  border: 1px solid rgba(255,255,255,.25); color: white; padding: 14px 32px; border-radius: var(--r);
  font-size: 12px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase;
  transition: var(--transition); display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.hero-stats { display: flex; gap: 40px; }
.hero-stat { }
.hero-stat .num { font-family: 'Poppins', sans-serif; font-size: 30px; font-weight: 700; color: white; display: block; line-height: 1; }
.hero-stat .lbl { font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-top: 4px; display: block; }

/* ═══════════════════════════════════════════
   SEARCH BAR
═══════════════════════════════════════════ */
.search-section {
  background: var(--ink2); padding: 0;
  position: sticky; top: 68px; z-index: 90;
  box-shadow: 0 4px 24px rgba(16,8,8,.3);
}
.search-inner {
  max-width: 1200px; margin: 0 auto; padding: 16px 24px;
  display: flex; gap: 10px; align-items: center; flex-wrap: wrap;
}
.search-tabs { display: flex; gap: 0; margin-right: 8px; }
.search-tab {
  padding: 8px 18px; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.5);
  cursor: pointer; transition: var(--transition); background: transparent;
}
.search-tab:first-child { border-radius: var(--r) 0 0 var(--r); }
.search-tab:last-child { border-radius: 0 var(--r) var(--r) 0; border-left: none; }
.search-tab.active { background: var(--red); border-color: var(--red); color: white; }
.search-field {
  flex: 1; min-width: 160px; position: relative;
}
.search-field select, .search-field input {
  width: 100%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); color: white; padding: 9px 14px; font-size: 12px;
  outline: none; appearance: none; transition: var(--transition);
}
.search-field select:focus, .search-field input:focus { border-color: var(--red); background: rgba(255,255,255,.09); }
.search-field option { background: var(--ink2); color: white; }
.search-field input::placeholder { color: rgba(255,255,255,.35); }
.btn-search {
  background: var(--red); color: white; padding: 10px 24px; border-radius: var(--r);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap; transition: var(--transition); flex-shrink: 0;
}
.btn-search:hover { background: var(--red2); box-shadow: 0 6px 20px rgba(139,26,26,.4); }

/* ═══════════════════════════════════════════
   SECTION LAYOUT
═══════════════════════════════════════════ */
.section { padding: 72px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { margin-bottom: 40px; }
.section-eyebrow {
  font-size: 10px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--red); display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.section-eyebrow::after { content: ''; flex: none; width: 40px; height: 1px; background: var(--red); opacity: .4; }
.section h2 { font-family: 'Poppins', sans-serif; font-size: clamp(26px, 3.5vw, 40px); font-weight: 700; color: var(--ink); line-height: 1.15; }
.section h2 em { font-style: italic; color: var(--red); font-weight: 400; }
.section-sub { font-size: 14px; color: var(--muted); margin-top: 8px; font-weight: 300; }
.section-actions { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; flex-wrap: wrap; gap: 12px; }
.results-count { font-size: 12px; color: var(--muted); font-weight: 400; }
.results-count strong { color: var(--ink); font-weight: 600; }

/* ═══════════════════════════════════════════
   PROPERTY CARDS
═══════════════════════════════════════════ */
.props-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px;
}
.prop-card {
  background: white; border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: var(--transition);
  cursor: pointer; border: 1px solid rgba(0,0,0,.04);
}
.prop-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.prop-img {
  position: relative; height: 210px; overflow: hidden; background: var(--cream2);
}
.prop-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prop-card:hover .prop-img img { transform: scale(1.05); }
.prop-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 48px; background: linear-gradient(135deg, var(--cream2), var(--cream3));
}
.prop-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 9px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; backdrop-filter: blur(8px);
}
.prop-badge.vente { background: var(--red); color: white; font-weight: 600; letter-spacing: .06em; }
.prop-badge.location { background: rgba(20,80,40,.85); color: white; }
.prop-badge.exclusif { background: rgba(184,137,58,.9); color: white; }
.prop-ref {
  position: absolute; bottom: 10px; right: 10px;
  font-size: 9px; color: rgba(255,255,255,.7); background: rgba(0,0,0,.4);
  padding: 3px 8px; border-radius: 20px; backdrop-filter: blur(4px);
}
.prop-body { padding: 18px 20px 20px; }
.prop-type { font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.prop-title { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 4px; line-height: 1.3; }
.prop-location { font-size: 12px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.prop-location::before { content: '📍'; font-size: 11px; }
.prop-specs { display: flex; gap: 0; border-top: 1px solid var(--cream2); border-bottom: 1px solid var(--cream2); margin-bottom: 14px; }
.prop-spec { flex: 1; padding: 10px 0; text-align: center; border-right: 1px solid var(--cream2); }
.prop-spec:last-child { border-right: none; }
.prop-spec .sv { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 600; color: var(--ink); display: block; line-height: 1; }
.prop-spec .sl { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 2px; display: block; }
.prop-footer { display: flex; align-items: flex-end; justify-content: space-between; }
.prop-price { font-family: 'Poppins', sans-serif; font-size: 20px; font-weight: 700; color: var(--red); line-height: 1; }
.prop-price-sub { font-size: 10px; color: var(--muted); font-weight: 400; margin-top: 2px; }
.prop-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--cream2);
  display: flex; align-items: center; justify-content: center; font-size: 14px;
  transition: var(--transition); flex-shrink: 0;
}
.prop-card:hover .prop-btn { background: var(--red); color: white; }

/* ═══════════════════════════════════════════
   MODAL DÉTAIL BIEN
═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(16,8,8,.75); z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: white; border-radius: var(--r-lg); max-width: 900px; width: 100%;
  max-height: 90vh; overflow-y: auto; transform: translateY(24px);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 40px 100px rgba(16,8,8,.3);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { position: relative; height: 320px; background: var(--cream2); overflow: hidden; }
.modal-header img { width: 100%; height: 100%; object-fit: cover; }
.modal-header-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 80px; background: linear-gradient(135deg, var(--cream2), var(--cream3)); }
.modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  background: rgba(255,255,255,.9); border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 16px; cursor: pointer; transition: var(--transition);
  border: none; backdrop-filter: blur(4px);
}
.modal-close:hover { background: white; transform: scale(1.1); }
.modal-badges { position: absolute; bottom: 16px; left: 16px; display: flex; gap: 8px; }
.modal-body { padding: 28px 32px 32px; }
.modal-top { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; margin-bottom: 24px; }
.modal-title { font-family: 'Poppins', sans-serif; font-size: 24px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.modal-loc { font-size: 13px; color: var(--muted); }
.modal-price { font-family: 'Poppins', sans-serif; font-size: 28px; font-weight: 700; color: var(--red); white-space: nowrap; }
.modal-price-sub { font-size: 11px; color: var(--muted); text-align: right; margin-top: 2px; }
.modal-specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 24px; padding: 20px; background: var(--cream); border-radius: var(--r); }
.modal-spec .msv { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; color: var(--ink); display: block; }
.modal-spec .msl { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-top: 2px; display: block; }
.modal-desc-title { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
.modal-desc { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.modal-features { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.modal-feature { background: var(--cream2); padding: 5px 12px; border-radius: 20px; font-size: 11px; color: var(--ink); }
.modal-contact { background: var(--ink2); border-radius: var(--r); padding: 20px 24px; }
.modal-contact h4 { font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; color: white; margin-bottom: 14px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-form input, .contact-form textarea {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r); padding: 10px 14px; color: white; font-size: 13px; outline: none;
  font-family: var(--font-body); transition: var(--transition); width: 100%;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.3); }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--red); }
.contact-form textarea { grid-column: 1 / -1; resize: none; height: 80px; }
.contact-form .btn-send { grid-column: 1 / -1; background: var(--red); color: white; padding: 12px; border-radius: var(--r); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; transition: var(--transition); }
.contact-form .btn-send:hover { background: var(--red2); box-shadow: 0 6px 20px rgba(139,26,26,.4); }

/* ═══════════════════════════════════════════
   SECTION DARK (agence)
═══════════════════════════════════════════ */
.section-dark { background: var(--ink2); padding: 72px 24px; }
.section-dark .section-eyebrow { color: var(--gold2); }
.section-dark .section-eyebrow::after { background: var(--gold2); }
.section-dark h2 { color: white; }
.section-dark h2 em { color: var(--red3); }
.section-dark .section-sub { color: rgba(255,255,255,.45); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.service-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-lg); padding: 28px 24px; transition: var(--transition);
}
.service-card:hover { background: rgba(255,255,255,.07); border-color: rgba(139,26,26,.4); transform: translateY(-4px); }
.service-icon { font-size: 28px; margin-bottom: 14px; }
.service-title { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; color: white; margin-bottom: 8px; }
.service-desc { font-size: 12px; color: rgba(255,255,255,.45); line-height: 1.7; }

/* ═══════════════════════════════════════════
   CONTACT SECTION
═══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-info h3 { font-family: 'Poppins', sans-serif; font-size: 26px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.contact-info p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 28px; }
.contact-detail { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.contact-detail-icon { width: 36px; height: 36px; background: var(--cream2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.contact-detail-text strong { font-size: 12px; font-weight: 600; display: block; color: var(--ink); margin-bottom: 1px; }
.contact-detail-text span { font-size: 13px; color: var(--muted); }
.contact-form-main { background: white; border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.contact-form-main h4 { font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; border: 1.5px solid var(--cream2); border-radius: var(--r);
  padding: 11px 14px; font-size: 13px; outline: none; font-family: var(--font-body);
  color: var(--ink); transition: var(--transition); background: var(--cream);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); background: white; }
.form-field textarea { resize: none; height: 100px; margin-bottom: 12px; width: 100%; border: 1.5px solid var(--cream2); border-radius: var(--r); padding: 11px 14px; font-size: 13px; outline: none; font-family: var(--font-body); transition: var(--transition); background: var(--cream); }
.form-field textarea:focus { border-color: var(--red); background: white; }
.btn-submit {
  width: 100%; background: var(--red); color: white; padding: 14px;
  border-radius: var(--r); font-size: 12px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; transition: var(--transition);
}
.btn-submit:hover { background: var(--red2); box-shadow: 0 8px 24px rgba(139,26,26,.35); }

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer { background: var(--ink); padding: 48px 24px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { margin-bottom: 14px; }
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.7; max-width: 240px; }
.footer-col h5 { font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 14px; }
.footer-col a { display: block; font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.06); padding-top: 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.25); }
.carte-t { font-size: 10px; color: rgba(255,255,255,.25); display: flex; gap: 12px; }
.carte-t span { border: 1px solid rgba(255,255,255,.1); padding: 2px 8px; border-radius: 12px; }

/* ═══════════════════════════════════════════
   EMPTY STATE
═══════════════════════════════════════════ */
.empty-state {
  text-align: center; padding: 60px 20px; grid-column: 1 / -1;
}
.empty-state .empty-icon { font-size: 48px; margin-bottom: 16px; opacity: .4; }
.empty-state h3 { font-family: var(--font-head); font-size: 24px; color: var(--muted); margin-bottom: 8px; }
.empty-state p { font-size: 13px; color: var(--muted); }

/* ═══════════════════════════════════════════
   LOADING
═══════════════════════════════════════════ */
.loading { text-align: center; padding: 40px; grid-column: 1/-1; }
.spinner { width: 32px; height: 32px; border: 3px solid var(--cream2); border-top-color: var(--red); border-radius: 50%; animation: spin .7s linear infinite; margin: 0 auto 12px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ═══════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════ */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
  background: var(--ink2); color: white; padding: 12px 24px; border-radius: var(--r);
  font-size: 13px; font-weight: 400; z-index: 10000;   /* au-dessus du back-office (be-overlay = 9000) */ opacity: 0;
  transition: all .4s cubic-bezier(.4,0,.2,1);
  display: flex; align-items: center; gap: 10px; border-left: 3px solid var(--red);
  box-shadow: 0 12px 40px rgba(0,0,0,.3);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media(max-width: 768px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero h1 { font-size: 40px; }
  .hero-stats { gap: 24px; }
  .props-grid { grid-template-columns: 1fr; }
  .search-inner { flex-direction: column; }
  .search-field { width: 100%; }
  .modal-body { padding: 20px; }
  .modal-top { grid-template-columns: 1fr; }
  .modal-specs { grid-template-columns: repeat(2, 1fr); }
  .contact-form { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Champ piège anti-spam des formulaires (hors écran, ignoré par les humains) */
.hp-field { position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; pointer-events:none; }

/* Icônes réseaux sociaux de l'en-tête (affichées seulement si un lien est renseigné) */
.header-inner .nav { margin-left: auto; }   /* garde le menu calé à droite, collé aux icônes */
.header-social { display: flex; align-items: center; gap: 12px; margin-left: 20px; padding-left: 18px; border-left: 1px solid var(--cream3); }
.header-social[hidden] { display: none; }
.header-social a { display: flex; color: var(--muted); opacity: .75; transition: var(--transition); }
.header-social a:hover { color: var(--red); opacity: 1; transform: translateY(-1px); }
@media (max-width: 768px) {
  .header-social { margin-left: auto; margin-right: 6px; padding-left: 0; border-left: none; gap: 10px; }
}
@media (max-width: 480px) {
  .header-inner { column-gap: 12px; }
  .header-social { gap: 9px; padding-left: 0; }
  .header-social svg { width: 16px; height: 16px; }
  /* petit écran : le slogan sous « L'Égide » ne tient pas à côté des icônes → masqué seulement si des icônes sont affichées */
  .header-inner:has(.header-social:not([hidden])) .logo-sub { display: none; }
}

/* Coordonnées de l'agence (Contact + pied de page) : ligne masquée tant que la valeur n'est pas renseignée dans « Mon agence » */
[data-agence-row][hidden] { display: none !important; }

/* Case « Se souvenir de moi » des écrans de connexion admin */
.be-remember { display: flex; align-items: center; gap: 8px; margin: 2px 0 10px; font-size: 13px; color: var(--muted); cursor: pointer; user-select: none; }
.be-remember input { width: 16px; height: 16px; margin: 0; accent-color: var(--red); cursor: pointer; }
