@font-face {
  font-family: "Sofia Sans";
  src: url("https://www.hightorque.com.br/wp-content/uploads/elementor/google-fonts/fonts/sofiasans-yq6r-lcvxsly9upbwlatrof6kg.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --brand-red: #fe0000;
  --red-accessible: #bd0000;
  --black: #111111;
  --dark: #131313;
  --ink: #272727;
  --text: #3d3d3d;
  --muted: #696969;
  --line: #d9d9d9;
  --line-dark: rgba(255, 255, 255, 0.14);
  --surface: #fafafa;
  --white: #ffffff;
  --success: #18734d;
  --error: #a61b1b;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
  --radius-small: 6px;
  --radius-medium: 10px;
  --radius-large: 16px;
  --focus: 0 0 0 3px rgba(254, 0, 0, 0.28);
  color-scheme: light;
  font-family: "Sofia Sans", "Segoe UI", Arial, sans-serif;
}

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

html {
  min-width: 320px;
  min-height: 100%;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 7% 12%, rgba(254, 0, 0, 0.12), transparent 28rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.025) 25%, transparent 25%) 0 0 / 22px 22px,
    var(--black);
  color: var(--white);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
}

button,
label,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow: hidden;
}

.page-shell::before {
  position: fixed;
  z-index: -1;
  top: -150px;
  right: -180px;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(254, 0, 0, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(254, 0, 0, 0.025),
    0 0 0 140px rgba(254, 0, 0, 0.018);
  content: "";
}

.site-header,
.site-footer,
.survey-layout {
  width: min(100% - 40px, 1240px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 104px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line-dark);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
}

.brand-link:focus-visible,
.site-footer a:focus-visible,
.privacy-note a:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 4px;
}

.brand-logo {
  display: block;
  width: 180px;
  height: auto;
  object-fit: contain;
}

.header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #e0e0e0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.time-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 9px;
  padding: 7px 13px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: none;
}

.time-badge span {
  color: var(--brand-red);
  font-size: 9px;
}

.survey-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.76fr) minmax(560px, 1.24fr);
  gap: clamp(36px, 6vw, 84px);
  align-items: start;
  padding-block: clamp(48px, 7vw, 88px) 52px;
}

.story-panel {
  position: sticky;
  top: 38px;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(8px, 2vw, 26px) 0 14px;
}

.story-content {
  position: relative;
}

.story-content::after {
  display: block;
  width: 86px;
  height: 3px;
  margin-top: 38px;
  background: var(--brand-red);
  content: "";
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #d8d8d8;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow > span {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--brand-red);
}

.eyebrow--dark {
  justify-content: center;
  margin-bottom: 10px;
  color: var(--red-accessible);
}

.story-panel h1 {
  max-width: 560px;
  margin: 0;
  color: var(--white);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 300;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.story-copy {
  max-width: 520px;
  margin: 28px 0 0;
  color: #cdcdcd;
  font-size: 17px;
  line-height: 1.65;
}

.trust-list {
  display: grid;
  gap: 0;
  margin-top: 44px;
  border-top: 1px solid var(--line-dark);
}

.trust-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  border-bottom: 1px solid var(--line-dark);
  color: #dddddd;
  font-size: 14px;
}

.trust-number {
  color: var(--brand-red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.story-signature {
  margin: 52px 0 0;
  color: #a7a7a7;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-large);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.form-card::before {
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: var(--brand-red);
  content: "";
}

#survey-content {
  padding: clamp(26px, 4.5vw, 50px);
}

.customer-context {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.customer-greeting {
  margin: 0;
  color: var(--black);
  font-size: 20px;
  font-weight: 750;
}

.visit-context {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.context-badge {
  flex: 0 0 auto;
  max-width: 190px;
  padding: 7px 11px;
  border: 1px solid #cecece;
  border-radius: 999px;
  color: #4d4d4d;
  font-size: 12px;
  font-weight: 650;
  text-align: center;
}

.progress-wrap {
  margin: 28px 0 34px;
}

.progress-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.progress-track span {
  display: block;
  width: 33.333%;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-red);
  transition: width 220ms ease;
}

.form-step {
  animation: step-in 220ms ease both;
}

.question-fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.question-fieldset + .question-fieldset,
.question-fieldset + .text-field {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.question-fieldset legend {
  display: block;
  width: 100%;
  margin: 0;
  color: var(--black);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.22;
}

.question-fieldset--compact legend {
  font-size: 19px;
  line-height: 1.35;
}

.question-help {
  margin: 10px 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-grid--single {
  grid-template-columns: 1fr;
}

.option-card,
.intent-card {
  position: relative;
  display: flex;
  min-height: 60px;
  align-items: center;
  gap: 13px;
  padding: 13px 14px;
  border: 1.5px solid #d0d0d0;
  border-radius: var(--radius-small);
  background: var(--white);
  color: #343434;
  cursor: pointer;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.35;
  transition:
    border-color 160ms ease,
    background-color 160ms ease,
    transform 160ms ease,
    box-shadow 160ms ease;
}

.option-card:hover,
.intent-card:hover {
  border-color: #9e9e9e;
  transform: translateY(-1px);
}

.option-card:has(input:checked),
.intent-card:has(input:checked),
.option-card.is-selected,
.intent-card.is-selected {
  border-color: var(--brand-red);
  background: #fff5f5;
  color: var(--black);
  box-shadow: inset 3px 0 0 var(--brand-red);
}

.option-card:has(input:focus-visible),
.intent-card:has(input:focus-visible),
.check-row:has(input:focus-visible) {
  outline: 3px solid rgba(189, 0, 0, 0.28);
  outline-offset: 2px;
}

.option-card input,
.intent-card input,
.check-row input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.radio-dot {
  display: inline-grid;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  place-items: center;
  border: 1.5px solid #8c8c8c;
  border-radius: 50%;
  background: var(--white);
}

.radio-dot::after {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-red);
  content: "";
  transform: scale(0);
  transition: transform 140ms ease;
}

.option-card:has(input:checked) .radio-dot::after,
.option-card.is-selected .radio-dot::after {
  transform: scale(1);
}

.option-card--compact {
  min-height: 52px;
}

.reveal-field,
.text-field {
  margin-top: 20px;
}

.reveal-field label,
.text-field label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
}

textarea {
  display: block;
  width: 100%;
  resize: vertical;
  border: 1.5px solid #c6c6c6;
  border-radius: var(--radius-small);
  background: var(--white);
  color: var(--ink);
  padding: 13px 15px;
  line-height: 1.5;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

textarea::placeholder {
  color: #858585;
}

textarea:focus {
  border-color: var(--red-accessible);
  box-shadow: var(--focus);
  outline: none;
}

textarea[aria-invalid="true"] {
  border-color: var(--error);
}

.field-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.field-label-row > span {
  color: var(--muted);
  font-size: 12px;
}

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
}

.intent-card {
  min-height: 86px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.intent-icon {
  color: var(--red-accessible);
  font-size: 25px;
  font-weight: 400;
  line-height: 1;
}

.permission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.check-row {
  position: relative;
  display: flex;
  min-height: 48px;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 12px;
  border-radius: var(--radius-small);
  color: #4d4d4d;
  cursor: pointer;
  font-size: 14px;
}

.check-box {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1.5px solid #8c8c8c;
  border-radius: 4px;
  background: var(--white);
}

.check-box::after {
  width: 10px;
  height: 6px;
  margin-top: -2px;
  border-bottom: 2px solid var(--white);
  border-left: 2px solid var(--white);
  content: "";
  transform: rotate(-45deg) scale(0);
}

.check-row:has(input:checked) .check-box {
  border-color: var(--red-accessible);
  background: var(--red-accessible);
}

.check-row:has(input:checked) .check-box::after {
  transform: rotate(-45deg) scale(1);
}

.option-card:has(input[type="checkbox"]:checked) .check-box,
.option-card.is-selected .check-box {
  border-color: var(--red-accessible);
  background: var(--red-accessible);
}

.option-card:has(input[type="checkbox"]:checked) .check-box::after,
.option-card.is-selected .check-box::after {
  transform: rotate(-45deg) scale(1);
}

.step-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
}

.step-actions--end {
  justify-content: flex-end;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.button span[aria-hidden="true"] {
  font-size: 22px;
  font-weight: 300;
  line-height: 0;
}

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

.button:focus-visible {
  outline: 3px solid rgba(189, 0, 0, 0.34);
  outline-offset: 3px;
}

.button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button--primary {
  border-color: var(--brand-red);
  background: var(--black);
  color: var(--white);
}

.button--primary:hover {
  border-color: var(--red-accessible);
  background: var(--red-accessible);
}

.button--secondary {
  border-color: var(--red-accessible);
  background: transparent;
  color: var(--black);
}

.button--secondary:hover {
  background: var(--black);
  color: var(--white);
}

.button--ghost {
  background: transparent;
  color: #4d4d4d;
}

.button--ghost:hover {
  background: #ededed;
  color: var(--black);
}

.button-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.button.is-loading .button-spinner {
  display: block;
}

.button.is-loading .button-label {
  opacity: 0.85;
}

.privacy-note {
  margin: 34px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #6a6a6a;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
}

.privacy-note a {
  color: #3f3f3f;
  font-weight: 700;
  text-underline-offset: 2px;
}

.form-alert {
  margin: -12px 0 24px;
  padding: 12px 14px;
  border-left: 4px solid var(--error);
  border-radius: 4px;
  background: #fff0f0;
  color: #781515;
  font-size: 14px;
  font-weight: 650;
}

.state-panel {
  display: flex;
  min-height: 620px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 52px clamp(26px, 7vw, 76px);
  color: var(--ink);
  text-align: center;
}

.state-panel h2 {
  max-width: 550px;
  margin: 0;
  color: var(--black);
  font-size: clamp(27px, 4vw, 38px);
  font-weight: 660;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.state-panel p:not(.eyebrow) {
  max-width: 510px;
  margin: 16px 0 26px;
  color: var(--muted);
}

.state-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-bottom: 24px;
  border: 2px solid var(--success);
  border-radius: 50%;
  color: var(--success);
  font-size: 30px;
  font-weight: 600;
}

.state-mark--error {
  border-color: var(--error);
  color: var(--error);
}

.loader {
  width: 42px;
  height: 42px;
  margin-bottom: 24px;
  border: 3px solid #dddddd;
  border-top-color: var(--brand-red);
  border-radius: 50%;
  animation: spin 820ms linear infinite;
}

.success-note {
  max-width: 520px;
  margin: -6px 0 28px;
  padding: 13px 16px;
  border-radius: var(--radius-small);
  background: #edf8f2;
  color: #165d40;
  font-size: 14px;
}

.site-footer {
  display: flex;
  min-height: 80px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-top: 1px solid var(--line-dark);
  color: #a8a8a8;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-footer a {
  color: #d2d2d2;
  text-underline-offset: 3px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.noscript-message {
  position: fixed;
  z-index: 999;
  inset: auto 20px 20px;
  max-width: 560px;
  margin: auto;
  padding: 15px 18px;
  border-radius: 6px;
  background: #fff0f0;
  color: #781515;
  font-weight: 700;
  text-align: center;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes step-in {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-header,
  .site-footer,
  .survey-layout {
    width: min(100% - 32px, 760px);
  }

  .survey-layout {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 42px;
  }

  .story-panel {
    position: static;
    min-height: auto;
    padding: 0;
  }

  .story-panel h1 {
    max-width: 680px;
    font-size: clamp(40px, 7vw, 58px);
  }

  .story-copy {
    max-width: 650px;
  }

  .trust-list,
  .story-signature {
    display: none;
  }

  .story-content::after {
    margin-top: 28px;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer,
  .survey-layout {
    width: min(100% - 24px, 620px);
  }

  .site-header {
    min-height: 84px;
  }

  .brand-logo {
    width: 146px;
  }

  .header-meta > span:first-child {
    display: none;
  }

  .time-badge {
    min-height: 30px;
    padding: 5px 10px;
    font-size: 11px;
  }

  .survey-layout {
    gap: 26px;
    padding-block: 32px 36px;
  }

  .story-panel h1 {
    font-size: clamp(35px, 11vw, 48px);
  }

  .story-copy {
    margin-top: 20px;
    font-size: 16px;
  }

  .form-card,
  .state-panel {
    min-height: 560px;
  }

  #survey-content {
    padding: 28px 20px;
  }

  .customer-context {
    display: block;
  }

  .context-badge {
    display: inline-block;
    max-width: 100%;
    margin-top: 12px;
  }

  .progress-wrap {
    margin: 24px 0 29px;
  }

  .question-fieldset legend {
    font-size: 23px;
  }

  .option-grid {
    grid-template-columns: 1fr;
  }

  .option-card {
    min-height: 56px;
    padding: 12px 13px;
  }

  .permission-grid {
    grid-template-columns: 1fr;
  }

  .step-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .step-actions--end {
    flex-direction: column;
  }

  .step-actions .button {
    width: 100%;
  }

  .button--ghost {
    min-height: 44px;
  }

  .state-panel {
    padding: 38px 22px;
  }

  .site-footer {
    min-height: 68px;
  }
}

@media (max-width: 390px) {
  .intent-grid {
    grid-template-columns: 1fr;
  }

  .intent-card {
    min-height: 58px;
    flex-direction: row;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .option-card,
  .intent-card,
  .button,
  .check-box,
  .radio-dot {
    border: 2px solid ButtonText;
  }
}
