/* ====================================================== */
/* PASSO 1: DEFINIR O ESTADO INICIAL             */
/* ====================================================== */
/* Todos os elementos que vão animar começam invisíveis. */

.textoHome,
.suaMarca,
.suaMarca .destaque,
.Maisdoque,
.beneficios,
.divImgcamisa {
  opacity: 0;
}

/* ====================================================== */
/* PASSO 3: CRIAR AS REGRAS DE ATIVAÇÃO          */
/* ====================================================== */
/* As animações só serão aplicadas quando a section #home
   receber a classe .is-visible do JavaScript.
   Adicione este bloco no final do seu CSS.
*/

#home.is-visible .textoHome {
  animation: virDaEsquerda 1s ease-out forwards;
}

#home.is-visible .suaMarca {
  /* Adicionei um pequeno delay para um efeito mais legal */
  animation: subirTexto 1s ease-out forwards 0.2s;
}
#home.is-visible .destaque {
  /* Adicionei um pequeno delay para um efeito mais legal */
  animation: subirTexto 1s ease-out forwards 0.2s;
}

#home.is-visible .Maisdoque {
  animation: subirTexto 1s ease-out forwards 0.4s;
}

#home.is-visible .beneficios {
  animation: subirTexto 1s ease-out forwards 0.6s;
}

#home.is-visible .divImgcamisa {
  animation: subirSuave 1s ease-out forwards 0.2s;
}

#home {
  width: 100%;
  height: 100vh;
  padding: 5rem;
  padding-bottom: 0;

  display: flex;
  align-items: center;
  justify-content: space-between;

  background-image: url(../img/fundo\ home.png);
  background-position: center;
  /* centraliza a imagem */
  background-size: cover;
  /* cobre toda a área, como object-fit: cover */
  background-repeat: no-repeat;
  /* evita repetição */

  position: relative;
  overflow: hidden;
}

.geralhome {
  display: flex;
  align-items: center;
  justify-content: center;
}

.textoHome {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  gap: 1.2rem;
  z-index: 2;
  margin-bottom: 10rem;
}

.suaMarca {
  font-size: 3.8rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.suaMarca .destaque {
  color: #0a225c;
  display: inline-block;
  position: relative;
}

.Maisdoque {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.6;
  width: 90%;
}

.beneficios {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.8rem 0.5rem;
  margin-top: 1rem;
  font-size: 1rem;
  color: #ffffff;
}

.beneficios p {
  display: flex;
  align-items: center;
  /* alinha texto e ícone no centro da linha */
  gap: 0.5rem;
  /* espaço entre ícone e texto */
  margin: 0;
  /* remove margem padrão do <p> */
}

.beneficios svg {
  flex-shrink: 0;
  /* evita o svg encolher */
}

.check {
  color: #ff0026;
  font-weight: bold;
  margin-right: 6px;
}

.tituloCamisa {
  font-family: "Bubblegum Sans", sans-serif;
  font-size: 3rem;
  color: white;
}

.divImgcamisa {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 1;
  width: 50%;
}

.imgCamisaHome {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
}

.imgCamisaHome img {
  width: 100%;
  max-width: 900px;
  object-fit: cover;
}

.btn-home {
  display: flex;
  gap: 1rem;
  /* espaçamento entre os botões */
  margin-top: 2.5rem;
}

.btn-home-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.75rem;
  padding: 0.8rem 2.6rem;
  background: linear-gradient(to right, #a30d24, #d4203c);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  margin: 0;
  z-index: 1;
  /* garante que o texto fique na frente do ::before */
}

.btn-home-home::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, #d4203c, #a30d24);
  transform: translateX(-100%);
  transition: transform 0.5s ease-in-out;
  z-index: -1;
}

/* --- BOTÃO BRANCO (SEM ANIMAÇÃO) --- */
.btn-home-home1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0.75rem;
  padding: 0.8rem 2.6rem;
  background: white;
  color: #a30d24;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0.625rem;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  margin: 0;
  border: 1px solid #a30d24;
  box-sizing: border-box;
}

/* CONTEÚDO (TEXTO/ÍCONE) - Regra continua igual para os dois */
.btn-home-home span,
.btn-home-home img,
.btn-home-home1 span,
.btn-home-home1 img {
  position: relative;
  z-index: 2;
}

/* EFEITO DE HOVER PARA O BOTÃO VERMELHO */
.btn-home-home:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ANIMAÇÃO ACONTECE NO HOVER DO BOTÃO VERMELHO */
.btn-home-home:hover::before {
  transform: translateX(0);
}

/* EFEITO DE HOVER PARA O BOTÃO BRANCO (MAIS SIMPLES) */
.btn-home-home1:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* EFEITO DE CLIQUE - Regra continua igual para os dois */
.btn-home-home:active,
.btn-home-home1:active {
  transform: translateY(0);
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
}
