/* ===== ElectroLumière — feuille de style ===== */
:root {
  --navy: #0E1B33;
  --navy-2: #16284A;
  --navy-3: #22396A;
  --gold: #FFC21A;
  --gold-2: #FFD459;
  --gold-dark: #D99A00;
  --ink: #0E1B33;
  --muted: #55617A;
  --line: #E3E6EE;
  --bg: #FFFFFF;
  --bg-soft: #F5F6FA;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(14, 27, 51, .08);
  --shadow-lg: 0 20px 50px rgba(14, 27, 51, .14);
  --max: 1180px;
  --font-title: "Outfit", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-title); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--navy); color: #fff; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.section--dark .section-head p { color: #B8C2D9; }
.eyebrow {
  display: inline-block; font-family: var(--font-title); font-weight: 600;
  font-size: .85rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold-dark); margin-bottom: 12px;
}
.section--dark .eyebrow { color: var(--gold); }

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-title); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn--gold { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(255, 194, 26, .35); }
.btn--gold:hover { background: var(--gold-2); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--lg { padding: 17px 32px; font-size: 1.08rem; }

/* ----- En-tête ----- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(14, 27, 51, .06); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; }
.brand__name { font-family: var(--font-title); font-size: 1.45rem; letter-spacing: -.02em; white-space: nowrap; }
.brand__name b { font-weight: 800; }
.brand__name span { font-weight: 500; color: var(--gold-dark); }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  text-decoration: none; font-weight: 500; padding: 8px 14px; border-radius: 999px; color: var(--muted); white-space: nowrap;
  transition: color .15s, background .15s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); background: var(--bg-soft); }
.header__actions { display: flex; align-items: center; gap: 10px; }
.header__phone { font-family: var(--font-title); font-weight: 700; text-decoration: none; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.header__phone svg { width: 18px; height: 18px; color: var(--gold-dark); }
.burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--navy); }
.burger svg { width: 28px; height: 28px; }

/* ----- Héros ----- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(255, 194, 26, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(34, 57, 106, .9), transparent 60%),
    var(--navy);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 20px 110px; }
.hero h1 span { color: var(--gold); }
.hero p.lead { font-size: 1.2rem; color: #C9D2E6; max-width: 560px; margin-bottom: 32px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: #C9D2E6; font-size: .95rem; }
.hero__badges div { display: flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 20px; height: 20px; color: var(--gold); }
.hero__visual { position: relative; display: flex; justify-content: center; }
.hero__glow {
  width: min(380px, 80vw); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: radial-gradient(circle, rgba(255, 194, 26, .35), rgba(255, 194, 26, 0) 65%);
  display: grid; place-items: center;
  animation: flicker 1.4s .25s both, pulse 4s 1.8s ease-in-out infinite;
  transition: background .4s;
}
.hero__glow:focus-visible { outline: 3px solid var(--gold); outline-offset: -20px; }
.hero__glow svg { width: 62%; filter: drop-shadow(0 0 30px rgba(255, 194, 26, .55)); }
.hero__card {
  position: absolute; bottom: 6%; left: 0; background: #fff; color: var(--navy);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-lg); display: flex; gap: 12px; align-items: center;
  font-size: .95rem;
}
.hero__card strong { display: block; font-family: var(--font-title); font-size: 1.05rem; }
.hero__card .dot { width: 12px; height: 12px; border-radius: 50%; background: #22C55E; box-shadow: 0 0 0 5px rgba(34, 197, 94, .2); flex: none; }
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .hero__glow { animation: none; } html { scroll-behavior: auto; } }

/* ----- Atouts ----- */
.features { margin-top: -56px; position: relative; z-index: 2; }
.features__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden;
}
.feature { padding: 28px 26px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__icon { width: 44px; height: 44px; border-radius: 12px; background: #FFF6DB; color: var(--gold-dark); display: grid; place-items: center; margin-bottom: 14px; }
.feature__icon svg { width: 24px; height: 24px; }
.feature h3 { font-size: 1.1rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ----- Services ----- */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.service__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--gold); display: grid; place-items: center; margin-bottom: 20px; }
.service__icon svg { width: 28px; height: 28px; }
.service p { color: var(--muted); margin: 0; }

/* ----- Étapes ----- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--navy-2); border-radius: var(--radius); padding: 30px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-title); font-weight: 800; font-size: 1.2rem; color: var(--navy);
  width: 44px; height: 44px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-bottom: 18px;
}
.step p { color: #B8C2D9; margin: 0; }

/* ----- Zone ----- */
.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.zone__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.zone__list span { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 500; font-size: .95rem; }
.zone__map { background: var(--navy); border-radius: var(--radius); padding: 36px; color: #fff; }
.zone__map svg { width: 100%; height: auto; }

/* ----- CTA ----- */
.cta {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-2) 100%);
  border-radius: 28px; padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta h2 { margin: 0 0 6px; }
.cta p { margin: 0; color: #3A3220; font-size: 1.1rem; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ----- En-tête de page intérieure ----- */
.page-hero { background: var(--navy); color: #fff; padding: 72px 0 64px; text-align: center;
  background-image: radial-gradient(700px 300px at 50% 0%, rgba(255, 194, 26, .18), transparent 70%); }
.page-hero p { color: #C9D2E6; font-size: 1.15rem; max-width: 640px; margin: 0 auto; }

/* ----- FAQ ----- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__search { position: relative; margin-bottom: 32px; }
.faq__search input {
  width: 100%; padding: 16px 20px 16px 52px; border-radius: 999px; border: 1px solid var(--line);
  font: inherit; background: #fff; box-shadow: var(--shadow);
}
.faq__search svg { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); }
.faq__cat { margin-bottom: 36px; }
.faq__cat h2 { font-size: 1.35rem; margin-bottom: 14px; }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-title); font-weight: 600; font-size: 1.08rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--bg-soft);
  display: grid; place-items: center; font-size: 1.3rem; color: var(--navy); transition: transform .2s, background .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold); }
.faq .answer { padding: 0 22px 20px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }
.faq__empty { text-align: center; color: var(--muted); display: none; }

/* ----- Formulaire de devis ----- */
.devis { max-width: 860px; margin: 0 auto; }
.progress { display: flex; justify-content: space-between; margin-bottom: 36px; position: relative; }
.progress::before { content: ""; position: absolute; top: 19px; left: 10%; right: 10%; height: 3px; background: var(--line); }
.progress__bar { position: absolute; top: 19px; left: 10%; height: 3px; background: var(--gold); transition: width .3s; width: 0; }
.progress__step { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; font-size: .9rem; color: var(--muted); font-weight: 500; }
.progress__step i {
  font-style: normal; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--line);
  display: grid; place-items: center; font-family: var(--font-title); font-weight: 700; color: var(--muted); transition: all .2s;
}
.progress__step.active i, .progress__step.done i { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.progress__step.active { color: var(--navy); }

.panel { background: #fff; border-radius: 24px; box-shadow: var(--shadow-lg); padding: 40px; }
.form-step { display: none; }
.form-step.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.form-step > h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-step > p.hint { color: var(--muted); margin-bottom: 26px; }

.types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.type-card { position: relative; }
.type-card input { position: absolute; opacity: 0; pointer-events: none; }
.type-card label {
  display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 22px 18px; border-radius: 16px;
  border: 2px solid var(--line); cursor: pointer; transition: all .15s;
}
.type-card label:hover { border-color: var(--gold-2); }
.type-card input:checked + label { border-color: var(--gold); background: #FFF9E6; box-shadow: 0 0 0 4px rgba(255, 194, 26, .2); }
.type-card input:focus-visible + label { outline: 3px solid var(--navy-3); outline-offset: 2px; }
.type-card .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--navy); color: var(--gold); display: grid; place-items: center; }
.type-card .ic svg { width: 24px; height: 24px; }
.type-card strong { font-family: var(--font-title); font-size: 1.08rem; }
.type-card small { color: var(--muted); font-size: .9rem; line-height: 1.4; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field > label, .field > .label { font-weight: 600; font-size: .95rem; }
.field .req { color: #D14343; }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field input[type="number"],
.field select, .field textarea {
  font: inherit; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(255, 194, 26, .2); }
.field.invalid input, .field.invalid select, .field.invalid textarea, .field.invalid .chips { border-color: #D14343; }
.field .error { color: #D14343; font-size: .88rem; display: none; }
.field.invalid .error { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; border-radius: 12px; border: 1.5px solid transparent; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); cursor: pointer; font-size: .95rem; transition: all .15s;
}
.chip input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.chip input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.file-drop {
  border: 2px dashed var(--line); border-radius: 14px; padding: 22px; text-align: center; color: var(--muted); cursor: pointer; transition: border-color .15s;
}
.file-drop:hover { border-color: var(--gold); }
.file-drop input { display: block; margin: 10px auto 0; font-size: .9rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.form-nav .btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.recap { background: var(--bg-soft); border-radius: 14px; padding: 18px 22px; margin-bottom: 24px; font-size: .95rem; }
.recap dt { font-weight: 600; }
.recap dd { margin: 0 0 8px; color: var(--muted); }
.hidden { display: none !important; }

/* ----- Merci ----- */
.thanks { text-align: center; max-width: 620px; margin: 0 auto; }
.thanks__icon { width: 96px; height: 96px; border-radius: 50%; background: #E8F8EE; color: #16A34A; display: grid; place-items: center; margin: 0 auto 24px; }
.thanks__icon svg { width: 48px; height: 48px; }

/* ----- Contenu texte (mentions légales) ----- */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }

/* ----- Aides financières ----- */
.aides { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; max-width: 1000px; margin: 0 auto; }
.aide { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; }
.aide h2 { font-size: 1.3rem; padding-left: 16px; border-left: 4px solid var(--gold); }
.aide dl { margin: 8px 0 0; }
.aide dt { font-family: var(--font-title); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold-dark); margin-top: 14px; }
.aide dd { margin: 4px 0 0; color: var(--muted); }
.aide .aide__montant { color: var(--ink); font-weight: 600; }
.aide__link { margin-top: auto; padding-top: 18px; font-weight: 600; color: var(--navy); }
.aides__note { max-width: 1000px; margin: 32px auto 0; text-align: center; color: var(--muted); font-size: .95rem; }

/* ----- Conseils (blog) ----- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none;
  display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.post-card__img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.post-card__img--empty {
  background:
    radial-gradient(circle at 70% 40%, rgba(255, 194, 26, .45), transparent 45%),
    linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
  position: relative;
}
.post-card__img--empty::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 44px; height: 44px;
  background: var(--gold); clip-path: polygon(55% 0, 15% 58%, 46% 58%, 38% 100%, 85% 38%, 54% 38%, 64% 0);
  filter: drop-shadow(0 0 10px rgba(255, 194, 26, .8));
}
.post-card__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.post-card__meta { font-size: .82rem; font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.post-card h3 { font-size: 1.15rem; }
.post-card p { color: var(--muted); font-size: .95rem; }
.post-card__more { margin-top: auto; font-weight: 600; font-family: var(--font-title); }
.article__back { display: inline-block; color: #C9D2E6; text-decoration: none; margin-bottom: 18px; font-size: .95rem; }
.article__back:hover { color: var(--gold); }
.article { font-size: 1.08rem; }
.article h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article h3 { margin-top: 1.4em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--gold-dark); font-weight: 700; }
.article a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.article img { border-radius: 14px; margin: 1em 0; }
.article .article__img { width: 100%; margin-top: 0; }
.article blockquote {
  margin: 1.5em 0; padding: 18px 22px 18px 56px; background: #FFF8E1; border-radius: 14px; position: relative; color: #4A3D12;
}
.article blockquote::before {
  content: ""; position: absolute; left: 20px; top: 20px; width: 20px; height: 20px; background: var(--gold-dark);
  clip-path: polygon(55% 0, 15% 58%, 46% 58%, 38% 100%, 85% 38%, 54% 38%, 64% 0);
}
.article blockquote p:last-child { margin: 0; }

/* ----- Pied de page ----- */
.footer { background: #0A1426; color: #B8C2D9; padding: 64px 0 28px; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand__name b { color: #fff; }
.footer .brand__name span { color: var(--gold); }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }

/* ----- Barre d'appel mobile ----- */
.callbar { display: none; }

/* =====================================================
   ANIMATIONS « ÉLECTRICITÉ »
   ===================================================== */

/* --- Pistes de circuit et impulsions de courant (bandeau) --- */
.hero__circuit { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.hero__circuit path { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero__circuit .traces path { stroke: rgba(255, 255, 255, .07); }
.hero__circuit .nodes circle { fill: #16284A; stroke: rgba(255, 194, 26, .35); stroke-width: 2; }
.hero__circuit .pulses path {
  stroke: var(--gold); stroke-width: 3; stroke-dasharray: 70 930; stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgba(255, 194, 26, .9));
  animation: current var(--t, 5s) linear var(--d, 0s) infinite;
  transition: opacity .4s;
}
@keyframes current { to { stroke-dashoffset: 0; } }
.hero__inner { position: relative; z-index: 2; }
.hero h1 span { text-shadow: 0 0 22px rgba(255, 194, 26, .45); }

/* --- L'ampoule s'allume avec un scintillement --- */
@keyframes flicker {
  0% { opacity: .08; } 8% { opacity: 1; } 11% { opacity: .2; } 18% { opacity: .9; } 21% { opacity: .3; }
  30% { opacity: 1; } 34% { opacity: .6; } 40%, 100% { opacity: 1; }
}
@keyframes flicker2 {
  0% { opacity: .08; } 10% { opacity: 1; } 14% { opacity: .25; } 24% { opacity: 1; } 28% { opacity: .5; } 36%, 100% { opacity: 1; }
}
.hero__card { animation: fadeUp .6s 1.5s both; z-index: 3; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__hint {
  position: absolute; top: 4%; right: 4%; font-size: .85rem; color: #B8C2D9;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); padding: 6px 12px; border-radius: 999px;
  animation: fadeUp .6s 2.6s both;
}

/* --- Interrupteur : bandeau éteint --- */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: #050B17; opacity: 0; transition: opacity .35s;
}
.hero.lights-off::before { opacity: .62; }
.hero.lights-off .hero__glow { animation: none; background: none; }
.hero.lights-off .hero__glow svg { filter: none; }
.hero.lights-off .hero__glow svg path:first-child { stroke: #3A4762; }
.hero.lights-off .hero__glow svg rect, .hero.lights-off .hero__glow svg path:last-child { fill: #3A4762; }
.hero.lights-off .pulses path { opacity: 0; }
.hero.lights-off h1 span { text-shadow: none; }
.hero.powering .hero__glow { animation: flicker2 .9s both, pulse 4s 1s ease-in-out infinite; }

/* --- Apparition des blocs au défilement --- */
html.js [data-reveal]:not(.in) { opacity: 0; }
html.js [data-reveal].in { animation: revealUp .7s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--i, 0) * .12s); }
@keyframes revealUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* --- Services : l'icône s'illumine au survol --- */
.service__icon { transition: box-shadow .25s, background .25s; }
.service:hover .service__icon {
  background: var(--navy-2);
  box-shadow: 0 0 0 6px rgba(255, 194, 26, .14), 0 0 26px rgba(255, 194, 26, .55);
}
.service:hover .service__icon svg { animation: zap .45s ease-in-out; filter: drop-shadow(0 0 4px rgba(255, 194, 26, .9)); }
@keyframes zap {
  0%, 100% { transform: none; } 20% { transform: translate(-1px, 1px) rotate(-6deg); }
  40% { transform: translate(1px, -1px) rotate(5deg) scale(1.08); } 60% { transform: translate(-1px, 0) rotate(-3deg); }
  80% { transform: translate(1px, 1px) rotate(2deg); }
}
.feature__icon { transition: box-shadow .25s; }
.feature:hover .feature__icon { box-shadow: 0 0 18px rgba(255, 194, 26, .55); }

/* --- Étapes : le courant passe de 1 à 2 à 3 --- */
.step:nth-child(1) { --n: 0; } .step:nth-child(2) { --n: 1; } .step:nth-child(3) { --n: 2; }
html.js .steps[data-reveal] .step::before { background: var(--navy-3); color: #8995B0; }
html.js .steps.in .step::before { animation: stepOn .7s calc(.5s + var(--n) * .7s) forwards; }
@keyframes stepOn {
  0% { background: var(--navy-3); color: #8995B0; }
  25% { background: var(--gold); color: var(--navy); }
  40% { background: var(--navy-3); color: #8995B0; }
  60%, 100% { background: var(--gold); color: var(--navy); box-shadow: 0 0 0 6px rgba(255, 194, 26, .16), 0 0 26px rgba(255, 194, 26, .6); }
}
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 52px; right: -22px; width: 22px; height: 3px;
  background: linear-gradient(90deg, rgba(255, 194, 26, .25), var(--gold), rgba(255, 194, 26, .25));
  background-size: 200% 100%; animation: wire 1.2s linear infinite;
}
@keyframes wire { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* --- Bouton jaune : reflet lumineux au survol --- */
.btn--gold { position: relative; overflow: hidden; isolation: isolate; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .65), transparent);
  transform: skewX(-20deg); transition: none;
}
.btn--gold:hover::after { left: 130%; transition: left .6s ease; }

/* --- Formulaire de devis : barre de progression = câble sous tension --- */
.progress__bar {
  background: linear-gradient(90deg, var(--gold) 0%, #FFF1B8 50%, var(--gold) 100%);
  background-size: 200% 100%; animation: wire 1.4s linear infinite;
  box-shadow: 0 0 10px rgba(255, 194, 26, .8); border-radius: 3px;
}
.progress__step.active i { box-shadow: 0 0 0 5px rgba(255, 194, 26, .2), 0 0 18px rgba(255, 194, 26, .55); }

/* --- Accessibilité : on coupe les animations si l'utilisateur le demande --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js [data-reveal]:not(.in) { opacity: 1; }
  html.js .steps[data-reveal] .step::before { background: var(--gold); color: var(--navy); }
  .hero__circuit .pulses { display: none; }
}

/* ----- Responsive ----- */
@media (max-width: 1180px) {
  .nav, .header__phone { display: none; }
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px 16px; font-size: 1.1rem; }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; padding: 16px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open a { padding: 14px 16px; font-size: 1.1rem; }
  .hero__inner { grid-template-columns: 1fr; padding: 64px 20px 100px; }
  .hero__visual { display: none; }
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services__grid, .posts { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { top: auto; bottom: -22px; right: auto; left: 51px; width: 3px; height: 22px;
    background: linear-gradient(180deg, rgba(255, 194, 26, .25), var(--gold), rgba(255, 194, 26, .25)); background-size: 100% 200%; animation: wireV 1.2s linear infinite; }
  @keyframes wireV { from { background-position: 0 100%; } to { background-position: 0 -100%; } }
  .zone { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .section { padding: 64px 0; }
  .header__actions .btn { display: none; }
  .brand__name { font-size: 1.25rem; }
  .brand img { width: 38px; height: 38px; }
  .features__grid { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature:last-child { border-bottom: 0; }
  .services__grid, .types, .fields, .posts, .aides { grid-template-columns: 1fr; }
  .panel { padding: 26px 20px; }
  .cta { padding: 36px 24px; }
  .progress__step span { display: none; }
  .footer__grid { grid-template-columns: 1fr; }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 -6px 20px rgba(14, 27, 51, .08);
  }
  .callbar .btn { padding: 13px 10px; }
}

/* =====================================================
   SPÉCIFIQUE WORDPRESS
   ===================================================== */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { clip: auto; width: auto; height: auto; z-index: 100; top: 8px; left: 8px; background: #fff; padding: 10px 16px; border-radius: 8px; }
.admin-bar .header { top: 32px; }
@media (max-width: 782px) { .admin-bar .header { top: 46px; } }

/* Menu WordPress (liste) */
.nav ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav .current-menu-item > a, .nav .current_page_item > a, .nav .current_page_parent > a { color: var(--navy); background: var(--bg-soft); }
.nav.open ul { flex-direction: column; align-items: stretch; }
.burger__close { display: none; }
.burger[aria-expanded="true"] .burger__open { display: none; }
.burger[aria-expanded="true"] .burger__close { display: inline; }
.burger svg { display: block; }

/* Formulaire de devis */
.q-group[hidden] { display: none !important; }
.devis__alert { background: #FDECEC; color: #9B1C1C; border: 1px solid #F5C2C2; border-radius: 14px; padding: 14px 18px; margin-bottom: 20px; font-weight: 500; }
.page-template-page-devis { padding-bottom: 0 !important; }

/* Contenu des articles (éditeur de blocs) */
.article figure { margin: 1.5em 0; }
.article figcaption { font-size: .9rem; color: var(--muted); text-align: center; margin-top: 8px; }
.article .wp-block-quote { border: 0; }
.article .alignleft { float: left; margin: 0 1.5em 1em 0; }
.article .alignright { float: right; margin: 0 0 1em 1.5em; }
.article .aligncenter { margin-left: auto; margin-right: auto; }
.article::after { content: ""; display: table; clear: both; }

/* Pagination des conseils */
.pagination { margin-top: 40px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers { display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.pagination .page-numbers.current { background: var(--navy); color: #fff; border-color: var(--navy); }

/* =====================================================
   RUBRIQUES RÉORDONNABLES & OPTIONS D'ÉDITION
   ===================================================== */
/* Les atouts ne chevauchent le bandeau que s'ils sont placés juste après lui */
.features { margin-top: 0; padding: 56px 0 0; }
.hero + .features { margin-top: -56px; padding-top: 0; }
.zone--seule { grid-template-columns: 1fr; max-width: 820px; }

/* Animations désactivées par l'éditeur */
.el-sans-animations *, .el-sans-animations *::before, .el-sans-animations *::after { animation: none !important; transition: none !important; }
.el-sans-animations .hero__circuit .pulses { display: none; }
.el-sans-animations [data-reveal]:not(.in) { opacity: 1 !important; }
.el-sans-animations .steps[data-reveal] .step::before { background: var(--gold) !important; color: var(--navy) !important; }
.el-sans-animations .hero__hint { display: none; }