/* ================================================
   PRÓ-CRIAR – Página de Empresa
   Arquivo: single-empresa.css  |  Versão: 1.0
   Mobile-first, sem dependência do Customizador
================================================ */

/* BASE */
.pc-emp-main-content *,
.pc-emp-main-content *::before,
.pc-emp-main-content *::after {
  box-sizing: border-box;
}

/* CONTAINER PRINCIPAL */
.pc-emp-main-content {
  max-width: 860px;
  margin: 20px auto 32px;
  padding: 20px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(15,23,42,0.10);
  font-family: 'Segoe UI', Arial, sans-serif;
}

/* CABEÇALHO */
.pc-emp-header {
  text-align: center;
  margin-bottom: 20px;
}

.pc-emp-logo {
  max-width: 240px;
  margin: 0 auto 14px;
}

.pc-emp-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.pc-emp-title {
  font-size: 24px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 8px !important;
  line-height: 1.2 !important;
}

.pc-emp-segmento {
  display: inline-block;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid #bbf7d0;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pc-emp-localizacao {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 18px;
}

/* ================================================
   BOTÕES DE AÇÃO – MOBILE FIRST (coluna)
================================================ */
.pc-emp-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
  width: 100%;
}

.pc-emp-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 13px 20px !important;
  border-radius: 12px !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1.3 !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

.pc-emp-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px rgba(15,23,42,0.18) !important;
  text-decoration: none !important;
}

.pc-emp-btn-mapa {
  background: #dbeafe !important;
  color: #1d4ed8 !important;
  border: 1.5px solid #93c5fd !important;
}

.pc-emp-btn-whatsapp {
  background: #16a34a !important;
  color: #ffffff !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(22,163,74,0.40) !important;
}

.pc-emp-btn-email {
  background: #f9fafb !important;
  color: #374151 !important;
  border: 1.5px solid #d1d5db !important;
}

.pc-emp-btn-site {
  background: #ede9fe !important;
  color: #5b21b6 !important;
  border: 1.5px solid #c4b5fd !important;
}

/* REDES SOCIAIS */
.pc-emp-redes {
  margin-bottom: 6px;
  text-align: center;
}

.pc-emp-redes-titulo {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #9ca3af;
  margin: 0 0 10px;
}

.pc-emp-redes-botoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.pc-emp-btn-instagram {
  background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 50%, #6228d7 100%) !important;
  color: #ffffff !important;
}

.pc-emp-btn-facebook {
  background: #1877f2 !important;
  color: #ffffff !important;
}

/* ================================================
   HORÁRIO DE FUNCIONAMENTO
================================================ */
.pc-emp-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.pc-emp-horario {
  background: #fefce8 !important;
  border-color: #fde68a !important;
}

.pc-emp-box-titulo {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.pc-emp-lista {
  margin: 0 !important;
  padding-left: 18px !important;
  font-size: 14px !important;
  color: #374151 !important;
  line-height: 1.9 !important;
}

.pc-emp-lista li {
  margin-bottom: 2px !important;
}

/* ================================================
   SOBRE ESTA EMPRESA – DESTAQUE FORTE
================================================ */
.pc-emp-desc-box {
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 18px 16px 18px 20px;
  background: #f0fdf4;
  border-radius: 14px;
  border: 1px solid #86efac;
  border-left: 5px solid #16a34a;
  position: relative;
}

.pc-emp-desc-box .pc-emp-box-titulo {
  font-size: 11px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #15803d !important;
  font-weight: 800 !important;
  margin-bottom: 10px !important;
}

.pc-emp-desc {
  font-size: 15px !important;
  color: #111827 !important;
  line-height: 1.75 !important;
  margin: 0 !important;
  font-weight: 400 !important;
}

.pc-emp-desc p {
  margin: 0 0 8px !important;
}

.pc-emp-desc p:last-child {
  margin-bottom: 0 !important;
}

/* ================================================
   FOTOS – GRID COM ESPAÇAMENTO
================================================ */
.pc-emp-fotos {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 10px !important;
  margin: 18px 0 0 !important;
}

.pc-emp-fotos a {
  display: block !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background: #f9fafb !important;
  box-shadow: 0 2px 8px rgba(15,23,42,0.08) !important;
}

.pc-emp-fotos img {
  width: 100% !important;
  height: 140px !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.2s ease !important;
}

.pc-emp-fotos a:hover img {
  transform: scale(1.04) !important;
}

/* ================================================
   VÍDEOS
================================================ */
.pc-emp-videos {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.pc-emp-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
}

.pc-emp-video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.pc-emp-video-local video {
  width: 100%;
  border-radius: 12px;
}

/* ================================================
   PRODUTOS / OFERTAS / SERVIÇOS
================================================ */
.pc-emp-produtos {
  background: #f0fdf4 !important;
  border-color: #86efac !important;
}

.pc-emp-ofertas {
  background: #fff7ed !important;
  border-color: #fdba74 !important;
}

.pc-emp-servicos {
  background: #eff6ff !important;
  border-color: #93c5fd !important;
}

/* ================================================
   FRASE DE IMPACTO / CALL TO ACTION
================================================ */
.pc-emp-call-to-action {
  margin-top: 20px;
  padding: 18px 16px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8);
  text-align: center;
  box-shadow: 0 4px 16px rgba(29,78,216,0.30);
}

.pc-emp-call-to-action p {
  margin: 0 !important;
  font-size: 15px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

/* ================================================
   ANIMAIS VINCULADOS
================================================ */
.pc-emp-animais {
  margin-top: 24px;
}

.pc-emp-section-title {
  font-size: 18px !important;
  font-weight: 800 !important;
  color: #111827 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
}

/* ================================================
   QR CODE
================================================ */
.single-empresa .pc-prop-qr-section {
  margin-top: 28px;
  margin-bottom: 40px;
}

/* ================================================
   DESKTOP (min-width: 768px)
================================================ */
@media (min-width: 768px) {

  .pc-emp-logo { max-width: 320px; }

  .pc-emp-title { font-size: 28px !important; }

  .pc-emp-acoes {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .pc-emp-btn {
    width: auto !important;
    flex: 0 1 auto !important;
  }

  .pc-emp-redes-botoes {
    flex-direction: row;
    justify-content: center;
  }

  .pc-emp-fotos {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  .pc-emp-fotos img {
    height: 160px !important;
  }

  .pc-emp-videos {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .pc-emp-video-wrap {
    flex: 1 1 45%;
  }
}

/* ================================================
   PROFISSIONAIS PARCEIROS
================================================ */
.pc-emp-parceiros {
    margin-top: 28px !important;
}

.pc-emp-parceiros .pc-emp-section-title {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #111827 !important;
    margin: 0 0 14px !important;
}

/* Grid: mesmo padrão dos cards de Animais */
.pc-parceiros-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
}

/* Card compacto */
.pc-parceiro-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    padding: 12px 10px !important;
    text-align: center !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    overflow: hidden !important;
}

.pc-parceiro-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.12) !important;
    text-decoration: none !important;
}

/* Container do logo: tamanho fixo e controlado */
.pc-parceiro-logo {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    background: #f3f4f6 !important;
    border: 1px solid #e5e7eb !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    padding: 6px !important;
    flex-shrink: 0 !important;
}

/* Imagem contida dentro do logo, sem estourar */
.pc-parceiro-logo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
}

/* Fallback sem logo: iniciais */
.pc-parceiro-sem-logo {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #1d4ed8 !important;
    background: #dbeafe !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
}

/* Nome do parceiro */
.pc-parceiro-nome {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin: 0 0 3px !important;
    line-height: 1.3 !important;
}

/* Especialidade */
.pc-parceiro-esp {
    font-size: 10px !important;
    color: #6b7280 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    line-height: 1.3 !important;
}

/* Mobile: 2 colunas */
@media (max-width: 767px) {
    .pc-parceiros-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .pc-parceiro-logo {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
    }
}