/* =========================================================================
   futur-appart.com — vitrine statique
   Charte : violet #6d28d9, fond slate, Plus Jakarta Sans, sobre (Linear/Attio).
   Un seul accent : le violet. Pas de seconde couleur d'accent.
   ========================================================================= */

:root {
  --primary:      #6d28d9;
  --primary-700:  #5b21b6;
  --primary-300:  #c4b5fd;
  --primary-50:   #f5f3ff;

  --slate-bg:     #f8fafc;
  --surface:      #ffffff;
  --border:       #e7e9ee;

  --text:         #1e2330;
  --text-soft:    #5b6271;
  --text-muted:   #8b91a1;

  --radius:       14px;
  --radius-sm:    10px;
  --shadow-sm:    0 1px 2px rgba(16,24,40,.06), 0 1px 3px rgba(16,24,40,.05);
  --shadow-md:    0 8px 24px rgba(16,24,40,.08);
  --shadow-lg:    0 24px 60px rgba(76,29,149,.14);

  --maxw:         1120px;
  --base:         13.5px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: var(--base);
  line-height: 1.6;
  color: var(--text);
  background: var(--slate-bg);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 { font-weight: 700; letter-spacing: -.02em; line-height: 1.18; margin: 0; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.05rem; font-weight: 600; }
p  { margin: 0; }

.muted { color: var(--text-muted); }
.accent { color: var(--primary); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-50);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------------------------- Buttons ---------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font: inherit; font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 12px 22px; font-size: .98rem; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 18px rgba(109,40,217,.28); }
.btn-primary:hover { background: var(--primary-700); }

.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { background: #fff; box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary-300); }
.btn-outline:hover { background: var(--primary-50); }

.btn-link { background: none; border: none; color: var(--primary); font-weight: 600; cursor: pointer; padding: 0; }

/* ---------------------------- Header ---------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248,250,252,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark-svg { height: 34px; width: auto; display: block; flex: none; overflow: visible; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-word { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; color: #4c1d95; }
.brand-sub { font-weight: 500; font-size: .62rem; letter-spacing: .01em; color: var(--text-muted); margin-top: 3px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--text-soft); font-weight: 500; }
.nav a:hover { color: var(--text); }
.header-inner .btn { margin-left: 8px; }

/* ---------------------------- Hero ---------------------------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% -10%, rgba(109,40,217,.12), transparent 60%),
    radial-gradient(40% 60% at 0% 110%, rgba(109,40,217,.08), transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { margin-bottom: 18px; }
.lead { font-size: 1.08rem; color: var(--text-soft); max-width: 34em; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }

.hero-visual { position: relative; min-height: 280px; display: grid; place-items: center; }
.orb {
  position: absolute; width: 320px; height: 320px; border-radius: 50%;
  background: conic-gradient(from 180deg, var(--primary), #a855f7, var(--primary-300), var(--primary));
  filter: blur(46px); opacity: .55;
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(-8px) scale(1); } 50% { transform: translateY(10px) scale(1.04); } }
.glass-card {
  position: relative;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: var(--shadow-lg);
  border-radius: 18px;
  padding: 18px;
  display: grid; gap: 12px;
  width: min(320px, 90%);
}
.gc-row { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-call  { background: var(--primary); }
.dot-mail  { background: #a855f7; }
.dot-score { background: var(--primary-700); }

/* ---------------------------- Sections ---------------------------- */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { text-align: center; max-width: 36em; margin: 0 auto 44px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--text-soft); }

.grid { display: grid; gap: 18px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

/* Services */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-300); }
.service .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--primary-50); margin-bottom: 14px;
}
.service h3 { margin-bottom: 8px; }
.service p { color: var(--text-soft); }

/* Biens */
.biens-grid { grid-template-columns: repeat(3, 1fr); }
.bien-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.bien-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-300); }
.bien-cover {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block;
  background: var(--primary-50);
}
.bien-cover.placeholder { display: grid; place-items: center; color: var(--primary-300); font-size: 2rem; }
.bien-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bien-loc { font-size: .82rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.bien-titre { font-weight: 600; font-size: 1rem; line-height: 1.35; }
.bien-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
  font-size: .78rem; font-weight: 600; color: var(--primary-700);
  background: var(--primary-50); padding: 3px 9px; border-radius: 999px;
}
.bien-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 8px; }
.bien-prix { font-weight: 700; font-size: 1.1rem; }
.bien-prix small { font-weight: 500; color: var(--text-muted); font-size: .76rem; }

.biens-state { text-align: center; color: var(--text-muted); padding: 24px 0; }
.biens-state.error { color: var(--primary-700); }
.biens-state.hidden { display: none; }

/* Header CTA group + hero note */
.header-cta { display: flex; align-items: center; gap: 8px; margin-left: 8px; }
.hero-note { margin-top: 14px; font-size: .85rem; }

/* ---- Abonnement / Tarifs ---- */
.plans-grid { grid-template-columns: repeat(3, 1fr); align-items: start; }
.plan { display: flex; flex-direction: column; position: relative; }
.plan-name { font-size: 1.1rem; margin-bottom: 6px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; margin: 4px 0 2px; }
.plan-price .amount { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; }
.plan-price .per { color: var(--text-muted); font-weight: 600; font-size: .85rem; }
.plan-tag { margin-bottom: 16px; font-size: .88rem; }
.plan-feats { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 9px; flex: 1; }
.plan-feats li { position: relative; padding-left: 22px; color: var(--text-soft); }
.plan-feats li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--primary); font-weight: 800;
}
.plan-cta { width: 100%; }
.plan-featured {
  border-color: var(--primary); box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.plan-badge {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .03em;
  padding: 4px 12px; border-radius: 999px; white-space: nowrap;
}
.plans-foot { text-align: center; margin-top: 26px; font-size: .85rem; }
.plans-foot p { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.btn-sm { padding: 4px 14px; font-size: .82rem; }

/* ---- Pros : cartes d'aiguillage ---- */
.pros-grid { grid-template-columns: repeat(2, 1fr); }
.pro { display: block; }
.pro .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; font-size: 1.25rem;
  background: var(--primary-50); margin-bottom: 14px;
}
.pro h3 { margin-bottom: 8px; }
.pro p { color: var(--text-soft); margin-bottom: 16px; }
.pro:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary-300); }

/* ---- Sections métier (split) ---- */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: center; }
.split-reverse .split-copy { order: 2; }
.split-reverse .split-aside { order: 1; }
.split-copy .eyebrow { margin-bottom: 14px; }
.split-copy h2 { margin-bottom: 12px; }
.split-copy .lead { font-size: 1.02rem; color: var(--text-soft); margin-bottom: 18px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.check-list li { position: relative; padding-left: 26px; color: var(--text-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary-50); color: var(--primary);
  display: grid; place-items: center; font-size: .72rem; font-weight: 800;
}
.split-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.price-mini h4 { font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.price-mini-list { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.price-mini-list li {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.price-mini-list li:last-child { border-bottom: none; padding-bottom: 0; }
.price-mini-list span { color: var(--text-soft); font-weight: 600; }
.price-mini-list strong { font-size: 1.1rem; font-weight: 800; }
.price-mini-list small { font-weight: 500; color: var(--text-muted); font-size: .72rem; margin-left: 3px; }

/* ---------------------------- Footer ---------------------------- */
.site-footer {
  background:
    radial-gradient(60% 120% at 0% 0%, rgba(124,58,237,.22), transparent 55%),
    #15131f;
  color: rgba(255,255,255,.72);
  padding: 56px 0 26px;
  margin-top: 8px;
}
.site-footer .muted { color: rgba(255,255,255,.5); }

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
}

.footer-about { max-width: 30em; }
.footer-brand { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.footer-brand .brand-mark-svg { height: 30px; }
.footer-brand .brand-word { color: #fff; }
.footer-pitch { color: rgba(255,255,255,.66); margin-bottom: 18px; }

.footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-contact li { display: flex; align-items: center; gap: 9px; font-size: .9rem; }
.footer-contact a { color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: #fff; }

.footer-col h4 {
  color: #fff; font-size: .82rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col a {
  display: block; color: rgba(255,255,255,.66);
  font-weight: 500; font-size: .92rem; padding: 5px 0;
  transition: color .15s ease, transform .15s ease;
}
.footer-col a:hover { color: #fff; transform: translateX(2px); }

.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}

/* ---------------------------- Pilliers ----------------------------- */
.pillars { padding: 24px 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pillar { display: flex; align-items: flex-start; gap: 14px; padding: 18px 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.pillar-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--primary-50); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.pillar strong { display: block; font-weight: 700; font-size: .96rem; margin-bottom: 4px; }
.pillar p { font-size: .84rem; margin: 0; }

/* ---------------------------- Offres (deux formules) --------------- */
.offres-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.offre { display: flex; flex-direction: column; position: relative; padding: 28px; }
.offre-featured { border-color: var(--primary); box-shadow: var(--shadow-lg); }
.offre-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.offre-icon { font-size: 1.6rem; width: 52px; height: 52px; border-radius: 14px; background: var(--primary-50); display: grid; place-items: center; flex: none; }
.offre-name { font-size: 1.18rem; font-weight: 800; margin: 0 0 3px; }
.offre-sub  { font-size: .84rem; color: var(--text-muted); font-weight: 600; margin: 0; }
.offre-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 18px; }
.offre-price .amount { font-size: 2.2rem; font-weight: 800; letter-spacing: -.025em; color: var(--primary); }
.offre-price .per { color: var(--text-muted); font-weight: 600; font-size: .85rem; }
.offre-feats { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 10px; flex: 1; }
.offre-feats li { position: relative; padding-left: 20px; color: var(--text-soft); font-size: .88rem; line-height: 1.5; }
.offre-feats li::before { content: "→"; position: absolute; left: 0; top: 0; color: var(--primary); font-weight: 700; font-size: .78rem; line-height: 1.8; }
.offre-feat-king { background: var(--primary-50); border: 1px solid var(--primary-300); border-radius: 10px; padding: 12px 14px; padding-left: 32px !important; font-size: .88rem; line-height: 1.55; color: var(--text) !important; }
.offre-feat-king strong { color: var(--primary-700); }

/* ---------------------------- Responsive ---------------------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 200px; }
  .services-grid, .biens-grid { grid-template-columns: repeat(2, 1fr); }
  .plans-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-featured { transform: none; }
  .offres-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split-reverse .split-copy { order: 1; }
  .split-reverse .split-aside { order: 2; }
  .nav { display: none; }
  .header-cta #cta-login-top { display: none; }
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .services-grid, .biens-grid, .pros-grid { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; }
  .section { padding: 52px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
