@import url('https://cdn.jsdelivr.net/npm/@fontsource-variable/mona-sans/index.css');

/* Mantém qualquer seção ancorada visível abaixo do cabeçalho sticky. */
html {
  scroll-padding-top: 82px;
}

/* Tipografia global da landing page. */
html,
body,
body * {
  font-family: 'Mona Sans', sans-serif !important;
}

/* Mantém a mesma fonte também nos controles nativos do formulário. */
button,
input,
select,
textarea {
  font-family: 'Mona Sans', sans-serif !important;
}

/* Navegação refinada para leitura rápida e toque confortável. */
.site-header {
  box-shadow: 0 4px 18px rgba(87, 43, 107, .06);
}

.site-header .navbar {
  min-height: 74px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 10px;
  transition: color .2s ease, background-color .2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
  color: var(--purple);
  background: #f1ebf5;
}

.site-header .social-links {
  gap: 8px;
  margin-left: 4px;
}

/* Benefícios: ícone acima e explicação abaixo, com leitura confortável. */
.benefits-list {
  align-items: stretch;
}

.benefit {
  flex-direction: column;
  gap: 12px;
  min-height: 176px;
  padding: 22px 24px;
  text-align: center;
}

.benefit-image {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  object-fit: contain;
}

.benefit strong {
  max-width: 260px;
  font-size: .88rem;
  line-height: 1.35;
  font-weight: 650;
}

.final-cta .footer-legal {
  margin: 42px 0 0;
  color: rgba(248, 248, 248, .82);
  font-size: .78rem;
  line-height: 1.4;
  text-align: center;
}

.privacy-details {
  max-width: 760px;
  margin: 24px auto 0;
  color: rgba(248, 248, 248, .88);
  text-align: left;
  font-size: .78rem;
  line-height: 1.5;
}

.privacy-details summary {
  cursor: pointer;
  text-align: center;
  font-weight: 700;
}

.privacy-details-body {
  margin-top: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(248, 248, 248, .24);
  border-radius: 12px;
}

.privacy-details-body p {
  margin: 0 0 10px;
}

.privacy-details-body p:last-child {
  margin-bottom: 0;
}

.privacy-consent {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  color: var(--deep);
  font-size: .78rem;
  line-height: 1.4;
  cursor: pointer;
}

.privacy-consent input {
  appearance: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  border: 1.5px solid rgba(87, 43, 107, .5);
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.privacy-consent input:checked {
  border-color: var(--purple);
  background: var(--purple);
  box-shadow: inset 0 0 0 3px #fff;
}

.privacy-consent input:focus-visible {
  outline: 3px solid rgba(87, 43, 107, .2);
  outline-offset: 2px;
}

.privacy-consent-copy {
  min-width: 0;
}

.privacy-consent a {
  color: var(--purple);
  font-weight: 700;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.proposal-consent {
  margin-top: 14px;
  margin-bottom: 12px;
}

@media (max-width: 575px) {
  .privacy-consent {
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    font-size: .75rem;
  }

  .privacy-consent a {
    display: inline-block;
    margin-top: 4px;
  }
}

.success-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(50, 22, 77, .68);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.success-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.success-dialog {
  position: relative;
  width: min(420px, 100%);
  padding: 34px 28px 28px;
  border-radius: 20px;
  background: #f8f8f8;
  color: var(--deep);
  text-align: center;
  box-shadow: 0 20px 60px rgba(50, 22, 77, .3);
}

.success-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--purple);
  color: #f8f8f8;
  font-size: 1.6rem;
  font-weight: 800;
}

.success-dialog h2 {
  margin: 0 0 8px;
  color: var(--purple);
  font-size: 1.35rem;
}

.success-dialog p {
  margin: 0 0 22px;
  color: var(--deep);
  font-size: .95rem;
}

.success-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--deep);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.success-close:hover,
.success-close:focus-visible {
  background: rgba(87, 43, 107, .1);
}

.success-confirm {
  min-width: 120px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(50, 22, 77, .72);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.privacy-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.privacy-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: min(80vh, 620px);
  overflow: auto;
  padding: 34px 32px 28px;
  border-radius: 20px;
  background: #f8f8f8;
  color: var(--deep);
  box-shadow: 0 20px 60px rgba(50, 22, 77, .28);
}

.privacy-dialog h2 {
  margin: 0 36px 18px 0;
  color: var(--purple);
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.privacy-dialog p {
  margin: 0 0 14px;
  font-size: .95rem;
  line-height: 1.55;
}

.privacy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 575px) {
  .privacy-dialog {
    padding: 30px 20px 22px;
  }
}

@media (max-width: 575px) {
  html {
    scroll-padding-top: 78px;
  }

  .benefit {
    min-height: 210px;
    padding: 20px 14px;
  }

  .benefit strong {
    max-width: 190px;
    font-size: .78rem;
  }
}

.site-header .social-link {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.site-header .social-link:hover,
.site-header .social-link:focus-visible {
  background: #f1ebf5;
  transform: none;
}

.site-header .cta-button {
  min-height: 46px;
  padding: 10px 18px;
  white-space: nowrap;
}

.site-header .navbar-toggler {
  width: 48px;
  height: 48px;
  padding: 8px;
  border: 1px solid rgba(87, 43, 107, .28);
  border-radius: 12px;
  background: #fff;
}

.site-header .navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(87, 43, 107, .16);
}

@media (max-width: 991px) {
  .site-header .navbar {
    min-height: 70px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .site-header .navbar-collapse {
    margin-top: 8px;
    padding: 10px 4px 14px;
    border-top: 1px solid #ded7e7;
    background: #fffdfd;
    box-shadow: 0 12px 20px rgba(87, 43, 107, .08);
  }

  .site-header .navbar-nav {
    align-items: stretch !important;
    gap: 2px !important;
  }

  .site-header .nav-link {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    font-size: .95rem;
  }

  .site-header .social-links {
    justify-content: flex-start;
    gap: 8px;
    margin: 8px 0 4px;
    padding: 10px 8px;
    border-top: 1px solid #f1ebf5;
    border-bottom: 1px solid #f1ebf5;
  }

  .site-header .social-link {
    width: 44px;
    height: 44px;
    background: #f8f4fa;
  }

  .site-header .cta-button {
    justify-content: center;
    width: 100%;
    min-height: 50px;
    margin-top: 10px;
    padding: 12px 16px;
  }
}

@media (max-width: 575px) {
  .site-header .brand-logo {
    width: 112px !important;
    height: 56px !important;
  }
}
