/*
Theme Name: Muséumia Gutenberg
Description: Première version du site Muséumia, éditable avec les blocs natifs WordPress.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Zooomez
Text Domain: museumia
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --ink: #152a35;
  --muted: #59656c;
  --accent: #b55338;
  --accent-dark: #98412a;
  --paper: #ffffff;
  --soft: #f4f6f5;
  --line: #dce1e2;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body.dialog-open { overflow: hidden; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font: inherit; }
button { color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -80px; left: 16px; padding: 12px 20px; z-index: 100; background: var(--ink); color: white; }
.skip-link:focus { top: 8px; }
.site-header { height: 100px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.97); position: sticky; top: 0; z-index: 20; }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { width: 245px; flex: 0 0 245px; margin-left: -13px; }
.brand img { width: 245px; height: auto; }
.site-header nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.site-header nav a { border-bottom: 1px solid transparent; padding-block: 4px; }
.site-header nav a:hover { border-color: var(--accent); }
.header-actions { display: flex; gap: 20px; align-items: center; }
.language-switch { border: 0; background: none; font-size: 14px; font-weight: 700; padding: 10px 3px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 13px 23px; background: var(--accent); color: white; border: 1px solid var(--accent); border-radius: 3px; font-size: 15px; font-weight: 600; line-height: 1.45; text-align: center; transition: background .18s, border-color .18s; }
.button:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.button-small { padding: 11px 17px; min-height: 45px; font-size: 14px; }
.eyebrow { font-size: 12px; letter-spacing: .13em; font-weight: 700; line-height: 1.5; }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; gap: 46px; align-items: center; padding-block: 55px 56px; }
.hero-copy { padding-block: 18px; }
.hero-copy > .eyebrow { color: var(--accent); margin-bottom: 24px; }
h1 { font-family: var(--serif); font-size: clamp(43px, 4.75vw, 72px); font-weight: 400; line-height: 1.085; letter-spacing: -.035em; }
h1 span { display: block; }
.accent { color: var(--accent); }
.hero-description { max-width: 480px; margin-top: 25px; font-size: 18px; line-height: 1.75; color: var(--muted); }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.text-button { display: inline-flex; align-items: center; gap: 9px; border: none; padding: 9px 0; background: transparent; font-size: 14px; font-weight: 600; }
.text-button:hover { color: var(--accent); }
.play-icon { display: inline-block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.hero-signature { margin-top: 26px; max-width: 390px; font-size: 15px; font-weight: 500; }
.hero-visual { position: relative; min-height: 480px; align-self: stretch; overflow: hidden; border-radius: 4px; background: var(--soft); }
.hero-visual > img { width: 100%; height: 100%; position: absolute; object-fit: cover; object-position: 46% center; }
.hero-visual::after { content: ''; position: absolute; inset: 55% 0 0; background: linear-gradient(transparent,rgba(7,20,27,.78)); pointer-events: none; }
.image-label { position: absolute; left: 25px; top: 25px; z-index: 1; background: white; padding: 8px 11px; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.hero-visual figcaption { position: absolute; z-index: 1; bottom: 26px; left: 26px; right: 26px; color: white; }
.hero-visual figcaption span { display: block; }
.hero-visual figcaption span:first-child { font-family: var(--serif); font-size: 28px; line-height: 1.3; }
.hero-visual figcaption span:last-child { margin-top: 6px; font-size: 13px; }
.intro-band { display: flex; align-items: center; justify-content: space-between; gap: 45px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 24px; }
.intro-band p:first-child { font-weight: 600; font-size: 15px; white-space: nowrap; }
.intro-band p:last-child { font-size: 15px; color: var(--muted); max-width: 630px; }
.section-space { padding-block: 88px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 36px; }
.section-heading .eyebrow { color: var(--accent); margin-bottom: 12px; }
h2 { font-family: var(--serif); font-size: clamp(32px, 3.1vw, 46px); font-weight: 400; line-height: 1.2; letter-spacing: -.025em; }
.section-lead { max-width: 350px; font-size: 16px; color: var(--muted); }
.journey-tabs { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.journey-tabs button { position: relative; min-height: 66px; background: transparent; border: none; color: var(--muted); font-size: 17px; font-weight: 500; padding: 15px 10px; }
.journey-tabs button::after { position: absolute; content: ''; bottom: -1px; left: 0; right: 0; height: 3px; background: transparent; }
.journey-tabs button[aria-selected="true"] { color: var(--accent); }
.journey-tabs button[aria-selected="true"]::after { background: var(--accent); }
.journey-tabs button:hover { background: var(--soft); }
.journey-panel { display: grid; grid-template-columns: 1.04fr 1fr; gap: 62px; align-items: center; }
.panel-visual { align-self: stretch; min-height: 400px; position: relative; overflow: hidden; border-radius: 3px; background: var(--soft); }
.panel-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel-visual figcaption { position: absolute; inset: auto 0 0; padding: 28px 22px 15px; background: linear-gradient(transparent,rgba(10,24,32,.72)); color: white; font-size: 12px; }
#panel-after .panel-visual img { object-position: 50% 40%; }
.panel-copy { padding-block: 15px; }
.panel-copy .eyebrow { color: var(--accent); margin-bottom: 14px; }
.panel-copy h3 { max-width: 450px; font-family: var(--serif); font-weight: 400; font-size: 37px; line-height: 1.16; letter-spacing: -.02em; margin-bottom: 19px; }
.panel-copy > p:not(.eyebrow):not(.tools-line) { color: var(--muted); font-size: 16px; }
.benefits { list-style: none; margin: 24px 0; padding: 0; font-size: 15px; }
.benefits li { position: relative; padding-left: 20px; margin-bottom: 10px; }
.benefits li::before { content: ''; width: 7px; height: 7px; border: 1px solid var(--accent); position: absolute; left: 0; top: 9px; }
.tools-line { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-bottom: 13px; }
.underlined-link { display: inline-block; border-bottom: 1px solid var(--accent); padding-block: 3px; font-size: 14px; font-weight: 600; }
.underlined-link:hover { color: var(--accent); }
.method { background: var(--ink); color: white; }
.method-heading { max-width: 860px; }
.method-heading .eyebrow { color: #e8ad96; margin-bottom: 16px; }
.method-heading h2 { max-width: 760px; font-size: clamp(34px, 3.3vw, 47px); }
.method-heading > p:last-child { color: #c5d0d5; font-size: 17px; max-width: 740px; margin-top: 24px; }
.method-principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 44px; margin-top: 48px; }
.method-principles article { border-top: 1px solid #44555e; padding-top: 27px; }
.principle-mark { width: 38px; height: 38px; color: #e4a58c; margin-bottom: 18px; }
.principle-mark svg { width: 100%; height: 100%; }
.method-principles h3 { font-size: 19px; font-weight: 500; line-height: 1.4; margin-bottom: 13px; }
.method-principles p { font-size: 15px; color: #c5d0d5; line-height: 1.8; max-width: 330px; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 38px; }
.project-media { position: relative; display: block; width: 100%; aspect-ratio: 16/10; overflow: hidden; padding: 0; border: none; border-radius: 3px; background: var(--soft); }
.project-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.project:first-child .project-media > img { object-fit: contain; }
.project-media:hover > img { transform: scale(1.025); }
.video-label { position: absolute; bottom: 20px; left: 20px; display: flex; align-items: center; gap: 12px; background: white; padding: 11px 17px; color: var(--ink); font-weight: 600; font-size: 14px; }
.project-category { margin-top: 22px; font-size: 12px; letter-spacing: .1em; color: var(--accent); font-weight: 700; }
.project h3 { font-size: 24px; font-weight: 500; letter-spacing: -.03em; line-height: 1.35; margin-top: 9px; }
.project > p:last-child { font-size: 15px; color: var(--muted); margin-top: 12px; max-width: 520px; }
.project-note { margin-top: 40px; border-top: 1px solid var(--line); padding-top: 23px; display: flex; align-items: baseline; gap: 20px; }
.note-tag { font-size: 12px; letter-spacing: .09em; font-weight: 700; color: var(--accent); white-space: nowrap; }
.project-note p { font-size: 15px; color: var(--muted); }
.contact-section { background: var(--soft); padding-block: 66px; }
.contact-inner { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; }
.contact-inner .eyebrow { color: var(--accent); margin-bottom: 14px; }
.contact-inner h2 { font-size: 42px; }
.contact-inner p:last-child { color: var(--muted); max-width: 640px; font-size: 16px; margin-top: 18px; }
.contact-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.contact-email { color: var(--muted); font-size: 14px; }
.contact-email:hover { color: var(--accent); }
.site-footer { padding-block: 30px; display: flex; justify-content: space-between; align-items: center; gap: 25px; font-size: 12px; color: var(--muted); }
.site-footer p:first-child { font-size: 13px; }
.site-footer strong { color: var(--ink); font-weight: 700; padding-right: 12px; }
.site-footer a:hover { text-decoration: underline; }
dialog { border: none; padding: 22px; border-radius: 5px; max-width: 1040px; width: calc(100% - 40px); background: white; color: var(--ink); }
dialog::backdrop { background: rgba(10,23,30,.84); }
.video-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.video-dialog-head h2 { font-family: var(--sans); font-size: 19px; font-weight: 600; }
.video-dialog-head button { border: 1px solid var(--line); background: white; border-radius: 3px; font-size: 14px; padding: 7px 13px; }
.video-container { aspect-ratio: 16/9; background: #111; }
.video-container iframe { width: 100%; height: 100%; border: 0; }
.video-fallback { margin-top: 15px; color: var(--muted); font-size: 13px; }
.video-fallback a { text-decoration: underline; }
@media (min-width: 1600px) { .hero { padding-block: 75px; } .hero-visual { min-height: 530px; } }
@media (max-width: 1150px) {
  .wrap { width: calc(100% - 64px); }
  .site-header nav { gap: 20px; font-size: 14px; }
  .brand, .brand img { width: 210px; flex-basis: 210px; }
  .header-actions { gap: 14px; }
  .button-small { max-width: 155px; font-size: 14px; }
  .hero { gap: 28px; }
  .hero-visual { min-height: 450px; }
  h1 { font-size: 52px; }
  .hero-actions { gap: 16px; }
  .hero-actions .button { font-size: 14px; padding: 12px 16px; }
  .hero-description { font-size: 17px; }
  .journey-panel { gap: 38px; }
  .panel-copy h3 { font-size: 33px; }
  .contact-inner h2 { font-size: 36px; }
}
@media (max-width: 900px) {
  .site-header { height: 84px; }
  .site-header nav { display: none; }
  .button-small { max-width: none; }
  .hero { gap: 28px; padding-block: 40px; }
  h1 { font-size: 43px; }
  .hero-visual { min-height: 430px; }
  .hero-copy > .eyebrow { font-size: 12px; margin-bottom: 19px; }
  .hero-description { font-size: 16px; }
  .hero-signature { font-size: 13px; }
  .intro-band { gap: 25px; align-items: start; }
  .intro-band p:first-child { white-space: normal; max-width: 190px; flex: 0 0 190px; }
  .intro-band p:last-child { font-size: 14px; }
  .section-space { padding-block: 65px; }
  .section-heading { gap: 30px; }
  .section-lead { max-width: 270px; font-size: 14px; }
  .journey-panel { gap: 30px; }
  .panel-visual { min-height: 450px; }
  .panel-copy h3 { font-size: 30px; }
  .benefits { font-size: 14px; }
  .method-principles { gap: 28px; }
  .method-principles h3 { font-size: 17px; }
  .method-principles p { font-size: 14px; }
  .contact-inner { grid-template-columns: 1fr; gap: 28px; }
  .contact-actions { align-items: start; }
  .site-footer { flex-wrap: wrap; gap: 12px 24px; }
}
@media (max-width: 650px) {
  html { scroll-padding-top: 86px; }
  body { font-size: 16px; }
  .wrap { width: calc(100% - 40px); }
  .site-header { height: 74px; }
  .header-inner { gap: 8px; }
  .brand, .brand img { width: 182px; flex-basis: 182px; }
  .brand { margin-left: -10px; }
  .header-actions { gap: 13px; }
  .header-actions .button { display: none; }
  .language-switch { padding: 10px; }
  .hero { grid-template-columns: 1fr; gap: 31px; padding-block: 30px 32px; }
  .hero-copy { padding-block: 5px 0; }
  .hero-copy > .eyebrow { font-size: 12px; margin-bottom: 20px; letter-spacing: .08em; }
  h1 { font-size: clamp(38px,10.6vw,57px); line-height: 1.09; }
  .hero-description { margin-top: 22px; font-size: 16px; max-width: 420px; line-height: 1.7; }
  .hero-actions { margin-top: 24px; gap: 20px; }
  .hero-actions .button { font-size: 14px; }
  .text-button { font-size: 14px; }
  .hero-signature { font-size: 14px; margin-top: 22px; }
  .hero-visual { min-height: 315px; aspect-ratio: 1.12; }
  .image-label { left: 18px; top: 18px; font-size: 12px; }
  .hero-visual figcaption { left: 20px; right: 20px; bottom: 20px; }
  .hero-visual figcaption span:first-child { font-size: 27px; }
  .hero-visual figcaption span:last-child { font-size: 12px; }
  .intro-band { flex-direction: column; align-items: start; gap: 9px; padding-block: 22px; }
  .intro-band p:first-child { flex: auto; max-width: none; font-size: 14px; }
  .intro-band p:last-child { font-size: 14px; }
  .section-space { padding-block: 52px; }
  .section-heading { display: block; margin-bottom: 24px; }
  .section-heading .eyebrow { font-size: 12px; }
  h2 { font-size: 34px; }
  .section-lead { margin-top: 16px; max-width: 430px; font-size: 15px; }
  .journey-tabs { margin-bottom: 25px; }
  .journey-tabs button { min-height: 62px; padding: 12px 6px; font-size: 14px; line-height: 1.4; }
  .journey-panel { grid-template-columns: 1fr; gap: 24px; }
  .panel-visual { min-height: 255px; aspect-ratio: 1.35; }
  .panel-visual figcaption { font-size: 12px; padding-inline: 15px; }
  .panel-copy { padding-block: 0; }
  .panel-copy .eyebrow { font-size: 12px; margin-bottom: 13px; }
  .panel-copy h3 { font-size: 34px; max-width: 350px; }
  .panel-copy > p:not(.eyebrow):not(.tools-line) { font-size: 16px; }
  .benefits { font-size: 15px; margin-block: 20px; }
  .tools-line { font-size: 13px; }
  .underlined-link { font-size: 14px; }
  .method-heading h2 { font-size: 35px; }
  .method-heading .eyebrow { font-size: 12px; }
  .method-heading > p:last-child { font-size: 16px; margin-top: 20px; }
  .method-principles { grid-template-columns: 1fr; gap: 28px; margin-top: 32px; }
  .method-principles article { padding-top: 21px; }
  .principle-mark { float: left; width: 34px; height: 34px; margin: 0 18px 10px 0; }
  .method-principles h3 { font-size: 19px; margin-left: 52px; }
  .method-principles p { font-size: 15px; margin-left: 52px; max-width: none; }
  .project-grid { grid-template-columns: 1fr; gap: 34px; }
  .project h3 { font-size: 24px; }
  .project-category { font-size: 12px; margin-top: 18px; }
  .project > p:last-child { font-size: 15px; }
  .video-label { left: 15px; bottom: 15px; padding: 9px 14px; font-size: 13px; }
  .project-note { gap: 15px; margin-top: 28px; padding-top: 21px; }
  .project-note p { font-size: 14px; }
  .note-tag { font-size: 12px; }
  .contact-section { padding-block: 46px; }
  .contact-inner { gap: 26px; }
  .contact-inner h2 { font-size: 35px; }
  .contact-inner p:last-child { font-size: 16px; }
  .contact-inner .eyebrow { font-size: 12px; }
  .site-footer { display: block; padding-block: 23px; font-size: 12px; }
  .site-footer p + p { margin-top: 9px; }
  dialog { padding: 15px; width: calc(100% - 24px); }
  .video-dialog-head h2 { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Adaptation des blocs WordPress à la mise en page de la maquette. */
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * { margin-block: 0; }
.wp-block-post-content > * { margin-block-start: 0; margin-block-end: 0; }
.wp-block-group, .wp-block-buttons, .wp-block-image { min-width: 0; }
.wp-block-template-part { margin: 0; }
.wp-block-heading { margin: 0; }
.wp-block-image { margin: 0; }
.wp-block-image img { vertical-align: middle; }
.wp-block-image figcaption { margin: 0; }
.wp-block-buttons .wp-block-button { margin: 0; }
.wp-block-button__link { text-decoration: none; border: 1px solid var(--accent); border-radius: 3px; }
.wp-block-button__link:hover { color: white; background: var(--accent-dark); border-color: var(--accent-dark); }
.is-style-museumia-text .wp-block-button__link { padding: 9px 0; color: var(--ink); background: transparent; border-color: transparent; font-size: 14px; }
.is-style-museumia-text .wp-block-button__link:hover { color: var(--accent); background: transparent; border-color: transparent; }
.site-header { height: auto; min-height: 100px; }
.header-inner { min-height: 100px; }
.brand.wp-block-image { width: 245px; flex: 0 0 245px; margin-left: -13px; }
.brand a { display: block; }
.brand img { width: 245px; }
.museumia-navigation { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.museumia-navigation a { border-bottom: 1px solid transparent; padding-block: 4px; white-space: nowrap; }
.museumia-navigation a:hover { border-color: var(--accent); }
.header-actions.wp-block-buttons { display: flex; flex-wrap: nowrap; gap: 20px; align-items: center; }
.header-actions .button-small .wp-block-button__link { padding: 11px 17px; min-height: 45px; font-size: 14px; }
.language-switch .wp-block-button__link { font-weight: 700; padding: 10px 3px; }
.hero-actions.wp-block-buttons { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.hero-actions .video-trigger .wp-block-button__link::before { content: ''; display: inline-block; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; margin-right: 9px; }
.hero-visual .hero-photo { height: 100%; position: absolute; inset: 0; }
.hero-visual .hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.hero-visual .image-label { margin: 0; }
.hero-visual .hero-photo figcaption { z-index: 2; text-align: left; }
.hero-visual::after { z-index: 1; }
.journey-tabs.wp-block-buttons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.journey-tabs .wp-block-button { width: 100%; }
.journey-tabs .wp-block-button__link { position: relative; display: flex; justify-content: center; align-items: center; width: 100%; min-height: 66px; border: none; border-radius: 0; padding: 15px 10px; background: transparent; color: var(--muted); font-size: 17px; font-weight: 500; }
.journey-tabs .wp-block-button__link::after { position: absolute; content: ''; bottom: -1px; left: 0; right: 0; height: 3px; background: transparent; }
.journey-tabs .wp-block-button__link[aria-selected="true"] { color: var(--accent); }
.journey-tabs .wp-block-button__link[aria-selected="true"]::after { background: var(--accent); }
.journey-tabs .wp-block-button__link:hover { background: var(--soft); }
.journey-panel + .journey-panel { margin-top: 40px; }
.museumia-tabs-ready .journey-panel + .journey-panel { margin-top: 0; }
.panel-visual.wp-block-image { height: 100%; }
.panel-visual.wp-block-image img { height: 100%; }
.panel-copy .link-line { margin: 0; }
.tools-line { font-size: 14px; }
.method-principles article::before { content: ''; display: block; width: 38px; height: 38px; margin-bottom: 18px; background-position: center; background-size: contain; background-repeat: no-repeat; }
.method-principles article:nth-child(1)::before { background-image: url('assets/principle-1.svg'); }
.method-principles article:nth-child(2)::before { background-image: url('assets/principle-2.svg'); }
.method-principles article:nth-child(3)::before { background-image: url('assets/principle-3.svg'); }
.project-media.wp-block-image { margin: 0; }
.project-media > a { display: block; height: 100%; width: 100%; }
.project-media > a > img { height: 100%; width: 100%; object-fit: cover; transition: transform .35s; }
.project:first-child .project-media > a > img { object-fit: contain; }
.project-media:hover > a > img { transform: scale(1.025); }
.project-media figcaption { position: absolute; left: 20px; bottom: 20px; display: flex; align-items: center; gap: 12px; background: white; padding: 11px 17px; color: var(--ink); font-weight: 600; font-size: 14px; pointer-events: none; }
.project-media figcaption::before { content: ''; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid currentColor; }
.project-media a:focus-visible { outline-offset: -5px; }
.project-category, .note-tag, .eyebrow { font-size: 14px; }
.contact-actions .wp-block-buttons { justify-content: center; }
.contact-actions .link-line { margin: 0; }
.site-footer, .site-footer p:first-child { font-size: 14px; }
.museumia-standard .wp-block-post-content { margin-top: 32px; }
.museumia-standard .wp-block-post-content > * + * { margin-top: 20px; }
body.admin-bar .site-header { top: 32px; }

/* L'éditeur affiche tous les panneaux pour permettre leur modification. */
.editor-styles-wrapper .site-header { position: relative; top: auto; }
.editor-styles-wrapper .journey-panel { display: grid; }
.editor-styles-wrapper .hero-visual .hero-photo { position: relative; height: 480px; }
.editor-styles-wrapper .wp-block-post-content .wp-block-group { max-width: none; }

@media (max-width: 1150px) {
  .brand.wp-block-image { width: 210px; flex-basis: 210px; }
  .brand img { width: 210px; }
  .museumia-navigation { gap: 20px; font-size: 14px; }
  .header-actions.wp-block-buttons { gap: 14px; }
  .header-actions .button-small .wp-block-button__link { max-width: 155px; }
}
@media (max-width: 1000px) {
  .header-inner { flex-wrap: wrap; min-height: 84px; padding-block: 12px; gap: 8px 20px; }
  .museumia-navigation { order: 3; flex-basis: 100%; justify-content: center; padding-bottom: 4px; }
  .header-actions .button-small .wp-block-button__link { max-width: none; }
}
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}
@media (max-width: 650px) {
  .site-header { min-height: 74px; }
  .header-inner { min-height: 74px; padding-block: 8px; }
  .brand.wp-block-image { width: 182px; flex-basis: 182px; margin-left: -10px; }
  .brand img { width: 182px; }
  .header-actions .button-small { display: none; }
  .header-actions .language-switch { display: block; }
  .language-switch .wp-block-button__link { padding: 10px; }
  .museumia-navigation { gap: 20px; font-size: 14px; }
  .hero-actions.wp-block-buttons { gap: 15px; }
  .hero-visual .hero-photo { height: 100%; }
  .journey-tabs .wp-block-button__link { min-height: 62px; padding: 12px 6px; font-size: 14px; line-height: 1.4; }
  .method-principles article::before { float: left; width: 34px; height: 34px; margin: 0 18px 10px 0; }
  .project-media figcaption { left: 15px; bottom: 15px; padding: 9px 14px; }
  .contact-actions .wp-block-buttons { justify-content: flex-start; }
  .eyebrow, .project-category, .note-tag { font-size: 14px; }
  html { scroll-padding-top: 130px; }
}
@media (max-width: 600px) {
  body.admin-bar .site-header { top: 0; }
}

:root {
  --ink: var(--wp--preset--color--ink, #152a35);
  --muted: var(--wp--preset--color--muted, #59656c);
  --accent: var(--wp--preset--color--accent, #b55338);
  --paper: var(--wp--preset--color--paper, #ffffff);
  --soft: var(--wp--preset--color--soft, #f4f6f5);
  --sans: var(--wp--preset--font-family--sans, 'DM Sans', sans-serif);
  --serif: var(--wp--preset--font-family--serif, 'DM Serif Display', Georgia, serif);
}

/* Le conteneur du modèle porte l'en-tête fixe dans WordPress. */
header.wp-block-template-part { position: sticky; top: 0; z-index: 20; }
header.wp-block-template-part .site-header { position: static; }
body.admin-bar header.wp-block-template-part { top: 32px; }
.wp-block-button__link { display: inline-flex; justify-content: center; align-items: center; min-height: 51px; }
.is-style-museumia-text .wp-block-button__link { min-height: 44px; }
@media (max-width: 782px) { body.admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { body.admin-bar header.wp-block-template-part { top: 0; } }
