/* ═══════════════════════════════════════════
   PE — Pilier Panneaux solaires en entreprise (B2B)
   Tokens DA, responsive, dérivé du pattern piliers
   ═══════════════════════════════════════════ */

/* ── Base ── */
.hg-pilier { font-family: var(--ff-body, 'IBM Plex Sans', sans-serif); color: var(--c-text, #1E2D3F); }
.hg-pilier strong { color: var(--c-accent, #F5A624); }
.hg-wrap { max-width: var(--w-content, 1100px); margin: 0 auto; padding: 0 var(--pad-tablet, 40px); }
.hg-section { padding: var(--space-section, 64px) 0; }
.hg-content > .hg-section:nth-child(even) { background: var(--c-bg, #FAF9F6); }

/* ══════ LAYOUT (sidebar + content) ══════ */
.hg-layout { display: grid; grid-template-columns: 260px 1fr; gap: 0; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad-tablet, 40px); }
.hg-content { min-width: 0; }

/* ── Sidebar ── */
.hg-sidebar { position: sticky; top: 88px; align-self: start; display: flex; flex-direction: column; gap: 16px; padding-top: var(--space-section, 64px); max-height: calc(100vh - 100px); overflow-y: auto; transition: opacity .3s; }
.hg-sidebar.is-hidden { opacity: 0; pointer-events: none; }
.hg-sidebar::-webkit-scrollbar { width: 3px; }
.hg-sidebar::-webkit-scrollbar-thumb { background: rgba(30,45,63,.12); border-radius: 3px; }

/* CTA card */
.hg-sidebar-cta { position: relative; flex-shrink: 0; background: linear-gradient(158deg, #263a52 0%, #1E2D3F 62%); border-radius: var(--radius-lg, 16px); padding: 24px 22px; box-shadow: 0 14px 34px rgba(30,45,63,.24); overflow: hidden; }
.hg-sidebar-cta::before { content: ''; position: absolute; top: -46px; right: -46px; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,36,.28), transparent 70%); pointer-events: none; }
.hg-sidebar-cta-eyebrow { position: relative; display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--c-accent, #F5A624); margin-bottom: 10px; }
.hg-sidebar-cta-title { position: relative; font-size: 16.5px; font-weight: 800; line-height: 1.25; margin: 0 0 8px; color: #fff; letter-spacing: -.01em; }
.hg-sidebar-cta-sub { position: relative; font-size: 13px; color: rgba(255,255,255,.72); line-height: 1.5; margin: 0 0 18px; }
.hg-sidebar-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 13px 16px; font-size: 14.5px; font-weight: 700; background: var(--c-accent, #F5A624); color: #fff !important; border-radius: var(--radius-sm, 10px); text-decoration: none !important; box-shadow: 0 6px 18px rgba(245,166,36,.34); transition: background .2s, transform .2s, box-shadow .2s; }
.hg-sidebar-btn svg { transition: transform .2s; }
.hg-sidebar-btn:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255,122,0,.46); }
.hg-sidebar-btn:hover svg { transform: translateX(3px); }
.hg-sidebar-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.hg-sidebar-cta-trust { position: relative; display: flex; align-items: center; gap: 6px; margin: 12px 0 0; font-size: 11.5px; font-weight: 600; color: rgba(255,255,255,.62); }
.hg-sidebar-cta-trust svg { color: var(--c-accent, #F5A624); flex: none; }

/* Sommaire nav */
.hg-sommaire { background: var(--c-bg-card, #fff); border-radius: var(--radius-lg, 16px); padding: 20px; box-shadow: 0 2px 12px rgba(30,45,63,.06); }
.hg-sommaire-title { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted, #6B7888); margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--c-border, rgba(30,45,63,.08)); }
.hg-sommaire-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.hg-sommaire-link { display: block; padding: 8px 12px; font-size: 13px; font-weight: 500; color: var(--c-text-secondary, #475569); text-decoration: none !important; border-left: 2px solid transparent; border-radius: 0 6px 6px 0; transition: all .2s; line-height: 1.35; }
.hg-sommaire-link:hover { background: rgba(30,45,63,.03); color: var(--c-text, #1E2D3F); border-left-color: rgba(30,45,63,.12); }
.hg-sommaire-link.is-active { background: rgba(245,166,36,.06); color: var(--c-accent, #F5A624); font-weight: 700; border-left-color: var(--c-accent, #F5A624); }

/* ── Typo ── */
.hg-kicker { display: block; font-size: 13px; font-weight: 700; color: var(--c-accent, #F5A624); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.hg-h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 800; line-height: 1.25; letter-spacing: -0.025em; margin: 0 0 14px; }
.hg-hl { display: inline; background: linear-gradient(180deg, transparent 60%, rgba(245,166,36,.40) 60%); box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hg-h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 700; margin: 0 0 12px; }
.hg-sub { font-size: 16px; color: var(--c-text-muted, #6B7888); line-height: 1.6; max-width: 62ch; margin: 0 0 28px; }
.hg-text p { font-size: 17px; line-height: 1.7; color: var(--c-text-secondary, #475569); margin: 0 0 18px; max-width: 68ch; }
.hg-source { font-size: 13px; color: var(--c-text-muted, #6B7888); margin-top: 8px; }

/* ── Liens ── */
.hg-pilier a { color: var(--c-accent, #F5A624); text-decoration: underline; text-decoration-color: rgba(245,166,36,.3); text-underline-offset: 2px; transition: color .2s; }
.hg-pilier a:hover { color: var(--c-accent-hover, #FF7A00); }
.hg-pilier .cta-inline a { text-decoration: none; }
.hg-pilier .cta-inline .cta-inline-btn--primary { color: #fff; }
.hg-pilier .cta-inline .cta-inline-btn--ghost { color: var(--c-navy, #1E2D3F); }
.hg-pilier .cta-inline--final .cta-inline-btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }

/* ── Boutons ── */
.hg-btn { display: inline-flex; align-items: center; gap: 8px; padding: 16px 32px; font-size: 16px; font-weight: 700; border-radius: var(--radius-pill, 999px); text-decoration: none !important; cursor: pointer; transition: background .2s, transform .2s, box-shadow .2s; }
.hg-btn--primary { background: var(--c-accent, #F5A624); color: #fff !important; border: none; box-shadow: 0 4px 16px rgba(245,166,36,.25); }
.hg-btn--primary:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(245,166,36,.4); }
.hg-btn--ghost { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.4); }
.hg-btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ══════ HERO ══════ */
.hg-hero { position: relative; min-height: 560px; display: flex; align-items: center; overflow: hidden; }
.hg-hero-bg { position: absolute; inset: 0; z-index: 0; background-color: #1E2D3F; }
.hg-hero-verif { margin-top: 18px; font-size: 12.5px; line-height: 1.5; color: rgba(255,255,255,.62); max-width: 640px; }
.hg-hero-video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-hero-overlay { position: absolute; inset: 0; background: linear-gradient(125deg, rgba(30,45,63,.86) 0%, rgba(30,45,63,.58) 42%, rgba(30,45,63,.3) 100%); }
.hg-hero .hg-wrap { position: relative; z-index: 1; }
.hg-hero-content { padding: 96px 0 56px; max-width: 680px; }
.hg-bc { font-size: 13px; color: rgba(255,255,255,.55); margin: 0 0 28px; }
.hg-bc a { color: rgba(255,255,255,.65) !important; text-decoration: none !important; }
.hg-bc a:hover { color: #fff !important; }
.hg-bc-sep { margin: 0 6px; opacity: .5; }
.hg-hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; background: rgba(245,166,36,.16); border: 1px solid rgba(245,166,36,.38); border-radius: var(--radius-pill, 999px); font-size: 13px; font-weight: 700; color: #F8BE5C; margin-bottom: 20px; }
.hg-h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: #fff; margin: 0 0 18px; }
.hg-hero-sub { font-size: 17px; color: rgba(255,255,255,.8); line-height: 1.55; margin: 0 0 24px; max-width: 58ch; }
.hg-hero-sub a { color: rgba(255,255,255,.9) !important; text-decoration: underline !important; text-decoration-color: rgba(255,255,255,.3) !important; }
.hg-hero-facts { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-direction: column; gap: 10px; }
.hg-hero-facts li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.75); }
.hg-hero-facts li strong { color: #fff; }
.hg-hero-facts svg { color: var(--c-accent, #F5A624); flex-shrink: 0; }
.hg-hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════ SPLIT LAYOUT (text + image side by side) ══════ */
.hg-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.hg-split-text .hg-kicker { margin-bottom: 12px; }
.hg-split-text .hg-h2 { margin-bottom: 14px; }
.hg-split-text .hg-sub { margin-bottom: 0; }
.hg-split-img { margin: 0; padding: 0; overflow: hidden; border-radius: var(--radius-lg, 16px); box-shadow: 0 8px 32px rgba(30,45,63,.12); }
.hg-split-img img { display: block; width: 100%; height: auto; object-fit: cover; }

/* ══════ PHOTO-BREAK (pleine largeur) ══════ */
.hg-photobreak { margin: 40px 0 8px; padding: 0; }
.hg-photobreak img { display: block; width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius-lg, 16px); box-shadow: 0 8px 32px rgba(30,45,63,.12); }
.hg-photobreak figcaption { margin-top: 12px; font-size: 13px; color: var(--c-text-muted, #6B7888); text-align: center; }

/* ══════ SEUILS (obligation) ══════ */
.hg-seuils { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 32px; }
.hg-seuil { display: flex; gap: 16px; align-items: flex-start; padding: 24px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-lg, 16px); }
.hg-seuil--alert { border-left: 4px solid #E74C3C; }
.hg-seuil-icon { color: var(--c-accent, #F5A624); flex-shrink: 0; margin-top: 2px; }
.hg-seuil-titre { font-size: 16px; font-weight: 700; margin: 0 0 6px; }
.hg-seuil-desc { font-size: 14px; color: var(--c-text-secondary, #475569); line-height: 1.5; margin: 0; }
.hg-seuil-desc strong { color: var(--c-text, #1E2D3F); }

/* Encadr&#233; deux lois */
.hg-encadre { padding: 24px; background: rgba(52,152,219,.05); border: 1px solid rgba(52,152,219,.15); border-radius: var(--radius-lg, 16px); margin-bottom: 32px; }
.hg-encadre-titre { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: var(--c-text, #1E2D3F); }
.hg-encadre-text { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.6; margin: 0 0 8px; }
.hg-encadre-source { font-size: 12px; color: var(--c-text-muted, #6B7888); margin: 0; }

/* Surface grid */
.hg-surface-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.hg-surface-col h4 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.hg-surface-col ul { list-style: none; padding: 0; margin: 0; }
.hg-surface-col li { font-size: 14px; color: var(--c-text-secondary, #475569); padding: 4px 0; }
.hg-surface-col--oui h4 { color: #27AE60; }
.hg-surface-col--non h4 { color: #E74C3C; }

/* ══════ TIMELINE (&#233;ch&#233;ances) ══════ */
.hg-timeline { position: relative; padding-left: 48px; margin-top: 8px; }
.hg-timeline::before { content: ''; position: absolute; left: 19px; top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--c-accent, #F5A624), rgba(245,166,36,.15)); }
.hg-tl-step { position: relative; margin-bottom: 36px; }
.hg-tl-step:last-child { margin-bottom: 0; }
.hg-tl-marker { position: absolute; left: -48px; top: 0; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 1; background: var(--c-bg-card, #fff); border: 2px solid var(--c-border, rgba(30,45,63,.1)); color: var(--c-text-muted, #6B7888); }
.hg-tl-step--past .hg-tl-marker { background: #27AE60; border-color: #27AE60; color: #fff; }
.hg-tl-step--urgent .hg-tl-marker { background: #E74C3C; border-color: #E74C3C; color: #fff; }
.hg-tl-date { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-accent, #F5A624); margin-bottom: 4px; display: block; }
.hg-tl-title { font-size: 17px; font-weight: 700; margin: 0 0 6px; }
.hg-tl-desc { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.55; margin: 0; max-width: 56ch; }

/* ══════ SANCTIONS (background image) ══════ */
.hg-sanctions--bg { position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.hg-sanctions-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,45,63,.88) 0%, rgba(30,45,63,.95) 100%); }
.hg-sanctions-inner { position: relative; z-index: 1; }
.hg-sanctions--bg .hg-kicker { color: var(--c-accent, #F5A624); }
.hg-sanctions--bg .hg-h2 { color: #fff; }
.hg-sanctions--bg .hg-hl { background: linear-gradient(180deg, transparent 60%, rgba(231,76,60,.40) 60%); }
.hg-sanctions--bg .hg-sub { color: rgba(255,255,255,.7); }
.hg-sanctions--bg .hg-h3 { color: #fff; }
.hg-sanctions--bg .hg-source { color: rgba(255,255,255,.5); }
.hg-sanctions--bg .hg-source a { color: rgba(255,255,255,.65) !important; }
.hg-sanctions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-bottom: 32px; }
.hg-sanctions--bg .hg-sanction-card { padding: 28px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg, 16px); }
.hg-sanctions--bg .hg-sanction-titre { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.6); margin: 0 0 12px; }
.hg-sanction-montant { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #FF6B6B; line-height: 1; margin-bottom: 12px; }
.hg-sanctions--bg .hg-sanction-montant span { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.5); }
.hg-sanctions--bg .hg-sanction-detail { font-size: 15px; color: rgba(255,255,255,.8); line-height: 1.5; margin: 0 0 8px; }
.hg-sanctions--bg .hg-sanction-detail strong { color: #fff; }
.hg-sanctions--bg .hg-sanction-small { font-size: 13px; color: rgba(255,255,255,.5); }
.hg-compare-table { overflow-x: auto; margin-top: 16px; -webkit-overflow-scrolling: touch; }
.hg-compare-table table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
/* Table claire (hors fond sombre) — bloc "ce que dit la loi" */
.hg-compare-table thead th { text-align: left; padding: 14px 16px; font-size: 14px; font-weight: 700; color: var(--c-navy, #1E2D3F); border-bottom: 2px solid var(--c-accent, #F5A624); vertical-align: top; }
.hg-compare-table thead th:first-child { width: 34%; }
.hg-compare-table tbody th { text-align: left; padding: 13px 16px; font-size: 14px; font-weight: 600; color: var(--c-navy, #1E2D3F); background: rgba(30,45,63,.03); border-bottom: 1px solid var(--c-border, rgba(30,45,63,.08)); vertical-align: top; }
.hg-compare-table tbody td { padding: 13px 16px; font-size: 14.5px; color: var(--c-text-secondary, #475569); border-bottom: 1px solid var(--c-border, rgba(30,45,63,.08)); vertical-align: top; }
.hg-compare-table tbody td strong { color: var(--c-navy, #1E2D3F); }
.hg-th-ref { font-weight: 600; font-size: 12px; color: var(--c-text-muted, #6B7888); }
.hg-tl-step--highlight .hg-tl-marker { background: var(--c-accent, #F5A624); border-color: var(--c-accent, #F5A624); color: #fff; }
.hg-tl-step--highlight .hg-tl-title { color: var(--c-accent-hover, #FF7A00); }
.hg-sanctions--bg .hg-compare-table th { text-align: left; padding: 12px 16px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,.5); border-bottom: 2px solid rgba(255,255,255,.15); }
.hg-sanctions--bg .hg-compare-table td { padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.06); color: rgba(255,255,255,.8); }
.hg-sanctions--bg .hg-compare-table td strong { color: #fff; }

/* ══════ SOLUTIONS ══════ */
.hg-solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hg-sol-card { padding: 28px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-lg, 16px); position: relative; }
.hg-sol-card--highlight { border-color: var(--c-accent, #F5A624); border-width: 2px; }
.hg-sol-num { width: 32px; height: 32px; border-radius: 50%; background: var(--c-accent, #F5A624); color: #fff; font-size: 14px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.hg-sol-titre { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.hg-sol-desc { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.6; margin: 0 0 12px; }
.hg-sol-example { padding: 16px; background: rgba(245,166,36,.06); border-radius: var(--radius-sm, 8px); font-size: 14px; color: var(--c-text-secondary, #475569); line-height: 1.5; margin: 12px 0; }
.hg-sol-warn { font-size: 14px; color: var(--c-text-muted, #6B7888); margin: 0; font-style: italic; }
.hg-sol-list { padding-left: 18px; margin: 0; }
.hg-sol-list li { font-size: 14px; color: var(--c-text-secondary, #475569); line-height: 1.5; margin-bottom: 6px; }

/* ══════ FINANCEMENT ══════ */
.hg-fin-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hg-fin-card { padding: 28px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-lg, 16px); }
.hg-fin-card--highlight { border-color: var(--c-accent, #F5A624); border-width: 2px; background: rgba(245,166,36,.02); overflow: hidden; }
.hg-fin-card-img { margin: -28px -28px 20px; padding: 0; overflow: hidden; }
.hg-fin-card-img img { display: block; width: 100%; height: 160px; object-fit: cover; }
.hg-fin-tag { display: inline-block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: var(--radius-sm, 6px); background: var(--c-bg, #FAF9F6); color: var(--c-text-muted, #6B7888); margin-bottom: 14px; }
.hg-fin-tag--accent { background: rgba(245,166,36,.1); color: var(--c-accent-hover, #FF7A00); }
.hg-fin-titre { font-size: 17px; font-weight: 700; margin: 0 0 10px; }
.hg-fin-desc { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.6; margin: 0 0 14px; }
.hg-fin-points { list-style: none; padding: 0; margin: 0; }
.hg-fin-points li { font-size: 14px; color: var(--c-text-secondary, #475569); padding: 4px 0 4px 20px; position: relative; }
.hg-fin-points li::before { content: ''; position: absolute; left: 0; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent, #F5A624); opacity: .5; }

/* ══════ D&#201;MARCHES (split: image + steps) ══════ */
.hg-dm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.hg-dm-split-img { margin: 0; padding: 0; overflow: hidden; border-radius: var(--radius-lg, 16px); box-shadow: 0 8px 32px rgba(30,45,63,.12); position: sticky; top: 100px; }
.hg-dm-split-img img { display: block; width: 100%; height: auto; object-fit: cover; }
.hg-dm-split-steps { display: flex; flex-direction: column; gap: 16px; }
.hg-dm-step { padding: 24px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-lg, 16px); border-left: 4px solid var(--c-accent, #F5A624); }
.hg-dm-dur { font-size: 12px; font-weight: 700; color: var(--c-accent, #F5A624); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.hg-dm-titre { font-size: 15px; font-weight: 700; margin: 0 0 8px; }
.hg-dm-desc { font-size: 14px; color: var(--c-text-secondary, #475569); line-height: 1.5; margin: 0; }

/* ══════ LEAD FORM ══════ */
.hg-content > .hg-section.hg-lead { padding: var(--space-section, 64px) 0; background: var(--c-navy, #1E2D3F); color: #fff; }
.hg-lead .hg-kicker { color: var(--c-accent, #F5A624); }
.hg-lead-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hg-lead-h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 14px; line-height: 1.25; }
.hg-lead-sub { font-size: 16px; color: rgba(255,255,255,.7); line-height: 1.6; margin: 0 0 24px; }
.hg-lead-benefits { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.hg-lead-benefits li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: rgba(255,255,255,.8); }
.hg-lead-benefits svg { color: var(--c-accent, #F5A624); flex-shrink: 0; }

.hg-lead-form-wrap { background: #fff; border-radius: var(--radius-xl, 20px); padding: 36px; color: var(--c-text, #1E2D3F); }
.hg-lead-form { display: flex; flex-direction: column; gap: 16px; }
.hg-field { display: flex; flex-direction: column; gap: 4px; }
.hg-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hg-label { font-size: 14px; font-weight: 600; color: var(--c-text, #1E2D3F); }
.hg-req { color: #E74C3C; }
.hg-lead-form input[type="text"],
.hg-lead-form input[type="tel"],
.hg-lead-form input[type="email"],
.hg-lead-form select,
.hg-lead-form textarea { width: 100%; padding: 12px 16px; font-family: inherit; font-size: 15px; color: var(--c-text, #1E2D3F); background: var(--c-bg, #FAF9F6); border: 2px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-sm, 8px); transition: border-color .2s, box-shadow .2s; }
.hg-lead-form input:focus, .hg-lead-form select:focus, .hg-lead-form textarea:focus { outline: none; border-color: var(--c-accent, #F5A624); box-shadow: 0 0 0 3px rgba(245,166,36,.15); }
.hg-lead-form input.is-error, .hg-lead-form select.is-error { border-color: #E74C3C; box-shadow: 0 0 0 3px rgba(231,76,60,.12); }
.hg-lead-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7888' stroke-width='2.4'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }
/* Autocomplete société */
.hg-field--ac { position: relative; }
.hg-ac-list { position: absolute; top: 100%; left: 0; right: 0; z-index: 20; max-height: 220px; overflow-y: auto; list-style: none; padding: 4px 0; margin: 4px 0 0; background: #fff; border: 2px solid var(--c-accent, #F5A624); border-radius: var(--radius-sm, 8px); box-shadow: 0 8px 24px rgba(30,45,63,.15); }
.hg-ac-list[hidden] { display: none; }
.hg-ac-item { padding: 10px 16px; cursor: pointer; font-size: 14px; color: var(--c-text, #1E2D3F); transition: background .15s; }
.hg-ac-item:hover, .hg-ac-item[aria-selected="true"] { background: rgba(245,166,36,.08); }
.hg-ac-item-name { font-weight: 600; }
.hg-ac-item-info { font-size: 12px; color: var(--c-text-muted, #6B7888); margin-top: 2px; }
.hg-readonly { background: rgba(245,166,36,.06) !important; border-color: rgba(245,166,36,.2) !important; color: var(--c-text-secondary, #475569) !important; cursor: default; font-size: 14px !important; }
.hg-autofill-row { margin-bottom: 0; }

.hg-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hg-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--c-text-muted, #6B7888); line-height: 1.45; cursor: pointer; }
.hg-consent input { margin-top: 2px; width: 17px; height: 17px; flex-shrink: 0; accent-color: var(--c-accent, #F5A624); }
.hg-consent a { color: var(--c-accent, #F5A624); }
.hg-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; padding: 16px; font-family: inherit; font-size: 16px; font-weight: 700; background: var(--c-accent, #F5A624); color: var(--c-text, #1E2D3F); border: none; border-radius: var(--radius-sm, 8px); cursor: pointer; transition: background .2s, transform .2s; }
.hg-submit:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-1px); }
.hg-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.hg-form-error { padding: 12px 16px; background: rgba(231,76,60,.08); border: 1px solid rgba(231,76,60,.2); border-radius: var(--radius-sm, 8px); font-size: 14px; color: #E74C3C; }
.hg-form-success { text-align: center; padding: 40px 24px; }
.hg-form-success svg { color: #27AE60; margin-bottom: 16px; }
.hg-form-success h3 { font-size: 20px; font-weight: 700; margin: 0 0 10px; color: var(--c-text, #1E2D3F); }
.hg-form-success p { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.55; margin: 0; }

/* ══════ FAQ ══════ */
.hg-faq-list { margin-top: 24px; }
.hg-faq-item { border-top: 1px solid var(--c-border, rgba(30,45,63,.08)); }
.hg-faq-item:last-child { border-bottom: 1px solid var(--c-border, rgba(30,45,63,.08)); }
.hg-faq-q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 4px; cursor: pointer; background: none; border: none; text-align: left; font-family: inherit; }
.hg-faq-q:focus-visible { outline: 2px solid var(--c-accent, #F5A624); outline-offset: 2px; border-radius: 6px; }
.hg-faq-q-text { font-size: 17px; font-weight: 700; line-height: 1.35; color: var(--c-text, #1E2D3F); }
.hg-faq-q-icon { flex-shrink: 0; color: var(--c-accent, #F5A624); margin-top: 2px; }
.hg-faq-icon-v { transition: transform .25s cubic-bezier(.16,1,.3,1); transform-origin: center; }
.hg-faq-q[aria-expanded="true"] .hg-faq-icon-v { transform: scaleY(0); }
.hg-faq-a { padding: 0 4px 24px; }
.hg-faq-a[hidden] { display: none; }
.hg-faq-a p { font-size: 16px; color: var(--c-text-secondary, #475569); line-height: 1.65; margin: 0; max-width: 68ch; }

/* ══════ REVEALS ══════ */
.hg-pilier .rv { opacity: 0; transform: translateY(14px); transition: opacity .5s cubic-bezier(.16,1,.3,1), transform .5s cubic-bezier(.16,1,.3,1); }
.hg-pilier .rv.in { opacity: 1; transform: none; }
.hg-pilier .d1 { transition-delay: .02s; }
.hg-pilier .d2 { transition-delay: .08s; }
.hg-pilier .d3 { transition-delay: .14s; }
.hg-pilier .d4 { transition-delay: .20s; }
.hg-pilier .d5 { transition-delay: .26s; }
.hg-pilier .d6 { transition-delay: .32s; }

/* ══════ RESPONSIVE ══════ */
@media (max-width: 1100px) {
  .hg-layout { display: block; padding: 0; }
  .hg-sidebar { display: none; }
}

@media (max-width: 860px) {
  .hg-wrap { padding: 0 var(--pad-mobile, 24px); }
  .hg-hero-content { padding: 72px 0 40px; }
  .hg-hero { min-height: 480px; }
  .hg-split { grid-template-columns: 1fr; gap: 24px; }
  .hg-split-img { order: -1; }
  .hg-seuils { grid-template-columns: 1fr; }
  .hg-sanctions-grid { grid-template-columns: 1fr; }
  .hg-solutions-grid { grid-template-columns: 1fr; }
  .hg-fin-grid { grid-template-columns: 1fr; }
  .hg-fin-card-img { margin: -28px -28px 20px; }
  .hg-lead-grid { grid-template-columns: 1fr; gap: 32px; }
  .hg-lead-form-wrap { padding: 28px 20px; }
  .hg-dm-split { grid-template-columns: 1fr; gap: 24px; }
  .hg-dm-split-img { position: static; }
  .hg-surface-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hg-h1 { font-size: clamp(1.5rem, 6vw, 1.9rem); }
  .hg-h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); }
  .hg-hero-ctas { flex-direction: column; gap: 10px; }
  .hg-btn { justify-content: center; width: 100%; }
  .hg-field-row { grid-template-columns: 1fr; }
  .hg-compare-table th, .hg-compare-table td { padding: 10px 12px; font-size: 14px; }
  .hg-fin-card-img img { height: 140px; }
  .hg-photobreak { margin: 28px 0 4px; }
  .hg-photobreak img { height: 200px; }
}

/* ══════ REDUCED MOTION ══════ */
@media (prefers-reduced-motion: reduce) {
  .hg-pilier .rv { opacity: 1; transform: none; transition: none; }
  .hg-btn:hover { transform: none; }
  .hg-hero-video { display: none; }
}

/* ── Agrivoltaïsme : hero image (au lieu de vidéo) + badge info (au lieu d'alerte rouge) ── */
.hg-hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hg-hero-badge { background: rgba(245,166,36,.15); border-color: rgba(245,166,36,.35); color: #F5A624; }

/* Message d'erreur par champ (validation inline) */
.hg-field-msg { margin: 6px 0 0; font-size: 12.5px; font-weight: 600; color: #B43C3C; }
.hg-field input.is-error, .hg-field select.is-error, .hg-field textarea.is-error { border-color: #B43C3C; }

/* ══════ TEST 3 QUESTIONS (wizard) ══════ */
.hg-test-box { position: relative; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); padding: 32px; box-shadow: 0 16px 48px rgba(30,45,63,.08); }
.hg-test-progress { height: 6px; border-radius: 999px; background: rgba(30,45,63,.08); overflow: hidden; }
.hg-test-progress-bar { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--c-accent, #F5A624), var(--c-accent-hover, #FF7A00)); transition: width .45s cubic-bezier(.4,0,.2,1); }
.hg-test-counter { display: flex; justify-content: flex-end; gap: 1px; font-size: 12px; font-weight: 700; color: var(--c-text-muted, #6B7888); margin: 8px 0 0; letter-spacing: .04em; }
.hg-test-counter-total { opacity: .6; }
#hg-test-step { color: var(--c-accent, #F5A624); }

.hg-test-q { max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: max-height .45s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease, padding .3s ease, margin .3s ease; }
.hg-test-q.is-revealed { max-height: 640px; opacity: 1; transform: none; }
.hg-test-q[data-step="1"].is-revealed { margin-top: 20px; }
.hg-test-q[data-step="2"].is-revealed, .hg-test-q[data-step="3"].is-revealed { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--c-border, rgba(30,45,63,.08)); }
.hg-test-label { font-size: 17px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin: 0 0 16px; letter-spacing: -.01em; }

.hg-test-opts { display: flex; flex-wrap: wrap; gap: 10px; }
.hg-test-opts--grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hg-test-opt { display: flex; align-items: center; gap: 12px; font-family: inherit; font-size: 14.5px; font-weight: 600; text-align: left; color: var(--c-navy, #1E2D3F); background: var(--c-bg, #FAF9F6); border: 1.5px solid var(--c-border, rgba(30,45,63,.12)); border-radius: var(--radius-md, 12px); padding: 14px 16px; cursor: pointer; transition: border-color .18s, background .18s, color .18s, transform .18s, box-shadow .18s; }
.hg-test-opts--grid .hg-test-opt { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 92px; justify-content: center; }
.hg-test-opt svg { color: var(--c-text-muted, #6B7888); flex: none; transition: color .18s; }
.hg-test-opt:hover { border-color: var(--c-accent, #F5A624); background: #fff; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(30,45,63,.08); }
.hg-test-opt:hover svg { color: var(--c-accent, #F5A624); }
.hg-test-opt.is-selected { border-color: var(--c-accent, #F5A624); background: rgba(245,166,36,.1); color: var(--c-accent-hover, #FF7A00); }
.hg-test-opt.is-selected svg { color: var(--c-accent, #F5A624); }
.hg-test-opt--wide { flex: 1 1 220px; justify-content: center; text-align: center; padding: 16px; }

.hg-test-verdict { margin-top: 24px; padding: 22px 24px; border-radius: var(--radius-md, 12px); border-left: 4px solid var(--c-accent, #F5A624); background: rgba(245,166,36,.07); font-size: 15.5px; line-height: 1.6; color: var(--c-text-secondary, #475569); opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; }
.hg-test-verdict.is-in { opacity: 1; transform: none; }
.hg-test-verdict strong { color: var(--c-navy, #1E2D3F); }
.hg-test-verdict--now { border-left-color: #E67E22; background: rgba(230,126,34,.08); }
.hg-test-verdict--neutral { border-left-color: var(--c-text-muted, #6B7888); background: rgba(30,45,63,.04); }
.hg-test-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14.5px; font-weight: 700; color: #fff !important; background: var(--c-accent, #F5A624); padding: 12px 20px; border-radius: var(--radius-md, 10px); text-decoration: none !important; transition: background .18s, transform .18s; }
.hg-test-cta:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-1px); }
.hg-test-reset { display: inline-flex; align-items: center; gap: 7px; margin: 20px 0 0; font-family: inherit; font-size: 13px; font-weight: 600; color: var(--c-text-muted, #6B7888); background: none; border: none; cursor: pointer; }
.hg-test-reset:hover { color: var(--c-navy, #1E2D3F); }
@media (prefers-reduced-motion: reduce) {
  .hg-test-q, .hg-test-verdict, .hg-test-progress-bar { transition: none; }
}

/* ══════ BATIMENTS (liste) ══════ */
.hg-bat-grid { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 24px; }
.hg-bat-item { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--c-text-secondary, #475569); }
.hg-bat-item svg { flex: none; margin-top: 2px; color: var(--c-accent, #F5A624); }

/* ══════ DIVERS ══════ */
.hg-inline-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--c-accent-hover, #FF7A00); text-decoration: none; }
.hg-inline-link:hover { text-decoration: underline; }
.hg-note { font-size: 14px; color: var(--c-text-muted, #6B7888); line-height: 1.6; margin-top: 18px; }
.hg-uncertain-list { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-direction: column; gap: 16px; }
.hg-uncertain-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 15.5px; line-height: 1.6; color: var(--c-text-secondary, #475569); }
.hg-uncertain-list li svg { flex: none; margin-top: 2px; color: var(--c-accent, #F5A624); }
.hg-uncertain-list strong { color: var(--c-navy, #1E2D3F); }

/* ══════ SOURCES + MAILLAGE ══════ */
.hg-maillage { margin-bottom: 44px; }
.hg-maillage-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.hg-maillage-card { display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); text-decoration: none !important; box-shadow: 0 2px 10px rgba(30,45,63,.04); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hg-maillage-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(30,45,63,.1); border-color: rgba(245,166,36,.4); }
.hg-maillage-ico { flex: none; width: 46px; height: 46px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: rgba(245,166,36,.1); color: var(--c-accent, #F5A624); }
.hg-maillage-body { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.hg-maillage-titre { font-size: 15.5px; font-weight: 700; color: var(--c-navy, #1E2D3F); }
.hg-maillage-desc { font-size: 13px; color: var(--c-text-muted, #6B7888); line-height: 1.4; }
.hg-maillage-arrow { flex: none; color: var(--c-text-muted, #6B7888); transition: transform .18s, color .18s; }
.hg-maillage-card:hover .hg-maillage-arrow { color: var(--c-accent, #F5A624); transform: translateX(3px); }
.hg-refs-h3 { font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--c-text-muted, #6B7888); margin: 0 0 4px; }
.hg-refs-list { margin: 14px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 9px; }
.hg-refs-list li { font-size: 13.5px; line-height: 1.55; color: var(--c-text-secondary, #475569); }
.hg-refs-list a { color: var(--c-navy, #1E2D3F); font-weight: 600; }
.hg-refs-note { font-size: 12.5px; color: var(--c-text-muted, #6B7888); margin-top: 16px; font-style: italic; }

@media (max-width: 640px) {
  .hg-bat-grid, .hg-maillage-grid { grid-template-columns: 1fr; }
  .hg-test-opts--grid { grid-template-columns: repeat(2, 1fr); }
  .hg-test-box { padding: 20px; }
}

/* ══════ ESTIMATEUR DE LOYER ══════ */
.hg-esti-box { background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); padding: 32px; box-shadow: 0 16px 48px rgba(30,45,63,.08); }
.hg-esti-field { margin-bottom: 8px; }
.hg-esti-label { display: block; font-size: 15px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin-bottom: 12px; }
.hg-esti-input-wrap { position: relative; display: inline-flex; align-items: center; width: 100%; max-width: 320px; }
.hg-esti-input-wrap input { width: 100%; padding: 14px 52px 14px 18px; font-family: inherit; font-size: 22px; font-weight: 800; color: var(--c-navy, #1E2D3F); background: var(--c-bg, #FAF9F6); border: 2px solid var(--c-border, rgba(30,45,63,.12)); border-radius: var(--radius-md, 12px); }
.hg-esti-input-wrap input:focus { outline: none; border-color: var(--c-accent, #F5A624); box-shadow: 0 0 0 3px rgba(245,166,36,.15); }
.hg-esti-unit { position: absolute; right: 18px; font-size: 15px; font-weight: 600; color: var(--c-text-muted, #6B7888); pointer-events: none; }
#hg-esti-range { width: 100%; margin-top: 18px; accent-color: var(--c-accent, #F5A624); height: 6px; cursor: pointer; }
.hg-esti-result { margin-top: 24px; padding: 24px; border-radius: var(--radius-md, 12px); background: var(--c-bg, #FAF9F6); border: 1px solid var(--c-border, rgba(30,45,63,.08)); }
.hg-esti-resuhg--ok { background: rgba(245,166,36,.07); border-color: rgba(245,166,36,.25); }
.hg-esti-resuhg--warn { background: rgba(30,45,63,.04); border-left: 4px solid var(--c-text-muted, #6B7888); }
.hg-esti-prompt { margin: 0; font-size: 15px; color: var(--c-text-muted, #6B7888); }
.hg-esti-verdict { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--c-text-secondary, #475569); }
.hg-esti-verdict strong { color: var(--c-navy, #1E2D3F); }
.hg-esti-label-out { margin: 0 0 4px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-text-muted, #6B7888); }
.hg-esti-amount { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.1; color: var(--c-accent-hover, #FF7A00); font-variant-numeric: tabular-nums; }
.hg-esti-amount .hg-esti-to { font-size: .55em; font-weight: 600; color: var(--c-text-muted, #6B7888); margin: 0 4px; }
.hg-esti-amount .hg-esti-per { font-size: .42em; font-weight: 600; color: var(--c-text-muted, #6B7888); }
.hg-esti-sub-out { margin: 10px 0 0; font-size: 14px; color: var(--c-text-secondary, #475569); line-height: 1.5; }
.hg-esti-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-size: 14.5px; font-weight: 700; color: #fff !important; background: var(--c-accent, #F5A624); padding: 12px 20px; border-radius: var(--radius-md, 10px); text-decoration: none !important; transition: background .18s, transform .18s; }
.hg-esti-cta:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-1px); }
.hg-esti-note { margin: 18px 0 0; font-size: 12.5px; line-height: 1.55; color: var(--c-text-muted, #6B7888); }

/* ══════ VERIFIER (pièges à éviter) ══════ */
.hg-verif-list { list-style: none; counter-reset: none; padding: 0; margin: 28px 0 0; display: flex; flex-direction: column; gap: 14px; }
.hg-verif-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); box-shadow: 0 2px 12px rgba(30,45,63,.05); transition: transform .18s, box-shadow .18s; }
.hg-verif-item:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,45,63,.09); }
.hg-verif-num { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--c-navy, #1E2D3F); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hg-verif-body { min-width: 0; }
.hg-verif-q { font-size: 17px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin: 2px 0 8px; letter-spacing: -.01em; }
.hg-verif-a { font-size: 15px; line-height: 1.6; color: var(--c-text-secondary, #475569); margin: 0; }
.hg-verif-a strong { color: var(--c-navy, #1E2D3F); }

/* ══════ BRIDGE (pont vers Pilier obligation) ══════ */
.hg-bridge { display: flex; align-items: center; gap: 24px; padding: 32px 36px; background: linear-gradient(135deg, rgba(245,166,36,.1), rgba(245,166,36,.03)); border: 1px solid rgba(245,166,36,.28); border-radius: var(--radius-xl, 20px); }
.hg-bridge-ico { flex: none; width: 60px; height: 60px; border-radius: 16px; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--c-accent, #F5A624); box-shadow: 0 4px 14px rgba(245,166,36,.2); }
.hg-bridge-title { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 800; color: var(--c-navy, #1E2D3F); margin: 0 0 8px; }
.hg-bridge-text { font-size: 15px; line-height: 1.6; color: var(--c-text-secondary, #475569); margin: 0 0 12px; }
.hg-bridge-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; font-weight: 700; color: var(--c-accent-hover, #FF7A00) !important; text-decoration: none !important; }
.hg-bridge-link:hover { gap: 10px; }

@media (max-width: 640px) {
  .hg-esti-box { padding: 22px; }
  .hg-bridge { flex-direction: column; text-align: center; padding: 28px 22px; }
}

/* ══════ A11Y & MOTION POLISH (L99) ══════ */
.hg-pilier a:focus-visible, .hg-pilier button:focus-visible,
.hg-pilier input:focus-visible, .hg-pilier select:focus-visible, .hg-pilier textarea:focus-visible {
  outline: 2px solid var(--c-accent, #F5A624); outline-offset: 2px; border-radius: 4px;
}
.hg-btn:focus-visible, .hg-esti-cta:focus-visible, .hg-maillage-card:focus-visible { outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .hg-pilier *, .hg-pilier *::before, .hg-pilier *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Insurance : le bouton CTA sommaire doit TOUJOURS s'afficher */
.hg-sidebar .hg-sidebar-btn { display: flex !important; visibility: visible !important; opacity: 1 !important; }

/* ══════ FLUX D'ÉNERGIE ANIMÉ (modèle éco — toggle autoconso / vente) ══════ */
.hg-flux { background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.08)); border-radius: var(--radius-xl, 20px); padding: 26px 24px 28px; box-shadow: 0 16px 48px rgba(30,45,63,.08); text-align: center; }

/* Toggle pill */
.hg-flux-toggle { position: relative; display: flex; width: 100%; max-width: 380px; margin: 0 auto 6px; padding: 5px; background: rgba(30,45,63,.06); border-radius: var(--radius-pill, 999px); }
.hg-flux-tab { position: relative; z-index: 1; flex: 1; text-align: center; border: none; background: none; font-family: inherit; font-size: 14px; font-weight: 700; color: var(--c-text-muted, #6B7888); padding: 10px 14px; border-radius: var(--radius-pill, 999px); cursor: pointer; transition: color .25s; }
.hg-flux-tab.is-active { color: var(--c-navy, #1E2D3F); }
.hg-flux-tab:focus-visible { outline: 2px solid var(--c-accent, #F5A624); outline-offset: 2px; }
.hg-flux-slider { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; right: 50%; background: #fff; border-radius: var(--radius-pill, 999px); box-shadow: 0 2px 8px rgba(30,45,63,.14); transition: left .32s cubic-bezier(.4,0,.2,1), right .32s cubic-bezier(.4,0,.2,1); }
.hg-flux[data-mode="vente"] .hg-flux-slider { left: 50%; right: 5px; }

/* Scène SVG */
.hg-flux-stage { margin: 8px 0 4px; }
.hg-flux-svg { width: 100%; height: auto; display: block; max-width: 680px; margin: 0 auto; }

/* Nœuds */
.hg-flux-sun circle { fill: rgba(245,166,36,.16); stroke: var(--c-accent, #F5A624); stroke-width: 2.4; }
.hg-flux-rays line { stroke: var(--c-accent, #F5A624); stroke-width: 2.4; stroke-linecap: round; }
.hg-flux-panel-board { fill: rgba(30,45,63,.05); stroke: var(--c-navy, #1E2D3F); stroke-width: 2.4; stroke-linejoin: round; }
.hg-flux-panel-line { stroke: rgba(30,45,63,.32); stroke-width: 1.5; stroke-linecap: round; }
.hg-flux-panel-leg, .hg-flux-ground { stroke: var(--c-navy, #1E2D3F); stroke-width: 2.4; stroke-linecap: round; }
.hg-flux-build-body, .hg-flux-build-roof { fill: none; stroke: var(--c-navy, #1E2D3F); stroke-width: 2.6; stroke-linejoin: round; stroke-linecap: round; }
.hg-flux-window { fill: rgba(30,45,63,.12); transition: fill .5s ease; }
.hg-flux-door { fill: rgba(30,45,63,.16); }
.hg-flux-pylon, .hg-flux-pylon-arm { fill: none; stroke: var(--c-navy, #1E2D3F); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: .5; transition: stroke .4s ease, opacity .4s ease; }
.hg-flux-label { font-family: var(--ff-body, 'IBM Plex Sans', sans-serif); font-size: 12px; font-weight: 700; fill: var(--c-text-muted, #6B7888); text-anchor: middle; transition: opacity .35s ease, fill .35s ease; }

/* Liaisons + flux animé */
.hg-flux-line { fill: none; stroke: rgba(30,45,63,.14); stroke-width: 3; stroke-linecap: round; transition: opacity .35s ease; }
.hg-flux-flow { fill: none; stroke: var(--c-accent, #F5A624); stroke-width: 3.4; stroke-linecap: round; stroke-dasharray: 1 13; opacity: .92; animation: hg-flux-move 1s linear infinite; transition: opacity .35s ease; }
@keyframes hg-flux-move { to { stroke-dashoffset: -140; } }

/* Mode AUTOCONSOMMATION : le bâtiment s'allume, le surplus s'éteint */
.hg-flux[data-mode="autoconso"] .hg-flux-window { fill: var(--c-accent, #F5A624); }
.hg-flux[data-mode="autoconso"] .hg-flux-flow--export { opacity: .1; animation-play-state: paused; }
.hg-flux[data-mode="autoconso"] .hg-flux-line--export { opacity: .5; }
.hg-flux[data-mode="autoconso"] .hg-flux-label--export { opacity: .4; }

/* Mode VENTE : le réseau s'éclaire, l'autoconso baisse */
.hg-flux[data-mode="vente"] .hg-flux-window { fill: rgba(245,166,36,.4); }
.hg-flux[data-mode="vente"] .hg-flux-flow--conso { opacity: .28; }
.hg-flux[data-mode="vente"] .hg-flux-label--conso { opacity: .45; }
.hg-flux[data-mode="vente"] .hg-flux-pylon,
.hg-flux[data-mode="vente"] .hg-flux-pylon-arm { stroke: var(--c-accent, #F5A624); opacity: 1; }

/* Légende sous le schéma */
.hg-flux-caption { margin-top: 6px; min-height: 68px; }
.hg-flux-cap { font-size: 15px; color: var(--c-text-secondary, #475569); line-height: 1.6; max-width: 58ch; margin: 0 auto; }
.hg-flux-cap[hidden] { display: none; }
.hg-flux-cap strong { color: var(--c-navy, #1E2D3F); }

@media (max-width: 640px) {
  .hg-flux { padding: 20px 14px 22px; }
  .hg-flux-tab { font-size: 13px; padding: 10px 8px; }
  .hg-flux-label { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-flux-flow { animation: none; stroke-dasharray: none; opacity: .85; }
}

/* ══════ STEPPER (méthode — timeline connectée) ══════ */
.hg-stepper { position: relative; margin-top: 30px; display: flex; flex-direction: column; }
.hg-step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding-bottom: 30px; }
.hg-step:last-child { padding-bottom: 0; }
.hg-step::before { content: ''; position: absolute; left: 25px; top: 50px; bottom: -6px; width: 2px; background: linear-gradient(180deg, var(--c-accent, #F5A624), rgba(245,166,36,.18)); }
.hg-step:last-child::before { display: none; }
.hg-step-num { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 50%; background: var(--c-bg-card, #fff); border: 2px solid var(--c-accent, #F5A624); color: var(--c-accent-hover, #FF7A00); font-size: 19px; font-weight: 800; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(245,166,36,.18); }
.hg-step-body { padding-top: 4px; min-width: 0; }
.hg-step-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--c-accent, #F5A624); margin: 0 0 5px; }
.hg-step-titre { font-size: 18px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin: 0 0 7px; letter-spacing: -.01em; }
.hg-step-desc { font-size: 15px; line-height: 1.6; color: var(--c-text-secondary, #475569); margin: 0; max-width: 60ch; }

/* ══════ SECTION SOMBRE (raccordement — rythme + gravité du différenciateur) ══════ */
.hg-content > .hg-section.hg-raccordement--dark { background: radial-gradient(120% 120% at 50% 0%, #27384f 0%, #1E2D3F 62%); color: #fff; }
.hg-raccordement--dark .hg-kicker { color: var(--c-accent, #F5A624); }
.hg-raccordement--dark .hg-h2 { color: #fff; }
.hg-raccordement--dark .hg-hl { background: linear-gradient(180deg, transparent 60%, rgba(245,166,36,.42) 60%); }
.hg-raccordement--dark .hg-sub { color: rgba(255,255,255,.74); }
.hg-raccordement--dark .hg-text { color: rgba(255,255,255,.82); }
.hg-raccordement--dark .hg-text strong { color: #fff; }
.hg-raccordement--dark .hg-split-img { box-shadow: 0 12px 44px rgba(0,0,0,.42); }
.hg-raccordement--dark .hg-compare-table thead th { color: #fff; border-bottom-color: var(--c-accent, #F5A624); }
.hg-raccordement--dark .hg-compare-table tbody th { color: #fff; background: rgba(255,255,255,.05); border-bottom-color: rgba(255,255,255,.1); }
.hg-raccordement--dark .hg-compare-table tbody td { color: rgba(255,255,255,.82); border-bottom-color: rgba(255,255,255,.08); }
.hg-raccordement--dark .hg-compare-table tbody td strong { color: #fff; }
.hg-raccordement--dark .hg-th-ref { color: rgba(255,255,255,.5); }
.hg-raccordement--dark .hg-encadre { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); }
.hg-raccordement--dark .hg-encadre-titre { color: #fff; }
.hg-raccordement--dark .hg-encadre-text { color: rgba(255,255,255,.82); }
.hg-raccordement--dark .hg-encadre-text strong { color: var(--c-accent, #F5A624); }
.hg-raccordement--dark .hg-encadre-source { color: rgba(255,255,255,.52); }

/* ══════ MODÈLE ÉCO — illustration + explainer piloté par le toggle ══════ */
.hg-modele-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; margin-top: 8px; }
.hg-modele-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 260px; }
.hg-modele-illu { position: relative; z-index: 1; width: 100%; height: auto; max-width: 540px; animation: hg-float 7s ease-in-out infinite; }
.hg-modele-glow { position: absolute; z-index: 0; width: 66%; height: 66%; border-radius: 50%; filter: blur(48px); opacity: .55; transition: background .6s ease, inset .6s ease, opacity .6s ease; pointer-events: none; }
.hg-modele-grid[data-mode="autoconso"] .hg-modele-glow { background: radial-gradient(circle, rgba(245,166,36,.55), transparent 70%); inset: auto 14% 16% auto; }
.hg-modele-grid[data-mode="vente"] .hg-modele-glow { background: radial-gradient(circle, rgba(59,130,199,.45), transparent 70%); inset: 10% auto auto 8%; }
@keyframes hg-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.hg-modele-panel .hg-flux-toggle { max-width: none; margin: 0 0 20px; }
.hg-modele-grid[data-mode="vente"] .hg-flux-slider { left: 50%; right: 5px; }
.hg-modele-panel .hg-flux-caption { min-height: 0; text-align: left; margin-top: 0; }
.hg-modele-panel .hg-flux-cap { max-width: none; margin: 0; }
.hg-modele-panel .hg-flux-cap p { font-size: 16px; color: var(--c-text-secondary, #475569); line-height: 1.65; margin: 0 0 16px; }
.hg-modele-panel .hg-flux-cap strong { color: var(--c-navy, #1E2D3F); }
.hg-modele-points { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.hg-modele-points li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--c-text-secondary, #475569); line-height: 1.5; }
.hg-modele-points li svg { color: var(--c-accent, #F5A624); flex: none; margin-top: 2px; }

/* Dual : 2 illustrations (autoconso / vente) qui se crossfadent au toggle */
.hg-modele-visual.is-dual { animation: hg-float 7s ease-in-out infinite; }
.hg-modele-visual.is-dual .hg-modele-illu { animation: none; transition: opacity .5s ease; }
.hg-modele-visual.is-dual .hg-modele-illu--auto { position: relative; }
.hg-modele-visual.is-dual .hg-modele-illu--vente { position: absolute; inset: 0; left: 0; right: 0; margin: 0 auto; }
.hg-modele-grid[data-mode="autoconso"] .hg-modele-illu--vente { opacity: 0; }
.hg-modele-grid[data-mode="vente"] .hg-modele-illu--auto { opacity: 0; }

@media (max-width: 860px) {
  .hg-modele-grid { grid-template-columns: 1fr; gap: 20px; }
  .hg-modele-visual { min-height: 0; order: -1; }
  .hg-modele-illu { max-width: 420px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-modele-illu { animation: none; }
  .hg-modele-visual.is-dual { animation: none; }
}

/* ══════ TYPOLOGIES — showcase interactif (sélecteur + grande image) ══════ */
.hg-typo-showcase { display: grid; grid-template-columns: 360px 1fr; gap: 26px; margin-top: 30px; align-items: start; }
.hg-typo-tabs { display: flex; flex-direction: column; gap: 10px; }
.hg-typo-tab { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; font-family: inherit; padding: 15px 16px; border-radius: var(--radius-md, 12px); border: 1.5px solid var(--c-border, rgba(30,45,63,.1)); background: var(--c-bg-card, #fff); cursor: pointer; transition: border-color .2s, background .2s, transform .2s, box-shadow .2s; }
.hg-typo-tab:hover { border-color: rgba(245,166,36,.5); transform: translateX(3px); }
.hg-typo-tab.is-active { border-color: var(--c-accent, #F5A624); background: rgba(245,166,36,.07); box-shadow: 0 8px 22px rgba(30,45,63,.08); }
.hg-typo-tab:focus-visible { outline: 2px solid var(--c-accent, #F5A624); outline-offset: 2px; }
.hg-typo-tab-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; background: var(--c-bg, #FAF9F6); color: var(--c-text-muted, #6B7888); transition: background .2s, color .2s; }
.hg-typo-tab.is-active .hg-typo-tab-ico { background: var(--c-accent, #F5A624); color: #fff; }
.hg-typo-tab-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hg-typo-tab-titre { font-size: 15px; font-weight: 700; color: var(--c-navy, #1E2D3F); }
.hg-typo-tab-teaser { font-size: 12.5px; color: var(--c-text-muted, #6B7888); }
.hg-typo-tab-arrow { margin-left: auto; flex: none; color: var(--c-accent, #F5A624); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.hg-typo-tab.is-active .hg-typo-tab-arrow { opacity: 1; transform: none; }

.hg-typo-stage { position: relative; min-height: 440px; }
.hg-typo-panel { position: absolute; inset: 0; margin: 0; border-radius: var(--radius-lg, 16px); overflow: hidden; box-shadow: 0 14px 40px rgba(30,45,63,.14); opacity: 0; visibility: hidden; transition: opacity .45s ease; }
.hg-typo-panel.is-active { position: relative; opacity: 1; visibility: visible; }
.hg-typo-panel-img { display: block; width: 100%; height: 440px; object-fit: cover; }
.hg-typo-panel-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,45,63,0) 38%, rgba(16,25,37,.9) 100%); }
.hg-typo-panel-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 28px; }
.hg-typo-panel-titre { display: block; font-size: 22px; font-weight: 800; color: #fff; margin-bottom: 8px; letter-spacing: -.01em; }
.hg-typo-panel-desc { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.86); max-width: 56ch; margin: 0 0 16px; }
.hg-typo-panel-link { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: #fff !important; background: var(--c-accent, #F5A624); padding: 11px 18px; border-radius: var(--radius-sm, 8px); text-decoration: none !important; box-shadow: 0 6px 18px rgba(245,166,36,.3); transition: background .2s, transform .2s; }
.hg-typo-panel-link:hover { background: var(--c-accent-hover, #FF7A00); transform: translateY(-2px); }
.hg-typo-panel-link svg { transition: transform .2s; }
.hg-typo-panel-link:hover svg { transform: translateX(3px); }

@media (max-width: 900px) {
  .hg-typo-showcase { grid-template-columns: 1fr; gap: 16px; }
  .hg-typo-stage { min-height: 0; }
  .hg-typo-panel-img { height: 300px; }
}
@media (max-width: 600px) {
  .hg-typo-panel-img { height: 230px; }
  .hg-typo-panel-cap { padding: 20px; }
  .hg-typo-panel-titre { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .hg-typo-tab:hover { transform: none; }
  .hg-typo-panel { transition: none; }
}

/* ══════ MYTHES (idées reçues — sans numéros) ══════ */
.hg-mythes { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hg-mythe { display: flex; gap: 16px; padding: 22px 24px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); box-shadow: 0 2px 12px rgba(30,45,63,.05); transition: transform .18s, box-shadow .18s; }
.hg-mythe:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(30,45,63,.09); }
.hg-mythe--wide { grid-column: 1 / -1; }
.hg-mythe-badge { flex: none; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(30,45,63,.05); color: var(--c-text-muted, #6B7888); }
.hg-mythe-body { min-width: 0; }
.hg-mythe-q { font-size: 16px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin: 3px 0 10px; letter-spacing: -.01em; line-height: 1.35; }
.hg-mythe-a { font-size: 14.5px; line-height: 1.6; color: var(--c-text-secondary, #475569); margin: 0; }
.hg-mythe-a strong { color: var(--c-navy, #1E2D3F); }
.hg-mythe-vrai { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--c-accent-hover, #FF7A00); margin-right: 7px; text-transform: uppercase; letter-spacing: .04em; font-size: 12.5px; }
.hg-mythe-vrai svg { flex: none; }
@media (max-width: 760px) { .hg-mythes { grid-template-columns: 1fr; } }

/* ══════ MÉTHODE (cartes-icônes — sans numéros) ══════ */
.hg-method-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 30px; }
.hg-method-card { padding: 26px 22px; background: var(--c-bg-card, #fff); border: 1px solid var(--c-border, rgba(30,45,63,.1)); border-radius: var(--radius-lg, 16px); box-shadow: 0 2px 12px rgba(30,45,63,.05); transition: transform .18s, box-shadow .18s, border-color .18s; }
.hg-method-card:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(30,45,63,.1); border-color: rgba(245,166,36,.35); }
.hg-method-ico { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 13px; background: rgba(245,166,36,.1); color: var(--c-accent, #F5A624); margin-bottom: 16px; }
.hg-method-titre { font-size: 16px; font-weight: 700; color: var(--c-navy, #1E2D3F); margin: 0 0 8px; letter-spacing: -.01em; }
.hg-method-desc { font-size: 14px; line-height: 1.55; color: var(--c-text-secondary, #475569); margin: 0; }
@media (max-width: 900px) { .hg-method-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hg-method-grid { grid-template-columns: 1fr; } }
