/*
 * CSS Customizado da Landing Page - SuaVez
 * Cores definidas em specs/layout/cores.txt
 */

:root {
  /* Marca */
  --color-primary: #00FFC2;      /* Menta Principal */
  --color-secondary: #0096AA;    /* Turquesa Profundo */

  /* Interface */
  --color-bg-body: #F4F6F8;      /* Fundo do Site */
  --color-bg-surface: #FFFFFF;   /* Fundo dos Cards */
  --color-text-main: #12263A;    /* Texto Principal */
  --color-text-muted: #64748B;   /* Texto Secundário */

  /* Status */
  --color-status-info: #3498DB;  /* Em Atendimento */
  --color-status-wait: #F39C12;  /* Em Espera */
  --color-status-error: #E74C3C; /* Cancelado */
  --color-status-success: #27AE60; /* Concluído */
}

/* Reset e Base */
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
}

/* Navbar */
.navbar-brand img {
  height: 40px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar {
  background-color: var(--color-bg-surface) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.btn-login {
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: var(--color-secondary);
  color: white;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #005f6f 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  opacity: 0.95;
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn-cta-primary {
  background: var(--color-primary);
  color: var(--color-text-main);
  border: none;
  font-weight: 700;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0, 255, 194, 0.3);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-cta-primary:hover {
  background: #00e6af;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 255, 194, 0.4);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
  font-weight: 600;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background: white;
  color: var(--color-secondary);
}

.hero-badges {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  opacity: 0.9;
}

.hero-badge i {
  color: var(--color-primary);
  font-size: 1.5rem;
}

/* Como Funciona */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
}

.step-card {
  background: var(--color-bg-surface);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.step-card h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.step-card p {
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* Funcionalidades */
.feature-card {
  background: var(--color-bg-surface);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
  color: white;
}

.feature-card h5 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Preços */
.pricing-section {
  background: var(--color-bg-body);
}

.pricing-card {
  background: var(--color-bg-surface);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 3px solid transparent;
  height: 100%;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'MAIS POPULAR';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-text-main);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.pricing-badge {
  display: inline-block;
  background: var(--color-secondary);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.pricing-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-secondary);
  margin-bottom: 0.5rem;
}

.pricing-price small {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.pricing-period {
  color: var(--color-text-muted);
  margin-bottom: 2rem;
  display: block;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.8rem 0;
  border-bottom: 1px solid #eee;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features i {
  color: var(--color-status-success);
  font-size: 1.2rem;
}

.btn-pricing {
  width: 100%;
  padding: 1rem;
  font-weight: 700;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-pricing-primary {
  background: var(--color-primary);
  color: var(--color-text-main);
  border: none;
}

.btn-pricing-primary:hover {
  background: #00e6af;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 194, 0.3);
}

.btn-pricing-secondary {
  background: transparent;
  color: var(--color-secondary);
  border: 2px solid var(--color-secondary);
}

.btn-pricing-secondary:hover {
  background: var(--color-secondary);
  color: white;
}

/* Benefícios */
.benefits-section {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #005f6f 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.benefits-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
}

.benefits-section .container {
  position: relative;
  z-index: 1;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
}

.benefit-item i {
  color: var(--color-primary);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-item h4 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.benefit-item p {
  opacity: 0.9;
  margin-bottom: 0;
  line-height: 1.7;
}

/* FAQ */
.faq-section {
  background: var(--color-bg-surface);
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 10px !important;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.accordion-button {
  font-weight: 600;
  color: var(--color-text-main);
  background: var(--color-bg-surface);
  font-size: 1.1rem;
  padding: 1.5rem;
}

.accordion-button:not(.collapsed) {
  background: var(--color-primary);
  color: var(--color-text-main);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--color-primary);
}

.accordion-body {
  padding: 1.5rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Contato */
.contact-section {
  background: var(--color-bg-body);
}

.contact-form {
  background: var(--color-bg-surface);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.form-label {
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 0.5rem;
}

.form-control, .form-select {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(0, 255, 194, 0.25);
}

/* Footer */
.footer {
  background: var(--color-text-main);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-logo {
  height: 40px;
  margin-bottom: 1rem;
}

/* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20ba59;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
  color: white;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .contact-form {
    padding: 2rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/* Animações */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
