/*
Theme Name: Mon-Équipe-Marketing v2
Theme URI: https://mon-equipe-marketing.fr/
Author: Yann Nabusset
Description: Thème média orienté affiliation et vente de liens. Détection automatique des liens affiliés (rel="sponsored"), encadrés « En bref » et boutons d'action, sommaire, articles liés, fil d'Ariane, pages Publier / Transparence / Mentions légales / Contact générées automatiquement, suivi des clics affiliés, commentaires désactivés, conversion WebP. Aucun réglage obligatoire.
Version: 2.3.0
Requires at least: 6.4
Requires PHP: 7.4
License: Propriétaire
Text Domain: mem
*/

:root {
	--blue: #1A56DB; --blue-dark: #1340A8; --blue-soft: #EEF3FF; --blue-line: #D6E2FF;
	--ink: #0F172A; --body: #475569; --muted: #94A3B8; --line: #E5E9F0;
	--bg: #FFFFFF; --bg-alt: #F7F9FC; --white: #FFFFFF;
	--amber-soft: #FFF8EB; --amber-line: #FDE3B0; --amber: #B45309;
	--green: #067647;
	--radius: 14px; --radius-sm: 10px; --maxw: 1180px; --readw: 760px;
	--pad: clamp(20px, 5vw, 64px);
	--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--shadow: 0 1px 3px rgba(15,23,42,.04), 0 8px 24px rgba(15,23,42,.06);
	--shadow-lg: 0 12px 40px rgba(26,86,219,.12);
}

/* ---------- Base ---------- */
*, ::before, ::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--sans); font-size: 17px; line-height: 1.65; color: var(--body); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; font-size: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.18; font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.12rem, 1.8vw, 1.35rem); }
p { margin-bottom: 1rem; }
code { font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line); padding: 1px 6px; border-radius: 5px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.mt { margin-top: 32px; margin-bottom: 12px; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: calc(var(--readw) + 2 * var(--pad)); }
.wrap--cover { max-width: calc(1000px + 2 * var(--pad)); }
.section { padding-block: clamp(52px, 7vw, 96px); }
.section--latest { padding-top: clamp(36px, 4vw, 56px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.bg-alt { background: var(--bg-alt); }
.eyebrow { display: inline-block; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); background: var(--blue-soft); padding: 7px 14px; border-radius: 100px; margin-bottom: 18px; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--body); max-width: 62ch; line-height: 1.7; }
.h-small { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; margin-bottom: 18px; }
.h-small svg { width: 20px; height: 20px; color: var(--blue); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 24px; border-radius: 10px; font-weight: 650; font-size: 1rem; line-height: 1.2; border: 1px solid transparent; transition: background .2s, transform .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn--soft { background: var(--blue-soft); color: var(--blue); }
.btn--soft:hover { background: var(--blue-line); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { background: var(--blue-soft); transform: translateY(-2px); }
.btn--outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--outline-white:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; color: var(--ink); letter-spacing: -0.02em; flex-shrink: 0; }
.brand .mk { width: 30px; height: 30px; border-radius: 8px; background: var(--blue); color: #fff; display: flex; align-items: center; justify-content: center; font-size: .95rem; font-weight: 800; }
.brand img { max-height: 36px; width: auto; }
.menu { display: flex; align-items: center; gap: 2px; }
.menu a { display: block; font-size: .94rem; font-weight: 550; color: var(--body); padding: 9px 13px; border-radius: 8px; transition: color .2s, background .2s; white-space: nowrap; }
.menu a:hover { color: var(--blue); background: var(--blue-soft); }
.menu .current-menu-item > a, .menu .current_page_item > a { color: var(--blue); background: var(--blue-soft); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-search { width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--body); }
.nav-search:hover { background: var(--blue-soft); color: var(--blue); }
.nav-search svg { width: 19px; height: 19px; }
.nav-cta { padding: 11px 18px; font-size: .94rem; }
.burger { display: none; width: 42px; height: 42px; border-radius: 8px; border: 1px solid var(--line); position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: .25s; }
.burger span:nth-child(1) { top: 14px; } .burger span:nth-child(2) { top: 20px; } .burger span:nth-child(3) { top: 26px; }
.burger.open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 16px var(--pad) 24px; border-top: 1px solid var(--line); background: #fff; max-height: calc(100vh - 72px); overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu__list a { display: block; padding: 13px 0; font-size: 1.06rem; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 18px; }
.mobile-menu .searchform { margin-bottom: 8px; }

/* ---------- Recherche ---------- */
.searchform { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 4px 4px 4px 16px; max-width: 560px; box-shadow: var(--shadow); }
.searchform:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.searchform input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 12px 6px; color: var(--ink); outline: none; }
.searchform button { width: 46px; height: 46px; border-radius: 9px; background: var(--blue); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.searchform button svg { width: 19px; height: 19px; }
.hero__search { margin-top: 26px; }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 48px; margin-top: 26px; }
.hero__row .hero__search { margin-top: 0; flex: 1 1 360px; max-width: 560px; }
.hero__stats--inline { margin-top: 0 !important; padding-top: 0 !important; border-top: 0 !important; gap: 36px !important; }

/* ---------- Héros ---------- */
.hero { padding-block: clamp(36px, 5vw, 60px); background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); }
.hero h1 { max-width: 24ch; margin-bottom: 18px; }
.hero h1 .hl, .phero h1 .hl { color: var(--blue); }
.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(26px, 5vw, 60px); margin-top: clamp(28px, 4vw, 44px); padding-top: 24px; border-top: 1px solid var(--blue-line); }
.hs .n { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.1; }
.hs .l { font-size: .85rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.phero { background: var(--blue-soft); padding-block: clamp(40px, 6vw, 80px); }
.phero h1 { max-width: 22ch; margin-bottom: 14px; }
.phero .lead { margin-bottom: 0; }
.phero .hero__stats { border-top-color: var(--blue-line); }
.phero--center { text-align: center; }
.phero--center h1, .phero--center .lead, .phero--center .searchform { margin-inline: auto; }
.phero__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--blue-line); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 8px 14px; border-radius: 100px; transition: .2s; }
.chip span { color: var(--muted); font-weight: 600; font-size: .8rem; }
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Fil d'Ariane ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--body); }
.crumbs a:hover { color: var(--blue); }
.crumbs .sep { color: var(--line); }
.crumbs [aria-current] { color: var(--muted); }

/* ---------- Grilles & cartes ---------- */
.sec-head { max-width: 62ch; margin-bottom: 36px; }
.sec-head h2 { margin-bottom: 12px; }
.posts-head { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: flex-end; margin-bottom: 36px; }
.posts-head .eyebrow { margin-bottom: 12px; }
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.catcard { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; transition: .2s; }
.catcard:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.catcard .ic { grid-row: span 2; width: 44px; height: 44px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; }
.catcard .ic svg { width: 22px; height: 22px; }
.catcard__name { font-weight: 700; color: var(--ink); line-height: 1.25; }
.catcard__count { font-size: .84rem; color: var(--muted); }

.pcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--blue-line); }
.pcard__img { position: relative; display: block; aspect-ratio: 16 / 10; background: var(--blue-soft); overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; }
.pcard__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 12px; font-size: .76rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 10px; }
.pcard__meta .cat { color: var(--blue); }
.pcard h3 { margin-bottom: 10px; font-size: 1.16rem; line-height: 1.3; }
.pcard h3 a { color: var(--ink); }
.pcard:hover h3 a { color: var(--blue); }
.pcard p { font-size: .94rem; flex: 1; margin-bottom: 16px; }
.pcard__more { font-weight: 650; font-size: .92rem; display: inline-flex; align-items: center; gap: 7px; }
.pcard__more svg { width: 15px; height: 15px; }
.thumb-fallback { width: 100%; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding: 22px; background: linear-gradient(135deg, var(--blue) 0%, #3B7BF6 60%, #7AA5FF 100%); color: #fff; }
.thumb-fallback svg { width: 34px; height: 34px; opacity: .9; }
.thumb-fallback span { font-weight: 800; font-size: 1.15rem; line-height: 1.25; letter-spacing: -0.01em; }
.single-cover .thumb-fallback { min-height: 320px; }

.cmp-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cmp-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 650; color: var(--ink); transition: .2s; }
.cmp-list a:hover { border-color: var(--blue); color: var(--blue); }
.cmp-list svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--blue); }

/* ---------- Bandeau annonceurs ---------- */
.cta { background: var(--blue); border-radius: 20px; padding: clamp(36px, 6vw, 68px); text-align: center; color: #fff; background-image: radial-gradient(circle at 85% 15%, rgba(255,255,255,.14), transparent 45%); }
.cta__eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 12px; }
.cta h2 { color: #fff; margin-bottom: 14px; }
.cta p { color: rgba(255,255,255,.85); max-width: 56ch; margin: 0 auto 28px; font-size: 1.08rem; }
.cta__actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Article ---------- */
.single-head { background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%); padding-block: clamp(32px, 5vw, 64px) clamp(20px, 3vw, 32px); }
.single-head h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); margin-bottom: 16px; }
.single-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: .82rem; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }
.single-meta .cat { color: var(--blue); background: #fff; border: 1px solid var(--blue-line); padding: 4px 10px; border-radius: 100px; }
.single-meta span { display: inline-flex; align-items: center; gap: 5px; }
.single-meta svg { width: 14px; height: 14px; }
.single-by { font-size: .95rem; color: var(--body); margin: 0; }
.single-by a { color: var(--ink); font-weight: 650; }
.single-cover { margin-block: 8px 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 2 / 1; background: var(--blue-soft); }
.single-cover img { width: 100%; height: 100%; object-fit: cover; }

.entry { max-width: var(--readw); margin-inline: auto; padding-top: 8px; }
.entry > p, .entry li, .entry > div > p { font-size: 1.07rem; line-height: 1.78; color: #3A4A60; }
.entry p { margin-bottom: 20px; }
.content h2 { margin: 48px 0 16px; font-size: clamp(1.4rem, 2.6vw, 1.85rem); }
.content h3 { margin: 32px 0 12px; }
.content ul, .content ol { margin: 0 0 22px; }
.content ul li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.content ul li::before { content: ""; position: absolute; left: 4px; top: .66em; width: 8px; height: 8px; border-radius: 2px; background: var(--blue); }
.content ol { padding-left: 24px; list-style: decimal; }
.content ol li { margin-bottom: 10px; padding-left: 4px; }
.content a { border-bottom: 1px solid var(--blue-line); transition: border-color .2s; }
.content a:hover { border-color: var(--blue); }
.content blockquote { border-left: 3px solid var(--blue); padding: 6px 0 6px 22px; margin: 28px 0; color: var(--ink); font-size: 1.12rem; }
.content img { border-radius: var(--radius-sm); margin: 24px auto; }
.content figure { margin: 28px 0; }
.content figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: -12px; }
.content strong { color: var(--ink); }
.content hr { border: 0; border-top: 1px solid var(--line); margin: 36px 0; }
.content iframe { max-width: 100%; border-radius: var(--radius-sm); }

/* Tableaux */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.table-wrap table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: .95rem; }
.table-wrap th, .table-wrap td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap thead th { background: var(--bg-alt); color: var(--ink); font-weight: 750; font-size: .86rem; text-transform: uppercase; letter-spacing: .04em; }
.table-wrap tbody td:first-child { font-weight: 650; color: var(--ink); }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: #FBFCFE; }

/* Liens affiliés dans le texte */
.content a.aff-link { font-weight: 650; border-bottom: 2px solid var(--blue-line); }
.aff-tag { display: inline-block; margin-left: 5px; font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; line-height: 1.6; vertical-align: 2px; }

/* Mention de transparence */
.disclosure { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem !important; line-height: 1.55 !important; color: var(--body) !important; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 28px !important; }
.disclosure svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); margin-top: 1px; }
.disclosure a { font-weight: 600; }
.disclosure--sponsored { background: var(--amber-soft); border-color: var(--amber-line); }
.disclosure--sponsored svg { color: var(--amber); }

/* Encadré « En bref » */
.quickpick { margin: 30px 0 34px; border: 1px solid var(--blue-line); border-radius: var(--radius); background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%); padding: 20px; box-shadow: var(--shadow); }
.quickpick__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.quickpick__head strong { color: var(--ink); font-size: 1.05rem; }
.quickpick__eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #fff; background: var(--blue); padding: 5px 10px; border-radius: 100px; }
.quickpick__eyebrow svg { width: 13px; height: 13px; }
.quickpick__list { display: grid; gap: 10px; }
.content .quickpick__item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 12px 12px 14px; margin: 0; }
.content .quickpick__item::before { display: none; }
.quickpick__logo { width: 42px; height: 42px; border-radius: 10px; background: var(--ink); color: #fff; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.quickpick__item:first-child .quickpick__logo { background: var(--blue); }
.quickpick__name { flex: 1; min-width: 0; font-weight: 750; color: var(--ink); font-size: 1.02rem; line-height: 1.3; }
.quickpick__name small { display: block; font-weight: 500; font-size: .8rem; color: var(--muted); }
.content .quickpick a.btn, .content .endbox a.btn, .stickybar a.btn { border-bottom-width: 1px; }
.content .quickpick a.btn--primary { border-color: transparent; }
.quickpick__foot { margin: 12px 0 0 !important; font-size: .9rem !important; }
.quickpick__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; border: 0 !important; }
.quickpick__foot a svg { width: 14px; height: 14px; }
.quickpick__foot a[hidden] { display: none; }

/* Sommaire */
.toc { margin: 0 0 36px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc summary { display: flex; align-items: center; gap: 10px; padding: 14px 18px; font-weight: 750; color: var(--ink); cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 18px; height: 18px; color: var(--blue); }
.toc summary span { margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--muted); }
.toc summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 4px 0 6px; transition: transform .2s; }
.toc details[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.content .toc ol { list-style: none; counter-reset: toc; padding: 4px 18px 16px; margin: 0; border-top: 1px solid var(--line); }
.content .toc li { counter-increment: toc; display: flex; gap: 10px; font-size: .96rem; line-height: 1.45; padding: 7px 0 0; margin: 0; }
.content .toc li::before { content: counter(toc); flex-shrink: 0; width: 22px; height: 22px; border-radius: 6px; background: var(--blue-soft); color: var(--blue); font-size: .75rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.content .toc a { border: 0; color: var(--body); }
.content .toc a:hover { color: var(--blue); }

/* À lire aussi */
.readalso { display: flex; flex-direction: column; gap: 4px; margin: 36px 0; padding: 16px 20px; border-left: 3px solid var(--blue); background: var(--bg-alt); border-radius: 0 10px 10px 0; }
.readalso span { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.content .readalso a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); border: 0; font-size: 1.04rem; line-height: 1.4; }
.readalso a svg { width: 16px; height: 16px; color: var(--blue); flex-shrink: 0; }

/* Fin d'article */
.post-end { max-width: var(--readw); margin: 44px auto 0; padding-bottom: clamp(48px, 7vw, 88px); }
.endbox { display: grid; gap: 20px; background: var(--ink); color: #fff; border-radius: 18px; padding: clamp(26px, 4vw, 38px); margin-bottom: 36px; background-image: radial-gradient(circle at 90% 10%, rgba(26,86,219,.55), transparent 55%); }
.endbox__eyebrow { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #9DB9FF; margin-bottom: 8px; }
.endbox__title { color: #fff; font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin-bottom: 8px; }
.endbox__lead { color: rgba(255,255,255,.78); margin: 0; }
.endbox__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.endbox .btn--white { color: var(--ink); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.tags a { font-size: .82rem; border: 1px solid var(--line); padding: 6px 12px; border-radius: 100px; color: var(--body); }
.tags a:hover { border-color: var(--blue); color: var(--blue); }
.authorbox { display: flex; gap: 20px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg-alt); }
.authorbox__img { width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
.authorbox p { margin: 0; }
.authorbox__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.authorbox__name { font-size: 1.15rem; font-weight: 800; margin: 2px 0 6px !important; }
.authorbox__name a { color: var(--ink); }
.authorbox__bio { font-size: .95rem; }
.authorbox__li { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 650; font-size: .92rem; }
.authorbox__li svg { width: 14px; height: 14px; }

/* Barre d'action mobile */
.stickybar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 10px 10px 16px; box-shadow: 0 10px 40px rgba(15,23,42,.18); transform: translateY(140%); transition: transform .3s; }
.stickybar.is-on { transform: none; }
.stickybar[hidden] { display: none; }
.stickybar__txt { flex: 1; font-size: .92rem; color: var(--body); line-height: 1.3; min-width: 0; }
.stickybar__txt strong { display: block; color: var(--ink); font-size: 1rem; }
.stickybar__txt small { font-size: .74rem; color: var(--muted); }
.stickybar .btn { padding: 11px 16px; font-size: .94rem; }
.stickybar__close { width: 30px; height: 30px; border-radius: 8px; font-size: 1.3rem; color: var(--muted); line-height: 1; }
@media (min-width: 900px) { .stickybar { display: none !important; } }

/* ---------- Pages Publier / Contact ---------- */
.offer { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; gap: 6px; }
.offer .ic, .acard .ic { width: 46px; height: 46px; border-radius: 11px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.offer .ic svg { width: 22px; height: 22px; }
.offer__price { font-size: 1.5rem; font-weight: 800; color: var(--blue); margin: 2px 0 14px; letter-spacing: -0.01em; }
.offer .btn { margin-top: auto; align-self: flex-start; }
.checks { margin: 0 0 22px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 6px; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231A56DB' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.split h2 { margin-bottom: 8px; }
.acard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.acard h3 { margin-bottom: 14px; }
.latest-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.latest-list li:last-child { border-bottom: 0; }
.latest-list a { font-weight: 650; color: var(--ink); line-height: 1.35; }
.latest-list a:hover { color: var(--blue); }
.latest-list span { font-size: .82rem; color: var(--muted); }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-grid h2 { margin-bottom: 12px; }
.cinfo .row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.cinfo .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cinfo .ic svg { width: 19px; height: 19px; }
.cinfo .k { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.cinfo .v { font-weight: 650; color: var(--ink); margin-top: 2px; }

.form { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 38px); box-shadow: var(--shadow); }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-size: .83rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.form .req { color: var(--blue); }
.form input, .form textarea, .form select { width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 13px 15px; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.form textarea { resize: vertical; min-height: 140px; }
.form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form button { width: 100%; margin-top: 4px; }
.form-note { font-size: .84rem; color: var(--muted); text-align: center; margin: 14px 0 0; }
.alert { padding: 14px 18px; border-radius: 9px; margin-bottom: 22px; font-size: .95rem; font-weight: 500; }
.alert--ok { background: #ECFDF3; border: 1px solid #A6F4C5; color: var(--green); }
.alert--err { background: #FEF3F2; border: 1px solid #FECDCA; color: #B42318; }

/* ---------- Pagination & vide ---------- */
.pagination { margin-top: 52px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 8px; font-weight: 650; color: var(--body); padding: 0 12px; transition: .2s; }
.pagination a.page-numbers:hover { border-color: var(--blue); color: var(--blue); }
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue); }
.pagination .dots { border: 0; }
.empty { text-align: center; max-width: 520px; margin: 0 auto; }
.empty h2 { margin-bottom: 10px; }
.empty .searchform { margin: 20px auto 0; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 68px) 30px; }
.foot-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.foot-brand .brand { margin-bottom: 14px; }
.foot-brand p { max-width: 38ch; font-size: .95rem; margin: 0; }
.foot-col h4 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--ink); margin-bottom: 14px; }
.foot-col a { display: block; color: var(--body); padding: 5px 0; font-size: .94rem; }
.foot-col a:hover { color: var(--blue); }
.foot-bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--muted); }
.foot-bottom a { color: var(--body); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
	.menu { display: none; }
	.burger { display: block; }
}
@media (max-width: 1080px) {
	.grid-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
	.grid-posts { grid-template-columns: repeat(2, 1fr); }
	.split, .contact-grid { grid-template-columns: 1fr; }
	.foot-top { grid-template-columns: 1fr 1fr; }
	.foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 680px) {
	body { font-size: 16px; }
	.nav { height: 64px; }
	.nav-cta, .nav-search { display: none; }
	.hero__stats--inline { display: none !important; }
	.grid-posts, .grid-2, .cmp-list { grid-template-columns: 1fr; }
	.grid-cats { grid-template-columns: 1fr 1fr; gap: 10px; }
	.catcard { grid-template-columns: 1fr; padding: 14px; row-gap: 6px; }
	.catcard .ic { grid-row: auto; width: 38px; height: 38px; }
	.form .two { grid-template-columns: 1fr; }
	.content .quickpick__item { flex-wrap: wrap; }
	.quickpick__item .btn { width: 100%; }
	.authorbox { flex-direction: column; }
	.endbox__actions .btn { width: 100%; }
	.single-cover { aspect-ratio: 16 / 10; margin-bottom: 24px; }
	.foot-top { grid-template-columns: 1fr; }
	.mobile-menu { max-height: calc(100vh - 64px); }
}
@media (prefers-reduced-motion: reduce) {
	* { transition: none !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .stickybar, .quickpick .btn, .endbox, .toc { display: none !important; }
}

/* ---------- Page À propos : agence & visibilité ---------- */
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero--about .crumbs { margin-bottom: 22px; }
.hero--about h1 { max-width: 20ch; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 40px; }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; scroll-margin-top: 96px; }
.service .ic, .dcard .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.service .ic svg, .dcard .ic svg { width: 24px; height: 24px; }
.service h3 { margin-bottom: 8px; }
.service__pitch { font-size: 1.02rem; color: var(--ink); margin-bottom: 18px; }
.service__label { font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.service__for { margin: auto 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }
.service__for strong { color: var(--ink); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; list-style: none; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step .n { display: inline-flex; width: 34px; height: 34px; border-radius: 9px; background: var(--blue); color: #fff; font-weight: 800; align-items: center; justify-content: center; margin-bottom: 14px; }
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { margin: 0; font-size: .95rem; }
.offer { position: relative; }
.offer__sub { font-size: .9rem; color: var(--muted); font-weight: 600; margin: 0 0 16px; }
.offer--featured { border: 2px solid var(--blue); box-shadow: var(--shadow-lg); }
.offer__tag { position: absolute; top: -13px; right: 22px; background: var(--blue); color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 11px; border-radius: 100px; }
.proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; background: var(--blue); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 48px); background-image: radial-gradient(circle at 90% 20%, rgba(255,255,255,.16), transparent 50%); }
.proof > div { flex: 1 1 420px; }
.proof h2 { color: #fff; margin-bottom: 10px; }
.proof p { color: rgba(255,255,255,.86); margin: 0; font-size: 1.05rem; max-width: 64ch; }
.section--dark { background: var(--ink); color: rgba(255,255,255,.78); background-image: radial-gradient(circle at 85% 0%, rgba(26,86,219,.45), transparent 50%); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: rgba(255,255,255,.78); }
.eyebrow--dark { background: rgba(255,255,255,.1); color: #9DB9FF; }
.dcard { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 24px; }
.dcard .ic { background: rgba(26,86,219,.3); color: #BBD0FF; }
.dcard h3 { font-size: 1.08rem; margin-bottom: 8px; }
.dcard p { font-size: .93rem; margin: 0; color: rgba(255,255,255,.72); }
.split--dark { grid-template-columns: 1fr 1fr; }
.rules { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.rules h3 { margin-bottom: 16px; }
.rules p { font-size: .95rem; }
.rules a:not(.btn) { color: #9DB9FF; font-weight: 600; }
.rules .hero__actions { margin-top: 18px; }
.checks--dark li { color: rgba(255,255,255,.86); }
.checks--dark li::before { background-color: rgba(26,86,219,.35); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BBD0FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.latest-list--dark li { border-color: rgba(255,255,255,.12); }
.latest-list--dark a { color: #fff; }
.latest-list--dark a:hover { color: #9DB9FF; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: 10px; }
.faq summary { padding: 18px 48px 18px 20px; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 18px; margin: 0; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 980px) { .grid-3, .split--dark { grid-template-columns: 1fr; } .offer--featured { order: -1; } }
@media (max-width: 680px) { .grid-4, .steps { grid-template-columns: 1fr; } .hero__actions .btn { width: 100%; } }

/* ---------- Catalogue d'outils ---------- */
.tlogo { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; border-radius: 12px; overflow: hidden; }
.tlogo--md { width: 46px; height: 46px; font-size: 1.2rem; }
.tlogo--lg { width: 84px; height: 84px; font-size: 2.2rem; border-radius: 20px; box-shadow: var(--shadow); }
.tlogo--img { background: #fff; border: 1px solid var(--line); }
.tlogo--img img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.grid-tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s, transform .2s; display: flex; flex-direction: column; }
.tcard:hover { border-color: var(--blue-line); box-shadow: var(--shadow); transform: translateY(-2px); }
.tcard[hidden] { display: none; }
.tcard__main { display: flex; align-items: center; gap: 14px; padding: 16px; color: inherit; flex: 1; }
.tcard__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tcard__name { font-weight: 750; color: var(--ink); font-size: 1.05rem; line-height: 1.25; }
.tcard:hover .tcard__name { color: var(--blue); }
.tcard__meta { font-size: .84rem; color: var(--muted); margin-top: 2px; }
.tcard__go { color: var(--muted); }
.tcard__go svg { width: 18px; height: 18px; }
.tcard:hover .tcard__go { color: var(--blue); }
.tcard__site { display: flex; align-items: center; justify-content: center; gap: 6px; border-top: 1px solid var(--line); padding: 10px; font-size: .86rem; font-weight: 650; }
.tcard__site svg { width: 13px; height: 13px; }
.tcard__site:hover { background: var(--blue-soft); }
.tools-note { margin-top: 28px; font-size: .9rem; color: var(--muted); text-align: center; }
.tfilter .chip { cursor: pointer; font-family: inherit; }
.tfilter .chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
.tfilter .chip.is-active span { color: rgba(255,255,255,.75); }
.toolhead { display: flex; gap: 28px; align-items: flex-start; }
.toolhead h1 { max-width: 24ch; }
.toolhead .hero__actions { margin-top: 22px; }
.toolhead__note { font-size: .85rem; color: var(--muted); margin: 14px 0 0; }
.toolreview { margin-inline: 0; }
.toolreview h2 { margin-top: 0; }
.content a.quickpick__toollink { border: 0; color: var(--ink); }
.content a.quickpick__toollink:hover { color: var(--blue); }
@media (max-width: 980px) { .grid-tools { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid-tools { grid-template-columns: 1fr; } .toolhead { flex-direction: column; gap: 16px; } .tlogo--lg { width: 64px; height: 64px; font-size: 1.7rem; } }
