#serviceDetails {}

#serviceDetails .content {
  padding: 64px 0;
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

#serviceDetails .content .infos {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}

#serviceDetails .content .infos i {
  color: var(--color-secondary);
}

#serviceDetails .content .infos .texts {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 12px;
}

#serviceDetails .content .infos .texts strong {
  font-size: 32px;
  color: var(--color-primary);
  font-weight: 700;
}

/* --- AJUSTE DA DESCRIÇÃO (FONTE NORMAL) --- */
#serviceDetails .content .infos .texts p {
  color: var(--color-secondary);
  font-size: 16px;
  font-weight: 400; /* Garante que a fonte fique normal (sem bold) */
  line-height: 1.6;  /* Espaçamento entre linhas confortável */
}

#serviceDetails .content .infos small {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

/* --- AJUSTE DO CONTEÚDO DO EDITOR (FONTE NORMAL) --- */
#serviceDetails .content .infos .editorContent {
  color: var(--color-secondary);
  font-weight: 400; /* Garante fonte normal */
  font-size: 16px;
  line-height: 1.6;
}

#serviceDetails .content .infos .editorContent p {
  font-weight: 400;
  margin-bottom: 12px;
}

/* --- GALERIA DE FOTOS --- */
.gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 500px;
}

.main-image-container {
  position: relative;
  width: 400px;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-image-container img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.main-image-container:hover img {
  transform: scale(1.02);
}

.zoom-hint {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}

.main-image-container:hover .zoom-hint {
  opacity: 1;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 5px;
}

.thumbnails::-webkit-scrollbar {
  height: 6px;
}

.thumbnails::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

.thumbnails img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnails img:hover {
  opacity: 0.9;
}

.thumbnails img.active {
  opacity: 1;
  border-color: #007BFF;
}

/* --- BOTÃO DE DOWNLOAD (ABAIXO DA GALERIA) --- */
.gallery-downloads {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.btn-download-direto {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 16px;
  background-color: #e03131; /* Vermelho forte idêntico ao modelo */
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 4px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  box-sizing: border-box;
  border: none;
}

.btn-download-direto:hover {
  background-color: #c92a2a;
  color: #ffffff !important;
}

.btn-download-direto:active {
  transform: scale(0.99);
}

/* --- LIGHTBOX --- */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px; 
}

#lightbox-img {
  width: 90vw; 
  height: 80vh;
  object-fit: contain; 
  max-width: 1000px; 
  max-height: 800px;
  border-radius: 4px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s;
}

.lightbox-close:hover {
  color: #ff4d4d;
}

.lightbox-btn {
  background: transparent;
  color: white;
  border: none;
  font-size: 50px;
  cursor: pointer;
  padding: 20px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.3s;
}

.lightbox-btn:hover {
  color: #bbb;
}

.lightbox-btn.prev {
  left: 20px;
}

.lightbox-btn.next {
  right: 20px;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
  #serviceDetails .content {
    padding: 32px 0;
    flex-direction: column;
    gap: 32px;
  }

  .main-image-container img {
    object-fit: unset;
    width: unset;
  }

  .gallery {
    max-width: unset;
  }

  .main-image-container {
    width: 100%;
    height: 300px;
  }

  .thumbnails img {
    width: 60px;
    height: 60px;
  }

  .lightbox-btn {
    font-size: 35px;
    padding: 10px;
  }

  .lightbox-btn.prev {
    left: 0px;
  }

  .lightbox-btn.next {
    right: 0px;
  }
}