/* =========================================================
   Vancetto Seguros — Página de manutenção
   Identidade visual baseada no logo oficial.
   ========================================================= */

:root {
  --blue-primary: #0076c0;
  --blue-dark: #1e468a;
  --blue-soft: #e8f4fb;
  --blue-mist: #c5dff0;
  --grey: #808080;
  --white: #ffffff;
  --text: #1e468a;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--text);
  background: linear-gradient(
    160deg,
    var(--blue-soft) 0%,
    var(--white) 45%,
    var(--blue-mist) 100%
  );
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Camada sutil de atmosfera (sem competir com o logo) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 50% at 50% 20%,
      rgba(0, 118, 192, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 50% 40% at 80% 90%,
      rgba(30, 70, 138, 0.06) 0%,
      transparent 55%
    );
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100%;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 36rem;
  width: 100%;
}

/* --- Logo --- */
.logo {
  display: block;
  width: min(280px, 70vw);
  height: auto;
  margin-bottom: 2.5rem;
  animation:
    fadeRise 0.9s ease-out both,
    breathe 4.5s ease-in-out 1.2s infinite;
}

/* --- Tipografia --- */
.title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--blue-primary);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 0.85rem;
  animation: fadeRise 0.9s ease-out 0.25s both;
}

.subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  font-weight: 400;
  color: var(--grey);
  line-height: 1.6;
  max-width: 28rem;
  animation: fadeRise 0.9s ease-out 0.45s both;
}

/* --- Contato --- */
.contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: 2rem;
  animation: fadeRise 0.9s ease-out 0.65s both;
}

.contact-link {
  font-size: clamp(0.9rem, 2.2vw, 1rem);
  font-weight: 500;
  color: var(--blue-dark);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-primary);
  outline: none;
}

/* --- Animações --- */
@keyframes fadeRise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Respeita preferência do usuário por menos movimento */
@media (prefers-reduced-motion: reduce) {
  .logo,
  .title,
  .subtitle,
  .contact {
    animation: none;
  }
}

/* --- Mobile --- */
@media (max-width: 480px) {
  .logo {
    margin-bottom: 2rem;
  }

  .page {
    padding: 1.5rem 1.25rem;
  }
}
