/* chauffagistes-bruxelles.be | design rouge (feu) et bleu (eau) */
:root {
  --red: #e2211c;
  --red-d: #b81713;
  --red-dd: #8f0f0c;
  --blue: #3ba7e0;
  --blue-d: #1f7fb8;
  --ink: #0e2436;
  --ink-2: #33475a;
  --muted: #64798c;
  --wash: #f4f8fb;
  --wash-2: #e8f2f9;
  --line: #dce7ef;
  --amber: #f7a80d;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
}
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
a { color: var(--blue-d); }
a:hover { color: var(--red-d); }
img { max-width: 100%; height: auto; display: block; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 18px; z-index: 100; border-radius: 0 0 8px 0;
}
.skip:focus { left: 0; }

/* ===== Header ===== */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: 0 0 auto; }
.brand svg { flex: 0 0 auto; }
.brand-name { font-size: 1.22rem; font-weight: 800; letter-spacing: -0.5px; white-space: nowrap; text-transform: uppercase; }
.brand-name b { color: var(--red); font-weight: 800; margin-left: 0.32em; }

.main-nav { flex: 1 1 auto; min-width: 0; }
.main-nav ul { list-style: none; display: flex; flex-wrap: nowrap; gap: 17px; justify-content: center; }
.main-nav a {
  text-decoration: none; font-weight: 600; font-size: 0.88rem; color: var(--ink-2);
  white-space: nowrap; padding: 6px 0; border-bottom: 2px solid transparent;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--red-d); border-bottom-color: var(--red); }

.header-actions { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; margin-left: auto; }

/* Hamburger (mobile) */
.nav-toggle { display: none; }
.burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 10px; flex: 0 0 auto;
}
.burger span { display: block; height: 3px; border-radius: 2px; background: var(--ink); transition: transform 0.2s, opacity 0.2s; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; background: var(--red); color: #fff;
  font-weight: 700; text-decoration: none; border-radius: 10px; padding: 11px 18px;
  font-size: 0.92rem; box-shadow: 0 4px 12px rgba(226, 33, 28, 0.32); white-space: nowrap;
}
.btn:hover { background: var(--red-d); color: #fff; }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }

/* ===== Breadcrumbs ===== */
.crumbs { background: var(--wash); border-bottom: 1px solid var(--line); font-size: 0.85rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 9px 0; }
.crumbs li + li::before { content: "\203A"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--red-d); }
.crumbs span { color: var(--ink-2); font-weight: 600; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0b1c2b 0%, #12314a 52%, #1f7fb8 128%);
  color: #fff; padding: 50px 0 48px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; top: -40px; right: -40px; width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(226, 33, 28, 0.5), transparent 68%); pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 430px; gap: 52px; align-items: center; position: relative; z-index: 1; }
.hero h1 { font-size: clamp(1.65rem, 3.2vw, 2.35rem); line-height: 1.16; letter-spacing: -0.8px; }
.hero-copy p { margin-top: 15px; color: #d3e6f2; font-size: 1.02rem; }
.hero-bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.hero-bullets li { font-weight: 600; color: #eef7fd; font-size: 0.92rem; }
.hero-bullets li::before { content: "\2713"; color: var(--blue); font-weight: 800; margin-right: 8px; }
.hero-actions { margin-top: 24px; }
.hero-media { margin: 0; }
.hero-media img {
  width: 100%; border-radius: 18px; border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}

/* ===== Layout: content + sidebar ===== */
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 48px;
  align-items: start; padding-top: 42px; padding-bottom: 34px;
}
.page-content { min-width: 0; }
.page-content section { margin-bottom: 40px; }
.page-content h2 { font-size: 1.5rem; letter-spacing: -0.5px; margin-bottom: 12px; color: var(--ink); }
.page-content h3 { font-size: 1.1rem; margin: 18px 0 6px; color: var(--ink); }
.page-content p { margin-bottom: 13px; color: var(--ink-2); }
.page-content ul, .page-content ol { margin: 0 0 13px 22px; color: var(--ink-2); }
.page-content li { margin-bottom: 8px; }
.page-content li strong { color: var(--ink); }
.page-content h2::after {
  content: ""; display: block; width: 54px; height: 4px; border-radius: 99px;
  background: var(--red); margin-top: 9px;
}

/* Images de contenu */
.page-content figure { margin: 20px 0 26px; }
.page-content figure img { width: 100%; border-radius: 14px; border: 1px solid var(--line); }
.page-content figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }

/* Tableaux */
.page-content table { width: 100%; border-collapse: collapse; margin: 16px 0 20px; font-size: 0.92rem; }
.page-content th { background: var(--ink); color: #fff; text-align: left; padding: 10px 14px; font-weight: 600; }
.page-content td { padding: 10px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); vertical-align: top; }
.page-content tr:nth-child(even) td { background: var(--wash); }
.page-content td strong { color: var(--ink); }
.table-scroll { overflow-x: auto; }

/* Bloc mis en avant (couche non-commodity) */
.tip {
  background: var(--wash-2); border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: 12px; padding: 18px 22px; margin: 20px 0 24px;
}
.tip p { margin-bottom: 8px; }
.tip p:last-child { margin-bottom: 0; }
.tip strong { color: var(--blue-d); }

/* Bloc urgence (rouge) */
.tip.alert { background: #fdeceb; border-left-color: var(--red); }
.tip.alert strong { color: var(--red-d); }

/* Etapes */
.steps { counter-reset: step; list-style: none; margin-left: 0 !important; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; margin-bottom: 14px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 2px;
  width: 30px; height: 30px; border-radius: 50%; background: var(--red); color: #fff;
  font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center;
}

/* Cartes */
.cards { list-style: none; margin: 18px 0 0 !important; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); }
.cards li { margin: 0; }
.cards a {
  display: block; height: 100%; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; text-decoration: none; background: #fff;
  box-shadow: 0 3px 10px rgba(14, 36, 54, 0.05); transition: border-color 0.15s, transform 0.15s;
}
.cards a:hover { border-color: var(--blue); transform: translateY(-2px); }
.cards h3 { color: var(--ink); font-size: 1.02rem; margin: 0 0 6px; }
.cards p { color: var(--muted); font-size: 0.88rem; margin: 0; }

/* Lié / Lisez aussi */
.related { background: var(--wash); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; }
.related h2 { font-size: 1.14rem; }
.related h2::after { display: none; }
.related ul { margin-bottom: 0; }

/* FAQ */
.faq h2 { font-size: 1.5rem; margin-bottom: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 700; padding: 13px 18px; color: var(--ink); }
.faq summary:hover { color: var(--red-d); }
.faq details p { padding: 0 18px 14px; margin: 0; color: var(--ink-2); }

/* ===== Sidebar ===== */
.sidebar { position: sticky; top: 16px; }
.form-card {
  background: #fff; border: 2px solid var(--red); border-radius: 16px;
  padding: 24px; box-shadow: 0 16px 38px rgba(14, 36, 54, 0.14);
}
.form-card h2 { font-size: 1.24rem; letter-spacing: -0.3px; color: var(--ink); }
.form-card > p { color: var(--muted); font-size: 0.9rem; margin: 8px 0 14px; }
.cluster-nav {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 18px 20px; margin-top: 18px; box-shadow: 0 3px 10px rgba(14, 36, 54, 0.05);
}
.cluster-nav h2 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--blue-d); margin-bottom: 10px;
}
.cluster-nav ul { list-style: none; }
.cluster-nav li { margin: 0; border-top: 1px solid var(--line); }
.cluster-nav li:first-child { border-top: 0; }
.cluster-nav a {
  display: block; padding: 9px 0; font-size: 0.92rem; font-weight: 600;
  color: var(--ink-2); text-decoration: none;
}
.cluster-nav a:hover { color: var(--red-d); }
.cluster-nav a[aria-current="page"] {
  color: var(--red-d); border-left: 3px solid var(--red); padding-left: 10px; margin-left: -13px;
}
.usp-box {
  background: var(--wash); border: 1px solid var(--line); border-radius: 14px;
  padding: 16px 20px; margin-top: 18px;
}
.usp-box ul { list-style: none; }
.usp-box li { font-weight: 600; font-size: 0.88rem; color: var(--ink-2); margin-bottom: 8px; }
.usp-box li:last-child { margin-bottom: 0; }
.usp-box li::before { content: "\2713"; color: var(--red); font-weight: 800; margin-right: 8px; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #a7bccd; margin-top: 24px; font-size: 0.92rem; }
.site-footer a { color: #cfe1ee; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-top: 44px; padding-bottom: 30px; }
.footer-about .brand-name { color: #fff; }
.footer-about .brand-name b { color: #ff6b52; }
.footer-about p { margin-top: 14px; line-height: 1.7; }
.footer-col h2 { color: #fff; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 16px; padding-bottom: 22px;
  display: flex; flex-wrap: wrap; gap: 6px 30px; justify-content: space-between; font-size: 0.8rem; color: #7791a5;
}

/* ===== Responsive ===== */
@media (max-width: 1120px) {
  .main-nav ul { gap: 13px; }
  .main-nav a { font-size: 0.84rem; }
}

@media (max-width: 1000px) {
  .burger { display: flex; order: 4; }
  .header-actions { margin-left: auto; order: 3; }
  .header-actions .btn { display: none; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(14, 36, 54, 0.14); padding: 8px 20px 16px;
  }
  .nav-toggle:checked ~ .main-nav { display: block; }
  .nav-toggle:checked ~ .burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle:checked ~ .burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav li:last-child { border-bottom: 0; }
  .main-nav a { display: block; padding: 13px 4px; font-size: 1rem; border-bottom: 0; }

  .hero { padding: 36px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .hero-media { max-width: 560px; }
  .layout { display: flex; flex-direction: column; gap: 34px; }
  .sidebar { position: static; order: -1; width: 100%; max-width: 640px; }
}

@media (max-width: 480px) {
  .brand-name { font-size: 1.05rem; }
  .header-inner { gap: 12px; }
  .page-content h2 { font-size: 1.32rem; }
}
