/* ── inicio.html ── */
.home-svc-card {
    background: white;
    border: 1.5px solid #F1F5F9;
    border-radius: 20px;
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.25s ease;
}
.home-svc-card:hover { border-color: rgba(185,28,28,0.22); }
.value-card {
    background: white;
    border: 1.5px solid #F1F5F9;
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.25s ease;
}
.value-card:hover { border-color: rgba(185,28,28,0.22); }
.val-icon {
    width: 60px; height: 60px;
    border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.value-card:hover .val-icon { transform: scale(1.12) rotate(-4deg); }
.stat-icon-box {
    width: 56px; height: 56px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.stat-item:hover .stat-icon-box { transform: scale(1.08); }
.about-img-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 60px -12px rgba(15,23,42,0.18);
}
#typewriter { color: #B91C1C; }
.tw-cursor {
    display: inline-block;
    width: 2px;
    background: #B91C1C;
    margin-left: 2px;
    vertical-align: baseline;
    animation: tw-blink 1s step-end infinite;
    height: 0.85em;
    position: relative;
    top: 0.05em;
}
@keyframes tw-blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* ── sobre.html ── */
.about-img-hero {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4/5;
    box-shadow: 0 24px 60px -12px rgba(15,23,42,0.18);
    position: relative;
}
.about-img-hero img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.about-img-hero:hover img { transform: scale(1.04); }

/* ── titulares.html ── */
.profile-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.profile-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -10px rgba(185,28,28,0.14); }
.director-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }
.director-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px -6px rgba(15,23,42,0.10);
    border-color: rgba(185,28,28,0.22);
}
.admin-featured {
    background: linear-gradient(135deg, #B91C1C 0%, #991B1B 100%);
    position: relative;
    overflow: hidden;
}
.admin-featured::before {
    content: '';
    position: absolute;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    top: -60px; right: -40px;
    pointer-events: none;
}
.admin-featured::after {
    content: '';
    position: absolute;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    bottom: -40px; left: 20%;
    pointer-events: none;
}
.admin-photo-wrap { position: relative; flex-shrink: 0; }
.admin-photo-wrap::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
}
.sec-label { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.sec-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
}

/* ── portfolio.html e recursos.html ── */
.filter-btn {
    padding: 8px 20px; border-radius: 999px; font-size: 0.8rem; font-weight: 600;
    background: white; border: 1.5px solid #E2E8F0; color: #64748B;
    cursor: pointer; transition: all 0.2s ease;
}
.filter-btn:hover { border-color: #B91C1C; color: #B91C1C; }
.filter-btn.active { background: #B91C1C; border-color: #B91C1C; color: white; }

.portfolio-item {
    border-radius: 18px; overflow: hidden;
    aspect-ratio: 4/3; position: relative; cursor: pointer;
    background: #F1F5F9;
}
.portfolio-item img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.3) 50%, transparent 100%);
    opacity: 0; transition: opacity 0.35s ease;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-content { transform: translateY(12px); transition: transform 0.35s ease; }
.portfolio-item:hover .portfolio-content { transform: translateY(0); }

/* ── portfolio.html e recursos.html (lightbox) ── */
.lightbox-modal { backdrop-filter: blur(20px); }

/* ── evento_detalhe.html ── */
.inscricao-input {
    width: 100%; background: #f8fafc; border: 1.5px solid #e2e8f0; color: #1e293b;
    border-radius: 0.75rem; padding: 0.75rem 1rem; font-size: 0.9rem;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
}
.inscricao-input:focus { border-color: #B91C1C; box-shadow: 0 0 0 3px rgba(185,28,28,0.1); }
.inscricao-input::placeholder { color: #94a3b8; }
.inscricao-input.error { border-color: #B91C1C; }
.inscricao-checkbox { width: 1rem; height: 1rem; border-radius: 0.3rem; accent-color: #B91C1C; cursor: pointer; flex-shrink: 0; margin-top: 2px; }
#modalInscricao.show { display: flex; }
