/* ===========================
   Pages de présentation projet
   =========================== */

/* Breadcrumb */
.projet-breadcrumb {
    padding: 1rem 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
}

.projet-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-light);
}

.projet-breadcrumb a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.projet-breadcrumb a:hover {
    color: var(--primary-color);
}

.projet-breadcrumb .sep {
    color: var(--border-color);
}

.projet-breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;
}

/* Hero avec image en fond */
.projet-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: #0a0a0a;
}

.projet-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0.35;
}

.projet-hero .container {
    position: relative;
    z-index: 1;
    padding-bottom: 4rem;
    padding-top: 6rem;
}

.projet-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.projet-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1rem;
    color: #ffffff;
}

.projet-tagline {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.projet-hero-cta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.projet-hero-cta .btn-primary {
    background: var(--white);
    color: var(--text-dark);
}

.projet-hero-cta .btn-primary:hover {
    background: rgba(255,255,255,0.9);
}

/* Bande de méta-infos sous le hero */
.projet-meta-bar {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}

.projet-meta-bar .container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.projet-meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.projet-meta-item .label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.projet-meta-item .value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* Screenshot */
.projet-screenshot {
    padding: 4rem 0 0;
    background: var(--white);
}

.projet-screenshot img {
    width: 100%;
    display: block;
    border-radius: 12px 12px 0 0;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    border-bottom: none;
}

/* Contenu principal */
.projet-content {
    padding: 5rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.projet-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 5rem;
    align-items: start;
}

.projet-main h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    margin-top: 3rem;
    color: var(--text-dark);
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.projet-main h2:first-child {
    margin-top: 0;
}

.projet-main p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

/* Features sans emoji — liste avec tiret bleu */
.projet-features {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.projet-features li {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.projet-features li:last-child {
    border-bottom: none;
}

.projet-features li strong {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.projet-features li strong::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--primary-color);
    flex-shrink: 0;
    border-radius: 2px;
}

.projet-features li span {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    padding-left: 1.4rem;
}

/* Sidebar */
.projet-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.projet-info-card {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}

.projet-info-card h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.projet-info-card dl {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.projet-info-card .dl-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border-color);
}

.projet-info-card .dl-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.projet-info-card dt {
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 400;
    flex-shrink: 0;
}

.projet-info-card dd {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: right;
}

.projet-cta-card {
    background: var(--text-dark);
    border-radius: 10px;
    padding: 1.75rem;
    text-align: center;
}

.projet-cta-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.projet-cta-card .btn {
    background: var(--primary-color);
    color: white;
    width: 100%;
    border: none;
}

.projet-cta-card .btn:hover {
    background: var(--secondary-color);
}

/* CTA final */
.projet-visit {
    padding: 5rem 0;
    background: var(--text-dark);
    text-align: center;
}

.projet-visit h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.projet-visit p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    margin-bottom: 2rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* Responsive */
@media (max-width: 960px) {
    .projet-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .projet-sidebar {
        position: static;
    }

    .projet-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .projet-hero {
        min-height: 360px;
    }

    .projet-hero h1 {
        font-size: 2rem;
    }

    .projet-tagline {
        font-size: 1rem;
    }

    .projet-meta-bar .container {
        gap: 1.5rem;
    }
}
