/* alimentation.fr — identité du titre (généré) */
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/young-serif-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Young Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/young-serif-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Figtree"; font-style: normal; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-ext-wght-normal.woff2") format("woff2-variations"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Figtree"; font-style: italic; font-weight: 300 900; font-display: swap; src: url("fonts/figtree-latin-wght-italic.woff2") format("woff2-variations"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --paper: #fafbf7;
  --surface: #ffffff;
  --surface-2: #f2f5ee;
  --mix: #ffffff;
  --ink: #16231b;
  --ink-2: #4b5a50;
  --ink-3: #7a877e;
  --line: #e2e8de;
  --brand: #1f6b43;
  --brand-ink: #ffffff;
  --brand-deep: #123f29;
  --brand-soft: #e3f0dd;
  --highlight: #f4b63f;
  --highlight-ink: #16231b;
  --highlight-soft: #fdf1d6;
  --header-bg: rgba(250, 251, 247, .9);
  --footer-bg: #0f1d15;
  --footer-ink: #b8c7bc;
  --band-bg: #1f6b43;
  --display-weight: 400;
  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, sans-serif;
}
.cat-nutrition { --c: #1f6b43; } .mag-art.cat-nutrition { --l: "Nutrition"; }
.cat-recettes { --c: #e0662c; } .mag-art.cat-recettes { --l: "Recettes"; }
.cat-bio { --c: #6e9f2e; } .mag-art.cat-bio { --l: "Bio"; }
.cat-guides { --c: #d4961c; } .mag-art.cat-guides { --l: "Guides"; }
.cat-complements { --c: #8e3b6e; } .mag-art.cat-complements { --l: "Compléments"; }
.cat-outils { --c: #1e5e6e; } .mag-art.cat-outils { --l: "Outils"; }

/* ---------- Habillage du titre ---------- */
/* alimentation.fr — classes du site d'origine restylées (le contenu importé n'est pas encapsulé) */
:root { --c-nutrition: #1f6b43; --c-recettes: #e0662c; --c-bio: #6e9f2e; --c-guides: #d4961c; --c-complements: #8e3b6e; --c-outils: #1e5e6e; }
.container { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: var(--pill); border: 1.5px solid transparent; font: 700 .95rem/1.1 var(--f-body); text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-deep); color: #fff; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { min-height: 38px; padding: 8px 16px; font-size: .88rem; }
.card-tag { --c: var(--brand); display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--pill); background: color-mix(in srgb, var(--c) 12%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); font: 700 .78rem/1.2 var(--f-body); text-decoration: none; }
.card-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
/* Le saviez-vous : étiquette « valeurs nutritionnelles » */
.mag-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 40px); align-items: stretch; }
@media (max-width: 900px) { .mag-split { grid-template-columns: minmax(0, 1fr); } }
.mag-label { background: var(--surface); border: 3px solid var(--ink); padding: 18px 22px 22px; color: var(--ink); font-family: var(--f-body); }
.mag-label__title { font: 900 2rem/1 var(--f-body); letter-spacing: -0.02em; padding-bottom: 8px; border-bottom: 10px solid var(--ink); margin-bottom: 10px; }
.mag-label__q { font: 800 1.15rem/1.3 var(--f-body); padding-bottom: 10px; border-bottom: 4px solid var(--ink); margin-bottom: 4px; }
.mag-label__row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.mag-label__row span:last-child { font-weight: 900; }
.mag-label p { margin: 12px 0 0; font-size: .95rem; color: var(--ink-2); }
.mag-tools { background: var(--brand-deep); color: #eaf3e6; border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); display: grid; gap: 18px; align-content: start; }
.mag-tools h2 { color: #fff; font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.mag-tools p { margin: 0; color: #c9dcc6; }
.mag-tools ul { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.mag-tools li a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); color: #fff; text-decoration: none; font-weight: 700; transition: background .15s; }
.mag-tools li a:hover { background: rgba(255, 255, 255, .14); color: #fff; }
.mag-tools li a span { font-weight: 500; color: #b6ceb2; font-size: .88rem; }

/* Newsletter (classe d'origine) */
.newsletter { background: var(--brand); color: #fff; padding-block: clamp(48px, 6vw, 72px); background-image: radial-gradient(rgba(255, 255, 255, .09) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.newsletter .container { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 16px 48px; align-items: center; }
.newsletter h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); grid-column: 1; }
.newsletter p { color: #d6ead1; margin: 0; grid-column: 1; }
.newsletter-form { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: var(--pill); box-shadow: var(--shadow); }
.newsletter-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 16px; font: 500 1rem var(--f-body); color: var(--ink); outline: none; }
.newsletter-form .btn { background: var(--highlight); color: var(--ink); }
.newsletter-form .btn:hover { background: #ffc85c; color: var(--ink); }
.newsletter-form p { color: var(--brand) !important; padding: 10px 16px; }
/* ---------- 7. Pages et articles (classes d'origine) ---------- */
.breadcrumbs { padding-top: 22px; font-size: .88rem; color: var(--ink-3); }
.breadcrumbs .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs span[aria-hidden] { color: var(--line); }

.article-content { padding-block: 8px 72px; }
.article-content > .container { display: grid; grid-template-columns: minmax(0, 1fr) 290px; column-gap: clamp(32px, 6vw, 96px); align-items: start; }
.article-content > .container > * { grid-column: 1; min-width: 0; max-width: 760px; }
.article-content > .container > .article-header { grid-column: 1 / -1; max-width: 920px; }
.article-content > .container > .toc { max-width: none; }
.article-content > .container > .toc { grid-column: 2; grid-row: 2 / span 60; }
.article-content > .container:not(:has(> .toc)) { grid-template-columns: minmax(0, var(--read)); justify-content: center; }

.article-header { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 4vw, 48px) 0 clamp(28px, 4vw, 44px); margin-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); max-width: 920px; }
.article-header h1 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.02; letter-spacing: -0.02em; order: 1; }
.article-header .card-tag { order: 0; }
.article-intro { order: 2; margin: 0; font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.55; color: var(--ink-2); max-width: 62ch; }
.article-meta { order: 3; margin: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--ink-3); font-size: .9rem; font-weight: 600; }
.article-meta::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20c0-6 2-10 7-13-6 0-11 3-11 9 0 1.5.5 3 1.5 4'/%3E%3Cpath d='M5 21c2-3 4-5 7-7'/%3E%3C/svg%3E") center / 18px no-repeat; flex: none; }

/* Typographie de lecture */
.article-content h2, .page-simple h2, .mfr-entry h2 { font-size: clamp(1.65rem, 2.6vw, 2.1rem); margin: 2.4em 0 .6em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article-content h3, .page-simple h3 { font-size: 1.25rem; margin: 1.8em 0 .5em; scroll-margin-top: calc(var(--header-h) + 24px); }
.article-content h4 { font-size: 1.02rem; margin: 1.4em 0 .4em; }
.article-content p, .article-content li, .page-simple p, .page-simple li { font-size: 1.07rem; line-height: 1.75; }
.article-content ul, .article-content ol, .page-simple ul, .page-simple ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article-content li, .page-simple li { margin-bottom: .45em; }
.article-content li::marker, .page-simple li::marker { color: var(--brand); font-weight: 700; }
.article-content strong { color: var(--ink); }
.article-content section.section { padding: 0; }
.article-content section.section:first-of-type > h2:first-child { margin-top: .2em; }
.article-content blockquote { margin: 1.8em 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--highlight); font: 400 1.35rem/1.45 var(--f-display); color: var(--ink); }

/* Sommaire collant */
.toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px 16px; max-height: calc(100vh - var(--header-h) - 48px); overflow: auto; margin-bottom: 32px; }
.toc h2, .toc h4 { font: 800 .95rem/1.2 var(--f-body); margin: 0 0 12px; letter-spacing: 0; }
.toc ol, .toc ul { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: grid; gap: 2px; }
.toc li { counter-increment: toc; margin: 0; font-size: .9rem; line-height: 1.35; }
.toc a { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; padding: 7px 8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-weight: 500; }
.toc a::before { content: counter(toc); color: var(--ink-3); font-weight: 700; font-variant-numeric: tabular-nums; }
.toc a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.toc a.is-active { background: var(--brand-soft); color: var(--brand-deep); font-weight: 700; }
.toc a.is-active::before { color: var(--brand); }

/* Encadrés */
.callout, .callout-info, .callout-warning, .disclaimer { position: relative; margin: 1.8em 0; padding: 18px 22px 18px 58px; border-radius: var(--r-md); font-size: 1rem; line-height: 1.65; }
.callout p:last-child, .callout-info p:last-child, .callout-warning p:last-child, .disclaimer p:last-child { margin-bottom: 0; }
.callout::before, .callout-info::before, .callout-warning::before, .disclaimer::before { content: ""; position: absolute; left: 20px; top: 20px; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.callout-info { background: var(--brand-soft); color: var(--brand-deep); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5v.5'/%3E%3C/svg%3E"); }
.callout-info strong { color: var(--brand-deep); }
.callout-warning { background: var(--alert-soft); color: #6d2414; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 2 20h20z'/%3E%3Cpath d='M12 10v4M12 17v.5'/%3E%3C/svg%3E"); }
.callout-warning strong { color: var(--alert); }
.callout-method { background: var(--surface); color: var(--ink); border: 1.5px dashed color-mix(in srgb, var(--brand) 45%, transparent); --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 4h6M10 4v5l-5 9a2 2 0 0 0 2 3h10a2 2 0 0 0 2-3l-5-9V4'/%3E%3Cpath d='M7.5 15h9'/%3E%3C/svg%3E"); }
.callout-method::before { color: var(--brand); }
.callout-method h4 { margin: 0 0 .5em; font-size: 1.05rem; }
.callout.callout-info { background: var(--brand-soft); }
.disclaimer { background: var(--highlight-soft); color: #5d4410; font-size: .95rem; --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 3v6c0 5-3.5 8-8 9-4.5-1-8-4-8-9V6z'/%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.disclaimer::before { color: #b07d13; }
.article-content .disclaimer p, .article-content .callout p, .article-content .callout-info p, .article-content .callout-warning p { font-size: inherit; }

/* Tableaux */
.table-wrapper, .table-responsive { margin: 1.8em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.article-content table, .page-simple table, .mfr-entry table { width: 100%; border-collapse: collapse; font-size: .95rem; font-variant-numeric: tabular-nums; }
.article-content th, .mfr-entry th { background: var(--ink); color: #fff; text-align: left; font-weight: 700; padding: 13px 16px; white-space: nowrap; }
.article-content td, .mfr-entry td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; }
.article-content tbody tr:nth-child(even) td { background: #f6f8f3; }
.article-content tr.highlight td { background: var(--highlight-soft) !important; font-weight: 600; }
.article-content tr.highlight td:first-child { box-shadow: inset 4px 0 0 var(--highlight); }
.table-wrapper > table, .table-responsive > table { margin: 0; }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); padding: 20px 0 6px; }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); margin-bottom: 1.5em; }
.faq-item h3 { margin: 0 0 8px; font-size: 1.12rem; display: flex; gap: 12px; }
.faq-item h3::before { content: "?"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); font: 800 .95rem/1 var(--f-body); }
.faq-item p { padding-left: 40px; color: var(--ink-2); }

/* Fiches recettes */
.recipe-card { margin: 2em 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); }
.recipe-header { padding: 24px 28px 20px; background: color-mix(in srgb, var(--c-recettes) 9%, #fff); border-bottom: 1px solid var(--line); }
.recipe-header h3 { margin: 0 0 14px; font: 400 1.55rem/1.2 var(--f-display); }
.recipe-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--pill); background: #fff; border: 1px solid var(--line); font: 700 .82rem/1 var(--f-body); color: var(--ink); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ink-3); }
.badge-time::before { background: var(--c-outils); }
.badge-difficulty::before { background: var(--c-bio); }
.badge-cost::before { background: var(--c-guides); }
.badge-cal::before { background: var(--c-recettes); }
.recipe-body { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 0; }
.recipe-ingredients, .recipe-steps { padding: 22px 28px; }
.recipe-ingredients { border-right: 1px solid var(--line); background: #fcfdfa; }
.recipe-card h4 { margin: 0 0 12px; font-size: .95rem; }
.recipe-ingredients ul { list-style: none; padding: 0; margin: 0; }
.recipe-ingredients li { font-size: .97rem; padding: 7px 0; border-bottom: 1px dashed var(--line); margin: 0; }
.recipe-steps-list { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 12px; }
.recipe-steps-list li { counter-increment: step; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; font-size: .98rem; margin: 0; }
.recipe-steps-list li::before { content: counter(step); width: 28px; height: 28px; border-radius: 50%; background: var(--c-recettes); color: #fff; display: grid; place-items: center; font: 800 .85rem/1 var(--f-body); }
.recipe-nutrition { padding: 18px 28px 24px; border-top: 1px solid var(--line); }
.nutrition-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.nutrition-item { padding: 12px; border-radius: var(--r-sm); background: var(--paper); border: 1px solid var(--line); font-size: .85rem; color: var(--ink-2); text-align: center; line-height: 1.3; }
.nutrition-item strong { display: block; font: 800 1.25rem/1.2 var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; }

/* Outils / calculateurs */
.tool-section { margin: 2em 0; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); scroll-margin-top: calc(var(--header-h) + 24px); }
.tool-section h2 { margin-top: 0; }
.tool-section form { display: grid; gap: 16px; margin: 1.4em 0; padding: 20px; background: var(--paper); border-radius: var(--r-md); }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group > label { font-weight: 700; font-size: .9rem; }
.tool-section input[type="number"], .tool-section input[type="text"], .tool-section select { width: 100%; height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font: 500 1rem var(--f-body); color: var(--ink); }
.tool-section input:focus, .tool-section select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px var(--brand-soft); }
.radio-group { display: flex; flex-wrap: wrap; gap: 8px; }
.radio-group label { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; font-weight: 600; cursor: pointer; }
.radio-group input { accent-color: var(--brand); }
.tool-section form .btn { justify-self: start; }
.result-box { display: none; margin: 1em 0 1.5em; padding: 24px; border-radius: var(--r-md); background: var(--brand-deep); color: #e6f0e3; }
.result-box.visible { display: block; }
.result-number { font: 400 3rem/1 var(--f-display); color: #fff; font-variant-numeric: tabular-nums; }
.result-label { font-weight: 800; margin: 8px 0; color: #fff; }
.result-text { color: #c9dcc6; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 14px 0; }
.result-grid-item { padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .08); }
.result-box strong { color: #fff; }

/* Illustration manquante (images à venir) */
.img-placeholder { margin: 1.8em 0; padding: 28px; border-radius: var(--r-lg); background-color: color-mix(in srgb, var(--brand) 9%, #fff); background-image: radial-gradient(color-mix(in srgb, var(--brand) 22%, transparent) 1.4px, transparent 1.6px); background-size: 16px 16px; color: var(--brand-deep); font-weight: 600; line-height: 1.6; text-align: center; }

/* Cartes d'articles liés (dans les pages d'origine) */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin: 1.5em 0; }
.card { display: grid; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: border-color .15s, transform .15s; }
.card:hover { border-color: color-mix(in srgb, var(--brand) 40%, transparent); transform: translateY(-2px); }
.card-img { aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 16px; text-align: center; background-color: color-mix(in srgb, var(--brand) 10%, #fff); background-image: radial-gradient(color-mix(in srgb, var(--brand) 22%, transparent) 1.4px, transparent 1.6px); background-size: 16px 16px; color: var(--brand-deep); font-weight: 600; font-size: .9rem; }
.card-body { display: grid; gap: 10px; justify-items: start; padding: 18px 20px 22px; }
.card-body h3 { margin: 0; font: 400 1.2rem/1.25 var(--f-display); }
.card-body p { margin: 0; font-size: .95rem !important; color: var(--ink-2); line-height: 1.55 !important; }
.card-body .btn { margin-top: 4px; }

/* Pages simples (à propos, mentions…) */
.page-simple { max-width: var(--read); margin: 0 auto; padding: clamp(28px, 5vw, 56px) var(--gutter) 72px; }
.page-simple h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); margin-bottom: 28px; }
.page-simple h2:first-of-type { margin-top: 1.4em; }

/* ---------- 9. Bandeau cookies et retour en haut ---------- */
.cookie-banner { display: none; position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 70; max-width: 440px; padding: 18px 20px; background: var(--ink); color: #dfe7e1; border-radius: var(--r-md); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); font-size: .9rem; line-height: 1.5; }
.cookie-banner.visible { display: grid; gap: 12px; }
.cookie-banner p { margin: 0; }
.cookie-banner a { color: var(--highlight); }
.cookie-banner .btn { justify-self: start; background: var(--highlight); color: var(--ink); min-height: 38px; padding: 8px 18px; }
.scroll-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; font-size: 1.1rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.scroll-top.visible { opacity: 1; visibility: visible; transform: none; }

/* ---------- 12. Titres non sémantiques (SEO : un seul h1, pas de saut de niveau) ---------- */
.toc .toc-title { font: 800 .95rem/1.2 var(--f-body); margin: 0 0 12px; color: var(--ink); }
.newsletter .newsletter-title { font: 400 clamp(1.8rem, 3vw, 2.5rem)/1.08 var(--f-display); color: #fff; margin: 0; grid-column: 1; letter-spacing: -0.01em; }
.callout-title { font: 700 1.05rem/1.3 var(--f-body); margin: 0 0 .5em; color: var(--ink); }
.mag-footer__title { color: #fff; font-weight: 700; font-size: .95rem; margin: 0 0 14px; }
.recipe-header h2 { margin: 0 0 14px; font: 400 1.55rem/1.2 var(--f-display); }
.recipe-card h3 { margin: 0 0 12px; font-size: .95rem; }
.mag-card h2.mag-card__title, .mag-card h3.mag-card__title { font: 400 1.35rem/1.2 var(--f-display); margin: 0; }
.mag-card .mag-card__title a { color: var(--ink); text-decoration: none; }
.mag-card .mag-card__title a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mag-card--wide .mag-card__title { font-size: clamp(1.7rem, 2.8vw, 2.3rem) !important; }
.mag-listing-head .mag-chip { margin-bottom: 4px; }
.mag-h1-sub { display: block; margin-top: 18px; font: 700 clamp(1rem, 1.4vw, 1.15rem)/1.3 var(--f-body); letter-spacing: 0; color: var(--brand); }
@media (max-width: 900px) { .newsletter .container, .article-content > .container { grid-template-columns: minmax(0, 1fr); } .newsletter-form { grid-column: 1; grid-row: auto; } .article-content > .container > .toc { grid-column: 1; grid-row: auto; position: static; max-height: none; } .recipe-body { grid-template-columns: minmax(0, 1fr); } .recipe-ingredients { border-right: 0; border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .nutrition-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .newsletter-form { flex-direction: column; border-radius: var(--r-md); } .faq-item p { padding-left: 0; } }

