/* Avaliação Empresarial 360º — base: tokens, layout, botões, intro, tela final. */
:root {
  --wine-900: #430813;
  --wine-700: #7c1733;
  --wine-600: #8e1c3d;
  --cream: #f1ece5;
  --paper: #fbf8f4;
  --paper-2: #f4eee7;
  --taupe: #9d9590;
  --gold: #cda85f;
  --ink: #1e1a1b;
  --muted: #6b6065;
  --line: rgba(67, 8, 19, 0.12);
  --radius: 16px;
  --shadow: 0 18px 50px rgba(67, 8, 19, 0.12);
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  line-height: 1.55;
  background: radial-gradient(
    120% 120% at 50% 0%,
    var(--paper) 0%,
    var(--paper-2) 100%
  );
}
.serif {
  font-family: var(--serif);
}

.app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px 40px;
}
.app-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  margin-top: 8px;
}
.app-foot {
  margin-top: 22px;
  font-size: 12px;
  color: var(--taupe);
  letter-spacing: 0.02em;
  text-align: center;
}

.kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
}
h1,
h2 {
  margin: 8px 0 10px;
  color: var(--wine-900);
  letter-spacing: -0.01em;
  line-height: 1.12;
}

/* Intro */
.intro {
  text-align: center;
  padding: 8px 4px;
}
.intro-title {
  font-size: clamp(26px, 6vw, 34px);
}
.intro-sub {
  font-size: 18px;
  color: var(--ink);
  margin: 4px 0 12px;
}
.intro-support {
  color: var(--muted);
  font-size: 15px;
}
.intro-time {
  font-weight: 700;
  color: var(--wine-700);
  margin: 14px 0 8px;
}
.intro-disclaimer {
  font-size: 13px;
  color: var(--taupe);
  border-top: 1px solid var(--line);
  padding-top: 14px;
  margin-top: 14px;
}
.intro .btn {
  margin-top: 18px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 22px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    opacity 0.15s ease,
    background 0.15s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--wine-600);
  color: #fff;
  flex: 1;
}
.btn-primary:hover {
  background: var(--wine-700);
}
.btn-primary:disabled {
  background: var(--taupe);
  cursor: not-allowed;
  opacity: 0.7;
}
.btn-secondary {
  background: #fff;
  color: var(--wine-700);
  border-color: var(--wine-600);
}
.btn-ghost {
  background: transparent;
  color: var(--muted);
  border-color: var(--line);
}
.btn-ghost:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.btn.is-disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* Tela final */
.final {
  text-align: center;
  padding: 8px 4px;
}
.final-seal {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--wine-700), var(--gold));
  box-shadow: 0 8px 22px rgba(67, 8, 19, 0.22);
}
.final-title {
  font-size: 28px;
}
.final-text {
  color: var(--muted);
  font-size: 15.5px;
}
.final-note {
  font-size: 14px;
  color: var(--taupe);
  font-style: italic;
  margin-top: 12px;
}
.final-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}
.final-ctas .btn {
  flex: none;
  width: 100%;
}

/* Toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: var(--wine-900);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  max-width: 90%;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 20;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 620px) {
  .app {
    padding-top: 44px;
  }
  .app-card {
    padding: 36px 34px;
  }
  .nav {
    justify-content: space-between;
  }
}
