/* === Reset e Configurações Gerais === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f4f6f8;
  color: #333;
  line-height: 1.6;
  padding-bottom: 40px;
}

/* === Header (Botão Voltar) === */
header {
  position: absolute; /* Fica sobre a imagem */
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 10; /* Garante que fique acima da imagem */
}

header a {
  text-decoration: none;
  color: #fff; /* Texto branco para contrastar com a imagem (se for escura) */
  background-color: rgba(0, 0, 0, 0.5); /* Fundo semitransparente para leitura */
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.9rem;
  transition: background 0.3s ease;
}

header a:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* === Hero Container (A Imagem Grande) === */
.hero-container {
  width: 100%;
  height: 60vh; /* Ocupa 60% da altura da tela */
  overflow: hidden;
  position: relative;
  background-color: #ddd; /* Cor de fundo enquanto carrega */
}

.hero-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Corta a imagem proporcionalmente para preencher o espaço */
  object-position: center; /* Centraliza a imagem */
  display: block;
}

/* === Main (O Conteúdo do Card) === */
main {
  max-width: 800px;
  width: 90%; /* Margem lateral em telas pequenas */
  margin: -60px auto 0; /* Margem negativa para subir sobre a imagem */
  background-color: #ffffff;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); /* Sombra suave */
  position: relative;
  z-index: 2; /* Fica acima da imagem */
}

/* === Tipografia e Elementos Internos === */
h1 {
  font-size: 2rem;
  color: #111;
  margin-bottom: 10px;
}

.price {
  font-size: 1.8rem;
  color: #27ae60; /* Verde dinheiro */
  font-weight: 800;
  margin-bottom: 25px;
}

p {
  margin-bottom: 20px;
  color: #555;
  font-size: 1.05rem;
}

strong {
  color: #000;
}

/* === Botão WhatsApp === */
.btn-whats {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, background-color 0.2s;
  width: 100%; /* Largura total no celular */
  text-align: center;
}

.btn-whats:hover {
  background-color: #128c7e;
  transform: translateY(-3px); /* Efeito de levitação */
}
/* === Adicione ao final do seu modelo.css === */

/* Estilo do ícone dentro do botão */
.btn-whats svg {
  width: 24px; /* Tamanho do ícone */
  height: 24px;
  margin-right: 12px; /* Espaço entre o ícone e o texto */
  fill: currentColor; /* O ícone herda a cor branca do texto */
  flex-shrink: 0; /* Garante que o ícone não amasse em telas muito pequenas */
}

/* Ajuste fino para o texto ficar bem alinhado com o ícone */
.btn-whats span {
    display: inline-block;
    line-height: 1; /* Remove espaçamento extra de linha */
    padding-top: 2px; /* Pequeno ajuste visual vertical */
}
/* === Responsividade (Ajustes para Celular) === */
@media (max-width: 768px) {
  .hero-container {
    height: 45vh; /* Imagem um pouco menor no celular */
  }

  main {
    padding: 25px;
    margin-top: -40px;
    width: 95%;
  }

  h1 {
    font-size: 1.5rem;
  }

  .price {
    font-size: 1.5rem;
  }
}