/* ============================================================
   MARCOS BK — PORTFÓLIO SISTEMA
   Premium Neutral Interface — 2026
   ============================================================ */


/* --- DESIGN TOKENS --- */
:root {
  /* Backgrounds — layered neutral blacks */
  --bg-deep: #0A0A0A;
  --bg-elevated: #111111;
  --bg-surface: rgba(255, 255, 255, 0.022);
  --bg-surface-hover: rgba(255, 255, 255, 0.042);

  /* Borders — barely-there structure */
  --border-subtle: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.10);

  /* Typography — pure neutrals, high contrast */
  --text-primary: #FFFFFF;
  --text-secondary: #A1A1AA;
  --text-muted: #52525B;

  /* Accent — single blue, used sparingly */
  --accent: 59, 130, 246;

  /* Type system */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Radius */
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Spacing scale */
  --space-section: 200px;
  --space-header: 96px;

  /* Easing */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0, 1);
}


/* --- RESET --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle dot grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.01) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }


/* --- LAYOUT --- */
.container {
  width: 88%;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}


/* --- REVEAL ANIMATION --- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1s var(--ease-out),
              transform 1s var(--ease-out);
}

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


/* ============================================================
   FLOATING NAV
   ============================================================ */
.floating-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 10, 10, 0.5);
  backdrop-filter: blur(28px) saturate(1.2);
  -webkit-backdrop-filter: blur(28px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-pill);
  padding: 7px 8px 7px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.5s var(--ease-out);
}

.floating-nav.scrolled .nav-inner {
  background: rgba(10, 10, 10, 0.85);
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.nav-logo {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  white-space: nowrap;
  margin-right: 20px;
}

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

.nav-link {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 8px 15px;
  border-radius: var(--radius-pill);
  transition: all 0.35s var(--ease-out);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

/* --- Mobile burger --- */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.35s var(--ease-out);
  border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile overlay --- */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(60px);
  -webkit-backdrop-filter: blur(60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease-out);
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-link {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.5s var(--ease-out);
}

.mobile-overlay.active .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-overlay.active .mobile-link:nth-child(1) { transition-delay: 0.06s; }
.mobile-overlay.active .mobile-link:nth-child(2) { transition-delay: 0.12s; }
.mobile-overlay.active .mobile-link:nth-child(3) { transition-delay: 0.18s; }
.mobile-overlay.active .mobile-link:nth-child(4) { transition-delay: 0.24s; }
.mobile-overlay.active .mobile-link:nth-child(5) { transition-delay: 0.30s; }
.mobile-overlay.active .mobile-link:nth-child(6) { transition-delay: 0.36s; }


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#neuralCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* --- Gradient mesh blobs (depth, no purple) --- */
.hero-mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
}

.mesh-1 {
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(var(--accent), 0.035), transparent 65%);
  top: -18%;
  right: -10%;
  animation: mesh-drift 22s ease-in-out infinite alternate;
}

.mesh-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.02), transparent 65%);
  bottom: -12%;
  left: -12%;
  animation: mesh-drift 26s ease-in-out infinite alternate-reverse;
}

.mesh-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--accent), 0.02), transparent 65%);
  top: 35%;
  left: 30%;
  animation: mesh-drift-center 20s ease-in-out infinite alternate;
}

@keyframes mesh-drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(25px, -15px) scale(1.06); }
}

@keyframes mesh-drift-center {
  0% { transform: scale(1); }
  100% { transform: scale(1.08) translateY(-10px); }
}

/* --- Hero content — two-column grid --- */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  width: 88%;
  max-width: 1100px;
}

.hero-text {
  text-align: left;
}

/* Status indicator */
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-pill);
  padding: 8px 22px;
  margin-bottom: 40px;
  letter-spacing: 0.02em;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #34d399;
  border-radius: 50%;
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.35);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 7px rgba(52, 211, 153, 0);
    opacity: 0.85;
  }
}

.hero-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

/* Subtle text gradient — no purple, very restrained */
.text-gradient {
  background: linear-gradient(120deg, #ffffff 25%, #d0d8ff 50%, #ffffff 75%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 12s ease-in-out infinite;
}

@keyframes shimmer {
  to { background-position: 300% center; }
}

.hero-sub {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-secondary);
  margin-bottom: 44px;
  line-height: 1.7;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Hero photo --- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 520px;
}

.photo-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(var(--accent), 0.015) 40%,
    transparent 70%);
  border-radius: 50%;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}

.hero-photo {
  height: 100%;
  max-height: 500px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.08))
          drop-shadow(0 20px 48px rgba(0, 0, 0, 0.5));
  mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 75%, transparent 100%);
}

/* --- Buttons --- */
.btn-primary {
  padding: 15px 38px;
  background: var(--text-primary);
  color: #0A0A0A;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: none;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.04);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1),
              0 2px 8px rgba(255, 255, 255, 0.04);
}

.btn-ghost {
  padding: 15px 38px;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.4s var(--ease-out);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.03);
}

/* --- Scroll indicator --- */
.scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.scroll-text {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.15);
  font-weight: 500;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
  animation: scroll-pulse 3s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  40% { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}


/* ============================================================
   SECTIONS — COMMON
   ============================================================ */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-header {
  margin-bottom: var(--space-header);
}

.section-label {
  display: block;
  font-family: var(--font-code);
  font-size: 0.74rem;
  color: rgba(var(--accent), 0.4);
  letter-spacing: 1.5px;
  margin-bottom: 16px;
}

.section-title-lg {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}


/* ============================================================
   SISTEMAS (PROJECT CARDS)
   ============================================================ */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.system-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 44px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* Mouse-following glow — inner */
.system-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--accent), 0.04),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

/* Mouse-following glow — border halo */
.system-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    450px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(var(--accent), 0.08),
    transparent 50%
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out);
  pointer-events: none;
}

.system-card:hover {
  background: var(--bg-surface-hover);
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
              0 4px 12px rgba(0, 0, 0, 0.15);
}

.system-card:hover::before,
.system-card:hover::after {
  opacity: 1;
}

.system-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

.system-category {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  font-weight: 600;
}

.system-status {
  font-size: 0.64rem;
  font-family: var(--font-code);
  color: rgba(var(--accent), 0.6);
  background: rgba(var(--accent), 0.04);
  border: 1px solid rgba(var(--accent), 0.06);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.system-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.system-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.system-features {
  margin-bottom: 28px;
}

.system-features li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.55;
}

.system-features li::before {
  content: '›';
  position: absolute;
  left: 2px;
  color: rgba(var(--accent), 0.3);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
}

.system-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 4px;
}

.system-stack span {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.035);
  padding: 5px 13px;
  border-radius: var(--radius-pill);
  transition: all 0.4s var(--ease-out);
  letter-spacing: 0.02em;
}

.system-card:hover .system-stack span {
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.06);
}


/* ============================================================
   ENGENHARIA
   ============================================================ */
.eng-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.eng-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 44px 32px 40px;
  overflow: hidden;
  transition: all 0.5s var(--ease-out);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

/* Top gradient line on hover */
.eng-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent), 0.35), transparent);
  transform: scaleX(0);
  transition: transform 0.7s var(--ease-out);
}

.eng-card:hover {
  background: var(--bg-surface-hover);
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2),
              0 4px 12px rgba(0, 0, 0, 0.1);
}

.eng-card:hover::before {
  transform: scaleX(1);
}

.eng-number {
  display: block;
  font-family: var(--font-code);
  font-size: 0.72rem;
  color: rgba(var(--accent), 0.25);
  letter-spacing: 3px;
  margin-bottom: 28px;
}

.eng-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.eng-card p {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
}


/* ============================================================
   STACK
   ============================================================ */
.stack-cluster {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px 80px;
}

.stack-group-title {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stack-tag {
  padding: 12px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.4s var(--ease-out);
  cursor: default;
}

.stack-tag[data-level="high"] {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.07);
}

.stack-tag:hover {
  background: rgba(var(--accent), 0.05);
  border-color: rgba(var(--accent), 0.1);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   DIFERENCIAL
   ============================================================ */
.diff-statements {
  max-width: 740px;
}

.diff-item {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.diff-item:last-child {
  border-bottom: none;
}

.diff-marker {
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: rgba(var(--accent), 0.4);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(var(--accent), 0.1);
}

.diff-item p {
  font-size: clamp(1.3rem, 2.8vw, 1.8rem);
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.35;
  letter-spacing: -0.3px;
}

.diff-item strong {
  color: var(--text-primary);
  font-weight: 600;
}


/* ============================================================
   CONTATO
   ============================================================ */
.contact-block {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.1;
  margin-bottom: 28px;
}

.contact-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 56px;
  line-height: 1.7;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.4s var(--ease-out);
}

.contact-btn i {
  font-size: 1.05rem;
}

.contact-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-hover);
  color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 48px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.025);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: -0.5px;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- TABLET (< 1024px) --- */
@media (max-width: 1024px) {
  .eng-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content {
    gap: 40px;
  }

  .hero-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
}

/* --- MOBILE (< 768px) --- */
@media (max-width: 768px) {
  :root {
    --space-section: 120px;
    --space-header: 56px;
  }

  /* Nav */
  .floating-nav {
    top: 0;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
  }

  .nav-inner {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    padding: 14px 20px;
    box-shadow: none;
  }

  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-title { letter-spacing: -1.2px; }
  .hero-status { margin-bottom: 28px; }
  .hero-sub {
    font-size: 1rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions { justify-content: center; }
  .scroll-indicator { display: none; }

  .hero-visual {
    height: 360px;
  }

  .hero-photo {
    max-height: 330px;
  }

  /* Systems */
  .systems-grid { grid-template-columns: 1fr; }
  .system-card { padding: 32px; }

  /* Engineering */
  .eng-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .eng-card { padding: 28px 24px; }

  /* Stack */
  .stack-cluster {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* Diferencial */
  .diff-item {
    gap: 22px;
    padding: 32px 0;
  }

  /* Contact */
  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .contact-btn {
    width: 100%;
    max-width: 260px;
    justify-content: center;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* --- SMALL MOBILE (< 420px) --- */
@media (max-width: 420px) {
  .hero-content { padding: 0 16px; }
  .hero-title { font-size: 1.9rem; letter-spacing: -1px; }

  .btn-primary,
  .btn-ghost {
    padding: 13px 28px;
    font-size: 0.84rem;
  }

  .system-card { padding: 24px; }

  .hero-visual { height: 300px; }
  .hero-photo { max-height: 270px; }
}
