/* Hero interno compacto — kicker + título, máx. 120px */
:root {
    --page-hero-compact-h: 120px;
}

.page-hero-v2,
section.page-hero.bg-surface-dark,
section.page-hero.relative.overflow-hidden.bg-surface-dark,
.precos-hero,
.solucoes-hero,
.canais-hero,
.vertical-hero,
.case-detail-hero {
    position: relative;
    display: flex;
    align-items: center;
    max-height: var(--page-hero-compact-h);
    min-height: var(--page-hero-compact-h) !important;
    height: var(--page-hero-compact-h);
    padding: 0 !important;
    margin: 0;
    overflow: hidden;
    background: #0a0a0a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero-v2 .container,
section.page-hero .container,
.precos-hero .container,
.solucoes-hero .container,
.canais-hero .container,
.vertical-hero .container,
.case-detail-hero .container {
    width: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-hero-v2__bar {
    display: flex;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-width: 0;
    width: 100%;
}

.page-hero-v2__kicker {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    padding: 0;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--verde);
    background: none;
    border: none;
    border-radius: 0;
    white-space: nowrap;
}

.page-hero-v2__kicker i {
    font-size: 0.5625rem;
}

.page-hero-v2__title {
    flex: 1;
    min-width: 0;
    margin: 0;
    font-family: var(--display);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--branco);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.page-hero-v2__title .text-primary {
    color: var(--verde);
}

/* Legado: esconder conteúdo prolixo nos heroes antigos */
section.page-hero .absolute,
section.page-hero p,
section.page-hero nav,
section.page-hero a,
section.page-hero .grid > *:not(:first-child),
section.page-hero .inline-flex.rounded-full,
section.page-hero .flex.flex-wrap,
section.page-hero .flex.flex-col,
section.page-hero .flex.justify-center,
section.page-hero img,
.precos-hero .absolute,
.precos-hero p,
.precos-hero .flex,
.precos-hero .grid.grid-cols-3,
.precos-hero .precos-hero-visual,
.precos-hero .precos-hero-path,
.precos-hero .grid > *:not(:first-child),
.precos-hero img,
.solucoes-hero .absolute,
.solucoes-hero p,
.solucoes-hero .flex,
.solucoes-hero .grid > *:not(:first-child),
.solucoes-hero img,
.canais-hero .absolute,
.canais-hero p,
.canais-hero .flex,
.canais-hero .grid > *:not(:first-child),
.canais-hero .grid.grid-cols-2,
.canais-hero .grid.grid-cols-4,
.canais-hero img,
.vertical-hero .absolute,
.vertical-hero p,
.vertical-hero a,
.vertical-hero .flex.flex-wrap,
.case-detail-hero__bg,
.case-detail-hero .case-detail-back,
.case-detail-hero .case-detail-logo,
.case-detail-hero .case-detail-badges,
.case-detail-hero .case-detail-client,
.case-detail-hero .case-detail-desc {
    display: none !important;
}

section.page-hero .grid,
.precos-hero .grid,
.solucoes-hero .grid,
.canais-hero .grid,
.vertical-hero .grid {
    display: block;
    margin: 0;
    gap: 0;
}

section.page-hero h1,
.precos-hero h1,
.solucoes-hero h1,
.canais-hero h1,
.vertical-hero h1,
.case-detail-title {
    margin: 0 !important;
    font-family: var(--display);
    font-size: clamp(1rem, 2.4vw, 1.25rem) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    color: var(--branco) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

section.page-hero .inline-flex.rounded-full,
.precos-hero .inline-flex.rounded-full,
.solucoes-hero .inline-flex.rounded-full,
.canais-hero .inline-flex.rounded-full,
.vertical-hero .inline-flex.rounded-full {
    display: inline-flex !important;
    margin: 0 0.75rem 0 0 !important;
    padding: 0 !important;
    font-size: 0.625rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--verde) !important;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    white-space: nowrap;
    flex-shrink: 0;
}

section.page-hero .page-hero-content,
.precos-hero .grid > div:first-child,
.solucoes-hero .grid > div:first-child,
.canais-hero .grid > div:first-child,
.vertical-hero .max-w-3xl,
.case-detail-hero .container {
    display: flex !important;
    align-items: center;
    gap: 0.75rem 1.25rem;
    min-width: 0;
    max-width: none !important;
    margin: 0 !important;
    text-align: left !important;
}

section.page-hero h1 br,
.precos-hero h1 br,
.solucoes-hero h1 br,
.canais-hero h1 br {
    display: none;
}

.vertical-hero {
    background: #0a0a0a !important;
}

@media (max-width: 767px) {
    .page-hero-v2__bar,
    section.page-hero .page-hero-content,
    .precos-hero .grid > div:first-child,
    .solucoes-hero .grid > div:first-child,
    .canais-hero .grid > div:first-child,
    .vertical-hero .max-w-3xl {
        flex-wrap: nowrap;
    }

    .page-hero-v2__kicker {
        max-width: 38%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
