:root {
    --vme-cream: #fbf4ea;
    --vme-cream-2: #f6ecdf;
    --vme-green: #315735;
    --vme-green-deep: #29492d;
    --vme-green-soft: #7d9362;
    --vme-olive: #9c9d72;
    --vme-terra: #cc6b43;
    --vme-orange: #ee9d35;
    --vme-ink: #273128;
    --vme-muted: #6b6b61;
    --vme-line: #d9c8b3;
    --vme-white: #fffdfa;
    --vme-shadow: 0 16px 42px rgba(75, 57, 36, .13);
    --vme-radius: 24px;
}

body.vml-has-events,
body.vml-has-events #page,
body.vml-has-events .wp-site-blocks,
body.vml-has-events main,
body.vml-has-events .entry-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

body.vml-has-events {
    background: var(--vme-cream);
    overflow-x: hidden;
}

#vme-page,
#vme-page * {
    box-sizing: border-box;
}

#vme-page {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    color: var(--vme-ink);
    background: var(--vme-cream);
    font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
}

#vme-page a { color: inherit; text-decoration: none; }
#vme-page img { max-width: 100%; height: auto; }
#vme-page h1,
#vme-page h2,
#vme-page h3,
#vme-page p { margin-top: 0; }

.vme-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.vme-skip-link {
    position: fixed;
    top: 8px;
    left: 8px;
    z-index: 9999;
    transform: translateY(-160%);
    padding: 10px 14px;
    background: #fff;
    border-radius: 8px;
}
.vme-skip-link:focus { transform: none; }

/* Header */
.vme-header {
    position: sticky;
    top: 0;
    z-index: 80;
    background: rgba(251, 244, 234, .96);
    border-bottom: 1px solid rgba(96, 75, 53, .08);
    backdrop-filter: blur(14px);
}

.vme-header__inner {
    min-height: 96px;
    display: grid;
    grid-template-columns: 170px 1fr auto;
    align-items: center;
    gap: 28px;
}

.vme-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}
.vme-logo img {
    width: 128px;
    max-height: 86px;
    object-fit: contain;
}

.vme-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(18px, 2.5vw, 36px);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
}
.vme-nav a {
    position: relative;
    padding: 11px 0;
    white-space: nowrap;
}
.vme-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 4px;
    height: 2px;
    background: var(--vme-green);
    transition: right .2s ease;
}
.vme-nav a:hover::after,
.vme-nav a.is-active::after { right: 0; }

.vme-menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--vme-line);
    border-radius: 50%;
    background: var(--vme-white);
    color: var(--vme-green);
    cursor: pointer;
}

.vme-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.vme-btn:hover { transform: translateY(-1px); }
.vme-btn--header,
.vme-btn--participate {
    color: #fff !important;
    background: var(--vme-green);
    box-shadow: 0 8px 24px rgba(49, 87, 53, .18);
}
.vme-btn--header { white-space: nowrap; }

/* Hero */
.vme-hero {
    position: relative;
    min-height: 620px;
    background:
        radial-gradient(circle at 14% 20%, rgba(255,255,255,.9), transparent 42%),
        linear-gradient(100deg, #fcf7f0 0%, #f7eddf 48%, #e9d4b9 100%);
}
.vme-hero::before,
.vme-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.vme-hero::before {
    width: 280px; height: 280px;
    left: -160px; top: 80px;
    border: 1px solid rgba(126, 147, 98, .2);
}
.vme-hero::after {
    width: 420px; height: 420px;
    right: -250px; bottom: -200px;
    background: rgba(255,255,255,.16);
}

.vme-hero__grid {
    min-height: 620px;
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
    align-items: stretch;
    gap: 40px;
}

.vme-hero__copy {
    align-self: center;
    padding: 56px 0 52px;
    z-index: 2;
}
.vme-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--vme-green-deep);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
}
.vme-hero h1 {
    margin: 0 0 12px;
    color: var(--vme-green);
    font-family: "Playfair Display", serif;
    font-size: clamp(78px, 9vw, 126px);
    font-weight: 500;
    line-height: .92;
    letter-spacing: -.045em;
}
.vme-hero__subtitle {
    margin-bottom: 16px;
    color: var(--vme-terra);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.16;
}
.vme-rule {
    display: block;
    width: 54px;
    height: 1px;
    margin: 22px 0 24px;
    background: #ae956d;
}
.vme-hero__text {
    max-width: 500px;
    margin-bottom: 30px;
    font-size: 19px;
    line-height: 1.62;
}
.vme-location {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--vme-green-deep);
    font-size: 18px;
    font-weight: 600;
}
.vme-location .dashicons { color: var(--vme-green); }

.vme-hero__visual {
    position: relative;
    min-height: 620px;
    align-self: stretch;
    overflow: hidden;
}
.vme-hero__visual::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 25%;
    background: linear-gradient(90deg, #f7eddf 0%, rgba(247,237,223,0) 100%);
    pointer-events: none;
}
.vme-hero__visual img {
    width: 100%;
    height: 100%;
    min-height: 620px;
    display: block;
    object-fit: cover;
    object-position: center top;
}
.vme-limited {
    position: absolute;
    right: 22px;
    bottom: 76px;
    z-index: 4;
    width: 146px;
    height: 146px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #efe6bf;
    background: var(--vme-green);
    border: 4px solid #9c9d72;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(49, 87, 53, .24), inset 0 0 0 3px rgba(255,255,255,.18);
    text-transform: uppercase;
    font-size: 18px;
    line-height: 1.25;
}
.vme-limited .dashicons { margin-bottom: 4px; }

/* Benefits */
.vme-benefits {
    padding: 38px 0 34px;
    color: #fff;
    background: linear-gradient(90deg, #3b5d3a, #496b45 55%, #3b5d3a);
}
.vme-section-title {
    display: grid;
    grid-template-columns: minmax(50px, 110px) auto minmax(50px, 110px);
    justify-content: center;
    align-items: center;
    gap: 22px;
    margin-bottom: 28px;
    text-align: center;
}
.vme-section-title > span { height: 1px; background: rgba(255,255,255,.72); }
.vme-section-title h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: clamp(34px, 4vw, 46px);
    font-weight: 500;
}
.vme-benefits__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.vme-benefits__grid article {
    min-height: 185px;
    padding: 12px 28px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,.45);
}
.vme-benefits__grid article:last-child { border-right: 0; }
.vme-benefits__grid p { margin: 14px 0 0; font-size: 18px; line-height: 1.35; }
.vme-icon,
.vme-card-icon,
.vme-megaphone {
    font-style: normal;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
}
.vme-icon { width: 68px; height: 68px; color: #fff; }
.vme-icon .dashicons { width: 32px; height: 32px; font-size: 32px; }
.vme-icon--terra { background: var(--vme-terra); }
.vme-icon--sage { background: var(--vme-green-soft); }
.vme-icon--orange { background: var(--vme-orange); }
.vme-icon--olive { background: var(--vme-olive); }

/* Events */
.vme-events {
    padding: 46px 0 30px;
    background: linear-gradient(#fbf4ea, #f9f0e5);
}
.vme-events__heading { margin-bottom: 28px; text-align: center; }
.vme-events__heading h2 {
    margin: 0;
    color: var(--vme-green-deep);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .34em;
    text-transform: uppercase;
}
.vme-botanical { display: block; color: #8e9b66; font-size: 32px; line-height: 1; transform: rotate(-18deg); }
.vme-event-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}
.vme-event-card {
    position: relative;
    min-height: 415px;
    padding: 0 26px 26px;
    overflow: hidden;
    text-align: center;
    background: rgba(255,253,250,.9);
    border: 1px solid #eadccd;
    border-radius: 20px;
    box-shadow: var(--vme-shadow);
}
.vme-event-date {
    margin: 0 -26px 12px;
    padding: 12px;
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: .22em;
}
.vme-event-card--terra .vme-event-date { background: var(--vme-terra); }
.vme-event-card--sage .vme-event-date { background: #879b6d; }
.vme-event-time { margin-bottom: 15px; font-size: 14px; letter-spacing: .04em; }
.vme-card-icon {
    width: 58px; height: 58px;
    margin-bottom: 12px;
    color: #fff;
}
.vme-card-icon .dashicons { width: 29px; height: 29px; font-size: 29px; }
.vme-event-card--terra .vme-card-icon { background: var(--vme-terra); }
.vme-event-card--sage .vme-card-icon { background: #879b6d; }
.vme-event-kind { margin: -2px 0 4px; color: var(--vme-green); font-weight: 900; letter-spacing: .08em; }
.vme-event-card h3 {
    min-height: 98px;
    margin-bottom: 12px;
    color: var(--vme-green-deep);
    font-family: "Playfair Display", serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.18;
}
.vme-event-card h3 strong { font-weight: 700; }
.vme-card-rule { display: block; width: 100%; height: 1px; margin: 0 0 14px; background: #cbb89f; }
.vme-event-card p { margin: 0; font-size: 15px; line-height: 1.45; }
.vme-event-note {
    margin: 24px auto 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
}
.vme-event-note .dashicons { width: 34px; height: 34px; color: var(--vme-green); font-size: 34px; }
.vme-event-note p { margin: 0; }

/* CTA + contact */
.vme-cta { padding: 10px 0 0; background: #f9f0e5; }
.vme-cta__box {
    min-height: 138px;
    display: grid;
    grid-template-columns: 1.25fr .65fr .85fr;
    align-items: center;
    gap: 28px;
    padding: 22px 30px;
    border: 1px solid #d8c2a9;
    border-radius: 22px;
    background: rgba(255,253,250,.55);
}
.vme-cta__intro { display: grid; grid-template-columns: 70px 1fr; gap: 16px; align-items: center; }
.vme-megaphone { width: 64px; height: 64px; color: #fff; background: var(--vme-green); }
.vme-megaphone .dashicons { width: 30px; height: 30px; font-size: 30px; }
.vme-cta__intro h2 { margin: 0 0 4px; color: var(--vme-green); font-size: 22px; letter-spacing: .09em; }
.vme-cta__intro p { margin: 0; font-size: 14px; }
.vme-btn--participate { min-width: 200px; font-size: 20px; letter-spacing: .04em; }
.vme-cta__instagram { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 12px; padding-left: 22px; border-left: 1px solid #d4c4af; }
.vme-cta__instagram > .dashicons { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: var(--vme-terra); border-radius: 50%; font-size: 28px; }
.vme-cta__instagram p { margin: 0; font-size: 13px; line-height: 1.4; }
.vme-cta__instagram a { color: var(--vme-terra) !important; font-weight: 800; }

.vme-contact-strip { padding: 16px 0 26px; background: #f9f0e5; }
.vme-contact-grid {
    display: grid;
    grid-template-columns: 1.35fr .8fr 1.2fr 1fr;
    gap: 0;
    padding-top: 4px;
}
.vme-contact-grid > div {
    min-width: 0;
    display: grid;
    grid-template-columns: 34px 1fr;
    gap: 8px;
    padding: 10px 18px;
    border-right: 1px solid #d2c1ac;
}
.vme-contact-grid > div:last-child { border-right: 0; }
.vme-contact-grid .dashicons { width: 30px; height: 30px; color: var(--vme-green); font-size: 30px; }
.vme-contact-grid p { margin: 0; font-size: 12px; line-height: 1.4; word-break: break-word; }
.vme-contact-grid strong { font-weight: 800; }

@media (max-width: 1060px) {
    .vme-header__inner { grid-template-columns: 128px 1fr auto; gap: 16px; }
    .vme-logo img { width: 105px; }
    .vme-nav { gap: 18px; font-size: 12px; }
    .vme-btn--header { padding-inline: 14px; font-size: 13px; }
    .vme-hero__grid { grid-template-columns: .95fr 1.05fr; }
    .vme-hero h1 { font-size: clamp(70px, 9vw, 104px); }
    .vme-event-card h3 { font-size: 21px; }
}

@media (max-width: 860px) {
    .vme-container { width: min(100% - 36px, 720px); }
    .vme-header__inner { min-height: 78px; grid-template-columns: 100px 1fr auto; }
    .vme-logo img { width: 86px; max-height: 68px; }
    .vme-menu-toggle { display: inline-flex; justify-self: end; }
    .vme-btn--header { display: none; }
    .vme-nav {
        position: absolute;
        left: 18px;
        right: 18px;
        top: calc(100% + 8px);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 14px;
        background: #fffdf8;
        border: 1px solid var(--vme-line);
        border-radius: 18px;
        box-shadow: var(--vme-shadow);
    }
    .vme-nav.is-open { display: flex; }
    .vme-nav a { padding: 12px 10px; }
    .vme-nav a::after { display: none; }

    .vme-hero { min-height: auto; }
    .vme-hero__grid { min-height: auto; grid-template-columns: 1fr; gap: 0; }
    .vme-hero__copy { padding: 46px 0 32px; text-align: center; }
    .vme-eyebrow { font-size: 15px; }
    .vme-hero h1 { font-size: clamp(72px, 18vw, 108px); }
    .vme-hero__text { margin-left: auto; margin-right: auto; }
    .vme-location { justify-content: center; }
    .vme-rule { margin-left: auto; margin-right: auto; }
    .vme-hero__visual { min-height: 520px; border-radius: 28px 28px 0 0; }
    .vme-hero__visual::before { display: none; }
    .vme-hero__visual img { min-height: 520px; height: 520px; object-position: center top; }
    .vme-limited { width: 126px; height: 126px; right: 18px; bottom: 26px; font-size: 15px; }

    .vme-benefits__grid { grid-template-columns: repeat(2, 1fr); }
    .vme-benefits__grid article { border-right: 1px solid rgba(255,255,255,.35); border-bottom: 1px solid rgba(255,255,255,.25); }
    .vme-benefits__grid article:nth-child(2n) { border-right: 0; }
    .vme-benefits__grid article:nth-child(n+3) { border-bottom: 0; }

    .vme-event-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .vme-event-card { min-height: 0; }
    .vme-event-card h3 { min-height: 0; font-size: 25px; }

    .vme-cta__box { grid-template-columns: 1fr; text-align: center; }
    .vme-cta__intro { grid-template-columns: 1fr; justify-items: center; }
    .vme-cta__instagram { padding: 18px 0 0; border-left: 0; border-top: 1px solid #d4c4af; justify-content: center; grid-template-columns: 52px auto; text-align: left; }
    .vme-btn--participate { width: 100%; }
    .vme-contact-grid { grid-template-columns: repeat(2, 1fr); }
    .vme-contact-grid > div:nth-child(2) { border-right: 0; }
    .vme-contact-grid > div:nth-child(-n+2) { border-bottom: 1px solid #d2c1ac; }
}

@media (max-width: 560px) {
    .vme-container { width: calc(100% - 28px); }
    .vme-header__inner { grid-template-columns: 82px 1fr auto; min-height: 72px; }
    .vme-logo img { width: 72px; }
    .vme-menu-toggle { width: 42px; height: 42px; }
    .vme-hero__copy { padding-top: 34px; }
    .vme-eyebrow { font-size: 12px; letter-spacing: .28em; }
    .vme-hero h1 { font-size: clamp(62px, 21vw, 90px); }
    .vme-hero__subtitle { font-size: 23px; }
    .vme-hero__text { font-size: 16px; }
    .vme-location { font-size: 14px; align-items: flex-start; }
    .vme-hero__visual { min-height: 420px; }
    .vme-hero__visual img { min-height: 420px; height: 420px; }
    .vme-limited { width: 104px; height: 104px; right: 10px; bottom: 16px; font-size: 13px; }
    .vme-section-title { grid-template-columns: 45px auto 45px; gap: 10px; }
    .vme-section-title h2 { font-size: 31px; }
    .vme-benefits { padding-top: 30px; }
    .vme-benefits__grid { grid-template-columns: 1fr; }
    .vme-benefits__grid article { min-height: auto; padding: 22px 10px; border-right: 0 !important; border-bottom: 1px solid rgba(255,255,255,.3) !important; }
    .vme-benefits__grid article:last-child { border-bottom: 0 !important; }
    .vme-benefits__grid p { font-size: 17px; }
    .vme-events { padding-top: 36px; }
    .vme-events__heading h2 { font-size: 14px; letter-spacing: .27em; }
    .vme-event-card { padding-left: 20px; padding-right: 20px; border-radius: 18px; }
    .vme-event-date { margin-left: -20px; margin-right: -20px; }
    .vme-event-note { align-items: flex-start; font-size: 13px; }
    .vme-cta__box { padding: 20px; border-radius: 18px; }
    .vme-contact-grid { grid-template-columns: 1fr; }
    .vme-contact-grid > div { border-right: 0; border-bottom: 1px solid #d2c1ac; padding: 12px 6px; }
    .vme-contact-grid > div:last-child { border-bottom: 0; }
}

/* v2.7.0 — CTA de inscrição por encontro */
.vme-card-cta {
    width: 100%;
    margin-top: 20px;
    min-height: 44px;
    border: 0;
    border-radius: 12px;
    background: #385b43;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
}
.vme-event-card--terra .vme-card-cta { background: #a95c45; }
.vme-card-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(35, 58, 42, .14); }
.vme-btn--participate { border: 0; cursor: pointer; }

/* v2.7.4 — alinhamento estrutural dos três cards de eventos
   Cada card reserva exatamente as mesmas faixas para horário, ícone, selo,
   título, divisória, descrição e CTA. O WORKSHOP ocupa uma faixa já prevista
   nos demais cards e, portanto, não altera nenhuma linha vertical. */
.vme-event-grid {
    align-items: stretch;
}
.vme-event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 468px;
    padding-bottom: 24px;
}
.vme-event-time {
    min-height: 22px;
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vme-event-card > .vme-card-icon {
    align-self: center;
    flex: 0 0 58px;
    margin: 0 0 8px;
}
.vme-event-kind-slot {
    flex: 0 0 28px;
    height: 28px;
    margin: 0 0 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vme-event-card--terra .vme-event-kind,
.vme-event-card--sage .vme-event-kind,
.vme-event-kind {
    position: static;
    inset: auto;
    z-index: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    color: #7f4938;
    background: #f5e2d8;
    font-size: 10px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: .08em;
}
.vme-event-card h3 {
    box-sizing: border-box;
    flex: 0 0 102px;
    min-height: 102px;
    max-height: 102px;
    margin: 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 23px;
    line-height: 1.2;
}
.vme-card-rule {
    flex: 0 0 1px;
    width: 100%;
    height: 1px;
    margin: 0 0 14px;
}
.vme-event-card > p {
    box-sizing: border-box;
    flex: 0 0 68px;
    min-height: 68px;
    max-height: 68px;
    margin: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}
.vme-card-cta {
    flex: 0 0 46px;
    min-height: 46px;
    margin-top: auto;
}
.vme-contact-strip {
    padding-top: 28px;
    border-top: 1px solid rgba(210, 193, 172, .55);
}

@media (max-width: 1080px) and (min-width: 861px) {
    .vme-event-card { padding-left: 20px; padding-right: 20px; }
    .vme-event-date { margin-left: -20px; margin-right: -20px; }
    .vme-event-card h3 { font-size: 21px; }
}

@media (max-width: 860px) {
    .vme-event-card {
        min-height: 0;
    }
    .vme-event-kind-slot {
        flex-basis: auto;
        height: auto;
        min-height: 0;
        margin-bottom: 8px;
    }
    .vme-event-kind-slot:empty {
        display: none;
    }
    .vme-event-card h3 {
        flex-basis: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        font-size: 25px;
    }
    .vme-event-card > p {
        flex-basis: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
    }
    .vme-card-cta {
        margin-top: 20px;
    }
}
