/* ==========================================================
   EXECUTIVE MINIMALIST - CHUMBO METÁLICO & BRONZE
   Contabilidade & Advocacia (B2B Corporativo)
   ========================================================== */

:root {
  --primary: #1C1C1E;       /* Chumbo Metálico / Grafite Warm */
  --primary-dark: #121214;  
  --accent: #D4A373;        /* Bronze Quente Executivo */
  --accent-hover: #E0B185;
  --text-main: #2A2A2E;     /* Cinza chumbo escuro refinado */
  --text-muted: #71717A;    /* Cinza neutro secundário */
  --bg-light: #F8F9FA;      /* Fundo off-white limpo */
  --bg-dark: #1C1C1E;       /* Fundo escuro para hero/footer */
  --border: #E4E4E7;        /* Linhas e bordas finas sutis */
  --white: #FFFFFF;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-subtle: 0 4px 20px rgba(28, 28, 30, 0.05);
  --shadow-card: 0 10px 30px rgba(28, 28, 30, 0.08);
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif, -apple-system, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif-font {
  font-family: 'Playfair Display', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   HEADER / NAVBAR FIXO
   ========================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(28, 28, 30, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.2);
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
  font-size: 1.25rem;
}

.logo-crest {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--primary);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}

.logo span strong {
  color: var(--accent);
  font-weight: 600;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #A1A1AA;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent);
}

/* ==========================================================
   BOTÕES
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(212, 163, 115, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-full {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle span {
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* ==========================================================
   HERO SECTION EXECUTIVA
   ========================================================== */
.hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 50%; height: 100%;
  background: radial-gradient(circle, rgba(212, 163, 115, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(212, 163, 115, 0.1);
  border: 1px solid rgba(212, 163, 115, 0.3);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 700;
}

.hero h1 span {
  color: var(--accent);
}

.hero-desc {
  font-size: 1.15rem;
  color: #A1A1AA;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
}

.hero-card-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.hero-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.stat-box h3 {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-box p {
  font-size: 0.9rem;
  color: #A1A1AA;
}

/* ==========================================================
   SEÇÕES GERAIS
   ========================================================== */
.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 60px;
}

.section-header span {
  color: #A67C52;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ==========================================================
   ÁREAS DE ATUAÇÃO - PAINEL INTERATIVO SPLIT-SCREEN
   ========================================================== */
.services-interactive-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.services-tabs-list {
  display: flex;
  flex-direction: column;
  background: var(--bg-light);
  border-right: 1px solid var(--border);
}

.service-tab-btn {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
  position: relative;
}

.service-tab-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.service-tab-btn:hover {
  background: rgba(212, 163, 115, 0.04);
}

.service-tab-btn.active {
  background: var(--white);
  border-color: var(--border);
}

.service-tab-btn.active::before {
  transform: scaleY(1);
}

.tab-number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  font-family: 'Playfair Display', serif;
  transition: var(--transition);
}

.service-tab-btn.active .tab-number,
.service-tab-btn:hover .tab-number {
  color: var(--accent);
}

.tab-title-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.service-tab-btn.active .tab-title-text {
  color: var(--primary);
  font-weight: 700;
}

.services-content-panel {
  padding: 50px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.service-pane {
  display: none;
  animation: fadeInPane 0.4s ease forwards;
}

.service-pane.active {
  display: flex;
  flex-direction: column;
}

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

.pane-icon {
  width: 60px;
  height: 60px;
  background: rgba(28, 28, 30, 0.04);
  color: var(--primary);
  display: grid;
  place-items: center;
  border-radius: var(--radius-sm);
  font-size: 1.6rem;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.pane-title {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.pane-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.pane-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.pane-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.pane-features li span {
  color: var(--accent);
  font-weight: bold;
}

/* ==========================================================
   SEÇÃO DE AUTORIDADE / NÚMEROS
   ========================================================== */
.authority-section {
  background: var(--primary);
  color: var(--white);
  padding: 80px 0;
}

.authority-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.authority-item h3 {
  font-size: 2.8rem;
  color: var(--accent);
  margin-bottom: 8px;
}

.authority-item p {
  color: #A1A1AA;
  font-size: 0.95rem;
}

/* ==========================================================
   FAQ / CAIXAS EXPANSÍVEIS (ACCORDION)
   ========================================================== */
.faq-section {
  background: var(--bg-light);
  border-top: 1px solid var(--border);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-subtle);
}

.faq-item.active {
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  padding: 22px 24px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 28px;
  height: 28px;
  background: rgba(28, 28, 30, 0.04);
  color: var(--primary);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 24px 24px;
  transition: max-height 0.35s ease-in;
}

/* ==========================================================
   SEÇÃO DE CONTATO / LEAD B2B (LADO A LADO)
   ========================================================== */
.contact-section {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1.05rem;
}

.contact-details-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
}

.contact-detail-row span {
  font-size: 1.3rem;
  width: 42px;
  height: 42px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.contact-detail-row strong {
  display: block;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-detail-row p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* CARD DO FORMULÁRIO EXECUTIVO (LADO DIREITO) */
.contact-form-card {
  background: var(--bg-light);
  padding: 44px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-subtle);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2);
}

/* ==========================================================
   FOOTER
   ========================================================== */
.footer {
  background: var(--primary-dark);
  color: #A1A1AA;
  padding: 50px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1.1rem;
  display: block;
  margin-bottom: 4px;
}

/* ==========================================================
   RESPONSIVIDADE (MEDIA QUERIES)
   ========================================================== */
@media (max-width: 968px) {
  .hero-grid,
  .contact-wrapper,
  .services-interactive-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .services-tabs-list {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
  .services-content-panel {
    padding: 30px;
  }
  .authority-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--primary);
    flex-direction: column;
    padding: 30px;
    border-bottom: 1px solid rgba(212, 163, 115, 0.2);
  }
  .nav.open {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .authority-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 30px 24px;
  }
  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}