:root {
  --bg: #f7f1e7;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --ink: #173f4d;
  --muted: #65757a;
  --teal: #1f5d6d;
  --teal-soft: #6fa1a4;
  --gold: #e4aa2f;
  --coral: #e78d67;
  --line: #ded8cd;
  --danger: #9d3d36;
  --shadow: 0 14px 35px rgba(31, 66, 73, 0.10);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 0 0, rgba(111, 161, 164, 0.19), transparent 26rem),
    radial-gradient(circle at 100% 10%, rgba(231, 141, 103, 0.16), transparent 20rem),
    var(--bg);
}

button,
input,
textarea {
  font: inherit;
}

button {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: 16px 14px 40px;
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 14px;
  padding: 10px 2px;
}

.brand-logo {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 20px rgba(31, 93, 109, 0.16);
}

.brand-copy {
  min-width: 0;
}

.brand-name,
.trust-line {
  margin: 0;
}

.brand-name {
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 750;
}

.brand-copy h1 {
  margin: 2px 0 3px;
  color: var(--ink);
  font-size: clamp(1.16rem, 4.5vw, 1.55rem);
  line-height: 1.12;
}

.trust-line {
  color: var(--muted);
  font-size: 0.82rem;
}

.progress-wrap {
  margin-bottom: 12px;
}

.progress-copy {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.progress-track {
  width: 100%;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(31, 93, 109, 0.10);
}

.progress-bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--teal-soft), var(--gold));
  transition: width 220ms ease;
}

.survey-card,
.status-panel {
  background: rgba(255, 253, 249, 0.97);
  border: 1px solid rgba(31, 93, 109, 0.10);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.survey-card {
  padding: 20px;
  overflow: hidden;
}

.section-intro {
  margin: -4px 0 14px;
  padding: 11px 13px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: #fff8e9;
  color: #4c5657;
  line-height: 1.42;
  font-size: 0.88rem;
}

.section-intro > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 0.91rem;
}

.section-intro p {
  margin: 0 0 6px;
}

.section-intro p:last-child {
  margin-bottom: 0;
}

.intro-highlight {
  display: inline;
  margin: 0;
  color: inherit;
  font-weight: 850;
  white-space: normal;
}

.intro-highlight--teal {
  color: var(--teal);
}

.intro-highlight--gold {
  color: #b87d08;
}

.intro-highlight--coral {
  color: #c65f3d;
}

.question-eyebrow {
  margin: 0 0 7px;
  color: var(--teal-soft);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.question-title {
  margin: 0 0 10px;
  color: #153f4c;
  font-size: clamp(1.22rem, 5vw, 1.66rem);
  line-height: 1.28;
}

.question-help {
  margin: 0 0 17px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.48;
}

.options {
  display: grid;
  gap: 10px;
}

.option {
  position: relative;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border: 1.5px solid #d8dedb;
  border-radius: var(--radius-md);
  background: var(--surface-strong);
  color: #223b42;
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.option:hover {
  border-color: var(--teal-soft);
}

.option:focus-visible,
.primary-btn:focus-visible,
.secondary-btn:focus-visible,
textarea:focus-visible,
input[type="text"]:focus-visible {
  outline: 3px solid rgba(228, 170, 47, 0.34);
  outline-offset: 2px;
}

.option.selected {
  border-color: var(--teal);
  background: #f0f8f7;
  box-shadow: 0 5px 18px rgba(31, 93, 109, 0.08);
}

.option-marker {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid #aeb9b6;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
}

.option.checkbox .option-marker {
  border-radius: 6px;
}

.option.selected .option-marker {
  border-color: var(--teal);
  background: var(--teal);
}

.option.selected .option-marker::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
}

.option.checkbox.selected .option-marker::after {
  width: 9px;
  height: 5px;
  margin-top: -2px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  border-radius: 0;
  background: transparent;
  transform: rotate(-45deg);
}

.option-label {
  min-width: 0;
  line-height: 1.4;
}

.other-field,
.open-field {
  width: 100%;
  margin-top: 13px;
  border: 1.5px solid #cbd5d2;
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
}

.other-field {
  padding: 12px 13px;
}

.open-field {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
  line-height: 1.5;
}

.actions {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-top: 20px;
}

.actions--back-only {
  justify-content: flex-start;
}

.actions--back-only .secondary-btn {
  min-width: 112px;
}

.primary-btn,
.secondary-btn {
  min-height: 48px;
  border-radius: 13px;
  padding: 11px 18px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, opacity 160ms ease, box-shadow 160ms ease;
}

.primary-btn {
  flex: 1;
  border: 0;
  background: var(--teal);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 93, 109, 0.18);
}

.secondary-btn {
  border: 1px solid #cbd5d2;
  background: transparent;
  color: var(--teal);
}

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

.primary-btn:disabled {
  opacity: 0.48;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.validation-message {
  margin: 13px 0 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: #fff0ed;
  color: var(--danger);
  font-size: 0.9rem;
  font-weight: 700;
}

.matrix-counter {
  display: inline-flex;
  margin-bottom: 11px;
  padding: 6px 9px;
  border-radius: 999px;
  background: #edf6f4;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
}

.status-panel {
  padding: 24px 20px;
  text-align: center;
}

.status-panel h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.status-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.status-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #edf6f4;
  color: var(--teal);
  font-size: 1.5rem;
  font-weight: 900;
}

.noscript {
  margin: 20px;
  padding: 16px;
  border-radius: 12px;
  background: #fff0ed;
  color: var(--danger);
}

.fade-slide-in {
  animation: fadeSlideIn 190ms ease both;
}

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

@media (min-width: 720px) {
  .app-shell {
    padding-top: 28px;
  }

  .survey-card {
    padding: 28px;
  }

  .brand-logo {
    width: 76px;
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.field-validation {
  min-height: 1.15rem;
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
  line-height: 1.35;
  color: #9b4a3b;
}
/* Disponibilizado ao usuário em 01/10/2026 10:48 (-03:00) */
