/* =========================
   MENU ACORDEAO
========================= */
.titulo-animado {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
 
.titulo-animado h2 {
    color: #2563EB;
    font-size: 42px;
    font-weight: var(--title-weight);
    margin: 0 0 8px;
    line-height: 1.2;
}
.titulo-animado span{
    position: relative;
    display: inline-block;
    padding-right: 4px;
}
.titulo-animado span::before{
    content: '';
    background:transparent;
    animation: palavras 15s infinite;
}
.titulo-animado span::after{
    content: '';
    position: absolute;
    height: 100%;
    border-left: 2px solid #fff;
    right: -10px;
    animation: cursor .7s infinite, digitacao 15s steps(15) infinite;
    width: calc(100% + 10px );
    background-color:#f8f6f6;
}
@keyframes digitacao {
    10%, 15%, 30%, 35%, 50%, 55%, 70%, 75%, 90%, 95%{
        width: 0;
    }
    5%, 20%, 25%, 40%, 45%, 60%, 65%, 80%, 85%{
        width: calc(100% + 10px );
    }

    
}
@keyframes cursor {
    0%{
        border-left: 2px solid #fff;
    }
    
}

@keyframes  palavras{
    0%,20%{
        content: "pode oferecer.";
    }
    21%,40%{
        content: "pode desenvolver.";
    }
    41%,60%{
        content: "pode entregar.";
    }
    61%, 80%{
        content: "pode fabricar.";
    }
    81%,100%{
        content: "pode transformar.";
    }
}
/* ===== card principal ===== */
.services-section{
    width: 100%;
    position: relative;
    margin-top: 4rem;
    margin-bottom: -4rem;
}
.services-section .Fundo_Azul {
    position: absolute;
    z-index: 0;

    top: calc(50% + 30px);
    left: calc(50% - 25px);

    transform: translate(-50%, -50%);

    width: min(1210px, calc(100% - 3rem));
    height: 530px;

    background: #2563EB;
    border-radius: 10px;
}
.content-card {
    position: relative;
    z-index: 1;

    display: flex;

    width: min(1200px, 100%);
    min-height: 490px;
    height: auto;

    background: #f8f6f6;

    border-radius: 10px;
    border: 1px solid #000;

    overflow: hidden;

    margin: 40px auto;
    padding: 50px;

    justify-content: space-between;
    align-items: center;

    box-shadow: 0 20px 40px rgba(0,0,0,.15);
    
}
 
.content-card .left,
.content-card .right {
    width: 50%;
    display: flex;
    flex-direction: column;
}
 
.subtitle-products {
    color: #000000;
    font-size: 16px;
    line-height: 1.6;
    text-align: left;
    max-width: 90%;
    opacity: 0.9;
}
 
/* ===== cards de serviço ===== */
.card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid #00000059;
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    padding: 15px 20px;
}
 
.card:last-child { margin-bottom: 0; }
 
.card-title {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    cursor: pointer;
}
 
.card-icon {
    font-size: 32px;
    color: var(--primary-color-blue);
    flex-shrink: 0;
    width: 36px;
    text-align: center;
}
 
.card-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #111;
    flex: 1;
}
 
.toggle-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-color-blue);
    font-size: 18px;
    padding: 4px;
    transition: transform .3s ease;
}
 
.toggle-btn.rotated {
    transform: rotate(180deg);
}
 
.card-description {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .35s ease, opacity .35s ease, margin-top .35s ease;
}
 
.card-description.ativo {
    max-height: 200px;
    opacity: 1;
    margin-top: 10px;
}
 
.card-description p {
    margin: 0;
    text-align: left;
    line-height: 1.6;
    color: #444;
    font-size: 14.5px;
}
 
/* ===== responsividade ===== */
@media (max-width: 900px) {
    .services-section{
        margin-top: 0;
        margin-bottom: 0;
    }
    .services-section .Fundo_Azul {
        display:none;
    }
    .titulo-animado span::after{
        background-color:#f8f4f4;
    }
    .titulo-animado h2{
        margin: 1rem;
    }
    .servicos{

        padding: 0;
        margin: 0;
        gap: 0;
        
    }
    .subtitle-products {
        display: none;
    }
    .servicos .Fundo_Azul{
        display: none;
    }
    .content-card {
        background-color: #f8f4f4;    
        box-shadow: none;
        flex-direction: column;
        padding: 0 1rem 0 1rem;
        gap: 30px;
        border-radius: 0;
        border: 1px solid #cecece;
    }
    .content-card .left,
    .content-card .right {
        width: 100%;
    }
    .titulo-animado h2 {
        font-size: 30px;
        margin: 9;
    }

}