/*
Theme Name: JM Consultoria Contábil
Theme URI: https://jmconsultoria.com.br
Author: JM Consultoria
Author URI: https://jmconsultoria.com.br
Description: Tema personalizado para JM Consultoria Contábil
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jm-consultoria
*/

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Variáveis CSS */
:root {
  --primary: #1a365d;
  --primary-foreground: #ffffff;
  --background: #ffffff;
  --foreground: #1a202c;
  --card: #f7fafc;
  --border: #e2e8f0;
}

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

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

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2d5a8c 0%, #1e3a5f 100%);
  overflow: hidden;
  padding: 5rem 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}

.hero-section .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-logo-wrapper {
  margin-bottom: 2rem;
}

.hero-logo-wrapper img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-content {
  color: white;
  max-width: 600px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

.hero-image-wrapper {
  display: none;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background-color: #10b981;
  color: white;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.btn-cta:hover {
  background-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #64748b;
  line-height: 1.6;
}

/* Cards */
.card {
  background: var(--card);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.service-card:hover {
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.service-description {
  color: #64748b;
  line-height: 1.6;
}

/* Differential Section */
.differential-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.differentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto 3rem;
}

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

.differential-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.differential-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.differential-description {
  color: #64748b;
  line-height: 1.6;
}

.differential-highlight {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.differential-highlight p {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--foreground);
}

.differential-highlight strong {
  color: var(--primary);
  font-weight: 600;
}

/* Benefits List */
.benefits-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.benefit-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.benefit-icon {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: bold;
  flex-shrink: 0;
}

.benefit-item p {
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.6;
}

/* Social Proof Section */
.social-proof-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  font-size: 3rem;
  color: rgba(45, 90, 140, 0.3);
  line-height: 1;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: #64748b;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.testimonial-author {
  font-weight: bold;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.testimonial-company {
  font-size: 0.875rem;
  color: #64748b;
}

/* Final CTA Section */
.final-cta-section {
  background: linear-gradient(135deg, #2d5a8c 0%, #1e3a5f 100%);
  position: relative;
  overflow: hidden;
}

.final-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.final-cta-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Footer */
.site-footer {
  background-color: var(--primary);
  color: var(--primary-foreground);
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  text-align: center;
  opacity: 0.6;
  font-size: 0.875rem;
}

/* Responsive */
@media (min-width: 1024px) {
  .hero-section .container {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-image-wrapper {
    display: block;
  }
  
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-logo-wrapper img {
    height: 60px;
  }
  
  .services-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .differentials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
