/* Diferenciais e Dúvidas */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 7vw, 6.5rem);
  background: #f4edf9;
  border-bottom: 1px solid #e9dff0;
}

.page-hero::before,
.page-hero::after {
  position: absolute;
  z-index: -1;
  content: "";
  width: clamp(11rem, 30vw, 28rem);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  top: -42%;
  right: -2%;
  background: #ebdff4;
}

.page-hero::after {
  bottom: -75%;
  right: 9%;
  border: clamp(0.75rem, 2vw, 1.75rem) solid #f4d783;
}

.page-hero h1 {
  max-width: 18ch;
  margin: 0.45rem 0 1rem;
  color: #29123d;
  font-size: clamp(2.6rem, 6vw, 5.25rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

body[data-page="diferenciais"] .page-hero h1 {
  line-height: 1.06;
  letter-spacing: -0.025em;
}

.page-hero h1 em {
  color: #562478;
  font-style: normal;
}

.page-hero h1 + p {
  max-width: 53ch;
  margin: 0;
  color: #534561;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.page-content {
  padding-block: clamp(2.5rem, 6vw, 5.25rem) clamp(3.5rem, 8vw, 7rem);
  background: #fbf8fd;
}

.program-list {
  display: grid;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3.5vw, 2.5rem);
}

.program-detail {
  display: grid;
  grid-template-columns: minmax(5rem, 9rem) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1rem, 4.2vw, 3.5rem);
  padding: clamp(1.15rem, 3vw, 2rem);
  border: 1px solid #eadff0;
  border-radius: 1.5rem;
  background: #fff;
}

.program-detail,
.contact-main {
  scroll-margin-top: 6.5rem;
}

.program-mark {
  display: grid;
  min-height: 7.5rem;
  place-items: center;
  border-radius: 1rem;
  color: #562478;
}

.program-mark-purple {
  background: #f0e6f8;
}

.program-mark-gold {
  background: #fff0bc;
  color: #69480b;
}

.program-mark-pink {
  background: #f9e7ee;
  color: #7a3155;
}

.program-mark .icon {
  width: clamp(1.75rem, 4vw, 2.6rem);
  height: auto;
  aspect-ratio: 1;
}

.page-content h2:not(.program-feature-title) {
  margin: 0 0 0.45rem;
  color: #29123d;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

body[data-page="diferenciais"] .page-content h2:not(.program-feature-title) {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.11;
  letter-spacing: -0.015em;
}

.program-detail p,
.program-next p,
.contact-main p,
.contact-card p {
  max-width: 65ch;
  margin: 0;
  color: #66566f;
}

.program-detail .program-stage {
  margin-bottom: 0.35rem;
  color: #562478;
  font-size: 0.875rem;
}

.program-next {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin-top: clamp(2.5rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 3.2rem);
  border: 1px solid #eedb9b;
  border-radius: 1.5rem;
  background: #fff2c7;
}

.program-next .button {
  flex: 0 0 auto;
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.matricula-page-body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--surface);
}

.matricula-page {
  flex: 1;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.matricula-page > .container { max-width: 63rem; }

.matricula-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: start;
  gap: clamp(1.05rem, 4vw, 3rem);
  padding: clamp(1.05rem, 4vw, 2.4rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--white);
  box-shadow: 0 6px 24px #32134708;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.matricula-copy h1 {
  max-width: 20ch;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.25vw, 2.6rem);
  line-height: 1.08;
}

.matricula-copy p {
  max-width: 34ch;
  margin-top: .65rem;
  color: var(--muted);
  font-size: 1rem;
}

.matricula-form {
  display: grid;
  gap: .33rem;
  min-width: 0;
}

.matricula-form > label {
  color: var(--ink);
  font-size: .9375rem;
  font-weight: 700;
}

.matricula-form > input {
  width: 100%;
  min-height: 2.85rem;
  margin-bottom: .5rem;
  padding: .5rem .75rem;
  border: 1px solid #b6a2bf;
  border-radius: .55rem;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}

.matricula-form > input::placeholder { color: var(--muted); }

.matricula-form .button {
  justify-self: start;
  margin-top: .55rem;
}

.matricula-form .button:disabled { opacity: .68; cursor: wait; }

.matricula-feedback {
  margin-top: .4rem;
  color: #1a623d;
  font-size: .9375rem;
}

.matricula-error { color: #942946; }

.matricula-feedback:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-main,
.contact-card {
  min-width: 0;
  border-radius: 1.5rem;
}

.contact-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem clamp(1rem, 3vw, 2rem);
  padding: clamp(1.05rem, 2.5vw, 1.55rem) clamp(1.05rem, 3.25vw, 2rem);
  border: 1px solid #e9dfed;
  background: #fff;
  box-shadow: 0 6px 24px #32134708;
  font-family: "DM Sans", "Segoe UI", sans-serif;
}

.contact-main-heading {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 2vw, 1.1rem);
}

.contact-main-copy { min-width: 0; }

.contact-main .contact-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.25vw, 2.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.contact-main .contact-main-copy p {
  margin-top: 0.3rem;
  font-size: 1rem;
}

.contact-symbol {
  display: grid;
  flex: none;
  width: clamp(2.6rem, 4.75vw, 3.4rem);
  height: clamp(2.6rem, 4.75vw, 3.4rem);
  place-items: center;
  border-radius: 50%;
  background: #f1e8f6;
  color: var(--purple);
}

.contact-symbol .icon,
.contact-card > .icon {
  width: 1.5rem;
  height: 1.5rem;
}

.contact-main .contact-whatsapp-status {
  font-size: 0.9375rem;
}

.contact-whatsapp-button {
  min-height: 3rem;
  padding-inline: 1.15rem;
  border-color: #a783b7;
  background: #fff;
  color: var(--purple);
}

.contact-whatsapp-button:hover {
  border-color: var(--purple);
  background: #f5edf9;
}

.contact-whatsapp-button:focus-visible {
  outline-color: var(--purple);
}

.page-content [hidden] {
  display: none !important;
}

.contact-secondary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  gap: 0.9rem;
  padding: clamp(1.3rem, 3vw, 1.9rem);
  border: 1px solid #eadff0;
  background: #fff;
}

.contact-card > .icon {
  margin-top: 0.15rem;
  color: #562478;
}

.contact-card h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  line-height: 1.16;
  letter-spacing: -0.04em;
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin: 0;
  padding: 0;
  color: #66566f;
  list-style: none;
}

.contact-map,
.contact-social a,
.contact-questions a {
  color: #562478;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.contact-map,
.contact-social a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.contact-faq {
  max-width: 48rem;
  margin-inline: auto;
}

.contact-faq-heading {
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-faq .eyebrow {
  margin-bottom: 0.5rem;
}

.page-content .contact-faq-heading h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.18rem, 4.4vw, 3.65rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.contact-faq-intro {
  max-width: 53ch;
  margin: 0.85rem auto 0;
  color: var(--muted);
}

.contact-questions {
  border-top: 1px solid #e4d8ec;
}

.contact-questions details {
  border-bottom: 1px solid #e4d8ec;
}

.contact-questions summary {
  position: relative;
  min-height: 44px;
  padding: 0.95rem 2rem 0.95rem 0;
  color: #29123d;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.contact-questions summary::-webkit-details-marker {
  display: none;
}

.contact-questions summary::after {
  position: absolute;
  top: 1.15rem;
  right: 0.25rem;
  width: 0.6rem;
  height: 0.6rem;
  border-right: 2px solid #562478;
  border-bottom: 2px solid #562478;
  transform: rotate(45deg);
  content: "";
}

.contact-questions details[open] summary::after {
  top: 1.4rem;
  transform: rotate(225deg);
}

.contact-questions details p {
  margin: 0 0 1rem;
  color: #66566f;
}

@media (max-width: 750px) {
  .page-hero::before,
  .page-hero::after {
    opacity: 0.58;
  }

  .page-hero::before {
    right: -12%;
  }

  .page-hero::after {
    right: -10%;
    bottom: -56%;
  }

  .program-next {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .matricula-card,
  .contact-main,
  .contact-secondary {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-whatsapp-button {
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .program-detail {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.85rem;
  }

  .program-mark {
    width: 3.4rem;
    min-height: 3.4rem;
    border-radius: 0.85rem;
  }
}
