/* ===== VARIÁVEIS ===== */
:root {
  --color-black:        #080000;
  --color-orange:       #ED7206;
  --color-orange-hover: #f58520;
  --color-orange-light: rgba(237, 114, 6, 0.15);
  --color-gray:         #333;
  --color-gray-light:   #666;
  --color-gray-lighter: #f5f5f5;
  --color-white:        #ffffff;
  --font-main:          'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow-card:        0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-card-hover:  0 12px 40px rgba(0, 0, 0, 0.18);
  --radius:             16px;
  --transition:         0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  color: var(--color-gray);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8, 0, 0, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(237, 114, 6, 0.2);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo img { height: 48px; width: auto; }

/* Nav desktop — oculta em mobile */
.nav-desktop { display: none; }
@media (min-width: 768px) {
  .nav-desktop { display: flex; align-items: center; gap: 2rem; }
}

.nav-desktop a { color: var(--color-white); font-weight: 500; padding: 0.5rem 0; }
.nav-desktop a:hover { color: var(--color-orange); }

/* Botão CTA na nav */
.nav-desktop .btn-contact {
  background: var(--color-orange);
  color: var(--color-white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
}
.nav-desktop .btn-contact:hover { background: var(--color-orange-hover); }

/* Hamburguer — oculto em desktop */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: var(--transition);
}
@media (min-width: 768px) { .menu-toggle { display: none; } }

/* Nav mobile — drawer que aparece ao abrir o menu */
.nav-mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--color-black);
  padding: 1.5rem;
  flex-direction: column;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.nav-mobile.active { display: flex; }
.nav-mobile a { color: var(--color-white); padding: 0.75rem; }

/* ===== HERO ===== */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 1.5rem 4rem;
  background: linear-gradient(135deg, var(--color-black) 0%, #1a0a00 50%, var(--color-black) 100%);
  position: relative;
  overflow: hidden;
}

/* Imagem de fundo com opacidade reduzida */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80&w=2000') center/cover;
  opacity: 0.35;
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; max-width: 700px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero h1 span { color: var(--color-orange); }

.hero p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* ===== SEÇÕES GENÉRICAS ===== */
.section { padding: 4rem 0; }

.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-orange);
  margin-bottom: 0.5rem;
}
.section-title h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--color-black);
}

/* ===== CARDS DE PRODUTOS ===== */
.product-card {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
}

/* Área do logo */
.product-card-logo {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: var(--color-gray-lighter);
}
.product-card-logo img { max-height: 80px; max-width: 100%; object-fit: contain; }

/* Placeholder quando logo não existe */
.product-card-logo.logo-placeholder {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-orange);
  opacity: 0.7;
}

.product-card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.product-card-categoria {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  margin-bottom: 0.35rem;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.5rem;
}

.product-card p {
  font-size: 0.9375rem;
  color: var(--color-gray-light);
  line-height: 1.6;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-orange);
}
.product-card-link:hover { color: var(--color-orange-hover); }

/* ===== CARROSSEL DE MARCAS ===== */
.carousel-wrapper { position: relative; overflow: hidden; }

/* Desktop: grade automática */
@media (min-width: 768px) {
  .carousel-track {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0.25rem;
  }
}

/* Mobile: fila horizontal com scroll snapping */
@media (max-width: 767px) {
  .carousel-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 1.5rem;
    padding: 0.25rem;
  }
  .carousel-track::-webkit-scrollbar { display: none; }

  .carousel-track .product-card {
    flex: 0 0 85%;
    min-width: 85%;
    scroll-snap-align: center;
  }

  /* Dots de navegação */
  .carousel-nav {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 1.5rem;
  }
  .carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
  }
  .carousel-dot.active {
    background: var(--color-orange);
    transform: scale(1.3);
  }
}

/* ===== PAGINAÇÃO (desktop) ===== */
.carousel-pagination {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.pagination-btn {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-gray);
  cursor: pointer;
  transition: var(--transition);
}
.pagination-btn:hover:not(:disabled) {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}
.pagination-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.pagination-info { font-size: 0.875rem; color: var(--color-gray-light); }

.pagination-pages { display: flex; gap: 0.25rem; }

.pagination-page {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  background: var(--color-white);
  color: var(--color-gray);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}
.pagination-page:hover { border-color: var(--color-orange); color: var(--color-orange); }
.pagination-page.active {
  background: var(--color-orange);
  color: var(--color-white);
  border-color: var(--color-orange);
}

/* ===== O QUE FAZEMOS ===== */
.o-que-fazemos { background: var(--color-white); }

.oqf-intro {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.oqf-pilares {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.oqf-pilar {
  padding: 1.75rem;
  background: var(--color-gray-lighter);
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
}
.oqf-pilar:hover { border-color: var(--color-orange); transform: translateY(-4px); }

.oqf-pilar-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.oqf-pilar h3 { font-size: 1.125rem; color: var(--color-black); margin-bottom: 0.5rem; }
.oqf-pilar p  { font-size: 0.875rem; color: var(--color-gray-light); line-height: 1.5; }

/* Bloco de serviços */
.servicos-block { padding-top: 2rem; border-top: 1px solid rgba(0, 0, 0, 0.08); }

.servicos-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-gray-light);
  line-height: 1.7;
}

/* Desktop: grade de 3 colunas (itens exibidos diretamente, sem wrapper de slide) */
.servicos-track {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.servicos-slide { display: contents; }

@media (min-width: 768px)  { .servicos-track { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .servicos-track { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); } }

.servico-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--color-gray-lighter);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
}
.servico-item:hover { background: var(--color-orange-light); color: var(--color-black); }
.servico-item i { color: var(--color-orange); font-size: 1rem; flex-shrink: 0; }

/* Dots mobile do carrossel de serviços */
.servicos-dots { display: none; }
@media (max-width: 767px) {
  .servicos-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    gap: 0;
  }
  .servicos-track::-webkit-scrollbar { display: none; }
  .servicos-slide {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-width: 100%;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding-right: 1.5rem;
  }
  .servicos-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
  }
  .servicos-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: var(--transition);
  }
  .servicos-dot.active { background: var(--color-orange); transform: scale(1.2); }
}

/* ===== MARCAS ===== */
.marcas { background: var(--color-gray-lighter); }

.brands-error {
  padding: 2rem;
  text-align: center;
  color: var(--color-gray-light);
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius);
}

/* ===== FALE CONOSCO ===== */
.fale-conosco { background: var(--color-black); color: var(--color-white); }
.fale-conosco .section-title .label { color: var(--color-orange); }
.fale-conosco .section-title h2 { color: var(--color-white); }

/* Grid: info à esquerda, botões à direita */
.contact-wrapper {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) {
  .contact-wrapper { grid-template-columns: 1fr 1fr; align-items: start; }
}

.contact-info h3 { font-size: 1.25rem; margin-bottom: 1.5rem; line-height: 1.4; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact-item-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--color-orange-light);
  color: var(--color-orange);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-item h4 { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 0.25rem; }
.contact-item a,
.contact-item p  { color: var(--color-white); }

/* Coluna de botões de contato direto */
.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-actions p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

/* Botão de ação (WhatsApp / e-mail) */
.contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.contact-btn--whatsapp {
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  box-shadow: 0 4px 16px rgba(18, 140, 126, 0.3);
}
.contact-btn--whatsapp:hover { filter: brightness(1.08); transform: translateY(-2px); color: #fff; }

.contact-btn--email {
  background: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(237, 114, 6, 0.3);
}
.contact-btn--email:hover {
  background: var(--color-orange-hover);
  transform: translateY(-2px);
  color: var(--color-white);
}

/* ===== RODAPÉ ===== */
.footer {
  background: var(--color-black);
  color: var(--color-white);
  padding: 3rem 0 2rem;
}

.footer .container {
  display: grid;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (min-width: 768px) {
  .footer .container { grid-template-columns: 1fr auto; align-items: center; }
}

.footer-brand img { height: 40px; margin-bottom: 1rem; }
.footer-brand p   { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.8); font-size: 0.9375rem; }
.footer-links a:hover { color: var(--color-orange); }

.footer-copy {
  text-align: center;
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
}
