/* ============================================
   FETALMED — Exame Landing Page CSS
   ============================================ */

/* === HERO EXAME === */
.exame-hero {
  background: var(--color-navy);
  position: relative;
  overflow: hidden;
  padding: 64px 0;
}
.exame-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .3;
}
.exame-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(14,116,144,.4) 0%, rgba(30,41,59,.7) 50%, rgba(30,41,59,.85) 100%);
}
.exame-hero-content {
  position: relative; z-index: 2;
  max-width: 760px;
}
.exame-hero .container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.exame-hero h1 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.4px;
}
.exame-hero-desc {
  font-size: 16px;
  font-weight: 300;
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  max-width: 600px;
}
.exame-hero-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.exame-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,.6);
}
.exame-meta-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(14,116,144,.35);
  border: 0.5px solid rgba(34,211,238,.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-300);
  font-size: 12px;
  flex-shrink: 0;
}
.exame-hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

/* === EXAME CONTENT === */
.exame-page {
  padding: 56px 0 72px;
}
.exame-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

/* Main content */
.exame-main h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-text-strong);
  margin: 40px 0 16px;
  line-height: 1.25;
}
.exame-main h2:first-child { margin-top: 0; }
.exame-main p {
  font-size: 15px;
  font-weight: 300;
  color: var(--color-text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}
.exame-main ul, .exame-main ol {
  margin: 16px 0 16px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.exame-main li {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-text-mid);
  line-height: 1.6;
}
.exame-main li::marker { color: var(--color-primary); }

/* Feature cards */
.exame-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}
.exame-feat-card {
  background: #f8fafc;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.exame-feat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--teal-50);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.exame-feat-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-strong);
  margin-bottom: 4px;
}
.exame-feat-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* Callout */
.exame-callout {
  padding: 20px 24px;
  border-left: 3px solid var(--color-primary);
  background: var(--teal-50);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
}
.exame-callout p {
  font-size: 14px;
  margin: 0;
}

/* Inline image */
.exame-inline-img {
  width: 100%;
  border-radius: var(--radius-md);
  margin: 24px 0;
  overflow: hidden;
  border: 0.5px solid var(--color-border);
}
.exame-inline-img img {
  width: 100%;
  display: block;
}
.exame-inline-img figcaption {
  font-size: 12px;
  color: var(--color-text-light);
  text-align: center;
  padding: 8px 16px;
  background: #f8fafc;
}

/* CTA Banner */
.exame-cta-banner {
  background: var(--color-navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}
.exame-cta-banner h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.exame-cta-banner p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  margin-bottom: 20px;
}
.exame-cta-banner .btn {
  display: inline-flex;
}

/* Related exames */
.exame-related {
  margin-top: 48px;
}
.exame-related h2 {
  margin-bottom: 20px;
}
.exame-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* === SIDEBAR === */
.exame-sidebar {
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Sidebar CTA card */
.sidebar-cta-card {
  background: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 28px;
  color: #fff;
  text-align: center;
}
.sidebar-cta-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta-card p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.8);
  margin-bottom: 16px;
  line-height: 1.6;
}
.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 12px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
  text-align: center;
  text-decoration: none;
}
.sidebar-cta-btn:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}

/* Sidebar info card */
.sidebar-info-card {
  background: #fff;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.sidebar-info-head {
  padding: 12px 20px;
  background: #f8fafc;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-light);
}
.sidebar-info-body {
  padding: 16px 20px;
}
.sidebar-info-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 0.5px solid var(--color-border);
  font-size: 13px;
}
.sidebar-info-row:last-child { border-bottom: none; }
.sidebar-info-label {
  font-weight: 500;
  color: var(--color-text-mid);
}
.sidebar-info-value {
  font-weight: 300;
  color: var(--color-text-light);
}

/* Sidebar convenios */
.sidebar-convenios {
  background: #fff;
  border: 0.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
}
.sidebar-convenios h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--color-text-light);
  margin-bottom: 12px;
}
.sidebar-conv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.sidebar-conv-chip {
  font-size: 11px;
  font-weight: 500;
  color: var(--color-text-mid);
  padding: 4px 10px;
  border: 0.5px solid var(--color-border);
  border-radius: 99px;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .exame-grid { grid-template-columns: 1fr; }
  .exame-sidebar { position: static; }
  .exame-features { grid-template-columns: 1fr; }
  .exame-related-grid { grid-template-columns: 1fr 1fr; }
  .exame-hero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .exame-related-grid { grid-template-columns: 1fr; }
  .exame-hero { padding: 40px 0; }
}

/* ─── MOBILE PADDING FIX ───────────────────────── */
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .exame-hero { padding: 40px 0; }
  .exame-hero h1 { font-size: 26px; }
}

/* ─── ANIMATIONS ────────────────────────────────── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.anim-fade-up.anim-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── HERO BADGES ───────────────────────────────── */
.exame-hero-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* ─── META ICON IMG ─────────────────────────────── */
.exame-meta-icon-img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* ─── CTA BANNER V2 ────────────────────────────── */
.exame-cta-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, #1e3a5f 100%);
  border-radius: var(--radius-lg);
  padding: 0;
  margin: 48px 0;
  overflow: hidden;
  text-align: left;
}
.exame-cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 36px 40px;
}
.exame-cta-badge {
  display: inline-block;
  background: rgba(14,116,144,.3);
  border: 0.5px solid rgba(34,211,238,.3);
  color: var(--teal-300);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.exame-cta-banner h3 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.2;
}
.exame-cta-banner p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255,255,255,.7);
  margin-bottom: 16px;
  line-height: 1.6;
}
.exame-cta-trust {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.exame-cta-trust span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.exame-cta-right {
  text-align: center;
}
.exame-cta-phone {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.5);
  margin-top: 12px;
}
.exame-cta-phone strong {
  color: rgba(255,255,255,.8);
}

/* ─── SIDEBAR CTA V2 ───────────────────────────── */
.sidebar-cta-card {
  background: linear-gradient(135deg, var(--color-primary) 0%, #0891b2 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  text-align: center;
}
.sidebar-cta-icon {
  font-size: 28px;
  margin-bottom: 12px;
}
.sidebar-cta-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
}
.sidebar-cta-card p {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255,255,255,.85);
  margin-bottom: 20px;
  line-height: 1.6;
}
.sidebar-cta-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #fff;
  color: var(--color-primary);
  border: none;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  text-align: center;
  text-decoration: none;
}
.sidebar-cta-btn:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
}
.sidebar-cta-divider {
  height: 1px;
  background: rgba(255,255,255,.15);
  margin: 16px 0;
}
.sidebar-cta-phone {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255,255,255,.6);
}
.sidebar-cta-phone strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  margin-top: 4px;
}

/* ─── CTA BANNER RESPONSIVE ────────────────────── */
@media (max-width: 900px) {
  .exame-cta-inner { grid-template-columns: 1fr; padding: 28px 24px; }
  .exame-cta-right { text-align: left; }
}

/* ─── ARCHIVE EXAMES ────────────────────────────── */
.exame-archive-hero {
  background: var(--color-navy);
  padding: 56px 0;
  text-align: center;
}
.exame-archive-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-top: 12px;
}
.exame-archive-sub {
  font-size: 16px;
  font-weight: 300;
  color: #cbd5e1;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}
.exame-archive-body {
  padding: 40px 0 72px;
}
.exames-grid--archive {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .exames-grid--archive { grid-template-columns: repeat(2, 1fr); }
  .exame-archive-hero h1 { font-size: 28px; }
}
@media (max-width: 600px) {
  .exames-grid--archive { grid-template-columns: 1fr; }
  .exame-archive-hero { padding: 40px 0; }
}

/* ── Related exame cards ─────────────────── */
.exame-related .exame-card {
  border-radius: var(--radius-md);
  border: 0.5px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.exame-related .exame-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-primary);
}
.exame-related .exame-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--teal-100);
}
.exame-related .exame-icon {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: #1e293b;
  overflow: hidden;
  margin-bottom: 0;
}
.exame-related .exame-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.exame-related .exame-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-strong);
  margin-bottom: 4px;
  padding: 14px 18px 0;
}
.exame-related .exame-desc {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.5;
  padding: 0 18px 18px;
}
