.evento-card {
    border-radius: 18px;
    overflow: hidden;
    border: none;
    background: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    transition: .25s ease;
    transform: translateY(0);
}

.evento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.evento-card img {
    transition: .4s ease;
}

.evento-card:hover img {
    transform: scale(1.05);
}

.evento-body {
    padding: 20px 22px;
}

.evento-title {
    font-size: 1.17rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.evento-info {
    font-size: .9rem;
    color: #6c757d;
    margin-bottom: 4px;
}

.evento-footer {
    background: #f8f9fa;
    padding: 15px 22px;
    border-top: 1px solid #eee;
    text-align: center;
}

.badge-evento {
    font-size: .7rem;
    padding: 6px 9px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 5px;
}

.badge-nacional {
    background: #d7f5df;
    color: #146c43;
}

.badge-internacional {
    background: #dbe8ff;
    color: #0d47a1;
}

.badge-parceiro {
    background: #ffe9c2;
    color: #9f6a00;
}
.evento-thumb {
    width: 100%;
    height: 240px; /* altura uniforme */
    object-fit: cover; /* corta sem distorcer */
    object-position: center; /* centraliza o corte */
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    background-color: #f5f5f5;
}

.badge-segmento {
    display: inline-block;
    background: #2c9d30;
    color: #ffffff;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    margin-right: 6px;
    margin-bottom: 6px;
    border: 1px solid rgba(0,0,0,0.08);
}

.hero-evento {
    background: linear-gradient(180deg, #e7f7ef 0%, #f9fcff 100%);
    padding: 60px 0;
    border-bottom: 1px solid #e5e5e5;
}
.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1a1a1a;
}
.info-badge {
    font-size: .95rem;
    padding: 6px 12px;
    background: #e9f5ed;
    border-radius: 8px;
    color: #218838;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sidebar-card {
    border-radius: 14px;
    border: 1px solid #e3e6ea;
    background: #ffffff;
    padding: 22px;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 6%);
}
.sidebar-title {
    font-weight: 700;
    font-size: 1.2rem;
    color: #222;
}
.content-evento {
    font-size: 1.08rem;
    line-height: 1.68;
    color: #333;
}
.galeria img {
    border-radius: 10px;
    object-fit: cover;
    width: 100%;
    height: 180px;
}
.galeria img:hover {
    transform: scale(1.03);
}

.hero-evento {
    background: linear-gradient(180deg,#e6f5eb,#f9fbfc);
    padding: 60px 0 40px;
}
.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
}
.sidebar-card {
    background: #fff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
}
.content-evento {
    font-size: 1rem;
    line-height: 1.65;
    color: #333;
}

.segment-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

.segment-item {
    padding: 10px 18px;
    border-radius: 30px;
    background: linear-gradient(135deg, #eef7f1, #ffffff);
    border: 1px solid #d9e9dd;
    color: #146c43;
    font-size: .9rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    transition: .25s ease;
}

.segment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    background: #e5f4eb;
}

.segment-count {
    background: #146c43;
    color: #fff;
    padding: 2px 7px;
    border-radius: 20px;
    font-size: .75rem;
    font-weight: 700;
}

.segment-icon {
    font-size: 1rem;
}

/* ---- CARD BASE ---- */
.evento-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 14px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
    background: white;
    transition: all .25s ease;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 5%);
}
.evento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 28px rgb(0 0 0 / 12%);
}
/* ---- IMAGEM ---- */
.evento-thumb {
    width: 100%;
    height: 210px;
    object-fit: cover;
}
/* ---- CORPO DO CARD ---- */
.evento-body {
    padding: 18px;
    flex-grow: 1; /* empurra o footer para baixo */
}
/* ---- RODAPÉ DO CARD ---- */
.evento-footer {
    padding: 18px;
    margin-top: auto; /* garante alinhamento entre todos os cards */
}
/* ---- TEXTOS ---- */
.evento-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
}
.evento-info {
    font-size: .9rem;
    color: #666;
    margin-bottom: 6px;
}
/* ---- BADGES ---- */
.badge-evento {
    font-size: .75rem;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-block;
    margin-top: 6px;
    font-weight: 600;
}
.badge-nacional       { background:#d1f5d8; color:#0a7a1c; }
.badge-internacional  { background:#d9e8ff; color:#0a3c96; }
.badge-parceiro       { background:#ffe7a1; color:#805600; }
