/* KDmax — feuille de style unique du site vitrine (remplace les 14 CSS du thème d'origine).
   Couleurs reprises de l'ancien site : jaune #FFCE00, noir, gris #909090. */
@font-face { font-family: "Lufga"; src: url("/assets/fonts/Lufga-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("/assets/fonts/Lufga-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Lufga"; src: url("/assets/fonts/Lufga-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --jaune: #ffce00;
  --jaune-fonce: #e0b400;
  --noir: #0b0b0b;
  --noir-2: #161616;
  --gris: #909090;
  --texte: #1b1b1b;
  --fond: #f6f6f4;
  --carte: #ffffff;
  --bord: #e6e6e1;
  --rayon: 14px;
  --ombre: 0 6px 24px rgba(0,0,0,.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Lufga", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texte); background: var(--fond); line-height: 1.55; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.conteneur { width: min(1180px, 100% - 32px); margin-inline: auto; }
.visuellement-cache { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Bandeau du haut ── */
.bandeau { background: var(--noir); color: #ddd; font-size: .9rem; }
.bandeau .conteneur { display: flex; flex-wrap: wrap; gap: 6px 18px; justify-content: center; padding: 8px 0; }
.bandeau a { text-decoration: none; color: #ddd; display: inline-flex; align-items: center; gap: 6px; }
.bandeau a:hover { color: var(--jaune); }
.defilant { background: var(--noir-2); color: var(--jaune); overflow: hidden; white-space: nowrap; font-size: .92rem; }
.defilant p { display: inline-block; margin: 0; padding: 8px 0 8px 100%; animation: defile 38s linear infinite; }
@keyframes defile { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .defilant p { animation: none; padding-left: 16px; white-space: normal; } }

/* ── En-tête ── */
.entete { background: #000; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.logo img { height: 60px; width: auto; display: block; filter: drop-shadow(0 0 0 rgba(255,206,0,0)); animation: logo-lueur 4s ease-in-out infinite; }
.logo-pied { height: 96px; width: auto; }
@keyframes logo-lueur { 50% { filter: drop-shadow(0 0 10px rgba(255,206,0,.55)); } }
.menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: 10px 14px; border-radius: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: .95rem; text-transform: uppercase; letter-spacing: .02em; }
.menu a:hover, .menu a:focus-visible { background: #1f1f1f; color: var(--jaune); }
.menu a[aria-current="page"] { color: var(--jaune); }
/* ── Sélecteur de langue (en-tête, toujours visible) ── */
.langues { display: flex; gap: 2px; background: #1a1a1a; border: 1px solid #333; border-radius: 999px; padding: 3px; margin-inline-start: auto; }
.langues a { color: #ddd; text-decoration: none; font-weight: 700; font-size: .85rem; padding: 6px 11px; border-radius: 999px; line-height: 1; white-space: nowrap; }
.langues a:hover, .langues a:focus-visible { color: #000; background: #ffe680; }
.langues a[aria-current="true"] { background: var(--jaune); color: #000; }
.langues a[lang="ar"] { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", sans-serif; font-size: .9rem; }
@media (max-width: 420px) { .langues a { padding: 6px 8px; font-size: .8rem; } }

/* ── Arabe : écriture de droite à gauche + police qui a les lettres arabes ── */
[dir="rtl"] body, html[dir="rtl"] { font-family: "Segoe UI", Tahoma, "Noto Naskh Arabic", "Noto Sans Arabic", "Lufga", sans-serif; }
html[dir="rtl"] .defilant p { animation-name: defile-rtl; padding: 8px 100% 8px 0; }
@keyframes defile-rtl { to { transform: translateX(100%); } }
html[dir="rtl"] .heros::after { background: linear-gradient(270deg, rgba(0,0,0,.25), rgba(0,0,0,.85) 60%); }
html[dir="rtl"] .wa-flottant { left: auto; right: 16px; }
html[dir="rtl"] .haut-de-page { right: auto; left: 16px; }
html[dir="rtl"] .anim { transform: translateY(18px); }
html[dir="rtl"] .surtitre { letter-spacing: 0; }
html[dir="rtl"] .menu a, html[dir="rtl"] .btn { text-transform: none; letter-spacing: 0; }

.menu-bouton { display: none; background: none; border: 1px solid #444; color: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; cursor: pointer; }
@media (max-width: 900px) {
  .menu-bouton { display: block; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: #000; padding: 8px 16px 16px; }
  .entete .conteneur { gap: 10px; }
  .logo img { height: 48px; }
  .menu.ouvert { display: flex; }
}

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; border: 2px solid var(--jaune); background: var(--jaune); color: #000; cursor: pointer; font-size: .95rem; transition: transform .15s, background .15s; }
.btn:hover, .btn:focus-visible { background: var(--jaune-fonce); border-color: var(--jaune-fonce); transform: translateY(-1px); }
.btn.contour { background: transparent; color: var(--jaune); }
.btn.contour:hover { background: var(--jaune); color: #000; }
.btn.whatsapp { background: #25d366; border-color: #25d366; color: #fff; }
.btn.petit { padding: 9px 16px; font-size: .85rem; }
:focus-visible { outline: 3px solid var(--jaune); outline-offset: 2px; }

/* ── Héros ── */
.heros { position: relative; color: #fff; background: #000 url("/assets/images/banner/banner-1.png") left center / cover no-repeat; }
.heros::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(0,0,0,.85) 60%); }
.heros .conteneur { position: relative; z-index: 1; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px; padding: 64px 0; }
.heros h1 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); line-height: 1.12; margin: 0 0 14px; font-weight: 800; }
.heros h1 span:not(.h1-l1) { color: var(--jaune); }
.heros p { font-size: 1.1rem; color: #e5e5e5; max-width: 560px; }
.heros .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.heros .visuel { text-align: center; }
.heros .visuel img { max-height: 380px; }
@media (max-width: 800px) {
  .heros .conteneur { grid-template-columns: 1fr; padding: 40px 0; text-align: center; }
  .heros .actions { justify-content: center; }
  .heros .visuel { order: -1; }
  .heros .visuel img { max-height: 220px; }
  .heros::after { background: rgba(0,0,0,.72); }
}

/* ── Sections ── */
.section { padding: 56px 0; }
.section.sombre { background: var(--noir); color: #fff; }
.surtitre { color: var(--gris); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; margin: 0 0 6px; font-size: .9rem; }
.titre { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; margin: 0 0 24px; line-height: 1.2; }
.section.sombre .titre { color: var(--jaune); }
.grille { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.raccourcis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.raccourcis .btn { width: 100%; }

.carte { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 22px; box-shadow: var(--ombre); display: flex; flex-direction: column; gap: 10px; }
.carte h3 { margin: 0; font-size: 1.08rem; }
.carte p { margin: 0; color: #555; font-size: .95rem; }
.carte .pied { margin-top: auto; padding-top: 8px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.carte.vedette { border: 2px solid var(--jaune); background: #fffbea; }
.carte .entete-carte { display: flex; gap: 14px; align-items: center; }
.carte .entete-carte img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.pastille { display: inline-block; background: var(--jaune); color: #000; font-weight: 800; font-size: .72rem; padding: 3px 8px; border-radius: 999px; text-transform: uppercase; }
.pastille.grise { background: #e7e7e7; color: #444; }
.code-downloader { font-family: ui-monospace, Consolas, monospace; background: #f1f1ee; border: 1px dashed #c9c9c2; padding: 2px 8px; border-radius: 6px; font-weight: 700; }

/* ── Essai 24 h ── */
.essai { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; align-items: center; }
.essai img { max-height: 320px; margin-inline: auto; display: block; }
@media (max-width: 800px) { .essai { grid-template-columns: 1fr; text-align: center; } }

/* ── Points de vente ── */
.filtres { background: var(--carte); border: 1px solid var(--bord); border-radius: var(--rayon); padding: 18px; display: grid; gap: 14px; grid-template-columns: 1fr 1fr 1fr auto; align-items: end; margin-bottom: 22px; box-shadow: var(--ombre); }
.filtres label { display: block; font-weight: 600; color: #555; margin-bottom: 6px; font-size: .9rem; }
.filtres select, .filtres input, .champ { width: 100%; padding: 12px 14px; border: 1px solid #cfcfc8; border-radius: 10px; font: inherit; background: #fff; }
@media (max-width: 900px) { .filtres { grid-template-columns: 1fr; } }
.compteur { color: var(--gris); margin: 0 0 14px; }
.pdv .lieu { color: var(--gris); font-size: .88rem; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; }
.carte-geo { border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--bord); margin-bottom: 26px; background: #ddd; }
.carte-geo iframe { display: block; width: 100%; height: min(70vh, 560px); border: 0; }
.vide { text-align: center; padding: 30px; color: #666; }

/* ── FAQ ── */
.faq details { background: var(--carte); border: 1px solid var(--bord); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 800; color: var(--jaune-fonce); }
.faq details[open] summary::after { content: "−"; }
.faq .reponse { padding: 0 18px 16px; color: #444; }

/* ── Contact ── */
.contacts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.contacts a.carte { text-decoration: none; align-items: flex-start; }
.contacts a.carte:hover { border-color: var(--jaune); }

/* ── Page de texte (politique) ── */
.texte { background: var(--carte); border-radius: var(--rayon); padding: clamp(20px, 4vw, 44px); border: 1px solid var(--bord); max-width: 900px; margin-inline: auto; }
.texte h2 { margin-top: 1.6em; font-size: 1.25rem; }

/* ── Activation ── */
.activation { max-width: 560px; margin-inline: auto; text-align: center; }
.activation form { display: grid; gap: 14px; margin-top: 18px; }
.activation .champ { font-size: 1.25rem; text-align: center; letter-spacing: .12em; }
.message { padding: 14px 16px; border-radius: 12px; font-weight: 600; margin: 14px 0 0; }
.message.ok { background: #e7f7ec; color: #11602d; border: 1px solid #b7e4c5; }
.message.erreur { background: #fdecec; color: #8a1c1c; border: 1px solid #f3c2c2; }

/* ── Pied de page ── */
.pied-page { background: #000; color: #bbb; padding: 44px 0 20px; margin-top: 40px; }
.pied-page .colonnes { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.pied-page h4 { color: var(--jaune); margin: 0 0 12px; text-transform: uppercase; font-size: .95rem; letter-spacing: .05em; }
.pied-page ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied-page a { color: #ddd; text-decoration: none; }
.pied-page a:hover { color: var(--jaune); }
.pied-page .bas { border-top: 1px solid #222; margin-top: 30px; padding-top: 16px; font-size: .85rem; text-align: center; }

.sous-titre { font-size: 1.25rem; margin: 34px 0 14px; }
.sous-titre.anciennes { margin-top: 56px; padding-top: 22px; border-top: 2px dashed var(--bord); color: #777; }

/* ── Boîte surprise (KDmax Gold avant son lancement) ── */
.surprise { margin: 10px 0 8px; border-radius: var(--rayon); background: linear-gradient(135deg, #111 0%, #2a2200 100%); color: #fff; border: 2px solid var(--jaune); box-shadow: 0 10px 30px rgba(255,206,0,.18); overflow: hidden; }
.surprise summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.surprise summary::-webkit-details-marker { display: none; }
.surprise summary b { display: block; font-size: 1.25rem; color: var(--jaune); }
.surprise summary small { color: #ccc; }
.surprise .cadeau { font-size: 3.2rem; line-height: 1; display: inline-block; animation: cadeau-secoue 2.4s ease-in-out infinite; transform-origin: 50% 80%; }
.surprise[open] .cadeau { animation: cadeau-ouvre .5s ease-out both; }
@keyframes cadeau-secoue { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-12deg) scale(1.06); } 80% { transform: rotate(10deg) scale(1.06); } 85% { transform: rotate(-8deg); } 90% { transform: rotate(6deg); } }
@keyframes cadeau-ouvre { 0% { transform: scale(1); } 50% { transform: scale(1.35) rotate(-8deg); } 100% { transform: scale(1.1); } }
.surprise-message { margin: 0; padding: 0 24px 22px; font-size: 1.05rem; animation: monte .45s ease-out both; }
.centre { text-align: center; }

/* ── Activation : volets Activer / Recharger ── */
.volets-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.volets-choix button, .sous-choix button { font: inherit; padding: 14px 10px; border-radius: 12px; border: 2px solid var(--bord); background: #fff; cursor: pointer; font-weight: 700; color: var(--texte); }
.volets-choix button small { display: block; font-weight: 400; color: #666; font-size: .82rem; margin-top: 2px; }
.volets-choix button[aria-pressed="true"], .sous-choix button[aria-pressed="true"] { border-color: var(--jaune); background: #fffbea; }
.sous-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.identifiants { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; text-align: left; }
.identifiants li { display: flex; justify-content: space-between; gap: 12px; background: #f6f6f2; border-radius: 10px; padding: 12px 14px; flex-wrap: wrap; }
.identifiants b { font-family: ui-monospace, Consolas, monospace; letter-spacing: .04em; word-break: break-all; }
.aide { color: #666; font-size: .9rem; }

/* ── Outil de gestion ── */
.gestion-barre { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.gestion-nav { display: flex; flex-wrap: wrap; gap: 6px; }
.gestion-nav a { padding: 8px 12px; border-radius: 10px; text-decoration: none; background: #fff; border: 1px solid var(--bord); font-weight: 600; }
.gestion-nav a[aria-current="page"] { border-color: var(--jaune); background: #fffbea; }
.tableau { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre); }
.tableau th, .tableau td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--bord); vertical-align: top; font-size: .92rem; }
.tableau th { background: #111; color: #fff; font-weight: 600; }
.tableau tr.masque td { opacity: .55; }
.tableau-defile { overflow-x: auto; }
/* `listePointsOrganisee` + `doubleValidationPublique` (25/10) */
.filtres-plus { grid-template-columns: 2fr 1.4fr 1.4fr 1fr 1.4fr .8fr auto; }
@media (max-width: 1100px) { .filtres-plus { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .filtres-plus { grid-template-columns: 1fr; } }
.raccourcis-filtres { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin: 0 0 12px; color: var(--gris); }
.raccourcis-filtres a { padding: 6px 10px; border: 1px solid var(--bord); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .9rem; }
.raccourcis-filtres a[aria-current] { border-color: var(--jaune); background: #fffbea; }
.lot-barre { position: sticky; top: 0; z-index: 5; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; background: #fffbea;
  border: 1px solid var(--jaune); border-radius: var(--rayon); padding: 10px 14px; margin-bottom: 12px; }
.lot-barre select { padding: 8px 10px; border-radius: 8px; border: 1px solid #cfcfc8; font: inherit; }
.tableau tr.groupe-ligne th { background: #f3f1ea; color: #111; font-size: .95rem; border-top: 2px solid var(--jaune); }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; margin: 16px 0; }
.pagination a, .pagination b, .pagination span { padding: 6px 10px; }
.confirmer { border: 3px solid var(--jaune); max-width: 980px; }
.confirmer.danger { border-color: #c0392b; }
.confirmer-etape { display: inline-block; margin: 0 0 8px; padding: 4px 10px; border-radius: 999px; background: #fffbea; border: 1px solid var(--jaune); font-weight: 700; font-size: .85rem; }
.confirmer.danger .confirmer-etape { background: #fdecea; border-color: #c0392b; }
.confirmer-liste { margin: 10px 0 16px; padding-inline-start: 1.2rem; display: grid; gap: 4px; }
.tableau.diff td.avant { color: #8a2a1e; text-decoration: line-through; text-decoration-color: rgba(138, 42, 30, .4); }
.tableau.diff td.apres { color: #1d6b34; font-weight: 600; }
.confirmer .actions-ligne { margin-top: 16px; }
.formulaire { display: grid; gap: 14px; max-width: 760px; }
.formulaire label { font-weight: 600; display: grid; gap: 6px; }
.formulaire textarea { min-height: 120px; }
.case { display: flex !important; align-items: center; gap: 10px; font-weight: 600; }
.case input { width: 20px; height: 20px; }
.actions-ligne { display: flex; flex-wrap: wrap; gap: 6px; }
.actions-ligne form { margin: 0; }
.apercu-cadre { border: 3px solid #1e3a8a; border-radius: var(--rayon); overflow: hidden; margin: 12px 0 20px; background: #fff; }
.apercu-cadre iframe { display: block; width: 100%; height: 78vh; border: 0; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.danger { background: #b3261e; border-color: #b3261e; color: #fff; }
.btn.neutre { background: #fff; border-color: #cfcfc8; color: #222; }

/* ── WhatsApp flottant : toujours à portée de pouce, surtout sur téléphone ── */
.wa-flottant { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff; text-decoration: none; font-weight: 800; border-radius: 999px; padding: 12px 18px 12px 14px; box-shadow: 0 6px 20px rgba(0,0,0,.25); animation: wa-pouls 2.8s ease-out infinite; }
.wa-flottant svg { width: 24px; height: 24px; fill: currentColor; flex: none; }
@keyframes wa-pouls { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 20px rgba(0,0,0,.25); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 6px 20px rgba(0,0,0,.25); } }
@media (max-width: 520px) { .wa-flottant span { display: none; } .wa-flottant { padding: 14px; } }

/* ── Animations légères : seulement opacity/transform (calculées par la carte graphique, coût quasi nul) ── */
.heros h1, .heros p, .heros .actions { animation: monte .6s ease-out both; }
.heros p { animation-delay: .1s; }
.heros .actions { animation-delay: .2s; }
.heros .visuel img { animation: flotte 6s ease-in-out infinite; }
@keyframes monte { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes flotte { 50% { transform: translateY(-10px); } }
.anim { opacity: 0; transform: translateY(18px); transition: opacity .5s ease-out, transform .5s ease-out; }
.anim.vu { opacity: 1; transform: none; }
.carte { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.carte:hover, .grille .carte:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(0,0,0,.12); }
/* Titre jaune qui scintille, reflet sur les boutons, soulignement qui se dessine à l'apparition */
.heros h1 span:not(.h1-l1) { background: linear-gradient(100deg, var(--jaune) 35%, #fff6c2 50%, var(--jaune) 65%); background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: scintille 5s linear 1s infinite; }
@keyframes scintille { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 40%, rgba(255,255,255,.45) 50%, transparent 60%); transform: translateX(-120%); pointer-events: none; }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(120%); transition: transform .6s ease; }
.section .titre::after { content: ""; display: block; width: 64px; height: 4px; border-radius: 4px; background: var(--jaune); margin-top: 10px; transform-origin: left; transition: transform .6s ease-out .2s; }
.centre .titre::after { margin-inline: auto; transform-origin: center; }
.titre.anim::after { transform: scaleX(0); }
.titre.anim.vu::after { transform: scaleX(1); }

/* Outil : chiffres et courbe des téléchargements */
.grand-chiffre { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.courbe { display: flex; align-items: flex-end; gap: 4px; height: 180px; background: #fff; border: 1px solid var(--bord); border-radius: var(--rayon); padding: 12px 12px 26px; overflow-x: auto; }
.courbe .barre { flex: 1 0 14px; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.courbe .barre span { width: 100%; background: var(--jaune); border-radius: 4px 4px 0 0; min-height: 2px; }
.courbe .barre small { position: absolute; bottom: -20px; font-size: .7rem; color: #777; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .anim { opacity: 1; transform: none; }
}

.haut-de-page { position: fixed; right: 16px; bottom: 16px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--jaune); color: #000; font-size: 1.3rem; font-weight: 800; cursor: pointer; box-shadow: var(--ombre); opacity: 0; pointer-events: none; transition: opacity .2s; }
.haut-de-page.visible { opacity: 1; pointer-events: auto; }
