/* ==========================================================================
   Fontaine Eau Filtrante – feuille de style unique
   1. Base  2. En-tête et menu  3. Bandeaux de haut de page  4. Contenu
   5. Cartes, maillage, auteur, commentaires  6. Accueil  7. Composants repris du thème
   8. Tableaux et FAQ  9. Formulaires et simulateur  10. Responsive  11. Widgets « Eau calcaire »
   ========================================================================== */

@font-face {
  font-family: "ABeeZee";
  src: url("../fonts/abeezee-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "ABeeZee";
  src: url("../fonts/abeezee-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  --ink: #12262e;
  --text: #24363d;
  --muted: #586a71;
  --line: #d8e4e7;
  --bg: #ffffff;
  --bg-soft: #f1f7f9;
  --bg-band: #e9f3f6;
  --teal: #2f7f95;
  --teal-dark: #0f3540;
  --blue: #0369a1;
  --blue-light: #e3eef1;
  --cta: #132f95;
  --cta-hover: #2d55c4;
  --accent: #f4a25a;
  --green: #10b981;
  --orange: #d9822b;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 6px rgba(15, 53, 64, .06), 0 8px 24px rgba(15, 53, 64, .07);
  --shadow-lg: 0 12px 40px rgba(15, 53, 64, .16);
  --wrap: 1280px;
  --content: 1040px;
  --font-title: "ABeeZee", "Trebuchet MS", sans-serif;
  --font-text: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* 1. Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
body { margin: 0; font: 18px/1.7 var(--font-text); color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { font-family: var(--font-title); font-weight: 400; line-height: 1.25; color: var(--teal-dark); margin: 1.6em 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-top: .3em; }
h2 { font-size: clamp(1.55rem, 2.5vw, 2rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.12rem; }
p, ul, ol, figure, table, blockquote { margin: 0 0 1.15em; }
figure { margin-left: 0; margin-right: 0; }
strong { color: var(--ink); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
blockquote { position: relative; border: 0; background: var(--bg-soft); padding: 1.3em 1.5em 1.3em 1.8em; border-radius: var(--radius); }
blockquote::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 4px; border-radius: 4px; background: var(--teal); }
mark { background: none; color: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .9rem; color: var(--muted); }
.wrap { max-width: calc(var(--wrap) + 56px); margin: 0 auto; padding: 0 28px; }
.wrap-content { max-width: calc(var(--content) + 56px); margin: 0 auto; padding: 0 28px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* boutons */
button { font: inherit; cursor: pointer; }
.btn, .divcta button {
  display: inline-flex; align-items: center; justify-content: center; gap: .4em;
  background: var(--cta); color: #fff; border: 2px solid var(--cta); border-radius: 10px;
  padding: .65em 1.35em; font-weight: 600; font-size: 1rem; text-decoration: none; line-height: 1.3;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover, .divcta button:hover { background: var(--cta-hover); border-color: var(--cta-hover); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(19, 47, 149, .25); }
.btn-outline { background: #fff; color: var(--cta); }
.btn-outline:hover { color: #fff; }
.btn-lg { padding: .8em 1.6em; font-size: 1.05rem; }
.btns { margin: 1.5em 0; }
.btns.tc, .btns:has(> .btn:only-child) { text-align: center; }

/* 2. En-tête et menu ------------------------------------------------------ */
.staging-bar { background: #fff3cd; color: #6b4e00; text-align: center; font-size: .9rem; padding: .35em; }
.promo-bar { background: var(--teal-dark); color: #e9f1f2; font-size: .98rem; }
.promo-bar p { margin: 0 auto; max-width: var(--wrap); padding: .5em 28px; text-align: center; }
.promo-bar button { background: var(--accent); color: var(--teal-dark); border: 0; border-radius: 20px; padding: .25em 1em; margin-left: .5em; font-weight: 700; }
.promo-bar button:hover { background: #ffc48f; }

.site-header { background: #fff; position: relative; z-index: 30; box-shadow: 0 1px 0 var(--line); }
.topbar { display: flex; justify-content: flex-end; gap: 1em; font-size: .9rem; padding-top: .45em; }
.topbar a { color: var(--muted); }
.header-main { display: flex; align-items: center; gap: 1rem; padding-top: .3em; padding-bottom: .5em; }
.logo { display: flex; align-items: center; gap: .75em; text-decoration: none; color: var(--teal-dark); font-family: var(--font-title); font-size: 1.5rem; margin-right: auto; }
.logo img { width: 58px; height: 58px; border-radius: 50%; }
.search input { border: 1px solid var(--line); background: var(--bg-soft); border-radius: 24px; padding: .55em 1.1em; width: 260px; font: inherit; font-size: .95rem; }
.search input:focus { background: #fff; border-color: var(--teal); outline: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; }
.nav-toggle span:not(.sr) { display: block; width: 26px; height: 2px; background: var(--teal-dark); margin: 6px 0; }

.main-nav { border-top: 1px solid var(--line); }
.main-nav > ul { display: flex; justify-content: space-between; align-items: stretch; list-style: none; margin: 0 auto; }
.main-nav li { position: relative; }
.main-nav > ul > li { display: flex; align-items: center; }
.main-nav > ul > li > a { display: block; padding: .85em .7em; text-decoration: none; color: var(--teal-dark); font-family: var(--font-title); font-size: 1.02rem; line-height: 1.25; text-align: center; border-bottom: 3px solid transparent; }
.main-nav > ul > li > a span { color: #7a8d93; font-size: .86em; }
.main-nav > ul > li.active > a, .main-nav > ul > li > a:hover { color: var(--blue); border-bottom-color: var(--teal); }
.main-nav .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: 0 0 .2em .5em; opacity: .6; }
.main-nav .sub { display: none; position: absolute; left: 0; top: 100%; z-index: 40; min-width: 290px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); list-style: none; padding: .6em; margin: 0; }
.main-nav .sub a { display: block; padding: .5em .9em; border-radius: 8px; text-decoration: none; color: var(--ink); font-size: 1rem; line-height: 1.35; }
.main-nav .sub a:hover, .main-nav .sub a[aria-current] { background: var(--bg-soft); color: var(--blue); }
.main-nav li.has-sub:hover > .sub, .main-nav li.has-sub:focus-within > .sub { display: block; }
.main-nav .sub.sub-2col { columns: 2; column-gap: .4em; width: 600px; }
.main-nav .sub.sub-2col li { break-inside: avoid; }
.main-nav li.has-sub:hover > .sub.sub-groups, .main-nav li.has-sub:focus-within > .sub.sub-groups { display: grid; grid-template-columns: 1fr 1fr; gap: .4em 1em; width: 620px; padding: 1em; }
.sub-group { list-style: none; }
.main-nav .sub .sub-title { display: block; font-family: var(--font-title); font-size: 1.05rem; color: var(--teal-dark); padding: .5em .9em; line-height: 1.35; margin-bottom: .2em; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0; }
.sub-group a.sub-title:hover { background: var(--bg-soft); }
.sub-group ul { list-style: none; padding: 0; margin: .3em 0 0; }
.sub-group ul a { position: relative; padding-left: 1.7em !important; }
.sub-group ul a::before { content: "›"; position: absolute; left: .8em; color: var(--teal); }
.sub-toggle { display: none; }

.breadcrumb ol { display: flex; flex-wrap: wrap; list-style: none; padding: 0; margin: 0 0 1em; font-size: .92rem; color: var(--muted); }
.breadcrumb li + li::before { content: "›"; margin: 0 .55em; color: #9aaab0; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--blue); text-decoration: underline; }

main { min-height: 50vh; padding-bottom: 3em; }

.site-footer { background: var(--teal-dark); color: #c9dadd; font-size: 1rem; margin-top: 3em; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 3em; padding-top: 3em; padding-bottom: 1.5em; }
.footer-cols ul { list-style: none; padding: 0; }
.footer-cols li { margin: .35em 0; }
.footer-title { font-family: var(--font-title); color: #fff; font-size: 1.2rem; }
.site-footer .small { color: #a9c0c5; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); padding-top: 1em; padding-bottom: 1em; font-size: .95rem; }
.footer-bottom p, .footer-bottom ul { margin: 0; }
.footer-bottom ul { display: flex; gap: 1.5em; list-style: none; padding: 0; }
.to-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; font-size: 1.2rem; opacity: 0; pointer-events: none; transition: opacity .2s; box-shadow: var(--shadow); }
.to-top.show { opacity: .95; pointer-events: auto; }

/* 3. Bandeaux de haut de page --------------------------------------------- */
.page-band { background: linear-gradient(180deg, var(--bg-band) 0%, #f6fafb 100%); border-bottom: 1px solid var(--line); padding: 1.4rem 0 2.6rem; margin-bottom: 2.5rem; }
.page-band h1 { margin: .1em 0 .45em; color: var(--teal-dark); }
.band-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.page-band.has-img .band-grid { grid-template-columns: 1.1fr .9fr; }
.page-band:not(.has-img) .band-text { max-width: 880px; }
.page-band .intro { font-size: 1.15rem; color: var(--text); }
.page-band .intro p:last-child { margin-bottom: 0; }
.band-img { margin: 0; }
.band-img img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.atouts { display: flex; flex-wrap: wrap; gap: .5em; list-style: none; padding: 0; margin: 1.3em 0; }
.atouts li { display: inline-flex; align-items: center; gap: .4em; background: #fff; color: var(--teal-dark); font-size: .95rem; font-weight: 600; padding: .35em 1em; border-radius: 30px; border: 1px solid #bcd7de; }
.atouts li::before { content: "✓"; color: var(--green); font-weight: 700; }
.band-cta { margin: 1.4em 0 0; }
.band-meta { display: flex; align-items: center; gap: .5em; margin: 1.4em 0 0; font-size: .95rem; color: var(--muted); }
.band-meta img { border-radius: 50%; }
.cat-links { display: flex; flex-wrap: wrap; gap: .5em; margin: 1.2em 0 0; }
.cat-links a { display: inline-block; padding: .4em 1.1em; border: 1px solid #bcd7de; background: #fff; border-radius: 30px; text-decoration: none; font-size: .98rem; color: var(--teal-dark); }
.cat-links a:hover, .cat-links a[aria-current] { background: var(--teal-dark); border-color: var(--teal-dark); color: #fff; }

/* en-tête d'article */
.article-band { padding-bottom: 2rem; margin-bottom: 0; }
.article-band h1 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.byline { display: flex; flex-wrap: wrap; align-items: center; gap: .4em 1em; margin: 0; color: var(--muted); font-size: 1rem; }
.byline img { border-radius: 50%; }
.byline .by strong { color: var(--teal-dark); }
.chip { display: inline-block; padding: .2em .85em; border-radius: 30px; background: #fff; border: 1px solid #bcd7de; color: var(--teal); font-size: .9rem; font-weight: 600; text-decoration: none; }
a.chip:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.byline .date::before { content: "·"; margin-right: 1em; color: #9aaab0; }
.featured { margin: 2rem auto 2.5rem; }
.featured img { display: block; border-radius: var(--radius-lg); width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); }
.article-band + .entry { margin-top: 2.5rem; }

/* 4. Contenu -------------------------------------------------------------- */
.entry { margin-bottom: 2em; }
.entry > :first-child { margin-top: 0; }
.entry h2 { margin-top: 1.9em; }
.entry h2:not(.tc)::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--accent); margin-top: .45em; }
.entry h2.tc::after { content: ""; display: block; width: 48px; height: 3px; border-radius: 3px; background: var(--accent); margin: .45em auto 0; }
.entry ul, .entry ol { padding-left: 1.5em; }
.entry li { margin: .35em 0; }
.entry ul li::marker { color: var(--teal); }
.entry ol li::marker { color: var(--teal); font-weight: 700; }
.entry figure { text-align: center; }
.entry figure img { border-radius: 10px; }
.entry figcaption { font-size: .92rem; color: var(--muted); margin-top: .4em; }
.tc { text-align: center; }
.tr { text-align: right; }
.c-blue, .blue { color: #1f7fd8; }
.c-green { color: #00a676; }
.c-orange { color: var(--orange); }
.c-paleblue { color: #8ed1fc; }
.bg-pale { background: #e8f6fe; }
.fs-s { font-size: .95rem; }
.fs-m { font-size: 1.15rem; }
.fs-l { font-size: 1.4rem; }
ul.listnostyle { list-style: none; padding-left: 0; }
.has-bg { padding: 1.3em 1.5em; border-radius: var(--radius); }
.group.has-bg { margin-bottom: 1.5em; }

/* colonnes (anciennes colonnes WordPress) */
.cols { display: flex; gap: 2em; margin: 0 0 1.6em; }
.cols > .col { flex: 1 1 0; min-width: 0; }
.cols.v-center { align-items: center; }
.cols > .col.v-center { align-self: center; }
.cols > .col > :last-child { margin-bottom: 0; }

/* média + texte */
.media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5em; align-items: center; margin-bottom: 2em; }
.media-text.media-right .mt-media { order: 2; }
.mt-media { margin: 0; }
.mt-media img { border-radius: var(--radius); }

/* blocs « cover » : bandeau pleine largeur */
.cover { position: relative; margin: 2.5em calc(50% - 50vw); padding: 2.5em calc(50vw - 50%); background: var(--bg-soft); }
.cover-in > :first-child { margin-top: 0; }
.cover-in > :last-child { margin-bottom: 0; }
.cover img { border-radius: var(--radius); }
.cover .cols { background: #fff; border-radius: var(--radius); padding: 1.6em; box-shadow: var(--shadow); }
.cover .cols .cols { background: none; box-shadow: none; padding: 0; }

/* boutons d'affiliation */
.divcta { text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: .6em; margin: 1em 0 1.5em; }
.divcta button { margin: 0; }
button.aff-inline { background: none; border: 0; padding: 0; color: var(--blue); text-decoration: underline; text-underline-offset: .18em; font: inherit; }
button.aff-inline:hover { color: var(--teal-dark); }

/* vidéos YouTube (chargées au clic) */
.yt { position: relative; aspect-ratio: 16 / 9; max-width: 820px; margin: 0 auto 1.5em; background: #000; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.yt-play { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.yt-play img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.yt-label { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(200, 0, 0, .92); color: #fff; padding: .65em 1.3em; border-radius: 12px; font-weight: 600; text-align: center; max-width: 80%; }
.yt-play:hover .yt-label, .yt-play:focus-visible .yt-label { background: #e00; }
.yt iframe { width: 100%; height: 100%; border: 0; }

/* 5. Cartes, maillage, auteur, commentaires ------------------------------ */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6em; margin: 1.5em 0; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.card-img img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 !important; }
.card-body { padding: 1.1em 1.3em 1.3em; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; flex-direction: column; gap: .1em; font-size: .86rem; color: var(--muted); margin: 0 0 .5em !important; }
.card-top span { color: var(--teal); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.card h3 { font-size: 1.2rem; margin: 0 0 .5em; text-wrap: pretty; }
.card h3 a { text-decoration: none; color: var(--teal-dark); }
.card h3 a::after { content: ""; position: absolute; inset: 0; }
.card:hover h3 a { color: var(--blue); }
.card p { font-size: .98rem; color: var(--muted); margin: 0 0 1em; line-height: 1.55; }
.card-more { margin-top: auto; font-size: .95rem; font-weight: 600; color: var(--blue); }
.entry .cards { text-align: left; }
.cards-bloc { grid-template-columns: repeat(3, 1fr); }
.liste-total { color: var(--muted); font-size: .95rem; margin: 0 0 -.5em; }
.pagination { display: flex; gap: .4em; justify-content: center; margin: 2em 0; }
.pagination a, .pagination span { padding: .45em 1em; border: 1px solid var(--line); border-radius: 8px; text-decoration: none; }
.pagination span { background: var(--teal); color: #fff; border-color: var(--teal); }
.subpages { columns: 2; }

.related { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 2.5em 0 1.5em; margin-top: 3em; }
.related h2 { text-align: center; margin-top: 0; }
.related + .wrap-content .comments { border-top: 0; }

.guides-lies { margin-top: 2.5em; }
.guides-lies .box-title { font-family: var(--font-title); color: var(--teal-dark); font-size: 1.2rem; margin: 0 0 .6em; }
.guides-lies ul { display: flex; flex-wrap: wrap; gap: .6em; list-style: none; padding: 0; margin: 0; }
.guides-lies a { display: inline-block; padding: .5em 1.1em; background: #fff; border: 1px solid #bcd7de; border-radius: 30px; text-decoration: none; color: var(--teal-dark); font-size: .98rem; }
.guides-lies a::before { content: "→ "; color: var(--teal); }
.guides-lies a:hover { border-color: var(--teal); background: var(--bg-soft); }

/* encadré auteur */
.author-box { margin-top: 2.5em; margin-bottom: 1em; background: var(--teal-dark); color: #e2eef0; border-radius: var(--radius-lg); padding: 2em 2.2em; font-size: .98rem; display: grid; grid-template-columns: 1fr 1.6fr; gap: 2em; }
.author-box .box-title { color: #fff; font-size: 1.15rem; font-family: var(--font-title); margin: 0 0 .4em; }
.author-box ul { list-style: none; padding: 0; margin-bottom: 0; }
.author-box li { position: relative; padding-left: 1.5em; margin: .4em 0; }
.author-box li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.author-box a { color: #fff; }
.author-box .source-list { margin-bottom: 1em; }
.author { display: flex; flex-direction: column; gap: .8em; align-items: flex-start; }
.author img { border-radius: 50%; flex: none; background: #fff; }
.author p { margin: 0; }

/* commentaires */
.comments { border-top: 1px solid var(--line); margin-top: 2.5em; padding-top: 1em; }
.comment-list, .comment-list .children { list-style: none; padding: 0; }
.comment-list .children { margin-left: 1.5em; border-left: 3px solid var(--line); padding-left: 1em; }
.comment { margin: 1.3em 0; }
.comment-meta { font-size: 1rem; }
.comment-meta time { color: var(--muted); margin-left: .5em; font-size: .92rem; }
.comment-text { background: var(--bg-soft); border-radius: 12px; padding: .9em 1.1em; margin: .4em 0; }
.reply-btn { background: none; border: 0; color: var(--blue); padding: 0; font-size: .92rem; text-decoration: underline; }

/* 6. Accueil -------------------------------------------------------------- */
.home-hero { background: radial-gradient(circle at 85% 20%, #1f6b80 0%, transparent 55%), linear-gradient(135deg, #0f3540 0%, #174c5b 100%); color: #e4f0f2; padding: 3.5rem 0 5rem; }
.home-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3.5rem; align-items: center; }
.home-hero h1 { color: #fff; font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin: .2em 0 .5em; }
.home-hero .intro { font-size: 1.2rem; color: #d5e6ea; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; margin: 0; padding: .3em 1em .3em .35em; border-radius: 30px; background: rgba(255,255,255,.1); font-size: .95rem; color: #fff; }
.eyebrow img { border-radius: 50%; background: #fff; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8em; margin: 1.8em 0 1.4em; }
.home-hero .btn { background: var(--accent); border-color: var(--accent); color: var(--teal-dark); }
.home-hero .btn:hover { background: #ffc48f; border-color: #ffc48f; box-shadow: 0 6px 18px rgba(0,0,0,.2); }
.home-hero .btn-ghost { background: transparent; border-color: rgba(255,255,255,.6); color: #fff; }
.home-hero .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }
.hero-points { display: flex; flex-wrap: wrap; gap: .4em 1.6em; list-style: none; padding: 0; margin: 0; font-size: 1rem; }
.hero-points li::before { content: "✓"; color: #7ee0b7; font-weight: 700; margin-right: .45em; }
.home-hero-img { margin: 0; }
.home-hero-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.entry.home { max-width: calc(var(--wrap) + 56px); margin: 0 auto; padding: 0 28px; }
.jump-nav { position: relative; z-index: 2; display: flex; flex-wrap: wrap; justify-content: center; gap: .5em; margin: -2.4rem auto 1rem; max-width: 980px; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); padding: 1em 1.2em; }
.jump-nav a { padding: .45em 1.1em; border-radius: 30px; background: var(--bg-soft); color: var(--teal-dark); text-decoration: none; font-size: .98rem; }
.jump-nav a:hover { background: var(--teal-dark); color: #fff; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; margin: 1.5em 0 2.5em; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5em 1.6em; box-shadow: var(--shadow); }
.feature-ico { display: inline-flex; width: 52px; height: 52px; border-radius: 14px; align-items: center; justify-content: center; background: var(--bg-band); font-size: 1.5rem; }
.feature h3 { margin: .7em 0 .3em; font-size: 1.25rem; }
.feature p { margin: 0; font-size: 1rem; color: var(--muted); }
.cols.gamme { gap: 1.2em; align-items: stretch; }
.gamme > .col { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2em 1em; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.gamme > .col:first-child { background: var(--bg-soft); box-shadow: none; justify-content: center; }
.gamme > .col h3 { font-size: 1.2rem; margin: .5em 0 0; }
.gamme > .col figure { margin-bottom: .6em; }
.gamme > .col > p { flex: 1; font-size: 1rem; }
.gamme .divcta { margin-bottom: 0; }
.gamme .divcta button { width: 100%; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5em; margin-top: 1.5em; }
.tile { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.tile img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 0 !important; transition: transform .4s; }
.tile:hover img { transform: scale(1.04); }
.tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.5em 1.2em 1em; background: linear-gradient(transparent, rgba(15,53,64,.85)); color: #fff; font-family: var(--font-title); font-size: 1.3rem; text-align: left; }
.presentation { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2em; align-items: center; margin-bottom: 2em; }
.presentation .yt { margin: 0; max-width: none; }
.quote-author { margin: 0; padding: 1.8em; background: var(--bg-soft); font-size: 1.08rem; }
.quote-author img { width: 72px; height: 72px; border-radius: 50%; float: left; margin: 0 1em .5em 0; }
.quote-author .quote-name { font-family: var(--font-title); color: var(--teal-dark); margin: 0; clear: both; }
/* 7. Composants éditoriaux repris de l'ancien thème ------------------------ */
.bgbleuclair { background: #3fa7d6; } .bgbleu { background: #2e8bc0; } .bgorange { background: var(--orange); } .bgrouge { background: #c94c4c; }
.acenter { text-align: center; }
.capacite p { border: 1px solid #0693e3; color: #0693e3; padding: 20px; border-radius: 8px; }
.mea { border: 4px solid #00bcd4; border-radius: 8px; padding: 20px; }
.mea p:first-child { color: #fff; font-size: 1.4rem; font-weight: bold; margin-top: -52px; text-transform: uppercase; text-shadow: 3px 0 0 #00bcd4; }
.mea h2 { font-size: 1.35rem; color: #00bcd4; }
.mea-resume { padding: 30px; border-radius: 15px; box-shadow: 0 1px 3px rgba(0,0,0,.12), 0 8px 16px rgba(0,0,0,.15); border-left: 4px solid #00bcd4; margin: 30px 0; }
.mea-resume p strong { color: #00838f; font-size: 1.1rem; text-transform: uppercase; }
.mea-resume ol { padding-left: 20px; }
.mea-resume ol li::marker { color: #00bcd4; font-weight: bold; }
.sommaire { border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.sommaire p { font-size: .85rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.sommaire ul { list-style: none; padding: 0; }
.sommaire ul li a { border-left: 2px solid var(--line); display: block; margin-left: -2px; padding: 6px 0 6px 14px; font-size: .95rem; text-decoration: none; }
.sommaire ul li a:hover { border-left-color: var(--teal); }
.tab-list { background-color: #eee; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.tab-list tbody tr:nth-child(odd) { background-color: #fff; }
.tab-list tbody tr td { padding: 30px 20px; }
.questions { padding: 40px; background: #f0f7fd; border-radius: 12px; }
.questions .col { padding: 20px 40px; border: 2px solid #4082c7; background: #fff; border-radius: 12px; }
.questions .num, .letop .num { color: var(--blue); font-size: .85rem; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; }
.questions h3 { font-size: 1rem; }
.questions p, .letop p { font-size: .95rem; }
.letop .col { border: 1px solid var(--teal); padding: 24px 22px; border-radius: 10px; }
.letop .col .col { border: 0; padding: 0; }
.letop h4 { border-top: 1px solid #ddd; font-size: .95rem; color: var(--blue); text-transform: uppercase; padding-top: 12px; }
.note { color: var(--blue); }
.letop button, button.cta { background: #fff; color: #0f3540; font-size: 1.1rem; text-align: left; border: 0; border-left: 4px solid #0f3540; padding: 4px 12px; width: 100%; margin: .3em 0; }
.letop button span, button.cta span { color: var(--teal); text-transform: uppercase; font-size: .85rem; }
.letop button span.top-prix, button.cta span.top-prix { font-weight: 400; font-size: .95rem; text-transform: none; }
.letop button span.top-prix::after, button.cta span.top-prix::after { content: "  ➔"; }
.letop button:hover, button.cta:hover { background: var(--blue-light); }
.famille { border: 1px solid #ddd; border-radius: 4px; padding: 60px 20px; }
.famille .cat { color: var(--teal); text-transform: uppercase; font-size: .85rem; font-weight: bold; }
.famille .cols { border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; margin: 20px 0; padding: 10px; font-size: .92em; }
.famille .divcta button { font-size: 1rem; padding: 12px 8px; border: 0; }
.bloc .col { border-radius: 12px; border: 1px solid #ddd; padding: 2px 12px; font-size: 1rem; }
.palette { border-radius: 20px; color: #fff; overflow: hidden; gap: 0; }
.palette .col { padding-top: 20px; }
.info { font-size: .95rem; background: #e9f4fb; border-radius: 12px; padding: 10px 14px; margin-bottom: 20px; }
.compare .col { border: 1px solid #b7f0c4; border-radius: 12px; padding: 10px; }
.compare .col:nth-child(2) { border-color: #ffc7ba; }
.compare h3 { color: var(--blue); }
.compare ul { padding: 0 0 0 20px; margin: 0; }
.compare li { margin-bottom: 8px; font-size: 1rem; }
.bandeau { border-top: 1px solid #eee; border-bottom: 1px solid #eee; }
.lvl .on, td.on { color: #10b981; font-weight: 600; }
.lvl .off, td.off { color: #ef4444; }
.lvl .mid, td.mid { color: #f59e0b; }
.pick { background: #e8f6fe; }
.thumb img { max-width: 90px; }

/* tableaux « dcf » */
.dcf-txt-center { text-align: center !important; }
.dcf-txt-left { text-align: left !important; }
.dcf-txt-right { text-align: right !important; }
.dcf-table { border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.dcf-table thead, .dcf-table tbody, .dcf-table tfoot { font-size: .97em; }
.dcf-table td, .dcf-table th { padding: .75em 1.2em .75em .9em; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dcf-table thead th, .dcf-table thead td { background: var(--blue-light); }
.dcf-table-bordered, .dcf-table-bordered td, .dcf-table-bordered th { border: 1px solid var(--line); }
.dcf-w-100\% { width: 100% !important; margin: 40px 0; }

/* tableau comparatif mis en avant */
.filter-comparison-wrapper { overflow-x: auto; background: #fff; border-radius: 16px; box-shadow: 0 4px 20px rgba(0,0,0,.08); margin-bottom: 1.5em; }
.filter-comparison-table th { padding: 18px; text-align: center; border-bottom: 2px solid #e0e0e0; background: #f8f9fa; }
.filter-comparison-table th:first-child { text-align: left; background: #fff; color: #666; font-size: .95rem; text-transform: uppercase; letter-spacing: .5px; }
.filter-comparison-table th:nth-child(2) { background: #667eea; color: #fff; font-size: 1.15rem; }
.filter-comparison-table td { padding: 18px; border-bottom: 1px solid #f0f0f0; text-align: center; }
.filter-comparison-table td:first-child { text-align: left; font-weight: 600; color: #1a1a1a; background: #fafafa; }
.filter-comparison-table td:nth-child(2) { background: rgba(102,126,234,.08); font-weight: 600; color: #667eea; border-left: 3px solid #667eea; border-right: 3px solid #667eea; }
.filter-comparison-table tr:last-child td:nth-child(2) { border-bottom: 3px solid #667eea; }
.badge { display: inline-block; padding: 5px 13px; border-radius: 20px; font-size: .92rem; font-weight: 600; }
.badge-excellent, .badge-max { background: #d4edda; color: #155724; }
.badge-good { background: #d1ecf1; color: #0c5460; }
.badge-medium { background: #fff3cd; color: #856404; }
.filter-comparison-table td:nth-child(2) .badge-good { background: #667eea; color: #fff; }
.speed-fast, .install-easy, .price-low { color: #28a745; font-weight: 600; }
.speed-slow, .price-medium { color: #c99400; font-weight: 600; }
.speed-very-slow, .price-high { color: #ff9800; font-weight: 600; }
.install-none { color: #17a2b8; }
.install-complex { color: #dc3545; }

/* avantages / inconvénients */
.pros-cons-container { max-width: 1100px; margin: 0 auto; }
.pros-cons-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 30px; }
.pros-cons-card { background: #fff; border-radius: 20px; padding: 32px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.pros-card { border-top: 4px solid #10b981; }
.cons-card { border-top: 4px solid #f59e0b; }
.pros-cons-header { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.pros-cons-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.pros-icon { background: linear-gradient(135deg, #10b981, #059669); }
.cons-icon { background: linear-gradient(135deg, #f59e0b, #d97706); }
.pros-cons-title { font-size: 1.5rem; font-weight: 700; color: #1a1a1a; }
.pros-cons-list { list-style: none; padding: 0; }
.pros-cons-item { display: flex; gap: 16px; margin-bottom: 20px; align-items: flex-start; }
.item-bullet { min-width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; margin-top: 2px; }
.pros-bullet { background: #d1fae5; color: #065f46; }
.cons-bullet { background: #fef3c7; color: #92400e; }
.item-content { flex: 1; }
.item-label { font-weight: 700; color: #1a1a1a; margin-bottom: 4px; }
.pros-card .item-label { color: #059669; }
.cons-card .item-label { color: #d97706; }
.item-description { color: #4b5563; font-size: .95rem; line-height: 1.5; }

/* tableau de filtration */
.filtration-table-wrapper { overflow-x: auto; padding: 10px 0; }
.filtration-table { border-collapse: collapse; min-width: 760px; table-layout: fixed; }
.filtration-table thead { background: #667eea; color: #fff; }
.filtration-table th { padding: 14px 10px; color: #fff; background: #667eea; border-right: 1px solid rgba(255,255,255,.2); }
.filtration-table th:first-child, .filtration-table td:first-child { width: 150px; position: sticky; left: 0; }
.filtration-table th:first-child { z-index: 2; }
.filtration-table td { padding: 14px 10px; font-size: .95rem; border-right: 1px solid #f0f0f0; }
.filtration-table td:first-child { font-weight: 600; background: #f8f9fa; color: #667eea; z-index: 1; }
.filtration-table tbody tr:hover { background: #f5f5ff; }
.performance { font-weight: 500; }
.performance-optimale { color: #10b981; } .performance-haute { color: #3b82f6; } .performance-moyenne { color: #f59e0b; } .performance-basse { color: #ef4444; }
.filtration-table .divcta button { font-size: .85rem; background: #3b82f6; border: 0; border-radius: 8px; padding: .4em .8em; }


/* 8. Tableaux et FAQ ------------------------------------------------------ */
.table-scroll { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; -webkit-overflow-scrolling: touch; }
.table-scroll > table { margin: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none; }
.entry table { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 1rem; line-height: 1.5; }
.entry th, .entry td { border: 0; border-bottom: 1px solid var(--line); padding: .8em 1em; text-align: left; vertical-align: top; }
.entry thead th, .entry thead td { background: var(--teal-dark); color: #fff; font-weight: 600; vertical-align: bottom; }
.entry thead th strong, .entry thead td strong { color: #fff; }
.entry thead a { color: #fff; }
.entry tbody tr:nth-child(even) > * { background: #f6fafb; }
.entry tbody tr:hover > * { background: #eaf4f7; }
.entry tbody th { color: var(--teal-dark); font-weight: 700; background: #f1f7f9; }
.entry tbody tr:last-child > * { border-bottom: 0; }
.entry table img { border-radius: 6px; }
.entry .tab-list tbody tr td { padding: 1.2em 1em; }
/* tableaux colorés repris de l'ancien thème : on garde leurs couleurs */
.entry .filter-comparison-table th { background: #f8f9fa; color: var(--ink); }
.entry .filter-comparison-table th:nth-child(2) { background: #667eea; color: #fff; }
.entry .filtration-table th { background: #667eea; }

.faq { margin: 1.5em 0 2.5em; display: grid; gap: .8em; border: 0; padding: 0; box-shadow: none; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0; transition: box-shadow .2s, border-color .2s; }
.faq-item + .faq-item { border-top: 1px solid var(--line); padding-top: 0; }
.faq-item:hover { border-color: #b6d0d7; }
.faq-item.open { box-shadow: var(--shadow); border-color: #b6d0d7; }
.faq h3 { position: relative; margin: 0; padding: 1em 3.2em 1em 3.4em; font-size: 1.18rem; color: var(--teal-dark); cursor: pointer; }
.faq h3::before { content: "?"; position: absolute; left: 1em; top: 1em; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-band); color: var(--teal); font-size: .95rem; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-text); }
.faq h3::after { content: "+"; position: absolute; right: 1em; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--teal); font-family: var(--font-text); }
.faq-item.open h3::after { content: "−"; }
.faq:not(.js) h3 { cursor: default; }
.faq:not(.js) h3::after { content: none; }
.faq-a { padding: 0 1.5em 1.2em 4.1em; }
.faq-a > :last-child { margin-bottom: 0; }
.faq.js .faq-item:not(.open) .faq-a { display: none; }
details { border: 1px solid var(--line); border-radius: 10px; padding: .7em 1.1em; margin-bottom: .8em; }
summary { cursor: pointer; font-weight: 600; }

/* 9. Formulaires et simulateur ------------------------------------------ */
.form p { margin: 0 0 1em; }
.form label { display: block; font-weight: 600; font-size: 1rem; margin-bottom: .3em; }
.form input, .form textarea, .form select { width: 100%; font: inherit; padding: .7em .9em; border: 1px solid #b9c9cd; border-radius: 10px; background: #fff; }
.form input:focus, .form textarea:focus { border-color: var(--teal); outline: 3px solid #2f7f9526; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1em; }
.form-title { font-family: var(--font-title); font-size: 1.4rem; color: var(--teal-dark); }
.hp { position: absolute; left: -9999px; }
.notice { padding: .9em 1.1em; border-radius: 10px; }
.notice.ok { background: #e7f6ef; color: #145c3c; }
.notice.err { background: #fde8e8; color: #8a1c1c; }
.search-big { display: flex; gap: .5em; margin: 1em 0 2em; }
.search-big input { flex: 1; font: inherit; padding: .7em 1.1em; border: 1px solid #b9c9cd; border-radius: 10px; }

.coupon-btn { display: inline-block; background: #3498db; color: #fff; border: 0; padding: 14px 28px; border-radius: 10px; font-weight: bold; font-size: 1.15em; }
.coupon-btn:hover { background: #2a7fb8; }

.simulateur { max-width: 760px; margin: 2em auto; padding: 2em; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, #f4f9fa, #fff); box-shadow: var(--shadow); }
.sim-title { text-align: center; font-family: var(--font-title); font-size: 1.5rem; color: var(--teal-dark); margin-top: 0; }
.sim-progress { font-size: .92rem; color: var(--muted); margin-bottom: 1.5em; }
.sim-progress .bar { height: 8px; background: #dfe9ec; border-radius: 4px; overflow: hidden; margin-top: .4em; }
.sim-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), #38a9c4); transition: width .3s; }
.sim-step { border: 0; padding: 0; margin: 0; }
.sim-step legend { font-size: 1.2rem; font-weight: 600; margin-bottom: 1em; color: var(--ink); }
.sim-option { display: block; width: 100%; text-align: left; padding: 1em 1.2em; border: 2px solid var(--line); border-radius: 12px; background: #fff; margin-bottom: .7em; transition: border-color .2s, transform .2s, background .2s; }
.sim-option strong { display: block; }
.sim-option span { font-size: .95rem; color: var(--muted); }
.sim-option:hover, .sim-option.selected { border-color: var(--teal); background: #f0f8fa; transform: translateY(-1px); }
.sim-back, .sim-restart { background: #fff; color: var(--teal-dark); border: 1px solid #b9c9cd; border-radius: 8px; padding: .55em 1.2em; margin-top: .5em; }
.sim-result { text-align: center; background: #fff; border: 2px solid var(--green); border-radius: 12px; padding: 1.4em; }
.sim-reco { color: #0e8a5f; font-weight: 700; }

/* 10. Responsive --------------------------------------------------------- */
@media (max-width: 1150px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .main-nav > ul > li > a { padding: .85em .45em; font-size: .97rem; }
}
@media (max-width: 1000px) {
  .search { display: none; }
  .nav-toggle { display: block; }
  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav > ul { flex-direction: column; padding: 0; }
  .main-nav > ul > li { display: block; border-bottom: 1px solid var(--line); }
  .main-nav > ul > li > a { text-align: left; padding: .9em 28px; border-bottom: 0; }
  .main-nav > ul > li > a br { display: none; }
  .main-nav > ul > li > a span::after { content: " "; }
  .main-nav .has-sub > a::after { display: none; }
  .main-nav li.has-sub:hover > .sub, .main-nav li.has-sub:hover > .sub.sub-groups { display: none; }
  .main-nav li.sub-open > .sub, .main-nav li.sub-open:hover > .sub, .main-nav li.sub-open:hover > .sub.sub-groups { display: block; position: static; box-shadow: none; border: 0; width: auto; columns: 1; padding: 0 0 .8em 28px; }
  .sub-group .sub-title { border-bottom: 0; padding-left: .9em; }
  .sub-toggle { display: block; position: absolute; right: 14px; top: 8px; width: 44px; height: 40px; background: none; border: 0; }
  .sub-toggle::before { content: "▾"; font-size: 1.3rem; color: var(--teal); }
  .sub-open > .sub-toggle::before { content: "▴"; }
  .page-band.has-img .band-grid, .home-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .band-img { order: -1; }
  .home-hero-img { display: none; }
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .author-box { grid-template-columns: 1fr; }
  .presentation { grid-template-columns: 1fr; }
}
@media (max-width: 780px) {
  body { font-size: 17px; }
  .wrap, .wrap-content, .entry.home { padding: 0 18px; }
  .page-band { padding: 1rem 0 2rem; margin-bottom: 2rem; }

  .home-hero { padding: 2rem 0 4rem; }
  .home-hero .intro { font-size: 1.08rem; }
  .jump-nav { margin: -2.4rem 12px 1rem; padding: .8em; }
  .jump-nav a { font-size: .92rem; padding: .4em .9em; }
  .cols, .media-text { display: block; }
  .cols > .col + .col { margin-top: 1.2em; }
  .gamme { display: grid !important; grid-template-columns: 1fr 1fr; }
  .gamme > .col + .col { margin-top: 0; }
  .gamme > .col:first-child { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1em; }
  .gamme > .col:first-child figure { margin: 0; }
  .media-text .mt-media { margin-bottom: 1em; }
  .pros-cons-grid { display: block; }
  .pros-cons-card { padding: 22px 18px; margin-bottom: 1em; }
  .footer-cols, .form-row { grid-template-columns: 1fr; gap: 0; }
  .subpages { columns: 1; }
  .faq h3 { font-size: 1.08rem; padding: .9em 2.6em .9em 3em; }
  .faq h3::before { left: .8em; top: .9em; width: 26px; height: 26px; }
  .faq-a { padding: 0 1.1em 1em 1.1em; }
  .questions { padding: 16px; }
  .questions .col { padding: 14px; }
  .author-box { padding: 1.4em; }
  .promo-bar p { font-size: .92rem; }
  .logo { font-size: 1.15rem; }
  .logo img { width: 44px; height: 44px; }
  .topbar { justify-content: center; }
  .cards-3, .cards-4, .features, .tiles { grid-template-columns: 1fr; }
  .cover { padding-top: 2em; padding-bottom: 2em; }
  .cover .cols { padding: 1.1em; }
  .byline .date::before { display: none; }
  .breadcrumb ol { font-size: .85rem; }
  /* tableaux responsives : une ligne = une carte */
  .dcf-table-responsive thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .dcf-table-responsive tr { display: block; border-bottom: 1px solid var(--line); padding: .5em 0; }
  .dcf-table-responsive th[scope="row"] { display: block; background: var(--teal-dark) !important; color: #fff; }
  .dcf-table-responsive th[scope="row"] strong { color: #fff; }
  .dcf-table-responsive td { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3vw; text-align: left !important; border: 0; padding: .45em .9em; }
  .dcf-table-responsive td::before { content: attr(data-label); font-weight: 700; color: var(--teal-dark); }
  .filter-comparison-table th, .filter-comparison-table td { padding: 10px 8px; font-size: .92rem; }
}
/* 11. Widgets de la page « Eau calcaire » */
.fef-conv{--fc-b:#0b6fb3;--fc-bd:#084f80;--fc-bs:#e9f4fb;--fc-bl:#cfe5f4;--fc-ink:#1d2a35;--fc-mute:#5b6b78;font-family:inherit;color:var(--fc-ink);background:linear-gradient(135deg,var(--fc-bs),#fff);border:1px solid var(--fc-bl);border-radius:14px;padding:20px 22px;margin:1.4em 0;line-height:1.5}
.fef-conv *{box-sizing:border-box}
.fef-conv-title{font-weight:700;font-size:1.08em;color:var(--fc-bd);margin:0 0 4px}
.fef-conv-sub{font-size:.9em;color:var(--fc-mute);margin:0 0 14px}
.fef-conv-row{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.fef-conv label{display:block;font-size:.82em;color:var(--fc-mute);margin-bottom:4px}
.fef-conv input,.fef-conv select{padding:9px 11px;border:1.5px solid var(--fc-bl);border-radius:8px;font-size:1em;font-family:inherit;background:#fff;color:var(--fc-ink)}
.fef-conv input{width:130px}
.fef-conv input:focus,.fef-conv select:focus{outline:none;border-color:var(--fc-b)}
.fef-conv-out{margin-top:16px;background:#fff;border:1px solid #e3e8ec;border-radius:10px;padding:14px 16px}
.fef-conv-vals{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:12px}
.fef-conv-val{background:var(--fc-bs);border-radius:8px;padding:8px 10px;text-align:center}
.fef-conv-val b{display:block;font-size:1.15em;color:var(--fc-bd)}
.fef-conv-val span{font-size:.78em;color:var(--fc-mute)}
.fef-conv-bar{position:relative;display:flex;height:12px;border-radius:99px;overflow:hidden;margin:6px 0 4px}
.fef-conv-bar i{flex:1}
.fef-conv-cursor{position:absolute;top:-5px;width:4px;height:22px;background:var(--fc-ink);border-radius:2px;transform:translateX(-50%);transition:left .25s}
.fef-conv-scale{display:flex;font-size:.72em;color:var(--fc-mute)}
.fef-conv-scale span{flex:1;text-align:center}
.fef-conv-verdict{margin:12px 0 0;font-size:.95em}
.fef-conv-verdict strong{color:var(--fc-bd)}
@media(max-width:520px){.fef-conv{padding:16px}.fef-conv input{width:100%}.fef-conv-row>div{flex:1 1 100%}.fef-conv select{width:100%}}
.fef-sel{--fs-b:#0b6fb3;--fs-bd:#084f80;--fs-bs:#e9f4fb;--fs-bl:#cfe5f4;--fs-g:#1f9d6b;--fs-gs:#e7f6ef;--fs-ink:#1d2a35;--fs-mute:#5b6b78;font-family:inherit;color:var(--fs-ink);background:linear-gradient(135deg,var(--fs-bs),#fff);border:1px solid var(--fs-bl);border-radius:14px;padding:22px;margin:1.4em 0 2em;line-height:1.5}
.fef-sel *{box-sizing:border-box}
.fef-sel-title{font-weight:700;font-size:1.1em;color:var(--fs-bd);margin:0 0 4px}
.fef-sel-sub{font-size:.9em;color:var(--fs-mute);margin:0 0 6px}
.fef-sel-q{font-weight:700;margin:16px 0 8px;display:flex;align-items:center;gap:8px}
.fef-sel-q .n{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:50%;background:var(--fs-b);color:#fff;font-size:.8em}
.fef-sel-opts{display:flex;flex-wrap:wrap;gap:8px}
.fef-sel-opts button{border:1.5px solid var(--fs-bl);background:#fff;color:var(--fs-ink);border-radius:99px;padding:8px 15px;font-size:.92em;cursor:pointer;font-family:inherit;line-height:1.3;transition:border-color .15s,background .15s}
.fef-sel-opts button:hover{border-color:var(--fs-b)}
.fef-sel-opts button:focus-visible{outline:2px solid var(--fs-b);outline-offset:2px}
.fef-sel-opts button[aria-pressed="true"]{background:var(--fs-b);border-color:var(--fs-b);color:#fff}
.fef-sel-res{margin-top:18px;background:#fff;border-radius:10px;border:1px solid #e3e8ec;border-left:5px solid var(--fs-g);padding:16px 18px;display:none}
.fef-sel-res.on{display:block}
.fef-sel-res h4{margin:0 0 .4em;color:var(--fs-bd);font-size:1.05em}
.fef-sel-res p{margin:.4em 0;font-size:.95em}
.fef-sel-res .note{background:var(--fs-gs);border-radius:8px;padding:8px 12px;font-size:.9em}
.fef-sel-res a{color:var(--fs-b);font-weight:600}
.fef-sel-hint{margin-top:14px;font-size:.85em;color:var(--fs-mute)}
.fef-sel-reset{background:none;border:none;color:var(--fs-mute);text-decoration:underline;cursor:pointer;font-size:.85em;padding:0;margin-top:8px;font-family:inherit}
@media(max-width:520px){.fef-sel{padding:16px}.fef-sel-opts button{flex:1 1 100%;text-align:left;border-radius:10px}}

/* 12. Articles : l'essentiel à retenir + sommaire (ajoutés automatiquement) */
.essentiel { display: grid; grid-template-columns: 1fr; gap: 1.4em; margin: 2em 0 2.5em; }
.essentiel-2 { grid-template-columns: 1.55fr 1fr; align-items: start; }
.essentiel-resume { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4em 1.6em; }
.essentiel-sommaire { background: var(--bg-soft); border-radius: var(--radius); padding: 1.4em 1.5em; }
.essentiel-titre { margin: 0 0 .7em; font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.essentiel-resume ul { list-style: none; padding: 0; margin: 0; }
.essentiel-resume li { position: relative; padding-left: 1.8em; margin: .55em 0; line-height: 1.55; }
.essentiel-resume li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.3em; height: 1.3em; border-radius: 50%; background: #dff3ea; color: #0e8a5f; font-size: .85em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.essentiel-sommaire ol { margin: 0; padding: 0; list-style: none; counter-reset: som; }
.essentiel-sommaire li { counter-increment: som; margin: 0; }
.essentiel-sommaire a { display: flex; gap: .7em; padding: .4em 0; text-decoration: none; color: var(--teal-dark); line-height: 1.4; border-bottom: 1px solid #dbe8eb; font-size: .98rem; }
.essentiel-sommaire li:last-child a { border-bottom: 0; }
.essentiel-sommaire a::before { content: counter(som); flex: none; width: 1.6em; height: 1.6em; border-radius: 50%; background: #fff; color: var(--teal); font-size: .82em; font-weight: 700; display: flex; align-items: center; justify-content: center; margin-top: .05em; }
.essentiel-sommaire a:hover { color: var(--blue); }
.essentiel:not(.essentiel-2) .essentiel-sommaire ol { columns: 2; column-gap: 2em; }
.essentiel:not(.essentiel-2) .essentiel-sommaire li { break-inside: avoid; }
@media (max-width: 900px) {
  .essentiel-2 { grid-template-columns: 1fr; }
  .essentiel:not(.essentiel-2) .essentiel-sommaire ol { columns: 1; }
}

/* 13. Offre en bas d'écran (bandeau promo, position « bas ») */
.promo-float { position: fixed; left: 50%; bottom: 16px; z-index: 50; display: flex; align-items: center; gap: .9em; width: min(640px, calc(100% - 24px)); padding: .6em .7em .6em .6em; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 40px rgba(15, 53, 64, .25); transform: translate(-50%, 140%); transition: transform .35s ease; }
.promo-float.show { transform: translate(-50%, 0); }
.promo-float img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; flex: none; }
.promo-float p { margin: 0; flex: 1; line-height: 1.3; font-size: .98rem; }
.promo-float p span { display: block; color: var(--muted); font-size: .92rem; }
.promo-float p b { color: var(--teal-dark); }
.promo-float .aff { flex: none; background: var(--accent); color: var(--teal-dark); border: 0; border-radius: 10px; padding: .6em 1.1em; font-weight: 700; }
.promo-float .aff:hover { background: #ffc48f; }
.promo-close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--muted); font-size: 1.3rem; line-height: 1; }
.promo-close:hover { background: var(--line); color: var(--ink); }
body.promo-on .to-top { bottom: 100px; }
body.promo-on .site-footer { padding-bottom: 90px; }
@media (max-width: 560px) {
  .promo-float { bottom: 8px; gap: .6em; }
  .promo-float img { display: none; }
  .promo-float p { font-size: .9rem; }
  .promo-float .aff { padding: .55em .8em; font-size: .92rem; }
}

/* 14. Corrections */
html, body { overflow-x: clip; }
/* Produits de l'accueil : tout le bloc est cliquable, le clic passe par le bouton */
.gamme > .col:not(:first-child) { position: relative; cursor: pointer; transition: box-shadow .2s, transform .2s, border-color .2s; }
.gamme > .col:not(:first-child):hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: #b6d0d7; }
.gamme > .col:not(:first-child) .divcta button::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.gamme > .col:not(:first-child):hover .divcta button { background: var(--cta-hover); border-color: var(--cta-hover); }
.author-box > * { min-width: 0; }
.author-box a, .source-list { overflow-wrap: anywhere; }
.cards > * { min-width: 0; } .card h3 { overflow-wrap: break-word; }

/* 15. Uniformisation : résumés, encadrés « à retenir » et sommaires au même format partout */
.essentiel-resume > p:not(.essentiel-titre) { margin: .5em 0; line-height: 1.6; }
.essentiel-resume ol { list-style: none; padding: 0; margin: 0; }
.essentiel-resume ol li { position: relative; padding-left: 1.8em; margin: .55em 0; line-height: 1.55; }
.essentiel-resume ol li::before { content: "✓"; position: absolute; left: 0; top: .05em; width: 1.3em; height: 1.3em; border-radius: 50%; background: #dff3ea; color: #0e8a5f; font-size: .85em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.essentiel-resume > :last-child { margin-bottom: 0; }
/* anciens encadrés « à retenir » dans le texte : même carte que le résumé */
.entry .mea-resume { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4em 1.6em; margin: 2em 0; }
.entry .mea-resume > :first-child { margin-top: 0; }
.entry .mea-resume > :last-child { margin-bottom: 0; }
.entry .mea-resume > p:first-child strong, .entry .mea-resume > h3:first-child { display: block; font-family: var(--font-text); font-weight: 700; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.entry .mea-resume h2 { margin-top: 0; }
.entry .mea-resume h2::after { display: none; }
.entry .mea-resume ul, .entry .mea-resume ol { list-style: none; padding-left: 0; }
.entry .mea-resume li { position: relative; padding-left: 1.8em; }
.entry .mea-resume li::before { content: "✓"; position: absolute; left: 0; top: .15em; width: 1.3em; height: 1.3em; border-radius: 50%; background: #dff3ea; color: #0e8a5f; font-size: .85em; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.entry .mea-resume li::marker { content: none; }
/* encadrés colorés de l'ancien thème : même fond et mêmes arrondis que le reste du site */
.entry .bg-pale, .entry .has-bg.bg-pale { background: var(--bg-soft); border-radius: var(--radius); }
.entry .info { background: var(--bg-soft); border-radius: var(--radius); font-size: 1rem; padding: 1em 1.2em; }

/* 16. Bloc « L'avis de M. Eau » (carte verdict) */
.stars { --n: 4.5; position: relative; display: inline-block; font-size: 1.1em; line-height: 1; letter-spacing: .08em; color: #d9e2e5; }
.stars::before { content: "★★★★★"; }
.stars::after { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--n) / 5 * 100%); overflow: hidden; color: #f5a623; white-space: nowrap; }
.avis-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); background: #fff; margin: 1.5em 0 2.5em; }
.avis-head { display: flex; align-items: center; gap: 1em; background: linear-gradient(135deg, #0f3540, #1d5f70); color: #fff; padding: 1.2em 1.6em; }
.avis-head img { width: 64px; height: 64px; border-radius: 50%; background: #fff; flex: none; }
.avis-who { flex: 1; min-width: 0; }
.avis-who p { margin: 0; line-height: 1.35; }
.entry .avis-titre { color: #fff; font-weight: 700; font-size: 1.15rem; }
.entry .avis-produit { color: #bcd6dc; font-size: .95rem; }
.avis-note { text-align: center; background: #fff; border-radius: 14px; padding: .45em .95em .55em; flex: none; }
.avis-note b { display: block; font: 400 1.9rem/1 var(--font-title); color: var(--teal-dark); margin-bottom: .1em; }
.avis-note b small { font-size: .5em; color: var(--muted); }
.avis-body { padding: 1.5em 1.6em 1.6em; }
.avis-citation { font-size: 1.1rem; font-style: italic; color: var(--ink); margin: 0 0 1.3em; padding-left: 1em; border-left: 3px solid var(--accent); }
.avis-pc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2em; }
.avis-pc > div { border-radius: 14px; padding: 1em 1.2em; }
.avis-pc > :only-child { grid-column: 1 / -1; }
.avis-plus { background: #eef9f3; }
.avis-moins { background: #fdf1f0; }
.avis-pc p { margin: 0 0 .5em; font-weight: 700; font-size: .92rem; letter-spacing: .05em; text-transform: uppercase; }
.avis-plus p { color: #0e8a5f; }
.avis-moins p { color: #c0392b; }
.entry .avis-pc ul { list-style: none; margin: 0; padding: 0; }
.entry .avis-pc li { position: relative; padding-left: 1.5em; margin: .45em 0; line-height: 1.5; font-size: 1rem; }
.entry .avis-pc li::marker { content: none; }
.avis-plus li::before { content: "+"; position: absolute; left: 0; font-weight: 700; color: #0e8a5f; }
.avis-moins li::before { content: "−"; position: absolute; left: 0; font-weight: 700; color: #c0392b; }
.avis-foot { display: flex; align-items: center; justify-content: space-between; gap: 1em; flex-wrap: wrap; margin-top: 1.3em; padding-top: 1.1em; border-top: 1px solid var(--line); }
.avis-foot p { margin: 0; color: var(--muted); font-size: .98rem; flex: 1; min-width: 220px; }
.avis-foot p strong { color: var(--teal-dark); }
@media (max-width: 780px) {
  .avis-head { flex-wrap: wrap; padding: 1em 1.1em; }
  .avis-head img { width: 52px; height: 52px; }
  .avis-note { order: 3; flex-basis: 100%; display: flex; align-items: center; justify-content: center; gap: .7em; padding: .4em .8em; }
  .avis-note b { margin: 0; font-size: 1.6rem; }
  .avis-body { padding: 1.2em 1.1em 1.3em; }
  .avis-pc { grid-template-columns: 1fr; }
  .avis-foot .btn { width: 100%; }
}

/* séparateurs de l'ancien thème (affichés comme un pavé gris vide) : simple ligne */
.entry hr.has-bg { padding: 0; height: 0; background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; margin: 2.5em 0; }

/* 17. En-tête : logo et nom du site centrés, recherche et bouton menu à droite */
.header-main { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.header-main .logo { grid-column: 2; grid-row: 1; margin: 0; justify-self: center; }
.header-main .search, .header-main .nav-toggle { grid-column: 3; grid-row: 1; justify-self: end; }
@media (max-width: 1000px) {
  .header-main { grid-template-columns: 48px 1fr 48px; }
}
@media (max-width: 1000px) { .header-main .logo { white-space: nowrap; gap: .5em; } }

/* 18. Listes d'articles insérées dans le texte (bloc « articles », ex. « Nos derniers conseils » de l'accueil) :
   3 colonnes sur ordinateur, 2 sur tablette, et une liste compacte sur mobile (vignette + titre). */
@media (max-width: 1000px) {
  .cards-bloc { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .cards-bloc { grid-template-columns: 1fr; gap: .7em; }
  .cards-bloc .card { flex-direction: row; align-items: center; gap: .9em; padding: .65em; border-radius: 12px; }
  .cards-bloc .card:hover { transform: none; }
  .cards-bloc .card-img { flex: none; width: 92px; }
  .cards-bloc .card-img img { width: 92px; height: 72px; aspect-ratio: auto; border-radius: 8px !important; }
  .cards-bloc .card-body { padding: 0; min-width: 0; }
  .cards-bloc .card-top { flex-direction: row; flex-wrap: wrap; gap: 0 .5em; font-size: .78rem; margin: 0 0 .2em !important; }
  .cards-bloc .card-top span { display: none; }
  .cards-bloc .card-top time { color: var(--teal); font-weight: 600; }
  .cards-bloc .card h3 { font-size: 1.02rem; line-height: 1.3; margin: 0; }
  .cards-bloc .card p:not(.card-top), .cards-bloc .card-more { display: none; }
}

/* 19. Cartes « Qualité de l'eau » : le titre de l'infobulle reste blanc sur fond sombre (la règle générale strong { color } le rendait illisible) */
.qe-maptip strong { color: #fff; }
