/* =========================================================
   Experimente Projuris ADV v2 — Split full-viewport
   Inspirado em elevenlabs.io/contact-sales
   ========================================================= */

:root {
  --adv-green: #11c23d;
  --adv-green-600: #0ea835;
  --adv-green-700: #0c8f2d;
  --adv-green-50: #e8fbee;

  --dark-bg: #0a0a0a;
  --dark-bg-2: #111213;
  --dark-text: #ffffff;
  --dark-muted: #a8adaf;
  --dark-border: rgba(255,255,255,0.10);

  --light-bg: #f5f5f5;
  --light-bg-2: #ffffff;
  --ink-900: #0a0a0a;
  --ink-700: #2a2d2f;
  --ink-500: #5c6063;
  --ink-400: #8a8f92;
  --ink-300: #b8bcbf;
  --ink-200: #dfe1e3;
  --ink-100: #ececec;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-pill: 999px;
}

/* ------------------------------------------------------ */
html, body { margin: 0; padding: 0; }

body.experimente-v2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
               'Helvetica Neue', Arial, sans-serif;
  color: var(--ink-900);
  background: #0a0a0a url('../abds.png') no-repeat center center fixed;
  background-size: cover;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
}

.experimente-v2 *,
.experimente-v2 *::before,
.experimente-v2 *::after { box-sizing: border-box; }

.experimente-v2 a { color: inherit; text-decoration: none; }

/* =========================================================
   SPLIT LAYOUT — full viewport
   ========================================================= */
.exp-split {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: 100vh;
  width: 100%;
  align-items: stretch;
}
.exp-left, .exp-right { min-height: 100vh; }

/* ----- LEFT (dark overlay sobre imagem do sistema) ----- */
.exp-left {
  background:
    linear-gradient(135deg, rgba(10,10,10,0.92) 0%, rgba(10,20,14,0.88) 60%, rgba(6,36,15,0.86) 100%);
  color: var(--dark-text);
  padding: 64px 44px 36px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  min-width: 0;
}
.exp-left::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 320px at 10% 0%, rgba(17,194,61,0.18), transparent 65%),
    radial-gradient(700px 380px at 90% 100%, rgba(17,194,61,0.10), transparent 70%);
  pointer-events: none;
}
.exp-left > * { position: relative; z-index: 1; }

.exp-right__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 40px;
}
.exp-right__logo img { height: 42px; display: block; }

.exp-left__content {
  max-width: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin: auto 0;
}

.exp-left__title {
  font-size: clamp(28px, 2.3vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 22px;
  color: #fff;
}
.exp-left__title em {
  font-style: normal;
  color: var(--adv-green);
}

.exp-left__list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  display: grid;
  gap: 12px;
}
.exp-left__list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: #e8eaeb;
  font-size: 14.5px;
  line-height: 1.55;
}
.exp-left__list svg {
  flex: 0 0 20px;
  width: 20px; height: 20px;
  color: var(--adv-green);
  margin-top: 3px;
}

.exp-left__trust {
  padding-top: 32px;
  max-width: 520px;
}
.exp-left__trust-label {
  font-size: 13.5px;
  color: var(--dark-muted);
  margin-bottom: 14px;
  letter-spacing: 0.01em;
}
.exp-left__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 22px 32px;
  align-items: center;
  opacity: 0.9;
}
.exp-left__logos span {
  font-weight: 600;
  color: #cfd3d5;
  font-size: 15px;
  letter-spacing: 0.01em;
}

.exp-left__reviews {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark-muted);
}
.exp-left__stars {
  color: #ffffff;
  letter-spacing: 2px;
  font-size: 15px;
}
.exp-left__stars .star-empty { color: #3a3d3f; }

/* ----- RIGHT (light) ----- */
.exp-right {
  background: var(--light-bg);
  color: var(--ink-900);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.exp-right > * { position: relative; z-index: 1; }

.exp-right__inner {
  width: 100%;
  max-width: 460px;
  margin: auto;
}

.exp-right__title {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink-900);
  line-height: 1.2;
}
.exp-right__sub {
  font-size: 14.5px;
  color: var(--ink-500);
  margin: 0 0 28px;
}

/* ----- Alerts ----- */
.experimente-v2 .alert {
  display: none;
  background: #fff4f4;
  border: 1px solid #fecaca;
  color: #991b1b;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  font-size: 13.5px;
}
.experimente-v2 .alert[style*="display: block"],
.experimente-v2 .alert[style*="display:block"] { display: block !important; }
.experimente-v2 .alert .close {
  float: right;
  color: #991b1b;
  font-weight: 700;
  text-decoration: none;
  opacity: 0.7;
}
.experimente-v2 .alert ul { margin: 0; padding-left: 18px; }

/* ----- FORM ----- */
.experimente-v2 .form-canvas { max-width: none; margin: 0; }
.experimente-v2 .form-offset { padding: 0 !important; position: relative; }

.experimente-v2 .form-page { display: none; }
.experimente-v2 .form-page.active { display: block; }

.experimente-v2 .form-group { margin-bottom: 18px; }
.experimente-v2 .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--adv-green-700);
  margin: 0 0 6px 0;
  letter-spacing: 0.005em;
}
.experimente-v2 .form-group label strong { font-weight: 600; }

.experimente-v2 .form-control {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  font-size: 14.5px;
  font-family: inherit;
  color: var(--ink-900);
  background: #ffffff;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
}
.experimente-v2 .form-control::placeholder { color: var(--ink-300); }
.experimente-v2 .form-control:focus {
  outline: none;
  border-color: var(--adv-green);
  box-shadow: 0 0 0 3px rgba(17,194,61,0.15);
}
.experimente-v2 .form-control.is-invalid,
.experimente-v2 .form-control.invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220,38,38,0.12);
}

.experimente-v2 select.form-control {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%235c6063' stroke-width='2'><polyline points='4 6 8 10 12 6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

/* ----- Pagination ----- */
.experimente-v2 .pagination-dots {
  display: flex;
  gap: 8px;
  margin: 28px 0 0;
  align-items: center;
}
.experimente-v2 .pagination-dot {
  flex: 1;
  height: 3px;
  border-radius: 2px;
  background: var(--ink-200);
  position: relative;
  font-size: 0;
  color: transparent;
  transition: background 0.2s ease;
}
.experimente-v2 .pagination-dot span,
.experimente-v2 .pagination-dot .checkmark { display: none; }

.experimente-v2 .pagination-dot.checked,
.experimente-v2 .pagination-dot.active {
  background: var(--ink-900);
}

.experimente-v2 .linhastj,
.experimente-v2 .linhastj2 { display: none; }

/* ----- Buttons ----- */
.experimente-v2 .botoes-form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  width: 100%;
  align-items: center;
}
.experimente-v2 .botaofinal { display: inline-flex; }

.experimente-v2 .btn {
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.1s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  width: auto;
}
.experimente-v2 .btn:disabled { opacity: 0.5; cursor: not-allowed; }

.experimente-v2 .next-btn,
.experimente-v2 #btSubmitExperimente {
  background: var(--ink-900);
  color: #fff;
  border-color: var(--ink-900);
  padding: 12px 28px;
}
.experimente-v2 .next-btn:hover,
.experimente-v2 #btSubmitExperimente:hover {
  background: var(--adv-green-700);
  border-color: var(--adv-green-700);
}

.experimente-v2 #btSubmitExperimente {
  background: var(--adv-green);
  border-color: var(--adv-green);
  color: #06240f;
}
.experimente-v2 #btSubmitExperimente:hover {
  background: var(--adv-green-600);
  border-color: var(--adv-green-600);
  color: #fff;
}

.experimente-v2 .prev-btn {
  background: transparent;
  color: var(--ink-500);
  border: 1px solid var(--ink-200);
  float: none !important;
  width: auto;
}
.experimente-v2 .prev-btn:hover {
  background: #fff;
  color: var(--ink-900);
  border-color: var(--ink-300);
}

.experimente-v2 #btSubmitExperimente { display: none; }

/* ----- Errors ----- */
.experimente-v2 #errors {
  background: #fff1f1;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin: 16px 0 0;
  font-size: 13px;
}
.experimente-v2 #errors ul { margin: 6px 0 0 18px; padding: 0; }

/* ----- Avisos ----- */
.experimente-v2 .avisos { margin-top: 14px; }
.experimente-v2 .aviso-criacao {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-400);
  margin: 16px 0 0;
  text-align: left;
  padding: 0;
}
.experimente-v2 .aviso-criacao a { color: var(--adv-green-700); text-decoration: underline; }

.experimente-v2 .exp-right__foot {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-500);
}
.experimente-v2 .exp-right__foot a {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.experimente-v2 .exp-right__foot a:hover { color: var(--adv-green-700); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 1600px) {
  .exp-left__title   { font-size: clamp(36px, 2.3vw, 44px); }
  .exp-left__list li { font-size: 16px; }
  .exp-left__trust-label { font-size: 14px; }
  .exp-left__logos span  { font-size: 16px; }
  .exp-left__reviews     { font-size: 15px; }
  .exp-left__stars       { font-size: 16px; }
  .exp-right__title { font-size: 30px; }
  .exp-right__sub   { font-size: 15px; }
}

@media (max-height: 820px) {
  .exp-left  { padding-top: 48px; padding-bottom: 28px; }
  .exp-right { padding-top: 28px; padding-bottom: 28px; }
  .exp-left__list { margin-bottom: 24px; }
  .exp-left__trust { padding-top: 20px; }
  .exp-right__logo { margin-bottom: 24px; }
  .experimente-v2 .form-group { margin-bottom: 14px; }
}

@media (max-height: 680px) {
  .exp-left  { padding-top: 36px; padding-bottom: 20px; }
  .exp-right { padding-top: 24px; padding-bottom: 24px; }
  .exp-left__trust { padding-top: 16px; }
}

@media (max-width: 900px) {
  body.experimente-v2 {
    background-attachment: scroll;
  }
  /* No mobile, inverte a ordem: formulário (direita) vai para cima,
     value-prop (esquerda) vai para baixo. Também remove o min-height
     das colunas para o form aparecer acima da dobra. */
  .exp-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .exp-left, .exp-right { min-height: 0; }
  .exp-right { order: 1; padding: 36px 28px; }
  .exp-left  { order: 2; padding: 32px 28px 40px; }
  .exp-left__content { max-width: none; }
  .exp-left__trust { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--dark-border); }
  .exp-right__inner { max-width: none; margin: 0 auto; }
  .exp-right__logo { margin-bottom: 24px; }
  .exp-right__logo img { height: 36px; }
}

@media (max-width: 640px) {
  .exp-left  { padding: 28px 20px 32px; }
  .exp-right { padding: 28px 20px; }
  .exp-left__title { font-size: 26px; line-height: 1.2; }
  .exp-right__title { font-size: 22px; }
  .exp-left__list li { font-size: 15px; }
  .exp-left__logos { gap: 12px 22px; }
  .exp-left__logos span { font-size: 14px; }
  .experimente-v2 .botoes-form { flex-direction: column-reverse; align-items: stretch; }
  .experimente-v2 .prev-btn,
  .experimente-v2 .next-btn,
  .experimente-v2 #btSubmitExperimente { width: 100%; }
  .exp-right__logo img { height: 32px; }
}
