:root {
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-soft: #fafafe;
  --text: #171717;
  --muted: #5b5f6a;
  --border: #e8e8ef;
  --primary: #5c0cfc;
  --primary-dark: #3d089f;
  --success: #0f9d58;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(23, 23, 23, 0.08);
  --shadow-soft: 0 12px 28px rgba(23, 23, 23, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

body.chat-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(92, 12, 252, 0.14), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(20, 184, 166, 0.14), transparent 30%),
    linear-gradient(135deg, #f8faff 0%, #f2efff 100%);
}

body.typeform-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    linear-gradient(90deg, rgba(29, 119, 209, 0.96) 0%, rgba(29, 119, 209, 0.96) 54%, rgba(29, 119, 209, 0.18) 100%),
    url("../../../assets/planos/amil-s450.jpg"),
    url("../../../assets/abrangencia.webp");
  background-size: cover, cover, cover;
  background-position: center, right center, right center;
  background-repeat: no-repeat;
}

.typeform-page::before {
  content: "";
  position: fixed;
  inset: -12vh -10vw auto auto;
  width: 55vw;
  height: 125vh;
  border-radius: 45% 0 0 55%;
  background: linear-gradient(145deg, rgba(9, 42, 74, 0.78), rgba(8, 51, 91, 0.44));
  pointer-events: none;
}

.typeform-page::after {
  content: "";
  position: fixed;
  right: -8vw;
  bottom: -14vh;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../../../assets/planos/amil-s450.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.typeform-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.typeform-intro,
.typeform-flow {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 7vh 8vw;
}

.typeform-content,
.typeform-flow form {
  width: min(760px, 100%);
  margin-left: min(24vw, 420px);
}

.typeform-logo,
.typeform-form-logo {
  width: 172px;
  min-height: 62px;
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 14px 30px;
  box-shadow: 0 14px 32px rgba(8, 51, 91, 0.18);
}

.typeform-logo {
  margin: 0 auto 24px;
}

.typeform-form-logo {
  margin: 0 auto 30px;
}

.typeform-logo img,
.typeform-form-logo img {
  width: 110px;
  height: auto;
}

.typeform-intro h1 {
  max-width: 720px;
  margin: 0;
  color: #05070b;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  text-align: center;
  text-transform: uppercase;
}

.typeform-intro p {
  max-width: 620px;
  margin: 16px auto 0;
  color: #101828;
  text-align: center;
  font-size: 1.08rem;
  line-height: 1.55;
}

.typeform-start,
.typeform-ok,
.typeform-back {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: #fff;
  color: #4594ff;
  font-weight: 800;
  cursor: pointer;
}

.typeform-start {
  display: flex;
  margin: 34px auto 0;
  padding: 0 24px;
  align-items: center;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.typeform-flow.is-hidden,
.typeform-intro.is-hidden {
  display: none;
}

.typeform-flow form {
  position: relative;
}

.typeform-flow .form-step {
  animation: typeformFade 0.25s ease;
}

.typeform-question {
  margin-bottom: 36px;
}

.typeform-question h2 {
  display: inline;
  margin: 0;
  color: #05070b;
  font-size: clamp(1.55rem, 2.2vw, 2.25rem);
  line-height: 1.14;
  text-transform: uppercase;
  font-weight: 500;
}

.typeform-question p {
  margin: 10px 0 0 36px;
  color: #111827;
  font-size: 1.02rem;
}

.question-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  border-radius: 4px;
  background: #fff;
  color: #4594ff;
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: 0.26em;
}

.typeform-options {
  display: grid;
  gap: 8px;
  width: min(360px, 100%);
  margin-left: 36px;
}

.typeform-options-long {
  width: min(430px, 100%);
}

.typeform-option {
  cursor: pointer;
}

.typeform-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.typeform-option span {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.typeform-option kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  margin-right: 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.typeform-option input:checked + span {
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.42);
}

.typeform-option input:checked + span::after {
  content: "✓";
  margin-left: auto;
  color: #69e5a5;
  font-weight: 900;
}

.typeform-input {
  display: block;
  width: min(720px, calc(100vw - 32px));
  margin-left: 36px;
  border: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  outline: none;
  padding: 12px 0;
}

.typeform-input::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.typeform-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 30px 0 0 36px;
}

.typeform-ok {
  padding: 0 17px;
  font-size: 1rem;
}

.typeform-back {
  min-height: 38px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.typeform-back:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.typeform-flow .form-feedback {
  margin: 20px 0 0 36px;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.16);
}

.typeform-flow .security-note {
  margin-left: 36px;
  color: rgba(255, 255, 255, 0.78);
}

@media (max-width: 980px) {
  body.typeform-page {
    min-height: 100svh;
    background:
      linear-gradient(180deg, rgba(29, 119, 209, 0.98) 0%, rgba(22, 108, 198, 0.94) 100%),
      url("../../../assets/planos/amil-s450.jpg");
    background-size: cover, cover;
    background-position: center, center;
  }

  .typeform-page::before {
    inset: auto -42vw -18vh auto;
    width: 86vw;
    height: 78vh;
    border-radius: 50%;
    opacity: 0.72;
  }

  .typeform-page::after {
    right: -28vw;
    bottom: -12vh;
    width: 72vw;
    opacity: 0.2;
  }

  .typeform-intro,
  .typeform-flow {
    min-height: 100svh;
    padding: 36px 22px;
  }

  .typeform-content,
  .typeform-flow form {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }

  .typeform-intro h1 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .typeform-intro p {
    font-size: 1rem;
  }

  .typeform-question {
    margin-bottom: 28px;
  }

  .typeform-question h2 {
    display: block;
    font-size: clamp(1.45rem, 6.3vw, 2.05rem);
    line-height: 1.12;
  }

  .typeform-question p,
  .typeform-options,
  .typeform-input,
  .typeform-actions,
  .typeform-flow .form-feedback,
  .typeform-flow .security-note {
    margin-left: 0;
  }

  .typeform-question p {
    font-size: 0.98rem;
  }

  .typeform-options,
  .typeform-options-long {
    width: 100%;
  }

  .typeform-option span {
    min-height: 52px;
    padding: 10px 12px;
    font-size: 0.98rem;
    line-height: 1.25;
  }

  .typeform-input {
    width: 100%;
    font-size: clamp(1.45rem, 7vw, 2.1rem);
  }

  .typeform-actions {
    flex-wrap: wrap;
    margin-top: 26px;
  }
}

@media (max-width: 560px) {
  body.typeform-page {
    background:
      linear-gradient(180deg, rgba(29, 119, 209, 0.98) 0%, rgba(17, 98, 188, 0.96) 100%),
      url("../../../assets/abrangencia.webp");
    background-size: cover, cover;
    background-position: center, center;
  }

  .typeform-page::before {
    inset: auto -58vw -14vh auto;
    width: 110vw;
    height: 62vh;
    opacity: 0.45;
  }

  .typeform-page::after {
    display: none;
  }

  .typeform-intro,
  .typeform-flow {
    align-items: start;
    padding: 56px 18px 28px;
  }

  .typeform-content {
    align-self: center;
  }

  .typeform-intro h1 {
    font-size: clamp(1.72rem, 9vw, 2.35rem);
  }

  .typeform-start {
    width: 100%;
    justify-content: center;
  }

  .typeform-question h2 {
    font-size: clamp(1.36rem, 7.2vw, 1.82rem);
  }

  .question-number {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }

  .typeform-options {
    gap: 10px;
  }

  .typeform-option span {
    min-height: 54px;
    font-size: 0.92rem;
  }

  .typeform-option kbd {
    min-width: 24px;
    height: 24px;
    margin-right: 10px;
    font-size: 0.72rem;
  }

  .typeform-input {
    font-size: clamp(1.35rem, 8vw, 1.85rem);
  }

  .typeform-ok,
  .typeform-back {
    min-height: 44px;
  }
}

@keyframes typeformFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100vw - 32px));
  margin: 0 auto;
}

.chat-app {
  width: min(1180px, calc(100vw - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 32px 0;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
}

.chat-hero-panel,
.chat-window {
  border: 1px solid rgba(92, 12, 252, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 24px 70px rgba(28, 22, 58, 0.12);
  backdrop-filter: blur(14px);
}

.chat-hero-panel {
  padding: 30px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(92, 12, 252, 0.22);
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup span {
  color: var(--muted);
  font-size: 0.88rem;
}

.chat-hero-copy {
  margin-top: 52px;
}

.chat-hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.chat-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.chat-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.chat-proof-grid article {
  padding: 14px;
  border: 1px solid rgba(92, 12, 252, 0.1);
  border-radius: 16px;
  background: #fff;
}

.chat-proof-grid strong,
.chat-proof-grid span {
  display: block;
}

.chat-proof-grid strong {
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.chat-proof-grid span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.78rem;
}

.chat-trust-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.chat-trust-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}

.chat-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(92, 12, 252, 0.09);
}

.chat-window {
  overflow: hidden;
}

.chat-progress {
  padding: 18px 24px 0;
  background: #fff;
}

.chat-form {
  min-height: 520px;
  padding: 24px;
  background:
    linear-gradient(rgba(92, 12, 252, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 12, 252, 0.035) 1px, transparent 1px),
    #f8f9ff;
  background-size: 34px 34px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(92, 12, 252, 0.08);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(circle at top right, rgba(92, 12, 252, 0.14), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.88fr);
  gap: 48px;
  align-items: center;
}

.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: grid;
  gap: 14px;
  justify-items: start;
}

.trust-note {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  min-height: 460px;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 18px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge strong {
  margin-bottom: 6px;
  color: var(--primary-dark);
  font-size: 0.9rem;
}

.hero-badge span {
  color: var(--text);
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

[hidden] {
  display: none !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 16px 32px rgba(92, 12, 252, 0.24);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: white;
  color: var(--text);
  border: 1px solid var(--border);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 16px 0 10px;
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.benefits {
  position: relative;
  padding: 44px 0 32px;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 22px 0 auto;
  height: 260px;
  background:
    linear-gradient(90deg, transparent, rgba(20, 184, 166, 0.12), transparent),
    linear-gradient(rgba(92, 12, 252, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 12, 252, 0.06) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  pointer-events: none;
  opacity: 0.8;
}

.benefits-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.benefit-card {
  position: relative;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  border: 1px solid rgba(92, 12, 252, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.92)),
    radial-gradient(circle at top right, rgba(92, 12, 252, 0.16), transparent 42%);
  box-shadow: 0 18px 42px rgba(23, 23, 23, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.benefit-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, #5c0cfc, #14b8a6);
}

.benefit-card::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(92, 12, 252, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 66%);
}

.benefit-card:nth-child(2)::before {
  background: linear-gradient(90deg, #14b8a6, #22c55e);
}

.benefit-card:nth-child(3)::before {
  background: linear-gradient(90deg, #5c0cfc, #ec4899);
}

.benefit-card:nth-child(4)::before {
  background: linear-gradient(90deg, #2563eb, #14b8a6);
}

.benefit-card:nth-child(5)::before {
  background: linear-gradient(90deg, #7c3aed, #f97316);
}

.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(92, 12, 252, 0.34);
  box-shadow: 0 24px 54px rgba(92, 12, 252, 0.13);
}

.benefit-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(92, 12, 252, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(92, 12, 252, 0.08);
}

.benefit-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: 1rem;
  line-height: 1.25;
}

.benefit-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-section {
  padding: 40px 0 72px;
}

.form-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.42fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.form-sidebar,
.form-card {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.form-sidebar {
  position: sticky;
  top: 24px;
  padding: 28px;
}

.form-sidebar h2 {
  margin: 16px 0 12px;
  font-size: 2rem;
  line-height: 1.05;
}

.form-sidebar p {
  margin: 0;
  color: var(--muted);
}

.progress-card {
  margin-top: 24px;
  padding: 18px;
  border-radius: 16px;
  background: var(--surface-soft);
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: var(--muted);
}

.progress-meta strong {
  color: var(--text);
}

.progress-track {
  height: 10px;
  border-radius: 999px;
  background: #eceaf7;
  overflow: hidden;
}

.progress-fill {
  width: 20%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5c0cfc, #8351ff);
  transition: width 0.25s ease;
}

.sidebar-points {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.sidebar-points li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.sidebar-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.form-card {
  padding: 32px;
}

.form-step {
  display: none;
}

.form-step.is-active {
  display: block;
}

.form-step h3 {
  margin: 0 0 18px;
  font-size: 1.55rem;
  line-height: 1.15;
}

.field-label {
  display: block;
  margin: 22px 0 10px;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.choice-grid.two-cols {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice-pill {
  position: relative;
}

.choice-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  font-weight: 600;
  text-align: center;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.choice-pill input:checked + span {
  border-color: rgba(92, 12, 252, 0.4);
  background: rgba(92, 12, 252, 0.08);
  box-shadow: inset 0 0 0 1px rgba(92, 12, 252, 0.12);
}

.text-input,
.text-area {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 15px 16px;
  background: #fff;
  color: var(--text);
}

.text-input:focus,
.text-area:focus {
  outline: none;
  border-color: rgba(92, 12, 252, 0.48);
  box-shadow: 0 0 0 4px rgba(92, 12, 252, 0.08);
}

.text-area {
  resize: vertical;
}

.security-note {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-feedback {
  min-height: 24px;
  margin-top: 18px;
  color: #b42318;
  font-weight: 600;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.btn.is-loading {
  opacity: 0.8;
  pointer-events: none;
}

.chatbot-sidebar {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbf9ff 100%),
    radial-gradient(circle at top right, rgba(92, 12, 252, 0.1), transparent 36%);
}

.chatbot-card {
  padding: 0;
  overflow: hidden;
  background: #f8f9ff;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border);
  background: #fff;
}

.chat-agent {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-agent strong,
.chat-agent span {
  display: block;
}

.chat-agent strong {
  line-height: 1.2;
}

.chat-agent span {
  color: var(--success);
  font-size: 0.82rem;
  font-weight: 700;
}

.chat-avatar,
.bot-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
}

.chat-avatar {
  width: 42px;
  height: 42px;
  box-shadow: 0 10px 22px rgba(92, 12, 252, 0.2);
}

.bot-avatar {
  width: 34px;
  height: 34px;
  margin-top: 4px;
  font-size: 0.76rem;
}

.chat-status {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 157, 88, 0.1);
  color: var(--success);
  font-size: 0.78rem;
  font-weight: 800;
}

.chatbot-card form {
  padding: 26px;
}

.bot-message {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
}

.bot-message.compact {
  margin-top: 22px;
  margin-bottom: 12px;
}

.chat-bubble {
  max-width: 680px;
  padding: 16px 18px;
  border: 1px solid rgba(92, 12, 252, 0.1);
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(23, 23, 23, 0.06);
}

.chat-bubble h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.chat-bubble p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.chatbot-card .field-label {
  margin-top: 0;
  color: #686476;
  font-size: 0.82rem;
}

.chatbot-card .choice-grid {
  gap: 10px;
}

.chatbot-card .choice-pill span {
  min-height: 48px;
  border-color: rgba(92, 12, 252, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--primary-dark);
  font-weight: 800;
}

.chatbot-card .choice-pill input:checked + span {
  border-color: transparent;
  background: var(--primary);
  color: #fff;
  box-shadow: 0 12px 24px rgba(92, 12, 252, 0.2);
}

.chatbot-card .text-input,
.chatbot-card .text-area {
  border-color: rgba(92, 12, 252, 0.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 23, 23, 0.04);
}

.chatbot-card .form-feedback {
  margin-top: 14px;
  min-height: 22px;
  text-align: center;
}

.chatbot-card .form-actions {
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid rgba(92, 12, 252, 0.08);
}

.thank-you-body {
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(29, 119, 209, 0.96) 0%, rgba(29, 119, 209, 0.96) 54%, rgba(29, 119, 209, 0.2) 100%),
    url("../../../assets/planos/amil-s450.jpg"),
    url("../../../assets/abrangencia.webp");
  background-size: cover, cover, cover;
  background-position: center, right center, right center;
  background-repeat: no-repeat;
}

.thank-you-body::before {
  content: "";
  position: fixed;
  inset: -12vh -10vw auto auto;
  width: 55vw;
  height: 125vh;
  border-radius: 45% 0 0 55%;
  background: linear-gradient(145deg, rgba(9, 42, 74, 0.78), rgba(8, 51, 91, 0.44));
  pointer-events: none;
}

.thank-you-body::after {
  content: "";
  position: fixed;
  right: -8vw;
  bottom: -14vh;
  width: 38vw;
  aspect-ratio: 1;
  border-radius: 50%;
  background: url("../../../assets/planos/amil-s450.jpg") center / cover no-repeat;
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.thank-you-page {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: calc(100vh - 48px);
}

.thank-you-card {
  width: min(880px, 100%);
  padding: 44px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(8, 42, 84, 0.18);
  text-align: center;
  backdrop-filter: blur(16px);
}

.thank-you-confirmation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0f9d58;
  font-weight: 800;
}

.thank-you-card .eyebrow {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.thank-you-card h1 {
  margin: 16px 0 12px;
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  text-shadow: 0 16px 36px rgba(2, 20, 40, 0.18);
}

.thank-you-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.thank-you-lead {
  max-width: 660px;
  margin: 0 auto;
}

.thank-you-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.thank-you-actions .btn-primary {
  background: #fff;
  color: #1671c8;
  box-shadow: 0 18px 34px rgba(2, 20, 40, 0.16);
}

.thank-you-actions .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

.thank-you-actions .btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.next-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
  text-align: left;
}

.next-steps article {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.next-steps strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #fff;
  color: #1671c8;
  font-size: 0.9rem;
}

.next-steps span {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 800;
}

.next-steps p {
  font-size: 0.92rem;
  line-height: 1.55;
}

.thank-you-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.thank-you-footer p {
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .thank-you-body {
    min-height: 100svh;
    background:
      linear-gradient(180deg, rgba(29, 119, 209, 0.98) 0%, rgba(22, 108, 198, 0.94) 100%),
      url("../../../assets/planos/amil-s450.jpg");
    background-size: cover, cover;
    background-position: center, center;
  }

  .thank-you-body::before {
    inset: auto -42vw -18vh auto;
    width: 86vw;
    height: 78vh;
    border-radius: 50%;
    opacity: 0.72;
  }

  .thank-you-body::after {
    right: -28vw;
    bottom: -12vh;
    width: 72vw;
    opacity: 0.2;
  }

  .thank-you-card {
    padding: 36px 24px;
  }
}

@media (max-width: 560px) {
  .thank-you-body {
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(29, 119, 209, 0.98) 0%, rgba(17, 98, 188, 0.96) 100%),
      url("../../../assets/abrangencia.webp");
    background-size: cover, cover;
    background-position: center, center;
  }

  .thank-you-body::before {
    inset: auto -58vw -14vh auto;
    width: 110vw;
    height: 62vh;
    opacity: 0.45;
  }

  .thank-you-body::after {
    display: none;
  }

  .thank-you-card {
    border-radius: 20px;
  }

  .thank-you-card h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
}

@media (max-width: 1100px) {
  .chat-app {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .chat-hero-panel {
    padding: 24px;
  }

  .chat-hero-copy {
    margin-top: 28px;
  }

  .hero-grid,
  .form-shell {
    grid-template-columns: 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .chat-app {
    width: min(100% - 20px, 1180px);
    padding: 10px 0;
    gap: 12px;
  }

  .chat-hero-panel,
  .chat-window {
    border-radius: 20px;
  }

  .chat-hero-panel {
    padding: 20px;
  }

  .chat-hero-copy h1 {
    font-size: 2.1rem;
  }

  .chat-proof-grid {
    grid-template-columns: 1fr;
  }

  .chat-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .chat-form {
    min-height: auto;
    padding: 18px;
  }

  .chat-bubble {
    padding: 14px;
  }

  .hero {
    padding-top: 56px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 300px;
  }

  .benefits-grid,
  .choice-grid,
  .choice-grid.two-cols {
    grid-template-columns: 1fr;
  }

  .form-card,
  .form-sidebar,
  .thank-you-card {
    padding: 24px;
    border-radius: 18px;
  }

  .thank-you-body {
    padding: 16px;
  }

  .thank-you-page {
    min-height: calc(100vh - 32px);
  }

  .thank-you-confirmation,
  .thank-you-actions {
    flex-direction: column;
  }

  .thank-you-actions .btn {
    width: 100%;
  }

  .next-steps {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }
}
