<div id="video-banner-container">
  <video autoplay loop muted playsinline>
    <source src="https://tdn.totvs.com/download/attachments/719671102/Gest%C3%A3o%20de%20terceiros%20%282%29.mp4?api=v2" type="video/mp4">
    Seu navegador não suporta a tag de vídeo.
  </video>
</div>

<style>
  #video-banner-container {
    /* --- Dimensionamento e Posicionamento do Banner --- */
    height: 220px; /* Altura fixa para o banner */
    width: 100vw;
    max-width: 100vw;
    margin: 0 auto -5px auto;
    
    /* Técnica para forçar a largura total da tela */
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    
    overflow: hidden; /* Garante que o vídeo não vaze para fora */
    border: none;
    box-shadow: none;
  }

  #video-banner-container video {
    /* --- Estilo do Vídeo para preencher o contêiner --- */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%); /* Centraliza o vídeo perfeitamente */
    object-fit: cover; /* Equivalente ao 'background-size: cover' para vídeos */
  }

  /* Opcional: Se você precisa esconder outros elementos da página */
  .page-description {
    display: none !important;
  }
  
  /* Se você usava o h1#title-text apenas para o banner, pode remover 
     ou adaptar. Se o texto do h1 não deve aparecer, pode usar: */
  h1#title-text {
      display: none !important;
  }
</style>
<div style="display: flex; justify-content: space-between; gap: 30px; padding: 20px; font-family: 'Segoe UI', sans-serif; box-sizing: border-box; align-items: flex-start;">
    <div style="flex: 7; min-width: 350px; display: flex; flex-direction: column; gap: 30px;">
        <div style="text-align: center; background-color: #F8F8F8; padding: 25px; border-radius: 15px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
            <h1 style="color: #0096D6; display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;">
                <img src="https://tdn.totvs.com/download/attachments/719671102/icontotvs.png?api=v2" alt="Ícone TOTVS" style="height: 32px;">
                <span>Soluções, orientações e recursos para TOTVERS e Parceiros</span>
            </h1>
            <div style="display: flex; justify-content: center; gap: 20px; margin-top: 30px; flex-wrap: wrap;">
                <a href="https://tdn.totvs.com/pages/viewpage.action?pageId=723306279" style="text-decoration: none; flex: 1; min-width: 250px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 24px; box-shadow:0 2px 4px rgba(0,0,0,0.1); height: 100%; box-sizing: border-box;">
                        <h2 style="color:white; margin: 0 0 8px 0;">Sou TOTVER</h2>
                        <p style="color:white; margin: 0;">Orientações para áreas internas (Contratantes)</p>
                    </div>
                </a>
                <a href="https://tdn.totvs.com/pages/viewpage.action?pageId=723306281" style="text-decoration: none; flex: 1; min-width: 250px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 24px; box-shadow:0 2px 4px rgba(0,0,0,0.1); height: 100%; box-sizing: border-box;">
                        <h2 style="color:white; margin: 0 0 8px 0;">Sou TOTVS Partner</h2>
                        <p style="color:white; margin: 0;">Orientações aos Fornecedores e Parceiros</p>
                    </div>
                </a>
            </div>
        </div>
        <div style="text-align: center; background-color: #F8F8F8; padding: 25px; border-radius: 15px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); overflow: hidden; position: relative;">
            <h2 style="color: #0096D6; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 10px;">
                <img src="https://tdn.totvs.com/download/attachments/719671102/icontotvs.png?api=v2" alt="Ícone TOTVS" style="height: 32px;">
                <span>Destaques</span>
            </h2>
            <div id="image-carousel" style="display: flex; transition: transform 0.5s ease-in-out; width: 400%;">
                
                <div style="width: 25%; display: flex; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box;">
                    <video style="max-width: 80%; height: auto; display: block; border-radius: 8px;" autoplay muted loop playsinline>
                        <source src="https://tdn.totvs.com/download/attachments/719671102/MIT.mp4?api=v2" type="video/mp4">
                        Seu navegador não suporta a tag de vídeo.
                    </video>
                </div>

                <div style="width: 25%; display: flex; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box;">
                    <video style="max-width: 80%; height: auto; display: block; border-radius: 8px;" autoplay muted loop playsinline>
                        <source src="https://tdn.totvs.com/download/attachments/719671102/4.mp4?api=v2" type="video/mp4">
                        Seu navegador não suporta a tag de vídeo.
                    </video>
                </div>

                <div style="width: 25%; display: flex; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box;">
                    <a href="https://tdn.totvs.com/pages/viewpage.action?pageId=953016370" target="_blank" style="text-decoration: none; display: flex; justify-content: center; align-items: center; height: 100%; width: 100%;">
                        <video style="max-width: 80%; height: auto; display: block; border-radius: 8px; cursor: pointer;" autoplay muted loop playsinline>
                            <source src="https://tdn.totvs.com/download/attachments/719671102/Selo.mp4?api=v2" type="video/mp4">
                            Seu navegador não suporta a tag de vídeo.
                        </video>
                    </a>
                </div>

                <div style="width: 25%; display: flex; justify-content: center; align-items: center; padding: 10px; box-sizing: border-box;">
                    <video style="max-width: 80%; height: auto; display: block; border-radius: 8px;" autoplay muted loop playsinline>
                        <source src="https://tdn.totvs.com/download/attachments/719671102/VOC%C3%8A%20SABIA.mp4?api=v2" type="video/mp4">
                        Seu navegador não suporta a tag de vídeo.
                    </video>
                </div>
            </div>

            <div style="text-align: center; margin-top: 20px;">
                <span class="dot" onclick="currentSlide(0)" style="height: 15px; width: 15px; margin: 0 5px; background-color: #bbb; border-radius: 50%; display: inline-block; cursor: pointer;"></span>
                <span class="dot" onclick="currentSlide(1)" style="height: 15px; width: 15px; margin: 0 5px; background-color: #bbb; border-radius: 50%; display: inline-block; cursor: pointer;"></span>
                <span class="dot" onclick="currentSlide(2)" style="height: 15px; width: 15px; margin: 0 5px; background-color: #bbb; border-radius: 50%; display: inline-block; cursor: pointer;"></span>
                <span class="dot" onclick="currentSlide(3)" style="height: 15px; width: 15px; margin: 0 5px; background-color: #bbb; border-radius: 50%; display: inline-block; cursor: pointer;"></span>
            </div>
        </div>
    </div>
    <div style="width: 1px; background-color: #DCDCDC; margin: 0 15px;"></div>
    <div style="flex: 3; min-width: 300px;">
        <div style="text-align: center; background-color: #F8F8F8; padding: 25px; border-radius: 15px; box-shadow: 0 4px 8px rgba(0,0,0,0.1);">
            <h1 style="color: #0096D6; display: flex; align-items: center; justify-content: center; gap: 10px;">
                <img src="https://tdn.totvs.com/download/attachments/719671102/icontotvs.png?api=v2" alt="Ícone TOTVS" style="height: 32px;">
                <span>Confira as páginas mais acessadas</span>
            </h1>
            <div style="margin-top: 20px;">
                <h3 style="margin-top: 20px; color: #003D6A; font-weight: normal;">Pelos PARTNERS:</h3>
                <a href="https://tdn.totvs.com/display/GDTDS/Troca+e+desbloqueio+de+senhas" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Troca e Desbloqueio de senhas</div>
                </a>
                <a href="https://tdn.totvs.com/display/GDTDS/Painel+do+Fornecedor" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Painel do Fornecedor</div>
                </a>
                <a href="https://tdn.totvs.com/pages/viewpage.action?pageId=719672295" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Cadastro e Vínculo</div>
                </a>
            </div>
            <hr style="border: none; border-top: 1px solid #E0E0E0; margin: 30px auto; width: 80%;">
            <div style="margin-top: 20px;">
                <h3 style="margin-top: 20px; color: #003D6A; font-weight: normal;">Pelos TOTVERS:</h3>
                <a href="https://tdn.totvs.com/pages/viewpage.action?pageId=730038896" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Inclusão de Agendas no PSA</div>
                </a>
                <a href="https://tdn.totvs.com/display/SRVCORP/Dashboards" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Dashboards</div>
                </a>
                <a href="https://tdn.totvs.com/display/SRVCORP/Escopo+Fechado" style="text-decoration: none; display: block; margin-bottom: 10px;">
                    <div style="background:#0096D6; border-radius:25px; padding: 12px; box-shadow:0 2px 4px rgba(0,0,0,0.1); color:white;">Escopo Fechado</div>
                </a>
            </div>
        </div>
    </div>
</div>

<script>
    let slideIndex = 0;
    const slides = document.getElementById("image-carousel");
    const dots = document.querySelectorAll(".dot");

    function showSlides() {
        if (!slides) return;
        const slideElements = Array.from(slides.children).filter(el => el.nodeType === 1);
        const visibleSlides = slideElements.length;
        if (visibleSlides === 0) return;
        slides.style.transform = `translateX(${-slideIndex * (100 / visibleSlides)}%)`;
        dots.forEach((dot, index) => {
            dot.style.backgroundColor = index === slideIndex ? '#0096D6' : '#bbb';
        });
    }

    function plusSlides(n) {
        const totalSlides = Array.from(slides.children).filter(el => el.nodeType === 1).length;
        slideIndex += n;
        if (slideIndex >= totalSlides) {
            slideIndex = 0;
        }
        if (slideIndex < 0) {
            slideIndex = totalSlides - 1;
        }
        showSlides();
    }

    function currentSlide(n) {
        slideIndex = n;
        showSlides();
    }
    let autoSlideInterval = setInterval(() => {
        plusSlides(1);
    }, 5000);
    const carouselContainer = slides ? slides.parentElement : null;
    if (carouselContainer) {
        carouselContainer.addEventListener('mouseover', () => {
            clearInterval(autoSlideInterval);
        });
        carouselContainer.addEventListener('mouseout', () => {
            autoSlideInterval = setInterval(() => {
                plusSlides(1);
            }, 5000);
        });
    }
    showSlides();
</script>






<div style="background-color: #0096D6; color: #FFFFFF; padding: 25px; font-family: 'Segoe UI', Arial, sans-serif; text-align: center; border-radius: 8px;">
    
    <h2 style="margin-top: 0; margin-bottom: 15px; font-weight: bold;">
        Fale Conosco
    </h2>
    
    <p style="margin: 0; font-size: 16px;">
        Para mais informações, por favor, registre sua dúvida 
        <a href="https://atendimento-totvs.atlassian.net/servicedesk/customer/portal/47/user/login?destination=portal%2F47" style="color: #FFFFFF; font-weight: bold; text-decoration: underline;">via ticket</a>.
    </p>  </div>
<hr style="border: none; border-top: 1px solid #DCDCDC; margin: 40px 0;">

    <h2 style="color: #003D6A; font-size: 1.8em; border-bottom: 2px solid #0096D6; padding-bottom: 10px; margin-bottom: 25px;">Sua Contribuição é Valiosa!</h2>
    <div style="background-color: #F0F8F0; padding: 25px; border-radius: 10px; box-shadow: 0 2px 5px rgba(0,0,0,0.08);">
        <p>Esta biblioteca é um recurso vivo e em constante aprimoramento. Suas sugestões e feedback são fundamentais para mantermos o conteúdo atualizado e útil para todos.</p>
        <p><strong>Para sugerir um novo conteúdo ou alteração:</strong> Envie um e-mail para <a href="mailto:[email protected]" style="color: #007bff; text-decoration: none; hover: text-decoration: underline;">Serviços Terceiros.</a>
        <p><strong>Responsável pela Manutenção da Página:</strong> <strong style="color: #003D6A;">Marcella Vilar</strong></p>
    </div>

  
   

    <p style="text-align: center; font-size: 0.9em; color: #777; margin-top: 30px;">© 2025 Gestão de Terceiros - Serviços Corporativo.</p>
    <p style="text-align: center; font-size: 0.9em; color: #777;">Criado para garantir clareza, eficiência e excelência.</p>

</div>