/* LASTLINE V2 — styles additionnels pages intérieures (charge après accueil.css) */

/* En-tête de page intérieure */
.page-head { padding: 170px 32px 90px; text-align: center; position: relative; }
.page-head-light { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 50% 55% at 50% 0%, rgba(124,176,90,0.06), transparent 70%); }
.page-head h1 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; margin: 22px 0 18px; }
.page-head h1 .dim { color: var(--text2); }
.page-head p { color: var(--text2); font-size: 17.5px; max-width: 52ch; margin: 0 auto; line-height: 1.65; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

/* ── Fonctionnalités : scènes alternées ── */
.feat { display: grid; grid-template-columns: 1fr auto; gap: 72px; align-items: center;
  padding: 84px 0; border-top: 1px solid var(--line); }
.feat.flip .feat-copy { order: 2; }
.feat-copy { max-width: 460px; }
.feat-copy .kicker { color: var(--phosphor); }
.feat-copy h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -0.016em; line-height: 1.2; margin: 12px 0 14px; }
.feat-copy p { color: var(--text1); font-size: 16px; line-height: 1.65; margin: 0; }
.feat-list { margin: 22px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; }
.feat-list li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--text2);
  display: flex; gap: 12px; line-height: 1.55; }
.feat-list li b { color: var(--text0); font-weight: 600; }
.feat-list li::before { content: "—"; color: var(--phosphor); flex-shrink: 0; }

/* groupes duo (2 features côte à côte, plus petits) */
.feat-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 0 84px; }
.feat-mini { background: linear-gradient(180deg, var(--bg2), var(--bg1)); border: 1px solid var(--line);
  border-radius: 22px; padding: 34px; }
.feat-mini .kicker { color: var(--phosphor); }
.feat-mini h3 { font-size: 21px; font-weight: 600; letter-spacing: -0.012em; margin: 10px 0 10px; }
.feat-mini p { color: var(--text2); font-size: 14.5px; line-height: 1.65; margin: 0; }
.feat-mini .demo { margin-top: 24px; }

/* Petites démos embarquées */
.doc-stack { display: flex; flex-direction: column; gap: 8px; }
.doc-row { display: flex; align-items: center; gap: 11px; background: var(--glass);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 13px; }
.doc-ico { width: 30px; height: 30px; border-radius: 9px; background: var(--bg3); border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 8.5px; color: var(--phosphor); flex-shrink: 0; }
.doc-row div:last-child { min-width: 0; }
.doc-name { font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.doc-meta { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); margin-top: 2px; }

/* barre de progression stock */
.gauge { height: 6px; border-radius: 99px; background: var(--bg3); overflow: hidden; margin-top: 8px; }
.gauge i { display: block; height: 100%; border-radius: 99px; background: var(--phosphor); }
.gauge.low i { background: var(--amber); }

/* conversation IA */
.chat { display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 85%; border-radius: 15px; padding: 11px 14px; font-size: 13.5px; line-height: 1.55; }
.bubble.user { align-self: flex-end; background: var(--bg3); border: 1px solid var(--line-strong); }
.bubble.ai { align-self: flex-start; background: rgba(124,176,90,0.08); border: 1px solid rgba(124,176,90,0.25); color: var(--text1); }
.bubble.ai b { color: var(--text0); }

/* ── Hors ligne : interrupteur scénique ── */
.off-stage { position: relative; }
.off-toggle-zone { text-align: center; padding: 30px 0 60px; }
.big-toggle { display: inline-flex; align-items: center; gap: 16px; cursor: pointer; user-select: none;
  background: linear-gradient(180deg, var(--bg2), var(--bg1)); border: 1px solid var(--line-strong);
  border-radius: 99px; padding: 14px 22px; transition: border-color .3s; }
.big-toggle:hover { border-color: rgba(124,176,90,0.4); }
.big-toggle .track { width: 58px; height: 32px; border-radius: 99px; background: var(--bg3); position: relative; transition: background .3s; }
.big-toggle .knob { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 99px;
  background: var(--text2); transition: transform .3s cubic-bezier(.2,.8,.3,1.2), background .3s; }
.big-toggle.on .track { background: rgba(124,176,90,0.25); }
.big-toggle.on .knob { transform: translateX(26px); background: var(--phosphor); box-shadow: 0 0 14px var(--glow); }
.big-toggle span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text1); }

/* monde qui s'éteint / app qui vit */
.off-world { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.off-panel { border: 1px solid var(--line); border-radius: 22px; padding: 30px;
  background: linear-gradient(180deg, var(--bg2), var(--bg1)); transition: opacity .6s, filter .6s; }
.off-panel h3 { font-size: 15px; font-weight: 600; margin: 0 0 18px; display: flex; align-items: center; gap: 10px; }
.off-panel h3 i { font-style: normal; width: 8px; height: 8px; border-radius: 99px; background: var(--text3); flex-shrink: 0; transition: all .4s; }
.offline .dead-panel { opacity: 0.35; filter: saturate(0.2); }
.offline .dead-panel h3 i { background: var(--critical); box-shadow: none; }
.live-panel h3 i { background: var(--text3); }
.offline .live-panel h3 i { background: var(--phosphor); box-shadow: 0 0 12px var(--phosphor); }
.offline .live-panel { border-color: rgba(124,176,90,0.35); }
.svc { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0;
  border-top: 1px solid var(--line); font-size: 14px; }
.svc span { color: var(--text1); }
.svc em { font-style: normal; font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text3); transition: color .4s; }
.offline .dead-panel .svc em { color: var(--critical); }
.offline .live-panel .svc em { color: var(--phosphor); }

/* ── Boutique ── */
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; padding: 10px 0 40px; }
.product { background: linear-gradient(180deg, var(--bg2), var(--bg1)); border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden; transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s; }
.product:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.product-img { aspect-ratio: 4/3; position: relative;
  background: radial-gradient(ellipse 60% 55% at 50% 42%, rgba(232,201,155,0.10), transparent 65%),
    repeating-linear-gradient(-45deg, var(--bg1) 0 12px, var(--bg2) 12px 24px);
  border-bottom: 1px solid var(--line); }
.product-img figcaption { position: absolute; left: 14px; bottom: 12px; right: 14px; font-family: var(--mono);
  font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); line-height: 1.7; }
.product-body { padding: 20px 22px 22px; }
.product-cat { font-family: var(--mono); font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--phosphor); }
.product h3 { font-size: 17px; font-weight: 600; margin: 8px 0 6px; letter-spacing: -0.01em; }
.product p { font-size: 13.5px; color: var(--text2); line-height: 1.55; margin: 0 0 16px; }
.product-foot { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.price s { color: var(--text3); font-weight: 400; margin-right: 8px; font-size: 12px; }
.soon { font-family: var(--mono); font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warm); border: 1px solid rgba(232,201,155,0.3); border-radius: 99px; padding: 5px 10px; }
.btn-ghost { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 600; color: var(--text0); background: none; border: 1px solid var(--line-strong);
  border-radius: 10px; padding: 9px 15px; cursor: pointer; transition: all .2s; }
.btn-ghost:hover { border-color: var(--phosphor); color: var(--phosphor); }
.shop-filters { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; padding: 0 0 44px; }
.chip { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text2); background: none; border: 1px solid var(--line-strong); border-radius: 99px;
  padding: 9px 16px; cursor: pointer; transition: all .2s; }
.chip:hover { color: var(--text0); }
.chip.active { background: var(--phosphor); border-color: var(--phosphor); color: #08090B; font-weight: 600; }

/* bandeau final commun */
.cta-band { text-align: center; padding: 110px 32px 130px; border-top: 1px solid var(--line); position: relative; }
.cta-band h2 { font-size: clamp(26px, 3.4vw, 42px); font-weight: 600; letter-spacing: -0.018em; margin: 0 0 14px; }
.cta-band p { color: var(--text2); font-size: 16px; margin: 0 0 30px; }

@media (max-width: 900px) {
  .feat, .feat.flip { display: flex; flex-direction: column; gap: 36px; text-align: center; }
  .feat.flip .feat-copy { order: 0; }
  .feat-list { text-align: left; }
  .feat-duo, .off-world { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
}
