@import url("colors_and_type.css");

/* ============================================================
   DAPY WORKSHOP — site vitrine (marketing, distinct de l'ERP)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg-page);
  font-size: 17px;
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
[data-bg="white"] body { background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
:root { --accent: var(--brand-teal); --maxw: 1240px; }

/* ---- focus ---- */
a:focus-visible, button:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--teal-700); outline-offset: 3px;
}

/* ---- layout helpers ---- */
.wrap { width: min(var(--maxw), 100% - 64px); margin-inline: auto; }
section { position: relative; }
.eyebrow {
  font-family: var(--font-display); font-weight: 700;
  font-size: 13px; letter-spacing: var(--tracking-uppercase);
  text-transform: uppercase; color: var(--gray-700);
  display: inline-flex; align-items: center; gap: 12px; margin: 0;
}
.eyebrow::before {
  content: ""; width: 28px; height: 3px; background: var(--accent);
  display: inline-block;
}
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; }

/* ---- Y-wedge ornament (clip-path, comme le slide master) ---- */
.wedge {
  position: absolute; background: var(--accent); pointer-events: none;
  clip-path: polygon(38% 0, 100% 0, 100% 38%, 0 100%);
}

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.01em; padding: 15px 26px; border-radius: var(--radius-md);
  border: 1.5px solid transparent; cursor: pointer; text-align: center;
  white-space: nowrap;
  transition: background var(--dur-2) var(--ease-standard), color var(--dur-2) var(--ease-standard), border-color var(--dur-2) var(--ease-standard);
}
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--teal-600); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-page) 88%, transparent);
  backdrop-filter: none;
  border-bottom: 1px solid var(--line-1);
}
[data-bg="white"] .site-header { background: color-mix(in srgb, #fff 90%, transparent); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px; gap: 20px;
}
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 26px; width: auto; }
.brand .div { width: 1px; height: 26px; background: var(--gray-300); }
.brand .label {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
}
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  color: var(--fg-2); letter-spacing: 0.01em; transition: color var(--dur-1);
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); }
.header-cta { display: flex; align-items: center; gap: 14px; }
/* Secondary "back to main site" link — lighter and smaller than the primary CTA. */
.header-back { padding: 10px 16px; font-size: 13px; }
/* EN/FR language toggle (mirrors the main dapyparis.com site). */
.lang {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.06em;
  border: 1px solid var(--gray-300); border-radius: var(--radius-md); overflow: hidden;
}
.lang button {
  background: transparent; border: 0; color: var(--fg-2); cursor: pointer;
  padding: 7px 10px; font: inherit; opacity: 0.7;
  transition: background var(--dur-1), color var(--dur-1), opacity var(--dur-1);
}
.lang button:hover { opacity: 1; }
.lang button.on { background: var(--teal-500); color: var(--ink); opacity: 1; }
.nav-toggle { display: none; }

/* ============================================================
   HERO — base
   ============================================================ */
.hero { padding: 92px 0 96px; overflow: hidden; }
.hero .eyebrow { margin-bottom: 26px; }
.hero h1 {
  font-weight: 800; text-transform: uppercase;
  font-size: clamp(40px, 6.4vw, 92px); line-height: 0.96;
  letter-spacing: -0.025em; color: var(--ink); margin: 0;
  text-wrap: balance;
}
.hero h1 .hl { color: var(--accent); }
.hero .lead {
  font-family: var(--font-body); font-weight: 400;
  font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55;
  color: var(--fg-2); max-width: 620px; margin: 28px 0 0;
}
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero .micro {
  margin-top: 22px; font-size: 14px; color: var(--fg-3);
  display: flex; align-items: center; gap: 10px;
}
.hero .micro b { color: var(--ink); font-weight: 700; }

/* hero visual (image slot) */
.hero-visual { position: relative; }
.hero-visual image-slot {
  width: 100%; height: 100%; min-height: 420px; display: block;
  border: 1px solid var(--line-1);
}
.hero-visual .wedge { top: -1px; right: -1px; width: 120px; height: 144px; z-index: 2; }

/* hero drop proxy (direction C) */
.hero-drop {
  border: 2px dashed var(--gray-300); border-radius: var(--radius-xl);
  background: var(--bg-surface); padding: 40px; text-align: center;
  cursor: pointer; transition: border-color var(--dur-2), background var(--dur-2);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-drop:hover, .hero-drop.is-over { border-color: var(--accent); background: var(--teal-100); }
.hero-drop .hd-icon { width: 44px; height: 44px; color: var(--accent); }
.hero-drop .hd-title { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.hero-drop .hd-sub { font-size: 14px; color: var(--fg-3); }
.hero-drop input { display: none; }

/* ---- DIRECTION A — typographique (défaut) ---- */
[data-hero="a"] .hero .hero-grid { display: block; max-width: 1000px; }
[data-hero="a"] .hero .hero-visual,
[data-hero="a"] .hero .hero-drop { display: none; }
[data-hero="a"] .hero { padding-top: 110px; padding-bottom: 110px; }

.hero-print { display: none; pointer-events: none; }
[data-hero="a"] .hero .hero-print {
  display: block; position: absolute; top: 14px; right: -24px;
  width: 600px; height: 660px; z-index: 0;
}
[data-hero="a"] .hero .hero-print canvas {
  width: 100%; height: 100%; display: block;
  pointer-events: auto; cursor: grab; touch-action: none;
}
[data-hero="a"] .hero .hero-print canvas:active { cursor: grabbing; }
.hero-print-hint {
  position: absolute; bottom: 18px; right: 24px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-3);
  pointer-events: none;
}
.hero-print-hint svg { width: 13px; height: 13px; }
[data-hero="a"] .hero .hero-grid { position: relative; z-index: 1; pointer-events: none; }
[data-hero="a"] .hero .hero-grid a,
[data-hero="a"] .hero .hero-grid .actions { pointer-events: auto; }
[data-hero="a"] .hero h1 { font-size: clamp(44px, 7.4vw, 108px); }

/* ---- DIRECTION B — visuel partagé ---- */
[data-hero="b"] .hero .hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center;
}
[data-hero="b"] .hero .hero-drop { display: none; }
[data-hero="b"] .hero .hero-print { display: none; }
[data-hero="b"] .hero-visual { min-height: 480px; align-self: stretch; }

/* ---- DIRECTION C — vérificateur en avant ---- */
[data-hero="c"] .hero .hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
[data-hero="c"] .hero .hero-visual { display: none; }
[data-hero="c"] .hero .hero-print { display: none; }
[data-hero="c"] .hero h1 { font-size: clamp(38px, 5vw, 72px); }
[data-hero="c"] .hero .lead { max-width: 540px; }

/* default = a */
.hero .hero-visual, .hero .hero-drop { display: none; }
[data-hero="b"] .hero .hero-visual { display: block; }
[data-hero="c"] .hero .hero-drop { display: flex; }

/* ============================================================
   VALUE BAR (atouts)
   ============================================================ */
.atouts { padding: 8px 0 72px; }
[data-hero="a"] .atouts { padding-top: 8px; }
.atouts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line-1); border: 1px solid var(--line-1);
  border-radius: var(--radius-xl); overflow: hidden;
}
.atout {
  background: var(--bg-surface); padding: 34px 30px;
  display: flex; flex-direction: column; gap: 12px;
}
.atout img { width: 56px; height: 56px; object-fit: contain; }
.atout h3 {
  font-size: 21px; font-weight: 700; text-transform: uppercase;
  letter-spacing: -0.01em; margin: 6px 0 0;
}
.atout p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.5; }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.sec { padding: 84px 0; }
.sec-head { max-width: 780px; margin-bottom: 48px; }
.sec-head .eyebrow { margin-bottom: 20px; }
.sec-head h2 {
  font-size: clamp(30px, 4vw, 52px); font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.022em; line-height: 1.0; margin: 0;
}
.sec-head p { margin: 18px 0 0; font-size: 18px; color: var(--fg-2); line-height: 1.55; }

/* ============================================================
   VÉRIFICATEUR
   ============================================================ */
.verifier { background: var(--ink); color: #fff; }
.verifier .wedge { top: 0; right: 0; width: 120px; height: 144px; }
.verifier .sec-head h2 { color: #fff; }
.verifier .sec-head p { color: rgba(255,255,255,0.66); }
.verifier .eyebrow { color: rgba(255,255,255,0.7); }

.vf-dropzone {
  border: 2px dashed rgba(255,255,255,0.32); border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.03); padding: 56px 40px; text-align: center;
  cursor: pointer; transition: border-color var(--dur-2), background var(--dur-2);
}
.vf-dropzone:hover, .vf-dropzone.is-over { border-color: var(--accent); background: rgba(46,217,195,0.08); }
.vf-dropzone.is-loading { opacity: 0.6; pointer-events: none; }
.vf-dz-icon { width: 52px; height: 52px; color: var(--accent); margin: 0 auto 16px; }
.vf-dz-title { font-family: var(--font-display); font-weight: 700; font-size: 26px; text-transform: uppercase; letter-spacing: -0.01em; }
.vf-dz-sub { font-size: 15px; color: rgba(255,255,255,0.6); margin-top: 10px; }
.vf-dz-formats { margin-top: 22px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.vf-dz-formats span {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em;
  padding: 5px 11px; border: 1px solid rgba(255,255,255,0.22); border-radius: 999px;
  color: rgba(255,255,255,0.8);
}
.vf-privacy { margin-top: 18px; font-size: 13px; color: rgba(255,255,255,0.45); }
.vf-dropzone.is-done { padding: 22px; }
.vf-error {
  margin-top: 18px; background: rgba(244,67,54,0.14); border: 1px solid var(--error);
  color: #ffd7d3; padding: 14px 18px; border-radius: var(--radius-md); font-size: 15px;
}

/* résultat */
.vf-result { margin-top: 28px; }
.vf-summary {
  display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 24px 28px;
}
.vf-file-name { font-family: var(--font-display); font-weight: 700; font-size: 20px; word-break: break-all; }
.vf-file-meta { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 6px; }
.vf-dims { display: flex; gap: 26px; }
.vf-dim { text-align: right; }
.vf-dim span { font-family: var(--font-mark); font-size: 34px; line-height: 1; color: #fff; }
.vf-dim label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: rgba(255,255,255,0.5); margin-top: 6px; text-transform: uppercase; }
.vf-dim--vol span { color: var(--accent); font-size: 26px; }

.vf-machines { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.vf-mc {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg); padding: 24px;
}
.vf-mc[data-status="ok"] { border-color: rgba(46,217,195,0.5); }
.vf-mc[data-status="tight"] { border-color: rgba(237,108,2,0.5); }
.vf-mc[data-status="split"] { border-color: rgba(255,255,255,0.18); }
.vf-mc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.vf-mc-name { font-family: var(--font-display); font-weight: 700; font-size: 19px; display: flex; align-items: center; gap: 10px; }
.vf-flag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent); color: var(--ink); padding: 3px 8px; border-radius: 4px; font-weight: 700; }
.vf-mc-tag { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; }
.vf-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 12px;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap; text-align: center; line-height: 1.2;
}
.vf-badge[data-status="ok"] { background: var(--accent); color: var(--ink); }
.vf-badge[data-status="tight"] { background: var(--warning); color: #fff; }
.vf-badge[data-status="split"] { background: rgba(255,255,255,0.14); color: #fff; }
.vf-mc-vol { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); margin: 16px 0 12px; }
.vf-meter { height: 8px; background: rgba(255,255,255,0.1); border-radius: 999px; overflow: hidden; }
.vf-meter span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width var(--dur-3) var(--ease-emphasis); }
.vf-mc[data-status="tight"] .vf-meter span { background: var(--warning); }
.vf-mc[data-status="split"] .vf-meter span { background: var(--error); width: 100% !important; }
.vf-meter-cap { font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 8px; }
.vf-mc-note { font-size: 13px; color: rgba(255,255,255,0.72); margin: 14px 0 0; line-height: 1.5; }
.vf-approx { font-size: 13px; color: var(--warning-soft); margin-top: 18px; }
.vf-cta-row { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.vf-unit-row { font-size: 13px; color: rgba(255,255,255,0.5); margin-top: 18px; display: flex; align-items: center; gap: 8px; }
.vf-unit { background: transparent; border: 1px solid rgba(255,255,255,0.25); color: rgba(255,255,255,0.7); border-radius: 6px; padding: 5px 12px; font-family: var(--font-mono); font-size: 13px; cursor: pointer; }
.vf-unit.is-on { background: var(--accent); color: var(--ink); border-color: var(--accent); }

/* ============================================================
   MACHINES
   ============================================================ */
.machines-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 24px; }
.machine {
  border: 1px solid var(--line-2); border-radius: var(--radius-xl);
  background: var(--bg-surface); padding: 36px; display: flex; flex-direction: column;
}
.machine--flagship { border-color: var(--ink); border-width: 1.5px; }
.machine-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.machine .kind { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.machine h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; margin: 10px 0 0; }
.machine .flag-pill { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 6px 11px; border-radius: 6px; }
.machine .desc { font-size: 15px; color: var(--fg-2); line-height: 1.55; margin: 16px 0 22px; }
.machine .machine-visual { margin: 0 0 22px; }
.machine image-slot { width: 100%; height: 220px; display: block; border: 1px solid var(--line-1); }
.spec-list { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--line-1); }
.spec-list li { display: grid; grid-template-columns: 130px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-1); font-size: 15px; }
.spec-list .k { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-3); align-self: center; }
.spec-list .v { color: var(--ink); }
.spec-list .v b { color: var(--ink); }
.machine .machine-foot { margin-top: auto; font-size: 14px; color: var(--fg-2); }
.machine .machine-foot b { color: var(--ink); }

/* ============================================================
   FINITIONS
   ============================================================ */
.finitions { background: var(--bg-sunken); }
[data-bg="white"] .finitions { background: var(--smoke); }
.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fin {
  background: var(--bg-surface); border: 1px solid var(--line-1);
  border-radius: var(--radius-lg); padding: 28px 24px;
}
.fin-icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 18px; }
.fin h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin: 0 0 8px; }
.fin p { font-size: 14px; color: var(--fg-2); line-height: 1.5; margin: 0; }
.fin-note {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--fg-2); background: var(--bg-surface);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 11px 20px;
}
.fin-note b { color: var(--ink); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.step { padding: 0 24px 0 0; position: relative; }
.step + .step { padding-left: 24px; border-left: 1px solid var(--line-2); }
.step .num { font-family: var(--font-mark); font-size: 56px; color: var(--accent); line-height: 1; }
.step h3 { font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; margin: 18px 0 8px; }
.step p { font-size: 14px; color: var(--fg-2); line-height: 1.5; margin: 0; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--ink); color: #fff; }
.contact .wedge { top: 0; right: 0; width: 140px; height: 168px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact h2 { font-size: clamp(32px, 4.5vw, 60px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.022em; line-height: 1; color: #fff; }
.contact .lead { font-size: 18px; color: rgba(255,255,255,0.7); margin: 22px 0 32px; line-height: 1.55; max-width: 460px; }
.contact-mail {
  display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display);
  font-weight: 700; font-size: clamp(20px, 2.4vw, 30px); color: var(--accent);
  letter-spacing: -0.01em; word-break: break-all;
}
.contact-meta { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; font-size: 15px; color: rgba(255,255,255,0.7); }
.contact-meta .row { display: flex; align-items: center; gap: 12px; }
.contact-meta svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.contact-meta b { color: #fff; font-weight: 600; }

.contact-form { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-xl); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md); color: #fff; font-family: var(--font-body); font-size: 15px;
  padding: 13px 15px; transition: border-color var(--dur-2);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.field select option { color: #000; }
.field textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { width: 100%; }
.form-note { font-size: 12px; color: rgba(255,255,255,0.4); margin: 14px 0 0; text-align: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: #000; color: rgba(255,255,255,0.6); padding: 48px 0 40px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.site-footer .f-brand { display: flex; align-items: center; gap: 14px; }
.site-footer img { height: 24px; }
.site-footer .f-label { font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; }
.site-footer a { color: var(--accent); }
.site-footer .copy { font-size: 12px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  [data-hero="a"] .hero .hero-print { width: 480px; height: 540px; right: -30px; top: 30px; }
}
@media (max-width: 940px) {
  [data-hero="a"] .hero .hero-print { width: 380px; height: 440px; opacity: 0.85; }
  [data-hero="a"] .hero .hero-print-hint { display: none; }
}
@media (max-width: 980px) {
  .wrap { width: min(var(--maxw), 100% - 40px); }
  [data-hero="b"] .hero .hero-grid,
  [data-hero="c"] .hero .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .machines-grid { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .step + .step { border-left: none; padding-left: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .vf-machines { grid-template-columns: 1fr; }
  .vf-summary { grid-template-columns: 1fr; }
  .vf-dims { justify-content: flex-start; }
}
/* Header: collapse the desktop nav + secondary "back" link into the burger while
   there is still room, so the nav never crowds or wraps. Primary CTA stays visible. */
@media (max-width: 1300px) {
  .site-header .nav { display: none; }
  .header-back { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 720px) {
  .header-cta .btn { display: none; }
  .atouts-grid { grid-template-columns: 1fr; }
  .fin-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  [data-hero="a"] .hero .hero-print { display: none; }
  .vf-dims { flex-wrap: wrap; gap: 18px 26px; }
  .vf-dropzone { padding: 36px 22px; }
}

/* mobile nav drawer */
.mobile-nav { display: none; }
.mobile-nav.open { display: block; position: fixed; inset: 72px 0 0; background: var(--bg-page); z-index: 49; padding: 24px; }
.mobile-nav a { display: block; font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -0.01em; padding: 16px 0; border-bottom: 1px solid var(--line-1); }
.nav-toggle { background: none; border: 1px solid var(--ink); border-radius: var(--radius-sm); width: 42px; height: 38px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle svg { width: 20px; height: 20px; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
