/* =============================================
   Projetos em Destaque Carousel v4
   ============================================= */
.pdc { background:#F7F8FA; overflow:hidden; position:relative; }
.pdc *, .pdc *::before, .pdc *::after { box-sizing:border-box; }

/* ── MAIN LAYOUT ── */
.pdc {
    display: flex;
    align-items: stretch;
    max-width: 1440px;
    margin: 0 auto;
}

/* ── LEFT COLUMN ──
   KEY: has same background as section + z-index above carousel
   so slides can NEVER render behind/over the left content */
.pdc__left {
    width: 25%;
    min-width: 25%;
    flex-shrink: 0;
    background: #F7F8FA; /* matches section bg — blocks carousel from showing */
    position: relative;
    z-index: 5;
    padding-left: clamp(24px, 5vw, 80px);
}

.pdc__left-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    padding: 10px 40px 10px 0;
}

.pdc__top { flex: 1 1 auto; }

/* ── RIGHT COLUMN ──
   overflow:hidden clips LEFT side so slides don't bleed left
   but we let them bleed RIGHT via negative margin trick */
.pdc__right {
    flex: 1 1 0%;
    min-width: 0;
    overflow: hidden; /* THIS clips slides from going left into the left column */
    position: relative;
    z-index: 1;
}

/* The actual swiper needs overflow:visible so slides peek on the RIGHT edge */
.pdc-sw {
    overflow: visible !important;
    width: 100%;
    /* Push swiper slightly to make first card align properly */
}
.pdc-sw .swiper-wrapper { align-items:stretch; }
.pdc-sw .swiper-slide { height:auto; }

/* ── HEADING ── */
.pdc-h {
    font-family: 'Poppins','Segoe UI',Arial,sans-serif;
    font-size: clamp(28px,3vw,44px);
    font-weight: 800;
    line-height: 1.1;
    color: #1B1464;
    margin: 0 0 18px 0;
    padding: 0;
    letter-spacing: -0.3px;
}

/* ── DESCRIPTION ── */
.pdc-d {
    font-family: 'Poppins','Segoe UI',Arial,sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 26px 0;
    padding: 0;
    font-weight: 400;
}

/* ── CTA BUTTON ── */
.pdc-btn {
    display: inline-block;
    background: #F26522;
    color: #fff !important;
    font-family: 'Poppins',sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    padding: 13px 30px;
    border-radius: 30px;
    text-decoration: none !important;
    transition: background .3s, transform .2s;
    line-height: 1.2;
}
.pdc-btn:hover {
    background: #D4551A;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

/* ══════════════════════════════════════
   ARROWS — circular, proper icons
   ══════════════════════════════════════ */
.pdc__arrows {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 30px;
}

.pdc-arr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #1B1464;
    background: transparent;
    cursor: pointer;
    padding: 0;
    margin: 0;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
    transition: background .25s, border-color .25s;
    position: relative;
    z-index: 20;
    flex-shrink: 0;
    line-height: 0;
    color: #1B1464;
}
.pdc-arr:focus { outline:none !important; box-shadow:none !important; }
.pdc-arr svg { display:block; pointer-events:none; flex-shrink:0; }

/* Prev = outline + navy icon */
.pdc-arr--p { background:transparent; color:#1B1464; }
.pdc-arr--p:hover { background:rgba(27,20,100,.07); }

/* Next = filled navy + white icon */
.pdc-arr--n { background:#1B1464; border-color:#1B1464; color:#fff; }
.pdc-arr--n:hover { background:#2a2085; border-color:#2a2085; }

/* ══════════════════════════════════════
   CARD
   ══════════════════════════════════════ */
.pdc-card {
    display: block;
    position: relative;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    color: inherit;
}
.pdc-card:hover { text-decoration:none !important; }

.pdc-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform .5s ease;
}
.pdc-card:hover .pdc-card__bg { transform:scale(1.04); }

/* ══════════════════════════════════════
   INFO OVERLAY (green card)
   ══════════════════════════════════════ */
.pdc-ov {
    position: absolute;
    bottom: 20px;
    background: #A0B835;
    border-radius: 12px;
    padding: 20px 24px;
    width: 70%;
    z-index: 3;
    transition: transform .3s ease;
}
.pdc-ov--left   { left:20px; }
.pdc-ov--center { left:50%; transform:translateX(-50%); }
.pdc-ov--right  { right:20px; }

.pdc-card:hover .pdc-ov--left,
.pdc-card:hover .pdc-ov--right { transform:translateY(-3px); }
.pdc-card:hover .pdc-ov--center { transform:translateX(-50%) translateY(-3px); }

/* Badge / Tag */
.pdc-badge {
    display: inline-block;
    background: rgba(255,255,255,.25);
    color: #fff;
    font-family: 'Poppins',sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Title */
.pdc-ct {
    font-family: 'Poppins',sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #1A1A1A;
    margin: 0 0 8px 0;
    line-height: 1.25;
}

/* Excerpt */
.pdc-ce {
    font-family: 'Poppins',sans-serif;
    font-size: 12.5px;
    line-height: 1.55;
    color: #333;
    margin: 0 0 14px 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Read More */
.pdc-lnk {
    display: inline-block;
    background: #1A1A1A;
    color: #fff !important;
    font-family: 'Poppins',sans-serif;
    font-size: 12px;
    font-weight: 600;
    padding: 9px 22px;
    border-radius: 6px;
    text-decoration: none !important;
    transition: background .3s;
    line-height: 1;
    cursor: pointer;
}
.pdc-lnk:hover { background:#333; color:#fff !important; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width:1024px) {
    .pdc {
        flex-direction: column;
    }
    .pdc__left {
        width: 100% !important;
        min-width: 100% !important;
        padding-left: clamp(20px,5vw,40px);
        padding-right: clamp(20px,5vw,40px);
        padding-bottom: 20px;
    }
    .pdc__left-inner {
        padding-right: 0;
    }
    .pdc__arrows { padding-top:20px; }
    .pdc__right {
        width: 100%;
        padding-left: clamp(20px,5vw,40px);
    }
}

@media (max-width:767px) {
    .pdc-h { font-size:28px; }
    .pdc-d { font-size:13px; }
    .pdc-card { height:400px; }
    .pdc-ov { width:88%!important; padding:16px 18px; bottom:14px; }
    .pdc-ct { font-size:17px; }
    .pdc-ce { font-size:11.5px; -webkit-line-clamp:2; }
    .pdc-arr { width:40px; height:40px; }
    .pdc-arr svg { width:16px; height:16px; }
}
