/* mobile.css : ajustements pour téléphone (écrans de 640 px ou moins). Chargé après les autres feuilles de style ;
   n'a aucun effet sur ordinateur. Les tableaux « empilés » sont préparés par router.js (attributs data-label). */
/* Ajouts pour téléphone (mobile.js, layout.js) : masqués sur ordinateur */
.mv-hcta, footer.bot .fh, .mv-more, .mv-tabbar, .mv-sheet, .mv-tabs, .mv-voir { display: none; }
@media (max-width: 640px) {

  /* 1. Tableaux de comparaison (tarifs, parcours) : tiennent dans l'écran, sans défilement latéral */
  html body .tf-table, html body .pc-table { min-width: 0 !important; table-layout: fixed; font-size: 13px !important; border-radius: 20px !important; }
  html body .tf-table th, html body .tf-table td, html body .pc-table th, html body .pc-table td { padding: 11px 5px !important; overflow-wrap: anywhere; line-height: 1.35; }
  html body .tf-table th[scope=row], html body .pc-table th[scope=row] { width: 36%; padding-left: 12px !important; font-size: 13px; }
  html body .tf-table thead th, html body .pc-table thead th { font-size: 11px !important; letter-spacing: .3px !important; padding: 12px 3px !important; }

  /* 2. Tableaux à texte long (tests, RIASEC, CGV) : une carte par ligne */
  html body table.mv-stack { display: block; min-width: 0 !important; width: 100% !important; border: 0 !important; border-spacing: 0 !important; background: transparent !important; }
  html body table.mv-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  html body table.mv-stack tbody, html body table.mv-stack tr { display: block; }
  html body table.mv-stack tr { background: var(--bg, #fff); border: 1px solid #efe9fb; border-radius: 20px; padding: 14px 16px; margin: 0 0 12px; }
  html body table.mv-stack tr:first-child:has(th:not([scope=row]) + th) { display: none; }
  html body table.mv-stack th, html body table.mv-stack td { display: block; padding: 5px 0 !important; border: 0 !important; background: transparent !important; text-align: left !important; font-size: 15px; line-height: 1.5; }
  html body table.mv-stack td[data-label]::before { content: attr(data-label); display: block; font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: #6d4fd6; margin-bottom: 1px; }
  html body table.mv-stack tr > :first-child { font-size: 17px; font-weight: 800; color: #1c1450; }

  /* 3. Pied de page : liens faciles à toucher */
  html body footer.bot { padding: 40px 20px 24px; }
  html body footer.bot .in { gap: 24px 20px; }
  html body footer.bot .cols > div a { display: flex; align-items: center; min-height: 44px; margin: 0 !important; padding: 0; }

  /* 4. Test : onglets plus compacts, échelle des valeurs lisible */
  html body .tab { padding: 10px 12px; }
  html body .tab small { display: none; }
  html body .scale { padding: 18px 4px 14px; }
  html body .scale .ends { font-size: 12px; padding: 0 10px; }
  html body .scale .lvls { gap: 0; }
  /* 4 bis. Valeurs de Schwartz : les 6 bulles en liste verticale (bulle + libellé sur une ligne), du plus pâle au plus orange */
  html body .scale .ends { display: none; }
  html body .scale { padding: 10px; border-radius: 24px; margin-top: 20px; }
  html body .scale .lvls { flex-direction: column; align-items: stretch; gap: 8px; margin-top: 0; }
  html body .lvl { flex: none; flex-direction: row; justify-content: flex-start; align-items: center; gap: 14px; min-height: 56px; padding: 6px 16px 6px 8px; border: 2px solid #f6e3d4; border-radius: 18px; background: #fff; font-size: 16px; font-weight: 700; color: #3a2a24; text-align: left; -webkit-tap-highlight-color: transparent; }
  html body .lvl .dw { flex: none; width: 48px; height: 44px; }
  html body .lvl span { width: calc(var(--s) * .62); height: calc(var(--s) * .62); font-size: 15px; box-shadow: none !important; }
  html body .lvl.sel { border-color: #e2620d; background: #fff3e8; color: #1c1450; }
  /* 4 ter. Test : la consigne au-dessus de la question, Précédent / Suivant toujours visibles en bas */
  html body #app .nav2 { position: sticky; bottom: 0; z-index: 5; gap: 10px; margin: 22px -18px 0; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.95); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid #efe9fb; }
  html body #app .nav2 > .btn { flex: 1; justify-content: center; min-height: 52px; }
  html body #app .q-consigne { font-size: 14px; }

  /* 5. Page Famille : étiquettes des valeurs sur la grille, textes d'aide */
  html body .fm-rown { font-size: 11px; overflow-wrap: anywhere; hyphens: auto; }
  html body .fm-card { padding: 20px 16px; }

  /* 6. Cartes : un peu moins de marge intérieure pour que le texte gagne en largeur */
  html body .mv-card { padding: 18px 16px; }
  html body .mvx-resume, html body .mvx-next { padding: 18px 16px; }
  html body .mvx-detail { padding: 14px; }
  html body .mvx-box { padding: 12px 13px; }
  html body .mvx-panel { padding: 14px; }
  /* 7. En-tête : le bouton « Test gratuit » reste visible à côté du menu */
  html body header.top .mv-hcta { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; padding: 0 16px; border-radius: 999px; background: #6d4fd6; color: #fff; font-weight: 800; font-size: 14px; text-decoration: none; white-space: nowrap; }
  html body header.top .mv-hcta:hover { background: #5b3fc4; }

  /* 8. Pied de page en rubriques repliables : 900 px de liens deviennent 5 lignes */
  html body footer.bot { padding: 24px 20px 20px; }
  html body footer.bot .cols { display: block !important; }
  html body footer.bot .cols > div { border-top: 1px solid #e3dcf7; }
  html body footer.bot .cols > div:first-child { border-top: 0; }
  html body footer.bot h4 { display: none; }
  html body footer.bot .fh { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: space-between; padding: 0; border: 0; background: none; font-family: inherit; font-size: 13px; font-weight: 800; letter-spacing: 1px; color: #1c1450; cursor: pointer; }
  html body footer.bot .fh span { width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #6d4fd6; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
  html body footer.bot .fh:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
  html body footer.bot .fl { display: none; padding-bottom: 8px; }
  html body footer.bot .mv-open .fl { display: block; }
  html body footer.bot .mv-open .fh span { transform: rotate(45deg); }
  html body footer.bot .bas { margin-top: 12px; padding-top: 18px; }

  /* 9. Barre de navigation en bas, façon application (mobile.js). Remplace l'ancienne barre violette collée en bas,
        qui recouvrait le contenu. Le bouton central (rond violet) lance le test. */
  html body .mv-tabbar { display: flex; align-items: stretch; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 65; height: 66px; padding: 0 6px; border-radius: 26px; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid #ebe5fa; box-shadow: 0 12px 30px rgba(28,20,80,.16); }
  html body .mv-tabbar button { border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer; }
  html body .mv-tabbar a, html body .mv-tabbar button { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: #5b6070; text-decoration: none; font-size: 11px; font-weight: 700; letter-spacing: -.1px; -webkit-tap-highlight-color: transparent; }
  html body .mv-tabbar button span, html body .mv-tabbar a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  html body .mv-tabbar svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  html body .mv-tabbar i { display: flex; font-style: normal; }
  html body .mv-tabbar .on, html body .mv-tabbar [aria-expanded=true] { color: #6d4fd6; }
  html body .mv-tabbar .on svg { stroke-width: 2.4; }
  html body .mv-tabbar .mv-tb-plus svg { fill: currentColor; stroke-width: 1; }
  html body .mv-tabbar a:focus-visible, html body .mv-tabbar button:focus-visible { outline: 3px solid #a78bfa; outline-offset: -3px; border-radius: 18px; }
  html body .mv-tabbar .mv-tb-test { color: #1c1450; }
  html body .mv-tabbar .mv-tb-test i { width: 50px; height: 50px; margin-top: -26px; border-radius: 50%; align-items: center; justify-content: center; background: #6d4fd6; border: 4px solid #fff; box-shadow: 0 8px 18px rgba(109,79,214,.4); }
  html body .mv-tabbar .mv-tb-test svg { width: 22px; height: 22px; fill: #fff; stroke: none; }
  html body.mv-has-tabs { padding-bottom: calc(92px + env(safe-area-inset-bottom)); }
  /* Panneau « Plus » : s'ouvre au-dessus de la barre ; le menu burger de l'en-tête devient inutile */
  html body .mv-sheet:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 64; }
  html body .mv-sh-fond { position: absolute; inset: 0; background: rgba(28,20,80,.32); }
  html body .mv-sh-pan { position: absolute; left: 12px; right: 12px; bottom: calc(86px + env(safe-area-inset-bottom)); max-height: calc(100vh - 140px); overflow-y: auto; padding: 14px; border-radius: 26px; background: #fff; box-shadow: 0 18px 44px rgba(28,20,80,.25); }
  html body .mv-sh-cpt { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 18px; background: #efe9fb; color: #1c1450; text-decoration: none; }
  html body .mv-sh-cpt i { display: flex; width: 42px; height: 42px; flex: none; border-radius: 50%; align-items: center; justify-content: center; background: #6d4fd6; }
  html body .mv-sh-cpt svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; }
  html body .mv-sh-cpt b { display: block; font-size: 16px; }
  html body .mv-sh-cpt small { font-size: 13px; color: #4b5266; }
  html body .mv-sh-promo { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 10px; padding: 14px 16px; border-radius: 18px; background: linear-gradient(135deg,#efe9fb,#fde8df); box-shadow: inset 0 0 0 2px #6d4fd6; color: #1c1450; text-decoration: none; }
  html body .mv-sh-pk { padding: 3px 10px; border-radius: 999px; background: #6d4fd6; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .6px; }
  html body .mv-sh-promo b { font-size: 16px; margin-top: 4px; }
  html body .mv-sh-promo small { font-size: 13px; line-height: 1.45; color: #4b5266; }
  html body .mv-sh-pb { margin-top: 4px; font-weight: 800; font-size: 14px; color: #6d4fd6; }
  html body .mv-sh-l { display: flex; flex-direction: column; margin-top: 6px; }
  html body .mv-sh-l a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 8px 0 6px; border-bottom: 1px solid #f0ebfb; color: #1c1450; font-weight: 700; font-size: 16px; text-decoration: none; }
  html body .mv-sh-l a:last-child { border-bottom: 0; }
  html body .mv-sh-l a span { font-size: 24px; color: #6d4fd6; }
  html body .mv-sh-l a.on { color: #6d4fd6; }
  html body .mv-sheet a:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
  html body.mv-sheet-on { overflow: hidden; }
  html body.mv-sheet-on #mva { display: none; }
  /* Menu ☰ de l'en-tête : supprimé sur téléphone (barre du bas + panneau « Plus » à la place, y compris pendant le test) */
  html body header.top .burger, html body header.top nav.menu { display: none !important; }
  html body.mv-has-tabs header.top .mv-hcta, html body.mv-on-test header.top .mv-hcta { display: none; }
  /* La bulle de l'assistant se pose au-dessus de la barre, sans recouvrir le contenu */
  html body.mv-has-tabs #mva { bottom: calc(90px + env(safe-area-inset-bottom)); right: 12px; }
  html body.mv-has-tabs #mva .mva-btn { width: 48px; height: 48px; }

  /* 10. Liens seuls sur leur ligne : zone tactile de 44 px */
  html body .mv-tap { display: inline-flex; align-items: center; min-height: 44px; }

  /* 11. Sections moins espacées : on gagne un écran sur les pages longues */
  html body .sf .sec { padding-top: 40px; padding-bottom: 40px; }
  html body .ix-hero { padding-top: 28px !important; }

  /* 12. Listes de cartes en carrousel horizontal (offres, pack famille) */
  html body .tf-grid, html body .pf-grid, html body .pf-mems { display: flex !important; gap: 12px !important; overflow-x: auto; scroll-snap-type: x mandatory; margin: 24px -18px 0 !important; padding: 4px 18px 14px; scrollbar-width: none; }
  html body .tf-grid::-webkit-scrollbar, html body .pf-grid::-webkit-scrollbar, html body .pf-mems::-webkit-scrollbar { display: none; }
  html body .pf-grid > *, html body .pf-mems > * { flex: 0 0 72%; scroll-snap-align: start; min-width: 0; }
  html body .tf-grid > * { flex: 0 0 86%; scroll-snap-align: start; min-width: 0; }

  /* 13. Étapes : numéro à gauche, texte à droite, au lieu d’une carte haute */
  html body .grid .card:has(> .ix-num) { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 14px; row-gap: 4px; padding: 16px; }
  html body .grid .card > .ix-num { grid-row: span 2; width: 44px; height: 44px; font-size: 19px; }
  html body .pf-step { display: flex; gap: 14px; align-items: flex-start; padding: 16px !important; }
  html body .pc-step { padding: 18px 16px !important; }
  html body .pc-visu { display: none !important; }

  /* 14. Formations : une ligne compacte par diplôme, « Voir la fiche » à droite */
  html body .fm-card { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 10px; row-gap: 3px; align-items: center; padding: 14px 14px 14px 16px; }
  html body .fm-card > * { grid-column: 1; margin: 0; min-width: 0; }
  html body .fm-card > .fm-tag { grid-column: 1; grid-row: 1; justify-self: start; }
  html body .fm-card > h3 { font-size: 18px; }
  html body .fm-card > .fm-more { grid-column: 2; grid-row: 1; margin: 0; }
  html body .fm-card > .fm-detail { grid-column: 1 / -1; }
  html body .fm-grid { gap: 10px !important; }
  html body .fm-card > .fm-sous { font-size: 13px; line-height: 1.35; }
  html body .fm-card > .fm-facts { display: flex !important; flex-direction: row !important; flex-wrap: wrap; font-size: 13px; gap: 2px 12px; }
  html body .fm-card > .fm-more { min-height: 44px; padding: 0 12px; font-size: 13px; }
  html body .pc small { font-size: 11px !important; }

  /* 16. Accueil : exemple de résultat plus compact, étiquettes des tests sur une ligne qui défile */
  html body .ix-res-mid svg { width: 124px !important; height: auto !important; flex: none; }
  html body .ix-tags { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  html body .ix-tags::-webkit-scrollbar { display: none; }
  html body .ix-tags > * { flex: none; }

  /* 15. Types RIASEC et dimensions Schwartz : détail replié, « Voir le détail » pour l’ouvrir */
  html body .mv-repli:not(.mv-open) > .rc-box, html body .mv-repli:not(.mv-open) > .ex-val, html body .mv-repli:not(.mv-open) > .ck, html body .mv-repli:not(.mv-open) > .pf-fine, html body .mv-repli:not(.mv-open) > .pc-ex, html body .mv-repli:not(.mv-open) > .pc-et { display: none !important; }
  html body .rc-card, html body .ex-dim { padding: 18px 16px !important; }
  html body .mv-more { display: flex; width: 100%; min-height: 44px; align-items: center; justify-content: space-between; margin-top: 6px; padding: 0 4px 0 0; border: 0; background: none; font-family: inherit; font-weight: 800; font-size: 14px; color: #4b3aa8; cursor: pointer; }
  html body .mv-more i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #6d4fd6; font-size: 20px; display: flex; align-items: center; justify-content: center; transition: transform .15s; }
  html body .mv-open > .mv-more i { transform: rotate(45deg); }
  html body .mv-more:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }

  /* 17. Onglets (offres des tarifs et de l'accueil, Pack Famille) : une carte à la fois */
  html body .mv-tabs { display: flex; gap: 4px; margin: 20px 0 12px; padding: 4px; border-radius: 999px; background: #efe9fb; }
  html body .mv-tabs button { flex: 1; min-width: 0; min-height: 44px; padding: 0 6px; border: 0; border-radius: 999px; background: transparent; font-family: inherit; font-weight: 800; font-size: 13px; color: #4b5266; cursor: pointer; }
  html body .mv-tabs button[aria-selected=true] { background: #fff; color: #1c1450; box-shadow: 0 2px 8px rgba(28,20,80,.10); }
  html body .mv-tabs button:focus-visible { outline: 3px solid #a78bfa; outline-offset: 2px; }
  html body .mv-tabbed { display: block !important; overflow: visible !important; margin: 0 !important; padding: 0 !important; }
  html body .mv-tabbed > * { width: auto !important; max-width: none !important; margin: 0 !important; }
  html body .mv-tabbed > :not(.mv-tab-on) { display: none !important; }

  /* 18. Exemple de rapport : aperçu coupé, « Voir tout l’exemple » */
  html body .mv-clamp:not(.mv-open) { max-height: 720px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
  html body .mv-voir { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 50px; margin: 8px 0 0; border: 1px solid #e3dcf7; border-radius: 999px; background: #fff; font-family: inherit; font-weight: 800; font-size: 15px; color: #1c1450; cursor: pointer; }


  /* 20. Formations : une ligne par diplôme (niveau, nom, durée et accès), fiche ouverte par la flèche */
  html body .fm-card { padding: 12px 8px 12px 14px !important; row-gap: 2px !important; }
  html body .fm-card > .fm-sous { display: none; }
  html body .fm-card > h3 { grid-row: 2; font-size: 16px; line-height: 1.3; margin: 0 !important; }
  html body .fm-card > .fm-facts { grid-row: 3; margin: 0 !important; }
  html body .fm-card > .fm-detail { grid-row: 4; grid-column: 1 / -1; }
  html body .fm-bar { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; margin-right: -18px; padding-right: 18px; }
  html body .fm-bar::-webkit-scrollbar { display: none; }
  html body .fm-bar > * { flex: none; }
  html body .fm-card > .fm-tag { font-size: 11px; }
  html body .fm-card > .fm-facts { font-size: 12px; gap: 0 10px; }
  html body .fm-card > .fm-facts > * { padding: 0 !important; background: none !important; }
  html body .fm-card > .fm-more { grid-row: 1 / span 3 !important; align-self: center; width: 44px; height: 44px; min-height: 44px; padding: 0 !important; border-radius: 50%; font-size: 0 !important; display: flex; align-items: center; justify-content: center; }
  html body .fm-card > .fm-more::after { content: ""; width: 9px; height: 9px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(-45deg); margin-left: -3px; transition: transform .15s; }
  html body .fm-card > .fm-more[aria-expanded=true]::after { transform: rotate(45deg); margin: -4px 0 0; }
  html body .fm-card > .fm-detail:not(:empty) { margin-top: 8px !important; }

  /* 21. Les tests : les 2 tests côte à côte, situations en lignes */
  html body .nt-tests { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px !important; }
  html body .nt-test { padding: 16px 14px !important; min-width: 0; }
  html body .nt-test .nt-tb { display: none !important; }
  html body .nt-bubs { display: flex !important; flex-direction: column; gap: 8px !important; }
  html body .nt-test .nt-tt > :first-child { font-size: 18px !important; line-height: 1.2 !important; }
  html body .nt-it { display: grid !important; grid-template-columns: minmax(0,1fr); width: auto !important; border: 1px solid #efe9fb; border-radius: 20px; overflow: hidden; background: #fff; }
  html body .nt-it > .nt-bub { width: auto !important; height: auto !important; min-height: 60px; border-radius: 0 !important; aspect-ratio: auto !important; flex-direction: row !important; justify-content: space-between !important; align-items: center !important; gap: 8px; padding: 12px 16px !important; box-shadow: none !important; text-align: left !important; }
  html body .nt-it > p { margin: 0 !important; padding: 10px 16px 12px; text-align: left !important; font-size: 13px; }

  /* 22. Accueil : badges sur une ligne, exemple de résultat et garanties plus compacts */
  html body .ix-hero-txt { min-width: 0; max-width: 100%; }
  html body .ix-chips { flex-wrap: nowrap !important; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
  html body .ix-chips::-webkit-scrollbar { display: none; }
  html body .ix-chips > * { flex: none; }
  html body .ix-trust { gap: 12px !important; }
  html body .ix-trust p { font-size: 13px !important; margin-top: 2px !important; }
  html body .ix-res { padding: 18px !important; }

  /* 23. Comment ça marche : numéro à gauche, texte à droite */
  html body .pc-step { display: grid !important; grid-template-columns: 44px minmax(0,1fr); column-gap: 14px; align-items: start; }
  html body .pc-step > .pc-n { width: 44px !important; height: 44px !important; font-size: 18px !important; margin: 0 !important; }

  /* 24. Blog : bannière de l'article à la une et situations plus compactes */
  html body .b3-ban { max-height: 120px; overflow: hidden; }
  html body .b3-ban > svg { max-height: 120px; width: auto; }
  html body .b3-sits { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px !important; overflow: visible !important; }
  html body .b3-sit { width: auto !important; min-height: 64px; padding: 12px !important; }
  html body .b3-sit > svg { display: none; }
  /* 25. RIASEC et Schwartz : bouton « + » dans le coin de chaque carte, repères en 2 colonnes, sans grand visuel */
  html body .tx-hero > .tx-bub { display: none !important; }
  html body .mv-repli { position: relative; }
  html body .mv-repli > .mv-more { position: absolute; top: 10px; right: 8px; width: 44px; height: 44px; margin: 0; padding: 0; justify-content: center; }
  html body .mv-repli > .mv-more > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html body .mv-repli > :first-child { padding-right: 44px; }
  html body .tx-read ol { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px !important; }
  html body .tx-read ol > li { min-width: 0; padding: 12px !important; font-size: 13px; }
  /* 26. Accueil : les 5 situations, toutes visibles (sans glisser) : badge, question, flèche */
  html body .ix-cibles { display: flex !important; flex-direction: column; gap: 10px !important; margin: 24px 0 0 !important; }
  html body .ix-cible { display: grid !important; grid-template-columns: 48px minmax(0,1fr) 34px; grid-template-rows: auto auto; column-gap: 14px; row-gap: 2px; align-items: center; min-height: 80px; padding: 14px 14px 14px 16px !important; border-radius: 22px !important; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(28,20,80,.05); }
  html body .ix-cible::before { grid-row: 1 / span 2; grid-column: 1; width: 48px; height: 48px; border-radius: 16px; background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; letter-spacing: -.3px; box-shadow: 0 4px 10px rgba(28,20,80,.06); }
  html body .ix-cible:nth-child(1)::before { content: "2de"; color: #3f6212; }
  html body .ix-cible:nth-child(2)::before { content: "1re"; color: #1f6a43; }
  html body .ix-cible:nth-child(3)::before { content: "Tle"; color: #0e6378; }
  html body .ix-cible:nth-child(4)::before { content: "Sup"; color: #1d4f9e; }
  html body .ix-cible:nth-child(5)::before { content: "Pro"; color: #a12a47; }
  html body .ix-cible > span { grid-column: 2; grid-row: 1; font-size: 11px !important; letter-spacing: 1px; margin: 0 !important; }
  html body .ix-cible > b { grid-column: 2; grid-row: 2; font-size: 16px !important; line-height: 1.3 !important; margin: 0 !important; -webkit-hyphens: none; hyphens: none; }
  html body .ix-cible > small { display: none !important; }
  html body .ix-cible::after { content: ""; grid-column: 3; grid-row: 1 / span 2; width: 34px; height: 34px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236d4fd6' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center / 18px no-repeat; }

  /* 27. Prix des offres : une seule taille partout, 30 px sur téléphone (40 px sur ordinateur, dans les pages) */
  html body .tf-price { font-size: 30px !important; letter-spacing: -.5px; }
  html body .ix-price b { font-size: 30px !important; letter-spacing: -.5px; }
  html body .pf-price b { font-size: 30px !important; letter-spacing: -.5px; }
  html body .pf-c b { font-size: 30px !important; letter-spacing: -.5px; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  html body footer.bot .fh span, html body .mv-more i { transition: none; }
}
/* Écrans tactiles : pas d'effet de survol « collé » (une réponse semblait déjà choisie à la question suivante) */
@media (hover: none) {
  html body .opt:hover { border-color: #e3dcf7; background: #fff; }
  html body .opt.sel:hover { border-color: var(--v); background: #f3eefc; }
  html body .lvl:hover span { transform: none; }
  html body .opt, html body .lvl { -webkit-tap-highlight-color: transparent; }
}
