/* ============================================================
   ASTER ODONTOLOGIA - Estilos Paginas Internas
   ============================================================ */

/* === PAGE HERO ============================================== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 56px;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero--has-img {
  min-height: 460px;
  align-items: center;
  padding-bottom: 0;
  margin-top: 0;
}

.page-hero__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(0,136,140,0.88) 0%, rgba(50,129,129,0.65) 60%, rgba(50,129,129,0.40) 100%);
}

.page-hero--gradient {
  background: var(--gradient);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 28px 64px;
  width: 100%;
}

.page-hero--has-img .page-hero__content {
  padding: calc(var(--nav-h) + 60px) 28px 72px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.breadcrumb a { color: rgba(255,255,255,0.75); transition: var(--transition); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb__sep { color: rgba(255,255,255,0.5); font-size: 11px; }
.breadcrumb__current { color: var(--white); }

.page-hero__title {
  font-family: 'Signika', sans-serif;
  font-size: clamp(30px, 5vw, 56px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.1;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  max-width: 700px;
}

.page-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-top: 16px;
  max-width: 540px;
  line-height: 1.5;
}

/* === PAGE INTRO ============================================= */
.page-intro {
  padding: 88px 0;
  background: var(--white);
}

.page-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.page-intro__grid--reverse { direction: rtl; }
.page-intro__grid--reverse > * { direction: ltr; }

.page-intro__img-wrap {
  position: relative;
}
.page-intro__img-wrap::before {
  content: '';
  position: absolute;
  inset: -14px 14px 14px -14px;
  background: var(--teal);
  opacity: 0.07;
  z-index: 0;
}
.page-intro__img-wrap img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: top center;
}

.page-intro__icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 24px;
}

.page-intro__body p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.78;
  margin-bottom: 16px;
}

/* === DOCTOR SECTION ========================================= */
.page-doctor {
  padding: 88px 0;
  background: var(--bg-light);
}

.page-doctor__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}

.page-doctor__photo-wrap {
  text-align: center;
}

.page-doctor__photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 6px solid var(--white);
  box-shadow: 0 8px 32px rgba(50,129,129,0.2);
  margin: 0 auto 16px;
  display: block;
}

.page-doctor__name {
  font-family: 'Signika', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 4px;
}

.page-doctor__role {
  font-size: 14px;
  color: var(--text);
  opacity: 0.75;
}

.page-doctor__cro {
  font-size: 12px;
  color: var(--teal);
  font-weight: 600;
  margin-top: 4px;
}

.page-doctor__text p {
  color: var(--text);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 14px;
}

/* Multiple doctors */
.page-doctors-row {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.page-doctor-card {
  text-align: center;
  width: 160px;
}

.page-doctor-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--teal-light);
  margin: 0 auto 12px;
  display: block;
}

.page-doctor-card h4 {
  font-family: 'Signika', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--teal-dark);
  margin-bottom: 2px;
}

.page-doctor-card p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.4;
}

/* === FAQ ================================================== */
.page-faq {
  padding: 88px 0;
  background: var(--white);
}

.page-faq__inner {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #E5EEEE;
}

.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  font-family: 'Signika', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
  transition: color 0.25s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; }
.faq-item summary:hover { color: var(--teal); }
.faq-item[open] summary { color: var(--teal-dark); }

.faq-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  background: var(--teal-dark);
}

.faq-body {
  padding: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  animation: fadeInUp 0.3s ease;
}
.faq-body p { margin-bottom: 10px; }
.faq-body p:last-child { margin-bottom: 0; }

/* === CTA BAND ============================================= */
.cta-band {
  padding: 72px 0;
  background: var(--gradient);
  text-align: center;
}

.cta-band h2 {
  font-family: 'Signika', sans-serif;
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cta-band p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
}

/* === RESPONSIVE =========================================== */
@media (max-width: 900px) {
  .page-intro__grid,
  .page-intro__grid--reverse { grid-template-columns: 1fr; direction: ltr; }
  .page-intro__img-wrap img { height: 340px; }
  .page-doctor__grid { grid-template-columns: 1fr; text-align: center; }
  .page-doctor__photo { width: 180px; height: 180px; }
}

@media (max-width: 768px) {
  /* Hero */
  .page-hero { min-height: 260px; padding-bottom: 40px; }
  .page-hero--has-img { min-height: 340px; }
  .page-hero__content { padding: calc(var(--nav-h) + 36px) 20px 40px; }
  .page-hero--has-img .page-hero__content { padding: calc(var(--nav-h) + 48px) 20px 56px; }
  .page-hero__title { font-size: clamp(22px, 6vw, 32px); }
  .page-hero__sub { font-size: 15px; margin-top: 10px; }

  /* Breadcrumb */
  .breadcrumb { font-size: 11px; gap: 5px; margin-bottom: 14px; }

  /* Intro */
  .page-intro { padding: 56px 0; }
  .page-intro__grid,
  .page-intro__grid--reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .page-intro__img-wrap img { height: 260px; }
  .page-intro__img-wrap::before { display: none; }
  .page-intro__icon { width: 56px; height: 56px; margin-bottom: 16px; }
  .page-intro__body p { font-size: 15px; }

  /* Doctor */
  .page-doctor { padding: 56px 0; }
  .page-doctor__grid { grid-template-columns: 1fr; text-align: center; gap: 32px; }
  .page-doctor__photo { width: 160px; height: 160px; }
  .page-doctors-row { gap: 20px; }
  .page-doctor-card { width: 130px; }
  .page-doctor-card img { width: 100px; height: 100px; }

  /* FAQ */
  .page-faq { padding: 56px 0; }
  .faq-item summary { font-size: 15px; padding: 18px 0; }
  .faq-body { font-size: 15px; }

  /* CTA Band */
  .cta-band { padding: 52px 0; }
  .cta-band h2 { font-size: clamp(20px, 5vw, 32px); }
  .cta-band p { font-size: 15px; margin-bottom: 28px; }

  /* Agendar page */
  .agendar-grid { grid-template-columns: 1fr !important; gap: 40px !important; padding: 56px 0 !important; }
  .agendar-option { padding: 20px; }
  .agendar-option__icon { width: 48px; height: 48px; }
  .agendar-option__icon svg { width: 22px; height: 22px; }
  .agendar-info { padding: 28px 20px; }
}

@media (max-width: 480px) {
  .page-hero__title { font-size: 20px; }
  .page-hero__sub { font-size: 14px; }
  .page-intro__img-wrap img { height: 220px; }
  .faq-item summary { font-size: 14px; }
  .cta-band .btn { font-size: 15px; padding: 16px 20px; }
}
