* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

:root {
  font-size: 62.5%;

  --ff: "Inter", sans-serif;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semiBold: 600;

  --verde: #A2D92B;
}

body {
  font-family: var(--ff);
  font-size: 1.6rem;
  color: white;

  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100dvh;

  background-color: black;
  position: relative;
  overflow-x: hidden;
}

.bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  filter: brightness(0.4);
}

header {
  padding-top: 8rem;
  margin: 0 auto;
  max-width: fit-content;
}

main {
  max-width: 953px;
  width: 100%;

  margin: 0 auto;
  text-align: center;

  display: flex;
  flex-direction: column;
}

main .titulo-animado {
  height: 6rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  /* border: 1px solid red; */
}

.texto {
  margin: 3rem 0 4rem 0;
}

main .frases {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: slide 9s ease-in-out infinite;
}

main .frases h1 {
  font-weight: var(--fw-semiBold);
  font-size: 4.8rem;
  line-height: 6rem;
  text-transform: uppercase;
  text-align: center;
}

main .frases h1 span {
  color: var(--verde);
}

main .botoes {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
}

main a {
  width: 273px;
  text-align: center;
  padding: 1.6rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

main a:first-child {
  font-family: var(--fw-regular);
  font-size: 1.6rem;
  color: white;
  border: 1px solid white;
}

main a:first-child:hover {
  background-color: white;
  color: black;
}

main a:last-child {
  font-family: var(--fw-medium);
  text-transform: uppercase;
  font-size: 1.6rem;
  color: black;
  background-color: white;
}

main a:last-child:hover {
  background-color: var(--verde);
}

main a:last-child img {
  width: 22px;
}

main a:last-child:hover img {
  rotate: -90deg;
}

main a:first-child,
main a:last-child,
main a:last-child img {
  transition: all 0.3s ease;
}

main .orcamento {
  text-align: start;
}

.orcamento {
  max-width: 650px;
  width: 100%;
  margin: 0 auto
}

.orcamento__logo {
  margin-top: 6rem;
}

@media (max-width: 500px) {
  .orcamento__logo {
    display: flex;
    justify-content: center;
  }
}

.orcamento__topo {
  margin-top: 2rem;
}

@media (max-width: 500px) {
  .orcamento__topo {
    text-align: center;
  }
}

.orcamento__topo h2 {
  font-size: clamp(28px, 4vw, 64px);
  text-transform: uppercase;
  font-weight: var(--fw-semiBold);
}
.orcamento__topo p {
  font-size: 2rem;
  color: #8D8D8D;
  margin-top: 2rem;
}
@media (max-width: 500px) {
  .orcamento__topo p {
    font-size: 1.2rem;
  }
}
.orcamento__topo p span {
  color: var(--verde);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

form {
  margin-bottom: 8rem;
}
form .form_titulo {
  font-size: 2rem;
  font-weight: var(--fw-semiBold);
  margin-top: 2.72rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}
form .form_titulo p {
  font-size: 3.2rem;
}
@media (max-width: 500px) {
  form .form_titulo p {
    font-size: 2rem;
  }
}
form .form_titulo span {
  color: var(--verde);
}

form label {
  font-size: 2rem;
  font-weight: var(--fw-medium);
  margin-bottom: 1rem;
}
@media (max-width: 500px) {
  
  form label {
    font-size: 1.8rem;
  }
}

form label span {
  color: var(--verde);
}

.form_grupo {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form_grupo input,
.form_grupo select,
.form_grupo textarea {
  border: 1px solid #4D4D4D;
  background-color: transparent;
  height: 45px;
  color: white;
  padding: 0 1rem;
  outline: none;
  font-family: var(--ff);
  font-weight: var(--fw-regular);
  font-size: 1.6rem;
}

.form_grupo textarea {
  padding-top: 1rem;
  resize: none;
  height: 161px;
}

form button {
  background-color: white;
  width: 100%;
  height: 44px;
  font-weight: var(--fw-semiBold);
  border: none;
  margin-top: 2rem;
  cursor: pointer;
  font-size: 1.6rem;
}

footer {
  display: flex;
  justify-content: space-between;

  border-top: 1px solid #404040;
  padding: 4rem 0;
}

footer p {
  font-size: 1.6rem;
}

footer a {
  color: white;
  display: flex;
  gap: 1rem;
}

footer a:hover {
  color: var(--verde);
  transition: color 0.3s ease-in-out;
}

@media (max-width: 768px) {

  .texto {
    margin: 2rem 0 4rem 0;
  }

  main .titulo-animado {
    height: 5rem;
  }

  main .frases {
    gap: 1rem;
  }

  main .frases h1 {
    font-size: 3rem;
    line-height: 5rem;
  }

  main .botoes {
    flex-direction: column;
  }

  footer {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
  }

}

@media (max-width: 500px) {
  .texto {
    margin: 1.5rem 0 4rem 0;
  }

  main .frases h1 {
    font-size: 2.5rem;
  }

  footer {
    padding: 1.5rem 0;
  }

}


/* Logos clientes */

.logos-clientes {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  padding: 0 20px;
}

.logos-track {
  display: flex;
  margin-top: 15rem;
  padding-bottom: 6rem;
  gap: 60px;
  width: max-content;
  animation: marquee 20s linear infinite;
  align-items: center;
}

@media (max-width: 500px) {
  .logos-track {
    margin-top: 7rem;
  }
}

.logos-track img {
  height: 60px;
  object-fit: contain;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* pop-up orçamento */

.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.modal.hidden {
    display: none;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.6);
}

#modal-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  cursor: pointer;
}

.modal__content {
    position: relative;
    max-width: 900px;
    width: 100%;
    margin: auto;
    background: #000;
    padding: 125px 0;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #4D4D4D;

    top: 50%;
    transform: translateY(-50%);
}

.modal__content h2 {
  font-size: clamp(24px, 4vw, 54px);
  line-height: 120%;
  margin-bottom: 1.5rem;
}

.modal__content p {
  font-size: clamp(1rem, 4vw, 2rem);
  color: #4D4D4D;
}

.modal__content p span{
  color: var(--verde);
}