/* Kreaktif Agency — v3 « Canvas ». Tokens DS : ./ds/*.css */
@import url('./ds/fonts.css');
@import url('./ds/colors.css');
@import url('./ds/typography.css');
@import url('./ds/spacing.css');
@import url('./ds/effects.css');
@import url('./ds/variants.css');
@import url('./ds/base.css');

:root { --dark: #07232a; --dark-2: #0a2e35; --paper: #fdfaf3; --gold: #f9b233; --nav-h: 72px; --dur: .95s; }
html, body { height: 100%; }
body { background: var(--dark); color: var(--text-on-dark); overflow: hidden; }
body.mobile { overflow: auto; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.ic { width: 1em; height: 1em; stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.125em; flex: none; }
.tc { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-400); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { font-size: 12px; font-weight: 600; color: var(--teal-100); background: rgba(255,255,255,.08); padding: 5px 11px; border-radius: 99px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 14px 24px; border-radius: var(--radius-md); cursor: pointer; border: none; transition: transform .15s, background .2s, border-color .2s, color .2s; font-family: var(--font-body); }
.btn-primary { background: var(--gold-500); color: var(--dark); }
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #f3efe6; border: 1.5px solid rgba(243,239,230,.3); }
.btn-ghost:hover { border-color: var(--gold-400); color: var(--gold-400); }

/* ---------- Intro : le logo s'éclate (triangles HTML, FLIP vers le hero) ---------- */
.intro { position: fixed; inset: 0; z-index: 300; background: var(--dark); display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 30px; transition: opacity .5s var(--ease-out); }
.intro.done { opacity: 0; pointer-events: none; }
.intro .logo { position: relative; width: min(38vw, 260px); aspect-ratio: 1; }
.intro .sq { position: absolute; inset: 0; border: calc(min(38vw, 260px) * .065) solid var(--gold); box-sizing: border-box; clip-path: inset(0 0 0 0); animation: sqdraw 1s var(--ease-out) forwards; }
.intro .tri { position: absolute; background: var(--gold); opacity: 0; will-change: transform; }
/* géométrie du mark (viewBox 400) exprimée en % du carré 65..335 (=270) */
.intro .t1 { left: 20.1%; top: 18.7%; width: 38.8%; height: 62.6%; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.intro .t2 { left: 46.5%; top: 18.7%; width: 34.7%; height: 21.7%; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.intro .t3 { left: 46.5%; top: 60.5%; width: 34.7%; height: 21.7%; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.intro:not(.burst) .tri { animation: pop .45s var(--ease-out) forwards; }
.intro:not(.burst) .t1 { animation-delay: .8s; } .intro:not(.burst) .t2 { animation-delay: 1s; } .intro:not(.burst) .t3 { animation-delay: 1.15s; }
.intro .word { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 4vw, 44px); letter-spacing: .28em; color: var(--paper); opacity: 0; animation: fadeup .6s var(--ease-out) 1.4s forwards; text-align: center; }
.intro .word small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 11px; letter-spacing: .5em; color: var(--gold-300); margin-top: 8px; }
.intro.burst { background: transparent; }
.intro.burst .sq, .intro.burst .word, .intro.burst .skip { animation: none; opacity: 0; transition: opacity .35s; }
.intro.burst .tri { opacity: 1; animation: none; transform-origin: 0 0; transition: transform 1s cubic-bezier(.65,0,.25,1), opacity .5s ease; }
.intro.landed .tri { opacity: 0; }
.intro.burst .t1 { transition-delay: .05s; } .intro.burst .t3 { transition-delay: .1s; }
.intro .skip { position: absolute; bottom: 28px; right: 28px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .2em; color: var(--teal-300); background: none; border: 1px solid rgba(255,255,255,.15); padding: 8px 12px; cursor: pointer; }
@keyframes sqdraw { from { clip-path: inset(0 100% 100% 0); } 50% { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
/* le hero se révèle après l'atterrissage des triangles */
body.pre-intro .home-txt, body.pre-intro .home-bg, body.pre-intro .home-mark, body.pre-intro .bar { opacity: 0; }
body.pre-intro .tri-video, body.pre-intro .tri-btn { opacity: 0; }
.home-txt, .home-bg, .home-mark, .bar, .tri-video, .tri-btn { transition: opacity .6s var(--ease-out); }

/* ---------- Barre ---------- */
.bar { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 150; display: flex; align-items: center; justify-content: space-between; padding: 0 28px; background: linear-gradient(180deg, rgba(7,35,42,.85), rgba(7,35,42,0)); pointer-events: none; }
.bar > * { pointer-events: auto; }
.bar-logo { height: 40px; width: auto; }
.bar-links { display: flex; gap: 22px; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); white-space: nowrap; }
.bar-links a { font-size: 15px; font-weight: 700; padding-bottom: 3px; border-bottom: 2px solid transparent; color: var(--teal-100); display: inline-flex; gap: 6px; align-items: baseline; transition: color .2s; white-space: nowrap; }
.bar-links a .nb { font-family: var(--font-mono); font-size: 10px; color: var(--gold-400); }
.bar-links a:hover, .bar-links a.on { color: var(--gold-400); border-bottom-color: var(--gold-400); }
.on-home .bar-cta { visibility: hidden; }
body.on-contact .bar-cta, body.on-accueil .bar-cta { display: none; }
.bar-cta { background: var(--gold-500); color: var(--dark); font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: var(--radius-md); }
.menu-btn { display: none; background: none; border: none; color: var(--teal-100); font-size: 26px; cursor: pointer; padding: 6px; }
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: var(--dark); z-index: 99; padding: 24px 22px; flex-direction: column; overflow: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--teal-50); font-family: var(--font-display); font-weight: 700; font-size: 26px; padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; gap: 14px; align-items: baseline; }
.mobile-menu a .nb { font-family: var(--font-mono); font-size: 11px; color: var(--gold-400); }

/* ---------- Canvas 3×3 ---------- */
.viewport { position: fixed; inset: 0; overflow: hidden; }
.canvas { position: absolute; top: 0; left: 0; width: 300vw; height: 300vh; display: grid; grid-template-columns: repeat(3, 100vw); grid-template-rows: repeat(3, 100vh); transition: transform var(--dur) cubic-bezier(.7,0,.2,1); will-change: transform; }
.canvas.moving { filter: url(#mblur); }
body.safari .canvas.moving { filter: none; }
body.safari .viewport.moving { filter: blur(5px); transition: filter .2s; }
.canvas { -webkit-backface-visibility: hidden; }
.screen { position: relative; width: 100vw; height: 100vh; overflow: hidden; }
.screen-in { position: absolute; inset: 0; overflow: auto; padding: calc(var(--nav-h) + 24px) 6vw 80px; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: rgba(249,178,51,.4) transparent; }
.screen-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .18; filter: saturate(.7); pointer-events: none; }
.screen-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,35,42,.5), rgba(7,35,42,.95)); }
.screen.light { background: var(--paper); color: var(--text-body); }
.screen.light .tc { color: var(--gold-700); }
.screen.light .tag { color: var(--teal-700); background: var(--teal-50); }
.screen.alt { background: var(--dark-2); }
.head { max-width: 760px; margin-bottom: 36px; }
.head h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(32px, 4.6vw, 62px); line-height: 1.02; letter-spacing: -.025em; color: var(--paper); margin: 10px 0 0; }
.screen.light .head h2 { color: var(--text-strong); }
.head p { font-size: 17px; color: var(--teal-100); margin: 16px 0 0; line-height: 1.6; max-width: 62ch; }
.screen.light .head p { color: var(--text-muted); }

/* Mini-map */
.map { position: fixed; left: 22px; bottom: 22px; z-index: 100; display: grid; grid-template-columns: repeat(3, 12px); gap: 5px; padding: 8px; background: rgba(7,35,42,.6); border: 1px solid rgba(255,255,255,.12); border-radius: 8px; backdrop-filter: blur(6px); }
.map button { width: 12px; height: 12px; border-radius: 2px; border: none; background: rgba(255,255,255,.18); cursor: pointer; padding: 0; transition: background .2s, transform .2s; }
.map button:hover { background: var(--teal-200); }
.map button.on { background: var(--gold); transform: scale(1.15); }
.hint { position: fixed; left: 22px; bottom: 100px; z-index: 100; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--teal-300); text-transform: uppercase; display: flex; flex-direction: column; gap: 4px; width: 78px; }
.hint b { font-weight: 500; font-size: 13px; letter-spacing: .1em; }
.hint span { font-size: 9px; letter-spacing: .12em; }

/* ---------- Accueil : composition triangulaire ---------- */
.home .screen-in { padding: 0; overflow: hidden; }
.home-bg { position: absolute; inset: 0; background: url(../img/bg/lora-hero.jpg) center/cover; opacity: .32; filter: saturate(.8); }
.home-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 70% at 50% 50%, rgba(7,35,42,.35), rgba(7,35,42,.92)); }
.tri-video { position: absolute; left: 4vw; top: 50%; transform: translateY(-50%); width: min(46vw, 78vh); aspect-ratio: 1; clip-path: polygon(0 4%, 100% 50%, 0 96%); background: #000; box-shadow: 0 0 0 2px rgba(249,178,51,.4); }
.tri-video video, .tri-video img { width: 100%; height: 100%; object-fit: cover; }
.tri-video::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,35,42,.1), rgba(7,35,42,0) 60%); pointer-events: none; }
.tri-btn { position: absolute; right: 0; z-index: 4; width: min(30vw, 44vh); aspect-ratio: 1; background: var(--gold-500); color: var(--dark); border: none; cursor: pointer; display: flex; padding: 0; transition: background .2s, transform .3s var(--ease-out); }
.tri-btn:hover { background: var(--gold-400); transform: scale(1.03); }
.tri-btn.tr { top: 0; clip-path: polygon(100% 0, 100% 100%, 0 0); }
.tri-btn.br { bottom: 0; clip-path: polygon(100% 0, 100% 100%, 0 100%); }
.tri-btn span { position: absolute; font-family: var(--font-display); font-weight: 900; font-size: clamp(14px, 1.5vw, 21px); letter-spacing: -.01em; text-align: right; line-height: 1.1; white-space: nowrap; }
.tri-btn.tr span { top: 26%; right: 7%; }
.tri-btn.br span { bottom: 12%; right: 7%; }
.tri-btn small { display: inline; font-family: var(--font-display); font-weight: 900; font-size: 1em; color: var(--teal-800); }
.home-txt { position: absolute; left: calc(4vw + min(46vw, 78vh) + 3vw); top: 50%; transform: translateY(-50%); width: min(34vw, 520px); z-index: 2; }
.home-txt h1 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.04; letter-spacing: -.025em; color: var(--paper); margin: 12px 0 0; }
.home-txt p { font-size: 16px; line-height: 1.55; color: var(--teal-100); margin: 16px 0 0; max-width: 44ch; }
.home-txt .cta { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.home-mark { position: absolute; left: 50%; bottom: 8vh; transform: translateX(-50%); width: 34px; opacity: .6; animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- Talents ---------- */
.talents { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.talent { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius-xl); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s var(--ease-out), border-color .25s; }
.talent:hover { transform: translateY(-6px); border-color: rgba(249,178,51,.5); }
.talent-photo { aspect-ratio: 1; background: linear-gradient(160deg, var(--teal-700), var(--dark)); position: relative; display: flex; align-items: center; justify-content: center; clip-path: polygon(0 0, 100% 0, 100% 86%, 0 100%); }
.talent-photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.talent-photo .mono { font-family: var(--font-display); font-weight: 900; font-size: 64px; letter-spacing: -.04em; color: rgba(249,178,51,.9); }
.talent-photo .tc { position: absolute; left: 14px; top: 12px; color: var(--teal-200); }
.talent-body { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.talent h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin: 0; color: var(--paper); }
.talent .role { font-size: 13px; font-weight: 600; color: var(--gold-400); }
.talent p { font-size: 12.5px; line-height: 1.45; color: var(--teal-100); margin: 0; }
.talent .links { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: auto; padding-top: 6px; }
.talent .links a { font-size: 12px; font-weight: 600; color: var(--teal-200); border-bottom: 1px solid rgba(255,255,255,.2); }
.talent .links a:hover { color: var(--gold-400); border-color: var(--gold-400); }
.credit { margin: 12px 0 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-300); text-align: right; }
.partner { margin-top: 22px; border-left: 5px solid var(--gold); padding: 14px 20px; background: rgba(255,255,255,.04); border-radius: 0 12px 12px 0; }
.partner h3 { font-family: var(--font-display); font-size: 20px; margin: 6px 0 6px; color: var(--paper); }
.partner p { font-size: 14px; color: var(--teal-100); margin: 0; line-height: 1.55; }

/* ---------- Formats / Services ---------- */
.fmts { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.12); }
.fmt { display: grid; grid-template-columns: 70px 1fr 250px; gap: 24px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); align-items: center; }
.fmt-n { font-family: var(--font-display); font-weight: 900; font-size: 38px; line-height: 1; color: var(--gold-400); letter-spacing: -.03em; }
.fmt h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin: 0 0 6px; color: var(--paper); }
.fmt p { font-size: 15px; color: var(--teal-100); line-height: 1.55; margin: 0; }
.fmt-thumbs { display: flex; gap: 8px; justify-content: flex-end; }
.fmt-thumb { position: relative; width: 118px; aspect-ratio: 16/10; border-radius: 6px; overflow: hidden; background: var(--dark); flex: none; transition: transform .2s var(--ease-out); }
.fmt-thumb:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.fmt-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fmt-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 6px 5px; font-size: 10px; font-weight: 700; color: var(--paper); background: linear-gradient(transparent, rgba(7,35,42,.9)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.svcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc { position: relative; padding: 22px 22px 22px 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; }
.svc::before { content: ""; position: absolute; left: 0; top: 0; width: 14px; height: 100%; background: var(--gold); clip-path: polygon(0 0, 100% 50%, 0 100%); opacity: .9; }
.svc h3 { font-family: var(--font-display); font-weight: 800; font-size: 19px; margin: 0 0 6px; color: var(--paper); }
.svc p { font-size: 14px; color: var(--teal-100); line-height: 1.5; margin: 0; }

/* ---------- Rushes ---------- */
.filters { display: flex; gap: 8px; margin: -14px 0 22px; flex-wrap: wrap; }
.filter { font-family: var(--font-body); font-weight: 600; font-size: 13px; padding: 8px 16px; border-radius: 99px; border: 1.5px solid rgba(255,255,255,.2); background: transparent; color: var(--teal-100); cursor: pointer; transition: all .18s; }
.filter:hover { border-color: var(--gold-400); color: var(--gold-400); }
.filter.on { background: var(--gold-500); border-color: var(--gold-500); color: var(--dark); }
.rushes { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 170px; grid-auto-flow: dense; gap: 14px; }
.rush { position: relative; border-radius: 12px; overflow: hidden; background: var(--dark-2); display: block; transition: transform .25s var(--ease-out), box-shadow .25s; }
.rush.wide { grid-column: span 2; grid-row: span 2; }
.rush.tall { grid-row: span 2; }
.rush:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.rush.hide { display: none; }
.rush-media { position: absolute; inset: 0; }
.rush-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.rush:hover .rush-media img { transform: scale(1.06); }
.rush-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,35,42,.05) 35%, rgba(7,35,42,.92) 100%); }
.rush-tc { position: absolute; top: 10px; left: 12px; z-index: 1; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--gold-200); }
.rush-play { position: absolute; top: 8px; right: 10px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: var(--gold-500); color: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 12px; opacity: 0; transform: scale(.7); transition: opacity .2s, transform .2s; }
.rush:hover .rush-play { opacity: 1; transform: none; }
.rush-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 12px 14px; color: var(--paper); }
.rush-cat { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-400); }
.rush h3 { font-family: var(--font-display); font-weight: 800; font-size: 16px; margin: 3px 0 2px; color: var(--paper); line-height: 1.15; }
.rush.wide h3 { font-size: 26px; }
.rush-client { font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); }

/* ---------- Série ---------- */
.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.feature-img { border-radius: 18px; overflow: hidden; aspect-ratio: 16/10; box-shadow: var(--shadow-lg); position: relative; cursor: pointer; }
.feature-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-img .play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--gold-500); color: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.eps { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.ep { display: flex; gap: 14px; align-items: center; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 10px; padding: 10px; }
.ep img { width: 80px; aspect-ratio: 16/10; border-radius: 6px; object-fit: cover; flex: none; }
.ep .n { font-family: var(--font-mono); font-size: 11px; color: var(--gold-300); }
.ep .t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #f7efe2; margin-top: 2px; }
.ep .d { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); white-space: nowrap; }

/* ---------- Photos : corde à linge ---------- */
.line-wrap { position: relative; padding: 40px 0 20px; }
.rope { position: absolute; left: -12vw; right: -12vw; top: 34px; height: 60px; pointer-events: none; }
.rope path { fill: none; stroke: #c9b48a; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.polas { display: flex; gap: 26px; overflow-x: auto; padding: 24px 10px 40px; scroll-snap-type: x proximity; scrollbar-width: thin; scrollbar-color: rgba(249,178,51,.4) transparent; }
.pola { flex: none; width: 210px; background: #fbf7ee; padding: 12px 12px 40px; box-shadow: 0 14px 30px rgba(0,0,0,.45); transform-origin: 50% -20px; transform: rotate(var(--r, -2deg)); scroll-snap-align: center; cursor: pointer; position: relative; transition: transform .3s var(--ease-out); animation: swing 5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pola:hover { transform: rotate(0) scale(1.05); z-index: 2; animation-play-state: paused; }
.pola img { width: 100%; aspect-ratio: 1; object-fit: cover; background: #ddd; }
.pola .cap { position: absolute; left: 12px; right: 12px; bottom: 12px; font-family: 'Caveat', var(--font-body); font-size: 15px; color: #3a3a3a; text-align: center; }
.pola::before { content: ""; position: absolute; top: -18px; left: 50%; width: 12px; height: 30px; margin-left: -6px; background: linear-gradient(#e0b46a, #b07f2c); border-radius: 3px; box-shadow: 0 2px 4px rgba(0,0,0,.4); }
.pola.p2::before { left: 30%; } .pola.p3::before { left: 70%; }
@keyframes swing { 0%,100% { transform: rotate(calc(var(--r, -2deg) - 1deg)); } 50% { transform: rotate(calc(var(--r, -2deg) + 1deg)); } }

/* ---------- Pricing ---------- */
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.way { padding: 26px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; display: flex; flex-direction: column; }
.way.hl { border-color: rgba(249,178,51,.5); background: rgba(249,178,51,.06); }
.way h3 { font-family: var(--font-display); font-weight: 900; font-size: 26px; margin: 8px 0 6px; color: var(--paper); }
.way .sub { font-size: 14px; color: var(--gold-300); margin: 0 0 14px; font-weight: 600; }
.way p { font-size: 14px; color: var(--teal-100); line-height: 1.55; margin: 0 0 16px; }
.way ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.way li { display: flex; gap: 10px; font-size: 14px; color: var(--teal-50); }
.way li .ic { color: var(--gold-400); margin-top: 3px; }
.way .btn { justify-content: center; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.line { display: flex; align-items: center; gap: 12px; color: var(--teal-100); font-size: 15px; margin-top: 14px; }
.line a { color: var(--teal-50); font-weight: 600; } .line a:hover { color: var(--gold-400); }
.line .ic { color: var(--gold-400); font-size: 18px; }
.form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 24px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 12px; font-weight: 600; color: var(--teal-200); margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; background: rgba(7,35,42,.5); border: 1.5px solid rgba(255,255,255,.14); border-radius: 8px; padding: 12px 14px; color: #f3efe6; font-family: var(--font-body); font-size: 14px; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23f9b233' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; color: #f3efe6; }
.field select option { color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-400); }
.field textarea { resize: vertical; min-height: 100px; }
.form .btn { width: 100%; justify-content: center; }
.form-hint { font-size: 11px; color: var(--teal-300); margin: 10px 0 0; text-align: center; }
.legal-line { margin-top: 30px; font-family: var(--font-mono); font-size: 11px; color: var(--teal-300); }
.legal-line a { color: var(--teal-200); text-decoration: underline; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(7,35,42,.92); backdrop-filter: blur(6px); }
.lb-box { position: relative; width: min(1100px, 100%); background: var(--dark-2); border-radius: 18px; overflow: hidden; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb-head { display: flex; align-items: center; gap: 16px; padding: 12px 14px 12px 20px; color: var(--paper); font-family: var(--font-display); font-weight: 700; }
.lb-title { flex: 1; font-size: 16px; }
.lb-page { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--gold-400); display: inline-flex; gap: 6px; align-items: center; }
.lb-page[hidden] { display: none; }
.lb-close { background: rgba(255,255,255,.08); border: none; color: var(--paper); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.lb-frame { aspect-ratio: 16/9; background: #000; display: flex; align-items: center; justify-content: center; }
.lb-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lb-frame img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- Mobile : pile verticale ---------- */
@media (max-width: 900px) {
  body { overflow: auto; }
  .bar-links, .bar-cta { display: none; } .menu-btn { display: block; }
  .viewport { position: static; overflow: visible; }
  .canvas { position: static; width: auto; height: auto; display: block; transform: none !important; filter: none !important; }
  .screen { width: auto; height: auto; min-height: 0; }
  .screen-in { position: static; overflow: visible; padding: 80px 22px 60px; }
  .home .screen-in { padding: 0; position: relative; }
  .home { min-height: 0; }
  .tri-video { position: relative; left: 0; top: 0; transform: none; width: 100vw; margin: 0; aspect-ratio: 16/10; line-height: 0; clip-path: polygon(0 0, 100% 0, 100% 78%, 0 100%); box-shadow: none; }
  .home-txt { position: relative; left: 0; top: auto; z-index: 3; transform: none; max-width: none; width: auto; padding: 20px 22px 24px; }
  .tri-btn { position: relative; width: 100%; aspect-ratio: auto; clip-path: none !important; padding: 16px 22px; justify-content: space-between; align-items: center; margin: 0; }
  .tri-btn.br { border-top: 1px solid rgba(7,35,42,.15); }
  .tri-btn span { position: static; text-align: left; }
  .home-mark { display: none; }
  .map, .hint { display: none; }
  .talents { grid-template-columns: 1fr 1fr; }
  .fmt { grid-template-columns: 50px 1fr; } .fmt-thumbs { grid-column: 2; justify-content: flex-start; }
  .svcs { grid-template-columns: 1fr; }
  .rushes { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; } .rush.wide { grid-column: span 2; grid-row: span 1; } .rush.tall { grid-row: span 1; } .rush.wide h3 { font-size: 16px; }
  .feature { grid-template-columns: 1fr; }
  .ways, .contact-grid { grid-template-columns: 1fr; }
  .intro svg { width: 50vw; }
}
@media (max-width: 560px) { .talents { grid-template-columns: 1fr; } .rushes { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .canvas { transition: none; } .canvas.moving { filter: none; } .pola { animation: none; } .intro { display: none; } }

/* ---------- Image animée : pellicules par catégorie ---------- */
.head.slim { margin-bottom: 40px; }
.head.slim h2 .num { color: var(--gold-400); }
.head.slim .tc { display: block; margin-top: 8px; }
.head.slim p { margin-top: 14px; }
.head.slim p b { color: var(--paper); font-weight: 700; }
.head.slim.wide { max-width: 900px; }
.strips { display: flex; flex-direction: column; gap: 22px; }
.strip { display: block; }
.strip-label { display: flex; align-items: center; gap: 12px; margin: 0 0 10px 4px; }
.strip-label span { font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--paper); }
.strip-label small { font-family: var(--font-display); font-weight: 900; font-size: 14px; color: var(--gold-400); }
.strip-label i { flex: 1; height: 1px; background: rgba(249,178,51,.3); }
.strip-wrap { position: relative; min-width: 0; }
.strip-track { position: relative; display: flex; gap: 10px; overflow-x: auto; padding: 14px; background: rgba(255,255,255,.045); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; scroll-snap-type: x proximity; scrollbar-width: none; scroll-behavior: smooth; }
.strip-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: none; background: var(--gold-500); color: var(--dark); display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 18px; box-shadow: 0 6px 18px rgba(0,0,0,.4); opacity: 0; transition: opacity .2s, background .2s; }
.strip-arrow.prev { left: -8px; } .strip-arrow.prev .ic { transform: rotate(180deg); } .strip-arrow.next { right: -8px; }
.strip-wrap:hover .strip-arrow, .strip-arrow:focus-visible { opacity: 1; }
.strip-arrow:hover { background: var(--gold-400); }
.strip-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
.strip-track::-webkit-scrollbar { display: none; }
.frame { position: relative; flex: none; width: 300px; aspect-ratio: 16/9; border-radius: 4px; overflow: hidden; background: var(--dark-2); scroll-snap-align: start; transition: transform .25s var(--ease-out); }
.frame:hover { transform: scale(1.04); z-index: 1; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.frame img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: filter .3s; }
.frame:hover img { filter: none; }
.frame-n { position: absolute; top: 8px; left: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: var(--gold-300); text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.frame-t { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(180deg, transparent, rgba(7,35,42,.92)); display: flex; flex-direction: column; }
.frame-t b { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--paper); line-height: 1.15; }
.frame-t i { font-style: normal; font-family: var(--font-mono); font-size: 10px; color: var(--teal-200); margin-top: 2px; }
.strip.hide { display: none; }
@media (max-width: 900px) { .frame { width: 220px; } }

.rushes[hidden], .strips[hidden] { display: none; }

/* ---------- Image fixe : albums ---------- */
.albums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.album { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; overflow: hidden; transition: transform .25s var(--ease-out), border-color .25s; }
.album:hover { transform: translateY(-4px); border-color: rgba(249,178,51,.45); }
.album-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: rgba(0,0,0,.4); }
.album-grid a { display: block; aspect-ratio: 1; overflow: hidden; }
.album-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease-out); }
.album-grid a:hover img { transform: scale(1.06); }
.album-body { padding: 14px 16px 16px; }
.album-body h3 { font-family: var(--font-display); font-weight: 800; font-size: 17px; margin: 0; color: var(--paper); }
.album-body span { font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); }
@media (max-width: 1100px) { .albums { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .albums { grid-template-columns: 1fr; } }

/* lightbox : navigation photos */
.lb-count { font-family: var(--font-mono); font-size: 12px; color: var(--teal-200); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: none; background: var(--gold-500); color: var(--dark); display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.4); z-index: 2; }
.lb-nav[hidden] { display: none; }
.lb-nav.prev { left: 12px; } .lb-nav.prev .ic { transform: rotate(180deg); } .lb-nav.next { right: 12px; }
.lb-nav:hover { background: var(--gold-400); }

/* ---------- Packs (fenêtre) ---------- */
.lightbox.html .lb-frame { aspect-ratio: auto; max-height: 78vh; overflow: auto; background: var(--dark-2); display: block; padding: 22px 24px 26px; }
.packs-intro { font-size: 14px; color: var(--teal-100); line-height: 1.55; margin: 0 0 18px; max-width: 80ch; }
.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.pack { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; }
.pack.hl { border-color: rgba(249,178,51,.5); background: rgba(249,178,51,.06); }
.pack h3 { font-family: var(--font-display); font-weight: 900; font-size: 24px; margin: 4px 0 6px; color: var(--paper); }
.pack .price { font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--gold-400); margin-bottom: 12px; }
.pack .price small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-200); }
.pack ul { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pack li { font-size: 13px; color: var(--teal-50); line-height: 1.4; }
.pack li b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300); }
.pack .btn { justify-content: center; font-size: 14px; padding: 12px 18px; }
.packs h4 { font-family: var(--font-display); font-size: 15px; margin: 22px 0 10px; color: var(--paper); }
.packs-opts { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.packs-opts li { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--teal-100); padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); break-inside: avoid; }
.packs-opts b { color: var(--paper); white-space: nowrap; }
@media (max-width: 900px) { .packs-grid { grid-template-columns: 1fr; } .packs-opts { columns: 1; } }

/* ---------- Partenaires (accordéon) + clients ---------- */
.pf { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 22px; }
.acc { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.acc-item { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; }
.acc-item summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 11px 14px; cursor: pointer; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary b { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--paper); }
.acc-item summary span { font-family: var(--font-mono); font-size: 11px; color: var(--gold-300); flex: 1; }
.acc-item summary .ic { transform: rotate(90deg); transition: transform .2s; color: var(--teal-200); }
.acc-item[open] summary .ic { transform: rotate(-90deg); }
.acc-body { padding: 0 14px 12px; font-size: 13px; color: var(--teal-100); line-height: 1.55; }
.acc-body p { margin: 0 0 6px; }
.acc-body a { font-size: 12px; font-weight: 600; color: var(--gold-400); }
.clients { margin: 10px 0 0; font-size: 14px; line-height: 1.8; color: var(--teal-100); }
.svc.hl { border-color: rgba(249,178,51,.5); background: rgba(249,178,51,.06); }
.svc.hl a { color: var(--gold-400); font-weight: 600; }
/* ---------- Offres : comparatif ---------- */
.cmp-wrap { overflow-x: auto; }
.cmp { width: 100%; border-collapse: collapse; margin-bottom: 26px; }
.cmp th, .cmp td { padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; color: var(--teal-50); }
.cmp thead th { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--paper); vertical-align: bottom; }
.cmp thead th small { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-200); margin-top: 4px; }
.cmp tbody th { font-weight: 500; color: var(--teal-100); width: 42%; }
.cmp td.hl, .cmp th.hl { background: rgba(249,178,51,.06); }
.cmp b.y { color: var(--gold-400); font-size: 18px; } .cmp b.n { color: rgba(255,255,255,.25); }
.cmp tfoot td { padding-top: 16px; border: none; }
.cmp tfoot .btn { font-size: 14px; padding: 12px 18px; }
.packs-title { margin: 8px 0 12px; }
.packs3 .way h3 { font-size: 22px; }
.pack-note { font-size: 13px; color: var(--teal-200); margin-top: 16px; }
.pack-note a { color: var(--gold-400); text-decoration: underline; }
/* ---------- Hauteur d'écran réduite ---------- */
@media (max-height: 760px) and (min-width: 901px) {
  :root { --nav-h: 64px; }
  .head.slim h2 { font-size: clamp(28px, 3.6vw, 44px); }
  .head.slim { margin-bottom: 18px; }
  .screen-in { padding-top: calc(var(--nav-h) + 14px); padding-bottom: 60px; }
  .home-txt h1 { font-size: clamp(26px, 3.2vw, 40px); }
  .home-txt p { font-size: 14px; }
  .talent-photo { aspect-ratio: 1; }
  .talent p { display: none; }
}
@media (max-width: 900px) { .pf { grid-template-columns: 1fr; } }

/* ---------- Logos clients ---------- */
.logos { margin-top: 16px; }
.logos-img { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; gap: 16px; max-width: 520px; }
.logos .logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 64px; }
.logos .logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; transition: transform .25s var(--ease-out); }
.logos .logo:hover img { transform: scale(1.08); }
.logos-txt { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 18px; }
.logos .logo.txt { height: auto; width: auto; font-family: var(--font-display); font-weight: 800; font-size: 14px; white-space: nowrap; color: var(--teal-100); letter-spacing: .02em; transition: color .2s; }
.logos .logo.txt:hover { color: var(--gold-400); }

/* ---------- Création sonore ---------- */
.tracks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.track { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; }
.track.on { border-color: rgba(249,178,51,.5); background: rgba(249,178,51,.06); }
.tr-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: none; background: var(--gold-500); color: var(--dark); font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .2s, transform .15s; }
.tr-play:hover { background: var(--gold-400); transform: scale(1.05); }
.tr-body { flex: 1; min-width: 0; }
.tr-body b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--paper); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-body span { display: block; font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-bar { height: 3px; background: rgba(255,255,255,.12); border-radius: 2px; margin-top: 9px; overflow: hidden; cursor: pointer; }
.tr-bar i { display: block; height: 100%; width: 0; background: var(--gold-400); }
.tr-time { font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); flex: none; }
/* série à la une dans Image animée */
.serie-box { margin: -6px 0 22px; background: rgba(255,255,255,.04); border: 1px solid rgba(249,178,51,.3); border-radius: 12px; }
.serie-box summary { list-style: none; display: flex; align-items: center; gap: 14px; padding: 12px 16px; cursor: pointer; }
.serie-box summary::-webkit-details-marker { display: none; }
.serie-box summary b { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--paper); }
.serie-hint { font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); flex: 1; }
.serie-box summary .ic { transform: rotate(90deg); transition: transform .2s; color: var(--gold-400); }
.serie-box[open] summary .ic { transform: rotate(-90deg); }
.serie-in { padding: 4px 16px 18px; }
.serie-head p { font-size: 14px; color: var(--teal-100); line-height: 1.55; max-width: 80ch; margin: 8px 0 14px; }
.serie-head p b { color: var(--paper); }
.serie-in .feature { gap: 22px; }
.serie-in .feature-img { max-width: 420px; }
.album-grid a:nth-child(n+5) { display: none; }
.tann { color: var(--gold-400); font-weight: 600; white-space: nowrap; }
.track { min-width: 0; }
@media (max-width: 900px) { .tracks { grid-template-columns: 1fr; } .track { padding: 10px 12px; gap: 10px; } .tr-play { width: 38px; height: 38px; } .tr-body b, .tr-body span { white-space: normal; } .tr-time { display: none; } }

/* ---- saisons dans la boîte série ---- */
.seasons.compact { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.seasons.compact .season-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.seasons.compact .season-h b { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #f7efe2; }
.seasons.compact .season-h .d { margin-left: auto; font-family: var(--font-mono); font-size: 11px; color: var(--teal-200); }
.seasons.compact .season-eps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ep-thumb { display: block; border-radius: 8px; overflow: hidden; background: #000; position: relative; color: #fff; text-decoration: none; aspect-ratio: 16/9; }
.ep-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform .4s, opacity .2s; }
.ep-thumb:hover img { transform: scale(1.05); opacity: 1; }
.ep-thumb span { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 8px 7px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.85)); font-family: var(--font-display); font-weight: 700; font-size: 11px; line-height: 1.15; }
.ep-thumb small { display: block; font-family: var(--font-mono); font-size: 9px; letter-spacing: .12em; color: var(--gold-300); margin-bottom: 2px; }
@media (max-width: 860px) { .seasons.compact .season-eps { grid-template-columns: repeat(3, 1fr); } }

.way-ex { margin: 0 0 14px; font-size: 13px; }
.way-ex a { color: var(--gold-400); font-weight: 600; }

/* ---------- 03 Création sonore : groupes par projet ---------- */
.snd { display: flex; flex-direction: column; gap: 26px; }
.snd-h { display: flex; align-items: baseline; gap: 8px 16px; flex-wrap: wrap; margin-bottom: 12px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.12); }
.snd-h b { font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--paper); }
.snd-h .tc { font-size: 11px; letter-spacing: .16em; display: block; margin-top: 3px; }
.snd-h > div { margin-right: auto; }
.snd-h i { font-style: normal; font-size: 13px; font-weight: 600; color: var(--gold-300); }
.snd-link { font-size: 13px; font-weight: 700; color: var(--gold-400); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.snd-link:hover { color: var(--gold-300); }
@media (max-width: 900px) { .snd-h i { width: 100%; } }
