/* ==========================================================================
   Vivre mieux demain — feuille de style du site public
   Palette tirée du logo : vert profond (encre), vert sauge, soleil, crème
   Polices : Fraunces « soft » (titres), Figtree (texte) — auto-hébergées
   ========================================================================== */

@font-face {
    font-family: "Fraunces";
    src: url("../fonts/fraunces.woff2") format("woff2-variations"), url("../fonts/fraunces.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: #0B3239;        /* vert profond du logo */
    --plan: #3B7150;       /* vert sauge foncé (liens, boutons) */
    --sage: #548A64;       /* vert sauge du logo */
    --metre: #E9A62A;      /* soleil du logo (accent) */
    --paper: #F7F5EE;      /* crème */
    --mint: #EDF4EE;
    --sun-soft: #FDF3DF;
    --line: #E1E5DC;
    --muted: #4C6064;
    --vert: #2E7A4E;
    --brique: #B23A2E;
    --white: #fff;
    --display: "Fraunces", Georgia, "Times New Roman", serif;
    --body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --radius: 12px;
    --wrap: 1200px;
    --shadow: 0 10px 30px rgba(11, 50, 57, .08);
    --leaf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23548A64' d='M20 3C10 3 4 8.5 4 15.5c0 1.6.4 3.1 1 4.5l1.6-1.2C8.3 13.9 11.8 10.6 16 8.6c-3.7 2.6-6.5 6.2-8 10.6 1.3.5 2.7.8 4.2.8C18 20 21 13 20 3z'/%3E%3C/svg%3E");
}

*, *::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; }
::selection { background: var(--sun-soft); color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.18; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.012em; font-variation-settings: "SOFT" 100; }
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(--metre); color: var(--ink); }
.btn-accent:hover { background: color-mix(in srgb, var(--metre) 82%, #fff); color: var(--ink); }
.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: #E9F4EE; color: var(--vert); }
.flash-error { background: #FBEFEC; color: var(--brique); }

/* ---------- Frise de feuilles (élément signature, remplace le mètre ruban) ---------- */
.metre {
    height: 34px;
    background: var(--paper) url("../img/frise.svg") repeat-x center / 240px 34px;
}
.metre-fixed { position: fixed; left: 0; right: 0; bottom: 0; }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 60; background: color-mix(in srgb, var(--sage) 14%, transparent); pointer-events: none; }
.progress-tape {
    height: 100%;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(90deg, var(--sage), var(--metre));
    clip-path: inset(0 calc(100% - var(--p, 0%)) 0 0 round 0 999px 999px 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: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); position: relative; z-index: 40; }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand img { height: 56px; 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(--sage); color: var(--plan); }
.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(--plan); 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); }
/* « Lumière du matin » : halo de soleil, halo sauge et rayons discrets */
.bg-plan, .list-head-plan, .page-maintenance {
    position: relative; overflow: hidden;
    background:
        radial-gradient(ellipse 55% 70% at 92% -10%, color-mix(in srgb, var(--metre) 30%, transparent), transparent 70%),
        radial-gradient(ellipse 45% 60% at -5% 110%, color-mix(in srgb, var(--sage) 22%, transparent), transparent 70%),
        var(--paper);
}
.bg-plan::before, .list-head-plan::before {
    content: ""; position: absolute; top: -70px; right: -70px; width: 340px; height: 340px; pointer-events: none;
    background: url("../img/soleil.svg") center / contain no-repeat; opacity: .55;
}
.bg-plan > *, .list-head-plan > * { position: relative; }
.bg-sombre { background: var(--ink); color: #DCE8E3; }
.bg-sombre h2, .bg-sombre h3, .bg-sombre a { color: #fff; }
.bg-jaune { background: var(--metre); color: var(--ink); }
.bg-jaune a { color: var(--ink); }
.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: #BFD3CB; }
.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.5rem, 5.6vw, 4.5rem);
    font-weight: 560;
    line-height: 1.02;
    letter-spacing: -.025em;
    max-width: 14ch;
    margin-bottom: 22px;
}
.hero-title em, .hero-title strong { font-style: italic; color: var(--sage); font-weight: inherit; }
.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: 1.5px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); }
.hero-search:focus-within { border-color: var(--sage); }
.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: 1px solid var(--line); border-radius: 20px; padding: 24px 24px 10px; box-shadow: var(--shadow); }
.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(--mint); }
.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 24px 24px 96px; 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: 16px; overflow: hidden; background: var(--mint); }
.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 { display: inline-block; font-size: .8rem; font-weight: 700; color: var(--plan); background: var(--mint); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; align-self: flex-start; }
.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: 18px; }
.cat-index a { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 20px 22px 22px 58px; background: #fff; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); text-decoration: none; height: 100%; position: relative; transition: border-color .15s, box-shadow .15s, transform .15s; }
.cat-index a::before { content: ""; position: absolute; left: 20px; top: 22px; width: 24px; height: 24px; background: var(--leaf) center / contain no-repeat; }
.cat-index a:hover { border-color: var(--sage); box-shadow: var(--shadow); transform: translateY(-2px); }
.bg-papier .cat-index a, .bg-plan .cat-index a { background: #fff; }
.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: 700; font-size: 1.3rem; }
.cat-count { font-size: .9rem; color: var(--muted); align-self: center; }
.cat-desc { grid-column: 1 / -1; color: var(--muted); font-size: .95rem; }

/* Étapes : lignes de cote */
.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 color-mix(in srgb, var(--sage) 55%, transparent); }
.steps li::before {
    content: counter(etape); position: absolute; top: -23px; left: 0;
    width: 44px; height: 44px; border-radius: 50%; background: var(--metre); color: var(--ink);
    font: 600 1.3rem/44px var(--display); text-align: center; box-shadow: 0 0 0 6px color-mix(in srgb, var(--metre) 22%, transparent);
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }
.bg-sombre .steps p { color: #BFD3CB; }

/* 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 { padding-left: 40px; position: relative; }
.features li::before { content: ""; position: absolute; left: 0; top: 3px; width: 26px; height: 26px; background: var(--leaf) center / contain no-repeat; }
.features h3 { font-size: 1.2rem; margin-bottom: 6px; }
.features p { color: var(--muted); margin-bottom: 8px; }
.bg-sombre .features p { color: #BFD3CB; }
.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: 600 clamp(2.2rem, 4vw, 3.2rem)/1 var(--display); color: var(--plan); }
.bg-sombre .figures dd { color: var(--metre); }
.figures dt { color: var(--muted); margin-top: 8px; }
.bigquote { margin: 0; padding: 6px 0 6px 64px; position: relative; }
.bigquote::before { content: "“"; position: absolute; left: 0; top: -18px; font: 600 6rem/1 var(--display); color: var(--metre); }
.bigquote blockquote { margin: 0; }
.bigquote p { font: italic 500 clamp(1.4rem, 2.6vw, 1.9rem)/1.35 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: 600; font-size: 1.15rem; }
.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(--sage), var(--sage)) center / 14px 2.5px no-repeat, linear-gradient(var(--sage), var(--sage)) 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: 44px 48px; border-radius: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -50px; bottom: -60px; width: 220px; height: 220px; background: url("../img/soleil.svg") center / contain no-repeat; opacity: .35; pointer-events: none; }
.cta-band > * { position: relative; z-index: 1; }
.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: var(--metre); color: var(--ink); }
.cta-plan { background: var(--plan); color: #fff; }
.cta-plan h2, .cta-sombre h2 { color: #fff; }
.cta-sombre { background: var(--ink); color: #DCE8E3; }

/* 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 24px 24px 96px; width: 100%; }
.video { margin: 0; }
.video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: 16px; 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: var(--plan); text-decoration: none; background: var(--mint); padding: 5px 14px; border-radius: 999px; margin-bottom: 16px; }
.article-cat:hover { background: color-mix(in srgb, var(--sage) 22%, #fff); }
.article-head h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); font-weight: 580; line-height: 1.08; letter-spacing: -.022em; 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(--sage); color: #fff; font: 600 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: var(--sun-soft); 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: 600; font-size: 1.1rem; 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(--sage); }
.toc-mobile { display: none; border: 1px solid var(--line); border-radius: 14px; padding: 0 16px; margin-bottom: 28px; background: var(--paper); }
.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(--sage); 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(--sage); font: italic 500 1.2rem/1.5 var(--display); color: var(--ink); }
.prose img { border-radius: 16px; 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: 20px 24px; border: 0; border-radius: 18px; background: var(--paper); font-size: 1rem; }
.encadre > :last-child { margin-bottom: 0; }
.encadre-titre { font-family: var(--display); font-weight: 600; font-size: 1.12rem; margin-bottom: 6px !important; display: flex; align-items: center; gap: 10px; }
.encadre-titre::before { content: ""; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--ico, var(--leaf)) center / contain no-repeat; mask: var(--ico, var(--leaf)) center / contain no-repeat; }
.encadre.astuce { background: var(--mint); }
.encadre.astuce .encadre-titre { color: var(--vert); }
.encadre.attention { background: #FBEEEC; --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2 1 21h22L12 2zm1 15h-2v2h2v-2zm0-7h-2v5h2v-5z'/%3E%3C/svg%3E"); }
.encadre.attention .encadre-titre { color: var(--brique); }
.encadre.consulter { background: #E9F1F3; box-shadow: inset 4px 0 0 var(--ink); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M10 3h4v7h7v4h-7v7h-4v-7H3v-4h7z'/%3E%3C/svg%3E"); }
.encadre.consulter .encadre-titre { color: var(--ink); }
.encadre.budget { background: var(--paper); box-shadow: inset 4px 0 0 var(--sage); }
.encadre.a-retenir { background: var(--sun-soft); --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M11 1h2v4h-2zM11 19h2v4h-2zM1 11h4v2H1zM19 11h4v2h-4zM4.2 5.6l1.4-1.4 2.8 2.8L7 8.4zM15.6 17l1.4-1.4 2.8 2.8-1.4 1.4zM4.2 18.4 7 15.6 8.4 17l-2.8 2.8zM15.6 7l2.8-2.8 1.4 1.4L17 8.4z'/%3E%3C/svg%3E"); }
.encadre.a-retenir .encadre-titre { color: #8A5A00; }
.encadre.checklist { background: #fff; border: 1px solid var(--line); }
.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(--sage); border-radius: 5px; }

/* Produits affiliés et partenaires */
.produit { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; border: 1px solid var(--line); border-radius: 20px; 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: 600; 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(--metre) 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: 600; 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: 20px; padding: 22px 24px; margin: 2.2em 0; }
.partenaires-titre { font-family: var(--display); font-weight: 600; 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: 600 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(--sage); background: var(--mint); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; }
/* Partage */
.share-box { margin: 36px 0; padding: 24px 26px 26px; border-radius: 20px; background: var(--paper); }
.share-title { margin: 0 0 14px; font-family: var(--display); font-weight: 600; 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(--sage); }
.share-btn svg { flex: none; }
.share-btn-main { background: var(--plan); border-color: var(--plan); color: #fff; }
.share-btn-main:hover { background: var(--ink); border-color: var(--ink); }
.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(--mint); 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: 600; 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(--sun-soft); color: var(--ink); padding: 30px 32px; border-radius: 24px; margin-top: 32px; position: relative; overflow: hidden; }
.cta-box::after { content: ""; position: absolute; right: -40px; top: -40px; width: 150px; height: 150px; background: url("../img/soleil.svg") center / contain no-repeat; opacity: .6; pointer-events: none; }
.cta-box > * { position: relative; }
.cta-title { font-family: var(--display); font-weight: 600; font-size: 1.45rem; margin-bottom: 6px; line-height: 1.2; }
.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: 580; letter-spacing: -.02em; 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: 999px; 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(--sage); }
.pagination [aria-current] { background: var(--plan); color: #fff; }
.pg-gap { align-self: center; color: var(--muted); }
.notfound { padding: 80px 0 40px; }
.notfound-code { font: 600 clamp(5rem, 14vw, 9rem)/1 var(--display); color: var(--metre); margin: 0 0 10px; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--ink); color: #C7D9D1; margin-top: 0; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-decoration-color: var(--metre); }
.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: 70px; width: auto; margin-bottom: 18px; }
.footer-about p { max-width: 46ch; }
.footer-title { font-family: var(--display); font-weight: 600; 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: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 12px 40px rgba(11, 50, 57, .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; }
.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: 580; 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(--plan); 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(11, 50, 57, .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; }
    .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: 22px; }
    .hero-search input { border-radius: 16px; }
    .bg-plan::before, .list-head-plan::before { width: 190px; height: 190px; top: -60px; right: -60px; opacity: .35; }
    .brand img { height: 44px; }
    .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: 1px solid var(--line); border-radius: 20px; padding: 22px 22px 18px; box-shadow: 0 16px 50px rgba(11, 50, 57, .2); 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: 600; 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: radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--metre) 30%, transparent), transparent 45%), var(--ink); color: #DCE8E3; border-radius: 16px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 20px; margin: 1.6em 0; }
.embed-consent:not(.is-video) { aspect-ratio: 4 / 3; }
.embed-consent-inner { max-width: 440px; }
.embed-consent-title { font-family: var(--display); font-weight: 600; 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: #BFD3CB; margin: 0; }
.embed-always input { width: auto; margin: 0; }
.embed-frame { width: 100%; border: 0; border-radius: 16px; 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: 580; }
.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); }

/* ---------- Avertissement santé (fin d'article) ---------- */
.health-note { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 14px; align-items: start; margin: 36px 0 0; padding: 18px 20px; border-radius: 18px; background: #E9F1F3; color: var(--ink); font-size: .95rem; line-height: 1.55; }
.health-note::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M10 5h4v5h5v4h-5v5h-4v-5H5v-4h5z'/%3E%3C/svg%3E") center / 18px no-repeat; }
.health-note p { margin: 0; }
.health-note a { color: var(--ink); font-weight: 700; }
.footer-health { font-size: .85rem; color: #A9C2B8; max-width: 70ch; }
