:root{
  --bg:#0f1117;--bg2:#181a23;--card:#1e2030;--card-h:#252839;
  --t:#e8eaf0;--t2:#9ba3b5;--tm:#6b7385;
  --bd:#2a2d3a;--bd-a:rgba(245,180,0,.28);
  --acc:#f5b400;--acc-d:#d89a00;--acc-l:rgba(245,180,0,.1);
  --blue:#2b7de9;--blue-d:#1a5bb5;--blue-l:rgba(43,125,233,.12);
  --r:16px;--rs:10px;
}
*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:72px}
html,body{overflow-x:hidden}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,system-ui,sans-serif;background:var(--bg);color:var(--t);line-height:1.6;font-size:16px;-webkit-font-smoothing:antialiased}
a{color:inherit}
img{max-width:100%;display:block}

.top-bar{height:3px;background:linear-gradient(90deg,var(--acc),var(--acc-d));position:fixed;top:0;left:0;right:0;z-index:1001}

/* Nav */
nav{position:fixed;top:3px;left:0;right:0;z-index:1000;padding:0 1.2rem;height:62px;display:flex;align-items:center;justify-content:space-between;gap:.8rem;background:rgba(15,17,23,.88);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);border-bottom:1px solid var(--bd)}
.n-logo{text-decoration:none;font-weight:800;font-size:1.15rem;letter-spacing:-.02em;color:var(--t);white-space:nowrap;line-height:1}
.n-logo span{color:var(--acc)}
.n-links{display:none;gap:1.6rem;align-items:center}
.n-links a{text-decoration:none;font-size:.88rem;font-weight:500;color:var(--t2);transition:color .2s}
.n-links a:hover{color:var(--acc)}
.n-right{display:flex;align-items:center;gap:.6rem}
.n-phone-icon{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border-radius:50%;background:var(--acc-l);border:1px solid var(--bd-a);color:var(--acc);text-decoration:none}
.n-phone-icon svg{width:18px;height:18px}
.n-cta{display:none;background:var(--acc);color:#111;padding:.55rem 1.1rem;border-radius:100px;font-weight:700;font-size:.85rem;text-decoration:none;white-space:nowrap}

.ctn{max-width:1080px;margin:0 auto;padding:0 1.2rem}

/* Hero */
.hero{padding:5.5rem 1.2rem 2.8rem;text-align:center;position:relative;overflow:hidden;background:radial-gradient(ellipse 80% 50% at 50% 0%,rgba(245,180,0,.08),transparent 60%)}
.hero-deco{position:absolute;width:360px;height:360px;border-radius:50%;opacity:.06;pointer-events:none;background:var(--acc);filter:blur(40px)}
.hero-deco-1{top:-10%;right:-20%}
.hero-deco-2{bottom:-20%;left:-20%}
.badge{display:inline-flex;align-items:center;gap:.5rem;padding:.4rem 1rem;border-radius:100px;border:1px solid var(--bd-a);background:var(--acc-l);font-size:.76rem;color:var(--acc);font-weight:600;margin-bottom:1.3rem;position:relative;z-index:1}
.dot{width:6px;height:6px;border-radius:50%;background:var(--acc);box-shadow:0 0 8px var(--acc);animation:bl 2s infinite}
@keyframes bl{0%,100%{opacity:1}50%{opacity:.3}}
.hero h1{font-size:2rem;font-weight:800;line-height:1.1;letter-spacing:-.035em;margin-bottom:1rem;position:relative;z-index:1}
.hero h1 .ac{color:var(--acc)}
.hero-sub{font-size:1rem;color:var(--t2);max-width:560px;line-height:1.6;margin:0 auto 1.8rem;position:relative;z-index:1}
.hero-sub strong{color:var(--t);font-weight:600}
.hero-actions{display:flex;flex-direction:column;gap:.7rem;max-width:360px;margin:0 auto;position:relative;z-index:1}
.btn-p{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:var(--acc);color:#111;padding:.95rem 1.4rem;border-radius:100px;font-weight:700;font-size:.98rem;text-decoration:none;border:none;cursor:pointer;min-height:48px;transition:transform .15s}
.btn-p:active{transform:translateY(1px)}
.btn-g{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:transparent;color:var(--t);padding:.9rem 1.4rem;border-radius:100px;font-weight:600;font-size:.98rem;text-decoration:none;border:1px solid var(--bd);min-height:48px}
.btn-g:active{border-color:var(--acc)}
.hero-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:2.6rem;position:relative;z-index:1;max-width:540px;margin-left:auto;margin-right:auto}
.hs-v{font-size:1.3rem;font-weight:800;letter-spacing:-.02em;color:var(--acc);line-height:1.1}
.hs-l{font-size:.74rem;color:var(--tm);margin-top:.4rem;line-height:1.3}

/* Sections */
section{padding:3.5rem 1.2rem}
.sl{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.18em;color:var(--acc);margin-bottom:.7rem;text-align:center}
.st{font-size:1.65rem;font-weight:800;letter-spacing:-.025em;line-height:1.18;margin-bottom:.8rem;text-align:center}
.sd{color:var(--t2);font-size:.98rem;line-height:1.7;max-width:620px;margin:0 auto;text-align:center}

/* Électricité — prose */
#electricite{background:var(--bg2)}
.elec-body{max-width:680px;margin:2rem auto 0;color:var(--t2);font-size:1rem;line-height:1.75}
.elec-body p{margin-bottom:1rem}
.elec-body p:last-child{margin-bottom:0}
.elec-body strong{color:var(--t);font-weight:600}

/* Pompe à chaleur — section mise en avant */
#pac{background:linear-gradient(160deg,#0c1730 0%,#15254a 50%,#0c1730 100%);position:relative;overflow:hidden}
#pac::before{content:'';position:absolute;top:-30%;left:-10%;width:420px;height:420px;border-radius:50%;background:var(--blue);opacity:.09;filter:blur(50px);pointer-events:none}
#pac::after{content:'';position:absolute;bottom:-30%;right:-10%;width:420px;height:420px;border-radius:50%;background:var(--blue);opacity:.07;filter:blur(50px);pointer-events:none}
#pac .sl{color:#7cb0f3;position:relative;z-index:1}
#pac .st{position:relative;z-index:1}
.pac-body{max-width:640px;margin:1.8rem auto 0;color:#c0cde0;font-size:1rem;line-height:1.75;position:relative;z-index:1;text-align:center}
.pac-body p{margin-bottom:1rem}
.pac-body p:last-child{margin-bottom:0}
.pac-body strong{color:#e8eaf0;font-weight:600}
.pac-bridge{margin-top:1.4rem;padding:1.2rem 1.3rem;background:rgba(43,125,233,.12);border:1px solid rgba(43,125,233,.3);border-radius:var(--rs);color:#dbe4f2;font-size:.98rem;line-height:1.6}
.pac-cta-wrap{text-align:center;margin-top:2.2rem;position:relative;z-index:1}
.btn-pac{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;background:#fff;color:var(--blue-d);padding:.95rem 1.5rem;border-radius:100px;font-weight:700;font-size:.95rem;text-decoration:none;min-height:48px;transition:transform .15s}
.btn-pac:active{transform:translateY(1px)}

/* Pourquoi moi */
.adv-g{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:2.5rem}
.adv-c{background:var(--card);border:1px solid var(--bd);border-radius:var(--r);padding:1.6rem;display:flex;gap:1.1rem}
.adv-n{font-size:1.7rem;font-weight:800;color:var(--acc);opacity:.45;line-height:1;flex-shrink:0;font-variant-numeric:tabular-nums}
.adv-c h3{font-size:1.05rem;font-weight:700;margin-bottom:.45rem;letter-spacing:-.01em}
.adv-c p{color:var(--t2);font-size:.94rem;line-height:1.6}

/* Avis */
#avis{background:var(--bg2)}
.avis-box{margin-top:2.5rem;text-align:center;padding:2.2rem 1.2rem;background:var(--card);border:1px solid var(--bd);border-radius:var(--r)}
.avis-score{font-size:2.8rem;font-weight:800;color:var(--acc);line-height:1;margin-bottom:.3rem;letter-spacing:-.02em}
.avis-stars{color:var(--acc);font-size:1.2rem;letter-spacing:3px;margin-bottom:.6rem}
.avis-count{color:var(--t2);font-size:.95rem;margin-bottom:1.5rem}

/* Contact */
#contact{padding-bottom:6rem}
.ct-w{display:grid;grid-template-columns:1fr;gap:2rem;margin-top:2.5rem}
.ct-info{display:flex;flex-direction:column;gap:1.4rem}
.ct-b h3{font-size:.75rem;text-transform:uppercase;letter-spacing:.1em;color:var(--tm);font-weight:700;margin-bottom:.4rem}
.ct-b p,.ct-b a{color:var(--t);font-size:.98rem;text-decoration:none;line-height:1.5}
.ct-b small{display:block;color:var(--t2);font-size:.86rem;font-weight:400;margin-top:.2rem}
.ct-phone{display:inline-flex;align-items:center;gap:.5rem;font-size:1.35rem;font-weight:800;color:var(--acc)!important}
.ct-phone svg{width:20px;height:20px}
.ct-email{color:var(--acc)!important;word-break:break-all}
.ct-form{display:flex;flex-direction:column;gap:.9rem;background:var(--card);border:1px solid var(--bd);border-radius:var(--r);padding:1.4rem}
.f-g{display:flex;flex-direction:column;gap:.35rem}
.f-g label{font-size:.8rem;font-weight:600;color:var(--t2)}
.f-g input,.f-g textarea,.f-g select{background:var(--bg);border:1px solid var(--bd);border-radius:var(--rs);padding:.78rem .95rem;color:var(--t);font-family:inherit;font-size:1rem;transition:border-color .2s;outline:none;resize:vertical;min-height:48px;width:100%}
.f-g input:focus,.f-g textarea:focus,.f-g select:focus{border-color:var(--acc)}
.f-g textarea{min-height:110px}
.f-g select{cursor:pointer}
.f-sub .btn-p{width:100%}

/* Honeypot anti-spam */
.hp{display:none}

/* Message succès formulaire */
.form-success{padding:2rem;text-align:center;color:var(--acc);font-size:1.1rem}

/* Footer */
footer{background:#080a0f;color:var(--t2);padding:2.5rem 1.2rem 7.5rem;font-size:.85rem;line-height:1.65}
footer .ft-in{max-width:1080px;margin:0 auto;display:flex;justify-content:space-between;align-items:flex-start;gap:1.5rem;flex-wrap:wrap}
.ft-brand{color:var(--t);font-weight:800;font-size:1.1rem;margin-bottom:.4rem;letter-spacing:-.01em}
.ft-brand span{color:var(--acc)}
.ft-baseline{color:var(--tm);font-size:.78rem;margin-bottom:.9rem}
.ft-legal{line-height:1.7}
.ft-legal p{margin-bottom:.2rem}
.ft-links{display:flex;flex-direction:column;gap:.6rem}
.ft-links a{color:var(--t2);text-decoration:underline;text-underline-offset:3px;font-size:.85rem}
.ft-links a:hover{color:var(--t)}
.ft-copy{margin-top:1.3rem;color:var(--tm);font-size:.78rem}

/* Sticky bar mobile — 2 boutons (index) */
.sticky-bar{position:fixed;bottom:0;left:0;right:0;z-index:999;display:flex;border-top:2px solid var(--acc);box-shadow:0 -4px 20px rgba(0,0,0,.5)}
.sticky-bar a{flex:1;display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:58px;padding:.5rem .8rem;font-weight:800;font-size:1rem;text-decoration:none;letter-spacing:.01em}
.sticky-bar svg{width:18px;height:18px;flex-shrink:0}
.sc-call{background:var(--acc);color:#111}
.sc-devis{background:#1a1c26;color:var(--acc);border-left:1px solid #2a2d3a}

/* Sticky call mobile — 1 bouton (mentions légales) */
.sticky-call{position:fixed;bottom:0;left:0;right:0;z-index:999;display:flex;border-top:2px solid var(--acc);box-shadow:0 -4px 20px rgba(0,0,0,.5)}
.sticky-call a{flex:1;display:flex;align-items:center;justify-content:center;gap:.45rem;min-height:58px;padding:.5rem .8rem;font-weight:800;font-size:1rem;text-decoration:none;letter-spacing:.01em;background:var(--acc);color:#111}
.sticky-call svg{width:18px;height:18px;flex-shrink:0}

/* Mentions légales — corps */
.legal{max-width:720px;margin:0 auto;padding:5.5rem 1.2rem 3rem}
.legal h1{font-size:1.8rem;font-weight:800;letter-spacing:-.03em;margin-bottom:2.5rem;color:var(--t);text-align:center}
.legal h2{font-size:1.15rem;font-weight:700;color:var(--acc);margin:2.2rem 0 .8rem;letter-spacing:-.01em}
.legal h2:first-of-type{margin-top:0}
.legal p{color:var(--t2);font-size:.95rem;line-height:1.75;margin-bottom:.8rem}
.legal a{color:var(--acc);text-decoration:underline;text-underline-offset:3px}
.legal hr{border:none;border-top:1px solid var(--bd);margin:2.5rem 0}

/* Padding footer réduit sur les pages sans sticky-bar double */
.page-legal footer{padding-bottom:5rem}

/* Tablette / desktop */
.n-phone-txt{display:none}
@media(min-width:760px){
  body{font-size:16.5px}
  nav{padding:0 1.8rem;height:70px}
  .n-logo{font-size:1.3rem}
  .n-links{display:flex}
  .n-cta{display:inline-flex}
  .n-phone-icon{width:auto;height:auto;border-radius:100px;padding:.5rem 1rem;gap:.45rem;font-weight:700;font-size:.92rem;color:var(--t)}
  .n-phone-icon svg{width:16px;height:16px;color:var(--acc)}
  .n-phone-icon .n-phone-txt{display:inline}
  .hero{padding:7.5rem 2rem 4.5rem}
  .hero h1{font-size:3rem}
  .hero-sub{font-size:1.08rem}
  .hero-actions{flex-direction:row;max-width:none;justify-content:center}
  .hero-stats{gap:2.5rem;margin-top:3.5rem}
  .hs-v{font-size:1.75rem}
  section{padding:5rem 2rem}
  .st{font-size:2.1rem}
  .sd{font-size:1.02rem}
  .elec-body{font-size:1.04rem;margin-top:2.4rem}
  .pac-body{font-size:1.05rem}
  .adv-g{grid-template-columns:repeat(3,1fr);gap:1.2rem}
  .ct-w{grid-template-columns:1fr 1fr;gap:2.5rem}
  .f-sub .btn-p{width:auto;align-self:flex-start}
  footer{padding:3rem 2rem}
  .ft-in{flex-wrap:nowrap}
  .ft-links{flex-direction:row;gap:1.8rem}
  .sticky-bar,.sticky-call{display:none}
  .legal{padding:7rem 2rem 4rem}
  .legal h1{font-size:2.1rem}
  .legal h2{font-size:1.25rem}
  .legal p{font-size:1rem}
}
@media(min-width:980px){
  .hero h1{font-size:3.6rem;max-width:820px;margin-left:auto;margin-right:auto}
  .hs-v{font-size:2rem}
}

/* Paysage mobile — réduit padding hero */
@media(max-height:500px) and (orientation:landscape){
  .hero{padding:5rem 1.2rem 2rem}
  .hero-stats{margin-top:1.5rem}
  .sticky-bar a{min-height:48px}
}
