/* usernotices.com — feuille unique, 26/11/2026.
   Remplace css/custom.css, lib/styles/legacy/extended-1.1.css, css/modern.css, css/rating.css, lib/icomoon. */

:root {
  --ink: #0f1f2e; --text: #344455; --muted: #6a7b8c; --line: #e3e9ef; --line-2: #eef2f6;
  --bg: #f4f7fa; --card: #fff; --brand: #0e9f8a; --brand-2: #1a8fd8; --brand-ink: #0b7d6d;
  --brand-soft: #e6f6f3; --navy: #0f2a3d; --warn-bg: #fff7e3; --warn-line: #f2dc9e;
  --radius: 16px; --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,31,46,.05); --shadow: 0 6px 24px rgba(15,31,46,.08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --wrap: 1220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.no-scroll { overflow: hidden; }
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 2px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 750; }
p { margin: 0 0 1em; }
button { font: inherit; }
:focus-visible { outline: 3px solid rgba(26,143,216,.45); outline-offset: 2px; border-radius: 6px; }
.wrap, .wrapper { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.clearfix::after { content: ""; display: table; clear: both; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
[hidden] { display: none !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); border-bottom: 1px solid var(--line); }
.hdr-row { display: flex; align-items: center; gap: 18px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; flex-shrink: 0; }
.brand-mark { display: block; filter: drop-shadow(0 2px 6px rgba(26,143,216,.25)); }
.brand-name { font-size: 1.32rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand-name b { font-weight: 800; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hdr-search { flex: 1; max-width: 560px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 5px 0 16px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .15s, box-shadow .15s, background .15s; }
.hdr-search:focus-within { background: #fff; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(26,143,216,.12); }
.hdr-search svg { color: var(--muted); flex-shrink: 0; }
.hdr-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; color: var(--ink); outline: none; height: 100%; }
.hdr-search input::-webkit-search-cancel-button { display: none; }
.hdr-search input::placeholder { color: #8a99a8; }
.hdr-search button { height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; }
.hdr-search button:hover { filter: brightness(1.06); }
.hdr-links { display: flex; gap: 4px; flex-shrink: 0; }
.hdr-links a { color: var(--text); font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; }
.hdr-links a:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.hdr-btn { display: none; align-items: center; justify-content: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--ink); cursor: pointer; flex-shrink: 0; }
.hdr-btn:hover { background: var(--bg); }
.topics-bar { border-top: 1px solid var(--line-2); }
.topics-scroll { display: flex; align-items: center; gap: 4px; height: 50px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.topics-scroll::-webkit-scrollbar { display: none; }
.topics-scroll a, .topics-more { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; padding: 7px 12px; border-radius: 999px; color: var(--text); font-weight: 600; font-size: 14px; border: 0; background: transparent; cursor: pointer; }
.topics-scroll a span { font-size: 15px; }
.topics-scroll a:hover, .topics-more:hover { background: var(--bg); color: var(--ink); text-decoration: none; }
.topics-scroll a.is-active { background: var(--brand-soft); color: var(--brand-ink); }
.topics-more { color: var(--brand-ink); margin-left: auto; padding-right: 28px; }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.read-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: 0 50%; }

/* Tiroir */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(15,31,46,0); transition: background .2s; }
.drawer.is-open { background: rgba(15,31,46,.45); }
.drawer-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 88vw); background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .2s ease; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px 10px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.drawer-head .hdr-btn { display: inline-flex; }
.drawer-title { font-weight: 800; color: var(--ink); font-size: 1.05rem; }
.drawer-topics { list-style: none; margin: 0; padding: 8px 10px; }
.drawer-topics a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); font-weight: 600; }
.drawer-topics a:hover { background: var(--bg); text-decoration: none; }
.drawer-topics .ti { width: 34px; height: 34px; display: grid; place-items: center; background: var(--bg); border-radius: 10px; font-size: 18px; }
.drawer-topics .tl { flex: 1; }
.drawer-topics .tc { color: var(--muted); font-size: 13px; font-weight: 500; }
.drawer-links { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 14px 20px 24px; border-top: 1px solid var(--line); margin-top: auto; }
.drawer-links a { color: var(--text); font-weight: 600; font-size: 14px; }

/* ---------- Mise en page ---------- */
main { display: block; min-height: 50vh; }
.page-grid { margin-top: 28px; margin-bottom: 40px; }
@media (min-width: 961px) {
  .page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 32px; align-items: start; }
}
.centercolumn { min-width: 0; }
.content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 40px 48px; }
.leftcolumn { min-width: 0; }

/* Barre latérale */
.leftcolumn { display: flex; flex-direction: column; gap: 20px; }
.sb-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; box-shadow: var(--shadow-sm); }
.leftcolumn .segment { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.leftcolumn .chapters ul { list-style: none; margin: 0; padding: 0; counter-reset: sb; }
.leftcolumn .chapters li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-size: 15px; font-weight: 550; line-height: 1.4; }
.leftcolumn .chapters li:last-child a { border-bottom: 0; }
.leftcolumn .chapters li a:hover { color: var(--brand-ink); text-decoration: none; }
.sb-more { display: inline-block; margin-top: 10px; font-weight: 700; font-size: 14px; }
.sb-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.sb-topics a { display: inline-flex; gap: 6px; align-items: center; padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; color: var(--text); background: #fff; }
.sb-topics a:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }
@media (min-width: 961px) { .sb-sticky { position: sticky; top: 140px; } }

/* ---------- Article ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; list-style: none; padding: 0; margin: 0 0 14px; font-size: 14px; color: var(--muted); }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb a:hover { color: var(--brand-ink); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; color: #b7c3cf; padding: 0 8px; }
.content h1 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -.025em; margin: 0 0 16px; }
.un-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--muted); font-size: 14px; margin: 0 0 24px; }
.un-meta .avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 13px; }
.un-meta a { color: var(--ink); font-weight: 650; }
.un-meta .dot { color: #b7c3cf; }
.un-mainref { display: flex; gap: 10px; align-items: flex-start; background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; margin: 0 0 22px; color: var(--ink); }
.un-mainref a { font-weight: 700; }
.article-featured-image { margin: 0 0 24px; }
.article-featured-image img { width: 100%; display: block; border-radius: 14px; }
.featured-snippet { position: relative; background: linear-gradient(135deg, #ecfaf7, #eef6fd); border: 1px solid #cfeee7; border-radius: var(--radius); padding: 22px 24px; margin: 0 0 28px; color: var(--ink); }
.featured-snippet .fs-label { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
.featured-snippet .fs-label::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 4px rgba(14,159,138,.15); }
.featured-snippet .fs-text { margin: 0; font-size: 1.12rem; line-height: 1.6; font-weight: 500; }
.featured-snippet ul { margin: 14px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.featured-snippet li { position: relative; padding-left: 28px; line-height: 1.5; }
.featured-snippet li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12 4 4 8-8' stroke='%23fff' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.share-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.share-row .share-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 650; cursor: pointer; }
.share-btn:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }
.share-btn svg { width: 16px; height: 16px; }
.table-of-contents { margin: 0 0 30px; background: #fbfcfd; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; font-size: 15px; }
.table-of-contents summary { cursor: pointer; font-weight: 800; color: var(--ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.table-of-contents summary::-webkit-details-marker { display: none; }
.table-of-contents summary::after { content: "▾"; color: var(--muted); transition: transform .15s; }
.table-of-contents:not([open]) summary::after { transform: rotate(-90deg); }
.table-of-contents ol { margin: 12px 0 0; padding-left: 22px; }
.table-of-contents ol.toc-sub { margin: 4px 0 6px; padding-left: 18px; list-style: circle; }
.table-of-contents li { margin: 6px 0; }
.table-of-contents li::marker { color: var(--brand); font-weight: 700; }
.table-of-contents a { color: var(--text); }
.table-of-contents a:hover, .table-of-contents a.is-current { color: var(--brand-ink); font-weight: 650; text-decoration: none; }

.article-body { font-size: 18.5px; line-height: 1.8; color: #2d3b4a; overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font-size: 1.6rem; line-height: 1.28; margin: 1.9em 0 .6em; scroll-margin-top: 140px; }
.article-body h3 { font-size: 1.25rem; line-height: 1.35; margin: 1.6em 0 .5em; scroll-margin-top: 140px; }
.article-body h4 { font-size: 1.08rem; margin: 1.4em 0 .4em; }
.article-body a { color: var(--brand-ink); text-decoration: underline; text-decoration-color: rgba(14,159,138,.35); text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.3em; }
.article-body li { margin: .45em 0; padding-left: .2em; }
.article-body li::marker { color: var(--brand); font-weight: 700; }
.article-body strong { color: var(--ink); font-weight: 700; }
.article-body table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 1.5em; font-size: .9em; display: block; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.article-body tr:last-child td { border-bottom: 0; }
.article-body th { background: #f6f9fb; color: var(--ink); font-weight: 700; }
.article-body blockquote { margin: 0 0 1.3em; padding: 14px 20px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 12px 12px 0; color: var(--ink); }
.article-body img { border-radius: 12px; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.faq-section { margin: 44px 0 0; }
.faq-section h2, .related-articles h2 { font-size: 1.5rem; margin: 0 0 14px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; margin: 10px 0; background: #fff; transition: border-color .15s, box-shadow .15s; }
.faq-item[open] { border-color: #bfe6dd; box-shadow: var(--shadow-sm); }
.faq-item summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; color: var(--ink); list-style: none; position: relative; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 6v12M6 12h12' stroke='%230b7d6d' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 16px; line-height: 1.7; }
.faq-answer p:last-child { margin: 0; }

.author-box { display: flex; gap: 16px; align-items: flex-start; margin: 40px 0 0; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: #fbfcfd; }
.author-box .avatar { width: 48px; height: 48px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; }
.author-box strong { display: block; color: var(--ink); margin-bottom: 2px; }
.author-box p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.related-articles { margin: 44px 0 0; }
.related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.related-card, .hub-card { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: inherit; text-decoration: none !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.related-card:hover, .hub-card:hover { border-color: #9fdccf; box-shadow: var(--shadow); transform: translateY(-2px); }
.related-card strong, .hub-card strong { color: var(--ink); font-size: 1rem; line-height: 1.38; }
.related-card span, .hub-card span { color: var(--muted); font-size: .9rem; line-height: 1.5; }
.hub-card .tag { font-style: normal; align-self: flex-start; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--brand-ink); background: var(--brand-soft); padding: 3px 8px; border-radius: 999px; }

/* ---------- Accueil ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 400px at 85% -10%, rgba(47,212,176,.35), transparent 60%), radial-gradient(900px 400px at 0% 110%, rgba(26,143,216,.35), transparent 60%), var(--navy); color: #d6e3ee; }
.hero .wrap { padding-top: 56px; padding-bottom: 60px; text-align: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 850; letter-spacing: -.035em; margin: 0 0 14px; line-height: 1.08; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #4ee8c7, #6cc3ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.15rem; max-width: 640px; margin: 0 auto 26px; color: #b9cad8; }
.hero-search { display: flex; align-items: center; gap: 10px; max-width: 660px; margin: 0 auto; height: 60px; padding: 0 7px 0 22px; background: #fff; border-radius: 999px; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hero-search svg { color: var(--muted); flex-shrink: 0; }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: none; font-size: 17px; color: var(--ink); background: transparent; height: 100%; }
.hero-search button { height: 46px; padding: 0 26px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; font-size: 15px; cursor: pointer; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 22px auto 0; max-width: 820px; }
.hero-chips a { display: inline-flex; gap: 6px; align-items: center; padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #e4eef6; font-size: 14px; font-weight: 600; }
.hero-chips a:hover { background: rgba(255,255,255,.16); text-decoration: none; }
.hero-stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 28px; margin-top: 26px; font-size: 14px; color: #9fb4c6; }
.hero-stats b { color: #fff; font-size: 1.05rem; }
.hub h2 { font-size: 1.55rem; margin: 0 0 16px; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.hub section + section { margin-top: 44px; }
.hub-popular { counter-reset: pop; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.hub-popular li { counter-increment: pop; display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.hub-popular li::before { content: counter(pop, decimal-leading-zero); font-weight: 850; font-size: 1.1rem; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; min-width: 26px; }
.hub-popular a { color: var(--ink); font-weight: 650; line-height: 1.4; }
.hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.topic-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.topic-card { display: flex; gap: 12px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.topic-card:hover { border-color: #9fdccf; box-shadow: var(--shadow); text-decoration: none; }
.topic-card .ti { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--bg); font-size: 21px; }
.topic-card strong { display: block; font-size: 15px; line-height: 1.3; }
.topic-card small { color: var(--muted); font-size: 12.5px; }
.hub-latest { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; }
.hub-latest li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line-2); color: var(--ink); font-weight: 550; }
.see-all { font-size: 14px; font-weight: 700; letter-spacing: 0; }

/* ---------- Rubrique / recherche ---------- */
.cat-head { display: flex; gap: 16px; align-items: center; margin: 0 0 10px; }
.cat-head .ti { width: 56px; height: 56px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px; background: linear-gradient(135deg, #ecfaf7, #eef6fd); font-size: 28px; }
.cat-head h1 { margin: 0; }
.cat-intro { color: var(--muted); margin: 0 0 18px; }
.cat-item { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.cat-item:last-of-type { border-bottom: 0; }
.cat-item h2 { font-size: 1.15rem; margin: 0 0 6px; line-height: 1.35; }
.cat-item h2 a { color: var(--ink); }
.cat-item h2 a:hover { color: var(--brand-ink); }
.cat-item p { margin: 0; color: var(--text); font-size: 15.5px; line-height: 1.6; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 28px 0 0; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-weight: 650; color: var(--text); background: #fff; }
.pagination a:hover { border-color: var(--brand); color: var(--brand-ink); text-decoration: none; }
.pagination .current { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }
.pagination .dots { border: 0; background: none; }
.results-count { color: var(--muted); font-size: 14px; }
.search-result { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.search-result h2 { font-size: 1.15rem; margin: 0 0 4px; }
.search-result h2 a { color: var(--ink); }
.search-result .meta { color: var(--muted); font-size: 13px; margin: 0 0 6px; }
.search-result .excerpt { margin: 0; font-size: 15px; }
.notice-box { background: var(--bg); border: 1px dashed var(--line); border-radius: 12px; padding: 18px 20px; }

/* ---------- Pages légales / contact ---------- */
.terms-page, .contact-form { max-width: 860px; margin: 32px auto 48px; }
.contact-form > .legal-container, .legal-content { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 48px; box-shadow: var(--shadow-sm); }
.legal-container h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); font-weight: 800; }
.legal-section { margin: 28px 0 0; }
.legal-section h2 { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; }
.section-number { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 10px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-size: 15px; font-weight: 800; }
.section-content { line-height: 1.75; }
.section-content ul { padding-left: 1.3em; }
.section-content li { margin: .4em 0; }
.last-update { color: var(--muted); font-size: 14px; }
.contact-section { margin: 36px 0 0; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, #ecfaf7, #eef6fd); }
.btn, .contact-form button[type=submit] { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 24px; border: 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff !important; font-weight: 800; font-size: 15px; cursor: pointer; text-decoration: none !important; }
.contact-form form { display: grid; gap: 6px; margin-top: 18px; }
.contact-form label { font-weight: 700; color: var(--ink); font-size: 14px; margin-top: 10px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fbfcfd; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(26,143,216,.12); background: #fff; }
.contact-form button[type=submit] { margin-top: 16px; justify-self: start; }
.success-message, .error-message { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.success-message { background: #e8f8ef; color: #17643a; }
.error-message { background: #fdecec; color: #8b1d1d; }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 56px; background: var(--navy); color: #a9bccb; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-top: 52px; padding-bottom: 40px; }
.footer-brand p { margin: 14px 0 16px; line-height: 1.65; max-width: 340px; }
.brand-light .brand-name { color: #fff; }
.footer-cta { display: inline-block; padding: 8px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #e4eef6; font-weight: 650; font-size: 13.5px; }
.footer-cta:hover { background: rgba(255,255,255,.08); text-decoration: none; }
.footer-col h2 { color: #fff; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 6px 0 14px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin: 0 0 9px; }
.footer-col a { color: #a9bccb; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 22px; font-size: 13px; color: #7f95a7; }
.to-top { color: #a9bccb; white-space: nowrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .topic-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .hdr-links { display: none; }
  .content { padding: 30px 28px; }
  .leftcolumn { margin-top: 24px; }
}
@media (max-width: 760px) {
  .wrap, .wrapper { padding: 0 16px; }
  .hdr-row { height: 60px; gap: 6px; }
  .hdr-btn { display: inline-flex; }
  .brand { margin-right: auto; }
  .brand-name { font-size: 1.2rem; }
  .brand-mark { width: 30px; height: 30px; }
  .hdr-search { display: none; position: absolute; left: 12px; right: 12px; top: 64px; max-width: none; background: #fff; box-shadow: var(--shadow); z-index: 5; }
  .search-open .hdr-search { display: flex; }
  .hdr-row { position: relative; }
  .topics-scroll { height: 46px; }
  .topics-more { display: none; }
  .page-grid { margin-top: 0; }
  .content { border-radius: 0; border-left: 0; border-right: 0; padding: 22px 16px 28px; box-shadow: none; }
  .content h1 { font-size: 1.75rem; }
  .article-body { font-size: 17.5px; line-height: 1.75; }
  .article-body h2 { font-size: 1.36rem; }
  .article-body h3 { font-size: 1.15rem; }
  .featured-snippet { padding: 18px; }
  .featured-snippet .fs-text { font-size: 1.04rem; }
  .related-grid, .hub-grid, .hub-popular, .hub-latest, .topic-grid { grid-template-columns: 1fr; }
  .leftcolumn { padding: 0 16px; }
  .terms-page, .contact-form { margin: 0 0 24px; }
  .contact-form > .legal-container, .legal-content { border-radius: 0; border-left: 0; border-right: 0; padding: 24px 16px; }
  .hero .wrap { padding-top: 36px; padding-bottom: 40px; }
  .hero-search { height: 54px; padding-left: 16px; }
  .hero-search button { padding: 0 16px; height: 42px; }
  .hero-chips a:nth-child(n+7) { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 36px; }
  .footer-bottom .wrap { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .leftcolumn, .share-row, .related-articles, .read-progress, ins.adsbygoogle { display: none !important; } .content { border: 0; box-shadow: none; padding: 0; } }
@media (max-width: 760px) {
  .page-grid.wrapper { padding: 0; }
  .un-meta .dot:nth-of-type(1) { display: none; }
  .un-meta time { flex-basis: auto; }
}
.leftcolumn .chapters li a { font-weight: 500; }
/* 404 */
.nf { grid-column: 1 / -1; }
.nf-code { margin: 0; font-size: 4rem; font-weight: 900; line-height: 1; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-search { margin: 8px 0 30px; max-width: none; border: 1.5px solid var(--line); box-shadow: none; }
