.fundo-patrimonial-page {
    background-color: #ffffff;
}
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 220px;
    position: relative;
    color: white;
    overflow: hidden;
    background-color: #004892;
}

.video-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.video-background-container iframe.video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none !important;
    user-select: none !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 72, 146, 0.9) 0%, rgba(0, 130, 200, 0.7) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 300;
    max-width: 800px;
    margin: 0 auto;
}

.wave-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 15;
}
.wave-shape svg {
    width: 100%;
    height: auto;
    display: block;
    transform: scaleY(1.8);
    transform-origin: bottom;
}

.content-wrapper {
    background-color: transparent;
    position: relative;
    z-index: 20;
}

/* Info Boxes */
.info-box {
    border: 2px solid #efefef;
    padding: 20px 15px;
    border-radius: 15px;
    background: #fafafa;
    height: 100%;
    transition: none; /* Removed transition and hover effects */
}

/* New Institution Cards with "Relevo" */
.institution-card-new {
    display: block;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05), 0 1px 3px rgba(0,0,0,0.1);
    text-decoration: none !important;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    border: 1px solid #eee;
    height: 100%;
}

.institution-card-new .logo-area {
    height: 140px;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.institution-card-new .logo-area img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.institution-card-new .label-area {
    background: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #eee;
    color: #333;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background 0.3s, color 0.3s;
}

.institution-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0,0,0,0.1);
}

/* UFV Hover */
.institution-card-new.card-ufv:hover {
    border-color: #6b2424;
}
.institution-card-new.card-ufv:hover .label-area {
    background: #6b2424;
    color: #fff;
}

/* IFSP Hover */
.institution-card-new.card-ifsp:hover {
    border-color: #004b23;
}
.institution-card-new.card-ifsp:hover .label-area {
    background: #004b23;
    color: #fff;
}

@media (min-width: 992px) {
    .border-right-lg {
        border-right: 1px solid #f0f0f0;
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
}
