/* Regente demo, shared base: tokens, type, buttons and motion for the demo page and the PWA.
   Tokens follow the Copel prototype (Manrope, orange 600 #ec6500, warm neutrals). */
@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
  --primary-50: #fff4e9;
  --primary-100: #ffe4c8;
  --primary-200: #ffc996;
  --primary-500: #f5821e;
  --primary-600: #ec6500;
  --primary-700: #c55200;
  --n-50: #faf9f7;
  --n-100: #f2f4f6;
  --n-200: #e7e9ea;
  --n-300: #d5d8db;
  --n-400: #a9aeb3;
  --n-500: #7d8488;
  --n-600: #5a6065;
  --n-800: #232628;
  --n-900: #151c21;
  --success: #1a7f37;
  --success-50: #eefaf1;
  --warning-50: #fff8e6;
  --warning-700: #b57500;
  --error: #d32f2f;
  --surface: #fff;
  --agent-bubble: rgba(236, 101, 0, 0.1);
  --radius: 8px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wa-bg: #efeae2;
  --wa-head: #008069;
  --wa-bubble: #fff;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 14px;
  color: var(--n-800);
  background: var(--n-50);
  -webkit-font-smoothing: antialiased;
}
button { font-family: inherit; }
[hidden] { display: none !important; }

.btn-primary, .btn-ghost {
  border-radius: 6px; font-weight: 600; font-size: 14px; padding: 11px 18px; cursor: pointer; border: 1px solid transparent;
}
.btn-primary { background: var(--primary-600); color: #fff; }
.btn-primary:hover { background: var(--primary-700); }
.btn-primary:disabled { background: var(--n-200); color: var(--n-600); cursor: default; }
.btn-ghost { background: transparent; border-color: var(--n-300); color: var(--n-800); }
.btn-ghost:hover { background: var(--n-100); }

@keyframes subir { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes pulso { 0%, 100% { opacity: 0.25; transform: none; } 40% { opacity: 1; transform: translateY(-2px); } }

:focus-visible { outline: 3px solid var(--primary-500); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
