/* Guide « Impôts et fiscalité » (impots-neuf.html, impots.js). Repris : apparitions et barres (pourcontre.css), conseil (installer.css), notes (cout.css). */

/* ---------- simulateur ---------- */
.ip-simu { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); margin: 30px auto 0; max-width: 1060px; border-radius: 30px; overflow: hidden; background: #fff;
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 30px 50px -36px rgb(15 42 61 / .6); }
.ip-saisie { padding: 32px 34px; }
.ip-l { display: block; margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--b1); }
.ip-l2 { margin-top: 24px; }
.ip-champ { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; padding: 10px 18px; border-radius: 18px; background: var(--lb); border: 2px solid transparent; transition: border-color .3s; }
.ip-champ:focus-within { border-color: var(--b2); }
.ip-champ input { all: unset; flex: 1; min-width: 0; font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.ip-champ span { flex: none; font-size: 15px; font-weight: 700; color: var(--mute); }
.ip-eur { margin: 8px 0 0 4px; font-size: 14.5px; font-weight: 700; color: var(--mute); }
.ip-curseur { width: 100%; margin: 16px 0 0; accent-color: var(--b1); cursor: pointer; }
.ip-etape { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 50%; font-size: 12px; letter-spacing: 0; color: #fff; background: var(--b1); vertical-align: 1px; }
.ip-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ip-types button { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; cursor: pointer; background: #fff;
  border: 1px solid rgb(15 42 61 / .1); transition: transform .3s var(--courbe), background .3s, border-color .3s, box-shadow .3s; }
.ip-types button:hover { transform: translateY(-2px); border-color: var(--b2); }
.ip-types button:focus-visible { outline: 2px solid var(--b2); outline-offset: 3px; }
.ip-types i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border-radius: 13px; color: var(--b1); background: var(--lb); transition: background .3s, color .3s; }
.ip-types svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-types b { display: block; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.ip-types small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--mute); }
.ip-types button.on { background: linear-gradient(135deg, var(--b2), var(--b1)); border-color: transparent; box-shadow: 0 16px 30px -16px rgb(28 125 179 / .9); }
.ip-types button.on i { color: var(--b1); background: #fff; }
.ip-types button.on b, .ip-types button.on small { color: #fff; }
.ip-charge[hidden], .ip-bareme[hidden] { display: none; }
.ip-select { width: 100%; margin-top: 10px; padding: 12px 14px; border-radius: 14px; border: 1px solid rgb(15 42 61 / .14); font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); background: #fff; }

.ip-resultat { position: relative; padding: 32px 34px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 85% 0%, rgb(40 163 230 / .55), transparent 55%), radial-gradient(circle at 0% 100%, rgb(21 151 83 / .35), transparent 50%), #0f2a3d; }
.ip-res-sur { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 8px; border-radius: 999px; font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  color: #0f2a3d; background: #fde68a; }
.ip-res-sur svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-pays-res { display: grid; gap: 12px; margin-top: 18px; }
.ip-pr { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); }
.ip-pr img { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgb(255 255 255 / .15); }
.ip-pr-c { min-width: 0; }
.ip-pr small { display: block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .65); }
.ip-pr b { display: block; margin-top: 2px; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: #fde68a; }
.ip-pr em { display: block; margin-top: 3px; font-style: normal; font-size: 14px; line-height: 1.45; color: rgb(255 255 255 / .8); }
.ip-pr.rien { background: rgb(126 226 168 / .12); border-color: rgb(126 226 168 / .35); }
.ip-pr.rien b { color: #7ee2a8; }
.ip-pr.change { animation: pcEntre .45s var(--courbe); }
.ip-bareme-t { margin: 20px 0 0; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: rgb(255 255 255 / .65); }
.ip-phrase { margin: 16px 0 0; padding: 12px 16px; border-radius: 16px; font-size: 16px; line-height: 1.5; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .12); }
.ip-phrase b { color: #7ee2a8; }
.ip-phrase.change { animation: pcEntre .45s var(--courbe); }
.ip-tranches { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.ip-tranches li { display: grid; grid-template-columns: 150px minmax(0, 1fr) 110px; align-items: center; gap: 12px; opacity: .45; transition: opacity .4s; }
.ip-tranches li.actif { opacity: 1; }
.ip-tr-t b { display: block; font-size: 16px; font-weight: 800; }
.ip-tr-t small { display: block; font-size: 12px; color: rgb(255 255 255 / .65); }
.ip-tr-b { height: 10px; border-radius: 99px; background: rgb(255 255 255 / .12); overflow: hidden; }
.ip-tr-b i { display: block; width: var(--v, 0%); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7fd0f5, #28a3e6); transition: width .8s var(--courbe); transition-delay: calc(var(--i) * 80ms); }
.ip-tranches li:first-child .ip-tr-b i { background: linear-gradient(90deg, #7ee2a8, #159753); }
.ip-tranches li:last-child .ip-tr-b i { background: linear-gradient(90deg, #fde68a, #f59e0b); }
.ip-tranches em { justify-self: end; font-style: normal; font-size: 14.5px; font-weight: 800; white-space: nowrap; }
.ip-res-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: rgb(255 255 255 / .6); }

/* ---------- résidence fiscale ---------- */
.ip-res .tt p { max-width: 760px; }
.ip-jours { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; align-items: center; margin-top: 40px; padding: 30px 34px; border-radius: 28px;
  background: rgb(255 255 255 / .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgb(255 255 255 / .9); box-shadow: 0 30px 50px -36px rgb(15 42 61 / .55); }
.ip-jours h3 { margin: 12px 0 0; font-size: 24px; font-weight: 800; letter-spacing: -.01em; color: var(--ink); }
.ip-jours-t p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--txt); }
.ip-jours-c label { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.ip-jours-c label b { flex: none; color: var(--b1); }
.ip-jours-c input[type=range] { width: 100%; margin: 8px 0 18px; accent-color: var(--b1); cursor: pointer; }
.ip-verdict { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; color: #fff; background: linear-gradient(135deg, #8a97a3, #66737f); transition: background .4s; }
.ip-verdict.oui { background: linear-gradient(135deg, #1fb46a, var(--g)); }
.ip-verdict i { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgb(255 255 255 / .22); }
.ip-verdict svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ip-verdict:not(.oui) i { opacity: .5; }
.ip-verdict b { display: block; font-size: 17px; font-weight: 800; }
.ip-verdict small { display: block; font-size: 13.5px; line-height: 1.45; color: rgb(255 255 255 / .9); }
.ip-verdict.change { animation: ipPop .45s var(--courbe); }
@keyframes ipPop { 40% { transform: scale(1.03); } }

/* ---------- côté France ---------- */
.ip-fr { padding: 76px 0 64px; }
.ip-crit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.ip-crit article { position: relative; padding: 26px 24px 24px; border-radius: 24px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); overflow: hidden; }
.ip-crit-n { position: absolute; right: 14px; top: -14px; font-size: 96px; font-weight: 800; line-height: 1; color: rgb(255 255 255 / .06); }
.ip-crit i { display: grid; place-items: center; width: 48px; height: 48px; padding: 11px; border-radius: 15px; color: #0f2a3d; background: linear-gradient(135deg, #9fd8f7, #fde68a); }
.ip-crit svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-crit h3 { margin: 16px 0 0; font-size: 18px; font-weight: 800; color: #fff; }
.ip-crit p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.6; color: rgb(255 255 255 / .75); }
.ip-un-seul { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 22px auto 0; max-width: 820px; padding: 12px 20px; border-radius: 999px; text-align: center;
  font-size: 15px; font-weight: 700; color: #0f2a3d; background: #fde68a; }
.ip-un-seul svg { flex: none; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-fr-plus { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.ip-fr-plus article { display: flex; gap: 16px; padding: 22px 24px; border-radius: 22px; background: #fff; }
.ip-fr-plus i { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--b2), var(--b1)); }
.ip-fr-plus svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-fr-plus h3 { margin: 0; font-size: 17px; font-weight: 800; color: var(--ink); }
.ip-fr-plus p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--txt); }

/* ---------- conventions ---------- */
.ip-pays { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.ip-pays button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 10px; padding: 9px 22px 9px 10px; border-radius: 999px; cursor: pointer;
  font-size: 15.5px; font-weight: 800; color: var(--ink); background: #fff; box-shadow: 0 2px 4px rgb(15 42 61 / .06), 0 12px 24px -18px rgb(15 42 61 / .55); transition: transform .3s var(--courbe), background .3s, color .3s; }
.ip-pays button:hover { transform: translateY(-2px); }
.ip-pays button:focus-visible { outline: 2px solid var(--b2); outline-offset: 3px; }
.ip-pays img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.ip-pays button.on { color: #fff; background: linear-gradient(135deg, var(--b2), var(--b1)); box-shadow: 0 16px 30px -14px rgb(28 125 179 / .9); }
.ip-conv { max-width: 1060px; margin: 20px auto 0; }
.ip-conv[hidden] { display: none; }
.ip-conv-ref { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 14px; font-size: 13.5px; font-weight: 600; color: var(--mute); }
.ip-conv-ref svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-lignes { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ip-lignes li { display: grid; grid-template-columns: 44px minmax(0, 290px) 130px minmax(0, 1fr); align-items: center; gap: 18px; padding: 16px 20px; border-radius: 20px; background: #fff;
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 16px 30px -26px rgb(15 42 61 / .6); animation: pcEntre .5s var(--courbe) both; animation-delay: calc(var(--i) * 70ms); }
.ip-l-ic { display: grid; place-items: center; width: 44px; height: 44px; padding: 10px; border-radius: 14px; color: var(--b1); background: var(--lb); }
.ip-l-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-l-t b { display: block; font-size: 15.5px; font-weight: 800; color: var(--ink); }
.ip-l-t small { font-size: 12.5px; color: var(--mute); }
.ip-ou { justify-self: start; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 800; white-space: nowrap; }
.ip-ou.fr, .ip-ou.be { color: #fff; background: linear-gradient(135deg, #3b6fd1, #1c4fa8); }
.ip-ou.mu { color: #fff; background: linear-gradient(135deg, #1fb46a, var(--g)); }
.ip-ou.deux { color: #0f2a3d; background: #fde68a; }
.ip-l-p { font-size: 14.5px; line-height: 1.55; color: var(--txt); }

/* ---------- budget 2026-2027 : profils, phrase, frise datée ---------- */
.ip-bud-profils { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.ip-bud-profils button { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px 8px 8px; border-radius: 999px; cursor: pointer;
  font-size: 15px; font-weight: 800; color: var(--ink); background: #fff; box-shadow: 0 2px 4px rgb(15 42 61 / .06), 0 12px 24px -18px rgb(15 42 61 / .55);
  transition: transform .3s var(--courbe), background .3s, color .3s, box-shadow .3s; }
.ip-bud-profils button:hover { transform: translateY(-2px); }
.ip-bud-profils button:focus-visible { outline: 2px solid var(--b2); outline-offset: 3px; }
.ip-bud-profils i { display: grid; place-items: center; width: 32px; height: 32px; padding: 7px; border-radius: 50%; color: var(--b1); background: var(--lb); transition: background .3s, color .3s; }
.ip-bud-profils svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-bud-profils button.on { color: #fff; background: linear-gradient(135deg, var(--b2), var(--b1)); box-shadow: 0 16px 30px -14px rgb(28 125 179 / .9); }
.ip-bud-profils button.on i { color: var(--b1); background: #fff; }
.ip-bud-verdict { display: flex; align-items: center; gap: 16px; max-width: 860px; margin: 20px auto 0; padding: 18px 22px; border-radius: 24px; color: #fff;
  background: radial-gradient(circle at 90% 0%, rgb(40 163 230 / .5), transparent 55%), #0f2a3d; box-shadow: 0 24px 44px -30px rgb(15 42 61 / .9); }
.ip-bud-verdict > i { flex: none; display: grid; place-items: center; width: 46px; height: 46px; padding: 11px; border-radius: 50%; color: #0f2a3d; background: #fde68a; }
.ip-bud-verdict svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-bud-verdict span { font-size: 16px; line-height: 1.55; color: rgb(255 255 255 / .85); }
.ip-bud-verdict b { color: #fde68a; }
.ip-bud-verdict.change span { animation: pcEntre .45s var(--courbe); }

/* frise : la date à gauche, un point sur la ligne, les fiches à droite ; la ligne se remplit au défilement (--prog, impots.js) */
.ip-frise { position: relative; display: grid; gap: 34px; margin: 40px 0 0; padding: 0; list-style: none; --prog: 0; }
.ip-frise-ligne { position: absolute; left: 200px; top: 8px; bottom: 8px; width: 4px; margin-left: -2px; border-radius: 4px; background: rgb(15 42 61 / .1); }
.ip-frise-ligne i { position: absolute; left: 0; right: 0; top: 0; height: calc(var(--prog) * 100%); border-radius: inherit; background: linear-gradient(180deg, var(--b2), var(--g)); }
.ip-fe { display: grid; grid-template-columns: 200px minmax(0, 1fr); }
.ip-fe-date { position: relative; padding: 4px 34px 0 0; text-align: right; }
.ip-fe-date b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.15; color: var(--ink); }
.ip-fe-date small { display: inline-block; margin-top: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--b1); background: var(--lb); }
.ip-fe-point { position: absolute; right: -11px; top: 6px; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid rgb(15 42 61 / .15); transition: border-color .4s, box-shadow .4s, transform .4s var(--courbe); }
.ip-fe.passe .ip-fe-point { border-color: var(--b2); box-shadow: 0 0 0 6px rgb(40 163 230 / .18); transform: scale(1.1); }
.ip-fe-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; padding-left: 34px; }
.ip-ch { position: relative; display: flex; flex-direction: column; padding: 18px 20px 16px; border-radius: 22px; background: #fff; overflow: hidden;
  box-shadow: 0 2px 4px rgb(15 42 61 / .05), 0 22px 40px -30px rgb(15 42 61 / .6); opacity: 0; transform: translateY(20px);
  transition: opacity .6s var(--courbe), transform .6s var(--courbe), filter .4s, box-shadow .4s; }
.ip-fe.passe .ip-ch { opacity: 1; transform: none; }
.ip-fe.passe .ip-ch:nth-child(2) { transition-delay: .1s; }
.ip-fe.passe .ip-ch:nth-child(3) { transition-delay: .2s; }
.ip-ch::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--ton); }
.ip-ch.ton-vert { --ton: var(--g); --ton-c: #e6f6ed; }
.ip-ch.ton-bleu { --ton: var(--b2); --ton-c: var(--lb); }
.ip-ch.ton-orange { --ton: #f59e0b; --ton-c: #fef3c7; }
.ip-ch-tete { display: flex; align-items: center; gap: 12px; }
.ip-ch-ic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; padding: 9px; border-radius: 12px; color: var(--ton); background: var(--ton-c); }
.ip-ch-ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; }
.ip-ch h3 { margin: 0; font-size: 16px; font-weight: 800; line-height: 1.25; color: var(--ink); }
.ip-ch-vs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; }
.ip-ch-vs .av { font-size: 16px; font-weight: 700; color: var(--mute); text-decoration: line-through; text-decoration-color: rgb(224 86 86 / .7); text-decoration-thickness: 2px; }
.ip-ch-vs .fl { display: grid; place-items: center; color: var(--ton); }
.ip-ch-vs .fl svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.ip-fe.passe .ip-ch-vs .fl svg { animation: ipFl 1.8s var(--courbe) infinite; }
@keyframes ipFl { 0%, 60%, 100% { transform: none; } 30% { transform: translateX(5px); } }
.ip-ch-vs .ap { padding: 3px 12px; border-radius: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; color: var(--ton); background: var(--ton-c); }
.ip-ch-p { flex: 1; margin: 10px 0 0; font-size: 14px; line-height: 1.55; color: var(--txt); }
.ip-ch-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.ip-ch-tags span { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--mute); background: rgb(15 42 61 / .05); }
/* profil choisi : les fiches qui ne le concernent pas s'effacent, les autres ressortent */
.ip-bud[data-profil]:not([data-profil="tous"]) .ip-fe.passe .ip-ch.hors { filter: grayscale(1); opacity: .35; }
.ip-bud[data-profil]:not([data-profil="tous"]) .ip-ch.vise { box-shadow: 0 0 0 2px var(--ton), 0 26px 44px -26px rgb(15 42 61 / .6); }
.ip-centre { text-align: center; }

/* ---------- autres impôts ---------- */
.ip-autres { padding: 80px 0; }
.ip-cartes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.ip-carte { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 30px 50px -34px rgb(15 42 61 / .6); }
.ip-carte-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.ip-carte-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--courbe); }
.ip-carte:hover .ip-carte-photo img { transform: scale(1.07); }
.ip-carte-v { position: absolute; left: 14px; bottom: 14px; padding: 7px 14px; border-radius: 999px; font-size: 15px; font-weight: 800; color: #fff;
  background: rgb(15 42 61 / .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgb(255 255 255 / .3); }
.ip-carte-corps { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 22px; }
.ip-carte h3 { margin: 0; font-size: 19px; font-weight: 800; color: var(--ink); }
.ip-carte ul { display: grid; gap: 8px; margin: 12px 0 0; padding: 0; list-style: none; }
.ip-carte li { display: flex; gap: 9px; font-size: 14.5px; line-height: 1.5; color: var(--txt); }
.ip-carte li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--g); stroke-width: 2.4; }
.ip-carte-lien { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-size: 14.5px; font-weight: 800; color: var(--b1); text-decoration: none; }
.ip-carte-lien svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; transition: transform .3s var(--courbe); }
.ip-carte-lien:hover svg { transform: translateX(4px); }
.ip-rien { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.ip-rien p { display: flex; align-items: center; gap: 14px; margin: 0; padding: 16px 18px; border-radius: 20px; background: rgb(255 255 255 / .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ip-rien i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; padding: 11px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, #1fb46a, var(--g)); }
.ip-rien svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.6; }
.ip-rien b { display: block; font-size: 16px; font-weight: 800; color: var(--ink); }
.ip-rien small { display: block; font-size: 13px; line-height: 1.45; color: var(--mute); }

/* ---------- conseil sur fond nuit ---------- */
.ip-conseil { padding: 76px 0; }
.ip-conseil .in-reflexes li { color: var(--txt); }
.ip-conseil .in-conseil-act { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .ip-simu { grid-template-columns: minmax(0, 1fr); }
  .ip-jours { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ip-crit, .ip-cartes, .ip-rien { grid-template-columns: minmax(0, 1fr); }
  .ip-fr-plus { grid-template-columns: minmax(0, 1fr); }
  .ip-frise-ligne { left: 9px; }
  .ip-fe { grid-template-columns: minmax(0, 1fr); }
  .ip-fe-date { padding: 0 0 12px 36px; text-align: left; }
  .ip-fe-date b { display: inline; margin-right: 8px; font-size: 19px; }
  .ip-fe-point { left: -2px; right: auto; top: 3px; }
  .ip-fe-cartes { grid-template-columns: minmax(0, 1fr); padding-left: 36px; }
  .ip-lignes li { grid-template-columns: 44px minmax(0, 1fr); gap: 10px 14px; }
  .ip-ou { grid-column: 2; }
  .ip-l-p { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .ip-saisie, .ip-resultat { padding: 24px 18px; }
  .ip-types { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .ip-types button { padding: 10px 12px; }
  .ip-pr { padding: 14px; gap: 12px; }
  .ip-tranches li { grid-template-columns: 96px minmax(0, 1fr) 92px; gap: 8px; }
  .ip-tranches em { font-size: 13.5px; }
  .ip-jours { padding: 22px 18px; }
  .ip-pays button { padding: 8px 16px 8px 8px; font-size: 14.5px; }
  .ip-lignes li { padding: 14px; }
  .ip-bud-profils { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 22px -16px 0; padding: 2px 16px 8px; scrollbar-width: none; }
  .ip-bud-profils::-webkit-scrollbar { display: none; }
  .ip-bud-profils button { flex: none; }
  .ip-bud-verdict { padding: 16px; gap: 12px; }
  .ip-bud-verdict span { font-size: 15px; }
  .ip-un-seul { border-radius: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-tr-b i { transition: none; }
  .ip-lignes li { animation: none; }
  .ip-ch { opacity: 1; transform: none; transition: none; }
  .ip-fe.passe .ip-ch-vs .fl svg { animation: none; }
}

/* ---------- pays d'origine (France par défaut, Belgique, Suisse) : seuls les éléments [data-pv] du pays choisi restent ---------- */
html:not([data-pays="be"]):not([data-pays="ch"]) [data-pv]:not([data-pv~="fr"]),
html[data-pays="be"] [data-pv]:not([data-pv~="be"]),
html[data-pays="ch"] [data-pv]:not([data-pv~="ch"]) { display: none !important; }
.ip-depart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 18px 0 4px; }
.ip-depart > span { font-size: 14px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.ip-pays.ip-pays-g, .ip-pays.ip-pays-s { justify-content: flex-start; margin-top: 0; flex-wrap: wrap; gap: 8px; }
.ip-pays.ip-pays-g button, .ip-pays.ip-pays-s button { padding: 6px 16px 6px 6px; font-size: 14.5px; }
.ip-pays.ip-pays-g img, .ip-pays.ip-pays-s img { width: 26px; height: 26px; }
.ip-pays.ip-pays-s { margin: 10px 0 4px; }
.ip-pays.ip-pays-s button { background: var(--fond, #fff); box-shadow: inset 0 0 0 1.5px rgb(15 42 61 / .12); }
.ip-pays.ip-pays-s button.on { color: #fff; background: linear-gradient(135deg, var(--b2), var(--b1)); box-shadow: 0 12px 24px -14px rgb(28 125 179 / .9); }
.ip-credit { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; color: #7ee2a8; }
.ip-credit[hidden] { display: none; }
.ip-pays.ip-pays-n { margin: 0 0 28px; justify-content: flex-start; }
.ip-pays.ip-pays-n button { color: #fff; background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.ip-pays.ip-pays-n button.on { background: linear-gradient(135deg, var(--b2), var(--b1)); box-shadow: 0 16px 30px -14px rgb(0 0 0 / .6); }
.ip-pr img + img { margin-left: 0; }
@media (max-width: 640px) {
  .ip-pays.ip-pays-n { flex-wrap: wrap; }
  .ip-pays.ip-pays-n button { padding: 6px 14px 6px 6px; font-size: 14px; }
  .ip-pays.ip-pays-n img { width: 26px; height: 26px; }
}
