
/* ===== BOTÃO "JÁ DOOU? ENVIE O COMPROVANTE" · efeito shine ===== */
@property --epm-a{syntax:"<angle>";initial-value:0deg;inherits:false}
@property --epm-o{syntax:"<angle>";initial-value:0deg;inherits:false}
@property --epm-p{syntax:"<percentage>";initial-value:5%;inherits:false}
@property --epm-s{syntax:"<color>";initial-value:#ffffff;inherits:false}
@keyframes epm-angle{to{--epm-a:360deg}}
@keyframes epm-spin{to{rotate:360deg}}
@keyframes epm-breathe{0%,100%{scale:1}50%{scale:1.2}}

.epm-shine{
  --base:#0d2e0f; --accent:#9fbf16; --accent-soft:#dbe9a6;
  --ease:.8s cubic-bezier(.25,1,.5,1);
  position:relative; isolation:isolate; overflow:hidden; box-sizing:border-box;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  width:100%; min-height:62px; padding:0 8px 0 22px; margin:0;
  border-radius:999px; border:1.5px solid transparent;
  background:
    linear-gradient(var(--base),var(--base)) padding-box,
    conic-gradient(from calc(var(--epm-a) - var(--epm-o)),
      transparent,
      var(--accent) var(--epm-p),
      var(--epm-s) calc(var(--epm-p) * 2),
      var(--accent) calc(var(--epm-p) * 3),
      transparent calc(var(--epm-p) * 4)) border-box;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 12px 32px -12px rgba(159,191,22,.25);
  color:#fff; font-family:'Work Sans',system-ui,sans-serif; text-align:left; cursor:pointer; outline-offset:4px;
  -webkit-tap-highlight-color:transparent;
  animation:epm-angle 3s linear infinite;
  transition:--epm-o var(--ease),--epm-p var(--ease),--epm-s var(--ease),box-shadow var(--ease),transform .15s;
}
.epm-shine:active{transform:translateY(1px)}
/* pontilhado que acompanha o brilho */
.epm-shine__dots{position:absolute;inset:3px;border-radius:inherit;z-index:-1;pointer-events:none;opacity:.45;
  background:radial-gradient(circle at 2px 2px,rgba(219,233,166,.95) .6px,transparent 0);background-size:4px 4px;
  -webkit-mask-image:conic-gradient(from calc(var(--epm-a) + 45deg),#000,transparent 10% 90%,#000);
          mask-image:conic-gradient(from calc(var(--epm-a) + 45deg),#000,transparent 10% 90%,#000);
  animation:epm-angle 3s linear infinite}
/* reflexo diagonal */
.epm-shine__sheen{position:absolute;left:50%;top:50%;width:100%;aspect-ratio:1;translate:-50% -50%;z-index:-1;pointer-events:none;opacity:.32;
  background:linear-gradient(-50deg,transparent,var(--accent),transparent);
  -webkit-mask-image:radial-gradient(circle at bottom,transparent 40%,#000);
          mask-image:radial-gradient(circle at bottom,transparent 40%,#000);
  transition:opacity var(--ease);animation:epm-spin 7.5s linear infinite paused}
/* brilho interno no hover */
.epm-shine__glow{position:absolute;left:50%;top:50%;width:calc(100% + 1rem);height:calc(100% + 1rem);translate:-50% -50%;z-index:-1;pointer-events:none;opacity:0;
  box-shadow:inset 0 -1ex 2rem 4px var(--accent);transition:opacity var(--ease);animation:epm-breathe 4.5s linear infinite}
.epm-shine__text{position:relative;z-index:1;flex:1;min-width:0;display:flex;flex-direction:column;gap:3px;padding:10px 0;line-height:1.15}
.epm-shine__kicker{font:500 13px 'Work Sans',system-ui,sans-serif;letter-spacing:.02em;color:#cfe38a}
.epm-shine__label{font-family:'Work Sans',system-ui,sans-serif;font-weight:700;font-size:clamp(14px,3.9vw,16px);line-height:1.2;letter-spacing:clamp(.02em,.6vw,.06em);text-transform:uppercase;color:#fff;text-wrap:balance}
.epm-shine__icon{position:relative;z-index:1;flex:none;width:46px;height:46px;border-radius:50%;background:var(--accent);color:#134015;display:grid;place-items:center;font:700 18px 'Work Sans',system-ui,sans-serif;box-shadow:0 0 0 4px rgba(159,191,22,.18)}

/* estado ativo: hover, foco do teclado ou pulso automático (.is-shine) */
.epm-shine:is(:hover,:focus-visible,.is-shine){--epm-p:20%;--epm-o:95deg;--epm-s:var(--accent-soft);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06),0 12px 32px -12px rgba(159,191,22,.55)}
.epm-shine:is(:hover,:focus-visible,.is-shine) .epm-shine__sheen{opacity:.55;animation-play-state:running}
.epm-shine:is(:hover,:focus-visible,.is-shine) .epm-shine__glow{opacity:1}

@media (prefers-reduced-motion:reduce){
  .epm-shine,.epm-shine__dots,.epm-shine__sheen,.epm-shine__glow{animation:none!important}
  .epm-shine{transition:none}
}
/* ===== fim do botão ===== */


/* Keep the existing mobile Pix rules from constraining the button's new layers. */
.campaign-page #topo #doar>button.epm-shine{display:flex!important;min-height:76px!important;padding:0 10px 0 20px!important;gap:12px!important;border-radius:999px!important;margin-top:auto;text-transform:none;letter-spacing:normal;line-height:1.2}
.campaign-page #topo #doar>button.epm-shine>.epm-shine__text{width:auto!important;height:auto!important;flex:1 1 0!important;min-width:0;text-align:left}
.campaign-page #topo #doar>button.epm-shine>.epm-shine__icon{width:46px!important;height:46px!important;flex:none}
.campaign-page #topo #doar>button.epm-shine>.epm-shine__dots{width:auto!important;height:auto!important}
.campaign-page #topo #doar>button.epm-shine>.epm-shine__sheen{width:100%!important;height:auto!important}
.campaign-page #topo #doar>button.epm-shine>.epm-shine__glow{width:calc(100% + 1rem)!important;height:calc(100% + 1rem)!important}
.epm-shine:focus-visible{outline:3px solid #dbe9a6;outline-offset:4px}
.epm-shine__label{font-size:16px;overflow-wrap:normal;word-break:normal;white-space:normal}
@keyframes epm-auto-glow{0%,65%,100%{opacity:0}74%,90%{opacity:.65}}
.epm-shine__glow{animation:epm-breathe 4.5s linear infinite,epm-auto-glow 5.2s ease-in-out infinite}
.epm-shine:is(:hover,:focus-visible) .epm-shine__glow{animation:epm-breathe 4.5s linear infinite;opacity:.65}
@media(max-width:360px){.campaign-page #topo #doar>button.epm-shine{padding-left:16px!important;gap:10px!important}.epm-shine__label{font-size:14px;letter-spacing:.02em}}
@media(prefers-reduced-motion:reduce){.epm-shine,.epm-shine *{animation:none!important;transition:none!important}.epm-shine__glow,.epm-shine__sheen{opacity:0!important}}
/* Compact phone layout matching the supplied reference. */
@media(max-width:767px){
 .campaign-page #topo #doar>button.epm-shine{min-height:52px!important;padding:4px 6px 4px 16px!important;gap:8px!important;border-radius:999px!important;box-shadow:inset 0 0 0 1px #ffffff12,0 6px 18px -10px #9fbf1680}
 .campaign-page #topo #doar>button.epm-shine>.epm-shine__text{padding:3px 0;gap:2px}
 .campaign-page #topo #doar>button.epm-shine .epm-shine__kicker{font-size:11px;line-height:1.15;letter-spacing:0}
 .campaign-page #topo #doar>button.epm-shine .epm-shine__label{font-size:clamp(12px,3.2vw,14px);line-height:1.2;letter-spacing:.025em;text-align:left;text-wrap:pretty}
 .campaign-page #topo #doar>button.epm-shine>.epm-shine__icon{width:36px!important;height:36px!important;font-size:0;box-shadow:0 0 0 3px #9fbf162e}
 .campaign-page #topo #doar>button.epm-shine>.epm-shine__icon::after{content:'↑';position:absolute;inset:0;display:grid;place-items:center;font:700 18px/1 'Work Sans',system-ui,sans-serif}
}
@media(max-width:767px){
 .campaign-page #topo #doar>button.epm-shine .epm-shine__label{display:block;width:100%;white-space:nowrap;letter-spacing:0;text-wrap:nowrap;font-size:14px}
}

/* Match the Copy button height and leave comfortable space around the phone label. */
@media(max-width:767px){
 .campaign-page #topo #doar .pix-key>button,.campaign-page #topo #doar>button.epm-shine{box-sizing:border-box;height:52px!important;min-height:52px!important;max-height:52px!important}
 .campaign-page #topo #doar>button.epm-shine{padding:4px 8px 4px 18px!important;gap:12px!important}
 .campaign-page #topo #doar>button.epm-shine>.epm-shine__text{padding:0;gap:3px;justify-content:center}
 .campaign-page #topo #doar>button.epm-shine .epm-shine__label{line-height:1.15}
}
@media(max-width:767px){.campaign-page #topo #doar>button.epm-shine{height:62px!important;min-height:62px!important;max-height:62px!important}}
