/* LRD Tools — charte reprise de lrd-heberg.fr (néo-brutaliste rose/noir, thème clair/sombre) */
@font-face { font-family: 'Clash Display'; src: url(fonts/clash-600.woff2) format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Clash Display'; src: url(fonts/clash-700.woff2) format('woff2'); font-weight: 700 900; font-display: swap; }
@font-face { font-family: 'Space Grotesk'; src: url(fonts/space-grotesk.woff2) format('woff2'); font-weight: 300 700; font-display: swap; }
@font-face { font-family: boxicons; src: url(fonts/boxicons.woff2) format('woff2'); font-weight: 400; font-display: block; }

:root {
    --brand: #ee4dae; --brand-hi: #ff75c8; --black: #030002;
    --bg: #f3f0f6; --surface: #fff; --surface-2: #f0edf3;
    --text: #16111c; --muted: #57515e; --line: #16111c; --hard: #16111c;
    --soft: rgba(0,0,0,.18); --card-shadow: #16111c; --dot: rgba(238,77,174,.22);
    --input-bg: #fff;
    --ok: #12b76a; --warn: #f79009; --crit: #f04438; --info: #2e90fa;
    --f-display: 'Clash Display','Space Grotesk',sans-serif;
    --f-body: Inter, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    --f-mono: ui-monospace, 'JetBrains Mono', 'Cascadia Code', Menlo, Consolas, monospace;
    color-scheme: light;
}
html.dark {
    --bg: #030002; --surface: #0a0508; --surface-2: #07040a;
    --text: #fff; --muted: #a9a3a6; --line: rgba(255,255,255,.22); --hard: #fff;
    --soft: rgba(255,255,255,.25); --card-shadow: rgba(238,77,174,.18); --dot: rgba(238,77,174,.16);
    --input-bg: #07040a;
    color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--f-body); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: var(--black); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* Icônes (sous-ensemble boxicons, auto-hébergé) */
.bx { font-family: boxicons !important; font-weight: 400; font-style: normal; line-height: 1; display: inline-block; text-transform: none; speak: none; -webkit-font-smoothing: antialiased; }
.bx-moon:before{content:"\eb94"} .bx-sun:before{content:"\ec34"} .bxl-discord-alt:before{content:"\e925"} .bx-user:before{content:"\ec63"}
.bx-data:before{content:"\ea95"} .bx-shield-quarter:before{content:"\ec08"} .bx-cog:before{content:"\ea6e"} .bx-star:before{content:"\ec27"}
.bx-copy:before{content:"\ea84"} .bx-download:before{content:"\eab9"} .bx-arrow-back:before{content:"\e9b4"} .bx-check:before{content:"\ea41"}
.bx-upload:before{content:"\ec5f"} .bx-file:before{content:"\ead5"} .bx-error:before{content:"\eac5"} .bx-lock-alt:before{content:"\eb4a"}
.bx-right-arrow-alt:before{content:"\ebe6"} .bx-bug:before{content:"\ea08"} .bx-code-alt:before{content:"\ea69"} .bx-map-pin:before{content:"\eb58"}
.bx-palette:before{content:"\eba9"} .bx-crown:before{content:"\ea8c"} .bx-folder-open:before{content:"\eae1"} .bx-trash:before{content:"\ec50"}
.bx-search:before{content:"\ebf7"} .bx-info-circle:before{content:"\eb21"} .bx-x:before{content:"\ec8d"} .bx-package:before{content:"\eba6"}
.bx-first-aid:before{content:"\eadc"} .bx-terminal:before{content:"\ec42"} .bx-error-circle:before{content:"\eac7"} .bx-check-circle:before{content:"\ea46"}
.bx-paste:before{content:"\ebad"} .bx-refresh:before{content:"\ebd9"} .bx-chevron-down:before{content:"\ea4a"} .bx-link-external:before{content:"\eb3e"}
.bx-server:before{content:"\ebfd"} .bx-crosshair:before{content:"\ea8b"} .bx-key:before{content:"\eb28"} .bx-id-card:before{content:"\eb1a"}
.bx-plus:before{content:"\ebc0"} .bx-show:before{content:"\ec0c"} .bx-hide:before{content:"\eb0e"} .bx-pulse:before{content:"\ebca"}
.bx-font-color:before{content:"\eae4"} .bx-world:before{content:"\ec8b"} .bx-wrench:before{content:"\ec8c"} .bx-list-ul:before{content:"\eb44"}

/* ============ NAVBAR (copie de .lrd-nav) ============ */
.lrd-nav-wrap { position: sticky; top: .8rem; z-index: 50; padding: 0 1rem; margin-top: .8rem; pointer-events: none; }
.lrd-nav { pointer-events: auto; max-width: 1120px; margin: 0 auto; display: flex; align-items: center; gap: 1.5rem; padding: .55rem 1rem .55rem 1.25rem; background: #fff; border: 2px solid #16111c; border-radius: 16px; box-shadow: 4px 4px 0 #16111c; }
.dark .lrd-nav { background: #0a0508; border-color: rgba(255,255,255,.22); box-shadow: 4px 4px 0 var(--brand); }
.lrd-nav-brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; }
.lrd-nav-logo { height: 34px; width: auto; display: block; }
.lrd-nav-tag { font-family: var(--f-display); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: 1px; background: var(--brand); color: var(--black); border: 2px solid #16111c; border-radius: 5px; padding: .12rem .45rem; box-shadow: 2px 2px 0 #16111c; }
.dark .lrd-nav-tag { border-color: #fff; box-shadow: 2px 2px 0 #fff; }
.lrd-nav-links { display: none; align-items: center; gap: 2rem; list-style: none; margin: 0 auto; padding: 0; }
.lrd-nl { position: relative; display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .8rem; color: #16111c; text-decoration: none; transition: color .2s; }
.dark .lrd-nl { color: #f3eef1; }
.lrd-nl::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 3px; width: 0; background: var(--brand); transition: width .22s ease; }
.lrd-nl:hover, .lrd-nl.is-active { color: var(--brand); }
.dark .lrd-nl:hover, .dark .lrd-nl.is-active { color: var(--brand); }
.lrd-nl:hover::after, .lrd-nl.is-active::after { width: 100%; }
.lrd-nav-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
@media (min-width: 768px) { .lrd-nav-links { display: flex; } .lrd-nav-actions { margin-left: 0; } }
.lrd-nav-icon { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 0; background: transparent; color: #16111c; font-size: 1.45rem; cursor: pointer; text-decoration: none; transition: color .2s, transform .15s; }
.dark .lrd-nav-icon { color: #f3eef1; }
.lrd-nav-icon:hover { color: var(--brand); transform: translateY(-2px); }
.lrd-nav-cta { display: inline-flex; align-items: center; gap: .45rem; padding: .58rem 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; font-size: .78rem; background: var(--brand); color: var(--black); border: 2px solid #16111c; border-radius: 8px; box-shadow: 3px 3px 0 #16111c; text-decoration: none; transition: transform .1s, box-shadow .1s, background .2s; white-space: nowrap; }
.dark .lrd-nav-cta { border-color: #fff; box-shadow: 3px 3px 0 #fff; }
.lrd-nav-cta:hover { background: var(--brand-hi); }
.lrd-nav-cta:active { transform: translate(3px,3px); box-shadow: 0 0 0 transparent; }
.lrd-sun { display: none; } .dark .lrd-sun { display: inline-block; } .dark .lrd-moon { display: none; }

/* ============ HERO ============ */
.lrd-wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 1024px) { .lrd-wrap { padding: 0 3rem; } }
.lrd-dots { position: relative; }
.lrd-dots::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(var(--dot) 2px, transparent 2px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(to bottom, black 8%, transparent 92%); mask-image: linear-gradient(to bottom, black 8%, transparent 92%); }
.lrd-dots > * { position: relative; z-index: 1; }
.lrd-hero { padding: 7rem 0 4.5rem; margin-top: -4.5rem; }
.lrd-hero-tool { padding: 6.5rem 0 2.5rem; }
.lrd-eyebrow { display: inline-block; background: var(--brand); color: var(--black); border: 2px solid var(--hard); box-shadow: 4px 4px 0 var(--hard); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .7rem; padding: .4rem 1rem; border-radius: 4px; margin-bottom: 1.5rem; }
.lrd-htitle { font-family: var(--f-display); font-size: clamp(2.6rem, 8vw, 6.5rem); line-height: .92; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; color: var(--text); text-shadow: 6px 6px 0 rgba(238,77,174,.3); margin: 0; }
.lrd-htitle-sm { font-size: clamp(2.2rem, 6vw, 4.2rem); text-shadow: 5px 5px 0 rgba(238,77,174,.3); }
.lrd-split-line { display: block; }
.lrd-word-cycler { display: inline-block; position: relative; color: var(--brand); min-width: 5em; text-shadow: 4px 4px 0 var(--hard); -webkit-text-stroke: 1px var(--brand); vertical-align: top; }
.lrd-cycle-word { position: absolute; top: 0; left: 0; opacity: 0; transform: translateY(20px); transition: all .4s cubic-bezier(.16,1,.3,1); white-space: nowrap; }
.lrd-cycle-word.active { opacity: 1; transform: translateY(0); position: relative; }
.lrd-cycle-word.exit { opacity: 0; transform: translateY(-20px); position: absolute; }
.lrd-char { display: inline-block; opacity: 0; transform: translateY(30px) rotate(5deg); animation: lrdCharIn .7s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes lrdCharIn { to { opacity: 1; transform: translateY(0) rotate(0); } }
.lrd-hero-sub { color: var(--muted); font-weight: 600; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 44rem; border-left: 4px solid var(--brand); padding-left: 1.25rem; margin: 2rem 0 0; }
.lrd-hero-actions { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2.5rem; }
.lrd-back { display: inline-flex; align-items: center; gap: .4rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; text-decoration: none; color: var(--muted); margin-bottom: 1.25rem; }
.lrd-back:hover { color: var(--brand); }

/* ============ BOUTONS ============ */
.lrd-btn, .lrd-btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; padding: 1rem 2rem; border-radius: 8px; text-decoration: none; cursor: pointer; transition: transform .1s, box-shadow .1s, background .2s; font-size: .9rem; }
.lrd-btn { background: var(--brand); color: var(--black); border: 3px solid var(--hard); box-shadow: 6px 6px 0 var(--hard); }
.lrd-btn:hover { background: var(--brand-hi); }
.lrd-btn-ghost { background: transparent; color: var(--text); border: 3px solid var(--hard); box-shadow: 6px 6px 0 var(--soft); }
.lrd-btn-ghost:hover { background: rgba(127,127,127,.12); }
.lrd-btn:active, .lrd-btn-ghost:active { transform: translate(6px,6px); box-shadow: 0 0 0 transparent; }
@media (max-width: 640px) { .lrd-hero-actions .lrd-btn, .lrd-hero-actions .lrd-btn-ghost { width: 100%; } }
.lrd-sbtn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; font-size: .74rem; padding: .55rem .9rem; border-radius: 8px; background: transparent; color: var(--text); border: 2px solid var(--hard); box-shadow: 3px 3px 0 var(--soft); cursor: pointer; text-decoration: none; transition: transform .1s, box-shadow .1s, background .15s, color .15s; white-space: nowrap; }
.lrd-sbtn:hover { background: var(--text); color: var(--bg); }
.lrd-sbtn:active { transform: translate(3px,3px); box-shadow: 0 0 0 transparent; }
.lrd-sbtn.is-pink { background: var(--brand); color: var(--black); box-shadow: 3px 3px 0 var(--hard); }
.lrd-sbtn.is-pink:hover { background: var(--brand-hi); color: var(--black); }
.lrd-sbtn[disabled] { opacity: .45; pointer-events: none; }

/* ============ SECTIONS & CARTES ============ */
.lrd-sec { padding: 4.5rem 0; }
.lrd-sec-head { font-family: var(--f-display); text-transform: uppercase; color: var(--text); font-weight: 800; line-height: .95; font-size: clamp(1.9rem,4.5vw,3.1rem); text-shadow: 4px 4px 0 var(--brand); margin: 0 0 .9rem; }
.lrd-sec-sub { color: var(--muted); font-weight: 600; max-width: 48rem; margin: 0 0 2.75rem; }
.lrd-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; }
@media (min-width: 700px) { .lrd-grid-3 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 1100px) { .lrd-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

.lrd-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 1.9rem; overflow: hidden; box-shadow: 6px 6px 0 var(--card-shadow); text-decoration: none; color: inherit; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
a.lrd-card:hover { transform: translate(-5px,-5px); border-color: var(--brand); box-shadow: 12px 12px 0 var(--brand); }
.lrd-card-num { position: absolute; top: .4rem; right: 1.1rem; font-family: var(--f-display); font-weight: 800; font-size: 4.5rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(127,127,127,.16); transition: -webkit-text-stroke .2s; pointer-events: none; }
a.lrd-card:hover .lrd-card-num { -webkit-text-stroke: 2px rgba(238,77,174,.5); }
.lrd-card-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.25rem; height: 3.25rem; border-radius: 10px; background: var(--brand); color: var(--black); border: 2px solid var(--hard); box-shadow: 4px 4px 0 var(--hard); font-size: 1.6rem; margin-bottom: 1.25rem; }
.lrd-card-title { font-family: var(--f-display); text-transform: uppercase; letter-spacing: .5px; color: var(--text); font-weight: 800; font-size: 1.25rem; margin: 0 0 .5rem; }
.lrd-card-desc { color: var(--muted); font-weight: 500; line-height: 1.6; margin: 0 0 1.25rem; flex: 1; }
.lrd-card-foot { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; }
.lrd-card-go { display: inline-flex; align-items: center; gap: .3rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; font-size: .75rem; color: var(--brand); }
.lrd-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.lrd-chip { display: inline-flex; align-items: center; gap: .3rem; font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; padding: .2rem .55rem; border-radius: 5px; border: 2px solid var(--line); color: var(--muted); }
.lrd-chip.is-new { background: var(--brand); color: var(--black); border-color: var(--hard); }

/* Carte avis (dorée, reprise de l'ancien site) */
.lrd-card.is-gold { border-color: #f5b301; box-shadow: 6px 6px 0 rgba(245,179,1,.35); }
a.lrd-card.is-gold:hover { border-color: #f5b301; box-shadow: 12px 12px 0 #f5b301; }
.lrd-card.is-gold .lrd-card-icon { background: #ffd23f; }

/* Bandeau CTA */
.lrd-cta { background: var(--black); color: #fff; border-top: 3px solid var(--brand); border-bottom: 3px solid var(--brand); }
.lrd-cta .lrd-wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.lrd-cta h2 { font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.7rem,3.6vw,2.6rem); line-height: .98; margin: 0 0 .6rem; text-shadow: 4px 4px 0 var(--brand); }
.lrd-cta p { margin: 0; color: #cfc9cc; font-weight: 600; max-width: 38rem; }
.lrd-cta .lrd-btn { border-color: #fff; box-shadow: 6px 6px 0 #fff; }

/* FAQ */
.lrd-faq { max-width: 900px; margin: 0 auto; }
.lrd-faq details { border: 2px solid rgba(238,77,174,.4); border-radius: 10px; background: var(--surface); margin-bottom: 1rem; box-shadow: 6px 6px 0 rgba(238,77,174,.15); overflow: hidden; }
.lrd-faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.4rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: var(--text); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.lrd-faq summary::-webkit-details-marker { display: none; }
.lrd-faq summary::after { content: "+"; color: var(--brand); font-size: 1.6rem; line-height: 1; }
.lrd-faq details[open] summary::after { content: "\2212"; }
.lrd-faq details[open] summary { border-bottom: 2px dashed rgba(238,77,174,.4); }
.lrd-faq p { padding: 1.1rem 1.4rem; color: var(--muted); font-weight: 500; margin: 0; line-height: 1.6; }

/* ============ PAGES OUTIL ============ */
.lrd-tool { padding: 1rem 0 4.5rem; }
.lrd-tool-grid { display: grid; grid-template-columns: 1fr; gap: 1.75rem; align-items: start; }
@media (min-width: 1024px) {
    .lrd-tool-grid { grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); gap: 2.25rem; }
    .lrd-sticky { position: sticky; top: 6.5rem; }
}
.lrd-panel { background: var(--surface); border: 2px solid var(--line); border-radius: 14px; padding: 1.6rem; box-shadow: 6px 6px 0 var(--card-shadow); min-width: 0; }
.lrd-panel + .lrd-panel { margin-top: 1.75rem; }
.lrd-panel-title { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); text-transform: uppercase; font-weight: 800; font-size: 1.05rem; letter-spacing: .5px; margin: 0 0 1.2rem; }
.lrd-panel-title .bx { color: var(--brand); font-size: 1.35rem; }
.lrd-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap; margin-bottom: 1rem; }
.lrd-panel-head .lrd-panel-title { margin: 0; }
.lrd-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

.lrd-field { margin-bottom: 1.1rem; }
.lrd-row { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 560px) { .lrd-row-2 { grid-template-columns: 1fr 1fr; } .lrd-row-3 { grid-template-columns: 1fr 1fr 1fr; } .lrd-row-21 { grid-template-columns: 2fr 1fr; } }
.lrd-label { display: block; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: .4rem; color: var(--text); }
.lrd-label small { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--muted); font-size: .75rem; }
.lrd-input, .lrd-select, .lrd-textarea { width: 100%; background: var(--input-bg); color: var(--text); border: 2px solid var(--line); border-radius: 8px; padding: .7rem .85rem; font-size: .95rem; transition: border-color .15s, box-shadow .15s; }
.lrd-textarea { min-height: 7rem; resize: vertical; font-family: var(--f-mono); font-size: .85rem; line-height: 1.5; }
.lrd-input:focus, .lrd-select:focus, .lrd-textarea:focus { outline: none; border-color: var(--brand); box-shadow: 4px 4px 0 var(--brand); }
.lrd-input.is-mono { font-family: var(--f-mono); font-size: .88rem; }
.lrd-select { appearance: none; -webkit-appearance: none; padding-right: 2.2rem; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: calc(100% - 18px) 55%, calc(100% - 12px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.lrd-help { display: block; margin-top: .35rem; font-size: .8rem; color: var(--muted); font-weight: 500; }
.lrd-help a { color: var(--brand); font-weight: 700; }
.lrd-pw { position: relative; }
.lrd-pw .lrd-input { padding-right: 3rem; }
.lrd-pw button { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); font-size: 1.3rem; width: 2.4rem; height: 2.4rem; cursor: pointer; }
.lrd-pw button:hover { color: var(--brand); }
.lrd-check { display: flex; align-items: flex-start; gap: .6rem; font-weight: 600; font-size: .9rem; cursor: pointer; margin-bottom: .7rem; }
.lrd-check input { appearance: none; -webkit-appearance: none; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin: .1rem 0 0; border: 2px solid var(--hard); border-radius: 4px; background: var(--input-bg); cursor: pointer; display: grid; place-content: center; }
.lrd-check input:checked { background: var(--brand); }
.lrd-check input:checked::after { content: ""; width: .35rem; height: .65rem; border: solid var(--black); border-width: 0 3px 3px 0; transform: rotate(45deg) translate(-1px,-1px); }
.lrd-check span small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }

.lrd-seg { display: inline-flex; flex-wrap: wrap; border: 2px solid var(--hard); border-radius: 9px; overflow: hidden; box-shadow: 3px 3px 0 var(--soft); }
.lrd-seg button { background: transparent; border: 0; padding: .55rem .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; font-size: .74rem; cursor: pointer; color: var(--text); }
.lrd-seg button + button { border-left: 2px solid var(--hard); }
.lrd-seg button[aria-pressed="true"] { background: var(--brand); color: var(--black); }

/* Bloc de code (toujours sombre, comme une console) */
.lrd-code { position: relative; margin: 0; background: var(--black); color: #f3eef1; border: 2px solid var(--hard); border-radius: 10px; padding: 1.1rem 1.2rem; font-family: var(--f-mono); font-size: .84rem; line-height: 1.65; overflow: auto; max-height: 34rem; white-space: pre; tab-size: 4; }
html.dark .lrd-code { border-color: rgba(255,255,255,.22); }
.lrd-code .c-com { color: #8a8290; font-style: italic; }
.lrd-code .c-key { color: #ff75c8; font-weight: 700; }
.lrd-code .c-str { color: #ffd479; }
.lrd-code .c-num { color: #7ce7c7; }
.lrd-code.is-wrap { white-space: pre-wrap; word-break: break-all; }
.lrd-code-empty { color: #8a8290; font-style: italic; }

.lrd-local { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--muted); margin-top: 1rem; }
.lrd-local .bx { color: var(--ok); font-size: 1.05rem; }

/* Alertes */
.lrd-alert { display: flex; gap: .7rem; align-items: flex-start; border: 2px solid; border-radius: 10px; padding: .8rem 1rem; font-size: .88rem; font-weight: 600; margin-top: 1rem; }
.lrd-alert .bx { font-size: 1.25rem; flex: 0 0 auto; margin-top: .05rem; }
.lrd-alert.is-warn { border-color: var(--warn); background: rgba(247,144,9,.1); }
.lrd-alert.is-warn .bx { color: var(--warn); }
.lrd-alert.is-crit { border-color: var(--crit); background: rgba(240,68,56,.1); }
.lrd-alert.is-crit .bx { color: var(--crit); }
.lrd-alert.is-info { border-color: var(--info); background: rgba(46,144,250,.08); }
.lrd-alert.is-info .bx { color: var(--info); }
.lrd-alert.is-ok { border-color: var(--ok); background: rgba(18,183,106,.1); }
.lrd-alert.is-ok .bx { color: var(--ok); }
.lrd-alert code, .lrd-help code, .lrd-mono { font-family: var(--f-mono); font-size: .85em; }

/* Zone de dépôt */
.lrd-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: .6rem; border: 3px dashed var(--line); border-radius: 12px; padding: 2.2rem 1.25rem; background: var(--surface-2); transition: border-color .15s, background .15s; cursor: pointer; }
.lrd-drop.is-over { border-color: var(--brand); background: rgba(238,77,174,.08); }
.lrd-drop .bx { font-size: 2.6rem; color: var(--brand); }
.lrd-drop strong { font-family: var(--f-display); text-transform: uppercase; font-size: 1.05rem; letter-spacing: .5px; }
.lrd-drop span { color: var(--muted); font-size: .85rem; font-weight: 600; }

/* Résultats (analyseurs) */
.lrd-verdict { display: flex; align-items: center; gap: 1rem; border: 2px solid var(--hard); border-radius: 12px; padding: 1.1rem 1.25rem; box-shadow: 5px 5px 0 var(--hard); margin-bottom: 1.25rem; }
.lrd-verdict .bx { font-size: 2.2rem; flex: 0 0 auto; }
.lrd-verdict h3 { margin: 0; font-family: var(--f-display); text-transform: uppercase; font-size: 1.2rem; line-height: 1.1; }
.lrd-verdict p { margin: .2rem 0 0; color: var(--muted); font-weight: 600; font-size: .88rem; }
.lrd-verdict.is-crit { background: rgba(240,68,56,.12); } .lrd-verdict.is-crit .bx { color: var(--crit); }
.lrd-verdict.is-warn { background: rgba(247,144,9,.12); } .lrd-verdict.is-warn .bx { color: var(--warn); }
.lrd-verdict.is-ok { background: rgba(18,183,106,.12); } .lrd-verdict.is-ok .bx { color: var(--ok); }
.lrd-stats { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; }
.lrd-finding { border: 2px solid var(--line); border-left-width: 6px; border-radius: 10px; padding: .9rem 1rem; margin-bottom: .9rem; background: var(--surface); }
.lrd-finding.sev-crit { border-left-color: var(--crit); }
.lrd-finding.sev-high { border-left-color: #f97066; }
.lrd-finding.sev-warn { border-left-color: var(--warn); }
.lrd-finding.sev-info { border-left-color: var(--info); }
.lrd-finding-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.lrd-finding h4 { margin: 0; font-size: .95rem; font-weight: 800; }
.lrd-finding .lrd-where { font-family: var(--f-mono); font-size: .76rem; color: var(--muted); margin-top: .15rem; word-break: break-all; }
.lrd-finding p { margin: .55rem 0 0; color: var(--muted); font-size: .87rem; font-weight: 500; line-height: 1.55; }
.lrd-finding p b { color: var(--text); }
.lrd-finding .lrd-code { margin-top: .6rem; font-size: .78rem; max-height: 12rem; white-space: pre-wrap; word-break: break-all; padding: .7rem .85rem; }
.lrd-sev { flex: 0 0 auto; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; padding: .2rem .5rem; border-radius: 4px; color: #fff; }
.lrd-sev.sev-crit { background: var(--crit); } .lrd-sev.sev-high { background: #f97066; }
.lrd-sev.sev-warn { background: var(--warn); color: var(--black); } .lrd-sev.sev-info { background: var(--info); }
.lrd-empty { text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-weight: 600; }
.lrd-empty .bx { font-size: 2.6rem; color: var(--brand); display: block; margin: 0 auto .6rem; }

/* Toast */
.lrd-toast { position: fixed; left: 50%; bottom: 1.5rem; transform: translate(-50%, 250%); opacity: 0; visibility: hidden; z-index: 90; background: var(--brand); color: var(--black); border: 2px solid var(--hard); box-shadow: 4px 4px 0 var(--hard); border-radius: 8px; padding: .7rem 1.1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; font-size: .8rem; transition: transform .25s cubic-bezier(.34,1.56,.64,1), opacity .2s, visibility .2s; pointer-events: none; }
.lrd-toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; }

/* Autres outils (bas de page) */
.lrd-mini { display: flex; align-items: center; gap: .8rem; background: var(--surface); border: 2px solid var(--line); border-radius: 10px; padding: .85rem 1rem; text-decoration: none; box-shadow: 4px 4px 0 var(--card-shadow); transition: transform .15s, box-shadow .15s, border-color .15s; }
.lrd-mini:hover { transform: translate(-3px,-3px); border-color: var(--brand); box-shadow: 7px 7px 0 var(--brand); }
.lrd-mini .bx { font-size: 1.4rem; color: var(--brand); }
.lrd-mini b { font-family: var(--f-display); text-transform: uppercase; font-size: .92rem; letter-spacing: .3px; }
.lrd-mini-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 600px) { .lrd-mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lrd-mini-grid { grid-template-columns: repeat(4, 1fr); } }

/* ============ FOOTER (copie de .lrd-footer) ============ */
.lrd-footer { width: 100%; background: #FFF1F7; color: #10070D; padding: 1.5rem; margin-top: auto; }
.dark .lrd-footer { background: #190B14; color: #fff; }
.lrd-footer-in { max-width: 1280px; margin: 0 auto; padding-top: 1.5rem; }
.lrd-footer-top { display: flex; flex-direction: column; gap: 2rem; }
@media (min-width: 900px) { .lrd-footer-top { flex-direction: row; justify-content: space-between; } }
.lrd-footer-brand a { display: flex; align-items: center; text-decoration: none; color: inherit; }
.lrd-footer-brand img { margin-right: .75rem; height: 2rem; width: auto; }
.lrd-footer-brand span { white-space: nowrap; font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.lrd-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 2rem; }
@media (min-width: 640px) { .lrd-footer-cols { grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2.5rem; } }
.lrd-footer-cols h2 { margin: 0 0 1.5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase; }
.lrd-footer-cols ul { list-style: none; margin: 0; padding: 0; color: #2A1020; }
.dark .lrd-footer-cols ul { color: #FF6BAA; }
.lrd-footer-cols li { margin-bottom: 1rem; font-size: .95rem; }
.lrd-footer-cols a { color: inherit; text-decoration: none; }
.lrd-footer-cols a:hover { text-decoration: underline; }
.lrd-footer hr { margin: 2rem 0; border: 0; border-top: 1px solid #FFC9DF; }
.dark .lrd-footer hr { border-top-color: #21101B; }
.lrd-footer-social { display: flex; gap: 1.5rem; justify-content: center; }
.lrd-soc { color: #F43F8F; text-decoration: none; font-size: 1.35rem; }
.lrd-soc:hover { color: #10070D; } .dark .lrd-soc:hover { color: #fff; }
.lrd-footer-legal { margin-top: 1rem; text-align: center; font-size: .875rem; opacity: .85; }

/* ============ MASCOTTE (copie de .lrd-mascot) ============ */
.lrd-mascot { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 92px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.lrd-mascot.is-hidden { display: none; }
.lrd-mascot-bob { display: block; animation: lrdFloat 3.4s ease-in-out infinite; transform-origin: 50% 100%; }
.lrd-mascot:hover .lrd-mascot-bob, .lrd-mascot:focus-visible .lrd-mascot-bob { animation: lrdWiggle .5s ease-in-out infinite; }
@keyframes lrdFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes lrdWiggle { 0%,100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
.lrd-mascot svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(5px 6px 0 #16111c); }
.dark .lrd-mascot svg { filter: drop-shadow(5px 6px 0 var(--brand)); }
.lrd-m-body { fill: #fff; stroke: #16111c; stroke-width: 4; } .dark .lrd-m-body { fill: #0a0508; stroke: #fff; }
.lrd-m-screen { fill: #16111c; } .dark .lrd-m-screen { fill: #050003; stroke: rgba(255,255,255,.22); stroke-width: 2; }
.lrd-m-eye { fill: var(--brand); transform-box: fill-box; transform-origin: 50% 50%; animation: lrdBlink 4.5s infinite; }
.lrd-m-eye.r { animation-delay: .06s; }
@keyframes lrdBlink { 0%,93%,100% { transform: scaleY(1); } 96.5% { transform: scaleY(.12); } }
.lrd-m-smile { fill: none; stroke: var(--brand); stroke-width: 3.2; stroke-linecap: round; }
.lrd-m-ant { stroke: #16111c; stroke-width: 4; stroke-linecap: round; fill: none; } .dark .lrd-m-ant { stroke: #fff; }
.lrd-m-ball { fill: var(--brand); stroke: #16111c; stroke-width: 3; transform-box: fill-box; transform-origin: 50% 50%; animation: lrdPulse 1.8s ease-in-out infinite; }
.dark .lrd-m-ball { stroke: #fff; }
@keyframes lrdPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.lrd-m-foot { fill: #16111c; } .dark .lrd-m-foot { fill: #fff; }
.lrd-mascot-bubble { position: absolute; right: 4px; bottom: 100%; margin-bottom: 12px; width: max-content; max-width: 210px; text-align: left; background: #fff; color: #16111c; border: 2px solid #16111c; border-radius: 12px; box-shadow: 4px 4px 0 #16111c; padding: .55rem .7rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .8rem; line-height: 1.3; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.lrd-mascot-bubble b { color: var(--brand); }
.lrd-mascot-bubble.is-on, .lrd-mascot:hover .lrd-mascot-bubble { opacity: 1; transform: translateY(0); }
.dark .lrd-mascot-bubble { background: #0a0508; color: #fff; border-color: #fff; box-shadow: 4px 4px 0 var(--brand); }
.lrd-mascot-x { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: #16111c; color: #fff; border: 2px solid #fff; font-size: .85rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; opacity: 0; transition: opacity .15s; z-index: 2; }
.lrd-mascot:hover .lrd-mascot-x, .lrd-mascot:focus-within .lrd-mascot-x { opacity: 1; }
.dark .lrd-mascot-x { background: var(--brand); color: #030002; border-color: #16111c; }
@media (max-width: 640px) { .lrd-mascot { width: 70px; right: .9rem; bottom: .9rem; } .lrd-mascot-x { opacity: 1; } }

/* ============ MOBILE ============ */
@media (max-width: 640px) {
    .lrd-nav { gap: .6rem; padding: .5rem .6rem .5rem .9rem; }
    .lrd-nav-cta { padding: .5rem .8rem; font-size: .72rem; }
    .lrd-nav-cta .lrd-cta-txt { display: none; }
    .lrd-nav-logo { height: 30px; }
    .lrd-nav-tag { display: none; }
    .lrd-wrap { padding: 0 1rem; }
    .lrd-hero { padding: 6rem 0 3rem; }
    .lrd-hero-tool { padding: 5.5rem 0 2rem; }
    .lrd-word-cycler { min-width: 0; }
    .lrd-sec { padding: 3rem 0; }
    .lrd-panel { padding: 1.15rem; }
    .lrd-card { padding: 1.5rem; }
    .lrd-card-num { font-size: 3.2rem; }
    .lrd-sec-head { text-shadow: 2px 2px 0 var(--brand); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .lrd-char { opacity: 1; transform: none; }
}
