/* ════════════════════════════════════════════════════════
   HECT SETORES — Frontend
════════════════════════════════════════════════════════ */

.hect-setores-wrap {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    padding: 60px 0;
    width: 100%;
    box-sizing: border-box;
}

/* ── Grid de cards (60%) ────────────────────────────── */
.hect-setores-grid {
    flex: 0 0 60%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

/* ── Card ───────────────────────────────────────────── */
.hect-setor-card {
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
}

.hect-setor-card-inner {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #0d1a26;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hect-setor-card:hover .hect-setor-card-inner {
    transform: scale(1.06);
}

/* Overlay gradiente (mesmo estilo dos serviços) */
.hect-setor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 22, 48, 0.92) 0%, transparent 65%);
    transition: background 0.4s ease;
    pointer-events: none;
}

.hect-setor-card:hover .hect-setor-overlay {
    background: linear-gradient(to top, rgba(0, 22, 48, 0.96) 0%, rgba(0, 22, 48, 0.3) 100%);
}

/* Borda de destaque no hover */
.hect-setor-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: border-color 0.35s ease;
    pointer-events: none;
    z-index: 3;
}

.hect-setor-card:hover::after {
    border-color: rgba(58, 168, 223, 0.4);
}

.hect-setor-titulo {
    position: relative;
    z-index: 2;
    color: #fff !important;
    font-size: 11px !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 10px 14px;
    margin: 0 !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    transition: color 0.3s;
}

.hect-setor-card:hover .hect-setor-titulo {
    color: #4ab8e0 !important;
}

/* ── Texto (40%) ────────────────────────────────────── */
.hect-setores-texto {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0 20px 8px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}

.hect-setores-label {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: #333 !important;
    text-transform: uppercase;
    /*letter-spacing: 2px;*/
    line-height: 1.05 !important;
    margin: 0 0 10px !important;
}

.hect-setores-subtitulo {
    font-size: 20px !important;
    color: #3aa8df !important;
    line-height: 1.5 !important;
    margin: 0 0 0 !important;
    font-weight: 800 !important;
    text-transform: uppercase;
}

.hect-setores-descricao-wrap {
    min-height: 80px;
    padding-top: 8px;
    /*border-top: 1px solid rgba(58, 168, 223, 0.2);*/
}

.hect-setores-descricao {
    font-size: clamp(22px, 2.8vw, 38px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 16px 0 0 !important;
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: inline-block;
    background: #3aa8df;
    width: auto;
    padding: 15px 15px;
    color: #FFF !important; 
}

.separador-azul {
    width: 36px;
    height: 2px;
    background: #3aa8df;
    margin: 10px 0 30px;
}

/* ── Hover info block ───────────────────────────────── */
.hect-setor-hover-info {
    margin-top: 20px;
    padding-top: 30px;
    /*border-top: 1px solid rgba(58, 168, 223, 0.15);*/
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.hect-setor-hover-info.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hect-setor-hover-titulo {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #3AA8DF !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px !important;
}

.hect-setor-hover-desc {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: #333 !important;
    line-height: 1.75 !important;
    margin: 0 !important;
}

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .hect-setores-wrap {
        gap: 32px;
    }
    .hect-setores-grid {
        flex: 0 0 58%;
    }
    .hect-setores-texto {
        flex: 0 0 42%;
        position: static;
    }
}

@media (max-width: 768px) {
    .hect-setores-wrap {
        flex-direction: column-reverse;
        gap: 28px;
        padding: 40px 0;
    }
    .hect-setores-grid,
    .hect-setores-texto {
        flex: none;
        width: 100%;
    }
    .hect-setores-texto {
        padding: 0;
    }
    .hect-setores-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hect-setores-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
