.testimony{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1001;
    display: none;
    backdrop-filter: blur(3px);
}

.testimony_content{
    display: block;
    position: relative;
    width: 660px;
    max-width: 90%;
    margin: 5% auto 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    overflow: hidden;
}

.testimony_content h1{
    font-size: 1.4em;
    font-weight: 600;
    color: #333;
    padding: 20px 25px;
    border-bottom: 1px solid #eee;
    background: #f9f9f9;
}

.testimony_content h1 b{
    font-weight: 700;
    color: var(--colorMain);
}

.testimony_close{
    color: #fff;
    background: #333;
    border: 2px solid #fff;
    width: 30px;
    height: 30px;
    line-height: 26px;
    text-align: center;
    position: absolute;
    right: -10px;
    top: -10px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
    z-index: 10;
}

.testimony_close:hover{
    background: var(--colorMain);
}

.testimony_content .content_like{
    display: block;
    width: 100%;
    padding: 25px;
}

.testimony_content .box_like{
    display: inline-block;
    width: 48%;
    text-align: center;
    padding: 0;
    vertical-align: top;
    margin-right: 2%;
}

.testimony_content .box_like:last-child {
    margin-right: 0;
}

.testimony_content .box_like p{
    font-weight: 400;
    margin-bottom: 15px;
    color: #555;
    font-size: 1em;
}

.lead_take {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    padding-bottom: 20px;
    text-align: center;
    flex-basis: calc(25% - 15px); /* Desktop: 4 colunas */
}

.lead_take:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.lead_take h1{
    font-size: 1.1em;
    font-weight: 600;
    margin: 15px 10px;
    color: #333;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead_take .thumb{
    position: relative;
    overflow: hidden;
}

.lead_take .thumb img {
    transition: transform 0.5s ease;
}

.lead_take:hover .thumb img {
    transform: scale(1.05);
}

.lead_take .false_bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead_take:hover .false_bg{
    opacity: 1;
}

.lead_take h1 b{
    font-weight: 700;
    color: var(--colorMain);
}

.lead_take span{
    color: var(--colorMain);
    border-bottom: 1px dotted var(--colorMain);
    font-weight: 500;
    font-style: italic;
    cursor: pointer;
    padding: 0 0 0 5px;
}

.lead_take .btn {
    margin-top: 10px;
    display: inline-block;
    padding: 8px 20px;
    font-size: 0.9em;
}

@media (max-width: 64em) {
    .lead_take {
        flex-basis: calc(50% - 10px); /* Tablet: 2 colunas */
    }
}

@media (max-width: 50em) {
    .lead_take {
        flex-basis: 100%; /* Mobile: 1 coluna */
    }
}
