/* Ações principais: amarelo, texto escuro, formato arredondado e seta horizontal.
   Ações secundárias mantêm a mesma forma com contorno dourado. */
.action-button,
.site-footer .action-button,
.menu-aside .action-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: fit-content;
  max-width: 100%;
  min-height: 56px;
  padding: 15px 24px;
  border: 1px solid #ffcc28;
  border-radius: 999px;
  background: #ffcc28;
  color: #171100;
  font-family: Poppins, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.action-button::before {
  order: 2;
  display: block;
  flex: none;
  width: var(--action-icon-size, 21px);
  height: var(--action-icon-size, 21px);
  background-color: currentColor;
  -webkit-mask: url('/assets/images/action-arrow-right.svg') center / contain no-repeat;
  mask: url('/assets/images/action-arrow-right.svg') center / contain no-repeat;
  content: '';
  transition: transform 180ms ease;
}

.action-button > [aria-hidden='true'] {
  display: none;
}

.action-button:hover,
.site-footer .action-button:hover,
.menu-aside .action-button:hover {
  border-color: #ffdf78;
  background: #ffdf78;
  color: #171100;
}

.action-button:hover::before {
  transform: translateX(3px);
}

.action-button:active {
  transform: translateY(1px);
}

.action-button:focus-visible {
  outline: 2px solid #ffe7a0;
  outline-offset: 5px;
}

.action-button.action-button--secondary {
  border-color: #9d823e;
  background: #080808;
  color: #ffdc69;
}

.action-button.action-button--secondary:hover {
  border-color: #ffcc28;
  background: #211c0c;
  color: #ffdc69;
}

.action-button--back::before {
  order: -1;
  transform: rotate(180deg);
}

.action-button--back:hover::before {
  transform: translateX(-3px) rotate(180deg);
}

.action-button.action-button--compact,
.header-partner.action-button {
  --action-icon-size: 18px;
  gap: 12px;
  min-height: 44px;
  padding: 11px 18px;
  font-size: 12px;
}

.assistant-answer-actions .action-button {
  --action-icon-size: 16px;
  gap: 9px;
  min-height: 38px;
  padding: 8px 12px;
  font-size: 11px;
}

.assistant-answer-row .action-button,
.assistant-whatsapp-handoff.action-button,
.whatsapp-contact-submit.action-button {
  font-size: 12px;
}

.whatsapp-contact-submit.action-button {
  width: 100%;
}

.platform-demo-button.action-button {
  font-size: 13px;
}

.hero-actions {
  margin-top: 27px;
  padding-bottom: 8px;
}

.action-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin: 66px 5% 0;
  text-align: center;
}

.action-section > p {
  max-width: 660px;
  margin: 0;
  color: #e4d9b6;
  font-size: clamp(20px, 2.2vw, 29px);
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.035em;
}

.assistant-choice,
.partner-form .choice-surface,
.whatsapp-contact-options span {
  border-radius: 999px;
  border-color: #9d823e;
}

.assistant-choice.is-selected,
.assistant-choice:hover,
.partner-form .choice input:checked + .choice-surface,
.whatsapp-contact-options input:checked + span {
  border-color: #ffcc28;
  background: #ffcc28;
  color: #171100;
}

.partner-form .choice input:checked + .choice-surface :is(small, .choice-check) {
  color: #443100;
}

.menu-close,
.header-menu-toggle,
.video-modal-close,
.assistant-chat-close,
.whatsapp-contact-close,
.assistant-teaser-close {
  border-color: #ffcc28;
  border-radius: 999px;
  background: #ffcc28;
  color: #171100;
}

.header-menu-toggle .menu-toggle-icon,
.menu-close .menu-toggle-icon {
  border-color: #ffcc28;
  background: #ffcc28;
  color: #171100;
}

.header-menu-toggle:hover,
.menu-close:hover,
.video-modal-close:hover,
.assistant-chat-close:hover,
.whatsapp-contact-close:hover,
.assistant-teaser-close:hover {
  border-color: #ffdf78;
  background: #ffdf78;
  color: #171100;
}

.carousel-arrow,
.platform-resource-arrow {
  position: relative;
  border-color: #ffcc28;
  border-radius: 999px;
  background: #ffcc28;
  color: #171100;
  font-size: 0;
}

.carousel-arrow::before,
.platform-resource-arrow::before {
  position: absolute;
  inset: 0;
  display: block;
  width: 21px;
  height: 21px;
  margin: auto;
  background: currentColor;
  -webkit-mask: url('/assets/images/action-arrow-right.svg') center / contain no-repeat;
  mask: url('/assets/images/action-arrow-right.svg') center / contain no-repeat;
  content: '';
}

.carousel-previous::before,
[data-resource-previous]::before {
  transform: rotate(180deg);
}

.carousel-arrow:hover:not(:disabled),
.platform-resource-arrow:hover:not(:disabled) {
  border-color: #ffdf78;
  background: #ffdf78;
  color: #171100;
}

.play-triangle {
  border-color: #ffcc28;
  background: #ffcc28;
}

.play-triangle::after {
  border-left-color: #171100;
}

.video-play:hover .play-triangle {
  background: #ffdf78;
}

.whatsapp-button {
  padding: 0;
  border-color: #39df78;
  background: #16a34a;
  color: #fff;
}

.whatsapp-button:hover {
  border-color: #59e68d;
  background: #12843e;
}

.whatsapp-button > img {
  filter: brightness(0) invert(1);
}

.assistant-launcher {
  border-color: #ffcc28;
}

.video-modal-option {
  border-color: #9d823e;
  border-radius: 999px;
  background: #080808;
  color: #ffdc69;
}

.video-modal-option:hover {
  border-color: #ffcc28;
  background: #211c0c;
}

.site-footer .footer-social-links a {
  border-color: #9d823e;
  color: #ffdc69;
}

@media (max-width: 767px) {
  .action-button,
  .site-footer .action-button,
  .menu-aside .action-button {
    --action-icon-size: 19px;
    gap: 14px;
    min-height: 52px;
    padding: 13px 18px;
    font-size: 12px;
  }

  .header-partner.action-button {
    display: none;
  }

  .hero-actions {
    margin-top: 23px;
  }

  .action-section {
    gap: 20px;
    margin-top: 43px;
  }

  .action-section > p {
    max-width: 30ch;
    font-size: 21px;
  }

  .platform-demo-button.action-button {
    font-size: 12px;
  }

  .assistant-answer-row .action-button,
  .assistant-whatsapp-handoff.action-button {
    width: 100%;
  }
}

@media (max-width: 374px) {
  .platform-demo-button.action-button {
    --action-icon-size: 16px;
    gap: 8px;
    padding-inline: 10px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .action-button,
  .action-button::before {
    transition: none;
  }
}
