/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: linear-gradient(to bottom, #f4f4f4, #ffffff);
  color: #333;
  padding-top: 100px;
}

/* HEADER */
header {
  position: fixed; /* deixa fixa já desde o início */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000; /* preta sólida */
  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;
}

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

nav a:hover {
  color: white;
}

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

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

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

/* Overlay escuro */
.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.hero h1 {
  font-size: 38px;
  margin-bottom: 15px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 20px;
}

/* ================= BOTÃO MODERNO ================= */

.btn {
  display: inline-block;
  background: linear-gradient(135deg, #c40000, #e60000);
  color: white;
  padding: 14px 32px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(196, 0, 0, 0.25);
  border: none;
  outline: none;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(196, 0, 0, 0.4);
  background: linear-gradient(135deg, #b30000, #ff1a1a);
}

.btn:active {
  transform: translateY(0px);
  box-shadow: 0 5px 15px rgba(196, 0, 0, 0.3);
}


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

/* TITULO */
.title-box {
  text-align: center;
  margin-bottom: 40px;
}

.title-box h1 {
  font-size: 32px;
}

/* CARDS HOME */
.destaque {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: 0.3s;
}

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

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

/* EMPRESA */
.empresa-content {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.empresa-text {
  flex: 1;
  font-size: 16px;
  line-height: 1.6;
}

.empresa-dados {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #111;
  color: white;
  padding: 20px;
  border-radius: 8px;
}

.info-card h3 {
  color: #c40000;
  margin-bottom: 10px;
}

/* SERVIÇOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  justify-items: center;
}

.service-card {
  background: #fdfdfd;
  border: 1px solid #e6e6e6;
}



.service-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.12),
    0 22px 45px rgba(0, 0, 0, 0.18);
}



.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

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

.service-card p {
  padding: 0 15px 20px 15px;
}

/* VIDEOS */
.videos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-item iframe {
  width: 100%;
  height: 300px;
  border-radius: 10px;
}


/* HERO EMPRESA */
.empresa-hero {
  height: 40vh;
  background: url("pedreira.jpg") center/cover no-repeat;
  position: relative;
}

.empresa-hero-overlay {
  background: rgba(0, 0, 0, 0.7);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.empresa-hero h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

/* CONTEÚDO EMPRESA */
.empresa-content {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.empresa-text {
  flex: 1;
  line-height: 1.7;
}

.empresa-text h2 {
  margin-bottom: 15px;
  color: #c40000;
}

/* CARDS LADO DIREITO */
.empresa-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: #111;
  color: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: 0.3s;
}

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

.info-card h3 {
  color: #c40000;
  margin-bottom: 10px;
}

/* 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;
}

/* 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;
}

/* 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;
}



/* DIFERENCIAIS */

.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;
}

.institucional-imagem img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* ================= EMPRESA INSTITUCIONAL ================= */

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

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

.empresa-texto {
  flex: 1;
}

.empresa-texto h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

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

.empresa-imagem {
  flex: 1;
}

.empresa-imagem img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transition: 0.4s;
}

.empresa-imagem img:hover {
  transform: scale(1.03);
}

.logo {
  text-decoration: none;
  color: white;
}


/* ================= SERVIÇOS CORPORATIVO V2 ================= */

.servicos-corporativo-v2 {
  background: linear-gradient(to right, #0a0a0a, #141414);
  padding: 140px 20px;
  color: white;
  position: relative;
  overflow: hidden;
}

/* Marca d'água no fundo */
.servicos-corporativo-v2::before {
  content: "M";
  position: absolute;
  font-size: 400px;
  font-weight: bold;
  color: rgba(255, 0, 0, 0.03);
  left: -50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.servicos-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* LADO ESQUERDO */

.servicos-left {
  flex: 1;
}

.servicos-left h2 {
  font-size: 38px;
  line-height: 1.2;
  margin-bottom: 30px;
}

.btn-servicos {
  display: inline-block;
  background: #c40000;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 6px;
  transition: 0.3s;
}

.btn-servicos:hover {
  background: #990000;
}

/* LADO DIREITO */

.servicos-right {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.servico-card-v2 {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: 0.3s;
}

.servico-card-v2:hover {
  transform: translateY(-6px);
  border-color: #c40000;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.servico-card-v2 h3 {
  color: #ff1a1a;
  margin-bottom: 10px;
  font-size: 16px;
}

.servico-card-v2 p {
  color: #bbb;
  font-size: 14px;
  line-height: 1.6;
}

/* RESPONSIVO */

@media (max-width: 900px) {

  .servicos-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .servicos-right {
    grid-template-columns: 1fr;
  }

  .servicos-left h2 {
    font-size: 28px;
  }

}


/* ================= SERVIÇOS COM IMAGEM ================= */

.servicos-imagem {
  background: #f4f6f8;
  padding: 120px 20px;
}

.container-servicos {
  max-width: 1200px;
  margin: 0 auto;
}

.servicos-topo {
  text-align: center;
  margin-bottom: 70px;
}

.servicos-topo h2 {
  font-size: 34px;
  margin: 15px 0;
  color: #222;
}

.servicos-topo p {
  max-width: 700px;
  margin: 0 auto;
  color: #666;
  line-height: 1.7;
}

/* GRID */

.servicos-grid-img {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

/* CARD */

.card-servico-img {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  transition: 0.4s;
}

.card-servico-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

/* IMAGEM */

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

/* CONTEÚDO */

.card-servico-img .conteudo {
  padding: 30px;
}

.card-servico-img h3 {
  color: #c40000;
  margin-bottom: 10px;
}

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


/* ================= HERO CONTATO ================= */

.contato-hero {
  background: linear-gradient(to right, #f4f6f8, #ffffff);
  padding: 120px 20px;
  text-align: center;
}

.contato-hero h1 {
  font-size: 40px;
  margin-bottom: 15px;
}

.contato-hero p {
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* ================= SECTION CONTATO ================= */

.contato-section {
  padding: 100px 20px;
  background: #f9f9f9;
}

.contato-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 80px;
  flex-wrap: wrap;
}

/* INFORMAÇÕES */

.contato-info {
  flex: 1;
  min-width: 300px;
}

.contato-info h2 {
  margin-bottom: 30px;
  color: #c40000;
}

.info-item {
  margin-bottom: 15px;
  color: #333;
}

.info-item a {
  color: #c40000;
  text-decoration: none;
}

.info-item a:hover {
  text-decoration: underline;
}

.redes-contato {
  margin-top: 30px;
  display: flex;
  gap: 20px;
}

.redes-contato a {
  padding: 8px 15px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
  text-decoration: none;
  color: #333;
}

.redes-contato a:hover {
  background: #c40000;
  color: white;
}

/* FORM */

.contato-form {
  flex: 1;
  min-width: 300px;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.contato-form h2 {
  margin-bottom: 25px;
}

.contato-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contato-form input,
.contato-form textarea {
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ddd;
}

.contato-form input:focus,
.contato-form textarea:focus {
  outline: none;
  border-color: #c40000;
}

/* ================= FOOTER MAPA ================= */

.footer-mapa-only iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

.redes-contato {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.redes-contato a {
  width: 45px;
  height: 45px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c40000;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.redes-contato a:hover {
  background: #c40000;
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(196, 0, 0, 0.3);
}

/* ================= FOOTER MODERNO ================= */

.footer-moderno {
  background: #f4f6f8;
  padding-top: 70px;
  margin-top: 100px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 0 20px 60px;
}

.footer-col {
  flex: 1;
  min-width: 250px;
}

.footer-logo {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
}

.footer-logo span {
  color: #c40000;
}

.footer-col h4 {
  margin-bottom: 20px;
  color: #c40000;
}

.footer-col p,
.footer-col li {
  margin-bottom: 10px;
  color: #555;
  list-style: none;
}

.footer-col ul {
  padding: 0;
}

.footer-col a {
  text-decoration: none;
  color: #555;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #c40000;
}

/* REDES */

.footer-redes {
  margin-top: 15px;
  display: flex;
  gap: 15px;
}

.footer-redes a {
  width: 38px;
  height: 38px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c40000;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.footer-redes a:hover {
  background: #c40000;
  color: white;
  transform: translateY(-3px);
}

/* BOTTOM */

.footer-bottom {
  text-align: center;
  padding: 20px;
  background: #eaeaea;
  font-size: 14px;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }
}