/* Página inicial (front-page.php) */

.mh-landing {
  --mh-tinta: #1d1d1b;
  --mh-tinta-suave: #55534e;
  --mh-papel: #fffaf2;
  --mh-amarelo: #f5b700;
  --mh-laranja: #ff7a45;
  --mh-rosa: #e8467c;
  --mh-azul: #2c9ad6;
  --mh-verde: #2fb380;
  --mh-roxo: #8b5cf6;
  --mh-raio: 18px;
  color: var(--mh-tinta);
  font-family: 'Inter', sans-serif;
}

.mh-landing h1,
.mh-landing h2,
.mh-landing h3 {
  font-family: 'PT Serif', Georgia, serif;
  color: var(--mh-tinta);
  letter-spacing: -0.01em;
}

.mh-landing h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.mh-mao {
  font-family: 'Caveat', cursive;
}

.mh-eyebrow {
  font-family: 'Caveat', cursive;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--mh-rosa);
  margin-bottom: 0.4rem;
}

.mh-texto {
  font-size: 1.08rem;
  line-height: 1.65;
  color: var(--mh-tinta-suave);
}

/* Botões */

.mh-btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.mh-btn:hover {
  transform: translateY(-2px);
}

.mh-btn--primary {
  background: var(--mh-primary, var(--mh-rosa));
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(232, 70, 124, 0.3);
}

.mh-btn--primary:hover {
  box-shadow: 0 12px 28px rgba(232, 70, 124, 0.38);
}

.mh-btn--ghost {
  color: var(--mh-tinta) !important;
  background: rgba(255, 255, 255, 0.7);
}

.mh-btn--outline {
  color: var(--mh-tinta) !important;
  border: 2px solid var(--mh-tinta);
}

/* Hero */

.mh-hero,
.mh-cta-final {
  position: relative;
  background: var(--mh-papel) var(--mh-hero-bg) center / cover no-repeat;
}

.mh-hero {
  padding: 9rem 0 6rem;
  overflow: hidden;
}

.mh-hero::after,
.mh-cta-final::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.35), rgba(255, 250, 242, 0.75));
  pointer-events: none;
}

.mh-hero > .container,
.mh-cta-final > .container {
  position: relative;
  z-index: 1;
}

.mh-hero__title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
  margin-bottom: 1.25rem;
}

.mh-hero__lead {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--mh-tinta-suave);
  max-width: 34rem;
}

.mh-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 2rem 0 1rem;
}

.mh-hero__note {
  font-size: 0.95rem;
  color: var(--mh-tinta-suave);
}

.mh-hero__note .bi {
  color: var(--mh-verde);
}

/* Revista aberta: mesmas coordenadas em % dos layouts 01 e 04 */

.mh-revista {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 560px;
  margin: 0 auto;
  transform: perspective(1400px) rotateX(10deg) rotateZ(-3deg);
  filter: drop-shadow(0 30px 40px rgba(29, 29, 27, 0.22));
}

.mh-revista__pagina {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  container-type: inline-size;
}

.mh-revista__pagina--esq {
  border-radius: 6px 0 0 6px;
  background: linear-gradient(90deg, #fff 85%, #ece7de);
}

.mh-revista__pagina--dir {
  border-radius: 0 6px 6px 0;
  background: linear-gradient(90deg, #e9e3d8, #fff 12%);
}

.mh-slot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: calc(var(--w) * 1%);
  height: calc(var(--h) * 1%);
}

.mh-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

.mh-slot--texto {
  display: flex;
  flex-direction: column;
  gap: 4cqw;
}

.mh-slot--texto .mh-mao {
  font-size: 7cqw;
  line-height: 1;
  color: var(--mh-tinta);
}

.mh-linhas {
  flex: 1;
  background: repeating-linear-gradient(180deg, #cfc9bf 0 1.2cqw, transparent 1.2cqw 5cqw);
  max-height: 30cqw;
}

/* Seções */

.mh-sec {
  padding: 6rem 0;
  background: #fff;
}

.mh-sec--papel {
  background: var(--mh-papel);
}

.mh-sec__head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3rem;
}

.mh-cor-amarelo { --mh-cor: var(--mh-amarelo); }
.mh-cor-laranja { --mh-cor: var(--mh-laranja); }
.mh-cor-rosa { --mh-cor: var(--mh-rosa); }
.mh-cor-azul { --mh-cor: var(--mh-azul); }
.mh-cor-verde { --mh-cor: var(--mh-verde); }
.mh-cor-roxo { --mh-cor: var(--mh-roxo); }

/* Passos */

.mh-passo {
  position: relative;
  height: 100%;
  padding: 2.25rem 1.75rem 2rem;
  border-radius: var(--mh-raio);
  background: var(--mh-papel);
  border-top: 6px solid var(--mh-cor);
}

.mh-passo__num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-family: 'Caveat', cursive;
  font-size: 3rem;
  line-height: 1;
  color: var(--mh-cor);
  opacity: 0.6;
}

.mh-passo .bi {
  font-size: 2rem;
  color: var(--mh-cor);
}

.mh-passo h3 {
  font-size: 1.5rem;
  margin: 0.75rem 0 0.5rem;
}

.mh-passo p {
  color: var(--mh-tinta-suave);
  margin: 0;
}

/* Linha do tempo */

.mh-linha-tempo {
  position: relative;
  height: 380px;
}

.mh-linha-tempo__item {
  position: absolute;
  width: 46%;
  margin: 0;
  padding: 0.6rem 0.6rem 0.3rem;
  background: #fff;
  box-shadow: 0 14px 30px rgba(29, 29, 27, 0.14);
}

.mh-linha-tempo__item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mh-linha-tempo__item figcaption {
  text-align: center;
  font-size: 1.5rem;
}

.mh-linha-tempo__item:nth-child(1) { left: 0; top: 40px; transform: rotate(-7deg); }
.mh-linha-tempo__item:nth-child(2) { left: 27%; top: 0; transform: rotate(3deg); z-index: 2; }
.mh-linha-tempo__item:nth-child(3) { right: 0; top: 70px; transform: rotate(8deg); z-index: 1; }

.mh-lista-check {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.mh-lista-check li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--mh-tinta-suave);
}

.mh-lista-check li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--mh-verde);
  font-size: 1.2rem;
  line-height: 1.4;
}

/* Recursos */

.mh-recurso {
  height: 100%;
  padding: 1.75rem;
  border-radius: var(--mh-raio);
  border: 1px solid #efe9df;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mh-recurso:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(29, 29, 27, 0.08);
}

.mh-recurso .bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-size: 1.4rem;
  color: var(--mh-cor);
  background: color-mix(in srgb, var(--mh-cor) 14%, #fff);
}

.mh-recurso h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.4rem;
}

.mh-recurso p {
  color: var(--mh-tinta-suave);
  margin: 0;
}

/* Segurança */

.mh-sec--seguro {
  background: #1f2a37;
}

.mh-sec--seguro h2,
.mh-sec--seguro .mh-texto {
  color: #fff;
}

.mh-sec--seguro .mh-eyebrow {
  color: #ffc94d;
}

.mh-seguro {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.mh-seguro li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.8);
}

.mh-seguro .bi {
  font-size: 1.4rem;
  color: #ffc94d;
}

.mh-seguro strong {
  color: #fff;
}

/* Planos */

.mh-plano {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2rem 1.6rem;
  border-radius: var(--mh-raio);
  border: 1px solid #efe9df;
  background: #fff;
}

.mh-plano.is-destaque {
  border: 2px solid var(--mh-primary, var(--mh-rosa));
  box-shadow: 0 20px 44px rgba(232, 70, 124, 0.16);
}

.mh-plano__selo {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  background: var(--mh-primary, var(--mh-rosa));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.mh-plano__nome {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.mh-plano__preco {
  font-family: 'PT Serif', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.mh-plano__preco small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--mh-tinta-suave);
}

.mh-plano__itens {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}

.mh-plano__itens li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.6rem;
  font-size: 0.95rem;
  color: var(--mh-tinta-suave);
  border-bottom: 1px dashed #efe9df;
}

.mh-plano__itens li::before {
  content: '\F26E';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--mh-verde);
}

.mh-plano .mh-btn {
  text-align: center;
}

/* Perguntas */

.mh-faq {
  max-width: 50rem;
}

.mh-faq__item {
  border-bottom: 1px solid #e8e1d5;
  padding: 1.1rem 0;
}

.mh-faq__item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.mh-faq__item summary::-webkit-details-marker {
  display: none;
}

.mh-faq__item summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  color: var(--mh-rosa);
  transition: transform 0.2s ease;
}

.mh-faq__item[open] summary::after {
  transform: rotate(45deg);
}

.mh-faq__item p {
  margin: 0.75rem 0 0;
  color: var(--mh-tinta-suave);
  line-height: 1.6;
}

/* Chamada final */

.mh-cta-final {
  padding: 6rem 0;
}

.mh-cta-final h2 {
  max-width: 36rem;
  margin: 0 auto 1rem;
}

.mh-cta-final .mh-texto {
  margin-bottom: 2rem;
}

/* Responsivo */

@media (max-width: 991.98px) {
  .mh-hero {
    padding: 7rem 0 4rem;
  }

  .mh-revista {
    transform: none;
  }

  .mh-linha-tempo {
    height: 300px;
  }

  .mh-sec {
    padding: 4rem 0;
  }
}
