/* ============================================================
   José dos Santos — site pessoal
   Tema escuro premium · ciano / azul elétrico / violeta
   ============================================================ */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("../fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #05070d;
  --bg-2: #070b14;
  --panel: rgba(13, 19, 33, 0.72);
  --panel-strong: #0a101d;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.28);
  --text: #eef3ff;
  --text-soft: #cbd5e1;
  --muted: #9aa8c7;
  --muted-2: #74839f;
  --cyan: #22d3ee;
  --blue: #3b82f6;
  --violet: #8b5cf6;
  --green: #34d399;
  --amber: #fbbf24;
  --teal: #2dd4bf;
  --grad: linear-gradient(115deg, #22d3ee 0%, #3b82f6 48%, #8b5cf6 100%);
  --grad-text: linear-gradient(100deg, #67e8f9 0%, #60a5fa 45%, #a78bfa 100%);
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 32px 80px -34px rgba(0, 0, 0, 0.9);
  --header-h: 76px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(900px 620px at 82% -10%, rgba(59, 130, 246, 0.2), transparent 62%),
    radial-gradient(760px 540px at 4% 12%, rgba(139, 92, 246, 0.14), transparent 62%),
    radial-gradient(900px 640px at 50% 112%, rgba(34, 211, 238, 0.1), transparent 64%),
    linear-gradient(180deg, #05070d 0%, #05070d 42%, #060912 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 28%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 62% at 50% 0%, #000 28%, transparent 76%);
  pointer-events: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.025em;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

::selection {
  background: rgba(59, 130, 246, 0.4);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
  border-radius: 6px;
}

[hidden] {
  display: none !important;
}

.icon {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.container {
  width: min(1180px, 100% - 48px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  padding: 10px 16px;
  border-radius: 10px;
  background: #0b1220;
  border: 1px solid var(--line-strong);
  color: var(--text);
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.grad-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------------- barra de progresso ---------------- */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: transparent;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: var(--grad);
}

/* ---------------- header ---------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 8, 14, 0.78);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom-color: var(--line);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  color: #eaf2ff;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.24), rgba(59, 130, 246, 0.16) 55%, rgba(139, 92, 246, 0.24));
  border: 1px solid rgba(120, 170, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 24px -14px rgba(59, 130, 246, 0.8);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav a:hover {
  color: var(--text);
  background: rgba(148, 163, 184, 0.07);
}

.nav a.is-active {
  color: var(--text);
}

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.06);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle .icon {
  width: 20px;
  height: 20px;
}

.mobile-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 99;
  padding: 10px 24px 26px;
  background: rgba(5, 8, 14, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
}

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

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.09);
  color: var(--text-soft);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.mobile-menu a:last-child {
  border-bottom: 0;
  color: #9fc4ff;
}

.mobile-menu a .icon {
  width: 16px;
  height: 16px;
  color: var(--muted-2);
}

body.menu-open {
  overflow: hidden;
}

/* ---------------- botões ---------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.btn .icon {
  width: 17px;
  height: 17px;
}

.btn--primary {
  background: var(--grad);
  color: #04101a;
  box-shadow: 0 14px 34px -14px rgba(59, 130, 246, 0.85);
}

.btn--primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 18px 42px -14px rgba(59, 130, 246, 0.95);
}

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

.btn--ghost:hover {
  transform: translateY(-2px);
  border-color: rgba(120, 170, 255, 0.5);
  background: rgba(120, 170, 255, 0.08);
}

.btn--soft {
  border-color: var(--line);
  background: rgba(148, 163, 184, 0.08);
  color: var(--text);
}

.btn--soft:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(148, 163, 184, 0.14);
}

.btn--sm {
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 12.5px;
}

.btn--sm .icon {
  width: 15px;
  height: 15px;
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

/* ---------------- utilidades de seção ---------------- */

.section {
  position: relative;
  padding: 104px 0;
  scroll-margin-top: calc(var(--header-h) + 24px);
}

.section-head {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.14;
  margin-top: 16px;
}

.section-lead {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
  max-width: 660px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9fc4ff;
}

.eyebrow .pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.55);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(34, 211, 238, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 211, 238, 0); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) var(--d, 0ms);
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + 76px) 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 64px;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 22px 0 20px;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 25px);
  line-height: 1.36;
  letter-spacing: -0.015em;
  color: var(--text-soft);
  max-width: 590px;
}

.hero-text {
  margin-top: 20px;
  max-width: 560px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.hero-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 38px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.hero-areas li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.05);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.hero-areas .icon {
  width: 12px;
  height: 12px;
  color: #7dd3fc;
}

/* composição visual do hero */

.hero-visual {
  position: relative;
  min-height: 540px;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(20px);
  pointer-events: none;
}

.hero-visual::before {
  width: 360px;
  height: 360px;
  top: 4%;
  right: 6%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 68%);
}

.hero-visual::after {
  width: 320px;
  height: 320px;
  bottom: 0;
  left: 0;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 68%);
}

.hero-panel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 470px;
  padding: 16px;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: linear-gradient(165deg, rgba(17, 25, 44, 0.92), rgba(7, 11, 20, 0.94));
  box-shadow:
    var(--shadow),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.5), transparent 30%, transparent 70%, rgba(139, 92, 246, 0.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.panel-head {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 6px 6px 16px;
}

.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #eaf2ff;
  background:
    radial-gradient(circle at 30% 25%, rgba(34, 211, 238, 0.5), transparent 55%),
    radial-gradient(circle at 72% 80%, rgba(139, 92, 246, 0.55), transparent 55%),
    #0b1424;
  border: 1px solid rgba(120, 170, 255, 0.45);
  box-shadow: 0 0 0 5px rgba(59, 130, 246, 0.08);
  flex: none;
  overflow: hidden;
}

.avatar--photo {
  border-color: rgba(148, 163, 184, 0.35);
}

.avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.panel-id {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.panel-id strong {
  font-family: var(--font-display);
  font-size: 15.5px;
  font-weight: 600;
}

.panel-id span {
  font-size: 11.5px;
  color: var(--muted-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.panel-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px;
  border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
  color: #6ee7b7;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.panel-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(52, 211, 153, 0.9);
}

.terminal {
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: #060a13;
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(148, 163, 184, 0.04);
}

.terminal-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
}

.terminal-bar span:nth-child(1) { background: rgba(248, 113, 113, 0.7); }
.terminal-bar span:nth-child(2) { background: rgba(251, 191, 36, 0.7); }
.terminal-bar span:nth-child(3) { background: rgba(52, 211, 153, 0.7); }

.terminal-bar em {
  margin-left: auto;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 9.5px;
  color: var(--muted-2);
}

.terminal-body {
  padding: 16px 15px 18px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.85;
  color: #a9b8d6;
  overflow-x: auto;
}

.terminal-body p {
  white-space: nowrap;
}

.t-prompt { color: #67e8f9; }
.t-cmd { color: #eef3ff; }
.t-key { color: #c4b5fd; }
.t-str { color: #86efac; }
.t-dim { color: #64748b; }
.t-ok { color: #34d399; }

.t-cursor {
  display: inline-block;
  width: 7px;
  height: 13px;
  margin-left: 3px;
  vertical-align: -2px;
  background: #67e8f9;
  animation: blink 1.15s steps(1) infinite;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.panel-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 4px 2px;
}

.panel-foot span {
  padding: 5px 9px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.06);
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.04em;
  color: var(--muted-2);
}

.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 13px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(9, 14, 25, 0.86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px -22px rgba(0, 0, 0, 0.9);
  animation: float 6s ease-in-out infinite alternate;
}

.float-card .fc-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.24);
}

.float-card .fc-icon .icon {
  width: 16px;
  height: 16px;
}

.float-card strong {
  display: block;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
}

.float-card small {
  display: block;
  font-size: 9.5px;
  color: var(--muted-2);
  letter-spacing: 0.04em;
}

.float-card--ai {
  top: 40px;
  right: -18px;
}

.float-card--ai .fc-icon {
  background: rgba(139, 92, 246, 0.16);
  border-color: rgba(139, 92, 246, 0.3);
  color: #c4b5fd;
}

.float-card--cloud {
  bottom: 44px;
  left: -26px;
  animation-delay: -3s;
}

.float-card--cloud .fc-icon {
  background: rgba(34, 211, 238, 0.12);
  border-color: rgba(34, 211, 238, 0.28);
  color: #67e8f9;
}

@keyframes float {
  from { transform: translateY(-5px); }
  to { transform: translateY(6px); }
}

/* ---------------- sobre ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: start;
}

.about-text {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.8;
}

.about-text p:first-child {
  color: var(--text-soft);
  font-size: 16.5px;
}

.about-text p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 2.6em;
  line-height: 0.9;
  float: left;
  padding: 4px 10px 0 0;
  color: #93c5fd;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.area-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 25, 44, 0.68), rgba(8, 12, 21, 0.6));
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.area-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 170, 255, 0.34);
  background: linear-gradient(160deg, rgba(22, 32, 56, 0.8), rgba(9, 14, 26, 0.7));
}

.area-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.22);
  color: #93c5fd;
  flex: none;
}

.area-icon .icon {
  width: 18px;
  height: 18px;
}

.area-card h3 {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.area-card p {
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted-2);
}

/* ---------------- especialidades ---------------- */

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.specialty-card {
  --accent: #60a5fa;
  --accent-soft: rgba(59, 130, 246, 0.14);
  grid-column: span 2;
  position: relative;
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(17, 25, 44, 0.72), rgba(8, 12, 21, 0.66));
  overflow: hidden;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.specialty-card:nth-child(4),
.specialty-card:nth-child(5) {
  grid-column: span 3;
}

.specialty-card::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -30%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-soft), transparent 68%);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.4s ease;
  pointer-events: none;
}

.specialty-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 42%, transparent);
  box-shadow: 0 26px 60px -34px color-mix(in srgb, var(--accent) 60%, transparent);
}

.specialty-card:hover::before {
  opacity: 1;
  transform: scale(1.12);
}

.specialty-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.specialty-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  color: var(--accent);
}

.specialty-icon .icon {
  width: 21px;
  height: 21px;
}

.specialty-index {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
}

.specialty-card h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.check-list {
  display: grid;
  gap: 8px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}

.check-list .icon {
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: var(--accent);
}

.accent-violet { --accent: #a78bfa; --accent-soft: rgba(139, 92, 246, 0.16); }
.accent-blue { --accent: #60a5fa; --accent-soft: rgba(59, 130, 246, 0.16); }
.accent-cyan { --accent: #67e8f9; --accent-soft: rgba(34, 211, 238, 0.14); }
.accent-teal { --accent: #5eead4; --accent-soft: rgba(45, 212, 191, 0.14); }
.accent-amber { --accent: #fcd34d; --accent-soft: rgba(251, 191, 36, 0.14); }

/* ---------------- projetos ---------------- */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.project-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(170deg, rgba(17, 25, 44, 0.7), rgba(8, 12, 21, 0.72));
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(120, 170, 255, 0.32);
  box-shadow: 0 36px 80px -40px rgba(0, 0, 0, 0.95);
}

.project-media {
  position: relative;
  height: 274px;
  padding: 26px 26px 0;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(59, 130, 246, 0.16), transparent 70%),
    linear-gradient(180deg, rgba(10, 16, 28, 0.8), rgba(6, 10, 18, 0.9));
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.project-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(6, 10, 18, 0.8));
  pointer-events: none;
}

.project-type {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(5, 8, 14, 0.72);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8c4ea;
}

.project-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 22px 24px 20px;
}

.project-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-head h3 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.project-link {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(148, 163, 184, 0.07);
  color: var(--text-soft);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  flex: none;
}

.project-link:hover {
  background: rgba(59, 130, 246, 0.16);
  border-color: rgba(59, 130, 246, 0.45);
  transform: translateY(-2px);
}

.project-link .icon {
  width: 16px;
  height: 16px;
}

.project-body > p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.7;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 15px;
}

.tag-list li {
  padding: 4px 9px;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(148, 163, 184, 0.05);
  font-size: 10.5px;
  color: var(--muted-2);
}

.project-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.09);
}

.mockup-note {
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.02em;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: #93c5fd;
  text-decoration: none;
}

.text-link:hover {
  color: #bfdbfe;
}

.text-link .icon {
  width: 13px;
  height: 13px;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted-2);
}

.project-status .icon {
  width: 13px;
  height: 13px;
  color: #a78bfa;
}

/* ----- mockups ilustrativos ----- */

.mk {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 12px 12px 0 0;
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-bottom: 0;
  background: #080d17;
  box-shadow: 0 -18px 40px -30px rgba(59, 130, 246, 0.5);
  overflow: hidden;
  font-family: var(--font-mono);
}

.mk-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 11px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(148, 163, 184, 0.04);
}

.mk-bar span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.25);
}

.mk-bar em {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 8.5px;
  color: var(--muted-2);
}

.mk-market-body {
  padding: 12px 13px;
}

.mk-search {
  position: relative;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(13, 20, 36, 0.9);
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.mk-pill {
  width: 46%;
  height: 6px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}

.mk-caret {
  margin-left: auto;
  width: 1.5px;
  height: 11px;
  background: #22d3ee;
  opacity: 0.8;
}

.mk-chips {
  display: flex;
  gap: 5px;
  margin: 9px 0 11px;
}

.mk-chips span {
  height: 18px;
  width: 48px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.12);
}

.mk-chips span.is-on {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.5), rgba(59, 130, 246, 0.5));
}

.mk-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.mk-card {
  padding: 7px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(11, 18, 32, 0.9);
}

.mk-thumb {
  position: relative;
  height: 54px;
  border-radius: 6px;
  background:
    radial-gradient(circle at 30% 30%, rgba(34, 211, 238, 0.4), transparent 60%),
    linear-gradient(150deg, #10233d, #0a1424);
  margin-bottom: 7px;
}

.mk-card:nth-child(2) .mk-thumb {
  background:
    radial-gradient(circle at 65% 25%, rgba(139, 92, 246, 0.45), transparent 60%),
    linear-gradient(150deg, #1a1533, #0c1022);
}

.mk-card:nth-child(3) .mk-thumb {
  background:
    radial-gradient(circle at 40% 70%, rgba(59, 130, 246, 0.5), transparent 60%),
    linear-gradient(150deg, #12233c, #0a1526);
}

.mk-thumb-tag {
  position: absolute;
  top: 5px;
  left: 5px;
  width: 18px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.mk-line {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  margin-top: 5px;
}

.mk-line.w-40 { width: 40%; }
.mk-line.w-45 { width: 45%; }
.mk-line.w-50 { width: 50%; }
.mk-line.w-55 { width: 55%; }
.mk-line.w-70 { width: 70%; }

.mk-line.accent {
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.6), rgba(59, 130, 246, 0.4));
}

.mk--saas {
  display: flex;
}

.mk-side {
  width: 52px;
  padding: 12px 9px;
  border-right: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(7, 12, 22, 0.9);
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mk-logo {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: linear-gradient(140deg, rgba(34, 211, 238, 0.6), rgba(139, 92, 246, 0.6));
  margin-bottom: 5px;
}

.mk-nav {
  height: 13px;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
}

.mk-nav.is-on {
  background: rgba(59, 130, 246, 0.28);
}

.mk-main {
  flex: 1;
  padding: 12px;
  min-width: 0;
}

.mk-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 9px;
}

.mk-kpis div {
  padding: 7px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(11, 18, 32, 0.9);
}

.mk-kpis .mk-line {
  margin-top: 0;
  height: 3px;
  background: rgba(148, 163, 184, 0.22);
}

.mk-kpis strong {
  display: block;
  width: 55%;
  height: 9px;
  margin-top: 7px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.55), rgba(59, 130, 246, 0.45));
}

.mk-chart {
  position: relative;
  height: 128px;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(11, 18, 32, 0.75);
  padding: 10px;
  overflow: hidden;
}

.mk-bars {
  position: absolute;
  inset: 12px 10px 10px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  opacity: 0.5;
}

.mk-bars span {
  flex: 1;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.55), rgba(59, 130, 246, 0.06));
}

.mk-line-chart {
  position: absolute;
  inset: 16px 10px 10px;
  width: calc(100% - 20px);
  height: calc(100% - 26px);
}

.mk--ai {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.mk-ai-head {
  display: flex;
  align-items: center;
  gap: 7px;
}

.mk-ai-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #a78bfa;
  box-shadow: 0 0 9px rgba(139, 92, 246, 0.9);
}

.mk-ai-head .mk-line {
  margin: 0;
  width: 38% !important;
}

.mk-ai-badge {
  margin-left: auto;
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(139, 92, 246, 0.14);
  font-size: 7.5px;
  color: #c4b5fd;
}

.mk-ai-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.12);
  background:
    radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.12), transparent 65%),
    rgba(9, 14, 25, 0.85);
  padding: 10px;
}

.mk-avatar {
  position: relative;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(34, 211, 238, 0.55), rgba(139, 92, 246, 0.45) 60%, #0a1020 100%);
  border: 1px solid rgba(167, 139, 250, 0.5);
  flex: none;
}

.mk-avatar-face {
  position: absolute;
  inset: 22px 18px 16px;
  border-radius: 50% 50% 45% 45%;
  background: rgba(8, 12, 22, 0.75);
}

.mk-avatar-ring {
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1px dashed rgba(148, 163, 184, 0.25);
}

.mk-avatar-ring.ring-2 {
  inset: -14px;
  border-color: rgba(59, 130, 246, 0.18);
}

.mk-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 58px;
}

.mk-wave span {
  width: 3px;
  height: var(--h);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.85), rgba(139, 92, 246, 0.55));
  opacity: 0.85;
}

.mk-prompt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 7px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(11, 18, 32, 0.9);
}

.mk-prompt .mk-line {
  margin: 0;
}

.mk-send {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  background: linear-gradient(140deg, #22d3ee, #8b5cf6);
}

.mk-ai-foot {
  display: flex;
  gap: 5px;
}

.mk-tag {
  height: 14px;
  flex: 1;
  border-radius: 4px;
  background: rgba(148, 163, 184, 0.1);
}

.mk--infra {
  display: flex;
  flex-direction: column;
}

.mk-term {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mk-term-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 26px;
  padding: 0 10px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(148, 163, 184, 0.04);
}

.mk-term-bar span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(148, 163, 184, 0.28);
}

.mk-term-bar em {
  margin-left: 6px;
  font-style: normal;
  font-size: 8px;
  color: var(--muted-2);
}

.mk-term-body {
  padding: 10px 12px;
  font-size: 9px;
  line-height: 1.75;
  color: #a9b8d6;
}

.mk-term-body b {
  color: #67e8f9;
  font-weight: 400;
}

.mk-term-body .dim {
  color: #64748b;
}

.mk-term-body i.ok {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 6px rgba(52, 211, 153, 0.8);
  margin-right: 5px;
}

.mk-cursor {
  display: inline-block;
  width: 5px;
  height: 10px;
  vertical-align: -2px;
  background: #67e8f9;
  animation: blink 1.15s steps(1) infinite;
}

.mk-nodes {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 9px 11px;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
  background: rgba(7, 12, 22, 0.7);
}

.mk-node {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 7px;
  border-radius: 5px;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(148, 163, 184, 0.06);
  font-size: 7.5px;
  color: #93a4c3;
}

.mk-node i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #34d399;
}

/* ---------------- tecnologias ---------------- */

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 11px;
}

.tech-card {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border-radius: 13px;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(17, 25, 44, 0.62), rgba(8, 12, 21, 0.6));
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.tech-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 170, 255, 0.32);
  background: linear-gradient(160deg, rgba(22, 32, 56, 0.78), rgba(9, 14, 26, 0.68));
}

.tech-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  flex: none;
}

.tech-icon .icon {
  width: 16px;
  height: 16px;
}

.tech-card strong {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
}

.tech-card small {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
}

/* ---------------- serviços ---------------- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 22px 20px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(17, 25, 44, 0.66), rgba(8, 12, 21, 0.64));
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(120, 170, 255, 0.34);
  box-shadow: 0 26px 60px -36px rgba(59, 130, 246, 0.5);
}

.service-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(150deg, rgba(34, 211, 238, 0.14), rgba(59, 130, 246, 0.12) 55%, rgba(139, 92, 246, 0.16));
  border: 1px solid rgba(120, 170, 255, 0.24);
  color: #a5c8ff;
  margin-bottom: 16px;
}

.service-icon .icon {
  width: 19px;
  height: 19px;
}

.service-card h3 {
  font-size: 15.5px;
  letter-spacing: -0.015em;
  margin-bottom: 7px;
}

.service-card p {
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--muted-2);
}

.service-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(148, 163, 184, 0.09);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93c5fd;
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.service-card .service-cta {
  margin-top: 18px;
}

.service-cta:hover {
  color: #dbeafe;
  gap: 9px;
}

.service-cta .icon {
  width: 13px;
  height: 13px;
}

.services-note {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------------- contato ---------------- */

.contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  padding: 52px;
  border-radius: 28px;
  border: 1px solid rgba(120, 170, 255, 0.24);
  background:
    radial-gradient(560px 300px at 10% 0%, rgba(59, 130, 246, 0.18), transparent 65%),
    radial-gradient(520px 320px at 92% 100%, rgba(139, 92, 246, 0.16), transparent 65%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.92), rgba(7, 11, 20, 0.94));
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000, transparent 78%);
  pointer-events: none;
}

.contact-copy,
.contact-form-wrap {
  position: relative;
  z-index: 1;
}

.contact-copy h2 {
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.12;
  margin: 16px 0 14px;
}

.contact-copy > p {
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.contact-channels .btn-handle {
  font-weight: 500;
  opacity: 0.85;
}

.contact-empty {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 470px;
  margin-top: 28px;
  padding: 16px;
  border-radius: 13px;
  border: 1px dashed rgba(148, 163, 184, 0.24);
  background: rgba(148, 163, 184, 0.04);
  color: var(--muted-2);
  font-size: 12.5px;
  line-height: 1.6;
}

.contact-empty .icon {
  width: 18px;
  height: 18px;
  color: #93c5fd;
  margin-top: 1px;
}

.contact-empty strong {
  display: block;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.contact-empty a {
  color: #93c5fd;
  font-weight: 600;
  text-decoration: none;
}

.contact-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 11, 20, 0.72);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.contact-form h3 {
  font-size: 15px;
  margin-bottom: 2px;
}

.contact-form .field {
  display: grid;
  gap: 5px;
}

.contact-form label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 9px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(10, 16, 29, 0.9);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  resize: vertical;
  min-height: 86px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #5b6a85;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(120, 170, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.14);
}

.contact-form select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #93a4c3 50%), linear-gradient(135deg, #93a4c3 50%, transparent 50%);
  background-position: calc(100% - 16px) 50%, calc(100% - 11px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.contact-form .form-note {
  font-size: 10.5px;
  color: var(--muted-2);
  line-height: 1.5;
}

.contact-form .btn {
  width: 100%;
  height: 46px;
  margin-top: 2px;
}

.contact-panel--solo {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin-inline: auto;
}

.contact-panel--solo .contact-copy > p,
.contact-panel--solo .contact-empty {
  max-width: 100%;
}

/* ---------------- footer ---------------- */

.site-footer {
  position: relative;
  padding: 52px 0 34px;
  border-top: 1px solid var(--line);
  background: rgba(5, 8, 14, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 320px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted-2);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 12.5px;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(148, 163, 184, 0.09);
  font-size: 11px;
  color: var(--muted-2);
}

.footer-bottom .site-link {
  color: #93c5fd;
  text-decoration: none;
}

.footer-bottom .site-link:hover {
  text-decoration: underline;
}

/* ---------------- whatsapp flutuante ---------------- */

.whats-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(150deg, #25d366, #128c7e);
  color: #04140c;
  box-shadow: 0 16px 36px -12px rgba(37, 211, 102, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
  text-decoration: none;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.whats-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 22px 44px -12px rgba(37, 211, 102, 0.72);
}

.whats-float .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.2;
}

.whats-float::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(37, 211, 102, 0.4);
  animation: ring 2.8s ease-out infinite;
  pointer-events: none;
}

@keyframes ring {
  0% { transform: scale(0.9); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

/* ---------------- responsivo ---------------- */

@media (max-width: 1100px) {
  .hero-grid {
    gap: 40px;
  }

  .float-card--ai {
    right: 0;
  }

  .float-card--cloud {
    left: -8px;
  }

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

  .contact-panel {
    padding: 40px;
    gap: 32px;
  }
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

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

  .hero {
    padding-top: calc(var(--header-h) + 52px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .hero-visual {
    min-height: 0;
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .hero-panel {
    max-width: 100%;
  }

  .float-card--ai {
    right: -6px;
    top: 22px;
  }

  .float-card--cloud {
    left: -6px;
    bottom: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

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

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

  .specialty-card,
  .specialty-card:nth-child(4),
  .specialty-card:nth-child(5) {
    grid-column: auto;
  }

  .specialty-card:last-child {
    grid-column: span 2;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .container {
    width: calc(100% - 36px);
  }

  .header-actions #headerCta {
    display: none;
  }

  .brand-text small {
    display: none;
  }

  .brand-text strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .section {
    padding: 76px 0;
  }

  .hero {
    padding-bottom: 72px;
  }

  .hero h1 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .hero-tagline {
    font-size: 18.5px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-areas {
    gap: 8px;
  }

  .hero-areas li {
    font-size: 10.5px;
    padding: 7px 11px;
  }

  .float-card {
    padding: 9px 11px;
  }

  .float-card strong {
    font-size: 10px;
  }

  .float-card small {
    font-size: 8.5px;
  }

  .float-card .fc-icon {
    width: 28px;
    height: 28px;
  }

  .specialties-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card:last-child {
    grid-column: auto;
  }

  .project-media {
    height: 236px;
    padding: 22px 20px 0;
  }

  .project-body {
    padding: 20px;
  }

  .project-foot {
    flex-wrap: wrap;
    gap: 8px;
  }

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

  .tech-card {
    padding: 12px;
  }

  .tech-card strong {
    font-size: 11.5px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .contact-channels .btn {
    flex: 1 1 100%;
  }

  .contact-form {
    padding: 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .whats-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 420px) {
  .panel-status {
    display: none;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .float-card--ai {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
