<style>
  h1#title-text {
    /* --- Dimensionamento e Centralização --- */
    height: 220px !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 auto -5px auto !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    overflow: hidden !important;

    /* --- Imagem de Fundo --- */
    background-image: url('https://tdn.totvs.com/download/attachments/719671102/Gest%C3%A3o%20de%20terceiros.svg?api=v2');
    background-size: cover; /* Garante que a imagem cubra todo o espaço */
    background-position: center center; /* Centraliza a imagem */
    background-repeat: no-repeat;
    
    /* --- Otimização de Qualidade --- */
    /* Sugere ao navegador para renderizar a imagem com mais nitidez */
    image-rendering: -webkit-optimize-contrast; /* Para navegadores WebKit/Chrome */
    image-rendering: crisp-edges; /* Padrão, para Firefox e outros */

    /* --- Esconde o texto original do H1 --- */
    font-size: 0 !important;
    line-height: 0 !important;
    color: transparent !important;
    text-indent: -9999px;
  }

  .page-description {
    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: block;">
                        <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 nossas páginas mais acessadas...</span>
            </h1>
            <div style="margin-top: 20px;">
                <h3 style="margin-top: 20px; color: #003D6A; font-weight: normal;">Por nossos 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;">Por nossos TOTVERS:</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>
        </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>