:root {
  --bg: #07070b;
  --surface: rgba(20, 18, 28, 0.76);
  --surface2: rgba(30, 24, 42, 0.88);
  --accent: #ff1744;
  --accent2: #5f00d6;
  --accent-cool: #7a00ff;
  --accent3: #ffffff;
  --text: #f5f5fb;
  --muted: #b7b5c9;
  --border: rgba(255, 255, 255, 0.14);
  --glass-bg: linear-gradient(165deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05) 58%, rgba(255,255,255,0.03));
  --glass-red: linear-gradient(160deg, rgba(255,23,68,0.24), rgba(24,18,32,0.78) 58%, rgba(12,10,20,0.92));
  --glass-purple: linear-gradient(160deg, rgba(95,0,214,0.24), rgba(22,18,34,0.78) 58%, rgba(11,10,22,0.92));
  --glass-neutral: linear-gradient(165deg, rgba(255,255,255,0.14), rgba(255,255,255,0.06) 58%, rgba(255,255,255,0.03));
  --glass-border: rgba(255, 255, 255, 0.24);
  --glass-shadow: 0 14px 34px rgba(0,0,0,0.28);
  --glow: 0 0 40px rgba(255, 59, 95, 0.24);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at center, rgba(72, 76, 117, 0.603), transparent 24%),
    #07070b;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(255,59,95,0.1), transparent 24%),
    #000000;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader-inner {
  --loader-logo-x: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: min(88vw, 560px);
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-loader-logo {
  width: min(70vw, 520px);
  height: auto;
  display: block;
  opacity: 0;
  filter:
    drop-shadow(0 0 18px rgba(255,255,255,0.1))
    drop-shadow(0 0 32px rgba(255,59,95,0.16));
  animation: loaderLogoFade 1.8s ease forwards 0.35s;
  margin: 0 auto;
}

.page-loader-caption {
  color: rgba(242,246,243,0.72);
  font-size: clamp(0.52rem, 1.35vw, 0.72rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: loaderCaption 1.2s ease forwards 1.15s;
  opacity: 0;
  text-align: center;
  margin: 0 auto;
  width: 100%;
  max-width: min(92vw, 460px);
  line-height: 1.45;
  align-self: center;
  white-space: nowrap;
}

@keyframes loaderCaption {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loaderLogoFade {
  0% {
    opacity: 0;
    transform: translateX(var(--loader-logo-x));
    filter:
      drop-shadow(0 0 0 rgba(255,255,255,0))
      drop-shadow(0 0 0 rgba(255,59,95,0));
  }
  100% {
    opacity: 1;
    transform: translateX(var(--loader-logo-x));
    filter:
      drop-shadow(0 0 18px rgba(255,255,255,0.1))
      drop-shadow(0 0 32px rgba(255,59,95,0.16));
  }
}

.smoke-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.smoke-layer-loader {
  z-index: 1;
  opacity: 0.52;
}

.smoke-layer-site {
  position: fixed;
  inset: 0;
  z-index: 11900;
  opacity: 0;
  visibility: hidden;
}

.smoke-layer-site.is-active {
  opacity: 1;
  visibility: visible;
  animation: siteSmokeFade 2.4s ease forwards;
}

.smoke {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18vw;
  height: 18vw;
  min-width: 130px;
  min-height: 130px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.1) 24%, rgba(110,110,110,0.08) 50%, transparent 74%);
  filter: blur(26px);
  mix-blend-mode: screen;
  opacity: 0;
}

.smoke-layer-loader .smoke {
  animation: smokeRise 7.5s ease-in-out infinite;
  mix-blend-mode: normal;
}

.smoke-layer-site .smoke {
  animation: smokeRiseFast 2.6s ease-out forwards;
}

.smoke-1 { animation-delay: 0s; }
.smoke-2 { animation-delay: 0.32s; }
.smoke-3 { animation-delay: 0.15s; }
.smoke-4 { animation-delay: 0.48s; }
.smoke-5 { animation-delay: 0.22s; }

@keyframes smokeRise {
  0% {
    transform: translate3d(-50%, -20%, 0) scale(0.55);
    opacity: 0;
  }
  20% {
    opacity: 0.24;
  }
  55% {
    transform: translate3d(calc(-50% + 20px), calc(-50% - 40px), 0) scale(0.92);
    opacity: 0.16;
  }
  100% {
    transform: translate3d(calc(-50% - 26px), calc(-50% - 90px), 0) scale(1.12);
    opacity: 0;
  }
}

@keyframes smokeRiseFast {
  0% {
    transform: translate3d(-50%, -10%, 0) scale(0.52);
    opacity: 0;
  }
  25% {
    opacity: 0.2;
  }
  100% {
    transform: translate3d(calc(-50% + 18px), calc(-50% - 84px), 0) scale(1.05);
    opacity: 0;
  }
}

@keyframes siteSmokeFade {
  0% {
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@media (max-width: 640px) {
  .page-loader-inner {
    --loader-logo-x: 7px;
    gap: 8px;
    max-width: min(92vw, 420px);
  }

  .page-loader-logo {
    width: min(76vw, 360px);
    margin-bottom: 2px;
  }

  .page-loader-caption {
    font-size: clamp(0.38rem, 2vw, 0.58rem);
    letter-spacing: 0.06em;
    max-width: 92vw;
  }

  .smoke {
    width: 34vw;
    height: 34vw;
    min-width: 100px;
    min-height: 100px;
  }
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.14;
}

.pill-nav-container {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10020;
  width: min(96vw, 1100px);
  display: flex;
  justify-content: center;
}

.pill-nav {
  --nav-h: 44px;
  --pill-pad-x: 16px;
  --pill-gap: 4px;
  --base: rgba(12, 12, 18, 0.72);
  --pill-bg: rgba(255, 255, 255, 0.08);
  --pill-text: #f2f4f7;
  --hover-text: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  gap: 0;
  width: 100%;
  padding: 10px 12px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05) 60%, rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.4);
}

.pill-nav-items {
  display: flex;
  width: auto;
  min-width: auto;
}

.pill-list {
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--pill-gap);
  margin: 0;
  padding: 0;
  width: auto;
}

.pill-list > li {
  display: flex;
  width: auto;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 36px;
  padding: 0 var(--pill-pad-x);
  width: auto;
  border-radius: 9999px;
  background: var(--pill-bg);
  color: var(--pill-text);
  text-decoration: none;
  white-space: nowrap;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pill .hover-circle {
  position: absolute;
  left: 50%;
  bottom: 0;
  border-radius: 50%;
  background: linear-gradient(160deg, #ff2a2a, #b30000);
  z-index: 1;
  display: block;
  pointer-events: none;
  will-change: transform;
}

.pill .label-stack {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
}

.pill .pill-label {
  position: relative;
  z-index: 2;
  display: inline-block;
  line-height: 1;
  will-change: transform;
}

.pill .pill-label-hover {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--hover-text);
  z-index: 3;
  display: inline-block;
  will-change: transform, opacity;
}

.pill.is-active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: linear-gradient(160deg, #ff2a2a, #b30000);
  box-shadow: 0 0 16px rgba(255, 42, 42, 0.55);
  z-index: 4;
}

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.mobile-menu-button {
  width: var(--nav-h);
  height: var(--nav-h);
  border-radius: 50%;
  background: rgba(5, 5, 10, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.3);
}

.hamburger-line {
  width: 16px;
  height: 2px;
  background: #f2f4f7;
  border-radius: 1px;
  transition: all 0.2s;
  transform-origin: center;
}

.mobile-menu-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: 0;
  min-width: 280px;
  background: rgba(5, 5, 10, 0.96);
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.mobile-menu-list {
  list-style: none;
  margin: 0;
  padding: 4px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-link {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border-radius: 9999px;
  background: #f2f4f7;
  color: #0b0b10;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: 0.2s ease;
}

.mobile-menu-link.is-active,
.mobile-menu-link:hover {
  background: linear-gradient(160deg, #ff2a2a, #b30000);
  color: #ffffff;
}

.mobile-menu-link.mobile-cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.mobile-menu-link.mobile-cta:hover {
  background: var(--accent);
  color: #09090f;
}

.hero {
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  width: 100%;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  color: #eaf3ff;
}

.hero-video-bg {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  background: #0b1220;
}

.hero-video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(4, 6, 14, 0.62) 0%,
    rgba(6, 8, 18, 0.52) 45%,
    rgba(6, 8, 18, 0.72) 100%
  );
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.hero-video-bg video::-webkit-media-controls,
.hero-video-bg video::-webkit-media-controls-panel,
.hero-video-bg video::-webkit-media-controls-play-button {
  display: none !important;
}

.hero-grid {
  display: none;
}

.hero-glow {
  display: none;
}
.hero-glow2 {
  display: none;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 22px;
}

.hero-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-bottom: 30px;
  animation: fadeUp 0.8s 0.05s ease both;
  position: relative;
}

.hero-brand-mark {
  display: block;
  width: clamp(124px, 13vw, 182px);
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 26px rgba(0, 0, 0, 0.34));
}

.hero-brand-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  text-align: left;
  margin-left: 0;
  position: relative;
  z-index: 1;
}

.hero-brand-title,
.hero-brand-subtitle {
  font-family: 'Orbitron', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #f4f7fb;
  line-height: 1;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.34);
}

.hero-brand-title {
  font-size: clamp(1.2rem, 2vw, 1.85rem);
}

.hero-brand-subtitle {
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  color: rgba(234,243,255,0.8);
}

.hero-brand,
.hero h1 > span,
.hero-desc,
.hero-actions,
.hero-stats,
.hero-badge,
.service-card,
.pricing-card,
.project-card,
.sobre-card,
.value-list li,
.contact-form .form-row,
.contact-form .form-group,
.contact-form button,
.section-label,
.section-title,
.section-sub {
  will-change: transform, opacity;
}

.hero-badge {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: min(78vw, 320px);
  border: 1px solid rgba(255,255,255,0.22);
  background: linear-gradient(135deg, rgba(3, 3, 3, 0.633), rgba(36, 34, 34, 0.003) 45%, rgba(255, 2, 2, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    0 18px 40px rgba(0,0,0,0.24);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 100px;
  font-size: 0.875rem;
  color: #fcfcfc;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0;
  animation: fadeUp 0.8s ease forwards;
  transform-origin: center;
  position: absolute;
  top: auto;
  bottom: 156px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  white-space: nowrap;
}
.badge-dot {
  width: 7px; height: 7px;
  background: #ffffff;
  border-radius: 50%;
  animation: blink 1.5s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 28px;
  animation: fadeUp 0.8s 0.1s ease both;
}
.hero h1 > span { display: block; }
.hero h1 .line2 { color: var(--accent); display: block; }
.hero h1 .line3 { color: rgba(234,243,255,0.86); display: block; font-weight: 400; font-size: 60%; }

.rotating-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.02em 0;
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  box-shadow: none;
  overflow: visible;
  vertical-align: top;
  line-height: 1;
  max-inline-size: 100%;
  text-shadow:
    0 0 14px rgba(255, 59, 95, 0.22),
    0 0 34px rgba(255, 59, 95, 0.12);
}

.rotating-text-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.rotating-text-viewport {
  position: relative;
  display: inline-block;
  width: fit-content;
  min-height: 1em;
  min-width: 1ch;
  overflow: hidden;
  transition:
    width 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.32s ease;
}

.rotating-text-line {
  position: absolute;
  inset: 0 auto auto 0;
  display: inline-flex;
  align-items: flex-end;
  white-space: nowrap;
}

.rotating-text-word {
  display: inline-flex;
  overflow: visible;
  padding-bottom: 0.06em;
  padding-right: 0.01em;
}

.rotating-text-char {
  display: inline-block;
  transform: translateY(24%) scale(0.985);
  opacity: 0;
  filter: blur(12px);
  transition:
    transform 0.68s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s ease,
    filter 0.48s ease;
  transition-delay: var(--char-delay, 0s);
  will-change: transform, opacity, filter;
}

.rotating-text-line.is-active .rotating-text-char,
.rotating-text-line.is-entering .rotating-text-char {
  transform: translateY(0) scale(1);
  opacity: 1;
  filter: blur(0);
}

.rotating-text-line.is-exiting .rotating-text-char {
  transform: translateY(-22%) scale(0.985);
  opacity: 0;
  filter: blur(10px);
}

.rotating-text-line.is-active {
  position: relative;
}

.rotating-text-space {
  white-space: pre;
}

.hero-desc {
  font-size: 1.1rem;
  color: rgba(234,243,255,0.8);
  max-width: 520px;
  margin-bottom: 44px;
  animation: fadeUp 0.8s 0.2s ease both;
  font-weight: 300;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 3;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: none;
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 30px rgba(255,59,95,0.24);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255,59,95,0.32);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(255,59,95,0.08);
}

.hero .btn-ghost {
  color: #eaf3ff;
  border-color: rgba(234,243,255,0.32);
  background: rgba(255,255,255,0.04);
}

.hero-stats {
  position: absolute;
  bottom: 42px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: center;
  width: min(94%, 860px);
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat-item {
  min-width: 0;
  width: calc((100% - 24px) / 3);
  max-width: 240px;
  padding: 16px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.18);
  background: linear-gradient(180deg, rgba(14,16,24,0.44), rgba(8,10,18,0.3));
  box-shadow:
    0 20px 44px rgba(0,0,0,0.22),
    inset 0 1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(24px) saturate(125%);
  -webkit-backdrop-filter: blur(24px) saturate(125%);
  transform: translateZ(0);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 15%, rgba(255,255,255,0.08) 50%, transparent 85%);
  transform: translateX(-130%);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.28);
  box-shadow:
    0 20px 44px rgba(0,0,0,0.26),
    0 0 28px rgba(255,255,255,0.08);
}

.stat-item:hover::before {
  transform: translateX(130%);
  opacity: 1;
}

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: block;
  letter-spacing: -1.5px;
  text-shadow: 0 0 18px rgba(255,255,255,0.12);
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 0.74rem;
  color: rgba(245,241,232,0.72);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

section { padding: 100px 5%; }

.section-label {
  
  font-size: 0.75rem;
  color: white;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 14px;
  display: block;
}

.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 500px;
  margin-bottom: 60px;
}

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
  margin: 0 5%;
}

#servicos { background: transparent; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  background-color: #09090fc4;
  backdrop-filter: blur(18px);
  padding: 44px 40px;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  cursor: default;
  border: none;
  box-shadow: var(--glass-shadow);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgb(255, 0, 0), rgba(147, 59, 255, 0));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover {
  background: linear-gradient(160deg, rgba(13, 13, 13, 0.914), rgba(1, 1, 1, 0.207) 58%, rgba(1, 0, 5, 0.92));
  border-color: rgba(4, 0, 1, 0.34);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24), 0 0 24px rgb(2, 2, 2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 200px; 
  height: 50px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: rgba(255,255,255,0.96);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

.service-icon img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.service-card:hover .service-icon {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(255,59,95,0.18);
}

.service-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }

.service-tag {
  display: inline-block;
  background: rgba(255,59,95,0.08);
  color: var(--accent);
  border: 1px solid rgba(255,255,255,0.14);
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  margin-right: 6px; margin-bottom: 6px;
}

#precos { background: transparent; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--glass-purple);
  backdrop-filter: blur(18px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 40px 36px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  text-align: center;
  box-shadow: var(--glass-shadow);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(255,59,95,0.2), rgba(24,18,38,0.84));
  box-shadow: 0 0 40px rgba(139,92,246,0.18);
}

.featured-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.plan-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 12px;
}

.plan-price {
  font-family: 'Inter', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-card.featured .plan-price { color: var(--accent); }

.plan-from { font-size: 0.8rem; color: var(--muted); margin-bottom: 24px; }

.plan-sep { height: 1px; background: var(--border); margin: 24px auto; width: 100%; }

.plan-features { list-style: none; margin-bottom: 36px; flex: 1; }
.plan-features li {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 7px 0;
  display: flex; align-items: center; gap: 10px;
  text-align: left;
}
.plan-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.btn-plan {
  width: 100%;
  padding: 14px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-align: center;
  display: block;
  text-decoration: none;
}
.btn-plan-outline {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
}
.btn-plan-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-plan-solid {
  background: var(--accent);
  color: var(--bg);
  border: none;
  box-shadow: 0 0 20px rgba(255,59,95,0.26);
}
.btn-plan-solid:hover { box-shadow: 0 4px 30px rgba(255,59,95,0.34); transform: translateY(-1px); }

#portfolio { background: transparent; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.project-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(165deg, rgba(255,255,255,0.12), rgba(139,92,246,0.08));
  border: 1px solid var(--glass-border);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  box-shadow: var(--glass-shadow);
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139,92,246,0.28);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5);
}
.project-card:hover .project-overlay { opacity: 1; }

.project-card.wide { grid-column: span 7; }
.project-card.narrow { grid-column: span 5; }
.project-card.third { grid-column: span 4; }

.project-visual {
  height: 220px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 8px;
  padding: 10px;
  position: relative;
}
.project-card.wide .project-visual { height: 280px; }

.project-photo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.project-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: rgba(8, 8, 8, 0.7);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(5,5,5,0.82);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.overlay-link {
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}
.overlay-link:hover { background: var(--accent); color: var(--bg); }

.project-info { padding: 24px; }
.project-cat { font-size: 0.72rem; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px; }
.project-name { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.project-desc { font-size: 0.85rem; color: var(--muted); }

.tech-marquee {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid rgba(31, 24, 31, 0.327);
  border-bottom: 1px solid rgba(57, 2, 2, 0.404);
  background:
    linear-gradient(115deg, rgba(8, 0, 0, 0.612), rgba(0, 0, 0, 0.24), rgba(10, 0, 17, 0.152), rgba(18, 8, 24, 0.92));
  background-size: 220% 220%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(49, 7, 7, 0.93),
    inset 0 -1px 0 rgba(175, 28, 28, 0.04),
    0 18px 38px rgba(20, 0, 18, 0.22);
  animation: techMarqueeGradient 14s ease infinite;
}
.tech-marquee::before,
.tech-marquee::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.tech-marquee::before { left: 0; background: linear-gradient(90deg, rgba(66, 6, 196, 0.026), transparent); }
.tech-marquee::after { right: 0; background: linear-gradient(-90deg, rgba(9, 0, 24, 0.475), transparent); }

.marquee-track {
  display: flex; gap: 60px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  width: max-content;
}
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes techMarqueeGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tech-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(246,246,246,0.84);
  letter-spacing: 0.5px;
}

.tech-pill-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  box-shadow: 0 0 14px rgba(255,59,95,0.24);
  flex-shrink: 0;
}

#sobre { background: transparent; }

.sobre-card-grid {
  display: grid;
  grid-template-columns: minmax(0, 980px);
  justify-content: center;
  gap: 0;
  align-items: stretch;
}

.sobre-card {
  width: min(100%, 980px);
  margin: 0 auto;
  background: rgb(38, 38, 38);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  box-shadow: 7px 5px 10px rgba(0, 0, 0, 0.333);
  position: relative;
  overflow: hidden;
}

.about-card-top {
  min-height: 142px;
  background: linear-gradient(135deg, #000000 0%, #551520 52%, #5f00d6 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 34px 32px;
  text-align: center;
}

.about-card-avatar {
  width: 144px;
  height: 96px;
  border-radius: 10px;
  background-color: #41414100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 12px 26px rgba(0,0,0,0.24);
}

.about-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.about-card-heading {
  min-width: 0;
  max-width: 720px;
}

.about-card-heading .section-label {
  color: rgba(255,255,255,0.82);
  margin: 0 0 8px;
}

.about-card-heading .section-title {
  color: #ffffff;
  margin: 0;
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  text-wrap: balance;
}

.sobre-role {
  color: rgba(255,255,255,0.86);
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 10px 0 0;
}

.about-card-content {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(260px, 0.82fr);
  gap: 22px;
  margin: 28px 32px 24px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(0,0,0,0.78), rgba(10,10,14,0.62) 58%, rgba(0,0,0,0.82)),
    rgba(0,0,0,0.58);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 18px 42px rgba(0,0,0,0.3);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

.about-description,
.about-results-panel {
  border-radius: 6px;
  background: rgba(8,8,10,0.48);
  border: 1px solid rgba(255,255,255,0.1);
}

.about-description {
  padding: 22px;
}

.about-description strong {
  color: var(--text);
}

.about-results-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  padding: 22px;
}

.about-stat-badge {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 2px;
  border-bottom: 2px solid #262626;
}

.about-stat-badge strong {
  color: #ff5858;
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  line-height: 0.9;
}

.about-stat-badge span {
  color: rgba(255,255,255,0.86);
  font-size: 0.9rem;
  line-height: 1.25;
}

.skill-bar-wrap { margin-bottom: 0; }
.skill-bar-header { display: flex; justify-content: space-between; gap: 16px; font-size: 0.82rem; color: rgba(255,255,255,0.74); margin-bottom: 7px; }
.skill-bar-bg { height: 4px; background: #262626; border-radius: 2px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; border-radius: 2px;
  background: linear-gradient(90deg, #ff5858, var(--accent2));
  animation: fillBar 1.5s ease forwards;
  transform-origin: left;
}
@keyframes fillBar { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sobre-text {
  color: rgba(255,255,255,0.76);
  line-height: 1.75;
  margin-bottom: 16px;
}

.sobre-text:last-of-type {
  margin-bottom: 18px;
}

.value-list {
  list-style: none;
}

.value-list li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,0.78);
  font-size: 0.9rem;
  line-height: 1.45;
}

.value-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.value-icon {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,88,88,0.12);
  color: #ff8a8a;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
}

.about-profile-card .about-map-block {
  margin: 0 32px 32px;
  padding-top: 18px;
  border-top: 2px solid #414141;
  align-items: stretch;
}

.about-profile-card .contact-map-meta {
  justify-content: flex-start;
}

.about-profile-card .contact-map-card {
  width: 100%;
  margin: 0;
  border-radius: 8px;
}

.about-profile-card .contact-map {
  border-radius: 6px;
}

#contato {
  background: transparent;
  position: relative;
  overflow: hidden;
  padding-top: 48px;
}

.contact-bg-text {
  position: absolute;
  font-family: 'Inter', sans-serif;
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 800;
  color: rgba(255,255,255,0.02);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: -5px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  position: relative;
}

.contact-map-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.contact-map-meta-centered {
  justify-content: center;
}

.contact-map-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,59,95,0.1);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-map-label {
  color: rgba(246,246,246,0.78);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-map-card {
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.015)),
    linear-gradient(135deg, rgba(255,59,95,0.18), rgba(139,92,246,0.1));
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.32),
    0 0 30px rgba(139,92,246,0.14),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  position: relative;
  overflow: hidden;
}

.contact-map-card-inline {
  margin-bottom: 0;
}

.about-map-block {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-map-card {
  width: min(100%, 360px);
  margin-bottom: 0;
}

.contact-map-card::before {
  content: '';
  position: absolute;
  inset: -24%;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,59,95,0.2), transparent 22%),
    radial-gradient(circle at 80% 18%, rgba(139,92,246,0.18), transparent 20%),
    radial-gradient(circle at 78% 22%, rgba(255,255,255,0.09), transparent 18%),
    radial-gradient(circle at 50% 100%, rgba(120,120,120,0.12), transparent 28%);
  filter: blur(28px);
  opacity: 0.9;
  pointer-events: none;
}

.contact-map {
  display: block;
  width: 100%;
  height: 220px;
  border: 0;
  border-radius: 14px;
  filter: grayscale(0.12) contrast(1.02) saturate(0.92);
  opacity: 0.86;
  position: relative;
  z-index: 1;
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.form-group input,
.form-group textarea,
.form-group select {
  background: linear-gradient(165deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(14px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgba(255,59,95,0.14);
}
.form-group textarea { height: 140px; resize: vertical; }
.form-group select option { background: var(--surface2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-submit {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 50px;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  opacity: 1 !important;
  visibility: visible !important;
}

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-info-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}
.contact-info-title em { color: var(--accent); font-style: normal; }

.contact-info-desc { color: var(--muted); font-size: 1rem; max-width: 380px; }

.contact-channels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
  width: 100%;
}
.channel-item {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: transform 0.2s, opacity 0.2s;
  text-decoration: none;
  color: var(--text);
  box-shadow: none;
  opacity: 1 !important;
  visibility: visible !important;
}
.channel-item:hover {
  transform: translateY(-4px) scale(1.04);
  opacity: 0.92;
}

.channel-item img {
  width: 54px;
  height: 54px;
  display: block;
  object-fit: contain;
  transition: transform 0.2s;
}

.channel-item-instagram img {
  width: 62px;
  height: 62px;
  mix-blend-mode: screen;
}

.channel-item:hover img {
  transform: scale(1.08);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(192,132,252,0.75);
  outline-offset: 2px;
}

footer {
  padding: 40px 5%;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.footer-copy { font-size: 0.82rem; color: var(--muted); }
.footer-copy span { color: var(--accent); }

.footer-dev {
  font-size: 0.84rem;
  color: var(--muted);
}

.footer-dev a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

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

.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 0.82rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }

.scroll-line {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: linear-gradient(90deg, #000000, var(--accent));
  z-index: 101;
  transition: width 0.1s;
}

.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: rgba(12,12,14,0.88);
  backdrop-filter: blur(18px);
  border: 1px solid var(--accent);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--accent);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 200;
}
.toast.show { transform: translateY(0); opacity: 1; }

.aos { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.aos.visible { opacity: 1; transform: none; }
.aos-delay-1 { transition-delay: 0.1s; }
.aos-delay-2 { transition-delay: 0.2s; }
.aos-delay-3 { transition-delay: 0.3s; }

body.gsap-active .hero-badge,
body.gsap-active .hero-brand,
body.gsap-active .hero h1,
body.gsap-active .hero-desc,
body.gsap-active .hero-actions,
body.gsap-active .hero-stats {
  animation: none;
}

body.gsap-active .aos {
  opacity: 1;
  transform: none;
  transition: none;
}

body.gsap-active .hero {
  perspective: 1200px;
}

@media (max-width: 900px) {
  .pill-nav-container {
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 12px);
    max-width: 100%;
  }
  .pill-nav {
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px;
    border-radius: 20px;
  }
  .pill-list {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 4px;
  }
  .pill {
    min-height: 30px;
    width: auto;
    font-size: 0.62rem;
    padding: 0 8px;
  }
  .hero {
    display: flex;
    align-items: flex-start;
    padding-top: 86px;
    padding-bottom: 170px;
    margin: 0;
    border-radius: 0;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
  }
  .hero-content {
    max-width: 100%;
    width: 100%;
    padding-top: 14px;
  }
  .hero-brand {
    gap: 6px;
    margin-bottom: 22px;
  }
  .hero-brand-mark {
    width: min(42vw, 164px);
  }
  .hero-brand-copy {
    margin-left: 0;
  }
  .hero-brand-title {
    font-size: clamp(1.12rem, 5.6vw, 1.7rem);
    letter-spacing: 0.1em;
  }
  .hero-brand-subtitle {
    font-size: 0.78rem;
    letter-spacing: 0.2em;
  }
  .hero h1 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 9vw, 3.2rem);
    letter-spacing: -1px;
    line-height: 1.08;
  }
  .hero-desc {
    max-width: 100%;
    margin-bottom: 28px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .about-card-content { grid-template-columns: 1fr; }
  .about-card-top { align-items: center; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .project-card.wide,
  .project-card.narrow,
  .project-card.third { grid-column: span 12; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats {
    position: absolute;
    bottom: 68px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(95%, 430px);
    margin-top: 0;
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
    gap: 8px;
    flex-wrap: nowrap;
  }
  .stat-item {
    width: calc((100% - 16px) / 3);
    min-width: 0;
    flex: 1 1 0;
    padding: 10px 8px;
    text-align: center;
    border-radius: 16px;
  }
  .stat-num {
    font-size: 1.45rem;
  }
  .stat-label {
    margin-top: 4px;
    font-size: 0.58rem;
    letter-spacing: 0.7px;
  }
  .portfolio-grid { grid-template-columns: 1fr; }
  .project-visual {
    height: 180px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }
  .project-card.wide .project-visual { height: 200px; }
  .rotating-text {
    font-size: 0.78em;
    padding-inline: 0;
    box-shadow: none;
  }
  .hero-badge {
    top: auto;
    bottom: 154px;
    font-size: 0.66rem;
    letter-spacing: 0.8px;
    min-height: 60px;
    padding: 10px 16px;
    min-width: min(72vw, 292px);
    max-width: calc(100% - 20px);
    text-align: center;
    white-space: normal;
    line-height: 1.15;
  }
}

@media (max-width: 420px) {
  section {
    padding: 84px 4.25%;
  }

  .divider {
    margin: 0 4.25%;
  }

  .pill-nav-container {
    top: 6px;
    width: calc(100% - 10px);
  }

  .pill-nav {
    padding: 7px 6px;
    border-radius: 18px;
  }

  .pill-list {
    gap: 3px;
  }

  .pill {
    min-height: 28px;
    padding: 0 7px;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .hero {
    width: 100%;
    padding-top: 80px;
    padding-bottom: 178px;
  }

  .hero-video-bg video {
    object-position: center top;
  }

  .hero-content {
    padding-top: 12px;
  }

  .hero-brand {
    margin-bottom: 18px;
  }

  .hero-brand-mark {
    width: min(36vw, 136px);
  }

  .hero-brand-title {
    font-size: clamp(1rem, 5vw, 1.45rem);
  }

  .hero-brand-subtitle {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
  }

  .hero h1 {
    font-size: clamp(1.88rem, 10.5vw, 2.7rem);
    line-height: 1.02;
    margin-bottom: 16px;
  }

  .hero-desc {
    max-width: 96%;
    font-size: 0.94rem;
    line-height: 1.26;
    margin-bottom: 18px;
  }

  .hero-actions {
    width: 100%;
    gap: 10px;
    justify-content: center;
  }

  .hero-actions a {
    padding: 12px 18px;
    font-size: 0.82rem;
  }

  .hero-badge {
    bottom: 136px;
    min-width: calc(100% - 36px);
    max-width: calc(100% - 36px);
    font-size: 0.6rem;
    padding: 7px 12px;
  }

  .hero-stats {
    bottom: 28px;
    width: calc(100% - 20px);
    gap: 6px;
  }

  .stat-item {
    padding: 9px 6px;
    border-radius: 14px;
  }

  .stat-num {
    font-size: 1.24rem;
  }

  .stat-label {
    font-size: 0.51rem;
    letter-spacing: 0.04em;
  }

  .tech-marquee {
    padding: 30px 0;
  }

  .about-card-top {
    gap: 16px;
    padding: 22px 18px;
  }

  .about-card-avatar {
    width: 124px;
    height: 82px;
  }

  .about-card-heading .section-title {
    font-size: 1.72rem;
    line-height: 1.08;
  }

  .about-card-content {
    gap: 16px;
    margin: 18px;
    padding: 14px;
  }

  .about-description,
  .about-results-panel {
    padding: 16px;
  }

  .about-stat-badge {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .value-list li {
    gap: 10px;
    font-size: 0.84rem;
  }

  .about-profile-card .about-map-block {
    margin: 0 18px 18px;
  }

  .about-profile-card .contact-map-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .marquee-track {
    gap: 38px;
    animation-duration: 22s;
  }
}

@media (max-width: 480px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-height: max(100svh, 760px);
    padding-bottom: 42px;
  }

  .hero-content {
    order: 1;
    width: 100%;
  }

  .hero-badge {
    position: static;
    order: 2;
    align-self: center;
    transform: none;
    margin: 16px auto 12px;
    min-width: min(10vw, 320px);
    max-width: min(84vw, 320px);
  }

  .hero-stats {
    position: static;
    order: 3;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    justify-content: center;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: calc(100% - 8px);
    max-width: 360px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    gap: 6px;
  }

  .hero-stats .stat-item {
    width: 100%;
    max-width: none;
    margin: 0;
  }
}

@media (max-width: 420px) and (max-height: 740px) {
  .hero {
    padding-top: 78px;
    padding-bottom: 34px;
  }

  .hero-brand-mark {
    width: min(34vw, 128px);
  }

  .hero-desc {
    margin-bottom: 14px;
  }

  .hero-actions {
    gap: 8px;
    justify-content: center;
  }

  .hero-actions a {
    padding: 11px 14px;
    font-size: 0.78rem;
  }

  .hero-badge {
    margin-top: 12px;
    margin-bottom: 10px;
  }

  .hero-stats {
    margin-top: 0;
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .hero h1 {
    font-size: clamp(2.25rem, 5vw, 4rem);
    letter-spacing: -1.2px;
  }
  .rotating-text {
    font-size: 0.86em;
    box-shadow: none;
  }
  .hero-stats {
    position: absolute;
    bottom: 20px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: min(95%, 860px);
    justify-content: center;
    margin-top: 0;
  }
  .hero-badge {
    bottom: 132px;
  }
  .stat-item {
    text-align: left;
  }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
