/* ================================================================
   servico-interno.css
   Páginas internas de serviço (servicos/*.html)
   Complementa style.css — requer ambos os arquivos.
================================================================ */


/* ----------------------------------------------------------------
   Breadcrumb
---------------------------------------------------------------- */
.sp-breadcrumb {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--color-text-light);
}

.sp-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1);
  align-items: center;
}

.sp-breadcrumb li + li::before {
  content: "›";
  padding-right: var(--space-1);
  opacity: 0.5;
}

.sp-breadcrumb a {
  color: var(--color-primary);
  font-weight: 500;
  text-decoration: none;
}

.sp-breadcrumb a:hover {
  text-decoration: underline;
}

.sp-breadcrumb [aria-current] {
  color: var(--color-text-light);
  font-weight: 400;
}


/* ----------------------------------------------------------------
   Hero da página de serviço
---------------------------------------------------------------- */
.sp-hero {
  position: relative;
  background: var(--color-primary);
  color: var(--color-white);
  overflow: hidden;
}

.sp-hero__bg {
  position: absolute;
  inset: 0;
  background-image: var(--sp-hero-bg, none);
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  pointer-events: none;
}

.sp-hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  padding: var(--space-12) 0 var(--space-10);
}

@media (min-width: 1024px) {
  .sp-hero__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: var(--space-12);
    padding: var(--space-20) 0;
  }
}

.sp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(242, 169, 0, 0.15);
  border: 1px solid rgba(242, 169, 0, 0.4);
  color: var(--color-accent);
  font-size: var(--text-sm);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.sp-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: sp-pulse 2s ease-in-out infinite;
}

@keyframes sp-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.65); }
}

.sp-hero__title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 var(--space-4);
  color: var(--color-white);
}

.sp-hero__title em {
  font-style: normal;
  color: var(--color-accent);
}

.sp-hero__lead {
  font-size: var(--text-lg);
  line-height: 1.6;
  margin: 0 0 var(--space-6);
  opacity: 0.9;
}

.sp-hero__checklist {
  list-style: none;
  margin: 0 0 var(--space-8);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sp-hero__checklist li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--text-base);
  font-weight: 500;
}

.sp-hero__checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230B3C5D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 13px 13px;
  background-repeat: no-repeat;
  background-position: center;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.sp-hero__actions .btn--outline-white,
.sp-hero__actions .btn--outline {
  min-width: 10.5rem;
}

.sp-cta__actions .btn--outline-white,
.sp-cta__actions .btn--outline {
  min-width: 10.5rem;
}

.sp-hero__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.sp-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ----------------------------------------------------------------
   Seções genéricas
---------------------------------------------------------------- */
.sp-section {
  padding: var(--space-16) 0;
  background: var(--color-bg);
}

.sp-section--alt {
  background: var(--color-white);
}

.sp-section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto var(--space-12);
}

.sp-section__eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-2);
}

.sp-section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-3);
}

.sp-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.65;
  margin: 0;
}


/* ----------------------------------------------------------------
   Cards de benefícios (4 por linha no desktop)
---------------------------------------------------------------- */
.sp-benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .sp-benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-benefits__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-benefit-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: var(--transition-base);
}

.sp-benefit-card:hover {
  box-shadow: 0 8px 28px rgba(11, 60, 93, 0.1);
  transform: translateY(-3px);
}

.sp-benefit-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(11, 60, 93, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  color: var(--color-primary);
}

.sp-benefit-card__icon svg {
  width: 24px;
  height: 24px;
}

.sp-benefit-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
}

.sp-benefit-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}


/* ----------------------------------------------------------------
   Seção de detalhes (texto + imagem)
---------------------------------------------------------------- */
.sp-features__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
}

@media (min-width: 768px) {
  .sp-features__grid {
    grid-template-columns: 1fr 1fr;
  }

  .sp-features__grid--reverse .sp-features__img {
    order: 2;
  }

  .sp-features__grid--reverse .sp-features__content {
    order: 1;
  }
}

.sp-features__img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-lg);
}

.sp-features__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-features__list {
  list-style: none;
  margin: var(--space-6) 0 var(--space-8);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.sp-features__list li {
  display: flex;
  gap: var(--space-4);
}

.sp-features__list-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-lg);
  background: rgba(242, 169, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d99600;
  margin-top: 2px;
}

.sp-features__list-icon svg {
  width: 20px;
  height: 20px;
}

.sp-features__list-title {
  display: block;
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.sp-features__list-text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.55;
}


/* ----------------------------------------------------------------
   Processo (4 etapas)
---------------------------------------------------------------- */
.sp-process__steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  counter-reset: step;
}

@media (min-width: 640px) {
  .sp-process__steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-process__steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.sp-step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  counter-increment: step;
  position: relative;
  transition: var(--transition-base);
}

.sp-step:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.sp-step__num {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(11, 60, 93, 0.07);
  line-height: 1;
  letter-spacing: -0.04em;
  display: block;
  margin-bottom: var(--space-3);
  font-variant-numeric: tabular-nums;
}

.sp-step__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 var(--space-2);
}

.sp-step__text {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: 1.55;
  margin: 0;
}


/* ----------------------------------------------------------------
   FAQ accordion
---------------------------------------------------------------- */
.sp-faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.sp-faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
}

.sp-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-base);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
  transition: background 0.15s ease;
}

.sp-faq__question:hover {
  background: rgba(11, 60, 93, 0.03);
}

.sp-faq__question[aria-expanded="true"] {
  background: rgba(11, 60, 93, 0.04);
  border-bottom: 1px solid var(--color-border);
}

.sp-faq__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}

.sp-faq__question[aria-expanded="true"] .sp-faq__icon {
  transform: rotate(45deg);
}

.sp-faq__answer {
  display: none;
  padding: var(--space-5) var(--space-6);
  font-size: var(--text-base);
  color: var(--color-text-light);
  line-height: 1.7;
}

.sp-faq__answer.is-open {
  display: block;
}


/* ----------------------------------------------------------------
   CTA banner
---------------------------------------------------------------- */
.sp-cta {
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-16) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(242,169,0,.06) 0%, transparent 70%);
  pointer-events: none;
}

.sp-cta__inner {
  position: relative;
}

.sp-cta__eyebrow {
  display: block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.sp-cta__title {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 var(--space-4);
}

.sp-cta__sub {
  font-size: var(--text-lg);
  opacity: 0.85;
  max-width: 540px;
  margin: 0 auto var(--space-8);
  line-height: 1.55;
}

.sp-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
}

.sp-cta__trust {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}


/* ----------------------------------------------------------------
   Serviços relacionados
---------------------------------------------------------------- */
.sp-related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 640px) {
  .sp-related__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .sp-related__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.sp-related-card {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sp-related-card:hover {
  box-shadow: 0 10px 36px rgba(11, 60, 93, 0.12);
  transform: translateY(-4px);
}

.sp-related-card__img {
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.sp-related-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.sp-related-card:hover .sp-related-card__img img {
  transform: scale(1.05);
}

.sp-related-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sp-related-card__tag {
  font-size: var(--text-xs);
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: var(--space-2);
}

.sp-related-card__title {
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
  margin: 0 0 var(--space-3);
  flex: 1;
}

.sp-related-card__arrow {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.sp-related-card__arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.sp-related-card:hover .sp-related-card__arrow svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------------------
   Client logo gallery (shared with page-static residual)
---------------------------------------------------------------- */
.ps-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(7.5rem, 1fr));
  gap: var(--space-4);
  margin: 1.5rem 0 2rem;
  padding: 0;
  list-style: none;
}

.ps-gallery > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-gallery figure,
.ps-gallery .gallery-item {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.5rem;
  padding: 0.75rem;
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.1);
  border-radius: var(--radius-md, 0.75rem);
}

.ps-gallery img {
  max-width: 100%;
  height: auto;
  max-height: 4.5rem;
  width: auto;
  object-fit: contain;
}

/* ----------------------------------------------------------------
   Clients — dual-row infinite logo marquee
---------------------------------------------------------------- */
.sp-section--clients .container {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
}

.sp-clients-marquee {
  display: flex;
  flex-direction: column;
  gap: clamp(0.65rem, 1.5vw, 0.9rem);
  width: 100vw;
  max-width: 100vw;
  margin: 0.25rem 0 0;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  --pv-marquee-duration: 42s;
  --pv-marquee-duration-rev: 48s;
  --pv-marquee-gap: 0.85rem;
}

.sp-clients-marquee__row {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.sp-clients-marquee__track {
  display: flex;
  width: max-content;
  animation: sp-clients-marquee-x var(--pv-marquee-duration) linear infinite;
  will-change: transform;
  backface-visibility: hidden;
}

.sp-clients-marquee__row--reverse .sp-clients-marquee__track {
  animation-name: sp-clients-marquee-x-rev;
  animation-duration: var(--pv-marquee-duration-rev);
}

.sp-clients-marquee:hover .sp-clients-marquee__track {
  animation-play-state: paused;
}

@keyframes sp-clients-marquee-x {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes sp-clients-marquee-x-rev {
  from {
    transform: translate3d(-50%, 0, 0);
  }
  to {
    transform: translate3d(0, 0, 0);
  }
}

.sp-clients-marquee__list {
  display: flex;
  align-items: stretch;
  gap: var(--pv-marquee-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  padding-inline-end: var(--pv-marquee-gap);
  flex-shrink: 0;
  box-sizing: content-box;
}

.sp-clients-marquee__item {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sp-clients-marquee__card {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 130px;
  min-width: 200px;
  min-height: 130px;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid rgba(11, 60, 93, 0.1);
  border-radius: var(--radius-md, 0.75rem);
  box-shadow:
    0 2px 4px rgba(11, 60, 93, 0.04),
    0 10px 24px -8px rgba(11, 60, 93, 0.1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    border-color 0.25s ease;
}

.sp-clients-marquee__card:hover {
  transform: translateY(-3px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow:
    0 4px 8px rgba(11, 60, 93, 0.06),
    0 18px 36px -12px rgba(11, 60, 93, 0.14);
}

.sp-clients-marquee__card img,
.sp-clients-marquee__card .gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) contrast(1.02);
  opacity: 0.55;
  transition:
    filter 0.35s ease,
    opacity 0.35s ease,
    transform 0.35s ease;
}

.sp-clients-marquee__card:hover img {
  filter: grayscale(0%) contrast(1);
  opacity: 1;
  transform: scale(1.04);
}

.sp-clients-marquee__card figure,
.sp-clients-marquee__card .gallery-item {
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  min-height: 0;
  box-shadow: none;
}

@media (max-width: 640px) {
  .sp-clients-marquee__card {
    width: 160px;
    height: 104px;
    min-width: 160px;
    min-height: 104px;
    padding: 0.65rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-clients-marquee {
    width: auto;
    max-width: none;
    margin-left: 0;
  }

  .sp-clients-marquee__row {
    mask-image: none;
    -webkit-mask-image: none;
    overflow: visible;
  }

  .sp-clients-marquee__track {
    animation: none;
    display: block;
    width: 100%;
    will-change: auto;
  }

  .sp-clients-marquee__list {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  .sp-clients-marquee__list--clone {
    display: none;
  }

  .sp-clients-marquee__card:hover {
    transform: none;
  }

  .sp-clients-marquee__card:hover img {
    transform: none;
  }
}

/* ----------------------------------------------------------------
   Elementor residual — photo / testimonial lightbox → image grid
---------------------------------------------------------------- */
.ps-media-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 2rem;
  padding: 0;
  list-style: none;
}

.ps-media-gallery > li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ps-media-gallery a {
  display: block;
  height: 100%;
  border-radius: var(--radius-md, 0.75rem);
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid rgba(11, 60, 93, 0.1);
  text-decoration: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: zoom-in;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ps-media-gallery a:hover {
  box-shadow: 0 8px 24px rgba(11, 60, 93, 0.12);
  transform: translateY(-2px);
}

.ps-media-gallery a:focus-visible {
  outline: 2px solid #f2a900;
  outline-offset: 3px;
}

/* ----------------------------------------------------------------
   Lightbox profissional — thumbs laterais (desktop) / embaixo (mobile)
---------------------------------------------------------------- */
body.ps-lightbox-open {
  overflow: hidden;
}

.ps-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 1.5rem;
  background: rgba(8, 28, 44, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.ps-lightbox[hidden] {
  display: none;
}

.ps-lightbox__close {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ps-lightbox__close:hover,
.ps-lightbox__close:focus-visible {
  background: #f2a900;
  color: #0b3c5d;
  outline: none;
}

.ps-lightbox__stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  max-width: min(96vw, 1180px);
  max-height: calc(100vh - 2.5rem);
}

.ps-lightbox__figure {
  margin: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}

.ps-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(8, 28, 44, 0.55);
  color: #fff;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.ps-lightbox__nav:hover,
.ps-lightbox__nav:focus-visible {
  background: #f2a900;
  color: #0b3c5d;
  outline: none;
}

.ps-lightbox__nav--prev {
  left: 0.5rem;
}

.ps-lightbox__nav--next {
  right: 0.5rem;
}

.ps-lightbox__image {
  display: block;
  max-width: 92vw;
  max-height: calc(100vh - 8.5rem);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  object-fit: contain;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.ps-lightbox__counter {
  position: absolute;
  left: 50%;
  bottom: 0.75rem;
  z-index: 2;
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  transform: translateX(-50%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: rgba(8, 28, 44, 0.65);
}

.ps-lightbox__thumbs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  max-width: 92vw;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.15rem;
  scrollbar-width: none;
}

.ps-lightbox__thumbs::-webkit-scrollbar {
  display: none;
}

.ps-lightbox__thumb {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0.65rem;
  overflow: hidden;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.58;
  transform: scale(0.94);
  outline: 2px solid transparent;
  outline-offset: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease, outline-color 0.2s ease, box-shadow 0.2s ease;
}

.ps-lightbox__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ps-lightbox__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.ps-lightbox__thumb:hover {
  opacity: 0.92;
  transform: scale(1);
}

.ps-lightbox__thumb.is-active {
  opacity: 1;
  transform: scale(1.04);
  outline-color: #f2a900;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(242, 169, 0, 0.35);
}

.ps-lightbox__thumb:focus-visible {
  outline-color: #f2a900;
  opacity: 1;
}

@media (min-width: 768px) {
  .ps-lightbox {
    padding: 2rem;
  }

  .ps-lightbox__stage {
    flex-direction: row;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.35rem);
    max-height: 85vh;
  }

  .ps-lightbox__image {
    max-width: min(78vw, 980px);
    max-height: 85vh;
  }

  .ps-lightbox__nav {
    width: 2.75rem;
    height: 2.75rem;
    margin-top: -1.375rem;
  }

  .ps-lightbox__nav--prev {
    left: 0.75rem;
  }

  .ps-lightbox__nav--next {
    right: 0.75rem;
  }

  .ps-lightbox__thumbs {
    flex-direction: column;
    max-width: none;
    max-height: 85vh;
    overflow-x: hidden;
    overflow-y: auto;
    gap: 0.65rem;
  }

  .ps-lightbox__thumb {
    width: clamp(52px, 7vw, 72px);
    border-radius: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-lightbox__thumb,
  .ps-lightbox__nav,
  .ps-lightbox__close,
  .ps-media-gallery a {
    transition: none;
  }
}

.ps-media-gallery figure {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ps-media-gallery img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  display: block;
}

@media (min-width: 768px) {
  .ps-media-gallery {
    grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
    gap: 1rem;
  }
}

/* Larger photo grid inside professional sp-section shell */
.sp-section .ps-media-gallery {
  grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .sp-section .ps-media-gallery {
    grid-template-columns: repeat(auto-fill, minmax(13.5rem, 1fr));
    gap: 1.15rem;
  }
}

.sp-section .ps-media-gallery--depo figure {
  aspect-ratio: 3 / 4;
}

/* ----------------------------------------------------------------
   Depoimentos — carrossel profissional (.ps-media-gallery--depo)
---------------------------------------------------------------- */
.ps-depo-carousel {
  margin: 0.5rem 0 2rem;
}

.ps-depo-carousel__frame {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ps-depo-carousel__viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.35rem 0.15rem 0.85rem;
  outline: none;
}

.ps-depo-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.ps-depo-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 2px #f2a900;
  border-radius: 0.75rem;
}

ul.ps-media-gallery.ps-depo-carousel__track,
.ps-depo-carousel__track {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 1rem;
  margin: 0 !important;
  padding: 0;
  list-style: none;
  width: max-content;
}

.ps-depo-carousel__slide {
  flex: 0 0 min(78vw, 17.5rem);
  scroll-snap-align: center;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  opacity: 0.55;
  transform: scale(0.94);
}

.ps-depo-carousel__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.ps-depo-carousel__slide a {
  display: block;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: #eef2f6;
  border: 1px solid rgba(11, 60, 93, 0.1);
  box-shadow: 0 10px 28px rgba(11, 60, 93, 0.1);
  text-decoration: none;
  color: transparent;
  font-size: 0;
  line-height: 0;
  cursor: zoom-in;
  transition: box-shadow 0.25s ease;
}

.ps-depo-carousel__slide.is-active a {
  box-shadow: 0 16px 40px rgba(11, 60, 93, 0.16);
}

.ps-depo-carousel__slide a:hover {
  box-shadow: 0 18px 44px rgba(11, 60, 93, 0.18);
}

.ps-depo-carousel__slide a:focus-visible {
  outline: 2px solid #f2a900;
  outline-offset: 3px;
}

.ps-depo-carousel__slide figure {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.ps-depo-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ps-depo-carousel__nav {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(11, 60, 93, 0.14);
  border-radius: 999px;
  background: #fff;
  color: #0b3c5d;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(11, 60, 93, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ps-depo-carousel__nav:hover,
.ps-depo-carousel__nav:focus-visible {
  background: #0b3c5d;
  color: #f2a900;
  border-color: #0b3c5d;
  outline: none;
}

.ps-depo-carousel__nav:active {
  transform: scale(0.96);
}

.ps-depo-carousel__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.ps-depo-carousel__dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 60, 93, 0.22);
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.ps-depo-carousel__dot.is-active {
  width: 1.35rem;
  background: #f2a900;
}

.ps-depo-carousel__dot:focus-visible {
  outline: 2px solid #0b3c5d;
  outline-offset: 2px;
}

@media (min-width: 768px) {
  .ps-depo-carousel__slide {
    flex-basis: min(42vw, 18.5rem);
  }

  .ps-depo-carousel__nav {
    width: 2.75rem;
    height: 2.75rem;
  }

  .ps-depo-carousel__frame {
    gap: 0.75rem;
  }
}

@media (min-width: 1100px) {
  .ps-depo-carousel__slide {
    flex-basis: 19rem;
  }
}

@media (max-width: 640px) {
  .ps-depo-carousel__nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ps-depo-carousel__viewport {
    scroll-behavior: auto;
  }

  .ps-depo-carousel__slide,
  .ps-depo-carousel__dot,
  .ps-depo-carousel__nav {
    transition: none;
  }
}

.sp-section .ps-gallery {
  margin-top: 0.5rem;
}

.sp-section--clients .ps-gallery[hidden],
.sp-section--clients .ps-gallery.is-marquee-source,
.ps-gallery.is-marquee-source {
  display: none !important;
}

/* page-static (contato/preço/telas): marquee below clients H2 */
.ps-prose > .sp-clients-marquee,
.ps-article > .sp-clients-marquee,
.ps-section--clients > .sp-clients-marquee {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Dedicated lead band — form after CTA, never inside .sp-step */
.sp-section--lead {
  padding-block: clamp(2.5rem, 5vw, 3.75rem);
}

.sp-lead-wrap {
  max-width: 36rem;
  margin-inline: auto;
}

.sp-lead-wrap .ps-lead--card {
  margin: 0;
}

.sp-lead-wrap .ps-lead__header {
  text-align: center;
  max-width: none;
  margin-inline: auto;
}

.sp-lead-wrap .ps-lead__intro {
  max-width: 28rem;
  margin-inline: auto;
}

@media (min-width: 720px) {
  .sp-lead-wrap {
    max-width: 42rem;
  }

  .sp-lead-wrap .ps-lead--card {
    padding: clamp(1.75rem, 3.5vw, 2.35rem) clamp(1.75rem, 4vw, 2.5rem);
  }
}

/* Safety: if form ever lands inside a process column, don't break the grid */
.sp-step .ps-lead--card {
  margin: 0.75rem 0 0;
  padding: 1rem;
  box-shadow: none;
}

.sp-step .ps-lead__header {
  margin-bottom: 0.75rem;
}

.sp-step .ps-lead__title {
  font-size: 1.05rem;
}

/* Lead form on native sp-* shell (conversion panel) */
.sp-page .ps-lead--card {
  position: relative;
  isolation: isolate;
  margin: 1.5rem 0 0.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.15rem) clamp(1.25rem, 3vw, 1.85rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(11, 60, 93, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 60, 93, 0.06) 0%, rgba(255, 255, 255, 0.96) 42%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 44px rgba(11, 60, 93, 0.1);
  overflow: hidden;
}

.sp-page .ps-lead--card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
}

.sp-page .ps-lead__header {
  margin: 0 0 1.25rem;
  max-width: 36rem;
}

.sp-page .ps-lead__eyebrow {
  display: inline-flex;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 169, 0, 0.14);
  border: 1px solid rgba(242, 169, 0, 0.4);
  color: #b87a00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.sp-page .ps-lead__title {
  margin: 0 0 0.45rem;
  color: var(--color-primary);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.sp-page .ps-lead__intro,
.sp-page .ps-lead--card .contact-section__form-hint {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

.sp-page .ps-lead-form.contact-section__form {
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.sp-page .ps-lead-form .contact-section__label {
  color: var(--color-primary);
  font-weight: 750;
}

.sp-page .ps-lead-form .contact-section__input,
.sp-page .ps-lead-form .contact-section__select {
  min-height: 3rem;
  color: #1a2f3f;
  background: #fff;
  border: 1.5px solid rgba(11, 60, 93, 0.16);
  box-shadow: 0 1px 2px rgba(11, 60, 93, 0.04);
}

.sp-page .ps-lead-form .contact-section__input::placeholder {
  color: rgba(75, 85, 99, 0.65);
}

.sp-page .ps-lead-form .contact-section__input:focus,
.sp-page .ps-lead-form .contact-section__select:focus {
  border-color: rgba(242, 169, 0, 0.85);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.22);
}

.sp-page .ps-lead-form .contact-section__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230B3C5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1.1rem;
}

.sp-page .ps-lead-form .contact-section__form-submit {
  width: 100%;
  min-height: 3.15rem;
  color: #fff;
  font-weight: 750;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: 0 6px 20px rgba(11, 60, 93, 0.24);
}

.sp-page .ps-lead-form .contact-section__form-submit:hover {
  background: #0a3350;
  border-color: #0a3350;
}

.sp-page .ps-lead__wa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(11, 60, 93, 0.14);
}

.sp-page .ps-lead__wa-label {
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 600;
}

.sp-page .ps-lead__wa .btn {
  width: auto;
  min-width: 12rem;
  justify-content: center;
}

/* ----------------------------------------------------------------
   Fallback shell — Elementor residual without sp-* HTML import
---------------------------------------------------------------- */
.sp-page--fallback {
  background:
    radial-gradient(ellipse 80% 40% at 50% -5%, rgba(11, 60, 93, 0.06), transparent 55%),
    linear-gradient(180deg, #eef2f6 0%, #f7f9fb 40%, #eef2f6 100%);
  padding-bottom: var(--space-12, 3rem);
}

.sp-fallback {
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
  color: #1a2f3f;
}

.sp-fallback > *:first-child {
  margin-top: 0;
}

.sp-fallback h1,
.sp-fallback h2,
.sp-fallback h3 {
  color: var(--color-primary);
  font-weight: 800;
  line-height: 1.25;
  margin: 1.75rem 0 0.75rem;
}

.sp-fallback h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  padding-left: 0.85rem;
  border-left: 3px solid var(--color-accent);
}

.sp-fallback h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.sp-fallback p {
  margin: 0 0 1rem;
  line-height: 1.7;
  color: #4b5563;
}

.sp-fallback ul:not(.ps-gallery):not(.ps-media-gallery) {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
  color: #1a2f3f;
}

.sp-fallback a[role="button"],
.sp-fallback a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.35rem 0.5rem 0.35rem 0;
  text-decoration: none;
}

.sp-fallback > a:has(img) {
  display: inline-block;
  margin-bottom: 1rem;
}

.sp-fallback .ps-gallery,
.sp-fallback .ps-media-gallery {
  margin-top: 1rem;
}

/* Lead form on fallback serviço — same conversion panel as .sp-page */
.sp-fallback .ps-lead--card {
  position: relative;
  isolation: isolate;
  margin: 1.25rem 0 0.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.15rem) clamp(1.25rem, 3vw, 1.85rem);
  border-radius: 1.15rem;
  border: 1px solid rgba(11, 60, 93, 0.12);
  background:
    linear-gradient(180deg, rgba(11, 60, 93, 0.06) 0%, rgba(255, 255, 255, 0.96) 42%),
    #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 18px 44px rgba(11, 60, 93, 0.1);
  overflow: hidden;
}

.sp-fallback .ps-lead--card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 60%, var(--color-primary-light) 100%);
}

.sp-fallback .ps-lead__header { margin: 0 0 1.25rem; max-width: 36rem; }
.sp-fallback .ps-lead__eyebrow {
  display: inline-flex;
  margin: 0 0 0.55rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(242, 169, 0, 0.14);
  border: 1px solid rgba(242, 169, 0, 0.4);
  color: #b87a00;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.sp-fallback .ps-lead__title {
  margin: 0 0 0.45rem;
  color: var(--color-primary);
  font-size: clamp(1.35rem, 2.8vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
}
.sp-fallback .ps-lead__intro,
.sp-fallback .ps-lead--card .contact-section__form-hint {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  font-weight: 500;
}

.sp-fallback .ps-lead-form.contact-section__form {
  max-width: 100%;
  margin-top: 0;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}

.sp-fallback .ps-lead-form .contact-section__label {
  color: var(--color-primary);
  font-weight: 750;
}

.sp-fallback .ps-lead-form .contact-section__input,
.sp-fallback .ps-lead-form .contact-section__select {
  min-height: 3rem;
  color: #1a2f3f;
  background: #fff;
  border: 1.5px solid rgba(11, 60, 93, 0.16);
  box-shadow: 0 1px 2px rgba(11, 60, 93, 0.04);
}

.sp-fallback .ps-lead-form .contact-section__input::placeholder {
  color: rgba(75, 85, 99, 0.65);
}

.sp-fallback .ps-lead-form .contact-section__input:focus,
.sp-fallback .ps-lead-form .contact-section__select:focus {
  border-color: rgba(242, 169, 0, 0.85);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(242, 169, 0, 0.22);
}

.sp-fallback .ps-lead-form .contact-section__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230B3C5D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 1.1rem;
}

.sp-fallback .ps-lead-form .contact-section__form-submit {
  width: 100%;
  min-height: 3.15rem;
  color: #fff;
  font-weight: 750;
  background: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: 0 6px 20px rgba(11, 60, 93, 0.24);
}

.sp-fallback .ps-lead-form .contact-section__form-submit:hover {
  background: #0a3350;
  border-color: #0a3350;
}

.sp-fallback .ps-lead__wa {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px dashed rgba(11, 60, 93, 0.14);
}

.sp-fallback .ps-lead__wa-label {
  color: #4b5563;
  font-size: 0.92rem;
  font-weight: 600;
}

.sp-fallback .ps-lead__wa .btn {
  width: auto;
  min-width: 12rem;
  justify-content: center;
}

/* Siga-nos — empty icon anchors: show network name from href host */
.sp-fallback h3 + ul li a[href*="instagram.com"]:empty::before {
  content: "Instagram";
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
.sp-fallback h3 + ul li a[href*="facebook.com"]:empty::before {
  content: "Facebook";
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
.sp-fallback h3 + ul li a[href*="g.page"]:empty::before,
.sp-fallback h3 + ul li a[href*="google"]:empty::before {
  content: "Google";
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 600;
}
