/* Embraye — direction « La phrase est la mise en page », Switzer, encre bouteille et jaune */

:root {
  --bg: #f7f7f7;
  --surface: #ebebeb;
  --ink: #0d2a1c;
  --muted: #5f6b64;
  --accent: #f6e016;
  --accent-ink: #0d2a1c;
  --inverse: #0d2a1c;
  --inverse-ink: #f7f7f7;
  --inverse-muted: #a9bcb1;

  --font: "Switzer", "Helvetica Neue", Arial, sans-serif;

  --step-small: clamp(0.8125rem, 0.79rem + 0.1vw, 0.875rem);
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --step-head: clamp(2.25rem, 1.2rem + 4vw, 4.5rem);
  --step-display: clamp(2.75rem, 1rem + 8vw, 9rem);

  --margin: clamp(1rem, 2.2vw, 2rem);
  --gutter: clamp(1rem, 2vw, 2rem);
  --section: clamp(7rem, 12vw, 12rem);
  --radius: 4px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
  --t-reveal: 800ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: var(--step-body); line-height: 1.5; letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
h1, h2, h3, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas { display: block; max-width: 100%; }
img, video { height: auto; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.04em; line-height: 0.98; text-wrap: balance; }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -4rem; z-index: 20; background: var(--accent); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

/* ---------- boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3.25rem; padding: 0 1.5rem;
  background: var(--accent); color: var(--accent-ink); font-weight: 500; text-decoration: none; border-radius: var(--radius);
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
}
.btn:hover { background: #fff04a; }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 2.5rem; padding: 0 1rem; font-size: 0.9375rem; }
.btn--ink { background: var(--ink); color: var(--bg); }
.btn--ink:hover { background: #1b4530; }

/* ---------- navigation ---------- */
.nav {
  position: absolute; z-index: 10; inset: 0 0 auto 0; display: flex; align-items: center; gap: 2rem;
  padding: 1.25rem var(--margin); font-size: 0.9375rem;
}
.nav__mark { font-weight: 600; font-size: 1.375rem; letter-spacing: -0.05em; text-decoration: none; margin-right: auto; }
.nav__links { display: flex; gap: 1.75rem; }
.nav__links a { text-decoration: none; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.nav__links a:hover::after, .nav__links a:focus-visible::after { transform: scaleX(1); }

/* ---------- héros ---------- */
.hero { position: relative; height: 250svh; }
.hero__stage {
  --fs: clamp(3rem, 7.6vw, 9rem); --lh: calc(var(--fs) * 0.95); --top: 5.5rem; --bot: 1.5rem; --g: clamp(0.75rem, 1.6vw, 1.5rem);
  --H: calc(100svh - var(--top) - var(--bot) - 2 * var(--lh) - 2 * var(--g));
  --W: min(50vw, calc(var(--H) * 1.78));
  position: sticky; top: 0; height: 100svh; overflow: hidden;
}
.hero__title { position: absolute; inset: var(--top) var(--margin) var(--bot); margin: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; font-size: var(--fs); font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; }
.hero__a { align-self: flex-start; }
.hero__b { align-self: flex-end; }
.reel { position: absolute; left: 50%; top: calc(var(--top) + var(--lh) + var(--g)); width: var(--W); height: var(--H); transform: translateX(-50%); overflow: hidden; border-radius: var(--radius); }
.reel__track { --gap: 16px; display: flex; flex-direction: column; gap: var(--gap); will-change: transform; }
.reel__frame { width: 100%; height: var(--H); border-radius: var(--radius); overflow: hidden; background: var(--surface); position: relative; flex: none; }
.reel__frame--3d { background: var(--inverse); }
.reel__frame--3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.reel__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.has-gl .reel__fallback { display: none; }
.reel__video { width: 100%; height: 100%; object-fit: cover; }
.hero__foot { position: absolute; left: var(--margin); right: var(--margin); bottom: calc(var(--bot) + var(--lh) + var(--g)); display: flex; justify-content: space-between; align-items: flex-end; pointer-events: none; }
.hero__foot > * { pointer-events: auto; }
.hero__lead { width: calc((100vw - var(--W)) / 2 - var(--margin) - 2rem); font-size: var(--step-body); line-height: 1.45; }
.hero__cap { position: absolute; right: var(--margin); top: calc(var(--top) + var(--lh) + var(--g)); width: calc((100vw - var(--W)) / 2 - var(--margin) - 2rem); font-size: var(--step-small); color: var(--muted); }
.hero__cap > span { display: none; }
.hero__cap > span.is-on { display: block; }
.hero__cap strong { display: block; color: var(--ink); font-size: var(--step-body); font-weight: 500; }

/* ---------- fragments d'interface (data-ui) ---------- */
[data-ui] .ui { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(90%, 500px); max-height: 92%; overflow: hidden; border-radius: 6px; background: #fff; color: #17251d; font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; letter-spacing: 0; }
[data-ui] .ui__bar, [data-ui].frag .ui__bar { display: flex; justify-content: space-between; gap: 1rem; padding: 10px 14px; border-bottom: 1px solid #e3e6e4; font-size: 13px; }
[data-ui] .ui__bar span { color: #6b746f; }
[data-ui] .ui__rows { display: flex; flex-direction: column; }
[data-ui] .ui__rows li { display: grid; grid-template-columns: 6.5em 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid #f0f2f1; }
[data-ui] .ui__rows li.is-hot { background: #fffbd6; }
[data-ui] .ui__from { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .ui__subj { color: #3c4a42; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-ui] .tag { font-size: 12px; padding: 2px 8px; border-radius: 3px; background: #eef0ef; color: #4c5852; white-space: nowrap; }
[data-ui] .tag--ok { background: #e2f1e8; color: #1d5c37; }
[data-ui] .tag--you { background: #f6e016; color: #0d2a1c; font-weight: 600; }
[data-ui] .ui__foot { padding: 8px 14px; font-size: 12px; color: #6b746f; border-top: 1px solid #e3e6e4; }
[data-ui] .ui__meta { padding: 12px 14px 0; color: #6b746f; }
[data-ui] .ui__text { padding: 8px 14px; font-size: 14px; line-height: 1.45; }
[data-ui] .ui__actions { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 14px; border-top: 1px solid #e3e6e4; }
[data-ui] .ui__btn { padding: 6px 12px; border: 1px solid #d5dad7; border-radius: 4px; font-size: 13px; }
[data-ui] .ui__btn--go { background: #0d2a1c; color: #fff; border-color: #0d2a1c; }
[data-ui] .ui__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 4px 14px; align-content: center; }
[data-ui] .ui__fields div { padding: 7px 0; border-bottom: 1px solid #f0f2f1; }
[data-ui] .ui__fields dt { font-size: 11.5px; color: #6b746f; }
[data-ui] .ui__fields dd { font-weight: 600; font-variant-numeric: tabular-nums; }

/* ---------- essai ---------- */
.try { padding: var(--section) var(--margin) 0; min-height: 88svh; display: flex; flex-direction: column; }
.try__ask { font-size: var(--step-lead); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 1.25rem; }
.try__line { position: relative; }
[data-ui].try__line .try__input, .try__input {
  width: 100%; border: 0; background: transparent; padding: 0; outline: none;
  font-size: clamp(2.5rem, 7.6vw, 8.25rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.1; color: var(--ink);
  caret-color: var(--ink); text-overflow: clip;
}
[data-ui].try__line .try__input:focus-visible { outline: none; }
[data-ui].try__line { padding-bottom: 6px; }
[data-ui].try__line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); transform: scaleX(0.12); transform-origin: left; transition: transform 600ms var(--ease-out); }
[data-ui].try__line:focus-within::after { transform: scaleX(1); }
.try__body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-top: 3rem; align-items: start; }
.plan { grid-column: 1 / 7; max-width: 600px; }
[data-ui].plan { background: #fff; border: 1px solid #dfe3e1; border-radius: 6px; padding: 18px 20px; font-size: 15px; line-height: 1.45; color: #17251d; transition: opacity var(--t-ui) ease; }
[data-ui] .plan__title { font-weight: 600; font-size: 17px; margin-bottom: 10px; }
[data-ui] .plan__rows div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid #eef0ef; }
[data-ui] .plan__rows dt { color: #6b746f; }
[data-ui].plan.is-swap { opacity: 0.35; }
.try__examples { grid-column: 8 / 13; display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.try__hint { color: var(--muted); margin-bottom: 0.4rem; }
.try__ex { font-size: var(--step-body); text-align: left; padding: 0.35rem 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; transition: transform var(--t-hover) var(--ease-out); }
.try__ex:hover { transform: translateX(6px); text-decoration-color: var(--ink); }
.try__ex:active { transform: translateX(6px) scale(0.98); }

/* ---------- embrayage (scène 3D tenue) ---------- */
.clutch { margin-top: var(--section); height: 260svh; position: relative; background: var(--inverse); color: var(--inverse-ink); }
.clutch__stage { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); padding: 0 var(--margin); overflow: hidden; }
.clutch__text { grid-column: 1 / 6; align-self: center; display: flex; flex-direction: column; gap: 3rem; position: relative; z-index: 1; }
.clutch__title { font-size: var(--step-head); }
.clutch__steps { display: flex; flex-direction: column; gap: 1.75rem; }
.clutch__step { opacity: 0.38; transition: opacity 400ms ease, transform 400ms var(--ease-out); transform: translateX(0); max-width: 30rem; }
.clutch__step.is-on { opacity: 1; transform: translateX(12px); }
.clutch__step h3 { font-size: var(--step-lead); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 0.4rem; color: var(--accent); }
.clutch__step p { color: var(--inverse-ink); }
.clutch__scene { grid-column: 6 / 13; position: relative; margin-right: calc(var(--margin) * -1); }
.clutch__scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* ---------- liste des tâches ---------- */
.tasks { padding: var(--section) var(--margin) 0; }
.tasks__title { font-size: clamp(2.5rem, 1.2rem + 3.6vw, 4.25rem); text-indent: 3vw; max-width: 18ch; }
.tasks__body { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-top: 6rem; align-items: end; }
.tasks__pic { grid-column: 1 / 6; align-self: end; }
.tasks__pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.tasks__pic figcaption, .about__wide figcaption { margin-top: 0.75rem; font-size: var(--step-small); color: var(--muted); max-width: 40ch; }
.tasks__table { grid-column: 7 / 13; display: grid; grid-template-columns: 1fr; position: relative; }
.tasks__name { position: absolute; left: 0; top: -2.5rem; font-size: var(--step-small); color: var(--muted); }
.tasks table { border-collapse: collapse; width: 100%; font-size: 1rem; }
.tasks td { padding: 0.8rem 0; vertical-align: baseline; }
.tasks td:first-child { color: var(--muted); width: 22%; }
.tasks td:nth-child(2) { padding-right: 1.5rem; }
.tasks td:last-child { text-align: right; white-space: nowrap; }
.tasks tr.grp td { padding-top: 2.75rem; }
.tasks tbody tr { transition: transform var(--t-hover) var(--ease-out); }
.tasks tbody tr:hover { transform: translateX(-6px); }

/* ---------- calcul ---------- */
.calc { margin-top: var(--section); background: var(--surface); padding: clamp(5rem, 10vw, 9rem) var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 3rem; }
.calc__text { grid-column: 2 / 12; font-size: clamp(1.5rem, 0.9rem + 1.2vw, 2.125rem); line-height: 1.3; color: var(--muted); max-width: 34em; letter-spacing: -0.02em; }
.calc__text output { color: var(--ink); font-weight: 600; }
.calc__in {
  width: 2.6em; border: 0; border-radius: var(--radius); background: var(--accent); color: var(--ink); font-weight: 600; text-align: center;
  padding: 0 0.15em; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield;
  transition: transform var(--t-press) var(--ease-out);
}
.calc__in::-webkit-outer-spin-button, .calc__in::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__in:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; transform: scale(1.06); }
.calc__big { grid-column: 2 / 13; display: flex; align-items: baseline; gap: 0 2rem; flex-wrap: wrap; }
.calc__big > output { font-size: clamp(7rem, 2rem + 20vw, 20rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.82; font-variant-numeric: tabular-nums; display: inline-block; transition: transform 300ms var(--ease-out); }
.calc__big > output.bump { transform: translateY(-0.04em); }
.calc__unit { font-size: var(--step-lead); max-width: 14em; line-height: 1.25; }
.calc__unit output { font-weight: 600; }

/* ---------- méthode ---------- */
.method { margin-top: var(--section); position: relative; }
.method__fields { display: grid; grid-template-columns: 1fr 1fr; min-height: 88svh; }
.method__left { background: var(--surface); padding: clamp(4rem, 8vw, 7rem) var(--margin) 9rem; display: flex; flex-direction: column; gap: 2rem; }
.method__clause { font-size: clamp(2.5rem, 1rem + 4vw, 4.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 0.98; display: grid; }
.method__clause span, .method__note span { grid-area: 1 / 1; opacity: 0; transform: translateY(14px); transition: opacity 200ms ease, transform 400ms var(--ease-out); visibility: hidden; }
.method__clause span.is-on, .method__note span.is-on { opacity: 1; transform: none; visibility: visible; }
.method__note { display: grid; max-width: 30rem; font-size: var(--step-body); }
.method__right { background: var(--inverse); display: flex; align-items: center; justify-content: center; padding: 4rem var(--margin) 9rem; }
.frag { width: min(100%, 460px); display: grid; }
[data-ui].frag .frag__pane { grid-area: 1 / 1; background: #fff; color: #17251d; border-radius: 6px; font-size: 14px; opacity: 0; transform: translateY(10px) scale(0.98); transition: opacity 200ms ease, transform 400ms var(--ease-out); visibility: hidden; }
[data-ui].frag .frag__pane.is-on { opacity: 1; transform: none; visibility: visible; }
[data-ui] .frag__table { width: 100%; border-collapse: collapse; }
[data-ui] .frag__table th { text-align: left; font-weight: 500; color: #6b746f; font-size: 12.5px; padding: 10px 14px 6px; }
[data-ui] .frag__table td { padding: 9px 14px; border-top: 1px solid #eef0ef; font-variant-numeric: tabular-nums; }
[data-ui] .frag__table td:not(:first-child), [data-ui] .frag__table th:not(:first-child) { text-align: right; }
[data-ui] .meter { padding: 8px 14px 14px; }
[data-ui] .meter__row { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid #eef0ef; }
[data-ui] .meter__row strong { font-variant-numeric: tabular-nums; }
[data-ui] .meter__bar { margin-top: 14px; height: 8px; background: #eef0ef; border-radius: 4px; overflow: hidden; }
[data-ui] .meter__bar span { display: block; height: 100%; background: #0d2a1c; }
.method__control { position: absolute; left: var(--margin); right: var(--margin); bottom: 2rem; }
.method__control input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 40px; background: transparent; cursor: pointer; margin: 0; }
.method__rail { position: relative; }
.method__rail::before { content: ""; position: absolute; left: 0; right: 0; top: 16px; height: 8px; background: #c9cfcc; }
.method__fill { position: absolute; left: 0; top: 16px; height: 8px; width: 100%; background: var(--ink); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform var(--t-ui) var(--ease-out); }
.method__control input[type="range"] { position: relative; }
.method__control input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: transparent; }
.method__control input[type="range"]::-moz-range-track { height: 8px; background: transparent; }
.method__control input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -12px; background: var(--accent); border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out); }
.method__control input[type="range"]::-moz-range-thumb { width: 32px; height: 32px; background: var(--accent); border: 0; border-radius: var(--radius); }
.method__control input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.method__names { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 0.5rem; font-size: 1rem; }
.method__names li { color: var(--muted); transition: color var(--t-ui) ease; }
.method__names li:nth-child(n+3) { color: #a9bcb1; }
.method__names li.is-on { color: var(--ink); font-weight: 500; }
.method__names li:nth-child(n+3).is-on { color: var(--inverse-ink); }
.method__names li:nth-child(2), .method__names li:nth-child(3) { text-align: center; }
.method__names li:last-child { text-align: right; }

/* ---------- prix ---------- */
.price { background: var(--accent); color: var(--accent-ink); min-height: 82svh; padding: clamp(5rem, 9vw, 8rem) var(--margin); display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; }
.price__line { font-size: clamp(2.75rem, 0.6rem + 7.4vw, 9rem); line-height: 0.95; letter-spacing: -0.05em; }
.price__tag { display: inline-block; background: var(--ink); color: var(--accent); padding: 0 0.15em; border-radius: var(--radius); line-height: 1; }
.price__base { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.price__inc { grid-column: 1 / 7; font-size: var(--step-lead); line-height: 1.45; }
.price__act { grid-column: 9 / 13; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; text-align: right; }
.price__more { font-size: 1rem; }

/* ---------- à propos ---------- */
.about { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: 4rem; }
.about__facts { grid-column: 1 / 3; font-size: var(--step-small); display: flex; flex-direction: column; gap: 0.5rem; padding-top: 0.5rem; color: var(--muted); }
.about__text { grid-column: 3 / 13; display: flex; flex-direction: column; gap: 1.2em; font-size: clamp(1.5rem, 0.9rem + 1.2vw, 2.125rem); line-height: 1.22; letter-spacing: -0.02em; }
.about__face { float: left; width: 3.6em; height: 3.6em; margin: 0.12em 0.5em 0 0; object-fit: cover; border-radius: var(--radius); }
.about__p--soft { color: var(--muted); }
.about__p a { color: var(--ink); text-underline-offset: 0.15em; text-decoration-thickness: 2px; }
.about__wide { grid-column: 1 / 13; }
.about__wide img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }

/* ---------- questions ---------- */
.faq { padding: var(--section) var(--margin) 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.faq__title { grid-column: 1 / 13; font-size: clamp(2.5rem, 1rem + 4.4vw, 5.25rem); }
.faq__list { grid-column: 5 / 13; margin-top: 5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { border-radius: var(--radius); margin: 0 -24px; padding: 18px 24px; transition: background-color var(--t-ui) ease; }
.faq details[open] { background: var(--surface); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: var(--step-lead); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 12px; height: 12px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-4px); transition: transform var(--t-ui) var(--ease-out); flex: none; }
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq summary:hover { transform: translateX(4px); }
.faq summary { transition: transform var(--t-hover) var(--ease-out); }
.faq details p { margin-top: 0.9rem; max-width: 48ch; font-size: 1.0625rem; }

/* ---------- appel ---------- */
.cta { margin-top: var(--section); background: var(--surface); padding: clamp(6rem, 10vw, 9rem) var(--margin); }
.cta__line { font-size: clamp(2.25rem, 0.8rem + 4.6vw, 5.75rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.12; max-width: 16em; }
.cta__in {
  display: inline-block; vertical-align: baseline; width: 6.5em; height: 1.08em; border: 0; border-radius: var(--radius); background: #fff; padding: 0 0.2em;
  font-size: 1em; font-weight: 600; letter-spacing: -0.045em; color: var(--ink); transition: background-color var(--t-ui) ease;
}
.cta__in::placeholder { color: #9aa49f; }
.cta__in:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
.cta__go { display: inline-block; font-size: 1em; font-weight: 600; letter-spacing: -0.045em; line-height: 1.08; background: var(--accent); padding: 0 0.15em; border-radius: var(--radius); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.cta__go:hover { background: #fff04a; }
.cta__go:active { transform: scale(0.97); }
.cta__after { margin-top: 2rem; color: var(--muted); font-size: 1rem; max-width: 46ch; }

/* ---------- pied ---------- */
.foot { background: var(--inverse); color: var(--inverse-ink); min-height: 100svh; padding: clamp(5rem, 9vw, 8rem) var(--margin) 0; display: flex; flex-direction: column; overflow: hidden; }
.foot__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.foot__invite { grid-column: 1 / 8; display: flex; flex-direction: column; align-items: flex-start; gap: 2.5rem; }
.foot__title { font-size: clamp(2.5rem, 1rem + 4.2vw, 5rem); }
.foot__links { grid-column: 10 / 13; display: flex; flex-direction: column; gap: 0.6rem; font-size: 1rem; }
.foot__links a { text-decoration: none; }
.foot__links a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.foot__legal { margin-top: auto; padding-top: 4rem; display: flex; justify-content: space-between; gap: 2rem; font-size: var(--step-small); color: var(--inverse-ink); }
.foot__legal .credits { max-width: 70ch; text-align: right; }
.foot__legal a { color: var(--inverse-ink); }
.foot__word { font-size: 29vw; font-weight: 600; letter-spacing: -0.065em; line-height: 0.8; white-space: nowrap; margin: 1rem 0 0 -0.04em; transform: translateY(24%); color: var(--accent); }

/* ---------- entrées ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- tablette et téléphone ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .hero { height: 240svh; }
  .hero__stage { --fs: 10.6vw; --top: 4.75rem; --bot: 14rem; --g: 0.75rem; --W: calc(100vw - 2 * var(--margin)); }
  .hero__foot { bottom: 1.25rem; flex-direction: column; align-items: stretch; gap: 1rem; }
  .hero__lead { width: auto; font-size: 1.125rem; line-height: 1.4; }
  .hero__cap { display: none; }

  .try__body { display: flex; flex-direction: column; gap: 1.75rem; margin-top: 1.75rem; }
  .try__examples { flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .try__hint { width: 100%; margin: 0; }
  .try__ex { min-height: 44px; padding: 0.5rem 0.9rem; background: var(--surface); text-decoration: none; font-size: 1rem; border-radius: var(--radius); }

  .clutch { height: 260svh; }
  .clutch__stage { display: flex; flex-direction: column-reverse; padding: 2rem var(--margin); }
  .clutch__text { gap: 1.25rem; }
  .clutch__scene { flex: 1; margin: 0 calc(var(--margin) * -1); min-height: 40svh; }
  .clutch__steps { gap: 0; display: grid; }
  .clutch__step { grid-area: 1 / 1; opacity: 0; transform: none; }
  .clutch__step.is-on { opacity: 1; transform: none; }

  .tasks__title { text-indent: 0; font-size: 9.5vw; }
  .tasks__body { display: flex; flex-direction: column-reverse; gap: 3rem; margin-top: 3rem; }
  .tasks__name { display: none; }
  .tasks__pic { width: 60%; align-self: flex-end; }
  .tasks table, .tasks tbody, .tasks tr { display: block; }
  .tasks tr { display: grid; grid-template-columns: 1fr auto; gap: 0.15rem 1rem; padding: 0.7rem 0; }
  .tasks tr.grp { padding-top: 2rem; }
  .tasks td { padding: 0 !important; width: auto !important; }
  .tasks td:first-child { grid-column: 1; grid-row: 1; font-size: 0.9375rem; }
  .tasks td:last-child { grid-column: 2; grid-row: 1; font-size: 0.9375rem; }
  .tasks td:nth-child(2) { grid-column: 1 / 3; grid-row: 2; }

  .calc { display: block; }
  .calc__text { font-size: 1.5rem; }
  .calc__big { margin-top: 2.5rem; }

  .method__fields { grid-template-columns: 1fr; min-height: 0; }
  .method__right { order: -1; padding: 2.5rem var(--margin); min-height: 46svh; }
  .method__left { padding: 3rem var(--margin); }
  .method__clause { font-size: 9vw; }
  .method__left { padding-bottom: 1.5rem; }
  .method__control { position: static; background: var(--surface); padding: 0 var(--margin) 3rem; }
  .method__names { font-size: 0.9375rem; }
  .method__names li, .method__names li:nth-child(n+3) { color: var(--muted); }
  .method__names li.is-on, .method__names li:nth-child(n+3).is-on { color: var(--ink); }
  .method__control input[type="range"]::-webkit-slider-thumb { width: 40px; height: 40px; margin-top: -16px; }

  .price__line { font-size: 10.5vw; }
  .price__base { display: flex; flex-direction: column; align-items: stretch; gap: 2rem; }
  .price__act { align-items: stretch; text-align: left; justify-self: auto; }
  .price__inc { font-size: 1.0625rem; }

  .about { display: flex; flex-direction: column; gap: 2.5rem; }
  .about__text { font-size: 1.375rem; line-height: 1.25; }
  .about__face { width: 4.6em; height: 4.6em; }
  .about__facts { order: 2; flex-direction: row; flex-wrap: wrap; gap: 0.5rem; }
  .about__facts li { background: var(--surface); padding: 0.5rem 0.75rem; border-radius: var(--radius); }
  .about__wide { order: 3; }
  .about__wide img { aspect-ratio: 4 / 3; }

  .faq { display: block; }
  .faq__title { font-size: 10vw; }
  .faq__list { margin-top: 2.5rem; }
  .faq details { margin: 0 calc(var(--margin) * -1); padding: 16px var(--margin); border-radius: 0; }
  .faq summary { font-size: 1.1875rem; }

  .cta__line { font-size: 9.5vw; }
  .cta__in { display: block; width: 100%; margin: 0.15em 0; }

  .foot__top { display: flex; flex-direction: column; gap: 3rem; }
  .foot__title { font-size: 11vw; }
  .foot__invite .btn { align-self: stretch; }
  .foot__links { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-size: 0.9375rem; }
  .foot__legal { flex-direction: column; gap: 1rem; }
  .foot__legal .credits { text-align: left; }
  .foot__word { font-size: 34vw; }
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero, .clutch { height: auto; }
  .hero__stage, .clutch__stage { position: relative; min-height: 100svh; }
  .clutch__step { opacity: 1; transform: none; }
  @media (max-width: 900px) { .clutch__steps { display: flex; flex-direction: column; gap: 1.25rem; } }
  * { scroll-behavior: auto !important; }
}
