/* DAYSLUME / ações e links · sistema compartilhado
   Arquivo carregado por último na home e nas 12 páginas internas.
   Links de navegação, referências editoriais e ícones sociais preservam seu papel próprio. */
:root {
  --action-radius: 999px;
  --action-ink: var(--ink-deep);
  --action-pale: rgba(169, 197, 216, .22);
  --action-border: rgba(102, 117, 143, .56);
  --action-focus: var(--plum-mineral);
  --action-ease: cubic-bezier(.22, 1, .36, 1);
}
body .section a.migration-link {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  width: fit-content;
  max-width: 100%;
  min-height: 48px;
  margin: 8px 10px 4px 0;
  padding: 11px 20px;
  border: 1px solid var(--action-border);
  border-radius: var(--action-radius);
  background: var(--action-pale);
  color: var(--action-ink);
  font: 700 14px/1.45 "DM Sans", sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  text-wrap: pretty;
  overflow-wrap: anywhere;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--action-ease);
}
body .section a.migration-link:hover {
  color: #fff;
  background: #283b54;
  border-color: #283b54;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(34, 40, 60, .14);
  transform: translateY(-2px);
}
body .section a.migration-link:active {
  transform: translateY(0);
  box-shadow: none;
}
body .section-heading a.migration-link,
body .split-heading a.migration-link {
  margin-top: 12px;
}
body .fine-note a.migration-link {
  font-size: 13px;
  margin-top: 12px;
  min-height: 44px;
}
body .migrated-blog-grid article a.migration-link {
  align-self: flex-start;
  margin-top: auto;
  padding: 11px 19px;
}
body .contact-section .contact-note {
  background: transparent;
  border: 0;
  padding: 0;
}
body .contact-section .contact-note a.migration-link {
  margin: 0;
}
body .intro-section .service-card a.migration-link {
  margin: auto 0 0;
  align-self: flex-start;
}
body .intro-section .service-card a.service-arrow {
  position: relative;
  z-index: 1;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
}
body .intro-section .service-card a.service-arrow:hover {
  color: #fff;
  background: #283b54;
  border-color: #283b54;
}
/* Cards de soluções: o título continua clicável e a seta é uma segunda
   âncora real. A área estendida do título não bloqueia a seta. */
body .solutions-section .solution-card .solution-top {
  position: relative;
  z-index: 5;
}
body .solutions-section .solution-card .solution-top a.solution-arrow {
  position: relative;
  z-index: 6;
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid rgba(83, 116, 149, .56);
  border-radius: 50%;
  color: #2c4967;
  background: rgba(255, 255, 255, .68);
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s var(--action-ease);
}
body .solutions-section .solution-card .solution-top a.solution-arrow:hover {
  color: #fff;
  background: #283b54;
  transform: translate(2px, -2px);
}
body .solutions-section .solution-engreni .solution-top a.solution-arrow {
  color: #f6f8fb;
  background: rgba(255, 255, 255, .055);
  border-color: rgba(205, 224, 241, .48);
}
body .solutions-section .solution-engreni .solution-top a.solution-arrow:hover {
  color: #283b54;
  background: #e9f4fd;
}
body .solutions-section .solution-card:hover .solution-top a.solution-arrow,
body .solutions-section .solution-card:focus-within .solution-top a.solution-arrow {
  transform: translate(2px, -2px);
}
body .solutions-section .solution-card .solution-copy h3 a {
  text-decoration: none;
}
/* Portfólio: a seta e o título passam a abrir o mesmo destino da imagem. */
body .work-section .project-description a.project-arrow {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  border: 1px solid var(--action-border);
  border-radius: 50%;
  color: #284461;
  background: var(--action-pale);
  font-size: 21px;
  line-height: 1;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease, transform .25s var(--action-ease);
}
body .work-section .project-card:hover a.project-arrow,
body .work-section .project-description a.project-arrow:hover {
  background: #283b54;
  color: #fff;
  border-color: #283b54;
}
body .work-section .project-description a.project-arrow:hover {
  transform: translate(2px, -2px);
}
body .work-section .project-description h3 a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 5px;
}
body .work-section .project-description h3 a:hover {
  text-decoration: underline;
}
/* Páginas internas: botões de ação seguem geometria e área de toque comuns,
   mas mantêm variantes clara, escura e contornada já definidas. */
body .section a.btn,
body .hero a.btn,
body .band a.btn,
body .contact-form a.btn,
body .contact-form button.btn {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  max-width: 100%;
  padding: 12px 21px;
  border-radius: var(--action-radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s var(--action-ease);
}
body .section a.btn:hover,
body .hero a.btn:hover,
body .band a.btn:hover,
body .contact-form a.btn:hover,
body .contact-form button.btn:not(:disabled):hover {
  transform: translateY(-2px);
}
body .section a.btn:active,
body .hero a.btn:active,
body .band a.btn:active,
body .contact-form a.btn:active {
  transform: translateY(0);
}
/* Três famílias de seta, uma única cadência: circular, botão e link inline. */
body .section a.migration-link > span,
body .section a.contents-all-link > span,
body .section a.btn > span,
body .hero a.btn > span,
body .hero a.text-link > span,
body .section a.projects-portfolio-cta > span {
  display: inline-block;
  margin-left: 2px;
  font-size: 1.08em;
  line-height: 1;
  transition: transform .28s var(--action-ease);
}
body .section a.migration-link:hover > span,
body .section a.contents-all-link:hover > span,
body .section a.btn:hover > span,
body .hero a.btn:hover > span,
body .hero a.text-link:hover > span,
body .section a.projects-portfolio-cta:hover > span {
  transform: translate(3px, -3px);
}
/* Cabeçalhos e rodapés seguem como navegação, não como grupos de CTAs. */
body .header a.nav-cta,
body .site-header a.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: var(--action-radius);
}
body .days-filterbar button.days-filter,
body .work-section button.days-filter {
  min-height: 44px;
  border-radius: var(--action-radius);
  font: 600 14px/1.4 "DM Sans", sans-serif;
}
body .section a.migration-link:focus-visible,
body .intro-section a.service-arrow:focus-visible,
body .solutions-section a.solution-arrow:focus-visible,
body .work-section a.project-arrow:focus-visible,
body .work-section .project-description h3 a:focus-visible,
body .hero a.btn:focus-visible,
body .section a.btn:focus-visible,
body .band a.btn:focus-visible,
body .header a.nav-cta:focus-visible,
body .site-header a.nav-cta:focus-visible {
  outline: 3px solid var(--action-focus);
  outline-offset: 4px;
}
body .solutions-section .solution-engreni a.solution-arrow:focus-visible,
body .hero a.btn:focus-visible {
  outline-color: #f2c8af;
}
@media (max-width: 800px) {
  body .section a.migration-link {
    padding: 12px 18px;
    min-height: 48px;
  }
  body .section-heading a.migration-link,
  body .split-heading a.migration-link {
    margin-top: 14px;
  }
  body .work-section .project-description a.project-arrow,
  body .solutions-section .solution-card .solution-top a.solution-arrow {
    min-width: 48px;
    min-height: 48px;
  }
}
@media (max-width: 400px) {
  body .intro-section .service-card a.migration-link {
    width: 100%;
  }
  body .section a.btn,
  body .hero a.btn,
  body .band a.btn {
    white-space: normal;
  }
}
@media (prefers-reduced-motion: reduce) {
  body .section a.migration-link,
  body .solutions-section .solution-card .solution-top a.solution-arrow,
  body .work-section .project-description a.project-arrow,
  body .section a.btn,
  body .hero a.btn,
  body .band a.btn,
  body .section a.migration-link > span,
  body .section a.contents-all-link > span,
  body .section a.btn > span,
  body .hero a.btn > span,
  body .hero a.text-link > span,
  body .section a.projects-portfolio-cta > span {
    transition: none !important;
    transform: none !important;
  }
}
