<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap" rel="stylesheet">
/* ================= FONTS ================= */
@font-face {
  font-family: "Zing";
  src: url("fonts/ZingRustD2Demo-Base.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "Edo";
  src: url("fonts/edo.ttf") format("truetype");
  font-weight: 700;
}

h3 {
  font-family: "Roboto", sans-serif;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: clamp(22px, 5vw, 40px);
}
/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIÁVEIS ================= */
:root {
  --primary: #ff5a1f;
  --secondary: #a85a3c;
  --dark: #111;
  --light: #f5f5f5;
  --gray: #ffffff20;
}

/* ================= BASE ================= */
img {
  max-width: 100%;
  height: auto;
}
body {
  font-family: "Zing", Arial, sans-serif;
  background: var(--dark);
  color: white;
  line-height: 1.6;
}

/* ================= CONTAINER ================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

/* VIDEO */
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* TEXTO HERO */
.hero-content {
  position: absolute;
  bottom: 80px;
  left: 60px;
}

/* SUPER FREIOS */
.logo {
  height: auto;
  max-width: 350px;
  width: 100%;
}

.logo:hover {
  transform: scale(1.05);
}

/* ================= SERVICES ================= */
.services {
  display: flex;
  gap: 40px;
  background: var(--secondary);
  padding: 80px 40px;
  flex-wrap: wrap;
}

.services .left {
  flex: 1;
  min-width: 250px;
}

.services .left h3 {
  font-family: "Roboto", sans-serif;
  font-size: 32px;
}

.services .left p {
  margin-top: 15px;
  font-size: 14px;
}

/* CARDS */
.cards {
  flex: 2;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: var(--gray);
  padding: 15px;
  border-radius: 12px;
  width: 100%;
  max-width: 220px;
  flex: 1 1 220px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 100%;
  border-radius: 10px;
}

.card h3 {
  font-family: "Roboto", sans-serif;
  margin-top: 10px;
  font-size: large;
}

.card p {
  font-size: 14px;
}

/* ================= PRODUCTS ================= */
.products {
  padding: 80px 20px;
  text-align: center;
}

.products h3 {
  font-family: "Zing";
  font-size: clamp(28px, 5vw, 50px);
  margin-bottom: 40px;
  text-align: center;
}

.product {
  width: 100%;
  max-width: 350px;
  flex: 1 1 300px;
  transition: 0.3s;
}

.products span {
  font-family: "Edo";
  color: teal;
  display: inline-block;
  margin-left: 8px;
  transform: translateY(2px);
}

.product-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.product:hover {
  transform: scale(1.05);
}

.product img {
  width: 100%;
  border-radius: 10px;
}

/* ================= CLIENTS ================= */
.clients {
  background: url("img/bg.jpg") center/cover no-repeat;
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.clients::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.clients h2 {
  font-family: "Zing";
  position: relative;
  margin-bottom: 40px;
  z-index: 2;
}

/* TESTIMONIALS */
.testimonials {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.box {
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 12px;
  width: 100%;
  max-width: 320px;
  backdrop-filter: blur(10px);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  min-height: 180px;
  position: relative;
}
.box p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}
.box strong {
  font-family: "Zing";
  margin-top: auto;
  display: block;
  font-size: 14px;
  opacity: 0.9;
}

/* ================= FOOTER ================= */
.footer {
  display: flex;
  justify-content: space-around;
  padding: 40px;
  background: black;
  flex-wrap: wrap;
}

.footer a {
  color: inherit;
  text-decoration: none;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons i {
  font-size: 20px;
  transition: 0.3s;
}

.social-icons i:hover {
  transform: scale(1.2);
}

/* ===== CARD FLUTUANTE ===== */
.floating-card {
  position: fixed;
  bottom: 40px;
  right: 20px;
  z-index: 9999;

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: 0.4s;
}

.floating-card.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.floating-content {
  background: #111;
  padding: 15px 18px;
  border-radius: 12px;
  width: 220px;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid #ffffff20;

  text-align: center;
  position: relative;
}

/* texto */
.floating-content p {
  font-size: 13px;
  margin-bottom: 10px;
}

/* botão */
.popup-btn {
  display: block;
  padding: 10px;
  background: #25d366;
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s;
}

.popup-btn:hover {
  transform: scale(1.05);
}

/* botão fechar */
.close-btn {
  position: absolute;
  top: 5px;
  right: 8px;
  font-size: 16px;
  cursor: pointer;
}

@keyframes popupFade {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* ================= RESPONSIVO ================= */
@media (max-width: 768px) {
  /* HERO */
  .hero {
    height: 70vh;
  }

  .hero-content {
    left: 20px;
    bottom: 30px;
  }

  .logo {
    max-width: 200px;
  }

  /* SERVICES */
  .services {
    flex-direction: column;
    padding: 50px 20px;
  }

  .cards {
    justify-content: center;
  }

  /* PRODUCTS */
  .product-cards {
    flex-direction: column;
    align-items: center;
  }

  /* CLIENTS */
  .testimonials {
    flex-direction: column;
    align-items: center;
  }

  .box {
    width: 90%;
  }

  /* FOOTER */
  .footer {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}
