:root {
  --primary: #ff7a00;
  --dark: #0c2b5c;
  --text: #333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html{
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER */

.header {
  position: fixed;
  width: 100%;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: 0.4s;
}

.scroll-header{
  background: rgba(0,0,0,0.92);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}

.menu a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 500;
}

.menu a:hover {
  color: var(--primary);
}

.logo {
  height: 80px;

  display: flex;
  align-items: center;
}

.logo img {
  height: 200px;
  width: auto;

  object-fit: contain;

  margin-top: 8px;
}

.logo img:hover {
  transform: scale(1.03);
}

/* BOTÕES */

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 600;
}

.btn-primary:hover {
  transform: translateY(-3px);
}

/* HERO */

.hero {
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.25)
  );

  z-index: 2;
}

/* HERO DOTS */

.hero-dots {
  position: absolute;
  bottom: 35px;
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 10px;

  z-index: 5;
}

.hero-dot {
  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: rgba(255,255,255,0.5);

  cursor: pointer;
  transition: 0.3s;
}

.hero-dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* SOBRE */

.sobre {
  padding: 100px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.sobre h2 {
  font-size: 2.7rem;
  margin: 15px 0;
  color: var(--dark);
}

.sobre p {
  line-height: 1.9;
  margin-bottom: 40px;
  color: #666;
}

/* IMAGENS */

.img-rounded {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* STATS */

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.stats div {
  background: #f5f5f5;
  padding: 35px 20px;
  border-radius: 18px;
  text-align: center;
  transition: 0.3s;
}

.stats div:hover {
  transform: translateY(-4px);
}

.stats strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.stats span {
  color: #666;
}

/* MARCAS */

.marcas {
  padding: 100px 0;
}

.marcas h2 {
  margin-top: 10px;
  margin-bottom: 15px;
  font-size: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
}

/* CARDS */

.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.35s;
  display: flex;
  flex-direction: column;
  min-height: 470px;
}

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

.card h4 {
  margin: 25px 20px 10px;
  font-size: 1.2rem;
}

.card p {
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #666;
}

.card button {
  margin: 0 20px 25px;
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 12px 20px;
  border-radius: 25px;
  cursor: pointer;
}

/* SLIDER DOS CARDS */

.slider {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.slides {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slides.active {
  opacity: 1;
}

.slides img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* DOTS */

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 8px;

  z-index: 5;
}

.dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;
  background: rgba(255,255,255,0.5);

  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.2);
}

/* DIFERENCIAIS */

.diferenciais {
  background: var(--dark);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.grid-5 {
  display: grid;
  grid-template-columns: repeat(5,1fr);
  gap: 20px;
}

.grid-5 div {
  background: rgba(255,255,255,0.08);
  padding: 30px 20px;
  border-radius: 18px;
  transition: 0.3s;
}

.grid-5 div:hover{
  background: rgba(255,255,255,0.14);
}

/* CTA */

.cta {
  background: url('./imagens/imagem3.jpeg') center/cover no-repeat;

  padding: 120px 0;

  text-align: center;
  color: #fff;

  position: relative;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.60);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

/* ESG */

.esg {
  padding: 100px 0;
}

/* UTIL */

.tag {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.center {
  text-align: center;
}

/* FOOTER */

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 35px 0;
  margin-top: 60px;
}

/* RESPONSIVO */

@media(max-width: 768px){

  .grid-2,
  .grid-4,
  .grid-5,
  .stats {
    grid-template-columns: 1fr;
  }

  .menu {
    display: none;
  }

  .hero {
    height: 75vh;
  }

  .sobre h2,
  .marcas h2,
  .cta h2 {
    font-size: 2rem;
  }

  .slider,
  .slides img {
    height: 220px;
  }

}