/* ── Tokens compartilhados (site, portal, admin) ─────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  /* Paleta nova */
  --red:        #ff0000;
  --red-soft:   #e50000;
  --ink:        #2c2f36;
  --ink-soft:   #3a3e47;
  --mute:       #85888f;
  --mute-soft:  #b3b5ba;
  --line:       #e6e6e8;
  --bg-tint:    #f5f5f7;
  --bg-soft:    #f0f0f2;
  --white:      #ffffff;

  /* Aliases legacy — mantêm portal/admin funcionando sem reescrever */
  --burgundy:    var(--ink);
  --crimson:     var(--red);
  --cream:       var(--white);
  --taupe:       var(--mute);
  --navy:        var(--ink);
  --dark-navy:   var(--ink);
  --gold:        var(--red);
  --off-white:   var(--bg-tint);

  --success:    #2f7d5b;
  --danger:     #ff0000;
  --warning:    #b8862e;

  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm:  0 4px 12px rgba(44, 47, 54, 0.06);
  --shadow-md:  0 12px 32px rgba(44, 47, 54, 0.10);
  --shadow-lg:  0 24px 64px rgba(44, 47, 54, 0.18);

  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'cv11', 'ss01';
}

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

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; color: inherit; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--red);
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
  line-height: 1.02; letter-spacing: -0.025em;
  color: var(--ink);
}
.section-title em { font-style: normal; color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 0.04em;
  text-transform: none; font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
  user-select: none;
  cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-soft); }
.btn-outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-light {
  background: var(--white); color: var(--ink); border-color: var(--white);
}
.btn-light:hover { background: var(--bg-tint); }
.btn-ghost {
  background: transparent; color: var(--mute); border-color: var(--line);
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }
.btn-gold {
  background: var(--red); color: var(--white); font-weight: 500;
}
.btn-gold:hover { background: var(--red-soft); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

.flash {
  padding: 0.75rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.82rem;
  display: none;
}
.flash.show { display: block; }
.flash-error   { background: rgba(255, 0, 0, 0.08);  color: var(--red); }
.flash-success { background: rgba(47, 125, 91, 0.1); color: var(--success); }
.flash-info    { background: rgba(44, 47, 54, 0.06); color: var(--ink); }
