/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  color: #0a2a43;
  line-height: 1.6;
  background-image: url("/images/hero-bg.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.8);
  z-index: 0;
  pointer-events: none;
}

body>* {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
}

p {
  font-weight: 400;
}

.nav a {
  font-weight: 600;
}

/* CONTAINER */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgb(250, 175, 58, 0.8);
  z-index: 1000;
}

.header-logo {
  height: 50%
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-content nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-triangle {
  position: absolute;
  top: 0;
  right: 0;
  height: 150px;
}

.logo {
  color: #fff;
  font-size: 1.6rem;
}

.nav a {
  color: #0a2a43;
  margin-left: 24px;
  text-decoration: none;
  font-weight: 700;
}

.nav a:hover {
  text-decoration: underline;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 160px;
  /* background-image: url("/images/hero-bg.jpeg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: justify;
  /* text-align: center; */
  color: #0a2a43;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.6rem;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.6rem;
  /* max-width: 900px; */
  margin: 12px 0;
}

.highlight {
  margin-top: 24px;
  font-size: 1.4rem;
}

/* CLIENTES */
.clientes {
  text-align: center;
}

.clientes h3 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.carousel {
  padding: 40px 0;
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: 40px;
  width: max-content;
  will-change: transform;
}

.cliente-card {
  width: 220px;
  height: 220px;
  object-fit: contain;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
}

/* SERVIÇOS */
.separator {
  height: 20px;
  width: 52px;
  background-color: #0a2a43;
  border-radius: 50px;
  margin: auto;
}

.servicos h3 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 2rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: auto;
  padding: 0 24px;
}

.card {
  padding: 32px;
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cards .card .border::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: top right;
  z-index: 2;
}

/* Ímpares – laranja */
.cards .card:nth-child(odd) .border::before {
  background-image: url("/images/triangle-orange.png");
}

/* Pares – azul */
.cards .card:nth-child(even) .border::before {
  background-image: url("/images/triangle-blue.png");
}

.card-image {
  width: 250px;
  height: 250px;
  object-fit: cover;
  margin-bottom: 20px;
  border: 10px solid #fff;
}

.card h4 {
  margin-bottom: 16px;
  color: #0a2a43;
}

.border {
  border: 2px dashed #0a2a43;
  padding: 12px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* FOOTER */
.footer {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  color: #000;
  font-size: 1.8rem;
  position: relative;
}

.footer-content {
  padding: 16px 52px;
  background: #faaf3a;
  border-radius: 50px 0 0 0;
}

.footer-content p {
  margin-right: 52px;
}

.footer-triangle {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 80px;
  height: auto;
  z-index: 10;
  pointer-events: none;
}


.footer a {
  text-decoration: none;
  color: #000;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .header-content>nav {
    display: none;
  }

  .header-content {
    justify-content: center;
  }

  .header-triangle {
    display: none;
  }

  .hero {
    padding: 100px 0;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .footer {
    font-size: 1rem;
  }

  .footer-content {
    padding: 16px 20px;
    text-align: center;
  }

  .footer-content p {
    margin-right: 0;
  }

  .footer-triangle {
    display: none;
  }
}