body {
  background: #eef1f6;
}

.site-header {
  position: relative;
  z-index: 20;
  min-height: 72px;
  padding: 11px clamp(24px, 4.5vw, 70px);
  color: var(--navy);
  background: rgba(255, 255, 255, .98);
  border-bottom: 1px solid #d9dee8;
}

.brand { gap: 16px; color: var(--navy); }
.brand-logo-crop { width: 170px; height: 44px; }
.brand-logo-crop img { top: -74px; left: -10px; width: 189px; }
.brand small {
  padding-left: 16px;
  color: var(--navy);
  border-left-color: #cfd5e0;
  font-size: 13px;
  font-weight: 800;
}

.account-nav { color: var(--navy); }
.user-menu { position: relative; }
.user-menu summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}
.user-menu summary::-webkit-details-marker { display: none; }
.user-menu summary span { color: var(--muted); font-size: 14px; transition: transform .18s ease; }
.user-menu[open] summary span { transform: rotate(180deg); }
.user-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  display: grid;
  min-width: 210px;
  padding: 8px;
  background: white;
  border: 1px solid #d8dee8;
  border-radius: 11px;
  box-shadow: 0 16px 36px rgba(25, 40, 71, .13);
}
.user-menu-panel a,
.user-menu-panel button {
  display: block;
  width: 100%;
  padding: 10px 12px;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.user-menu-panel a:hover,
.user-menu-panel button:hover { background: rgba(8, 222, 134, .11); }
.user-menu-panel form { margin: 0; }

.page-shell {
  width: min(1080px, calc(100% - 40px));
  padding: clamp(52px, 7vw, 90px) 0 90px;
}

.portal-home {
  position: relative;
  isolation: isolate;
  min-height: 640px;
}
.portal-home::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -15%;
  bottom: -16%;
  width: 1000px;
  height: 470px;
  opacity: .035;
  background: url("../brand/pronext-grafismo-coluna-contorno-verde.655c53682f6b.jpg") center / cover no-repeat;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.portal-heading { margin-bottom: 34px; }
.portal-heading .eyebrow { margin-bottom: 16px; color: var(--green-dark); }
.portal-heading h1 {
  margin-bottom: 12px;
  font-size: clamp(44px, 5vw, 62px);
  line-height: 1;
}
.portal-heading p {
  max-width: 680px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.area-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.area-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 26px;
  overflow: hidden;
  color: var(--navy);
  background: rgba(255, 255, 255, .82);
  border: 1px solid #d8dee8;
  border-radius: 15px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(25, 40, 71, .025);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.area-card:hover {
  border-color: var(--green-dark);
  box-shadow: 0 15px 32px rgba(25, 40, 71, .08);
  transform: translateY(-2px);
}
.area-card:focus-visible {
  outline: 3px solid rgba(8, 222, 134, .36);
  outline-offset: 3px;
}
.area-card-preview {
  opacity: .58;
  box-shadow: none;
  cursor: default;
}
.area-card-preview:hover {
  border-color: #d8dee8;
  box-shadow: none;
  transform: none;
}
.area-card-preview .area-card-icon {
  color: var(--muted);
  background: rgba(101, 112, 135, .09);
}
.area-card-icon {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  margin-bottom: 28px;
  color: var(--navy);
  background: rgba(8, 222, 134, .18);
  border-radius: 11px;
}
.area-card-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.area-card-kind {
  margin-bottom: 8px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.area-card strong {
  display: block;
  max-width: calc(100% - 24px);
  font-size: 23px;
  line-height: 1.18;
}
.area-card-description {
  display: block;
  margin-top: 10px;
  padding-right: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.area-card-arrow {
  position: absolute;
  right: 23px;
  bottom: 22px;
  color: var(--green-dark);
  font-size: 21px;
  font-weight: 900;
}

.plain-empty-state {
  max-width: 560px;
  padding-top: 22px;
  border-top: 1px solid #d8dee8;
}
.plain-empty-state h2 { font-size: 24px; }
.plain-empty-state p { color: var(--muted); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}
.breadcrumbs a { color: var(--navy); text-underline-offset: 3px; }
.content-listing .portal-heading h1 { max-width: 820px; }

@media (max-width: 880px) {
  .area-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .site-header { padding: 10px 16px; }
  .brand-logo-crop { width: 145px; height: 37px; }
  .brand-logo-crop img { top: -63px; left: -8px; width: 161px; }
  .brand small { display: none; }
  .user-menu summary { font-size: 13px; }
  .page-shell { width: min(100% - 28px, 1080px); padding-top: 42px; }
  .portal-heading h1 { font-size: 43px; }
  .portal-heading p { font-size: 16px; }
  .area-grid { grid-template-columns: 1fr; }
  .area-card { min-height: 190px; }
  .breadcrumbs { margin-bottom: 34px; }
}
