/* Variáveis globais */
body {
  font-family: 'Montserrat', sans-serif;
}
:root {
  --primary: #2e5b8b;
  --primary-dark: #1e3a5f;
  --primary-light: #4a7db6;
  --secondary: #e67e22;
  --secondary-dark: #c85d0a;
  --light: #f8f9fa;
  --dark: #343a40;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --success: #28a745;
  /* Cores Rocha Cimentos (padrão) */
  --cimentos-primary: #2e5b8b;
  --cimentos-primary-dark: #1e3a5f;
  --cimentos-primary-light: #4a7db6;
  
  /* Cores RochaMaq */
  --maq-primary: #e67e22;
  --maq-primary-dark: #c85d0a;
  --maq-primary-light: #ec8e21;
  
  /* Cores Rocha Argamassa */
  --argamassa-primary: #0e8ee2;
  --argamassa-primary-dark: #0d6aa8;
  --argamassa-primary-light: #3398db;
  
  /* Cores Rocha Blocos */
  --blocos-primary: #e44331;
  --blocos-primary-dark: #c0392b;
  --blocos-primary-light: #e45e4f;
}



/* Reset e estilos base */
* {
  box-sizing: border-box;
  transition: all 0.3s ease;
}

body {
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
}

/* Sidebar */
.sidebar {
  width: 280px;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 20px;
  box-shadow: 2px 0 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  gap: 25px;
  z-index: 1000;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  justify-content: space-between;
  
}

.sidebar-content {
  flex: 1 1 auto; /* Cresce e ocupa o espaço vertical restante */
  
}

.sidebar.active {
  transform: translateX(0);
}
.logo-center {
  width: 80px; /* ou 100% se dentro de container fixo */
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 10px;
  align-self: center;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
  
}

.sidebar-slogan {
  font-style: italic;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  text-align: center;
  margin-bottom: 15px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.sidebar nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: all 0.2s;
}

.sidebar nav a:hover, .sidebar nav a:focus {
  background-color: rgba(255,255,255,0.1);
  transform: translateX(5px);
}

.sidebar nav a i {
  width: 24px;
  font-size: 1.1rem;
  margin-right: 10px;
}

.logos-lojas {
  display: flex;
  flex-direction:row;
  gap: 2px;
  margin-top: auto;
  margin-bottom: 20px;
}

.logos-lojas img {
  width: 100%;
  max-width: 180px;
  object-fit: contain;
  align-self: center;
  opacity: 0.8;
  transition: opacity 0.3s;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2)); /* Adiciona sombra para melhor contraste */
}

.loja-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: none !important; /* Garante que não será aplicado nenhum filtro */
}

.produto-card-actions .loja-logo {
  width: 20px;
  height: 20px;
}

/* Para o dark mode, podemos escurecer um pouco as logos */
.dark-mode .loja-logo {
  filter: brightness(0.9) contrast(1.1);
}

.logos-lojas img:hover {
  opacity: 1;
}

#toggle-dark {
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
  margin-top: auto;
}

#toggle-dark:hover {
  background: rgba(255,255,255,0.2);
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
  display: none;
}

.overlay.active {
  display: block;
}

/* Botão do menu */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  right: 5px;
  z-index: 1001;
  background: transparent;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px 15px;
  font-size: 2.8rem;
  border-radius: 6px;
  cursor: pointer;
}

.dark-mode .menu-toggle {
  color: white;
}

.menu-toggle.shifted{
  color: white !important;
}

/* Conteúdo principal */
.main-content {
  transition: margin-left 0.3s;
  
}

/* Seções */
section {
  padding: 20px;
  background: none;
  margin: 10px auto;
  max-width: 1000px;
  opacity: 0;
  transform: translateY(30px);
}

section.aparecendo {
  opacity: 1;
  transform: translateY(0);
}

/* Página de produtos */
.produtos-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
}

.produtos-header h1 {
  font-size: 2.2rem;
  margin-bottom: 5px;
  color: var(--primary);
}

.produtos-header .subtitle {
  color: var(--gray);
  font-size: 1.1rem;
}

.busca-container {
  position: relative;
  margin-bottom: 20px;
  max-width: 500px;
}

.busca-container input {
  width: 100%;
  padding: 12px 20px 12px 45px;
  border: 1px solid var(--light-gray);
  border-radius: 30px;
  font-size: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  background-color: white;
  color: #000000;
}

.busca-container i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray);
}

.filtros-lojas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}

.filtro-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  background: var(--light-gray);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filtro-btn.active {
  background: var(--primary);
  color: white;
}

.filtro-btn:hover:not(.active) {
  background: #d1d7dc;
}

.produtos-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.produto-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
}

.produto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.produto-card-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.produto-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.produto-card:hover .produto-card-img img {
  transform: scale(1.05);
}

.produto-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.produto-card-title {
  font-size: 1.2rem;
  margin: 0 0 10px 0;
  color: var(--dark);
}

.produto-card-desc {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 15px;
  flex: 1;
}

.produto-card-preco {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--secondary);
  margin: 10px 0;
}

.produto-card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
}

.btn-detalhes {
  background: var(--primary);
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.btn-detalhes:hover {
  background: var(--primary-dark);
}

/* Dark mode */
.dark-mode {
  background-color: #1E1E1E;
  color: #e0e0e0;
}


.dark-mode .produto-card-title {
  color: #f0f0f0;
}

.dark-mode .produto-card-desc {
  color: #a0a0a0;
}

.dark-mode .filtro-btn:not(.active) {
  background: #2c2c2c;
  color: #e0e0e0;
}

/* Responsividade */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }
  
  .main-content {
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .sidebar {
    transform: translateX(0);
  }
  
  .main-content {
    margin-left: 280px;
  }
  
  .menu-toggle, .overlay {
    display: none;
  }
}

@media (max-width: 768px) {
  .produtos-container {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
  
  .filtros-lojas {
    justify-content: center;
  }
  
  .produtos-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 576px) {
  .produtos-container {
    grid-template-columns: 1fr;
  }
  
  .filtro-btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }
  
  .sidebar {
    width: 260px;
    padding: 15px;
  }
  
  .sidebar nav a {
    padding: 8px 12px;
    font-size: 0.95rem;
  }
  
  .logos-lojas {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .logos-lojas img {
    max-width: 120px;
    margin: 5px;
  }
}

.logos-lojas img[alt="RochaMaq"] {
  max-height: 70px;  /* Pode ser ajustado conforme necessário */
}

/* Formulário de contato */
#form-contato {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#form-contato input, 
#form-contato textarea, 
#form-contato button {
  width: 100%;
  padding: 10px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  color: #000000;
}

#form-contato button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px;
  font-weight: bold;
  cursor: pointer;
}

#form-contato button:hover {
  background-color: var(--primary-dark);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background-color: var(--primary);
  color: white;
}

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

/* Logo do Rocha Center */
.logo-center {
  width: auto;
  max-height: 80px;
  margin: 0 auto 15px;
  
}

/* Logos das lojas */
.logos-lojas img {
  width: auto;
  max-height: 65px;
  margin: 0 auto;
  object-fit: contain;
}

/* Imagens dos produtos */
.produto-card-img img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  background-color: #f5f5f5; /* Fundo neutro para produtos com transparência */
}

/* Imagens de destaque */
.produto.destaque img {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
}

/* Ajustes para mobile */
@media (max-width: 576px) {
  .logo-center {
    max-height: 60px;
  }
  
  .logos-lojas img {
    max-height: 70px;
  }
  
  .produto-card-img img {
    height: 150px;
  }
}

/* Dark mode para imagens */
.dark-mode .produto-card-img img {
  background-color: #2c2c2c;
}

.dark-mode .produto-card {
background-color: #2c2c2c;
}

.produto-card-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 180px;
  padding: 15px;
  background: #f5f5f5;
}

.dark-mode .produto-card-img-container {
  background: #2c2c2c;
}

/* Modal de detalhes do produto */
.produto-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.produto-modal .modal-content {
  background: white;
  border-radius: 12px;
  max-width: 600px;
  width: 100%;
  padding: 25px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.dark-mode .produto-modal .modal-content {
  background: #1e1e1e;
  color: #e0e0e0;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
}

.modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header img {
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.modal-body p {
  margin: 0;
}

.loja-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 15px;
}

.loja-logo {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.produto-card-actions .loja-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.produto-card-actions .loja-logo {
  width: 20px;
  height: 20px;
}

/* Ajustes para mobile */
@media (max-width: 576px) {
  .modal-header img {
      max-height: 150px;
  }
  
  .loja-logo {
      width: 25px;
      height: 25px;
  }
  
  .produto-card-actions .loja-logo {
      width: 18px;
      height: 18px;
  }
}

/* No styles.css, adicione: */
.sidebar .logos-lojas img {
  filter: none; /* Remove qualquer filtro */
  opacity: 0.9;
}

.dark-mode .sidebar .logos-lojas img {
  filter: brightness(0.9) contrast(1.1);
}

/* Estilo para a tag da loja com logo */
.loja-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.05);
  padding: 5px 10px;
  border-radius: 20px;
}

.loja-tag img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Estilo para o botão de tema */
#toggle-dark {
  background: rgba(0,0,0,0.1);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  font-weight: 600;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  margin-bottom: 65px; /* ajuste o valor como desejar */
  transition: all 0.2s;
}

#toggle-dark:hover {
  background: rgba(0,0,0,0.2);
}

.dark-mode #toggle-dark {

  background: rgba(255,255,255,0.1);
}

.dark-mode #toggle-dark:hover {
  background: rgba(255,255,255,0.2);
}

/* Garante que o sidebar tenha espaço para o botão no final */
.sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

/* Estilo para as logos das lojas na sidebar */
.logos-lojas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2px;
  margin: 20px 0;
}

.logos-lojas img {
  max-height: 70px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.logos-lojas img:hover {
  opacity: 1;
}

/* Estilos específicos para cada loja */
.loja-cimentos {
  --primary: var(--cimentos-primary);
  --primary-dark: var(--cimentos-primary-dark);
  --primary-light: var(--cimentos-primary-light);
}

.loja-maq {
  --primary: var(--maq-primary);
  --primary-dark: var(--maq-primary-dark);
  --primary-light: var(--maq-primary-light);
}

.loja-argamassa {
  --primary: var(--argamassa-primary);
  --primary-dark: var(--argamassa-primary-dark);
  --primary-light: var(--argamassa-primary-light);
}

.loja-blocos {
  --primary: var(--blocos-primary);
  --primary-dark: var(--blocos-primary-dark);
  --primary-light: var(--blocos-primary-light);
}

/* Ajustes específicos para o dark mode de cada loja */
.dark-mode.loja-maq {
  --primary: #d35400;
  --primary-dark: #a04000;
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode.loja-argamassa {
  --primary: #2874a6;
  --primary-dark: #1f618d;
  background-color: #121212;
  color: #e0e0e0;
}

.dark-mode.loja-blocos {
  --primary: #b03a2e;
  --primary-dark: #922b21;
  background-color: #121212;
  color: #e0e0e0;
}

/* Estilos para os itens do menu com logos */
.sidebar nav ul li a .loja-logo-menu {
  width: 44px;
  height: 44px;
  object-fit: contain;
  margin-right: 10px;
  
}

.sidebar nav ul li a.active .loja-logo-menu {
  filter: none; /* Mantém as cores originais no item ativo */
}

/* Ajuste para o alinhamento dos ícones */
.sidebar nav ul li a {
  display: flex;
  align-items: center;
}

.sidebar nav ul li a i {
  min-width: 24px; /* Mantém o alinhamento dos ícones */
  text-align: center;
}

@media (max-width: 576px) {
  .sidebar nav ul li a .loja-logo-menu {
    width: 40px;
    height: 40px;
    margin-right: 8px;
  }
}
.logo-identidade {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0px;
  max-width: 220px;
  margin: 0 auto 15px;
}

.logo-identidade .logo-center {
  width: 95px;
  height: auto;
}

.logo-nome {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
}

.logo-nome .rocha {
  color: var(--maq-primary); /* laranja */
  font-weight: bold;
  font-size: 2.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.logo-nome .center {
  color: white;
  font-weight: bold;
  font-size: 1.6rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}
.apresentacao-rocha {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 20px;
  background-color: var(--primary-dark);
  text-align: center;
  width: calc(100% + 20px); /* Para cobrir o padding de 20px do .main-content */
  margin: 0 -20px; /* Para ocupar toda a área */
  border-radius: 0;
  max-width: none;
  border-radius: 0%;
}

.logo-destaque {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-destaque img {
  width: clamp(80px, 10vw, 140px);
  height: auto;
}

.texto-destaque {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  line-height: 1; /* REDUZ o espaço vertical entre os textos */
  gap: 2px;
}

.texto-destaque .rocha {
  color: var(--maq-primary); /* laranja */
  font-size: 2.5rem;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.texto-destaque .center {
  color: white;
  font-size: 2rem;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

@media (max-width: 600px) {
  .logo-destaque {
    flex-direction:row;
    align-items: center;
  }
.logo-destaque img {
  width: clamp(100px, 10vw, 140px);
  height: auto;
}
  .texto-destaque {
    align-items: center;
  }
}
.logo-identidade {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto 10px;
  max-width: 200px;
}

.logo-center {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.logo-nome {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-nome .rocha {
  color: var(--maq-primary);
  font-weight: bold;
  font-size: 2.2rem;
}

.logo-nome .center {
  color: white;
  font-weight: bold;
  font-size: 1.6rem;
}
#telefones, #horarios {
  padding: 20px 20px;
  margin: 20px auto;
  border-radius: 10px;
  background-color: var(--telefones-bg);
  color: var(--telefones-text);
  text-align: center;
  max-width: 95%;
}

#telefones h2,
#horarios h2 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--telefones-text);
}

.telefones-container,
.horarios-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.telefone-box,
.horario-box {
  background-color: var(--telefone-box-bg);
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 16px;
  word-break: break-word;
  text-align: left;
  margin: 0 auto;
  width: 100%;
  max-width: 500px;
}

.telefone-box a {
  color: var(--telefone-link);
  text-decoration: none;
  margin-left: 5px;
}

.telefone-box a:hover {
  text-decoration: underline;
}

/* Tema Claro (padrão) */
:root {
  --telefones-bg: none;
  --telefones-text: #222;
  --telefone-box-bg: none;
  --telefone-link: #0056b3;
}

/* Tema Escuro */
body.dark-mode {
  --telefones-bg: none;
  --telefones-text: #f5f5f5;
  --telefone-box-bg: none;
  --telefone-link: #4db8ff;
}
footer p {
  margin: 8px 0;
  font-size: 0.95rem;
  line-height: 1.4;
}
footer i.fa-location-dot {
  color: #fff;
  margin-right: 6px;
}
.footer-enderecos {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  color: white;
  font-size: 0.95rem;
}

.footer-enderecos p {
  margin: 18px 0;
  line-height: 1.4;
}

.footer-enderecos p i.fa-location-dot {
  margin-right: 6px;
}
.footer-enderecos a {
  color: #f1f1f1;
  text-decoration: underline;
}

.footer-enderecos a:hover {
  color: #f9ca24;
}

.footer-enderecos i.fa-envelope {
  margin-right: 6px;
}
footer a[href^="mailto"] {
  color: white;
  text-decoration: underline;
}

footer a[href^="mailto"]:hover {
  color: #f9ca24;
}
a[href^="mailto"] {
  color: white !important;
  text-decoration: underline;
}

a[href^="mailto"]:hover {
  color: #f9ca24 !important;
}
.logo-viemaq {
  height: 50px;
  max-width: 130px;
  transition: filter 0.3s ease;
}

body.dark-mode .logo-viemaq {
  filter: brightness(0) invert(1);
}
.logo-rochamaq {
  max-height: 70px;
  max-width: 140px;
  transition: filter 0.3s ease, content 0.3s ease;
}

/* Quando estiver no modo escuro, troca para a versão branca */
body.dark-mode .logo-rochamaq {
  filter: brightness(0) invert(1);
}


@media (max-width: 576px) {
  .loja-viemaq h1 img {
    height: 4px;
    max-width: 10px;
  }
  .logo-rochamaq h1 img {
    height: 4px;
    max-width: 10px;
  }
}
:root {
  --link-color: #0056b3;
  --link-hover: #003d80;
}

body.dark-mode {
  --link-color: #66aaff;
  --link-hover: #aaccff;
}

a {
  color: var(--link-color);
  text-decoration: underline;
  transition: color 0.2s;
}

a:hover {
  color: var(--link-hover);
}
.botao-pdf {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  margin: 10px 5px;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.botao-pdf:hover {
  background-color: #0056b3;
  transform: scale(1.03);
}

.carrossel-rocha {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 20px;
  overflow: hidden;
  border-radius: 10px;
}

.carrossel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carrossel-slide {
  min-width: 100%;
  display: none;
}

.carrossel-slide.active {
  display: block;
}

.carrossel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.carrossel-prev, .carrossel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent;
  color: rgb(0, 0, 0);
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 2rem;
  border-radius: 50%;
  z-index: 10;
}

.carrossel-prev {
  left: 15px;
}

.carrossel-next {
  right: 15px;
}

.carrossel-prev:hover {
  color: #2b2b2b;
}

.carrossel-next:hover {
  color: #2b2b2b;
}

@media (max-width: 991px) {
  .carrossel-prev, .carrossel-next {
  display: none;
}
}
.menu-toggle.shifted {
  left: 190px; /* ou ajuste conforme a largura do seu sidebar */
}
/* Botão scroll com liquid glass */
#scrollToBottomBtn {
  position:fixed;
  bottom: 20px;    /* distância do fundo */
  right: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  min-width: unset;
  min-height: unset;
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px) saturate(400%) contrast(110%);
  -webkit-backdrop-filter: blur(2px) saturate(400%) contrast(110%);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1),
              inset 0 0 20px rgba(255, 255, 255, 0.1);
  cursor: pointer;
  transform: translateY(60px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToBottomBtn.mostrar {
  opacity: 1;
  transform: translateY(0);
}

#scrollToBottomBtn canvas {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

#scrollToBottomBtn i {
  position: relative;
  z-index: 1;
  color: #000000;
  font-size: 20px;
}

.dark-mode #scrollToBottomBtn i {
  position: relative;
  z-index: 1;
  color: #e6edf3;
  font-size: 20px;
}

#scrollToBottomBtn::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
  animation: borderGlow 2s infinite linear;
  pointer-events: none;
}

@keyframes borderGlow {
  0% {
    transform: rotate(0deg);
    border-color: rgba(255, 255, 255, 0.2);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.4);
  }
  100% {
    transform: rotate(360deg);
    border-color: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 991px) {
#scrollToBottomBtn {
    left: 50%;
    right: auto; /* remove o conflito */
    transform: translateY(60px); /* mantém a translação vertical que você já usa */
  }
#scrollToBottomBtn.mostrar {
  opacity: 1;
  left: 45%;
  right: auto; /* remove o conflito */
  transform: translateY(0);
}
}

.carrossel-container {
  display: flex;
  transition: transform 0.3s ease-out;
  will-change: transform;
}
.carrossel-slide {
  min-width: 100%;
  transition: opacity 0.3s ease-out;
}
.carrossel-slide:not(.active) {
  opacity: 0;
}
.carrossel-slide.active {
  opacity: 1;
}
