@font-face {
  font-family: 'InterLight';
  src: url('Fonts/Inter/static/Inter_18pt-Light.ttf');
}

@font-face {
  font-family: 'InterBold';
  src: url('Fonts/Inter/static/Inter_18pt-Bold.ttf');
}

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

body{
    background-color: #F2F2F2;
    color: #002366;
    max-width: 100%;
    overflow-x: hidden;

}
h1{
    text-align: center;
    font-family: 'InterBold';
    font-size: clamp(21px, 3.4vw, 40px);
    line-height: 95%;
    max-width: 1300px;
    background: linear-gradient(90deg, #0059ff, #002366, #0059ff);
    background-size: 200% 100%;
    animation: glowMove 3s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    padding: .5rem;
}

.main{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 100vh;
    max-width: 100%;
    overflow-x: hidden;
}
main > .LinhaDecorativa{
    width: 100%;
    height: 28px;
    background-color: #002366;
    background: linear-gradient(90deg, #0059ff, #002366, #0059ff);
    background-size: 200% 100%;
    animation: glowMove 3s ease-in-out infinite;
    box-shadow: 0 0 10px #002366;
  }
section.hero{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction:column;
    height: 100%;
    max-width: 100%;
    padding: 2em;
    padding-bottom: 0;
}

.hero-overlay{
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background-image: url('Images/backgroundHero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    opacity: 0.3;
    z-index: -1;
}
section.hero > header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 100%;
    gap: .8em;
    max-height: 100%;
    padding-left: 1em;
    padding-right: 1em;
}
section.hero > header > h2{
    font-family: 'InterLight';
    font-size: clamp(15px, 3vw, 22px);
    text-align: center;
    line-height: 95%;
    max-width: 1020px;
    font-weight: lighter;
    margin-bottom: 1em;
}
img{
    max-width:32%;
}

section.beneficios,section.quem-somos,section.nosso-trabalho,
section.servico-ideal, section.etapas-do-processo, section.cta-final {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
  flex-direction: column;
}
section.servico-ideal, section.etapas-do-processo {
  max-width: 80%;
  margin: 0 auto;
}
section.servico-ideal{
  max-width: 100%;

}
section.beneficios,section.quem-somos{
  margin-bottom: 2em;
}
section.cta-final{
  margin-top: 3em;
  margin-bottom: 1em;
}

.ribbon-container {
  height:200px;
  overflow: hidden;
  width: 101%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.ribbon {
  position: absolute;
  width: auto;
  height: clamp(55px, 5vw, 70px);
  background-color: #002366;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: #F2F2F2 0px 0px 10px 0px;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #002366;
  background: linear-gradient(90deg, #0059ff, #002366, #0059ff);
  background-size: 200% 100%;
  animation: glowMove 3s ease-in-out infinite;
  box-shadow: 0 0 10px #002366;
}

.ribbon-top {
  transform: rotate(3deg);
  filter: blur(3px);
}

.ribbon-bottom {
  transform: rotate(-3deg);
}

.ribbon-content {
  display: flex;
  gap:  clamp(.1px, 2vw, 3rem);
  white-space: nowrap;
  animation: scroll-right 5s linear infinite;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.ribbon-bottom .ribbon-content {
  animation: scroll-left 11s linear infinite;
}
.ribbon-content > img{
  width: clamp(25px, 5vw, 45px);
  height: clamp(25px, 5vw, 45px);
}

.ribbon-content span {
  color: white;
  font-family: 'InterBold';
  font-size: clamp(25px, 2vw, 30px);
  padding: 0 1rem;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%);
  }
}
@keyframes glowMove {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 0%;
  }
  100% {
    background-position: 0% 0%;
  }
}
@keyframes scrollCarrossel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-42%);
  }
}
.container-beneficios{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 1em;
    max-width: 100%;
    padding: 2em;
}

.linha-cards{
  max-width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 1em;
  /* flex-wrap: wrap;  */
}

.card{
    display: flex;
    justify-content: center;
    align-items: start;
    flex-direction: column;
    width: 640px;
    height: 330px;
    background-color: white;
    gap: 1em;
    border-radius: 17px;
    box-shadow: 0px 4px 16px 0px rgba(0, 35, 102, 0.5);
    max-width: 100%;
    padding: 2.1em;
    position: relative;
    border-bottom: 3px solid #002366;
  }
.container-beneficios > .linha-cards > .card{
    height: 250px;
    width: 540px;
}
.container-beneficios > .linha-cards > .card > h2{
    padding-top: 1em;
}
.container-beneficios > .linha-cards > .card > p{
  padding-bottom: 1em;
}
.reverse{
  flex-direction: row-reverse;
}
.card > div{
    width:130px;
    height: 10px;
    background-color: #FF4500;
    border-radius: 0 0 10px 10px;
    position: absolute;
    top: 0;
    left: 0;
    margin-left: 3rem;
    box-shadow: #000000 0px 0px 5px 0px;
    z-index: 1;
}
.servico-ideal > .card{
    margin-top: 1em;
    margin-bottom: 1.5em;
    height: fit-content;
    width: 70%;
    padding-left: 5em;
    padding-right: 5em;
    padding-top: 3.5em;
    padding-bottom: 3.5em;
}
section.etapas-do-processo > .linha-cards{
    margin-bottom: 20px;
    max-width: 100%;

}
section.etapas-do-processo > .linha-cards > .card{
  min-height: clamp(200px, 30vh, 300px);
  width: 30%;
  padding-left: 2em;
  padding-right: 2em;
  padding-top: 3.5em;
  padding-bottom: 3.5em;
}
section.etapas-do-processo > .linha-cards.design{
  max-width: 93%;
  justify-content: space-between;

}
section.etapas-do-processo > .linha-cards.design > .card{
  flex: 1;
}

.card > h2{
    font-family: 'InterLight';
    font-size: clamp(20px, 2vw, 35px);
    text-align: start;
    line-height: 95%;
    font-weight: lighter;
}
.card > h2 > span{
    font-family: 'InterBold';
}
.card > p{
    font-family: 'InterLight';
    font-size: clamp(15px, 2vw, 22px);
    text-align: start;
    line-height: 95%;
}
.card > ul{
  font-family: 'InterLight';
  font-size: clamp(15px, 2vw, 22px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card > ul > li > span{
  font-family: 'InterBold';
  color: #002366;
}

section.quem-somos > h2, section.beneficios > h2, section.quem-somos > .linha-cards .card > h3,section.nosso-trabalho > h2,section.servico-ideal > h2,
section.servico-ideal > h3, section.etapas-do-processo > h2, section.etapas-do-processo > .linha-cards> .card>h3, section.cta-final > h2{
    font-family: 'InterBold';
    font-size: clamp(28px, 3.4vw, 40px);
    text-align: center;
    line-height: 95%;
    max-width: 1300px;
    margin-bottom: .5em;
}
.testeh3{
    font-family: 'InterBold';
    font-size: clamp(15px, 3.4vw, 40px);
    text-align: center;
    line-height: 95%;
}
section.beneficios > h3{
  font-family: 'InterLight';
  font-size: clamp(15px, 1vw, 25px);
}

section.cta-final > h2{
  font-size: clamp(21px, 3.4vw, 35px);
}
section.quem-somos > h2{
  margin-bottom: .1em;
}

section.quem-somos > h2 > span, section.beneficios > h2 > span, section.nosso-trabalho > h2 > span,section.servico-ideal > h2 > span,
section.etapas-do-processo > h2 > span, section.cta-final > h2 > span{
    color: #FF4500;
}

section.nosso-trabalho > h2, section.etapas-do-processo > h2 {
    margin-bottom: 1.5em;
}
section.etapas-do-processo > h2{
  margin-top: 1em;
}

section.quem-somos > .linha-cards > img {
    max-width:45%;
}

section.quem-somos > .linha-cards{
  justify-content:space-around;
  padding: 0 2em;
}
section.quem-somos > .linha-cards .card {
   display: flex;
   justify-content: center;
   align-items: center;
}
section.quem-somos > .linha-cards .card > h3{
  font-size: clamp(20px, 3.4vw, 30px);
  max-width: 100%;
  margin-bottom: 0;
}
section.servico-ideal > h3, section.etapas-do-processo > .linha-cards>.card>h3{
   font-size: clamp(15.8px, 3.4vw, 25px);
}

section.quem-somos > .linha-cards .card{
    width: 400px;
    height:400px;
    /* height: fit-content; */
    padding: 2.5em;
}
section.nosso-trabalho >.carrossel-container>.carrossel-track>.linha-cards {
  max-width: 100%;
  flex-wrap:nowrap;
  width: max-content;

}
section.nosso-trabalho >.carrossel-container>.carrossel-track>.linha-cards> img{
  margin-bottom: 3em;
  width: min(800px, 45vw);
}

.carrossel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  cursor: grab;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
}

.carrossel-track {
  display: flex;
  transform: translateX(0);
  animation: scrollCarrossel 45s linear infinite;
  transition: transform .3s ease;
  will-change: transform;
}
main > .faixa-botao{
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(1px);
  padding: .5em;
}

main > .faixa-botao > button{
  background-color: #FF4500;
  color: white;
  font-family: 'InterBold';
  font-size: clamp(15px, 2vw + 0.5rem, 22px);
  text-align: center;
  border: none;
  width: 400px;
  max-width: 80%;
  border-radius: 17px;
  height: fit-content;
  padding: 0.8em;
  cursor: pointer;
  display: flex;
  justify-content:space-evenly;
  align-items: center;
  position: relative;

}
main > .faixa-botao > button > img{
  width: 9%;
  position: absolute;
  right: .8em;
  top: 50%;
  transform: translateY(-50%);
}

footer {
  display: flex;
  justify-content: center;
  align-items: start;
  height: 160px;
  color: white;
  font-size: clamp(1rem, 2vh,3rem);
  padding: 1em 1em;
  text-align: center;
  font-family: 'InterLight';
  color: #002366;

}
