/* CSS pour les pages de réalisations (ex: process_internes.html) */

/* --- Hero Section Spécifique --- */
.hero-realisation {
    background: linear-gradient(135deg, #1e2a5a 0%, #0f172a 100%);
    padding: 160px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-realisation h1 {
    font-size: 3rem;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-realisation__subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

.hero-realisation__meta {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.hero-realisation__meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

/* --- Layout Contenu --- */
.realisation-content {
    background-color: #fff;
    padding: 60px 0;
}

.realisation-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    /* Main content + Sidebar */
    gap: 60px;
}

@media (max-width: 992px) {
    .realisation-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Colonne Principale --- */
.case-study__section {
    margin-bottom: 4rem;
}

/* New block styles for better reading rhythm */
.block-highlight {
    background: #eff6ff;
    border-left: 4px solid var(--color-primary);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.block-highlight h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: var(--color-primary);
}

.block-before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.block-before,
.block-after {
    padding: 1.5rem;
    border-radius: 8px;
}

.block-before {
    background: #fef2f2;
    border: 1px solid #fee2e2;
}

.block-after {
    background: #ecfdf5;
    border: 1px solid #d1fae5;
}

.block-label {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.block-before .block-label {
    color: #ef4444;
}

.block-after .block-label {
    color: #10b981;
}

.case-study__section h2 {
    font-size: 1.8rem;
    color: #1e2a5a;
    margin-bottom: 1.5rem;
    /* Removed border-left to make it cleaner */
    font-weight: 800;
}

.case-study__section h3 {
    font-size: 1.4rem;
    color: #1e2a5a;
    /* Consistent Darker color */
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.case-study__section p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: #4b5563;
    font-size: 1.05rem;
}

/* --- Highlight Box (Résultats) Updated --- */
.results-box {
    background-color: #f0f9ff;
    border-radius: 12px;
    padding: 2.5rem;
    margin-top: 2rem;
    border: none;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.result-item strong {
    display: block;
    font-size: 3rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-weight: 800;
    line-height: 1;
}

.result-item span {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
}

/* --- Process Steps Visuel --- */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.process-step {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: transform 0.2s;
}

.process-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.process-step__icon {
    background-color: #eff6ff;
    color: var(--color-primary);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.process-step__content h4 {
    margin-bottom: 0.5rem;
    color: #1e2a5a;
    font-size: 1.1rem;
}

.process-step__content p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: #64748b;
}

/* --- Sidebar (Résumé) --- */
.sidebar-box {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-box h3 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #1e2a5a;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-list .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1px;
    font-weight: 700;
}

.info-list .value {
    font-size: 1rem;
    color: #334155;
    font-weight: 600;
}

/* --- Footer CTA spécifique --- */
.case-cta {
    margin-top: 6rem;
    text-align: center;
    padding: 3rem;
    background: #1e2a5a;
    border-radius: 16px;
    color: white;
}

.case-cta h3 {
    color: white;
    margin-top: 0;
}

.case-cta p {
    color: rgba(255, 255, 255, 0.8);
}