/* Base Styles */
:root {
  --primary-color: #c05416;
  --secondary-color: #c05416;
  --dark-color: #c05416;
  --light-color: #f8f9fa;
  --gray-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #c05416;
  --warning-color: #ffc107;
  --info-color: #c05416;
  --white-color: #ffffff;
  --black-color: #000000;
}

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

body {
  font-family: 'Poppins', sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 15px;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: #c05416;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-2px);
}

.btn-block {
  display: block;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--dark-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  color: var(--gray-color);
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #000000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.header.scrolled {
  background-color: rgba(56, 55, 55, 0.95);
  padding: 10px 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu li {
  margin-left: 30px;
}

.nav-link {
  font-weight: 500;
  color: var(--dark-color);
  transition: color 0.3s ease;
  position: relative;
}

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

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-btn {
  margin-left: 20px;
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--dark-color);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/banner.png') no-repeat center center/cover;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  color: var(--white-color);
  padding-top: 80px;
}

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

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
}

.hero-btns {
  display: flex;
  gap: 15px;
}

/* Stats Section */
.stats {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 60px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.stat-item h3 {
  font-size: 42px;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 18px;
  opacity: 0.9;
}

/* Services Section */
.services {
  padding: 100px 0;
  background-color: #262626;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: #000000;
  border-radius: 8px;
  padding:16px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(42, 75, 124, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 24px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--gray-color);
  margin-bottom: 20px;
}

.btn-service {
  color: var(--primary-color);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
}

.btn-service i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.btn-service:hover i {
  transform: translateX(5px);
}

/* About Section */
.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-list {
  margin: 25px 0;
}

.about-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.about-list i {
  color: var(--secondary-color);
  margin-right: 10px;
  font-size: 18px;
}

/* Simulator Section */
.simulator {
  padding: 100px 0;
  background-color: #262626;
}

.simulator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: center;
}

.simulator-form {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

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

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
}

.range-value {
  margin-top: 5px;
  font-weight: 500;
  color: var(--primary-color);
}

input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #ddd;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
}

/* Simulation Result */
.simulation-result {
  padding: 50px 0;
  background-color: rgba(42, 75, 124, 0.05);
}

.result-card {
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

.result-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  border-bottom: 1px solid #eee;
}

.result-header h3 {
  margin: 0;
}

.close-result {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--gray-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-result:hover {
  color: var(--danger-color);
}

.result-content {
  padding: 30px;
}

.result-item {
  display: flex;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

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

.result-item.highlight {
  background-color: rgba(42, 75, 124, 0.05);
  margin: 0 -30px;
  padding: 15px 30px;
}

.result-item.highlight strong {
  color: var(--primary-color);
  font-size: 24px;
}

.result-actions {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

/* Testimonials Section */
.testimonials {
  padding: 60px 0;
  background-color: var(--white-color);
}

.testimonials-container {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.testimonials-slider {
  display: flex;
  overflow-x: hidden; /* Alterado de auto para hidden */
  gap: 30px;
  padding: 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  width: 100%;
}

.testimonials-slider::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  flex: 0 0 100%;
  scroll-snap-align: start;
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  min-width: 100%;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-info h4 {
  margin-bottom: 5px;
  font-size: 18px;
}

.author-info span {
  color: var(--gray-color);
  font-size: 14px;
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1;
  border: none;
  font-size: 20px;
  color: #333;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Desktop styles */
@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
  }
  
  .nav-arrow {
    display: none;
  }
  
  .testimonials-slider {
    overflow-x: auto;
  }
}

/* Navigation arrows */
.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1;
  border: none;
  font-size: 20px;
  color: #333;
}

.arrow-left {
  left: 10px;
}

.arrow-right {
  right: 10px;
}

/* Desktop styles */
@media (min-width: 768px) {
  .testimonial-item {
    flex: 0 0 calc(33.333% - 20px);
  }
  
  .nav-arrow {
    display: none;
  }
}
/* Partners Section */
.partners {
  padding: 50px 0;
  background-color: var(--light-color);
}

.partners-slider {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 27px;
}

.partner-item {
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.partner-item:hover {
  opacity: 1;
}

.partner-item img {
  height: 40px;
  width: auto;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.partner-item:hover img {
  filter: grayscale(0);
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: url('images/bannercta.png') no-repeat center center/cover;
  color: var(--white-color);
  text-align: center;
}

.cta h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.cta-btns .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
  background-color: var(--white-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  padding-right: 30px;
}

.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(42, 75, 124, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: var(--primary-color);
  font-size: 18px;
}

.info-content h4 {
  font-size: 18px;
  margin-bottom: 5px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(42, 75, 124, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

.contact-form {
  background-color: var(--light-color);
  padding: 40px;
  border-radius: 8px;
}

/* Map Section */
.map {
  height: 450px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  color: var(--white-color);
  padding: 80px 0 0;
}

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

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-logo {
  height: 40px;
  margin-bottom: 20px;
}

.footer p {
  opacity: 0.8;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
  color: var(--secondary-color);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-family: 'Poppins', sans-serif;
}

.newsletter-form button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: #e68216;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  opacity: 0.7;
  font-size: 14px;
}

.payment-methods {
  display: flex;
  gap: 10px;
}

.payment-methods img {
  height: 25px;
  width: auto;
  opacity: 0.8;
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 100;
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: var(--white-color);
  border-radius: 50%;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
}

.whatsapp-float a:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

.back-to-top a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--white-color);
  border-radius: 50%;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.back-to-top a:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .section-header h2 {
    font-size: 32px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .testimonial-item {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white-color);
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 15px 0;
  }

  .nav-btn {
    margin: 20px 0 0;
  }

  .menu-toggle.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .hero {
    text-align: center;
    padding-top: 100px;
  }

  .hero-content {
    margin: 0 auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .about-grid,
  .simulator-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .about-image,
  .simulator-image {
    order: -1;
  }

  .contact-info {
    padding-right: 0;
  }

  .testimonial-item {
    flex: 0 0 100%;
  }

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 28px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

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

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

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .payment-methods {
    justify-content: center;
  }
}

/* Seção Crédito Consignado */
  .consignado-section {
    padding: 100px 0 80px; /* 100px top, 0 right/left, 80px bottom */
    scroll-margin-top: 80px; /* Isso evita que o header cubra ao navegar com âncoras */
 background-color: #f9f9f9
 }

.consignado-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.consignado-section .section-header h2 {
  font-size: 36px;
  color: #c05416;
  margin-bottom: 15px;
  font-weight: 700;
}

.consignado-section .section-header p {
  font-size: 18px;
  color: #666;
}

.consignado-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: center;
}

.consignado-text {
  flex: 1;
  min-width: 300px;
}

.consignado-text h3 {
  font-size: 24px;
  color: #c05416;
  margin: 25px 0 15px;
  font-weight: 600;
}

.consignado-text p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 15px;
}

.benefits-list,
.eligible-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.benefits-list li,
.eligible-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  color: #444;
}

.benefits-list i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 18px;
}

.eligible-list i {
  color: #c05416;
  margin-right: 10px;
  font-size: 16px;
}

.cta-box {
  background-color: #c05416;
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  color: white;
}

.cta-box p {
  color: white;
  margin-bottom: 15px;
}

.consignado-image {
  flex: 1;
  min-width: 300px;
  position: relative;
}

.consignado-image .feature-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.highlight-box {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  max-width: 250px;
}

.highlight-icon {
  background-color: #c05416;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
}

.highlight-content h4 {
  font-size: 16px;
  margin: 0;
  color: #555;
}

.highlight-content .rate {
  font-size: 24px;
  font-weight: 700;
  color: #c05416;
  margin: 5px 0;
}

.highlight-content small {
  font-size: 12px;
  color: #888;
}

/* Responsivo */
@media (max-width: 768px) {
  .consignado-section {
    padding: 50px 0;
  }

  .consignado-section .section-header h2 {
    font-size: 28px;
  }

  .highlight-box {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
    max-width: 100%;
  }
}
