/* ESSM — feuille de style du site public */
:root {
  --c-primary: #12456b;     /* bleu profond */
  --c-primary-d: #0b2f4a;
  --c-accent: #e9820c;      /* orange solaire */
  --c-accent-d: #c76c05;
  --c-text: #1d2733;
  --c-muted: #5b6876;
  --c-line: #dde3ea;
  --c-bg: #ffffff;
  --c-bg-alt: #f3f6f9;
  --c-ok: #1f7a4a;
  --c-err: #b42318;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(16,40,64,.06), 0 4px 16px rgba(16,40,64,.06);
  --wrap: 1180px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.6 var(--font); color: var(--c-text); background: var(--c-bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-primary); }
a:hover { color: var(--c-accent-d); }
h1, h2, h3 { line-height: 1.2; color: var(--c-primary-d); margin: 0 0 .6em; }
h1 { font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 10px; top: 10px; background: #fff; padding: 8px 12px; z-index: 100; }
:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* Boutons */
.btn { display: inline-block; background: var(--c-accent); color: #fff; text-decoration: none; font-weight: 600;
  padding: .75em 1.4em; border-radius: 999px; border: 2px solid var(--c-accent); cursor: pointer; font-size: 1rem; line-height: 1.2; }
.btn:hover { background: var(--c-accent-d); border-color: var(--c-accent-d); color: #fff; }
.btn-sm { padding: .5em 1em; font-size: .92rem; }
.btn-block { display: block; text-align: center; }
.btn-ghost { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.btn-light { background: #fff; color: var(--c-primary-d); border-color: #fff; }
.btn-light:hover { background: #ffe9cf; border-color: #ffe9cf; color: var(--c-primary-d); }
.btn-outline-light { background: transparent; color: #fff; border-color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--c-primary-d); }

/* En-tête */
.topbar { background: var(--c-primary-d); color: #cfdbe6; font-size: .85rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 12px; padding-top: 6px; padding-bottom: 6px; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.site-header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; display: flex; align-items: center; }
.brand-logo { height: 60px; width: auto; }
.brand-text { font-size: 1.7rem; font-weight: 800; color: var(--c-primary); letter-spacing: .04em; }
.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > a, .sub-toggle { color: var(--c-text); text-decoration: none; padding: .55em .8em; border-radius: 6px; font-weight: 500;
  background: none; border: 0; font: inherit; cursor: pointer; }
.main-nav > a:hover, .sub-toggle:hover { background: var(--c-bg-alt); color: var(--c-primary); }
.main-nav a[aria-current="page"] { color: var(--c-accent-d); }
.main-nav > a.btn { margin-left: 8px; color: #fff; background: var(--c-accent); padding: .5em 1.1em; border-radius: 999px; }
.main-nav > a.btn:hover { background: var(--c-accent-d); color: #fff; }
.has-sub { position: relative; }
.sub-toggle::after { content: " ▾"; font-size: .8em; }
.sub { display: none; position: absolute; top: 100%; left: 0; background: #fff; min-width: 300px; box-shadow: var(--shadow);
  border: 1px solid var(--c-line); border-radius: var(--radius); padding: 8px; }
.sub a { display: block; padding: .5em .8em; border-radius: 6px; color: var(--c-text); text-decoration: none; }
.sub a:hover { background: var(--c-bg-alt); }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.nav-toggle { display: none; background: var(--c-primary); color: #fff; border: 0; border-radius: 6px; padding: .55em 1em; font: inherit; font-weight: 600; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 10px 20px 20px; border-bottom: 1px solid var(--c-line); box-shadow: var(--shadow); }
  .main-nav.open { display: flex; }
  .sub { position: static; box-shadow: none; border: 0; padding: 0 0 0 12px; min-width: 0; }
  .has-sub:hover .sub { display: none; }
  .has-sub.open .sub, .has-sub:focus-within .sub { display: block; }
  .sub-toggle { width: 100%; text-align: left; }
  .main-nav .btn { margin: 10px 0 0; text-align: center; }
}

.breadcrumb { font-size: .88rem; color: var(--c-muted); padding-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--c-muted); }

/* Héros */
.hero { background: linear-gradient(135deg, #eef4f9 0%, #fff6ec 100%); }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.hero-inner:not(:has(img)) { grid-template-columns: 1fr; max-width: 860px; }
.hero-img { border-radius: 16px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.eyebrow { text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; font-weight: 700; color: var(--c-accent-d); }
.lead { font-size: 1.15rem; color: var(--c-muted); max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .hero-inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; } }

/* Sections et grilles */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-alt { background: var(--c-bg-alt); }
.section-title { margin-bottom: 28px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 860px) { .two-cols { grid-template-columns: 1fr; gap: 24px; } }

.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.service-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.service-card > div { padding: 18px 20px 20px; }
.service-card h3 { color: var(--c-primary); }
.service-card p { color: var(--c-muted); margin: 0; font-size: .96rem; }

.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--c-line); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card a { text-decoration: none; color: inherit; display: block; height: 100%; }
.card-img { position: relative; aspect-ratio: 4/3; background: var(--c-bg-alt); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-noimg { width: 100%; height: 100%; background: repeating-linear-gradient(45deg, #e8eef4, #e8eef4 10px, #f1f5f9 10px, #f1f5f9 20px); }
.card-body { padding: 16px 18px 18px; }
.card-body h3 { margin-bottom: .3em; color: var(--c-primary-d); }
.card-body p { margin: 0 0 .4em; font-size: .95rem; color: var(--c-muted); }
.card-meta { font-size: .85rem !important; font-weight: 600; color: var(--c-accent-d) !important; }
.tag { position: absolute; left: 12px; top: 12px; background: rgba(11,47,74,.88); color: #fff; font-size: .78rem; font-weight: 600;
  padding: .3em .7em; border-radius: 999px; }
.tag-link { position: static; display: inline-block; text-decoration: none; margin-bottom: 12px; }
.tag-link:hover { color: #fff; background: var(--c-accent-d); }

.checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.checklist li { padding-left: 30px; position: relative; margin-bottom: .6em; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #fff; background: var(--c-accent);
  width: 20px; height: 20px; border-radius: 50%; font-size: .75rem; display: grid; place-items: center; margin-top: .2em; }
.zone-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zone-list span { background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: 999px; padding: .25em .8em; font-size: .9rem; }

/* Pages de contenu */
.page { padding-top: 24px; padding-bottom: 56px; }
.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
@media (max-width: 900px) { .page-grid { grid-template-columns: 1fr; } }
.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.side { position: sticky; top: 96px; display: grid; gap: 20px; }
.side-img { border-radius: var(--radius); width: 100%; }
.side-box { background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px; }
.side-phone { text-align: center; margin: 12px 0 0; font-weight: 700; font-size: 1.2rem; }
.side-phone a { text-decoration: none; }

/* Réalisations */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 32px; }
.filters a { text-decoration: none; border: 1px solid var(--c-line); border-radius: 999px; padding: .4em 1em; color: var(--c-text); font-size: .93rem; }
.filters a:hover { border-color: var(--c-primary); }
.filters a[aria-current] { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 40px; }
.pagination a { min-width: 40px; text-align: center; padding: .4em .6em; border: 1px solid var(--c-line); border-radius: 6px; text-decoration: none; }
.pagination a[aria-current] { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.empty { color: var(--c-muted); padding: 40px 0; }

.chantier-head { margin-bottom: 32px; }
.facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 12px 32px; }
.facts li { display: flex; flex-direction: column; font-weight: 600; }
.facts span { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); font-weight: 600; }
.chantier-text { margin: 40px 0; }
.phase { margin: 40px 0; }
.hint { color: var(--c-muted); font-size: .92rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 8px; aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; }
.gallery figcaption { font-size: .88rem; color: var(--c-muted); margin-top: 6px; }
.chantier-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 48px; }
.chantier-cta p { flex: 1 1 320px; margin: 0; }

/* Comparateur avant / après */
.compare { position: relative; margin: 0 0 28px; max-width: 980px; border-radius: 12px; overflow: hidden; background: #000;
  --pos: 50%; user-select: none; touch-action: pan-y; }
.compare img { width: 100%; height: 100%; object-fit: cover; }
.compare-after { position: absolute; inset: 0; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%);
  z-index: 2; pointer-events: none; box-shadow: 0 0 6px rgba(0,0,0,.4); }
.compare-handle::after { content: "◀ ▶"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #fff;
  color: var(--c-primary-d); font-size: .7rem; letter-spacing: 2px; width: 46px; height: 46px; border-radius: 50%; display: grid;
  place-items: center; box-shadow: 0 2px 8px rgba(0,0,0,.3); }
.compare-label { position: absolute; top: 12px; z-index: 2; background: rgba(0,0,0,.6); color: #fff; font-size: .8rem; font-weight: 700;
  padding: .3em .8em; border-radius: 999px; pointer-events: none; text-transform: uppercase; letter-spacing: .06em; }
.compare-label-before { left: 12px; }
.compare-label-after { right: 12px; }
.compare figcaption { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff; padding: 24px 16px 12px; font-size: .9rem; pointer-events: none; }
.compare-range:focus-visible ~ .compare-handle::after { outline: 3px solid var(--c-accent); }

/* Visionneuse */
.lightbox { position: fixed; inset: 0; background: rgba(5,15,25,.92); z-index: 200; display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 20px; }
.lightbox img { max-height: 84vh; max-width: 94vw; width: auto; border-radius: 6px; }
.lightbox p { color: #fff; margin: 12px 0 0; }
.lightbox button { position: absolute; background: rgba(255,255,255,.15); color: #fff; border: 0; font-size: 1.6rem; width: 48px; height: 48px;
  border-radius: 50%; cursor: pointer; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* Formulaires */
.form { display: grid; gap: 14px; max-width: 680px; }
.form label { display: grid; gap: 4px; font-weight: 600; font-size: .95rem; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .65em .8em; border: 1px solid #c3cdd8; border-radius: 8px; width: 100%; background: #fff; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--c-primary); outline: 2px solid rgba(18,69,107,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; color: var(--c-muted); }
.form .check input { width: auto; margin-top: .3em; }
.form button { justify-self: start; }
.hp { position: absolute !important; left: -9999px !important; }
.field-err { color: var(--c-err); font-size: .88rem; margin: -8px 0 0; }
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 20px; }
.alert-ok { background: #e7f5ed; color: var(--c-ok); border: 1px solid #b8e0c8; }
.alert-err { background: #fdecea; color: var(--c-err); border: 1px solid #f5c2bd; }

/* Bandeau d'appel et pied de page */
.cta-band { background: var(--c-primary); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 40px; padding-bottom: 40px; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; color: #cfe0ee; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.site-footer { background: var(--c-primary-d); color: #b9c8d6; font-size: .93rem; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer-brand { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: .04em; margin-bottom: .3em; }
.footer-title { font-weight: 700; color: #fff; text-transform: uppercase; font-size: .8rem; letter-spacing: .1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .35em; }
.site-footer ul a { color: #b9c8d6; text-decoration: none; }
.site-footer ul a:hover { color: #fff; }
.labels { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 1em; }
.labels img { background: #fff; border-radius: 6px; padding: 6px; height: 72px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; padding-top: 16px; padding-bottom: 20px; font-size: .85rem; }

.labels-home img { border: 1px solid var(--c-line); height: 84px; }

/* Actualités */
.article { max-width: 860px; }
.article-head { margin-bottom: 24px; }
.article-cover { margin: 0 0 32px; }
.article-cover img { border-radius: 12px; width: 100%; }
.article-cover figcaption, .article-figure figcaption { font-size: .88rem; color: var(--c-muted); margin-top: 6px; }
.article-figure { margin: 28px 0; }
.article-figure img { border-radius: 10px; width: 100%; cursor: zoom-in; }
.article-body { max-width: none; font-size: 1.05rem; }

/* ===================== Accueil « vivant » ===================== */
.btn-lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn .ico, .callbar .ico { vertical-align: -3px; }
.eyebrow-light { color: #ffc46b; }
.center { text-align: center; margin-top: 32px; }
.muted-light { color: #b8cbe0; }

.hero2 { position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 85% 20%, #f7a531 0, rgba(247,165,49,0) 38%),
              linear-gradient(135deg, #0b2f4a 0%, #12456b 55%, #1d6596 100%); }
.hero2.has-photo { background: linear-gradient(100deg, rgba(8,30,48,.92) 0%, rgba(8,30,48,.75) 45%, rgba(8,30,48,.25) 100%), var(--hero) center/cover no-repeat; }
.hero2-sun { position: absolute; right: -120px; top: -120px; color: rgba(255,196,107,.22); animation: spin 90s linear infinite; pointer-events: none; }
.hero2.has-photo .hero2-sun { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero2-inner { position: relative; padding-top: 96px; padding-bottom: 88px; max-width: var(--wrap); }
.hero2 h1 { color: #fff; font-size: clamp(2.2rem, 1.4rem + 3.6vw, 4rem); letter-spacing: -.02em; max-width: 16ch; animation: rise .8s ease both; }
.hero2 .hl { color: #ffb347; }
.hero2 .lead { color: #d8e5f0; font-size: 1.2rem; max-width: 58ch; animation: rise .8s .15s ease both; }
.hero2 .hero-actions { animation: rise .8s .3s ease both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.trust { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 600; color: #e6eef5; font-size: .95rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust .ico { color: #ffb347; }

.stats { background: var(--c-accent); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; padding-top: 36px; padding-bottom: 36px; }
.stat-num { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); font-weight: 800; line-height: 1; margin: 0 0 6px; }
.stat-txt { margin: 0; font-size: .95rem; color: #fff3e3; }

.svc { display: flex; flex-direction: column; gap: 6px; padding: 28px 26px; border-radius: 14px; background: #fff; border: 1px solid var(--c-line);
  text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--c-accent); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(16,40,64,.12); border-color: transparent; color: inherit; }
.svc:hover::after { transform: scaleX(1); }
.svc-ico { width: 68px; height: 68px; border-radius: 18px; display: grid; place-items: center; background: #fff2e0; color: var(--c-accent-d); margin-bottom: 8px; transition: background .2s, color .2s; }
.svc:hover .svc-ico { background: var(--c-accent); color: #fff; }
.svc h3 { color: var(--c-primary-d); margin: 0; }
.svc p { color: var(--c-muted); margin: 0; flex: 1; }
.svc-more { color: var(--c-accent-d); font-weight: 700; font-size: .92rem; margin-top: 8px; }

.section-dark { background: var(--c-primary-d); color: #e6eef5; }
.section-dark h2 { color: #fff; }
.showcase { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: center; }
.showcase .compare { margin: 0; }
@media (max-width: 900px) { .showcase { grid-template-columns: 1fr; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps li { position: relative; padding: 28px 22px 22px; background: var(--c-bg-alt); border-radius: 14px; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -16px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--c-accent); color: #fff; font-weight: 800; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(233,130,12,.4); }
.step-ico { color: var(--c-primary); display: block; margin-bottom: 10px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; color: var(--c-muted); font-size: .96rem; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.section-warm { background: linear-gradient(180deg, #fff8ef 0%, #fff 100%); }
.offer { background: #fff; border-radius: 14px; padding: 26px; border: 1px solid #f3dcc0; box-shadow: 0 6px 20px rgba(233,130,12,.07); }
.offer-ico { color: var(--c-accent-d); display: block; margin-bottom: 10px; }
.offer p { color: var(--c-muted); margin: 0; }

.review { margin: 0; background: #fff; border-radius: 14px; padding: 26px; border: 1px solid var(--c-line); position: relative; }
.review-ico { color: var(--c-accent); }
.review p { font-size: 1.02rem; }
.review footer { color: var(--c-muted); font-size: .92rem; }
.review footer strong { color: var(--c-text); }

.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 10px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--c-primary-d); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--c-accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--c-muted); margin: 0 0 16px; }
.zone-list .ico { vertical-align: -2px; color: var(--c-accent-d); }

/* Apparition au défilement (désactivée si l'utilisateur préfère moins d'animations) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .hero2-sun, .hero2 h1, .hero2 .lead, .hero2 .hero-actions { animation: none; }
}

/* Barre d'appel sur mobile */
.callbar { display: none; }
@media (max-width: 700px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .callbar a { padding: 14px; text-align: center; font-weight: 700; text-decoration: none; color: #fff; background: var(--c-primary); }
  .callbar a + a { background: var(--c-accent); }
  body { padding-bottom: 52px; }
}

/* En-tête : logo plus présent */
.brand-logo { height: 64px; }
@media (min-width: 961px) { .brand-logo { height: 76px; } .header-inner { min-height: 88px; } }
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 20px 16px; }
  .topbar .wrap > span:first-child { display: none; }
  .topbar .wrap { justify-content: center; }
  .hero2-inner { padding-top: 56px; padding-bottom: 56px; }
}

/* ===================== Pages métiers ===================== */
.svc-hero { background: linear-gradient(135deg, #0b2f4a 0%, #12456b 60%, #1d6596 100%); color: #fff; position: relative; overflow: hidden; }
.svc-hero::after { content: ""; position: absolute; right: -160px; top: -160px; width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(247,165,49,.45) 0, rgba(247,165,49,0) 70%); pointer-events: none; }
.svc-hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; position: relative; z-index: 1; }
.svc-hero-inner.no-img { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
.svc-hero h1 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); margin-top: 12px; }
.svc-hero .lead { color: #d8e5f0; }
.svc-hero-ico { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 20px; background: rgba(255,179,71,.16); color: #ffb347; }
.svc-hero-img { border-radius: 16px; aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
@media (max-width: 860px) { .svc-hero-inner { grid-template-columns: 1fr; } }
.breadcrumb + .svc-hero, main > .breadcrumb { }
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -34px; position: relative; z-index: 2; }
.atout { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 10px 30px rgba(16,40,64,.12); display: flex; gap: 14px; align-items: flex-start; }
.atout-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fff2e0; color: var(--c-accent-d); }
.atout p { margin: 0; font-size: .93rem; color: var(--c-muted); }
.atout strong { display: block; color: var(--c-primary-d); font-size: 1rem; margin-bottom: 2px; }
@media (max-width: 1000px) { .atouts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .atouts { grid-template-columns: 1fr; margin-top: 20px; } }
.svc-body h2 { padding-top: .2em; border-top: 3px solid var(--c-accent); display: inline-block; padding-right: 8px; }
.svc-body h3 { color: var(--c-primary); margin-top: 1.4em; }
.checklist.small li { font-size: .94rem; }
.side-cta .labels { margin: 14px 0 0; justify-content: center; }
.side-cta .labels img { height: 56px; }
.narrow { max-width: 860px; }
.other-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.other-grid a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--c-line); border-radius: 12px; text-decoration: none; color: var(--c-primary-d); font-weight: 600; transition: border-color .2s, background .2s; }
.other-grid a:hover { border-color: var(--c-accent); background: #fff8ef; }
.other-grid .ico { color: var(--c-accent-d); flex: none; }

/* Portable mis en avant */
.topbar .tel-main { font-size: 1rem; }
.topbar .tel-main .ico { vertical-align: -2px; }
.site-footer .tel-main { font-size: 1.15rem; font-weight: 700; }
.tel-fixe { font-size: .85rem; color: #93a8bc; }
.zone-list .dep { background: #fff2e0; border-color: #f3d2a6; font-weight: 600; color: var(--c-primary-d); }
.small { font-size: .9rem; }

/* Bandeau remplacement chaudière */
.boiler { padding-bottom: 0; }
.boiler-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; padding: 36px 40px; border-radius: 20px;
  background: linear-gradient(135deg, #fff4e4 0%, #ffe7c6 100%); border: 1px solid #f3d2a6; }
.boiler-ico { width: 120px; height: 120px; border-radius: 28px; display: grid; place-items: center; background: var(--c-accent); color: #fff; box-shadow: 0 12px 30px rgba(233,130,12,.35); }
.boiler-txt h2 { margin-bottom: .4em; }
.boiler-txt p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .boiler-card { grid-template-columns: 1fr; padding: 26px 22px; } .boiler-ico { width: 84px; height: 84px; } }

/* Carte sans photo : texte seul avec liseré orange */
.card-text { border-top: 4px solid var(--c-accent); background: linear-gradient(180deg, #fff8ef 0%, #fff 60%); }
.card-text a { display: flex; flex-direction: column; }
.card-text .card-body { padding: 22px 22px 20px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-text .tag { position: static; align-self: flex-start; margin-bottom: 10px; background: var(--c-primary); }
.card-text h3 { font-size: 1.25rem; }
.card-text .card-body > p:not(.card-meta) { flex: 1; }
.card-more { color: var(--c-accent-d); font-weight: 700; font-size: .92rem; margin-top: 10px; }
.footer-brand .since { font-size: .8rem; font-weight: 600; color: #ffb347; letter-spacing: 0; text-transform: none; }

/* Sous-pages (solaire thermique) */
.sub .sub-child a { padding-left: 1.6em !important; font-size: .93rem; color: var(--c-muted) !important; }
.sub .sub-child a::before { content: "↳ "; color: var(--c-accent); }
.site-footer .sub-list { padding-left: 12px; margin: 4px 0 2px; }
.site-footer .sub-list a { font-size: .88rem; }
.kids { padding-bottom: 8px; }
.site-footer .labels img { height: 50px; padding: 4px; }

/* ---------- Prise de rendez-vous ---------- */
.rdv-grid { grid-template-columns: minmax(0, 1fr) 320px; }
.rdv { max-width: none; gap: 22px; }
.rdv-step { border: 1px solid var(--c-line); border-radius: 14px; padding: 18px 20px 20px; margin: 0; display: grid; gap: 14px; background: #fff; transition: opacity .2s; min-width: 0; }
.rdv-step.is-locked { opacity: .45; }
.rdv-step legend { font-weight: 700; color: var(--c-primary-d); font-size: 1.1rem; padding: 0 6px; display: flex; align-items: center; gap: 10px; }
.rdv-num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: .9rem; }
.rdv-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.rdv-type { display: block !important; cursor: pointer; }
.rdv-type input { position: absolute; opacity: 0; }
.rdv-type-box { display: grid; gap: 4px; justify-items: start; height: 100%; padding: 14px; border: 2px solid var(--c-line); border-radius: 12px; font-weight: 400; transition: border-color .15s, background .15s; }
.rdv-type-box .ico { color: var(--c-primary); }
.rdv-type-box strong { color: var(--c-primary-d); line-height: 1.25; }
.rdv-type-box small { color: var(--c-muted); }
.rdv-type:hover .rdv-type-box { border-color: #9fb6ca; }
.rdv-type input:checked + .rdv-type-box { border-color: var(--c-accent); background: #fff6ec; }
.rdv-type input:focus-visible + .rdv-type-box { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.rdv-hint { color: var(--c-muted); margin: 0; font-size: .95rem; }
#rdv-zone-msg { color: var(--c-err); }
.rdv-tip { margin: 0 0 10px; font-size: .93rem; color: var(--c-ok); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.rdv-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #2fa86b; vertical-align: 0; }
.rdv-cal-nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; color: var(--c-primary-d); }
.rdv-arrow { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--c-line); background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--c-primary); }
.rdv-arrow:hover:not(:disabled) { border-color: var(--c-primary); }
.rdv-arrow:disabled { opacity: .3; cursor: default; }
.rdv-days { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.rdv-day { display: grid; gap: 6px; align-content: start; }
.rdv-day-h { margin: 0 0 2px; text-align: center; line-height: 1.2; }
.rdv-day-h span { display: block; color: var(--c-muted); font-size: .8rem; text-transform: capitalize; }
.rdv-day-h strong { color: var(--c-primary-d); font-size: .95rem; }
.rdv-slot { width: 100%; display: grid; gap: 1px; text-align: center; padding: 9px 4px; border-radius: 10px; border: 1px solid #b9cde0; background: #eef5fb;
  color: var(--c-primary-d); font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; position: relative; transition: background .15s, border-color .15s; }
.rdv-slot small { font-weight: 400; font-size: .74rem; color: var(--c-muted); }
.rdv-slot:hover { background: #dcebf7; border-color: var(--c-primary); }
.rdv-slot.is-proche { background: #e6f6ee; border-color: #8fd1ad; }
.rdv-slot.is-proche::after { content: ""; position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: #2fa86b; }
.rdv-slot.is-sel, .rdv-slot.is-sel:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.rdv-slot.is-sel small { color: #fff; }
.rdv-slot.is-off { background: #f4f6f8; border-color: transparent; color: #a7b1bc; font-weight: 400; cursor: default; }
.rdv-slot.is-off small { color: #b6bec7; }
.rdv-pages { margin: 10px 0 0; font-size: .82rem; color: var(--c-muted); text-align: center; }
.rdv-empty { background: var(--c-bg-alt); border-radius: 10px; padding: 18px; margin: 0; }
.rdv-choice { margin: 0; background: #fff6ec; border: 1px solid #f6d3a8; border-radius: 10px; padding: 10px 14px; }
.rdv-how { padding-left: 1.2em; margin: 0 0 1em; font-size: .95rem; }
.rdv-how li { margin-bottom: .5em; }
@media (max-width: 900px) {
  .rdv-grid { grid-template-columns: 1fr; }
  .rdv-days { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .rdv-step { padding: 14px; } .rdv-types { grid-template-columns: 1fr 1fr; } }

/* Confirmation / gestion */
.rdv-gerer { padding-top: 32px; padding-bottom: 40px; }
.rdv-merci { text-align: center; margin-bottom: 24px; }
.rdv-merci-ico { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: #e6f6ee; color: var(--c-ok); margin-bottom: 10px; }
.rdv-ticket { display: grid; grid-template-columns: 110px 1fr; border: 1px solid var(--c-line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); margin-bottom: 20px; }
.rdv-ticket-date { background: var(--c-primary); color: #fff; display: grid; place-content: center; text-align: center; text-transform: capitalize; padding: 16px; }
.rdv-ticket-day { font-size: 2.6rem; font-weight: 800; line-height: 1.1; }
.rdv-ticket-date span { display: block; }
.rdv-ticket-body { padding: 18px 22px; }
.rdv-ticket-body h2 { margin-bottom: .3em; }
.rdv-ticket-body p:last-child { margin-bottom: 0; }
.rdv-ticket-body .ico { vertical-align: -4px; color: var(--c-primary); }
.rdv-status { display: inline-block; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.rdv-status-wait { background: #fff1dc; color: #9a5a00; }
.rdv-status-ok { background: #e6f6ee; color: var(--c-ok); }
.rdv-status-done { background: #e8eef4; color: var(--c-primary); }
.rdv-status-off { background: #fdecea; color: var(--c-err); }
.rdv-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.rdv-actions .ico { vertical-align: -3px; }
.rdv-cancel { color: var(--c-err); border-color: #f0c2bd; }
.rdv-cancel:hover { background: var(--c-err); border-color: var(--c-err); }
@media (max-width: 520px) { .rdv-ticket { grid-template-columns: 1fr; } .rdv-ticket-date { grid-auto-flow: column; gap: 8px; align-items: baseline; padding: 10px; } .rdv-ticket-day { font-size: 1.6rem; } }

/* Encart sur les pages métiers */
.rdv-encart { background: #fff; border: 2px solid #f6d3a8; border-radius: var(--radius); padding: 18px 20px; margin-bottom: 18px; }
.rdv-encart-title { font-weight: 800; color: var(--c-primary-d); display: flex; gap: 8px; align-items: center; margin-bottom: .4em; line-height: 1.25; }
.rdv-encart-title .ico { color: var(--c-accent); flex: none; }
.rdv-encart p { font-size: .95rem; }
.rdv-encart-next { background: #e6f6ee; color: var(--c-ok); border-radius: 8px; padding: 6px 10px; }
.topbar-rdv { margin-right: 14px; }
.hero-actions-center { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn .ico { margin-right: 2px; }
.topbar-rdv .ico { vertical-align: -2px; color: #ffc46b; }

/* ---------- Mise en avant de la prise de RDV ---------- */
:root { --c-rdv: #1f9d63; --c-rdv-d: #167a4c; }
.btn-rdv { background: var(--c-rdv); border-color: var(--c-rdv); color: #fff; position: relative; overflow: hidden; }
.btn-rdv:hover { background: var(--c-rdv-d); border-color: var(--c-rdv-d); color: #fff; }
.main-nav > a.btn-rdv { background: var(--c-rdv); }
.main-nav > a.btn-rdv:hover { background: var(--c-rdv-d); }
.btn-rdv .ico { vertical-align: -3px; }
/* reflet qui passe sur le bouton pendant la campagne */
.btn-rdv.is-live::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.btn-rdv.is-live { box-shadow: 0 0 0 0 rgba(31,157,99,.5); animation: halo 2.6s ease-out infinite; }
@keyframes halo { 0% { box-shadow: 0 0 0 0 rgba(31,157,99,.45); } 70%, 100% { box-shadow: 0 0 0 12px rgba(31,157,99,0); } }
.pulse { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #3ddc84; position: relative; flex: none; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #3ddc84; animation: ping 1.8s ease-out infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
.topbar-rdv { display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); padding: 2px 12px; border-radius: 999px; }
.topbar-rdv:hover { background: rgba(255,255,255,.2); }
.topbar-rdv.is-live { background: var(--c-rdv); }
.topbar-rdv.is-live:hover { background: var(--c-rdv-d); }
.camp-chip { display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; text-decoration: none; padding: 7px 16px; border-radius: 999px; font-size: .92rem; margin-bottom: 18px; backdrop-filter: blur(4px); }
.camp-chip strong { color: #9ff0c4; }
.camp-chip:hover { background: rgba(255,255,255,.2); color: #fff; }
.rdv-encart.is-live { border-color: #8fd1ad; box-shadow: 0 6px 24px rgba(31,157,99,.15); }
.rdv-encart.is-live .rdv-encart-title .ico { color: var(--c-rdv); }
@media (max-width: 760px) {
  .callbar { grid-template-columns: 1fr 1fr 1fr; }
  .callbar a.callbar-rdv { background: var(--c-rdv); }
  .camp-chip { font-size: .85rem; border-radius: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn-rdv.is-live, .btn-rdv.is-live::after, .pulse::after { animation: none; }
}

/* Proposition de contrat d'entretien */
.rdv-contrat-q { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rdv-contrat-q legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; padding: 0; }
.rdv-chip { display: inline-block !important; cursor: pointer; }
.rdv-chip input { position: absolute; opacity: 0; }
.rdv-chip span { display: inline-block; padding: .45em 1.1em; border: 1px solid #c3cdd8; border-radius: 999px; font-weight: 600; font-size: .93rem; }
.rdv-chip input:checked + span { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.rdv-chip input:focus-visible + span { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.rdv-contrat { background: linear-gradient(135deg, #e9f7ef, #f5fbf8); border: 1px solid #a9dcc0; border-radius: 12px; padding: 16px 18px; }
.rdv-contrat.is-new { animation: pop .35s ease-out; }
@keyframes pop { from { transform: scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.rdv-contrat-title { font-weight: 800; color: var(--c-rdv-d); display: flex; gap: 8px; align-items: center; margin-bottom: .4em; }
.rdv-contrat .checklist li::before { background: var(--c-rdv); }
.rdv-contrat .check { color: var(--c-text); font-size: .95rem; }

.main-nav > a, .sub-toggle, .main-nav .btn { white-space: nowrap; }
@media (min-width: 961px) and (max-width: 1200px) {
  .main-nav > a:first-child { display: none; }          /* « Accueil » : le logo y mène déjà */
  .main-nav > a, .sub-toggle { padding: .55em .55em; }
  .main-nav > a.btn { margin-left: 4px; padding: .5em .9em; }
}
@media (max-width: 600px) { .topbar-rdv { display: none; } }
