/* Estilos para a página de acessórios - VERSÃO CORRIGIDA */

/* Hero Section */
.hero-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero-content {
  flex: 1;
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: #f97316;
  position: relative;
}

.hero-title .highlight::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ff8c42);
  border-radius: 2px;
}

.hero-description {
  font-size: 1.25rem;
  color: #e5e7eb;
  line-height: 1.6;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #f97316;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.floating-card {
  background: linear-gradient(135deg, #1f2937, #374151);
  border: 2px solid #f97316;
  border-radius: 20px;
  padding: 2rem 3rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  text-align: center;
}

.floating-card i {
  font-size: 3rem;
  color: #f97316;
  margin-bottom: 1rem;
  display: block;
}

.floating-card span {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(1deg);
  }
  50% {
    transform: translateY(-5px) rotate(-1deg);
  }
  75% {
    transform: translateY(-15px) rotate(0.5deg);
  }
}

/* Accessories Section */
.accessories-section {
  padding: 4rem 0;
  scroll-margin-top: 100px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 100%;
  width: 100%;
}

.section-title {
  text-align: center;
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

.section-header,
.section-title {
  text-align: center;
  display: block;
  width: 100%;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #f97316, #ff8c42);
  border-radius: 2px;
}

/* Accessories Grid */
.accessories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 100%;
}

.accessory-card {
  background: linear-gradient(145deg, #000000, #111827);
  border: 1px solid #374151;
  border-radius: 20px;
  padding: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  cursor: pointer;
  width: 100%;
}

.accessory-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accessory-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: #f97316;
  box-shadow: 0 25px 50px rgba(249, 115, 22, 0.2);
}

.accessory-card:hover::before {
  opacity: 1;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  position: relative;
  z-index: 2;
}

.accessory-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f97316, #ff8c42);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(249, 115, 22, 0.3);
  transition: transform 0.3s ease;
}

.accessory-card:hover .accessory-icon {
  transform: scale(1.1) rotate(5deg);
}

.accessory-icon i {
  font-size: 2rem;
  color: #000;
}

.card-badge {
  background: linear-gradient(135deg, #f97316, #ff8c42);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.card-content {
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
}

.card-description {
  font-size: 1rem;
  color: #9ca3af;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
}

.card-features li:last-child {
  margin-bottom: 0;
}

.card-features i {
  color: #f97316;
  font-size: 0.75rem;
  width: 12px;
  height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-footer {
  padding: 1.5rem 2rem 2rem;
  position: relative;
  z-index: 2;
}

.btn-explore {
  width: 100%;
  background: linear-gradient(135deg, #f97316, #ff8c42);
  color: #000;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-explore .btn-accessory {
  font-size: 0.8rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  text-transform: uppercase;
  font-weight: 700;
}

.btn-explore:hover {
  background: linear-gradient(135deg, #ea580c, #f97316);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.btn-explore i {
  transition: transform 0.3s ease;
}

.btn-explore:hover i {
  transform: translateX(4px);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: linear-gradient(135deg, #f97316, #ff8c42);
  color: #000;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ea580c, #f97316);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #f97316;
  border-color: #f97316;
}

.btn-secondary:hover {
  background: #f97316;
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.3);
}

/* Container principal */
.container {
  padding-left: 2rem;
  padding-right: 2rem;
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Responsividade */
@media (max-width: 1200px) {
  .accessories-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    text-align: center;
    padding: 3rem 0 4rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .hero-content {
    margin-bottom: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 2rem;
  }

  .floating-card {
    padding: 1.5rem 2rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .accessories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .section-title {
    font-size: 3rem;
  }

  .accessories-grid {
    grid-template-columns: 1fr;
  }

  .accessory-card {
    margin: 0;
  }

  .card-header {
    padding: 1.5rem 1.5rem 1rem;
  }

  .card-content {
    padding: 0 1.5rem 1rem;
  }

  .card-footer {
    padding: 1rem 1.5rem 1.5rem;
  }

  .accessory-icon {
    width: 60px;
    height: 60px;
  }

  .accessory-icon i {
    font-size: 1.5rem;
  }

  .card-title {
    font-size: 1.25rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

@media (max-width: 320px) {

  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media (min-width: 1400px) {
  .accessories-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1800px) {
  .accessories-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Animações */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accessory-card {
  animation: slideInUp 0.6s ease-out forwards;
}

.accessory-card:nth-child(1) {
  animation-delay: 0.1s;
}
.accessory-card:nth-child(2) {
  animation-delay: 0.2s;
}
.accessory-card:nth-child(3) {
  animation-delay: 0.3s;
}
.accessory-card:nth-child(4) {
  animation-delay: 0.4s;
}
.accessory-card:nth-child(5) {
  animation-delay: 0.5s;
}
.accessory-card:nth-child(6) {
  animation-delay: 0.6s;
}
.accessory-card:nth-child(7) {
  animation-delay: 0.7s;
}

/* Estados iniciais para animação */
.accessory-card {
  opacity: 0;
  transform: translateY(30px);
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .accessory-card {
    animation: none;
  }
}

/* Previne scroll horizontal */
html,
body {
  overflow-x: hidden;
}

/* Box-sizing global */
*,
*::before,
*::after {
  box-sizing: border-box;
}
