/* =========================================================
   VOLVE.DIGITAL — Stylesheet
   Agência de criação de landing pages
   HTML5 + CSS3 puro — sem frameworks
   ========================================================= */

/* ---------------------------------------------------------
   1. RESET & TOKENS
   --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  /* Cores — fundo escuro sofisticado + gradiente azul/roxo tecnológico */
  --bg:            #0A0A10;
  --bg-alt:        #101018;
  --surface:       #15151F;
  --surface-2:     #1B1B27;
  --border:        rgba(255,255,255,0.08);
  --border-strong: rgba(255,255,255,0.14);

  --white:         #F5F5F8;
  --muted:         #9B9BAE;
  --muted-2:       #6E6E82;

  --blue:          #5B6EF5;
  --purple:        #9B5DE5;
  --gradient: linear-gradient(135deg, var(--blue), var(--purple));
  --gradient-soft: linear-gradient(135deg, rgba(91,110,245,0.14), rgba(155,93,229,0.14));

  --font-display: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.6rem;
  --space-lg: 2.6rem;
  --space-xl: 4.2rem;
  --space-2xl: 6.5rem;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
  font-family: var(--font-body);
  color: var(--white);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space-lg); }
@media (max-width: 640px) { .container { padding: 0 var(--space-md); } }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--blue); margin-bottom: var(--space-sm);
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--gradient); border-radius: 2px; }

.section { padding: var(--space-2xl) 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--surface); }
.section-head { max-width: 620px; margin-bottom: var(--space-xl); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: var(--space-sm); }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 520px; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px;
  font-weight: 600; font-size: 0.94rem;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient); color: #fff;
  box-shadow: 0 10px 28px rgba(91,110,245,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(155,93,229,0.45); }
.btn-primary:active { transform: translateY(-1px) scale(0.98); }
.btn-sm { padding: 11px 20px; font-size: 0.82rem; }
.btn-lg { padding: 19px 40px; font-size: 1.02rem; }
.wpp-icon { width: 18px; height: 18px; }

.link-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.9rem; font-weight: 600; color: var(--white);
  padding-bottom: 4px; border-bottom: 1px solid var(--border-strong);
  transition: gap 0.35s var(--ease), border-color 0.3s ease, color 0.3s ease;
}
.link-btn svg { width: 16px; height: 16px; }
.link-btn:hover { gap: 14px; color: var(--blue); border-color: var(--blue); }

/* ---------------------------------------------------------
   2. NAVBAR
   --------------------------------------------------------- */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 500; padding: 22px 0; transition: padding 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.navbar.scrolled { padding: 14px 0; background: rgba(10,10,16,0.75); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 24px rgba(0,0,0,0.25); border-bottom: 1px solid var(--border); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: #fff; }
.nav-logo span { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------
   3. HERO
   --------------------------------------------------------- */
.hero { position: relative; padding-top: calc(var(--space-2xl) + 2.5rem); padding-bottom: var(--space-2xl); overflow: hidden; }

.hero-glow { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; opacity: 0.55; }
.glow-a { width: 480px; height: 480px; background: var(--blue); top: -160px; left: -120px; }
.glow-b { width: 420px; height: 420px; background: var(--purple); bottom: -140px; right: -100px; }

.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 20%, black 40%, transparent 90%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: var(--space-xl); align-items: center; }

.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--gradient-soft); border: 1px solid var(--border-strong);
  font-size: 0.78rem; font-weight: 600; color: var(--muted); margin-bottom: var(--space-md);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); box-shadow: 0 0 0 4px rgba(91,110,245,0.2); }

.hero-title { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: var(--space-md); }
.hero-sub { font-size: 1.06rem; color: var(--muted); max-width: 480px; margin-bottom: var(--space-lg); font-weight: 400; }
.hero-cta { display: flex; align-items: center; gap: var(--space-lg); flex-wrap: wrap; margin-bottom: var(--space-lg); }

.hero-trust { display: flex; gap: var(--space-lg); flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.86rem; color: var(--muted); }
.trust-item svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* Mockup abstrato de navegador */
.hero-visual { position: relative; }
.browser-mock {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  overflow: hidden;
  transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
  transition: transform 0.2s ease-out;
}
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.browser-url { margin-left: 12px; padding: 5px 14px; background: var(--bg); border-radius: 999px; font-size: 0.72rem; color: var(--muted-2); flex: 1; max-width: 160px; }

.browser-screen { padding: var(--space-md); }
.mock-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--space-lg); }
.mock-logo { width: 60px; height: 10px; border-radius: 4px; background: var(--gradient); }
.mock-btn { width: 70px; height: 22px; border-radius: 999px; border: 1px solid var(--border-strong); }

.mock-hero { display: flex; flex-direction: column; gap: 10px; margin-bottom: var(--space-lg); }
.mock-line { height: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--surface-2), var(--border-strong), var(--surface-2)); background-size: 200% 100%; animation: shimmer 2.4s ease-in-out infinite; }
.mock-line.w-70 { width: 70%; height: 20px; }
.mock-line.w-50 { width: 50%; }
.mock-cta { width: 120px; height: 32px; border-radius: 999px; background: var(--gradient); margin-top: 8px; }

.mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-card { aspect-ratio: 1/0.8; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }

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

.browser-glow { position: absolute; inset: -2px; border-radius: var(--radius-md); background: var(--gradient); opacity: 0.18; filter: blur(30px); z-index: -1; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto var(--space-md); }
  .browser-mock { transform: none; }
}

/* ---------------------------------------------------------
   4. POR QUE PRECISA DE UMA LANDING PAGE
   --------------------------------------------------------- */
.why-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: var(--space-xl); align-items: start; }
.why-head { position: sticky; top: 120px; }

.why-list li { display: grid; grid-template-columns: 50px 1fr; gap: var(--space-md); padding: var(--space-md) 0; border-top: 1px solid var(--border); }
.why-list li:last-child { border-bottom: 1px solid var(--border); }
.why-num { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.why-list h3 { font-size: 1.12rem; margin-bottom: 6px; }
.why-list p { color: var(--muted); font-size: 0.92rem; max-width: 480px; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: relative; top: 0; }
}

/* ---------------------------------------------------------
   5. GRIDS GENÉRICOS
   --------------------------------------------------------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }

@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-4, .grid-3 { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; } }

/* Use cards (como pode ajudar) */
.use-card {
  padding: var(--space-lg) var(--space-md);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--ease), border-color 0.4s ease, box-shadow 0.4s ease;
}
.use-card:hover { transform: translateY(-6px); border-color: var(--blue); box-shadow: 0 18px 40px rgba(91,110,245,0.18); }
.use-icon { width: 50px; height: 50px; border-radius: 14px; background: var(--gradient-soft); border: 1px solid var(--border-strong); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md); }
.use-icon svg { width: 24px; height: 24px; }
.use-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.use-card p { color: var(--muted); font-size: 0.9rem; }

/* Deliver cards (o que eu entrego) */
.deliver-card { padding: var(--space-lg) var(--space-md); border-radius: var(--radius-md); border: 1px solid var(--border); transition: transform 0.4s var(--ease), border-color 0.4s ease; }
.deliver-card:hover { transform: translateY(-6px); border-color: var(--purple); }
.deliver-icon { width: 46px; height: 46px; border-radius: 12px; background: var(--gradient-soft); color: var(--purple); display: flex; align-items: center; justify-content: center; margin-bottom: var(--space-md); }
.deliver-icon svg { width: 22px; height: 22px; }
.deliver-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.deliver-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------------------------------------------------------
   6. PROCESSO
   --------------------------------------------------------- */
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--space-md); position: relative; }
.process-track::before { content: ""; position: absolute; top: 22px; left: 6%; right: 6%; height: 1px; background: var(--border-strong); z-index: 0; }
.process-item { position: relative; z-index: 1; }
.process-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1.5px solid var(--blue);
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem;
  margin-bottom: var(--space-md);
  background: var(--gradient); color: #fff; border: none;
}
.process-item h3 { font-size: 1rem; margin-bottom: 8px; }
.process-item p { color: var(--muted-dark, var(--muted)); font-size: 0.88rem; }

@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; gap: var(--space-lg); }
  .process-track::before { display: none; }
}

/* ---------------------------------------------------------
   7. PORTFÓLIO (placeholder)
   --------------------------------------------------------- */
.portfolio-placeholder {
  aspect-ratio: 4/3;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-sm);
  color: var(--muted-2);
  transition: border-color 0.3s ease, color 0.3s ease;
}
.portfolio-placeholder:hover { border-color: var(--blue); color: var(--blue); }
.ph-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; }
.ph-icon svg { width: 100%; height: 100%; }
.portfolio-placeholder span { font-size: 0.86rem; font-weight: 500; }

/* ---------------------------------------------------------
   8. CTA FINAL
   --------------------------------------------------------- */
.cta-final { text-align: center; position: relative; overflow: hidden; }
.cta-glow { position: absolute; top: 50%; left: 50%; width: 700px; height: 700px; transform: translate(-50%,-50%); background: var(--gradient); opacity: 0.14; filter: blur(120px); border-radius: 50%; pointer-events: none; }
.cta-final-inner { position: relative; z-index: 2; }
.cta-final h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: var(--space-sm); max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-final p { color: var(--muted); max-width: 460px; margin: 0 auto var(--space-lg); }

/* ---------------------------------------------------------
   9. FOOTER
   --------------------------------------------------------- */
.footer { border-top: 1px solid var(--border); padding: var(--space-xl) 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin-top: 6px; max-width: 280px; }
.footer-links { display: flex; gap: var(--space-lg); }
.footer-links a { font-size: 0.9rem; color: var(--muted); transition: color 0.25s ease; }
.footer-links a:hover { color: var(--blue); }
.footer-copy { width: 100%; color: var(--muted-2); font-size: 0.8rem; padding-top: var(--space-md); border-top: 1px solid var(--border); margin-top: var(--space-md); }

/* ---------------------------------------------------------
   10. FLOATING BUTTONS
   --------------------------------------------------------- */
.float-btn { position: fixed; right: 24px; z-index: 400; width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(0,0,0,0.4); transition: transform 0.3s var(--ease), opacity 0.3s ease; }
.whatsapp-btn { bottom: 24px; background: #25D366; color: #fff; }
.whatsapp-btn:hover { transform: scale(1.08); }
.whatsapp-btn svg { width: 28px; height: 28px; }
.top-btn { bottom: 92px; background: var(--surface); border: 1px solid var(--border-strong); color: #fff; opacity: 0; pointer-events: none; transform: translateY(10px); }
.top-btn.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.top-btn:hover { transform: translateY(-3px); border-color: var(--blue); }
.top-btn svg { width: 20px; height: 20px; }

/* ---------------------------------------------------------
   11. RESPONSIVE — geral / mobile-first refinements
   --------------------------------------------------------- */
@media (max-width: 640px) {
  .section { padding: var(--space-xl) 0; }
  .hero { padding-top: calc(var(--space-xl) + 2rem); }
  .hero-cta { flex-direction: column; align-items: flex-start; gap: var(--space-md); }
  .hero-cta .btn { width: 100%; }
  .hero-trust { gap: var(--space-md); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .float-btn { right: 16px; }
  .navbar-inner .btn-sm { padding: 10px 16px; font-size: 0.76rem; }
}
