/* Reset de estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; /* Light */
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: black;
}

/* Top Bar */
/* Wrapper do topo */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: fixed;
  top: 10px;
  width: 100%;
 
  padding: 10px 20px;
  z-index: 1000;
  height: auto;
}

/* Agrupador hamburguer + ícones */
.top-right {
  display: flex;
  background-color: rgba(0, 0, 0, 0);
  padding: 10px;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

/* Hamburguer */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 22px;
  height: 15px;
  cursor: pointer;
}
.hamburger div {
  width: 100%;
  height: 2px;
  background-color: #0509ee;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Ícones sociais em coluna */
.social-icons {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.social-icons a {
  color: #0509ee;
  font-size: 18px;
  text-decoration: none;
}
.social-icons a:hover {
  color: #fff;
}


/* Menu */
.menu {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; /* Light */
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100vh;
    padding: 20px;
    border-radius: 0;
    z-index: 1000;
    gap: 15px;
    overflow-y: auto;
}

.menu.open {
    display: flex;
}

.menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

.menu a:hover {
    color: #b18214;
    
}

.close-menu {
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    align-self: flex-end;
}

/* Full Width Image */
.full-width-image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.full-width-image img {
    width: 100%;
    height: auto;
    max-height: 800px;
    display: block;
    object-fit: cover;
}

/* Texto sobreposto para telas grandes */
.text-item {
    font-family: 'Open Sans', sans-serif;
    position: absolute;
    color: #fff;
    padding: 8px 12px;
    border-radius: 0px;
    font-size: 1.2em;
    max-width: 200px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.7);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards, float 3s ease-in-out infinite;
}

/* Posições */
.item1 { top: 10%; left: 5%; animation-delay: 0.3s; }
.item2 { top: 10%; right: 5%; animation-delay: 0.6s; }
.item3 { bottom: 10%; left: 5%; animation-delay: 0.9s; }
.item4 { bottom: 10%; right: 5%; animation-delay: 1.2s; }

/* Animação */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    padding: 0px 0px;
    text-align: center;
    background-color: #000000;
}

section h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #fff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    margin-bottom: 20px;
    letter-spacing: 3px;
}

section p {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300; /* Light */
    font-size: 18px;
    color: #fff;
    line-height: 1.4;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    max-width: 900px;
    margin: 0 auto;
}

.lema {
    background-color: #b18214;
    /*background-color: #B1975A; */
}

/* Missão, Visão, Valores */
#mvv {
    background-color: #000000;
    color: #fff;
    overflow: hidden;
}

.mvv-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 8s ease-out forwards;
}

.mvv-item {
    flex: 1;
    max-width: 30%;
    padding: 20px;
}

.mvv-item h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #f8f9fa;
    margin-bottom: 15px;
}

.mvv-item p {
    font-size: 16px;
    color: #ccc;
    line-height: 1.6;
}

/* Animação Fade-in */
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botão Ir ao Topo */
.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #111;
    color: #0509ee;
    border: none;
    padding: 10px 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 5000;
    transition: background-color 0.3s ease;
}

.back-to-top:hover {
    background-color: #333;
}

/* Seção duas colunas */
.container-duas-colunas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 60px 20px;
  gap: 40px;
  background-color: #111;
  color: #fff;
}

.container-duas-colunas .coluna {
  flex: 1;
  min-width: 350px;
  max-width: 48%;
}

.container-duas-colunas h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  margin-bottom: 15px;
  color: #C39828;
}

.container-duas-colunas p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  white-space: pre-line;
}

.container-duas-colunas .coluna:first-child {
  text-align: left;
}

.container-duas-colunas .coluna:last-child {
  text-align: right;
}

/* SEÇÕES RESPONSIVAS COM IMAGEM E TEXTO */
    .secao.responsiva {
      position: relative;
      height: 750px;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 15px;
      text-align: justify;
      background-color: rgba(0, 0, 0, 1);
    }
    .secao.responsiva .imagem-mobile {
      display: none;
    }
    .secao.responsiva .conteudo {
      background-color: rgba(0, 0, 0, 1);
      color: white;
      padding: 15px;
      border-radius: 0px;
      max-width: 95%;
    }

.caixas-interativas {
  background-color: #332d2d;
  color: #fff;
  padding: 60px 40px;
  max-width: 100%;
}

.caixas-interativas h2 {
  text-align: center;
  margin-bottom: 40px;
  font-family: 'Playfair Display', serif;
  color: #C39828;
}

.caixas-interativas .card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

/* Cada card horizontal */
.card {
  display: flex;
  flex-direction: column;
  border: 1px solid #444;
  border-radius: 6px;
  overflow: hidden;
  background-color: #111;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 0 10px #c3982880;
}

.card-header {
  width: 100%;
  background-color: #111;
  color: #C39828;
  padding: 15px 20px;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  border: none;
  text-align: center;
  cursor: pointer;
}

.card-body {
  background-color: #1a1a1a;
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s;
}

.card-body p {
  padding: 15px 0;
  margin: 0;
  font-size: 14px;
  color: #ccc;
}

.card.active .card-body {
  max-height: 500px;
  padding: 15px 20px;
}


.produtos-servicos {
  background-color: #000;
  padding: 60px 20px;
  text-align: center;
  color: #fff;
  font-family: 'Playfair Display', serif;

}

.grid-produtos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.produto {
  position: relative;
  height: 200px;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.produto:hover {
  transform: scale(1.03);
}

.produto .overlay {
  background-color: rgba(0,0,0,0.5);
  padding: 20px;
  position: absolute;
  bottom: 0;
  width: 100%;
  text-align: left;
}

.produto h3 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  color: #C39828;
}

.produto p {
  font-size: 14px;
  margin-top: 5px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 5000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-content {
  background-color: #111;
  padding: 30px;
  max-width: 1000px;
  width: 90%;
  border-radius: 10px;
  color: #fff;
  position: relative;
}

.fechar {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

.quem-somos {
  background-color: #333333;
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.quem-somos h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #C39828;
  margin-bottom: 20px;
}

.quem-somos p {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}




@media (max-width: 768px) {
    /* Top Bar empilhada */
    .top-bar {
        flex-direction: column;
        align-items: flex-end;
        height: auto;
        padding: 10px;
    }
    .top-right {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .social-icons {
        justify-content: center;
        width: 100%;
        margin-bottom: 10px;
    }

    .hamburger {
        align-self: flex-end;
        margin-top: -10px;
    }

    /* Texto sobre imagem — mobile */
    .text-item {
        position: static !important;
        width: 90%;
        max-width: 90%;
        margin: 10px auto;
        background-color: rgba(0, 0, 0, 0.6);
        padding: 10px;
        font-size: 1em;
        word-break: break-word;
        text-align: center;
        animation: none;
        opacity: 1;
        transform: none;
    }

    /* Texto centralizado em sobreposição */
    .especial-overlay .text-overlay {
        position: static;
        transform: none;
        padding: 15px;
        font-size: 1.2em;
        background-color: rgba(0, 0, 0, 0.6);
        margin-top: 10px;
    }

    .especial-overlay img {
        max-height: none;
    }

    /* Reduz fonte da seção "home" */
    .lema h1 {
        font-size: 24px;
    }

    .lema p {
        font-size: 16px;
    }

    /* Missão, Visão e Valores empilhados */
    .mvv-container {
        flex-direction: column;
        align-items: center;
    }

    .mvv-item {
        max-width: 90%;
        padding: 15px;
    }

    .mvv-item h2 {
        font-size: 20px;
    }

    .mvv-item p {
        font-size: 14px;
    }

    /* Seção contato empilhada */
    .contact-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-form, .contact-details {
        max-width: 100%;
    }

    /* Botão topo reposicionado */
    .back-to-top {
        bottom: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 16px;
    }

    /* Footer responsivo */
    footer {
        padding: 20px;
        text-align: center;
    }

    footer div {
        flex-direction: column;
        align-items: center;
    }

    footer p {
        font-size: 12px;
    }
     .secao.responsiva {
        background: none !important;
        display: block;
        height: auto;
        padding: 0;
      }
      .secao.responsiva .imagem-mobile {
        display: block;
        height: 300px;
        background-size: cover;
        background-position: center;
      }
      .secao.responsiva .conteudo {
        background: #000000;
        color: #000;
        text-align: left;
        padding: 30px 20px;
      }
      .secao.responsiva .conteudo h1 {
        font-size: 24px;
      }
      .secao.responsiva .conteudo p {
        font-size: 16px;
        line-height: 1.6;
      }

      /* container duas colunas */

  .container-duas-colunas {
    flex-direction: column;
    padding: 40px 15px;
  }

  .container-duas-colunas .coluna {
    max-width: 100%;
  }

  .container-duas-colunas h2 {
    font-size: 22px;
  }

  .container-duas-colunas p {
    font-size: 15px;
  }
}
