/* style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  font-weight: bolder; /* Considerar usar 'bold' ou um valor numérico como 700 */
  background: linear-gradient(to bottom, #333334, #0e0d0f);
  color: white;
  text-align: center;
  /* Adiciona padding no topo do body para compensar a altura do header fixo.
     Ajuste o valor (ex: 60px) de acordo com a altura real do seu header.
     A altura do header é roughly (padding-top + padding-bottom + altura da linha do texto).
     Ex: 10px + 10px + ~17px (para font 14px) = ~37px. Usar um valor como 50px-60px dá uma margem. */
  padding-top: 55px; /* Ajuste este valor conforme a altura do seu header */
}

header {
  background-color: red;
  color: white;
  padding: 15px 0; /* Aumentei um pouco o padding para dar mais espaço */
  font-weight: bold;
  font-size: 14px;
  position: fixed;   /* Fixa o header no topo da tela */
  top: 0;
  left: 0;
  width: 100%;       /* Faz o header ocupar toda a largura */
  z-index: 1000;     /* Garante que o header fique acima de outros elementos */
  box-shadow: 0 2px 5px rgba(0,0,0,0.3); /* Sombra sutil para destacar o header */
}

h2{
  color: #FACC15;
}

a {
  color: white;
  text-decoration: none; /* Remove o sublinhado padrão */
  transition: color 0.3s ease; /* Transição suave para a cor */
}

.image-container {
  width: 100%;
  max-width: 500px; /* Defina o tamanho máximo desejado */
  margin: 0 auto; /* Centraliza a div */
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}



/* Estilo geral das sections (Mobile First) */
section {
  padding: 2.5em 1.5em; /* Padding para mobile */
  font-size: 1.1em;
  line-height: 1.7em;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  transition: background-color 0.6s ease-in-out, opacity 0.6s ease-out, transform 0.6s ease-out;
  /* Em telas pequenas (mobile-first), as sections ocuparão a largura total disponível */
  box-sizing: border-box; /* Garante que padding e border não aumentem a largura total */
}

/* Tons progressivos de cinza escuro para preto com sombra discreta */
.alt-bg:nth-of-type(odd) {
  background: linear-gradient(180deg, #1a1a1a, #0f0f0f);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.alt-bg:nth-of-type(even) {
  background: linear-gradient(180deg, #222222, #171717);
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

/* Animação de entrada suave */
.alt-bg {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
}

.alt-bg.visible {
  opacity: 1;
  transform: translateY(0);
}

.countdown {
  font-size: 20px;
  margin-top: 5px;
}

.logo {
  margin: 30px 0 10px;
  font-size: 28px;
  font-weight: bold;
  color: #e6cf20e5;
  /* Se o logo estiver DENTRO do header, o padding-top do body
     e a altura do header precisarão ser recalculados. */
}

.highlight {
  color: #a89718;
  font-weight: bold;
}

.description {
  font-size: 18px;
  margin: 20px auto; /* 'auto' nas laterais centraliza se tiver width ou max-width */
  width: 90%;        /* Em mobile, ocupa 90% da largura do container pai (section) */
  max-width: 600px;  /* Em todas as telas, não passará de 600px,
                        mas será 90% se o container for menor que ~660px */
}

.date-button-wrapper {
  display: flex;
  flex-direction: column;  /* Um abaixo do outro */
  align-items: center;     /* Centraliza horizontalmente */
  justify-content: center; /* Centraliza verticalmente se necessário */
  margin-top: 30px;
  gap: 20px;               /* Espaçamento entre .date-box e botão */
}


.date-box {
  background: #4b24c7;
  display: inline-block;
  padding: 10px 20px;
  border-radius: 10px;
  margin: 15px auto;
  font-weight: bold;
}

.price-box {
  background: rgba(105, 103, 10, 0.8);
  border: 2px solid rgb(255, 255, 41);
  margin: 20px auto; /* Centraliza a caixa de preço */
  padding: 30px 20px;
  border-radius: 15px;
  max-width: 400px;  /* Largura máxima para a caixa de preço em todas as telas */
}

.old-price {
  color: red;
  text-decoration: line-through;
}

.new-price {
  font-size: 36px;
  font-weight: bold;
  color: rgb(242, 240, 240);
  margin: 10px 0;
}

.note {
  color: #fff6a9;
  margin-bottom: 20px;
}

.cta-button {
  font-size: 18px;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  background-color: #ff9100c9;
  color: rgb(10, 8, 8);
  font-weight: bold;
  cursor: pointer;
  animation: pulse 2s infinite;
  transition: transform 0.3s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    background-color: #fcad01;
  }
  50% {
    transform: scale(1.1);
    background-color: #cc7e00;
  }
  100% {
    transform: scale(1);
    background-color: #b06d02;
  }
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  color: #fff;
  padding: 15px 20px;
  text-align: center;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.8);
}

footer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  animation: glow 2s ease-in-out infinite alternate;
}

footer p strong {
  color: #ffcc00;
}

/* Efeito de transição - brilho no texto */
@keyframes glow {
  from {
    text-shadow: 0 0 5px #fff, 0 0 10px #ffcc00, 0 0 15px #ffcc00;
  }
  to {
    text-shadow: 0 0 10px #fff, 0 0 20px #ffcc00, 0 0 25px #ffcc00;
  }
}

/* Responsivo para telas pequenas */
@media (max-width: 480px) {
  footer p {
    font-size: 14px;
  }
}



/* Responsividade (Mobile First) */
/* Estilos base (acima) são para mobile. Abaixo, ajustes para telas maiores. */

/* Para tablets e telas um pouco maiores (ex: a partir de 768px) */
@media (min-width: 768px) {
  .description {
    font-size: 20px;
    /* max-width: 600px; já está definido globalmente, o que é bom. */
  }

  /* Faz as sections (conteúdo principal) ocuparem menos espaço e serem centralizadas */
  section {
    padding: 3em 2em;   /* Ajuste o padding para telas maiores */
    max-width: 720px;   /* Largura máxima para o conteúdo principal nesta tela */
    margin-left: auto;  /* Centraliza a section */
    margin-right: auto; /* Centraliza a section */
  }

  .logo {
    font-size: 32px; /* Exemplo: aumentar um pouco o logo */
  }
}

/* Para desktops e telas largas (ex: a partir de 1024px) */
@media (min-width: 1024px) {
  section {
    max-width: 960px; /* Conteúdo principal um pouco mais largo */
    padding: 3.5em 2.5em;
  }

  .description {
    font-size: 22px;
    /* max-width: 700px; /* Se quiser aumentar o max-width da descrição também */
  }

  .logo {
    font-size: 36px;
  }
}

/* Para telas muito largas (Opcional, ex: a partir de 1280px) */
@media (min-width: 1280px) {
  section {
    max-width: 1140px; /* Limite comum para containers em telas grandes */
  }
}