/* ============================================
   ACT AUDITORIA - IDENTIDADE VISUAL
   Paleta: Verde Estratégico + Neutros Premium
   Conceito: Editorial, Confiança, Organização
   ============================================ */

:root {
  /* Cores Primárias - Verde Estratégico */
  --primary-dark: #1a4d2e;
  --primary-main: #2d7a4f;
  --primary-light: #4a9b6e;
  --primary-soft: #e8f3ed;
  
  /* Cores Secundárias - Neutros Premium */
  --neutral-900: #1c2420;
  --neutral-800: #2f3833;
  --neutral-700: #4a5550;
  --neutral-600: #5a6b5f;
  --neutral-500: #7a8a7f;
  --neutral-400: #9daba3;
  --neutral-300: #c4cec8;
  --neutral-200: #e6ede9;
  --neutral-100: #f0f4f2;
  --neutral-50: #f8faf9;
  
  /* Cores de Apoio */
  --accent-gold: #d4a574;
  --accent-alert: #c84b31;
  --accent-info: #3a7ca5;
  
  /* Backgrounds */
  --bg-primary: #ffffff;
  --bg-secondary: var(--neutral-50);
  --bg-tertiary: var(--neutral-100);
  --bg-dark: var(--neutral-900);
  
  /* Textos */
  --text-primary: var(--neutral-900);
  --text-secondary: var(--neutral-700);
  --text-tertiary: var(--neutral-600);
  --text-inverse: var(--neutral-50);
  
  /* Sombras */
  --shadow-sm: 0 1px 3px rgba(26, 77, 46, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 77, 46, 0.1);
  --shadow-lg: 0 8px 24px rgba(26, 77, 46, 0.12);
  --shadow-xl: 0 16px 48px rgba(26, 77, 46, 0.15);
  
  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Tipografia */
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'Courier New', 'Courier', monospace;
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* ============================================
   TIPOGRAFIA EDITORIAL
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary-dark);
  margin-bottom: 0.75em;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 0.5em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: 1.125rem;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-main);
}

p {
  margin-bottom: 1.25em;
  max-width: 70ch;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-main);
  margin-bottom: 0.75rem;
  display: block;
}

strong {
  font-weight: 600;
  color: var(--primary-dark);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-container img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-base);
}

.logo-container:hover img {
  transform: translateY(-2px);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  letter-spacing: 0.01em;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-main);
  transition: width var(--transition-base);
}

.main-nav a:hover {
  color: var(--primary-main);
}

.main-nav a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--primary-dark);
  transition: all var(--transition-base);
}

/* ============================================
   HERO EDITORIAL
   ============================================ */

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background: url('../images/hero.svg') center/cover no-repeat;
  opacity: 0.7;
  z-index: 0;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-title {
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-subtitle {
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--neutral-300);
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-main);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-tertiary);
  margin-top: 0.5rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   SECTIONS LAYOUT
   ============================================ */

section {
  padding: 6rem 2rem;
  position: relative;
}

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

.section-wide {
  max-width: 1400px;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-main), var(--primary-light));
  margin: 0 auto 2rem;
  border-radius: 2px;
}

/* Backgrounds alternados */
section:nth-child(even) {
  background: var(--bg-secondary);
}

section:nth-child(odd) {
  background: var(--bg-primary);
}

/* ============================================
   CARDS & CONTENT BLOCKS
   ============================================ */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.content-card {
  background: var(--bg-primary);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  padding: 2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary-main);
  transition: height var(--transition-base);
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.content-card:hover::before {
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-soft);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary-main);
  font-weight: 700;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ============================================
   PROCESS TIMELINE
   ============================================ */

.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: center;
}

.timeline-item:nth-child(even) .timeline-content:first-child {
  order: 3;
}

.timeline-item:nth-child(even) .timeline-marker {
  order: 2;
}

.timeline-item:nth-child(even) .timeline-content:last-child {
  order: 1;
}

.timeline-marker {
  width: 80px;
  height: 80px;
  background: var(--primary-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.timeline-marker::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 2px solid var(--primary-light);
  border-radius: 50%;
  opacity: 0.3;
}

.timeline-content {
  background: var(--bg-primary);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--neutral-200);
}

.timeline-content h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

/* ============================================
   TABELAS INFORMATIVAS
   ============================================ */

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-primary);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  overflow: hidden;
  margin: 2rem 0;
}

.info-table thead {
  background: var(--primary-dark);
  color: white;
}

.info-table th {
  padding: 1rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.info-table td {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--neutral-200);
  vertical-align: top;
}

.info-table tbody tr:hover {
  background: var(--neutral-50);
}

.info-table td:first-child {
  font-weight: 600;
  color: var(--primary-main);
}

/* ============================================
   FAQ INTERATIVO
   ============================================ */

.faq-container {
  max-width: 900px;
  margin: 3rem auto 0;
}

.faq-item {
  background: var(--bg-primary);
  border: 1px solid var(--neutral-200);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all var(--transition-base);
}

.faq-item:hover {
  border-color: var(--primary-light);
}

.faq-question {
  width: 100%;
  padding: 1.5rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all var(--transition-fast);
}

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

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-main);
  transition: transform var(--transition-base);
  font-weight: 300;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   FORMULÁRIO DE CONTATO
   ============================================ */

.contact-section {
  background: var(--primary-dark);
  color: var(--text-inverse);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--neutral-50);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info h3 {
  color: var(--neutral-50);
  margin-bottom: 1.5rem;
}

.contact-info p {
  color: var(--neutral-300);
  margin-bottom: 2rem;
}

.contact-details {
  list-style: none;
  margin: 2rem 0;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  color: var(--neutral-200);
}

.contact-details strong {
  color: var(--accent-gold);
  min-width: 120px;
  font-weight: 600;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--neutral-200);
  font-size: 0.9375rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--neutral-300);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-main);
  box-shadow: 0 0 0 3px rgba(45, 122, 79, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  background: var(--accent-gold);
  color: var(--neutral-900);
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  width: 100%;
}

.btn-submit:hover {
  background: #c59563;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-submit:active {
  transform: translateY(0);
}

.form-message {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 4px;
  text-align: center;
  font-weight: 500;
  display: none;
}

.form-message.success {
  background: rgba(74, 155, 110, 0.2);
  border: 1px solid var(--primary-light);
  color: var(--primary-soft);
  display: block;
}

.form-message.error {
  background: rgba(200, 75, 49, 0.2);
  border: 1px solid var(--accent-alert);
  color: #ffcccc;
  display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 3rem 2rem 1.5rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--neutral-800);
  margin-bottom: 2rem;
}

.footer-company h4 {
  color: var(--neutral-200);
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-company p {
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.footer-links h5 {
  color: var(--neutral-200);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
}

.footer-links a {
  color: var(--neutral-400);
  text-decoration: none;
  transition: color var(--transition-fast);
  display: inline-block;
  padding: 0.25rem 0;
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  text-align: center;
  opacity: 0.5;
  font-size: 0.8125rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* ============================================
   UTILITIES
   ============================================ */

.text-center { text-align: center; }
.text-primary { color: var(--primary-main); }
.text-muted { color: var(--text-tertiary); }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ============================================
   ANIMAÇÕES
   ============================================ */

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-section::before {
    width: 100%;
    opacity: 0.3;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }
  
  .timeline-item .timeline-content:first-child {
    display: none;
  }
  
  .timeline-item:nth-child(even) .timeline-content:last-child {
    order: 2;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  section {
    padding: 4rem 1.5rem;
  }
  
  .header-container {
    padding: 1rem 1.5rem;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-primary);
    padding: 5rem 2rem 2rem;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: 999;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  .main-nav a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--neutral-200);
  }
  
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .info-table {
    font-size: 0.875rem;
  }
  
  .info-table th,
  .info-table td {
    padding: 0.875rem 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    min-height: auto;
    padding: 6rem 1rem 3rem;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .timeline-marker {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
  .site-header,
  .menu-toggle,
  .contact-section,
  .site-footer {
    display: none;
  }
  
  section {
    page-break-inside: avoid;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
}