/*
   MBNF Talk 2027 (#vivencias .experience-gallery, card #talk-show)
*/

#vivencias.experience-gallery {
    --gallery-text: #f5e7d3;
    background: #f8f0e8;
    color: var(--wine);
    padding: 84px 6vw 64px;
    font-family: var(--font-primary);
    line-height: 1.5;
    letter-spacing: normal;
}
:is(#vivencias, #premiacoes, #acoes, #inscricoes) :where(h2, p) { margin: 0; color: inherit; text-transform: none; }

/* Cabecalho (compartilhado com Premiacoes, awards.css, Novidades, actions.css, e Inscricoes, inscricoes.css) */
:is(#vivencias, #premiacoes) > .section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    margin: 0 0 38px;
}
:is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-name {
    font-family: var(--font-primary);
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.12;
    letter-spacing: calc(-.03em + var(--track-400));
    margin: 0 0 18px;
    max-width: none;
}
:is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-name::before {
    content: '';
    display: block;
    width: 36px;
    height: 2px;
    background: currentColor;
    opacity: .65;
    margin: 0 0 14px;
}
:is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-message {
    font-size: clamp(27px, 2.65vw, 38px);
    font-weight: 300;
    line-height: 1.18;
    letter-spacing: calc(-.025em + var(--track-300));
}
:is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-message em {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 600;
    font-size: 1.15em;
    line-height: 1.16;
    letter-spacing: -.0217em;
}
#vivencias .section-aside {
    max-width: 290px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    letter-spacing: var(--track-300);
}

/* Card do Talk */
#vivencias .experience-gallery-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

#talk-show.talk-banner {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: clamp(390px, 34vw, 510px);
    margin: 0;
    overflow: hidden;
    border-radius: 0 34px 0 0;
    background: #30171f;
    color: var(--gallery-text);
    scroll-margin-top: 64px;
}
#talk-show .talk-background {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transition: transform .8s ease;
}
#talk-show .talk-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, #00000026, #0000004d 50%, #00000070);
}
#talk-show .talk-copy {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 35px 7vw 65px;
    text-align: left;
    pointer-events: none;
}
#talk-show .talk-support {
    max-width: 520px;
    font-size: clamp(23px, 2.5vw, 35px);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: calc(-.02em + var(--track-300));
}
#talk-show .talk-support em {
    display: inline-block;
    font-family: var(--font-accent);
    font-style: italic;
    font-weight: 600;
    font-size: 1.12em;
    line-height: 1.2;
    letter-spacing: -.0179em;
}

/* "Explorar" (Talk e Premiacoes): no preview abre um modal informativo (pendente). */
.experience-gallery .gallery-explore {
    position: absolute;
    z-index: 4;
    left: 28px;
    right: 28px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: calc(100% - 56px);
    margin: 0;
    padding: 13px 0 0;
    border: 0;
    border-top: 1px solid #f5e7d36b;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: var(--track-300);
    text-transform: none;
    color: var(--gallery-text);
    text-align: left;
    cursor: pointer;
}
.experience-gallery .gallery-explore > span { font-size: 18px; line-height: 1; transition: transform .4s ease; }

/* Rotulo + pausa do video */
#talk-show .talk-video-controls {
    position: absolute;
    top: 20px;
    right: 27px;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 17px;
}
#talk-show .talk-video-controls > span {
    font-size: 7px;
    line-height: 1.5;
    letter-spacing: calc(.08em + var(--track-caps));
    opacity: .75;
}
#talk-show .talk-pause {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 1px solid #f0decd70;
    border-radius: 50%;
    background: #32131b55;
    color: #fff3e6;
    font: inherit;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}
#talk-show .talk-pause:hover { background: var(--wine); }
#talk-show .talk-pause:focus-visible { outline: 2px solid #f0decd; outline-offset: 2px; }

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    #talk-show .talk-background { transition: transform .85s cubic-bezier(.2, .65, .25, 1); }
    #talk-show:hover .talk-background { transform: scale(1.075); }
    .experience-gallery .gallery-explore:hover > span { transform: translate(4px, -4px); }
}
@media (prefers-reduced-motion: reduce) {
    .experience-gallery .gallery-explore > span { transition: none; }
}

@media (max-width: 700px) {
    #vivencias.experience-gallery { padding: 28px 7vw 36px; }
    :is(#vivencias, #premiacoes) > .section-top { display: block; margin-bottom: 28px; }
    :is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-name { font-size: 25px; margin: 0 0 15px; letter-spacing: calc(-.025em + var(--track-400)); }
    :is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-name::before { width: 32px; margin-bottom: 12px; }
    :is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-message { font-size: clamp(21px, 5.6vw, 34px); line-height: 1.22; max-width: none; }
    :is(#vivencias, #premiacoes, #acoes, #inscricoes) .section-message em { font-size: 1.22em; line-height: 1.18; letter-spacing: -.0205em; }
    #vivencias .section-aside { font-size: 14px; margin-top: 20px; }

    #talk-show.talk-banner { height: 420px; border-radius: 0 28px 0 0; }
    #talk-show .talk-copy { padding: 25px 24px 55px; }
    #talk-show .talk-support { font-size: 25px; max-width: 270px; }
    .experience-gallery .gallery-explore { left: 22px; right: 22px; bottom: 19px; width: calc(100% - 44px); }
    #talk-show .talk-video-controls { top: 16px; right: 20px; }
    #talk-show .talk-video-controls > span { font-size: 6px; }
}
