/* =====================================================================
   KompoDoc — Direction C « Produit »
   Geist + Geist Mono, fond blanc, panneaux gris clair, un accent bleu.
   Le produit (liseuse, pages réelles) porte la page.
   ===================================================================== */

:root {
  --bg: #FFFFFF;
  --tint: #F6F6F7;
  --tint-2: #EFEFF1;
  --ink: #0B0C0E;
  --ink-2: #3B3F46;
  --mute: #6A6F78;      /* 5,0:1 sur blanc, 4,7:1 sur --tint */
  --line: #E6E7EA;
  --line-2: #D9DADE;
  --accent: #2A55E5;   /* 5,6:1 sur blanc */
  --accent-ink: #1E3FB4; /* 8,3:1 sur blanc : italique du titre */
  --serif: "Fraunces", ui-serif, Georgia, serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  --dark: #0D0E10;

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 16px;
  --sec: clamp(88px, 10vw, 136px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { top: 12px; }
.wrap { max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Type ---------- */
.h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -0.04em; text-wrap: balance; }
.h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; font-weight: 600; letter-spacing: -0.035em; text-wrap: balance; }
.h3 { font-size: 18px; line-height: 1.3; font-weight: 600; letter-spacing: -0.01em; }
.lead { font-size: clamp(17px, 1.4vw, 19px); line-height: 1.55; color: var(--mute); max-width: 36em; }
.eyebrow { font: 500 13px/1.3 var(--mono); color: var(--accent); margin-bottom: 16px; letter-spacing: 0; }
.sec__lead { color: var(--mute); font-size: 17px; max-width: 34em; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; font: 500 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: #2A2C31; border-color: #2A2C31; }
.btn--line { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--line:hover { background: var(--tint); border-color: var(--line-2); }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn--lg { height: 46px; padding: 0 20px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--light { background: #fff; color: var(--ink); border-color: #fff; }
.btn--light:hover { background: #E8E9EC; border-color: #E8E9EC; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.45); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta-row--left { justify-content: flex-start; }

/* ---------- Header ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.hd__in { display: flex; align-items: center; height: 64px; gap: 32px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; text-decoration: none; }
.logo__mark { width: 18px; height: 22px; border-radius: 3px; background: var(--ink); position: relative; flex: none; }
.logo__mark::after { content: ""; position: absolute; left: 4px; right: 4px; top: 6px; height: 1.5px; background: #fff; box-shadow: 0 4px 0 #fff, 0 8px 0 rgba(255,255,255,.55); }
.nav { margin: 0 auto; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 14.5px; font-weight: 450; color: var(--ink-2); text-decoration: none; }
.nav a:hover { background: var(--tint); color: var(--ink); }
.hd__cta { display: flex; gap: 8px; }
.burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform .2s; }
.burger span:first-child { top: 15px; } .burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mnav { padding: 8px var(--gutter) 20px; border-top: 1px solid var(--line); }
.mnav a:not(.btn) { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 17px; font-weight: 500; text-decoration: none; }
.mnav__cta { display: grid; gap: 8px; margin-top: 18px; }
.mnav__cta .btn { height: 46px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(44px, 5.4vw, 76px) 0 0; }
.hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px 6px 10px; font-size: 13.5px; color: var(--ink-2); margin-bottom: 24px; }
/* Repère d'enregistrement d'imprimerie : cercle + croix qui déborde */
.pill__reg { position: relative; flex: none; width: 13px; height: 13px; color: var(--accent);
  background: linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }
.pill__reg::before { content: ""; position: absolute; inset: 2.5px; border: 1px solid currentColor; border-radius: 50%; }
.hero .h1 { max-width: 13em; margin-bottom: 20px; }
.hero .lead { margin-bottom: 28px; }

/* Italique éditoriale + soulignement tracé à la main */
.hero__em { position: relative; display: inline-block; font-family: var(--serif); font-style: italic; font-weight: 380;
  font-variation-settings: "opsz" 120; letter-spacing: -0.02em; color: var(--accent-ink); padding-right: .04em; }
.hero__mark { position: absolute; left: -.02em; right: 0; bottom: -.16em; width: 100%; height: .3em; overflow: visible; pointer-events: none; }
.hero__mark path { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 0; }

/* Repères de coupe aux quatre coins de la scène (traits décalés du coin, comme sur une épreuve).
   Calque frère superposé en grille : aucun ancêtre de l'iframe n'est positionné ni transformé,
   sinon Chrome fait défiler la page jusqu'à la démo au chargement. */
.hero__stagewrap { display: grid; }
.hero__stagewrap > .stage, .crops { grid-area: 1 / 1; }
.crops { --c: #A9ADB4; margin: calc(clamp(36px, 4vw, 52px) - 18px) -18px -18px; display: grid; grid-template: 18px 1fr 18px / 18px 1fr 18px; pointer-events: none; }
.crop { --h: linear-gradient(var(--c), var(--c)); }
.crop--tl { grid-area: 1 / 1; background: var(--h) left bottom / 12px 1px no-repeat, var(--h) right top / 1px 12px no-repeat; }
.crop--tr { grid-area: 1 / 3; background: var(--h) right bottom / 12px 1px no-repeat, var(--h) left top / 1px 12px no-repeat; }
.crop--bl { grid-area: 3 / 1; background: var(--h) left top / 12px 1px no-repeat, var(--h) right bottom / 1px 12px no-repeat; }
.crop--br { grid-area: 3 / 3; background: var(--h) right top / 12px 1px no-repeat, var(--h) left bottom / 1px 12px no-repeat; }

/* Apparition douce : seulement si JS est là (classe posée dans le head) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
/* Le hero n'a pas de .reveal : il est visible dès le chargement. Seul le soulignement se trace, en CSS pur. */
.hero__mark path { animation: kd-draw .9s var(--ease) .5s both; }
@keyframes kd-draw { from { stroke-dashoffset: 1; } }
.stage__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 14px 6px 16px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; color: var(--mute); }
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: #B4B7BD; }

.stage { margin-top: clamp(36px, 4vw, 52px); background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: 10px 10px 0; }
.stage__tabs { display: flex; gap: 4px; padding: 4px 4px 12px; }
.stage__tabs button { height: 32px; padding: 0 12px; border-radius: 7px; border: 1px solid transparent; background: transparent; font: 500 13.5px/1 var(--sans); color: var(--mute); cursor: pointer; }
.stage__tabs button:hover { color: var(--ink); }
.stage__tabs button[aria-selected="true"] { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(11,12,14,.06); }
.win { background: #fff; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 2px rgba(11,12,14,.04), 0 12px 32px -12px rgba(11,12,14,.12); }
.win__bar { display: flex; align-items: center; gap: 14px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #FBFBFC; }
.win__dots { display: inline-flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: #E1E2E5; }
.win__url { flex: 1; text-align: center; font: 400 12.5px/1 var(--mono); color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.win__open { font-size: 12.5px; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.win__open:hover { color: var(--accent); }
.win__frame { display: block; width: 100%; height: clamp(520px, 62vw, 700px); border: 0; background: #0A0A0B; }
.stage__hint { font-size: 13px; color: var(--ink-2); }

/* ---------- Logos ---------- */
.logos { padding: clamp(56px, 6vw, 80px) 0 0; }
.logos__in { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.logos__t { font-size: 15px; font-weight: 500; color: var(--mute); line-height: 1.4; }
.logos__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.logos__grid li { height: 96px; display: grid; place-items: center; background: var(--tint); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.lg { width: auto; max-width: 100%; opacity: .85; }
.lg--girard { height: 40px; } .lg--prodhys { height: 32px; } .lg--packembal { height: 28px; } .lg--urbasport { height: 44px; } .lg--rdn { height: 38px; }

/* ---------- Sections ---------- */
.sec { padding: var(--sec) 0 0; }
.sec--tint { background: var(--tint); padding-bottom: var(--sec); margin-top: var(--sec); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec--tint + .sec { padding-top: var(--sec); }
.sec--top { padding-top: var(--sec); }
.sec__head { margin-bottom: clamp(36px, 4vw, 56px); max-width: 720px; }
.sec__head .h2 { margin-bottom: 16px; }
.sec__head--split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; }
.sec__head--split .h2 { margin-bottom: 0; }
.sec__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec__head--center .sec__lead { margin: 0 auto; }

/* ---------- Bento liseuse ---------- */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 12px; }
.card { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; min-height: 460px; }
.card__txt { padding: 26px 28px 0; }
.card__txt p { color: var(--mute); margin-top: 6px; font-size: 15px; max-width: 30em; }
.card__shot { margin-top: auto; padding: 28px 0 0 28px; }
.card__shot .shot { border-radius: 10px 0 0 0; border: 1px solid var(--line-2); border-right: 0; border-bottom: 0; }
.card__shot--stack { display: flex; flex-direction: column; gap: 10px; padding-right: 0; }
.card__shot--stack .shot--bar { border-radius: 10px; border: 1px solid var(--line-2); width: auto; max-width: calc(100% - 28px); align-self: flex-start; }
.card--search { grid-column: span 5; }
.card--fiche { grid-column: span 7; }
.card--filtres { grid-column: span 7; }
.card--devis { grid-column: span 5; }
.card--search .card__shot .shot:not(.shot--bar), .card--filtres .card__shot .shot:not(.shot--bar) { height: 300px; width: 100%; object-fit: cover; object-position: left top; }
.card--fiche .card__shot .shot { height: 360px; width: 100%; object-fit: cover; object-position: left top; }
.card--devis .card__shot .shot { height: 300px; width: 100%; object-fit: cover; object-position: left top; }
.card--filtres .card__shot--stack .shot--bar { max-width: calc(100% - 28px); }

/* ---------- Solutions ---------- */
.sols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.sol { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 12px 24px; }
.sol__pages { background: var(--tint-2); border-radius: 10px; height: 300px; overflow: hidden; display: flex; justify-content: center; align-items: flex-start; gap: 10px; padding: 32px 32px 0; margin-bottom: 22px; }
.sol__pages img { width: 44%; box-shadow: 0 0 0 1px rgba(11,12,14,.08), 0 6px 16px -8px rgba(11,12,14,.25); border-radius: 2px; }
.sol .h3, .sol__p, .sol .dots { padding: 0 12px; }
.sol__p { color: var(--mute); font-size: 15px; margin: 6px 0 16px; }
.sol .dots { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.dots li { position: relative; padding: 5px 0 5px 16px; font-size: 14.5px; color: var(--ink-2); }
.dots li::before { content: ""; position: absolute; left: 0; top: 13px; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* ---------- Avant / après ---------- */
.case { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.case__txt { position: sticky; top: 104px; }
.case__txt .h2 { margin-bottom: 18px; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 32px 0 36px; }
.chips div { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; background: #fff; }
.chips dt { font-size: 12.5px; color: var(--mute); }
.chips dd { font: 500 16px/1.3 var(--mono); margin-top: 4px; letter-spacing: -0.01em; }
.case__logo { height: 34px; width: auto; opacity: .85; }
.case__viz { position: relative; background: var(--tint); border: 1px solid var(--line); border-radius: 20px; padding: 14px; }
.case__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.case__hint { display: inline-flex; align-items: center; gap: 8px; font: 400 12px/1 var(--mono); color: var(--mute); }
.case__hint::before { content: "←→"; letter-spacing: -0.1em; color: var(--accent); }
.seg { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--tint-2); }
.seg button { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; font: 500 13.5px/1 var(--sans); color: var(--mute); cursor: pointer; white-space: nowrap; }
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(11,12,14,.08); }

/* La page posée sur le plan de travail */
.cmp-frame { margin: 0; }
.cmp { --pos: 50%; position: relative; aspect-ratio: 1000 / 1415; border-radius: 4px; overflow: hidden; background: #fff;
  box-shadow: 0 0 0 1px rgba(11,12,14,.1), 0 2px 4px rgba(11,12,14,.04), 0 24px 48px -24px rgba(11,12,14,.28);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.cmp__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.cmp__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 44px; margin-left: -22px; outline: none; cursor: ew-resize; }
.cmp__handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(11,12,14,.16), 0 0 18px rgba(11,12,14,.18); }
.cmp__grip { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--ink);
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 8px 20px -6px rgba(11,12,14,.5); transition: transform .2s var(--ease), background .2s; }
.cmp__grip::before, .cmp__grip::after { content: ""; position: absolute; top: 50%; width: 6px; height: 6px; border: solid #fff; border-width: 0 0 1.5px 1.5px; }
.cmp__grip::before { left: 13px; transform: translateY(-50%) rotate(45deg); }
.cmp__grip::after { right: 13px; transform: translateY(-50%) rotate(-135deg); }
.cmp__handle:hover .cmp__grip, .cmp.is-drag .cmp__grip { transform: scale(1.08); }
.cmp__handle:focus-visible .cmp__grip { background: var(--accent); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--accent); }
.cmp__lbl { position: absolute; bottom: 14px; padding: 6px 10px; border-radius: 999px; font: 500 12px/1 var(--mono); letter-spacing: .02em; pointer-events: none; transition: opacity .25s; }
.cmp__lbl--l { left: 14px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 0 0 1px var(--line-2); }
.cmp__lbl--r { right: 14px; background: var(--ink); color: #fff; }
.cmp[data-edge="start"] .cmp__lbl--l, .cmp[data-edge="end"] .cmp__lbl--r { opacity: 0; }
.cmp__img[data-loading] { opacity: .6; transition: opacity .2s; }
.cmp__cap { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 0 2px; font: 400 12px/1.4 var(--mono); color: var(--mute); }
.zoom { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.zoom img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 10% 30%; border-radius: 10px; border: 1px solid var(--line-2); background: #fff; }
.zoom figcaption { font: 400 12px/1.4 var(--mono); color: var(--mute); margin-top: 8px; }

/* ---------- Réalisations ---------- */
.works { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.work { display: block; text-decoration: none; border-radius: var(--r); }
.work__cover { display: block; background: var(--tint); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 22px 0; height: 300px; overflow: hidden; transition: background .2s; }
.work__cover img { width: 100%; box-shadow: 0 0 0 1px rgba(11,12,14,.08), 0 10px 24px -12px rgba(11,12,14,.3); border-radius: 2px; transition: transform .3s ease; }
.work:hover .work__cover { background: var(--tint-2); }
.work:hover .work__cover img { transform: translateY(-4px); }
.work__meta { display: flex; flex-direction: column; padding: 12px 4px 0; }
.work__name { font-weight: 600; font-size: 15px; }
.work__name::after { content: " →"; color: var(--mute); }
.work__type { font-size: 14px; color: var(--mute); }

/* ---------- Méthode ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.steps li { padding: 26px 26px 30px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps__n { display: inline-block; font: 500 12.5px/1 var(--mono); color: var(--accent); margin-bottom: 40px; }
.steps h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 6px; }
.steps p { color: var(--mute); font-size: 15px; }

/* ---------- Tarifs ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1080px; margin: 0 auto; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; display: flex; flex-direction: column; }
.plan--feat { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.plan__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.badge { font: 500 12px/1 var(--mono); color: var(--accent); background: #EEF2FD; padding: 6px 8px; border-radius: 6px; }
.plan__name { font-size: 17px; font-weight: 600; }
.plan__desc { color: var(--mute); font-size: 14.5px; margin: 8px 0 24px; min-height: 44px; }
.plan__price { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; min-height: 78px; }
.plan__amt { font-size: 44px; line-height: 1; font-weight: 600; letter-spacing: -0.04em; }
.plan__unit { font-size: 14px; color: var(--mute); }
.ticks { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 24px; font-size: 14.5px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 5px; border: solid var(--ink); border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }

/* ---------- CTA final ---------- */
.final { background: var(--dark); color: #fff; border-radius: 24px; display: grid; grid-template-columns: 6fr 5fr; overflow: hidden; }
.final__txt { padding: clamp(36px, 5vw, 72px); align-self: center; }
.final .h2 { margin-bottom: 16px; }
.final p { color: #A6AAB2; font-size: 17px; max-width: 30em; margin-bottom: 30px; }
.final__pages { position: relative; min-height: 360px; }
.final__pages img { position: absolute; width: 44%; border-radius: 3px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.final__pages img:first-child { left: 8%; top: 64px; }
.final__pages img:last-child { left: 46%; top: 110px; }

/* ---------- Footer ---------- */
.ft { margin-top: var(--sec); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: 14.5px; }
.ft__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; gap: 32px; }
.ft__brand p { color: var(--mute); margin-top: 12px; max-width: 18em; }
.ft h2 { font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.ft ul { display: grid; gap: 9px; }
.ft ul a { color: var(--mute); text-decoration: none; }
.ft ul a:hover { color: var(--ink); }
.ft__grid > div:last-child p { color: var(--mute); margin-bottom: 14px; }
.ft__bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--mute); font-size: 13.5px; }

/* =====================================================================
   Lot 2 — même identité sous le hero : italique éditoriale, repères d'imprimerie, accent bleu
   ===================================================================== */
.ital { font-family: var(--serif); font-style: italic; font-weight: 380; font-variation-settings: "opsz" 120; letter-spacing: -0.015em; color: var(--accent-ink); }
.h2 { font-size: clamp(32px, 4.3vw, 56px); line-height: 1.03; letter-spacing: -0.042em; }
.sec__head .h2 { margin-bottom: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .02em; }
.eyebrow::before { content: ""; flex: none; width: 13px; height: 13px;
  background: radial-gradient(circle, transparent 3.5px, currentColor 3.5px, currentColor 4.5px, transparent 4.5px),
    linear-gradient(currentColor, currentColor) center / 100% 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 100% no-repeat; }

/* Logos : vrais logos, en gris jusqu'au survol */
.logos__t { font: 500 12.5px/1.5 var(--mono); letter-spacing: .02em; }
.logos__grid li { background: #fff; transition: border-color .2s, background .2s; }
.lg { filter: grayscale(1); opacity: .62; transition: filter .3s, opacity .3s; }
.logos__grid li:hover { border-color: var(--line-2); }
.logos__grid li:hover .lg { filter: none; opacity: 1; }

/* Bento liseuse */
.card { transition: border-color .25s, box-shadow .25s; }
.card .shot, .card__phone img { transition: transform .5s var(--ease); }
.card:hover { border-color: var(--line-2); box-shadow: 0 18px 40px -28px rgba(11,12,14,.35); }
.card:hover .card__shot .shot:not(.shot--bar), .card:hover .card__phone img { transform: translateY(-6px); }
.card--compare { grid-column: span 8; }
.card--mobile { grid-column: span 4; }
.card--compare .card__shot .shot { height: 320px; width: 100%; object-fit: cover; object-position: left top; }
.card__phone { margin-top: auto; height: 340px; overflow: hidden; display: flex; justify-content: center; padding-top: 28px; }
.card__phone img { width: 62%; max-width: 230px; height: auto; align-self: flex-start; border-radius: 26px 26px 0 0; border: 6px solid var(--ink); border-bottom: 0; background: #fff; box-shadow: 0 18px 36px -18px rgba(11,12,14,.4); }

/* Solutions : survol, les deux pages s'écartent */
.sol { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.sol__pages img { transition: transform .5s var(--ease); }
.sol:hover { transform: translateY(-3px); border-color: var(--line-2); box-shadow: 0 24px 48px -32px rgba(11,12,14,.4); }
.sol:hover .sol__pages img:first-child { transform: translate(-6px, -4px) rotate(-1.5deg); }
.sol:hover .sol__pages img:last-child { transform: translate(6px, 2px) rotate(1.5deg); }

/* Réalisations */
.work__name { transition: color .2s; }
.work:hover .work__name { color: var(--accent-ink); }

/* Section sombre (méthode) */
.sec--dark { --line: rgba(255,255,255,.12); background: var(--dark); color: #fff; margin-top: var(--sec); padding-bottom: var(--sec); }
.sec--dark .eyebrow { color: #9DB0FF; }
.sec--dark .ital, .final .ital { color: #A9BBFF; }
.sec--dark + .sec--tint { margin-top: 0; border-top: 0; }
.sec--dark .steps { background: rgba(255,255,255,.02); }
.sec--dark .steps li { transition: background .25s; }
.sec--dark .steps li:hover { background: rgba(255,255,255,.04); }
.sec--dark .steps p { color: #A6AAB2; }
.steps__n { font-family: var(--serif); font-style: italic; font-weight: 340; font-variation-settings: "opsz" 144; font-size: 46px; line-height: 1; letter-spacing: -0.02em; margin-bottom: 32px; }
.sec--dark .steps__n { color: #A9BBFF; }

/* Tarifs : Sérénité en carte sombre, survols nets */
.plan { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 28px 56px -36px rgba(11,12,14,.45); }
.plan--feat { background: var(--dark); color: #fff; border-color: var(--dark); box-shadow: 0 28px 56px -32px rgba(11,12,14,.55); }
.plan--feat:hover { border-color: var(--dark); box-shadow: 0 36px 64px -32px rgba(11,12,14,.65); }
.plan--feat .plan__desc, .plan--feat .plan__unit { color: #A6AAB2; }
.plan--feat .badge { background: rgba(169,187,255,.14); color: #A9BBFF; }
.plan--feat .btn { background: #fff; color: var(--ink); border-color: #fff; }
.plan--feat .btn:hover { background: #E8E9EC; border-color: #E8E9EC; }
.plan--feat .ticks { border-top-color: rgba(255,255,255,.14); }
.plan--feat .ticks li { color: #D5D7DC; }
.plan--feat .ticks li::before { border-color: #A9BBFF; }
.plan:last-child .plan__amt { font-family: var(--serif); font-style: italic; font-weight: 380; letter-spacing: -0.02em; }

/* CTA final encadré de repères de coupe */
.marked { display: grid; }
.marked > * { grid-area: 1 / 1; }
.marked > .crops { margin: -18px; }

/* Footer */
.ft__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.ft__bottom { font: 400 12.5px/1.5 var(--mono); }

/* =====================================================================
   Lot 3 — animations (transform et opacity uniquement)
   Les états masqués sont tous préfixés .js : sans JS, la page reste entièrement visible.
   ===================================================================== */
@keyframes kd-rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes kd-word { from { opacity: 0; transform: translateY(.4em); } }
@keyframes kd-fade { from { opacity: 0; transform: scale(1.012); } }
@keyframes kd-marquee { to { transform: translateX(-50%); } }

/* Hero : entrée orchestrée en CSS pur, lisible en moins d'une seconde */
.hero { overflow-x: clip; }
.hero__head > .pill { animation: kd-rise .6s var(--ease) both; }
.hero__title .w { display: inline-block; animation: kd-word .7s var(--ease) both; animation-delay: calc(.08s + var(--i, 0) * .06s); }
.hero__head > .lead { animation: kd-rise .7s var(--ease) .3s both; }
.hero__head > .cta-row { animation: kd-rise .7s var(--ease) .4s both; }
.hero__stagewrap { perspective: 1800px; animation: kd-rise .9s var(--ease) .5s both; }
.stage.has-tilt { transform-origin: 50% 0; will-change: transform; }
.hero__stagewrap .crops { transform-origin: 50% 18px; } /* même axe que la scène (les repères débordent de 18 px) */

/* Halo d'accent qui suit la souris autour de la démo (desktop) */
.glow { grid-area: 1 / 1; place-self: start; position: relative; width: 0; height: 0; display: none; pointer-events: none; opacity: 0; transition: opacity .5s var(--ease); will-change: transform; }
.glow::before { content: ""; position: absolute; left: -320px; top: -320px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(42,85,229,.22), rgba(42,85,229,.07) 55%, transparent); }
.hero__stagewrap.is-glow .glow { opacity: 1; }
@media (hover: hover) and (pointer: fine) and (min-width: 901px) { .js .glow { display: block; } }

/* Barre de lecture */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }

/* Header : se compacte (translation) et prend un fond flouté au scroll */
.hd { background: transparent; transition: transform .35s var(--ease); }
.hd::before, .hd::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; transition: opacity .35s var(--ease); }
.hd::before { background: rgba(255,255,255,.96); }
.hd::after { opacity: 0; background: rgba(255,255,255,.74); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 10px 30px -20px rgba(11,12,14,.3); }
.hd__in { transition: transform .35s var(--ease); }
.hd.is-scrolled { transform: translateY(-8px); }
.hd.is-scrolled::before { opacity: 0; }
.hd.is-scrolled::after { opacity: 1; }
.hd.is-scrolled .hd__in { transform: translateY(4px); }

/* Boutons : reflet au survol (boutons pleins) ; l'effet magnétique est en JS */
.btn { position: relative; overflow: hidden; transition: background .15s, border-color .15s, color .15s, transform .3s var(--ease); }
.btn:not(.btn--line):not(.btn--ghost):not(.btn--light)::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.24) 50%, transparent 70%); transform: translateX(-110%); }
.btn:not(.btn--line):not(.btn--ghost):not(.btn--light):hover::after { transform: translateX(110%); transition: transform .75s var(--ease); }

/* Cartes : le tilt est posé en JS ; on ajoute transform aux transitions des cartes du bento */
.card { transition: border-color .25s, box-shadow .25s, transform .35s var(--ease); }

/* Cascades (stagger) : le conteneur reste fixe, ses enfants apparaissent un à un */
.js .reveal.stagger { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; }
.js .stagger.is-in > * { opacity: 1; animation: kd-rise .75s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 90ms); }

/* Titres de section révélés par masque, mot par mot (découpe en JS) */
.h2 .mw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .07em .2em; margin: 0 -.07em -.2em; }
.h2 .mi { display: inline-block; }
.js .reveal .h2 .mi { transition: transform .9s var(--ease) calc(.08s + var(--i, 0) * 45ms); }
.js .reveal:not(.is-in) .h2 .mi { transform: translateY(110%); }

/* Méthode : numéros qui montent dans leur masque, ligne de progression */
.steps__n { overflow: hidden; vertical-align: top; padding: .08em .1em .14em 0; }
.steps__n > span { display: inline-block; }
.js .steps .steps__n > span { transition: transform .9s var(--ease) calc(.2s + var(--i, 0) * 120ms); }
.js .steps:not(.is-in) .steps__n > span { transform: translateY(115%); }
.track { position: relative; height: 1px; margin: 0 0 28px; background: var(--line); }
.track__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent), #A9BBFF); transform-origin: 0 50%; }
.js .track__fill { transform: scaleX(0); }
.track i { position: absolute; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--dark); box-shadow: 0 0 0 1px rgba(255,255,255,.3); }
.track i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #A9BBFF; opacity: 0; transition: opacity .3s; }
.track i.on::after { opacity: 1; }
.track i:nth-of-type(1) { left: 26px; } .track i:nth-of-type(2) { left: calc(25% + 26px); }
.track i:nth-of-type(3) { left: calc(50% + 26px); } .track i:nth-of-type(4) { left: calc(75% + 26px); }

/* Logos : défilement continu (activé en JS, qui duplique la liste), pause au survol */
.logos__vp { min-width: 0; }
.logos.is-marquee .logos__vp { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.logos.is-marquee .logos__grid { display: flex; gap: 0; width: max-content; animation: kd-marquee 40s linear infinite; }
.logos.is-marquee .logos__grid li { flex: none; width: 184px; margin-right: 8px; }
.logos.is-marquee .logos__vp:hover .logos__grid, .logos.is-marquee .logos__vp:focus-within .logos__grid { animation-play-state: paused; }

/* Comparateur : fondu au changement de page */
.cmp.is-swap .cmp__img { animation: kd-fade .5s var(--ease) both; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1100px) {
  .nav a { padding: 8px 9px; }
  .hd__cta .btn--line { display: none; }
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ft__grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav, .hd__cta { display: none; }
  .burger { display: block; }
  .logos__in { grid-template-columns: 1fr; }
  .sec__head--split { grid-template-columns: 1fr; }
  .card--search, .card--fiche, .card--filtres, .card--devis, .card--compare, .card--mobile { grid-column: 1 / -1; min-height: 0; }
  .case { grid-template-columns: 1fr; }
  .case__txt { position: static; }
  .track { display: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .steps li:nth-child(3) { border-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .plans { grid-template-columns: 1fr; max-width: 520px; }
  .final { grid-template-columns: 1fr; }
  .final__pages { min-height: 260px; }
  .final__pages img { width: 36%; }
  .final__pages img:first-child { left: 12%; top: 10px; }
  .final__pages img:last-child { left: 46%; top: 44px; }
}
@media (max-width: 640px) {
  .hero { padding-top: 40px; }
  .pill { font-size: 12.5px; padding: 6px 12px; text-align: center; }
  .crops { display: none; } /* la scène déborde dans la gouttière : pas de place pour les repères */
  .hero .h1 { font-size: clamp(34px, 9.6vw, 40px); }
  .case__viz { padding: 10px; border-radius: 16px; }
  .case__hint { display: none; }
  .seg { display: flex; width: 100%; }
  .seg button { flex: 1 1 0; padding: 0 6px; font-size: 13px; }
  .cmp__lbl { bottom: 10px; padding: 5px 8px; font-size: 11.5px; }
  .cmp__lbl--l { left: 10px; } .cmp__lbl--r { right: 10px; }
  .cmp__cap { font-size: 11.5px; }
  .hero__facts { flex-direction: column; }
  .cta-row .btn { flex: 1 1 100%; }
  .stage { padding: 6px 6px 0; border-radius: 16px; margin-left: calc(var(--gutter) * -0.5); margin-right: calc(var(--gutter) * -0.5); }
  .win__open { display: none; }
  .win__frame { height: 600px; }
  .logos__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .logos__grid li { height: 80px; }
  .logos.is-marquee .logos__grid li { width: 150px; }
  .logos__grid li:last-child { grid-column: 1 / -1; }
  .card__txt { padding: 22px 20px 0; }
  .card__shot { padding: 22px 0 0 20px; }
  .card--fiche .card__shot .shot { height: 240px; }
  .card--search .card__shot .shot:not(.shot--bar), .card--filtres .card__shot .shot:not(.shot--bar), .card--devis .card__shot .shot { height: 220px; }
  .sols { grid-template-columns: 1fr; }
  .sol__pages { height: 230px; padding: 24px 20px 0; }
  .sol .dots { grid-template-columns: 1fr; }
  .chips dd { font-size: 15px; }
  .zoom { grid-template-columns: 1fr 1fr; }
  .works { grid-template-columns: 1fr 1fr; gap: 16px 10px; }
  .work__cover { height: 200px; padding: 16px 16px 0; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .steps__n { margin-bottom: 18px; font-size: 38px; }
  .card--compare .card__shot .shot { height: 220px; }
  .card__phone { height: 300px; }
  .ft__grid { grid-template-columns: 1fr 1fr; }
  .ft__brand, .ft__grid > div:last-child { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  *, *::before, *::after { animation: none !important; }
}
