/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  line-height: 1.6;
  background: 
    /* círculo dourado mais definido (aparece só no mobile) */
    radial-gradient(
      circle at center top,         
      rgba(255, 209, 140, 0.9) 0%,  
      rgba(192, 154, 96, 0.4) 20%, 
      rgba(0, 0, 0, 0) 40%          
    ),
    linear-gradient(
      to bottom,
      rgba(255, 210, 120, 0.6),
      rgba(57, 32, 13, 0.9),
      #000
    );
  background-attachment: fixed;
  background-size: cover;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  height: 90vh; /* quase toda a tela no mobile */
  background: url("img/fundo.jpg") no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  font-family: 'Playfair Display', serif;
  overflow: hidden;
}

/* Camada de gradiente */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom, 
    rgba(253, 252, 252, 0), 
    rgba(0, 0, 0, 0), 
    rgba(0,0,0,0.8)
  );
  z-index: 1;
}

/* Texto por cima */
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ecb018;
}

.hero-content p {
  font-size: 1.7rem;
  font-style: italic;
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 3rem 1rem;
}

.card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.6);
  background: linear-gradient(135deg, #1a1a1a, #2b1d0f);
}

.card-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-bg .bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.15;
  filter: blur(2px);
}

.card-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 2rem;
  gap: 1.5rem;
}

.card-content .main-img {
  width: 40%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.card-text {
  flex: 1;
  color: #fff;
}

.card-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-text h3 span {
  color: #d4af37;
}

.card-text p {
  font-size: 1rem;
  color: #bbb;
  margin-bottom: 1rem;
}

/* Botões */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.5rem;
  background: linear-gradient(45deg, #d4af37, #b8860b);
  color: #000;
  font-weight: bold;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: linear-gradient(45deg, #f1c40f, #d4af37);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(212,175,55,0.6);
}

/* Animações */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsivo */
@media (min-width: 768px) {
  .cards {
    flex-direction: row;
    justify-content: center;
  }
  .card {
    width: 30%;
  }
}

/* Ajuste apenas no mobile */
@media (max-width: 767px) {
  .hero {
    align-items: flex-end;   
    padding-bottom: 2%;    
  }
}

/* Ajuste apenas no desktop */
@media (min-width: 1024px) {
  .hero {
    background: none !important; /* remove o fundo duplicado */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }

  .hero-image {
    width: 380px;     /* ajuste conforme necessário */
    height: 480px;
    background: url("img/fundo.jpg") no-repeat center top;
    background-size: cover;
    margin-bottom: 2rem; /* espaço entre imagem e texto */
  }

  .hero-content {
    text-align: center;
  }

  .hero-content h1 {
    font-size: 4rem;
    color: #d4af37;
  }

  .hero-content p {
    font-size: 2rem;
  }
}