:root{--ink:#28213d;--muted:#665f75;--purple:#6547bd;--pale:#eee7fc;--line:#e6dfee;--paper:#faf9f7;--white:#fff;--shadow:0 12px 35px #3f265a0a}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font:16px/1.6 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #a68ae7;outline-offset:3px}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16;letter-spacing:-.035em}h1{font-size:clamp(2rem,4.2vw,3.8rem)}h2{font-size:clamp(1.45rem,2.4vw,2rem)}h3{font-size:1.14rem}p,small{color:var(--muted)}small{font-size:.82rem}.wrap{width:min(1160px,calc(100% - 48px));margin:auto}header{background:#fff;border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;gap:15px;min-height:76px;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-weight:850;font-size:1.55rem;letter-spacing:-.06em;white-space:nowrap}.brand b{color:var(--purple)}.brand small{font-size:.75rem;letter-spacing:0}.nav nav{display:flex;gap:7px;flex-wrap:wrap}.nav nav a,.secondary{padding:9px 13px;border:1px solid var(--line);border-radius:11px;font-size:.88rem;font-weight:700;background:white;white-space:nowrap}.nav a[aria-current=page],.nav nav a:hover,.secondary:hover{background:var(--pale);color:var(--purple);border-color:#d8c8f1}.hero{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center;padding:65px 0 52px}.eyebrow{display:block;color:var(--purple);font-size:.75rem;letter-spacing:.11em;font-weight:800;margin-bottom:12px}.hero h1 em{color:var(--purple);font-style:normal}.lead{font-size:1.14rem;margin:20px 0 25px;max-width:570px}.primary,.secondary{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:10px 16px;border-radius:12px;font-weight:750}.primary{background:var(--purple);color:white;border:1px solid var(--purple)}.primary:hover{background:#5133a8}.trust{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;font-size:.83rem;color:#615b71}.hero-art{background:linear-gradient(145deg,#eee7fb,#f9e3d3);padding:22px;border-radius:26px;border:1px solid #e8dff1;box-shadow:var(--shadow);transform:rotate(1deg)}.arthead{display:flex;gap:5px;align-items:center;padding:4px 4px 16px}.arthead b{margin-left:auto;font-size:.83rem;color:#67518c}.dot{width:7px;height:7px;border-radius:100%;background:#c9b5e3}.dot:nth-child(2){background:#e2af9d}.dot:nth-child(3){background:#a6c1b6}.artgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.artgrid>div{background:#ffffffc9;border:1px solid #ffffff;border-radius:13px;display:grid;justify-items:center;gap:8px;padding:16px 6px;font-size:.75rem}.artfoot{text-align:center;padding-top:14px;color:#6b5b82;font-size:.8rem;font-weight:650}.tile{width:48px;height:48px;border-radius:13px;display:inline-grid;place-items:center;flex:none;color:#6547bd;background:#eee7fc}.tile svg{width:25px;height:25px}.tile.concrete,.tile.fence{background:#f9e5d8;color:#9c5935}.tile.pipe,.tile.water{background:#e1eff0;color:#287982}.tile.units,.tile.dates{background:#e9e9fa;color:#535d9b}.catalog{padding:16px 0 44px}.sectionhead{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:20px}.category{font-size:.84rem;text-transform:uppercase;letter-spacing:.085em;color:#6b627a;margin:26px 0 12px}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.toolcard{display:flex;align-items:flex-start;gap:13px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;min-height:130px;box-shadow:var(--shadow);transition:transform .15s,border .15s}.toolcard:hover{transform:translateY(-3px);border-color:#bca9eb}.toolcard h3{margin:3px 0 7px}.toolcard p{font-size:.88rem;line-height:1.5}.arrow{margin-left:auto;color:var(--purple);font-weight:bold}.info{background:white;border:1px solid var(--line);border-radius:20px;padding:26px 30px;margin:0 auto 34px;box-shadow:var(--shadow)}.info p{margin:12px 0;max-width:850px}.info h2:not(:first-child){margin-top:24px}.privacy{display:flex;align-items:center;gap:20px;background:#f1ebfb}.privacy p{margin:7px 0 0}.toolhead{padding:30px 0 24px}.crumb{display:inline-block;font-size:.9rem;font-weight:650;color:var(--purple);margin-bottom:20px}.toolhead h1{font-size:clamp(1.85rem,3.8vw,3.15rem);max-width:950px}.toolhead p{margin-top:12px;max-width:750px}.workspace{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:start;gap:20px;margin-bottom:30px}.panel{min-width:0;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:var(--shadow);padding:24px}.paneltitle{display:flex;align-items:center;gap:12px;margin-bottom:20px}.paneltitle h2{font-size:1.32rem}.paneltitle p{font-size:.85rem;margin-top:4px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.field{display:flex;flex-direction:column;gap:6px;margin-bottom:13px;min-width:0;font-size:.88rem;font-weight:650;color:#443a56}.field input,.field select,.field textarea{min-width:0;width:100%;border:1px solid #dcd5e4;border-radius:10px;background:#fff;padding:10px 11px;color:var(--ink);min-height:44px}.field textarea{resize:vertical}.field input[type=color]{padding:4px;height:44px}.field input[type=range]{padding:0;accent-color:var(--purple)}.field input[type=file]{font-size:.85rem}.inputunit{display:flex;border:1px solid #dcd5e4;border-radius:10px;overflow:hidden;align-items:center;background:#f8f6fa}.inputunit input{border:0;border-radius:0;flex:1;min-width:0}.inputunit>span{padding:0 10px;white-space:nowrap;font-size:.8rem;color:var(--muted)}.check{display:flex;align-items:center;gap:10px;margin:10px 0;font-size:.9rem;cursor:pointer}.check input{width:18px;height:18px;accent-color:var(--purple);flex:none}.actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:18px}.resultpanel{position:sticky;top:15px;background:linear-gradient(180deg,#f9f6ff,#fff 44%)}.resultpanel .paneltitle{margin-bottom:8px}.diagram:empty{display:none}.diagram{display:grid;place-items:center;min-height:110px;margin-bottom:14px;background:white;border:1px solid var(--line);border-radius:15px;padding:14px;overflow:hidden}.diagram svg{width:100%;max-height:230px}.diagram canvas{width:min(100%,290px);height:auto;image-rendering:pixelated}.resultmain{border:1px solid #e2d7f6;background:#eee7fc;border-radius:15px;padding:17px;margin-bottom:12px;overflow-wrap:anywhere}.resultmain small{display:block;color:#61517e;margin-bottom:5px}.resultmain strong{display:block;color:#563aa9;font-size:clamp(1.4rem,3vw,2.4rem);line-height:1.2;letter-spacing:-.035em;font-variant-numeric:tabular-nums}.resultmain.password strong{font:700 1.25rem/1.5 ui-monospace,monospace;letter-spacing:0}.resultrows{display:grid;gap:0}.resultrow{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.91rem;align-items:baseline}.resultrow strong{text-align:right;font-variant-numeric:tabular-nums}.hint{font-size:.83rem;margin-top:14px;line-height:1.5}.status{font-size:.85rem;min-height:1.5em;margin-top:10px;color:#38775c}.error{background:#fff1ed;color:#9b3b26;border-radius:9px;padding:10px;font-size:.9rem;margin-top:12px}details{border:1px solid var(--line);border-radius:12px;padding:12px;margin-top:12px}summary{cursor:pointer;font-weight:700;color:#58417f;font-size:.9rem}details .fields{margin-top:13px}.related{margin-bottom:40px}.related h2{margin-bottom:17px}.simple{padding:40px 0}.simple h1{margin-bottom:24px}.simple .info a{text-decoration:underline;color:var(--purple)}.notfound{text-align:center;padding:70px 0 100px}.notfound>span{font-size:7rem;font-weight:850;color:var(--purple);line-height:1}.notfound p{margin:15px 0 25px}footer{background:#fff;border-top:1px solid var(--line);padding:30px 0}.foot{display:flex;justify-content:space-between;gap:20px;font-size:.85rem}.foot a{color:var(--purple);font-weight:650}.foot p{margin:5px 0}.skip{position:absolute;top:-100px;left:8px;padding:12px;background:white;z-index:10}.skip:focus{top:8px}[hidden]{display:none!important}@media(max-width:950px){.hero{gap:25px}.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace{gap:14px}.panel{padding:18px}}@media(max-width:700px){.wrap{width:calc(100% - 28px)}.nav{flex-wrap:wrap;padding:13px 0;gap:10px}.nav nav{width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.nav nav a{text-align:center;padding:9px 5px;font-size:.73rem;white-space:normal}.hero{grid-template-columns:1fr;padding:32px 0 28px;gap:24px}.hero-art{padding:14px;transform:none}.artgrid>div{padding:11px 5px}.hero .lead{font-size:1rem;margin:14px 0 20px}.sectionhead{align-items:flex-start;flex-direction:column}.cards,.workspace{grid-template-columns:1fr}.toolcard{min-height:0;padding:16px}.resultpanel{position:static}.info{padding:20px}.privacy{align-items:flex-start}.privacy .tile{display:none}.foot{flex-direction:column}.toolhead{padding:22px 0}.fields{gap:8px}.panel{padding:16px}.actions button{flex:1}.field{font-size:.82rem}.inputunit>span{padding:0 5px;font-size:.75rem}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,footer,.toolhead .crumb,.formpanel,.resultpanel .actions,.status,.related,.info{display:none!important}.workspace{display:block}.resultpanel{border:0;box-shadow:none;background:white}.wrap{width:100%}.diagram{max-width:450px;margin:auto}.toolhead h1{font-size:22pt}.resultmain{background:white;border:1px solid #aaa}.resultmain strong{color:#222}body{background:white}}

/* V1.0.1 — navigation et liens d’action cohérents */
.toolhead .crumb{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px 16px;margin-bottom:20px;border:1px solid #d8c8f1;background:#fff;color:var(--purple);border-radius:11px;font-size:.88rem;font-weight:750;line-height:1.35;box-shadow:0 2px 6px #3f265a08;transition:background .15s,border-color .15s,box-shadow .15s}.toolhead .crumb:hover{background:var(--pale);border-color:#ad95e2;box-shadow:0 3px 8px #3f265a12}.nav nav a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;line-height:1.3}.foot a,.simple .info a{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);border-radius:9px;padding:7px 10px;margin:3px 3px 3px 0;background:#fff;color:var(--purple);font-size:.82rem;font-weight:650;text-decoration:none;line-height:1.35;min-height:36px}.foot a:hover,.simple .info a:hover{background:var(--pale);border-color:#d8c8f1}.foot>div:last-child{min-width:0}.toolcard:focus-visible{outline-offset:3px}@media(max-width:700px){.toolhead .crumb{min-height:44px;margin-bottom:17px}.nav nav a{min-height:44px;padding:8px 4px}.foot a,.simple .info a{min-height:44px}}
/* V1.1.0 */
.tile.paint,.tile.slope{background:#f9e5d8;color:#9c5935}.tile.geometry{background:#e9e9fa;color:#535d9b}.tile.flow{background:#e1eff0;color:#287982}.tile.electric,.tile.solar{background:#f9efcc;color:#8b6723}.projection-scroll{overflow-x:auto;margin-top:12px}.projection-table{width:100%;border-collapse:collapse;font-size:.78rem;line-height:1.4;font-variant-numeric:tabular-nums}.projection-table th,.projection-table td{padding:9px 5px;text-align:right;border-bottom:1px solid var(--line);white-space:nowrap}.projection-table th:first-child,.projection-table td:first-child{text-align:left}.projection-table th{color:#58417f}.projection-table tr:nth-child(even){background:#f8f5fb}.workspace[data-tool=solar] .resultpanel{position:static}.toolcard .arrow{display:inline-grid;place-items:center;min-width:28px;height:28px;border:1px solid #e4d8f6;background:#f8f4ff;border-radius:8px}.toolcard:hover .arrow{background:#eee7fc}@media(max-width:700px){.projection-table{font-size:.72rem}.projection-table th,.projection-table td{padding:7px 3px}}@media print{.projection-scroll{overflow:visible}.projection-table{font-size:9pt}}

/* 1.2.0 */
.finder{margin:0 0 24px;padding:18px;display:grid;gap:8px}.finder label{font-weight:750}.finder input{width:100%;max-width:560px}.finder p{font-size:.85rem}.finder input[type=search]{border:1px solid #d8c8f1;border-radius:10px;padding:12px;font:inherit;background:white;color:#28213d}.toolcard[hidden],.cards[hidden],.category[hidden]{display:none!important}.diagram svg{max-height:270px}.diagram svg text{font-family:system-ui,sans-serif}

/* Pied de page commun – V1.2.1 */
.site-footer{background:#242036;color:#f6f2ff;border-top:0;padding:0;position:relative;margin-top:24px}.footer-inner{padding:38px 0 16px}.footer-main{display:grid;grid-template-columns:1.15fr .85fr 1fr;gap:32px;align-items:start}.footer-about,.footer-nav,.footer-apps{min-width:0}.footer-brand{display:inline-flex;align-items:center;gap:10px;font-weight:850;font-size:1.55rem;letter-spacing:-.05em;color:#fff}.footer-brand b{color:#c6b5ff}.footer-brand small{color:#e0d9ef;font-size:.78rem;letter-spacing:0}.footer-about p{color:#d5cfe2;font-size:.88rem;line-height:1.65;margin:10px 0}.footer-about .footer-tagline{font-weight:750;color:#fff;font-size:1rem;margin-top:14px}.site-footer h2{color:#f6f2ff;font-size:.96rem;letter-spacing:0;font-weight:750;margin:3px 0 15px}.footer-nav,.footer-apps{display:flex;flex-direction:column;gap:8px}.footer-nav h2,.footer-apps h2{margin-bottom:5px}.footer-button,.footer-app{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:44px;background:#ffffff08;border:1px solid #ffffff24;color:#eee9ff;border-radius:11px;padding:9px 12px;font-size:.83rem;font-weight:650;transition:background .15s,border-color .15s}.footer-button:hover,.footer-app:hover{background:#ffffff16;border-color:#bcabf6}.footer-button[aria-current=page]{border-color:#bcabf6}.author-button{display:inline-flex;margin-top:8px;background:#6547bd;border-color:#9479e2;color:#fff}.author-button:hover{background:#795bd2}.footer-app{justify-content:flex-start;padding:10px}.footer-app-icon{width:37px;height:37px;display:grid;place-items:center;flex:none;border-radius:10px;background:#514269;color:#dacbff}.footer-app-icon.pdf{background:#6e4358;color:#ffd2d5}.footer-app-icon.photo{background:#504572;color:#e0d4ff}.footer-app-icon.gift{background:#66513f;color:#ffdfb6}.footer-app-icon svg{width:22px;height:22px}.footer-app-text{flex:1;min-width:0;display:grid;gap:1px}.footer-app-text strong{font-size:.92rem;color:#fff}.footer-app-text small{font-size:.74rem;line-height:1.3;color:#d5cfe2;font-weight:400}.footer-arrow{color:#cdbdf8}.footer-bottom{border-top:1px solid #ffffff22;margin-top:26px;padding-top:15px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;font-size:.76rem;color:#d1c9df}.footer-version{border:1px solid #ffffff24;padding:4px 9px;border-radius:7px;font-variant-numeric:tabular-nums}.legal-page{max-width:900px}.legal-intro{margin:0 0 25px;font-size:1.08rem}.legal-body h2{margin-top:24px}.legal-body h2:first-child{margin-top:0}.legal-body p{margin:10px 0}.legal-date{font-size:.83rem;color:var(--muted);border-top:1px solid var(--line);padding-top:16px;margin-top:25px!important}.legal-body a{overflow-wrap:anywhere;white-space:normal}.site-footer a:focus-visible{outline:3px solid #c6b5ff;outline-offset:3px}@media(max-width:850px){.footer-main{grid-template-columns:1fr 1fr;gap:24px}.footer-about{grid-column:1/-1}.footer-about p{max-width:620px}}@media(max-width:540px){.footer-inner{padding:26px 0 15px}.footer-main{grid-template-columns:1fr;gap:23px}.footer-about{grid-column:auto}.footer-bottom{align-items:flex-start;flex-direction:column;gap:8px}.footer-button{min-height:44px}}@media print{.site-footer{display:none!important}.legal-page .legal-body{display:block!important}}@media(prefers-reduced-motion:reduce){.site-footer a{transition:none}}

/* V1.3.0 — nouveaux outils */
.tile.leisure{background:#e8e2fa;color:#6547bd}
