:root {
  --azul: #012e96;
  --azul-escuro: #01226f;
  --laranja: #ffa600;
  --branco: #ffffff;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--azul);
  color: var(--branco);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.4;
}

.page {
  max-width: 480px;
  margin: 0 auto;
  padding: 32px 16px 40px;
}

.hero { text-align: center; margin-bottom: 28px; }
.logo { width: 132px; height: auto; }
.hero h1 { margin: 10px 0 4px; font-size: 24px; font-weight: 700; }
.hero p { margin: 0; font-size: 15px; opacity: .92; }

.section-title {
  margin: 26px 4px 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--laranja);
}

.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }

.btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 0;
  border-radius: 16px;
  background: var(--branco);
  color: var(--azul);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 3px 0 var(--laranja);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--laranja); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--laranja); }
.btn:focus-visible, .agent:focus-visible, .close:focus-visible {
  outline: 3px solid var(--laranja);
  outline-offset: 2px;
}

.btn-icon { font-size: 22px; width: 32px; text-align: center; flex: none; }
.btn-text { flex: 1; }
.btn-text small { display: block; font-size: 13px; font-weight: 400; opacity: .7; }
.chev { font-size: 26px; line-height: 1; color: var(--laranja); flex: none; }

.btn-direct { background: var(--laranja); box-shadow: 0 3px 0 var(--azul-escuro); }
.btn-direct:hover { box-shadow: 0 4px 0 var(--azul-escuro); }
.btn-direct:active { box-shadow: 0 1px 0 var(--azul-escuro); }
.btn-direct .chev { color: var(--azul); }

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul);
  color: var(--branco);
  font-size: 18px;
  font-weight: 700;
  flex: none;
}
.btn-icon.avatar { width: 40px; margin-left: -4px; }

.footer { margin-top: 36px; text-align: center; font-size: 12px; opacity: .65; }

dialog {
  width: min(100%, 440px);
  max-width: none;
  margin: auto auto 0;
  padding: 20px 18px 24px;
  border: 0;
  border-radius: 24px 24px 0 0;
  background: var(--branco);
  color: var(--azul);
}
dialog::backdrop { background: rgba(1, 20, 60, .65); }
dialog[open] { animation: subir .22s ease-out; }
@keyframes subir { from { transform: translateY(40px); opacity: 0; } }

@media (min-width: 520px) {
  dialog { margin: auto; border-radius: 24px; }
}

.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet-kicker { margin: 0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .65; }
.sheet-head h2 { margin: 2px 0 0; font-size: 20px; line-height: 1.25; }
.close {
  border: 0;
  background: #eef1fa;
  color: var(--azul);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  flex: none;
}
.sheet-sub { margin: 16px 0 10px; font-weight: 600; }

.agents { display: grid; gap: 10px; }
.agent {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 2px solid var(--laranja);
  color: var(--azul);
  text-decoration: none;
}
.agent:hover { background: #fff6e0; }
.agent-info { flex: 1; display: grid; }
.agent-info small { opacity: .7; }
.go {
  background: var(--laranja);
  color: var(--azul);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .btn, dialog[open] { transition: none; animation: none; }
}
