/* ======================================================
   ESTIMATION IMMOBILIÈRE — eXp Realty
   Reconstruction fidèle de https://phscoevj.gensparkspace.com/
   ====================================================== */

/* ── Variables ── */
:root {
  --bg-dark:      #06090e;
  --bg-mid:       #0c1420;
  --bg-warm:      #2e1a0e;
  --warm-1:       #c97a3a;
  --warm-2:       #f0a85c;
  --warm-3:       #ffd090;
  --accent-rose:  #e8556a;
  --text-white:   #f5f8fa;
  --text-muted:   #a8b4c0;
  --text-light:   #d0dae4;
  --card-bg:      rgba(10, 18, 28, 0.78);
  --card-border:  rgba(255,255,255,0.08);
  --btn-dark:     #0f1520;
  --font:         'Inter', Arial, sans-serif;
  --radius-pill:  999px;
  --radius-card:  28px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-white);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* ======================================================
   HEADER
   ====================================================== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 36px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  height: 26px;
  width: auto;
}

.brand-sep {
  width: 1px;
  height: 20px;
  background: #d4d8dc;
}

.brand-text {
  font-size: 14px;
  font-weight: 600;
  color: #1a1f26;
  letter-spacing: 0.01em;
}

.top-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #e8f7ef;
  color: #146b3a;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  border: 1.5px solid #b2e0c5;
  transition: background 0.2s;
}

.top-cta:hover { background: #d4f0e2; }
.top-cta-icon { font-size: 14px; }

/* ======================================================
   HERO — fond dégradé premium
   ====================================================== */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 54px);
  background:
    radial-gradient(ellipse 60% 55% at 85% 10%,  rgba(210,130,50,0.22) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 15% 80%,  rgba(100,130,180,0.12) 0%, transparent 55%),
    radial-gradient(ellipse 70% 60% at 50% 50%,  rgba(12,20,35,0.95)   0%, transparent 100%),
    linear-gradient(155deg, var(--bg-dark) 0%, #0d1828 45%, var(--bg-warm) 100%);
}

/* Ornement circulaire haut-droite */
.hero-deco-circle {
  position: absolute;
  top: 40px;
  right: 60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(210,130,50,0.18);
  pointer-events: none;
}
.hero-deco-circle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: rgba(210,130,50,0.5);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(210,130,50,0.6);
}

/* Grille interne */
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 40px 100px;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}

/* ======================================================
   HERO GAUCHE
   ====================================================== */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,120,40,0.15);
  border: 1px solid rgba(240,168,92,0.35);
  color: #f5c88a;
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  width: fit-content;
  margin-bottom: 28px;
  letter-spacing: 0.01em;
}
.badge-icon { font-size: 14px; }

/* Titre */
h1 {
  font-size: 72px;
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -2.5px;
  color: var(--text-white);
  margin-bottom: 24px;
}

.title-gradient {
  background: linear-gradient(90deg, var(--warm-2) 0%, var(--accent-rose) 60%, #ff9860 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Texte accroche */
.lead {
  font-size: 19px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 20px;
}

/* Citation */
.signature {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  font-style: italic;
  color: #e8d4c0;
  margin-bottom: 36px;
  list-style: none;
}

.quote-bar {
  display: inline-block;
  width: 4px;
  height: 36px;
  background: linear-gradient(180deg, var(--warm-2), var(--warm-1));
  border-radius: 4px;
  flex-shrink: 0;
}

/* Stats */
.stats {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0 28px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat strong {
  font-size: 34px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1;
}

.stat span {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
}

.stat-sep {
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  margin-right: 28px;
  flex-shrink: 0;
}

/* CTA principal */
.main-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--btn-dark);
  color: var(--text-white);
  font-size: 17px;
  font-weight: 700;
  padding: 20px 34px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.1);
  width: fit-content;
  box-shadow:
    0 8px 30px rgba(0,0,0,0.45),
    0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.18s, box-shadow 0.18s;
}

.main-cta:hover {
  transform: translateY(-2px);
  box-shadow:
    0 14px 40px rgba(0,0,0,0.55),
    0 4px 12px rgba(0,0,0,0.35);
}

.cta-icon { font-size: 18px; }

/* ======================================================
   HERO DROITE — Carte agent
   ====================================================== */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 20px;
}

.agent-card {
  width: 100%;
  max-width: 420px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-card);
  padding: 38px 32px 32px;
  box-shadow:
    0 30px 80px rgba(0,0,0,0.5),
    0 0 0 1px rgba(255,255,255,0.04);
  text-align: center;
}

/* Photo wrapper */
.photo-wrap {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--warm-1) 0%, var(--warm-3) 50%, var(--warm-2) 100%);
  box-shadow: 0 0 28px rgba(210,130,50,0.35);
}

.agent-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
}

/* Badge eXp sur le portrait */
.agent-badge-exp {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 44px;
  height: 44px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.agent-badge-logo {
  width: 28px;
  height: auto;
}

/* Textes agent */
.agent-name {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 8px;
  line-height: 1.1;
}

.agent-job {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.agent-location {
  font-size: 14px;
  color: var(--warm-2);
  font-weight: 600;
  margin-bottom: 12px;
}

.agent-signature {
  font-size: 14px;
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.agent-trust {
  font-size: 14px;
  color: var(--warm-3);
  margin-bottom: 22px;
}

.agent-trust span {
  color: var(--text-muted);
  font-weight: 600;
}

/* Encart estimation */
.estimate-box {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 18px;
  padding: 18px 20px;
  text-align: center;
  position: relative;
}

.estimate-label {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.estimate-amount {
  display: block;
  font-size: 38px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.1;
}

.estimate-icon {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 18px;
}

/* ======================================================
   FOOTER
   ====================================================== */
.footer {
  background: #030508;
  padding: 36px 24px 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  height: 24px;
  width: auto;
  margin: 0 auto 14px;
  /* Forcer blanc si logo sombre */
  filter: brightness(0) invert(1);
}

.footer-copy {
  font-size: 13px;
  color: #7a8b9a;
  margin-bottom: 14px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 13px;
  color: #c0cdd8;
  transition: color 0.2s;
}

.footer-nav a:hover { color: #ffffff; }

/* ======================================================
   RESPONSIVE — Tablette
   ====================================================== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 80px 28px 80px;
  }

  h1 { font-size: 58px; }
}

/* ======================================================
   RESPONSIVE — Mobile
   ====================================================== */
@media (max-width: 768px) {
  .topbar {
    padding: 12px 18px;
    gap: 10px;
  }

  .brand-sep { display: none; }
  .brand-text { font-size: 13px; }

  .top-cta {
    font-size: 12px;
    padding: 8px 14px;
  }

  .hero {
    min-height: auto;
  }

  .hero-deco-circle { display: none; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 50px 20px 60px;
    gap: 40px;
  }

  h1 {
    font-size: 44px;
    letter-spacing: -1.5px;
  }

  .lead { font-size: 17px; }

  .stats {
    gap: 12px;
  }

  .stat-sep { display: none; }

  .stat { padding: 0 20px 0 0; }

  .stat strong { font-size: 28px; }

  .main-cta {
    font-size: 16px;
    padding: 18px 28px;
    width: 100%;
    justify-content: center;
  }

  .hero-right {
    padding-top: 0;
  }

  .agent-card {
    padding: 28px 22px 24px;
  }

  .photo-wrap {
    width: 150px;
    height: 150px;
  }

  .agent-name { font-size: 22px; }
  .estimate-amount { font-size: 30px; }
}

@media (max-width: 480px) {
  h1 { font-size: 36px; }
  .stat strong { font-size: 24px; }
}
