/*
  Palette terre/artisan — page /realisations/
  Distinct du scaffold index.html (DM Sans + vert forêt #3a5c3e) et
  de anthonydebuck.be (sans-serif corporate).
  Choix : serif Georgia pour titres, corps système, terracotta #8c4a1a.
*/

:root {
  --bg:           #f5f0e8;
  --ink:          #1e1208;
  --muted:        #6b5a47;
  --accent:       #8c4a1a;
  --accent-soft:  #f0ddd0;
  --border:       #c9b89e;
  --gold:         #b8892a;
  --green-ok:     #2d6b2e;
  --green-soft:   #edf3ec;
  --red-nok:      #c0401a;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding: 0 24px;
}

.wrap { max-width: 760px; margin: 0 auto; padding: 52px 0 80px; }

/* ---- DRAFT BANNER ---- */
.draft-banner {
  background: #fff8e1;
  border: 2px solid #f9a825;
  border-radius: 6px;
  padding: 14px 18px;
  margin-bottom: 40px;
  font-size: 0.88rem;
  color: #5d4037;
  line-height: 1.5;
}

.draft-banner strong { color: #b71c1c; }

/* ---- HEADER ---- */
header { margin-bottom: 44px; }

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: var(--accent);
}

.tagline {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 5px;
}

/* ---- NAV PRINCIPALE ---- */
.site-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin: 10px 0 0;
  padding-top: 11px;
  border-top: 1px solid var(--border);
}

.site-nav a {
  font-size: 0.88rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover { color: var(--ink); }
.site-nav a.active { color: var(--accent); font-weight: 600; }

/* ---- BREADCRUMB ---- */
.breadcrumb {
  font-size: 0.84rem;
  color: var(--muted);
  margin-bottom: 28px;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; }

/* ---- HEADINGS ---- */
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.22;
  margin: 0 0 20px;
  letter-spacing: -0.4px;
  color: var(--ink);
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin: 36px 0 14px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

h3 {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 12px;
}

p { margin-bottom: 16px; }

p.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 32px;
}

/* ---- BADGE secteur/ville ---- */
.badge {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 4px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 18px;
}

/* ---- CAS CLIENT BLOCK ---- */
.cas-block {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px 36px;
  margin: 0 0 44px;
}

@media (max-width: 560px) { .cas-block { padding: 22px 18px; } }

.cas-identity {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.cas-identity dt { font-weight: 600; color: var(--ink); }
.cas-identity dd { display: inline; }

/* ---- PHOTO PLACEHOLDER ---- */
.photo-zone {
  background: var(--accent-soft);
  border: 2px dashed var(--border);
  border-radius: 6px;
  padding: 32px 24px;
  text-align: center;
  margin: 0 0 26px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.photo-zone .icon { font-size: 1.8rem; display: block; margin-bottom: 8px; }

/* ---- VERBATIM ---- */
blockquote.verbatim {
  border-left: 4px solid var(--accent);
  padding: 16px 22px;
  margin: 26px 0;
  background: var(--accent-soft);
  border-radius: 0 6px 6px 0;
}

blockquote.verbatim p {
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--ink);
  margin: 0 0 10px;
}

blockquote.verbatim cite {
  display: block;
  font-size: 0.84rem;
  font-style: normal;
  color: var(--muted);
}

/* ---- AVANT / APRÈS GRID ---- */
.avantapres {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 22px 0 28px;
}

@media (max-width: 520px) { .avantapres { grid-template-columns: 1fr; } }

.avant, .apres {
  padding: 18px 20px;
  border-radius: 6px;
  font-size: 0.9rem;
}

.avant {
  background: #fdf4f0;
  border: 1px solid #ddc2b0;
}

.apres {
  background: var(--green-soft);
  border: 1px solid #b5d1b3;
}

.avant h3 { color: var(--red-nok); }
.apres h3 { color: var(--green-ok); }

.avant ul, .apres ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.avant li, .apres li { margin-bottom: 7px; padding-left: 20px; position: relative; }

.avant li::before {
  content: "✕";
  position: absolute; left: 0;
  color: var(--red-nok);
  font-size: 0.82rem;
}

.apres li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green-ok);
  font-size: 0.82rem;
}

/* ---- RÉSULTATS DÉCLARÉS ---- */
.resultats {
  background: #f5f9f4;
  border: 1px solid #b5d1b3;
  border-radius: 6px;
  padding: 18px 22px;
  margin-top: 8px;
  font-size: 0.92rem;
}

.resultats .label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--green-ok);
  margin-bottom: 10px;
}

.resultats ul { list-style: none; padding: 0; }
.resultats li { margin-bottom: 8px; padding-left: 18px; position: relative; }
.resultats li::before { content: "→"; position: absolute; left: 0; color: var(--green-ok); }

/* ---- DÉDUCTIBILITÉ ---- */
.deductibilite {
  background: #fcf8ee;
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 22px 26px;
  margin: 40px 0;
}

.deductibilite h2 {
  margin-top: 0;
  font-size: 1.1rem;
  color: var(--ink);
}

.deductibilite p { font-size: 0.92rem; color: var(--muted); }
.deductibilite p:last-child { margin-bottom: 0; }

.deductibilite .disclaimer {
  font-size: 0.82rem;
  font-style: italic;
  margin-top: 12px;
}

/* ---- CTA BLOCK ---- */
.cta-page {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 32px;
  margin: 40px 0;
  text-align: center;
}

.cta-page h2 { margin-top: 0; }

.btn-primary {
  display: inline-block;
  padding: 13px 30px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.2px;
  margin-top: 12px;
}

.btn-primary:hover { opacity: 0.9; }

.cta-sub {
  margin-top: 10px;
  font-size: 0.87rem;
  color: var(--muted);
}

.cta-sub a { color: var(--muted); }

/* ---- FOOTER ---- */
footer {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.87rem;
}

footer a { color: var(--muted); }

.footer-links { margin-top: 8px; }
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* ---- SIGNAL ADMIN (inline dans chaque cas) ---- */
.admin-signal {
  background: #fcf8ee;
  border-left: 4px solid var(--gold);
  border-radius: 0 6px 6px 0;
  padding: 14px 18px;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.admin-signal strong { color: var(--ink); }

/* ---- RESULT LABEL ---- */
.result-label {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.95rem;
  font-weight: 400;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0;
  color: var(--green-ok);
  margin: 26px 0 8px;
}

/* ---- SITE NAV ---- */
.site-nav {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  font-size: 0.88rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--accent);
  text-decoration: underline;
}

/* ---- STICKY MOBILE ---- */
.sticky-cta-mobile {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--accent);
  padding: 13px 20px;
  z-index: 200;
  text-align: center;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.12);
}

.sticky-cta-mobile a { color: white; font-weight: 700; font-size: 1rem; text-decoration: none; }

@media (max-width: 639px) {
  .sticky-cta-mobile { display: block; }
  body { padding-bottom: 58px; }
}
