/* ===== INICIO BANNER ===== */
.banner {
    position: relative;

    min-height: 80vh; 
    padding: 120px 20px 60px;

    background: linear-gradient(rgba(0, 0, 0, 0.50), rgba(0, 0, 0, 0.50)),
    url('img/autopecas.png') center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    overflow: hidden;
}

/* CONTEÚDO */
.banner-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: fadeUp 1s ease-out;
}

/* TEXTOS */
.banner h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* BOTÃO */
.btn-primary2 {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
    transition: 0.3s;
    animation: pulse 2s infinite;
}

.btnbanner {
    text-align: left;
}

/* ===== RESPONSIVO ===== */
@media (max-width: 768px) {

    .banner {
        padding: 140px 20px 80px; /* mais espaço topo (header) */
        text-align: center;
    }

    .banner-content {
        max-width: 100%;
    }

    .banner h1 {
        font-size: 2.2rem;
        line-height: 1.2;
    }

    .banner h3 {
        font-size: 1.2rem;
    }

    .btnbanner {
        text-align: center; /* botão centralizado no mobile */
    }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}
/* ===== FIM BANNER ===== */




/* ===== INICIO SECTION HERO CAR ===== */
.hero-car {
  background: radial-gradient(circle at top, #1a1a1a, #000);
  padding: 80px 20px 40px;
  color: #fff;
  overflow: hidden;
}

/* CONTAINER */
.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* TEXTO */
.hero-center {
  text-align: center;
  max-width: 800px;
}

.hero-center h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* CARRO */
.car-image {
  width: 700px;
  max-width: 100%;
  animation: float 4s ease-in-out infinite;
}

/* ===== CARDS ===== */
.hero-left,
.hero-services,
.hero-cta {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 16px;
  width: 220px;
  transition: all 0.3s ease;
}

/* POSIÇÕES */
.hero-left {
  position: absolute;
  text-align: center;
   left: -80px;
  top: 10%;
  transform: translateY(-50%);
}


.hero-services {
  text-align: left;
  position: absolute;
  right: -20px;
  top: 10%;
  transform: translateY(-50%);
}

.hero-cta {
  position: absolute;
  right: -20px;
  bottom: -80px;
  z-index: 1;
}

/* HOVER CARDS */
.hero-left:hover,
.hero-services:hover,
.hero-cta:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* TEXTOS */
.hero-left h3 {
  color: #ff3b3b;
}

.hero-left img {
  width: 300px;
}

.hero-left p,
.hero-cta p,
.hero-services li {
  font-size: 0.85rem;
  color: #ccc;
  margin-right: 20px;
}

.hero-services ul {
  list-style: none;
  padding-top: 10px;
}

.hero-services .tag {
  margin-left: 25px;
  background: #ff3b3b;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
}

.services-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
  margin-left: 10px;
}

.services-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: #ddd;
}

/* bolinha moderna */
.services-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 6px;
  height: 6px;
  background: #ff3b3b;
  border-radius: 50%;
}

/* ===== BOTÃO ===== */
.btn-red {
  display: inline-block;
  background: #ff3b3b;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  margin-left: 35px;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}

.btn-red:hover {
  transform: translateY(-2px);
}

/* BRILHO */
.btn-red::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 100%;
  background: rgba(255,255,255,0.2);
  top: 0;
  left: -120%;
  transform: skewX(-20deg);
}

.btn-red:hover::after {
  animation: shine 0.8s forwards;
}

/* ===== STATS ===== */
.hero-stats {
  margin-top: 0px;
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.hero-stats div {
  background: rgba(255,255,255,0.05);
  padding: 15px 20px;
  border-radius: 30px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.2rem;
}

.hero-stats span {
  font-size: 0.8rem;
  color: #ccc;
}

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

/* FADE UP */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

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

/* FLOAT CARRO */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* BOTÃO BRILHO */
@keyframes shine {
  100% {
    left: 120%;
  }
}

/* ===== RESPONSIVO ===== */
@media (max-width: 1024px) {
  .hero-left,
  .hero-services,
  .hero-cta {
    position: static;
    margin: 15px auto;
  }

  .hero-cta p {
    margin-left: 15%;
  }

  .hero-left img {
    margin-right: 25%;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}
/* ===== FIM SECTION HERO CAR ===== */