:root {
    --brand: #f5c518;
    --brand-soft: #ffe56a;
    --brand-dark: #c9a000;
    --heading: #f6f3ea;
    --muted: #b7b2a6;
    --bg-soft: #101012;
    --border: #2e2e32;
    --primary-gradient: linear-gradient(90deg, #f5c518 0%, #ffe56a 100%);
    --hero-gradient: radial-gradient(900px 420px at 15% -10%, rgba(245, 197, 24, 0.18), transparent 55%), #070708;
    --font-display: "Fredoka", sans-serif;
    --font-body: "Nunito", sans-serif;
    --font-outfit: "Nunito", sans-serif;
    --ink: #f6f3ea;
    --paper: #070708;
    --panel: #121214;
    --panel-2: #1a1a1d;
    --line: #2c2c31;
}

body.guide-dark {
    background: var(--paper) !important;
    color: var(--ink) !important;
    font-family: var(--font-body) !important;
}

body.guide-dark button,
body.guide-dark input,
body.guide-dark select,
body.guide-dark textarea,
body.guide-dark a {
    font-family: var(--font-body);
}

body.guide-dark h1,
body.guide-dark h2,
body.guide-dark h3,
body.guide-dark h4,
body.guide-dark .section-title,
body.guide-dark .guide-wordmark,
body.guide-dark .auth-brand-title,
body.guide-dark .auth-form-title {
    font-family: var(--font-display) !important;
    letter-spacing: 0;
    color: var(--ink);
}

body.guide-dark .btn-brand,
body.guide-dark .btn-outline-brand,
body.guide-dark .guide-mark {
    font-family: var(--font-display) !important;
}

body.guide-dark .guide-bar {
    left: 0;
    right: 0;
    width: auto;
    background: #070708;
    border-bottom: 1px solid rgba(245, 197, 24, 0.28);
    overflow: visible;
}

html:has(body.guide-dark) {
    overflow-x: hidden;
    overflow-y: auto;
}

body.guide-dark .guide-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: min(100%, 90rem);
    max-width: 100%;
    margin: 0 auto;
    padding: 0.65rem 0.85rem;
    overflow: visible;
}

body.guide-dark .guide-bar__nav,
body.guide-dark .guide-bar__actions {
    min-width: 0;
    flex-shrink: 1;
}

body.guide-dark .guide-bar__actions {
    margin-left: auto;
}

body.guide-dark .guide-bar .absolute {
    z-index: 80;
}

body.guide-dark .guide-bar .absolute > div {
    background: #16161a !important;
    border-color: rgba(245, 197, 24, 0.28) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 1280px) {
    body.guide-dark .guide-search__label {
        display: none;
    }

    body.guide-dark .guide-bar a,
    body.guide-dark .guide-bar button {
        padding-left: 0.6rem !important;
        padding-right: 0.6rem !important;
    }
}

body.guide-dark .guide-bar a,
body.guide-dark .guide-bar button {
    border-radius: 9999px !important;
    line-height: 1.35;
    overflow: visible;
}

body.guide-dark .guide-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    background: #f5c518;
    color: #111;
    border-radius: 0.9rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.05rem;
}

body.guide-dark .guide-logo {
    display: block;
    height: 2.35rem;
    width: auto;
    max-width: 11rem;
    object-fit: contain;
    border-radius: 0 !important;
    background: transparent !important;
}

body.guide-dark .guide-bar a.guide-brand {
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.guide-dark .guide-wordmark {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: 0;
    color: #f6f3ea;
}

body.guide-dark .guide-bar .text-slate-600,
body.guide-dark .guide-bar .text-slate-700 {
    color: #d9d3c5 !important;
}

body.guide-dark .guide-footer {
    background: #070708;
    border-top: 1px solid rgba(245, 197, 24, 0.35);
    color: #d9d3c5;
}

body.guide-dark .text-slate-950,
body.guide-dark .text-slate-900,
body.guide-dark .text-slate-800,
body.guide-dark .text-gray-950,
body.guide-dark .text-gray-900,
body.guide-dark .text-gray-800 {
    color: #f6f3ea !important;
}

body.guide-dark .text-slate-700,
body.guide-dark .text-slate-600,
body.guide-dark .text-slate-500,
body.guide-dark .text-gray-700,
body.guide-dark .text-gray-600,
body.guide-dark .text-gray-500 {
    color: #b7b2a6 !important;
}

body.guide-dark .text-slate-400,
body.guide-dark .text-gray-400 {
    color: #8d887c !important;
}

body.guide-dark .text-brand {
    color: #f5c518 !important;
}

body.guide-dark .bg-white,
body.guide-dark .bg-slate-50,
body.guide-dark .bg-slate-100,
body.guide-dark .bg-gray-50,
body.guide-dark .bg-gray-100,
body.guide-dark .bg-orange-50,
body.guide-dark .bg-orange-100,
body.guide-dark [class*="bg-white"],
body.guide-dark [class*="bg-slate-50"],
body.guide-dark [class*="bg-slate-100"],
body.guide-dark [class*="bg-orange-50"],
body.guide-dark [class*="bg-orange-100"],
body.guide-dark [class*="bg-blue-50"],
body.guide-dark [class*="bg-emerald-50"],
body.guide-dark [class*="from-slate"],
body.guide-dark [class*="from-orange"],
body.guide-dark [class*="from-white"],
body.guide-dark [class*="via-white"],
body.guide-dark [class*="to-white"],
body.guide-dark [class*="bg-[#FFF"],
body.guide-dark [class*="bg-[#fff"] {
    background-color: var(--panel) !important;
    background-image: none !important;
}

body.guide-dark .bg-slate-900,
body.guide-dark .bg-slate-950,
body.guide-dark .bg-gray-900 {
    background-color: #050506 !important;
}

body.guide-dark .border-slate-100,
body.guide-dark .border-slate-200,
body.guide-dark .border-slate-300,
body.guide-dark .border-gray-200,
body.guide-dark .border-gray-300,
body.guide-dark .border-orange-100,
body.guide-dark .border-orange-200,
body.guide-dark .border-orange-300,
body.guide-dark [class*="border-slate"],
body.guide-dark [class*="border-orange"],
body.guide-dark [class*="divide-slate"] > :not([hidden]) ~ :not([hidden]) {
    border-color: var(--line) !important;
}

body.guide-dark .tool-card,
body.guide-dark .tool-card-list,
body.guide-dark .profile-card,
body.guide-dark .auth-form-card {
    background: var(--panel) !important;
    border: 1px solid var(--line) !important;
    border-radius: 1.25rem !important;
    box-shadow: none !important;
}

body.guide-dark .tool-card:hover,
body.guide-dark .tool-card-list:hover {
    border-color: #f5c518 !important;
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(245, 197, 24, 0.08) !important;
}

body.guide-dark .btn-brand {
    background: #f5c518 !important;
    color: #111 !important;
    border-radius: 9999px !important;
    box-shadow: none !important;
    font-weight: 600;
}

body.guide-dark .btn-brand:hover {
    background: #ffe56a !important;
    opacity: 1;
}

body.guide-dark .btn-outline-brand {
    background: transparent !important;
    color: #f5c518 !important;
    border: 1px solid #f5c518 !important;
    border-radius: 9999px !important;
}

body.guide-dark .btn-outline-brand:hover {
    background: #f5c518 !important;
    color: #111 !important;
}

body.guide-dark .hero-full-bleed {
    background: var(--hero-gradient) !important;
}

body.guide-dark .hero-full-bleed::before {
    background:
        radial-gradient(ellipse at 20% 0%, rgba(245, 197, 24, 0.22), transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 197, 24, 0.08), transparent 46%);
}

body.guide-dark .badge-pricing {
    background: #2a2412 !important;
    color: #f5c518 !important;
    border-radius: 9999px !important;
}

body.guide-dark .badge-pricing.free {
    background: #14281c !important;
    color: #86efac !important;
}

body.guide-dark .badge-pricing.freemium {
    background: #241f10 !important;
    color: #ffe56a !important;
}

body.guide-dark .filter-chip {
    background: transparent !important;
    color: #d9d3c5 !important;
    border-color: var(--line) !important;
    border-radius: 9999px !important;
}

body.guide-dark .filter-chip.active,
body.guide-dark .filter-chip:hover {
    background: #f5c518 !important;
    color: #111 !important;
    border-color: #f5c518 !important;
}

body.guide-dark .tool-tab-label {
    color: #b7b2a6 !important;
}

body.guide-dark .tool-tabs:has(.tool-tab-input:checked) .tool-tab-label {
    color: #111;
}

body.guide-dark .tool-tabs:has(.tool-tab-input[data-tab="apropos"]:checked) .tool-tab-label[data-tab="apropos"],
body.guide-dark .tool-tabs:has(.tool-tab-input[data-tab="fonctionnalites"]:checked) .tool-tab-label[data-tab="fonctionnalites"],
body.guide-dark .tool-tabs:has(.tool-tab-input[data-tab="tarification"]:checked) .tool-tab-label[data-tab="tarification"],
body.guide-dark .tool-tabs:has(.tool-tab-input[data-tab="avis"]:checked) .tool-tab-label[data-tab="avis"] {
    color: #111 !important;
    background: #f5c518 !important;
    border-color: #f5c518 !important;
}

body.guide-dark input,
body.guide-dark select,
body.guide-dark textarea {
    background: #0d0d0f !important;
    color: #f6f3ea !important;
    border-color: #3a3a40 !important;
    border-radius: 0.9rem !important;
    font-family: var(--font-body) !important;
}

body.guide-dark input::placeholder,
body.guide-dark textarea::placeholder {
    color: #8d887c !important;
}

body.guide-dark .auth-shell {
    background:
        radial-gradient(700px 380px at 8% 12%, rgba(245, 197, 24, 0.16), transparent 60%),
        #070708 !important;
}

body.guide-dark .auth-shell__glow--one,
body.guide-dark .auth-shell__glow--two {
    background: rgba(245, 197, 24, 0.18) !important;
}

body.guide-dark .auth-shell__grid {
    opacity: 0.18;
}

body.guide-dark .auth-form-card {
    background: #121214 !important;
    border: 1px solid #3a3420 !important;
    border-radius: 1.5rem !important;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45) !important;
}

body.guide-dark .auth-brand__mark {
    background: #f5c518 !important;
    color: #111 !important;
    border-radius: 1rem !important;
    font-family: var(--font-display) !important;
}

body.guide-dark .auth-brand__name,
body.guide-dark .auth-brand-title,
body.guide-dark .auth-form-title {
    color: #f6f3ea !important;
}

body.guide-dark .auth-brand-kicker,
body.guide-dark .auth-form-eyebrow {
    color: #f5c518 !important;
}

body.guide-dark aside.fixed {
    background: #101012 !important;
}

body.guide-dark .catalog-filter-drawer {
    background: #101012 !important;
    color: #f6f3ea !important;
}

/* Les menus déroulants dépassent de la barre, ils ne doivent pas être rognés. */
body.guide-dark .guide-bar .group,
body.guide-dark .guide-bar .relative,
body.guide-dark .guide-bar .absolute {
    overflow: visible !important;
}

/* Survol sur fond sombre : texte jaune clair, fond à peine teinté. */
body.guide-dark a.hover\:text-brand:not(.btn-brand):not(.btn-outline-brand):is(:hover, :active, :focus-visible),
body.guide-dark button.hover\:text-brand:not(.btn-brand):not(.btn-outline-brand):is(:hover, :active, :focus-visible),
body.guide-dark .group:is(:hover, :focus-within) > button:not(.btn-brand):not(.btn-outline-brand),
body.guide-dark .guide-bar .absolute a:not(.btn-brand):is(:hover, :active, :focus-visible),
body.guide-dark aside a:not(.btn-brand):not(.btn-outline-brand):is(:hover, :active, :focus-visible) {
    background-color: rgba(245, 197, 24, 0.16) !important;
    background-image: none !important;
    color: #ffe56a !important;
}

/* Langue déjà choisie : même contraste, sans aplat jaune. */
body.guide-dark a.bg-orange-50.text-brand {
    background-color: rgba(245, 197, 24, 0.16) !important;
    color: #ffe56a !important;
}

/* Arabe : lecture de droite à gauche, polices arabes, menus alignés sur le bouton. */
html[dir="rtl"] body.guide-dark,
html[dir="rtl"] body.guide-dark input,
html[dir="rtl"] body.guide-dark select,
html[dir="rtl"] body.guide-dark textarea {
    font-family: "Noto Sans Arabic", "Nunito", sans-serif !important;
}

html[dir="rtl"] body.guide-dark h1,
html[dir="rtl"] body.guide-dark h2,
html[dir="rtl"] body.guide-dark h3,
html[dir="rtl"] body.guide-dark h4,
html[dir="rtl"] body.guide-dark .guide-wordmark,
html[dir="rtl"] body.guide-dark .section-title,
html[dir="rtl"] body.guide-dark .btn-brand,
html[dir="rtl"] body.guide-dark .btn-outline-brand,
html[dir="rtl"] body.guide-dark .auth-brand-title,
html[dir="rtl"] body.guide-dark .auth-form-title,
html[dir="rtl"] body.guide-dark .guide-mark {
    font-family: "Noto Kufi Arabic", "Fredoka", sans-serif !important;
}

html[dir="rtl"] .guide-chevron {
    transform: scaleX(-1);
}

html[dir="rtl"] .guide-bar .absolute.left-0,
html[dir="rtl"] .guide-bar [class*=" left-0"],
html[dir="rtl"] .guide-bar [class^="left-0"] {
    left: auto !important;
    right: 0 !important;
}

html[dir="rtl"] .guide-bar .absolute.right-0 {
    right: auto !important;
    left: 0 !important;
}

html[dir="rtl"] .recommend-fab-wrap {
    right: auto !important;
    left: 1.25rem !important;
    align-items: flex-start !important;
}

.tool-float {
    position: fixed;
    right: 5.75rem;
    bottom: 1.25rem;
    z-index: 190;
    display: flex;
    align-items: center;
    gap: .6rem;
}

.tool-float__btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    height: 3.5rem;
    padding: 0 .95rem;
    border: 0;
    border-radius: .4rem;
    cursor: pointer;
    text-decoration: none;
    font-family: "Fredoka", sans-serif;
    font-weight: 600;
    font-size: .95rem;
    line-height: 1;
    color: #16140c;
    background: #f5c518;
    box-shadow: 0 10px 28px rgba(245, 197, 24, .28);
    transition: transform .15s ease, box-shadow .15s ease;
}

.tool-float__btn:hover {
    color: #16140c;
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(245, 197, 24, .4);
}

.tool-float__btn svg {
    width: 1.2rem;
    height: 1.2rem;
    stroke: #16140c;
    flex-shrink: 0;
}

html[dir="rtl"] .tool-float {
    right: auto;
    left: 5.75rem;
}
body.guide-dark .btn-brand,
body.guide-dark .btn-brand:is(:hover, :active, :focus, :focus-visible),
body.guide-dark .btn-outline-brand:is(:hover, :active, :focus, :focus-visible),
body.guide-dark .filter-chip:is(:hover, :active, .active),
body.guide-dark .tool-tabs:has(.tool-tab-input:checked) .tool-tab-label,
body.guide-dark .bg-brand,
body.guide-dark a.bg-brand,
body.guide-dark .badge-flag {
    background: #f5c518 !important;
    background-image: none !important;
    color: #16140c !important;
}

.hero-stage {
    position: relative;
    min-height: 38rem;
    overflow: hidden;
    background: #0c0a06;
}

.hero-slide {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-slide__item {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero-slide__item.is-on {
    opacity: 1;
}

.hero-slide__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
}

html[dir="rtl"] .hero-slide__item img {
    object-position: center left;
}

.hero-stage__veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(8, 7, 4, 0.94) 0%, rgba(8, 7, 4, 0.82) 38%, rgba(8, 7, 4, 0.28) 72%, rgba(8, 7, 4, 0.45) 100%);
}

html[dir="rtl"] .hero-stage__veil {
    background:
        linear-gradient(270deg, rgba(8, 7, 4, 0.94) 0%, rgba(8, 7, 4, 0.82) 38%, rgba(8, 7, 4, 0.28) 72%, rgba(8, 7, 4, 0.45) 100%);
}

.hero-stage__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 40rem;
    margin-inline-start: max(1.25rem, calc((100% - 72rem) / 2));
    padding: 8.5rem 1.25rem 6.5rem;
    text-align: start;
}

.hero-stage__kicker {
    margin: 0 0 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #f5c518;
}

.hero-stage__copy h1 {
    margin: 0;
    max-width: 16ch;
    font-family: "Fredoka", sans-serif;
    font-size: clamp(2.3rem, 5vw, 4.2rem);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #f7f4ea;
}

.hero-stage__lead {
    margin: 1.15rem 0 0;
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.55;
    color: #e6e0d0;
}

.hero-stage__search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    width: min(100%, 32rem);
    margin-top: 1.6rem;
    padding: 0.35rem 0.35rem 0.35rem 0.9rem;
    border: 1px solid rgba(245, 197, 24, 0.45);
    border-radius: 0.45rem;
    background: rgba(12, 10, 6, 0.72);
}

.hero-stage__search svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    stroke: #f5c518;
}

.hero-stage__search input {
    min-width: 0;
    flex: 1;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #f7f4ea !important;
    font-size: 0.95rem;
    outline: none;
}

.hero-stage__search input::placeholder {
    color: rgba(247, 244, 234, 0.55);
}

.hero-stage__search button {
    border: 0;
    border-radius: 0.3rem;
    background: #f5c518;
    color: #16140c;
    font-family: "Fredoka", sans-serif;
    font-weight: 650;
    padding: 0.55rem 0.85rem;
    cursor: pointer;
}

.hero-stage__count {
    margin: 1.15rem 0 0;
    font-size: 0.92rem;
    color: #f7f4ea;
}

.hero-stage__count span {
    margin-inline-end: 0.35rem;
    font-family: "Fredoka", sans-serif;
    font-size: 1.35rem;
    font-weight: 650;
    color: #f5c518;
}

.hero-slide__controls {
    position: absolute;
    z-index: 4;
    inset-inline-end: 1.25rem;
    bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.hero-slide__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(12, 10, 6, 0.72);
    color: #f5c518;
    cursor: pointer;
}

.hero-slide__nav svg {
    width: 1.1rem;
    height: 1.1rem;
}

.hero-slide__nav:hover {
    background: #f5c518;
    color: #16140c;
}

.hero-slide__dots {
    display: flex;
    gap: 0.4rem;
}

.hero-slide__dot {
    width: 0.5rem;
    height: 0.5rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: rgba(245, 197, 24, 0.4);
    cursor: pointer;
}

.hero-slide__dot.is-on {
    width: 1.25rem;
    background: #f5c518;
}

@media (max-width: 768px) {
    .hero-stage { min-height: 0; }
    .hero-stage__copy { padding-top: 7rem; padding-bottom: 5.5rem; }
    .hero-slide__item img { object-position: center center; }
    .hero-stage__veil {
        background: linear-gradient(180deg, rgba(8, 7, 4, 0.42) 0%, rgba(8, 7, 4, 0.78) 46%, rgba(8, 7, 4, 0.94) 100%);
    }
}

/* Skills : page liste et fiche, distinctes du catalogue d’outils. */
body.guide-dark .skill-index,
body.guide-dark .skill-page {
    max-width: 1080px;
    margin: 0 auto;
    padding: 7.5rem 1.25rem 4rem;
}
@media (min-width: 768px) {
    body.guide-dark .skill-index,
    body.guide-dark .skill-page {
        padding-top: 8.5rem;
    }
}
body.guide-dark .skill-kicker {
    margin: 0 0 .6rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #111;
}
body.guide-dark .skill-index__hero,
body.guide-dark .skill-hero {
    background: var(--brand);
    color: #16140c;
    border-radius: 28px;
    padding: 1.6rem 1.5rem 1.5rem;
}
body.guide-dark .skill-index__hero h1,
body.guide-dark .skill-hero h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: .95;
    letter-spacing: -0.03em;
    color: #16140c;
}
body.guide-dark .skill-index__lead,
body.guide-dark .skill-hero__excerpt {
    max-width: 42rem;
    margin: .8rem 0 0;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #2b2618;
}
body.guide-dark .skill-hero__provider {
    margin: .45rem 0 0;
    font-weight: 800;
}
body.guide-dark .skill-filters {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 1.25rem 0 1.5rem;
}
body.guide-dark .skill-filters a {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .4rem .75rem;
    color: var(--muted);
    background: var(--panel);
}
body.guide-dark .skill-filters a span {
    color: var(--brand);
    font-weight: 800;
}
body.guide-dark .skill-filters a.is-on {
    background: var(--brand);
    color: #16140c;
    border-color: var(--brand);
}
body.guide-dark .skill-filters a.is-on span { color: #16140c; }
body.guide-dark .skill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.guide-dark .skill-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 1rem 1rem 1.1rem;
    background: var(--panel);
    color: var(--ink);
}
body.guide-dark .skill-card:hover { border-color: var(--brand); }
body.guide-dark .skill-card__meta {
    margin: 0;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand);
}
body.guide-dark .skill-card h2 {
    margin: .4rem 0 .35rem;
    font-family: var(--font-display);
    font-size: 1.45rem;
    color: var(--ink);
}
body.guide-dark .skill-card p { margin: 0; color: var(--muted); line-height: 1.4; }
body.guide-dark .skill-card ul,
body.guide-dark .skill-agents {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem;
    margin: .8rem 0 0;
    padding: 0;
    list-style: none;
}
body.guide-dark .skill-card li,
body.guide-dark .skill-agents li {
    border-radius: 999px;
    padding: .15rem .55rem;
    background: #241f12;
    color: var(--brand-soft);
    font-size: .75rem;
    font-weight: 800;
}
body.guide-dark .skill-hero .skill-agents li {
    background: #16140c;
    color: var(--brand);
}
body.guide-dark .skill-empty {
    margin-top: 1rem;
    color: var(--muted);
}
body.guide-dark .skill-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 1.5rem;
    margin-top: 1.5rem;
}
body.guide-dark .skill-body p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #efeae0;
}
body.guide-dark .skill-body h2,
body.guide-dark .skill-related h2 {
    margin: 1.4rem 0 .6rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--ink);
}
body.guide-dark .skill-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: skill;
}
body.guide-dark .skill-steps li {
    counter-increment: skill;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: .75rem;
    margin: 0 0 .7rem;
    color: #efeae0;
}
body.guide-dark .skill-steps li::before {
    content: counter(skill);
    display: grid;
    place-items: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 8px;
    background: var(--brand);
    color: #16140c;
    font-weight: 800;
}
body.guide-dark .skill-source {
    align-self: start;
    position: sticky;
    top: 6.5rem;
    border: 1px dashed var(--brand);
    border-radius: 22px;
    padding: 1rem;
    background: #14120c;
}
body.guide-dark .skill-source__label {
    margin: 0 0 .8rem;
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--brand);
}
body.guide-dark .skill-source__key {
    margin: .7rem 0 .15rem;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}
body.guide-dark .skill-source__value {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .92rem;
    color: var(--ink);
    word-break: break-all;
}
body.guide-dark .skill-source__note {
    margin: .9rem 0 .8rem;
    font-size: .85rem;
    line-height: 1.4;
    color: var(--muted);
}
body.guide-dark .skill-source__go {
    display: inline-flex;
    border-radius: 999px;
    padding: .55rem .9rem;
    background: var(--brand);
    color: #16140c;
    font-weight: 800;
}
body.guide-dark .skill-related ul {
    display: grid;
    gap: .7rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
body.guide-dark .skill-related a {
    display: block;
    border-radius: 16px;
    padding: .8rem 1rem;
    background: var(--panel);
    color: var(--ink);
}
body.guide-dark .skill-related span {
    display: block;
    margin-top: .2rem;
    color: var(--muted);
    font-size: .9rem;
}
@media (max-width: 800px) {
    body.guide-dark .skill-layout { grid-template-columns: 1fr; }
    body.guide-dark .skill-source { position: static; }
}

/* ——— Articles Discover / actualités ——— */
body.guide-dark .news-article__kicker {
    margin: 0;
    color: var(--brand);
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

body.guide-dark .news-article__title {
    margin: .55rem 0 0;
    color: #f6f3ea;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 2.6rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
}

body.guide-dark .news-article__meta {
    margin: .85rem 0 0;
    color: #a8a29a;
    font-size: .92rem;
}

body.guide-dark .news-article__cover {
    display: block;
    width: 100%;
    margin-top: 1.75rem;
    border-radius: 1.25rem;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #121214;
}

body.guide-dark .news-article__excerpt {
    margin: 1.5rem 0 0;
    color: #e7e2d6;
    font-size: 1.15rem;
    line-height: 1.65;
}

body.guide-dark .prose-content,
body.guide-dark .news-prose {
    color: #d6d0c4 !important;
    line-height: 1.75;
}

body.guide-dark .prose-content p,
body.guide-dark .news-prose p {
    margin: 0 0 1.05rem;
    color: #d6d0c4;
}

body.guide-dark .prose-content h2,
body.guide-dark .news-prose h2 {
    margin: 2rem 0 .85rem;
    color: #f6f3ea !important;
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.25;
}

body.guide-dark .prose-content h3,
body.guide-dark .news-prose h3 {
    margin: 1.5rem 0 .65rem;
    color: #f0ebe0 !important;
    font-size: 1.15rem;
    font-weight: 700;
}

body.guide-dark .prose-content a,
body.guide-dark .news-prose a {
    color: var(--brand) !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.guide-dark .prose-content strong,
body.guide-dark .news-prose strong {
    color: #f6f3ea;
    font-weight: 700;
}

body.guide-dark .prose-content ul,
body.guide-dark .news-prose ul,
body.guide-dark .prose-content ol,
body.guide-dark .news-prose ol {
    margin: 0 0 1.1rem;
    padding-left: 1.25rem;
    color: #d6d0c4;
}

body.guide-dark .prose-content li,
body.guide-dark .news-prose li {
    margin: .35rem 0;
}
