/* ════════════════════════════════════════════════════════════
   WizeUp × Shunpo — Devis interactif
   Built on the SHUNPO design system tokens (tokens.css)
   ════════════════════════════════════════════════════════════ */

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

html { scroll-behavior: smooth; background: var(--kome); }
body {
  font-family: var(--font-body);
  color: var(--fuji-night);
  background: var(--kome);
  line-height: var(--lh-body);
  font-size: var(--fs-body);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(185,69,50,0.18); color: var(--fuji-night); }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 48px; }
@media (max-width: 760px) { .wrap { padding: 0 22px; } }

/* ───────── shared editorial atoms ───────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-soft);
  margin-bottom: 26px;
}
.eyebrow .num { color: var(--fushimi-glow); font-weight: 500; }
.eyebrow .sep { width: 30px; height: 1px; background: currentColor; opacity: 0.35; display: inline-block; }
.eyebrow .jp { font-family: var(--font-jp); color: var(--fushimi-glow); letter-spacing: 0.04em; }
.eyebrow.on-dark { color: var(--hikari-frost); }
.eyebrow.on-dark .num { color: var(--brick-glow); }
.eyebrow.on-dark .jp { color: var(--brick-glow); }

.h-display {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-display);
  line-height: 1.0;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-title);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.accent {
  font-family: var(--font-editorial);
  font-style: italic;
  font-weight: 400;
  color: var(--fushimi-glow);
  letter-spacing: -0.01em;
}
.lead {
  margin-top: 22px;
  max-width: 56ch;
  font-size: var(--fs-body-lg);
  line-height: 1.6;
  color: var(--ink-warm);
  text-wrap: pretty;
}

/* section rhythm */
section { position: relative; }
.sec-pad { padding: 120px 0; }
@media (max-width: 760px) { .sec-pad { padding: 80px 0; } }

.section-head { margin-bottom: 64px; max-width: 70ch; }
@media (max-width: 760px) { .section-head { margin-bottom: 44px; } }

/* ════════════════════════════════════════════════════════════
   NAV
   ════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  transition: background var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), padding var(--dur-base) var(--ease-out);
}
@media (max-width: 760px) { .nav { padding: 14px 22px; } }
.nav.scrolled {
  background: rgba(243,240,233,0.82);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
  padding-top: 12px; padding-bottom: 12px;
}
.nav .brand { display: flex; align-items: center; gap: 11px; }
.nav .brand img { height: 17px; width: auto; transition: opacity var(--dur-base); }
.nav .brand .x { font-family: var(--font-mono); font-size: 13px; color: var(--hikari-frost); }
.nav .brand .wize-logo { height: 23px; width: auto; display: block; }
.nav-logo-dark { display: none; }
.nav.scrolled .nav-logo-light { display: none; }
.nav.scrolled .nav-logo-dark { display: block; }
.nav.scrolled .brand .x { color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 30px; }
@media (max-width: 1080px) { .nav-links .nav-link { display: none; } }
.nav-link {
  font-size: 13px; font-weight: 500; color: var(--hikari-frost);
  letter-spacing: 0.01em; transition: color var(--dur-fast);
  position: relative;
}
.nav.scrolled .nav-link { color: var(--ink-warm); }
.nav-link:hover { color: var(--fushimi-glow); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: var(--r-pill);
  background: var(--fushimi-glow); color: #fff;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-base), background var(--dur-fast);
  box-shadow: var(--shadow-glow);
}
.nav-cta:hover { transform: translateY(-1px); background: var(--brick); }
.nav-cta .ar { transition: transform var(--dur-fast) var(--ease-out); }
.nav-cta:hover .ar { transform: translateX(3px); }

/* ════════════════════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════════════════════ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--fuji-night);
  color: var(--kome);
  overflow: hidden;
  padding: 140px 0 80px;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url(assets/gradient-heat.jpg) center/cover no-repeat;
  opacity: 0.62;
  transform: scale(1.08);
  animation: heatDrift 26s var(--ease-soft) infinite alternate;
}
@keyframes heatDrift {
  0%   { transform: scale(1.08) translate(0,0); }
  100% { transform: scale(1.18) translate(-2%, -2%); }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,38,41,0.45) 0%, rgba(30,38,41,0.12) 40%, rgba(30,38,41,0.55) 100%);
}
.hero-shuriken {
  position: absolute; z-index: 0;
  right: -8%; top: 50%; transform: translateY(-50%);
  width: 58vh; max-width: 620px; opacity: 0.10;
  animation: spin 80s linear infinite;
  pointer-events: none;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero .wrap { position: relative; z-index: 2; width: 100%; }

.hero-kanji {
  font-family: var(--font-jp); font-weight: 500;
  font-size: 15px; letter-spacing: 0.3em;
  color: var(--brick-glow);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: var(--fs-hero); line-height: 0.94;
  letter-spacing: -0.022em; color: var(--bone);
  max-width: 16ch;
}
.hero h1 .accent { color: var(--brick-glow); display: inline-block; }
.hero-lead {
  margin-top: 34px; max-width: 54ch;
  font-size: 19px; line-height: 1.55; color: rgba(243,240,233,0.82);
  text-wrap: pretty;
}
.hero-fil {
  margin-top: 26px; display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-editorial); font-style: italic; font-size: 17px;
  color: var(--brick-glow);
}
.hero-fil::before { content: ""; width: 22px; height: 1px; background: var(--brick-glow); }

.hero-stats {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(243,240,233,0.14);
  border: 1px solid rgba(243,240,233,0.14);
  border-radius: var(--r-md); overflow: hidden;
}
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hero-stat {
  background: rgba(30,38,41,0.34);
  backdrop-filter: blur(4px);
  padding: 26px 24px;
}
.hero-stat .v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 40px; line-height: 1; letter-spacing: -0.02em;
  color: var(--bone); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 3px;
}
.hero-stat .v .u { font-size: 18px; color: var(--brick-glow); font-weight: 600; }
.hero-stat .l {
  margin-top: 12px; font-size: 12.5px; line-height: 1.45;
  color: rgba(243,240,233,0.62); max-width: 20ch;
}
.hero-stat .l b { color: rgba(243,240,233,0.9); font-weight: 600; }

.scroll-cue {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(243,240,233,0.5);
}
.scroll-cue .line { width: 1px; height: 38px; background: linear-gradient(var(--brick-glow), transparent); animation: cuePulse 2s var(--ease-soft) infinite; }
@keyframes cuePulse { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }

/* ════════════════════════════════════════════════════════════
   DIAGNOSTIC ("D'où l'on part")
   ════════════════════════════════════════════════════════════ */
.diag { background: var(--kome); }
.diag-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin-top: 8px;
}
@media (max-width: 980px) { .diag-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .diag-grid { grid-template-columns: 1fr; } }
.diag-card {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--r-bento); padding: 30px 26px;
  position: relative; overflow: hidden;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out);
}
.diag-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-bento); }
.diag-card .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: 52px; line-height: 0.95; letter-spacing: -0.025em;
  color: var(--fushimi-glow); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 4px;
}
.diag-card .big .u { font-size: 22px; color: var(--ink-warm); font-weight: 600; }
.diag-card .t { margin-top: 16px; font-weight: 600; font-size: 15px; color: var(--fuji-night); }
.diag-card .d { margin-top: 6px; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft); }
.diag-card .corner-jp {
  position: absolute; right: 14px; top: 10px;
  font-family: var(--font-jp); font-size: 13px; color: rgba(185,69,50,0.22);
}
.diag-note {
  margin-top: 30px; display: flex; align-items: center; gap: 14px;
  font-size: 14px; color: var(--ink-warm);
  padding: 16px 22px; background: var(--shiro); border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.diag-note .badge {
  font-family: var(--font-mono); font-size: 11px; color: var(--fushimi-glow);
  border: 1px solid rgba(185,69,50,0.3); border-radius: var(--r-pill);
  padding: 4px 12px; white-space: nowrap; letter-spacing: 0.04em;
}

/* ════════════════════════════════════════════════════════════
   APPROACH + STACK
   ════════════════════════════════════════════════════════════ */
.approach { background: var(--bone); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.approach-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px;
}
@media (max-width: 860px) { .approach-steps { grid-template-columns: 1fr; } }
.step {
  background: var(--kome); border: 1px solid var(--line);
  border-radius: var(--r-bento); padding: 32px 28px; position: relative;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-bento); border-color: rgba(185,69,50,0.3); }
.step .n {
  font-family: var(--font-mono); font-size: 12px; color: var(--fushimi-glow);
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.step .n .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--fushimi-glow); }
.step .n .opt { margin-left: auto; color: var(--ink-soft); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; border: 1px solid var(--line); padding: 2px 8px; border-radius: var(--r-pill); }
.step h3 { font-family: var(--font-display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; }
.step p { margin-top: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-warm); }
.step .liv {
  margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line);
  font-size: 12.5px; color: var(--ink-soft);
}
.step .liv b { color: var(--fuji-night); font-weight: 600; }

.stack {
  margin-top: 56px; padding: 34px; background: var(--fuji-night);
  border-radius: var(--r-lg); color: var(--kome); position: relative; overflow: hidden;
}
.stack .stack-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  margin-bottom: 26px; flex-wrap: wrap;
}
.stack .stack-head .t { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--hikari-frost); }
.stack .stack-head .fil { font-family: var(--font-editorial); font-style: italic; font-size: 16px; color: var(--brick-glow); }
.stack-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(243,240,233,0.12); border: 1px solid rgba(243,240,233,0.12); border-radius: var(--r-sm); overflow: hidden; }
@media (max-width: 760px) { .stack-grid { grid-template-columns: repeat(2, 1fr); } }
.stack-tool { background: rgba(243,240,233,0.03); padding: 22px 20px; transition: background var(--dur-base); }
.stack-tool:hover { background: rgba(185,69,50,0.14); }
.stack-tool .nm { font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--bone); }
.stack-tool .ro { margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: rgba(243,240,233,0.6); }

/* ════════════════════════════════════════════════════════════
   CONFIGURATOR
   ════════════════════════════════════════════════════════════ */
.config { background: var(--kome-alt); border-top: 1px solid var(--line); }
.config-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap; margin-bottom: 40px;
}
/* HT / CII toggle */
.price-toggle {
  display: inline-flex; align-items: center; gap: 0;
  background: var(--shiro); border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 4px; position: relative;
}
.price-toggle button {
  position: relative; z-index: 2;
  padding: 9px 20px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--ink-warm);
  transition: color var(--dur-base) var(--ease-out);
  white-space: nowrap;
}
.price-toggle button.active { color: #fff; }
.price-toggle .glider {
  position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px;
  border-radius: var(--r-pill); background: var(--fushimi-glow);
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur-base) var(--ease-out), width var(--dur-base) var(--ease-out);
}
.price-toggle-hint { margin-top: 10px; font-size: 12px; color: var(--ink-soft); font-family: var(--font-mono); }

.config-layout { display: grid; grid-template-columns: 1fr 358px; gap: 28px; align-items: start; }
@media (max-width: 1040px) { .config-layout { grid-template-columns: 1fr; } .summary { position: static; } }

/* package card */
.packages { display: flex; flex-direction: column; gap: 18px; }
.pkg {
  background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--r-lg); overflow: hidden;
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.pkg.has-active { box-shadow: var(--shadow-bento); }
.pkg.all-off { opacity: 0.7; }
.pkg-head {
  display: flex; align-items: center; gap: 18px;
  padding: 24px 26px; cursor: pointer; user-select: none;
  position: relative;
}
.pkg-head .idx {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  color: #fff; background: var(--fushimi-glow);
  width: 34px; height: 34px; border-radius: 10px;
  display: grid; place-items: center; flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}
.pkg-head .titles { flex: 1; min-width: 0; }
.pkg-head .titles .nm { font-family: var(--font-display); font-weight: 700; font-size: 21px; letter-spacing: -0.01em; line-height: 1.1; }
.pkg-head .titles .ds { margin-top: 4px; font-size: 13px; color: var(--ink-soft); line-height: 1.45; }
.pkg-head .ph-price { text-align: right; flex-shrink: 0; }
.pkg-head .ph-price .pp { font-family: var(--font-display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; color: var(--fuji-night); }
.pkg-head .ph-price .pl { font-size: 11px; color: var(--ink-soft); font-family: var(--font-mono); margin-top: 2px; }

/* master switch */
.switch {
  position: relative; width: 46px; height: 27px; border-radius: var(--r-pill);
  background: var(--hikari-frost); flex-shrink: 0;
  transition: background var(--dur-base) var(--ease-out);
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 21px; height: 21px; border-radius: 50%; background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  transition: transform var(--dur-base) var(--ease-out);
}
.switch.on { background: var(--fushimi-glow); }
.switch.on::after { transform: translateX(19px); }
.switch.partial { background: var(--sumac); }
.switch.partial::after { transform: translateX(9px); }

/* chantier rows */
.pkg-body { border-top: 1px solid var(--line); }
.chantier {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 26px; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background var(--dur-fast);
  position: relative;
}
.chantier:last-child { border-bottom: none; }
.chantier:hover { background: rgba(185,69,50,0.04); }
.chantier.off { opacity: 0.48; }
.chk {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; margin-top: 2px;
  border: 1.5px solid var(--hikari-frost); background: #fff;
  display: grid; place-items: center;
  transition: background var(--dur-fast) var(--ease-out), border-color var(--dur-fast);
}
.chk svg { width: 13px; height: 13px; stroke: #fff; stroke-width: 3; fill: none; opacity: 0; transform: scale(0.5); transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out); stroke-dasharray: 20; stroke-dashoffset: 20; }
.chantier:not(.off) .chk { background: var(--fushimi-glow); border-color: var(--fushimi-glow); }
.chantier:not(.off) .chk svg { opacity: 1; transform: scale(1); stroke-dashoffset: 0; transition: opacity var(--dur-fast), transform var(--dur-fast) var(--ease-out), stroke-dashoffset var(--dur-base) var(--ease-out); }
.ch-main { flex: 1; min-width: 0; }
.ch-main .ch-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ch-lot {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  color: var(--fushimi-glow); background: rgba(185,69,50,0.08);
  border-radius: 6px; padding: 2px 8px; letter-spacing: 0.02em;
}
.ch-lot.cadrage { color: var(--seal); background: rgba(42,74,92,0.1); }
.ch-name { font-weight: 600; font-size: 15px; color: var(--fuji-night); }
.ch-desc { margin-top: 5px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); max-width: 52ch; }
.ch-ech {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 8px;
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.03em;
  color: var(--sumac); border: 1px solid rgba(200,138,46,0.35);
  border-radius: var(--r-pill); padding: 2px 9px;
}
.ch-ech .d { width: 5px; height: 5px; border-radius: 50%; background: var(--sumac); }
.ch-price { text-align: right; flex-shrink: 0; min-width: 92px; }
.ch-price .amt { font-family: var(--font-display); font-weight: 700; font-size: 17px; font-variant-numeric: tabular-nums; color: var(--fuji-night); }
.ch-price .opco { font-size: 10.5px; color: var(--olive); font-weight: 600; font-family: var(--font-mono); }
.ch-price .offert { font-size: 12px; color: var(--olive); font-weight: 700; font-family: var(--font-mono); letter-spacing: 0.02em; }
.ch-ech.offert-pill { color: var(--olive); border-color: rgba(92,107,58,0.4); }
.ch-ech.offert-pill .d { background: var(--olive); }
.ch-price .strike { font-size: 11px; color: var(--ink-soft); text-decoration: line-through; font-variant-numeric: tabular-nums; }

/* ───────── SUMMARY PANEL (sticky, dark, spectacular) ───────── */
.summary {
  position: sticky; top: 90px;
  background: var(--fuji-night); color: var(--kome);
  border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow-summary);
}
.summary-grain { position: relative; }
.summary-bg {
  position: absolute; inset: 0; z-index: 0;
  background: url(assets/gradient-deep-dive.jpg) center/cover;
  opacity: 0.5;
}
.summary-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(160deg, rgba(30,38,41,0.55), rgba(30,38,41,0.86)); }
.summary-in { position: relative; z-index: 2; padding: 28px 26px; }
.summary .sm-tag {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--brick-glow);
  display: flex; align-items: center; gap: 10px;
}
.summary .sm-tag .jp { font-family: var(--font-jp); letter-spacing: 0.1em; }
.summary .sm-count { margin-top: 18px; font-size: 13px; color: rgba(243,240,233,0.7); }
.summary .sm-count b { color: var(--bone); font-weight: 600; font-variant-numeric: tabular-nums; }

.sm-lines { margin-top: 18px; border-top: 1px solid rgba(243,240,233,0.14); }
.sm-line { display: flex; align-items: baseline; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid rgba(243,240,233,0.1); }
.sm-line .k { font-size: 13px; color: rgba(243,240,233,0.66); }
.sm-line .v { font-family: var(--font-mono); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--bone); }
.sm-line.eco .k { color: var(--olive-soft); }
.sm-line.eco .v { color: var(--olive-pale); }

.sm-total { margin-top: 22px; }
.sm-total .lbl { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(243,240,233,0.6); font-family: var(--font-mono); }
.sm-total .big {
  font-family: var(--font-display); font-weight: 700;
  font-size: 46px; line-height: 1; letter-spacing: -0.025em;
  color: var(--bone); font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 6px; margin-top: 8px;
}
.sm-total .big .cur { font-size: 22px; color: var(--brick-glow); }
.sm-total .sub { margin-top: 8px; font-size: 12px; color: rgba(243,240,233,0.55); font-family: var(--font-mono); }
.sm-total .sub b { color: var(--olive-pale); }

.sm-opco {
  margin-top: 16px; display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; background: rgba(92,107,58,0.22); border: 1px solid rgba(138,152,101,0.35);
  border-radius: var(--r-sm); font-size: 12px; line-height: 1.45; color: var(--olive-pale);
}
.sm-opco .ic { width: 16px; height: 16px; flex-shrink: 0; margin-top: 1px; }

.sm-cta {
  margin-top: 20px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 15px 20px; border-radius: var(--r-pill);
  background: var(--fushimi-glow); color: #fff; font-weight: 600; font-size: 15px;
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.sm-cta:hover { transform: translateY(-2px); background: var(--brick); }
.sm-cta .ar { transition: transform var(--dur-fast) var(--ease-out); }
.sm-cta:hover .ar { transform: translateX(4px); }
.sm-foot { margin-top: 14px; text-align: center; font-size: 11px; color: rgba(243,240,233,0.4); font-family: var(--font-mono); }

.num-flash { animation: numFlash var(--dur-base) var(--ease-out); }
@keyframes numFlash { 0% { color: var(--brick-glow); } 100% {} }

/* ───────── configurateur — mobile ───────── */
@media (max-width: 760px) {
  .config-top { gap: 20px; margin-bottom: 32px; }

  /* en-tête package : prix sur sa propre ligne, aligné sur le titre */
  .pkg-head { flex-wrap: wrap; row-gap: 12px; padding: 20px 18px; }
  .pkg-head .titles .nm { font-size: 19px; }
  .pkg-head .ph-price { order: 5; width: 100%; text-align: left; padding-left: 52px; }

  /* ligne chantier : prix sous la description, aligné sur le texte */
  .chantier { flex-wrap: wrap; row-gap: 8px; padding: 16px 18px; }
  .ch-price {
    order: 5; width: 100%; min-width: 0; padding-left: 38px;
    display: flex; align-items: baseline; gap: 8px; text-align: left;
  }

  .summary-in { padding: 24px 20px; }
  .sm-total .big { font-size: 40px; }
}

/* ════════════════════════════════════════════════════════════
   PLANNING TIMELINE
   ════════════════════════════════════════════════════════════ */
.planning { background: var(--kome); border-top: 1px solid var(--line); }
.timeline { position: relative; margin-top: 20px; }
.timeline-track {
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
@media (max-width: 860px) { .timeline-track { grid-template-columns: 1fr; gap: 18px; } }
.timeline-line {
  position: absolute; top: 19px; left: 7%; right: 7%; height: 2px;
  background: var(--line); z-index: 0;
}
.timeline-line .fill { position: absolute; inset: 0; width: 0; background: linear-gradient(90deg, var(--fushimi-glow), var(--sumac)); transition: width 1.4s var(--ease-out); }
@media (max-width: 860px) { .timeline-line { display: none; } }
.tl-node { position: relative; z-index: 1; padding: 0 14px; }
@media (max-width: 860px) { .tl-node { padding: 0 0 0 40px; border-left: 2px solid var(--line); } }
.tl-dot {
  width: 38px; height: 38px; border-radius: 50%; background: var(--bone);
  border: 2px solid var(--line); display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; color: var(--ink-soft);
  margin: 0 auto 18px; transition: all var(--dur-base) var(--ease-out);
}
@media (max-width: 860px) { .tl-dot { position: absolute; left: -20px; top: 0; margin: 0; } }
.tl-node.live .tl-dot { background: var(--fushimi-glow); border-color: var(--fushimi-glow); color: #fff; box-shadow: var(--shadow-glow); }
.tl-node.soft .tl-dot { background: var(--sumac); border-color: var(--sumac); color: #fff; }
.tl-date { text-align: center; font-family: var(--font-mono); font-size: 12px; color: var(--fushimi-glow); margin-bottom: 6px; }
@media (max-width: 860px) { .tl-date { text-align: left; } }
.tl-node.soft .tl-date { color: var(--sumac); }
.tl-node.future .tl-date { color: var(--ink-soft); }
.tl-card { background: var(--kome); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 18px; text-align: center; }
@media (max-width: 860px) { .tl-card { text-align: left; } }
.tl-card .h { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.tl-card .p { margin-top: 7px; font-size: 12.5px; line-height: 1.45; color: var(--ink-soft); }
.tl-card .lots { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 5px; justify-content: center; }
@media (max-width: 860px) { .tl-card .lots { justify-content: flex-start; } }
.tl-card .lots span { font-family: var(--font-mono); font-size: 10.5px; color: var(--fushimi-glow); background: rgba(185,69,50,0.08); border-radius: 5px; padding: 2px 7px; }

/* ════════════════════════════════════════════════════════════
   MODALITÉS + CLARIFY
   ════════════════════════════════════════════════════════════ */
.modal-sec { background: var(--kome); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 48px; } }
.mod-list { list-style: none; }
.mod-list li {
  padding: 20px 0; border-bottom: 1px solid var(--line);
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
}
.mod-list li:first-child { padding-top: 0; }
.mod-list .tag {
  font-family: var(--font-mono); font-size: 11px; color: var(--fushimi-glow);
  border: 1px solid rgba(185,69,50,0.3); border-radius: var(--r-pill); padding: 4px 11px;
  white-space: nowrap; align-self: start;
}
.mod-list .tx { font-size: 14.5px; line-height: 1.55; color: var(--ink-warm); }
.mod-list .tx b { color: var(--fuji-night); font-weight: 600; }

.cii-card {
  background: var(--fuji-night); color: var(--kome);
  border-radius: var(--r-lg); padding: 30px; position: relative; overflow: hidden;
}
.cii-card .cii-row { display: flex; align-items: baseline; gap: 14px; padding: 16px 0; border-bottom: 1px solid rgba(243,240,233,0.12); }
.cii-card .cii-row:last-child { border-bottom: none; }
.cii-card .cii-row .pct { font-family: var(--font-display); font-weight: 700; font-size: 38px; line-height: 1; letter-spacing: -0.02em; color: var(--brick-glow); font-variant-numeric: tabular-nums; min-width: 96px; }
.cii-card .cii-row .pct.olive { color: var(--olive-soft); }
.cii-card .cii-row .txt { font-size: 13.5px; line-height: 1.5; color: rgba(243,240,233,0.78); }
.cii-card .cii-row .txt b { color: var(--bone); font-weight: 600; }

.clarify-list { list-style: none; margin-top: 8px; }
.clarify-list li {
  padding: 18px 22px; background: var(--bone); border: 1px solid var(--line);
  border-radius: var(--r-md); margin-bottom: 10px;
  display: flex; gap: 16px; align-items: flex-start;
  font-size: 14px; line-height: 1.5; color: var(--ink-warm);
  transition: transform var(--dur-base) var(--ease-out), border-color var(--dur-base);
}
.clarify-list li:hover { transform: translateX(4px); border-color: rgba(185,69,50,0.3); }
.clarify-list li b { color: var(--fuji-night); font-weight: 600; }
.clarify-list .q { font-family: var(--font-jp); font-size: 17px; color: var(--fushimi-glow); flex-shrink: 0; }
.clarify-list .cond { display: block; margin-top: 5px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }

/* ════════════════════════════════════════════════════════════
   WHY SHUNPO
   ════════════════════════════════════════════════════════════ */
.why { background: var(--bone); border-top: 1px solid var(--line); }
.why-lead {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 44px); line-height: 1.1; letter-spacing: -0.018em;
  max-width: 22ch; text-wrap: balance;
}
.why-lead .accent { display: inline; }
.why-body { margin-top: 24px; max-width: 52ch; font-size: 16px; line-height: 1.6; color: var(--ink-warm); }
.refs { margin-top: 50px; }
.refs .rl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 20px; }
.refs-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
@media (max-width: 860px) { .refs-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .refs-grid { grid-template-columns: repeat(2, 1fr); } }
.ref {
  aspect-ratio: 16/9; display: grid; place-items: center;
  background: var(--kome); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink-warm); transition: all var(--dur-base) var(--ease-out);
}
.ref:hover { color: var(--fushimi-glow); border-color: rgba(185,69,50,0.4); transform: translateY(-3px); box-shadow: var(--shadow-soft); }

/* ════════════════════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════════════════════ */
.final { background: var(--fuji-night); color: var(--kome); position: relative; overflow: hidden; text-align: center; }
.final-bg { position: absolute; inset: 0; background: url(assets/gradient-heat.jpg) center/cover; opacity: 0.5; }
.final-bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(30,38,41,0.7), rgba(30,38,41,0.45)); }
.final-shuriken { position: absolute; right: -6%; bottom: -20%; width: 46vh; max-width: 480px; opacity: 0.09; animation: spin 90s linear infinite; }
.final .wrap { position: relative; z-index: 2; }
.final .kj { font-family: var(--font-jp); font-size: 15px; letter-spacing: 0.3em; color: var(--brick-glow); margin-bottom: 22px; }
.final h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 84px); line-height: 0.96; letter-spacing: -0.022em; color: var(--bone); max-width: 16ch; margin: 0 auto; }
.final h2 .accent { color: var(--brick-glow); }
.final p { margin: 28px auto 0; max-width: 50ch; font-size: 18px; line-height: 1.55; color: rgba(243,240,233,0.8); }
.final-cta {
  margin-top: 40px; display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 36px; border-radius: var(--r-pill);
  background: var(--fushimi-glow); color: #fff; font-weight: 600; font-size: 17px;
  box-shadow: var(--shadow-glow);
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-fast);
}
.final-cta:hover { transform: translateY(-2px) scale(1.02); background: var(--brick); }
.final-cta .ar { transition: transform var(--dur-fast) var(--ease-out); }
.final-cta:hover .ar { transform: translateX(5px); }
.final-mails { margin-top: 22px; display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: rgba(243,240,233,0.6); }
.final-mails a { transition: color var(--dur-fast); }
.final-mails a:hover { color: var(--brick-glow); }

/* footer */
.foot {
  background: var(--fuji-night); color: rgba(243,240,233,0.5);
  border-top: 1px solid rgba(243,240,233,0.1);
  padding: 40px 0;
}
.foot .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11.5px; }
.foot .jp { font-family: var(--font-jp); color: var(--brick-glow); }
.foot img { height: 16px; opacity: 0.8; }

/* ════════════════════════════════════════════════════════════
   SCROLL REVEAL
   ════════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg, .hero-shuriken, .final-shuriken, .scroll-cue .line { animation: none; }
}
