/**
 * Conclusion Card - Version Horizontale Compacte
 * 
 * Design brutal mais plus fin et discret
 */

:root {
    --font-mono: 'Courier New', monospace;
    --ink: #000;
    --gray: #f5f5f5;
}

/* Container principal - Plus compact */
.conclusion-card {
    border: 3px solid var(--ink);
    border-left: none;
    border-right: none;
    padding: 2rem 5%;
    background: #fff;
    margin: 3rem 0;
}

/* Header compact */
.conclusion-header {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

/* Titre */
.conclusion-title {
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0 0 0.5rem 0;
    letter-spacing: 1px;
}

/* Texte principal */
.conclusion-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
    opacity: 0.7;
    max-width: 600px;
}

/* Container des steps - Horizontal */
.steps-flow {
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

/* Scrollbar custom (optionnel) */
.steps-flow::-webkit-scrollbar {
    height: 6px;
}

.steps-flow::-webkit-scrollbar-track {
    background: var(--gray);
}

.steps-flow::-webkit-scrollbar-thumb {
    background: var(--ink);
}

/* Step box */
.step-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: var(--gray);
    border: 2px solid var(--ink);
    min-width: 160px;
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.step-box:hover {
    transform: translateY(-2px);
    box-shadow: 3px 3px 0 var(--ink);
}

/* Emoji */
.step-emoji {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
    flex-shrink: 0;
}

/* Texte de l'étape */
.step-text {
    flex: 1;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Flèche entre les steps */
.arrow-separator {
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0 0.75rem;
    flex-shrink: 0;
    color: var(--ink);
}

/* Responsive tablette */
@media (max-width: 1024px) {
    .step-box {
        min-width: 140px;
        padding: 0.6rem 0.8rem;
    }

    .step-text {
        font-size: 0.8rem;
    }
}

/* Responsive mobile */
@media (max-width: 768px) {
    .conclusion-card {
        padding: 1.5rem 1rem;
        margin: 2rem 0;
    }

    .conclusion-title {
        font-size: 0.9rem;
    }

    .conclusion-text {
        font-size: 0.85rem;
    }

    .steps-flow {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .step-box {
        min-width: auto;
        width: 100%;
    }

    .arrow-separator {
        transform: rotate(90deg);
        padding: 0.5rem 0;
    }
}

/* Animation légère d'apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-box {
    animation: fadeIn 0.4s ease backwards;
}

.step-box:nth-child(1) { animation-delay: 0.1s; }
.step-box:nth-child(2) { animation-delay: 0.15s; }
.step-box:nth-child(3) { animation-delay: 0.2s; }
.step-box:nth-child(4) { animation-delay: 0.25s; }
.step-box:nth-child(5) { animation-delay: 0.3s; }
.step-box:nth-child(6) { animation-delay: 0.35s; }
.step-box:nth-child(7) { animation-delay: 0.4s; }
.step-box:nth-child(8) { animation-delay: 0.45s; }
.step-box:nth-child(9) { animation-delay: 0.5s; }
.step-box:nth-child(10) { animation-delay: 0.55s; }
