/* Page d'accueil kilodelta.fr — préfixe hm- */

.hm { --f: #f24cc0; --e: #FF6B35; --a: #FFA726; --c: #4FC3F7; --v: #b39dff;
  --card: rgba(17, 32, 58, .66); --line: rgba(242, 76, 192, .22); --top: 72px; overflow-x: clip; }
@media (max-width: 540px) { .hm { --top: 64px; } }
.hm section { position: relative; }
.hm .grad { background: linear-gradient(100deg, var(--e), var(--f) 58%, var(--v)); background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: hm-sheen 9s ease-in-out infinite alternate; }
@keyframes hm-sheen { to { background-position: 100% 0; } }
.hm-eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 12px/1 Inter, sans-serif; letter-spacing: .12em;
  text-transform: uppercase; color: var(--f); }
.hm-eyebrow .live { width: 8px; height: 8px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 0 0 rgba(255,90,60,.6); animation: hm-ping 1.8s infinite; }
@keyframes hm-ping { 70% { box-shadow: 0 0 0 9px rgba(255,90,60,0); } 100% { box-shadow: 0 0 0 0 rgba(255,90,60,0); } }

.hm-head { max-width: 760px; margin-bottom: 30px; }
.hm-head h2 { font-size: clamp(28px, 3.8vw, 46px); line-height: 1.08; letter-spacing: -.02em; margin: 12px 0 12px; }
.hm-head p { color: var(--text-muted); font-size: 17px; line-height: 1.65; margin: 0; }
.hm-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hm-head.row h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 0; }

.hm-btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 12px; font: 700 14.5px/1 Inter, sans-serif;
  text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s, border-color .18s; white-space: nowrap; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn-fire { color: #fff; background: linear-gradient(120deg, #ff5a3c, var(--f)); box-shadow: 0 10px 30px rgba(242,76,192,.28); }
.hm-btn-fire:hover { box-shadow: 0 14px 40px rgba(242,76,192,.42); color: #fff; }
.hm-btn-fire .pulse { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: hm-ping 1.8s infinite; }
.hm-btn-ghost { color: var(--text); border: 1px solid var(--border-strong); background: rgba(255,255,255,.03); }
.hm-btn-ghost:hover { border-color: var(--f); color: #fff; }
.hm-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hm-ctas.center { justify-content: center; margin-top: 30px; }
.hm-fine { font-size: 13px; color: var(--text-dim); margin-top: 16px; line-height: 1.55; }
.hm-fine a { color: var(--text-muted); }

/* ═══ Héro ═══ */
.hm-hero { min-height: min(880px, calc(100vh - var(--top))); display: flex; align-items: center; padding: 60px 0 70px; isolation: isolate; }
.hm-stage { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #07111f; cursor: crosshair; }
.hm-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,22,40,.97) 0%, rgba(10,22,40,.9) 30%, rgba(10,22,40,.25) 58%, rgba(10,22,40,0) 75%),
              linear-gradient(0deg, var(--navy) 0%, rgba(10,22,40,0) 18%); }
.hm-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); gap: 40px; align-items: center; width: 100%; pointer-events: none; }
.hm-hero-grid > * { pointer-events: auto; }
.hm-copy { max-width: 600px; }
.hm-hero h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1.02; letter-spacing: -.03em; margin: 16px 0 18px; font-weight: 800; }
.hm-hero h1 .k { display: block; font-size: 15px; letter-spacing: 0; font-weight: 600; color: var(--text-muted); margin-bottom: 12px; }
.hm-hero .lead { font-size: 18px; line-height: 1.65; color: #c6d2e2; max-width: 560px; }
.hm-badges { margin-top: 24px; }
.hm-badges.center .store-badges { justify-content: center; }
.hm-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; padding: 7px 12px; border-radius: 999px; font-size: 13px;
  color: var(--text-muted); text-decoration: none; border: 1px solid var(--border); background: rgba(10,22,40,.6); max-width: 100%; }
.hm-ver b { color: #fff; font-family: 'JetBrains Mono', ui-monospace, monospace; }
.hm-ver:hover { border-color: var(--f); color: var(--text); }
.hm-device { justify-self: end; align-self: end; width: min(270px, 100%); margin-bottom: -40px; pointer-events: none;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55)); transform: perspective(1200px) rotateY(-14deg) rotateX(4deg) translate3d(0, var(--py, 0px), 0);
  transition: transform .3s ease-out; }
.hm-device img { width: 100%; height: auto; display: block; }

.hm-hud { position: absolute; right: 22px; top: 22px; display: grid; gap: 6px; min-width: 176px; padding: 12px 14px; border-radius: 14px;
  background: rgba(7,17,31,.78); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 12px/1.2 'JetBrains Mono', ui-monospace, monospace; color: #ffe0f6; z-index: 2; cursor: default; }
.hm-hud-row { display: flex; justify-content: space-between; gap: 14px; }
.hm-hud-row span { color: var(--text-muted); font-weight: 500; }
.hm-hud-row b { font-variant-numeric: tabular-nums; }
.hm-hud-ctl { display: flex; gap: 6px; margin-top: 6px; }
.hm-hud-ctl button { display: inline-flex; align-items: center; gap: 6px; flex: 1; justify-content: center; padding: 7px 8px; border-radius: 9px;
  border: 1px solid var(--border-strong); background: rgba(255,255,255,.04); color: #fff; font: 600 12px 'JetBrains Mono', monospace; cursor: pointer; }
.hm-hud-ctl button:last-child { flex: 0 0 auto; }
.hm-hud-ctl button:hover { border-color: var(--f); }
.hm-hud-ctl button:focus-visible { outline: 2px solid var(--f); outline-offset: 2px; }
.hm-hint { position: absolute; right: 22px; bottom: 26px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(7,17,31,.78); border: 1px solid var(--line); font: 600 12.5px Inter, sans-serif; color: #ffe0f6; transition: opacity .6s; pointer-events: none; z-index: 2; }
.hm-hint .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--f); animation: hm-ping 1.6s infinite; }
.hm-hint.gone { opacity: 0; }

/* ═══ En direct ═══ */
.hm-live { padding: 90px 0 70px; }
.hm-live::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50% 60% at 30% 50%, rgba(255,107,53,.08), transparent 70%), radial-gradient(40% 50% at 85% 30%, rgba(242,76,192,.08), transparent 70%); }
.hm-live-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 26px; align-items: stretch; }
.hm-map { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; border: 1px solid var(--border);
  background: radial-gradient(80% 80% at 50% 45%, #10203a, #060f1c); box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.hm-map canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hm-map-top { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none;
  font: 600 11.5px 'JetBrains Mono', ui-monospace, monospace; color: var(--text-muted); }
.hm-chip-live { display: inline-flex; align-items: center; gap: 7px; color: #ffd9d0; background: rgba(255,90,60,.12); border: 1px solid rgba(255,90,60,.35);
  padding: 5px 9px; border-radius: 999px; letter-spacing: .08em; font-weight: 700; }
.hm-chip-live i { width: 7px; height: 7px; border-radius: 50%; background: #ff5a3c; animation: hm-ping 1.6s infinite; }
.hm-map-legend { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 3px; padding: 7px 10px; border-radius: 10px;
  background: rgba(7,17,31,.8); border: 1px solid var(--border); font: 600 11px Inter, sans-serif; color: var(--text-muted); }
.hm-map-legend span:first-child { margin-right: 6px; }
.hm-map-legend i { width: 16px; height: 8px; border-radius: 2px; }
.hm-map-legend .f { display: inline-flex; align-items: center; gap: 5px; margin-left: 10px; }
.hm-map-legend .f b { width: 9px; height: 9px; border-radius: 50%; background: #ff5a3c; box-shadow: 0 0 8px 2px rgba(255,90,60,.7); }

.hm-live-side { display: flex; flex-direction: column; gap: 16px; }
.hm-live-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-live-kpis > div, .hm-base > div { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.hm-live-kpis b { display: block; font: 800 28px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }
.hm-live-kpis b small { font-size: 14px; color: var(--f); margin-left: 3px; }
.hm-live-kpis span, .hm-base span { display: block; font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.35; }
.hm-danger { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; }
.hm-danger .t { font-size: 13px; color: var(--text-muted); margin-bottom: 10px; }
.hm-danger .bar { display: flex; height: 14px; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,.05); }
.hm-danger .bar i { height: 100%; width: 0; transition: width 1.2s cubic-bezier(.2,.8,.2,1); position: relative; }
.hm-danger .bar i[data-p]:hover::after { content: attr(data-p); position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  font: 600 11px Inter, sans-serif; color: #fff; background: #1B2A44; padding: 3px 6px; border-radius: 6px; }
.hm-danger .lbl { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-dim); margin-top: 6px; }
.hm-danger .sum { margin-top: 10px; font-size: 14px; color: var(--text); }
.hm-base { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hm-base b { display: block; font: 800 22px/1 Inter, sans-serif; font-variant-numeric: tabular-nums; }

/* ═══ Parcours ═══ */
.hm-story { padding: 90px 0 60px; }
.hm-story-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 60px; align-items: start; }
.hm-phone { position: sticky; top: calc(var(--top) + 40px); height: min(640px, calc(100vh - var(--top) - 80px)); display: grid; place-items: center; }
.hm-phone-glow { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; filter: blur(60px); opacity: .55;
  background: conic-gradient(from var(--hm-a, 0deg), var(--e), var(--f), var(--v), var(--c), var(--e)); animation: hm-spin 14s linear infinite; }
@property --hm-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes hm-spin { to { --hm-a: 360deg; } }
.hm-phone picture { position: absolute; height: 100%; display: flex; justify-content: center; opacity: 0; transform: translateY(24px) scale(.96);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1); }
.hm-phone picture.on { opacity: 1; transform: none; }
.hm-phone img { height: 100%; width: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.hm-dots { position: absolute; right: -6px; top: 50%; transform: translateY(-50%); display: grid; gap: 8px; }
.hm-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); transition: all .3s; }
.hm-dots i.on { height: 22px; border-radius: 3px; background: var(--f); }
.hm-steps { list-style: none; margin: 0; padding: 0; }
.hm-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .32; transition: opacity .5s; }
.hm-step.on { opacity: 1; }
.hm-step .n { font: 800 14px 'JetBrains Mono', ui-monospace, monospace; color: var(--f); letter-spacing: .1em; }
.hm-step h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.02em; margin: 8px 0 12px; }
.hm-step p { color: var(--text-muted); font-size: 18px; line-height: 1.65; max-width: 520px; margin: 0; }
.hm-step-shot { display: none; }

/* ═══ Modules ═══ */
.hm-mods { padding: 80px 0; }
.hm-group { margin-top: 26px; }
.hm-group-t { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font: 700 12px Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--c); }
.hm-group-t::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 50%, transparent), transparent); }
.hm-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hm-card { --mx: 50%; --my: 0%; position: relative; display: flex; flex-direction: column; padding: 18px 18px 16px; border-radius: 16px; text-decoration: none;
  color: var(--text); background: var(--card); border: 1px solid var(--border); overflow: hidden; transition: transform .25s, border-color .25s; isolation: isolate; }
.hm-card::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx) var(--my), color-mix(in srgb, var(--c) 18%, transparent), transparent 60%); }
.hm-card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--c) 45%, transparent); color: var(--text); }
.hm-card:hover::before { opacity: 1; }
.hm-card .ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 28%, transparent); }
.hm-card h3 { font-size: 16.5px; margin: 14px 0 6px; line-height: 1.25; }
.hm-card p { font-size: 14px; line-height: 1.55; color: var(--text-muted); margin: 0 0 12px; flex: 1; }
.hm-card .go, .hm-tcard .go { display: inline-flex; align-items: center; gap: 6px; font: 600 13px Inter, sans-serif; color: var(--c); }
.hm-card:hover .go svg, .hm-tcard:hover .go svg { transform: translateX(3px); }
.hm-card .go svg, .hm-tcard .go svg { transition: transform .2s; }

/* ═══ Tout frais ═══ */
.hm-new { padding: 70px 0; }
.hm-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-rel { display: block; padding: 20px 22px; border-radius: 18px; text-decoration: none; color: var(--text); background: var(--card); border: 1px solid var(--border);
  transition: transform .25s, border-color .25s; }
.hm-rel:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--text); }
.hm-rel.now { border: 1px solid transparent;
  background: linear-gradient(#0f1c33, #0f1c33) padding-box, conic-gradient(from var(--hm-a, 0deg), var(--e), var(--f), var(--v), var(--c), var(--e)) border-box;
  animation: hm-spin 7s linear infinite; box-shadow: 0 20px 60px rgba(242,76,192,.14); }
.hm-rel .top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hm-rel .top b { font: 800 20px 'JetBrains Mono', ui-monospace, monospace; }
.hm-rel .top time { font: 12px 'JetBrains Mono', ui-monospace, monospace; color: var(--text-muted); }
.hm-rel .now-b { font: 700 10.5px Inter, sans-serif; letter-spacing: .07em; text-transform: uppercase; color: #22c55e; background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.3); padding: 4px 8px; border-radius: 999px; }
.hm-rel h3 { font-size: 18px; margin: 12px 0 10px; }
.hm-rel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.hm-rel li { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--text-muted); }
.hm-rel li svg { color: #22c55e; flex: none; }

/* ═══ Sous le capot ═══ */
.hm-trust { padding: 70px 0; }
.hm-trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-tcard { display: flex; flex-direction: column; padding: 0 22px 20px; border-radius: 18px; text-decoration: none; color: var(--text);
  background: var(--card); border: 1px solid var(--border); overflow: hidden; transition: transform .25s, border-color .25s; --c: var(--f); }
.hm-tcard:hover { transform: translateY(-3px); border-color: var(--line); color: var(--text); }
.hm-tcard h3 { font-size: 19px; margin: 16px 0 8px; }
.hm-tcard p { color: var(--text-muted); font-size: 14.5px; line-height: 1.6; margin: 0 0 12px; flex: 1; }
.viz { position: relative; height: 130px; margin: 0 -22px; background: radial-gradient(70% 90% at 50% 100%, rgba(242,76,192,.14), transparent 70%), #081424;
  border-bottom: 1px solid var(--border); overflow: hidden; }
.viz-rays i { position: absolute; left: 50%; top: 60%; width: var(--l); height: 2px; transform-origin: 0 50%; transform: rotate(var(--a)) scaleX(0);
  background: linear-gradient(90deg, rgba(255,255,255,.9), var(--f) 40%, transparent); border-radius: 2px; animation: hm-ray 3.6s ease-out infinite; }
@keyframes hm-ray { 0% { transform: rotate(var(--a)) scaleX(0); opacity: 1; } 70% { transform: rotate(var(--a)) scaleX(.6); opacity: 1; } 100% { transform: rotate(var(--a)) scaleX(.6); opacity: 0; } }
.viz-ia { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; padding: 18px 22px; }
.viz-ia i { border-radius: 4px; background: rgba(79,195,247,.14); animation: hm-cell 2.3s ease-in-out infinite; animation-delay: var(--d); }
@keyframes hm-cell { 50% { background: rgba(242,76,192,.75); box-shadow: 0 0 12px rgba(242,76,192,.6); } }
.viz-log { display: flex; align-items: end; gap: 6px; padding: 18px 22px 0; }
.viz-log i { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: linear-gradient(0deg, rgba(242,76,192,.2), var(--f)); transform-origin: bottom;
  animation: hm-bar 2.8s ease-in-out infinite alternate; }
.viz-log i:nth-child(odd) { animation-delay: .4s; }
@keyframes hm-bar { from { transform: scaleY(.55); } to { transform: scaleY(1); } }
.hm-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.hm-specs > div { display: grid; grid-template-columns: 34px 1fr; column-gap: 10px; align-items: center; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--border); background: rgba(255,255,255,.015); }
.hm-specs svg { grid-row: span 2; color: var(--c); }
.hm-specs b { font-size: 14px; }
.hm-specs span { font-size: 12.5px; color: var(--text-muted); }

/* ═══ Journal + vidéos ═══ */
.hm-media { padding: 60px 0; }
.hm-arts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hm-art { display: flex; flex-direction: column; padding: 20px 22px; border-radius: 16px; text-decoration: none; color: var(--text); background: var(--card);
  border: 1px solid var(--border); transition: transform .25s, border-color .25s; }
.hm-art:hover { transform: translateY(-3px); border-color: var(--border-strong); color: var(--text); }
.hm-art .tag { align-self: flex-start; font: 700 10.5px Inter, sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--a);
  background: rgba(255,167,38,.1); border: 1px solid rgba(255,167,38,.3); padding: 4px 8px; border-radius: 999px; }
.hm-art h3 { font-size: 17.5px; line-height: 1.3; margin: 12px 0 8px; }
.hm-art p { color: var(--text-muted); font-size: 14.5px; line-height: 1.55; margin: 0 0 12px; flex: 1; }
.hm-art .m { font-size: 12.5px; color: var(--text-dim); }
.hm-video { margin-top: 40px; }
.hm-reels-head { margin-top: 56px; }
.hm-reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.hm-reel { position: relative; display: block; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #0b1628; }
.hm-reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-reel:hover img { transform: scale(1.05); }
.hm-reel .play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(242,76,192,.85); box-shadow: 0 10px 30px rgba(242,76,192,.5); transition: transform .25s; }
.hm-reel:hover .play { transform: scale(1.1); }
.hm-reel .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; font-size: 13px; color: #fff; line-height: 1.35;
  background: linear-gradient(0deg, rgba(0,0,0,.8), transparent); }

/* ═══ Qui est derrière ═══ */
.hm-me { padding: 50px 0; }
.hm-me-card { display: grid; grid-template-columns: 90px 1fr; gap: 26px; align-items: start; padding: 30px 34px; border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,107,53,.08), rgba(242,76,192,.08)); border: 1px solid var(--line); }
.hm-me-mark { width: 90px; height: 90px; border-radius: 24px; display: grid; place-items: center; background: #0a1628; border: 1px solid var(--border-strong); }
.hm-me blockquote { margin: 12px 0 14px; font-size: clamp(18px, 2vw, 22px); line-height: 1.55; color: var(--text); font-weight: 500; }
.hm-me .sig b { display: block; font-size: 15px; }
.hm-me .sig span { font-size: 13.5px; color: var(--text-muted); }

/* ═══ FAQ ═══ */
.hm-faq { padding: 70px 0; }
.hm-faq-list { display: grid; gap: 10px; max-width: 900px; }
.hm-q { border-radius: 14px; border: 1px solid var(--border); background: var(--card); transition: border-color .2s; }
.hm-q[open] { border-color: var(--line); }
.hm-q summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  font: 600 16.5px Inter, sans-serif; }
.hm-q summary::-webkit-details-marker { display: none; }
.hm-q .pm { position: relative; width: 14px; height: 14px; flex: none; }
.hm-q .pm::before, .hm-q .pm::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; background: var(--f); border-radius: 2px; transition: transform .25s; }
.hm-q .pm::after { transform: rotate(90deg); }
.hm-q[open] .pm::after { transform: rotate(0deg); }
.hm-q .a { padding: 0 20px 18px; color: var(--text-muted); line-height: 1.7; font-size: 15.5px; }
.hm-q .a a { color: var(--accent); }

/* ═══ Fin ═══ */
.hm-end { padding: 40px 0 90px; }
.hm-end-card { position: relative; overflow: hidden; text-align: center; padding: 60px 30px; border-radius: 26px; isolation: isolate;
  background: radial-gradient(60% 90% at 50% 110%, rgba(255,107,53,.35), transparent 70%), linear-gradient(160deg, #13223a, #0a1628);
  border: 1px solid var(--line); }
.hm-end-card canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hm-end-card h2 { font-size: clamp(28px, 4vw, 48px); letter-spacing: -.02em; margin: 0 0 12px; }
.hm-end-card p { color: #c6d2e2; font-size: 17px; margin: 0 auto; max-width: 560px; }

/* Apparition */
.hm.js .hm-rv { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.hm.js .hm-rv.in { opacity: 1; transform: none; }

/* ═══ Responsive ═══ */
@media (max-width: 1080px) {
  .hm-cards { grid-template-columns: repeat(2, 1fr); }
  .hm-live-grid { grid-template-columns: 1fr; }
  .hm-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .hm-hero { display: block; min-height: 0; padding: 36px 0 0; }
  .hm-stage { position: relative; height: 420px; z-index: 0; margin-top: 0; order: 2; }
  .hm-hero { display: flex; flex-direction: column-reverse; }
  .hm-stage::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(10,22,40,0) 22%, rgba(10,22,40,0) 80%, var(--navy) 100%); }
  .hm-hero-grid { grid-template-columns: 1fr; }
  .hm-device { display: none; }
  .hm-hud { top: auto; bottom: 14px; right: 14px; min-width: 160px; }
  .hm-hint { left: 14px; right: auto; bottom: auto; top: 30px; }
  .hm-story-grid { grid-template-columns: 1fr; gap: 0; }
  .hm-phone { display: none; }
  .hm-step { min-height: 0; opacity: 1; padding: 26px 0; border-top: 1px solid var(--border); }
  .hm-step-shot { display: block; margin-top: 18px; max-width: 240px; }
  .hm-step-shot img { width: 100%; height: auto; filter: drop-shadow(0 20px 40px rgba(0,0,0,.5)); }
  .hm-rel-grid, .hm-trust-grid, .hm-arts { grid-template-columns: 1fr; }
  .hm-reels { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hm-cards, .hm-specs { grid-template-columns: 1fr; }
  .hm-live-kpis { grid-template-columns: repeat(3, 1fr); }
  .hm-live-kpis b { font-size: 22px; }
  .hm-map { min-height: 300px; }
  .hm-me-card { grid-template-columns: 1fr; padding: 24px 20px; }
  .hm-me-mark { width: 64px; height: 64px; border-radius: 18px; }
  .hm-q summary { font-size: 15.5px; padding: 14px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .hm *, .hm *::before, .hm *::after { animation: none !important; }
  .hm.js .hm-rv { opacity: 1; transform: none; transition: none; }
}
