/* ==========================================================================
   BEM VISTO MARKETING - INDEX2 (ESBOÇO EXACT MATCH V3)
   ========================================================================== */

:root {
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-dark: #000000;
  --bg-light: #ffffff;
  --bg-gray: #e5e7eb;
  --bg-card: #ffffff;
  --text-dark: #111111;
  --text-muted: #555555;
  --text-light: #ffffff;
  --text-dim: #999999;
  --accent-green: #10b981;
  --border-light: #e2e8f0;
  --border-dark: #222222;
  --transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  --container-max: 1320px;
}

body.index2-page {
  font-family: var(--font-primary) !important;
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Ocultar o menu antigo do includes/header.php somente nesta página */
body.index2-page .menu-fixo {
  display: none !important;
}

/* ==========================================================================
   HEADER MINIMALISTA (BEM VISTO | HOME SOLUÇÕES CASES SOBRE ACERVO)
   ========================================================================== */
.site-header-minimal {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  height: 80px;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-container-minimal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3rem;
}

.logo-minimal {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #111111;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-transform: uppercase;
  text-decoration: none;
}

.logo-minimal span {
  font-weight: 900;
  color: #111111;
}

.nav-menu-minimal {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link-minimal {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #111111;
  position: relative;
  text-decoration: none;
  transition: var(--transition);
}

.nav-link-minimal::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #111111;
  transition: var(--transition);
}

.nav-link-minimal:hover::after,
.nav-link-minimal.active::after {
  width: 100%;
}

.nav-toggle-minimal {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle-minimal span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #111111;
  margin: 5px 0;
  transition: var(--transition);
}

/* ==========================================================================
   SEÇÕES 50/50 MINIMALISTAS (TÍTULOS ALINHADOS À ESQUERDA, FONTE LEVE)
   ========================================================================== */

.section-full {
  width: 100%;
  overflow: hidden;
}

.section-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
  width: 100%;
}

.section-grid.reverse .grid-image {
  order: 2;
}

.section-grid.reverse .grid-content {
  order: 1;
}

.grid-content {
  padding: 4.5rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--bg-light);
  text-align: left !important; /* Alinhado à Esquerda */
}

/* Efeito Zoom nas Imagens ao Rolar e ao Hover */
.grid-image {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(1.15); /* Estado inicial para zoom ao rolar */
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.6s ease;
}

.scroll-reveal.active .grid-image img,
.scroll-reveal.active.grid-image img {
  transform: scale(1);
}

.grid-image:hover img {
  transform: scale(1.06) !important;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: inline-block;
  text-align: left !important;
}

/* Fonte do título fina/elegante e alinhada à esquerda */
.section-title {
  font-size: 2.75rem;
  font-weight: 500 !important; /* Fonte mais leve conforme o print */
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  color: #111111;
  text-align: left !important;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #444444;
  font-weight: 400;
  margin-bottom: 2rem;
  max-width: 480px;
  line-height: 1.5;
  text-align: left !important;
}

/* BOTÕES TAG MINIMALISTAS - APENAS UMA LINHA FINA EM VOLTA */
.btn-tag-minimal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent !important;
  color: #111111 !important;
  border: 1px solid #111111 !important;
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  align-self: flex-start;
  border-radius: 2px;
  text-decoration: none;
}

.btn-tag-minimal:hover {
  background-color: #111111 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* BANNER SOFTWARES PROPRIETÁRIOS (QUADRO TRANSPARENTE E IMPONENTE COMO NO PRINT 1) */
.banner-section {
  position: relative;
  width: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.banner-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transform: scale(1.12);
  transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.active .banner-bg {
  transform: scale(1);
}

.banner-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 4rem 3rem;
}

/* Quadro com Transparência Suave e Vidro Fosco */
.banner-card {
  background: rgba(255, 255, 255, 0.45) !important;
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  padding: 3.5rem;
  max-width: 480px;
  border-radius: 0px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  text-align: left !important;
}

.banner-card .section-title {
  font-weight: 500 !important;
  font-size: 2.6rem;
  color: #000000;
}

.banner-card .section-subtitle {
  color: #222222;
  font-weight: 400;
}

/* SEÇÃO INBOUND MARKETING (GRID DIFERENCIADO PADDED CONFORME PRINT 2) */
.inbound-section {
  padding: 5rem 0;
  background-color: #ffffff;
  border-top: 1px solid var(--border-light);
}

.inbound-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 4rem;
}

.inbound-content {
  text-align: left !important;
}

.inbound-image-card {
  position: relative;
  width: 100%;
  border-radius: 0px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.inbound-image-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.inbound-image-card:hover img {
  transform: scale(1.04);
}

/* TABELA DE PLANOS (PRICING SECTION - SEM SOMBRA AZUL, SOMBRA SUAVE E CARROSSEL MOBILE) */
.pricing-section {
  padding: 6rem 2rem;
  background-color: var(--bg-gray);
}

.pricing-container {
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background-color: #ffffff;
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.02);
  border: 1px solid transparent;
  text-align: left !alignment;
}

/* Animação Suave sem Sombra Azul */
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06) !important;
  border-color: #111111;
}

.card-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: #111111;
}

.card-subtitle {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 1.75rem;
  line-height: 1.4;
  min-height: 40px;
}

.card-price {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  color: #111111;
}

.card-price span {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666666;
}

.card-features {
  margin-bottom: 2.25rem;
  flex-grow: 1;
  list-style: none;
  padding: 0;
}

.card-features li {
  font-size: 0.875rem;
  color: #444444;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.check-icon {
  font-weight: 900;
  color: var(--accent-green);
}

.btn-pill-minimal {
  display: inline-block;
  width: auto;
  min-width: 130px;
  text-align: center;
  background-color: #111111;
  color: #ffffff !important;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  border-radius: 24px;
  text-decoration: none;
  align-self: flex-start;
}

.btn-pill-minimal:hover {
  background-color: #333333;
  transform: translateY(-2px);
}

/* ÁREA DO ACERVO */
.acervo-section {
  padding: 6rem 2rem;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-light);
}

.acervo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.post-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.06);
}

.post-thumb-wrapper {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  background-color: #e2e8f0;
}

.post-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-thumb {
  transform: scale(1.06);
}

.post-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: left !important;
}

.post-meta {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.post-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  color: #111111;
  text-align: left !important;
}

.post-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
  text-align: left !important;
}

.post-link {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #111111;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

/* SCROLL REVEAL ANIMAÇÕES SUAVES */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* CORREÇÃO DO FOOTER (INCLUDES/FOOTER.PHP) */
.site-footer {
  background-color: #000000 !important;
  color: #a1a1aa !important;
  padding: 5rem 2rem 2.5rem !important;
  border-top: 1px solid #222222 !important;
}

.site-footer h2, 
.site-footer h3, 
.site-footer h4, 
.site-footer .footer-brand h2, 
.site-footer .footer-logo, 
.site-footer .footer-column-title {
  color: #ffffff !important;
  font-weight: 800 !important;
}

.site-footer p, 
.site-footer .footer-desc, 
.site-footer .contact-item, 
.site-footer .footer-links a {
  color: #a1a1aa !important;
}

.site-footer .footer-brand h2 span,
#dynamic-logo {
  color: #ffffff !important;
  font-weight: 900 !important;
}

.site-footer .footer-links a:hover {
  color: #ffffff !important;
}

/* Controles do Carrossel Mobile */
.pricing-carousel-controls {
  display: none;
}

/* RESPONSIVIDADE & CARROSSEL MOBILE MANUAL (SEM AUTOPLAY) */
@media (max-width: 1024px) {
  .section-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .section-grid.reverse .grid-image {
    order: 1;
  }
  .section-grid.reverse .grid-content {
    order: 2;
  }
  .inbound-container {
    grid-template-columns: 1fr;
  }
  .grid-content {
    padding: 3.5rem 2.5rem;
  }
  .grid-image {
    min-height: 360px;
  }
  .acervo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-container-minimal {
    padding: 0 1.5rem;
  }
  .nav-menu-minimal {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 30px rgba(0,0,0,0.1);
  }
  .nav-menu-minimal.open {
    transform: translateY(0);
  }
  .nav-toggle-minimal {
    display: block;
  }
  .section-title {
    font-size: 2.1rem;
  }
  .banner-card {
    padding: 2.25rem;
    max-width: 90%;
  }

  /* CARROSSEL DE PLANOS NO MOBILE (MANUAL VIA CLIQUE/SWIPE) */
  .pricing-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    gap: 1.25rem !important;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
  }

  .pricing-card {
    min-width: 85% !important;
    flex-shrink: 0 !important;
    scroll-snap-align: center !important;
  }

  .pricing-carousel-controls {
    display: flex !important;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .carousel-btn {
    background-color: #111111;
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
