/* ===== Single Evento ===== */

/* ── Hero (banner sem foto de fundo) ── */
.se-hero--banner {
    background: linear-gradient(135deg, var(--brown-dark) 0%, var(--brown) 100%);
    padding: 52px 0 44px;
}

.se-hero--banner .container {
    position: relative;
}

.se-hero__badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.se-badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.se-badge--tipo    { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); }
.badge-green       { background: #eafaf1; color: #1d8348; }
.badge-red         { background: rgba(231,76,60,.15); color: #fff; border: 1px solid rgba(255,255,255,.3); }
.badge-gray        { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); }

.se-hero__title {
    font-size: clamp(26px, 4vw, 44px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0,0,0,.3);
}

.se-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.se-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255,255,255,.88);
}

/* ── Layout ── */
.se-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    padding: 48px 0 80px;
    align-items: start;
}

@media (max-width: 900px) {
    .se-layout {
        grid-template-columns: 1fr;
        padding: 32px 0 60px;
    }
    .se-sidebar { order: -1; }
}

/* ── Breadcrumb ── */
.se-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.se-breadcrumb a {
    color: var(--brown);
    text-decoration: none;
}
.se-breadcrumb a:hover { text-decoration: underline; }
.se-breadcrumb span:not(:last-child) { color: #ccc; }

/* ── Section title ── */
.se-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cream-dark);
}

/* ── Content ── */
.se-content { margin-bottom: 48px; }

.se-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-mid);
}

.se-body p  { margin-bottom: 1.2em; }
.se-body h2,
.se-body h3 { font-weight: 700; color: var(--text-dark); margin: 1.6em 0 .6em; }
.se-body ul,
.se-body ol { padding-left: 1.4em; margin-bottom: 1.2em; }
.se-body li { margin-bottom: .4em; }
.se-body img { border-radius: 8px; margin: 12px 0; }
.se-body a  { color: var(--brown); text-decoration: underline; }

/* ── Imagem de destaque ── */
.se-featured-image {
    margin-bottom: 36px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.se-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ── Google Maps ── */
.se-map-section { margin-bottom: 48px; }

.se-map-address {
    font-size: 14px;
    color: var(--text-mid);
    margin-bottom: 14px;
    line-height: 1.5;
}

.se-map-embed {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.se-map-embed iframe {
    display: block;
    width: 100%;
    height: 360px;
    border: 0;
}

/* ── Formulário de inscrição dentro da sidebar: sempre 1 coluna ── */
.se-card--inscricao .sonhe-form-grid {
    grid-template-columns: 1fr;
}
.se-card--inscricao .sonhe-col-2 {
    grid-column: 1 !important;
}

/* ── Gallery ── */
.se-gallery-section { margin-bottom: 48px; }

.se-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.se-gallery-item {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--cream);
}

.se-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.se-gallery-item:hover img { transform: scale(1.07); }

/* ── Sidebar cards ── */
.se-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-bottom: 24px;
}

.se-card--inscricao { padding: 0; overflow: hidden; }
.se-card--inscricao .sonhe-inscricao-box {
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 24px;
    margin: 0;
}

.se-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cream-dark);
}

/* ── Details list ── */
.se-details-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.se-details-list__item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.se-details-list__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--brown);
}

.se-details-list__label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: var(--text-light);
    margin-bottom: 3px;
}

.se-details-list__value {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.se-details-list__sub {
    display: block;
    font-size: 13px;
    color: var(--text-light);
    margin-top: 2px;
}

/* Vagas progress bar */
.se-vagas-bar {
    height: 5px;
    background: var(--cream-dark);
    border-radius: 10px;
    margin-top: 8px;
    overflow: hidden;
}

.se-vagas-bar__fill {
    height: 100%;
    background: var(--brown);
    border-radius: 10px;
    transition: width .4s ease;
}
