/* TÍTULOS */

.projetos-section {
    padding: 80px 0;
}

.titulo-projetos {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 8px;
}

.subtitulo-projetos {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
}


/* WRAPPER (viewport do carrossel) */

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;

    overflow: hidden;          /* ✅ corte aqui (no viewport) */
    padding: 0 60px;           /* ✅ respiro pros cards não encostarem/cortarem */
}


/* SETAS */

.carousel-arrow {
    position: absolute;
    background: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10;
}

.carousel-arrow:hover {
    background: #f0f0f0;
}

/* ✅ sem valores negativos */
.carousel-arrow.left {
    left: 10px;
}

.carousel-arrow.right {
    right: 10px;
}


/* CARROSSEL (trilho que desliza) */

.projetos-carousel {
    display: flex;
    gap: 40px;

    overflow: visible;         /* ✅ não corta o último card */
    width: max-content;        /* ✅ trilho cresce conforme os cards */

    padding: 10px 6px;         /* ✅ respiro pra sombra/borda */
    will-change: transform;
    transition: transform .35s ease;
}


/* DOTS */

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 8px;
}

.carousel-dots .dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: .2s;
}

.carousel-dots .dot.active {
    background: #cb2525;
}


/* CARD */

.card-projeto {
    min-width: 380px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}


/* IMG */

.projeto-img {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.projeto-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* TAG */

.projeto-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #eef4ff;
    color: #1b5cff;
    padding: 6px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}


/* CONTEÚDO */

.projeto-conteudo {
    padding: 25px;
}

.card-projeto h3 {
    margin-top: 15px;
    font-size: 22px;
    font-weight: 700;
}

.card-projeto p {
    margin-top: 10px;
    color: #596178;
    line-height: 1.55;
}


/* FOOTER */

.projeto-footer {
    padding: 20px 25px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #38d37c;
}

.status.inativo .status-dot {
    background: #ff4d4d;
}


/* BOTÃO */

.btn-projeto {
    background: #cb2525;
    color: #fff;
    padding: 10px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
}

.btn-projeto:hover {
    background: #a81d1d;
}


/* OUTROS (mantive igual ao seu) */

.card {
    background: #fff;
    padding: 30px 35px;
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    margin: 0 auto 40px auto;
    width: 100%;
    max-width: 600px;
    transition: 0.3s ease;
}

.card-tabela {
    max-width: 700px;
    /* largura da tabela */
}
