/* Degust ID - tokens canonicos. Extraidos de Projetos/forms-degust/contrato/index.html (referencia validada). */

:root {
  --bg-color: #FAFAFA;
  --bg-surface: #FFFFFF;
  --bg-card: #F2F2F7;
  --text-main: #111111;
  --text-muted: #737373;
  --text-light: #A0A0A0;
  --grad: linear-gradient(90deg, #FF4583, #9833ED);
  --grad-soft: linear-gradient(90deg, rgba(255,69,131,0.12), rgba(152,51,237,0.12));
  --pink: #FF4583;
  --purple: #9833ED;
  --ok-bg: #E8F5E9;
  --ok-ink: #1B5E20;
  --err-bg: #FEECEC;
  --err-ink: #991B1B;
  --warn-bg: #FFF3E0;
  --warn-ink: #8B4513;
  --line: #E5E5E5;
  --shadow-card: 0 20px 60px rgba(0,0,0,0.06), 0 4px 12px rgba(0,0,0,0.02);
  --radius-card: 24px;
  --radius-input: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.brand-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.geom-asterisk {
  position: absolute;
  width: 600px;
  height: 600px;
  filter: blur(40px);
  opacity: 0.55;
}
.ast-1 { top: -20%; left: -15%; transform: scale(1.3) rotate(15deg); }
.ast-2 { bottom: -15%; right: -10%; transform: scale(1.1) rotate(-20deg); opacity: 0.35; }

@media (prefers-reduced-motion: no-preference) {
  .geom-asterisk { animation: float-ast 18s ease-in-out infinite; }
  .ast-2 { animation-delay: -9s; animation-duration: 22s; }
  @keyframes float-ast {
    0%, 100% { transform: scale(1.3) rotate(15deg) translateY(0); }
    50% { transform: scale(1.3) rotate(15deg) translateY(-24px); }
  }
}

.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 48px 24px;
  display: flex;
  justify-content: center;
}
.container { max-width: 720px; width: 100%; }
.container-wide { max-width: 1200px; width: 100%; }

.wordmark { display: inline-flex; align-items: center; margin-bottom: 24px; }
.wordmark img { display: block; height: 44px; width: auto; }

.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.lead {
  font-family: 'Georgia', serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  position: relative;
}
.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 32px;
  right: 32px;
  height: 3px;
  background: var(--grad);
  border-radius: 3px;
}
@media (min-width: 640px) { .card { padding: 40px; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: var(--radius-input);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s, transform 0.05s;
}
.btn:hover { background: var(--bg-card); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  filter: brightness(1.08);
  background: var(--grad);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(152, 51, 237, 0.25);
}
.btn-ghost { background: transparent; border-color: transparent; color: var(--text-muted); }
.btn-ghost:hover { background: var(--bg-card); color: var(--text-main); }

.status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-input);
  font-size: 14px;
  line-height: 1.4;
  display: none;
}
.status.show { display: block; }
.status.ok { background: var(--ok-bg); color: var(--ok-ink); }
.status.err { background: var(--err-bg); color: var(--err-ink); }
.status.info { background: var(--warn-bg); color: var(--warn-ink); }
