/* --- VARIÁVEIS CSS (TEMA LIGHT - BLUE & WHITE) --- */
:root {
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #0f172a;
  
  --bg-color: #ffffff;
  --bg-surface: #f8fafc;
  --bg-element: #f1f5f9;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #ffffff;
  
  --border-color: #e2e8f0;
  
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-glow: 0 0 40px -10px rgba(37, 99, 235, 0.4);
  
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- RESET & TIPOGRAFIA BÁSICA --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none;}

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

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-primary { color: var(--primary); }

/* --- BOTÕES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: 0 4px 14px 0 rgba(37,99,235,0.39);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37,99,235,0.23);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--secondary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-element);
  border-color: #cbd5e1;
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

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

.btn-large {
  padding: 14px 28px;
  font-size: 1.05rem;
}

/* --- HEADER NAVBAR --- */
.navbar {
  position: fixed;
  top: 0; width: 100%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  padding: 0;
  min-height: 85px; /* Altura mínima para garantir presença do logo */
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

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

.brand-logo {
  height: 52px; /* Reduzido em 30% para equilíbrio visual */
  width: auto;
  display: block;
  transform: scale(1.1);
  transform-origin: left center;
  margin-left: 10px;
}


.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--secondary);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; width: 100%;
  background: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  gap: 16px;
  box-shadow: var(--shadow-md);
}

.mobile-menu a {
  font-weight: 500;
  color: var(--text-main);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

/* --- HERO SECTION --- */
.hero {
  position: relative;
  padding: 160px 0 80px;
  text-align: center;
  overflow: hidden;
  background-color: var(--bg-surface);
}

.hero-background-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, rgba(255,255,255,0) 70%);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Hero Mockup Details */
.hero-image-wrapper {
  position: relative;
  margin-top: 60px;
  z-index: 1;
}

.hero-mockup {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow), 0 25px 50px -12px rgb(0 0 0 / 0.15);
  border: 1px solid rgba(255,255,255,0.5);
  max-width: 900px;
  margin: 0 auto;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--secondary);
  border: 1px solid var(--border-color);
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  color: var(--primary);
  font-size: 1.2rem;
}

.card-1 {
  top: 10%;
  left: 5%;
}

.card-2 {
  bottom: 20%;
  right: 5%;
  animation-delay: 3s;
}

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

/* --- FEATURES SECTION --- */
.features {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
}

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

.feature-card {
  background: var(--bg-surface);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.feature-card .icon-wrapper {
  width: 50px; height: 50px;
  background-color: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

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

/* --- SHOWCASE SECTION --- */
.showcase {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-surface);
}

.showcase-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.showcase-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.showcase-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1.05rem;
}

.feature-list i {
  font-size: 1.3rem;
  background: var(--primary-light);
  padding: 4px;
  border-radius: 50%;
}

.showcase-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* --- SUPPORT SECTION --- */
.support {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.support-box {
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.support-info h2 {
  color: var(--text-light);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.support-info p {
  color: #94a3b8;
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 450px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--text-light);
  transition: all 0.2s;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
}

.contact-card i {
  font-size: 1.8rem;
  color: #38bdf8;
}

.contact-card.whatsapp i {
  color: #22c55e;
}

.contact-card strong {
  display: block;
  font-size: 1.05rem;
}

.contact-card span {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.support-illustration {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.support-illustration i {
  font-size: 180px;
  color: rgba(255,255,255,0.9);
  z-index: 1;
}

.circle-bg {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  color: var(--text-muted);
  margin-top: 16px;
  max-width: 300px;
}

.footer-links {
  display: contents; /* Makes inner groups participate in main grid */
}

.link-group h4 {
  font-size: 1.05rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.link-group a {
  display: block;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: color 0.2s;
}

.link-group a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
  .showcase-container {
    grid-template-columns: 1fr;
  }
  .showcase-content {
    order: 2;
  }
  .showcase-image {
    order: 1;
  }
  .support-box {
    grid-template-columns: 1fr;
    padding: 40px;
  }
  .support-illustration {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .floating-card {
    display: none;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .mobile-menu.active {
    display: flex;
  }
}
/* --- MODAL DE CAPTURA DE LEAD --- */
.lead-modal-overlay {
  position: fixed;
  top: 0; left: 0; 
  width: 100%; height: 100%;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none; /* Ativado via JS */
  align-items: center; justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.lead-modal-overlay.active {
  display: flex;
}

.lead-modal {
  background: var(--bg-color);
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border: 1px solid var(--border-color);
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  font-size: 1.25rem;
  transition: all 0.2s;
  background: var(--bg-surface);
}

.modal-close:hover {
  background: var(--bg-element);
  color: var(--secondary);
}

.modal-header {
  text-align: center;
  margin-bottom: 24px;
}

.modal-icon {
  width: 64px; height: 64px;
  background: #dcfce7; /* Light green */
  color: #22c55e;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  margin: 0 auto 16px;
}

.modal-header h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}

.form-group input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: all 0.2s;
  background: var(--bg-surface);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.btn-full {
  width: 100%;
  padding: 14px;
}

.secure-text {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: -10px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* --- ACESSO SELECTION PAGE --- */
.access-page {
    background-color: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 0;
}

.access-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.back-link {
    position: absolute;
    top: -40px;
    left: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary);
}

.brand-logo-large {
    height: 80px;
    margin: 0 auto 32px;
}

.access-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.access-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.access-card {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.access-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.12);
    border-color: var(--primary);
}

.access-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 24px;
}

.access-icon-wrapper.blue { background-color: #eff6ff; color: #3b82f6; }
.access-icon-wrapper.zinc { background-color: #f1f5f9; color: #475569; }
.access-icon-wrapper.primary { background-color: var(--primary-light); color: var(--primary); }

.access-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.access-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    flex-grow: 1;
}

.access-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.access-footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Responsividade Acesso */
@media (max-width: 900px) {
    .access-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    .access-header h1 {
        font-size: 2rem;
    }
    .back-link {
        position: static;
        margin-bottom: 24px;
        justify-content: center;
    }
}
