/* ==========================================================================
   PORTAL DE SISTEMAS MV - FHCR  •  Modelo 2: foto + lista
   ========================================================================== */

:root {
  --blue: #1f3f9a;
  --blue-soft: #eef1f8;
  --hover-bg: #f6f8fd;
  --line: #e5e7eb;
  --text: #1c2430;
  --muted: #9ca3af;
}

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

html, body { height: 100%; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 100vh;
}

/* ---------- Foto ---------- */
.photo { position: relative; overflow: hidden; background: #2b3442; }
.photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% 30%;
}
.photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10, 20, 45, .85) 0%, rgba(10, 20, 45, .1) 55%);
}
.photo-text { position: absolute; left: 36px; right: 36px; bottom: 36px; color: #fff; z-index: 1; }
.photo-text h2 { font-size: 1.9rem; line-height: 1.15; font-weight: 700; }
.photo-text p { margin-top: 6px; opacity: .85; }

/* ---------- Painel ---------- */
.panel { padding: 44px 56px; display: flex; flex-direction: column; max-width: 760px; width: 100%; }

.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 32px; font-weight: 600; }
.brand img { width: 44px; height: 44px; object-fit: contain; }

h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: 20px; }

.list { display: flex; flex-direction: column; gap: 10px; }

.item {
  display: flex; align-items: center; gap: 16px;
  padding: 14px 18px;
  border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.item:hover { border-color: var(--blue); background: var(--hover-bg); }
.item:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.item-icon {
  width: 40px; height: 40px; border-radius: 9px; flex-shrink: 0;
  background: var(--blue-soft); color: var(--blue);
  display: grid; place-items: center;
}
.item-icon svg { width: 21px; height: 21px; }
.item-name { flex: 1; }
.item-code { font-size: .75rem; font-weight: 500; color: var(--muted); }
.item-arrow { color: var(--blue); font-size: 1.3rem; line-height: 1; }

.foot { margin-top: auto; padding-top: 32px; font-size: .8rem; color: var(--muted); }

/* ---------- Celular / tela estreita ---------- */
@media (max-width: 820px) {
  body { display: block; }
  .photo { height: 200px; }
  .photo img { object-position: 30% 22%; }
  .photo-text { left: 20px; right: 20px; bottom: 18px; }
  .photo-text h2 { font-size: 1.35rem; }
  .panel { padding: 24px 16px 28px; }
  .brand { margin-bottom: 20px; }
  .item { padding: 12px 14px; gap: 12px; }
}
