

/* RESET */
.clientes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* WRAPPER */
.clientes {
    width: 100%;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px 20px;
}

/* LISTA DE PAÍSES – mantém estrutura, só deixa responsivo */
.lista-paises {
    display: flex;
    flex-wrap: wrap; /* <-- permite quebrar em telas pequenas */
    gap: 30px;       /* melhora espaçamento ao quebrar */
    justify-content: center;
}

/* BANDEIRA */
.bandeira {
    width: 130px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    margin-bottom: 40px;

    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(255, 255, 255, 0.8);
    image-rendering: auto;
}

/* BLOCO DE PAÍS */
.pais {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex: 1;
}

/* GRID DAS LOGOS */
.marcas {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    width: 100%;
    justify-content: center;
    padding: 0;
}

/* CADA CÍRCULO DE LOGO */
.marcas li {
    width: 140px;
    height: 140px;
    background-color: #fff;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 2px 6px rgba(0,0,0,0.06);

    transition: transform .25s ease, box-shadow .25s ease;
}

.marcas li:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* LOGOS */
.marcas img {
    width: 80px;
    height: auto;
}

/* ------- RESPONSIVIDADE ------- */

/* Tablets */
@media (max-width: 768px) {

    .bandeira {
        width: 90px;
        height: auto;
    }

    .marcas li {
        width: 115px;
        height: 115px;
    }

    .marcas img {
        width: 70px;
    }

    .pais {
        min-width: 200px;
    }
}

/* Smartphones */
@media (max-width: 480px) {

    .bandeira {
        width: 75px;
        height: auto;
        margin-bottom: 20px;
    }

    .marcas li {
        width: 95px;
        height: 95px;
    }

    .marcas img {
        width: 55px;
    }
}

/*Mapa mundi*/

.mapa-clientes {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.mapa-clientes h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

/* container do mapa */
.map-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: auto;
}

.mapa-base {
    width: 100%;
    filter: grayscale(100%) contrast(1.2) opacity(0.6);
    user-select: none;
    pointer-events: none;
}

/* ponto clicável */
.ponto-mapa {
    position: absolute;
    width: 38px;
    height: 38px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;

    transition: transform .3s ease, box-shadow .3s ease;
}

.ponto-mapa:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Posições aproximadas no mapa */
.ponto-mapa.uk  { top: 13%; left: 47%; }
.ponto-mapa.eu  { top: 16%; left: 53%; }
.ponto-mapa.es  { top: 22%; left: 47%; }
.ponto-mapa.esc { top: 7%; left: 51%; }
.ponto-mapa.br  { top: 60%; left: 34%; }

/* Responsividade */
@media (max-width: 600px) {
    .ponto-mapa {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/*Modal*/

/* Fundo do modal */
.modal-clientes {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* Caixa principal */
.modal-clientes .modal-content {
    background: linear-gradient(to bottom, #284e6a, #1b3a50);

    width: 90%;
    max-width: 520px;
    border-radius: 14px;
    padding: 25px;
    position: relative;
    animation: fadeInUp .35s ease;
}

/* Conteúdo (bandeira + marcas) */
.modal-clientes .modal-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}



/* Botão fechar */
.close-modal {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 28px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Animação */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.map-container {
    display: block;
}

.clientes {
    display: none;
}

/* MOBILE – mostrar lista e esconder mapa */
@media (max-width: 768px) {

    .map-container {
        display: none !important;
    }

    .clientes {
        display: block !important;
    
    }

}
