/* ==========================================================================
   Hero Scroll Video — componente
   Cole isto no <head> do seu site (ou importe no seu CSS principal):
   <link rel="stylesheet" href="hero-scroll-video.css">
   ========================================================================== */

:root {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0c1a44;
  background: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: auto; }

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #0a0a0a;
}

button,
input { font: inherit; }


.hsv-scroll-stage {
  position: relative;
  height: 900vh; /* quanto maior, mais lenta/detalhada fica a rolagem do vídeo */
  background: #0a0a0a;
}

.hsv-hero {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
}

.hsv-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hsv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.20) 35%, rgba(0,0,0,.60) 100%);
  pointer-events: none;
}

/* O título inicial (.hsv-content) e o bloco de descrição (.hsv-desc)
   ficam empilhados um sobre o outro (ambos absolutos, centralizados)
   dentro do hero; o JS faz o crossfade entre eles conforme o scroll. */
.hsv-content,
.hsv-desc {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  color: #fff;
  transition: opacity .2s linear, transform .2s linear;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hsv-content h1 {
  font-size: clamp(2.5rem, 10vw, 8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
  margin: 0;
  opacity: 0;
  animation: hsv-title-in 1.6s cubic-bezier(.16,.84,.44,1) both;
  animation-delay: .2s;
}

/* Linha fina que se estende sob o título, logo depois do texto aparecer */
.hsv-title-line {
  display: block;
  width: 120px;
  height: 2px;
  margin: 22px auto 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: center;
  opacity: .85;
  animation: hsv-line-in 1s cubic-bezier(.16,.84,.44,1) both;
  animation-delay: 1.15s;
}

.hsv-content p {
  margin-top: 18px;
  font-size: clamp(1rem, 2vw, 1.25rem);
  letter-spacing: .04em;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
  opacity: 0;
  animation: hsv-fade-up .9s ease-out both;
  animation-delay: 1.3s;
}

/* Entrada elegante do título: some de leve borrado/afastado, ganha foco
   e "fecha" o espaçamento de letras enquanto surge. */
@keyframes hsv-title-in {
  0% {
    opacity: 0;
    transform: translateY(28px) scale(1.04);
    filter: blur(10px);
    letter-spacing: .5em;
  }
  55% {
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
    letter-spacing: -0.02em;
  }
}

@keyframes hsv-line-in {
  to { transform: scaleX(1); }
}

@keyframes hsv-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hsv-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  opacity: .8;
  animation: hsv-bounce 1.8s ease-in-out infinite;
  transition: opacity .2s linear;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hsv-scroll-hint svg { width: 20px; height: 20px; }

@keyframes hsv-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 10px); }
}

.hsv-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #7c3aed, #06b6d4);
  z-index: 10;
  width: 0%;
}

/* ==========================================================================
   Relógio circular de km — acompanha o progresso do scroll do vídeo 1:1
   (sobe e desce junto), fica destacado no canto e some perto do fim do
   scroll-stage, ao entrar na próxima dobra.
   ========================================================================== */

.hsv-km-gauge {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(16px, 6vh, 56px);
  width: clamp(120px, 16vw, 180px);
  height: clamp(120px, 16vw, 180px);
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

.hsv-km-gauge-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
}

.hsv-km-gauge-track {
  fill: none;
  stroke: rgba(255,255,255,.35);
  stroke-width: 4;
  stroke-dasharray: 2 8;
}

.hsv-km-gauge-progress {
  fill: none;
  stroke: #fff;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 565.487;
  stroke-dashoffset: 565.487;
}

.hsv-km-gauge-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #F5F8FF;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.hsv-km-gauge-value {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1;
  color: #F5F8FF;
  font-variant-numeric: tabular-nums;
}

.hsv-km-gauge-unit {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: #F5F8FF;
}

/* ==========================================================================
   Bloco de descrição — substitui o título, sobreposto ao vídeo, assim
   que o usuário começa a rolar a página (ver .hsv-desc acima).
   ========================================================================== */

.hsv-desc {
  opacity: 0;
  pointer-events: none;
}

.hsv-desc-inner {
  max-width: 660px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.lc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #D7D7D7;
  margin: 0 0 28px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.lc-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: currentColor;
  opacity: .55;
}

.lc-heading {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 26px;
  text-shadow: 0 2px 24px rgba(0,0,0,.45);
}

.lc-heading .lc-orange { color: #504eff; }
.lc-heading .lc-white { color: #D7D7D7; font-weight: 500; }

.lc-highlight {
  background: none;
  color: inherit;
}

.lc-body {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  font-weight: 300;
  line-height: 1.85;
  letter-spacing: .005em;
  color: #D7D7D7;
  margin: 0 0 36px;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.lc-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #504eff;
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .03em;
  padding: 15px 32px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(80,78,255,.35);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.lc-cta:hover {
  background: #3f3dcc;
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(80,78,255,.45);
}

/* ==========================================================================
   Slides "Operação" — camadas sobre o PRÓPRIO vídeo (dentro do hero),
   continuando o mesmo scroll depois que a descrição some. Cada slide troca
   texto + imagem; a imagem desliza a partir da lateral. RASCUNHO: imagens
   são placeholders — troque .op-media-placeholder por uma <img> real (ou
   background-image) quando os assets estiverem prontos.
   ========================================================================== */

.op-slide {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 5vw, 64px);
  padding: 0 clamp(24px, 6vw, 96px);
  opacity: 0;
  pointer-events: none;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.op-slide-text {
  flex: 1 1 380px;
  max-width: 420px;
  text-align: left;
}

/* Alterna o lado: texto/imagem trocam de posição para a imagem
   "emergir" de lados diferentes a cada slide. */
.op-slide--reverse { flex-direction: row-reverse; }

.op-index {
  display: block;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1;
  color: #504eff;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-shadow: 0 2px 20px rgba(80,78,255,.35);
}

.op-heading {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 18px;
  text-shadow: 0 2px 24px rgba(0,0,0,.55);
}

.op-body {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  font-weight: 400;
  line-height: 1.7;
  color: #D7D7D7;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
  margin: 0;
}

.op-media {
  position: relative;
  flex: 1 1 380px;
  max-width: 460px;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 70px rgba(0,0,0,.55);
}

.op-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#opSlide3 .op-media,
#opSlide5 .op-media {
  aspect-ratio: 1 / 1;
}

/* Placeholder — troque por <img> ou background real quando tiver o asset */
.op-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: repeating-linear-gradient(135deg, #dde3ee, #dde3ee 12px, #e8ecf4 12px, #e8ecf4 24px);
  border: 2px dashed #aab6cc;
  color: #5c6b8a;
  font-size: .8rem;
  text-align: center;
  padding: 20px;
}

.op-media-placeholder svg { width: 36px; height: 36px; opacity: .6; }

@media (max-width: 780px) {
  html,
  body {
    overflow-x: clip;
    overscroll-behavior-x: none;
  }

  .hsv-scroll-stage {
    height: 900vh;
  }

  .cs-section {
    margin-top: -100vh;
  }

  .hsv-hero {
    height: 100vh;
    min-height: 0;
    touch-action: pan-y;
  }

  .hsv-hero video {
    transform: scale(1);
    transform-origin: center top;
    object-position: center top;
  }

  .hsv-hero::after {
    background: linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,.08) 52%, rgba(0,0,0,.2) 100%);
  }

  .hsv-km-gauge { display: none; }

  .op-slide {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
    padding-top: 84px;
    text-align: center;
  }
  .op-slide-text {
    flex: 0 0 auto;
    width: min(100%, 340px);
    text-align: center;
  }
  .op-media {
    flex: 0 0 auto;
    width: min(82vw, 280px);
    max-width: none;
  }

  .cs-section {
    margin-top: -100vh;
    overflow: hidden;
  }

  .cs-inner {
    min-width: 0;
  }

  .cs-card {
    transform: translateY(40px) scale(.97);
  }

  .cs-card.is-visible {
    transform: translateY(0) scale(1);
  }
}

/* ==========================================================================
   Seção "Cards" — depois do hero (fluxo normal da página, não sobre o
   vídeo). Cada card sobe de baixo pra cima, com leve blur e zoom, revelado
   individualmente conforme entra na tela (ver IntersectionObserver no JS).
   RASCUNHO: imagens são placeholders — troque .cs-card-media-placeholder
   por uma <img> real (ou background-image) quando os assets estiverem
   prontos.
   ========================================================================== */

.cs-section {
  position: relative;
  z-index: 10;
  background: #0c1a44;
  padding: clamp(64px, 10vw, 112px) 24px;
  /* "Cortina": a seção sobe e cobre o vídeo (que fica parado, ainda
     grudado/sticky) em vez do vídeo rolar pra fora — a margem negativa
     puxa esta seção pra cima, sobrepondo o hero enquanto ele ainda está
     preso, exatamente 1 viewport antes do vídeo soltar do sticky. */
  margin-top: -100vh;
  border-radius: 28px 28px 0 0;
  box-shadow: 0 -60px 120px rgba(0,0,0,.45);
}

.cs-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(24px, 3vw, 36px);
}

.cs-card {
  --reveal-x: -100px;
  background: #eef2fb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 55px rgba(0,0,0,.3);
  opacity: 0;
  transform: translateX(var(--reveal-x)) scale(.97);
  filter: blur(8px);
  transition: opacity 1.1s cubic-bezier(.16,.84,.44,1),
              transform 1.1s cubic-bezier(.16,.84,.44,1),
              filter 1.1s cubic-bezier(.16,.84,.44,1);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.cs-card.is-visible {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
}

.cs-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.cs-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Placeholder — troque por <img> ou background real quando tiver o asset */
.cs-card-media-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: repeating-linear-gradient(135deg, #dde3ee, #dde3ee 12px, #e8ecf4 12px, #e8ecf4 24px);
  border: 2px dashed #aab6cc;
  color: #5c6b8a;
  font-size: .78rem;
  text-align: center;
  padding: 20px;
}

.cs-card-media-placeholder svg { width: 32px; height: 32px; opacity: .6; }

.cs-card-body { padding: 28px 28px 32px; }

.cs-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #0c1a44;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin: 0 0 12px;
}

.cs-card-text {
  font-size: .95rem;
  line-height: 1.6;
  color: #4a5a75;
  margin: 0 0 24px;
}

.cs-card-cta {
  display: inline-flex;
  align-items: center;
  padding: 11px 22px;
  border: 1.5px solid #0c1a44;
  border-radius: 8px;
  background: #fff;
  color: #0c1a44;
  font-weight: 600;
  font-size: .88rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.cs-card-cta:hover { background: #0c1a44; color: #fff; }

/* ==========================================================================
   Reveal genérico — usado nas 3 seções abaixo (diferenciais, tabela e
   formulário). Mesma linguagem visual dos cards: sobe, ganha foco (blur)
   e opacidade conforme entra na tela, uma única vez.
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity .9s cubic-bezier(.16,.84,.44,1),
              transform .9s cubic-bezier(.16,.84,.44,1),
              filter .9s cubic-bezier(.16,.84,.44,1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ==========================================================================
   Seção "Principais diferenciais" — fundo branco, 3 colunas com ícone.
   ========================================================================== */
.diff-section {
  background: #fff;
  padding: clamp(64px, 10vw, 112px) 24px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.diff-inner { max-width: 1280px; margin: 0 auto; }

.diff-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 500;
  color: #0c1a44;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.diff-subtitle {
  max-width: 900px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: #4a5a75;
  margin: 0 0 56px;
}

.diff-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 48px);
}

.diff-col {
  padding-left: 24px;
  border-left: 1px solid #dde3ee;
}

.diff-col:first-child { border-left: 2px solid #504eff; }

.diff-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid #504eff;
  color: #504eff;
  margin-bottom: 24px;
}

.diff-icon svg { width: 24px; height: 24px; }

.diff-col p {
  font-size: 1.05rem;
  line-height: 1.55;
  color: #16264a;
  margin: 0;
}

@media (max-width: 780px) {
  .diff-cols { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   Seção "Operação por serviço" — fundo claro, tabela comparativa com a
   coluna principal ("Cegonha") destacada em navy + check.
   ========================================================================== */
.compare-section {
  background: #eef2fb;
  padding: clamp(64px, 10vw, 112px) 24px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.compare-inner { max-width: 1280px; margin: 0 auto; }

.compare-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 500;
  color: #0c1a44;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
}

.compare-table {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1.4fr);
  overflow-x: auto;
}

.compare-cell {
  padding: 16px 18px;
  font-size: .92rem;
  color: #364568;
  display: flex;
  align-items: center;
}

.compare-header {
  font-weight: 700;
  color: #0c1a44;
  background: #fff;
}

.compare-header.compare-featured {
  background: #504eff;
  color: #fff;
  border-radius: 8px 8px 0 0;
}

.compare-row-label { color: #5c6b8a; }

.compare-featured-cell {
  background: #0c1a44;
  color: #fff;
  font-weight: 600;
  gap: 10px;
  justify-content: space-between;
}

.compare-featured-cell svg { width: 16px; height: 16px; flex: 0 0 auto; color: #504eff; }

.compare-table > .compare-cell:nth-child(4n+1) { background: rgba(255,255,255,.5); }

@media (max-width: 900px) {
  .compare-table { grid-template-columns: 1fr; }
  .compare-cell { border-bottom: 1px solid rgba(12,26,68,.08); }
  .compare-header { display: none; }
  .compare-row-label {
    font-weight: 700;
    color: #0c1a44;
    background: #fff;
    margin-top: 12px;
    border-radius: 8px 8px 0 0;
  }
}

/* ==========================================================================
   Seção "Planeie a sua operação" — formulário sobre fundo de destaque.
   ========================================================================== */
.form-section {
  background: linear-gradient(135deg, #4b49e8, #6361ff);
  padding: clamp(64px, 10vw, 112px) 24px;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.contact-tools { position: fixed; right: 20px; bottom: 20px; z-index: 50; display: flex; align-items: flex-end; gap: 10px; }
.whatsapp-float { border: 0; box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.whatsapp-float { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px; border-radius: 24px; background: #20b957; color: #fff; font-size: .82rem; font-weight: 700; text-decoration: none; }
.whatsapp-float img { display: block; width: 25px; height: 25px; }
.whatsapp-float { cursor: pointer; font-family: inherit; }
.whatsapp-float:hover { transform: translateY(-2px); }
.urgent-call-float { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 44px; height: 44px; padding: 0; border-radius: 50%; background: #fff; color: #0c1a44; font-size: .78rem; font-weight: 700; text-decoration: none; box-shadow: 0 10px 28px rgba(0,0,0,.24); }
.urgent-call-float img { width: 25px; height: 25px; display: block; }
.urgent-call-float > span { display: none; }
.urgent-call-float:hover { transform: translateY(-2px); }
.side-info { position: fixed; top: 50%; right: 4px; z-index: 49; display: grid; gap: 10px; width: 240px; transform: translateY(-50%); opacity: 0; visibility: hidden; pointer-events: none; animation: sideInfoCycle 25s linear infinite; }
@keyframes sideInfoCycle { 0%, 40% { opacity: 0; visibility: hidden; pointer-events: none; } 40.01%, 60% { opacity: 1; visibility: visible; pointer-events: auto; } 60.01%, 100% { opacity: 0; visibility: hidden; pointer-events: none; } }
.route-notice { width: 100%; margin: 0; padding: 9px 12px; border-radius: 8px; background: rgba(12,26,68,.94); color: rgba(255,255,255,.9); font-size: .78rem; font-weight: 700; line-height: 1.35; text-align: center; box-shadow: 0 10px 28px rgba(0,0,0,.2); }
body.is-form-active .contact-tools, body.is-form-active .side-info { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.assistant-panel { position: absolute; right: 0; bottom: 60px; width: min(360px, calc(100vw - 32px)); overflow: hidden; border: 1px solid rgba(12,26,68,.12); border-radius: 14px; background: #fff; box-shadow: 0 18px 50px rgba(0,0,0,.28); color: #0c1a44; }
.assistant-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px 18px; background: #0c1a44; color: #fff; }
.assistant-header div { display: grid; gap: 4px; }
.assistant-header strong { font-size: .88rem; }
.assistant-header span { color: rgba(255,255,255,.7); font-size: .72rem; }
.assistant-header button { border: 0; background: transparent; color: #fff; cursor: pointer; font-size: 1.35rem; line-height: 1; }
.assistant-messages { display: grid; gap: 8px; max-height: 220px; overflow-y: auto; padding: 14px 16px 4px; }
.assistant-message { max-width: 88%; margin: 0; padding: 10px 12px; border-radius: 10px; font-size: .78rem; line-height: 1.45; }
.assistant-message--bot { background: #eef2fb; justify-self: start; }
.assistant-message--user { background: #504eff; color: #fff; justify-self: end; }
.assistant-quick-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; }
.assistant-quick-actions button { border: 1px solid #ccd4e5; border-radius: 14px; padding: 6px 9px; background: #fff; color: #0c1a44; cursor: pointer; font-size: .7rem; }
.assistant-quick-actions button:hover { border-color: #504eff; color: #504eff; }
.assistant-form { display: flex; gap: 8px; padding: 8px 16px 12px; }
.assistant-form input { min-width: 0; flex: 1; border: 1px solid #ccd4e5; border-radius: 8px; padding: 10px; color: #0c1a44; font-size: .78rem; }
.assistant-form button { border: 0; border-radius: 8px; padding: 0 12px; background: #504eff; color: #fff; cursor: pointer; font-size: .75rem; font-weight: 700; }
.assistant-contact-links { display: flex; align-items: center; gap: 12px; padding: 0 16px 16px; }
.assistant-contact-links a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; }
.assistant-contact-links img { width: 28px; height: 28px; display: block; }
.assistant-call-label { align-self: center; color: #5c6b8a; font-size: .68rem; white-space: nowrap; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 520px) { .contact-tools { right: 12px; bottom: 12px; } .whatsapp-float { min-height: 44px; padding: 0 12px; } .whatsapp-float > span:last-child { display: none; } .side-info { top: auto; right: 4px; bottom: 100px; width: 180px; transform: none; } .urgent-call-float { width: 40px; height: 40px; } .route-notice { font-size: .64rem; } }
@media (prefers-reduced-motion: reduce) { .side-info { opacity: 1; visibility: visible; pointer-events: auto; animation: none; } }

.form-inner { max-width: 1280px; margin: 0 auto; }

.form-heading {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.01em;
  margin: 0 0 22px;
}

.form-subtitle {
  max-width: 760px;
  font-size: 1.02rem;
  line-height: 1.65;
  color: rgba(255,255,255,.85);
  margin: 0 0 48px;
}

.form-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.2);
  margin: 0 0 48px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
}

.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-bottom: 24px;
}

.form-label--proposal { margin-bottom: 24px; }

.form-slider-value {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.form-slider-value strong {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.form-slider-value span {
  font-size: .85rem;
  color: rgba(255,255,255,.7);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(255,255,255,.3);
  border-radius: 999px;
  outline: none;
}

.form-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.form-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.form-slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-size: .75rem;
  color: rgba(255,255,255,.55);
}

.form-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px 28px;
}

.form-field label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}

.form-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .95rem;
  font-family: inherit;
  padding: 6px 2px 10px;
  outline: none;
  transition: border-color .2s ease;
}

.form-field input::placeholder { color: rgba(255,255,255,.45); }
.form-field input:focus { border-color: #fff; }

.form-submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  margin: 40px auto 0;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(20,18,95,.18);
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.form-submit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255,255,255,.32) 50%, transparent 75%);
  transform: translateX(-130%);
  transition: transform .55s ease;
}

.form-submit:hover {
  background: rgba(255,255,255,.24);
  border-color: rgba(255,255,255,.9);
  box-shadow: 0 12px 28px rgba(20,18,95,.28);
  transform: translateY(-2px);
}

.form-submit:hover::before { transform: translateX(130%); }

.form-submit:focus-visible {
  outline: 3px solid rgba(255,255,255,.48);
  outline-offset: 4px;
}

.form-submit:active { transform: translateY(0); }

@media (max-width: 780px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-fields { grid-template-columns: 1fr; }

  .hsv-content h1 {
    font-size: clamp(2.2rem, 12vw, 4rem);
    letter-spacing: 0;
    opacity: 1;
    animation: none;
    transform: none;
    filter: none;
    overflow-wrap: break-word;
  }

  .cs-section {
    margin-top: -100vh;
  }

  .cs-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-card {
    transform: translateY(40px) scale(.97);
  }

  .cs-card.is-visible {
    transform: translateY(0) scale(1);
  }
}
