body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

header {
    background: #333;
    color: #fff;
    padding: 1em 0;
    text-align: center;
}

header h1 {
    margin: 0;
}

main {
    padding: 20px;
}

section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #5a5a5a;
    border-bottom: 2px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 20px 0;
}

.stats div {
    padding: 10px;
    border: 1px solid #eee;
    flex-basis: 30%;
}

.portfolio-items {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-items div {
    background: #eee;
    padding: 10px;
    border-radius: 5px;
}

.depoimentos-container blockquote {
    border-left: 5px solid #5a5a5a;
    padding-left: 15px;
    margin: 15px 0;
    font-style: italic;
}

.contato-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

.contato-info p {
    flex-basis: 45%;
    margin-bottom: 10px;
}

form input, form textarea, form button {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    background: #5a5a5a;
    color: #fff;
    cursor: pointer;
    border: none;
}

form button:hover {
    background: #333;
}


/* Responsividade para dispositivos móveis */
@media (max-width: 768px) {
    main {
        padding: 10px;
    }

    .stats {
        flex-direction: column;
    }

    .stats div {
        flex-basis: 100%;
        margin-bottom: 10px;
    }

    .contato-info {
        flex-direction: column;
    }

    .contato-info p {
        flex-basis: 100%;
    }
}



.header-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.portfolio-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.portfolio-item p {
    padding: 10px;
    margin: 0;
    font-weight: bold;
    color: #5a5a5a;
}

@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr; /* Uma coluna em telas menores */
    }
}



.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}



/* --- ESTILOS PARA BLOG E VÍDEOS --- */

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-item {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #333;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blog-item img {
    width: 100%;
    height: 150px; /* Altura fixa para capa */
    display: block;
    object-fit: cover;
}

.blog-item h3 {
    margin: 10px 0 5px;
    font-size: 1.2em;
}

.blog-item p {
    margin-bottom: 10px;
    font-size: 0.9em;
    color: #666;
}

/* Video Capa */
.video-capa {
    max-width: 500px;
    margin: 20px auto;
    position: relative;
    cursor: pointer;
}

.video-capa img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

.video-links {
    text-align: center;
    margin-top: 10px;
    font-size: 1.1em;
}

.video-links a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

/* Estilo para páginas de artigo */
#conteudo {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

#conteudo h2 {
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-top: 30px;
}

.voltar-button {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.voltar-button:hover {
    background-color: #0056b3;
}



/* Estilos para as capas de serviço */
.servico-capa {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 10px;
}

#servicos ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#servicos li {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}



/* --- ESTILOS PARA GALERIAS DE IMAGENS E VÍDEOS --- */

/* Estilo para o botão "Ver Mais" */
.ver-mais-container {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.ver-mais-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #007bff; /* Azul para destaque */
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.ver-mais-btn:hover {
    background-color: #0056b3;
}

/* Ajuste para a galeria de Portfólio (gallery-grid) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.gallery-grid .portfolio-item {
    padding: 0;
    border: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.gallery-grid .portfolio-item img {
    height: 250px; /* Altura um pouco maior para as fotos */
    object-fit: cover;
    border-radius: 8px;
}

/* Estilo para a galeria de Vídeos */
.video-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.video-item {
    max-width: 350px; /* Largura máxima para cada vídeo */
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.video-item iframe {
    width: 100%;
    height: 400px; /* Altura padrão para Reels/Vídeos */
    border: none;
    display: block;
}

/* Responsividade para a galeria de vídeos */
@media (max-width: 768px) {
    .video-gallery {
        flex-direction: column;
        align-items: center;
    }
    .video-item {
        max-width: 100%;
    }
    .video-item iframe {
        height: 300px;
    }
}



/* Estilos para o Portfólio Interativo */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
    text-align: left;
}

.portfolio-item:hover .portfolio-text {
    transform: translateY(0);
}

.portfolio-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.1em;
}

.portfolio-text p {
    margin: 0;
    font-size: 0.8em;
    font-weight: normal;
    color: #ccc;
}

/* Estilos para Links de Contato Clicáveis */
.contato-info p strong a.contato-link {
    color: #5a5a5a; /* Cor do texto principal */
    text-decoration: none;
    transition: color 0.3s;
}

.contato-info p strong a.contato-link:hover {
    color: #007bff; /* Cor de destaque ao passar o mouse */
}



/* Estilos para as Subgalerias */
.galeria-categoria {
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.galeria-categoria h3 {
    color: #333;
    font-size: 1.5em;
    margin-bottom: 15px;
    text-align: center;
}

.galeria-categoria .portfolio-grid {
    /* Ajusta o grid para as subgalerias */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}


.hidden-lightbox-item {
    display: none;
}

