/*
Theme Name: ChatLab Landing
Description: Tema WordPress para landing page do ChatLab
Version: 1.0
Author: ChatLab
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a202c;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 4rem;
  object-fit: contain;
}

.nav-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-menu.active {
  display: flex;
}

.nav-link {
  color: #374151;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #475569;
}

.nav-button {
  padding: 0.625rem 1.5rem;
  background: linear-gradient(to right, #475569, #334155);
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
  background: linear-gradient(to right, #334155, #1e293b);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.mobile-menu-button {
  display: block;
  padding: 0.5rem;
  color: #374151;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  padding: 1rem;
  border-top: 1px solid #e5e7eb;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-link {
  display: block;
  padding: 0.5rem 0;
  color: #374151;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu-link:hover {
  color: #475569;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(to bottom right, #f8fafc, #ffffff, #f9fafb);
  overflow: hidden;
  padding-top: 5rem;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(0,0,0,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0,0,0,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.05;
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1rem;
  position: relative;
}

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

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

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: #f1f5f9;
  color: #475569;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title-gradient {
  background: linear-gradient(to right, #475569, #1e293b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: #4b5563;
  margin-bottom: 2rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.hero-button-primary {
  padding: 1rem 2rem;
  background: linear-gradient(to right, #475569, #334155);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-button-primary:hover {
  background: linear-gradient(to right, #334155, #1e293b);
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.hero-button-secondary {
  padding: 1rem 2rem;
  background: white;
  color: #374151;
  font-size: 1.125rem;
  font-weight: 600;
  border: 2px solid #d1d5db;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.hero-button-secondary:hover {
  border-color: #475569;
  color: #475569;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.hero-features {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: #4b5563;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-feature-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #10b981;
}

.hero-preview {
  position: relative;
}

.hero-preview-card {
  position: relative;
  z-index: 10;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.hero-chat {
  background: linear-gradient(to bottom right, #475569, #334155);
  border-radius: 0.75rem;
  padding: 1.5rem;
  color: white;
}

.hero-chat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.hero-chat-avatar {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.hero-chat-info h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.hero-chat-info p {
  font-size: 0.875rem;
  color: #cbd5e1;
}

.hero-chat-messages {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-chat-message {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  padding: 0.75rem;
  font-size: 0.875rem;
  backdrop-filter: blur(4px);
}

.hero-preview-shadow {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  width: 100%;
  height: 100%;
  background-color: #e2e8f0;
  border-radius: 1rem;
  opacity: 0.2;
  z-index: -10;
}

/* Features Section */
.features {
  padding: 5rem 1rem;
  background: white;
}

.features-container {
  max-width: 1280px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.features-description {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.feature-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  border: 2px solid #f3f4f6;
  transition: all 0.3s;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.feature-card:hover {
  border-color: #94a3b8;
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(to bottom right, #475569, #334155);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  border: 4px solid white;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
}

.feature-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
}

/* How It Works */
.how-it-works {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}

.how-it-works-container {
  max-width: 1280px;
  margin: 0 auto;
}

.how-it-works-header {
  text-align: center;
  margin-bottom: 4rem;
}

.how-it-works-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.how-it-works-description {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 48rem;
  margin: 0 auto;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  position: relative;
}

.step-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 2px solid #e5e7eb;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.step-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.step-number {
  display: inline-flex;
  width: 4rem;
  height: 4rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: linear-gradient(to bottom right, #475569, #334155);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.step-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.step-description {
  color: #4b5563;
  line-height: 1.6;
}

.step-arrow {
  display: none;
  position: absolute;
  top: 50%;
  right: -1rem;
  transform: translateY(-50%);
  width: 2rem;
  height: 2rem;
  color: #94a3b8;
  z-index: 10;
}

/* CTA Section */
.cta {
  padding: 5rem 1rem;
  background: linear-gradient(to bottom right, #475569, #334155, #1e293b);
  color: white;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(circle at 2px 2px, white 1px, transparent 0);
  background-size: 40px 40px;
}

.cta-container {
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.cta-button-primary {
  padding: 1rem 2rem;
  background: white;
  color: #475569;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.cta-button-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.cta-button-secondary {
  padding: 1rem 2rem;
  background: rgba(51, 65, 85, 0.5);
  color: white;
  font-size: 1.125rem;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.5rem;
  text-decoration: none;
  transition: all 0.2s;
  backdrop-filter: blur(4px);
}

.cta-button-secondary:hover {
  background: rgba(51, 65, 85, 0.7);
}

/* Footer */
.footer {
  background: #111827;
  color: #d1d5db;
  padding: 4rem 1rem;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 4rem;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.footer-description {
  color: #9ca3af;
  margin-bottom: 1rem;
  max-width: 28rem;
  line-height: 1.6;
}

.footer-title {
  color: white;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copyright {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-cnpj {
  color: #4b5563;
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 640px) {
  .hero-buttons,
  .cta-buttons {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .mobile-menu-button {
    display: none;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-content {
    text-align: left;
  }
  
  .hero-buttons {
    justify-content: flex-start;
  }
  
  .hero-features {
    justify-content: flex-start;
  }
  
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .how-it-works-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .step-arrow {
    display: block;
  }
  
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-grid > div:first-child {
    grid-column: span 2;
  }
  
  .footer-bottom {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
  
  .features-title,
  .how-it-works-title,
  .cta-title {
    font-size: 3rem;
  }
}

/* Contact Form 7 Styles */
.cta-form-wrapper {
  max-width: 600px;
  margin: 2rem auto 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  backdrop-filter: blur(10px);
}

.wpcf7-form {
  text-align: left;
}

.wpcf7-form label {
  display: block;
  color: white;
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.wpcf7-form textarea {
  min-height: 120px;
  resize: vertical;
}

.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 1rem 2rem;
  background: white;
  color: #475569;
  font-weight: 600;
  font-size: 1.125rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.wpcf7-form input[type="submit"]:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

.wpcf7-response-output {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  text-align: center;
  font-weight: 500;
}

.wpcf7-mail-sent-ok {
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid rgba(16, 185, 129, 0.5);
  color: #10b981;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam,
.wpcf7-validation-errors {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid rgba(239, 68, 68, 0.5);
  color: #ef4444;
}

.wpcf7-not-valid-tip {
  color: #fca5a5;
  font-size: 0.875rem;
  margin-top: -0.75rem;
  margin-bottom: 0.5rem;
  display: block;
}

.wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 0.5rem;
}

.wpcf7-form-control.wpcf7-not-valid {
  border-color: #ef4444 !important;
  background: rgba(239, 68, 68, 0.1) !important;
}

/* Form Input Classes (para usar no Contact Form 7) */
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  font-family: inherit;
}

.form-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: white;
  color: #475569;
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

