/* ==========================================================================
   Styles partagés des pages de services GCBTP
   (extrait/normalisé depuis les pages projet pour un rendu cohérent)
   ========================================================================== */

.project-hero {
    background: linear-gradient(135deg, #2255cd 0%, #1a5f7a 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.project-hero-content {
    position: relative;
    z-index: 2;
}

.project-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.92;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-details {
    padding: 80px 0;
    background: #f8f9fa;
}

/* Page de service : une seule colonne (pas de sidebar) */
.project-content {
    max-width: 1000px;
    margin: 0 auto;
}

.project-main {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.project-image {
    margin-bottom: 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-image img {
    width: 100%;
    height: 360px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.04);
}

.project-description h2 {
    color: #1a5f7a;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    position: relative;
}

.project-description h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #2255cd, #1a5f7a);
    border-radius: 2px;
}

.project-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.project-description h3 {
    color: #1a5f7a;
    font-size: 1.6rem;
    margin: 2.5rem 0 1.5rem;
}

.project-description ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.project-description li {
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
    line-height: 1.6;
    color: #555;
}

.project-description li:last-child {
    border-bottom: none;
}

.project-description a {
    color: #2255cd;
    font-weight: 600;
    text-decoration: none;
}

.project-description a:hover {
    text-decoration: underline;
}

.characteristics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.characteristic-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.characteristic-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.characteristic-item i {
    font-size: 2rem;
    color: #2255cd;
    min-width: 40px;
}

.characteristic-item div {
    display: flex;
    flex-direction: column;
}

.characteristic-item strong {
    color: #1a5f7a;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.characteristic-item span {
    color: #666;
    font-weight: 600;
    font-size: 1.05rem;
}

/* Bandeau d'appel à l'action en bas de page */
.project-description .cta-band {
    margin-top: 3rem;
    padding: 2.5rem;
    border-radius: 18px;
    background: linear-gradient(135deg, #2255cd 0%, #1a5f7a 100%);
    color: #fff;
}

.project-description .cta-band h3 {
    color: #fff;
    margin: 0 0 0.5rem;
}

.project-description .cta-band p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.project-description .cta-band .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .project-hero {
        padding: 100px 0 60px;
    }

    .project-hero h1 {
        font-size: 2.3rem;
    }

    .project-meta {
        flex-direction: column;
        align-items: center;
    }

    .project-main {
        padding: 1.8rem;
    }

    .project-image img {
        height: 240px;
    }
}
