/* =========================================================
   HPME – SINGLE PARCEIRO
   ========================================================= */
/* ---------- GERAIS ---------- */
p {
  padding-bottom: 20px;
}

.lista {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
    
}

.lista ul {
    margin-left: 0px;
}

.lista li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 14px;
    line-height: 1.5;
    list-style: none;
}

.lista li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-image: url('https://heroispme.pt/wp-content/uploads/2026/02/check-circle-rounded.png');
    background-size: contain;
    background-repeat: no-repeat;
}

/* ---------- HERO ---------- */

.hpme-parceiro-hero {
    background: var(--s-navy);
    color: #fff;
    padding: 5px 80px 40px;
    position: relative;
    overflow: hidden;
}

.hpme-parceiro-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 60px 60px;
}

.hpme-parceiro-hero-grid {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hpme-parceiro-logo {
    width: 100%;
    max-width: 170px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto;
    border: 20px solid #ffffff;
    background-color: #ffffff;
    justify-self: center;
}

.hpme-badge {
    display: inline-block;
    background: var(--s-blue);
    padding: 1px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hpme-title {
    margin-bottom: 16px;
    color: #ffffff;
}

.hpme-lead {
    font-size: 18px;
    margin-bottom: 32px;
}

.hpme-hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hpme-btn-website {
  background-color: var(--p-gold);
  color: #ffffff;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 400;
  transition: .2s ease;
}

.hpme-btn-website:hover {
  background-color: #ffffff;
  color: var(--s-navy);
}

.hpme-social {
    display: flex;
    gap: 10px;
}

.hpme-social a {
    color: #fff;
    transition: .2s ease;
    border: 1px solid #ffffff;
    border-radius: 50px;
    padding: 10px;
    display: flex;
    justify-content: center;
}
.hpme-social a i.fa {
    min-width: 16px;
    min-height: 16px;
}

.hpme-social a:hover {
  background-color: var(--p-gold);
  border: 1px solid var(--p-gold);
  color: var(--s-navy);
}

/* ---------- GRID LAYOUT ---------- */

.hpme-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 100px;
  padding: 60px 80px;
}

/* ---------- CARDS ---------- */

.hpme-card {
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid #eee;
}

.hpme-card-ceo {
  /*display: flex;
  gap: 20px;
  align-items: flex-start;*/
  background: #fff;
  border-radius: 0 0 14px 14px;
}

.hpme-card-ceo-top {
    display: flex;
    gap: 20px;
    border-radius: 14px 14px 0px 0px;
    align-items: center;
    background-color: var(--p-gold);
    color: #ffffff;
    padding: 25px;
}
.hpme-card-ceo-top .hpme-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 74px;
    overflow: hidden;
}
.hpme-avatar img {
    width: 70px;
    height: 70px;
}

.hpme-card-ceo-bottom {
  border-left: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-right: 1px solid #eee;
  padding: 25px;
  border-radius: 0px 0px 14px 14px
}

.hpme-role {
  font-size: 14px;
  color: #ffffff;
  font-weight: 500;
}
.hpme-role-name h6 {
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.hpme-quote {
  border-left: 4px solid #d4a85f;
  padding-left: 20px;
  font-style: italic;
  color: var(--titulos);
}

.card-address h6 {
  font-weight: 700;
  text-transform: uppercase;
}

.address-container,
.telephone-container {
    display: flex;
    gap: 20px;
}

.address-container {
    margin: 20px 0 15px;
}

.telephone-container {
    margin-bottom: 20px;
}

.empresa-container {
    margin: 20px 0px 0px;
    display: flex;
    gap: 50px;
    opacity: 0.8;
}

.hpme-link {
  color: var(--p-blue);
  font-weight: 600;
  text-decoration: none;
}

.hpme-link:hover {
  text-decoration: underline;
}

.line {
    border: 1px solid #f3f4f6;
    margin: 14px 0;
}

/* ---------- COMPROMISSO ---------- */

.hpme-section-title {
  margin-top: 5%;
}

.hpme-video {
  margin-top: 20px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hpme-video img {
  width: 100%;
  display: block;
}

.hpme-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
}


/* ---------- VIDEO ---------- */

.hpme-video {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
}

.hpme-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}
/* ---------- VIDEO WITH OVERLAY ---------- */

.hpme-video {
    position: relative;
    cursor: pointer;
}

.hpme-video video {
    position: relative;
    z-index: 1;
}

/* Overlay */
.hpme-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.40);
    z-index: 2;

    opacity: 1;
    visibility: visible;

    transition: opacity .5s ease, visibility .5s ease;
}

/* Quando está a tocar */
.hpme-video.playing .hpme-video-overlay {
    opacity: 0;
    visibility: hidden;
}

/* Ícone */
.hpme-video-overlay i {
    font-size: 70px;
    color: #ffffff;
    opacity: 0.6;

    transform: scale(1);
    transition: transform .5s ease, opacity .5s ease;
}

/* Hover */
.hpme-video:hover .hpme-video-overlay i {
    transform: scale(1.3);
}

/* ---------- BENEFÍCIOS ---------- */

/*.hpme-beneficios {
  background: #eaf4f8;
  padding: 30px;
  border-radius: 14px;
  margin-top: 30px;
}

.hpme-beneficios-card {
  margin-top: 16px;
}*/

.hpme-beneficios {
  margin-top: 5%;
}

.hpme-beneficios-card h6 {
  font-size: 24px;
  font-weight: 500;
}

/* ---------- CASOS ---------- */

.hpme-casos {
  margin-top: 5%; 
  background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(5, 5, 5, 0.10);
}
.hpme-casos h5 {
    margin-bottom: 20px;
}

/*.hpme-case {
  margin-bottom: 20px;
}
.hpme-case:last-of-type {
  margin-bottom: 0;
}*/

.hpme-casos-container {
    display: flex;
    gap: 20px;
}

.hpme-case-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
}

.hpme-case-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 50px;
    background: #fafbfc;
}

.hpme-case-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* garante que a imagem fica visível inteira */
    display: block;
    max-width: 35px;
    margin: 0 auto;
}

.hpme-case-meta-text {
    display: flex;
    flex-direction: column;
}

.hpme-case-empresa {
    font-weight: 600;
    line-height: 1.2;
    font-size: 12px;
    margin-bottom: 2px;
}

.hpme-case-edicao {
    opacity: .75;
    line-height: 1.2;
    font-size: 10px;
}


/* ---------- ARTIGOS DE OPNIÃO ---------- */
.hpme-artigos {
  padding-top: 5%;
}
.hpme-artigos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.hpme-artigos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.hpme-artigo-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgb(0 0 0 / 10%);
}

.hpme-artigo-thumb {
    position: relative;
    display: block;
}

.hpme-artigo-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.hpme-thumb-placeholder {
    height: 200px;
    background: #ddd;
}

.hpme-artigo-categoria {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #fff;
    padding: 0px 12px;
    font-size: 10px;
    font-weight: 500;
    border-radius: 4px;
    color: #474747;
    line-height: 23px;
    text-transform: uppercase;
}

.hpme-artigo-card:hover .hpme-artigo-categoria {
    background: var(--p-gold);
    color: #ffffff
}

.hpme-artigo-content {
    padding: 20px;
}

.hpme-artigo-title {
    margin-bottom: 12px;
    font-size: 30px;
    line-height: 36px;
}
.hpme-artigo-card:hover .hpme-artigo-title {
  color: var(--p-gold);
}

.hpme-artigo-meta {
    font-size: 14px;
    opacity: .7;
    color: #474747;
}

.hpme-ver-todos {
    font-weight: 600;
    text-decoration: none;
}

/* ---------- SIDEBAR ---------- */

.hpme-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hpme-premios {
  background: #F9FAFB;
  border-radius: 14px;
  padding: 26px;
  border: 1px solid #eee;
}

.hpme-premios h6 {
    font-weight: 700;
    text-transform: uppercase;
}

.hpme-premio {
    background: rgb(255 255 255);
    padding: 14px;
    border-radius: 10px;
    margin-top: 12px;
    border: 1px solid #eee
}
.hpme-premio .premio-container {
    display: flex;
    gap: 20px;
}
.hpme-premio .icon {
    width: 48px;
    height: 48px;
}
.hpme-premio .premio-items {
    display: flex;
    flex-direction: column;
}

.hpme-premio .premio-items .categoria {
    font-size: 12px;
    font-weight: 400;
}

.hpme-premio .premio-items .premio {
    font-size: 16px;
    font-weight: 600;
}

.hpme-cta {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px;
    border: 1px solid #eee;
}
.hpme-cta h6 {
    font-weight: 700;
    text-transform: uppercase;
}

.hpme-btn {
  display: inline-block;
  background: #fff;
  color: var(--s-navy);
  padding: 12px 20px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
}

.hpme-cta .hpme-btn-website {
  line-height: 40px;
}
.hpme-cta .hpme-btn-website:hover {
  background-color: var(--s-navy);
  color: var(--p-gold);
} 

/* ---------- RESPONSIVO ---------- */

@media (max-width: 1200px) {
  .hpme-title {
    font-size: 38px;
  }
}

@media (max-width: 980px) {
  .hpme-parceiro-hero {
    padding: 40px 0 40px !important;
  }
  .hpme-parceiro-hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hpme-parceiro-hero-content {
    display: flex;
    padding: 20px;
    flex-direction: column;
    align-items: center;
    flex-wrap: nowrap;
  }

  .hpme-grid {
    padding: 40px 20px;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hpme-title {
    font-size: 32px;
  }

  .hpme-lead {
    font-size: 16px;
  }

  .hpme-parceiro-logo {
    max-width: 240px;
  }

  .hpme-card-ceo {
    flex-direction: column;
  }
  /* CONTEUDO */
  .hpme-video {
    margin-top: 10px;
    margin-bottom: 40px;
  }

  /* CASOS */
  .hpme-casos-container {
    flex-direction: column;
  }
  
  .hpme-casos {
    padding: 20px;
  }
  
  /* ARTIGOS DE OPNIÃO */
  .hpme-artigos-grid {
    grid-template-columns: 1fr;
  }

  /*SIDEBAR*/
  .empresa-container {
    justify-content: space-between;
  }
  .hpme-premios {
    padding: 20px;
  }

}

@media (max-width: 480px) {

  .hpme-parceiro-hero {
    padding: 70px 0 110px;
  }

  .hpme-title {
    font-size: 26px;
  }

  .hpme-lead {
    font-size: 14px;
  }

  .hpme-parceiro-logo {
    max-width: 150px;
  }

}