/* =========================================================
   NEOFLOW AGENCY — Cinétique v2
   Brand monochrome (noir/blanc) + bleu pour /immobilier
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  cursor: auto;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; background: none; border: 0; outline: 0; }

/* ---------- Theme tokens — brand monochrome ---------- */
:root {
  --bg:        #f8f8f6;
  --bg-2:      #f0f0ee;
  --bg-3:      #e4e4e2;
  --fg:        #0a0a0a;
  --fg-2:      rgba(10, 10, 10, 0.66);
  --fg-3:      rgba(10, 10, 10, 0.40);
  --hair:      rgba(10, 10, 10, 0.12);
  --hair-2:    rgba(10, 10, 10, 0.24);
  --accent:    #1A7A72;
  --accent-fg: #ffffff;
  --brand:     #1A7A72;
  --field-bg:  rgba(10, 10, 10, 0.03);
  --field-bd:  rgba(10, 10, 10, 0.22);
  --logo-src:  url("../assets/logo-noir.png");
}

/* Immo sub-brand: blue gradient (logo_bleu) */
[data-page="immo"] {
  --immo-1: #403edb;
  --immo-2: #2a29a8;
  --immo-3: #101162;
  --accent: #2a29a8;
  --accent-fg: #ffffff;
  --logo-src: url("../assets/logo-bleu.png");
}

/* ---------- Typography ---------- */
em { font-style: italic; color: inherit; }
.mono {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-2);
}
::selection { background: var(--accent); color: var(--accent-fg); }

/* ---------- Layout ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 48px; position: relative; }
@media (max-width: 900px) { .wrap { padding: 0 24px; } }

/* ---------- Signature — corner coordinate labels (style Édition) ---------- */
.signature {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.g-mark {
  position: fixed;
  font-family: "JetBrains Mono", monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 4px 6px;
}
.g-tl { top: 80px; left: 24px; }
.g-tr { top: 80px; right: 24px; }
.g-bl { bottom: 40px; left: 24px; }
.g-br { bottom: 40px; right: 24px; }
@media (max-width: 640px) { .signature { display: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; transform: none; transition: opacity 0.9s cubic-bezier(.2,.7,.2,1), transform 0.9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-pending { opacity: 0; transform: translateY(28px); }
.reveal.is-pending.in, .reveal.in { opacity: 1; transform: none; }

/* ---------- RevealText ---------- */
.rt { display: inline; }
.rt-word { display: inline-block; overflow: visible; vertical-align: bottom; line-height: inherit; padding-bottom: 0.05em; }
.rt-inner { display: inline-block; will-change: transform, opacity; }
.rt-anim { animation: rtIn 0.85s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rtIn {
  from { transform: translateY(110%); opacity: 0; }
  to   { transform: none;             opacity: 1; }
}

/* ---------- RotatingWord — bold slot machine, big movement ---------- */
.rotw {
  position: relative;
  display: inline-block;
  vertical-align: baseline;
  height: 1em;
  transition: width 0.55s cubic-bezier(.2,.7,.2,1);
  color: var(--accent-fg);
  font-family: "DM Sans", sans-serif;
  font-weight: 600;
  font-style: italic;
}
.rotw-measure {
  position: absolute; visibility: hidden; pointer-events: none;
  display: inline-flex; gap: 24px; white-space: nowrap;
  font-family: inherit; font-style: inherit; font-weight: inherit;
}
.rotw-item {
  position: absolute; top: 0; left: 0;
  white-space: nowrap;
  clip-path: inset(-12px 110% -12px -8px);
  transition: clip-path 0.48s cubic-bezier(.65,0,.35,1);
}
.rotw-item.is-current {
  clip-path: inset(-12px -8px -12px -8px);
}
.rotw-item.is-prev {
  clip-path: inset(-12px -8px -12px 110%);
}

.rotw-slot {
  position: relative;
  display: inline-block;
  padding: 0.04em 0.2em 0.08em;
  background: var(--brand);
  border-radius: 6px;
}
.rotw-underline { display: none; }

/* ---------- Marquee ---------- */
.marquee-divider { position: relative; }

/* Fondu Stripe — masque gauche/droite */
.marquee-divider::before,
.marquee-divider::after {
  content: ""; position: absolute; top: 0; bottom: 0;
  width: 100px; z-index: 2; pointer-events: none;
}
.marquee-divider::before { left: 0;  background: linear-gradient(to right, var(--fg) 30%, transparent); }
.marquee-divider::after  { right: 0; background: linear-gradient(to left,  var(--fg) 30%, transparent); }

.marquee {
  overflow: hidden;
  width: 100%;
  padding: 18px 0;
  position: relative;
  z-index: 1;
  background: var(--fg);
  color: var(--bg);
}
.marquee-track {
  display: flex; width: max-content;
  animation: mq linear infinite;
  animation-duration: 55s;
}
.marquee[data-reverse="true"] .marquee-track { animation-direction: reverse; }
.marquee-content {
  display: flex; gap: 48px;
  padding-right: 48px;
  font-family: "DM Sans", sans-serif;
  font-size: 15px;
  letter-spacing: 0.01em;
  font-weight: 400;
  white-space: nowrap;
}
.mq-item { display: inline-flex; align-items: center; gap: 20px; white-space: nowrap; }
.mq-dot { color: var(--accent); font-size: 10px; font-style: normal; opacity: 0.7; }
@keyframes mq { from { transform: translateX(0); } to { transform: translateX(-25%); } }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0; z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  border-bottom: 1px solid transparent;
  transition: padding 0.4s, border-color 0.4s, background 0.5s;
}
.nav.is-scrolled { padding: 12px 0; border-bottom-color: var(--hair); }

/* Barre de progression scroll */
.nav::before {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: var(--scroll-pct, 0%);
  background: var(--brand);
  transition: width 0.1s linear;
  z-index: 1;
}

/* Section active dans la nav */
.nav-section-label {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -22px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--brand);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}
.nav.is-scrolled .nav-section-label { opacity: 1; }

/* Nav adaptée aux sections sombres */
.nav.is-dark {
  background: color-mix(in oklab, #0e0e0c 88%, transparent);
  --fg: #f0f0ee;
  --fg-2: rgba(240,240,238,0.6);
  --hair: rgba(240,240,238,0.1);
}
.nav.is-dark .nav-cta { background: #f0f0ee; color: #0e0e0c; }
.nav.is-dark .logo-img { background-image: url("../assets/logo-blanc.png"); }
.nav-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.nav-links { display: flex; gap: 28px; justify-content: center; }
@media (max-width: 880px) { .nav-links { display: none; } }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px;
  height: 1.5px; background: var(--brand);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--brand); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; gap: 12px; justify-content: flex-end; align-items: center; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px 12px 22px;
  background: var(--fg);
  color: var(--bg);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s, color 0.3s;
}
.nav-cta:hover { transform: translateY(-2px); }

/* ---------- Logo (image-based) ---------- */
.logo {
  display: inline-flex; align-items: center;
  color: var(--fg);
}
.logo-mark {
  display: inline-flex;
  width: 160px; height: 44px;
}
.logo-img {
  width: 100%; height: 100%;
  background: var(--logo-src) left center / contain no-repeat;
}
.logo-sm .logo-mark { width: 130px; height: 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  border-radius: 99px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform 0.3s cubic-bezier(.2,.7,.2,1), background 0.3s, color 0.3s, border-color 0.3s;
}
.btn-primary { background: var(--fg); color: var(--bg); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--hair-2); color: var(--fg); }
.btn-ghost:hover { border-color: var(--fg); transform: translateY(-2px); }
.btn.big { padding: 20px 30px; font-size: 15px; }
.btn[disabled] { opacity: 0.7; pointer-events: none; }

/* ---------- Page shell ---------- */
.page-shell { position: relative; z-index: 1; }

/* =========================================================
   HERO — clean, balanced
   ========================================================= */
.hero {
  position: relative;
  padding: 10vh 0 16vh;
  overflow: hidden;
}
.hero-grain {
  display: block;
  position: absolute;
  inset: -30%;
  width: 160%; height: 160%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grain-shift 0.9s steps(2) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0,0); }
  25%  { transform: translate(-5px,-7px); }
  50%  { transform: translate(7px,-3px); }
  75%  { transform: translate(-3px,7px); }
}
.hero-inner { position: relative; z-index: 2; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 16px;
  border: 1px solid var(--hair-2);
  border-radius: 99px;
  margin-bottom: 40px;
  font-weight: 500;
  font-size: 13px;
  color: var(--fg-2);
}
.hero-tag .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero-h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 6.2vw, 100px);
  line-height: 1.06;
  letter-spacing: -0.04em;
  margin-bottom: 56px;
}
.hero-h1 .line { display: block; }
.hero-h1 em, .hero-h1 .line-italic em {
  font-style: italic;
  font-weight: 500;
}
.hero-h1 .rt-tail { padding-right: 0.18em; }
.hero-h1 .period { color: var(--fg); }

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 680px;
}
.hero-lede {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
  max-width: 52ch;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
@media (max-width: 600px) { .hero-meta { gap: 24px; } }

.hero-floor {
  margin-top: 11vh;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  position: relative;
  z-index: 3;
  background: var(--bg);
}
@media (max-width: 700px) { .hero-floor { grid-template-columns: 1fr 1fr; } }
.hero-floor span { font-size: 12px; }

.hero-flow {
  display: block;
  position: absolute;
  top: 0; right: 0;
  width: 68%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
/* Fondu bas : les rubans disparaissent avant la barre de stats */
.hero-flow::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  z-index: 2;
  background: linear-gradient(to bottom, transparent 0%, var(--bg) 52%, var(--bg) 100%);
  pointer-events: none;
}
.hero-flow-canvas {
  display: block;
  width: 100%; height: 100%;
  filter: blur(1.5px);
}
.hero-flow-video {
  display: block;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.88;
}


/* Masque gauche : fondu vers l'arrière-plan */
.hero-flow::before {
  content: ""; position: absolute;
  inset: 0; z-index: 1;
  background: linear-gradient(to right, var(--bg) 0%, transparent 28%);
  pointer-events: none;
}

@media (max-width: 900px) { .hero-flow { display: none; } }

.hero-disc {
  display: none;
  position: absolute;
  right: -620px;
  top: 30%;
  transform: translateY(-50%);
  width: 1100px; height: 1100px;
  pointer-events: none;
  z-index: 0;
}
.hero-disc svg { width: 100%; height: 100%; overflow: visible; }
.hero-disc-ring-dots {
  transform-origin: 450px 450px;
  animation: disc-spin 22s linear infinite;
}
@keyframes disc-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (max-width: 900px)  { .hero-disc { display: none; } }

/* =========================================================
   Section heads
   ========================================================= */
.section-head { margin-bottom: 56px; }
.section-n {
  margin-bottom: 20px;
  display: inline-flex; align-items: center; gap: 14px;
  font-weight: 600;
  color: var(--brand);
}
.section-n::before {
  content: ""; width: 24px; height: 1.5px; background: var(--brand);
}
.section-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(36px, 5.5vw, 80px);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 22ch;
}
.section-title em {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1em;
  letter-spacing: -0.02em;
}
.section-title-lg { font-size: clamp(44px, 7vw, 108px); max-width: 18ch; }

/* =========================================================
   Services
   ========================================================= */
.services { padding: 12vh 0; }
.services-grid {
  display: flex;
  gap: 2px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  margin: 0 -48px;
  padding: 0 48px;
}
.services-grid::-webkit-scrollbar { display: none; }
@media (max-width: 900px) {
  .services-grid { flex-direction: column; overflow-x: visible; margin: 0; padding: 0; }
}
.service {
  flex: 0 0 min(440px, 78vw);
  scroll-snap-align: start;
  padding: 40px 36px 44px;
  background: transparent;
  border-left: 1px solid var(--hair-2);
  display: flex; flex-direction: column; gap: 20px;
  transition: background 0.35s, color 0.35s;
  cursor: default;
}
.service:first-child { border-left: none; }
.service:hover {
  background: #0e0e0c;
  color: #f0f0ee;
}
.service:hover .service-body, .service:hover .service-tags, .service:hover .mono { color: rgba(240,240,238,0.65); }
.service-top { display: flex; align-items: center; gap: 16px; }
.service-top .line-h { flex: 1; height: 1px; background: currentColor; opacity: 0.25; }
.service-verb {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.03em;
}
.service-body { color: var(--fg-2); font-size: 15px; line-height: 1.55; }
.service-tags {
  list-style: none;
  display: flex; flex-direction: column; gap: 4px;
  color: var(--fg-2);
  font-size: 13.5px;
  margin-top: 8px;
}
.services-foot {
  margin-top: 56px;
  text-align: center;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 38ch;
  margin-left: auto; margin-right: auto;
  color: var(--fg);
}
.services-foot em { font-weight: 500; }

/* =========================================================
   Process
   ========================================================= */
.process { padding: 12vh 0; background: var(--bg); }
.process-list { list-style: none; }
.step {
  display: grid;
  grid-template-columns: 80px 1fr 160px;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--hair-2);
  position: relative;
  transition: padding-left 0.4s;
}
.step:last-child { border-bottom: 1px solid var(--hair-2); }
.step:hover { padding-left: 20px; }
@media (max-width: 800px) { .step { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; } }
.step-num {
  font-family: "DM Sans", sans-serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--fg);
  text-transform: none;
  letter-spacing: -0.03em;
}
.step-title {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.step-body p { color: var(--fg-2); font-size: 15.5px; line-height: 1.6; max-width: 52ch; }
.step-meta { text-align: right; color: var(--fg-2); padding-top: 8px; font-weight: 500; }
@media (max-width: 800px) { .step-meta { text-align: left; } }

/* =========================================================
   Noakim — fixed spacing, no overlap
   ========================================================= */
.noakim { padding: 14vh 0; }
.noakim-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 120px;
  align-items: start;
}
@media (max-width: 1000px) { .noakim-grid { grid-template-columns: 1fr; gap: 48px; } }
.portrait { position: sticky; top: 110px; }
.portrait-frame {
  aspect-ratio: 4/5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
}
.portrait-frame::after { content: none; }
.portrait-caption {
  margin-top: 14px;
  display: flex; justify-content: space-between;
}
.noakim-name {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(40px, 5.5vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.noakim-name em { font-style: italic; font-weight: 500; }
.noakim-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 22px;
  max-width: 56ch;
}
.noakim-body p em { font-weight: 500; }
.noakim-sign {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-style: italic;
  font-size: 22px !important;
  line-height: 1.4 !important;
  color: var(--fg) !important;
}
.noakim-meta {
  margin-top: 40px;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  font-size: 14px;
  color: var(--fg);
}
.noakim-meta .mono { display: inline-block; min-width: 100px; margin-right: 16px; color: var(--fg-3); font-weight: 600; }

/* =========================================================
   About — inverted line order ("L'écart se creuse, à l'ère de l'IA")
   ========================================================= */
/* ── Dark sections ── */
.dark-section {
  background: #0e0e0c;
  color: #f0eee9;
  --fg: #f0eee9;
  --fg-2: rgba(240,238,233,0.65);
  --fg-3: rgba(240,238,233,0.38);
  --hair: rgba(240,238,233,0.10);
  --hair-2: rgba(240,238,233,0.20);
  --field-bg: rgba(240,238,233,0.05);
  --field-bd: rgba(240,238,233,0.20);
  --bg: #0e0e0c;
}
.dark-section .section-n { color: var(--brand); }
.dark-section .section-n::before { background: var(--brand); }
.dark-section .reveal { color: inherit; }

.about { padding: 14vh 0; position: relative; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1180px;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 28px; } }
.about-col p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg);
  margin-bottom: 20px;
  max-width: 48ch;
}
.about-col p em { font-weight: 500; }
.quote {
  margin-top: 96px;
  text-align: center;
  padding: 48px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hair-2);
  border-radius: 16px;
}
.dark-section .quote {
  background: rgba(255,255,255,0.05);
  border-color: rgba(240,240,238,0.12);
}
.dark-section .quote-mark,
.dark-section .quote blockquote p,
.dark-section .quote cite { color: var(--fg); }
.quote-mark {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-size: 100px;
  line-height: 0.6;
  color: var(--fg);
  opacity: 0.18;
  margin-bottom: 8px;
  font-weight: 500;
}
.quote blockquote p {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(28px, 3.8vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  max-width: 22ch;
  margin: 0 auto 20px;
  color: var(--fg);
}
.quote blockquote p em { font-style: italic; font-weight: 500; }
.quote cite {
  font-style: normal;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-2);
}

/* =========================================================
   Immo teaser — dark section, même style que About
   ========================================================= */
.immo-teaser { padding: 14vh 0; }
.immo-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .immo-teaser-inner { grid-template-columns: 1fr; gap: 40px; } }
.immo-teaser-body { font-size: 17px; line-height: 1.6; color: var(--fg-2); margin-bottom: 24px; max-width: 48ch; }

/* Bouton teaser immo — blanc sur fond sombre */
.btn-immo-teaser {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  color: #ffffff;
  border-radius: 99px;
  font-size: 15px;
  font-weight: 500;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-immo-teaser:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(64,62,219,0.45); }

/* Nav — lien NeoFlow Immo (même style que les autres, hover bleu immo) */
.nav-links a.nav-link-immo:hover { color: #403edb; }
.nav-links a.nav-link-immo::after { background: #403edb; }

/* Nav immo — CTA bleu */
.nav-cta-immo {
  background: linear-gradient(135deg, #403edb, #2a29a8) !important;
  color: #ffffff !important;
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { padding: 14vh 0; background: var(--bg); }
.faq-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 32px; } }
.faq-left { position: sticky; top: 110px; }
.faq-aside {
  margin-top: 20px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 32ch;
}
.faq-aside a { color: var(--fg); border-bottom: 1.5px solid var(--fg); padding-bottom: 1px; font-weight: 500; }
.faq-list { list-style: none; border-top: 1px solid var(--hair-2); }
.faq-item { border-bottom: 1px solid var(--hair-2); }
.faq-q {
  display: grid;
  grid-template-columns: 44px 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  width: 100%;
  text-align: left;
  color: var(--fg);
  transition: padding 0.3s;
}
.faq-q:hover { padding-left: 8px; }
.faq-q-num { color: var(--fg-2); font-weight: 600; }
.faq-q-text {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.faq-q-ic {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.4s;
}
.faq-q-ic .vline { transition: transform 0.4s; transform-origin: center; }
.faq-item.is-open .vline { transform: scaleY(0); }
.faq-item.is-open .faq-q-ic { transform: rotate(90deg); }
.faq-a-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s cubic-bezier(.2,.7,.2,1);
}
.faq-item.is-open .faq-a-wrap { grid-template-rows: 1fr; }
.faq-a {
  overflow: hidden;
  color: var(--fg-2);
  font-size: 16px;
  line-height: 1.6;
  max-width: 56ch;
  padding-left: 68px;
}
.faq-item.is-open .faq-a { padding-bottom: 24px; }
@media (max-width: 700px) {
  .faq-q { grid-template-columns: 32px 1fr 28px; gap: 14px; }
  .faq-a { padding-left: 46px; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact { padding: 14vh 0 16vh; }
.contact-head { text-align: center; max-width: 100%; }
.contact-head .section-n { margin: 0 auto 20px; justify-content: center; }
.contact-head .section-title { margin: 0 auto; }
.contact-sub {
  margin-top: 16px;
  font-size: 17px;
  color: var(--fg-2);
}
.contact-tabs {
  display: flex; justify-content: center; gap: 8px;
  margin: 48px 0 32px;
  flex-wrap: wrap;
}
.contact-tab {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 22px;
  border: 1.5px solid var(--hair-2);
  border-radius: 99px;
  background: transparent;
  color: var(--fg);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s;
}
.contact-tab:hover { transform: translateY(-2px); border-color: var(--fg); }
.contact-tab.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.contact-tab.is-active .num { opacity: 0.7; }
.contact-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 48px 56px;
  background: var(--bg-2);
  border-radius: 16px;
}
@media (max-width: 700px) { .contact-card { padding: 28px 24px; } }
.contact-intro {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 19px;
  margin-bottom: 28px;
  color: var(--fg);
}
.contact-foot {
  margin-top: 32px;
  display: flex; justify-content: center; gap: 16px;
  flex-wrap: wrap;
}

/* ── Home contact — 2 cartes CTA ── */
.home-contact-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 16px; margin-bottom: 48px;
}
.home-contact-card {
  padding: 40px 32px;
  border: 1px solid var(--hair);
  border-radius: 14px;
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: border-color 0.2s, transform 0.2s;
}
.home-contact-card:hover { border-color: var(--hair-2); transform: translateY(-2px); }
.home-contact-card-dark {
  background: var(--fg); color: var(--bg);
  border-color: var(--fg);
}
.home-contact-card-dark:hover { border-color: var(--fg); }
.home-contact-card-dark .hcc-num { color: rgba(248,248,246,0.4); }
.home-contact-card-dark p { color: rgba(248,248,246,0.62); }
.hcc-num { font-size: 10px; letter-spacing: 0.1em; color: var(--fg-3); margin-bottom: 20px; }
.home-contact-card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 26px; font-weight: 600;
  margin-bottom: 12px; line-height: 1.2;
}
.home-contact-card p {
  font-size: 14px; line-height: 1.65;
  color: var(--fg-2); margin-bottom: 32px; flex: 1;
}
@media (max-width: 680px) {
  .home-contact-cards { grid-template-columns: 1fr; }
}

/* ---------- Form ---------- */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span {
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-2);
  font-weight: 500;
}
.field span i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.field input, .field textarea, .field select {
  background: var(--bg);
  border: 1.5px solid var(--hair-2);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
  color: var(--fg);
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--fg); }
.field textarea { resize: vertical; min-height: 96px; }
.field select option { background: var(--bg); color: var(--fg); }
.form > .btn { margin-top: 8px; align-self: flex-start; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--fg); color: var(--bg); padding: 72px 0 28px; }
.footer .logo { color: var(--bg); }
[data-theme="light"] .footer { --logo-src: url("../assets/logo-blanc.png"); }
[data-theme="dark"] .footer { --logo-src: url("../assets/logo-noir.png"); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .logo { margin-bottom: 8px; }
.footer-tag {
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: var(--bg); opacity: 0.85;
  max-width: 22ch;
}
.footer-h {
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.55;
  margin-bottom: 4px;
  font-weight: 500;
}
.footer-col a, .footer-col .muted {
  font-size: 14px;
  color: var(--bg);
  opacity: 0.85;
  transition: opacity 0.3s;
}
.footer-col a:hover { opacity: 1; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0.55;
  flex-wrap: wrap;
}
.footer-bottom-right { display: flex; gap: 24px; }

/* =========================================================
   IMMO PAGE — blue gradient sub-brand
   ========================================================= */
.immo-hero {
  padding: 6vh 0 12vh;
  position: relative;
  background:
    radial-gradient(circle at 70% 30%, rgba(64,62,219,0.10), transparent 55%),
    var(--bg);
}
[data-theme="dark"] .immo-hero {
  background:
    radial-gradient(circle at 70% 30%, rgba(90,88,232,0.20), transparent 55%),
    var(--bg);
}
.immo-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 28px; }
.immo-crumbs a:hover { color: var(--accent); }
.immo-hero-stamp {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 16px;
  border: 1px solid var(--hair-2);
  border-radius: 99px;
  margin-bottom: 48px;
  font-weight: 500;
  font-size: 13px;
}
.stamp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  animation: pulse 2.4s ease-in-out infinite;
}
.immo-h1 {
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: clamp(48px, 8.4vw, 144px);
  line-height: 0.96;
  letter-spacing: -0.04em;
  max-width: 16ch;
}
.immo-h1 em {
  font-style: italic;
  font-weight: 500;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
[data-theme="dark"] .immo-h1 em {
  background: linear-gradient(135deg, #6a68ec, #3534c0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.immo-h1 .line { display: block; }
.immo-h1 .line-italic em { font-style: italic; }
.immo-hero-lede {
  margin-top: 40px;
  max-width: 50ch;
  font-size: 17px;
  line-height: 1.6;
  color: var(--fg-2);
}
.immo-disc { display: none; }

/* Pourquoi — dark section */
.pourquoi { padding: 14vh 0; }
.pourquoi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1180px;
}
@media (max-width: 900px) { .pourquoi-grid { grid-template-columns: 1fr; gap: 28px; } }
.pourquoi-col p { font-size: 17px; line-height: 1.6; color: var(--fg-2); margin-bottom: 20px; max-width: 48ch; }
.pourquoi-col p em { font-weight: 500; color: var(--fg); }

/* Bénéfices */
.immo-benefices { padding: 14vh 0; }
.benefices-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  max-width: 1180px;
  margin-top: 56px;
}
@media (max-width: 900px) { .benefices-body { grid-template-columns: 1fr; gap: 28px; } }
.benefices-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
}
.benefices-foot {
  grid-column: 1 / -1;
  border-top: 1px solid var(--hair);
  padding-top: 40px;
  margin-top: 8px;
}
.benefices-foot p {
  font-size: 18px !important;
  font-style: italic;
  color: var(--fg) !important;
  max-width: 72ch;
}

/* Demande — dark section */
.demande { padding: 14vh 0; }
.demande-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) { .demande-grid { grid-template-columns: 1fr; gap: 28px; } }
.demande-left .section-title { font-size: clamp(36px, 5vw, 64px); }
.demande-right p { font-size: 17px; line-height: 1.6; color: var(--fg-2); margin-bottom: 20px; max-width: 48ch; }
.demande-right p em { font-weight: 500; color: var(--fg); }

/* Bouton bleu immo */
.btn-immo {
  background: linear-gradient(135deg, #403edb, #2a29a8);
  color: #ffffff;
  border: 0;
}
.btn-immo:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(64,62,219,0.35); }

/* Hero immo — reprend exactement le hero home avec couleur bleue */
.immo-hero { background: var(--bg); }
.immo-h1-hero em {
  font-style: italic;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.immo-hero-flow { /* même classe que hero-flow, filtre bleu */ }
.immo-floor {
  margin-top: 11vh;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
  position: relative; z-index: 3;
  background: var(--bg);
  font-size: 12px;
}
@media (max-width: 700px) { .immo-floor { grid-template-columns: 1fr 1fr; } }
.stamp-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

/* Tally stub */
.tally-frame {
  background: var(--bg);
  border-radius: 12px;
  padding: 24px;
}
.tally-tag {
  display: inline-flex;
  padding: 6px 12px;
  background: linear-gradient(135deg, #403edb, #2a29a8);
  color: #ffffff;
  border-radius: 4px;
  margin-bottom: 20px;
  font-weight: 600;
}
.tally-mock { display: flex; flex-direction: column; gap: 14px; }
.tally-row { font-family: "DM Sans", sans-serif; font-weight: 500; font-size: 16px; color: var(--fg); }
.tally-row span:first-child { color: var(--accent); margin-right: 6px; font-family: "JetBrains Mono", monospace; font-size: 12px; font-weight: 600; }
.tally-options { display: flex; flex-wrap: wrap; gap: 8px; }
.tally-options span { padding: 7px 13px; background: var(--bg-2); border-radius: 99px; font-size: 13px; color: var(--fg); }
.tally-input { background: var(--bg-2); padding: 10px 14px; border-radius: 6px; font-size: 13px; color: var(--fg-3); }
.tally-progress { height: 3px; background: var(--bg-2); margin-top: 16px; position: relative; border-radius: 99px; overflow: hidden; }
.tally-progress span { position: absolute; left: 0; top: 0; bottom: 0; width: 25%; background: linear-gradient(90deg, #403edb, #2a29a8); }
.tally-foot { margin-top: 8px; display: flex; justify-content: flex-end; }

/* ── Cookie consent — overlay + panel imposant ── */
.cookie-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: rgba(10,10,10,0.52);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: flex-end;
  pointer-events: none;
  animation: cookie-overlay-in 0.35s ease both;
}
@keyframes cookie-overlay-in { from { opacity: 0; } to { opacity: 1; } }
.cookie-panel {
  width: 100%; pointer-events: auto;
  background: #0f0f0f;
  color: #f8f8f6;
  border-top: 1px solid rgba(255,255,255,0.08);
  animation: cookie-panel-up 0.35s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes cookie-panel-up { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-panel-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 28px 48px;
  display: flex; gap: 32px; align-items: center; flex-wrap: wrap;
}
.cookie-banner-content { flex: 1; min-width: 260px; }
.cookie-banner-title { font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.cookie-banner-text { font-size: 13px; line-height: 1.6; color: rgba(248,248,246,0.65); }
.cookie-banner-text a { color: rgba(248,248,246,0.75); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 8px; flex-shrink: 0; align-items: center; }
.cookie-btn {
  font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 600;
  padding: 10px 20px; border-radius: 6px; cursor: pointer;
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.15s, border-color 0.15s;
}
.cookie-btn-refuse { background: transparent; color: rgba(248,248,246,0.65); }
.cookie-btn-refuse:hover { background: rgba(255,255,255,0.07); color: #f8f8f6; border-color: rgba(255,255,255,0.25); }
.cookie-btn-settings { background: transparent; color: #f8f8f6; border-color: rgba(255,255,255,0.28); }
.cookie-btn-settings:hover { background: rgba(255,255,255,0.1); }
.cookie-btn-accept { background: var(--accent); border-color: var(--accent); color: #fff; }
.cookie-btn-accept:hover { filter: brightness(1.1); }
/* Settings mode */
.cookie-settings-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px; width: 100%;
}
.cookie-back {
  font-family: "JetBrains Mono", monospace; font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(248,248,246,0.5); cursor: pointer; background: none; border: none; padding: 0;
  transition: color 0.15s;
}
.cookie-back:hover { color: rgba(248,248,246,0.9); }
.cookie-settings-title { font-size: 14px; font-weight: 600; }
.cookie-settings-list { width: 100%; margin-bottom: 20px; }
.cookie-pref-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.07); gap: 24px;
}
.cookie-pref-row.is-inactive { opacity: 0.38; }
.cookie-pref-info { flex: 1; }
.cookie-pref-label { display: block; font-size: 13px; font-weight: 500; margin-bottom: 2px; }
.cookie-pref-desc  { display: block; font-size: 11px; color: rgba(248,248,246,0.5); }
.cookie-toggle {
  width: 40px; height: 22px; border-radius: 11px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.18);
  position: relative; cursor: pointer; flex-shrink: 0;
  transition: background 0.2s, border-color 0.2s;
}
.cookie-toggle.is-on { background: var(--accent); border-color: var(--accent); }
.cookie-toggle:disabled { cursor: not-allowed; }
.cookie-toggle-knob {
  position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #f8f8f6; display: block;
  transition: transform 0.2s;
}
.cookie-toggle.is-on .cookie-toggle-knob { transform: translateX(18px); }
@media (max-width: 780px) {
  .cookie-panel-inner { padding: 20px 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cookie-banner-actions { flex-wrap: wrap; width: 100%; }
  .cookie-btn { flex: 1; text-align: center; min-width: 100px; }
}

/* ── Form utilitaires ── */
.form-success {
  padding: 40px 24px;
  text-align: center;
  font-size: 16px;
  line-height: 1.6;
}
.form-divider {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 16px 0 4px;
  border-top: 1px solid var(--hair);
  margin-top: 8px;
}

/* ── Pages légales ── */
.legal-page { min-height: 100vh; }

.legal-hero {
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--hair);
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-bottom: 32px;
  transition: color 0.15s;
}
.legal-back:hover { color: var(--fg); }
.legal-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 600;
  line-height: 1.08;
  margin: 8px 0 16px;
}
.legal-date { font-size: 12px; color: var(--fg-3); }

.legal-body {
  padding: 64px 0 96px;
  max-width: 800px;
}
.legal-section {
  margin-bottom: 56px;
}
.legal-section h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--hair);
}
.legal-section h3 {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin: 24px 0 8px;
}
.legal-section p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.legal-section a { color: var(--accent); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 12px 0 16px;
}
.legal-table th {
  text-align: left;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 8px 12px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--hair);
}
.legal-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--hair);
  color: var(--fg-2);
  vertical-align: top;
}
.legal-table td:first-child {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  color: var(--fg-3);
  white-space: nowrap;
  width: 220px;
}
.legal-table code {
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  background: var(--bg-2);
  padding: 1px 6px;
  border-radius: 3px;
}
.legal-note {
  font-size: 13px !important;
  color: var(--fg-3) !important;
  font-style: italic;
}
.legal-list {
  padding-left: 20px;
  margin: 8px 0 16px;
}
.legal-list li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--fg-2);
  margin-bottom: 6px;
}
@media (max-width: 700px) {
  .legal-table td:first-child { width: auto; white-space: normal; }
  .legal-hero { padding: 60px 0 40px; }
}

/* ── Pages formulaires dédiées ── */
.form-page { min-height: 100vh; }
.form-page-header { padding: 72px 0 48px; border-bottom: 1px solid var(--hair); }
.form-page-body { padding: 48px 0 96px; max-width: 680px; }

/* Barre de progression */
.form-progress { display: flex; gap: 6px; margin-bottom: 48px; }
.form-progress-seg {
  flex: 1; height: 3px; background: var(--hair);
  border-radius: 99px; transition: background 0.35s;
}
.form-progress-seg.is-done { background: var(--accent); }

/* Étape / questions */
.form-step { display: flex; flex-direction: column; gap: 40px; }
.form-q { display: flex; flex-direction: column; gap: 12px; }
.form-q-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px; font-weight: 600; line-height: 1.3; color: var(--fg);
}
.form-q-hint { font-size: 13px; color: var(--fg-3); font-style: italic; margin: -4px 0 0; }
.form-q-opt { font-size: 15px; font-weight: 400; color: var(--fg-3); }

/* Choix unique */
.choice-group { display: flex; flex-direction: column; gap: 8px; }
.choice-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px;
  background: var(--bg); border: 1px solid var(--hair); border-radius: 8px;
  cursor: pointer; font-family: "DM Sans", sans-serif; font-size: 15px;
  color: var(--fg); text-align: left;
  transition: border-color 0.15s, background 0.15s;
}
.choice-btn:hover { border-color: var(--accent); }
.choice-btn.is-selected { border-color: var(--accent); background: rgba(0,196,168,0.05); }
.choice-letter {
  font-size: 11px; letter-spacing: 0.06em; color: var(--fg-3);
  background: var(--bg-2); width: 24px; height: 24px; border-radius: 4px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.choice-btn.is-selected .choice-letter { background: var(--accent); color: #fff; }

/* Cases à cocher */
.check-group { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check-item {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; background: var(--bg);
  border: 1px solid var(--hair); border-radius: 8px;
  cursor: pointer; font-size: 14px; color: var(--fg-2); line-height: 1.45;
  transition: border-color 0.15s;
  user-select: none;
}
.check-item input { display: none; }
.check-item:hover { border-color: var(--accent); }
.check-item.is-checked { border-color: var(--accent); }
.check-box {
  width: 18px; height: 18px; border: 1.5px solid var(--hair); border-radius: 4px;
  flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s, border-color 0.15s; color: #fff;
}
.check-item.is-checked .check-box { background: var(--accent); border-color: var(--accent); }

/* Champs texte formulaire multi-étapes */
.fld-textarea, .fld-input {
  width: 100%; padding: 12px 16px; box-sizing: border-box;
  border: 1px solid var(--hair); border-radius: 8px;
  font-family: "DM Sans", sans-serif; font-size: 15px; color: var(--fg);
  background: var(--bg); resize: vertical;
  transition: border-color 0.15s;
}
.fld-textarea:focus, .fld-input:focus { outline: none; border-color: var(--accent); }

/* Navigation étapes */
.form-nav {
  display: flex; gap: 12px; align-items: center;
  margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--hair);
}

/* Écran succès */
.form-sent-screen { padding: 48px 0; max-width: 500px; }
.form-sent-lead {
  font-family: "Cormorant Garamond", serif;
  font-size: 40px; font-weight: 600; margin-bottom: 16px; line-height: 1.1;
}
.form-sent-screen p { font-size: 16px; line-height: 1.7; color: var(--fg-2); }

/* Cal.com embed */
.cal-container {
  width: 100%; min-height: 680px; border-radius: 12px;
  border: 1px solid var(--hair); overflow: hidden;
}

/* ImmoContact — 3 cartes CTA */
.immo-contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin-bottom: 48px;
}
.immo-contact-card {
  padding: 32px 24px; background: var(--bg);
  border: 1px solid var(--hair); border-radius: 12px;
  cursor: pointer; transition: border-color 0.2s, transform 0.2s;
}
.immo-contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.icc-num { font-size: 11px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 16px; }
.immo-contact-card h3 {
  font-family: "Cormorant Garamond", serif; font-size: 20px;
  font-weight: 600; margin-bottom: 10px;
}
.immo-contact-card p { font-size: 14px; color: var(--fg-3); line-height: 1.6; margin-bottom: 20px; }
.icc-cta { font-size: 13px; font-weight: 600; color: var(--accent); }

@media (max-width: 860px) {
  .immo-contact-cards { grid-template-columns: 1fr; }
  .check-group { grid-template-columns: 1fr; }
  .form-page-body { padding: 36px 0 72px; }
}
