/* =========================
   ESTILO GLOBAL
========================= */
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;

    /* Fundo da página */
    background: url('fundo.jpg') center / cover no-repeat;
    background-color: rgb(66, 66, 66);
}

/* =========================
   AVATAR
========================= */
.logo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    /* Garante que a imagem preencha o círculo */
    border-radius: 50%;
    /* Forma circular */
    border: 2px solid rgb(255, 255, 255);
    margin-bottom: 10 px;
}

.logo2 {
    width: 90%;
    object-fit: cover;
}

/* =========================
   ÁREA PRINCIPAL DE CONTEÚDO
========================= */
.conteudo {
    text-align: center;
    padding: 20px 20px;
    color: white;
    margin-bottom: 50px;
}

/* =========================
   BOTÕES DE LINKS
========================= */
.link {
    display: block;
    margin: 15px auto;
    padding: 15px;
    width: 80%;
    max-width: 300px;
    text-align: center;

    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgb(255, 208, 0);
    opacity: 85%;
    color: rgb(255, 255, 255);
    text-decoration: none;
    border-radius: 15px;
    transition: background-color 0.3s;
}

.link:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 100%;
    border: 1px solid white;
}

/* =========================
   SLIDESHOW
========================= */
.slideshow {
    position: relative;
    width: 100%;
    max-width: 400px;
    /* Limite no desktop */
    margin: 10px auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slides {
    position: relative;
    width: 100%;
}

.slides img {
    width: 100%;
    border-radius: 10px;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 2s ease-in-out;
}

.slides img.active {
    opacity: 1;
    position: relative;
}

/* =========================
   BOTÕES DE NAVEGAÇÃO
========================= */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;

    background: rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: bold;
    font-size: 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10%;
    transition: background 0.3s;
    user-select: none;
}

.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.6);
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* =========================
   INDICADORES (BOLINHAS)
========================= */
.dots {
    text-align: center;
    padding: 10px 0;
}

.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background 0.3s;
}

.dot.active,
.dot:hover {
    background-color: #333;
}

/* =========================
   RESPONSIVIDADE
========================= */
@media (max-width: 768px) {
    .slideshow {
        max-width: 100%;
        margin: 20px 0;
        border-radius: 0;
        /* Bordas retas no mobile */
    }

    .prev,
    .next {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

/* =========================
   LOGOS CLIENTES
========================= */

.logo-track {
    display: flex;
    white-space: nowrap;
    animation-name: scroll;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    will-change: transform;
    /* removemos o gap e usamos margin nos imgs */
}

.logo-track img {
    height: 80px;
    flex-shrink: 0;
    margin-right: 30px;
    /* substitui o gap */
    transition: transform 0.3s ease;
}

.logo-track img:last-child {
    margin-right: 0;
    /* remove margem do último para evitar espaço extra */
}

.logo-track img:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .logo-track img {
        height: 60px;
    }
}