/* ================================================
   NOUVELLE PALETTE — Bleu Marseille (v2026-05)
   ================================================ */
:root {
  /* — NOUVELLE PALETTE PRINCIPALE — */
  --blue:    #4DBBFF;   /* bleu principal lumineux */
  --blue-h:  #2BA3F0;   /* hover bleu */
  --blue-d:  #003F8A;   /* bleu profond */
  --blue-s:  #EAF6FF;   /* fond bleu léger */
  --blue-xs: #F4FBFF;   /* fond bleu ultra-léger */

  --night:   #030D1A;   /* sections dark */
  --ink-1:   #07142A;   /* texte principal */
  --ink-2:   #1A2E45;   /* texte secondaire sombre */
  --slate:   #3A5068;   /* texte secondaire */
  --mist:    #7B93AA;   /* texte muted */
  --ghost:   #B8CAD8;   /* placeholders */

  --white:   #FFFFFF;
  --bg:      #F5F8FC;   /* fond général — légèrement bleuté */

  --gold:    #F0A500;
  --gold-l:  #FFD166;
  --green:   #00C896;
  --green-s: rgba(0,200,150,.10);

  --border:  rgba(7,20,42,.07);
  --border-2: rgba(7,20,42,.13);

  --f:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --serif:   'Plus Jakarta Sans', system-ui, sans-serif;  /* compat ancien */

  /* — ALIASES COMPATIBILITÉ avec l'ancien code — */
  --noir:           #030D1A;
  --noir-2:         #07142A;
  --graphite:       #1A2E45;
  --pierre:         #7B93AA;
  --ivoire:         #FFFFFF;
  --ivoire-2:       #F5F8FC;
  --or:             #F0A500;
  --or-deep:        #C68800;
  --or-pale:        #FFD166;
  --terracotta:     #4DBBFF;          /* l'ancien terracotta devient bleu */
  --terracotta-deep:#2BA3F0;
  --line:           rgba(7,20,42,.07);
  --line-on-dark:   rgba(255,255,255,0.10);
}

/**
 * ════════════════════════════════════════════════════════════
 * MAIN.CSS — Styles principaux
 * ════════════════════════════════════════════════════════════
 *
 * Structure :
 *   1. Tokens (variables CSS)
 *   2. Reset & base
 *   3. Typographie
 *   4. Layout
 *   5. Header & Navigation
 *   6. Hero
 *   7. Sections communes
 *   8. Marché (cartes arrondissements)
 *   9. Graphique
 *  10. Méthode
 *  11. Formulaire estimation
 *  12. Simulateur
 *  13. Agence partenaire
 *  14. Témoignages
 *  15. Comparateur villes
 *  16. FAQ
 *  17. Guides / Footer
 *  18. Chatbot
 *  19. Modales légales
 *  20. Notifications live
 *  21. Dropdown Actualités
 *  22. Animations
 *  23. Utilitaires
 *  24. Responsive
 * ════════════════════════════════════════════════════════════
 */


/* ─────────────────────────────────────────────────────────
   1. TOKENS
   ───────────────────────────────────────────────────────── */

:root {
  /* — ALIASES COMPATIBILITÉ ancien code → nouvelle palette bleue — */
  --accent:     #4DBBFF;   /* ex-terracotta → bleu */
  --accent-l:   #6BC8FF;
  --accent-d:   #2BA3F0;
  --sea:        #07142A;   /* ex-anthracite → ink */
  --sea-l:      #1A2E45;

  /* Fonds — bg bleuté + blanc + élévation bleu léger */
  --dark:       #F5F8FC;   /* fond principal → bg bleuté */
  --dark-2:     #FFFFFF;   /* sections → blanc */
  --dark-3:     #FFFFFF;   /* cartes → blanc */
  --dark-4:     #EAF6FF;   /* élévation → blue-s */
  --ink:        #07142A;   /* anthracite — blocs invers\u00e9s */
  --ink-soft:   #1B2634;

  /* Texte */
  --text:       #07142A;
  --muted:      #7B93AA;
  --light:      #B8CAD8;

  /* Texte sur fond ink */
  --text-on-dark:        #FFFFFF;
  --text-on-dark-muted:  rgba(255,255,255,0.65);

  /* Interface */
  --border:     rgba(7,20,42,.07);
  --border-s:   rgba(7,20,42,.13);
  --border-h:   rgba(77,187,255,.35);
  --radius:     4px;
  --radius-lg:  14px;
  --radius-xl:  20px;
  --radius-pill:100px;

  /* Feedback */
  --green:      #00C896;
  --warning:    #F0A500;
  --danger:     #EF4444;

  /* Ombres (sur bg clair) */
  --shadow-sm:  0 2px 8px rgba(7,20,42,.06);
  --shadow-md:  0 10px 28px rgba(7,20,42,.08);
  --shadow-lg:  0 24px 64px -20px rgba(3,13,26,.22);

  /* Transition */
  --ease:       .25s cubic-bezier(.4,0,.2,1);
}


/* ─────────────────────────────────────────────────────────
   2. RESET & BASE
   ───────────────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  background: var(--dark);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Texture grain subtile */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  display: none;
  z-index: -1;
  opacity: 0.4;
}

img { max-width: 100%; display: block; }
a   { color: var(--accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }


/* ─────────────────────────────────────────────────────────
   3. TYPOGRAPHIE
   ───────────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}

h1 {
  font-size: clamp(56px, 7.5vw, 100px);
  line-height: 1.06;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
h1 em { color: var(--accent); font-style: italic; font-weight: 300; }

h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin-bottom: 16px;
}
h2 em { color: var(--accent); font-style: italic; }

h3 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 400;
}


/* ─────────────────────────────────────────────────────────
   4. LAYOUT
   ───────────────────────────────────────────────────────── */

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

section {
  padding: 72px;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.sec-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.sec-tag::before,
.sec-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--accent);
  opacity: .5;
}


/* ─────────────────────────────────────────────────────────
   5. HEADER & NAVIGATION
   ───────────────────────────────────────────────────────── */

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 56px;
  background: linear-gradient(to bottom, rgba(245,239,228,.97) 70%, transparent);
  z-index: 9000;
  backdrop-filter: blur(4px);
}

.logo {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #07142A;
  text-decoration: none;
  line-height: 1.2;
}
.logo small {
  display: block;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 4px;
  opacity: .7;
}

header nav {
  display: flex;
  gap: 16px;
  align-items: center;
  overflow: visible;
}
header nav a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--ease);
}
header nav a:hover { color: var(--accent); }

/* Footer nav : colonne verticale */
body > footer nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
}

.btn-nav {
  border: 1px solid var(--accent);
  color: var(--accent) !important;
  padding: 8px 20px;
  border-radius: var(--radius);
  background: transparent;
  transition: all var(--ease) !important;
}
.btn-nav:hover {
  background: var(--accent) !important;
  color: var(--dark) !important;
}


/* ─────────────────────────────────────────────────────────
   6. HERO
   ───────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F8FC;
  background-image: radial-gradient(ellipse at 78% 14%, rgba(43,159,255,.10) 0%, rgba(43,159,255,0) 55%), linear-gradient(180deg, #FFFFFF 0%, #F5F8FC 100%);
  overflow: hidden;
  z-index: 2;
  padding: 80px 0 40px;
  flex-direction: column;
  box-sizing: border-box;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 40px;
  max-width: 860px;
  width: 100%;
  height: auto;
  flex-shrink: 0;
}

/* Orbes lumineux */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}
.hero-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(7,20,42,.14) 0%, transparent 70%);
  top: -15%; left: -12%;
}
.hero-orb-2 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(43,159,255,.1) 0%, transparent 70%);
  bottom: -8%; right: -10%;
  animation-delay: -4s;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(43,159,255,.2);
  border-radius: var(--radius-pill);
  padding: 7px 18px 7px 10px;
  margin-bottom: 36px;
  backdrop-filter: blur(8px);
}
.hero-badge-dot {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.hero-badge-txt {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* Sous-titre */
.hero-sub {
  font-size: 16px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
  font-weight: 300;
}

/* Pills */
.hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
}

/* CTAs */
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

/* Stats */
.hero-stats { display: none;
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.hero-stat {
  padding: 0 36px;
  text-align: center;
  position: relative;
}
.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,.08);
}
.stat-n {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 38px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -.02em;
}
.stat-l {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* Carte flottante */
.hero-float {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-40%);
  background: rgba(13,25,40,.9);
  border: 1px solid rgba(43,159,255,.15);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  backdrop-filter: blur(16px);
  z-index: 3;
  min-width: 160px;
}
.hero-float-tag {
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero-float-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 32px;
  font-weight: 300;
  color: var(--green);
  line-height: 1;
}
.hero-float-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-top: 4px;
}


/* ─────────────────────────────────────────────────────────
   7. BOUTONS COMMUNS
   ───────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--ease);
  letter-spacing: .01em;
  box-shadow: 0 8px 32px rgba(43,159,255,.3);
  border: none;
}
.btn-primary:hover {
  background: var(--accent-l);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(43,159,255,.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.7);
  padding: 16px 32px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  text-decoration: none;
  transition: all var(--ease);
  backdrop-filter: blur(4px);
}
.btn-secondary:hover {
  border-color: rgba(255,255,255,.35);
  color: #fff;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}


/* ─────────────────────────────────────────────────────────
   8. MARCHÉ — Cartes arrondissements
   ───────────────────────────────────────────────────────── */

.mc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mc {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 22px;
  transition: all var(--ease);
  cursor: default;
}
.mc:hover {
  border-color: rgba(43,159,255,.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.mc-arr {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.mc-nom {
  font-size: 13.5px;
  color: var(--text);
  font-weight: 400;
  margin-bottom: 14px;
}
.mc-prix {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 4px;
}
.mc-sub {
  font-size: 10.5px;
  color: var(--muted);
  margin-bottom: 14px;
}
.mc-hausse {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--green);
  background: rgba(74,222,128,.08);
  border: 1px solid rgba(74,222,128,.15);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 12px;
}
.mc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.mc-tag {
  font-size: 10px;
  color: var(--muted);
  background: var(--dark-3);
  border-radius: 4px;
  padding: 2px 8px;
}

/* Lien vers page arrondissement */
.mc-link {
  display: block;
  margin-top: 12px;
  font-size: 11px;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--ease);
}
.mc:hover .mc-link { opacity: 1; }

/* Bouton toggle */
.mc-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 11px 28px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
  margin-top: 24px;
}
.mc-toggle-btn:hover, .mc-toggle-btn.active {
  border-color: var(--accent);
  color: var(--accent);
}

/* Stats rapides marché */
.market-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 28px;
}
.market-stat {
  background: var(--dark-3);
  padding: 14px 20px;
}
.market-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 5px;
}
.market-stat-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.market-stat-sub {
  font-size: 10px;
  color: var(--muted);
  margin-top: 2px;
}


/* ─────────────────────────────────────────────────────────
   9. GRAPHIQUE DVF
   ───────────────────────────────────────────────────────── */

.chart-controls {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.chart-btn {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
}
.chart-btn:hover,
.chart-btn-active {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(43,159,255,.06);
}
.chart-arr-btn {
  font-size: 11px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  background: var(--dark-3);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  transition: all var(--ease);
}
.chart-arr-active {
  border-color: var(--accent);
  color: var(--accent);
}

#chartMain {
  width: 100%;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  min-height: 260px;
}


/* ─────────────────────────────────────────────────────────
   10. MÉTHODE
   ───────────────────────────────────────────────────────── */

.methode-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.methode-step {
  text-align: center;
}
.methode-num {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 64px;
  font-weight: 300;
  color: rgba(43,159,255,.15);
  line-height: 1;
  margin-bottom: 16px;
}
.methode-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.methode-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}


/* ─────────────────────────────────────────────────────────
   11. FORMULAIRE ESTIMATION
   ───────────────────────────────────────────────────────── */

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* Barre de progression */
.prog-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 40px;
}
.prog-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.prog-dot {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  background: var(--dark-3);
  transition: all var(--ease);
}
.prog-dot.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.prog-dot.done {
  border-color: var(--green);
  background: rgba(74,222,128,.1);
  color: var(--green);
}
.prog-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: .04em;
}
.prog-line {
  flex: 1;
  height: 1px;
  background: var(--border);
  min-width: 48px;
  max-width: 80px;
  margin-top: -20px;
}

/* Étapes */
.form-step { display: none; }
.form-step.on { display: block; }

/* Inputs */
.form-field {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  background: var(--dark-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 15px;
  color: var(--text);
  font-family: inherit;
  outline: none;
  transition: border-color var(--ease);
}
.form-input:focus {
  border-color: var(--accent);
}
.form-input::placeholder { color: var(--muted); }

/* Select options (type bien) */
.opt-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}
.opt-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px;
  background: var(--dark-3);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  color: var(--muted);
  font-size: 13px;
  transition: all var(--ease);
}
.opt-btn:hover { border-color: rgba(43,159,255,.3); color: var(--text); }
.opt-btn.opt-active {
  border-color: var(--accent);
  background: rgba(43,159,255,.06);
  color: var(--accent);
}
.opt-icon { font-size: 24px; }

/* Slider état */
.etat-wrap {
  margin-bottom: 20px;
}
.etat-slider {
  width: 100%;
  accent-color: var(--accent);
}

/* Fourchette live */
.live-fourchette {
  background: linear-gradient(135deg, var(--dark-3), rgba(43,159,255,.04));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  padding: 18px 22px;
  margin: 24px 0;
}
.live-fourchette-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 4px;
}
.live-fourchette-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 300;
  color: var(--accent);
}

/* Boutons nav formulaire */
.form-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  gap: 12px;
}
.btn-back {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--ease);
}
.btn-back:hover { border-color: var(--muted); color: var(--text); }

.btn-next {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--ease);
  flex: 1;
}
.btn-next:hover { background: var(--accent-l); transform: translateY(-1px); }

/* Message erreur */
.form-err {
  display: none;
  align-items: center;
  gap: 8px;
  background: rgba(239,68,68,.08);
  border: 1px solid rgba(239,68,68,.2);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-size: 13px;
  color: var(--danger);
  margin-bottom: 14px;
}

/* Succès */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.form-success-icon {
  font-size: 48px;
  margin-bottom: 16px;
}


/* ─────────────────────────────────────────────────────────
   12. SIMULATEUR LOCATIF
   ───────────────────────────────────────────────────────── */

.sim-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.sim-inputs { display: flex; flex-direction: column; gap: 16px; }
.sim-input-group {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
}
.sim-results-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  position: sticky;
  top: 88px;
}
.sim-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sim-result-row:last-child { border-bottom: none; }
.sim-result-label { font-size: 13px; color: var(--muted); }
.sim-result-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: var(--accent);
}
.sim-gauge-wrap {
  height: 6px;
  background: var(--dark-3);
  border-radius: 3px;
  overflow: hidden;
  margin: 16px 0;
}
.sim-gauge {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
  transition: width .6s ease, background .3s;
  width: 0%;
}


/* ─────────────────────────────────────────────────────────
   13. AGENCE PARTENAIRE
   ───────────────────────────────────────────────────────── */

.agence-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--dark-2);
}
.agence-card-header {
  background: linear-gradient(90deg, rgba(43,159,255,.12), rgba(7,20,42,.12));
  border-bottom: 1px solid var(--border);
  padding: 13px 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.agence-card-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.agence-col {
  padding: 30px 28px;
}
.agence-col + .agence-col {
  border-left: 1px solid var(--border);
}
.agence-name {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 5px;
}
.agence-subtitle {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.agence-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
}
.agence-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.agence-info-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.agence-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.agence-stat {
  background: var(--dark-3);
  border-radius: 8px;
  padding: 14px;
  text-align: center;
}
.agence-stat-val {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 30px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
}
.agence-stat-label {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.agence-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 22px;
}
.agence-tag {
  font-size: 11.5px;
  background: rgba(43,159,255,.08);
  border: 1px solid rgba(43,159,255,.2);
  color: var(--accent);
  border-radius: 5px;
  padding: 4px 10px;
}
/* .agence-tag-secondary / .agence-tag-muted supprimées — chips uniformes via .agence-tag uniquement */

.agence-card-footer {
  border-top: 1px solid var(--border);
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}


/* ─────────────────────────────────────────────────────────
   14. TÉMOIGNAGES
   ───────────────────────────────────────────────────────── */

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testi {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.testi-stars { color: var(--warning); font-size: 14px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--muted); line-height: 1.75; flex: 1; font-style: italic; }
.testi-name { font-size: 13px; font-weight: 500; color: var(--text); }
.testi-info { font-size: 11px; color: var(--muted); margin-top: 2px; }


/* ─────────────────────────────────────────────────────────
   15. COMPARATEUR VILLES
   ───────────────────────────────────────────────────────── */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}
.compare-col {
  background: var(--dark-2);
  padding: 20px 16px;
}
.compare-col.feat {
  background: linear-gradient(135deg, rgba(43,159,255,.06), rgba(7,20,42,.06));
}
.cmp-city {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.cmp-price {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  margin-bottom: 4px;
}
.cbest {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
  background: rgba(74,222,128,.1);
  color: var(--green);
  border: 1px solid rgba(74,222,128,.2);
}
.cmid {
  font-size: 10.5px;
  padding: 2px 8px;
  border-radius: 100px;
  display: inline-block;
  margin-bottom: 10px;
  background: rgba(251,191,36,.1);
  color: var(--warning);
  border: 1px solid rgba(251,191,36,.2);
}
.cmp-detail {
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.9;
}


/* ─────────────────────────────────────────────────────────
   16. FAQ
   ───────────────────────────────────────────────────────── */

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: border-color var(--ease);
}
.faq-item.open { border-color: rgba(43,159,255,.25); }
.faq-q {
  /* Reset total styles natifs navigateur (Safari/Firefox) */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0;
  box-shadow: none !important;
  outline: none;
  /* Layout */
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 22px;
  cursor: pointer;
  gap: 16px;
  /* Typo */
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--text) !important;
  text-align: left;
}
.faq-q-text {
  font-size: 15px;
  font-weight: 400;
  color: var(--text) !important;
  flex: 1;
  text-align: left;
  line-height: 1.5;
}
.faq-arrow {
  font-size: 18px;
  color: var(--muted);
  transition: transform var(--ease);
  flex-shrink: 0;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 22px 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.faq-item.open .faq-a { display: block; }


/* ─────────────────────────────────────────────────────────
   17. GUIDES / FOOTER
   ───────────────────────────────────────────────────────── */

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.guide-card {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  transition: all var(--ease);
}
.guide-card:hover {
  border-color: rgba(43,159,255,.2);
  transform: translateY(-2px);
}
.guide-tag {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
.guide-title {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}
.guide-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
}

/* Footer */
body > footer {
  position: relative;
  z-index: 0;
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  padding: 48px 72px;
}
body > footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
body > footer .footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
body > footer .footer-brand {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 18px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 12px;
}
body > footer .footer-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 20px;
}
body > footer .footer-col-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 16px;
}
body > footer .footer-link {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  text-decoration: none;
  transition: color var(--ease);
}
body > footer .footer-link:hover { color: var(--accent); }
body > footer .footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--muted);
}


/* ─────────────────────────────────────────────────────────
   18. CHATBOT
   ───────────────────────────────────────────────────────── */

#chatBtn {
  position: fixed;
  bottom: 28px;
  left: 28px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  border: none;
  cursor: pointer;
  z-index: 9001;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 24px rgba(43,159,255,.4);
  transition: all var(--ease);

  animation: chatPulse 2.5s ease-in-out infinite;
}
#chatBtn:hover { transform: scale(1.08); }
#chatBtn.open { background: var(--dark-3); }

#chatBox {
  position: fixed;
  bottom: 96px;
  left: 28px;
  width: 340px;
  max-height: 520px;
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  z-index: 9001;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
#chatBox.open { display: flex; }

.chat-header {
  background: linear-gradient(135deg, var(--sea), var(--accent));
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chat-av-main {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
}
.chat-title { font-size: 13px; font-weight: 600; }
.chat-status { font-size: 11px; opacity: .8; }

#chatLog {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-bot, .chat-user {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}
.chat-user { flex-direction: row-reverse; }

.chat-av {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sea), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-bubble {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
}
.chat-bot .chat-bubble {
  background: var(--dark-3);
  color: var(--text);
  border-bottom-left-radius: 4px;
}
.chat-user .chat-bubble {
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-choices {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}
.chat-choice-btn {
  background: var(--dark-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: all var(--ease);
}
.chat-choice-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid var(--border);
}
.chat-input {
  flex: 1;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text);
  font-family: inherit;
  outline: none;
}
.chat-send {
  background: var(--accent);
  border: none;
  border-radius: 50%;
  width: 34px; height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--ease);
}
.chat-send:hover { background: var(--accent-l); }


/* ─────────────────────────────────────────────────────────
   19. MODALES LÉGALES
   ───────────────────────────────────────────────────────── */

.modal-ov {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(4px);
  z-index: 99000;
  align-items: flex-start;
  justify-content: center;
  overflow-y: auto;
  padding: 40px 20px;
}
.modal-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  padding: 48px;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--muted);
  transition: all var(--ease);
}
.modal-close:hover { color: var(--text); border-color: var(--accent); }

.ml-section { margin-bottom: 28px; }
.ml-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.ml-body {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.8;
}


/* ─────────────────────────────────────────────────────────
   20. NOTIFICATIONS LIVE
   ───────────────────────────────────────────────────────── */

#liveNotif {
  display: none !important;
}
#liveNotif.show { transform: translateX(0); }

.ln-av {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sea), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.ln-txt { color: var(--text); line-height: 1.4; flex: 1; }
.ln-tag {
  color: var(--green);
  display: block;
  font-size: 10px;
  margin-bottom: 2px;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 500;
}
.ln-x {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 15px;
  padding: 0;
  flex-shrink: 0;
  line-height: 1;
}


/* ─────────────────────────────────────────────────────────
   21. DROPDOWN ACTUALITÉS
   ───────────────────────────────────────────────────────── */

.nav-dropdown { position: relative; overflow: visible; }

.nav-dd-trigger {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
  white-space: nowrap;
  transition: color var(--ease);
  user-select: none;
}
.nav-dd-trigger:hover,
.nav-dropdown.open .nav-dd-trigger { color: var(--accent); }

.nav-dd-arrow {
  font-size: 9px;
  transition: transform var(--ease);
  display: inline-block;
}
.nav-dropdown.open .nav-dd-arrow { transform: rotate(180deg); }

/* Panel (position via JS) */
.nav-dd-panel {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(7,20,42,.15);
  overflow: hidden;
  animation: listFadeIn .18s ease;
  /* Sécurité : ne jamais s'afficher hors du viewport header */
  max-height: 70vh;
  overflow-y: auto;
}

.nav-dd-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px 12px;
  border-bottom: 1px solid var(--border);
}
.nav-dd-head-title {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--muted);
  font-weight: 600;
}
.nav-dd-head-count {
  font-size: 10px;
  color: var(--accent);
  background: rgba(43,159,255,.1);
  border: 1px solid rgba(43,159,255,.2);
  border-radius: 100px;
  padding: 2px 10px;
}

.nav-dd-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 8px 0;
}
.nav-dd-list-col { border-right: 1px solid var(--border); }

.nav-dd-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  text-decoration: none;
  transition: background var(--ease);
  border-left: 2px solid transparent;
}
.nav-dd-link.available { border-left-color: rgba(43,159,255,.3); }
.nav-dd-link:hover {
  background: rgba(43,159,255,.06);
  border-left-color: var(--accent);
}
.nav-dd-num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  min-width: 26px;
}
.nav-dd-info { display: flex; flex-direction: column; gap: 1px; }
.nav-dd-lname { font-size: 12px; font-weight: 500; color: var(--text); }
.nav-dd-sub   { font-size: 10px; color: var(--muted); }
.nav-dd-dot   { font-size: 7px; color: var(--accent); margin-left: auto; flex-shrink: 0; }

.nav-dd-foot {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--dark-2);
}
.nav-dd-foot-txt  { font-size: 10.5px; color: var(--muted); }
.nav-dd-foot-link {
  font-size: 10.5px;
  color: var(--accent);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-dd-foot-link:hover { text-decoration: underline; }

/* Live bar */
.live-bar {
  position: relative;
  z-index: 8000;
  background: linear-gradient(90deg, rgba(7,20,42,.08), rgba(43,159,255,.04));
  border-bottom: 1px solid var(--border);
  padding: 10px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
.live-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
  animation: blink 1.5s infinite;
}


/* ─────────────────────────────────────────────────────────
   22. ANIMATIONS
   ───────────────────────────────────────────────────────── */

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-20px) scale(1.03); }
}
@keyframes blink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.8); }
}
@keyframes popin {
  from { transform: scale(.9); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}
@keyframes fadeup {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes listFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes tdot {
  0%, 80%, 100% { opacity: 0; transform: scale(.8); }
  40%           { opacity: 1; transform: scale(1); }
}
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(43,159,255,.4), 0 0 0 0 rgba(43,159,255,.4); }
  50%       { box-shadow: 0 6px 24px rgba(43,159,255,.6), 0 0 0 14px rgba(43,159,255,0); }
}

/* Hero animations */
.hero-content > * { animation: fadeup .7s ease forwards; }
.hero-content > *:nth-child(2) { animation-delay: .1s; }
.hero-content > *:nth-child(3) { animation-delay: .2s; }
.hero-content > *:nth-child(4) { animation-delay: .3s; }
.hero-content > *:nth-child(5) { animation-delay: .4s; }
.hero-content > *:nth-child(6) { animation-delay: .5s; }
.hero-float { animation: fadeup .8s .6s ease forwards; }

/* Reveal scroll */
.js-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.js-reveal.revealed {
  opacity: 1;
  transform: none;
}


/* ─────────────────────────────────────────────────────────
   23. UTILITAIRES
   ───────────────────────────────────────────────────────── */

.text-accent   { color: var(--accent); }
.text-muted    { color: var(--muted); }
.text-green    { color: var(--green); }
.text-center   { text-align: center; }
.font-serif    { font-family: 'Plus Jakarta Sans', system-ui, sans-serif; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}


/* ─────────────────────────────────────────────────────────
   24. RESPONSIVE
   ───────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  section { padding: 64px 40px; }
  header  { padding: 16px 32px; }
  body > footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .agence-card-body { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-dropdown { display: none; }
  .methode-steps { grid-template-columns: 1fr; gap: 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: 1fr 1fr; }
  .compare-grid { grid-template-columns: 1fr 1fr; }
  .agence-card-body { grid-template-columns: 1fr; }
  .sim-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  header { padding: 14px 20px; }
  header nav { display: none; }
  section { padding: 48px 20px; }
  section.hero, .hero { padding: 70px 0 32px; }
  .hero-content { padding: 0 20px; }
  h1 { font-size: 44px; }
  h2 { font-size: 28px; }

  .mc-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .market-stats { grid-template-columns: 1fr 1fr; }
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .hero-float { display: none; }
  .hero-stats { display: none; flex-wrap: wrap; justify-content: center; }
  .hero-stat { padding: 12px 20px; }

  body > footer { padding: 40px 20px 80px; }
  body > footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  body > footer .footer-bottom { flex-direction: column; text-align: center; }

  .live-bar { padding: 8px 20px; flex-wrap: wrap; gap: 8px; }
}

@media (max-width: 480px) {
  .mc-grid { grid-template-columns: 1fr; }
  .market-stats { grid-template-columns: 1fr 1fr; }
  .testi-grid, .guides-grid { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .prog-wrap { gap: 0; }
  .prog-label { display: none; }
  #chatBox { width: calc(100vw - 32px); left: 16px; }
  .modal-box { padding: 28px 20px; }

  /* Footer 480px — 1 colonne */
  body > footer { padding: 32px 16px 100px; }
  body > footer .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
  }
  body > footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 10px;
  }
  body > footer .footer-brand { font-size: 16px; }
  .footer-link  { font-size: 12px; margin-bottom: 6px; }
  h2 { font-size: 24px; }
}

/* Sticky mobile CTA — masqué sur desktop, visible sur mobile uniquement */
.sticky-mobile-cta { display: none; }

@media (max-width: 768px) {
  .sticky-mobile-cta {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--dark-2);
    border-top: 1px solid var(--border);
    padding: 10px 16px env(safe-area-inset-bottom, 10px);
    gap: 8px;
    box-shadow: 0 -8px 32px rgba(0,0,0,.4);
  }

  .sticky-mobile-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
    font-family: inherit;
    border: none;
    cursor: pointer;
  }

  .sticky-mobile-tel {
    background: rgba(7,20,42,.15);
    color: var(--sea-l);
    border: 1px solid rgba(7,20,42,.3);
  }
  .sticky-mobile-tel:hover { background: rgba(7,20,42,.25); }

  .sticky-mobile-wa {
    background: rgba(37,211,102,.1);
    color: #25D366;
    border: 1px solid rgba(37,211,102,.2);
  }
  .sticky-mobile-wa:hover { background: rgba(37,211,102,.2); }

  .sticky-mobile-estimer {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--accent);
    flex: 2;
  }
  .sticky-mobile-estimer:hover { background: var(--accent-l); }

  /* Espace pour ne pas cacher le contenu */
  body { padding-bottom: 76px; }
  #liveNotif { bottom: 90px; }
  /* chatBtn au-dessus de la sticky bar mobile */
  #chatBtn   { bottom: 92px !important; left: 16px !important; width: 48px !important; height: 48px !important; }
  #chatBox   { bottom: 152px !important; left: 16px !important; width: calc(100vw - 32px) !important; }
}


/* ── Toast système ───────────────────────────────────────── */

.toast {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 99999;
  padding: 12px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  transform: translateX(120%);
  transition: transform .35s cubic-bezier(.175,.885,.32,1.275);
  max-width: 300px;
  border: 1px solid;
}
.toast.show { transform: translateX(0); }

.toast-success {
  background: rgba(74,222,128,.12);
  border-color: rgba(74,222,128,.3);
  color: var(--green);
}
.toast-error {
  background: rgba(239,68,68,.1);
  border-color: rgba(239,68,68,.25);
  color: #EF4444;
}
.toast-info {
  background: rgba(7,20,42,.12);
  border-color: rgba(7,20,42,.3);
  color: var(--sea-l);
}


/* ── Chatbot bulle proactive ─────────────────────────────── */

.chat-proactive-bubble {
  position: fixed;
  bottom: 96px;
  left: 28px;
  background: var(--dark-2);
  border: 1px solid rgba(43,159,255,.3);
  border-radius: 14px 14px 14px 4px;
  padding: 12px 16px;
  max-width: 220px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  box-shadow: var(--shadow-md);
  z-index: 9000;
  transform: translateY(20px);
  opacity: 0;
  transition: all .35s cubic-bezier(.175,.885,.32,1.275);
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.chat-proactive-bubble.show {
  transform: translateY(0);
  opacity: 1;
}
.chat-proactive-close {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  padding: 0;
  flex-shrink: 0;
  margin-top: 1px;
}
@media (max-width: 768px) {
  .chat-proactive-bubble { bottom: 180px; }
}


/* ── WhatsApp flottant desktop ───────────────────────────── */

.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9001;
  background: #D97642;
  color: #F4E9DA;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px -6px rgba(217,118,66,.5);
  text-decoration: none;
  transition: all .25s;
  border: 0.5px solid rgba(244,233,218,.15);
  cursor: pointer;
}
.wa-float svg, .wa-float svg path { fill: #F4E9DA; color: #F4E9DA; }
.wa-float:hover { transform: scale(1.08); background: #C06533; }
.wa-float-label {
  position: absolute;
  right: calc(100% + 10px);
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 12px;
  font-size: 12px;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.wa-float:hover .wa-float-label { opacity: 1; }

@media (max-width: 768px) { .wa-float { display: none; } }


/* ── Améliorations form ──────────────────────────────────── */

/* Input focus amélioré */
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43,159,255,.1);
}
.form-input[aria-invalid="true"] {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(239,68,68,.1);
}

/* Loading state bouton */
.btn-primary:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none !important;
}

/* Opt btn keyboard nav */
.opt-btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}


/* ── Performance hints ───────────────────────────────────── */

/* Réduire repaints animations */
.hero-orb, .hero-float, .live-bar,
#liveNotif, .chat-proactive-bubble {
  will-change: transform;
}
.toast { will-change: transform; }

/* Contenir les sections pour perfs layout */
.mc, .testi, .guide-card, .faq-item {
  contain: layout style;
}


/* ── Micro-interactions premium ──────────────────────────── */

/* Hover card avec scale subtil */
.mc:hover { transform: translateY(-3px) scale(1.005); }
.guide-card:hover { transform: translateY(-3px); }
.testi:hover { border-color: rgba(43,159,255,.2); }

/* Underscore animé sur liens nav */
nav a:not(.btn-nav) {
  position: relative;
}
nav a:not(.btn-nav)::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width .25s ease;
}
nav a:not(.btn-nav):hover::after { width: 100%; }


/* ── Exit intent overlay ─────────────────────────────────── */

#exitIntentOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(4px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.exit-intent-box {
  background: var(--dark-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
}
.exit-intent-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--dark-3);
  border: none;
  border-radius: 50%;
  width: 30px; height: 30px;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ── Ajustements responsive passe 2 ─────────────────────── */

@media (max-width: 480px) {
  .hero-stats { display: none; display: none; } /* Trop dense sur très petit écran */
  .prog-label { font-size: 9px; }
  .prog-dot   { width: 26px; height: 26px; font-size: 11px; }
  .prog-line  { min-width: 24px; }

  .agence-card-body { grid-template-columns: 1fr; }
  .agence-stats { grid-template-columns: 1fr 1fr; }

  footer { padding: 32px 16px; }
  body > footer .footer-bottom { font-size: 10px; }

  /* Formulaire */
  .opt-grid { grid-template-columns: 1fr 1fr; }
  .form-nav { flex-direction: column-reverse; gap: 8px; }
  .btn-back { width: 100%; justify-content: center; }
  /* Footer mobile complet */
  body > footer { padding: 32px 16px 100px; }
  body > footer .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body > footer .footer-brand { font-size: 16px; }
  body > footer .footer-desc { font-size: 12px; }
  body > footer .footer-col-title { font-size: 10px; }
  body > footer .footer-link { font-size: 12px; margin-bottom: 6px; }
  body > footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    font-size: 10px;
  }

}

/* Reset Safari natif sur FAQ - override total */
.faq-item .faq-q,
.faq-item button.faq-q,
button.faq-q {
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  color: var(--text) !important;
  font-family: inherit !important;
  font-size: inherit !important;
  width: 100% !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 22px !important;
  cursor: pointer !important;
  gap: 16px !important;
  outline: none !important;
}

.faq-item .faq-q .faq-q-text,
.faq-item button.faq-q .faq-q-text {
  color: var(--text) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  flex: 1 !important;
  text-align: left !important;
}

.faq-item .faq-q .faq-arrow,
.faq-item button.faq-q .faq-arrow {
  color: var(--muted) !important;
  font-size: 18px !important;
  flex-shrink: 0 !important;
  transition: transform .25s !important;
}

.faq-item.open .faq-q .faq-arrow {
  transform: rotate(180deg) !important;
}


/* Fix hero viewport réduit (Safari barre adresse) */
@media (max-height: 800px) {
  .hero { min-height: auto; }
  .hero-content { padding: 80px 40px 50px; }
  .hero h1 { font-size: clamp(42px, 5.5vw, 80px); }
}

@media (max-height: 700px) {
  .hero-content { padding: 70px 40px 40px; }
  .hero h1 { font-size: clamp(36px, 5vw, 72px); }
}


/* ═════════════════════════════════════════════════════════════
   25. THEME FLIP — Cream / anthracite / terracotta (2026-04)
   Surcouche qui transforme l'identité visuelle sans toucher
   à la structure existante.
   ═════════════════════════════════════════════════════════════ */

body {
  font-family: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background: var(--dark);
  color: var(--text);
}

/* Neutralise le grain sombre (qui ne fonctionne pas sur crème) */
body::before { display: none !important; }

/* Typo — headings un peu plus denses sur crème */
h1, h2, h3 { color: var(--text); font-weight: 400; }
h1 em, h2 em, h3 em { font-weight: 500; }

/* Liens neutres */
a { color: var(--accent); }

/* ── Hero : fond crème, texte sombre ── */
.hero,
section.hero {
  background-color: var(--dark) !important;
  background-image: radial-gradient(ellipse at 78% 14%, rgba(43,159,255,.10) 0%, rgba(43,159,255,0) 55%) !important;
}
.hero-bg { opacity: .35; mix-blend-mode: multiply; }
.hero-orb-1 { background: radial-gradient(circle, rgba(7,20,42,.06) 0%, transparent 70%); }
.hero-orb-2 { background: radial-gradient(circle, rgba(43,159,255,.10) 0%, transparent 70%); }

.hero-content, .hero-content * { color: var(--text); }
.hero-content h1 em { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--muted); }
.hero-badge {
  background: #fff;
  border: 0.5px solid var(--border);
  box-shadow: 0 1px 2px rgba(7,20,42,.03);
}
.hero-badge-dot { background: var(--accent); color: #fff; }
.hero-badge-txt { color: var(--muted); }
.hero-pill {
  color: var(--muted);
  background: rgba(255,255,255,.7);
  border: 0.5px solid var(--border);
}

/* Hero float card — dashboard marché live (design ref: dark navy card) */
.hero-float {
  position: absolute;
  /* Clamp: au moins 3% du bord, mais ne dépasse jamais la colonne centrale 1280px */
  right: max(3%, calc((100vw - 1280px) / 2 + 24px));
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(ellipse at 75% 15%, rgba(217,118,66,.18) 0%, rgba(217,118,66,0) 55%), linear-gradient(180deg, #142030 0%, #07142A 100%) !important;
  border: 0.5px solid rgba(244,233,218,.08) !important;
  border-radius: 8px !important;
  padding: 22px 24px !important;
  color: var(--text-on-dark) !important;
  box-shadow: 0 20px 60px -20px rgba(7,20,42,.45);
  width: 320px;
  min-width: auto !important;
  max-width: 520px;
  backdrop-filter: none;
}
.hero-float-tag {
  color: var(--text-on-dark-muted) !important;
  letter-spacing: .16em !important;
  font-size: 9.5px !important;
  font-family: 'Inter', sans-serif !important;
}
.hero-float-val {
  color: var(--accent-l) !important;
  font-family: 'Plus Jakarta Sans', serif !important;
  font-weight: 400 !important;
}
.hero-float-sub { color: var(--text-on-dark-muted) !important; font-size: 11px !important; }

/* Masquer la carte float en-dessous de 1200px (hero centré = pas assez de place) */
@media (max-width: 1199px) {
  .hero-float { display: none !important; }
}

.stat-n  { color: var(--accent); }
.stat-l  { color: var(--muted); }
.hero-stat + .hero-stat::before { background: var(--border); }

/* ── Header / Nav ── */
header {
  background: linear-gradient(to bottom, rgba(245,239,228,.96) 70%, rgba(245,239,228,0));
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(10px);
}
header nav a { color: var(--text); }
header nav a:hover { color: var(--accent); }
.logo { color: #07142A; font-weight: 700; }
.logo small { color: var(--accent); font-weight: 600; }

.btn-nav {
  background: var(--ink) !important;
  color: #fff !important;
  border: none;
}
.btn-nav:hover {
  background: var(--accent) !important;
  color: #fff !important;
}

/* ── Boutons ── */
.btn-primary {
  background: var(--accent);
  box-shadow: 0 12px 32px -8px rgba(43,159,255,.5);
}
.btn-primary:hover {
  background: var(--accent-d);
  box-shadow: 0 16px 40px -8px rgba(43,159,255,.6);
}
.btn-secondary {
  border: 0.5px solid var(--border-s);
  color: var(--text);
  background: transparent;
}
.btn-secondary:hover {
  border-color: var(--text);
  color: var(--text);
  background: rgba(7,20,42,.04);
}
.btn-ghost { color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* ── Cartes marché / market-stats ── */
.mc {
  background: #fff;
  border: 0.5px solid var(--border);
}
.mc:hover {
  border-color: var(--border-h);
  box-shadow: 0 10px 28px -12px rgba(7,20,42,.12);
}
.mc-nom, .mc-prix { color: var(--text); }
.mc-tag { background: var(--dark-4); color: var(--muted); }
.market-stat { background: #fff; }
#chartMain { background: #fff; border: 0.5px solid var(--border); }

/* ── Form estimation ── */
html { color-scheme: light; scroll-padding-top: 80px; }
#estimation, #methode, #simulateur, #marche, #evolution, #faq, #guides { scroll-margin-top: 80px; }
.form-input,
.form-input:focus,
.form-input:active,
input.form-input,
select.form-input,
select.form-input option {
  background: #fff !important;
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  border: 1px solid var(--border-s);
}
.form-input:focus { border-color: var(--accent) !important; }
.form-input::placeholder { color: var(--light); }
.opt-btn { background: #fff; border: 1px solid var(--border); color: var(--text); }
.opt-btn:hover { border-color: var(--border-h); }
.opt-btn.opt-active { background: rgba(43,159,255,.06); border-color: var(--accent); color: var(--accent); }
.prog-dot { background: #fff; border-color: var(--border); color: var(--muted); }
.prog-dot.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.live-fourchette {
  background: linear-gradient(135deg, #fff, rgba(43,159,255,.05));
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}

/* Form 2 colonnes (est-*) */
.est-type-card { background: #fff; border: 1px solid var(--border); }
.est-type-card:hover { border-color: var(--border-h); background: rgba(43,159,255,.03); }
.est-type-card.opt-active {
  border: 2px solid var(--accent) !important;
  background: rgba(43,159,255,.08) !important;
  color: var(--text) !important;
  box-shadow: 0 0 0 4px rgba(43,159,255,.1), 0 8px 24px rgba(43,159,255,.15) !important;
}
.est-type-card.opt-active .est-type-label { color: var(--text) !important; font-weight: 600 !important; }
.est-type-card.opt-active .est-type-sub   { color: var(--muted) !important; }
.est-type-card.opt-active .est-type-icon  { background: rgba(43,159,255,.18) !important; color: var(--accent) !important; }
.est-type-icon { background: var(--dark-4); color: var(--text); }
.est-type-label { color: var(--text); }
.est-type-sub { color: var(--muted); }
.est-prog-dot { background: #fff; border-color: var(--border); color: var(--muted); }
.est-step-title { color: var(--text); }
.est-step-sub { color: var(--muted); }
.est-step-tag { color: var(--accent); }

/* ── Section backgrounds pour l'alternance anthracite ── */
.section-ink,
section.section-ink {
  background: var(--ink) !important;
  color: var(--text-on-dark);
}
.section-ink h1, .section-ink h2, .section-ink h3 { color: var(--text-on-dark); }
.section-ink p, .section-ink .muted { color: var(--text-on-dark-muted); }

/* ── FAQ sur cream ── */
.faq-item { background: #fff; border: 0.5px solid var(--border); border-radius: 12px; margin-bottom: 10px; }
.faq-q, button.faq-q, .faq-item button {
  color: var(--text) !important;
  background: transparent !important;
  font-family: 'Inter', system-ui, sans-serif !important;
}
.faq-q-text { color: var(--text) !important; }
.faq-arrow { color: var(--muted) !important; }
.faq-a { color: var(--muted); }

/* ── Footer (spécificité élevée pour battre les règles existantes) ── */
/* Footer : voir overrides luxe en bas du fichier (ligne ~3340) */
body > footer .btn-primary { color: #fff !important; }
body > footer .btn-primary:hover { color: #fff !important; }

/* ── sec-tag ── */
.sec-tag { color: var(--accent); letter-spacing: .16em; font-size: 10.5px; }
.sec-tag::before, .sec-tag::after { background: var(--accent); opacity: .45; }

/* ── Méthode ── */
.methode-num { color: rgba(43,159,255,.25); }
.methode-title { color: var(--text); }
.methode-desc { color: var(--muted); }

/* ── Chatbot — reste sombre (se démarque sur cream) ── */
#chatBtn { background: var(--accent); color: #fff; }
#chatBox {
  background: var(--ink);
  color: var(--text-on-dark);
  border: 1px solid rgba(244,233,218,.12);
  box-shadow: var(--shadow-lg);
}

/* ── Sticky mobile CTA bar ── */
.sticky-mobile-cta,
#stickyMobileCTA {
  background: #fff !important;
  border-top: 0.5px solid var(--border) !important;
  box-shadow: 0 -6px 20px -8px rgba(7,20,42,.1) !important;
}

/* ── Recap sidebar estimation (anthracite, sur design nouveau) ── */
.est-recap {
  background: var(--ink) !important;
  border: 0.5px solid rgba(244,233,218,.08) !important;
  color: var(--text-on-dark);
  box-shadow: var(--shadow-lg);
}
.est-recap-header { color: var(--text-on-dark-muted) !important; border-bottom-color: rgba(244,233,218,.1) !important; }
.est-recap-title { color: var(--text-on-dark) !important; }
.est-recap-sub   { color: var(--text-on-dark-muted) !important; }
.est-recap-fourchette {
  background: linear-gradient(135deg, rgba(43,159,255,.12), rgba(7,20,42,0)) !important;
  border-bottom-color: rgba(244,233,218,.1) !important;
}
.est-recap-f-label  { color: var(--text-on-dark-muted) !important; }
.est-recap-f-val    { color: var(--accent) !important; }
.est-recap-f-source { color: var(--text-on-dark-muted) !important; }
.est-recap-section  { border-bottom-color: rgba(244,233,218,.08) !important; }
.est-recap-section-title { color: var(--text-on-dark-muted) !important; }
.est-recap-row-key  { color: var(--text-on-dark-muted) !important; }
.est-recap-row-val  { color: var(--text-on-dark) !important; }
.est-recap-row-dot  { background: rgba(244,233,218,.2) !important; }
.est-recap-row:not(.est-recap-row-pending) .est-recap-row-dot { background: var(--accent) !important; }
.est-recap-score         { border-bottom-color: rgba(244,233,218,.08) !important; }
.est-recap-score-label   { color: var(--text-on-dark-muted) !important; }
.est-recap-score-bar     { background: rgba(244,233,218,.1) !important; }
.est-recap-score-val     { color: var(--accent) !important; }
.est-recap-guarantee     { color: var(--text-on-dark-muted) !important; }
.est-recap-guarantee svg { color: var(--accent) !important; }

/* Cartes état / projet / délai (restent sur cream) */
.est-etat-card, .est-projet-card, .est-delai-card {
  background: #fff !important;
  border: 1px solid var(--border) !important;
}
.est-etat-card.active, .est-projet-card.opt-active, .est-delai-card.opt-active {
  border-color: var(--accent) !important;
  background: rgba(43,159,255,.06) !important;
}
.est-projet-icon { background: var(--dark-4) !important; color: var(--text) !important; }
.est-projet-card.opt-active .est-projet-icon { background: rgba(43,159,255,.18) !important; color: var(--accent) !important; }

/* Form nav border */
.est-nav { border-top: 1px solid var(--border) !important; }
.est-btn-back { color: var(--muted) !important; border: 1px solid var(--border) !important; }
.est-btn-back:hover { color: var(--text) !important; border-color: var(--text) !important; }

/* ─────────────────────────────────────────────────────────
   HERO v3 — Layout 60/40 + impact visuel
   ───────────────────────────────────────────────────────── */

body section.hero, body .hero {
  background:
    radial-gradient(ellipse 80% 90% at 88% 45%, rgba(43,159,255,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 70% at 70% 90%, rgba(240,165,0,0.10) 0%, transparent 55%),
    radial-gradient(circle 600px at 15% 25%, rgba(43,159,255,0.08) 0%, transparent 70%),
    linear-gradient(135deg, #F5F8FC 0%, #EBDFCB 50%, #E2D3B8 100%) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* RELIEF SITE-WIDE — toutes les sections gagnent du relief subtil */
section, .section {
  position: relative;
}
section + section {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.4), inset 0 -1px 0 rgba(7,20,42,0.04);
}
/* Cards & boutons partout : ombres plus marquées pour profondeur */
.est-type-card, .est-projet-card, .est-delai-card, .est-etat-card, .est-pill, .est-compass-card,
.mc-card, .stat-card, .market-stat, .guide-card {
  box-shadow: 0 1px 2px rgba(7,20,42,0.04), 0 4px 12px rgba(7,20,42,0.05);
  transition: box-shadow .25s, transform .25s;
}
.est-type-card:hover, .est-projet-card:hover, .est-delai-card:hover, .mc-card:hover, .guide-card:hover {
  box-shadow: 0 4px 8px rgba(7,20,42,0.06), 0 12px 32px rgba(43,159,255,0.12);
  transform: translateY(-2px);
}
.est-type-card.opt-active, .est-projet-card.opt-active, .est-delai-card.opt-active {
  box-shadow: 0 0 0 3px rgba(43,159,255,0.15), 0 8px 24px rgba(43,159,255,0.18) !important;
}

/* ─────────────────────────────────────────────────────────
   FIX FORMULAIRE MOBILE
   ───────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Container : padding clean */
  #estimation .est-form-col,
  #estimation .est-recap-col,
  #estimation .est-layout {
    padding-left: 16px !important;
    padding-right: 16px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
  }
  /* Cards type bien : 2 colonnes */
  .est-type-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }
  .est-type-card {
    min-height: 96px !important;
    padding: 14px 8px !important;
  }
  .est-type-label { font-size: 13px !important; }
  .est-type-sub   { font-size: 10px !important; }
  /* Pills étage / année — wrap propre */
  .est-pill-row { flex-wrap: wrap !important; gap: 8px !important; }
  .est-pill { min-width: 48px !important; padding: 9px 14px !important; font-size: 14px !important; }
  /* Cards extérieur, vue, expo : 2 cols */
  .est-projet-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .est-compass-grid { grid-template-columns: repeat(3, 1fr) !important; gap: 8px !important; }
  /* Input surface — 16px évite zoom iOS */
  #surface, #adresse, #villeCP, #prenom, #nom, #email, #tel,
  #exterieur_surface, .form-input { font-size: 16px !important; }
  /* Bouton Suivant : pleine largeur */
  .est-btn-next {
    flex: 1 !important;
    justify-content: center !important;
    padding: 16px 24px !important;
    font-size: 15px !important;
  }
  /* Récap : passe en bas */
  .est-recap-col { order: 2 !important; margin-top: 24px !important; }
  .est-form-col  { order: 1 !important; }
  /* Scroll auto sans recouvrement header */
  #estimation { scroll-margin-top: 80px !important; }
}

/* Guide card link — wraps article cleanly */
.guide-card-link { text-decoration: none; color: inherit; display: block; }
.guide-card-link:hover .guide-card { transform: translateY(-3px); }

/* ─────────────────────────────────────────────────────────
   POPUPS GRIS DÉSACTIVÉS (notifs auto live, exit intent, toasts, bulles auto)
   On garde : chatBtn, stickyCTAMobile, wa-float — éléments utiles à la conversion
   ───────────────────────────────────────────────────────── */
#liveNotif,
#liveNotifBar,
#exitIntentOverlay,
.chat-proactive-bubble,
#chatProactiveBubble,
.toast {
  display: none !important;
}

/* Hero-deco SVG : couvre TOUT le hero (soleil à droite, calanques full-width) */
.hero-deco {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
}

/* Renforcer visibilité hero-bg (orbes existants) */
body .hero-bg { opacity: .35 !important; mix-blend-mode: normal !important; z-index: 0 !important; }

/* Garantir que tout le contenu hero passe au-dessus de la déco */
body .hero > *:not(.hero-bg):not(.hero-deco) { position: relative; z-index: 1; }

/* Décoration SVG cantonnée au fond */
.hero-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Layout 2 colonnes desktop : contenu gauche (60%), card marché droite (40%) */
@media (min-width: 1024px) {
  body section.hero, body .hero {
    display: grid !important;
    grid-template-columns: minmax(0, 60%) minmax(0, 40%) !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 48px !important;
    height: auto !important;
    min-height: 100dvh !important;
    max-width: 100% !important;
    padding: 100px 80px 60px !important;
    box-sizing: border-box !important;
  }
  body section.hero > .hero-content,
  body .hero > .hero-content {
    text-align: left !important;
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: auto !important;
  }
  .hero-content .hero-pills,
  .hero-content .hero-ctas {
    justify-content: flex-start !important;
  }
  .hero-content .hero-sub {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  /* Card marché : ancrée dans la colonne droite, plus de flotaison absolue */
  body section.hero > .hero-float,
  body .hero > .hero-float {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 460px !important;
    justify-self: end !important;
    align-self: center !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 60px -20px rgba(7,20,42,.18), 0 6px 20px rgba(7,20,42,.08) !important;
  }
}

/* Titre : impact + contraste */
section.hero h1, .hero h1 {
  color: #07142A !important;
  font-weight: 500 !important;
  letter-spacing: -.02em !important;
  line-height: 1.1 !important;
  font-size: clamp(3rem, 5.2vw, 4.5rem) !important;
}
section.hero h1 em, .hero h1 em {
  color: var(--accent) !important;
  font-weight: 400 !important;
}

/* Sous-titre crème : plus lisible */
section.hero .hero-sub, .hero .hero-sub {
  color: rgba(7, 20, 42, .72) !important;
  font-size: 17px !important;
}

/* Pills : présence renforcée */
section.hero .hero-pill, .hero .hero-pill {
  background: rgba(7, 20, 42, .06) !important;
  border: 1px solid rgba(7, 20, 42, .12) !important;
  color: #07142A !important;
  font-weight: 500 !important;
  padding: 6px 14px !important;
  border-radius: 100px !important;
  font-size: 13px !important;
}

/* Badge : texte plus visible sur fond crème */
section.hero .hero-badge, .hero .hero-badge { background: rgba(255,255,255,.5) !important; }
section.hero .hero-badge-txt, .hero .hero-badge-txt { color: #4A5560 !important; }

/* CTA secondaire : style clairement secondaire (pas de fond accent) */
section.hero .hero-ctas .btn-secondary,
.hero .hero-ctas .btn-secondary {
  background: transparent !important;
  border: 1.5px solid rgba(7, 20, 42, .25) !important;
  color: #07142A !important;
  backdrop-filter: none !important;
}
section.hero .hero-ctas .btn-secondary:hover,
.hero .hero-ctas .btn-secondary:hover {
  border-color: var(--accent) !important;
  color: var(--accent) !important;
  background: transparent !important;
}

/* Mobile : layout vertical centré, card marché conservée sous le hero (compact) */
@media (max-width: 1023px) {
  body section.hero, body .hero { display: flex !important; flex-direction: column !important; }
  body section.hero > .hero-content, body .hero > .hero-content { text-align: center !important; }
  /* Card marché : repositionnée en bas du hero, plus en absolute flotante */
  body section.hero > .hero-float, body .hero > .hero-float {
    display: block !important;
    position: relative !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin: 24px auto 0 !important;
    width: calc(100% - 32px) !important;
    max-width: 420px !important;
    border-radius: 14px !important;
  }
  .hero-deco { width: 100% !important; opacity: 1 !important; }
}

/* ── Chart tooltip : mobile safe positioning ── */
#chartTooltip {
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
}
@media (max-width: 768px) {
  #chartTooltip {
    left: 16px !important;
    right: 16px !important;
    width: auto !important;
    max-width: calc(100vw - 32px) !important;
  }
}



/* ================================================
   THEME LUXE — Overrides visuels uniquement
   ================================================ */

/* ── Body & fond ── */
body { background: var(--ivoire); color: var(--noir); }

/* ── Navbar ── */
header, .site-header {
  background: var(--ivoire) !important;
  border-bottom: 1px solid var(--line) !important;
}
header nav a, .site-header nav a { color: var(--noir) !important; font-size: 13px; }
header nav a:hover { color: var(--or-deep) !important; }
.logo, .nav-brand, .brand-name { color: var(--noir) !important; }
.logo small, .brand-sub { color: var(--pierre) !important; }

/* CTA nav "Commencer" */
.nav-cta, .btn-nav-cta, .btn-nav, header nav a.btn-nav {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border-radius: 0 !important;
  font-size: 12px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  padding: 12px 20px !important;
  border: none !important;
}
.nav-cta:hover, .btn-nav:hover { background: var(--graphite) !important; color: var(--ivoire) !important; }

/* ── Hero ── */
body section.hero, body .hero, body #hero {
  background: var(--noir) !important;
  background-image: none !important;
  position: relative;
  overflow: hidden;
}
body section.hero::before, body .hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 0;
  background-image: url('/assets/marseille-hero.jpg');
  background-size: cover;
  background-position: center 45%;
  filter: saturate(1.05) brightness(1.05) contrast(1.05) !important;
}
/* Overlay TRÈS LÉGER — garde la photo bien claire */
body section.hero::after, body .hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(95deg,
      rgba(20,17,13,0.35) 0%,
      rgba(20,17,13,0.18) 35%,
      rgba(20,17,13,0.05) 70%,
      rgba(20,17,13,0) 100%);
}
/* H1 hero — lisibilité parfaite */
body .hero h1 {
  text-shadow:
    0 2px 12px rgba(0,0,0,0.85),
    0 1px 3px rgba(0,0,0,0.95),
    0 0 1px rgba(0,0,0,1) !important;
  font-size: clamp(44px, 5.6vw, 78px) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.5px !important;
  color: #FFFFFF !important;
  font-weight: 500 !important;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
}
body .hero h1 em {
  color: #DBC79A !important;
  font-style: italic !important;
  font-weight: 500 !important;
}
body .hero-tagline {
  text-shadow: 0 1px 6px rgba(0,0,0,0.95), 0 0 1px rgba(0,0,0,0.8) !important;
  color: rgba(255,255,255,0.95) !important;
  font-size: 17px !important;
  line-height: 1.65 !important;
  max-width: 560px !important;
}
body .hero-eyebrow {
  text-shadow: 0 1px 6px rgba(0,0,0,0.95) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: #DBC79A !important;
  margin-bottom: 24px !important;
}
body .hero-eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: #DBC79A;
  box-shadow: 0 1px 3px rgba(0,0,0,0.9);
}
body .hero-pill {
  background: rgba(0,0,0,0.55) !important;
  border-color: rgba(219,199,154,0.40) !important;
  color: #FFFFFF !important;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8) !important;
}
/* Tout le contenu du hero passe au-dessus des pseudo-elements */
body .hero > *, body section.hero > * { position: relative; z-index: 2; }
/* La déco SVG existante doit disparaître au profit de la photo */
body .hero-deco, body .hero-bg { display: none !important; }

/* Textes hero */
body .hero h1, body section.hero h1 {
  color: var(--ivoire) !important;
  font-family: var(--serif) !important;
  font-weight: 400 !important;
}
body .hero h1 em { color: var(--or-pale) !important; font-style: italic !important; }
body .hero-sub, body .hero p { color: rgba(248,244,237,0.85) !important; }

/* Badge hero */
body .hero-badge {
  background: rgba(184,153,104,0.15) !important;
  border-color: rgba(184,153,104,0.35) !important;
}
body .hero-badge-txt { color: var(--or-pale) !important; }
body .hero-badge-dot { background: var(--or) !important; color: var(--noir) !important; }

/* Pills hero */
body .hero-pill {
  background: rgba(248,244,237,0.10) !important;
  border-color: rgba(248,244,237,0.20) !important;
  color: rgba(248,244,237,0.92) !important;
}

/* CTA secondaire hero */
body .hero .btn-secondary, body .hero-ctas .btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(248,244,237,0.35) !important;
  color: var(--ivoire) !important;
  border-radius: 2px !important;
}
body .hero .btn-secondary:hover, body .hero-ctas .btn-secondary:hover {
  border-color: var(--or-pale) !important;
  color: var(--or-pale) !important;
  background: transparent !important;
}

/* Card marché hero — fond ivoire sur photo sombre */
body .hero-float {
  background: var(--ivoire) !important;
  border-top: 3px solid var(--or) !important;
  border: 0 !important;
  border-top: 3px solid var(--or) !important;
  border-radius: 0 !important;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.55) !important;
  color: var(--noir) !important;
}
body .hero-float {
  background: var(--ivoire) !important;
  background-color: var(--ivoire) !important;
}
body .hero-float * { color: var(--noir) !important; background-color: transparent !important; }
body .hero-float [style*="color:#F4E9DA"],
body .hero-float [style*="color:#F4E9DA"] * { color: var(--or-deep) !important; }
body .hero-float [style*="rgba(244,233,218"] { color: var(--pierre) !important; }
body .hero-float .hero-float-tag { color: var(--pierre) !important; }
body .hero-float .hero-float-val { color: var(--or-deep) !important; }
body .hero-float .hero-float-sub { color: var(--pierre) !important; }
/* Petit dot live */
body .hero-float [style*="background:#4ADE80"] { background: #4ADE80 !important; box-shadow: 0 0 10px #4ADE80 !important; }

/* ── Boutons principaux ── */
.btn-primary, button.btn-primary, a.btn-primary,
.est-btn-next {
  background: var(--terracotta) !important;
  color: #fff !important;
  border-radius: 2px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: 0 8px 24px rgba(184,98,62,0.30) !important;
  border: none !important;
}
.btn-primary:hover, .est-btn-next:hover {
  background: var(--terracotta-deep) !important;
  color: #fff !important;
  box-shadow: 0 12px 32px rgba(149,66,31,0.45) !important;
}

/* Accent terracotta global */
:root {
  --accent:   #B8623E;
  --accent-l: #C9743F;
}

/* ── Sections ── */
.section-light, [class*="section-alt"] { background: var(--ivoire-2); }

/* Sections sombres (marché Marseille) */
section#marche, section.section-dark, [class*="section-dark"] {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
}
section#marche h2, section#marche p { color: var(--ivoire) !important; }
section#marche .sec-tag { color: var(--or-pale) !important; border-color: var(--line-on-dark) !important; }

/* ── Titres de section ── */
h2 {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  letter-spacing: -0.8px !important;
  color: var(--noir) !important;
}
h2 em { color: var(--or-deep) !important; font-style: italic !important; font-weight: 400 !important; }

h3 { font-family: var(--serif) !important; font-weight: 500 !important; }

/* ── Formulaire d'estimation ── */
#estimation { background: var(--ivoire) !important; }

/* Cards type de bien */
.est-type-card {
  background: var(--ivoire) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.est-type-card:hover {
  border-color: var(--or) !important;
  background: var(--ivoire) !important;
}
.est-type-card.opt-active {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border-color: var(--noir) !important;
  box-shadow: 0 12px 32px rgba(20,17,13,0.30) !important;
}
.est-type-card.opt-active .est-type-icon { background: rgba(184,153,104,0.20) !important; color: var(--or-pale) !important; }
.est-type-card.opt-active .est-type-label,
.est-type-card.opt-active .est-type-sub { color: var(--ivoire) !important; }

/* Inputs underline luxueux */
#estimation .form-input,
#estimation input[type="text"],
#estimation input[type="number"],
#estimation input[type="email"],
#estimation input[type="tel"],
#estimation select {
  border: none !important;
  border-bottom: 1px solid var(--line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--noir) !important;
  font-size: 15px !important;
  padding: 13px 0 !important;
}
#estimation .form-input:focus,
#estimation input:focus,
#estimation select:focus {
  outline: none !important;
  border-bottom-color: var(--or) !important;
  box-shadow: none !important;
}

/* État, DPE, projet, délai cards */
.est-etat-card, .est-projet-card, .est-delai-card, .est-compass-card {
  background: var(--ivoire) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.est-etat-card.active, .est-projet-card.opt-active, .est-delai-card.opt-active,
.est-compass-card.opt-active {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border-color: var(--noir) !important;
  box-shadow: 0 8px 24px rgba(20,17,13,0.25) !important;
}
.est-etat-card.active .est-etat-label,
.est-projet-card.opt-active .est-projet-label,
.est-projet-card.opt-active .est-projet-sub,
.est-delai-card.opt-active .est-delai-label,
.est-compass-card.opt-active .est-compass-label { color: var(--ivoire) !important; }
.est-projet-card.opt-active .est-projet-icon { background: rgba(184,153,104,0.20) !important; color: var(--or-pale) !important; }

/* Pills étage / année / nombre extérieurs */
.est-pill { border-radius: 2px !important; border-color: var(--line) !important; background: transparent !important; }
.est-pill.opt-active {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border-color: var(--noir) !important;
  font-weight: 600 !important;
}

/* Toggle Oui/Non */
.est-toggle { background: transparent !important; border: 1px solid var(--line) !important; border-radius: 100px !important; }
.est-toggle-btn.opt-active { background: var(--noir) !important; color: var(--ivoire) !important; }

/* DPE couleurs gardées (keep) */

/* Progress bar */
.est-prog-fill, [class*="progress-fill"] { background: var(--or) !important; }

/* Récapitulatif latéral — fond noir, texte ivoire */
.est-recap {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border: none !important;
  border-radius: 0 !important;
  border-top: 3px solid var(--or) !important;
}
.est-recap-header { color: var(--or-pale) !important; border-bottom-color: var(--line-on-dark) !important; }
.est-recap-title { color: var(--ivoire) !important; }
.est-recap-sub, .est-recap-row-key { color: rgba(248,244,237,0.6) !important; }
.est-recap-row-val { color: var(--ivoire) !important; }
.est-recap-section, .est-recap-score { border-bottom-color: var(--line-on-dark) !important; }
.est-recap-section-title { color: var(--or-pale) !important; }
.est-recap-fourchette {
  background: linear-gradient(135deg, rgba(184,153,104,0.20), rgba(20,17,13,0.20)) !important;
  border-bottom: 1px solid var(--line-on-dark) !important;
}
.est-recap-f-label { color: rgba(248,244,237,0.6) !important; }
.est-recap-f-val { color: var(--or-pale) !important; }
.est-recap-f-source { color: rgba(248,244,237,0.5) !important; }
.est-recap-score-fill { background: linear-gradient(90deg, var(--or-pale), var(--or)) !important; }
.est-recap-guarantee { color: rgba(248,244,237,0.75) !important; }
.est-recap-guarantee svg { color: var(--or-pale) !important; }

/* ── Pages Guides & Arrondissements ── */
.guide-hero, .arr-hero, [class*="page-hero"] { background: var(--ivoire-2) !important; }
.guide-hero h1, .arr-hero h1 {
  font-family: var(--serif) !important;
  font-weight: 400 !important;
  color: var(--noir) !important;
  letter-spacing: -1px !important;
}
.guide-hero h1 em, .arr-hero h1 em { color: var(--or-deep) !important; font-style: italic !important; }

/* Breadcrumb */
.breadcrumb, [class*="breadcrumb"] { color: var(--pierre) !important; }
.breadcrumb a, [class*="breadcrumb"] a { color: var(--pierre) !important; }
.breadcrumb a:hover { color: var(--or-deep) !important; }

/* Tags catégorie */
.guide-tag, [class*="category-tag"] {
  background: transparent !important;
  border: 1px solid var(--line) !important;
  color: var(--or-deep) !important;
  border-radius: 0 !important;
  font-size: 10px !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
  padding: 6px 12px !important;
}

/* Cards arrondissement (page d'accueil) */
.mc-card {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--line-on-dark) !important;
  border-radius: 0 !important;
}
.mc-num { font-family: var(--serif) !important; font-style: italic !important; color: var(--or-pale) !important; }
.mc-name { font-family: var(--serif) !important; font-weight: 500 !important; color: var(--ivoire) !important; }
.mc-price { font-family: var(--serif) !important; font-weight: 500 !important; color: var(--ivoire) !important; }
.mc-trend, .mc-evolution { color: #7BD9A2 !important; }

/* Cards guides (homepage grid) */
.guide-card {
  background: var(--ivoire) !important;
  border: 1px solid var(--line) !important;
  border-radius: 0 !important;
}
.guide-card-link:hover .guide-card { border-color: var(--or) !important; transform: translateY(-3px); }
.guide-title { font-family: var(--serif) !important; font-weight: 500 !important; color: var(--noir) !important; }
.guide-desc { color: var(--pierre) !important; }

/* ── Footer ── */
body > footer, .site-footer {
  background: var(--noir) !important;
  color: var(--ivoire) !important;
  border-top: 1px solid var(--line-on-dark) !important;
}
body > footer h4, .footer-col h4 {
  font-size: 10px !important;
  letter-spacing: 2.5px !important;
  color: var(--or-pale) !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
body > footer,
body > footer a, body > footer li, body > footer p, body > footer span,
body > footer .footer-link, body > footer .footer-desc,
body > footer .footer-col a, body > footer .footer-col li,
body > footer address {
  color: rgba(248,244,237,0.85) !important;
}
body > footer a:hover, body > footer .footer-link:hover { color: var(--or-pale) !important; }
body > footer .footer-brand, body > footer .footer-brand-name { color: var(--ivoire) !important; font-family: var(--serif) !important; font-style: italic !important; font-weight: 500 !important; }
body > footer .footer-brand-sub { color: var(--or-pale) !important; letter-spacing: 2.5px !important; font-size: 9px !important; font-weight: 700 !important; }
body > footer .copyright, body > footer .footer-bottom,
body > footer .footer-bottom a, body > footer .footer-bottom span {
  color: rgba(248,244,237,0.50) !important;
  border-top: 1px solid var(--line-on-dark) !important;
}
body > footer strong { color: var(--ivoire) !important; }
/* Override les règles old qui forcent muted sur classes spécifiques */
body > footer .footer-col-title, body > footer h4 { color: var(--or-pale) !important; }
body > footer.site-footer, body > footer { background: var(--noir) !important; border-top: 1px solid var(--line-on-dark) !important; }

/* ── Page DVF — touche or ── */
.dvf-top { background: var(--ivoire-2) !important; }
.dvf-top h1 { font-family: var(--serif) !important; font-weight: 400 !important; color: var(--noir) !important; letter-spacing: -1px !important; }
.dvf-top h1 em { color: var(--or-deep) !important; font-style: italic !important; }
#dvfSearchBtn { background: var(--noir) !important; border-radius: 2px !important; letter-spacing: 1px !important; text-transform: uppercase !important; font-size: 12px !important; }
#dvfSearchBtn:hover { background: var(--graphite) !important; }
.dvf-cta-bottom { background: var(--noir) !important; border-top: 3px solid var(--or) !important; }
.dvf-cta-bottom h2 em { color: var(--or-pale) !important; }
.dvf-cta-bottom .btn { background: var(--terracotta) !important; border-radius: 2px !important; letter-spacing: 1px !important; text-transform: uppercase !important; }

/* ── Récap fourchette page form ── */
.est-recap-fourchette .est-recap-f-val { color: var(--or-pale) !important; }


/* ================================================
   THEME LUXE V2 — Top bar + Hero refait
   ================================================ */

/* TOP BAR ÉDITORIALE */
.nav-top {
  background: var(--noir);
  color: var(--ivoire);
  padding: 9px 0;
  font-size: 11px; letter-spacing: 1.5px;
  text-transform: uppercase; font-weight: 500;
  position: relative; z-index: 100;
}
.nav-top-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 32px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.nav-top-left, .nav-top-right { display: flex; gap: 26px; align-items: center; }
.nav-top-left span { color: rgba(248,244,237,0.7); }
.nav-top-left strong { color: var(--or-pale); font-weight: 500; letter-spacing: 1.5px; }
.nav-top a { color: rgba(248,244,237,0.85); text-decoration: none; transition: color .2s; }
.nav-top a:hover { color: var(--or-pale); }
.nav-top .sep { color: rgba(248,244,237,0.3); }
@media (max-width: 768px) {
  .nav-top { font-size: 9.5px; padding: 7px 0; }
  .nav-top-inner { padding: 0 16px; gap: 8px; flex-direction: column; }
  .nav-top-right { font-size: 10px; gap: 10px; }
}

/* HERO V2 LUXE — disposition grid */
@media (min-width: 1024px) {
  body section.hero, body .hero {
    display: grid !important;
    grid-template-columns: 1.2fr 460px !important;
    gap: 80px !important;
    align-items: center !important;
    padding: 100px 56px 110px !important;
    max-width: 1440px !important;
    margin: 0 auto !important;
    min-height: 720px !important;
  }
}

/* Eyebrow hero (Expert immobilier · Marseille) */
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 10px; letter-spacing: 3.5px;
  color: var(--or-pale); text-transform: uppercase; font-weight: 600;
  margin-bottom: 36px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; width: 36px; height: 1px;
  background: var(--or); opacity: 0.6;
}

/* H1 hero LUXE — blanc pur + soft glow (pas d'outline dur) */
body section.hero h1, body .hero h1 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif !important;
  font-size: clamp(48px, 6vw, 92px) !important;
  font-weight: 400 !important;
  line-height: 1.0 !important;
  letter-spacing: -1px !important;
  margin: 0 !important;
  color: #FFFFFF !important;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 6px 30px rgba(0,0,0,0.55),
    0 2px 12px rgba(0,0,0,0.45),
    0 1px 3px rgba(0,0,0,0.40) !important;
}
body section.hero h1 em, body .hero h1 em,
body section.hero h1 .accent, body .hero h1 .accent {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #F5E6C2 !important;
  margin-top: 4px;
  -webkit-text-stroke: 0 !important;
  text-shadow:
    0 6px 30px rgba(0,0,0,0.55),
    0 2px 12px rgba(0,0,0,0.45),
    0 1px 3px rgba(0,0,0,0.40) !important;
}
/* Pills hero v3 luxe */
body .hero-pills {
  display: flex !important; gap: 10px; flex-wrap: wrap;
  margin: 28px 0 36px !important; max-width: 520px;
}
body .hero-pill {
  background: rgba(248,244,237,0.10) !important;
  border: 1px solid rgba(248,244,237,0.18) !important;
  color: rgba(248,244,237,0.92) !important;
  padding: 7px 14px !important;
  border-radius: 100px !important;
  font-size: 12px !important;
  letter-spacing: .02em;
  backdrop-filter: blur(4px);
}
/* CTAs hero v3 luxe */
body .hero-ctas {
  display: flex !important; gap: 14px; flex-wrap: wrap;
  margin: 28px 0 0;
}
body .hero-ctas .btn-primary {
  background: var(--terracotta) !important;
  color: #fff !important;
  border-radius: 2px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  box-shadow: 0 12px 32px rgba(184,98,62,0.35) !important;
  text-decoration: none !important;
}
body .hero-ctas .btn-primary:hover {
  background: var(--terracotta-deep) !important;
}
body .hero-ctas .btn-secondary {
  background: transparent !important;
  border: 1px solid rgba(248,244,237,0.4) !important;
  color: var(--ivoire) !important;
  border-radius: 2px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 16px 28px !important;
  font-weight: 500 !important;
  font-size: 12px !important;
  text-decoration: none !important;
  backdrop-filter: blur(4px);
}
body .hero-ctas .btn-secondary:hover {
  border-color: var(--or-pale) !important;
  color: var(--or-pale) !important;
}

.hero-rule {
  width: 60px; height: 1px;
  background: var(--or);
  margin: 36px 0 28px;
}

.hero-tagline {
  font-size: 17px; color: rgba(248,244,237,0.85) !important;
  line-height: 1.65; max-width: 480px; font-weight: 400;
}

/* Stats luxe */
.hero-meta {
  display: flex; gap: 36px; margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid rgba(248,244,237,0.12);
  width: fit-content;
  flex-wrap: wrap;
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-num {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500;
  color: var(--or-pale); line-height: 1;
  letter-spacing: -0.5px;
}
.hero-meta-num em { font-style: italic; }
.hero-meta-lbl {
  font-size: 10px; letter-spacing: 2px;
  color: rgba(248,244,237,0.6);
  text-transform: uppercase; font-weight: 500;
}

/* MINI-FORM HERO */
.hero-form {
  background: var(--ivoire);
  padding: 38px 36px 32px;
  border-top: 3px solid var(--or);
  position: relative;
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.5),
    0 0 0 1px rgba(184,153,104,0.15);
  z-index: 5;
}
@media (min-width: 1024px) {
  .hero-form { justify-self: end !important; max-width: 460px !important; width: 100% !important; }
}
.hero-form::before, .hero-form::after {
  content: ''; position: absolute;
  width: 14px; height: 14px;
  border: 1px solid var(--or);
  pointer-events: none;
}
.hero-form::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.hero-form::after  { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.hero-form-eyebrow {
  font-size: 10px; letter-spacing: 3px;
  color: var(--or-deep); text-transform: uppercase; font-weight: 700;
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 14px;
}
.hero-form-eyebrow .live-dot {
  width: 6px; height: 6px; border-radius: 999px;
  background: #4ADE80; box-shadow: 0 0 8px #4ADE80;
}
.hero-form h3 {
  font-family: var(--serif) !important; font-weight: 500 !important;
  font-size: 30px; line-height: 1.15; color: var(--noir) !important;
  margin: 0 0 6px; letter-spacing: -0.5px;
}
.hero-form h3 em { font-style: italic; color: var(--or-deep) !important; }
.hero-form .sub {
  font-size: 13px; color: var(--pierre);
  margin-bottom: 22px; line-height: 1.5;
}

.hero-form .field-group { display: flex; flex-direction: column; gap: 14px; }
.hero-form .field { display: flex; flex-direction: column; gap: 7px; }
.hero-form .field-label {
  font-size: 10px; letter-spacing: 2px;
  color: var(--pierre); text-transform: uppercase; font-weight: 600;
}
.hero-form .field-input {
  padding: 13px 0; border: none;
  border-bottom: 1px solid var(--line);
  background: transparent;
  font: 15px inherit; color: var(--noir);
  transition: border 0.2s;
  width: 100%;
  font-family: inherit;
}
.hero-form .field-input::placeholder { color: var(--pierre); opacity: 0.55; }
.hero-form .field-input:focus { outline: none; border-bottom-color: var(--or); }

.hero-form .field-pills {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.hero-form .field-pill {
  padding: 10px 6px;
  background: transparent;
  border: 1px solid var(--line);
  font-size: 12px; color: var(--noir); font-weight: 500;
  text-align: center;
  transition: all 0.15s;
  letter-spacing: 0.3px;
  cursor: pointer;
  font-family: inherit;
  border-radius: 0 !important;
}
.hero-form .field-pill:hover { border-color: var(--or); }
.hero-form .field-pill.active {
  background: var(--noir); color: var(--ivoire); border-color: var(--noir);
}

.hero-form .form-cta {
  width: 100%; margin-top: 22px;
  padding: 16px;
  background: var(--terracotta);
  color: #fff; font: 600 14px inherit;
  letter-spacing: 1.5px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  transition: background 0.2s;
  cursor: pointer;
  border: none; border-radius: 0;
}
.hero-form .form-cta:hover { background: var(--terracotta-deep); }

.hero-form .form-trust {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 18px; padding-top: 16px;
  border-top: 1px solid var(--line-soft, rgba(20,17,13,0.06));
  font-size: 10px; color: var(--pierre);
  letter-spacing: 0.8px;
  flex-wrap: wrap; gap: 8px;
}
.hero-form .form-trust strong { color: var(--or-deep); font-weight: 700; }

/* MOBILE hero luxe — H1 dominant, form compact */
@media (max-width: 1023px) {
  body section.hero, body .hero {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    padding: 90px 18px 40px !important;
    gap: 28px !important;
    min-height: auto !important;
    height: auto !important;
  }
  body .hero-bg, body section.hero::before, body section.hero::after,
  body .hero::before, body .hero::after {
    height: 100% !important;
  }
  /* Overlay TRÈS sombre côté gauche-haut pour H1 */
  body section.hero::after, body .hero::after {
    background: linear-gradient(180deg,
      rgba(20,17,13,0.78) 0%,
      rgba(20,17,13,0.55) 35%,
      rgba(20,17,13,0.40) 70%,
      rgba(20,17,13,0.30) 100%) !important;
  }
  .hero-content {
    width: 100% !important;
    max-width: 100% !important;
    text-align: left !important;
    padding: 0 !important;
    flex: 0 0 auto !important;
    order: 1 !important;
    position: relative !important;
    z-index: 3 !important;
  }
  body section.hero h1, body .hero h1 {
    font-size: clamp(34px, 8.5vw, 48px) !important;
    line-height: 1.05 !important;
    letter-spacing: -0.5px !important;
    margin: 0 0 14px !important;
    color: #FFFFFF !important;
    font-weight: 500 !important;
    text-shadow:
      0 2px 12px rgba(0,0,0,0.95),
      0 1px 3px rgba(0,0,0,1) !important;
  }
  body section.hero h1 em, body .hero h1 em {
    display: inline !important;
    color: #DBC79A !important;
    font-style: italic !important;
    margin-top: 0 !important;
  }
  .hero-eyebrow {
    margin-bottom: 16px !important;
    font-size: 9.5px !important;
  }
  .hero-tagline {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    color: rgba(255,255,255,0.92) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.95) !important;
    margin: 14px 0 0 !important;
  }
  .hero-pills {
    margin: 18px 0 0 !important;
    gap: 6px !important;
  }
  .hero-pill {
    font-size: 11px !important;
    padding: 5px 11px !important;
  }
  .hero-meta { display: none !important; }
  .hero-stats { display: none !important; }
  .hero-float { display: none !important; }
  /* Form en dessous du H1 */
  .hero-form {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    order: 2 !important;
    position: relative !important;
    z-index: 3 !important;
  }
  .hero-form h3 {
    font-size: 22px !important;
    line-height: 1.2 !important;
  }
}

/* Très petits mobiles */
@media (max-width: 380px) {
  body section.hero, body .hero { padding: 80px 16px 32px !important; gap: 22px !important; }
  body section.hero h1, body .hero h1 { font-size: 32px !important; }
}

/* Hidden attribut force */
[hidden] { display: none !important; }
.hero-pills[hidden], .hero-ctas[hidden] { display: none !important; }

/* Header padding pour laisser place top-bar */
header { position: relative; z-index: 90; }


/* ================================================
   PREMIUM POLISH FINITION FINALE
   ================================================ */

/* Hero pills + CTAs masqués proprement */
body .hero-ctas[hidden], body .hero-pills[hidden] { display: none !important; }

/* Hero pills VISIBLES au-dessus du form */
body .hero-pills:not([hidden]) {
  display: flex !important;
  margin: 22px 0 0 !important;
  max-width: 520px;
}

/* Live-bar (bandeau marché) → fond noir luxe + ivoire */
body .live-bar {
  background: var(--noir, #07142A) !important;
  color: var(--ivoire, #F8F4ED) !important;
  border-bottom: 1px solid var(--line-on-dark, rgba(248,244,237,0.14)) !important;
  padding: 9px 32px !important;
  font-size: 11px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
}
body .live-bar * { color: rgba(248,244,237,0.7) !important; }
body .live-bar strong, body .live-bar .pulse { color: var(--or-pale, #DBC79A) !important; }
body .live-bar .live-bar-item { color: rgba(248,244,237,0.7) !important; }

/* Filtres pills hover or-pale */
.chart-btn:hover, [class*="chart-btn"]:not(.chart-btn-active):hover {
  border-color: var(--or-pale) !important;
  color: var(--or-pale) !important;
}

/* Trust mention bas page : Données officielles */
.market-stats .market-stat,
section#marche .market-stat {
  background: rgba(248,244,237,0.04) !important;
  border: 1px solid rgba(248,244,237,0.10) !important;
  border-radius: 2px !important;
  padding: 24px 20px !important;
}

/* Boutons toggle mc-grid : cohérence luxe */
#mc-toggle-btn, [class*="mc-toggle"] {
  background: transparent !important;
  border: 1px solid rgba(184,153,104,0.35) !important;
  color: var(--or-pale) !important;
  border-radius: 2px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  font-size: 12px !important;
  padding: 13px 28px !important;
  font-weight: 500 !important;
}
#mc-toggle-btn:hover { border-color: var(--or) !important; color: var(--or) !important; }

/* Form principal : étape suivant terracotta */
.est-btn-next, .est-step button[data-step] {
  border-radius: 2px !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
}

/* Cards form étape 1 / 2 / 3 / 4 : hover or */
.est-type-card:hover, .est-projet-card:hover, .est-delai-card:hover, .est-etat-card:hover {
  border-color: var(--or) !important;
}

/* Geoloc bouton du form principal : couleur or-deep luxe */
#geolocBtn { background: var(--or-deep, #8B6F3F) !important; }

/* DVF page : marker user pulsation */
.dvf-pin { animation: dvf-pulse 2s infinite; }
@keyframes dvf-pulse {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 0.7; }
}

/* Sticky mobile bar : couleurs luxe */
@media (max-width: 768px) {
  body .sticky-mobile-cta {
    background: var(--noir, #07142A) !important;
    border-top: 1px solid var(--line-on-dark, rgba(248,244,237,0.14)) !important;
  }
  body .sticky-mobile-cta a, body .sticky-mobile-cta button { color: var(--ivoire, #F8F4ED) !important; }
}

/* ══════════════════════════════════════════
   CHARTE GLOBALE V3 — PROMPT FINAL COMPLET
   ══════════════════════════════════════════ */

/* ─── Boutons flottants ─── */
.fab-chat, .chatbot-toggle, #chatbot-btn,
.chat-bubble-btn, [class*="chat-fab"], #chatBtn {
  background: #0E4F8C !important;
  color: #FFD166 !important;
}
.fab-wa, .wa-float, a[href*="whatsapp"], a[href*="wa.me"] {
  background: #25D366 !important;
  color: #fff !important;
}
.sticky-mobile-estimer { background: #2B9FFF !important; color: #fff !important; }
.sticky-mobile-wa      { background: #25D366 !important; color: #fff !important; }
.sticky-mobile-tel     { background: #0E4F8C !important; color: #fff !important; }

/* ─── Testimonials : cards blanches lisibles ─── */
.tc, .testi-card, .testimonial-card, .review-card {
  background: #fff !important;
  border: 1px solid rgba(7,20,42,.07) !important;
  border-radius: 14px !important;
}
.tc-stars, .testi-stars, [class*="stars"] { color: #F0A500 !important; }
.tc-who, .testi-author, .testi-name { color: #07142A !important; font-weight: 700 !important; }
.tc-q, .testi-text, .testi-body { color: #3A5068 !important; line-height: 1.70 !important; }
.tc-meta, .testi-info { color: #7B93AA !important; }

/* ─── FAQ ─── */
.fq-btn, .faq-question, .faq-q { color: #07142A !important; font-weight: 700 !important; }
.fq-btn:hover, .faq-q:hover { color: #2B9FFF !important; }
.fq.open .fq-ic, .faq-item.open .faq-icon, .faq-item.open .faq-arrow {
  background: #2B9FFF !important;
  border-color: #2B9FFF !important;
  color: #fff !important;
  transform: rotate(45deg) !important;
}
.fq-a, .faq-answer, .faq-a { color: #7B93AA !important; line-height: 1.80 !important; }

/* ─── Simulateur ─── */
.simulateur-wrap, #simulateur, [class*="simulateur"],
.simulator-page, [class*="simulator-wrap"] {
  background: #F5F8FC !important;
}
.simu-panel, .simu-form, [class*="simu-panel"],
.simulator-inputs, .rental-sim-wrap, .si-card {
  background: #fff !important;
  border: 1px solid rgba(7,20,42,.07) !important;
  border-radius: 14px !important;
  padding: 32px !important;
}
.simu-result-n, [class*="result-value"] {
  color: #2B9FFF !important;
  font-size: 36px !important;
  font-weight: 800 !important;
}
label, .form-label, [class*="input-label"], .simu-label {
  color: #07142A !important;
}

/* ─── DVF : filtres bleus ─── */
.dvf-arr-btn, .arr-filter-btn, [class*="dvf-filter"] {
  border-radius: 100px !important;
  border: 1.5px solid rgba(7,20,42,.12) !important;
  background: #fff !important;
  color: #07142A !important;
}
.dvf-arr-btn.active, [class*="dvf-filter"].active {
  background: #2B9FFF !important;
  color: #fff !important;
  border-color: #2B9FFF !important;
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
  .split, #estimation {
    grid-template-columns: 1fr !important;
    padding: 70px 28px !important;
    gap: 40px !important;
  }
}
@media (max-width: 768px) {
  .W { padding: 0 22px !important; }
  .nav-links { display: none !important; }
  .he-pills { gap: 6px !important; }
  .he-pill { font-size: 11px !important; padding: 6px 12px !important; }
}
