
/* HEADER */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: 0.3s ease;
}


/* Quando rolar a página */
header.scrolled {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(6px);
}

.topbar {
  background: transparent;
  padding: 20px 40px;
}

nav {
  background: transparent;
  padding: 10px 40px;
  display: flex;
  gap: 25px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.logo span {
  color: #c40000;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #ff1a1a;
}

nav .active {
  color: #ff1a1a;
  border-bottom: 2px solid #ff1a1a;
  padding-bottom: 4px;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.logo span {
  color: #c40000;
}

.container {
  max-width: 1100px;
  margin: 60px auto;
  padding: 20px;
}


.diferenciais {
  background: linear-gradient(to right, #f7f6f6, #f7f7f7);
  padding: 120px 20px;
  color: white;
}

.diferenciais .container {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
  text-align: center;
}

.diferencial-box {
  max-width: 300px;
}

.diferencial-box h3 {
  color: #ff1a1a;
  margin-bottom: 15px;
}

.diferencial-box p {
  color: #333333;
  line-height: 1.6;
}

/* SEÇÃO INSTITUCIONAL */

.institucional {
  padding: 130px 20px;
  background: #f4f4f4;
}

.institucional-bloco {
  display: flex;
  align-items: center;
  gap: 70px;
  max-width: 1200px;
  margin: 0 auto 120px;
  flex-wrap: wrap;
}

.institucional-bloco.reverso {
  flex-direction: row-reverse;
}

.institucional-texto {
  flex: 1;
}

.institucional-texto h2 {
  font-size: 30px;
  margin-bottom: 20px;
}

.institucional-texto p {
  margin-bottom: 15px;
  color: #555;
  line-height: 1.7;
}

.tag {
  display: inline-block;
  background: #c40000;
  color: white;
  padding: 6px 15px;
  border-radius: 20px;
  font-size: 12px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

.institucional-imagem {
  flex: 1.4;
}

.institucional-imagem img {
  width: 100%;
  height: 420px; /* controla altura */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* SERVIÇOS HOME */

.servicos-home {
  padding: 120px 20px;
  background: white;
  text-align: center;
}

.servicos-home h2 {
  font-size: 32px;
  margin-bottom: 70px;
}

.services-grid {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.service-card {
  background: #f4f4f4;
  padding: 45px;
  border-radius: 14px;
  width: 320px;
  transition: 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  color: #c40000;
  margin-bottom: 15px;
}

.service-card p {
  color: #555;
  line-height: 1.6;
}


/* SOBRE HOME */

.sobre-home {
  padding: 120px 20px;
  text-align: center;
  background: #f9f9f9;
}

.sobre-home h2 {
  font-size: 32px;
  margin-bottom: 25px;
}

.sobre-home p {
  max-width: 750px;
  margin: 0 auto 15px;
  color: #555;
  line-height: 1.7;
}


/* ============================= */
/* BLOCO INSTITUCIONAL TOPO */
/* ============================= */


.institucional-topo {
  position: relative;
  padding: 180px 20px 140px 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7f7 100%);
  overflow: hidden;
}

/* detalhe decorativo */

.institucional-topo::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(214,0,0,0.08) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 0;
}

.institucional-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
}

.institucional-texto {
  max-width: 700px;
}

.mini-tag {
  font-size: 12px;
  letter-spacing: 6px;
  color: #b00000;
  font-weight: 600;
  margin-bottom: 25px;
  display: inline-block;
  position: relative;
}

.mini-tag::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  background: #d60000;
  margin-top: 10px;
}

.institucional-texto h2 {
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 30px;
  color: #111;
}

/* botão mais premium */

.btn-video {
  background: #d60000;
  color: white;
  padding: 18px 36px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 15px 40px rgba(214,0,0,0.3);
  transition: 0.3s ease;
}

.btn-video:hover {
  background: #a80000;
  transform: translateY(-3px);
}
/* RESPONSIVO */

@media (max-width: 1000px) {
  .institucional-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .institucional-texto h2 {
    font-size: 36px;
  }
}


/* SEÇÃO NÚMEROS */

.numeros {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 90px 20px;
  background: white;
  text-align: center;
}

.numero-box h2 {
  font-size: 42px;
  color: #c40000;
  margin-bottom: 10px;
}

.numero-box p {
  font-size: 16px;
  color: #555;
}

@media (max-width: 768px) {

  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  .topbar {
    padding: 15px 20px;
  }

  nav {
    padding: 10px 20px;
  }

}

@media (max-width: 768px) {

  .institucional-imagem {
    display: none;
  }

  .empresa-imagem {
    display: none;
  }

}

@media (max-width: 768px) {

  .numeros {
    flex-direction: column;
    gap: 40px;
    padding: 60px 20px;
  }

  .numero-box h2 {
    font-size: 32px;
  }

}

html, body {
  overflow-x: hidden;
}
