/* ──────────────────────────────────────────────────────────────────
   Hakaiki — charte hub "Blanc & Graphite"  (rév. 2026-08-10)
   - Blanc pur #FFFFFF + échelle de gris strictement neutres (R=G=B)
   - Encre near-black #121212 — aligné sur hakaikiprint.com
   - Accent = monochrome (l'encre elle-même), inversé en blanc sur
     les fonds sombres via redéfinition de --accent
   - Zone immo : rouge KW #CE011F en ponctuation (jamais en surface)
   - Rayons à 0, typo unique Assistant graisse légère
   ────────────────────────────────────────────────────────────────── */

:root {
  /* ── Surfaces — blanc pur + gris neutres ─────────────────────── */
  --white:    #FFFFFF;
  --gray-50:  #FAFAFA;   /* voile   — section alternée */
  --gray-100: #F5F5F5;   /* brume   — remplissage doux, chips */
  --gray-200: #EDEDED;   /* nuage   — hover de surface */
  --gray-300: #E0E0E0;   /* cendre  — bordure marquée opaque */
  --gray-400: #C9C9C9;   /* béton   — séparateur fort / états off */

  --bg: #FFFFFF;         /* surface card = blanc pur */
  --bg-page: #FFFFFF;    /* fond de page = blanc pur */
  --bg-alt: #FAFAFA;     /* section alternée (voile) */
  --bg-soft: #F5F5F5;    /* inputs, pastilles, blocs d'info (brume) */
  --card-tint: #FFFFFF;  /* alias legacy */

  /* ── Encre — 4 paliers, contrastes AA vérifiés sur blanc ────── */
  --ink: #121212;        /* 18.7:1 — titres, boutons pleins */
  --ink-mid: #3D3D3D;    /* 10.9:1 — nav, texte appuyé */
  --ink-soft: #5C5C5C;   /*  6.7:1 — corps de texte */
  --ink-faint: #6E6E6E;  /*  5.1:1 sur blanc, 4.7:1 sur --bg-soft — méta / eyebrow */

  /* ── Accent monochrome — bascule en blanc sur fond sombre ───── */
  --accent: #121212;
  --accent-soft: #5C5C5C;
  --accent-chip: #F5F5F5;

  /* Alias legacy (tapa / gold / teal) — remappés neutre, NE PAS supprimer */
  --tapa: var(--accent);
  --tapa-deep: var(--accent);
  --tapa-bright: var(--accent);
  --tapa-soft: var(--accent-chip);
  --gold: var(--accent);
  --gold-deep: var(--accent);
  --gold-bright: var(--accent);
  --gold-soft: var(--accent-chip);
  --teal: #3D3D3D;       /* états « validé / terminé » — graphite */
  --teal-soft: #5C5C5C;

  /* ── Rouge Keller Williams — marque, non négociable ──────────── */
  --kw-red: #CE011F;     /* 5.8:1 en texte blanc dessus */
  --kw-red-dark: #A40118;/* 8.1:1 — état hover */

  /* ── Lignes — noir pur en alpha, aucune teinte résiduelle ───── */
  --line: rgba(18,18,18,0.10);
  --line-strong: rgba(18,18,18,0.20);
  --line-warm: rgba(18,18,18,0.10);   /* alias legacy */

  /* ── Ombres neutres — la profondeur vient des filets, pas du flou ── */
  --shadow-xs: 0 1px 2px rgba(18,18,18,0.03);
  --shadow-sm: 0 1px 3px rgba(18,18,18,0.05);
  --shadow: 0 2px 10px rgba(18,18,18,0.05);
  --shadow-lg: 0 18px 40px -14px rgba(18,18,18,0.12);
  --shadow-card: 0 1px 2px rgba(18,18,18,0.03);
  --shadow-card-hover: 0 10px 30px -12px rgba(18,18,18,0.12);

  /* ── Rayons — carrés (charte Print). Un seul point à flipper. ── */
  --radius-xs: 0;
  --radius-sm: 0;
  --radius: 0;
  --radius-lg: 0;
  --radius-btn: 0;       /* boutons — passer à 100px pour revenir aux pills */
  --radius-pill: 0;      /* badges / tags — idem */

  /* ── Typographie — Assistant, graisse légère, tracking ouvert ── */
  --font-display: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ── Inversion de l'accent et des filets sur fond sombre ────────── */
.section-dark,
.story-content,
.cockpit-result,
.cockpit-cta-premium,
.calc-result,
.estim-preview-card-main,
.primo-banner,
footer {
  --accent: #FFFFFF;
  --accent-soft: rgba(255,255,255,0.72);
  --accent-chip: rgba(255,255,255,0.10);
  --line: rgba(255,255,255,0.12);
  --line-strong: rgba(255,255,255,0.24);
  --line-warm: rgba(255,255,255,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg-page);
  line-height: 1.6;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
}

/* Titres : même famille que le corps, graisse légère, tracking légèrement
   ouvert (~0.6px) — la hiérarchie vient de la taille et du blanc, pas du gras. */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0.012em; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); line-height: 1.08; font-weight: 400; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.16; font-weight: 400; }
h3 { font-size: 1.35rem; line-height: 1.35; font-weight: 500; letter-spacing: 0.01em; }

p { color: var(--ink-soft); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--ink-soft); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 32px; }

/* ── Nav ────────────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 78px;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
/* Logo Hakaiki (couronne + signature) — remplace le texte */
.brand {
  display: inline-flex; align-items: center;
  height: 100%;
}
.brand img {
  height: 60px; width: auto; display: block;
  transition: opacity 0.2s;
}
.brand:hover img { opacity: 0.75; }
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: var(--ink-mid); font-size: 0.92rem; font-weight: 500;
  letter-spacing: 0.02em; transition: color 0.15s;
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: left center;
  transition: transform 0.35s cubic-bezier(.4,0,.2,1);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: var(--ink); color: var(--white) !important;
  padding: 12px 24px; border-radius: var(--radius-btn);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--ink-mid); transform: translateY(-1px); box-shadow: var(--shadow); color: var(--white) !important; }

/* Burger mobile — caché en desktop, coins carrés (charte), 44px tactile */
.nav-burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-btn);
  cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────────── */
.hero {
  padding: 140px 0 120px;
  position: relative;
}
.hero-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.hero-content { max-width: 540px; }
.hero-image {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero-image img {
  width: 100%; height: 100%; object-fit: cover;
  display: block;
}
.hero-image::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.08) 100%);
  pointer-events: none;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.76rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
  font-weight: 600; margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--gold);
  margin-right: 14px; vertical-align: 4px;
}
.hero h1 { max-width: 18ch; margin-bottom: 32px; }
.hero p.lead {
  font-size: 1.18rem; max-width: 56ch; line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 44px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 50px; }
  .hero-image { aspect-ratio: 16 / 10; }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 30px; border-radius: var(--radius-btn);
  font-size: 0.93rem; font-weight: 500;
  border: none; cursor: pointer;
  transition: all 0.25s cubic-bezier(.4,0,.2,1);
  letter-spacing: 0.03em;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover {
  background: var(--ink-mid);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
/* Bouton fantôme — contour fin, fond transparent (charte Print) */
.btn-secondary {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover {
  border-color: var(--ink);
  background: var(--bg-alt);
}
/* Seul bouton rouge du site : engagement Keller Williams (envoi de lead) */
.btn-kw { background: var(--kw-red); color: var(--white); }
.btn-kw:hover {
  background: var(--kw-red-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  color: var(--white);
}

/* ── Sections — système unifié ──────────────────────────────────── */
.section {
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
/* Plus de grain papier : le grain « salit » le blanc pur et recrée un blanc cassé.
   La respiration vient désormais du blanc et des filets. */
.section > * { position: relative; z-index: 2; }
/* Section "soft" — voile gris neutre, un seul cran sous le blanc de page */
.section-soft {
  background: var(--bg-alt);
}

/* Section signature — blanc pur, la seule signature est le motif marquisien gravé */
.section-cream {
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}
/* Le motif marquisien est maintenant un élément réel (.cream-motif) animé en parallaxe via JS */
.cream-motif {
  position: absolute;
  background-image: url('assets/motifs/motif-rond.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
  filter: grayscale(1);   /* plus de sepia — motif strictement neutre */
  will-change: transform;
}
.cream-motif-main {
  right: -18%;
  top: -10%;
  width: 1500px;
  height: 1500px;
  opacity: 0.055;
}
.cream-motif-accent {
  left: -22%;
  bottom: -25%;
  width: 800px;
  height: 800px;
  opacity: 0.035;
}
@media (max-width: 900px) {
  .cream-motif-main { width: 900px; height: 900px; right: -40%; }
  .cream-motif-accent { width: 500px; height: 500px; left: -40%; }
}
.section-dark { background: var(--ink); color: var(--white); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-eyebrow {
  font-size: 0.76rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-faint);
  font-weight: 600; margin-bottom: 22px;
}
.section-eyebrow::before {
  content: ""; display: inline-block;
  width: 24px; height: 1px; background: var(--gold);
  margin-right: 14px; vertical-align: 4px;
}
.section-dark .section-eyebrow { color: rgba(255,255,255,0.62); }
.section-dark .section-eyebrow::before { background: var(--accent); }
.section-title { max-width: 26ch; margin-bottom: 28px; }
.section-lead { max-width: 58ch; font-size: 1.08rem; line-height: 1.6; margin-bottom: 64px; }

/* ── Cards business (home) ──────────────────────────────────────── */
.business-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 60px;
}
.business-card {
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: all 0.4s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  cursor: pointer;
}
.business-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.business-card-img {
  width: 100%; aspect-ratio: 4 / 3;
  overflow: hidden; background: var(--bg-soft);
  position: relative;
}
.business-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  display: block;
}
.business-card:hover .business-card-img img {
  transform: scale(1.04);
}
.business-card-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.04) 100%);
  pointer-events: none;
}
.business-card-body { padding: 32px 30px 30px; }
.business-card h3 { margin-bottom: 12px; font-size: 1.4rem; line-height: 1.25; }
.business-card p { margin-bottom: 24px; font-size: 0.94rem; line-height: 1.6; }
.business-card .card-cta {
  font-weight: 500; color: var(--ink); font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 8px;
  padding-top: 18px; border-top: 1px solid var(--line);
  width: 100%;
}
.business-card .card-cta::after { content: "→"; transition: transform 0.25s; margin-left: auto; }
.business-card:hover .card-cta::after { transform: translateX(6px); }

/* ── Spotlight estimation rapide (section dédiée AVANT le cockpit) ── */
.estim-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.estim-spotlight-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  letter-spacing: 0.012em;
  line-height: 1.14;
  margin: 24px 0 22px;
  font-weight: 400;
}
.estim-spotlight-content > p {
  font-size: 1.05rem; line-height: 1.6;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 50ch;
}
.estim-spotlight-content > p strong {
  color: var(--ink); font-weight: 600;
}
.estim-spotlight-features {
  list-style: none; padding: 0; margin: 0 0 36px;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.estim-spotlight-features li {
  font-size: 0.95rem;
  color: var(--ink-mid);
  padding-left: 26px; position: relative;
}
.estim-spotlight-features li::before {
  content: "→"; position: absolute;
  left: 0; top: 0; font-weight: 600;
  color: var(--tapa);
}
.estim-spotlight-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Preview visuel des 3 prix — mockup du résultat */
.estim-spotlight-preview {
  position: relative;
}
.estim-preview-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.16em;
  text-transform: uppercase; font-weight: 600;
  color: var(--tapa);
  margin-bottom: 16px;
  text-align: center;
}
.estim-preview-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}
.estim-preview-card {
  background: var(--bg);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  position: relative;
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-card);
}
.estim-preview-card-main {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  padding: 22px 22px 20px;
  transform: scale(1.04);
  box-shadow: 0 18px 40px -14px rgba(18,18,18,0.30);
  z-index: 2;
}
.estim-preview-card-low,
.estim-preview-card-high {
  opacity: 0.85;
  transform: scale(0.97);
}
.estim-preview-tag {
  position: absolute;
  top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--ink);
  color: var(--white);
  font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  padding: 4px 12px; border-radius: var(--radius-pill);
  white-space: nowrap;
}
.estim-preview-strategy {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; font-weight: 600;
  color: var(--tapa);
  margin-bottom: 6px;
}
.estim-preview-card-main .estim-preview-strategy {
  color: rgba(255,255,255,0.78);
}
.estim-preview-value {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.1;
  color: var(--ink);
}
.estim-preview-card-main .estim-preview-value {
  color: var(--white); font-size: 1.85rem;
}
.estim-preview-unit {
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.estim-preview-card-main .estim-preview-unit { color: rgba(255,255,255,0.7); }
.estim-preview-foot {
  text-align: center;
  font-size: 0.78rem;
  color: var(--ink-faint);
  margin-top: 18px;
  font-style: italic;
}

@media (max-width: 900px) {
  .estim-spotlight { grid-template-columns: 1fr; gap: 40px; }
  .estim-preview-card-main { transform: scale(1); }
  .estim-preview-card-low, .estim-preview-card-high { transform: scale(1); }
}

/* ── Cockpit outils — interface unique avec tabs ────────────────── */
.cockpit {
  margin-top: 60px;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  overflow: hidden;
  /* Relief neutre discret — c'est le filet qui détache le bloc, pas l'ombre */
  box-shadow: 0 24px 60px -28px rgba(18,18,18,0.18);
}
.cockpit-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line-warm);
}
.cockpit-tab {
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 22px 18px 20px;
  display: flex; flex-direction: column;
  align-items: flex-start; gap: 12px;
  text-align: left;
  font-family: var(--font-body);
  color: var(--ink-soft);
  position: relative;
  transition: color 0.25s ease, background 0.25s ease;
  border-right: 1px solid var(--line-warm);
}
.cockpit-tab:last-child { border-right: none; }
.cockpit-tab svg {
  width: 22px; height: 22px;
  stroke: var(--tapa); stroke-width: 1.5;
  opacity: 0.6;
  transition: opacity 0.25s ease;
}
.cockpit-tab span {
  font-size: 0.86rem; font-weight: 500;
  letter-spacing: 0.02em;
}
.cockpit-tab::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--tapa);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}
.cockpit-tab:hover {
  color: var(--ink);
  background: rgba(18,18,18,0.03);
}
.cockpit-tab:hover svg { opacity: 1; }
.cockpit-tab.is-active {
  color: var(--ink);
  background: var(--bg);
}
.cockpit-tab.is-active svg { opacity: 1; }
.cockpit-tab.is-active::before { transform: scaleX(1); }

.cockpit-panel {
  display: none;
  grid-template-columns: 1.4fr 1fr;
}
.cockpit-panel.is-active {
  display: grid;
  animation: cockpitFadeIn 0.4s cubic-bezier(.16,1,.3,1);
}
@keyframes cockpitFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.cockpit-form {
  padding: 48px 48px 40px;
  border-right: 1px solid var(--line-warm);
}
.cockpit-form-head h3 {
  font-size: 1.5rem; margin-bottom: 10px;
  letter-spacing: 0.01em;
}
.cockpit-form-head p {
  font-size: 0.95rem; line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.cockpit-fields .calc-row {
  border-bottom: 1px solid var(--line-warm);
  padding: 14px 0;
}
.cockpit-fields .calc-row:first-child { border-top: 1px solid var(--line-warm); }
.cockpit-fields .calc-row:last-child { border-bottom: none; }

/* Panel résultat à droite — bloc encre bleu nuit */
.cockpit-result {
  background: var(--ink);
  color: var(--white);
  padding: 48px 40px;
  display: flex; align-items: center;
  position: relative;
}
.cockpit-result::before {
  content: ""; position: absolute;
  top: 48px; left: 40px; width: 32px; height: 2px;
  background: var(--tapa);
}
.cockpit-result-inner { width: 100%; }
.cockpit-result-label {
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,0.78);
  margin-top: 16px; margin-bottom: 18px;
}
.cockpit-result-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.6rem, 4.4vw, 3.6rem);
  line-height: 1; letter-spacing: 0.005em;
  color: var(--white);
  word-break: break-word;
}
.cockpit-result-unit {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.92rem; font-weight: 500;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.04em;
}
.cockpit-result-meta {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}
.cockpit-result-foot {
  margin-top: 24px;
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* Panels CTA (Estimation rapide / visite) — pleine largeur, pas de result panel */
.cockpit-cta-wide {
  grid-column: 1 / -1;
  padding: 60px 56px;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.cockpit-cta-wide.cockpit-cta-premium {
  background: var(--ink);
  color: var(--white);
}
.cockpit-cta-content { max-width: 640px; position: relative; z-index: 2; }
.cockpit-tag {
  display: inline-block;
  font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 600;
  color: var(--tapa);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line-warm);
}
.cockpit-cta-premium .cockpit-tag {
  color: rgba(255,255,255,0.78);
  border-bottom-color: rgba(255,255,255,0.15);
}
.cockpit-cta-content h3 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  letter-spacing: 0.012em; line-height: 1.15;
  margin-bottom: 18px;
  font-weight: 400;
}
.cockpit-cta-premium h3 { color: var(--white); }
.cockpit-cta-content > p {
  font-size: 1rem; line-height: 1.6;
  margin-bottom: 24px;
  max-width: 56ch;
}
.cockpit-cta-premium > p,
.cockpit-cta-premium .cockpit-cta-content > p { color: rgba(255,255,255,0.78); }
.cockpit-cta-features {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.cockpit-cta-features li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 22px; position: relative;
}
.cockpit-cta-premium .cockpit-cta-features li { color: rgba(255,255,255,0.78); }
.cockpit-cta-features li::before {
  content: "→"; position: absolute;
  left: 0; top: 0;
  color: var(--tapa);
  font-weight: 600;
}
.cockpit-cta-premium .cockpit-cta-features li::before { color: rgba(255,255,255,0.78); }
.cockpit-cta-btn {
  border-radius: var(--radius-btn);
  letter-spacing: 0.1em;
}
.cockpit-cta-premium .cockpit-cta-btn {
  background: var(--white); color: var(--ink);
}
.cockpit-cta-premium .cockpit-cta-btn:hover {
  background: rgba(255,255,255,0.82); color: var(--ink);
}

/* Responsive cockpit */
@media (max-width: 900px) {
  .cockpit-tabs { grid-template-columns: 1fr; }
  .cockpit-tab { border-right: none; border-bottom: 1px solid var(--line-warm); flex-direction: row; align-items: center; gap: 14px; }
  .cockpit-tab:last-child { border-bottom: none; }
  .cockpit-panel.is-active { grid-template-columns: 1fr; }
  .cockpit-form { padding: 32px 24px 28px; border-right: none; border-bottom: 1px solid var(--line-warm); }
  .cockpit-result { padding: 32px 24px; }
  .cockpit-cta-wide { padding: 40px 24px; }
  .cockpit-cta-features { grid-template-columns: 1fr; }
}

/* ── Outils (page immo) ─────────────────────────────────────────── */
.tools-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 28px; margin-top: 60px;
}
/* Cards Tapa & Ivoire — ivoire sur ivoire + motif marquisien gravé + trait tapa diagonal */
.tool-card {
  background: var(--bg);
  padding: 48px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line-warm);
  position: relative; overflow: hidden;
  transition: all 0.6s cubic-bezier(.16,1,.3,1);
  box-shadow: var(--shadow-card);
}
/* Trait tapa diagonal en BAS-GAUCHE (signature graphique) */
.tool-card::before {
  content: ""; position: absolute;
  bottom: 0; left: 0; top: auto; right: auto;
  width: 0; height: 1px;
  background: var(--tapa);
  transform: none; transform-origin: left;
  transition: width 0.7s cubic-bezier(.4,0,.2,1);
}
.tool-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}
.tool-card:hover::before { width: 64px; }
.tool-card .badge {
  position: absolute; top: 22px; right: 22px;
  font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); font-weight: 600;
}
.badge-free { background: var(--gray-100); color: var(--ink); }
.badge-gated { background: var(--ink); color: var(--white); }
/* Icônes nues — plus de container, juste le trait tapa fin (style Aman/Polène) */
.tool-card .icon-large {
  margin-bottom: 32px;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: flex-start;
  background: transparent;
  border: none; box-shadow: none;
  color: var(--tapa);
}
.tool-card .icon-large svg {
  width: 40px; height: 40px;
  stroke: currentColor; stroke-width: 1.25;
}
.tool-card h3 { margin-bottom: 12px; font-size: 1.35rem; }
.tool-card p { margin-bottom: 26px; font-size: 0.95rem; line-height: 1.6; }

/* ── Calculatrice — style éditorial épuré, lisible ─────────────── */
.calc {
  background: transparent;
  padding: 0;
  margin-top: 24px;
  border-top: 1px solid var(--line-warm);
}
.calc-row {
  display: flex; flex-direction: column;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-warm);
  gap: 4px;
}
.calc-row label {
  font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  color: var(--tapa);
  margin-bottom: 2px;
}
.calc-row input, .calc-row select {
  background: transparent;
  border: none;
  border-bottom: 1px solid transparent;
  padding: 4px 0 4px;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 0;
  transition: border-color 0.25s ease;
  -webkit-appearance: none; appearance: none;
}
.calc-row input::placeholder {
  color: var(--ink-faint);
  font-weight: 400;
}
.calc-row input:focus, .calc-row select:focus {
  outline: none;
  border-bottom-color: var(--tapa);
  box-shadow: none;
}
.calc-row .hint {
  font-size: 0.72rem; color: var(--ink-soft);
  margin-top: 2px;
}
.calc-row:last-of-type { border-bottom: none; }
.calc .btn-primary {
  margin-top: 28px;
  width: 100%;
  border-radius: var(--radius-btn);
  letter-spacing: 0.12em;
}
.calc-result {
  background: var(--ink); color: var(--white);
  padding: 22px 24px; border-radius: var(--radius-sm); margin-top: 22px;
  display: none;
}
.calc-result.show { display: block; }
.calc-result .label {
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.78); margin-bottom: 6px; font-weight: 600;
}
.calc-result .value { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.005em; }
.calc-result .meta {
  font-size: 0.82rem; color: rgba(255,255,255,0.72); margin-top: 8px; font-style: italic;
}
.calc-disclaimer {
  background: none; padding: 18px 0 0;
  font-style: italic; font-size: 0.78rem;
  color: var(--ink-soft); line-height: 1.55;
  border-top: 1px solid var(--line-warm);
  margin-top: 20px;
}

/* ── Gate modal ─────────────────────────────────────────────────── */
.modal-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  background: rgba(18,18,18,0.55);
  backdrop-filter: blur(4px);
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg); border-radius: var(--radius);
  padding: 36px 32px; max-width: 480px; width: 100%;
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: none; border: none; font-size: 1.5rem;
  cursor: pointer; color: var(--ink-soft); line-height: 1;
  padding: 6px;
}
.modal h3 { margin-bottom: 8px; }
.modal p.modal-lead {
  margin-bottom: 24px; font-size: 0.95rem;
}
.form-row { margin-bottom: 14px; }
.form-row label {
  display: block; font-size: 0.85rem; font-weight: 500;
  margin-bottom: 6px;
}
.form-row input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 0.95rem; font-family: inherit;
  background: var(--white);
}
.form-row input:focus {
  outline: none; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(18,18,18,0.08);
}
.form-row .row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.85rem; margin: 16px 0 20px;
  padding: 14px; background: var(--bg-soft); border-radius: var(--radius-sm);
}
.form-consent input { margin-top: 2px; flex-shrink: 0; }
.form-consent label { font-weight: 400; color: var(--ink); cursor: pointer; }
.form-disclaimer {
  font-size: 0.7rem; color: var(--ink-soft); margin-top: 12px;
}
.form-success {
  display: none; text-align: center; padding: 20px 0;
}
.form-success.show { display: block; }
.form-success .check {
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 16px;
}

/* ── Articles ───────────────────────────────────────────────────── */
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 28px; margin-top: 60px;
}
.article-card {
  background: var(--bg); border-radius: var(--radius);
  border: 1px solid var(--line); overflow: hidden;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  cursor: pointer;
}
.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
/* Couvertures d'articles — 4 dégradés de graphite, aucune teinte */
.article-cover {
  height: 200px;
  background: linear-gradient(135deg, #121212 0%, #3D3D3D 100%);
  display: flex; align-items: flex-end; padding: 22px;
}
.article-cover.cover-gold { background: linear-gradient(135deg, #3D3D3D 0%, #121212 100%); }
.article-cover.cover-mixed { background: linear-gradient(135deg, #121212 0%, #5C5C5C 100%); }
.article-cover.cover-deep { background: linear-gradient(135deg, #4A4A4A 0%, #1F1F1F 50%, #000000 100%); }
.article-cover .tag {
  background: rgba(255,255,255,0.94); color: var(--ink);
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 12px; border-radius: var(--radius-pill); font-weight: 600;
  backdrop-filter: blur(4px);
}
.article-body { padding: 28px 30px 32px; }
.article-body h3 { font-size: 1.18rem; margin-bottom: 10px; line-height: 1.35; }
.article-body p { font-size: 0.92rem; line-height: 1.55; margin-bottom: 18px; }
.article-body .read {
  font-size: 0.85rem; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.article-card:hover .read { color: var(--teal); }

/* ── Primo banner — version section-dark plein écran ───────────── */
.primo-section { padding-top: 0; }                /* attaché à la section "méthode" du dessus */
.primo-section::before {
  content: ""; position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 200px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.35), transparent);
  opacity: 1;
}
.primo-banner {
  background: transparent;
  color: var(--white); padding: 0;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px;
  align-items: center;
  position: relative;
}
.primo-banner::before {
  content: ""; position: absolute;
  top: -50%; right: -10%; width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.primo-banner > * { position: relative; z-index: 1; }
.primo-banner h2 { color: var(--white); margin-bottom: 18px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.primo-banner p { color: rgba(255,255,255,0.82); margin-bottom: 32px; font-size: 1.02rem; line-height: 1.6; }
/* Sur fond sombre, le bouton plein devient blanc (inverse de la charte Print) */
.primo-banner .btn-primary { background: var(--white); color: var(--ink); }
.primo-banner .btn-primary:hover { background: rgba(255,255,255,0.82); color: var(--ink); transform: translateY(-1px); }

/* ── Aides list (primo) ─────────────────────────────────────────── */
.aides-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 18px; margin-top: 36px;
}
.aide-item {
  background: var(--white); padding: 24px 26px;
  border-radius: var(--radius); border: 1px solid var(--line);
  border-left: 3px solid var(--ink);
}
.aide-item h3 { font-size: 1.1rem; margin-bottom: 8px; }
.aide-item p { font-size: 0.9rem; }

/* ── Footer ─────────────────────────────────────────────────────── */
footer {
  background: var(--ink); color: rgba(255,255,255,0.62);
  padding: 100px 0 40px; margin-top: 0;
}
footer .footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 70px;
}
footer h4 {
  color: var(--white); font-family: var(--font-body); font-weight: 600;
  font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 22px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 12px; font-size: 0.9rem; }
footer ul li a { color: rgba(255,255,255,0.6); transition: color 0.15s; }
footer ul li a:hover { color: var(--white); }
footer .footer-brand {
  display: inline-block; margin-bottom: 16px;
}
footer .footer-brand img { height: 56px; width: auto; display: block; }
footer .footer-tagline { font-size: 0.92rem; max-width: 32ch; line-height: 1.6; }
footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px; display: flex; justify-content: space-between;
  font-size: 0.8rem; color: rgba(255,255,255,0.45);
}
.kw-mention {
  background: var(--kw-red); padding: 4px 10px; border-radius: var(--radius-pill);
  color: var(--white); font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.06em; margin-right: 8px;
}

/* ── Mentions KW (page immo) — version premium discrète ─────────── */
/* Bandeau KW : le rouge de marque en filet de 2px, seul point de couleur du haut de page */
.kw-bar {
  background: var(--bg); color: var(--ink-faint);
  text-align: center; padding: 9px 12px;
  font-size: 0.76rem; letter-spacing: 0.01em;
  border-top: 2px solid var(--kw-red);
  border-bottom: 1px solid var(--line);
}
.kw-bar strong { font-weight: 600; color: var(--ink-mid); }
.kw-bar::before {
  content: ""; display: inline-block;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--kw-red); margin-right: 10px;
  vertical-align: middle;
}

/* ── Portrait Hiro (home, section dark) ─────────────────────────── */
.hiro-portrait-frame {
  position: relative;
  height: 420px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #333333 0%, #1A1A1A 60%, #000000 100%);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}
.hiro-portrait-frame::before {
  content: ""; position: absolute;
  top: -40%; right: -20%; width: 80%; height: 140%;
  background: radial-gradient(circle, rgba(255,255,255,0.10) 0%, transparent 65%);
  pointer-events: none;
}
.hiro-portrait-frame img {
  position: relative;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.25));
}

/* ── Wizard estimation (5 étapes) ───────────────────────────────── */
.wizard-shell {
  max-width: 880px; margin: 30px auto; padding: 0 24px;
}

.wizard-stepper {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 30px;
  margin-bottom: 28px;
  position: relative;
}
.wizard-stepper::before {
  content: ""; position: absolute;
  left: 60px; right: 60px; top: 50%;
  height: 2px; background: var(--line); z-index: 0;
}
.wizard-stepper .step-progress {
  position: absolute; left: 60px; top: 50%;
  height: 2px; background: var(--ink); z-index: 1;
  transition: width 0.4s ease;
}
.wizard-step-item {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; flex: 1; text-align: center;
}
.wizard-step-icon {
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; font-weight: 600;
  transition: all 0.3s;
}
.wizard-step-item.is-active .wizard-step-icon {
  background: var(--ink); color: var(--white);
  transform: scale(1.08);
}
/* Étape terminée = graphite (distinct du noir plein de l'étape active) */
.wizard-step-item.is-done .wizard-step-icon {
  background: var(--teal); color: var(--white);
}
.wizard-step-label {
  font-size: 0.78rem; font-weight: 600;
  color: var(--ink-soft);
}
.wizard-step-item.is-active .wizard-step-label { color: var(--ink); }
.wizard-step-sub {
  font-size: 0.72rem; color: var(--ink-faint);
  opacity: 1;
}

.wizard-panel {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 44px 40px;
  box-shadow: var(--shadow);
}
.wizard-panel-title {
  font-family: var(--font-display); font-weight: 400;
  letter-spacing: 0.012em;
  font-size: 1.8rem; margin-bottom: 6px; text-align: center;
}
.wizard-panel-sub {
  font-size: 0.95rem; color: var(--ink-soft);
  text-align: center; margin-bottom: 32px;
}

.wizard-grid {
  display: grid; gap: 14px;
}
.wizard-grid-2 { grid-template-columns: 1fr 1fr; }
.wizard-grid-3 { grid-template-columns: repeat(3, 1fr); }
.wizard-grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Card option cliquable (type bien, état, standing) */
.option-card {
  background: var(--bg); border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); padding: 22px 18px;
  text-align: center; cursor: pointer;
  transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.option-card:hover {
  border-color: var(--ink); transform: translateY(-2px);
}
.option-card.is-selected {
  border-color: var(--ink); background: var(--white);
  box-shadow: 0 0 0 3px rgba(18,18,18,0.08);
}
.option-card .option-icon {
  font-size: 1.8rem; margin-bottom: 4px;
}
.option-card .option-title {
  font-weight: 600; font-size: 0.95rem;
}
.option-card .option-desc {
  font-size: 0.8rem; color: var(--ink-soft); line-height: 1.4;
}

/* Field input wrapper (surfaces) */
.field-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 18px 20px;
}
.field-card-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.field-card-icon {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.field-card-label {
  font-weight: 600; font-size: 0.95rem;
}
.field-card-sub {
  font-size: 0.78rem; color: var(--ink-soft);
}
.field-card-required { color: var(--kw-red); margin-left: 4px; }
.field-input {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px 14px;
}
.field-input input {
  flex: 1; border: none; background: transparent;
  font-size: 1rem; font-family: inherit; outline: none;
}
.field-input .unit { color: var(--ink-soft); font-size: 0.9rem; }

/* Counter (pièces, chambres, sdb) */
.counter {
  display: flex; align-items: center; justify-content: center;
  gap: 18px;
}
.counter button {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--white);
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  color: var(--ink);
}
.counter button:hover { background: var(--bg-soft); }
.counter button:disabled { opacity: 0.4; cursor: not-allowed; }
.counter .counter-value {
  font-size: 1.4rem; font-weight: 600;
  min-width: 28px; text-align: center;
}

/* Toggle switch (points forts) */
.toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 16px 20px;
  cursor: pointer; transition: border 0.2s;
}
.toggle-row:hover { border-color: var(--ink-soft); }
.toggle-row.is-on { border-color: var(--ink); background: var(--bg); }
.toggle-row-left {
  display: flex; align-items: center; gap: 12px;
}
.toggle-icon {
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.toggle-label { font-weight: 600; font-size: 0.95rem; }
.toggle-sub { font-size: 0.78rem; color: var(--ink-soft); }
/* Interrupteur : forme fonctionnelle, on garde la pilule quel que soit --radius-pill */
.toggle-switch {
  width: 42px; height: 24px; border-radius: 100px;
  background: var(--gray-400); position: relative;
  transition: background 0.2s;
}
.toggle-switch::after {
  content: ""; position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--white); transition: left 0.2s;
}
.toggle-row.is-on .toggle-switch { background: var(--ink); }
.toggle-row.is-on .toggle-switch::after { left: 21px; }

/* Section labels uppercase */
.wizard-section-label {
  font-size: 0.75rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--ink-soft);
  font-weight: 600; margin: 24px 0 12px;
}
.wizard-section-label:first-of-type { margin-top: 0; }

/* Navigation buttons */
.wizard-nav {
  display: flex; justify-content: space-between; gap: 14px;
  margin-top: 30px; padding-top: 24px;
  border-top: 1px solid var(--line);
}
.wizard-nav .btn-back {
  background: transparent; border: 1px solid var(--line);
  color: var(--ink);
}
.wizard-nav .btn-back:hover { background: var(--bg); }
.wizard-nav .btn-next {
  background: var(--ink); color: var(--white); min-width: 180px;
  justify-content: center;
}
.wizard-nav .btn-next:hover { background: var(--ink-mid); }
.wizard-nav .btn-next:disabled { opacity: 0.4; cursor: not-allowed; }

/* Progress hint */
.wizard-progress-hint {
  text-align: center; font-size: 0.85rem; color: var(--ink-soft);
  margin-top: 18px;
}

/* Address step input */
.addr-input-wrap {
  position: relative; max-width: 540px; margin: 0 auto;
}
.addr-input-wrap input {
  width: 100%; padding: 18px 22px;
  background: var(--white); border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm); font-size: 1rem;
  font-family: inherit;
}
.addr-input-wrap input:focus { outline: none; border-color: var(--ink); }
.addr-placeholder-map {
  height: 280px; background: linear-gradient(135deg, var(--gray-100), var(--gray-300));
  border-radius: var(--radius-sm); margin-top: 18px;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink-soft); font-size: 0.9rem;
  border: 1px dashed var(--line-strong);
}

/* Step 5 coords — compact form */
.coords-form {
  max-width: 520px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
}
.coords-form .row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.coords-form label {
  font-size: 0.8rem; font-weight: 600; margin-bottom: 6px;
  display: block; color: var(--ink);
}
.coords-form input {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--white); font-size: 0.95rem; font-family: inherit;
}
.coords-form input:focus { outline: none; border-color: var(--ink); }
.coords-form .consent {
  background: var(--bg-soft); border-radius: var(--radius-sm);
  padding: 14px 16px; display: flex; gap: 10px;
  font-size: 0.85rem; align-items: flex-start;
}
.coords-form .consent input { width: auto; margin-top: 2px; }

/* Step 4 horizon radios */
.horizon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

/* ── Primo banner — icône flottante avec halo doré ──────────────── */
.primo-key {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  height: 220px;
}
.primo-key-icon {
  font-size: 6rem;
  display: inline-block;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,0.35));
  animation: keyFloat 5s ease-in-out infinite;
  position: relative; z-index: 2;
}
.primo-key-halo {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.20) 0%, rgba(255,255,255,0.07) 35%, transparent 70%);
  animation: keyHalo 5s ease-in-out infinite;
  z-index: 1;
}
@keyframes keyFloat {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50% { transform: translateY(-14px) rotate(3deg); }
}
@keyframes keyHalo {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.18); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .primo-key-icon, .primo-key-halo { animation: none; }
}

/* ── Tool cards — animations idle + hover Apple-style ───────────── */
.tool-card .icon-large {
  transition: transform 0.6s cubic-bezier(.16,1,.3,1),
              box-shadow 0.4s ease,
              background 0.4s ease;
  animation: iconIdle 4s ease-in-out infinite;
}
.tool-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
/* Au hover : juste un léger changement de teinte (pas de bounce/rotate SaaS) */
.tool-card:hover .icon-large {
  animation: none;
  color: var(--ink);
  transform: none;
}
@keyframes iconIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}
.tool-card {
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
}

/* Effet "shine" qui traverse les cards business au hover */
.business-card { position: relative; overflow: hidden; }
/* Ligne dorée fine en haut de la card qui se dessine au hover */
.business-card .business-card-img::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
  z-index: 4;
}
.business-card:hover .business-card-img::before { transform: scaleX(1); }
.business-card::after {
  content: ""; position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0.45) 50%,
    transparent 100%
  );
  pointer-events: none;
  transition: left 0.9s cubic-bezier(.4,0,.2,1);
  z-index: 3;
}
.business-card:hover::after {
  left: 150%;
}

/* Bouton primaire — petit shine au hover aussi */
.btn-primary, .btn-kw {
  position: relative; overflow: hidden;
}
.btn-primary::before, .btn-kw::before {
  content: ""; position: absolute;
  top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255,255,255,0.15) 50%,
    transparent 100%
  );
  transition: left 0.6s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.btn-primary:hover::before, .btn-kw:hover::before {
  left: 150%;
}

@media (prefers-reduced-motion: reduce) {
  .tool-card .icon-large,
  .business-card::after,
  .btn-primary::before,
  .btn-kw::before { animation: none; transition: none; }
}

/* ── Scroll reveal animations (style Apple) ─────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(.16,1,.3,1),
    transform 0.9s cubic-bezier(.16,1,.3,1);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
}

/* ── Section story full-bleed (style Apple) ─────────────────────── */
.story-section {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  margin: 0;
}
.story-image {
  position: absolute; inset: 0;
  z-index: 0;
  background-color: #1A1A1A;
  background-image: linear-gradient(135deg, #1A1A1A 0%, #333333 50%, #000000 100%);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  transition: transform 1.2s cubic-bezier(.16,1,.3,1);
}
.story-section::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.15) 0%,
    rgba(0,0,0,0.05) 30%,
    rgba(0,0,0,0.1) 60%,
    rgba(0,0,0,0.4) 100%
  );
  pointer-events: none;
}
.story-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 720px;
  padding: 100px 40px;
  color: var(--white);
}
.story-content .section-eyebrow {
  color: rgba(255,255,255,0.75);
  margin-bottom: 30px;
}
.story-content .section-eyebrow::before {
  background: var(--accent);
}
.story-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: 1.08;
  letter-spacing: 0.012em;
  color: var(--white);
  margin-bottom: 32px;
  text-shadow: 0 2px 30px rgba(0,0,0,0.25);
}
.story-content p {
  font-size: clamp(1.1rem, 1.5vw, 1.32rem);
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
  margin: 0 auto;
  text-shadow: 0 1px 16px rgba(0,0,0,0.3);
}

/* ── Section "L'avantage Hakaiki" (3 cards écosystème) ──────────── */
.edge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 70px;
}
/* Cards Tapa & Ivoire — même style que tool-card pour cohérence */
.edge-card {
  background: var(--bg);
  border: 1px solid var(--line-warm);
  border-radius: var(--radius);
  padding: 48px 40px 40px;
  position: relative;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-card);
}
.edge-card p strong { color: var(--ink); font-weight: 600; }
/* Filet d'encre qui se dessine en haut de la card au survol */
.edge-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.edge-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--line-strong);
}
.edge-card:hover::before { transform: scaleX(1); }
/* Icône nue Tapa & Ivoire — trait fin, plus de container */
.edge-icon {
  width: 48px; height: 48px;
  background: transparent;
  border: none; box-shadow: none;
  display: flex; align-items: center; justify-content: flex-start;
  color: var(--tapa);
  margin-bottom: 32px;
  transition: color 0.4s cubic-bezier(.16,1,.3,1);
}
.edge-icon svg { width: 40px; height: 40px; stroke-width: 1.25; }
.edge-card:hover .edge-icon { color: var(--ink); }
.edge-card h3 {
  font-size: 1.3rem;
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.edge-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}
.edge-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, gap 0.3s;
  gap: 0;
}
.edge-link:hover {
  color: var(--ink-soft);
  gap: 6px;
}
.edge-conclusion {
  text-align: center;
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 60px auto 0;
  font-style: italic;
  padding-top: 40px;
  border-top: 1px solid var(--line);
  line-height: 1.6;
}
.edge-conclusion strong { color: var(--ink); font-style: normal; font-weight: 600; }

@media (max-width: 900px) {
  .edge-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ── Section "Pourquoi KW" (dark, chiffres clés immo) ───────────── */
.immo-why .section-title { margin-bottom: 24px; max-width: 28ch; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 70px;
}
.why-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7), transparent);
  transform: scaleX(0); transform-origin: center;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.why-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.28);
  transform: translateY(-4px);
}
.why-card:hover::before { transform: scaleX(1); }
.why-number {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  line-height: 1; letter-spacing: 0.005em;
  color: var(--white);
  margin-bottom: 22px; display: block;
}
.why-number-text {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  line-height: 1.15; letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 22px; display: block;
}
.why-number .stat-suffix {
  font-size: 0.45em; color: rgba(255,255,255,0.65);
  margin-left: 4px; vertical-align: middle; font-weight: 500;
}
.why-label {
  font-size: 0.92rem; line-height: 1.55;
  color: rgba(255,255,255,0.75);
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* ── Méthode 4 étapes (timeline horizontale) ────────────────────── */
.method-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 28px; margin-top: 60px; position: relative;
}
.method-grid::before {
  content: ""; position: absolute;
  top: 32px; left: 12%; right: 12%;
  height: 1px; background: var(--line);
  z-index: 0;
}
.method-step {
  position: relative; z-index: 1;
  padding: 0 4px;
}
.method-num {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 400;
  font-size: 1.4rem; letter-spacing: 0.01em;
  color: var(--ink); margin-bottom: 28px;
  transition: all 0.4s cubic-bezier(.16,1,.3,1);
  position: relative;
}
.method-num::after {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; border: 1px solid var(--accent);
  opacity: 0; transition: opacity 0.4s, transform 0.4s;
  transform: scale(0.9);
}
.method-step:hover .method-num {
  background: var(--gray-300); color: var(--ink);
  border-color: var(--gray-300);
}
.method-step:hover .method-num::after { opacity: 1; transform: scale(1); }
.method-step h3 {
  font-size: 1.2rem; margin-bottom: 10px;
}
.method-step p {
  font-size: 0.92rem; line-height: 1.6;
}

@media (max-width: 900px) {
  .why-grid, .method-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .method-grid::before { display: none; }
}

/* ── Chiffres clés (stats grid type Apple) ─────────────────────── */
.stats-section {
  padding: 130px 0 140px;
  background: var(--bg-alt);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 60px auto 0;
}
.stat-card {
  padding: 32px 24px;
  text-align: left;
}
.stat-number {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 4.8vw, 3.8rem);
  line-height: 1;
  letter-spacing: 0.005em;
  color: var(--ink);
  margin-bottom: 14px;
  display: block;
}
.stat-number .stat-suffix {
  font-size: 0.5em;
  color: var(--ink-faint);
  margin-left: 4px;
  vertical-align: middle;
  font-weight: 500;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .story-section { min-height: 80vh; }
  .story-content { padding: 70px 24px; }
}

/* ── Loading screen wizard ──────────────────────────────────────── */
.wizard-loading {
  text-align: center;
  padding: 30px 0 20px;
}
.loading-pulse {
  display: inline-flex; gap: 8px;
  margin-bottom: 10px;
}
.loading-pulse span {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--ink);
  animation: pulse 1.4s ease-in-out infinite;
}
.loading-pulse span:nth-child(2) { animation-delay: 0.2s; }
.loading-pulse span:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse {
  0%, 80%, 100% { opacity: 0.2; transform: scale(0.8); }
  40% { opacity: 1; transform: scale(1.1); }
}
.loading-steps {
  list-style: none; padding: 0; margin: 30px auto 0;
  max-width: 360px; text-align: left;
}
.loading-steps li {
  padding: 10px 16px; margin-bottom: 8px;
  border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink-soft);
  font-size: 0.92rem; transition: all 0.3s;
  display: flex; align-items: center; gap: 8px;
}
.loading-steps li.active {
  background: var(--ink); color: var(--white);
  transform: translateX(6px);
}
.loading-steps li.done {
  background: var(--bg-alt); color: var(--teal);
}
.loading-steps li.done::after { content: " ✓"; margin-left: auto; font-weight: 600; }

/* ── Écran résultat (style "3 prix, 3 stratégies") ─────────────── */
.result-screen { animation: fadeIn 0.5s ease-out; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.result-badge {
  display: inline-block;
  background: var(--gray-100); color: var(--ink);
  padding: 7px 16px; border-radius: var(--radius-pill);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 18px;
}
.result-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: 0.012em;
  margin-bottom: 14px;
  text-align: center;
}
.result-sub {
  text-align: center; font-size: 1rem;
  color: var(--ink-soft); max-width: 56ch; margin: 0 auto 16px;
  line-height: 1.6;
}
.result-confidence {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--gray-100); color: var(--ink);
  padding: 7px 14px; border-radius: var(--radius-pill);
  font-size: 0.85rem; font-weight: 500;
  margin: 8px auto 30px; left: 50%; position: relative; transform: translateX(-50%);
  width: fit-content;
}
.result-confidence .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--kw-red);
}

.result-cards {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin: 30px 0 40px;
}
.result-card {
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 24px;
  position: relative;
}
.result-card-recommended {
  border-color: var(--ink);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}
.result-card-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--ink); color: var(--white);
  font-size: 0.72rem; font-weight: 600;
  padding: 6px 14px; border-radius: var(--radius-pill);
  letter-spacing: 0.05em; white-space: nowrap;
}
.result-card-head {
  display: flex; gap: 12px; align-items: center; margin-bottom: 22px;
}
.result-card-icon {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.result-card-title {
  font-weight: 600; font-size: 1.05rem; color: var(--ink);
}
.result-card-sub {
  font-size: 0.82rem; color: var(--ink-soft);
}
.result-price {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1;
  margin-bottom: 6px;
}
.result-card-recommended .result-price {
  color: var(--ink);
}
.result-price-meta {
  font-size: 0.82rem; color: var(--ink-soft);
  margin-bottom: 20px;
}
.result-card-delay {
  background: var(--bg-soft); padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 14px; font-size: 0.85rem;
}
.result-card-delay span { color: var(--ink-soft); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.result-card-delay strong { font-weight: 600; }
.result-card-strategy {
  text-align: center; font-size: 0.85rem;
  color: var(--ink-soft); padding-top: 4px;
}

.result-info {
  background: var(--bg-soft); padding: 26px 28px;
  border-radius: var(--radius); margin-bottom: 30px;
}
.result-info h3 {
  font-family: var(--font-body); font-size: 0.9rem;
  font-weight: 600; margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.result-info p { font-size: 0.92rem; line-height: 1.65; }

.result-cta {
  display: flex; gap: 14px; justify-content: center;
  flex-wrap: wrap;
}
.result-zone {
  text-align: center; font-size: 0.82rem; color: var(--ink-faint);
  margin-top: 24px;
}

@media (max-width: 900px) {
  .result-cards { grid-template-columns: 1fr; gap: 14px; }
  .result-card-recommended { transform: none; }
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .business-grid, .tools-grid, .articles-grid, .aides-grid {
    grid-template-columns: 1fr;
  }
  .primo-banner {
    grid-template-columns: 1fr; padding: 40px 28px;
  }
  footer .footer-grid {
    grid-template-columns: 1fr 1fr; gap: 30px;
  }
  /* Menu burger (24/08/2026) : la nav ne disparaît plus, elle se replie */
  .nav-burger { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 32px; border-top: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a:first-child { border-top: none; }
  .nav-cta {
    display: inline-block;
    padding: 10px 14px; font-size: 0.8rem; white-space: nowrap;
    margin-left: auto; margin-right: 10px;
  }
  .nav-inner { gap: 10px; padding: 0 20px; }
  .hero { padding: 70px 0 60px; }
  .section { padding: 60px 0; }
}

/* ── Wizard : jauge de précision + bouton facultatif ─────────────── */
/* Ajouté avec le passage en « une question par écran » (2026-08-10).
   La jauge n'apparaît que sur la phase 2 : elle récompense chaque
   réponse facultative, qui améliore réellement le calcul kwestim. */
.precision-bar {
  max-width: 720px;
  margin: 0 auto 18px;
  padding: 0 20px;
}
.precision-track {
  height: 4px;
  background: var(--gray-200, #EDEDED);
  overflow: hidden;
}
.precision-fill {
  height: 100%;
  width: 0;
  background: var(--ink);
  transition: width 0.5s cubic-bezier(.16, 1, .3, 1);
}
.precision-label {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--ink-faint);
  letter-spacing: 0.01em;
}
.precision-label span { color: var(--ink); font-weight: 600; }

/* Bouton « Passer » : présent mais discret — l'action principale
   reste de répondre, pas de sauter. */
.wizard-nav .btn-next.is-ghost {
  background: transparent;
  color: var(--ink-faint);
  border: 1px solid var(--line-strong);
}
.wizard-nav .btn-next.is-ghost:hover {
  background: var(--gray-100, #F5F5F5);
  color: var(--ink);
}

/* ── Confort mobile ──────────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Cibles tactiles : 48px minimum, recommandation WCAG/Apple */
  .option-card { min-height: 96px; padding: 18px 14px; }
  .toggle-row { min-height: 64px; }
  .counter button { min-width: 48px; min-height: 48px; font-size: 1.3rem; }
  .wizard-grid-3, .wizard-grid-4 { grid-template-columns: repeat(2, 1fr); }
  /* Navigation collée en bas : toujours atteignable au pouce */
  .wizard-nav {
    position: sticky;
    bottom: 0;
    background: var(--white, #FFFFFF);
    border-top: 1px solid var(--line);
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    margin: 0 -20px -20px;
    z-index: 20;
  }
  .wizard-nav .btn { min-height: 52px; }
  /* Le stepper 4 phases reste lisible sur petit écran */
  .wizard-step-sub { display: none; }
  .wizard-step-label { font-size: 0.72rem; }
}

/* ── Page wizard : aller droit à la question sur mobile ──────────── */
/* Constat au test : l'en-tête poussait la 1re question à 514 px du
   haut, soit un écran entier de scroll avant de pouvoir répondre.
   Sur mobile on réduit l'accroche au strict nécessaire. */
@media (max-width: 640px) {
  body:has(.wizard-shell) .hero { padding: 22px 0 14px; }
  body:has(.wizard-shell) .hero h1 {
    font-size: 1.45rem !important;
    line-height: 1.2;
    max-width: none !important;
  }
  body:has(.wizard-shell) .hero .lead { display: none; }
  body:has(.wizard-shell) .hero-eyebrow { margin-bottom: 8px; }
  .wizard-shell { padding-top: 0; }
}

/* ── Mentions légales & consentements ────────────────────────────── */
.consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  accent-color: var(--ink);
  cursor: pointer;
}
.consent label {
  font-weight: 400;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-soft);
  cursor: pointer;
}
.consent label strong { color: var(--ink); font-weight: 600; }
.consent-required,
.consent-optional {
  display: inline-block;
  margin-left: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.consent-required { color: var(--kw-red); }

.legal-note {
  margin-top: 14px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.legal-note summary {
  cursor: pointer;
  color: var(--ink-soft);
  font-weight: 500;
  padding: 4px 0;
  list-style: none;
}
.legal-note summary::-webkit-details-marker { display: none; }
.legal-note summary::before { content: "＋ "; color: var(--ink-faint); }
.legal-note[open] summary::before { content: "－ "; }
.legal-note p { margin: 10px 0; line-height: 1.55; font-size: 0.82rem; }
.legal-note strong { color: var(--ink-soft); }

.result-legal {
  margin-top: 28px;
  padding: 16px 18px;
  background: var(--gray-50, #FAFAFA);
  border-left: 2px solid var(--line-strong);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ink-faint);
}
.result-legal strong { color: var(--ink-soft); }

/* ── Page légale : lisible, sobre, jamais mise en avant ─────────── */
.legal-page { max-width: 760px; }
.legal-page section { margin-bottom: 52px; scroll-margin-top: 90px; }
.legal-page h2 {
  font-size: 1.5rem;
  padding-bottom: 12px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 26px 0 8px;
  color: var(--ink);
}
.legal-page p, .legal-page li {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.legal-page ul { padding-left: 18px; margin-bottom: 14px; }
.legal-page li { margin-bottom: 4px; }
.legal-page a { text-decoration: underline; text-underline-offset: 2px; }

.legal-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 46px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.legal-toc a {
  padding: 7px 14px;
  border: 1px solid var(--line-strong);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
}
.legal-toc a:hover { background: var(--ink); color: var(--white, #fff); border-color: var(--ink); }

.legal-table { width: 100%; border-collapse: collapse; margin: 14px 0 18px; font-size: 0.86rem; }
.legal-table th, .legal-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.legal-table th { font-weight: 600; color: var(--ink); background: var(--gray-50, #FAFAFA); }
.legal-table td { color: var(--ink-soft); }

/* Champs que seul Hiro peut renseigner — visibles pour ne pas être oubliés */
.legal-todo {
  background: #FFF3CD;
  color: #7A5B00;
  padding: 1px 7px;
  font-size: 0.82rem;
  font-weight: 600;
}
.legal-note-inline {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--gray-50, #FAFAFA);
  border-left: 2px solid var(--line-strong);
  font-size: 0.84rem !important;
  color: var(--ink-faint) !important;
}
.legal-updated { font-size: 0.8rem !important; color: var(--ink-faint) !important; }

/* Lien de pied de page : présent, discret, jamais dans le menu principal */
.footer-legal-link { color: var(--ink-faint); font-size: 0.82rem; }
.footer-legal-link:hover { color: var(--white, #fff); }

@media (max-width: 640px) {
  .legal-table, .legal-table thead, .legal-table tbody,
  .legal-table tr, .legal-table td { display: block; width: 100%; }
  .legal-table thead { display: none; }
  .legal-table tr { border-bottom: 1px solid var(--line-strong); padding: 10px 0; }
  .legal-table td { border: none; padding: 3px 0; }
  .legal-table td:first-child { font-weight: 600; color: var(--ink); }
}

/* ── Écran adresse : carte Google + GPS (24/08/2026) ─────────────── */
.addr-row { display: flex; gap: 10px; align-items: stretch; }
.addr-row input { flex: 1; }
.addr-gps {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-btn);
  padding: 0 16px; font-family: inherit; font-size: 0.85rem; color: var(--ink);
  cursor: pointer; white-space: nowrap; transition: all 0.2s;
}
.addr-gps:hover { border-color: var(--ink); }
.addr-map {
  margin-top: 14px; height: 300px; width: 100%;
  border: 1px solid var(--line); border-radius: var(--radius-btn);
}
.addr-map-hint {
  margin-top: 8px; font-size: 0.8rem; color: var(--ink-soft);
}
/* Dropdown Places au-dessus du contenu wizard */
.pac-container { z-index: 100; font-family: inherit; border-radius: 0; }
@media (max-width: 640px) {
  .addr-row { flex-direction: column; }
  .addr-gps { padding: 12px 16px; }
  .addr-map { height: 240px; }
}

/* ── Blocs GEO : réponse directe + FAQ (24/08/2026) ──────────────── */
.geo-brief {
  margin-top: -30px; padding-top: 0; padding-bottom: 40px;
  max-width: 820px;
}
.geo-brief p {
  font-size: 1.02rem; line-height: 1.75; color: var(--ink-soft);
  border-left: 2px solid var(--ink); padding-left: 22px;
}
.geo-brief-date {
  border-left: none !important; padding-left: 24px !important;
  font-size: 0.78rem !important; color: var(--ink-soft); opacity: 0.7;
  margin-top: 8px;
}
.faq-section { max-width: 820px; }
.faq-section h2 { margin-bottom: 34px; }
.faq-item { border-top: 1px solid var(--line); padding: 26px 0; }
.faq-item h3 { font-size: 1.08rem; font-weight: 500; margin-bottom: 12px; }
.faq-item p { color: var(--ink-soft); line-height: 1.75; }
