:root{color-scheme:dark;--bg:#0b0c0d;--panel:#111214;--text:#eeeae2;--muted:#a3a39d;--line:#2c2d2e;--accent:#c8bd9f;font-family:Arial,Helvetica,sans-serif;font-size:16px;background:var(--bg);color:var(--text)}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{ -webkit-tap-highlight-color:transparent}button{color:inherit;cursor:pointer}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button{border:0;background:none}svg{fill:none;stroke:currentColor;stroke-width:1.5;width:20px;height:20px}img{display:block;max-width:100%}[hidden]{display:none!important}.site-header,.intro,.collection,.closing,.site-footer{max-width:1600px;margin:auto;padding-left:5%;padding-right:5%}.site-header{height:116px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:24px}.brand{display:flex;align-items:center;gap:15px;font-size:12px;font-weight:600;letter-spacing:.17em;line-height:1.4}.brand-mark{font-family:Georgia,serif;font-size:44px;font-weight:400;letter-spacing:-.08em}.header-note{font-size:12px;letter-spacing:.17em;color:var(--muted)}.instagram{display:flex;align-items:center;gap:12px;font-size:14px}.instagram>span{margin-left:12px}.intro{display:grid;grid-template-columns:3fr 1fr;gap:7%;padding-top:72px;padding-bottom:64px;align-items:end}.eyebrow{font-size:12px;letter-spacing:.2em;color:var(--accent);display:flex;align-items:center;gap:12px}.small-line{width:26px;height:1px;background:var(--accent)}h1{font:400 clamp(3.3rem,7.8vw,8rem)/1.08 Georgia,'Times New Roman',serif;letter-spacing:-.055em;margin:25px 0 0}.title-bottom{display:flex;align-items:center;gap:36px}.title-bottom em{font-weight:400;color:var(--accent)}.title-rule{height:1px;max-width:170px;flex:1;background:var(--line);margin-top:20px}.intro-note{padding-bottom:10px}.edition{font-size:12px;letter-spacing:.16em;color:var(--muted)}.intro-note p{font:400 22px/1.45 Georgia,serif;margin:22px 0 30px}.subtle-link{font-size:14px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:10px;border-bottom:1px solid #62615a}.collection{scroll-margin-top:20px}.collection-bar{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:85px}.collection-bar h2{font-size:16px;font-weight:400;display:flex;align-items:center;gap:12px}.count{font-size:12px;border:1px solid #44433d;padding:4px 8px;border-radius:100px;color:var(--accent);min-width:30px;text-align:center}.collection-bar p{font-size:14px;color:var(--muted)}.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 22px;align-items:start}.photo-card{min-width:0}.photo-open{display:block;width:100%;padding:0;background:#101112;overflow:hidden;position:relative;min-height:120px}.photo-open img{width:100%;height:auto;max-height:580px;object-fit:contain;transition:opacity .2s}.photo-open:hover img{opacity:.9}.photo-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 0;color:var(--muted);font-size:12px}.photo-caption .number{font-variant-numeric:tabular-nums;letter-spacing:.08em}.card-actions{display:flex;align-items:center;gap:12px}.card-actions button,.card-actions a{display:flex;align-items:center;justify-content:center;gap:5px;min-height:36px;min-width:36px;padding:0;font-size:14px}.card-actions button[aria-pressed=true]{color:var(--accent)}.gallery-status{padding:68px 24px 75px;text-align:center;border:1px solid var(--line);margin:0 0 32px;color:var(--muted);line-height:1.7}.gallery-status h3{font:400 30px Georgia,serif;color:var(--text);margin:0 0 12px}.gallery-status p{margin:8px 0}.gallery-status .empty-mark{font:italic 60px Georgia,serif;color:var(--accent);display:block;margin-bottom:18px}.pagination{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;padding:45px 0}.pagination button{min-width:42px;height:42px;border:1px solid var(--line);padding:0 10px;font-size:14px}.pagination button[aria-current=page]{background:var(--text);color:var(--bg);border-color:var(--text)}.pagination .page-summary{width:100%;text-align:center;font-size:12px;color:var(--muted);margin-bottom:12px}.closing{margin-top:25px;padding-top:40px;padding-bottom:50px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.closing p{color:var(--muted);font-size:16px}.closing a{font:400 clamp(25px,3vw,42px) Georgia,serif;letter-spacing:-.04em}.closing a span{font-family:Arial,sans-serif;font-size:22px;margin-left:18px}.site-footer{padding-top:24px;padding-bottom:28px;border-top:1px solid var(--line);display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.text-button{padding:0;text-decoration:underline;text-underline-offset:4px;font-size:12px}.skip{position:fixed;left:10px;top:-100px;padding:15px;background:var(--text);color:var(--bg);z-index:20}.skip:focus{top:10px}dialog{color:var(--text);background:var(--panel);border:1px solid var(--line)}dialog::backdrop{background:#000d;backdrop-filter:blur(6px)}body:has(dialog[open]){overflow:hidden}.viewer{width:calc(100% - 48px);max-width:1600px;height:calc(100dvh - 48px);max-height:none;padding:0}.viewer-top{height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;border-bottom:1px solid var(--line);font-size:12px;color:var(--muted)}.icon-button{width:42px;height:42px;font-size:30px}.viewer-body{display:grid;grid-template-columns:minmax(0,1fr) 340px;height:calc(100% - 58px)}.image-stage{position:relative;display:flex;align-items:center;justify-content:center;background:#08090a;min-height:0;padding:40px 54px}.image-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}.image-stage p{position:absolute;padding:20px;background:var(--bg)}.image-arrow{position:absolute;top:calc(50% - 24px);width:42px;height:48px;font-size:22px;background:#111b}.image-arrow.previous{left:5px}.image-arrow.next{right:5px}.photo-details{overflow:auto;border-left:1px solid var(--line);padding:26px 24px}.photo-details h2{font:400 26px Georgia,serif;word-break:break-word;margin:20px 0}.photo-actions{display:flex;gap:10px;flex-wrap:wrap}.like-button,.download-button{display:flex;align-items:center;gap:10px;border:1px solid #444;padding:11px 12px;font-size:14px;min-height:44px}.like-button[aria-pressed=true]{color:var(--accent);border-color:var(--accent)}.download-button{background:var(--text);color:var(--bg);border-color:var(--text)}.quality-note,.form-note{font-size:12px;line-height:1.6;color:var(--muted)}.quality-note{margin:16px 0 30px}.comments-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;gap:8px}.comments-heading h3{font:400 20px Georgia,serif;margin:0}.comments-heading .count{font-family:Arial,sans-serif}label{display:block;font-size:14px;margin:18px 0 9px}input,textarea{width:100%;background:#0d0e0f;border:1px solid #3e3f40;border-radius:0;padding:12px;color:var(--text);font-size:16px}textarea{resize:vertical;min-height:90px}.primary-button{background:var(--text);color:var(--bg);padding:13px 18px;min-height:46px;display:inline-flex;align-items:center;justify-content:space-between;gap:25px;font-size:14px}.photo-details .primary-button{width:100%}#comment-status{font-size:14px;line-height:1.5}.comments{margin-top:24px}.comment-item{border-top:1px solid var(--line);padding:16px 0}.comment-item header{display:flex;align-items:center;justify-content:space-between;font-size:14px;gap:12px}.comment-item time{font-size:12px;color:var(--muted)}.comment-item p{font-size:14px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere}.comments-empty{font-size:14px;color:var(--muted);line-height:1.7}.honeypot{position:absolute;left:-9999px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);padding:16px 22px;background:var(--text);color:var(--bg);z-index:10;max-width:calc(100% - 32px);font-size:14px}.small-dialog{max-width:480px;width:calc(100% - 32px);padding:30px}.small-dialog h2{font:400 30px Georgia,serif;margin:0 0 20px}.small-dialog p{font-size:16px;line-height:1.65;color:var(--muted)}.small-dialog a{text-decoration:underline}.small-dialog .buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:25px}.secondary-button{border:1px solid #555;padding:12px 16px;min-height:44px;font-size:14px}.danger-button{background:#702a2a;color:#fff;padding:12px 16px;min-height:44px;font-size:14px}
/* Espace photographe */
.admin-main{max-width:1200px;margin:auto;padding:54px 5% 80px}.admin-title h1{font-size:clamp(40px,6vw,64px);margin:12px 0 18px}.admin-title p{color:var(--muted);line-height:1.6}.login-panel{max-width:460px;margin:40px 0}.login-panel .primary-button{margin-top:24px;width:100%}.admin-toolbar{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px;align-items:center;margin:30px 0}.admin-tabs{display:flex;gap:20px;border-bottom:1px solid var(--line)}.admin-tabs button{font-size:16px;padding:16px 0;border-bottom:2px solid transparent}.admin-tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--accent)}.drop-zone{border:1px dashed #777266;padding:36px 20px;text-align:center;margin:28px 0;background:#111214}.drop-zone.dragover{background:#25241f;border-color:var(--accent)}.drop-zone h2{font:400 26px Georgia,serif;margin:0 0 12px}.drop-zone p{color:var(--muted);line-height:1.6;font-size:14px}.file-label{display:inline-flex;cursor:pointer;margin:8px 0 0}.file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.file-label:focus-within{outline:2px solid var(--accent);outline-offset:4px}progress{width:100%;height:8px;accent-color:var(--accent);margin-top:16px}#upload-status{font-size:14px;line-height:1.7}#upload-errors{font-size:14px;color:#efb9ad;line-height:1.7;white-space:pre-wrap;max-height:200px;overflow:auto}.admin-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.admin-card{border:1px solid var(--line);padding:10px;min-width:0}.admin-card img{width:100%;height:140px;object-fit:contain;background:#070809}.admin-card p{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.admin-card button{font-size:14px;color:#efb9ad;padding:10px 0}.admin-comment{border-bottom:1px solid var(--line);padding:24px 0}.admin-comment header{display:flex;justify-content:space-between;gap:20px;font-size:14px;flex-wrap:wrap}.admin-comment p{overflow-wrap:anywhere;line-height:1.6;white-space:pre-wrap}.admin-comment a{color:var(--accent);font-size:14px}.admin-comment button{font-size:14px;color:#efb9ad;margin-left:20px}.admin-note{color:var(--muted);font-size:14px;line-height:1.6}.error{color:#efb9ad}
@media(min-width:1600px){.intro{padding-top:90px;padding-bottom:80px}}@media(max-width:900px){.header-note{display:none}.intro{grid-template-columns:1fr 200px;gap:24px}.intro-note p{font-size:20px}h1{font-size:clamp(48px,8vw,78px)}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.viewer-body{grid-template-columns:minmax(0,1fr) 300px}.photo-details{padding:20px 16px}.image-stage{padding:20px 42px}.admin-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.site-header{height:88px}.brand{gap:10px;font-size:10px}.brand-mark{font-size:36px}.instagram{font-size:13px;gap:8px}.instagram>span{display:none}.intro{padding-top:42px;padding-bottom:36px;grid-template-columns:1fr}.intro h1{font-size:clamp(43px,10.8vw,69px);margin-top:22px}.title-bottom{gap:25px}.intro-note{display:flex;flex-wrap:wrap;align-items:end;gap:14px;justify-content:space-between;padding:0}.edition{display:none}.intro-note p{font-size:18px;margin:0}.subtle-link{font-size:12px;max-width:160px;line-height:1.6}.collection-bar{min-height:74px}.collection-bar p{font-size:12px}.gallery{gap:20px 12px}.photo-caption{padding:8px 0;gap:5px}.card-actions{gap:2px}.card-actions button,.card-actions a{min-width:30px;font-size:12px}.card-actions .comment-card{display:none}.gallery-status{padding:44px 16px}.closing{flex-direction:column;align-items:start;margin-top:0;gap:10px;padding-top:25px;padding-bottom:30px}.closing p{font-size:14px;margin:0}.closing a{font-size:30px}.site-footer{gap:16px}.site-footer>span:nth-child(2){display:none}.viewer{width:100%;height:100dvh;max-width:none;border:0;max-height:none}.viewer-top{height:54px}.viewer-body{display:block;overflow:auto;height:calc(100% - 54px)}.image-stage{height:52dvh;min-height:260px;padding:16px 34px}.image-arrow{width:32px}.photo-details{overflow:visible;border-left:0;border-top:1px solid var(--line);padding:25px 20px}.photo-actions{flex-wrap:nowrap}.photo-actions>*{flex:1;justify-content:center}.quality-note{margin-bottom:24px}.admin-main{padding-top:35px}.admin-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-toolbar{align-items:start}.drop-zone{padding:28px 16px}.admin-card img{height:130px}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Retouches et statistiques privées */
.intro{padding-top:50px;padding-bottom:48px;grid-template-columns:minmax(0,3fr) minmax(180px,1fr)}.intro h1{margin-top:0}.intro-note p{font-size:23px;margin:12px 0 7px}.closing a{display:inline-flex;align-items:center;gap:16px}.closing a svg{width:28px;height:28px}.stats-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-top:38px}.stats-heading h2{font:400 30px Georgia,serif;margin:0 0 10px}.stats-heading .secondary-button{white-space:nowrap}.stats-totals{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0 30px}.stats-totals>div{border:1px solid var(--line);padding:22px}.stats-totals span{font:400 38px Georgia,serif;color:var(--accent)}.stats-totals p{font-size:14px;color:var(--muted);margin-bottom:0}.stats-table-wrap{overflow-x:auto}.stats-table{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.stats-table th{font-size:12px;font-weight:400;color:var(--muted);padding:14px 12px;border-bottom:1px solid var(--line)}.stats-table td{padding:12px;border-bottom:1px solid var(--line)}.stats-table th:nth-child(n+3),.stats-number{text-align:right;font-variant-numeric:tabular-nums}.stats-rank{color:var(--muted);width:60px}.stats-photo{display:flex;align-items:center;gap:18px;white-space:nowrap}.stats-photo img{width:100px;height:68px;object-fit:contain;background:#08090a}.stats-photo:hover span{text-decoration:underline;text-underline-offset:4px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
@media(max-width:640px){.intro{padding-top:36px;padding-bottom:30px;grid-template-columns:1fr;gap:22px}.intro h1{margin-top:0}.intro-note{display:block}.intro-note p{font:400 14px Arial,sans-serif;color:var(--muted);margin:0}.stats-heading{align-items:start;flex-direction:column}.stats-heading h2{font-size:27px}.stats-totals{gap:8px}.stats-totals>div{padding:16px 12px}.stats-totals span{font-size:30px}.stats-totals p{font-size:12px}.admin-tabs{gap:16px}.admin-tabs button{font-size:14px}.stats-table th,.stats-table td{padding:12px 7px}.stats-photo{gap:10px;flex-direction:column;align-items:start}.stats-photo img{width:86px;height:58px}.stats-photo span{font-size:12px}}

/* Direction visuelle 2026 : nette, éditoriale et contemporaine. */
:root{--bg:#08090b;--panel:#101216;--text:#f3f2ee;--muted:#9297a0;--line:#252930;--accent:#d7bf8a;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
body{letter-spacing:-.01em;background:radial-gradient(ellipse 70% 32% at 50% -8%,#1b1d22 0%,var(--bg) 64%)}
.site-header{height:88px;border-bottom-color:rgba(255,255,255,.09);position:relative}.brand{font-size:10px;letter-spacing:.2em}.brand-mark{font-size:38px}.header-note{font-size:10px;letter-spacing:.18em;color:#777d87}.instagram{font-size:13px;color:#d8d9db}.instagram svg{width:18px;height:18px}
.intro{padding-top:82px;padding-bottom:74px;gap:8%;}.intro h1{font-family:inherit;font-size:clamp(3.4rem,8.7vw,8.5rem);font-weight:650;letter-spacing:-.085em;line-height:.92}.title-bottom{gap:28px}.title-bottom em{font-family:Georgia,serif;font-weight:400;letter-spacing:-.07em}.title-rule{background:linear-gradient(90deg,var(--accent),transparent);max-width:240px}
.intro-note{border-left:1px solid var(--line);padding-left:24px}.edition{font-size:10px;letter-spacing:.18em;color:var(--accent)}.intro-note p{font-family:inherit;font-size:15px;letter-spacing:.02em;color:var(--muted);margin:15px 0 0}
.collection-bar{min-height:76px;border-top-color:rgba(255,255,255,.12)}.collection-bar h2{font-size:15px;font-weight:600;letter-spacing:-.02em}.collection-bar .count{background:#191b20;border-color:#333842}.gallery{gap:36px 24px}.photo-open{background:#101216;border-radius:3px}.photo-open img{transition:transform .35s ease,opacity .2s}.photo-open:hover img{transform:scale(1.018)}.photo-caption{font-size:11px;padding:12px 1px;color:#868c96}.card-actions button,.card-actions a{color:#aeb3ba}.card-actions button[aria-pressed=true]{color:var(--accent)}
.pagination{padding:42px 0}.pagination button{border-radius:999px;min-width:40px;height:40px;background:#0e1014}.pagination button[aria-current=page]{background:var(--text);font-weight:600}
.closing{margin-top:16px;padding-top:50px}.closing p{font-size:13px}.closing a{font-family:inherit;font-size:clamp(24px,3vw,38px);font-weight:600;letter-spacing:-.06em}.site-footer{border-top-color:rgba(255,255,255,.09)}
.viewer{border-radius:8px;overflow:hidden}.viewer-top{height:54px}.photo-details h2{font-family:inherit;font-weight:650;letter-spacing:-.05em}.like-button,.download-button,.primary-button,.secondary-button{border-radius:999px}.download-button,.primary-button{font-weight:600}.photo-details .primary-button{border-radius:3px}.small-dialog{border-radius:8px}
.admin-title h1,.stats-heading h2,.drop-zone h2{font-family:inherit;font-weight:650;letter-spacing:-.06em}.drop-zone{border-radius:6px;background:linear-gradient(135deg,#14161b,#0f1115);border-color:#3a3e47}.admin-card{border-radius:5px;background:#0d0f13;border-color:#252930}.admin-card img{border-radius:3px}.stats-totals>div{border-radius:6px;background:#0e1014}.stats-table tr:hover{background:#11141a}
@media(max-width:640px){.site-header{height:76px}.intro{padding-top:58px;padding-bottom:48px}.intro h1{font-size:clamp(3.2rem,14vw,5rem)}.intro-note{border-left:0;padding-left:0}.gallery{gap:24px 12px}}
