/* ============================================
   CORPO CLÍNICO PAGE - MOBILE FIRST
   ============================================ */

/* Page Hero */
.page-hero {
  background: var(--gradient-marble);
  padding: calc(var(--space-24) + 70px) 0 var(--space-16);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--gold-aged),
    transparent
  );
  opacity: 0.4;
}

.page-title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.page-subtitle {
  font-size: var(--text-xl);
  color: var(--text-secondary);
  font-weight: 300;
}

/* Médico Section */
.medico-section {
  background: var(--background-primary);
  padding: 50px 0;
}

.medico-section-alt {
  background: var(--background-primary);
}

.medico-card {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  background: var(--white);
  border-radius: 15px;
  padding: var(--space-8);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.medico-section-alt .medico-card {
  background: var(--white);
}

.medico-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.medico-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.medico-content {
  text-align: center;
}

.medico-content h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.medico-title {
  font-size: var(--text-lg);
  color: var(--gold-aged);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.medico-crm {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-6);
}

.medico-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: center;
}

.medico-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: 20px;
  background: var(--background-primary);
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 500;
  border: 2px solid var(--graphite-dark);
  border-radius: 10px;
  transition: all 0.5s var(--ease-smooth);
  text-decoration: none;
}

.medico-link:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: var(--graphite-dark);
  color: var(--white);
  border-color: var(--graphite-dark);
}

.medico-curriculo {
  text-align: left;
  background: var(--background-primary);
  padding: var(--space-8);
  border-radius: 10px;
  border: 1px solid rgba(10, 10, 10, 0.08);
}

.medico-section-alt .medico-curriculo {
  background: var(--background-primary);
}

.medico-curriculo h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: var(--space-6);
  text-align: center;
  padding-bottom: var(--space-4);
  border-bottom: 2px solid var(--gold-aged);
}

.curriculo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.curriculo-list li {
  font-size: var(--text-base);
  color: var(--text-secondary);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  padding-left: var(--space-10);
  background: var(--white);
  border-radius: var(--radius-lg);
  position: relative;
  line-height: 1.7;
  transition: all 0.4s ease;
}

.medico-section-alt .curriculo-list li {
  background: var(--white);
}

.curriculo-list li::before {
  content: "▪";
  position: absolute;
  left: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-aged);
  font-size: var(--text-lg);
  font-weight: normal;
}

.curriculo-list li:last-child {
  margin-bottom: 0;
}

/* CTA Section */
.cta-section {
  background: var(--gradient-dark);
  padding: var(--space-24) 0;
  text-align: center;
}

.cta-content h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-4);
  font-family: var(--font-heading);
}

.cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-8);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-6) var(--space-12);
  background: var(--gold-aged);
  color: var(--white);
  font-size: var(--text-base);
  font-weight: 600;
  border: 2px solid var(--gold-aged);
  border-radius: 10px;
  transition: all 0.5s var(--ease-smooth);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--gold-aged-light);
  border-color: var(--gold-aged-light);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
  .page-title {
    font-size: var(--text-5xl);
  }

  .page-subtitle {
    font-size: var(--text-2xl);
  }

  .medico-card {
    grid-template-columns: 300px 1fr;
    gap: var(--space-10);
    padding: var(--space-10);
    align-items: start;
  }

  .medico-image {
    max-width: 100%;
    grid-row: 1;
    grid-column: 1;
  }

  .medico-content {
    text-align: left;
    grid-row: 1;
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
  }

  .medico-social {
    flex-direction: row;
    justify-content: flex-start;
    gap: var(--space-4);
  }

  .medico-link {
    flex: 1;
    min-width: 0;
  }

  .medico-curriculo {
    grid-row: 2;
    grid-column: 1 / -1;
    margin-top: 20px;
  }

  .medico-curriculo h3 {
    text-align: left;
  }
}

@media (min-width: 1024px) {
  .medico-card {
    padding: var(--space-12);
  }
}

@media screen and (max-width: 600px) {
  .page-hero {
    padding: calc(var(--space-16) + 70px) 0 var(--space-12);
  }

  .page-title {
    font-size: var(--text-3xl);
  }

  .page-subtitle {
    font-size: var(--text-lg);
  }

  .medico-card {
    padding: var(--space-6);
    margin-top: -70px;
  }

  .medico-content h2 {
    font-size: var(--text-2xl);
  }

  .medico-title {
    font-size: var(--text-base);
  }

  .medico-curriculo {
    padding: var(--space-6);
  }

  .medico-curriculo h3 {
    font-size: var(--text-lg);
  }

  .curriculo-list li {
    font-size: var(--text-sm);
    padding: var(--space-3);
    padding-left: var(--space-8);
  }

  .medico-link {
    width: 100%;
    justify-content: center;
  }
}
