/* ============================================
   BLAFA — vanso.css
   Page /vanso — présentation approfondie du produit
   ============================================ */

/* ========== HERO VANSO ========== */
.v-hero {
  padding-top: calc(var(--space-10) + 48px);
  padding-bottom: var(--space-9);
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.v-hero__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--stone-light);
}

.v-hero__meta-right {
  font-size: var(--fs-micro);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
}

.v-hero__eyebrow {
  font-size: var(--fs-micro);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: var(--space-4);
}

.v-hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 11vw, 180px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.v-hero__title em {
  font-style: italic;
  color: var(--seal);
}

.v-hero__desc {
  max-width: 54ch;
  font-size: var(--fs-body-l);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.v-hero__bottom {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-7);
  align-items: end;
  padding-top: var(--space-5);
  border-top: 1px solid var(--stone-light);
}

.v-hero__actions {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.v-hero__tag {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: right;
}

.v-hero__tag-label {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
}

.v-hero__tag-value {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 768px) {
  .v-hero {
    min-height: auto;
    padding-top: calc(var(--nav-h) + var(--space-7));
    padding-bottom: var(--space-6);
  }

  .v-hero__meta {
    margin-bottom: var(--space-5);
  }

  .v-hero__bottom { grid-template-columns: 1fr; gap: var(--space-4); }
  .v-hero__tag { text-align: left; }
}

/* ========== CAPACITIES — alternées ========== */
.v-caps {
  background: var(--ink);
  color: var(--paper);
  padding-block: var(--space-10);
}

.v-caps__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-9);
  align-items: baseline;
}

.v-caps__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-l);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--paper);
}

.v-caps__list {
  display: flex;
  flex-direction: column;
}

.v-cap {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: var(--space-5);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  align-items: start;
}

.v-cap:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.v-cap__num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--seal);
  font-variant-numeric: tabular-nums;
}

.v-cap__content h3 {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--paper);
  margin-bottom: var(--space-3);
}

.v-cap__content p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone-light);
  max-width: 42ch;
}

.v-cap__visual {
  aspect-ratio: 4 / 3;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
}

/* SVG compositions dans .v-cap__visual */
.v-cap__visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.v-cap__visual-label {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.v-cap__visual-label::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--seal);
  border-radius: 50%;
  margin-right: 8px;
  transform: translateY(-2px);
  animation: pulse-dot 2s var(--ease-in-out-quart) infinite;
}

@media (max-width: 1024px) {
  .v-caps__head { grid-template-columns: 1fr; gap: var(--space-3); }
  .v-cap { grid-template-columns: 48px 1fr; gap: var(--space-4); }
  .v-cap__num { font-size: 32px; }
  .v-cap__visual { grid-column: 1 / -1; margin-top: var(--space-3); }
}

/* ========== DEMO LIVE ========== */
.v-demo {
  padding-block: var(--space-10);
}

.v-demo__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
  align-items: baseline;
}

.v-demo__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-l);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.v-demo__intro {
  max-width: 56ch;
  font-size: var(--fs-body-l);
  line-height: 1.6;
}

.v-demo__body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--space-7);
  align-items: stretch;
}

.v-demo__scenarios {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.v-demo__scenarios-title {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: var(--space-3);
}

.v-scenario {
  display: block;
  width: 100%;
  text-align: left;
  padding: var(--space-4);
  border: 1px solid var(--stone-light);
  border-radius: var(--radius-lg);
  background: transparent;
  font-family: var(--font-body);
  cursor: pointer;
  transition:
    border-color var(--dur-base) var(--ease-out-quart),
    background var(--dur-base) var(--ease-out-quart),
    transform var(--dur-base) var(--ease-out-quart),
    box-shadow var(--dur-base) var(--ease-out-quart);
}

.v-scenario:hover,
.v-scenario.is-active {
  border-color: var(--ink);
  background: var(--paper-soft);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.v-scenario.is-active {
  border-color: var(--seal);
  box-shadow: inset 4px 0 0 var(--seal), var(--shadow-sm);
}

.v-scenario__sector {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--seal);
  margin-bottom: 6px;
  display: block;
}

.v-scenario__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 4px;
}

.v-scenario__desc {
  font-size: 13px;
  color: var(--stone);
  line-height: 1.5;
}

/* Chat window large */
.v-chat {
  background: var(--paper-soft);
  border: 1px solid var(--stone-light);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  min-height: 560px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.v-chat__head {
  padding: var(--space-4);
  border-bottom: 1px solid var(--stone-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v-chat__head-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.v-chat__avatar {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius-full);
}

.v-chat__name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}

.v-chat__status {
  font-size: 11px;
  color: var(--seal);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.v-chat__status::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--seal);
  border-radius: 50%;
  animation: pulse-dot 2s var(--ease-in-out-quart) infinite;
}

.v-chat__meta {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone);
  font-variant-numeric: tabular-nums;
}

.v-chat__messages {
  flex: 1;
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
  max-height: 480px;
}

.v-chat__messages::-webkit-scrollbar { width: 4px; }
.v-chat__messages::-webkit-scrollbar-track { background: transparent; }
.v-chat__messages::-webkit-scrollbar-thumb { background: var(--stone-light); }

.v-chat__footer {
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--stone-light);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
}

.v-chat__input {
  flex: 1;
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper-soft);
  border: 1px solid var(--stone-light);
  border-radius: var(--radius-full);
  outline: none;
  transition: border-color var(--dur-fast) var(--ease-out-quart);
}

.v-chat__input:focus {
  border-color: var(--ink);
}

.v-chat__input::placeholder {
  color: var(--stone);
}

.v-chat__send {
  width: 40px;
  height: 40px;
  background: var(--ink);
  color: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius-full);
  transition: background var(--dur-base) var(--ease-out-quart);
}

.v-chat__send:hover {
  background: var(--seal-deep);
}

.v-chat__send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.v-chat__send svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-chat__notice {
  padding: 8px var(--space-4);
  background: var(--paper-soft);
  border-top: 1px solid var(--stone-light);
  font-size: 11px;
  color: var(--stone);
  text-align: center;
  letter-spacing: 0.03em;
}

@media (max-width: 1024px) {
  .v-demo__head { grid-template-columns: 1fr; gap: var(--space-3); }
  .v-demo__body { grid-template-columns: 1fr; gap: var(--space-5); }
}

/* ========== CANAUX ========== */
.v-channels {
  background: var(--paper-soft);
  padding-block: var(--space-10);
}

.v-channels__head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  align-items: baseline;
}

.v-channels__title {
  font-family: var(--font-display);
  font-size: var(--fs-display-l);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
}

.v-channels__intro {
  max-width: 52ch;
  font-size: var(--fs-body-l);
  line-height: 1.6;
}

.v-channels__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.v-channel {
  padding: var(--space-6) var(--space-4);
  border-left: 1px solid var(--stone-light);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-radius: var(--radius-lg);
}

.v-channel:first-child {
  padding-left: 0;
  border-left: none;
}

.v-channel__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-3);
}

.v-channel__icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-channel__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.v-channel__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--stone);
  max-width: 28ch;
}

.v-channel__stat {
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--stone-light);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.v-channel__stat-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.v-channel__stat-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--stone);
}

@media (max-width: 768px) {
  .v-channels__head { grid-template-columns: 1fr; gap: var(--space-3); }
  .v-channels__grid { grid-template-columns: 1fr; }
  .v-channel { padding-left: 0; border-left: none; border-top: 1px solid var(--stone-light); }
  .v-channel:first-child { border-top: none; }
}
