/* ==========================================================================
   Planète Compagnons — feuille de style du site public
   Palette (logo) : bleu nuit (encre), bleu pétrole, corail, or de l'orbite, crème
   Polices : Lexend (titres), Figtree (texte) — auto-hébergées
   Motifs : frise d'empreintes, orbite dorée, semis de pattes
   ========================================================================== */

@font-face {
    font-family: "Lexend";
    src: url("../fonts/lexend.woff2") format("woff2-variations"), url("../fonts/lexend.woff2") format("woff2");
    font-weight: 100 900;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree.woff2") format("woff2-variations"), url("../fonts/figtree.woff2") format("woff2");
    font-weight: 300 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-italic.woff2") format("woff2-variations"), url("../fonts/figtree-italic.woff2") format("woff2");
    font-weight: 300 900;
    font-style: italic;
    font-display: swap;
}

:root {
    --ink: #1C3947;
    --plan: #2A5A70;
    --metre: #CE6A44;
    --or: #DFA42A;
    --paper: #FBF6F0;
    --line: #E7DDD2;
    --muted: #55656E;
    --vert: #2C7356;
    --brique: #B03E28;
    --white: #fff;
    --display: "Lexend", "Trebuchet MS", system-ui, sans-serif;
    --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 10px;
    --wrap: 1200px;
    --accent-dark: color-mix(in srgb, var(--metre) 86%, #000);
    --paws: url("../img/pattes-fond.svg");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--body);
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--plan); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--metre); text-decoration-thickness: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--metre); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -9999px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 800px; }

/* ---------- Boutons et formulaires ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 700 1rem/1.2 var(--body); padding: 13px 24px; border-radius: 999px;
    border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--plan); color: #fff; }
.btn-primary:hover { background: var(--ink); }
.btn-accent { background: var(--accent-dark); color: #fff; }
.btn-accent:hover { background: var(--ink); color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--plan); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }

input[type=text], input[type=email], input[type=search], input[type=tel], select, textarea {
    width: 100%; font: inherit; color: var(--ink); background: #fff;
    border: 1.5px solid var(--line); border-radius: var(--radius); padding: 11px 13px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--plan); box-shadow: 0 0 0 3px color-mix(in srgb, var(--plan) 18%, transparent); }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 14px; }
label input, label select, label textarea { margin-top: 6px; font-weight: 400; }
label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
label.check input { margin-top: 5px; width: auto; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-note { font-size: .875rem; color: var(--muted); margin-top: 10px; }
.form-errors { border-left: 4px solid var(--brique); background: #FBEFEC; padding: 14px 18px; margin-bottom: 20px; border-radius: 0 var(--radius) var(--radius) 0; }
.form-errors p { font-weight: 700; margin-bottom: 4px; }
.form-errors ul { margin: 0; padding-left: 18px; }

.flashes { padding-top: 16px; }
.flash { padding: 12px 16px; border-radius: var(--radius); margin: 0 0 8px; font-weight: 600; }
.flash-success { background: #E8F3ED; color: var(--vert); }
.flash-error { background: #FBEFEC; color: var(--brique); }

/* ---------- Frise d'empreintes (élément signature) ---------- */
.metre {
    height: 34px;
    background: var(--metre) url("../img/empreintes.svg") repeat-x 0 0 / 400px 34px;
    border-top: 3px solid var(--or);
}
.metre-fixed { position: fixed; left: 0; right: 0; bottom: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 6px; z-index: 60; background: color-mix(in srgb, var(--metre) 14%, transparent); pointer-events: none; }
.progress-tape {
    height: 100%;
    background: linear-gradient(90deg, var(--or), var(--metre) 60%);
    border-radius: 0 6px 6px 0;
    clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0 round 0 6px 6px 0);
}

/* ---------- En-tête ---------- */
.adminbar { background: var(--ink); color: #fff; font-size: .85rem; display: flex; gap: 18px; padding: 6px 20px; flex-wrap: wrap; }
.adminbar a { color: #fff; }
.adminbar-warn { color: var(--metre); font-weight: 700; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 60px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 22px; flex: 1; justify-content: flex-end; }
.main-nav ul { list-style: none; display: flex; gap: 4px 20px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current] { border-bottom-color: var(--metre); }
.main-nav a[aria-current] { color: var(--accent-dark); }
.search-toggle { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 0; border-radius: 999px; padding: 9px 16px; font: 600 .95rem var(--body); color: var(--ink); cursor: pointer; flex-shrink: 0; }
.search-toggle:hover, .search-toggle[aria-expanded=true] { background: var(--ink); color: #fff; }
.header-search { border-top: 1px solid var(--line); background: var(--paper); padding: 16px 0; }
.header-search form { display: flex; gap: 10px; }
.header-search input { font-size: 1.05rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 10px; right: 10px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -8px; left: 0; right: 0; }
.nav-toggle-bars::after { top: 8px; left: 0; right: 0; }
.nav-toggle[aria-expanded=true] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded=true] .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded=true] .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Sections du Studio ---------- */
.blk { padding: 72px 0; }
.blk.sp-compact { padding: 40px 0; }
.blk.sp-large { padding: 112px 0; }
.bg-papier { background: var(--paper); }
.bg-plan, .list-head-plan {
    background-color: var(--paper);
    background-image: url("../img/orbite.svg"), var(--paws);
    background-repeat: no-repeat, repeat;
    background-size: min(980px, 120%) auto, 240px 240px;
    background-position: right -220px top -70px, 0 0;
}
.list-head-plan { background-size: 760px auto, 240px 240px; background-position: right -260px top -150px, 0 0; }
.bg-sombre { background: var(--ink); color: #E3ECEF; }
.bg-sombre h2, .bg-sombre h3, .bg-sombre a { color: #fff; }
.bg-jaune { background: var(--metre); color: #fff; }
.bg-jaune h2, .bg-jaune h3, .bg-jaune a { color: #fff; }
.bg-jaune .blk-intro, .bg-jaune p { color: #FFF4EC; }
.blk + .blk.bg-blanc:not(.blk-divider), .blk.bg-blanc + .blk.bg-blanc { padding-top: 24px; }
.blk-title { font-size: clamp(1.6rem, 2.6vw, 2.15rem); margin-bottom: .4em; }
.blk-intro { color: var(--muted); max-width: 62ch; font-size: 1.1rem; margin-bottom: 28px; }
.bg-sombre .blk-intro { color: #BFD0D7; }
.blk-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; flex-wrap: wrap; }
.blk-more { font-weight: 700; }
.blk-divider { padding: 0 !important; }
.spacer { height: 48px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.studio-empty { border: 2px dashed var(--line); padding: 28px; text-align: center; color: var(--muted); border-radius: var(--radius); margin: 0; }

/* Hero */
.blk-hero { padding: 0 !important; }
.hero { padding-top: 72px; padding-bottom: 64px; display: grid; gap: 48px; align-items: center; }
.hero-has-starters { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero-title {
    font-size: clamp(2.7rem, 6.4vw, 5.2rem);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
    max-width: 13ch;
    margin-bottom: 22px;
}
.hero-text { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-search { display: flex; max-width: 560px; background: #fff; border: 2px solid var(--ink); border-radius: 999px; padding: 5px 5px 5px 12px; box-shadow: 0 10px 30px rgba(28, 57, 71, .08); }
.hero-search input { border: 0; font-size: 1.05rem; padding: 10px 12px; box-shadow: none !important; }
.hero-search .btn { flex-shrink: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-starters { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 22px 22px 10px; box-shadow: 0 14px 40px rgba(28, 57, 71, .09); }
.hero-starters-title { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 12px; }
.hero-starters ul { list-style: none; margin: 0; padding: 0; }
.hero-starters li + li { border-top: 1px solid var(--line); }
.hero-starters a { display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 12px 0; color: var(--ink); text-decoration: none; font-weight: 600; line-height: 1.35; }
.hero-starters a:hover span { text-decoration: underline; text-decoration-color: var(--metre); text-decoration-thickness: 2px; }
.hero-starters img, .starter-ph { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; background: var(--paper); }
.hero-centre { text-align: center; justify-items: center; }
.hero-centre .hero-title { max-width: 18ch; font-size: clamp(2.4rem, 5vw, 4rem); }
.hero-centre .hero-text { margin-left: auto; margin-right: auto; }
.hero-centre .hero-actions { justify-content: center; }
.hero-visual img { border-radius: 24px; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero.hero-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

/* Cartes d'articles */
.cards { display: grid; gap: 40px 32px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.card { position: relative; display: flex; flex-direction: column; }
.card-body { flex: 1; display: flex; flex-direction: column; }
.card-body .card-meta { margin-top: auto; }
.card-media { display: block; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.card-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.03); }
.card-placeholder { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; }
.card-placeholder img { width: 64px; opacity: .35; aspect-ratio: auto; }
.card-body { padding-top: 14px; }
.card-cat { font-size: .82rem; font-weight: 700; color: var(--accent-dark); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: 1.28rem; line-height: 1.22; margin-bottom: 8px; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-title a:hover, .card:hover .card-title a { text-decoration: underline; text-decoration-color: var(--metre); text-decoration-thickness: 2px; }
.card-excerpt { color: var(--muted); font-size: .98rem; margin-bottom: 10px; }
.card-meta { font-size: .85rem; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin: 0; }
.card-date { display: inline-flex; gap: 10px; flex-wrap: wrap; }
.card-read { margin-left: auto; white-space: nowrap; }
.tag-sponso { color: var(--brique); font-weight: 700; }
.card-grande { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.card-grande .card-media img { aspect-ratio: 3 / 2; }
.card-grande .card-body { padding: 0; }
.card-grande .card-title { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.card-grande .card-excerpt { font-size: 1.08rem; }
.card-liste { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 18px; align-items: start; }
.card-liste .card-body { padding: 0; }
.card-liste .card-media img { aspect-ratio: 4 / 3; }
.card-liste .card-title { font-size: 1.1rem; }

/* Rubriques */
.cat-index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; }
.cat-index { gap: 18px; }
.cat-index a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 20px 22px 22px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; height: 100%; transition: border-color .15s, transform .15s, box-shadow .15s; }
.cat-index a:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(28, 57, 71, .08); }
.cat-index a:hover { border-color: var(--metre); }
.cat-index a:hover .cat-name { text-decoration: underline; text-decoration-color: var(--metre); text-decoration-thickness: 2px; }
.cat-name { font-family: var(--display); font-weight: 650; font-size: 1.25rem; }
.cat-name::before { content: ""; display: inline-block; width: 18px; height: 18px; margin-right: 10px; vertical-align: -2px; background: var(--metre); -webkit-mask: url("../img/patte.svg") center / contain no-repeat; mask: url("../img/patte.svg") center / contain no-repeat; }
.cat-count { font-size: .9rem; color: var(--muted); align-self: center; }
.cat-desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }

/* Étapes : piste d'empreintes */
.steps { list-style: none; counter-reset: etape; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 32px; }
.steps li { counter-increment: etape; position: relative; padding-top: 58px; border-top: 3px dotted var(--or); }
.steps li::before {
    content: counter(etape); position: absolute; top: -20px; left: 0;
    width: 42px; height: 42px; border-radius: 50%; background: var(--metre); color: #fff; box-shadow: 0 0 0 5px var(--paper);
    font: 700 1.2rem/42px var(--display); text-align: center;
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }
.bg-sombre .steps p { color: #BFD0D7; }

/* Points forts, chiffres, citation */
.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 36px; }
.features.cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.features.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.features.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.features li { background: #fff; border: 1.5px solid var(--line); border-top: 4px solid var(--metre); border-radius: 16px; padding: 20px 22px; }
.bg-sombre .features li { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .14); border-top-color: var(--metre); }
.features h3 { font-size: 1.2rem; margin-bottom: 6px; }
.features p { color: var(--muted); margin-bottom: 8px; }
.bg-sombre .features p { color: #BFD0D7; }
.figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 28px; margin: 0; }
.figures div { display: flex; flex-direction: column-reverse; }
.figures dd { margin: 0; font: 700 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -.03em; color: var(--accent-dark); }
.bg-sombre .figures dd { color: var(--or); }
.figures dt { color: var(--muted); margin-top: 8px; }
.bigquote { margin: 0; border-left: 5px solid var(--or); padding: 6px 0 6px 28px; }
.bigquote blockquote { margin: 0; }
.bigquote p { font: 600 clamp(1.4rem, 2.6vw, 1.9rem)/1.3 var(--display); }
.bigquote figcaption { color: var(--muted); }

/* FAQ */
.article-main > .faq { margin-top: 3.2em; }
.article-main > .faq h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 44px 18px 0; position: relative; font-family: var(--display); font-weight: 700; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
    background: linear-gradient(var(--ink), var(--ink)) center / 14px 2.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 2.5px 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--muted); }
.faq details > div p { margin: 0; }

/* Appel à l'action */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 40px 44px; border-radius: 24px; flex-wrap: wrap; background-image: var(--paws); background-size: 240px 240px; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 60ch; }
.cta-jaune { background-color: var(--metre); color: #fff; }
.cta-jaune h2 { color: #fff; }
.cta-plan { background-color: var(--plan); color: #fff; }
.cta-plan h2, .cta-sombre h2 { color: #fff; }
.cta-sombre { background-color: var(--ink); color: #E3ECEF; }

/* Newsletter */
.newsletter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.newsletter h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.newsletter-text p { color: var(--muted); margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.newsletter-form .form-note, .newsletter-form .form-result { grid-column: 1 / -1; margin: 0; }
.form-result { font-weight: 700; color: var(--vert); }
.form-result.is-error { color: var(--brique); }

/* Image + texte, vidéo, galerie */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.split-noimg { grid-template-columns: minmax(0, 760px); }
.split-img-droite .split-media { order: 2; }
.split-media img { border-radius: 24px; width: 100%; }
.video { margin: 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 8px; background: var(--ink); }
.video figcaption, .gallery figcaption { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* ---------- Article ---------- */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 22px; padding: 0; font-size: .9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.article-head { padding-top: 36px; max-width: 1112px; }
.article-head > * { max-width: 880px; }
.article-cat { display: inline-block; font-weight: 700; font-size: .88rem; color: #fff; background: var(--accent-dark); text-decoration: none; padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.article-cat:hover { background: var(--ink); }
.article-head h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 700; line-height: 1.08; letter-spacing: -.03em; margin-bottom: 18px; }
.article-lead { font-size: clamp(1.12rem, 1.7vw, 1.3rem); color: var(--muted); max-width: 62ch; }
.article-meta { display: flex; flex-wrap: wrap; gap: 14px 32px; align-items: center; padding: 18px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.meta-author { display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; line-height: 1.3; }
.meta-author img, .avatar-initial { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.avatar-initial { display: inline-flex; align-items: center; justify-content: center; background: var(--plan); color: #fff; font: 700 1.2rem var(--display); flex-shrink: 0; }
.avatar-lg { width: 88px; height: 88px; font-size: 2rem; }
.meta-label { color: var(--muted); }
.meta-job { display: block; font-size: .875rem; color: var(--muted); }
.meta-dates { display: flex; gap: 20px; flex-wrap: wrap; margin: 0; font-size: .92rem; color: var(--muted); }
.affil-note { font-size: .85rem; color: var(--muted); background: var(--paper); padding: 10px 14px; border-radius: var(--radius); margin: 0 0 8px; }
.sponso-banner { background: #FDF0E9; border: 1px solid color-mix(in srgb, var(--metre) 50%, #fff); padding: 12px 16px; border-radius: var(--radius); font-size: .95rem; }
.sponso-banner strong { color: var(--brique); margin-right: 6px; }
.preview-note { background: var(--ink); color: #fff; padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.article-figure { margin: 18px auto 0; max-width: 1112px; }
.article-figure img { width: 100%; max-height: 600px; object-fit: cover; border-radius: 24px; }
.article-layout { display: grid; grid-template-columns: minmax(0, 720px) 280px; gap: 72px; justify-content: center; padding-top: 44px; padding-bottom: 72px; }
.article-aside { position: relative; }
.toc-desktop { position: sticky; top: 28px; border-left: 2px solid var(--line); padding-left: 18px; max-height: calc(100vh - 56px); overflow: auto; }
.toc-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; }
.toc ol { list-style: none; counter-reset: toc; margin: 0; padding: 0; font-size: .93rem; line-height: 1.4; }
.toc li { counter-increment: toc; margin: 0 0 10px; display: grid; grid-template-columns: 22px 1fr; }
.toc li::before { content: counter(toc); color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.toc a { color: var(--muted); text-decoration: none; }
.toc a:hover { color: var(--ink); text-decoration: underline; }
.toc a.is-active { color: var(--ink); font-weight: 700; }
.toc-desktop li:has(a.is-active) { margin-left: -20px; padding-left: 18px; border-left: 2px solid var(--metre); }
.toc-mobile { display: none; border: 1.5px solid var(--line); border-radius: 8px; padding: 0 16px; margin-bottom: 28px; }
.toc-mobile summary { cursor: pointer; font-weight: 700; padding: 14px 0; }
.toc-mobile ol { padding-bottom: 12px; }

/* Typographie des contenus */
.prose { font-size: 1.09rem; line-height: 1.72; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin: 2.1em 0 .6em; scroll-margin-top: 24px; }
.prose h3 { font-size: 1.3rem; margin: 1.7em 0 .5em; scroll-margin-top: 24px; }
.prose h4 { font-size: 1.1rem; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--metre); font-weight: 700; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--or); font-size: 1.15rem; color: var(--ink); }
.prose img { border-radius: var(--radius); margin: 1.5em auto; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .9rem; color: var(--muted); margin-top: -1em; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; border: 0; border-radius: var(--radius); }
.table-scroll { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: .97rem; line-height: 1.45; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose thead th { background: var(--ink); color: #fff; font-weight: 700; border-bottom: 0; }
.prose thead th:first-child { border-radius: var(--radius) 0 0 0; }
.prose thead th:last-child { border-radius: 0 var(--radius) 0 0; }
.prose tbody tr:nth-child(even) { background: var(--paper); }

.encadre { margin: 1.8em 0; padding: 18px 22px; border-left: 5px solid var(--plan); border-radius: 0 16px 16px 0; background: var(--paper); font-size: 1rem; }
.encadre > :last-child { margin-bottom: 0; }
.encadre-titre { font-family: var(--display); font-weight: 700; font-size: 1.08rem; margin-bottom: 6px !important; }
.encadre.astuce { border-color: var(--vert); background: #EAF4EE; }
.encadre.astuce .encadre-titre { color: var(--vert); }
.encadre.attention { border-color: var(--brique); background: #FBEFEB; }
.encadre.attention .encadre-titre { color: var(--brique); }
.encadre.veto { border-color: var(--plan); background: #EAF2F5; }
.encadre.veto .encadre-titre { color: var(--plan); }
.encadre.veto .encadre-titre::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; margin-right: 8px; border-radius: 6px; background: var(--plan); color: #fff; font: 800 1rem/1 var(--body); vertical-align: 1px; }
.encadre.budget { border-color: var(--or); background-color: #FDF6E6; background-image: var(--paws); background-size: 240px 240px; }
.encadre.a-retenir { border-color: var(--metre); background: #FCEFE8; }
.encadre.checklist ul { list-style: none; padding-left: 0; }
.encadre.checklist li { padding-left: 28px; position: relative; }
.encadre.checklist li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border: 2px solid var(--metre); border-radius: 5px; }

/* Produits affiliés et partenaires */
.produit { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; border: 1.5px solid var(--line); border-radius: 18px; padding: 20px; margin: 1.8em 0; background: #fff; }
.produit-img img { width: 100%; aspect-ratio: 1; object-fit: contain; margin: 0; border-radius: var(--radius); }
.produit-nom { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 4px; }
.produit-note { font-size: .9rem; color: var(--muted); display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.produit-note span { display: inline-block; width: 90px; height: 16px; background: linear-gradient(90deg, var(--or) calc(var(--note) / 5 * 100%), var(--line) 0);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M9 1l2.2 4.6 5 .6-3.7 3.4 1 5L9 12.2 4.5 14.6l1-5L1.8 6.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 18px 16px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 16'%3E%3Cpath d='M9 1l2.2 4.6 5 .6-3.7 3.4 1 5L9 12.2 4.5 14.6l1-5L1.8 6.2l5-.6z'/%3E%3C/svg%3E") 0 0 / 18px 16px repeat-x; }
.produit-desc { color: var(--muted); font-size: .98rem; margin-bottom: 10px; }
.produit-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; font-size: .93rem; margin-bottom: 12px; }
.produit-pc ul { list-style: none; padding: 0; margin: 0; }
.produit-pc li { padding-left: 22px; position: relative; margin-bottom: 4px; }
.produit-pc .plus li::before { content: "+"; position: absolute; left: 0; color: var(--vert); font-weight: 800; }
.produit-pc .moins li::before { content: "–"; position: absolute; left: 2px; color: var(--brique); font-weight: 800; }
.produit-action { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.produit-prix { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.produit .btn, .comparatif .btn { text-decoration: none; }
.comparatif td { vertical-align: middle; }
.comparatif ul { margin: 0; padding-left: 1.1em; font-size: .92rem; }
.cmp-nom img { width: 56px; height: 56px; object-fit: contain; float: left; margin: 0 12px 0 0; }
.cmp-note { display: block; font-size: .85rem; color: var(--muted); }
.partenaires { background: var(--paper); border-radius: 10px; padding: 22px 24px; margin: 2.2em 0; }
.partenaires-titre { font-family: var(--display); font-weight: 700; font-size: 1.2rem; }
.partenaires ul { list-style: none; margin: 0; padding: 0; }
.partenaires li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.partenaires li img, .partenaire-initiale { width: 56px; height: 56px; border-radius: 8px; object-fit: contain; background: #fff; }
.partenaire-initiale { display: flex; align-items: center; justify-content: center; font: 800 1.4rem var(--display); color: var(--plan); border: 1px solid var(--line); }
.partenaires li > div span { display: block; color: var(--muted); font-size: .9rem; }
.partenaires li p { margin: 4px 0 0; font-size: .93rem; }
.partenaires-mention { font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.pub { margin: 2em 0; text-align: center; }
.pub-label { display: block; font-size: .72rem; color: var(--muted); margin-bottom: 4px; letter-spacing: .02em; }
.article-aside .pub { position: sticky; top: 28px; margin-top: 32px; }

.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.tags a, .chips a { display: inline-block; padding: 5px 12px; border: 1.5px solid var(--line); border-radius: 999px; font-size: .9rem; color: var(--ink); text-decoration: none; }
.tags a:hover, .chips a:hover { border-color: var(--ink); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
/* Partage */
.share-box { margin: 36px 0; padding: 22px 0 24px; border-top: 3px dotted var(--or); border-bottom: 1px solid var(--line); }
.share-title { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1.25; }
.share-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.share-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 600 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; }
.share-btn:hover { border-color: var(--ink); }
.share-btn svg { flex: none; }
.share-btn-main { background: var(--ink); border-color: var(--ink); color: #fff; }
.share-btn-main:hover { background: var(--plan); border-color: var(--plan); }
.meta-share { font-weight: 700; color: var(--ink); text-decoration-color: var(--metre); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 560px) { .share-list { display: grid; grid-template-columns: 1fr 1fr; } .share-btn { width: 100%; justify-content: center; } .share-list li:first-child:not([hidden]) { grid-column: 1 / -1; } }
.author-box { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 22px; padding: 26px; background: var(--paper); border-radius: 20px; margin: 32px 0; }
.author-box img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.author-name { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-bottom: 0; }
.author-name a { color: var(--ink); }
.author-job { color: var(--muted); margin-bottom: 8px; }
.author-box p:last-child { margin-bottom: 0; }
.cta-box { background: var(--ink) var(--paws) 0 0 / 240px 240px; color: #E3ECEF; padding: 28px 30px; border-radius: 20px; margin-top: 32px; border-bottom: 6px solid var(--metre); }
.cta-box .cta-title { color: #fff; }
.cta-box .btn-ink { background: var(--accent-dark); }
.cta-box .btn-ink:hover { background: #fff; color: var(--ink); }
.cta-title { font-family: var(--display); font-weight: 700; font-size: 1.4rem; margin-bottom: 6px; line-height: 1.2; }
.vet-notice { margin: 32px 0 0; padding: 14px 18px 14px 52px; border-radius: 14px; background: #EAF2F5; color: var(--ink); font-size: .93rem; line-height: 1.5; position: relative; }
.vet-notice::before { content: "+"; position: absolute; left: 16px; top: 14px; width: 24px; height: 24px; border-radius: 7px; background: var(--plan); color: #fff; font: 800 1.05rem/24px var(--body); text-align: center; }
.vet-notice p { margin: 0; }
.vet-notice a { font-weight: 700; }
.related { background: var(--paper); padding: 64px 0 72px; }
.related h2 { font-size: 1.9rem; margin-bottom: 28px; }

/* ---------- Listes, pages ---------- */
.list-head { padding: 40px 0 36px; border-bottom: 1px solid var(--line); }
.list-head h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); font-weight: 700; letter-spacing: -.03em; margin-bottom: 12px; }
.list-intro { font-size: 1.12rem; color: var(--muted); max-width: 70ch; }
.list-intro p:last-child { margin-bottom: 0; }
.list-count { color: var(--muted); font-size: .95rem; margin: 10px 0 0; }
.list-body { padding-top: 40px; padding-bottom: 72px; }
.list-body > .list-count { margin: 0 0 24px; }
.author-head { display: flex; gap: 24px; align-items: center; }
.author-head img { border-radius: 50%; width: 96px; height: 96px; object-fit: cover; }
.search-big { display: flex; gap: 8px; max-width: 620px; margin: 22px 0 8px; }
.empty { padding: 40px 0; max-width: 640px; }
.page-body { padding-top: 40px; padding-bottom: 80px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 56px; }
.pagination ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.pagination a, .pagination span { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: var(--radius); padding: 0 10px; text-decoration: none; font-weight: 600; }
.pagination a { color: var(--ink); border: 1.5px solid var(--line); }
.pagination a:hover { border-color: var(--ink); }
.pagination [aria-current] { background: var(--ink); color: #fff; }
.pg-gap { align-self: center; color: var(--muted); }
.notfound { padding: 80px 0 40px; }
.notfound-code { font: 700 clamp(5rem, 14vw, 9rem)/1 var(--display); letter-spacing: -.05em; color: var(--metre); margin: 0 0 10px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C6D5DB; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--or); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-top: 56px; padding-bottom: 40px; }
.brand-footer img { height: 92px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 46ch; }
.footer-title { font-family: var(--display); font-weight: 700; color: #fff; font-size: 1.1rem; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.socials { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 28px; font-size: .88rem; position: relative; }
.footer-bottom::before { content: ""; position: absolute; top: 0; left: 20px; right: 20px; border-top: 1px solid rgba(255, 255, 255, .14); }
.footer-bottom p { margin: 0; }
.site-footer .linklike { color: #fff; text-decoration: none; }

.cookie-banner { position: fixed; z-index: 80; right: 20px; bottom: 20px; max-width: 420px; background: #fff; border: 1.5px solid var(--ink); border-radius: 18px; padding: 20px; box-shadow: 0 12px 40px rgba(28, 57, 71, .18); }
.cookie-banner p { font-size: .95rem; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ---------- Maintenance ---------- */
.page-maintenance { min-height: 100vh; display: flex; align-items: center; justify-content: center; background-color: var(--paper);
    background-image: url("../img/orbite.svg"), var(--paws); background-repeat: no-repeat, repeat; background-size: 1000px auto, 240px 240px; background-position: center, 0 0; }
.maintenance { max-width: 620px; padding: 40px 24px 100px; }
.maintenance img { width: 360px; margin-bottom: 40px; }
.maintenance h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.maintenance p { font-size: 1.15rem; color: var(--muted); }

/* ---------- Responsive ---------- */
/* Page « Tous les articles » */
.list-tools { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; margin-top: 18px; }
.list-tools .list-count { margin: 0; }
.sort-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); }
.sort-switch a { padding: 7px 16px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .92rem; text-decoration: none; }
.sort-switch a:hover { color: var(--ink); }
.sort-switch a[aria-current] { background: var(--ink); color: #fff; }
.list-cats { margin-top: 16px; }
.chip-count { color: var(--muted); font-weight: 400; margin-left: 2px; }
@media (min-width: 961px) and (max-width: 1220px) {
    .main-nav { gap: 14px; }
    .main-nav ul { gap: 4px 14px; }
    .main-nav a { font-size: .93rem; }
    .search-toggle { padding: 9px 11px; }
    .search-toggle span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

@media (max-width: 1100px) {
    .article-layout { grid-template-columns: minmax(0, 720px); gap: 0; }
    .article-aside { display: none; }
    .toc-mobile { display: block; }
}
@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 22px; flex-direction: column; align-items: stretch; gap: 14px; box-shadow: 0 16px 30px rgba(28, 57, 71, .1); }
    .main-nav.is-open { display: flex; }
    .main-nav ul { flex-direction: column; gap: 0; }
    .main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .search-toggle { justify-content: center; }
    .hero-has-starters, .hero.hero-image { grid-template-columns: minmax(0, 1fr); }
    .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cards-list { grid-template-columns: minmax(0, 1fr); }
    .card-grande { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .card-grande .card-body { padding-top: 16px; }
    .cat-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .features.cols-3, .features.cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split, .newsletter { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .split-img-droite .split-media { order: 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    body { font-size: 1rem; }
    .header-inner { min-height: 66px; }
    .brand img { height: 44px; }
    .blk { padding: 52px 0; }
    .blk.sp-large { padding: 72px 0; }
    .hero { padding-top: 44px; padding-bottom: 44px; }
    .hero-search { flex-direction: column; gap: 6px; border-radius: 24px; padding: 6px; }
    .hero-search input { padding: 12px 14px; }
    .hero-search .btn { width: 100%; }
    .cards-3, .cat-index, .features.cols-2, .features.cols-3, .features.cols-4 { grid-template-columns: minmax(0, 1fr); }
    .card-liste { grid-template-columns: 100px minmax(0, 1fr); }
    .form-row, .newsletter-form { grid-template-columns: minmax(0, 1fr); }
    .cta-band { padding: 28px 24px; }
    .produit { grid-template-columns: minmax(0, 1fr); }
    .produit-img img { max-width: 200px; }
    .produit-pc { grid-template-columns: minmax(0, 1fr); }
    .partenaires li { grid-template-columns: 48px minmax(0, 1fr); }
    .partenaires li .btn { grid-column: 2; justify-self: start; }
    .author-box { grid-template-columns: minmax(0, 1fr); }
    .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .search-big { flex-direction: column; }
    .prose { font-size: 1.04rem; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
    .site-header, .site-footer, .progress, .article-aside, .share-box, .meta-share, .cta-box, .related, .pub, .adminbar, .toc-mobile { display: none !important; }
    .article-layout { display: block; padding: 0; }
}

/* ---------- RGPD : bannière de consentement ---------- */
.consent { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(460px, calc(100vw - 40px)); max-height: calc(100vh - 40px); overflow-y: auto; background: #fff; border: 1.5px solid var(--ink); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 16px 50px rgba(28, 57, 71, .22); font-size: .95rem; }
.consent[hidden] { display: none; }
.consent-skip { position: absolute; top: 10px; right: 12px; background: none; border: 0; font: inherit; font-size: .82rem; color: var(--muted); text-decoration: underline; cursor: pointer; padding: 4px; }
.consent-title { font-family: var(--display); font-weight: 700; font-size: 1.2rem; margin: 6px 0 8px; padding-right: 130px; }
.consent-text { color: var(--muted); }
.consent-panel { border-top: 1px solid var(--line); margin: 6px 0 12px; padding-top: 6px; }
.consent-cat { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; font-weight: 400; cursor: pointer; }
.consent-cat input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--plan); }
.consent-cat strong { display: block; }
.consent-cat small { color: var(--muted); font-size: .85rem; line-height: 1.4; display: block; }
.consent-necessary { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-actions .btn { padding: 11px 12px; font-size: .95rem; }
.consent-actions [data-consent="accept"], .consent-actions [data-consent="refuse"] { order: 2; }
.consent-actions [data-consent="custom"], .consent-actions [data-consent="save"] { order: 1; grid-column: 1 / -1; }

/* Contenus externes à la demande */
.embed-consent { aspect-ratio: 16 / 9; width: 100%; background: var(--ink); color: #E3ECEF; border-radius: 8px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; margin: 1.6em 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Ccircle cx='60' cy='60' r='1.6' fill='%23ffffff' fill-opacity='.18'/%3E%3C/svg%3E"); background-size: 24px 24px; }
.embed-consent:not(.is-video) { aspect-ratio: 4 / 3; }
.embed-consent-inner { max-width: 440px; }
.embed-consent-title { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 6px; }
.embed-consent p { font-size: .92rem; margin-bottom: 10px; }
.embed-always { display: inline-flex; gap: 8px; align-items: center; font-size: .85rem; font-weight: 400; color: #BFD0D7; margin: 0; }
.embed-always input { width: auto; margin: 0; }
.embed-frame { width: 100%; border: 0; border-radius: 8px; aspect-ratio: 4 / 3; margin: 1.6em 0; }
.embed-frame.is-video { aspect-ratio: 16 / 9; background: var(--ink); }
.video .embed-consent, .video .embed-frame { margin: 0; }

.ai-label { font-size: .82rem; color: var(--muted); margin-top: 8px; }
.nl-consent { grid-column: 1 / -1; font-size: .88rem; margin: 2px 0 0; }
.nl-consent input { margin-top: 3px; }
.rgpd-note { margin-top: 16px; }
.notice-page { padding: 64px 0 80px; }
.notice-page h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 700; letter-spacing: -.03em; }
.notice-form { margin: 24px 0; }
@media (max-width: 640px) {
    .consent { left: 10px; bottom: 10px; width: calc(100vw - 20px); padding: 18px 16px 14px; }
    .consent-title { padding-right: 0; margin-top: 22px; }
}
.consent [hidden] { display: none !important; }
.consent-actions [data-consent="save"] { background: var(--plan); color: #fff; border-color: var(--plan); }
.related .card-media, .bg-papier .card-media { background: #fff; }
