/* ==========================================================================
   Sections — Section-specific styles
   Dra. Carla Kurcrevski — Endocrinologia Pediatrica

   Styles for individual sections will be added in Stories 1.1 through 1.7.
   ========================================================================== */

/* ==========================================================================
   Story 1.1 — Header & Hero Section
   ========================================================================== */

/* ---- Header ---- */

.header {
  background-color: var(--color-bege);
  position: relative;
  overflow: hidden;
}

/* ---- Hero ---- */

.hero {
  position: relative;
  padding-top: var(--space-xl);
  padding-bottom: 70px;
  overflow: visible;
}

.hero__container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
}

/* -- Hero Content (left column) -- */

.hero__content {
  flex: 0 1 375px;
  padding-top: var(--space-lg);
  position: relative;
  z-index: 1;
}

.hero__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 18px;
  letter-spacing: -0.18px;
  color: var(--color-black);
  margin-bottom: 4px;
}

.hero__credentials {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: 42px;
  color: var(--color-black);
  margin-bottom: var(--space-md);
}

.hero__description {
  font-family: var(--font-body);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
  margin-bottom: var(--space-sm);
}

.hero__text {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
  margin-bottom: var(--space-lg);
}

.hero__cta {
  display: inline-flex;
}

/* -- Hero Visual (right column) -- */

.hero__visual {
  flex: 1;
  max-width: 800px;
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.hero__video-placeholder {
  width: 105%;
  aspect-ratio: 16 / 10;
  background-color: var(--color-lilas);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero__video-text {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-2xl);
  line-height: 48px;
  color: var(--color-white);
  text-align: center;
}

/* -- Decorative Elements -- */

.hero__decorative-dot {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.hero__decorative-dot--yellow {
  width: 20px;
  height: 20px;
  background-color: var(--color-amarelo);
  top: -30px;
  left: -40px;
}

.hero__decorative-dot--pink {
  width: 80px;
  height: 80px;
  background-color: var(--color-rosa);
  top: -20px;
  left: 40px;
  opacity: 0.6;
}

.hero__decorative-dot--blue {
  width: 50px;
  height: 50px;
  background-color: var(--color-azul);
  top: -50px;
  left: 140px;
  opacity: 0.5;
}

.hero__giraffe {
  position: absolute;
  margin-left: 1380px;
  top: 40%;
  width: 475px;
  height: auto;
  z-index: 0;

}

.hero__bg-name {
  position: absolute;
  bottom: -50px;
  left: 0;
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-hero);
  letter-spacing: -5.12px;
  color: var(--color-white);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}

.hero__flor {
  position: absolute;
  top: -75px;
  left: -90px;
  width: 170px;
  height: auto;
  z-index: 0;
  pointer-events: none;
}

/* ==========================================================================
   Sobre a Dra
   ========================================================================== */

.sobre {
  padding: 80px 0;
  background-color: var(--color-white);
}

.sobre__container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xl);
}

.sobre__content {
  flex: 0 1 488px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.sobre__header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sobre__name {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  line-height: 48px;
  color: var(--color-black);
}

.sobre__specialty {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-base);
  line-height: 24px;
  color: var(--color-lilas);
}

.sobre__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.sobre__text p {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: 20px;
  color: var(--color-black);
}

.sobre__image {
  flex: 1;
  max-width: 710px;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.sobre__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ==========================================================================
   Conceito
   ========================================================================== */

.conceito {
  padding: 80px 0;
  background-color: var(--color-white);

}

.conceito__container {
  display: flex;
  align-items: flex-end;

  gap: var(--space-2xl);



}

.conceito__images {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-end;
  gap: var(--space-sm);
  position: relative;
}

.conceito__photo {
  border-radius: var(--radius-md);
  object-fit: cover;
  display: block;
}

.conceito__photo--main {
  width: 440px;
  height: 540px;
  object-position: top;
}

.conceito__photo--secondary {
  width: 225px;
  height: 497px;
}

.conceito__logo-badge {
  position: absolute;
  bottom: 50%;
  right: 170px;
  transform: translateY(50%);
  width: 120px;
  height: 120px;
  z-index: 1;
}

.conceito__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 400px;
  gap: var(--space-lg);
}

.conceito__feature {
  display: flex;
  flex-direction: column;

}

.conceito__feature-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;

}

.conceito__check {
  flex-shrink: 0;
}

.conceito__feature-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  line-height: 32px;
  color: var(--color-black);
}

.conceito__feature-text {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
}

/* ==========================================================================
   Avaliacoes
   ========================================================================== */

.avaliacoes {
  padding: 80px 0;
  background-color: var(--color-rosa);
}

.avaliacoes__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.avaliacoes__header {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
}

.avaliacoes__avatars-img {
  height: 60px;
  width: auto;
}

.avaliacoes__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  line-height: 32px;
  color: var(--color-black);
  white-space: nowrap;
}

.avaliacoes__subtitle {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
  max-width: 360px;
}

.avaliacoes__cards {
  display: flex;
  gap: 27px;
  justify-content: center;

}

.card--testimonial {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ==========================================================================
   Agendamento / Presencial
   ========================================================================== */

.agendamento {
  background-color: var(--color-verde);
  padding: 0;
  overflow: visible;
}

.agendamento__container {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.agendamento__image {
  flex: 0 0 auto;
  position: relative;
  margin-top: -50px;
}

.agendamento__image img {
  width: 410px;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
}

/* -- Decorative dots -- */

.agendamento__decoratives {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.agendamento__dot {
  position: absolute;
  border-radius: 50%;
}

.agendamento__dot--rosa {
  width: 120px;
  height: 120px;
  background-color: var(--color-rosa);
  top: 20px;
  left: -30px;
  opacity: 0.7;
}

.agendamento__dot--amarelo {
  width: 80px;
  height: 80px;
  background-color: var(--color-amarelo);
  top: -10px;
  left: 80px;
  opacity: 0.6;
}

.agendamento__dot--azul {
  width: 60px;
  height: 60px;
  background-color: var(--color-azul);
  bottom: 40px;
  left: -20px;
  opacity: 0.5;
}

.agendamento__dot--lilas {
  width: 90px;
  height: 90px;
  background-color: var(--color-lilas);
  bottom: 60px;
  left: 40px;
  opacity: 0.4;
}

.agendamento__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-xl) 0;
}

.agendamento__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--color-black);
}

.agendamento__text {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
  max-width: 440px;
}

/* ==========================================================================
   Tratamentos
   ========================================================================== */

.tratamentos {
  padding: 80px 0;
  background-color: var(--color-white);
}

.tratamentos__container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
}

.tratamentos__header {
  text-align: center;
  max-width: 644px;
}

.tratamentos__title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--color-lilas);
  margin-bottom: var(--space-sm);
}

.tratamentos__subtitle {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
}

.tratamentos__grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.tratamentos__grid .card--treatment {
  width: 240px;
}

.tratamentos__grid .card--treatment__image {
  height: 200px;
  border-radius: var(--radius-md);
}

.tratamentos__cta {
  text-align: center;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer-wrapper {
  background-color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 50px;
}

.footer__giraffe {
  position: absolute;
  right: 140px;
  bottom: -370px;
  width: 750px;
  height: 1100px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.9;
}

.footer {
  background-color: var(--color-bege);
  position: relative;
  border-radius: var(--radius-lg);
}

.footer__top {
  padding-top: 60px;

  padding-bottom: var(--space-xl);
  text-align: center;
  position: relative;
  z-index: 2;
}

.footer__title {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-xl);
  line-height: var(--lh-tight);
  color: var(--color-black);
  margin-bottom: var(--space-xs);
}

.footer__subtitle {
  font-family: var(--font-display);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-black);
}

.footer__main {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
}

.footer__container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xl);
  align-items: flex-start;
}

.footer__contact {
  flex: 0 1 320px;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer__contact-intro {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
}

.footer__phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__phone-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-verde);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__phone-label {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-black);
  display: block;
}

.footer__phone-number {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  color: var(--color-black);
  display: block;
}

.footer__social-row {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.footer__social-icons {
  display: flex;
  gap: var(--space-xs);
}

.footer__social-label {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-base);
  color: var(--color-black);
}

.footer__map {
  flex: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: var(--space-sm);
  z-index: 2;
}

.footer__map-frame {
  flex: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  z-index: 2;
}

.footer__address {
  flex: 1;
  padding: var(--space-sm);
}

.footer__address-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-lg);
  color: var(--color-black);
  margin-bottom: var(--space-xs);
}

.footer__address-text {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--color-black);
}

.footer__credits {
  width: 100%;
  padding-top: var(--space-md);
  text-align: center;
  margin-left: -65px;
}

.footer__credits p {
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--fs-sm);
  color: var(--color-black);
}