@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("fonts/manrope-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #18222d;
  --ink-soft: #2a3642;
  --text: #2d3742;
  --muted: #5d6772;
  --paper: #f4f2ed;
  --surface: #fbfaf7;
  --line: #dcd7cc;
  --brass: #a98b5d;
  --brass-text: #7a6238;
  --brass-light: #c9ad80;
  --error: #9c2f25;
  --ok: #2d5f46;
  --radius: 10px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd { margin: 0; }
ol, ul { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
}
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 20; }
.skip:focus { left: 12px; top: 12px; }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-text);
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font: inherit;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn[disabled] { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 40px; padding: 0 18px; font-size: 0.9rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 242, 237, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; flex: none; }
.logo { display: block; height: 38px; width: auto; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
}
.nav a:hover { color: var(--ink); border-bottom-color: var(--brass); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  color: var(--ink);
}
.lang:hover { border-color: var(--ink); }

/* Hero */
.hero { padding: 84px 0 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.lede { margin-top: 24px; max-width: 34em; font-size: 1.18rem; color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.route-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 30px 30px 34px;
  box-shadow: 0 1px 0 #fff inset, 0 24px 48px -32px rgba(24, 34, 45, 0.35);
}
.route-label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.route li { position: relative; display: flex; gap: 18px; padding-top: 24px; }
.route li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 64px;
  bottom: -22px;
  width: 1.5px;
  background: var(--line);
}
.route-num {
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.route li:last-child .route-num { background: var(--brass); }
.route strong { display: block; color: var(--ink); font-weight: 700; line-height: 1.3; }
.route div span { display: block; margin-top: 3px; font-size: 0.94rem; color: var(--muted); line-height: 1.45; }

.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 84px;
  border-top: 1px solid var(--line);
}
.facts div { padding: 26px 24px 30px 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin-top: 6px; font-size: 1.08rem; font-weight: 700; color: var(--ink); }

/* Sections */
.section { padding: 104px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--surface); }
.section-head { max-width: 720px; }
.intro { margin-top: 20px; font-size: 1.1rem; max-width: 38em; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
.steps li { padding-top: 22px; border-top: 2px solid var(--ink); }
.step-num { display: block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--brass-text); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.steps p { margin-top: 10px; font-size: 0.98rem; color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card .icon { width: 30px; height: 30px; color: var(--ink); margin-bottom: 22px; }
.card p { margin-top: 8px; font-size: 0.98rem; color: var(--muted); }
.card-note { background: var(--ink); border-color: var(--ink); display: flex; flex-direction: column; justify-content: space-between; gap: 22px; }
.card-note p { margin: 0; color: #d9dde1; }
.card-note a { color: var(--brass-light); font-weight: 700; text-decoration: none; }
.card-note a:hover { text-decoration: underline; }

.section-dark { background: var(--ink); border-top-color: var(--ink); color: #c3cad1; }
.section-dark h2 { color: #fff; }
.section-dark .eyebrow { color: var(--brass-light); }
.spec div { display: grid; grid-template-columns: 170px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.spec div:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.spec dt { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brass-light); padding-top: 3px; }
.spec dd { color: #e6e9ec; }
.spec-light { margin-top: 44px; }
.spec-light div, .spec-light div:last-child { border-color: var(--line); grid-template-columns: 130px 1fr; }
.spec-light dt { color: var(--muted); }
.spec-light dd { color: var(--ink); font-weight: 600; }

/* Form */
.form { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field-wide { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.88rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.opt { font-weight: 500; color: var(--muted); }
.field input, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid #c9c3b6;
  border-radius: 8px;
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input:hover, .field textarea:hover { border-color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--error); }
.hint { margin-top: 7px; font-size: 0.86rem; color: var(--muted); }
.field-error { margin-top: 7px; font-size: 0.86rem; font-weight: 600; color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 22px; padding: 14px 16px; border-radius: 8px; font-weight: 600; font-size: 0.96rem; }
.form-status.is-ok { background: #e6efe9; color: var(--ok); }
.form-status.is-error { background: #f6e6e3; color: var(--error); }
.form-foot { display: flex; align-items: center; gap: 22px; margin-top: 26px; }
.form-foot .btn { flex: none; }
.privacy { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

/* Footer */
.site-footer { background: var(--ink); color: #aab3bc; padding: 56px 0; font-size: 0.9rem; }
.footer-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer-logo .logo { height: 36px; }
.footer-tagline { margin-top: 16px; }
.footer-legal { text-align: right; line-height: 1.8; }
.footer-legal a { color: #fff; }

/* Legal page */
.legal { padding: 64px 0 104px; }
.legal h1 { margin: 24px 0 40px; }
.legal section { padding: 28px 0; border-top: 1px solid var(--line); }
.legal h2 { font-size: 1.2rem; margin-bottom: 12px; }
.legal p + p { margin-top: 10px; }
.back { font-size: 0.92rem; font-weight: 600; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }

@media (max-width: 960px) {
  .nav { display: none; }
  .header-actions { margin-left: auto; }
  .hero { padding-top: 56px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 48px; }
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 72px 0; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 20px; }
  .header-row { height: 64px; gap: 12px; }
  .logo { height: 32px; }
  .btn-small { padding: 0 14px; }
  .steps, .cards, .form-grid { grid-template-columns: 1fr; }
  .spec div, .spec-light div, .spec-light div:last-child { grid-template-columns: 1fr; gap: 4px; }
  .form { padding: 24px 20px; }
  .form-foot { flex-direction: column; align-items: stretch; }
  .footer-legal { text-align: left; }
  .route-card { padding: 24px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Page utilitaire /signature/ */
.sig-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 16px 0; overflow-x: auto; }
.sig-status { margin-left: 12px; font-size: 0.9rem; color: var(--ok); font-weight: 600; }
