/* Catalogue 3 (Indépendants) : l'IMPA Guide (guides-impa.js), refait le 29/10 au soir.
 * Accueil : la recherche en grand, les problèmes fréquents en cartes, les branches. Page de résolution : le symptôme,
 * des étapes numérotées en gros titres avec beaucoup d'air, les détails repliés, « Ça marche » / « Toujours bloqué ».
 * Thème sombre par défaut et clair, posés sur le fond vivant commun : verre translucide, jamais de zone blanche plate.
 * Mouvement (personnalité « sobre ») : entrées 320 ms, courbe (0.2, 0, 0, 1), cascade de 40 ms au plus 240 ms ;
 * retour d'appui 120 ms ; tout s'arrête si la personne demande moins d'animations. */
.gi {
  --gi-a: #3b5bdb;                 /* bleu IMPA */
  --gi-a-doux: rgb(59 91 219 / .1);
  --gi-a-txt: #2f49b3;             /* texte bleu lisible (AA) sur le verre clair */
  --gi-verre: rgb(255 255 255 / .62);
  --gi-verre-fort: rgb(255 255 255 / .84);
  --gi-panneau: rgb(248 250 255 / .97);
  --gi-bord: rgb(var(--encre-rgb) / .08);
  --gi-ombre: 0 18px 44px -30px rgb(20 30 70 / .45), 0 1px 2px rgb(20 30 70 / .05);
  --gi-courbe: cubic-bezier(.2, 0, 0, 1);
}
html[data-theme="dark"] .gi {
  --gi-a: #9db0ff;                 /* bleu ciel IMPA */
  --gi-a-doux: rgb(157 176 255 / .12);
  --gi-a-txt: #b4c2ff;
  --gi-verre: rgb(22 27 44 / .62);
  --gi-verre-fort: rgb(26 32 52 / .88);
  --gi-panneau: rgb(20 25 41 / .97);
  --gi-bord: rgb(255 255 255 / .08);
  --gi-ombre: 0 22px 50px -30px rgb(0 0 0 / .8), 0 1px 0 rgb(255 255 255 / .04) inset;
}
.gi-ic { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* =================================================================== EN-TÊTE (accueil et branche) */
.gi-hero { position: relative; max-width: 920px; margin: clamp(28px, 6vw, 88px) auto 0; text-align: center; }
.gi-hero.petit { margin-top: clamp(20px, 4vw, 56px); }
.gi-kick { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 12px; margin: 0; font-size: 14px; color: var(--doux); }
.gi-badge { display: inline-flex; align-items: center; min-height: 30px; padding: 0 14px; border-radius: 999px; background: var(--gi-a-doux); color: var(--gi-a-txt); font-weight: 600; letter-spacing: .01em; box-shadow: inset 0 0 0 1px rgb(var(--encre-rgb) / .04); }
.gi-inclus { display: inline-flex; align-items: center; gap: 6px; }
.gi-inclus .gi-ic { width: 16px; height: 16px; color: var(--gi-a); stroke-width: 2; }
.gi-hero h1 { margin: 18px 0 0; font-size: clamp(38px, 6.4vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; text-shadow: 0 0 18px rgb(var(--papier-rgb) / .9); }
.gi-hero.petit h1 { font-size: clamp(34px, 5vw, 64px); }
.gi-sous { max-width: 40em; margin: 16px auto 0; font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.5; color: var(--doux); text-wrap: pretty; }
.gi-point { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }

/* =================================================================== LA BARRE DE RECHERCHE */
.gi-cherche { position: relative; z-index: 5; max-width: 760px; margin: 28px auto 0; text-align: left; }
.gi-cherche input {
  width: 100%; height: 60px; padding: 0 56px 0 56px; border: 1px solid var(--gi-bord); border-radius: 999px;
  background: var(--gi-verre-fort); -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  box-shadow: var(--gi-ombre); font: inherit; font-size: 17px; color: var(--encre);
  transition: border-color .2s, box-shadow .2s var(--gi-courbe), border-radius .16s;
}
.gi-cherche.grande input { height: 72px; padding-left: 62px; font-size: clamp(17px, 1.6vw, 20px); }
.gi-cherche input::placeholder { color: var(--faible); }
.gi-cherche input:focus { outline: none; border-color: var(--gi-a); box-shadow: 0 0 0 5px var(--gi-a-doux), var(--gi-ombre); }
.gi-cherche.ouverte input { border-radius: 30px 30px 18px 18px; }
.gi-cherche.grande.ouverte input { border-radius: 36px 36px 18px 18px; }
.gi-loupe { position: absolute; z-index: 1; left: 21px; top: 30px; margin-top: -11px; width: 22px; height: 22px; color: var(--doux); pointer-events: none; }
.gi-cherche.grande .gi-loupe { left: 24px; top: 36px; margin-top: -12px; width: 24px; height: 24px; }
.gi-effacer { position: absolute; z-index: 1; right: 10px; top: 30px; margin-top: -20px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--doux); cursor: pointer; }
.gi-cherche.grande .gi-effacer { top: 36px; right: 14px; }
.gi-effacer:hover { background: rgb(var(--encre-rgb) / .07); color: var(--encre); }
.gi-effacer[hidden] { display: none; }
.gi-effacer .gi-ic { width: 18px; height: 18px; }
.gi-res {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); max-height: min(420px, 62vh); overflow: auto; padding: 8px;
  border-radius: 22px; background: var(--gi-panneau); -webkit-backdrop-filter: saturate(160%) blur(20px); backdrop-filter: saturate(160%) blur(20px);
  border: 1px solid var(--gi-bord); box-shadow: 0 30px 60px -28px rgb(10 16 40 / .55);
  animation: gi-tombe .18s var(--gi-courbe);
}
.gi-res[hidden] { display: none; }
.gi-res [role=option] { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 14px; border-radius: 16px; text-decoration: none; color: var(--encre); }
.gi-res [role=option] > .gi-ic { width: 18px; height: 18px; color: var(--faible); transition: transform .2s var(--gi-courbe); }
.gi-res [role=option][aria-selected="true"], .gi-res [role=option]:hover { background: var(--gi-a-doux); }
.gi-res [role=option][aria-selected="true"] > .gi-ic { color: var(--gi-a-txt); transform: translateX(3px); }
.gi-o-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.gi-o-txt b { font-weight: 600; font-size: 16px; line-height: 1.3; }
.gi-o-txt small { margin-top: 2px; font-size: 14px; line-height: 1.4; color: var(--doux); }
.gi-vide { padding: 14px 16px 16px; }
.gi-vide p { margin: 0 0 6px; color: var(--doux); }
.gi-vide p b { color: var(--encre); font-weight: 600; }
.gi-vide .bouton { margin-top: 10px; }
.gi-essais { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 18px 0 0; font-size: 14px; color: var(--faible); }
.gi-essais button { min-height: 38px; padding: 0 15px; border: 1px solid var(--gi-bord); border-radius: 999px; background: var(--gi-verre); color: var(--texte2); font-size: 14px; cursor: pointer; transition: border-color .2s, transform .12s var(--gi-courbe), background .2s; }
.gi-essais button:hover { border-color: var(--gi-a); color: var(--encre); }
.gi-essais button:active { transform: scale(.97); }
.gi-barre-haut { max-width: 760px; margin: 18px auto 0; }
.gi-barre-haut .gi-cherche { margin-top: 0; }

/* =================================================================== SECTIONS ET CARTES */
.gi-sec { max-width: 1180px; margin: clamp(56px, 8vw, 110px) auto 0; }
.gi-sec-tete { margin-bottom: 22px; }
.gi-sec-tete h2 { margin: 0; font-size: clamp(25px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -.025em; font-weight: 500; text-shadow: 0 0 12px rgb(var(--papier-rgb) / .9); }
.gi-sec-tete p { max-width: 46em; margin: 8px 0 0; color: var(--doux); font-size: 16px; }
.gi-cartes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.gi-cartes li { animation: gi-entre .32s var(--gi-courbe) both; animation-delay: calc(min(var(--i, 0), 6) * 40ms); }
.gi-carte {
  position: relative; display: flex; flex-direction: column; height: 100%; padding: 20px 22px 18px; border-radius: 22px;
  background: var(--gi-verre); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px);
  border: 1px solid var(--gi-bord); box-shadow: var(--gi-ombre); text-decoration: none; color: var(--encre);
  transition: transform .22s var(--gi-courbe), border-color .22s, box-shadow .22s;
}
.gi-carte:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--gi-a) 55%, transparent); }
.gi-carte:active { transform: translateY(-1px) scale(.99); }
.gi-carte:focus-visible { outline-offset: 4px; border-radius: 24px; }
.gi-carte-haut { display: flex; align-items: center; justify-content: space-between; }
.gi-pastille-ic { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 13px; background: var(--gi-a-doux); color: var(--gi-a-txt); }
.gi-pastille-ic .gi-ic { width: 21px; height: 21px; }
.gi-pastille-ic.grand { width: 48px; height: 48px; border-radius: 15px; }
.gi-pastille-ic.grand .gi-ic { width: 25px; height: 25px; }
.gi-carte-t { margin-top: 18px; font-size: 19px; line-height: 1.25; font-weight: 600; letter-spacing: -.012em; text-wrap: balance; }
.gi-carte-s { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--doux); text-wrap: pretty; }
.gi-carte-pied { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 18px; font-size: 13.5px; font-weight: 500; color: var(--gi-a-txt); }
.gi-carte-pied .gi-ic { width: 18px; height: 18px; transition: transform .22s var(--gi-courbe); }
.gi-carte:hover .gi-carte-pied .gi-ic { transform: translateX(4px); }

/* les branches */
.gi-branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gi-branches li { animation: gi-entre .32s var(--gi-courbe) both; animation-delay: calc(min(var(--i, 0), 6) * 30ms); }
.gi-branches a { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 12px 18px; border-radius: 18px; background: var(--gi-verre); border: 1px solid var(--gi-bord); text-decoration: none; color: var(--encre); transition: border-color .2s, transform .2s var(--gi-courbe); }
.gi-branches a:hover { border-color: var(--c); transform: translateY(-2px); }
.gi-branches span { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.gi-branches b { font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.gi-branches small { font-size: 13.5px; color: var(--doux); }
.gi-branches .gi-ic { width: 18px; height: 18px; color: var(--faible); }

/* contact */
.gi-contact { display: flex; align-items: center; gap: 22px; max-width: 1180px; margin: clamp(56px, 8vw, 110px) auto 0; padding: clamp(22px, 3vw, 34px); border-radius: 26px; background: linear-gradient(120deg, var(--gi-a-doux), transparent 70%), var(--gi-verre); border: 1px solid var(--gi-bord); box-shadow: var(--gi-ombre); }
.gi-contact-ic { display: grid; place-items: center; width: 56px; height: 56px; flex: none; border-radius: 18px; background: var(--gi-a); color: #fff; }
html[data-theme="dark"] .gi-contact-ic { color: #0b1020; }
.gi-contact-ic .gi-ic { width: 26px; height: 26px; }
.gi-contact-txt { flex: 1; min-width: 0; }
.gi-contact h2 { margin: 0; font-size: clamp(20px, 2vw, 25px); line-height: 1.2; font-weight: 500; letter-spacing: -.02em; }
.gi-contact p { margin: 6px 0 0; color: var(--doux); }
.gi-contact .bouton, .gi-vide .bouton:not(.second), .gi-hero .bouton, .gi-sec .bouton { background: var(--gi-a); color: #fff; }
html[data-theme="dark"] .gi-contact .bouton, html[data-theme="dark"] .gi-sec .bouton { color: #0b1020; }

/* =================================================================== LA PAGE DE RÉSOLUTION */
.gi-res-page { max-width: 860px; margin: clamp(32px, 5vw, 64px) auto 0; }
.gi-res-tete .gi-kick { justify-content: flex-start; }
.gi-res-tete h1 { margin: 22px 0 0; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; text-shadow: 0 0 18px rgb(var(--papier-rgb) / .9); }
.gi-symptome { display: flex; flex-direction: column; gap: 6px; margin: 24px 0 0; padding: 18px 22px; border-radius: 18px; background: var(--gi-verre); border: 1px solid var(--gi-bord); border-left: 4px solid var(--gi-a); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; }
.gi-symptome span { font-size: 14.5px; font-weight: 600; color: var(--gi-a-txt); }

.gi-etapes { position: relative; display: grid; gap: clamp(14px, 2vw, 20px); margin: clamp(36px, 5vw, 56px) 0 0; padding: 0; list-style: none; }
.gi-etapes li { position: relative; display: flex; gap: clamp(16px, 2.4vw, 26px); align-items: flex-start; padding: clamp(18px, 2.4vw, 26px) clamp(18px, 2.6vw, 30px); border-radius: 22px; background: var(--gi-verre); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border: 1px solid var(--gi-bord); box-shadow: var(--gi-ombre); animation: gi-entre .32s var(--gi-courbe) both; animation-delay: calc(min(var(--i, 0), 6) * 40ms); }
.gi-num { display: grid; place-items: center; width: clamp(44px, 4vw, 54px); height: clamp(44px, 4vw, 54px); flex: none; border-radius: 50%; background: var(--gi-a); color: #fff; font: 600 clamp(19px, 1.8vw, 23px)/1 "Geist", system-ui, sans-serif; font-variant-numeric: tabular-nums; box-shadow: 0 8px 20px -10px var(--gi-a); }
html[data-theme="dark"] .gi-num { color: #0b1020; }
.gi-etape { min-width: 0; padding-top: 4px; }
.gi-etape h2 { margin: 0; font-size: clamp(20px, 2.1vw, 27px); line-height: 1.22; letter-spacing: -.02em; font-weight: 600; text-wrap: balance; }
.gi-etape p { margin: 8px 0 0; font-size: clamp(15.5px, 1.4vw, 17px); line-height: 1.55; color: var(--doux); text-wrap: pretty; }
.gi-etapes.petites .gi-etape p { margin: 0; color: var(--encre); font-size: 17px; }

/* les plis (détails repliés) */
.gi-plis { display: grid; gap: 10px; margin: clamp(28px, 4vw, 44px) 0 0; }
.gi-sec .gi-plis { margin-top: 0; }
.gi-pli { border-radius: 18px; background: var(--gi-verre); border: 1px solid var(--gi-bord); transition: border-color .2s, background .2s; }
.gi-pli[open] { background: var(--gi-verre-fort); border-color: color-mix(in srgb, var(--gi-a) 30%, transparent); }
.gi-pli summary { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 18px 10px 20px; cursor: pointer; list-style: none; font-size: 17px; font-weight: 500; border-radius: 18px; }
.gi-pli summary::-webkit-details-marker { display: none; }
.gi-pli summary:hover { background: rgb(var(--encre-rgb) / .03); }
.gi-pli summary:focus-visible { outline-offset: 2px; }
.gi-chev { margin-left: auto; width: 20px; height: 20px; color: var(--faible); transition: transform .24s var(--gi-courbe); }
.gi-pli[open] .gi-chev { transform: rotate(180deg); }
.gi-pli > div { padding: 0 20px 20px; animation: gi-ouvre .24s var(--gi-courbe); }
.gi-pli > div > p { margin: 0; max-width: 62ch; color: var(--texte2); line-height: 1.6; }
.gi-pli-t { min-width: 0; flex: 1 1 auto; font-weight: 600; line-height: 1.3; }
.gi-formule { flex: none; padding: 4px 10px; border-radius: 999px; background: rgb(var(--encre-rgb) / .06); font-size: 12.5px; font-weight: 500; color: var(--doux); }
.gi-pli-corps { display: grid; gap: 18px; padding-top: 6px !important; }
.gi-ligne { display: grid; grid-template-columns: 180px 1fr; gap: 6px 24px; padding-top: 16px; border-top: 1px solid var(--gi-bord); }
.gi-ligne:first-child, .gi-fr + .gi-ligne { border-top: 0; padding-top: 0; }
.gi-ligne h4 { margin: 2px 0 0; font-size: 15px; font-weight: 600; color: var(--doux); }
.gi-ligne p { margin: 0 0 6px; line-height: 1.6; color: var(--texte2); }
.gi-ligne b { font-weight: 600; color: var(--encre); }
.gi-quand, .gi-puces, .gi-onglets, .gi-coches, .gi-liens, .gi-mini { margin: 0; padding: 0; list-style: none; }
.gi-quand li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 16px; padding: 8px 0; border-bottom: 1px dashed var(--gi-bord); }
.gi-quand li:last-child { border-bottom: 0; }
.gi-quand span { color: var(--doux); font-size: 14.5px; }
.gi-puces { display: flex; flex-wrap: wrap; gap: 8px; }
.gi-puces li { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 0 12px; border-radius: 999px; background: rgb(var(--encre-rgb) / .05); font-size: 14px; }
.gi-puces .gi-ic { width: 16px; height: 16px; color: var(--doux); }
.gi-onglets li { display: flex; flex-direction: column; padding: 6px 0; }
.gi-onglets span { color: var(--doux); font-size: 14.5px; }
.gi-discret { margin-top: 8px !important; font-size: 14px; color: var(--faible) !important; }
.gi-coches li { display: flex; gap: 10px; align-items: flex-start; padding: 4px 0; color: var(--texte2); }
.gi-coches .gi-ic { width: 18px; height: 18px; margin-top: 3px; color: var(--gi-a); stroke-width: 2; }
.gi-mini { display: grid; gap: 6px; padding-left: 20px; color: var(--texte2); line-height: 1.55; }
ol.gi-mini { list-style: decimal; }
ul.gi-mini { list-style: disc; }
.gi-liens { display: grid; gap: 6px; }
.gi-liens a { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 6px 12px; border-radius: 14px; background: var(--gi-a-doux); color: var(--encre); text-decoration: none; font-weight: 500; transition: transform .2s var(--gi-courbe); }
.gi-liens a:hover { transform: translateX(3px); }
.gi-liens a span { flex: 1; }
.gi-liens .gi-ic { width: 18px; height: 18px; color: var(--gi-a-txt); }
.gi-pli-lien { margin: 0; }
.gi-pli-lien a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--gi-a-txt); font-weight: 500; text-decoration: none; }
.gi-pli-lien a:hover { text-decoration: underline; text-underline-offset: 3px; }
.gi-pli-lien .gi-ic { width: 17px; height: 17px; }
.gi-fr { margin: 0; font-size: 13px; color: var(--faible); }

/* « Est-ce réglé ? » */
.gi-regle { margin: clamp(36px, 5vw, 56px) 0 0; padding: clamp(22px, 3vw, 32px); border-radius: 26px; text-align: center; background: var(--gi-verre); border: 1px solid var(--gi-bord); box-shadow: var(--gi-ombre); }
.gi-regle h2 { margin: 0; font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -.02em; }
.gi-regle-boutons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 18px; }
.gi-regle-boutons .bouton { min-width: 190px; min-height: 54px; font-size: 16px; }
.gi-regle .bouton:not(.second) { background: var(--gi-a); color: #fff; }
html[data-theme="dark"] .gi-regle .bouton:not(.second) { color: #0b1020; }
.gi-regle .bouton.second { background: transparent; }
.gi-regle .bouton[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--gi-a-doux); }
.gi-regle-ok, .gi-regle-non { margin-top: 20px; animation: gi-entre .3s var(--gi-courbe) both; }
.gi-regle-ok[hidden], .gi-regle-non[hidden] { display: none; }
.gi-regle-ok { display: flex; align-items: center; justify-content: center; gap: 12px; }
.gi-regle-ok p, .gi-regle-non p { margin: 0; color: var(--texte2); font-size: 16.5px; }
.gi-regle-non p { max-width: 36em; margin: 0 auto 16px; }
.gi-coche { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #1f9d62; color: #fff; animation: gi-pop .34s cubic-bezier(.175, .885, .32, 1.275) both; }
.gi-coche .gi-ic { width: 22px; height: 22px; stroke-width: 2.2; }

/* =================================================================== MOUVEMENT */
@keyframes gi-entre { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes gi-tombe { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@keyframes gi-ouvre { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@keyframes gi-pop { from { transform: scale(.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .gi *, .gi *::before, .gi *::after { animation: none !important; transition: none !important; }
}

/* =================================================================== TÉLÉPHONE */
@media (max-width: 720px) {
  .gi-hero { text-align: left; }
  .gi-kick { justify-content: flex-start; }
  .gi-sous { margin-left: 0; }
  .gi-essais { justify-content: flex-start; }
  .gi-essais span { flex: 1 1 100%; }
  .gi-cherche.grande input { height: 62px; padding-left: 52px; font-size: 16.5px; }
  .gi-cherche.grande .gi-loupe { left: 19px; top: 31px; margin-top: -11px; width: 22px; height: 22px; }
  .gi-cherche.grande .gi-effacer { top: 31px; right: 10px; }
  .gi-cherche input { font-size: 16px; }
  .gi-res { max-height: 56vh; }
  .gi-contact { flex-direction: column; align-items: flex-start; }
  .gi-contact .bouton { width: 100%; }
  .gi-ligne { grid-template-columns: 1fr; gap: 8px; }
  .gi-pli summary { flex-wrap: wrap; padding: 12px 14px 12px 16px; }
  .gi-log summary .gi-pli-t { flex: 1 1 calc(100% - 60px); order: 2; }
  .gi-log summary .gi-formule { order: 3; }
  .gi-log summary .gi-chev { order: 1; margin-left: auto; }
  .gi-pli > div { padding: 0 16px 18px; }
  .gi-regle-boutons .bouton { flex: 1 1 100%; }
  .gi-etapes li { gap: 14px; }
}

/* =================================================================== 02/11 : cartes sans numéro, page de résolution utile,
 * guide complet d'un logiciel, gestes à retenir, note honnête sur l'application IMPA (en préparation) */
.gi-carte-m { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--texte2); }
.gi-appli { max-width: 46em; margin: 22px auto 0; padding: 12px 16px; border-radius: 14px; background: var(--gi-verre); border: 1px solid var(--gi-bord); font-size: 15px; line-height: 1.5; color: var(--doux); text-align: left; }
.gi-sec .gi-appli { margin: 18px 0 0; }
.gi-gestes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.gi-gestes li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 20px; background: var(--gi-verre); border: 1px solid var(--gi-bord); animation: gi-entre .32s var(--gi-courbe) both; animation-delay: calc(min(var(--i, 0), 6) * 40ms); }
.gi-gestes .gi-num { width: 36px; height: 36px; font-size: 16px; box-shadow: none; }
.gi-gestes b { display: block; font-weight: 600; font-size: 16.5px; line-height: 1.3; }
.gi-gestes p { margin: 6px 0 0; color: var(--doux); font-size: 15px; line-height: 1.5; }
.gi-bloc { margin: clamp(22px, 3vw, 32px) 0 0; padding: clamp(20px, 2.6vw, 28px); border-radius: 22px; background: var(--gi-verre); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border: 1px solid var(--gi-bord); }
.gi-bloc h2 { margin: 0; font-size: clamp(20px, 2vw, 24px); line-height: 1.25; letter-spacing: -.015em; font-weight: 600; text-wrap: balance; }
.gi-bloc p { margin: 10px 0 0; font-size: clamp(16px, 1.4vw, 17.5px); line-height: 1.6; color: var(--texte2); text-wrap: pretty; }
.gi-metiers { display: grid; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.gi-metiers li { display: grid; grid-template-columns: minmax(120px, 200px) 1fr; gap: 4px 18px; padding: 12px 14px; border-radius: 14px; background: rgb(var(--encre-rgb) / .04); }
.gi-metiers b { font-weight: 600; }
.gi-metiers span { color: var(--texte2); line-height: 1.5; }
.gi-geste { border: 1px solid color-mix(in srgb, var(--gi-a) 45%, transparent); background: linear-gradient(120deg, var(--gi-a-doux), transparent 75%), var(--gi-verre-fort); }
.gi-geste-k { display: flex; align-items: center; gap: 8px; margin: 0 0 8px !important; font-size: 15px !important; font-weight: 600; color: var(--gi-a-txt) !important; }
.gi-geste-k .gi-ic { width: 18px; height: 18px; stroke-width: 2.2; }
.gi-geste h2 { font-size: clamp(22px, 2.4vw, 30px); }
.gi-equipe { display: flex; gap: 20px; align-items: flex-start; }
.gi-equipe > div:last-child { min-width: 0; flex: 1; }
.gi-equipe .bouton { margin-top: 16px; background: var(--gi-a); color: #fff; }
html[data-theme="dark"] .gi-equipe .bouton { color: #0b1020; }
.gi-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.gi-carte-large { padding: clamp(20px, 2.6vw, 30px); border-radius: 24px; background: var(--gi-verre); -webkit-backdrop-filter: saturate(150%) blur(14px); backdrop-filter: saturate(150%) blur(14px); border: 1px solid var(--gi-bord); }
.gi-sec.gi-carte-large { margin-top: clamp(28px, 4vw, 48px); }
.gi-carte-large .gi-sec-tete { margin-bottom: 16px; }
.gi-carte-large .gi-ligne + .gi-ligne { margin-top: 16px; }
.gi-h3 { margin: 26px 0 12px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.gi-deroule { display: grid; gap: 4px; margin: 0; padding: 0 0 0 4px; list-style: none; counter-reset: etape; }
.gi-deroule li { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--gi-bord); }
.gi-deroule li:last-child { border-bottom: 0; }
.gi-deroule .gi-ic { width: 18px; height: 18px; color: var(--gi-a-txt); }
.gi-deroule span { display: flex; flex-direction: column; min-width: 0; }
.gi-deroule b { font-weight: 500; }
.gi-deroule small { font-size: 13.5px; color: var(--doux); }
.gi-pli-haut { margin-bottom: 4px !important; }
.gi-pli-haut .bouton { background: var(--gi-a); color: #fff; }
html[data-theme="dark"] .gi-pli-haut .bouton { color: #0b1020; }
.gi-pli-lien { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.gi-logiciel .gi-hero .gi-formule { background: var(--gi-a-doux); color: var(--gi-a-txt); }
@media (max-width: 720px) {
  .gi-metiers li { grid-template-columns: 1fr; }
  .gi-equipe { flex-direction: column; }
  .gi-equipe .bouton { width: 100%; }
  .gi-actions { justify-content: flex-start; }
  .gi-actions .bouton { flex: 1 1 100%; }
  .gi-appli { margin-left: 0; }
}
