/* ============================================================
   BEMAVI — Página Institucional
   Segue o padrão de tokens/estética da home (bemavi-home.css)
   e o chrome das páginas internas (bemavi-empreendimento.css).
   Layout fluido e responsivo — imagens com sangria nas bordas.
   ============================================================ */

body.bemavi-emp-page {
    --bemavi-bg: #d0c9bd;
    --bemavi-sand: #c1b4a2;
    --bemavi-taupe: #b1a086;
    --bemavi-text: #50423f;
    --bemavi-muted: #6f5f47;
    --bemavi-soft: #75615c;
    --bemavi-dark: #413532;
    --bemavi-deep: #231b1a;
    --bemavi-cream: #ebe7e4;
    --bemavi-quality: #c9c0b2;
    --inst-container: min(1280px, calc(100vw - 80px));
    --inst-gutter: calc((100vw - var(--inst-container)) / 2);
    background: #d0c9bd;
    color: #50423f;
}

body.bemavi-emp-page .smooth-scroll-content {
    padding-top: 0;
    padding-bottom: 0;
}

body.bemavi-emp-page .smooth-scroll-container {
    background: #d0c9bd;
}

body.bemavi-emp-page .bt-whatsbox:not(.bt-whatsbox-bemavi) {
    display: none !important;
}

@media only screen and (min-width: 1025px) {
    html:has(body.bemavi-emp-page),
    body.bemavi-emp-page {
        margin-top: 0 !important;
    }
}

/* ── Header (transparente sobre o hero, com logo + menu) ───────────── */
body.bemavi-emp-page .site-header.bemavi-site-header,
body.bemavi-emp-page .site-header.bemavi-site-header.is-compact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: 120px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body.bemavi-emp-page .site-header.bemavi-site-header.is-hide,
body.bemavi-emp-page.header-lock-visible .site-header.bemavi-site-header {
    transform: translateY(0) !important;
}

.bemavi-header-brand {
    position: absolute;
    top: 67px;
    left: 70px;
    z-index: 12;
    display: block;
    pointer-events: auto;
}

.bemavi-header-brand img {
    display: block;
    width: 145px;
    height: 16px;
    object-fit: contain;
    object-position: left center;
    filter: brightness(0) invert(1);
    opacity: 0.96;
}

/* ── Estrutura base ────────────────────────────────────────────────── */
.bemavi-inst {
    position: relative;
    overflow-x: hidden;
    background: var(--bemavi-bg);
    color: var(--bemavi-text);
    font-family: var(--font-base);
    font-weight: 300;
}

.bemavi-inst img {
    display: block;
    max-width: 100%;
}

.inst-container {
    width: var(--inst-container);
    margin: 0 auto;
}

.inst-eyebrow {
    margin: 0 0 66px;
    color: var(--bemavi-text);
    text-transform: uppercase;
    font-size: 28px;
    line-height: 38px;
    font-weight: 300;
}

.inst-eyebrow--light {
    color: var(--bemavi-cream);
}

/* ============================================================
   1) HERO — banner ocupa todo o topo (sem fade sobre a imagem)
   ============================================================ */
.inst-hero {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;   /* conteúdo mais para cima (como no Figma) */
    min-height: 950px;
    padding: 300px 0 0;
    isolation: isolate;
    overflow: hidden;
    background: var(--bemavi-deep);
    color: var(--bemavi-cream);
}

.inst-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.inst-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.inst-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(180deg, rgba(39, 31, 29, 0.85) 0%, rgba(39, 31, 29, 0.55) 100%);
}

/* Símbolo decorativo no canto superior esquerdo do banner */
.inst-hero-symbol {
    position: absolute;
    left: -90px;
    top: 200px;
    width: 363px;
    max-width: 26vw;
    height: auto;
    aspect-ratio: 363 / 435;
    z-index: -1;
    opacity: 0.5;
    pointer-events: none;
}

/* Wordmark BEMAVI no banner (lado esquerdo, como no Figma) */
.inst-hero-logo {
    position: absolute;
    top: 284px;
    left: calc(var(--inst-gutter) + 120px);
    width: 266px;
    max-width: 30vw;
    height: auto;
    z-index: 1;
    opacity: 0.95;
    pointer-events: none;
}

/* Nesta página o logo do header (canto) some — usamos o wordmark do banner */
body.page-institucional .bemavi-header-brand {
    display: none;
}

/* ============================================================
   INTRO DO BANNER (sequência:
   símbolo → linha → logo → título letra a letra → texto → imagem da família)
   ============================================================ */
.inst-hero-symbol {
    opacity: 0;
    -webkit-clip-path: inset(0 100% 0 0);
    clip-path: inset(0 100% 0 0);
    transition: opacity 1.3s ease,
        -webkit-clip-path 1.7s cubic-bezier(0.22, 1, 0.36, 1),
        clip-path 1.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-hero-line {
    transform: scaleY(0);
    transform-origin: top center;
    transition: transform 1.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-hero-logo {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 1.15s ease, transform 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-hero-title {
    opacity: 0;
}

.inst-hero-title .hero-char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.75s ease;
}

/* Marcadores de quebra de linha do título (inseridos via JS); display:block força a quebra.
   Desktop: "Mais de 40 Anos," / "Novos Horizontes". Mobile: 3 linhas (ver bloco @media). */
.inst-hero-title .hero-brk {
    display: none;
}

.inst-hero-title .hero-brk-desk {
    display: block;
}

.inst-hero-text {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-hero-family {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.4s ease, transform 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.bemavi-inst.is-hero-revealed .inst-hero-symbol {
    opacity: 0.5;
    -webkit-clip-path: inset(0 0 0 0);
    clip-path: inset(0 0 0 0);
}

.bemavi-inst.is-hero-revealed .inst-hero-line {
    transform: scaleY(1);
    transition-delay: 0.7s;
}

.bemavi-inst.is-hero-revealed .inst-hero-logo {
    opacity: 0.95;
    transform: none;
    transition-delay: 1.35s;
}

.bemavi-inst.is-hero-revealed .inst-hero-title {
    opacity: 1;
}

.bemavi-inst.is-hero-revealed .inst-hero-title .hero-char {
    opacity: 1;
    transition-delay: var(--d, 0s);
}

.bemavi-inst.is-hero-revealed .inst-hero-text {
    opacity: 1;
    transform: none;
    transition-delay: var(--p-delay, 2.7s);
}

.bemavi-inst.is-hero-revealed .inst-hero-family {
    opacity: 1;
    transform: none;
    transition-delay: var(--family-delay, 3.2s);
}

/* ============================================================
   INTRO PALAVRA DO DIRETOR (sequência: imagem → linha → textos)
   A seção é o .waypoint; o sistema global adiciona .animated ao entrar na tela.
   ============================================================ */
.inst-diretor-media {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-diretor-rule {
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-diretor-copy .inst-eyebrow,
.inst-diretor-text p {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-diretor.is-revealed .inst-diretor-media {
    opacity: 1;
    transform: none;
}

.inst-diretor.is-revealed .inst-diretor-rule {
    transform: scaleX(1);
    transition-delay: 0.7s;
}

.inst-diretor.is-revealed .inst-diretor-copy .inst-eyebrow {
    opacity: 1;
    transform: none;
    transition-delay: 1.2s;
}

.inst-diretor.is-revealed .inst-diretor-text p {
    opacity: 1;
    transform: none;
}

.inst-diretor.is-revealed .inst-diretor-text p:nth-child(1) { transition-delay: 1.5s; }
.inst-diretor.is-revealed .inst-diretor-text p:nth-child(2) { transition-delay: 1.78s; }
.inst-diretor.is-revealed .inst-diretor-text p:nth-child(3) { transition-delay: 2.06s; }

@media (prefers-reduced-motion: reduce) {
    .inst-hero-symbol,
    .inst-hero-line,
    .inst-hero-logo,
    .inst-hero-title .hero-char,
    .inst-hero-text,
    .inst-hero-family,
    .inst-diretor-media,
    .inst-diretor-rule,
    .inst-diretor-copy .inst-eyebrow,
    .inst-diretor-text p {
        transition: none !important;
    }
}



.inst-hero-line {
    position: absolute;
    top: 63px;
    left: var(--inst-gutter);
    width: 2px;
    height: 251px;
    background: var(--bemavi-taupe);
    pointer-events: none;
}

.inst-hero .inst-container {
    display: flex;
    justify-content: flex-end;
}

.inst-hero-copy {
    width: min(543px, 100%);
}

.inst-hero-copy h1 {
    margin: 0 0 64px;   /* gap maior entre título e texto (como no Figma) */
    color: #d1cec9;
    text-transform: uppercase;
    font-size: 35px;
    line-height: 51px;
    letter-spacing: 10.5px;
    font-weight: 300;
}

.inst-hero-copy p {
    margin: 0;
    color: var(--bemavi-taupe);
    font-size: 20px;
    line-height: 34px;
    font-weight: 300;
}

/* Retrato da liderança no hero — só no mobile (ver bloco @media max-width:767px) */
.inst-hero-portrait {
    display: none;
}

.inst-scroll {
    position: absolute;
    right: max(50px, var(--inst-gutter));
    bottom: 80px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #50423f;
    transition: transform 0.5s var(--ease-animation, cubic-bezier(0.38, 0, 0.02, 1)), background 0.4s;
}

.inst-scroll::after {
    content: "";
    width: 16px;
    height: 16px;
    border-right: 2px solid var(--bemavi-taupe);
    border-bottom: 2px solid var(--bemavi-taupe);
    transform: translateY(-3px) rotate(45deg);
}

.inst-scroll:hover {
    background: #5d4d49;
    transform: translateY(6px);
}

/* ============================================================
    2) DETALHES QUE TRANSFORMAM — foto encosta na borda esquerda
    ============================================================ */
.inst-detalhes {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: minmax(0, 752px) minmax(0, 1fr);
    align-items: start;
    margin-top: -250px;   /* a foto da equipe sobe ("peak") sobre o banner */
    padding: 0 0 110px;
}

/* Gradiente da seção começa logo APÓS o banner inteiro (não atrás dele) */
.inst-detalhes::before {
    content: "";
    position: absolute;
    top: 250px;   /* a seção sobe 250px, então 250px aqui = base do banner */
    left: 0;
    right: 0;
    height: 448px;
    background: linear-gradient(180deg, rgba(163, 143, 129, 0) 0%, #a38f81 0%, var(--bemavi-bg) 100%);
    z-index: -1;
    pointer-events: none;
}

.inst-detalhes-media {
    height: 770px;
    max-width: 100%;
    overflow: hidden;
}

.inst-detalhes-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;   /* sobe o recorte para mostrar as pessoas já no "peak" */
}

.inst-detalhes-copy {
    padding-top: 360px;   /* mantém o texto abaixo do banner, enquanto a foto sobe */
    padding-left: max(0px, calc(var(--inst-gutter) + var(--inst-container) - 543px - 752px));
    padding-right: 24px;
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.inst-detalhes-copy .inst-eyebrow {
    max-width: 324px;
}

.inst-detalhes-copy p {
    margin: 0 0 22px;
    max-width: 412px;   /* largura do texto como no Figma */
    color: var(--bemavi-soft);
    font-size: 16px;
    line-height: 23px;
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.inst-detalhes-copy p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   2b) VÍDEO (overlay escuro + botão de play, como em empreendimento)
   ============================================================ */
.inst-video-section {
    position: relative;
    padding: 20px 0 80px;
}

/* mesmo tratamento do vídeo em empreendimento: overlay em gradiente + play.svg */
.inst-video {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 1297 / 727;
    overflow: hidden;
    background: var(--bemavi-deep);
}

.inst-video > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inst-video-play {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: grid;
    place-items: center;
    isolation: isolate;
    transform: none;
}

.inst-video-play::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, rgba(39, 31, 29, 0.90) 0%, rgba(39, 31, 29, 0.50) 100%);
    opacity: 1;
    transition: opacity 0.78s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-video-play img {
    position: relative;
    z-index: 1;
    width: 80px;
    height: auto;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-video:hover .inst-video-play::before {
    opacity: 0.28;
}

.inst-video:hover .inst-video-play img {
    transform: scale(1.12);
}

/* ============================================================
   3) LINHA DO TEMPO
   ============================================================ */
.inst-timeline {
    position: relative;
    padding: 60px 0 60px;
}

/* As pontas (bolinhas) agora são ::before/::after da própria linha
   (.inst-timeline-line), então fazem parte do MESMO elemento e nunca
   desencontram. Ver regras de .inst-timeline-line abaixo. */

.inst-timeline-photos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(28px, 3vw, 52px);
    width: min(1268px, calc(100vw - 80px));
    margin: 0 auto 60px;
}

.inst-timeline-photo {
    position: relative;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bemavi-sand);
}

.inst-timeline-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay marrom sobre as fotos da linha do tempo (como no Figma) */
.inst-timeline-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #50423f;
    mix-blend-mode: multiply;
    opacity: 0.72;
    pointer-events: none;
}

/* Setas redondas alinhadas com a linha horizontal (top: 30px = posição da linha) */
.inst-timeline-arrow {
    position: absolute;
    top: 30px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 0;
    border-radius: 999px;
    background: var(--bemavi-taupe);
    color: var(--bemavi-text);
    cursor: pointer;
    transition: background 0.35s ease;
    z-index: 4;
}

.inst-timeline-arrow:hover {
    background: var(--bemavi-cream);
}

/* extremidades do carrossel (mobile): seta sem destino fica esmaecida */
.inst-timeline-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}

.inst-timeline-arrow:disabled:hover {
    background: var(--bemavi-taupe);
}

.inst-timeline-arrow svg {
    width: 9px;
    height: 18px;
}

/* Bem afastadas, em direção ao canto (acompanha o gutter em telas largas) */
.inst-timeline-arrow-prev {
    left: calc(-1 * min(89px, var(--inst-gutter) - 10px));
}

.inst-timeline-arrow-next {
    right: calc(-1 * min(89px, var(--inst-gutter) - 10px));
}

/* Setas laterais (dentro do track): ocultas por padrão, só aparecem em telas largas */
.inst-timeline-track .inst-timeline-arrow {
    display: none;
}

/* Setas abaixo da linha: visíveis por padrão (notebook e abaixo) */
.inst-timeline-arrows-mobile {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-top: 36px;
}

.inst-timeline-arrows-mobile .inst-timeline-arrow {
    position: static;
    transform: none;
}

.inst-timeline-track {
    position: relative;
    width: min(1268px, calc(100vw - 80px));
    margin: 0 auto;
}

/* O scroll horizontal vive nos STEPS, não no track. Assim a linha (+ pontas)
   fica fixa abrangendo a largura visível enquanto os nós rolam por cima. */

/* Linha fica ATRÁS dos nós (z-index menor). É uma trilha FIXA que abrange a
   largura visível do track; as pontas são ::before/::after dela. Linha + pontas
   = UM elemento só, que sobe junto com o track (fadeBottom_d1). */
.inst-timeline-line {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    width: auto;
    height: 5px;
    background: var(--bemavi-muted);
    z-index: 1;
}

/* Bolinhas presas nas duas pontas da linha (parte do mesmo elemento) */
.inst-timeline-line::before,
.inst-timeline-line::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bemavi-muted);
    transform: translateY(-50%);
}

.inst-timeline-line::before { left: -8px; }
.inst-timeline-line::after { right: -8px; }

.inst-timeline-steps {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(6, calc((100% - 222px) / 4));
    gap: 74px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}

.inst-timeline-steps::-webkit-scrollbar {
    display: none;
}

.inst-timeline-step {
    min-width: 0;
    text-align: center;
    scroll-snap-align: start;
}

.inst-timeline-node {
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    margin: 2px auto 26px;
    border-radius: 50%;
    background: var(--bemavi-muted);
    color: var(--bemavi-cream);
    font-size: 17px;
    line-height: 1;
    text-transform: uppercase;
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.5s ease;
    opacity: 0;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(1) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.60s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(2) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 0.95s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(3) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 1.30s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(4) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 1.60s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(5) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 1.90s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(6) .inst-timeline-node {
    transform: scale(1);
    opacity: 1;
    transition-delay: 2.20s;
}

.inst-timeline-step p {
    margin: 0 auto;
    max-width: 236px;
    color: var(--bemavi-soft);
    font-size: 16px;
    line-height: 23px;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Legenda do marco ativo — só no mobile (carrossel); no desktop cada step tem a sua */
.inst-timeline-caption {
    display: none;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(1) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.65s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(2) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.05s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(3) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.40s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(4) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.70s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(5) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.00s;
}

.inst-timeline-track.animated .inst-timeline-step:nth-child(6) p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 2.30s;
}

/* ============================================================
   4) PALAVRA DO DIRETOR — foto encosta na borda direita
   ============================================================ */
.inst-diretor {
    display: grid;
    grid-template-columns: minmax(0, 56%) minmax(0, 44%);
    align-items: start;
    padding: 80px 0 0;
}

.inst-diretor-copy {
    padding-left: var(--inst-gutter);
    padding-right: clamp(32px, 5vw, 84px);
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.inst-diretor-copy .inst-eyebrow {
    max-width: 493px;
    margin-bottom: 40px;
}

.inst-diretor-text {
    max-width: 493px;   /* largura do bloco de texto como no Figma (~493px) */
}

.inst-diretor-text p {
    margin: 0 0 22px;
    color: var(--bemavi-soft);
    font-size: 16px;
    line-height: 23px;
    word-wrap: normal;
    word-break: normal;
    overflow-wrap: normal;
}

.inst-diretor-text strong {
    color: var(--bemavi-soft);
    font-weight: 700;
}

/* Linha que parte da assinatura e segue à direita, cruzando a imagem (Figma) */
.inst-diretor-rule {
    display: block;
    height: 2px;
    width: 100vw;
    margin-top: 48px;
    background: var(--bemavi-taupe);
    position: relative;
    z-index: 3;
}

.inst-diretor-media {
    position: relative;
    height: 558px;
    margin-top: 116px;   /* desce a imagem: título fica acima e o texto alinha com o topo da imagem */
    max-width: 100%;
    overflow: hidden;
}

.inst-diretor-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.inst-diretor-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(49, 39, 35, 0) 0%, rgba(49, 39, 35, 0.85) 100%);
    pointer-events: none;
}

/* ============================================================
   5) MISSÃO / VISÃO / VALORES
   ============================================================ */
.inst-mvv {
    position: relative;
    padding: 130px 0 180px;   /* folga extra embaixo: o card de Qualidade sobe sobre esta área */
    isolation: isolate;
    overflow: hidden;
    color: var(--bemavi-cream);
}

.inst-mvv-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.inst-mvv-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inst-mvv-bg::after {
    content: "";
    position: absolute;
    inset: 0;

}

.inst-mvv .inst-container {
    display: flex;
    justify-content: flex-end;
}

.inst-mvv-blocks {
    width: min(412px, 100%);
    margin-right: clamp(40px, 9vw, 112px);   /* texto não cola na direita (mais para a esquerda, como no Figma) */
    display: flex;
    flex-direction: column;
    gap: 44px;
}

.inst-mvv-block h2 {
    margin: 0 0 14px;
    color: var(--bemavi-cream);
    text-transform: uppercase;
    font-size: 28px;
    line-height: 38px;
    font-weight: 300;
}

.inst-mvv-block p {
    margin: 0;
    color: var(--bemavi-taupe);
    font-size: 16px;
    line-height: 23px;
}

.inst-mvv-block p strong {
    color: var(--bemavi-cream);
    font-weight: 400;
}

/* ── Animação de entrada: título letra a letra + texto em sequência ── */
.inst-mvv-block h2 .mvv-char {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.75s ease;
}

.inst-mvv-block p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1.1s ease var(--p-delay, 0s), transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) var(--p-delay, 0s);
}

.inst-mvv.is-revealed .inst-mvv-block h2 .mvv-char {
    opacity: 1;
    transition-delay: var(--d, 0s);
}

.inst-mvv.is-revealed .inst-mvv-block p {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .inst-mvv-block h2 .mvv-char,
    .inst-mvv-block p {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================================
   6) QUALIDADE — card claro em cima, imagem à direita e texto à esquerda abaixo
   ============================================================ */
.inst-quality {
    --q-pad: clamp(40px, 7.5vw, 108px);   /* padding lateral do card (Figma ~108px) */
    position: relative;
    z-index: 5;
    margin-top: -120px;   /* o card sobe ("peak") sobre a seção Missão/Visão/Valores */
    padding: 0 0 100px;
}

.inst-quality-inner {
    position: relative;
    width: var(--inst-container);
    margin: 0 auto;
}

.inst-quality-card {
    position: relative;
    z-index: 2;
    width: 100%;
    background: var(--bemavi-quality);
    padding: 64px var(--q-pad) 96px;   /* mais respiro nos cantos esquerdo/direito */
    overflow: hidden;   /* recorta o fade inferior */
}

/* Fade no rodapé do card (escurece para #aea597, como no Figma) */
.inst-quality-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 55%;
    background: linear-gradient(180deg, rgba(174, 165, 151, 0) 0%, #aea597 100%);
    z-index: 0;
    pointer-events: none;
}

.inst-quality-card > * {
    position: relative;
    z-index: 1;
}

/* Linha de baixo: texto Grupo Fontanive (esq.) + imagem (dir., sangra) sobem sob o card */
.inst-quality-bottom {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 44%);
    align-items: start;
    margin-top: -150px;
}

.inst-quality-bottom .inst-grupo-copy {
    padding-top: 350px;   /* gap alto acima do título (como no Figma) + sai de baixo do card */
    padding-left: var(--q-pad);   /* alinha com o texto do card (mesmo padding) */
}

.inst-quality-photo {
    position: relative;
    height: 790px;   /* mesma altura do Figma (844x790) — não corta embaixo */
    overflow: hidden;
    margin-right: calc(-1 * var(--inst-gutter));   /* sangra até a borda direita */
}

.inst-quality-photo > img:first-child {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Logo Grupo Fontanive no canto inferior esquerdo da imagem (como no Figma) */
.inst-quality-photo-logo {
    position: absolute;
    left: 44px;
    bottom: 44px;
    z-index: 2;
    width: 151px;
    height: auto;
}

/* Abas — borda apenas à esquerda e embaixo (formato "L") */
.inst-tabs {
    display: grid;
    grid-template-columns: 1.75fr 0.68fr 0.92fr;
    gap: 16px;
    margin-bottom: 48px;
    align-items: stretch;
    transition: grid-template-columns 0.56s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-tabs[data-active="qualidade"] {
    grid-template-columns: 1.75fr 0.68fr 0.92fr;
}

.inst-tabs[data-active="sustentabilidade"] {
    grid-template-columns: 0.82fr 1.44fr 1.02fr;
}

.inst-tabs[data-active="responsabilidade"] {
    grid-template-columns: 0.74fr 0.9fr 1.56fr;
}

.inst-tab {
    width: 100%;
    min-width: 0;
    min-height: 80px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    border: 0;
    border-left: 2px solid var(--bemavi-taupe);
    border-bottom: 2px solid var(--bemavi-taupe);
    background: transparent;
    color: var(--bemavi-soft);
    text-transform: uppercase;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 300;
    text-align: left;
    text-wrap: balance;
    cursor: pointer;
    transform-origin: top left;
    will-change: transform, color, font-size, line-height;
    transition:
        color 0.42s ease,
        font-size 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        line-height 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        letter-spacing 0.42s ease,
        padding 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        max-width 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.36s ease,
        background 0.36s ease;
}

.inst-tab:not(.is-active):hover {
    color: var(--bemavi-text);
    border-left-color: var(--bemavi-text);
    border-bottom-color: var(--bemavi-text);
    background: rgba(121, 97, 62, 0.08);
}

.inst-tab.is-active {
    max-width: none;
    color: var(--bemavi-text);
    font-size: 28px;
    line-height: 38px;
    letter-spacing: 0.01em;
}

.inst-tab-panel {
    display: none;
}

.inst-tab-panel.is-active {
    display: block;
}

.inst-tab-panel > .inst-eyebrow {
    margin-bottom: 20px;
}

.inst-tab-panel p {
    margin: 0;
    max-width: 524px;
    color: var(--bemavi-text);
    font-size: 16px;
    line-height: 23px;
        margin-top: 20px;
}

/* Painel Qualidade: texto à esquerda (topo), selos à direita (mais abaixo) */
.inst-qualidade-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: clamp(40px, 6vw, 90px);
    align-items: start;
    min-height: 412px;   /* card ~700px de altura (como no Figma) e selos mais abaixo */
}

.inst-selos {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-shrink: 0;
    align-self: end;   /* selos mais para baixo no card */
}

.inst-selos img {
    height: 144px;   /* selos maiores, como no Figma */
    width: auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1), transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.inst-selos img.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.inst-selos img:nth-child(2) {
    transition-delay: 0.12s;
}

/* Imagem dos painéis (Sustentabilidade / Responsabilidade) — encostada nas bordas
   do card (recortada por overflow:hidden), sem afetar a altura do card. */
.inst-painel-img {
    position: absolute;
    bottom: -96px;             /* cruza o padding inferior do card → encosta na base real */
    width: min(517px, 40vw);
    height: 470px;
    overflow: hidden;
    z-index: 1;
}

.inst-tab-panel[data-panel="sustentabilidade"] .inst-painel-img {
    right: calc(-1 * var(--q-pad));   /* encosta na base e na borda direita do card */
}

.inst-tab-panel[data-panel="responsabilidade"] .inst-painel-img {
    right: calc(-1 * var(--q-pad));   /* encosta na borda direita do card */
}

.inst-painel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   7) GRUPO FONTANIVE — bloco dentro da seção de qualidade (texto à esquerda, imagem à direita)
   ============================================================ */
.inst-grupo-copy {
    width: 100%;
    max-width: calc(412px + var(--q-pad, 64px));   /* 412px de texto (Figma) + padding de alinhamento */
}

.inst-grupo-copy .inst-eyebrow {
    margin-bottom: 46px;   /* gap grande entre o título e o texto (como no Figma) */
}

.inst-grupo-copy p {
    margin: 0;
    color: var(--bemavi-soft);
    font-size: 16px;
    line-height: 23px;
}

.inst-grupo-copy p + p {
    margin-top: 14px;
}

/* ============================================================
    RESPONSIVO
    ============================================================ */
/* Notebook (1025–1440px): conteúdo mais centralizado (margem lateral maior)
   e ritmo vertical reduzido — equilíbrio próximo ao desktop. */
@media (min-width: 1025px) and (max-width: 1440px) {
    body.bemavi-emp-page {
        --inst-container: min(1120px, calc(100vw - 8vw));
    }

    /* Hero: tamanhos/posições proporcionais ao notebook (mais próximo do desktop) */
    .inst-hero {
        min-height: 720px;
        padding-top: 200px;
    }

    .inst-hero-copy h1 {
        font-size: 30px;
        line-height: 44px;
        letter-spacing: 7px;
        margin-bottom: 48px;
    }

    .inst-hero-copy p {
        font-size: 17px;
        line-height: 29px;
    }

    .inst-hero-logo {
        top: 210px;
        left: calc(var(--inst-gutter) + 240px);
        width: 180px;
    }

    .inst-hero-symbol {
        top: 150px;
        width: 260px;
    }

    .inst-hero-line {
        left: calc(var(--inst-gutter) + 120px);
    }

    .inst-detalhes {
        padding-bottom: 84px;
    }

    .inst-timeline {
        padding: 32px 0 80px;
    }

    .inst-timeline::before,
    .inst-timeline::after {
        top: 62px;
    }

    .inst-diretor {
        padding-top: 60px;
    }

    .inst-mvv {
        padding: 100px 0 150px;
    }

    .inst-quality {
        padding-bottom: 80px;
    }
}

@media (max-width: 1440px) {
    /* minmax(0,..) evita que a linha (width:100vw) force a coluna e suma com a imagem */
    .inst-detalhes {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .inst-detalhes-media {
        height: clamp(440px, 60vw, 770px);
        margin-left: -40px;
    }
    /* texto respeita a borda direita no notebook (gap menor + padding direito = gutter) */
    .inst-detalhes-copy {
        padding-left: max(0px, calc(var(--inst-gutter) + var(--inst-container) - 543px - 50vw));
        padding-right: var(--inst-gutter);
    }
    .inst-diretor {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
    .inst-diretor-media {
        height: clamp(380px, 44vw, 558px);
    }

    /* Setas da linha do tempo descem para baixo, centralizadas */
    .inst-timeline-photos .inst-timeline-arrow {
        display: none;
    }
    .inst-timeline-arrows-mobile {
        display: flex;
        justify-content: center;
        gap: 18px;
        margin-top: 36px;
    }
    .inst-timeline-arrows-mobile .inst-timeline-arrow {
        position: static;
        transform: none;
    }
}

@media (max-width: 1024px) {
    .inst-hero {
        min-height: 0;
        padding: 170px 0 130px;
    }

    .inst-hero-copy h1 {
        font-size: 30px;
        line-height: 44px;
        letter-spacing: 8px;
    }

    .inst-detalhes,
    .inst-diretor {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 70px 0;
    }

    .inst-detalhes::before {
        display: none;
    }

    .inst-detalhes-media,
    .inst-diretor-media {
        height: clamp(320px, 56vw, 520px);
    }

    .inst-detalhes-copy {
        padding: 40px var(--inst-gutter) 0;
        max-width: none;
    }

    .inst-detalhes-copy p {
        max-width: 560px;
    }

    .inst-diretor-copy {
        padding: 0 var(--inst-gutter) 40px;
        max-width: none;
        margin-left: 0;
    }

    .inst-diretor-text,
    .inst-diretor-copy .inst-eyebrow {
        max-width: 560px;
    }

    .inst-diretor-media {
        order: -1;
        margin-top: 0;
    }

    .inst-mvv-blocks {
        margin-right: 0;
    }

    /* Qualidade empilha: card em cima, depois imagem e texto (sem sobreposição) */
    .inst-quality {
        margin-top: 0;
        padding-top: 60px;
    }

    .inst-quality-bottom {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 48px;
    }

    .inst-quality-bottom .inst-grupo-copy {
        padding-top: 0;
        padding-left: 0;
    }

    .inst-grupo-copy {
        max-width: 560px;
    }

    .inst-quality-photo {
        height: 300px;
        margin-right: 0;
        order: -1;
    }

    .inst-quality-card {
        width: 100%;
        padding: 44px 32px 56px;
    }

    .inst-qualidade-cols {
        grid-template-columns: 1fr;
        gap: 36px;
        min-height: 0;
    }

    .inst-painel-img {
        position: static;
        right: auto;
        width: 100%;
        height: clamp(240px, 56vw, 360px);
        align-self: start;
    }

    .inst-selos {
        align-self: start;
    }

    .inst-tabs {
        display: flex;
        flex-wrap: wrap;
    }

    .inst-tab {
        flex: 0 0 auto;
        width: auto;
    }

    .inst-tab.is-active {
        flex: 1 1 100%;
        max-width: none;
    }

    .inst-grupo-copy {
        width: 100%;
    }

    .inst-mvv-blocks {
        width: 100%;
    }
}

/* ==========================================================================
   MOBILE INSTITUCIONAL (<=767px) — reestrutura fiel ao Figma (node 676-41).
   As classes .inst-* são exclusivas desta página, então dispensam prefixo;
   a seção de projetos usa classes .bemavi-* compartilhadas e por isso é
   escopada em body.page-institucional. Gutter = --bemavi-mobile-gutter (6vw),
   o mesmo padrão das demais telas mobile da Bemavi.
   ========================================================================== */
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    body.bemavi-emp-page {
        --inst-container: calc(100vw - var(--bemavi-mobile-gutter, 6vw) * 2);
    }

    /* ---------- 1) HERO — fundo escuro + retrato da liderança ---------- */
    .bemavi-inst .inst-hero {
        min-height: 0;
        padding: 172px 0 88px;
        background: var(--bemavi-deep);
    }

    /* a aérea de obra dá lugar ao retrato; o fundo do hero fica escuro */
    .inst-hero-bg {
        display: none;
    }

    .inst-hero-shade {
        background: linear-gradient(180deg, rgba(39, 31, 29, 0.95) 0%, rgba(39, 31, 29, 0.82) 100%);
    }

    /* fade da base do hero para a cor da próxima seção (Figma: -> #A38F81) */
    .inst-hero::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 150px;
        background: linear-gradient(180deg, rgba(209, 206, 201, 0) 0%, #a38f81 100%);
        z-index: 0;
        pointer-events: none;
    }

    /* símbolo decorativo grande, à esquerda, atrás do conteúdo */
    .inst-hero-symbol {
        left: -18vw;
        top: 26%;
        width: 60vw;
        max-width: none;
    }

    /* linha vertical no canto superior esquerdo (Figma) */
    .inst-hero-line {
        display: block;
        top: 58px;
        left: var(--bemavi-mobile-gutter, 6vw);
        height: 116px;
    }

    /* wordmark BEMAVI centralizado no topo */
    .inst-hero-logo {
        display: block;
        top: 122px;
        left: 50%;
        width: min(186px, 46vw);
        max-width: none;
        transform: translate(-50%, 18px);
    }

    .bemavi-inst.is-hero-revealed .inst-hero-logo {
        transform: translateX(-50%);
    }

    .inst-hero .inst-container {
        justify-content: center;
    }

    .inst-hero-copy {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .inst-hero-copy h1 {
        margin: 0 0 34px;
        text-align: right;
        font-size: 17px;
        line-height: 26px;
        letter-spacing: 5px;
    }

    /* retrato da liderança (equipe.webp) — largura total, todos visíveis */
    .inst-hero-portrait {
        display: block;
        position: relative;
        width: 100%;
        margin: 0 0 38px;
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 1.3s ease, transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
    }

    /* no mobile o retrato é o foco do hero — revela cedo (não espera a sequência inteira) */
    .bemavi-inst.is-hero-revealed .inst-hero-portrait {
        opacity: 1;
        transform: none;
        transition-delay: 0.9s;
    }

    .inst-hero-portrait img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* círculo decorativo na borda direita do retrato (acento do Figma) */
    .inst-hero-portrait-badge {
        position: absolute;
        right: 8px;
        bottom: 56px;
        display: grid;
        place-items: center;
        width: 62px;
        height: 62px;
        border-radius: 50%;
        background: #50423f;
    }

    .inst-hero-portrait-badge::after {
        content: "";
        width: 25px;
        height: 25px;
        background: #8c7c78;
    }

    .inst-hero-copy p {
        text-align: left;
        font-size: 15px;
        line-height: 24px;
    }

    /* ---------- 2) DETALHES QUE TRANSFORMAM — só texto ---------- */
    .inst-detalhes {
        grid-template-columns: 1fr;
        margin-top: 0;
        padding: 54px 0 6px;
    }

    .inst-detalhes::before {
        display: none;
    }

    .inst-detalhes-media {
        display: none;   /* a foto subiu para o hero */
    }

    .inst-detalhes-copy {
        padding: 0 var(--bemavi-mobile-gutter, 6vw);
        max-width: none;
    }

    .inst-detalhes-copy .inst-eyebrow {
        max-width: none;
        margin-bottom: 26px;
        font-size: 22px;
        line-height: 30px;
    }

    .inst-detalhes-copy p {
        max-width: none;
        font-size: 15px;
        line-height: 24px;
    }

    /* ---------- 2b) VÍDEO — sangra de borda a borda ---------- */
    .inst-video-section {
        padding: 16px 0 40px;
    }

    .inst-video-section .inst-container {
        width: 100%;
    }

    .inst-video {
        aspect-ratio: 540 / 304;
    }

    .inst-video-play img {
        width: 52px;
    }

    /* ---------- 3) LINHA DO TEMPO — carrossel de um marco ---------- */
    .inst-timeline {
        padding: 40px 0 50px;
    }

    .inst-timeline-track {
        width: calc(100% - var(--bemavi-mobile-gutter, 6vw) * 2);
    }

    .inst-timeline-line {
        top: 34px;
    }

    /* os steps deixam de ser grid e viram um palco para 3 nós (prev/ativo/next) */
    .inst-timeline-steps {
        display: block;
        position: relative;
        height: 68px;
        overflow: visible;
        grid-template-columns: none;
        scroll-snap-type: none;
    }

    .inst-timeline-step {
        position: absolute;
        top: 0;
        left: 50%;
        width: auto;
        transform: translateX(-50%);
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .inst-timeline-step:not(.is-active):not(.is-prev):not(.is-next) {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .inst-timeline-step.is-prev {
        transform: translateX(calc(-50% - 116px));
    }

    .inst-timeline-step.is-next {
        transform: translateX(calc(-50% + 116px));
    }

    /* anula a entrada escalonada do desktop: no mobile os nós ficam sempre visíveis */
    .inst-timeline-node {
        margin: 0;
        transform: scale(1) !important;
        opacity: 1 !important;
        transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), height 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .inst-timeline-step.is-active .inst-timeline-node {
        width: 68px;
        height: 68px;
        font-size: 19px;
    }

    .inst-timeline-step.is-prev .inst-timeline-node,
    .inst-timeline-step.is-next .inst-timeline-node {
        width: 42px;
        height: 42px;
        margin-top: 13px;   /* alinha o centro dos nós menores na linha */
        font-size: 13px;
        opacity: 0.9 !important;
    }

    /* a legenda por step não aparece no mobile — usamos a legenda única abaixo das setas */
    .inst-timeline-step p {
        display: none;
    }

    .inst-timeline-caption {
        display: block;
        width: min(300px, 84vw);
        margin: 26px auto 0;
        color: var(--bemavi-soft);
        font-size: 15px;
        line-height: 23px;
        text-align: center;
    }

    /* ---------- 4) PALAVRA DO DIRETOR — título -> foto -> texto -> linha ---------- */
    .inst-diretor {
        display: flex;
        flex-direction: column;
        padding: 6px 0 0;
    }

    /* display:contents dissolve o wrapper para reordenar título/foto/texto/linha */
    .inst-diretor-copy {
        display: contents;
    }

    .inst-diretor-copy .inst-eyebrow {
        order: 1;
        padding: 0 var(--bemavi-mobile-gutter, 6vw);
        max-width: none;
        margin: 0 0 26px;
        font-size: 22px;
        line-height: 30px;
    }

    .inst-diretor-media {
        order: 2;
        height: clamp(320px, 88vw, 430px);
        margin: 0 0 30px;
    }

    .inst-diretor-text {
        order: 3;
        padding: 0 var(--bemavi-mobile-gutter, 6vw);
        max-width: none;
    }

    .inst-diretor-text p {
        font-size: 15px;
        line-height: 24px;
    }

    .inst-diretor-rule {
        order: 4;
        width: calc(100% - var(--bemavi-mobile-gutter, 6vw) * 2);
        margin: 32px auto 0;
    }

    /* ---------- 5) MISSÃO / VISÃO / VALORES — centralizado ---------- */
    .inst-mvv {
        padding: 78px 0 92px;
    }

    .inst-mvv .inst-container {
        justify-content: center;
    }

    .inst-mvv-blocks {
        width: 100%;
        margin: 0;
        gap: 38px;
        text-align: center;
    }

    .inst-mvv-block h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .inst-mvv-block p {
        font-size: 15px;
        line-height: 24px;
    }

    /* ---------- 6) QUALIDADE — acordeão na ordem natural do Figma ---------- */
    .inst-quality {
        margin-top: 0;
        padding: 54px 0 60px;
    }

    .inst-quality-card {
        display: flex;
        flex-direction: column;
        padding: 34px 7vw 52px;
    }

    /* display:contents permite intercalar abas e painéis via order */
    .inst-tabs {
        display: contents;
    }

    .inst-tab {
        position: relative;
        z-index: 1;   /* acima do fade inferior do card (.inst-quality-card::after) */
        width: 100%;
        max-width: none;
        min-height: 62px;
        margin: 0 0 14px;
        padding: 0 20px;
        justify-content: flex-start;
        text-align: left;
        border: 1px solid var(--bemavi-taupe);   /* caixa completa, como no Figma */
        font-size: 16px;
        line-height: 1.3;
    }

    .inst-tab.is-active {
        font-size: 21px;
        line-height: 28px;
        color: var(--bemavi-text);
    }

    .inst-tab[data-tab="qualidade"] { order: 1; }
    .inst-tab-panel[data-panel="qualidade"] { order: 2; }
    .inst-tab[data-tab="sustentabilidade"] { order: 3; }
    .inst-tab-panel[data-panel="sustentabilidade"] { order: 4; }
    .inst-tab[data-tab="responsabilidade"] { order: 5; }
    .inst-tab-panel[data-panel="responsabilidade"] { order: 6; }

    .inst-tab-panel.is-active {
        margin-bottom: 6px;
    }

    .inst-qualidade-cols {
        grid-template-columns: 1fr;
        gap: 28px;
        min-height: 0;
    }

    .inst-tab-panel p {
        font-size: 15px;
        line-height: 24px;
    }

    .inst-selos {
        justify-content: center;
        gap: 26px;
        align-self: center;
    }

    .inst-selos img {
        height: 92px;
    }

    .inst-painel-img {
        position: static;
        right: auto;
        width: 100%;
        height: clamp(220px, 56vw, 300px);
    }

    /* ---------- 7) GRUPO FONTANIVE — texto e, abaixo, a imagem (Figma) ---------- */
    .inst-quality-bottom {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 26px;
    }

    .inst-quality-bottom .inst-grupo-copy {
        order: 0;
        padding: 0;
    }

    .inst-grupo-copy {
        max-width: none;
    }

    .inst-grupo-copy .inst-eyebrow {
        margin-bottom: 26px;
        font-size: 22px;
        line-height: 30px;
    }

    .inst-grupo-copy p {
        font-size: 15px;
        line-height: 24px;
    }

    .inst-quality-photo {
        order: 0;   /* depois do texto */
        height: clamp(240px, 62vw, 320px);
        margin-right: 0;
    }

    .inst-quality-photo-logo {
        left: 24px;
        bottom: 24px;
        width: 128px;
    }

    /* ---------- 8) EMPREENDIMENTOS — carrossel 2-up (sangra à direita) ---------- */
    body.page-institucional .bemavi-blog::before {
        top: 118px;
    }

    body.page-institucional .bemavi-project-grid {
        display: flex;
        grid-template-columns: none;
        gap: 4vw;
        margin-right: calc(var(--bemavi-mobile-gutter, 6vw) * -1);
        padding-right: var(--bemavi-mobile-gutter, 6vw);
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.page-institucional .bemavi-project-grid::-webkit-scrollbar {
        display: none;
    }

    body.page-institucional .bemavi-project-card {
        flex: 0 0 70vw;
        scroll-snap-align: start;
    }
}

@media (min-width: 1441px) {
    .inst-timeline-steps {
        min-width: unset;
    }

    .inst-timeline-track .inst-timeline-arrow {
        display: none;
    }

    .inst-timeline-arrows-mobile {
        position: absolute;
        /* 92px = centro vertical da linha (padding 60 + top 30 + metade dos 5px) */
        top: 92px;
        left: 50%;
        display: flex;
        justify-content: space-between;
        width: min(1470px, calc(100vw - 80px));
        margin: 0;
        pointer-events: none;
        /* translateY(-50%) centra as setas exatamente na linha */
        transform: translate(-50%, -50%);
    }

    .inst-timeline-arrows-mobile .inst-timeline-arrow {
        position: static;
        pointer-events: auto;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inst-timeline-line,
    .inst-timeline-node,
    .inst-timeline-step p,
    .inst-tabs,
    .inst-tab {
        transition: none;
        transform: none;
        opacity: 1;
    }

    /* pontas mantêm o translateY(-50%) que as centra na linha */
    .inst-timeline-line::before,
    .inst-timeline-line::after {
        transition: none;
        transform: translateY(-50%);
        opacity: 1;
    }

    .inst-selos img {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ── Blog: linha sob "DESTAQUES / BLOG BEMAVI" cresce do centro ────── */
body.bemavi-emp-page .bemavi-blog {
    position: relative;
    overflow: hidden;
}

body.bemavi-emp-page .bemavi-blog::before {
    content: "";
    position: absolute;
    left: 50%;
    right: 50%;
    top: 172px;
    height: 3px;
    background: var(--bemavi-taupe);
    transform: scaleX(0);
    transform-origin: center center;
    transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

body.bemavi-emp-page .bemavi-blog.waypoint.animated::before {
    left: 0;
    right: 0;
    transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
    body.bemavi-emp-page .bemavi-blog::before {
        left: 0;
        right: 0;
        transform: none;
        transition: none;
    }
}

.bemavi-inst .bemavi-newsletter { margin-top: 90px; }

.bemavi-project-title-mobile {
    display: none;
}

/* Ajuste fino mobile conforme Figma node 676:41. */
@media (max-width: 768px), (max-width: 1024px) and (orientation: portrait) {
    body.page-institucional.bemavi-emp-page {
        --inst-container: min(370px, 68.52vw);
        --inst-mobile-text: min(370px, 68.52vw);
        --inst-mobile-text-left: calc((100vw - var(--inst-mobile-text)) / 2);
        --inst-mobile-card: min(476px, 88.15vw);
        --inst-mobile-card-left: calc((100vw - var(--inst-mobile-card)) / 2);
        --inst-mobile-card-pad: min(54px, 10vw);
    }

    body.page-institucional .bemavi-inst {
        background: var(--bemavi-bg);
    }

    body.page-institucional .inst-hero-bg,
    body.page-institucional .inst-hero-bg picture,
    body.page-institucional .inst-hero-portrait picture,
    body.page-institucional .inst-video > picture,
    body.page-institucional .inst-mvv-bg picture {
        display: block;
        width: 100%;
        height: 100%;
    }

    body.page-institucional .inst-hero-bg img,
    body.page-institucional .inst-hero-portrait picture img,
    body.page-institucional .inst-video > picture > img,
    body.page-institucional .inst-mvv-bg picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    body.page-institucional .bemavi-inst .inst-hero {
        min-height: min(1567px, 290.19vw);
        padding: 0;
        background: var(--bemavi-deep);
    }

    body.page-institucional .inst-hero-bg {
        display: block;
    }

    body.page-institucional .inst-hero-bg img {
        opacity: 1;
        filter: none;
        mix-blend-mode: normal;
        object-position: center top;
    }

    body.page-institucional .inst-hero-shade {
        display: none;
    }

    body.page-institucional .inst-hero::after {
        content: none;
        display: none;
    }

    body.page-institucional .inst-hero .inst-container {
        position: relative;
        z-index: 1;
        display: block;
        width: 100%;
        height: min(1567px, 290.19vw);
        margin: 0;
    }

    body.page-institucional .inst-hero-copy {
        position: relative;
        display: block;
        width: 100%;
        height: 100%;
    }

    body.page-institucional .inst-hero-line {
        top: min(63px, 11.67vw);
        left: min(63px, 11.67vw);
        width: 2px;
        height: min(196px, 36.3vw);
        background: var(--bemavi-taupe);
    }

    body.page-institucional .inst-hero-logo {
        top: min(235px, 43.52vw);
        left: 50%;
        width: min(220px, 40.74vw);
        max-width: none;
        transform: translate(-50%, 18px);
    }

    body.page-institucional .bemavi-inst.is-hero-revealed .inst-hero-logo {
        transform: translateX(-50%);
    }

    body.page-institucional .inst-hero-symbol {
        top: min(332px, 61.48vw);
        left: max(-25px, -4.63vw);
        width: min(165px, 30.56vw);
        max-width: none;
        opacity: 0.42;
    }

    body.page-institucional .inst-hero-copy h1 {
        position: absolute;
        top: min(379px, 70.19vw);
        right: min(62px, 11.48vw);
        width: min(292px, 54.07vw);
        margin: 0;
        color: var(--bemavi-cream);
        text-align: right;
        font-size: clamp(14px, 4.07vw, 22px);
        line-height: clamp(22px, 5.93vw, 32px);
        letter-spacing: min(5.8px, 1.07vw);
        word-break: normal;
        overflow-wrap: normal;
        white-space: nowrap;   /* quebras só nos marcadores; evita partir palavras (letras inline-block) */
    }

    /* 3 linhas no mobile: "Mais de 40" / "Anos, Novos" / "Horizontes" */
    body.page-institucional .inst-hero-title .hero-brk-desk {
        display: none;
    }

    body.page-institucional .inst-hero-title .hero-brk-mob {
        display: block;
    }

    body.page-institucional .inst-hero-portrait {
        position: absolute;
        top: min(610px, 112.96vw);
        left: 0;
        width: min(454px, 84.07vw);
        height: min(465px, 86.11vw);
        margin: 0;
        overflow: hidden;
    }



    body.page-institucional .inst-hero-portrait-badge {
        right: max(-55px, -10.18vw);
        bottom: auto;
        top: min(245px, 45.37vw);
        width: min(75px, 13.89vw);
        height: min(75px, 13.89vw);
        background: #5b4d49;
    }

    body.page-institucional .inst-hero-portrait-badge::after {
        width: min(25px, 4.63vw);
        height: min(25px, 4.63vw);
        background: url("../img/bemavi-home/social-whatsapp.svg") center / contain no-repeat;
    }

    body.page-institucional .inst-hero-copy p {
        position: absolute;
        top: min(1163px, 215.37vw);
        left: 50%;
        width: min(370px, 68.52vw);
        margin: 0;
        padding: 0;
        transform: translateX(-50%);
        color: var(--bemavi-taupe);
        font-size: clamp(14px, 3.52vw, 19px);
        line-height: clamp(23px, 5.19vw, 28px);
        word-break: normal;
        overflow-wrap: normal;
    }

    body.page-institucional .bemavi-inst.is-hero-revealed .inst-hero-text {
        transform: translateX(-50%);
    }

    body.page-institucional .inst-detalhes {
        display: block;
        position: relative;
        margin-top: 0;
        padding: min(100px, 18.52vw) 0 min(108px, 20vw);
        background: var(--bemavi-bg);
        overflow: hidden;
    }

    body.page-institucional .inst-detalhes::before {
        content: "";
        position: absolute;
        top: max(-4px, -0.74vw);
        left: 0;
        right: 0;
        display: block;
        height: min(248px, 45.93vw);
        background: linear-gradient(180deg, #a38f81 0%, rgba(209, 206, 201, 0) 100%);
        z-index: 0;
        pointer-events: none;
    }

    body.page-institucional .inst-detalhes-copy {
        position: relative;
        z-index: 1;
        width: var(--inst-mobile-text);
        max-width: none;
        margin: 0 auto;
        padding: 0;
    }

    body.page-institucional .inst-detalhes-copy .inst-eyebrow,
    body.page-institucional .inst-diretor-copy .inst-eyebrow,
    body.page-institucional .inst-grupo-copy .inst-eyebrow,
    body.page-institucional .bemavi-blog-head h2 {
        max-width: min(324px, 60vw);
        margin: 0 0 min(60px, 11.11vw);
        font-size: clamp(18px, 4.44vw, 24px);
        line-height: clamp(28px, 6.3vw, 34px);
        font-weight: 300;
    }

    body.page-institucional .inst-detalhes-copy p,
    body.page-institucional .inst-diretor-text p,
    body.page-institucional .inst-grupo-copy p,
    body.page-institucional .inst-tab-panel p,
    body.page-institucional .inst-mvv-block p {
        color: var(--bemavi-soft);
        font-size: clamp(14px, 3.52vw, 19px);
        line-height: clamp(23px, 5.19vw, 28px);
    }

    body.page-institucional .inst-detalhes-copy p {
        margin: 0 0 min(28px, 5.19vw);
        max-width: min(355px, 65.74vw);
    }

    body.page-institucional .inst-video-section {
        padding: 0 0 min(126px, 23.33vw);
    }

    body.page-institucional .inst-video {
        aspect-ratio: 540 / 304;
    }

    body.page-institucional .inst-video > picture > img {
        object-position: center center;
    }

    body.page-institucional .inst-video-play img {
        width: min(38px, 7.04vw);
    }

    body.page-institucional .inst-timeline {
        padding: 0 0 min(106px, 19.63vw);
    }

    body.page-institucional .inst-timeline-track {
        width: min(460px, 85.19vw);
        overflow: visible;
    }

    body.page-institucional .inst-timeline-line {
        top: min(34px, 6.3vw);
        height: 5px;
    }

    body.page-institucional .inst-timeline-steps {
        display: flex;
        position: relative;
        z-index: 2;
        align-items: flex-start;
        grid-template-columns: none;
        gap: min(58px, 10.74vw);
        height: min(70px, 12.96vw);
        padding: 0 calc((100% - min(70px, 12.96vw)) / 2);
        overflow-x: auto;
        overflow-y: hidden;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.page-institucional .inst-timeline-steps::-webkit-scrollbar {
        display: none;
    }

    body.page-institucional .inst-timeline-step {
        position: relative;
        top: auto;
        left: auto;
        display: flex;
        flex: 0 0 min(70px, 12.96vw);
        justify-content: center;
        width: min(70px, 12.96vw);
        min-width: min(70px, 12.96vw);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none !important;
        scroll-snap-align: center;
        transition: none;
    }

    body.page-institucional .inst-timeline-step:not(.is-active):not(.is-prev):not(.is-next) {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    body.page-institucional .inst-timeline-step.is-prev {
        transform: none !important;
    }

    body.page-institucional .inst-timeline-step.is-next {
        transform: none !important;
    }

    body.page-institucional .inst-timeline-node {
        width: min(42px, 7.78vw);
        height: min(42px, 7.78vw);
        margin: min(14px, 2.59vw) auto 0;
        font-size: clamp(10px, 2.41vw, 13px);
        transform: scale(1) !important;
        opacity: 1 !important;
        transition:
            width 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            height 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            margin-top 0.3s cubic-bezier(0.22, 1, 0.36, 1),
            font-size 0.3s ease;
        /* anula o transition-delay (0.6s–2.2s) herdado da entrada escalonada do desktop
           (.inst-timeline-track.animated ... .inst-timeline-node), que fazia o nó
           "esperar" antes de crescer/diminuir ao clicar nas setas no mobile */
        transition-delay: 0s !important;
    }

    body.page-institucional .inst-timeline-step.is-active .inst-timeline-node {
        width: min(70px, 12.96vw);
        height: min(70px, 12.96vw);
        margin-top: 0;
        font-size: clamp(13px, 3.52vw, 19px);
    }

    body.page-institucional .inst-timeline-step.is-prev .inst-timeline-node,
    body.page-institucional .inst-timeline-step.is-next .inst-timeline-node {
        width: min(42px, 7.78vw);
        height: min(42px, 7.78vw);
        margin-top: min(14px, 2.59vw);
        font-size: clamp(10px, 2.41vw, 13px);
    }

    body.page-institucional .inst-timeline-arrows-mobile {
        margin-top: min(52px, 9.63vw);
    }

    body.page-institucional .inst-timeline-caption {
        width: min(288px, 53.33vw);
        margin-top: min(40px, 7.41vw);
        color: var(--bemavi-soft);
        font-size: clamp(12px, 2.96vw, 16px);
        line-height: clamp(20px, 4.44vw, 24px);
    }

    body.page-institucional .inst-diretor {
        display: flex;
        flex-direction: column;
        padding: 0;
    }

    body.page-institucional .inst-diretor-copy {
        display: contents;
    }

    body.page-institucional .inst-diretor-copy .inst-eyebrow {
        order: 1;
        width: var(--inst-mobile-text);
        margin-right: 0;
        margin-left: var(--inst-mobile-text-left);
        padding: 0;
    }

    body.page-institucional .inst-diretor-media {
        order: 2;
        width: calc(100vw - var(--inst-mobile-text-left));
        max-width: none;
        height: min(430px, 79.63vw);
        margin: 0 0 min(54px, 10vw) var(--inst-mobile-text-left);
    }

    body.page-institucional .inst-diretor-text {
        order: 3;
        width: var(--inst-mobile-text);
        max-width: none;
        margin: 0 auto;
        padding: 0;
    }

    body.page-institucional .inst-diretor-text p {
        margin-bottom: min(28px, 5.19vw);
    }

    body.page-institucional .inst-diretor-rule {
        order: 4;
        width: calc(100% - var(--inst-mobile-text-left));
        height: 3px;
        margin: min(34px, 6.3vw) 0 0 var(--inst-mobile-text-left);
        background: var(--bemavi-taupe);
    }

    body.page-institucional .inst-mvv {
        min-height: min(1500px, 277.78vw);
        margin-top: min(60px, 11.11vw);
        padding: min(98px, 18.15vw) 0 min(360px, 66.67vw);
        color: var(--bemavi-cream);
    }

    body.page-institucional .inst-mvv-bg img {
        object-position: center bottom;
    }

    body.page-institucional .inst-mvv .inst-container {
        display: block;
        width: min(354px, 65.56vw);
    }

    body.page-institucional .inst-mvv-blocks {
        width: 100%;
        gap: min(62px, 11.48vw);
        margin: 0;
        text-align: center;
    }

    body.page-institucional .inst-mvv-block h2 {
        margin: 0 0 min(22px, 4.07vw);
        color: var(--bemavi-cream);
        font-size: clamp(18px, 4.44vw, 24px);
        line-height: clamp(28px, 6.3vw, 34px);
    }

    body.page-institucional .inst-mvv-block p {
        color: var(--bemavi-cream);
    }

    body.page-institucional .inst-quality {
        margin-top: calc(-1 * min(149px, 27.59vw));
        padding: 0 0 min(120px, 22.22vw);
    }

    body.page-institucional .inst-quality-inner {
        width: var(--inst-mobile-card);
    }

    body.page-institucional .inst-quality-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        min-height: min(1180px, 218.52vw);
        padding: min(50px, 9.26vw) var(--inst-mobile-card-pad) min(60px, 11.11vw);
        background: var(--bemavi-quality);
    }

    body.page-institucional .inst-tab {
        width: 100%;
        min-height: min(80px, 14.81vw);
        margin: 0 0 min(30px, 5.56vw);
        padding: 0 min(40px, 7.41vw);
        border: 0;
        border-left: 2px solid var(--bemavi-taupe);
        border-bottom: 2px solid var(--bemavi-taupe);
        color: var(--bemavi-text);
        font-size: clamp(13px, 2.96vw, 16px);
        line-height: 1.3;
    }

    body.page-institucional .inst-tab.is-active {
        font-size: clamp(14px, 2.96vw, 16px);
        line-height: 1.3;
    }

    body.page-institucional .inst-tab[data-tab="qualidade"] { order: 1; }
    body.page-institucional .inst-tab-panel[data-panel="qualidade"] { order: 2; }
    body.page-institucional .inst-tab[data-tab="sustentabilidade"] { order: 3; }
    body.page-institucional .inst-tab-panel[data-panel="sustentabilidade"] { order: 4; }
    body.page-institucional .inst-tab[data-tab="responsabilidade"] { order: 5; }
    body.page-institucional .inst-tab-panel[data-panel="responsabilidade"] { order: 6; }

    body.page-institucional .inst-tab-panel.is-active {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        min-height: 0;
        margin: 0;
    }

    body.page-institucional .inst-tab-panel.is-active::after {
        content: "";
        display: block;
        width: calc(100% + var(--inst-mobile-card-pad));
        height: 2px;
        margin: min(46px, 8.52vw) 0 min(30px, 5.56vw);
        background: var(--bemavi-taupe);
    }

    body.page-institucional .inst-tab-panel p {
        margin: 0;
        color: var(--bemavi-soft);
    }

    body.page-institucional .inst-qualidade-cols {
        display: flex;
        flex: 1 1 auto;
        flex-direction: column;
        gap: min(42px, 7.78vw);
        min-height: 0;
    }

    body.page-institucional .inst-painel-img {
        position: static;
        width: calc(100% + var(--inst-mobile-card-pad));
        max-width: none;
        height: min(226px, 41.85vw);
        margin: min(38px, 7.04vw) calc(-1 * var(--inst-mobile-card-pad)) 0 0;
        overflow: hidden;
    }

    body.page-institucional .inst-painel-img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: right bottom;
    }

    body.page-institucional .inst-tab-panel[data-panel="sustentabilidade"].is-active .inst-painel-img,
    body.page-institucional .inst-tab-panel[data-panel="responsabilidade"].is-active .inst-painel-img {
        margin-top: auto;
    }

    body.page-institucional .inst-tab-panel[data-panel="sustentabilidade"].is-active::after,
    body.page-institucional .inst-tab-panel[data-panel="responsabilidade"].is-active::after {
        margin-top: 0;
    }

    body.page-institucional .inst-selos {
        justify-content: flex-start;
        gap: min(44px, 8.15vw);
    }

    body.page-institucional .inst-selos img:first-child {
        width: min(117px, 21.67vw);
        height: auto;
    }

    body.page-institucional .inst-selos img:last-child {
        width: min(148px, 27.41vw);
        height: auto;
    }

    body.page-institucional .inst-quality-bottom {
        display: block;
        width: var(--inst-mobile-text);
        margin: min(120px, 22.22vw) auto 0;
    }

    body.page-institucional .inst-quality-bottom .inst-grupo-copy {
        padding: 0;
    }

    body.page-institucional .inst-grupo-copy .inst-eyebrow {
        margin-bottom: min(72px, 13.33vw);
    }

    body.page-institucional .inst-grupo-copy p {
        margin-bottom: min(28px, 5.19vw);
    }

    body.page-institucional .inst-quality-photo {
        width: calc(100vw - var(--inst-mobile-text-left));
        max-width: 455px;
        height: min(320px, 59.26vw);
        margin: min(86px, 15.93vw) 0 0;
    }

    body.page-institucional .inst-quality-photo-logo {
        left: min(40px, 7.41vw);
        bottom: min(42px, 7.78vw);
        width: min(180px, 33.33vw);
    }

    body.page-institucional .bemavi-blog {
        padding: 0 0 min(78px, 14.44vw);
        background: var(--bemavi-bg);
    }

    body.page-institucional .bemavi-blog::before {
        top: min(120px, 22.22vw);
    }

    body.page-institucional .bemavi-container,
    body.page-institucional .bemavi-blog-head {
        width: var(--inst-mobile-text);
        margin-right: auto;
        margin-left: auto;
    }

    body.page-institucional .bemavi-blog-head h2 {
        max-width: none;
        margin-bottom: min(100px, 18.52vw);
        line-height: clamp(31px, 6.67vw, 36px);
        white-space: nowrap;
    }

    body.page-institucional .bemavi-project-title-desktop {
        display: none;
    }

    body.page-institucional .bemavi-project-title-mobile {
        display: block;
    }

    body.page-institucional .bemavi-project-grid {
        width: calc(100vw - var(--inst-mobile-card-left, 5.93vw));
        margin-left: calc(var(--inst-mobile-card-left, 5.93vw) - var(--inst-mobile-text-left));
        margin-right: 0;
        padding-right: var(--inst-mobile-card-left, 5.93vw);
        gap: min(16px, 2.96vw);
    }

    body.page-institucional .bemavi-project-card {
        flex: 0 0 min(300px, 55.56vw);
    }

    /* Tipografia dos cards no mobile = mesmo padrão da home (chamada de empreendimentos) */
    body.page-institucional .bemavi-project-status {
        font-size: 11px;
    }

    body.page-institucional .bemavi-project-type {
        margin: 22px 0 4px 20px;
        font-size: 11px;
        line-height: 20px;
        letter-spacing: 0.14em;
    }

    body.page-institucional .bemavi-project-card strong {
        margin-left: 18px;
        font-size: 18px;
        line-height: 23px;
    }

    body.page-institucional .bemavi-project-details {
        margin: 14px 0 0 30px;
        padding-left: 16px;
        min-height: auto;
    }

    body.page-institucional .bemavi-project-details small {
        font-size: 12px;
        line-height: 20px;
    }

    body.page-institucional .bemavi-newsletter {
        display: none;
    }
}

/* ============================================================
   INTERMEDIÁRIOS (1441–1919px) — a linha vertical acompanha o
   container e, abaixo de ~1820px, cruzaria o símbolo decorativo
   (largura fixa a partir da borda esquerda). Linha e wordmark
   deslocam para a direita, no mesmo arranjo do notebook
   (linha em gutter+120 / logo em gutter+240); no desktop 1920
   o canto volta a ter espaço e vale o posicionamento do Figma.
   ============================================================ */
@media (min-width: 1441px) and (max-width: 1919px) {
    .inst-hero-line {
        left: calc(var(--inst-gutter) + 190px);
    }

    .inst-hero-logo {
        left: calc(var(--inst-gutter) + 280px);
    }
}
