* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f9f9f9;
}

.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    max-width: 800px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding: 20px;
    gap: 20px;
    margin: 5px;
}

.container-middle {
    transform: rotateY(180deg); /* Inverte horizontalmente */
}

.container-middle .text-content,
.container-middle .image-content {
    transform: rotateY(180deg); /* Reverte o texto e imagem */
}

.text-content {
    max-width: 400px;
    text-align: left;
}

.text-content h1 {
    font-size: 24px;
    color: #333;
    margin-bottom: 16px;
}

.text-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.text-content button {
    background-color: #002b8f;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.text-content button:hover {
    background-color: #0650fa;
}

.image-content img {
    max-width: 300px;
    border-radius: 50%;
}

/* --- Breakpoints para dispositivos móveis --- */

/* Resolução de celulares pequenos (320px a 480px) */
@media (max-width: 480px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px;
    }

    .image-content {
        order: -1; /* Coloca a imagem acima dos textos */
    }

    .image-content img {
        max-width: 90%; /* Reduz a largura da imagem */
        margin-bottom: 20px;
    }

    .text-content h1 {
        font-size: 18px; /* Reduz o tamanho da fonte */
    }

    .text-content p {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .text-content button {
        width: 100%;
        padding: 12px 0;
    }
}

/* Resolução de celulares médios (480px a 768px) */
@media (max-width: 768px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .image-content {
        order: -1; /* Garante que a imagem fique acima */
    }

    .image-content img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .text-content h1 {
        font-size: 20px;
    }

    .text-content p {
        font-size: 15px;
    }

    .text-content button {
        width: 100%;
        padding: 10px 0;
    }
}

.televendas-title {
	margin-top: 20px;
    font-size: 35px;
	text-align: center;
	font-weight: 400;
	font-weight: bold;
}

@media (max-width: 768px) { /* Para telas menores, como dispositivos móveis */
    .televendas-title {
        font-size: 25px; /* Ajuste do tamanho da fonte para mobile */
    }
}


/* Resolução intermediária (768px a 1024px) */
@media (max-width: 1024px) {
    .container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .image-content {
        order: -1; /* Garante que a imagem fique acima */
    }

    .image-content img {
        max-width: 70%;
        margin-bottom: 20px;
    }

    .text-content {
        max-width: 100%;
    }

    .text-content h1 {
        font-size: 22px;
    }

    .text-content p {
        font-size: 16px;
    }
}
.services-bar {
	margin-top: -5px;
    display: flex;
    justify-content: space-around; /* Espaçamento uniforme */
    align-items: flex-start; /* Alinha todos os itens pelo topo */
    width: 100%;
    background-color: white;
    padding: 10px;
    border-bottom: 2px solid #eee;
    overflow: hidden; /* Remove barra de rolagem */
}

.service {
    text-align: center;
    color: #333;
    flex: 1; /* Garante que cada item ocupe espaço igual */
    margin: 0; /* Remove margens extras */
    max-width: 33%; /* Limita cada item a 1/3 da largura */
    display: flex;
    flex-direction: column; /* Garante que o conteúdo fique em coluna */
    align-items: center; /* Centraliza os elementos dentro de cada item */
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: #eaf4ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px; /* Espaçamento consistente entre ícone e título */
}

.service-icon img {
    width: 28px;
    height: 28px;
}

.service-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.service-subtitle {
    font-size: 14px;
    color: #777;
}


@media (max-width: 768px) {
    .services-bar {
        padding: 10px;
    }

    .service {
        max-width: 33%; /* Garante 3 itens visíveis no mobile */
        flex: 1; /* Permite ajuste automático do espaço */
    }
}
