/* ==========================================================================
   NEXOGEN — Maintenance page
   Precisão. Ciência. Inovação.
   ========================================================================== */

:root {
  --blue: #0057b8;
  --blue-dark: #003b7a;
  --white: #ffffff;
  --light-blue: #f5f9fc;
  --text: #12263a;
  --text-muted: #4a5b6d;

  --font-sans: "Inter", "Helvetica Neue", Helvetica, Arial, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 40px;
  --space-5: 64px;
  --space-6: 96px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  min-height: 100dvh;
  background-color: var(--white);
  color: var(--text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Subtle abstract scientific/geometric background pattern.
   A faint triangular node-and-line lattice, evocative of molecular
   structure without depicting one literally. */
.bg-pattern {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%230057B8' stroke-width='1' stroke-opacity='0.05'%3E%3Cpath d='M0 70 L70 0 L140 70 L70 140 Z'/%3E%3Cpath d='M70 0 L70 140'/%3E%3Cpath d='M0 70 L140 70'/%3E%3C/g%3E%3Cg fill='%230057B8' fill-opacity='0.07'%3E%3Ccircle cx='0' cy='70' r='1.6'/%3E%3Ccircle cx='70' cy='0' r='1.6'/%3E%3Ccircle cx='140' cy='70' r='1.6'/%3E%3Ccircle cx='70' cy='140' r='1.6'/%3E%3Ccircle cx='70' cy='70' r='1.6'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 140px 140px;
  background-repeat: repeat;
  opacity: 0.6;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

/* ---------- Header / brand ---------- */

.brand {
  padding: var(--space-4) var(--space-5) 0;
}

.brand__name {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
}

/* ---------- Main hero content ---------- */

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-5) var(--space-4);
  gap: var(--space-2);
}

.hero__title {
  margin: 0 0 var(--space-2);
  max-width: 900px;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.03em;
  color: var(--blue-dark);
}

.hero__text {
  margin: 0;
  max-width: 560px;
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
}

.hero__text + .hero__text {
  margin-top: 2px;
}

.hero__tagline {
  margin-top: var(--space-3);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.75;
}

/* ---------- CTA button ---------- */

.cta {
  display: inline-block;
  margin-top: var(--space-3);
  padding: 17px 36px;
  background-color: var(--blue);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid var(--blue);
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  min-height: 44px;
  line-height: 1.2;
}

.cta:hover {
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 59, 122, 0.22);
}

.cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.cta:active {
  transform: translateY(0);
  box-shadow: none;
}

/* ---------- Footer ---------- */

.footer {
  padding: var(--space-3) var(--space-4) var(--space-4);
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  opacity: 0.85;
}

/* ---------- Responsive ---------- */

@media (max-width: 640px) {
  .brand {
    padding: var(--space-3) var(--space-3) 0;
  }

  .brand__name {
    font-size: 17px;
    letter-spacing: 0.14em;
  }

  .hero {
    padding: var(--space-4) var(--space-3);
    gap: var(--space-1);
  }

  .hero__title {
    font-size: clamp(26px, 8vw, 34px);
    letter-spacing: 0.02em;
  }

  .cta {
    width: 100%;
    max-width: 340px;
    padding: 16px 24px;
    text-align: center;
  }

  .footer {
    padding: var(--space-2) var(--space-3) var(--space-3);
  }
}

@media (max-width: 380px) {
  .hero__title {
    font-size: 24px;
  }
}
