*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:#111;font-family:Arial,sans-serif}body.dialog-open{overflow:hidden}.cover{height:100svh;position:relative;display:grid;place-items:center}.cover-stage,.desktop-grid{width:min(100vw,177.7778vh);aspect-ratio:16/9;position:relative;overflow:hidden}.cover-stage iframe,.desktop-grid iframe{width:1920px;height:1080px;border:0;position:absolute;top:0;left:0;transform-origin:top left;pointer-events:none}.discover{position:absolute;bottom:4vh;left:50%;transform:translateX(-50%);text-decoration:none;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#333;white-space:nowrap}.discover span{margin-left:8px}.work{min-height:100svh;display:grid;place-items:center}.desktop-grid{max-width:1920px}.grid-links{position:absolute;inset:0}.grid-links button{position:absolute;background:transparent;border:0;cursor:pointer;outline-offset:3px}.grid-links button:focus-visible{outline:3px solid #e5252a}.grid-links button:hover{box-shadow:inset 0 0 0 3px #111}.mobile-work{display:none}footer{border-top:1px solid #ddd;display:flex;justify-content:space-between;gap:18px;padding:30px 6vw;font-size:12px;font-weight:bold}footer a{color:inherit;text-decoration:none}dialog{width:min(96vw,1800px);max-width:none;height:min(94svh,1050px);max-height:none;padding:0;border:1px solid #444;background:#050505;color:#f4f4f4;box-shadow:0 15px 80px #0008}dialog::backdrop{background:#000b;backdrop-filter:blur(5px)}.dialog-shell{height:100%;display:flex;flex-direction:column}.modal-controls{height:64px;display:flex;justify-content:flex-end;gap:8px;align-items:center;padding:0 20px}.modal-controls button,.media-controls button{color:#fff;background:transparent;border:0;cursor:pointer;font:300 33px/1 Arial;min-width:44px;min-height:44px}.modal-controls button:hover,.modal-controls button:focus-visible,.media-controls button:focus-visible{background:#333;outline:2px solid #fff}.dialog-content{display:grid;grid-template-columns:minmax(0,3fr) minmax(280px,1fr);min-height:0;flex:1;padding:0 28px 28px;gap:28px}.media{min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;position:relative;background:#080808}.media iframe{border:0;width:100%;aspect-ratio:16/9;max-height:100%}.media img{display:block;max-width:100%;max-height:100%;object-fit:contain}.media-controls{position:absolute;bottom:10px;right:10px;background:#111c;display:flex;align-items:center;gap:8px;padding:2px 8px}.media-controls span{font-size:13px}.details{overflow-y:auto;border-left:1px solid #444;padding:8px 12px 20px 28px}.project-number,.media-label{color:#999;font-size:12px;letter-spacing:.12em;text-transform:uppercase}.details h2{font-size:clamp(24px,2.3vw,38px);line-height:1.1;text-transform:uppercase;margin:18px 0 32px}.details p:not(.project-number):not(.media-label){font-family:Baskerville,Georgia,serif;font-size:17px;line-height:1.55;color:#ddd}.media-label{margin-top:30px}
@media(max-width:700px){.cover-stage{width:100vw}.discover{bottom:8vh}.work{display:block;min-height:0;padding:48px 18px 72px}.desktop-grid{display:none}.mobile-work{display:block}.mobile-work header{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:12px;margin-bottom:35px}.mobile-work header strong{font-size:17px}.mobile-work header span{font-size:9px;white-space:nowrap}.mobile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 12px}.mobile-grid button{border:0;background:none;text-align:left;padding:0;color:#111;cursor:pointer}.mobile-grid img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}.mobile-grid span{display:block;font-size:10px;font-weight:bold;text-transform:uppercase;margin-top:7px}.mobile-grid button:focus-visible{outline:3px solid #111;outline-offset:3px}footer{flex-wrap:wrap}dialog{width:100%;height:100svh;max-height:100svh;border:0}.modal-controls{flex:none}.dialog-content{display:block;overflow-y:auto;padding:0 18px 36px}.media{min-height:0;aspect-ratio:16/10}.media img{max-height:100%;width:100%}.details{border-left:0;border-top:1px solid #444;margin-top:22px;padding:20px 0}.details h2{margin:12px 0 22px}.details p:not(.project-number):not(.media-label){font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Accueil compact : le début de la grille reste visible sous la couverture. */
.cover{height:78svh;min-height:440px}
.cover-contact{position:absolute;top:clamp(22px,4vh,42px);left:clamp(18px,4vw,64px);z-index:1;display:flex;gap:20px;align-items:center;font-size:11px;font-weight:bold;letter-spacing:.04em}
.cover-contact a,.cover-contact span{color:#111;text-decoration:none;white-space:nowrap}
.cover-contact a:hover{text-decoration:underline;text-underline-offset:4px}
.cover-contact a:focus-visible{outline:2px solid #111;outline-offset:4px}
.cover-contact span{color:#777}
.discover{bottom:clamp(14px,3vh,28px)}
.work{min-height:0;display:block}
.desktop-grid{margin:0 auto}
.desktop-grid>picture,.desktop-grid>picture img{display:block;width:100%;height:100%;object-fit:contain}
@media(max-width:700px){.cover{height:76svh;min-height:400px}.cover-contact{top:24px;left:18px;gap:15px;font-size:10px}.discover{bottom:20px}.work{padding-top:26px}}

.grid-links button:hover{box-shadow:none;outline:3px solid #111;outline-offset:4px}
.grid-links button:focus-visible{outline:3px solid #e5252a;outline-offset:4px}

@font-face{font-family:'Delorme Avant Garde';src:local('ITC Avant Garde Gothic Pro Bold'),local('ITC Avant Garde Pro Bold'),local('ITCAvantGardePro-Bold');font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:'Delorme Avant Garde';src:local('ITC Avant Garde Gothic Pro Medium'),local('ITC Avant Garde Pro Medium'),local('ITCAvantGardePro-Md');font-style:normal;font-weight:400 600;font-display:swap}
h1,h2,h3,h4,h5,h6,a,button,.mobile-work header,.mobile-grid span,.project-number,.media-label,footer{font-family:'itc-avant-garde-gothic-pro','Delorme Avant Garde','Century Gothic',Arial,sans-serif;font-weight:500}
h1,h2,h3,h4,h5,h6,.mobile-work header strong,.mobile-grid span{font-weight:700}
/* Les contrôles du carrousel sont sous le média pour ne pas masquer YouTube. */
.media{display:flex;flex-direction:column;justify-content:center}
.media-frame{flex:1;min-height:0;width:100%;display:flex;justify-content:center;align-items:center;overflow:hidden}
.media-frame img{max-height:100%;max-width:100%;width:auto;object-fit:contain}
.media-frame iframe{max-width:100%;width:100%;aspect-ratio:16/9}
.media-controls{position:static;flex:none;justify-content:center;background:none}
@media(max-width:700px){.media{aspect-ratio:auto}.media-frame{flex:none;aspect-ratio:4/3}.media-frame img{width:auto;height:auto;max-width:100%;max-height:100%}.media-frame iframe{width:100%}}
.media-label a{color:#fff;text-decoration:underline;text-underline-offset:3px}

/* Fiches projet en harmonie avec le fond clair du portfolio. */
dialog{background:#fff;color:#111;border-color:#ddd;box-shadow:0 15px 80px #0003}
dialog::backdrop{background:#0008}
.media{background:#fff}
.details{border-color:#ddd}
.details p:not(.project-number):not(.media-label){color:#242424}
.project-number,.media-label{color:#595959}
.media-label a{color:#111}
.modal-controls button,.media-controls button{color:#111}
.modal-controls button:hover,.media-controls button:hover{background:#eee}
.modal-controls button:focus-visible,.media-controls button:focus-visible{background:#eee;outline:2px solid #111}
@media(max-width:700px){.details{border-top-color:#ddd}}

/* Pages de projets et index accessibles aux moteurs de recherche. */
.project-index{border-top:1px solid #ddd;padding:55px 6vw;display:grid;grid-template-columns:1fr 1fr;gap:35px}.project-index h1{font-size:clamp(20px,2vw,30px);max-width:650px;margin:0 0 14px}.project-index p{line-height:1.6;margin:0}.project-index nav{display:flex;flex-wrap:wrap;align-content:start;gap:12px 22px}.project-index a,.project-page a{color:inherit;text-underline-offset:4px}.project-index nav a{font-size:13px}.project-page-header{display:flex;justify-content:space-between;padding:30px 5vw;font-size:12px}.project-page-content{display:grid;grid-template-columns:minmax(0,3fr) minmax(260px,1fr);gap:40px;padding:30px 5vw 80px}.project-page-media img{width:100%;height:auto;display:block}.project-page-video{aspect-ratio:16/9;margin-bottom:24px}.project-page-video iframe{width:100%;height:100%;border:0}.project-page-content article{border-left:1px solid #ddd;padding-left:28px}.project-page-content article h1{text-transform:uppercase;font-size:clamp(24px,2.3vw,38px)}.project-page-content article p:not(.project-number){font:17px/1.55 Baskerville,Georgia,serif}.project-page-content article a{display:inline-block;margin-top:20px;font-size:12px}@media(max-width:700px){.project-index,.project-page-content{grid-template-columns:1fr}.project-page-content{gap:25px}.project-page-content article{border-left:0;border-top:1px solid #ddd;padding:20px 0 0}}

/* La grille reprend les vignettes InDesign dans l’ordre défini pour le site. */
.desktop-grid{container-type:inline-size}.desktop-grid .grid-links::before{content:"";position:absolute;inset:14% 0 0;background:#fff}.desktop-grid .grid-links button{height:auto!important;display:block;padding:0;text-align:left;color:#111}.desktop-grid .grid-links button img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block}.desktop-grid .grid-links button span{display:block;margin-top:.25cqw;font-size:.94cqw;line-height:1.15;white-space:nowrap;text-transform:uppercase;font-weight:500}.desktop-grid .grid-links button:hover{outline:3px solid #111;outline-offset:4px}
