/* antoinejosnin.fr — feuille unique. Tokens et composants d'après design/handoff/README.md. */

/* ===== POLICES ===== */
@font-face{font-family:"Bricolage Grotesque";font-style:normal;font-weight:500 800;font-display:swap;src:url(assets/fonts/bricolage-grotesque-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"DM Sans";font-style:normal;font-weight:400 600;font-display:swap;src:url(assets/fonts/dm-sans-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"JetBrains Mono";font-style:normal;font-weight:400 500;font-display:swap;src:url(assets/fonts/jetbrains-mono-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* ===== TOKENS ===== */
:root{
--bg:#FBF7F0;
--surface:#FFFFFF;
--ink:#1A1614;
--muted:#5A544E;
--line:#E6E0D4;
/* Accent : le handoff donne #2F7FCB (4,18:1 réels sur blanc, sous le seuil AA) ;
   #256BB0 (son hover, 5,5:1) est retenu à la place, cf. docs/QUESTIONS.md. */
--accent:#256BB0;
--accent-hover:#1F5F9E;
--accent-link-hover:#1A5289;
--accent-light:#9CC9EE;
--shot-bg:#E8EEF5;
--cream-70:rgba(251,247,240,.7);
--cream-15:rgba(251,247,240,.15);
--white-85:rgba(255,255,255,.85);
--white-90:rgba(255,255,255,.9);
--shadow-desktop:0 24px 60px -24px rgba(26,22,20,.4);
--shadow-mobile:0 20px 50px -20px rgba(26,22,20,.4);
--shadow-card:0 10px 30px -10px rgba(26,22,20,.3);
--shadow-hover:0 20px 50px -30px rgba(26,22,20,.35);
--font-display:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;
--font-body:"DM Sans",system-ui,-apple-system,"Segoe UI",sans-serif;
--font-mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
--r-xl:28px;
--r-lg:18px;
--r-md:14px;
--r-sm:12px;
--r-xs:9px;
--r-pill:999px;
--gutter:clamp(20px,4.4vw,56px);
--section:clamp(64px,8.125vw,104px);
--section-project:clamp(56px,7.5vw,96px);
--fs-display:clamp(44px,calc(31.7px + 3.146vw),72px);
--fs-h1-project:clamp(52px,calc(43.2px + 2.247vw),72px);
--fs-h2:clamp(34px,calc(27.9px + 1.573vw),48px);
--fs-h2-contact:clamp(40px,calc(29.5px + 2.697vw),64px);
--fs-h2-sub:clamp(30px,calc(25.6px + 1.124vw),40px);
--fs-h3:clamp(24px,calc(22.25px + .45vw),28px);
--fs-stat:clamp(32px,calc(28.5px + .9vw),40px);
--fs-lead:clamp(17px,calc(16.1px + .225vw),19px);
--fs-lead-project:clamp(18px,calc(16.25px + .45vw),22px);
--fs-quote:clamp(20px,calc(18.25px + .45vw),24px);
--fs-quote-project:clamp(19px,calc(17.7px + .337vw),22px);
--ease-fast:160ms ease-out;
--ease-motion:240ms cubic-bezier(.2,.8,.2,1);
--tilt-rest:-12deg;
}

/* ===== RESET ===== */
*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);color:var(--ink);-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{margin:0;font:400 16px/1.55 var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
h1,h2,h3,p,figure,ol,ul{margin:0}
ol,ul{padding:0;list-style:none}
img{display:block;max-width:100%;height:auto}
a{color:inherit}
button{font:inherit;color:inherit}
strong,b{font-weight:600}
h1,h2,h3{font-family:var(--font-display);font-weight:700;text-wrap:balance}
p{text-wrap:pretty}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:4px}
[hidden]{display:none !important}
[id]{scroll-margin-top:96px}
.wrap{max-width:1280px;margin:0 auto;padding-left:var(--gutter);padding-right:var(--gutter)}
.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ===== TYPO UTILITAIRES ===== */
.mono{font-family:var(--font-mono);font-weight:400;font-size:13px;line-height:1.5}
.kicker{font:400 13px/1.5 var(--font-mono);color:var(--muted);white-space:nowrap}
.label{font:400 13px/1.5 var(--font-mono);color:var(--accent)}
.muted{color:var(--muted)}
.lead{font-size:var(--fs-lead);line-height:1.5;color:var(--muted);max-width:520px}
.h2{font-size:var(--fs-h2);line-height:1;letter-spacing:-.035em}
.h3{font-size:var(--fs-h3);line-height:1.05;letter-spacing:-.03em}

/* ===== BOUTONS ET LIENS ===== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:52px;padding:16px 26px;border:0;border-radius:var(--r-pill);background:var(--accent);color:#fff;font:600 16px/1 var(--font-body);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform var(--ease-fast),background-color var(--ease-fast),color var(--ease-fast),border-color var(--ease-fast)}
.btn:hover{background:var(--accent-hover);transform:translateY(-1px)}
.btn:active{transform:scale(.98)}
.btn--secondary{background:transparent;color:var(--ink);border:1.5px solid var(--ink);padding:15px 24px}
.btn--secondary:hover{background:var(--ink);color:var(--bg)}
.btn--cream{background:var(--bg);color:var(--ink);padding:14px 22px;font-size:15px;min-height:48px}
.btn--cream:hover{background:#fff}
.btn--nav{background:var(--ink);color:var(--bg);padding:10px 18px;font-size:14px;min-height:40px}
.btn--nav:hover{background:var(--accent)}
.btn--block{width:100%}
.link{display:inline-block;color:var(--accent);font-weight:600;font-size:15px;text-decoration:none}
.link:hover{color:var(--accent-link-hover);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.arrow{display:inline-block;transition:transform var(--ease-fast)}
a:hover .arrow,.card-project:hover .arrow{transform:translateX(4px)}
.text-link{color:var(--accent);text-decoration:none}
.text-link:hover{color:var(--accent-link-hover);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}

/* ===== PORTRAIT ===== */
.portrait{display:block;flex:none;padding:0;border:0;background:none;border-radius:50%;overflow:hidden;transform:rotate(var(--tilt,var(--tilt-rest)));transition:transform var(--ease-motion)}
.portrait img{width:100%;height:100%;object-fit:cover;object-position:50% 20%;transform:scale(1.35) translateY(4%)}
.portrait--hero{width:72px;height:72px;cursor:pointer}
.portrait--hero:hover{transform:rotate(-6deg)}
.portrait--nav{width:36px;height:36px}

/* ===== NAVIGATION ===== */
.site-header{border-bottom:1px solid var(--line)}
.nav{display:flex;justify-content:space-between;align-items:center;gap:24px;padding-top:22px;padding-bottom:22px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font:700 20px/1 var(--font-display);letter-spacing:-.02em;color:var(--ink)}
.nav-links{display:flex;gap:28px}
.nav-links a,.nav-back{font-size:15px;font-weight:500;color:var(--muted);text-decoration:none;transition:color var(--ease-fast)}
.nav-links a:hover,.nav-links a[aria-current="page"],.nav-back:hover{color:var(--ink);text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:4px}
.burger{display:none;width:44px;height:44px;margin-right:-6px;padding:0;border:0;background:none;cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.burger span{display:block;width:22px;height:2px;background:var(--ink)}

/* ===== MENU MOBILE ===== */
.menu{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;background:var(--bg);overflow-y:auto}
.menu-bar{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:1px solid var(--line)}
.menu-close{position:relative;width:44px;height:44px;margin-right:-6px;padding:0;border:0;background:none;cursor:pointer}
.menu-close::before,.menu-close::after{content:"";position:absolute;left:11px;top:21px;width:22px;height:2px;background:var(--ink);transform:rotate(45deg)}
.menu-close::after{transform:rotate(-45deg)}
.menu-body{flex:1;display:flex;flex-direction:column;justify-content:space-between;gap:32px;padding:32px 20px 28px}
.menu-list a{display:flex;justify-content:space-between;align-items:baseline;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none;font:700 34px/1 var(--font-display);letter-spacing:-.035em;color:var(--ink)}
.menu-list .menu-num{font:400 12px/1.5 var(--font-mono);color:var(--muted)}
.menu-foot{display:flex;flex-direction:column;gap:16px}
.menu-links{display:flex;flex-wrap:wrap;gap:8px 18px;font-size:14px;font-weight:500;color:var(--muted)}
.menu-links a{text-decoration:none}
.menu-place{font:400 11px/1.5 var(--font-mono);color:var(--muted)}
body.menu-open{overflow:hidden}

/* ===== HERO ACCUEIL ===== */
.hero{display:grid;grid-template-columns:1.05fr .95fr;gap:48px;align-items:center;padding-top:64px;padding-bottom:32px}
.hero-copy{display:flex;flex-direction:column;gap:26px}
.hero-id{display:flex;align-items:center;gap:16px}
.hero-id .mono{color:var(--accent)}
.hero-id .mono span{color:var(--muted)}
.display{font-size:var(--fs-display);font-weight:800;line-height:.98;letter-spacing:-.035em}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center}

/* ===== MOSAÏQUE DE CAPTURES ===== */
.mosaic{position:relative;overflow:hidden;border-radius:var(--r-xl);background:var(--mosaic-bg,var(--shot-bg))}
.mosaic--hero{height:560px}
.mosaic--project{height:600px;margin-top:56px}
.shot{position:absolute;left:var(--l,auto);top:var(--t,auto);right:var(--rt,auto);bottom:var(--b,auto);width:var(--w);z-index:var(--z,1);padding:0;border:0;background:none;cursor:pointer;transform:rotate(var(--r,0deg));transition:transform var(--ease-motion)}
.shot img{width:100%;height:var(--h,auto);object-fit:cover;object-position:top;background:#fff}
.shot--desktop img{border-radius:var(--r-sm);box-shadow:var(--shadow-desktop)}
.mosaic--project .shot--desktop img{border-radius:var(--r-md)}
.shot--mobile img{border-radius:24px;border:5px solid var(--ink);box-shadow:var(--shadow-mobile)}
.mosaic--project .shot--mobile img{border-radius:28px;border-width:6px}
.shot--tablet img{border-radius:24px;border:10px solid var(--ink);background:#000;box-shadow:0 40px 80px -40px rgba(26,22,20,.5)}
.mosaic-foot{position:absolute;left:32px;bottom:24px;z-index:5;display:flex;flex-wrap:wrap;gap:8px}
.pill{display:inline-block;padding:6px 12px;border-radius:var(--r-pill);background:var(--bg);border:1px solid var(--line);font:400 12px/1.5 var(--font-mono);color:var(--ink)}
.mosaic-art{position:absolute;z-index:2;pointer-events:none}

/* ===== BANDEAU CHIFFRES ===== */
.stats{display:grid;grid-template-columns:repeat(4,1fr);margin-top:24px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.stat{padding:26px 24px;border-right:1px solid var(--line)}
.stat:first-child{padding-left:0}
.stat:last-child{padding-right:0;border-right:0}
.stat b{display:block;font:700 var(--fs-stat)/1 var(--font-display);letter-spacing:-.03em}
.stat span{display:block;margin-top:8px;font-size:14px;color:var(--muted)}

/* ===== SECTIONS ===== */
.section{padding-top:var(--section)}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:40px}
.section-head h2{font-size:var(--fs-h2);line-height:1;letter-spacing:-.035em}
.section-head h2.h2-sub{font-size:var(--fs-h2-sub)}
.section-intro{display:flex;flex-direction:column;gap:16px}
.section-intro p{font-size:18px;line-height:1.5;color:var(--muted);max-width:640px}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grid-2{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;margin-top:40px}
.grid-6{display:grid;grid-template-columns:repeat(6,1fr);gap:16px}
.grid-2 > *,.grid-3 > *,.grid-5 > *,.grid-6 > *{min-width:0}

/* ===== CARTES ===== */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-xl)}
.card-service{padding:32px;display:flex;flex-direction:column;gap:18px;min-height:340px}
.card-service .label{font-size:12px}
.card-service p{color:var(--muted)}
.notice{display:flex;align-items:center;gap:14px;margin-top:20px;padding:20px 28px;border-radius:var(--r-lg);background:var(--surface);border:1px solid var(--line)}
.badge-ink{flex:none;padding:6px 10px;border-radius:8px;background:var(--ink);color:var(--bg);font:400 12px/1.5 var(--font-mono)}

.card-project{display:flex;flex-direction:column;overflow:hidden;text-decoration:none;color:inherit;transition:transform var(--ease-motion),border-color var(--ease-fast),box-shadow var(--ease-motion)}
.card-project:hover{transform:translateY(-3px);border-color:var(--ink);box-shadow:var(--shadow-hover)}
.card-shots{position:relative;height:300px;padding:36px 36px 0;overflow:hidden;background:var(--mosaic-bg,var(--shot-bg))}
.card-shots img{transition:transform var(--ease-motion)}
.card-shots--desktop img{width:100%;border-radius:12px 12px 0 0;box-shadow:var(--shadow-card)}
.card-shots--mobile{display:flex;justify-content:center;gap:20px}
.card-shots--mobile img{width:170px;border:6px solid var(--ink);border-bottom:0;border-radius:24px 24px 0 0;box-shadow:var(--shadow-card)}
.card-shots--mobile img + img{margin-top:36px;box-shadow:none}
.card-project:hover .card-shots img{transform:translateY(-4px)}
.card-body{display:flex;flex-direction:column;gap:12px;padding:28px 32px 32px}
.card-meta{display:flex;justify-content:space-between;gap:12px;font:400 12px/1.5 var(--font-mono);color:var(--muted)}
.card-body h3{font-size:30px;letter-spacing:-.03em;line-height:1.05}
.card-body p{color:var(--muted)}
.card-body .link{margin-top:6px}

.card-compact{display:flex;flex-direction:column;gap:6px;padding:22px 24px;border:1px solid var(--line);border-radius:var(--r-lg);text-decoration:none;color:inherit;transition:transform var(--ease-motion),border-color var(--ease-fast)}
a.card-compact:hover{transform:translateY(-3px);border-color:var(--ink)}
.card-compact-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 10px}
.card-compact-title{display:flex;align-items:center;gap:10px;min-width:0;font:700 20px/1.1 var(--font-display);letter-spacing:-.02em}
.icon{flex:none;width:32px;height:32px;border-radius:var(--r-xs);object-fit:contain}
.icon--framed{background:#fff;border:1px solid var(--line);padding:4px}
.card-compact-date{font:400 11px/1.5 var(--font-mono);color:var(--muted);white-space:nowrap}
.card-compact p{font-size:14px;line-height:1.5;color:var(--muted)}

/* ===== MÉTHODE (fond encre) ===== */
.method{display:grid;grid-template-columns:1fr 1.4fr;gap:56px;margin-top:var(--section);padding:56px;border-radius:var(--r-xl);background:var(--ink);color:var(--bg)}
.method-intro{display:flex;flex-direction:column;gap:20px}
.method-intro .kicker{color:var(--accent-light)}
.method-intro h2{font-size:var(--fs-h2);line-height:1;letter-spacing:-.035em}
.method-intro p{color:var(--cream-70)}
.steps{display:flex;flex-direction:column}
.step{display:grid;grid-template-columns:120px 1fr;gap:24px;padding:18px 0;border-top:1px solid var(--cream-15)}
.step:last-child{border-bottom:1px solid var(--cream-15)}
.step .kicker{color:var(--accent-light)}
.step span{color:var(--cream-70)}

/* ===== TÉMOIGNAGES ===== */
.quote{display:flex;flex-direction:column;gap:22px;padding:36px}
.quote p{font:500 var(--fs-quote)/1.3 var(--font-display);letter-spacing:-.015em}
.quote--project p{font-size:var(--fs-quote-project)}
.quote-by{display:flex;align-items:center;gap:12px}
.quote-by img{width:36px;height:36px;border-radius:10px}
.quote-by b{display:block;font-size:15px}
.quote-by .mono{font-size:12px;color:var(--muted)}
.quote-more{margin-top:20px;font-size:15px;color:var(--muted)}

/* ===== LOGOS ===== */
.logos{margin-top:28px}
.logo-tile{display:grid;place-items:center;height:88px;padding:18px;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}
.logo-tile img{max-height:52px;width:auto;filter:grayscale(1);opacity:.7;transition:filter var(--ease-fast),opacity var(--ease-fast)}
.logo-tile:hover img{filter:none;opacity:1}

/* ===== PARCOURS ===== */
.timeline-wrap{display:grid;grid-template-columns:1fr 2fr;gap:56px}
.timeline-intro{display:flex;flex-direction:column;gap:20px}
.timeline-intro h2{font-size:var(--fs-h2);line-height:1;letter-spacing:-.035em}
.timeline-intro p{color:var(--muted)}
.timeline{display:flex;flex-direction:column}
.tl{display:grid;grid-template-columns:130px 1fr;gap:24px;padding:20px 0;border-top:1px solid var(--line)}
.tl:last-child{border-bottom:1px solid var(--line)}
.tl .label{padding-top:2px}
.tl span{color:var(--muted)}

/* ===== SEUL OU EN ÉQUIPE ===== */
.door{display:flex;flex-direction:column;gap:16px;min-height:280px;padding:40px;border-radius:var(--r-xl)}
.door h3{font-size:34px;line-height:1.05;letter-spacing:-.03em}
.door p{flex:1}
.door--accent{background:var(--accent);color:#fff}
.door--accent .kicker{color:#fff}
.door--accent p{color:#fff}
.door--accent .btn{align-self:flex-start}
.door--surface{background:var(--surface);border:1px solid var(--line)}
.door--surface p{color:var(--muted)}
.door-brand{display:flex;align-items:center;gap:10px}
.door-brand img{width:40px;height:40px;border-radius:10px}
.door-brand .kicker{font-size:12px}

/* ===== CONTACT ===== */
.contact{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:end;margin-top:var(--section);padding-top:56px;border-top:1px solid var(--ink)}
.contact-copy{display:flex;flex-direction:column;gap:24px}
.contact-copy h2{font-size:var(--fs-h2-contact);font-weight:800;line-height:.98;letter-spacing:-.04em}
.facts{display:flex;flex-direction:column;gap:12px;font-size:15px}
.facts div{display:flex;justify-content:space-between;gap:16px;padding-bottom:10px;border-bottom:1px solid var(--line)}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:600;text-align:right}
.facts .mono{font-weight:400}

/* ===== FOOTER ===== */
.site-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:64px;padding-top:28px;padding-bottom:40px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.site-footer nav{display:flex;flex-wrap:wrap;gap:8px 24px}
.site-footer a{text-decoration:none}
.site-footer a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:4px}
.site-footer .mono{font-size:12px}

/* ===== PAGE PROJET ===== */
.project-hero{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:end;padding-top:64px}
.project-title{display:flex;flex-direction:column;gap:20px}
.project-kind{display:flex;align-items:center;gap:12px}
.project-kind img{width:40px;height:40px;border-radius:12px;object-fit:contain}
.project-kind img.icon--framed{padding:5px}
.project-title h1{font-size:var(--fs-h1-project);font-weight:800;line-height:.98;letter-spacing:-.04em}
.project-title .lead{font-size:var(--fs-lead-project);line-height:1.4;max-width:none}
.stores{display:flex;gap:12px;align-items:center;margin-top:6px}
.stores a{display:block}
.stores img{height:36px;width:auto;opacity:.85;transition:opacity var(--ease-fast)}
.stores a:hover img{opacity:1}
.meta{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line)}
.meta div{padding:16px 0;border-bottom:1px solid var(--line)}
.meta dt{font:400 12px/1.5 var(--font-mono);color:var(--muted)}
.meta dd{margin:4px 0 0;font-weight:600}
.meta dd.mono{margin-top:6px;font-weight:400;font-size:14px}
.psec{padding-top:var(--section-project)}
.section-head--tight{margin-bottom:20px}
.shot--dark img{background:var(--ink)}
.phone--ink{background:var(--ink)}
.prr{display:grid;grid-template-columns:repeat(3,1fr);gap:56px;padding-top:var(--section-project)}
.prr > div{display:flex;flex-direction:column;gap:14px}
.prr p{font-size:17px}
.placeholder{font:400 13px/1.5 var(--font-mono);color:var(--muted)}
.gallery{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:start;padding-top:var(--section-project)}
.gallery--3{grid-template-columns:repeat(3,1fr)}
.gallery--wide{grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr)}
.frame{display:flex;flex-direction:column;padding:20px;min-width:0}
.browser{border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.browser-bar{display:flex;align-items:center;gap:6px;height:36px;padding:0 14px;border-bottom:1px solid var(--line);background:var(--bg)}
.browser-bar i{width:10px;height:10px;border-radius:50%;background:var(--line)}
.browser img{width:100%;height:339px;object-fit:cover;object-position:top}
.browser--short img{height:240px}
.phones{display:flex;justify-content:center;align-items:flex-start;gap:28px;height:378px;padding-top:36px;border-radius:var(--r-md);overflow:hidden;background:var(--mosaic-bg,var(--shot-bg))}
.phones--tall{height:420px;padding-top:32px;gap:24px}
.phone{flex:none;width:190px;border-radius:26px;border:6px solid var(--ink);background:#fff;overflow:hidden}
.phone img{width:100%;height:var(--h,auto);object-fit:cover;object-position:top}
.phone--dark{background:#000}
.phone--thick{border-width:7px;border-radius:30px}
.tablet{width:100%;border-radius:18px;border:8px solid var(--ink);background:#000}
.strip{height:200px;overflow-x:auto;overflow-y:hidden;border-radius:var(--r-md)}
.strip img{height:200px;width:auto;max-width:none}
.caption{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:18px 4px 0}
.caption b{font-size:15px}
.caption .mono{font-size:12px;color:var(--muted);white-space:nowrap}
.two-col{display:grid;grid-template-columns:1fr 1fr;gap:56px;padding-top:var(--section-project)}
.two-col--cards{gap:20px}
.list-block{display:flex;flex-direction:column;gap:14px}
.rules{display:flex;flex-direction:column}
.rules li{padding:14px 0;border-top:1px solid var(--line)}
.rules li:last-child{border-bottom:1px solid var(--line)}
.rules--compact li{padding:12px 0;font-size:15px;line-height:1.5}
.kv{display:flex;flex-direction:column}
.kv div{display:grid;grid-template-columns:120px 1fr;gap:16px;padding:12px 0;border-top:1px solid var(--line);font-size:15px;line-height:1.5}
.kv div:last-child{border-bottom:1px solid var(--line)}
.kv dt{padding-top:3px;font:400 12px/1.5 var(--font-mono);color:var(--muted)}
.kv dd{margin:0}
.kv--dates div{grid-template-columns:110px 1fr;padding:14px 0}
.kv--dates dt{font-size:13px;color:var(--accent);padding-top:0}
.footnote{font:400 12px/1.5 var(--font-mono);color:var(--muted)}
.quote--project{align-self:start}
.quote--project .quote-by{display:block}
.cta-final{display:flex;justify-content:space-between;align-items:center;gap:40px;margin-top:var(--section-project);padding-top:56px;padding-bottom:64px;border-top:1px solid var(--ink)}
.cta-final h2{max-width:640px;font-size:var(--fs-h2);font-weight:800;line-height:1;letter-spacing:-.04em}
.cta-final .cta-row{flex:none}
.process{display:grid;grid-template-columns:repeat(5,1fr);gap:24px;padding:28px 32px;margin-bottom:20px}
.process div{display:flex;flex-direction:column;gap:8px}
.process .label{font-size:12px}
.process b{line-height:1.3}
.process p{font-size:14px;line-height:1.5;color:var(--muted)}
.section-copy{margin:-16px 0 0;max-width:720px;font-size:17px;color:var(--muted)}
.feature{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border-radius:var(--r-lg)}
.feature-title{display:flex;align-items:center;gap:10px;font:700 19px/1.2 var(--font-display);letter-spacing:-.02em}
.dot{width:10px;height:10px;border-radius:50%;background:var(--dot);flex:none}
.feature p{font-size:15px;line-height:1.5;color:var(--muted)}
.stack{display:flex;flex-direction:column;gap:14px}

/* ===== FILOU (identité) ===== */
.mosaic--filou{background:linear-gradient(170deg,#FCEDCB,#F5D089);height:760px}
.mosaic--filou .shot--tablet{left:50%;transform:translateX(-50%)}
.mosaic--filou .mosaic-art{left:32px;bottom:20px;width:220px}
.mosaic--filou .mosaic-foot{left:auto;right:32px}
.bg-filou-day{background:linear-gradient(170deg,#FCEDCB,#F5D089)}
.bg-filou-sky{background:linear-gradient(170deg,#E7F4FC,#CDE8F7)}
.bg-filou-night{background:linear-gradient(170deg,#23284E,#12152B)}
.brand-block{display:grid;grid-template-columns:1fr 1.2fr;gap:56px;align-items:center;margin-top:var(--section-project);padding:56px;border-radius:var(--r-xl);background:#3A3F7A;color:#FFF8EE}
.brand-block .kicker{color:var(--accent-light)}
.brand-copy{display:flex;flex-direction:column;gap:24px}
.brand-copy p{color:rgba(255,248,238,.8)}
.brand-copy .wordmark{width:200px}
.swatches{display:flex;flex-wrap:wrap;gap:8px}
.swatch{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:var(--r-pill);background:rgba(255,248,238,.08);font:400 11px/1.5 var(--font-mono)}
.swatch i{width:18px;height:18px;border-radius:50%;background:var(--dot);border:1px solid rgba(255,248,238,.3)}
.brand-visuals{display:flex;flex-direction:column;gap:14px}
.brand-visuals img{width:100%;border-radius:var(--r-lg)}
.brand-visuals img + img{border:1px solid rgba(255,248,238,.15)}
.night-card{display:flex;align-items:center;gap:20px;padding:32px;border-radius:var(--r-xl);color:#FFF8EE}
.night-card img{width:96px;flex:none}
.night-card div{display:flex;flex-direction:column;gap:6px}
.night-card strong{font:700 20px/1.2 var(--font-display);letter-spacing:-.02em}
.night-card span{font-size:15px;line-height:1.5;color:rgba(255,248,238,.8)}
.night-card .mono{font-size:12px;color:var(--accent-light)}
.card-text{display:flex;flex-direction:column;gap:14px;padding:32px}
.card-text p{font-size:15px;line-height:1.6;color:var(--muted)}

/* ===== MENTIONS LÉGALES ===== */
.prose{max-width:720px;padding-top:64px;display:flex;flex-direction:column;gap:24px}
.prose h1{font-size:var(--fs-h1-project);font-weight:800;line-height:.98;letter-spacing:-.04em}
.prose h2{font-size:var(--fs-h3);line-height:1.05;letter-spacing:-.03em;margin-top:16px}
.prose p{font-size:17px}

/* ===== TABLETTE (≤ 1024) ===== */
@media (max-width:1023.98px){
.grid-3,.grid-6,.gallery--3,.prr{grid-template-columns:repeat(2,1fr)}
.grid-5{grid-template-columns:repeat(3,1fr)}
.card-service{min-height:0}
.hero{grid-template-columns:1fr;gap:40px}
.mosaic--hero{height:420px}
.method{grid-template-columns:1fr;gap:40px;padding:40px}
.timeline-wrap,.contact,.brand-block{grid-template-columns:1fr;gap:40px}
.project-hero{grid-template-columns:1fr;gap:32px;align-items:start}
.cta-final{flex-direction:column;align-items:flex-start}
.process{grid-template-columns:repeat(3,1fr)}
.gallery--wide{grid-template-columns:1fr}
.nav-links{gap:20px}
}

/* ===== MOBILE (< 720) ===== */
@media (max-width:719.98px){
[id]{scroll-margin-top:72px}
.nav{padding-top:16px;padding-bottom:16px;gap:12px}
.brand{gap:10px;font-size:17px}
.portrait--nav{width:32px;height:32px}
.nav-links,.nav .btn--nav{display:none}
.burger{display:flex}
.nav-back{font-size:14px}
.hero{gap:20px;padding-top:36px;padding-bottom:0}
.hero-copy{gap:20px}
.hero-id{display:contents}
.hero-id .portrait--hero{display:none}
.hero-id .mono{font-size:12px}
.lead{max-width:none}
.cta-row{flex-direction:column;align-items:stretch}
.cta-row .btn{width:100%}
.mosaic--hero{height:300px;margin-top:12px}
.mosaic--project{height:360px;margin-top:28px;border-radius:24px}
.shot{left:var(--ml,var(--l,auto));top:var(--mt,var(--t,auto));right:var(--mrt,var(--rt,auto));bottom:var(--mb,var(--b,auto));width:var(--mw,var(--w));transform:rotate(var(--mr,var(--r,0deg)))}
.shot img{height:var(--mh,var(--h,auto))}
.shot--no-mobile{display:none}
.shot--desktop img,.mosaic--project .shot--desktop img{border-radius:10px}
.shot--mobile img{border-radius:18px;border-width:4px}
.mosaic--project .shot--mobile img{border-radius:20px;border-width:5px}
.mosaic-foot{left:16px;bottom:16px}
.pill{padding:5px 10px;font-size:11px}
.stats{grid-template-columns:1fr 1fr;border-bottom:0}
.stat{padding:18px 16px;border-bottom:1px solid var(--line);border-right:0}
.stat:nth-child(odd){padding-left:0;border-right:1px solid var(--line)}
.stat:nth-child(even){padding-right:0}
.stat span{margin-top:6px;font-size:13px}
.section-head{flex-direction:column-reverse;align-items:flex-start;gap:10px;margin-bottom:20px}
.section-head .kicker{font-size:12px}
.section-intro{gap:20px}
.section-intro p{font-size:16px}
.grid-3,.grid-2,.grid-5,.gallery,.gallery--3,.two-col,.prr,.process,.brand-block{grid-template-columns:1fr}
.grid-5{gap:16px;margin-top:16px}
.grid-6{grid-template-columns:repeat(3,1fr);gap:10px}
.card-service{padding:24px;gap:12px}
.card-service .label{font-size:11px}
.card-service p{font-size:15px;line-height:1.5}
.notice{display:block;padding:18px 20px;font-size:15px;line-height:1.5;margin-top:16px}
.notice .badge-ink{display:inline-block;margin-right:8px;padding:4px 8px;border-radius:6px;font-size:11px}
.card-shots{height:220px;padding:0}
.card-shots img{position:absolute}
.card-shots--desktop img{left:24px;top:28px;width:110%;border-radius:10px;box-shadow:var(--shadow-desktop);transform:rotate(-2deg)}
.card-shots--mobile{display:block}
.card-shots--mobile img{width:120px;border:4px solid var(--ink);border-radius:20px;box-shadow:var(--shadow-mobile);left:60px;top:24px;transform:rotate(-5deg)}
.card-shots--mobile img + img{left:auto;right:60px;top:48px;margin-top:0;transform:rotate(5deg);box-shadow:var(--shadow-mobile)}
.card-project:hover .card-shots img{transform:rotate(0deg) translateY(-4px)}
.card-body{padding:22px 22px 24px;gap:10px}
.card-meta{font-size:11px}
.card-body h3{font-size:26px}
.card-body p{font-size:15px;line-height:1.5}
.card-compact{padding:18px 20px}
.card-compact-title{font-size:18px}
.icon{width:28px;height:28px;border-radius:8px}
.icon--framed{padding:3px}
.method{gap:24px;padding:32px 24px;margin-top:64px}
.method-intro{gap:12px}
.method-intro .kicker{font-size:12px}
.method-intro p{font-size:15px;line-height:1.5}
.step{grid-template-columns:90px 1fr;gap:16px;padding:14px 0;font-size:15px}
.step .kicker{font-size:12px}
.step div span{display:none}
.quote{padding:24px;gap:18px}
.quote-by img{width:32px;height:32px;border-radius:9px}
.quote-by b{font-size:14px}
.quote-by .mono{font-size:11px}
.quote-more{font-size:14px}
.logos{margin-top:20px}
.logo-tile{height:64px;padding:12px;border-radius:var(--r-md)}
.logo-tile img{max-height:40px}
.timeline-wrap{gap:20px}
.timeline-intro{gap:10px}
.timeline-intro p{font-size:14px}
.tl{grid-template-columns:1fr;gap:4px;padding:14px 0;font-size:15px;line-height:1.5}
.tl .label{font-size:12px}
.door{min-height:0;padding:28px 24px;gap:12px}
.door h3{font-size:28px}
.door p{font-size:15px;line-height:1.5}
.door--accent .btn{align-self:stretch;margin-top:6px}
.door-brand img{width:36px;height:36px;border-radius:9px}
.contact{gap:20px;margin-top:64px;padding-top:36px}
.contact-copy{gap:20px}
.facts{margin-top:8px;gap:10px;font-size:14px}
.site-footer{flex-direction:column;align-items:flex-start;gap:12px;margin-top:40px;padding-top:24px;padding-bottom:32px;font-size:13px}
.site-footer nav{gap:8px 18px}
.site-footer .mono{font-size:11px}
.project-hero{gap:16px;padding-top:32px}
.project-title{gap:16px}
.project-kind img{width:36px;height:36px;border-radius:10px}
.project-kind .kicker{font-size:12px;white-space:normal}
.meta{grid-template-columns:1fr}
.meta div{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0}
.meta dd{margin:0;font-size:15px;text-align:right}
.meta dd.mono{font-size:13px}
.prr{gap:32px}
.prr > div{gap:10px}
.prr .label{font-size:12px}
.prr p{font-size:16px}
.gallery{gap:16px}
.frame{padding:14px;border-radius:24px}
.browser{border-radius:var(--r-sm)}
.browser-bar{height:30px;padding:0 12px;gap:5px}
.browser-bar i{width:8px;height:8px}
.browser img,.browser--short img{height:200px}
.phones{height:300px;padding-top:28px;gap:20px;border-radius:var(--r-sm)}
.phones--tall{height:320px}
.phone{width:150px;border-radius:22px;border-width:5px}
.caption{padding:14px 2px 0;gap:4px 10px;flex-wrap:wrap}
.caption b{font-size:14px}
.caption .mono{font-size:11px;white-space:normal}
.section-head .kicker,.card-compact-date{white-space:normal}
.two-col{gap:40px}
.list-block{gap:12px}
.rules li{padding:12px 0;font-size:15px}
.kv div{grid-template-columns:100px 1fr;gap:12px}
.quote--project{margin-top:0}
.cta-final{gap:20px;margin-top:56px;padding-top:32px;padding-bottom:40px}
.cta-final h2{font-size:34px}
.cta-final .cta-row{width:100%}
.process{padding:24px 20px;gap:20px}
.mosaic--filou{height:420px}
.mosaic--filou .shot--tablet{width:140%;top:40px}
.mosaic--filou .mosaic-art{width:90px;left:16px;bottom:12px}
.mosaic--filou .mosaic-foot{right:16px}
.brand-block{padding:32px 24px;gap:32px}
.night-card{flex-direction:column;align-items:flex-start;padding:24px}
.card-text{padding:24px}
.strip{height:160px}
.strip img{height:160px}
}

/* ===== MOUVEMENT RÉDUIT ===== */
@media (prefers-reduced-motion:reduce){
html{scroll-behavior:auto}
*,*::before,*::after{transition-duration:0s !important}
.btn:hover,.btn:active,.card-project:hover,a.card-compact:hover,.arrow,.card-project:hover .card-shots img{transform:none}
.portrait--hero:hover{transform:rotate(var(--tilt,var(--tilt-rest)))}
.card-project:hover .card-shots img{transform:none}
}
