/* ===============================
   MindeloHosting – Services
================================ */

.main-header-bar-wrap {
    position: relative;
    margin: 10px 0;
}

#menu-item-1012 {
font-weight:bold;
}

/* SEO entry-title */
header.entry-header .entry-title {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Container */
.mh-services {
    display: flex;
    flex-wrap: wrap;

    /* Espaço apenas entre cards */
    margin-left: -0.75rem;  /* metade do gap */
    margin-right: -0.75rem;
}

/* Card */
.mh-service {
    position: relative;       /* necessário para pseudo-elementos */
    flex: 1 1 calc(32% - 1.5rem);
    border: 1px solid #555;
    border-radius: 20px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    margin-left: 0.75rem;     /* metade do gap */
    margin-right: 0.75rem;
    margin-bottom: 1.5rem;
    overflow: hidden;         /* corta os pseudo-elementos se saírem do bloco */
    z-index: 1;               /* conteúdo acima dos pseudo-elementos */
}

/* ========================
   Efeitos visuais
======================== */

.mh-service::after {
    content: "";
    position: absolute;
    top: 0;
    right: -10%;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 168, 118, 0) 0%, rgba(42, 168, 118, 0.08) 50%, rgba(42, 168, 118, 0.18) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 0;
}

/* Nodos discretos no canto inferior esquerdo */
.mh-service::before {
    content: "";
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    width: 120px;
    height: 120px;
    background-image: 
        radial-gradient(circle 2px, #1E4B8B 10%, transparent 10%), 
        radial-gradient(circle 2px, #1E90FF 10%, transparent 10%);
    background-size: 25px 25px;  /* espaçamento maior para melhor visibilidade */
    background-repeat: repeat;
    opacity: 0.2;               /* visível mas discreto */
    pointer-events: none;
    z-index: 0;
}


/* Títulos */
.mh-service h2 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;  /* garante que fique acima dos pseudo-elementos */
    z-index: 1;
}

.mh-service h2 i {
    font-size: .9em;
    color: #ff0300;
    display: flex;
    align-items: center;
    z-index: 1;
}

/* Subtítulo */
.mh-subtitle {
    font-weight: 600;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* Lista */
.mh-list {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.mh-list li {
    margin-bottom: 0.4rem;
}

/* Botão */
.mh-service a.button {
  padding: 20px;
    align-self: stretch;
    text-align: center;
    background-color: transparent;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border: 1px solid #000;
    border-radius: 20px;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

/* Imagens dentro do bloco */
.mh-service img.mh-webdesign {
    position: absolute;
    top: 50%;
    right: 1.1rem;
    transform: translateY(-50%);
    max-width: 26%;
    height: auto;
    z-index: 1;
}

/* ====================
   Footer e widgets
==================== */

.widget-title {
    font-size: 1.2rem !important;
}

h2.wp-block-heading {
    font-size: 1.2rem;
}

.site-above-footer-wrap[data-section="section-above-footer-builder"] {
    min-height: 60px;

    /* Degradé simples direto no fundo */
    background: linear-gradient(135deg, rgba(238,238,238,1) 0%, rgba(42,168,118,0.08) 50%, rgba(42,168,118,0.15) 100%);
}

/* =========================
   Price badges (clean)
========================= */

.mh-prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.2rem;
    margin: 1.2rem 0 1rem;
    position: relative;
    z-index: 1;
}

.mh-price {
    padding: 0.25rem 0.3rem;
    border-radius: 25px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    cursor: default;
    user-select: none;
    border: 1px solid rgba(0,0,0,0.08);
}

/* Euro – azul suave */
.mh-price.eur {
    background: rgba(0, 51, 153, 0.08);
    color: #003399;
}

/* CVE – verde institucional */
.mh-price.cve {
    background: rgba(0, 102, 51, 0.08);
    color: #006633;
}

/* USD – cinza/verde dólar */
.mh-price.usd {
    background: rgba(46, 125, 50, 0.08);
    color: #2e7d32;
}


/* ====================
   Responsive
==================== */

@media (max-width: 1024px) {
    .mh-service {
        flex: 1 1 calc(50% - 1.5rem);
    }
}

@media (min-width: 921px) {
    .ast-container {
        max-width: 95%;
    }
    .headerimg {
        width: 100%;
        display: block;
        margin: -40px 0 20px 0;
        object-fit: cover;
        border-radius: 20px;
    }
    .ast-primary-header-bar {
        border-bottom-width: 0;
    }
}

@media (max-width: 921px) {
    .ast-header-break-point .site-above-footer-wrap[data-section="section-above-footer-builder"] {
        display: grid;
        padding: 20px !important;
    }
}

@media (max-width: 600px) {
    .mh-service {
        flex: 1 1 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .mh-prices {
        grid-template-columns: 1fr;
    }
}
