:root {
  --bg: #050608;
  --surface: rgba(14, 18, 20, 0.68);
  --surface2: rgba(20, 26, 28, 0.82);
  --accent: #83e8ba;
  --accent2: #689689;
  --accent3: #b2e6d4;
  --text: #f2f6f3;
  --muted: #9da7a3;
  --border: rgba(178,230,212,0.14);
  --glow: 0 0 40px rgba(131,232,186,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(circle at top right, rgba(131,232,186,0.12), transparent 24%),
    radial-gradient(circle at 20% 80%, rgba(104,150,137,0.12), transparent 28%),
    linear-gradient(180deg, rgba(178,230,212,0.02), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  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 top, rgba(131,232,186,0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(104,150,137,0.12), transparent 24%),
    #050608;
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

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

.page-loader-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0px;
  width: min(800px, 100%);
  min-height: calc(100vh - 48px);
  min-height: calc(100dvh - 48px);
  text-align: center;
}

.page-loader-svg {
  width: min(760px, 88vw);
  height: auto;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0 38px rgba(131,232,186,0.12));
  margin-bottom: -40px;
}

.page-loader-text {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3.2rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  paint-order: stroke fill;
}

.page-loader-brand-ghost {
  fill: rgb(0, 0, 0);
  stroke: rgb(0, 0, 0);
  stroke-width: 1px;
}

.page-loader-brand-outline {
  fill: transparent;
  stroke: rgb(67, 6, 172);
  stroke-width: 1.5px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1100;
  stroke-dashoffset: 1100;
  animation: loaderStroke 2.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.page-loader-brand-mask {
  animation: loaderReveal 1.9s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.25s;
}

.page-loader-brand-fill {
  fill: url(#loaderGradient);
  opacity: 1;
  filter: drop-shadow(0 0 22px rgb(1, 1, 1));
  animation: loaderFill 1.0s ease forwards 4.55s;
}

.page-loader-subbrand {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 500;
  letter-spacing: 0.56em;
  text-transform: uppercase;
  fill: rgb(250, 255, 251);
  opacity: 0;
  transform: translateY(-4px);
  transform-box: fill-box;
  transform-origin: center;
  animation: loaderCaption 0.9s ease forwards 1.55s;
}

.page-loader-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  color: rgba(240, 240, 240, 0.72);
  font-size: clamp(0.72rem, 1.2vw, 0.86rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  animation: loaderCaption 1s ease forwards 1.9s;
  opacity: 0;
  text-align: center;
  width: 100%;
  padding-inline: 24px;
}

/* From Uiverse.io by asgardOP - barras animadas adaptadas ao tema */
.uiverse-bars {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: clamp(64px, 11vw, 94px);
  margin-top: 0;
  margin-bottom: 1px;
  transform: translateY(-14px);
  opacity: 0;
  animation: loaderCaption 0.9s ease forwards 1.65s;
}

.loader {
  display: flex;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 255, 217, 0.95), rgb(0, 255, 94));
  position: relative;
  transform-origin: center;
}
.l1 { animation: uiverse-bar 1s 0s infinite ease; }
.l2 { animation: uiverse-bar 1s 0.08s infinite ease; }
.l3 { animation: uiverse-bar 1s 0.16s infinite ease; }
.l4 { animation: uiverse-bar 1s 0.24s infinite ease; }
.l5 { animation: uiverse-bar 1s 0.32s infinite ease; }

@keyframes uiverse-bar {
  0% {
    width: 56px;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
  }
  50% {
    width: 16px;
    opacity: 0.28;
    filter: drop-shadow(0 0 0 rgba(131,232,186,0));
  }
  100% {
    width: 56px;
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(131,232,186,0.2));
  }
}

@keyframes loaderStroke {
  0% {
    stroke-dashoffset: 1100;
    opacity: 0.3;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

@keyframes loaderReveal {
  from {
    width: 0;
  }
  to {
    width: 760px;
  }
}

@keyframes loaderFill {
  from {
    opacity: 0.2;
    filter: drop-shadow(0 0 0 rgba(131,232,186,0));
  }
  to {
    opacity: 1;
    filter: drop-shadow(0 0 22px rgba(131,232,186,0.16));
  }
}

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

@media (max-width: 640px) {
  .page-loader-inner {
    gap: 0;
    width: 100%;
    min-height: calc(100vh - 48px);
    min-height: calc(100dvh - 48px);
  }

  .page-loader-svg {
    width: min(92vw, 520px);
    margin-bottom: -14px;
    order: 1;
  }

  .page-loader-text {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .page-loader-subbrand {
    font-size: clamp(0.72rem, 3vw, 0.92rem);
    transform: translateY(-2px);
  }

  .page-loader-caption {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    bottom: 22px;
    padding-inline: 18px;
  }

  .uiverse-bars {
    width: 52px;
    gap: 4px;
    margin-top: 0;
    margin-bottom: 0;
    transform: translateY(-8px);
    order: 3;
  }

  .loader {
    width: 42px;
    height: 3px;
  }

  @keyframes uiverse-bar {
    0% {
      width: 42px;
      opacity: 1;
      filter: drop-shadow(0 0 8px rgba(131,232,186,0.18));
    }
    50% {
      width: 12px;
      opacity: 0.28;
      filter: drop-shadow(0 0 0 rgba(131,232,186,0));
    }
    100% {
      width: 42px;
      opacity: 1;
      filter: drop-shadow(0 0 8px rgba(131,232,186,0.18));
    }
  }
}

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.4;
}

nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 5%;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(5,6,8,0.66);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.logo em { color: var(--accent2); font-style: normal; }

.nav-links { display: flex; gap: 36px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  padding: 10px 22px;
  border-radius: 4px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
}
.nav-cta:hover {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 20px rgba(131,232,186,0.34);
}

.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(178,230,212,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(178,230,212,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(131,232,186,0.16) 0%, transparent 70%);
  top: -100px; right: -100px;
  animation: pulseGlow 6s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(104,150,137,0.18) 0%, transparent 70%);
  bottom: 0; left: 10%;
  animation: pulseGlow 8s ease-in-out infinite reverse;
}

@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; }

.hero h1 > span,
.hero-desc,
.hero-actions,
.hero-stats,
.hero-badge,
.service-card,
.pricing-card,
.project-card,
.sobre-card,
.value-list li,
.channel-item,
.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; gap: 8px;
  border: 1px solid rgba(131,232,186,0.28);
  background: rgba(178,230,212,0.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(14px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: fadeUp 0.8s ease forwards;
  transform-origin: left center;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--accent);
  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: var(--muted); display: block; font-weight: 400; font-size: 60%; }

.rotating-text {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  padding: 0.06em 0.22em 0.14em;
  border-radius: 0.18em;
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  color: var(--bg);
  box-shadow: 0 12px 34px rgba(178,230,212,0.18);
  overflow: hidden;
  vertical-align: top;
  line-height: 1;
}

.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;
  flex: 0 0 auto;
  min-height: 1em;
  min-width: 1ch;
  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;
  will-change: transform, opacity;
}

.rotating-text-word {
  display: inline-flex;
  overflow: hidden;
  padding-bottom: 0.04em;
}

.rotating-text-char {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.68s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.32s ease;
  transition-delay: var(--char-delay, 0s);
  will-change: transform, opacity;
}

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

.rotating-text-line.is-exiting .rotating-text-char {
  transform: translateY(-125%);
  opacity: 0;
}

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

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

.rotating-text.rotating-text-simple .rotating-text-line {
  opacity: 0;
  transform: translateY(18%);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.22s ease;
}

.rotating-text.rotating-text-simple .rotating-text-char {
  transform: none;
  opacity: 1;
  transition: none;
  will-change: auto;
}

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

.rotating-text.rotating-text-simple .rotating-text-line.is-exiting {
  opacity: 0;
  transform: translateY(-18%);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--muted);
  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;
  animation: fadeUp 0.8s 0.3s ease both;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 16px 32px;
  border-radius: 4px;
  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(131,232,186,0.26);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(131,232,186,0.34);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 16px 32px;
  border-radius: 4px;
  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(178,230,212,0.06);
}

.hero-stats {
  position: absolute; bottom: 48px; right: 5%;
  z-index: 2;
  display: flex; gap: 18px;
  animation: fadeUp 0.8s 0.4s ease both;
}
.stat-item {
  min-width: 170px;
  padding: 18px 20px;
  text-align: right;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(178,230,212,0.14);
  background:
    linear-gradient(180deg, rgba(10,14,15,0.82), rgba(10,14,15,0.58)),
    linear-gradient(135deg, rgba(131,232,186,0.06), rgba(104,150,137,0.12));
  box-shadow:
    0 18px 48px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(18px);
  transform: translateZ(0);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s 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(-6px);
  border-color: rgba(131,232,186,0.26);
  box-shadow:
    0 24px 54px rgba(0,0,0,0.34),
    0 0 34px rgba(131,232,186,0.1);
}

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

.stat-num {
  font-family: 'Inter', sans-serif;
  font-size: 2.45rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  display: block;
  letter-spacing: -1.5px;
  text-shadow: 0 0 24px rgba(131,232,186,0.16);
}
.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: var(--accent);
  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: var(--surface);
  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: 1px solid rgba(178,230,212,0.08);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}
.service-card:hover {
  background: var(--surface2);
  border-color: rgba(131,232,186,0.18);
  box-shadow: 0 18px 44px rgba(0,0,0,0.24);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 52px; height: 52px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover .service-icon {
  border-color: var(--accent);
  box-shadow: 0 0 16px rgba(131,232,186,0.18);
}

/* ícone interno (font awesome) */
.service-icon i {
  color: var(--accent2);
  line-height: 1;
  transition: color 0.25s ease, transform 0.25s ease;
  font-size: 1.4rem; /* garante consistência visual */
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent3), var(--accent));
  border-color: rgba(131,232,186,0.34);
}
.service-card:hover .service-icon i {
  color: var(--bg);
  transform: translateY(-2px);
}

.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(178,230,212,0.08);
  color: var(--accent);
  border: 1px solid rgba(178,230,212,0.18);
  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(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--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;
}
.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(131,232,186,0.1), rgba(14,18,20,0.76));
  box-shadow: 0 0 40px rgba(131,232,186,0.08);
}

.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: 6px;
  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(131,232,186,0.26);
}
.btn-plan-solid:hover { box-shadow: 0 4px 30px rgba(131,232,186,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: var(--surface2);
  border: 1px solid var(--border);
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(131,232,186,0.18);
  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: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.project-card.wide .project-visual { height: 280px; }

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.02);
  transition: transform 0.45s ease, filter 0.45s ease;
}

.project-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,6,8,0.08) 0%, rgba(5,6,8,0.4) 100%);
  pointer-events: none;
}

.project-overlay {
  position: absolute; inset: 0;
  background: rgba(5,6,8,0.82);
  opacity: 0;
  transition: opacity 0.3s;
  display: flex; align-items: center; justify-content: center;
  z-index: 2;
}
.project-card:hover .project-image { transform: scale(1.04); filter: saturate(1.12) contrast(1.05); }
.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: 'Syne', 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 var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(12,16,17,0.72);
  backdrop-filter: blur(16px);
}
.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, var(--surface2), transparent); }
.tech-marquee::after { right: 0; background: linear-gradient(-90deg, var(--surface2), 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%); } }

.tech-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(242,246,243,0.78);
  letter-spacing: 0.5px;
}
.tech-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(178,230,212,0.08));
}

#sobre { background: transparent; }

.sobre-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.sobre-card {
  background: var(--surface);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.sobre-card::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(131,232,186,0.14), transparent 70%);
}

.sobre-avatar {
  width: 80px; height: 80px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 20px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin-bottom: 24px;
}

.sobre-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}

.sobre-role { color: var(--accent); font-size: 0.9rem; margin-bottom: 20px; }

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

.float-badge {
  position: absolute;
  background: rgba(12,16,17,0.78);
  backdrop-filter: blur(18px);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.8rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.float-badge.b1 { bottom: -20px; right: -20px; }
.float-badge strong { display: block; font-family: 'Inter', sans-serif; font-size: 1.2rem; color: var(--accent); }

.sobre-text { color: var(--muted); line-height: 1.9; margin-bottom: 24px; }

.value-list { list-style: none; }
.value-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 14px;
  font-size: 0.92rem;
}
.value-icon {
  width: 34px; height: 34px;
  border: 1px solid rgba(178,230,212,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

#contato {
  background: transparent;
  position: relative;
  overflow: hidden;
}

.contact-bg-text {
  position: absolute;
  font-family: 'Syne', 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-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: rgba(16,20,22,0.78);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
  color: var(--text);
  font-family: 'DM Sans', 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(131,232,186,0.12);
}
.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-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; flex-direction: column; gap: 12px; }
.channel-item {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: rgba(16,20,22,0.72);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: border-color 0.2s;
  text-decoration: none;
  color: var(--text);
}
.channel-item:hover { border-color: var(--accent); }
.channel-icon {
  width: 40px; height: 40px;
  background: rgba(178,230,212,0.08);
  border: 1px solid rgba(178,230,212,0.18);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.channel-label { font-size: 0.75rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.channel-value { font-size: 0.95rem; font-weight: 400; }

footer {
  padding: 40px 5%;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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

.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, #00f908, #ff9900, #f869ee, #00d4ff, #ffe100);
  z-index: 101;
  transition: width 0.1s;
}

.toast {
  position: fixed;
  bottom: 30px; right: 30px;
  background: rgba(12,16,17,0.84);
  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; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

.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 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) {
  .hamburger { display: flex; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hero {
    display: block;
    padding-top: 100px;
    padding-bottom: 56px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero h1 {
    margin-bottom: 20px;
  }
  .hero-desc {
    max-width: 100%;
    margin-bottom: 28px;
  }
  .services-grid { grid-template-columns: 1fr; }
  .sobre-grid { grid-template-columns: 1fr; }
  .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: static;
    width: 100%;
    margin-top: 12px;
    justify-content: stretch;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .stat-item {
    width: 100%;
    min-width: 0;
    flex: none;
    padding: 14px 16px;
    text-align: left;
    border-radius: 16px;
  }
  .stat-num {
    font-size: 1.9rem;
  }
  .stat-label {
    margin-top: 6px;
    font-size: 0.68rem;
  }
  .portfolio-grid { grid-template-columns: 1fr; }
  .rotating-text {
    padding-inline: 0.16em;
    box-shadow: 0 10px 26px rgba(178,230,212,0.14);
  }
}

@media (max-width: 1200px) and (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
