/* CSS Variables & Base Setup */
:root {
    --bg-main: #0A0A0B;
    --bg-surface: #111113;
    --bg-surface-light: #1A1A1E;
    
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    
    --accent: #9D00FF;
    --accent-gradient: linear-gradient(90deg, #A200FF 0%, #0044FF 100%);
    --accent-hover: #7A00CC;
    --accent-gradient-hover: linear-gradient(90deg, #8A00E6 0%, #0033E6 100%);
    --accent-glow: rgba(157, 0, 255, 0.3);
    
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    
    --border-color: rgba(255, 255, 255, 0.08);
    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --nav-h: 72px;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    /* Custom scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--bg-main);
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-surface-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gradient);
}

body {
    overflow-x: hidden;
    cursor: none; /* For custom cursor */
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img, video {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-surface);
}

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

.w-100 {
    width: 100%;
}

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

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 20px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-tag::before {
  content: ''; width: 20px; height: 1px; background: var(--accent-gradient); opacity: 0.8;
}

.section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(40px, 5vw, 64px); text-transform: uppercase;
  letter-spacing: -0.02em; line-height: 1; color: var(--text-primary); margin-bottom: 16px;
}

.section-sub, .section-desc {
  font-size: 16px; font-weight: 300; color: var(--text-muted);
  max-width: 520px; margin: 0 auto; line-height: 1.6;
}

/* ── CUSTOM CURSOR ── */
#cursor {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--accent-gradient);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s, width 0.2s, height 0.2s, background 0.2s;
}
#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease-out, width 0.25s, height 0.25s, opacity 0.25s;
  opacity: 0.5;
}
body:has(a:hover) #cursor-ring,
body:has(button:hover) #cursor-ring,
body:has(.portfolio-item:hover) #cursor-ring { width: 56px; height: 56px; opacity: 0.3; }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 1000;
  transition: background 0.3s, backdrop-filter 0.3s;
}
nav.scrolled {
  background: rgba(10,10,11,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  margin-left: 2rem;
}
.logo { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 900; letter-spacing: 0.05em; text-decoration: none; color: var(--text-primary); z-index: 1000; }
.logo-dot { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-left: 2px; }
.brand-logo { height: 32px; width: auto; object-fit: contain; display: block; }
.nav-logo .brand-logo { height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.nav-links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent-gradient);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { transform: scaleX(1); }

@keyframes waterFluid {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.nav-cta {
  background: linear-gradient(90deg, #A200FF, #0044FF, #A200FF, #0044FF);
  background-size: 300% 100%;
  animation: waterFluid 3.5s linear infinite;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 11px 24px;
  border: none;
  border-radius: 4px;
  cursor: none;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, background-size 0.3s;
  white-space: nowrap;
}
.nav-cta:hover { background: linear-gradient(90deg, #8A00E6, #0033E6, #8A00E6, #0033E6); background-size: 300% 100%; transform: translateY(-1px); }
.nav-cta:active { transform: translateY(0); }

/* Buttons */
.btn-primary, .btn-secondary, .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 4px;
    font-weight: 500;
    cursor: none; 
    transition: var(--transition);
    border: none;
    font-family: var(--font-body);
}

.btn-primary {
    background: linear-gradient(90deg, #A200FF, #0044FF, #A200FF, #0044FF);
    background-size: 300% 100%;
    animation: waterFluid 3.5s linear infinite;
    color: var(--text-primary);
    border: none;
    font-size: 14px;
    padding: 14px 32px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}
.btn-primary:hover {
    background: linear-gradient(90deg, #8A00E6, #0033E6, #8A00E6, #0033E6);
    background-size: 300% 100%;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    padding: 14px 28px;
    font-size: 1rem;
}
.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(255, 69, 0, 0.05);
}

.btn-whatsapp {
    background-color: #25D366;
    color: #fff;
    padding: 14px 28px;
    font-size: 1rem;
    margin-bottom: 24px;
}
.btn-whatsapp:hover { background-color: #128C7E; }

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  padding: 14px 0;
  border: none;
  cursor: none;
  text-decoration: none;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  white-space: nowrap;
}
.btn-ghost:hover { color: var(--text-primary); }
.btn-ghost .arrow {
  width: 20px; height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px;
  transition: transform 0.2s;
}
.btn-ghost:hover .arrow { transform: translateX(3px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.4;
  pointer-events: none;
}

/* animated grain overlay */
.hero::before {
  content: '';
  position: absolute;
  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");
  background-size: 256px;
  opacity: 0.35;
  pointer-events: none;
  z-index: 1;
}

/* subtle radial glow */
.hero-glow {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,69,0,0.12) 0%, transparent 70%);
  top: 20%; right: -100px;
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

/* floating ring (decorative) */
.hero-ring {
  position: absolute;
  right: 15%;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  opacity: 0.6;
  animation: float-ring 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes float-ring {
  0%, 100% { transform: translateY(-50%); }
  50% { transform: translateY(calc(-50% - 12px)); }
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + 48px) 56px 52px;
  max-width: 100%;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff; /* White text as requested */
  margin-bottom: 28px;
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.1s;
}
.hero-tag::before {
  content: '';
  width: 24px; height: 1px;
  background: var(--accent-gradient);
}

.hero-headline {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(60px, 8.5vw, 124px);
  line-height: 0.93;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 40px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.25s;
}
.hero-headline em {
  font-style: normal;
  -webkit-text-stroke: 1.5px var(--text-primary);
  color: transparent;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  opacity: 0;
  animation: fade-up 0.8s ease forwards;
  animation-delay: 0.45s;
}

.hero-subtitle {
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-primary);
  max-width: 420px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

/* ── METRICS STRIP ── */
.metrics {
  position: relative;
  z-index: 1;
  border-top: 0.5px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: 0;
  animation: fade-up 0.7s ease forwards;
  animation-delay: 0.65s;
}
.metric {
  padding: 24px 56px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.metric + .metric { border-left: 0.5px solid rgba(255,255,255,0.08); }
.metric-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 40px;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.metric-num span { background: var(--accent-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.metric-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.45;
  max-width: 130px;
}

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 3. SERVIÇOS */
#servicos {
  background: var(--bg-main);
  padding: 120px 0;
}

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px; overflow: hidden;
}
.svc-card {
  background: var(--bg-main); padding: 44px 40px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative; cursor: none; transition: background 0.3s; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; inset: 0;
  border: 1.5px solid var(--accent); opacity: 0;
  transition: opacity 0.3s; pointer-events: none;
}
.svc-card:hover, .svc-card.active { background: #0f0f10; }
.svc-card:hover::after, .svc-card.active::after { opacity: 1; }
.svc-card .svc-num {
  font-family: var(--font-heading);
  font-size: 13px; letter-spacing: 0.1em; opacity: 0.9;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.svc-icon {
  width: 44px; height: 44px; border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.svc-card:hover .svc-icon, .svc-card.active .svc-icon { border-color: var(--accent); background: rgba(157, 0, 255, 0.08); }
.svc-icon svg { width: 20px; height: 20px; stroke: var(--text-muted); transition: stroke 0.3s; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.svc-card:hover .svc-icon svg, .svc-card.active .svc-icon svg { stroke: var(--accent); }
.svc-body { flex: 1; }
.svc-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 800;
  font-size: 22px; text-transform: uppercase; letter-spacing: 0.02em;
  color: var(--text-primary); margin-bottom: 10px; line-height: 1.1;
}
.svc-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.65; }
.svc-arrow {
  align-self: flex-end; width: 28px; height: 28px;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 12px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}
.svc-card:hover .svc-arrow, .svc-card.active .svc-arrow { border-color: var(--accent); color: var(--accent); transform: translate(3px,-3px); }
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* 4. PROCESSO */
.timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50px;
    right: 50px;
    height: 1px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-item {
    position: relative;
    z-index: 1;
}

.step-num {
    width: 80px;
    height: 80px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    transition: var(--transition);
}

.timeline-item:hover .step-num {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}

.timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.timeline-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Luminous Trace Animation Elements */
.step-trace {
    position: absolute;
    top: -1px;
    left: -1px;
    width: 80px;
    height: 80px;
    transform: rotate(-90deg);
    z-index: 1;
    pointer-events: none;
}

.trace-circle {
    stroke-dasharray: 60 250;
    stroke-dashoffset: 0;
    opacity: 0;
    filter: drop-shadow(0 0 6px var(--accent));
}

.step-num.active {
    background: var(--accent-gradient);
    border-color: transparent;
    box-shadow: 0 0 25px var(--accent-glow);
    color: #ffffff;
}

.step-num.active span {
    color: #ffffff;
}

.step-connector {
    position: absolute;
    top: 39px;
    left: 80px;
    width: calc(100% - 80px + 24px); /* Full column width minus circle plus gap */
    height: 2px;
    background: var(--accent-gradient);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 0;
    box-shadow: 0 0 8px var(--accent-glow);
}

@media (max-width: 1024px) {
    .step-connector { display: none; }
}

@media (max-width: 768px) {
    .timeline-item {
        padding-left: 100px; /* Push text to the right */
        min-height: 80px; /* Ensure it's at least as tall as the circle */
    }
    .step-num {
        position: absolute;
        top: 0;
        left: 0;
        margin-bottom: 0;
    }
    .step-connector { 
        display: block;
        top: 80px;
        left: 39px;
        width: 2px;
        height: calc(100% + 40px - 80px); /* Fill vertical space to next circle */
        transform-origin: top;
        transform: scaleY(0);
        /* reset scaleX in case desktop GSAP set it */
        scale: 1 0; 
    }
}

/* SEÇÃO SOBRE VÍDEO */
#sobre-video {
    overflow: hidden;
    color: var(--text-primary);
    padding: 100px 0;
}

#sobre-video::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(157, 0, 255, 0.08) 0%, rgba(0, 68, 255, 0.05) 30%, #0A0A0B 60%);
    z-index: -1;
    animation: pulseBackground 15s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
    50% { transform: scale(1.2) translate(5%, 5%); opacity: 1; }
    100% { transform: scale(1.1) translate(-5%, -5%); opacity: 0.9; }
}

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

.sobre-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sobre-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 5px;
}

.sobre-subtitle {
    font-size: 1.4rem;
    font-weight: 500;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    line-height: 1.3;
}

.sobre-text p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.sobre-highlight {
    font-size: 1.15rem !important;
    font-weight: 500;
    color: #fff !important;
    margin-top: 10px;
    border-left: 3px solid var(--accent);
    padding-left: 20px;
}

.sobre-player {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 40px rgba(157, 0, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.05);
}

.video-exemplo {
    width: 100%;
    display: block;
    border-radius: 16px;
    background: #000;
    /* Force inline playback on iOS Safari */
    -webkit-playsinline: true;
}

/* Ensure hero video covers correctly on mobile */
@media (max-width: 768px) {
    .hero-bg-video {
        width: 100%;
        height: 100%;
        min-width: unset;
        min-height: unset;
        top: 0;
        left: 0;
        transform: none;
        object-fit: cover;
    }
}

@media (max-width: 900px) {
    .sobre-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* 5. PORTFÓLIO */
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 24px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-main);
    border-color: var(--text-primary);
}

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

.portfolio-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: none;
}

.portfolio-img {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 60px;
    height: 60px;
    background: rgba(10, 10, 11, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img img {
    transform: scale(1.05);
}

.portfolio-item:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    background: linear-gradient(to top, rgba(10,10,11,0.9), transparent);
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.portfolio-info p {
    font-size: 0.875rem;
    color: var(--accent);
    font-weight: 500;
}

/* 6. DEPOIMENTOS */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--bg-main);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.quote-icon {
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 24px;
    opacity: 0.5;
}

.testimonial-card p {
    font-size: 1.1rem;
    margin-bottom: 32px;
    font-style: italic;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
}

.client-info h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.client-info span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.logo-ticker {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.ticker-track {
    display: flex;
    width: calc(200px * 10); /* 5 items * 2 */
    animation: ticker 20s linear infinite;
}

.ticker-item {
    width: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 5)); }
}

/* --- SCROLL REVEAL OVERLAY (PARALLAX TRANSTION) --- */
.sticky-overlay {
    position: sticky;
    top: 0;
    z-index: 1;
    will-change: transform;
    transform: translateZ(0);
    padding-bottom: 200px !important;
}

.reveal-overlay {
    position: relative;
    z-index: 10;
    background-color: transparent;
    padding-top: 180px; 
    margin-top: -20px; 
}

/* Background for reveal overlay using pseudo-element for cutout */
.reveal-overlay::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #0A0A0F; /* Dark background matching the theme */
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
    clip-path: polygon(
        0% 0%, 40px 0%, 40px 40px, 120px 40px, 120px 80px,
        calc(100% - 120px) 80px, calc(100% - 120px) 40px,
        calc(100% - 40px) 40px, calc(100% - 40px) 0%,
        100% 0%, 100% 100%, 0% 100%
    );
}

#precos {
    padding-bottom: 120px;
}

@media (max-width: 768px) {
    .reveal-overlay {
        padding-top: 120px;
    }
    .reveal-overlay::before {
        clip-path: polygon(
            0% 0%, 20px 0%, 20px 20px, 60px 20px, 60px 40px,
            calc(100% - 60px) 40px, calc(100% - 60px) 20px,
            calc(100% - 20px) 20px, calc(100% - 20px) 0%,
            100% 0%, 100% 100%, 0% 100%
        );
    }
}

/* 7. CTA BLOCK */
.cta-block {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 40px;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.cta-block::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top, rgba(157, 0, 255, 0.12) 0%, transparent 65%);
    pointer-events: none;
}

.cta-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(36px, 5vw, 64px);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.cta-subtitle {
    font-size: 1.15rem;
    font-weight: 600;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 24px;
    line-height: 1.5;
}

.cta-text {
    font-size: 1.05rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 40px;
}

.cta-btn {
    font-size: 1rem;
    padding: 16px 40px;
    border-radius: 6px;
}

.cta-btn .arrow {
    display: inline-block;
    margin-left: 4px;
    transition: transform 0.2s;
}

.cta-btn:hover .arrow {
    transform: translateX(4px);
}

/* 8. CONTATO */
#contato {
    position: relative;
    z-index: 10;
    background-color: var(--bg-main); /* Hides sticky #depoimentos */
}

.contact-box {
    background: var(--bg-surface);
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.contact-info {
    padding: 60px;
    background: linear-gradient(135deg, rgba(255,77,0,0.1) 0%, var(--bg-surface) 100%);
}

.contact-info .section-title {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.direct-contact {
    margin-top: auto;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    margin: 0 !important;
}

.contact-form {
    padding: 60px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 16px;
    background: var(--bg-main);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 1px var(--accent);
}

/* 9. FOOTER */
.footer {
    position: relative;
    z-index: 10;
    background: var(--bg-main);
    padding: 80px 0 24px;
    border-top: 1px solid var(--border-color);
}

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

.footer-tagline {
    color: var(--text-secondary);
    margin: 24px 0;
    font-size: 0.9rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-surface);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-gradient);
    color: #fff;
    transform: translateY(-3px);
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links ul a:hover {
    color: var(--accent);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .timeline::before { display: none; }
    .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px; }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-card.popular { transform: scale(1); }
    .contact-box { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .hero-content { padding: calc(var(--nav-h) + 32px) 24px 40px; }
    .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
    .hero-actions { flex-wrap: wrap; }
    .metrics { grid-template-columns: repeat(3, 1fr); }
    .metric { padding: 16px 12px; gap: 8px; flex-direction: column; align-items: flex-start; }
    .metric-num { font-size: 28px; }
    .metric-label { font-size: 10px; line-height: 1.2; }
    .metric:last-child { grid-column: span 1; border-left: 0.5px solid rgba(255,255,255,0.08); border-top: none; }
}

@media (max-width: 768px) {
    .timeline { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .pricing-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 60px 0; }
    .section-title { font-size: 2.2rem; }
    #servicos { padding: 80px 0; }
    .svc-card { padding: 32px 28px; }
}

@media (max-width: 480px) {
    .metrics { grid-template-columns: repeat(3, 1fr); }
    .metric { padding: 12px 8px; flex-direction: column; align-items: flex-start; gap: 6px; }
    .metric + .metric { border-left: 0.5px solid rgba(255,255,255,0.08); border-top: none; }
    .metric-num { font-size: 24px; }
    .metric-label { font-size: 9px; line-height: 1.2; }
    
    .hero-actions { flex-direction: column; }
    .timeline { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .contact-info, .contact-form { padding: 32px; }
}
