:root {
  --navy: #182C62;
  --blue: #006FD0;
  --white: #FFFFFF;
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: radial-gradient(circle at 20% 0%, #1d378a 0%, transparent 55%),
              radial-gradient(circle at 85% 100%, #0a59a8 0%, transparent 50%),
              linear-gradient(160deg, #0e1a40 0%, #182C62 55%, #0b1330 100%);
  background-attachment: fixed;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- Luzes de fundo ---------- */
.orbs {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}

.orb--1 {
  width: 340px;
  height: 340px;
  background: #006FD0;
  top: -90px;
  left: -80px;
  animation: float 14s ease-in-out infinite;
}

.orb--2 {
  width: 300px;
  height: 300px;
  background: #2f6bff;
  bottom: -100px;
  right: -90px;
  animation: float 18s ease-in-out infinite reverse;
}

.orb--3 {
  width: 240px;
  height: 240px;
  background: #00a3ff;
  top: 45%;
  right: 60%;
  opacity: 0.3;
  animation: float 22s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(30px, -40px) scale(1.12); }
}

/* ---------- Camada de vidro (tela cheia) ---------- */
.glass {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* ---------- Card (conteúdo) ---------- */
.card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 440px;
  padding: 40px 30px 30px;
  text-align: center;
  animation: card-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes card-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- Perfil ---------- */
.profile {
  margin-bottom: 26px;
}

.logo-wrap {
  display: inline-block;
  margin: 0 auto 14px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45),
              0 0 0 1px rgba(255, 255, 255, 0.08);
  animation: pop-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

.logo {
  display: block;
  width: 250px;
  max-width: 68vw;
  height: auto;
}

@keyframes pop-in {
  from { opacity: 0; transform: scale(0.85); }
  to   { opacity: 1; transform: scale(1); }
}

.tagline {
  font-size: 1.08rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  opacity: 0.92;
}

.divider {
  display: block;
  width: 54px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

/* ---------- Links ---------- */
.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--white);
  color: var(--navy);
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.25s ease;
  animation: link-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.25s + var(--i) * 0.1s);
}

@keyframes link-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Brilho que cruza o botão no hover */
.link-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.link-btn:hover,
.link-btn:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 111, 208, 0.45);
  outline: none;
}

.link-btn:hover::before,
.link-btn:focus-visible::before {
  left: 125%;
}

.link-btn:active {
  transform: translateY(-1px);
}

.icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--blue), var(--navy));
  color: var(--white);
  box-shadow: 0 6px 14px rgba(0, 111, 208, 0.4);
  transition: transform 0.25s ease;
}

.link-btn:hover .icon {
  transform: scale(1.08) rotate(-4deg);
}

.label {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.3;
}

.label-title {
  font-size: 1rem;
  font-weight: 600;
}

.label-sub {
  font-size: 0.78rem;
  font-weight: 400;
  color: #5b6b8c;
}

.chevron {
  flex-shrink: 0;
  color: var(--blue);
  opacity: 0.55;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.link-btn:hover .chevron {
  transform: translateX(4px);
  opacity: 1;
}

/* ---------- Rodapé ---------- */
.card-footer {
  margin-top: 28px;
  font-size: 0.78rem;
  opacity: 0.65;
  letter-spacing: 0.3px;
}

/* ---------- Responsivo ---------- */
@media (max-width: 400px) {
  .card {
    padding: 32px 20px 24px;
  }

  .label-sub {
    font-size: 0.74rem;
  }
}

/* Acessibilidade */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
