/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
    /* Faz a rolagem ser suave ao usar âncoras (links internos) */
    scroll-behavior: smooth; 
}

/* Corpo base */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fafafa;
}

.container {
  width: 90%;
  max-width: 800px;
  margin: auto;
  padding: 20px;
}

/* Cabeçalho */
.site-header {
  background-image:url(/img/fundo4.jpeg);
  border-bottom: 1px solid #6c00f8;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
/* linha divisora de serviço da home*/
.divisor-servicos {
    border: 0; /* Remove a borda padrão */
    height: 2px; /* Define a altura da linha */
    background-color: #ddd; /* Cor cinza claro para a linha */
    width: 100%; /* Linha mais curta que a largura total para um visual mais elegante */
    margin: 50px auto; /* Centraliza a linha e adiciona margem acima e abaixo */
}

.site-title {
  font-size: 1.5rem;
  color: #fefaff;
}

.site-nav ul {
  list-style: none;
}

.site-nav li {
  display: inline;
  margin-left: 20px;
}

.site-nav a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
}

.site-nav a:hover {
  color: #ffffff;
}

/* Posts */
.post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 40px 0;
}

.post-sobre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 40px 0;
   
}

.post-image {
  flex: 1;
  min-width: 200px;
  margin: 10px;
}

.post-image img {
  width: 100%;
  height: auto;
}
.buy-checklist h2 {
  font-size: 1.6rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.buy-checklist .lead {
  color: #3f3e3e;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* grid de cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  
}
.cards-grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  
}

/* estilo dos cards */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: #caeaf7;
}


.card2 {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
  background-color: rgb(205, 230, 148);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card h3 {
  font-size: 1.1rem;
  color: #3b3326;
  margin-bottom: 10px;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.4;
}

/* mobile otimizado */
@media (max-width: 520px) {
  .card {
    padding: 15px;
  }
 }




 .categorias-destaque{
  flex: 1;
  min-width: 200px;
  margin: 10px;

 }
 .cards-grid-categorias img{
  width: 50%;
  height: auto;
 }
/* SEÇÃO ADICIONADA*/


.lista-modelos {
  list-style: none;
  padding: 0;
}

.lista-modelos li {
  background: #f9f9f9;
  margin: 1rem 0;
  padding: 1rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.lista-modelos a {
  display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  padding: 6px 12px;
  background: #0966d1;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.lista-modelos a:hover {
  background: #0966d1;
}




.post-content {
  flex: 2;
  min-width: 200px;
  margin: 10px;
}

.post-image.left {
  order: 0;
}

.post-content.left {
  order: 1;
}

.post-image.right {
  order: 1;
}

.post-content.right {
  order: 0;
}

.post.center .post-image,
.post.center .post-content {
  width: 100%;
  text-align: center;
}

.post.center .post-image {
  margin: auto;
}
.post-content a {   
 display: inline-block;
  margin-right: 10px;
  margin-top: 5px;
  padding: 6px 12px;
  background: #0966d1;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s ease;
}

.lista-modelos a:hover {
  background: #0966d1;
}


/* Anúncios */
.ad-section {
  margin: 30px 0;
  text-align: center;
}

.ad-placeholder {
  background-color: #ffffff;
  border: 1px dashed #999;
  padding: 20px;
  color: #666;
}

/* Formulário de Contato */

.contact-section {
  margin: 40px 0;

}

.contact-section h2 {
  margin-bottom: 20px;
  
}

.contact-section form label {
  display: block;
  margin: 10px 0 5px;
}

.contact-section form input,
.contact-section form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #dadada;
  border-radius: 4px;
}

.contact-section form button {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #06b96f;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.contact-section form button:hover {
  background-color: #555;
}

#statusMessage {
  margin-top: 15px;
  color: green;
}

/* Rodapé */
.site-footer {
  background-color: #ffffff;
  border-top: 1px solid #ddd;
  padding: 20px 0;
  text-align: center;
  margin-top: 40px;

}

.site-footer p {
  color: #666;
  font-size: 1.0rem;
}

.footer-content {
  max-width: 400px;
  margin: 0 auto;
  padding-bottom: 20px; /* Adiciona espaço abaixo do conteúdo */
  margin-bottom: 20px;  /* Adiciona espaço abaixo da linha divisória */
   border-bottom: 1px solid #ccc; /* Linha cinza clara de 1 pixel */
    text-align: center; 
}


.footer-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 3px solid #0b8a75;
}

.footer-name {
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.footer-profession {
  font-weight: 500;
  font-size: 1rem;
  margin: 0.2rem 0 0.8rem;
  color: #6c8262;
}

.footer-text {
  font-size: 0.9rem;
  line-height: 1.4;
  color: #3b3326;
}
/* ================================================= */
/* ESTILOS PARA O BOTÃO WHATSAPP BUSINESS */
/* ================================================= */

.whatsapp-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.whatsapp-container p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
}

.whatsapp-btn {
    display: inline-flex; /* Permite alinhar o ícone e o texto */
    align-items: center;
    justify-content: center;
    
    background-color: #25D366; /* Verde oficial do WhatsApp */
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 30px; /* Botão arredondado */
    font-size: 1.1em;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, transform 0.2s;
}

.whatsapp-btn:hover {
    background-color: #1DA851; /* Verde um pouco mais escuro ao passar o mouse */
    transform: translateY(-2px); /* Efeito sutil para indicar clique */
}

.whatsapp-btn i {
    font-size: 1.3em;
    margin-right: 10px; /* Espaço entre o ícone e o texto */
}
.share-bar-container {
    /* POSICIONAMENTO FIXO E FLUTUANTE */
    position: fixed; /* Fixa o elemento na tela */
    top: 30%; /* Posição vertical: 30% a partir do topo */
    right: 0; /* Posição horizontal: Colado na borda esquerda */
    z-index: 100; /* Garante que fique acima de outros elementos */
    
    /* ESTILIZAÇÃO VISUAL */
    /* Fundo branco 
    border: 1px solid #ddd;
    padding: 10px 5px;
    border-radius: 0 5px 5px 0; /* Borda arredondada apenas à direita 
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);*/
}

.share-bar-container p {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 3px;
}

.share-btn {
    display: block; /* Cada botão em uma linha separada */
    text-align: center;
    padding: 4px;
    margin: 5px 0;
    color: white; /* Cor do ícone/texto */
    text-decoration: none; /* Remove sublinhado */
    border-radius: 7px;
    transition: background-color 0.3s; /* Animação suave ao passar o mouse */
}

/* CORES DOS BOTÕES */
.whatsapp { background-color: #25D366; }
.facebook { background-color: #1877F2; }
.instagram { 
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}


.share-btn:hover {
    opacity: 0.8; /* Escurece um pouco ao passar o mouse */
}
#cookie-banner {
    position: fixed; /* Fixa no canto da tela */
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #141212; /* Fundo escuro */
    color: rgb(255, 255, 255);
    padding: 15px 20px;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(255, 255, 255, 0.904);
    z-index: 1000;
}

#cookie-banner p {
    margin: 0;
    display: inline;
    margin-right: 20px;
}

#accept-cookies {
    background-color: #007bff; /* Azul vibrante */
    color: white;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    border-radius: 4px;
}


/* 1. SEÇÃO DE APRESENTAÇÃO E SERVIÇOS (TOPO DA HOME) */
/* ================================================= */

.apresentacao-servicos {
    padding: 40px 0;
    text-align: center;
}

.apresentacao-servicos h2 {
    font-size: 2.2em;
    color: #333; /* Cor principal */
    margin-bottom: 10px;
}

.introducao-site {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Layout para Serviços e Parceria (Dois Lados) */
.servicos-parceria-grid {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    gap: 20px;
    text-align: left;
}

.servicos-box, .parceria-box {
    flex: 1; /* Permite que ambos ocupem o mesmo espaço em telas grandes */
    min-width: 300px; /* Garante que não fiquem muito estreitos */
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.servicos-box {
    background-color: #f8f8ff; /* Cor clara para a caixa de serviços */
    border-left: 5px solid #007bff; /* Detalhe da cor primária */
}

.parceria-box {
    background-color: #fff8f5; /* Cor clara para a caixa de parceria (para diferenciar) */
    border-left: 5px solid #ff9900; /* Cor da Amazon ou destaque */
}

.servicos-box h3, .parceria-box h3 {
    margin-top: 0;
    font-size: 1.4em;
    color: #007bff; /* Cor primária */
}

.servicos-box ul {
    list-style: none;
    padding: 0;
}

.servicos-box li {
    margin-bottom: 10px;
    line-height: 1.4;
    color: #444;
}

.servicos-box li i {
    margin-right: 8px;
    color: #007bff;
}

.btn-cta-amazon {
    display: inline-block;
    background-color: #ff9900;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-cta-amazon:hover {
    background-color: #cc7a00;
}

/* ================================================= */
/* 2. GRID RESPONSIVO DE ARTIGOS (CONTEÚDO DO BLOG) */
/* ================================================= */

.ultimos-artigos {
    padding: 40px 0;
}

.ultimos-artigos h2 {
    text-align: center;
    font-size: 2em;
    margin-bottom: 10px;
}

.chamada-grid {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Estilo Principal do GRID */
.artigos-grid-responsivo {
    display: grid;
    /* Essa linha é a mágica da responsividade:
       Cria colunas de tamanho mínimo 300px e máximo 1fr (igualmente distribuídas) */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px; /* Espaço entre os cards */
}

.artigo-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden; /* Garante que a imagem se ajuste ao raio da borda */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.artigo-card:hover {
    transform: translateY(-5px); /* Efeito sutil ao passar o mouse */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.artigo-card a {
    text-decoration: none;
    color: inherit;
    display: block; /* Garante que o link ocupe todo o card */
}

.card-image {
    width: 100%;
    height: 200px; /* Altura fixa para as imagens */
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
    display: block;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 1.3em;
    color: #333;
    margin-top: 0;
    margin-bottom: 8px;
}

.card-info p {
    color: #666;
    font-size: 0.95em;
    margin-bottom: 10px;
}

.card-tag {
    display: inline-block;
    background-color: #e0f7fa; /* Fundo claro para o tema */
    color: #00bcd4; /* Cor do texto do tema */
    font-size: 0.8em;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card-link {
    display: block;
    color: #007bff; /* Cor primária para o link */
    font-weight: bold;
    font-size: 0.9em;
    margin-top: 10px;
}


/* ================================================= */
/* MEDIA QUERIES (PARA RESPONSIVIDADE EM TELAS PEQUENAS) */
/* ================================================= */

@media (max-width: 650px) {
    /* Em telas muito pequenas, as caixas de serviço e parceria se empilham */
    .servicos-parceria-grid {
        flex-direction: column;
    }
    
    .servicos-box, .parceria-box {
        min-width: 100%;
    }

    .apresentacao-servicos h2 {
        font-size: 1.8em;
    }

    /* O grid de artigos já se adapta graças ao 'minmax',
       mas podemos garantir que ele fique mais apertado em celulares. */
    .artigos-grid-responsivo {
        /* Garante que o grid use o auto-fit com tamanho mínimo menor em celulares */
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* === SEÇÃO PROJETOS RECENTES === */
.projetos-recentes {
  background-color: #fff;
  padding: 60px 20px;
  text-align: center;
  color: var(--text, #3b3326);
}

.projetos-recentes h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--c86d3f, #c86d3f);
  letter-spacing: 0.5px;
}

.projetos-recentes p {
  font-size: 1rem;
  color: var(--muted, #6b7280);
  max-width: 650px;
  margin: 0 auto 40px;
}

/* === GRID DE PROJETOS === */
.projetos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 10px;
}

/* === CARD DO PROJETO === */
.projeto-card {
  background-color: var(--card, #f9f9f9);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projeto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

/* === IMAGEM DO PROJETO === */
.projeto-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: filter 0.3s ease;
}

.projeto-card:hover .projeto-img {
  filter: brightness(0.9);
}

/* === INFORMAÇÕES DO PROJETO === */
.projeto-info {
  padding: 20px;
  text-align: left;
}

.projeto-info h3 {
  font-size: 1.25rem;
  color: var(--3b3326, #3b3326);
  margin-bottom: 10px;
}

.projeto-info p {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--muted, #0f3f5c);
  margin-bottom: 15px;
}

/* === BOTÃO === */
.btn-ver-site {
  display: inline-block;
  background-color: var(--c69974, #054b30);
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-ver-site:hover {
  background-color: var(--c86d3f, #c86d3f);
}

/* === RESPONSIVIDADE === */
@media (max-width: 600px) {
  .projeto-info {
    text-align: center;
  }

  .btn-ver-site {
    width: 100%;
  }
}
