/* Une console de présentation, sans dépendance supplémentaire. */
#realisations .screen.electric{--ev-accent:#c8f77b;position:relative;isolation:isolate;max-width:none;background:#0b1719;color:#f3f8f4;gap:24px;padding-block:30px}
#realisations .screen.electric::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 20% 70%,#24767d38,transparent 55%),linear-gradient(#ffffff03 1px,transparent 1px),linear-gradient(90deg,#ffffff03 1px,transparent 1px);background-size:auto,45px 45px,45px 45px}
.ev-heading{display:flex;justify-content:space-between;align-items:end;gap:35px}.ev-heading .eyebrow{color:var(--ev-accent);font-size:10px;margin-bottom:14px}.ev-heading h2{font-size:clamp(34px,3.7vw,61px);line-height:1.05}.ev-heading>p{font-size:13px;color:#afc2bd;max-width:350px;line-height:1.65}
.ev-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:30px;align-items:stretch;min-height:420px}.ev-machine{position:relative;isolation:isolate;margin:0;border:1px solid #a1dacf32;border-radius:18px;overflow:hidden;display:flex;flex-direction:column;background:radial-gradient(ellipse at 50% 45%,#c8e3d9,#f4f8f3 65%);color:#142c2d;min-height:420px}
.ev-live{position:absolute;top:20px;left:22px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:1px;text-transform:uppercase;z-index:2;background:#ffffffcb;padding:7px 10px;border-radius:20px}.ev-live i{height:7px;width:7px;border-radius:50%;background:#438b36;box-shadow:0 0 0 4px #438b3620}
#realisations .ev-machine>img{position:relative;display:block;width:100%;height:clamp(220px,30vh,340px);object-fit:contain;margin:35px 0 0;border:0;box-shadow:none;background:transparent;mix-blend-mode:multiply}
.ev-machine figcaption{position:relative;padding:0 26px 18px;display:flex;flex-direction:column;gap:6px}.ev-machine figcaption strong{font-size:clamp(34px,3vw,50px);font-weight:650;letter-spacing:-.05em}.ev-machine figcaption>span{font-size:12px;color:#48635e}.ev-visual-foot{margin-top:auto;padding:15px 26px;border-top:1px solid #224e4224;font-size:11px;display:flex;justify-content:space-between;gap:12px}.ev-visual-foot>span{color:#55736b;font-size:10px}
.ev-orbit{position:absolute;left:15%;top:16%;width:70%;aspect-ratio:1;border:1px dashed #2f8a7233;border-radius:50%;transform:rotate(-20deg);pointer-events:none}
.ev-console{min-width:0;border:1px solid #a1dacf30;border-radius:18px;background:#102326dd;overflow:hidden;display:flex;flex-direction:column}.ev-tabs{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid #a1dacf30;padding:7px;gap:4px}.ev-tabs button{display:flex;flex-direction:column;align-items:start;gap:6px;text-align:left;padding:12px 10px;border:0;font-size:11px;border-radius:9px;color:#b6c8c2;min-height:65px;transition:background .2s,color .2s}.ev-tabs button>span{font-size:9px;opacity:.65}.ev-tabs button[aria-selected=true]{background:var(--ev-accent);color:#10201a}.ev-tabs button:hover:enabled{background:#ffffff15}.ev-tabs button[aria-selected=true]:hover{background:#dcffa6}
.ev-panel{padding:24px 28px;flex:1;animation:ev-arrive .25s ease both}.ev-panel[hidden]{display:none}.ev-kicker{color:var(--ev-accent);font-size:9px;letter-spacing:1.4px;margin-bottom:12px}.ev-panel h3{font-size:clamp(22px,2.1vw,34px);line-height:1.15;letter-spacing:-.04em;margin:0 0 15px;color:#f4faf5}.ev-panel>p:not(.ev-kicker):not(.ev-note){font-size:13px;line-height:1.65;color:#b8ccc4;max-width:600px}
.ev-models{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:24px 0 18px}.ev-models button{display:flex;flex-direction:column;gap:6px;align-items:start;padding:12px 10px;color:white;border:1px solid #a1dacf3b;border-radius:8px;font-size:12px}.ev-models button>span{font-size:10px;color:#abc5bb}.ev-models button[aria-pressed=true]{border-color:var(--ev-accent);background:#c8f77b12;color:var(--ev-accent)}.ev-models button:hover:enabled{background:#ffffff10}.ev-model-note{font-size:13px;color:white;border-left:2px solid var(--ev-accent);padding-left:15px;line-height:1.6;min-height:44px}.ev-note{font-size:10px;color:#93aea3;line-height:1.55;margin-top:18px}
.ev-inputs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.ev-inputs label{font-size:10px;color:#c3d2cc;display:flex;flex-direction:column;gap:7px}.ev-inputs input{width:100%;min-width:0;background:#07171b;color:#edfff1;border:1px solid #9abbb055;border-radius:7px;padding:10px 12px;font:inherit;font-size:23px}.ev-inputs label>span{font-size:9px;color:#8faaa0}.ev-result{display:flex;align-items:center;gap:20px;padding:16px 0;border-top:1px solid #a1dacf22}.ev-result>strong{font-size:clamp(28px,2.8vw,44px);letter-spacing:-.04em;color:var(--ev-accent);white-space:nowrap}.ev-result small{font-size:12px;margin-left:5px;font-weight:400;letter-spacing:0}.ev-result>span{font-size:11px;color:#aec7bb;max-width:170px}
.ev-points{list-style:none;margin:20px 0 0;padding:0;display:grid;gap:16px}.ev-points li{display:grid;grid-template-columns:155px 1fr;gap:18px;border-top:1px solid #b3dbcb22;padding-top:14px}.ev-points strong{font-size:12px;color:#eef9f1;font-weight:600}.ev-points span{font-size:12px;color:#adc5b8;line-height:1.55}.ev-charge-flow{display:flex;align-items:center;gap:9px;margin-top:20px}.ev-charge-flow>span{font-size:11px;border:1px solid #bedfce38;border-radius:6px;padding:10px 12px}.ev-charge-flow>b{font-size:15px;color:var(--ev-accent);font-weight:400}
.ev-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;color:#a5bfb3;font-size:11px}.ev-footer>span{letter-spacing:.25px}.ev-footer details{position:relative;flex-shrink:0}.ev-footer summary{cursor:pointer;color:var(--ev-accent);font-size:10px;padding:8px 0}.ev-footer details>div{position:absolute;bottom:35px;right:0;z-index:10;width:min(460px,75vw);border:1px solid #bbd8c94d;border-radius:10px;padding:20px;background:#0d2022;box-shadow:0 15px 50px #0006}.ev-footer details p{font-size:11px;color:#c1d1c8;line-height:1.6;margin:0 0 10px}.ev-footer details a{display:block;margin:9px 0;color:var(--ev-accent);font-size:11px}#realisations .electric :focus-visible{outline-color:var(--ev-accent);outline-offset:3px}
@keyframes ev-arrive{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1100px){.ev-layout{grid-template-columns:.8fr 1.2fr;gap:18px}.ev-panel{padding:20px}.ev-tabs button{font-size:10px;padding:10px 7px}.ev-points li{grid-template-columns:120px 1fr;gap:12px}.ev-heading>p{max-width:270px}.ev-visual-foot{display:block}.ev-visual-foot>span{display:block;margin-top:5px}.ev-models{gap:5px}.ev-models button{padding:10px 7px;font-size:10px}}
@media(max-width:750px){.ev-heading{display:block}.ev-heading>p{margin-top:18px;max-width:none}.ev-layout{grid-template-columns:1fr}.ev-machine{min-height:0}#realisations .ev-machine>img{height:230px}.ev-tabs button{font-size:11px}.ev-panel{min-height:390px}.ev-points li{grid-template-columns:1fr;gap:6px}.ev-footer{align-items:start}.ev-footer>span{max-width:220px}.ev-charge-flow{flex-wrap:wrap}.ev-inputs{gap:8px}.ev-inputs input{font-size:19px;padding:10px 7px}.ev-result{gap:10px}}
@media(prefers-reduced-motion:reduce){.ev-panel{animation:none}.ev-tabs button{transition:none}}
@media print{#realisations .screen.electric{background:white;color:black}.ev-heading h2,.ev-heading .eyebrow,.ev-heading>p,.ev-panel h3,.ev-panel p,.ev-panel span,.ev-panel strong,.ev-panel li strong,.ev-panel li span,.ev-model-note,.ev-result>strong,.ev-result>span{color:black!important}.ev-console{background:white}.ev-panel[hidden]{display:block}.ev-layout{display:block}.ev-machine{max-width:100mm;margin-bottom:10mm}.ev-panel{break-inside:avoid}.ev-tabs,.ev-footer details{display:none}.ev-inputs input{background:white;color:black}.ev-footer{color:black}}

.ev-result{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start}
.ev-result-period{display:flex;flex-direction:column;gap:6px}
.ev-result-period>strong{font-size:clamp(26px,2.4vw,39px);letter-spacing:-.04em;color:var(--ev-accent);white-space:nowrap;line-height:1.15}
.ev-result-period small{font-size:11px;margin-left:4px;letter-spacing:0;font-weight:400}
.ev-result-period>span{font-size:10px;line-height:1.45;color:#aec7bb}
.ev-result-five{border-left:1px solid #a1dacf33;padding-left:20px}
#realisations .ev-machine-photo>img{mix-blend-mode:normal;object-fit:contain}
.ev-intro{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:#071015;overflow:hidden}
.ev-intro::backdrop{background:#071015}
.ev-intro video{width:100%;height:100%;object-fit:cover;display:block}
.ev-intro button{position:absolute;right:28px;bottom:28px;color:white;background:#071015b3;border:1px solid #ffffff77;border-radius:5px;padding:12px 18px;font-size:13px}
@media(max-width:750px){.ev-result{gap:12px}.ev-result-five{padding-left:12px}.ev-result-period>strong{font-size:26px}}
@media print{.ev-intro{display:none!important}.ev-result-period>strong,.ev-result-period>span{color:black}}

/* Comparatif énergétique ajustable. */
#ev-panel-energy{padding:18px 24px}#ev-panel-energy h3{font-size:27px;margin-bottom:12px}.ev-select-label{display:flex;align-items:center;gap:12px;font-size:11px;color:#c3d2cc}.ev-select-label select{flex:1;min-width:0;background:#07171b;border:1px solid #9abbb055;border-radius:6px;padding:8px;color:#edfff1;font:inherit}.ev-energy-inputs{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.ev-energy-inputs input,.ev-schedule input{font-size:17px;padding:7px}.ev-inputs label{gap:4px}.ev-schedule{font-size:11px;color:#b8ccc4;margin:8px 0}.ev-schedule summary{cursor:pointer}.ev-schedule .ev-inputs{grid-template-columns:repeat(4,minmax(0,1fr));margin:8px 0}.ev-result{display:block;padding:8px 0}.ev-calendar{font-size:11px;color:#b8ccc4;margin:0 0 8px}.ev-comparison{width:100%;border-collapse:collapse;font-size:12px;font-variant-numeric:tabular-nums}.ev-comparison caption{text-align:left;font-size:10px;color:#aec7bb;margin-bottom:5px}.ev-comparison th,.ev-comparison td{padding:8px 5px;text-align:right;border-bottom:1px solid #a1dacf22;white-space:nowrap}.ev-comparison th:first-child{text-align:left}.ev-comparison thead{font-size:10px;color:#aec7bb}.ev-comparison td:last-child{color:var(--ev-accent);font-weight:700}.ev-comparison tbody tr:last-child{background:#c8f77b0d;font-size:14px}.ev-basis{margin-top:6px!important}#ev-panel-energy .ev-note{font-size:9px;line-height:1.45;margin-bottom:5px}@media(max-width:1100px){.ev-energy-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-comparison{font-size:11px}}@media(max-width:750px){.ev-schedule .ev-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}.ev-select-label{display:block}.ev-select-label select{display:block;width:100%;margin-top:6px}}

.ev-savings[hidden]{display:none}.ev-savings{position:relative;margin:0 24px 20px;padding:22px 24px;border-radius:14px;background:linear-gradient(120deg,#142e29,#214b39);color:#edfff1;box-shadow:0 12px 32px #0a271c22;border:1px solid #bcea8b66;overflow:hidden}.ev-savings::after{content:'';position:absolute;right:-35px;top:-65px;width:180px;height:180px;background:radial-gradient(circle,#c8f77b25,transparent 68%);pointer-events:none}.ev-savings-label{display:block;font-size:12px;letter-spacing:.03em}.ev-savings-value{display:block;font-size:clamp(36px,3.8vw,66px);font-weight:700;letter-spacing:-.055em;line-height:1.2;margin:9px 0;color:#c8f77b;font-variant-numeric:tabular-nums}.ev-savings-period{display:flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.12em;font-weight:700}.ev-savings-period i{font-style:normal;font-size:9px;letter-spacing:.03em;font-weight:400;border:1px solid #c8f77b55;border-radius:20px;padding:4px 8px}.ev-savings small{display:block;margin-top:11px;font-size:10px;color:#afc6b9}.ev-savings-negative .ev-savings-value{color:#ffd2a0}@media(max-width:750px){.ev-savings{margin:0 18px 18px;padding:18px}.ev-savings-value{font-size:42px}}@media print{.ev-savings{background:#eee;color:#111}.ev-savings-value{color:#111}}

#realisations .ev-show-savings>img{height:clamp(130px,18vh,190px);margin-top:30px}.ev-show-savings figcaption{padding-bottom:12px}.ev-show-savings figcaption strong{font-size:32px}.ev-show-savings .ev-savings{padding:16px 22px;margin-bottom:14px}.ev-show-savings .ev-savings-value{font-size:clamp(36px,3.8vw,60px);margin:5px 0}

.ev-step-controls{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 24px;border-top:1px solid #a1dacf33;margin-top:auto}.ev-step-controls button{width:46px;height:40px;min-height:40px;padding:0;border:1px solid #c8f77b66;color:#c8f77b;font-size:24px;border-radius:7px}.ev-step-controls button:hover{background:#c8f77b22}.ev-step-position{font-size:11px;letter-spacing:.12em;color:#b8ccc4}.ev-step-controls button:focus-visible{outline-color:#c8f77b}@media print{.ev-step-controls{display:none}}

@media screen and (min-width:901px){#realisations .ev-step-controls{justify-content:center}#realisations .ev-step-controls button{position:fixed;top:50%;transform:translateY(-50%);z-index:18;background:#0b1719ed;box-shadow:0 4px 18px #0004}#realisations [data-ev-step="-1"]{left:12px}#realisations [data-ev-step="1"]{right:12px}}
