.hero-section {
  position: relative;
  overflow: hidden;
  background-color: #000;
  min-height: 100vh;
  max-height: max-content;
  padding-bottom: 0px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-overlay {
  background: rgba(
    0,
    0,
    0,
    0.5
  ); /* Overlay para melhorar legibilidade do texto */
}

.hero-content {
  max-width: 800px;
  padding: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
  h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--text-white);
  }
  p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-white);
  }
}

@media (max-width: 767.98px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
}

.hero-buttons {
  margin-bottom: 3rem;
}

.hero-buttons .btn {
  margin-bottom: 1rem;
} /* Service Details Page Specific Styles */

/* Service Detail Hero Section */
.service-detail-hero-section {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-dark) 100%
  );
  margin-top: -100px;
}

.service-detail-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/placeholder.svg?height=500&width=1200");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.service-detail-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-color-rgb), 0.75) 0%,
    rgba(var(--primary-color-rgb), 0.55) 50%,
    rgba(var(--primary-color-rgb), 0.65) 100%
  );
  z-index: 2;
}

.service-detail-breadcrumb {
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
}

.service-detail-breadcrumb .breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
}

.service-detail-breadcrumb .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-detail-breadcrumb .breadcrumb-item a:hover {
  color: white;
}

.service-detail-breadcrumb .breadcrumb-item.active {
  color: white;
}

.service-detail-hero-icon {
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 2;
  svg {
    width: 48px;
    height: 48px;
    color: var(--text-white);
  }
}

.service-detail-hero-icon i {
  font-size: 3rem;
  color: white;
}

.service-detail-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  position: relative;
  z-index: 2;
}

.service-detail-hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  position: relative;
  z-index: 2;
}

/* Service Detail Content */
.service-detail-overview-section {
  background-color: var(--bg-primary);
}

.service-detail-content {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.service-detail-description h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.service-detail-description p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.article-tags {
  padding: 2rem 1rem 1rem 0rem;
  /* border-top: 1px solid var(--border-color); */
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.article-tags-label {
  font-weight: 600;
  color: var(--text-primary);
}

.article-tag {
  background: rgba(var(--primary-color-rgb), 0.1);
  color: var(--primary-color);
  padding: 0.4rem 0.8rem;
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.article-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

.service-detail-features h3,
.service-detail-benefits h3,
.service-detail-process h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border-color);
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-feature-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-feature-icon i {
  font-size: 1rem;
  color: white;
}

.service-feature-content h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-feature-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.service-benefits-list {
  list-style: none;
  padding: 0;
  margin-bottom: 2.5rem;
}

.service-benefits-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.service-benefits-list i {
  color: var(--primary-color);
  font-size: 1.1rem;
}

.service-process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-process-step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.service-process-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.service-process-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-process-content p {
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Sidebar */
.service-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-quote-card,
.service-contact-card,
.service-related-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2rem;
}

.service-quote-card h3,
.service-contact-card h4,
.service-related-card h4 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-quote-card p,
.service-contact-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.service-quote-form .form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-quote-form .form-control {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.service-quote-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(var(--primary-color-rgb), 0.25);
  background-color: var(--bg-primary);
}

.service-contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.service-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.service-contact-item svg {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-dark)
  );
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  flex-shrink: 0;
  padding: 0.5rem;
}

.service-contact-item div {
  line-height: 1;
}

.service-contact-item div strong {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.service-contact-item div p {
  margin: 0;
  color: var(--text-secondary);
}

.service-contact-item div a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.service-contact-item div a:hover {
  color: var(--primary-dark);
}

.service-related-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-related-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.service-related-item:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(4px);
}

.service-related-item i {
  font-size: 1.25rem;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

.service-related-item:hover i {
  color: white;
}

/* FAQ Section */
.service-detail-faq-section {
  background-color: var(--bg-secondary);
}

.service-detail-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.service-detail-section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
}

.accordion-item {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 12px !important;
  margin-bottom: 1rem;
}

.accordion-button {
  background: var(--bg-primary);
  color: var(--text-primary);
  border: none;
  padding: 1.5rem;
  font-weight: 600;
  border-radius: 12px !important;
}

.accordion-button:not(.collapsed) {
  background: var(--bg-primary);
  color: var(--primary-color);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25);
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Dark Mode Support */
.dark .service-detail-overview-section {
  background-color: var(--bg-primary);
}

.dark .service-detail-faq-section {
  background-color: var(--bg-secondary);
}

.dark .service-detail-content,
.dark .service-quote-card,
.dark .service-contact-card,
.dark .service-related-card,
.dark .accordion-item {
  background: var(--bg-primary);
  border-color: var(--border-color);
}

.dark .service-quote-form .form-control {
  background-color: var(--bg-primary);
  border-color: var(--border-color);
  color: var(--text-primary);
}

.dark .service-quote-form .form-control:focus {
  background-color: var(--bg-primary);
}

.dark .service-related-item {
  background: var(--bg-secondary);
}

.dark .accordion-button {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.dark .accordion-button:not(.collapsed) {
  background: var(--bg-primary);
  color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
  .service-detail-hero-title {
    font-size: 2.5rem;
  }

  .service-detail-hero-icon {
    width: 80px;
    height: 80px;
  }

  .service-detail-hero-icon i {
    font-size: 2.5rem;
  }

  .service-detail-content {
    padding: 2rem;
  }

  .service-detail-section-title {
    font-size: 2rem;
  }

  .service-quote-card,
  .service-contact-card,
  .service-related-card {
    padding: 1.5rem;
  }

  .service-process-steps {
    gap: 1.5rem;
  }

  .service-process-step {
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .service-detail-hero-title {
    font-size: 2rem;
  }

  .service-detail-content {
    padding: 1.5rem;
  }

  .service-detail-section-title {
    font-size: 1.75rem;
  }

  .service-quote-card,
  .service-contact-card,
  .service-related-card {
    padding: 1.25rem;
  }
}
