/* 4D Line Concept : styles locaux. Les traitements sont décrits dans la notice de confidentialité. */
:root {
  color-scheme: dark;
  --ink: #142021;
  --dark: #101819;
  --dark-2: #182325;
  --night: #0d1517;
  --cream: #efece6;
  --paper: #f4f1ea;
  --muted: #9caaa8;
  --orange: #daa878;
  --orange-light: #e6c39c;
  --line-dark: rgba(246,244,238,.13);
  --container: 1360px;
  font-family: "Segoe UI", "Aptos", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; min-width: 320px; background: var(--night); color: var(--cream); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 400; line-height: 1.07; letter-spacing: -.052em; }
h1 em, h2 em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.048em; }
h2 { font-size: clamp(2.75rem, 5.5vw, 5.65rem); }
h3 { font-weight: 500; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
::selection { background: var(--orange); color: #132123; }
.container { width: min(calc(100% - 92px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 200; top: -90px; left: 16px; background: #fff; padding: 14px; color: #111; }
.skip-link:focus { top: 12px; }
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--orange); font-size: .69rem; font-weight: 700; letter-spacing: .19em; line-height: 1.5; }
.eyebrow-line { display: inline-block; height: 1px; width: 33px; background: currentColor; }
.eyebrow-dark { color: #986f52; }
.section { padding: clamp(92px, 10vw, 156px) 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 50px; margin-bottom: 63px; }
.section-heading h2 { margin: 21px 0 0; max-width: 880px; }
.section-heading > p { margin: 0 0 8px; width: 285px; min-width: 250px; font-size: .94rem; line-height: 1.8; color: #596360; }
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 34px; border: 1px solid transparent; min-height: 57px; padding: 15px 24px; font-size: .82rem; font-weight: 650; transition: transform .2s, background-color .2s, color .2s; }
.btn span { font-size: 1.1rem; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #192326; background: var(--orange); }
.btn-primary:hover { background: var(--orange-light); }
.btn-dark { color: white; background: var(--dark); }
.btn-full { width: 100%; }

/* En-tête */
.site-header { height: 100px; position: relative; z-index: 10; background: #101819; border-bottom: 1px solid var(--line-dark); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 13px; flex: 0 0 auto; }
.brand-symbol { width: 42px; height: 42px; position: relative; transform: rotate(-25deg); }
.brand-symbol span { position: absolute; display: block; border: 1.5px solid var(--orange); width: 24px; height: 24px; transform: rotate(45deg) skew(-7deg,-7deg); }
.brand-symbol span:nth-child(1) { left: 4px; top: 5px; }
.brand-symbol span:nth-child(2) { left: 14px; top: 8px; opacity: .8; }
.brand-symbol span:nth-child(3) { left: 9px; top: 16px; opacity: .5; }
.brand-wordmark { display: block; font-size: .86rem; line-height: 1.1; white-space: nowrap; letter-spacing: .1em; }
.brand-wordmark strong, .footer-brand strong { font-weight: 800; }
.brand-wordmark small { display: block; margin-top: 7px; font-size: .45rem; font-weight: 650; letter-spacing: .31em; color: #9ca9a4; }
.primary-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: .81rem; color: #d8ddda; }
.primary-nav > a { transition: color .2s; white-space: nowrap; }
.primary-nav > a:hover { color: var(--orange); }
.primary-nav .nav-cta { border: 1px solid rgba(239,236,230,.32); padding: 13px 17px; color: #fff; }
.nav-cta span { margin-left: 15px; color: var(--orange); }
.menu-toggle { display: none; border: 1px solid var(--line-dark); background: transparent; width: 44px; height: 44px; padding: 12px; }
.menu-toggle span { display: block; width: 100%; height: 1px; margin: 4px 0; background: white; }

/* Hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 74% 37%, #203238 0%, #152125 38%, #0f191b 74%); }
.hero-halo { position: absolute; pointer-events: none; width: 760px; height: 760px; left: 42%; top: -340px; background: radial-gradient(circle, rgba(179,116,73,.11),transparent 63%); }
.hero-layout { min-height: min(760px, 79vw); display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); align-items: center; gap: clamp(25px, 4.1vw, 68px); padding-top: 72px; padding-bottom: 76px; }
.hero-content { position: relative; z-index: 1; min-width: 0; }
.hero-content .eyebrow { margin-bottom: 30px; }
.hero h1 { font-size: clamp(3.2rem, 4.8vw, 6rem); margin: 0 0 33px; letter-spacing: -.065em; }
.hero h1 em { display: inline-block; color: #e8c29d; white-space: normal; }
.hero-lede { max-width: 470px; font-size: clamp(.99rem, 1.25vw, 1.12rem); line-height: 1.9; color: #b4c0be; margin-bottom: 37px; }
.hero-actions { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.text-link, .underlined-link { border-bottom: 1px solid rgba(233,226,211,.44); padding-bottom: 6px; font-size: .85rem; }
.text-link span, .underlined-link span { margin-left: 10px; color: var(--orange); }
.hero-footnote { margin-top: 80px; display: flex; align-items: center; gap: 15px; color: #6f8281; font-size: .63rem; letter-spacing: .15em; }
.hero-footnote p { margin: 0; }
.thin-rule { width: 29px; height: 1px; background: #5e7374; }
.hero-visual { position: relative; z-index: 1; min-width: 0; }
.scene-frame { position: relative; width: 100%; border: 1px solid #485758; background: linear-gradient(145deg, #9fa8a3, #586869); box-shadow: 0 34px 80px rgba(0,0,0,.22); overflow: hidden; }
.scene-frame::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(ellipse at 52% 26%, rgba(249,236,213,.3), transparent 55%); }
.scene-frame.is-night { background: linear-gradient(140deg, #2e414a, #16272d); }
.scene-frame.is-night::before { background: radial-gradient(ellipse at 50% 10%, rgba(171,177,175,.15), transparent 60%); }
.scene-topline { position: relative; z-index: 2; padding: 18px 23px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 15px; color: #f3f6f3; background: linear-gradient(180deg,rgba(11,21,23,.19),transparent); font-size: .62rem; font-weight: 650; letter-spacing: .16em; }
.scene-dot::before { content:""; width: 6px; height: 6px; display: inline-block; vertical-align: middle; background: #dfbf9c; border-radius: 50%; margin-right: 8px; }
.scene-viewport { position: relative; height: clamp(345px,36vw,530px); touch-action: pan-y; overflow: hidden; }
.scene-viewport canvas, .scene-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene-viewport canvas { display: block; z-index: 1; cursor: grab; }
.scene-viewport canvas:active { cursor: grabbing; }
.scene-fallback { display: grid; place-items: center; opacity: .9; }
.scene-fallback img { height: 100%; object-fit: cover; }
.scene-viewport.has-renderer .scene-fallback { display: none; }
.scene-controls { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 19px 21px; color: #f6f7f3; background: rgba(20,34,38,.64); }
.scene-control-col { display: flex; flex-direction: column; gap: 3px; }
.micro-label { font-size: .57rem; font-weight: 700; letter-spacing: .12em; color: #d9e1de; }
.scene-interaction { font-size: .73rem; color: #b9c6c3; }
.lighting-toggle { border: 1px solid rgba(255,255,255,.35); display: flex; padding: 3px; flex: none; }
.light-option { border: 0; min-width: 50px; background: transparent; color: #f2f2ec; padding: 6px 10px; font-size: .7rem; }
.light-option.is-active { color: var(--ink); background: var(--paper); }
.floating-note { position: absolute; right: -19px; bottom: -31px; display: flex; gap: 8px; font-size: .58rem; font-weight: 700; letter-spacing: .12em; color: var(--orange); }
.floating-note span { margin-right: 15px; color: #a8b1ad; }
.scroll-cue { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 13px; color: #899b9b; font-size: .56rem; font-weight: 700; letter-spacing: .16em; }
.scroll-cue span { display: block; width: 1px; height: 24px; background: #899b9b; }
.strip { border-block: 1px solid var(--line-dark); background: #132022; }
.strip-inner { min-height: 70px; display: flex; justify-content: center; align-items: center; gap: clamp(20px,5vw,85px); font-size: .64rem; letter-spacing: .19em; font-weight: 700; white-space: nowrap; }
.strip-inner span { color: #a5b5af; }
.strip-inner i { color: var(--orange); font-size: 1.15rem; font-style: normal; }

/* Portfolio */
.work-section { color: var(--ink); background: var(--paper); }
.work-heading h2 { max-width: 690px; }
.work-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 72px; }
.work-card { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(240px,1fr); align-items: center; gap: 42px; min-width: 0; }
.work-card > .project-gallery { grid-column: 1; grid-row: 1; }
.work-info { grid-column: 2; grid-row: 1; min-width: 0; }
.work-info h3 { margin: 20px 0; font-size: clamp(1.6rem,2.6vw,2.7rem); line-height: 1.15; letter-spacing: -.045em; }
.work-caption { color: #52615c; font-size: .95rem; line-height: 1.8; }
.work-media-count { padding-block: 18px; margin-block: 24px 18px; border-block: 1px solid #d8d9d1; font-size: .75rem; font-weight: 650; letter-spacing: .04em; }
.work-note { color: #596760; font-size: .78rem; line-height: 1.7; }
.gallery-open { background: none; color: var(--ink); border: 0; border-bottom: 1px solid; padding: 6px 0; margin-top: 12px; font-size: .85rem; }
.work-card:not(.work-card-featured) { padding-top: 52px; border-top: 1px solid #d8d9d1; grid-template-columns: minmax(0,1.2fr) minmax(240px,1fr); }
.project-gallery { min-width: 0; }
.gallery-stage { display: grid; place-items: center; background: #101819; overflow: hidden; aspect-ratio: 1.52; }
.gallery-stage > img, .gallery-stage video, .gallery-enlarge, .gallery-enlarge img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.gallery-stage video { display: block; aspect-ratio: 16/9; }
.gallery-enlarge { display: block; position: relative; padding: 0; border: 0; background: transparent; color: white; cursor: zoom-in; }
.gallery-enlarge-label { position: absolute; right: 16px; bottom: 16px; padding: 8px 13px; background: rgba(16,24,25,.86); font-size: .72rem; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; }
.gallery-status { margin: 0; color: #41534b; font-size: .8rem; }
.gallery-arrow { width: 42px; height: 42px; flex-shrink: 0; border: 1px solid #a4afa7; background: transparent; color: var(--ink); font-size: 1.2rem; }
.gallery-arrow:hover { background: #e5e3da; }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 8px; }
.gallery-thumbnail { position: relative; border: 2px solid transparent; padding: 2px; background: transparent; min-width: 0; }
.gallery-thumbnail[aria-pressed="true"] { border-color: #986f52; }
.gallery-thumbnail img { height: auto; aspect-ratio: 1.4; object-fit: cover; }
.thumbnail-label { position: absolute; left: 5px; bottom: 5px; padding: 1px 5px; color: white; background: rgba(16,24,25,.86); font-size: .65rem; }
.work-disclaimer { font-size: .75rem; margin: 24px 0 0; color: #7c8781; }
.inline-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 70px; padding-top: 30px; border-top: 1px solid #d8d9d1; }
.inline-cta > span { font-size: clamp(1.25rem,2.4vw,2rem); letter-spacing: -.035em; }
.underlined-link { border-bottom-color: #929c94; }

/* Offres */
.expertise-section { background: #172324; }
.expertise-heading > p { color: #a1b0ac; }
.expertise-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-block: 1px solid var(--line-dark); }
.expertise-card { position: relative; padding: 37px 16px 43px 0; min-height: 310px; }
.expertise-card:not(:last-child) { margin-right: 15px; border-right: 1px solid var(--line-dark); }
.service-icon { display: inline-block; color: var(--orange); font-size: 3rem; height: 86px; line-height: 1; }
.service-index { display: block; color: var(--orange); font-size: .61rem; font-weight: 700; letter-spacing: .18em; margin-bottom: 19px; }
.expertise-card h3 { font-size: clamp(1.3rem,1.8vw,1.85rem); font-weight: 450; letter-spacing: -.04em; margin: 0 0 16px; }
.expertise-card p { color: #a6b4b1; max-width: 320px; font-size: .9rem; line-height: 1.8; }
.service-arrow { position: absolute; bottom: 28px; right: 33px; color: var(--orange); font-size: 1.2rem; }

/* Manifeste */
.statement-section { padding: 124px 0; background: #263433; position: relative; text-align: center; overflow: hidden; }
.statement-section::before { content: ""; display: block; position: absolute; inset: 0; opacity: .19; background-image: linear-gradient(90deg,transparent 49.93%,rgba(255,255,255,.12) 50%,transparent 50.07%),linear-gradient(0deg,transparent 49.93%,rgba(255,255,255,.12) 50%,transparent 50.07%); background-size: 95px 95px; }
.statement-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.decor-star { font-size: 2.6rem; color: var(--orange); margin-bottom: 26px; }
.statement-section h2 { margin: 15px 0 27px; max-width: 1000px; font-size: clamp(2.7rem,5.2vw,5.6rem); }
.statement-section h2 em { color: #e5bd98; }
.statement-section .statement-inner > p:last-child { max-width: 535px; margin: 0; color: #b5c4c0; line-height: 1.85; font-size: .96rem; }

/* Démarche */
.process-section { background: #e8e5df; color: var(--ink); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.process-grid article { border-top: 1px solid #bfc6c0; padding-top: 25px; }
.process-grid article > span { display: block; margin-bottom: 52px; color: #a07a59; font-size: .74rem; font-weight: 700; }
.process-grid h3 { font-size: 1.45rem; font-weight: 520; letter-spacing: -.035em; margin-bottom: 14px; }
.process-grid p { font-size: .89rem; color: #5c6965; line-height: 1.8; max-width: 230px; }

/* Contact */
.contact-section { padding: clamp(100px,11vw,170px) 0; background: radial-gradient(ellipse at 15% 20%, #233536, #0f1b1c 66%); }
.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px,7vw,130px); align-items: start; }
.contact-intro .eyebrow { margin-bottom: 28px; }
.contact-intro h2 { font-size: clamp(3.2rem,5.2vw,6rem); margin-bottom: 30px; }
.contact-intro h2 em { color: #e8c09b; }
.contact-intro > p:not(.eyebrow):not(.contact-smallprint) { max-width: 460px; color: #a9bab6; line-height: 1.85; }
.contact-location { display: flex; align-items: center; gap: 13px; margin-top: 55px; font-size: .85rem; color: #d4ded9; }
.gold-dot { width: 8px; height: 8px; background: var(--orange); border-radius: 50%; }
.contact-smallprint { font-size: .76rem; color: #83938e; margin-top: 15px; }
.contact-form-panel { background: #f3f0e9; color: var(--ink); padding: clamp(25px,4vw,55px); }
.form-topline { display: flex; justify-content: space-between; font-size: .67rem; letter-spacing: .16em; font-weight: 700; color: #68736c; padding-bottom: 30px; margin-bottom: 30px; border-bottom: 1px solid #d6d9d1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
form label { display: block; margin-bottom: 21px; font-size: .75rem; font-weight: 650; color: #44504c; }
form label span { color: #996c4c; }
form input, form textarea, form select { display: block; width: 100%; min-width: 0; outline: none; color: #172323; background: #fffdf8; border: 1px solid #d0d4cf; border-radius: 0; padding: 12px 13px; font-size: .88rem; font-weight: 400; margin-top: 9px; }
form input:focus, form textarea:focus, form select:focus { border-color: #b47e58; outline: 1px solid #b47e58; }
form input::placeholder, form textarea::placeholder { color: #9aa4a0; }
form textarea { resize: vertical; min-height: 125px; }
form input[aria-invalid="true"], form textarea[aria-invalid="true"],form select[aria-invalid="true"] { border-color: #ad4d43; }
.form-hint { margin: 14px 0 0; font-size: .72rem; color: #7c8881; line-height: 1.5; }
.form-status { min-height: 1.6em; font-size: .81rem; line-height: 1.65; color: #496455; margin: 15px 0 0; }
.form-status.is-error { color: #9c473e; }

/* Bas de page */
.site-footer { padding-top: 65px; background: #0b1516; }
.footer-main { padding-bottom: 70px; display: flex; justify-content: space-between; align-items: start; gap: 35px; }
.footer-brand { font-size: clamp(1.1rem,2vw,1.65rem); letter-spacing: .07em; }
.footer-brand small { display: block; font-size: .59rem; letter-spacing: .24em; color: #95a5a0; margin-top: 12px; }
.footer-links { display: flex; gap: 30px; font-size: .84rem; color: #bcc7c2; flex-wrap: wrap; }
.footer-links a:hover { color: var(--orange); }
.footer-bottom { display: flex; gap: 18px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-dark); padding-block: 28px; font-size: .58rem; letter-spacing: .08em; color: #7c8d88; }
.footer-bottom a { color: #d0a780; white-space: nowrap; }

/* Fenêtre projet */
.project-dialog { width: min(1160px,calc(100% - 28px)); max-height: 92dvh; overscroll-behavior: contain; border: 0; border-radius: 0; padding: 0; color: #192524; background: var(--paper); box-shadow: 0 30px 100px rgba(0,0,0,.4); }
.project-dialog::backdrop { background: rgba(7,13,13,.83); backdrop-filter: blur(7px); }
.project-dialog .gallery-stage { aspect-ratio: auto; height: min(59dvh,650px); padding-top: 54px; }
.project-dialog .gallery-toolbar, .project-dialog .gallery-thumbnails { margin-inline: 24px; }
.project-dialog .gallery-thumbnails { max-width: 620px; margin-inline: auto; padding-inline: 12px; }
body:has(.project-dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; top: 12px; right: 13px; z-index: 2; width: 43px; height: 43px; background: var(--paper); border: 0; color: #1f302e; font-size: 1.8rem; }
.dialog-body { padding: 35px; }
.dialog-body h2 { font-size: clamp(2rem,4vw,3.4rem); margin: 12px 0; }
.dialog-body p:not(.eyebrow) { color: #5c6762; margin-bottom: 26px; }

/* Responsive */
@media (max-width: 1140px) {
  .container { width: min(calc(100% - 62px),var(--container)); }
  .hero-layout { grid-template-columns: minmax(0,1fr) minmax(0,.94fr); gap: 20px; }
  .hero h1 { font-size: clamp(3.2rem,5.65vw,6.3rem); }
  .hero-actions { gap: 18px; }
  .hero-footnote { margin-top: 48px; }
  .scene-viewport { height: 390px; }
}
@media (max-width: 830px) {
  .container { width: min(calc(100% - 42px),var(--container)); }
  .site-header { height: 77px; }
  .menu-toggle { display: block; }
  .primary-nav { display: none; position: absolute; top: 77px; left: 0; right: 0; background: #101819; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); flex-direction: column; align-items: stretch; gap: 0; padding: 14px 23px 26px; box-shadow: 0 15px 30px rgba(0,0,0,.24); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 14px 6px; }
  .primary-nav .nav-cta { margin-top: 10px; text-align: center; }
  .hero-layout { min-height: unset; display: flex; flex-direction: column; gap: 54px; align-items: stretch; padding-block: 80px 90px; }
  .hero h1 { font-size: clamp(3.7rem,9vw,6rem); }
  .hero-content { max-width: 650px; }
  .hero-visual { max-width: 690px; width: 100%; margin-inline: auto; }
  .scene-viewport { height: clamp(330px,63vw,520px); }
  .floating-note { right: 1px; bottom: -30px; }
  .hero-footnote { margin-top: 40px; }
  .scroll-cue { display: none; }
  .section-heading { display: block; margin-bottom: 38px; }
  .section-heading > p { margin: 22px 0 0; width: auto; max-width: 520px; }
  .expertise-grid { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .expertise-card { margin-right: 0 !important; border-right: 0 !important; border-bottom: 1px solid var(--line-dark); }
  .expertise-card:nth-child(odd) { margin-right: 25px !important; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 40px 25px; }
  .process-grid article > span { margin-bottom: 29px; }
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-intro h2 { max-width: 660px; }
  .contact-location { margin-top: 28px; }
}
@media (max-width: 570px) {
  .container { width: calc(100% - 36px); }
  .brand-wordmark { font-size: .74rem; }
  .brand-wordmark small { font-size: .39rem; letter-spacing: .25em; }
  .brand-symbol { transform: scale(.88) rotate(-25deg); margin-right: -4px; }
  .hero-layout { padding: 65px 0 76px; gap: 40px; }
  .hero h1 { font-size: clamp(3.15rem,11vw,4.7rem); }
  .hero h1 em { white-space: normal; }
  .hero-lede { font-size: .96rem; }
  .hero-actions { display: flex; flex-direction: column; align-items: stretch; max-width: 340px; }
  .hero-actions .text-link { align-self: start; margin-top: 6px; }
  .hero-footnote { letter-spacing: .08em; font-size: .56rem; margin-top: 48px; }
  .scene-topline { padding: 14px; font-size: .51rem; }
  .scene-viewport { height: 330px; }
  .scene-controls { padding: 14px; }
  .scene-control-col .micro-label { font-size: .49rem; }
  .scene-interaction { font-size: .64rem; }
  .light-option { padding: 5px 8px; min-width: 43px; }
  .floating-note { font-size: .52rem; bottom: -27px; }
  .floating-note span { margin-right: 4px; }
  .strip-inner { justify-content: start; overflow: auto; gap: 22px; font-size: .52rem; }
  .section { padding: 85px 0; }
  h2 { font-size: clamp(2.7rem,9vw,4.5rem); }
  .work-grid, .expertise-grid { grid-template-columns: 1fr; }
  .work-grid { gap: 42px; }
  .work-info { display: block; }
  .work-type { display: block; margin-top: 12px; }
  .inline-cta { display: block; margin-top: 45px; }
  .inline-cta a { display: inline-block; margin-top: 20px; }
  .expertise-card { margin-right: 0 !important; padding-right: 20px; min-height: 270px; }
  .service-icon { height: 66px; }
  .statement-section { padding: 90px 0; }
  .statement-section h2 { font-size: clamp(2.6rem,8vw,4.2rem); }
  .process-grid { gap: 32px 22px; }
  .process-grid h3 { font-size: 1.24rem; }
  .process-grid p { font-size: .83rem; }
  .contact-form-panel { padding: 26px 19px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-main { display: block; padding-bottom: 45px; }
  .footer-links { margin-top: 32px; gap: 18px; }
  .footer-bottom { display: block; line-height: 2.2; }
  .footer-bottom span, .footer-bottom a { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* La réalisation principale conserve une galerie généreuse sur petit écran. */
@media (max-width: 960px) {
  .work-card, .work-card:not(.work-card-featured) { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .work-info { grid-column: 1; grid-row: 1; }
  .work-card > .project-gallery { grid-column: 1; grid-row: 2; }
  .work-info h3 { max-width: 680px; }
  .work-info .work-caption { max-width: 650px; }
}
@media (max-width: 570px) {
  .gallery-thumbnails { gap: 3px; }
  .gallery-thumbnail { padding: 1px; min-height: 44px; }
  .thumbnail-label { font-size: .55rem; left: 2px; bottom: 2px; padding-inline: 2px; }
  .gallery-status { font-size: .72rem; }
  .gallery-arrow { width: 38px; height: 38px; }
  .project-dialog .gallery-toolbar { margin-inline: 12px; }
  .dialog-body { padding: 24px 18px; }
  .dialog-body .btn { gap: 12px; }
}

/* Véritable modèle GLB du van ; aucune ressource distante au chargement. */
#project-model { display: block; width: 100%; height: 100%; --poster-color: transparent; --progress-bar-color: var(--orange); }
#project-model[hidden], .scene-fallback[hidden] { display: none; }
#project-model img[slot="poster"] { height: 100%; object-fit: contain; background: #182325; }
.scene-fallback img { object-fit: contain; background: #182325; }
.scene-fallback-link { position: absolute; bottom: 20px; left: 20px; right: 20px; padding: 12px; background: #172324; color: var(--cream); text-align: center; }
.scene-control-col { flex: 1 1 230px; min-width: 0; }
.model-actions { width: 100%; display: flex; justify-content: space-between; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.18); }
.model-action { border: 0; background: transparent; color: var(--cream); padding: 7px 0; font-size: .76rem; }
.scene-controls button:disabled { opacity: .5; cursor: wait; }
.scene-frame:fullscreen { display: flex; flex-direction: column; background: #6b7d7d; }
.scene-frame:fullscreen .scene-viewport { flex: 1; min-height: 0; height: auto; }
.scene-frame:fullscreen .scene-topline, .scene-frame:fullscreen .scene-controls { flex-shrink: 0; }
.scene-frame:fullscreen.is-night { background: #16272d; }
@media (max-width: 570px) {
  .scene-control-col { flex-basis: 165px; }
  .scene-frame:fullscreen .scene-controls { padding: 12px; }
}

.model-selector, .camera-modes { display: flex; flex-wrap: wrap; gap: 6px; }
.model-selector { padding: 0 20px 14px; position: relative; z-index: 2; }
.model-choice { border: 1px solid rgba(255,255,255,.24); color: var(--cream); background: rgba(16,24,25,.35); padding: 9px 13px; font-size: .75rem; }
.model-choice.is-active { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.camera-modes { width: 100%; }
.scene-frame:fullscreen .model-selector { flex-shrink: 0; }

@media (min-width: 831px) {
  #scene-viewport { height: clamp(320px,29vw,450px); }
}
.scene-frame:fullscreen #scene-viewport { height: auto; }

/* Éclairage Soir conservé par défaut ; commandes en réserve. */
.lighting-toggle[hidden] { display: none; }

/* Pages d’information : documents locaux en préparation avant identification. */
.legal-links { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.form-hint a, .legal-content a { text-decoration: underline; text-underline-offset: 3px; }
#prepare-brief:disabled { opacity: .55; cursor: not-allowed; }

.legal-page {
  color-scheme: light;
  background: #f7f5f1;
  color: #1a2423;
  min-height: 100vh;
}
.legal-header {
  padding: 18px 0;
  background: var(--night);
  color: var(--cream);
  border-bottom: 1px solid var(--line-dark);
}
.legal-header .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  width: min(calc(100% - 40px), 720px);
}
.legal-header a { font-size: .85rem; opacity: .92; }
.legal-header a:hover { color: var(--orange-light); }

.legal-content {
  width: min(calc(100% - 40px), 680px);
  margin: 0 auto;
  padding: 40px 0 72px;
}
.legal-content .eyebrow {
  margin: 0 0 12px;
  font-size: .65rem;
  letter-spacing: .16em;
}
.legal-content h1,
.legal-content h2,
.legal-content h3 {
  font-weight: 650;
  letter-spacing: -.01em;
  line-height: 1.25;
  color: #142021;
}
.legal-content h1 {
  font-size: clamp(1.65rem, 4vw, 2rem);
  margin: 0 0 20px;
}
.legal-content h2 {
  font-size: 1.15rem;
  margin: 36px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #d9dbd4;
}
.legal-content h3 {
  font-size: 1rem;
  margin: 22px 0 8px;
}
.legal-content p,
.legal-content li,
.legal-content dd {
  color: #3a4a46;
  font-size: .95rem;
  line-height: 1.7;
}
.legal-content p { margin: 0 0 14px; max-width: 62ch; }
.legal-content dl {
  margin: 8px 0 0;
  padding: 0;
  border: 1px solid #d9dbd4;
  background: #fff;
}
.legal-content dt {
  margin: 0;
  padding: 12px 16px 0;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #5c6b66;
}
.legal-content dd {
  margin: 4px 0 0;
  padding: 0 16px 14px;
  border-bottom: 1px solid #eceae4;
}
.legal-content dd:last-child { border-bottom: 0; }
.legal-draft {
  margin: 0 0 28px;
  padding: 14px 16px;
  border-left: 3px solid #986f52;
  background: #efeae1;
}
.legal-content .legal-draft p {
  margin: 0;
  font-size: .9rem;
  line-height: 1.65;
  color: #3e514a;
}
.legal-footer {
  border-top: 1px solid #d8d9d1;
  padding-top: 20px;
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  font-size: .88rem;
}
@media (max-width: 600px) {
  .legal-content { padding-top: 28px; }
  .legal-content h1 { font-size: 1.5rem; }
}
@media print {
  .legal-header, .legal-footer { display: none; }
  .legal-content { width: 100%; padding: 0; }
  .legal-content dl { border: 0; }
}
