/* ===== Plombier Wallonie — Global Stylesheet ===== */
:root {
  --paper: #F7F9FB; --paper-2: #E8EEF4; --ink: #1E2A35; --ink-soft: #4A5B6E;
  --accent: #2B6CB0; --accent-dark: #1A4971; --accent-light: #EBF4FF;
  --slate: #2D3E4F; --line: #D1DCE6; --green: #2f7a44; --green-bg: #EEF5EE;
  --amber-bg: #FBF0DC; --muted: #5A6B7E;
  --shadow: 0 1px 3px rgba(0,0,0,.06), 0 8px 30px rgba(0,0,0,.06);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05), 0 4px 14px rgba(0,0,0,.05);
  --radius: 12px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Archivo", system-ui, sans-serif; font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* --- Gov strip --- */
.gov-strip { background: var(--slate); color: #C8D6E2; font-size: 12.5px; letter-spacing: .02em; }
.gov-strip .container { display: flex; gap: 22px; justify-content: center; align-items: center; padding-top: 5px; padding-bottom: 5px; flex-wrap: wrap; }
.gov-strip span { display: inline-flex; align-items: center; gap: 7px; }
.gov-strip i { color: #7EB8E0; font-size: 13px; }
@media (max-width: 560px) { .gov-strip { font-size: 12px; } .gov-strip .container { gap: 12px; padding-top: 5px; padding-bottom: 5px; } }

/* --- Header --- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.hwrap { display: flex; align-items: center; justify-content: space-between; max-width: 1100px; margin: 0 auto; padding: 12px 24px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: "Fraunces", serif; font-weight: 600; font-size: 20px; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; border-radius: 8px; }
.brand-sep { display: none; }
.brand-txt { display: flex; flex-direction: column; }
.bn { letter-spacing: -.01em; }
.bs { font-family: "Archivo", sans-serif; font-weight: 500; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; gap: 22px; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--accent-dark); text-decoration: none; }
.burger { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.burger span { display: block; width: 22px; height: 2.5px; background: var(--ink); margin: 4px 0; border-radius: 2px; transition: .2s; }
.mobile-panel { display: none; }
@media (max-width: 820px) {
  .main-nav { display: none; }
  .burger { display: block; }
  .hwrap { padding: 10px 16px; }
  .brand { font-size: 17px; }
  .brand-mark { width: 30px; height: 30px; }
  .mobile-panel { position: fixed; top: 56px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 49; padding: 20px 24px; }
  .mobile-panel.open { display: block; }
  .mobile-panel nav { display: flex; flex-direction: column; gap: 14px; }
  .mobile-panel nav a { font-size: 17px; font-weight: 500; color: var(--ink); }
  .mobile-panel .btn-cta-block { margin-top: 16px; display: block; text-align: center; }
}
@media (max-width: 820px) {
  .hwrap > .btn-cta { display: none; }
}

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 9px; font-weight: 600; border: none; cursor: pointer; transition: transform .15s ease, background .15s ease; text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--accent-dark); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: var(--paper-2); color: var(--accent-dark); }
.btn-lg { padding: 15px 26px; font-size: 17px; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 10px 18px; border-radius: 9px; font-weight: 600; font-size: 15px; white-space: nowrap; }
.btn-cta:hover { background: var(--accent-dark); color: #fff; text-decoration: none; transform: translateY(-1px); }
.btn-cta i { font-size: 13px; }
.cta-short { display: none; }
@media (max-width: 500px) { .cta-long { display: none; } .cta-short { display: inline; } }

/* --- Hero --- */
.hero { padding: 50px 0 40px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-dark); background: var(--accent-light); padding: 6px 14px; border-radius: 999px; }
.eyebrow i { font-size: 12px; }
h1 { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(34px, 5vw, 50px); line-height: 1.08; letter-spacing: -.02em; margin: 16px 0 0; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); margin: 18px 0 0; max-width: 56ch; }
.hero-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 22px; font-size: 14px; color: var(--muted); }
.hero-trust i { color: var(--green); font-size: 13px; }
.hero-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 28px; box-shadow: var(--shadow); }
.hc-k { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--accent); }
.hero-card h3 { font-family: "Fraunces", serif; font-size: 24px; margin: 10px 0 6px; }
.hc-sub { color: var(--muted); font-size: 15px; margin: 0 0 14px; }
.hero-card ul { list-style: none; padding: 0; margin: 0 0 18px; }
.hero-card li { padding: 6px 0; font-size: 15px; display: flex; align-items: center; gap: 8px; }
.hero-card li i { color: var(--green); font-size: 14px; }
.hc-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.hc-note i { font-size: 11px; }

/* --- Sections --- */
.section { padding: 56px 0; }
.section.alt { background: var(--paper-2); }
.section-head { text-align: center; margin-bottom: 36px; }
h2 { font-family: "Fraunces", serif; font-weight: 600; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 8px; }
.lead-muted { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 8px auto 0; }

/* --- Grids --- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* --- Cards --- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); }
.card .ic { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-light); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 18px; margin-bottom: 14px; }
.card h3 { font-size: 18px; margin: 0 0 6px; }
.card-link { font-weight: 600; font-size: 14.5px; display: inline-block; margin-top: 10px; }

/* --- Steps --- */
.steps { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; }
.step { text-align: center; flex: 1; min-width: 220px; max-width: 320px; }
.step .n { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-family: "Fraunces", serif; font-weight: 700; font-size: 22px; margin-bottom: 14px; }
.step h3 { font-size: 19px; margin: 0 0 6px; }
.step p { color: var(--muted); font-size: 15.5px; }

/* --- Tiles (provinces) --- */
.tiles { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.tile { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 22px; min-width: 170px; text-align: center; box-shadow: var(--shadow-sm); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--accent); transform: translateY(-2px); text-decoration: none; }
.tile b { display: block; font-size: 17px; color: var(--ink); }
.tile span { font-size: 13.5px; color: var(--muted); }

/* --- Split layout --- */
.split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } }
.prose h2 { text-align: left; }
.prose p { color: var(--muted); }
.aside-cta { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); text-align: center; }
.aside-cta h3 { font-family: "Fraunces", serif; font-size: 24px; margin: 0 0 8px; }
.aside-cta p { color: var(--muted); font-size: 15px; margin: 0 0 18px; }
.aside-cta .repere { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* --- FAQ --- */
.faq details { border: 1px solid var(--line); border-radius: 10px; margin: 10px 0; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; padding: 16px 20px; font-weight: 600; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Fraunces", serif; font-size: 24px; color: var(--accent); line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }

/* --- CTA Band --- */
.cta-band { background: var(--slate); color: #fff; border-radius: 16px; padding: 44px 34px; text-align: center; margin: 0 auto; max-width: 800px; }
.cta-band h2 { color: #fff; margin: 0 0 8px; }
.cta-band p { color: #B8C6D1; margin: 0 auto 22px; max-width: 52ch; }
.cta-band .btn-primary:hover { background: #fff; color: var(--accent-dark); }
.cta-band .repere { font-size: 13.5px; color: #8A9DAD; margin-top: 16px; }

/* --- Footer --- */
footer.site-footer { background: var(--ink); color: #A8B8C8; font-size: 14.5px; margin-top: 50px; }
.foot-cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 30px; padding: 42px 24px 26px; max-width: 1100px; margin: 0 auto; }
@media (max-width: 860px) { .foot-cols { grid-template-columns: 1fr 1fr !important; } }
@media (max-width: 560px) { .foot-cols { grid-template-columns: 1fr !important; } }
footer h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 12px; }
footer a { color: #C8D6E2; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot-lead { max-width: 42ch; line-height: 1.6; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 24px; max-width: 1100px; margin: 0 auto; font-size: 13px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.foot-disclaimer { padding: 0 24px 28px; max-width: 1100px; margin: 0 auto; font-size: 12.5px; color: #7A8D9E; line-height: 1.6; }

/* --- Sticky CTA (couvreur-wallon style) --- */
.sticky-devis { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; transform: translateY(120%); transition: transform .35s cubic-bezier(.4,0,.2,1); background: var(--slate); border-top: 3px solid var(--accent); }
.sticky-devis.show { transform: translateY(0); }
.sticky-devis .sd-inner { max-width: 1100px; margin: 0 auto; padding: 13px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sticky-devis .sd-text { color: #fff; font-family: "Fraunces", serif; font-weight: 700; font-size: 1.16rem; display: flex; align-items: center; gap: 12px; }
.sticky-devis .sd-text i { color: #7EB8E0; }
.sticky-devis .sd-sub { display: block; font-family: "Archivo", sans-serif; font-size: .8rem; color: #8A9DAD; font-weight: 400; }
.sticky-devis .sd-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 15px; white-space: nowrap; text-decoration: none; transition: background .15s, color .15s; }
.sticky-devis .sd-btn:hover { background: #fff; color: var(--accent-dark); text-decoration: none; }
@media (max-width: 680px) { .sticky-devis .sd-inner { justify-content: center; text-align: center; } }
@media (max-width: 560px) {
  .sticky-devis .sd-inner { flex-wrap: nowrap; justify-content: space-between; text-align: left; padding: 9px 14px; gap: 10px; }
  .sticky-devis .sd-text { font-size: .92rem; gap: 8px; line-height: 1.15; }
  .sticky-devis .sd-text i { display: none; }
  .sticky-devis .sd-sub { display: none; }
  .sticky-devis .sd-btn { padding: 10px 16px; font-size: .86rem; white-space: nowrap; flex: none; }
}
body { padding-bottom: 0; }

/* --- Tables (mobile-friendly) --- */
table { width: 100%; border-collapse: collapse; }
@media (max-width: 760px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* --- Reveal animation --- */
.reveal { opacity: 0; transform: translateY(10px); animation: rise .6s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .reveal { animation: none; opacity: 1; transform: none; } }

/* --- Mobile content fixes --- */
@media (max-width: 560px) {
  .hero { padding: 30px 0 20px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .section { padding: 36px 0; }
  .container { padding: 0 16px; }
  .cta-band { padding: 30px 20px; border-radius: 12px; }
  .tile { min-width: 140px; padding: 14px 16px; }
  .step { min-width: 0; }
  .hero-card { padding: 20px; }
  h1 { font-size: clamp(28px, 7vw, 40px); }
  .lead { font-size: 17px; }
  img { height: auto; }
}

/* --- Narrow prose pages --- */
.narrow-page { max-width: 760px; margin: 40px auto; padding: 0 24px; }
.narrow-page h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 20px; }
.narrow-page h2 { margin-top: 36px; }
.narrow-page p, .narrow-page li { color: var(--muted); }
