@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  /* Minimalist / Vintage Colors */
  --bg-color: #fcfcfc;
  --text-main: #111111;
  --text-muted: #555555;
  --primary: #111111;
  --primary-hover: #333333;
  --accent: #111111;
  --glass-bg: rgba(255, 255, 255, 0.5);
  --glass-border: rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.08);
  
  /* Typography */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Layout & Shapes */
  --container-width: 1100px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  cursor: none; /* Hide default cursor for Antigravity effect */
}

/* Fix cursor inside modal so inputs are usable */
body:has(.lead-modal.active) .custom-cursor {
  opacity: 0 !important;
  pointer-events: none;
}

.lead-modal * {
  cursor: auto !important;
}

html {
  scroll-behavior: smooth;
}

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

/* Custom Cursor (Antigravity Style) */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background-color: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  transition: width 0.3s, height 0.3s, background-color 0.3s;
}

.custom-cursor.hover {
  width: 60px;
  height: 60px;
  background-color: #fff;
}

/* Background Moving Blurs */
.bg-blur {
  position: fixed;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -3; /* Atrás de tudo */
  opacity: 0.5;
  pointer-events: none;
}

.blur-blue {
  background: rgba(37, 99, 235, 0.4); /* Azul Destaque */
  top: 5%;
  left: -5%;
  animation: drift-left 15s infinite alternate ease-in-out;
}

.blur-cyan {
  background: rgba(6, 182, 212, 0.3);
  bottom: 5%;
  right: -5%;
  animation: drift-right 12s infinite alternate ease-in-out;
  animation-delay: -3s;
}

@keyframes drift-left {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(10vw, 30vh) scale(1.2); }
  100% { transform: translate(-5vw, 60vh) scale(0.9); }
}

@keyframes drift-right {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, -30vh) scale(1.3); }
  100% { transform: translate(5vw, -60vh) scale(0.8); }
}

/* Typography & Utilities */
h1, h2, h3, h4 {
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.title-vintage {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 400;
  letter-spacing: -0.03em;
}

.text-italic {
  font-style: italic;
  font-weight: 400;
}

.subtitle-vintage {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-top: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.01em;
}

/* Layout */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Navigation */
.glass-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(252, 252, 252, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 100;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

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

.logo-text {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-main);
  text-decoration: none;
}

nav ul {
  display: flex;
  gap: 3rem;
  list-style: none;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--text-main);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.875rem;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--primary);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline.hover-invert:hover {
  background: var(--primary);
  color: #fff;
}

.link-minimal {
  display: inline-flex;
  align-items: center;
  padding: 1rem 0;
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--text-main);
  text-decoration: none;
  border-bottom: 1px solid var(--glass-border);
  transition: border-color 0.3s ease;
}

.link-minimal:hover {
  border-bottom-color: var(--primary);
}

/* Lead Modal */
.lead-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(252, 252, 252, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.lead-modal.active {
  opacity: 1;
  pointer-events: all;
}

.lead-modal-content {
  position: relative;
  width: 100%;
  max-width: 450px;
  padding: 3rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.1);
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lead-modal.active .lead-modal-content {
  transform: translateY(0);
}

.close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--primary);
}

.modal-header h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.modal-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.glass-input-minimal {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  background: #fff;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-input-minimal:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(17, 17, 17, 0.05);
}

.lead-form .btn {
  width: 100%;
  margin-top: 1rem;
}

.lead-feedback {
  margin-top: 1rem;
  font-size: 0.875rem;
  text-align: center;
  color: var(--primary);
}

/* Sections Global */
section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 500px;
}

/* Hero Section */
.hero {
  padding-top: 200px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to bottom, #ffffff 85%, var(--bg-color) 100%);
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
  align-items: center;
}

.hero-visual img {
  width: 120%;
  margin-left: -10%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply; /* Removes white background */
  filter: grayscale(0%) contrast(1.1) brightness(1.05);
  transition: filter 0.5s ease;
  transform-style: preserve-3d;
}

.hero-visual img:hover,
.hero-visual img:active {
  filter: grayscale(100%) contrast(1.1) brightness(1.05);
}

/* Glass Card */
.glass-card {
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease;
}

.glass-card:hover {
  box-shadow: var(--shadow-lg);
}

/* Problemas */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.card-icon-svg {
  margin-bottom: 2rem;
  color: var(--text-main);
}

.problem-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.problem-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Solução */
.solucao {
  position: relative;
  overflow: hidden;
  padding: 10rem 0;
  background: linear-gradient(to bottom, #ffffff 85%, var(--bg-color) 100%);
}

.solucao-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.solucao-visual {
  position: relative;
  width: 100%;
  height: auto;
  transform: none;
  opacity: 1; 
  pointer-events: auto;
}

.solucao-visual img {
  width: 120%;
  max-width: 800px;
  height: auto;
  object-fit: contain;
  transform-style: preserve-3d;
}

.solution-list {
  list-style: none;
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.glass-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.item-dot-minimal {
  width: 8px;
  height: 8px;
  background: var(--primary);
  margin-top: 8px;
}

.glass-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.glass-item span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
}

.benefit-card {
  position: relative;
  padding: 3rem;
  background: #fff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.benefit-card:hover {
  box-shadow: var(--shadow-lg);
}

.benefit-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-style: italic;
}

.benefit-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Demonstração */
.mockup-container {
  max-width: 1000px;
}

.glass-mockup-minimal img {
  width: 100%;
  filter: grayscale(100%) contrast(1.1);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: filter 0.5s ease;
}

.glass-mockup-minimal img:hover,
.glass-mockup-minimal img:active {
  filter: grayscale(0%) contrast(1.1);
}

/* Prova / Marquee Wave */
.prova {
  overflow: hidden;
}

.wave-marquee {
  position: relative;
  width: 100vw;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  padding: 4rem 0;
}

.wave-track {
  display: inline-flex;
  animation: scrollLeft 35s linear infinite;
  width: max-content;
}

.wave-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  margin: 0 1.5rem;
  color: var(--text-main);
  animation: waveBounce 4s ease-in-out infinite;
  transition: transform 0.3s, color 0.3s, box-shadow 0.3s;
}

.wave-item:hover {
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.1) !important; /* Overrides the bounce momentarily if desired, but actually letting it bounce is better. */
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Scrolls exactly half the width to loop seamlessly */
}

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

/* Staggered delays for the sine wave effect */
.wave-item:nth-child(10n+1) { animation-delay: 0.0s; }
.wave-item:nth-child(10n+2) { animation-delay: 0.4s; }
.wave-item:nth-child(10n+3) { animation-delay: 0.8s; }
.wave-item:nth-child(10n+4) { animation-delay: 1.2s; }
.wave-item:nth-child(10n+5) { animation-delay: 1.6s; }
.wave-item:nth-child(10n+6) { animation-delay: 2.0s; }
.wave-item:nth-child(10n+7) { animation-delay: 2.4s; }
.wave-item:nth-child(10n+8) { animation-delay: 2.8s; }
.wave-item:nth-child(10n+9) { animation-delay: 3.2s; }
.wave-item:nth-child(10n+10) { animation-delay: 3.6s; }

/* CTA */
.cta-box {
  text-align: center;
  padding: 6rem 2rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.cta-box h2 {
  font-size: 4rem;
  margin-bottom: 2rem;
}

.cta-box p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.cta-form {
  display: flex;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
  flex-direction: column;
}

/* Footer */
.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
}

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

.footer-links {
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.visible {
  opacity: 1;
  transform: translate(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 992px) {
  .title-vintage { font-size: 3rem; }
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual img { width: 100%; margin-left: 0; max-width: 500px; }
  .solucao-content { grid-template-columns: 1fr; }
  .solucao-visual { grid-row: 2; }
  .logos-grid { grid-template-columns: repeat(2, 1fr); gap: 4rem; }
}

@media (max-width: 768px) {
  nav ul { display: none; }
  .title-vintage { font-size: 2.25rem; }
  .section-header h2 { font-size: 2.25rem; }
  .hero { padding-top: 130px; }
  section { padding: 5rem 0; }
  .solucao { padding: 5rem 0; }
  .wave-marquee { padding: 3rem 0; }
  .cta-box h2 { font-size: 2rem; }
  .cta-box { padding: 4rem 1.5rem; }
  .glass-card { padding: 2rem; }
  .benefit-card { padding: 2rem; }
}
