/* Marketing & Corporate Custom Styles */
@import url('vars.css');
@import url('layout.css');
@import url('components.css');

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

/* Hero Modernization */
.hero {
  min-height: auto;
  display: flex;
  justify-content: center;
  background: var(--bg-color);
  text-align: center;
  padding: 16px 0 80px;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #fff 0%, #9ca3af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto 40px;
}

/* Features Heading (home page) */
.features-heading {
  font-size: 36px;
  margin-bottom: 60px;
}

.feature-card p {
  font-size: 14px;
  margin-top: 12px;
}

/* CTA Banner Typography */
.cta-banner h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

/* Inverted CTA button (on coloured banner) */
.btn-inverse {
  background: var(--bg-color);
  color: var(--text-main);
  padding: 16px 40px;
}

/* Footer spacer placeholder (before JS injects footer) */
.footer-spacer {
  border: none;
  padding: 0;
}

/* Feature Grid */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.feature-card {
  text-align: left;
  padding: 40px;
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background: rgba(29, 31, 39, 0.5);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  background: rgba(29, 31, 39, 0.8);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: var(--selection-highlight);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
}

/* Page Transitions */
.page-wipe {
  position: fixed;
  top: var(--h-header);
  left: 0;
  width: 100%;
  height: calc(100% - var(--h-header));
  background-color: var(--bg-color);
  z-index: 9998;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.page-wipe.active {
  opacity: 1;
  pointer-events: all;
}

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

.main-content {
  margin-top: var(--h-header);
  min-height: calc(100vh - var(--h-header));
  animation: pageIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.header {
  z-index: 9999; /* Higher than page-wipe */
}

/* Responsividade Adicional */
@media (max-width: 768px) {
  .hero {
    padding: 16px 0 48px;
  }

  .hero-subtitle {
    font-size: 16px;
    padding: 0 10px;
  }

  .features-heading {
    font-size: 26px;
    margin-bottom: 32px;
  }

  .features {
    gap: 20px;
    margin-top: 32px;
  }

  .feature-card {
    padding: 24px;
  }

  .cta-banner {
    padding: 40px 20px;
    margin: 40px 16px 60px;
  }

  .cta-banner h2 {
    font-size: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto 16px;
  }

  .footer-tagline {
    max-width: none;
    margin: 0 auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .footer {
    padding: 48px 0 32px;
  }
}

/* CTA Sections */
.cta-banner {
  background: linear-gradient(90deg, var(--logo-green) 0%, #27ae60 100%);
  padding: 60px 40px;
  border-radius: 20px;
  text-align: center;
  color: #fff;
  margin: 40px 0 80px;
  position: relative;
  overflow: hidden;
}

.footer {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-color);
  text-align: left;
}

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

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 16px;
  display: block;
}

.footer-links h4 {
  margin-bottom: 24px;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-main);
}

.footer-links a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 14px;
}

.footer-tagline {
  font-size: 14px;
  max-width: 260px;
  color: var(--text-muted);
}

.footer-socials {
  display: flex;
  gap: 20px;
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-label);
}
