/* Import Google Fonts - Inter and Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@500;600;700;800&display=swap');

/* Variables & Design System */
:root {
  --primary-dark: #020B1A;     /* Deep navy blue matching logo */
  --primary-medium: #1E3E62;   /* Slate blue */
  --accent-gold: #D4AF37;      /* Premium gold */
  --accent-gold-hover: #AA8C2C;/* Darker gold for hover */
  --accent-green: #10B981;     /* Success / conversion green */
  --accent-green-hover: #059669;
  
  --text-dark: #1E293B;        /* Near black for body text */
  --text-light: #F8FAFC;       /* Off-white */
  --text-muted: #64748B;       /* Cool gray for secondary text */
  
  --bg-light: #F8FAFC;         /* Clean background */
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-dark);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Helper Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: linear-gradient(135deg, #FFFFFF 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center {
  text-align: center;
}

/* Header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 24px 0;
  background: transparent;
}

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

.logo-wrapper img {
  height: 105px;
  width: auto;
  object-fit: contain;
}

.btn-header {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  color: var(--text-light);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(10px);
}

.btn-header:hover {
  background-color: var(--text-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 80% 20%, var(--primary-medium) 0%, var(--primary-dark) 100%);
  color: var(--text-light);
  padding: 160px 0 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--bg-light), transparent);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--accent-gold);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero-subtitle {
  font-size: 18px;
  color: #CBD5E1;
  margin-bottom: 32px;
  font-weight: 400;
}

.hero-cta-btn {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #AA8C2C 100%);
  color: var(--primary-dark);
  padding: 16px 36px;
  border-radius: var(--radius-full);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
  transition: var(--transition);
}

.hero-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.5);
  background: linear-gradient(135deg, #F3D060 0%, var(--accent-gold) 100%);
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stat {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: rgba(11, 25, 44, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-card-stat .icon {
  background-color: var(--accent-gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
}

.hero-card-stat .stat-val {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
}

.hero-card-stat .stat-lbl {
  font-size: 12px;
  color: #94A3B8;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.4));
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-title {
  font-size: 32px;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 50px auto;
  font-size: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 62, 98, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(30, 62, 98, 0.05);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-medium);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background-color: var(--primary-dark);
  color: var(--accent-gold);
}

.service-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-medium);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card:hover .service-link {
  color: var(--accent-gold-hover);
}

/* Trust Elements / Metrics Section */
.metrics {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0;
  position: relative;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  text-align: center;
}

.metric-item h3 {
  font-size: 40px;
  color: var(--accent-gold);
  margin-bottom: 8px;
  font-weight: 800;
}

.metric-item p {
  color: #94A3B8;
  font-size: 14px;
  font-weight: 500;
}

/* Lead Capturing Form Section */
.lead-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.lead-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: start;
}

.lead-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.lead-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 16px;
}

.lead-benefits {
  list-style: none;
}

.lead-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 15px;
}

.lead-benefits li svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 3px;
}

.form-wrapper {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.form-header {
  margin-bottom: 24px;
}

.form-title {
  font-size: 20px;
  margin-bottom: 6px;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 14px;
}

/* Multi-step Form UI */
.step-progress {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
}

.step-indicator {
  flex: 1;
  height: 4px;
  background-color: rgba(226, 232, 240, 1);
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.step-indicator.active {
  background-color: var(--primary-medium);
}

.step-indicator.completed {
  background-color: var(--accent-gold);
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Step 1 Options Grid */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.option-card {
  background-color: var(--bg-white);
  border: 2px solid rgba(226, 232, 240, 1);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.option-card:hover {
  border-color: var(--primary-medium);
  transform: translateY(-2px);
}

.option-card.selected {
  border-color: var(--accent-gold);
  background-color: rgba(212, 175, 55, 0.05);
}

.option-card svg {
  color: var(--primary-medium);
  transition: var(--transition);
}

.option-card.selected svg {
  color: var(--accent-gold);
}

.option-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-dark);
}

/* Fields Styling */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  border: 1.5px solid rgba(226, 232, 240, 1);
  border-radius: var(--radius-md);
  background-color: var(--bg-white);
  color: var(--text-dark);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-medium);
  box-shadow: 0 0 0 3px rgba(30, 62, 98, 0.1);
}

.form-control.error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.error-message {
  color: #EF4444;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.form-control.error + .error-message {
  display: block;
}

/* Nav Buttons */
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}

.btn-form {
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-form-prev {
  background-color: transparent;
  color: var(--text-muted);
  border: 1.5px solid rgba(226, 232, 240, 1);
}

.btn-form-prev:hover {
  background-color: rgba(226, 232, 240, 0.5);
  color: var(--primary-dark);
}

.btn-form-next {
  background-color: var(--primary-medium);
  color: var(--text-light);
  margin-left: auto; /* Push to right if alone */
}

.btn-form-next:hover {
  background-color: var(--primary-dark);
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
  color: var(--text-light);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, #34D399 0%, var(--accent-green) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Success State */
.success-card {
  text-align: center;
  padding: 20px 0;
  animation: fadeIn 0.5s ease-out;
}

.success-icon-wrapper {
  width: 72px;
  height: 72px;
  background-color: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green);
  margin: 0 auto 24px auto;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.testimonial-card {
  background-color: var(--bg-white);
  padding: 32px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.rating {
  color: var(--accent-gold);
  margin-bottom: 16px;
  font-size: 18px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 24px;
  font-size: 14px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--primary-medium);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.author-info h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}

.author-info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* Footer Section */
.footer {
  background-color: var(--primary-dark);
  color: #94A3B8;
  padding: 60px 0 30px 0;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-brand img {
  height: 80px;
  margin-bottom: 16px;
}

.footer-brand p {
  max-width: 400px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 16px;
}

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

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

.footer-links a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
}

.footer-disclaimer {
  max-width: 800px;
  line-height: 1.5;
  font-size: 11px;
  color: #64748B;
}

.footer-cnpj {
  font-weight: 600;
  color: #CBD5E1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .logo-wrapper img {
    height: 80px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-image-wrapper {
    display: none; /* Hide illustration on tablets/phones to focus on CTA and clean look */
  }
  
  .lead-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 576px) {
  .header {
    padding: 16px 0;
  }

  .logo-wrapper img {
    height: 60px;
  }

  .btn-header {
    padding: 8px 14px;
    font-size: 12px;
  }

  .hero {
    padding: 120px 0 110px 0;
  }

  .hero::after {
    height: 50px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-subtitle {
    font-size: 15px;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .form-wrapper {
    padding: 24px;
  }
}
