/* =========================================================
   SINELEC PARIS — style.css
   Direction : schéma électrique / circuit imprimé.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;600;700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root {
  --bg: #FAF8F5;
  --bg-panel: #FFFFFF;
  --bg-panel-hover: #F1EDE6;
  --border: #E2DDD2;
  --text: #1C2126;
  --text-muted: #5C6670;
  --accent: #B8721E;
  --accent-dim: rgba(184, 114, 30, 0.10);
  --urgent: #C4432E;
  --urgent-dim: rgba(196, 67, 46, 0.08);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --radius: 3px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

.trace { display: flex; align-items: center; gap: 10px; margin: 4px 0; color: var(--border); }
.trace::before, .trace::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.trace .node { width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--bg); flex: none; }

header.site { position: sticky; top: 0; z-index: 50; background: rgba(250, 248, 245, 0.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; text-decoration: none; display: flex; align-items: baseline; gap: 6px; }
.logo .dot { color: var(--accent); }
.nav-links { display: none; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--text-muted); }
.nav-links a:hover { color: var(--text); }
@media (min-width: 800px) { .nav-links { display: flex; } }
.call-btn { background: var(--accent); color: #14100A; font-weight: 600; font-family: var(--font-mono); font-size: 14px; padding: 10px 16px; border-radius: var(--radius); text-decoration: none; white-space: nowrap; }

.hero { position: relative; padding: 64px 0 48px; overflow: hidden; border-bottom: 1px solid var(--border); }
.eyebrow { font-family: var(--font-mono); color: var(--accent); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(184,114,30,0.6); animation: pulse 2s infinite; }
@media (prefers-reduced-motion: reduce) { .eyebrow .pulse { animation: none; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184,114,30,0.5); } 70% { box-shadow: 0 0 0 8px rgba(184,114,30,0); } 100% { box-shadow: 0 0 0 0 rgba(184,114,30,0); } }
h1 { font-family: var(--font-display); font-size: clamp(34px, 5.4vw, 54px); line-height: 1.04; font-weight: 700; margin: 0 0 20px; max-width: 16ch; }
.lede { font-size: 18px; color: var(--text-muted); max-width: 62ch; margin: 0 0 28px; }
.lede strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary { background: var(--accent); color: #14100A; font-weight: 600; padding: 14px 22px; border-radius: var(--radius); text-decoration: none; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); padding: 13px 20px; border-radius: var(--radius); text-decoration: none; font-size: 16px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 24px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.hero-meta b { color: var(--text); font-weight: 600; }

section { padding: 56px 0; }
.section-head { margin-bottom: 30px; }
.section-head .eyebrow { margin-bottom: 10px; }
h2 { font-family: var(--font-display); font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; margin: 0 0 8px; }
.section-sub { color: var(--text-muted); font-size: 16px; max-width: 60ch; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.svc-card { background: var(--bg-panel); padding: 22px; text-decoration: none; color: var(--text); position: relative; transition: background 0.15s ease; }
.svc-card:hover { background: var(--bg-panel-hover); }
.svc-card::before { content: ""; position: absolute; top: 16px; left: 16px; width: 8px; height: 8px; border: 1.5px solid var(--accent); border-radius: 50%; background: transparent; }
.svc-name { font-weight: 600; font-size: 16px; margin: 14px 0 10px; }
.svc-price { font-family: var(--font-mono); color: var(--accent); font-size: 22px; font-weight: 600; }
.svc-price small { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.svc-note { color: var(--text-muted); font-size: 13px; margin-top: 6px; }

.zones-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.zone-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; background: var(--bg-panel); }
.zone-num { font-family: var(--font-mono); color: var(--accent); font-size: 22px; font-weight: 600; }
.zone-name { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.zone-price { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-top: 8px; border-top: 1px solid var(--border); padding-top: 8px; }
.zone-price b { color: var(--accent); }

.trust-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.trust-item { background: var(--bg-panel); padding: 20px; }
.trust-item .k { font-family: var(--font-mono); color: var(--accent); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.trust-item .v { font-size: 15px; margin-top: 6px; font-weight: 500; }

.urgency { background: var(--urgent-dim); border: 1px solid rgba(196,67,46,0.35); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.urgency .txt { font-weight: 500; }
.urgency .txt b { color: var(--urgent); font-family: var(--font-mono); }

.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { font-weight: 600; font-size: 17px; margin: 0 0 8px; display: flex; gap: 10px; }
.faq-q .qmark { color: var(--accent); font-family: var(--font-mono); }
.faq-a { color: var(--text-muted); margin: 0; padding-left: 24px; }

.cta-band { background: var(--bg-panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; text-align: center; }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--text-muted); margin-bottom: 24px; }

footer { border-top: 1px solid var(--border); padding: 40px 0; color: var(--text-muted); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin-bottom: 24px; }
.footer-grid h4 { color: var(--text); font-family: var(--font-display); font-weight: 600; font-size: 16px; margin: 0 0 10px; }
.footer-grid a { text-decoration: none; color: var(--text-muted); display: block; margin-bottom: 6px; }
.footer-grid a:hover { color: var(--accent); }
.footer-legal { border-top: 1px solid var(--border); padding-top: 20px; font-family: var(--font-mono); font-size: 12px; line-height: 1.7; color: #5E6C77; }

.breadcrumb { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }
.answer-box { border: 1px solid var(--accent); background: var(--accent-dim); border-radius: var(--radius); padding: 22px 24px; margin: 24px 0 36px; font-size: 17px; }
.answer-box .price-line { font-family: var(--font-mono); font-size: 15px; color: var(--accent); margin-top: 10px; display: block; }
.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0 36px; }
.spec-table tr { border-bottom: 1px solid var(--border); }
.spec-table td { padding: 12px 4px; font-size: 15px; }
.spec-table td:first-child { color: var(--text-muted); width: 45%; }
.spec-table td:last-child { font-weight: 500; }
.spec-table td.mono { font-family: var(--font-mono); color: var(--accent); }
.steps { list-style: none; padding: 0; margin: 0 0 36px; counter-reset: step; }
.steps li { counter-increment: step; padding: 16px 0 16px 42px; position: relative; border-bottom: 1px solid var(--border); }
.steps li:before { content: counter(step); position: absolute; left: 0; top: 14px; width: 26px; height: 26px; border: 1.5px solid var(--accent); border-radius: 50%; color: var(--accent); font-family: var(--font-mono); font-size: 13px; display: flex; align-items: center; justify-content: center; }
.steps h4 { margin: 0 0 4px; font-size: 16px; }
.steps p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* Barre d'appel fixe (mobile uniquement) */
.sticky-call {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--urgent);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.35);
}
.sticky-call a {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  font-family: var(--font-body);
}
.sticky-call .pulse-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 0 rgba(255,255,255,0.6);
  animation: pulse-call 1.6s infinite;
  flex: none;
}
@keyframes pulse-call { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,0.55); } 70% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }
@media (prefers-reduced-motion: reduce) { .sticky-call .pulse-dot { animation: none; } }
@media (max-width: 799px) {
  .sticky-call { display: block; }
  body { padding-bottom: 58px; } /* évite que la barre cache le bas de page */
}

/* ===== HERO V2 — ajout classes manquantes ===== */
.hero-v2 { position: relative; padding: 56px 0 48px; overflow: hidden; border-bottom: 1px solid var(--border); }
.hero-v2 .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .hero-v2 .wrap { grid-template-columns: 1fr; } }

.online-now { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; box-shadow: 0 0 0 0 rgba(46,158,91,0.6); animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { box-shadow: 0 0 0 0 rgba(46,158,91,0.55); } 70% { box-shadow: 0 0 0 8px rgba(46,158,91,0); } 100% { box-shadow: 0 0 0 0 rgba(46,158,91,0); } }
@media (prefers-reduced-motion: reduce) { .dot-green { animation: none; } }

.trust-badges-v2 { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.badge-v2 { display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); background: var(--bg-panel); border-radius: var(--radius); padding: 10px 14px; text-decoration: none; color: var(--text); }
.badge-v2 .ic { font-size: 18px; }
.badge-v2 strong { display: block; font-size: 14px; line-height: 1.2; }
.badge-v2 small { display: block; font-size: 12px; color: var(--text-muted); }
a.badge-v2:hover { background: var(--bg-panel-hover); }

.btn-primary-v2 { background: var(--accent); color: #14100A; font-weight: 600; padding: 15px 24px; border-radius: var(--radius); text-decoration: none; font-size: 16px; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary-v2:hover { filter: brightness(1.06); }

.tap-hint { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--text-muted); }
@media (min-width: 800px) { .tap-hint { display: none; } }

.price-reassurance { display: flex; align-items: flex-start; gap: 12px; background: var(--accent-dim); border: 1px solid rgba(184,114,30,0.25); border-radius: var(--radius); padding: 16px 18px; margin-top: 28px; }
.price-reassurance .ic { font-size: 18px; line-height: 1; }
.price-reassurance p { margin: 0; font-size: 14.5px; color: var(--text); }
.price-reassurance strong { color: var(--text); }

/* ===== FORM CARD ===== */
.form-card-v2 {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 8px 28px rgba(28, 33, 38, 0.08);
  position: sticky;
  top: 90px;
}
.form-card-v2 h3 { font-family: var(--font-display); font-size: 24px; margin: 0 0 4px; font-weight: 700; }
.form-card-v2 .sub { color: var(--text-muted); font-size: 14px; margin: 0 0 20px; }
.form-card-v2 form { display: flex; flex-direction: column; gap: 12px; }
.form-card-v2 input,
.form-card-v2 textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
  color: var(--text);
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-card-v2 input::placeholder,
.form-card-v2 textarea::placeholder { color: var(--text-muted); }
.form-card-v2 input:focus,
.form-card-v2 textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-dim); }
.form-card-v2 textarea { resize: vertical; min-height: 84px; }
.form-card-v2 button[type="submit"] {
  background: var(--accent);
  color: #14100A;
  font-weight: 600;
  font-size: 16px;
  padding: 15px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
  transition: filter 0.15s ease;
}
.form-card-v2 button[type="submit"]:hover { filter: brightness(1.06); }
.form-card-v2 button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; }
.form-card-v2 .rgpd { font-size: 12px; color: var(--text-muted); margin: 4px 0 0; line-height: 1.4; }
