:root{color-scheme:dark;--bg:#080d19;--panel:#121c2e;--line:#304057;--txt:#f3f7ff;--muted:#b7c5d8;--a:#6ce5dc;--b:#a7a2ff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(ellipse at 85% 0%,#1a3150 0%,transparent 44%),var(--bg);color:var(--txt);font:16px/1.6 system-ui,-apple-system,Segoe UI,sans-serif}a{color:inherit;text-decoration:none}button,input{font:inherit}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #ffe08a;outline-offset:3px}.wrap{max-width:1200px;margin:auto;padding:0 20px}.top{position:sticky;top:0;z-index:20;background:#0a1020ee;backdrop-filter:blur(16px);border-bottom:1px solid var(--line)}.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:74px}.brand{display:flex;align-items:center;gap:12px;font-weight:850;letter-spacing:.2px}.logo{display:grid;place-items:center;background:linear-gradient(140deg,#57d8d5,#797df0);color:#07101d;border-radius:15px;width:45px;height:45px;font-size:20px;font-weight:900}.brand small{display:block;color:var(--muted);font-weight:500;font-size:12px}.links{display:flex;gap:9px;align-items:center;flex-wrap:wrap}.btn,.links a{border:1px solid var(--line);background:#16243a;padding:11px 16px;border-radius:12px;color:var(--txt);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:650}.btn.primary{background:linear-gradient(115deg,#6ce5dc,#a7a2ff);color:#07131c;border:0}.btn:hover,.links a:hover{border-color:var(--a);transform:translateY(-1px)}.hero{padding:84px 0 68px;display:grid;grid-template-columns:1.2fr .8fr;gap:42px;align-items:center}.eyebrow{display:inline-flex;border:1px solid #3a6b73;background:#14333e;padding:6px 13px;border-radius:100px;color:#bafcf6;font-size:13px;font-weight:750}.hero h1{font-size:clamp(39px,5.6vw,76px);line-height:1.07;letter-spacing:-.055em;margin:20px 0}.gradient{background:linear-gradient(95deg,#76eee2,#c1b9ff);color:transparent;background-clip:text}.lead{font-size:clamp(17px,2vw,20px);color:var(--muted);max-width:650px}.actions{display:flex;flex-wrap:wrap;gap:12px;margin:28px 0}.chips{display:flex;flex-wrap:wrap;gap:9px}.chip{border:1px solid var(--line);border-radius:100px;padding:5px 12px;color:#d3e2f4;font-size:13px}.showcase{background:linear-gradient(145deg,#1b2c47,#111b2f);border:1px solid #41546c;border-radius:28px;padding:18px;box-shadow:0 30px 90px #0005;transform:rotate(2deg)}.window{background:#0b1324;border:1px solid #34455e;border-radius:17px;overflow:hidden}.dots{padding:12px;border-bottom:1px solid var(--line);color:#9db3ce;font-size:12px}.demo{display:grid;grid-template-columns:40% 60%;min-height:280px}.settings{padding:18px;border-right:1px solid var(--line)}.fake{background:#263b57;border-radius:7px;height:13px;margin:15px 0}.fake.short{width:62%}.preview{padding:18px}.mockcard{border:1px solid #405570;border-radius:14px;padding:13px;background:#17263d}.mockimg{height:112px;border-radius:9px;background:linear-gradient(135deg,#257d83,#7b75c3);display:grid;place-items:center;font-size:38px}.mockline{height:11px;width:75%;background:#3b5473;border-radius:6px;margin:14px 0}.section{padding:55px 0}.section h2{font-size:clamp(27px,3.2vw,40px);letter-spacing:-.035em;margin:0 0 8px}.sub{color:var(--muted);margin:0 0 27px}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.toolbar button{border:1px solid var(--line);background:#142136;color:#e7f0ff;border-radius:12px;padding:10px 15px}.toolbar button[aria-pressed=true]{background:#b7f4ee;color:#06161c;font-weight:800}#search{width:100%;padding:17px 19px;border-radius:15px;border:1px solid #526782;background:#101c30;color:white}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.card{background:linear-gradient(155deg,#17243a,#10192a);border:1px solid #34465f;border-radius:19px;padding:22px;display:flex;flex-direction:column;min-width:0;transition:.2s}.card:hover{transform:translateY(-4px);border-color:#7cbdc8}.symbol{font-size:29px;width:58px;height:58px;display:grid;place-items:center;border:1px solid #486079;border-radius:15px;background:#22344d}.card h3{font-size:19px;margin:17px 0 6px}.card p{color:var(--muted);margin:0 0 20px;flex:1}.go{color:#b6fff4;font-weight:750}.note{background:linear-gradient(120deg,#193447,#25234a);border:1px solid #456376;border-radius:23px;padding:30px}.note p{color:#d1dced}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.step{padding:22px;background:#121f32;border:1px solid var(--line);border-radius:16px}.step b{color:#91f1e8}.step p{color:var(--muted)}footer{border-top:1px solid var(--line);padding:38px 0;color:var(--muted)}footer a{text-decoration:underline;text-underline-offset:3px}.foot{display:flex;justify-content:space-between;flex-wrap:wrap;gap:20px}#empty{display:none;color:var(--muted);padding:24px}#topbtn{position:fixed;right:18px;bottom:18px;border:1px solid #5d768d;background:#192c44;color:white;padding:11px 15px;border-radius:13px;z-index:10}@media(max-width:850px){.hero{grid-template-columns:1fr;padding:50px 0}.showcase{transform:none;max-width:550px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.links{gap:5px}.links a{padding:8px 10px;font-size:13px}}@media(max-width:580px){.wrap{padding:0 15px}.nav{align-items:flex-start;padding:12px 0;flex-direction:column}.links{width:100%}.links a{flex:1}.hero{padding:39px 0}.grid,.steps{grid-template-columns:1fr}.section{padding:36px 0}.showcase{display:none}.card{padding:19px}.actions .btn{flex:1}.note{padding:23px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
/* Navigation POPS : menu burger et fenêtre des applications */
.nav{flex-wrap:nowrap}.nav-right{display:flex;align-items:center;gap:12px;margin-left:auto}.burger-pops{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:1px solid #6ce5dc;background:#18354a;color:#fff;border-radius:12px;padding:11px 15px;font-weight:750;white-space:nowrap}.burger-pops:hover{background:#24526a}.burger-pops svg{width:21px;height:21px}.pops-menu-modal[aria-hidden="true"]{display:none}.pops-menu-modal[aria-hidden="false"]{display:flex}.pops-menu-modal{position:fixed;inset:0;z-index:1000;background:rgba(2,8,19,.82);backdrop-filter:blur(8px);padding:16px;align-items:center;justify-content:center}.pops-menu-panel{width:min(860px,100%);max-height:min(90dvh,850px);display:flex;flex-direction:column;min-height:0;background:#101d31;border:1px solid #5b748f;border-radius:20px;box-shadow:0 25px 80px #000a;overflow:hidden}.pops-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 20px;border-bottom:1px solid #34465f}.pops-menu-head h2{font-size:22px;margin:0}.pops-menu-close{border:1px solid #60758e;background:#23364f;color:#fff;border-radius:10px;font-size:24px;width:44px;height:44px;flex-shrink:0}.pops-menu-search-wrap{padding:14px 20px;border-bottom:1px solid #34465f}#toolSearch{width:100%;padding:13px 15px;background:#091525;border:1px solid #58718c;border-radius:11px;color:#fff;font-size:16px}.pops-tool-list{overflow-y:auto;overscroll-behavior:contain;padding:12px 20px 24px;min-height:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-content:start}.tool-section{min-width:0}.tool-section-title{font-size:15px;color:#7ff0e7;margin:10px 0;padding-bottom:7px;border-bottom:1px solid #3b516a}.tool-section .track{display:flex;gap:8px;align-items:center;padding:10px 11px;margin:6px 0;background:#1a2a42;border:1px solid #344c68;border-radius:10px;color:#f3f7ff;overflow-wrap:anywhere}.tool-section .track:hover,.tool-section .track:focus-visible{border-color:#7ff0e7;background:#25425b}.tool-section .track.is-current{border-color:#a7a2ff}.tool-item-title{min-width:0}.tool-section .track i:before{content:"◆";font-family:system-ui;font-style:normal;font-size:12px}.tool-section .track i{width:20px;text-align:center;flex-shrink:0;color:#9ed9ed}@media(max-width:760px){.nav{flex-wrap:wrap}.nav-right{margin-left:auto}.links{order:3;width:100%;justify-content:center}.pops-tool-list{grid-template-columns:1fr}.pops-menu-panel{max-height:94dvh}.pops-menu-modal{padding:8px}}@media(max-width:580px){.nav{flex-direction:row;align-items:center}.nav-right{margin-left:auto}.links{order:3;width:100%}.brand{min-width:0}.brand>span:last-child{font-size:14px}.burger-pops{padding:10px 12px}.burger-label{display:none}}

/* === Paramètres du thème commun : modifier ici pour toutes les pages === */
:root {--pops-bg:#080d19;--pops-panel:#121c2e;--pops-line:#304057;--pops-text:#f3f7ff;--pops-muted:#b7c5d8;--pops-accent:#6ce5dc;--pops-accent2:#a7a2ff;}
html[data-theme="light"]{color-scheme:light;--pops-bg:#f4f7fc;--pops-panel:#fff;--pops-line:#bfccdd;--pops-text:#15233a;--pops-muted:#40536c;--pops-accent:#087b80;--pops-accent2:#5554b8;}
html[data-theme="light"] body{background:radial-gradient(ellipse at 85% 0%,#dce9fa,transparent 48%),var(--pops-bg)}
html[data-theme="light"] .top{background:#f8faffee}
html[data-theme="light"] .pops-menu-modal{background:#17233b9c}
html[data-theme="light"] .pops-menu-panel,html[data-theme="light"] .card,html[data-theme="light"] .stage{background:#fff;color:var(--pops-text)}
html[data-theme="light"] .pops-menu-head,html[data-theme="light"] .pops-menu-search-wrap{border-color:var(--pops-line)}
html[data-theme="light"] #toolSearch,html[data-theme="light"] .tool-section .track{background:#f0f5fc;color:var(--pops-text);border-color:var(--pops-line)}
html[data-theme="light"] .tool-section-title{color:var(--pops-accent)}
html[data-theme="light"] .links a,html[data-theme="light"] .burger-pops,html[data-theme="light"] .theme-switch{background:#e8f0fc;color:var(--pops-text);border-color:var(--pops-line)}
html[data-theme="light"] footer{color:var(--pops-muted)}
html[data-theme="light"] .foot strong{color:var(--pops-text)!important}
.theme-switch{border:1px solid #536b80;background:#16243a;color:#fff;border-radius:12px;padding:10px 13px;cursor:pointer}
.pops-page-main{max-width:1200px;margin:auto;padding:22px 16px 54px;min-width:0}
.pops-app-banner{padding:26px 22px;margin:12px auto 20px;border-radius:22px;background:linear-gradient(125deg,#173549,#232443);border:1px solid #456376}
.pops-app-banner h1{margin:5px 0;font-size:clamp(24px,3vw,36px)}
.pops-app-banner p{margin:5px 0;color:#d1ddec}
html[data-theme="light"] .pops-app-banner{background:linear-gradient(125deg,#e1f6f7,#e9e7fe)}
html[data-theme="light"] .pops-app-banner p{color:#35465d}
.pops-page-main .app-area{min-width:0}
.pops-page-main .app-area>section.card{max-width:100%;margin:0 auto}
.pops-page-main .stage{max-width:100%;min-width:0}
.pops-page-main .toolbar{min-width:0}
.pops-page-main .canvas-container{max-width:100%;min-width:0}
.pops-page-main canvas{max-width:100%}
.pops-page-main .controls-content,.pops-page-main .control-row{min-width:0}
.pops-page-main input,.pops-page-main select{max-width:100%;min-width:0}
.pops-menu-modal .pops-tool-list{scrollbar-width:thin}
.pops-menu-modal .tool-section .track{font-size:14px}
@media(max-width:580px){.pops-page-main{padding:14px 10px 32px}.pops-app-banner{padding:18px 15px}.theme-switch{padding:9px}.pops-page-main .stage{padding:10px}.pops-page-main .toolbar{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* ==============================================================
   POPS Service commun : conteneur de liens images + upload 48 h
   Compatible HTML automatique ou intégré (data-pops-imgtemp/imgbb).
   Couleurs partagées avec index.html, Appli1, Studio Photo et slider.
   ============================================================== */
.pops-imgbb-card{
  --pops-service-ink:var(--pops-text,#f3f7ff);
  --pops-service-muted:var(--pops-muted,#b7c5d8);
  --pops-service-border:var(--pops-line,#304057);
  color:var(--pops-service-ink);
  width:min(1200px,calc(100% - 32px));max-width:100%;min-width:0;
  margin:22px auto 26px;padding:18px;
  border-radius:21px;border:1px solid #426079;
  background:linear-gradient(140deg,#14243a,#17203a);
  box-shadow:0 16px 42px #0004;
  font:14px/1.55 system-ui,-apple-system,Segoe UI,sans-serif;
}
.pops-imgbb-card *, .pops-imgbb-card *::before, .pops-imgbb-card *::after{box-sizing:border-box}
.pops-imgbb-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px;min-width:0}
.pops-imgbb-title{display:flex;align-items:center;gap:10px;font-weight:850;font-size:clamp(15px,2vw,19px);min-width:0;overflow-wrap:anywhere}
.pops-imgbb-title i{color:var(--pops-accent,#6ce5dc)}
.pops-imgbb-toggle,.pops-imgbb-btn{appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:42px;padding:10px 14px;border:1px solid #54778f;border-radius:12px;background:#233a51;color:#fff;font:inherit;font-weight:750;cursor:pointer}
.pops-imgbb-toggle:hover,.pops-imgbb-btn:hover{border-color:#80e8e0;background:#2c5065}
.pops-imgbb-toggle:focus-visible,.pops-imgbb-btn:focus-visible,.pops-imgbb-drop:focus-visible,.pops-imgbb-area:focus-visible{outline:3px solid #ffe08a;outline-offset:2px}
.pops-imgbb-toggle i{transition:transform .2s}
.pops-imgbb-card[data-open="true"] .pops-imgbb-toggle i{transform:rotate(180deg)}
.pops-imgbb-text{color:#cbd8e9;margin:12px 0 14px;max-width:100%;overflow-wrap:anywhere}
.pops-imgbb-note{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.pops-imgbb-pill{border:1px solid #496178;color:#d3edf2;background:#ffffff09;border-radius:100px;padding:5px 10px;font-size:12px}
.pops-imgbb-panel{display:none;min-width:0;margin-top:16px;padding-top:16px;border-top:1px solid #3d536a}
.pops-imgbb-card[data-open="true"] .pops-imgbb-panel{display:block}
.pops-imgbb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;min-width:0}
.pops-imgbb-box{min-width:0;border:1px solid #3a5069;border-radius:15px;background:#0c1829b8;padding:16px;overflow-wrap:anywhere}
.pops-imgbb-box h4{margin:0 0 10px;font-size:15px;color:#e8f9ff}
.pops-imgbb-hint,.pops-imgbb-mini{font-size:12px;color:#bed0df;line-height:1.5;margin:8px 0 12px}
.pops-imgbb-area{min-height:115px;max-height:260px;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:11px;border:1px solid #57718a;background:#081423;color:#f1f7ff;outline:none}
.pops-imgbb-area:empty::before{content:attr(data-placeholder);color:#a4b6cd;pointer-events:none}
.pops-imgbb-actions{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0}
.pops-imgbb-btn.primary{background:#76e5dc;color:#091826;border-color:#76e5dc}
.pops-imgbb-btn.danger{background:#512635;color:#fff;border-color:#914557}
.pops-imgbb-targetline{display:flex;align-items:flex-start;gap:6px;flex-wrap:wrap;border:1px solid #36566d;border-radius:10px;padding:9px 11px;background:#142b3f;color:#dfecf8;font-size:12px;margin:10px 0}
.pops-imgbb-targetlabel{overflow-wrap:anywhere;color:#aef3e9;font-weight:700}
.pops-imgbb-target{outline:2px solid #76e5dc!important;outline-offset:2px}
.pops-imgbb-linklist{display:grid;gap:8px;min-width:0;max-height:290px;overflow-y:auto;scrollbar-width:thin}
.pops-imgbb-link{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;gap:7px;align-items:center;padding:8px;border:1px solid #3d536c;border-radius:11px;background:#192d41;min-width:0}
.pops-imgbb-left{min-width:0;display:grid;gap:3px}
.pops-imgbb-link input{width:100%;min-width:0;padding:9px;border:1px solid #536f87;border-radius:8px;background:#0b1b2b;color:#f2f8ff;font:12px system-ui,sans-serif}
.pops-imgbb-meta{font-size:11px;color:#bacfe0}
.pops-imgbb-checkline{display:flex;gap:10px;align-items:flex-start;margin:12px 0}
.pops-imgbb-checkline input{flex:0 0 auto;width:18px;height:18px;margin-top:2px;accent-color:#36c3b8}
.pops-imgbb-checkline label{margin:0;color:#d2e0eb;font-size:12px}
.pops-imgbb-drop{display:block;text-align:center;padding:22px 12px;border:2px dashed #63889d;border-radius:13px;background:#162c40;color:#eefbff;cursor:pointer;min-width:0}
.pops-imgbb-drop:hover,.pops-imgbb-drop.is-dragover{background:#235166;border-color:#73e3de}
.pops-imgbb-status{min-height:19px;color:#b5f5e7;font-size:12px;margin:8px 0}
.pops-imgbb-toast{position:fixed;bottom:20px;left:50%;transform:translate(-50%,12px);z-index:2100;padding:10px 14px;background:#113b48;border:1px solid #81e8de;border-radius:12px;color:#fff;box-shadow:0 10px 30px #0006;opacity:0;pointer-events:none;transition:opacity .18s,transform .18s;max-width:min(92vw,520px);text-align:center}
.pops-imgbb-toast.show{opacity:1;transform:translate(-50%,0)}
html[data-theme="light"] .pops-imgbb-card{background:linear-gradient(145deg,#e8f4fc,#f0eefb);border-color:#adc8da;color:#18314a;box-shadow:0 12px 30px #1e3d5919}
html[data-theme="light"] .pops-imgbb-box{background:#fff;border-color:#c8d7e5}
html[data-theme="light"] .pops-imgbb-title,html[data-theme="light"] .pops-imgbb-box h4{color:#17334c}
html[data-theme="light"] .pops-imgbb-text,html[data-theme="light"] .pops-imgbb-hint,html[data-theme="light"] .pops-imgbb-mini,html[data-theme="light"] .pops-imgbb-checkline label{color:#3d566c}
html[data-theme="light"] .pops-imgbb-pill{background:#fff;color:#31546b;border-color:#b5cbd9}
html[data-theme="light"] .pops-imgbb-toggle,html[data-theme="light"] .pops-imgbb-btn:not(.primary):not(.danger){background:#dfecf9;color:#17354d;border-color:#aec8de}
html[data-theme="light"] .pops-imgbb-area,html[data-theme="light"] .pops-imgbb-link input{background:#fff;color:#16334b;border-color:#b6cbdc}
html[data-theme="light"] .pops-imgbb-link,html[data-theme="light"] .pops-imgbb-targetline{background:#edf5fc;color:#264763;border-color:#c3d8e7}
html[data-theme="light"] .pops-imgbb-drop{background:#eff8fb;color:#24475e;border-color:#92b7c9}
html[data-theme="light"] .pops-imgbb-targetlabel{color:#086f79}
@media(max-width:850px){.pops-imgbb-grid{grid-template-columns:1fr}.pops-imgbb-link{grid-template-columns:minmax(0,1fr) repeat(3,auto)}}
@media(max-width:580px){.pops-imgbb-card{width:calc(100% - 20px);margin:15px auto;padding:13px}.pops-imgbb-head{align-items:stretch}.pops-imgbb-toggle{width:100%;white-space:normal}.pops-imgbb-box{padding:12px}.pops-imgbb-link{grid-template-columns:repeat(3,minmax(0,1fr))}.pops-imgbb-left{grid-column:1/-1}.pops-imgbb-link .pops-imgbb-btn{font-size:12px;padding:7px 4px;min-height:38px}}
@media(prefers-reduced-motion:reduce){.pops-imgbb-toast,.pops-imgbb-toggle i{transition:none}}
