/* Home page styles - melhorado e completo */
.home-page {
  min-height: 100vh;
  position: relative;
  background: var(--bg-dark);
}

/* Variáveis CSS */
:root {
  --primary: #c5a572;
  --primary-dark: #9d8359;
  --secondary: #1a1a1a;
  --accent: #c5a572;
  --text-light: #e0e0e0;
  --text-dark: #2c2c2c;
  --bg-dark: #0a0a0a;
  --bg-section: #141414;
  --border-gold: linear-gradient(135deg, #c5a572, #c5a572, #c5a572);
}

/* Garantir que imagens não tenham background branco */
.home-page img {
  background: transparent !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.3s ease,
              box-shadow 0.3s ease;
  box-sizing: border-box;
  overflow: hidden;
  border-bottom: 1px solid rgba(197, 165, 114, 0.1);
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Header visível */
.header.header-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Header escondido (scroll para baixo) */
.header.header-hidden {
  transform: translateY(calc(-100% - 1px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Respeitar preferência de movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  .header {
    transition: background 0.3s ease, box-shadow 0.3s ease;
  }
  
  .header.header-hidden {
    transform: translateY(calc(-100% - 1px));
  }
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(200px, auto) 1fr auto;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  gap: 1.5rem;
  padding: 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  border: none;
  flex-shrink: 0;
  min-width: 200px;
  grid-column: 1;
  width: 100%;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.02);
}

.logo img {
  height: 36px;
  width: auto;
  max-width: 36px;
  min-width: 0;
  object-fit: contain;
  display: block;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05);
}

.logo h2 {
  background: linear-gradient(135deg, #c5a572, #e8c99a);
  background-clip: text;
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  flex-shrink: 0;
  line-height: 1.2;
  transition: all 0.3s ease;
}

.logo:hover h2 {
  filter: brightness(1.1);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  min-width: 0;
  grid-column: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 0.25rem;
  background: rgba(197, 165, 114, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(197, 165, 114, 0.1);
}

.nav-menu a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.625rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1.2;
  border-radius: 8px;
  background: transparent;
  border: 1px solid transparent;
  overflow: hidden;
}

.nav-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.1), transparent);
  transition: left 0.5s ease;
  z-index: 0;
}

.nav-menu a:hover::before {
  left: 100%;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transition: width 0.3s ease;
  z-index: 1;
}

.nav-menu a:hover {
  color: var(--primary);
  background: rgba(197, 165, 114, 0.15);
  border-color: rgba(197, 165, 114, 0.3);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 165, 114, 0.2);
}

.nav-menu a:hover::after {
  width: 80%;
}

.nav-menu a:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(197, 165, 114, 0.15);
}

/* Link externo (Outras Soluções) com ícone especial */
.nav-menu a[target="_blank"]::before {
  background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.15), transparent);
}

.nav-menu a[target="_blank"]:hover {
  background: rgba(197, 165, 114, 0.2);
}

.login-btn {
  background: rgba(197, 165, 114, 0.1);
  border: 2px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  position: relative;
  overflow: hidden;
}

.login-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(197, 165, 114, 0.2), transparent);
  transition: left 0.5s ease;
}

.login-btn:hover::before {
  left: 100%;
}

/* Botão login responsivo - Desktop grande */
@media (min-width: 1400px) {
  .login-btn {
    padding: 0.6rem 1.5rem;
    font-size: 1rem;
    gap: 0.5rem;
  }
}

/* Botão login responsivo - Desktop médio */
@media (max-width: 1200px) and (min-width: 969px) {
  .login-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    gap: 0.4rem;
  }
}

/* Botão login responsivo - Tablet */
@media (max-width: 968px) and (min-width: 641px) {
  .login-btn {
    padding: 0.45rem 1rem;
    font-size: 0.85rem;
    gap: 0.35rem;
  }

  .login-btn i {
    font-size: 0.85rem;
  }
}

/* Botão login responsivo - Mobile */
@media (max-width: 640px) and (min-width: 401px) {
  .login-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.8rem;
    gap: 0.3rem;
  }

  .login-btn i {
    font-size: 0.75rem;
  }
}

/* Botão login responsivo - Mobile pequeno */
@media (max-width: 400px) {
  .login-btn {
    padding: 0.35rem 0.7rem;
    font-size: 0.75rem;
    gap: 0.25rem;
  }

  .login-btn i {
    font-size: 0.7rem;
  }

}

.login-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 114, 0.4);
  border-color: var(--primary);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(197, 165, 114, 0.3);
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
  grid-column: 3;
  justify-self: end;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 80px;
  background: 
    radial-gradient(circle at 20% 50%, rgba(197, 165, 114, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(197, 165, 114, 0.08) 0%, transparent 50%);
  z-index: 1;
  overflow: hidden;
}

.hero-quotes-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-quote {
  position: absolute;
  color: rgba(197, 165, 114, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  max-width: 250px;
  min-width: 180px;
  line-height: 1.6;
  padding: 14px 18px;
  background: rgba(197, 165, 114, 0.1);
  border-radius: 25px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2),
              0 2px 8px rgba(197, 165, 114, 0.15),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(197, 165, 114, 0.25);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  animation: floatQuote 20s linear forwards;
  cursor: grab;
  user-select: none;
  pointer-events: auto;
  animation-play-state: running;
  transition: animation-play-state 0.1s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-sizing: border-box;
}

/* Pausar animação durante o scroll */
.hero-quotes-animation.scrolling .hero-quote:not(.dragging):not([data-manual-position="true"]) {
  animation-play-state: paused;
}

.hero-quote:active {
  cursor: grabbing;
}

.hero-quote.selected {
  color: rgba(197, 165, 114, 0.8);
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.6), rgba(184, 134, 11, 0.5));
  border: 2px solid rgba(212, 165, 116, 0.8);
  box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4),
              0 3px 10px rgba(184, 134, 11, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.7);
  transform: scale(1.05);
  z-index: 10;
}

.hero-quote.dragging {
  cursor: grabbing;
  animation: none;
  background: linear-gradient(135deg, rgba(212, 165, 116, 0.8), rgba(184, 134, 11, 0.7));
  border: 2px solid rgba(212, 165, 116, 1);
  color: rgba(197, 165, 114, 1);
  box-shadow: 0 8px 25px rgba(212, 165, 116, 0.6),
              0 4px 12px rgba(184, 134, 11, 0.5),
              inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
  z-index: 100;
}

.hero-quote:hover {
  background: rgba(197, 165, 114, 0.15);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25),
              0 3px 10px rgba(197, 165, 114, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform: scale(1.02);
}

@keyframes floatQuote {
  0% {
    top: 100%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: -10%;
    opacity: 0;
  }
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 968px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 165, 114, 0.1);
  border: 1px solid rgba(197, 165, 114, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.title-main {
  color: var(--text-light);
}

.title-brand {
  background: linear-gradient(135deg, #c5a572, #e8c99a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  opacity: 0.9;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.stat-item {
  text-align: center;
  background: transparent !important;
  border: none !important;
  padding: 0;
  box-shadow: none !important;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  background: linear-gradient(135deg, #c5a572, #e8c99a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: #c5a572;
  font-weight: 600;
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #c5a572, #e8c99a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.cta-button {
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button.primary {
  background: var(--primary);
  color: var(--bg-dark);
}

.cta-button.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 165, 114, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.cta-button.secondary:hover {
  background: rgba(197, 165, 114, 0.1);
  transform: translateY(-2px);
}

.dashboard-preview-hero {
  position: relative;
}

.preview-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid rgba(197, 165, 114, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
}

.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.preview-header h3 {
  color: var(--text-light);
  margin: 0;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-size: 0.9rem;
}

.pulse {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.dashboard-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.dashboard-image {
  width: 100%;
  height: auto;
  display: block;
}

.dashboard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(197, 165, 114, 0.1), transparent);
  pointer-events: none;
}

.dashboard-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 165, 114, 0.2) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
  pointer-events: none;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Features Section */
.features-section {
  padding: 6rem 2rem;
  background: var(--bg-section);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(197, 165, 114, 0.1);
  border: 1px solid rgba(197, 165, 114, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.section-title .highlight {
  color: var(--primary);
}

.features-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(197, 165, 114, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(197, 165, 114, 0.3);
  background: rgba(20, 20, 20, 0.8);
}

/* Destaque especial para o card de Filtros Avançados */
.feature-card:has(.fa-filter) {
  border-color: rgba(197, 165, 114, 0.4);
  background: rgba(20, 20, 20, 0.7);
}

.feature-card:has(.fa-filter):hover {
  border-color: var(--primary);
  box-shadow: 0 12px 35px rgba(197, 165, 114, 0.4);
  background: rgba(20, 20, 20, 0.85);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: rgba(197, 165, 114, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary);
}

.feature-card h4 {
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.feature-card p {
  color: var(--text-light);
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.feature-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.feature-benefits span {
  background: rgba(197, 165, 114, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* Pricing Section */
.pricing-section {
  padding: 6rem 2rem;
  background: var(--bg-dark);
  position: relative;
}

.pricing-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.pricing-card {
  background: rgba(20, 20, 20, 0.6);
  border: 1px solid rgba(197, 165, 114, 0.2);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(197, 165, 114, 0.2);
}

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

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: var(--bg-dark);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-header h3 {
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.currency {
  font-size: 1.2rem;
  color: var(--primary);
}

.amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
}

.period {
  font-size: 1rem;
  color: var(--text-light);
  opacity: 0.7;
}

.price-label {
  font-size: 1.5rem;
  color: var(--primary);
  font-weight: 600;
}

.pricing-header p {
  color: var(--text-light);
  opacity: 0.7;
}

.pricing-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 0;
  color: var(--text-light);
}

.feature-item i {
  color: var(--primary);
}

.pricing-cta {
  width: 100%;
  padding: 1rem;
  background: rgba(197, 165, 114, 0.1);
  border: 1px solid var(--primary);
  border-radius: 8px;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: all 0.3s;
}

.pricing-cta:hover {
  background: var(--primary);
  color: var(--bg-dark);
  transform: translateY(-2px);
}

.pricing-cta.featured {
  background: var(--primary);
  color: var(--bg-dark);
}

.pricing-cta.featured:hover {
  background: var(--primary-dark);
}

/* CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(197, 165, 114, 0.1), rgba(197, 165, 114, 0.05));
  text-align: center;
  position: relative;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.gradient-text {
  background: linear-gradient(135deg, #c5a572, #e8c99a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trust-indicators {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  opacity: 0.8;
}

.trust-item i {
  color: var(--primary);
}

/* Footer */
.footer {
  background: var(--bg-section);
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(197, 165, 114, 0.2);
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-light);
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.3s;
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(197, 165, 114, 0.1);
  text-align: center;
  color: var(--text-light);
  opacity: 0.6;
}

/* Responsive - Tablet e Desktop Médio */
@media (max-width: 1200px) {
  .header {
    padding: 0.4rem 0;
  }

  .header-content {
    max-width: 100%;
    padding: 0 1.5rem;
    grid-template-columns: minmax(180px, auto) 1fr auto;
    gap: 1.2rem;
  }

  .logo {
    min-width: 180px;
    gap: 0.5rem;
  }

  .logo img {
    height: 30px;
    max-width: 30px;
  }

  .logo h2 {
    font-size: 1.4rem;
  }

  .hero-content {
    padding: 2rem 1.5rem;
    gap: 3rem;
  }

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

  .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 968px) {
  .header {
    padding: 0.4rem 0;
  }

  .header-content {
    padding: 0 1rem;
    grid-template-columns: minmax(150px, auto) 1fr auto;
    gap: 0.8rem;
  }

  .logo {
    min-width: 150px;
    gap: 0.5rem;
  }

  .logo img {
    height: 28px;
    max-width: 28px;
  }

  .logo h2 {
    font-size: 1.3rem;
  }

  .nav-menu {
    gap: 0.4rem;
    padding: 0.2rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }


  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 1rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-description {
    font-size: 1.1rem;
  }

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

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

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

  .nav-menu {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    padding: 0.2rem;
    gap: 0.3rem;
  }

  .nav-menu a {
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
  }


  .hero-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .section-header {
    padding: 0 1rem;
  }

  .features-section,
  .pricing-section,
  .cta-section {
    padding: 4rem 1rem;
  }

  .footer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 640px) {
  .header {
    padding: 0.4rem 0;
  }

  .header-content {
    padding: 0 1rem;
    gap: 0.5rem;
  }

  .logo {
    gap: 0.4rem;
  }

  .logo h2 {
    font-size: 1.2rem;
  }

  .logo img {
    height: 26px;
    max-width: 26px;
  }

  .nav-menu {
    gap: 1rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
  }


  .hero-section {
    padding-top: 100px;
    min-height: auto;
  }

  .hero-content {
    padding: 1.5rem 1rem;
    gap: 2rem;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-title {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .title-main,
  .title-brand {
    display: block;
  }

  .hero-description {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 2rem 0;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }

  .dashboard-preview-hero {
    margin-top: 1rem;
  }

  .preview-card {
    padding: 1rem;
  }

  .preview-header h3 {
    font-size: 1.2rem;
  }

  .chart-preview {
    height: 200px;
  }

  .section-header {
    margin-bottom: 2rem;
    padding: 0;
  }

  .section-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .features-section,
  .pricing-section,
  .cta-section {
    padding: 3rem 1rem;
  }

  .feature-card {
    padding: 1.5rem;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
  }

  .feature-icon i {
    font-size: 1.5rem;
  }

  .feature-card h4 {
    font-size: 1.2rem;
  }

  .feature-card p {
    font-size: 0.95rem;
  }

  .pricing-card {
    padding: 1.5rem;
  }

  .pricing-header h3 {
    font-size: 1.5rem;
  }

  .amount {
    font-size: 2.5rem;
  }

  .currency {
    font-size: 1.2rem;
  }

  .period {
    font-size: 1rem;
  }

  .cta-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-button {
    width: 100%;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
  }

  .footer {
    padding: 2rem 1rem 1rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-section h4 {
    font-size: 1.1rem;
  }
}

/* Responsive - Mobile Pequeno */
@media (max-width: 400px) {
  .header {
    padding: 0.35rem 0;
  }

  .header-content {
    padding: 0 0.75rem;
    gap: 0.4rem;
  }

  .logo {
    gap: 0.35rem;
  }

  .logo h2 {
    font-size: 1rem;
  }

  .logo img {
    height: 24px;
    max-width: 24px;
  }

  .nav-menu {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.5rem;
    padding: 0.15rem;
    flex-wrap: wrap;
  }

  .nav-menu a {
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
    text-align: center;
    min-width: fit-content;
  }


  .hero-title {
    font-size: 1.5rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

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

  .cta-title {
    font-size: 1.5rem;
  }

  .feature-card,
  .pricing-card {
    padding: 1rem;
  }
}

/* Garantir que não haja overflow horizontal */
* {
  max-width: 100%;
}

.home-page {
  overflow-x: hidden;
  width: 100%;
}

/* =========================
   HEADER MAIS BAIXO (PATCH)
   cole no FINAL do CSS
   ========================= */

:root{
  --header-h: 56px;          /* altura desktop */
  --header-h-mobile: 84px;   /* altura mobile (2 linhas) */
}

/* header sem padding vertical "extra" */
.header{
  padding: 0 !important;
}

/* limita a altura do "miolo" do header */
.header-content{
  padding: 6px 16px !important;  /* controla a altura */
  min-height: var(--header-h);
  gap: 12px !important;          /* era 1.5rem */
  align-items: center;
}

/* MUITO IMPORTANTE: limita o tamanho do logo */
.logo{
  min-width: auto !important;    /* evita "inflar" o grid */
  width: auto !important;
}

.logo img{
  height: 28px !important;       /* <<< isso reduz MUITO o header */
  width: auto !important;
  max-width: 28px !important;
}

/* deixa os links mais "finos" */
.nav-menu{
  gap: 0.5rem !important;
  flex-wrap: nowrap;             /* evita quebra no desktop */
  padding: 0.25rem !important;
}

.nav-menu a{
  padding: 0.625rem 1.25rem !important;
  line-height: 1.2 !important;
  font-size: 0.95rem;
}

/* botão login com altura controlada */
.login-btn{
  padding: 6px 12px !important;
  line-height: 1 !important;
  font-size: 0.9rem !important;  /* pode ajustar */
}

/* Mobile/Tablet: menu vira 2ª linha, mas bem mais compacta */
@media (max-width: 968px){
  .header-content{
    padding: 6px 12px !important;
    min-height: var(--header-h-mobile);
    gap: 10px !important;
  }

  .nav-menu{
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem !important;
    padding: 0.2rem !important;
    gap: 0.3rem !important;
  }

  .nav-menu a{
    font-size: 0.85rem !important;
    padding: 0.5rem 0.9rem !important;
  }
}

/* Ajusta o espaço do HERO para não "bater" no header */
.hero-section{
  padding-top: var(--header-h) !important;
}

@media (max-width: 968px){
  .hero-section{
    padding-top: var(--header-h-mobile) !important;
  }
}
