/* style.css */

:root {
  --laranja: #ff914d;
  --azul-escuro: #073354;
  --fundo: #f6f0e8;
  --cinza: #666;
  --branco: #fff;
  --fonte: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  margin: 0;
  font-family: var(--fonte);
  background-color: var(--fundo);
  color: var(--azul-escuro);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background-color: var(--laranja);
  padding: 20px 0;
  color: var(--branco);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 90px;
  width: auto;
  border-radius: 50%;
  background-color: white;
  padding: 5px;
  z-index: 2001;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

nav ul li a {
  color: var(--azul-escuro);
  text-decoration: none;
  font-weight: bold;
} /* MENU PADRÃO */
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.linha {
  width: 33px;
  height: 5px;
  background-color: #333;
  transition: 0.2s;
}
.linha1 {
  transform-origin: left bottom;
}
.linha3 {
  transform-origin: top left;
}

.ativo .linha1 {
  transform: rotateZ(45deg);
  transform-origin: left bottom;
}

.ativo .linha2 {
  width: 0;
}

.ativo .linha3 {
  transform: rotateZ(-45deg);
  transform-origin: top left;
}
.menuToggle {
  width: 40px;
  height: 30px;
  cursor: pointer;
  display: none;
  flex-direction: column;
  justify-content: space-between;
}
.menu .redes-coloridas {
  display: none;
}
/* MOBILE */
@media (max-width: 768px) {
  .menuToggle {
    display: flex;
    color: #333;
    position: relative;
    z-index: 2001; /* valor maior que o nav ul */
  }
  .menu .redes-coloridas {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 3.2rem;
    padding: 30px;
  }
  nav ul li a {
    color: #093453 !important;
  }
  nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(255, 145, 77, 0.8);
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    width: 100vw;
    height: 100vh;
    right: 0px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    gap: 40px;
    font-size: 1.7rem;
    margin-top: -10px;
  }

  nav ul.active {
    display: flex;
  }
}

.banner {
  background: url("img/banner.png") center center no-repeat;
  background-size: 100% 100%; /* diminui a imagem para 80% do container */
  position: relative;
  text-align: center;
  color: #fff;
  min-height: 350px;
  height: 40vw;
  max-height: 500px;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 1;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.impacto {
  padding: 60px 20px;
    background-color: #fffaf3;

  text-align: center;
}

.impacto h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 40px;
}

.cards-imagem {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.card-img {
  max-width: 300px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.card-img img {
  width: 100%;
  height: auto;
  object-fit: initial;
  display: block;
}

.card-img img:hover {
  transform: scale(1.05);
}

.btn:hover {
  background-color: #e77f3a;
}

.destaques {
  padding: 60px 0;
  background-color: var(--branco);
}

.destaques h2 {
  text-align: center;
  margin-bottom: 40px;
  color: var(--azul-escuro);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background-color: var(--fundo);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card .info {
  padding: 15px;
}

.card .info h3 {
  margin: 0 0 10px;
  color: var(--laranja);
}

.card .info p {
  color: var(--cinza);
  font-size: 0.9rem;
}

footer {
  text-align: center;
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 20px 0;
  margin-top: 40px;
}
.redes-coloridas a {
  font-size: 20px;
  padding: 10px;
  border-radius: 50%;
  color: white;
  margin: 0 10px;
  transition: 0.3s;
}

.facebook {
  background-color: #3b5998;
}

.instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}

.ewhatsapp {
  background-color: #25d366;
}

.redes-coloridas a:hover {
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .banner {
    min-height: 180px;
    padding: 60px 10px;
    background-position: center top;
    box-sizing: border-box;
  }

  .banner > * {
    font-size: 1.2rem;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
  }
}

@media (max-width: 480px) {
  .banner {
    min-height: 140px;
    padding: 40px 8px;
    box-sizing: border-box;
  }

  .banner > * {
    font-size: 1rem;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
  }
}
.btnForm {
  background-color: var(--laranja);
  color: var(--branco);
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.2s;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.btnForm:hover {
  background-color: #e77f3a;
  transform: scale(1.05);
  cursor: pointer;
}
