/* Composants communs du pilote : blanc, noir et bleu cobalt, sans police distante. */
body.hdr-pilot {
  --hdr-ink: #111318;
  --hdr-muted: #5e6573;
  --hdr-accent: #183ee8;
  --hdr-accent-hover: #112eba;
  --hdr-accent-light: #b9ccff;
  --hdr-accent-soft: #edf1ff;
  --hdr-accent-focus: #f3f5ff;
  --hdr-accent-wash: #183ee80d;
  --hdr-blue: var(--hdr-accent);
  --hdr-line: #dce0e8;
  --hdr-pad: clamp(24px, 4vw, 80px);
  --hdr-admin-offset: 0px;
  --hdr-header-height: 88px;
  margin: 0; background: #fff; color: var(--hdr-ink);
  font: 400 16px/1.65 Arial, Helvetica, sans-serif;
}
.hdr-pilot :where(.hdr-header, main, .hdr-footer, .hdr-dialog),
.hdr-pilot :where(.hdr-header, main, .hdr-footer, .hdr-dialog) * { box-sizing: border-box; }
.hdr-pilot :where(main, .hdr-header, .hdr-footer, .hdr-dialog) :where(h1,h2,h3,p,figure,dl,dd,ul) { margin: 0; }
.hdr-pilot :where(main, .hdr-header, .hdr-footer, .hdr-dialog) a { color: inherit; text-decoration: none; }
.hdr-pilot :where(main, .hdr-header, .hdr-footer, .hdr-dialog) button { font: inherit; cursor: pointer; }
.hdr-pilot :where(main, .hdr-header, .hdr-footer, .hdr-dialog) img { display: block; max-width: 100%; height: auto; }
.hdr-pilot :where(a,button,summary):focus-visible { outline: 3px solid var(--hdr-blue); outline-offset: 5px; }
.hdr-pilot [hidden] { display: none !important; }
.hdr-pilot .hdr-shell { width: 100%; max-width: 1600px; padding-inline: var(--hdr-pad); margin-inline: auto; }
.hdr-pilot main { min-width: 0; }
.hdr-pilot main [id] { scroll-margin-top: calc(var(--hdr-admin-offset) + var(--hdr-header-height) + 24px); }
body.admin-bar.hdr-pilot { --hdr-admin-offset: 32px; }
.hdr-pilot .hdr-section { padding-block: clamp(48px, 6vw, 88px); }
.hdr-pilot .hdr-kicker { font-size: .875rem; letter-spacing: .085em; text-transform: uppercase; color: var(--hdr-blue); margin-bottom: 18px; }
.hdr-pilot main h1 { color: var(--hdr-ink); font-family: inherit; font-weight: 600; font-size: clamp(2.5rem, 4.5vw, 5rem); line-height: 1.08; letter-spacing: -.05em; }
.hdr-pilot main h2 { color: var(--hdr-ink); font-family: inherit; font-weight: 600; font-size: clamp(2rem, 3.7vw, 4rem); line-height: 1.12; letter-spacing: -.045em; }
.hdr-pilot main h3 { color: var(--hdr-ink); font-family: inherit; font-weight: 600; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.3; letter-spacing: -.025em; }
.hdr-pilot .hdr-skip { position: fixed; top: -150px; left: 24px; padding: 14px 20px; background: #fff; color: var(--hdr-ink); z-index: 100000; }
.hdr-pilot .hdr-skip:focus { top: 45px; }
.hdr-pilot .hdr-button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 14px 22px; background: var(--hdr-blue); color: #fff; border: 1px solid var(--hdr-blue); border-radius: 0; font-weight: 600; font-size: .9375rem; line-height: 1.45; text-align: center; }
.hdr-pilot .hdr-button:hover { background: var(--hdr-accent-hover); border-color: var(--hdr-accent-hover); color: #fff; }
.hdr-pilot .hdr-button-white { background: #fff; border-color: #fff; color: var(--hdr-ink); }
.hdr-pilot .hdr-button-white:hover { background: var(--hdr-accent-soft); border-color: var(--hdr-accent-soft); color: var(--hdr-blue); }
.hdr-pilot .hdr-text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--hdr-blue); border-bottom: 1px solid currentColor; font-size: .9375rem; }
.hdr-pilot .hdr-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 88px; padding: 18px var(--hdr-pad); border-bottom: 1px solid var(--hdr-line); background: #fff; position: sticky; top: var(--hdr-admin-offset); z-index: 999; }
.hdr-pilot .hdr-brand { flex: 0 0 175px; }
.hdr-pilot .hdr-logo { display: block; width: 100%; height: auto; }
.hdr-pilot .hdr-logo-hard { fill: var(--hdr-blue); }
.hdr-pilot .hdr-logo-deco { fill: var(--hdr-ink); }
.hdr-pilot .hdr-brand .hdr-logo { width: 175px; }
.hdr-pilot .hdr-navigation { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 22px; }
.hdr-pilot .hdr-navigation > a:not(.hdr-button), .hdr-pilot .hdr-services summary { display: flex; align-items: center; min-height: 44px; font-size: .875rem; cursor: pointer; }
.hdr-pilot .hdr-navigation > a:not(.hdr-button):hover, .hdr-pilot .hdr-services a:hover { color: var(--hdr-blue); }
.hdr-pilot .hdr-services { position: relative; }
.hdr-pilot .hdr-services summary { list-style: none; }
.hdr-pilot .hdr-services summary::-webkit-details-marker { display: none; }
.hdr-pilot .hdr-services summary::after { content: '+'; margin-left: 9px; }
.hdr-pilot .hdr-services[open] summary::after { content: '−'; }
.hdr-pilot .hdr-services > div { position: absolute; top: 100%; left: -22px; width: 310px; padding: 14px 22px; background: #fff; border: 1px solid var(--hdr-line); box-shadow: 0 14px 35px #1113180f; }
.hdr-pilot .hdr-services > div a { display: flex; align-items: center; min-height: 44px; padding-block: 8px; font-size: .875rem; }
.hdr-pilot .hdr-menu-toggle { display: none; min-height: 46px; padding: 9px 16px; border: 1px solid var(--hdr-line); background: #fff; color: var(--hdr-ink); border-radius: 0; }
.hdr-pilot .hdr-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-block: 22px 0; color: var(--hdr-muted); font-size: .875rem; }
.hdr-pilot .hdr-breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; }
.hdr-pilot .hdr-breadcrumb a:hover { color: var(--hdr-blue); }
/* Photo nette, texte regroupé dans un panneau clair translucide et flouté. */
.hdr-pilot .hdr-hero { position: relative; background: #fff; }
.hdr-pilot .hdr-hero-with-image .hdr-hero-image { position: absolute; inset: 0; background: #f1f2f6; }
.hdr-pilot .hdr-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hdr-pilot .hdr-hero-inner { position: relative; display: flex; justify-content: flex-end; align-items: center; padding-block: clamp(28px, 3vw, 48px); }
.hdr-pilot .hdr-hero-with-image .hdr-hero-inner { min-height: clamp(600px, 76svh, 860px); }
.hdr-pilot .hdr-hero-card { display: grid; grid-template-columns: 1fr; width: 100%; max-width: 620px; padding: clamp(24px, 2.25vw, 36px); background: #fff; color: var(--hdr-ink); }
.hdr-pilot .hdr-hero-with-image .hdr-hero-card { background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.45); }
@supports ((backdrop-filter: blur(16px)) or (-webkit-backdrop-filter: blur(16px))) {
  .hdr-pilot .hdr-hero-with-image .hdr-hero-card { background: rgba(255,255,255,.82); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
}
.hdr-pilot .hdr-hero-card > .hdr-breadcrumb { padding: 0; margin-bottom: 12px; font-size: .8125rem; }
.hdr-pilot .hdr-hero-summary { margin-top: 16px; }
.hdr-pilot .hdr-hero-card :where(.hdr-lead, .hdr-breadcrumb) { color: #424b58; }
.hdr-pilot .hdr-hero:not(.hdr-hero-with-image) .hdr-hero-card { max-width: 1000px; padding-inline: 0; }
.hdr-pilot .hdr-hero:not(.hdr-hero-with-image) .hdr-hero-inner { justify-content: flex-start; }
.hdr-pilot .hdr-hero-copy, .hdr-pilot .hdr-hero-summary { min-width: 0; }
.hdr-pilot .hdr-hero h1 { margin: 0; font-size: clamp(2rem, 2.85vw, 3rem); line-height: 1.12; text-wrap: balance; }
.hdr-pilot .hdr-hero-copy > .hdr-kicker { margin: 0 0 12px; font-size: .8125rem; letter-spacing: .065em; }
.hdr-pilot .hdr-hero-summary > .hdr-lead { margin: 0 0 16px; font-size: 1rem; line-height: 1.65; }
.hdr-pilot .hdr-hero-card .hdr-tags { gap: 8px; }
.hdr-pilot .hdr-hero-card .hdr-tags a { padding: 8px 11px; font-size: .8125rem; }
.hdr-pilot .hdr-lead { font-size: 1.0625rem; color: var(--hdr-muted); line-height: 1.75; margin-bottom: 22px; }
.hdr-pilot .hdr-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.hdr-pilot .hdr-tags a { display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--hdr-line); padding: 9px 13px; font-size: .875rem; }
.hdr-pilot .hdr-tags a:hover { color: var(--hdr-blue); border-color: var(--hdr-blue); }
.hdr-pilot .hdr-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; margin-top: 18px; }
.hdr-pilot .hdr-photo-link { display: block; position: relative; background: #f1f2f6; overflow: hidden; }
/* Une fiche d’atelier : repères techniques et une discrète touche éditoriale. */
.hdr-pilot .hdr-facts { margin-top: 38px; }
.hdr-pilot .hdr-facts dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 36px; padding-block: 28px 30px; border-block: 1px solid var(--hdr-line); }
.hdr-pilot .hdr-facts dl > div { min-width: 0; }
.hdr-pilot .hdr-facts dt { color: var(--hdr-muted); font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .75rem; font-weight: 400; letter-spacing: .025em; text-transform: none; margin-bottom: 8px; }
.hdr-pilot .hdr-facts dd { color: var(--hdr-ink); font-size: 1.125rem; font-weight: 400; line-height: 1.5; letter-spacing: -.015em; overflow-wrap: anywhere; }
.hdr-pilot .hdr-facts .hdr-fact-surface dd { color: var(--hdr-blue); font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.3; letter-spacing: -.035em; }
.hdr-pilot .hdr-facts .hdr-fact-artist dd { font-family: Georgia, 'Times New Roman', serif; font-size: 1.375rem; font-style: italic; line-height: 1.4; }
.hdr-pilot .hdr-story { display: grid; grid-template-columns: 1fr 1.1fr; gap: 8vw; }
.hdr-pilot .hdr-copy { color: var(--hdr-muted); font-size: 1.0625rem; line-height: 1.8; }
.hdr-pilot .hdr-copy p { margin-bottom: 24px; }
.hdr-pilot .hdr-copy strong { color: var(--hdr-ink); }
.hdr-pilot .hdr-copy blockquote { margin: 32px 0 0; padding: 20px 0 20px 24px; border-left: 3px solid var(--hdr-blue); color: var(--hdr-ink); font-size: 1.25rem; line-height: 1.6; }
.hdr-pilot .hdr-gallery { padding-top: 0; }
.hdr-pilot :is(.hdr-gallery-heading, .hdr-section-heading, .hdr-offer, .hdr-video) h2 { margin: 0; font-size: clamp(1.75rem, 2.5vw, 2.75rem); line-height: 1.18; letter-spacing: -.035em; text-wrap: balance; }
.hdr-pilot :is(.hdr-gallery-heading, .hdr-section-heading, .hdr-offer, .hdr-video) .hdr-kicker { margin: 0 0 12px; font-size: .8125rem; }
.hdr-pilot .hdr-section-heading { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; margin-bottom: 28px; }
.hdr-pilot .hdr-section-heading > .hdr-text-link { justify-self: end; align-self: end; margin: 0; }
.hdr-pilot .hdr-section-heading > p { color: var(--hdr-muted); font-size: .875rem; flex-shrink: 0; }
.hdr-pilot .hdr-gallery-heading { text-align: center; margin-bottom: 28px; }
.hdr-pilot .hdr-gallery-heading .hdr-key-figure { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 4px 10px; margin: 16px 0 0; }
.hdr-pilot .hdr-gallery-heading .hdr-key-figure strong { color: var(--hdr-blue); font-size: clamp(1.5rem, 2vw, 1.875rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.3; }
.hdr-pilot .hdr-key-figure span { font-size: 1rem; line-height: 1.6; color: var(--hdr-muted); }
.hdr-pilot .hdr-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 28px; }
/* Même rythme que la galerie du thème enfant : deux images, puis trois. */
.hdr-pilot .hdr-gallery-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px; }
.hdr-pilot .hdr-gallery-grid > figure { grid-column: span 4; min-width: 0; }
.hdr-pilot .hdr-gallery-grid .hdr-photo-link { height: clamp(230px, 22vw, 310px); }
@media (min-width: 1025px) {
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+1),
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+2) { grid-column: span 6; }
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+1) .hdr-photo-link,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+2) .hdr-photo-link { height: clamp(300px, 32vw, 440px); }
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+3):nth-last-child(2),
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+4):last-child { grid-column: span 6; }
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+3):nth-last-child(2) .hdr-photo-link,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+4):last-child .hdr-photo-link { height: clamp(300px, 32vw, 440px); }
.hdr-pilot .hdr-gallery-grid > figure:only-child,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+1):last-child,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+3):last-child { grid-column: 1 / -1; }
.hdr-pilot .hdr-gallery-grid > figure:only-child .hdr-photo-link,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+1):last-child .hdr-photo-link,
.hdr-pilot .hdr-gallery-grid > figure:nth-child(5n+3):last-child .hdr-photo-link { height: clamp(360px, 50vw, 680px); }
}
.hdr-pilot .hdr-gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.hdr-pilot .hdr-video { padding-top: 0; }
.hdr-pilot .hdr-video h2 { margin-bottom: 28px; }
.hdr-pilot .hdr-video-player { display: grid; place-items: center; aspect-ratio: 16 / 9; background: var(--hdr-ink); margin-bottom: 16px; }
.hdr-pilot .hdr-video-player button { padding: 18px 28px; min-height: 50px; border: 1px solid #ffffff80; background: transparent; color: #fff; border-radius: 0; }
.hdr-pilot .hdr-video-player button:focus-visible { outline-color: #fff; }
.hdr-pilot .hdr-video-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.hdr-pilot .hdr-offer { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(28px, 4vw, 64px); background: #f3f4f7; padding-block: clamp(32px, 3vw, 44px); }
.hdr-pilot .hdr-offer h2 { max-width: 27ch; font-size: clamp(1.625rem, 2.15vw, 2.25rem); }
.hdr-pilot .hdr-offer > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.hdr-pilot .hdr-offer p:not(.hdr-kicker) { max-width: 48ch; color: var(--hdr-muted); margin: 0; line-height: 1.7; }
.hdr-pilot .hdr-related { padding-block: clamp(44px, 4.5vw, 64px); }
.hdr-pilot .hdr-related img { width: 100%; aspect-ratio: 16/10; object-fit: cover; background: #f1f2f6; }
.hdr-pilot .hdr-related h3 { margin: 16px 0 6px; font-size: clamp(1.125rem, 1.45vw, 1.5rem); font-weight: 400; line-height: 1.4; letter-spacing: -.02em; }
.hdr-pilot .hdr-related a:hover h3 { color: var(--hdr-blue); }
.hdr-pilot .hdr-cta { width: 100%; margin: 0; padding: 0; background: var(--hdr-blue); color: #fff; }
.hdr-pilot .hdr-cta-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 88px); padding-block: clamp(48px, 5vw, 76px); }
.hdr-pilot .hdr-cta h2 { max-width: 23ch; color: #fff; font-size: clamp(2rem, 3.2vw, 3.125rem); line-height: 1.16; }
.hdr-pilot .hdr-cta .hdr-kicker { color: #fff; margin-bottom: 20px; }
.hdr-pilot .hdr-cta-copy > p { max-width: 47ch; margin-bottom: 28px; font-size: 1.0625rem; line-height: 1.7; }
.hdr-pilot .hdr-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.hdr-pilot .hdr-cta-contact { display: inline-flex; min-height: 44px; align-items: center; border-bottom: 1px solid #ffffff90; }
.hdr-pilot .hdr-cta small { display: block; margin-top: 16px; font-size: .875rem; }
.hdr-pilot .hdr-cta :focus-visible { outline-color: #fff; }
/* Les mêmes repères d’atelier que les attributs, avec une phrase éditoriale en italique. */
.hdr-pilot .hdr-footer { padding: clamp(40px, 4vw, 56px) var(--hdr-pad) 20px; background: #fff; }
.hdr-pilot :where(.hdr-footer-grid, .hdr-footer-social, .hdr-footer-legal) { max-width: calc(1600px - var(--hdr-pad) - var(--hdr-pad)); margin-inline: auto; }
.hdr-pilot .hdr-footer-logo { display: block; width: 200px; max-width: 100%; margin-bottom: 18px; }
.hdr-pilot .hdr-footer-grid { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1.2fr; gap: 36px; }
.hdr-pilot .hdr-footer-grid > * { min-width: 0; }
.hdr-pilot .hdr-footer-brand p { color: var(--hdr-muted); font-size: .9375rem; line-height: 1.75; max-width: 28ch; margin-bottom: 16px; }
.hdr-pilot .hdr-footer-brand .hdr-footer-since { max-width: 32ch; font-size: .8125rem; line-height: 1.65; color: var(--hdr-ink); }
.hdr-pilot .hdr-footer-since span { display: block; margin-top: 4px; color: var(--hdr-blue); font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .875rem; font-variant-numeric: tabular-nums; }
.hdr-pilot .hdr-footer-brand .hdr-footer-statement { max-width: 26ch; color: var(--hdr-ink); font-family: Georgia, 'Times New Roman', serif; font-size: 1.25rem; font-style: italic; font-weight: 400; line-height: 1.5; letter-spacing: -.02em; margin-bottom: 18px; }
.hdr-pilot .hdr-footer-brand .hdr-footer-area { max-width: none; font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .75rem; line-height: 1.7; letter-spacing: .015em; }
.hdr-pilot .hdr-footer h2 { margin: 0 0 14px; padding-top: 12px; border-top: 1px solid var(--hdr-line); font: 400 .75rem/1.65 ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; letter-spacing: .025em; text-transform: none; color: var(--hdr-muted); }
.hdr-pilot .hdr-footer ul { list-style: none; padding: 0; }
.hdr-pilot .hdr-footer li { margin: 0; }
.hdr-pilot .hdr-footer li a, .hdr-pilot .hdr-footer-contact > a:not(.hdr-button) { display: flex; align-items: center; min-height: 44px; font-size: .9375rem; }
.hdr-pilot .hdr-footer-contact > a.hdr-footer-phone { color: var(--hdr-blue); font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.4; font-weight: 400; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.hdr-pilot .hdr-footer-contact > a { overflow-wrap: anywhere; }
.hdr-pilot .hdr-footer a:hover:not(.hdr-button) { color: var(--hdr-blue); }
.hdr-pilot .hdr-footer-contact address { font-size: .875rem; font-style: normal; margin-top: 16px; }
.hdr-pilot .hdr-footer-contact p { color: var(--hdr-muted); font-size: .875rem; margin-block: 8px 18px; }
.hdr-pilot .hdr-footer-social, .hdr-pilot .hdr-footer-legal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--hdr-line); margin-top: 36px; padding-top: 18px; color: var(--hdr-muted); font-size: .875rem; }
.hdr-pilot :is(.hdr-footer-social, .hdr-footer-legal) > p { font-family: ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .75rem; line-height: 1.7; }
.hdr-pilot .hdr-footer-social nav, .hdr-pilot .hdr-footer-legal nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.hdr-pilot .hdr-footer-social a, .hdr-pilot .hdr-footer-legal a { display: inline-flex; align-items: center; min-height: 44px; }
.hdr-pilot .hdr-footer-legal { margin-top: 18px; }
.hdr-pilot.hdr-dialog-open { overflow: hidden; }
.hdr-pilot .hdr-dialog { width: min(1500px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; background: #111318; color: #fff; overflow: auto; }
.hdr-pilot .hdr-dialog::backdrop { background: #0a0c11eb; }
.hdr-pilot .hdr-dialog-toolbar, .hdr-pilot .hdr-dialog-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; }
.hdr-pilot .hdr-dialog h2 { font: 500 1rem/1.5 Arial, Helvetica, sans-serif; color: #fff; max-width: 75%; }
.hdr-pilot .hdr-dialog button { min-height: 46px; padding: 10px 16px; color: #fff; background: transparent; border: 1px solid #ffffff60; border-radius: 0; }
.hdr-pilot .hdr-dialog figure { padding: 0 24px; }
.hdr-pilot .hdr-dialog img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 220px); object-fit: contain; margin-inline: auto; }
.hdr-pilot .hdr-dialog [data-hdr-error] { text-align: center; font-size: .9375rem; margin-top: 16px; }
.hdr-pilot .hdr-dialog-controls > div { display: flex; gap: 10px; }
.hdr-pilot .hdr-dialog-controls p { font-size: .875rem; }
.hdr-pilot .hdr-dialog :focus-visible { outline-color: #fff; }
@media (max-width: 1150px) {
  .hdr-pilot .hdr-header { flex-wrap: wrap; }
  .hdr-pilot .hdr-navigation { justify-content: flex-start; width: 100%; max-height: calc(100dvh - var(--hdr-admin-offset) - 106px); overflow-y: auto; overscroll-behavior: contain; }
  .hdr-pilot .hdr-services > div { position: static; width: auto; box-shadow: none; margin-top: 6px; }
  .hdr-pilot.hdr-js .hdr-navigation { display: none; }
  .hdr-pilot.hdr-js .hdr-navigation.hdr-menu-open { display: flex; }
  .hdr-pilot.hdr-js .hdr-menu-toggle { display: block; }
  .hdr-pilot .hdr-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(n) { grid-column: span 6; }
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(n) .hdr-photo-link { height: clamp(270px, 34vw, 360px); }
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(odd):last-child { grid-column: 1 / -1; }
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(odd):last-child .hdr-photo-link { height: clamp(360px, 52vw, 560px); }
}
@media (max-width: 782px) { body.admin-bar.hdr-pilot { --hdr-admin-offset: 46px; } }
@media (max-width: 760px) {
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(n),
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(odd):last-child { grid-column: 1 / -1; }
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(n) .hdr-photo-link,
  .hdr-pilot .hdr-gallery-grid > figure:nth-child(odd):last-child .hdr-photo-link { height: clamp(230px, 72vw, 440px); }
}
@media (max-width: 900px) {
  .hdr-pilot .hdr-story { grid-template-columns: 1fr; gap: 28px; }
  /* Sur les petits écrans, la photo et le texte se succèdent sans superposition. */
  .hdr-pilot .hdr-hero-with-image .hdr-hero-image { position: relative; inset: auto; }
  .hdr-pilot .hdr-hero-with-image .hdr-hero-image img { height: auto; max-height: clamp(240px, 70vw, 360px); object-fit: cover; object-position: center; }
  /* Reserve the photo's existing mobile dimensions before the image loads. */
  .hdr-pilot .hdr-hero-with-image .hdr-hero-image-sized { width: 100%; aspect-ratio: var(--hdr-hero-image-ratio); max-height: clamp(240px, 70vw, 360px); }
  .hdr-pilot .hdr-hero-with-image .hdr-hero-image-sized img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
  .hdr-pilot .hdr-hero-inner { justify-content: center; padding-block: 24px; }
  .hdr-pilot .hdr-hero-with-image .hdr-hero-inner { min-height: 0; }
  .hdr-pilot .hdr-hero-card { max-width: none; padding: 0; }
  .hdr-pilot .hdr-hero-with-image .hdr-hero-card { background: #fff; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .hdr-pilot .hdr-section-heading { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 12px; }
  .hdr-pilot .hdr-section-heading > .hdr-text-link { justify-self: start; }
  .hdr-pilot .hdr-cta-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .hdr-pilot .hdr-header { gap: 16px; }
  .hdr-pilot .hdr-brand { flex-basis: 145px; }
  .hdr-pilot .hdr-brand .hdr-logo { width: 145px; }
  .hdr-pilot .hdr-navigation, .hdr-pilot.hdr-js .hdr-navigation.hdr-menu-open { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 4px; }
  .hdr-pilot .hdr-services > div { position: static; width: auto; box-shadow: none; margin-top: 6px; }
  .hdr-pilot .hdr-facts dl { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .hdr-pilot .hdr-facts dd { font-size: 1rem; }
  .hdr-pilot .hdr-facts .hdr-fact-surface dd { font-size: 1.375rem; }
  .hdr-pilot .hdr-facts .hdr-fact-artist dd { font-size: 1.25rem; }
  .hdr-pilot .hdr-related-grid, .hdr-pilot .hdr-offer, .hdr-pilot .hdr-footer-grid { grid-template-columns: 1fr; }
  .hdr-pilot .hdr-offer { gap: 24px; }
  .hdr-pilot .hdr-hero h1 { font-size: clamp(1.875rem, 6.8vw, 2.375rem); }
  .hdr-pilot .hdr-hero-actions .hdr-button { width: 100%; }
  .hdr-pilot .hdr-footer-logo { width: 185px; }
  .hdr-pilot .hdr-footer-brand .hdr-footer-statement { max-width: 32ch; font-size: 1.1875rem; }
  .hdr-pilot .hdr-copy { font-size: 1rem; }
  .hdr-pilot .hdr-cta-contact { width: fit-content; }
  .hdr-pilot .hdr-footer-grid { gap: 30px; }
  .hdr-pilot .hdr-dialog-toolbar, .hdr-pilot .hdr-dialog-controls { padding: 14px; gap: 12px; }
  .hdr-pilot .hdr-dialog figure { padding-inline: 14px; }
  .hdr-pilot .hdr-dialog-controls { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .hdr-pilot { scroll-behavior: auto; } }
@media print { .hdr-pilot .hdr-header, .hdr-pilot .hdr-footer, .hdr-pilot .hdr-dialog, .hdr-pilot .hdr-cta { display: none; } }
