/* Paty Peres 0.15.11 — Convite: identidade de botões públicos.
 * Somente CTAs identificados pelo JS. Controles de navegação, calendário,
 * idioma, consentimento e o aplicativo administrativo mantêm sua semântica.
 */
#pp-root.pp-site .pp-invite {
  --pp-invite-bg: #3e4b33;
  --pp-invite-ink: #f7f6ed;
  --pp-invite-ring: rgba(247,246,237,.34);
  --pp-invite-orb: #e9dfbd;
  --pp-invite-orb-ink: #293629;
  --pp-invite-halo: rgba(187,171,73,.28);
  --pp-invite-x: 50%;
  --pp-invite-y: 50%;
  --pp-invite-dx: 0px;
  --pp-invite-dy: 0px;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex !important;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  min-height: 54px;
  max-width: 100%;
  margin-bottom: 0;
  padding: 13px 62px 13px 25px !important;
  border: 1px solid var(--pp-invite-ring) !important;
  border-radius: 999px 999px 999px 15px !important;
  background: var(--pp-invite-bg) !important;
  color: var(--pp-invite-ink) !important;
  font-family: 'Avenir Next',Avenir,'Segoe UI',Arial,sans-serif;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.4;
  letter-spacing: .065em;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: normal;
  box-shadow: 0 10px 28px rgba(19,41,28,.15), inset 0 1px 0 rgba(255,255,255,.12);
  cursor: pointer;
  touch-action: manipulation;
  transition: transform .26s cubic-bezier(.2,.75,.3,1), box-shadow .26s ease,
              background-color .25s ease, border-color .25s ease;
  will-change: auto;
}
/* Foco é livre de animação e sempre visível pelo teclado. */
#pp-root.pp-site .pp-invite:focus-visible {
  outline: 3px solid #d38d05 !important;
  outline-offset: 4px !important;
}
#pp-root.pp-site .pp-invite::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(circle at var(--pp-invite-x) var(--pp-invite-y),
           rgba(255,255,255,.24), rgba(255,255,255,0) 66%);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}
#pp-root.pp-site .pp-invite::after {
  content: '↗';
  position: absolute;
  top: 50%;
  right: 8px;
  width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(39,54,41,.10);
  background: var(--pp-invite-orb);
  color: var(--pp-invite-orb-ink);
  font: 600 19px/1 'Segoe UI Symbol','Arial Unicode MS',Arial,sans-serif;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center;
  transition: transform .3s cubic-bezier(.15,.85,.2,1),
              background-color .25s ease, color .25s ease;
  box-shadow: 0 2px 7px rgba(14,22,13,.12);
  pointer-events: none;
}
#pp-root.pp-site .pp-invite > span[aria-hidden="true"] {
  /* As setas já presentes no HTML serão substituídas pela medalha visual. */
  display: none;
}
/* Sobre fotografia e sobre fundos verde-escuros: versão marfim. */
#pp-root.pp-site :is(.pp-pill-light,.pp-sobre-cta,.pp-journey-link,.pp-journey-final a,
 .pp-gm-button-cream,.pp-universo-hero-actions a,.pp-astro-final-cta).pp-invite,
#pp-root.pp-site .pp-hero .pp-invite {
  --pp-invite-bg: #f7f6ed;
  --pp-invite-ink: #31402e;
  --pp-invite-ring: rgba(49,64,46,.18);
  --pp-invite-orb: #3e4b33;
  --pp-invite-orb-ink: #fffdf3;
  --pp-invite-halo: rgba(255,255,255,.32);
  box-shadow: 0 10px 27px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.8);
}
/* Ações compactas mantêm o formato acessível e a largura original. */
#pp-root.pp-site .pp-header-contact,
#pp-root.pp-site :is(.pp-cookie-solid,.pp-cookie-outline){
  border-radius:999px 999px 999px 12px !important;
  transition:transform .22s ease,background-color .22s ease,border-color .22s ease;
}
@media(hover:hover) and (pointer:fine){
  #pp-root.pp-site .pp-header-contact:hover,
  #pp-root.pp-site :is(.pp-cookie-solid,.pp-cookie-outline):hover {transform:translateY(-2px)}
}
#pp-root.pp-site .pp-invite:disabled,
#pp-root.pp-site .pp-invite[aria-disabled="true"] {
  opacity: .52;
  cursor: not-allowed;
  box-shadow: none;
}
@media (hover: hover) and (pointer: fine) {
  #pp-root.pp-site .pp-invite:hover:not(:disabled):not([aria-disabled="true"]) {
    transform: translate3d(var(--pp-invite-dx),calc(-3px + var(--pp-invite-dy)),0) !important;
    box-shadow: 0 16px 33px rgba(19,41,28,.24), 0 0 0 1px var(--pp-invite-halo);
  }
  #pp-root.pp-site .pp-invite:hover:not(:disabled)::before {opacity: 1}
  #pp-root.pp-site .pp-invite:hover:not(:disabled)::after {
    transform: translateY(-50%) rotate(45deg) scale(1.07);
  }
}
#pp-root.pp-site .pp-invite:active:not(:disabled),
#pp-root.pp-site .pp-invite.is-pressed:not(:disabled) {
  transform: translate3d(0,1px,0) scale(.975) !important;
  box-shadow: 0 3px 11px rgba(19,41,28,.14), 0 0 0 5px var(--pp-invite-halo);
}
/* Preserva a largura dos formulários já existentes. */
#pp-root.pp-site :is(.pp-contact-form,.pp-gm-form,.pp-vitrine-form) .pp-invite {
  width: 100%;
}
/* O espaçamento especial do Hero, aprovado na 0.15.10, permanece intacto. */
@media (max-width: 700px) {
  #pp-root.pp-site .pp-invite {
    min-height: 50px;
    padding: 12px 55px 12px 19px !important;
    font-size: 11px;
    letter-spacing: .045em;
  }
  #pp-root.pp-site .pp-invite::after {width:31px;height:31px;right:8px;font-size:17px}
}
@media (max-width: 360px) {
  #pp-root.pp-site .pp-invite {min-height:47px;padding:11px 48px 11px 13px !important;font-size:10px}
  #pp-root.pp-site .pp-invite::after {width:28px;height:28px;right:7px}
}
@media (prefers-reduced-motion: reduce) {
  #pp-root.pp-site .pp-invite,
  #pp-root.pp-site .pp-invite::before,
  #pp-root.pp-site .pp-invite::after {transition:none!important;animation:none!important}
  #pp-root.pp-site .pp-invite:hover:not(:disabled):not([aria-disabled="true"]),
  #pp-root.pp-site .pp-invite:active:not(:disabled),
  #pp-root.pp-site .pp-invite.is-pressed:not(:disabled),
  #pp-root.pp-site .pp-header-contact:hover,
  #pp-root.pp-site :is(.pp-cookie-solid,.pp-cookie-outline):hover {transform:none!important}
}
