/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(0, 100%, 29%);
  --first-color-alt: hsl(93, 50%, 48%);
  --first-color-light: hsl(0, 0%, 100%);
  --title-color: hsl(0, 0%, 0%);
  --text-color: hsl(0, 0%, 0%);
  --white-color: hsl(0, 0%, 0%);
  --black-color: hsl(228, 6%, 4%);
  --body-color: hsl(228, 6%, 8%);
  --container-color: hsl(228, 6%, 12%);
  --shadow-img: 0 0 48px hsla(0, 54%, 54%, 0.4);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat", sans-serif;
  --biggest-font-size: 2.25rem;
  --h1-font-size: 1.5rem;
  --h2-font-size: 1.25rem;
  --h3-font-size: 1rem;
  --normal-font-size: .938rem;
  --small-font-size: .813rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-semi-bold: 600;
  --font-bold: 700;

  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --biggest-font-size: 4.25rem;
    --h1-font-size: 2.25rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
    --normal-font-size: 1rem;
    --small-font-size: .875rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: #fff;
  color: var(--text-color);
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/

.grid {
  display: grid;
  gap: 1.5rem;
}

.section {
  padding-block: 5rem 1rem;
}

.section__title {
  font-size: var(--h1-font-size);
  font-weight: var(--font-bold);
  text-align: center;
  margin-bottom: 1rem;
}

.main {
  overflow: hidden;
}

/*=============== HOME ===============*/
.home__container{
  padding-top: 2.5rem;
  row-gap: 1rem;
}

.ar {
  visibility: hidden;
}

.home__bg{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 750px;
  object-fit: cover;
  object-position: center;
}

.home__shadow{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 800px;
  background: linear-gradient(180deg, hsla(0, 100%, 50%, 0) 58%, hsl(0, 0%, 100%) 78%);
}

.home__img{
  width: 270px;
  filter: drop-shadow(var(--shadow-img));
  justify-self: center;
}

.home__data{
  text-align: center;
}

.home__title{
  font-size: var(--biggest-font-size);
  font-weight: var(--font-bold);
  margin-bottom: 1rem;
}

.home__title span{
  color: var(--first-color);
}

.home__description{
  margin-bottom: 3rem;
}

.home__buttons{
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: .5rem;
}

/*=============== BUTTON ===============*/
.button{
  background-color: var(--white-color);
  color: #fff;
  font-weight: var(--font-bold);
  padding: .5rem 1.5rem .5rem .5rem;
  border-radius: 4rem;
  display: inline-flex;
  align-items: center;
  column-gap: .75rem;
}
.button:hover{
  color: #fff;
}

.button span{
  background-color: var(--first-color);
  padding: .5rem;
  font-size: 1.25rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform .4s;
}

.button:hover span{
  transform: translateX(.15rem) rotate(-30deg);
}

.button__link{
  color: var(--white-color);
  font-weight: var(--font-bold);
  text-decoration: underline;
  transition: color .4s;
}

.button__link:hover{
  color: var(--first-color);
}

/*=============== NEWS ===============*/
.new__data{
  text-align: center;
}

.new__container{
  row-gap: 7.5rem;
}

.new__description{
  text-align: justify;
}

.new__content{
  row-gap: 6rem;
}

.new__card{
  position: relative;
  width: 200px;
  padding: 9rem .75rem 1.5rem .75rem;
  border: 2px solid var(--first-color-light);
  border-radius: 1.5rem;
}

.j50{
  box-shadow: 0 4px 20px rgba(1, 47, 252, 0.658);
}
.j42{
  box-shadow: 0 4px 20px #3d627ae5;
}
.pneumatica{
  box-shadow: 0 4px 20px #464646be;
}

.new__img{
  position: absolute;
  top: -4.5rem;
  left: 0;
  right: 0;
  width: 188px;
  margin: 0 auto;
  transition: transform .4s;
}

.new__title{
  font-size: var(--h2-font-size);
  text-align: center;
}

.new__card:nth-child(odd){
  rotate: -5deg;
}

.new__card:nth-child(even){
  justify-self: flex-end;
  rotate: 5deg;
}

.new__card:hover .new__img{
  transform: translateY(-.5rem);
}
/*=============== SHOP ===============*/
.shop__container{
  padding-top: 6.5rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 6rem 1.5rem;
}

.shop__card{
  position: relative;
  background: var(--gradient-card);
  padding: 5.75rem .75rem 1.25rem .75rem;
  border: 2px solid var(--first-color-light);
  border-radius: 1rem;
  border: 2px solid rgba(63, 0, 0, 0.5);
}

.shop__img{
  position: absolute;
  top: -4.5rem;
  left: 0;
  right: 0;
  width: 130px;
  margin: 0 auto;
  transition: transform .4s;
}

.shop__title{
  font-size: var(--small-font-size);
  font-weight: var(--font-semi-bold);
  margin-bottom: .5rem;
  text-align: center;
}

.shop__price{
  color: var(--title-color);
  font-weight: var(--small-font-size);
}

.shop__button{
  position: absolute;
  right: .75rem;
  bottom: .75rem;
  outline: none;
  border: none;
  background-color: var(--white-color);
  padding: 6px;
  border-radius: 50%;
  font-size: 1.25rem;
  display: grid;
  cursor: pointer;
}

.shop__card:hover .shop__img{
  transform: translateY(-.5rem);
}

/*=============== CARE ===============*/
.care__container{
  padding-top: 2rem;
  row-gap: 2rem;            
}

.care__img{
  width: 270px;
  filter: drop-shadow(var(--shadow-img));
  justify-self: center;
  
}

.care__list{
  display: grid;
  row-gap: 1rem;
}

.care__item{
  display: flex;
  column-gap: 1rem;
  align-items: center;
}

.care__item p{
  text-align: justify;
}

.care__item i{
  font-size: 1.5rem;
  color: rgb(82, 0, 0);
}

/*=============== CONTACT ===============*/
.contact__container{
  padding-top: 2rem;
  row-gap: 2rem;
}

.contact_img{
  width: 270px;
  filter: drop-shadow(var(--shadow-img));
  justify-self: center;
}

.contact__content{
  display: grid;
  row-gap: 2rem;
  text-align: center;
}

.contact__title{
  font-size: var(--h2-font-size);
  margin-bottom: .5rem;
}

.contact__social{
  display: flex;
  justify-content: center;
  column-gap: .75rem;
}

.contact__social a{
  color: var(--first-color);
  font-size: 1.5rem;
}

.contact__info{
  font-style: normal;
}
/*=============== SCROLL BAR ===============*/
::-wekit-scrollbar{
  width: .6rem;
  background-color: hsl(288, 40%, 15%);
}

::-wekit-scrollbar-thumb{
  width: .6rem;
  background-color: hsl(288, 40%, 25%);
}

::-wekit-scrollbar-thumb:hover{
  width: .6rem;
  background-color: hsl(288, 40%, 35%);
}

/*=============== SCROLL UP ===============*/
.scrollup{
  position: fixed;
  right: 1rem;
  bottom: -50%;
  background-color: var(--container-color);
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 12px 24px hsla(0, 100%, 50%, 0.5);
  display: inline-flex;
  padding: 6px;
  font-size: 1.5rem;
  z-index: var(--z-tooltip);
  transition: bottom .4s, transform .4s;
}

.scrollup:hover{
  transform: translateY(-.5rem);
  color: #ff5d5d;
}

/* Show Scroll Up */
.show-scroll{
  bottom: 3rem;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px){
  .container{
    margin-inline: 1rem;
  }

  .home__title{
    font-size: 2rem;
  }

  .home__buttons{
    flex-direction: column;
    row-gap: 1.5rem;
  }

  .shop__container{
    grid-template-columns: 160px;
    justify-content: center;
  }
}


@media screen and (max-width: 480px){
   .contact-details{
      row-gap: 35px;
   }

   .contact-social-links{
      column-gap: 20px;
   }

   .contact-social-links li{
      font-size: 1.65rem;
      width: 75px;
      height: 75px;
   }

   .contact-form-body{
      padding: 35px 20px;
   }

   .contact-form-body h2{
      text-align: center;
   }

   .contact-form-body .input-group{
      display: grid;
      place-items: center;
   }

}   
/* For medium devices */
@media screen and (min-width: 576px){
  .home__container,
  .new__container,
  .care__container{
    grid-template-columns: 400px;
    justify-content: center;
  }

  .shop__container{
    grid-template-columns: repeat(2, 160px);
    justify-content: center;
  }
  
}

@media screen and (min-width: 768px){
  .new__content{
    grid-template-columns: repeat(2, 1fr);
    column-gap: 4rem;
  }
  .new__card:nth-child(even){
    transform: translateY(10rem);
  }

  .shop__container{
    grid-template-columns: repeat(3, 160px);
  }

  .contact-form-body{
      padding: 35px;
      border-radius: 10px;
   }
}

@media screen and (max-width: 992px){
   .contact-container{
      flex-direction: column;
      row-gap: 75px;
   }

   .contact-info{
      width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
   }

   .contact-social-links{
      justify-content: center;
   }
}

/* For large devices */
@media screen and (min-width: 1150px){
  .container{
    margin-inline: auto;
  }

  .section{
    padding-block: 7rem 2rem;
  }

  .section__title{
    margin-bottom: 1.5rem;
  }

  .home__container{
    grid-template-columns: 488px 535px;
    align-items: center;
    column-gap: 4rem;
    padding-top: 1rem;
  }
  .home__img{
    width: 480px;
  }
  .home__data{
    text-align: initial;
  }
  .home__description{
    margin-bottom: 4.5rem;
  }
  .home__buttons{
    justify-content: initial;
    column-gap: 1.5rem;
  }

  .new__container{
    grid-template-columns: 412px 490px;
    align-items: center;
    column-gap: 7.5rem;
  }
  .new__data,
  .new__data .section__title{
    text-align: initial;
  }
  .new__content{
    row-gap: 8.5rem;
  }
  .new__title{
    font-size: var(--h3-font-size);
  }

  .shop__container{
    grid-template-columns: repeat(3, 240px);
    gap: 8.5rem 4rem;
    padding-top: 7.5rem;
  }
  .shop__card{
    padding: 10.5rem 1.5rem 2rem;
    border-radius: 1.5rem;
  }
  .shop__img{
    width: 210px;
    top: -5.5rem;
  }
  .shop__title{
    font-size: var(--h3-font-size);
  }
  .shop__price{
    font-size: var(--h2-font-size);
  }
  .shop__button{
    right: 1.5rem;
    bottom: 2rem;
    font-size: 1.5rem;
  }

  .care__container{
    grid-template-columns: 480px 385px;
    align-items: center;
    column-gap: 8rem;
    padding-top: 3rem;
  }
  .card__img{
    width: 480px;
  }
  .care__list{
    row-gap: 1.5rem;
  }

  .contact__container{
    grid-template-columns: 280px 480px;
    justify-content: center;
    align-items: center;
    column-gap: 8rem;
    padding-block: 3rem;
  }
  .contact__content{
    order: -1;
    text-align: initial;
    row-gap: 2.5rem;
  }
  .contact__social{
    justify-content: initial;
  }
  .contact__img{
    width: 480px;
  }

  .scrollup{
    right: 3rem;
  }
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none; /* Impede a seleção de texto */
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: rgb(82, 0, 0);
  z-index: 9999;
  outline: none; /* Remove o contorno de foco */
}

.swiper-button-next:active,
.swiper-button-prev:active {
  background: transparent; /* Ou qualquer outra cor que você preferir */
}

/* =========================================
   Reusable Styles
========================================= */
.sue-section{
   position: relative;
   overflow: hidden;
}

.sue-container{
   max-width: 1170px;
   margin-left: auto;
   margin-right: auto;
}

.sue-sub-container{
   padding-top: 7em;
   padding-bottom: 5em;
}

.sue-wrapper{
   position: relative;
   width: 100%;
   height: 100%;
}

.section-title{
   display: flex;
   justify-content: center;
   align-items: center;
   flex-direction: column;
   margin-bottom: 95px;
}

.section-title h3{
   color: var(--color-01);
   font-size: var(--h3-font-size);
   font-weight: var(--font-bold);
   margin-bottom: 10px;
}

.section-title p{
   color: var(--color-04);
   font-size: var(--base-font-size);
   font-weight: var(--font-regular);
}

.section-content{
   display: flex;
   justify-content: center;
   align-items: center;
   column-gap: 75px;
}

/* =========================================
   Contact Me
========================================= */
.contact-container{
   position: relative;
   display: flex;
   justify-content: center;
   align-items: center;
   column-gap: 60px;
}

.contact-info h3{
   color: var(--color-02);
   font-size: var(--base-font-size);
   font-weight: var(--medium-font-size);
   text-transform: uppercase;
   margin-bottom: 40px;
}
.contact-details{
   display: flex;
   flex-direction: column;
   row-gap: 60px;
   margin-bottom: 60px;
}

.contact-item{
   display: flex;
   align-items: center;
   column-gap: 25px;
}

.contact-icon{
   color: var(--primary-color);
   font-size: 2rem;
   background: var(--card-bg);
   width: 75px;
   height: 75px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 10px;
}

.contact-method{
   display: flex;
   flex-direction: column;
   row-gap: 7px;
}

.contact-method span{
   font-size: var(--tiny-font-size);
   text-transform: uppercase;
}

.contact-method h4{
   color: var(--color-02);
   font-size: var(--base-font-size);
   font-weight: var(--medium-font-size);
}

.contact-method a{
   color: var(--primary-color);
   transition: .3s;
   width: 65px;
}

.contact-method a:hover{
   color: var(--hover-color);
}

.contact-method a span{
   font-size: var(--small-font-size);
   text-transform: none;
}

.contact-method a i{
   font-size: var(--medium-font-size);
   color: #fff;
}

.contact-social-links{
   width: 100%;
   display: flex;
   column-gap: 25px;
}

.contact-social-links li{
   font-size: 1.75rem;
   background: #ee3939;
   width: 80px;
   height: 80px;
   display: flex;
   justify-content: center;
   align-items: center;
   border-radius: 50%;
   cursor: pointer;
}

.contact-social-links li a{
   color: #ffffff;
   transition: .3s;
}

.contact-social-links i{
  color: #fff;
}

.contact-social-links i:hover{
   color: rgb(58, 58, 58);
}

.contact-form-body{
   position: relative;
   background: #ee3939;
   width: 100%;
   padding: 50px;
   border-radius: 35px;
}

.contact-form-body h2{
   color: black;
   font-size: var(--h2-font-size);
   font-weight: var(--font-bold);
   text-transform: uppercase;
   margin-bottom: 30px;
}

.contact-form-body h2 span{
   color: rgb(255, 255, 255);
}

.contact-form-body p{
   font-size: var(--tiny-font-size);
   margin-bottom: 45px;
}

.contact-form-body form{
   display: flex;
   flex-direction: column;
   row-gap: 15px;
}

.contact-form-body form .input-group input,
.contact-form-body form .input-group textarea{
   color: var(--color-02);
   font-size: var(--small-font-size);
   background: rgb(255, 255, 255);
   width: 100%;
   border: none;
   outline: none;
   padding: 17px 20px;
   border-radius: 10px;
}

.contact-form-body form .input-group textarea{
   height: 185px;
   resize: none;
}

.contact-form-body form .send-message{
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin-top: 10px;
}

.contact-form-body .input-group button{
   font-size: var(--small-font-size);
   font-weight: var(--font-medium);
   width: 200px;
   padding: 16px 30px;
   transition: .3s;
}

.contact-form-alert{
   cursor: pointer;
}

.contact-form-alert span{
   color: var(--color-02);
   font-size: var(--tiny-font-size);
   font-weight: var(--font-regular);
}

.contact-form-alert i{
   color: var(--primary-color);
   font-size: 1.25rem;
}


/* ========== Buttons ========== */
.sue-main-btn{
   width: fit-content;
   padding: 14px 30px;
   border-radius: 35px;
   cursor: pointer;
   transition: .3s;
   color: #fff;
}

.sue-main-btn:hover{
   color: black;
   background: rgb(255, 255, 255);
   border: 2px solid var(--hover-color);
}

.sue-main-btn a {
   color: #fff;
   font-size: var(--small-font-size);
   font-weight: 500;
   transition: .3s;
}

.sue-main-btn:hover a {
   color: white;
}

.border-btn{
   border: 2px solid var(--color-01);
}

.fill-btn{
   background: black;
   border: 2px solid var(--primary-color);
}

.fill-btn a{
   color: var(--dark-color);
}

/* Email HOME */

.form-contato-personalizado {
    max-width: 600px;
    margin: 40px auto;
    background: #ee3939;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    font-family: 'Segoe UI', sans-serif;
    color: #fff;
}

/* Título */
.form-contato-personalizado .titulo-form-email {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 25px;
    color: #fff;
}

/* Campos */
.form-contato-personalizado input[type="text"],
.form-contato-personalizado input[type="email"],
.form-contato-personalizado input[type="tel"],
.form-contato-personalizado input[type="number"],
.form-contato-personalizado textarea {
    width: 100%;
    padding: 12px 15px;
    margin: 10px 0 20px 0;
    border: 1px solid #000000;
    border-radius: 8px;
    font-size: 16px;
    background-color: rgb(255, 255, 255);
    color: #000000;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-contato-personalizado textarea {
    min-height: 120px;
    resize: vertical;
}

/* Foco */
.form-contato-personalizado input:focus,
.form-contato-personalizado textarea:focus {
    border-color: #fff;
    background-color: rgb(255, 255, 255);
    outline: none;
}

/* Labels */
.form-contato-personalizado label {
    font-weight: 600;
    color: #fff;
    display: block;
    margin-bottom: 6px;
}

/* Botão */
.form-contato-personalizado input[type="submit"],
.form-contato-personalizado button[type="submit"] {
    background-color: #fff;
    color: #b71c1c;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.form-contato-personalizado input[type="submit"]:hover,
.form-contato-personalizado button[type="submit"]:hover {
    background-color: #f5f5f5;
    color: #d32f2f;
}

/* reCAPTCHA */
.form-contato-personalizado .g-recaptcha {
    margin-bottom: 30px;
}

/* Logo giratória */
@keyframes girarLateral {
    from {
        transform: rotateY(0deg);
    }
    to {
        transform: rotateY(360deg);
    }
}

.form-contato-personalizado .logo-rotativa {
    display: block;
    margin: 10px auto 30px auto;
    width: 60px;
    height: auto;
    animation: girarLateral 4s linear infinite;
}
