/* La page Tarifs : le simulateur. Les jetons sont ceux de plaquette.css. */
.simu { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--r2); padding: var(--e5); box-shadow: var(--o1); }
.simu .q { font: 600 var(--t2)/1.2 var(--titre); margin: 0; }
.simu .curseur { display: grid; grid-template-columns: 1fr auto; gap: var(--e4); align-items: center; margin: var(--e3) 0 6px; }
.simu input[type=range] { width: 100%; accent-color: var(--or); }
.simu .val { font: 600 var(--t4)/1 var(--titre); min-width: 190px; text-align: right; font-variant-numeric: tabular-nums; }
.simu .val small { font: 400 var(--t-1) var(--ui); color: var(--encre-3); display: block; margin-top: 4px; }
.simu .reperes { display: flex; justify-content: space-between; font: 400 var(--t-2)/1 var(--mono); color: var(--encre-3); margin-bottom: var(--e4); }
.simu .comptes { display: flex; align-items: center; gap: var(--e3); font-size: var(--t-1); color: var(--encre-3); flex-wrap: wrap; }
.simu .comptes input { width: 64px; padding: 5px 7px; border: 1px solid var(--bord-fort); border-radius: var(--r1); background: var(--champ); color: var(--encre); font: 400 var(--t-1) var(--mono); }
.simu .reponse { display: grid; grid-template-columns: 1.05fr 1fr 1fr 1.15fr; gap: var(--e3); margin-top: var(--e4); }
.simu .carte-s { background: var(--fond); border: 1px solid var(--bord); border-radius: var(--r1); padding: var(--e3) var(--e4); }
.simu .carte-s.conseil { border-color: var(--or); box-shadow: inset 0 3px 0 var(--or); }
.simu .carte-s .l { font: 600 var(--t-2)/1.3 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--encre-3); }
.simu .carte-s .g { font: 600 30px/1.1 var(--titre); margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.simu .carte-s .g small { font: 400 var(--t-1) var(--ui); color: var(--encre-3); }
.simu .carte-s .d { color: var(--encre-3); font-size: var(--t-1); line-height: 1.45; }
.simu .carte-s .d b { color: var(--encre); font-weight: 600; }
.simu .carte-s.face { background: var(--panneau); border-color: var(--panneau); color: var(--c-encre); }
.simu .carte-s.face .l { color: var(--c-encre-3); }
.simu .carte-s.face .g { color: var(--or); font-size: 26px; }
.simu .carte-s.face .g small { color: var(--c-encre-3); }
.simu .carte-s.face .d { color: var(--c-encre-2); }
.simu .carte-s.face .d b { color: var(--c-encre); }
.simu .autre { margin: var(--e3) 0 0; font-size: var(--t-1); color: var(--encre-3); }
.simu .compare { margin-top: var(--e4); border-top: 1px dashed var(--bord); padding-top: var(--e4); }
.simu .compare h3 { font-size: var(--t0); margin-bottom: var(--e2); }
.simu .compare table { font-size: var(--t-1); }
.simu .compare tr.nous td { font-weight: 600; background: #fbf5e4; }
@media (prefers-color-scheme: dark) { .simu .compare tr.nous td { background: #332b19; } }
.simu .note { margin-top: var(--e3); font-size: var(--t-2); }
@media (max-width: 900px) { .simu .reponse { grid-template-columns: 1fr 1fr; } .simu .val { min-width: 0; } }
@media (max-width: 560px) { .simu .reponse { grid-template-columns: 1fr; } }

/* Les quatre forfaits sur une seule rangée ; le prix un cran plus petit, sa mention dessous. */
.offres { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offre .prix { font-size: 36px; }
.offre .prix small { display: block; margin: 6px 0 0; }
@media (max-width: 1000px) { .offres { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .offres { grid-template-columns: 1fr; } }

/* Après le simulateur, un bandeau sombre de quatre pavés : les paliers de pages ajoutées, ou ce qui s'ajoute aux offres. */
.paliers { background: var(--panneau); color: var(--c-encre); border: 1px solid var(--c-bord); border-left: 4px solid var(--or); border-radius: var(--r2); padding: var(--e5) var(--e6); }
.paliers .intro-paliers { margin: 0 0 var(--e4); font-size: var(--t-1); color: var(--c-encre-2); }
.paliers .grille4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--e4); }
.paliers .off { text-align: center; }
.paliers .off .pages { font: 600 var(--t1)/1.2 var(--titre); color: var(--c-encre); }
.paliers .off .prix { font: 600 28px/1.2 var(--mono); color: var(--or); margin-top: 6px; font-variant-numeric: tabular-nums; }
.paliers .off .prix small { font: 500 var(--t-2)/1 var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--c-encre-3); }
.paliers .off .page-u { margin-top: 4px; font-size: var(--t-2); color: var(--c-encre-3); }
.paliers .garder { margin: var(--e4) 0 0; padding-top: var(--e4); border-top: 1px solid var(--c-bord); font-size: var(--t-1); color: var(--c-encre-2); }
.paliers .garder b { color: var(--or); }
@media (max-width: 700px) { .paliers .grille4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e3); } .paliers .off .prix { font-size: 24px; } }
@media (max-width: 420px) { .paliers .grille4 { grid-template-columns: 1fr; } }

/* La grille en crédits (français) : le tableau des cinq offres. Un conteneur qui défile, la colonne des
   titres figée à gauche ; « Simuler » ouvre le tiroir du simulateur juste sous le tableau. */
.gc-grille { min-width: 0; }
.gc-defile { overflow-x: auto; overscroll-behavior-x: contain; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--r2); }
.gc-tab { width: 100%; min-width: 1000px; table-layout: fixed; border-collapse: collapse; border: 0; border-radius: 0; overflow: visible; background: transparent; font-size: var(--t0); font-variant-numeric: tabular-nums; }
.gc-tab th, .gc-tab td { padding: var(--e3) 14px; border: 0; background: transparent; text-align: center; vertical-align: middle; text-transform: none; letter-spacing: 0; font: 400 var(--t-1)/1.5 var(--ui); color: var(--encre-2); }
.gc-tab thead th { padding-top: var(--e5); vertical-align: bottom; }
.gc-tab tbody tr { border-top: 1px solid var(--bord); }
.gc-tab tbody tr.gc-l-colle { border-top: 0; }
.gc-tab tbody tr.gc-l-colle th, .gc-tab tbody tr.gc-l-colle td { padding-top: 0; }
.gc-tab .gc-titre { position: sticky; left: 0; z-index: 2; width: 180px; text-align: left; background: var(--surface); font-weight: 500; font-size: var(--t-1); color: var(--encre); }
.gc-tab .gc-vedette, .gc-tab .gc-col-sim { background: var(--accent-2); }
/* Une autre colonne que la conseillée est simulée : la conseillée perd sa teinte. */
.gc-tab.gc-sim-autre .gc-vedette:not(.gc-col-sim) { background: transparent; }
/* Une bande de couleur en tête de chaque colonne, une couleur par offre ; la colonne conseillée (Standard) est en plus teintée. */
.gc-tab { --gc-b-essentiel: #86a393; --gc-b-chercheur: var(--accent); --gc-b-expert: var(--or); --gc-b-laboratoire: #8d7aab; --gc-b-anr: #c0705a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .gc-tab { --gc-b-essentiel: #6f9c86; --gc-b-laboratoire: #a796c4; --gc-b-anr: #d38468; } }
:root[data-theme="nuit"] .gc-tab { --gc-b-essentiel: #6f9c86; --gc-b-laboratoire: #a796c4; --gc-b-anr: #d38468; }
.gc-tab thead th[data-offre] { box-shadow: inset 0 4px 0 var(--gc-bande); }
.gc-tab thead th[data-offre="essentiel"] { --gc-bande: var(--gc-b-essentiel); }
.gc-tab thead th[data-offre="chercheur"] { --gc-bande: var(--gc-b-chercheur); }
.gc-tab thead th[data-offre="expert"] { --gc-bande: var(--gc-b-expert); }
.gc-tab thead th[data-offre="laboratoire"] { --gc-bande: var(--gc-b-laboratoire); }
.gc-tab thead th[data-offre="anr"] { --gc-bande: var(--gc-b-anr); }
.gc-nom { display: block; font: 600 var(--t1)/1.2 var(--titre); color: var(--encre); }
/* Qui est couvert, sous le nom : une personne, des comptes réglables (le Laboratoire), des comptes illimités. */
.gc-qui { display: block; margin-top: 4px; font: 500 var(--t-2)/1.3 var(--ui); color: var(--encre-3); }
.gc-qui-eq { color: var(--accent); }
/* Les comptes réglables du Laboratoire : même police, même interligne, donc même hauteur que .gc-qui ; les boutons
   tiennent dans la hauteur de ligne, leur zone de clic déborde. */
.gc-pas { display: flex; align-items: center; justify-content: center; gap: .45em; }
.gc-pas button { position: relative; flex: none; width: 1.3em; height: 1.3em; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: transparent; color: var(--accent); font: 600 1em/1 var(--ui); cursor: pointer; }
.gc-pas button::after { content: ""; position: absolute; inset: -8px; }
.gc-pas button:disabled { opacity: .35; cursor: default; }
.gc-pas output { min-width: 1.2em; text-align: center; font: inherit; color: var(--encre); font-variant-numeric: tabular-nums; }
.gc-sous-titre { display: block; margin-top: 2px; font-weight: 400; font-size: var(--t-2); line-height: 1.35; color: var(--encre-3); }
.gc-montant { display: block; font: 600 var(--t2)/1.15 var(--titre); color: var(--encre); white-space: nowrap; }
.gc-taxe { display: block; margin-top: 2px; font: 500 var(--t-2)/1.4 var(--mono); letter-spacing: .04em; color: var(--encre-3); }
.gc-sous { display: block; margin-top: 3px; font: 400 var(--t-2)/1.4 var(--mono); color: var(--encre-3); }
.gc-nb { display: block; font: 500 var(--t0) var(--mono); color: var(--encre); }
/* Aucune case ne passe à la ligne : le tableau défile de côté quand la place manque. */
.gc-tab thead th, .gc-tab td { white-space: nowrap; }
@media (min-width: 701px) { .gc-tab tbody th { white-space: nowrap; } }
.gc-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.gc-boutons { max-width: 170px; margin: 0 auto; }
.gc-simuler { display: block; width: 100%; border: 1px solid transparent; border-radius: var(--r1); padding: 8px 10px; background: var(--accent-2); color: var(--accent); font: 600 var(--t-1)/1.2 var(--ui); text-align: center; cursor: pointer; }
.gc-simuler:hover { filter: brightness(1.12); }
/* « Choisir ce forfait » (et « Commander » du Laboratoire) : la porte de l’inscription payante, en or comme les autres
   gestes qui engagent ; « Estimer mes coûts » reste en bleu clair, sans bordure, pour ne pas s’y confondre. */
.gc-souscrire { display: block; width: 100%; box-sizing: border-box; margin-bottom: 6px; border: 1px solid var(--or); border-radius: var(--r1); padding: 8px 10px; background: var(--or); color: #221a06; font: 600 var(--t-1)/1.2 var(--ui); text-align: center; text-decoration: none; cursor: pointer; }
.gc-souscrire:hover { filter: brightness(1.12); }
.gc-souscrire:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gc-simuler[aria-expanded="true"] { background: var(--accent); color: var(--surface); }
@media (max-width: 700px) {
  .gc-tab { min-width: 900px; }
  .gc-tab .gc-titre { width: 118px; box-shadow: 1px 0 0 var(--bord); }
  .gc-tab th, .gc-tab td { padding: 10px; }
}

.gc-tiroir { margin-top: var(--e4); min-width: 0; }
.gc-tiroir:empty { display: none; }
.gc-sim { background: var(--surface); border: 1px solid var(--bord); border-top: 3px solid var(--or); border-radius: var(--r2); box-shadow: var(--o1); padding: var(--e5); display: grid; gap: var(--e4); min-width: 0; }
.gc-tete { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); }
.gc-tete h3 { margin: 0; }
/* Les réglages : un curseur chacun, la valeur en grand au-dessus, les bornes dessous. */
.gc-champs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e4) var(--e6); }
/* Réglette Comptes du Projet financé : en tête, sur toute la largeur de la grille. */
.gc-reg-large { grid-column: 1 / -1; }
/* Les comptes : − nombre + sur une ligne, la rangée de dix silhouettes (allumées = comptes) dessous. */
.gc-comptes { display: grid; gap: var(--e3); margin-top: 6px; min-width: 0; }
.gc-cpt-ligne { display: flex; align-items: center; gap: var(--e3); }
.gc-cpt-mot { margin-left: var(--e2); font: 400 var(--t0) var(--ui); color: var(--encre-3); }
.gc-sils { display: flex; max-width: 340px; min-width: 0; gap: 2px; }
.gc-sil { flex: 1 1 0; min-width: 0; max-width: 34px; height: 42px; padding: 0; border: 0; border-radius: var(--r1); background: transparent; color: var(--bord-fort); cursor: pointer; display: grid; place-items: center; transition: color .12s, transform .12s; }
.gc-sil svg { fill: currentColor; max-width: 100%; }
.gc-sil:hover { transform: translateY(-2px); }
.gc-sil.gc-sil-on { color: var(--accent); }
/* Les deux réglettes du Laboratoire (manuscrites, à traduire) : dans l'autre moitié, à côté des comptes (empilées au téléphone). */
.gc-moities { display: grid; gap: var(--e4); align-content: start; min-width: 0; }
.gc-pas-b { flex: none; width: 34px; height: 34px; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: transparent; color: var(--accent); font: 600 20px/1 var(--ui); cursor: pointer; }
.gc-pas-b:disabled { opacity: .35; cursor: default; }
.gc-cpt-nb { flex: none; min-width: 2.2ch; text-align: center; font: 600 var(--t4)/1 var(--titre); color: var(--encre); font-variant-numeric: tabular-nums; }
/* La durée : trois boutons collés, un seul choisi (des radios, les flèches du clavier passent de l'un à l'autre). */
.gc-seg { position: relative; display: inline-flex; justify-self: start; margin-top: 6px; border: 1px solid var(--accent); border-radius: var(--r1); overflow: hidden; }
.gc-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.gc-seg label { padding: 9px 24px; font: 600 var(--t0)/1.2 var(--ui); color: var(--accent); background: transparent; cursor: pointer; border-left: 1px solid var(--accent); }
.gc-seg label:first-of-type { border-left: 0; }
.gc-seg input:checked + label { background: var(--accent); color: var(--surface); }
.gc-seg input:focus-visible + label { outline: 2px solid var(--or); outline-offset: -3px; }
@media (max-width: 640px) { .gc-champs { grid-template-columns: 1fr; } }
.gc-reg { display: grid; gap: 2px; min-width: 0; align-content: start; }
.gc-reg-tete { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e3); }
.gc-reg-lib { font: 500 var(--t-2)/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-3); }
.gc-reg-val { font: 600 var(--t3)/1.1 var(--titre); color: var(--encre); white-space: nowrap; }
.gc-reg-val { text-align: right; }
.gc-reg-val small { font: 400 var(--t-1) var(--ui); color: var(--encre-3); }
.gc-reg-val small.gc-soit { display: block; white-space: normal; }
.gc-reg input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --p: 50%; }
.gc-reg input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 999px; background: linear-gradient(to right, var(--accent) var(--p), var(--champ) var(--p)); }
.gc-reg input[type=range]::-moz-range-track { height: 6px; border-radius: 999px; background: var(--champ); }
.gc-reg input[type=range]::-moz-range-progress { height: 6px; border-radius: 999px; background: var(--accent); }
.gc-reg input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 1px 4px rgba(20,18,12,.25); }
.gc-reg input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent); box-shadow: 0 1px 4px rgba(20,18,12,.25); }
.gc-reg input[type=range]:focus-visible { outline: none; }
.gc-reg input[type=range]:focus-visible::-webkit-slider-thumb { outline: 2px solid var(--or); outline-offset: 3px; }
.gc-reg input[type=range]:focus-visible::-moz-range-thumb { outline: 2px solid var(--or); outline-offset: 3px; }
.gc-reg-bornes { display: flex; justify-content: space-between; font: 400 var(--t-2) var(--mono); color: var(--encre-3); }
.gc-res { display: grid; gap: var(--e3); min-width: 0; }
.gc-res p { margin: 0; color: var(--encre-2); }
.gc-res p b { color: var(--encre); }
/* La synthèse : un bloc teinté porte les deux jauges calculées (Espace en sauge, Crédits en or), les prix suivent dessous. */
.gc-res { --achat: #8a5a00; --gc-bloc: #f8f5ec; --gc-sauge: #86a393; --gc-sauge-texte: #3d6150; --gc-or: var(--or); --gc-or-texte: var(--achat); }
@media (prefers-color-scheme: dark) { :root:not([data-theme]) .gc-res { --achat: var(--or); --gc-bloc: #22262d; --gc-sauge: #6f9c86; --gc-sauge-texte: #9cc8b2; } }
:root[data-theme="nuit"] .gc-res { --achat: var(--or); --gc-bloc: #22262d; --gc-sauge: #6f9c86; --gc-sauge-texte: #9cc8b2; }
.gc-prix-lignes { display: grid; gap: var(--e3); }
.gc-jauges { display: grid; gap: var(--e4); background: var(--gc-bloc); border-radius: 10px; padding: 14px; }
.gc-prix-lignes { padding-top: var(--e3); border-top: 1px solid var(--bord); font-variant-numeric: tabular-nums; }
.gc-j-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e3); }
.gc-j-titre { font: 500 var(--t0)/1.3 var(--ui); color: var(--encre-2); }
.gc-j-cpt { font: 600 var(--t2)/1.2 var(--titre); color: var(--encre); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }
.gc-j-cpt small { font: 400 var(--t-1) var(--ui); color: var(--encre-3); }
.gc-j-espace { --gc-c: var(--gc-sauge); --gc-t: var(--gc-sauge-texte); }
.gc-j-credits { --gc-c: var(--gc-or); --gc-t: var(--gc-or-texte); }
.gc-j-cpt .gc-inc, .gc-j-cpt .gc-ach { font-weight: 600; color: var(--gc-t); }
.gc-p-det { padding-left: var(--e4); margin-top: calc(var(--e2) * -1 + 2px); }
.gc-p-det .gc-j-titre { font-size: var(--t-1); color: var(--encre-3); }
.gc-p-det .gc-j-cpt { font: 400 var(--t-1) var(--ui); color: var(--encre-2); }
/* Une ligne de détail ne passe jamais à la ligne : libellé court à gauche (il s'abrège en dernier recours), « i » de l'infobulle
   à sa suite, montant à droite en chiffres tabulaires. Le calcul est dans l'infobulle, au survol et au focus clavier. */
.gc-j-ligne.gc-p-det { position: relative; justify-content: flex-start; align-items: center; flex-wrap: nowrap; gap: 6px; }
.gc-p-det .gc-j-titre { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gc-p-det .gc-j-cpt { flex: none; margin-left: auto; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gc-p-det .gc-j-cpt small { font-size: var(--t-2); }
.gc-info { position: relative; flex: none; display: inline-grid; place-items: center; width: 15px; height: 15px; padding: 0; border: 1px solid var(--encre-3); border-radius: 50%; background: transparent; color: var(--encre-3); font: italic 600 10px/1 var(--titre); cursor: help; }
.gc-info::after { content: ""; position: absolute; inset: -7px; }
.gc-info:hover, .gc-info:focus-visible { color: var(--accent); border-color: var(--accent); }
.gc-info:focus-visible { outline: 2px solid var(--or); outline-offset: 2px; }
/* L'infobulle : au-dessus de la ligne, sur sa largeur au plus ; elle reste un court instant après le survol pour qu'on puisse l'atteindre. */
.gc-bulle { position: absolute; left: 0; bottom: calc(100% + 2px); z-index: 6; box-sizing: border-box; width: max-content; max-width: min(100%, 320px); padding: 6px 10px; border: 1px solid var(--c-bord); border-radius: var(--r1); background: var(--panneau); color: var(--c-encre); font: 400 var(--t-1)/1.4 var(--ui); text-align: left; box-shadow: 0 4px 14px rgba(20,18,12,.3); visibility: hidden; opacity: 0; transition: opacity .12s .15s, visibility 0s .27s; }
.gc-info:hover + .gc-bulle, .gc-info:focus + .gc-bulle, .gc-bulle:hover { visibility: visible; opacity: 1; transition-delay: 0s; }
.gc-trait { width: 100%; height: 0; margin: 0; border: 0; border-top: 1px solid var(--bord); }
.gc-b-rang { display: flex; align-items: center; gap: var(--e3); margin-top: 6px; }
.gc-barre { display: flex; flex: 1; min-width: 0; height: 14px; border-radius: 999px; background: var(--champ); box-shadow: inset 0 0 0 1px var(--bord); overflow: hidden; }
.gc-barre i { display: block; height: 100%; flex: none; }
.gc-barre .gc-b-inc { background: var(--gc-c); }
.gc-barre .gc-b-ach { background: repeating-linear-gradient(-45deg, var(--gc-c) 0 4px, color-mix(in srgb, var(--gc-c) 35%, transparent) 4px 8px); }
.gc-b-prix { flex: none; font: 500 var(--t-1)/1.2 var(--ui); color: var(--gc-t); white-space: nowrap; font-variant-numeric: tabular-nums; }
.gc-b-prix small { font: 400 var(--t-2) var(--ui); }
.gc-b-quoi { position: relative; display: flex; align-items: center; gap: 6px; height: 20px; margin-top: 2px; font: 400 var(--t-1)/1.4 var(--ui); color: var(--encre-3); }
.gc-b-court { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Les années d'un particulier ou d'un laboratoire : trois colonnes (1ère, 2e, suivantes), une seule au téléphone. */
.gc-annees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e3); align-items: stretch; }
.gc-an { display: grid; gap: var(--e3); min-width: 0; padding: var(--e4); border: 1px solid var(--bord); border-radius: 10px; }
.gc-an-titre { margin: 0; font: 600 var(--t2)/1.2 var(--titre); color: var(--encre); }
.gc-res p.gc-an-sous { margin: -6px 0 0; font: 400 var(--t-1)/1.4 var(--ui); color: var(--encre-3); }
.gc-an .gc-jauges { padding: 10px; gap: var(--e3); }
.gc-an .gc-j-ligne { flex-wrap: wrap; row-gap: 2px; }
.gc-an .gc-j-cpt { font-size: var(--t1); white-space: normal; }
.gc-an .gc-p-det { padding-left: var(--e3); flex-wrap: nowrap; }
.gc-an .gc-p-det .gc-j-cpt { font-size: var(--t-1); white-space: nowrap; }
/* Trois colonnes seulement quand chacune garde la place d'une ligne de détail : en dessous, une colonne par année. */
/* Côte à côte, chaque colonne partage les lignes de la grille (titre, précision, Espace, Crédits, prix) : tout tombe à la même hauteur
   d'une colonne à l'autre, même une ligne vide. Une jauge sans achat réserve la place de la ligne « 6 extensions » des autres. */
@media (min-width: 961px) {
  .gc-an { grid-row: span 5; grid-template-rows: subgrid; row-gap: var(--e3); align-content: start; }
  .gc-an .gc-jauges { grid-row: span 2; grid-template-rows: subgrid; row-gap: var(--e3); }
  .gc-an .gc-jauge:not(.gc-manque)::after { content: ""; display: block; height: 22px; }
}
@media (max-width: 960px) { .gc-annees { grid-template-columns: 1fr; } }
.gc-res p.gc-note { font-size: var(--t-1); color: var(--encre-3); }
.gc-res p.gc-passez { background: var(--accent-2); border-radius: var(--r1); padding: var(--e2) var(--e3); color: var(--encre); }
.gc-devis { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.gc-res p.gc-alerte { background: rgba(160,58,40,.12); color: var(--alerte); border-radius: var(--r1); padding: var(--e2) var(--e3); font-size: var(--t-1); }

/* Le comptage d'une page : trois tuiles, puis la mention. */
.gc-tuiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e3); margin-top: var(--e4); }
.gc-tuile { background: var(--surface); border: 1px solid var(--bord); border-radius: var(--r2); box-shadow: var(--o1); padding: 20px var(--e4) 18px; display: flex; flex-direction: column; gap: 6px; }
.gc-tuile.renf { background: var(--accent-2); border-color: transparent; }
.gc-cap { font: 500 var(--t-2)/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--encre-3); }
.gc-chiffre { margin: 4px 0 2px; font: 600 56px/1 var(--titre); letter-spacing: -.02em; color: var(--encre); }
.gc-tuile.trad .gc-chiffre { color: var(--accent); }
.gc-chiffre small { margin-left: 6px; font: 500 var(--t-1)/1 var(--mono); letter-spacing: 0; color: var(--encre-3); }
.gc-tuile p { margin: 0; font-size: var(--t-1); color: var(--encre-2); }
.gc-mention { margin: var(--e3) 0 0; font-size: var(--t-1); color: var(--encre-2); }

/* Les packs : un bandeau sombre à trait d'or, une case par pack, le prix en or. */
.gc-bandeau { background: var(--panneau); color: var(--c-encre); border-radius: var(--r2); border-top: 3px solid var(--or); padding: var(--e5) var(--e4); }
.gc-bandeau h2 { margin: 0 0 4px; color: var(--c-encre); }
.gc-bandeau .gc-sous { margin: 0 0 var(--e5); font-size: var(--t0); color: var(--c-encre-2); }
.gc-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--c-bord); }
.gc-case { padding: var(--e4) var(--e3) 4px 0; border-bottom: 1px solid var(--c-bord); }
.gc-cr { font: 500 22px/1 var(--mono); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.gc-cr small { margin-left: 4px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-encre-3); }
.gc-prix { display: block; margin: 10px 0 2px; font: 600 var(--t2)/1.1 var(--titre); color: var(--or); font-variant-numeric: tabular-nums; white-space: nowrap; }
.gc-ttc { font: 500 var(--t-2) var(--mono); letter-spacing: .06em; color: var(--c-encre-3); }
.gc-pg { margin: 8px 0 var(--e3); font-size: var(--t-1); line-height: 1.45; color: var(--c-encre-2); }
.gc-pg span { font-family: var(--mono); color: var(--c-encre); }
.gc-rappel { margin: var(--e5) 0 0; max-width: 64ch; font-size: var(--t-1); color: var(--c-encre-3); }
/* Les packs : une rangée aux mêmes colonnes que les offres (un pack sous chaque offre), sur le panneau sombre, prix en or. */
.gc-tab .gc-lien-sous { display: table; margin-top: 2px; color: var(--accent); text-decoration: none; border-bottom: 1px dotted currentColor; }
.gc-tab .gc-lien-sous:hover { border-bottom-style: solid; }
#gc-bareme, #gc-packs, #gc-extension, #gc-questions { scroll-margin-top: 90px; }
.gc-packs .gc-defile { background: var(--panneau); border: 0; border-top: 3px solid var(--or); }
.gc-tab-packs tbody tr { border-top: 0; }
/* Le titre des packs est au-dessus du bandeau, un h2 comme « Ce que coûte une page, en crédits » (aucun style propre). */
.gc-packs-sous { margin: 0 0 var(--e4); color: var(--encre-2); }
.gc-tab.gc-tab-packs { min-width: 720px; }
.gc-tab-packs td.gc-case { padding: var(--e4) 10px; white-space: normal; vertical-align: top; color: var(--c-encre-2); }
.gc-tab-packs .gc-cr { font-size: 20px; white-space: nowrap; color: var(--c-encre); }
.gc-tab-packs .gc-cr small { display: block; margin: 8px 0 0; color: var(--c-encre-3); }
.gc-tab-packs .gc-prix { color: var(--or); }
.gc-tab-packs .gc-pg { margin-bottom: 0; color: var(--c-encre-2); }
.gc-tab-packs .gc-pg span { color: var(--c-encre); }
.gc-packs .gc-rappel { color: var(--encre-3); }
/* L'extension de stockage : un bandeau de la famille des packs, une seule offre et ses conditions. */
.gc-ext-bande { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e4) var(--e6); padding: var(--e4) var(--e5); background: var(--panneau); border-top: 3px solid var(--or); border-radius: 0 0 10px 10px; }
.gc-ext-offre { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px var(--e5); }
.gc-ext-bande .gc-cr { font-size: 20px; color: var(--c-encre); }
.gc-ext-bande .gc-cr small { display: block; margin: 8px 0 0; color: var(--c-encre-3); }
.gc-ext-bande .gc-prix { margin: 0; color: var(--or); }
.gc-ext-bande .gc-ttc { color: var(--c-encre-3); }
.gc-ext-cond { flex: 1 1 280px; min-width: 0; margin: 0; font-size: var(--t-1); color: var(--c-encre-2); }
.gc-tab-packs .gc-ttc { color: var(--c-encre-3); }
@media (max-width: 700px) { .gc-tab.gc-tab-packs { min-width: 720px; } }
.gc-rappel b { color: var(--c-encre-2); font-weight: 600; }
@media (min-width: 640px) { .gc-bandeau { padding: 28px var(--e6); } }
@media (min-width: 760px) {
  .gc-cases { grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 0; }
  .gc-case { padding: 4px var(--e4); border-bottom: 0; border-left: 1px solid var(--c-bord); }
  .gc-case:first-child { padding-left: 0; border-left: 0; }
}

.gc-plus .grille4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gc-plus .off { text-align: left; }
.gc-plus .off .page-u { font-size: var(--t-1); line-height: 1.5; margin-top: var(--e2); }
.gc-plus .off .prix { font-size: 22px; }
@media (max-width: 700px) { .gc-tuiles { grid-template-columns: 1fr; } .gc-plus .grille4 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .gc-sim { padding: var(--e4); } .gc-j-cpt { font-size: var(--t1); } }
