/* Global */

:root {
  --primary-color: #3c84bf;
  --secondary-color: #333333;
  --black-color: #111823;
  --white-color: #f5f9fd;
}

@import url("https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html,
body {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  margin: 0;
  padding: 0;
  background-color: var(--secondary-color);
  /* height: 5000px; */
}

/* Solicitar Orçamento */

.btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.6);
  color: white;
  text-decoration: none;
  font-size: 1.2em;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  scale: 1.05;
  background-color: #2c6aa0;
  transition: 0.3s;
}

/* Header */

.header {
  padding: 10px;
  text-align: center;
  background-color: var(--black-color);
  box-shadow: 0px 0px 10px var(--black-color);
}

.Logo {
  width: 100px;
  height: auto;
  border-radius: 50%;
  box-shadow: 0px 0px 6px var(--primary-color);
  transition: 0.3s;
}

.Logo:hover {
  scale: 1.1;
  box-shadow: 0px 0px 12px var(--primary-color);
  transition: 0.3s;
}

iframe {
  border: 2px solid var(--white-color);
  border-radius: 10px;
  box-shadow: 2px 2px 15px var(--black-color);
  margin-bottom: 20px;
}

/* Apresentação */

.hero {
  position: relative;
  background: url("assets/img/Frente\ Loja.webp") no-repeat center/cover;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

/* o overlay inclinado */

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: -10%;
  width: 68%;
  height: 100%;
  background: var(--black-color);
  opacity: 0.8;
  transform: skew(-10deg);
  transform-origin: top left;
  z-index: 1;
}

/* conteúdo acima do overlay (Text) */

.hero-content {
  position: relative;
  left: -20%;
  width: 40%;
  z-index: 2;
  text-align: left;
  text-shadow: 5px 5px 10px #3c84bf2d;
}

.hero-content h1 {
  font-size: 3.3em;
  margin-bottom: 20px;
}

.HeroTextSpeed {
  color: var(--primary-color);
}

.hero-content p {
  font-size: 1.5em;
  margin-bottom: 30px;
}

/* benefits */

.quality-benefits {
  position: relative;
  top: -90px;
  margin: 0 auto;
  width: 80%;
  height: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 50px 20px;
  background-color: var(--primary-color);
  border-radius: 8px;
  box-shadow: 2px 2px 15px var(--black-color);
  z-index: 3;
}

.benefit {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  max-width: 100px;
}

.benefit i {
  font-size: 40px;
  height: auto;
  margin-bottom: 30px;
  color: var(--white-color);
  text-shadow: 0px 0px 10px var(--black-color);
}

.benefit h3 {
  color: var(--white-color);
  font-size: 1.5em;
  text-shadow: 0px 0px 10px var(--black-color);
}

/* Services */

.services {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px 20px;
  text-align: center;
  margin-top: -50px;
}

.services h3 {
  color: var(--white-color);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.services h2 {
  color: var(--primary-color);
  font-size: 1.7em;
  margin-bottom: 20px;
}

div.barSepareitor {
  width: 160px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto 40px auto;
  border-radius: 2px;
}

.services > p {
  color: var(--white-color);
  font-size: 1.4em;
  margin-bottom: 40px;
  width: 60%;
}

.services > p > b {
  color: var(--primary-color);
}

.services-content {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.services-single {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 90%;
  height: 300px;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: var(--white-color);
  background-color: var(--primary-color);
  box-shadow: 2px 2px 15px var(--black-color);
  text-shadow: 0px 0px 10px var(--black-color);
}

.services-single img {
  width: 200px;
  height: 200px;
  zoom: 1.3;
  border: 2px solid var(--white-color);
  border-radius: 10px;
  box-shadow: 2px 2px 15px var(--black-color);
}

.services-single p {
  width: 45%;
  font-size: 1.4em;
  padding: 20px;
}

/* We About */

.we-about {
  width: 100%;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 50px 20px;
  text-align: center;
  background-color: var(--black-color);
}

.we-about-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.we-about h3 {
  color: var(--white-color);
  font-size: 1.6em;
  margin-bottom: 20px;
}

.we-about h2 {
  color: var(--primary-color);
  font-size: 1.7em;
  margin-bottom: 20px;
}

div.barSepareitorAbout {
  width: 100px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

.we-about p {
  color: var(--white-color);
  font-size: 1.4em;
  margin-bottom: 40px;
  width: 60%;
}

.we-about p b {
  color: var(--primary-color);
}

.we-about .we-about-image {
  margin-bottom: 40px;
}

.we-about .we-about-image img {
  width: 300px;
  height: auto;
  border-radius: 8px;
  box-shadow: 2px 2px 15px var(--black-color);
  transition: 0.5s;
}

.we-about .we-about-image img:hover {
  transform: scale(1.1);
  transition: 0.5s;
}

/* Footer */

.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px;
  text-align: center;
  background-color: var(--black-color);
  color: var(--white-color);
  /* text-shadow: 0px 0px 10px var(--black-color); */
}

.footer iframe {
  width: 100%;
  max-width: 600px;
  height: 450px;
}

.footer h4 {
  width: 60%;
  font-size: 1.2rem;
  font-weight: 400;
  margin-bottom: 20px;
}

.footer p {
  font-size: 1.1rem;
  margin-top: 10px;
}

.footer > a {
  margin-bottom: 15px;
}

/* Social Media */

.socialmedia {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  gap: 10px;
}

.socialmedia .instagram a {
  display: block;
  width: 60px;
  height: 60px;
  font-size: 2.5rem;
  padding: 10px;
  border-radius: 50%;
  text-align: center;
  color: var(--primary-color);
  background-color: var(--black-color);
  box-shadow: 2px 2px 10px var(--black-color);
  transition: 0.3s;
}

.socialmedia .instagram a:hover {
  scale: 1.1;
  color: var(--white-color);
  background-color: var(--primary-color);
  transition: 0.3s;
}

/* Medium screens (Laptops) */
@media screen and (max-width: 1024px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }

  .HeroTextSpeed {
    font-size: 2.8rem;
  }

  .hero-content p {
    font-size: 1.3rem;
  }

  .services-single p {
    font-size: 1.2em;
  }

  .we-about p {
    font-size: 1.2em;
  }

  .footer h4 {
    font-size: 1.1rem;
  }
}

/* Medium screens (tablets) */
@media screen and (max-width: 980px) {
  /* reduz altura do hero e centraliza conteúdo */
  .hero {
    height: 70vh;
    background-position: center top;
  }

  /* overlay menos largo para não cobrir todo o texto */
  .hero::before {
    left: -5%;
    width: 60%;
    transform: skew(-8deg);
  }

  /* coloca o conteúdo hero em largura maior e sem deslocamento negativo */
  .hero-content {
    left: -22%;
    top: -15%;
    width: 45%;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .HeroTextSpeed {
    font-size: 1.8rem;
  }

  /* benefits (bloco colorido) vira coluna e perde o top negativo */
  .quality-benefits {
    width: 92%;
    margin-top: -40px;
    padding: 28px 16px;
    flex-direction: column;
    gap: 14px;
  }

  .benefit {
    max-width: 100%;
    width: 100%;
  }

  .benefit i {
    font-size: 1.1em;
    margin: 14px;
  }

  .benefit h3 {
    font-size: 1.1em;
  }

  /* serviços: reduz largura e espaçamento do título/descrição */
  .services > p {
    width: 90%;
    font-size: 1.1em;
  }

  .services-content {
    width: 90%;
    gap: 16px;
  }

  /* cada item de serviço vira coluna vertical (imagem em cima, texto abaixo) */
  .services-single {
    flex-direction: column;
    height: auto;
    padding: 16px;
    gap: 12px;
  }

  .services-single img {
    width: 400px;
    height: 400px;
    zoom: 1;
    border-radius: 8px;
  }

  .services-single p {
    width: 100%;
    font-size: 1.6em;
    padding: 8px 6px;
  }

  /* about: imagem e texto empilhados */
  .we-about .we-about-image img {
    width: 260px;
  }
  .we-about p {
    width: 92%;
    font-size: 1.15em;
  }

  /* footer: texto ocupa mais largura e fica menor */
  .footer h4 {
    width: 92%;
    font-size: 1rem;
  }
}

/* Small screens (phones) */
@media screen and (max-width: 600px) {
  .btn {
    padding: 12px 24px;
    font-size: 1rem;
  }

  /* hero mais compacto */
  .hero {
    height: 80vh;
  }

  .hero::before {
    left: -2%;
    width: 52%;
    transform: skew(-6deg);
    opacity: 0.85;
  }

  /* hero content centralizado e ocupando quase 100% */
  .hero-content {
    left: -25%;
    width: 40%;
    text-align: left;
    padding: 6px 0;
  }

  .hero-content h1 {
    font-size: 1.4rem; /* antes 3.3em */
    line-height: 1.05;
  }

  .HeroTextSpeed {
    display: block;
    font-size: 1.4rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  /* logo menor no header */
  .Logo {
    width: 72px;
  }

  /* benefits vira lista vertical mais compacta */
  .quality-benefits {
    margin-top: -50px;
    padding: 20px 12px;
    gap: 10px;
  }

  .benefit i {
    font-size: 34px;
    margin-bottom: 12px;
  }
  .benefit h3 {
    font-size: 1.1em;
  }

  /* serviços: cada card ocupa 100% e imagens menores */
  .services-content {
    width: 100%;
    gap: 12px;
  }
  .services-single {
    width: 96%;
    padding: 12px;
    border-radius: 10px;
  }
  .services-single img {
    width: 60%;
    height: auto;
  }
  .services-single p {
    font-size: 1.2rem;
    padding: 8px;
  }

  /* about */
  .we-about .we-about-image img {
    width: 220px;
  }
  .we-about p {
    width: 96%;
    font-size: 1rem;
  }

  /* footer compacto */
  .footer h4 {
    width: 96%;
    font-size: 0.95rem;
  }
  .footer p {
    font-size: 0.95rem;
  }
}

@media screen and (max-width: 510px) {
  .hero {
    background: url("assets/img/Frente\ Loja.webp") no-repeat top/fill;
  }

  .hero::before {
    left: 0;
    width: 68%;
  }

  .hero-content {
    left: -18%;
    width: 45%;
  }
}

/* Very small screens / narrow phones */
@media screen and (max-width: 420px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }
  .HeroTextSpeed {
    font-size: 1.5rem;
  }
  .btn {
    padding: 10px 16px;
    font-size: 1rem;
  }
  .services-single img {
    width: 100%;
    border-radius: 6px;
  }
  .services-single p {
    font-size: 0.95rem;
  }
  .Logo {
    width: 64px;
  }
}
