@media screen and (min-width: 1025px) {


    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    section.services {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 10vh 8%;
        position: relative;
        overflow: hidden;
    }

    canvas#constellationCanvas {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        pointer-events: none;
    }


    /* Conteúdo sobre o canvas */
    .textsOverServices,
    .servicesArea {
        position: relative;
        z-index: 1;
        text-align: center;
        margin-bottom: 40px;
        max-width: 800px;
    }

    .wTitle {
        font-size: 3.5rem;
        margin-bottom: 20px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        background: linear-gradient(to right, #a166ff, #ff6bff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .sectionDescription {
        font-size: 1.5rem;
        opacity: 0.9;
        margin-bottom: 30px;
    }

    .carousel-wrapper {
        position: relative;
        width: 100%;
        max-width: 1200px;
        padding: 2em;
        min-height: 32em;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 1.2em;
        background-color: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

    .carousel-container {
        overflow: hidden;
        width: 80%;
        height: 400px;
        position: relative;
    }

    .carousel-track {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        transition: transform 0.5s ease;
        padding: 20px 0;
    }

    .aService {
        flex: 0 0 280px;
        background: rgba(255, 255, 255, 0.1);
        width: 280px;
        height: 320px;
        border-radius: 1.3em;
        display: flex;
        flex-direction: column;
        text-align: center;
        justify-content: center;
        transition: all 0.5s ease;
        margin: 0 15px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        position: relative;
        overflow: hidden;
    }


.aService::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;  /* Largura da parte de cima (horizontal) */
    height: 5px;
    background: linear-gradient(to right, #a166ff, #ff6bff);
    border-top-left-radius: 10px;
}


    .aService p {
        font-size: 1rem;
        font-weight: bold;
        color: white;
        z-index: 2;
    }

    .aService.active {
        width: 320px;
        height: 380px;
        border-radius: 1.2em;
        background: rgba(255, 255, 255, 0.15);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        transform: scale(1.05);
        z-index: 2;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    .aService.active::before {
    background: linear-gradient(to right, #ff6bff,  #a166ff);
    }

    .carousel-btn, 
    .carousel-btn-Web {
        background: linear-gradient(135deg, #a166ff, #ff6bff);
        color: white;
        border: none;
        font-size: 1.8rem;
        width: 50px;
        height: 50px;
        cursor: pointer;
        border-radius: 50%;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .carousel-btn-Cell{
    display: none;
    }

    .carousel-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }

    .service-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        z-index: 2;
    }

    .service-icon {
        font-size: 3rem;
        color: #a166ff;
    }

    .service-title {
        font-size: 1.8rem;
        font-weight: bold;
        background: linear-gradient(to right, #a166ff, #ff6bff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    /* Por padrão: esconde o bloco de preço */
    .aService .priceArea {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.3s ease;
        padding: 0;
    }

    /* Quando ativo: exibe com suavidade */
    .aService.active .priceArea {
        max-height: 80px; /* Valor alto o suficiente para caber o conteúdo */
        opacity: 1;
        padding: .2em 0; 
    }

    .priceArea {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .textsInsideFromEachService {
        width: 80%;
        border-top: 2px solid #a166ff;
        margin: 0 auto 0.5em auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    p.serviceSubtitle {
        font-size: 1em;
        color: rgba(255, 255, 255, 0.9);
        padding-top: 0.4em;
        margin-top: 0.5em;
        width: 60%;
    }

    .prices {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.8em;
        margin-top: 0.5em;
    }

    p.ourPrice {
        font-size: 1.5em;
        font-weight: bold;
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    p.truePrice {
        font-size: 1.5em;
        font-weight: bold;
        color: rgba(255, 255, 255, 0.6);
        text-decoration: line-through;
    }

    .service-description {
        font-size: 1rem;
        opacity: 0.8;
        line-height: 1.2;
    }

    button.btnLerMais{
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;

        padding: 5px;
        border-radius: .4em;
        background: linear-gradient(135deg, #a166ff, #ff6bff);
        cursor: pointer;
        border: none;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }
    button.btnLerMais:hover{
        transform: scale(1.1);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }
    .aService.active .btnLerMais {
        opacity: 1;
        pointer-events: auto;
    }
    
    p.btnText{
        font-size: 1.15em;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

   /* Modal base - escondido por padrão */
    .modal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0, 0, 0, 0.6);
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
    }

    .modal.show {
        display: block;
        opacity: 1;
        pointer-events: auto;
    }

    .modal-content {
        background-color: #2b035d;
        padding: 20px;
        border-radius: 10px;
        width: 80%;
        max-width: 600px;
        color: white;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        text-align: center;

        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -60px);  /* Começa mais acima */
        opacity: 0;
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

    .modal.show .modal-content {
        transform: translate(-50%, -50%);   /* Vai para o centro certinho */
        opacity: 1;
    }

    .close {
        color: #fff;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

    .close:hover {
        color: #ccc;
    }

    #modal-description{
        margin-top: .8em;
        font-size: .93em;
        text-align: left;
    }

    .checklist {
        list-style: none;
        padding: 0;
        margin-top: .8em;
        text-align: left;
    }

    .checklist li {
        margin-bottom: 8px;
        display: flex;
        align-items: center;
    }

    .checklist .checkmark {
        color: #00ff99;
        margin-right: 8px;
        font-weight: bold;
    }    
}