@charset "utf-8";
/* ParcellePlus — feuille de style du site (noir & vert).
   Aucune ressource externe : polices auto-hébergées, compatible CSP "style-src 'self'". */

@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: dark;
  /* Palette de l'application (AppColors) : fond vert très sombre, surfaces, bordures, textes */
  --bg: #07110c;
  --bg-2: #0b1f18;
  --surface: #122a1f;
  --surface-2: #1b3528;
  --line: #1c3629;
  --line-2: #2c4a3c;
  --ink: #f1f4f2;
  --ink-2: #b7c2bc;
  --muted: #8a9a91;
  /* Couleurs des 4 espaces de l'appli */
  --acheter: #4caf50;  --acheter-top: #478d49;  --acheter-bot: #275629;  --acheter-ink: #74bd76;  --acheter-ic: #aedbb0;
  --vendre: #1976d2;   --vendre-top: #2466a1;   --vendre-bot: #133f5d;   --vendre-ink: #5095d1;   --vendre-ic: #98c1eb;
  --louer: #ff9800;    --louer-top: #c07d13;    --louer-bot: #6f4d09;    --louer-ink: #f1ad3e;    --louer-ic: #ffd18c;
  --investir: #e65100; --investir-top: #af4d13; --investir-bot: #653109; --investir-ink: #df7b3e; --investir-ic: #f4b18c;
  --green: #4caf50;
  --green-hi: #7be08f;
  --green-deep: #173524;
  --green-ink: #04140a;
  --warn: #e8c46a;
  --err: #ff8a80;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.2rem;
  --step-2: 1.55rem;
  --step-3: 2.1rem;
  --step-4: clamp(2.1rem, 4.2vw, 3.3rem);

  --radius: 20px;       /* cartes de l'appli */
  --radius-btn: 14px;
  --radius-field: 12px;
  --wrap: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }

a { color: var(--green-hi); text-underline-offset: 3px; }
a:hover { color: #a6f0b3; }
:focus-visible { outline: 2px solid var(--green-hi); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--f-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 750; }
h3 { font-size: var(--step-1); font-weight: 700; font-stretch: 100%; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 20px; }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.eyebrow {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
}
.lead { color: var(--ink-2); font-size: var(--step-1); max-width: 58ch; }
.muted { color: var(--muted); }
.small { font-size: var(--step--1); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--green); color: var(--green-ink); padding: 8px 12px; }

/* ── En-tête ─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 17, 12, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 115%;
  font-size: 1.15rem; color: var(--ink); text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg { width: 32px; height: 32px; flex: none; filter: drop-shadow(0 3px 8px rgba(76, 175, 80, 0.4)); }
.brand b { color: var(--green); font-weight: 800; }
.brand span { font-weight: 900; letter-spacing: -0.02em; }
.site-nav { display: flex; gap: 20px; margin-left: auto; flex-wrap: wrap; align-items: center; }
.site-nav a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--ink); }
@media (max-width: 720px) {
  .site-nav .hide-sm { display: none; }
  .site-header .wrap { gap: 12px; }
}

/* ── Boutons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 0.98rem/1 var(--f-body);
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--green);
  background: var(--green);
  color: var(--green-ink);
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  line-height: 1.2;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn:hover { background: var(--green-hi); border-color: var(--green-hi); color: var(--green-ink); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--green); color: var(--green-hi); }
.btn.sm { padding: 9px 13px; font-size: 0.9rem; }
.btn[disabled], .btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ── Bandeau lancement ───────────────────────────────────── */
.launch {
  border-bottom: 1px solid var(--line);
  background: var(--green-deep);
  color: #d6f5dc;
  font-size: 0.93rem;
}
.launch .wrap { padding-block: 10px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-hi); flex: none; }

/* ── Héro ────────────────────────────────────────────────── */
.hero { padding-block: 72px 56px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.35;
  mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 75% 40%, #000 0%, transparent 65%);
}
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 em { font-style: normal; color: var(--green); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding-top: 8px; max-width: 540px; align-items: start; }
.hero-facts div { display: grid; gap: 2px; }
.hero-facts b { font-family: var(--f-display); font-size: clamp(1.15rem, 3.4vw, 1.5rem); font-stretch: 110%; white-space: nowrap; }
.hero-facts span { color: var(--muted); font-size: 0.85rem; }
@media (max-width: 900px) {
  .hero { padding-block: 48px 40px; }
  .hero .wrap { grid-template-columns: 1fr; }
}

/* Fiche parcelle */
.plot {
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(76, 175, 80, 0.25);
}
.plot-head {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-2);
}
.plot-head b { color: var(--ink); font-weight: 500; }
.plot-map { display: block; width: 100%; height: auto; background: var(--bg-2); }
.plot-map .other { fill: none; stroke: #2a3d32; stroke-width: 1.2; }
.plot-map .road { fill: #111a15; stroke: none; }
.plot-map .road-label { fill: #5c6e63; font: 500 9px var(--f-mono); letter-spacing: 0.08em; }
.plot-map .num { fill: #56695e; font: 400 9px var(--f-mono); }
.plot-map .target { fill: rgba(76, 175, 80, 0.16); stroke: var(--green-hi); stroke-width: 2; stroke-linejoin: round; }
.plot-map .target-num { fill: var(--green-hi); font: 500 12px var(--f-mono); }
.plot-map .bati { fill: #1d2b24; stroke: #34493d; stroke-width: 1; }
.plot-map .zone-line { fill: none; stroke: var(--warn); stroke-width: 1.2; stroke-dasharray: 5 4; }
.plot-map .zone-label { fill: var(--warn); font: 500 10px var(--f-mono); }
.plot-map .north { fill: var(--ink-2); font: 600 10px var(--f-mono); }
.plot-map .north-arrow { fill: var(--ink-2); }
.plot-map .scale { stroke: var(--ink-2); stroke-width: 1.5; fill: none; }
.plot-map .scale-label { fill: var(--ink-2); font: 400 9px var(--f-mono); }
@media (prefers-reduced-motion: no-preference) {
  .plot-map .target { stroke-dasharray: 900; stroke-dashoffset: 0; animation: trace 1.6s ease-out 0.2s both; }
  @keyframes trace { from { stroke-dashoffset: 900; } to { stroke-dashoffset: 0; } }
}
.plot-data { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.plot-data div { padding: 12px 16px; display: grid; gap: 2px; border-right: 1px solid var(--line); }
.plot-data div:last-child { border-right: 0; }
.plot-data span { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.plot-data b { font-family: var(--f-mono); font-weight: 500; font-size: 0.98rem; font-variant-numeric: tabular-nums; }
.plot-data b.g { color: var(--green-hi); }
.plot-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-size: 0.78rem; color: var(--muted); }
@media (max-width: 460px) {
  .plot-data { grid-template-columns: 1fr 1fr; }
  .plot-data div:nth-child(2) { border-right: 0; }
  .plot-data div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
}

/* ── Sections ────────────────────────────────────────────── */
.section { padding-block: 88px; border-bottom: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 760px; }
@media (max-width: 720px) { .section { padding-block: 60px; } }

/* Usages (4 hubs de l'app) */
.hubs { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hub { padding: 26px 22px 28px; display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--line); background: var(--bg); }
.hub:last-child { border-right: 0; }
.hub-tag { font-family: var(--f-mono); font-size: 0.75rem; color: var(--green); letter-spacing: 0.08em; text-transform: uppercase; }
.hub ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); font-size: 0.95rem; }
.hub li { padding-left: 16px; position: relative; }
.hub li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px; border: 1.5px solid var(--green); }
@media (max-width: 980px) {
  .hubs { grid-template-columns: 1fr 1fr; }
  .hub:nth-child(2) { border-right: 0; }
  .hub:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .hubs { grid-template-columns: 1fr; }
  .hub { border-right: 0; border-bottom: 1px solid var(--line); }
  .hub:last-child { border-bottom: 0; }
}

/* Outils pro */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tool {
  display: grid; grid-template-columns: auto 1fr; gap: 6px 18px;
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.tool .ic {
  grid-row: span 2; width: 44px; height: 44px; border-radius: 8px;
  display: grid; place-items: center; background: var(--green-deep); color: var(--green-hi);
}
.tool .ic svg { width: 22px; height: 22px; }
.tool p { color: var(--ink-2); font-size: 0.95rem; }
.tool .plan { font-family: var(--f-mono); font-size: 0.72rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) { .tools { grid-template-columns: 1fr; } }

/* Sources de données */
.sources { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.source { background: var(--bg); padding: 18px; display: grid; gap: 4px; }
.source b { font-family: var(--f-mono); font-weight: 500; color: var(--ink); }
.source span { color: var(--muted); font-size: 0.88rem; }

/* ── Tarifs ──────────────────────────────────────────────── */
.billing-toggle {
  display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); gap: 4px;
}
.billing-toggle button {
  font: 600 0.9rem/1 var(--f-body); padding: 10px 16px; border-radius: 999px; border: 0;
  background: transparent; color: var(--ink-2); cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--green); color: var(--green-ink); }
.billing-toggle .save { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; margin-left: 6px; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; align-items: stretch; }
.plan-card {
  display: flex; flex-direction: column; gap: 16px;
  padding: 24px 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg-2);
}
.plan-card.featured { border-color: var(--green); background: linear-gradient(180deg, #0f2218 0%, var(--bg-2) 60%); }
.plan-top { display: grid; gap: 6px; min-height: 92px; }
.plan-name { display: flex; align-items: center; gap: 8px; justify-content: space-between; }
.badge {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; background: var(--green); color: var(--green-ink); font-weight: 500;
}
.badge.soft { background: var(--green-deep); color: var(--green-hi); }
.plan-for { color: var(--muted); font-size: 0.9rem; }
.price { display: grid; gap: 4px; }
.price-main { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.price-main b { font-family: var(--f-display); font-stretch: 105%; font-size: 2.3rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.price-main span { color: var(--ink-2); font-size: 0.9rem; }
.price-alt { color: var(--muted); font-size: 0.82rem; min-height: 2.6em; }
.plan-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: 0.92rem; color: var(--ink-2); flex: 1; }
.plan-card li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.plan-card li svg { width: 16px; height: 16px; margin-top: 3px; color: var(--green); }
.plan-card .btn { width: 100%; }
.plan-note { font-size: 0.78rem; color: var(--muted); text-align: center; }
@media (max-width: 1060px) { .plans { grid-template-columns: 1fr 1fr; } }
@media (max-width: 580px) { .plans { grid-template-columns: 1fr; } .plan-top { min-height: 0; } }

.units-wrap { margin-top: 40px; display: grid; gap: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.units { width: 100%; border-collapse: collapse; font-size: 0.93rem; min-width: 420px; }
table.units th, table.units td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
table.units tr:last-child td { border-bottom: 0; }
table.units th { font-family: var(--f-mono); font-weight: 500; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--surface); }
table.units td.num { text-align: right; font-family: var(--f-mono); font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; }
table.units th.num { text-align: right; }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 36px 20px 0; position: relative;
  font-family: var(--f-display); font-stretch: 100%; font-weight: 650; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--f-mono); font-size: 1.3rem; color: var(--green);
}
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 22px; color: var(--ink-2); max-width: 68ch; display: grid; gap: 10px; }

/* ── Appel final ─────────────────────────────────────────── */
.final { padding-block: 80px; }
.final .wrap { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
@media (max-width: 760px) { .final .wrap { grid-template-columns: 1fr; } }

/* ── Pied de page ────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 44px; color: var(--muted); font-size: 0.9rem; }
.site-footer .wrap { display: flex; gap: 20px 32px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.site-footer nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--green-hi); }

/* ── Pages compte / pro / merci ──────────────────────────── */
.page { padding-block: 48px 72px; }
.page-head { display: grid; gap: 12px; margin-bottom: 28px; max-width: 720px; }
.panel { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 24px; }
.panel h2 { font-size: var(--step-2); margin-bottom: 8px; }
.stack { display: grid; gap: 16px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }

.form { display: grid; gap: 14px; max-width: 420px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9rem; color: var(--ink-2); }
.field input {
  font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line-2);
  border-radius: var(--radius-field); padding: 11px 12px; width: 100%;
}
.field input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2); }
.msg { min-height: 1.4em; font-size: 0.93rem; }
.msg.err { color: var(--err); }
.msg.ok { color: var(--green-hi); }
.notice { border: 1px solid #3c5a2e; background: #10200f; color: #d6f5dc; border-radius: 10px; padding: 14px 16px; }
.status-line { display: flex; gap: 10px 16px; flex-wrap: wrap; align-items: center; }
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 10px 20px; margin: 0 0 20px; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.plan-card.selected { outline: 2px solid var(--green-hi); outline-offset: 2px; }
.center { text-align: center; }
.done-mark { width: 56px; height: 56px; margin: 0 auto 8px; color: var(--green-hi); }

/* ── Pages juridiques ────────────────────────────────────── */
.legal { max-width: 820px; }
.legal article { display: grid; gap: 14px; line-height: 1.7; color: var(--ink-2); }
.legal h1 { font-size: var(--step-3); color: var(--ink); }
.legal h2 { font-size: var(--step-1); font-stretch: 105%; color: var(--ink); margin-top: 22px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.legal h3 { font-size: 1.02rem; color: var(--ink); margin-top: 8px; }
.legal ul, .legal ol { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.legal table { border-collapse: collapse; width: 100%; font-size: 0.93rem; min-width: 520px; }
.legal th, .legal td { border: 1px solid var(--line); padding: 9px 10px; text-align: left; vertical-align: top; }
.legal th { background: var(--surface); color: var(--ink); }
.legal .meta { color: var(--muted); }
mark.todo { background: #3a3110; color: #ffe39a; padding: 1px 6px; border-radius: 4px; font-weight: 600; }
.callout { background: #231d0b; color: #f5dd9a; border: 1px solid #5a4a18; border-radius: 10px; padding: 12px 14px; }
.center .lead { margin-inline: auto; }
.justify-center { justify-content: center; }

/* ── Aperçu de l'appli : écran d'accueil reproduit en dp natifs (412 × 915), mis à l'échelle ── */
.hero-visual { display: flex; justify-content: center; }
.phone {
  --s: 0.7282;                       /* 300 px d'écran / 412 dp */
  width: calc(412px * var(--s) + 20px);
  border-radius: 44px;
  padding: 10px;
  background: #0c1410;
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 90px -30px rgba(76, 175, 80, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
@media (max-width: 360px) { .phone { --s: 0.64; } }
.phone-screen {
  width: calc(412px * var(--s));
  height: calc(915px * var(--s));
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: #0b1f18;
}
.app {
  position: absolute; top: 0; left: 0;
  width: 412px; height: 915px;
  transform: scale(var(--s)); transform-origin: 0 0;
  font-family: Roboto, var(--f-body);
  color: #f1f4f2;
}
.app svg { display: block; }
.app-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: fill; }
.app-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.1) 24%, rgba(0,0,0,.1) 100%); }
.app > *:not(.app-bg):not(.app-veil) { position: relative; }

.app-status { height: 40px; display: flex; justify-content: space-between; align-items: center; padding: 0 26px; font: 600 15px/1 var(--f-body); color: #fff; }
.app-status-ic { display: flex; gap: 5px; align-items: flex-end; }
.app-status-ic i { display: block; width: 5px; background: #fff; border-radius: 1px; }
.app-status-ic i:nth-child(1) { height: 7px; } .app-status-ic i:nth-child(2) { height: 10px; } .app-status-ic i:nth-child(3) { height: 13px; width: 20px; border-radius: 3px; }

.app-head { display: flex; align-items: center; padding: 18px 14px 0 20px; }
.app-logo { width: 70px; height: 70px; border-radius: 50%; box-shadow: 0 5px 22px rgba(76, 175, 80, 0.4); flex: none; }
.app-logo svg { width: 70px; height: 70px; }
.app-who { display: grid; gap: 4px; margin-left: 14px; flex: 1; min-width: 0; }
.app-hello { color: #263238; font-size: 10px; font-weight: 700; letter-spacing: 1.8px; line-height: 1; }
.app-name { color: #fff; font-size: 26px; font-weight: 900; letter-spacing: -0.9px; line-height: 1.05; text-shadow: 0 0 8px rgba(0,0,0,.4); }
.app-hbtn {
  width: 40px; height: 40px; margin: 2px; border-radius: 12px; flex: none;
  display: grid; place-items: center; position: relative;
  background: #1b3528; border: 0.6px solid #2c4a3c; color: rgba(241, 244, 242, .85);
}
.app-hbtn + .app-hbtn { margin-left: 6px; }
.app-hbtn svg { width: 20px; height: 20px; }
.app-hbtn-dot::after { content: ""; position: absolute; top: 4px; right: 4px; width: 9px; height: 9px; border-radius: 50%; background: #d32f2f; border: 1.2px solid #0b1f18; }

.app-est {
  margin-top: 18px; height: 148px; border-radius: 24px; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #4caf50 0%, #336967 50%, #1a237e 100%);
  box-shadow: 0 8px 22px -4px rgba(51, 146, 145, .28);
  padding: 18px 20px;
  display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
}
.app-est-topo { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: rgba(255,255,255,.08); stroke-width: 1; }
.app-est-pin { position: absolute; top: 18px; right: 26px; width: 22px; height: 22px; border-radius: 50%; background: rgba(230, 81, 0, .32); display: grid; place-items: center; }
.app-est-pin i { width: 10px; height: 10px; border-radius: 50%; background: #e65100; }
.app-est-pill { position: relative; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.2); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: 1.2px; white-space: pre; }
.app-est-pill svg { width: 12px; height: 12px; fill: #fff; stroke: none; }
.app-est-title { position: relative; color: #fff; font-size: 30px; font-weight: 900; letter-spacing: -1.1px; line-height: 1; }
.app-est-go { position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #1a237e; display: grid; place-items: center; box-shadow: 0 3px 8px rgba(0,0,0,.2); }
.app-est-go svg { width: 22px; height: 22px; }

.app-stats { margin-top: 22px; display: flex; justify-content: center; gap: 10px; padding: 0 14px; }
.app-stat {
  width: 84px; height: 56px; padding: 10px; border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between;
  background: #1b3528; border: 0.6px solid rgba(44, 74, 60, .4); color: var(--st);
}
.app-stat svg { width: 20px; height: 20px; }
.app-stat b { font-size: 22px; font-weight: 900; letter-spacing: -0.8px; line-height: 1; font-variant-numeric: tabular-nums; }
.st-fav { --st: #d32f2f; } .st-alert { --st: #ff9800; } .st-agenda { --st: #4caf50; } .st-msg { --st: #1976d2; }

.app-section { margin: 22px 0 0; padding: 0 20px; font-size: 20px; font-weight: 900; letter-spacing: -0.6px; line-height: 1; color: #f1f4f2; text-shadow: 0 1px 10px rgba(0,0,0,.6); }

.app-bento { margin-top: 14px; padding: 0 14px; position: relative; }
.bento {
  display: grid; gap: 10px;
  -webkit-mask: radial-gradient(circle at 50% 50%, transparent 41px, #000 41.5px);
          mask: radial-gradient(circle at 50% 50%, transparent 41px, #000 41.5px);
}
.bento { grid-template-columns: repeat(10, 1fr); grid-template-areas: "a a a a a a v v v v" "l l l l l i i i i i"; } /* 3:2 puis 1:1 */
.b-acheter { grid-area: a; } .b-vendre { grid-area: v; } .b-louer { grid-area: l; } .b-investir { grid-area: i; }
.b-card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 130px; padding: 14px; border-radius: 20px;
  background: linear-gradient(135deg, var(--c-top), var(--c-bot));
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c) 22%, transparent);
}
.b-card.b-large { min-height: 160px; }
.b-top { display: flex; justify-content: space-between; align-items: flex-start; width: 100%; margin-bottom: auto; }
.b-ic {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none;
  background: color-mix(in srgb, var(--c) 22%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--c) 38%, transparent);
  color: var(--c-ic);
}
.b-ic svg { width: 24px; height: 24px; }
.b-badge { background: rgba(0,0,0,.32); color: var(--c-ink); font-size: 9px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 9px; border-radius: 8px; line-height: 1.2; }
.b-title { color: var(--c-ink); font-size: 18px; font-weight: 800; letter-spacing: -0.3px; line-height: 1; margin-top: 12px; }
.b-go { margin-top: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.18); display: grid; place-items: center; color: #fff; }
.b-go svg { width: 14px; height: 14px; }
.b-seg { margin-top: 8px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px; background: rgba(0,0,0,.28); }
.b-seg i { font-style: normal; height: 28px; display: grid; place-items: center; border-radius: 8px; font-size: 12px; font-weight: 700; color: #fff; }
.b-seg i.on { background: #fff; color: rgba(0,0,0,.87); }
.app-3d {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 66px; height: 66px; border-radius: 50%;
  display: grid; place-items: center;
  background: #0e2a1b; border: 2px solid #1f5c3a; box-shadow: 0 6px 16px rgba(0,0,0,.45);
  color: #bdbdbd; font-size: 22px; font-weight: 900; letter-spacing: .5px;
}

.app-actions { margin-top: 22px; padding: 0 14px; display: grid; grid-template-columns: 3fr 2fr 4fr; gap: 8px; }
.act {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px; border-radius: 14px; background: #122a1f;
  border: 0.6px solid color-mix(in srgb, var(--a) 38%, transparent);
  color: var(--a-ink); font-size: 12.5px; font-weight: 700; letter-spacing: -0.1px; white-space: nowrap;
}
.act svg { width: 15px; height: 15px; flex: none; }
.act-help { --a: #7b1fa2; --a-ink: #b27dc9; } .act-cgu { --a: #00838f; --a-ink: #6bb7be; } .act-out { --a: #d32f2f; --a-ink: #e58686; }

.b-acheter, .hub-acheter  { --c: var(--acheter);  --c-top: var(--acheter-top);  --c-bot: var(--acheter-bot);  --c-ink: var(--acheter-ink);  --c-ic: var(--acheter-ic); }
.b-vendre, .hub-vendre    { --c: var(--vendre);   --c-top: var(--vendre-top);   --c-bot: var(--vendre-bot);   --c-ink: var(--vendre-ink);   --c-ic: var(--vendre-ic); }
.b-louer, .hub-louer      { --c: var(--louer);    --c-top: var(--louer-top);    --c-bot: var(--louer-bot);    --c-ink: var(--louer-ink);    --c-ic: var(--louer-ic); }
.b-investir, .hub-investir{ --c: var(--investir); --c-top: var(--investir-top); --c-bot: var(--investir-bot); --c-ink: var(--investir-ink); --c-ic: var(--investir-ic); }

/* Espaces de l'appli sur le site : mêmes couleurs que les cartes */
.hubs { gap: 14px; border: 0; border-radius: 0; overflow: visible; }
.hub {
  border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line));
  border-radius: var(--radius);
  background: linear-gradient(180deg, color-mix(in srgb, var(--c-bot) 45%, var(--bg-2)) 0%, var(--bg-2) 55%);
}
.hub:last-child, .hub:nth-child(2) { border-right: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.hub:nth-child(-n+2) { border-bottom: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.hub .hub-head { display: flex; align-items: center; gap: 12px; }
.hub .b-ic { width: 44px; height: 44px; border-radius: 14px; }
.hub .b-ic svg { width: 22px; height: 22px; }
.hub-tag { color: var(--c-ink); }
.hub h3 { color: var(--ink); }
.hub li::before { border-color: var(--c); border-radius: 2px; }
@media (max-width: 980px) { .hub:nth-child(2) { border-right: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); } }
@media (max-width: 560px) { .hub { border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); } .hub:last-child { border-bottom: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); } }

/* Données + fiche parcelle */
.data-split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.data-split .sources { grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .data-split { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .data-split .sources { grid-template-columns: 1fr; } }
.tool .ic { border-radius: 14px; }
.billing-toggle button[aria-pressed="true"] { color: var(--green-ink); }

/* ── Pages des espaces (acheter, vendre, louer, investir, pros) ─────────── */
.pro-page { --c: var(--green); --c-top: #1f5c3a; --c-bot: #0e2a1b; --c-ink: var(--green-hi); --c-ic: #aedbb0; }
.space-hero { padding-block: 64px 56px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 85% 0%, color-mix(in srgb, var(--c-bot) 70%, transparent) 0%, transparent 60%); }
.space-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
.space-hero .eyebrow { color: var(--c-ink); display: inline-flex; align-items: center; gap: 10px; }
.space-hero .eyebrow .b-ic { width: 36px; height: 36px; border-radius: 12px; }
.space-hero .eyebrow .b-ic svg { width: 18px; height: 18px; }
.space-hero h1 em { font-style: normal; color: var(--c-ink); }
.space-hero .hero-copy { display: grid; gap: 20px; }
@media (max-width: 900px) { .space-hero .wrap { grid-template-columns: 1fr; } .space-hero { padding-block: 44px 40px; } }

/* Maquette d'écran (exemple) */
.mock {
  background: #0b1f18; border: 1px solid color-mix(in srgb, var(--c) 35%, var(--line-2)); border-radius: 24px;
  padding: 18px; display: grid; gap: 12px; box-shadow: 0 30px 70px -30px color-mix(in srgb, var(--c) 45%, transparent);
  max-width: 440px; width: 100%; justify-self: center; font-variant-numeric: tabular-nums;
}
.mock-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mock-head b { font-family: var(--f-display); font-stretch: 105%; font-size: 1.05rem; }
.mock-tag { font: 500 0.68rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 4px 8px; }
.mock-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-tabs span { font-size: 0.8rem; padding: 6px 10px; border-radius: 10px; background: #122a1f; color: var(--ink-2); }
.mock-tabs span.on { background: var(--c); color: #fff; }
.mock-big { display: grid; gap: 2px; padding: 16px; border-radius: 18px; background: linear-gradient(135deg, var(--c-top), var(--c-bot)); }
.mock-big small { color: rgba(255,255,255,.75); font-size: 0.78rem; }
.mock-big b { font: 800 2rem/1.1 var(--f-display); font-stretch: 105%; color: #fff; }
.mock-big span { color: rgba(255,255,255,.85); font-size: 0.85rem; }
.mock-rows { display: grid; gap: 6px; }
.mock-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #122a1f; font-size: 0.86rem; color: var(--ink-2); }
.mock-row b { color: var(--ink); font-weight: 600; font-family: var(--f-mono); font-size: 0.84rem; }
.mock-row.total { background: color-mix(in srgb, var(--c) 18%, #122a1f); }
.mock-row.total b { color: var(--c-ink); }
.mock-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mock-chips span { font-size: 0.78rem; padding: 6px 10px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-2); }
.mock-chips span.on { border-color: var(--c); color: var(--c-ink); background: color-mix(in srgb, var(--c) 14%, transparent); }
.mock-note { font-size: 0.74rem; color: var(--muted); }
.mock-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mock-kpi { padding: 12px; border-radius: 14px; background: #1b3528; display: grid; gap: 2px; }
.mock-kpi small { color: var(--muted); font-size: 0.74rem; }
.mock-kpi b { font: 800 1.25rem/1.1 var(--f-display); color: var(--ink); }
.mock-kpi b.g { color: var(--c-ink); }

/* Blocs de fonctionnalités */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.feat .b-ic { width: 44px; height: 44px; border-radius: 14px; }
.feat .b-ic svg { width: 22px; height: 22px; }
.feat p { color: var(--ink-2); font-size: 0.95rem; }
.feat ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; color: var(--ink-2); font-size: 0.92rem; }
.feat li { padding-left: 16px; position: relative; }
.feat li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border: 1.5px solid var(--c); border-radius: 2px; }
.feat .plan-chip { justify-self: start; font: 500 0.7rem/1 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; padding: 5px 8px; border-radius: 8px; background: rgba(0,0,0,.3); color: var(--c-ink); }
.feat.wide { grid-column: span 2; }
@media (max-width: 980px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .feat-grid { grid-template-columns: 1fr; } .feat.wide { grid-column: auto; } }

/* Déroulé réel dans l'appli (ordre = information) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; counter-reset: st; }
.steps li { counter-increment: st; padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--bg); display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(st); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 600 0.9rem/1 var(--f-mono); color: var(--c-ink); border: 1.5px solid var(--c); }
.steps b { font-family: var(--f-display); font-stretch: 100%; font-size: 1.05rem; }
.steps span { color: var(--ink-2); font-size: 0.93rem; }

/* Tableau « inclus dans quelle offre » */
table.matrix { width: 100%; border-collapse: collapse; font-size: 0.92rem; min-width: 560px; }
table.matrix th, table.matrix td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: center; }
table.matrix th:first-child, table.matrix td:first-child { text-align: left; color: var(--ink); }
table.matrix thead th { font: 500 0.74rem/1.2 var(--f-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); background: var(--surface); }
table.matrix td { color: var(--ink-2); font-variant-numeric: tabular-nums; }
table.matrix td.yes { color: var(--green-hi); font-weight: 600; }
table.matrix td.no { color: var(--muted); }
table.matrix tr:last-child td { border-bottom: 0; }

.disclaimer { font-size: 0.85rem; color: var(--muted); border-left: 2px solid var(--line-2); padding-left: 12px; max-width: 75ch; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 28px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--c-bot) 80%, var(--bg-2)), var(--bg-2)); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); }
.cta-band h2 { font-size: var(--step-2); }

/* Liens entre espaces */
.space-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.space-link { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; text-decoration: none; color: var(--ink); background: var(--bg-2); border: 1px solid color-mix(in srgb, var(--c) 30%, var(--line)); font-weight: 600; font-size: 0.95rem; }
.space-link:hover { color: var(--ink); border-color: var(--c); }
.space-link .b-ic { width: 34px; height: 34px; border-radius: 11px; }
.space-link .b-ic svg { width: 17px; height: 17px; }
.space-link[aria-current="page"] { background: color-mix(in srgb, var(--c-bot) 60%, var(--bg-2)); }
@media (max-width: 900px) { .space-links { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .space-links { grid-template-columns: 1fr 1fr; } }

.hub-more { margin-top: auto; padding-top: 6px; color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.hub-more:hover { color: var(--ink); }
.hub { display: flex !important; flex-direction: column; gap: 12px; }

/* Pied de page en colonnes */
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; width: 100%; }
.footer-grid h4 { margin: 0 0 10px; font: 500 0.74rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-grid p { color: var(--muted); max-width: 34ch; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-blurb { margin-top: 12px; }

.disclaimer { margin-top: 20px; }
@media (min-width: 900px) { .steps:has(> li:nth-child(6)) { grid-template-columns: repeat(3, 1fr); } }

/* Menu mobile (sans JavaScript) */
.mnav { display: none; position: relative; }
.mnav summary {
  list-style: none; cursor: pointer; padding: 8px 14px; border-radius: var(--radius-btn);
  border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 0.92rem;
}
.mnav summary::-webkit-details-marker { display: none; }
.mnav[open] summary { border-color: var(--green); color: var(--green-hi); }
.mnav-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px;
  display: grid; gap: 2px; padding: 8px; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.site-nav .mnav-panel a { padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-size: 0.98rem; }
.site-nav .mnav-panel a:hover, .site-nav .mnav-panel a[aria-current="page"] { background: var(--surface); color: var(--ink); }
@media (max-width: 720px) { .mnav { display: block; } }

.footer-title { margin: 0 0 10px; font: 500 0.74rem/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 520px) { .space-links > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* Exemples du plan d'aménagement et du simulateur 3D de l'application. */
#amenagement, #outils-amenagement { scroll-margin-top: 90px; }
.project-showcase { background: var(--bg-2); border-block: 1px solid var(--line); }
.project-views { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.65fr); gap: 20px; }
.project-view { margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg); }
.project-image { display: block; position: relative; height: 410px; background: #e5e5cf; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: contain; }
.project-scene .project-image { background: #091b20; }
.project-scene .project-image img { object-fit: contain; }
.project-image-label { position: absolute; bottom: 14px; left: 14px; max-width: calc(100% - 28px); padding: 7px 12px; border-radius: 9px; background: #07110ce8; color: var(--ink); font-size: 0.8rem; font-weight: 600; }
.project-image:hover .project-image-label { background: var(--green-deep); }
.project-view figcaption { display: grid; gap: 10px; padding: 22px; }
.project-view figcaption p { color: var(--ink-2); font-size: 0.95rem; }
.project-showcase-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
.project-showcase-foot p { max-width: 66ch; }
.project-hero { margin: 0; overflow: hidden; width: 100%; border: 1px solid var(--line-2); border-radius: 24px; background: var(--bg-2); }
.project-hero img { display: block; width: 100%; height: auto; }
.project-hero figcaption { padding: 20px; display: grid; gap: 8px; color: var(--ink-2); }
@media (max-width: 760px) {
  .project-views { grid-template-columns: 1fr; }
  .project-image { height: auto; }
  .project-plan .project-image img { max-height: 460px; height: auto; object-fit: contain; }
  .project-scene .project-image img { height: auto; }
  .project-view figcaption { padding: 20px; }
}

.terrain-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; }
.terrain-view { min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--line-2); border-radius: 20px; background: var(--bg-2); }
.terrain-view > a { display: block; position: relative; height: 290px; overflow: hidden; background: #091b20; }
.terrain-view img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.terrain-view > a:hover img { transform: scale(1.025); }
.terrain-view > a > span { position: absolute; bottom: 16px; left: 16px; max-width: calc(100% - 32px); padding: 8px 12px; background: #071b1aee; border-radius: 9px; color: white; font-size: .8rem; font-weight: 600; }
.terrain-view figcaption { padding: 22px; color: var(--ink-2); font-size: .96rem; line-height: 1.65; }
.terrain-credit { margin-top: 18px; }
@media (max-width: 760px) {
  .terrain-view > a { height: auto; aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) { .terrain-view img { transition: none; } }

.space-hero .wrap > * { min-width: 0; }
