/* ========================================
   LP Nova Vila Prudente v3 — LimpoSim
   ======================================== */

/* TOKENS */
:root {
  --green: #29ae59;
  --green-dark: #1f8444;
  --green-deep: #206037;
  --champagne: #d4a843;
  --text: #1a1a2e;
  --text-mid: #3d3d50;
  --text-soft: #5b6370;
  --bg: #fafafa;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --container: 1160px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4, .benefit-card h3, .service-card h3, .badge-item h3, .footer h3 { font-size: 1.125rem; font-family: var(--font-body); font-weight: 700; }
p { color: var(--text-mid); }

/* LAYOUT */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }
section:nth-child(even) { background: var(--bg); }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-mid); max-width: 680px; margin: 0 auto 56px; font-size: 1.0625rem; }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 1rem;
  transition: all var(--transition);
  cursor: pointer;
  min-height: 48px;
}
.btn-primary {
  background: var(--green-dark); color: var(--white);
  box-shadow: 0 4px 16px rgba(31,132,68,0.35);
}
.btn-primary:hover {
  background: var(--green-deep); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(32,96,55,0.45);
}
.btn-outline {
  background: transparent; color: var(--green);
  border: 2px solid var(--green);
}
.btn-outline:hover { background: var(--green); color: var(--white); }
.btn-lg { padding: 18px 40px; font-size: 1.0625rem; min-height: 56px; }
.btn-block { width: 100%; }

/* HEADER */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; display: block; }
.footer-logo { height: 50px; width: auto; display: block; margin-bottom: 16px; filter: brightness(1) invert(0); }
.logo-text { color: var(--text); }
.logo-accent { color: var(--green); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a { color: var(--text); font-weight: 500; font-size: 0.9375rem; }
.header-cta { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 600; color: var(--green-deep); font-size: 0.9375rem; }
.menu-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 4px; }
.menu-toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* HERO */
.hero {
  padding: 60px 0 80px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 50%, #fafafa 100%);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: rgba(41,174,89,0.1); color: var(--green-deep);
  font-size: 0.875rem; font-weight: 600; margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero-subheading { font-size: 1.125rem; color: var(--text-mid); margin-bottom: 28px; max-width: 540px; }
.hero-bullets { margin: 28px 0 36px; }
.hero-bullets li {
  padding: 8px 0 8px 32px; position: relative;
  color: var(--text); font-weight: 500;
}
.hero-bullets li::before {
  content: '✓'; position: absolute; left: 0; top: 8px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-size: 0.75rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-meta { margin-top: 28px; display: flex; align-items: center; gap: 16px; color: var(--text-mid); font-size: 0.9375rem; }
.stars { color: var(--champagne); letter-spacing: 2px; font-size: 1.125rem; }
.hero-image-wrap {
  position: relative; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3; width: 100%;
}
.hero-image { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* INSTITUTIONAL BLOCK */
.institutional {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.institutional h2 { margin-bottom: 24px; }
.institutional p + p { margin-top: 16px; }
.institutional-image {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow);
}

/* BEFORE/AFTER SLIDER */
.ba-wrapper { max-width: 820px; margin: 0 auto; }
.ba-slider {
  position: relative; aspect-ratio: 4/3;
  border-radius: var(--radius); overflow: hidden;
  cursor: ew-resize; user-select: none;
  box-shadow: var(--shadow);
  background: #000;
}
.ba-slider img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-slider .ba-after-img {
  clip-path: inset(0 50% 0 0);
  transition: clip-path 0.05s linear;
}
.ba-divider {
  position: absolute; top: 0; left: 50%; width: 4px; height: 100%;
  background: var(--white); transform: translateX(-50%);
  pointer-events: none;
}
.ba-handle {
  position: absolute; top: 50%; left: 50%;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--white); transform: translate(-50%, -50%);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  display: flex; align-items: center; justify-content: center;
  pointer-events: none; color: var(--green-deep); font-weight: 700;
}
.ba-label {
  position: absolute; top: 16px; padding: 6px 14px;
  background: rgba(0,0,0,0.7); color: var(--white);
  border-radius: 999px; font-size: 0.8125rem; font-weight: 600;
}
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; background: var(--green); }
.ba-thumbs {
  display: flex; gap: 12px; margin-top: 24px;
  justify-content: center; flex-wrap: wrap;
}
.ba-thumb {
  width: 72px; height: 54px; border-radius: 8px; overflow: hidden;
  border: 3px solid transparent; cursor: pointer;
  transition: border-color var(--transition);
}
.ba-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ba-thumb.active { border-color: var(--green); }

/* TESTIMONIALS */
.testimonials-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.testimonial {
  background: var(--white); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.testimonial-stars { color: var(--champagne); font-size: 1.125rem; margin-bottom: 12px; letter-spacing: 2px; }
.testimonial-text { color: var(--text); font-size: 0.9375rem; flex-grow: 1; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1rem;
}
.author-info { flex: 1; }
.author-name { font-weight: 700; color: var(--text); font-size: 0.9375rem; }
.author-meta { font-size: 0.8125rem; color: var(--text-soft); display: flex; align-items: center; gap: 4px; }
.google-badge { color: #4285F4; font-weight: 600; }

/* PROCESS STEPS */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px; counter-reset: step;
  margin-top: 40px;
}
.process-step {
  text-align: center; padding: 40px 24px 28px;
  background: var(--white); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  position: relative;
}
.process-step:not(.process-step-cta)::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green); color: var(--white);
  font-family: var(--font-head); font-size: 1.375rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(41,174,89,0.3);
}
.process-step h3 { font-size: 1.125rem; margin: 8px 0 10px; font-family: var(--font-body); }
.process-step p { font-size: 0.9375rem; }
.process-step-cta {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
  border-color: transparent;
  color: var(--white);
}
.process-step-cta h3 { color: var(--white); }
.process-step-cta p { color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.process-step-cta .btn-primary { background: var(--champagne); color: var(--text); box-shadow: none; }
.process-step-cta .btn-primary:hover { background: #c9972f; color: var(--text); }
@media (max-width: 860px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .process-grid { grid-template-columns: 1fr; } }

/* WET OBJECTION */
.wet-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px; margin-top: 32px;
}
.wet-card {
  background: var(--white); border-radius: var(--radius);
  padding: 32px 24px; box-shadow: var(--shadow);
  border: 1px solid var(--border); text-align: center;
}
.wet-card .icon {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(41,174,89,0.12); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin: 0 auto 16px;
}
.wet-proof {
  margin-top: 40px; padding: 24px;
  background: rgba(41,174,89,0.05); border-left: 4px solid var(--green);
  border-radius: var(--radius-sm);
}
.wet-proof strong { color: var(--green-deep); }

/* BENEFITS */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.benefit-card {
  padding: 24px; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.benefit-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, var(--green), var(--green-deep));
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 16px;
}
.benefit-card h4 { margin-bottom: 8px; }
.benefit-card p { font-size: 0.9375rem; }

/* PARTNER TECH SECTION */
.partner {
  background: linear-gradient(135deg, var(--green-deep) 0%, var(--green-dark) 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  margin: 0 auto;
  max-width: calc(var(--container) - 48px);
}
.partner-inner { max-width: 720px; margin: 0 auto; }
.partner h2 { color: var(--white); margin-bottom: 24px; }
.partner p { color: rgba(255,255,255,0.9); font-size: 1.0625rem; margin-bottom: 16px; }
.partner-stat {
  display: inline-flex; flex-direction: column; align-items: center;
  margin-top: 32px; padding: 20px 32px;
  background: rgba(255,255,255,0.12); border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
}
.partner-stat-number { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--champagne); line-height: 1; }
.partner-stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.9); margin-top: 4px; }

/* OTHER SERVICES */
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 28px 20px; background: var(--white);
  border-radius: var(--radius); text-align: center;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--green); }
.service-card .emoji { font-size: 2.25rem; margin-bottom: 12px; }
.service-card h4 { margin-bottom: 4px; }
.service-card p { font-size: 0.875rem; color: var(--text-soft); }

/* WHY CHOOSE - BADGES */
.badges-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.badge-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 20px; background: var(--white);
  border-radius: var(--radius); border: 1px solid var(--border);
}
.badge-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px;
  background: rgba(41,174,89,0.12); color: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.375rem; font-weight: 700;
}
.badge-item h4 { font-size: 1rem; margin-bottom: 4px; }
.badge-item p { font-size: 0.875rem; }

/* PRICE ANCHOR */
.price-anchor {
  text-align: center; padding: 56px 32px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%);
  border-radius: var(--radius-lg); border: 2px solid var(--green);
  max-width: 720px; margin: 0 auto;
}
.price-label { color: var(--text-mid); font-size: 0.9375rem; margin-bottom: 8px; }
.price-value { font-family: var(--font-head); font-size: 3rem; font-weight: 700; color: var(--green-deep); line-height: 1; }
.price-value small { font-size: 1rem; color: var(--text-mid); font-family: var(--font-body); font-weight: 400; display: block; margin-top: 8px; }
.price-anchor .btn { margin-top: 28px; }
.price-disclaimer { font-size: 0.8125rem; color: var(--text-soft); margin-top: 16px; }

/* FAQ */
.faq-wrapper { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%; padding: 20px 0; text-align: left;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-size: 1.0625rem; color: var(--text);
  cursor: pointer; gap: 16px;
}
.faq-toggle {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--green);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition); font-size: 1.125rem; font-weight: 300;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition);
}
.faq-answer-inner { padding: 0 0 20px; color: var(--text-mid); }

/* FINAL CTA */
.final-cta {
  background: linear-gradient(135deg, var(--green-deep) 0%, #0f3a22 100%);
  color: var(--white); text-align: center;
  padding: 80px 24px; border-radius: var(--radius-lg);
  max-width: calc(var(--container) - 48px); margin: 0 auto;
}
.final-cta h2 { color: var(--white); margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.9); margin-bottom: 32px; font-size: 1.0625rem; }
.final-cta .btn-primary { background: var(--champagne); color: var(--text); }
.final-cta .btn-primary:hover { background: #c9972f; }

/* FOOTER */
.footer {
  background: #0f1419; color: rgba(255,255,255,0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px; margin-bottom: 48px;
}
.footer h3 { color: var(--white); margin-bottom: 20px; font-size: 1rem; }
.footer a { color: rgba(255,255,255,0.7); }
.footer a:hover { color: var(--green); }
.footer ul li { margin-bottom: 10px; font-size: 0.9375rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.9375rem; margin-top: 12px; }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.social-links a:hover { background: var(--green); color: var(--white); }
.footer-bottom {
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.875rem; color: rgba(255,255,255,0.5);
}

/* MODAL */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  display: none; align-items: center; justify-content: center;
  z-index: 1000; padding: 20px;
  backdrop-filter: blur(4px);
}
.modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }
.modal {
  background: var(--white); border-radius: var(--radius);
  padding: 40px 32px; max-width: 480px; width: 100%;
  position: relative; box-shadow: var(--shadow-lg);
  animation: slideUp 0.3s ease;
}
.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--text-mid);
  font-size: 1.25rem;
}
.modal-close:hover { background: var(--border); }
.modal h3 { margin-bottom: 8px; }
.modal p { color: var(--text-mid); margin-bottom: 24px; font-size: 0.9375rem; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9375rem;
  background: var(--white); color: var(--text);
  transition: border-color var(--transition);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(41,174,89,0.15);
}
.form-group textarea { resize: vertical; min-height: 80px; }
.form-error { color: #dc2626; font-size: 0.8125rem; margin-top: 4px; display: none; }
.form-group.has-error .form-error { display: block; }
.form-group.has-error input, .form-group.has-error textarea { border-color: #dc2626; }
.form-success { text-align: center; padding: 20px 0; display: none; }
.form-success.active { display: block; }
.form-success .check {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--green); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; margin: 0 auto 16px;
}

/* STICKY MOBILE CTA */
.sticky-cta {
  position: fixed; bottom: 16px; left: 16px; right: 16px;
  z-index: 90; display: none;
}
.sticky-cta .btn {
  width: 100%; box-shadow: 0 6px 20px rgba(41,174,89,0.4);
  animation: pulseGreen 2s infinite;
}

/* ANIMATIONS */
@keyframes pulseGreen {
  0%, 100% { box-shadow: 0 6px 20px rgba(41,174,89,0.4); }
  50% { box-shadow: 0 6px 28px rgba(41,174,89,0.7); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 960px) {
  section { padding: 56px 0; }
  .hero { padding: 40px 0 56px; }
  .hero-grid, .institutional { grid-template-columns: 1fr; gap: 40px; }
  .hero-image-wrap { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .partner { padding: 48px 24px; margin: 0 16px; }
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .sticky-cta { display: block; }
  body { padding-bottom: 80px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .phone-link { display: none; }
  .price-value { font-size: 2.25rem; }
  .hero-cta-group { flex-direction: column; align-items: stretch; }
  .hero-cta-group .btn { width: 100%; }
}

/* UTILITIES */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.mt-lg { margin-top: 48px; }
