/* ======================================================
   HERO CLARA — inspirada na seção "Quem é Heloisa?"
   Mantém a foto à direita e a transição suave para o fundo.
   Substitua as regras anteriores da HERO por este arquivo.
   ====================================================== */

.part-one .hero {
  --hero-roxo: #572B6B;
  --hero-lilas: #DED7E7;
  --hero-fundo-esq: #E4DAEB;
  --hero-fundo-centro: #F1ECF4;
  --hero-fundo-dir: #FAF8FB;

  position: relative;
  width: 100%;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
  color: var(--hero-roxo);
  background: linear-gradient(
    105deg,
    var(--hero-fundo-esq) 0%,
    #EBE3F0 33%,
    var(--hero-fundo-centro) 58%,
    var(--hero-fundo-dir) 100%
  );
}

/* Luminosidade difusa: sem divisões ou faixas visíveis. */
.part-one .hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 58% 82% at 92% 35%,
      rgba(255, 255, 255, 0.30) 0%,
      rgba(255, 255, 255, 0.10) 48%,
      transparent 78%
    ),
    radial-gradient(
      ellipse 65% 75% at 8% 90%,
      rgba(169, 139, 186, 0.10) 0%,
      transparent 75%
    );
}

/* Elemento inferior totalmente difuso. */
.part-one .hero::after {
  content: '';
  position: absolute;
  left: -280px;
  bottom: -480px;
  width: 650px;
  height: 650px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(164, 132, 183, 0.13) 0%,
    rgba(184, 160, 201, 0.07) 39%,
    transparent 75%
  );
}

/* Elemento superior direito suavizado. */
.part-one .hero-blob {
  position: absolute;
  width: 820px;
  height: 820px;
  right: -300px;
  top: -220px;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(222, 215, 231, 0.32) 0%,
    rgba(222, 215, 231, 0.16) 39%,
    rgba(222, 215, 231, 0.05) 60%,
    transparent 78%
  );
}

/* Estrutura original da seção. */
.part-one .hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 820px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.part-one .hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  max-width: 690px;
  padding: 72px 0;
}

.part-one .hero-copy .eyebrow {
  width: fit-content;
  margin-bottom: 35px;
  padding: 10px 20px;
  border: 1px solid #572B6B;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--hero-roxo);
  font-size: 15px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

.part-one .hero-copy .eyebrow > span:first-child {
  display: none;
}

.part-one .hero h1 {
  max-width: 690px;
  margin-bottom: 28px;
  color: var(--hero-roxo);
  font-size: clamp(3rem, 4.45vw, 4rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -2px;
}

.part-one .hero h1::after {
  display: none;
}

.part-one .hero .subheadline {
  max-width: 650px;
  margin-bottom: 34px;
  color: #684778;
  font-size: 1.2rem;
  font-weight: 400;
  line-height: 1.5;
}

/* No fundo claro, botão roxo para manter alto contraste. */
.part-one .hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 16px 36px;
  border: 1px solid #572B6B;
  border-radius: 999px;
  background: var(--hero-roxo);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(87, 43, 107, 0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.part-one .hero-cta:hover,
.part-one .hero-cta:focus-visible {
  background: #6C3B80;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(87, 43, 107, 0.20);
}

.part-one .hero-cta .cta-calendar {
  width: 1.35rem;
  height: 1.35rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.part-one .hero-cta b {
  margin-left: 10px;
  color: #FFFFFF;
  font-size: 1.65rem;
  line-height: 1;
}

/* Foto à direita: sem filtros que alterem as cores naturais. */
.part-one .hero-person {
  position: relative;
  z-index: 1;
  align-self: end;
  height: 820px;
  overflow: visible;
  filter: none;
  /* Não aplique máscara aqui: ela ficaria duplicada com a da imagem. */
  -webkit-mask-image: none;
  mask-image: none;
}

.part-one .hero-person img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 95%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  transform: none;
  filter: none;

  /* Máscara horizontal e vertical: elimina as quatro bordas retangulares. */
  -webkit-mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 6%,
      rgba(0, 0, 0, 0.80) 16%,
      #000 27%,
      #000 75%,
      rgba(0, 0, 0, 0.82) 85%,
      rgba(0, 0, 0, 0.20) 95%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.50) 6%,
      #000 15%,
      #000 71%,
      rgba(0, 0, 0, 0.72) 83%,
      rgba(0, 0, 0, 0.20) 94%,
      transparent 100%
    );
  mask-image:
    linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.15) 6%,
      rgba(0, 0, 0, 0.80) 16%,
      #000 27%,
      #000 75%,
      rgba(0, 0, 0, 0.82) 85%,
      rgba(0, 0, 0, 0.20) 95%,
      transparent 100%
    ),
    linear-gradient(
      to bottom,
      transparent 0%,
      rgba(0, 0, 0, 0.50) 6%,
      #000 15%,
      #000 71%,
      rgba(0, 0, 0, 0.72) 83%,
      rgba(0, 0, 0, 0.20) 94%,
      transparent 100%
    );
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

/* Sem película roxa por cima da modelo. */
.part-one .hero-person::after {
  content: none;
}

/* =========================================
   RESPONSIVIDADE
   ========================================= */
@media (max-width: 1199px) {
  .part-one .hero,
  .part-one .hero-grid {
    min-height: 760px;
  }

  .part-one .hero h1 {
    font-size: clamp(3rem, 4.5vw, 4rem);
  }

  .part-one .hero-person {
    height: 760px;
  }
}

@media (max-width: 991px) {
  .part-one .hero,
  .part-one .hero-grid {
    min-height: 760px;
  }

  .part-one .hero-grid {
    grid-template-columns: 1fr;
  }

  .part-one .hero-copy {
    align-self: start;
    padding: 76px 0 20px;
  }

  .part-one .hero-person {
    height: 420px;
  }

  .part-one .hero-person img {
    right: 50%;
    width: 390px;
    height: 420px;
    transform: translateX(50%);
  }

  .part-one .hero-blob {
    width: 550px;
    height: 550px;
    right: -250px;
    top: -120px;
  }
}

@media (max-width: 575px) {
  .part-one .hero,
  .part-one .hero-grid {
    min-height: 700px;
  }

  .part-one .hero-copy {
    padding-top: 48px;
    text-align: center;
  }

  .part-one .hero-copy .eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .part-one .hero h1,
  .part-one .hero .subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .part-one .hero-cta {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  .part-one .hero h1 {
    max-width: 100%;
    font-size: 2.5rem;
    letter-spacing: -1px;
  }

  .part-one .hero .subheadline {
    font-size: 1rem;
  }

  .part-one .hero-cta {
    min-height: 62px;
    padding: 14px 26px;
    font-size: 1rem;
  }

  .part-one .hero-person {
    height: 330px;
  }

  .part-one .hero-person img {
    width: 320px;
    height: 330px;
  }

  .part-one .hero-blob {
    width: 520px;
    height: 420px;
    right: -190px;
    top: -100px;
  }
}
