/* ============================================
   Servico individual — hero, body, processo, FAQ, CTA
   ============================================ */

/* ---------- HERO ---------- */
.servico-hero {
  background: var(--white);
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--rule);
}

.servico-hero .breadcrumb { margin-bottom: 2.5rem; }

.servico-hero__grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 3rem;
  align-items: center;
}

.servico-hero__content { max-width: 720px; }

.servico-hero__code {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--yellow-deep);
  padding: 5px 10px;
  border: 1px solid var(--yellow-deep);
  border-radius: var(--r-xs);
  margin-bottom: 1.5rem;
}

.servico-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin: 0 0 1.5rem;
}

.servico-hero__lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}

.servico-hero__cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.servico-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: .04em;
}
.servico-hero__meta b { color: var(--navy); font-weight: 500; }

.servico-hero__icon {
  width: 220px;
  height: 220px;
  color: var(--navy);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  position: relative;
}
.servico-hero__icon::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 3px;
  background: var(--yellow);
}
.servico-hero__icon svg {
  width: 80px;
  height: 80px;
  stroke-width: 1.5;
}

@media (max-width: 820px) {
  .servico-hero__grid { grid-template-columns: 1fr; }
  .servico-hero__icon { width: 140px; height: 140px; }
  .servico-hero__icon svg { width: 56px; height: 56px; }
}
@media (max-width: 560px) {
  .servico-hero__cta { flex-direction: column; }
  .servico-hero__cta .btn { width: 100%; }
}

/* ---------- BODY (reusa estilos do post__body) ---------- */
.servico-body { background: var(--white); }
.servico-body__wrap {
  max-width: 820px;
  margin: 0 auto;
}

/* ---------- PROCESSO ---------- */
.servico-process__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
  counter-reset: process;
}
.servico-process__list li {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.servico-process__list li strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.25;
}
.servico-process__list li span {
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

@media (max-width: 900px) {
  .servico-process__list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .servico-process__list { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 1.25rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  padding-right: 2rem;
  position: relative;
  list-style: none;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--yellow-deep);
  transition: transform var(--transition);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  margin: 1rem 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ---------- CTA ---------- */
.servico-cta { padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.servico-cta__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.servico-cta h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  margin: 0 0 1rem;
}
.servico-cta p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}
.servico-cta .btn {
  background: var(--yellow);
  color: var(--navy);
  border-color: var(--yellow);
}
.servico-cta .btn::after { color: var(--navy); }
.servico-cta .btn:hover { background: var(--yellow-deep); border-color: var(--yellow-deep); color: var(--white); }
.servico-cta .btn:hover::after { color: var(--white); }

/* ---------- RELATED ---------- */
.servico-related { background: var(--bg-soft); padding-top: clamp(3rem, 5vw, 4.5rem); padding-bottom: clamp(3rem, 5vw, 4.5rem); }
.servico-related .post__related { margin-top: 0; padding-top: 0; border-top: none; }
.servico-related .post__related + .post__related { margin-top: 2.5rem; }
.servico-related .post__related a { background: var(--white); padding: 1rem 1.25rem; border: 1px solid var(--rule); }
.servico-related .post__related a:hover { background: var(--white); border-color: var(--navy); }
.servico-related .post__related li { padding: 0; border-bottom: none; margin-bottom: .5rem; }

/* ---------- 'Ver detalhes →' nos serv-cards (visual cue) ---------- */
.serv-card__link {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 2px solid rgba(199, 143, 14, 0.25);
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--yellow-deep);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition), letter-spacing var(--transition), border-color var(--transition);
}
.serv-card__link::after {
  content: "→";
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--yellow-deep);
  transition: transform var(--transition);
}
a.serv-card { text-decoration: none; color: inherit; }
a.serv-card:hover { color: inherit; }
a.serv-card:hover .serv-card__link {
  color: var(--yellow-deep);
  letter-spacing: .12em;
  border-color: var(--yellow-deep);
}
a.serv-card:hover .serv-card__link::after { transform: translateX(6px); }
