@import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap");

/* Reset e Estilos Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  box-shadow: none;
}

body {
  overflow-x: hidden;
}

a {
  text-decoration: none;
  font-weight: 700;
}

ul {
  list-style: none;
}

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

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-items: end;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.btn-green {
  background-color: #91bb52;
  color: white;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
}

.btn-green:hover {
  color: white;
}

.btn-outline {
  border: 1px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: #2c3e50;
}

.btn-rede {
  width: 45px;
  height: 40px;
  background-color: #112539;
  border: 1px solid #c0c0c033;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.btn-rede:hover {
  background-color: #91bb52;
}

/* Barra Superior */
.top-bar {
  display: flex;
  width: 100%;
  height: 40px;
  position: relative;
}

.top-bar-white {
  width: 30%;
  background-color: white;
  border-bottom-left-radius: 0;
}

.top-bar-blue {
  width: 70%;
  background-color: #112539;
  display: flex;
  justify-content: space-around;
  align-items: center;
  color: white;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 40px 100%);
}

.top-bar-text {
  font-size: 14px;
  font-weight: bold;
  display: flex;
  gap: 5px;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.top-bar-links a {
  color: white;
  font-size: 14px;
  transition: opacity 0.3s;
  display: flex;
}

.top-bar-links a:hover {
  opacity: 0.8;
}

.btn-bar:hover {
  color: #91bb52;
}

.social-icon {
  width: 1.1rem;
}

/* Header */
header {
  background-color: white;
  padding: 15px 0;
  top: 0;
  z-index: 100;
}

.header-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  align-items: center;
  justify-items: center;
}

.logo {
  height: 6rem;
}

nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4rem;
  font-weight: 900;
  text-transform: uppercase;
}

nav ul li a {
  color: #333333;
  font-weight: 600;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #91bb52;
}

.menu-nav-main {
  font-size: 16px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: #112539;
  cursor: pointer;
}

.mobile-close-btn {
  display: none;
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  color: #112539;
  cursor: pointer;
}

/* Seções */
.section {
  width: 100%;
}

.titulo-h2 {
  color: #91bb52;
  font-size: 45px;
}
.titulo-h2-description {
  font-size: 25px;
}

.section-dark-blue {
  background-color: #112539;
  color: white;
}

.section-white {
  background-color: white;
  color: #112539;
}

.section-green {
  background-color: #91bb52;
  color: white;
}

.btn-car2 {
  font-size: 1.9rem;
  background-color: #91bb52;
  color: white;
  border-radius: 50px;
  border: none;
  padding: 0.7rem 3.5rem;
}

.span-card2-title {
  font-size: 35px;
  color: #222222;
  font-weight: 800;
}

.span-card2-text {
  font-size: 16px;
  color: #636363;
  font-weight: 400;
  line-height: 1.8;
}

.span-card2-text-bold {
  font-size: 20px;
  font-weight: bold;
  color: #222222;
}

.btn-car2 {
  font-size: 17px;
  cursor: pointer;
}

/* Rodapé */
footer {
  background-color: #112539;
  padding-top: 50px;
  margin-top: -6px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-left {
  flex: 1;
  min-width: 300px;
  margin-bottom: 30px;
  color: white;
}

.footer-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  justify-content: space-evenly;
}

.footer-column {
  flex: 1;
}

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

.footer-description {
  line-height: 1.6;
  text-transform: uppercase;
}

.footer-description-text {
  text-transform: initial;
  margin-bottom: 20px;
  margin-right: 35%;
}

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

.footer-social-icon {
  width: 40px;
  height: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #91bb52;
}

.footer-info {
  margin-bottom: 10px;
  line-height: 1.6;
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  color: white;
}
.footer-button {
  background-color: #91bb52;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 25px;
  text-transform: uppercase;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.footer-button:hover {
  background-color: #7fa347;
}

/* Responsividade */

@media screen and (min-width: 1025px) {
  .img-desktop {
    width: 70% !important;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1439px) {
  .top-bar-text {
    font-size: 12px;
  }
  .top-bar-blue {
    width: 85%;
  }
  .top-bar-white {
    width: 15%;
  }
  nav ul {
    gap: 1.5rem;
  }
  .menu-nav-main {
    font-size: 12px;
  }
  .btn-green {
    font-size: 12px;
  }
  .span-card2-title {
    font-size: 20px;
  }

  .span-card2-text {
    font-size: 12px;
  }

  .span-card2-text-bold {
    font-size: 14px;
  }

  .btn-car2 {
    font-size: 12px;
  }
  .padding-mobile {
    padding: 2rem;
  }

  .titulo-h2 {
    font-size: 25px;
  }
  .titulo-h2-description {
    font-size: 12px;
  }
}

@media screen and (min-width: 992px) and (max-width: 1023px) {
  .top-bar-text {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .padding-mobile-card1 {
    padding: 2vw 5vw;
  }
}

@media (max-width: 992px) {
  nav ul {
    gap: 15px;
  }
  .top-bar-text {
    display: none;
  }
  .top-bar-text {
    font-size: 12px;
  }
  .top-bar-blue {
    width: 85%;
  }
  .top-bar-white {
    width: 15%;
  }
  nav ul {
    gap: 1.5rem;
  }
  .menu-nav-main {
    font-size: 12px;
  }
  .btn-green {
    font-size: 12px;
  }
  .span-card2-title {
    font-size: 20px;
  }

  .span-card2-text {
    font-size: 12px;
  }

  .span-card2-text-bold {
    font-size: 14px;
  }

  .btn-car2 {
    font-size: 12px;
  }
  .padding-mobile {
    padding: 0px 15px;
  }
  .titulo-h2 {
    font-size: 25px;
  }
  .titulo-h2-description {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .top-bar-text {
    display: none;
  }

  .top-bar-blue {
    justify-content: flex-end;
  }

  .mobile-menu-btn {
    display: block;
  }

  .mobile-close-btn {
    display: block;
  }

  nav {
    position: fixed;
    top: 0%;
    right: 0;
    width: 46%;
    height: 100%;
    background-color: white;
    padding: 60px 20px 20px;
    transform: translateX(150%);
    transition: transform 0.3s ease;
  }

  nav.active {
    transform: translateX(0%);
    top: 0px;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .footer-right {
    flex-direction: column;
  }

  .footer-column {
    margin-bottom: 30px;
  }
}

@media (max-width: 576px) {
  .top-bar {
    flex-direction: column;
    height: auto;
  }

  .top-bar-white,
  .top-bar-blue {
    width: 100%;
    padding: 10px;
  }

  .top-bar-blue {
    justify-content: center;
  }

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .footer-container {
    flex-direction: column;
  }
  .img-mobile {
    width: 40px !important;
  }
  .p-mobile {
    font-size: 10px !important;
    padding: 5px !important;
  }
  .input-mobile {
    font-size: 10px;
    padding-right: 5px;
    width: 42%;
  }
  .btn-mobile {
    padding: 5px 8px;
    font-size: 10px;
  }
  .logo {
    height: 3rem;
  }
  .mobile-menu-btn {
    padding-right: 15px;
  }
  .header-container {
    justify-items: end;
  }
  .top-bar-white,
  .top-bar-blue {
    padding: 0px;
  }
  .top-bar-white,
  .top-bar-blue {
    display: flex;
    justify-content: end;
  }
  .padding-mobile {
    padding: 0px 15px !important;
  }
  .grid-container {
    padding: 10px 0px !important;
  }
  .span-card2-title {
    font-size: 14px;
  }

  .span-card2-text {
    font-size: 10px;
  }

  .span-card2-text-bold {
    font-size: 11px;
  }

  .btn-car2 {
    font-size: 10px;
    padding: 6px;
  }
  .titulo-h2 {
    font-size: 15px;
  }
  .titulo-h2-description {
    font-size: 8px;
  }
  .footer-description {
    font-size: 16px;
  }
  .footer-description-text {
    font-size: 12px;
    text-align: center;
    margin: 0px 5% 5%;
  }

  .footer-left {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .footer-title,
  .footer-info {
    text-align: center;
  }
  .footer-button-container {
    padding: 15px 0;
  }
}
