/* GastroCentro — Portal do Paciente
   Sistema visual derivado da logomarca:
   laranja #EF9A49 · cinza #979694 · preto · branco-quente */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg:        #f7f3ee;
  --surface:   #ffffff;
  --surface-2: #fcfaf7;
  --ink:       #221e1a;
  --ink-soft:  #4b443d;
  --muted:     #857d74;
  --line:      #ebe3d9;
  --line-2:    #f1ebe2;

  --brand:      #e8902c;
  --brand-deep: #cf7a18;
  --brand-soft: #fbeedd;
  --brand-tint: #fdf6ec;

  --gray:      #979694;
  --gray-soft: #eceae7;

  --ok:        #3f9d6b;   /* pronto */
  --ok-soft:   #e6f3eb;
  --wait:      #c9851f;   /* em análise */
  --wait-soft: #fbeedd;

  --radius:   16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(34,30,26,.05), 0 1px 1px rgba(34,30,26,.04);
  --shadow:    0 4px 16px -6px rgba(34,30,26,.12), 0 2px 6px -3px rgba(34,30,26,.08);
  --shadow-lg: 0 24px 60px -24px rgba(34,30,26,.28), 0 8px 24px -12px rgba(34,30,26,.14);

  --font: 'Manrope', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input { font-family: inherit; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 20px;
  border-radius: 11px;
  font-size: 15px; font-weight: 700; letter-spacing: .01em;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(232,144,44,.6);
}
.btn-primary:hover { background: var(--brand-deep); }

.btn-ghost {
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--surface-2); border-color: #ddd3c6; color: var(--ink); }

.btn-soft {
  background: var(--brand-soft); color: var(--brand-deep);
}
.btn-soft:hover { background: #f8e4cb; }

.btn-sm { height: 38px; padding: 0 14px; font-size: 13.5px; border-radius: 9px; }

/* ---------- badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  height: 28px; padding: 0 11px 0 9px;
  border-radius: 999px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; }
.badge.ok   { background: var(--ok-soft);   color: #2c7a51; }
.badge.ok .dot   { background: var(--ok); }
.badge.wait { background: var(--wait-soft); color: #9c6510; }
.badge.wait .dot { background: var(--wait); box-shadow: 0 0 0 3px rgba(201,133,31,.16); }

/* ---------- utility ---------- */
.icon { width: 18px; height: 18px; display: inline-block; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sr { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
