/* =========================================================
   TOURS ÉTUDIANT — V2 Glassmorphism / Dark / Acid green
   ========================================================= */

:root {
  --bg: #0F1B2D;
  --bg-deep: #08101A;
  --accent: #A8E63D;
  --accent-2: #388BFD;
  --ink: #FFFFFF;
  --ink-muted: rgba(255,255,255,0.6);
  --ink-dim: rgba(255,255,255,0.45);
  --ink-faint: rgba(255,255,255,0.25);
  --line: rgba(255,255,255,0.08);
  --line-soft: rgba(255,255,255,0.06);

  /* Gestionnaire palettes (same hues, translucent) */
  --g-lba-bg: rgba(139,26,44,0.30);    --g-lba-bd: rgba(139,26,44,0.50);    --g-lba-fg: #F87171;
  --g-est-bg: rgba(201,146,10,0.30);   --g-est-bd: rgba(201,146,10,0.50);   --g-est-fg: #FCD34D;
  --g-stu-bg: rgba(46,125,50,0.30);    --g-stu-bd: rgba(46,125,50,0.50);    --g-stu-fg: #86EFAC;
  --g-oda-bg: rgba(21,101,192,0.30);   --g-oda-bd: rgba(21,101,192,0.50);   --g-oda-fg: #93C5FD;
  --g-nom-bg: rgba(106,27,154,0.30);   --g-nom-bd: rgba(106,27,154,0.50);   --g-nom-fg: #C4B5FD;

  --f-display: "Space Grotesk", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px; font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(ellipse 1200px 800px at 80% -10%, rgba(168,230,61,0.06), transparent 60%),
    radial-gradient(ellipse 1000px 600px at 0% 100%, rgba(56,139,253,0.05), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; margin: 0; letter-spacing: -0.02em; line-height: 1.05; }

.container {
  width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 28px;
}

.section { padding: 120px 0; position: relative; }

/* ==========  GLASS SYSTEM  ========== */

.glass {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}
.glass-accent {
  background: rgba(168, 230, 61, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168, 230, 61, 0.20);
  border-radius: 20px;
}
.glass-dark {
  background: rgba(15, 27, 45, 0.65);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
}
.glass-pill {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 50px;
  padding: 6px 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-muted);
  transition: all 0.25s ease;
  white-space: nowrap;
}
.glass-pill:hover { border-color: rgba(168,230,61,0.3); color: var(--ink); }
.glass-pill.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

@supports not (backdrop-filter: blur(1px)) {
  .glass { background: rgba(255,255,255,0.08); }
  .glass-dark { background: rgba(15, 27, 45, 0.92); }
  .glass-accent { background: rgba(168,230,61,0.14); }
  .glass-pill { background: rgba(255,255,255,0.12); }
}

/* ==========  GLOWS  ========== */

.glow-green {
  box-shadow:
    0 0 20px rgba(168, 230, 61, 0.25),
    0 0 60px rgba(168, 230, 61, 0.10),
    0 0 120px rgba(168, 230, 61, 0.05);
}
.glow-green-soft {
  box-shadow:
    0 0 20px rgba(168, 230, 61, 0.12),
    0 0 60px rgba(168, 230, 61, 0.06);
}
.glow-green-text {
  text-shadow:
    0 0 20px rgba(168, 230, 61, 0.6),
    0 0 40px rgba(168, 230, 61, 0.3);
}
.glow-blue {
  box-shadow:
    0 0 30px rgba(56, 139, 253, 0.20),
    0 0 80px rgba(56, 139, 253, 0.08);
}

/* ==========  CUSTOM CURSOR  ========== */

body { cursor: none; }
a, button, select, input, label, summary, [role="button"] { cursor: none; }

#cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  transform: translate(-50%, -50%);
  top: -10px; left: -10px;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.2s ease, height 0.2s ease;
  box-shadow: 0 0 8px rgba(168,230,61,0.7);
}
#cursor-ring {
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1.5px solid rgba(168,230,61,0.55);
  transform: translate(-50%, -50%);
  top: -20px; left: -20px;
  opacity: 0;
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, border-color 0.25s ease;
}
body.cur-hover #cursor-dot { width: 8px; height: 8px; }
body.cur-hover #cursor-ring { width: 52px; height: 52px; border-color: rgba(168,230,61,0.85); }
body.cur-click #cursor-ring { width: 26px; height: 26px; border-color: rgba(168,230,61,1); }

/* ==========  SITE BACKGROUND GRID  ========== */

.site-bg-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(circle, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, black 8%, black 92%, transparent 100%);
}

/* ==========  ORBS  ========== */

.orb-green, .orb-blue {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}
.orb-green {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168,230,61,0.12) 0%, transparent 70%);
  filter: blur(40px);
  animation: float-orb 24s ease-in-out infinite;
}
.orb-blue {
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(56,139,253,0.10) 0%, transparent 70%);
  filter: blur(60px);
  animation: float-orb 32s ease-in-out infinite reverse;
}
.orb-sm { width: 300px; height: 300px; filter: blur(30px); }
.orb-accent-mini {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(168,230,61,0.10) 0%, transparent 70%);
  filter: blur(28px);
  will-change: transform;
}
.orb-blue-mini {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(56,139,253,0.12) 0%, transparent 70%);
  filter: blur(24px);
  will-change: transform;
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 15px); }
}
@keyframes float-orb-b {
  0%, 100% { transform: translate(0, 0); }
  40% { transform: translate(-40px, 25px); }
  75% { transform: translate(25px, -15px); }
}
@keyframes float-orb-c {
  0%, 100% { transform: translate(0, 0); }
  30% { transform: translate(20px, 30px); }
  60% { transform: translate(-30px, -10px); }
  80% { transform: translate(10px, 20px); }
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
@keyframes slide-up {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.card-animate { animation: slide-up 0.5s ease forwards; opacity: 0; }

/* ==========  HERO CARD LEVITATION  ========== */

@keyframes float-card-center {
  0%, 100% { transform: rotate(0deg) translateY(0px); }
  50%       { transform: rotate(0deg) translateY(-14px); }
}
@keyframes float-card-left {
  0%, 100% { transform: rotate(-5deg) translate(-90px, 30px); }
  50%       { transform: rotate(-5deg) translate(-90px, 16px); }
}
@keyframes float-card-right {
  0%, 100% { transform: rotate(5deg) translate(90px, 30px); }
  50%       { transform: rotate(5deg) translate(90px, 16px); }
}
@keyframes breathe-card {
  0%, 100% {
    box-shadow:
      0 0 60px rgba(168,230,61,0.22),
      0 30px 80px rgba(0,0,0,0.6);
  }
  50% {
    box-shadow:
      0 0 90px rgba(168,230,61,0.38),
      0 0 140px rgba(168,230,61,0.12),
      0 30px 80px rgba(0,0,0,0.6);
  }
}

/* ==========  NAVBAR  ========== */

.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(15, 27, 45, 0.40);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 28px;
  max-width: 1440px; margin: 0 auto;
}
.nav-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-display); font-weight: 600; font-size: 18px;
  color: var(--ink);
  text-shadow: 0 0 20px rgba(168,230,61,0.35);
}
.nav-logo .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(168,230,61,0.8), 0 0 20px rgba(168,230,61,0.5);
  animation: pulse-dot 2.4s ease-in-out infinite;
}
.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 14px; font-weight: 400;
}
.nav-links a { color: rgba(255,255,255,0.6); transition: color 0.25s ease; }
.nav-links a:hover { color: var(--accent); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: 50px;
  background: var(--accent); color: var(--bg);
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
}
.nav-cta:hover {
  box-shadow: 0 0 20px rgba(168,230,61,0.5), 0 0 40px rgba(168,230,61,0.25);
  transform: translateY(-1px);
}
@media (max-width: 900px) { .nav-links { display: none; } }

/* ==========  HERO  ========== */

.hero {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 20%, transparent 75%);
}
.hero .orb-green { top: -200px; right: -120px; }
.hero .orb-blue { bottom: -280px; left: -160px; }
.hero .orb-accent-mini { bottom: 15%; left: 35%; animation: float-orb-b 18s ease-in-out infinite; }
.hero .orb-blue-mini { top: 20%; right: 30%; animation: float-orb-c 22s ease-in-out infinite; animation-delay: -8s; }

.hero-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 55fr 45fr; gap: 60px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
  font-family: var(--f-body); font-weight: 500; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
}
.hero-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  letter-spacing: -0.03em;
  line-height: 1.05;
  max-width: 13ch;
}
.hero h1 .accent {
  color: var(--accent);
  text-shadow:
    0 0 20px rgba(168, 230, 61, 0.6),
    0 0 40px rgba(168, 230, 61, 0.3);
}

.hero-sub {
  margin-top: 28px;
  font-weight: 300; font-size: 16px;
  color: rgba(255,255,255,0.55);
  max-width: 480px;
  line-height: 1.65;
}

.hero-cats {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* Search bar — glass */
.search {
  margin-top: 36px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  padding: 8px;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr auto;
  gap: 0;
  align-items: stretch;
}
.search-field {
  padding: 12px 18px;
  display: flex; flex-direction: column; justify-content: center;
  border-right: 1px solid rgba(255,255,255,0.08);
  min-width: 0;
}
.search-field:last-of-type { border-right: none; }
.search-field label {
  font-family: var(--f-body); font-weight: 500;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 6px;
}
.search-field select,
.search-field input {
  border: none; outline: none; background: transparent;
  font-family: var(--f-body); font-weight: 400; font-size: 15px;
  color: var(--ink);
  padding: 0; width: 100%;
  appearance: none; cursor: pointer;
}
.search-field select option { background: var(--bg); color: var(--ink); }
.search-field input::placeholder { color: rgba(255,255,255,0.35); }
.search-btn {
  align-self: stretch;
  padding: 0 26px;
  border-radius: 16px;
  background: var(--accent); color: var(--bg);
  font-family: var(--f-display); font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.25s ease;
}
.search-btn:hover {
  box-shadow: 0 0 20px rgba(168,230,61,0.5), 0 0 60px rgba(168,230,61,0.25);
}
@media (max-width: 820px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search-field { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 12px 14px; }
  .search-btn { grid-column: 1 / -1; padding: 16px; justify-content: center; }
}

.hero-quick {
  margin-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
}
.hero-quick-label {
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-right: 8px;
}

/* ==========  FLOATING CARD STACK (hero right)  ========== */

.hero-card-stack {
  position: relative;
  height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.hero-card-item {
  position: absolute;
  width: 280px; height: 360px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  background: #0a1420;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.hero-card-item .hc-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.hero-card-item .hc-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,16,28,0.95) 0%, rgba(8,16,28,0.55) 45%, rgba(8,16,28,0.15) 75%, rgba(8,16,28,0.35) 100%);
}
.hero-card-item .hc-inner {
  position: absolute; inset: 0;
  padding: 20px 22px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card-item:nth-child(1) { animation: float-card-left 5.5s ease-in-out infinite; animation-delay: -1.2s; opacity: 0.85; }
.hero-card-item:nth-child(2) { animation: float-card-center 4s ease-in-out infinite, breathe-card 4s ease-in-out infinite; z-index: 2; border-color: rgba(168,230,61,0.3); }
.hero-card-item:nth-child(3) { animation: float-card-right 5.5s ease-in-out infinite; animation-delay: -3s; opacity: 0.85; }

.hc-top { position: relative; display: flex; align-items: center; gap: 10px; }
.hc-block {
  width: 40px; height: 40px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 13px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hc-name { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: var(--ink); text-shadow: 0 1px 8px rgba(0,0,0,0.6); }
.hc-quartier { font-size: 11px; color: rgba(255,255,255,0.7); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.hc-bottom { position: relative; display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); }
.hc-price { font-family: var(--f-display); font-weight: 700; font-size: 20px; color: var(--accent); text-shadow: 0 0 16px rgba(168,230,61,0.4); }
.hc-rating { font-size: 11px; color: rgba(255,255,255,0.75); text-shadow: 0 1px 6px rgba(0,0,0,0.6); }

@media (max-width: 980px) { .hero-card-stack { height: 340px; } .hero-card-item { width: 240px; height: 300px; } }

/* ==========  STATS BENTO  ========== */

.stats-bento {
  position: relative;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 340px;
}
.stats-bento .orb-green { top: 50%; left: 30%; transform: translate(-50%, -50%); z-index: 0; }

.stat-cell {
  padding: 36px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative;
  z-index: 1;
  min-height: 150px;
}
.stat-cell:nth-child(1) { grid-column: 1; grid-row: 1; }
.stat-cell:nth-child(2) { grid-column: 2; grid-row: 1 / span 2; }
.stat-cell:nth-child(3) { grid-column: 1; grid-row: 2; }
.stat-cell:nth-child(4) { grid-column: 2 / span 1; grid-row: 1; display: none; }

.stat-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(40px, 5vw, 64px); line-height: 1;
  color: var(--accent);
  letter-spacing: -0.04em;
  text-shadow: 0 0 20px rgba(168,230,61,0.6), 0 0 40px rgba(168,230,61,0.3);
}
.stat-num small { font-size: 0.4em; color: rgba(255,255,255,0.5); text-shadow: none; font-weight: 500; margin-left: 4px; }
.stat-label {
  margin-top: 14px;
  font-size: 13px; font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
}

@media (max-width: 820px) {
  .stats-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; }
  .stat-cell:nth-child(2) { grid-column: 1 / span 2; grid-row: auto; }
  .stat-cell:nth-child(1), .stat-cell:nth-child(3) { grid-column: auto; grid-row: auto; }
}

/* Need 4th: reassign */
.stats-bento-4 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
  position: relative;
}
.stats-bento-4 .orb-green { top: 50%; left: 40%; transform: translate(-50%, -50%); z-index: 0; }
.stats-bento-4 > .stat-cell { z-index: 1; }
.stats-bento-4 .stat-a { grid-column: 1; grid-row: 1; }
.stats-bento-4 .stat-b { grid-column: 2; grid-row: 1 / span 2; }
.stats-bento-4 .stat-c { grid-column: 1; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 0; background: transparent; border: none; backdrop-filter: none; }
.stats-bento-4 .stat-c > .stat-cell { min-height: 0; }
@media (max-width: 820px) {
  .stats-bento-4 { grid-template-columns: 1fr; }
  .stats-bento-4 .stat-a, .stats-bento-4 .stat-b, .stats-bento-4 .stat-c { grid-column: 1; grid-row: auto; }
}

/* ==========  SECTION HEADERS  ========== */

.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  margin-bottom: 56px;
}
.sec-head-l { max-width: 720px; }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 500; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
}
.sec-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.sec-head h2 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.03em; line-height: 1.05;
}
.sec-head h2 .accent { color: var(--accent); text-shadow: 0 0 20px rgba(168,230,61,0.5); }
@media (max-width: 820px) { .sec-head { flex-direction: column; align-items: flex-start; } }

/* ==========  RESIDENCE CARDS — Bento horizontal  ========== */

.cards-list { display: flex; flex-direction: column; gap: 14px; }

.residence-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  background: rgba(15, 27, 45, 0.65);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  color: inherit;
}
.residence-card:hover {
  border-color: rgba(168, 230, 61, 0.25);
  box-shadow:
    0 0 30px rgba(168, 230, 61, 0.12),
    0 8px 32px rgba(0,0,0,0.4),
    0 0 0 1px rgba(168,230,61,0.15);
  transform: translateY(-2px);
}

.card-photo {
  position: relative;
  width: 140px; height: 104px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.residence-card:hover .card-photo img { transform: scale(1.06); }
.card-photo-badge {
  position: absolute; left: 8px; bottom: 8px;
  padding: 4px 8px;
  border-radius: 8px;
  font-family: var(--f-head); font-weight: 700;
  font-size: 10px; letter-spacing: 0.08em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.card-photo-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-head); font-weight: 700;
  font-size: 22px; letter-spacing: 0.08em;
}

.card-gestionnaire-block {
  width: 80px; height: 80px;
  border-radius: 16px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700; font-size: 22px;
  letter-spacing: -1px;
  flex-shrink: 0;
  position: relative;
}
.card-gestionnaire-block small {
  font-family: var(--f-body); font-weight: 500;
  font-size: 8px; letter-spacing: 0.12em; text-transform: uppercase;
  opacity: 0.7; margin-top: 2px;
}
.gestionnaire-lba       { background: var(--g-lba-bg); border: 1px solid var(--g-lba-bd); color: var(--g-lba-fg); }
.gestionnaire-estudines { background: var(--g-est-bg); border: 1px solid var(--g-est-bd); color: var(--g-est-fg); }
.gestionnaire-studea    { background: var(--g-stu-bg); border: 1px solid var(--g-stu-bd); color: var(--g-stu-fg); }
.gestionnaire-odalys    { background: var(--g-oda-bg); border: 1px solid var(--g-oda-bd); color: var(--g-oda-fg); }
.gestionnaire-nomad     { background: var(--g-nom-bg); border: 1px solid var(--g-nom-bd); color: var(--g-nom-fg); }

.card-content { flex: 1; min-width: 0; }
.card-header-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.card-nom {
  font-family: var(--f-display); font-weight: 600; font-size: 17px;
  color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.card-badge-new {
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 500;
  padding: 3px 8px; border-radius: 50px;
  background: rgba(168,230,61,0.12); color: var(--accent);
  border: 1px solid rgba(168,230,61,0.25);
}
.card-adresse { font-size: 12px; color: rgba(255,255,255,0.45); margin-bottom: 12px; }
.card-services {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px;
}
.card-service-pill {
  font-size: 10px;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}
.card-note {
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.card-note .star { color: var(--accent); margin-right: 4px; }
.card-note .sep { margin: 0 8px; opacity: 0.4; }

.card-prix-block {
  text-align: right; flex-shrink: 0;
  display: flex; flex-direction: column; align-items: flex-end;
}
.card-prix-from {
  font-size: 11px; color: rgba(255,255,255,0.4);
  display: block; margin-bottom: 2px;
}
.card-prix {
  font-family: var(--f-display); font-weight: 700;
  font-size: 22px; color: var(--accent);
  display: block; margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.card-prix .unit { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0; margin-left: 2px; }
.card-cta {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(168,230,61,0.12);
  border: 1px solid rgba(168,230,61,0.25);
  color: var(--accent);
  font-size: 16px;
  transition: all 0.25s ease;
}
.residence-card:hover .card-cta {
  background: var(--accent); color: var(--bg);
  box-shadow: 0 0 15px rgba(168,230,61,0.5);
}

@media (max-width: 820px) {
  .residence-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }
  .card-prix-block { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; text-align: left; }
  .card-prix { margin-bottom: 0; }
  .card-gestionnaire-block { width: 56px; height: 56px; font-size: 17px; }
  .card-photo { width: 100%; height: 180px; }
}

/* Empty state */
.cards-empty {
  text-align: center; padding: 80px 24px;
  color: var(--ink-dim); font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
}

/* ==========  MAP  ========== */

.map-section { position: relative; }
.map-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(168,230,61,0.15);
  box-shadow:
    inset 0 0 0 1px rgba(168,230,61,0.10),
    0 0 60px rgba(168,230,61,0.08),
    0 20px 60px rgba(0,0,0,0.3);
  height: 580px;
}
#map { height: 100%; width: 100%; background: #0A1420; }
.leaflet-container { font-family: var(--f-body); background: #0A1420; }
.leaflet-tile { filter: invert(1) hue-rotate(180deg) brightness(0.95) contrast(0.9); }
.leaflet-control-attribution { background: rgba(15,27,45,0.8) !important; color: rgba(255,255,255,0.5) !important; }
.leaflet-control-attribution a { color: var(--accent) !important; }
.leaflet-popup-content-wrapper {
  background: rgba(15, 27, 45, 0.95) !important;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(168,230,61,0.2);
  border-radius: 14px !important;
  color: var(--ink);
  box-shadow: 0 0 30px rgba(168,230,61,0.12), 0 12px 32px rgba(0,0,0,0.5) !important;
}
.leaflet-popup-tip { background: rgba(15,27,45,0.95) !important; }
.leaflet-popup-content { margin: 14px 16px; font-size: 13px; color: var(--ink); }
.leaflet-popup-content .pop-name { font-family: var(--f-display); font-size: 15px; font-weight: 600; margin-bottom: 2px; color: #fff; }
.leaflet-popup-content .pop-addr { color: rgba(255,255,255,0.5); font-size: 11px; }
.leaflet-popup-content .pop-price { margin-top: 8px; font-family: var(--f-display); font-size: 14px; font-weight: 700; color: var(--accent); }
.leaflet-popup-content a { color: var(--accent); text-decoration: none; font-weight: 600; }
.leaflet-popup-close-button { color: rgba(255,255,255,0.6) !important; }

.marker-pin {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  border: 2px solid rgba(15,27,45,0.9);
  filter: drop-shadow(0 0 8px rgba(168,230,61,0.5));
  color: #fff;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 11px;
}
.marker-pin span { transform: rotate(45deg); }

.map-legend {
  position: absolute; top: 20px; left: 20px; z-index: 500;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 8px;
}
.map-legend-title { font-size: 9px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 4px; }
.legend-row { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,0.7); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 6px currentColor; }

/* ==========  QUARTIERS  ========== */

.quartiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 820px) { .quartiers-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quartiers-grid { grid-template-columns: 1fr; } }

.quartier-card {
  position: relative;
  padding: 28px 26px 24px;
  min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}
.quartier-card:hover {
  border-color: rgba(168,230,61,0.3);
  box-shadow: 0 0 30px rgba(168,230,61,0.10);
  transform: translateY(-2px);
}
.quartier-bignum {
  position: absolute;
  right: -10px; bottom: -30px;
  font-family: var(--f-display); font-weight: 700;
  font-size: 180px; line-height: 1;
  color: rgba(168,230,61,0.06);
  letter-spacing: -0.06em;
  pointer-events: none;
}
.quartier-card:hover .quartier-bignum { color: rgba(168,230,61,0.10); }

.quartier-top { position: relative; z-index: 1; }
.quartier-num-label {
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 10px;
}
.quartier-nom {
  font-family: var(--f-display); font-weight: 700;
  font-size: 26px; line-height: 1.05;
  letter-spacing: -0.02em; color: #fff;
}
.quartier-bottom {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.quartier-arrow {
  font-size: 18px; color: var(--accent);
  transition: transform 0.25s ease;
}
.quartier-card:hover .quartier-arrow { transform: translate(4px, -4px); }

/* ==========  TIMELINE STORYTELLING  ========== */

.story-section { position: relative; }
.story-section .orb-green { top: -100px; right: -200px; }

.timeline {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding-left: 48px;
}
.timeline::before {
  content: "";
  position: absolute; left: 12px; top: 20px; bottom: 20px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(168,230,61,0.5), rgba(168,230,61,0.1));
  box-shadow: 0 0 12px rgba(168,230,61,0.3);
}

.timeline-step {
  position: relative;
  margin-bottom: 28px;
  padding: 28px 32px;
}
.timeline-step::before {
  content: "";
  position: absolute;
  left: -42px; top: 32px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(168,230,61,0.8), 0 0 24px rgba(168,230,61,0.4);
}
.timeline-num {
  font-family: var(--f-display); font-weight: 700;
  font-size: 48px; line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(168,230,61,0.5);
  letter-spacing: -0.04em;
  margin-bottom: 10px;
}
.timeline-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: 20px; color: #fff;
  margin-bottom: 8px;
}
.timeline-text { font-size: 14.5px; color: rgba(255,255,255,0.65); line-height: 1.65; max-width: 52ch; }
.timeline-sig {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ==========  BLOG  ========== */

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr; } }

.blog-card {
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 260px;
}
.blog-card:hover {
  border-color: rgba(168,230,61,0.25);
  box-shadow: 0 0 24px rgba(168,230,61,0.08);
}
.blog-meta {
  display: flex; gap: 10px; align-items: center;
  font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.blog-meta .tag {
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(168,230,61,0.08);
  color: var(--accent);
  border: 1px solid rgba(168,230,61,0.15);
}
.blog-title {
  font-family: var(--f-display); font-weight: 600;
  font-size: 20px; line-height: 1.25; color: #fff;
  letter-spacing: -0.01em;
}
.blog-ex { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.6; font-weight: 300; }
.blog-read {
  margin-top: auto;
  font-size: 12px; font-weight: 500; color: var(--accent);
  display: inline-flex; align-items: center; gap: 4px;
}

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

.footer {
  background: rgba(8, 15, 26, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(168,230,61,0.10);
  box-shadow: 0 -1px 0 rgba(168,230,61,0.15), 0 -30px 80px rgba(168,230,61,0.04);
  padding: 80px 0 32px;
  position: relative;
  overflow: hidden;
}
.footer .orb-green { top: -400px; left: 30%; opacity: 0.4; }
.footer-inner { position: relative; z-index: 1; }
.footer-cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
@media (max-width: 820px) { .footer-cols { grid-template-columns: 1fr; gap: 40px; } }
.footer-brand { font-family: var(--f-display); font-weight: 600; font-size: 22px; color: #fff; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 300; max-width: 40ch; line-height: 1.6; }
.footer-col h4 {
  font-family: var(--f-body); font-weight: 500;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin: 0 0 18px;
}
.footer-col a { display: block; padding: 4px 0; font-size: 14px; color: rgba(255,255,255,0.7); transition: color 0.25s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 28px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; font-weight: 300;
  color: rgba(255,255,255,0.35);
}

/* ==========  RESIDENCE PAGE  ========== */

.breadcrumb {
  padding: 120px 0 16px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.breadcrumb a { color: rgba(255,255,255,0.55); transition: color 0.25s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { margin: 0 10px; opacity: 0.4; }
.breadcrumb .cur { color: #fff; }

.res-hero {
  position: relative;
  height: 58vh; min-height: 440px;
  border-radius: 24px;
  overflow: hidden;
  margin: 20px 0;
  background: linear-gradient(135deg, rgba(15,27,45,0.6), rgba(15,27,45,0.85));
  border: 1px solid rgba(255,255,255,0.08);
}
.res-hero-orb {
  position: absolute; inset: 0;
  filter: blur(60px);
}
.res-hero-note {
  position: absolute; bottom: 20px; right: 28px;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.35); z-index: 2;
}
.res-hero-badges {
  position: absolute; top: 24px; left: 28px;
  display: flex; gap: 8px; z-index: 2; flex-wrap: wrap;
}
.res-hero-initial {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-display); font-weight: 700;
  font-size: 280px;
  color: rgba(255,255,255,0.06);
  letter-spacing: -0.08em;
  z-index: 1;
}

.res-thumbs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 12px; margin-bottom: 40px;
}
.res-thumb {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s ease;
}
.res-thumb:hover { transform: scale(1.02); }
.res-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.res-hero-photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.res-hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,10,18,0.85) 0%, rgba(5,10,18,0.35) 40%, rgba(5,10,18,0.1) 70%, rgba(5,10,18,0.4) 100%);
}
.res-thumb-note {
  position: absolute; bottom: 10px; left: 12px;
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.res-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
}
@media (max-width: 980px) { .res-body { grid-template-columns: 1fr; } }

.res-main h1 {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(32px, 4.5vw, 52px);
  letter-spacing: -0.03em; color: #fff;
  margin-bottom: 14px;
}
.res-addr {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
}
.res-rating { display: inline-flex; align-items: center; gap: 4px; color: #fff; font-weight: 500; }
.res-rating .star { color: var(--accent); }

/* Tabs as glass pills */
.tabs {
  display: flex; gap: 6px; padding: 6px;
  margin: 36px 0 0;
  border-radius: 50px;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  align-self: flex-start;
  width: fit-content;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: all 0.25s ease;
}
.tab:hover { color: #fff; }
.tab.active { background: var(--accent); color: var(--bg); font-weight: 600; box-shadow: 0 0 20px rgba(168,230,61,0.3); }

.tab-content { display: none; padding: 36px 0; }
.tab-content.active { display: block; }
.tab-content p { font-size: 15.5px; color: rgba(255,255,255,0.72); line-height: 1.7; max-width: 64ch; font-weight: 300; }
.tab-content p + p { margin-top: 16px; }

.points-forts {
  margin-top: 36px;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
@media (max-width: 640px) { .points-forts { grid-template-columns: 1fr; } }
.point {
  padding: 22px;
  display: flex; gap: 14px; align-items: flex-start;
}
.point .pt-ic {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(168,230,61,0.12);
  border: 1px solid rgba(168,230,61,0.25);
  color: var(--accent);
  flex-shrink: 0;
}
.point .pt-t { font-family: var(--f-display); font-weight: 600; font-size: 15px; color: #fff; margin-bottom: 4px; }
.point .pt-d { color: rgba(255,255,255,0.55); font-size: 13px; line-height: 1.55; font-weight: 300; }

.equip-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 28px; }
@media (max-width: 640px) { .equip-grid { grid-template-columns: repeat(2, 1fr); } }
.equip-group-title {
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  color: #fff; letter-spacing: 0.02em;
  margin: 8px 0 14px;
  display: flex; align-items: baseline; gap: 10px;
}
.equip-group-title .equip-group-note {
  font-family: var(--f-body); font-weight: 400; font-size: 11px;
  color: rgba(255,255,255,0.35); letter-spacing: 0.04em;
}
.equip {
  padding: 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.equip svg { width: 22px; height: 22px; stroke-width: 1.5; color: var(--accent); }
.equip-name { font-family: var(--f-display); font-weight: 600; font-size: 14px; color: #fff; }
.equip-desc { color: rgba(255,255,255,0.5); font-size: 12.5px; line-height: 1.5; font-weight: 300; }

.tarif-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.tarif-table th, .tarif-table td {
  text-align: left; padding: 18px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14.5px; color: rgba(255,255,255,0.85);
}
.tarif-table th {
  font-family: var(--f-body); font-weight: 500;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.tarif-prix { font-family: var(--f-display); font-weight: 700; color: var(--accent); }
.tarif-note {
  margin-top: 16px;
  font-size: 11px; letter-spacing: 0.06em; color: rgba(255,255,255,0.4);
}

.loc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
@media (max-width: 820px) { .loc-grid { grid-template-columns: 1fr; } }
.mini-map {
  height: 360px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(168,230,61,0.15);
  box-shadow: 0 0 30px rgba(168,230,61,0.06);
  background: #0A1420;
}
.distances { display: flex; flex-direction: column; gap: 10px; }
.distance {
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.distance-name { font-weight: 500; font-size: 13.5px; color: #fff; }
.distance-modes {
  display: flex; gap: 12px;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.distance-mode { display: inline-flex; align-items: center; gap: 4px; }

/* Sticky right column */
.res-side { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  padding: 24px;
  box-shadow:
    0 0 24px rgba(168,230,61,0.12),
    0 0 60px rgba(168,230,61,0.06),
    0 12px 32px rgba(0,0,0,0.3);
}
.contact-card .price-block { padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 18px; }
.contact-card .from { font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.contact-card .price {
  font-family: var(--f-display); font-weight: 700;
  font-size: 44px; line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 24px rgba(168,230,61,0.5);
  letter-spacing: -0.04em;
  margin-top: 8px;
}
.contact-card .price .unit { font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.4); letter-spacing: 0; text-shadow: none; margin-left: 4px; }
.contact-card label { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 8px; }
.contact-card select {
  width: 100%; padding: 14px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font: inherit; font-size: 14px; font-weight: 400;
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path fill='none' stroke='%23A8E63D' stroke-width='1.5' d='M2 4l4 4 4-4'/></svg>");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 40px;
}
.contact-card select option { background: var(--bg); color: #fff; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 50px;
  font-family: var(--f-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { box-shadow: 0 0 20px rgba(168,230,61,0.5), 0 0 60px rgba(168,230,61,0.2); }
.btn-ghost { background: rgba(255,255,255,0.04); color: var(--ink); border: 1px solid rgba(255,255,255,0.12); }
.btn-ghost:hover { border-color: rgba(168,230,61,0.3); color: var(--accent); }
.btn-full { width: 100%; }
.btn-mt { margin-top: 12px; }

.help-card { padding: 26px; }
.help-card h4 { font-family: var(--f-display); font-weight: 600; font-size: 18px; color: #fff; margin: 0 0 8px; }
.help-card p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.6); margin: 0 0 18px; line-height: 1.6; }

.contact-fine {
  margin-top: 0; padding-top: 0; border-top: none;
  font-size: 12px; font-weight: 400; color: rgba(255,255,255,0.55); line-height: 1.9;
}
.contact-fine .check { color: var(--accent); margin-right: 6px; }

/* Utils */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }


/* ============ REVIEWS CAROUSEL ============ */
.reviews-section { position: relative; padding: 110px 0; overflow: hidden; }
.reviews-nav { display: flex; gap: 10px; }
.reviews-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff; font-size: 18px; cursor: pointer;
  display: grid; place-items: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  transition: all 220ms ease;
}
.reviews-btn:hover { background: rgba(168,230,61,0.12); border-color: rgba(168,230,61,0.35); color: var(--accent); transform: translateY(-1px); }
.reviews-btn:disabled { opacity: 0.35; cursor: not-allowed; transform: none; }

.reviews-viewport {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
  padding: 8px 2px;
}
.reviews-track {
  display: flex;
  gap: 24px;
  transition: transform 520ms cubic-bezier(0.22, 0.9, 0.3, 1);
  will-change: transform;
}
.review-card {
  flex: 0 0 calc((100% - 48px) / 3);
  padding: 32px 28px;
  border-radius: 24px;
  display: flex; flex-direction: column; gap: 20px;
  min-height: 280px;
}
.review-stars {
  color: #FCD34D;
  font-size: 16px;
  letter-spacing: 2px;
  font-family: var(--f-body);
}
.review-text {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  font-weight: 300;
  flex: 1;
  text-wrap: pretty;
}
.review-text::before { content: "« "; color: var(--accent); font-family: var(--f-display); }
.review-text::after { content: " »"; color: var(--accent); font-family: var(--f-display); }
.review-foot {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.review-foot > div:nth-child(2) { flex: 1; min-width: 0; }
.review-author {
  font-family: var(--f-display);
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
.review-meta {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  margin-top: 2px;
  letter-spacing: 0.02em;
}
.review-source {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 5px 10px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 10px;
  font-weight: 500;
  flex-shrink: 0;
}

.reviews-dots {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 36px;
}
.review-dot {
  width: 28px; height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.12);
  cursor: pointer;
  transition: all 280ms ease;
  border: none; padding: 0;
}
.review-dot.is-active {
  background: var(--accent);
  width: 44px;
}

@media (max-width: 980px) {
  .review-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .reviews-section { padding: 80px 0; }
  .review-card { flex: 0 0 100%; padding: 26px 22px; min-height: 240px; }
  .reviews-nav { margin-top: 16px; }
  .reviews-btn { width: 42px; height: 42px; }
}

/* ============ RESPONSIVE HARDENING ============ */
@media (max-width: 980px) {
  .hero h1 { font-size: clamp(40px, 8vw, 62px); line-height: 1.02; }
  .sec-head h2 { font-size: clamp(34px, 6vw, 52px); }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 96px 0 64px; }
  .hero h1 { font-size: clamp(34px, 10vw, 48px); }
  .hero-sub { font-size: 15px; }
  .section { padding: 72px 0; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sec-head h2 { font-size: clamp(28px, 8vw, 40px); }
  .orb, .orb-blue, .orb-green { opacity: 0.5; }
}


/* ============ BTN COMPACT (desktop residence page CTA) ============ */
.btn-compact {
  padding: 11px 18px !important;
  font-size: 13px !important;
  letter-spacing: 0.01em;
}
@media (min-width: 981px) {
  .contact-card .btn-compact { padding: 12px 18px !important; font-size: 13px !important; }
}

/* ============ TOURS VILLE SECTION ============ */
.ville-section { position: relative; overflow: hidden; }
.ville-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
}
.ville-photo {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid rgba(255,255,255,0.06);
}
.ville-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.ville-photo-cap {
  position: absolute;
  bottom: 18px; left: 18px;
  padding: 8px 14px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
}
.ville-text h2 {
  font-family: var(--f-display);
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 14px 0 22px;
}
.ville-lead {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  margin-bottom: 32px;
  text-wrap: pretty;
}
.ville-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 28px;
}
.ville-fact { display: flex; flex-direction: column; gap: 4px; }
.vf-num {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.vf-lab {
  font-family: var(--f-body);
  font-size: 12.5px;
  color: rgba(255,255,255,0.55);
  line-height: 1.45;
  font-weight: 300;
}
.ville-outro {
  font-family: var(--f-body);
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  font-style: italic;
  text-wrap: pretty;
}

@media (max-width: 900px) {
  .ville-grid { grid-template-columns: 1fr; gap: 40px; }
  .ville-photo { aspect-ratio: 16/10; }
  .ville-facts { grid-template-columns: 1fr 1fr; gap: 16px 20px; }
}
@media (max-width: 520px) {
  .ville-facts { grid-template-columns: 1fr; }
  .vf-num { font-size: 22px; }
}

/* ============ FAQ ============ */
.faq-section { position: relative; padding: 110px 0; overflow: hidden; }
.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 {
  font-family: var(--f-display);
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.015em;
  margin: 14px 0 22px;
}
.faq-lead {
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
  text-wrap: pretty;
}
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 280ms ease, background 280ms ease;
}
.faq-item[open] {
  border-color: rgba(168,230,61,0.25);
  background: rgba(168,230,61,0.03);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transition: color 200ms ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q {
  font-family: var(--f-display);
  font-size: 17px;
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.005em;
  line-height: 1.35;
  flex: 1;
}
.faq-item[open] .faq-q { color: var(--accent); }
.faq-plus {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  transition: transform 320ms cubic-bezier(0.22, 0.9, 0.3, 1);
}
.faq-plus::before, .faq-plus::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.5px;
  background: rgba(255,255,255,0.6);
  transform: translate(-50%, -50%);
  transition: background 200ms ease;
}
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-item[open] .faq-plus::before,
.faq-item[open] .faq-plus::after { background: var(--accent); }
.faq-a {
  padding: 0 26px 24px;
}
.faq-a p {
  font-family: var(--f-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  font-weight: 300;
  text-wrap: pretty;
  margin: 0;
}
.faq-a strong { color: #fff; font-weight: 500; }
.faq-a em { color: var(--accent); font-style: normal; font-weight: 500; }

@media (max-width: 900px) {
  .faq-section { padding: 80px 0; }
  .faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .faq-intro { position: static; }
}
@media (max-width: 520px) {
  .faq-item summary { padding: 18px 20px; gap: 14px; }
  .faq-q { font-size: 15px; }
  .faq-a { padding: 0 20px 20px; }
  .faq-a p { font-size: 14px; }
}

/* ============ SIMULATEUR APL ============ */
.apl-sim {
  margin-top: 20px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid rgba(168,230,61,0.18);
  background: rgba(168,230,61,0.04);
}
.apl-sim-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; gap: 8px; flex-wrap: wrap; }
.apl-sim-title { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.apl-sim-sub { font-size: 10px; color: rgba(255,255,255,0.35); }
.apl-slider {
  width: 100%; -webkit-appearance: none; appearance: none;
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.1); outline: none; cursor: pointer;
}
.apl-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); cursor: pointer;
  box-shadow: 0 0 8px rgba(168,230,61,0.5);
}
.apl-slider::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent); cursor: pointer; border: none;
}
.apl-rfr-display {
  text-align: center; font-family: var(--f-display); font-size: 13px;
  font-weight: 600; color: rgba(255,255,255,0.65); margin: 10px 0 16px;
}
.apl-result { display: flex; flex-direction: column; gap: 10px; }
.apl-line { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: rgba(255,255,255,0.5); }
.apl-amount { font-family: var(--f-display); font-weight: 700; font-size: 14px; color: var(--accent); }
.apl-net-line { padding-top: 10px; border-top: 1px solid rgba(255,255,255,0.07); }
.apl-net-amount { font-family: var(--f-display); font-weight: 700; font-size: 18px; color: #fff; }
.apl-disclaimer { font-size: 10px; color: rgba(255,255,255,0.28); margin: 12px 0 0; line-height: 1.5; }
.apl-disclaimer a { color: rgba(168,230,61,0.55); text-decoration: none; }
.apl-disclaimer a:hover { color: var(--accent); }

/* ============ LIGHTBOX ============ */
.lb-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8,15,26,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(8px);
}
.lb-overlay.lb-open { opacity: 1; pointer-events: all; }
.lb-img-wrap {
  position: relative; max-width: 92vw; max-height: 88vh;
  transform: scale(0.94);
  transition: transform 0.25s ease;
}
.lb-overlay.lb-open .lb-img-wrap { transform: scale(1); }
.lb-img {
  display: block; max-width: 92vw; max-height: 84vh;
  border-radius: 12px; object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}
.lb-close {
  position: fixed; top: 20px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.16); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  color: #fff; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,0.15); }
.lb-prev.lb-hidden, .lb-next.lb-hidden { opacity: 0; pointer-events: none; }
.lb-counter {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35); text-transform: uppercase;
}
.res-thumb { cursor: none; position: relative; }
.res-hero-photo { cursor: none; }

.res-thumb::after,
.res-hero-photo::after {
  content: '🔍';
  position: absolute; bottom: 8px; right: 8px;
  font-size: 18px; line-height: 1;
  opacity: 0; transition: opacity 0.2s;
  pointer-events: none;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7));
}
.res-thumb:hover::after,
.res-hero-photo:hover::after { opacity: 1; }
