/* Hero Feature Container */
.hero-feature-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1142px;
    margin: auto;
    margin-top: 60px;
    margin-bottom: 60px;
    padding: 0 20px;
}

@media (min-width: 1024px) {
    .hero-feature-container {
        grid-template-columns: 3fr 4fr;
    }
}

/* LADO ESQUERDO - Item Principal */
.hero-feature-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.hero-main-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hero-main-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hero-main-media {
    flex: 1;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 20px;
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-main-card:hover .hero-main-image,
.hero-main-link:hover .hero-main-image {
    transform: scale(1.2);
}

.hero-main-content {
    flex: 0 0 auto;
}

.hero-main-title {
    font-size: 1.75rem;
    color: #2D6A6E;
    margin-bottom: 1rem;
    line-height: 109%;
    font-weight: 600;
}

.hero-main-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
}

.hero-main-link:hover {
    text-decoration: underline;
    color: #2D6A6E;
}

/* LADO DIREITO - Lista de Items */
.hero-feature-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
}

.hero-list-item {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
    overflow: hidden;
    border-radius: 20px;
}

.hero-list-link {
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
    text-decoration: none;
    color: inherit;
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.hero-list-media {
    flex: 0 0 auto;
    width: 150px;
    margin-bottom: 0;
    overflow: hidden;
    border-radius: 20px;
}

.hero-list-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.hero-list-item:hover .hero-list-image,
.hero-list-link:hover .hero-list-image {
    transform: scale(1.2);
}

.hero-list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-list-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2D6A6E;
    margin: 0 0 5px 0;
    line-height: 120%;
}

.hero-list-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #4B5563;
}

.hero-list-link:hover {
    text-decoration: underline;
    color: #2D6A6E;
}

/* Divisores entre items */
.hero-list-item:not(:last-child)::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: #E5E7EB;
    margin-top: 1.5rem;
    position: absolute;
    bottom: -0.75rem;
    left: 0;
}

.hero-list-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.hero-list-item:last-child {
    margin-bottom: 0;
}

/* Ajustes para mobile */
@media (max-width: 768px) {
    .hero-feature-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
        margin-bottom: 30px;
        padding: 0 15px;
    }
    
    .hero-main-title {
        font-size: 1.5rem;
    }
    
    .hero-list-item,
    .hero-list-link {
        gap: 12px;
        flex-direction: column;
    }
    
    .hero-list-media {
        width: 100%;
    }
    
    .hero-list-title {
        font-size: 1.1rem;
    }
}