/* Une galerie en trois chapitres. Chaque domaine a son espace et sa palette. */
.page-galerie{background:radial-gradient(ellipse at 80% 0%,#3d3e3c18,transparent 26%),#080b11}
.page-galerie .cadre{max-width:1392px}
.page-galerie .fil{margin-bottom:0}
.rg-intro{padding:38px 0 52px}
.page-galerie .rg-eyebrow{display:flex;align-items:center;gap:11px;color:#c6ad85;font-size:10px;font-weight:600;letter-spacing:.16em;margin:0 0 29px}
.rg-eyebrow>span{width:5px;height:5px;background:#c6ad85;border-radius:50%}
.rg-intro-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:60px;align-items:end}
.page-galerie .rg-intro h1{font-size:clamp(48px,5.8vw,88px);font-variation-settings:'wdth' 100,'wght' 500;line-height:1.03;letter-spacing:-.055em;margin:0;text-wrap:initial}
.page-galerie .rg-intro h1 em{color:#d4b88e;font-size:1.09em}
.page-galerie .rg-intro p:not(.rg-eyebrow){color:#adb3bd;font-size:14px;line-height:1.75;margin:0 0 12px}
.rg-explore{display:inline-flex;align-items:center;gap:28px;color:#ede4d7;text-decoration:none;font-size:11px;margin-top:10px}
.rg-explore span{font-size:21px;color:#d4b88e;transition:transform .25s}
.rg-explore:hover span{transform:translateY(4px)}
.rg-selection{scroll-margin-top:130px}
.rg-filter-row{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 0;margin-bottom:38px;border-top:1px solid #ffffff21;border-bottom:1px solid #ffffff21}
.page-galerie .pf-filters{gap:7px 20px}
.page-galerie .pf-filters button{font-size:11px;border:0;background:transparent;padding:11px 0;gap:8px;position:relative;color:#9fa7b4;border-radius:0}
.page-galerie .pf-filters button:after{content:'';height:1px;position:absolute;bottom:3px;left:0;right:0;background:transparent;transition:background .2s}
.page-galerie .pf-filters button[aria-pressed=true]{color:#e9cc9d;background:transparent}
.page-galerie .pf-filters button[aria-pressed=true]:after{background:#cfa867}
.page-galerie .pf-filters button:hover{color:#fff}
.page-galerie .pf-filters button span{font-size:8px;opacity:.65;align-self:flex-start}
.page-galerie .pf-count{font-size:9px;color:#949daa}
.page-galerie .pf-projects{display:flex;flex-direction:column;gap:65px}
.rg-chapter{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:19px}
.page-galerie .rg-chapter p{display:flex;align-items:center;gap:17px;color:#e0e2e7;font-size:12px;font-weight:500;margin:0}
.rg-chapter p>span{font-family:'IBM Plex Mono',monospace;font-size:10px;color:#b6986f;border-right:1px solid #ffffff30;padding-right:17px;letter-spacing:.08em}
.rg-chapter>span{font-family:Georgia,serif;font-size:15px;font-style:italic;color:#a9a29a}
.rg-card{display:grid;grid-template-columns:.9fr 1.35fr;min-height:480px;text-decoration:none;border-radius:9px;overflow:hidden;isolation:isolate;position:relative;background:var(--rg-bg);color:var(--rg-ink);border:1px solid var(--rg-border)}
.rg-card:focus-visible{outline:3px solid #e7c28a;outline-offset:6px}
.rg-web{--rg-bg:#e9dfd3;--rg-ink:#203d38;--rg-muted:#52665e;--rg-border:#efe7de;--rg-soft:#203d3828}
.rg-saas{--rg-bg:#1c2a25;--rg-ink:#f2e9d9;--rg-muted:#bdc8b9;--rg-border:#394a40;--rg-soft:#e5ddbc40}
.rg-mobile{--rg-bg:#efe5e1;--rg-ink:#403044;--rg-muted:#6e5f6e;--rg-border:#f3edea;--rg-soft:#40304428}
.rg-cotcot{--rg-bg:#f3e8d2;--rg-ink:#57412a;--rg-muted:#7a654a;--rg-border:#efdfc4;--rg-soft:#7a654a35}
.rg-mobile.rg-cotcot .rg-visual{background:radial-gradient(ellipse at 15% 20%,#eeba6266,transparent 70%),radial-gradient(ellipse at 95% 90%,#b3bd8266,transparent 70%),#eaddbc}
.rg-copy{display:flex;flex-direction:column;align-items:flex-start;padding:44px 40px;position:relative;z-index:2;min-width:0}
.rg-status{display:flex;align-items:center;gap:8px;color:var(--rg-muted);font-size:9px;line-height:1.5;margin-bottom:34px}
.rg-status:before{content:'';width:4px;height:4px;border-radius:50%;background:currentColor;flex-shrink:0}
.page-galerie .rg-card h2{font-family:'Archivo',sans-serif;font-size:clamp(24px,2.4vw,34px);line-height:1.15;font-variation-settings:'wdth' 100,'wght' 550;letter-spacing:-.045em;color:var(--rg-ink);margin:0 0 21px;display:flex;align-items:center;gap:11px}
.page-galerie .rg-web h2{font-family:Georgia,serif;font-size:61px;font-weight:400;line-height:.85;letter-spacing:-.06em;margin-bottom:27px}
.rg-card h2 img{border-radius:10px;width:36px;height:36px}
.page-galerie .rg-card .rg-promise{font-family:Georgia,serif;font-size:clamp(29px,2.7vw,40px);font-weight:400;font-style:italic;letter-spacing:-.045em;line-height:1.13;color:var(--rg-ink);margin:0 0 22px;text-wrap:initial}
.page-galerie .rg-card .rg-description{font-size:13px;line-height:1.85;color:var(--rg-muted);max-width:37ch;margin:0 0 27px}
.rg-cta{display:inline-flex;align-items:center;gap:26px;font-size:12px;font-weight:600;color:var(--rg-ink);border-bottom:1px solid var(--rg-soft);padding:12px 0;margin-top:auto}
.rg-cta>span{display:grid;place-items:center;width:26px;height:26px;border:1px solid var(--rg-soft);border-radius:50%;font-size:16px;transition:transform .3s,background .3s}
.rg-card:hover .rg-cta>span{transform:translate(2px,-2px);background:var(--rg-soft)}
.rg-visual{position:relative;min-width:0;overflow:hidden;isolation:isolate}
.rg-web .rg-visual{background:#c5d0be}
.rg-web .rg-visual>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:50% 50%;transition:transform 1s cubic-bezier(.2,.7,.3,1)}
.rg-web .rg-card:hover .rg-visual>img{transform:scale(1.025)}
.rg-saas .rg-visual{background:radial-gradient(ellipse at 40% 45%,#78967844,transparent 70%),linear-gradient(135deg,#293e32,#34483b)}
.rg-saas .rg-visual:before{content:'';position:absolute;inset:0;background-image:linear-gradient(#dcebd009 1px,transparent 1px),linear-gradient(90deg,#dcebd009 1px,transparent 1px);background-size:45px 45px}
.rg-studio-screen{position:absolute;overflow:hidden;border:1px solid #e9ddc355;border-radius:6px;box-shadow:0 22px 40px #070b0750;transition:transform .65s cubic-bezier(.2,.7,.3,1)}
.rg-studio-screen img{display:block;width:100%;height:auto}
.rg-studio-main{width:91%;left:5%;top:13%;transform:perspective(1400px) rotateY(-6deg) rotateZ(-3deg)}
.rg-studio-settings{width:70%;right:-5%;bottom:12%;transform:perspective(1400px) rotateY(-6deg) rotateZ(4deg)}
.rg-saas .rg-card:hover .rg-studio-main{transform:perspective(1400px) rotateY(-2deg) rotateZ(-1deg) translateY(-4px)}
.rg-saas .rg-card:hover .rg-studio-settings{transform:perspective(1400px) rotateY(-2deg) rotateZ(2deg) translateY(-4px)}
.rg-art-caption{position:absolute;bottom:22px;left:28px;font-family:'IBM Plex Mono',monospace;font-size:8px;letter-spacing:.12em;color:#ccd7c4}
.rg-mobile .rg-visual{background:radial-gradient(ellipse at 20% 15%,#ecddba,transparent 65%),radial-gradient(ellipse at 100% 95%,#d2bee2,transparent 75%),#e5cbc8}
.rg-mobile .rg-visual:before{content:'';position:absolute;inset:8% 9%;border:1px solid #fffbfba0;border-radius:50%;transform:rotate(-20deg)}
.rg-phone{width:clamp(155px,15vw,212px);position:absolute;padding:5px;border:1px solid #9e9190;border-radius:28px;background:#262127;box-shadow:0 25px 45px #5c41454a;transition:transform .65s cubic-bezier(.2,.7,.3,1)}
.rg-phone img{display:block;width:100%;height:auto;border-radius:22px}
.rg-phone-today{top:37px;left:13%;transform:rotate(-8deg);z-index:2}
.rg-phone-month{top:56px;right:12%;transform:rotate(8deg);z-index:1}
.rg-mobile .rg-card:hover .rg-phone-today{transform:rotate(-5deg) translateY(-7px)}
.rg-mobile .rg-card:hover .rg-phone-month{transform:rotate(5deg) translateY(-5px)}
.rg-project-foot{display:flex;justify-content:space-between;gap:20px;padding:16px 0 0;color:#959da9;font-size:10px;line-height:1.7}
.rg-project-foot>span:last-child{font-size:9px;color:#89929e}
.rg-project-foot>span:last-child span{margin-left:15px;color:#bfa57d}
.rg-finale{display:grid;grid-template-columns:1.45fr 1fr;gap:70px;align-items:end;margin-top:95px;padding:65px 0 18px;border-top:1px solid #ffffff25}
.page-galerie .rg-finale .rg-eyebrow{font-size:9px;margin-bottom:26px}
.page-galerie .rg-finale h2{font-size:clamp(36px,4.2vw,60px);font-variation-settings:'wdth' 100,'wght' 500;line-height:1.08}
.page-galerie .rg-finale p:not(.rg-eyebrow){font-size:14px;line-height:1.75;margin-bottom:22px}
.rg-contact{display:inline-flex;align-items:center;gap:30px;padding:17px 22px;background:#ddc098;color:#171b20;font-size:13px;font-weight:600;border-radius:4px;text-decoration:none;transition:background .25s,transform .25s}
.rg-contact:hover{color:#171b20;background:#eed6b1;transform:translateY(-2px)}
.rg-contact>span{font-size:19px}
.rg-contact-note{display:block;font-size:10px;color:#939dac;margin-top:14px}
@media(max-width:1050px){.rg-intro-grid{gap:30px;grid-template-columns:1.3fr 1fr}.rg-intro-grid p br{display:none}.rg-card{grid-template-columns:.95fr 1.15fr;min-height:450px}.rg-copy{padding:33px 28px}.rg-phone{width:180px}.rg-phone-today{left:6%;top:35px}.rg-phone-month{right:4%;top:65px}.rg-studio-main{top:18%}.rg-studio-settings{bottom:18%;width:80%}.rg-finale{gap:45px}}
@media(max-width:820px){.rg-intro-grid{grid-template-columns:1fr;gap:25px}.page-galerie .rg-intro h1{font-size:66px}.rg-intro-grid>div{max-width:500px}.page-galerie .rg-intro p:not(.rg-eyebrow){font-size:14px}.rg-explore{display:flex;width:fit-content;margin-top:20px}.rg-filter-row{align-items:flex-start;flex-direction:column;gap:14px}.rg-card{grid-template-columns:1fr 1.05fr}.rg-copy{padding:30px 25px}.rg-status{margin-bottom:26px}.page-galerie .rg-card .rg-promise{font-size:30px}.rg-phone{width:170px}.rg-phone-today{left:0;top:60px}.rg-phone-month{right:-10%;top:100px}.rg-studio-main{width:109%;left:6%;top:17%}.rg-studio-settings{width:100%;right:-9%;bottom:20%}.rg-finale{grid-template-columns:1.1fr 1fr;gap:25px}.rg-project-foot>span:last-child{display:none}}
@media(max-width:620px){
 .rg-intro{padding:25px 0 30px}.page-galerie .rg-eyebrow{font-size:8px;margin-bottom:25px}.page-galerie .rg-intro h1{font-size:clamp(39px,10.4vw,63px);line-height:1.04}.rg-intro-grid{gap:23px}.page-galerie .rg-intro p:not(.rg-eyebrow){font-size:13px;line-height:1.8}.rg-explore{font-size:10px;margin-top:17px;gap:18px}.rg-selection{scroll-margin-top:175px}.rg-filter-row{padding:13px 0 17px;margin-bottom:28px;gap:10px}.page-galerie .pf-filters{gap:3px 20px}.page-galerie .pf-filters button{font-size:10px;padding:10px 0;gap:6px}.page-galerie .pf-count{font-size:8px}.page-galerie .pf-projects{gap:39px}.rg-chapter{gap:12px;margin-bottom:13px}.page-galerie .rg-chapter p{font-size:11px;gap:11px}.rg-chapter p>span{font-size:9px;padding-right:11px}.rg-chapter>span{font-size:12px}.rg-card{grid-template-columns:1fr;min-height:0;border-radius:7px}.rg-copy{padding:27px 26px 25px}.rg-status{font-size:9px;margin-bottom:26px}.page-galerie .rg-card h2{font-size:30px;margin-bottom:17px;max-width:none}.page-galerie .rg-web h2{font-size:52px;margin-bottom:22px}.page-galerie .rg-card .rg-promise{font-size:34px;line-height:1.13;margin-bottom:19px}.page-galerie .rg-card .rg-description{font-size:13px;max-width:37ch;margin-bottom:15px}.rg-cta{padding:9px 0;font-size:11px;gap:25px}.rg-cta>span{width:25px;height:25px}.rg-visual{height:300px}.rg-web .rg-visual{height:270px}.rg-studio-main{width:91%;left:4%;top:14%}.rg-studio-settings{width:74%;right:-2%;bottom:13%}.rg-art-caption{font-size:7px;left:20px;bottom:13px}.rg-mobile .rg-visual{height:395px}.rg-phone{width:170px;padding:4px;border-radius:25px}.rg-phone img{border-radius:20px}.rg-phone-today{left:7%;top:24px}.rg-phone-month{right:5%;top:43px}.rg-project-foot{font-size:9px;padding-top:13px}.rg-finale{grid-template-columns:1fr;gap:27px;margin-top:55px;padding:35px 0 8px}.page-galerie .rg-finale h2{font-size:39px}.page-galerie .rg-finale .rg-eyebrow{font-size:8px;margin-bottom:24px}.page-galerie .rg-finale p:not(.rg-eyebrow){font-size:13px;margin-bottom:20px}.rg-contact{font-size:12px;padding:16px 19px}.rg-contact-note{font-size:9px}
}
@media(max-width:360px){.rg-chapter>span{font-size:10px}.rg-chapter p>span{padding-right:9px}.page-galerie .rg-chapter p{font-size:10px}.rg-copy{padding:25px 22px}.rg-phone{width:153px}.rg-phone-today{left:5%}.rg-phone-month{right:3%}.rg-mobile .rg-visual{height:365px}.rg-studio-settings{bottom:18%}.page-galerie .rg-card .rg-promise{font-size:31px}.page-galerie .rg-finale h2{font-size:34px}}
@media(prefers-reduced-motion:reduce){.rg-card:hover .rg-visual>img,.rg-card:hover .rg-cta>span{transform:none}.rg-saas .rg-card:hover .rg-studio-main{transform:perspective(1400px) rotateY(-6deg) rotateZ(-3deg)}.rg-saas .rg-card:hover .rg-studio-settings{transform:perspective(1400px) rotateY(-6deg) rotateZ(4deg)}.rg-mobile .rg-card:hover .rg-phone-today{transform:rotate(-8deg)}.rg-mobile .rg-card:hover .rg-phone-month{transform:rotate(8deg)}}
@media print{.page-galerie .rg-filter-row,.rg-explore{display:none}.page-galerie .pf-projects{display:block}.rg-project{break-inside:avoid;margin-bottom:30px}.rg-finale{break-inside:avoid}}
