body {
      font-family: 'Inter', sans-serif;
      transition: background-color 0.3s ease, color 0.3s ease;
    }

    /* Modern Abstract Professional Blue Background for Hero */
    .hero-bg {
      background: linear-gradient(135deg, #021526 0%, #03254c 40%, #0056a7 70%, #1863dc 100%);
      position: relative;
      overflow: hidden;
    }

    /* Abstract Tech Overlay Effects */
    .hero-bg::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -20%;
      width: 700px;
      height: 700px;
      background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    .hero-bg::after {
      content: '';
      position: absolute;
      bottom: -30%;
      left: -10%;
      width: 600px;
      height: 600px;
      background: radial-gradient(circle, rgba(24, 99, 220, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
      border-radius: 50%;
      pointer-events: none;
    }

    /* Subtle grid pattern for corporate tech feel */
    .bg-grid-pattern {
      background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
      background-size: 24px 24px;
    }

/* Transição discreta das frases de destaque. */
.rotating-phrase {
  display: inline-block;
  min-height: 1.25em;
  color: #bae6fd;
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
  will-change: opacity, transform;
}
.rotating-phrase.is-leaving {
  opacity: 0;
  transform: translateY(.35em);
  filter: blur(3px);
}
.dark #theme-toggle-sun-icon { display: block !important; }
.dark #theme-toggle-moon-icon { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  .rotating-phrase { transition: none; }
  .hero-bg::before, .hero-bg::after { animation: none !important; }
}



/* Rodapé: marca, links e contato em colunas com faixa inferior de copyright. */
.site-footer { color: #fff; }
.site-footer__main {
  min-height: 285px;
  padding: 52px 24px 48px;
  background: #3e5de2;
}
.site-footer__inner {
  width: min(100%, 1440px);
  min-height: 185px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(430px, 1.25fr) minmax(300px, 1.1fr);
  align-items: start;
  gap: 42px;
}
.site-footer__brand {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.075em;
  white-space: nowrap;
}
.site-footer__brand-e {
  display: inline-block;
  margin: 0 .015em;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.09em;
}
.site-footer__heading {
  margin: 0 0 20px;
  color: #fff;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 700;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: rgba(255,255,255,.92);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease;
}
.site-footer__links a span {
  color: #183778;
  font-size: 25px;
  line-height: .8;
  font-weight: 800;
}
.site-footer__links a:hover {
  color: #fff;
  transform: translateX(2px);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: rgba(255,255,255,.96);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}
.site-footer__email:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__email svg { width: 25px; height: 25px; flex: 0 0 25px; fill: #183778; }
.site-footer__bottom {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px 24px;
  background: #203878;
  text-align: center;
}
.site-footer__bottom p { margin: 0; color: rgba(255,255,255,.94); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) {
  .site-footer__inner { grid-template-columns: minmax(190px, .8fr) minmax(320px, 1.2fr); gap: 34px; }
  .site-footer__contact { grid-column: 2; }
  .site-footer__main { min-height: 0; }
}
@media (max-width: 640px) {
  .site-footer__main { padding: 38px 22px 42px; }
  .site-footer__inner { grid-template-columns: 1fr; min-height: 0; gap: 30px; }
  .site-footer__brand { font-size: 54px; }
  .site-footer__contact { grid-column: auto; }
  .site-footer__heading { margin-bottom: 13px; font-size: 19px; }
  .site-footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 8px; }
  .site-footer__links a { font-size: 14px; gap: 7px; }
  .site-footer__links li:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { min-height: 78px; padding: 18px 16px; }
  .site-footer__bottom p { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__links a, .site-footer__email { transition: none; }
}
