/* ============================================
TOKENS & VARIABLES
============================================ */
:root {
  --bg: #030303;
  --bg-alt: #080808;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-hover: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 255, 255, 0.2);
  
  --text-main: #f5f5f5;
  --text-muted: #a3a3a3;
  --text-dim: #525252;
  
  --orange: #d97736;
  --orange-light: #e69153;
  --orange-dark: #b0571d;
  --amber: #d4a353;
  
  --grad-text: linear-gradient(135deg, #f5f5f5 0%, #737373 100%);
  --grad-metal: linear-gradient(135deg, #1a1a1a 0%, #030303 100%);
  --grad-primary: linear-gradient(135deg, var(--orange), var(--orange-dark));
  
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  overscroll-behavior: none;
}

body {
  overflow-x: hidden;
  position: relative;
  overscroll-behavior: none;
  overflow-wrap: break-word;
  word-break: break-word;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: auto;
  -moz-user-select: auto;
  -ms-user-select: auto;
  user-select: auto;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

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

.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bg-orange-gradient {
  background: var(--grad-primary);
  color: #fff;
}

/* ============================================
BUTTONS
============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.btn-large {
  padding: 16px 32px;
  font-size: 1.1rem;
}
.w-full {
  width: 100%;
}
.mt-4 {
  margin-top: 32px;
}

.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 0 15px rgba(217, 119, 54, 0.3);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: shimmer 3s infinite;
  will-change: left;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(217, 119, 54, 0.5);
}

.btn-ghost {
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: var(--border-glow);
  transform: translateY(-2px);
}

/* ============================================
NAVIGATION
============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all 0.3s ease;
}

.nav.scrolled {
  background: rgba(10, 5, 0, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
      font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #fff;
}

/* ============================================
HERO SECTION
============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding-top: 120px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 500px;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-bg-mask {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to bottom, transparent, var(--bg));
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  text-align: center;
  max-width: 900px;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 1;
  margin-bottom: 24px;
}

.hero h1 strong {
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

/* ============================================
SECTIONS COMMON
============================================ */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 2;
}

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

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 200;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
PROVA RÁPIDA (QUICK PROOF)
============================================ */
.quick-proof {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  position: relative;
  z-index: 2;
}
.proof-title {
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--text-dim);
  margin-bottom: 32px;
  font-weight: 600;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.proof-item h3 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.proof-item p {
  color: var(--text-muted);
  font-weight: 500;
}

/* ============================================
DOR DO CLIENTE (PAIN SECTION)
============================================ */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.pain-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px 32px;
  transition: all 0.3s ease;
  text-align: center;
}
.pain-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.05);
}

.pain-icon {
  font-size: 2.5rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pain-card h3 {
  font-size: 1.25rem;
  margin-bottom: 16px;
  color: #fff;
}
.pain-card p {
  color: var(--text-muted);
  font-size: 1rem;
  overflow-wrap: break-word;
}

/* ============================================
SOLUÇÃO
============================================ */
.solution-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.solution-text h2,
.solution-text p {
  text-align: center;
}
.solution-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 200;
  margin-top: 16px;
  margin-bottom: 24px;
}
.solution-text p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 32px;
  overflow-wrap: break-word;
}
.solution-list {
  list-style: none;
}
.solution-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 1.05rem;
  color: var(--text-muted);
}
.solution-list iconify-icon {
  color: var(--text-dim);
  font-size: 1.5rem;
}
.solution-list strong {
  color: #fff;
}

.solution-visual {
  position: relative;
}
.glow-box {
  background: var(--grad-metal);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  position: relative;
}
.glow-box::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--r-lg);
  background: var(--grad-text);
  z-index: -1;
  opacity: 0.3;
  filter: blur(10px);
}
.stats-card h4 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  text-align: center;
}
.bar-chart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bar {
  height: 40px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-weight: 600;
  white-space: nowrap;
}
.bar.before {
  width: 40%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
}
.bar.after {
  width: 100%;
}

/* ============================================
PORTFOLIO SECTION (MARQUEE)
============================================ */
.portfolio-section-wrap {
  position: relative;
}
.portfolio-marquee-wrapper {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 20px 0;
  touch-action: none;
  -webkit-overflow-scrolling: touch;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 90%, transparent 100%);
}
.portfolio-marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 24px 0;
}

.marquee-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(10,5,0,.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #f5f5f5;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  opacity: .7;
}
.marquee-arrow:hover {
  opacity: 1;
  background: rgba(10,5,0,.75);
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(217,119,54,.2);
}
.marquee-arrow-prev { left: 16px; }
.marquee-arrow-next { right: 16px; }

@keyframes diagonal-float {
  0%, 100% {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) translateY(0);
  }
  50% {
    transform: perspective(1000px) rotateX(4deg) rotateY(-4deg) translateY(-12px);
  }
}

.portfolio-card {
  width: 400px;
  flex-shrink: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border);
  transform-style: preserve-3d;
  animation: diagonal-float 6s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.portfolio-card:nth-child(2) {
  animation-delay: -2s;
}

.portfolio-card:nth-child(3) {
  animation-delay: -4s;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,5,0,0.95) 0%, rgba(10,5,0,0.95) 45%, rgba(10,5,0,0.2) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px 32px 32px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.portfolio-card:hover {
  border-color: var(--orange);
  box-shadow: 0 0 20px rgba(217, 119, 54, 0.2);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--text-main);
}

.portfolio-overlay p {
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
}

/* ============================================
CTA BANNER
============================================ */
.cta-banner {
  padding: 80px 0;
  background: var(--grad-metal);
  text-align: center;
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.cta-banner-content {
  max-width: 800px;
  margin: 0 auto;
}
.cta-banner h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 16px;
}
.cta-banner p {
  color: var(--text-muted);
  font-size: 1.2rem;
}
.cta-banner .btn-primary {
  background: var(--grad-primary);
  color: #fff;
}

/* ============================================
PROCESSO DE TRABALHO
============================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 50px; right: 50px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.step-number {
  width: 60px; height: 60px;
  margin: 0 auto 24px;
  background: var(--bg);
  border: 2px solid var(--border-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}
.step h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  text-align: center;
}
.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
  text-align: center;
  overflow-wrap: break-word;
}

/* ============================================
TESTIMONIALS
============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 40px;
  text-align: center;
}
.stars {
  color: var(--orange);
  font-size: 1.5rem;
  margin-bottom: 24px;
}
.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 24px;
  color: #fff;
  overflow-wrap: break-word;
}
.author strong {
  display: block;
  font-size: 1.1rem;
}

/* ============================================
OFERTA
============================================ */
.offer-section {
  padding-bottom: 160px;
}
.offer-box {
  background: var(--grad-metal);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 60px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
  max-width: 900px;
  margin: 0 auto;
}
.offer-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 40px;
}
.offer-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.offer-header p {
  color: var(--text-muted);
  overflow-wrap: break-word;
}
.offer-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.includes h3, .bonus h3 {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: #fff;
}
.includes ul, .bonus ul {
  list-style: none;
}
.includes li, .bonus li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-muted);
}
.includes iconify-icon {
  color: var(--text-dim);
  font-size: 1.2rem;
  margin-top: 4px;
}
.bonus iconify-icon {
  color: var(--orange);
  font-size: 1.2rem;
  margin-top: 4px;
}
.bonus li {
  background: rgba(255, 255, 255, 0.02);
  padding: 12px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}
.bonus strong {
  color: var(--text-main);
}
.offer-cta {
  text-align: center;
}
.guarantee {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* ============================================
FOOTER
============================================ */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  background: var(--bg-alt);
}

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

.footer-brand h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 300px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* ============================================
ANIMATIONS & UTILS
============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scroll-marquee-mobile {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 8px)); }
}

/* ============================================
RESPONSIVE — TABLET (max-width: 1024px)
============================================ */
@media (max-width: 1024px) {
  .process-steps::before {
    display: none;
  }
}

/* ============================================
RESPONSIVE — MOBILE (max-width: 768px)
============================================ */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .hero { padding-top: 100px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 2.4rem; }
  .hero h1 .h1-thin { font-weight: 300; }
  .hero p { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .section-header h2,
  .solution-text h2 { font-weight: 400; }

  .proof-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proof-item h3 { font-size: 2.2rem; }

  .pain-card { padding: 24px; }

  .solution-layout { grid-template-columns: 1fr; gap: 40px; }
  .glow-box { padding: 24px; }
  .bar.before { width: 55%; font-size: 0.85rem; }
  .bar.after { font-size: 0.85rem; }

  .portfolio-marquee-inner {
    margin-left: calc((100vw - 85vw) / 2 - 2.5vw);
  }
  .portfolio-card {
    width: 85vw;
    max-width: 400px;
    animation: none !important;
    transform: none !important;
  }
  .portfolio-marquee-wrapper {
    -webkit-mask-image: none;
  }
  .portfolio-marquee-track {
    gap: 16px;
    animation: scroll-marquee-mobile 40s linear infinite;
  }

  .marquee-arrow { width: 44px; height: 44px; }
  .marquee-arrow-prev { left: 8px; }
  .marquee-arrow-next { right: 8px; }

  .process-steps { grid-template-columns: 1fr; gap: 40px; }
  .process-steps::before { display: none; }

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

  .offer-box { padding: 30px 20px; }
  .offer-content { grid-template-columns: 1fr; gap: 24px; }
  .offer-header h2 { font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .footer-brand p { margin: 0 auto; }
}

/* ============================================
RESPONSIVE — VERY SMALL SCREENS (max-width: 480px)
============================================ */
@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero h1 .h1-thin { font-weight: 300; }
  .hero p { font-size: 1rem; }
  .section { padding: 60px 0; }
  .section-header { margin-bottom: 40px; }
  .section-header h2 { font-size: 1.85rem; font-weight: 400; }
  .solution-text h2 { font-weight: 400; }

  .proof-grid { gap: 12px; }
  .proof-item h3 { font-size: 2rem; }

  .pain-grid { gap: 20px; }
  .pain-card { padding: 20px; }
  .pain-card h3 { font-size: 1.2rem; }
  .pain-card p { font-size: 0.95rem; }

  .solution-text h2 { font-size: 1.7rem; }
  .solution-text p { font-size: 1rem; }

  .portfolio-card { width: 90vw; }

  .process-steps { gap: 32px; }
  .step-number { width: 50px; height: 50px; font-size: 1.2rem; }
  .step h3 { font-size: 1.1rem; }
  .step p { font-size: 0.95rem; }

  .testimonial-card { padding: 24px; }
  .testimonial-card p { font-size: 1rem; }

  .offer-box { padding: 20px 16px; }
  .offer-header h2 { font-size: 1.7rem; }
  .offer-header { margin-bottom: 24px; padding-bottom: 24px; }
  .offer-content { gap: 16px; }

  .cta-banner h2 { font-size: 2rem; }
  .cta-banner p { font-size: 1rem; }

  .footer { padding: 40px 0 20px; }
  .footer-grid { gap: 24px; }
}
