/* ===========================
   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 2 colonnes : texte gauche, image droite */
.projet-hero {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 5rem 0 0;
    overflow: hidden;
}

.projet-hero-bg {
    display: none;
}

.projet-hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-end;
}

.projet-hero-text {
    padding-bottom: 4rem;
}

.projet-hero-image {
    align-self: flex-end;
}

.projet-hero-image 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;
}

.projet-tag {
    display: inline-block;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.35rem 0.9rem;
    border-radius: 4px;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border-color);
}

.projet-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--text-dark);
    max-width: 700px;
}

.projet-tagline {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

/* Screenshot section (masquée — image intégrée dans le hero) */
.projet-screenshot {
    display: 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 .container {
        grid-template-columns: 1fr;
    }

    .projet-hero-image {
        display: none;
    }

    .projet-hero-text {
        padding-bottom: 3rem;
    }

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

@media (max-width: 600px) {
    .projet-hero {
        padding: 3rem 0 0;
    }

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

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

}
