/* =============================================
   HOME — index.html
   ============================================= */

#home-page {
  position: relative;
  overflow: hidden;
  background: #eef5f8;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* --- Hero Background --- */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg .photo-layer {
  position: absolute;
  inset: 0;
  background-image: url('../assets/img/hero.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 1;
}

.hero-bg .gradient-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      rgba(245, 249, 251, 0.88) 0%,
      rgba(245, 249, 251, 0.78) 22%,
      rgba(245, 249, 251, 0.55) 38%,
      rgba(245, 249, 251, 0.20) 58%,
      rgba(245, 249, 251, 0.05) 78%,
      rgba(245, 249, 251, 0.00) 100%);
}

.hero-bg .glow1 {
  position: absolute;
  width: 760px;
  height: 760px;
  left: -180px;
  top: 120px;
  background: radial-gradient(circle, rgba(186, 228, 242, 0.28) 0%, transparent 68%);
  pointer-events: none;
}

.hero-bg .glow2 {
  position: absolute;
  width: 420px;
  height: 420px;
  left: 40px;
  bottom: 60px;
  background: radial-gradient(circle, rgba(212, 238, 246, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

/* --- Hero Content --- */
.hero-section {
  position: relative;
  z-index: 10;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 120px 60px 80px;
  max-width: 620px;
  animation: heroIn 0.9s cubic-bezier(.22,.68,0,1.2) both;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(177, 223, 229, 0.52);
  border: none;
  color: #3b6770;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 28px;
  width: fit-content;
  box-shadow: 0 2px 10px rgba(120, 170, 185, 0.12);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #6db6c7;
  border-radius: 50%;
  animation: blink 2.2s infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(58px, 5.8vw, 78px);
  font-weight: 700;
  line-height: 0.98;
  color: #0f1728;
  margin-bottom: 18px;
  letter-spacing: -1.2px;
  max-width: 520px;
}

.hero-title em {
  display: block;
  margin-top: 8px;
  font-style: italic;
  font-weight: 600;
  color: #58b8cf;
}

.hero-sub {
  font-size: 20px;
  font-weight: 300;
  color: rgba(15, 23, 40, 0.72);
  line-height: 1.7;
  margin-bottom: 42px;
  max-width: 490px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* botão igual ao login, porém maior e mais destacado */
.btn-outline-lg {
  background: transparent;
  color: #2d78dc; /* nova cor */

  border: 1px solid #2d78dc;
  border-radius: 12px;

  padding: 16px 34px; /* maior */
  font-size: 18px; /* maior */
  font-weight: 500;

  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
}

/* hover igual ao login */
.btn-outline-lg:hover {
  background: rgba(45, 120, 220, 0.08);
  color: #1e63c3;
  border-color: #1e63c3;
}

/* clique */
.btn-outline-lg:active {
  transform: scale(0.98);
}

/* ---- Responsivo ---- */
@media (max-width: 992px) {
  .hero-section {
    padding: 100px 40px 60px;
    max-width: 560px;
  }

  .hero-title {
    font-size: 56px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 90px 24px 40px;
    max-width: 100%;
  }

  .hero-title {
    font-size: 42px;
    line-height: 1.02;
  }

  .hero-title em {
    margin-top: 6px;
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 14px;
    letter-spacing: 1.2px;
  }

  .hero-sub {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero-actions .btn-primary,
  .hero-actions a,
  .hero-actions button {
    font-size: 18px;
    padding: 14px 24px;
  }
}