/* ===== Artisans de ma Ville – Électricité : charte graphique =====
   Jaune signal  #FFC400  (CTA, accents)
   Jaune foncé   #E0A800  (survol, texte jaune sur fond clair)
   Jaune pâle    #FFF6D6  (fonds de sections)
   Anthracite    #15171C  (header, textes forts, sections sombres)
   Gris texte    #4A4E57
   Typo titres : Archivo (800) — Typo texte : Inter
================================================================ */
:root {
  --yellow: #FFC400;
  --yellow-dark: #E0A800;
  --yellow-soft: #FFF6D6;
  --ink: #15171C;
  --ink-2: #23262E;
  --text: #2A2D34;
  --muted: #5B5F69;
  --line: #E7E3D6;
  --bg: #FFFFFF;
  --bg-alt: #FBF9F3;
  --card: #FFFFFF;
  --on-yellow: #15171C;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(21, 23, 28, .08);
  --maxw: 1180px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --text: #E9EAEE; --muted: #A9ADB7; --line: #2E323B;
    --bg: #0F1115; --bg-alt: #151820; --card: #1A1D25; --yellow-soft: #221E10;
    --shadow: 0 10px 30px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --text: #E9EAEE; --muted: #A9ADB7; --line: #2E323B;
  --bg: #0F1115; --bg-alt: #151820; --card: #1A1D25; --yellow-soft: #221E10;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: "Archivo", "Inter", Arial, sans-serif; line-height: 1.15; margin: 0 0 .5em; color: inherit; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.01em; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 24px; } }
.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section.dark { background: var(--ink); color: #fff; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 10px; }
.dark .eyebrow { color: var(--yellow); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.dark .lead { color: #C9CCD3; }
.center { text-align: center; } .center .lead { margin-left: auto; margin-right: auto; }
.hl { background: linear-gradient(transparent 60%, var(--yellow) 60%); padding: 0 .1em; }
.dark .hl, .hero .hl { background: none; color: var(--yellow); padding: 0; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .15s, background .15s, box-shadow .15s; font-family: "Archivo", "Inter", sans-serif; letter-spacing: .01em; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-call { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 8px 22px rgba(255,196,0,.35); }
.btn-call:hover { background: var(--yellow-dark); transform: translateY(-1px); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-lg { padding: 18px 28px; font-size: 1.15rem; }
.btn-xl { padding: 20px 32px; font-size: 1.35rem; }
.pulse { position: relative; }
.pulse::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid var(--yellow); animation: pulse 1.8s infinite; pointer-events: none; }
@keyframes pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .pulse::after { animation: none; } html { scroll-behavior: auto; } }

/* Topbar + header */
.topbar { background: var(--yellow); color: var(--on-yellow); font-size: .88rem; font-weight: 600; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 38px; }
.topbar a { font-weight: 800; text-decoration: none; }
.topbar .dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1DB954; margin-right: 6px; box-shadow: 0 0 0 3px rgba(29,185,84,.25); }
.hide-sm { display: none; } @media (min-width: 720px) { .hide-sm { display: inline; } }
header.site { position: sticky; top: 0; z-index: 50; background: var(--ink); color: #fff; box-shadow: 0 2px 14px rgba(0,0,0,.25); }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand img { width: auto; }
nav.main { display: none; gap: 22px; font-weight: 600; font-size: .95rem; }
nav.main a { text-decoration: none; color: #D6D8DE; } nav.main a:hover { color: var(--yellow); }
@media (min-width: 1000px) { nav.main { display: flex; } }
header.site .btn { padding: 11px 18px; font-size: .98rem; }
.header-call { white-space: nowrap; }
.header-call .label, .header-call .num { display: none; }
@media (min-width: 640px) { .header-call .num { display: inline; } .header-call .short { display: none; } }
@media (min-width: 1100px) { .header-call .label { display: inline; } }
.brand img { height: 36px; } @media (min-width: 720px) { .brand img { height: 44px; } }
.topbar .wrap > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Hero */
.hero { position: relative; background: radial-gradient(1200px 500px at 85% -10%, rgba(255,196,0,.22), transparent 60%), linear-gradient(160deg, #15171C 0%, #1E2129 100%); color: #fff; overflow: hidden; padding: 56px 0 64px; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 36px 36px; pointer-events: none; }
.hero .wrap { position: relative; display: grid; gap: 40px; }
@media (min-width: 980px) { .hero .wrap { grid-template-columns: 1.1fr 1fr; align-items: center; } }
.badge-live { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,196,0,.12); border: 1px solid rgba(255,196,0,.4); color: var(--yellow); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.hero p.sub { font-size: 1.15rem; color: #D2D5DC; max-width: 600px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex: none; color: var(--yellow); margin-top: 1px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust-row { display: flex; flex-wrap: wrap; gap: 18px 26px; margin-top: 28px; color: #C9CCD3; font-size: .9rem; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row svg { width: 20px; height: 20px; color: var(--yellow); }
.stars { color: var(--yellow); letter-spacing: 2px; }

/* Form card */
.card-form { background: var(--card); color: var(--text); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 6px solid var(--yellow); }
.card-form h2 { font-size: 1.45rem; margin-bottom: 4px; }
.card-form p.small { color: var(--muted); font-size: .92rem; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label { font-weight: 600; font-size: .88rem; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--yellow-dark); box-shadow: 0 0 0 3px rgba(255,196,0,.25); }
.card-form .btn { width: 100%; margin-top: 6px; }
.or { text-align: center; color: var(--muted); font-size: .88rem; margin: 14px 0 10px; }
.form-msg { margin-top: 12px; padding: 12px; border-radius: 10px; background: var(--yellow-soft); font-weight: 600; font-size: .95rem; }
.form-msg a { font-weight: 800; }

/* Urgence chips */
.urgent-strip { background: var(--yellow); color: var(--on-yellow); padding: 22px 0; }
.urgent-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; justify-content: center; }
.urgent-strip strong { font-family: "Archivo", sans-serif; font-size: 1.05rem; margin-right: 6px; }
.chip { background: rgba(21,23,28,.08); border: 1px solid rgba(21,23,28,.15); padding: 7px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; }

/* Grids & cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 680px) { .g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(2, 1fr); } .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } }
.head { margin-bottom: 40px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card p { color: var(--muted); }
.ico { width: 54px; height: 54px; border-radius: 14px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; margin-bottom: 16px; }
.ico svg { width: 28px; height: 28px; }
.card .actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; padding-top: 8px; }
.link-call { font-weight: 800; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; color: var(--text); border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-call svg { width: 18px; height: 18px; color: var(--yellow-dark); }
.card ul { padding-left: 18px; margin: 0 0 14px; color: var(--muted); font-size: .95rem; }

/* Steps */
.steps { counter-reset: step; }
.step { position: relative; padding: 26px 26px 26px 26px; border-radius: var(--radius); background: var(--ink-2); border: 1px solid #2E323B; }
.step .num { font-family: "Archivo", sans-serif; font-weight: 800; font-size: 2.6rem; color: var(--yellow); line-height: 1; margin-bottom: 12px; }
.step p { color: #C9CCD3; margin: 0; }

/* Why */
.why { display: flex; gap: 16px; align-items: flex-start; }
.why .ico { margin: 0; width: 48px; height: 48px; flex: none; }
.why h3 { margin-bottom: 4px; } .why p { color: var(--muted); margin: 0; }

/* Pricing */
.price { text-align: left; }
.price .tag { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.price .amount { font-family: "Archivo", sans-serif; font-size: 2.2rem; font-weight: 800; margin: 6px 0 2px; }
.price .amount small { font-size: .95rem; font-weight: 600; color: var(--muted); }
.price.featured { border: 2px solid var(--yellow); position: relative; }
.price.featured::before { content: "Le plus demandé"; position: absolute; top: -13px; left: 20px; background: var(--yellow); color: var(--ink); font-size: .75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.note { font-size: .88rem; color: var(--muted); margin-top: 18px; }

/* CTA band */
.cta-band { background: var(--yellow); color: var(--on-yellow); padding: 48px 0; }
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; max-width: 640px; }
.cta-band .btn-call { background: var(--ink); color: var(--yellow); box-shadow: none; }
.cta-band .btn-call:hover { background: #000; }

/* Reviews */
.review { gap: 6px; }
.review blockquote { margin: 0 0 14px; font-size: 1rem; color: var(--text); }
.review .who { font-weight: 700; font-size: .92rem; } .review .where { color: var(--muted); font-size: .85rem; }
.rating-box { display: inline-flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 8px 18px; font-weight: 700; margin-top: 6px; }

/* Zones */
.zones { display: grid; gap: 20px; }
@media (min-width: 900px) { .zones { grid-template-columns: 1fr 1.4fr; align-items: start; } }
.dept { display: grid; gap: 12px; }
@media (min-width: 600px) { .dept { grid-template-columns: repeat(2, 1fr); } }
.dept div { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.dept strong { display: block; font-family: "Archivo", sans-serif; margin-bottom: 4px; }
.dept span { color: var(--muted); font-size: .9rem; }
.arr { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.arr span { background: var(--yellow-soft); border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; font-size: .85rem; font-weight: 600; }

/* Safety tips */
.tips { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: tip; }
.tips li { counter-increment: tip; display: flex; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--yellow); border-radius: 12px; padding: 16px 18px; }
.tips li::before { content: counter(tip); font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.3rem; color: var(--yellow-dark); min-width: 22px; }
.tips p { margin: 0; color: var(--muted); }
.alert { margin-top: 18px; padding: 16px 18px; border-radius: 12px; background: #FDECEC; color: #7A1212; font-weight: 600; }
:root[data-theme="dark"] .alert { background: #3A1616; color: #FFC9C9; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .alert { background: #3A1616; color: #FFC9C9; } }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: "Archivo", sans-serif; font-size: 1.4rem; line-height: 1; color: var(--yellow-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 6px; }

/* Final CTA */
.final { text-align: center; }
.final .big-phone { display: inline-block; font-family: "Archivo", sans-serif; font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 800; color: var(--yellow); text-decoration: none; margin: 10px 0 22px; }

/* Footer */
footer.site { background: #0C0D10; color: #AEB2BB; padding: 56px 0 110px; font-size: .93rem; }
@media (min-width: 900px) { footer.site { padding-bottom: 40px; } }
footer.site .cols { display: grid; gap: 30px; }
@media (min-width: 800px) { footer.site .cols { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
footer.site h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
footer.site ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
footer.site a { text-decoration: none; } footer.site a:hover { color: var(--yellow); }
footer.site .logo { height: 44px; width: auto; margin-bottom: 14px; }
.foot-call { color: var(--yellow); font-family: "Archivo", sans-serif; font-weight: 800; font-size: 1.35rem; }
.legal { border-top: 1px solid #22252C; margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between; font-size: .85rem; }

/* Sticky mobile bar */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); box-shadow: 0 -6px 20px rgba(0,0,0,.3); }
.sticky-bar .btn { padding: 14px 16px; }
.sticky-bar .btn-ghost { color: #fff; border-color: #3A3E48; }
@media (min-width: 900px) { .sticky-bar { display: none; } }
.float-call { display: none; }
@media (min-width: 900px) { .float-call { display: inline-flex; position: fixed; right: 24px; bottom: 24px; z-index: 60; } }

/* Simple page */
.page { padding: 56px 0 80px; max-width: 820px; }
.page h2 { font-size: 1.4rem; margin-top: 1.6em; }

/* Illustration hero + section rappel */
.hero-visual { position: relative; }
.hero-visual img { width: 112%; max-width: 640px; margin-left: -4% !important; height: auto; margin: 0 auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }
@media (max-width: 979px) { .hero-visual img { width: 100%; max-width: 420px; margin: 0 auto !important; } }
.callback-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .callback-grid { grid-template-columns: 1fr 1fr; } }
.dark-checks li { color: var(--text); }
.dark-checks svg { color: var(--yellow-dark); }
.callback .card-form { box-shadow: var(--shadow); border: 1px solid var(--line); border-top: 6px solid var(--yellow); }
.hl { -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* Hero avec photo de couverture */
.hero-cover { padding: 80px 0 90px; min-height: 640px; display: flex; align-items: center; background: #15171C; }
.hero-cover::before { display: none; }
.hero-bg, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: 70% center; }
.hero-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,17,21,.94) 0%, rgba(15,17,21,.86) 38%, rgba(15,17,21,.35) 62%, rgba(15,17,21,0) 80%); pointer-events: none; }
.hero-cover .wrap { z-index: 1; display: block; }
.hero-cover .wrap > div { max-width: 640px; }
@media (max-width: 899px) {
  .hero-cover { padding: 56px 0 64px; }
  .hero-bg img { object-position: 72% center; }
  .hero-cover::after { background: linear-gradient(180deg, rgba(15,17,21,.60) 0%, rgba(15,17,21,.80) 50%, rgba(15,17,21,.94) 100%); }
}
