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

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

:root {
  /* ── Primary scale (Indigo / Blue-Purple) ── */
  --primary-50:  #EEF2FF;
  --primary-100: #E0E7FF;
  --primary-200: #C7D2FE;
  --primary-300: #A5B4FC;
  --primary-400: #818CF8;
  --primary-500: #6366F1;
  --primary-600: #4F46E5;
  --primary-700: #4338CA;
  --primary-800: #3730A3;
  --primary-900: #312E81;

  /* ── Backgrounds (ligeiramente frios/violáceos) ── */
  --bg-primary:   #F8FAFF;
  --bg-secondary: #FFFFFF;
  --bg-tertiary:  #F1F3FF;
  --bg-accent:    #EEF2FF;

  /* ── Text (ajustado levemente pro roxo frio) ── */
  --text-primary:   #0B0F1A;
  --text-secondary: #3C4257;
  --text-tertiary:  #6B7280;
  --text-muted:     #9CA3AF;
  --text-inverse:   #FFFFFF;

  /* ── Grays (cool com leve violeta) ── */
  --gray-50:  #F8FAFF;
  --gray-100: #F1F3FF;
  --gray-200: #E5E7F5;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #0B0F1A;

  /* ── Borders ── */
  --border-color-light:   #E5E7F5;
  --border-color-default: #D1D5DB;
  --border-color-strong:  #9CA3AF;

  /* ── Glow (baseado no indigo, MUITO importante) ── */
  --blue-glow-soft:   rgba(99, 102, 241, 0.12);
  --blue-glow:        rgba(99, 102, 241, 0.22);
  --blue-glow-strong: rgba(99, 102, 241, 0.38);

  /* ── States ── */
  --success-light: #DCFCE7;
  --success:       #22C55E;
  --success-dark:  #15803D;

  --warning-light: #FEF3C7;
  --warning:       #F59E0B;
  --warning-dark:  #B45309;

  --error-light: #FEE2E2;
  --error:       #EF4444;
  --error-dark:  #B91C1C;

  /* ── Code syntax — light theme (AGORA COERENTE) ── */
  --code-kw: var(--primary-600);
  --code-fn: var(--primary-500);
  --code-st: #0EA5A4;
  --code-vl: var(--warning-dark);

  /* ── Code syntax — dark theme ── */
  --code-dark-kw: #A5B4FC;
  --code-dark-fn: #C084FC;
  --code-dark-st: #A3E635;
  --code-dark-nm: #F9FAFB;
  --code-dark-vl: #FB923C;
  --code-dark-ok: #4ADE80;

  /* ── Code window chrome ── */
  --code-dot-close:    #FF5F57;
  --code-dot-minimize: #FEBC2E;
  --code-dot-maximize: #28C840;

  /* ── Surfaces & glass (levemente mais sofisticado) ── */
  --surface:        rgba(255, 255, 255, 0.55);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --border:         rgba(15, 23, 42, 0.06);
  --border-strong:  rgba(15, 23, 42, 0.12);

  /* ── Semantic aliases (consumed throughout) ── */
  --bg:    var(--bg-primary);
  --ink:   var(--text-primary);
  --ink-2: var(--text-secondary);
  --muted: var(--text-tertiary);
  --faint: var(--text-muted);

  /* ── Layout ── */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1100px;
  --container-narrow: 680px;
}

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 400;
  overflow-x: hidden;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, svg { display: block; max-width: 100%; }

::selection { background: var(--blue-glow-soft); color: var(--ink); }

/* ============ A11Y ============ */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.65rem 1rem;
  background: var(--primary-600);
  color: var(--text-inverse);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid var(--primary-300);
  outline-offset: 2px;
}

:focus-visible {
  outline: 2px solid var(--primary-500);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav-cta:focus-visible {
  outline-offset: 4px;
}
.lang-opt:focus-visible {
  outline-offset: 2px;
}
.nav-wrap:not(.is-scrolled) :focus-visible {
  outline-color: var(--primary-300);
}

/* ============ AURORA ============ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}
.aurora-blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
}
.aurora-1 {
  width: 860px; height: 860px;
  top: -300px; left: -220px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.42) 0%, transparent 65%);
  filter: blur(105px);
  animation: drift1 16s ease-in-out infinite alternate;
}
.aurora-2 {
  width: 660px; height: 660px;
  right: -180px; top: 8%;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.35) 0%, transparent 65%);
  filter: blur(115px);
  animation: drift2 21s ease-in-out infinite alternate;
}
.aurora-3 {
  width: 780px; height: 780px;
  bottom: -240px; left: 14%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.30) 0%, transparent 65%);
  filter: blur(110px);
  animation: drift3 26s ease-in-out infinite alternate;
}
.aurora-4 {
  width: 580px; height: 580px;
  top: 38%; right: 12%;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.25) 0%, transparent 65%);
  filter: blur(120px);
  animation: drift4 19s ease-in-out infinite alternate;
}

@keyframes drift1 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(110px, 75px) scale(1.14); }
}
@keyframes drift2 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-85px, 115px) scale(1.1); }
}
@keyframes drift3 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(65px, -95px) scale(1.16); }
}
@keyframes drift4 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-100px, -65px) scale(1.09); }
}
.aurora-5 {
  width: 580px; height: 580px;
  top: 42%; right: 2%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.22) 0%, transparent 65%);
  filter: blur(125px);
  animation: drift5 22s ease-in-out infinite alternate;
}
@keyframes drift5 {
  from { transform: translate(0, 0) scale(1); }
  to   { transform: translate(-90px, 55px) scale(1.11); }
}

/* ============ GRAIN ============ */
.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

main { position: relative; z-index: 1; }

/* ============ PAGE TOP BAR ============ */
.page-top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--primary-400) 25%,
    var(--primary-500) 50%,
    var(--primary-400) 75%,
    transparent 100%
  );
  z-index: 200;
  pointer-events: none;
  opacity: 0.6;
}

/* ============ NAV ============ */
.nav-wrap {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.75rem 2.5rem;
  transition:
    padding 0.4s var(--ease),
    background 0.4s var(--ease),
    border-color 0.4s var(--ease),
    backdrop-filter 0.4s var(--ease);
  background: transparent;
  border-bottom: 1px solid transparent;
}
.nav-wrap.is-scrolled {
  padding: 1rem 2.5rem;
  background: rgba(248, 250, 255, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: var(--border);
}
.nav-wrap.is-scrolled-dark {
  padding: 1rem 2.5rem;
  background: rgba(8, 12, 24, 0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

nav {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.03em;
}
.nav-logo-icon {
  height: 22px;
  width: 22px;
  display: block;
  flex-shrink: 0;
  filter: brightness(0);
}
.nav-logo-ext {
  color: var(--primary-500);
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.22rem;
  border-radius: 100px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  user-select: none;
}
.lang-opt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 26px;
  border-radius: 100px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
  filter: grayscale(1);
  opacity: 0.38;
  transition:
    filter 0.25s var(--ease),
    opacity 0.25s var(--ease),
    background 0.2s,
    box-shadow 0.2s;
  padding: 3px;
}
.lang-opt img {
  width: 16px;
  height: 11px;
  border-radius: 2px;
  object-fit: cover;
  display: block;
}
.lang-opt.is-active {
  filter: none;
  opacity: 1;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}
.lang-opt:not(.is-active):hover {
  opacity: 0.55;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--ink);
  transition: width 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--ink);
  background: var(--surface-strong);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s,
    box-shadow 0.25s var(--ease);
}
.nav-cta:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
  box-shadow: 0 4px 18px -4px rgba(15, 23, 42, 0.1);
}
.availability-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
  margin-right: 0.45rem;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.45);
  animation: dotPulse 2.2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.5), 0 0 6px rgba(34, 197, 94, 0.4); }
  50%       { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0), 0 0 10px rgba(34, 197, 94, 0); }
}

/* ── Nav over dark hero (unscrolled) ── */
.nav-wrap:not(.is-scrolled) .nav-logo            { color: rgba(255, 255, 255, 0.78); }
.nav-wrap:not(.is-scrolled) .nav-logo-icon       { filter: brightness(0) invert(1); opacity: 0.82; }
.nav-wrap:not(.is-scrolled) .nav-logo-ext        { color: var(--primary-300); }
.nav-wrap:not(.is-scrolled) .nav-links a         { color: rgba(255, 255, 255, 0.52); }
.nav-wrap:not(.is-scrolled) .nav-links a:hover   { color: rgba(255, 255, 255, 0.9); }
.nav-wrap:not(.is-scrolled) .nav-links a::after  { background: rgba(255, 255, 255, 0.85); }
.nav-wrap:not(.is-scrolled) .nav-cta {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
}
.nav-wrap:not(.is-scrolled) .nav-cta:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}
.nav-wrap:not(.is-scrolled) .lang-toggle         { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.13); }
.nav-wrap:not(.is-scrolled) .lang-opt.is-active  { background: rgba(255, 255, 255, 0.18); box-shadow: none; }
.nav-wrap:not(.is-scrolled) .nav-hamburger                 { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.13); }
.nav-wrap:not(.is-scrolled) .nav-hamburger span            { background: rgba(255, 255, 255, 0.82); }
.nav-wrap:not(.is-scrolled) .nav-hamburger.is-open         { background: var(--surface-strong); border-color: var(--border); }
.nav-wrap:not(.is-scrolled) .nav-hamburger.is-open span    { background: var(--ink); }

/* ── Nav while mobile menu is open (restore light styles over white overlay) ── */
.nav-wrap.mobile-open {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom-color: transparent !important;
}
.nav-wrap.mobile-open .nav-logo            { color: var(--ink-2) !important; }
.nav-wrap.mobile-open .nav-logo-icon       { filter: brightness(0) !important; opacity: 1 !important; }
.nav-wrap.mobile-open .nav-logo-ext        { color: var(--primary-500) !important; }
.nav-wrap.mobile-open .lang-toggle         { background: var(--surface-strong) !important; border-color: var(--border) !important; }
.nav-wrap.mobile-open .lang-opt.is-active  { background: rgba(255, 255, 255, 0.9) !important; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1) !important; }

/* ── Hamburger ── */
.nav-hamburger {
  display: none;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  position: relative;
  z-index: 101;
  transition: border-color 0.2s, background 0.2s;
}
.nav-hamburger:hover {
  border-color: var(--border-strong);
}
.nav-hamburger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  border-radius: 1px;
  transform-origin: center;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-hamburger.is-open span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { transform: translateY(-3.25px) rotate(-45deg); }

/* ============ MOBILE NAV ============ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 98;
  background:
    radial-gradient(ellipse 100% 45% at 100% 0%, rgba(99, 102, 241, 0.07) 0%, transparent 65%),
    rgba(248, 250, 255, 0.97);
  backdrop-filter: blur(40px) saturate(200%);
  -webkit-backdrop-filter: blur(40px) saturate(200%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 7rem 2rem 3rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}
.mobile-nav.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-links {
  list-style: none;
}
.mobile-nav-links li {
  border-bottom: 1px solid var(--border-color-light);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-nav-links li:first-child { border-top: 1px solid var(--border-color-light); }
.mobile-nav.is-open .mobile-nav-links li:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.08s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.15s; }
.mobile-nav.is-open .mobile-nav-links li:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.22s; }

.mobile-nav-links a {
  display: block;
  padding: 1.35rem 0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: clamp(2rem, 8vw, 2.6rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.2s;
}
.mobile-nav-links a:hover { color: var(--primary-600); }

.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.25rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.mobile-nav.is-open .mobile-nav-cta { opacity: 1; transform: none; transition-delay: 0.3s; }
.mobile-nav-cta .btn-primary { justify-content: center; }

.mobile-nav-meta {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.62rem;
  color: var(--faint);
  letter-spacing: 0.04em;
  text-align: center;
}
.mobile-nav-meta a {
  color: var(--faint);
  transition: color 0.2s;
}
.mobile-nav-meta a:hover { color: var(--ink); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid transparent;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s,
    border-color 0.3s,
    color 0.3s;
}
.btn-primary {
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-weight: 700;
  background: var(--primary-600);
  color: var(--text-inverse);
  border: none;
  position: relative;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 4px 20px -4px var(--blue-glow-strong);
}
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -130%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(-25deg);
  transition: left 0.7s var(--ease);
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-700);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 10px 32px -6px var(--blue-glow-strong);
}
.btn-primary:hover::after {
  left: 160%;
}
.btn-ghost {
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  background: var(--surface-strong);
  color: var(--ink-2);
  border-color: var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 6px 24px -8px var(--blue-glow);
}
.btn-arrow {
  margin-left: 0.55rem;
}

/* ============ SECTIONS ============ */
section { position: relative; padding: 7rem 0; }
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}
.container-narrow { max-width: var(--container-narrow); }

.section-head {
  margin-bottom: 3.5rem;
}
.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}
.headline-em {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(125deg, var(--primary-500) 0%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ HERO ============ */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2.5rem 6rem;
  position: relative;
  isolation: isolate;
}
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 65% 72% at 8%  45%, rgba(79,  70, 229, 0.36) 0%, transparent 65%),
    radial-gradient(ellipse 52% 55% at 90% 20%, rgba(99, 102, 241, 0.22) 0%, transparent 60%),
    radial-gradient(ellipse 50% 55% at 52% 92%, rgba(192,132, 252, 0.14) 0%, transparent 55%),
    #080C18;
  pointer-events: none;
  z-index: -1;
}

.hero-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
  min-width: 0;
}


#hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 2rem;
}
#hero h1 .headline-em {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-style: normal;
  font-weight: 600;
}

.hero-desc {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.925rem;
  color: var(--faint);
  line-height: 1.75;
  margin-bottom: 2rem;
  letter-spacing: -0.005em;
}
.dot-sep { margin: 0 0.45rem; }
.hero-break { display: none; }

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-desc-tagline {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.04em;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 1;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, transparent, var(--faint));
  animation: scrollPulse 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.85); }
  50%       { opacity: 1;    transform: scaleY(1); }
}

/* ── Hero dark overrides ── */
#hero h1                    { color: #FFFFFF; }
#hero h1 .headline-em {
  background: linear-gradient(125deg, var(--primary-300) 0%, var(--primary-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
#hero .hero-desc             { color: rgba(255, 255, 255, 0.42); }
#hero .btn-ghost {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
}
#hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: none;
}
#hero .scroll-line {
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.22));
}

/* ============ CODE WINDOW ============ */
.hero-code {
  flex: 0 0 400px;
}

.code-window {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 32px 72px -16px rgba(15, 23, 42, 0.5);
  overflow: hidden;
}

.code-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.code-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}
.code-dot:nth-child(1) { background: var(--code-dot-close); }
.code-dot:nth-child(2) { background: var(--code-dot-minimize); }
.code-dot:nth-child(3) { background: var(--code-dot-maximize); }

.code-filename {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-left: auto;
  letter-spacing: 0.01em;
}

.code-expand-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: none;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  margin-left: 0.5rem;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}
.code-expand-btn svg {
  transform: rotate(180deg);
  transition: transform 0.3s var(--ease);
}
.code-expand-btn:hover {
  background: rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.72);
}
.code-window--collapsed .code-expand-btn svg {
  transform: rotate(0deg);
}

/* ── Collapsed state ── */
.code-window--collapsed .code-body {
  display: none;
}
.code-window--collapsed .code-bar {
  border-bottom-color: transparent;
}

.code-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
}

.code-line {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  white-space: pre;
}
.code-line--user { color: rgba(255, 255, 255, 0.65); }

.c-cm { color: rgba(255, 255, 255, 0.55); }
.c-kw { color: var(--code-dark-kw); }
.c-fn { color: var(--code-dark-fn); }
.c-st { color: var(--code-dark-st); }
.c-nm { color: var(--code-dark-nm); }
.c-vl { color: var(--code-dark-vl); }
.c-pu { color: rgba(255, 255, 255, 0.62); }
.c-available { color: var(--code-dark-ok); }
.c-lk {
  color: var(--code-dark-st);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(195, 232, 141, 0.3);
  transition: text-decoration-color 0.2s;
}
.c-lk:hover { text-decoration-color: rgba(195, 232, 141, 0.9); }

.code-cursor {
  display: inline-block;
  width: 7px;
  height: 0.85em;
  background: rgba(255, 255, 255, 0.55);
  vertical-align: text-bottom;
  margin-left: 2px;
  animation: cursorBlink 1.1s step-end infinite;
}

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

.code-input-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.65rem 1.5rem 0.85rem;
}

.code-input-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.code-prompt {
  flex-shrink: 0;
  opacity: 0.45;
  user-select: none;
}

.code-input {
  background: none;
  border: none;
  outline: none;
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  caret-color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

.code-input::placeholder {
  color: rgba(255, 255, 255, 0.18);
}

.code-input:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.code-msg {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  color: var(--code-dark-vl);
  margin-top: 0.35rem;
  line-height: 1.6;
}

/* ============ TRABALHOS ============ */
#trabalhos {
  padding-top: 7rem;
}
#trabalhos::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(720px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color-default), transparent);
}
.works-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 2rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
.work { margin: 0; }

.work-card {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 90% 80% at 50% 110%, rgba(99, 102, 241, 0.1) 0%, transparent 60%),
    var(--surface);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 16px 44px -16px rgba(15, 23, 42, 0.08);
}
.work-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  background-position: -1px -1px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 88%);
}
.work-num {
  position: absolute;
  top: 1.25rem;
  left: 1.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.04em;
  z-index: 1;
}
.work:hover .work-card {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 56px -14px rgba(15, 23, 42, 0.12);
}

/* ============ EMPLOYERS ============ */
.employers {
  margin-top: 3rem;
  padding-top: 0;
  text-align: center;
}
.employers-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}
.employers-logos-wrap {
  display: inline-flex;
  padding: 1.5rem 2.5rem;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(18px) saturate(155%);
  -webkit-backdrop-filter: blur(18px) saturate(155%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 32px -12px rgba(15, 23, 42, 0.07);
}
.employers-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.employer-logo {
  display: block;
  width: auto;
  opacity: 0.72;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.employer-logo:hover {
  transform: scale(1.09);
  opacity: 1;
}
.employers-more {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--faint);
  letter-spacing: 0.02em;
  margin-top: 1.5rem;
}

/* ============ SERVIÇOS ============ */
#servicos::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: min(720px, 88%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-color-default), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.features-grid--4 {
  grid-template-columns: repeat(2, 1fr);
}
.feature-icon {
  display: block;
  color: var(--primary-500);
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}
.services-tagline {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.015em;
}
.services-tagline-em {
  background: linear-gradient(125deg, var(--primary-500) 0%, var(--primary-700) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.carousel-dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}
.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 100px;
  background: var(--border-strong);
  transition: background 0.25s var(--ease), width 0.25s var(--ease);
}
.carousel-dot.is-active {
  width: 18px;
  background: var(--primary-500);
}
.feature {
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  position: relative;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 4px 24px -4px rgba(15, 23, 42, 0.07),
    0 1px 2px rgba(15, 23, 42, 0.04);
  transition:
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.feature::before {
  content: '';
  position: absolute;
  top: 0; left: 1.75rem; right: 1.75rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-400), var(--primary-500), var(--primary-400), transparent);
  opacity: 0.15;
  transition: opacity 0.4s var(--ease);
}
.feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(99, 102, 241, 0.06) 0%, transparent 50%);
  opacity: 1;
  pointer-events: none;
}
.feature:hover {
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-4px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 20px 48px -12px rgba(15, 23, 42, 0.13),
    0 1px 2px rgba(15, 23, 42, 0.06);
}
.feature:hover::before { opacity: 0.85; }
.feature h3 {
  font-size: 1.15rem;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-style: normal;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.feature p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ============ CONTATO ============ */
#contato {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 2.5rem;
  background: #080C18;
  isolation: isolate;
  position: relative;
}
#contato::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 55%, rgba(99, 102, 241, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 10% 20%, rgba(79, 70, 229, 0.14) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
}
#contato::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 88% 88% at 50% 50%, #000 20%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}
.contact-inner {
  text-align: center;
  max-width: var(--container-narrow);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.contact-title {
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
  margin-bottom: 1.25rem;
  color: #fff;
}
#contato .contact-title .headline-em {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(125deg, var(--primary-300) 0%, var(--primary-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.contact-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.38);
  margin-bottom: 2.5rem;
  letter-spacing: -0.01em;
  line-height: 1.6;
}
.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.contact-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
}
.contact-meta-sep { color: rgba(255,255,255,0.12); }
.contact-meta-link {
  color: rgba(255,255,255,0.22);
  display: flex;
  align-items: center;
  transition: color 0.25s var(--ease);
}
.contact-meta-link:hover { color: rgba(255,255,255,0.7); }
#contato .btn-ghost {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.13);
  color: rgba(255,255,255,0.72);
}
#contato .btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.24);
  color: rgba(255,255,255,0.9);
  box-shadow: none;
}

/* ============ FOOTER ============ */
footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem 2.5rem;
  position: relative;
  z-index: 1;
  background: #080C18;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-inner p {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.22);
  letter-spacing: 0.01em;
}
.footer-inner a {
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.2s;
}
.footer-inner a:hover { color: rgba(255, 255, 255, 0.7); }

/* ============ MOBILE BREAK ============ */
br.mobile-br { display: none; }
@media (max-width: 860px) { br.mobile-br { display: block; } }

/* ============ LANGUAGE TRANSITION ============ */
@keyframes textEvaporate {
  0%   { opacity: 1;    filter: blur(0px)   brightness(1);    transform: translateY(0px)   scale(1);    }
  30%  { opacity: 0.75; filter: blur(1.5px) brightness(1.05); transform: translateY(-5px)  scale(1.01); }
  65%  { opacity: 0.2;  filter: blur(5px)   brightness(1.1);  transform: translateY(-13px) scale(1.03); }
  100% { opacity: 0;    filter: blur(11px)  brightness(1.18); transform: translateY(-22px) scale(1.05); }
}

@keyframes textEmerge {
  0%   { opacity: 0;    filter: blur(9px)   brightness(1.55); transform: translateY(14px)  scale(0.97);  }
  35%  { opacity: 0.5;  filter: blur(4px)   brightness(1.25); transform: translateY(3px)   scale(1.01);  }
  70%  { opacity: 0.88; filter: blur(0.8px) brightness(1.06); transform: translateY(-2px)  scale(1.004); }
  100% { opacity: 1;    filter: blur(0px)   brightness(1);    transform: translateY(0px)   scale(1);     }
}

.lang-evaporate {
  animation: textEvaporate 0.34s cubic-bezier(0.4, 0, 1, 1) forwards;
  will-change: opacity, filter, transform;
}

.lang-emerge {
  animation: textEmerge 0.48s cubic-bezier(0, 0, 0.38, 1) forwards;
  will-change: opacity, filter, transform;
}

/* ============ REVEAL ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-text [data-reveal]:nth-child(1) { transition-delay: 0s; }
.hero-text [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.hero-text [data-reveal]:nth-child(3) { transition-delay: 0.2s; }
.hero-text [data-reveal]:nth-child(4) { transition-delay: 0.3s; }
.hero-code[data-reveal]               { transition-delay: 0.35s; }

.features-grid [data-reveal]:nth-child(1) { transition-delay: 0.02s; }
.features-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.features-grid [data-reveal]:nth-child(3) { transition-delay: 0.18s; }
.features-grid [data-reveal]:nth-child(4) { transition-delay: 0.26s; }

.works-grid [data-reveal]:nth-child(1) { transition-delay: 0.02s; }
.works-grid [data-reveal]:nth-child(2) { transition-delay: 0.1s; }
.works-grid [data-reveal]:nth-child(3) { transition-delay: 0.06s; }
.works-grid [data-reveal]:nth-child(4) { transition-delay: 0.14s; }

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  /* ── Nav ── */
  .nav-links     { display: none; }
  .nav-cta       { display: none; }
  .nav-right     { gap: 0.75rem; }
  .nav-hamburger { display: inline-flex; border-color: transparent !important; background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: none !important; }

  /* ── Base section ── */
  section { padding: 4rem 0; }
  .section-head { margin-bottom: 2rem; }

  /* ── Section-specific overrides (more specific than section, must be explicit) ── */
  #trabalhos { padding-top: 4rem; padding-bottom: 4rem; }
  .works-inner { padding: 0 1.25rem; max-width: 100%; }
  #servicos  { padding-top: 4rem; padding-bottom: 4rem; }
  #contato   { padding: 4rem 1.5rem; }
  #contato .contact-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  #contato .contact-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    justify-content: center;
  }

  /* ── Hero ── */
  #hero {
    min-height: auto;
    padding: 0 1.75rem 3.5rem;
    justify-content: flex-start;
  }

  .hero-inner {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .hero-text {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 7rem;
    padding-bottom: 3rem;
    position: relative;
  }
  .hero-text::before,
  .hero-text::after {
    content: '';
    flex: 1;
  }

  .hero-desc-tagline {
    order: 10;
    text-align: center;
    margin-bottom: 0;
  }

  #hero h1 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    text-align: center;
  }

  .hero-desc {
    font-size: 0.875rem;
    line-height: 2;
    margin-bottom: 3rem;
    text-align: center;
  }
  .hero-break { display: inline; }
  .dot-sep--mid { display: none; }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .hero-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }

  .hero-scroll { display: none; }

  .hero-code {
    flex: none;
    width: 100%;
    padding-top: 3.5rem;
    position: relative;
  }
  .hero-code::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  }

  .hero-code .code-body      { padding: 1rem 1.25rem 1.25rem; }
  .hero-code .code-line      { font-size: 0.76rem; white-space: pre; line-height: 1.8; }
  .hero-code .code-filename  { font-size: 0.68rem; }
  .hero-code[data-reveal]    { transition-delay: 0s; transition-duration: 0.45s; }
  .hero-code .code-window {
    border-color: rgba(99, 102, 241, 0.22);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 0 1px rgba(99, 102, 241, 0.08),
      0 32px 72px -8px rgba(79, 70, 229, 0.34),
      0 8px 32px -4px rgba(15, 23, 42, 0.5);
  }
  #hero .hero-desc { color: rgba(255, 255, 255, 0.52); }

  /* ── Employers ── */
  .employers             { margin-top: 2rem; padding-top: 2rem; }
  .employers-logos-wrap  { padding: 1.25rem 1.5rem; }
  .employers-logos       { gap: 1.5rem; }

  /* ── Mobile carousels (shared) ── */
  .works-grid,
  .features-grid--4 {
    display: flex;
    grid-template-columns: unset;
    overflow-x: auto;
    overflow-y: clip;
    touch-action: pan-x;
    scroll-snap-type: x mandatory;
    gap: 0.75rem;
    padding: 6px 0 0.25rem;
    margin-top: -6px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .works-grid::-webkit-scrollbar,
  .features-grid--4::-webkit-scrollbar { display: none; }
  .works-grid .work,
  .features-grid--4 .feature {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
  }
  .features-grid { grid-template-columns: 1fr; gap: 0.75rem; }
  #works-dots,
  .carousel-dots { display: flex; }

  /* ── Contact ── */
  #contato { padding-bottom: 5.5rem; }
  .contact-meta {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
  }

  /* ── Hero background ── */
  #hero::before {
    background:
      radial-gradient(ellipse 140% 28% at 12% 14%, rgba(79,  70, 229, 0.44) 0%, transparent 65%),
      radial-gradient(ellipse  90% 20% at 90% 36%, rgba(99, 102, 241, 0.28) 0%, transparent 60%),
      radial-gradient(ellipse 120% 22% at  8% 60%, rgba(129,140, 248, 0.22) 0%, transparent 58%),
      radial-gradient(ellipse  80% 18% at 72% 82%, rgba(192,132, 252, 0.14) 0%, transparent 55%),
      #080C18;
  }

  /* ── Aurora ── */
  .aurora-blob           { opacity: 0.6; }
  .aurora-4, .aurora-5   { display: none; }

  :root {
    --surface:        rgba(255, 255, 255, 0.82);
    --surface-strong: rgba(255, 255, 255, 0.96);
  }
}

@media (max-width: 560px) {
  .nav-wrap,
  .nav-wrap.is-scrolled,
  .nav-wrap.is-scrolled-dark { padding-left: 1.25rem; padding-right: 1.25rem; }

  .container { padding: 0 1.25rem; }

  #hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  #hero h1 { font-size: clamp(2.1rem, 11vw, 2.8rem); }

  .hero-actions .btn-primary { font-size: 0.92rem; padding: 0.85rem 1.5rem; }

  .employers-logos-wrap { padding: 1rem 1.25rem; width: 100%; }
  .employers-logos      { gap: 1.25rem; }


  footer { padding: 2rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .lang-evaporate, .lang-emerge {
    animation: none !important;
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}
