/* ==========================================================
   NAPSIA – compléments Magazine & Test Excel (2026-09)
   Couleurs du site : turquoise #35d8cc, jaune #fbc400,
   violet #ca9df7, beige #f4f4ef
   ========================================================== */

/* ---------- Corps des articles : typographie homogène ---------- */
.c-actu__text,
.c-actu__text p,
.c-actu__text li,
.c-actu__faq,
.c-actu__faq p {
    font-family: poppins, sans-serif;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    color: #1d1d1b;
}
.c-actu__text p + p,
.c-actu__text p + ul,
.c-actu__text p + ol,
.c-actu__text ul + p,
.c-actu__text ol + p { margin-top: 14px; }
.c-actu__text strong { font-weight: 600; }

/* Chaque section = un encadré */
.c-actu__text {
    background: #f4f4ef;
    border-radius: 2.4rem;
    border-left: 6px solid #35d8cc;
    padding: 28px 32px;
    margin-bottom: 56px;
}
.c-actu__subtitle {
    font-size: 26px;
    line-height: 1.25;
    margin-bottom: 20px;
}

/* Listes */
.c-actu__text ul li {
    list-style: none;
    position: relative;
    padding-left: 26px;
    margin: 8px 0;
}
.c-actu__text ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #35d8cc;
}
.c-actu__text ol { counter-reset: napsia-ol; }
.c-actu__text ol li {
    list-style: none;
    counter-increment: napsia-ol;
    position: relative;
    padding-left: 42px;
    margin: 12px 0;
}
.c-actu__text ol li::before {
    content: counter(napsia-ol);
    position: absolute;
    left: 0;
    top: 1px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #35d8cc;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    line-height: 28px;
    text-align: center;
}

/* Formules / code */
.c-actu__text code {
    display: inline-block;
    font-family: Menlo, Consolas, monospace;
    font-size: 15px;
    background: #fff;
    border: 1px solid #b8f1ed;
    border-radius: 8px;
    padding: 2px 10px;
    color: #0e6f68;
    word-break: break-word;
}

/* Encadré « à retenir » utilisable dans un texte */
.c-actu__text .encadre {
    background: #fff;
    border: 2px solid #fbc400;
    border-radius: 1.6rem;
    padding: 18px 22px;
    margin-top: 18px;
}

/* ---------- FAQ : questions en accordéon ---------- */
.c-actu__faq { display: flex; flex-direction: column; gap: 14px; }
.c-actu__faq details {
    background: #fff;
    border: 2px solid #b8f1ed;
    border-radius: 1.8rem;
    overflow: hidden;
    transition: border-color .2s ease;
}
.c-actu__faq details[open] { border-color: #35d8cc; }
.c-actu__faq summary {
    list-style: none;
    cursor: pointer;
    position: relative;
    padding: 18px 60px 18px 24px;
    font-family: poppins, sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #1d1d1b;
}
.c-actu__faq summary::-webkit-details-marker { display: none; }
.c-actu__faq summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #35d8cc;
    color: #fff;
    font-size: 22px;
    font-weight: 500;
    line-height: 30px;
    text-align: center;
}
.c-actu__faq details[open] summary::after { content: "–"; }
.c-actu__faq details p {
    margin: 0;
    padding: 0 24px 20px;
    font-size: 16px;
    line-height: 1.65;
}

@media (max-width: 767px) {
    .c-actu__text { padding: 20px 18px; border-radius: 1.6rem; }
    .c-actu__text, .c-actu__text p, .c-actu__text li { font-size: 16px; }
    .c-actu__subtitle { font-size: 22px; }
    .c-actu__faq summary { font-size: 16px; padding: 16px 56px 16px 18px; }
    .c-actu__faq details p { font-size: 15px; padding: 0 18px 18px; }
}

/* ---------- Bloc d'appel vers le test ---------- */
.c-actu__text .cta-test {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #35d8cc;
    color: #fff;
    border-radius: 2rem;
    padding: 22px 26px;
    margin-top: 6px;
}
.c-actu__text .cta-test p { color: #fff; margin: 0; font-weight: 500; }
.c-actu__text .cta-test a {
    background: #fff;
    color: #0e6f68;
    text-decoration: none;
    font-weight: 700;
    border-radius: 3rem;
    padding: 12px 26px;
    white-space: nowrap;
}

/* ==========================================================
   Test Excel
   ========================================================== */
.qz-page { padding-top: 16rem; padding-bottom: 8rem; }
.qz-wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; font-family: poppins, sans-serif; color: #1d1d1b; }
.qz-kicker { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #0e9c92; margin: 0 0 10px; }
.qz-h1 { font-family: poppins, sans-serif; font-weight: 700; font-size: 44px; line-height: 1.15; color: #35d8cc; margin: 0 0 18px; }
.qz-lead { font-size: 18px; line-height: 1.6; font-weight: 400; margin: 0 0 36px; }
.qz-h2 { font-family: poppins, sans-serif; font-weight: 700; font-size: 24px; line-height: 1.3; margin: 0 0 16px; color: #1d1d1b; }
.qz-card { background: #fff; border: 2px solid #b8f1ed; border-radius: 2.4rem; padding: 32px; margin-bottom: 24px; box-shadow: 0 10px 30px rgba(53,216,204,.10); }
.qz p { margin: 0; }
.qz-list { margin: 18px 0 26px; padding: 0; }
.qz-list li { list-style: none; position: relative; padding-left: 26px; margin: 10px 0; font-size: 16px; line-height: 1.55; }
.qz-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 9px; height: 9px; border-radius: 50%; background: #35d8cc; }
.qz-list--check li::before { content: "✓"; width: auto; height: auto; background: none; color: #35d8cc; font-weight: 700; top: 0; left: 0; }
.qz-btn { display: inline-flex; align-items: center; justify-content: center; border: 2px solid #35d8cc; background: #35d8cc; color: #fff; font-family: poppins, sans-serif; font-weight: 600; font-size: 16px; border-radius: 3rem; padding: 14px 34px; cursor: pointer; text-decoration: none; transition: all .2s ease; }
.qz-btn:hover { background: #fff; color: #0e9c92; }
.qz-btn[disabled] { opacity: .6; cursor: wait; }
.qz-btn--ghost { background: #fff; color: #0e9c92; }
.qz-btn--ghost:hover { background: #35d8cc; color: #fff; }
.qz-link { background: none; border: 0; font-family: poppins, sans-serif; font-size: 15px; color: #555; cursor: pointer; padding: 8px 4px; text-decoration: underline; }
.qz-link.is-selected { color: #0e9c92; font-weight: 600; }

.qz-start__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.qz-pill { background: #f4f4ef; border-radius: 1.8rem; padding: 18px; text-align: center; }
.qz-pill strong { display: block; font-size: 28px; color: #35d8cc; }
.qz-pill span { font-size: 14px; }

.qz-progress { height: 8px; background: #e5f9f8; border-radius: 8px; overflow: hidden; margin-bottom: 14px; }
.qz-progress__bar { height: 100%; background: #35d8cc; border-radius: 8px; transition: width .3s ease; }
.qz-meta { display: flex; justify-content: space-between; align-items: center; font-size: 14px; color: #666; margin-bottom: 20px; }
.qz-chip { background: #feeaa5; color: #1d1d1b; border-radius: 2rem; padding: 4px 14px; font-weight: 600; font-size: 13px; }
.qz-q { font-size: 22px; font-weight: 600; line-height: 1.45; margin-bottom: 22px !important; }
.qz-table { border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.qz-table th, .qz-table td { border: 1px solid #cfd8d7; padding: 6px 18px; text-align: left; }
.qz-table th { background: #e5f9f8; font-weight: 600; }
.qz-opts { display: flex; flex-direction: column; gap: 12px; }
.qz-opt { display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; background: #f4f4ef; border: 2px solid transparent; border-radius: 1.6rem; padding: 14px 18px; font-family: poppins, sans-serif; font-size: 16px; font-weight: 500; line-height: 1.45; color: #1d1d1b; cursor: pointer; transition: all .15s ease; }
.qz-opt:hover { border-color: #35d8cc; background: #fff; }
.qz-opt.is-selected { border-color: #35d8cc; background: #e5f9f8; }
.qz-opt__l { flex: 0 0 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid #35d8cc; color: #0e9c92; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.qz-opt.is-selected .qz-opt__l { background: #35d8cc; color: #fff; }
.qz-nav { display: flex; justify-content: space-between; margin-top: 18px; }

.qz-result { text-align: center; background: #f4f4ef; border-color: #f4f4ef; }
.qz-level { font-size: 34px; line-height: 1.2; margin: 6px 0 8px !important; }
.qz-level strong { color: #0e9c92; }
.qz-score { font-size: 16px; color: #444; margin-bottom: 22px !important; }
.qz-gauge { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.qz-gauge__step { background: #fff; border-radius: 1rem; padding: 10px 4px; font-size: 13px; font-weight: 600; color: #999; }
.qz-gauge__step.is-on { background: #b8f1ed; color: #0e6f68; }
.qz-gauge__step.is-cur { background: #35d8cc; color: #fff; }

.qz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.qz-field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.qz-field--full { margin-top: 16px; }
.qz-field input, .qz-field select, .qz-field textarea { width: 100%; box-sizing: border-box; font-family: poppins, sans-serif; font-size: 16px; color: #1d1d1b; background: #f4f4ef; border: 2px solid #f4f4ef; border-radius: 1.2rem; padding: 12px 14px; outline: none; -webkit-appearance: none; appearance: none; }
.qz-field select { background-image: linear-gradient(45deg, transparent 50%, #35d8cc 50%), linear-gradient(135deg, #35d8cc 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.qz-field input:focus, .qz-field select:focus, .qz-field textarea:focus { border-color: #35d8cc; background-color: #fff; }
.qz-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 1.5; margin-top: 16px; cursor: pointer; }
.qz-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #35d8cc; flex: 0 0 18px; }
.qz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.qz-error { background: #fff4f4; border: 2px solid #f3b4b4; color: #a12626; border-radius: 1.2rem; padding: 12px 16px; margin-top: 16px !important; font-size: 15px; }
.qz-form .qz-btn { margin-top: 22px; }
.qz-small { font-size: 13px; color: #666; margin-top: 14px !important; line-height: 1.5; }

.qz-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.qz-box h3 { font-size: 20px; font-weight: 700; margin: 0; }
.qz-box--ok { border-color: #35d8cc; }
.qz-box--ko { border-color: #fbc400; }
.qz-box--ko .qz-list li::before { background: #fbc400; }
.qz-reco { border-color: #fbc400; }
.qz-goal { font-weight: 600; color: #0e9c92; font-size: 17px; }
.qz-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 22px; }
.qz-corrs { display: flex; flex-direction: column; gap: 10px; }
.qz-corr { border: 2px solid #eee; border-radius: 1.4rem; }
.qz-corr.is-ok { border-color: #b8f1ed; }
.qz-corr.is-ko { border-color: #feeaa5; }
.qz-corr summary { list-style: none; cursor: pointer; display: flex; gap: 12px; align-items: center; padding: 12px 16px; font-size: 15px; font-weight: 500; line-height: 1.4; }
.qz-corr summary::-webkit-details-marker { display: none; }
.qz-corr__n { flex: 0 0 28px; height: 28px; border-radius: 50%; background: #f4f4ef; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.qz-corr__s { margin-left: auto; font-weight: 700; font-size: 18px; }
.is-ok .qz-corr__s { color: #0e9c92; }
.is-ko .qz-corr__s { color: #d99a00; }
.qz-corr__b { padding: 0 16px 14px 56px; font-size: 15px; line-height: 1.55; }
.qz-corr__b p + p { margin-top: 6px; }
.qz-corr__why { color: #444; background: #f4f4ef; border-radius: 1rem; padding: 10px 12px; margin-top: 10px !important; }

.qz-seo { margin-top: 64px; }

@media (max-width: 767px) {
    .qz-page { padding-top: 11rem; }
    .qz-h1 { font-size: 30px; }
    .qz-lead { font-size: 16px; }
    .qz-card { padding: 22px 18px; border-radius: 1.8rem; }
    .qz-start__grid, .qz-grid, .qz-cols { grid-template-columns: 1fr; }
    .qz-q { font-size: 19px; }
    .qz-opt { font-size: 15px; padding: 12px 14px; }
    .qz-gauge { grid-template-columns: 1fr; }
    .qz-level { font-size: 26px; }
    .qz-corr__b { padding-left: 16px; }
}
.qz{scroll-margin-top:120px}
