/* ============================================================
   VANS / MOBILIDADE CORPORATIVA — estilos da página vans.html
   Usa os tokens de :root e os componentes definidos em style.css.
   ============================================================ */

/* =====================  HERO CORPORATIVA  =====================
   Layout centralizado, leitura no topo e imagem em destaque logo
   abaixo da copy (diferente da hero do index, que usa foto lateral). */
.vhero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(140px, 17vh, 210px) 0 clamp(60px, 8vw, 110px);
  background:
    radial-gradient(120% 90% at 50% -8%, rgba(224, 29, 40, 0.20), transparent 55%),
    radial-gradient(70% 60% at 85% 18%, rgba(214, 170, 103, 0.10), transparent 60%),
    linear-gradient(180deg, #0a0c12 0%, #06070b 62%);
}

.vhero__grid,
.vhero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* grade técnica sutil de fundo */
.vhero__grid {
  z-index: -3;
  opacity: 0.6;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 78% at 50% 0%, #000 28%, transparent 76%);
  mask-image: radial-gradient(120% 78% at 50% 0%, #000 28%, transparent 76%);
}

.vhero__glow {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 6%;
  width: min(760px, 80vw);
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(224, 29, 40, 0.7), rgba(214, 170, 103, 0.6), transparent);
  box-shadow: 0 0 44px rgba(224, 29, 40, 0.3);
}

.vhero .hero__particles {
  z-index: -1;
  opacity: 0.85;
}

.vhero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.vhero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid rgba(214, 170, 103, 0.34);
  background: rgba(214, 170, 103, 0.08);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-soft);
  text-transform: uppercase;
}

.vhero__badge .vhero__pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: vheroPulse 2.4s ease-in-out infinite;
}

@keyframes vheroPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
}

.vhero__title {
  margin: 26px 0 0;
  max-width: 16ch;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(2.1rem, 5.2vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
}

.vhero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--red-soft) 10%, var(--gold) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.vhero__lead {
  margin: 22px 0 0;
  max-width: 660px;
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.6;
  color: var(--muted);
}

.vhero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.vhero__trust {
  margin-top: clamp(44px, 6vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: clamp(20px, 4vw, 56px);
  list-style: none;
  padding: 0;
}

.vhero__trust li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: clamp(20px, 4vw, 56px);
  text-align: left;
}

.vhero__trust li:first-child {
  padding-left: 0;
}

.vhero__trust li:not(:first-child)::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 38px;
  width: 1px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.vhero__trust strong {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--white);
}

.vhero__trust span {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.3;
}

/* showcase — imagem em destaque logo abaixo da copy */
.vhero__showcase {
  position: relative;
  margin-top: clamp(48px, 6vw, 80px);
}

.vhero__showcase-frame {
  position: relative;
  border-radius: 24px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(224, 29, 40, 0.4), rgba(214, 170, 103, 0.28) 60%, rgba(255, 255, 255, 0.06));
  box-shadow: 0 40px 110px rgba(0, 0, 0, 0.6);
}

.vhero__showcase-frame img {
  display: block;
  width: 100%;
  height: clamp(280px, 42vw, 520px);
  object-fit: cover;
  border-radius: 16px;
}

.vhero__showcase-scrim {
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 7, 11, 0.1) 0%, transparent 30%, rgba(6, 7, 11, 0.55) 100%);
}

.vhero__chip {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 12, 18, 0.72);
  backdrop-filter: blur(10px);
  text-align: left;
}

.vhero__chip i {
  font-size: 1.5rem;
  color: var(--gold);
}

.vhero__chip strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--white);
}

.vhero__chip small {
  font-size: 0.8rem;
  color: var(--muted);
}

/* =====================  SEÇÃO DE DORES  ===================== */
.pains {
  padding: clamp(70px, 9vw, 120px) 0;
}

.pains__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(34px, 4vw, 52px);
}

.pain {
  position: relative;
  padding: 28px 24px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.pain i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  border-radius: 14px;
  font-size: 1.25rem;
  color: var(--red-soft);
  background: rgba(224, 29, 40, 0.12);
  border: 1px solid rgba(224, 29, 40, 0.26);
}

.pain h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.pain p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

.pains__turn {
  margin-top: clamp(36px, 4vw, 52px);
  text-align: center;
}

.pains__turn p {
  font-family: var(--font-title);
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 26px;
}

.pains__turn p em {
  font-style: normal;
  background: linear-gradient(120deg, var(--red-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =====================  COMO FUNCIONA (FLUXO)  ===================== */
.flow {
  padding: clamp(60px, 8vw, 100px) 0;
}

.flow__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.4vw, 30px);
  margin-top: clamp(36px, 4vw, 56px);
  counter-reset: flow;
}

.flow__step {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.flow__step::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: block;
  margin-bottom: 16px;
  font-family: var(--font-title);
  font-size: 1.9rem;
  font-weight: 800;
  background: linear-gradient(120deg, var(--red-soft), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.flow__step h3 {
  font-family: var(--font-title);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.flow__step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
}

/* =====================  FROTA PARA GRUPOS (sem filtros)  ===================== */
.group-fleet {
  padding: clamp(60px, 8vw, 100px) 0;
}

.group-fleet__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(18px, 2.2vw, 26px);
  margin-top: clamp(36px, 4vw, 52px);
}

/* =====================  RESPONSIVO  ===================== */
@media (max-width: 980px) {
  .pains__grid,
  .flow__grid,
  .group-fleet__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .vhero__trust {
    grid-template-columns: repeat(2, auto);
    gap: 24px 32px;
  }
  .vhero__trust li {
    padding-left: 0;
    text-align: center;
    align-items: center;
  }
  .vhero__trust li:not(:first-child)::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .pains__grid,
  .flow__grid,
  .group-fleet__grid {
    grid-template-columns: 1fr;
  }
  .vhero__chip {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
  .vhero__actions .btn {
    width: 100%;
    justify-content: center;
  }
}
