/* Outils Roblox (maxicards.net/roblox) : feuille de style unique.
   Identité « blocs » : violet franc + corail / or / azur, polices Fredoka (titres) et Nunito (texte), tout en CSS et SVG. */

/* Polices de secours calées sur les métriques des polices web : pas de saut de mise en page au chargement */
@font-face { font-family: "Fredoka Fallback"; src: local("Arial"); size-adjust: 103%; ascent-override: 94%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Nunito Fallback"; src: local("Arial"); size-adjust: 99%; ascent-override: 102%; descent-override: 36%; line-gap-override: 0%; }

:root {
  --fond: #f6f3fd;
  --surface: #ffffff;
  --surface-2: #efeafa;
  --texte: #1a1530;
  --texte-doux: #4b4670;
  --bord: #d8d2ee;
  --accent: #6d28d9;
  --accent-fonce: #5b21b6;
  --accent-doux: #ede4ff;
  --bleu: #5b3fd0;
  --ok: #157f3d;
  --ko: #b42318;
  --corail: #ff5a4f;
  --or: #ffc83d;
  --azur: #22d3ee;
  --jaune: #f5b300;
  --ombre: 0 1px 2px rgba(26, 21, 48, .06), 0 4px 16px rgba(26, 21, 48, .07);
  --ombre-haute: 0 2px 4px rgba(26, 21, 48, .08), 0 14px 30px rgba(76, 29, 149, .18);
  --rayon: 16px;
  --titres: "Fredoka", "Fredoka Fallback", "Trebuchet MS", Arial, sans-serif;
  --texte-police: "Nunito", "Nunito Fallback", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --fond: #110b22;
    --surface: #1b1432;
    --surface-2: #281f48;
    --texte: #eeeafb;
    --texte-doux: #b3add6;
    --bord: #3b3066;
    --accent: #a78bfa;
    --accent-fonce: #c4b5fd;
    --accent-doux: #2b2050;
    --bleu: #b9a8ff;
    --ok: #4ade80;
    --ko: #f87171;
    --ombre: 0 1px 2px rgba(0, 0, 0, .4), 0 4px 16px rgba(0, 0, 0, .3);
    --ombre-haute: 0 2px 4px rgba(0, 0, 0, .5), 0 14px 30px rgba(0, 0, 0, .45);
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--texte-police);
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--bleu); text-underline-offset: 2px; }
a:hover { color: var(--accent); }
img, svg { max-width: 100%; height: auto; }
.conteneur { width: 100%; max-width: 920px; margin: 0 auto; padding: 0 16px; }

/* En-tête */
.entete { background: var(--surface); border-bottom: 1px solid var(--bord); position: sticky; top: 0; z-index: 10; }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.marque { display: flex; align-items: center; gap: 10px; font-family: var(--titres); font-weight: 700; color: var(--texte); text-decoration: none; }
.marque:hover { color: var(--texte); }
.logo { width: 38px; height: 38px; flex: none; border-radius: 10px; box-shadow: 0 2px 8px rgba(76, 29, 149, .35); background: transparent; }
.marque .nom { display: flex; flex-direction: column; line-height: 1.05; font-size: 1.3rem; letter-spacing: .1px; }
.marque small { font-family: var(--texte-police); font-weight: 700; font-size: .74rem; color: var(--accent); letter-spacing: .2px; }
.menu summary { list-style: none; cursor: pointer; padding: 8px 14px; border: 2px solid var(--bord); border-radius: 12px; font-weight: 800; font-size: .95rem; transition: border-color .15s, transform .15s; }
.menu summary:hover { border-color: var(--accent); }
.menu summary:active { transform: translateY(1px); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 16px; top: 58px; max-height: 75vh; overflow-y: auto; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre-haute); padding: 8px; min-width: 260px; }
.menu nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--texte); text-decoration: none; font-weight: 700; }
.menu nav a:hover, .menu nav a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }
.menu[open] nav { animation: surgir .18s ease-out; }

/* Logo : les blocs du R tombent à l'arrivée */
.logo .b { transform-box: fill-box; transform-origin: center; animation: bloc .5s cubic-bezier(.3, 1.5, .5, 1) both; }
.logo .b:nth-of-type(1) { animation-delay: .00s; } .logo .b:nth-of-type(2) { animation-delay: .04s; }
.logo .b:nth-of-type(3) { animation-delay: .08s; } .logo .b:nth-of-type(4) { animation-delay: .12s; }
.logo .b:nth-of-type(5) { animation-delay: .16s; } .logo .b:nth-of-type(6) { animation-delay: .20s; }
.logo .b:nth-of-type(7) { animation-delay: .24s; } .logo .b:nth-of-type(8) { animation-delay: .28s; }
.logo .b:nth-of-type(9) { animation-delay: .32s; } .logo .b:nth-of-type(10) { animation-delay: .36s; }
.logo .b:nth-of-type(11) { animation-delay: .40s; } .logo .b:nth-of-type(12) { animation-delay: .44s; }
@keyframes bloc { from { opacity: 0; transform: translateY(-14px) scale(.5); } to { opacity: 1; transform: none; } }
@keyframes surgir { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }

/* Contenu */
main { padding: 20px 0 40px; }
.fil { font-size: .88rem; color: var(--texte-doux); margin: 0 0 10px; }
.fil a { color: var(--texte-doux); }
h1, h2, h3 { font-family: var(--titres); font-weight: 700; }
h1 { font-size: clamp(1.6rem, 4.8vw, 2.3rem); line-height: 1.15; margin: 4px 0 8px; letter-spacing: .1px; }
h2 { font-size: 1.45rem; line-height: 1.25; margin: 34px 0 10px; }
h3 { font-size: 1.15rem; margin: 20px 0 6px; }
.chapo { color: var(--texte-doux); margin: 0 0 18px; font-size: 1.05rem; }
p, ul, ol { margin: 0 0 14px; }
li { margin-bottom: 6px; }
.titre-page.avec-ico { display: flex; align-items: flex-start; gap: 14px; }
.titre-page .ico.grand { margin-top: 4px; }
.titre-page > div { min-width: 0; }

/* Icônes maison : tuile colorée à arête basse, pictogramme blanc */
.ico { flex: none; display: block; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.ico .fa { fill: var(--k); }
.ico .bas { fill: var(--kd); }
.ico .g { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.ico .gf { fill: #fff; stroke: none; }
.k-violet { --k: #7c3aed; --kd: #4c1d95; }
.k-coral { --k: #f2493f; --kd: #a8231b; }
.k-cyan { --k: #0a8fb0; --kd: #075f77; }
.k-vert { --k: #1f9d55; --kd: #146c3a; }
.k-orange { --k: #e08a00; --kd: #9a5d00; }

/* Hero de l'accueil */
.hero { position: relative; display: grid; gap: 4px; margin: 4px 0 8px; padding: 26px 20px 10px; border-radius: 26px; color: #fff; overflow: hidden;
  background: radial-gradient(circle at 85% 8%, #6d28d9 0, transparent 52%), radial-gradient(circle at 5% 100%, #3b1486 0, transparent 50%), linear-gradient(160deg, #2a0f5e, #120726); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 34px 34px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 70%); mask-image: linear-gradient(180deg, transparent, #000 70%); }
.hero-texte, .scene { position: relative; }
.hero h1 { color: #fff; font-size: clamp(1.8rem, 6.2vw, 2.8rem); line-height: 1.1; margin: 0 0 10px; }
.hero .chapo { color: #e4dcfb; margin: 0 0 16px; }
.acces { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.acces a { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 14px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .14); color: #fff; font-family: var(--titres); font-weight: 700; font-size: 1.15rem; line-height: 1.2; text-decoration: none; transition: background .15s, color .15s, transform .15s; }
.acces a:hover { background: var(--or); color: #1a0f3c; transform: translateY(-2px); }
.acces a:hover .ico { transform: rotate(-8deg) scale(1.08); }
.hero a:focus-visible { outline: 3px solid var(--or); outline-offset: 2px; }

/* Scène de blocs 3D (CSS pur) */
.scene { height: 200px; perspective: 800px; perspective-origin: 50% 40%; }
.pos { position: absolute; }
.p1 { left: 40%; top: 46px; } .p2 { left: 6%; top: 74px; } .p3 { left: 76%; top: 14px; } .p4 { left: 24%; top: 6px; } .p5 { left: 68%; top: 140px; }
.cube { --s: 60px; --c: #ff5a4f; --ry: 35deg; position: relative; width: var(--s); height: var(--s); transform-style: preserve-3d;
  transform: rotateX(-24deg) rotateY(var(--ry)); animation: flotte 5.5s ease-in-out infinite alternate; }
.cube i { position: absolute; inset: 0; background: var(--c); border: 2px solid rgba(0, 0, 0, .16); border-radius: 4px; backface-visibility: hidden; }
.av { transform: translateZ(calc(var(--s) / 2)); }
.ar { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); box-shadow: inset 0 0 0 99px rgba(0, 0, 0, .3); }
.gc { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); box-shadow: inset 0 0 0 99px rgba(0, 0, 0, .24); }
.dr { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); box-shadow: inset 0 0 0 99px rgba(0, 0, 0, .12); }
.ht { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); box-shadow: inset 0 0 0 99px rgba(255, 255, 255, .28); }
.bs { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); box-shadow: inset 0 0 0 99px rgba(0, 0, 0, .4); }
.ht::after { content: ""; position: absolute; inset: 27%; border-radius: 50%; background: rgba(255, 255, 255, .22); box-shadow: 0 0 0 2px rgba(0, 0, 0, .1); }
.k-corail { --s: 104px; --c: #ff5a4f; --ry: 38deg; }
.k-or { --s: 66px; --c: #ffc83d; --ry: -28deg; animation-delay: -1.6s; animation-duration: 6.4s; }
.k-azur { --s: 54px; --c: #22d3ee; --ry: 52deg; animation-delay: -3s; animation-duration: 5s; }
.k-lilas { --s: 42px; --c: #b79cff; --ry: -50deg; animation-delay: -2.2s; animation-duration: 7s; }
.k-corail.petit { --s: 32px; --ry: 20deg; animation-delay: -4s; animation-duration: 6s; }
@keyframes flotte {
  from { transform: translateY(0) rotateX(-24deg) rotateY(var(--ry)); }
  to { transform: translateY(-14px) rotateX(-18deg) rotateY(calc(var(--ry) + 42deg)); }
}
@media (min-width: 760px) {
  .hero { grid-template-columns: 1.15fr .85fr; align-items: center; padding: 34px 32px; }
  .scene { height: 290px; }
  .p1 { left: 36%; top: 80px; } .p2 { left: 4%; top: 130px; } .p3 { left: 72%; top: 30px; } .p4 { left: 22%; top: 14px; } .p5 { left: 66%; top: 196px; }
  .k-corail { --s: 130px; } .k-or { --s: 80px; } .k-azur { --s: 64px; } .k-lilas { --s: 50px; }
}

/* Outil */
.outil { background: var(--surface); border: 2px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre); padding: 18px; margin: 0 0 24px; }
.outil[data-outil] { min-height: 320px; }
/* Hauteur réservée sur téléphone : l'outil se monte en JavaScript, le texte dessous ne doit pas sauter */
@media (max-width: 440px) {
  .outil[data-outil="robux-en-euros"] { min-height: 880px; }
  .outil[data-outil="devex-robux-en-euros"] { min-height: 980px; }
  .outil[data-outil="calculateur-gains-vente-roblox"] { min-height: 995px; }
  .outil[data-outil="generateur-pseudo-roblox"] { min-height: 1190px; }
  .outil[data-outil="verifier-pseudo-roblox"] { min-height: 350px; }
}
.grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.champ { display: flex; flex-direction: column; gap: 6px; }
.champ label, .etiquette { font-weight: 800; font-size: .93rem; }
.aide { font-size: .84rem; color: var(--texte-doux); margin: 0; }
input[type="number"], input[type="text"], select {
  width: 100%; font: inherit; font-size: 16px; color: var(--texte); background: var(--surface-2);
  border: 2px solid var(--bord); border-radius: 12px; padding: 10px 12px; min-height: 46px; transition: border-color .15s, box-shadow .15s;
}
input:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-doux); }
input:focus, select:focus, button:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--bleu); outline-offset: 2px; }
.ligne-case { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .93rem; }
.ligne-case input { width: 20px; height: 20px; }
.boutons { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
button {
  font: inherit; font-weight: 800; cursor: pointer; border-radius: 12px; padding: 10px 16px; min-height: 46px;
  border: 2px solid var(--bord); background: var(--surface-2); color: var(--texte); transition: transform .1s, box-shadow .1s, border-color .15s, background .15s;
}
button.principal { background: #5b21b6; border-color: #5b21b6; color: #fff; box-shadow: 0 4px 0 #3b1486; }
button.principal:hover { background: #4c1d95; border-color: #4c1d95; }
button.principal:active { transform: translateY(3px); box-shadow: 0 1px 0 #3b1486; }
button:hover { border-color: var(--accent); }
button:active { transform: translateY(1px) scale(.98); }

.resultats { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.tuile { background: var(--surface-2); border-radius: 14px; padding: 12px 14px; border-bottom: 4px solid var(--bord); }
.tuile .valeur { display: block; font-family: var(--titres); font-size: 1.65rem; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tuile .libelle { display: block; font-size: .85rem; color: var(--texte-doux); }
.tuile.forte { background: var(--accent-doux); border-bottom-color: var(--accent); animation: lueur .9s ease-out; }
.positif { color: var(--ok); }
.negatif { color: var(--ko); }
.message { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); font-size: .95rem; }
.message:empty { display: none; }
@keyframes lueur { from { box-shadow: 0 0 0 4px rgba(255, 200, 61, .85); } to { box-shadow: 0 0 0 0 rgba(255, 200, 61, 0); } }

/* Tableaux */
.tableau-defile { overflow-x: auto; margin: 0 0 16px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; font-variant-numeric: tabular-nums; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--bord); vertical-align: top; }
th { background: var(--surface-2); font-weight: 800; }
td.nombre, th.nombre { text-align: right; }
tr.meilleur td { background: var(--accent-doux); font-weight: 800; }
.tableau-saisie input { min-width: 64px; padding: 8px; }
.tableau-saisie td { padding: 6px 4px; }

/* Cartes d'outils et de guides : icône, élévation et léger tilt (le tilt est posé par site.js) */
.liste-outils { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin: 18px 0 8px; padding: 0; list-style: none; }
.liste-outils li { margin: 0; }
.carte-outil, .liste-guides a {
  display: flex; align-items: flex-start; gap: 14px; height: 100%; background: var(--surface); border: 2px solid var(--bord); border-radius: var(--rayon);
  padding: 14px 16px; text-decoration: none; color: var(--texte); box-shadow: var(--ombre);
  transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--y, 0px));
  transition: transform .18s ease-out, border-color .15s, box-shadow .2s;
}
.carte-outil:hover, .liste-guides a:hover { --y: -4px; border-color: var(--accent); box-shadow: var(--ombre-haute); color: var(--texte); }
.carte-outil:hover .ico, .liste-guides a:hover .ico { transform: rotate(-6deg) scale(1.08); }
.carte-outil .txt, .liste-guides .txt { min-width: 0; }
.carte-outil strong, .liste-guides strong { display: block; font-family: var(--titres); font-size: 1.12rem; font-weight: 700; margin-bottom: 2px; color: var(--accent-fonce); }
.carte-outil .txt > span, .liste-guides .txt > span { display: block; font-size: .93rem; color: var(--texte-doux); }
.categorie { margin-top: 30px; }
.encadre { background: var(--surface); border: 1px solid var(--bord); border-left: 5px solid var(--accent); border-radius: 12px; padding: 12px 16px; margin: 0 0 16px; font-size: .95rem; }
.sources { font-size: .88rem; color: var(--texte-doux); margin: -12px 0 16px; }
details.faq { background: var(--surface); border: 2px solid var(--bord); border-radius: 12px; padding: 0 14px; margin-bottom: 10px; transition: border-color .15s; }
details.faq[open] { border-color: var(--accent); }
details.faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
details.faq p { margin-top: 0; }
/* Emplacements publicitaires : jamais collés à un champ ni à un bouton, jamais dans la carte de l'outil */
.pub:empty { display: none; }
ins.adsbygoogle { display: block; margin: 28px 0; }

/* Pied de page */
.pied { border-top: 1px solid var(--bord); background: var(--surface); padding: 24px 0 32px; font-size: .9rem; color: var(--texte-doux); }
.pied nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 12px; }
.pied a { color: var(--texte-doux); }
.pied p { margin: 0 0 8px; }
.visuellement-cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* menu par catégories */
.menu nav .rubrique { display: block; padding: 10px 12px 4px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--texte-doux); }
/* guides */
.liste-guides { list-style: none; padding: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.liste-guides li { margin: 0; }
.encadre-outil { background: var(--accent-doux); border: 2px solid var(--bord); border-radius: var(--rayon); padding: 14px 16px; margin: 18px 0; }
.encadre-outil a.bouton { display: inline-flex; margin: 6px 8px 0 0; }
.maj { font-size: .85rem; color: var(--texte-doux); }
button.mini { min-height: 38px; min-width: 38px; padding: 4px 10px; font-size: .9rem; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.badges li { margin: 0; background: var(--accent-doux); color: var(--accent-fonce); border-radius: 999px; padding: 4px 12px; font-size: .88rem; font-weight: 800; }
.bouton { display: inline-flex; align-items: center; justify-content: center; font-weight: 800; border-radius: 12px; padding: 10px 16px; min-height: 46px; border: 2px solid var(--bord); background: var(--surface-2); color: var(--texte); text-decoration: none; transition: transform .1s, border-color .15s; }
.bouton:hover { border-color: var(--accent); color: var(--texte); transform: translateY(-1px); }
.regles, .pseudos { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.regles li { margin: 0; padding: 8px 12px; background: var(--surface-2); border-radius: 12px; font-weight: 700; }
.pseudos { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pseudos li { display: flex; align-items: center; gap: 8px; margin: 0; background: var(--surface-2); border-radius: 12px; border-bottom: 3px solid var(--bord); padding: 6px 8px 6px 12px; }
.pseudos .nom { flex: 1; min-width: 0; overflow-wrap: anywhere; font-weight: 800; }
/* Les pseudos et les règles surgissent l'un après l'autre */
.pseudos li, .regles li { animation: pop .38s cubic-bezier(.3, 1.5, .5, 1) both; }
.pseudos li:nth-child(2), .regles li:nth-child(2) { animation-delay: .04s; } .pseudos li:nth-child(3), .regles li:nth-child(3) { animation-delay: .08s; }
.pseudos li:nth-child(4), .regles li:nth-child(4) { animation-delay: .12s; } .pseudos li:nth-child(5), .regles li:nth-child(5) { animation-delay: .16s; }
.pseudos li:nth-child(6), .regles li:nth-child(6) { animation-delay: .20s; } .pseudos li:nth-child(7) { animation-delay: .24s; }
.pseudos li:nth-child(8) { animation-delay: .28s; } .pseudos li:nth-child(9) { animation-delay: .32s; }
.pseudos li:nth-child(10) { animation-delay: .36s; } .pseudos li:nth-child(11) { animation-delay: .40s; } .pseudos li:nth-child(12) { animation-delay: .44s; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
.chaine-yt { margin: 32px 0 8px; padding: 14px 16px; border: 2px solid var(--bord); border-left: 6px solid var(--or); border-radius: 12px; background: var(--surface); }
.chaine-yt p { margin: 0; }

/* Apparition au défilement : les classes sont posées par site.js seulement (sans JS tout reste visible) */
.attend { opacity: 0; transform: translateY(16px); }
.attend.vu { opacity: 1; transform: none; transition: opacity .5s ease-out var(--d, 0s), transform .5s cubic-bezier(.2, .9, .3, 1) var(--d, 0s); }

/* Mouvement réduit : tout est coupé */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .attend { opacity: 1; transform: none; }
  .carte-outil, .liste-guides a { transform: none; }
}

/* Lisibilité (23/11/2026) : l'essentiel d'abord, gros, simple */
.intro { color: var(--texte-doux); margin: 0 0 16px; }
.bref { background: var(--accent-doux); border: 2px solid var(--bord); border-left: 6px solid var(--accent); border-radius: var(--rayon); padding: 14px 18px; margin: 0 0 18px; }
.bref strong { display: block; font-family: var(--titres); font-size: 1.05rem; color: var(--accent-fonce); margin-bottom: 4px; }
.bref p { margin: 0; font-size: 1.1rem; line-height: 1.55; }
.titre-page .chapo { margin-bottom: 14px; }
.outil .boutons.action { margin-top: 16px; }
.outil .boutons.action button.principal { min-width: 200px; min-height: 54px; font-size: 1.1rem; }
.resultats .tuile.forte { grid-column: 1 / -1; text-align: center; padding: 16px 14px; }
.resultats .tuile.forte .valeur { font-size: clamp(2.1rem, 9vw, 3rem); color: var(--accent-fonce); }
.resultats .tuile.forte .libelle { font-size: .95rem; }
main p, main li { max-width: 70ch; }
.hero .chapo, .hero p { max-width: none; }
.liste-outils li, .liste-guides li, .tableau-defile { max-width: none; }
@media (max-width: 600px) {
  body { font-size: 18px; line-height: 1.65; }
  .fil { display: none; }
  .outil .boutons.action button.principal, .outil .boutons button.principal { width: 100%; }
  .acces { grid-template-columns: 1fr 1fr; }
  .acces a { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 1.02rem; }
  h1 { font-size: 1.7rem; }
}

/* ---- Sélecteur de langue (24/11/2026) : <details> sans JavaScript, à côté du menu ---- */
.entete-droite { display: flex; align-items: center; gap: 8px; }
.langue summary { list-style: none; cursor: pointer; padding: 8px 10px; border: 2px solid var(--bord); border-radius: 12px; font-weight: 800; font-size: .9rem; min-width: 44px; text-align: center; transition: border-color .15s; }
.langue summary:hover { border-color: var(--accent); }
.langue summary::-webkit-details-marker { display: none; }
.langue nav { position: absolute; right: 16px; top: 58px; background: var(--surface); border: 1px solid var(--bord); border-radius: var(--rayon); box-shadow: var(--ombre-haute); padding: 8px; min-width: 170px; }
.langue nav a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--texte); text-decoration: none; font-weight: 700; }
.langue nav a:hover, .langue nav a[aria-current="page"] { background: var(--surface-2); color: var(--accent); }
.langue[open] nav { animation: surgir .18s ease-out; }
@media (max-width: 440px) {
  .marque.nom-long .nom { font-size: 1.02rem; }
  .marque.nom-long small { font-size: .68rem; }
}/* Langues hors fr : un H1 traduit court peut tenir sur 1 ou 2 lignes selon la police (avant / après chargement) -> 2 lignes réservées sur téléphone (anti-CLS) */
@media (max-width: 600px) {
  html:not([lang="fr"]) .titre-page h1 { min-height: 2.3em; }
}