/* servicos — layout estruturado */

.pl-srv-page {
  --pl-brand: #4b00a1;
  --pl-brand-soft: rgba(75, 0, 161, 0.08);
  --pl-text: #111827;
  --pl-muted: #4b5563;
  --pl-line: #e5e7eb;
  --pl-shell: min(1080px, calc(100% - 3rem));
  --pl-paper-avena: #e5dcc8;
  --pl-card-bg: rgba(255, 255, 255, 0.9);
  --pl-card-border: rgba(75, 0, 161, 0.1);
  --pl-card-radius: 14px;
  --pl-card-shadow: 0 4px 28px rgba(75, 0, 161, 0.07);
  --pl-gap-section: clamp(2.5rem, 5vw, 3.5rem);
  --pl-gap-row: clamp(1.75rem, 3vw, 3rem);
  position: relative;
  background: transparent;
  color: var(--pl-text);
}

/* Fundo papel avena + chapiscado */
.pl-srv-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.pl-srv-bg__paper {
  position: absolute;
  inset: 0;
  background-color: var(--pl-paper-avena);
  background-image:
    linear-gradient(rgba(250, 246, 238, 0.55), rgba(235, 225, 208, 0.68)),
    url("../img/papel-textura-resumo.png");
  background-size: auto, 384px auto;
  background-position: center, center;
  background-repeat: no-repeat, repeat;
}

.pl-srv-bg__marks {
  position: absolute;
  inset: 0;
}

.pl-srv-wm {
  position: absolute;
  height: auto;
  opacity: 0.05;
  user-select: none;
  pointer-events: none;
}

.pl-srv-wm--1  { top: 7%;  left: 6%;  width: 44px; transform: rotate(-13deg); }
.pl-srv-wm--2  { top: 14%; left: 84%; width: 38px; transform: rotate(9deg); }
.pl-srv-wm--3  { top: 24%; left: 18%; width: 50px; transform: rotate(-6deg); }
.pl-srv-wm--4  { top: 31%; left: 71%; width: 42px; transform: rotate(11deg); }
.pl-srv-wm--5  { top: 42%; left: 4%;  width: 46px; transform: rotate(7deg); }
.pl-srv-wm--6  { top: 48%; left: 90%; width: 40px; transform: rotate(-10deg); }
.pl-srv-wm--7  { top: 55%; left: 34%; width: 36px; transform: rotate(-16deg); }
.pl-srv-wm--8  { top: 61%; left: 76%; width: 48px; transform: rotate(5deg); }
.pl-srv-wm--9  { top: 68%; left: 10%; width: 42px; transform: rotate(-8deg); }
.pl-srv-wm--10 { top: 74%; left: 58%; width: 38px; transform: rotate(12deg); }
.pl-srv-wm--11 { top: 80%; left: 26%; width: 44px; transform: rotate(-5deg); }
.pl-srv-wm--12 { top: 86%; left: 82%; width: 36px; transform: rotate(8deg); }
.pl-srv-wm--13 { top: 20%; left: 50%; width: 34px; transform: rotate(-11deg); opacity: 0.042; }
.pl-srv-wm--14 { top: 63%; left: 52%; width: 40px; transform: rotate(6deg); opacity: 0.044; }

.pl-srv-page > *:not(.pl-srv-bg) {
  position: relative;
  z-index: 1;
}

body.pl-menu-site #div_block-28-166,
body.pl-menu-site .animacao-circulo,
body.pl-menu-site .hs-pgs-srv-anime-box {
  display: none !important;
}

.pl-srv-shell {
  width: var(--pl-shell);
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Hero */
.pl-srv-hero {
  padding: clamp(6.5rem, 12vw, 7.5rem) 1.5rem clamp(2rem, 4vw, 2.75rem);
  text-align: center;
  color: #fff;
  background-size: cover !important;
  background-position: center !important;
}

.pl-srv-hero__box {
  max-width: 38rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.pl-srv-hero__title {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
}

.pl-capa-hero-h1-line2 {
  display: block;
  font-size: 0.55em;
  font-weight: 400;
  opacity: 0.92;
  margin-top: 0.15em;
}

.pl-srv-hero__sub {
  margin: 0;
  font-size: clamp(0.9375rem, 1.5vw, 1.0625rem);
  line-height: 1.6;
  opacity: 0.92;
  max-width: 34rem;
}

.pl-srv-hero__cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.5rem;
  margin-top: 0.5rem;
  border-radius: 8px;
  background: #fff;
  color: var(--pl-brand);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.pl-srv-hero__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Conteúdo principal */
.pl-srv-wrap {
  padding: clamp(2rem, 4vw, 3rem) 1.5rem clamp(2.5rem, 5vw, 3.5rem);
}

.pl-srv-wrap > * {
  width: 100%;
  box-sizing: border-box;
}

.pl-srv-content {
  display: flex;
  flex-direction: column;
  gap: var(--pl-gap-section);
}

.pl-srv-block {
  width: 100%;
}

.pl-srv-block--detail {
  padding-top: var(--pl-gap-section);
  border-top: 1px solid var(--pl-brand-soft);
}

/* Cabeçalho do serviço */
.pl-srv-header {
  margin-bottom: 1.25rem;
}

.pl-srv-eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pl-brand);
  opacity: 0.75;
}

.pl-srv-title {
  margin: 0;
  font-size: clamp(1.625rem, 2.8vw, 2.125rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid var(--pl-brand-soft);
}

.pl-srv-title span {
  color: var(--pl-brand);
}

.pl-srv-intro {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--pl-muted);
}

.pl-srv-intro p {
  margin: 0 0 1em;
}

.pl-srv-intro p:last-child {
  margin-bottom: 0;
}

.pl-srv-intro a,
.pl-srv-article a {
  color: var(--pl-brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Linhas alternadas foto ↔ texto */
.pl-srv-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--pl-gap-row);
  align-items: start;
}

.pl-srv-row__media {
  width: 100%;
  min-width: 0;
}

.pl-srv-row__text {
  width: 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pl-srv-row__img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
  box-shadow: 0 10px 36px rgba(17, 24, 39, 0.14);
}

@media (min-width: 768px) {
  .pl-srv-row {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 4vw, 3.5rem);
    align-items: start;
  }

  .pl-srv-row--photo-first {
    align-items: center;
  }

  .pl-srv-row--text-first .pl-srv-row__text {
    order: 1;
  }

  .pl-srv-row--text-first .pl-srv-row__media {
    order: 2;
  }

  .pl-srv-row--text-first .pl-srv-row__media {
    position: sticky;
    top: 6rem;
  }
}

@media (max-width: 767px) {
  .pl-srv-row--photo-first .pl-srv-row__media {
    order: 1;
  }

  .pl-srv-row--photo-first .pl-srv-row__text {
    order: 2;
  }

  .pl-srv-row--text-first .pl-srv-row__text {
    order: 1;
  }

  .pl-srv-row--text-first .pl-srv-row__media {
    order: 2;
  }
}

/* Artigo */
.pl-srv-article-wrap {
  margin-bottom: 0;
}

.pl-srv-article {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pl-capa-sec {
  margin: 0;
  padding: 0;
  border: 0;
}

.pl-capa-sec--lead {
  padding: 1rem 1.25rem;
  margin: 0;
  border: 0;
  border-left: 4px solid var(--pl-brand);
  border-radius: 0 10px 10px 0;
  background: rgba(255, 255, 255, 0.55);
}

.pl-capa-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--pl-text);
}

.pl-capa-h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pl-brand);
  text-transform: none;
  letter-spacing: -0.01em;
}

.pl-srv-article p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--pl-muted);
}

/* Cards: formulário e FAQ */
.pl-srv-form-block {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  background: var(--pl-card-bg);
  border: 1px solid var(--pl-card-border);
  border-radius: var(--pl-card-radius);
  box-shadow: var(--pl-card-shadow);
  backdrop-filter: blur(4px);
}

.pl-srv-form-block::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 3vw, 1.75rem);
  right: clamp(1.25rem, 3vw, 1.75rem);
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--pl-brand) 0%, rgba(75, 0, 161, 0.25) 100%);
}

.pl-srv-contact {
  width: 100%;
}

.pl-srv-contact__title {
  margin: 0 0 0.35rem;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.pl-srv-contact__title b {
  color: var(--pl-brand);
}

.pl-srv-contact__lead {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

.pl-srv-contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.pl-srv-contact__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--pl-text);
}

.pl-srv-contact__field input,
.pl-srv-contact__field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pl-srv-contact__field textarea {
  min-height: 6.5rem;
  resize: vertical;
}

.pl-srv-contact__field input:focus,
.pl-srv-contact__field textarea:focus {
  outline: none;
  border-color: var(--pl-brand);
  box-shadow: 0 0 0 3px rgba(75, 0, 161, 0.1);
}

.pl-srv-contact__submit {
  min-height: 48px;
  padding: 0 1.75rem;
  border: 0;
  border-radius: 8px;
  background: var(--pl-brand);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.pl-srv-contact__submit:hover {
  background: #3a007d;
}

#sobre.pl-srv-contact {
  scroll-margin-top: 5rem;
}

@media (min-width: 640px) {
  .pl-srv-contact__form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
  }

  .pl-srv-contact__field:nth-child(3) {
    grid-column: 1 / -1;
  }

  .pl-srv-contact__submit {
    grid-column: 1 / -1;
    justify-self: start;
    min-width: 240px;
  }
}

/* FAQ */
.pl-srv-faq {
  position: relative;
  padding: clamp(1.75rem, 3.5vw, 2.25rem);
  background: var(--pl-card-bg);
  border: 1px solid var(--pl-card-border);
  border-radius: var(--pl-card-radius);
  box-shadow: var(--pl-card-shadow);
  backdrop-filter: blur(4px);
}

.pl-srv-faq::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(1.25rem, 3vw, 1.75rem);
  right: clamp(1.25rem, 3vw, 1.75rem);
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, var(--pl-brand) 0%, rgba(75, 0, 161, 0.25) 100%);
}

.pl-srv-faq__head {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--pl-line);
}

.pl-srv-faq__title {
  margin: 0 0 0.35rem;
  font-size: 1.3125rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pl-text);
}

.pl-srv-faq__lead {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--pl-muted);
}

.pl-srv-faq .container-faq {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.pl-srv-faq .faq-item {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--pl-line);
}

.pl-srv-faq .faq-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.pl-srv-faq .faq-q {
  margin: 0;
  padding-right: 1.75rem;
  position: relative;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  color: var(--pl-text);
}

.pl-srv-faq .faq-q::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1;
  color: var(--pl-brand);
}

.pl-srv-faq .faq-item.pl-faq-open .faq-q::after {
  content: "−";
}

.pl-srv-faq .faq-a {
  display: none;
  padding-top: 0.5rem;
}

.pl-srv-faq .faq-item.pl-faq-open .faq-a {
  display: block;
}

.pl-srv-faq .faq-a p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--pl-muted);
}

@media (min-width: 768px) {
  .pl-srv-faq .container-faq {
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    row-gap: 0;
  }
}

/* Logística */
.pl-srv-motion {
  padding: 0 1.5rem 2rem;
}

.pl-srv-motion #section-6-166 {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.pl-srv-motion #section-6-166 .ct-section-inner-wrap {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 0.875rem 1.25rem !important;
  background: var(--pl-brand) !important;
  border-radius: 10px !important;
  color: #fff !important;
  box-shadow: var(--pl-card-shadow);
}

.pl-srv-motion #headline-32-166 {
  margin: 0 !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  opacity: 0.85 !important;
}

.pl-srv-motion #headline-36-166 {
  margin: 0 !important;
  flex: 1;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: #fff !important;
}

.pl-srv-motion #image-33-166,
.pl-srv-motion #image-35-166,
.pl-srv-motion #div_block-31-166 img {
  display: none !important;
}

.pl-srv-motion .hs-pgs-servicos-infos-item {
  display: contents !important;
}
