/* ============================================
   FazEncarte.com - Institutional Landing Page
   Font: Inter | Framework: Bootstrap 5
   ============================================ */

/* ---------- VARIABLES ---------- */
:root {
  --primary-orange: #FF6B35;
  --primary-red: #E8363A;
  --gradient-hero: linear-gradient(135deg, #FF8C42 0%, #E8363A 100%);
  --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #E8363A 100%);
  --gradient-cta: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  --text-dark: #1a1a2e;
  --text-body: #555770;
  --text-muted: #8E8EA0;
  --bg-light: #f8f9fc;
  --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --card-shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-body);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.3;
}

section {
  padding: 100px 0;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- NAVBAR ---------- */
.navbar {
  padding: 12px 0;
  transition: all 0.3s ease;
  z-index: 1050;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--gradient-primary);
  color: white;
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-text strong {
  font-size: 1.05rem;
  color: var(--text-dark);
}

.brand-text small {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 400;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--text-body);
  padding: 8px 16px !important;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  font-size: 0.95rem;
}

.navbar .nav-link:hover {
  color: var(--text-dark);
  background: var(--bg-light);
}

.btn-primary-gradient {
  background: var(--gradient-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 54, 58, 0.35);
}

.btn-navbar {
  font-size: 0.9rem;
  padding: 8px 20px;
}

/* ---------- HERO ---------- */
.hero-section {
  background: var(--gradient-hero);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.hero-badge i {
  font-size: 0.9rem;
}

.hero-section h1 {
  color: #fff;
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn-hero-primary {
  background: #fff;
  color: var(--primary-red) !important;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-hero-primary:hover {
  background: #fff;
  color: var(--primary-red) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-hero-secondary {
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff !important;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* ---------- FEATURES ---------- */
.features-section {
  background: var(--bg-light);
}

.feature-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.icon-orange {
  background: #FFF3ED;
  color: var(--primary-orange);
}

.icon-green {
  background: #EDFCF2;
  color: #22C55E;
}

.icon-red {
  background: #FFEDED;
  color: var(--primary-red);
}

.icon-blue {
  background: #EEF2FF;
  color: #6366F1;
}

.icon-teal {
  background: #E6FFFA;
  color: #14B8A6;
}

.icon-yellow {
  background: #FFF9E6;
  color: #EAB308;
}

.feature-card h5 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.7;
}

/* ---------- HOW IT WORKS ---------- */
.how-it-works-section {
  background: #fff;
}

.steps-wrapper {
  position: relative;
}

.steps-line {
  position: absolute;
  top: 42px;
  left: 20%;
  right: 20%;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
  z-index: 0;
}

.step-card {
  position: relative;
  z-index: 1;
  padding: 0 16px;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 24px;
  position: relative;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.step-orange {
  background: var(--primary-orange);
}

.step-red {
  background: var(--primary-red);
}

.step-green {
  background: #22C55E;
}

.step-card h5 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.93rem;
  color: var(--text-muted);
  max-width: 300px;
  margin: 0 auto;
}

/* ---------- PRICING ---------- */
.pricing-section {
  background: var(--bg-light);
}

.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  height: 100%;
  box-shadow: var(--card-shadow);
  border: 2px solid transparent;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.pricing-popular {
  border-color: var(--primary-red);
  transform: scale(1.04);
  box-shadow: 0 8px 40px rgba(232, 54, 58, 0.15);
}

.pricing-popular:hover {
  transform: scale(1.04) translateY(-4px);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 20px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-header {
  margin-bottom: 24px;
}

.pricing-header h5 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.price-currency {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.price-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.price-period {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  flex-grow: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.93rem;
  color: var(--text-body);
}

.pricing-features li i {
  color: #22C55E;
  font-size: 1rem;
  flex-shrink: 0;
}

.btn-outline-primary-gradient {
  border: 2px solid transparent;
  background-image: linear-gradient(#fff, #fff), var(--gradient-primary);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--primary-red);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}

.btn-outline-primary-gradient:hover {
  background: var(--gradient-primary);
  color: #fff;
  transform: translateY(-2px);
}

.pricing-popular .btn-primary-gradient {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-section {
  background: #fff;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  height: 100%;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars i {
  color: #FACC15;
  font-size: 1rem;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-body);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 0.93rem;
  color: var(--text-dark);
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
  background: var(--gradient-cta);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(232, 54, 58, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.cta-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cta-note {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #fff;
  padding: 60px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
}

.site-footer h6 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dark);
  margin-bottom: 16px;
}

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

.site-footer ul li {
  margin-bottom: 8px;
}

.site-footer ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.site-footer ul li a:hover {
  color: var(--primary-red);
}

.site-footer hr {
  margin: 40px 0 0;
  border-color: rgba(0, 0, 0, 0.06);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

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

.footer-socials a {
  color: var(--text-muted);
  font-size: 1.2rem;
  transition: color 0.2s ease;
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 991.98px) {
  .navbar .navbar-collapse {
    background: #fff;
    padding: 16px;
    border-radius: var(--radius-md);
    margin-top: 10px;
    box-shadow: var(--card-shadow-hover);
  }

  .navbar .btn-primary-gradient {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 70px 0;
  }

  .hero-section {
    padding: 130px 0 70px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

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

  .section-header h2 {
    font-size: 1.75rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .stat-divider {
    display: none;
  }

  .steps-line {
    display: none !important;
  }

  .step-card {
    margin-bottom: 40px;
  }

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

  .pricing-popular:hover {
    transform: translateY(-4px);
  }

  .cta-section h2 {
    font-size: 1.85rem;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- UTILITY ANIMATIONS ---------- */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.btn-primary-gradient:active,
.btn-hero-primary:active {
  transform: translateY(0) scale(0.98);
}
