/* Serviços Cards - Estilo para os cartões de serviço */
.servico-card {
  background: var(--fundo);
  border-radius: var(--raio-borda);
  padding: var(--espacamento);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform var(--duracao-anima), box-shadow var(--duracao-anima);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.servico-imagem {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--raio-borda);
  margin-bottom: 1rem;
}

.servico-icone {
  font-size: 2.5rem;
  color: var(--cor-principal);
  margin-bottom: 1rem;
}

.servico-titulo {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
}

.servico-descricao {
  color: var(--cor-secundaria);
  line-height: 1.4;
  font-size: 0.95rem;
  margin-top: 0;
}

@media (min-width: 768px) {
  .servico-card {
    padding: calc(var(--espacamento) * 1.5);
  }
}

/* Portfólio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--espacamento);
  margin: var(--espacamento) 0;
}

/* Depoimentos Grid */
.depoimentos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--espacamento);
  margin: var(--espacamento) 0;
}

/* Portfolio Item Styles */
.portfolio-item {
  background: var(--fundo);
  border-radius: var(--raio-borda);
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform var(--duracao-anima), box-shadow var(--duracao-anima);
  position: relative;
  cursor: pointer;
  margin: 0.5rem;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.portfolio-imagem {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  padding: var(--espacamento);
  opacity: 0;
  transition: opacity var(--duracao-anima);
  background-color: rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover .image-overlay {
  opacity: 1;
}

.image-overlay-content {
  color: var(--fundo);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 600;
}

.cross {
  color: var(--fundo);
  font-size: 2.5rem;
  line-height: 1;
  cursor: pointer;
}

/* Depoimento Styles */
.depoimento-card {
  background: var(--fundo);
  border-radius: var(--raio-borda);
  padding: var(--espacamento);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: transform var(--duracao-anima), box-shadow var(--duracao-anima);
  margin: 1.5rem 0;
}

.depoimento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.depoimento-texto {
  font-style: italic;
  color: var(--cor-secundaria);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  position: relative;
  padding-left: 1rem;
}

.depoimento-texto::before {
  content: '"';
  font-size: 2.5rem;
  color: var(--cor-principal);
  opacity: 0.3;
  position: absolute;
  left: 0;
  top: -0.5rem;
}

.depoimento-autor {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.depoimento-avatar {
  width: 40px;
  height: 40px;
  background-color: var(--cor-principal);
  color: var(--fundo);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 50%;
  font-size: 1.1rem;
}

.depoimento-info {
  display: flex;
  flex-direction: column;
}

.depoimento-nome {
  font-weight: 600;
  color: var(--cor-texto);
  margin-bottom: 0.25rem;
}

.depoimento-estrelas {
  color: #ffc107;
  font-size: 0.9rem;
}

@media (min-width: 768px) {
  .depoimentos-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  }
}

/* Lightbox Styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 9999;
  pointer-events: none;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  color: var(--fundo);
  font-size: 2.5rem;
  cursor: pointer;
  z-index: 10000;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--cor-principal);
}

.lightbox-image {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--raio-borda);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--fundo);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
  opacity: 0.8;
}

.lightbox-prev {
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  opacity: 1;
}

.lightbox-next {
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  opacity: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .lightbox-prev,
  .lightbox-next {
    font-size: 1.8rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 2rem;
  }
}