:root {
  color-scheme: light;
  --paper: #f6f5f1;
  --ink: #191a18;
  --muted: #64645f;
  --line: #d7d7d0;
  --gutter: clamp(16px, 2.2vw, 44px);
  --sans: "Inter", "Helvetica Neue", Helvetica, sans-serif;
  --serif: "Apple Garamond", "Iowan Old Style", "Baskerville", Garamond, serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
body.film-is-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a, button { touch-action: manipulation; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
::selection { background: #d7d3c5; color: #191a18; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.06; letter-spacing: -.055em; font-weight: 650; }
h2 { font-size: clamp(34px, 4.8vw, 70px); }
h3 { font-size: 26px; }
p { text-wrap: pretty; }
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; top: 10px; left: 10px; padding: 12px 18px; background: var(--ink); color: white; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { max-width: 2000px; margin: auto; padding: 28px var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { font-size: 32px; font-weight: 900; letter-spacing: -.08em; line-height: 1; }
.wordmark span { margin-left: 1px; }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 52px); font-size: 13px; }
.main-nav a { padding: 6px 0; position: relative; }
.main-nav a::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current]::after { transform: scaleX(1); }
.eyebrow { text-transform: uppercase; font-size: 10px; letter-spacing: .14em; font-weight: 600; line-height: 1.5; }
.script-word, .script-line { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.055em; }
.script-line { display: block; }
.section { max-width: 1440px; margin-inline: auto; padding: clamp(64px, 8vw, 124px) clamp(22px, 6vw, 96px); }
.section-heading { max-width: 820px; margin-bottom: clamp(32px, 4vw, 64px); }
.section-heading .eyebrow, .section-grid .eyebrow { margin-bottom: 22px; }
.section-heading p:not(.eyebrow) { color: var(--muted); max-width: 590px; margin-top: 24px; }
.section-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.section-copy { color: var(--muted); max-width: 560px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 24px; border: 1px solid var(--ink); font-size: 12px; font-weight: 550; transition: background .25s, color .25s; }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: #383a33; }
.button-secondary:hover { background: #e5e4de; }
.home-intro { max-width: 2000px; margin: auto; padding: 44px var(--gutter) 52px; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.home-intro h1 { font-size: clamp(42px, 4.6vw, 70px); }
.home-intro h1 span { display: block; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.025em; font-weight: 400; margin-top: 13px; }
.home-intro .eyebrow { margin-bottom: 3px; }
.film-selection { max-width: 2000px; margin: auto; padding-inline: var(--gutter); }
.selection-heading { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 13px 0 17px; font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .09em; }
.selection-heading h2 { font: inherit; color: var(--ink); }
.film-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 24px 14px; align-items: start; grid-auto-flow: row dense; }
.film-card { min-width: 0; }
.film-card-landscape { grid-column: 1; }
.film-card-portrait { grid-column: 2; grid-row: span 2; }
/* Une sélection horizontale reste équilibrée lorsque l'on ajoute des films. */
.film-grid[data-film-count="2"], .film-grid[data-film-layout="landscape"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.film-grid[data-film-count="2"] .film-card, .film-grid[data-film-layout="landscape"] .film-card { grid-column: auto; grid-row: auto; }
.film-grid[data-film-layout="landscape"] .film-card-featured { grid-column: 1 / -1; }
.film-open { display: block; width: 100%; padding: 0; border: 0; text-align: left; background: transparent; }
.film-cover { display: block; position: relative; background: #151613; overflow: hidden; }
.film-cover img { width: 100%; height: auto; transition: opacity .4s; }
.film-play { position: absolute; bottom: 18px; right: 18px; color: white; background: #191a1880; border: 1px solid #ffffff60; padding: 8px 13px; font-size: 10px; letter-spacing: .06em; backdrop-filter: blur(8px); transition: background .25s; }
.film-open:hover .film-play, .film-open:focus-visible .film-play { background: #f6f5f1; color: var(--ink); }
.film-caption { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding-top: 13px; font-size: 11px; color: var(--muted); }
.film-card-title { font-size: 17px; color: var(--ink); font-weight: 550; letter-spacing: -.025em; }
.home-more, .home-contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 8vw, 130px); }
.home-more { margin-top: clamp(30px, 4vw, 80px); }
.home-more > div > p:not(.eyebrow) { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.045em; margin-top: 25px; }
.editorial-links a, .home-contact-links a { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 27px 0; border-top: 1px solid var(--line); transition: border-color .25s; }
.editorial-links a:hover, .home-contact-links a:hover { border-color: var(--ink); }
.editorial-links a:last-child, .home-contact-links a:last-child { border-bottom: 1px solid var(--line); }
.editorial-links small, .home-contact-links small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.editorial-links strong { display: block; font-size: 25px; letter-spacing: -.04em; font-weight: 500; margin: 7px 0; }
.editorial-links a > span > span { font-size: 12px; color: var(--muted); display: block; }
.link-arrow, .home-contact-links a > span:last-child { font-size: 26px; font-weight: 300; }
.home-contact { border-top: 1px solid var(--line); }
.home-contact h2 { margin: 26px 0; }
.home-contact > div > p:last-child { color: var(--muted); font-size: 12px; }
.home-contact-links strong { display: block; font-weight: 500; font-size: clamp(16px, 1.8vw, 24px); letter-spacing: -.03em; overflow-wrap: anywhere; margin-top: 5px; }
.site-footer { max-width: 2000px; margin: auto; padding: 30px var(--gutter); border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 11px; }
.site-footer strong { font-weight: 550; }
.site-footer > div > span { display: block; color: var(--muted); margin-top: 4px; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Le film garde ses proportions, quelle que soit la taille de la fenêtre. */
.film-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #10110f; color: #f6f5f1; color-scheme: dark; overscroll-behavior: contain; }
.film-dialog::backdrop { background: #10110ff5; }
.film-dialog-inner { max-width: 1600px; min-height: 100%; margin: auto; padding: 20px clamp(16px, 4vw, 64px) 32px; }
.film-dialog-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; font-size: 11px; letter-spacing: .07em; }
.dialog-close { display: flex; align-items: center; gap: 16px; border: 0; padding: 8px; min-height: 44px; background: none; font-size: 12px; }
.dialog-close span { font-size: 30px; font-weight: 300; line-height: 1; }
.film-player { height: min(70svh, 810px); display: flex; align-items: center; justify-content: center; background: #080908; }
.film-player video { width: 100%; height: 100%; object-fit: contain; }
.film-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.film-player.is-youtube { max-width: calc(70svh * 16 / 9); height: auto; min-height: 200px; aspect-ratio: 16 / 9; margin-inline: auto; }
.youtube-fallback { display: inline-block; margin-top: 12px; font-size: 12px; text-decoration: underline; text-underline-offset: 4px; }
.film-dialog-details > div { min-width: 0; }
.film-card-title { overflow-wrap: anywhere; }
.film-player.is-portrait { background: transparent; }
.film-player.is-portrait video { width: auto; max-width: 100%; aspect-ratio: 9/16; }
.film-dialog-details { display: flex; justify-content: space-between; align-items: start; gap: 32px; padding-top: 22px; }
.film-dialog-details h2 { font-size: clamp(24px, 3vw, 36px); }
.film-dialog-details p { color: #b6b8b0; font-size: 13px; max-width: 650px; margin-top: 9px; }
.film-dialog-details .film-role { color: #f6f5f1; }
.film-pagination { display: flex; align-items: center; gap: 16px; white-space: nowrap; font-size: 11px; }
.film-pagination button { border: 1px solid #56584f; background: transparent; font-size: 20px; width: 44px; height: 44px; }
.film-pagination button:hover { background: #292b25; }
.film-pagination button:disabled { opacity: .4; cursor: default; }
.film-error { margin-top: 16px; }
/* Pages secondaires : même langage éditorial, contenus et liens conservés. */
.page-grain, .hero-overlay, .services-hero-overlay { display: none; }
.hero, .services-hero { display: grid; grid-template-columns: 1fr 1fr; max-width: 1600px; margin: auto; padding: 46px var(--gutter) 30px; gap: clamp(24px, 5vw, 90px); align-items: center; }
.hero-media, .services-hero-media { grid-column: 2; grid-row: 1; width: 100%; height: 100%; max-height: 700px; min-height: 430px; object-fit: cover; }
.hero-inner, .services-hero-inner { grid-column: 1; grid-row: 1; padding: 36px 0; }
.hero h1, .services-hero h1 { font-size: clamp(46px, 5.8vw, 84px); margin: 28px 0; }
.hero-copy, .services-hero-inner > p:not(.eyebrow) { max-width: 510px; color: var(--muted); font-size: 14px; }
.hero .button { margin-top: 28px; }
.hero-secondary-link { margin-top: 12px !important; border: 0; padding-left: 0; margin-left: 0; display: flex; width: fit-content; }
.services-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.services-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 7vw, 110px); }
.services-intro .eyebrow { margin-bottom: 24px; }
.services-intro-copy > p:last-child { margin-top: 28px; color: var(--muted); font-size: 14px; }
.services-principle { display: grid; grid-template-columns: 30px 1fr; gap: 8px 20px; border-top: 1px solid var(--line); padding: 22px 0; }
.services-principle > span { font-size: 12px; color: var(--muted); }
.services-principle h3 { font-size: 20px; letter-spacing: -.025em; }
.services-principle p { grid-column: 2; font-size: 13px; color: var(--muted); }
.services-showcase { max-width: 2000px; padding: 0 var(--gutter); }
.services-image-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.services-image-strip img { width: 100%; height: auto; }
.offer-card { display: grid; grid-template-columns: 36px minmax(0, 1fr) 200px; gap: 24px; border-top: 1px solid var(--line); padding: 48px 0; }
.offer-number { font-size: 12px; color: var(--muted); }
.offer-label { text-transform: uppercase; font-size: 11px; letter-spacing: .12em; margin-bottom: 18px; }
.offer-card h3 { max-width: 650px; font-size: clamp(28px, 3vw, 40px); }
.offer-card h3 + p { color: var(--muted); margin-top: 22px; font-size: 14px; }
.offer-card > strong { font-size: 12px; font-weight: 500; text-align: right; }
.offer-card ul { display: flex; flex-wrap: wrap; padding: 0; gap: 8px 18px; list-style: none; font-size: 10px; color: var(--muted); margin: 22px 0 30px; }
.offer-video video { width: 100%; height: auto; aspect-ratio: 16/9; background: #10110f; object-fit: contain; }
.offer-video p { color: var(--muted); font-size: 11px; margin-top: 9px; }
.offer-video-portrait { max-width: 360px; }
.offer-video-portrait video { aspect-ratio: 9/16; }
.services-note, .services-tags { color: var(--muted); font-size: 11px; margin-top: 20px; }
.services-process { padding-top: 30px; }
.process-list { margin-top: 50px; }
.process-step { display: grid; grid-template-columns: 40px 1fr 1.5fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.process-step > span { color: var(--muted); font-size: 11px; }
.process-step h3 { font-size: 22px; }
.process-step p { color: var(--muted); font-size: 13px; }
.services-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.contact-visual img { width: 100%; height: auto; }
.contact-card h2 { margin: 24px 0; font-size: clamp(34px, 4vw, 54px); }
.contact-card > p { color: var(--muted); font-size: 13px; }
/* Comparaisons : aucun filtre n'altère les images d'étalonnage. */
.section-comparisons { max-width: 1720px; padding-inline: var(--gutter); }
.section-comparisons > .section-heading { margin-inline: auto; text-align: center; }
.section-comparisons > .section-heading p { margin-inline: auto; }
.comparison-list { display: grid; gap: clamp(28px, 5vw, 72px); }
.comparison-meta { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 10px; text-transform: uppercase; color: var(--muted); letter-spacing: .08em; }
.comparison { position: relative; aspect-ratio: 16/9; overflow: hidden; background: #080908; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.comparison-layer { position: absolute; inset: 0; pointer-events: none; }
.comparison-layer img { width: 100%; height: 100%; object-fit: contain; }
.comparison-layer.official { clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.comparison-labels { position: absolute; inset: 14px 16px auto; display: flex; justify-content: space-between; gap: 8px; pointer-events: none; color: #fff; font-size: 10px; }
.comparison-labels span { background: #10110fa6; padding: 4px 7px; }
.comparison-handle { position: absolute; top: 0; bottom: 0; left: var(--position); width: 1px; background: #ffffffe6; transform: translateX(-50%); pointer-events: none; }
.comparison-handle::after { content: "‹ ›"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border: 1px solid #fff; border-radius: 50%; background: #191a1870; color: white; display: grid; place-items: center; font-size: 13px; line-height: 1; }
.comparison-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; touch-action: pan-y; pointer-events: none; }
.comparison:focus-within { outline: 2px solid var(--ink); outline-offset: 5px; }
.compatibility-cards { margin-top: 40px; }
.compatibility-card { display: grid; grid-template-columns: 70px 1fr; gap: 16px 24px; border-block: 1px solid var(--line); padding: 36px 0; }
.compatibility-icon { grid-row: span 3; }
.compatibility-icon svg { width: 54px; fill: none; stroke: currentColor; stroke-width: 1; }
.compatibility-card h3 { font-size: 30px; }
.compatibility-card p { color: var(--muted); font-size: 14px; max-width: 680px; }
.compatibility-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.compatibility-badge { font-size: 10px; padding: 4px 10px; background: #e9e9e1; }
.recommended-workflow { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 60px; padding-top: 42px; }
.recommended-workflow h3 { font-size: 24px; margin: 16px 0; }
.recommended-workflow p { font-size: 13px; color: var(--muted); }
.recommended-workflow ol, .installation ol { padding-left: 18px; margin: 0; font-size: 14px; }
.recommended-workflow li, .installation li { padding: 6px 0 6px 8px; }
.recommended-workflow .workflow-path { grid-column: 1/-1; border-top: 1px solid var(--line); padding-top: 20px; font-size: 11px; }
.video-frame { background: #10110f; }
.video-frame video { width: 100%; aspect-ratio: 16/9; object-fit: contain; }
.section-download { border-top: 1px solid var(--line); text-align: center; }
.download-panel h2 { margin: 28px 0 36px; }
.guide-link { display: block; text-decoration: underline; text-underline-offset: 4px; font-size: 12px; margin-top: 20px; }
.compatibility { font-size: 11px; color: var(--muted); margin-top: 32px; }
.compatibility ul { display: flex; list-style: none; padding: 0; margin: 10px 0 0; gap: 20px; justify-content: center; color: var(--ink); }
.installation { text-align: left; border-top: 1px solid var(--line); margin: 48px auto 0; padding-top: 30px; max-width: 640px; }
.installation h3 { font-size: 22px; margin-bottom: 18px; }
.download-note { font-size: 12px; color: var(--muted); margin-top: 18px; }
/* Visible sans JS. L'observer active une seule apparition, sans cacher les grands blocs. */
.reveal-pending { opacity: 0; transform: translateY(16px); }
.reveal-pending.is-visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (min-width: 1600px) { .home-intro { padding-block: 58px 64px; } }
@media (max-width: 980px) {
  .hero, .services-hero { gap: 28px; }
  .hero h1, .services-hero h1 { font-size: 48px; }
  .offer-card { grid-template-columns: 28px minmax(0, 1fr); }
  .offer-card > strong { grid-column: 2; grid-row: 2; text-align: left; }
  .home-more, .home-contact, .services-contact { gap: 36px; }
  .film-caption { flex-direction: column; gap: 2px; }
  .section { padding-inline: 30px; }
  .section-comparisons, .services-showcase { padding-inline: var(--gutter); }
}
@media (max-width: 700px) {
  :root { --gutter: 12px; }
  .site-header { padding: 24px 18px; flex-wrap: wrap; gap: 20px; }
  .wordmark { font-size: 27px; }
  .main-nav { gap: 20px; font-size: 11px; }
  .home-intro { display: block; padding: 34px 18px 35px; }
  .home-intro h1 { font-size: 43px; }
  .home-intro h1 span { font-size: 17px; margin-top: 12px; }
  .home-intro .eyebrow { margin-top: 24px; font-size: 9px; }
  .selection-heading { font-size: 9px; padding: 12px 0; }
  .film-grid { display: flex; flex-direction: column; gap: 28px; }
  .film-card { width: 100%; }
  .film-card-portrait { width: 88%; max-width: 420px; align-self: center; }
  .film-caption { flex-direction: row; align-items: baseline; gap: 12px; font-size: 10px; padding-top: 10px; }
  .film-card-title { font-size: 16px; }
  .film-play { bottom: 12px; right: 12px; font-size: 9px; }
  .section { padding: 60px 22px; }
  .home-more { margin-top: 12px; }
  .home-more, .home-contact, .section-grid, .services-intro, .services-contact, .recommended-workflow { grid-template-columns: 1fr; gap: 32px; }
  .home-more > div > p:not(.eyebrow) { font-size: 36px; margin-top: 18px; }
  .editorial-links strong { font-size: 25px; }
  .home-contact h2 { font-size: 46px; }
  .site-footer { align-items: start; flex-direction: column; padding: 26px 22px; }
  .footer-links { gap: 16px 22px; }
  .hero, .services-hero { display: flex; flex-direction: column-reverse; padding: 0 18px 18px; gap: 12px; }
  .hero-inner, .services-hero-inner { padding-block: 32px; width: 100%; }
  .hero h1, .services-hero h1 { font-size: 48px; }
  .hero-media, .services-hero-media { min-height: 0; height: auto; aspect-ratio: 16/9; }
  .hero .button { width: 100%; }
  .hero-secondary-link { width: fit-content !important; }
  .services-image-strip { gap: 8px; }
  .services-showcase { padding: 0 var(--gutter); }
  .services-intro { padding-bottom: 40px; }
  .offer-card { grid-template-columns: 1fr; gap: 14px; padding: 32px 0; }
  .offer-card > strong { grid-column: 1; grid-row: auto; }
  .offer-number { margin-bottom: 6px; }
  .offer-label { margin-bottom: 14px; }
  .offer-video-portrait { max-width: 100%; }
  .process-step { grid-template-columns: 24px 1fr; gap: 12px 16px; }
  .process-step p { grid-column: 2; }
  .section-comparisons { padding-inline: var(--gutter); }
  .section-comparisons .section-heading { padding-inline: 10px; text-align: left; }
  .comparison-labels { inset: 8px 8px auto; font-size: 8px; }
  .comparison-labels span { padding: 3px 5px; }
  .comparison-handle::after { width: 23px; height: 23px; font-size: 11px; }
  .comparison-list { gap: 28px; }
  .compatibility-card { grid-template-columns: 44px 1fr; gap: 12px 14px; }
  .compatibility-icon svg { width: 40px; }
  .compatibility-card h3 { font-size: 24px; }
  .compatibility-card p { font-size: 13px; }
  .film-dialog-inner { padding: 10px 12px 24px; }
  .film-dialog-header { margin-bottom: 12px; }
  .film-player { height: 58svh; min-height: 180px; }
  .film-dialog-details { flex-direction: column; gap: 22px; padding-top: 20px; }
  .film-dialog-details p { font-size: 12px; }
  .film-pagination { align-self: flex-end; }
}
@media (max-width: 370px) {
  .site-header { gap: 16px; }
  .main-nav { width: 100%; justify-content: space-between; }
  .home-intro h1 { font-size: 38px; }
  .home-contact h2 { font-size: 38px; }
  .film-caption { flex-direction: column; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-pending { opacity: 1; transform: none; }
}
