/* =========================================================
   CONECTA JOVEM
   EMPRESAS PARCEIRAS
   ========================================================= */

/* =========================
   RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f8fafc;
    color: #334155;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================
   VARIÁVEIS
   ========================= */

:root {
    --primary: #6c5ce7;
    --primary-dark: #5643d9;
    --secondary: #14b8a6;

    --dark: #0f172a;
    --text: #334155;
    --gray: #64748b;

    --light: #f8fafc;
    --white: #ffffff;

    --border: #e2e8f0;

    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.13);

    --radius: 18px;
    --transition: 0.3s ease;
}

/* =========================
   HEADER
   ========================= */

.topo {
    width: 100%;
    height: 75px;

    background: rgba(255, 255, 255, 0.96);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 5%;

    border-bottom: 1px solid var(--border);

    position: sticky;
    top: 0;
    z-index: 1000;

    box-shadow: 0 3px 15px rgba(15, 23, 42, 0.05);
}

/* =========================
   LOGO
   ========================= */

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 155px;
    height: auto;
    object-fit: contain;
}

/* =========================
   MENU
   ========================= */

.topo nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topo nav a {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    color: var(--gray);

    font-size: 15px;
    font-weight: 600;

    border-radius: 10px;

    transition: var(--transition);
}

.topo nav a i {
    font-size: 16px;
}

.topo nav a:hover {
    background: #f1efff;
    color: var(--primary);
}

.topo nav a:active {
    background: #e9e5ff;
}

/* =========================
   CONTAINER
   ========================= */

.container {
    width: 90%;
    max-width: 1200px;

    margin: 0 auto;

    padding-bottom: 80px;
}

/* =========================
   TÍTULO
   ========================= */

.titulo {
    text-align: center;

    padding: 70px 20px 45px;
}

.titulo h1 {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    color: var(--dark);

    font-size: 2.5rem;
    font-weight: 800;

    margin-bottom: 12px;
}

.titulo h1 i {
    color: var(--primary);
    font-size: 2.2rem;
}

.titulo p {
    color: var(--gray);

    font-size: 1.05rem;

    max-width: 650px;

    margin: 0 auto;
}

/* =========================
   LISTA DE EMPRESAS
   ========================= */

.lista-empresas {
    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(280px, 1fr)
    );

    gap: 25px;

    width: 100%;
}

/* =========================
   CARD DA EMPRESA
   ========================= */

/*
   Estes estilos também funcionam
   caso o empresas.js crie cards
   dinamicamente dentro de
   #listaEmpresas.
*/

.lista-empresas .empresa-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    padding: 25px;

    box-shadow: var(--shadow);

    transition: var(--transition);
}

.lista-empresas .empresa-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow-hover);

    border-color: rgba(108, 92, 231, 0.3);
}

/* =========================
   LOGO DA EMPRESA
   ========================= */

.lista-empresas .empresa-logo {
    width: 75px;
    height: 75px;

    border-radius: 15px;

    background: #f1efff;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    overflow: hidden;
}

.lista-empresas .empresa-logo img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 8px;
}

/* =========================
   NOME DA EMPRESA
   ========================= */

.lista-empresas .empresa-card h2,
.lista-empresas .empresa-card h3 {
    color: var(--dark);

    font-size: 1.25rem;

    margin-bottom: 8px;
}

/* =========================
   INFORMAÇÕES
   ========================= */

.lista-empresas .empresa-card p {
    color: var(--gray);

    font-size: 0.95rem;

    margin-bottom: 8px;
}

.lista-empresas .empresa-card i {
    color: var(--primary);

    margin-right: 6px;
}

/* =========================
   BOTÕES DOS CARDS
   ========================= */

.lista-empresas .empresa-card a,
.lista-empresas .empresa-card button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 15px;

    padding: 10px 18px;

    border: none;

    border-radius: 10px;

    background: var(--primary);

    color: white;

    font-weight: 600;

    cursor: pointer;

    transition: var(--transition);
}

.lista-empresas .empresa-card a:hover,
.lista-empresas .empresa-card button:hover {
    background: var(--primary-dark);

    transform: translateY(-2px);
}

/* =========================
   ESTADO VAZIO / CARREGANDO
   ========================= */

.vazio {
    grid-column: 1 / -1;

    min-height: 220px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

    display: flex;

    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 40px;
}

.vazio p {
    color: var(--gray);

    font-size: 1rem;
}

/* =========================
   QUANDO NÃO HÁ EMPRESAS
   ========================= */

.lista-empresas:empty::before {
    content: "Nenhuma empresa encontrada.";

    display: block;

    grid-column: 1 / -1;

    text-align: center;

    padding: 50px;

    background: white;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    color: var(--gray);

    box-shadow: var(--shadow);
}

/* =========================
   ANIMAÇÃO
   ========================= */

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lista-empresas .empresa-card {
    animation: aparecer 0.5s ease both;
}

/* =========================
   ACESSIBILIDADE
   ========================= */

.topo a:focus,
button:focus {
    outline: 3px solid rgba(108, 92, 231, 0.3);

    outline-offset: 3px;
}

/* =========================
   SCROLLBAR
   ========================= */

::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: #eef2f7;
}

::-webkit-scrollbar-thumb {
    background: var(--primary);

    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* =========================
   SELEÇÃO
   ========================= */

::selection {
    background: var(--primary);
    color: white;
}

/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 768px) {

    .topo {
        height: auto;

        min-height: 70px;

        padding: 12px 5%;

        flex-wrap: wrap;

        gap: 10px;
    }

    .logo-img {
        width: 135px;
    }

    .topo nav {
        width: 100%;

        justify-content: center;

        gap: 4px;
    }

    .topo nav a {
        padding: 8px 11px;

        font-size: 13px;
    }

    .topo nav a i {
        font-size: 14px;
    }

    .titulo {
        padding: 50px 10px 35px;
    }

    .titulo h1 {
        font-size: 2rem;

        flex-direction: column;

        gap: 8px;
    }

    .titulo h1 i {
        font-size: 1.8rem;
    }

    .titulo p {
        font-size: 0.95rem;
    }

    .lista-empresas {
        grid-template-columns: 1fr;

        gap: 18px;
    }

    .lista-empresas .empresa-card {
        padding: 22px;
    }
}

/* =========================
   CELULAR PEQUENO
   ========================= */

@media (max-width: 480px) {

    .container {
        width: 92%;
    }

    .topo {
        padding: 10px 4%;
    }

    .logo-img {
        width: 120px;
    }

    .topo nav {
        justify-content: space-between;
    }

    .topo nav a {
        flex-direction: column;

        gap: 3px;

        padding: 7px 8px;

        font-size: 11px;
    }

    .topo nav a i {
        font-size: 15px;
    }

    .titulo {
        padding-top: 40px;
    }

    .titulo h1 {
        font-size: 1.7rem;
    }

    .titulo p {
        font-size: 0.9rem;
    }

    .vazio {
        min-height: 180px;

        padding: 25px;
    }
}.empresa-localizacao-status{display:inline-flex;align-items:center;gap:6px;margin:8px 0;font-size:.78rem;font-weight:800}.empresa-localizacao-status.exata{color:#166534}.empresa-localizacao-status.pendente{color:#92400e}.empresa-verificada{display:inline-flex;align-items:center;gap:6px;color:#2563eb;font-size:.78rem;font-weight:800;margin-right:8px}
