/* Habillage inspiré de resend.com (demande de Menad, 4 octobre 2026) : noir profond, grand titre à empattements
   en dégradé, cartes à liseré discret, boutons clairs. Chargé après styles.css et effets.css.
   Le vert, le rouge et le gris restent réservés aux verdicts. */

:root {
  --f-titre: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --f-texte: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-chiffre: "Inter", "Segoe UI", system-ui, sans-serif;
  --rayon: 16px;
}
[data-theme="sombre"] {
  --fond: #000000;
  --panneau: #0A0A0B;
  --panneau-2: #111113;
  --trait: rgba(255, 255, 255, .075);
  --trait-fort: rgba(255, 255, 255, .15);
  --texte: #F0F0F0;
  --doux: #A1A4A5;
  --pale: #6E7275;
  --accent: #F4F4F5;
  --accent-encre: #050505;
  --gris: #B9BDC2;
}
[data-theme="clair"] { --accent: #0B0B0C; --accent-encre: #FFFFFF; }

body { font-family: var(--f-texte); letter-spacing: -.003em; }
h1, h2 { font-family: var(--f-titre); font-weight: 400; letter-spacing: -.01em; }
.entete-vue h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); line-height: 1.02; }
.bloc-tete h2, .dossier h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
[data-theme="sombre"] .entete-vue h1, [data-theme="sombre"] .bloc-tete h2 {
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, .5)); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Chiffres : toujours en chiffres alignés, jamais en caractères à empattements. */
.offre-prix strong, .bilan-carte strong, .chiffres strong { font-family: var(--f-chiffre); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.marque-nom, .rubrique-nom, .offre-nom, .resultat-arnaque strong, .sortie-verdict strong, .carte-article strong, .compte-tete h2 { font-family: var(--f-texte); font-weight: 600; }

/* ---------- Fond : noir, faisceau de lumière, grille de graphique ---------- */
[data-theme="sombre"] body { background: #000; }
[data-theme="sombre"] .fond-toile { opacity: .28; }
[data-theme="sombre"] .fond-grille { opacity: .5; -webkit-mask-image: radial-gradient(ellipse 70% 55% at 70% 18%, #000, transparent 75%); mask-image: radial-gradient(ellipse 70% 55% at 70% 18%, #000, transparent 75%); }
.fond::after {
  content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90vh; pointer-events: none;
  background:
    linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, .055) 47%, rgba(255, 255, 255, .012) 52%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 72% 30%, rgba(255, 255, 255, .06), transparent 70%);
  animation: faisceau 14s ease-in-out infinite alternate;
}
[data-theme="clair"] .fond::after { display: none; }
@keyframes faisceau { from { transform: translateX(-4%) rotate(-1deg); opacity: .7; } to { transform: translateX(5%) rotate(1.5deg); opacity: 1; } }

/* ---------- Barre du haut ---------- */
.barre { background: color-mix(in srgb, var(--fond) 72%, transparent); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid transparent; }
.onglets a { font-size: .9rem; color: var(--doux); border-radius: 999px; }
.onglets a[aria-current="page"] { background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px var(--trait); }
[data-theme="clair"] .onglets a[aria-current="page"] { background: rgba(0, 0, 0, .06); }
.marque svg { color: var(--texte); animation: pivote 9s linear infinite; transform-style: preserve-3d; }
.marque { perspective: 300px; }
@keyframes pivote { to { transform: rotateY(360deg); } }
.bouton-theme { border-radius: 12px; }

/* ---------- Accueil ---------- */
.hero { padding-top: clamp(44px, 8vw, 96px); align-items: center; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 400; line-height: .98; letter-spacing: -.015em; }
[data-theme="sombre"] #titre .mot:not(.m-v):not(.m-r):not(.m-g) { background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, .5)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-theme="sombre"] #titre .mot:not(.m-v):not(.m-r):not(.m-g) .lettre { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .surtitre {
  justify-self: start; padding: 6px 12px; border: 1px solid var(--trait-fort); border-radius: 999px; background: rgba(255, 255, 255, .03);
  font: 500 .78rem var(--f-texte); letter-spacing: 0; text-transform: none; color: var(--texte);
}
.chapeau { color: var(--doux); }
.recherche-champ { border-radius: 16px; background: rgba(255, 255, 255, .035); border-color: var(--trait-fort); }
[data-theme="clair"] .recherche-champ { background: #fff; }
.bouton-principal, .bouton-offre.plein { border-radius: 12px; font-weight: 600; }
.filtre, .puce { border-radius: 999px; }

/* Cadran : sans cadre tant qu'aucun verdict n'est affiché, la balance en volume y pivote. */
.mizan3d { display: none; width: 100%; aspect-ratio: 1 / .92; margin: -6% 0 -4%; background: radial-gradient(ellipse 46% 42% at 50% 46%, rgba(255, 255, 255, .09), transparent 70%); }
.mizan3d canvas { display: block; width: 100%; height: 100%; }
.instrument.mizan3d-pret[data-verdict="attente"] .mizan3d { display: block; }
.instrument.mizan3d-pret[data-verdict="attente"] .jauge { display: none; }
.instrument.mizan3d-pret[data-verdict="attente"] { background: transparent; border-color: transparent; box-shadow: none; }
.instrument.mizan3d-pret[data-verdict="attente"] .instrument-rayon, .instrument.mizan3d-pret[data-verdict="attente"] .instrument-reflet, .instrument.mizan3d-pret[data-verdict="attente"] .analyse-barre { display: none; }
.verdict-mot { font-family: var(--f-titre); font-weight: 400; letter-spacing: -.01em; font-size: clamp(2.3rem, 4.2vw, 3.3rem); }

/* ---------- Cartes : liseré fin, lueur qui suit le pointeur ---------- */
.fiche, .offre, .bilan-carte, .avis-carte, .rubrique, .chiffres div, .instrument:not([data-verdict="attente"]), .dossier {
  position: relative; border-radius: var(--rayon);
}
[data-theme="sombre"] .fiche, [data-theme="sombre"] .offre, [data-theme="sombre"] .bilan-carte, [data-theme="sombre"] .rubrique, [data-theme="sombre"] .chiffres div {
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)); border-color: var(--trait);
}
.lueur-carte { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .075), transparent 60%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .012)) !important; border-color: var(--trait-fort) !important; }
[data-theme="clair"] .lueur-carte { background-image: none !important; }
.offre.phare { border-color: rgba(255, 255, 255, .28); box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 30px 80px -40px rgba(255, 255, 255, .25); }

/* ---------- Caractère financier ---------- */
/* Bandeau défilant façon téléscripteur */
.defile { border-block: 1px solid var(--trait); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .02), transparent); }
.defile-item { font-family: var(--f-mono); font-size: .8rem; letter-spacing: .01em; }
.defile-item b { letter-spacing: .08em; }

/* Répartition des verdicts : barre empilée, comme une allocation de portefeuille */
.repartition { margin-top: clamp(28px, 4vw, 44px); display: grid; gap: 12px; }
.repartition-tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.repartition-tete h2 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.repartition-barre { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: var(--trait); }
.repartition-barre i { display: block; height: 100%; width: 0; background: var(--c); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.repartition-barre i + i { box-shadow: -2px 0 0 var(--fond); }
.repartition-legende { display: flex; flex-wrap: wrap; gap: 8px 22px; font: 500 .82rem var(--f-mono); color: var(--doux); font-variant-numeric: tabular-nums; }
.repartition-legende span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 8px; background: var(--c); }
.repartition-legende b { color: var(--texte); font-weight: 600; }

/* Jauge de seuil sous chaque ratio : la barre se remplit jusqu'au seuil, repère à 100 % */
.seuil-jauge { display: block; position: relative; width: 92px; height: 4px; margin-top: 6px; border-radius: 999px; background: var(--trait-fort); overflow: hidden; }
.seuil-jauge i { position: absolute; inset: 0 auto 0 0; width: var(--p, 0%); border-radius: 999px; background: currentColor; animation: remplit 1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes remplit { from { width: 0; } }
.tableau td { font-variant-numeric: tabular-nums; }
.tableau th { border-bottom: 1px solid var(--trait); }
.tableau tbody tr { transition: background .2s; }
.tableau tbody tr:hover { background: rgba(255, 255, 255, .025); }

/* Pastilles et pied */
.pastille { border-radius: 999px; }
.pied { border-top-color: var(--trait); }
.compte { background: #0A0A0B; border-radius: 20px; }
[data-theme="clair"] .compte { background: #fff; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .mizan3d { aspect-ratio: 1 / .8; margin: -4% 0 -2%; }
}
@media (prefers-reduced-motion: reduce) { .marque svg, .fond::after, .seuil-jauge i { animation: none; } }
@media print { .fond, .mizan3d { display: none !important; } }

/* Petit écran : la marque tient sur une ligne */
.marque-nom { white-space: nowrap; }
@media (max-width: 480px) { .marque-etiquette { display: none; } }

/* ---------- Transition entre les pages : un simple voile, traversé par un trait de lumière ---------- */
.volet { display: block; background: var(--fond); opacity: 0; }
.volet span { display: none; }
.volet::after {
  content: ""; position: absolute; left: 0; top: 50%; width: 38%; height: 1px; opacity: 0;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--texte) 80%, transparent), transparent);
  box-shadow: 0 0 24px 2px color-mix(in srgb, var(--texte) 22%, transparent);
}
.volet.passe { animation: voile .9s cubic-bezier(.4, 0, .2, 1) both; }
.volet.passe::after { animation: trait .9s cubic-bezier(.4, 0, .2, 1) both; }
@keyframes voile { 0% { opacity: 0; } 38%, 50% { opacity: 1; } 100% { opacity: 0; } }
@keyframes trait { 0% { transform: translateX(-100%); opacity: 0; } 30% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(265%); opacity: 0; } }

/* ---------- Blog : couvertures sombres, symbole chromé, titre à empattements ---------- */
.blog-tete h1 { font-size: clamp(3rem, 6vw, 4.8rem); }
.blog-filtres { margin-top: 22px; }
.blog-une { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.blog-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.carte-blog { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--texte); }
.carte-blog strong { font: 500 1.05rem/1.35 var(--f-texte); letter-spacing: -.01em; }
.carte-blog.grande strong { font-size: 1.35rem; }
.carte-blog small { font: 400 .8rem var(--f-texte); color: var(--pale); }
.couverture { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--rayon); border: 1px solid var(--trait); background: #050506; isolation: isolate; }
.couverture-fond { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(520px circle at var(--mx, 70%) var(--my, 10%), rgba(255, 255, 255, .11), transparent 60%),
    linear-gradient(118deg, transparent 36%, rgba(255, 255, 255, .07) 48%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 56px),
    linear-gradient(180deg, #0c0c0e, #020203); }
.pastille-blog { display: inline-block; padding: 3px 10px; border: 1px solid var(--trait-fort); border-radius: 999px; font: 500 .7rem var(--f-texte); color: #d7d9dc; background: rgba(255, 255, 255, .04); }
.couverture .pastille-blog { position: absolute; left: 7%; top: 12%; }
.couverture-titre { position: absolute; left: 7%; top: 27%; width: 54%; font: 400 clamp(1.05rem, 1.9vw, 1.55rem)/1.08 var(--f-titre); letter-spacing: -.01em;
  background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.carte-blog.grande .couverture-titre { font-size: clamp(1.4rem, 2.7vw, 2.3rem); }
.symbole-chrome { position: absolute; right: 6%; top: 50%; width: 31%; transform: translateY(-50%) perspective(600px) rotateY(-18deg) rotateX(6deg); filter: drop-shadow(0 18px 26px rgba(0, 0, 0, .8)) drop-shadow(0 0 22px rgba(255, 255, 255, .12));
  transition: transform .6s cubic-bezier(.2, .8, .2, 1); animation: flotte 6s ease-in-out infinite; }
.carte-blog:hover .symbole-chrome { transform: translateY(-54%) perspective(600px) rotateY(14deg) rotateX(-4deg) scale(1.06); }
.carte-blog:hover .couverture { border-color: var(--trait-fort); }
@keyframes flotte { 0%, 100% { margin-top: 0; } 50% { margin-top: -2.2%; } }
.couverture-article { aspect-ratio: 16 / 5; margin: 6px 0 4px; }
.couverture-article .symbole-chrome { right: auto; left: 50%; width: auto; height: 78%; transform: translate(-50%, -50%); }
.article { max-width: 72ch; gap: 16px; margin: clamp(28px, 5vw, 56px) auto 0; }
.article h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.04; }
[data-theme="sombre"] .article h1 { background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, .55)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.article h3 { font: 600 1.12rem var(--f-texte); margin-top: 10px; color: var(--texte); }
.article p, .article li { color: var(--doux); font-size: 1.04rem; line-height: 1.7; }
.article .article-chapeau { color: var(--texte); font-size: 1.16rem; }
.article-date { font: 400 .84rem var(--f-texte) !important; color: var(--pale) !important; }
.article .pastille-blog { justify-self: start; }
.retour-blog { justify-self: start; color: var(--doux); text-decoration: none; font-size: .92rem; }
.retour-blog:hover { color: var(--texte); }
[data-theme="clair"] .pastille-blog { color: #d7d9dc; }
[data-theme="clair"] .article .pastille-blog { color: var(--texte); background: transparent; }
@media (max-width: 900px) { .blog-une, .blog-grille { grid-template-columns: minmax(0, 1fr); } .couverture-article { aspect-ratio: 16 / 7; } }
@media (prefers-reduced-motion: reduce) { .symbole-chrome { animation: none; } }

/* Références numérotées d'un article */
.notes { font-size: .9rem; padding-left: 1.6rem; opacity: .85; }
.notes li { margin: .3rem 0; overflow-wrap: anywhere; }

/* Filtre par secteur et cartes « Explorer par secteur » */
.liste-secteur { font: inherit; font-size: .9rem; color: inherit; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: .55rem .7rem; max-width: 100%; }
.liste-secteur option { color: #111; background: #fff; }
:root[data-theme="clair"] .liste-secteur { background: #fff; border-color: rgba(0,0,0,.15); }
.secteurs { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.secteur-carte { position: relative; display: grid; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); transition: transform .25s ease, border-color .25s ease; overflow: hidden; }
.secteur-carte:hover, .secteur-carte:focus-visible { transform: translateY(-2px); border-color: rgba(255,255,255,.28); }
:root[data-theme="clair"] .secteur-carte { border-color: rgba(0,0,0,.12); background: #fff; }
.secteur-nom { font-weight: 600; font-size: .95rem; }
.secteur-nombre { font-variant-numeric: tabular-nums; font-size: 1.35rem; font-family: "Instrument Serif", serif; }
.secteur-barre { display: flex; height: 6px; border-radius: 99px; overflow: hidden; background: rgba(127,127,127,.2); }
.secteur-barre i { display: block; height: 100%; background: var(--c); }
.secteur-detail { font-size: .78rem; opacity: .7; font-variant-numeric: tabular-nums; }
.voisines { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.voisine { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: left; font: inherit; font-size: .9rem; color: inherit; cursor: pointer; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); }
.voisine:hover, .voisine:focus-visible { border-color: rgba(255,255,255,.3); }
:root[data-theme="clair"] .voisine { border-color: rgba(0,0,0,.12); background: #fff; }

/* Offres : argument des alertes et aperçu du rapport */
.argument { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.argument h2 { font-family: "Instrument Serif", serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 400; line-height: 1.1; margin: 0 0 .6rem; }
.argument p { margin: .5rem 0; }
.alerte-exemple { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
:root[data-theme="clair"] .alerte-exemple { border-color: rgba(0,0,0,.12); background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.alerte-etiquette { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin: 0 0 .6rem; }
.alerte-titre { display: flex; align-items: center; gap: 8px; font-weight: 600; margin: 0 0 .4rem; }
.alerte-corps { margin: 0 0 .3rem; }
.alerte-avant { color: var(--gris); font-weight: 600; }
.alerte-apres { color: var(--rouge); font-weight: 600; }
.alerte-detail { margin: 0; font-size: .88rem; opacity: .75; }
.apercu { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.apercu-ouvert, .apercu-ferme { border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px; }
.apercu-ferme { background: rgba(255,255,255,.03); }
:root[data-theme="clair"] .apercu-ouvert, :root[data-theme="clair"] .apercu-ferme { border-color: rgba(0,0,0,.12); }
.apercu-tete { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 1.05rem; }
.apercu-titre { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; opacity: .6; margin: 1rem 0 .4rem; }
.apercu-ferme .apercu-titre { margin-top: 0; }
.apercu-ligne { display: grid; grid-template-columns: 1fr auto auto auto; gap: 10px; align-items: baseline; padding: 8px 0; border-top: 1px solid rgba(127,127,127,.18); font-size: .92rem; font-variant-numeric: tabular-nums; }
.apercu-seuil { opacity: .6; font-size: .8rem; }
.apercu-etat { font-size: .8rem; color: var(--rouge); }
.apercu-etat[data-ok="true"] { color: var(--vert); }
.bandeau-alerte { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 14px 18px; margin: 0 0 24px; border-radius: 14px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); color: inherit; text-decoration: none; }
.bandeau-alerte:hover { border-color: rgba(255,255,255,.3); }
:root[data-theme="clair"] .bandeau-alerte { border-color: rgba(0,0,0,.12); background: #fff; }
.bandeau-alerte-titre { font-weight: 600; }
.bandeau-alerte-texte { opacity: .75; flex: 1 1 220px; }
.bandeau-alerte-lien { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 720px) { .argument, .apercu { grid-template-columns: 1fr; } .apercu-ligne { grid-template-columns: 1fr auto; } .apercu-seuil { grid-column: 1; } }

/* Cartes d'offres : prix à la semaine en grand, montant facturé dessous, bouton, puis liste à filets (inspiré de finary.com/fr/pricing) */
.offres { gap: 16px; align-items: stretch; padding-top: 14px; }
.offre { position: relative; text-align: center; gap: 10px; padding: 28px 22px 22px; border-radius: 22px; }
.offre-nom { justify-content: center; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
.offre-prix { justify-content: center; gap: 4px; font-size: 1rem; }
.offre-prix strong { font-size: clamp(2.3rem, 5vw, 3rem); line-height: 1; }
.offre-an { margin: 0; font-size: .92rem; font-variant-numeric: tabular-nums; }
.offre-pour { margin: 2px auto 6px; max-width: 26ch; font-size: .88rem; opacity: .7; }
.offre .bouton-offre { width: 100%; border-radius: 999px; padding: 12px 16px; }
.offre-sous-bouton { margin: 0; font-size: .76rem; opacity: .6; }
.offre .offre-liste { text-align: left; gap: 0; margin-top: 8px; }
.offre .offre-liste li { padding: 11px 0 11px 26px; border-top: 1px solid rgba(127, 127, 127, .18); }
.offre .offre-liste li::before { top: 1.25em; left: 4px; }
.offre .offre-liste li.verrou::before { top: .95em; left: 2px; }
.offre.phare { border-color: rgba(255, 255, 255, .4); }
.offre-onglet { position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%); white-space: nowrap; padding: 4px 12px; border-radius: 999px; font-size: .66rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; background: #fff; color: #000; }
[data-theme="clair"] .offre-onglet { background: #111; color: #fff; }
[data-theme="clair"] .offre.phare { border-color: rgba(0, 0, 0, .45); }
.offres-note { margin-top: 14px; text-align: center; }

/* Accueil : grandes valeurs façon terminal, vitrine du portefeuille, bloc de transparence */
.terminal { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.terminal-carte { position: relative; display: grid; gap: 6px; text-align: left; font: inherit; color: inherit; cursor: pointer; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.025); overflow: hidden; transition: transform .25s ease, border-color .25s ease; }
.terminal-carte:hover, .terminal-carte:focus-visible { transform: translateY(-2px); border-color: rgba(255,255,255,.3); }
.terminal-carte::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--gris); }
.terminal-carte[data-verdict="interdit"]::before { background: var(--rouge); }
.terminal-carte[data-verdict="autorise"]::before { background: var(--vert); }
[data-theme="clair"] .terminal-carte { border-color: rgba(0,0,0,.12); background: #fff; }
.terminal-tete { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.terminal-symbole { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-weight: 700; font-size: 1.15rem; letter-spacing: .02em; }
.terminal-nom { font-size: .8rem; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal-ratios { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.terminal-ratio { display: grid; font-variant-numeric: tabular-nums; }
.terminal-ratio i { font-style: normal; font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; opacity: .55; }
.terminal-ratio b { font-size: .95rem; }
.terminal-date { font-size: .7rem; opacity: .5; }
.vitrine { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; align-items: center; }
.vitrine h2 { font-family: "Instrument Serif", serif; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 400; line-height: 1.1; margin: 0 0 .6rem; }
.vitrine p { margin: .5rem 0; }
.vitrine-bouton { display: inline-block; margin-top: .8rem; text-decoration: none; border-radius: 999px; padding: 11px 20px; }
.vitrine-carte { border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 16px 18px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)); }
[data-theme="clair"] .vitrine-carte { border-color: rgba(0,0,0,.12); background: #fff; }
.vitrine-barre { display: flex; height: 10px; border-radius: 99px; overflow: hidden; }
.vitrine-barre i { display: block; height: 100%; background: var(--c); }
.vitrine-legende { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 4px; font-size: .9rem; }
.vitrine-legende li { padding-left: 16px; position: relative; }
.vitrine-legende li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.vitrine-ligne { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 8px 0; border-top: 1px solid rgba(127,127,127,.18); font-size: .9rem; font-variant-numeric: tabular-nums; }
.transparence-grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.transparence-grille div { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255,255,255,.1); }
[data-theme="clair"] .transparence-grille div { border-color: rgba(0,0,0,.12); }
.transparence-grille span { font-size: .88rem; opacity: .72; }
@media (max-width: 720px) { .vitrine { grid-template-columns: 1fr; } }
.terminal-date { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Pièces de cryptos qui défilent sur deux rangées, en sens opposés */
.crypto-defile { display: grid; gap: 14px; padding: 10px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.crypto-rangee { display: flex; width: max-content; }
.crypto-piste { display: flex; gap: 26px; padding-right: 26px; animation: crypto-defile 46s linear infinite; }
.crypto-rangee[data-sens="droite"] .crypto-piste { animation-direction: reverse; animation-duration: 54s; }
.crypto-defile:hover .crypto-piste { animation-play-state: paused; }
@keyframes crypto-defile { to { transform: translateX(-100%); } }
.piece { display: grid; justify-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; }
button.piece { cursor: pointer; }
.piece-disque { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 32% 26%, rgba(255, 255, 255, .22), rgba(255, 255, 255, .04) 58%, rgba(0, 0, 0, .25)); border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 28px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .25); animation: piece-flotte 5.5s ease-in-out infinite; animation-delay: calc(var(--i) * -.8s); transition: transform .25s ease, border-color .25s ease; }
.piece-disque::after { content: ""; position: absolute; right: 4px; bottom: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--fond); background: var(--pale); }
.piece[data-verdict="autorise"] .piece-disque::after { background: var(--vert); }
.piece[data-verdict="tendancieux"] .piece-disque::after { background: var(--gris); }
.piece[data-verdict="interdit"] .piece-disque::after { background: var(--rouge); }
.piece[data-verdict="attente"] .piece-disque::after { background: transparent; border-color: transparent; }
.piece[data-verdict="attente"] .piece-disque img { opacity: .78; }
button.piece:hover .piece-disque, button.piece:focus-visible .piece-disque { transform: scale(1.1); border-color: rgba(255, 255, 255, .5); }
.piece-nom { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .7rem; letter-spacing: .08em; opacity: .7; }
@keyframes piece-flotte { 0%, 100% { translate: 0 0; } 50% { translate: 0 -7px; } }
[data-theme="clair"] .piece-disque { background: radial-gradient(circle at 32% 26%, #fff, #eef1f4 70%); border-color: rgba(0, 0, 0, .12); box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .35); }
.crypto-defile-note { margin-top: 6px; }
#vue-cryptos > .crypto-defile { margin-bottom: 24px; }
@media (max-width: 720px) { .piece-disque { width: 58px; height: 58px; } .piece-disque img { width: 36px; height: 36px; } .crypto-piste { gap: 18px; padding-right: 18px; } }
@media (prefers-reduced-motion: reduce) { .crypto-piste, .piece-disque { animation: none; } .crypto-defile { overflow-x: auto; } }
