
:root {
  --bg-color: #0b0c10;
  --bg-secondary: #1f2833;
  --text-primary: #ffffff;
  --text-secondary: #c5c6c7;
  --accent-color: #66fcf1;
  --accent-hover: #45a29e;
  
  --font-sans: 'Inter', sans-serif;
  --font-display: 'Space Grotesk', sans-serif;
  
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
}

/* Accessibility: Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

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

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

.urban-bg {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(31, 40, 51, 0.8) 0%, rgba(11, 12, 16, 1) 70%);
  z-index: -2;
}

.tech-grid {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -1;
}

/* Header */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.brand-logo { height: 40px; }

nav a {
  color: var(--text-primary);
  text-decoration: none;
  margin-left: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid rgba(102, 252, 241, 0.75);
  outline-offset: 4px;
}

.nav-highlight {
  border: 1px solid var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: var(--accent-color);
}

/* Typograpy & Buttons */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; }

.eyebrow {
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 252, 241, 0.2);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  transform: none;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.72;
  pointer-events: none;
  transform: none;
}

.is-hidden {
  display: none !important;
}

.button-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,0.2);
}

.button-secondary:hover {
  border-color: var(--text-primary);
  box-shadow: none;
}

/* Sections Common */
.section {
  padding: var(--spacing-lg) 5%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-heading { text-align: center; margin-bottom: var(--spacing-lg); }
.section-heading h2 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  min-height: 80vh;
}

.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); margin-bottom: 1.5rem; }
.hero-copy { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1rem; }
.hero-punch { font-size: 1.25rem; font-weight: 700; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; margin-bottom: 2rem; }

.badge-row span {
  display: inline-block;
  font-size: 0.85rem;
  background: rgba(255,255,255,0.05);
  padding: 0.3rem 0.8rem;
  border-radius: 12px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.hero-visual { position: relative; }

.hero-phone img {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}

.hero-phone-main { width: 70%; position: relative; z-index: 2; }
.hero-phone-secondary { width: 60%; position: absolute; right: 0; top: 20%; z-index: 1; opacity: 0.7; }

.floating-proof {
  position: absolute;
  bottom: 10%;
  left: -10%;
  background: var(--bg-secondary);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  border: 1px solid rgba(102, 252, 241, 0.3);
  z-index: 3;
}
.floating-proof span { display: block; font-size: 0.85rem; color: var(--text-secondary); }
.floating-proof strong { font-size: 1.5rem; color: var(--accent-color); }

/* Grids Gerais */
.feature-grid, .screens-grid, .testimonial-grid, .faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

article.gsap-card, .testimonial-card, .faq-item {
  background: rgba(255,255,255,0.03);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}
article.gsap-card:hover { background: rgba(255,255,255,0.05); }

/* Interface / Prints */
.screens-grid img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  margin-bottom: 1rem;
  object-fit: cover;
}

/* FAQ */
.faq-grid { display: flex; flex-direction: column; max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 1rem; cursor: pointer; }
.faq-item summary {
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  outline: none;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; float: right; font-size: 1.5rem; color: var(--accent-color); }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin-top: 1rem; color: var(--text-secondary); }

/* Testimonials */
.stars { color: #FFD700; margin-bottom: 1rem; }
.testimonial-card p { font-style: italic; margin-bottom: 1rem; }
.testimonial-card span { display: block; font-size: 0.85rem; color: var(--text-secondary); }

/* Calculadora (da v2) */
.calc-section { max-width: 900px; }
.calc-card {
  align-items: center;
  background: linear-gradient(145deg, rgba(31,40,51,0.8), rgba(11,12,16,0.9));
  border: 1px solid var(--accent-hover);
  border-radius: 16px;
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  padding: 2rem;
}
.calc-inputs .field { margin-bottom: 2rem; display: flex; flex-direction: column; }
.calc-highlight { color: var(--accent-color); font-size: 1.2rem; }
.calc-inputs input[type=range] { width: 100%; margin-top: 0.5rem; accent-color: var(--accent-color); }
.calc-result { text-align: center; padding: 2rem; background: rgba(0,0,0,0.3); border-radius: 16px; }
.calc-result h3 { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 1rem; }
.calc-value { font-size: 3.5rem; font-weight: 800; color: var(--accent-color); font-family: var(--font-display); line-height: 1; margin-bottom: 1rem; }
.calc-value small { font-size: 1rem; color: var(--text-secondary); font-weight: 400; }
.calc-desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.calc-btn { width: 100%; }

/* Forms */
.form-section { max-width: 800px; }
.signup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.signup-form label { font-size: 0.9rem; margin-bottom: 0.5rem; color: var(--text-secondary); }
.signup-form input, .signup-form select, .signup-form textarea {
  padding: 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(0,0,0,0.5);
  color: white;
  font-family: var(--font-sans);
}
.signup-form textarea { resize: vertical; min-height: 110px; }
.checkbox-field { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-field input { width: auto; }
.form-footer { grid-column: 1 / -1; text-align: center; margin-top: 1rem; }
.form-status {
  min-height: 1.5rem;
  margin-top: 1rem;
  color: var(--accent-color);
  font-size: 0.95rem;
}
.privacy-note {
  background: rgba(102, 252, 241, 0.08);
  border: 1px solid rgba(102, 252, 241, 0.2);
  border-radius: 12px;
  color: var(--text-secondary);
  margin: 1.5rem auto;
  max-width: 560px;
  padding: 1rem;
}

/* Cookie Banner (LGPD) */
.cookie-banner { position: fixed; bottom: 0; left: 0; width: 100%; background: var(--bg-secondary); padding: 1.5rem 5%; display: flex; justify-content: space-between; align-items: center; z-index: 9999; box-shadow: 0 -5px 20px rgba(0,0,0,0.5); border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-content { flex: 1; max-width: 800px; font-size: 0.9rem; color: var(--text-secondary); }
.cookie-content a { color: var(--accent-color); }
.cookie-actions { display: flex; gap: 0.75rem; margin-left: 2rem; }
.cookie-btn { padding: 0.8rem 1.5rem; white-space: nowrap; }

/* Footer */
.site-footer {
  text-align: center;
  padding: 3rem 5%;
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 4rem;
}
.site-footer img { height: 30px; margin-bottom: 1rem; opacity: 0.5; }
.footer-copy { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; }
.site-footer nav a { color: var(--text-secondary); margin: 0 1rem; font-size: 0.9rem; }

/* Legal pages */
.legal-page {
  margin: 0 auto;
  max-width: 920px;
  padding: clamp(3rem, 8vw, 5rem) 5%;
}
.legal-content {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: clamp(2rem, 5vw, 3rem);
}
.legal-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.5rem;
}
.legal-content h2 {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}
.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.legal-content a {
  color: var(--accent-color);
}

/* Thank you */
.thank-you-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 4rem 5%;
}
.thank-you-card {
  display: block;
  max-width: 680px;
  padding: clamp(2rem, 6vw, 3.5rem);
  text-align: center;
}
.thank-you-card h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 1rem;
}
.thank-you-card p {
  color: var(--text-secondary);
  margin: 0 auto 1.5rem;
  max-width: 560px;
}
.thank-you-card .hero-actions {
  justify-content: center;
  margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
  .site-header { align-items: flex-start; gap: 1rem; }
  .hero { grid-template-columns: 1fr; padding-top: 2rem; text-align: center; }
  .hero-actions { justify-content: center; flex-direction: column; }
  .button { width: 100%; text-align: center; }
  .hero-visual { margin: 1rem auto 0; max-width: 420px; width: 100%; }
  .hero-phone-main { width: 80%; margin: 0 auto; }
  .hero-phone-secondary { right: 3%; top: 16%; width: 52%; }
  .floating-proof { left: 0; right: 0; bottom: -20px; text-align: center; }
  .signup-form { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .calc-card { grid-template-columns: 1fr; gap: 2rem; }
  .cookie-banner { flex-direction: column; text-align: center; gap: 1rem; padding: 1rem; }
  .cookie-actions { flex-direction: column; margin-left: 0; width: 100%; }
  .cookie-btn { width: 100%; }
}

@media (max-width: 560px) {
  .section { padding: 3rem 5%; }
  .hero h1 { font-size: 2.35rem; }
  .calc-value { font-size: 2.5rem; overflow-wrap: anywhere; }
  article.gsap-card, .testimonial-card, .faq-item, .calc-result { padding: 1.25rem; }
  .legal-content { border-radius: 12px; padding: 1.5rem; }
  .site-footer nav a { display: inline-block; margin: 0.4rem 0.7rem; }
}
