/* Afinações finais após nova revisão visual da homepage Netsearch */

/* HOME — o marcador deve alinhar pela primeira linha e não pelo centro do bloco. */
.home-hero .hero-pillar-list li {
    position: relative !important;
    display: block !important;
    min-height: 0 !important;
    padding-left: 25px !important;
    line-height: 1.38 !important;
    text-wrap: pretty;
}

.home-hero .hero-pillar-list li::before {
    top: .48em !important;
    transform: none !important;
}

.home-hero .hero-pillar-list li strong {
    display: inline !important;
    white-space: nowrap !important;
}

.home-hero .hero-pillar-list li a {
    display: block !important;
    width: 100% !important;
}

/* AUTOMAÇÃO — usar exatamente o alinhamento horizontal das restantes secções. */
#automacao .container.ai-stack {
    width: min(calc(100% - 40px), var(--container)) !important;
    display: grid !important;
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr) !important;
    gap: clamp(48px, 5vw, 72px) !important;
    align-items: start !important;
}

#automacao .ai-stack > .reveal:first-child {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
}

#automacao .ai-stack > .reveal:first-child > .section-kicker,
#automacao .ai-stack > .reveal:first-child > h2,
#automacao .ai-stack > .reveal:first-child > p {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

#automacao .ai-stack > .reveal:first-child > h2 {
    max-width: 590px !important;
    margin: 0 !important;
    font-size: clamp(2.85rem, 3.85vw, 4.35rem) !important;
    line-height: 1.045 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

#automacao .ai-stack > .reveal:first-child > p {
    max-width: 590px !important;
    margin: 30px 0 0 !important;
    font-size: 1rem !important;
    line-height: 1.62 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Retirar o painel escuro da lista: o fundo gráfico da secção fica visível. */
#automacao .automation-content-panel {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    padding: 8px 0 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
}

#automacao .automation-content-list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 24px !important;
    padding: 0 !important;
    margin: 0 0 30px !important;
}

#automacao .automation-content-list li {
    min-height: 28px !important;
    padding-left: 24px !important;
    color: rgba(255,255,255,.95) !important;
    font-size: clamp(.77rem, .72vw, .85rem) !important;
    font-weight: 720 !important;
    line-height: 1.38 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.72);
}

#automacao .automation-content-list li::before {
    width: 9px !important;
    height: 9px !important;
    box-shadow: 0 0 0 4px rgba(121,201,66,.10), 0 0 16px rgba(121,201,66,.36) !important;
}

#automacao .automation-benefits {
    padding-top: 24px !important;
    border-top: 1px solid rgba(121,201,66,.22) !important;
}

#automacao .automation-benefits p {
    margin: 0 0 8px !important;
    color: rgba(255,255,255,.86) !important;
    font-size: .86rem !important;
    line-height: 1.45 !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.72);
}

#automacao .automation-benefits strong {
    color: var(--green) !important;
    font-weight: 900 !important;
}

/* FOOTER — usar o novo logótipo com dimensão adequada ao bloco. */
.site-footer .footer-brand img {
    width: min(100%, 300px) !important;
    height: auto !important;
    max-height: 78px !important;
    margin-bottom: 24px !important;
    object-fit: contain !important;
    object-position: left center !important;
}

@media (max-width: 1040px) {
    #automacao .container.ai-stack {
        grid-template-columns: 1fr !important;
        gap: 38px !important;
    }

    #automacao .ai-stack > .reveal:first-child > h2,
    #automacao .ai-stack > .reveal:first-child > p {
        max-width: 760px !important;
    }
}

@media (max-width: 760px) {
    #automacao .container.ai-stack {
        width: min(calc(100% - 24px), var(--container)) !important;
        gap: 30px !important;
    }

    #automacao .ai-stack > .reveal:first-child > h2 {
        font-size: clamp(2.3rem, 10vw, 3.45rem) !important;
        line-height: 1.06 !important;
    }

    #automacao .automation-content-list {
        grid-template-columns: 1fr !important;
    }

    .site-footer .footer-brand img {
        width: min(78vw, 270px) !important;
    }
}
