:root {
    --venturi-purple: #683572;
    --venturi-purple-dark: #44204c;
    --venturi-purple-soft: #f3edf4;
    --venturi-green: #77ab39;
    --venturi-green-dark: #527b24;
    --venturi-ink: #26232a;
    --venturi-muted: #69636d;
    --venturi-line: #e6dfe8;
    --venturi-white: #fff;
    --venturi-shadow: 0 22px 60px rgba(49, 29, 55, .12);
}

.v2-intro { max-width: 790px; margin: 0 auto 3rem; text-align: center; }
.v2-intro p { color: var(--venturi-muted); font-size: 1.08rem; line-height: 1.75; }

.events-showcase { display: grid; gap: 2rem; margin-top: 3rem; }
.event-feature {
    --event-accent: var(--venturi-green);
    --event-deep: #29401c;
    display: grid;
    grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
    min-height: 390px;
    overflow: hidden;
    border: 1px solid var(--venturi-line);
    border-radius: 2rem;
    background: var(--venturi-white);
    box-shadow: var(--venturi-shadow);
}
.event-feature--cieduca { --event-accent: #269ed0; --event-deep: #245d75; }
.event-feature__visual {
    position: relative;
    display: block;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--event-deep);
    isolation: isolate;
}
.event-feature__visual img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 390px;
    object-fit: cover;
    object-position: center;
    transition: transform .45s ease;
}
.event-feature__visual:hover img { transform: scale(1.025); }
.event-feature__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 5vw, 4.5rem); }
.event-feature__eyebrow { color: var(--event-deep); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: .78rem; }
.event-feature h2 { color: var(--venturi-ink); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; margin: .7rem 0 1rem; }
.event-feature__summary { color: var(--venturi-muted); line-height: 1.7; margin-bottom: 1.5rem; }
.event-feature__facts { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.75rem; }
.event-feature__fact { padding: .62rem .9rem; border-radius: 999px; background: #f6f4f6; color: var(--venturi-ink); font-size: .92rem; }
.event-feature__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.event-feature__button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.25rem; border-radius: 999px; background: var(--event-accent); color: #fff !important; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease; }
.event-feature__button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px color-mix(in srgb, var(--event-accent) 30%, transparent); }

/* Chamada dos eventos na home: dois cards completos lado a lado. */
.home-events { padding: clamp(4rem, 7vw, 7rem) 0; background: #fff; }
.home-events__heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.home-events__heading .h1 { margin-bottom: 0; color: var(--venturi-purple); }
.home-events__all { display: inline-flex; align-items: center; gap: .65rem; padding-bottom: .35rem; border-bottom: 2px solid var(--venturi-green); color: var(--venturi-purple); font-weight: 800; }
.home-events__all span { transition: transform .2s ease; }
.home-events__all:hover span { transform: translateX(4px); }
.home-events__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2.25rem); }
.home-event-card {
    --event-accent: var(--venturi-green);
    --event-deep: #29401c;
    display: grid;
    grid-template-rows: auto 1fr;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--venturi-line);
    border-radius: 1.75rem;
    background: #fff;
    box-shadow: 0 18px 52px rgba(49,29,55,.11);
    transition: transform .25s ease, box-shadow .25s ease;
}
.home-event-card:hover { transform: translateY(-5px); box-shadow: 0 26px 64px rgba(49,29,55,.16); }
.home-event-card__image { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: var(--event-deep); }
.home-event-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease; }
.home-event-card:hover .home-event-card__image img { transform: scale(1.025); }
.home-event-card__content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding: clamp(1.35rem, 2.4vw, 2rem); }
.home-event-card__eyebrow { color: var(--event-deep); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.home-event-card h3 { margin: .65rem 0 1.2rem; color: var(--venturi-ink); font-size: clamp(1.45rem, 2.1vw, 2rem); line-height: 1.12; }
.home-event-card__facts { display: flex; flex-wrap: wrap; gap: .65rem; width: 100%; margin-bottom: 1.4rem; }
.home-event-card__facts span { display: flex; flex-direction: column; flex: 1 1 190px; min-width: 0; padding: .75rem .9rem; border-radius: 1rem; background: #f7f4f7; color: var(--venturi-muted); font-size: .9rem; line-height: 1.4; }
.home-event-card__facts strong { margin-bottom: .15rem; color: var(--event-deep); font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; }
.home-event-card__button { display: inline-flex; align-items: center; justify-content: center; gap: .65rem; min-height: 48px; margin-top: auto; padding: .78rem 1.2rem; border-radius: 999px; background: var(--event-accent); color: #fff !important; font-weight: 800; }
.home-event-card__button span { transition: transform .2s ease; }
.home-event-card__button:hover span { transform: translateX(4px); }

@media (min-width: 1180px) {
    .home-event-card { grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); grid-template-rows: 1fr; min-height: 360px; }
    .home-event-card__image { aspect-ratio: auto; min-height: 360px; }
    .home-event-card__content { padding: 1.55rem; }
    .home-event-card h3 { font-size: clamp(1.35rem, 1.5vw, 1.8rem); }
    .home-event-card__facts span { flex-basis: 100%; }
}

.event-shell { --event-accent: var(--venturi-green); --event-deep: #29401c; }
.event-shell--cieduca { --event-accent: #269ed0; --event-deep: #245d75; }
.event-hero { position: relative; min-height: 590px; display: grid; align-items: end; background-position: center; background-size: cover; isolation: isolate; }
.event-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22,18,24,.88) 0%, rgba(22,18,24,.62) 48%, rgba(22,18,24,.2) 100%); z-index: -1; }
.event-hero__content { max-width: 760px; padding-top: 11rem; padding-bottom: 4.5rem; color: #fff; }
.event-hero__label { display: inline-flex; padding: .55rem .9rem; border-radius: 999px; background: var(--event-accent); font-weight: 700; font-size: .84rem; text-transform: uppercase; letter-spacing: .09em; }
.event-hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 5.2rem); line-height: 1.02; margin: 1.1rem 0 1rem; }
.event-hero__meta { display: flex; flex-wrap: wrap; gap: .7rem; margin: 1.5rem 0; }
.event-hero__meta span { background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: .65rem 1rem; backdrop-filter: blur(8px); }
.event-nav { position: sticky; top: 92px; z-index: 35; border-bottom: 1px solid var(--venturi-line); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.event-nav__inner { display: flex; gap: .25rem; overflow-x: auto; padding-top: .7rem; padding-bottom: .7rem; scrollbar-width: none; }
.event-nav__inner::-webkit-scrollbar { display: none; }
.event-nav a { flex: 0 0 auto; padding: .65rem .9rem; border-radius: 999px; color: var(--venturi-ink); font-size: .92rem; font-weight: 600; }
.event-nav a:hover, .event-nav a:focus-visible { color: #fff; background: var(--event-deep); }
.event-main { background: var(--event-content-bg, #fff); }
.event-section { scroll-margin-top: 170px; background: var(--event-content-bg, #fff); }
.event-section--soft { background: color-mix(in srgb, var(--event-content-bg, #fff) 94%, var(--event-accent) 6%); }
.event-section__title { display: flex; align-items: center; gap: .9rem; margin-bottom: 2rem; }
.event-section__title::before { content: ""; width: 10px; height: 42px; border-radius: 999px; background: var(--event-accent); }
.event-section__title h2 { margin: 0; color: var(--event-deep); }
.event-content-card { padding: clamp(1.5rem, 3vw, 2.6rem); border: 1px solid var(--venturi-line); border-radius: 1.5rem; background: #fff; box-shadow: 0 12px 35px rgba(49,29,55,.07); }
.event-content-card table { display: block; max-width: 100%; overflow-x: auto; }
.event-content-card td, .event-content-card th { padding: .7rem; border: 1px solid var(--venturi-line) !important; }
.event-program { font-size: 1rem; line-height: 1.72; }
.event-program > p { margin: 0 0 1rem; }
.event-program strong { color: var(--event-deep); }
.schedule-days { display: grid; gap: .9rem; }
.schedule-day { overflow: hidden; border: 1px solid var(--venturi-line); border-radius: 1rem; background: #fff; }
.schedule-day summary { position: relative; cursor: pointer; list-style: none; padding: 1.15rem 3.5rem 1.15rem 1.25rem; color: var(--event-deep); font-size: 1.1rem; font-weight: 800; }
.schedule-day summary::-webkit-details-marker { display: none; }
.schedule-day summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--event-accent); font-size: 1.6rem; }
.schedule-day[open] summary::after { content: "−"; }
.schedule-day__content { padding: 0 1.25rem 1.3rem; border-top: 1px solid var(--venturi-line); }
.event-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 1.5rem; background: var(--event-deep); color: #fff; }
.event-cta h2, .event-cta p { color: #fff; }
.event-cta .event-feature__button { background: var(--event-accent); }

/* Identidade complementar do evento */
.event-identity-strip { padding: 2rem 0 1.35rem; background: var(--event-content-bg, #fff); }
.event-identity-strip__frame {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    max-height: 225px;
    border-radius: 1.6rem;
    box-shadow: 0 16px 42px rgba(31, 25, 35, .10);
    background: #f5f5f5;
}
.event-identity-strip__frame > img {
    display: block;
    width: 100%;
    height: clamp(150px, 18vw, 225px);
    object-fit: cover;
    object-position: center;
}
.event-media-kit {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .75rem 1.05rem;
    border-radius: 999px;
    background: var(--event-accent);
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.event-media-kit:hover { transform: translateY(-2px); }
.event-nav__media { color: var(--event-deep) !important; border: 1px solid color-mix(in srgb, var(--event-accent) 45%, #ddd); }

/* Parceiros: fundo branco para receber logos enviados em fundos variados */
.event-partners { background: #fff !important; }
.event-partners__groups { display: grid; gap: 2.75rem; }
.event-partner-group { padding-bottom: 2rem; border-bottom: 1px solid #eee; }
.event-partner-group:last-child { border-bottom: 0; padding-bottom: 0; }
.event-partner-group__title { margin: 0 0 1.25rem; color: var(--event-deep); font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.event-partners__grid { display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 1rem 1.35rem; }
.event-partner-group__empty { display: inline-flex; min-height: 54px; align-items: center; padding: .75rem 1rem; border: 1px dashed #ddd; border-radius: .85rem; color: var(--venturi-muted); font-size: .9rem; }
.event-partner-logo {
    display: grid;
    place-items: center;
    min-width: 135px;
    min-height: 82px;
    padding: 1rem 1.2rem;
    border: 1px solid #eee;
    border-radius: 1rem;
    background: #fff;
}
.event-partner-logo img { display: block; width: auto; height: auto; max-width: 190px; max-height: 62px; object-fit: contain; }
.event-back-wrap { padding-top: 3rem; padding-bottom: 6rem; background: #fff; }


.library-tools { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(180px, .38fr) minmax(170px, .28fr) minmax(150px, .28fr); gap: 1rem; margin: 2.25rem 0 1rem; }
.library-tools select.library-field { padding-right: 2.2rem; }
.library-field { width: 100%; min-height: 52px; border: 1px solid #d9d1dc; border-radius: 999px; padding: 0 1.1rem; background: #fff; color: var(--venturi-ink); outline: none; }
.library-field:focus { border-color: var(--venturi-purple); box-shadow: 0 0 0 4px rgba(104,53,114,.12); }
.library-status { color: var(--venturi-muted); margin: .8rem 0 2rem; }
.library-grid-v2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.library-card-v2 { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--venturi-line); border-radius: 1.5rem; background: #fff; box-shadow: 0 14px 38px rgba(49,29,55,.08); }
.library-card-v2[hidden] { display: none; }
.library-card-v2__cover { aspect-ratio: 1.55 / 1; padding: 1rem; background: var(--venturi-purple-soft); }
.library-card-v2__cover img { width: 100%; height: 100%; object-fit: contain; }
.library-card-v2__body { display: flex; flex: 1; flex-direction: column; padding: 1.4rem; }
.library-card-v2__meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .8rem; }
.library-tag { display: inline-flex; align-items: center; min-height: 28px; padding: .32rem .65rem; border-radius: 999px; background: var(--venturi-purple-soft); color: var(--venturi-purple); font-size: .78rem; font-weight: 700; }
.library-card-v2 h2 { color: var(--venturi-ink); font-size: 1.35rem; line-height: 1.22; margin-bottom: .65rem; }
.library-card-v2 p { color: var(--venturi-muted); line-height: 1.6; }
.library-card-v2__action { margin-top: auto; padding-top: 1.1rem; }
.library-empty { display: none; padding: 3rem; text-align: center; border: 1px dashed #cfc4d1; border-radius: 1.5rem; color: var(--venturi-muted); }
.library-empty.is-visible { display: block; }

.site-notice { position: fixed; inset: 0; z-index: 99999; display: none; place-items: center; padding: 1.25rem; background: rgba(24,15,27,.76); backdrop-filter: blur(7px); }
.site-notice.is-open { display: grid; }
.site-notice__dialog { position: relative; width: min(100%, 570px); overflow: hidden; border-radius: 1.75rem; background: #fff; box-shadow: 0 32px 100px rgba(0,0,0,.35); }
.site-notice__accent { height: 9px; background: linear-gradient(90deg, var(--venturi-purple), var(--venturi-green)); }
.site-notice__body { padding: clamp(1.5rem, 5vw, 2.8rem); }
.site-notice__type { color: var(--venturi-green-dark); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 800; }
.site-notice h2 { margin: .55rem 2.5rem .8rem 0; color: var(--venturi-purple); }
.site-notice__close { position: absolute; top: 1.25rem; right: 1.25rem; width: 42px; height: 42px; border: 0; border-radius: 999px; background: var(--venturi-purple-soft); color: var(--venturi-purple); font-size: 1.45rem; cursor: pointer; }
.site-notice__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.4rem; }
.site-notice__button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .75rem 1.1rem; border-radius: 999px; background: var(--venturi-purple); color: #fff !important; font-weight: 700; }
.site-notice__later { border: 0; background: transparent; color: var(--venturi-muted); cursor: pointer; padding: .75rem; }
body.notice-lock { overflow: hidden; }

.newsletter-grid { display: grid; gap: .75rem; }
.newsletter-grid label { display: block; margin-bottom: .25rem; }
.newsletter-note { font-size: .78rem; line-height: 1.45; opacity: .86; }
.venturi-footer-legal { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2rem; text-align: left; }
.venturi-footer-legal__copyright { min-width: 0; }
.node-signature { justify-self: end; white-space: nowrap; text-align: right; }
.node-signature a { font-weight: 800; color: inherit; }

@media (max-width: 1024px) {
    .event-feature { grid-template-columns: 1fr; }
    .event-feature__visual { min-height: 270px; }
    .event-feature__visual img { min-height: 270px; }
    .event-nav { top: 80px; }
    .library-grid-v2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .home-events__heading { align-items: flex-start; flex-direction: column; margin-bottom: 1.75rem; }
    .home-events__grid { grid-template-columns: 1fr; }
    .home-event-card { border-radius: 1.35rem; }
    .venturi-footer-legal { grid-template-columns: 1fr; gap: .65rem; text-align: center; }
    .node-signature { justify-self: center; text-align: center; }
    .event-partners__grid { justify-content: center; }
    .event-partner-group__title { text-align: center; }
    .event-hero { min-height: 530px; background-image: var(--event-hero-mobile) !important; background-position: center; }
    .event-hero::before { background: linear-gradient(0deg, rgba(22,18,24,.94), rgba(22,18,24,.35)); }
    .event-hero__content { padding-top: 9rem; padding-bottom: 3rem; }
    .event-identity-strip { padding-top: 1rem; }
    .event-identity-strip__frame { border-radius: 1rem; }
    .event-media-kit { right: .75rem; bottom: .75rem; font-size: .86rem; }
    .library-tools { grid-template-columns: 1fr; }
    .library-grid-v2 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
