/* ═══════════════════════════════════════════════════════════════
   DPM Consulting — CSS PARCOURS INTELLIGENTS (P9-QUAD)
   Diagnostic Audit · Orientation Formation · Widget Flottant
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero compact parcours ── */
.parcours-hero {
    background: linear-gradient(135deg, #1a2942 0%, #26231E 100%);
    padding: 56px 0 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.parcours-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.parcours-hero .container { position: relative; z-index: 1; }
.parcours-hero-badge {
    display: inline-block;
    background: #C0392B;
    color: #fff;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.parcours-hero-badge.vert { background: #27AE60; }
.parcours-hero h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 12px;
}
.parcours-hero-sous {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
    max-width: 560px;
    margin: 0 auto 24px;
    line-height: 1.6;
}
.parcours-hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
.parcours-hero-badges span {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    padding: 5px 14px;
    border-radius: 20px;
}

/* ── Section principale questionnaire ── */
.parcours-section {
    background: #F7F7F7;
    padding: 56px 0;
    min-height: 500px;
}
.parcours-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Barre de progression ── */
.progression-wrapper {
    background: #fff;
    border-radius: 4px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.progression-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.progression-texte {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.progression-pct {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #C0392B;
}
.progression-barre {
    background: #E0E0E0;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}
.progression-fill {
    height: 100%;
    background: #C0392B;
    border-radius: 3px;
    transition: width 0.4s ease;
    width: 0%;
}

/* ── Wrapper question ── */
.question-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 24px;
    min-height: 320px;
}
@keyframes slideInQuestion {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}
.question-step { animation: slideInQuestion 0.3s ease; }

.question-numero {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #C0392B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.question-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 8px;
    line-height: 1.2;
}
.question-sous-texte {
    font-size: 14px;
    color: #666;
    margin-bottom: 24px;
    font-style: italic;
    line-height: 1.5;
}

/* ── Options radio/checkbox ── */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}
.options-grid.cols-1 { grid-template-columns: 1fr; }
.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.option-label {
    cursor: pointer;
    display: block;
}
.option-label input[type="radio"],
.option-label input[type="checkbox"] {
    display: none;
}
.option-card {
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    user-select: none;
    height: 100%;
}
.option-card:hover {
    border-color: #C0392B;
    background: rgba(192,57,43,0.03);
}
.option-label input:checked + .option-card {
    border-color: #C0392B;
    background: rgba(192,57,43,0.06);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.option-emoji {
    font-size: 22px;
    flex-shrink: 0;
    line-height: 1;
    width: 28px;
    text-align: center;
}
.option-texte {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #26231E;
    line-height: 1.3;
}
.option-description {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    font-weight: 400;
    font-family: 'Lato', sans-serif;
    line-height: 1.4;
}

/* Options niveau (Q5-Q8) */
.niveau-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
}
.niveau-label {
    cursor: pointer;
    display: block;
}
.niveau-label input {
    display: none;
}
.niveau-card {
    border: 2px solid #E0E0E0;
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.2s;
    cursor: pointer;
}
.niveau-card:hover {
    border-color: #C0392B;
    background: rgba(192,57,43,0.03);
}
.niveau-label input:checked + .niveau-card {
    border-color: #C0392B;
    background: rgba(192,57,43,0.06);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}
.niveau-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
    flex-shrink: 0;
}
.niveau-info { flex: 1; }
.niveau-nom {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #26231E;
    line-height: 1.2;
    display: block;
}
.niveau-desc {
    font-size: 12px;
    color: #777;
    margin-top: 2px;
    display: block;
}

/* ── Navigation boutons ── */
.question-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #F0F0F0;
}
.btn-precedent {
    display: none;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid #D0D0D0;
    padding: 10px 20px;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    transition: all 0.2s;
}
.btn-precedent:hover {
    border-color: #26231E;
    color: #26231E;
}
.btn-suivant {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C0392B;
    color: #fff;
    border: none;
    padding: 13px 28px;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    margin-left: auto;
}
.btn-suivant:hover {
    background: #9B2D22;
    transform: translateX(2px);
}

/* Message erreur */
.question-error {
    display: none;
    color: #C0392B;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
    padding: 8px 12px;
    background: rgba(192,57,43,0.06);
    border-radius: 3px;
}

/* ── Section résultats ── */
.resultats-wrapper { display: none; }
@keyframes fadeInResults {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
.resultats-wrapper.visible { animation: fadeInResults 0.5s ease; }

.resultats-titre-bloc {
    text-align: center;
    margin-bottom: 32px;
}
.resultats-titre-bloc h2 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 8px;
}
.resultats-titre-bloc p {
    color: #777;
    font-size: 15px;
}

.score-global-card {
    background: #1a2942;
    color: #fff;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}
.score-global-valeur {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 72px;
    font-weight: 800;
    display: block;
    line-height: 1;
    color: #fff;
}
.score-global-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 12px;
    display: block;
}
.score-global-badge {
    display: inline-block;
    padding: 6px 22px;
    border-radius: 20px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

/* Barres scores domaines */
.section-sous-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #C0392B;
    display: inline-block;
}
.scores-domaines {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}
.score-domaine-item {
    background: #fff;
    border-radius: 4px;
    padding: 16px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.score-domaine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.score-domaine-nom {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #26231E;
}
.score-domaine-valeur {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
}
.score-barre-bg {
    background: #E0E0E0;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 6px;
}
.score-barre-fill {
    height: 100%;
    border-radius: 5px;
    width: 0%;
    transition: width 1.2s ease;
}
.score-niveau-label {
    font-size: 12px;
    font-weight: 700;
}

/* Recommandations */
.recommandations-container {
    margin-bottom: 32px;
}
.reco-card {
    background: #fff;
    border-radius: 6px;
    padding: 24px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.07);
    display: flex;
    gap: 20px;
    margin-bottom: 14px;
    align-items: flex-start;
    border-left: 4px solid #C0392B;
}
.reco-numero {
    width: 48px;
    height: 48px;
    background: #C0392B;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.reco-content { flex: 1; }
.reco-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.badge-domaine {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.reco-score {
    font-size: 13px;
    color: #888;
}
.reco-content h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 8px;
}
.reco-content p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}
.reco-lien {
    color: #C0392B;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.reco-lien:hover { text-decoration: underline; }

/* Gate email */
.gate-email-section {
    background: #1a2942;
    border-radius: 8px;
    padding: 40px;
    color: #fff;
    text-align: center;
    margin: 32px 0;
}
.gate-email-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}
.gate-email-section h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.gate-email-section > p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 6px;
}
.gate-contenu-liste {
    display: inline-block;
    text-align: left;
    margin-bottom: 24px;
}
.gate-contenu-liste li {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 3px 0;
}
.gate-form {
    display: flex;
    gap: 10px;
    max-width: 520px;
    margin: 0 auto 12px;
    flex-wrap: wrap;
}
.gate-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 2px;
    font-size: 14px;
    min-width: 180px;
    font-family: 'Lato', sans-serif;
}
.gate-form input:focus {
    outline: 2px solid #C0392B;
}
.btn-recevoir-rapport {
    background: #C0392B;
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.2s;
}
.btn-recevoir-rapport:hover { background: #9B2D22; }
.btn-recevoir-rapport:disabled {
    background: #888;
    cursor: default;
}
.gate-rgpd {
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    margin-top: 4px;
}
.gate-error {
    display: none;
    color: #FFB3A7;
    font-size: 13px;
    margin-top: 8px;
}
.gate-success {
    padding: 16px;
}
.gate-success-icon {
    font-size: 40px;
    display: block;
    margin-bottom: 12px;
}
.gate-success h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.gate-success p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
}

/* Actions directes après résultats */
.resultats-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 24px;
}
.resultats-actions .btn-primary {
    display: block;
    text-align: center;
    padding: 14px 20px;
}
.resultats-actions .btn-outline-bleu {
    display: block;
    text-align: center;
    padding: 14px 20px;
    border: 2px solid #1a2942;
    color: #1a2942;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.2s;
}
.resultats-actions .btn-outline-bleu:hover {
    background: #1a2942;
    color: #fff;
}
.resultats-actions-sous {
    text-align: center;
    font-size: 12px;
    color: #888;
    margin-top: -8px;
}
.btn-recommencer {
    display: block;
    text-align: center;
    color: #888;
    font-size: 13px;
    text-decoration: none;
    margin-top: 16px;
    transition: color 0.2s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
}
.btn-recommencer:hover { color: #C0392B; }

/* Section rassurante */
.parcours-reassurance {
    background: #fff;
    padding: 40px 0;
    border-top: 1px solid #F0F0F0;
}
.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}
.reassurance-item-icon {
    font-size: 28px;
    display: block;
    margin-bottom: 10px;
}
.reassurance-item h4 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 6px;
}
.reassurance-item p {
    font-size: 13px;
    color: #777;
    line-height: 1.5;
}

/* ── RÉSULTATS FORMATIONS ── */
.formations-resultats-wrapper { margin-bottom: 32px; }
.formations-resultats-titre {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #26231E;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #C0392B;
    display: inline-block;
}
.formation-match-card {
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.07);
    padding: 24px;
    margin-bottom: 16px;
    border-top: 4px solid #C0392B;
    transition: box-shadow 0.2s;
}
.formation-match-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.match-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.match-etoiles {
    color: #C0392B;
    font-size: 20px;
    letter-spacing: 2px;
}
.match-pct {
    font-size: 12px;
    color: #aaa;
}
.formation-match-card h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}
.formation-match-card h3 a {
    color: #26231E;
    text-decoration: none;
}
.formation-match-card h3 a:hover { color: #C0392B; }
.match-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.badge-certif {
    background: rgba(39,174,96,0.1);
    color: #27AE60;
    border: 1px solid #27AE60;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}
.badge-duree, .badge-niveau {
    background: #F5F5F5;
    color: #666;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.match-session {
    font-size: 13px;
    color: #1a2942;
    margin-bottom: 14px;
    padding: 8px 12px;
    background: rgba(26,41,66,0.06);
    border-radius: 3px;
}
.match-session.gris { color: #888; background: #F5F5F5; }
.match-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.btn-outline-sm {
    padding: 8px 16px;
    border: 1px solid #C0392B;
    color: #C0392B;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-outline-sm:hover { background: #C0392B; color: #fff; }
.btn-primary-sm {
    padding: 8px 16px;
    background: #C0392B;
    color: #fff;
    border: none;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary-sm:hover { background: #9B2D22; }

.no-match {
    background: #fff;
    border-radius: 6px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}
.no-match p {
    font-size: 15px;
    color: #666;
    margin-bottom: 16px;
}

/* Mode guidé */
.mode-guide-bloc {
    background: #1a2942;
    border-radius: 8px;
    padding: 32px;
    color: #fff;
    text-align: center;
    margin-top: 24px;
}
.mode-guide-bloc h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
}
.mode-guide-bloc p {
    color: rgba(255,255,255,0.75);
    font-size: 14px;
    margin-bottom: 20px;
}
.mode-guide-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}
.btn-appel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C0392B;
    color: #fff;
    padding: 12px 22px;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-appel:hover { background: #9B2D22; color: #fff; }
.btn-ecrire {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    color: #fff;
    padding: 12px 22px;
    border-radius: 2px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-ecrire:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255,255,255,0.1);
}

/* ── WIDGET FLOTTANT ── */
.widget-parcours {
    position: fixed;
    bottom: 164px; /* au-dessus des boutons Appel + WhatsApp */
    right: 24px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.widget-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1a2942;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 11px 18px;
    cursor: pointer;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(26,41,66,0.45);
    transition: all 0.2s;
    white-space: nowrap;
}
.widget-toggle:hover {
    background: #24306E;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(26,41,66,0.55);
}
.widget-toggle.active {
    background: #C0392B;
    box-shadow: 0 4px 20px rgba(192,57,43,0.35);
}
.widget-icon-closed svg { display: block; }
.widget-icon-open { display: none; font-size: 18px; font-weight: bold; }
.widget-toggle.active .widget-icon-closed { display: none; }
.widget-toggle.active .widget-icon-open { display: block; }

.widget-menu {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.18);
    width: 320px;
    overflow: hidden;
    order: -1;
    pointer-events: all;
}
@keyframes slideUpWidget {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
.widget-menu { animation: slideUpWidget 0.25s ease; }

.widget-menu-header {
    background: #26231E;
    padding: 14px 18px;
}
.widget-menu-header p {
    color: rgba(255,255,255,0.6);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    font-family: 'Barlow Condensed', sans-serif;
}
.widget-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #F5F5F5;
    text-decoration: none;
    transition: background 0.15s;
    cursor: pointer;
}
.widget-menu-item:hover { background: #F9F9F9; }
.widget-item-icon { font-size: 22px; flex-shrink: 0; width: 28px; text-align: center; }
.widget-item-content { flex: 1; }
.widget-item-content strong {
    display: block;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #26231E;
    line-height: 1.2;
}
.widget-item-content span {
    font-size: 12px;
    color: #888;
    display: block;
    margin-top: 2px;
}
.widget-item-arrow { color: #C0392B; font-size: 16px; font-weight: bold; }
.widget-menu-separator { height: 1px; background: #EBEBEB; }
.widget-tel .widget-item-content strong { color: #1a2942; }
.widget-menu-footer {
    padding: 10px 18px;
    background: #F9F9F9;
    font-size: 11px;
    color: #aaa;
    text-align: center;
}

/* Bulle notification */
.widget-bubble {
    background: #26231E;
    color: #fff;
    padding: 10px 16px 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 240px;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.widget-bubble.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.widget-bubble::after {
    content: '';
    position: absolute;
    bottom: -7px;
    right: 52px;
    border: 7px solid transparent;
    border-top-color: #26231E;
    border-bottom: none;
}
.widget-bubble-close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 12px;
    padding: 0;
    flex-shrink: 0;
    line-height: 1;
    transition: color 0.2s;
}
.widget-bubble-close:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
    .options-grid.cols-3,
    .options-grid.cols-4 {
        grid-template-columns: 1fr 1fr;
    }
    .question-wrapper { padding: 24px 18px; }
    .resultats-actions { grid-template-columns: 1fr; }
    .gate-form { flex-direction: column; }
    .gate-email-section { padding: 28px 20px; }
    .score-global-card { padding: 28px 20px; }
    .score-global-valeur { font-size: 56px; }
    .reassurance-grid { grid-template-columns: 1fr; }
    .reco-card { flex-direction: column; gap: 12px; }

    .widget-parcours { bottom: 144px; right: 12px; }
    .widget-menu { width: calc(100vw - 32px); }
    .widget-label { display: none; }
    .widget-toggle {
        border-radius: 50%;
        width: 56px;
        height: 56px;
        padding: 0;
        justify-content: center;
    }
    .widget-bubble { max-width: 180px; font-size: 12px; }
}
