/* ============================================================
   VANTYX — Components (hero, circle, cards, sections, form)
   ============================================================ */

/* ---------------- HERO ---------------- */
.hero {
  position: relative;
  padding: 168px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 85% -10%, rgba(100,85,250,.10), transparent 55%),
    radial-gradient(90% 90% at -10% 110%, rgba(100,85,250,.07), transparent 50%),
    var(--off-white);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  padding: 8px 16px 8px 10px;
  border-radius: 999px;
  font-size: .85rem; font-weight: 600; color: var(--navy-700);
  margin-bottom: 26px;
}
.hero-badge b { color: var(--primary-700); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 4px rgba(16,185,129,.16); }
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  letter-spacing: -0.03em;
}
.hero h1 .grad {
  background: var(--grad-primary);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: clamp(1.08rem, 1.5vw, 1.32rem);
  color: var(--gray-600);
  max-width: 46ch;
  margin: 26px 0 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 52px; flex-wrap: wrap;
}
.hero-stat .num { font-family: var(--font-mono); font-size: 2rem; font-weight: 700; color: var(--navy-800); letter-spacing: -.02em; }
.hero-stat .lbl { font-size: .85rem; color: var(--gray-600); margin-top: 2px; }

/* big faint V behind hero */
.hero .v-mark.hero-v {
  width: min(46vw, 620px); height: auto; aspect-ratio: 112.8/103.34;
  top: 8%; right: -6%; opacity: .06; transform: rotate(-6deg);
}

/* ---------------- BENEFIT CIRCLE ---------------- */
.circle-wrap {
  position: relative;
  width: min(86vw, 540px);
  aspect-ratio: 1;
  margin: 0 auto;
}
.circle-disc {
  position: absolute; inset: 11%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #fff 0%, #fbfaff 62%, #f1effe 100%);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(100,85,250,.10);
}
.circle-rotor {
  position: absolute; inset: 0;
  animation: spin 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .circle-rotor { animation: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

.circle-item {
  position: absolute;
  top: 50%; left: 50%;
  width: 23%;
  aspect-ratio: 1;
  margin: -11.5% 0 0 -11.5%;
  cursor: pointer;
  transform: translate(var(--x), var(--y));
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.ci-inner {
  position: relative;
  width: 100%; height: 100%;
  animation: spin-rev 60s linear infinite;
  filter: drop-shadow(0 10px 18px rgba(74,60,224,.22));
  transition: filter .35s, transform .35s cubic-bezier(.2,.8,.2,1);
}
@media (prefers-reduced-motion: reduce) { .ci-inner { animation: none; } }
@keyframes spin-rev { to { transform: rotate(-360deg); } }
.circle-item img { width: 100%; height: 100%; object-fit: contain; }
.circle-item:hover { transform: translate(var(--x), var(--y)) scale(1.16); z-index: 5; }
.circle-item:hover .ci-inner { filter: drop-shadow(0 18px 26px rgba(74,60,224,.45)); }
.circle-item .tip {
  position: absolute; top: -34px; left: 50%; transform: translateX(-50%) scale(.85);
  background: var(--navy-800); color: #fff; font-size: .72rem; font-weight: 600;
  padding: 5px 11px; border-radius: 8px; white-space: nowrap;
  opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none;
}
.circle-item:hover .tip { opacity: 1; transform: translateX(-50%) scale(1); }

/* center V emblem inside circle */
.circle-center {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; z-index: 2; pointer-events: none;
}
.circle-center .v-emblem {
  width: 70%; opacity: .92;
  filter: drop-shadow(0 8px 16px rgba(100,85,250,.3));
}
.circle-center .v-emblem img,
.circle-center .v-emblem svg { width: 100%; height: auto; display: block; }
.circle-center .cc-label { margin-top: 0px; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--navy-700); letter-spacing: .02em; }
.circle-hint { text-align: center; margin-top: 18px; font-size: .85rem; color: var(--gray-400); font-weight: 500; }

/* ---------------- BENEFIT ALTERNATING ROWS ---------------- */
.benefits-intro { text-align: center; max-width: 62ch; margin: 0 auto 30px; }

.benefit-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(46px, 6vw, 78px) 0;
  position: relative;
}
.benefit-row + .benefit-row { border-top: 1px solid var(--gray-200); }
.benefit-row.flip .benefit-visual { order: 2; }
.benefit-num {
  font-family: var(--font-mono);
  font-size: .82rem; color: var(--primary-400); font-weight: 600; letter-spacing: .08em;
}
.benefit-row h3 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  margin: 10px 0 16px;
}
.benefit-row p { color: var(--gray-600); font-size: 1.08rem; max-width: 44ch; }
.benefit-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 26px; }
.benefit-tags span {
  font-size: .8rem; font-weight: 600; color: var(--primary-700);
  background: var(--primary-100); padding: 6px 13px; border-radius: 999px;
}

/* ---------------- CARD PHOTO (full art) ---------------- */
.card-visual { position: relative; display: grid; place-items: center; }

.card-photo {
  position: relative;
  display: block;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  border-radius: 22px;
  overflow: visible;
  isolation: isolate;
}
.card-photo .v-mark {
  width: 118%; height: auto; aspect-ratio: 112.8/103.34;
  top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-8deg);
  opacity: .08; color: var(--primary-500); z-index: -1;
}
.card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 85.6 / 54;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s;
  display: block;
}
.card-photo::before {
  content: "";
  position: absolute;
  inset: 8% 4% -6% 4%;
  border-radius: 24px;
  background: var(--card-glow, rgba(100,85,250,.35));
  filter: blur(40px);
  opacity: .5;
  z-index: -2;
  transition: opacity .5s;
}
.card-photo:hover img { transform: translateY(-8px) scale(1.015); box-shadow: 0 38px 80px rgba(36,24,120,.28); }
.card-photo:hover::before { opacity: .8; }

/* themed glow per card */
.card-photo.theme-refeicao   { --card-glow: rgba(100,85,250,.4); }
.card-photo.theme-alimentacao{ --card-glow: rgba(122,91,245,.4); }
.card-photo.theme-transporte { --card-glow: rgba(74,86,117,.4); }
.card-photo.theme-combustivel{ --card-glow: rgba(130,118,251,.4); }
.card-photo.theme-frotas     { --card-glow: rgba(74,60,224,.4); }
.card-photo.theme-home       { --card-glow: rgba(100,85,250,.4); }
.card-photo.theme-educacao   { --card-glow: rgba(138,91,245,.4); }
.card-photo.theme-premiacao  { --card-glow: rgba(100,85,250,.42); }
.card-photo.theme-saldo      { --card-glow: rgba(116,102,251,.4); }
.card-photo.theme-multi      { --card-glow: rgba(100,85,250,.4); }

/* ---------------- FEATURE / SPLIT SECTIONS ---------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 90px);
  align-items: center;
}
.split.flip .split-media { order: 2; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.04rem; color: var(--gray-600); }
.is-dark .feature-list li { color: rgba(255,255,255,.78); }
.feature-list .ck {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--primary-100); color: var(--primary-700);
  display: grid; place-items: center; margin-top: 2px;
}
.is-dark .feature-list .ck { background: rgba(130,118,251,.2); color: var(--primary-200); }
.feature-list .ck svg { width: 14px; height: 14px; }

/* glass info panel used as media */
.glass-panel {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 38px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.is-dark .glass-panel { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); box-shadow: none; backdrop-filter: blur(10px); }
.glass-panel .v-mark { width: 80%; height: auto; aspect-ratio: 112.8/103.34; bottom: -18%; right: -12%; opacity: .07; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; z-index: 1; }
.stat-card {
  background: var(--gray-50); border-radius: var(--radius-md); padding: 22px;
  border: 1px solid var(--gray-200);
}
.is-dark .stat-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.stat-card .v { font-family: var(--font-mono); font-size: 1.9rem; font-weight: 700; color: var(--primary-700); letter-spacing: -.02em; }
.is-dark .stat-card .v { color: var(--primary-200); }
.stat-card .k { font-size: .88rem; color: var(--gray-600); margin-top: 4px; }
.is-dark .stat-card .k { color: rgba(255,255,255,.6); }

/* ---------------- WHY GRID ---------------- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px;
}
.why-card {
  background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius-md);
  padding: 32px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--primary-200); }
.why-card .ic { width: 52px; height: 52px; border-radius: 14px; background: var(--primary-100); color: var(--primary-700); display: grid; place-items: center; margin-bottom: 20px; }
.why-card .ic svg { width: 26px; height: 26px; }
.why-card h4 { font-size: 1.18rem; margin-bottom: 8px; }
.why-card p { color: var(--gray-600); font-size: .98rem; }

/* ---------------- SOLUTIONS NAV (anchor cards row for big sections) -------- */
.solutions-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 50px; }
.sol-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px; border-radius: var(--radius-md);
  background: #fff; border: 1px solid var(--gray-200); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.sol-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.sol-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--grad-primary); color: #fff; display: grid; place-items: center; }
.sol-card .ic svg { width: 22px; height: 22px; }
.sol-card h4 { font-size: 1.05rem; }
.sol-card span { font-size: .9rem; color: var(--gray-600); }

/* ---------------- CONTACT FORM ---------------- */
.contact {
  position: relative; overflow: hidden;
  background: var(--navy-900);
}
.contact .v-mark { width: min(50vw, 640px); height: auto; aspect-ratio: 112.8/103.34; bottom: -20%; left: -8%; opacity: .08; color: var(--primary-400); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; position: relative; z-index: 1; }
.contact-info h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.contact-info p { color: rgba(255,255,255,.7); margin-top: 18px; font-size: 1.1rem; max-width: 42ch; }
.contact-channels { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 18px; }
.contact-channels li { display: flex; align-items: center; gap: 16px; color: #fff; }
.contact-channels .ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); display: grid; place-items: center; color: var(--primary-200); }
.contact-channels .ic svg { width: 20px; height: 20px; }
.contact-channels small { display: block; color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact-channels a, .contact-channels span.val { font-weight: 600; font-size: 1.02rem; }

.form-card {
  background: #fff; border-radius: var(--radius-lg); padding: 38px;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy-700); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--gray-200); background: var(--gray-50);
  font-family: var(--font-body); font-size: .98rem; color: var(--navy-800);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--primary-400); background: #fff;
  box-shadow: 0 0 0 4px rgba(100,85,250,.12);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.form-card .btn-primary { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-size: .82rem; color: var(--gray-400); margin-top: 14px; text-align: center; }
.form-success {
  text-align: center; padding: 24px 0;
}
.form-success .ok { width: 64px; height: 64px; border-radius: 50%; background: rgba(16,185,129,.12); color: var(--success); display: grid; place-items: center; margin: 0 auto 18px; }
.form-success .ok svg { width: 32px; height: 32px; }
.form-success h3 { font-size: 1.5rem; }
.form-success p { color: var(--gray-600); margin-top: 8px; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero .v-mark.hero-v { opacity: .04; }
  .split, .benefit-row, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .benefit-row.flip .benefit-visual, .split.flip .split-media { order: 0; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .solutions-strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .why-grid, .solutions-strip, .form-row, .stat-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 26px; }
  .form-card, .glass-panel { padding: 26px; }
  .circle-wrap { width: min(82vw, 420px); }
  .circle-center .v-emblem { width: 48%; }
}
