/* Adaptation des blocs natifs à la composition validée. */
.wp-site-blocks { padding:0; }
#tm-home-v4 { margin:0; max-width:none; }
#tm-home-v4 figure { margin:0; }
#tm-home-v4 .tm-nav-side p, #tm-home-v4 .tm-footer-base p, #tm-home-v4 .tm-project-info p { margin:0; }
#tm-home-v4 .tm-nav-side p { font:inherit; }
#tm-home-v4 .tm-nav-side a { display:block; }
#tm-home-v4 figure.tm-film { position:absolute; inset:0; }
#tm-home-v4 .tm-film video { width:100%; height:100%; object-fit:cover; display:block; }
#tm-home-v4 .tm-brand img { max-width:100%; }
#tm-home-v4 .tm-project-photo img { width:100%; height:100%; display:block; object-fit:cover; }
#tm-home-v4 .tm-project-photo a { display:block; height:100%; }
#tm-home-v4 .tm-project-info .tm-tag { margin-bottom:10px; }
#tm-home-v4 .tm-project-info .tm-project-caption { margin-top:6px; }
#tm-home-v4 .tm-project-description, #tm-home-v4 .tm-project-video { display:none; }
#tm-home-v4 .tm-project-link { position:absolute; z-index:3; top:20px; right:20px; font-size:12px; }
#tm-home-v4.tm-js-ready .tm-project-link { display:none; }
#tm-home-v4 .tm-project-open { position:absolute; inset:0; z-index:4; width:100%; height:100%; background:none; border:0; border-radius:inherit; padding:0; }
#tm-home-v4 .tm-project-open:focus-visible { outline-offset:-5px; }
#tm-home-v4 .tm-project-open .tm-project-arrow { position:absolute; bottom:24px; right:24px; }
#tm-home-v4 .tm-project-info { right:80px; }
#tm-home-v4 .tm-project-row:has(.tm-project-open:focus-visible) .tm-project { flex-grow:var(--tm-shrink); }
#tm-home-v4 .tm-project-row .tm-project:has(.tm-project-open:focus-visible) { flex-grow:var(--tm-grow); }
#tm-home-v4 .wp-block-button.tm-glass { padding:0; }
#tm-home-v4 .wp-block-button__link { display:flex; align-items:center; gap:12px; padding:17px 26px; background:transparent; border:0; border-radius:inherit; color:inherit; font:inherit; line-height:1.2; text-decoration:none; box-shadow:none; }
#tm-home-v4 .tm-actions { display:flex; align-items:center; gap:12px; }
#tm-home-v4 .tm-project-more .tm-actions { justify-content:center; }
#tm-home-v4 .tm-step p.tm-step-number { margin:0 0 10px; border:0; padding:0; font-size:12px; line-height:1.65; }
#tm-home-v4 .tm-contact-links p { margin:0; }
#tm-home-v4 .tm-socials { list-style:none; padding:0; margin:0; }
#tm-home-v4 .tm-socials .wp-social-link { background:none; color:#fff; margin:0; }
#tm-home-v4 .tm-socials .wp-block-social-link-anchor { padding:0; }
#tm-home-v4 .tm-socials svg { width:24px; height:24px; }
#tm-home-v4 .tm-detail-video { width:100%; max-height:75vh; display:block; background:#000; margin-bottom:24px; }
#tm-home-v4 .tm-inner-header { padding:28px 8%; border-bottom:1px solid #333; }
#tm-home-v4 .tm-page-content { max-width:1100px; margin:0 auto; padding:60px 8%; min-height:70vh; }
@media (max-width:600px) {
  #tm-home-v4 .tm-project-info { right:70px; }
  #tm-home-v4 .tm-project-open .tm-project-arrow { bottom:22px; right:21px; }
  #tm-home-v4 .wp-block-button__link { padding:15px 22px; }
}
