/* =====================================================================
   Dr. Pedro Santana — Estilos específicos das páginas de Serviço
   ===================================================================== */

/* ---------- BREADCRUMB ---------- */
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 13px;
  color: var(--ink-500);
  margin-bottom: 22px;
}
.crumbs a { color: var(--red-600); }
.crumbs a:hover { color: var(--red-800); text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.crumbs [aria-current="page"] { color: var(--ink-700); font-weight: 500; }

/* ---------- SVC HERO ---------- */
.svc-hero {
  position: relative;
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 110px);
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(180deg, var(--cream-100) 0%, var(--cream-200) 100%);
}
.svc-hero::before, .svc-hero::after {
  content: ""; position: absolute; z-index: -1;
  width: 600px; height: 600px;
  border-radius: 50%; filter: blur(110px); opacity: .55;
}
.svc-hero::before { top: -250px; right: -180px;
  background: radial-gradient(circle, rgba(255,188,125,.30), transparent 70%); }
.svc-hero::after { bottom: -260px; left: -200px;
  background: radial-gradient(circle, rgba(239,77,72,.32), transparent 70%); }

.svc-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 70px);
  align-items: center;
}
.svc-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -.018em;
  color: var(--navy-800);
  margin: 18px 0 18px;
}
.svc-hero h1 em { font-style: italic; color: var(--red-500); }
.svc-hero-lead {
  font-size: 18px; line-height: 1.65;
  color: var(--ink-700);
  max-width: 56ch;
  margin: 0 0 30px;
}
.svc-hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.svc-hero-art {
  position: relative;
}
.svc-hero-frame {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1.5px solid var(--red-500);
  border-radius: var(--radius-xl);
  z-index: 0;
}
.svc-hero-photo {
  position: relative; z-index: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-xl);
  background: var(--cream-300);
}
.svc-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 980px) {
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-art { order: -1; max-width: 360px; margin: 0 auto; }
}

/* ---------- SVC WHAT (split: descrição + indicações) ---------- */
.svc-what-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.svc-what-text p {
  font-size: 17px; line-height: 1.75;
  color: var(--ink-700);
  margin: 0 0 18px;
}
.svc-what-text p strong { color: var(--navy-800); font-weight: 600; }

.svc-when {
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 30px 32px;
  box-shadow: var(--shadow-sm);
}
.svc-when h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 26px;
  color: var(--navy-800);
  margin-bottom: 18px;
}
.svc-when ul {
  display: flex; flex-direction: column; gap: 14px;
}
.svc-when li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: 15.5px; line-height: 1.55;
  color: var(--ink-700);
}
.svc-when li::before {
  content: "";
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--red-50);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C25959' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 1px;
}

@media (max-width: 980px) { .svc-what-grid { grid-template-columns: 1fr; } }

/* ---------- SVC PROCESS ---------- */
.svc-process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc-step {
  background: var(--cream-100);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  padding: 36px 32px 32px;
  position: relative;
  overflow: hidden;
}
.svc-step::before {
  content: attr(data-num);
  position: absolute;
  top: -10px; right: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 130px;
  font-weight: 500;
  color: var(--red-100);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.svc-step > * { position: relative; z-index: 1; }
.svc-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  color: var(--navy-800);
  margin-bottom: 12px;
}
.svc-step p {
  color: var(--ink-700); font-size: 14.5px; line-height: 1.65;
}
@media (max-width: 980px) { .svc-process { grid-template-columns: 1fr; } }

/* ---------- SVC INLINE CTA ---------- */
.svc-inline-cta {
  position: relative;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(48px, 7vw, 80px) clamp(28px, 5vw, 64px);
  background: linear-gradient(120deg, var(--navy-900), var(--navy-800) 60%, var(--red-700));
  color: var(--cream-100);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  flex-wrap: wrap;
}
.svc-inline-cta::before {
  content: ""; position: absolute; z-index: -1;
  inset: -120px;
  background: radial-gradient(ellipse 50% 40% at 30% 20%, rgba(255,188,125,.30), transparent 70%),
              radial-gradient(ellipse 40% 30% at 80% 80%, rgba(239,77,72,.40), transparent 70%);
}
.svc-inline-cta h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
  margin: 0; max-width: 22ch;
}

/* ---------- SVC FAQ ---------- */
.svc-faq {
  max-width: 820px; margin: 0 auto;
}
.svc-faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  background: var(--cream-100);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur) var(--ease);
}
.svc-faq details[open] {
  border-color: var(--red-300);
  box-shadow: var(--shadow-sm);
}
.svc-faq summary {
  list-style: none;
  padding: 22px 26px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 21px;
  color: var(--navy-800);
  line-height: 1.3;
}
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after {
  content: "+";
  font-family: var(--sans);
  font-weight: 300;
  font-size: 26px;
  color: var(--red-600);
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--red-50);
  display: grid; place-items: center;
  transition: transform var(--dur) var(--ease), background var(--dur-fast) var(--ease);
}
.svc-faq details[open] summary::after {
  content: "−";
  background: var(--red-500);
  color: var(--cream-100);
}
.svc-faq .answer {
  padding: 0 26px 24px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-700);
}

/* ---------- RELATED ---------- */
.svc-related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-related-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-l);
  padding: 28px 28px 26px;
  display: flex; flex-direction: column; gap: 10px;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.svc-related-card:hover {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-3px);
}
.svc-related-card .eyebrow {
  color: var(--gold-500);
}
.svc-related-card h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  color: var(--cream-100);
  margin: 4px 0 4px;
}
.svc-related-card p { color: rgba(255,255,255,.72); font-size: 14px; line-height: 1.55; }
.svc-related-card .link {
  margin-top: auto;
  font-size: 13px; font-weight: 600;
  color: var(--red-300);
  display: inline-flex; align-items: center; gap: 6px;
  padding-top: 14px;
}
@media (max-width: 980px) { .svc-related { grid-template-columns: 1fr; } }
