
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #1e3a8a;    /* Azul escuro */
  --secondary-color: #f59e0b;  /* Âmbar */
  --text-color: #1f2937;
  --light-color: #f8f9fa;
  --transition: all 0.3s ease;
}

/* Reset e estilos base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.text-center {
  text-align: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cta-button {
  display: inline-block;
  margin: 20px auto; /* Centraliza horizontalmente */
  text-align: center; /* Centraliza o texto dentro do botão */
}

/* Container para o botão */
.button-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
  margin-top: 80px;
}

/* Header e Navegação */
.header {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 5%;
  height: 80px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  border-radius: 50%;
  object-fit: contain;
}

.company-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color);
}

/* Menu hamburguer */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  position: relative;
  transition: var(--transition);
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.navbar-toggler-icon::before {
  top: -6px;
}

.navbar-toggler-icon::after {
  bottom: -6px;
}

/* Links de navegação */
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 1rem;
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Botão de contato no menu */
.nav-links a.cta-button {
  background-color: var(--secondary-color);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition);
}

.nav-links a.cta-button:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
}

.nav-links a.cta-button::after {
  display: none;
}

/* Hero Section */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 5%;
  background: linear-gradient(rgba(30, 58, 138, 0.05), rgba(30, 58, 138, 0.1));
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero p {
  margin-bottom: 2rem;
  max-width: 600px;
}

.services {
  padding: 4rem 2rem;
  background: linear-gradient(to bottom, #f8f9fa, #ffffff);
}

.services h2 {
  text-align: center;
  color: #2c3e50;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
}

.services h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: #3498db;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: #3498db;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover:before {
  transform: scaleX(1);
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  background: #ecf0f1;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: #3498db;
  transform: rotateY(360deg);
}

.service-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  position: relative;
}

.service-card p {
  color: #7f8c8d;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .services h2 {
    font-size: 2rem;
  }
  
  .service-grid {
    grid-template-columns: 1fr;
  }
}
</style>

/* Seção Sobre */
.about {
  padding: 4rem 5%;
}

.about-content {
  display: flex;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image {
  flex: 1;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  margin-bottom: 1.5rem;
}

/* Seção Depoimentos */

    .logo-section {
      padding: 40px 0;
      background: #fff;
      overflow: hidden;
    }

    .section-title {
      text-align: center;
      font-size: 2rem;
      font-weight: bold;
      margin-bottom: 2rem;
      color: #333;
    }

    .logo-carousel {
      position: relative;
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      overflow: hidden;
      padding: 20px 0;
    }

    .logo-slide-track {
      display: flex;
      animation: scroll 25s linear infinite;
      width: calc(200px * 14); /* doubled for smooth loop */
    }

    .logo-slide {
      width: 200px;
      padding: 15px;
      flex-shrink: 0;
    }

    .logo-slide img {
      width: 100%;
      height: 100px;
      object-fit: contain;
      padding: 10px;
      background: white;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
      transition: transform 0.3s ease;
    }

    .logo-slide img:hover {
      transform: scale(1.05);
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    }

    @keyframes scroll {
      0% {
        transform: translateX(0);
      }
      100% {
        transform: translateX(calc(-200px * 7)); /* half of total width */
      }
    }

    /* Gradient overlays for smooth edges */
    .logo-carousel::before,
    .logo-carousel::after {
      content: "";
      position: absolute;
      top: 0;
      height: 100%;
      width: 100px;
      z-index: 2;
    }

    .logo-carousel::before {
      left: 0;
      background: linear-gradient(to right, white 0%, transparent 100%);
    }

    .logo-carousel::after {
      right: 0;
      background: linear-gradient(to left, white 0%, transparent 100%);
    }
  
/* Seção Contato */
.contact {
  padding: 4rem 5%;
}

.contact h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 3rem 5% 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  color: white;
  margin-bottom: 1rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

/* Botões flutuantes */
.whatsapp-button,
.instagram-button {
  position: fixed;
  right: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  transition: var(--transition);
  z-index: 900;
}

.whatsapp-button {
  bottom: 90px;
  background: #25d366;

  background: linear-gradient(45deg, 
    #25d366 0%,
    #128C7e 50%,
    #075E54 100%,
   
  );
}



.instagram-button {
  bottom: 20px;
  background: #f09433; 
  background: linear-gradient(45deg, 
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
}

.whatsapp-button:hover,
.instagram-button:hover {
  transform: scale(1.1);
}

/* Estilos gerais para botões CTA */
.cta-button {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: #e68a00;
  transform: translateY(-2px);
  color: white;
  text-decoration: none;
}

/* Título e texto base */
h1, h2, h3, h4, h5, h6 {
  color: var(--primary-color);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

/* Responsividade */
@media (max-width: 968px) {
  .header {
    height: 70px;
  }

  body {
    margin-top: 70px;
  }

  .logo img {
    height: 45px;
  }

  .navbar-toggler {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .about-content {
    flex-direction: column;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .header {
    height: 60px;
  }

  .logo img {
    height: 40px;
  }

  .company-name {
    font-size: 1rem;
  }

  body {
    margin-top: 60px;
  }

  .footer-section iframe {
    width: 100%;
    height: 200px;
  }

  .whatsapp-button,
  .instagram-button {
    width: 50px;
    height: 50px;
    right: 10px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }
  
}

/* Estilo para seção com efeito parallax */
.parallax-section {
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('./fundo-contabilidade.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Atualização dos estilos da seção hero */
.hero {
  min-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 5%;
  position: relative;
}

.hero-content {
  position: relative;
  z-index: 1;
}

/* Ajuste das cores do texto para melhor contraste com o fundo escuro */
.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 800px;
  color: white;
}

.hero p {
  margin-bottom: 2rem;
  max-width: 600px;
  color: white;
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
  .parallax-section {
    background-attachment: scroll; /* Desativa o parallax em dispositivos móveis para melhor performance */
  }
}