:root{--ink:#000;--paper:#fff;--gold:#c9ad69;--header-height:130px;--edge:40px;--admin-offset:0px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arimo,Arial,sans-serif;font-size:14px;line-height:1.45}body.admin-bar{--admin-offset:32px}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}a:hover{color:#777}button,input,textarea,select{font:inherit}button{cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--gold);outline-offset:6px}h1,h2,h3{font-weight:600;margin:0 0 20px}h1{font-size:25px;line-height:1.4;color:#333}h2{font-size:24px;line-height:1.4}h3{font-size:20px;line-height:1.4}p{margin:0 0 20px}.screen-reader-text,.skip-link:not(:focus){position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed;top:10px;left:10px;z-index:100;background:#fff;color:#000;padding:12px}.site-header{position:relative;min-height:var(--header-height);display:flex;align-items:flex-start;padding:15px var(--edge);gap:45px}.brand{width:64px;flex:0 0 64px;position:relative;z-index:5}.brand img{width:64px;height:64px;object-fit:contain}.brand-light{display:none}.menu-toggle{width:46px;height:46px;background:none;border:0;padding:8px;color:inherit;position:absolute;right:40px;top:50px;z-index:6;display:flex;flex-direction:column;justify-content:center;gap:6px}.menu-toggle span{display:block;width:30px;height:2px;background:currentColor}.subnav{padding:22px 100px 10px 0;flex:1}.subnav ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:20px}.subnav li{margin:0}.subnav a{font-size:12px;line-height:1.45;text-transform:uppercase;display:block;padding:8px 0}.subnav [aria-current],.subnav .current-menu-item>a{font-weight:700}.menu-dialog{max-width:none;max-height:none;width:100%;height:100dvh;inset:0;margin:0;padding:100px 25px;border:0;background:#fff;color:#000;overflow:auto}.menu-dialog[open]{display:flex;align-items:center;justify-content:center}.menu-dialog::backdrop{background:#fff}.menu-dialog ul{list-style:none;margin:0;padding:0;text-align:center}.menu-dialog a{font-size:42px;font-weight:600;line-height:1.23;display:inline-block}.menu-dialog li ul a{font-size:20px}.menu-brand{position:absolute;top:35px;left:30px}.menu-close{position:absolute;right:40px;top:30px;border:0;background:none;font-size:42px;width:46px;height:46px;line-height:1}.menu-is-open{overflow:hidden}
.tdr-home .site-header{position:absolute;top:var(--admin-offset);left:0;width:100%;z-index:10;min-height:0;padding:45px;color:white}.tdr-home .brand{width:60px;flex-basis:60px}.tdr-home .brand img{width:60px;height:60px}.tdr-home .brand-dark{display:none}.tdr-home .brand-light{display:block}.tdr-home .menu-toggle{top:28px}.home-main{min-height:calc(100svh - var(--admin-offset))}.hero{position:relative;height:calc(100svh - var(--admin-offset));min-height:360px;background:#262622;overflow:hidden}.hero-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity 900ms ease,visibility 900ms;pointer-events:none}.hero-slide.is-active{opacity:1;visibility:visible;pointer-events:auto}.hero-image{width:100%;height:100%;object-fit:cover;object-position:center}.hero-slide:after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.3));pointer-events:none}.hero-caption{position:absolute;right:60px;bottom:28px;max-width:calc(100% - 120px);text-align:right;color:#fff;z-index:2;text-shadow:0 1px 10px #0005}.hero-caption:hover{color:white}.hero-caption h2{font-size:30px;font-weight:600;line-height:1.1;text-transform:uppercase;margin:0 0 12px}.hero-caption p{font-size:14px;line-height:1.45;text-transform:uppercase;margin:0}.slider-arrow{position:absolute;top:50%;transform:translateY(-50%);border:0;background:transparent;color:white;font-family:Arial,sans-serif;font-size:42px;font-weight:400;line-height:1;width:48px;height:60px;z-index:3}.previous{left:10px}.next{right:10px}.slider-pause{position:absolute;bottom:28px;left:40px;border:0;border-bottom:1px solid #fff6;background:transparent;color:#fff;font-size:11px;padding:5px 0;z-index:3}.empty-state{padding:200px 40px}.empty-state a{text-decoration:underline}
.projects-main{max-width:1100px;margin:40px auto 80px;padding:0 50px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:100px;row-gap:80px}.project-card{min-width:0}.project-card img,.image-placeholder{width:100%;aspect-ratio:4/5;object-fit:cover;background:#eee;transition:opacity .25s}.project-card a:hover img{opacity:.85}.card-caption{padding:18px 20px 0;text-align:center}.card-caption h2{font-size:12px;line-height:1.15;font-weight:600;text-transform:uppercase;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0 0 4px}.card-caption p{font-size:12px;line-height:1.45;color:#555;margin:0}.archive-title{font-size:20px;margin-bottom:35px}.pagination,.nav-links{display:flex;gap:16px;justify-content:center;margin-top:50px}.page-numbers.current{font-weight:700}.reference-main{max-width:none;margin:30px auto 80px;padding:0 40px}.project-intro{display:grid;grid-template-columns:minmax(0,400px) minmax(0,1fr);gap:80px;margin-bottom:60px}.project-cover{width:100%;aspect-ratio:1;object-fit:cover}.project-details{line-height:1.25}.project-details p{margin-bottom:4px}.project-details p:has(strong){margin-top:20px}.project-content{max-width:900px;margin:auto}.project-content img{margin-inline:auto}.project-tags{display:flex;flex-wrap:wrap;gap:15px;margin:40px 0;font-size:12px}.project-tags a{text-decoration:underline}.related{margin-top:65px}.related>h2{text-align:center;font-size:25px;margin-bottom:40px}.related .project-grid{gap:40px}.page-main{max-width:1180px;margin:30px auto 80px;padding:0 40px}.entry-content{overflow-wrap:anywhere}.entry-content a{text-decoration:underline;text-underline-offset:3px}.entry-content img{height:auto}.entry-content figure{margin:0 0 25px}.entry-content .aligncenter{margin-inline:auto}.entry-content .alignwide{max-width:100%}.entry-content .wp-block-gallery{display:flex;gap:20px;flex-wrap:wrap}.entry-content .wp-block-gallery figure{flex:1 1 280px}.entry-content .wp-block-columns{display:flex;gap:40px}.entry-content .wp-block-column{flex:1;min-width:0}.tdr-row{display:flex;flex-wrap:wrap;gap:40px;margin-bottom:40px}.tdr-column{flex:1 1 0;min-width:0}.tdr-module{margin-bottom:25px}.tdr-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.tdr-gallery img{width:100%;height:auto}.tdr-page-hero{width:100%;max-height:650px;object-fit:cover}.entry-content iframe{max-width:100%}.entry-content blockquote{border-left:2px solid var(--gold);margin-left:0;padding-left:25px}.image-placeholder{display:block}.wp-caption-text,figcaption{font-size:12px;color:#555}
@media(min-width:1500px){.projects-main{max-width:1300px}.reference-main{max-width:none}}
@media(max-width:1000px){.project-grid{gap:55px}.subnav{padding-right:70px}.subnav ul{gap:8px 16px}.project-intro{gap:45px}.site-header{gap:30px}.projects-main{padding:0 35px}.reference-main{padding:0 35px}}
@media(max-width:900px){.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:45px}.related .project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.project-intro{gap:35px}.hero-caption{right:35px}.tdr-row{gap:25px}}
@media(max-width:600px){:root{--header-height:110px;--edge:20px}body.admin-bar{--admin-offset:46px}.site-header{padding-top:20px;gap:20px;flex-wrap:wrap}.brand,.brand img{width:50px;height:50px;flex-basis:50px}.menu-toggle{right:16px;top:20px}.subnav{width:100%;flex-basis:100%;padding:0 0 12px;overflow-x:auto}.subnav ul{flex-wrap:nowrap;width:max-content;gap:18px}.subnav a{font-size:10px}.tdr-home .site-header{padding:25px}.tdr-home .brand,.tdr-home .brand img{width:50px;height:50px}.tdr-home .menu-toggle{top:17px;right:17px}.hero-caption{right:25px;bottom:35px;max-width:calc(100% - 50px)}.hero-caption h2{font-size:24px;line-height:1.15;margin-bottom:8px}.hero-caption p{font-size:12px}.slider-pause{left:25px;bottom:10px;font-size:10px}.previous{left:0}.next{right:0}.menu-dialog a{font-size:34px;line-height:1.5}.menu-close{right:17px;top:20px}.menu-brand{left:25px;top:25px}.projects-main,.reference-main,.page-main{margin-top:25px;padding:0 25px}.project-grid,.related .project-grid{grid-template-columns:1fr;gap:40px}.project-card img{aspect-ratio:4/5}.card-caption{padding:14px 0 0}.card-caption h2{font-size:9px;white-space:nowrap}.project-intro{grid-template-columns:1fr;gap:28px;margin-bottom:35px}h1{font-size:24px}.tdr-row,.entry-content .wp-block-columns{display:block}.tdr-column{margin-bottom:30px}.tdr-gallery{grid-template-columns:1fr}.related>h2{text-align:left}.hero{min-height:320px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}
.tdr-team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px}.tdr-team-card img{width:100%;aspect-ratio:4/5;object-fit:cover}.tdr-team-caption{text-align:center;padding-top:15px}.tdr-team-caption h2{font-size:16px}.tdr-team-caption p{margin-bottom:5px}.tdr-page-contact .page-main{max-width:850px;text-align:center;margin-top:-95px}.tdr-page-contact .entry-content>div:first-child img{width:512px;margin:auto}.tdr-page-contact .tdr-row{margin-bottom:30px}.tdr-page-contact .entry-content a[href^="tel:"]{white-space:nowrap}.tdr-page-atelier-tdr-architectes-valence-solaize-gigaro .tdr-gallery{display:flex;overflow:auto;scroll-snap-type:x mandatory}.tdr-page-atelier-tdr-architectes-valence-solaize-gigaro .tdr-gallery figure{flex:0 0 100%;scroll-snap-align:start}.tdr-page-atelier-tdr-architectes-valence-solaize-gigaro .tdr-gallery img{max-height:560px;object-fit:cover}.tdr-page-atelier-tdr-architectes-valence-solaize-gigaro .entry-content>.tdr-row:nth-child(2)>.tdr-column:first-child{flex:2}
@media(max-width:600px){.tdr-team-grid{grid-template-columns:1fr}.tdr-page-contact .page-main{margin-top:10px}.tdr-page-contact .tdr-column{margin-bottom:35px}}
/* Version 1.1 — alignement accueil, menu et grilles de catégories. */
.hero-caption{left:40px;right:auto;text-align:left}.slider-pause{left:auto;right:40px}
.menu-dialog[open],.menu-dialog[open]::backdrop{animation:tdr-menu-in 240ms ease-out both}
@keyframes tdr-menu-in{from{opacity:0}to{opacity:1}}
.menu-dialog nav[aria-label="Menu principal"] a{text-transform:uppercase}
.menu-dialog .menu-brand{position:fixed;left:var(--brand-left,40px);top:var(--brand-top,15px);width:var(--brand-width,64px);height:var(--brand-height,64px);line-height:1}
.menu-brand img{width:100%;height:100%;object-fit:contain}
.menu-dialog .menu-social{position:absolute;bottom:45px;left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:18px}
.menu-dialog .menu-social a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;color:#000;line-height:1}
.menu-social svg{width:21px;height:21px}.menu-social a:hover{opacity:.6}
.page-main.page-full-width{max-width:none;width:100%;padding-inline:40px}
.tdr-page-contact .page-main.page-full-width{max-width:none}.tdr-page-contact .page-full-width .entry-content{max-width:770px;margin-inline:auto}
.projects-main{max-width:none;padding-inline:clamp(40px,8vw,150px)}
@media(min-width:901px){
.projects-main>.project-grid{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:90px;grid-auto-rows:minmax(calc(100svh - 220px),auto)}
.projects-main>.project-grid .project-card img,.projects-main>.project-grid .image-placeholder{height:auto;aspect-ratio:4/5;object-fit:cover}
}
@media(max-width:600px){
.hero-caption{left:25px;right:auto}.slider-pause{left:auto;right:25px}
.menu-dialog .menu-social{bottom:28px}
.page-main.page-full-width,.projects-main{padding-inline:25px}
}
@media(max-height:500px){.menu-dialog{padding-block:95px}.menu-dialog nav[aria-label="Menu principal"] a{font-size:26px;line-height:1.3}.menu-dialog .menu-social{position:static;transform:none;justify-content:center;margin-top:25px}.menu-dialog[open]{display:block}.menu-dialog nav[aria-label="Menu principal"]{text-align:center}}
/* Header persistant et défilement sans barre visible. */
*{scrollbar-width:none}
*::-webkit-scrollbar{display:none;width:0;height:0}
html{scroll-padding-top:calc(var(--header-height) + 30px)}
.site-header,.tdr-home .site-header{position:sticky;top:var(--admin-offset);z-index:20;min-height:var(--header-height);padding:15px var(--edge);background:#fff;color:#000}
.tdr-home .brand-dark{display:block}.tdr-home .brand-light{display:none}
.tdr-home .menu-toggle{top:50px}
.tdr-home .hero,.tdr-home .home-main{height:calc(100svh - var(--header-height) - var(--admin-offset));min-height:0}
.tdr-page-contact .page-main{margin-top:30px}
@media(max-width:600px){.site-header,.tdr-home .site-header{padding-top:20px}.tdr-home .menu-toggle{top:20px;right:16px}}
/* Accueil superposé ; navigation intérieure alignée sur le pied du logo. */
.tdr-home .site-header{position:sticky;margin-bottom:calc(-1 * var(--header-height));background:transparent;color:#fff}
.tdr-home .brand-dark{display:none}.tdr-home .brand-light{display:block}
.tdr-home .hero,.tdr-home .home-main{height:calc(100svh - var(--admin-offset))}
@media(min-width:601px){
.site-header .subnav{padding-top:0;padding-bottom:0;align-self:flex-start;transform:translateY(calc(64px - 100%))}
.site-header .subnav a{padding-top:0;padding-bottom:0}
.site-header .subnav ul{row-gap:14px}
}
/* Référence : couverture carrée, images éditoriales non recadrées. */
.project-intro .project-cover{width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.project-content img{display:block;width:auto;height:auto;max-width:100%;max-height:100svh;object-fit:contain;margin-inline:auto}
.project-content figure{max-width:100%;margin-inline:auto}
.project-content .wp-block-gallery img{flex:0 1 auto;width:auto;height:auto;max-height:100svh;object-fit:contain}
/* Cadre carré indépendant de la hauteur des caractéristiques. */
.project-intro>div:first-child{position:relative;align-self:start;width:100%;aspect-ratio:1/1;overflow:hidden}
.project-intro .project-cover{position:absolute;inset:0;width:100%;height:90%;aspect-ratio:1/1;object-fit:cover}
/* Proportions relevées sur la fiche Domaine Marquise du site original. */
@media(min-width:1001px){
.reference-main{max-width:none}
.project-intro{grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}
.project-intro>div:first-child{width:calc(100% - 80px);margin-inline:40px}
}

/* Même corps et interligne que les caractéristiques des références. */
.tdr-page-contact .entry-content{font-size:14px;line-height:1.25}
/* Publications : même vocabulaire sobre que les projets. */
.news-main{width:100%;padding:40px clamp(25px,8vw,150px) 90px}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:150px}
.news-card{min-width:0}.news-card-link{display:block;color:#000}.news-card-link:hover{color:#000}
.news-card-image{width:100%;height:auto;aspect-ratio:100/117;object-fit:cover;transition:opacity .25s}
.news-card-link:hover .news-card-image{opacity:.85}
.news-card-body{padding-top:22px}.news-meta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 20px;font-size:11px;line-height:1.5;text-transform:uppercase;letter-spacing:.04em;color:#666;margin-bottom:14px}
.news-card h2{font-size:20px;line-height:1.3;margin:0 0 14px;font-weight:600}
.news-excerpt{font-size:14px;line-height:1.5;margin-bottom:20px}
.news-read,.news-back{font-size:12px;text-decoration:underline;text-underline-offset:5px}.news-read span{display:inline-block;margin-left:8px}
.news-card--text{border-top:1px solid #d6d6d6;padding-top:22px}
.news-empty{min-height:40svh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;text-align:center}.news-empty p{font-size:14px;color:#666;margin:0}.news-empty a{font-size:12px;text-decoration:underline;text-underline-offset:5px}
.news-article{max-width:1180px;margin:40px auto 90px;padding-inline:40px}.news-article-header{max-width:780px;margin:0 auto 35px}.news-article h1{font-size:32px;line-height:1.25;color:#000}.news-article-cover{width:100%;height:auto;max-height:75svh;object-fit:contain;margin:0 auto 45px}.news-article-content{max-width:780px;margin:0 auto 45px;font-size:14px;line-height:1.5}.news-article-content img{width:auto;height:auto;max-width:100%;max-height:100svh;object-fit:contain;margin-inline:auto}.news-back{display:block;max-width:780px;margin-inline:auto}
@media(max-width:900px){.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.news-main{padding:25px 25px 60px}.news-grid{grid-template-columns:1fr}.news-article{padding-inline:25px;margin-top:25px}.news-article h1{font-size:25px}.news-card h2{font-size:20px}}
/* Neutraliser les styles natifs mobiles sans supprimer le focus clavier. */
.menu-close{color:#000;-webkit-text-fill-color:currentColor;appearance:none;-webkit-appearance:none}
.menu-dialog[data-pointer-open] .menu-close:focus{outline:none}
/* Repères tactiles, typographie mobile et légendes. */
.subnav-scroll{display:none}
.hero-caption h2{margin-bottom:3px}
.project-tags{justify-content:center;gap:10px}
.project-tags a{display:inline-block;border:1px solid #aaa;padding:6px 12px;text-decoration:none;line-height:1.4}
.project-tags a:hover{border-color:#000;color:#000}
@media(max-width:600px){
.subnav-scroll:not([hidden]){display:flex;align-items:center;justify-content:center;position:absolute;z-index:2;width:32px;height:32px;padding:0;border:0;color:#000;font:28px/1 Arial,sans-serif;appearance:none;-webkit-appearance:none}
.subnav-scroll--next{right:20px;background:linear-gradient(90deg,#fff9,#fff 45%)}
.subnav-scroll--previous{left:20px;background:linear-gradient(270deg,#fff9,#fff 45%)}
.project-intro h1{font-size:9px;line-height:1.35}
.project-details,.project-content,.project-content p,.project-content li,.project-content figcaption{font-size:11px}
.tdr-team-caption h2,.tdr-team-caption h3,.tdr-team-caption h2 a,.tdr-team-caption h3 a{font-size:12px}
.menu-dialog nav[aria-label="Menu principal"] a{font-size:22px;line-height:1.35;padding-block:3px}
.hero-caption h2{margin-bottom:2px}
}

/* Chevron centré géométriquement sur la ligne des liens. */
.subnav-scroll::before{content:"";display:block;width:7px;height:7px;border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg)}
.subnav-scroll--previous::before{transform:rotate(-135deg)}

/* Contact en fin des pages géographiques. */
@media(max-width:600px){
.project-intro{gap:10px}
.project-intro .project-cover{height:100%}
.related>h2{font-size:16px;line-height:1.35}
body p,.project-details p,.project-details p:has(strong){margin:0}
.page-main .entry-content,.page-main .entry-content p,.page-main .entry-content li,.page-main .entry-content figcaption,
.news-article-content,.news-article-content p,.news-article-content li,.news-excerpt,.news-empty p{font-size:11px}
.page-main .entry-content h1,.page-main .entry-content h2,.page-main .entry-content h3,
.page-main .entry-content h4,.page-main .entry-content h5,.page-main .entry-content h6,
.project-content h2,.project-content h3,.news-article h1,.news-card h2{font-size:9px;line-height:1.35;text-transform:uppercase}
.page-main .tdr-team-caption h2,.page-main .tdr-team-caption h3{font-size:12px}
}

/* Menu des catégories de projets. */
.project-filter{position:relative;align-self:flex-start;margin-top:44px;z-index:8}
.project-filter-toggle{display:flex;align-items:center;gap:18px;border:0;background:none;padding:0;color:#000;font-size:12px;text-transform:uppercase}
.project-filter-menu{position:absolute;top:calc(100% + 18px);left:0;min-width:280px;max-width:calc(100vw - 40px);padding:20px;background:#fff;border:1px solid #eee;max-height:65svh;overflow:auto;box-shadow:0 8px 20px #00000008}
.project-filter-menu:not([hidden]){animation:tdr-filter-in .2s ease-out}
.project-filter-menu ul{list-style:none;padding:0;margin:0}
.project-filter-menu a{display:block;padding:8px 0;font-size:12px;text-transform:uppercase;color:#000}
.project-filter-menu [aria-current],.project-filter-menu .current-menu-item>a{font-weight:700}
@keyframes tdr-filter-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
.menu-dialog nav[aria-label="Menu principal"] a{line-height:.8;font-weight:700}
.menu-dialog .menu-social{gap:4px}
@font-face{font-family:'Ultimate-Icons';src:url('fonts/Ultimate-Icons.woff') format('woff');font-style:normal;font-weight:normal;font-display:block}
.menu-social .ua-icon{font-family:'Ultimate-Icons'!important;font-size:21px;font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased}
.ua-icon-instagram:before{content:"\e9d6"}
.ua-icon-pinterest:before{content:"\e9da"}
.ua-icon-linkedin2:before{content:"\e9d8"}
@media(max-width:600px){.project-filter{flex-basis:100%;margin-top:0}.project-filter-toggle{font-size:10px}.project-filter-menu{top:calc(100% + 12px)}}
@media(prefers-reduced-motion:reduce){.project-filter-menu:not([hidden]){animation:none}}

.hero-caption-details{overflow-wrap:anywhere}.hero-city{white-space:nowrap}

@media(max-width:600px){h1,h2,h3{font-weight:600;margin:0 0 10px}}

/* Sur mobile, rattacher les titres éditoriaux au texte qui suit. */
@media(max-width:600px){
.entry-content :is(h1,h2,h3):not(.tdr-team-caption *),
.news-article-content :is(h1,h2,h3){margin-top:24px;margin-bottom:6px}
.entry-content :is(h1,h2,h3):first-child:not(.tdr-team-caption *),
.news-article-content :is(h1,h2,h3):first-child{margin-top:0}
.entry-content :is(h1,h2,h3)+:is(p,ul,ol),
.news-article-content :is(h1,h2,h3)+:is(p,ul,ol){margin-top:0}
.entry-content .tdr-module:has(> :is(h1,h2,h3):last-child){margin-bottom:6px}
}

/* Alignement desktop et bouton de catégories réservé au mobile. */
.menu-dialog .menu-close{position:fixed;left:var(--close-left);top:var(--close-top);right:auto;width:var(--close-width,46px);height:var(--close-height,46px);padding:0;display:flex;align-items:center;justify-content:center}
@media(min-width:601px){
.site-header,.tdr-home .site-header{align-items:center;flex-wrap:nowrap}
.site-header .brand,.tdr-home .site-header .brand{width:64px;flex-basis:64px}
.site-header .brand img,.tdr-home .site-header .brand img{width:64px;height:64px}
.site-header .menu-toggle,.tdr-home .site-header .menu-toggle{position:static;flex:0 0 46px;margin-left:auto;transform:none}
.site-header .subnav{align-self:center;transform:translateY(calc(32px - 50%));padding:0;min-width:0}
.project-filter{flex:1;min-width:0;align-self:center;transform:translateY(calc(32px - 50%));margin:0;z-index:auto}
.project-filter-toggle{display:none}
.project-filter-menu,.project-filter-menu[hidden]{display:block;position:static;min-width:0;max-width:none;max-height:none;padding:0;border:0;box-shadow:none;overflow:visible;background:none;animation:none}
.project-filter-menu ul{display:flex;flex-wrap:wrap;gap:14px 20px}
.project-filter-menu a{padding:0;line-height:1.45}
.menu-dialog nav[aria-label="Menu principal"] a{padding:10px}
.entry-content :is(h1,h2,h3,h4,h5,h6),.news-article-content :is(h1,h2,h3),.project-intro h1{margin-bottom:6px}
.entry-content :is(h1,h2,h3,h4,h5,h6)+:is(p,ul,ol){margin-top:0}
.entry-content .tdr-module:has(> :is(h1,h2,h3):last-child){margin-bottom:6px}
.entry-content p,.project-details p,.news-excerpt,.news-article-content p{line-height:1.25}
}

/* Agrandissement doux du titre, sans déplacer la ville ni la nomination. */
.hero-title-text{display:inline-block;transform:scale(1);transform-origin:left center;transition:transform .35s ease-out}
@media(hover:hover){.hero-caption:hover .hero-title-text{transform:scale(1.04)}}
.hero-caption:focus-visible .hero-title-text{transform:scale(1.04)}
@media(prefers-reduced-motion:reduce){.hero-title-text{transition:none}}


.entry-content .page-contact-link{margin:0}
.entry-content .page-contact-link a,.entry-content .page-contact-link a:hover{text-decoration:none}

/* Hiérarchie mobile : titres en gras et corps de texte conservé. */
@media(max-width:600px){
.menu-social .ua-icon{font-size:16px}
.project-intro h1{font-size:11px;font-weight:700;color:#000;line-height:1.35;margin-bottom:8px}
.page-main .entry-content :is(h1,h2,h3,h4,h5,h6),
.project-content :is(h2,h3,h4,h5,h6),.news-article h1,.news-card h2{font-size:11px;font-weight:700;color:#000;line-height:1.35;text-transform:uppercase}
.entry-content :is(h1,h2,h3,h4,h5,h6):not(.tdr-team-caption *),
.news-article-content :is(h1,h2,h3,h4,h5,h6){margin-top:24px;margin-bottom:6px}
.entry-content :is(h1,h2,h3,h4,h5,h6):first-child:not(.tdr-team-caption *),
.news-article-content :is(h1,h2,h3,h4,h5,h6):first-child{margin-top:0}
.page-main .tdr-team-caption :is(h2,h3){font-size:12px}
}

/* Sur mobile, signaler le titre cliquable à chaque nouvelle diapositive. */
@media(max-width:600px){
.hero-caption:active .hero-title-text{animation:none;transform:scale(1.04);transition-duration:.15s}
}
@media(max-width:600px) and (prefers-reduced-motion:reduce){
.hero-caption:active .hero-title-text{transition:none}
}

/* Respiration des textes et des caractéristiques sur mobile. */
@media(max-width:600px){
.entry-content p+p,.news-article-content p+p{margin-top:10px}
.project-details{line-height:1.45}
.project-details p+p{margin-top:8px}
.project-details p:has(strong):not(:first-child){margin-top:14px}
.project-details li+li{margin-top:6px}
.entry-content .page-contact-link{margin-top:20px}
}
