:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1c2528;background:#f4f5f2;line-height:1.5}.container{max-width:900px;margin:auto;padding:28px 18px 70px}.hero{padding:18px 4px 24px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:.78rem;font-weight:700;color:#65716d}.hero h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.04;margin:.2em 0}.notice,.success{border-left:4px solid #55635d;background:#fff;padding:14px 16px;border-radius:7px;margin-top:18px}.success{border-color:#2d6a4f}.card{background:#fff;border:1px solid #dde1dc;border-radius:14px;padding:24px;margin:18px 0;box-shadow:0 3px 15px rgba(0,0,0,.035)}.card h2{margin-top:0}.section-intro{color:#5c6763}.question{padding:20px 0;border-top:1px solid #eceeeb}.question:first-of-type{border-top:0}.q-label{font-weight:650;display:block;margin-bottom:10px}textarea{box-sizing:border-box;width:100%;border:1px solid #bdc4c0;border-radius:9px;padding:12px;font:inherit;resize:vertical;min-height:100px}.options{display:flex;flex-wrap:wrap;gap:9px}.options label span,.checks label{display:inline-block;border:1px solid #cdd3cf;border-radius:999px;padding:8px 12px;background:#fafbf9}.options input{position:absolute;opacity:0}.options input:checked+span{background:#22302b;color:#fff;border-color:#22302b}.checks{display:flex;flex-wrap:wrap;gap:8px}.scale label span{min-width:22px;text-align:center}.scale-legend{display:flex;justify-content:space-between;font-size:.8rem;color:#6f7774;margin-top:6px}.progress-wrap{position:sticky;top:0;z-index:5;background:rgba(244,245,242,.95);backdrop-filter:blur(7px);display:grid;grid-template-columns:1fr auto auto;gap:10px;align-items:center;padding:11px 0}.progress{height:8px;background:#dce1dd;border-radius:10px;overflow:hidden}.progress span{display:block;height:100%;width:0;background:#273a32;transition:width .2s}.save-status{font-size:.85rem;color:#6c7571}.saved{color:#2d6a4f}.error{color:#9d2d2d}.missing{outline:2px solid #b34b4b;outline-offset:5px;border-radius:5px}.primary,.button{border:0;background:#22302b;color:#fff;padding:11px 16px;border-radius:9px;font:inherit;font-weight:650;cursor:pointer;text-decoration:none;display:inline-block}.button.secondary{background:#e7ebe8;color:#1c2528}.admin-nav{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;background:#fff}th,td{text-align:left;vertical-align:top;padding:12px;border-bottom:1px solid #e4e7e4}th{font-size:.85rem;color:#59635f}.divergence td{background:#fff5dd}.answer-text{white-space:pre-wrap;max-width:55ch}.login{max-width:440px;margin:12vh auto}.login input{box-sizing:border-box;width:100%;padding:11px;border:1px solid #bbc4bf;border-radius:8px;margin:8px 0 15px}@media(max-width:600px){.container{padding:18px 12px 50px}.card{padding:17px}.progress-wrap{grid-template-columns:1fr auto}.save-status{grid-column:1/-1}.options{display:grid;grid-template-columns:1fr}.options label span{display:block}}
@media print{body{background:#fff}.admin-nav,.primary,.button{display:none}.container{max-width:none;padding:0}.card{box-shadow:none;break-inside:avoid}}

.site-logo{text-align:center;margin:4px 0 18px}
.site-logo img{display:inline-block;width:110px;max-width:28vw;height:auto}
@media(max-width:600px){.site-logo img{width:85px;max-width:28vw}}

.site-logo{text-align:center;margin:4px 0 18px}
.site-logo img{display:inline-block;width:110px;max-width:28vw;height:auto}
@media(max-width:600px){.site-logo img{width:85px;max-width:28vw}}

/* Logo Sentiers Narratifs */
.site-logo {
    text-align: center;
    margin: 4px 0 18px;
}
.site-logo img {
    display: inline-block;
    width: 110px;
    max-width: 28vw;
    height: auto;
}
@media (max-width:600px) {
    .site-logo img {
        width: 85px;
        max-width: 28vw;
    }
}

/* =========================================================
   CANDIDATURE — BARRE DE SUIVI
   ========================================================= */

.candidate-progress {
    margin: 18px 0 28px;
    padding: 18px 20px;

    background: linear-gradient(135deg,#ffffff,#f6f5ff);
    border: 1px solid #e8e6f5;
    border-radius: 18px;

    box-shadow: 0 8px 25px rgba(65,57,128,.06);
}

.candidate-progress-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;

    margin-bottom: 14px;
}

.candidate-progress-head strong {
    color: #292747;
    font-size: .98rem;
}

.candidate-progress-head span {
    color: #79778d;
    font-size: .78rem;
    font-weight: 700;
}

.candidate-progress-line {
    position: relative;

    height: 6px;
    margin: 0 19px 16px;

    background: #e6e5ee;
    border-radius: 999px;

    overflow: hidden;
}

.candidate-progress-fill {
    height: 100%;

    background: linear-gradient(
        90deg,
        #6558d3,
        #55c7d3
    );

    border-radius: 999px;

    transition: width .3s ease;
}

.candidate-progress-steps {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 8px;
}

.candidate-progress-step {
    min-width: 0;
    text-align: center;
}

.candidate-progress-dot {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 31px;
    height: 31px;

    margin: 0 auto 7px;

    border-radius: 50%;

    font-size: .78rem;
    font-weight: 800;
}

.candidate-progress-step.future .candidate-progress-dot {
    background: #efeff4;
    color: #9b9baa;
}

.candidate-progress-step.current .candidate-progress-dot {
    background: #6558d3;
    color: white;

    box-shadow: 0 0 0 5px rgba(101,88,211,.10);
}

.candidate-progress-step.done .candidate-progress-dot {
    background: #dff5eb;
    color: #20815d;
}

.candidate-progress-label strong {
    display: block;

    color: #3b3a50;

    font-size: .72rem;
    line-height: 1.25;
}

.candidate-progress-label span {
    display: block;

    max-width: 145px;
    margin: 3px auto 0;

    color: #9492a1;

    font-size: .62rem;
    line-height: 1.3;
}

.candidate-progress-step.current .candidate-progress-label strong {
    color: #5549bd;
}

.candidate-progress-step.future .candidate-progress-label {
    opacity: .65;
}

@media(max-width:700px) {

    .candidate-progress {
        padding: 16px;
    }

    .candidate-progress-line {
        display: none;
    }

    .candidate-progress-steps {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }

    .candidate-progress-step {
        display: flex;
        align-items: center;
        gap: 10px;

        padding: 7px 8px;

        text-align: left;

        border-radius: 10px;
    }

    .candidate-progress-step.current {
        background: #f0eeff;
    }

    .candidate-progress-dot {
        flex: 0 0 31px;

        margin: 0;
    }

    .candidate-progress-label strong,
    .candidate-progress-label span {
        text-align: left;
    }

    .candidate-progress-label span {
        max-width: none;
        margin: 2px 0 0;
    }
}

