:root{--ania-blue:#173d64;--ania-orange:#f28c28;--training-blue:#4479b9;--photo-gray:#808080;--web-red:#24513f;--web-gold:#d6a84b;--web-ivory:#f3eadf;--acid:#d6a84b;--orange:#f28c28;--blue:#4479b9;--pink:#808080;--green:#173d64;--ink:#241d19;--paper:#f3eadb;--cream:#f8f1e6}
@media (max-width:800px),(max-height:520px){body:not([class*="theme-"]) .where strong{color:var(--web-red)}}
@media (max-width:800px),(max-height:520px){.web-gallery .al3x1s-site>a{width:100%;height:auto;aspect-ratio:1500/837}.web-gallery .al3x1s-site img{height:100%}}
header{background:rgba(243,234,219,.92)}
.d1{background:var(--training-blue);color:white}.d2{background:var(--photo-gray);color:white}.d3{background:var(--web-red);color:white}.d4{background:var(--ania-orange);color:var(--ania-blue)}.about{background:var(--training-blue)}.intro h1 .hero-ia{color:var(--ania-orange)}.where strong{color:var(--web-red)}.pointer{background:var(--web-gold)}.random:hover{background:#241d19}.manifesto-note{background:var(--web-gold)}
.portrait-card img,.about-inner>img{filter:none!important}
.intro h1{font-size:clamp(3.8rem,7.2vw,8.4rem);line-height:.79;letter-spacing:-.07em}.door b{font-size:clamp(1.55rem,2.35vw,2.9rem);line-height:.86;overflow-wrap:anywhere}.door span{font-size:11px;max-width:165px}
.r-formation .hero-frame,.r-formation .courses,.r-formation .books,.r-formation .call{background:var(--training-blue);color:var(--cream)}.r-formation .hero-frame h2 i{color:var(--cream)}.r-formation .text-frame,.r-formation .linkedin{background:var(--cream);color:var(--training-blue)}.r-formation .refs{background:#214d80;color:var(--cream)}.r-formation .courses section{border-color:var(--cream)}
.r-photo{background:#0d0d0d;color:white}.r-photo .gallery-head h2 span{color:var(--photo-gray)}.r-photo .photo-end{background:var(--photo-gray);color:#0d0d0d}.r-photo .gallery img,.r-photo .gallery figure:hover img{filter:grayscale(1)!important}.r-photo .gallery figcaption{color:white}
.r-web{background:var(--web-ivory)}.r-web .web-stage{background:var(--web-ivory);color:var(--web-red)}.r-web .web-stage h2 i{color:var(--web-red)}.r-web .word-cloud span{background:var(--web-red);color:var(--web-ivory)}.r-web .word-cloud span:nth-child(even){background:var(--web-ivory);color:var(--web-red)}.r-web .chaos{background:var(--web-red);color:var(--web-ivory)}.r-web .web-gallery figcaption{color:var(--web-red)}
.r-ania{background:var(--ania-blue);color:white}.r-ania .ania-stage h2 i{color:var(--ania-orange)}.r-ania .ania-cards{border-color:white;margin-top:8vh}.r-ania .ania-cards article{border-color:rgba(255,255,255,.55)}.r-ania .stats b{border-color:rgba(255,255,255,.55);color:var(--ania-orange)}.r-ania .stats small{color:white}.r-ania .ania-link{color:var(--ania-orange)}
.where strong{transition:color .25s}.theme-formation .where strong{color:var(--training-blue)}.theme-photo .where strong{color:var(--photo-gray)}.theme-web .where strong{color:var(--web-red)}.theme-ania .where strong{color:var(--ania-orange)}.theme-about .where strong{color:var(--training-blue)}
.about{overflow-y:auto}.about-inner{align-items:start;padding-bottom:10vh}.about-inner>img{position:sticky;top:12vh}.offwork{position:relative!important;display:block!important;right:auto!important;bottom:auto!important;width:auto!important;grid-column:2;background:#f3b451;color:var(--ink);padding:28px;transform:rotate(-1.2deg);box-shadow:8px 8px 0 var(--ink);margin:3vh 0 10vh;z-index:1}.offwork h3{font:500 11px var(--mono);margin-top:28px}.offwork h3:first-child{margin-top:0}.offwork p{font-size:15px;line-height:1.55}.offwork a{text-decoration:underline}.about.active+.offwork{display:none!important}
.r-web{overflow-x:auto;overflow-y:hidden}.web-stage{width:320vw;height:calc(100svh - 76px);min-height:0;padding:11vh 4vw;position:relative}.web-stage h2{font-size:8vw;width:85vw}.web-stage article{left:95vw;right:auto;top:24vh;width:32vw}.word-cloud span:nth-child(1){left:96vw;top:63vh}.word-cloud span:nth-child(2){left:118vw;top:73vh}.word-cloud span:nth-child(3){left:139vw;top:57vh}.word-cloud span:nth-child(4){left:109vw;top:84vh}.word-cloud span:nth-child(5){left:146vw;top:80vh}.chaos{left:96vw;top:83vh}.web-gallery{position:absolute;left:166vw;top:5vh;width:143vw;height:82vh;display:flex;align-items:center;gap:5vw}.web-gallery figure{margin:0;min-width:29vw;transition:transform .3s}.web-gallery figure:nth-child(even){transform:translateY(3vh) rotate(1deg)}.web-gallery figure:nth-child(odd){transform:translateY(-2vh) rotate(-1deg)}.web-gallery figure:hover{transform:translateY(0) rotate(0) scale(1.025);z-index:2}.web-gallery img{width:29vw;height:76vh;object-fit:contain;object-position:center;background:#fff;box-shadow:12px 14px 0 rgba(36,29,25,.22)}.web-gallery .al3x1s-site>a{position:relative;display:block;width:29vw;height:76vh;overflow:hidden}.web-gallery .al3x1s-site img{object-fit:cover}.al3x1s-overlay{position:absolute;inset:0;color:#ff6b00;display:flex;flex-direction:column;padding:2.5%;text-shadow:0 1px 8px rgba(0,0,0,.45)}.al3x1s-nav{display:flex;justify-content:space-between;align-items:center;font:300 clamp(5px,.42vw,9px) 'IBM Plex Mono',monospace}.al3x1s-nav b{font:300 clamp(12px,1vw,22px) 'Cormorant Garamond',serif;letter-spacing:.15em}.al3x1s-kicker{margin:auto auto .2em;font:300 clamp(7px,.65vw,13px) 'IBM Plex Mono',monospace}.al3x1s-overlay>strong{align-self:center;font:300 clamp(35px,4vw,78px) 'Cormorant Garamond',serif;line-height:.8;letter-spacing:.08em}.al3x1s-overlay>em{align-self:center;margin:.8em auto auto;font:300 clamp(6px,.55vw,11px) 'IBM Plex Mono',monospace;font-style:normal}.web-gallery figcaption{font:500 9px var(--mono);margin-top:10px}
.gallery img{display:block;background:#0d0d0d}.gallery figure:nth-child(1),.gallery figure:nth-child(2),.gallery figure:nth-child(3),.gallery figure:nth-child(4),.gallery figure:nth-child(5),.gallery figure:nth-child(6),.gallery figure:nth-child(7),.gallery figure:nth-child(8){min-height:280px}.gallery figure:nth-child(1) img,.gallery figure:nth-child(2) img,.gallery figure:nth-child(3) img{aspect-ratio:3/4}.gallery figure:nth-child(n+4) img{aspect-ratio:4/3}.gallery img{object-fit:contain}
.pub-archive{margin:4vh 5vw 12vh;padding:6vh 0 2vh;border-top:2px solid var(--ink);color:var(--cream)}.pub-archive-head{display:grid;grid-template-columns:18vw 1fr;gap:1.5rem;align-items:start;margin-bottom:5vh}.pub-archive-head span{font:600 11px var(--mono);letter-spacing:.08em}.pub-archive-head h2{font-size:clamp(48px,8vw,140px);line-height:.82;margin:0}.pub-archive-head p{grid-column:2;max-width:680px;font-size:18px;line-height:1.45;margin:0}.pub-gallery{display:grid;grid-template-columns:repeat(12,1fr);gap:5vh 2vw;align-items:start}.pub-gallery figure{margin:0;transition:transform .28s ease}.pub-gallery figure:nth-child(4n+1){grid-column:span 5;transform:rotate(-1deg)}.pub-gallery figure:nth-child(4n+2){grid-column:span 3;margin-top:8vh;transform:rotate(1.2deg)}.pub-gallery figure:nth-child(4n+3){grid-column:span 4;transform:rotate(-.4deg)}.pub-gallery figure:nth-child(4n){grid-column:span 4;margin-left:2vw;transform:rotate(.8deg)}.pub-gallery figure:hover{transform:rotate(0) scale(1.025);z-index:2}.pub-gallery img{display:block;width:100%;max-height:78vh;object-fit:contain;background:#f7f2e9;box-shadow:10px 12px 0 rgba(36,29,25,.25)}.pub-gallery figcaption{font:600 10px var(--mono);letter-spacing:.08em;margin-top:12px;text-transform:uppercase}
@media (max-width:800px),(max-height:520px){.where strong{color:#cc7350}.about-inner>img{position:relative;top:auto}.offwork{grid-column:1}.r-web{overflow-y:auto;overflow-x:hidden}.web-stage{width:100%;height:auto;min-height:2100px}.web-stage h2{font-size:18vw;width:auto}.web-stage article{position:relative;left:auto;top:auto;width:88%;margin:13vh 0 0 auto}.word-cloud span:nth-child(n){left:auto;top:auto}.chaos{left:5vw;top:125vh}.web-gallery{position:absolute;left:5vw;top:145vh;width:90vw;height:auto;display:grid;grid-template-columns:1fr 1fr;gap:8vh 4vw}.web-gallery figure{min-width:0!important;transform:none!important}.web-gallery img{width:100%;height:auto;box-shadow:7px 8px 0 rgba(36,29,25,.2)}.pub-archive{margin:4vh 5vw 14vh}.pub-archive-head{display:block}.pub-archive-head h2{margin:18px 0}.pub-archive-head p{font-size:16px}.pub-gallery{grid-template-columns:1fr 1fr;gap:6vh 4vw}.pub-gallery figure:nth-child(n){grid-column:span 1;margin:0;transform:none}.pub-gallery figure:nth-child(3n){grid-column:1/-1}.pub-gallery img{max-height:none;box-shadow:6px 7px 0 rgba(36,29,25,.25)}}

/* Fenêtre manifeste plus lisible */
.manifesto-note.open{left:18vw;width:min(620px,76vw);max-height:80vh;padding:26px;overflow-y:auto}
.manifesto-note.open b{font-size:11px}
.manifesto-note.open span{font-size:16px;line-height:1.55}

/* Portrait d’accueil au format Polaroid, sans recadrage vertical */
.portrait-card{width:22vw;min-width:280px;padding:12px 12px 46px;background:#fff}
.portrait-card img{height:auto;aspect-ratio:4/3;object-fit:cover;object-position:center center}
.portrait-card figcaption{padding-top:12px;font-size:10px}

/* Portrait LinkedIn rond dans Qui suis-je */
.about-inner>img{width:100%;height:auto;aspect-ratio:1;border:8px solid #fff;border-radius:50%;object-fit:cover;object-position:center}
.timeline .cv-title{color:var(--ania-orange);font-size:1.05em;line-height:1.6}
.offwork h3{color:#fff}

@media (max-width:800px),(max-height:520px){
  .manifesto-note.open{left:auto;width:88vw;max-height:none;padding:22px}
  .manifesto-note.open span{font-size:16px}
  .about-inner>img{max-width:560px;margin:0 auto}
}

.books .book-title{display:flex;align-items:baseline;gap:14px;flex-wrap:wrap}
.books .book-download{color:var(--ania-orange);font:600 9px var(--mono);letter-spacing:.06em;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;white-space:nowrap;transition:color .2s,background .2s}
.books .book-download:hover,.books .book-download:focus-visible{color:var(--ink);background:var(--ania-orange);outline:4px solid var(--ania-orange)}
.books .book-restricted{display:inline-block;margin-top:7px;font:600 10px var(--mono);font-style:normal;letter-spacing:.04em;color:var(--ania-orange);text-transform:uppercase}

/* Mosaïques compactes et équilibrées */
.r-photo .gallery{display:block;columns:3;column-gap:2vw;padding:4vh 5vw 12vh}
.r-photo .gallery figure:nth-child(n){display:inline-block;width:100%;min-height:0;margin:0 0 3.5vh;break-inside:avoid;transform:none}
.r-photo .gallery figure:nth-child(n) img{width:100%;height:auto;max-height:none;aspect-ratio:auto;object-fit:contain;background:#0d0d0d}

.pub-gallery{display:block;columns:4;column-gap:2vw}
.pub-gallery figure:nth-child(n){display:inline-block;width:100%;margin:0 0 3.5vh;break-inside:avoid;transform:none}
.pub-gallery figure:nth-child(n) img{width:100%;height:auto;max-height:none;object-fit:contain;background:#0d0d0d}

@media(max-width:1100px){.pub-gallery{columns:3}.r-photo .gallery{columns:2}}
@media (max-width:800px),(max-height:520px){
  .r-photo .gallery,.pub-gallery{display:block;columns:2;column-gap:4vw}
  .r-photo .gallery figure:nth-child(n),.pub-gallery figure:nth-child(n){display:inline-block;width:100%;margin:0 0 5vh!important;break-inside:avoid;transform:none!important}
  .r-photo .gallery figure:nth-child(n) img,.pub-gallery figure:nth-child(n) img{width:100%;height:auto;max-height:none}
}
@media(max-width:520px){.r-photo .gallery,.pub-gallery{columns:1}}

/* Lisibilité renforcée — microtextes x2, textes courants rééquilibrés */
.home-btn span,.where,header>a{font-size:18px;line-height:1.3}
.intro>p{font-size:18px;line-height:1.45}
.door small,.door i{font-size:16px;line-height:1.3}
.door span{font-size:18px;line-height:1.4;max-width:240px}
.about-btn{font-size:16px}
.hero-frame span,.label,.gallery-head>span,.web-stage>p,.ania-stage>span,.stats-lead{font-size:18px;line-height:1.4}
.text-frame p{font-size:24px;line-height:1.55}
.courses p{font-size:25px;line-height:1.45}
.courses i{font-size:18px;line-height:1.4}
.books figcaption b{font-size:29px;line-height:1.2}
.books figcaption span{font-size:20px;line-height:1.5}
.books .book-download{font-size:16px}
.books .book-restricted{font-size:17px}
.gallery-head p,.web-stage article,.intro-ania{font-size:26px;line-height:1.5}
.word-cloud span{font-size:18px}
.gallery figcaption,.web-gallery figcaption,.pub-gallery figcaption{font-size:16px;line-height:1.4}
.ania-cards b{font-size:2.6rem;line-height:1.08}
.ania-cards p{font-size:22px;line-height:1.55}
.stats small{font-size:17px}
.about-inner>div>span{font-size:17px;line-height:1.4}
.about-inner p{font-size:23px;line-height:1.55}
.timeline p{grid-template-columns:110px 1fr;font-size:23px;line-height:1.5;padding:24px 0}
.timeline b{font-size:18px}
.timeline .cv-title{font-size:27px;line-height:1.35}
.offwork h3{font-size:18px}
.offwork p{font-size:22px;line-height:1.55}
.pub-archive-head span{font-size:18px}
.pub-archive-head p{font-size:24px;line-height:1.5}

@media(max-width:700px){
  header>a{font-size:16px}
  .intro>p{font-size:15px}
  .door small,.door i{font-size:13px}
  .door span{font-size:16px;max-width:210px}
  .hero-frame span,.label,.gallery-head>span,.web-stage>p,.ania-stage>span,.stats-lead{font-size:15px}
  .text-frame p,.courses p,.gallery-head p,.web-stage article,.intro-ania{font-size:20px}
  .courses i{font-size:15px}
  .books figcaption b{font-size:25px}
  .books figcaption span{font-size:18px}
  .word-cloud span{font-size:16px}
  .ania-cards p{font-size:18px}
  .stats small{font-size:15px}
  .about-inner>div>span{font-size:15px}
  .about-inner p{font-size:19px}
  .timeline p{grid-template-columns:72px 1fr;font-size:18px;padding:20px 0}
  .timeline b{font-size:15px}
  .timeline .cv-title{font-size:21px}
  .offwork h3{font-size:16px}
  .offwork p{font-size:18px}
  .pub-archive-head span{font-size:15px}
  .pub-archive-head p{font-size:20px}
}

/* Accroche web et statut éditorial */
.r-web .web-stage h2{line-height:.86}
.r-web .web-stage h2 .seen-100{display:inline-block;margin-top:.14em;color:#d7262e}
.r-web .web-gallery figcaption{color:#d7262e}
.books .book-coming{display:block;margin:9px 0 5px;color:var(--ania-orange);font:700 17px/1.25 var(--mono);font-style:normal;letter-spacing:.045em}
@media(max-width:700px){.books .book-coming{font-size:16px}}
