/* ZEEN : styles propres à la page d'accueil */

/* 1 Carrousel des formules */
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); margin: 0; }
.accueil { scroll-padding-top: 80px; }
.pilule { display: inline-block; font-size: .8rem; color: var(--doux); border: 1px solid var(--trait); border-radius: 4px; padding: .28em .95em; margin-bottom: 1.4em; background: rgba(255, 255, 255, .03); }
.pilule.petite { margin-bottom: 1em; }
.pilules { display: flex; flex-wrap: wrap; gap: 6px; margin: 1.2em 0 1.6em; }
.pilules button { background: none; color: var(--doux); border: 0; border-radius: 4px; padding: .32em 1em; font: inherit; font-size: .84rem; cursor: pointer; }
.pilules button.actif { background: var(--actif-fond); color: var(--actif-texte); }

.s-vitrine { position: relative; height: calc(100vh - 67px); height: calc(100svh - 67px); min-height: 620px; max-height: 900px; color: var(--texte); overflow: hidden !important; background: var(--fond); }
.fond { position: absolute; inset: 0; z-index: 4; opacity: 0; transition: opacity 1s ease; pointer-events: none; mix-blend-mode: screen; }
.fond.actif { opacity: 1; }

.scene { position: absolute; inset: 0; pointer-events: none; }
@keyframes flottement { from { transform: translateY(-7px); } to { transform: translateY(7px); } }

.vitrine-in { pointer-events: none; position: relative; z-index: 5; height: 100%; width: min(1120px, 100% - 44px); margin-inline: auto; }
.vitrine-in a, .vitrine-in button { pointer-events: auto; }
.fleches { position: absolute; left: 0; top: 17%; display: flex; gap: 8px; }
.groupe-public { position: absolute; right: 0; top: 17%; color: var(--texte); font-size: .92rem; text-decoration: underline; text-underline-offset: 3px; }
.groupe-public span { display: inline-block; margin-left: 6px; transition: transform .2s; }
.groupe-public:hover span { transform: translateX(3px); }
.fleches button { width: 30px; height: 30px; border-radius: 4px; border: 1px solid var(--trait); background: var(--carte); color: var(--texte); font-size: 1.1rem; line-height: 1; cursor: pointer; }
.diapo { position: absolute; inset: 0; pointer-events: none; }
.js .diapo:not(.actif) { visibility: hidden; transition: visibility 0s .5s; }
.diapo-texte { position: absolute; left: 0; top: 26%; width: min(380px, 31vw); pointer-events: auto; }
.diapo-texte h2 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.04; margin-bottom: .45em; }
.diapo-texte p { margin-bottom: .7em; color: var(--nav); } .diapo-texte ul { list-style: none; padding: 0; margin: 0 0 1.3em; font-size: .9rem; color: var(--nav); }
.diapo-texte li { padding: .14em 0 .14em 1.2em; position: relative; } .diapo-texte li::before { content: '–'; position: absolute; left: 0; color: var(--doux); }

.js .diapo-texte { transition: opacity .55s, transform .55s; opacity: 0; transform: translateY(16px); }
.js .diapo.actif .diapo-texte { opacity: 1; transform: none; transition-delay: .35s; }
.suivant-nom { position: absolute; right: 0; bottom: 30px; padding: 0; border: 0; background: none; color: var(--texte); font: inherit; font-size: .86rem; text-decoration: underline; cursor: pointer; }
.essai { position: absolute; left: 0; bottom: 30px; color: var(--texte); font-size: .86rem; }
.garde { position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%); margin: 0; font-size: .76rem; color: var(--doux); white-space: nowrap; }

@media (max-width: 860px) {
  .accueil .barre-in { min-height: 60px; }
  .s-vitrine { height: auto; min-height: 100svh; max-height: none; }
  .vitrine-in { height: auto; min-height: 100svh; width: calc(100% - 40px); padding: calc(46svh - 10px) 0 22px; display: flex; flex-direction: column; }
  .fleches { top: 74px; }
  .groupe-public { top: 22px; }
  .diapo { position: relative; inset: auto; display: flex; flex-direction: column; gap: 8px; }
  .js .diapo:not(.actif) { display: none; }
  .diapo-texte, .suivant-nom, .essai, .garde { position: static; width: auto; max-width: none; text-align: left; transform: none; white-space: normal; }
  .suivant-nom { align-self: flex-start; margin-top: 6px; }
  .diapo-texte ul { display: none; }
  .diapo-texte p { margin-bottom: .9em; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) { .objet { transition: none; } .objet.centre img { animation: none; } }


/* 8 Certificats : galerie 3D */
.mur { --pas: clamp(96px, 21vw, 300px); --haut: clamp(250px, 34vw, 400px); position: relative; margin: 30px 0 70px; perspective: 1500px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.js .mur { display: block; height: var(--haut); transform-style: preserve-3d; }
.plaque { position: relative; display: block; overflow: hidden; border-radius: 4px; padding: 3px; background: rgba(255, 255, 255, .08); }
.plaque img { position: relative; z-index: 1; display: block; height: var(--haut); width: auto; max-width: 86vw; object-fit: contain; border-radius: 4px; }
.bt-panneau img, .eventail img, .vignette img { height: auto; }
.js .plaque { position: absolute; left: 50%; top: 0; transition: transform .85s cubic-bezier(.2, .8, .2, 1), opacity .6s, filter .6s; will-change: transform; }
.js .plaque.p0 { transform: translateX(-50%) translateZ(70px); z-index: 5; }
.js .plaque.p1 { transform: translateX(calc(-50% + var(--pas))) rotateY(-46deg) scale(.82); z-index: 4; filter: brightness(.55); }
.js .plaque.m1 { transform: translateX(calc(-50% - var(--pas))) rotateY(46deg) scale(.82); z-index: 4; filter: brightness(.55); }
.js .plaque.p2 { transform: translateX(calc(-50% + var(--pas) * 1.62)) rotateY(-60deg) scale(.62); z-index: 3; filter: brightness(.3); opacity: .8; }
.js .plaque.m2 { transform: translateX(calc(-50% - var(--pas) * 1.62)) rotateY(60deg) scale(.62); z-index: 3; filter: brightness(.3); opacity: .8; }
.js .plaque.loin { transform: translateX(-50%) scale(.5); opacity: 0; pointer-events: none; z-index: 1; }
.mur-info { position: relative; display: none; align-items: center; justify-content: center; gap: 22px; }
.js .mur-info { display: flex; }
.mur-info > button { width: 44px; height: 44px; border-radius: 4px; border: 1px solid var(--trait); background: var(--carte); color: var(--texte); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s; }
.mur-texte { display: grid; min-width: min(380px, 62vw); }
.mur-ligne { grid-area: 1 / 1; display: flex; gap: 16px; align-items: center; justify-content: center; opacity: 0; transform: translateY(10px); transition: opacity .45s, transform .45s; }
.mur-ligne.actif { opacity: 1; transform: none; }
.mur-ligne { text-align: center; }
.mur-note { width: min(640px, 100% - 44px); margin: 18px auto 0; text-align: center; }
.mur-ligne strong { display: block; font-weight: 500; font-size: 1.1rem; } .mur-ligne div span { color: var(--doux); font-size: .88rem; }
.js 

/* Backtests */
.bt-panneau { margin-top: 1em; }
.js .bt-panneau:not(.actif) { display: none; }
.bt-panneau img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--trait); }
.bt-stats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 20px; margin-top: 18px; }
.bt-stats div { border-top: 1px solid var(--trait); padding: 12px 0; }
.bt-stats strong { display: block; font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.bt-stats div:first-child strong { color: var(--or); }
.bt-graphe { background: var(--carte); border-radius: var(--rayon); padding: clamp(16px, 2.6vw, 28px); }
.bt-legende { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-bottom: 16px; color: var(--doux); font-size: .84rem; }
.bt-legende span::before { content: ''; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 7px; background: #26a69a; }
.bt-legende .bt-creux::before { background: #b57bff; }
.bt-cadre { position: relative; padding-left: 62px; }
.bt-toile { position: relative; aspect-ratio: 2080 / 800; }
.bt-panneau .bt-toile img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 0; }
.bt-axe { position: absolute; left: 0; width: 54px; text-align: right; transform: translateY(-50%); color: var(--doux); font-size: .74rem; font-variant-numeric: tabular-nums; }
.bt-axe[data-y="0"] { top: 2%; } .bt-axe[data-y="50"] { top: 50%; } .bt-axe[data-y="100"] { top: 98%; }
.bt-trades { display: flex; justify-content: space-between; padding: 8px 0 0 62px; color: var(--doux); font-size: .74rem; }
.bt-source { margin: 10px 0 0; font-size: .78rem; } .bt-source a { color: var(--texte); }
@keyframes bt-trace { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@media (prefers-reduced-motion: no-preference) { .s-backtests:not(.hors-ecran) .bt-panneau.actif .bt-toile img { animation: bt-trace 1.4s cubic-bezier(.3, .6, .2, 1) both; } }
.bt-stats span { color: var(--doux); font-size: .76rem; }
.bt-lire { display: grid; grid-template-columns: minmax(200px, 1fr) 3fr; gap: 12px clamp(24px, 4vw, 56px); margin-top: 28px; padding: clamp(22px, 3vw, 34px); border-top: 2px solid var(--rouge); border-radius: var(--rayon); background: var(--carte); }
.bt-lire h3 { font-family: var(--titre); font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-weight: 500; line-height: 1.18; margin: 0; }
.bt-lire ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 36px); margin: 0; padding: 0; }
.bt-lire li { padding: 13px 0 15px; border-top: 1px solid var(--trait); color: var(--doux); font-size: .92rem; line-height: 1.5; }
.bt-lire li:nth-child(-n+2) { border-top: 0; padding-top: 0; }
.bt-lire li:last-child { grid-column: 1 / -1; padding-bottom: 0; }
.bt-lire strong { display: block; margin-bottom: 2px; color: var(--texte); font-weight: 600; }
/* Deux sections noires qui se suivent : un seul espace entre elles */
.zone.s-backtests, .zone.s-preuves { padding-bottom: 36px; }
.zone.s-preuves, #comment { padding-top: 36px; }


/* Récompenses et trades */
.coffre { display: grid; grid-template-columns: 1.15fr 1fr; gap: 30px; align-items: center; margin-top: 8px; }
.coffre .sur { margin-bottom: .2em; }
.montant { font-family: var(--titre); font-size: clamp(3.2rem, 8.6vw, 6.6rem); line-height: 1; font-weight: 500; margin: 0; white-space: nowrap; color: var(--texte); font-variant-numeric: lining-nums tabular-nums; }
.coffre-date { color: var(--doux); margin: .5em 0 1.6em; }
.progression { max-width: 460px; } .progression svg { display: block; width: 100%; height: auto; }
.trace { stroke-dasharray: 460; stroke-dashoffset: 0; }
.js .reveal .trace { stroke-dashoffset: 460; transition: stroke-dashoffset 1.8s .3s ease-out; } .js .reveal.vu .trace { stroke-dashoffset: 0; }
.progression > div { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: var(--doux); margin-top: 6px; }
.progression b { display: block; color: var(--texte); font-size: 1rem; font-weight: 500; } .droite-t { text-align: right; } .centre-t { text-align: center; }
.gain { color: var(--or); font-weight: 600; font-size: .9rem; }
.eventail { position: relative; height: clamp(340px, 38vw, 470px); perspective: 1000px; }
.eventail > div { position: absolute; left: 50%; top: 50%; width: min(52%, 250px); transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.eventail img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--trait); }
.eventail .e0 { transform: translate(-82%, -50%) rotate(-9deg); }
.eventail .e1 { transform: translate(-22%, -47%) rotate(7deg); z-index: 2; }
.titre-tickets { margin: 56px 0 22px; font-family: var(--titre); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 500; }


@keyframes tourne { to { transform: rotate(360deg); } }
.bt-panneau img, .eventail img { height: auto; }

/* Accueil : zones communes */
.zone { padding: var(--zone) 0; position: relative; }
.zone.sombre { background: var(--fond); }
.entete-zone { max-width: 680px; margin-bottom: clamp(28px, 5vw, 52px); }
.deux-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s, transform .7s; }
.js .reveal.vu { opacity: 1; transform: none; }
.hors-ecran, .hors-ecran *, .hors-ecran *::before, .hors-ecran *::after { animation-play-state: paused !important; }
.accueil main > section:not(.s-vitrine) { content-visibility: auto; contain-intrinsic-size: auto 760px; }
html:has(.accueil) { scroll-padding-top: 80px; }

/* Bandeau */
.bandeau { overflow: hidden; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.defilant { display: flex; width: max-content; animation: defile 48s linear infinite; will-change: transform; }
.defilant p { flex: none; margin: 0; padding-right: 1em; white-space: nowrap; font-family: var(--titre); font-size: clamp(1.6rem, 3.4vw, 2.7rem); color: var(--doux); }
@keyframes defile { to { transform: translateX(-50%); } }

/* Méthode */
#methode h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.mots { display: grid; color: var(--or); }
.mots b { grid-area: 1 / 1; font-weight: 600; opacity: 0; transform: translateY(.4em); transition: opacity .4s, transform .4s; }
.mots b.actif { opacity: 1; transform: none; }
.simulateur { background: var(--carte); border-radius: var(--rayon); padding: clamp(18px, 3vw, 28px); }
.simu-tete { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.simu-tete strong { display: block; font-size: 1.15rem; font-weight: 600; letter-spacing: -.02em; } .simu-tete span { color: var(--doux); font-size: .82rem; }
.simu-choix { display: flex; gap: 4px; background: var(--fond); padding: 4px; border-radius: 4px; }
.simu-choix button { min-width: 52px; min-height: 34px; border: 0; border-radius: 4px; background: none; color: var(--doux); font: 600 .9rem var(--police); cursor: pointer; transition: background .2s, color .2s; }
.simu-choix button.actif { background: var(--or); color: var(--encre); }
.simulateur svg { display: block; width: 100%; height: auto; }
.simu-grille { stroke: var(--trait); }
.simu-axe { fill: var(--doux); font: 500 12px var(--police); }
.simu-ligne { fill: none; stroke: var(--rouge); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.simu-aire { fill: rgba(224, 105, 92, .13); }
.simu-point { fill: var(--carte); stroke: var(--rouge); stroke-width: 3; }
.simu-solde { display: flex; align-items: baseline; gap: 10px; margin: 4px 0 12px; }
.simu-solde span { color: var(--doux); font-size: .82rem; }
.simu-solde strong { font-family: var(--titre); font-size: clamp(2rem, 3.6vw, 2.7rem); font-weight: 500; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.simu-solde em { font-style: normal; font-weight: 600; font-size: .92rem; color: var(--rouge); font-variant-numeric: tabular-nums; }
.simu-curseur { display: flex; align-items: center; gap: 14px; margin: 6px 0 18px; color: var(--doux); font-size: .8rem; white-space: nowrap; }
.simu-curseur input { flex: 1; min-width: 0; height: 22px; margin: 0; accent-color: var(--rouge); cursor: pointer; }
.simu-chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 12px; }
.simu-chiffres div { border-top: 1px solid var(--trait); padding: 10px 0 0; }
.simu-chiffres strong { display: block; white-space: nowrap; font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 600; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.simu-chiffres div:first-child strong { color: var(--rouge); } .simu-chiffres div:last-child strong { color: var(--or); }
.simu-chiffres span { color: var(--doux); font-size: .76rem; line-height: 1.3; display: block; } .simu-chiffres b { font-weight: 600; color: var(--texte); white-space: nowrap; }
.simulateur .note { margin: 0; font-size: .78rem; }

/* Certificats, compléments */
.mur-points { display: none; }
.mur-ligne strong { font-weight: 600; }

/* Comment ça marche */
.etapes { align-items: center; }
.etapes ol { list-style: none; padding: 0; margin: 0; }
.etapes li { display: flex; gap: 18px; padding: 18px 0; border-top: 1px solid var(--trait); }
.etapes li > span { flex: none; width: 30px; font-family: var(--titre); font-size: 1.6rem; line-height: 1.1; color: var(--doux); }
.etapes h3 { margin-bottom: .2em; } .etapes li p { color: var(--doux); margin: 0; }
.etapes figure { margin: 0; } .etapes figure img { display: block; width: 100%; height: auto; border-radius: var(--rayon); border: 1px solid var(--trait); }
.etapes figcaption { text-align: left; }

/* FAQ et fin */
.js .cachee { display: none; }
#faq .btn { margin-top: 1.4em; }
.final img { display: block; margin: 0 auto 1em; height: auto; }
.final { text-align: center; }
.final .chapo { margin-inline: auto; }
.final .actions { align-items: center; justify-content: center; gap: 22px; }
.plan-chiffres { color: var(--texte); margin: 0 0 1.4em; }
#methode .deux-col { align-items: start; }
.programme { list-style: none; padding: 0; margin: 0 0 1.6em; }
.programme li { display: flex; gap: 14px; align-items: baseline; padding: 11px 0; border-top: 1px solid var(--trait); }
.programme li:last-child { border-bottom: 1px solid var(--trait); }
.programme span { flex: none; width: 2.6em; color: var(--doux); font-size: .84rem; font-variant-numeric: tabular-nums; }

@media (max-width: 860px) {
  .deux-col, .coffre { grid-template-columns: minmax(0, 1fr); }
  .eventail { height: 380px; } .eventail > div { width: min(50%, 190px); }
  .mur { margin-bottom: 62px; } .mur-info { gap: 10px; }
  .titre-tickets { margin-top: 44px; }
  .bt-stats { grid-template-columns: repeat(2, 1fr); }
  .bt-toile { aspect-ratio: 4 / 3; }
  .bt-lire, .bt-lire ul { grid-template-columns: minmax(0, 1fr); }
  .bt-lire li:nth-child(2) { border-top: 1px solid var(--trait); padding-top: 13px; }
  .bt-cadre { padding-left: 50px; } .bt-axe { width: 44px; font-size: .68rem; } .bt-trades { padding-left: 50px; }
  .simu-chiffres { gap: 10px; }
  .simu-chiffres strong { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  .defilant, .cercle, .faisceau { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

.fleches button { width: 40px; height: 40px; }
.essai { padding: .5em 0; }
.pilules button { min-height: 34px; }

/* Objets du carrousel : images entières sur scène noire. Le mode « screen » efface le noir :
   aucune découpe, donc aucun contour. La lueur verte (.fond) passe au-dessus des objets. */
.s-vitrine { background: var(--fond); }
.objet { --taille: min(84vh, 640px, 46vw); --decale: min(12vw, 170px); position: absolute; left: 50%; top: 50%; width: var(--taille); mix-blend-mode: screen; transition: transform 1.05s cubic-bezier(.65, 0, .2, 1), opacity .7s; }
.objet img { display: block; width: 100%; height: auto; background: none; }
.objet.centre { transform: translate(calc(-50% + var(--decale)), -50%); z-index: 3; }
.objet.centre img { animation: flottement 5s ease-in-out infinite alternate; }
.objet.haut { transform: translate(calc(-50% + var(--decale)), calc(-50% - 14vh)) scale(.8); opacity: 0; z-index: 1; }
.objet.bas { transform: translate(calc(-50% + min(35vw, 490px)), calc(-50% + 25vh)) scale(.3) rotate(10deg); z-index: 2; pointer-events: auto; cursor: pointer; }
.objet.saute { transition: none; opacity: 0; }
@media (max-width: 860px) {
  .objet { --taille: min(48svh, 92vw); --decale: 0px; top: 25%; }
  .objet.bas { transform: translate(-50%, calc(-50% + 10svh)) scale(.8); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .objet { transition: none; } .objet.centre img { animation: none; } }
.progression circle:last-of-type { fill: var(--texte); }

/* Une image par thème : celle de l'autre thème n'est jamais téléchargée */
.seul-clair { display: none; } .seul-sombre { display: contents; }
:root[data-theme=clair] .seul-clair { display: contents; } :root[data-theme=clair] .seul-sombre { display: none; }
/* Thème clair : des images faites sur fond blanc, fondues dans la page sans découpe */
:root[data-theme=clair] .objet { mix-blend-mode: multiply; }

/* Finition de l'accueil */
.simulateur, .bt-graphe, .bt-lire, .face { box-shadow: inset 0 0 0 1px var(--trait); }
.bt-lire { border-top: 0; }
.bt-lire h3 { color: var(--rouge); }
.bt-stats strong, .simu-chiffres strong { font-family: var(--titre); font-weight: 500; font-size: clamp(1.45rem, 2.4vw, 1.9rem); letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.plan-chiffres { font-size: 1rem; }
.programme li { font-size: 1rem; }
.etapes h3 { font-size: 1.15rem; }
@media (max-width: 860px) { .simu-chiffres strong { font-size: 1.2rem; } }

/* Changement de formule : l'ancien texte part vite, le nouveau arrive après. Jamais deux textes ensemble. */
.js .diapo:not(.actif) { transition: visibility 0s .2s; }
.js .diapo-texte, .js .suivant-nom { opacity: 0; transition: opacity .18s, transform .18s; }
.js .diapo.actif .diapo-texte, .js .diapo.actif .suivant-nom { opacity: 1; transform: none; transition: opacity .45s .22s, transform .45s .22s; }

/* Apparition simple */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease-out, transform .5s ease-out; }
  .js .reveal.vu { opacity: 1; transform: none; }
}

/* Trades : même carrousel que les certificats, à la taille de la colonne */
.mur.mur-trades { --pas: clamp(66px, 9.5vw, 124px); --haut: clamp(300px, 27vw, 370px); margin: 8px 0 26px; }
.mur-trades .plaque img { max-width: 300px; }
.preuves-trades { overflow-x: clip; }
.s-preuves .note { margin-top: 30px; }

/* Récompenses à gauche, trades à droite, sur la même ligne. Sur téléphone, les blocs s'empilent. */
@media (min-width: 861px) {
  .preuves-grille { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(36px, 5vw, 76px); align-items: center; }
  .preuves-recompenses .entete-zone { margin-bottom: 26px; }
  .preuves-recompenses .coffre { display: block; margin: 0; }
  .preuves-recompenses .montant { font-size: clamp(3rem, 5.4vw, 5rem); }
  .preuves-recompenses .progression { max-width: 380px; }
  .preuves-recompenses .eventail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; height: auto; max-width: 380px; perspective: none; margin-top: 26px; }
  .preuves-recompenses .eventail > div { position: static; width: auto; transform: none; }
  .preuves-trades .titre-tickets { margin-top: 0; font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
}

/* Tarifs : trois formules à égalité, chaque carte mène à Telegram */
.tarifs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tarif { position: relative; display: flex; flex-direction: column; --bord: #3ddc8e; background: var(--carte); border-radius: 16px; padding: clamp(24px, 2.8vw, 36px); color: var(--texte); text-decoration: none; box-shadow: inset 0 0 0 1px var(--bord), 0 0 16px rgba(61, 220, 142, .16); transition: box-shadow .2s, opacity .5s ease-out, transform .5s ease-out; }
.tarif:hover, .tarif:focus-visible { box-shadow: inset 0 0 0 1px var(--bord), 0 0 26px rgba(61, 220, 142, .34); }
:root[data-theme=clair] .tarif { --bord: #1fb873; }
.tarif-fleche { position: absolute; top: clamp(22px, 2.6vw, 32px); right: clamp(22px, 2.6vw, 32px); color: var(--doux); font-size: 1.15rem; transition: color .2s, transform .2s; }
.tarif:hover .tarif-fleche, .tarif:focus-visible .tarif-fleche { color: var(--or); transform: translateX(4px); }
.tarif h3 { margin: 0 28px 8px 0; font-family: var(--titre); font-size: clamp(1.25rem, 1.8vw, 1.45rem); font-weight: 500; line-height: 1.2; }
.tarif-accroche { margin: 0 0 26px; color: var(--doux); font-size: .92rem; line-height: 1.5; }
.tarif-prix { margin: 0; font-family: var(--titre); font-size: clamp(2.5rem, 3.9vw, 3.3rem); font-weight: 500; line-height: 1; white-space: nowrap; font-variant-numeric: lining-nums; letter-spacing: -.01em; }
.tarif-prix small { margin-left: .3em; font-family: var(--police); font-size: .9rem; font-weight: 500; letter-spacing: .04em; color: var(--doux); }
.tarif-duree { margin: 10px 0 26px; color: var(--doux); font-size: .82rem; }
.tarif ul { list-style: none; display: grid; align-content: start; gap: 11px; margin: 0; padding: 0; font-size: .95rem; line-height: 1.4; }
.tarif li { position: relative; padding-left: 22px; }
.tarif li::before { content: ''; position: absolute; left: 0; top: .66em; width: 11px; height: 2px; border-radius: 2px; background: var(--or); }
@media (min-width: 861px) { .tarifs { grid-template-rows: repeat(5, auto); gap: 0 20px; } .tarif { display: grid; grid-row: span 5; grid-template-rows: subgrid; } }
@media (max-width: 860px) { .tarifs { grid-template-columns: 1fr; } }

/* Mot qui change : l'ancien part avant que le nouveau arrive */
.mots b { transition: opacity .16s, transform .16s; }
.mots b.actif { transition: opacity .4s .18s, transform .4s .18s; }
