@import url(../font/volvo_novum.css);

* {
  box-sizing: border-box;
}

body {
  position: relative;
  padding: 0;
  margin: 0;
  font-family: "Volvo Novum Light";
}

.overlay h1 {
  font-weight: 300;
  margin: 0;
  line-height: 2.5rem;
  margin-bottom: 8px;
}

.overlay p {
  font-size: 1rem !important;
  margin: 0;
  line-height: 1rem;
  margin-bottom: 8px;
}

.width-limit {
  display: block;
  width: 1440px;
  max-width: 100%;
}

.container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 1rem;
  padding-top: 80px;
}

.section p {
  margin: 3rem 0;
  color: #757576;
  font-size: 2rem;
  line-height: 2.5rem;
}

.section p:first-child {
  margin-top: 0;
}

.section p span {
  color: black;
}

.section-content {
  position: relative;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: transparent;
  border-bottom: 1px solid;
  border-color: #f7f7f7;
  z-index: 1000;
  padding: 0.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  animation-name: navbar-to-unscrolled;
  animation-duration: 1.5s;
  animation-timing-function: cubic-bezier(0, 1.2, 0.55, 0.93);
}

.navbar .navbar-content {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .stub,
.navbar .logo-volvo{
  width: 250px;
  padding-right: 20px;
}

.navbar img {
  display: block;
  width: 80px;
  filter: invert(1);
  transition: filter 0s;
  transition-delay: 0.75s;
}

@media screen and (max-width: 700px) {
  .navbar .stub,
  .navbar .logo-volvo{
    display: none;
  }

  .navbar .navbar-content {
    justify-content: center;
  }
}

/* Navbar onScroll */

body.scrolled .navbar {
  background-color: #fff;
  animation-name: navbar-to-scrolled;
}

body.scrolled .navbar img {
  filter: invert(0);
}

@keyframes navbar-to-scrolled {
  0% {
    border-color: transparent;
    background-color: transparent;
    transform: translate(0, 0);
  }
  49.9% {
    border-color: transparent;
    background-color: transparent;
    transform: translate(0, -100%);
  }
  50% {
    border-color: transparent;
    background-color: #fff;
    transform: translate(0, -100%);
  }
  100% {
    border-color: transparent;
    background-color: #fff;
    transform: translate(0, 0);
  }
}

@keyframes navbar-to-unscrolled {
  0% {
    background-color: #fff;
    transform: translate(0, 0);
  }
  49.9% {
    background-color: #fff;
    transform: translate(0, -100%);
  }
  50% {
    background-color: transparent;
    transform: translate(0, -100%);
  }
  100% {
    background-color: transparent;
    transform: translate(0, 0);
  }
}

.video-container {
  position: relative;
  width: 100%;
  height: 100vh;
  z-index: 500;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: all 0.5s ease-in-out;
}

.video-container .video {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgb(247, 247, 247);
  outline: none;
  border: 0;
  z-index: 500;
  filter: brightness(0.5);
  transition: all 0.5s ease-in-out;
}

.video-container .overlay {
  position: relative;
  color: #fff;
  text-align: center;
  z-index: 600;
}

.video-container h1 {
  font-size: 2rem;
  transition-delay: 0s !important;
}

.video-container p {
  font-size: 1rem;
  transition-delay: 0.5s !important;
}

.video-container h1,
.video-container p {
  opacity: 1;
  transform: translate(0, 0);
  transition: all 0.5s ease-in-out;
}

body.scrolled .video-container {
  width: 1440px;
  max-width: 100%;
  height: calc(100vh - 80px);
}

body.scrolled .video-container video {
  filter: brightness(1);
}

body.scrolled .video-container .overlay h1 {
  transform: translate(0, -50%);
}

body.scrolled .video-container .overlay p {
  transform: translate(0, -100%);
}

body.scrolled .video-container .overlay h1,
body.scrolled .video-container .overlay p {
  opacity: 0;
}

@media (max-aspect-ratio: 3/4) {
  .video-container {
    height: 50vh;
  }

  body.scrolled .video-container {
    height: calc(50vh - 80px);
  }
}

.arrow {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  transition: opacity 0.15s ease-in-out;
}

body.has-scrolled .arrow {
  opacity: 0;
}

.arrow svg {
  stroke: #fff;
}

.arrow svg:nth-child(1) {
  opacity: 0.5;
}

.arrow svg:nth-child(2) {
  position: absolute;
  bottom: 0;
  animation: 1s ease 0s infinite normal none running arrowAnimation;
}

@keyframes arrowAnimation {
  0% {
    clip-path: inset(-70% 0px 100%);
  }
  100% {
    clip-path: inset(100% 0px -70%);
  }
}

/* DISCOVERY SECTION */

#discovery.section {
}

#discovery .section-content {
  display: flex;
  justify-content: flex-start;
}

#discovery .text-block-narrow {
  max-width: 774px;
}

/* SERVIÇOS SECTION */

#servicos {
  width: 100%;
}

.card-container {
  display: flex;
  position: relative;
  padding: 0 15px;
  text-align: left;
  margin: auto;
  margin-bottom: 40px;
  max-width: 450px;
  flex-direction: column;
  display: inline-block;
}

.locator-container {
  flex: 1 1 calc(33.333% - 20px); /* Ajusta para que 3 caibam em uma linha, subtraindo o 'gap' */
  max-width: calc(33.333% - 20px); /* Opcional: para garantir que o máximo de largura seja respeitado considerando o 'gap' */
  min-width: 250px; /* Ajuste conforme necessário para o tamanho mínimo desejado */
  padding-left: 10px;
}



.cards-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* Alinha os cards à esquerda */
  gap: 20px; /* Espaçamento entre os cards */
}



.card-container p {
  font-size: 1rem;
  line-height: 1rem;
}

.titulo-servicos {
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 2rem;
}

.card-text {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(117, 117, 118);
}

/* LOCATOR SECTION */

#locator {
  width: 100%;
}

/*.locator-container {
  display: flex;
  position: relative;
  padding: 0 15px;
  text-align: left;
  margin: auto;
  margin-bottom: 40px;
  max-width: 450px;
  flex-direction: column;
  display: inline-block;
}*/

.locator-container p {
  font-size: 1rem;
  line-height: 1rem;
}

.locator-container a {
  text-decoration: none;
  color: black;
  outline: none;
}

.locator-container a:hover {
  opacity: 0.5;
}

.locator-container a > .icon {
  transform: rotate(90deg) translate(6px, 0px);
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-left: 8px;
}

.titulo-locator {
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 2rem;
}

.card-text {
  font-size: 1rem;
  line-height: 1.5rem;
  color: rgb(117, 117, 118);
}

/* SHOP SECTION */

#shop-content {
  display: flex;
  flex-direction: row;
  position: relative;
}

#shop .text-block-narrow-shop {
  width: 40%;
  flex-direction: column;
  justify-content: space-between;
  background-color: #f7f7f7;
  display: flex;
  padding: 24px;
}

#shop .text-block-narrow-shop p {
  font-size: 1rem;
  line-height: 1.5rem;
  text-align: left;
  margin: 0;
}

#shop .text-block-narrow-shop span {
  color: black;
}

#shop .shop-text h3 {
  font-weight: 300;
  margin-bottom: 16px;
  font-size: 1.5rem;
  line-height: 2rem;
  text-align: left;
}

#shop .img-shop {
  width: 60%;
  flex-direction: column;
  justify-content: space-around;
  background-color: #f7f7f7;
  display: flex;
}

#shop .shop-btn {
}

#shop .shop-btn a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  gap: 5px;
  color: #000;
}

#shop .shop-btn a:hover {
  opacity: 0.5;
}

#shop .shop-btn a > .icon {
  transform: rotate(90deg);
  width: 25px;
  height: 25px;
}

.img-servicos {
  max-width: 100%;
  width: 1440px;
  display: flex;
}

.img-servicos img{
  position: relative;
  max-width: 100%;
}

#servicos {
  padding-top: 24px !important;
}

.text-block-narrow-servicos h2 {
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: 300;
  margin: 0 0 40px 0;
}

/* FOOTER SECTION */
#footer {
  padding-bottom: 24px;
}

.footer-container ul li span {
  text-align: left;
  font-size: 16px;
}

.footer-container ul {
  list-style: none;
  display: flex;
  position: relative;
  box-sizing: border-box;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 20px;
  max-width: max-content;
  padding: 0px;
  cursor: pointer;
  color: inherit;
  font-size: 1rem;
  display: flex;
  gap: 40px;
}

.footer-container ul li {
  font-size: 24px;
  text-decoration: none;
  list-style: none;
}

.footer-container ion-icon {
  color: black !important; /* Força a cor dos ícones para preto */
}

