/* Palette « Fenêtres » (spec, section 10) */
:root {
  --bg: #F3F6F8; --surface: #FFFFFF; --text: #152C3A; --muted: #4F6170;
  --accent: #075F73; --accent-text: #FFFFFF; --accent2: #614BB0;
  --ok: #216843; --warn: #965000; --line: rgba(21, 44, 58, .12);
  --wall: #E4EAEE; --bezel: #F7F9FA;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10191F; --surface: #1B2831; --text: #EEF4F7; --muted: #A3B3BD;
    --accent: #79D4E5; --accent-text: #0B2630; --accent2: #BBAAFF;
    --ok: #83D9AA; --warn: #FFC478; --line: rgba(238, 244, 247, .14);
    --wall: #1B2831; --bezel: #24343F;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
}
a { color: inherit; }

.top, main, footer { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.top { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.mark { width: 40px; height: 20px; fill: var(--accent); }
.lang {
  min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); font-family: inherit; font-weight: 600; font-size: 14px; cursor: pointer;
}

.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding: 40px 0 64px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-weight: 600; font-size: 15px; }
h1 { margin: 0 0 16px; font-size: clamp(36px, 5.2vw, 60px); line-height: 1.05; letter-spacing: -.025em; }
.lead { margin: 0 0 28px; color: var(--muted); font-size: 19px; max-width: 34em; }

.signup { display: grid; gap: 12px; max-width: 520px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
input[type=email], select {
  min-height: 52px; padding: 0 16px; border: 1px solid var(--line); border-radius: 12px;
  background: var(--surface); color: var(--text); font: inherit;
}
select { padding-right: 12px; }
input[type=email]:focus-visible, select:focus-visible, button:focus-visible, .lang:focus-visible, .consent input:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.signup button {
  min-height: 52px; border: 0; border-radius: 12px; background: var(--accent); color: var(--accent-text);
  font-family: inherit; font-weight: 600; font-size: 17px; cursor: pointer;
}
.signup button:disabled { opacity: .6; cursor: progress; }
.msg { margin: 0; min-height: 1.5em; font-size: 15px; font-weight: 500; }
.msg.ok { color: var(--ok); }
.msg.err { color: var(--warn); }
.founder { margin: 20px 0 0; font-size: 15px; color: var(--muted); }
.founder strong { color: var(--accent2); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.visual { position: relative; margin: 0; justify-self: center; width: min(100%, 380px); }
.window { display: block; width: 100%; height: auto; }
.window .wall { fill: var(--wall); }
.window .bezel { fill: var(--bezel); stroke: var(--line); }
.window .glare { fill: #fff; opacity: .08; }

.card {
  position: absolute; display: flex; gap: 12px; align-items: center;
  padding: 12px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  font-size: 13px; color: var(--muted); white-space: nowrap;
}
.card strong { display: block; font-size: 15px; color: var(--text); font-variant-numeric: tabular-nums; }
.card-slot { top: 16%; left: -18%; }
.card-crew { bottom: 12%; right: -14%; }
.slot-city {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--accent); color: var(--accent-text); font-weight: 700; font-size: 14px; letter-spacing: .04em;
}
.faces { display: flex; }
.faces i {
  display: grid; place-items: center; width: 32px; height: 32px; margin-left: -8px; border-radius: 50%;
  border: 2px solid var(--surface); background: var(--accent2); color: var(--surface);
  font-style: normal; font-weight: 700; font-size: 11px;
}
.faces i:first-child { margin-left: 0; }
.faces i:nth-child(2) { background: var(--accent); }
.faces i:nth-child(3) { background: var(--ok); }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 0 0 64px; }
.features article { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.features h2 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.01em; }
.features p { margin: 0; color: var(--muted); font-size: 16px; }

footer { padding-bottom: 40px; color: var(--muted); font-size: 13px; }
footer p { margin: 4px 0; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 16px; }
  .visual { width: min(78%, 340px); }
  .card-slot { left: -14%; }
  .card-crew { right: -12%; }
  .features { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 480px) {
  .row { grid-template-columns: 1fr; }
  .card { padding: 10px 12px; }
  .card strong { font-size: 14px; }
  .card-slot { left: -10%; }
  .card-crew { right: -10%; }
}
