.section-title { font-size: 1.5rem; font-weight: 800; margin: 40px 0 20px; color: var(--text-dark); }
.horizontal-scroll { display: flex; gap: 15px; overflow-x: auto; padding-bottom: 20px; scroll-snap-type: x mandatory; }
.card-mini { min-width: 150px; scroll-snap-align: start; text-decoration: none; color: inherit; transition: 0.3s; }
.card-mini img { width: 150px; height: 150px; object-fit: contain; border-radius: 12px; background-color: #f8fafc; }
.card-mini p { font-size: 0.85rem; font-weight: 600; margin-top: 8px; }
.card-mini:hover { transform: translateY(-5px); }

.grid-suggestions { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 25px; }
.card-modern { background: white; border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0; text-decoration: none; color: inherit; transition: 0.3s; }
.card-modern:hover { transform: translateY(-8px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img { height: 180px; background-size: contain; background-repeat: no-repeat; background-position: center; background-color: #f8fafc; }
.card-info { padding: 20px; }
.card-info h4 { margin: 0; font-size: 1.1rem; font-weight: 700; }
.card-info span { font-size: 0.8rem; color: #64748b; text-transform: uppercase; }

.destaques-section { margin-top: 40px; }
.destaques-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.destaques-title { font-size: 1.3rem; font-weight: 800; color: #0f172a; display: flex; align-items: center; gap: 10px; }
.destaques-track { display: flex; gap: 18px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.destaques-track::-webkit-scrollbar { height: 4px; }
.destaques-track::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 10px; }

.card { scroll-snap-align: start; min-width: 260px; }

/* VITRINE DE ATENCAO */
.attention-board {
    margin: 28px 0 34px;
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 18px;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #0f172a;
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
    overflow: hidden;
}

.attention-copy {
    min-width: 0;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.attention-copy .section-eyebrow { color: #67e8f9; }

.attention-copy h2 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: clamp(1.45rem, 2.7vw, 2.25rem);
    line-height: 1.12;
    font-weight: 900;
}

.attention-copy p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.65;
    max-width: 46ch;
}

.attention-counts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 16px;
}

.attention-counts button,
.attention-counts a {
    min-width: 0;
    padding: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.13);
    background: rgba(255,255,255,0.08);
    color: #fff;
    text-decoration: none;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.attention-counts strong {
    display: block;
    font-size: 1.18rem;
    line-height: 1;
}

.attention-counts span {
    display: block;
    margin-top: 4px;
    color: #cbd5e1;
    font-size: 0.72rem;
    font-weight: 800;
}

.attention-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.attention-actions a,
.attention-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: inherit;
}

.attention-actions button {
    background: #fff;
    color: #0f172a;
}

.attention-actions a {
    color: #dbeafe;
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
}

.attention-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    grid-template-rows: repeat(2, minmax(150px, 1fr));
    gap: 12px;
}

.attention-card {
    min-width: 0;
    min-height: 150px;
    border-radius: 18px;
    padding: 16px;
    color: #fff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.16);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.attention-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255,255,255,0.45);
}

.attention-card.is-large {
    grid-row: 1 / -1;
    min-height: 312px;
}

.attention-label {
    width: fit-content;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    font-size: 0.72rem;
    font-weight: 900;
    margin-bottom: 9px;
}

.attention-card strong {
    font-size: 1.05rem;
    line-height: 1.18;
    font-weight: 900;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}

.attention-card.is-large strong { font-size: 1.45rem; }

.attention-card small {
    margin-top: 6px;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 800;
}

/* MOSAICO DE EVENTOS */
.events-section { margin-top: 40px; margin-bottom: 60px; }
.events-mosaic {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.events-container-home {
    margin-top: 20px;
}

.event-card-mosaic {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
    position: relative;
    cursor: pointer;
}

.event-card-mosaic:hover,
.event-card-mosaic:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}

.event-card-mosaic:focus-visible {
    outline: 3px solid rgba(37, 99, 235, 0.28);
    outline-offset: 4px;
}

.event-card-img {
    height: 200px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #f8fafc;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: white;
    padding: 8px 12px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.event-date-badge .day {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
}

.event-card-info {
    padding: 20px;
}

.event-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.event-card-info h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card-info p {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
}

.btn-event-details {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    color: var(--dark);
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s;
}

.btn-event-details:hover {
    background: var(--dark);
    color: white;
}

.event-footer {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.btn-event-details-simple {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: white;
    color: var(--dark);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-event-details-simple:hover {
    background: var(--light-bg);
}

.btn-event-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 12px;
    background: var(--dark);
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.2s;
}

.btn-event-action:hover {
    background: var(--primary);
}

.btn-event-action.online {
    background: var(--primary);
}

.btn-event-action.online:hover {
    background: var(--primary-dark);
}

@media (max-width: 768px) {
    .attention-board { grid-template-columns: 1fr; padding: 16px; border-radius: 18px; }
    .attention-grid { grid-template-columns: 1fr; grid-template-rows: none; }
    .attention-card.is-large { grid-row: auto; min-height: 220px; }
}

@media (max-width: 520px) {
    .attention-counts { grid-template-columns: 1fr; }
    .attention-actions { display: grid; }
    .attention-actions a, .attention-actions button { width: 100%; }
}

@media (max-width: 768px) {
    .events-mosaic {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .report-page-layout { grid-template-columns: 1fr; }
}

/* Animated Portal Button */
.portal-wrapper {
    margin: 24px 0;
}

.portal-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 16px 30px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    background-size: 200% 200%;
    animation: portal-gradient 4s ease infinite;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes portal-gradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.portal-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
}

.portal-rings {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-rings span {
    position: absolute;
    border: 2px solid #67e8f9;
    border-radius: 50%;
    opacity: 0;
    animation: portal-ripple 2s infinite;
}

.portal-rings span:nth-child(1) { animation-delay: 0s; }
.portal-rings span:nth-child(2) { animation-delay: 0.6s; }
.portal-rings span:nth-child(3) { animation-delay: 1.2s; }

@keyframes portal-ripple {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 50px; height: 50px; opacity: 0; }
}

.portal-button i {
    font-size: 1.6rem;
    z-index: 2;
}

.portal-button span:not(.portal-rings span) {
    z-index: 2;
    font-size: 1.05rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.attention-card.community-post {
    border-color: rgba(37, 99, 235, 0.2);
}

.attention-card.community-post .attention-label {
    background: rgba(37, 99, 235, 0.4);
    backdrop-filter: blur(4px);
}
