/* ==========================
   Reset & Base
========================== */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background: #0c0c0c;
    color: #fff;
}

/* ==========================
   Navbar
========================== */
#logo-completo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 30px;
}

.logo {
  display: flex;
  align-items: center; /* mantém imagem e APEX alinhados verticalmente */
  gap: 10px; /* espaçamento entre imagem e texto */
}

.logo img {
  width: 90px;
  transform: translateY(-13px);
}

.texto-logo {
  display: flex;
  flex-direction: column;
  align-items: center; /* centraliza ELETRÔNICA embaixo de APEX */
  line-height: 1.1; /* aproxima APEX e ELETRÔNICA */
}

.apex {
  font-size: 60px;
  font-weight: 700;
}

.eletronica {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

.slogan {
  font-size: 24px;
  font-weight: 700;
  padding-top: 10px;
}

/* ==========================
   CTA Buttons
========================== */
.cta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding-top: 35px;
}

.cta div {
    background: rgb(218, 19, 19);
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    width: 200px;
    height: 40px;
}

.txt-btn {
    font-size: 14px;
    /* Ajuste tamanho do texto */
}

/* ==========================
   Seção Serviços
========================== */
.servicos {
    background: #0c0c0c;
    color: white;
    padding: 40px;
    text-align: center;
}

.servicos h2 {
    font-size: 24px;
    margin-bottom: 30px;
}

.servicos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px 50px;
    max-width: 900px;
    margin: 0 auto;
}

.servico {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.servico img {
    width: 40px;
    height: 40px;
    filter: invert(36%) sepia(94%) saturate(4276%) hue-rotate(2deg) brightness(98%) contrast(104%);
}

.servico h3 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
}

.servico p {
    margin: 0;
    font-size: 14px;
    color: #ccc;
}

/* ==========================
   Popup
========================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    justify-content: center;
    align-items: center;
}

.popup-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #0c0c0c;
    padding: 20px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    position: relative;
}

.div-loc {
    width: 100%;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
}

.btn-fechar {
    margin-top: 10px;
    background: #c0392b;
    color: white;
    border: none;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 6px;
}

/* ==========================
   Ícones
========================== */
.ico {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.ico-serv {
    width: 60px;
    height: 60px;
    margin-right: 8px;
    vertical-align: middle;
}

.ico-serv-prin {
    width: 80px;
    height: 80px;
    margin-right: 8px;
    vertical-align: middle;
}

/* ==========================
   Container e About
========================== */
.container {
    margin: 80px auto 0;
}

#sobre1 {
    background-color: #0c0c0c;
    display: flex;
    justify-content: center;
}

#sobre2 {
    background-color: #161718;
    display: flex;
    justify-content: center;
}

.about {
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    /* mesma altura */
    padding: 40px 20px;
}

.about-text {
    color: #fff;
}

.about-text h3 {
    color: #ff3b00;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.about-text h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
}

.about-image img {
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

#cont-img-recep {
    display: flex;
    justify-content: center;
}

#img-recep {
    width: 80%;
    height: 80%;
    border-radius: 16px;
}

/* ==========================
   Clientes e Feedback
========================== */
.clientes {
    background-color: #161718;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 50px 0;
    color: white;
}

.principais-clientes {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 50px 0;
    color: white;
}

.feedback {
    background-color: #0c0c0c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 50px 0;
    color: white;
}

.clientes-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.cliente {
    width: 160px;
    background: #161718;
    color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.principal-cliente {
    width: 160px;
    background: #161718;
    color: white;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

#todos-clientes h1 {
    font-size: 24px;
    margin-bottom: 15px;
}

.lista-clientes {
    list-style: none;
    /* remove os pontos */
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.lista-clientes li {
    background-color: #000000;
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* ==========================
   Rodapé
========================== */
#info {
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

/* ==========================
   Responsividade
========================== */
@media (max-width: 1310px) {
    .elfsight-app-dd0cec4b-4c32-4681-8c74-b1d96bb2f886 {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .about {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .barra-sup {
        height: 50px;
    }

    .img-logo,
    .img-nome {
        width: 80px;
    }

    .lista-clientes {
        display: block;
        /* transforma em bloco vertical */
        max-height: 300px;
        /* define altura máxima */
        overflow-y: auto;
        /* ativa rolagem vertical */
        padding-right: 10px;
        /* evita corte da barra */
    }

    .lista-clientes li {
        margin-bottom: 10px;
    }
}

@media (max-width: 555px) {
    .cliente {
        width: 125px;
    }
}

@media (max-width: 480px) {
    .cliente {
        width: 200px;
    }

    .servicos-grid {
        grid-template-columns: 1fr;
        /* 1 item por linha */
        gap: 20px;
        /* ajuste o espaçamento se quiser */
    }

}