/* ============================================
   WKS AUTOMOTIVE — página de categoria
   (extraído de estetica.html / mecanica.html / performance.html)
   ============================================ */

/* Breadcrumb */
.breadcrumb-wrapper {
  padding: 6rem 0 1rem;
  background: var(--wks-white);
  border-bottom: 1px solid var(--wks-border);
}

.breadcrumb-wrapper-service {
  padding: 0;
  margin: 0 0 2rem;
  background: transparent;
  border-bottom: 0;
}

.breadcrumb-wks {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  font-size: 0.8125rem; color: var(--wks-text-muted);
}
.breadcrumb-wks li:not(:last-child)::after {
  content: '/'; margin-left: 0.5rem; color: var(--wks-text-light);
}
.breadcrumb-wks a { color: var(--wks-text-muted); text-decoration: none; transition: color 0.3s; }
.breadcrumb-wks a:hover { color: var(--wks-orange); }
.breadcrumb-wks li[aria-current="page"] { color: var(--wks-text); font-weight: 400; }

.breadcrumb-wrapper-service .breadcrumb-wks,
.breadcrumb-wrapper-service .breadcrumb-wks a,
.breadcrumb-wrapper-service .breadcrumb-wks li[aria-current="page"] {
  color: rgba(255, 255, 255, 0.86);
}

.breadcrumb-wrapper-service .breadcrumb-wks li:not(:last-child)::after {
  color: rgba(255, 255, 255, 0.45);
}

/* HERO */
.servico-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 5rem 0 4rem;
}
.servico-hero-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.servico-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.55) 45%,
    rgba(0, 0, 0, 0.25) 100%
  );
  z-index: 1;
}
.servico-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.servico-hero-title {
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0;
  margin-bottom: 1.5rem;
}
.servico-hero-title em {
  font-style: normal;
  color: var(--wks-orange);
  font-weight: 300;
}
.servico-hero-subtitle {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 620px;
}
.servico-hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* CATEGORIA */
.cat-section {
  padding: 7rem 0;
  background: var(--wks-white);
  scroll-margin-top: 80px;
}
.cat-section-alt {
  background: var(--wks-gray-50);
}
.cat-header {
  max-width: 780px;
  margin-bottom: 3.5rem;
}
.cat-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wks-orange);
  margin-bottom: 1.25rem;
}
.cat-title {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0;
  color: var(--wks-text);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.cat-lead {
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 640px;
}

/* SERVICE CARDS */
.srv-card-anchor {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.srv-card-anchor:hover,
.srv-card-anchor:focus {
  text-decoration: none;
  color: inherit;
}
.srv-card-anchor:focus-visible {
  outline: 2px solid var(--wks-orange);
  outline-offset: 4px;
  border-radius: var(--radius-md);
}
.srv-card {
  background: var(--wks-white);
  border: 1px solid var(--wks-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
}
.srv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(10, 10, 10, 0.18);
  border-color: var(--wks-gray-300);
}
.srv-card-media {
  display: block;
  width: 100%;
  overflow: hidden;
  background-color: var(--wks-gray-100);
}
.srv-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.srv-card:hover .srv-card-img {
  transform: scale(1.04);
}
.srv-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.srv-card-title {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0;
  margin-bottom: 0.75rem;
  line-height: 1.25;
  color: var(--wks-text);
}
.srv-card-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  flex: 1;
}
.srv-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--wks-text);
  text-decoration: none;
  margin-top: auto;
  transition: color 0.3s, gap 0.3s;
}
.srv-card-link .arrow {
  transition: transform 0.3s;
}
.srv-card-anchor:hover .srv-card-link {
  color: var(--wks-orange);
}
.srv-card-anchor:hover .srv-card-link .arrow {
  transform: translateX(4px);
}

/* "Em breve" placeholder quando categoria sem serviços */
.cat-empty {
  text-align: center;
  padding: 3rem 1rem;
  border: 1px dashed var(--wks-border);
  border-radius: var(--radius-md);
  color: var(--wks-text-muted);
}
.cat-empty p {
  font-size: 1rem;
  font-weight: 300;
  margin: 0 0 1.5rem;
}

.pagination-wks {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.pagination-wks .pagination {
  margin: 0;
  gap: 0.35rem;
}

.pagination-wks .page-link,
.pagination-wks .pagination > li > a,
.pagination-wks .pagination > li > span {
  border: 1px solid var(--wks-border);
  color: var(--wks-text);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem;
}

.pagination-wks .active .page-link,
.pagination-wks .pagination > .active > span {
  background: var(--wks-orange);
  border-color: var(--wks-orange);
  color: var(--wks-white);
}

/* DEPOIMENTOS */
.depoimentos-section {
  padding: 8rem 0;
  background: var(--wks-gray-50);
}
.depoimentos-section .section-header {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.depoimentos-section .section-title {
  font-size: clamp(1.875rem, 3.6vw, 2.75rem);
  font-weight: 300;
  letter-spacing: 0;
  color: var(--wks-text);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.depoimentos-elfsight {
  max-width: 1200px;
  margin: 0 auto;
}

/* FAQ INTERNA DE SERVIÇO */
.servico-faq {
  padding: 8rem 0;
  background: var(--wks-white);
}
.servico-faq .accordion-item {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--wks-border);
}
.servico-faq .accordion-item:first-of-type {
  border-top: 1px solid var(--wks-border);
}
.servico-faq .accordion-button {
  background: transparent;
  border: 0;
  padding: 1.5rem 0;
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--wks-text);
  box-shadow: none !important;
}
.servico-faq .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--wks-orange);
}
.servico-faq .accordion-body {
  padding: 0 0 1.5rem;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--wks-text-muted);
  line-height: 1.7;
}

/* CTA FINAL */
.servico-cta-final {
  position: relative;
  padding: 7rem 0;
  overflow: hidden;
  color: var(--wks-white);
}
.servico-cta-final .cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.servico-cta-final .cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}
.servico-cta-final .cta-content {
  max-width: 720px;
  color: var(--wks-white);
}
.servico-cta-final .cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--wks-white);
  margin-bottom: 1rem;
  letter-spacing: 0;
}
.servico-cta-final .cta-content p {
  font-size: 1.125rem;
  font-weight: 300;
  opacity: 0.9;
  margin-bottom: 2rem;
}
.cta-actions {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 991.98px) {
  .servico-hero,
  .cat-section,
  .depoimentos-section,
  .servico-cta-final {
    padding: 5rem 0;
  }
  .cat-header { margin-bottom: 2.5rem; }
  .servico-hero {
    min-height: 55vh;
    padding: 6rem 0 4rem;
  }
  .breadcrumb-wrapper:not(.breadcrumb-wrapper-service) { padding-top: 5rem; }
}
@media (max-width: 767.98px) {
  .servico-hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  .servico-hero-actions .btn,
  .cta-actions .btn { width: 100%; }
  .srv-card-body { padding: 1.5rem; }
}
