/* ===== DETALHE DO PROCEDIMENTO ===== */

.service-hero {
  padding: 180px 0 120px;
  background-color: var(--charcoal);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}

.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-12);
  align-items: center;
}

.service-hero-visual {
  position: relative;
}

.service-hero-visual img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.floating-badge {
  position: absolute;
  bottom: 40px;
  left: -40px;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 28px;
  border-radius: 6px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--charcoal);
  z-index: 10;
  animation: floatBadge 4s ease-in-out infinite;
}

.floating-badge div {
  display: flex;
  flex-direction: column;
}

.floating-badge strong {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.floating-badge span {
  font-size: 11px;
  color: var(--gold);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

.service-hero .breadcrumb {
  font-size: var(--text-xs);
  font-family: var(--font-primary);
  color: rgba(250, 247, 242, 0.6);
  margin-bottom: var(--sp-6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-hero .breadcrumb a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.service-hero .breadcrumb a:hover { opacity: 0.8; }
.service-hero .breadcrumb span { opacity: 0.5; }

.service-hero h1 {
  font-size: var(--text-5xl);
  color: var(--gold);
  margin-bottom: var(--sp-5);
  font-family: var(--font-secondary);
  line-height: 1.1;
}

.service-tags {
  display: flex;
  gap: 12px;
  margin-bottom: var(--sp-6);
  flex-wrap: wrap;
}

.service-tags span {
  font-size: var(--text-xs);
  font-family: var(--font-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(201, 169, 110, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  color: var(--ivory);
}

.service-hero p {
  font-size: var(--text-lg);
  color: rgba(250, 247, 242, 0.8);
  margin-bottom: var(--sp-8);
  line-height: 1.6;
}

.service-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Intro & Indications */
.service-intro {
  padding: var(--sp-10) 0 var(--sp-8);
}

.service-intro-grid {
  display: grid;
  grid-template-columns: 4.5fr 5.5fr;
  gap: var(--sp-10);
  align-items: center;
}

.intro-text-block {
  border-left: 2px solid var(--gold);
  padding-left: var(--sp-6);
  margin-top: var(--sp-6);
}

.intro-text-block p {
  color: var(--taupe);
  line-height: 1.7;
  margin-bottom: var(--sp-4);
}
.intro-text-block p:last-child {
  margin-bottom: 0;
}

.indications-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}

.indication-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 36px 32px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(44, 40, 37, 0.03);
  border: 1px solid rgba(201, 169, 110, 0.12);
  transition: all 0.4s var(--ease-spring);
  position: relative;
  overflow: hidden;
}

.indication-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), #e8c78c);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.indication-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(44, 40, 37, 0.08);
  border-color: transparent;
}

.indication-item:hover::before {
  opacity: 1;
}

.indication-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(201, 169, 110, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  border: 1px solid rgba(201, 169, 110, 0.2);
}

.indication-icon svg {
  width: 24px;
  height: 24px;
}

.indication-item h4 {
  font-size: var(--text-xl);
  font-family: var(--font-secondary);
  color: var(--charcoal);
  margin-bottom: 2px;
  font-weight: 600;
  line-height: 1.2;
}

.indication-item p {
  font-size: var(--text-sm);
  color: var(--taupe);
  margin: 0;
  line-height: 1.6;
}

/* How it Works (Steps) */
.section-steps {
  background: var(--ivory);
  border-top: 1px solid rgba(107, 101, 96, 0.1);
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-9);
  margin-top: var(--sp-10);
  position: relative;
}

.steps-list::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.step-card {
  display: flex;
  gap: var(--sp-6);
  position: relative;
  background: white;
  padding: var(--sp-8);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.03);
  z-index: 2;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-family: var(--font-secondary);
  flex-shrink: 0;
  border: 4px solid var(--ivory);
  z-index: 2;
}

.step-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-3);
}

.step-content p {
  color: var(--taupe);
  line-height: 1.6;
  margin: 0;
}

/* Doctor Overview */
.service-doctor {
  padding: var(--sp-16) 0;
  background: var(--ivory);
}

.doctor-highlight {
  display: flex;
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(44,40,37,0.06);
}

.doctor-highlight-img {
  width: 40%;
  min-height: 480px;
  object-fit: cover;
}

.doctor-highlight-content {
  width: 60%;
  padding: var(--sp-10) var(--sp-10);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.doctor-name {
  font-size: var(--text-4xl);
  font-family: var(--font-secondary);
  color: var(--charcoal);
  margin-bottom: var(--sp-4);
  font-weight: 500;
}

.doctor-bio {
  color: var(--taupe);
  font-size: var(--text-base);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
}

.doctor-credentials {
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-8);
}

.doctor-credentials li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: var(--text-sm);
  color: var(--charcoal);
  font-family: var(--font-primary);
  font-weight: 500;
}

/* Mobile Adjustments */
@media (max-width: 900px) {
  .service-hero-grid,
  .service-intro-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-6);
  }
  .service-hero-visual {
    margin-top: var(--sp-6);
  }
  .service-hero-visual img {
    height: 400px;
  }
  .floating-badge {
    bottom: 20px;
    left: 20px;
    right: 20px;
    justify-content: center;
  }
  .indications-grid {
    grid-template-columns: 1fr;
  }
  .intro-text-block {
    padding-left: var(--sp-4);
  }
  .doctor-highlight {
    flex-direction: column;
  }
  .seo-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .doctor-highlight-img {
    width: 100%;
    min-height: 350px;
  }
  .doctor-highlight-content {
    width: 100%;
    padding: var(--sp-8) var(--sp-6);
  }
}

@media (max-width: 600px) {
  .step-card {
    flex-direction: column;
    gap: var(--sp-4);
    padding: var(--sp-5);
  }
  .steps-list::before {
    left: 44px; /* Align line with indented card roughly */
    display: none; /* Hide line on very small screens for cleaner look */
  }
}
