/* ═══════════════════════════════════════
   HERO PROJETS
   ═══════════════════════════════════════ */
.projets-hero {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--midnight);
}
.projets-hero .section-title {
    margin-bottom: var(--space-sm);
}
.projets-hero p {
    font-size: 1rem;
    color: var(--soft-blue);
    max-width: 500px;
    line-height: 1.7;
}

/* ═══════════════════════════════════════
   FILTERS
   ═══════════════════════════════════════ */
.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: var(--space-md);
}
.filter-btn {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(124, 152, 179, 0.15);
    background: transparent;
    color: var(--soft-blue);
    transition: all 0.3s;
}
.filter-btn:hover {
    border-color: var(--golden);
    color: var(--golden);
}
.filter-btn.active {
    background: var(--golden);
    color: var(--midnight);
    border-color: var(--golden);
}

/* ═══════════════════════════════════════
   PROJETS GRID
   ═══════════════════════════════════════ */
.projets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: var(--space-lg);
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}

.projet-card {
    position: relative;
    background: var(--midnight);
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    overflow: visible;
    transition: background 0.3s, opacity 0.4s, transform 0.4s;
    opacity: 1;
    transform: scale(1);
}
.projet-card.hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}
.projet-card:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.projet-card:hover {
    background: rgba(27, 73, 101, 0.12);
}
.projet-card.featured {
    grid-column: span 2;
}

.projet-card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}
.projet-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.projet-card:hover .projet-card-img img {
    transform: scale(1.03);
}
.featured .projet-card-img {
    height: 280px;
}

.projet-card-content {
    padding: 1.5rem 1.75rem 2rem;
    position: relative;
    z-index: 2;
}
.projet-card-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--golden);
    margin-bottom: 0.5rem;
}
.projet-card-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
}
.projet-card-client {
    font-size: 0.82rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
}
.projet-card-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--golden);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.3s;
}
.projet-card:hover .projet-card-link {
    gap: 0.7rem;
}
.projet-card-result {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--soft-blue);
    background: rgba(27, 73, 101, 0.15);
    padding: 0.4rem 0.7rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    display: block;
    width: fit-content;
}
.projet-cta-card,
.projet-testimonial-card {
    background: rgba(27, 73, 101, 0.08) !important;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    min-height: 280px;
    display: flex;
}
.projet-cta-card {
    background: rgba(27, 73, 101, 0.12) !important;
}
.projet-card-link svg {
    width: 14px;
    height: 14px;
}

/* ═══════════════════════════════════════
   TESTIMONIALS (page projets)
   ═══════════════════════════════════════ */
.testimonials-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.testimonial-card {
    position: relative;
    background: var(--midnight);
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background 0.3s;
}
.testimonial-card:nth-child(even) { background: rgba(27, 73, 101, 0.08); }
.testimonial-card:hover { background: rgba(27, 73, 101, 0.12); }
.testimonial-quote {
    font-size: 0.9rem;
    color: var(--light-blue);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex: 1;
}
.testimonial-quote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--golden);
    line-height: 0.5;
    display: block;
    margin-bottom: 0.75rem;
}
.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249, 220, 92, 0.2);
    flex-shrink: 0;
}
.testimonial-info { flex: 1; min-width: 0; }
.testimonial-author { font-size: 0.82rem; font-weight: 700; color: var(--off-white); }
.testimonial-role { font-size: 0.72rem; color: var(--soft-blue); margin-top: 0.15rem; }

/* ═══════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════ */
.cta-section {
    text-align: center;
    padding: var(--space-xl) 0;
}
.cta-section .section-title {
    margin: 0 auto var(--space-md);
}

/* ═══════════════════════════════════════
   RESPONSIVE — PROJETS SPECIFIC
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .projets-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Testimonial LinkedIn button */
.testimonial-linkedin {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(124, 152, 179, 0.2);
    transition: border-color 0.3s, background 0.3s;
}
.testimonial-linkedin:hover {
    border-color: rgba(249, 220, 92, 0.4);
    background: rgba(249, 220, 92, 0.08);
}
.testimonial-linkedin svg {
    width: 16px;
    height: 16px;
    fill: var(--soft-blue);
    transition: fill 0.3s;
}
.testimonial-linkedin:hover svg {
    fill: var(--golden);
}

@media (max-width: 768px) {
    .projets-grid { grid-template-columns: 1fr; }
    .projet-card.featured { grid-column: auto; }

    .testimonials-strip { grid-template-columns: 1fr; }
}
