/* 5tudio — charte V2
   Encre, papier et une seule couleur : le rouge du voyant REC.
   Titres en Tanker (capitales d'affiche), texte en Supreme, timecodes en JetBrains Mono.
   Un motif (la timeline de montage), un personnage (le 5), un langage d'animation (lignes dévoilées). */

@font-face { font-family: 'Tanker'; src: url('../fonts/tanker-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('../fonts/supreme-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('../fonts/supreme-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('../fonts/supreme-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Supreme'; src: url('../fonts/supreme-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('../fonts/jetbrainsmono-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --ink: #121110;
  --ink-2: #1c1a18;
  --paper: #efe9df;
  --paper-2: #e6dfd3;
  --signal: #ff4d1f;
  --muted: #6d665d;
  --muted-dark: rgba(239, 233, 223, 0.64);
  --line: rgba(18, 17, 16, 0.14);
  --line-dark: rgba(239, 233, 223, 0.14);
  --title: 'Tanker', Impact, 'Arial Narrow', sans-serif;
  --text: 'Supreme', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(20px, 4vw, 64px);
  --max: 1360px;
  --timeline: 52px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 18px/1.6 var(--text); padding-bottom: var(--timeline); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; overflow-wrap: break-word; }
p { margin: 0; }
p, li, summary, figcaption, .options span { text-wrap: pretty; }
em { font-style: normal; color: var(--signal); }
::selection { background: var(--signal); color: var(--paper); }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; }
.is-dark { background: var(--ink); color: var(--paper); }

/* ---------- Titres ---------- */
h1, h2, .plan__price, .page__title {
  font-family: var(--title); font-weight: 400; text-transform: uppercase;
  letter-spacing: 0.005em; line-height: 0.9;
}
h2 { font-size: clamp(2.6rem, 5.6vw, 6rem); }
h3 { font-family: var(--text); font-weight: 800; letter-spacing: -0.01em; line-height: 1.15; }
.line { display: block; }
.m { display: none; }
@media (min-width: 721px) { .line { white-space: nowrap; } }
@media (max-width: 720px) { .d { display: none; } .m { display: block; } .m .line { white-space: nowrap; } h1 .line, h2 .line { text-wrap: balance; } }

/* ---------- Logo ---------- */
.logo { display: inline-flex; text-decoration: none; }
.logo__mark { display: inline-flex; align-items: flex-end; font: 400 32px/1 var(--title); text-transform: uppercase; letter-spacing: 0.01em; }
.five { height: 0.86em; width: auto; fill: var(--signal); margin-right: 0.02em; transform: translateY(-0.05em); }
.logo__word { line-height: 0.8; }
/* voyant REC : le studio est toujours en train d'enregistrer */
.logo__rec { flex: none; align-self: flex-start; width: 0.2em; height: 0.2em; margin: -0.06em 0 0 0.08em; border-radius: 50%; background: var(--signal); animation: rec 1.6s steps(1) infinite; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 26px;
  background: var(--signal); color: #fff; border: 2px solid var(--signal); border-radius: 0;
  font: 700 16px/1.2 var(--text); text-decoration: none; text-align: left; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
}
.btn::after { content: ''; flex: none; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s var(--ease); }
.btn:hover::after { transform: translateX(3px) rotate(45deg); }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.is-dark .btn:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn--ghost:hover, .is-dark .btn--ghost:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.btn--small { min-height: 42px; padding: 0 18px; font-size: 14px; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

/* ---------- En-tête ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 32px; height: 72px; padding: 0 var(--gutter); background: rgba(239, 233, 223, 0.95); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s, color .3s; }
.top.is-scrolled { border-bottom-color: var(--line); }
.top.is-dark { background: rgba(18, 17, 16, 0.95); color: var(--paper); }
.top.is-dark.is-scrolled { border-bottom-color: var(--line-dark); }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; position: relative; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav .nav__lang { font: 500 13px/1 var(--mono); border: 1px solid currentColor; padding: 6px 8px; }
.nav .nav__lang::after { display: none; }
.burger { display: none; }

/* ---------- Ouverture ---------- */
.hero { padding: 150px 0 120px; }
.hero__title { font-size: clamp(3rem, 9.2vw, 10.4rem); }
.hero__row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-top: 52px; }
.hero__lead { font-size: clamp(1.05rem, 1.35vw, 1.3rem); max-width: 34em; color: #3b3632; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }
.hero__actions--left { justify-content: flex-start; margin-top: 40px; }
.standby__rec { display: inline-flex; align-items: center; gap: 8px; }
.standby__rec::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); animation: rec 1.6s steps(1) infinite; }
@keyframes rec { 50% { opacity: 0.15; } }

/* ---------- Bandeau clients ---------- */
.clients { padding: 64px 0 72px; border-bottom: 1px solid var(--line-dark); }
.clients__title { text-align: center; color: var(--muted-dark); font-size: 15px; margin-bottom: 36px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 88px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track img { height: 40px; width: auto; opacity: .78; transition: opacity .3s; }
.marquee__track img:hover { opacity: 1; }
.marquee__track .lg-zeo, .marquee__track .lg-majest, .marquee__track .lg-ale, .marquee__track .lg-kalleo { height: 44px; }
.marquee__track .lg-webm, .marquee__track .lg-natesystem { height: 34px; }
.marquee__track .lg-aseoma { height: 32px; }
.marquee__track .lg-autoplatforma { height: 26px; }
.marquee__track .lg-digispark { height: 34px; }
.marquee__track .lg-rodasoleil { height: 58px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Têtes de section ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 64px; }
.head p { font-size: 1.1rem; max-width: 30em; }
.is-dark .head p { color: var(--muted-dark); }

/* ---------- Le studio (vidéo à venir) ---------- */
.studio { padding: 130px 0 40px; }
.standby { position: relative; aspect-ratio: 16 / 9; background: #0b0a09; border: 1px solid var(--line-dark); display: grid; place-items: center; overflow: hidden; }
.standby__text { font: 400 clamp(1.6rem, 3.2vw, 3rem)/1 var(--title); text-transform: uppercase; color: var(--muted-dark); text-align: center; padding: 0 24px; }
.standby__hud { position: absolute; left: 28px; right: 28px; bottom: 24px; display: flex; justify-content: space-between; font: 500 14px/1 var(--mono); color: var(--muted-dark); }
.standby__corner { position: absolute; width: 36px; height: 36px; border: 0 solid rgba(239, 233, 223, .5); }
.standby__corner--tl { left: 24px; top: 24px; border-left-width: 2px; border-top-width: 2px; }
.standby__corner--tr { right: 24px; top: 24px; border-right-width: 2px; border-top-width: 2px; }
.standby__corner--bl { left: 24px; bottom: 60px; border-left-width: 2px; border-bottom-width: 2px; }
.standby__corner--br { right: 24px; bottom: 60px; border-right-width: 2px; border-bottom-width: 2px; }

/* ---------- Réalisations ---------- */
.films { padding: 110px 0 140px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px 40px; }
.film { min-width: 0; }
.film--lead, .grid > .film:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.film__frame { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: #000; border: 0; padding: 0; cursor: pointer; color: #fff; }
.film__frame img, .film__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .3s; }
.film__frame video { opacity: 0; }
.film__frame.is-playing video { opacity: 1; }
.film__frame:hover img, .film__frame:hover video { transform: scale(1.025); }
.film__play { position: absolute; left: 18px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding-right: 14px; background: rgba(18, 17, 16, .8); border-radius: 26px; font: 500 14px/1 var(--mono); }
.film__play::before { content: ''; width: 44px; height: 44px; border-radius: 50%; background: var(--signal) no-repeat 17px center / 13px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 12'%3E%3Cpath d='M0 0l10 6-10 6z' fill='%23fff'/%3E%3C/svg%3E"); transition: transform .3s var(--ease); }
.film__frame:hover .film__play::before { transform: scale(1.1); }
.film__meta { margin-top: 22px; }
.film__frame--standby { display: grid; place-items: center; cursor: default; background: #0b0a09; }
.film__frame--standby .standby__text { font-size: clamp(1.3rem, 2.2vw, 2.1rem); }
.film--lead .film__frame--standby .standby__text { font-size: clamp(1.6rem, 3.2vw, 3rem); }
.film--standby .film__client { font-weight: 400; color: var(--muted-dark); }
.film--lead .film__meta, .grid > .film:first-child .film__meta { margin-top: 0; }
.film__title { font: 400 clamp(2rem, 3vw, 3rem)/0.95 var(--title); text-transform: uppercase; letter-spacing: 0.01em; }
.film--lead .film__title, .grid > .film:first-child .film__title { font-size: clamp(2.6rem, 4.6vw, 4.8rem); }
.film__client { margin-top: 12px; font-weight: 700; }
.film__client span { color: var(--muted-dark); font-weight: 400; }
.film__client .film__name { color: inherit; font-weight: 700; }
.film__sector::before { content: '· '; }
.film__idea { margin-top: 10px; color: var(--muted-dark); max-width: 34em; }

/* ---------- Fiche d'un spot (fenêtre) ---------- */
.case { width: min(1280px, 94vw); max-width: none; max-height: 92vh; padding: 0; border: 0; background: var(--ink); color: var(--paper); overflow: auto; }
.case::backdrop { background: rgba(10, 9, 8, .9); }
.case__grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); }
.case__video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.case__info { padding: 32px 32px 36px; display: flex; flex-direction: column; gap: 18px; }
.case__info h3 { font: 400 clamp(2.2rem, 3.4vw, 3.4rem)/0.95 var(--title); text-transform: uppercase; }
.case__dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; margin: 0; font-size: 15px; }
.case__dl dt { color: var(--muted-dark); }
.case__dl dd { margin: 0; font-weight: 700; }
.case__info p { color: rgba(239, 233, 223, .86); }
.case__close { align-self: flex-start; margin-top: auto; background: none; border: 1px solid rgba(239, 233, 223, .4); color: var(--paper); font: 700 14px/1 var(--text); padding: 12px 18px; cursor: pointer; }
.case__close:hover { border-color: var(--signal); color: var(--signal); }

/* ---------- Parti pris ---------- */
.manifesto { padding: 140px 0; }
.manifesto__title { font-size: clamp(2.4rem, 6.6vw, 7rem); }
.rot { position: relative; display: inline-grid; vertical-align: bottom; overflow: hidden; color: var(--signal); }
.rot__w { grid-area: 1 / 1; white-space: nowrap; transform: translateY(105%); transition: transform .7s var(--ease); }
.rot__w.is-on { transform: none; }
.rot__w.is-out { transform: translateY(-105%); }
.manifesto__body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin: 56px 0 72px; max-width: 1100px; font-size: 1.1rem; }
.ideas { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.idea__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink); outline: 3px solid transparent; outline-offset: 4px; transition: outline-color .4s; }
.idea__frame img, .idea__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.idea__frame video { opacity: 0; transition: opacity .4s; }
.idea.is-hl .idea__frame { outline-color: var(--signal); }
.idea.is-hl video.is-ready { opacity: 1; }
.idea p { margin-top: 16px; color: var(--muted); font-size: 16px; }
.idea strong { color: var(--ink); }

/* ---------- Méthode ---------- */
.method { background: var(--paper-2); padding: 130px 0 140px; }
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.steps::before { content: ''; position: absolute; left: 0; right: 0; top: 66px; height: 2px; background: var(--ink); }
.step { position: relative; padding: 0 28px 0 0; }
.step::before { content: ''; position: absolute; left: 0; top: 60px; width: 14px; height: 14px; background: var(--ink); transition: background .3s, transform .3s var(--ease); }
.step.is-active::before, .step.is-done::before { background: var(--signal); }
.step.is-active::before { transform: scale(1.35); }
.step__day { display: block; font: 500 14px/1 var(--mono); color: var(--muted); height: 30px; }
.step h3 { margin-top: 72px; font: 400 2.2rem/1 var(--title); text-transform: uppercase; }
.step p { margin-top: 12px; color: #3b3632; }
.steps__runner { position: absolute; left: 0; top: 0; height: 68px; width: 0; z-index: 2; pointer-events: none; }
.steps__runner .cinq { position: absolute; left: 0; bottom: 0; height: 68px; transform: translateX(-14px); }

/* ---------- Offres ---------- */
.offers { padding: 130px 0 120px; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.page--pricing .plans, .page--city .plans { border-color: var(--line); }
.plan { display: flex; flex-direction: column; padding: 44px 36px 40px; min-width: 0; }
.plan + .plan { border-left: 1px solid var(--line-dark); }
.page--pricing .plan + .plan { border-left-color: var(--line); }
.plan--main { background: var(--ink-2); box-shadow: inset 0 3px 0 var(--signal); color: var(--paper); }
.plan h3 { font-size: 1.5rem; }
.plan__for { margin-top: 8px; color: var(--muted-dark); min-height: 3.2em; }
.page--pricing .plan:not(.plan--main) .plan__for { color: var(--muted); }
.plan__price { margin: 26px 0 28px; font-size: clamp(3.4rem, 5vw, 5rem); display: flex; align-items: baseline; gap: 10px; }
.plan__num { font-weight: 400; white-space: nowrap; }
.plan__price { flex-wrap: wrap; row-gap: 6px; }
.plan__num .sp { display: inline-block; width: .2em; }
.b5 { color: var(--signal); font-weight: 800; }
.plan__price span { font: 700 14px/1 var(--text); letter-spacing: .02em; opacity: .6; }
.plan ul { list-style: none; margin: 0 0 36px; padding: 0; display: grid; gap: 12px; }
.plan li { position: relative; padding-left: 22px; }
.plan li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 10px; height: 2px; background: var(--signal); }
.plan .btn { margin-top: auto; align-self: flex-start; }
.offers__more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; font-size: 1.1rem; }
.offers__more p { max-width: 46em; }
.offers__note { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* ---------- Questions ---------- */
.faq { padding: 130px 0; }
.faq__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 64px; align-items: start; }
.faq h2 { font-size: clamp(2.6rem, 4.4vw, 4.6rem); position: sticky; top: 120px; align-self: start; }
.faq__list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-size: 1.2rem; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 16px; height: 16px; background: linear-gradient(var(--signal), var(--signal)) center / 16px 2px no-repeat, linear-gradient(var(--signal), var(--signal)) center / 2px 16px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 48px 28px 0; color: #3b3632; max-width: 44em; }

/* ---------- Contact ---------- */
.contact { padding: 130px 0 140px; }
.contact__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.contact h2 { font-size: clamp(2.8rem, 5.4vw, 5.6rem); }
.contact__intro > p { margin-top: 28px; color: var(--muted-dark); max-width: 28em; font-size: 1.1rem; }
.contact__mail a { font-size: 1.35rem; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--signal); }
.form { display: grid; gap: 22px; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.form label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--muted-dark); }
.form input, .form select, .form textarea { width: 100%; font: 400 17px/1.4 var(--text); color: var(--paper); background: transparent; border: 0; border-bottom: 1px solid rgba(239, 233, 223, .35); border-radius: 0; padding: 10px 0; }
.form select { appearance: none; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ff4d1f' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 4px center / 12px; }
.form select option { color: var(--ink); }
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-bottom-color: var(--signal); }
.form__send { display: flex; align-items: flex-end; gap: 24px; margin-top: 8px; }
.form__status { min-height: 1.5em; font-size: 15px; }
.form .consent { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--paper); }
.form .consent input { width: 18px; height: 18px; margin: 3px 0 0; flex: none; accent-color: var(--signal); }
.form__privacy { font-size: 13px; color: var(--muted-dark); }
.form__success { padding: 14px 18px; border-left: 3px solid var(--signal); background: rgba(239, 233, 223, .06); color: var(--paper); }
/* fenêtre de remerciement */
.thanks { width: min(520px, calc(100vw - 32px)); padding: 44px 36px 36px; border: 0; border-top: 4px solid var(--signal); background: var(--ink); color: var(--paper); text-align: center; }
.thanks::backdrop { background: rgba(10, 9, 8, .82); }
.thanks[open] { animation: thanks-in .5s var(--ease); }
@keyframes thanks-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
.thanks__cinq { display: block; width: 72px; height: 88px; margin: 0 auto 18px; position: relative; }
.thanks__cinq .cinq { height: 88px; margin: 0 auto; }
.thanks .cinq__leg, .thanks .cinq__arm { stroke: var(--paper); }
.thanks__title { font: 400 clamp(2rem, 6vw, 2.8rem)/0.95 var(--title); text-transform: uppercase; text-wrap: balance; }
.thanks__text { margin: 16px auto 0; max-width: 30em; color: var(--muted-dark); }
.thanks__close { margin-top: 28px; }
.thanks__close::after { display: none; }
.form__status.is-ok { color: #9fd9a6; }
.form__status.is-error { color: #ff9a80; }
.hp { position: absolute; left: -9999px; }
.cinq-slot--wave { height: 70px; width: 60px; position: relative; }
.cinq-slot--wave .cinq { position: absolute; left: 0; bottom: 0; height: 70px; }

/* ---------- Pages intérieures ---------- */
.page { padding: 150px 0 110px; }
.page__title { font-size: clamp(3.4rem, 9vw, 9.6rem); }
.page__lead { margin-top: 36px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); max-width: 40em; color: #3b3632; }
.page__lead--2 { margin-top: 18px; }
.page--pricing .plans { margin-top: 104px; }
.offers .head { margin-bottom: 104px; }
.plans--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.plan__from { order: -1; }
.plan__from:empty { display: none; }
.foot__cities-list { display: contents; }
.reel-case dl > div { display: grid; }
.plan--monthly { background: rgba(239, 233, 223, .04); }
/* Tarifs : titres des piliers et déroulé d'un mois */
.pillar { margin: 96px 0 0; font-size: clamp(2rem, 3.6vw, 3.4rem); }
.page--pricing .pillar + .plans { margin-top: 104px; }
.month { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.month li { border-top: 2px solid var(--signal); padding-top: 20px; }
.month .step__day { font: 500 13px/1 var(--mono); color: var(--muted-dark); }
.month h3 { margin-top: 12px; font: 400 1.9rem/1 var(--title); text-transform: uppercase; }
.month p { margin-top: 10px; color: var(--muted-dark); }
.monthly-s { padding: 120px 0; }
/* Reels d'exemple : un téléphone et sa fiche */
.reel-cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; margin-top: 72px; }
.reel-case { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--line-dark); background: rgba(239, 233, 223, .03); }
.phone { margin: 0; }
.phone__screen { aspect-ratio: 9 / 16; border: 7px solid #2a2724; border-radius: 26px; overflow: hidden; background: #000; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel-case h3 { font: 400 2rem/1 var(--title); text-transform: uppercase; }
.reel-case__meta { margin-top: 8px; font: 500 12px/1.4 var(--mono); color: var(--muted-dark); }
.reel-case__goal { margin-top: 16px; font-weight: 700; }
.reel-case dl { margin: 18px 0 0; display: grid; gap: 12px; }
.reel-case dt { font: 500 12px/1 var(--mono); color: var(--signal); text-transform: uppercase; letter-spacing: .04em; }
.reel-case dd { margin: 4px 0 0; color: var(--muted-dark); font-size: 15px; }
/* Agences : cas concret */
.case-s { padding: 120px 0; }
.showcase { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.showcase__col { display: grid; gap: 32px; }
.showcase__item { margin: 0; }
.showcase__item video { width: 100%; display: block; background: #000; aspect-ratio: 16 / 9; }
.showcase__item--tall video { aspect-ratio: 4 / 5; }
.showcase__item figcaption { margin-top: 12px; color: var(--muted); }
.showcase__item figcaption strong { display: block; color: var(--ink); }
.showcase .standby__text { font-size: clamp(1.2rem, 2vw, 1.8rem); }
.legal__date { color: var(--muted); }
/* le spot de 5tudio */
.spot5 { margin: 0; border: 1px solid var(--line-dark); background: #000; }
.spot5 video { display: block; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.spot5.is-vertical { max-width: 420px; margin: 0 auto; }
.spot5.is-vertical video { aspect-ratio: 9 / 16; }
.compare { padding: 120px 0; }
.compare h2 { margin-bottom: 56px; }
.table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 18px 16px; text-align: left; border-bottom: 1px solid var(--line-dark); }
thead th { font: 400 1.6rem/1 var(--title); text-transform: uppercase; color: var(--paper); }
tbody th { font-weight: 500; color: var(--muted-dark); }
td { font-weight: 700; }
.voice { padding: 120px 0; }
.voices { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.voices li { padding: 32px 32px 0 0; }
.voices li + li { padding-left: 32px; border-left: 1px solid var(--line); }
.voices h3 { font: 400 2rem/1 var(--title); text-transform: uppercase; }
.voices p { margin-top: 12px; color: #3b3632; }
.voices .voices__price { margin-top: 18px; font-weight: 800; color: var(--ink); }
.options-s { padding: 0 0 120px; }
.options__wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 64px; align-items: start; }
.options { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.options li { display: flex; justify-content: space-between; gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.options strong { white-space: nowrap; }
.agencies-s { padding: 120px 0; }
.agencies-s--short { padding: 72px 0; }
.agencies-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; font-size: 1.15rem; }
.agencies-cta p { max-width: 44em; color: var(--muted-dark); }
.agencies-cta strong { color: var(--paper); }
.voices--steps h3 { font-size: 1.7rem; }
.agencies { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.agencies > div > p { margin-top: 28px; color: var(--muted-dark); font-size: 1.1rem; max-width: 30em; }
.agencies__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.agencies__list li { display: flex; justify-content: space-between; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line-dark); font-size: 1.1rem; }
.agencies__list span { color: var(--signal); font-weight: 700; white-space: nowrap; }
.agencies__list .agencies__note, .agencies__note { display: block; color: var(--muted-dark); font-size: 15px; border-bottom: 0; padding: 22px 0; }
.agencies__list + .agencies__note { padding-top: 18px; }
[hidden] { display: none !important; }
.legal h2, .prose h2 { font: 800 1.35rem/1.2 var(--text); text-transform: none; margin: 48px 0 12px; }
.legal p, .prose p { max-width: 46em; color: #3b3632; margin-top: 8px; }
.prose h3 { font: 700 1.1rem/1.3 var(--text); margin: 28px 0 8px; }
.prose ul, .prose ol { max-width: 46em; margin: 8px 0 0; padding-left: 1.3em; color: #3b3632; }
.prose li { margin-top: 4px; }
.prose a { color: inherit; text-decoration-color: var(--signal); }
.prose blockquote { margin: 20px 0; padding-left: 18px; border-left: 3px solid var(--signal); }
.prose img { max-width: 100%; height: auto; margin: 20px 0; }
.prose > :first-child { margin-top: 0; }

/* ---------- Pied de page ---------- */
.foot { background: var(--ink); color: var(--muted-dark); border-top: 1px solid var(--line-dark); padding: 48px 0 40px; font-size: 15px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--paper); }
.foot__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.logo--foot { color: var(--paper); }
.logo--foot .logo__mark { font-size: 36px; }
.foot__nav { display: flex; flex-wrap: wrap; gap: 26px; }
.foot__mail { margin-left: auto; color: var(--paper); font-weight: 700; }
.foot__cities { display: flex; flex-wrap: wrap; gap: 12px 26px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--line-dark); }
.foot__cities span { color: var(--paper); font-weight: 700; }
.foot__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line-dark); font-size: 14px; }
.foot__bottom nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }

/* ---------- Timeline de montage ---------- */
.timeline { position: fixed; inset: auto 0 0 0; z-index: 60; height: var(--timeline); display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter); background: var(--ink); color: var(--paper); border-top: 1px solid var(--line-dark); }
.timeline__tc { flex: none; font: 500 14px/1 var(--mono); color: var(--signal); min-width: 108px; }
.timeline__track { position: relative; flex: 1; height: 100%; }
.timeline__track::before { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--line-dark); }
.timeline__clip { position: absolute; bottom: 8px; height: 14px; border: 0; border-left: 1px solid rgba(239, 233, 223, .35); padding: 0 0 0 8px; background: none; display: flex; align-items: center; font: 500 11px/1 var(--mono); color: var(--muted-dark); cursor: pointer; white-space: nowrap; overflow: hidden; }
.timeline__clip:hover, .timeline__clip.is-active { color: var(--paper); }
.timeline__clip.is-narrow { font-size: 0; padding-left: 0; }
.timeline__head { position: absolute; bottom: 8px; width: 0; height: 100%; }
.timeline__head::after { content: ''; position: absolute; left: -1px; bottom: -4px; width: 2px; height: calc(100% - 4px); background: var(--signal); }
.timeline__head::before { content: ''; position: absolute; left: -5px; top: 4px; width: 10px; height: 6px; background: var(--signal); clip-path: polygon(0 0, 100% 0, 50% 100%); }

/* ---------- Le personnage 5 ---------- */
.cinq { display: block; width: auto; overflow: visible; }
.cinq__body { fill: var(--signal); }
.cinq__eye { fill: #fff; }
.cinq__pupil { fill: var(--ink); transition: transform .2s; }
.cinq__leg, .cinq__arm { stroke: var(--ink); stroke-width: 9; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.is-dark .cinq__leg, .is-dark .cinq__arm, .timeline .cinq__leg, .timeline .cinq__arm { stroke: var(--paper); }
.cinq__leg { transform-box: fill-box; transform-origin: 50% 0; }
.cinq__arm { transform-box: fill-box; transition: transform .35s var(--ease); }
.cinq__arm--l { transform-origin: 100% 0; }
.cinq__arm--r { transform-origin: 0 0; }
.cinq__all { transform-box: fill-box; transform-origin: 50% 100%; }
/* en marche arrière, le 5 reste lisible : seuls les yeux regardent derrière */
.cinq.is-flip .cinq__pupil { transform: translateX(-4.5px); }
.cinq.is-walking .cinq__leg--a, .cinq.is-running .cinq__leg--a { animation: leg .5s ease-in-out infinite; }
.cinq.is-walking .cinq__leg--b, .cinq.is-running .cinq__leg--b { animation: leg .5s ease-in-out infinite reverse; }
.cinq.is-walking .cinq__all, .cinq.is-running .cinq__all { animation: bob .25s ease-in-out infinite alternate; }
.cinq.is-running .cinq__leg--a, .cinq.is-running .cinq__leg--b { animation-duration: .42s; }
.cinq.is-running .cinq__all { animation-duration: .21s; }
.cinq.is-hop .cinq__all { animation: hop .6s var(--ease); }
.cinq.is-walking .cinq__arm--l, .cinq.is-running .cinq__arm--l { animation: arm .5s ease-in-out infinite alternate; }
.cinq.is-walking .cinq__arm--r, .cinq.is-running .cinq__arm--r { animation: arm .5s ease-in-out infinite alternate-reverse; }
.cinq.is-running .cinq__arm--l, .cinq.is-running .cinq__arm--r { animation-duration: .42s; }
.cinq.is-waving .cinq__arm--r { animation: wave .45s ease-in-out 6 alternate; }
.cinq.is-pointing .cinq__arm--l { transform: rotate(62deg); }
.cinq.is-clicking .cinq__arm--l { animation: tap .38s ease-in-out 2; }
.cinq.is-clicking .cinq__all { animation: nod .38s ease-in-out 2; }
.cinq.is-blink .cinq__eye { transform: scaleY(.1); transform-box: fill-box; transform-origin: center; }
@keyframes leg { from { transform: rotate(28deg); } to { transform: rotate(-28deg); } }
@keyframes bob { to { transform: translateY(-4px); } }
@keyframes hop { 0% { transform: none; } 30% { transform: translateY(-38%) rotate(-8deg); } 55% { transform: translateY(0) scaleY(.86); } 75% { transform: scaleY(1.05); } 100% { transform: none; } }
@keyframes wave { from { transform: rotate(-105deg); } to { transform: rotate(-150deg); } }
@keyframes arm { from { transform: rotate(-24deg); } to { transform: rotate(24deg); } }
@keyframes tap { 0%, 100% { transform: rotate(62deg); } 45% { transform: rotate(76deg) translateY(3px); } }
@keyframes nod { 0%, 100% { transform: none; } 45% { transform: translateY(2px) scaleY(.97); } }

/* le 5 qui passe la tête au-dessus d'un bord */
.peek { position: absolute; bottom: 100%; right: 36px; width: 110px; height: 86px; overflow: hidden; pointer-events: none; z-index: 1; }
.peek .cinq { position: absolute; left: 50%; bottom: -64px; height: 150px; transform: translate(-50%, 90px); transition: transform .9s var(--ease) .15s; }
.peek.is-in .cinq { transform: translate(-50%, 0); }
.peek .cinq__pupil { transform: translate(-2.5px, 2.5px); }
.film__stage { position: relative; }
.plan--main { position: relative; }
.plan--main .peek { right: 28px; }

/* 5tudio en 60 secondes : le 5 du titre est vivant (clic clic → REC sur l'écran) */
/* corps du 5 (y 4 à 138 sur 180) calé sur la hauteur des capitales de Tanker (0,68 em) et sur la ligne de base */
.cinq-glyph { display: inline-block; position: relative; width: 0.5em; height: 0.68em; vertical-align: baseline; }
.cinq-glyph .cinq { position: absolute; left: -0.152em; bottom: -0.213em; height: 0.913em; }
.cinq-glyph .cinq__leg { display: none; }
.cinq-glyph .cinq__arm { stroke-width: 11; }
.cinq-glyph .cinq__pupil { transform: translate(1.5px, 2.5px); }
.cinq-glyph .cinq.is-clicking .cinq__arm--r { animation: tapr .38s ease-in-out 2; }
.cinq-glyph .cinq.is-clicking .cinq__all { animation: none; }
@keyframes tapr { 0%, 100% { transform: none; } 45% { transform: rotate(-26deg); } }

/* ---------- Apparition ---------- */
.will-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.will-reveal.is-in { opacity: 1; transform: none; }
.will-reveal:has(.line) { opacity: 1; transform: none; }
.will-reveal .line { clip-path: inset(0 0 100% 0); transform: translateY(40%); transition: clip-path 1s var(--ease), transform 1s var(--ease); }
.will-reveal.is-in .line { clip-path: inset(-0.15em -0.1em -0.2em -0.1em); transform: none; }
.will-reveal .line:nth-child(2) { transition-delay: .08s; }
.will-reveal .line:nth-child(3) { transition-delay: .16s; }
.will-reveal .line:nth-child(4) { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .will-reveal, .will-reveal .line { opacity: 1 !important; clip-path: none !important; transform: none !important; transition: none; }
  .marquee__track, .standby__rec::before, .logo__rec, .cinq * { animation: none !important; }
  .peek .cinq { transition: none; transform: translate(-50%, 0); }
  .rot__w { transition: none; }
}

/* ---------- Tablette ---------- */
@media (max-width: 1080px) {
  .head, .hero__row, .faq__wrap, .options__wrap, .agencies { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .hero__actions { justify-content: flex-start; }
  .film--lead, .grid > .film:first-child { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .film--lead .film__meta, .grid > .film:first-child .film__meta { margin-top: 22px; }
  .plan { padding-left: 24px; padding-right: 24px; }
  .plan__price { font-size: clamp(2.6rem, 4.8vw, 3.6rem); }
  .ideas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq h2 { position: static; }
  .case__grid { grid-template-columns: minmax(0, 1fr); }
  .timeline__clip { font-size: 0; padding-left: 0; }
  .nav { gap: 22px; }
}
/* tablette en portrait : menu burger, méthode en 2 × 2 */
@media (max-width: 1180px) { .reel-cases { grid-template-columns: minmax(0, 1fr); } .reel-case { grid-template-columns: 220px minmax(0, 1fr); max-width: 760px; } }
@media (max-width: 900px) {
  .contact__wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .plan { padding-left: 18px; padding-right: 18px; }
  .plan .btn { padding: 0 16px; font-size: 14px; white-space: nowrap; }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .voices li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before, .steps__runner { display: none; }
  .step { border-top: 2px solid var(--ink); }
  .step::before { top: -8px; }
  .step__day { margin-top: 20px; height: auto; }
  .step h3 { margin-top: 12px; }
  .top { gap: 16px; }
  .top > .btn--small { margin-left: auto; }
  .nav { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: var(--paper); color: var(--ink); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .4s var(--ease); }
  .nav a { padding: 16px 0; font-size: 1.3rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .nav__lang { display: block; border: 0; border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 1rem; }
  .top.is-open .nav { transform: none; }
  .burger { display: inline-flex; flex-direction: column; gap: 7px; background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer; color: inherit; }
  .burger span { width: 26px; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .top.is-open .burger span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .top.is-open .burger span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
}

/* ---------- Mobile ---------- */
@media (max-width: 720px) {
  .plans, .plans--2, .voices, .month, .showcase { grid-template-columns: minmax(0, 1fr); }
  .case-s { padding-top: 96px; padding-bottom: 96px; }
  .reel-case { grid-template-columns: minmax(0, 1fr); padding: 20px; }
  .reel-case .phone { width: min(210px, 64%); margin: 0 auto; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line-dark); }
  .monthly-s { padding-top: 96px; padding-bottom: 96px; }
  .pillar { margin-top: 64px; }
  .page--pricing .pillar + .plans { margin-top: 32px; }
  .page--pricing .plan + .plan, .page--city .plan + .plan { border-top-color: var(--line); }
  .voices li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 32px; }
  .nav { inset: 64px 0 auto 0; }
  .burger { margin-left: auto; }
  :root { --timeline: 44px; }
  body { font-size: 17px; }
  .top { height: 64px; gap: 16px; }
  .top > .btn--small { display: none; }
  .logo__mark { font-size: 28px; }
  .hero, .page { padding-top: 112px; }
  .hero__title { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .manifesto__title { font-size: clamp(2.2rem, 10vw, 3.4rem); }
  .manifesto__title .line { white-space: normal; }
  .page__title { font-size: clamp(3rem, 16vw, 5rem); }
  .hero__actions .btn { width: 100%; justify-content: space-between; }
      .marquee__track { gap: 56px; }
  .marquee__track img { height: 30px; }
  .marquee__track .lg-webm, .marquee__track .lg-natesystem { height: 26px; }
  .marquee__track .lg-aseoma { height: 25px; }
  .marquee__track .lg-autoplatforma { height: 20px; }
  .marquee__track .lg-digispark { height: 26px; }
  .marquee__track .lg-rodasoleil { height: 44px; }
  .studio, .films, .manifesto, .method, .offers, .faq, .contact, .compare, .voice, .agencies-s { padding-top: 96px; padding-bottom: 96px; }
  .agencies-s--short { padding-top: 64px; padding-bottom: 64px; }
  .standby__corner { width: 22px; height: 22px; }
  .standby__hud { left: 16px; right: 16px; bottom: 14px; font-size: 11px; }
  .standby__corner--tl, .standby__corner--tr { top: 14px; }
  .standby__corner--tl, .standby__corner--bl { left: 14px; }
  .standby__corner--tr, .standby__corner--br { right: 14px; }
  .standby__corner--bl, .standby__corner--br { bottom: 40px; }
  .grid, .ideas { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .manifesto__body { grid-template-columns: minmax(0, 1fr); gap: 20px; margin: 36px 0 48px; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .plan { padding: 36px 0; }
  .plan--main { margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  details p { padding-right: 0; }
  .foot__mail { margin-left: 0; }
  .options li, .agencies__list li { flex-direction: column; gap: 4px; }
  .timeline { gap: 12px; }
  .timeline__tc { font-size: 12px; min-width: 92px; }
}
