:root {
  color-scheme: dark;
  --bg: #030d18;
  --bg-soft: #071525;
  --surface: rgba(10, 24, 39, 0.76);
  --surface-strong: rgba(8, 22, 36, 0.9);
  --surface-muted: rgba(13, 30, 49, 0.82);
  --line: rgba(146, 198, 255, 0.12);
  --line-strong: rgba(178, 220, 255, 0.22);
  --accent-line: rgba(92, 176, 255, 0.34);
  --accent-glow: rgba(40, 120, 255, 0.28);
  --text: #f2fbff;
  --muted: #9ab2cf;
  --muted-strong: #d8e9ff;
  --accent: #184cff;
  --accent-strong: #59abff;
  --accent-soft: #84d6ff;
  --accent-deep: #0d2a5f;
  --accent-cyan: #98f0ff;
  --metal: #d4e5ff;
  --steel: #6f86a4;
  --shadow-soft: 0 22px 56px rgba(0, 8, 20, 0.34);
  --shadow-strong: 0 34px 96px rgba(0, 12, 28, 0.48);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1220px;
  --mouse-x: 50%;
  --mouse-y: 50%;
  --mouse-trail-x: 50%;
  --mouse-trail-y: 50%;
  --ambient-opacity: 0.78;
  --success: #87e6ff;
  --warning: #ffd88a;
  --danger: #8aa8ff;
  --card-pointer-x: 50%;
  --card-pointer-y: 50%;
  --card-tilt-x: 0deg;
  --card-tilt-y: 0deg;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
  /* === Corporate Premium Antracite Background ===
     Fundo sólido profundo #050e17 + malha de grid de precisão sutil
     Impressão: mesa de trabalho digital limpa de software corporativo caro */
  background-color: #050e17;
  background-image:
    /* Grid de precisão horizontal */
    linear-gradient(rgba(92, 150, 220, 0.04) 1px, transparent 1px),
    /* Grid de precisão vertical */
    linear-gradient(90deg, rgba(92, 150, 220, 0.04) 1px, transparent 1px),
    /* Vinheta de profundidade: degradê radial central sutil */
    radial-gradient(ellipse at 62% 0%, rgba(18, 64, 140, 0.18) 0%, transparent 56%),
    radial-gradient(ellipse at 0% 100%, rgba(10, 40, 90, 0.14) 0%, transparent 48%);
  background-size: 72px 72px, 72px 72px, 100% 100%, 100% 100%;
}

/* body::before e ::after removidos: substituem o blur flutuante por
   vinheta estática inline no background acima — zero repaint contínuo */
body::before,
body::after {
  content: none;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid rgba(70, 180, 231, 0.72);
  outline-offset: 3px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  isolation: isolate;
}

.ambient-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb,
.ambient-grid {
  position: absolute;
  inset: 0;
}

.ambient-orb {
  opacity: 0.55;
  filter: blur(80px);
  transition: opacity 260ms ease;
}

.ambient-orb-primary {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(55, 138, 255, 0.18) 0%, rgba(55, 138, 255, 0.06) 24%, transparent 46%);
}

.ambient-orb-secondary {
  background:
    radial-gradient(circle at var(--mouse-trail-x) var(--mouse-trail-y), rgba(116, 236, 255, 0.12) 0%, rgba(116, 236, 255, 0.05) 18%, transparent 34%);
}

.ambient-grid {
  background-image:
    linear-gradient(rgba(127, 193, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(127, 193, 255, 0.04) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.64), transparent 96%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(22px);
  background: rgba(4, 14, 24, 0.72);
  border-bottom: 1px solid rgba(146, 198, 255, 0.08);
}

.nav {
  width: min(calc(100% - 2rem), var(--max-width));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  transition: transform 220ms ease, filter 220ms ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.05);
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 70px;
  height: 70px;

  position: relative;

  overflow: visible;
  border-radius: 0;

  background: transparent;
  border: none;
  box-shadow: none;

  transition: transform 220ms ease;
}

.admin-avatar-img {
  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;

  display: block;
}

.admin-avatar-fallback {
  font-family: "Sora", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-text {
  display: grid;
}

.brand-text strong {
  font-family: "Sora", sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  position: relative;
  color: var(--muted);
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 205, 255, 0.94), transparent);
  transform: scaleX(0.2);
  opacity: 0;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
  transform: translateY(-1px);
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 0.28rem;
  padding: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
}

.section {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 5.8rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms ease, transform 420ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.interactive-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015)),
    var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  transition:
    transform 260ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 260ms ease,
    border-color 260ms ease,
    background-color 260ms ease,
    filter 260ms ease;
}

.interactive-card > * {
  position: relative;
  z-index: 1;
}

.interactive-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y);
  left: var(--mouse-x);
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.55);
  background:
    radial-gradient(circle, rgba(92, 175, 255, 0.42) 0%, rgba(40, 120, 255, 0.2) 26%, rgba(94, 231, 255, 0.08) 52%, transparent 74%);
  filter: blur(14px);
  transition:
    transform 620ms cubic-bezier(0.18, 0.88, 0.32, 1),
    opacity 280ms ease,
    filter 280ms ease;
  z-index: 0;
}

.interactive-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.1rem;
  right: 1.1rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(113, 205, 255, 0.78), transparent);
  opacity: 0.72;
  transition: opacity 260ms ease, transform 260ms ease;
  z-index: 1;
}

.interactive-card:hover,
.interactive-card:focus-within {
  transform: translateY(-7px);
  box-shadow: var(--shadow-strong);
  border-color: var(--accent-line);
  filter: brightness(1.05);
}

.interactive-card:hover::before,
.interactive-card:focus-within::before {
  opacity: 0.94;
  transform: translate(-50%, -50%) scale(2.8);
  filter: blur(20px);
}

.interactive-card:hover::after,
.interactive-card:focus-within::after {
  opacity: 1;
  transform: scaleX(1.03);
}

.hero {
  position: relative;
  display: grid;
  /* Duas colunas corporativas: texto à esquerda, painel à direita */
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 2.4rem;
  padding-top: 4.6rem;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
  /* Degradê direcional estático — sem depender de --mouse-x / --mouse-y para não poluir GPU */
  background:
    radial-gradient(ellipse at 72% 18%, rgba(18, 68, 180, 0.14) 0%, transparent 48%),
    radial-gradient(ellipse at 8% 80%, rgba(8, 38, 100, 0.1) 0%, transparent 40%);
  opacity: 1;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* === Hero Background Layer: apenas orbs estáticos, sem SVG pesado === */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Hero orbs: muito mais suaves, sem animação de loop pesada */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-orb-a {
  width: 480px;
  height: 480px;
  top: -140px;
  right: -60px;
  background: radial-gradient(circle, rgba(18, 60, 160, 0.18) 0%, rgba(18, 60, 160, 0.04) 50%, transparent 72%);
  filter: blur(64px);
}

.hero-orb-b {
  width: 340px;
  height: 340px;
  bottom: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(8, 40, 100, 0.14) 0%, transparent 72%);
  filter: blur(56px);
}

/* === Hero layout aliases para as novas classes semânticas === */
.hero-text-side {
  /* usa a mesma grade que hero-copy */
}

.hero-form-side {
  /* usa a mesma grade que hero-panel */
}

/* === Hero Content Wrapper: vidro fosco corporativo === */
.hero-content-wrapper {
  position: relative;
  padding: 2.4rem 2.6rem;
  border-radius: var(--radius-lg);
  background: rgba(5, 14, 26, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(72, 130, 210, 0.14);
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 8px 40px rgba(0, 6, 18, 0.44);
  margin-bottom: 1.6rem;
}

.hero-content-wrapper .eyebrow {
  color: var(--accent-soft);
  letter-spacing: 0.28em;
}

.hero-content-wrapper .hero-title-main {
  font-weight: 800;
  background: linear-gradient(110deg, #f0f8ff 0%, #d6ecff 42%, #8ec8f8 72%, #5888e8 100%);
  -webkit-background-clip: text;
  color: transparent;
  filter: none;
  text-shadow: none;
}

.hero-content-wrapper .hero-title-tail {
  color: #a8c4e0;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero-content-wrapper .hero-text {
  color: #7a9ab8;
  line-height: 1.78;
}

.hero-copy {
  max-width: 740px;
}

.eyebrow,
.footer-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--accent-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-title,
.section-heading h2,
.panel-card h2,
.contact-card h2,
.footer-card h2,
.modal-panel h2 {
  margin: 0;
  font-family: "Sora", sans-serif;
  line-height: 0.96;
}

.hero-title {
  display: grid;
  gap: 0.9rem;
}

.hero-title-main {
  display: block;
  max-width: 16.5ch;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  /* PASSO C: Font-weight aumentado para imponência corporativa */
  font-weight: 800;
  letter-spacing: 0.02em;
  text-wrap: balance;
  background: linear-gradient(110deg, #f0f8ff 0%, #d6ecff 42%, #8ec8f8 72%, #5888e8 100%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: none;
}

.hero-title-tail {
  display: block;
  max-width: 28ch;
  color: #a8c4e0;
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.38;
}

.hero-text,
.section-heading p,
.panel-card p,
.contact-card p,
.footer-card p,
.modal-intro,
.admin-empty,
.order-description {
  color: var(--muted);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin: 2.15rem 0;
}

.btn,
.service-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.btn:hover,
.btn:focus-visible,
.service-action:hover,
.service-action:focus-visible,
.modal-close:hover,
.modal-close:focus-visible,
.contact-link:hover,
.contact-link:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible,
.order-action:hover,
.order-action:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.btn-primary,
.service-action {
  background:
    linear-gradient(145deg, var(--accent-strong), var(--accent)),
    rgba(255, 255, 255, 0.02);
  color: #fff;
  border-color: rgba(177, 221, 255, 0.14);
  box-shadow: 0 18px 38px rgba(25, 88, 196, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible,
.service-action:hover,
.service-action:focus-visible {
  background: linear-gradient(145deg, #5cd0ff, #1f48de);
  box-shadow: 0 24px 48px rgba(30, 82, 212, 0.34);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent-line);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 32px rgba(6, 20, 48, 0.24);
}

.hero-metrics,
.panel-grid,
.footer-links-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.metric-card {
  padding: 1.2rem;
  border-radius: var(--radius-md);
}

.metric-card strong,
.admin-stat strong {
  display: block;
  font-family: "Sora", sans-serif;
  font-size: 1.72rem;
  font-weight: 700;
}

.metric-card span,
.panel-grid span,
.admin-stat span {
  color: var(--muted);
}

.hero-panel {
  display: grid;
}

.panel-card,
.service-card,
.portfolio-card,
.contact-card,
.admin-stat,
.footer-card,
.order-card {
  border-radius: var(--radius-lg);
}

.panel-card {
  padding: 2rem;
  background:
    radial-gradient(circle at top right, rgba(75, 138, 255, 0.18), transparent 28%),
    linear-gradient(180deg, transparent, rgba(91, 233, 255, 0.03)),
    linear-gradient(145deg, rgba(24, 76, 255, 0.08), transparent 55%),
    rgba(8, 21, 34, 0.92);
}

.panel-chip,
.portfolio-tag,
.order-status {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(123, 198, 255, 0);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.panel-chip,
.portfolio-tag {
  color: var(--metal);
}

.panel-card h2,
.section-heading h2,
.contact-card h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.panel-grid article {
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.panel-grid strong,
.service-card h3,
.portfolio-card h3,
.footer-card h2,
.order-card h3 {
  display: block;
  font-family: "Sora", sans-serif;
  font-weight: 600;
}

.service-grid,
.portfolio-grid {
  display: grid;
  gap: 1.15rem;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.portfolio-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.filter-button {
  min-height: 44px;
  padding: 0.8rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.filter-button:hover,
.filter-button:focus-visible,
.filter-button.active-filter {
  color: #fff;
  border-color: rgba(92, 176, 255, 0.34);
  background:
    linear-gradient(145deg, rgba(49, 118, 255, 0.22), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  box-shadow: 0 18px 34px rgba(28, 97, 212, 0.2);
  transform: translateY(-2px);
}

.service-card,
.portfolio-card,
.contact-card,
.footer-card {
  padding: 1.55rem;
}

/* === PASSO B: Cards de Serviço — Design Corporativo Real ===
   Hover com elevação + contraste azul oceano/aço escovado; sem neon exagerado */
.service-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
  gap: 0.15rem;
  transform-style: preserve-3d;
  will-change: transform, box-shadow;
  outline: none;
  /* Borda superior de acento corporativo por tipo */
  border-top: 2px solid var(--service-accent, rgba(72, 130, 210, 0.28));
  /* Superfície mais opaca — aspecto de software corporativo sólido */
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(6, 16, 30, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hover refinado: elevação leve + sombra de profundidade + borda mais visível */
.service-card:hover,
.service-card:focus-visible,
.service-card:focus-within {
  transform:
    perspective(1200px)
    translateY(-8px)
    rotateX(var(--card-tilt-x))
    rotateY(var(--card-tilt-y))
    scale(1.008);
  box-shadow:
    0 20px 48px rgba(0, 6, 20, 0.52),
    0 4px 0 rgba(72, 130, 210, 0.18) inset;
  border-top-color: var(--service-accent);
  background:
    linear-gradient(180deg, rgba(72, 130, 210, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(6, 18, 32, 0.94);
}

.service-card:focus-visible {
  box-shadow:
    var(--shadow-strong),
    0 0 0 1px rgba(124, 211, 255, 0.32);
}

.service-index {
  color: var(--steel);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.service-card h3,
.portfolio-card h3 {
  margin: 1rem 0 0.72rem;
  font-size: 1.5rem;
  line-height: 1.15;
}

.service-card p,
.portfolio-card p {
  color: var(--muted);
  line-height: 1.68;
}

.service-visual {
  position: relative;
  min-height: 128px;
  margin: 0.3rem 0 1.15rem;
  border-radius: 22px;
  border: 1px solid rgba(122, 196, 255, 0.14);
  background:
    radial-gradient(circle at var(--card-pointer-x) var(--card-pointer-y), rgba(88, 182, 255, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015)),
    rgba(8, 19, 34, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.service-visual::before,
.service-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.service-visual::before {
  background:
    linear-gradient(120deg, transparent 0%, rgba(157, 226, 255, 0.08) 48%, transparent 76%);
  transform: translateX(-64%);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-visual::after {
  background:
    linear-gradient(rgba(116, 175, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 175, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.82), transparent 100%);
  opacity: 0.58;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual::before {
  transform: translateX(64%);
}

.service-visual-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.service-visual-svg * {
  transform-origin: center;
  transition:
    transform 360ms ease,
    opacity 320ms ease,
    stroke 320ms ease,
    fill 320ms ease,
    filter 320ms ease;
}

.service-visual-svg .visual-frame,
.service-visual-svg .visual-panel,
.service-visual-svg .visual-step,
.service-visual-svg .visual-layer,
.service-visual-svg .visual-database-top,
.service-visual-svg .visual-lens {
  fill: rgba(14, 33, 54, 0.56);
  stroke: rgba(132, 204, 255, 0.78);
  stroke-width: 1.6;
}

.service-visual-svg .visual-database-body,
.service-visual-svg .visual-grid,
.service-visual-svg .visual-bar,
.service-visual-svg .visual-link,
.service-visual-svg .visual-flow,
.service-visual-svg .visual-arrow,
.service-visual-svg .visual-chart-line,
.service-visual-svg .visual-growth,
.service-visual-svg .visual-radar,
.service-visual-svg .visual-scan,
.service-visual-svg .visual-loader,
.service-visual-svg .visual-draw,
.service-visual-svg .visual-focus,
.service-visual-svg .visual-gradient-flow,
.service-visual-svg .visual-neural-links,
.service-visual-svg .visual-wave,
.service-visual-svg .visual-signal,
.service-visual-svg .visual-code {
  fill: none;
  stroke: rgba(151, 233, 255, 0.8);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-visual-svg .visual-node,
.service-visual-svg .visual-node-large,
.service-visual-svg .visual-radar-core,
.service-visual-svg .visual-lens-core {
  fill: rgba(152, 240, 255, 0.95);
  filter: drop-shadow(0 0 10px rgba(106, 220, 255, 0.34));
}

.service-visual-svg .visual-node-large {
  fill: rgba(115, 188, 255, 0.98);
}

.service-visual-svg .visual-shape {
  fill: rgba(28, 94, 255, 0.14);
  stroke: rgba(152, 240, 255, 0.8);
  stroke-width: 1.6;
}

.service-visual-svg .layer-back {
  fill: rgba(28, 94, 255, 0.14);
}

.service-visual-svg .layer-mid {
  fill: rgba(63, 166, 255, 0.12);
}

.service-visual-svg .layer-front {
  fill: rgba(127, 234, 255, 0.12);
}

.service-visual-support .visual-radar {
  stroke-dasharray: 8 10;
}

.service-visual-branding .visual-grid,
.service-visual-site .visual-grid {
  stroke-dasharray: 10 10;
}

.service-visual-ai .visual-wave,
.service-visual-site .visual-code,
.service-visual-automation .visual-flow,
.service-visual-photo .visual-scan,
.service-visual-branding .visual-draw {
  stroke-dasharray: 10 10;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-frame,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-panel,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-step,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-layer,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-database-top,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg .visual-lens {
  stroke: rgba(173, 233, 255, 0.92);
  filter: drop-shadow(0 0 18px rgba(71, 157, 255, 0.18));
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-site .visual-grid {
  animation: grid-shift 2.4s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-site .visual-code {
  animation: code-sweep 1.5s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-site .visual-signal {
  animation: signal-pulse 1.6s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-system .visual-link {
  animation: system-link-pulse 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-system .visual-panel {
  animation: panel-float 2s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-system .visual-database-body,
.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-system .visual-database-top {
  animation: database-glow 1.5s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-automation .visual-flow {
  animation: flow-dash 1.5s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-automation .visual-step {
  animation: step-bounce 1.8s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-support .visual-chart-line {
  animation: growth-line 1.8s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-support .visual-scan {
  animation: radar-sweep 1.4s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-support .visual-loader {
  animation: loader-spin 1.4s linear infinite;
  transform-origin: 128px 98px;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-branding .visual-draw {
  animation: line-draw 1.8s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-branding .visual-shape-a {
  animation: logo-rise 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-branding .visual-shape-b {
  animation: logo-pulse 1.9s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-design .layer-back {
  animation: layer-shift-back 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-design .layer-mid {
  animation: layer-shift-mid 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-design .layer-front {
  animation: layer-shift-front 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-design .visual-gradient-flow {
  animation: flow-dash 1.8s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-photo .visual-focus {
  animation: focus-corners 1.5s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-photo .visual-scan {
  animation: photo-scan 1.5s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-photo .visual-lens {
  animation: lens-breathe 1.8s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-ai .visual-neural-links {
  animation: neural-flow 1.4s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-ai .visual-node-large {
  animation: node-pulse 1.7s ease-in-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-ai .visual-wave {
  animation: wave-shift 1.4s linear infinite;
}

.service-action {
  width: 100%;
  margin-top: auto;
}

.portfolio-card {
  min-height: 100%;
  transition:
    opacity 260ms ease,
    transform 260ms ease,
    filter 260ms ease;
}

.portfolio-card.fade-out {
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  filter: blur(6px);
  pointer-events: none;
}

.portfolio-card.is-hidden {
  display: none;
}

.portfolio-card.filter-reveal {
  animation: portfolio-rise 420ms cubic-bezier(0.22, 1, 0.36, 1);
  animation-delay: var(--portfolio-delay, 0ms);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) auto;
  gap: 1.6rem;
  align-items: center;
}

.contact-links,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.contact-link,
.footer-social a {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 20, 35, 0.72);
  color: var(--text);
  box-shadow: 0 16px 30px rgba(19, 96, 191, 0.22);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.contact-link:hover,
.contact-link:focus-visible,
.footer-social a:hover,
.footer-social a:focus-visible {
  color: #fff;
  border-color: var(--accent-line);
  background: rgba(49, 118, 255, 0.14);
  box-shadow: 0 20px 36px rgba(22, 87, 182, 0.24);
}

.contact-link svg,
.footer-social svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.admin-panel {
  padding-top: 1rem;
}

.admin-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.admin-stat {
  padding: 1.45rem;
}

.admin-stat span {
  display: block;
  margin-bottom: 0.45rem;
}

.admin-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.35rem;
}

.admin-charts {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.admin-chart-card {
  padding: 1.45rem;
}

.admin-chart-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.admin-chart-header h3 {
  margin: 0.35rem 0 0;
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
}

.admin-chart-header p,
.chart-center-copy span {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.admin-chart-kicker {
  color: var(--accent-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chart-shell {
  position: relative;
  display: grid;
  place-items: center;
}

.donut-shell {
  min-height: 300px;
}

.chart-donut {
  width: min(100%, 280px);
  height: auto;
}

.chart-center-copy {
  position: absolute;
  display: grid;
  gap: 0.15rem;
  place-items: center;
  text-align: center;
}

.chart-center-copy strong {
  font-family: "Sora", sans-serif;
  font-size: 2rem;
}

.chart-bars,
.chart-categories {
  width: 100%;
  height: auto;
  overflow: visible;
}

.chart-axis {
  stroke: rgba(178, 220, 255, 0.16);
  stroke-width: 1;
}

.chart-grid-line {
  stroke: rgba(178, 220, 255, 0.08);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}

.chart-label {
  fill: var(--muted);
  font-size: 11px;
  font-family: "Manrope", sans-serif;
}

.chart-bar {
  fill: url(#adminBarGradient);
  transform-origin: bottom;
  animation: chart-grow 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-bar-secondary {
  fill: rgba(40, 98, 182, 0.42);
}

.chart-donut-track {
  fill: none;
  stroke: rgba(178, 220, 255, 0.08);
  stroke-width: 18;
}

.chart-donut-segment {
  fill: none;
  stroke-linecap: round;
  stroke-width: 18;
  transform: rotate(-90deg);
  transform-origin: 110px 110px;
  animation: donut-fill 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.chart-donut-segment.is-primary {
  stroke: var(--accent-strong);
}

.chart-donut-segment.is-secondary {
  stroke: rgba(116, 225, 255, 0.9);
}

.chart-dot {
  fill: #dff7ff;
}

@keyframes chart-grow {
  from {
    transform: scaleY(0.08);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes donut-fill {
  from {
    stroke-dashoffset: 264;
  }
}

@keyframes grid-shift {
  to {
    stroke-dashoffset: -40;
  }
}

@keyframes code-sweep {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 0.78;
  }

  50% {
    transform: translate3d(4px, -2px, 0);
    opacity: 1;
  }
}

@keyframes signal-pulse {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }
}

@keyframes system-link-pulse {
  0%,
  100% {
    stroke-dasharray: 0 100;
    opacity: 0.58;
  }

  50% {
    stroke-dasharray: 18 12;
    opacity: 1;
  }
}

@keyframes panel-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

@keyframes database-glow {
  0%,
  100% {
    opacity: 0.72;
  }

  50% {
    opacity: 1;
    filter: drop-shadow(0 0 12px rgba(94, 231, 255, 0.28));
  }
}

@keyframes flow-dash {
  to {
    stroke-dashoffset: -42;
  }
}

@keyframes step-bounce {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

@keyframes growth-line {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.72;
  }

  50% {
    transform: translateY(-2px);
    opacity: 1;
  }
}

@keyframes radar-sweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes loader-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes line-draw {
  to {
    stroke-dashoffset: -32;
  }
}

@keyframes logo-rise {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes logo-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes layer-shift-back {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-4px, -3px, 0);
  }
}

@keyframes layer-shift-mid {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(2px, -5px, 0);
  }
}

@keyframes layer-shift-front {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(4px, -2px, 0);
  }
}

@keyframes focus-corners {
  0%,
  100% {
    opacity: 0.62;
  }

  50% {
    opacity: 1;
  }
}

@keyframes photo-scan {
  0% {
    transform: translateY(-10px);
    opacity: 0.1;
  }

  50% {
    opacity: 0.92;
  }

  100% {
    transform: translateY(12px);
    opacity: 0.1;
  }
}

@keyframes lens-breathe {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@keyframes neural-flow {
  to {
    stroke-dashoffset: -36;
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.16);
  }
}

@keyframes wave-shift {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes portfolio-rise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.order-status-pendente_sync {
  color: #fff1cb;
  border-color: rgba(255, 210, 113, 0.24);
  background: rgba(255, 210, 113, 0.12);
}

.order-status-erro_sync {
  color: #dfe8ff;
  border-color: rgba(120, 164, 255, 0.26);
  background: rgba(92, 132, 255, 0.12);
}

.order-card {
  padding: 1.3rem;
  background:
    linear-gradient(180deg, rgba(52, 131, 255, 0.08), rgba(63, 129, 190, 0.015)),
    var(--surface-strong);
}

.order-card.is-completed {
  border-color: rgba(117, 210, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(111, 236, 255, 0.06), rgba(45, 68, 201, 0.01)),
    rgba(10, 22, 36, 0.86);
}

.order-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.95rem;
}

.order-header-main {
  min-width: 0;
}

.order-header-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 0.55rem;
}

.order-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.order-card time,
.order-meta span {
  color: var(--muted);
  font-size: 0.92rem;
}

.order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
  margin: 0 0 0.9rem;
}

.order-status-new {
  color: #fff;
  border-color: rgba(104, 176, 255, 0.26);
  background: rgba(34, 110, 255, 0.18);
}

.order-status-concluido {
  color: var(--muted-strong);
  border-color: rgba(120, 230, 255, 0.18);
  background: rgba(120, 230, 255, 0.08);
}

.order-status-cancelado {
  color: var(--steel);
  border-color: rgba(132, 133, 138, 0.2);
  background: rgba(132, 133, 138, 0.08);
}

.order-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.order-action {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(73, 143, 255, 0.05);
  color: var(--text);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease,
    color 220ms ease;
}

.order-action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.order-action:hover,
.order-action:focus-visible {
  border-color: var(--accent-line);
  background: rgba(40, 98, 182, 0.14);
  box-shadow: 0 16px 32px rgba(11, 53, 126, 0.2);
}

.order-action-complete:hover,
.order-action-complete:focus-visible {
  border-color: rgba(111, 236, 255, 0.26);
  background: rgba(111, 236, 255, 0.1);
  color: var(--muted-strong);
}

.order-action-delete:hover,
.order-action-delete:focus-visible {
  background: rgba(21, 65, 145, 0.14);
  color: #fff;
}

.order-action:disabled,
.order-action.is-disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

.site-footer {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 0 0 2.6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.95fr 1fr;
  gap: 1rem;
}

.footer-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.5rem;
  line-height: 1.25;
}

.footer-links-list {
  display: grid;
  gap: 0.7rem;
}

.footer-links-list a {
  color: var(--muted);
  font-weight: 600;
  transition: color 220ms ease, transform 220ms ease;
}

.footer-links-list a:hover,
.footer-links-list a:focus-visible {
  color: var(--text);
  transform: translateX(3px);
}

.footer-note {
  margin-top: 1rem;
}

.payment-methods {
  display: grid;
  gap: 0.75rem;
}

.payment-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
}

.payment-method svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: var(--accent-soft);
}

.payment-method span {
  color: var(--muted-strong);
  font-weight: 700;
}

.payment-flags {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.flag-chip {
  min-height: 74px;
  padding: 0.8rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(41, 120, 199, 0.06);
  display: grid;
  place-items: center;
}

.payment-flag {
  display: block;
  width: min(100%, 160px);
  height: auto;
  max-height: 44px;
  object-fit: contain;
}

.visa-flag text,
.mastercard-flag text,
.elo-flag text {
  dominant-baseline: middle;
}

.footer-editable {
  min-height: 150px;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px dashed rgba(82, 164, 255, 0.24);
  background: rgba(255, 255, 255, 0.025);
  color: var(--muted);
  line-height: 1.7;
}

.footer-editable:focus {
  outline: none;
  border-color: rgba(104, 176, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(50, 169, 190, 0.12);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-top: 1.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(104, 176, 255, 0.08);
  color: var(--muted);
  font-size: 0.92rem;
}

.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 40;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 30, 0.76);
}

.modal-panel {
  position: relative;
  width: min(100%, 700px);
  max-height: min(90vh, 860px);
  padding: 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(145deg, rgba(33, 91, 255, 0.1), transparent 60%),
    rgba(6, 18, 31, 0.97);
  box-shadow: var(--shadow-strong);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-mode {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  border: 1px solid rgba(104, 176, 255, 0.2);
  background: rgba(36, 91, 255, 0.14);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    background-color 220ms ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  border-color: var(--accent-line);
  background: rgba(36, 91, 255, 0.12);
}

.service-form,
.login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.service-form label,
.login-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--metal);
  font-weight: 700;
}

.service-form input,
.service-form textarea,
.service-form select,
.login-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(49, 118, 255, 0.05);
  color: var(--text);
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.service-form input::placeholder,
.service-form textarea::placeholder,
.login-form input::placeholder {
  color: rgba(216, 233, 255, 0.58);
}

.service-form input:focus,
.service-form textarea:focus,
.service-form select:focus,
.login-form input:focus {
  outline: none;
  border-color: rgba(120, 206, 255, 0.52);
  box-shadow: 0 0 0 4px rgba(38, 133, 196, 0.14);
  background: rgba(49, 118, 255, 0.08);
}

.service-form textarea {
  resize: vertical;
}

.service-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  color-scheme: dark;
  padding-right: 3.1rem;
  background:
    linear-gradient(180deg, rgba(63, 105, 223, 0.08), rgba(42, 39, 175, 0.03)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14' fill='none'%3E%3Cpath d='M3 5.25 7 9.25l4-4' stroke='%23f5f5f4' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 1rem center / 14px 14px,
    #0c1828;
}

.service-form select:hover {
  border-color: rgba(104, 176, 255, 0.28);
  background-color: rgba(71, 138, 214, 0.08);
}

.service-form select:disabled {
  opacity: 0.58;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01)),
    #0a1522;
}

.service-form select option,
.service-form select optgroup {
  background: #0c1828;
  color: #f5f5f4;
}

.service-form select option:hover,
.service-form select option:checked,
.service-form select option:focus {
  background: #12233b;
  color: #ffffff;
}

.service-form select option:disabled {
  color: rgba(186, 184, 181, 0.55);
}

.service-form.is-loading {
  opacity: 0.96;
}

.service-form.is-success {
  pointer-events: none;
}

.form-status {
  min-height: 54px;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(126, 212, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  line-height: 1.6;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-loading {
  border-color: rgba(120, 206, 255, 0.22);
  background: rgba(73, 143, 255, 0.08);
}

.form-status.is-success {
  border-color: rgba(135, 230, 255, 0.3);
  background: rgba(135, 230, 255, 0.09);
  color: #e0f7ff;
}

.form-status.is-error {
  border-color: rgba(138, 168, 255, 0.26);
  background: rgba(90, 108, 255, 0.12);
  color: #ebf0ff;
}

.form-status.is-offline,
.form-status.is-pending {
  border-color: rgba(255, 210, 113, 0.26);
  background: rgba(255, 210, 113, 0.1);
  color: #fff2d3;
}

.form-submit.is-loading {
  position: relative;
  padding-right: 3.35rem;
}

.form-submit.is-loading::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(92, 176, 255, 0.24);
  border-top-color: #fff;
  animation: spin 0.78s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-tip {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(92, 176, 255, 0.18);
  background: rgba(49, 118, 255, 0.08);
  color: #d9ecff;
  line-height: 1.65;
}

.form-submit {
  margin-top: 0.4rem;
}

.briefing-success-panel {
  position: relative;
  display: grid;
  gap: 1rem;
  justify-items: center;
  padding: 2.15rem 1.5rem 1.7rem;
  margin-top: 1.4rem;
  border-radius: 28px;
  border: 1px solid rgba(135, 230, 255, 0.2);
  background:
    radial-gradient(circle at center, rgba(135, 230, 255, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
    rgba(8, 18, 31, 0.96);
  text-align: center;
  overflow: hidden;
}

.briefing-success-panel[hidden] {
  display: none;
}

.success-glow {
  position: absolute;
  inset: auto auto -20% 50%;
  width: 280px;
  height: 280px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 230, 255, 0.22) 0%, transparent 68%);
  filter: blur(26px);
  pointer-events: none;
}

.success-confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.success-particle {
  position: absolute;
  top: 18%;
  left: calc(8% + var(--particle-x, 0) * 7%);
  width: 8px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(135, 230, 255, 0.44));
  opacity: 0;
  transform: translateY(0) rotate(var(--particle-rotate, 0deg));
  animation: confetti-fall 1.5s ease-out forwards;
  animation-delay: var(--particle-delay, 0ms);
}

.success-check-wrap {
  width: 128px;
  height: 128px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 230, 255, 0.18), rgba(135, 230, 255, 0.02) 62%, transparent 72%);
}

.success-checkmark {
  width: 120px;
  height: 120px;
}

.success-ring,
.success-check {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.success-ring {
  stroke: rgba(135, 230, 255, 0.42);
  stroke-width: 6;
  stroke-dasharray: 265;
  stroke-dashoffset: 265;
  animation: draw-ring 700ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.success-check {
  stroke: #c3f7ff;
  stroke-width: 7;
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  animation: draw-check 420ms 250ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.briefing-success-panel strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.briefing-success-panel p {
  max-width: 36ch;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.success-sync-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(135, 230, 255, 0.2);
  background: rgba(135, 230, 255, 0.08);
  color: #e2f8ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.success-sync-pill.is-loading,
.success-sync-pill.is-success {
  border-color: rgba(135, 230, 255, 0.26);
  background: rgba(135, 230, 255, 0.12);
}

.success-sync-pill.is-offline,
.success-sync-pill.is-pending {
  border-color: rgba(255, 210, 113, 0.24);
  background: rgba(255, 210, 113, 0.12);
  color: #fff3d2;
}

.success-sync-pill.is-error {
  border-color: rgba(138, 168, 255, 0.24);
  background: rgba(90, 108, 255, 0.12);
  color: #ecf1ff;
}

@keyframes draw-ring {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes draw-check {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes confetti-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, -18px, 0) rotate(var(--particle-rotate, 0deg));
  }

  15% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--particle-drift, 0px), 138px, 0) rotate(calc(var(--particle-rotate, 0deg) + 140deg));
  }
}

.demo-login-button {
  width: 100%;
}

.toast-stack {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  display: grid;
  gap: 0.7rem;
  z-index: 50;
}

.toast {
  min-width: 260px;
  max-width: 340px;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  border: 1px solid rgba(59, 168, 196, 0.22);
  background: rgba(18, 18, 20, 0.96);
  color: var(--text);
  box-shadow: var(--shadow-soft);
  animation: toast-in 220ms ease;
}

.toast strong {
  display: block;
  font-size: 0.96rem;
}

.toast small {
  display: block;
  margin-top: 0.25rem;
  color: var(--muted);
  line-height: 1.55;
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

:root {
  --ambient-scroll: 0;
  --ambient-shift: 0px;
  --ambient-depth: 0px;
  --ambient-tilt-x: 0deg;
  --ambient-tilt-y: 0deg;
  --service-shift-x: 0px;
  --service-shift-y: 0px;
  --card-energy: 0;
}

.ambient-stage {
  will-change: transform, opacity;
}

/* === PASSO A: Ambient — ANIMAÇÕES COMPLETAMENTE DESATIVADAS ===
   ambient-beam, ambient-wave, ambient-particle-field removidos do fluxo de render */
.ambient-beam,
.ambient-wave,
.ambient-streaks,
.ambient-particle-field {
  position: absolute;
  inset: -8%;
  pointer-events: none;
  /* DESATIVADO: display none em todos os breakpoints para economia total de GPU */
  display: none !important;
}

/* ambient-grid mantido pois é estático e leve */
.ambient-grid {
  transform: translate3d(0, 0, 0);
}

.ambient-particle {
  position: absolute;
  width: var(--particle-size, 4px);
  height: var(--particle-size, 4px);
  left: var(--particle-left, 50%);
  top: var(--particle-top, 50%);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(198, 246, 255, 0.95) 0%, rgba(100, 196, 255, 0.42) 48%, transparent 72%);
  box-shadow: 0 0 18px rgba(107, 205, 255, 0.18);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.75);
  animation: ambient-particle-float var(--particle-duration, 18s) linear infinite;
  animation-delay: var(--particle-delay, 0s);
}

.nav-links {
  gap: 0.5rem;
}

.nav-links a {
  min-width: 92px;
  min-height: 46px;
  display: grid;
  place-items: center;
  padding: 0.18rem 0.92rem;
  border-radius: 999px;
  overflow: hidden;
}

.nav-links a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at 50% 50%, rgba(123, 214, 255, 0.16), transparent 62%),
    linear-gradient(140deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  opacity: 0;
  transform: scale(0.84);
  transition: opacity 280ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link-label,
.nav-link-icon {
  grid-area: 1 / 1;
  transition:
    opacity 280ms ease,
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 280ms ease;
}

.nav-link-label {
  letter-spacing: 0.04em;
}

.nav-link-icon {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(12px) scale(0.78);
  filter: drop-shadow(0 0 0 rgba(125, 219, 255, 0));
}

.nav-link-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: rgba(208, 244, 255, 0.96);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-links a:hover::before,
.nav-links a:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.nav-links a:hover .nav-link-label,
.nav-links a:focus-visible .nav-link-label {
  opacity: 0;
  transform: translateY(-12px) scale(0.84);
}

.nav-links a:hover .nav-link-icon,
.nav-links a:focus-visible .nav-link-icon {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: drop-shadow(0 0 14px rgba(123, 214, 255, 0.34));
}

.service-card {
  --service-accent: rgba(127, 216, 255, 0.82);
  --service-accent-soft: rgba(22, 90, 214, 0.24);
  --service-shift-x: 0px;
  --service-shift-y: 0px;
  --card-energy: 0;
}

/* === PASSO B: Identidade visual premium por card de serviço === */

/* Card 01 — Criar site: fundo com padrão de linhas de código sutis */
.service-card[data-visual="site"] {
  --service-accent: rgba(121, 208, 255, 0.84);
  --service-accent-soft: rgba(23, 92, 219, 0.22);
  background:
    /* linhas de código estilizadas: listras horizontais de diferentes larguras */
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 12px,
      rgba(92, 176, 255, 0.025) 12px,
      rgba(92, 176, 255, 0.025) 13px
    ),
    linear-gradient(145deg, rgba(18, 52, 96, 0.22) 0%, rgba(8, 20, 36, 0.82) 60%),
    var(--surface);
}

.service-card[data-visual="site"]::before {
  background:
    /* acento de cor ciano: domínio web/frontend */
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(82, 200, 255, 0.38) 0%, rgba(40, 120, 255, 0.18) 30%, rgba(94, 231, 255, 0.06) 54%, transparent 72%);
}

/* Card 02 — Criar sistema: painel de dashboard simulado */
.service-card[data-visual="system"] {
  --service-accent: rgba(154, 235, 255, 0.86);
  --service-accent-soft: rgba(16, 71, 178, 0.22);
  background:
    /* mini-barras horizontais de dashboard */
    repeating-linear-gradient(
      90deg,
      transparent 0px,
      transparent 28px,
      rgba(92, 176, 255, 0.03) 28px,
      rgba(92, 176, 255, 0.03) 29px
    ),
    repeating-linear-gradient(
      180deg,
      transparent 0px,
      transparent 22px,
      rgba(80, 160, 240, 0.025) 22px,
      rgba(80, 160, 240, 0.025) 23px
    ),
    linear-gradient(135deg, rgba(10, 44, 88, 0.28) 0%, rgba(8, 22, 36, 0.86) 55%),
    var(--surface);
}

.service-card[data-visual="system"]::before {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(100, 218, 255, 0.36) 0%, rgba(28, 102, 255, 0.16) 30%, transparent 68%);
}

/* Card 03 — Automação: conector de fluxo diagonal */
.service-card[data-visual="automation"] {
  --service-accent: rgba(117, 223, 255, 0.85);
  --service-accent-soft: rgba(18, 78, 191, 0.22);
  background:
    /* padrão de linhas diagonais (fluxo) */
    repeating-linear-gradient(
      135deg,
      transparent 0px,
      transparent 18px,
      rgba(80, 180, 255, 0.03) 18px,
      rgba(80, 180, 255, 0.03) 19px
    ),
    linear-gradient(150deg, rgba(12, 48, 96, 0.22) 0%, rgba(8, 20, 36, 0.84) 60%),
    var(--surface);
}

.service-card[data-visual="automation"]::before {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(90, 210, 255, 0.34) 0%, rgba(20, 90, 200, 0.14) 34%, transparent 66%);
}

/* Card 04 — Suporte: radar / growth */
.service-card[data-visual="support"] {
  --service-accent: rgba(165, 240, 255, 0.88);
  --service-accent-soft: rgba(24, 94, 214, 0.22);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(24, 94, 214, 0.12) 0%, transparent 48%),
    linear-gradient(180deg, rgba(8, 22, 36, 0.82) 0%, rgba(6, 16, 28, 0.92) 100%),
    var(--surface);
}

/* Card 05 — Logo e Marca: grid de design */
.service-card[data-visual="branding"] {
  --service-accent: rgba(147, 224, 255, 0.86);
  --service-accent-soft: rgba(26, 84, 198, 0.22);
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 20px,
      rgba(92, 176, 255, 0.02) 20px,
      rgba(92, 176, 255, 0.02) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 20px,
      rgba(92, 176, 255, 0.015) 20px,
      rgba(92, 176, 255, 0.015) 21px
    ),
    linear-gradient(145deg, rgba(14, 52, 96, 0.2) 0%, rgba(8, 20, 36, 0.84) 60%),
    var(--surface);
}

/* Card 06 — Artes e Design: camadas */
.service-card[data-visual="design"] {
  --service-accent: rgba(118, 214, 255, 0.86);
  --service-accent-soft: rgba(34, 106, 221, 0.22);
  background:
    linear-gradient(120deg, rgba(40, 100, 200, 0.1) 0%, transparent 40%),
    linear-gradient(240deg, rgba(18, 76, 180, 0.08) 0%, transparent 48%),
    linear-gradient(180deg, rgba(8, 20, 36, 0.82) 0%, rgba(6, 16, 28, 0.9) 100%),
    var(--surface);
}

/* Card 07 — Direção de Imagem: moldura cinemática */
.service-card[data-visual="photo"] {
  --service-accent: rgba(176, 245, 255, 0.88);
  --service-accent-soft: rgba(16, 77, 196, 0.2);
  background:
    radial-gradient(circle at 50% 50%, rgba(92, 176, 255, 0.07) 0%, transparent 54%),
    linear-gradient(180deg, rgba(8, 22, 38, 0.88) 0%, rgba(6, 16, 28, 0.94) 100%),
    var(--surface);
}

/* Card 08 — Atendimento com IA: neural premium */
.service-card[data-visual="ai"] {
  --service-accent: rgba(185, 245, 255, 0.92);
  --service-accent-soft: rgba(25, 98, 215, 0.24);
  background:
    /* padrão hexagonal simulado com gradiente circular */
    radial-gradient(circle at 20% 20%, rgba(24, 76, 255, 0.14) 0%, transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(92, 200, 255, 0.1) 0%, transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(0, 160, 240, 0.06) 0%, transparent 52%),
    linear-gradient(180deg, rgba(8, 20, 38, 0.86) 0%, rgba(5, 14, 26, 0.94) 100%),
    var(--surface);
}

.service-card[data-visual="ai"]::before {
  background:
    radial-gradient(circle at var(--mouse-x) var(--mouse-y), rgba(152, 240, 255, 0.4) 0%, rgba(28, 110, 255, 0.2) 28%, rgba(94, 231, 255, 0.08) 52%, transparent 72%);
}

/* Hover: reforço da borda superior de acento */
.service-card:is(:hover, :focus-visible, :focus-within) {
  border-top-color: var(--service-accent);
  box-shadow:
    var(--shadow-strong),
    0 30px 58px var(--service-accent-soft);
}

.service-visual {
  will-change: transform, box-shadow, border-color, background;
  transform: translate3d(
    calc(var(--service-shift-x) * 0.18),
    calc((var(--service-shift-y) * 0.18) + var(--depth-shift, 0px)),
    0
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -18px 34px rgba(7, 18, 34, 0.18);
  background:
    radial-gradient(circle at var(--card-pointer-x) var(--card-pointer-y), rgba(112, 216, 255, calc(0.14 + (var(--card-energy) * 0.16))), transparent 34%),
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.05), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    rgba(8, 19, 34, 0.82);
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 320ms ease,
    border-color 320ms ease,
    background 320ms ease;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual,
.service-card.is-touch-energized .service-visual {
  border-color: rgba(153, 231, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -24px 42px rgba(8, 24, 44, 0.22),
    0 22px 38px rgba(15, 72, 181, 0.18);
}

.service-card .service-visual::before {
  opacity: calc(0.58 + (var(--card-energy) * 0.18));
}

.service-visual-svg {
  transform: translate3d(
    calc(var(--service-shift-x) * 0.08),
    calc((var(--service-shift-y) * 0.08) + (var(--depth-shift, 0px) * -0.16)),
    0
  );
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 320ms ease;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-visual-svg,
.service-card.is-touch-energized .service-visual-svg {
  filter: drop-shadow(0 10px 28px rgba(31, 108, 214, 0.14));
}

.service-cinematic-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}

.service-cinematic-layer > span {
  position: absolute;
  pointer-events: none;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-cinematic-layer,
.service-card.is-touch-energized .service-cinematic-layer {
  opacity: 1;
}

.service-depth-glow {
  inset: -16%;
  background:
    radial-gradient(circle at var(--card-pointer-x) var(--card-pointer-y), rgba(136, 227, 255, 0.18) 0%, rgba(28, 102, 255, 0.1) 32%, transparent 62%);
  filter: blur(18px);
  animation: service-depth-breathe 4.2s ease-in-out infinite;
}

.service-digital-grid {
  inset: 8% 6%;
  border-radius: 20px;
  background-image:
    linear-gradient(rgba(134, 210, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(134, 210, 255, 0.06) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: 0.18;
  transform: translate3d(calc(var(--service-shift-x) * -0.22), calc(var(--service-shift-y) * -0.22), 0) scale(1.08);
}

.service-light-beam {
  top: -18%;
  bottom: -18%;
  width: 34%;
  background: linear-gradient(180deg, transparent 0%, rgba(142, 232, 255, 0.22) 50%, transparent 100%);
  filter: blur(10px);
  opacity: 0;
}

.service-light-beam-a {
  left: -14%;
  transform: translate3d(-100%, 0, 0) rotate(18deg);
}

.service-light-beam-b {
  right: -18%;
  transform: translate3d(100%, 0, 0) rotate(-14deg);
}

.service-energy-ring {
  --ring-transform: translate3d(0, 0, 0);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px solid rgba(152, 235, 255, 0.24);
  box-shadow: 0 0 22px rgba(118, 214, 255, 0.08);
  opacity: 0;
}

.service-energy-ring-a {
  top: 14%;
  right: 12%;
}

.service-energy-ring-b {
  bottom: 10%;
  left: 10%;
  width: 64px;
  height: 64px;
}

.service-digital-streak {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 241, 255, 0.92), transparent);
  opacity: 0;
}

.service-digital-streak-a {
  left: 10%;
  right: 18%;
  top: 26%;
}

.service-digital-streak-b {
  left: 18%;
  right: 10%;
  bottom: 22%;
}

.service-particle {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(196, 247, 255, 0.96);
  box-shadow: 0 0 16px rgba(110, 214, 255, 0.32);
  opacity: 0;
}

.service-particle-a {
  left: 16%;
  top: 24%;
}

.service-particle-b {
  left: 34%;
  top: 62%;
}

.service-particle-c {
  right: 18%;
  top: 34%;
}

.service-particle-d {
  right: 26%;
  bottom: 18%;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-digital-grid,
.service-card.is-touch-energized .service-digital-grid {
  animation: service-grid-pan 6.2s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-light-beam-a,
.service-card.is-touch-energized .service-light-beam-a {
  opacity: 0.94;
  animation: service-beam-sweep 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-light-beam-b,
.service-card.is-touch-energized .service-light-beam-b {
  opacity: 0.72;
  animation: service-beam-sweep-reverse 3.6s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-energy-ring-a,
.service-card.is-touch-energized .service-energy-ring-a {
  animation: service-ring-pulse 2.8s ease-out infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-energy-ring-b,
.service-card.is-touch-energized .service-energy-ring-b {
  animation: service-ring-pulse 3.4s ease-out infinite 0.4s;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-digital-streak-a,
.service-card:is(:hover, :focus-visible, :focus-within) .service-digital-streak-b,
.service-card.is-touch-energized .service-digital-streak-a,
.service-card.is-touch-energized .service-digital-streak-b {
  animation: service-streak-run 2.2s linear infinite;
}

.service-card:is(:hover, :focus-visible, :focus-within) .service-particle,
.service-card.is-touch-energized .service-particle {
  animation: service-particle-rise 2.8s ease-in-out infinite;
}

.service-card[data-visual="ai"] .service-digital-grid {
  background-size: 16px 16px;
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.5) 62%, transparent 92%);
}

.service-card[data-visual="ai"] .service-particle {
  animation-duration: 2.2s;
}

.service-card[data-visual="ai"] .service-energy-ring-a,
.service-card[data-visual="ai"] .service-energy-ring-b {
  border-color: rgba(187, 244, 255, 0.34);
}

.service-card[data-visual="automation"] .service-digital-streak {
  left: 8%;
  right: 8%;
  background: linear-gradient(90deg, transparent, rgba(180, 241, 255, 0.9), rgba(92, 149, 255, 0.4), transparent);
}

.service-card[data-visual="automation"] .service-light-beam {
  width: 24%;
}

.service-card[data-visual="system"] .service-digital-grid {
  inset: 10% 8%;
  opacity: 0.24;
}

.service-card[data-visual="system"] .service-energy-ring-a {
  top: 18%;
  right: 8%;
}

.service-card[data-visual="design"] .service-depth-glow {
  background:
    radial-gradient(circle at var(--card-pointer-x) var(--card-pointer-y), rgba(136, 227, 255, 0.16), transparent 46%),
    linear-gradient(120deg, rgba(97, 183, 255, 0.12), transparent 46%, rgba(153, 235, 255, 0.08));
}

.service-card[data-visual="design"] .service-digital-grid {
  background-image:
    linear-gradient(120deg, rgba(120, 214, 255, 0.04), transparent 48%),
    linear-gradient(0deg, rgba(120, 214, 255, 0.03), transparent 34%);
}

.service-card[data-visual="photo"] .service-energy-ring-a,
.service-card[data-visual="photo"] .service-energy-ring-b {
  left: 50%;
  top: 50%;
  --ring-transform: translate(-50%, -50%);
}

.service-card[data-visual="photo"] .service-energy-ring-a {
  width: 102px;
  height: 102px;
}

.service-card[data-visual="photo"] .service-energy-ring-b {
  width: 72px;
  height: 72px;
}

.service-card[data-visual="photo"] .service-digital-grid {
  mask-image: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.32) 62%, transparent 88%);
}

.service-card[data-visual="branding"] .service-digital-grid {
  background-image:
    linear-gradient(45deg, rgba(147, 224, 255, 0.06) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(147, 224, 255, 0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.service-card[data-visual="support"] .service-energy-ring-a {
  left: 12%;
  top: 18%;
}

.service-card[data-visual="support"] .service-energy-ring-b {
  right: 10%;
  bottom: 16%;
  left: auto;
}

.portfolio-grid {
  align-items: stretch;
}

.portfolio-card {
  --portfolio-accent: rgba(123, 214, 255, 0.94);
  --portfolio-accent-soft: rgba(20, 84, 212, 0.18);
  display: grid;
  gap: 0.95rem;
  align-content: start;
  min-height: 100%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.06), transparent 20%),
    rgba(8, 22, 36, 0.82);
  border-color: rgba(146, 198, 255, 0.14);
  box-shadow:
    var(--shadow-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.portfolio-card:hover,
.portfolio-card:focus-visible,
.portfolio-card:focus-within {
  border-color: rgba(166, 235, 255, 0.28);
  box-shadow:
    var(--shadow-strong),
    0 28px 56px var(--portfolio-accent-soft);
}

.portfolio-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.portfolio-scope {
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.76;
}

.portfolio-card-visual {
  position: relative;
  min-height: 118px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(139, 214, 255, 0.12);
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.06), transparent 20%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
    rgba(7, 18, 32, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transform: translate3d(0, var(--depth-shift, 0px), 0);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1), border-color 260ms ease, box-shadow 260ms ease;
}

.portfolio-card-visual > span {
  position: absolute;
  pointer-events: none;
}

.portfolio-visual-orb {
  inset: 12% auto auto 58%;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--portfolio-accent) 0%, rgba(26, 97, 255, 0.16) 42%, transparent 72%);
  filter: blur(12px);
  opacity: 0.3;
}

.portfolio-visual-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(140, 214, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 214, 255, 0.06) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 100%);
  opacity: 0.42;
}

.portfolio-visual-sweep {
  inset: -10% -30%;
  background: linear-gradient(118deg, transparent 28%, rgba(175, 242, 255, 0.22) 48%, transparent 68%);
  transform: translate3d(-46%, 0, 0) rotate(-10deg);
  opacity: 0;
}

.portfolio-visual-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 247, 255, 0.92), transparent);
  opacity: 0.54;
}

.portfolio-visual-line-a {
  left: 10%;
  right: 26%;
  top: 34%;
}

.portfolio-visual-line-b {
  left: 18%;
  right: 10%;
  bottom: 24%;
}

.portfolio-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: auto;
}

.portfolio-card-meta span {
  padding: 0.48rem 0.72rem;
  border-radius: 999px;
  border: 1px solid rgba(146, 198, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted-strong);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.portfolio-card:is(:hover, :focus-visible, :focus-within) .portfolio-visual-orb {
  animation: portfolio-orb-breathe 3.8s ease-in-out infinite;
}

.portfolio-card:is(:hover, :focus-visible, :focus-within) .portfolio-visual-grid {
  animation: portfolio-grid-pan 5.8s linear infinite;
}

.portfolio-card:is(:hover, :focus-visible, :focus-within) .portfolio-visual-sweep {
  opacity: 1;
  animation: portfolio-sweep 2.8s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.portfolio-card:is(:hover, :focus-visible, :focus-within) .portfolio-visual-line-a,
.portfolio-card:is(:hover, :focus-visible, :focus-within) .portfolio-visual-line-b {
  animation: portfolio-line-pulse 1.9s ease-in-out infinite;
}

body.has-premium-cursor {
  cursor: none;
}

body.has-premium-cursor :is(
  .nav-links a,
  .btn,
  .service-action,
  .service-card,
  .portfolio-card,
  .filter-button,
  .contact-link,
  .footer-social a,
  .menu-toggle,
  .brand
) {
  cursor: none;
}

body.has-premium-cursor :is(input, textarea, select, [contenteditable="true"]) {
  cursor: text;
}

.cursor-system {
  position: fixed;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 120;
  opacity: 0;
  transition: opacity 220ms ease;
  mix-blend-mode: screen;
}

.cursor-system.is-visible {
  opacity: 1;
}

.cursor-system > span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
}

.cursor-halo {
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(124, 219, 255, 0.18) 0%, rgba(22, 92, 214, 0.08) 44%, transparent 74%);
  filter: blur(16px);
  opacity: 0.42;
}

.cursor-trail {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(142, 224, 255, 0.26);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  box-shadow: 0 0 24px rgba(18, 80, 182, 0.08);
}

.cursor-ring {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(198, 246, 255, 0.72);
  box-shadow: 0 0 20px rgba(122, 214, 255, 0.08);
}

.cursor-core {
  width: 6px;
  height: 6px;
  background: rgba(222, 251, 255, 0.98);
  box-shadow: 0 0 18px rgba(122, 214, 255, 0.46);
}

.cursor-spark {
  --spark-dx: 18px;
  --spark-dy: -16px;
  width: 4px;
  height: 4px;
  background: rgba(198, 246, 255, 0.92);
  opacity: 0;
  box-shadow: 0 0 14px rgba(123, 214, 255, 0.34);
}

.cursor-spark-a {
  --spark-dx: -16px;
  --spark-dy: -18px;
}

.cursor-spark-b {
  --spark-dx: 6px;
  --spark-dy: -22px;
}

.cursor-spark-c {
  --spark-dx: 18px;
  --spark-dy: 16px;
}

.cursor-system.is-engaged .cursor-halo {
  opacity: 0.56;
}

.cursor-system.is-engaged .cursor-ring {
  border-color: rgba(214, 251, 255, 0.94);
}

.cursor-system.is-engaged .cursor-spark {
  animation: cursor-spark-float 1.4s ease-out infinite;
}

.cursor-system.is-pressed .cursor-ring {
  opacity: 0.72;
}

.cursor-system.is-pressed .cursor-halo {
  opacity: 0.74;
}

.touch-feedback-layer {
  position: fixed;
  inset: 0;
  z-index: 110;
  pointer-events: none;
  overflow: hidden;
}

.touch-companion {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
  transition: opacity 220ms ease;
}

.touch-feedback-layer.is-active .touch-companion {
  opacity: 1;
}

.touch-companion > span {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

.touch-companion-trail {
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(126, 219, 255, 0.14), transparent 70%);
  filter: blur(18px);
}

.touch-companion-halo {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(173, 241, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

.touch-companion-core {
  width: 12px;
  height: 12px;
  background: rgba(219, 252, 255, 0.96);
  box-shadow: 0 0 18px rgba(126, 219, 255, 0.36);
}

.touch-ripple,
.touch-spark {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.touch-ripple {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(182, 243, 255, 0.4);
  background: radial-gradient(circle, rgba(132, 214, 255, 0.12), transparent 72%);
  animation: touch-ripple-out 820ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.touch-spark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(219, 252, 255, 0.96);
  box-shadow: 0 0 14px rgba(122, 214, 255, 0.34);
  animation: touch-spark-burst 760ms ease-out forwards;
}

@keyframes ambient-beam-drift {
  0%,
  100% {
    transform: translate3d(calc(var(--ambient-shift) * -0.2), calc(var(--ambient-depth) * -0.4), 0) rotate(-12deg) scale(1);
  }

  50% {
    transform: translate3d(calc(var(--ambient-shift) * 0.18), calc(var(--ambient-depth) * 0.35), 0) rotate(-8deg) scale(1.06);
  }
}

@keyframes ambient-beam-drift-reverse {
  0%,
  100% {
    transform: translate3d(calc(var(--ambient-shift) * 0.26), calc(var(--ambient-depth) * 0.45), 0) rotate(18deg) scale(1);
  }

  50% {
    transform: translate3d(calc(var(--ambient-shift) * -0.16), calc(var(--ambient-depth) * -0.28), 0) rotate(13deg) scale(1.04);
  }
}

@keyframes ambient-wave-float {
  0%,
  100% {
    transform: translate3d(calc(var(--ambient-shift) * 0.15), calc(var(--ambient-depth) * -0.35), 0) scale(1);
    opacity: 0.16;
  }

  50% {
    transform: translate3d(calc(var(--ambient-shift) * 0.22), calc(var(--ambient-depth) * -0.2), 0) scale(1.05);
    opacity: 0.24;
  }
}

@keyframes ambient-wave-float-reverse {
  0%,
  100% {
    transform: translate3d(calc(var(--ambient-shift) * -0.12), calc(var(--ambient-depth) * 0.4), 0) scale(1);
    opacity: 0.18;
  }

  50% {
    transform: translate3d(calc(var(--ambient-shift) * -0.18), calc(var(--ambient-depth) * 0.22), 0) scale(1.06);
    opacity: 0.26;
  }
}

@keyframes ambient-streak-pan {
  0% {
    transform: translate3d(-4%, 0, 0);
  }

  100% {
    transform: translate3d(4%, 0, 0);
  }
}

@keyframes ambient-particle-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.72);
  }

  14%,
  72% {
    opacity: 0.7;
  }

  100% {
    opacity: 0;
    transform: translate3d(var(--particle-drift, 24px), calc(var(--particle-rise, -140px) + (var(--ambient-depth) * -0.22)), 0) scale(1.16);
  }
}

@keyframes service-depth-breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.68;
  }

  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes service-grid-pan {
  to {
    background-position: 0 0, 22px -18px;
  }
}

@keyframes service-beam-sweep {
  0% {
    transform: translate3d(-120%, 0, 0) rotate(18deg);
  }

  100% {
    transform: translate3d(240%, 0, 0) rotate(18deg);
  }
}

@keyframes service-beam-sweep-reverse {
  0% {
    transform: translate3d(120%, 0, 0) rotate(-14deg);
  }

  100% {
    transform: translate3d(-220%, 0, 0) rotate(-14deg);
  }
}

@keyframes service-ring-pulse {
  0% {
    opacity: 0;
    transform: var(--ring-transform) scale(0.62);
  }

  24% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
    transform: var(--ring-transform) scale(1.34);
  }
}

@keyframes service-streak-run {
  0%,
  100% {
    opacity: 0;
    transform: scaleX(0.72);
  }

  26%,
  64% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

@keyframes service-particle-rise {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.72);
  }

  28%,
  72% {
    opacity: 0.92;
  }

  100% {
    opacity: 0;
    transform: translate3d(18px, -22px, 0) scale(1.12);
  }
}

@keyframes portfolio-orb-breathe {
  0%,
  100% {
    transform: scale(0.92);
    opacity: 0.26;
  }

  50% {
    transform: scale(1.08);
    opacity: 0.44;
  }
}

@keyframes portfolio-grid-pan {
  to {
    background-position: 0 18px, 18px 0;
  }
}

@keyframes portfolio-sweep {
  0% {
    transform: translate3d(-54%, 0, 0) rotate(-10deg);
  }

  100% {
    transform: translate3d(54%, 0, 0) rotate(-10deg);
  }
}

@keyframes portfolio-line-pulse {
  0%,
  100% {
    opacity: 0.38;
    transform: scaleX(0.82);
  }

  50% {
    opacity: 1;
    transform: scaleX(1.02);
  }
}

@keyframes cursor-spark-float {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  18%,
  74% {
    opacity: 0.94;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--spark-dx)), calc(-50% + var(--spark-dy))) scale(1.12);
  }
}

@keyframes touch-ripple-out {
  to {
    opacity: 0;
    transform: translate(-50%, -50%) scale(3.8);
  }
}

@keyframes touch-spark-burst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }

  18% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--touch-drift-x, 18px)), calc(-50% + var(--touch-drift-y, -18px))) scale(1.18);
  }
}

@media (max-width: 1150px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-title-main {
    max-width: 100%;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-overview,
  .admin-charts,
  .contact-card,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-grid,
  .hero-metrics,
  .admin-overview,
  .admin-charts {
    grid-template-columns: 1fr;
  }

  .contact-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav {
    position: relative;
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    min-width: 220px;
    display: grid;
    gap: 0.8rem;
    padding: 1rem;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: rgba(6, 18, 31, 0.97);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
  }

  .nav-links a {
    width: 100%;
    min-width: 0;
    justify-items: start;
    padding: 0.75rem 0.95rem;
  }

  .nav-link-icon {
    display: none;
  }

  .nav-link-label {
    opacity: 1 !important;
    transform: none !important;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Performance mobile: ocultar hero-bg-layer pesado */
  .hero-bg-layer {
    display: none;
  }

  .portfolio-section,
  .portfolio {
    /* garante que ambas as classes funcionam */
  }

  .section {
    padding: 4.4rem 0;
  }

  .hero {
    padding-top: 3rem;
  }

  .hero-title-main {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    letter-spacing: 0.02em;
  }

  .hero-title-tail {
    font-size: 1rem;
  }

  /* Em mobile, remover glassmorphism pesado do wrapper para ganhar performance */
  .hero-content-wrapper {
    padding: 1.4rem 1.2rem;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: linear-gradient(135deg, rgba(3, 13, 24, 0.88) 0%, rgba(7, 21, 37, 0.82) 100%);
    border-color: rgba(92, 176, 255, 0.1);
  }

  .footer-grid,
  .admin-overview,
  .admin-charts,
  .payment-flags {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .portfolio-card {
    padding: 1.2rem;
  }

  .portfolio-card-visual {
    min-height: 102px;
  }

  .portfolio-card-meta span {
    padding: 0.4rem 0.58rem;
    font-size: 0.66rem;
  }

  .portfolio-scope {
    font-size: 0.66rem;
  }

  .service-grid,
  .portfolio-grid,
  .footer-grid,
  .admin-overview,
  .admin-charts,
  .payment-flags {
    gap: 0.9rem;
  }

  .service-visual {
    min-height: 104px;
  }

  .contact-links,
  .footer-social {
    justify-content: flex-start;
  }

  .modal-panel {
    padding: 1.45rem;
  }

  .order-header {
    flex-direction: column;
  }

  .order-actions {
    justify-content: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .section {
    width: min(calc(100% - 1.25rem), var(--max-width));
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card,
  .portfolio-card,
  .contact-card,
  .footer-card {
    padding: 1rem;
  }

  .service-card h3,
  .portfolio-card h3 {
    font-size: 1.18rem;
    margin-top: 0.85rem;
  }

  .service-card p,
  .portfolio-card p {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .service-visual,
  .portfolio-card-visual {
    min-height: 96px;
  }

  .portfolio-card-top {
    align-items: flex-start;
    flex-direction: column;
  }

  .portfolio-card-meta {
    gap: 0.45rem;
  }

  .hero-actions,
  .contact-links {
    gap: 0.75rem;
  }

  .btn,
  .service-action {
    width: 100%;
  }

  .contact-link,
  .footer-social a {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .toast {
    min-width: 0;
    width: min(100vw - 2rem, 340px);
  }
}

@media (max-width: 430px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  .interactive-card::before {
    opacity: 0.42;
    transform: translate(-50%, -50%) scale(1.3);
  }

  .cursor-system {
    display: none !important;
  }

  .service-card,
  .service-card:hover,
  .service-card:focus-visible,
  .service-card:focus-within {
    transform: translateY(-3px);
  }

  .service-card.is-touch-energized .service-cinematic-layer {
    opacity: 0.9;
  }

  .interactive-card:hover,
  .interactive-card:focus-within {
    transform: translateY(-3px);
  }

  .hero::before {
    opacity: 0.48;
  }

  .ambient-orb {
    opacity: 0.34;
  }

  /* Otimizacao mobile: oculta elementos pesados de animacao continua */
  .ambient-beam,
  .ambient-wave,
  .ambient-streaks,
  .ambient-particle-field,
  .service-cinematic-layer {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .interactive-card::before,
  .hero::before,
  .ambient-stage,
  .success-glow,
  .success-confetti,
  .cursor-system,
  .touch-feedback-layer,
  .ambient-beam,
  .ambient-wave,
  .ambient-streaks,
  .ambient-particle-field,
  .service-cinematic-layer {
    display: none !important;
  }
}
