/*
Theme Name: MerakiArtsBrasil-RFSC
Theme URI: https://www.merakiartsbrasil.com
Author: Meraki Arts Brasil
Author URI: https://www.merakiartsbrasil.com
Description: Tema personalizado.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: Meraki Arts Brasil
*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body, html {
  font-family: "Open Sans", sans-serif;
      scroll-behavior: smooth;
      background-color: #DCDDDE;
    }

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  max-width: 100%;
}


main {
    flex: 1; /* Faz o conteúdo principal ocupar o espaço restante */
    min-height: 100vh;
    height: auto;
}

    header {
      background: transparent;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0px 0%;
      position: absolute;
      width: 100%;
      z-index: 10;
    }

    .logo {
      flex: 0 0 0%;
      text-align: center;
    }

    .nav {
      flex: 0 0 50%;
      display: flex;
      justify-content: center;
      gap: 20px;
    }

    .nav a {
      text-decoration: none;
      color: #fff;
      font-weight: bold;
    }
    
    .nav a:not(:last-child)::after {
  content: " | ";
  margin: 0 10px; /* Espaço ao redor do separador */
  color: #fff;  /* Cor do separador */
}


    .social {
      flex: 0 0 12%;
      text-align: right;
      padding-right: 2%;
    }

    .social i {
      margin-left: 10px;
      font-size: 1.2rem;
      color: #fff;
    }

    .hero {
    height: 90vh;
    background: url(images/fundoinicio.jpg) center / cover no-repeat;
    display: flex;
    align-items: center; /* centraliza verticalmente */
    justify-content: left;
    padding: 0 5%;
    text-align: left;
}


    .hero-text {
      width: 50%;
      padding: 20px;
      animation: fadeIn 2s ease-out;
    }
    
    h1.slogantitke {
    color: #fff;
    font-size: 3em;
}

p.slogantext {
    color: #fff;
    font-size: 1.4em;
}

    section#sobre-escritorio {
    background-color: #F1F2F2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* Permite que a altura seja automática com base no conteúdo */
    padding: 60px 0%; /* ou outro valor confortável */
    display: flex;
    flex-direction: column;
    justify-content: center;
    }

    .caixas {
    display: flex;
    justify-content: space-around;
    padding: 50px 5%;
    min-height: 180px;
    height: auto;
    }

    .caixa {
      width: 80%;
      padding: 20px;
      background: #DCDDDE;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, opacity 0.3s ease;
      white-space: pre-wrap;
      padding-left: 5%;
      padding-right: 5%;
    }

    .caixa:hover {
      transform: translateY(-5px);
      opacity: 0.9;
    }
    
    .caixa.caixa1, .caixa.caixa2, .caixa.caixa3 {
    background-size: cover !important;
    background-position: top !important;
    margin-top: -15%;
    max-height: 350px;
}
    
    .caixa p {
    color: #000031;
    line-height: normal;
    letter-spacing: normal;
    }

    .caixas h3 {
    color: #fff;
    margin: 5%;
    font-size: 1.4em;
    font-weight: 600;
    }

    .caixa i {
      font-size: 2rem;
      margin-bottom: 10px;
      display: block;
    }

    .caixa.\31 st {
    background-color: orange;
    background-size:cover;
    }

    .caixa.\32 nd {
    background-color: pink;
    background-size:cover;
    }

    .caixa.\33 rd {
    background-color: green;
    background-size:cover;
    }

    .texto-imagem {
    display: flex;
    align-items: center;
    padding: 100px 5%;
    gap: 40px;
    background-color: transparent;
    height: 300px;
    margin-top: 10%;
    margin-bottom: 10%;
    }

    .texto {
      flex: 0 0 70%;
      color: #000031;
    }

    .imagem {
      flex: 0 0 20%;
    }

    .imagem img {
      width: auto;
      height: 402px;
      border-radius: 8px;
    }


/* Animações específicas */
.caixa1 {
  animation: slideFromLeft 1s ease-out forwards;
  animation-delay: 0.2s;
}

.caixa2 {
  animation: slideFromBottom 1s ease-out forwards;
  animation-delay: 0.4s;
  width: 80%;
}

.caixa3 {
  animation: slideFromRight 1s ease-out forwards;
  animation-delay: 0.6s;
}

/* Keyframes */
@keyframes slideFromLeft {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromRight {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideFromBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


    section.servicos {
      background-image: url("images/fundoservicos.jpg");
      background-size: cover;
      display: flex;
      padding: 100px 5%;
      gap: 40px;
      height: auto;
    }

.container-categorias {
    display: flex;
    position: relative;
    gap: 40px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.coluna {
    flex: 1;
    min-width: 300px;
}

.categoria h3 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 10%;
}

.posts-box {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: left;
}

.post-item {
    width: calc(33.333% - 14px); /* 3 per line with spacing */
    text-align: center;
}

.post-item a {
    text-decoration: none !important;
}

.thumb img {
    width: 148px;
    height: auto;
    display: block;
    margin: 0 auto 10px;
}

.post-title {
    font-size: 1rem;
    margin: 0;
    color: #58595B;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Vertical Separator */
.separator {
    width: 2px;
    background-color: #FEDA6A;
    height: auto;
}


section.contato {
    background-size: 100%;
}

section#contato h2 {
    font-size: 1.5em;
}

#contato h2 {
    background-size: auto;
    background-position: left;
    background-repeat: no-repeat;
    color: #fff;
    text-align: left;
    margin-bottom: 10px;
}


.fa-brands, .fab {
    font-weight: 900;
    color: #6e5b25;
}

.fa-solid, .fas {
    font-weight: 900;
    color: #6e5b25;
}

    .contato-info {
      display: flex;
      gap: 40px;
      padding-top: 40px;
      background: #000031;
      padding: 20px;
     padding: 50px 2% 30px;
     color: #fff;
    }

    .contato-esquerda {
      width: 35%;
      display: flex;
  justify-content: center;
  align-items: center;
    }
    
    .contato-esquerda h3 {
    font-size: 2em;
    margin-bottom: 5%;
}

.contato-esquerda p {
    padding-bottom: 10px;
    font-weight: 600;
    font-size: 1em;
}


    .contato-direita {
      width: 65%;
    }

    .contato-esquerda i {
      margin-right: 10px;
    }


    footer {
      text-align: center;
      justify-content: space-between;
      padding: 20px 5%;
      background: #00001F;
      color: #fff;
      flex-wrap: wrap;
      align-items: center;
    }

    @keyframes fadeIn {
      0% { opacity: 0; transform: translateY(20px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 768px) {
      header, .hero, section.caixas, section.texto-imagem, section.servicos, .contato-info, footer {
        flex-direction: column;
        text-align: center;
      }

      .hero-text, .caixa, .texto, .imagem, .categoria, .contato-esquerda, .contato-direita {
        width: 100%;
      }
      
      .hero-text {
          padding-top: 200px;
      }
      
      .nav a:not(:last-child)::after {
    display: none;
}

.nav {
    padding: 0px 5%;
}

.caixas {
    display: block;
    justify-content: space-around;
    padding: 0px 0%;
    min-height: 255px;
    height: auto;
    width: 100%;
    margin: 0 auto;
}

.container-categorias {
        display: flex;
        position: relative;
        gap: 40px;
        margin: 50% 0 10% 0;
        flex-wrap: wrap;
    }
    
    section.contato {
    background-size: 100%;
}

article.post {
    display: block;
    padding: 5% 5% !important;
    font-family: 'Open Sans';
    font-size: inherit;
}

.separator {
    width: 2px;
    background-color: #FEDA6A;
    height: auto;
    display: none;
}

.post-item {
    width: 45%;
    text-align: center;
    margin: 0 auto;
}

section#contato h2 {
    font-size: 1em;
}

#contato h2 {
    background-position: left;
    background-repeat: no-repeat;
    color: #fff;
    text-align: left;
    border-radius: 0px;
    margin-bottom: 0px;
}

  .texto-imagem {
    flex-direction: column;
    padding: 1rem;
  }

  .imagem, .texto {
    width: 100%;
    max-width: 100vw;
  }

  .imagem img.Kaline {
    width: 100%;
    height: auto;
  }

  .conteudo {
    padding-top: 1rem;
  }


.caixa.caixa1, .caixa.caixa2, .caixa.caixa3 {
    background-size: cover !important;
    background-position: top !important;
    margin-top: -15%;
    min-height: 350px;
    width: 100% !important;
    margin: 0 auto;
}

      .icone-box div {
        width: 45%;
        margin: auto;
      }
    }
    

    .social a {
  text-decoration: none;
}

article.post {
    display: block;
    padding: 2% 5%;
    font-family: 'Open Sans';
    font-size: 14px;
}

.post-header.mb-4 {
    margin-bottom: 2%;
}

.post-footer {
    margin-top: 5%;
}

section.post-content.mb-5 p {
    text-align: justify;
    line-height: 150%;
    font-size: inherit;
    font-family: 'Open Sans';
    letter-spacing: 1px;
}


section.pagina-servicos {
    display: block;
    padding: 5%;
    font-family: 'Open Sans';
    font-size: inherit;
}

section.pagina-servicos a {
    text-decoration: none !important;
}

.card-servico > a,
.card-servico > a:visited,
.card-servico > a:hover,
.card-servico > a:focus,
.card-servico > a:active {
  text-decoration: none !important;
  color: #000 !important;
    font-size: 1em !important;
}

/* Container geral */
.container-servicos {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Grid responsivo com 4 por linha em telas grandes */
.grid-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Card individual */
.card-servico {
  background-color: transparent;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  transition: transform 0.3s ease;
  text-align: center;
}

.card-servico:hover {
  transform: translateY(-4px);
}

/* Imagem */
.thumb-servico img {
  display: inline-block;
  height: auto;
  width: auto;
  max-width: 100%;
  max-height: 180px; /* Limita a altura para evitar imagens gigantes */
  margin: 0 auto;
}

/* Título do serviço */
h3.titulo-card {
  font-size: 1.1em;
  padding: 16px;
  margin: 0;
}

/* Links do título */
h3.titulo-card a,
h3.titulo-card a:visited,
h3.titulo-card a:hover,
h3.titulo-card a:focus,
h3.titulo-card a:active {
  text-decoration: none;
  color: #333;
  display: block;
}

.conteudo-servicos {
    margin: 2% 0% 5% 0%;
    text-align: center;
}

h1.titulo-servicos {
    text-align: center;
}


/* Estilo do contêiner do formulário */
.wpforms-form {
  max-width: 100%;
  margin: 0 auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Estilo dos campos de entrada */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.wpforms-form textarea {
    min-height: 100px;
    height: auto;
      width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  margin-bottom: 15px;
}

/* Estilo dos rótulos */
.wpforms-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

/* Estilo do botão de envio */
.wpforms-form button[type="submit"] {
    background-color: #FEDA6A;
    color: #181F3D;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
    font-weight: bold;
}


.wpforms-form button[type="submit"]:hover {
  background-color: #005177;
  color: #fff;
}

.wpforms-field-label {
  display: none !important;
}

.wpforms-field-hp {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}

.contato-esquerda {
  position: relative;
}

.contato-esquerda::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background-color: #FEDA6A;
}

.social .search-form {
  position: relative;
  width: 200px; /* Ajuste a largura que quiser */
}

.social .search-field {
  width: 100%;
  padding: 5px 40px 5px 12px; /* espaço à direita para o botão */
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 12px;
  box-sizing: border-box;
}

.social .search-submit {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social .search-submit img {
  width: 19px; /* Ajuste o tamanho */
  height: auto;
  display: block;
}

main.container.mt-5 {
    margin: 6% 5%;
}

@media (max-width: 768px) {
    .hero {
        padding: 50% 5%;
        background-position: center top;
        text-align: center;
        height: 75vh !important;
    }

  .hero-text {
    width: 100%;
    padding: 10px;
  }

  h1.slogantitke {
    font-size: 2em;
  }

  p.slogantext {
    font-size: 1.2em;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .texto-imagem {
    flex-direction: column;
    padding: 30px 5%;
    height: auto;
  }

  .imagem img {
    width: 100%;
    height: auto;
  }

  .texto, .imagem {
    flex: 0 0 100%;
  }

  .caixas {
    flex-direction: column;
    padding: 30px 5%;
  }

  .caixa {
    width: 100%;
    margin-bottom: 20px;
    padding: 20px;
  }

  .caixa.caixa1, .caixa.caixa2, .caixa.caixa3 {
    margin-top: 0;
    max-height: none;
  }

  .social {
    padding-right: 0;
    text-align: center;
  }
  

header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

}

@media (max-width: 480px) {
  h1.slogantitke {
    font-size: 1.8em;
  }

  p.slogantext {
    font-size: 1em;
  }

  .nav a {
    font-size: 0.9em;
  }

  .caixa p {
    font-size: 0.95em;
  }
  
  main.container.mt-5 {
    margin: 20% 5%;
}
  

header {
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

}

@media screen and (max-width: 768px) {
  .contato-info {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .contato-esquerda,
  .contato-direita {
    flex: 1 1 100%;
    max-width: 100%;
    padding: 10px;
    text-align: center;
  }

  .contato-esquerda img {
    max-width: 80%;
    height: auto;
    margin-bottom: 20px;
  }

  .contato-direita h2 {
    font-size: 1.5rem;
  }

  .contato-direita form {
    width: 100%;
  }

}

@media screen and (max-width: 768px) {
  .contato-esquerda {
    position: relative; /* garante que ::after se posicione corretamente */
  }
  
  .contato-esquerda::after {
    top: auto;       /* remove top fixo */
    right: auto;     /* remove right fixo */
    bottom: 0;       /* fixa na parte de baixo */
    left: 0;         /* inicia da esquerda */
    width: 100%;     /* linha horizontal ocupa toda largura */
    height: 2px;     /* altura da linha horizontal */
    background-color: #FEDA6A;
    position: absolute;
  }
}


/* Estilo padrão: menu sempre visível */
.nav {
  display: flex;
  gap: 0px;
}

/* Botão de menu escondido no desktop */
.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Esconde o menu no mobile por padrão */
@media (max-width: 768px) {
  .nav {
    display: none;
    flex-direction: column;
    background-color: #000031; /* só um exemplo */
    position: absolute;
    top: 60px; /* abaixo do header */
    right: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
  }
  
  /* Mostrar o menu quando tiver a classe "active" */
  .nav.active {
    display: flex;
  }
  
  /* Exibir o botão do menu */
  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
  }
}


@media (max-width: 768px) {
  header {
    display: block;
    justify-content: space-between; /* logo esquerda, botão direita */
    align-items: center;
    padding: 0 15px;
    height: 60px; /* ajuste conforme seu header */
    background-color: #000031; /* só exemplo */
  }

  .logo {
    flex: 0 0 auto;
    float: left;
  }
  
  .texto p {
    font-size: 14px;
}

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    float: right;
  }

  .nav {
    display: none; /* esconde menu por padrão */
    flex-direction: column;
    position: absolute;
    top: 60px; /* logo + header altura */
    right: 0;
    width: 100%;
    background-color: #000031; /* mesma cor do header */
    text-align: center;
    padding: 0px 0;
    z-index: 9999;
  }

  .nav.active {
    display: flex;
  }

  .social {
    display: none; /* esconde busca no mobile */
  }
  
    section#sobre-escritorio {
    background-color: #F1F2F2;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 10px 0%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
  
}

@media (min-width: 769px) {
  .logo {
    flex: 0 0 0%;
    text-align: center;
    padding-left: 2%;
  }
}


@media only screen and (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {

  /* Exemplo: Ajustar layout do header */
  header {
    flex-direction: column;
    padding: 10px 5%;
    align-items: center;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
  }

  .hero {
    height: auto;
    padding-top: 150px;
    padding-bottom: 80px;
    text-align: center;
    justify-content: center;
  }

  .hero-text {
    width: 90%;
    padding: 10px;
  }

  h1.slogantitke {
    font-size: 2.2em;
  }

  p.slogantext {
    font-size: 1.2em;
  }

  .caixas {
    flex-direction: column;
    align-items: center;
    padding: 20px 5%;
  }

  .caixa {
    width: 100%;
    margin-bottom: 30px;
  }

  .texto-imagem {
    flex-direction: column;
    height: auto;
    padding: 50px 5%;
    margin-top: 0;
    margin-bottom: 0;
  }

  .imagem img {
    height: auto;
    max-width: 100%;
  }

  .container-categorias {
    flex-direction: column;
    gap: 20px;
  }

  .post-item {
    width: 100%;
  }

  .contato-info {
    flex-direction: column;
  }

  .contato-esquerda, .contato-direita {
    width: 100%;
  }

  footer {
    text-align: center;
  }
}

.hero-text {
    color: #fff; /* Garante que o texto herde cor branca */
    padding: 40px 20px; /* opcional: adiciona espaço interno */
}

.slogantitke {
    color: #fff;
    font-size: 2rem; /* ajuste conforme o tamanho desejado */
    position: relative;
    display: inline-block; /* importante para limitar o sublinhado apenas ao texto */
    margin-bottom: 20px; /* espaço abaixo do título */
}

.slogantitke::after {
    content: "";
    position: absolute;
    bottom: -5px; /* distância da linha para o texto */
    left: 0;
    height: 2px;
    width: 100%;
    background-color: #FEDA6A;
    margin-left: -15%;
}
  
.slogantext {
    color: #fff;
    font-size: 1.2rem; /* opcional: ajuste de tamanho */
    margin-top: 0;
}

#sobre-escritorio {
    scroll-margin-top: 15vh; /* ou ajuste conforme necessário */
}

h1.display-5 {
    font-size: inherit;
}

article.post.mb-5 h2 {
    font-size: inherit;
}
