body {
    background-color: #fdf6e3;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

header {
    background-color: #fdf6e3;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.header-scrolled {
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #8b4513;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #333;
    font-weight: bold;
    transition: 0.3s;
}

nav a:hover {
    color: #8b4513;
}

h1 {
    color: #8b4513;
}

p {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
}

.botao {
    display: inline-block;
    background-color: #8b4513;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: bold;
    margin-top: 20px;
    transition: 0.3s;
}

.botao:hover {
    background-color: #5c2e0c;
    transform: scale(1.05);
}

.secao-destaque {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    max-width: 1100px;
    margin: 40px auto;
}

.textos {
    text-align: left;
}

.video-destaque {
    max-width: 100%;
    width: 500px;
    height: 280px;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.quem-somos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    max-width: 1100px;
    margin: 100px auto;
    padding: 20px;
}

.textos-equipe {
    text-align: left;
    flex: 1;
    min-width: 350px;
}

.textos-equipe h2 {
    color: #8b4513;
    font-size: 32px;
    margin-bottom: 15px;
}

.textos-equipe p {
    background-color: transparent; 
    padding: 0; 
    font-size: 18px; 
    line-height: 1.6; 
    color: #333;
}

.carrossel-container {
    width: 600px;
    aspect-ratio: 16/9;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.carrossel-imagens {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carrossel-imagens img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;
}

.btn-carrossel {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #8b4513; 
    color: white;
    padding: 15px 18px;
    font-size: 24px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.btn-carrossel:hover {
    background-color: #5c2e0c;
}

.prev { left: 10px; }
.next { right: 10px; }

.portfolio {
    max-width: 1100px;
    margin: 100px auto;
    padding: 20px;
    text-align: center;
}

.titulo-sessao {
    color: #8b4513;
    font-size: 36px;
    padding-bottom: 40px;
    margin-bottom: 0;
}

.botoes-filtro {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 60px !important;
    margin-bottom: 60px !important;
}

.btn-filtro {
    background-color: transparent;
    border: 2px solid #8b4513;
    color: #8b4513;
    padding: 8px 20px;
    border-radius: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-filtro:hover, .btn-filtro.ativo {
    background-color: #8b4513;
    color: white;
}

.esconder {
    display: none;
}

.grade-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.item-video {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.item-video iframe {
    width: 100%;
    height: 100%;
}

footer {
    background-color: #8b4513; 
    color: white;
    text-align: center;
    padding: 60px 20px 30px; 
    margin-top: 100px; 
}

.rodape-conteudo h2 {
    color: white; 
    margin-bottom: 10px;
}

.rodape-conteudo p {
    background-color: transparent; 
    color: #fdf6e3; 
    padding: 0;
    margin: 5px 0;
    font-size: 16px;
}

.redes-sociais {
    margin: 25px 0;
}

.redes-sociais a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: 0.3s;
}

.redes-sociais a:hover {
    color: #fdf6e3;
    text-decoration: underline; 
}

.direitos p {
    font-size: 14px;
    opacity: 0.7; 
    margin-top: 30px;
}

.whatsapp-flutuante {
    position: fixed; 
    bottom: 30px; 
    right: 30px;
    background-color: #25d366; 
    border-radius: 50%; 
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); 
    z-index: 1000;
    transition: transform 0.3s;
}

.whatsapp-flutuante:hover {
    transform: scale(1.1); 
}

@media (max-width: 768px) {
    .secao-destaque {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        margin: 40px auto;
    }

    .textos {
        text-align: center;
    }

    .video-destaque {
        width: 100%;
        height: 200px;
    }

    header {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    nav a {
        margin-left: 10px;
        margin-right: 10px;
    }

    .quem-somos {
        flex-direction: column;
        margin: 100px auto;
    }
    
    .textos-equipe {
        text-align: center;
    }
    
    .carrossel-container {
        width: 100%;
    }

    .whatsapp-flutuante {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-flutuante img {
        width: 30px;
    }
}