* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  width: 100%;
  height: auto;
}


/* ======VARIEBLES======= */
:root {

	--header-height: 4.5rem;
	/* ==COLORS== */
	--hue: 149;
	/* ===HS COLORS=== */
	--base-color: hsl(var(--hue)50% 40%);
	--base-color-second: hsl(var(--hue)60% 25%);
	--base-color-alt: hsl(var(--hue) 57% 53%);
	--title-color: hsl(var(--hue) 41% 10%);
	--title-color-second: hsl(0, 0%, 47%);
	--text-color:  hsl(0, 0%, 43%);
	--title-color-black: hsl(0% 0% 0%);
	--text-color-black: rgb(0, 0, 0);
	--text-color-light: hsl(0, 0%, 80%);
	--body-color: hsl(0 0% 98%);
  
	/*  =======SIZE-FONTS========  */
	--title-font-size: 1.875rem;
	--subtitle-font-size: 1rem;
	
	--title-font: 'Propins', sans-serif;
	--body-font: 'DM Sans', sans-serif;
  }
  
  /* ======BASE======= */

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

body {
  font: 400 1rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
}

.title {
  font: 700 1.875 var(--title-font);
  color: var(--title-color-black);
  -webkit-font-smoothing: auto;
}


ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.button {
  background: var(--base-color);
  color: var(--text-color-light);
  height: 3.5rem;
  padding: 0 2rem;
  display: inline-flex;
  align-items: center;
  border-radius: 0.25rem;
  font: 500 1rem var(--body-font);
  cursor: pointer;
}


.button:hover{
  background: var(--base-color-alt);
}

.button-2 {
  background: var(--base-color);
  color: var(--text-color-light);
  padding: 0.2rem;
  display: inline-flex;
  margin-left: 1rem;
  align-items: center;
  border-radius: 0.25rem;
  font: 500 1rem 'DM Sans', sans-serif;
}


.button-2:hover{
  background: var(--base-color-alt);
}

/* ======LAYOUT======= */
.container {
  width: 100%;   
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: 2rem;
}


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

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header strong {
  color: var(--base-color);
}



#header {
  border-bottom: 5px solid var(--base-color);
  display: flex;
  width: 100%;
  padding: 0 2rem;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background: var(--body-color);
}

#header.scroll {
  box-shadow: 0px 0px 12px var(--text-color-black);
}

/* ===== NAVIGATION ===== */

nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  display: none;
  text-align: center;
  
}


 /* ====== MOSTRAR MENU ====== */

 nav ul li a {
   transition: color 0.2s;
   position: relative;
 }

nav ul li a:hover,
nav ul li a.active { 
  color: var(--base-color);
}

nav ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--base-color);
  position: absolute;
  left: 0;
  bottom: -1.5rem;
  transition: width 0.3s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  height: 0vh;
  transition: 0.3s;
}

nav .menu ul li a.title {
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
}

nav .menu ul li a.title.active {
  font-weight: bold;
  -webkit-font-smoothing: auto;
}

nav.show .menu {
  visibility: visible;
  opacity: 1;
  background: var(--body-color);
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  display: grid;
  place-content: center;
}

nav ul.grid {
  gap: 4rem;
}

nav.show ul {
  display: grid;
}

nav .menu ul li:hover #sub-menu {
  display: block;
  z-index: 999;
}



/* ==BANNER ROTATIVO===  */



/* ====FIM DO BANNER==== */
/* ===== LOGO ===== */

.logo img {
  width: 150px;
  margin-left: -2rem;
}

/* ===== TOGGLE MENU ===== */

.toggle {
  font-size: 1.5rem;
  color: var(--base-color);
  cursor: pointer;
  margin-right: 1.5rem;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;
  position: absolute;
  right: 1.5rem;
  top: -1.5rem;
  
  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  top: 1.5rem;
  opacity: 1;
}


/* =====SLIDE BANNER===== */

.banner-rotativo {
  width: 100vw;
  height: 600px;
  text-align: center;
}

.title-banner {
  margin-bottom: 5rem;
  font-size: 1.4rem;
  width: 100vw;
  height: 70vh;
  padding: 1.5rem;
  border-radius: 1rem;
  color: var(--text-color-light);
  position: absolute;
  bottom: 4rem;
  text-align: center; 
}

.img-banner  {
  margin-top: .3rem;
  width: 100vw;
  height:70vh;
}

/* ===FIM DO BANNER===    */

/** slide com swiper **/

#slide-swiper {
	  margin-top: -12rem;
    position: relative;
    height: 850px;
    width: 100%;
    display: grid;
    align-items: center;
  }

  .title-swiper {
	text-align: center;
	margin-top: 8rem;
  margin-bottom: 3rem;
	color: var(--title-color-second);
  }

  #slide-swiper .title h2 {
	margin: 1rem 0;
  }
  
  .swiper {
    width: 1300px;
    margin: auto;
    text-align: center;
  }

  .card {
    position: relative;
    border-radius: 20px;
    margin: 5rem 0;
  }
  
  section .card .image {
     height: auto;
     width: 20%;
     cursor: pointer;
     padding: 10px;
	 display: block;
  }
  
  /* .text-img-swiper {
    position: absolute;
    width: 100%;
	margin-left: 3rem;
  } */
  
  .text-img-swiper li { 
    text-align: left;
    margin-left: 1rem;
    margin-top: 1rem;
    width: 220px; 
    color: var(--text-color);
	  z-index: 999;
  }

  .text-img-swiper li span {
    color: var(--base-color);
  }
  
  section .card .image img {
     height: 100%;
     width: 100%;
     min-width: 250px;
     max-width: 250px;
     min-height: 333.3px;
     border-radius: 20px;
     transition: all 0.4s;
     object-fit: contain;
  }
  
  section .card .image img:hover {
     transform: scale(1.3);
     opacity: 100%;
  }
  
  .swiper-pagination {
    position: absolute;
  }
  
  .swiper-button-next, .swiper-button-prev {
    margin-top: -7rem;
    opacity: 0.7;
    color: var(--text-color-light);
	background: var(--base-color);
	padding: 2rem;
    transition: all 0.3s ease;
  }
  
  
  .swiper-button-next:hover, .swiper-button-prev:hover {
    opacity: 1;
    color: var(--bg-button-color-light);
  }

/** fim do estilo do slide swiper **/


/*  ==== MISSAO VALORES E VISAO ===== */

section.mission-values-vision {
  margin-top: -10rem;
  padding: 0 6%;
  background: linear-gradient(black, var(--base-color-second), black);
}

.mission-values-vision .container {
  display: flex;
  flex-wrap: wrap;
  justify-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 5rem 2%;
  gap: 1rem;
  color: var(--text-color-light);
}

.mission-values-vision .container h2 {
  color: var(--text-color-light);
  font-size: 1.4rem;
}

.mission-values-vision .container p {
  padding-top: .5rem;
  padding-bottom: .5rem;
}

.quem-somos {
  width: 100%;
  margin: 0 auto;
  padding-top: 3rem;
}
.mission-values-vision .container .center {
  margin: 0 auto;
  display: flex;
}
.mission-values-vision .container .center .img {
  width: 100%;
  max-width: 500px;
  text-align: center;
  margin: 3rem auto;
  position: relative;
}

.mission-values-vision .container .center .img::before {
  content: '';
  height: 320px;
  width: 350px;
  background: var(--base-color-alt);
  position: absolute;
  top: 10.8%;
  left: -10.7%;
}

.mission-values-vision .container .center img {
 width: 350px;
 height: 320px;
 position: relative;
}

.box-mission-values-vision {
  width: 100%;
  max-width: 500px;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--body-color);
}


/* ===== PRODUTOS ===== */

#products .container {
  margin: 0 auto;
  padding: 4rem 2%;
}

#products .container p{
  padding-bottom: 1rem;
}

#products .container h3 {
  text-align: center;
  padding: 1rem 0;
}

#products .container .button {
  width: 100%;
  max-width: 300px;
  background: var(--base-color-second)!important;
  text-align: center;
}

#products .container .button:hover {
  background: var(--base-color)!important;
}

#products .container .box-center {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  justify-content: center;
}

#products .container .box-center .products {
  width: 100%;
  max-width: 300px;
  height: 250px;
  background: var(--base-color-second);
  padding: 2rem;
  margin: 0 auto;
  position: relative;
}

#products .container .box-center .products:hover {
  background: var(--base-color);
  cursor: pointer;
}

#products .container .box-center .products .box-products .center {
  text-align: center;
  position: relative;
}

#products .title-products {
  font-size: 1rem;
  color: var(--text-color-light);
  text-align: center;
  padding-bottom: 1rem;
  margin: 0 2%;
}


#products .descriptions-products {
  color: var(--text-color-light);
  text-align: left;
}



/* ==== CONTACT ===== */

#contact {
  background: var(--base-color);
}

#contact .img {
 display: flex;
 flex-wrap: wrap; 
 margin-bottom: 2rem;
}

#contact .img img {
  width: 33.3%;
}

#contact .container{
  padding:1.5rem 6%;
  display: flex;
  justify-content: space-around;
  color: var(--text-color-light);

}

#contact .text p {
  margin-bottom: 2rem;
}
#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact .links {
  margin-top: 1rem;
}

#contact ul li {
  display: flex;
  align-items: center;
}

#contact ul li i {
  color: var(--text-color-light);
}

#contact ul li a {
  display: flex;
  align-items: center;
  color: var(--text-color-light);
}

#contact ul li a:hover {
  color: var(--base-color-second);
  font-size: 1.5rem;
}

/* ======== FOOTER =========  */

footer {
  background: linear-gradient(var(--base-color), var(--base-color-second), rgba(255, 0,0,0, 0.5));
  padding: 2rem 1.5rem;
}

footer .brand {
  margin-top: 1.5rem;
}

footer p {
  color: var(--title-color-second);
}

footer .logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  margin-right: -2rem;
}

footer .social {
  grid-auto-flow: column;
  width: fit-content;
}

.social p {
  margin-bottom: 0.5rem;
}

.social i {
  font-size: 2rem;
  color: var(--text-color-light);
  display: inline-block;
}

.social i:hover {
  transform: translateY(-0.75rem);
  font-weight: bold;
}

/* ======= BACK TO TOP ======= */

.back-to-top {
  background: var(--base-color);
  border-radius: 0.25rem;
  position: relative;
  float: right;
  margin-top: -8.5rem;
  margin-right: 1.5rem;
  color: var(--text-color-light);
  padding: 0.25rem;
  line-height: 0;
  visibility: visible;
  opacity: .5;
  transition: 0.3s;
  transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: .5;
  transform: translateY(0);

}

.back-to-top.show:hover {
  opacity: 1;
}

.flotatingwhatsapp {
  position: fixed;
  bottom: 4rem;
  right: 0;
  margin-right: .6rem;
  color: var(--text-color-light);
  background: var(--base-color);
  padding: .5rem;
  line-height: 0;
  border-radius: 10px;
  opacity: .5;
  z-index: 999;
}

.flotatingwhatsapp:hover {
  opacity: 1;
}

.flotatingwhatsapp .icon-whatsapp {
  font-size: 2rem;
  line-height: 2rem;
}


/* ===WHEN WIDTH DEVIE 1200PX > ===  */
@media (min-width: 1200px ) { 
  .container {
    max-width: 1120px;
    padding: 0 1.5rem;
  }
  
  nav .menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    top: 0;
    align-items: center;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  
  }

  nav .menu ul li a.title {
    font-size: 1rem;
  }

  nav .icon-menu {
    display: none;
  }

  main {
    margin-top: var(--header-height);
  }

  /* HOME */

  #home .container {
    display: grid;
    grid-auto-flow: column;
    margin: 0 auto;

  }

  #home .image{ 
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 25rem;
    text-align: left;
  }

  .button {
    height: 3.225rem;
  }

  #about .container {
    margin: 0 auto;
  }
  #about .container.grid {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  /* SERVICES */ 
  .cards.grid {
    grid-template-columns: 1fr 1fr;
   
  }

  .text-plano.grid {
    display: block;
    

  }

  .button-planos {
    text-align: center;
  }



  #contact .container {
   margin: 0 auto;
  }

  #contact .container.grid {
    grid-auto-flow: column;
    justify-content: space-between; 
    align-items: center; 
    margin: 0 auto;
  }


  footer .container{
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }


}

@media ( min-width: 960px ) {
  :root {
    --title-font-size : 2.25rem;
    --subtitle-font-size : 1.125rem;
  }

  .container {
    max-width: 1120px;
    padding: 0 1.5rem;
  }
 
  nav .menu {
    display: flex;
    opacity: 1;
    visibility: visible;
    top: 0;
    align-items: center;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  
  }

  nav .menu ul li a.title {
    font-size: 1rem;
  }

  nav .icon-menu {
    display: none;
  }

  main {
    margin-top: var(--header-height);
  }

  /* HOME */

  #home .container {
    display: grid;
    grid-auto-flow: column;
    margin: 0 auto;

  }

  #home .image{ 
    order: 1;
  }

  #home .text {
    order: 0;
    max-width: 25rem;
    text-align: left;
  }

  .button {
    height: 3.225rem;
  }

  #about .container {
    grid-auto-flow: column;
    margin: 0 1.5rem;
    padding: 0 1.5rem;
  }

  /* SERVICES */ 
  .cards.grid {
    grid-template-columns: 1fr 1fr;
   
  }

  .text-plano.grid {
    display: block;
  }

  .button-planos {
    text-align: center;
  }

  #contact .container {
   margin: 0 1.5rem;
  }

  #contact .container.grid {
    grid-auto-flow: column;
    justify-content: space-between; 
    align-items: center; 
    width: auto;
  }

  footer .container{
    grid-auto-flow: column;
    justify-content: space-between;
    align-items: center;
  }

}

@media screen and (max-width: 768px) {
  html,body {
    overflow-x: hidden;
  }
  .cards.grid  {
    width: 100%;
    margin: 0 auto;
  }

  #home {
    margin-top: 8rem;
  }

  #home .image::before {
    content: '';
    height: 100%;
    width: 100%;
    background: var(--base-color-second);
    position: absolute;
    top: 2rem;
    left: 14.7%;
  }

  .banner-rotativo {
    height: 0;
  }

  .img-banner{
    margin-top: -4rem;
    height: 30vh;
  }

  section .card .image{ 
		margin-left: 3rem;
	  }
	  .text-img-swiper {
		max-width: 90%;
		padding: 0 1rem;
		margin: auto;
	  }   

	  .text-img-swiper p {
		width: 100%;
		min-width: 200px;
	  }
  
  #about {
    margin-top: 4.5rem;
  }

  #about .quem-somos .title {
    text-align: center;
    margin-top: 7rem;
    padding: 0  6%;
  }

  
section.mission-values-vision {
  margin-top: 0;

}

  .mission-values-vision .container {
    justify-content: center;
    padding: 2rem;
  }

  .mission-values-vision .container .box-center {
    padding: 6%;
  }
	
  .mission-values-vision .container .center {
    display: block;
  }

  .mission-values-vision .container .center img {
    margin: auto;

  }

  .title-section-products{
    text-align: center;
  }

  #products .container .button {
    margin: 0 6%;
  }

  #contact .text {
    text-align: center;
  }
  
  #contact .container {
    display: block;
  }

  #contact .container .links {
    margin: 0 auto;
    width: 90%;
  }

  #contact ul li {
    display: flex;
    align-items: center;
    text-align: left;
    justify-content: center;
    padding-bottom: .5rem;

    
  }

  footer .logo {
    margin-right: 0;
    margin-left: .5rem;
  }
  
}
