/* ═══════════════════════════════════════
   BREADCRUMB
   ═══════════════════════════════════════ */
.projet-breadcrumb {
    display: flex;
    gap: 0.4rem;
    font-size: 0.72rem;
    margin-bottom: var(--space-md);
}
.projet-breadcrumb a {
    color: var(--soft-blue);
    transition: color 0.3s;
}
.projet-breadcrumb a:hover {
    color: var(--golden);
}
.projet-breadcrumb .sep {
    color: var(--soft-blue);
    opacity: 0.4;
}
.projet-breadcrumb .current {
    color: var(--off-white);
    opacity: 0.7;
}

/* ═══════════════════════════════════════
   PROJET DETAIL — HERO
   ═══════════════════════════════════════ */
.projet-detail-hero {
    padding: var(--space-2xl) 0 var(--space-lg);
    background: var(--midnight);
}
.projet-detail-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--golden);
    margin-bottom: var(--space-xs);
}
.projet-detail-hero h1 {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    max-width: 700px;
    margin-bottom: var(--space-sm);
}
.projet-detail-client {
    font-size: 0.95rem;
    color: var(--soft-blue);
    margin-bottom: var(--space-md);
}
.projet-detail-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}
.projet-detail-cover {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(124, 152, 179, 0.1);
}
.projet-detail-cover img {
    width: 100%;
    height: auto;
    display: block;
}

/* ═══════════════════════════════════════
   KEY FACTS
   ═══════════════════════════════════════ */
.projet-facts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.projet-fact {
    position: relative;
    text-align: center;
    padding: 1.5rem 1rem;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    overflow: visible;
    flex: 1 1 0;
    min-width: 160px;
}
.projet-fact:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.projet-fact-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--golden);
    margin-bottom: 0.3rem;
}
.projet-fact-value {
    font-size: 0.9rem;
    color: var(--off-white);
    font-weight: 600;
}

/* ═══════════════════════════════════════
   CONTENT SECTIONS
   ═══════════════════════════════════════ */
.projet-section {
    max-width: 740px;
    margin: 0 auto;
}
.projet-section h2 {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}
.projet-section h2 em {
    font-family: var(--font-display);
    font-style: normal;
    color: var(--golden);
    font-weight: 400;
    font-size: 1.1em;
}
.projet-section p {
    font-size: 0.95rem;
    color: var(--light-blue);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}
.projet-section strong {
    color: var(--off-white);
    font-weight: 600;
}
.projet-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.25rem;
}
.projet-section li {
    font-size: 0.95rem;
    color: var(--light-blue);
    line-height: 1.7;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.projet-section li::before {
    content: '✓';
    color: var(--golden);
    font-weight: 700;
    flex-shrink: 0;
}

/* ═══════════════════════════════════════
   PROJECT TIMELINE
   ═══════════════════════════════════════ */
.projet-timeline-list {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    position: relative;
    padding-left: 2.5rem;
}
.projet-timeline-list::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(124, 152, 179, 0.15);
}
.projet-timeline-item {
    position: relative;
    padding-bottom: 2rem;
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.projet-timeline-item.visible {
    opacity: 1;
    transform: none;
}
.projet-timeline-item:last-child {
    padding-bottom: 0;
}
.projet-timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 6px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--midnight);
    border: 2px solid rgba(249, 220, 92, 0.2);
    z-index: 1;
    transition: border-color 0.6s, background 0.6s;
}
.projet-timeline-item.visible::before {
    border-color: rgba(249, 220, 92, 0.5);
}
.projet-timeline-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}
.projet-timeline-item p {
    font-size: 0.88rem;
    color: var(--soft-blue);
    line-height: 1.6;
}

/* ═══════════════════════════════════════
   RESULTS CARDS
   ═══════════════════════════════════════ */
.projet-results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
    margin-top: var(--space-md);
}
.projet-result-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    overflow: visible;
}
.projet-result-card:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.projet-result-num {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--golden);
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
}
.projet-result-label {
    font-size: 0.78rem;
    color: var(--soft-blue);
}

/* ═══════════════════════════════════════
   TOOLS & METHODS
   ═══════════════════════════════════════ */
.projet-tools-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
    margin-top: var(--space-md);
}
.projet-tool {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem 2rem;
    min-width: 140px;
    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;
}
.projet-tool:hover {
    background: rgba(27, 73, 101, 0.08);
}
.projet-tool img {
    height: 40px;
    width: auto;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 6px 10px;
}
.projet-tool span {
    font-size: 0.72rem;
    color: var(--soft-blue);
}

/* ═══════════════════════════════════════
   TESTIMONIAL
   ═══════════════════════════════════════ */
.projet-testimonial {
    position: relative;
    max-width: 740px;
    margin: var(--space-lg) auto 0;
    background: rgba(27, 73, 101, 0.08);
    border: 1px solid rgba(124, 152, 179, 0.1);
    padding: 2rem;
    overflow: visible;
    transition: background 0.3s;
}
.projet-testimonial:hover {
    background: rgba(27, 73, 101, 0.15);
}
.projet-testimonial-quote {
    font-size: 0.9rem;
    color: var(--light-blue);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.projet-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;
}
.projet-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.projet-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(249, 220, 92, 0.2);
    flex-shrink: 0;
}
.projet-testimonial-info { flex: 1; min-width: 0; }
.projet-testimonial-author { font-size: 0.82rem; font-weight: 700; color: var(--off-white); }
.projet-testimonial-role { font-size: 0.72rem; color: var(--soft-blue); margin-top: 0.15rem; }
.projet-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;
}
.projet-testimonial-linkedin:hover {
    border-color: rgba(249, 220, 92, 0.4);
    background: rgba(249, 220, 92, 0.08);
}
.projet-testimonial-linkedin svg {
    width: 16px;
    height: 16px;
    fill: var(--soft-blue);
    transition: fill 0.3s;
}
.projet-testimonial-linkedin:hover svg {
    fill: var(--golden);
}

/* ═══════════════════════════════════════
   PROJECT IMAGES
   ═══════════════════════════════════════ */
.projet-images-grid {
    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);
}
.projet-image-item {
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
    overflow: hidden;
}
.projet-image-item img {
    width: 100%;
    height: auto;
    display: block;
}
@media (max-width: 768px) {
    .projet-images-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════
   CTA
   ═══════════════════════════════════════ */
.projet-detail-cta {
    text-align: center;
    padding: var(--space-xl) 0;
}
.projet-detail-cta .section-title {
    margin: 0 auto var(--space-md);
}
.projet-detail-cta .btn-sub {
    font-size: 0.82rem;
    color: var(--soft-blue);
    margin-top: 0.75rem;
}

/* ═══════════════════════════════════════
   RELATED PROJECTS
   ═══════════════════════════════════════ */
.projet-related-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);
}

/* ═══════════════════════════════════════
   RELATED PROJECT CARDS
   ═══════════════════════════════════════ */
.projet-related-card {
    position: relative;
    display: block;
    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;
    text-decoration: none;
    color: inherit;
}
.projet-related-card:nth-child(even) {
    background: rgba(27, 73, 101, 0.08);
}
.projet-related-card:hover {
    background: rgba(27, 73, 101, 0.12);
}
.projet-related-img {
    width: 100%;
    height: 200px;
    overflow: hidden;
}
.projet-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1);
}
.projet-related-card:hover .projet-related-img img {
    transform: scale(1.03);
}
.projet-related-content {
    padding: 1.5rem 1.75rem 2rem;
    position: relative;
    z-index: 2;
}
.projet-related-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--golden);
    margin-bottom: 0.5rem;
}
.projet-related-content h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
    letter-spacing: -0.02em;
    color: var(--off-white);
}
.projet-related-client {
    font-size: 0.82rem;
    color: var(--soft-blue);
    margin-bottom: 1rem;
}
.projet-related-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-related-card:hover .projet-related-link {
    gap: 0.7rem;
}

/* ═══════════════════════════════════════
   OVERFLOW for corner-plus
   ═══════════════════════════════════════ */
section:has(.projet-facts),
section:has(.projet-results-grid),
section:has(.projet-tools-grid),
section:has(.projet-testimonial),
section:has(.projet-related-grid) {
    overflow: visible;
    overflow-x: clip;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 1024px) {
    .projet-fact { flex: 1 1 calc(50% - 0px); }
    .projet-results-grid { grid-template-columns: repeat(2, 1fr); }
    .projet-related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .projet-fact { flex: 1 1 100%; }
    .projet-results-grid { grid-template-columns: 1fr; }
    .projet-related-grid { grid-template-columns: 1fr; }
    .projet-tools-grid { justify-content: flex-start; }
    .projet-tool { min-width: 100px; }
    .projet-detail-actions { flex-direction: column; }
}

/* ═══════════════════════════════════════
   PHOTOS MASONRY (reused from about page)
   ═══════════════════════════════════════ */
section:has(.about-masonry) {
    overflow: visible;
    overflow-x: clip;
}
.about-masonry {
    columns: 3;
    column-gap: 0;
    border-left: 1px solid rgba(124, 152, 179, 0.1);
    border-top: 1px solid rgba(124, 152, 179, 0.1);
}
.about-masonry-item {
    break-inside: avoid;
    position: relative;
    overflow: visible;
    border-right: 1px solid rgba(124, 152, 179, 0.1);
    border-bottom: 1px solid rgba(124, 152, 179, 0.1);
}
.about-masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    overflow: hidden;
}
@media (max-width: 1024px) {
    .about-masonry { columns: 2; }
}
@media (max-width: 768px) {
    .about-masonry { columns: 1; }
}

/* ═══════════════════════════════════════
   BLOCKQUOTES (same style as blog)
   ═══════════════════════════════════════ */
.projet-section blockquote {
    position: relative;
    border-left: none;
    padding: 2rem 2rem 1.5rem;
    margin: var(--space-sm) 0;
    background: rgba(27, 73, 101, 0.08);
    border: 1px solid rgba(124, 152, 179, 0.1);
}
.projet-section blockquote::before {
    content: '\201C';
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--golden);
    line-height: 0.5;
    display: block;
    margin-bottom: 1rem;
}
.projet-section blockquote p {
    color: var(--off-white);
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}
.projet-section blockquote cite {
    font-size: 0.78rem;
    color: var(--soft-blue);
    font-style: normal;
    display: block;
    margin-top: 0.5rem;
}

/* ═══════════════════════════════════════
   TABLES (same style as blog)
   ═══════════════════════════════════════ */
.projet-section .table-wrapper {
    overflow-x: auto;
    margin: var(--space-md) 0;
    -webkit-overflow-scrolling: touch;
}
.projet-section table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.88rem;
}
.projet-section thead {
    border-bottom: 2px solid rgba(249, 220, 92, 0.2);
}
.projet-section th {
    text-align: left;
    padding: 0.85rem 1rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--golden);
}
.projet-section td {
    padding: 0.85rem 1rem;
    color: var(--light-blue);
    border-bottom: 1px solid rgba(124, 152, 179, 0.08);
}
.projet-section tbody tr:hover {
    background: rgba(27, 73, 101, 0.08);
}
