body {
  background-color: #E5EFE2;
  color: #333;
}

h1, h2 {
  color: #333;
}

.titulo-institucional {
  background: linear-gradient(90deg, #424242, #818181, #424242);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}


.metal-title {
  background: linear-gradient(90deg, #424242, #818181, #424242);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metal-section {
  background-color: #ffffff;
  border-radius: 0.5rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  margin-bottom: 2.5rem;
}

.btn-metal {
  background-color: #333;
  color: #fff;
}

.btn-metal:hover {
  background-color: #555;
}

.shadow-texto {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

.card-material {
  position: relative;
  overflow: hidden;
  height: 10rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.card-material img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card-material:hover img {
  transform: scale(1.1);
}

.card-text {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.cta-metal {
  background: linear-gradient(90deg, #2d2d2d, #4f4f4f);
  color: #fff;
  border-radius: 0.5rem;
  padding: 2rem;
  margin-bottom: 2.5rem;
}

.cta-metal h2 {
  color: #f0f0f0;
}

.cta-metal p, .cta-metal h2 {
  color: #f0f0f0;
}

.cta-metal a {
  background-color: #fff;
  color: #2d2d2d;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  display: inline-block;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.cta-metal a:hover {
  background-color: #ddd;
}

@media (max-width: 640px) {
  .card-material {
    height: 6rem;
  }
}

button:focus {
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
  }

#menu-toggle {
  background-color: transparent;
  border: none;
  padding: 0.3rem;
  font-size: 2rem;
  border-radius: 0.5rem;
  transition: transform 0.1s ease-in-out, background-color 0.1s ease-in-out;
  -webkit-tap-highlight-color: transparent; /* remove cinza ao tocar no Android */
  outline: none; /* remove contorno azul */
}

#menu-toggle:focus {
  outline: none;
}

#menu-toggle:active {
  transform: scale(0.95); /* leve compressão no toque */
  background-color: rgba(0, 0, 0, 0.05); /* feedback visual sutil no toque */
}

.video-wrapper {
  display: flex;
  justify-content: center;
}

.video-thumb {
  width: 100%;
  max-width: 240px;
  height: auto;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  object-fit: cover;
}

.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.video-modal video {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 0.5rem;
  }

  /* Ajustes do menu desktop */
nav ul li a {
  font-size: 1rem; /* padrão 16px, pode aumentar para 1.125rem (18px) se quiser */
  padding: 0.5rem 1rem; /* aumenta o clique e espaçamento interno */
  transition: color 0.3s;
}

/* Aumenta espaçamento entre os itens do menu desktop */
@media (min-width: 768px) {
  nav ul li a {
    font-size: 1.125rem; /* aumenta a fonte no desktop */
  }
}

/* Estilização do menu mobile */
#mobile-menu a {
  font-size: 1.25rem;      /* Aumenta a fonte para ~20px */
  padding-top: 0.75rem;    /* Espaçamento vertical maior */
  padding-bottom: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.carrossel-servicos .swiper-wrapper {
  display: inline-flex;
  transition-timing-function: linear;
}

.carrossel-servicos .swiper-slide {
  height: 250px;
  width: auto; /* já está correto para slidesPerView: 'auto' */
}

.carrossel-servicos .swiper-slide img {
  width: 100%;       /* mudar de auto -> 100% */
  height: 100%;
  object-fit: cover;  /* mudar de contain -> cover */
  border-radius: 0.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
