:root {
  --utfpr-yellow: #f5c400;
  --utfpr-dark: #292929;
  --text: #333;
  --muted: #666;
  --border: #e5e5e5;
  --surface: #fafafa;
  --content-width: 1100px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font: 16px/1.65 Arial, Helvetica, sans-serif;
}

main {
  width: min(100% - 40px, var(--content-width));
  margin: 0 auto;
  padding: 25px 0 15px;
}

.utfpr {
  font-size: 10px;
  padding-top: 5px;
}

.campus {
  font-size: 22px;
}

.composite-logo * {
  font-weight: 900;
  line-height: 1;
  display: table;
  margin: 0 auto;
  width: 266px;
}

h1 {
  margin: 0 0 32px;
  padding-bottom: 14px;
  color: var(--utfpr-dark);
  border-bottom: 4px solid var(--utfpr-yellow);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.2;
}

h3 {
  position: relative;
  margin: 28px 0 14px;
  padding-left: 16px;
  color: var(--utfpr-dark);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
}

h3::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 4px;
  background: var(--utfpr-yellow);
  content: "";
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services a {
  display: flex;
  min-height: 75px;
  padding: 16px 18px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--utfpr-yellow);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease;
}

.services.chamados a {
  min-height: 105px;
}

.services a:hover,
.services a:focus-visible {
  background: #fff9df;
  border-color: #d9b000;
  outline: none;
}

.service-code {
  display: block;
  margin-bottom: 2px;
  color: var(--utfpr-dark);
  font-weight: 700;
}

.service-name {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.4;
}

section + section {
  margin-top: 30px;
}

@media (max-width: 600px) {
  main {
    width: min(100% - 28px, var(--content-width));
    padding-top: 28px;
  }

  h3 { font-size: 1.2rem; }
  .services { grid-template-columns: 1fr; }
}
