/* Identidade baseada na referência visual do +IFMG: verde e azul-petróleo. */
:root {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
  color: #123f4b;
  background: #f5f8f7;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

.maintenance {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  justify-items: center;
  align-items: center;
  gap: clamp(1.5rem, 5vh, 3.5rem);
  padding: clamp(1rem, 4vw, 2.5rem) clamp(1rem, 5vw, 3rem);
}

.institution {
  width: min(100%, 34.75rem);
}

.institution__logo {
  display: block;
  width: 100%;
  height: auto;
}

.notice {
  width: min(100%, 47rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.notice__logo {
  display: block;
  width: clamp(4.5rem, 13vw, 6.25rem);
  height: auto;
  margin: 0 0 clamp(1.25rem, 3.5vh, 2rem);
  padding: 0.65rem;
  background-color: #08745d;
}

.notice h1 {
  max-width: 42rem;
  margin: 0;
  color: #123f4b;
  font-size: clamp(1.25rem, 3.1vw, 2rem);
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.notice__signature {
  margin: 1.25rem 0 0;
  color: #176c59;
  font-size: clamp(1rem, 2vw, 1.125rem);
  font-weight: 600;
  line-height: 1.5;
}

.gears {
  display: block;
  width: clamp(3.25rem, 8vw, 4.5rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

@media (max-width: 480px) {
  .maintenance {
    gap: clamp(1.25rem, 4vh, 2rem);
    padding-inline: 1.25rem;
  }

  .institution { width: min(100%, 27rem); }
  .notice { width: 100%; }
  .notice h1 { line-height: 1.45; }
  .gears { width: 3rem; }
}

@media (min-width: 900px) and (min-height: 650px) {
  .maintenance { gap: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  .gears { visibility: hidden; }
}
