/* ==========================================================
   Hiboclim — feuille de style
   Couleurs et polices issues de la charte graphique
   ========================================================== */

:root {
  /* Palette de la charte */
  --green: #009539;
  --green-ink: #00843a;   /* vert un peu plus foncé pour les petits textes et boutons (lisibilité) */
  --lime: #c3cf00;
  --yellow: #f2b100;
  --red: #d80000;
  --dark: #333333;
  --white: #ffffff;

  --text: #333333;
  --text-soft: #5c5c5c;
  --bg-alt: #f4f6f3;
  --line: #e3e6e1;

  /* Polices : la charte utilise Phonk Contrast (titres) et Lato (texte).
     Phonk Contrast n'étant pas disponible en ligne gratuitement, Archivo élargi la remplace.
     Si vous avez la licence Phonk Contrast, ajoutez-la et mettez-la en tête ci-dessous. */
  --font-title: "Phonk Contrast", "Archivo", "Arial Black", sans-serif;
  --font-body: "Lato", "Helvetica Neue", Arial, sans-serif;

  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --wrap: 1180px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Trame (motif de la charte) ---------- */
.trame { position: relative; isolation: isolate; }
.trame::before {
  content: "";
  position: absolute; inset: 0;
  /* Motif de la charte (lignes grises sur blanc), inversé puis fusionné :
     on obtient des lignes claires sur le fond vert ou anthracite. */
  background: url("assets/img/trame-fond.jpg") center / cover;
  filter: invert(1);
  mix-blend-mode: screen;
  opacity: .35;
  z-index: -1;
  pointer-events: none;
}
.trame-dark::before { opacity: .18; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  border: 2px solid transparent;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--green-ink); color: var(--white); }
.btn-primary:hover { background: #006e30; }
.btn-white { background: var(--white); color: var(--dark); }
.btn-white:hover { background: var(--dark); color: var(--white); }
.btn-ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: var(--white); color: var(--green-ink); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ---------- Logo ---------- */
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none;
  color: var(--green);
}
.logo-word {
  font-family: var(--font-title);
  font-weight: 900;
  font-stretch: 125%;
  font-size: 34px;
  letter-spacing: -.02em;
  line-height: 1;
}
.logo-o { width: 30px; height: auto; margin-left: 3px; transform: translateY(2px); }
.logo-light { color: var(--white); }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) {
  font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; color: var(--dark);
  position: relative; padding: 4px 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .2s;
}
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav .nav-tel { color: var(--green-ink); letter-spacing: .02em; }

.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background: var(--green);
  color: var(--white);
  overflow: hidden;
  padding: 48px 0 76px;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow {
  font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(32px, 3.8vw, 50px);
  letter-spacing: -.02em;
}
.lead { margin-top: 18px; font-size: 18px; max-width: 34em; opacity: .95; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero-visual img {
  width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 420px; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
}

/* Barres « étiquette énergie » de la charte */
.energy-bars {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  align-items: end;
  height: 34px;
  pointer-events: none;
}
.energy-bars i { display: block; height: 100%; }
.energy-bars i:nth-child(1) { background: var(--red);    clip-path: polygon(0 100%, 100% 70%, 100% 100%); }
.energy-bars i:nth-child(2) { background: var(--yellow); clip-path: polygon(0 68%, 100% 46%, 100% 100%, 0 100%); }
.energy-bars i:nth-child(3) { background: var(--lime);   clip-path: polygon(0 44%, 100% 22%, 100% 100%, 0 100%); }
.energy-bars i:nth-child(4) { background: var(--white);  clip-path: polygon(0 20%, 100% 0, 100% 100%, 0 100%); }
.energy-bars-top { position: static; height: 14px; }
.energy-bars-top i { clip-path: none !important; }
.energy-bars-top i:nth-child(4) { background: var(--green); }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: var(--white); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
.section-head p { margin-top: 16px; color: var(--text-soft); }

.title {
  display: block;
  font-family: var(--font-title);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -.02em;
  color: var(--dark);
}
.title-light { color: var(--white); }
.title-o { display: inline-block; width: .62em; height: auto; margin-left: .12em; vertical-align: top; transform: translateY(-.12em) rotate(-12deg); }

.muted { color: rgba(255,255,255,.75); margin-top: 16px; max-width: 34em; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service {
  padding: 32px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: transparent; }
.service-ico {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--green);
  margin-bottom: 22px;
}
.service-ico svg { width: 28px; height: 28px; fill: var(--green); }
.service h3 { font-family: var(--font-body); font-weight: 900; font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.service p { margin-top: 10px; color: var(--text-soft); font-size: 16px; }

/* Cartes expertise */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; max-width: 900px; margin: 0 auto; }
.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s;
}
.card:hover { transform: translateY(-4px); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 26px 26px 30px; border-top: 5px solid var(--green); }
.card:nth-child(2) .card-body { border-top-color: var(--lime); }
.card h3 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 22px; color: var(--green-ink); }
.card p { margin-top: 12px; color: var(--text-soft); font-size: 16px; }

/* Section anthracite */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.points { display: grid; grid-template-columns: repeat(4, 1fr); gap: 34px 32px; margin-top: 48px; }
.point-num {
  display: inline-grid; place-items: center;
  width: 54px; height: 54px; border-radius: 50%;
  border: 2px solid var(--c);
  color: var(--c);
  font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 16px;
  margin-bottom: 14px;
}
.point h3 { font-family: var(--font-body); font-weight: 900; font-size: 17px; }
.point p { margin-top: 6px; color: rgba(255,255,255,.75); font-size: 15.5px; }
.framed { margin: 0; padding: 16px; border: 2px solid rgba(255,255,255,.85); border-radius: 14px; }
.framed img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* Bandeau devis */
.cta-band { background: var(--green); color: var(--white); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: clamp(24px, 2.8vw, 34px); max-width: 18em; }
.cta-band p { margin-top: 10px; font-size: 18px; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cta-tel { text-decoration: none; }
.cta-tel strong { font-weight: 900; }

/* Certifications */
.certifs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.certif {
  display: flex; flex-direction: column; gap: 8px;
  padding: 26px 22px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 5px solid var(--green);
  box-shadow: var(--shadow);
}
.certif:nth-child(2) { border-top-color: var(--lime); }
.certif:nth-child(3) { border-top-color: var(--yellow); }
.certif:nth-child(4) { border-top-color: var(--red); }
.certif strong { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 18px; color: var(--dark); }
.certif span { color: var(--text-soft); font-size: 15px; }
.certif img { max-height: 100%; object-fit: contain; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-info > p { margin-top: 16px; color: var(--text-soft); }
.coords { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 16px; }
.coords li { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 19px; }
.coords svg { width: 44px; height: 44px; padding: 11px; border-radius: 50%; background: var(--green-ink); fill: var(--white); flex: none; }
.coords a { text-decoration: none; }
.coords a:hover { color: var(--green-ink); }

.form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid; gap: 18px;
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 16px;
  padding: 12px 14px;
  border: 1.5px solid #cfd4cc;
  border-radius: 6px;
  background: var(--white);
  color: var(--text);
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,149,57,.18); }
.form input[aria-invalid="true"] { border-color: var(--red); }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; color: var(--text-soft); min-height: 1.4em; }

/* Liens « en savoir plus » sur les cartes */
a.service, a.card { display: block; color: inherit; text-decoration: none; }
.more { display: inline-block; margin-top: 14px; font-weight: 900; font-size: 14px; color: var(--green-ink); }

/* Badges du hero */
.hero-badges { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 700; font-size: 15px; }
.hero-badges li { display: flex; align-items: center; gap: 6px; }
.hero-badges svg { width: 20px; height: 20px; fill: var(--lime); }

/* Pages intérieures */
.page-hero { background: var(--green); color: var(--white); overflow: hidden; padding: 44px 0 72px; }
.page-hero-inner { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: center; }
.page-hero h1 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: clamp(32px, 4.2vw, 52px); letter-spacing: -.02em; max-width: 16em; }
.page-hero-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; max-height: 360px; object-fit: cover; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.page-hero-simple { padding-bottom: 72px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 18px; opacity: .9; }
.breadcrumb a { color: var(--white); }

.wrap-narrow { max-width: 860px; }
.prose-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: start; }
.prose h2 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: clamp(24px, 2.6vw, 32px); color: var(--dark); margin: 0 0 18px; letter-spacing: -.01em; }
.prose p + p, .prose p + .checks, .prose .checks + p { margin-top: 16px; }
.prose p { color: var(--text); }
.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg { width: 22px; height: 22px; flex: none; margin-top: 2px; fill: var(--white); background: var(--green-ink); border-radius: 50%; padding: 3px; }

.side-card { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 28px; border-top: 5px solid var(--green); position: sticky; top: calc(var(--header-h) + 24px); }
.section-alt .side-card { background: var(--white); }
.side-card ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; }
.side-card li { padding-bottom: 12px; border-bottom: 1px solid var(--line); font-size: 16px; }
.side-title { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 20px; margin-bottom: 18px !important; }
.side-card-dark { background: var(--dark); color: var(--white); border-top-color: var(--yellow); }
.side-card-dark p { margin-bottom: 20px; }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.type { background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow); border-left: 5px solid var(--green); }
.type:nth-child(2) { border-left-color: var(--lime); }
.type:nth-child(3) { border-left-color: var(--yellow); }
.type h3 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 19px; color: var(--green-ink); }
.type p { margin-top: 12px; color: var(--text-soft); font-size: 16px; }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.steps li { counter-increment: step; position: relative; padding-top: 70px; display: grid; gap: 8px; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-ink); color: var(--white);
  font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 20px;
}
.steps li:nth-child(2)::before { background: #7f8a00; }
.steps li:nth-child(3)::before { background: #a87b00; }
.steps li:nth-child(4)::before { background: var(--red); }
.steps li:nth-child(5)::before { background: var(--dark); }
.steps strong { font-size: 17px; }
.steps span { color: var(--text-soft); font-size: 15.5px; }

.callout { margin-top: 28px; padding: 22px 24px; border-radius: var(--radius); background: #fff8e1; border-left: 5px solid var(--yellow); }
.callout strong { display: block; margin-bottom: 6px; }
.callout-center { text-align: center; border-left: 0; border-top: 5px solid var(--yellow); max-width: 640px; margin: 48px auto 0; }
.callout a { color: var(--green-ink); font-weight: 900; }
.note { margin-top: 24px; font-size: 14px; color: var(--text-soft); text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.prose .note { text-align: left; margin-left: 0; }

.two-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.two-lists > div { background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); }
.two-lists h3 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 19px; }

.framed-light { margin: 0; padding: 14px; border: 2px solid var(--green); border-radius: 14px; }
.framed-light img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }

/* Aides */
.aides { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aide { display: grid; gap: 8px; padding: 26px 22px; border-radius: var(--radius); background: var(--bg-alt); text-align: center; }
.aide strong { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 19px; color: var(--green-ink); }
.aide span { font-size: 15px; color: var(--text-soft); }

/* Marques */
.brands { margin-top: 56px; text-align: center; }
.brands-title { font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.brands-list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 36px; }
.brands-list li { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 20px; color: #9aa09a; }

/* Zones */
.zones-home { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zones-intro { margin: 18px 0 28px; color: var(--text-soft); }
.depts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.depts li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 8px; background: var(--bg-alt); font-weight: 700; }
.depts strong { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; color: var(--green-ink); min-width: 2.2em; }
.villes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.ville { padding: 26px 26px; border-radius: var(--radius); background: var(--bg-alt); border-left: 5px solid var(--green); }
.ville h2 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 20px; color: var(--dark); }
.ville p { margin-top: 10px; color: var(--text-soft); font-size: 16px; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-item summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 900; font-size: 17px; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--green-ink); }
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] { border-color: var(--green); }
.faq-item p { padding: 0 24px 22px; color: var(--text-soft); }

/* Contact */
.hours { margin-top: 20px; color: var(--text-soft); font-size: 15px; }
.form-legal { font-size: 13px; color: var(--text-soft); }
.form-legal a { color: var(--green-ink); }

/* Mentions légales */
.legal h2 { font-size: 22px; margin-top: 36px; }
.legal h2:first-child { margin-top: 0; }
.todo { background: #fff3c4; padding: 0 4px; border-radius: 3px; }

/* Bouton d'appel flottant (mobile) */
.call-fab { display: none; }

/* Pied de page */
.footer { background: var(--dark); color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-top: 52px; padding-bottom: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-col a, .footer-col span { font-size: 15px; opacity: .85; text-decoration: none; }
.footer-about { margin-top: 14px; opacity: .75; font-size: 15px; max-width: 26em; }
.footer-title { font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); margin-bottom: 4px; }
.footer a { text-decoration: none; }
.footer a:hover { opacity: 1; color: var(--lime); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 20px; padding-bottom: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px; opacity: .7;
}

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .nav { gap: 22px; }
  .nav .nav-tel { display: none; }
}

@media (max-width: 1080px) {
  .services, .points, .aides, .certifs { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 66px; }
  .burger { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
    max-height: calc(100vh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-tel { display: block; }
  .nav .btn { margin-top: 18px; }
}

@media (max-width: 900px) {
  .hero { padding: 36px 0 64px; }
  .hero-inner, .split, .contact, .page-hero-inner, .prose-grid, .zones-home { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual img { aspect-ratio: 4 / 3; }
  .page-hero-visual { display: none; }
  .side-card { position: static; }
  .cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .types, .two-lists, .villes { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-band h2 { max-width: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-col:first-child { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  body { font-size: 16px; padding-bottom: 64px; }
  .wrap { padding: 0 16px; }
  .logo-word { font-size: 28px; }
  .logo-o { width: 25px; }
  .services, .points, .field-row, .aides, .certifs, .steps, .depts, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .form { padding: 24px 18px; }
  .form .btn { justify-self: stretch; }
  .energy-bars { height: 24px; gap: 6px; }
  .side-card { padding: 24px 20px; }
  .call-fab {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40;
    height: 52px; border-radius: 10px;
    background: var(--green-ink); color: var(--white);
    font-weight: 900; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
  }
  .call-fab svg { width: 20px; height: 20px; fill: currentColor; }
}

.nowrap { white-space: nowrap; }

/* Certifications : 3 colonnes, logo optionnel */
.certifs { grid-template-columns: repeat(3, 1fr); }
.certif:nth-child(5) { border-top-color: var(--green); }
.certif:nth-child(6) { border-top-color: var(--dark); }
.certif-logo { height: 64px; width: auto; max-width: 160px; object-fit: contain; object-position: left center; align-self: flex-start; margin-bottom: 8px; }
.footer-certifs { font-size: 13px; font-weight: 700; color: var(--lime); letter-spacing: .04em; }
@media (max-width: 1080px) { .certifs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .certifs { grid-template-columns: 1fr; } }

/* Contact sans formulaire : deux gros boutons */
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 860px; margin: 0 auto; }
.contact-card {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 36px 24px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow); border-top: 5px solid var(--green);
  text-decoration: none; color: var(--dark);
  transition: transform .2s, box-shadow .2s;
}
.contact-card + .contact-card { border-top-color: var(--yellow); }
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.contact-card svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--green-ink); fill: var(--white); margin-bottom: 10px; }
.contact-label { font-weight: 900; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.contact-card strong { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: clamp(18px, 2.4vw, 26px); color: var(--green-ink); word-break: break-word; }
.contact-hint { font-size: 15px; color: var(--text-soft); }
.contact-zone { text-align: center; margin-top: 28px; color: var(--text-soft); font-weight: 700; }
@media (max-width: 700px) { .contact-cards { grid-template-columns: 1fr; } }

/* Bandeau ventilation sur l'accueil */
.vmc-banner {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  max-width: 900px; margin: 32px auto 0; padding: 22px 26px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 5px solid var(--lime); text-decoration: none; color: var(--text);
  transition: transform .2s;
}
.vmc-banner:hover { transform: translateY(-3px); }
.vmc-banner-tag { font-weight: 900; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--dark); padding: 6px 10px; border-radius: 4px; }
.vmc-banner-text { flex: 1 1 320px; color: var(--text-soft); }
.vmc-banner-text strong { color: var(--dark); }
.vmc-banner .more { margin-top: 0; }

/* En-tête : le logo et les liens du menu ne se compressent jamais */
.site-header .logo { flex-shrink: 0; }
.nav a { white-space: nowrap; }

/* Anneau placé au milieu du mot (Hib◯clim) : taille d'un « o » minuscule */
.logo-o-mid { width: 24px; margin: 0 1px 0 2px; transform: translateY(1px); }
@media (max-width: 560px) { .logo-o-mid { width: 20px; transform: translateY(1px); } }

/* Photo du haut : cadrage centré sur la pompe à chaleur */
.hero-visual img, .page-hero-visual img { object-position: 45% 40%; }

/* ---------- Mobile : bandeau vert compact ---------- */
@media (max-width: 560px) {
  .hero { padding: 22px 0 52px; }
  .hero-inner { gap: 20px; }
  .eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 10px; }
  .hero h1 { font-size: 28px; }
  .lead { margin-top: 12px; font-size: 16px; line-height: 1.5; }
  .hero-cta { margin-top: 18px; gap: 10px; }
  .hero-cta .btn { padding: 13px 18px; }
  .hero-badges { margin-top: 14px; gap: 6px 14px; font-size: 13.5px; }
  .hero-badges svg { width: 17px; height: 17px; }
  .hero-visual img { aspect-ratio: 16 / 9; max-height: 200px; }
  .page-hero { padding: 26px 0 52px; }
  .page-hero h1 { font-size: 27px; }
  .energy-bars { height: 18px; }
}

/* Bouton « Appeler » : masqué tant que le bandeau vert est à l'écran */
.call-fab { transition: transform .25s ease, opacity .25s ease; }
.call-fab.is-hidden { transform: translateY(130%); opacity: 0; pointer-events: none; }

/* Bandeau des logos de certification (sous le bandeau vert) */
.logos-bar { background: var(--white); border-bottom: 1px solid var(--line); padding: 22px 0; }
.logos-bar-inner { display: flex; align-items: center; justify-content: center; gap: 18px 32px; flex-wrap: wrap; }
.logos-bar-title { font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.logos-bar-list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 14px 32px; flex-wrap: wrap; justify-content: center; }
.logos-bar-list img { height: 56px; width: auto; }
.logos-bar-link { font-weight: 900; font-size: 14px; color: var(--green-ink); text-decoration: none; }
.logos-bar-link:hover { text-decoration: underline; }
@media (max-width: 560px) {
  .logos-bar { padding: 18px 0; }
  .logos-bar-list { display: grid; grid-template-columns: repeat(2, auto); gap: 14px 22px; }
  .logos-bar-list img { height: 46px; }
  .logos-bar-title { width: 100%; text-align: center; }
}

/* Page Certifications */
.cert-list { display: grid; gap: 28px; }
.cert-card {
  display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow);
  border-left: 6px solid var(--c, var(--green)); padding: 32px 34px;
}
.cert-logo { display: flex; align-items: center; justify-content: center; min-height: 120px; background: var(--bg-alt); border-radius: 8px; padding: 18px; }
.cert-logo img { max-width: 100%; max-height: 110px; width: auto; height: auto; }
.cert-body h2 { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: clamp(22px, 2.4vw, 28px); color: var(--dark); }
.cert-sub { margin: 6px 0 14px; font-weight: 900; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); }
.cert-body > p:not(.cert-sub) { color: var(--text); }
.center-cta { text-align: center; margin-top: 32px; }
@media (max-width: 760px) {
  .cert-card { grid-template-columns: 1fr; gap: 20px; padding: 24px 20px; }
  .cert-logo { min-height: 90px; justify-content: flex-start; background: none; padding: 0; }
  .cert-logo img { max-height: 80px; }
}

/* Adresse sous les boutons de contact */
.contact-zone a { color: var(--dark); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.contact-zone a:hover { color: var(--green-ink); }
.contact-zone svg { width: 18px; height: 18px; fill: var(--green-ink); }

/* Carte de localisation */
.map-block {
  display: grid; grid-template-columns: 1.6fr 1fr; gap: 0;
  max-width: 980px; margin: 40px auto 0;
  background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.map-frame { min-height: 340px; background: var(--bg-alt); }
.map-frame iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }
.map-info { padding: 30px 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; border-left: 5px solid var(--green); }
.map-title { font-weight: 900; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); }
.map-name { font-family: var(--font-title); font-weight: 900; font-stretch: 125%; font-size: 24px; color: var(--green-ink); }
.map-zone { color: var(--text-soft); font-size: 15px; }
.map-info .btn { margin-top: 8px; }
.map-info .btn svg { width: 16px; height: 16px; fill: currentColor; }
.map-osm { font-size: 14px; color: var(--green-ink); font-weight: 700; }
@media (max-width: 760px) {
  .map-block { grid-template-columns: 1fr; }
  .map-frame, .map-frame iframe { min-height: 260px; }
  .map-info { border-left: 0; border-top: 5px solid var(--green); padding: 22px 20px; }
}

/* Pied de page : liens légaux */
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--lime); }
/* Page Zones : villes proches */
.near-list { display: grid !important; grid-template-columns: 1fr 1fr; gap: 6px 14px !important; margin-bottom: 0 !important; }
.near-list li { border-bottom: 0 !important; padding-bottom: 0 !important; font-size: 15px !important; }

/* Liens vers les organismes officiels */
.cert-link { display: inline-block; margin-top: 16px; font-weight: 900; font-size: 14px; color: var(--green-ink); }
.verify-links { text-align: center; margin-top: 14px; font-size: 14px; color: var(--text-soft); }
.verify-links a, .callout a, .legal a { color: var(--green-ink); font-weight: 700; }
