/* Dinarya v3 : l'outil de la direction A (scène de vraies valises à l'échelle), les résultats de la direction B (marchand franc),
   et ce qui manquait aux deux : compagnies dessinées à l'échelle, kilos de la famille, pèse-bagage, vérificateur.
   Une seule police (Instrument Sans), un gris neutre, un rouge pour agir, un vert pour « ça passe ». */
:root {
  --fond: #f3f3f2;
  --carte: #ffffff;
  --tuile: #f3f3f2;
  --tuile-2: #ebebe8;
  --encre: #121212;
  --encre-2: #5c5c58;
  --encre-3: #93938e;
  --filet: #e4e4e0;
  --filet-fort: #cfcfca;
  --rouge: #d7263d;
  --rouge-fonce: #b51c30;
  --vert: #0b7a4f;
  --vert-pale: #e6f3ec;
  --ambre: #b26a00;
  --rayon: 18px;
  --ombre: 0 1px 2px rgba(18, 18, 18, .05), 0 12px 32px rgba(18, 18, 18, .06);
  --ombre-forte: 0 2px 6px rgba(18, 18, 18, .06), 0 24px 60px rgba(18, 18, 18, .12);
  --police: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ressort: cubic-bezier(.34, 1.42, .64, 1);
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--fond); color: var(--encre); font-family: var(--police); font-size: 15px; line-height: 1.45; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, p { margin: 0; font-weight: 600; }
p { font-weight: 400; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--encre); outline-offset: 2px; border-radius: 8px; }
.chiffre, .tab { font-variant-numeric: tabular-nums; }
.evitement { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--encre); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.evitement:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ------------------------------------------------------------------ bandeau de confiance et en-tête */
.confiance { display: none; position: relative; z-index: 40; background: var(--encre); color: #fff; font-size: 12.5px; height: 34px; align-items: center; justify-content: center; gap: 30px; white-space: nowrap; overflow: hidden; }
body:not([data-vue="outil"]) .confiance { display: flex; }
.confiance span { display: inline-flex; align-items: center; gap: 7px; }
.confiance svg { width: 15px; height: 15px; opacity: .9; }
.confiance b { font-weight: 600; }
.entete { position: relative; z-index: 30; height: 64px; padding: 0 28px; display: flex; align-items: center; gap: 16px; }
body:not([data-vue="outil"]) .entete { background: var(--fond); border-bottom: 1px solid var(--filet); }
.logo { font-weight: 700; font-size: 25px; letter-spacing: -.04em; line-height: 1; text-decoration: none; }
.logo .i { position: relative; }
.logo .i::after { content: ""; position: absolute; left: 50%; top: -.04em; width: .23em; height: .23em; margin-left: -.115em; border-radius: 50%; background: var(--rouge); }
.tagline { font-size: 14px; color: var(--encre-2); padding-left: 14px; border-left: 1px solid var(--filet-fort); }
.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--encre-2); padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--encre); background: var(--tuile-2); }

/* ------------------------------------------------------------------ scène : les vraies valises, à l'échelle */
body[data-vue="outil"] { height: 100vh; height: 100svh; overflow: hidden; }
.scene { position: fixed; inset: 0; z-index: 1; overflow: hidden; background: var(--fond); }
body:not([data-vue="outil"]) .scene { display: none; }
/* le fondu « multiply » est porté par l'élément positionné lui-même : sinon le blanc des photos reste visible */
.vs { position: absolute; left: 0; top: 0; transform-origin: 0 0; mix-blend-mode: multiply; transition: transform .8s var(--ease), width .8s var(--ease), opacity .55s var(--ease), filter .55s var(--ease); }
.vs.heros { transition: transform .85s var(--ressort), width .85s var(--ressort), opacity .45s var(--ease), filter .45s var(--ease); }
.vs img { display: block; width: 100%; filter: brightness(var(--gain, 1)); user-select: none; -webkit-user-drag: none; }
.vs.flotte img { animation: flotte var(--duree, 7s) ease-in-out var(--delai, 0s) infinite; }
@keyframes flotte { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.vs.proche { opacity: .5; filter: saturate(.55); }
.vs.pale { opacity: .16; filter: grayscale(1); }
.etage .vs img { animation: atterrir .8s var(--ressort) both; }
.colonne:nth-child(2) .etage .vs img { animation-delay: .08s; }
.colonne:nth-child(3) .etage .vs img { animation-delay: .16s; }
@keyframes atterrir { from { transform: translateY(-36px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.vs.cache { opacity: 0 !important; pointer-events: none; }
.ombre-sol { position: absolute; left: 0; top: 0; height: 14px; border-radius: 50%; background: rgba(18, 18, 18, .16); filter: blur(6px); transition: transform .85s var(--ressort), width .85s var(--ressort), opacity .4s; pointer-events: none; }
.gabarit { position: absolute; left: 0; top: 0; z-index: 6; pointer-events: none; transition: transform .8s var(--ressort), width .8s var(--ressort), height .8s var(--ressort), opacity .35s; }
.gabarit svg { position: absolute; inset: -5px; width: calc(100% + 10px); height: calc(100% + 10px); overflow: visible; }
.gabarit .g-cadre { fill: none; stroke: #2a2a28; stroke-width: 3; stroke-linejoin: round; stroke-dasharray: var(--perim, 2000); stroke-dashoffset: var(--perim, 2000); }
.gabarit.visible .g-cadre { animation: tracer .9s var(--ease) .15s forwards; }
.gabarit .g-rail { fill: none; stroke: rgba(42, 42, 40, .22); stroke-width: 9; }
@keyframes tracer { to { stroke-dashoffset: 0; } }
.gabarit .g-plaque { position: absolute; left: 50%; bottom: calc(100% + var(--plaque, 16px)); transition: bottom .6s var(--ressort); transform: translateX(-50%); white-space: nowrap; text-align: center; font-size: 12px; line-height: 1.3; color: var(--encre-2); }
.gabarit .g-plaque b { display: block; font-size: 12.5px; color: var(--encre); font-weight: 600; }
.legende { position: absolute; left: 0; top: 0; z-index: 7; width: 230px; margin-left: -115px; text-align: center; font-size: 13px; line-height: 1.35; color: var(--encre-2); transition: transform .85s var(--ressort), opacity .35s; pointer-events: none; }
.legende b { display: block; font-weight: 600; color: var(--encre); font-size: 14px; }
.legende .l-kg { color: var(--vert); font-weight: 600; }
.cache { opacity: 0 !important; }

/* ------------------------------------------------------------------ accroche */
.accroche { position: fixed; z-index: 15; left: 50%; top: 78px; transform: translateX(-50%); width: min(760px, calc(100% - 40px)); text-align: center; font-size: 34px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.accroche .accroche-2 { display: block; margin-top: 10px; font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.45; color: var(--encre-2); }
body:not([data-etape="dest"]) .accroche, body:not([data-vue="outil"]) .accroche { opacity: 0; transform: translate(-50%, -10px); }

/* ------------------------------------------------------------------ carte question */
.carte { position: fixed; z-index: 20; left: 50%; bottom: 26px; transform: translateX(-50%); width: min(920px, calc(100% - 48px)); background: var(--carte); border-radius: 22px; box-shadow: var(--ombre-forte); padding: 22px 24px 22px; }
body:not([data-vue="outil"]) .carte { display: none; }
body[data-etape="cie"] .carte { width: min(1140px, calc(100% - 48px)); }
.c-tete { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: center; margin-bottom: 16px; }
.c-actions { display: flex; gap: 2px; }
.icone { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--encre); }
.icone:hover { background: var(--tuile); }
.icone[disabled] { opacity: .25; cursor: default; background: transparent; }
.icone svg { width: 19px; height: 19px; }
.c-titre { text-align: center; }
.c-titre h2 { font-size: 27px; letter-spacing: -.025em; line-height: 1.15; }
.c-titre p { margin-top: 5px; font-size: 14px; color: var(--encre-2); }
.c-titre p b { color: var(--encre); font-weight: 600; }
.c-fil { justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.progres { display: flex; gap: 4px; }
.progres i { width: 18px; height: 4px; border-radius: 2px; background: var(--filet); transition: background .3s; }
.progres i.fait { background: var(--encre); }
.progres i.courant { background: var(--rouge); }
.c-ctx { font-size: 12.5px; color: var(--encre-2); text-align: right; }
.options { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 8px; }
.option { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; min-height: 104px; padding: 14px 15px 14px; border: 0; border-radius: 13px; background: var(--tuile); transition: background .18s, box-shadow .18s, transform .12s; }
.option:hover, .option:focus-visible { background: var(--tuile-2); outline: none; }
.option:active { transform: scale(.985); }
.option[aria-pressed="true"] { background: var(--carte); box-shadow: inset 0 0 0 1.5px var(--encre); }
.option[disabled] { opacity: .38; cursor: not-allowed; }
.o-compte { font-size: 25px; font-weight: 600; letter-spacing: -.03em; line-height: 1; margin-bottom: auto; font-variant-numeric: tabular-nums; }
.o-compte small { font-size: 12.5px; font-weight: 500; letter-spacing: 0; color: var(--encre-2); margin-left: 5px; }
.option b { font-size: 15px; font-weight: 600; margin-top: 12px; line-height: 1.25; }
.option .o-aide { font-size: 12.5px; color: var(--encre-2); line-height: 1.3; }
.option.coche::after { content: ""; position: absolute; top: 11px; right: 11px; width: 18px; height: 18px; border-radius: 50%; background: var(--encre) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.c-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 13px; color: var(--encre-2); }
.c-pied a { color: var(--encre); font-weight: 600; text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 12px; font-size: 15px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .18s, transform .12s, box-shadow .18s; }
.btn:active { transform: scale(.985); }
.btn svg { width: 17px; height: 17px; }
.btn-rouge { background: var(--rouge); color: #fff; }
.btn-rouge:hover { background: var(--rouge-fonce); }
.btn-noir { background: var(--encre); color: #fff; }
.btn-noir:hover { background: #2b2b2b; }
.btn-contour { background: var(--carte); color: var(--encre); box-shadow: inset 0 0 0 1.5px var(--filet-fort); }
.btn-contour:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }

/* compagnies : ce qui est gratuit, dessiné à l'échelle */
.option.cie { min-height: 150px; padding-bottom: 12px; }
.cie-dessin { width: 100%; height: 66px; margin-bottom: 8px; }
.cie-dessin svg { height: 100%; overflow: visible; }
.cie-dessin .d-cab { fill: rgba(11, 122, 79, .08); stroke: var(--vert); stroke-width: 1.4; }
.cie-dessin .d-cab.payant { fill: none; stroke: var(--encre-3); stroke-dasharray: 3 2.5; }
.cie-dessin .d-obj { fill: rgba(11, 122, 79, .16); stroke: var(--vert); stroke-width: 1.4; }
.cie-dessin .d-sol { stroke: var(--filet-fort); stroke-width: 1; }
.cie-dessin text { font-size: 8.5px; fill: var(--encre-2); font-family: var(--police); }
.cie-ligne { font-size: 12.5px; color: var(--encre-2); line-height: 1.35; }
.cie-ligne em { font-style: normal; color: var(--vert); font-weight: 600; }
.cie-ligne .payant { color: var(--ambre); font-weight: 600; }

/* famille */
.famille { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: stretch; }
.compteurs { display: grid; gap: 8px; }
.pas { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 10px; background: var(--tuile); border-radius: 13px; padding: 12px 12px 12px 16px; }
.pas b { font-size: 15px; font-weight: 600; }
.pas span { display: block; font-size: 12.5px; color: var(--encre-2); }
.pas .stepper { display: flex; align-items: center; gap: 4px; }
.pas .stepper button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--carte); box-shadow: inset 0 0 0 1.5px var(--filet-fort); font-size: 20px; line-height: 1; display: grid; place-items: center; }
.pas .stepper button:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.pas .stepper button[disabled] { opacity: .3; cursor: default; }
.pas .stepper output { min-width: 28px; text-align: center; font-size: 20px; font-weight: 600; font-variant-numeric: tabular-nums; }
.bilan { background: var(--encre); color: #fff; border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.bilan .b-gros { font-size: 46px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.bilan .b-gros small { font-size: 20px; letter-spacing: -.01em; margin-left: 4px; }
.bilan p { font-size: 13.5px; color: #cfcfca; line-height: 1.4; }
.bilan p b { color: #fff; font-weight: 600; }
.bilan .b-valises { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0 2px; }
.bilan .b-valises i { display: block; width: 13px; height: 19px; border-radius: 3px; border: 1.5px solid #fff; opacity: .95; }
.bilan .b-valises i.cab { width: 10px; height: 14px; margin-top: 5px; border-color: #9a9a95; }
.bilan .b-valises i.bebe { width: 10px; height: 14px; margin-top: 5px; border-style: dashed; }
.bilan .b-note { font-size: 12px; color: #a9a9a4; }

/* ------------------------------------------------------------------ résultats */
.page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.res-tete { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; padding: 30px 0 4px; }
.res-tete > .btn { margin-top: 6px; flex: none; }
.res-tete h1 { font-size: 40px; letter-spacing: -.035em; line-height: 1.05; }
.res-tete .sous { margin-top: 8px; font-size: 16px; color: var(--encre-2); }
.res-tete .sous b { color: var(--encre); font-weight: 600; }
.puces { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; margin-top: 16px; }
.puce { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 9px 0 13px; border: 1.5px solid var(--encre); border-radius: 999px; background: var(--carte); font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.puce .x { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--encre); color: #fff; }
.puce .x svg { width: 10px; height: 10px; }
.puce:hover .x { background: var(--rouge); }
.puce.info { border-color: var(--filet); background: var(--tuile-2); font-weight: 500; padding-right: 13px; cursor: default; }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 26px; margin-top: 18px; }
.colonne { display: flex; flex-direction: column; min-width: 0; }
.etage { position: relative; height: 250px; border: 0; padding: 0; background: none; cursor: default; }
.etage .sol { position: absolute; left: 6%; right: 6%; bottom: 10px; height: 1px; background: var(--filet-fort); }
.etage .vs { transition: none; }
.etage .rang-court { display: none; }
.sans-photo { position: absolute; display: grid; place-items: center; text-align: center; border: 1.5px dashed var(--filet-fort); border-radius: 10px; color: var(--encre-3); font-size: 12px; line-height: 1.35; padding: 6px; background: rgba(255, 255, 255, .5); }
.sans-photo b { display: block; font-weight: 600; color: var(--encre-2); }
.panneau { position: relative; flex: 1; display: flex; flex-direction: column; background: var(--carte); border-radius: var(--rayon); padding: 22px 22px 20px; box-shadow: var(--ombre); }
.panneau.premier { box-shadow: inset 0 0 0 2px var(--rouge), var(--ombre); }
.badge { position: absolute; top: -13px; left: 20px; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 7px; background: var(--encre); color: #fff; font-size: 13px; font-weight: 600; }
.panneau.premier .badge { background: var(--rouge); }
.p-marque { font-size: 13.5px; color: var(--encre-2); margin-top: 4px; }
.panneau h2 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; min-height: 48px; margin-top: 2px; }
.prix-ligne { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.prix-gros { font-size: 40px; font-weight: 700; letter-spacing: -.04em; line-height: .95; font-variant-numeric: tabular-nums; white-space: nowrap; }
.prix-gros small { font-size: 20px; font-weight: 700; margin-left: 2px; }
.releve { margin-top: 7px; font-size: 12.5px; color: var(--encre-3); }

/* pèse-bagage */
.pese { margin-top: 16px; padding: 14px 14px 12px; border-radius: 14px; background: var(--tuile); }
.pese-haut { display: grid; grid-template-columns: 150px 1fr; gap: 14px; align-items: center; }
.cadran svg { display: block; width: 150px; height: 92px; overflow: visible; }
.cadran .arc-fond { fill: none; stroke: #e2e2de; stroke-width: 12; }
.cadran .arc-valise { fill: none; stroke: #77776f; stroke-width: 12; }
.cadran .arc-affaires { fill: none; stroke: var(--vert); stroke-width: 12; }
.cadran .arc-trop { fill: none; stroke: var(--rouge); stroke-width: 12; opacity: .85; }
.cadran .aiguille { stroke: var(--encre); stroke-width: 3; stroke-linecap: round; transform-origin: 75px 80px; transition: transform .75s var(--ressort); }
.cadran .pivot { fill: var(--encre); }
.cadran .grad { stroke: #b3b3ae; stroke-width: 1; }
.cadran .grad.maj { stroke: var(--encre-2); stroke-width: 1.4; }
.cadran text { font-size: 9.5px; fill: var(--encre-2); font-family: var(--police); font-variant-numeric: tabular-nums; }
.pese-chiffre { font-size: 34px; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--vert); }
.pese-chiffre small { font-size: 17px; margin-left: 2px; }
.pese-chiffre.trop { color: var(--rouge); }
.pese-texte { margin-top: 4px; font-size: 13px; color: var(--encre-2); line-height: 1.3; }
.pese-texte b { color: var(--encre); font-weight: 600; }
.charge { margin-top: 10px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 12.5px; color: var(--encre-2); }
.charge input[type=range] { width: 100%; accent-color: var(--encre); }
.charge output { min-width: 56px; text-align: right; font-weight: 600; color: var(--encre); font-variant-numeric: tabular-nums; }

.faits { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.35; }
.faits li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.faits svg { width: 16px; height: 16px; margin-top: 1px; }
.faits .ok svg { color: var(--vert); }
.faits .info svg { color: var(--encre-3); }
.defaut { margin-top: 12px; padding: 10px 12px; border-radius: 10px; background: #fff6e6; font-size: 13.5px; line-height: 1.35; }
.defaut b { font-weight: 600; }
.cta-note { margin-top: auto; padding-top: 14px; font-size: 12px; color: var(--encre-3); line-height: 1.35; }

/* famille dans les résultats */
.bloc { margin-top: 56px; }
.bloc-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.bloc-tete h2 { font-size: 26px; letter-spacing: -.025em; }
.bloc-tete p { margin-top: 4px; font-size: 14.5px; color: var(--encre-2); }
.kit { margin-top: 16px; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 12px; }
.kit-carte { background: var(--carte); border-radius: var(--rayon); padding: 20px 22px; box-shadow: var(--ombre); }
.kit-carte.noir { background: var(--encre); color: #fff; }
.kit-carte .k-gros { font-size: 44px; font-weight: 600; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.kit-carte .k-gros small { font-size: 19px; margin-left: 3px; }
.kit-carte p { margin-top: 8px; font-size: 14px; color: var(--encre-2); line-height: 1.4; }
.kit-carte.noir p { color: #cfcfca; }
.kit-carte.noir p b, .kit-carte p b { font-weight: 600; color: inherit; }
.kit-carte.noir p b { color: #fff; }
.kit-carte .k-titre { font-size: 13.5px; font-weight: 600; color: var(--encre-2); margin-bottom: 10px; }
.kit-carte.noir .k-titre { color: #cfcfca; }
.kit-carte .k-plus { color: var(--vert); }
.kit-carte.noir .k-plus { color: #6ee0a8; }

/* listes */
.liste { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ligne { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; background: var(--carte); border-radius: 14px; padding: 12px 16px 12px 10px; text-decoration: none; min-height: 96px; transition: box-shadow .18s; }
.ligne:hover { box-shadow: inset 0 0 0 1.5px var(--encre); }
.l-photo { position: relative; height: 76px; }
.l-nom { font-size: 14px; line-height: 1.3; min-width: 0; }
.l-nom b { display: block; font-weight: 600; }
.l-nom span { display: block; margin-top: 3px; color: var(--encre-2); font-size: 12.5px; }
.l-droite { text-align: right; }
.l-droite b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-droite span { display: block; font-size: 12px; color: var(--vert); font-weight: 600; white-space: nowrap; }
.exclues .ligne { background: transparent; box-shadow: inset 0 0 0 1px var(--filet-fort); }
.exclues .ligne:hover { box-shadow: inset 0 0 0 1.5px var(--encre-2); }
.exclues .l-photo .vs { opacity: .45; filter: grayscale(1); }
.exclues .l-nom span { color: var(--rouge); }
.notes { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; font-size: 14px; color: var(--encre-2); line-height: 1.5; }
.notes b { display: block; color: var(--encre); font-weight: 600; margin-bottom: 4px; }
.sources { margin-top: 16px; font-size: 12.5px; color: var(--encre-3); line-height: 1.5; max-width: 900px; }
.sources a { color: var(--encre-2); }
.duo { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.duo-carte { border-radius: var(--rayon); padding: 24px 26px; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.duo-carte h2 { font-size: 24px; letter-spacing: -.025em; line-height: 1.15; }
.duo-carte p { font-size: 14.5px; line-height: 1.45; }
.duo-carte .btn { align-self: flex-start; margin-top: 6px; }
.duo-carte.clair { background: var(--carte); box-shadow: var(--ombre); }
.duo-carte.clair p { color: var(--encre-2); }
.duo-carte.noir { background: var(--encre); color: #fff; }
.duo-carte.noir p { color: #cfcfca; }
.apercu { display: flex; gap: 12px; align-items: center; background: #1f1f1d; border-radius: 14px; padding: 12px; margin-top: 4px; }
.apercu .a-photo { position: relative; width: 58px; height: 70px; flex: none; background: #fff; border-radius: 10px; overflow: hidden; }
.apercu .a-photo .vs { transition: none; }
.apercu b { display: block; font-size: 14.5px; font-weight: 600; color: #fff; }
.apercu span { display: block; font-size: 12.5px; color: #bdbdb8; }
.pied { margin-top: 72px; padding: 28px 0 46px; border-top: 1px solid var(--filet); display: flex; justify-content: space-between; gap: 24px; font-size: 13px; color: var(--encre-2); }
.pied .logo { font-size: 19px; margin-right: 10px; }
.pied p { max-width: 680px; line-height: 1.5; }

/* ------------------------------------------------------------------ vérificateur */
.verif-tete { padding: 34px 0 6px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: end; }
.verif-tete h1 { font-size: 40px; letter-spacing: -.035em; line-height: 1.05; }
.verif-tete p { margin-top: 10px; font-size: 16px; color: var(--encre-2); }
.saisie { background: var(--carte); border-radius: var(--rayon); padding: 18px; box-shadow: var(--ombre); display: grid; gap: 12px; }
.saisie label { font-size: 12.5px; font-weight: 600; color: var(--encre-2); display: grid; gap: 5px; }
.saisie select, .saisie input { height: 44px; border: 1.5px solid var(--filet-fort); border-radius: 10px; padding: 0 12px; background: var(--carte); font-size: 15px; font-weight: 500; color: var(--encre); width: 100%; }
.saisie select:focus, .saisie input:focus { border-color: var(--encre); outline: none; }
.mesures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ou { text-align: center; font-size: 12px; color: var(--encre-3); }
.verdicts { margin-top: 22px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.verdict { display: grid; grid-template-columns: 92px 1fr; gap: 16px; align-items: center; background: var(--carte); border-radius: 16px; padding: 14px 18px 14px 14px; box-shadow: var(--ombre); }
.verdict .v-dessin svg { width: 92px; height: 92px; overflow: visible; }
.v-dessin .gab { fill: none; stroke: var(--encre-3); stroke-width: 1.2; stroke-dasharray: 3 2; }
.v-dessin .ta { fill: rgba(11, 122, 79, .14); stroke: var(--vert); stroke-width: 1.5; }
.v-dessin .ta.non { fill: rgba(215, 38, 61, .1); stroke: var(--rouge); }
.verdict h3 { font-size: 16px; letter-spacing: -.01em; }
.verdict .v-puces { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.vp { display: inline-flex; align-items: center; gap: 5px; height: 26px; padding: 0 9px; border-radius: 7px; font-size: 12.5px; font-weight: 600; }
.vp svg { width: 13px; height: 13px; }
.vp.oui { background: var(--vert-pale); color: var(--vert); }
.vp.non { background: #fde8eb; color: var(--rouge); }
.vp.paye { background: #fff3df; color: var(--ambre); }
.vp.na { background: var(--tuile); color: var(--encre-3); }
.verdict .v-raison { margin-top: 7px; font-size: 12.5px; color: var(--encre-2); line-height: 1.35; }
.v-resume { margin-top: 24px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.v-resume .k-gros { font-size: 44px; font-weight: 600; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.v-resume p { font-size: 15px; color: var(--encre-2); }

/* ------------------------------------------------------------------ méthode */
.methode-corps { padding: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.methode-corps h1 { font-size: 40px; letter-spacing: -.035em; line-height: 1.05; grid-column: 1 / -1; }
.methode-corps h2 { font-size: 19px; letter-spacing: -.015em; margin-bottom: 6px; }
.methode-corps p { font-size: 15px; color: var(--encre-2); line-height: 1.55; }

/* ------------------------------------------------------------------ barre mobile */
.barre-mobile { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .98); border-top: 1px solid var(--filet); box-shadow: 0 -8px 24px rgba(18, 18, 18, .08); transform: translateY(110%); transition: transform .35s var(--ease); }
.barre-mobile.visible { transform: translateY(0); }
.barre-mobile .bm-txt { flex: 1; min-width: 0; font-size: 12.5px; line-height: 1.25; color: var(--encre-2); }
.barre-mobile .bm-txt b { display: block; font-size: 15px; color: var(--encre); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.barre-mobile .btn { height: 44px; padding: 0 16px; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 860px) {
  .options { grid-template-columns: 1fr 1fr; }
  .famille { grid-template-columns: 1fr; }
  .kit { grid-template-columns: 1fr; }
  .duo { grid-template-columns: 1fr; }
  .verdicts { grid-template-columns: 1fr; }
  .verif-tete { grid-template-columns: 1fr; gap: 18px; }
  .methode-corps { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .entete { height: 54px; padding: 0 16px; }
  .logo { font-size: 22px; }
  .tagline { font-size: 12.5px; padding-left: 10px; }
  .nav { display: none; }
  .confiance { justify-content: center; font-size: 12px; }
  .confiance .c-2, .confiance .c-3 { display: none; }
  .accroche { top: 64px; font-size: 25px; }
  .accroche .accroche-2 { font-size: 14px; margin-top: 6px; }
  .carte { bottom: 10px; width: calc(100% - 16px); padding: 14px 12px 12px; border-radius: 18px; }
  .c-tete { grid-template-columns: 1fr auto; margin-bottom: 10px; }
  .c-titre { text-align: left; }
  .c-titre h2 { font-size: 21px; }
  .c-titre p { font-size: 12.5px; margin-top: 3px; }
  .c-tete .c-actions { order: 2; }
  .c-fil { display: none; }
  .options { gap: 6px; }
  .option { min-height: 84px; padding: 10px 11px 11px; }
  .o-compte { font-size: 21px; }
  .option b { font-size: 14px; margin-top: 7px; }
  .option .o-aide { font-size: 11.5px; }
  .option.cie { min-height: 0; }
  .cie-dessin { height: 40px; margin-bottom: 4px; }
  .cie-ligne { font-size: 11px; }
  .option.cie .o-aide-long { display: none; }
  .pas { padding: 9px 9px 9px 12px; }
  .pas .stepper button { width: 34px; height: 34px; }
  .bilan { padding: 12px 14px; flex-direction: row; align-items: center; gap: 12px; }
  .bilan .b-gros { font-size: 32px; }
  .bilan p { font-size: 12px; }
  .bilan .b-valises, .bilan .b-note { display: none; }
  .c-pied { margin-top: 10px; font-size: 12px; }
  .legende { width: 120px; margin-left: -60px; font-size: 11.5px; }
  .legende b { font-size: 12px; }
  .legende .l-long { display: none; }
  .gabarit .g-plaque { font-size: 10.5px; }
  .gabarit .g-plaque b { font-size: 11px; }

  .page { width: calc(100% - 24px); }
  .res-tete { display: block; padding: 18px 0 0; }
  .res-tete h1 { font-size: 27px; }
  .res-tete .sous { font-size: 14px; }
  .res-tete .btn { display: none; }
  .puces { flex-wrap: nowrap; overflow-x: auto; margin: 12px -12px 0; padding: 0 12px 2px; scrollbar-width: none; }
  .puces::-webkit-scrollbar { display: none; }
  .puce { flex: none; height: 32px; font-size: 13px; }
  .podium { gap: 0; margin-top: 8px; }
  .colonne { display: contents; }
  .etage { grid-row: 1; height: 190px; cursor: pointer; border-bottom: 2px solid transparent; }
  .etage .rang-court { display: block; position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-size: 12px; font-weight: 500; color: var(--encre-3); }
  .etage .sol { bottom: 26px; }
  .etage[aria-selected="true"] { border-bottom-color: var(--encre); }
  .etage[aria-selected="true"] .rang-court { color: var(--encre); font-weight: 600; }
  .panneau { grid-row: 2; grid-column: 1 / -1; display: none; margin-top: 18px; padding: 18px 16px 16px; }
  .panneau.actif { display: flex; }
  .panneau h2 { min-height: 0; font-size: 17px; }
  .prix-gros { font-size: 34px; }
  .pese-haut { grid-template-columns: 132px 1fr; gap: 10px; }
  .cadran svg { width: 132px; height: 81px; }
  .pese-chiffre { font-size: 29px; }
  .bloc { margin-top: 40px; }
  .bloc-tete { display: block; }
  .bloc-tete h2 { font-size: 21px; }
  .liste { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; gap: 12px; }
  .duo { margin-top: 40px; }
  .duo-carte { padding: 20px 18px; }
  .duo-carte h2 { font-size: 21px; }
  .pied { flex-direction: column; margin-top: 48px; padding-bottom: 96px; }
  .verif-tete h1, .methode-corps h1 { font-size: 28px; }
  .mesures { grid-template-columns: 1fr 1fr; }
  .verdict { grid-template-columns: 70px 1fr; padding: 12px; }
  .verdict .v-dessin svg { width: 70px; height: 70px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.fige .vs, .fige .gabarit, .fige .legende, .fige .ombre-sol { transition: none !important; }
