/* Carnet de chantier en bleus : bleu Jimmy (boutons), bleu ciel (reflets), bleu profond (bandeaux), bleu nuit (texte). Aucun vert. */
:root {
  --paper: #f3f7fc;
  --card: #ffffff;
  --ink: #0f2340;
  --muted: #4f5f7a;
  --line: #d4dfee;
  --accent: #2ea3f2;
  --link: #1470b8;
  --accent-ink: #ffffff;
  --accent-soft: #e3f3fe;
  --sky: #2ea3f2;
  --deep: #0d4a8f;
  --tape: #f2b732;
  --tape-ink: #2a2006;
  --wa: #0d4a8f;
  --display: "Bricolage Grotesque", "Arial Narrow", Arial, sans-serif;
  --body: "Public Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --radius: 10px;
  --wrap: 1120px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0c1422; --card: #142035; --ink: #e5edf8; --muted: #9dacc4; --line: #283a58;
    --accent: #2ea3f2; --link: #7cc6f8; --accent-ink: #ffffff; --accent-soft: #15294a; --sky: #7cc6f8; --deep: #1f5fa8;
    --tape: #f2b732; --tape-ink: #2a2006; --wa: #3b8de0;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #0c1422; --card: #142035; --ink: #e5edf8; --muted: #9dacc4; --line: #283a58;
  --accent: #2ea3f2; --link: #7cc6f8; --accent-ink: #ffffff; --accent-soft: #15294a; --sky: #7cc6f8; --deep: #1f5fa8;
  --tape: #f2b732; --tape-ink: #2a2006; --wa: #3b8de0;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--body);
  padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--tape); outline-offset: 2px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.12; letter-spacing: -0.01em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.eyebrow { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.muted { color: var(--muted); }

/* En-tête */
.topbar { background: var(--ink); color: var(--paper); font-size: 0.85rem; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-block: 6px; flex-wrap: wrap; }
.topbar a { color: var(--paper); text-decoration: none; font-weight: 600; }
.topbar .stars { color: var(--tape); letter-spacing: 1px; }
header.site {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px; border-radius: 8px; background: var(--accent); color: var(--accent-ink);
  display: grid; place-items: center; font: 800 1.25rem/1 var(--display); flex: none;
}
.brand-name { font: 800 1.12rem/1.1 var(--display); display: block; }
.brand-sub { font-size: 0.78rem; color: var(--muted); display: block; }
nav.main ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
nav.main a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.97rem; padding: 8px 12px; border-radius: 8px; display: block; }
nav.main a:hover, nav.main a[aria-current="page"] { background: var(--accent-soft); color: var(--link); }
nav.main .has-sub { position: relative; }
nav.main .sub {
  position: absolute; top: 100%; left: 0; min-width: 250px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 6px; box-shadow: 0 12px 30px rgb(0 0 0 / 0.12);
  display: none; flex-direction: column; gap: 0;
}
nav.main .has-sub:hover .sub, nav.main .has-sub:focus-within .sub { display: flex; }
nav.main .sub a { font-weight: 500; }
header.site .nav-cta { display: none; }
.menu-btn {
  display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px;
  padding: 8px 12px; font: 600 0.95rem var(--body); cursor: pointer;
}
@media (min-width: 900px) { header.site .nav-cta { display: inline-flex; } }
@media (max-width: 899px) {
  .menu-btn { display: inline-block; }
  nav.main { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; align-items: stretch; padding: 8px 20px 16px; }
  nav.main .sub { position: static; display: flex; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px;
  border-radius: 10px; font: 700 1rem/1.2 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-wa { background: var(--wa); color: #fff; }
.cta-band .btn-wa { background: #0a3a72; }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Hero */
.hero { padding-block: 48px 40px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.25fr 0.9fr; } .hero { padding-block: 72px 56px; } }
.hero-text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.tape {
  background: linear-gradient(transparent 58%, color-mix(in srgb, var(--sky) 45%, transparent) 58%, color-mix(in srgb, var(--sky) 45%, transparent) 92%, transparent 92%);
  padding-inline: 2px;
}
.rating { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; color: var(--muted); flex-wrap: wrap; }
.rating strong { color: var(--ink); }
.rating .stars { color: var(--tape); letter-spacing: 2px; font-size: 1.1rem; }
.hero-photo { position: relative; max-width: 440px; justify-self: center; width: 100%; }
.hero-photo .frame { border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: var(--accent-soft); max-width: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo .label {
  position: absolute; left: -10px; bottom: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 14px; box-shadow: 0 10px 24px rgb(0 0 0 / 0.1); font-size: 0.9rem; max-width: 80%;
}
.hero-photo .label b { display: block; font-family: var(--display); font-size: 1.05rem; }

.trades { border-block: 1px solid var(--line); background: var(--card); }
.trades ul { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.trades a { color: var(--ink); text-decoration: none; font: 600 0.98rem var(--display); }
.trades a:hover { color: var(--link); }

/* Sections */
section.block { padding-block: 64px; }
section.block.alt { background: var(--card); border-block: 1px solid var(--line); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; max-width: 70ch; }

.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px;
  display: flex; flex-direction: column; gap: 10px; min-width: 0;
}
section.block.alt .card { background: var(--paper); }
.card p { color: var(--muted); font-size: 0.98rem; }
a.card { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.card:hover { border-color: var(--link); transform: translateY(-2px); }
.card .more { margin-top: auto; color: var(--link); font-weight: 700; font-size: 0.95rem; }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-soft); color: var(--link); display: grid; place-items: center; }
.card .ico svg { width: 22px; height: 22px; }

.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.checklist li { padding-left: 28px; position: relative; }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 0.45em; width: 14px; height: 8px;
  border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg);
}

/* Fiche d'intervention (étapes) */
.steps { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.step { padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.step .n { font-family: var(--mono); font-size: 0.8rem; color: var(--link); letter-spacing: 0.06em; }
.step p { color: var(--muted); font-size: 0.97rem; }

/* Crédit d'impôt SAP */
.sap { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.sap-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sap-card .cap { font-family: var(--mono); font-size: 0.82rem; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 12px; display: grid; gap: 4px; }
.sap-card .cap b { color: var(--ink); font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.sap-note { font-size: 0.9rem; color: var(--muted); margin-top: 18px; max-width: 75ch; }

/* Réalisations */
.projects { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.project { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.project .ph { aspect-ratio: 4 / 3; background: var(--accent-soft); overflow: hidden; max-width: 100%; }
.project .ph img { width: 100%; height: 100%; object-fit: cover; }
.project .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.project .body p { color: var(--muted); font-size: 0.95rem; }
.tag { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--link); }
.noimg { background-image: repeating-linear-gradient(135deg, transparent 0 12px, color-mix(in srgb, var(--accent) 10%, transparent) 12px 13px); }
.noimg img { display: none; }

/* Avis */
.reviews { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.review { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.review .stars { color: var(--tape); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 0.98rem; }
.review figcaption { font-weight: 700; font-size: 0.92rem; margin-top: auto; }
.review figcaption span { font-weight: 400; color: var(--muted); }

/* Bandeau CTA */
.cta-band { background: linear-gradient(120deg, var(--deep), #1f86d6 55%, var(--accent)); color: #fff; border-radius: 14px; padding: 32px; display: grid; gap: 18px; align-items: center; }
@media (min-width: 800px) { .cta-band { grid-template-columns: 1fr auto; } }
.cta-band p { opacity: 0.9; }
.cta-band .btn-ghost { border-color: var(--accent-ink); color: var(--accent-ink); }
.cta-band .btn-ghost:hover { background: var(--accent-ink); color: var(--link); }
.cta-band .btn-light { background: var(--accent-ink); color: var(--link); }

/* Page intérieure */
.page-head { padding-block: 44px 28px; border-bottom: 1px solid var(--line); }
.page-head .wrap { display: flex; flex-direction: column; gap: 16px; }
.crumbs { font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }
.prose { max-width: 70ch; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.5rem; margin-top: 18px; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.two { display: grid; gap: 32px; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; } }
.two > * { min-width: 0; }

.outcomes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.outcomes li { font: 700 1.15rem/1.3 var(--display); padding: 18px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* Articles */
.posts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.post:hover { border-color: var(--link); }
.post .ph { aspect-ratio: 16 / 10; background: var(--accent-soft); overflow: hidden; }
.post .ph img { width: 100%; height: 100%; object-fit: cover; }
.post .body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.post time { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }

/* Formulaire */
form.contact { display: grid; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
form.contact label { font-weight: 700; font-size: 0.95rem; display: grid; gap: 6px; }
form.contact input, form.contact textarea, form.contact select {
  font: 400 1rem var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 12px; width: 100%;
}
form.contact textarea { min-height: 140px; resize: vertical; }
form.contact .hp { position: absolute; left: -5000px; }
form.contact .small { font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; gap: 2px; }
.contact-list .k { font-family: var(--mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }
.contact-list .v { font-size: 1.15rem; font-weight: 700; }

/* Pied de page */
footer.site { background: var(--ink); color: color-mix(in srgb, var(--paper) 80%, transparent); margin-top: 64px; font-size: 0.95rem; }
footer.site a { color: var(--paper); text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site .cols { display: grid; gap: 28px; padding-block: 48px 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
footer.site h3 { color: var(--paper); font-size: 1rem; margin-bottom: 10px; }
footer.site ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
footer.site .legal { border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent); padding-block: 18px; font-size: 0.85rem; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: space-between; }
footer.site .mono { font-family: var(--mono); font-size: 0.82rem; }
footer.site button.linklike { background: none; border: 0; color: var(--paper); font: inherit; padding: 0; cursor: pointer; }

/* Barre d'appel mobile */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr 1fr 1fr;
  background: var(--card); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.callbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; font-size: 0.78rem; font-weight: 700; text-decoration: none; color: var(--ink); }
.callbar a svg { width: 22px; height: 22px; }
.callbar a.call { background: var(--accent); color: var(--accent-ink); }
.callbar a.wa svg { color: var(--wa); }
@media (min-width: 900px) { .callbar { display: none; } }

/* Bandeau cookies */
.consent {
  position: fixed; z-index: 70; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  max-width: 520px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 18px;
  box-shadow: 0 14px 40px rgb(0 0 0 / 0.18); display: grid; gap: 12px; font-size: 0.93rem;
}
@media (min-width: 900px) { .consent { bottom: 16px; left: 16px; } }
.consent .btn { min-height: 40px; padding: 8px 16px; font-size: 0.93rem; }

details.faq { border-bottom: 1px solid var(--line); padding-block: 14px; }
details.faq summary { font: 700 1.08rem var(--display); cursor: pointer; }
details.faq p { margin-top: 10px; color: var(--muted); }

/* Articles et réalisations */
.wrap.narrow { max-width: 800px; }
.post-title { font-size: clamp(1.9rem, 4.4vw, 2.9rem); }
.byline { color: var(--muted); font-size: 0.95rem; }
.article-body { display: flex; flex-direction: column; gap: 32px; padding-block: 36px 16px; }
.article-body .prose { max-width: none; font-size: 1.08rem; }
.article-body .prose h2 { font-size: 1.6rem; margin-top: 22px; }
.article-body .prose h3 { font-size: 1.25rem; margin-top: 14px; }
.article-body .prose img { border-radius: var(--radius); background: var(--accent-soft); width: 100%; height: auto; }
.article-body .prose blockquote { margin: 0; padding: 12px 18px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--radius) var(--radius) 0; }
.article-body .prose table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.article-body .prose th, .article-body .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.cover { margin: 0; border-radius: 14px; overflow: hidden; background: var(--accent-soft); aspect-ratio: 16 / 10; max-width: 100%; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.note { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; }
.note h2 { font-size: 1.35rem; }
a.project { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; }
a.project:hover { border-color: var(--link); transform: translateY(-2px); }

/* Commentaires */
.comments { display: grid; gap: 14px; margin-bottom: 28px; }
.comment { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; gap: 8px; }
.comment.reply { margin-left: clamp(16px, 5vw, 40px); border-left: 3px solid var(--accent); }
.comment header { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.comment header b { font-family: var(--display); font-size: 1.05rem; }
.comment header time { font-family: var(--mono); font-size: 0.78rem; color: var(--muted); }
.comment .owner { font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.05em; background: var(--accent); color: var(--accent-ink); border-radius: 4px; padding: 1px 6px; }
.comment p { white-space: pre-line; overflow-wrap: anywhere; }
.comment button.reply-btn { justify-self: start; background: none; border: 0; padding: 0; color: var(--link); font: 700 0.9rem var(--body); cursor: pointer; }
.form-msg { font-weight: 600; min-height: 1.2em; }
.form-msg.ok { color: var(--link); }
.form-msg.err { color: #b3261e; }
:root[data-theme="dark"] .form-msg.err { color: #ff8a80; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .form-msg.err { color: #ff8a80; } }
.avis-links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.review .who { display: flex; align-items: center; gap: 10px; margin-top: auto; }
.review .who img { width: 36px; height: 36px; border-radius: 50%; }
.review .src { font-size: 0.8rem; color: var(--muted); }

/* Logo */
.brand-logo { height: 44px; width: auto; flex: none; }
.brand-text { display: none; }
@media (min-width: 1100px) { .brand-text { display: block; } }
.noimg + .brand-text, .brand-logo[hidden] + .brand-text { display: block; }

/* Mobile : pas de téléphone dans l'en-tête (la barre d'appel en bas suffit) */
@media (max-width: 899px) {
  .topbar a[href^="tel:"], header.site .nav-cta { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* En-tête mobile : logo + menu, rien d'autre */
@media (max-width: 899px) {
  header.site .wrap { gap: 10px; }
  .brand-logo { height: 38px; }
  .topbar { font-size: 0.8rem; }
  .topbar .wrap { padding-block: 5px; text-align: center; }
}

/* Touches de bleu ciel */
.card .ico { background: var(--accent-soft); color: var(--accent); }
.step .n, .tag { color: var(--link); }
.trades a:hover { color: var(--sky); }
footer.site { background: linear-gradient(180deg, var(--ink), #0a1830); }
.callbar a.call { background: var(--accent); }
.cta-band .btn-ghost { border-color: #fff; color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--deep); }
.cta-band .btn-light { background: #fff; color: var(--deep); }

/* Boutons bleu clair (comme bricolagevincennes.fr) : texte blanc gras, légère ombre pour la lisibilité */
.btn-primary, .callbar a.call { background: var(--accent); color: #fff; text-shadow: 0 1px 1px rgb(0 0 0 / 0.25); }
.btn-primary:hover { background: #1f93e0; filter: none; }
a.card:hover, .post:hover, a.project:hover { border-color: var(--accent); }

/* Bannière d'en-tête avec photo (pages services) */
.page-head.has-hero {
  position: relative; color: #fff; border-bottom: 0; padding-block: 72px 56px;
  background: linear-gradient(100deg, rgb(8 30 60 / 0.88) 0%, rgb(8 30 60 / 0.62) 55%, rgb(8 30 60 / 0.35) 100%), var(--hero) center / cover no-repeat, var(--deep);
}
.page-head.has-hero h1, .page-head.has-hero .lead, .page-head.has-hero .crumbs, .page-head.has-hero .crumbs a { color: #fff; }
.page-head.has-hero .lead { opacity: 0.92; }
.page-head.has-hero .btn-ghost { border-color: #fff; color: #fff; }
.page-head.has-hero .btn-ghost:hover { background: #fff; color: var(--deep); }
.page-head.has-hero .btn-light { background: #fff; color: var(--deep); }

/* Résultats illustrés */
.outcomes li.with-img { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.outcomes li.with-img .ph { aspect-ratio: 540 / 394; background: var(--accent-soft); overflow: hidden; max-width: 100%; }
.outcomes li.with-img img { width: 100%; height: 100%; object-fit: cover; }
.outcomes li.with-img span { padding: 16px 18px; }
