/* Estilo base */
:root {
  --color-black: #1a1a1a;
  --color-white: #ffffff;
  --color-gold: #d4af37;
  --color-gold-light: #e6c458;
  --color-gray: #f5f5f5;
  --font-primary: 'Montserrat', sans-serif;
  --font-secondary: 'Playfair Display', serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  color: var(--color-black);
  background-color: var(--color-white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar */
.navbar {
  background-color: var(--color-black);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 45px;
}

.logo-text {
  color: var(--color-gold);
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 24px;
  margin-left: 10px;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--color-gold);
}

.mobile-menu-toggle {
    display: none; /* Escondido em telas grandes */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 24px;
    cursor: pointer;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-gold);
  color: var(--color-black);
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
  text-align: center;
}

.btn:hover {
  background-color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--color-gold);
  color: var(--color-gold);
}

.btn-outline:hover {
  background-color: var(--color-gold);
  color: var(--color-black);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(26, 26, 26, 0.8)), url('../images/hero-bg.png');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  color: var(--color-white);
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-white);
}

.hero-title span {
  color: var(--color-gold);
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--color-white);
}

.section-title {
  font-family: var(--font-secondary);
  font-size: 36px;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 15px auto 0;
}

.about-container {

  display: flex;
  align-items: center;
  gap: 60px;
}

.about-image { 
  max-width: 400px;
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
  width: 100%;
  display: block;
}

.about-content {
  flex: 1;
}

.about-content h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--color-black);
}

.about-content p {
  margin-bottom: 20px;
  color: #444;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card-header {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 20px;
  text-align: center;
}

.service-card-header h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card-price {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.service-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
}

.service-features li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  padding-left: 30px;
}

.service-features li:before {
  content: '✓';
  color: var(--color-gold);
  position: absolute;
  left: 0;
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--color-white);
}

/* Novo container que esconde os cards extras */
.testimonial-slider-container {
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden; /* A mágica acontece aqui! */
    position: relative;
}

/* Pista que contém TODOS os cards em linha */
.testimonial-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    /* Cada card ocupa 100% da largura do container e não encolhe */
    flex-basis: 100%;
    flex-shrink: 0;
    margin: 0 10px; /* Espaçamento entre os cards */
}

.testimonial-card:before {
  content: '"';
  font-family: var(--font-secondary);
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 60px;
  color: var(--color-gold);
  opacity: 0.2;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  padding-left: 40px;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 15px;
}

.testimonial-author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-author-info h4 {
  font-weight: 600;
  margin-bottom: 5px;
}

.testimonial-author-info p {
  color: #777;
  font-size: 14px;
}

/* Estilos para os pontos de navegação */
.testimonial-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: var(--color-gold);
}

/* Process Section */
.process {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.process-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.process-step {
  text-align: center;
}

.process-step-number {
  width: 80px;
  height: 80px;
  background-color: var(--color-black);
  color: var(--color-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.process-step h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.process-step p {
  color: #666;
}

/* CTA Section */
.cta {
  padding: 80px 0;
  background: linear-gradient(rgba(26, 26, 26, 0.9), rgba(26, 26, 26, 0.9)), url('../images/hero-bg.jpg');
  background-attachment: fixed;
  background-size: cover;
  color: var(--color-white);
  text-align: center;
}

.cta h2 {
  font-family: var(--font-secondary);
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--color-white);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--color-black);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  color: var(--color-gold);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-details h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.contact-details p {
  color: #666;
}

.contact-form {
  padding: 30px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 16px;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background-color: #f9f9f9;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  background-color: var(--color-white);
  padding: 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.accordion-header:hover {
  background-color: #f5f5f5;
}

.accordion-header h3 {
  font-size: 18px;
  font-weight: 600;
}

.accordion-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.accordion-content {
  background-color: var(--color-white);
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 20px;
  max-height: 1000px;
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 80px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: var(--color-gold);
  font-size: 20px;
  margin-bottom: 25px;
  position: relative;
}

.footer-col h3:after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-gold);
  margin-top: 10px;
}

.footer-about p {
  margin-bottom: 20px;
  opacity: 0.8;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--color-gold);
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  opacity: 0.8;
}

.footer-contact p i {
  margin-right: 10px;
  color: var(--color-gold);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: background-color 0.3s, transform 0.3s;
}

.social-links a:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  opacity: 0.7;
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Theme color accents */
.text-gold {
  color: var(--color-gold);
}

.bg-black {
  background-color: var(--color-black);
}

.bg-gold {
  background-color: var(--color-gold);
}


/* #################################### */
/* ###      ESTILOS RESPONSIVOS     ### */
/* #################################### */

@media (max-width: 992px) {
    /* --- MENU MOBILE --- */
    .mobile-menu-toggle {
        display: block; /* Mostra o botão hambúrguer */
    }

    .nav-links {
        position: absolute;
        top: 71px; /* Altura da navbar */
        left: 0;
        width: 100%;
        background-color: var(--color-black);
        flex-direction: column;
        align-items: center;
        
        /* Animação de entrada */
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease-in-out;
    }

    .nav-links.nav-active {
        max-height: 500px; /* Altura suficiente para os links */
        padding-bottom: 20px;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
        text-align: center;
    }
    
    /* --- OUTROS AJUSTES --- */
    .about-container {
      flex-direction: column;
    }
    
    .contact-container {
      grid-template-columns: 1fr;
    }
    
    .hero-title {
      font-size: 40px;
    }

    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
  /* Reduzir o padding das seções para economizar espaço */
  .about, .services, .testimonials, .process, .contact, .faq, .calculator {
      padding: 60px 0;
  }

  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
      font-size: 16px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .hero-buttons .btn {
      width: 80%;
      max-width: 300px;
  }

  .about-container {
      gap: 30px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col h3:after {
      margin: 15px auto 0;
  }

  .footer-contact p, .social-links {
      justify-content: center;
  }
}