:root{--navy:#071a3b;--navy2:#0b2d5f;--blue:#1378ff;--cyan:#38bdf8;--ink:#0f172a;--muted:#64748b;--line:#dbe7f5;--bg:#f6f9fd;--white:#fff;--shadow:0 22px 70px rgba(7,26,59,.12);--ease:cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg);line-height:1.55}a{color:inherit;text-decoration:none}img,svg{display:block;max-width:100%}button,input,textarea{font:inherit}
.container{width:min(1180px,calc(100% - 40px));margin-inline:auto}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(12,42,84,.08)}.header-row{height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{height:44px;width:auto}.nav{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:650}.nav a{opacity:.78;transition:.25s}.nav a:hover,.nav a[aria-current=page]{opacity:1;color:var(--blue)}.header-actions{display:flex;gap:10px;align-items:center}.menu-toggle{display:none;border:0;background:transparent;font-size:28px}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 19px;border-radius:12px;font-weight:750;border:1px solid transparent;transition:.3s var(--ease)}.btn-primary{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;box-shadow:0 12px 28px rgba(19,120,255,.28)}.btn-primary:hover{transform:translateY(-2px);box-shadow:0 16px 35px rgba(19,120,255,.36)}.btn-ghost{border-color:rgba(255,255,255,.32);color:#fff;background:rgba(255,255,255,.06)}.btn-ghost:hover{background:rgba(255,255,255,.12)}
.hero{position:relative;overflow:hidden;color:#fff;background-image:linear-gradient(90deg,rgba(3,16,38,.96) 0%,rgba(3,16,38,.88) 30%,rgba(3,16,38,.46) 56%,rgba(3,16,38,.10) 100%),url("https://images.unsplash.com/photo-1775259928422-779c18e32007?auto=format&fit=crop&fm=jpg&q=85&w=2400");background-size:cover;background-position:center 52%}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.04),rgba(2,12,29,.24));pointer-events:none}.hero-grid{position:relative;display:grid;grid-template-columns:1fr .95fr;align-items:center;gap:36px;min-height:650px;padding:86px 0 140px}.kicker{font-size:12px;letter-spacing:.19em;text-transform:uppercase;color:#83ccff;font-weight:800;margin-bottom:16px}.hero h1{font-size:clamp(38px,4.2vw,60px);line-height:.98;letter-spacing:-.045em;margin:0 0 22px;max-width:760px}.hero h1 span{color:#43baff}.hero p{max-width:650px;font-size:18px;color:#d8e7fb;margin:0 0 30px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px}.hero-visual{position:relative;min-height:430px}
.energy-traces{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 12px rgba(56,189,248,.55));pointer-events:none}
.energy-traces path{fill:none;stroke:#53c7ff;stroke-width:3;stroke-linecap:round;stroke-dasharray:9 12;opacity:.32;animation:flow 4s linear infinite;transition:opacity .35s,stroke-width .35s}
.hotspot{position:absolute;display:flex;align-items:center;gap:8px;padding:9px 12px;border:1px solid rgba(116,211,255,.65);border-radius:999px;background:rgba(4,22,50,.68);backdrop-filter:blur(10px);box-shadow:0 8px 30px rgba(0,0,0,.24);color:#dff6ff;font-size:12px;opacity:.70;transform:scale(.96);transition:.35s var(--ease);pointer-events:none}
.hotspot span{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:rgba(24,132,255,.18);color:#67d0ff;font-size:15px;box-shadow:0 0 0 1px rgba(94,202,255,.35)}
.hotspot b{font-weight:800}.hotspot-solaire{left:57%;top:10%}.hotspot-domotique{left:39%;top:38%}.hotspot-electricite{left:27%;top:64%}.hotspot-irve{left:72%;top:70%}
.hero-visual:hover .hotspot,.hero-visual:hover .energy-traces path,body[data-active-service=all] .hotspot,body[data-active-service=all] .energy-traces path{opacity:1}
body[data-active-service=solaire] .hotspot-solaire,body[data-active-service=domotique] .hotspot-domotique,body[data-active-service=electricite] .hotspot-electricite,body[data-active-service=irve] .hotspot-irve{opacity:1;transform:scale(1.08);border-color:#76dcff;box-shadow:0 0 28px rgba(43,171,255,.48)}
body[data-active-service] .energy-traces path{opacity:.86;stroke-width:4}
@keyframes flow{to{stroke-dashoffset:-96}}
.services-wrap{position:relative;z-index:6;margin-top:-74px}.services{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.service-card{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;padding:0 24px 24px;overflow:hidden;box-shadow:0 14px 40px rgba(8,40,84,.1);transition:.35s var(--ease);outline:none}
.service-media{height:132px;margin:0 -24px 18px;background-image:linear-gradient(180deg,rgba(7,26,59,.02),rgba(7,26,59,.18)),url("https://images.unsplash.com/photo-1775259928422-779c18e32007?auto=format&fit=crop&fm=jpg&q=85&w=2400");background-size:190%;transition:transform .45s var(--ease),filter .45s var(--ease);filter:saturate(.9) contrast(1.02)}
.media-electricite{background-position:58% 62%}.media-domotique{background-position:48% 50%}.media-solaire{background-position:63% 18%}.media-irve{background-position:84% 69%}
.service-card:hover .service-media,.service-card:focus-visible .service-media{transform:scale(1.045);filter:saturate(1.1) contrast(1.05)}.service-card:hover,.service-card:focus-visible{transform:translateY(-7px);border-color:rgba(19,120,255,.36);box-shadow:0 22px 60px rgba(8,40,84,.16)}.service-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:#eef6ff;margin-bottom:18px;color:var(--blue);transition:.35s}.service-card:hover .service-icon{background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 0 28px rgba(19,120,255,.3)}.service-card h3{font-size:21px;margin:0 0 8px}.service-card p{color:var(--muted);font-size:14px;margin:0 0 14px}.service-link{color:var(--blue);font-size:14px;font-weight:750}
.section{padding:92px 0}.section-white{background:#fff}.section-head{max-width:720px;margin-bottom:42px}.eyebrow{font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);font-weight:850;margin-bottom:10px}.section h2{font-size:clamp(34px,4vw,52px);line-height:1.03;letter-spacing:-.035em;margin:0 0 16px}.lead{font-size:18px;color:var(--muted);margin:0}.value-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.value{padding:24px;border:1px solid var(--line);border-radius:18px;background:linear-gradient(180deg,#fff,#f9fbff)}.value strong{display:block;margin:12px 0 7px;font-size:17px}.value p{margin:0;color:var(--muted);font-size:14px}.process{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;counter-reset:step}.step{position:relative;padding:26px 20px;background:#fff;border:1px solid var(--line);border-radius:18px}.step:before{counter-increment:step;content:"0" counter(step);display:block;color:var(--blue);font-weight:900;font-size:13px;margin-bottom:30px}.step strong{display:block;margin-bottom:7px}.step span{color:var(--muted);font-size:13px}
.projects{display:grid;grid-template-columns:1.15fr .85fr .85fr;grid-auto-rows:260px;gap:16px}.project{position:relative;border-radius:20px;overflow:hidden;background:linear-gradient(135deg,#0a2856,#126ecb);color:#fff;padding:24px;display:flex;align-items:flex-end}.project:first-child{grid-row:span 2}.project-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.92}.project:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 25%,rgba(4,17,39,.84))}.project-copy{position:relative;z-index:2}.project-copy span{font-size:12px;color:#9fd5ff}.project-copy h3{margin:5px 0 0;font-size:22px}
.cta{padding:70px 0;background:linear-gradient(135deg,#06152f,#0c4386);color:#fff}.cta-box{display:flex;align-items:center;justify-content:space-between;gap:30px}.cta h2{font-size:clamp(34px,4vw,50px);margin:0 0 10px}.cta p{margin:0;color:#cfe4ff}.site-footer{background:#061126;color:#adc4e3;padding:48px 0 28px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.footer-grid strong{color:#fff}.footer-links{display:grid;gap:8px;font-size:14px}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:32px;padding-top:22px;font-size:12px}
.page-hero{background:linear-gradient(135deg,#06152f,#0b3c7a);color:#fff;padding:86px 0}.page-hero h1{font-size:clamp(42px,6vw,70px);margin:0 0 18px;letter-spacing:-.04em}.page-hero p{font-size:18px;color:#d4e6fb;max-width:760px}.content-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px}.content-card{padding:30px;border-radius:20px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow)}.bullets{padding:0;list-style:none;display:grid;gap:14px}.bullets li{display:flex;gap:12px}.bullets li:before{content:"✓";color:var(--blue);font-weight:900}.form{display:grid;gap:14px}.form input,.form textarea{width:100%;padding:14px 15px;border:1px solid #cbd8e8;border-radius:12px;background:#fff}.form textarea{min-height:150px;resize:vertical}.brand-proxdom{--blue:#0d72e8;--cyan:#36b7f3}.brand-proxdom .hero{background:linear-gradient(135deg,#08214a,#0d4c89)}
@media(max-width:980px){.nav{display:none}.menu-toggle{display:block}.header-actions .btn{display:none}.hero-grid{grid-template-columns:1fr;padding:64px 0 120px}.hero-visual{min-height:0}.services{grid-template-columns:repeat(2,1fr)}.value-grid{grid-template-columns:repeat(2,1fr)}.process{grid-template-columns:1fr 1fr}.projects{grid-template-columns:1fr 1fr}.project:first-child{grid-row:span 1;grid-column:span 2}.content-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.header-row{height:68px}.brand img{height:38px}.hero-grid{padding:48px 0 100px;gap:26px}.hero p{font-size:16px}.services-wrap{margin-top:-58px}.services,.value-grid,.process,.projects{grid-template-columns:1fr}.project:first-child{grid-column:auto}.section{padding:70px 0}.cta-box{align-items:flex-start;flex-direction:column}.footer-grid{grid-template-columns:1fr}.hero-actions .btn{width:100%}}
@media(max-width:980px){
  .hero{background-position:64% center}
  .hero-grid{grid-template-columns:1fr;min-height:720px}
  .hero-visual{min-height:290px}
  .hotspot{transform:scale(.9)}
}
@media(max-width:640px){
  .hero{background-position:70% center}
  .hero:after{content:"";position:absolute;inset:0;background:rgba(3,16,38,.18);pointer-events:none}
  .hero-grid{min-height:720px}
  .hero-visual{display:none}
  .service-media{height:150px}
}

/* === NEXIDOM HOME V2 — interactive premium hero === */
body{--halo:#45efd0;--halo-rgb:69,239,208}
body[data-halo="blue"]{--halo:#46b9ff;--halo-rgb:70,185,255}
body[data-halo="turquoise"]{--halo:#45efd0;--halo-rgb:69,239,208}

.hero-visual{isolation:isolate}
.hero-zone{position:absolute;z-index:7;background:transparent;cursor:pointer}
.zone-solaire{left:28%;top:0;width:68%;height:23%}
.zone-domotique{left:9%;top:24%;width:52%;height:34%}
.zone-electricite{left:2%;top:47%;width:35%;height:40%}
.zone-irve{right:-4%;top:37%;width:58%;height:61%}

.hotspot{z-index:12;pointer-events:auto;cursor:pointer;border-color:rgba(var(--halo-rgb),.55);transition:opacity .35s var(--ease),transform .35s var(--ease),border-color .35s,box-shadow .35s,background .35s}
.hotspot span{color:var(--halo);box-shadow:0 0 0 1px rgba(var(--halo-rgb),.35)}
body[data-active-service=solaire] .hotspot-solaire,
body[data-active-service=domotique] .hotspot-domotique,
body[data-active-service=electricite] .hotspot-electricite,
body[data-active-service=irve] .hotspot-irve{
  opacity:1;transform:scale(1.08);border-color:var(--halo);
  background:rgba(5,28,57,.88);box-shadow:0 0 12px rgba(var(--halo-rgb),.55),0 0 34px rgba(var(--halo-rgb),.30)
}

.solar-highlight{position:absolute;z-index:5;left:28%;top:1%;width:63%;height:15%;transform:skewX(-11deg) rotate(-1.5deg);border:2px solid rgba(92,196,255,.22);border-radius:10px;opacity:.45;transition:.38s var(--ease);pointer-events:none}
body[data-active-service=solaire] .solar-highlight{
  opacity:1;border-color:var(--halo);background:rgba(var(--halo-rgb),.08);
  box-shadow:0 0 9px var(--halo),0 0 28px rgba(var(--halo-rgb),.65),inset 0 0 20px rgba(var(--halo-rgb),.18)
}

.smart-light{position:absolute;z-index:6;width:12px;height:12px;border-radius:50%;background:#ffd88a;opacity:.22;transition:.35s var(--ease);pointer-events:none}
.smart-light-1{left:22%;top:39%}.smart-light-2{left:45%;top:43%}.smart-light-3{left:58%;top:51%}
body[data-active-service=domotique] .smart-light{
  opacity:1;background:#fff2bd;box-shadow:0 0 9px #fff1b0,0 0 24px var(--halo),0 0 46px rgba(var(--halo-rgb),.55);transform:scale(1.45)
}
body[data-active-service=domotique] .hero-visual:after{
  content:"";position:absolute;z-index:4;left:12%;top:25%;width:52%;height:45%;border-radius:48%;
  background:radial-gradient(circle,rgba(var(--halo-rgb),.16),transparent 68%);filter:blur(4px);pointer-events:none
}

.electrical-panel-hero{
  position:absolute;z-index:6;left:8%;top:49%;width:90px;height:76px;border-radius:8px;
  background:url("../img/service-electricite.svg") center/cover no-repeat;
  opacity:.48;filter:saturate(.65) brightness(.72);transition:.38s var(--ease);pointer-events:none;
  box-shadow:0 8px 24px rgba(0,0,0,.22)
}
.wall-switch-hero{
  position:absolute;z-index:6;left:25%;top:58%;width:27px;height:42px;border-radius:7px;
  background:linear-gradient(145deg,#f7f9fb,#bac4ce);border:1px solid rgba(255,255,255,.6);
  opacity:.58;transition:.38s var(--ease);pointer-events:none;box-shadow:0 5px 12px rgba(0,0,0,.24)
}
.wall-switch-hero i{position:absolute;inset:8px 7px;border-radius:4px;background:linear-gradient(#e8edf2,#c0cad4)}
body[data-active-service=electricite] .electrical-panel-hero,
body[data-active-service=electricite] .wall-switch-hero{
  opacity:1;filter:saturate(1.05) brightness(1.12);
  box-shadow:0 0 9px var(--halo),0 0 29px rgba(var(--halo-rgb),.62),0 8px 24px rgba(0,0,0,.24)
}
body[data-active-service=electricite] .wall-switch-hero i{background:var(--halo);box-shadow:0 0 13px var(--halo)}

.charger-led{
  position:absolute;z-index:9;right:4.3%;top:39%;width:8px;height:47px;border-radius:8px;
  background:#17462f;opacity:.35;transition:.25s var(--ease);pointer-events:none
}
.irve-cable-glow{position:absolute;z-index:8;inset:0;width:100%;height:100%;pointer-events:none}
.irve-cable-glow path{fill:none;stroke:var(--halo);stroke-width:5;stroke-linecap:round;opacity:0;filter:drop-shadow(0 0 7px var(--halo)) drop-shadow(0 0 15px rgba(var(--halo-rgb),.75));transition:.35s var(--ease)}
body[data-active-service=irve] .charger-led{opacity:1;background:#37f082;box-shadow:0 0 7px #37f082,0 0 23px #37f082}
body[data-active-service=irve] .irve-cable-glow path{opacity:1;stroke-width:7}
body[data-active-service=irve] .hero-visual:before{
  content:"";position:absolute;z-index:4;right:-3%;bottom:2%;width:55%;height:54%;border-radius:50%;
  background:radial-gradient(circle at 63% 55%,rgba(var(--halo-rgb),.18),transparent 66%);pointer-events:none
}

.halo-variant-switch{
  position:absolute;z-index:20;right:8px;bottom:8px;display:flex;gap:4px;padding:5px;
  border-radius:999px;background:rgba(5,20,42,.72);backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.15)
}
.halo-variant-switch button{border:0;border-radius:999px;padding:7px 10px;background:transparent;color:#cfe8ff;font-size:11px;font-weight:750;cursor:pointer}
.halo-variant-switch button.is-active{background:var(--halo);color:#06223e;box-shadow:0 0 16px rgba(var(--halo-rgb),.45)}

.media-electricite{background-image:url("../img/service-electricite.svg")!important;background-size:cover!important;background-position:center!important}
.media-domotique{background-image:url("../img/service-domotique.svg")!important;background-size:cover!important;background-position:center!important}
.media-solaire{background-image:url("../img/service-solaire.svg")!important;background-size:cover!important;background-position:center!important}

.process{counter-reset:none;align-items:stretch}
.step:before{display:none!important;content:none!important}
.step{padding:24px 20px;transition:.3s var(--ease)}
.step:hover{transform:translateY(-5px);border-color:rgba(19,120,255,.3);box-shadow:0 16px 35px rgba(8,40,84,.08)}
.step-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#edf6ff;color:var(--blue);margin-bottom:26px;border:1px solid #d6e9ff;transition:.3s var(--ease)}
.step-icon svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}
.step:hover .step-icon{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;box-shadow:0 0 24px rgba(19,120,255,.24)}

@media(max-width:980px){
  .halo-variant-switch{right:0}
  .electrical-panel-hero{width:75px;height:64px}
}
@media(max-width:640px){
  .halo-variant-switch{display:none}
}


/* === NEXIDOM HOME V2.1 — aligned photographic flyovers === */
.hero-v2{
  position:relative;
  height:clamp(680px,56.25vw,820px);
  min-height:680px;
  overflow:hidden;
  color:#fff;
  background:#06152f;
  isolation:isolate;
}
.hero-v2:before,.hero-v2:after{display:none!important;content:none!important}
.hero-media,.hero-shade,.hero-interactions,.hero-service-pills{position:absolute;inset:0}
.hero-media{z-index:0;overflow:hidden}
.hero-photo{
  position:absolute;inset:0;width:100%;height:100%;max-width:none;
  object-fit:cover;object-position:center center;user-select:none;pointer-events:none;
}
.hero-photo-base{z-index:0}
.hero-layer{
  z-index:1;opacity:0;
  transition:opacity .46s cubic-bezier(.22,.61,.36,1);
  will-change:opacity;
}
.hero-layer.is-visible{opacity:1}
.hero-shade{
  z-index:2;
  background:
    linear-gradient(90deg,rgba(3,15,35,.94) 0%,rgba(3,15,35,.86) 28%,rgba(3,15,35,.48) 47%,rgba(3,15,35,.11) 68%,rgba(3,15,35,.03) 100%),
    linear-gradient(180deg,rgba(3,15,35,.08),rgba(3,15,35,.24));
  pointer-events:none;
}
.hero-v2 .hero-grid{
  position:relative;z-index:8;
  display:flex;align-items:center;
  height:100%;min-height:0;
  padding:70px 0 138px;
}
.hero-copy{width:min(650px,52vw);pointer-events:auto}
.hero-v2 .hero-copy h1{max-width:700px}
.hero-v2 .hero-copy p{max-width:620px}

.hero-interactions{z-index:6;pointer-events:none}
.hero-v2 .hero-zone{
  position:absolute;display:block;z-index:1;
  background:transparent;cursor:pointer;pointer-events:auto;
  border-radius:18px;outline:none;
}
.hero-v2 .hero-zone:focus-visible{box-shadow:0 0 0 2px #45efd0 inset,0 0 22px rgba(69,239,208,.55)}
.hero-zone-solaire{left:54%;top:10%;width:45%;height:20%}
.hero-zone-irve{left:65%;top:46%;width:33%;height:43%}
.hero-zone-elec-panel{left:58%;top:43%;width:11%;height:31%}
.hero-zone-elec-etage{left:8%;top:4%;width:20%;height:23%}
.hero-zone-elec-velux{left:35%;top:5%;width:14%;height:18%}
.hero-zone-domotique-interieur{left:7%;top:31%;width:34%;height:41%}
.hero-zone-domotique-camera{left:42%;top:25%;width:8%;height:13%}
.hero-zone-domotique-camera-carport{left:88%;top:27%;width:10%;height:14%}
.hero-zone-domotique-sonnette{left:27%;top:42%;width:7%;height:15%}

.hero-service-pills{
  z-index:10;width:100%;max-width:none;margin:0;pointer-events:none;
}
.hero-service-pill{
  position:absolute;display:flex;align-items:center;gap:8px;
  padding:8px 11px;border-radius:999px;
  color:#eaf9ff;background:rgba(4,20,43,.68);
  border:1px solid rgba(130,222,255,.42);
  backdrop-filter:blur(12px);
  box-shadow:0 10px 28px rgba(0,0,0,.22);
  font-size:12px;transform:translateZ(0);
  transition:transform .28s var(--ease),border-color .28s,box-shadow .28s,background .28s;
  pointer-events:auto;
}
.hero-service-pill span{
  display:grid;place-items:center;width:28px;height:28px;border-radius:50%;
  color:#45efd0;background:rgba(69,239,208,.09);
  box-shadow:inset 0 0 0 1px rgba(69,239,208,.30);
}
.hero-service-pill b{font-weight:800}
.pill-electricite{left:53%;top:62%}
.pill-domotique{left:43%;top:35%}
.pill-solaire{left:73%;top:22%}
.pill-irve{left:80%;top:72%}
.hero-v2[data-active-service="electricite"] .pill-electricite,
.hero-v2[data-active-service="domotique"] .pill-domotique,
.hero-v2[data-active-service="solaire"] .pill-solaire,
.hero-v2[data-active-service="irve"] .pill-irve{
  transform:scale(1.07);
  border-color:#45efd0;background:rgba(5,31,57,.88);
  box-shadow:0 0 12px rgba(69,239,208,.55),0 0 34px rgba(69,239,208,.25),0 10px 28px rgba(0,0,0,.22);
}

/* Real photographic crops for the four solution cards — no synthetic/cartoon artwork. */
.media-electricite,.media-domotique,.media-solaire,.media-irve{
  background-image:linear-gradient(180deg,rgba(7,26,59,.02),rgba(7,26,59,.18)),url("../img/hero-v2/hero-base.webp")!important;
  background-size:235%!important;
  filter:saturate(.92) contrast(1.03)!important;
}
.media-electricite{background-position:68% 58%!important}
.media-domotique{background-position:24% 48%!important}
.media-solaire{background-position:86% 12%!important}
.media-irve{background-position:89% 69%!important}

@media (prefers-reduced-motion:reduce){
  .hero-layer{transition:none}
  .hero-service-pill{transition:none}
}
@media(max-width:980px){
  .hero-v2{height:720px;min-height:720px}
  .hero-v2 .hero-grid{padding:58px 0 120px}
  .hero-copy{width:min(670px,78vw)}
  .hero-shade{background:linear-gradient(90deg,rgba(3,15,35,.94),rgba(3,15,35,.70) 55%,rgba(3,15,35,.18))}
  .pill-electricite{left:48%;top:64%}
  .pill-domotique{left:39%;top:38%}
}
@media(max-width:720px){
  .hero-v2{height:720px;min-height:720px}
  .hero-v2 .hero-grid{padding:46px 0 120px;align-items:flex-start}
  .hero-copy{width:100%;padding-top:12px}
  .hero-media{transform:scale(1.02)}
  .hero-photo{object-position:63% center}
  .hero-shade{background:linear-gradient(180deg,rgba(3,15,35,.92) 0%,rgba(3,15,35,.78) 52%,rgba(3,15,35,.30) 100%)}
  .hero-interactions,.hero-service-pills{display:none}
}


/* === NEXIDOM HOME V2.1 — turquoise cards & palette === */
:root{
  --blue:#20cdb0;
  --cyan:#45efd0;
}
.nav a:hover,.nav a[aria-current=page],
.service-link,.eyebrow,.step:before,.bullets li:before{color:var(--blue)}
.kicker,.hero h1 span{color:#68f1d9}
.btn-primary{
  background:linear-gradient(135deg,#18bfa4,#45efd0);
  box-shadow:0 12px 28px rgba(32,205,176,.28)
}
.btn-primary:hover{
  box-shadow:0 16px 35px rgba(32,205,176,.38)
}
.service-card:hover,.service-card:focus-visible{
  border-color:rgba(32,205,176,.42);
  box-shadow:0 22px 60px rgba(8,40,84,.15),0 0 0 1px rgba(32,205,176,.08)
}
.service-icon{
  background:#eafff9;
  color:var(--blue)
}
.service-card:hover .service-icon,.service-card:focus-visible .service-icon{
  background:#e2fff7;
  box-shadow:0 0 26px rgba(32,205,176,.28)
}
.step-icon{
  background:#eafff9;
  color:var(--blue);
  border-color:#c9f6eb
}
.step:hover{
  border-color:rgba(32,205,176,.32);
  box-shadow:0 16px 35px rgba(8,40,84,.08)
}
.step:hover .step-icon{
  background:linear-gradient(135deg,#18bfa4,#45efd0);
  box-shadow:0 0 24px rgba(32,205,176,.26)
}
.hero-v2 .hero-zone:focus-visible{
  box-shadow:0 0 0 2px #45efd0 inset,0 0 22px rgba(69,239,208,.55)
}

/* V2.1 service cards: same master image + same aligned flyover layers as the hero. */
.service-media-v21{
  position:relative;
  height:148px;
  margin:0 -24px 18px;
  overflow:hidden;
  background:#071a3b!important;
  isolation:isolate;
}
.service-media-v21 .service-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  object-fit:cover;
  pointer-events:none;
  user-select:none;
  transition:opacity .42s cubic-bezier(.22,.61,.36,1),filter .42s var(--ease);
  will-change:opacity;
}
.service-media-v21 .service-photo-base{z-index:0}
.service-media-v21 .service-photo-layer{z-index:1;opacity:0}

/* Electricity: intentionally zoomed and biased left — front door / house / electrical panel, no car focus. */
.service-media-v21.media-electricite .service-photo{
  transform:scale(1.72);
  transform-origin:29% 55%;
}
.service-card[data-service="electricite"]:hover .layer-electricite,
.service-card[data-service="electricite"]:focus-visible .layer-electricite{
  opacity:1;
  transition-delay:0s
}
.service-card[data-service="electricite"]:hover .layer-rdc,
.service-card[data-service="electricite"]:focus-visible .layer-rdc{
  opacity:1;
  transition-delay:.18s
}
.service-card[data-service="electricite"]:hover .layer-etage,
.service-card[data-service="electricite"]:focus-visible .layer-etage{
  opacity:1;
  transition-delay:.58s
}

/* Domotics: front-door security hardware. */
.service-media-v21.media-domotique .service-photo{
  transform:scale(1.48);
  transform-origin:39% 47%;
}
.service-card[data-service="domotique"]:hover .layer-securite,
.service-card[data-service="domotique"]:focus-visible .layer-securite{opacity:1}

/* Solar: panels fill the image and receive the turquoise photographic halo. */
.service-media-v21.media-solaire .service-photo{
  transform:scale(1.52);
  transform-origin:77% 18%;
}
.service-card[data-service="solaire"]:hover .layer-solaire,
.service-card[data-service="solaire"]:focus-visible .layer-solaire{opacity:1}

/* IRVE: charger + cable + car remain together in the crop. */
.service-media-v21.media-irve .service-photo{
  transform:scale(1.43);
  transform-origin:82% 63%;
}
.service-card[data-service="irve"]:hover .layer-irve,
.service-card[data-service="irve"]:focus-visible .layer-irve{opacity:1}

.service-card-v21:hover .service-photo-base,
.service-card-v21:focus-visible .service-photo-base{
  filter:saturate(1.04) contrast(1.03)
}

/* Override legacy background-image crop rules on the new stacked media. */
.service-media-v21.media-electricite,
.service-media-v21.media-domotique,
.service-media-v21.media-solaire,
.service-media-v21.media-irve{
  background-image:none!important;
  background-size:auto!important;
  background-position:center!important;
  filter:none!important
}

@media(max-width:640px){
  .service-media-v21{height:168px}
}
@media (prefers-reduced-motion:reduce){
  .service-media-v21 .service-photo-layer{transition:none}
}


/* === NEXIDOM HOME V2.2 — trigger precision + looping effects === */

/* Let the photographic hit-zones receive pointer events even beneath the hero content wrapper. */
.hero-v2 .hero-grid{pointer-events:none}
.hero-v2 .hero-copy,
.hero-v2 .hero-copy a,
.hero-v2 .hero-copy button{pointer-events:auto}

/* More precise physical hit zones. */
.hero-zone-elec-panel{left:57.5%;top:40%;width:12.5%;height:35%}
.hero-zone-elec-velux{left:34%;top:3%;width:17%;height:21%}
.hero-zone-elec-etage{left:7%;top:3%;width:22%;height:25%}
.hero-zone-irve-car{left:66%;top:47%;width:28%;height:38%}
.hero-zone-irve-borne{left:92%;top:42%;width:7%;height:38%}

/* Slow, premium pulse for direct solar / IRVE states in the hero. */
@keyframes v22-slow-pulse{
  0%,100%{opacity:.28}
  45%,55%{opacity:1}
}
.hero-v2[data-active-service="solaire"] [data-hero-layer="solaire"].is-visible,
.hero-v2[data-active-service="irve"] [data-hero-layer="irve"].is-visible{
  animation:v22-slow-pulse 3.4s ease-in-out infinite
}

/* Service-card loops: Electricity = panel -> ground floor -> upper floor -> reset. */
@keyframes v22-card-elec-panel{
  0%,5%{opacity:0}
  12%,78%{opacity:1}
  92%,100%{opacity:0}
}
@keyframes v22-card-elec-rdc{
  0%,20%{opacity:0}
  30%,78%{opacity:1}
  92%,100%{opacity:0}
}
@keyframes v22-card-elec-etage{
  0%,39%{opacity:0}
  49%,78%{opacity:1}
  92%,100%{opacity:0}
}
.service-card[data-service="electricite"]:hover .layer-electricite,
.service-card[data-service="electricite"]:focus-visible .layer-electricite{
  animation:v22-card-elec-panel 5.2s ease-in-out infinite;
  transition-delay:0s!important
}
.service-card[data-service="electricite"]:hover .layer-rdc,
.service-card[data-service="electricite"]:focus-visible .layer-rdc{
  animation:v22-card-elec-rdc 5.2s ease-in-out infinite;
  transition-delay:0s!important
}
.service-card[data-service="electricite"]:hover .layer-etage,
.service-card[data-service="electricite"]:focus-visible .layer-etage{
  animation:v22-card-elec-etage 5.2s ease-in-out infinite;
  transition-delay:0s!important
}

/* Domotics card: slow exterior-light cycle + camera / doorbell halo cycle. */
@keyframes v22-card-dom-ext{
  0%,8%{opacity:0}
  25%,58%{opacity:1}
  82%,100%{opacity:0}
}
@keyframes v22-card-dom-security{
  0%,30%{opacity:0}
  44%,72%{opacity:1}
  90%,100%{opacity:0}
}
.service-card[data-service="domotique"]:hover .layer-exterieur,
.service-card[data-service="domotique"]:focus-visible .layer-exterieur{
  animation:v22-card-dom-ext 6s ease-in-out infinite
}
.service-card[data-service="domotique"]:hover .layer-securite,
.service-card[data-service="domotique"]:focus-visible .layer-securite{
  animation:v22-card-dom-security 6s ease-in-out infinite
}

/* Solar and IRVE cards: gentle slow blinking of the photographic halo. */
.service-card[data-service="solaire"]:hover .layer-solaire,
.service-card[data-service="solaire"]:focus-visible .layer-solaire,
.service-card[data-service="irve"]:hover .layer-irve,
.service-card[data-service="irve"]:focus-visible .layer-irve{
  animation:v22-slow-pulse 3.4s ease-in-out infinite
}

/* Do not let old one-shot opacity declarations win over V2.2 animations. */
.service-card-v21 .service-photo-layer{transition-delay:0s}

@media (prefers-reduced-motion:reduce){
  .hero-v2[data-active-service="solaire"] [data-hero-layer="solaire"].is-visible,
  .hero-v2[data-active-service="irve"] [data-hero-layer="irve"].is-visible,
  .service-card[data-service="electricite"]:hover .service-photo-layer,
  .service-card[data-service="electricite"]:focus-visible .service-photo-layer,
  .service-card[data-service="domotique"]:hover .service-photo-layer,
  .service-card[data-service="domotique"]:focus-visible .service-photo-layer,
  .service-card[data-service="solaire"]:hover .layer-solaire,
  .service-card[data-service="solaire"]:focus-visible .layer-solaire,
  .service-card[data-service="irve"]:hover .layer-irve,
  .service-card[data-service="irve"]:focus-visible .layer-irve{
    animation:none!important;
    opacity:1!important
  }
}


/* === NEXIDOM HOME V2.3 — monoline icons + turquoise realizations === */
.service-icon img{
  width:31px;
  height:31px;
  object-fit:contain
}
.value .service-icon img{
  width:30px;
  height:30px
}
.step-icon img{
  width:30px;
  height:30px;
  object-fit:contain
}
.hero-service-pill span img{
  width:18px;
  height:18px;
  object-fit:contain
}
.hero-service-pill span{
  color:var(--blue)
}

/* Turquoise realization cards */
.project--turquoise{
  background:linear-gradient(145deg,#075e56,#0b8f80 58%,#20cdb0)
}
.project-art-domotique{
  background:radial-gradient(circle at 60% 30%,#45efd0,#0b8f80 55%,#064c45)
}
.project-art-irve{
  background:linear-gradient(145deg,#08776b,#20cdb0)
}
.project-copy span{
  color:#75f2dc
}

/* Slow turquoise pulse aligned over the charger's vertical status bar. */
.project--charger{isolation:isolate}
.project-charger-pulse{
  position:absolute;
  z-index:2;
  left:65.5%;
  top:41.5%;
  width:1.35%;
  height:8.8%;
  min-width:5px;
  border-radius:999px;
  background:#45efd0;
  opacity:.35;
  box-shadow:0 0 8px rgba(69,239,208,.9),0 0 22px rgba(32,205,176,.75);
  mix-blend-mode:screen;
  pointer-events:none;
  animation:v23-charger-pulse 3.2s ease-in-out infinite
}
.project--charger .project-copy{z-index:3}
@keyframes v23-charger-pulse{
  0%,100%{opacity:.28;filter:brightness(.9)}
  45%,55%{opacity:1;filter:brightness(1.28)}
}

/* Footer brand signature */
.footer-tagline{
  margin:0;
  color:#cfe0f4;
  font-size:16px;
  letter-spacing:.01em
}

@media(max-width:640px){
  .project-charger-pulse{display:none}
}
@media (prefers-reduced-motion:reduce){
  .project-charger-pulse{animation:none;opacity:.8}
}


/* === NEXIDOM HOME V2.5 — precise Velux crops + anthracite footer === */

/* The original upper-floor photo changed the surrounding roof tone.
   Keep only the illuminated physical openings from that overlay. */
.hero-layer-etage-left{
  clip-path:polygon(7.5% 3.5%,20.5% 3.5%,20.5% 26%,7.5% 26%);
}
.hero-layer-velux{
  clip-path:polygon(39% 6.3%,47.2% 6.0%,44.9% 17.5%,36.8% 18.5%);
}

/* Same source image in the Electricity card: only the actual lit openings survive. */
.service-card[data-service="electricite"] .layer-etage-left{
  clip-path:polygon(7.5% 3.5%,20.5% 3.5%,20.5% 26%,7.5% 26%);
}
.service-card[data-service="electricite"] .layer-velux{
  clip-path:polygon(39% 6.3%,47.2% 6.0%,44.9% 17.5%,36.8% 18.5%);
}

/* V2.2 upper-floor loop now drives both tightly cropped layers. */
.service-card[data-service="electricite"]:hover .layer-etage-left,
.service-card[data-service="electricite"]:focus-visible .layer-etage-left,
.service-card[data-service="electricite"]:hover .layer-velux,
.service-card[data-service="electricite"]:focus-visible .layer-velux{
  animation:v22-card-elec-etage 5.2s ease-in-out infinite;
  transition-delay:0s!important;
}

/* Big bottom areas: blue -> premium anthracite, preserving the light-to-dark depth. */
.cta{
  background:linear-gradient(135deg,#3c464d 0%,#283138 48%,#161c21 100%);
}
.cta p{color:#d9e0e4}
.site-footer{
  background:linear-gradient(180deg,#151c22 0%,#0e1317 100%);
  color:#b9c3ca;
}


/* === NEXIDOM HOME V2.6 — fixed title + mobile scroll interactions === */

/* Exact editorial line breaks on every viewport. */
.hero-title-v26{
  max-width:none!important;
}
.hero-title-v26 .hero-title-line{
  display:block;
  width:max-content;
  max-width:100%;
  white-space:nowrap;
  color:#fff!important;
}
.hero-title-v26 .hero-title-accent{
  display:inline;
  color:#68f1d9!important;
}

/* Mobile cards animate when IntersectionObserver marks them visible. */
@media (max-width:720px), (hover:none), (pointer:coarse){
  .hero-title-v26{
    font-size:clamp(28px,8vw,34px)!important;
    line-height:1.01!important;
    letter-spacing:-.035em!important;
  }

  .service-card[data-service="electricite"].is-inview .layer-electricite{
    animation:v22-card-elec-panel 5.2s ease-in-out infinite!important;
  }
  .service-card[data-service="electricite"].is-inview .layer-rdc{
    animation:v22-card-elec-rdc 5.2s ease-in-out infinite!important;
  }
  .service-card[data-service="electricite"].is-inview .layer-etage-left,
  .service-card[data-service="electricite"].is-inview .layer-velux{
    animation:v22-card-elec-etage 5.2s ease-in-out infinite!important;
  }

  .service-card[data-service="domotique"].is-inview .layer-exterieur{
    animation:v22-card-dom-ext 6s ease-in-out infinite!important;
  }
  .service-card[data-service="domotique"].is-inview .layer-securite{
    animation:v22-card-dom-security 6s ease-in-out infinite!important;
  }

  .service-card[data-service="solaire"].is-inview .layer-solaire,
  .service-card[data-service="irve"].is-inview .layer-irve{
    animation:v22-slow-pulse 3.4s ease-in-out infinite!important;
  }

  /* Touch devices should not keep a sticky desktop-hover lift after tapping a card. */
  .service-card:hover{
    transform:none;
  }

  /* Safe fallback: if scroll animation cannot run, show each card in its illuminated state. */
  body.mobile-solutions-static .service-card[data-service="electricite"] .layer-electricite,
  body.mobile-solutions-static .service-card[data-service="electricite"] .layer-rdc,
  body.mobile-solutions-static .service-card[data-service="electricite"] .layer-etage-left,
  body.mobile-solutions-static .service-card[data-service="electricite"] .layer-velux,
  body.mobile-solutions-static .service-card[data-service="domotique"] .layer-exterieur,
  body.mobile-solutions-static .service-card[data-service="domotique"] .layer-securite,
  body.mobile-solutions-static .service-card[data-service="solaire"] .layer-solaire,
  body.mobile-solutions-static .service-card[data-service="irve"] .layer-irve{
    opacity:1!important;
    animation:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .service-card[data-service="electricite"].is-inview .layer-electricite,
  .service-card[data-service="electricite"].is-inview .layer-rdc,
  .service-card[data-service="electricite"].is-inview .layer-etage-left,
  .service-card[data-service="electricite"].is-inview .layer-velux,
  .service-card[data-service="domotique"].is-inview .layer-exterieur,
  .service-card[data-service="domotique"].is-inview .layer-securite,
  .service-card[data-service="solaire"].is-inview .layer-solaire,
  .service-card[data-service="irve"].is-inview .layer-irve{
    opacity:1!important;
    animation:none!important;
  }
}


/* V2.6 desktop Domotique horizontal nudge */
@media (min-width:981px){
  .pill-domotique{
    transform:translateX(45px);
  }
  .hero-v2[data-active-service="domotique"] .pill-domotique{
    transform:translateX(45px) scale(1.07);
  }
}


/* === NEXIDOM HOME V2.7 — tight domotics device crops === */

/* Desktop positioning requested after V2.6: +5px right, +15px down. */
@media (min-width:981px){
  .pill-domotique{
    transform:translate(50px,15px);
  }
  .hero-v2[data-active-service="domotique"] .pill-domotique{
    transform:translate(50px,15px) scale(1.07);
  }
}

/* Security overlay split into three isolated physical devices.
   Doorbell is intentionally very tight to avoid the dark brick rectangle. */
.hero-layer-securite-sonnette{
  clip-path:polygon(28.7% 46.8%,31.8% 46.8%,31.8% 56.2%,28.7% 56.2%);
}
.hero-layer-securite-camera{
  clip-path:polygon(41.6% 25.3%,49.0% 25.3%,49.0% 38.4%,41.6% 38.4%);
}
.hero-layer-securite-carport{
  clip-path:polygon(89.0% 28.7%,97.8% 28.7%,97.8% 42.4%,89.0% 42.4%);
}

/* Same device-only crops inside the Domotique solution card. */
.service-card[data-service="domotique"] .layer-securite-sonnette{
  clip-path:polygon(28.7% 46.8%,31.8% 46.8%,31.8% 56.2%,28.7% 56.2%);
}
.service-card[data-service="domotique"] .layer-securite-camera{
  clip-path:polygon(41.6% 25.3%,49.0% 25.3%,49.0% 38.4%,41.6% 38.4%);
}
.service-card[data-service="domotique"] .layer-securite-carport{
  clip-path:polygon(89.0% 28.7%,97.8% 28.7%,97.8% 42.4%,89.0% 42.4%);
}

/* Desktop hover/focus: all three security devices pulse together. */
.service-card[data-service="domotique"]:hover .layer-securite-sonnette,
.service-card[data-service="domotique"]:focus-visible .layer-securite-sonnette,
.service-card[data-service="domotique"]:hover .layer-securite-camera,
.service-card[data-service="domotique"]:focus-visible .layer-securite-camera,
.service-card[data-service="domotique"]:hover .layer-securite-carport,
.service-card[data-service="domotique"]:focus-visible .layer-securite-carport{
  animation:v22-card-dom-security 6s ease-in-out infinite;
}

/* Mobile scroll interaction from V2.6, now targeting the split crops. */
@media (max-width:720px), (hover:none), (pointer:coarse){
  .service-card[data-service="domotique"].is-inview .layer-securite-sonnette,
  .service-card[data-service="domotique"].is-inview .layer-securite-camera,
  .service-card[data-service="domotique"].is-inview .layer-securite-carport{
    animation:v22-card-dom-security 6s ease-in-out infinite!important;
  }

  body.mobile-solutions-static .service-card[data-service="domotique"] .layer-securite-sonnette,
  body.mobile-solutions-static .service-card[data-service="domotique"] .layer-securite-camera,
  body.mobile-solutions-static .service-card[data-service="domotique"] .layer-securite-carport{
    opacity:1!important;
    animation:none!important;
  }
}

@media (prefers-reduced-motion:reduce){
  .service-card[data-service="domotique"].is-inview .layer-securite-sonnette,
  .service-card[data-service="domotique"].is-inview .layer-securite-camera,
  .service-card[data-service="domotique"].is-inview .layer-securite-carport{
    opacity:1!important;
    animation:none!important;
  }
}


/* V2.7 native Solutions anchor offset */
#solutions{
  scroll-margin-top:100px;
}
@media(max-width:720px){
  #solutions{
    scroll-margin-top:100px;
  }
}


/* V2.7 mobile/touch: hide Discover solutions CTA */
@media (max-width:980px), (hover:none), (pointer:coarse){
  .js-solutions-anchor{
    display:none!important;
  }
}


/* === NEXIDOM HOME V2.8 — turquoise mobile menu === */
.menu-toggle{
  color:#20cdb0;
}
.menu-toggle:hover,
.menu-toggle:focus-visible{
  color:#45efd0;
}
/* === NEXIDOM SOLUTION PAGES V2.9 === */
.solution-page{background:#f5f8f7}
.solution-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#394249 0%,#272f34 48%,#151b1f 100%);color:#fff}
.solution-hero:before{content:"";position:absolute;right:-12%;top:-58%;width:680px;height:680px;border-radius:50%;background:radial-gradient(circle,rgba(69,239,208,.19),rgba(32,205,176,.045) 48%,transparent 70%);pointer-events:none}
.solution-hero-grid{position:relative;display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:64px;min-height:570px;padding:70px 0}
.solution-hero-copy{max-width:560px}
.solution-kicker{display:flex;align-items:center;gap:10px;margin-bottom:18px;font-size:12px;letter-spacing:.18em;text-transform:uppercase;color:#68f1d9;font-weight:850}
.solution-kicker img{width:25px;height:25px;object-fit:contain}
.solution-hero h1{font-size:clamp(48px,6vw,76px);line-height:.96;letter-spacing:-.045em;margin:0 0 22px}
.solution-hero p{font-size:18px;line-height:1.7;color:#dce5e7;margin:0 0 30px;max-width:610px}
.solution-hero-media{position:relative;aspect-ratio:6/5;border-radius:26px;overflow:hidden;border:1px solid rgba(255,255,255,.13);background:#20282d;box-shadow:0 28px 80px rgba(0,0,0,.34)}
.solution-hero-media:after{content:"";position:absolute;inset:0;box-shadow:inset 0 0 0 1px rgba(255,255,255,.07);pointer-events:none}
.solution-hero-media img{width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .55s var(--ease)}
.solution-hero-media:hover img{transform:scale(1.018)}
.solution-electricite .solution-hero-media img{object-position:52% 50%}
.solution-domotique .solution-hero-media img{object-position:40% 47%}
.solution-solaire .solution-hero-media img{object-position:73% 20%}
.solution-irve .solution-hero-media img{object-position:83% 62%}
.solution-detail{padding:92px 0;background:#fff}
.solution-detail-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:72px;align-items:start}
.solution-detail-copy h2{font-size:clamp(34px,4vw,50px);line-height:1.04;letter-spacing:-.035em;margin:0 0 18px}
.solution-detail-copy .lead{line-height:1.75}
.solution-feature-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.solution-feature-list li{display:flex;align-items:flex-start;gap:14px;padding:18px 20px;border:1px solid #dbe8e5;border-radius:16px;background:linear-gradient(180deg,#fff,#f8fbfa);font-weight:680;color:#273138;box-shadow:0 8px 26px rgba(25,48,44,.035)}
.solution-feature-list li:before{content:"✓";display:grid;place-items:center;flex:0 0 28px;height:28px;margin-top:-1px;border-radius:50%;background:#ddfff5;color:#0e9e88;font-weight:900}
.solution-cta{padding:66px 0}
.solution-cta .cta-box{align-items:center}
.solution-cta h2{font-size:clamp(32px,4vw,48px)}
.solution-cta p{max-width:700px}
@media(max-width:980px){
  .solution-hero-grid,.solution-detail-grid{grid-template-columns:1fr}
  .solution-hero-grid{gap:38px;min-height:0;padding:58px 0 64px}
  .solution-hero-copy{max-width:720px}
  .solution-hero-media{width:min(760px,100%);aspect-ratio:16/10}
  .solution-detail{padding:76px 0}
}
@media(max-width:640px){
  .solution-hero-grid{padding:44px 0 50px;gap:30px}
  .solution-hero h1{font-size:clamp(42px,14vw,58px)}
  .solution-hero p{font-size:16px}
  .solution-hero-media{aspect-ratio:6/5;border-radius:20px}
  .solution-detail{padding:62px 0}
  .solution-detail-grid{gap:34px}
  .solution-feature-list li{padding:16px}
  .solution-cta{padding:54px 0}
}


/* === NEXIDOM SOLUTION PAGES V2.10 — shared turquoise photo frame === */
.solution-hero-media{
  border:2px solid #20cdb0;
  box-shadow:
    0 0 0 1px rgba(69,239,208,.18),
    0 0 22px rgba(32,205,176,.22),
    0 28px 80px rgba(0,0,0,.34);
}
.solution-hero-media:after{
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    inset 0 0 24px rgba(69,239,208,.05);
}
@media(max-width:640px){
  .solution-hero-media{
    border-width:2px;
    box-shadow:
      0 0 0 1px rgba(69,239,208,.14),
      0 0 16px rgba(32,205,176,.18),
      0 20px 50px rgba(0,0,0,.3);
  }
}


/* === NEXIDOM V2.10.2 — HQ imagery + unified secondary pages + footer branding === */

/* Footer branding */
.footer-brand-word{
  display:inline-block;
  margin-bottom:16px;
  color:#fff;
  font-size:clamp(42px,4vw,64px);
  line-height:.95;
  font-weight:900;
  letter-spacing:-.055em;
}
.footer-brand-n,
.footer-title-turquoise,
.footer-brand-small span{
  color:#20cdb0;
}
.footer-title-turquoise{
  display:inline-block;
  margin-bottom:4px;
}
.footer-brand-small{
  display:inline-block;
  margin-bottom:4px;
  color:#fff;
  font-size:20px;
  font-weight:850;
  letter-spacing:-.025em;
}
.site-footer .footer-links a{
  transition:color .2s ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible{
  color:#45efd0;
}

/* Keep all photographic solution blocks crisp and consistently framed. */
.solution-hero-media{
  background:#20282d;
}
.solution-hero-media img{
  image-rendering:auto;
  object-fit:cover;
}
.solution-electricite .solution-hero-media img{object-position:52% 50%}
.solution-domotique .solution-hero-media img{object-position:50% 50%}
.solution-solaire .solution-hero-media img{object-position:50% 43%}
.solution-irve .solution-hero-media img{object-position:50% 50%}

/* Réalisations + À propos: same anthracite / turquoise visual language as solution pages. */
.brand-secondary{
  background:#f5f8f7;
}
.brand-secondary .page-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#394249 0%,#272f34 48%,#151b1f 100%);
  color:#fff;
}
.brand-secondary .page-hero:before{
  content:"";
  position:absolute;
  right:-12%;
  top:-78%;
  width:650px;
  height:650px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(69,239,208,.20),rgba(32,205,176,.045) 48%,transparent 70%);
  pointer-events:none;
}
.brand-secondary .page-hero .container{
  position:relative;
}
.brand-secondary .page-hero .kicker,
.brand-secondary .eyebrow{
  color:#68f1d9;
}
.brand-secondary .page-hero p{
  color:#dce5e7;
}
.brand-secondary .section{
  background:#f5f8f7;
}
.brand-secondary .content-card,
.brand-secondary .project{
  border:1px solid rgba(32,205,176,.45);
  box-shadow:0 18px 50px rgba(18,31,35,.10);
}
.brand-secondary .project-copy span{
  color:#20cdb0;
}
.brand-realisations .project-art[style]{
  background:linear-gradient(135deg,#075e56,#0b8f80 58%,#20cdb0)!important;
}
.brand-about .content-card{
  overflow:hidden;
  border-radius:22px;
}


/* === NEXIDOM V2.10.3 — final charter / footer / HQ solution media === */

/* Shared footer branding */
.footer-brand-word{
  display:inline-block;
  margin-bottom:16px;
  color:#fff;
  font-size:clamp(38px,4vw,52px);
  line-height:1;
  font-weight:900;
  letter-spacing:-.045em;
}
.footer-brand-n,
.footer-brand-small span{
  color:#20cdb0;
}
.footer-title-turquoise{
  color:#20cdb0;
}
.footer-brand-small{
  color:#fff;
  font-size:18px;
  font-weight:850;
}
.site-footer .footer-links a{
  transition:color .2s ease;
}
.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible{
  color:#45efd0;
}

/* HQ images: preserve sharpness and predictable cropping */
.solution-hero-media img{
  image-rendering:auto;
  transform:translateZ(0);
  backface-visibility:hidden;
}
.solution-electricite .solution-hero-media img{object-position:50% 50%}
.solution-domotique .solution-hero-media img{object-position:50% 50%}
.solution-solaire .solution-hero-media img{object-position:50% 44%}
.solution-irve .solution-hero-media img{object-position:50% 50%}

/* Secondary pages aligned with the anthracite / turquoise charter */
.brand-secondary{
  background:#f5f8f7;
}
.brand-secondary .page-hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#394249 0%,#272f34 48%,#151b1f 100%);
  color:#fff;
}
.brand-secondary .page-hero:before{
  content:"";
  position:absolute;
  right:-10%;
  top:-70%;
  width:650px;
  height:650px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(69,239,208,.18),rgba(32,205,176,.045) 48%,transparent 70%);
  pointer-events:none;
}
.brand-secondary .page-hero .container{
  position:relative;
  z-index:1;
}
.brand-secondary .page-hero .kicker,
.brand-secondary .eyebrow{
  color:#68f1d9;
}
.brand-secondary .page-hero p{
  color:#dce5e7;
}
.brand-secondary .section{
  background:#f5f8f7;
}
.brand-secondary .content-card,
.brand-secondary .project{
  border:1px solid rgba(32,205,176,.55);
  box-shadow:
    0 0 0 1px rgba(69,239,208,.08),
    0 20px 55px rgba(20,35,34,.09);
}
.brand-secondary .project-copy span{
  color:#20cdb0;
}
.brand-realisations .project:nth-child(2) .project-art,
.brand-realisations .project:nth-child(3) .project-art{
  background:linear-gradient(135deg,#075e56,#20cdb0)!important;
}
.brand-about .content-card{
  background:linear-gradient(145deg,#1b2328,#12181c);
}
.brand-about .content-card img{
  opacity:.9;
}
