
/* Layout: a night-ink hero band with a giant pressed seal and rotating greetings; below, a light page whose centrepiece is the 3-step quote assistant */
:root {
  --page: #f4f6f8;
  --card: #ffffff;
  --ink: #131c27;
  --muted: #5a6573;
  --line: #dde2e8;
  --night: #0e1824;
  --night-2: #172433;
  --on-night: #eef2f6;
  --on-night-muted: #9fb0c2;
  --seal: #d42a20;
  --seal-soft: #fdeceb;
  --wa: #1f9d55;
  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --page: #0b121b; --card: #141e2a; --ink: #e9eef3; --muted: #9aa7b5; --line: #263342;
    --night: #070d14; --night-2: #111c28; --seal: #ff5b4f; --seal-soft: #3b1c1a; --wa: #2fbf6c;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --page: #0b121b; --card: #141e2a; --ink: #e9eef3; --muted: #9aa7b5; --line: #263342;
  --night: #070d14; --night-2: #111c28; --seal: #ff5b4f; --seal-soft: #3b1c1a; --wa: #2fbf6c;
  color-scheme: dark;
}

* { box-sizing: border-box; }
body { background: var(--page); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; }
.site[data-lang="fr"] .de, .site[data-lang="de"] .fr { display: none !important; }
.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--seal); outline-offset: 3px; border-radius: 4px; }
.eyebrow { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--seal); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 20; background: var(--night); }
header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 15; background: color-mix(in srgb, var(--night) 92%, transparent); backdrop-filter: blur(10px); color: var(--on-night); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; }
.cross { width: 28px; height: 28px; background: var(--seal); border-radius: 6px; position: relative; flex: none; }
.cross::before, .cross::after { content: ""; position: absolute; background: #fff; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 1px; }
.cross::before { width: 15px; height: 4px; } .cross::after { width: 4px; height: 15px; }
.right { display: flex; align-items: center; gap: 12px; }
.navlinks { display: flex; gap: 22px; }
.navlinks a { text-decoration: none; color: var(--on-night-muted); font-weight: 600; font-size: 0.92rem; }
.navlinks a:hover { color: var(--on-night); }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; overflow: hidden; }
.lang button { font: 500 0.78rem var(--font-mono); padding: 6px 11px; border: 0; cursor: pointer; background: transparent; color: var(--on-night-muted); }
.lang button[aria-pressed="true"] { background: var(--on-night); color: var(--night); }
.mini-cta { text-decoration: none; background: var(--seal); color: #fff; font-weight: 600; font-size: 0.9rem; padding: 8px 14px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 880px) { .navlinks { display: none; } }
@media (max-width: 420px) { .mini-cta { display: none; } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% 10%, var(--night-2), var(--night)); color: var(--on-night); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding-block: 72px 96px; }
.hero .wrap > * { min-width: 0; }
.greet { font-family: var(--font-mono); font-size: 0.9rem; color: var(--on-night-muted); height: 1.6em; overflow: hidden; }
.greet ul { list-style: none; margin: 0; padding: 0; }
.greet li { height: 1.6em; }
.greet b { color: var(--on-night); font-weight: 500; }
@media (prefers-reduced-motion: no-preference) {
  .greet ul { animation: roll 16s steps(1) infinite; }
  @keyframes roll {
    0% { transform: translateY(0); } 12.5% { transform: translateY(-1.6em); } 25% { transform: translateY(-3.2em); }
    37.5% { transform: translateY(-4.8em); } 50% { transform: translateY(-6.4em); } 62.5% { transform: translateY(-8em); }
    75% { transform: translateY(-9.6em); } 87.5% { transform: translateY(-11.2em); }
  }
}
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -0.035em; margin-top: 18px; }
.hero h1 em { font-style: normal; color: var(--seal); }
.hero .lead { margin-top: 22px; font-size: 1.2rem; color: var(--on-night-muted); max-width: 36ch; line-height: 1.5; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 999px; font: 600 1rem var(--font-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, filter .15s ease; }
.btn:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn.seal { background: var(--seal); color: #fff; }
.btn.wa { background: var(--wa); color: #fff; }
.btn.line { border-color: rgba(255,255,255,.25); color: var(--on-night); background: transparent; }
.btn svg { width: 20px; height: 20px; flex: none; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; font-size: 0.92rem; color: var(--on-night-muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--seal); }

.stage { position: relative; aspect-ratio: 1 / 1; max-width: 460px; width: 100%; justify-self: center; }
.paper { position: absolute; inset: 8% 10% 6% 6%; background: #fbfcfd; border-radius: 6px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); transform: rotate(-4deg); padding: 9% 9%; display: grid; align-content: start; gap: 10px; }
.paper.back { transform: rotate(5deg) translate(6%, 3%); background: #e7ecf1; box-shadow: none; }
.paper .pl { font: 500 0.62rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #8a95a3; }
.paper .ph { height: 12px; width: 62%; background: #1b2633; border-radius: 3px; }
.paper i { display: block; height: 6px; border-radius: 3px; background: #dbe1e8; }
.paper .sig { margin-top: 14px; width: 40%; height: 26px; border-bottom: 1.5px solid #8a95a3; }
.stamp { position: absolute; right: 2%; bottom: 8%; width: 46%; aspect-ratio: 1; }
.stamp svg { width: 100%; height: 100%; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .stamp { animation: press 0.9s cubic-bezier(.2,.9,.25,1.25) 0.4s both; }
  @keyframes press { 0% { transform: scale(1.7) rotate(-30deg); } 100% { transform: scale(1) rotate(-12deg); } }
  .paper:not(.back) { animation: settle 1s ease-out both; }
  @keyframes settle { from { transform: rotate(-9deg) translateY(14px); } to { transform: rotate(-4deg); } }
}
.stamp { transform: rotate(-12deg); }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; padding-block: 48px 64px; } .stage { max-width: 340px; } }

/* Ribbon */
.ribbon { background: var(--seal); color: #fff; overflow: hidden; }
.ribbon .track { display: flex; gap: 44px; white-space: nowrap; padding-block: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; width: max-content; }
.ribbon .track span::after { content: "✦"; margin-left: 44px; opacity: .6; }
@media (prefers-reduced-motion: no-preference) { .ribbon .track { animation: slide 40s linear infinite; } @keyframes slide { to { transform: translateX(-50%); } } }

section { padding-block: 88px; }
.sec-head { display: grid; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); font-size: 1.1rem; }
@media (max-width: 640px) { section { padding-block: 60px; } }

/* Quote assistant */
.quote { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 28px; align-items: start; }
.quote > * { min-width: 0; }
.wizard { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: clamp(20px, 3.5vw, 36px); box-shadow: 0 24px 50px -36px rgba(19,28,39,.45); }
.progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 26px; }
.progress div { display: grid; gap: 8px; font: 500 0.72rem var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.progress div::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.progress div.on { color: var(--ink); }
.progress div.on::before { background: var(--seal); }
.step h3 { font-size: 1.45rem; margin-bottom: 18px; }
.step + .step { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font: 600 0.98rem var(--font-body); padding: 11px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--page); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: border-color .15s, background .15s; }
.chip:hover { border-color: var(--seal); }
.chip[aria-pressed="true"] { border-color: var(--seal); background: var(--seal-soft); color: var(--ink); }
.chip small { font: 500 0.7rem var(--font-mono); color: var(--muted); }
.sub { font-weight: 600; font-size: 0.9rem; color: var(--muted); margin: 22px 0 10px; }
.sub:first-of-type { margin-top: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.fields label { display: grid; gap: 6px; font-weight: 600; font-size: 0.9rem; }
.fields .full { grid-column: 1 / -1; }
input, textarea { font: inherit; font-weight: 400; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--page); color: var(--ink); width: 100%; }
textarea { min-height: 84px; resize: vertical; }
@media (max-width: 560px) { .fields { grid-template-columns: 1fr; } }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.back { background: none; border: 0; color: var(--muted); font: 600 0.95rem var(--font-body); cursor: pointer; padding: 8px 0; }
.btn.dark { background: var(--ink); color: var(--page); }
.btn[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.summary { background: var(--page); border: 1px dashed var(--line); border-radius: 12px; padding: 16px; font-family: var(--font-mono); font-size: 0.82rem; white-space: pre-wrap; color: var(--ink); margin-top: 18px; max-height: 220px; overflow: auto; }
.send { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.send .btn { width: 100%; }
@media (max-width: 560px) { .send { grid-template-columns: 1fr; } }
.small { font-size: 0.85rem; color: var(--muted); margin-top: 12px; }

.side { display: grid; gap: 16px; }
.contact-card { background: var(--night); color: var(--on-night); border-radius: 20px; padding: 28px; display: grid; gap: 20px; }
.contact-card .row { display: grid; gap: 4px; }
.contact-card .k { font: 500 0.72rem var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-night-muted); }
.contact-card .v { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; word-break: break-word; user-select: all; }
.contact-card a.v { text-decoration: none; }
.copy { justify-self: start; font: 500 0.72rem var(--font-mono); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); color: var(--on-night); border-radius: 8px; padding: 4px 10px; cursor: pointer; }
.note-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: grid; gap: 8px; }
.note-card p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 900px) { .quote { grid-template-columns: 1fr; } }

/* Services */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.svc { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: grid; gap: 12px; align-content: start; transition: transform .2s ease, border-color .2s ease; }
.svc:hover { transform: translateY(-4px); border-color: var(--seal); }
.ico { width: 46px; height: 46px; border-radius: 12px; background: var(--seal-soft); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; stroke: var(--seal); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svc p { color: var(--muted); font-size: 0.96rem; }
@media (max-width: 900px) { .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 580px) { .grid3 { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; padding-top: 18px; border-top: 2px solid var(--line); }
.steps li::before { content: counter(s); font: 800 2.4rem/1 var(--font-display); color: var(--seal); }
.steps p { color: var(--muted); font-size: 0.95rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* Offices + FAQ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.split > * { min-width: 0; }
.offices { display: grid; gap: 16px; }
.office { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; align-items: center; }
.office .pin { grid-row: span 2; width: 48px; height: 48px; border-radius: 50%; background: var(--night); display: grid; place-items: center; }
.office .pin svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 1.8; }
.office address { font-style: normal; color: var(--muted); }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 500 1.2rem var(--font-mono); color: var(--seal); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 10px; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Final CTA + footer */
.final { background: var(--night); color: var(--on-night); border-radius: 28px; padding: clamp(32px, 6vw, 64px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: center; }
.final > * { min-width: 0; }
.final p { color: var(--on-night-muted); margin-top: 12px; }
.final .actions { margin-top: 0; justify-content: flex-end; }
@media (max-width: 760px) { .final { grid-template-columns: 1fr; } .final .actions { justify-content: flex-start; } }
footer { padding-block: 40px 110px; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer .mono { font-family: var(--font-mono); font-size: 0.8rem; }

/* Floating WhatsApp */
.float-wa { position: fixed; z-index: 30; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; padding: 14px 20px 14px 16px; border-radius: 999px; box-shadow: 0 16px 34px -12px rgba(0,0,0,.45); }
.float-wa svg { width: 24px; height: 24px; }
@media (prefers-reduced-motion: no-preference) { .float-wa { animation: pop .5s ease 1.4s both; } @keyframes pop { from { transform: scale(.6); } to { transform: scale(1); } } }
@media (max-width: 480px) { .float-wa .t { display: none; } .float-wa { padding: 15px; } }

a.svc { text-decoration: none; color: inherit; }
.svc .more { font-weight: 600; color: var(--seal); font-size: .92rem; }
.lang a { font: 500 0.74rem var(--font-mono); padding: 6px 9px; text-decoration: none; color: var(--on-night-muted); }
.lang a.on { background: var(--on-night); color: var(--night); }
.crumb { font-size: .88rem; color: var(--on-night-muted); }
.crumb a { color: var(--on-night-muted); }
.page-hero .wrap { display: block; padding-block: 56px 72px; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); max-width: 22ch; }
.prose { max-width: 68ch; display: grid; gap: 16px; }
.prose p { color: var(--muted); font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 18px; }
.docs { display: flex; flex-wrap: wrap; gap: 10px; }
.docs span { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 15px; font-size: .95rem; }
.links { display: flex; flex-wrap: wrap; gap: 10px; }
.links a { border: 1px solid var(--line); background: var(--card); border-radius: 12px; padding: 10px 16px; text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--seal); }
.cantons { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.canton { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; display: grid; gap: 4px; }
.canton b { font-family: var(--font-display); font-weight: 600; }
.canton .ab { font: 500 .72rem var(--font-mono); color: var(--seal); letter-spacing: .08em; }
.canton span { color: var(--muted); font-size: .92rem; }
.canton a { color: var(--ink); font-weight: 600; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 18px; }
footer nav a { color: var(--muted); }
@media (max-width: 560px) { .mini-cta { display: none; } .brand { font-size: .92rem; } }
@media (max-width: 400px) { .brand .bt { display: none; } }
