/* CTA comercial ÁgiL: mesmo acabamento azul/dourado do botão do header.
   Opt-in para preservar botões administrativos, pagamentos e controles pequenos. */
.agil-premium-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  gap: .5rem;
  padding: 7px 53px 7px 18px !important;
  border: 1px solid #134576 !important;
  border-radius: 9999px !important;
  background: linear-gradient(115deg,#0a2f57,#0b4a87 74%,#0b3667) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 6px 17px rgba(10,55,104,.18), inset 0 1px 1px rgba(255,255,255,.17) !important;
  transition: background .2s ease,box-shadow .2s ease,transform .2s ease;
}
.agil-premium-cta::after {
  content: "→";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,#ffe07a 0%,#f5bd30 46%,#e0a517 100%);
  color: #102f54;
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
  box-shadow: inset 0 1px 1px rgba(255,255,255,.6),0 2px 6px rgba(7,36,70,.18);
}
.agil-premium-cta:hover:not(:disabled):not([aria-disabled="true"]) {
  background: linear-gradient(115deg,#0d3d71,#1263a1) !important;
  box-shadow: 0 9px 19px rgba(10,55,104,.21) !important;
  transform: translateY(-1px);
}
.agil-premium-cta:focus-visible {
  outline: 2px solid #e0a517;
  outline-offset: 3px;
}
.agil-premium-cta svg.lucide-arrow-right {
  display: none;
}
.agil-premium-cta:disabled,
.agil-premium-cta[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
}
@media (prefers-reduced-motion: reduce) {
  .agil-premium-cta { transition: none; }
  .agil-premium-cta:hover { transform: none !important; }
}

/* Padrão único para CTAs públicos de WhatsApp.
 * Ícone vetorial fiel à marca em verde WhatsApp, sobre disco branco.
 * Nunca altera os botões azuis de checkout nem os links textuais.
 */
.agil-whatsapp-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  max-width: 100%;
  padding: 8px 54px 8px 20px !important;
  border: 1px solid #168754 !important;
  border-radius: 9999px !important;
  background: linear-gradient(115deg,#075e48 0%,#107b58 68%,#128c5c 100%) !important;
  color: #fff !important;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  box-shadow: 0 6px 17px rgba(4,95,54,.20), inset 0 1px 1px rgba(255,255,255,.15) !important;
  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}
.agil-whatsapp-cta::after {
  content: "";
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: #fff url('/assets/whatsapp-brand-mark.svg') center / 24px 24px no-repeat;
  box-shadow: 0 2px 6px rgba(0,55,34,.26);
}
.agil-whatsapp-cta:hover:not(:disabled):not([aria-disabled="true"]) {
  background: linear-gradient(115deg,#087254,#149b6a) !important;
  box-shadow: 0 9px 19px rgba(4,95,54,.26) !important;
  transform: translateY(-1px);
}
.agil-whatsapp-cta:focus-visible {
  outline: 2px solid #25d366 !important;
  outline-offset: 3px;
}
.agil-whatsapp-cta:disabled,
.agil-whatsapp-cta[aria-disabled="true"] {
  opacity: .55;
  cursor: not-allowed;
}
.agil-whatsapp-cta svg.lucide-message-circle,
.agil-whatsapp-cta svg.lucide-phone,
.agil-whatsapp-cta svg.lucide-arrow-right,
.agil-whatsapp-cta svg.lucide-shopping-cart {
  display: none;
}
.agil-whatsapp-cta.agil-whatsapp-cta--small {
  min-height: 40px;
  padding: 6px 43px 6px 13px !important;
  font-size: 12px;
}
.agil-whatsapp-cta.agil-whatsapp-cta--small::after {
  width: 30px;
  height: 30px;
  right: 4px;
  background-size: 20px 20px;
}
.agil-whatsapp-mark {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  background: url('/assets/whatsapp-brand-mark.svg') center / contain no-repeat;
}
@media (prefers-reduced-motion: reduce) {
  .agil-whatsapp-cta { transition: none; }
  .agil-whatsapp-cta:hover { transform: none !important; }
}

/* O header mobile antigo criava outro pictograma via ::before.
 * O CTA compartilhado já fornece o símbolo de marca à direita. */
nav[aria-label="Navegação principal"] #mobile-menu a.agil-whatsapp-cta::before {
  display: none !important;
}
