/* ======================================================
   TIPOGRAFIA BASE
====================================================== */

h3.titulo-pagina,
.hpme-section-title {
    font-size: 30px;
    line-height: 38px;
    font-weight: 600;
}

p {
    padding-bottom: 0px;
}

/* ======================================================
   WRAPPER
====================================================== */

.hpme-wrapper {
    background: #f4f5f7;
}

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

.hpme-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 5% 4%;
}

/* ======================================================
   HERO
====================================================== */

.hpme-hero {
    background: #fff;
}

.hpme-hero-inner {
    text-align: center;
}

.hpme-hero h1 {
    text-align: center;
}

.hpme-subtitle {
    text-align: center;
}

.hpme-divider {
    width: 100%;
    height: 1px;
    background: var(--p-gold);
    margin: 30px auto;
}

.hpme-main-title {
    max-width: 850px;
    text-align: center;
    margin: 20px auto 20px;
}

.hpme-lead {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 24px;
}

.hpme-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.hpme-tag {
    background: linear-gradient(135deg, #1D2E52 0%, #1D9ACB 100%);
    color: #fff;
    padding: 4px 14px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 22px;
    display: inline-block;
}

/* ======================================================
   FEATURED IMAGE + BADGE
====================================================== */

.hpme-featured {
    position: relative;
}

.hpme-featured-inner {
    position: relative;
    height: 560px;
    overflow: visible;
}

.hpme-featured-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hpme-badge {
    position: absolute;
    top: 0;
    right: 5%;
    transform: translateY(-50%);
    width: 165px;
    height: 165px;
    border: 4px solid #f4f5f7;
    border-radius: 50%;
    background: linear-gradient(135deg, #E8BC7D 0%, #F1A943 50%, #BA8E4F 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.hpme-badge::before {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,223,32,0.3) 0%, rgba(0,0,0,0) 100%);
    z-index: 0;
}

.hpme-badge-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
}

.hpme-badge-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 4px;
}

.hpme-badge-icon img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.badge-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 20px;
}

.badge-year {
    display: block;
    font-size: 28px;
    font-weight: 700;
    line-height: 34px;
}

/* ======================================================
   GRID LAYOUT (content + sidebar)
====================================================== */

.hpme-content {
    background: #f4f5f7;
}

.hpme-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
}

/* ======================================================
   LEFT COLUMN
====================================================== */

.hpme-left {
    min-width: 0;
}

.hpme-quote-top {
    border-left: 4px solid #b8904f;
    border-radius: 0;
    padding-left: 20px;
    font-style: italic;
    font-size: 20px;
    line-height: 32px;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0 0 36px;
}

.hpme-body-text {
    font-size: 15px;
    line-height: 26px;
    color: #444;
    margin: 0 0 10px;
}

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

.hpme-video {
    margin-top: 30px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
    cursor: pointer;
}

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

.hpme-video video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

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

.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;
}

.hpme-video.playing .hpme-video-overlay {
    opacity: 0;
    visibility: hidden;
}

.hpme-video-overlay i {
    font-size: 70px;
    color: #ffffff;
    opacity: 0.6;
    transform: scale(1);
    transition: transform .5s ease, opacity .5s ease;
}

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

.hpme-quote-ceo {
    border-left: 4px solid #b8904f;
    border-radius: 0;
    padding: 4px 0 4px 20px;
    margin: 32px 0;
}

.hpme-quote-ceo p {
    font-size: 18px;
    line-height: 30px;
    font-style: italic;
    font-weight: 500;
    color: #1a1a2e;
    margin: 0 0 10px;
}

.hpme-quote-ceo cite {
    font-size: 14px;
    color: #888;
    font-style: normal;
}

/* ======================================================
   RIGHT COLUMN — SIDEBAR STICKY
====================================================== */

.hpme-right {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

/* ======================================================
   CARD 1 — IDENTIDADE
====================================================== */

.hpme-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border: 0.5px solid #e0e0e0;
}

.hpme-card-top {
    background: #b8904f;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.hpme-card-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.85);
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hpme-card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hpme-card-initials {
    font-size: 18px;
    font-weight: 700;
    color: #b8904f;
    letter-spacing: 0.03em;
}

.hpme-card-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hpme-card-name {
    color: #fff;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
}

.hpme-card-role {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    margin-top: 3px;
}

.hpme-card-body {
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hpme-card-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hpme-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f4f5f7;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hpme-card-icon svg {
    width: 17px;
    height: 17px;
    stroke: #888;
    fill: none;
}

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

.hpme-card-text strong {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.3;
}

.hpme-card-text span {
    font-size: 12px;
    color: #888;
    margin-top: 1px;
}

.hpme-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 10px;
}

.hpme-btn-website {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: #fff;
    border: 0.5px solid #ccc;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    text-decoration: none;
    transition: background 0.15s;
}

.hpme-btn-website:hover {
    background: #f7f7f7;
    color: #1a1a1a;
}

.hpme-btn-website svg {
    width: 14px;
    height: 14px;
    stroke: #1a1a1a;
    fill: none;
    flex-shrink: 0;
}

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

.hpme-social a {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.15s;
}

.hpme-social a:hover {
    opacity: 0.85;
}

.hpme-social a svg {
    width: 18px;
    height: 18px;
}

.hpme-social-linkedin {
    background: #0077b5;
}

.hpme-social-instagram {
    background: #d62976;
}

/* ======================================================
   CARD 2 — RAIO-X PME
====================================================== */

.hpme-raio-card {
    border-radius: 14px;
    border: 0.5px solid #e0e0e0;
    overflow: hidden;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
}

.hpme-raio-header {
    padding: 20px 20px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hpme-raio-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    color: #6A7282;
    text-transform: uppercase;
}

.hpme-raio-verified {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    letter-spacing: 0px;
    color: #1a8f5a;
    background: #eaf7f0;
    padding: 4px 10px;
    border-radius: 20px;
}

.hpme-raio-verified img {
    width: 12px;
    height: 12px;
    display: block;
    flex-shrink: 0;
}

.hpme-raio-metrics {
    padding: 40px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hpme-metric-item {
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0px 1px 3px 0px rgb(0 0 0 / 10%);
}

.hpme-metric-info {
    min-width: 0;
}

.hpme-metric-label {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 6px;
}

.hpme-metric-value {
    font-size: 24px;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 5px;
}

.hpme-metric-sub {
    font-family: Inter, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: -0.15px;
    color: #4A5565;
}

.hpme-metric-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.hpme-metric-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

/* ======================================================
   BASTIDORES
====================================================== */

.hpme-bastidores {
    background: #fff;
}

.hpme-bastidores .hpme-section-title {
    margin-bottom: 28px;
}

.hpme-bastidores-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.hpme-bastidor-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.hpme-bastidor-item p {
    margin: 10px 0 0;
    font-size: 24px;
    font-weight: 500px;
    color: #000;
    text-align: center;
}

/* ======================================================
   COMENTÁRIOS
====================================================== */

.hpme-comentarios {
    background: #f4f5f7;
}

.hpme-bloco {
    display: flex;
    gap: 0;
    border: 1.5px solid #d0d5dd;
    border-radius: 10px;
    overflow: hidden;
    font-size: 14px;
    background: #fff;
}

.hpme-bloco__esquerda {
    width: 220px;
    flex-shrink: 0;
    padding: 24px 20px;
    border-right: 1.5px solid #d0d5dd;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hpme-bloco__direita {
    flex: 1;
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hpme-bloco__titulo {
    font-weight: 500;
    font-size: 15px;
    margin: 0 0 4px;
}

/* Estrelas esquerda — clicáveis e grandes */
.hpme-bloco__esquerda .hpme-form__estrelas {
    display: flex;
    gap: 6px;
    cursor: pointer;
    margin-top: 4px;
}

.hpme-bloco__esquerda .hpme-form__estrela {
    font-size: 32px;
    color: #d1d5db;
    transition: color .15s;
    line-height: 1;
}

.hpme-bloco__esquerda .hpme-form__estrela.hover,
.hpme-bloco__esquerda .hpme-form__estrela.selecionada {
    color: #f5a623;
}

/* Estrelas média (decorativas) */
.hpme-estrelas-media {
    display: flex;
    gap: 4px;
}

.hpme-estrela-media {
    font-size: 28px;
    color: #d1d5db;
}

.hpme-estrela-media--ativa {
    color: #f5a623;
}

.hpme-bloco__media-texto {
    font-size: 12px;
    color: #888;
    margin: 0;
}

/* Lista comentários */
.hpme-lista {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hpme-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.hpme-item__avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 500;
    font-size: 13px;
    flex-shrink: 0;
}

.hpme-item__corpo p {
    margin: 2px 0 0;
    color: #444;
    line-height: 1.5;
}

.hpme-item__topo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hpme-item__estrelas {
    font-size: 13px;
}

.hpme-item__estrelas span {
    color: #d1d5db;
}

.hpme-item__estrelas span.ativa {
    color: #f5a623;
}

/* Formulário */
.hpme-form__nome-wrap {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
    animation: hpme-fadeIn .2s ease;
}

.hpme-form__nome,
.hpme-form__email {
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 13px;
    width: 100%;
    box-sizing: border-box;
}

.hpme-form__nome::placeholder,
.hpme-form__email::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}

.hpme-form__linha {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.hpme-form__textarea {
    flex: 1;
    border: 1px solid #d0d5dd;
    border-radius: 6px;
    padding: 9px 12px;
    font-size: 13px;
    resize: none;
    box-sizing: border-box;
    transition: all .2s;
    font-family: inherit;
}

.hpme-form__textarea::placeholder {
    color: #aaa !important;
    opacity: 1 !important;
}

.hpme-form__btn {
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.hpme-form__btn:hover {
    background: #333;
}

.hpme-form__extras {
    display: none;
    animation: hpme-fadeIn .2s ease;
}

.hpme-form__rgpd {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.hpme-form__rgpd a {
    color: #0073aa;
}

@keyframes hpme-fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ======================================================
   CTA FINAL
====================================================== */

.hpme-cta {
    background: linear-gradient(135deg, #1d2c4b 0%, #2c6c91 100%);
    overflow: hidden;
}

#cta-fundo.cta-global {
    height: 450px;
    padding: 0 4%;
}

#cta-fundo.cta-global .botao-seta.nectar-cta.has-icon .link_wrap {
    display: inline-flex;
    align-items: center;
    border-radius: 10px;
}

#cta-fundo.cta-global .botao-seta.nectar-cta.has-icon .link_wrap:hover {
    background-color: #1D2E52;
}

/* ======================================================
   RESPONSIVO — TABLET (max-width: 992px)
====================================================== */

@media (max-width: 992px) {

    .hpme-grid {
        grid-template-columns: 1fr;
    }

    .hpme-right {
        position: static;
    }

    .hpme-featured-inner {
        height: 350px;
    }

    .hpme-badge {
        width: 120px;
        height: 120px;
        right: 4%;
    }

    .hpme-badge-icon {
        width: 32px;
        height: 32px;
    }

    .hpme-badge-icon img {
        width: 32px;
        height: 32px;
    }

    .badge-label {
        font-size: 14px;
        line-height: 20px;
    }

    .badge-year {
        font-size: 20px;
        line-height: 24px;
    }

    .hpme-quote-top {
        font-size: 18px;
        line-height: 28px;
    }

    .hpme-card-actions {
        flex-wrap: wrap;
    }

    .hpme-btn-website {
        flex: 1;
        justify-content: center;
    }

    .hpme-bastidores-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hpme-comentarios-box {
        grid-template-columns: 1fr;
    }

    .hpme-cta-inner {
        grid-template-columns: 1fr;
    }

    .hpme-cta-image {
        display: none;
    }

    .hpme-video {
        margin-top: 10px;
        margin-bottom: 40px;
    }
}

/* ======================================================
   RESPONSIVO — MOBILE (max-width: 640px)
====================================================== */

@media (max-width: 640px) {

    .hpme-bloco {
        flex-direction: column;
    }

    .hpme-bloco__esquerda {
        width: 100%;
        border-right: none;
        border-bottom: 1.5px solid #d0d5dd;
    }

    .hpme-form__nome-wrap {
        grid-template-columns: 1fr;
    }

    .hpme-form__linha {
        flex-direction: column;
    }

    .hpme-form__btn {
        width: 100%;
    }
}

/* ======================================================
   RESPONSIVO — MOBILE (max-width: 576px)
====================================================== */

@media (max-width: 576px) {

    .hpme-container {
        padding: 40px 5%;
    }

    .hpme-featured-inner {
        height: 240px;
    }

    .hpme-badge {
        width: 100px;
        height: 100px;
    }

    .badge-label {
        font-size: 12px;
        line-height: 16px;
    }

    .badge-year {
        font-size: 16px;
        line-height: 20px;
    }

    .hpme-badge-icon {
        width: 24px;
        height: 24px;
    }

    .hpme-badge-icon img {
        width: 24px;
        height: 24px;
    }

    h3.titulo-pagina,
    .hpme-section-title {
        font-size: 22px;
        line-height: 30px;
    }

    .hpme-metric-value {
        font-size: 20px;
        line-height: 26px;
    }

    .hpme-comentarios-box {
        padding: 24px;
        grid-template-columns: 1fr;
    }

    .hpme-bastidores-grid {
        grid-template-columns: 1fr;
    }
}