/* Fonte Roboto (via Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #ffffff;
}



html {
  scroll-behavior: smooth;
}
/* Padronização de margens */
section,
.container,
.first-section,
.contact-section {
  margin: 0 auto;
  padding: 0 32px; /* Padding igual em todas as seções */
}

.container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.left-side {
  display: flex;
  align-items: center;
  gap: 48px; /* espaço entre logo e menu */
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
}

.logo img {
  height: 80px;
}

.logo-text {
  line-height: 1.1;
  font-size: 12px;
  color: white;
}

/* Navegação */
.nav-links {
  display: flex;
  gap: 32px;
  margin-top: 16px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #2d9cdb;
}

/* Header */
.navbar {
  background-color: #001c27;
}

/* Primeira seção */
.first-section {
  background: url('img-first-section.png') no-repeat center center;
  background-size: cover;
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
}

.first-section-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  max-width: 1200px;
}

.first-section-content {
  color: white;
  text-align: left;
}

.first-section-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
}

.first-section-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #ffffff;
}

/* Botões */
.btn-primary {
  background-color: #2d9cdb;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #238ac5;
}

.btn-login {
  background-color: #2d9cdb;
  color: white;
  padding: 12px 44px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.btn-login:hover {
  background-color: #238ac3;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  background-color: #f4f8fc;
  padding: 40px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
}

.about-text {
  flex: 1;
  min-width: 300px;
  margin-right: 40px;
}

.about-text h2 {
  font-size: 24px;
  color: #002b5b;
  letter-spacing: 1px;
  font-weight: bold;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  font-family: 'Poppins', sans-serif;
}

.about-text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 10px;
  line-height: 1.6;
}

.about-text .highlight {
  font-weight: bold;
  color: #002b5b;
  font-size: 25px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  height: auto;
  border-bottom-left-radius: 40px;
  margin-left: 140px;
}

.about-text {
  margin-right: 0;
  margin-bottom: 20px;
}

/* Seção de serviço */

.servicos {
  background-color: #072c57;
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.servicos h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 40px;
  font-family: 'Poppins', sans-serif;
}

.services-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
}

.card {
  background-color: #fff;
  color: #333;
  border-radius: 12px;
  padding: 24px;
  text-align: left;
  box-shadow: 0px 5px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 32px;
  margin-bottom: 16px;
}

.card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
}

.mais {
  margin-top: 40px;
  font-size: 20px;
  color: #c3e8f1;
  text-align: center;
}

/* Seção de beneficios */

.benefits-section {
  background-color: #f4f9ff;
  padding: 60px 20px;
  text-align: center;
}

.benefits-title {
  font-size: 32px;
  font-weight: bold;
  color: #0b2c5e;
  margin-bottom: 40px;
  line-height: 1.4;
  font-family: 'Poppins', sans-serif;
}

.benefits-content {
  display: flex;
  
  justify-content: space-between;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: left;
}

.benefits-image {
  width: 100%;
  max-width: 550px;
  border-radius: 10px;
}

.benefits-text {
  max-width: 500px;
}

.benefits-text p {
  font-size: 18px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 30px;
}

.benefits-button {
  display: inline-block;
  padding: 12px 25px;
  background-color: #0b2c5e;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.benefits-button:hover {
  background-color: #008dd1;
}

@media (max-width: 768px) {
  .benefits-content {
    flex-direction: column;
    text-align: center;
  }

  .benefits-text {
    text-align: center;
  }
}

/* Seção de noticia */

.news-section {
  background-color: #001c3a;
  padding: 4rem 2rem;
  color: white;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.news-carousel {
  display: flex;
  overflow-x: auto;
  gap: 1.5rem;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  justify-content: center;
}

.news-card {
  flex: 0 0 300px;
  background: #f9f9f9;
  color: #333;
  border-radius: 15px;
  padding: 1rem;
  text-align: left;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: scale(1.02);
}

.news-card img {
  width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

.news-card .tag {
  background: #001c3a;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.tag.mei {
  background-color: #2d9cdb;
}
.tag.fiscal {
  background-color: #27ae60;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: bold;
}

.news-card p {
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.news-card .author {
  font-size: 0.75rem;
  color: #777;
}

/* Modal */
.news-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  color: black;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Seção de contato */
.contact-section {
  position: relative;
  background-image: linear-gradient(
      to bottom,
      rgba(1, 13, 40, 0) 0%,
      rgba(1, 13, 40, 0.21) 0%,
      rgba(1, 13, 40, 1) 95%
    ),
    url('image-contact.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  font-family: 'Roboto', sans-serif;
  color: white;
}

.overlay {
  width: 100%;
  height: 100%;
  padding: 80px 0;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 140px;
  flex-wrap: wrap;
}

.contact-text {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  margin-left: 40px;
}

.contact-text h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 1px;
}

.contact-text p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 500;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  position: relative;
}

.contact-form button {
  background-color: #2d9cdb;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
  align-self: flex-end;
  margin-top: 12px;
}

.contact-form label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form textarea {
  background-color: transparent;
  border: 2px solid white;
  border-radius: 20px;
  padding: 12px 16px;
  color: white;
  font-size: 16px;
  outline: none;
}

.contact-form textarea {
  resize: none;
  height: 150px;
}

.contact-form button:hover {
  background-color: #238ac3;
}

.contact-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer {
  background-color: #0e2c51;
  color: white;
  padding: 40px 20px;
  font-family: 'Roboto', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo {
  width: 160px;
  margin-bottom: 20px;
}

.social-icons {
  display: flex;
  gap: 30px;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.2s;
}

.social-icons img:hover {
  transform: scale(1.1);
}

.footer-right {
  max-width: 500px;
  margin-right: 60px;
}

.footer-right h3 {
  font-size: 20px;
  margin-bottom: 60px;
}

.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 14px;
}

.contact-info img {
  width: 18px;
  margin-right: 10px;
}

/* RESPONSIVIDADE ADICIONADA PARA TELAS MENORES QUE 768px */
@media (max-width: 768px) {
  /* Ajusta layout do container principal */
  .container {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  /* Logo centralizado e com margem inferior */
  .logo {
    justify-content: center;
    width: 100%;
    margin-bottom: 8px;
  }

  .left-side {
    display: flex
;
    align-items: center;
   
    flex-direction: column;
    gap: 0px;
}
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    width: 100%;
    padding: 0;
    margin-top: 0px;
  }

  .nav-links a {
    font-size: 16px;
  }

  .btn-login {
    
    margin-bottom: 15px;
}
  /* Primeira seção - altura reduzida e centralização do texto */
  .first-section {
    height: auto;
    padding: 80px 20px;
    text-align: center;
  }

  .first-section-overlay {
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
  }

  .first-section-content h1 {
    font-size: 2rem;
  }

  .first-section-content p {
    font-size: 1rem;
  }

  /* Sobre nós */

  .content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    flex-direction: column;
  }
  .about-section {
    flex-direction: column;
    padding: 40px 20px;
  }

  .about-text {
    margin-right: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .about-image img {
    margin-left: 0;
  }

  /* Cards de serviços */
  .grid-cards {
    grid-template-columns: 1fr;
  }

  

  .news-section {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Modal: garante preenchimento na tela menor */
  .modal-content {
    width: 95%;
    padding: 1.5rem;
  }

  /* Contato */
  .contact-container {
    flex-direction: column;
    gap: 40px;
    padding: 0 16px;
  }

  .contact-text,
  .contact-form {
    margin-left: 0;
    text-align: center;
  }

  .contact-form button {
    align-self: center;
  }

  
