@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dm-sans-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('/assets/fonts/dm-sans-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'DM Serif Display'; src: url('/assets/fonts/dm-serif-display-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
.equipe-cards { --line: #d4e8ec; --r-xl: 26px; --shadow-md: 0 4px 20px rgba(15,40,50,0.10), 0 2px 8px rgba(15,40,50,0.05); --teal: #2d7a85; --teal-deep: #1f7a86; --teal-ultra: #e8f5f7; --ink: #0d1f22; --muted: #5b7f8a; --font-display: 'DM Serif Display', Georgia, serif; }
.equipe-cards { font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: #2e4a52; }
.equipe-cards h3 { margin: 0; font-weight: 700; }
@media (max-width: 640px) { .equipe-cards { padding-inline: 2px; } }
@media (min-width: 1240px) { .equipe-cards .team-grid { margin-inline: -30px; max-width: none; } }
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.team-card {
  background: linear-gradient(180deg, #f8fcfd 0%, #eef7f8 100%);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: grid;
  grid-template-columns: 152px 1fr;
  align-items: stretch;
  min-height: 170px;
  color: inherit;
  text-decoration: none;
}
.team-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(45,122,133,0.24);
}
.team-card:focus-visible {
  outline: 3px solid rgba(45,122,133,0.30);
  outline-offset: 3px;
}
.team-card-featured {
  background: linear-gradient(180deg, #fbfefe 0%, var(--teal-ultra) 100%);
  border-color: rgba(45,122,133,0.24);
}
.team-media {
  position: relative;
  min-height: 170px;
  background: linear-gradient(180deg, #f7fcfd 0%, #edf7f8 100%);
  border-right: 1px solid rgba(45,122,133,0.10);
  overflow: hidden;
}
.team-orb {
  position: absolute;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle at 35% 35%, #7fdae3 0%, #3daab7 58%, #228c9a 100%);
  box-shadow: inset 0 0 20px rgba(255,255,255,0.20), 0 12px 28px rgba(45,122,133,0.14);
}
.team-avatar {
  position: absolute;
  left: 20px;
  top: 50%;
  width: 114px;
  height: 114px;
  transform: translateY(-50%);
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.78);
  background: #ffffff;
  z-index: 2;
  box-shadow: 0 18px 34px rgba(12, 33, 38, 0.16);
}
.doctor-jennifer .team-avatar {
  object-position: center center;
}
.doctor-alana .team-avatar {
  width: 108px;
  height: 108px;
  left: 23px;
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
}
.doctor-sarah .team-avatar {
  object-position: center 16%;
}
.doctor-ingrid .team-avatar {
  object-position: center 16%;
}
.doctor-edson .team-avatar {
  object-position: center 12%;
}
.doctor-maria .team-avatar,
.doctor-renata .team-avatar {
  object-position: center center;
}
.team-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 22px 24px;
}
.team-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.08rem, 1.2vw + 0.92rem, 1.45rem);
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.team-meta-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.team-card .team-role,
.team-rqe {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.03em;
}
.team-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0;
}
.team-subspecialty {
  display: inline-flex;
  padding: 5px 10px;
  background: rgba(45,122,133,0.12);
  color: var(--teal-deep);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) {
  .team-grid     { grid-template-columns: 1fr; max-width: 100%; }
  .team-card     { grid-template-columns: 188px 1fr; min-height: 182px; }
  .team-media    { min-height: 182px; }
  .team-orb      { width: 128px; height: 128px; left: 28px; }
  .team-avatar   { width: 134px; height: 134px; left: 26px; }
  .doctor-alana .team-avatar {
    width: 126px;
    height: 126px;
    left: 30px;
  }
  .team-body     { padding: 24px 26px; }
}
@media (max-width: 860px) {
  .team-grid     { grid-template-columns: 1fr; max-width: 640px; }
  .team-card     { grid-template-columns: 188px 1fr; min-height: 188px; }
  .team-media    { min-height: 188px; }
  .team-orb      { width: 132px; height: 132px; left: 26px; }
  .team-avatar   { width: 144px; height: 144px; left: 22px; }
  .doctor-alana .team-avatar {
    width: 136px;
    height: 136px;
    left: 24px;
  }
  .team-body     { padding: 24px 24px 24px 28px; }
}
@media (max-width: 600px) {
  .team-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .team-media {
    min-height: 182px;
    border-right: none;
    border-bottom: 1px solid rgba(45,122,133,0.10);
  }
  .team-orb {
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
  }
  .team-avatar {
    left: 50%;
    top: 98px;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
  }
  .team-body {
    align-items: center;
    text-align: center;
    padding: 22px 18px 24px;
  }
  .team-meta-line {
    justify-content: center;
    gap: 12px;
  }
  .doctor-alana .team-avatar,
  .doctor-jennifer .team-avatar {
    left: 50%;
    top: 98px;
    width: 160px;
    height: 160px;
    transform: translate(-50%, -50%);
  }
}
#corpo-clinico .team-card { background: linear-gradient(180deg, #ffffff 0%, #f5fafb 100%); border-color: #cfe1e5; }
#corpo-clinico .team-card-featured { background: linear-gradient(180deg, #ffffff 0%, #e8f4f5 100%); }
#corpo-clinico .team-media { background: linear-gradient(180deg, #ffffff 0%, #eef6f7 100%); }
