* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #111;
  line-height: 1.4;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* TOPBAR */
.topbar {
  background: #fff;
  border-bottom: none;
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*padding: 10px 0;*/
  margin: 0 auto;
}

.endereco {
  font-size: 14px;
  color: #333;
  text-align: right;
  margin-top: -6px; /* ajuste fino */
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
}
.brand img {
  height: 70px;
  width: auto;
}
.site-title {
  font-size: 20px;
  font-weight: 800;
}

/* NAV */
nav {
  background: #fff;
}
nav .container {
  display: flex;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: wrap;
}
nav a {
  color: #0066ff;
  text-decoration: none;
  font-weight: 600;
}
nav a:hover { text-decoration: underline; }







/* controles */
.banner-controls {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 2;
}
.banner-controls button {
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
}


  
/* PRODUTOS */
.content { padding: 40px 16px; }
.section-title { font-size: 20px; margin-bottom: 14px; }
.brands {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.card {
  flex: 1 1 300px;
  background: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}
.card h4 { color: #0066ff; margin-bottom: 8px; }

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  padding: 28px 16px;
  margin-top: 36px;
}
footer .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 14px;
}

/* MARCAS PARCEIRAS SLIM */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  background: #ffffff; /* cor de fundo suave */
  padding: 12px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.marquee-content {
  display: inline-flex;
  align-items: center;
  gap: 40px; /* espaço entre logos */
  animation: scroll 30s linear infinite;
}

.marquee-content img {
  height: 35px;   /* logos menores */
  width: auto;
  flex-shrink: 0;
  opacity: 0.9;
  transition: transform 0.3s, opacity 0.3s;
}

.marquee-content img:hover {
  transform: scale(1.1);
  opacity: 1;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* SEÇÃO DE SERVIÇOS */
.servicos {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.servicos-titulo {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.servicos-titulo::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #0066ff;
  margin: 8px auto 0;
  border-radius: 2px;
}

.servicos-lista {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.servico-card {
  background: #f9f9f9;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  flex: 1 1 250px;
  max-width: 280px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.servico-card i {
  font-size: 50px;
  color: #0066ff;
  margin-bottom: 15px;
  display: block;
}

.servico-card h3 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}




/* SECUNDÁRIOS */
/* Container da seção */
.servicos-secundarios {
  margin-top: 40px;
  text-align: center; /* centraliza o título e o conteúdo */
}

/* Só o título centralizado */
.servicos-secundarios .titulo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
  display: inline-block;
  border-bottom: 2px solid #1663EB;
  padding-bottom: 5px;
}

/* GRID para os cards */
.grid-secundarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* mantém várias colunas */
  gap: 40px; /* espaço entre os cards */
  justify-items: center; /* centraliza cada card */
  align-items: start;
}

/* Estilo dos cards */
.card-secundario {
  background: #f9f9f9;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease, background 0.3s ease;
  width: 150px; /* largura fixa para alinhar melhor */
  text-align: center;
}

.card-secundario:hover {
  transform: translateY(-5px);
  background: #eef3ff;
}

.card-secundario i {
  font-size: 28px;
  color: #1663EB;
  margin-bottom: 10px;
}

.card-secundario h4 {
  font-size: 15px;
  font-weight: 600;
  color: #333;
}

/* WHATSAPP*/
/* Seção CTA */
.cta-whats {
  background: linear-gradient(135deg, #0055cc, #1663EB); /* azul mais próximo da logo */
  padding: 50px 20px;
  text-align: center;
  color: white;
}

.cta-whats h2 {
  font-size: 26px;
  margin-bottom: 30px;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Container flex */
.cta-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* Cada box */
.cta-box {
  background: white;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 30px;
  border-radius: 14px;
  text-decoration: none;
  min-width: 280px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

/* Ícone do WhatsApp */
.cta-box i {
  font-size: 38px;
  color: #004ecc;; /* cor oficial do WhatsApp */
}

/* Texto */
.cta-box .local {
  font-size: 16px;
  font-weight: 600;
  display: block;
}

.cta-box .telefone {
  font-size: 20px;
  font-weight: bold;
  color: #1663EB; /* azul alinhado com a logo */
}


/* Espaçamento entre as seções */
.servicos-secundarios {
  margin-bottom: 60px; /* aumenta o espaço abaixo dos outros serviços */
}


.marquee {
  margin-bottom: 60px; /* aumenta o espaço abaixo dos outros serviços */
}

/*ROLAR PARA BAIXO*/
html {
  scroll-behavior: smooth; /* rolar para baixo suavemente quando apertar em serviços */
}


/*BOTAO SAIBA MAIS*/
.btn-saiba {
  margin-top: 12px;
  background: #0066ff;
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.3s;
}

.btn-saiba:hover {
  background: #004ecc;
}

.detalhes {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  font-size: 13px;
  margin-top: 8px;
  text-align: left;
}

.detalhes.ativo {
  max-height: 200px;
  opacity: 1;
}

/* Esconde o botão por padrão */
.card-secundario .btn-saiba {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostra suavemente no hover */
.card-secundario:hover .btn-saiba {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rolar para baixo até parceiros */
.parceiros {
  text-align: center;
  margin: 40px 0 20px;
}

.parceiros-titulo {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
}

.parceiros-titulo::after {
  content: "";
  display: block;
  width: 60%;
  height: 3px;
  background: #0066ff;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* ESTATISTICAS */

.estatisticas {
  position: relative;
  background: url("https://lh5.googleusercontent.com/p/AF1QipOFnSYEpDSwgwi3NmqmzI53TDejNkpOLSGSGpaC=w650-h365-k-no") no-repeat center/cover;
  background-position: 0 -180px; /* desloca 50px pra cima, mostrando mais do topo */
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

/* overlay cobre a imagem inteira */
.estatisticas::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 65, 160, 0.85); /* azul translúcido */
  z-index: 1;
}

.estatisticas .container {
  position: relative;
  z-index: 2; /* deixa o texto acima do overlay */
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.estat-item h2 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 10px;
}

.estat-item p {
  font-size: 18px;
  font-weight: 500;
  color: #ffc107; /* amarelo */
}




/* responsividade: reduzir alturas em telas pequenas */
@media (max-width: 600px) {
  .brand img { height: 56px; }
  nav .container { height: 46px; padding: 8px 12px; gap:12px; }
  body { padding-top: calc(56px + 46px); }
}


/* Quem Somos */
.quem-somos {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px;
  background: #fff;
}

.quem-somos .container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  align-items: center;
}

.quem-somos-img img {
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quem-somos-texto {
  flex: 1;
}

.quem-somos-texto h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.quem-somos-texto p {
  margin-bottom: 16px;
  line-height: 1.6;
  color: #333;
}


/* Seção Segmentos com Carrossel */
.segmentos-carousel {
  text-align: center;
  padding: 60px 20px;
  background: #fff;
}

.segmentos-carousel h2 {
  font-size: 30px;
  margin-bottom: 40px;
  font-weight: 700;
  color: #111;
}
.segmentos-carousel h2 span {
  color: #0066ff;
}

/* Container do carrossel */
.carousel-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
}

/* Faixa que desliza */
.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
}

/* Cada card */
.segmento-slide {
  min-width: 50%; /* mostra 2 por vez */
  box-sizing: border-box;
  padding: 0 8px;
}

.segmento-slide img {
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  display: block;
}

.segmento-slide .conteudo {
  background: #0066ff;
  color: #fff;
  padding: 20px;
  border-radius: 0 0 10px 10px;
  text-align: left;
}

.segmento-slide h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.segmento-slide p {
  font-size: 14px;
  line-height: 1.5;
}

/* Botões */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 8px 14px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
  background: rgba(0,0,0,0.8);
}


/*faixa azul embaixo do banner*/
.faixa-azul {
  width: 100%;
  height: 40px; /* ajuste a altura como quiser */
  background-color: #0056d2; /* azul igual ao do menu */
}






/*imagem azul/branco embaixo do banner*/

.imagem-abaixo {
  width: 20%;         /* tamanho da imagem */
  display: block;     /* garante comportamento de bloco */
  margin: 30px auto;  /* centraliza e adiciona espaçamento acima e abaixo */
}


.secao-faixa {
  background-color: #ffffff !important; /* branco */
}




/* ======= NOVO: TOPBAR + NAV MODERNO ======= */

/* Topbar fina (azul) */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #0056ff; /* azul da logo */
  color: #fff;
  z-index: 1000;
  border: none;
  font-size: 14px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
}
.topbar-text { font-weight: 500; }

/* Nav principal (logo + menu + CTA) */
nav.main-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: auto; /* será ajustado dinamicamente por script.js */
  background: #ffffff;
  z-index: 999;
  box-shadow: 0 6px 20px rgba(8,20,40,0.06);
}

/* layout interno do nav */
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 16px;
}

/* logo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  height: 56px;
  width: auto;
  display: block;
}
.site-title {
  font-size: 20px;
  font-weight: 700;
  color: #0b3b7a;
}

/* links do menu */
.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
}
.nav-links a {
  color: #0b3b7a;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 4px;
}
.nav-links a:hover { color: #007bff; }

/* botão WhatsApp no cabeçalho */
.whatsapp-header {
  background: #25D366;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 18px rgba(37,211,102,0.18);
}
.whatsapp-header i { font-size: 16px; }

/* garantir contraste dos ícones/texto do topbar */
.topbar .topbar-text,
.topbar .topbar-text i { color: #fff; }

/* fallback para espaço (JS ajusta dinamicamente, mas deixamos um padding-top seguro) */
body {
  /* ajuste de fallback: 56px (logo) + 56px (nav) = 112px */
  padding-top: 112px;
}

/* responsividade */
@media (max-width: 900px) {
  .nav-links { display: none; } /* você pode colocar um menu hamburguer aqui depois */
  .brand img { height: 48px; }
  .site-title { font-size: 18px; }
  body { padding-top: 96px; }
}

/* pequenas melhorias visuais */
.whatsapp-header:hover { transform: translateY(-2px); transition: transform 0.18s ease; }



/* === HEADER PADRÃO (modelo !DOCTYPE.html) === */
.topbar {
  background: #0056ff;
  font-size: 13px;
  color: #fff;
  text-align: center;
  padding: 4px 10px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 40px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 55px; /* sempre igual em todas páginas */
  width: auto;
}

.nav {
  display: flex;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #003366;
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover { color: #007bff; }

/* Botão WhatsApp */
.whatsapp-btn {
  background: #25D366;
  color: white;
  padding: 10px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.3s;
}
.whatsapp-btn:hover { background: #1ebe5a; }
.whatsapp-btn img { height: 18px; }


.localizacao {
  background: #f9f9f9;
  padding: 60px 20px;
  text-align: center;
}

.localizacao h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #003366;
}

.localizacao p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #555;
}

.localizacao .mapa iframe {
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}



.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
}


.footer-logo img {
  display: block;
  margin-bottom: 20px;
  max-width: 180px; /* ajuste conforme o tamanho da logo */
}

/* ... CÓDIGO footer-clean (continua) ... */

.footer-09 {
  background: #0066ff; /* azul principal */
  color: #fff;
  padding: 50px 0 20px;
  margin-top: 40px;
}

.footer-09 .footer-heading {
  font-size: 18px;
  margin-bottom: 14px;
  font-weight: 600;
  border-bottom: 2px solid #fff;
  display: inline-block;
  padding-bottom: 4px;
}

.footer-09 ul {
  padding-left: 0;
  list-style: none;
}

.footer-09 ul li {
  margin-bottom: 8px;
}

.footer-09 ul li i {
  margin-right: 8px;
  color: #fff;
}

.footer-09 a {
  color: #fff;
  text-decoration: none;
}

.footer-09 a:hover {
  text-decoration: underline;
}

.footer-09 .social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.footer-09 .social-icons a {
  color: #fff;
  font-size: 20px;
  transition: color 0.3s;
}

.footer-09 .social-icons a:hover {
  color: #ffcc00;
}


/* CÓDIGO ORIGINAL QUE CAUSAVA O DISTANCIAMENTO */
.footer-09 .footer-horario-sociais {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.footer-09 .footer-horario,
.footer-09 .footer-sociais {
  flex: 1; /* Isto faz com que eles ocupem a mesma largura disponível, distanciando */
}

.footer-09 .footer-sociais .social-icons {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}


/* ==================================== */
/* CORREÇÃO FINAL FOOTER E MAPA */
/* ==================================== */

/* 1. Forçar o layout Lado a Lado dentro da última coluna e mantê-los compactos */
.footer-09 .footer-horario-sociais {
    display: flex !important;
    gap: 30px; /* Espaço entre Horário e Siga-nos */
    justify-content: flex-start !important; /* Alinha os dois blocos à esquerda */
    flex-wrap: nowrap; /* Garante que não quebrem a linha */
}

/* 2. Remover a regra flex: 1 que forçava os blocos a se distanciarem */
.footer-09 .footer-horario,
.footer-09 .footer-sociais {
    flex: 0 0 auto !important; /* Faz o bloco ocupar apenas o espaço do seu conteúdo */
}

/* 3. Reorganizar as colunas principais para ficarem mais próximas e alinhadas ao topo */
.footer-09 .row {
    /* Alinha todas as colunas à esquerda e usa um gap fixo entre elas */
    justify-content: flex-start !important;
    gap: 30px;
    align-items: flex-start; /* Garante alinhamento pelo topo */
}

/* 4. Ajustar as larguras das colunas principais em telas grandes (desktop) */
@media (min-width: 992px) {
    
    /* Logo e Sobre Nós (col-md-3) - mantém uma largura razoável */
    .footer-09 .col-md-3 {
        width: 200px; 
        flex: none;
    }
    
    /* Explorar (col-md-4) - reduz para o mínimo necessário */
    .footer-09 .col-md-4 {
        width: 150px; 
        flex: none;
    }
    
    /* Horário e Siga-nos (col-md-2) - deixa o conteúdo definir a largura */
    .footer-09 .col-md-2 {
        width: auto; 
        flex: none;
    }

  /* Coluna do Mapa (Nova 5ª Coluna) */
.footer-09 .footer-map-column {
    width: 200px; /* Largura para o mapa pequeno */
    flex: none;
    /* Remover o margin-top negativo que estava causando o desalinhamento */
    /* margin-top: -20px; */ 
}
}


/* Estilo do container do mapa */
.map-container-right {
    width: 100%;
    overflow: hidden;
    margin-top: 15px; /* Adiciona um pequeno espaço entre o título do mapa e o iframe */
}

.map-container-right iframe {
    width: 100%;
    height: 180px; /* Altura do mapa */
    border-radius: 8px; /* Cantos arredondados */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Sombra para destacar */
    display: block;
}

/* AJUSTE FINO: Alinhamento vertical do conteúdo do rodapé */
/* Ajusta o espaçamento abaixo do texto de 'Sobre Nós' para levantar a lista de contatos */
.footer-09 .col-md-3 p {
    margin-bottom: 0px; 
}


/* ==================================== */
/* FIM DO FOOTER CORRIGIDO */ 
/* ==================================== */


/* ==================================== */
/* CATEGORIAS DE PNEUS (NOVA SEÇÃO)     */
/* ==================================== */

.categorias-pneus {
    padding: 60px 20px;
    background: #fff;
    text-align: center;
}




/*
/* Layout de grid para os cards de categoria */


/* Estilo do Card Individual */
.categoria-card {
    text-align: center;
    position: relative;
}

.categoria-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.categoria-card a:hover {
    transform: translateY(-5px);
}

/* Wrapper do Ícone/Imagem com o fundo Amarelo/Laranja */
.card-icon-wrapper {
    position: relative;
    width: 100%;
    /* Altura para manter a proporção. Ex: 130px de largura e 160px de altura */
    height: 160px; 
    margin: 0 auto 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* Alinha a imagem do pneu na parte inferior */
    justify-content: center;
}




.card-icon-wrapper img {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    z-index: 2; /* Garante que a imagem fique acima do fundo amarelo */
    /* Efeito sutil de levantar a imagem sobre o fundo */
    transform: translateY(-8px); 
}

/* Título e Contagem de Produtos */
.categoria-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.categoria-card p {
    font-size: 12px;
    color: #666;
    margin: 4px 0 0;
    font-weight: 600;
}


/* SEÇÃO DESTAQUES (abaixo das categorias) */
.categorias-destaques {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.destaque-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    max-width: 250px;
}

.destaque-item i {
    font-size: 36px;
    color: #0066ff; /* Verde escuro (cor da logo dos pneus na imagem) */
    flex-shrink: 0;
}

.destaque-item h4 {
    font-size: 15px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.destaque-item p {
    font-size: 13px;
    color: #666;
    margin: 2px 0 0;
}

/* Responsividade para a seção de Categorias de Pneus */
@media (max-width: 768px) {
    .categorias-pneus h2 {
        text-align: center;
    }
    
    
    
    .card-icon-wrapper {
        height: 130px; 
    }
}

@media (max-width: 500px) {
    .categorias-destaques {
        justify-content: flex-start;
        flex-direction: column;
        align-items: stretch;
    }
    .destaque-item {
        max-width: none;
        padding: 0 10px;
    }
}


/* ==================================== */
/* CATEGORIAS DE PNEUS (FIXO, SEM CARROSSEL) */
/* ==================================== */

.categorias-pneus {
  padding: 60px 20px;
  background: #fff;
  text-align: center;
}

.categorias-pneus h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  color: #111;
}

.categorias-pneus h2 span {
  color: #0066ff;
}

/* style.css - aproximadamente na linha 440 (ou onde você definiu) */



/* style.css - Abaixo do .categorias-grid */

.segmento-slide {
    text-align: center;
    
    /* MUDANÇA PRINCIPAL: Use flex-basis para dar um ponto de partida de largura */
    flex-basis: 120px; /* Define a largura mínima para 120px */
    
    /* Permite que o item cresça, mas o force a encolher apenas o necessário */
    flex: 1 1 120px; 
    
    /* Garante que o texto fique legível (ajuste o font-size se necessário) */
    font-size: 14px; 
}

/* Ajuste a largura da imagem para não forçar o container */
.segmento-slide img {
    max-width: 90px; /* Reduza a largura máxima da imagem, se necessário */
    height: auto;
}

.categoria-card {
  display: block;
  color: #333;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.categoria-card:hover {
  transform: translateY(-6px);
}

.card-icon-wrapper {
  position: relative;
  width: 100%;
  height: 140px;
  margin: 0 auto 10px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.card-icon-wrapper img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transform: translateY(-8px);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.categoria-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.categorias-destaques {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  margin-top: 20px;
}

.destaque-item {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  max-width: 280px;
}

.destaque-item i {
  font-size: 32px;
  color: #0066ff;
}

.destaque-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #111;
  margin: 0;
}

.destaque-item p {
  font-size: 13px;
  color: #666;
  margin: 2px 0 0;
}

/* ==================================== */

.categorias-pneus-carousel {
    padding: 60px 20px 40px; /* Reduz o padding inferior */
    background: #fff;
    text-align: center;
}

.categorias-pneus-carousel h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #111;
}

.categorias-pneus-carousel h2 span {
    color: #0066ff; /* Verde da imagem */
}

/* Container do Carrossel */
.categorias-pneus-carousel .carousel-container {
    overflow: hidden;
    position: relative;
    max-width: 1200px;
    margin: 0 auto 50px; /* Adiciona margem abaixo do carrossel */
}

/* Faixa do Carrossel */
.categorias-pneus-carousel .carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

/* Ajuste do Slide para mostrar múltiplos itens */
.categorias-pneus-carousel .segmento-slide {
    /* Define a largura do item para que 6 a 8 caibam em 1200px (100%/8) */
    min-width: 12.5%; /* 8 itens em 100% */
    box-sizing: border-box;
    padding: 0 8px; /* Espaçamento entre os cards */
    flex-shrink: 0;
}

/* --- Estilo do Card Individual --- */
.categoria-card {
    display: block;
    text-decoration: none;
    color: #333;
    transition: transform 0.3s ease;
    text-align: center;
}

.categoria-card:hover {
    transform: translateY(-5px);
}





.card-icon-wrapper img {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    z-index: 2;
    transform: translateY(-8px); 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3)); /* Sombra para destacar a imagem */
}

/* Título e Contagem de Produtos */
.categoria-card h3 {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin: 0;
    line-height: 1.2;
}

.categoria-card p {
    font-size: 11px;
    color: #666;
    margin: 4px 0 0;
    font-weight: 600;
}

/* --- SEÇÃO DESTAQUES (Barras inferiores) --- */
.categorias-destaques {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 20px;
    padding: 30px 0;
    border-top: 1px solid #eee;
    margin-top: 20px;
}

.destaque-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
    max-width: 280px;
}

.destaque-item i {
    font-size: 32px;
    color: #0066ff; /* Verde escuro (cor principal da imagem) */
    flex-shrink: 0;
}

.destaque-item h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.destaque-item p {
    font-size: 13px;
    color: #666;
    margin: 2px 0 0;
}

/* --- Responsividade --- */

/* Esconde as setas padrão em telas pequenas */
@media (max-width: 768px) {
    .categorias-pneus-carousel .carousel-btn {
        display: none;
    }
}

/* Ajusta o carrossel em tablets */
@media (max-width: 992px) {
    /* Mostra 6 itens */
    .categorias-pneus-carousel .segmento-slide {
        min-width: 16.666%; 
    }
}

/* Ajusta o carrossel em celulares grandes */
@media (max-width: 768px) {
    /* Mostra 4 itens */
    .categorias-pneus-carousel .segmento-slide {
        min-width: 25%; 
    }
}

/* Ajusta o carrossel em celulares pequenos */
@media (max-width: 500px) {
    /* Mostra 3 itens */
    .categorias-pneus-carousel .segmento-slide {
        min-width: 33.333%; 
        padding: 0 4px;
    }
    .categorias-pneus-carousel h2 {
        font-size: 24px;
        text-align: center;
    }
    .categorias-destaques {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }
}

/* style.css - Adicione esta media query para telas menores */

@media (max-width: 1024px) {
    
    
    .segmento-slide {
        /* Define a largura para 3 itens por linha em telas menores */
        width: calc(33.33% - 10px); 
    }
}



/* === CATEGORIAS: mostrar 7 lado a lado (sem barra de rolagem) === */
.categorias-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr); /* 7 colunas iguais em telas largas */
  gap: 50px;
  max-width: 1200px;
  margin: 40px auto;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
  align-items: start;
}

.segmento-slide {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* style.css */

.segmento-slide .card-icon-wrapper {
  height: 220px; /* Mantive o aumento que você solicitou antes */
  display: flex;
  align-items: center;
  justify-content: center;
  /* MUDANÇA: Reduza ou remova a margem inferior para aproximar o texto */
  margin-bottom: 0px; 
}

.segmento-slide img {
  max-width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Responsividade: reduzir número de colunas em telas menores (sem barra de rolagem) */
@media (max-width: 1100px) {
  .categorias-grid { grid-template-columns: repeat(5, 1fr); }
}

@media (max-width: 800px) {
  .categorias-grid { grid-template-columns: repeat(3, 1fr); }
  .segmento-slide .card-icon-wrapper { height: 100px; }
  .segmento-slide img { max-width: 70px; }
}

@media (max-width: 480px) {
  .categorias-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .segmento-slide .card-icon-wrapper { height: 90px; }
  .segmento-slide img { max-width: 64px; }
}

/* garante que não aparece barra de rolagem horizontal por causa das categorias */
.categorias-grid { overflow-x: visible; }








/* === SEÇÃO PNEUS CENTRALIZADA E GRANDE === */
.pneus-modernos {
  background: #fff;
  padding: 80px 20px;
  text-align: center;
}

.titulo-pneus {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111;
}
.titulo-pneus span { color: #0056ff; }

.subtitulo-pneus {
  color: #555;
  margin-bottom: 40px;
  font-size: 16px;
}

.pneus-modernos .container {
  max-width: 1400px;
  margin: 0 auto;
}

.grid-pneus {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  justify-items: center;
}

.card-pneu {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  width: 100%;
  max-width: 180px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 210px;
}

.card-pneu img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
  margin-top: auto;
  margin-bottom: auto;
}

.card-pneu h3 {
  background: #000000;
  color: white;
  padding: 12px;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.card-pneu:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

@media (max-width: 1200px) {
  .grid-pneus { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
  .grid-pneus { grid-template-columns: repeat(2, 1fr); }
}




/* === FOOTER: ajuste layout social + mapa para ficar lado a lado em desktop === */
.footer-09 .footer-heading {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
  border-bottom: 2px solid rgba(255,255,255,0.12);
  display: inline-block;
  padding-bottom: 6px;
}
.footer-09 .social-icons a {
  color: #fff;
  margin-right: 10px;
  font-size: 18px;
  display: inline-block;
  width: 34px;
  height: 34px;
  line-height: 34px;
  text-align: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.footer-09 .map-container-right iframe {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}
.footer-social-map { display:flex; gap:20px; align-items:flex-start; }
@media (max-width: 991px) {
  .footer-social-map { flex-direction: column; }
}



/* === FOOTER GRID LAYOUT - força colunas na mesma linha em desktop === */
.footer-09 .footer-grid {
  display: grid;
  grid-template-columns: 180px 1fr 140px 220px 160px 240px;
  gap: 32px;
  align-items: start;
  width: 100%;
}
.footer-09 .footer-col { min-width: 0; }
.footer-09 .footer-mapa .map-container-right iframe { width: 100%; height: 160px; display:block; }

/* compact social icons */
.footer-09 .footer-redes .social-icons a { 
  display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border-radius:50%; background: rgba(255,255,255,0.06);
  margin-right:8px; color:#fff;
}

/* Responsivo: reduzir colunas para 4 em telas médias */
@media (max-width:1200px) {
  .footer-09 .footer-grid {
    grid-template-columns: 160px 1fr 140px 200px;
    grid-auto-rows: auto;
  }
  .footer-09 .footer-mapa { order: 5; }
  .footer-09 .footer-redes { order: 4; }
}

/* Responsivo: empilhar em mobile */
@media (max-width:768px) {
  .footer-09 .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-09 .footer-mapa iframe { height: 180px; }
}


/* === Mostrar o botão "Saiba mais" apenas no hover === */
.servico-card .btn-saiba,
.card-outros-servicos .btn-saiba {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.servico-card:hover .btn-saiba,
.card-outros-servicos:hover .btn-saiba {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ======== BANNER CARROSSEL PRINCIPAL ======== */
.banner-section {
  width: 100%;
  background: #fff;
  position: relative;
  overflow: hidden;
}

/* garante centralização e limite */
.banner-section .carousel-inner {
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

/* setas personalizadas */
.banner-section .custom-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  border: none;
  color: #fff;
  font-size: 28px;
  padding: 12px 16px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.banner-section .custom-control:hover {
  background: rgba(0, 86, 255, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.banner-section .carousel-control-prev {
  left: 2%;
}
.banner-section .carousel-control-next {
  right: 2%;
}

/* ícones das setas */
.banner-section .custom-control span {
  display: inline-block;
  font-size: 22px;
}

/* imagem responsiva */
.banner-section img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 12px;
}

/* Responsividade */
@media (max-width: 768px) {
  .banner-section img {
    height: 220px;
  }
  .banner-section .custom-control {
    font-size: 20px;
    padding: 8px 10px;
  }
}

/* ======= AJUSTE: SETAS DO BANNER CARROSSEL ======= */
.banner-section .custom-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  border: none;
  color: #fff;
  font-size: 18px;              /* 🔹 tamanho menor */
  padding: 8px 10px;            /* 🔹 área de clique reduzida */
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.banner-section .custom-control:hover {
  background: rgba(0, 86, 255, 0.85);
  transform: translateY(-50%) scale(1.1);
}

.banner-section .carousel-control-prev {
  left: 1.2%;
}

.banner-section .carousel-control-next {
  right: 1.2%;
}

.banner-section .custom-control span {
  font-size: 16px;              /* 🔹 ícone mais delicado */
  line-height: 1;
}

@media (max-width: 768px) {
  .banner-section .custom-control {
    font-size: 14px;
    padding: 6px 8px;
  }
  .banner-section .custom-control span {
    font-size: 12px;
  }
}


/* =========== FORÇAR REMOÇÃO DE ELEMENTOS ANTIGOS =========== */
/* (esconde qualquer .banner-controls que gere as elipses grandes) */
.banner-controls { display: none !important; }

/* =========== CONTROLES DO CARROSSEL (pequenos e discretos) =========== */
/* aplica-se especificamente ao carrossel dentro de .banner-section */
.banner-section .carousel-control-prev,
.banner-section .carousel-control-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 44px !important;        /* ⬅ largura */
  height: 44px !important;       /* ⬅ altura */
  padding: 0 !important;
  border-radius: 50% !important; /* círculo */
  background: rgba(0,0,0,0.35) !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important;
  z-index: 50 !important;
  cursor: pointer !important;
  transition: transform .18s ease, background .18s ease !important;
}

/* remove qualquer ícone default do bootstrap */
.banner-section .carousel-control-prev::after,
.banner-section .carousel-control-next::after {
  content: none !important;
}

/* posicionamento lateral mais interno (afasta little das bordas) */
.banner-section .carousel-control-prev { left: 12px !important; }
.banner-section .carousel-control-next { right: 12px !important; }

/* ícone dentro do botão (font-awesome) */
.banner-section .carousel-control-prev span,
.banner-section .carousel-control-next span {
  font-size: 18px !important;
  color: #ffffff !important;
  line-height: 1 !important;
  display: inline-block !important;
}

/* hover: destaque azul igual ao layout */
.banner-section .carousel-control-prev:hover,
.banner-section .carousel-control-next:hover {
  background: rgba(0,86,255,0.92) !important;
  transform: translateY(-50%) scale(1.06) !important;
}

/* tornar botões ainda menores em telas pequenas */
@media (max-width: 768px) {
  .banner-section .carousel-control-prev,
  .banner-section .carousel-control-next {
    width: 36px !important;
    height: 36px !important;
  }
  .banner-section .carousel-control-prev span,
  .banner-section .carousel-control-next span {
    font-size: 14px !important;
  }
}

/* Caso o seu HTML use a classe custom-control em botões */
.banner-section button.custom-control {
  /* garante que se usem as regras acima */
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
