/* ============================================
   LIVRO CAIXA CONTÁBIL - ESTILOS GLOBAIS
   ============================================ */

:root {
  --primary-orange: #FF9800;
  --dark-navy: #1a2332;
  --light-gray: #f5f5f5;
  --white: #ffffff;
  --success-green: #4caf50;
  --text-gray: #666666;
  --text-light-gray: #999999;
  --border-gray: #e0e0e0;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-gray);
  line-height: 1.6;
  background-color: var(--white);
}

/* ============================================
   HEADER E NAVEGAÇÃO
   ============================================ */

header {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-gray);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--dark-navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--primary-orange);
}

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

nav a {
  text-decoration: none;
  color: var(--text-gray);
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

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

nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--primary-orange);
  transition: width 0.3s ease;
}

nav a:hover::after {
  width: 100%;
}

.nav-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--success-green);
  border-radius: 50%;
  margin-left: 0.3rem;
}

.btn-download {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-download:hover {
  background-color: #0f1620;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background-color: #FFF9F0;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  color: var(--primary-orange);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--text-gray);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #0f1620;
}

.btn-secondary {
  background-color: transparent;
  color: var(--success-green);
  padding: 1rem 2rem;
  border: 2px solid var(--success-green);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background-color: var(--success-green);
  color: var(--white);
}

.hero-benefits {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-gray);
}

.benefit-item::before {
  content: '✓';
  color: var(--success-green);
  font-weight: bold;
  font-size: 1.2rem;
}

.hero-image {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.hero-image-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
}

.hero-image-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-image-content p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ============================================
   STATS SECTION
   ============================================ */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.stat-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.stat-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.stat-card h3 {
  font-size: 1.5rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.stat-card p {
  color: var(--text-light-gray);
  font-size: 0.95rem;
}

/* ============================================
   SECTION TITLES
   ============================================ */

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--dark-navy);
  margin-bottom: 3rem;
  font-weight: bold;
}

.section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-light {
  background-color: var(--light-gray);
}

/* ============================================
   GRID CARDS
   ============================================ */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

.card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.2rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.card p {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   TESTIMONIALS
   ============================================ */

.testimonial {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stars {
  color: #ffc107;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark-navy);
  margin-bottom: 0.25rem;
}

.testimonial-role {
  color: var(--text-light-gray);
  font-size: 0.9rem;
}

/* ============================================
   STEPS SECTION
   ============================================ */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.step {
  text-align: center;
  padding: 2rem;
}

.step-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary-orange);
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.2rem;
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-gray);
  line-height: 1.6;
}

/* ============================================
   FAQ SECTION
   ============================================ */

.faq-item {
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-gray);
  padding-bottom: 1.5rem;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: var(--dark-navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

.faq-toggle {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  margin-top: 1rem;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ============================================
   BLOG SECTION
   ============================================ */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background-color: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 3rem;
}

.blog-content {
  padding: 1.5rem;
}

.blog-content h3 {
  color: var(--dark-navy);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.blog-content p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

.blog-date {
  color: var(--text-light-gray);
  font-size: 0.85rem;
  margin-top: 1rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8c00 100%);
  color: var(--white);
  padding: 4rem 2rem;
  text-align: center;
}

.cta h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta .btn-primary {
  background-color: var(--dark-navy);
  color: var(--white);
}

.cta .btn-primary:hover {
  background-color: #0f1620;
}

.cta-benefits {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.cta-benefit::before {
  content: '✓';
  font-weight: bold;
  font-size: 1.2rem;
}

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

footer {
  background-color: var(--dark-navy);
  color: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

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

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .cta-benefits {
    flex-direction: column;
    gap: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .hero-image {
    min-height: 300px;
  }
}

@media (max-width: 480px) {
  .navbar {
    padding: 0.75rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  nav ul {
    gap: 0.5rem;
  }

  nav a {
    font-size: 0.9rem;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-buttons {
    gap: 0.5rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }

  .section {
    padding: 2rem 1rem;
  }

  .card {
    padding: 1.5rem;
  }

  .stat-card {
    padding: 1.5rem;
  }

  .cta h2 {
    font-size: 1.5rem;
  }

  .footer-links {
    gap: 1rem;
  }
}
.hero-screenshot {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
