/* SmartWealthLab, smartwealthlab.fr — v2 (06/11/2026)
   Idée directrice : le site est fait des matériaux de nos tableurs.
   Cases jaunes = « vous remplissez », cases menthe = « calculé pour vous », quadrillage de feuille.
   Couleurs : design/charte_graphique.md § 2. Polices : Bricolage Grotesque (titres, chiffres) et Figtree (texte), statique/fonts/LICENCES.txt (OFL). */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque-var.woff2") format("woff2"); font-weight: 500 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fonts/figtree-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --foret: #0F3D2E;
  --vert: #1F6E4F;
  --or: #C9A227;
  --menthe: #E3EFE8;
  --menthe-trait: #BFD8C9;
  --saisie: #FFF6D6;
  --saisie-trait: #7A6A2E;
  --or-clair: #F6EDCC;
  --papier: #FFFFFF;
  --doux: #F3F7F4;
  --encre: #1F2937;
  --gris: #4B5563;
  --trait: #DCE3DE;
  --grille: #E8EEEA;
  --succes: #1F7A4D;
  --rouge: #B42318;
  --rouge-clair: #FDE2E1;
  --titre: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --texte: "Figtree", "Segoe UI", system-ui, sans-serif;
  --r-s: 6px;
  --r-m: 14px;
  --r-l: 22px;
  --mesure: 68ch;
  color-scheme: light;
}

/* ---------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--papier);
  color: var(--encre);
  font-family: var(--texte);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--foret); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--foret); outline-offset: 3px; border-radius: 4px; }
.pied :focus-visible { outline-color: var(--or); }

h1, h2, h3 { font-family: var(--titre); color: var(--foret); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 800; margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.15rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .35em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: -999px; top: 0; background: var(--saisie); color: var(--foret); padding: .6em 1em; z-index: 10; font-weight: 700; }
.evitement:focus { left: 1rem; top: 1rem; }

.conteneur { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.etroit { max-width: 780px; }

/* ---------- en-tête */
.entete { border-bottom: 1px solid var(--trait); position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); }
.entete-int { display: flex; align-items: center; justify-content: space-between; gap: .6rem 1.5rem; flex-wrap: wrap; min-height: 68px; padding-top: .5rem; padding-bottom: .5rem; }
.marque { display: inline-flex; align-items: center; gap: .6rem; color: var(--foret); text-decoration: none; font-family: var(--titre); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.marque img { border-radius: 50%; }
.marque:hover { color: var(--vert); }
.menu { list-style: none; display: flex; flex-wrap: wrap; gap: .2rem; margin: 0; padding: 0; }
.menu a { display: block; color: var(--encre); text-decoration: none; font-weight: 700; font-size: .98rem; padding: .45rem .8rem; border-radius: 999px; }
.menu a:hover { background: var(--doux); color: var(--foret); }
.menu a[aria-current="page"] { background: var(--menthe); color: var(--foret); }

/* ---------- boutons */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-family: var(--texte); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid var(--foret); background: var(--foret); color: #fff; transition: background-color .15s, transform .15s; }
.bouton:hover { background: var(--vert); border-color: var(--vert); color: #fff; }
.bouton:active { transform: translateY(1px); }
.bouton-clair { background: transparent; color: var(--foret); }
.bouton-clair:hover { background: var(--menthe); border-color: var(--foret); color: var(--foret); }
.bouton.grand { padding: 1rem 1.6rem; font-size: 1.06rem; }

/* ---------- héros : texte + mini-feuille de calcul */
.heros { position: relative; padding: clamp(2.5rem, 5vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; border-bottom: 1px solid var(--trait);
  background:
    linear-gradient(var(--papier) 0, rgba(255,255,255,0) 30%, rgba(255,255,255,0) 70%, var(--papier) 100%),
    repeating-linear-gradient(0deg, var(--grille) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(90deg, var(--grille) 0 1px, transparent 1px 120px),
    var(--papier); }
.heros-grille { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .heros-grille { grid-template-columns: 1.05fr .95fr; } }
.heros h1 { max-width: 13ch; }
.heros .chapeau { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--gris); max-width: 36em; }
.heros-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }
.heros-preuves { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; color: var(--gris); font-size: .95rem; }
.heros-preuves li { display: inline-flex; align-items: center; gap: .45rem; }
.heros-preuves li::before { content: ""; width: .7rem; height: .7rem; border-radius: 2px; background: var(--menthe); border: 1px solid var(--menthe-trait); }

/* La feuille : un vrai petit tableur */
.feuille { background: var(--papier); border: 1px solid #C9D3CD; border-radius: var(--r-m); box-shadow: 0 1px 0 rgba(15,61,46,.04), 0 24px 48px -24px rgba(15,61,46,.28); overflow: hidden; font-size: .98rem; }
.feuille-titre { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem 1rem; padding: .8rem 1rem; background: var(--foret); color: #fff; }
.feuille-titre h2 { color: #fff; font-size: 1.08rem; margin: 0; letter-spacing: 0; font-weight: 700; }
.feuille-titre span { color: #CFE3D7; font-size: .86rem; }
.feuille-grille { display: grid; grid-template-columns: 2.2rem 1fr minmax(8.5rem, 42%); }
.feuille-grille > * { border-right: 1px solid var(--grille); border-bottom: 1px solid var(--grille); padding: .55rem .75rem; min-height: 2.9rem; display: flex; align-items: center; }
.feuille-grille > :nth-child(3n) { border-right: 0; }
.f-entete { background: #F1F4F2; color: var(--gris); font-size: .8rem; font-weight: 700; justify-content: center; min-height: 1.9rem !important; padding: .2rem !important; }
.f-num { background: #F1F4F2; color: var(--gris); font-size: .8rem; justify-content: center; padding: 0 !important; }
.f-libelle { font-weight: 700; }
.f-saisie { background: var(--saisie); padding: 0 !important; position: relative; }
.f-saisie input { width: 100%; height: 100%; min-height: 2.9rem; border: 0; background: transparent; font: inherit; font-family: var(--titre); font-size: 1.08rem; font-weight: 700; color: var(--encre); text-align: right; padding: 0 2rem 0 .75rem; font-variant-numeric: tabular-nums; }
.f-saisie input:focus { outline: 3px solid var(--foret); outline-offset: -3px; }
.f-saisie::after { content: "€"; position: absolute; right: .75rem; color: var(--gris); pointer-events: none; }
.f-saisie input[aria-invalid="true"] { background: var(--rouge-clair); }
.f-calcul { background: var(--menthe); justify-content: flex-end; font-family: var(--titre); font-weight: 800; font-size: 1.3rem; color: var(--foret); }
.feuille-pied { padding: .8rem 1rem 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; align-items: center; font-size: .9rem; color: var(--gris); }
.feuille-pied .legende { display: inline-flex; gap: .9rem; flex-wrap: wrap; }
.feuille-pied .legende span { display: inline-flex; align-items: center; gap: .35rem; }
.feuille-pied .legende i { width: .85rem; height: .85rem; border-radius: 2px; display: inline-block; border: 1px solid; }
.feuille-pied .legende .l-saisie { background: var(--saisie); border-color: #E6D79A; }
.feuille-pied .legende .l-calcul { background: var(--menthe); border-color: var(--menthe-trait); }
.feuille-pied a { font-weight: 700; }

/* ---------- sections d'accueil */
.bloc { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.bloc + .bloc { border-top: 1px solid var(--trait); }
.bloc-tete { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .5rem 2rem; margin-bottom: 2rem; }
.bloc-tete h2 { margin: 0; max-width: 20ch; }
.bloc-tete p { margin: 0; color: var(--gris); max-width: 34em; }
.bloc-doux { background: var(--doux); }

/* Calculateurs : trois colonnes nettes */
.grille-outils { display: grid; gap: 1px; background: var(--trait); border: 1px solid var(--trait); border-radius: var(--r-m); overflow: hidden; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tuile-outil { display: flex; flex-direction: column; gap: .5rem; padding: 1.6rem 1.5rem 1.7rem; background: var(--papier); text-decoration: none; color: var(--encre); transition: background-color .15s; }
.tuile-outil strong { font-family: var(--titre); font-size: 1.25rem; line-height: 1.2; color: var(--foret); letter-spacing: -.01em; }
.tuile-outil span { color: var(--gris); }
.tuile-outil em { font-style: normal; margin-top: auto; padding-top: .6rem; font-weight: 700; color: var(--vert); }
.tuile-outil:hover { background: var(--saisie); }
.tuile-outil:hover em { text-decoration: underline; }

/* Articles : liste éditoriale */
.grille-articles { display: grid; gap: 0 2.5rem; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.carte-article { padding: 1.3rem 0 1.4rem; border-top: 1px solid var(--trait); }
.carte-article h2, .carte-article h3 { margin: 0 0 .45rem; font-size: 1.2rem; line-height: 1.25; }
.carte-article h2 a, .carte-article h3 a { color: var(--foret); text-decoration: none; }
.carte-article h2 a:hover, .carte-article h3 a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.carte-article p { margin: 0 0 .5rem; color: var(--encre); font-size: .98rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carte-article .carte-meta { color: var(--gris); font-size: .85rem; margin: 0; display: block; }

/* Produits */
.grille-produits { display: grid; gap: 2rem 1.6rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.carte-produit { display: flex; flex-direction: column; }
.carte-img { display: block; border-radius: var(--r-m); overflow: hidden; background: var(--menthe); border: 1px solid var(--trait); }
.carte-img img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .35s ease; }
.carte-produit:hover .carte-img img { transform: scale(1.025); }
.carte-texte { padding: 1rem .1rem 0; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.carte-texte h2, .carte-texte h3 { margin: 0; font-size: 1.2rem; }
.carte-texte h2 a, .carte-texte h3 a { color: var(--foret); text-decoration: none; }
.carte-texte h2 a:hover, .carte-texte h3 a:hover { text-decoration: underline; }
.carte-texte p { margin: 0; }
.carte-format { color: var(--gris); font-size: .88rem; }
.carte-texte .bouton { margin-top: .7rem; align-self: flex-start; padding: .6rem 1.1rem; font-size: .95rem; }

/* Confiance */
.grille-confiance { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.6rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grille-confiance li { display: flex; flex-direction: column; gap: .35rem; padding-top: 1rem; border-top: 3px solid var(--foret); }
.grille-confiance strong { font-family: var(--titre); font-size: 1.15rem; color: var(--foret); }
.grille-confiance span { color: var(--gris); }

.plus { margin: 1.8rem 0 0; font-weight: 700; }

/* ---------- pages intérieures */
.tete-section { padding: 1.2rem 0 2rem; max-width: 46rem; }
.tete-section p { color: var(--gris); font-size: 1.12rem; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .15rem; padding: 0; margin: 1.6rem 0 .8rem; font-size: .88rem; color: var(--gris); }
.ariane li + li::before { content: "/"; margin: 0 .45rem; color: #8A9590; }
.ariane a { color: var(--gris); }

.article { margin: 0 0 3rem; }
.article-entete { margin-bottom: 1.6rem; }
.article-entete h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.article-meta { color: var(--gris); font-size: .92rem; margin: 0; }
.chapeau { font-size: 1.15rem; color: var(--gris); }

.resume { background: var(--menthe); border-radius: var(--r-m); padding: 1.1rem 1.3rem; margin: 0 0 1.8rem; font-size: 1.08rem; }
.resume p { margin: 0; }
.resume-titre { font-family: var(--titre); font-weight: 700; color: var(--foret); font-size: 1rem; margin-bottom: .25rem !important; }
.encart-outil { display: flex; flex-direction: column; gap: .15rem; background: var(--saisie); border-radius: var(--r-m); padding: .9rem 1.2rem; margin: 0 0 1.8rem; text-decoration: none; color: var(--encre); border: 1px solid #EBDCA3; }
.encart-outil strong { color: var(--gris); font-size: .9rem; font-weight: 700; }
.encart-outil span { color: var(--foret); font-family: var(--titre); font-weight: 700; font-size: 1.15rem; }
.encart-outil:hover span { text-decoration: underline; }

.prose { max-width: var(--mesure); font-size: 1.1rem; line-height: 1.7; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2.2em 0 .6em; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.prose h3 { margin: 1.8em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.2em; }
.prose li { margin: .35rem 0; }
.prose li::marker { color: var(--vert); }
.prose blockquote { margin: 1.4rem 0; padding: .2rem 0 .2rem 1.2rem; border-left: 3px solid var(--or); color: var(--gris); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4rem 0; font-size: .98rem; display: block; overflow-x: auto; }
.prose th { background: var(--doux); color: var(--foret); text-align: left; padding: .6rem .75rem; font-weight: 700; border-bottom: 2px solid var(--foret); }
.prose td { padding: .6rem .75rem; border-bottom: 1px solid var(--trait); }
.exemple, .astuce, .attention { border-radius: var(--r-m); padding: 1rem 1.2rem; margin: 1.5rem 0; font-size: 1.02rem; }
.exemple { background: var(--doux); border: 1px solid var(--trait); }
.exemple::before { content: "Exemple fictif"; display: block; font-weight: 700; font-size: .85rem; color: var(--gris); margin-bottom: .3rem; }
.astuce { background: var(--saisie); }
.attention { background: var(--rouge-clair); }
.exemple > :last-child, .astuce > :last-child, .attention > :last-child { margin-bottom: 0; }

.faq { margin-top: 3rem; max-width: var(--mesure); }
.faq details { border-top: 1px solid var(--trait); padding: 1rem 0; }
.faq details:last-child { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; font-weight: 700; color: var(--foret); font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--titre); font-size: 1.4rem; line-height: 1; color: var(--vert); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: .6rem 0 0; }
.sources { margin-top: 2.5rem; font-size: .92rem; color: var(--gris); max-width: var(--mesure); }
.sources h2 { font-size: 1.1rem; }

.video { margin: 2rem 0; max-width: var(--mesure); }
.video-facade, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; border: 0; background: var(--foret); }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.video-lecture { position: absolute; right: 1rem; bottom: 1rem; width: 64px; height: 64px; background: var(--saisie); border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.video-lecture::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent var(--foret); }
.video figcaption { font-size: .88rem; color: var(--gris); margin-top: .5rem; }

.produits-lies, .voir-aussi { padding: 3rem 0; border-top: 1px solid var(--trait); }
.intro-produits { color: var(--gris); margin-top: -.3rem; }

/* Fiche produit */
.fiche { display: grid; gap: 2rem 3.5rem; grid-template-columns: 1fr; margin: .5rem 0 3rem; align-items: start; }
@media (min-width: 860px) { .fiche { grid-template-columns: 1fr 1fr; } }
.fiche-visuel img { border-radius: var(--r-l); width: 100%; border: 1px solid var(--trait); }
.fiche-texte h1 { margin-top: 0; font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); }
.coches { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; }
.coches li { padding: .55rem 0 .55rem 2rem; position: relative; border-top: 1px solid var(--trait); }
.coches li:last-child { border-bottom: 1px solid var(--trait); }
.coches li::before { content: "✓"; position: absolute; left: .2rem; top: .5rem; color: var(--succes); font-weight: 700; }
.note { color: var(--gris); font-size: .9rem; margin-top: .8rem; }

/* ---------- calculateurs (pages outils) */
.calc { background: var(--papier); border: 1px solid #C9D3CD; border-radius: var(--r-l); padding: clamp(1.1rem, 3vw, 1.8rem); margin: 1rem 0 2rem; box-shadow: 0 24px 48px -32px rgba(15,61,46,.3); }
.calc fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.calc legend { font-family: var(--titre); font-weight: 700; color: var(--foret); font-size: 1.15rem; margin-bottom: .7rem; padding: 0; }
.champs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.champ label { display: block; font-weight: 700; font-size: .96rem; margin-bottom: .3rem; }
.champ .aide { display: block; font-weight: 400; color: var(--gris); font-size: .86rem; }
.saisie { position: relative; }
.saisie input { width: 100%; font: inherit; font-family: var(--titre); font-size: 1.15rem; font-weight: 700; padding: .7rem 2.2rem .7rem .85rem; background: var(--saisie); border: 1px solid var(--saisie-trait); border-radius: var(--r-s); color: var(--encre); text-align: right; font-variant-numeric: tabular-nums; }
.saisie input:not([inputmode]) { text-align: left; font-family: var(--texte); font-weight: 400; }
.saisie input::placeholder { color: var(--gris); font-weight: 400; }
.saisie input:focus { outline: 3px solid var(--foret); outline-offset: 1px; }
.saisie .unite { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); color: var(--gris); pointer-events: none; }
.champ input[aria-invalid="true"] { background: var(--rouge-clair); border-color: var(--rouge); }
.erreur { color: var(--rouge); font-weight: 700; font-size: .88rem; margin: .3rem 0 0; }
.erreur:empty { display: none; }
.choix { display: flex; flex-wrap: wrap; gap: .5rem; }
.choix label { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; cursor: pointer; padding: .5rem .9rem; border: 1px solid var(--trait); border-radius: 999px; }
.choix label:has(input:checked) { background: var(--menthe); border-color: var(--menthe-trait); color: var(--foret); }
.choix input { width: 1.1rem; height: 1.1rem; accent-color: var(--foret); margin: 0; }

.resultat { background: var(--doux); border-radius: var(--r-m); padding: 1.2rem 1.3rem; margin-top: 1.2rem; }
.resultat h2 { margin: 0 0 .8rem; font-size: 1.3rem; }
.tuiles { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); margin: .4rem 0 .9rem; }
.tuile { background: var(--menthe); border-radius: var(--r-s); padding: .75rem .9rem; border: 1px solid var(--menthe-trait); }
.tuile .libelle { display: block; font-size: .86rem; font-weight: 700; color: var(--gris); }
.tuile .valeur { display: block; font-family: var(--titre); font-size: 1.6rem; font-weight: 800; color: var(--foret); line-height: 1.2; margin: .15rem 0; }
.tuile .detail { display: block; font-size: .85rem; color: var(--gris); }
.tuile.cle { background: var(--foret); border-color: var(--foret); }
.tuile.cle .libelle, .tuile.cle .detail { color: #CFE3D7; }
.tuile.cle .valeur { color: #fff; }
.tuile.alerte { background: var(--rouge-clair); border-color: #F3B8B4; }
.tuile.alerte .valeur { color: var(--rouge); }
.phrase-resultat { font-size: 1.05rem; margin: .4rem 0 0; }
.barre { height: 12px; background: var(--papier); border-radius: 999px; overflow: hidden; border: 1px solid var(--menthe-trait); margin: .4rem 0; }
.barre > span { display: block; height: 100%; background: var(--vert); }
.barre.depasse > span { background: var(--rouge); }
.defile { overflow-x: auto; margin: .7rem 0; border-radius: var(--r-s); }
.defile:focus-visible { outline: 3px solid var(--foret); outline-offset: 2px; }
.indice-defile { font-size: .85rem; color: var(--gris); margin: .2rem 0; }
.indice-defile[hidden] { display: none; }
.tableau-calc { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--papier); }
.prose .tableau-calc { display: table; margin: 0; font-size: .95rem; }
.defile .tableau-calc { min-width: 560px; }
.tableau-calc th { background: var(--doux); color: var(--foret); text-align: left; padding: .55rem .65rem; border-bottom: 2px solid var(--foret); font-weight: 700; }
.tableau-calc td { padding: .55rem .65rem; border-bottom: 1px solid var(--trait); }
.tableau-calc td.nombre, .tableau-calc th.nombre { text-align: right; white-space: nowrap; }
.tableau-calc tbody tr.choisi td { background: var(--menthe); font-weight: 700; }
.mention-calc { font-size: .86rem; color: var(--gris); margin: .9rem 0 0; }
.lien-article { font-weight: 700; }

/* ---------- pied de page */
.pied { background: var(--foret); color: #D5E5DB; font-size: .95rem; padding: 3rem 0 3.2rem; }
.pied a { color: #fff; }
.pied-int { display: grid; gap: 1.5rem 3rem; grid-template-columns: 1fr; }
@media (min-width: 860px) { .pied-int { grid-template-columns: 1.3fr 1.3fr .8fr; } }
.pied p { margin: 0 0 .7rem; }
.pied-marque { font-family: var(--titre); font-size: 1.3rem; color: #fff; }
.pied-marque strong { font-weight: 800; }
.pied-liens { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; }

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .prose { font-size: 1.04rem; }
  .entete { position: static; }
  .menu a { padding: .4rem .6rem; font-size: .92rem; }
  .heros-actions .bouton { width: 100%; }
  .feuille-grille { grid-template-columns: 1.8rem 1fr 7.6rem; }
  .f-calcul { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .entete, .pied, .produits-lies, .voir-aussi, .heros-actions { display: none; } }
