/* ==========================================================================
   VionTech — Página Contato
   Reaproveita os tokens do design system (--vt-purple-*, --vt-ink,
   --vt-gray-*, --vt-white, --vt-btn-radius, --vt-shadow-ink*,
   --vt-shadow-purple*, --vt-font*, .vt-btn). Precisa que index.css seja
   carregado ANTES deste arquivo.
   ========================================================================== */

.vt-ctHero *,
.vt-ctForm * {
  box-sizing: border-box;
}

/* ==========================================================================
   1. HERO
   ========================================================================== */

.vt-ctHero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--vt-hero-bg, #F7F7FC);
  padding: 76px 24px 56px;
  max-width: 100vw;
}

.vt-ctHero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(var(--vt-hero-line, #E7E5F5) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 35%, transparent 90%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 15%, #000 35%, transparent 90%);
  opacity: 0.9;
}

.vt-ctHero__blob {
  position: absolute;
  z-index: 0;
  width: 380px;
  height: 380px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.09);
  filter: blur(6px);
  pointer-events: none;
}

.vt-ctHero__inner {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.vt-ctHero__eyebrow {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--vt-font-display);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 7px 12px;
  border: 1px solid var(--vt-gray-300);
  border-radius: 999px;
  background: var(--vt-white);
  margin-bottom: 22px;
}

.vt-ctHero__eyebrow-bracket {
  color: var(--vt-purple-500);
  font-weight: 700;
}

.vt-ctHero__eyebrow-strong {
  color: var(--vt-ink);
}

.vt-ctHero__title {
  font-family: var(--vt-font);
  font-weight: 700;
  font-size: clamp(28px, 4.4vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.01em;
  color: var(--vt-ink);
  margin: 0 0 18px;
}

.vt-ctHero__title-accent {
  color: var(--vt-purple-500);
}

.vt-ctHero__desc {
  font-family: var(--vt-font);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--vt-gray-600);
  margin: 0;
}

/* ==========================================================================
   2. FORMULÁRIO — fundo branco, form + sidebar
   ========================================================================== */

.vt-ctForm {
  position: relative;
  background: var(--vt-white);
  padding: 24px 24px 96px;
  max-width: 100vw;
  overflow-x: hidden;
}

.vt-ctForm__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: 28px;
  align-items: start;
}

/* ---------- Painel do form ---------- */
.vt-ctForm__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 36px;
  border-radius: 22px;
  background: var(--vt-white);
  border: 2px solid var(--vt-ink);
  box-shadow: var(--vt-shadow-purple);
}

.vt-ctForm__erros {
  padding: 12px 14px;
  border: 1.5px solid #F3B8B8;
  border-radius: 12px;
  background: #FFF5F5;
  color: #9F1239;
}

.vt-ctForm__erros p {
  margin: 0;
  font-family: var(--vt-font);
  font-size: 14px;
  line-height: 1.45;
}

.vt-ctForm__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.vt-ctForm__field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  width: 100%;
}

.vt-ctForm__label {
  font-family: var(--vt-font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--vt-ink);
}

.vt-ctForm__label span {
  font-family: var(--vt-font);
  font-weight: 400;
  font-size: 11.5px;
  color: var(--vt-gray-600);
  text-transform: none;
  letter-spacing: 0;
}

.vt-ctForm__input,
.vt-ctForm__textarea {
  font-family: var(--vt-font);
  font-size: 14px;
  color: var(--vt-ink);
  background: var(--vt-gray-100);
  border: 1.5px solid var(--vt-gray-300);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
  width: 100%;
}

.vt-ctForm__textarea {
  resize: vertical;
  min-height: 120px;
  font-family: var(--vt-font);
  line-height: 1.55;
}

.vt-ctForm__input::placeholder,
.vt-ctForm__textarea::placeholder {
  color: var(--vt-gray-600);
  opacity: 0.7;
}

.vt-ctForm__input:focus,
.vt-ctForm__textarea:focus {
  background: var(--vt-white);
  border-color: var(--vt-purple-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.vt-ctForm__erroCampo {
  display: none;
  font-family: var(--vt-font);
  font-size: 12px;
  line-height: 1.35;
  color: #9F1239;
}

.vt-ctForm__field.is-invalid .vt-ctForm__erroCampo,
.vt-contactModal__field.is-invalid .vt-ctForm__erroCampo {
  display: block;
}

.vt-ctForm__field.is-invalid .vt-ctForm__input,
.vt-ctForm__field.is-invalid .vt-ctForm__textarea,
.vt-contactModal__field.is-invalid input,
.vt-contactModal__field.is-invalid textarea {
  border-color: #E11D48;
  background: #FFF5F5;
}

.vt-ctHoneypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Select customizado ---------- */
.vt-ctForm__select-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.vt-ctForm__select {
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--vt-font);
  font-size: 16px;
  color: var(--vt-ink);
  background: var(--vt-gray-100);
  border: 1.5px solid var(--vt-gray-300);
  border-radius: 12px;
  padding: 12px 42px 12px 14px;
  outline: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
}

.vt-ctForm__select:focus {
  background: var(--vt-white);
  border-color: var(--vt-purple-500);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.14);
}

.vt-ctForm__select optgroup {
  font-family: var(--vt-font-display);
  font-weight: 700;
  font-style: normal;
  color: var(--vt-ink);
}

.vt-ctForm__select option {
  font-family: var(--vt-font);
  font-weight: 400;
  color: var(--vt-ink);
}

.vt-ctForm__select-wrap i {
  position: absolute;
  right: 14px;
  pointer-events: none;
  color: var(--vt-gray-600);
  font-size: 17px;
}

.vt-ctForm__enviar {
  position: relative;
  z-index: 6;
  width: fit-content;
  max-width: 100%;
  max-height: none;
  white-space: nowrap;
}

/* ---------- Sidebar ---------- */
.vt-ctSide {
  position: sticky;
  top: 24px;
  padding: 30px 26px;
  border-radius: 22px;
  background: var(--vt-gray-100);
  border: 2px solid var(--vt-ink);
}

.vt-ctSide__title {
  font-family: var(--vt-font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--vt-ink);
  margin: 0 0 22px;
}

.vt-ctSide__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vt-ctSide__step {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.vt-ctSide__step-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--vt-purple-500);
  color: var(--vt-white);
  font-size: 16px;
}

.vt-ctSide__step strong {
  display: block;
  font-family: var(--vt-font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--vt-ink);
  margin-bottom: 3px;
}

.vt-ctSide__step p {
  margin: 0;
  font-family: var(--vt-font);
  font-size: 12px;
  line-height: 1.55;
  color: var(--vt-gray-600);
}

.vt-ctThanks {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 0 48px;
}

.vt-ctThanks__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 36px 28px;
  border-radius: 22px;
  background: var(--vt-white);
  border: 2px solid var(--vt-ink);
  box-shadow: var(--vt-shadow-purple);
}

.vt-ctThanks__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--vt-purple-500);
  color: var(--vt-white);
  font-size: 28px;
}

.vt-ctThanks__card h2 {
  margin: 8px 0 0;
  font-family: var(--vt-font);
  font-size: clamp(22px, 4vw, 28px);
  color: var(--vt-ink);
}

.vt-ctThanks__card p {
  margin: 0;
  max-width: 42ch;
  font-family: var(--vt-font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--vt-gray-600);
}

.vt-ctThanks__acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
}

.vt-ctThanks__acoes .vt-btn {
  max-height: none;
}

@media (max-width: 640px) {
  .vt-ctThanks__card {
    padding: 28px 18px;
  }

  .vt-ctThanks__acoes .vt-btn {
    width: 100%;
    white-space: normal;
  }
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 900px) {
  .vt-ctForm__inner {
    grid-template-columns: 1fr;
  }

  .vt-ctForm__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .vt-ctSide {
    position: static;
  }
}

@media (max-width: 640px) {
  .vt-ctHero {
    padding: 52px 16px 44px;
  }

  .vt-ctHero__title {
    font-size: 26px;
  }

  .vt-ctForm {
    padding: 16px 16px 120px;
  }

  .vt-ctForm__panel {
    padding: 24px 16px;
  }

  .vt-ctForm__enviar {
    width: 100%;
    max-width: calc(100% - 64px);
    white-space: normal;
  }

  .vt-ctSide {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   MODAL — CONTATO RÁPIDO
   ========================================================================== */

.vt-contactModal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;

  visibility: hidden;
  opacity: 0;

  transition:
    opacity 180ms ease,
    visibility 180ms ease;

  pointer-events: none;
}

.vt-contactModal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* ---------- Overlay ---------- */

.vt-contactModal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(15, 12, 25, 0.58);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  cursor: pointer;
}

/* ---------- Caixa ---------- */

.vt-contactModal__dialog {
  position: relative;
  z-index: 2;

  width: min(100%, 500px);
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  padding: 30px;

  background: var(--vt-white, #fff);
  border: 2px solid var(--vt-ink, #17151f);
  border-radius: 24px;

  box-shadow:
    0 24px 70px rgba(20, 15, 40, 0.22),
    8px 8px 0 rgba(124, 58, 237, 0.18);

  transform: translateY(18px) scale(0.97);

  transition: transform 180ms ease;
}

.vt-contactModal.is-open .vt-contactModal__dialog {
  transform: translateY(0) scale(1);
}

/* ---------- Fechar ---------- */

.vt-contactModal__close {
  position: absolute;
  top: 16px;
  right: 16px;

  width: 36px;
  height: 36px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--vt-gray-300, #ddd);
  border-radius: 10px;

  background: var(--vt-gray-100, #f7f7f9);
  color: var(--vt-ink, #17151f);

  font-size: 20px;

  cursor: pointer;

  transition:
    background 140ms ease,
    color 140ms ease,
    transform 140ms ease;
}

.vt-contactModal__close:hover {
  background: var(--vt-purple-500, #7c3aed);
  color: var(--vt-white, #fff);
  transform: rotate(4deg);
}

/* ---------- Cabeçalho ---------- */

.vt-contactModal__header {
  display: flex;
  align-items: flex-start;
  gap: 14px;

  padding-right: 42px;
  margin-bottom: 24px;
}

.vt-contactModal__icon {
  flex-shrink: 0;

  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 13px;

  background: var(--vt-purple-500, #7c3aed);
  color: var(--vt-white, #fff);

  font-size: 20px;

  box-shadow: 4px 4px 0 rgba(124, 58, 237, 0.15);
}

.vt-contactModal__eyebrow {
  display: block;

  margin-bottom: 5px;

  font-family: var(--vt-font-display, sans-serif);
  font-size: 10px;
  font-weight: 700;

  letter-spacing: 0.08em;

  color: var(--vt-purple-500, #7c3aed);
}

.vt-contactModal__header h2 {
  margin: 0 0 5px;

  font-family: var(--vt-font, sans-serif);
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;

  color: var(--vt-ink, #17151f);
}

.vt-contactModal__header p {
  margin: 0;

  font-family: var(--vt-font, sans-serif);
  font-size: 13px;
  line-height: 1.5;

  color: var(--vt-gray-600, #686674);
}

/* ---------- Form ---------- */

.vt-contactModal__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.vt-contactModal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.vt-contactModal__field label {
  font-family: var(--vt-font-display, sans-serif);
  font-size: 12px;
  font-weight: 700;

  color: var(--vt-ink, #17151f);
}

.vt-contactModal__field label span {
  font-family: var(--vt-font, sans-serif);
  font-size: 11px;
  font-weight: 400;

  color: var(--vt-gray-600, #686674);
}

.vt-contactModal__field input,
.vt-contactModal__field textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;

  padding: 11px 13px;

  border: 1.5px solid var(--vt-gray-300, #ddd);
  border-radius: 11px;

  background: var(--vt-gray-100, #f7f7f9);
  color: var(--vt-ink, #17151f);

  font-family: var(--vt-font, sans-serif);
  font-size: 16px;

  outline: none;

  transition:
    border-color 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.vt-contactModal__field input {
  min-height: 44px;
  height: auto;
}

.vt-contactModal__field textarea {
  min-height: 95px;
  resize: vertical;
  line-height: 1.5;
}

.vt-contactModal__field input::placeholder,
.vt-contactModal__field textarea::placeholder {
  color: var(--vt-gray-600, #686674);
  opacity: 0.65;
}

.vt-contactModal__field input:focus,
.vt-contactModal__field textarea:focus {
  background: var(--vt-white, #fff);
  border-color: var(--vt-purple-500, #7c3aed);

  box-shadow:
    0 0 0 3px rgba(124, 58, 237, 0.12);
}

/* ---------- Botão ---------- */

.vt-contactModal__submit {
  width: 100%;
  min-height: 46px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  margin-top: 4px;
  padding: 12px 18px;

  border: 1.5px solid var(--vt-purple-500, #7c3aed);
  border-radius: 12px;

  background: var(--vt-purple-500, #7c3aed);
  color: var(--vt-white, #fff);

  font-family: var(--vt-font-display, sans-serif);
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 140ms ease,
    background 140ms ease,
    box-shadow 140ms ease;
}

.vt-contactModal__submit:hover {
  background: var(--vt-purple-600, #6d28d9);

  transform: translateY(-2px);

  box-shadow:
    0 7px 18px rgba(124, 58, 237, 0.22);
}

.vt-contactModal__submit i {
  font-size: 17px;
}

/* ---------- Privacidade ---------- */

.vt-contactModal__privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;

  margin: 14px 0 0;

  font-family: var(--vt-font, sans-serif);
  font-size: 10.5px;

  color: var(--vt-gray-600, #686674);
}

.vt-contactModal__privacy i {
  color: var(--vt-purple-500, #7c3aed);
  font-size: 14px;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

@media (max-width: 560px) {

  .vt-contactModal {
    padding: 12px;
  }

  .vt-contactModal__dialog {
    padding: 24px 20px;
    border-radius: 20px;
    max-height: calc(100vh - 24px);
  }

  .vt-contactModal__header {
    margin-bottom: 20px;
  }

  .vt-contactModal__icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .vt-contactModal__header h2 {
    font-size: 20px;
  }

  .vt-contactModal__header p {
    font-size: 12px;
  }

  .vt-contactModal__close {
    top: 12px;
    right: 12px;
  }
}

/* Evita scroll da página enquanto o modal estiver aberto */

body.vt-contactModal-open {
  overflow: hidden;
}