/* ============================================================
   CLÍNICA SAÚDE DOURADA — Specialty pages & hub
   ============================================================ */

/* Fixed header from the homepage overlays the hero — add top clearance */
.spec-page .legal-hero { padding-top: 8rem; }
.spec-page .legal-toc { top: 104px; }

/* ---------- Hero row (icon + title) ---------- */
.spec-hero-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: .25rem;
}
.spec-hero-icon {
  width: 84px;
  height: 84px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: rgba(201, 169, 110, .12);
  border: 1px solid rgba(201, 169, 110, .35);
  color: var(--color-gold-light, #E8D5A3);
}
.spec-hero-icon svg { width: 38px; height: 38px; }
.spec-hero-cta { margin-top: 1.75rem; }

/* TOC CTA */
.spec-toc-cta { margin: 1rem 0 0; padding-top: .9rem; border-top: 1px dashed rgba(0,0,0,.08); }
.spec-toc-cta a { font-weight: 600; color: var(--color-gold-dark, #A68B4C); text-decoration: none; font-size: .85rem; }

/* ---------- Check list ---------- */
.spec-list-check { list-style: none; padding-left: 0 !important; margin: 0; }
.spec-list-check li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  margin-bottom: .8rem;
  line-height: 1.6;
}
.spec-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: .1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #C9A96E, #E8D5A3);
  color: #001A20;
  font-size: .72rem;
  font-weight: 700;
}

/* ---------- Conditions chips ---------- */
.spec-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.spec-chip {
  background: rgba(201, 169, 110, .12);
  border: 1px solid rgba(201, 169, 110, .3);
  color: var(--color-primary, #012C35);
  font-size: .85rem;
  font-weight: 500;
  padding: .5rem .95rem;
  border-radius: 50px;
}

/* ---------- FAQ ---------- */
.spec-faq { display: grid; gap: .6rem; }
.spec-faq-item {
  border: 1px solid var(--color-border, rgba(201,169,110,.2));
  border-radius: 10px;
  background: var(--color-secondary, #FBFBFB);
  padding: 0 .2rem;
  overflow: hidden;
}
.spec-faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--color-primary, #012C35);
  padding: .95rem 1.1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.spec-faq-item summary::-webkit-details-marker { display: none; }
.spec-faq-item summary::after {
  content: '+';
  font-size: 1.2rem;
  color: var(--color-gold-dark, #A68B4C);
  font-weight: 400;
  transition: transform .2s ease;
}
.spec-faq-item[open] summary::after { content: '–'; }
.spec-faq-item p { padding: 0 1.1rem 1.1rem; margin: 0; font-size: .9rem; }

/* ---------- CTA banner ---------- */
.spec-cta {
  background: linear-gradient(135deg, #012C35 0%, #0A3E48 50%, #012C35 100%);
  border-radius: 16px;
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin: 0 0 1.75rem;
}
.spec-cta h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; margin: 0 0 .5rem; color: #fff; }
.spec-cta p { color: rgba(255,255,255,.7); max-width: 520px; margin: 0 auto 1.5rem; }

/* ---------- Related grid ---------- */
.spec-related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .35rem 1.5rem;
}
.spec-rel-item {
  display: block;
  font-size: .9rem;
  color: var(--color-text-light, #6B6B6B);
  text-decoration: none;
  padding: .45rem 0;
  border-bottom: 1px dashed rgba(0,0,0,.06);
  transition: color .15s ease;
}
.spec-rel-item:hover { color: var(--color-gold-dark, #A68B4C); }

/* ---------- Hub ---------- */
.spec-hub { max-width: var(--container-max, 1200px); margin: 0 auto; padding: 3.5rem 2rem 4rem; }
.spec-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 1.4rem;
}
.spec-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--color-border, rgba(201,169,110,.2));
  border-radius: 16px;
  padding: 1.7rem 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
  transition: transform .3s cubic-bezier(.4,0,.2,1), box-shadow .3s ease, border-color .3s ease;
}
.spec-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(1,44,53,.1);
  border-color: rgba(201,169,110,.55);
}
.spec-card-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(201,169,110,.12);
  color: var(--color-primary, #012C35);
  margin-bottom: 1.1rem;
}
.spec-card-icon svg { width: 26px; height: 26px; }
.spec-card h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 1.12rem; color: var(--color-primary, #012C35); margin: 0 0 .45rem; }
.spec-card p { font-size: .86rem; color: var(--color-text-light, #6B6B6B); margin: 0 0 1rem; line-height: 1.6; flex-grow: 1; }
.spec-card-link { font-size: .82rem; font-weight: 600; color: var(--color-gold-dark, #A68B4C); }

.spec-hub-cta {
  margin-top: 3rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border, rgba(201,169,110,.2));
  border-radius: 16px;
  padding: 2.2rem;
}
.spec-hub-cta p { color: var(--color-text-light, #6B6B6B); margin: 0 0 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .spec-hero-row { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .spec-related-grid { grid-template-columns: 1fr; }
  .spec-hub { padding: 2rem 1.25rem 3rem; }
  .spec-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .spec-cards-grid { grid-template-columns: 1fr; }
}
