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

/* ========= HERO — HOME ========= */
.hero {
  background: linear-gradient(135deg, #0f2438 0%, #1b3a57 55%, #16314a 100%);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.75rem;
}

.hero-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.hero-highlight {
  color: #d0bb6c;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-card {
  background: linear-gradient(135deg, rgba(16, 40, 61, 0.75), rgba(27, 58, 87, 0.7));
  backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 1.5rem;
  position: relative;
  overflow: visible;
  border: 2px solid transparent;
}

/* Camada de brilho externo (glow) */
.hero-card::before {
  content: '';
  position: absolute;
  inset: -6px;
  background: linear-gradient(
    135deg,
    rgba(208, 187, 108, 0.4) 0%,
    rgba(230, 214, 168, 0.35) 25%,
    rgba(208, 187, 108, 0.4) 50%,
    rgba(168, 138, 63, 0.35) 75%,
    rgba(208, 187, 108, 0.4) 100%
  );
  border-radius: 26px;
  z-index: -2;
  filter: blur(8px);
  opacity: 0.8;
}

/* Borda neon sólida */
.hero-card::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(
    135deg,
    #d0bb6c 0%,
    #e6d6a8 25%,
    #d0bb6c 50%,
    #a88a3f 75%,
    #d0bb6c 100%
  );
  border-radius: 24px;
  z-index: -1;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 2px;
}

.hero-card ul li {
  list-style: none;
  position: relative;
  padding-left: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.hero-card ul li::before {
  content: "●";
  color: #d0bb6c;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.hero-card-title {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.hero-card-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.hero-card-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(208, 187, 108, 0.18);
  color: #e6d6a8;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.02em;
}

.hero-card-chip span {
  color: #d0bb6c;
}

.hero-card-content {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-top: 1rem;
}

.hero-card-cover {
  flex-shrink: 0;
  width: 140px;
  height: auto;
  position: relative;
}

.hero-card-cover img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
  box-shadow:
    1px 1px 0 1px #f1e9d8,
    2px 2px 0 1px #e6dac0,
    3px 3px 0 1px #dccca8,
    4px 4px 0 1px #d2be90,
    8px 12px 24px rgba(0, 0, 0, 0.5);
}

.hero-card-info {
  flex: 1;
  min-width: 0;
}

/* Botões do card em destaque. O flex-wrap é o que impede que "Comprar"
   escape para fora do card quando a janela é estreitada — antes isso era
   um display:flex escrito direto no HTML, sem permissão de quebrar linha. */
.hero-card-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card-actions .btn {
  flex: 1 1 auto;
  min-width: 0;
  justify-content: center;
  white-space: nowrap;
}

/* ========= RESPONSIVO ========= */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-card {
    order: -1;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 4.5rem;
  }

  .hero-card-content {
    flex-direction: column;
    align-items: center;
  }

  .hero-card-cover {
    width: 180px;
  }
}
