/* Reset e configurações base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #000;
  background: #fff;
}

/* Container responsivo */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar */
.navbar {
  background: #000;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0 1rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

/* Menu toggle (hidden by default) */
.menu-toggle {
  display: none;
}

/* Menu icon (hamburger) */
.menu-icon {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon span {
  width: 25px;
  height: 3px;
  background: #d4af37;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

/* Navigation menu */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-menu ul li a:hover {
  color: #d4af37;
}

/* Hero Section */
.hero {
  width: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 1rem 0;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  min-height: 250px;
}

/* Simulador */
.simule {
  background: #f9f9f9;
  padding: 3rem 0;
  text-align: center;
}

.simule-content h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.simule-content p {
  color: #666;
  font-size: 1.1rem;
}

/* Serviços */
.servicos {
  padding: 4rem 0;
  background: #fff;
}

.servicos h2 {
  color: #d4af37;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: center;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card h3 {
  color: #d4af37;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: color 0.3s ease;
}

.card p {
  flex-grow: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card .disclaimer {
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.8;
}

.card:hover {
  background: #d4af37;
  color: #000;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.card:hover h3 {
  color: #000;
}

/* Parceiros */
.parceiros {
  padding: 4rem 0;
  background: #f5f5f5;
  text-align: center;
}

.parceiros h2 {
  color: #d4af37;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.logo-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  max-width: 250px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-item:hover {
  transform: translateY(-5px);
}

.parceiro-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Sobre */
.sobre {
  padding: 4rem 0;
  background: #fff;
}

.sobre h2 {
  color: #d4af37;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.sobre-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.sobre-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
}

/* Contato */
.contato {
  background: #000;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.contato h2 {
  color: #d4af37;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.contato-info {
  margin-top: 2rem;
}

.contato-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: #d4af37;
  color: #000;
  padding: 1.5rem 3rem;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

.contato-btn:hover {
  background: #b8912f;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

/* Footer */
.footer {
  background: #111;
  color: #fff;
  padding: 3rem 0 1rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-info h3,
.footer-social h3 {
  color: #d4af37;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-info p {
  margin-bottom: 0.5rem;
  color: #ccc;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo img {
  height: 80px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-social {
  text-align: center;
}

.social-icons a {
  color: #fff;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-icons a:hover {
  color: #d4af37;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #333;
  color: #ccc;
}

/* Botão flutuante */
.phone-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #d4af37;
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  transition: all 0.3s ease;
}

.phone-float:hover {
  background: #b8912f;
  transform: scale(1.1);
}

/* Responsividade */
@media (max-width: 768px) {
  /* Menu mobile */
  .menu-icon {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #000;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0;
  }

  .nav-menu ul li {
    border-bottom: 1px solid #333;
  }

  .nav-menu ul li:last-child {
    border-bottom: none;
  }

  .nav-menu ul li a {
    display: block;
    padding: 1rem 0;
  }

  /* Menu toggle animation */
  .menu-toggle:checked ~ .nav-menu {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  /* Ajustes gerais mobile */
  .hero {
    padding: 0.5rem 0;
  }

  .hero-content img {
    min-height: 200px;
    max-height: 60vh;
    object-fit: contain;
  }

  .simule-content h2 {
    font-size: 1.5rem;
  }

  .servicos h2,
  .parceiros h2,
  .sobre h2,
  .contato h2 {
    font-size: 2rem;
  }

  .cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .navbar {
    height: 60px;
    padding: 0 0.75rem;
  }

  .logo img {
    height: 40px;
  }

  .hero {
    padding: 0.25rem 0;
  }

  .hero-content img {
    min-height: 180px;
    max-height: 50vh;
  }

  .simule {
    padding: 2rem 0;
  }

  .servicos,
  .parceiros,
  .sobre,
  .contato {
    padding: 3rem 0;
  }

  .card {
    padding: 1.5rem;
    min-height: 220px;
  }

  .logos {
    grid-template-columns: 1fr;
  }

  .phone-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
    font-size: 1.2rem;
  }

  .contato-btn {
    padding: 1.2rem 2rem;
    font-size: 1.1rem;
  }
}

/* Animações suaves */
@media (prefers-reduced-motion: no-preference) {
  .card,
  .logo-item,
  .contato-btn,
  .phone-float {
    transition: all 0.3s ease;
  }
}

/* Melhor contraste para acessibilidade */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #d4af37;
  }

  .contato-btn {
    border: 2px solid #000;
  }
}
