/* =========================================
   INTRO / PRELOADER ANIMADO
========================================= */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background-color: var(--color-primary);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1), visibility 1s;
}
#preloader.hide { opacity: 0; visibility: hidden; }
.preloader-logo-img { width: 90px; height: auto; border-radius: 0; opacity: 0; animation: scaleLogo 1.2s ease forwards; }
.preloader-brand { font-family: 'Playfair Display', serif; font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-accent); letter-spacing: 0.3em; opacity: 0; transform: translateY(20px); animation: revealText 1.5s 0.8s ease forwards; }
@keyframes scaleLogo { 0% { opacity: 0; transform: scale(0.3) translateY(30px); } 100% { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes revealText { to { opacity: 1; transform: translateY(0); } }

/* --- Seções e Animações --- */
section { padding: 50px 0; position: relative; }
#diferenciais, #metodologia { padding-top: 20px; }
.section-header { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.section-header h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.section-header p { font-size: 1.15rem; color: var(--text-body); }
.reveal { opacity: 0; transform: translateY(30px); transition: 0.6s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; } 
.delay-200 { transition-delay: 0.2s; }

/* =========================================
   HERO SECTION
========================================= */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 0; background: var(--bg-geral); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; width: 100%; height: 100vh; }
.hero-content-wrapper { display: flex; align-items: center; justify-content: center; padding: 100px 5%; z-index: 3;}
.hero-content { max-width: 600px; }
.hero-content h1 { font-size: clamp(2.6rem, 5vw, 4rem); margin-bottom: 24px; letter-spacing: -0.02em; animation: heroTextReveal 1.2s 2.7s both; }
.hero-content p { font-size: 1.15rem; margin-bottom: 40px; color: var(--text-body); animation: heroTextReveal 1.2s 3.0s both; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: heroTextReveal 1.2s 3.3s both; }
.hero-image { height: 100vh; width: 100%; position: relative; display: flex; align-items: flex-end; justify-content: center; padding-top: 80px; }
.hero-image img { 
  width: 100%; max-width: 950px; max-height: 95vh; object-fit: contain; object-position: center bottom; border-radius: 0; z-index: 1; mix-blend-mode: multiply; -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%); mask-image: linear-gradient(to top, transparent 0%, black 15%);
}
.hero-image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, var(--bg-geral) 0%, transparent 15%); z-index: 2; pointer-events: none; }

/* =========================================
   ESTATÍSTICAS
========================================= */
@keyframes classicPulse {
  0% { transform: scale(1); text-shadow: 0 0 0 rgba(201, 161, 85, 0); }
  50% { transform: scale(1.05); text-shadow: 0 0 15px rgba(201, 161, 85, 0.4); }
  100% { transform: scale(1); text-shadow: 0 0 0 rgba(201, 161, 85, 0); }
}
.stats-strip { background: var(--color-primary); padding: 25px 0; }
.stats-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 30px; text-align: center; }
.stat-item { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: center; transition: var(--transition); }
.stat-val-wrap h3 { font-size: 2.2rem; color: var(--color-accent); font-family: 'Playfair Display', serif; margin-bottom: 5px; transition: var(--transition); display: inline-block; animation: classicPulse 3s infinite ease-in-out; }
.stat-desc-wrap p { font-size: 0.95rem; font-weight: 400; color: #FFF; max-width: 250px; line-height: 1.4; opacity: 0.9;}

/* --- Pilares / Cards --- */
.cards-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pilar-card { background: var(--bg-cards); border: 1px solid var(--border-color); padding: 40px 30px; border-radius: var(--radius-sm); text-align: left; box-shadow: var(--shadow-sm); transition: var(--transition); }
.pilar-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.pilar-icon-wrapper { height: 45px; display: flex; align-items: center; justify-content: center; margin-bottom: 15px; }
.pilar-icon-wrapper i { font-size: 2rem; color: var(--color-primary); margin: 0; }
.pilar-icon-wrapper img { height: 35px; width: auto; margin: 0; }
.pilar-card h3 { color: var(--color-primary); margin-bottom: 15px; font-size: 1.3rem; text-align: center; }
.pilar-card p { display: none; /* Removido para usar as listas exatas dos prints */ }
.pilar-card ul { font-size: 0.9rem; text-align: left; display: inline-block; margin: 0 auto; color: var(--text-body); }

/* --- Diferenciais e Acordeão Geral --- */
.accordion-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.acc-item { border: 1px solid var(--border-color); border-radius: var(--radius-sm); background: var(--bg-cards); overflow: hidden; transition: var(--transition); }
.acc-header { width: 100%; text-align: left; padding: 20px 25px; background: none; border: none; cursor: pointer; font-family: 'Playfair Display', serif; font-size: 1.25rem; font-weight: 600; color: var(--color-primary); display: flex; justify-content: space-between; align-items: center; transition: var(--transition); }
.acc-header:hover { background: var(--bg-geral); }
.acc-header i { color: var(--color-accent); transition: transform 0.3s; }
.acc-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; background: var(--bg-geral); }
.acc-content-inner { padding: 0 25px; font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }
.acc-item.active .acc-content { max-height: 600px; padding: 20px 0; }
.acc-item.active .acc-header i { transform: rotate(180deg); }
.acc-item.active { border-color: var(--color-accent); box-shadow: var(--shadow-sm); }

/* Acordeão Específico para Portfólio */
.portfolio-accordion .acc-item { border: 1px solid var(--color-primary); background: var(--bg-cards); }
.portfolio-accordion .acc-header { color: var(--color-primary); }
.portfolio-accordion .acc-content { background: var(--bg-geral); }
.portfolio-accordion .acc-content-inner p { margin-bottom: 12px; }

/* --- Metodologia --- */
.metodologia-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: stretch; }
.metodologia-card { background: var(--color-primary); padding: 30px 20px; border-radius: var(--radius-sm); text-align: center; color: white; transition: var(--transition); box-shadow: var(--shadow-sm); }
.metodologia-card:hover { transform: translateY(-5px); background: var(--color-primary-hover); }
.metodologia-numero { font-size: 2.5rem; font-family: 'Playfair Display', serif; color: var(--color-accent); font-weight: 800; line-height: 1; margin-bottom: 15px; display: inline-block; }
.metodologia-card h4 { font-family: 'Inter', sans-serif; font-size: 1.1rem; margin-bottom: 10px; color: white; }
.metodologia-card p { font-size: 0.9rem; color: rgba(255,255,255,0.8); }

/* =========================================
   REFORMA TRIBUTÁRIA
========================================= */
.reforma-section { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.reforma-image { width: 45%; flex-shrink: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 20px 40px rgba(92, 26, 27, 0.08); }
.reforma-image img { width: 100%; height: 490px; object-fit: cover; object-position: center; }
.reforma-content { width: 55%; }
.checklist { display: flex; flex-direction: column; gap: 15px; margin-top: 25px; }
.check-item { display: flex; gap: 15px; align-items: flex-start; padding: 15px 20px; background: var(--bg-cards); border: 1px solid var(--border-color); border-radius: var(--radius-md); transition: var(--transition); }
.check-item:hover { border-color: var(--color-accent); transform: translateX(5px); box-shadow: var(--shadow-sm); }
.check-item i { color: var(--color-primary); font-size: 1.3rem; margin-top: 2px; }
.check-item strong { display: block; color: var(--color-primary); margin-bottom: 4px; font-size: 1.05rem; }
.check-item p { font-size: 0.9rem; margin-bottom: 0; line-height: 1.4;}

/* --- Frentes de Atuação --- */
.frentes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch;}
.card-frente { background: var(--bg-cards); border: 1px solid var(--border-color); padding: 30px 24px; border-radius: var(--radius-md); transition: var(--transition); display: flex; flex-direction: column; }
.card-frente:hover { box-shadow: var(--shadow-md); border-color: var(--color-accent); transform: translateY(-5px); }
.card-frente-icon { font-size: 2rem; color: var(--color-primary); margin-bottom: 20px; display: flex; align-items: center; height: 45px; }
.card-frente h3 { font-size: 1.2rem; margin-bottom: 15px; color: var(--color-primary); }
.card-frente-desc { font-size: 0.85rem; color: var(--text-body); margin-bottom: 15px; line-height: 1.5; }
.card-frente .clean-list { flex-grow: 1; }
.card-frente-btn { width: 100%; margin-top: 20px; padding: 12px 10px; font-size: 0.85rem; }

/* =========================================
   VISÕES DE MERCADO (CARROSSEL ANIMADO)
========================================= */
.marquee-wrapper { width: 100%; overflow: hidden; position: relative; display: flex; align-items: center; padding: 20px 0; }
.marquee-content { display: flex; width: max-content; animation: scrollMarquee 35s linear infinite; gap: 30px; padding-left: 30px;}
.marquee-content:hover { animation-play-state: paused; }
.testemunho-card {
  background: var(--bg-cards); border: 1px solid var(--border-color); border-radius: var(--radius-md);
  padding: 30px; width: 400px; flex-shrink: 0; box-shadow: var(--shadow-sm); transition: var(--transition);
  white-space: normal;
}
.testemunho-card:hover {
  border-color: var(--color-accent); box-shadow: var(--shadow-md); transform: translateY(-5px);
}
.testemunho-card p { font-size: 0.95rem; color: var(--text-body); margin-bottom: 15px; line-height: 1.6; }
.testemunho-card span { font-size: 0.95rem; font-weight: 700; color: var(--color-primary); display: block;}
.testemunho-card .company { font-size: 0.8rem; font-weight: 500; color: var(--text-muted); display: block; margin-top: 2px;}

@keyframes scrollMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-50% - 15px)); } }

/* --- Liderança Técnica (Fundadora) --- */
.founder-card { display: flex; gap: 50px; align-items: center; background: var(--bg-cards); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 50px; box-shadow: var(--shadow-md); }
.founder-image { flex-shrink: 0; }
.founder-image img { width: 260px; height: 300px; object-fit: cover; object-position: top; border-radius: var(--radius-md); border: 4px solid var(--color-accent); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.founder-info h3 { font-size: 2rem; margin-bottom: 5px; color: var(--color-primary); }
.founder-role { color: var(--color-accent); font-weight: 700; margin-bottom: 20px; display: block; font-size: 0.95rem; text-transform: uppercase;}

/* --- Radar Tributário --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: var(--bg-cards); border: 1px solid var(--border-color); border-radius: var(--radius-md); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--color-accent); }
.news-img { width: 100%; height: 200px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.news-content { padding: 30px 20px; flex-grow: 1; display: flex; flex-direction: column; }
.news-title { font-size: 1.2rem; color: var(--color-primary); margin-bottom: 15px; line-height: 1.3; font-weight: 700; font-family: 'Playfair Display', serif; }
.news-content p { font-size: 0.9rem; margin-bottom: 20px; color: var(--text-body); line-height: 1.5; }
.news-link { font-size: 0.85rem; font-weight: 600; color: var(--color-accent); display: flex; align-items: center; gap: 5px; margin-top: auto; }
.news-card:hover .news-link { color: var(--color-primary); }
.news-card:hover .news-link i { transform: translateX(5px); }

/* =========================================
   NOVA ESTRUTURA DE PLANOS BOUTIQUE
========================================= */
.hero-lp { padding: 160px 0 60px; text-align: center; }
.hero-lp h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 20px; max-width: 900px; margin-left: auto; margin-right: auto; }
.hero-lp p { font-size: 1.1rem; max-width: 800px; margin: 0 auto 0; color: var(--text-body); line-height: 1.6;}


/* --- Responsividade da Página (Conteúdo) --- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; height: auto; }
  .hero-image { height: 50vh; min-height: 400px; order: -1; padding-top: 100px; }
  .hero-image img { max-height: 100%; width: auto; max-width: 100%; }
  .hero-content-wrapper { padding: 60px 5%; text-align: center; }
  .hero-buttons { justify-content: center; }
  .reforma-section { flex-direction: column; gap: 40px; }
  .reforma-image, .reforma-content { width: 100%; padding: 0; }
  .cards-grid-3, .metodologia-grid { grid-template-columns: repeat(2, 1fr); }
  .frentes-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .founder-card { flex-direction: column; align-items: center; text-align: center; gap: 30px;}
}
@media (max-width: 768px) {
  .cards-grid-3, .frentes-grid, .metodologia-grid, .news-grid { grid-template-columns: 1fr; }
  .pilar-card ul { padding-left: 0; }
}
