/* Grupo Clean CTA design system.
   Apply .gc-cta with exactly one semantic variant to interactive CTA buttons only.
   Navigation and brand elements deliberately do not receive CTA presentation. */
:root {
  --gc-cta-green: #16a34a;
  --gc-cta-green-hover: #15803d;
  --gc-cta-blue: #0092d2;
  --gc-cta-blue-hover: #007bb2;
}

/* Shared geometry for every semantic CTA. */
a.gc-cta {
  display: inline-flex;
  min-height: 48px;
  padding: 13px 24px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 28, 46, 0.14);
  transition: transform 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease;
}
a.gc-cta:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(15, 28, 46, 0.2); }
a.gc-cta:focus-visible { outline: 3px solid rgba(0, 146, 210, 0.42); outline-offset: 4px; }

/* Semantic icons are supplied globally when the markup does not already include one. */
a.gc-cta:not(:has(svg))::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

a.gc-cta--orcamento:not(:has(svg))::before,
a.gc-cta--orcamento-header:not(:has(svg))::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.6-6.1c-.3-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8 1-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4 0-.5.1-.7l.4-.5c.1-.2.1-.3 0-.5-.1-.1-.6-1.4-.8-1.9-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s.9 2.5 1.1 2.7c.1.2 1.8 2.8 4.4 3.9 2.2.9 2.6.7 3.1.7.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.2-.2-.5-.3z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 0 0-8.6 15.1L2 22l5-1.3A10 10 0 1 0 12 2zm0 18.2a8.2 8.2 0 0 1-4.2-1.1l-.3-.2-3 .8.8-2.9-.2-.3A8.2 8.2 0 1 1 12 20.2zm4.6-6.1c-.3-.1-1.5-.7-1.7-.8-.2-.1-.4-.1-.6.1-.2.3-.6.8-.8 1-.1.2-.3.2-.5.1a6.7 6.7 0 0 1-3.3-2.9c-.3-.4 0-.5.1-.7l.4-.5c.1-.2.1-.3 0-.5-.1-.1-.6-1.4-.8-1.9-.2-.5-.4-.4-.6-.4h-.5c-.2 0-.5.1-.7.3-.2.3-.9.9-.9 2.2s.9 2.5 1.1 2.7c.1.2 1.8 2.8 4.4 3.9 2.2.9 2.6.7 3.1.7.5-.1 1.5-.6 1.7-1.2.2-.6.2-1.1.2-1.2-.1-.1-.2-.2-.5-.3z'/%3E%3C/svg%3E");
}

a.gc-cta--atendimento:not(:has(svg))::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='black'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.5' fill='black'/%3E%3C/svg%3E");
}

a.gc-cta.gc-cta--orcamento {
  background-color: var(--gc-cta-green) !important;
  color: #ffffff !important;
}

a.gc-cta.gc-cta--orcamento:hover,
a.gc-cta.gc-cta--orcamento:focus-visible {
  background-color: var(--gc-cta-green-hover) !important;
  color: #ffffff !important;
}

a.gc-cta.gc-cta--atendimento,
a.gc-cta.gc-cta--orcamento-header {
  background-color: var(--gc-cta-blue) !important;
  color: #ffffff !important;
}

a.gc-cta.gc-cta--atendimento:hover,
a.gc-cta.gc-cta--atendimento:focus-visible,
a.gc-cta.gc-cta--orcamento-header:hover,
a.gc-cta.gc-cta--orcamento-header:focus-visible {
  background-color: var(--gc-cta-blue-hover) !important;
  color: #ffffff !important;
}

/* O CTA do header é somente desktop. Sem esta regra, a geometria global dos
   CTAs pode sobrescrever a classe `hidden` e empurrar o menu para fora no celular. */
@media (max-width: 1023px) {
  header a.gc-cta.gc-cta--orcamento-header { display: none !important; }
  header #menu-btn { flex: 0 0 44px; margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  a.gc-cta { transition-duration: 0.01ms !important; }
  a.gc-cta:hover { transform: none !important; }
}
