/* Pinto Électricité — navigation et demande de projet */
:root{--focus:#2573ff}
section[id],article[id]{scroll-margin-top:100px}
a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent}
button{touch-action:manipulation}
:focus-visible{outline:3px solid var(--focus);outline-offset:4px}
.reading-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:linear-gradient(90deg,#2573ff,#ffc928);transform:scaleX(0);transform-origin:left;z-index:120;pointer-events:none}
.hero{padding:0}
.hero-inner{grid-template-columns:1.1fr .9fr;gap:48px;min-height:660px;padding:78px 0}
.hero h1{font-size:clamp(2.7rem,4.9vw,4.8rem);line-height:1.07}
.hero .hero-actions{gap:12px}
.live-showcase{padding:20px;border:1px solid #ffffff26;border-radius:28px;box-shadow:0 25px 70px #0003;min-width:0}
.live-showcase::before{width:65px;height:65px;right:-12px;top:-12px;border-radius:22px}
.showcase-tabs{display:flex;gap:6px;margin-bottom:16px;background:#ffffff08;padding:5px;border-radius:13px}
.showcase-tabs button{flex:1;border:0;border-radius:9px;background:transparent;color:#bfccdc;padding:11px 6px;font-weight:750;font-size:.85rem;cursor:pointer}
.showcase-tabs button[aria-selected=true]{background:#fff;color:#122033;box-shadow:0 3px 10px #0002}
.showcase-figure{margin:0}
.showcase-figure img{width:100%;height:285px;object-fit:cover;border-radius:16px;background:#172438}
.showcase-figure figcaption{padding:18px 2px 5px}
.showcase-figure strong{display:block;font-size:1.12rem;line-height:1.3}
.showcase-figure p{font-size:.9rem;line-height:1.5;color:#bfccdc;margin-top:8px;min-height:44px}
.showcase-link{display:inline-flex;font-weight:750;color:#ffda62;font-size:.9rem;margin-top:14px}
.showcase-note{margin:14px 2px 0;font-size:.72rem;color:#9fb0c4}
.project-launcher{position:fixed;bottom:24px;right:24px;z-index:75;display:flex;align-items:center;gap:10px;border:1px solid #ffffff24;border-radius:999px;background:#0b1524;color:#fff;padding:14px 20px;box-shadow:0 8px 30px #06101d30;font-weight:800;font-size:.9rem;opacity:0;visibility:hidden;transform:translateY(14px);transition:opacity .2s,transform .2s,visibility .2s}
.project-launcher.is-visible{opacity:1;visibility:visible;transform:none}
.project-launcher span:first-child{color:#ffc928;font-size:1.1rem}
.back-top{position:fixed;right:25px;bottom:86px;width:42px;height:42px;border:1px solid #dfe6ee;border-radius:50%;background:white;color:#122033;box-shadow:0 5px 20px #06101d14;z-index:74;font-size:1.2rem;cursor:pointer;opacity:0;visibility:hidden;transition:.2s}
.back-top.is-visible{opacity:1;visibility:visible}
.soft-reveal{opacity:0;transform:translateY(16px);transition:opacity .55s ease,transform .55s ease}
.soft-reveal.is-shown{opacity:1;transform:none}
.climate-brands button{border:0;background:none;color:inherit;font:inherit;font-weight:inherit;cursor:pointer;padding:0}
.climate-brands li:has(button){padding:0}
.climate-brands li button{padding:10px 17px;border-radius:11px}
.climate-brands li:has([aria-pressed=true]){border-color:#ffc928;background:#ffc928;color:#111827}
.climate-card .brand-feedback{font-size:.82rem;margin-top:-10px;margin-bottom:20px;color:#bfccdc;min-height:22px}
.faq-search{display:block;max-width:600px;margin-bottom:24px}
.faq-search span{display:block;font-size:.85rem;font-weight:750;margin-bottom:8px}
.faq-search input{width:100%;padding:15px 17px;border:1px solid #ccd6e2;border-radius:13px;background:#fff;color:#122033;font:inherit}
.faq-results{font-size:.85rem;color:#627083;margin:0 0 18px}
details[hidden]{display:none!important}
.message-counter{font-size:.75rem;color:#627083;text-align:right;margin-top:6px}
.request-preview{margin:20px 0;border:1px solid #dfe6ee;border-radius:13px;padding:14px 16px;background:#f4f7fb}
.request-preview summary{font-size:.9rem;font-weight:750;cursor:pointer}
.request-preview pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;font-size:.85rem;color:#627083;margin:16px 0 0}
.project-notice{border-left:3px solid #2573ff;padding:12px 15px;border-radius:0 10px 10px 0;background:#edf4ff;color:#1558d6;font-size:.9rem;margin-bottom:20px}
.project-notice[hidden]{display:none}
.project-dialog{width:min(740px,calc(100% - 28px));max-width:740px;max-height:calc(100dvh - 28px);padding:0;border:0;border-radius:26px;background:#fff;color:#122033;box-shadow:0 25px 100px #0005;overflow:auto}
.project-dialog::backdrop{background:#07101dcf;backdrop-filter:blur(5px)}
.project-dialog[open]{display:flex;flex-direction:column;overflow:hidden}
.project-dialog-header{flex-shrink:0}
.project-dialog-header{position:sticky;top:0;background:#fff;z-index:2;padding:24px 28px 18px;border-bottom:1px solid #edf0f5}
.project-dialog-top{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.project-dialog h2{font-size:clamp(1.4rem,4vw,1.85rem);letter-spacing:-.03em;line-height:1.2;margin-top:8px}
.project-dialog .eyebrow{font-size:.68rem}
.project-close{background:#f4f7fb;border:1px solid #dfe6ee;border-radius:50%;width:38px;height:38px;color:#122033;cursor:pointer;font-size:1.35rem;flex-shrink:0}
.project-steps{list-style:none;display:flex;padding:0;margin:22px 0 0;gap:8px;color:#8a94a1;font-size:.76rem;font-weight:750}
.project-steps li{flex:1;padding-top:9px;border-top:3px solid #e8edf3}
.project-steps li[aria-current=step]{color:#1558d6;border-color:#2573ff}
.project-steps li.is-done{color:#122033;border-color:#ffc928}
.project-form{padding:26px 28px 10px;border:0;border-radius:0;box-shadow:none;margin:0;flex:1;min-height:0;overflow-y:auto}
.project-step{border:0;margin:0;padding:0;min-width:0}
.project-step[hidden]{display:none}
.project-step legend{padding:0;font-weight:850;font-size:1.18rem;line-height:1.35;margin-bottom:20px;letter-spacing:-.02em}
.project-choices{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.project-choice{display:flex;align-items:center;gap:11px;border:1px solid #dfe6ee;border-radius:15px;padding:17px 14px;cursor:pointer;background:#fbfcfe;min-height:80px;transition:border-color .15s,background .15s}
.project-choice input{accent-color:#1558d6;width:18px;height:18px;padding:0;flex-shrink:0;margin:0}
.project-choice span{font-weight:750;font-size:.94rem;line-height:1.4}
.project-choice:has(input:checked){border-color:#2573ff;background:#edf4ff;box-shadow:0 0 0 1px #2573ff}
.project-choice:has(input:focus-visible){outline:3px solid #2573ff;outline-offset:3px}
.project-help{color:#627083;font-size:.85rem;line-height:1.6;margin-bottom:18px}
.project-field{display:block;margin-bottom:20px}
.project-field>span,.project-brands legend{font-size:.86rem;font-weight:750;display:block;margin-bottom:8px}
.project-field input,.project-field select,.project-field textarea{width:100%;font:inherit;color:#122033;border:1px solid #ccd6e2;border-radius:12px;padding:13px 14px;background:#fbfcfe;min-height:48px}
.project-field textarea{min-height:105px;resize:vertical}
.project-brands{padding:0;border:0;margin:0 0 20px}
.project-brands[hidden]{display:none}
.project-brand-options{display:flex;flex-wrap:wrap;gap:8px}
.project-brand-options label{cursor:pointer;display:flex;align-items:center;gap:7px;padding:10px 12px;border:1px solid #dfe6ee;border-radius:11px;font-size:.84rem;font-weight:700}
.project-brand-options input{accent-color:#1558d6;margin:0;padding:0;width:16px;height:16px;min-height:0;flex-shrink:0}
.project-brand-options label:has(input:checked){background:#edf4ff;border-color:#2573ff}
.project-summary{margin:0;border:1px solid #dfe6ee;border-radius:16px;overflow:hidden}
.project-summary div{padding:14px 16px;display:grid;grid-template-columns:110px 1fr;gap:12px;border-bottom:1px solid #e8edf3}
.project-summary div:last-child{border:0}
.project-summary dt{font-size:.83rem;color:#627083}
.project-summary dd{margin:0;font-weight:700;font-size:.9rem;overflow-wrap:anywhere;white-space:pre-wrap}
.project-error{color:#ae2634;font-size:.87rem;min-height:22px;margin:14px 0 0}
.project-footer{display:flex;gap:12px;justify-content:space-between;margin:0;padding:18px 28px;border-top:1px solid #edf0f5;background:white;flex-shrink:0}
.project-back{border:1px solid #dfe6ee;background:white;color:#122033;border-radius:13px;padding:12px 17px;cursor:pointer;font-weight:750}
.project-next{margin-left:auto}
.project-privacy{font-size:.75rem;color:#627083;line-height:1.5;margin-top:18px}
.home-photo-all{color:#ffda62;font-size:.9rem;font-weight:750}
@media(max-width:1000px){.hero-inner{gap:30px}.showcase-tabs button{font-size:.78rem}}
@media(max-width:900px){.hero-inner{grid-template-columns:1fr;min-height:auto;padding:58px 0 68px}.hero h1{font-size:clamp(2.65rem,7vw,4.4rem)}.live-showcase{width:100%;max-width:620px}.showcase-tabs button{font-size:.87rem}}
@media(max-width:620px){.hero-inner{gap:36px}.live-showcase{padding:15px;border-radius:22px}.showcase-figure img{height:225px}.hero .hero-actions .btn{flex:1 1 180px}.project-launcher{display:none}.back-top{right:15px;bottom:93px;width:39px;height:39px}.project-dialog{border-radius:20px;max-height:calc(100dvh - 20px);width:calc(100% - 20px)}.project-dialog-header{padding:20px 18px 15px}.project-form{padding:22px 18px}.project-choices{gap:9px}.project-choice{padding:14px 10px;gap:8px;min-height:84px}.project-choice span{font-size:.83rem}.project-summary div{grid-template-columns:85px 1fr;padding:12px;gap:8px}.project-footer{gap:8px}.project-footer .btn{font-size:.87rem;padding:12px 14px}.project-steps{font-size:.69rem;gap:6px}.project-brands legend{font-size:.86rem}.project-privacy{font-size:.72rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation:none!important;transition:none!important}.soft-reveal{opacity:1;transform:none}.card:hover,.btn:hover{transform:none}}
