/* Estilos Completos para Página de Marcas - VERSÃO CORRIGIDA */

/* CSS Variables */
:root {
  --color-orange: #f97316;
  --color-orange-dark: #ea580c;
  --color-white: #ffffff;
  --color-black: #000000;
  --color-zinc-300: #d4d4d8;
  --color-zinc-400: #a1a1aa;
  --color-zinc-700: #3f3f46;
  --color-zinc-800: #27272a;
  --color-zinc-900: #18181b;
}

/* Reset e Base */
.main-modern {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

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

/* Modern Brands Hero Section - SIMPLIFICADO */
.brands-hero-modern {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000000; /* Apenas fundo preto simples */
  padding: 2rem 0;
  width: 100%;
}

/* Brands Container - CORRIGIDO */
.brands-container {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  justify-items: center;
  min-height: 100vh;
  padding: 2rem 4rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

/* Brands Content */
.brands-content-modern {
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* Brands Title */
.brands-title-modern {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  color: var(--color-white);
  word-wrap: break-word;
  hyphens: auto;
}

.brands-highlight {
  position: relative;
  display: inline-block;
}

.brands-highlight .highlight-text {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 2;
}

/* Brands Subtitle */
.brands-subtitle-modern {
  font-size: 1.25rem;
  color: var(--color-zinc-300);
  margin-bottom: 3rem;
  line-height: 1.6;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Brands Stats */
.brands-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

.brands-stats .stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
}

.brands-stats .stat-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--color-white);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3);
}

.brands-stats .stat-content {
  display: flex;
  flex-direction: column;
}

.brands-stats .stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 1;
}

.brands-stats .stat-label {
  font-size: 0.875rem;
  color: var(--color-zinc-400);
  margin-top: 0.25rem;
}

.brands-stats .stat-divider {
  width: 1px;
  height: 3rem;
  background-color: var(--color-zinc-700);
}

/* Brands Trust */
.brands-trust {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.brands-trust .trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-zinc-400);
  font-size: 0.875rem;
  font-weight: 500;
}

.brands-trust .trust-item i {
  color: var(--color-orange);
  font-size: 1.125rem;
}

/* Hero Section Antiga (manter para compatibilidade) */
.hero-brands {
  position: relative;
  padding: 6rem 0 4rem;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2d2d2d 100%);
  overflow: hidden;
}

.hero-background {
  position: relative;
  z-index: 2;
}

.hero-content {
  text-align: center;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #000;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 2rem;
  animation: pulse 2s infinite;
}

.hero-badge i {
  color: #000;
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #f97316, #ea580c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
}

.hero-description {
  font-size: 1.25rem;
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 12px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(249, 115, 22, 0.2);
  border-color: #f97316;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #f97316;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: #b3b3b3;
  font-weight: 500;
}

/* Brands Showcase Section */
.brands-showcase {
  padding: 6rem 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
  position: relative;
  max-width: 100%;
  width: 100%;
}

.brands-showcase::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.brands-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;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #b3b3b3;
  line-height: 1.6;
}

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

/* Premium Brand Cards */
.premium-card {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  cursor: pointer;
  
}

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

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

.premium-card:hover {
  transform: translateY(-10px);
  border-color: #f97316;
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.2);
}

.card-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.premium-card:hover .card-glow {
  opacity: 0.3;
}

.brand-header {
  position: relative;
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  background: white;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(1.1);
}

/* .premium-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
} */

.brand-content {
  padding: 0 2rem 2rem;
  text-align: center;
}

.brand-name {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.brand-description {
  font-size: 1rem;
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.brand-stats {
  display: flex;
  justify-content: space-between;
  padding: 1.5rem 0;
  margin-bottom: 2rem;
  border-top: 1px solid rgba(249, 115, 22, 0.2);
  border-bottom: 1px solid rgba(249, 115, 22, 0.2);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat:not(:last-child) {
  border-right: 1px solid rgba(249, 115, 22, 0.2);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f97316;
  margin-bottom: 0.25rem;
}

.brand-stats .stat-label {
  font-size: 0.75rem;
  color: #b3b3b3;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-brand {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #000;
  padding: 1rem 2rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-brand:hover::before {
  left: 100%;
}

.btn-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
}

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

.btn-brand:hover i {
  transform: translateX(5px);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 6rem 0;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  position: relative;
  max-width: 100%;
  width: 100%;
}

.why-choose-us::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 25% 25%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(234, 88, 12, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
  max-width: 100%;
}

.benefit-card {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

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

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

.benefit-card:hover {
  transform: translateY(-10px);
  border-color: #f97316;
  box-shadow: 0 20px 40px rgba(249, 115, 22, 0.15);
}

.benefit-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  overflow: hidden;
}

.benefit-icon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.benefit-card:hover .benefit-icon::before {
  left: 100%;
}

.benefit-icon i {
  font-size: 2rem;
  color: #000;
  z-index: 2;
  position: relative;
}

.benefit-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.benefit-card p {
  font-size: 1rem;
  color: #b3b3b3;
  line-height: 1.6;
}

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

/* Responsividade */
@media (max-width: 1200px) {
  .brands-container {
    padding: 2rem 1.5rem;
  }
}

@media (min-width: 1024px) {
  .brands-container {
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    padding: 2rem 4rem;
  }

  .brands-content-modern {
    text-align: left;
    margin: 0;
  }

  .brands-stats {
    justify-content: flex-start;
  }

  .brands-trust {
    justify-content: flex-start;
  }
}

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

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

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

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

  .brands-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .hero-stats {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-brands {
    padding: 4rem 0 3rem;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
  }

  .stat-item {
    width: 100%;
    max-width: 250px;
  }

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

  .brands-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .brands-showcase,
  .why-choose-us {
    padding: 4rem 0;
  }

  .brands-container {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .brands-stats {
    flex-direction: column;
    gap: 1.5rem;
  }

  .brands-stats .stat-divider {
    width: 3rem;
    height: 1px;
  }

  .brands-trust {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .brand-name {
    text-align: center;
  }

  .brand-description {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 0 1rem;
  }

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

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

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

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

  .section-subtitle {
    font-size: 1rem;
  }

  .brand-header {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .brand-logo {
    width: 100px;
    height: 100px;
  }

  .brand-stats {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(249, 115, 22, 0.2);
    padding-bottom: 1rem;
  }

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

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

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

  .brands-container {
    padding: 1rem 0.5rem;
    min-height: auto;
  }

  .brands-stats .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .brands-stats .stat-number {
    font-size: 1.5rem;
  }

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

@media (max-width: 320px) {
  .brands-container {
    padding: 0.5rem;
  }

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

  .brands-title-modern {
    font-size: 2rem;
  }

  .brands-subtitle-modern {
    font-size: 1rem;
  }
}

@media (min-width: 1600px) {
  .brands-container {
    max-width: 1600px;
    padding: 2rem 6rem;
  }
}

@media (min-width: 1920px) {
  .brands-container {
    max-width: 1800px;
    padding: 2rem 8rem;
  }
}

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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .premium-card,
  .btn-brand,
  .benefit-card {
    transition: none;
  }

  .hero-badge {
    animation: none;
  }
}

/* Dark mode improvements */
@media (prefers-color-scheme: dark) {
  .premium-card {
    border-color: rgba(249, 115, 22, 0.3);
  }

  .brands-showcase {
    background: linear-gradient(135deg, #0a0a0a 0%, #000 100%);
  }
}