/* Bois de Chauffage Évreux : feuille de style */

@font-face {
  font-family: "Fraunces";
  src: url("/fonts/fraunces.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #faf6ef;
  --bg-soft: #f3ebdf;
  --surface: #ffffff;
  --ink: #221b16;
  --ink-soft: #4a3f36;
  --muted: #74685d;
  --line: #e6dccd;
  --ember: #c4501c;
  --ember-strong: #a8410f;
  --ember-soft: #fbe7dc;
  --oak: #8a5a2b;
  --moss: #3d5a3a;
  --moss-soft: #e5ece0;
  --soot: #2a211b;
  --soot-ink: #f6efe5;
  --amazon: #e8892a;
  --amazon-strong: #c96f12;
  --amazon-ink: #1d1208;
  --shadow: 0 1px 2px rgba(42, 33, 27, 0.06), 0 8px 24px rgba(42, 33, 27, 0.08);
  --radius: 14px;
  --radius-sm: 9px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17120f;
    --bg-soft: #1f1915;
    --surface: #221b17;
    --ink: #f3ebe1;
    --ink-soft: #d8ccbf;
    --muted: #a99c8f;
    --line: #3a2f28;
    --ember: #ec7a43;
    --ember-strong: #f39462;
    --ember-soft: #3a241a;
    --oak: #d3a170;
    --moss: #9cc093;
    --moss-soft: #22301f;
    --soot: #0f0b09;
    --soot-ink: #f6efe5;
    --amazon: #f0a046;
    --amazon-strong: #f6b566;
    --amazon-ink: #1d1208;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #17120f;
  --bg-soft: #1f1915;
  --surface: #221b17;
  --ink: #f3ebe1;
  --ink-soft: #d8ccbf;
  --muted: #a99c8f;
  --line: #3a2f28;
  --ember: #ec7a43;
  --ember-strong: #f39462;
  --ember-soft: #3a241a;
  --oak: #d3a170;
  --moss: #9cc093;
  --moss-soft: #22301f;
  --soot: #0f0b09;
  --amazon: #f0a046;
  --amazon-strong: #f6b566;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--ember-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ember);
}
:focus-visible {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 640;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variation-settings: "SOFT" 50, "WONK" 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2rem, 1.4rem + 2.8vw, 3.35rem);
  margin: 0.2em 0 0.35em;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  margin: 1.8em 0 0.6em;
}
h3 {
  font-size: 1.25rem;
  margin: 1.4em 0 0.5em;
}
p {
  margin: 0 0 1.05em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--soot);
  color: var(--soot-ink);
  padding: 10px 14px;
  border-radius: 8px;
  z-index: 100;
}
.skip-link:focus {
  top: 12px;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 700px) {
  .wrap {
    padding: 0 28px;
  }
}
.narrow {
  max-width: 820px;
}
.center {
  text-align: center;
  margin-top: 28px;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font: 600 1rem/1.2 var(--font-body);
  padding: 0.85em 1.25em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--ember);
  color: #fff;
  box-shadow: 0 6px 18px rgba(196, 80, 28, 0.28);
}
.btn-primary:hover {
  background: var(--ember-strong);
  color: #fff;
}
.btn-amazon {
  background: var(--amazon);
  color: var(--amazon-ink);
  box-shadow: 0 4px 14px rgba(232, 137, 42, 0.3);
}
.btn-amazon:hover {
  background: var(--amazon-strong);
  color: var(--amazon-ink);
}
.btn-light {
  background: rgba(255, 255, 255, 0.94);
  color: #221b16;
}
.btn-light:hover {
  background: #fff;
  color: #221b16;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  border-color: var(--ember);
  color: var(--ember-strong);
}
.btn-small {
  padding: 0.65em 1em;
  font-size: 0.93rem;
}
.icon-arrow {
  transition: transform 0.15s ease;
}
.btn:hover .icon-arrow {
  transform: translateX(3px);
}

/* En-tête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.logo-mark {
  width: 40px;
  height: 40px;
  flex: none;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  white-space: nowrap;
}
.brand-name {
  font: 680 1.15rem/1.1 var(--font-head);
  letter-spacing: -0.01em;
}
.brand-place {
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon {
  width: 22px;
  height: 22px;
}
.icon-close,
.nav-open .icon-open {
  display: none;
}
.nav-open .icon-close {
  display: block;
}
.nav {
  display: none;
}
.nav-open .nav {
  display: block;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg);
  padding: 12px 16px 40px;
  overflow-y: auto;
  border-top: 1px solid var(--line);
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list > li > a,
.nav-more summary {
  display: block;
  padding: 14px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}
.nav-list a[aria-current="page"] {
  color: var(--ember-strong);
}
.nav-more summary {
  list-style: none;
}
.nav-more summary::-webkit-details-marker {
  display: none;
}
.nav-more summary::after {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-left: 0.55em;
  vertical-align: 0.2em;
}
.nav-more ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 8px 8px;
}
.nav-more ul a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 6px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.nav-more ul a .icon {
  color: var(--ember);
}
.nav-cta {
  margin-top: 18px;
  width: 100%;
}
@media (min-width: 1060px) {
  .nav-toggle {
    display: none;
  }
  .nav,
  .nav-open .nav {
    display: flex;
    align-items: center;
    gap: 14px;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    overflow: visible;
  }
  .nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
  }
  .nav-list > li > a,
  .nav-more summary {
    border: 0;
    padding: 8px 10px;
    border-radius: 999px;
    font-size: 0.93rem;
    white-space: nowrap;
  }
  .nav-list > li > a:hover,
  .nav-more summary:hover {
    background: var(--bg-soft);
  }
  .nav-more {
    position: relative;
  }
  .nav-more ul {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 260px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
  }
  .nav-more ul a {
    border-radius: 8px;
  }
  .nav-more ul a:hover {
    background: var(--bg-soft);
  }
  .nav-cta {
    margin: 0;
    width: auto;
    padding: 0.6em 1em;
    font-size: 0.92rem;
    white-space: nowrap;
    display: none;
  }
}
@media (min-width: 1400px) {
  .nav-cta {
    display: inline-flex;
  }
}

/* Fil d'Ariane et en-tête de page */
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0;
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
}
.breadcrumbs li + li::before {
  content: "/";
  margin: 0 8px;
  opacity: 0.5;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--ember-strong);
  text-decoration: underline;
}
.page-head {
  padding: 4px 0 18px;
  max-width: 860px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-strong);
  margin: 18px 0 0;
}
.lead {
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 0.9em;
}
.page-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}
.page-meta .dot {
  opacity: 0.6;
}
.hero-figure {
  margin: 8px 0 28px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  aspect-ratio: 3 / 2;
  max-height: 560px;
}
.hero-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (min-width: 900px) {
  .hero-figure {
    aspect-ratio: 21 / 9;
  }
}

/* Mise en page article */
.article-layout {
  display: grid;
  gap: 40px;
}
@media (min-width: 1060px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 56px;
  }
}
.article-aside {
  display: none;
}
@media (min-width: 1060px) {
  .article-aside {
    display: block;
  }
  .aside-sticky {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 18px;
  }
}
.toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 12px;
  font-size: 0.93rem;
}
.toc-title {
  font: 680 1rem var(--font-head);
  margin: 0 0 8px;
}
.toc ol {
  margin: 0;
  padding-left: 1.15em;
}
.toc li {
  margin: 0 0 7px;
}
.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}
.toc a:hover {
  color: var(--ember-strong);
}
.aside-pick {
  background: var(--soot);
  color: var(--soot-ink);
  border-radius: var(--radius);
  padding: 20px;
}
.aside-pick .eyebrow {
  color: #f4a26a;
  margin: 0 0 6px;
}
.aside-pick-title {
  font: 650 1.15rem/1.25 var(--font-head);
  margin: 0 0 6px;
}
.aside-pick-ideal {
  font-size: 0.9rem;
  opacity: 0.8;
}
.aside-pick .btn {
  width: 100%;
}

/* Texte courant */
.prose {
  min-width: 0;
  max-width: 760px;
}
.prose > h2:first-child {
  margin-top: 0.4em;
}
.prose ul,
.prose ol {
  padding-left: 1.25em;
  margin: 0 0 1.2em;
}
.prose li {
  margin: 0 0 0.45em;
}
.prose li::marker {
  color: var(--ember);
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  margin: 1.6em 0;
  padding: 16px 20px;
  background: var(--moss-soft);
  border-left: 4px solid var(--moss);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink);
}
.prose blockquote p:last-child {
  margin: 0;
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5em 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 1.4em 0 1.8em;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  -webkit-overflow-scrolling: touch;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.95rem;
  min-width: 520px;
}
th,
td {
  padding: 11px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
thead th {
  background: var(--bg-soft);
  font-weight: 700;
  font-size: 0.88rem;
}
tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: 0;
}
.inline-figure {
  margin: 1.8em 0;
}
.inline-figure img {
  border-radius: var(--radius-sm);
}
figcaption {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
}
.disclosure {
  font-size: 0.86rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

/* Sélections produits */
.picks-block {
  margin: 2em 0 2.4em;
}
.picks-head h2 {
  margin: 0 0 0.3em;
}
.picks-head p {
  color: var(--ink-soft);
}
.picks {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 16px;
}
.prose .picks {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
.pick {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px 18px;
  box-shadow: var(--shadow);
}
.pick-featured {
  border-color: color-mix(in srgb, var(--amazon) 60%, var(--line));
}
.pick-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin: 0 0 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--ember-soft);
  color: var(--ember-strong);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.pick-badge .icon {
  width: 0.95em;
  height: 0.95em;
}
.pick-title {
  font-size: 1.18rem;
  margin: 0 0 4px;
}
.pick-format {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 8px;
}
.pick-ideal {
  font-size: 0.93rem;
  margin: 0 0 10px;
}
.pick-list {
  list-style: none;
  padding: 0 !important;
  margin: 0 0 10px !important;
  font-size: 0.93rem;
}
.pick-list li {
  display: flex;
  gap: 8px;
  margin: 0 0 6px;
}
.pick-plus .icon {
  color: var(--moss);
  margin-top: 0.2em;
}
.pick-minus .icon {
  color: var(--muted);
  margin-top: 0.2em;
}
.pick .btn {
  margin-top: auto;
  width: 100%;
}
.picks-note {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.cta-banner {
  display: grid;
  gap: 12px;
  align-items: center;
  margin: 1.8em 0;
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--ember-soft);
  border: 1px solid color-mix(in srgb, var(--ember) 25%, transparent);
}
.cta-banner p {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
}
@media (min-width: 640px) {
  .cta-banner {
    grid-template-columns: 1fr auto;
  }
}

/* Cartes */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.card-img {
  aspect-ratio: 3 / 2;
  background: var(--bg-soft);
  overflow: hidden;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 18px 18px;
}
.card-body .eyebrow {
  margin: 0 0 6px;
  font-size: 0.74rem;
}
.card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.card-body p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.card-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ember-strong);
}

/* Puces de communes */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 !important;
  margin: 0;
}
.chips a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}
.chips a:hover {
  border-color: var(--ember);
  color: var(--ember-strong);
}
.chips .icon {
  color: var(--ember);
  width: 1em;
  height: 1em;
}
.local-banner {
  display: grid;
  gap: 18px;
  margin: 56px 0;
  padding: 28px 22px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--soot);
  color: var(--soot-ink);
}
.local-banner h2 {
  color: var(--soot-ink);
  margin: 6px 0 10px;
}
.local-banner p {
  color: color-mix(in srgb, var(--soot-ink) 82%, transparent);
}
.local-banner .eyebrow {
  color: #f4a26a;
  margin: 0;
}
.local-banner .chips a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--soot-ink);
}
.local-banner .chips a:hover {
  border-color: #f4a26a;
  color: #fff;
}
.local-banner .chips .icon {
  color: #f4a26a;
}
@media (min-width: 900px) {
  .local-banner {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    padding: 40px;
  }
}

/* FAQ */
.faq {
  margin: 2.6em 0 1em;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  margin: 0 0 10px;
}
.faq-item summary {
  cursor: pointer;
  padding: 14px 44px 14px 16px;
  font-weight: 650;
  position: relative;
  list-style: none;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ember);
}
.faq-item[open] summary::after {
  content: "\2212";
}
.faq-answer {
  padding: 0 16px 6px;
  color: var(--ink-soft);
}

/* Encadré auteur */
.author-box {
  display: flex;
  gap: 16px;
  margin: 2.6em 0 0;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.author-mark .logo-mark {
  width: 48px;
  height: 48px;
}
.author-name {
  font: 680 1.05rem var(--font-head);
  color: var(--ink);
  margin: 0 0 4px;
}
.author-date {
  display: flex;
  gap: 6px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0;
}

.related,
.nearby {
  margin: 56px auto 0;
}
.related > h2,
.nearby > h2 {
  margin-top: 0;
}

/* Fiche commune */
.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 10px;
  margin: 0 0 20px;
}
.facts div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}
.facts dt {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.facts dt .icon {
  color: var(--ember);
}
.facts dd {
  margin: 4px 0 0;
  font-weight: 600;
}

/* Rubriques */
.hub-list {
  margin: 48px 0;
}
.hub-content {
  margin: 0 0 20px;
}
.intro-prose {
  margin-bottom: 30px;
}
.guides-group {
  margin: 0 0 48px;
}
.guides-group h2 a {
  color: var(--ink);
  text-decoration: none;
}
.guides-group h2 a:hover {
  color: var(--ember-strong);
}
.sitemap-cols {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin: 20px 0 60px;
}
.sitemap-cols h2 {
  font-size: 1.2rem;
  margin: 0 0 10px;
}
.sitemap-cols h2 a {
  color: var(--ink);
}
.sitemap-cols ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.95rem;
}
.sitemap-cols li {
  margin: 0 0 6px;
}

/* Accueil */
.home-hero {
  position: relative;
  color: #fff;
  min-height: min(84vh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #2a211b;
}
.home-hero-media {
  position: absolute;
  inset: 0;
}
.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0.25) 0%, rgba(20, 14, 10, 0.35) 40%, rgba(20, 14, 10, 0.88) 100%);
}
.home-hero-inner {
  position: relative;
  padding-top: 120px;
  padding-bottom: 48px;
}
.home-hero h1 {
  color: #fff;
  max-width: 900px;
  font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem);
  margin-top: 0.25em;
}
.home-hero .lead {
  color: rgba(255, 255, 255, 0.9);
  max-width: 720px;
}
.eyebrow-light {
  color: #f6b585;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 26px;
}
.hero-trust {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 0.93rem;
  color: rgba(255, 255, 255, 0.88);
}
.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust .icon {
  color: #f6b585;
}
.section-head h2 {
  margin-top: 6px;
}
.home-sections {
  margin: 30px 0 60px;
}
.tiles {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  text-decoration: none;
  aspect-ratio: 4 / 3;
  background: #2a211b;
}
.tile-img,
.tile-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tile:hover .tile-img img {
  transform: scale(1.04);
}
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 14, 10, 0) 30%, rgba(20, 14, 10, 0.85) 100%);
}
.tile-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 16px 18px;
}
.tile-body .icon {
  color: #f6b585;
  width: 26px;
  height: 26px;
}
.tile-body h3 {
  color: #fff;
  margin: 4px 0 2px;
  font-size: 1.25rem;
}
.tile-body p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
}
.tile:hover {
  color: #fff;
}
@media (max-width: 640px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .tile {
    aspect-ratio: 1 / 1;
  }
  .tile-body {
    padding: 10px 12px;
  }
  .tile-body h3 {
    font-size: 1.02rem;
  }
  .tile-body p {
    display: none;
  }
  .tile-body .icon {
    width: 20px;
    height: 20px;
  }
}
.home-quiz {
  display: grid;
  gap: 26px;
  margin: 60px 0;
  padding: 30px 22px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--ember-soft);
}
.home-quiz h2 {
  margin-top: 6px;
}
.home-quiz .eyebrow {
  margin-top: 0;
}
.home-tools {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.home-tools a {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 16px;
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.home-tools a:hover {
  border-color: var(--ember);
}
.home-tools .icon {
  width: 30px;
  height: 30px;
  color: var(--ember);
}
.home-tools span {
  display: flex;
  flex-direction: column;
}
.home-tools small {
  color: var(--muted);
  font-size: 0.88rem;
}
@media (min-width: 900px) {
  .home-quiz {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 44px;
  }
}
.home-prose {
  margin: 0 auto;
  max-width: 820px;
}
.home-latest {
  margin: 20px 0 50px;
}
.home-faq {
  max-width: 820px;
  margin: 0 auto 60px;
}

/* Outils */
.tool-panel {
  margin: 10px 0 40px;
  padding: 22px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}
@media (min-width: 700px) {
  .tool-panel {
    padding: 32px;
  }
}
.calc-fields {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.field label {
  display: block;
  font-weight: 650;
  font-size: 0.95rem;
  margin: 0 0 6px;
}
.field small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
  margin-top: 6px;
  line-height: 1.4;
}
.field select,
.field input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
}
.field select:focus,
.field input:focus {
  border-color: var(--ember);
  outline: none;
}
.input-unit {
  position: relative;
}
.input-unit span {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 0.92rem;
  pointer-events: none;
}
.input-unit input {
  padding-right: 48px;
}
.calc-results {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin: 22px 0 12px;
}
.result {
  background: var(--soot);
  color: var(--soot-ink);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.result[hidden] {
  display: none;
}
.result-label {
  display: block;
  font-size: 0.82rem;
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.result output {
  display: block;
  font: 650 1.35rem/1.25 var(--font-head);
  margin-top: 4px;
}
.calc-note {
  font-size: 0.86rem;
  color: var(--muted);
  margin: 12px 0 0;
}
.calc-cta {
  margin-top: 14px;
}
.calc-table {
  min-width: 460px;
}
.calc-table td {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
.calc .table-wrap {
  margin-top: 22px;
}

/* Test */
.quiz-progress {
  height: 6px;
  background: var(--bg-soft);
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 20px;
}
.quiz-progress span {
  display: block;
  height: 100%;
  width: 20%;
  background: var(--ember);
  border-radius: 99px;
  transition: width 0.3s ease;
}
.quiz-step {
  border: 0;
  padding: 0;
  margin: 0 0 18px;
}
.quiz-step legend {
  font: 650 clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem) / 1.25 var(--font-head);
  margin-bottom: 16px;
  padding: 0;
}
.quiz-num {
  display: inline-block;
  font: 700 0.8rem var(--font-body);
  color: var(--ember-strong);
  background: var(--ember-soft);
  padding: 3px 8px;
  border-radius: 99px;
  vertical-align: 0.3em;
  margin-right: 6px;
}
.opts {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.opt input {
  position: absolute;
  opacity: 0;
}
.opt-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  height: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.opt-box small {
  color: var(--muted);
  font-size: 0.86rem;
}
.opt:hover .opt-box {
  border-color: var(--ember);
}
.opt input:checked + .opt-box {
  border-color: var(--ember);
  background: var(--ember-soft);
}
.opt input:focus-visible + .opt-box {
  outline: 3px solid var(--ember);
  outline-offset: 2px;
}
.quiz-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.quiz-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.quiz:not(.js) [data-quiz-prev] {
  display: none;
}
.quiz-result h2 {
  margin-top: 4px;
}
.quiz-result .eyebrow {
  margin-top: 0;
}
.quiz-result:focus {
  outline: none;
}
.quiz-qty {
  background: var(--moss-soft);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
}
.quiz-buy {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}
.quiz-guides {
  font-size: 0.95rem;
}

/* Barre d'achat mobile */
.sticky-cta {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 16px;
  background: var(--soot);
  color: var(--soot-ink);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.sticky-cta[hidden] {
  display: none;
}
.sticky-cta p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sticky-cta p span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f4a26a;
}
.sticky-cta .btn {
  flex: none;
}
@media (min-width: 1060px) {
  .sticky-cta {
    display: none !important;
  }
}

/* Pied de page */
.site-footer {
  margin-top: 70px;
  background: var(--soot);
  color: color-mix(in srgb, var(--soot-ink) 80%, transparent);
  font-size: 0.93rem;
  padding: 50px 0 20px;
}
.site-footer a {
  color: var(--soot-ink);
  text-decoration: none;
}
.site-footer a:hover {
  color: #f4a26a;
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-grid li {
  margin: 0 0 8px;
}
.footer-title {
  font: 680 1.05rem var(--font-head);
  color: var(--soot-ink);
  margin: 0 0 12px;
}
.brand-footer {
  color: var(--soot-ink);
  margin-bottom: 14px;
}
.brand-footer .brand-place {
  color: color-mix(in srgb, var(--soot-ink) 60%, transparent);
}
.footer-disclosure {
  font-size: 0.86rem;
  opacity: 0.8;
}
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  opacity: 0.75;
}
@media (min-width: 900px) {
  .footer-about {
    grid-column: span 1;
  }
}
@media print {
  .site-header,
  .site-footer,
  .sticky-cta,
  .article-aside,
  .local-banner {
    display: none !important;
  }
}

/* Carte de l'Eure et zones */
.eure-map {
  margin: 0 0 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
}
.eure-map svg {
  width: 100%;
  height: auto;
  display: block;
}
.map-dep {
  fill: var(--bg-soft);
  stroke: var(--oak);
  stroke-width: 1.2;
  stroke-linejoin: round;
}
.map-link circle {
  fill: var(--oak);
  stroke: var(--surface);
  stroke-width: 1.5;
  transition: r 0.15s ease, fill 0.15s ease;
}
.map-link:hover circle,
.map-link:focus circle {
  fill: var(--ember);
}
.map-link.is-current circle {
  fill: var(--ember);
  stroke-width: 2.5;
}
.map-link text {
  font: 600 12px var(--font-body);
  fill: var(--ink-soft);
  paint-order: stroke;
  stroke: var(--surface);
  stroke-width: 3px;
}
.map-link.is-current text {
  fill: var(--ember-strong);
  font-size: 14px;
}
.eure-map figcaption {
  margin-top: 6px;
}
.nearby-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .nearby-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  }
}
.chips small {
  color: var(--muted);
  font-weight: 500;
}
.local-all {
  margin: 14px 0 0;
  font-weight: 600;
}
.local-banner .local-all a {
  color: #f4a26a;
}
.zone-nav {
  margin: 0 0 30px;
}
.zone-group {
  margin: 0 0 48px;
}
.zone-group h2 small {
  font: 600 0.9rem var(--font-body);
  color: var(--muted);
  margin-left: 6px;
}
.facts {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
