/* ============================================ */
/* HERO SECTION - ALEX SANTIN TIM BUSINESS       */
/* ============================================ */

.hero-section {
  font-family: 'Inter', sans-serif;
  
  /* IMAGEM DE FUNDO PADRÃO (DESKTOP) */
  background-image: url('../IMG/bannergeisi.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  
  /* COR DE FUNDO FALLBACK */
  background-color: #0b1e3a;
  
  position: relative;
  padding: 100px 20px 60px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 90vh;
  
  /* IMPORTANTE: Criar novo contexto de empilhamento */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* OVERLAY ESCURO PARA MELHORAR LEGIBILIDADE */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.13);
  z-index: 1;
}

.hero-container {
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* ============================================ */
/* COLUNA ESQUERDA                              */
/* ============================================ */

.hero-content {
  animation: fadeUp 0.8s ease forwards;
  max-width: 50%; /* TEXTO OCUPA 50% DA LARGURA EM TODOS OS TAMANHOS */
}

.hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 17px;
  color: #fff;
  line-height: 1.5;
  margin-bottom: 30px;
  max-width: 540px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================ */
/* BOTÕES                                       */
/* ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  border: none;
}

.btn-primary {
  background-color: #EB0028;
  color: #ffffff;
}

.btn-primary:hover {
  color: #fff;
  background-color: #EB0028;
  transform: translateY(-2px);
}

.btn-primary span {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.btn-primary:hover span {
  transform: translateX(4px);
}

/* ============================================ */
/* AJUSTE PARA COMPUTADOR PEQUENO (992px - 1199px) */
/* ============================================ */

@media (min-width: 992px) and (max-width: 1199px) {
  .hero-section {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    min-height: auto;
    height: auto;
    padding: 70px 20px;
    align-items: center;
  }
  
  .hero-content {
    max-width: 50%; /* MANTÉM 50% DA LARGURA */
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 15px;
    max-width: 100%;
  }
  
  .btn {
    font-size: 13px;
    padding: 10px 20px;
  }
}

/* ============================================ */
/* AJUSTE PARA COMPUTADOR MAIOR (1200px+)        */
/* ============================================ */

@media (min-width: 1200px) {
  .hero-section {
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    min-height: auto;
    height: auto;
    padding: 120px 20px;
    align-items: center;
  }
  
  .hero-content {
    max-width: 50%; /* MANTÉM 50% DA LARGURA */
  }
  
  .hero-content h1 {
    font-size: 42px;
  }
  
  .hero-description {
    font-size: 16px;
    max-width: 100%;
  }
  
  .btn {
    font-size: 14px;
  }
}

@media (min-width: 1400px) {
  .hero-section {
    padding: 140px 40px;
  }
  
  .hero-content {
    max-width: 50%; /* MANTÉM 50% DA LARGURA */
  }
  
  .hero-content h1 {
    font-size: 46px;
  }
  
  .hero-description {
    font-size: 17px;
    max-width: 100%;
  }
  
  .btn {
    font-size: 15px;
    padding: 12px 24px;
  }
}

@media (min-width: 1600px) {
  .hero-section {
    padding: 160px 50px;
  }
  
  .hero-content {
    max-width: 50%; /* MANTÉM 50% DA LARGURA */
  }
  
  .hero-content h1 {
    font-size: 50px;
  }
  
  .hero-description {
    font-size: 18px;
    max-width: 100%;
  }
  
  .btn {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* ============================================ */
/* RESPONSIVO - TABLET (50% DA LARGURA)          */
/* ============================================ */

@media (max-width: 991px) {
  .hero-content {
    max-width: 55%; /* TEXTO OCUPA 50% DA LARGURA NO TABLET */
  }
  
  .hero-container {
    gap: 30px;
  }
  
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
    max-width: 100%;
  }
  
  .btn {
    font-size: 13px;
    padding: 10px 20px;
  }
  
  .hero-section {
    padding: 50px 20px 20px;
    min-height: auto;
    background-attachment: scroll;
  }
}

/* ============================================ */
/* RESPONSIVO - MOBILE (100% DA LARGURA)         */
/* ============================================ */

@media (max-width: 768px) {
  .hero-section {
    background-image: url('../IMG/bannercelular.png') !important;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh !important;
    align-items: flex-start !important;
    padding-top: 10px !important;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%; /* VOLTA PARA 100% NO MOBILE */
  }
  
  .hero-content h1 {
    font-size: 2rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-section {
    padding: 60px 20px 30px !important;
    min-height: 100vh !important;
  }
}

@media (max-width: 576px) {
  .hero-content {
    max-width: 100%; /* VOLTA PARA 100% NO MOBILE PEQUENO */
  }
  
  .hero-content h1 {
    font-size: 1.7rem;
  }
  
  .hero-description {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 12px 22px;
    font-size: 0.9rem;
  }
  
  .hero-section {
    padding: 50px 15px 30px !important;
  }
}

/* ============================================ */
/* ANIMAÇÕES                                    */
/* ============================================ */

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}