/* ==================================================
   REDESIGN SEGURO 2026 - LANDING PAGE CATÁLOGO SAAS
   ================================================== */

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
  color: #334155;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* --------------------------------------------------
   PRELOADER — Blur Glass + Spinner Azul
   -------------------------------------------------- */
#preloader {
  background: rgba(255, 255, 255, 0.55) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  z-index: 99999 !important;
}

#preloader:before {
  border-color: rgba(37, 99, 235, 0.15) !important;
  border-top-color: #2563eb !important;
  width: 48px !important;
  height: 48px !important;
  border-width: 4px !important;
}

/* --------------------------------------------------
   HEADER & NAVBAR
   -------------------------------------------------- */
#header {
  height: 85px;
  transition: all 0.3s ease;
  background: transparent;
  z-index: 997;
}

#header.header-scrolled {
  height: 70px;
  /* NÃO usar backdrop-filter: cria novo containing block e quebra position:fixed do menu mobile */
  background: rgba(255, 255, 255, 0.98) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

#header .logo img {
  max-height: 50px;
  transition: all 0.3s ease;
}

.navbar a, .navbar a:focus {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: #1e293b;
  padding: 10px 16px;
  transition: all 0.3s ease;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
  color: #2563eb !important;
}

.navbar a.btn-area-cliente, 
.navbar a.btn-area-cliente:focus,
.navbar li a.btn-area-cliente {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  padding: 10px 24px !important;
  margin-left: 20px !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.3s ease !important;
  text-decoration: none !important;
  border: none !important;
}

.navbar a.btn-area-cliente:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
}

/* Mobile Navbar overrides */

.mobile-nav-header {
  display: none !important;
}

.mobile-nav-logo {
  height: 36px;
  width: auto;
}

@media (max-width: 991px) {
  #header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .mobile-nav-toggle {
    display: block !important;
    color: #1e293b !important;
    font-size: 28px !important;
    cursor: pointer !important;
    z-index: 100000 !important;
  }

  /* #navbar em mobile: overlay em tela cheia com transicao suave de slide (direita <-> esquerda) */
  #navbar {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    background: #ffffff !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    
    /* Estado fechado: recolhido para a direita com suavizacao */
    transform: translateX(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), 
                opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1), 
                visibility 0.35s step-end !important;
  }

  /* Estado aberto: desliza da direita para a esquerda */
  #navbar.navbar-mobile {
    transform: translateX(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), 
                opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1), 
                visibility 0s !important;
  }

  .navbar-mobile::before {
    display: none !important;
    content: none !important;
  }

  .mobile-nav-header {
    display: flex !important;
    align-items: center !important;
    padding: 16px 20px !important;
    border-bottom: 1px solid #e2e8f0 !important;
    background: #ffffff !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 10 !important;
    flex-shrink: 0 !important;
    min-height: 64px !important;
  }

  /* Lista de links: ocupa toda a largura */
  .navbar-mobile ul {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 0 40px 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    overflow: visible !important;
    flex: 1 !important;
  }

  .navbar-mobile ul li {
    width: 100% !important;
  }

  .navbar-mobile a, .navbar-mobile a:focus {
    display: block !important;
    width: 100% !important;
    color: #1e293b !important;
    font-size: 16px !important;
    padding: 15px 24px !important;
    border-bottom: 1px solid #f1f5f9 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
  }

  .navbar-mobile a:hover,
  .navbar-mobile .active,
  .navbar-mobile li:hover > a {
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.04) !important;
  }

  /* Botão "Área do cliente" centralizado no mobile */
  .navbar-mobile li:last-child {
    padding: 20px 24px !important;
    border-bottom: none !important;
  }

  .navbar-mobile li:last-child a,
  .navbar-mobile li a.btn-area-cliente {
    border-bottom: none !important;
    display: inline-flex !important;
    width: auto !important;
  }
}

/* --------------------------------------------------
   HERO SECTION
   -------------------------------------------------- */

/* Remove o overlay azul escuro do style.css original */
#hero:before,
#hero::before {
  display: none !important;
  content: none !important;
  background: none !important;
}

#hero {
  width: 100%;
  min-height: 90vh;
  background: url('../img/bg-hero.png') no-repeat center center / cover !important;
  background-attachment: scroll !important;
  position: relative;
  padding: 130px 0 80px 0;
  display: flex;
  align-items: center;
}

.hero-badge {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.8px;
  padding: 6px 18px;
  border-radius: 50px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

#hero h1 {
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #0f172a !important;
  margin-bottom: 20px !important;
  letter-spacing: -0.5px !important;
}

#hero h1 span {
  color: #2563eb;
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: none !important;
}

#hero h2 {
  font-size: 18px !important;
  font-weight: 400 !important;
  color: #475569 !important;
  line-height: 1.6 !important;
  margin-bottom: 30px !important;
  max-width: 540px;
}

.hero-features-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 35px;
}

.hero-pill {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.btn-hero-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.35);
  text-decoration: none !important;
  transition: all 0.3s ease;
  border: none;
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  color: #ffffff !important;
}

.btn-hero-secondary {
  background: #ffffff;
  color: #1e293b !important;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  text-decoration: none !important;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  color: #2563eb !important;
  border-color: #cbd5e1;
  transform: translateY(-2px);
}

.hero-img img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

#hero .hero-waves {
  display: none !important;
}

@media (max-width: 991px) {
  #hero {
    padding: 110px 0 60px 0;
    text-align: center;
  }
  #hero h1 {
    font-size: 32px;
  }
  #hero h2 {
    font-size: 16px;
    margin: 0 auto 25px auto;
  }
  .hero-features-pills {
    justify-content: center;
  }
  .btn-hero-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .hero-img {
    margin-top: 40px;
  }
}

/* --------------------------------------------------
   SEÇÃO BADGES / SECTION TITLES
   -------------------------------------------------- */

/* Permitir hover effects sem gerar scroll horizontal */
section {
  overflow: clip !important;
}

.section-tag {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  padding-bottom: 0 !important;
}

/* Sobrescrever style.css: line-height:1px / text-transform:uppercase / font-size:14px */
.section-title h2 {
  font-size: 32px !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
  margin: 0 0 15px 0 !important;
  letter-spacing: -0.3px !important;
  text-transform: none !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* Remover linha decorativa laranja do style.css */
.section-title h2::after {
  display: none !important;
  content: none !important;
}

.section-title h2 span {
  color: #2563eb !important;
}

/* Sobrescrever style.css: font-size:36px / text-transform:uppercase / color azul escuro */
.section-title p {
  font-size: 16px !important;
  font-weight: 400 !important;
  color: #64748b !important;
  text-transform: none !important;
  max-width: 600px;
  margin: 0 auto !important;
  line-height: 1.6 !important;
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* --------------------------------------------------
   SEÇÃO "3 PASSOS" (#about)
   -------------------------------------------------- */
.about {
  padding: 80px 0;
  background: #ffffff;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  border-color: #e2e8f0;
}

.step-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.step-icon.icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

.step-icon.icon-orange {
  background: #ffedd5;
  color: #ea580c;
}

.step-icon.icon-green {
  background: #dcfce7;
  color: #16a34a;
}

.step-content h4 {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
}

.step-content p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin: 0;
}

/* --------------------------------------------------
   FUNCIONALIDADES (#features)
   -------------------------------------------------- */
.features {
  padding: 80px 0;
  background: #f8fafc;
}

.feature-card {
  background: #ffffff;
  padding: 20px 22px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.08);
  border-color: #cbd5e1;
}

.feature-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  background: #f1f5f9;
}

.feature-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

@media (max-width: 576px) {
  .feature-card {
    padding: 12px 10px;
    gap: 10px;
  }
  .feature-icon-wrapper {
    width: 36px;
    height: 36px;
    font-size: 18px;
    border-radius: 10px;
  }
  .feature-card h3 {
    font-size: 13px;
    line-height: 1.3;
  }
}

/* --------------------------------------------------
   LOJAS DEMO (#counts)
   -------------------------------------------------- */
.counts {
  padding: 80px 0;
  background: #ffffff;
}

.demo-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.demo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.1);
  border-color: #2563eb;
}

.demo-card img {
  max-height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.demo-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

/* --------------------------------------------------
   PLANOS (#pricing)
   -------------------------------------------------- */
.pricing {
  padding: 80px 0;
  background: #f8fafc;
}

/* --------------------------------------------------
   FAQ (#faq)
   -------------------------------------------------- */
.faq {
  padding: 80px 0;
  background: #ffffff;
}

.faq .faq-list {
  padding: 0;
}

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

.faq .faq-list li {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 25px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: all 0.3s ease;
}

.faq .faq-list li:hover {
  border-color: #cbd5e1;
}

.faq .faq-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  padding-right: 30px;
  color: #0f172a !important;
  text-decoration: none !important;
}

.faq .faq-list p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 0;
  padding-top: 12px;
}

/* --------------------------------------------------
   CTA FINAL & WHATSAPP (#contact)
   -------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #2563eb 0%, #4f46e5 100%);
  border-radius: 24px;
  padding: 50px 40px;
  color: #ffffff;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.25);
  margin: 40px 0;
}

.cta-banner h2 {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.cta-banner p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0;
}

.btn-whatsapp-cta {
  background: #ffffff;
  color: #1e293b !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 30px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  text-decoration: none !important;
  transition: all 0.3s ease;
}

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

/* --------------------------------------------------
   FOOTER (#footer)
   -------------------------------------------------- */
#footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 70px 0 30px 0;
  font-size: 14px;
}

#footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

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

#footer ul li {
  margin-bottom: 12px;
}

#footer ul a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

#footer ul a:hover {
  color: #38bdf8;
}

#footer .footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  margin-right: 10px;
  transition: all 0.3s ease;
  text-decoration: none;
}

#footer .footer-social a:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

#footer .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
}
