/* ============================================================
   XPERTISE COLOCATION — Design System CSS
   Mobile-first · Jeune 18-28 ans · Lyon
   ============================================================ */

/* --- Variables & Tokens ----------------------------------- */
:root {
  /* Couleurs principales */
  --clr-bg:          #FAFAFA;
  --clr-surface:     #FFFFFF;
  --clr-navy:        #1B2A4A;
  --clr-navy-light:  #253A63;
  --clr-coral:       #FF6B6B;
  --clr-coral-dark:  #E85555;
  --clr-mint:        #3ECFB2;
  --clr-mint-light:  #D4F5EE;
  --clr-yellow:      #FFD166;
  --clr-purple:      #7B61FF;
  --clr-text:        #1E1E2E;
  --clr-text-muted:  #6B7280;
  --clr-border:      #E5E7EB;
  --clr-border-light:#F3F4F6;

  /* Badges */
  --badge-available: #22C55E;
  --badge-soon:      #F59E0B;
  --badge-rented:    #9CA3AF;
  --badge-new:       #7B61FF;
  --badge-furnished: #3ECFB2;

  /* Typographie */
  --font-head: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Inter', 'Segoe UI', system-ui, sans-serif;

  /* Espacements */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Arrondis */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --radius-full: 9999px;

  /* Ombres */
  --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.12);

  /* Transitions */
  --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Layout */
  --container: 1200px;
  --nav-h: 68px;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Google Fonts import ---------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- Layout ------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section {
  padding: var(--space-2xl) 0;
}
.section-sm {
  padding: var(--space-2xl) 0;
}

/* --- Typography ------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  color: var(--clr-navy);
}
h1 { font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p { color: var(--clr-text-muted); line-height: 1.7; }
.text-sm  { font-size: 0.875rem; }
.text-xs  { font-size: 0.75rem; }
.text-lg  { font-size: 1.125rem; }
.text-xl  { font-size: 1.25rem; }
.font-semibold { font-weight: 600; }
.font-bold     { font-weight: 700; }
.text-navy     { color: var(--clr-navy); }
.text-coral    { color: var(--clr-coral); }
.text-muted    { color: var(--clr-text-muted); }
.text-center   { text-align: center; }

/* --- Section Labels --------------------------------------- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--clr-coral);
  margin-bottom: var(--space-md);
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 3px;
  background: var(--clr-coral);
  border-radius: 2px;
}

/* --- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--clr-coral);
  color: #fff;
}
.btn-primary:hover {
  background: var(--clr-coral-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,107,.35);
}
.btn-secondary {
  background: var(--clr-navy);
  color: #fff;
}
.btn-secondary:hover {
  background: var(--clr-navy-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,42,74,.3);
}
.btn-outline {
  background: transparent;
  color: var(--clr-navy);
  border: 2px solid var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-navy);
  background: var(--clr-navy);
  color: #fff;
}
.btn-ghost {
  background: var(--clr-mint-light);
  color: var(--clr-mint);
  color: #0D9E86;
}
.btn-ghost:hover {
  background: var(--clr-mint);
  color: #fff;
}
.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
}
.btn-full { width: 100%; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* --- Navigation ------------------------------------------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border-light);
  transition: box-shadow var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-md);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar-logo {
  display: flex;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--clr-navy);
}
.navbar-logo .logo-x {
  color: var(--clr-coral);
  margin-right: -0.03em;
}
.navbar-logo .logo-dot {
  margin-left: var(--space-sm);
}
.navbar-logo .logo-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--clr-coral);
  display: inline-block;
}
.navbar-nav {
  display: none;
  align-items: center;
  gap: var(--space-xl);
}
.navbar-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  transition: color var(--transition);
  position: relative;
}
.navbar-nav a:hover { color: var(--clr-navy); }
.navbar-nav a.active { color: var(--clr-coral); }
.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-right: var(--space-xs, 4px);
}
.lang-switch .lang-current { color: var(--clr-coral); }
.lang-switch a { color: var(--clr-text-muted); text-decoration: none; }
.lang-switch a:hover { color: var(--clr-coral); }
.lang-switch .lang-sep { color: var(--clr-border); }
.navbar-hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.navbar-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--clr-surface);
  z-index: 999;
  padding: calc(var(--nav-h) + var(--space-xl)) var(--space-lg) var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  transform: translateX(100%);
  transition: transform var(--transition-slow);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--clr-navy);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--clr-border-light);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* --- Hero -------------------------------------------------- */
.hero {
  min-height: 100svh;
  padding-top: calc(var(--nav-h) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  background: linear-gradient(135deg, #EDF2FF 0%, #FFF5F5 50%, #F0FDF9 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,107,.12) 0%, transparent 70%);
  top: -100px;
  right: -200px;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(62,207,178,.10) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(255,107,107,.1);
  color: var(--clr-coral);
  border: 1px solid rgba(255,107,107,.2);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-lg);
}
.hero-eyebrow .dot {
  width: 6px;
  height: 6px;
  background: var(--clr-coral);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}
.hero h1 {
  color: var(--clr-navy);
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.hero h1 span { color: var(--clr-coral); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--clr-text-muted);
  max-width: 560px;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}
.hero-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}
.hero-quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--clr-navy);
  transition: all var(--transition);
}
.hero-quick-links a:hover {
  border-color: var(--clr-coral);
  color: var(--clr-coral);
  background: rgba(255,107,107,.06);
}
.hero-stats {
  display: flex;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}
.hero-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--clr-navy);
  font-family: var(--font-head);
}
.hero-stat span {
  font-size: 0.8rem;
  color: var(--clr-text-muted);
}

/* --- Search Bar ------------------------------------------- */
.search-bar-wrap {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  padding: var(--space-lg);
  margin-top: var(--space-2xl);
}
.search-bar-tabs {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}
.search-tab {
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  border: 2px solid transparent;
  transition: all var(--transition);
  background: var(--clr-bg);
}
.search-tab.active {
  background: var(--clr-navy);
  color: #fff;
}
.search-tab:hover:not(.active) {
  border-color: var(--clr-border);
  color: var(--clr-navy);
}
.search-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.search-field label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--clr-text-muted);
  text-transform: uppercase;
}
.search-field select,
.search-field input {
  padding: 0.75rem 1rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.search-field select:focus,
.search-field input:focus {
  outline: none;
  border-color: var(--clr-coral);
}

/* --- Badges ----------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.badge-available { background: #DCFCE7; color: #15803D; }
.badge-soon { background: #FEF3C7; color: #B45309; }
.badge-rented { background: #F3F4F6; color: #6B7280; }
.badge-new { background: #EDE9FE; color: #6D28D9; }
.badge-furnished { background: #D4F5EE; color: #0D9E86; }
.badge-student { background: #FFF7ED; color: #C2410C; }
.badge-metro { background: #EEF2FF; color: #4338CA; }
.badge-simple { background: #FDF2F8; color: #BE185D; }

/* --- Property Cards --------------------------------------- */
.card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-border-light);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.card-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--clr-border-light);
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-img img { transform: scale(1.05); }
.card-badges {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.card-fav {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.card-fav:hover { background: #fff; transform: scale(1.1); }
.card-fav svg { width: 16px; height: 16px; }
.card-body { padding: var(--space-lg); flex: 1; display: flex; flex-direction: column; }
.card-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  font-weight: 600;
  margin-bottom: var(--space-sm);
}
.card-location svg { width: 13px; height: 13px; color: var(--clr-coral); }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-navy);
  margin-bottom: var(--space-sm);
  line-height: 1.3;
}
.card-details {
  display: flex;
  gap: var(--space-md);
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
}
.card-detail {
  display: flex;
  align-items: center;
  gap: 4px;
}
.card-detail svg { width: 14px; height: 14px; }
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--clr-border-light);
}
.card-price strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--clr-navy);
  font-family: var(--font-head);
}
.card-price span {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}
.card-transport {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  background: var(--clr-border-light);
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-full);
  color: var(--clr-text-muted);
}
.card-transport svg { width: 12px; height: 12px; }

/* --- Grid -------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--space-lg); }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-md); }

/* --- Section Headers -------------------------------------- */
.section-header {
  margin-bottom: var(--space-2xl);
}
.section-header.center { text-align: center; }
.section-header h2 { margin-bottom: var(--space-sm); }
.section-header p {
  max-width: 560px;
  font-size: 1rem;
}
.section-header.center p { margin: 0 auto; }

/* --- Quick Entry Cards ------------------------------------ */
.entry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}
.entry-card {
  background: var(--clr-surface);
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
}
.entry-card:hover {
  border-color: var(--clr-coral);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.entry-card .icon {
  font-size: 1.8rem;
  line-height: 1;
}
.entry-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-navy);
}
.entry-card p {
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  margin: 0;
}
.entry-card-wide {
  grid-column: 1 / -1;
}

/* --- How It Works ----------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--clr-coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  font-family: var(--font-head);
}
.step-body h3 { margin-bottom: var(--space-xs); font-size: 1.05rem; }
.step-body p  { font-size: 0.9rem; }

/* --- Quartiers -------------------------------------------- */
.quartiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}
.quartier-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
}
.quartier-card-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--space-md);
  background: linear-gradient(to top, rgba(27,42,74,.95) 0%, transparent 100%);
  color: #fff;
}
.quartier-card h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 2px;
}
.quartier-card p {
  font-size: 0.78rem;
  color: rgba(255,255,255,.7);
}
.quartier-emoji {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
  display: block;
}

/* --- Why Us ----------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.why-card {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--clr-border-light);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon {
  font-size: 2rem;
  margin-bottom: var(--space-md);
}
.why-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-sm);
}
.why-card p { font-size: 0.9rem; }

/* --- Testimonials ----------------------------------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
.testimonial {
  background: var(--clr-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--clr-border-light);
  position: relative;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  right: var(--space-lg);
  font-size: 4rem;
  color: var(--clr-border);
  font-family: serif;
  line-height: 1;
}
.testimonial-stars {
  color: var(--clr-yellow);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}
.testimonial p {
  font-size: 0.95rem;
  color: var(--clr-text);
  font-style: italic;
  margin-bottom: var(--space-md);
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-coral), var(--clr-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--clr-navy);
}
.testimonial-role {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}

/* --- FAQ --------------------------------------------------- */
.faq-list { display: flex; flex-direction: column; gap: var(--space-sm); }
.faq-item {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--clr-coral); }
.faq-q {
  padding: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--clr-navy);
  transition: color var(--transition);
}
.faq-item.open .faq-q { color: var(--clr-coral); }
.faq-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--clr-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.faq-item.open .faq-arrow {
  background: var(--clr-coral);
  color: #fff;
  transform: rotate(180deg);
}
.faq-a {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.7;
  display: none;
}
.faq-item.open .faq-a { display: block; }

/* --- Alert Banner ----------------------------------------- */
.alert-section {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.alert-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,107,107,.12);
  top: -100px;
  right: -50px;
}
.alert-section h2 { color: #fff; position: relative; }
.alert-section p  { color: rgba(255,255,255,.75); position: relative; }
.alert-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 480px;
  margin: var(--space-xl) auto 0;
  position: relative;
}
.alert-form input {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: 0.95rem;
}
.alert-form input::placeholder { color: rgba(255,255,255,.5); }
.alert-form input:focus {
  outline: none;
  border-color: var(--clr-coral);
  background: rgba(255,255,255,.15);
}

/* --- CTA Final -------------------------------------------- */
.cta-final {
  background: var(--clr-coral);
  color: #fff;
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  top: -150px;
  left: -100px;
}
.cta-final h2 { color: #fff; position: relative; }
.cta-final p  { color: rgba(255,255,255,.8); position: relative; max-width: 500px; margin: 0 auto var(--space-xl); }
.btn-white {
  background: #fff;
  color: var(--clr-coral);
}
.btn-white:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,.2);
}
.btn-white-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
}
.btn-white-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* --- Info Blocks ------------------------------------------ */
.info-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.info-visual {
  background: linear-gradient(135deg, var(--clr-navy) 0%, #2D4A7A 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl) var(--space-xl);
  color: #fff;
  text-align: center;
}
.info-visual .big-emoji { font-size: 4rem; margin-bottom: var(--space-lg); }
.info-visual h3 { color: #fff; font-size: 1.4rem; margin-bottom: var(--space-sm); }
.info-visual p  { color: rgba(255,255,255,.75); font-size: 0.9rem; }

/* --- Sticky CTA Mobile ------------------------------------ */
.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 900;
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--space-md) var(--space-lg);
  display: flex;
  gap: var(--space-sm);
  box-shadow: 0 -4px 20px rgba(0,0,0,.08);
}
.sticky-cta .btn { flex: 1; font-size: 0.9rem; padding: 0.8rem 1rem; }

/* --- Breadcrumb ------------------------------------------- */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.82rem;
  color: var(--clr-text-muted);
  padding: var(--space-md) 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--clr-coral); }
.breadcrumb span { color: var(--clr-border); }

/* --- Page Hero (inner pages) ------------------------------ */
.page-hero {
  padding: calc(var(--nav-h) + var(--space-md)) 0 var(--space-md);
  background: linear-gradient(135deg, #EDF2FF 0%, #FFF5F5 100%);
}
.page-hero h1 { margin-bottom: var(--space-md); }
.page-hero p  { font-size: 1.1rem; max-width: 600px; }

/* --- Content Pillars -------------------------------------- */
.content-block {
  padding: var(--space-2xl) 0;
  border-bottom: 1px solid var(--clr-border-light);
}
.content-block:last-child { border-bottom: none; }
.content-block h2 { margin-bottom: var(--space-lg); }
.content-block h3 { margin-bottom: var(--space-sm); margin-top: var(--space-xl); }
.content-block p  { margin-bottom: var(--space-md); }
.content-block ul {
  list-style: disc;
  padding-left: var(--space-xl);
  color: var(--clr-text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* --- Answer Box (AI SEO featured snippet) ----------------- */
.answer-box {
  background: linear-gradient(135deg, #EDF2FF 0%, #F0FDF9 100%);
  border-left: 4px solid var(--clr-coral);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-lg) var(--space-xl);
  margin-bottom: var(--space-xl);
}
.answer-box p {
  color: var(--clr-text);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}
.answer-box strong { color: var(--clr-navy); }

/* --- Checklist -------------------------------------------- */
.checklist {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.95rem;
  color: var(--clr-text-muted);
}
.check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: var(--clr-mint);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.7rem;
  margin-top: 1px;
}

/* --- Filter Bar ------------------------------------------- */
.filter-bar {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-xl);
  border: 1px solid var(--clr-border-light);
}
.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
}
.filter-pill {
  padding: 0.5rem 1rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-bg);
  transition: all var(--transition);
  cursor: pointer;
}
.filter-pill.active, .filter-pill:hover {
  border-color: var(--clr-coral);
  color: var(--clr-coral);
  background: rgba(255,107,107,.06);
}
.filter-select {
  padding: 0.5rem 1rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--clr-text-muted);
  background: var(--clr-bg);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* --- Form ------------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: var(--space-md);
}
.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--clr-navy);
}
.form-input,
.form-select,
.form-textarea {
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--clr-border);
  border-radius: var(--radius-md);
  background: var(--clr-bg);
  color: var(--clr-text);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--clr-coral);
  background: #fff;
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-hint {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
}
.form-card {
  background: var(--clr-surface);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-border-light);
}

/* --- Footer ----------------------------------------------- */
.footer {
  background: var(--clr-navy);
  color: rgba(255,255,255,.7);
  padding: var(--space-3xl) 0 var(--space-xl);
  padding-bottom: calc(var(--space-xl) + 80px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}
.footer-brand {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: var(--space-md);
}
.footer-brand .logo-x { color: var(--clr-coral); }
.footer-desc { font-size: 0.9rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--space-md);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--space-sm); }
.footer-col ul li a {
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--clr-coral); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  font-size: 0.8rem;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}
.footer-legal a { transition: color var(--transition); }
.footer-legal a:hover { color: var(--clr-coral); }
.whatsapp-btn {
  position: fixed;
  bottom: calc(80px + var(--space-md));
  right: var(--space-lg);
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 890;
  transition: all var(--transition);
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-btn svg { width: 26px; height: 26px; fill: #fff; }

/* --- Utility ---------------------------------------------- */
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.mb-sm  { margin-bottom: var(--space-sm); }
.mb-md  { margin-bottom: var(--space-md); }
.mb-lg  { margin-bottom: var(--space-lg); }
.mb-xl  { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mt-sm  { margin-top: var(--space-sm); }
.mt-md  { margin-top: var(--space-md); }
.mt-lg  { margin-top: var(--space-lg); }
.mt-xl  { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.flex   { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.col { flex-direction: column; }

/* === RESPONSIVE =========================================== */
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
  .search-fields { grid-template-columns: 1fr 1fr; }
  .entry-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .quartiers-grid { grid-template-columns: repeat(3, 1fr); }
  .alert-form { flex-direction: row; }
  .alert-form input { flex: 1; }
}
@media (min-width: 768px) {
  .navbar-nav { display: flex; }
  .navbar-hamburger { display: none; }
  .sticky-cta { display: none; }
  .footer { padding-bottom: var(--space-xl); }
  .whatsapp-btn { bottom: var(--space-2xl); }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .search-fields { grid-template-columns: 1fr 1fr 1fr auto; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .info-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .quartiers-grid { grid-template-columns: repeat(4, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .entry-grid { grid-template-columns: repeat(5, 1fr); }
}

/* No-image placeholders */
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, #EDF2FF, #F0FDF9);
}
.quartier-emoji-bg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Listing count */
.listing-count {
  font-size: 0.875rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
}
.listing-count strong { color: var(--clr-navy); }

/* No results */
.no-results {
  text-align: center;
  padding: var(--space-3xl) var(--space-lg);
  color: var(--clr-text-muted);
}
.no-results .emoji { font-size: 3rem; margin-bottom: var(--space-md); }

/* Autres chambres d'une colocation : 3 par ligne maximum */
.grid-others { display:grid; grid-template-columns:1fr; gap:var(--space-lg); }
@media (min-width: 640px) { .grid-others { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-others { grid-template-columns: repeat(3, 1fr); } }
