/* ============================================================
   BRAZZA STUDIO — style.css
   Dark futuristic theme with Brazilian neon accents
   ============================================================ */

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

:root {
  /* Brand Colors */
  --orange:  #FF6B00;
  --yellow:  #FFD600;
  --green:   #00C853;
  --blue:    #0099FF;
  --neon-o:  #FF8C00;
  --neon-g:  #00FF88;
  --neon-b:  #00BFFF;

  /* Dark Palette */
  --bg:        #070A0F;
  --bg-2:      #0D1117;
  --bg-3:      #111827;
  --surface:   #161D2B;
  --surface-2: #1E2A3B;
  --border:    rgba(255,255,255,0.07);
  --border-2:  rgba(255,255,255,0.12);

  /* Text */
  --text:      #F0F4FF;
  --text-2:    #9AAFC8;
  --text-3:    #5B7090;

  /* Fonts */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Syne', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Glow */
  --glow-o: 0 0 20px rgba(255, 107, 0, 0.5), 0 0 60px rgba(255, 107, 0, 0.15);
  --glow-g: 0 0 20px rgba(0, 200, 83, 0.5),  0 0 60px rgba(0, 200, 83, 0.15);
  --glow-b: 0 0 20px rgba(0, 153, 255, 0.5), 0 0 60px rgba(0, 153, 255, 0.15);
  --glow-y: 0 0 20px rgba(255, 214, 0, 0.5), 0 0 60px rgba(255, 214, 0, 0.15);

  /* Layout */
  --max-w: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: none; font-family: inherit; border: none; background: none; }
ul { list-style: none; }

/* ── PARTICLES CANVAS ── */
#particles-canvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  width: 12px; height: 12px;
  background: var(--orange);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.2s;
  box-shadow: var(--glow-o);
}

#cursor-trail {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255, 107, 0, 0.4);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: top 0.12s ease, left 0.12s ease;
}

body.cursor-hover #cursor { transform: translate(-50%, -50%) scale(2); background: var(--neon-g); box-shadow: var(--glow-g); }
body.cursor-hover #cursor-trail { border-color: rgba(0, 200, 83, 0.4); transform: translate(-50%, -50%) scale(1.4); }

@media (hover: none) {
  #cursor, #cursor-trail { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

/* ── LOADER ── */
#loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden { opacity: 0; visibility: hidden; }

.loader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.loader-logo {
  font-family: var(--font-display);
  font-size: clamp(48px, 10vw, 80px);
  letter-spacing: 0.15em;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: loader-pulse 1.2s ease-in-out infinite;
}

.loader-bar {
  width: 200px;
  height: 2px;
  background: var(--surface-2);
  border-radius: 2px;
  overflow: hidden;
}

.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  border-radius: 2px;
  width: 0%;
  animation: loader-bar 2s ease forwards;
  box-shadow: 0 0 10px var(--orange);
}

.loader-text {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

@keyframes loader-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes loader-bar {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ── SCROLL BAR ── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--orange); border-radius: 4px; }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(7, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.12em;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  z-index: 11;
}

.logo-b { color: var(--orange); }
.logo-dot { color: var(--green); }

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

.nav-link {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  transition: color var(--transition), background var(--transition);
  letter-spacing: 0.02em;
}

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

.nav-link.nav-cta {
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  padding: 8px 20px;
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.3);
}

.nav-link.nav-cta:hover { box-shadow: var(--glow-o); transform: translateY(-1px); background: var(--surface); color: var(--orange); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 11;
  position: relative;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 107, 0, 0.3);
}

.btn-primary:hover {
  box-shadow: var(--glow-o);
  transform: translateY(-2px);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1.5px solid var(--border-2);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--orange);
  box-shadow: inset 0 0 20px rgba(255, 107, 0, 0.05), var(--glow-o);
}

.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── SECTION BASE ── */
.section { position: relative; padding: 100px 0; z-index: 1; }
.section-dark { background: var(--bg-2); }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-header { text-align: center; margin-bottom: 64px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  border: 1px solid rgba(255, 107, 0, 0.25);
  background: rgba(255, 107, 0, 0.06);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: 0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 17px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(135deg, var(--orange) 0%, var(--yellow) 40%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── ANIMATE ON SCROLL ── */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-animate="fade-left"] { transform: translateX(60px); }
[data-animate="fade-right"] { transform: translateX(-60px); }

[data-animate].visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 0, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 0, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 40%, transparent 80%);
}

.hero-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  border: 1px solid rgba(0, 200, 83, 0.25);
  background: rgba(0, 200, 83, 0.06);
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  animation: dot-pulse 2s ease-in-out infinite;
  box-shadow: 0 0 10px var(--green);
}

@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.95;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 28px;
}

.title-line { display: block; }

.title-accent {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px rgba(255, 107, 0, 0.4));
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
}

.hero-divider {
  width: 1px;
  height: 40px;
  background: var(--border-2);
}

/* Hero Visual */
.hero-visual { position: relative; }

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.hero-glow {
  position: absolute;
  inset: -30px;
  background: radial-gradient(ellipse at center, rgba(255, 107, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.hero-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  filter: brightness(0.85) saturate(1.1);
}

.hero-floating-card {
  position: absolute;
  background: rgba(22, 29, 43, 0.92);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

.card-1 { bottom: -20px; left: -30px; animation-delay: 0s; }
.card-2 { top: 30px; right: -30px; animation-delay: 3s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

.fc-icon { font-size: 24px; }
.fc-text { font-size: 13px; line-height: 1.4; }
.fc-text strong { color: var(--orange); }

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
  animation: fade-in-up 1s ease 2s both;
}

.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid var(--text-3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}

.scroll-wheel {
  width: 3px; height: 6px;
  background: var(--text-3);
  border-radius: 2px;
  animation: scroll-wheel 2s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 0.4; transform: translateX(-50%) translateY(0); }
}

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

.sobre-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
}

.sobre-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-2);
  filter: brightness(0.9);
}

.sobre-decor {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 107, 0, 0.15);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.sobre-badge-floating {
  position: absolute;
  top: 30px; right: -30px;
  background: linear-gradient(135deg, var(--orange), #FF8C00);
  border-radius: var(--radius);
  padding: 16px 20px;
  text-align: center;
  box-shadow: var(--glow-o);
}

.sbf-number {
  font-family: var(--font-display);
  font-size: 36px;
  color: #fff;
  line-height: 1;
}

.sbf-text {
  font-size: 12px;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

.sobre-content { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }

.sobre-text {
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.sobre-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0 36px;
}

.sf-item {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-2);
}

.sf-icon { font-size: 20px; }

/* ── SERVICES GRID ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover { transform: translateY(-6px); border-color: var(--border-2); }

.sc-glow {
  position: absolute;
  width: 120px; height: 120px;
  border-radius: 50%;
  top: -40px; right: -40px;
  opacity: 0;
  transition: opacity var(--transition);
  filter: blur(40px);
}

.service-card:hover .sc-glow { opacity: 0.6; }

.sc-glow-orange { background: var(--orange); }
.sc-glow-green  { background: var(--green); }
.sc-glow-blue   { background: var(--blue); }
.sc-glow-yellow { background: var(--yellow); }

.service-card:nth-child(1):hover, .service-card:nth-child(4):hover { box-shadow: 0 20px 60px rgba(255, 107, 0, 0.12); }
.service-card:nth-child(2):hover, .service-card:nth-child(5):hover { box-shadow: 0 20px 60px rgba(0, 200, 83, 0.12); }
.service-card:nth-child(3):hover, .service-card:nth-child(6):hover { box-shadow: 0 20px 60px rgba(0, 153, 255, 0.12); }

.sc-icon {
  width: 52px; height: 52px;
  background: var(--surface-2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--border-2);
}

.sc-icon svg { width: 26px; height: 26px; color: var(--orange); }
.service-card:nth-child(2) .sc-icon svg,
.service-card:nth-child(5) .sc-icon svg { color: var(--green); }
.service-card:nth-child(3) .sc-icon svg,
.service-card:nth-child(6) .sc-icon svg { color: var(--blue); }

.sc-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.sc-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 20px;
}

.sc-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.sc-tags span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 6px;
}

/* ── PROCESSO ── */
.processo-wrapper { position: relative; }

.processo-line {
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), var(--yellow), var(--green), transparent);
  opacity: 0.3;
}

.processo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.processo-step {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ps-number {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 107, 0, 0.2);
  margin-bottom: -20px;
}

.ps-icon-wrapper {
  width: 80px; height: 80px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.processo-step:nth-child(1) .ps-icon-wrapper { border-color: rgba(255, 107, 0, 0.4); box-shadow: 0 0 30px rgba(255, 107, 0, 0.1); }
.processo-step:nth-child(2) .ps-icon-wrapper { border-color: rgba(0, 153, 255, 0.4); box-shadow: 0 0 30px rgba(0, 153, 255, 0.1); }
.processo-step:nth-child(3) .ps-icon-wrapper { border-color: rgba(0, 200, 83, 0.4); box-shadow: 0 0 30px rgba(0, 200, 83, 0.1); }

.ps-icon { width: 36px; height: 36px; }
.ps-icon svg { width: 100%; height: 100%; }
.processo-step:nth-child(1) .ps-icon svg { color: var(--orange); }
.processo-step:nth-child(2) .ps-icon svg { color: var(--blue); }
.processo-step:nth-child(3) .ps-icon svg { color: var(--green); }

.ps-title {
  font-family: var(--font-display);
  font-size: 28px;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.ps-desc {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}

.ps-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: brightness(0.8) saturate(0.9);
  transition: filter var(--transition);
}

.processo-step:hover .ps-img { filter: brightness(0.9) saturate(1.1); }

/* ── PORTFOLIO ── */
/* =========================
   GRID
========================= */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 20px;
  margin-bottom: 40px;
}

/* =========================
   CARD
========================= */
.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

/* CARD GRANDE */
.port-lg {
  grid-column: span 2;
  grid-row: span 2;
}

/* =========================
   IMAGEM
========================= */
.pc-img-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.pc-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  /* padrão: escura e nítida */
  filter: brightness(0.6) saturate(0.9);
  transition: transform 0.6s ease, filter 0.6s ease;
}

/* HOVER: borrada */
.portfolio-card:hover .pc-img-wrapper img {
  transform: scale(1.05);
  filter: brightness(0.7) blur(4px) saturate(1.1);
}

/* TOUCH */
.portfolio-card:active .pc-img-wrapper img {
  filter: brightness(0.7) blur(4px) saturate(1.1);
}

/* =========================
   OVERLAY (DEGRADE L→R)
========================= */
.pc-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  /* inicialmente invisível */
  background: linear-gradient(
    to right,
    rgba(255, 107, 0, 0),
    rgba(255, 200, 0, 0),
    rgba(0, 200, 120, 0)
  );

  display: flex;
  align-items: flex-end;
  padding: 28px;

  transition: all 0.4s ease;
}

/* HOVER: ativa degradê horizontal */
.portfolio-card:hover .pc-overlay {
  background: linear-gradient(
    to right,
    rgba(255, 107, 0, 0.85),   /* laranja (esquerda) */
    rgba(255, 200, 0, 0.6),    /* amarelo (meio) */
    rgba(0, 200, 120, 0.4)     /* verde (direita) */
  );

  align-items: center;
  justify-content: center;
}

/* TOUCH */
.portfolio-card:active .pc-overlay {
  background: linear-gradient(
    to right,
    rgba(255, 107, 0, 0.85),
    rgba(255, 200, 0, 0.6),
    rgba(0, 200, 120, 0.4)
  );
}

/* =========================
   CONTEÚDO
========================= */
.pc-overlay-content {
  color: var(--text);
  transition: all 0.3s ease;
}

.portfolio-card:hover .pc-overlay-content {
  text-align: center;
}

/* TAG */
.pc-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.3);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 8px;
}

/* HOVER DO CARD ALTERA A TAG */
.portfolio-card:hover .pc-tag {
  color: #fff;
  background: rgba(30, 30, 30, 0.85); /* cinza escuro */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* suporte para toque (mobile) */
.portfolio-card:active .pc-tag {
  color: #fff;
  background: rgba(30, 30, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* TITULO */
.pc-overlay-content h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* TEXTO */
.pc-overlay-content p {
  font-size: 14px;
  color: #eee;
  margin-bottom: 12px;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.portfolio-card:hover .pc-overlay-content p {
  opacity: 1;
  transform: translateY(0);
}

/* LINK */
.pc-link {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: #fff;

  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.portfolio-card:hover .pc-link {
  opacity: 1;
  transform: translateY(0);
}

.pc-link:hover {
  color: #000;
}

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

  .port-lg {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media (max-width: 600px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .port-lg {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.portfolio-cta { text-align: center; }


/* ── STATS ── */
.stats-section {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.stats-bg-image {
  position: absolute;
  inset: 0;
}

.stats-bg-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.2) saturate(0.6);
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%),
              linear-gradient(135deg, rgba(255,107,0,0.08), rgba(0,153,255,0.08));
}

.stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; align-items: center; gap: 8px; }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 80px);
  line-height: 1;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.stat-plus {
  font-family: var(--font-display);
  font-size: 40px;
  color: var(--yellow);
  line-height: 1;
}

.stat-item { display: flex; flex-direction: row; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0; }
.stat-number { margin-right: 4px; }
.stat-label { width: 100%; text-align: center; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-2); margin-top: 8px; }

/* ── DIFERENCIAIS ── */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 80px;
}

.diferenciais-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.diferenciais-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.dif-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.dif-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 107, 0, 0.3);
  box-shadow: 0 16px 40px rgba(255, 107, 0, 0.08);
}

.dif-icon { font-size: 28px; flex-shrink: 0; }
.dif-content h4 { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.dif-content p { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* Tech Strip */
.tech-strip {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.tech-strip-inner {
  display: flex;
  gap: 24px;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.tech-strip-inner span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-3);
  letter-spacing: 0.08em;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── NEWSLETTER ── */
.newsletter-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: 24px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.newsletter-wrapper::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-content p { color: var(--text-2); font-size: 16px; margin-top: 8px; }

.newsletter-form-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.newsletter-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  filter: brightness(0.8);
}

.nf-input-group {
  display: flex;
  gap: 8px;
}

.nf-input {
  flex: 1;
  background: var(--bg-2);
  border: 1.5px solid var(--border-2);
  border-radius: 10px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nf-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}

.nf-input::placeholder { color: var(--text-3); }

.nf-btn { flex-shrink: 0; }

.nf-privacy {
  font-size: 13px;
  color: var(--text-3);
}

.nf-success {
  display: none;
  padding: 14px 20px;
  background: rgba(0, 200, 83, 0.1);
  border: 1px solid rgba(0, 200, 83, 0.3);
  border-radius: 10px;
  font-size: 14px;
  color: var(--green);
}

.nf-success.show { display: block; }

/* ── CTA FINAL ── */
.cta-section { text-align: center; overflow: hidden; }

.cta-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orb-move 8s ease-in-out infinite;
}

.cta-orb-1 {
  width: 400px; height: 400px;
  background: rgba(255, 107, 0, 0.12);
  top: -100px; left: -100px;
  animation-delay: 0s;
}

.cta-orb-2 {
  width: 300px; height: 300px;
  background: rgba(0, 153, 255, 0.1);
  bottom: -100px; right: -100px;
  animation-delay: -3s;
}

.cta-orb-3 {
  width: 250px; height: 250px;
  background: rgba(0, 200, 83, 0.08);
  top: 50%; right: 20%;
  animation-delay: -6s;
}

@keyframes orb-move {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.05;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 20px 0;
}

.cta-desc {
  font-size: 18px;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.cta-contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-3);
}

/* ── FOOTER ── */
#footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 32px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 240px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px; height: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all var(--transition);
}

.social-link svg { width: 18px; height: 18px; }
.social-link:hover { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: var(--glow-o); }

.footer-col-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a, .footer-links li {
  font-size: 14px;
  color: var(--text-2);
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--orange); }
.footer-contact li { color: var(--text-2); font-size: 14px; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p { font-size: 14px; color: var(--text-3); }

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--text-3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--text-2); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .sobre-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: 1fr; gap: 48px; }
  .newsletter-wrapper { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 80px 32px 40px;
    gap: 8px;
    transition: right var(--transition);
    border-left: 1px solid var(--border);
    z-index: 10;
  }

  .nav-links.open { right: 0; }
  .nav-link { font-size: 18px; padding: 12px 0; width: 100%; }
  .nav-link.nav-cta { padding: 12px 24px; margin-top: 16px; display: inline-block; width: auto; }

  .hero-title { font-size: clamp(44px, 12vw, 64px); }
  .hero-stats { gap: 20px; }
  .hero-divider { height: 30px; }

  .services-grid { grid-template-columns: 1fr; }
  .processo-steps { grid-template-columns: 1fr; gap: 48px; }
  .processo-line { display: none; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .port-lg { grid-column: span 1; }
  .pc-img-wrapper { height: 220px; }
  .port-lg .pc-img-wrapper { height: 260px; }

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

  .diferenciais-cards { grid-template-columns: 1fr; }

  .newsletter-wrapper { padding: 32px 24px; }
  .nf-input-group { flex-direction: column; }

  .cta-actions { flex-direction: column; align-items: center; }
  .cta-contact-info { flex-direction: column; align-items: center; gap: 12px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .sobre-img-wrapper { order: -1; }
  .sobre-badge-floating { right: 16px; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-divider { display: none; }
  .stats-grid { grid-template-columns: 1fr; }
  .newsletter-wrapper { padding: 28px 20px; }
}