*CSS*
html {
  scroll-behavior: smooth;
}

/* 1. Reset e Globais */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Montserrat', sans-serif; color: #333; padding-top: 80px; line-height: 1.6; background-color: #fff; }

.container { 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 0 5%; 
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 2. Header - Limpeza e Checkbox Oculto */
header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 15px 5%; background-color: #000; position: fixed;
  top: 0; left: 0; right: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.logo { font-size: 24px; font-weight: 700; color: #FF8C00; text-transform: uppercase; }

/* Esconde o checkbox do menu */
.menu-toggle { display: none !important; }

nav a { color: #fff; margin-left: 20px; text-decoration: none; font-weight: 600; font-size: 13px; text-transform: uppercase; transition: 0.3s; }
nav a:hover { color: #FF8C00; }

/* 3. Hero e Botão Destacado */
.hero { position: relative; min-height: 100vh; background: url('assets/bg.jpg') no-repeat center center/cover; display: flex; align-items: center; color: #fff; }
.overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.85), transparent); }
.hero-content { position: relative; max-width: 700px; padding-left: 5%; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.1; margin-bottom: 30px; }

.btn-hero { 
  background-color: #FF8C00; 
  color: #fff; 
  border: none; 
  padding: 22px 55px; /* Tamanho ampliado */
  font-weight: 700; 
  font-size: 1.2rem; 
  cursor: pointer; 
  transition: 0.3s; 
  border-radius: 50px; 
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(255,140,0,0.4);
}
.btn-hero:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(255,140,0,0.6); background-color: #e67e00; }

/* 4. Empresa (Quem Somos Centralizado) */
.sobre, .historia { padding: 100px 0; width: 100%; }
.sobre { background-color: #f9f9f9; }
.sobre .container, .historia .container { flex-direction: row; justify-content: center; align-items: center; gap: 80px; }

.texto { flex: 1; max-width: 550px; text-align: left; }
.texto h2 { font-size: 2.5rem; margin-bottom: 25px; color: #000; }
.texto h2::after { content: ''; display: block; width: 60px; height: 5px; background: #FF8C00; margin-top: 10px; }

.imagem { flex: 1; max-width: 500px; display: flex; justify-content: center; }
.imagem img { width: 100%; border-radius: 15px; box-shadow: 0 20px 40px rgba(0,0,0,0.15); }

/* 5. Marcas - Links e Hover */
.marcas { padding: 100px 0; text-align: center; background-color: #fff; }
.marcas-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 25px; margin-top: 50px; width: 100%; }

.marca-item { background-color: #f9f9f9; height: 180px; border-radius: 15px; border: 1px solid #eee; transition: 0.4s; overflow: hidden; }
.marca-item a { text-decoration: none; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; height: 100%; padding: 20px; }
.marca-item img { height: 70px; object-fit: contain; filter: grayscale(100%); opacity: 0.5; transition: 0.4s; }

.marca-item:hover { border-color: #FF8C00; transform: translateY(-8px); background-color: #fff; box-shadow: 0 10px 20px rgba(0,0,0,0.05); }
.marca-item:hover img { filter: grayscale(0%); opacity: 1; }

.marca-desc { font-size: 11px; font-weight: 700; color: #FF8C00; margin-top: 12px; opacity: 0; transition: 0.4s; text-transform: uppercase; }
.marca-item:hover .marca-desc { opacity: 1; }

/* 6. Atuação, Trabalhe Conosco e Rodapé */
.atuacao { background-color: #000; color: #fff; padding: 80px 0; text-align: center; }
.atuacao h2 { color: #FF8C00; margin-bottom: 50px; }
.numeros { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.numero h3 { font-size: 3.5rem; color: #FF8C00; margin-bottom: 25px; }

.trabalhe { background-color: #111; color: #fff; text-align: center; padding: 50px 0; }
.email-link { color: #FF8C00; font-size: 1.6rem; font-weight: 700; text-decoration: none; margin-top: 20px; display: block; }

footer { background-color: #000; color: #666; text-align: center; padding: 40px; font-size: 14px; border-top: 1px solid #222; }

/* ===== FORMULÁRIO TRABALHE CONOSCO ===== */
/* ===== SEÇÃO TRABALHE CONOSCO (GOOGLE FORMS) ===== */
.trabalhe {
  padding: 80px 0;
  background-color: #111; /* Mantendo o tom escuro do seu footer */
  color: #fff;
  text-align: center;
}

.trabalhe h2 {
  color: #FF8C00;
  margin-bottom: 20px;
}

.google-forms-container {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  background: #fff; /* Fundo branco para o formulário se destacar */
  padding: 10px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  overflow: hidden;
}

/* Ajuste de altura para mobile */
@media (max-width: 768px) {
  .google-forms-container iframe {
    height: 1000px; /* Formulários no mobile costumam ficar mais "compridos" */
  }
}

.backup-link {
  margin-top: 20px;
  font-size: 14px;
}

.backup-link a {
  color: #FF8C00;
  text-decoration: none;
  font-weight: 600;
}

.backup-link a:hover {
  text-decoration: underline;
}

/* Estilo do Bloco de E-mail do RH */
.rh-contato-direto {
  margin-top: 40px;
  padding-bottom: 20px;
}

.rh-contato-direto p {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 15px;
}

.email-rh-box {
  display: inline-flex;
  align-items: center;
  background-color: #222;
  padding: 15px 30px;
  border-radius: 50px;
  border: 1px solid #FF8C00;
  transition: 0.3s;
}

.email-rh-box:hover {
  background-color: #FF8C00;
  transform: translateY(-3px);
}

.icon-email {
  font-size: 20px;
  margin-right: 10px;
}

.email-link-rh {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
}

.email-rh-box:hover .email-link-rh {
  color: #000; /* Inverte a cor no hover para dar contraste */
}

.backup-link {
  margin-top: 25px;
  opacity: 0.7;
}

/* ===== CARROSSEL DA GALERIA (DENTRO DA NOTÍCIA) ===== */
.galeria-secao {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 40px auto;
    overflow: hidden; /* Esconde o que sai da área visível */
}

.galeria-wrapper {
    display: flex;
    gap: 15px;
    transition: transform 0.5s ease-in-out;
}

.galeria-wrapper img {
    min-width: calc((100% - 30px) / 3); /* Mostra 3 fotos por vez */
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

/* Setas da Galeria - Estilo Compacto */
.seta-galeria {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 140, 0, 0.9);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.seta-galeria:hover { background: #e67e00; transform: translateY(-50%) scale(1.1); }
.seta-galeria.esq { left: 10px; }
.seta-galeria.dir { right: 10px; }

/* Responsivo para Celular */
@media (max-width: 768px) {
    .galeria-wrapper img {
        min-width: 85%; /* No celular mostra quase uma foto inteira */
    }
}

/* 7. Animações */
.reveal { transform: translateY(40px); opacity: 0; transition: 1s ease; }
.reveal.active { transform: translateY(0); opacity: 1; }

/* WhatsApp */
.whatsapp { position: fixed; bottom: 30px; right: 30px; background: #25D366; width: 65px; height: 65px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 35px; text-decoration: none; z-index: 1000; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

/* Mobile */
@media (max-width: 992px) {
  .sobre .container, .historia .container { flex-direction: column; text-align: center; gap: 40px; }
  .texto h2::after { margin: 10px auto; }
  .hamburger { display: flex; flex-direction: column; gap: 5px; cursor: pointer; }
  .hamburger span { width: 25px; height: 3px; background: #fff; }
}
/* NOTÍCIAS */
/* ===== SEÇÃO NOTÍCIAS ===== */

.noticias {
  padding: 60px 20px;
  background: #f5f5f5;
}

.noticias h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

/* CONTAINER COM SETAS */
.noticias-container {
  display: flex;
  align-items: center;
  position: relative;
}

/* GRID */
.noticias-grid {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

/* REMOVE SCROLL BAR */
.noticias-grid::-webkit-scrollbar {
  display: none;
}

/* CARD */
.noticia-card {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: #000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

/* HOVER */
.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* IMAGEM */
.noticia-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* CONTEÚDO */
.noticia-conteudo {
  padding: 15px;
}

.noticia-conteudo h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.noticia-conteudo p {
  font-size: 14px;
  color: #555;
}

.conteudo-noticia img {
  width: 60%;
  max-width: 800px;
  display: block;
  margin: 30px auto;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* WRAPPER */
.galeria-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 30px;
}

/* GALERIA */
.galeria {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
}

/* REMOVE SCROLL BAR */
.galeria::-webkit-scrollbar {
  display: none;
}

/* IMAGENS */
.galeria img {
  min-width: 250px;
  height: 160px;
  object-fit: cover;
  border-radius: 10px;
  transition: 0.4s;
  cursor: pointer;
}

/* 🔥 HOVER ZOOM */
.galeria img:hover {
  transform: scale(1.1);
}

/* SETAS */
.seta {
  position: absolute;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 12px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 10;
  transition: 0.3s;
}

.seta:hover {
  background: #FF8C00;
}

/* POSIÇÃO */
.esquerda {
  left: 0;
}

.direita {
  right: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .galeria img {
    min-width: 180px;
    height: 120px;
  }
}

/* BOTÕES (SETAS) */
.noticias-container button {
  background: #fff;
  border: none;
  font-size: 28px;
  cursor: pointer;
  padding: 10px;
  margin: 0 5px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.noticias-container button:hover {
  background: #ddd;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .noticia-card {
    min-width: 240px;
  }

  .noticia-card img {
    height: 140px;
  }
}

/* ===== CARROSSEL NOTÍCIAS ===== */
/* ===== CARROSSEL DE NOTÍCIAS ===== */
.noticias {
  padding: 80px 0;
  background-color: #f9f9f9;
  overflow: hidden; /* Garante que nada escape da seção */
}

.carrossel-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
}

/* Esconde as notícias que estão "fora" da tela */
.noticias-overflow {
  width: 100%;
  overflow: hidden;
  padding: 15px 5px;
}

/* O "trilho" que desliza */
.noticias-wrapper {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

/* Configuração para mostrar 3 cards (considerando os gaps de 20px) */
.noticia-card {
  min-width: calc((100% - 40px) / 3); 
  max-width: calc((100% - 40px) / 3);
  background: #fff;
  border-radius: 15px;
  text-decoration: none;
  color: #333;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  flex-shrink: 0; /* Impede que o card esmague */
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.noticia-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
}

.noticia-conteudo {
  padding: 20px;
}

.noticia-conteudo h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #000;
}

/* Setas Fixas nas laterais */
.noticias .seta {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #FF8C00;
  border: none;
  color: #fff;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(255,140,0,0.3);
  transition: 0.3s;
}

.noticias .seta:hover {
  background-color: #e67e00;
  transform: translateY(-50%) scale(1.1);
}

.noticias .esquerda { left: -22px; }
.noticias .direita { right: -22px; }

/* Responsividade Mobile */
@media (max-width: 992px) {
  .noticia-card {
    min-width: calc((100% - 20px) / 2); /* 2 cards em tablets */
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 600px) {
  .noticia-card {
    min-width: 100%; /* 1 card em celulares */
    max-width: 100%;
  }
  .noticias .esquerda { left: 5px; }
  .noticias .direita { right: 5px; }
}