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

/* =========================
   CONFIGURAÇÕES GERAIS
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #768fb6;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
  color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #0098ee;
  outline-offset: 3px;
}

.wrap {
  width: min(92%, 960px);
  margin: auto;
}

/* =========================
   MENU SUPERIOR
========================= */

.portal-header {
  width: 100%;
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid #1689df;
  box-shadow: 0 4px 20px #05265910;
}

/* GRID DO CABEÇALHO */

.header-container {
  width: min(92%, 960px);
  max-width: 960px;
  min-height: 100px;
  margin: 0 auto;
  padding: 15px 0;

  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 35px;
}

/* =========================
   CASINHA FIXA À ESQUERDA
========================= */

.portal-header .voltar-home {
  position: fixed;
  top: 26px;
  left: 10px;
  right: auto;
  bottom: auto;

  width: 48px;
  height: 48px;
  margin: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #052659;
  color: #ffffff;
  border-radius: 50%;

  box-shadow: 0 4px 15px #00000020;
  z-index: 9999;

  transition:
    background .3s ease,
    transform .3s ease,
    box-shadow .3s ease;
}

.portal-header .voltar-home:hover {
  background: #507eaf;
  transform: scale(1.1);
  box-shadow: 0 6px 15px #05265930;
}

.portal-header .voltar-home:active {
  transform: scale(.94);
}

.voltar-home svg {
  width: 23px;
  height: 23px;
}

/* =========================
   LOGO E IDENTIDADE
========================= */

.portal-brand {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  flex-shrink: 0;

  animation: none;
  transform: none;
}

.portal-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  animation: entradaHeader .6s ease both;
}

.portal-brand img {
  display: block;
  width: 85px;
  height: 65px;
  object-fit: contain;

  transition: transform .3s ease;
}

.portal-logo:hover img {
  transform: scale(1.08);
}

.portal-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  color: #052659;
  white-space: nowrap;
}

.brand-divider {
  width: 1px;
  height: 35px;
  background: #dce3ed;
  flex-shrink: 0;
}

.portal-brand .brand-divider {
  display: block;
}

/* =========================
   NAVEGAÇÃO CENTRAL
========================= */

.portal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  gap: 20px;
  padding-left: 10px;
}

.portal-nav a {
  position: relative;
  padding: 12px 5px;
  border-radius: 8px;

  color: #64748b;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;

  transition:
    background .3s ease,
    color .3s ease,
    transform .3s ease;
}

.portal-nav a:hover {
  background: #eaf2ff;
  color: #052659;
  transform: translateY(-3px);
}

.portal-nav a.nav-active {
  background: #eaf2ff;
  color: #052659;
}

.portal-nav a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 20%;
  width: 60%;
  height: 2px;

  background: #1689df;
  border-radius: 10px;

  transform: scaleX(0);
  transition: transform .3s ease;
}

.portal-nav a:hover::after,
.portal-nav a.nav-active::after {
  transform: scaleX(1);
}

/* =========================
   NOTIFICAÇÕES
========================= */

.portal-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-shrink: 0;
}

.notification {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;

  background: #f1f5fa;
  border: none;
  border-radius: 10px;
  color: #052659;

  transition: .3s ease;
}

.notification:hover {
  background: #dceaff;
  transform: translateY(-2px);
}

.notification:hover svg {
  animation: balancarSino .5s ease;
  transform-origin: top center;
}

@keyframes balancarSino {

  0%, 100% {
    transform: rotate(0);
  }

  25% {
    transform: rotate(15deg);
  }

  75% {
    transform: rotate(-15deg);
  }

}

/* =========================
   PERFIL DO COLABORADOR
========================= */

.profile-menu {
  position: relative;
}

.header-profile {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  list-style: none;
}

.header-profile::-webkit-details-marker {
  display: none;
}

.header-avatar {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  border-radius: 50%;

  background: #052659;
  color: #ffffff;

  font-size: 13px;
  font-weight: 700;

  transition: .3s ease;
}

.header-profile:hover .header-avatar {
  background: #1689df;
  transform: scale(1.06);
}

.header-user {
  display: none;
}

.header-user strong {
  font-size: 12px;
  color: #052659;
}

.header-user small {
  font-size: 10px;
  color: #64748b;
}

.profile-arrow {
  color: #052659;
  transition: transform .3s ease;
}

.profile-menu[open] .profile-arrow {
  transform: rotate(180deg);
}

/* MENU SUSPENSO */

.profile-dropdown {
  position: absolute;
  top: calc(100% + 18px);
  right: 0;

  width: 220px;
  padding: 10px;

  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;

  box-shadow: 0 10px 30px #05265920;
  z-index: 1001;
}

.profile-dropdown a {
  display: block;
  padding: 12px;
  border-radius: 6px;

  font-size: 12px;
  font-weight: 500;
  color: #052659;

  transition: .25s ease;
}

.profile-dropdown a:hover {
  background: #eaf2ff;
  padding-left: 17px;
}

.profile-dropdown .logout-link {
  color: #b83232;
  border-top: 1px solid #e2e8f0;
  margin-top: 5px;
}

.profile-menu[open] .profile-dropdown {
  animation: abrirPerfil .25s ease both;
}

/* =========================
   ANIMAÇÕES DO CABEÇALHO
========================= */

.portal-name,
.portal-brand .brand-divider {
  animation: entradaHeader .6s ease both;
}

.portal-nav {
  animation: entradaHeader .6s .1s ease both;
}

.portal-actions {
  animation: entradaHeader .6s .2s ease both;
}

@keyframes entradaHeader {

  from {
    opacity: 0;
    transform: translateY(-15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

@keyframes abrirPerfil {

  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* =========================
   BANNER DO PERFIL
========================= */

.hero {
  position: relative;
  background: #052659;
  border-radius: 20px 0 20px 0;
  padding: 45px 0 90px;
}

/* BOAS-VINDAS */

.portal-welcome {
  padding-bottom: 35px;
  color: #ffffff;
  animation: aparecer .8s ease both;
}

.portal-welcome span {
  font-size: 11px;
  letter-spacing: 3px;
  font-weight: 600;
  color: #9ccaff;
}

.portal-welcome h1 {
  font-size: 30px;
  font-weight: 700;
  margin: 12px 0;
}

.portal-welcome p {
  font-size: 13px;
  color: #c4d6ef;
  margin: 0;
}

@keyframes aparecer {

  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}

/* CARTÃO DO PERFIL */

.profile {
  max-width: 820px;

  display: grid;
  grid-template-columns: 1fr 1fr;

  background: #304c72;
  border-radius: 16px;
  overflow: hidden;
  color: #ffffff;

  animation: aparecer .8s .15s ease both;
}

.profile-info {
  padding: 30px;
  font-size: 12px;
  letter-spacing: 1px;
}

.profile-info p {
  margin: 24px 0 9px;
}

.profile img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.person {
  display: flex;
  gap: 14px;
  align-items: center;
}

.person small {
  display: block;
  margin-top: 5px;
}

.avatar {
  display: grid;
  place-items: center;

  background: #507eaf;
  border-radius: 50%;

  width: 52px;
  height: 52px;

  font-weight: 700;
  flex-shrink: 0;
}

.pill {
  border: 1px solid #6c8fc6;
  border-radius: 20px;
  padding: 5px 10px;
  display: inline-block;

  font-size: 10px;
  background: transparent;
  color: inherit;
}

button.pill {
  transition: .3s ease;
}

button.pill:hover:not(:disabled) {
  background: #507eaf;
}

button.pill:disabled {
  opacity: .7;
  cursor: default;
}

/* =========================
   BARRAS DE PROGRESSO
========================= */

.track {
  height: 8px;
  border-radius: 20px;
  background: #cbd5e1;
  overflow: hidden;
}

.track i {
  display: block;
  height: 100%;
  background: #6c8fc6;

  transform-origin: left;
  animation: carregarBarra 1.2s ease both;
}

@keyframes carregarBarra {

  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }

}

.right {
  display: block;
  text-align: right;
  margin-top: 6px;
}

/* =========================
   TÍTULOS
========================= */

h2 {
  font-size: 25px;
  letter-spacing: 2px;
  margin: 0 0 10px;
  font-weight: 800;
}

.subtitle {
  font-size: 13px;
  letter-spacing: 1px;
  margin: 0 0 35px;
  color: #222222;
}

/* =========================
   CONQUISTAS
========================= */

.achievements {
  padding: 100px 0 50px;
}

.achievement-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 35px;
}

.lock {
  border: 8px solid #6c8fc6;
  border-radius: 32px;
  background: radial-gradient(#075f91, #020b18 70%);

  display: grid;
  place-items: center;
  min-height: 250px;
}

.lock span {
  font-size: 110px;
  filter: drop-shadow(0 0 16px #00bfff);
}

.medals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.medals div {
  background: #dce6f0;
  border: 1px solid #adc4df;
  border-radius: 12px;

  display: grid;
  place-content: center;

  text-align: center;
  gap: 8px;
  padding: 15px;
  font-size: 22px;

  transition: .3s ease;
}

.medals div:hover {
  transform: translateY(-4px);
  background: #c9dcef;
}

.medals b {
  font-size: 10px;
  letter-spacing: 1px;
}

.congrats {
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  line-height: 2.6;
  letter-spacing: 1px;
  margin: 25px 0 0;
}

/* =========================
   FAIXA DECORATIVA
========================= */

.stripe {
  display: flex;
  justify-content: space-around;
  align-items: center;

  background: #e5f4fc;
  padding: 40px;
  gap: 10px;
  overflow: hidden;
}

.stripe img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* =========================
   SUAS MISSÕES
========================= */

.mission-heading {
  padding: 90px 0 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;
}

/* FILTROS */

.filters {
  display: flex;
  background: #a7c2df;
  border-radius: 30px;
  padding: 3px;
}

.filters button {
  border: 0;
  background: none;
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11px;
  transition: .3s ease;
}

.filters .active {
  background: #ffffff;
}

/* FUNDO DAS MISSÕES */

.mission-band {
  background: #507eaf;
  padding: 28px 0 45px;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 22px;
}

/* CARTÕES DAS MISSÕES */

.task {
  background: #ffffff;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.task[hidden] {
  display: none;
}

.course-photo {
  min-height: 155px;

  background:
    linear-gradient(0deg, #082657bb, transparent),
    url('images/banner 04 1.png') center / cover,
    #082657;

  display: flex;
  align-items: end;
  padding: 18px;
  color: #ffffff;
}

.course-photo h3 {
  font-size: 22px;
  letter-spacing: 2px;
  margin: 0;
}

.course-body {
  padding: 18px;
}

.task small {
  font-size: 10px;
  letter-spacing: 1px;
  color: #507eaf;
}

.task p {
  font-size: 12px;
}

.task-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.task-list article {
  padding: 18px 45px 18px 20px;
}

.task-list h3 {
  font-size: 14px;
  letter-spacing: 1px;
  margin: 0 0 6px;
}

.complete {
  border: 1px solid #082657;
  border-radius: 5px;
  background: #ffffff;
  font-size: 11px;
  padding: 4px 8px;
  transition: .3s ease;
}

.complete:hover {
  background: #eaf2ff;
}

.task-list .complete {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.done .complete {
  background: #082657;
  color: #ffffff;
}

/* =========================
   SOLICITAÇÕES E CHAMADOS
========================= */

.requests {
  padding: 95px 0;
}

.request-list {
  max-width: 800px;
  margin: auto;
  display: grid;
  gap: 20px;
}

.request-list article {
  background: #507eaf;
  color: #ffffff;
  border-radius: 15px;
  padding: 15px 22px;

  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;

  transition: .3s ease;
}

.request-list article:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px #05265915;
}

.request-list h3 {
  margin: 0 0 6px;
  font-size: 17px;
  letter-spacing: 2px;
}

.request-list small {
  font-size: 10px;
}

.request-list span {
  background: #ffffff;
  color: #082657;
  border-radius: 20px;
  padding: 5px 15px;
  font-size: 10px;
  font-weight: 700;
  white-space: nowrap;
}

.history {
  display: block;
  margin: 40px auto 0;

  border: 0;
  border-bottom: 1px solid;
  background: none;

  color: #507eaf;
  font-size: 11px;
}

#history-note {
  text-align: center;
  font-size: 12px;
}

/* =========================
   ATALHOS RÁPIDOS
========================= */

.shortcuts {
  padding: 45px 0 35px;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 25px;
  max-width: 850px;
  margin: 65px auto 0;
}

.quick-card {
  position: relative;
  min-width: 0;
  align-self: start;
}

/* IMAGENS ORIGINAIS */

.quick-image {
  display: block;
  position: relative;

  width: 100%;
  height: auto;
  aspect-ratio: 277 / 210;

  padding: 0;
  border: none;
  border-radius: 12px;
  overflow: hidden;

  background: transparent;
  cursor: pointer;
}

.quick-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.quick-image:hover img {
  transform: scale(1.04);
}

/* =========================
   ANIMAÇÃO DOS FORMULÁRIOS
========================= */

.quick-expand {
  display: grid;
  grid-template-rows: 0fr;

  opacity: 0;
  visibility: hidden;

  transition:
    grid-template-rows .45s ease,
    opacity .3s ease,
    visibility 0s .45s;
}

.quick-clip {
  min-height: 0;
  overflow: hidden;
}

.quick-card.open .quick-expand {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;

  transition:
    grid-template-rows .45s ease,
    opacity .3s ease,
    visibility 0s;
}

/* PAINEL AZUL */

.quick-panel {
  position: relative;
  background: #dce6f0;
  border-radius: 12px;
  margin: 12px 0 0;
  padding: 20px 16px;
  min-height: 260px;

  transform: translateY(-25px);
  transition: transform .45s ease;
}

.quick-card.open .quick-panel {
  transform: translateY(0);
}

.quick-panel h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  margin: 0 0 20px;
  padding-right: 10px;
}

/* BOTÃO FECHAR */

.close-panel {
  position: absolute;
  top: 7px;
  right: 7px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 15px;
  height: 15px;
  padding: 0;

  border: 1px solid #082657;
  border-radius: 50%;
  background: transparent;

  font-size: 13px;
  line-height: 1;

  transition: .3s ease;
}

.close-panel:hover {
  background: #082657;
  color: #ffffff;
}

/* CAMPOS DOS FORMULÁRIOS */

.quick-panel label {
  display: block;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 15px 0 7px;
}

.quick-panel input,
.quick-panel select {
  width: 100%;
  min-width: 0;
  height: 24px;
  padding: 3px 8px;

  border: 1px solid #849ab4;
  border-radius: 6px;

  background: #ffffff;
  color: #082657;

  font-size: 9px;
  font-weight: 600;
}

.quick-panel input::placeholder {
  color: #a0a0a0;
  font-weight: 400;
}

#novo-dado {
  margin-top: 8px;
}

/* BOTÃO ENVIAR */

.send-btn {
  display: block;
  margin: 25px 0 0 auto;
  padding: 6px 12px;

  border: none;
  border-radius: 5px;

  background: #082657;
  color: #ffffff;

  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;

  transition: background .3s ease;
}

.send-btn:hover {
  background: #507eaf;
}

/* =========================
   BENEFÍCIOS
========================= */

.benefit-value {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 12px;
}

.benefit-value i {
  flex: 1;
  border-bottom: 1px dotted #849ab4;
}

.benefit-value span {
  background: #ffffff;
  border: 1px solid #849ab4;
  border-radius: 5px;
  padding: 3px 5px;
  font-size: 10px;
  font-weight: 700;
}

.benefit-info {
  background: #ffffff;
  border: 1px solid #849ab4;
  border-radius: 6px;
  padding: 9px;
  margin-top: 10px;

  font-size: 9px;
  font-weight: 600;
  line-height: 1.6;

  white-space: pre-line;
  overflow-wrap: anywhere;
}

/* =========================
   ENVIAR ATESTADO
========================= */

.quick-panel .upload-area {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;

  min-height: 95px;
  padding: 12px;
  margin-top: 15px;

  border: 1px solid #849ab4;
  border-radius: 6px;

  background: #ffffff;
  text-align: center;
  cursor: pointer;

  transition: .3s ease;
}

.upload-area span {
  font-size: 7px;
  line-height: 1.5;
  letter-spacing: .5px;
  overflow-wrap: anywhere;
  max-width: 100%;
}

.quick-panel .upload-area input {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  opacity: 0;
  cursor: pointer;
}

.upload-area:focus-within {
  outline: 2px solid #0098ee;
}

.upload-area:hover,
.upload-area.dragging {
  background: #f1f7ff;
  border-color: #507eaf;
}

/* =========================
   RODAPÉ
========================= */

footer {
  border-top: none;
  padding: 15px 0 20px;
  margin-top: 0;

  text-align: center;
  font-size: 10px;
  font-weight: 600;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}

.footer p {
  margin-top: 15px;
}

/* REDES SOCIAIS */

.social-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  transition: .3s ease;
}

.social-icons svg {
  width: 17px;
  height: 17px;
}

.social-icons a:hover {
  transform: translateY(-3px);
  color: #507eaf;
}

/* =========================
   RESPONSIVIDADE
========================= */

@media (max-width: 1100px) {

  .header-container {
    width: calc(100% - 140px);
    grid-template-columns: 1fr auto;
    column-gap: 20px;
    row-gap: 12px;
  }

  .portal-brand {
    gap: 12px;
  }

  .portal-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-evenly;
    flex-wrap: wrap;
    padding-left: 0;
    gap: 15px;
  }

  .portal-nav a {
    padding: 10px 8px;
  }

  .portal-actions {
    grid-column: 2;
    grid-row: 1;
  }

  html {
    scroll-padding-top: 170px;
  }

}

@media (max-width: 850px) {

  .header-container {
    width: calc(100% - 100px);
    margin-left: 75px;
    padding: 10px 0;
    gap: 10px;
  }

  .portal-header .voltar-home {
    top: 25px;
    left: 10px;
    width: 40px;
    height: 40px;
  }

  .portal-nav {
    justify-content: center;
    gap: 12px;
  }

  .portal-actions {
    margin-left: auto;
  }

  html {
    scroll-padding-top: 190px;
  }

}

@media (max-width: 750px) {

  .quick {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

}

@media (max-width: 650px) {

  .header-container {
    width: calc(100% - 75px);
    margin-left: 65px;
  }

  .portal-brand img {
    width: 75px;
    height: 55px;
  }

  .portal-name {
    font-size: 10px;
  }

  .portal-actions {
    gap: 8px;
  }

  .header-user {
    display: none;
  }

  .portal-actions .brand-divider {
    display: none;
  }

  .portal-nav {
    gap: 8px;
  }

  .portal-nav a {
    font-size: 10px;
    padding: 10px 5px;
  }

  .hero {
    padding: 35px 0;
  }

  .portal-welcome h1 {
    font-size: 23px;
  }

  .portal-welcome p {
    font-size: 11px;
  }

  .profile-info {
    padding: 15px;
    font-size: 9px;
  }

  .profile img {
    min-height: 220px;
  }

  .profile-info p {
    margin: 12px 0 5px;
  }

  .avatar {
    width: 32px;
    height: 32px;
  }

  .pill {
    font-size: 8px;
  }

  h2 {
    font-size: 17px;
  }

  .subtitle {
    font-size: 11px;
  }

  .achievements,
  .requests {
    padding: 55px 0;
  }

  .achievement-grid {
    gap: 12px;
  }

  .lock {
    min-height: 150px;
    border-width: 4px;
  }

  .lock span {
    font-size: 55px;
  }

  .medals {
    gap: 8px;
  }

  .medals div {
    padding: 8px;
    font-size: 15px;
  }

  .medals b {
    font-size: 7px;
  }

  .stripe {
    padding: 20px 10px;
  }

  .stripe img {
    width: 25px;
    height: 25px;
  }

  .mission-heading {
    padding-top: 50px;
    flex-wrap: wrap;
  }

  .mission-grid {
    grid-template-columns: 1fr;
  }

  .quick {
    margin-top: 30px;
    gap: 15px;
  }

  .quick-panel {
    padding: 18px 12px;
  }

  .quick-panel h3 {
    font-size: 12px;
  }

  .shortcuts {
    padding-bottom: 25px;
  }

  .request-list h3 {
    font-size: 13px;
  }

  .footer {
    font-size: 9px;
  }

  footer {
    padding: 10px 0 15px;
  }

  .portal-header .voltar-home {
    width: 35px;
    height: 35px;
  }

  .voltar-home svg {
    width: 18px;
    height: 18px;
  }

}

@media (max-width: 450px) {

  .portal-brand {
    gap: 6px;
  }

  .portal-brand img {
    width: 60px;
  }

  .portal-brand .brand-divider {
    height: 28px;
  }

  .portal-name {
    font-size: 9px;
  }

  .notification {
    width: 30px;
    height: 30px;
  }

  .header-avatar {
    width: 30px;
    height: 30px;
    font-size: 10px;
  }

  .header-profile {
    gap: 4px;
  }

  .profile-arrow {
    width: 12px;
  }

  .portal-actions {
    gap: 5px;
  }

}

@media (max-width: 360px) {

  .header-container {
    grid-template-columns: 1fr;
  }

  .portal-actions {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    margin-left: 0;
  }

  .portal-nav {
    grid-row: 3;
  }

  html {
    scroll-padding-top: 230px;
  }

}

/* =========================
   ACESSIBILIDADE
========================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

}
