/* Questionnaire public : charte commune, styles limités au parcours. */
.questionnaire_page {
    --q_encre: #193365;
    --q_bleu: #203c86;
    --q_orange: #d5680b;
    --q_texte: #566477;
    --q_ligne: #e0e4eb;
    margin: 0;
    color: var(--q_encre);
    background: #faf9f6;
    font: 400 14px/1.75 Poppins, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
.q_main *, .q_main *::before, .q_main *::after { box-sizing: border-box; }
.q_main [hidden] { display: none !important; }
.q_main :is(h1, h2, h3, p, ol, figure, fieldset) { margin: 0; }
.q_main :is(h1, h2, h3, strong) { font-weight: 500; }
.q_main button, .q_main input, .q_main select { font: inherit; }
.q_main button, .q_main a { -webkit-tap-highlight-color: transparent; }
.q_main button { cursor: pointer; }
.q_main a { color: inherit; }
.q_main :is(a, button, summary):focus-visible { outline: 3px solid #dd5606; outline-offset: 4px; }
.q_main button:disabled { cursor: wait; opacity: .6; }
.q_main em { color: var(--q_orange); font-family: "DM Serif Display", Georgia, serif; font-weight: 400; }
.q_main, .q_main [id] { scroll-margin-top: 116px; }
.q_container { width: min(1200px, calc(100% - 112px)); margin-inline: auto; }
.q_main { padding-bottom: 64px; }
.q_breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 30px; font-size: 11px; color: var(--q_texte); }
.q_breadcrumb a { text-decoration: none; }
.q_breadcrumb a:hover { text-decoration: underline; }
.q_intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 33px 0 38px; }
.q_eyebrow { font-size: 11px; letter-spacing: 1.6px; text-transform: uppercase; font-weight: 500; }
.q_intro .q_eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.q_intro .q_eyebrow span { width: 7px; height: 7px; background: #dd5606; border-radius: 50%; }
.q_intro h1 { font-size: clamp(34px, 3.5vw, 49px); line-height: 1.16; letter-spacing: -1.6px; }
.q_intro > p { max-width: 370px; padding-bottom: 6px; color: var(--q_texte); font-size: 13px; }
.q_etapes { display: flex; list-style: none; gap: 38px; padding: 0 0 25px; }
.q_etapes li { display: flex; align-items: center; gap: 10px; color: #FFF; font-size: 12px; }
.q_etapes li > span { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid #d9dfe7; border-radius: 50%; font-size: 12px; font-weight: 600; }
.q_etapes [aria-current="step"] { color: #FFC281; font-weight: 500; }
.q_etapes [aria-current="step"] > span { background: #EF7828; border-color: #EF7828; color: white; font-weight: 600; }
.q_etapes .q_termine > span { color: var(--q_bleu); background: #e9edf7; border-color: #e9edf7; }
.q_grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; align-items: start; gap: 28px; }
.q_parcours { min-width: 0; }
.q_card { padding: 28px 38px 0; background: #fff; border: 1px solid #e4e7ec; border-radius: 22px; box-shadow: 0 14px 45px #19336506; min-width: 0; }
.q_card_entete { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; font-size: 11px; color: var(--q_texte); }
#q_groupe { font-weight: 500; color: var(--q_bleu); }
#q_compteur { font-variant-numeric: tabular-nums; }
#q_progression { display: block; appearance: none; border: 0; width: 100%; height: 4px; overflow: hidden; border-radius: 9px; color: #dd5606; background: #edf0f5; }
#q_progression::-webkit-progress-bar { background: #edf0f5; }
#q_progression::-webkit-progress-value { background: #dd5606; border-radius: 9px; transition: width .2s; }
#q_progression::-moz-progress-bar { background: #dd5606; }
#q_ecran { padding: 30px 0 26px; min-height: 377px; }
.q_titre { max-width: 590px; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.3; letter-spacing: -.7px; outline: none; }
.q_description { color: var(--q_texte); font-size: 12px; line-height: 1.8; margin-top: 10px !important; }
.q_options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 25px; padding: 0; border: 0; min-width: 0; }
.q_option { position: relative; display: flex; align-items: center; gap: 13px; padding: 19px 14px; border: 1px solid #dce2eb; border-radius: 12px; color: var(--q_encre); min-height: 83px; cursor: pointer; transition: border-color .15s, background .15s; }
.q_option:hover { border-color: #6077aa; background: #f8faff; }
.q_option:has(input:checked) { border-color: var(--q_bleu); background: #f0f4fc; box-shadow: inset 0 0 0 1px var(--q_bleu); }
.q_option:has(input:focus-visible) { outline: 2px solid var(--q_bleu); outline-offset: 2px; }
.q_option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q_option_icone { color: var(--q_bleu); display: flex; flex: 0 0 29px; }
.q_icone { width: 23px; height: 23px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.q_option_icone .q_icone { width: 29px; height: 29px; }
.q_option_libelle { flex: 1; font-weight: 500; font-size: 12px; line-height: 1.5; }
.q_option_libelle small { display: block; color: var(--q_texte); font-weight: 400; font-size: 11px; line-height: 1.5; margin-top: 4px; }
.q_selection { display: grid; place-items: center; width: 17px; height: 17px; border: 1px solid #c2ccdb; border-radius: 50%; color: transparent; flex-shrink: 0; }
.q_selection .q_icone { width: 12px; height: 12px; stroke-width: 2.3; }
.q_option:has(input:checked) .q_selection { background: var(--q_bleu); border-color: var(--q_bleu); color: white; }
.q_options_multiple .q_selection { border-radius: 4px; }
.q_actions { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.q_button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 13px 23px; min-height: 48px; border: 1px solid var(--q_bleu); border-radius: 8px; background: var(--q_bleu); color: white !important; font-size: 12px !important; font-weight: 500; text-decoration: none; }
.q_button:hover { background: #152f70; }
.q_button .q_icone { width: 17px; height: 17px; }
.q_lien { padding: 9px 0; background: transparent; border: 0; color: var(--q_texte); font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.q_actions > .q_retour + .q_button { margin-left: auto; }
.q_lien { color: var(--q_bleu); }
.q_lien:hover { color: var(--q_orange); }
.q_card_pied { display: flex; align-items: center; gap: 9px; padding: 17px 0; border-top: 1px solid var(--q_ligne); font-size: 11px; color: var(--q_texte); }
.q_card_pied .q_icone { width: 18px; height: 18px; color: var(--q_bleu); }
.q_conseil { overflow: hidden; border-radius: 20px; position: relative; background: #203c86; color: white; }
.q_conseil_texte { padding: 28px 28px 25px; }
.q_conseil_picto { display: flex; align-items: center; justify-content: center; width: 43px; height: 43px; border: 1px solid #ffffff30; border-radius: 50%; margin-bottom: 18px; color: #ffc68f; }
.q_conseil_picto .q_icone { width: 24px; height: 24px; }
.q_conseil .q_eyebrow { color: #d2daf0; font-size: 11px; letter-spacing: 1.3px; }
.q_conseil h2 { margin: 9px 0 12px; font-size: 24px; line-height: 1.3; letter-spacing: -.5px; }
#q_aide_texte { color: #e5eafb; font-size: 12px; line-height: 1.9; }
.q_conseil > img { width: 100%; height: 175px; object-fit: cover; object-position: center 44%; display: block; }
.q_photo_legende { padding: 17px 28px 20px; font-size: 13px; line-height: 1.6; }
.q_photo_legende em { color: #ffd1a7; font-size: 19px; }
.q_historique { margin-top: 16px; border: 1px solid #dce2eb; border-radius: 12px; padding: 0 18px; background: #fff; }
.q_historique summary { padding: 14px 0; font-size: 12px; cursor: pointer; }
#q_nombre_reponses { color: var(--q_texte); margin-left: 4px; }
.q_recap { margin-top: 20px; }
.q_recap_ligne { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--q_ligne); }
.q_recap_ligne p { font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.q_recap_ligne small { display: block; color: var(--q_texte); font-size: 11px; margin-bottom: 3px; }
.q_recap_ligne button { flex-shrink: 0; font-size: 11px !important; padding-top: 2px; }
#q_reponses .q_recap_ligne { gap: 9px; }
#q_reponses .q_recap_ligne:last-child { border: 0; padding-bottom: 17px; }
.q_aide_contact { color: var(--q_texte); font-size: 11px; padding: 20px 0 0; }
.q_aide_contact a { display: inline-flex; align-items: center; gap: 12px; color: var(--q_encre); font-size: 13px; text-decoration: none; }
.q_aide_contact .q_icone { width: 17px; height: 17px; }
.q_confidentialite { margin-top: 24px !important; font-size: 11px; color: #EEE; max-width: 700px; }
.q_form { margin-top: 24px; }
.q_champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 18px; }
.q_champ { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.q_champ label, .q_legende { font-weight: 500; font-size: 12px; }
.q_champ input, .q_champ select { width: 100%; min-width: 0; height: 49px; padding: 11px 13px; border: 1px solid #cbd3df; background: #fff; color: var(--q_encre); border-radius: 7px; font-size: 14px; }
.q_champ input:focus, .q_champ select:focus { border-color: var(--q_bleu); outline: none; }
.q_champ input[aria-invalid="true"] { border-color: #ad3028; }
.q_champ input[readonly] { background: #f3f5f9; color: var(--q_texte); }
.q_champ small { font-size: 11px; color: var(--q_texte); }
.q_champ .q_erreur_champ { color: #97352a; }
.q_large { grid-column: 1 / -1; }
.q_montant { max-width: 280px; position: relative; }
.q_montant input { padding-right: 82px; font-size: 23px; height: 64px; }
.q_montant span { position: absolute; right: 17px; bottom: 17px; font-size: 13px; color: var(--q_texte); }
.q_consent { display: flex; align-items: flex-start; gap: 11px; margin-top: 23px; font-size: 11px; line-height: 1.85; color: var(--q_texte); }
.q_consent input { width: 18px; height: 18px; flex-shrink: 0; margin: 3px 0 0; accent-color: var(--q_bleu); }
.q_consent input:focus-visible { outline: 2px solid var(--q_bleu); outline-offset: 2px; }
.q_consent a { text-underline-offset: 3px; }
.q_mentions { margin-top: 10px; padding-left: 29px; font-size: 11px; line-height: 1.7; color: var(--q_texte); }
.q_mentions p + p { margin-top: 6px; }
.q_mentions a { text-underline-offset: 3px; }
.q_main form[data-form="rappel"] .q_button:disabled { cursor: not-allowed; }
.q_note { padding: 15px 17px; border-radius: 9px; color: var(--q_texte); background: #f3f5f9; font-size: 11px; margin-top: 20px !important; }
.q_erreur { padding: 12px 15px; margin-bottom: 20px !important; border: 1px solid #e8c1bb; border-radius: 8px; font-size: 12px; color: #97352a; background: #fff7f4; }
.q_reprise { display: flex; align-items: center; justify-content: space-between; gap: 15px; border-radius: 9px; padding: 12px 18px; background: #edf1f9; font-size: 11px; margin-bottom: 18px; }
.q_reprise button { border: 0; color: var(--q_bleu); background: transparent; font: inherit; text-decoration: underline; }
.q_code { max-width: 280px; }
.q_code input { font-size: 26px; letter-spacing: 9px; height: 64px; }
.q_confirmation { display: grid; place-items: center; width: 62px; height: 62px; color: #286047; background: #e7f3ec; border-radius: 50%; margin-bottom: 21px; }
.q_confirmation .q_icone { width: 30px; height: 30px; }
.q_video_confirmation { padding-top: 26px; }
.q_video_confirmation figcaption { margin-bottom: 12px; color: var(--q_encre); font-size: 14px; font-weight: 500; }
.q_video_confirmation video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 12px; background: #edf1f9; }
.q_video_son { margin-top: 14px; }
.q_pret_valeur { max-width: 320px; }
.q_durees { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0 0 18px; }
.q_durees legend { margin-bottom: 12px; }
.q_durees label { position: relative; cursor: pointer; }
.q_durees input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q_durees span { display: block; min-height: 46px; padding: 11px 15px; border: 1px solid #cbd3df; border-radius: 7px; font-size: 12px; }
.q_durees input:checked + span { color: #fff; border-color: var(--q_bleu); background: var(--q_bleu); }
.q_durees input:focus-visible + span { outline: 3px solid #dd5606; outline-offset: 3px; }
.q_durees input:disabled + span { opacity: .5; cursor: default; }
.q_inconnu { display: flex; align-items: center; gap: 11px; margin-top: 20px; color: var(--q_texte); font-size: 12px; cursor: pointer; }
.q_inconnu input { width: 18px; height: 18px; margin: 0; accent-color: var(--q_bleu); }
.q_conseil > .q_image_emprunteur, .q_conseil > .q_image_animaux, .q_conseil > .q_image_obseques, .q_conseil > .q_image_habitation { height: auto; aspect-ratio: 4 / 3; }
.q_sous_question { margin-top: 24px !important; padding-bottom: 18px; min-width: 0; }
.q_sous_question label { max-width: 100%; }
.q_sous_question span { overflow-wrap: anywhere; }
.q_capital_libre { margin-top: 22px; max-width: 320px; }
.q_race { position: relative; }
.q_races { position: absolute; z-index: 5; top: 78px; left: 0; right: 0; max-height: 220px; overflow-y: auto; overscroll-behavior: contain; list-style: none; margin: 0; padding: 5px; border: 1px solid #cbd3df; border-radius: 8px; background: #fff; box-shadow: 0 10px 28px #09295020; }
.q_races li { padding: 10px 12px; border-radius: 5px; color: var(--q_encre); font-size: 13px; line-height: 1.5; cursor: pointer; overflow-wrap: anywhere; }
.q_races li:hover, .q_races li[aria-selected="true"] { background: #edf1f9; }
.q_sans_js { padding-bottom: 30px; }
.q_sans_js p { margin: 12px 0 20px; }
.q_sr, .q_piege { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 1200px) {
    .q_container { width: calc(100% - 72px); }
    .q_grid { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
    .q_card { padding: 25px 26px 0; }
    .q_conseil_texte { padding: 25px 22px; }
    .q_option { gap: 10px; padding: 15px 12px; }
    .q_option_icone { flex-basis: 25px; }
    .q_option_icone .q_icone { width: 25px; height: 25px; }
}
@media (max-width: 950px) {
    .q_grid { grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; }
    .q_options { grid-template-columns: 1fr; gap: 10px; }
    .q_option { min-height: 66px; }
    .q_intro > p { max-width: 290px; }
    .q_desktop { display: none; }
    .q_conseil h2 { font-size: 22px; }
}
@media (max-width: 700px) {
    .q_container { width: calc(100% - 40px); }
    .q_breadcrumb { padding-top: 20px; font-size: 11px; gap: 7px; }
    .q_intro { display: block; padding: 25px 0 27px; }
    .q_intro h1 { font-size: 36px; letter-spacing: -1.2px; }
    .q_intro > p { max-width: 390px; margin-top: 15px; padding: 0; font-size: 12px; }
    .q_intro .q_eyebrow { letter-spacing: 1.1px; }
    .q_grid { grid-template-columns: 1fr; gap: 20px; }
    .q_etapes { justify-content: space-between; gap: 8px; padding-bottom: 20px; }
    .q_etapes li { font-size: 11px; gap: 6px; }
    .q_etapes li > span { width: 25px; height: 25px; font-size: 11px; }
    .q_card { border-radius: 16px; padding: 23px 22px 0; }
    #q_ecran { min-height: 0; padding-top: 24px; }
    .q_titre { font-size: 24px; }
    .q_options { margin-top: 22px; }
    .q_option { padding: 16px; min-height: 70px; }
    .q_option_libelle { font-size: 13px; }
    .q_actions { margin-top: 23px; }
    .q_conseil_texte { padding: 22px; }
    .q_conseil_picto { float: right; margin: 0 0 10px 15px; }
    .q_conseil h2 { font-size: 23px; }
    .q_conseil > img, .q_photo_legende { display: none; }
    .q_conseil { border-radius: 14px; }
    .q_aide_contact { padding-top: 16px; }
    .q_champs { grid-template-columns: 1fr; }
    .q_champ input, .q_champ select { font-size: 16px; }
    .q_code input { font-size: 26px; }
    .q_montant input { font-size: 23px; }
    .q_reprise { align-items: flex-start; }
    .q_reprise button { flex-shrink: 0; }
}
@media (max-width: 359px) {
    .q_container { width: calc(100% - 28px); }
    .q_intro h1 { font-size: 32px; }
    .q_card { padding-inline: 17px; }
    .q_etapes li { flex-direction: column; gap: 5px; }
    .q_button { padding-inline: 17px; gap: 10px; }
    .q_actions { gap: 8px; }
    .q_option { padding-inline: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .q_main *, .q_main *::before, .q_main *::after { transition: none !important; scroll-behavior: auto !important; }
}
