/* ==========================================================================
   SOIXANTE INSIGHT · landing 2026 · complète site.css (même DA que soixante-cv.fr)
   ========================================================================== */

.wordmark .sub { font-family: var(--mono); font-weight: 500; font-stretch: 100%; font-size: 11px; letter-spacing: .18em; color: var(--or); margin-left: 10px; vertical-align: 3px; }
.tabs--spaces a { color: rgba(237,237,232,.72); }

/* ---------- Scène 02 · le tableau ---------- */
.board-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 4vw, 56px); }
.dash td.or-td { color: var(--or); }
.dash-note { margin-top: 14px; }

/* ---------- Scène 03 · pour qui ---------- */
.publics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 4vw, 56px); }
.public { background: var(--papier); border: 1px solid var(--rule); padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; gap: 14px; }
.public .cap { color: var(--accent); font-size: 11px; }
.public h3 { font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(1.15rem, 1.5vw, 1.4rem); line-height: 1.05; text-transform: uppercase; letter-spacing: -.01em; }
.public p { color: var(--ink-soft); font-size: 15.5px; flex: 1; }
.public .link-mono { align-self: flex-start; }

/* ---------- Scène 04 · le lien unique (le pic) ---------- */
.lpin { position: relative; height: 330vh; }
.lstage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; padding: calc(var(--header-h) + 3vh) var(--gutter) calc(var(--tl-h) + 3vh); max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; }
.lcopy .t-title { font-size: clamp(1.6rem, 2.9vw, 2.9rem); }
.lcopy .t-body { margin-top: 18px; font-size: 15.5px; }
.lsteps { margin-top: clamp(22px, 3vh, 36px); border-top: 1px solid var(--rule); }
.lsteps li { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 16px 0 16px; border-bottom: 1px solid var(--rule); color: rgba(237,237,232,.42); transition: color .3s var(--ease-std); }
.lsteps li .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: rgba(214,173,96,.45); padding-top: 3px; transition: color .3s var(--ease-std); }
.lsteps li b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.2; }
.lsteps li span.d { grid-column: 2; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; line-height: 1.5; }
.lsteps li::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--or); transform-origin: left; transform: scaleX(var(--f, 0)); }
.lsteps li.is-on { color: var(--blanc); }
.lsteps li.is-on .n { color: var(--or); }
.lsteps li.is-on span.d { color: rgba(237,237,232,.7); }

.device { position: relative; aspect-ratio: 16 / 11; width: 100%; max-height: calc(100svh - var(--header-h) - var(--tl-h) - 14vh); justify-self: center; background: var(--carte); border: 1px solid var(--rule-strong); box-shadow: 0 40px 80px -40px rgba(0,0,0,.9); }
.device-top { position: absolute; inset: 0 0 auto 0; height: 40px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-bottom: 1px solid var(--rule); font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.device-top .dots { display: flex; gap: 6px; }
.device-top .dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(237,237,232,.18); }
.pane { position: absolute; inset: 40px 0 0 0; padding: clamp(18px, 2.4vw, 34px); display: flex; flex-direction: column; justify-content: center; visibility: hidden; }
.lpin[data-step="1"] .pane--1, .lpin[data-step="2"] .pane--2, .lpin[data-step="3"] .pane--3 { visibility: visible; }
.pane .lbl { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.type { display: inline-block; clip-path: inset(0 calc((1 - var(--k, 0)) * 100%) 0 0); }

/* étape 1 : la déclaration */
.decl { display: grid; gap: 10px; }
.decl .row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 14px; padding: 12px 14px; background: var(--noir); border: 1px solid var(--rule); }
.decl .row .v { font-size: clamp(14px, 1.15vw, 16px); color: var(--blanc); white-space: nowrap; }
.decl .row .v.chip { justify-self: start; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--noir); background: var(--or); padding: 3px 8px; }
.decl-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.decl-btn { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 12px 16px; border: 1px solid var(--rule-strong); color: var(--ink-soft); transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.lpin.is-sent .decl-btn { background: var(--or); color: var(--noir); border-color: var(--or); }
.decl-foot .t { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--or); }

/* étape 2 : le lien */
.gen-url { margin-top: 16px; font-family: var(--mono); font-weight: 500; font-size: clamp(16px, 2.1vw, 28px); letter-spacing: .02em; color: var(--blanc); padding: 22px 20px; background: var(--noir); border: 1px solid var(--or); white-space: nowrap; overflow: hidden; }
.gen-url .host { color: rgba(237,237,232,.55); }
.gen-url .id { color: var(--or); }
.gen-url .caret { display: inline-block; width: .55em; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--or); animation: rec 1s steps(1, end) infinite; }
.gen-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gen-tags span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border: 1px solid var(--rule-strong); color: var(--blanc); opacity: var(--tg, 0); transform: translateY(calc((1 - var(--tg, 0)) * 8px)); }
.gen-rule { margin-top: 22px; font-size: 14.5px; color: var(--ink-soft); max-width: 46ch; }

/* étape 3 : l'ouverture */
.open-frame { position: relative; aspect-ratio: 16 / 9; width: 78%; background: #000; overflow: hidden; }
.open-frame video, .open-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.open-frame .rec { position: absolute; top: 10px; right: 12px; }
.open-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(237,237,232,.18); }
.open-bar i { position: absolute; inset: 0; background: var(--or); transform-origin: left; transform: scaleX(var(--w, 0)); }
.open-pct { position: absolute; left: 12px; bottom: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; color: var(--blanc); background: rgba(0,0,0,.6); padding: 3px 7px; font-variant-numeric: tabular-nums; }
.open-row { margin-top: 16px; display: grid; grid-template-columns: 1.2fr 1fr .8fr; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--rule); background: var(--noir); font-size: 14px; opacity: var(--rw, 0); transform: translateY(calc((1 - var(--rw, 0)) * 10px)); }
.open-row .mute { color: var(--ink-soft); }
.open-row .lu { color: var(--or); font-family: var(--mono); font-size: 12px; letter-spacing: .06em; }
.lnote { margin-top: 16px; }

/* ---------- Scène 05 · la mesure ---------- */
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(36px, 4vw, 56px); }
.cmp { border: 1px solid var(--rule); padding: clamp(22px, 2.6vw, 36px); background: var(--carte); }
.cmp .cap { font-size: 11px; color: var(--ink-soft); }
.cmp .big { margin-top: 14px; font-family: var(--display); font-weight: 900; font-stretch: 125%; font-size: clamp(3rem, 6vw, 5.6rem); line-height: .9; letter-spacing: -.04em; color: var(--or); font-variant-numeric: tabular-nums; }
.cmp .big.na { font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.1; letter-spacing: -.01em; color: var(--blanc); }
.cmp .bar { margin-top: 22px; height: 6px; background: rgba(237,237,232,.1); position: relative; overflow: hidden; }
.cmp .bar i { position: absolute; inset: 0; background: var(--or); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.cmp.is-in .bar i { transform: scaleX(var(--v)); }
.cmp .bar.hatch { background: repeating-linear-gradient(-45deg, rgba(237,237,232,.14) 0 6px, transparent 6px 12px); }
.cmp p { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; color: var(--ink-soft); }
.honest { margin-top: clamp(28px, 3vw, 40px); font-size: clamp(16px, 1.3vw, 19px); max-width: 60ch; }
.honest b { color: var(--or); font-weight: 600; }

/* ---------- Scène 06 · en pratique ---------- */
.relance { border-top: 1px solid var(--rule); }
.relance li { display: grid; grid-template-columns: auto 1fr; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--rule); font-size: 14.5px; }
.relance li b { font-family: var(--mono); font-weight: 500; font-size: 12px; letter-spacing: .08em; color: var(--or); padding-top: 2px; }

/* ---------- Scène 07 · le cadre ---------- */
.engage { margin-top: clamp(36px, 4vw, 56px); border-top: 1px solid var(--rule-strong); }
.engage li { display: grid; grid-template-columns: 56px minmax(0, 4fr) minmax(0, 6fr); gap: 20px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.engage .n { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; color: var(--accent); }
.engage b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.02rem, 1.4vw, 1.25rem); line-height: 1.2; }
.engage span.d { color: var(--ink-soft); }
.cv-note { margin-top: 26px; display: flex; gap: 12px; align-items: baseline; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--ink); }
.cv-note::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; transform: translateY(-1px); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .tabs--spaces a { padding: 8px 10px; }
}
@media (max-width: 860px) {
  .board-head, .publics, .compare { grid-template-columns: 1fr; }
  .lpin { height: 300vh; }
  .lstage { grid-template-columns: 1fr; align-content: center; gap: 18px; padding-top: calc(var(--header-h) + 14px); }
  .lcopy .t-body { display: none; }
  .lsteps { margin-top: 12px; }
  .lsteps li { padding: 9px 0; grid-template-columns: 32px 1fr; }
  .lsteps li span.d { display: none; }
  .device { aspect-ratio: auto; height: 46svh; max-height: none; }
  .decl .row { grid-template-columns: 92px 1fr; padding: 9px 12px; }
  .decl { gap: 6px; }
  .open-frame { width: 100%; }
  .open-row { grid-template-columns: 1fr; gap: 2px; }
  .lnote { display: none; }
  .engage li { grid-template-columns: 36px 1fr; }
  .engage span.d { grid-column: 2; }
  .wordmark .sub { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lpin { height: auto; }
  .lstage { position: relative; height: auto; padding-top: var(--section); padding-bottom: var(--section); grid-template-columns: 1fr; }
  .device { aspect-ratio: auto; max-height: none; height: auto; padding-top: 40px; }
  .pane { position: relative; inset: auto; visibility: visible; border-top: 1px solid var(--rule); }
  .type { clip-path: none; }
  .gen-tags span, .open-row { opacity: 1; transform: none; }
  .cmp .bar i { transition: none; }
}

/* ouverture : le titre reste dans la zone sombre, l'écran allumé garde sa lumière */
@media (min-width: 861px) {
  .hero .hero-copy h1 { max-width: 54vw; }
  .hero .hero-scrim { background: linear-gradient(90deg, rgba(11,11,11,.86) 0%, rgba(11,11,11,.56) 44%, rgba(11,11,11,0) 70%), linear-gradient(0deg, rgba(11,11,11,.7) 0%, rgba(11,11,11,0) 42%); }
}
@media (max-width: 860px) {
  .tabs--spaces .tab-pre { display: none; }
  .gen-url { font-size: 13px; padding: 16px 12px; }
}
