/* ============================================================
   Wi'loc — Site propriétaires · version ÉPURÉE
   Fond blanc, beaucoup d'air, peu de texte.
   Une seule couleur d'accent (psychologique) + neutres froids.
   Newsreader (titres) + DM Sans (texte). Zéro build.
   ============================================================ */

:root {
  /* — Neutres (fond blanc, gris froids — aucun beige) — */
  --bg:        #FFFFFF;
  --bg-alt:    #F6F7F9;   /* gris très clair pour alterner */
  --surface:   #FFFFFF;
  --ink:       #29313C;   /* bleu nuit ardoise — couleur du logo */
  --ink-soft:  #404A57;
  --muted:     #66707C;
  --subtle:    #9AA3AD;
  --line:      #EAEDF0;
  --line-2:    #DBE0E6;

  /* — Identité Wiloc : bleu nuit + or — */
  --accent:    #29313C;   /* navy = action principale (boutons) */
  --accent-dk: #1D242E;   /* navy survol */
  --accent-soft:#EEF0F3;  /* halo navy clair */
  --gold:      #E0B62C;   /* or vif (logo) — fills, étoiles, détails */
  --gold-deep: #9A7B16;   /* or lisible sur blanc — textes/icônes accent */
  --gold-soft: #F7EFD3;   /* or très clair — fonds d'icônes */

  --radius:    20px;
  --radius-sm: 13px;
  --pill:      999px;
  --shadow-sm: 0 1px 2px rgba(41,49,60,.05);
  --shadow:    0 18px 40px -24px rgba(41,49,60,.22);
  --shadow-lg: 0 30px 60px -30px rgba(41,49,60,.28);
  --maxw:      1080px;
  --ease:      cubic-bezier(.22,1,.36,1);

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.018em; line-height: 1.1; margin: 0; }
.serif-it { font-style: italic; color: var(--gold-deep); }
.eyebrow {
  display: inline-block;
  font-size: 12.5px; text-transform: uppercase; letter-spacing: .2em;
  font-weight: 700; color: var(--gold-deep);
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 116px 0; position: relative; }
.section--alt { background: var(--bg-alt); }
.section-head { max-width: 620px; margin: 0 auto 60px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4vw, 44px); margin: 16px 0 0; }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 24px; border-radius: var(--pill); font-weight: 600; font-size: 15.5px;
  border: 1px solid transparent; transition: all .25s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--lg { padding: 17px 30px; font-size: 16.5px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 12px 26px -14px var(--accent); }
.btn--primary:hover { background: var(--accent-dk); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: var(--gold-soft); color: #7d6210; border-color: #efe2b8; }
.btn--light:hover { background: #f2e6c2; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 46px; width: auto; display: block; }
.footer .brand img { height: 44px; }
.nav { display: flex; align-items: center; gap: 30px; }
.navlink { font-size: 15px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.navlink:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.header-phone svg { width: 16px; height: 16px; color: var(--gold-deep); }
.burger { display: none; background: none; border: none; color: var(--ink); padding: 6px; }
.burger svg { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero { padding: 92px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); margin: 22px 0 0; }
.hero-sub { font-size: 19px; color: var(--muted); margin: 24px 0 0; max-width: 460px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 34px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.hero-chips span { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 500; color: var(--ink-soft); }
.hero-chips svg { width: 17px; height: 17px; color: var(--gold-deep); flex-shrink: 0; }

.hero-visual { position: relative; }
.hero-photo {
  position: relative; aspect-ratio: 4/5; border-radius: 26px; overflow: hidden;
  background: linear-gradient(155deg, #fbf4df, #f2f4f7 55%, #eaeef2);
  box-shadow: var(--shadow-lg);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .ph-hint {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 10px; color: var(--gold-deep); opacity: .6; text-align: center; padding: 24px;
}
.hero-photo .ph-hint svg { width: 38px; height: 38px; }
.hero-photo .ph-hint span { font-size: 13px; letter-spacing: .04em; }
.float-card {
  position: absolute; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 15px 18px; box-shadow: var(--shadow);
}
.float-card.rent { right: -14px; top: 30px; }
.float-card .fc-eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--subtle); font-weight: 600; }
.float-card .fc-value { font-family: var(--font-display); font-size: 20px; margin-top: 2px; }
.float-card .fc-sub { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--gold-deep); margin-top: 4px; font-weight: 600; }
.float-card .fc-sub svg { width: 15px; height: 15px; }

/* ---------- Étapes ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { text-align: center; padding: 0 8px; }
.step .num {
  width: 58px; height: 58px; margin: 0 auto 20px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--gold);
  font-family: var(--font-display); font-size: 25px; font-weight: 600;
  box-shadow: 0 10px 24px -12px var(--accent);
}
.step h3 { font-size: 22px; }
.step p { color: var(--muted); margin: 10px 0 0; font-size: 16px; }

/* ---------- Avantages (3 cartes) ---------- */
.tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tcard {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 30px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.tcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.tcard .ic {
  width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--gold-soft); color: var(--gold-deep); margin-bottom: 20px;
}
.tcard .ic svg { width: 26px; height: 26px; }
.tcard h3 { font-size: 21px; }
.tcard p { color: var(--muted); margin: 10px 0 0; font-size: 15.5px; }

/* ---------- Citation unique ---------- */
.quote { max-width: 760px; margin: 0 auto; text-align: center; }
.quote .stars { display: inline-flex; gap: 4px; color: var(--gold); margin-bottom: 22px; }
.quote .stars svg { width: 19px; height: 19px; }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-size: clamp(23px, 3vw, 31px);
  line-height: 1.35; letter-spacing: -.01em;
}
.quote .who { margin-top: 26px; font-size: 15px; color: var(--muted); }
.quote .who strong { color: var(--ink); font-weight: 600; }

/* ---------- Galerie « Nos appartements » ---------- */
.bien-group + .bien-group { margin-top: 46px; }
.bien-name {
  font-family: var(--display); font-size: 24px; margin-bottom: 18px;
  position: relative; padding-left: 15px;
}
.bien-name::before {
  content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px;
  background: var(--gold); border-radius: 2px;
}
.biens-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.bphoto { position: relative; aspect-ratio: 4/3; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--bg-alt); }
.bphoto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.bphoto:hover img { transform: scale(1.05); }
.bphoto figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(41,49,60,.82); color: #fff; font-size: 12.5px; font-weight: 600;
  padding: 5px 12px; border-radius: var(--pill); backdrop-filter: blur(4px);
}
.biens-note { text-align: center; margin-top: 40px; color: var(--muted); font-family: var(--display); font-style: italic; font-size: 18px; }

/* ---------- Page Mentions légales ---------- */
.legal { max-width: 760px; margin: 0 auto; }
.legal .back { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); font-weight: 600; font-size: 14.5px; margin-bottom: 28px; }
.legal .back svg { width: 17px; height: 17px; }
.legal .back:hover { color: var(--gold-deep); }
.legal h1 { font-size: clamp(30px, 4vw, 42px); }
.legal .updated { color: var(--subtle); font-size: 13.5px; margin: 8px 0 34px; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; }
.legal p { color: var(--muted); margin: 0 0 10px; }
.legal a { color: var(--gold-deep); }
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 740px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  font-family: var(--font-display); font-size: 19px; color: var(--ink);
}
.faq-q .chev { color: var(--gold-deep); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-q .chev svg { width: 22px; height: 22px; }
.faq-item.open .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a-inner { padding: 0 0 24px; color: var(--muted); font-size: 16px; max-width: 92%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 56px; align-items: start; }
.contact-copy h2 { font-size: clamp(28px, 3.6vw, 40px); margin: 16px 0 0; }
.contact-copy .lead { color: var(--muted); margin: 18px 0 0; font-size: 18px; }
.contact-points { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 13px; }
.contact-points li { display: flex; align-items: center; gap: 11px; font-weight: 500; font-size: 15.5px; }
.contact-points svg { width: 19px; height: 19px; color: var(--gold-deep); flex-shrink: 0; }
.contact-alt { display: flex; flex-wrap: wrap; gap: 12px; }

.form-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  padding: 36px 34px; box-shadow: var(--shadow);
}
.form-card h3 { font-size: 24px; }
.form-card .fc-sub { color: var(--muted); margin: 6px 0 24px; font-size: 15px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line-2); border-radius: 12px;
  font-family: inherit; font-size: 15.5px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--subtle); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}
.field textarea { min-height: 96px; resize: vertical; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-consent { font-size: 12.5px; color: var(--subtle); margin: 4px 0 18px; line-height: 1.5; }
.form-msg { margin-top: 14px; font-size: 14px; text-align: center; }
.form-msg.error { color: #c0392b; }
.form-success { display: none; text-align: center; padding: 20px 8px; }
.form-success.show { display: block; }
.form-success .sic {
  width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--gold-soft); color: var(--gold-deep); display: flex; align-items: center; justify-content: center;
}
.form-success .sic svg { width: 30px; height: 30px; }
.form-success h3 { font-size: 23px; }
.form-success p { color: var(--muted); margin: 8px 0 0; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #C3CDD4; padding: 56px 0 30px; }
.footer .brand { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.footer-about { max-width: 340px; font-size: 14.5px; margin: 14px 0 0; color: #9CA9B2; line-height: 1.6; }
.footer-contact { display: grid; gap: 10px; font-size: 14.5px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact svg { width: 16px; height: 16px; color: var(--gold); }
.footer-bottom {
  margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  font-size: 13px; color: #8694A0;
}

/* ---------- Barre CTA mobile ---------- */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: none; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
}
.mobile-cta .btn { flex: 1; }

/* ---------- Révélation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .burger { display: block; }
  /* Menu mobile : le #nav devient un panneau déroulant */
  .nav {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 10px 0;
  }
  .nav.open { display: flex; }
  .nav .navlink { padding: 13px 28px; }
  .header-cta { flex-direction: column; align-items: stretch; gap: 10px; padding: 10px 18px 6px; }
  .header-cta .btn { width: 100%; }

  .hero-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; max-width: 420px; }
  .steps, .tri { grid-template-columns: 1fr; gap: 18px; }
  .biens-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .section { padding: 80px 0; }
  .hero { padding: 56px 0 70px; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 76px; }
  .float-card.rent { right: 8px; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 28px 22px; }
  .footer-bottom { flex-direction: column; }
}
