/* KAPT — Carte NFC · style suisse, sobre. Partagé par /NFCcard et /NFCcard/activer */
:root {
  --bg: #f4f4f2;
  --surface: #ffffff;
  --panel: #ebebe9;
  --ink: #1a1a1a;
  --slate: #2d3e50;
  --slate-2: #3b4d61;
  --muted: #5b6570;
  --line: #d1d1cf;
  --grid: rgba(0, 0, 0, 0.05);
  --copper: #d4a574;
  --error: #a32a1c;
  --ok: #1f6b45;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --wrap: 1160px;
  --gut: 40px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: #fff; }
::selection { background: var(--ink); color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; }
.label { display: block; font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 22px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { letter-spacing: -0.03em; line-height: 1.02; }
h1 { font-size: clamp(2.7rem, 7.2vw, 5.1rem); font-weight: 900; letter-spacing: -0.045em; line-height: 0.95; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); max-width: 34em; }
p.body { color: var(--slate); max-width: 36em; }

/* ── boutons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; padding: 0 32px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.small { min-height: 44px; padding: 0 20px; font-size: 0.74rem; }
.btn.wide { width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: progress; }
.on-dark .btn { background: #fff; color: var(--ink); border-color: #fff; }
.on-dark .btn:hover { background: transparent; color: #fff; }
.arrow { transition: transform 0.25s var(--ease); }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }
.textlink { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.07em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; display: inline-flex; gap: 8px; cursor: pointer; }
.textlink:hover { color: var(--slate-2); }

/* ── en-tête ── */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { width: 84px; height: auto; }
.brand span { color: var(--slate-2); padding-left: 14px; border-left: 1px solid var(--line); }
.top nav { display: flex; align-items: center; gap: 30px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--slate); transition: color 0.2s ease; }
.top nav a:not(.btn):hover { color: var(--ink); }

/* ── sections ── */
section { padding: 112px 0; border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.sec-head { max-width: 760px; margin-bottom: 64px; }
.sec-head h2 + p { margin-top: 22px; }
.dark { background: var(--ink); color: #fff; border-bottom-color: var(--ink); }
.dark .label { color: #8f979f; }
.dark .lead, .dark p.body { color: #c9c9c6; }
.tint { background: var(--panel); }

/* liste numérotée à filets */
.steps > li { display: grid; grid-template-columns: 56px 1fr; gap: 8px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps > li:last-child { border-bottom: 1px solid var(--line); }
.steps .n { font-family: var(--mono); font-size: 0.8rem; color: var(--slate-2); padding-top: 3px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--slate); }
.dark .steps > li { border-color: #3a3a3a; }
.dark .steps .n { color: var(--copper); }
.dark .steps p { color: #c9c9c6; }

/* ── héros ── */
.hero { padding: 104px 0 96px; background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }
.hero .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 30px; }
.hero .lead { margin-bottom: 40px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 30px; color: var(--slate); }
.hero-meta > span + span::before { content: '—'; margin-right: 22px; color: var(--line); }

.card-fig { position: relative; width: 100%; max-width: 440px; margin-left: auto; }
.card-stage { position: relative; padding: 0 22px 22px 0; }
.card-stage::before { content: ''; position: absolute; inset: 22px 0 0 22px; border: 1px solid var(--slate-2); border-radius: 16px; }
.card { position: relative; aspect-ratio: 85.6 / 54; background: var(--ink); border-radius: 16px; color: #fff; overflow: hidden; }
.card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0%, transparent 38%); pointer-events: none; }
.card-logo { position: absolute; left: 8%; top: 12%; width: 27%; filter: invert(1); }
.card-nfc { position: absolute; right: 8%; top: 11%; width: 11%; color: var(--copper); }
.card-nfc path { animation: wave 2.8s ease-in-out infinite; }
.card-nfc path:nth-child(2) { animation-delay: 0.18s; }
.card-nfc path:nth-child(3) { animation-delay: 0.36s; }
.card-nfc path:nth-child(4) { animation-delay: 0.54s; }
@keyframes wave { 0%, 55%, 100% { opacity: 1; } 22% { opacity: 0.25; } }
.card-foot { position: absolute; left: 8%; right: 8%; bottom: 11%; display: flex; justify-content: space-between; font-family: var(--mono); font-size: clamp(0.5rem, 1.25vw, 0.66rem); letter-spacing: 0.14em; text-transform: uppercase; color: #9a9a96; }
.card-fig figcaption { margin-top: 18px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; }

/* bandeau de faits */
.facts { padding: 0; }
.facts ul { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts li { padding: 26px 24px 26px 0; display: flex; gap: 14px; align-items: baseline; color: var(--slate); }
.facts li + li { border-left: 1px solid var(--line); padding-left: 24px; }
.facts .n { font-family: var(--mono); font-size: 0.72rem; color: var(--muted); }
.facts strong { color: var(--ink); font-weight: 700; display: block; }
.facts span.d { font-size: 0.9rem; }

/* ── profils ── */
.profiles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.profile { padding: 32px 32px 36px 0; display: flex; flex-direction: column; }
.profile + .profile { border-left: 1px solid var(--line); padding-left: 32px; }
.profile:last-child { padding-right: 0; }
.profile .mono { color: var(--slate-2); display: flex; justify-content: space-between; margin-bottom: 28px; }
.profile h3 { font-size: 1.6rem; letter-spacing: -0.03em; margin-bottom: 6px; }
.profile .who { color: var(--muted); margin-bottom: 26px; min-height: 3.1em; }
.profile ul.feat { margin: 26px 0 28px; }
.profile ul.feat li { padding: 11px 0; border-top: 1px solid var(--line); display: flex; gap: 12px; font-size: 0.95rem; color: var(--slate); }
.profile ul.feat li::before { content: '—'; color: var(--slate-2); }
.profile .textlink { margin-top: auto; align-self: flex-start; }

/* écran miniature (reprend l'allure réelle du profil) */
.screen { background: #0a0a0a; color: #f5f1e8; border-radius: 22px; padding: 20px 16px 18px; font-size: 11px; line-height: 1.3; position: relative; overflow: hidden; width: 100%; max-width: 268px; height: 492px; flex: none; margin-bottom: 32px; display: flex; flex-direction: column; }
.screen::before { content: ''; position: absolute; top: -120px; left: 50%; width: 320px; height: 320px; transform: translateX(-50%); background: radial-gradient(circle, rgba(212, 165, 116, 0.16) 0%, transparent 62%); pointer-events: none; }
.screen > * { position: relative; }
.s-tag { font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #6a655c; margin-bottom: 20px; display: flex; align-items: center; gap: 7px; }
.s-tag::before { content: ''; width: 14px; height: 1px; background: #6a655c; }
.s-photo { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 12px; border: 1px solid rgba(255, 255, 255, 0.16); background: #141414; display: grid; place-items: center; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--copper); box-shadow: 0 0 22px rgba(212, 165, 116, 0.28); }
.s-name { font-family: var(--serif); font-size: 21px; text-align: center; letter-spacing: -0.01em; line-height: 1.05; }
.s-line { font-family: var(--serif); font-style: italic; font-size: 11.5px; color: var(--copper); text-align: center; margin-top: 4px; }
.s-role { font-family: var(--mono); font-size: 7px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a8275; text-align: center; margin: 7px 0 16px; }
.s-btn { border-radius: 8px; padding: 9px 8px; text-align: center; font-weight: 500; font-size: 9.5px; margin-bottom: 6px; }
.s-btn.fill { background: var(--copper); color: #0a0a0a; }
.s-btn.line { border: 1px solid rgba(212, 165, 116, 0.3); color: var(--copper); }
.s-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 8px 0 10px; }
.s-grid span, .s-row { background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; }
.s-grid span { padding: 10px 6px; text-align: center; font-size: 8.5px; font-weight: 500; }
.s-row { display: flex; justify-content: space-between; padding: 9px 11px; margin-bottom: 6px; font-family: var(--mono); font-size: 7.5px; letter-spacing: 0.14em; text-transform: uppercase; }
.s-row i { font-style: normal; color: var(--copper); }
.s-addr { margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 12px; text-align: center; font-size: 8.5px; color: #8a8275; }
.s-addr b { display: block; color: #f5f1e8; font-weight: 500; }
.s-foot { margin-top: auto; text-align: center; font-family: var(--serif); font-style: italic; font-size: 11px; color: #6a655c; padding-top: 10px; }

/* ── cadeau ── */
.deadline { margin-top: 44px; border: 1px solid #4a4a4a; padding: 22px 24px; display: grid; gap: 6px; max-width: 420px; }
.deadline .mono { color: var(--copper); }
.deadline strong { font-size: 1.15rem; letter-spacing: -0.01em; }

/* ── tarif ── */
.price { display: flex; align-items: flex-start; gap: 14px; line-height: 0.82; margin: 8px 0 22px; }
.price .cur { font-family: var(--mono); font-size: 0.95rem; letter-spacing: 0.08em; padding-top: 0.9em; color: var(--slate-2); }
.price .num { font-size: clamp(6rem, 17vw, 12.5rem); font-weight: 900; letter-spacing: -0.07em; margin-left: -0.04em; }
.incl li { padding: 15px 0; border-top: 1px solid var(--line); display: flex; gap: 14px; color: var(--slate); }
.incl li:last-child { border-bottom: 1px solid var(--line); }
.incl li::before { content: '—'; color: var(--slate-2); }
.tiers { width: 100%; border-collapse: collapse; margin-top: 44px; }
.tiers caption { text-align: left; margin-bottom: 12px; color: var(--slate-2); }
.tiers td { padding: 14px 0; border-top: 1px solid var(--line); }
.tiers tr:last-child td { border-bottom: 1px solid var(--line); }
.tiers td:last-child { text-align: right; font-family: var(--mono); font-size: 0.85rem; white-space: nowrap; }
.tiers tr.on td { font-weight: 700; }
.tiers tr.on td:first-child::before { content: '→ '; }

/* ── formulaire ── */
.sheet { background: var(--surface); border: 2px solid var(--ink); display: grid; grid-template-columns: 4fr 8fr; }
.sheet-side { padding: 40px; border-right: 1px solid var(--line); background: var(--bg); }
.sheet-side .sticky { position: sticky; top: 112px; }
.sheet-main { padding: 40px 48px 48px; min-width: 0; }
.recap { margin: 26px 0 0; }
.recap div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 0.95rem; }
.recap dt { color: var(--muted); }
.recap dd { text-align: right; font-weight: 500; }
.recap .total { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 18px 0; align-items: baseline; }
.recap .total dd { font-size: 1.9rem; font-weight: 900; letter-spacing: -0.04em; }
.sheet-side .fine { margin-top: 20px; font-size: 0.85rem; color: var(--muted); }

fieldset { border: 0; min-width: 0; }
fieldset + fieldset { margin-top: 48px; }
legend { font-family: var(--mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); padding: 0 0 16px; width: 100%; border-bottom: 1px solid var(--ink); margin-bottom: 20px; display: flex; gap: 14px; }
legend .n { color: var(--muted); }

.tiles { display: grid; gap: 12px; }
.tiles.t3 { grid-template-columns: repeat(3, 1fr); }
.tiles.t2 { grid-template-columns: repeat(2, 1fr); }
.tile { position: relative; display: block; cursor: pointer; }
.tile input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; margin: 0; }
.tile .box { display: flex; flex-direction: column; gap: 4px; height: 100%; min-height: 86px; padding: 16px 16px 16px 18px; border: 1px solid var(--line); background: var(--surface); transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.tile .box strong { font-size: 1.02rem; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.tile .box strong::after { content: ''; width: 12px; height: 12px; border: 1px solid var(--slate-2); border-radius: 50%; flex: none; transition: background-color 0.2s ease, border-color 0.2s ease; }
.tile .box small { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.tile:hover .box { border-color: var(--ink); }
.tile input:checked + .box { background: var(--ink); border-color: var(--ink); color: #fff; }
.tile input:checked + .box small { color: #c9c9c6; }
.tile input:checked + .box strong::after { background: var(--copper); border-color: var(--copper); }
.tile input:focus-visible + .box { outline: 2px solid var(--ink); outline-offset: 3px; }

.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.qty-row label { font-weight: 500; }
.qty-row label small { display: block; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.stepper { display: inline-flex; border: 1px solid var(--ink); flex: none; }
.stepper button { width: 48px; height: 48px; background: var(--surface); border: 0; cursor: pointer; font-size: 1.2rem; line-height: 1; transition: background-color 0.2s ease, color 0.2s ease; border-radius: 0; }
.stepper button:hover { background: var(--ink); color: #fff; }
.stepper input { width: 56px; height: 48px; border: 0; border-left: 1px solid var(--ink); border-right: 1px solid var(--ink); text-align: center; font-family: var(--mono); font-size: 1rem; background: var(--surface); border-radius: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px 20px; }
.field { grid-column: span 6; display: flex; flex-direction: column; min-width: 0; }
.field.h { grid-column: span 3; }
.field.t { grid-column: span 2; }
.field.tt { grid-column: span 4; }
.field label, .field .lab { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate-2); margin-bottom: 4px; display: flex; justify-content: space-between; gap: 10px; }
.field label em, .field .lab em { font-style: normal; color: var(--muted); text-transform: none; letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--slate-2); border-radius: 0;
  font-size: 1.05rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 84px; line-height: 1.45; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 11px) 22px, calc(100% - 5px) 22px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 26px; cursor: pointer; }
.field input::placeholder, .field textarea::placeholder { color: #a3a8ad; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.field .err { font-size: 0.82rem; color: var(--error); min-height: 0; margin-top: 6px; display: none; }
.field.bad .err { display: block; }
.field.bad input, .field.bad select, .field.bad textarea { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.field .hint { font-size: 0.82rem; color: var(--muted); margin-top: 6px; }
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 30px; font-size: 0.9rem; color: var(--slate); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border: 1px solid var(--ink); background: var(--surface); cursor: pointer; display: grid; place-items: center; margin-top: 1px; border-radius: 0; }
.check input:checked { background: var(--ink); }
.check input:checked::after { content: ''; width: 10px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.check.bad { color: var(--error); }
.check.bad input { border-color: var(--error); }
.submit-row { margin-top: 30px; }
.submit-row .mono { display: block; text-align: center; color: var(--muted); margin-top: 14px; text-transform: none; letter-spacing: 0.02em; font-size: 0.78rem; }
.form-alert { display: none; margin-top: 22px; padding: 16px 18px; border: 1px solid var(--error); color: var(--error); font-size: 0.95rem; }
.form-alert.show { display: block; }
.form-alert a { font-weight: 700; }

.done { display: none; }
.done.show { display: block; }
.done .ref { font-family: var(--mono); font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: 0.04em; margin: 18px 0 8px; }
.done h2 { margin-bottom: 14px; }
.done .steps { margin: 34px 0; }
.done .cta-row { margin-top: 8px; }

/* ── FAQ ── */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; align-items: center; font-size: 1.12rem; font-weight: 700; letter-spacing: -0.015em; transition: color 0.2s ease; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--slate-2); }
.faq summary::after { content: '+'; font-family: var(--mono); font-weight: 400; font-size: 1.3rem; flex: none; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--slate); max-width: 40em; padding: 0 48px 26px 0; }

/* ── pied ── */
footer { padding: 56px 0 96px; background: #f0f0ee; }
footer .wrap { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 40px; }
footer img { width: 84px; margin-bottom: 16px; }
footer p, footer li { color: var(--muted); font-size: 0.9rem; }
footer .mono { color: var(--slate-2); margin-bottom: 12px; display: block; }
footer a { text-decoration: none; border-bottom: 1px solid var(--line); }
footer a:hover { border-bottom-color: var(--ink); color: var(--ink); }
footer li + li { margin-top: 6px; }

/* barre d'appel mobile */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--ink); color: #fff; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: none; align-items: center; justify-content: space-between; gap: 14px; transform: translateY(105%); transition: transform 0.35s var(--ease); }
.dock.show { transform: none; }
.dock .mono { color: #c9c9c6; }
.dock .mono strong { display: block; color: #fff; font-size: 1.05rem; letter-spacing: 0; font-family: var(--sans); font-weight: 900; text-transform: none; }
.dock .btn { background: #fff; color: var(--ink); border-color: #fff; }

/* ── apparition ── */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card-nfc path { animation: none; }
  .arrow, .dock { transition: none; }
}

/* ── adaptatif ── */
@media (max-width: 1020px) {
  :root { --gut: 28px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 64px; }
  .card-fig { margin: 0; max-width: 420px; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .facts ul { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .profiles { grid-template-columns: 1fr; }
  .profile, .profile + .profile { padding: 36px 0 40px; border-left: 0; }
  .profile + .profile { border-top: 1px solid var(--line); }
  .profile { display: grid; grid-template-columns: 268px 1fr; column-gap: 40px; align-items: start; }
  .profile > .mono, .profile > .screen { grid-column: 1; }
  .profile > .mono { grid-row: 1; }
  .profile > .screen { grid-row: 2 / span 5; }
  .profile > :not(.mono):not(.screen) { grid-column: 2; }
  .profile h3 { grid-row: 2; }
  .profile .who { min-height: 0; }
  .profile ul.feat { margin-top: 8px; }
  .sheet { grid-template-columns: 1fr; }
  .sheet-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px; }
  .sheet-side .sticky { position: static; }
  .sheet-main { padding: 36px 32px 40px; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --gut: 20px; }
  section { padding: 76px 0; }
  .hero { padding: 64px 0 68px; }
  .top .wrap { height: 64px; }
  .top nav a:not(.btn) { display: none; }
  .brand span { display: none; }
  .btn { min-height: 54px; padding: 0 24px; }
  .cta-row .btn { width: 100%; }
  .hero-meta { flex-direction: column; }
  .hero-meta > span + span::before { content: none; }
  .sec-head { margin-bottom: 44px; }
  .steps > li { grid-template-columns: 44px 1fr; padding: 22px 0; }
  .profile { display: flex; align-items: stretch; }
  .profile .screen { margin-bottom: 30px; }
  .profile .mono { margin-bottom: 22px; }
  .tiles.t3 { grid-template-columns: 1fr; }
  .tile .box { min-height: 0; }
  .field.h, .field.t, .field.tt { grid-column: span 6; }
  .field.zip { grid-column: span 2; }
  .field.city { grid-column: span 4; }
  .sheet { border-left: 0; border-right: 0; margin: 0 calc(var(--gut) * -1); }
  .sheet-side { padding: 28px var(--gut); }
  .sheet-main { padding: 32px var(--gut) 40px; }
  .faq details p { padding-right: 0; }
  footer { padding-bottom: 120px; }
  footer .wrap { grid-template-columns: 1fr; }
  .dock { display: flex; }
}
@media (max-width: 420px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { border-left: 0; padding-left: 0; }
  .facts li + li { border-top: 1px solid var(--line); }
  .tiles.t2 { grid-template-columns: 1fr; }
  .qty-row { flex-direction: column; align-items: flex-start; }
}

/* ── création de profil (/NFCcard/activer) ── */
[hidden] { display: none !important; }
.page-head { padding: 72px 0 56px; border-bottom: 1px solid var(--line); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin-bottom: 22px; }
.page-body { padding: 64px 0 112px; border-bottom: 1px solid var(--line); }
.codebox { margin-top: 28px; border: 1px solid var(--ink); padding: 16px 18px; display: grid; gap: 4px; background: var(--surface); }
.codebox .mono { color: var(--slate-2); }
.codebox strong { font-family: var(--mono); font-size: 1.15rem; letter-spacing: 0.06em; }
.photo-pick { display: flex; align-items: center; gap: 22px; margin-bottom: 28px; }
.photo-pick .ph { width: 96px; height: 96px; border-radius: 50%; border: 1px solid var(--slate-2); background: var(--bg); display: grid; place-items: center; flex: none; overflow: hidden; color: var(--muted); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; text-transform: uppercase; }
.photo-pick .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-pick p { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.photo-pick .err { color: var(--error); }
.link-row { display: grid; grid-template-columns: 3fr 6fr 48px; gap: 16px; align-items: end; }
.link-row + .link-row { margin-top: 12px; }
.link-row input { width: 100%; min-height: 48px; padding: 10px 0; background: transparent; border: 0; border-bottom: 1px solid var(--slate-2); border-radius: 0; font-size: 1.05rem; }
.link-row input:focus { outline: none; border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.link-row input::placeholder { color: #a3a8ad; }
.icon-btn { width: 48px; height: 48px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 1.15rem; line-height: 1; border-radius: 0; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.icon-btn:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.add-link { margin-top: 20px; background: none; border: 0; padding: 0 0 3px; }
.slug-field { display: flex; align-items: baseline; border-bottom: 1px solid var(--slate-2); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.slug-field:focus-within { border-bottom-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.slug-field span { font-family: var(--mono); font-size: 1.05rem; color: var(--muted); }
.field .slug-field input { border: 0; box-shadow: none; font-family: var(--mono); }
.field.bad .slug-field { border-bottom-color: var(--error); box-shadow: 0 1px 0 var(--error); }
.slug-state { font-size: 0.82rem; margin-top: 6px; min-height: 1.3em; color: var(--muted); }
.slug-state.ok { color: var(--ok); }
.slug-state.no { color: var(--error); }
.inline-check { margin-top: 12px; font-size: 0.88rem; }
@media (max-width: 720px) {
  .page-head { padding: 48px 0 40px; }
  .page-body { padding: 0 0 76px; border-bottom: 0; }
  .page-body .sheet { border-top: 0; }
  .link-row { grid-template-columns: 1fr 48px; }
  .link-row input:first-child { grid-column: 1 / -1; }
}
