/* copiercoller.ch — design tokens from the Figma file copiercoller-01 (variables), then base, layout and blocks. */

@font-face{font-family:Geist;src:url(/assets/fonts/geist-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Geist;src:url(/assets/fonts/geist-bold.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(/assets/fonts/geist-mono-regular.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Geist Mono";src:url(/assets/fonts/geist-mono-bold.woff2) format("woff2");font-weight:700;font-display:swap}

:root{
  --up-font:Geist,ui-sans-serif,system-ui,sans-serif;
  --up-mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --up-bg:#f9f9f7;
  --up-surface:#fff;
  --up-ink:#21221d;
  --up-text:#454545;
  --up-on-accent:#f4f5f1;
  --up-accent:#fe5227;
  --up-warm:#c8c1b6;
  --up-warm-2:#b6ae9e;
  --up-line:#c8c1b6;
  --up-luna:#fede9e;
  --up-candy:#f79ce0;
  --up-opale:#83dbdb;
  --up-lila:#8fa6ff;
  --up-pastel:var(--up-luna);
  --up-s1:16px;
  --up-s15:24px;
  --up-s3:48px;
  --up-s4:64px;
  --up-radius-btn:32px;
  --up-radius-img:40px;
  --up-measure:44rem;
  --up-wide:1408px;
  --up-band:1568px;
  font-size:100%;
}

[data-accent=luna]{--up-pastel:var(--up-luna)}
[data-accent=candy]{--up-pastel:var(--up-candy)}
[data-accent=opale]{--up-pastel:var(--up-opale)}
[data-accent=lila]{--up-pastel:var(--up-lila)}

/* Base */
*{box-sizing:border-box}
body{margin:0;background:var(--up-bg);color:var(--up-text);font:400 17px/26px var(--up-font);letter-spacing:-.25px;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,h5,h6{color:var(--up-ink);font-weight:700;letter-spacing:0;margin:0 0 .5em}
h1{font-size:clamp(34px,4vw,48px);line-height:1.25}
h2{font-size:clamp(28px,3vw,38px);line-height:1.32}
h3,h4{font-size:24px;line-height:36px}
h5{font-size:18px;line-height:30px}
p{margin:0 0 16px}
a{color:inherit}
img{max-width:100%;height:auto;display:block}
.lead{font-size:clamp(20px,2.2vw,28px);line-height:1.3;letter-spacing:.25px;color:var(--up-ink)}
.big{font-size:22px;line-height:32px;letter-spacing:-.5px}
.mini{font-size:14px;line-height:18px;letter-spacing:.25px}

/* Layout */
.wrap{max-width:calc(var(--up-wide) + 2*var(--up-s1));margin-inline:auto;padding-inline:var(--up-s1)}
.band{max-width:var(--up-band);margin-inline:auto}
.narrow{max-width:var(--up-measure)}
.wrap.narrow,.wrap.prose.narrow{max-width:calc(696px + 2*var(--up-s1))}
section.block{padding-block:var(--up-s3)}

/* Button — an ink pill; the zone styles « Bouton » (btn primary) and « Bouton secondaire » (btn secondary) wear it. */
.btn{display:inline-flex;align-items:center;justify-content:center;padding:var(--up-s15) var(--up-s4);border-radius:var(--up-radius-btn);background:var(--up-ink);color:#fff;font-size:clamp(18px,2vw,24px);line-height:.71em;letter-spacing:0;text-decoration:none;border:0;cursor:pointer}
.btn.secondary{background:transparent;color:var(--up-ink);box-shadow:inset 0 0 0 1px var(--up-ink)}
.btn:hover{opacity:.88}

/* Header — logo left, nav centered (Figma: gap 48, nav/menu 14/24 +0.25), active item underlined 40×2 in accent. */
header.site{background:var(--up-bg);z-index:10;position:sticky;top:0}
header.site .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--up-s15);min-height:112px}
.logo{justify-self:start;text-decoration:none}
.logo img{width:190px;height:auto}
nav.main ul{margin:0;padding:0;list-style:none}
nav.main>ul{display:flex;gap:var(--up-s3)}
nav.main>ul>li{position:relative}
nav.main a{display:inline-block;padding-block:var(--up-s1);font-size:14px;line-height:24px;letter-spacing:.25px;color:var(--up-ink);text-decoration:none}
nav.main a[aria-current=page]::after{content:"";display:block;width:40px;height:2px;margin-top:2px;background:var(--up-accent)}
nav.main a:hover{color:var(--up-accent)}
nav.main li>ul{display:none;position:absolute;top:100%;left:calc(-1*var(--up-s1));min-width:19rem;padding:.5rem;background:var(--up-surface);box-shadow:0 8px 24px #0000000f}
nav.main li:has(>ul):hover>ul,nav.main li:has(>ul):focus-within>ul{display:block}
nav.main li>ul a{display:block;padding:.45rem .75rem}
nav.main li>ul a:hover{background:var(--up-bg)}
@media (max-width:900px){
  header.site{position:static}
  header.site .wrap{grid-template-columns:1fr;justify-items:start;min-height:0;padding-block:var(--up-s1)}
  .logo img{width:140px}
  nav.main>ul{flex-wrap:wrap;gap:0 var(--up-s15)}
  nav.main a{padding-block:6px}
  nav.main li>ul{display:none!important}
}

/* Footer — black band answering the dark hero: light logo on top, the brand sentence set large on the left, contact on
   the right with the email as the only accent, the legal line under a hairline. Single column under 720px. */
footer.site{background:#000;color:var(--up-on-accent);padding-block:clamp(64px,7vw,104px) var(--up-s3)}
footer.site .foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:var(--up-s3) var(--up-s4);align-items:start}
footer.site .foot-logo{grid-column:1/-1;display:inline-block;width:190px}
footer.site .lead{color:var(--up-on-accent);margin:0;max-width:26ch}
footer.site .foot-contact{font-style:normal;display:flex;flex-direction:column;gap:4px;font-size:22px;line-height:32px;letter-spacing:-.5px;color:var(--up-warm)}
footer.site .foot-contact a[href^=mailto]{color:var(--up-accent)}
footer.site a{text-decoration:none}
footer.site a:hover,footer.site a:focus-visible{text-decoration:underline;text-underline-offset:4px}
footer.site .foot-legal{margin-top:var(--up-s4);padding-top:var(--up-s1);border-top:1px solid rgba(244,245,241,.2);color:var(--up-warm)}
footer.site .foot-legal>div{display:flex;justify-content:space-between;flex-wrap:wrap;gap:var(--up-s1)}
footer.site .mini{margin:0}
@media (max-width:720px){footer.site .foot{grid-template-columns:1fr;gap:var(--up-s3)}footer.site .foot-contact{font-size:17px;line-height:26px;letter-spacing:-.25px}}

/* Hero — the accent and theme are classes on .hero (written from the record's fields at creation); main:has() lifts
   the accent to the whole page so blocks below can use --up-pastel. */
main:has(.hero.accent-luna){--up-pastel:var(--up-luna)}
main:has(.hero.accent-candy){--up-pastel:var(--up-candy)}
main:has(.hero.accent-opale){--up-pastel:var(--up-opale)}
main:has(.hero.accent-lila){--up-pastel:var(--up-lila)}
.hero{padding-block:var(--up-s3) var(--up-s4)}
.hero-media{margin:0 auto;max-width:calc(var(--up-band) + 2*var(--up-s1));padding-inline:var(--up-s1)}
.hero-media img{width:100%;aspect-ratio:1568/526;object-fit:cover}
.hero-media:has(img:not([src]),img[src=""]){display:none}
.hero .crumbs{margin:0 0 var(--up-s3);color:var(--up-ink)}
.hero .crumbs a{text-decoration:none}
.hero .crumbs strong{text-transform:uppercase}
.hero-body{display:grid;grid-template-columns:minmax(0,696px) 1fr;gap:var(--up-s3);align-items:center}
.hero-body>*{grid-column:1}
.hero h1{max-width:489px;margin-bottom:40px}
.hero .lead{color:#2e2e2e;margin:0}
/* Dark hero (Figma 7459:5633 / 7507:6760): a black 1568×526 band, the animation 50.51 % wide in its bottom-right corner,
   crumbs and the 72px mono title in a 696px column 80px into it; the runtime adds .hl and hides the poster on mount. */
.hero-dark{padding-block:10px 0}
.hero-dark:has(.hero-media){position:relative}
.hero-dark .hero-media{position:relative;box-sizing:content-box;max-width:var(--up-band);aspect-ratio:1568/526;background:#000 content-box}
.hero-dark .hero-media img{width:auto;aspect-ratio:auto;margin:0;padding:0}
/* The animation box sits in the band's right half. A scene with a ground (city, desk, hills) sits on the band's bottom
   edge; a scene whose bottom is text or sky (Sites' INTRANET title, the rocket in space) is centred with a 40px margin
   above and below. The box keeps its aspect ratio from the runtime. */
.hero-dark .hero-anim{position:absolute;right:var(--up-s1);bottom:0;width:calc((100% - 2*var(--up-s1))*.5051);background:#000}
main[data-record=sites-plateformes] .hero-dark .hero-anim,main[data-record=performance-digitale] .hero-dark .hero-anim{bottom:auto;top:50%;translate:0 -50%;max-height:calc(100% - 80px)}
.hero-dark .hero-anim>img{display:block;width:100%}
.hero-dark .hero-anim.hl>img{display:none}
.hero-dark .hero-media+.hero-body{position:absolute;top:10px;left:var(--up-s1);right:var(--up-s1);max-width:var(--up-band);margin-inline:auto;padding:73px 80px 0;row-gap:0}
.hero-dark .crumbs{font-size:13px;line-height:13px;letter-spacing:0;margin:0 0 40px;color:var(--up-on-accent)}
.hero-dark .crumbs a{color:var(--up-warm)}
.hero-dark .crumbs strong{color:var(--up-on-accent);font-weight:600}
.hero-dark h1{font-family:var(--up-mono);font-size:72px;line-height:72px;letter-spacing:0;color:var(--up-accent);max-width:696px;margin-bottom:39px}
.hero-dark .lead{display:none}
/* Under a full band the 696px column would reach the animation box: the text keeps a 46 % column and the title scales
   with it so its longest word (« Automatisations », 15 mono glyphs of .6em) fits. */
@media (min-width:1101px) and (max-width:1599px){.hero-dark .hero-media+.hero-body{grid-template-columns:minmax(0,46%) 1fr}.hero-dark h1{font-size:min(72px,calc((100vw - 2*var(--up-s1) - 160px)*.051));line-height:1}}
/* At 1100px and below the dark hero stacks: beside the animation box the title column would get too narrow. */
@media (max-width:1100px){
  .hero-dark .hero-media{aspect-ratio:auto;max-width:none;padding-inline:0}
  .hero-dark h1{font-size:clamp(40px,5.6vw,72px);line-height:1}
  .hero-dark .hero-anim,main[data-record] .hero-dark .hero-anim{position:relative;right:auto;top:auto;bottom:auto;translate:none;max-height:none;width:100%}
  .hero-dark .hero-media+.hero-body{position:static;background:#000;max-width:none;padding:var(--up-s15) var(--up-s1) var(--up-s3);row-gap:0}
}
.hero .ctas{flex-wrap:wrap;gap:.8rem;margin-top:1.8rem;display:flex}
@media (max-width:800px){
  .hero-body{grid-template-columns:1fr;gap:var(--up-s1)}
  .hero h1{margin-bottom:0}
  .hero .crumbs{margin-bottom:var(--up-s1)}
  .hero-dark h1{font-size:36px;line-height:44px}
}

/* Blocks */
.prose{max-width:933px}
.prose.narrow{max-width:696px}
.prose h2{margin-top:1.6em}
.prose :first-child{margin-top:0}
.prose h5,.prose h4{margin-bottom:8px}

/* Service page rhythm — a hero image marks a service page: blocks sit 80px apart and a text block hangs on the content
   edge instead of being centred. */
main:has(.hero-media) [data-up-blocks]>section.block{padding-block:40px}
main:has(.hero-media) .wrap.prose:not(.narrow){max-width:calc(var(--up-wide) + 2*var(--up-s1))}
main:has(.hero-media) .prose>:last-child{margin-bottom:0}
main:has(.hero-media) .prose .lead{color:var(--up-text);margin-bottom:25px}
main:has(.hero-media) .prose.narrow h2{margin-bottom:4.5px}
/* Dark service page (Figma 7425:2174): the incise rides in the background-coloured tab (776×120 on a full band, flush
   with the band's bottom-left, the accent square 42px down; drawn 1px taller to cover the band's anti-aliased bottom
   edge); every section then sits 80px from the next, a warm rule after the cards, both media/list pairs and the boxed
   text. The tab is 49.49 % of the band so it ends where the animation box (50.51 %) starts on narrower bands too; the
   48px taken off 100vw (the 32px gutters plus a classic scrollbar) keeps it short of the animation, never over it. */
main:has(.hero-dark) [data-up-blocks]>section.incise{padding-block:0 106px;margin-top:-78px}
main:has(.hero-dark) .incise-row{position:relative;z-index:0;max-width:548px}
main:has(.hero-dark) .incise-row::before{content:"";position:absolute;z-index:-1;top:-42px;height:121px;left:calc((var(--up-band) - var(--up-wide))/-2);width:min(776px,calc((100vw - 48px)*.4949));background:var(--up-bg)}
/* The incise text lines up with the hero text, 80px into the band: its .wrap takes the band's box (the same box as the
   default .wrap from 1600px up, so only narrower screens change). */
@media (min-width:1101px){main:has(.hero-dark) [data-up-blocks]>section.incise .wrap{max-width:calc(var(--up-band) + 2*var(--up-s1));padding-inline:calc(var(--up-s1) + 80px)}}
main:has(.hero-dark) .wrap.prose:not(.narrow)>*{max-width:800px}
main:has(.hero-dark) [data-up-block=illustratedCards]::after,main:has(.hero-dark) [data-up-block=mediaList]::after,main:has(.hero-dark) [data-up-block=listMedia]::after,main:has(.hero-dark) [data-up-block=richTextBoxed]::after{content:"";display:block;max-width:var(--up-band);margin:80px auto 0;border-top:1px solid var(--up-line);transform:scaleX(var(--rule,1));transform-origin:left center}
main:has(.hero-dark) .split-body h2{color:var(--up-accent)}
main:has(.hero-dark) .split-row{grid-template-columns:776fr 560fr;column-gap:71px}
main:has(.hero-dark) .split-media{margin:0}
main:has(.hero-dark) .split-body{padding-left:40px}
main:has(.hero-dark) .split--reverse .split-row{grid-template-columns:695fr 672fr;column-gap:40px}
main:has(.hero-dark) .split--reverse .split-body{padding-left:0}
main:has(.hero-dark) .boxed{min-height:760px}
main:has(.hero-dark) .split--reverse .split-body p{max-width:640px}
main:has(.hero-dark) [data-up-blocks]>section[data-up-block=illustratedCards]{padding-bottom:31px}
main:has(.hero-dark) [data-up-block=illustratedCards]::after{margin-top:114px}
main:has(.hero-dark) [data-up-blocks]>section[data-up-block=mediaList]{padding-top:24.6px}
main:has(.hero-dark) [data-up-block=mediaList]::after,main:has(.hero-dark) [data-up-block=listMedia]::after{margin-top:72px}
main:has(.hero-dark) [data-up-blocks]>section[data-up-block=listMedia]{padding-top:30.6px}
main:has(.hero-dark) [data-up-blocks]>section.faq{padding-top:28.3px}
/* Below 1440px the half-band tab gets too short for the incise row: the incise leaves the tab and sits under the band. */
@media (max-width:1439px){
  main:has(.hero-dark) [data-up-blocks]>section.incise{margin-top:0;padding-block:var(--up-s3) var(--up-s15)}
  main:has(.hero-dark) .incise-row::before{content:none}
}

@media (max-width:800px){
  main:has(.hero-media) [data-up-blocks]>section.block{padding-block:var(--up-s15)}
  main:has(.hero-dark) [data-up-blocks]>section.incise{margin-top:0;padding-block:var(--up-s15)}
  main:has(.hero-dark) .incise-row::before{content:none}
  main:has(.hero-dark) [data-up-block]::after{margin-top:var(--up-s3)}
  main:has(.hero-dark) .split-row,main:has(.hero-dark) .split--reverse .split-row{grid-template-columns:1fr}
  main:has(.hero-dark) .split-body{padding:0}
  main:has(.hero-dark) .boxed{min-height:0}
}

/* Incise — accent square + accent text (Figma « Rectangle 23/24 »). */
.incise-row{display:flex;gap:26px;align-items:flex-start;max-width:621px}
.incise-mark{flex:none;width:48px;height:48px;background:var(--up-accent)}
.incise-row p{color:var(--up-accent);margin:0}

/* Cards — 4 icon/title/text cards, one « Mise en avant » on the accent. */
ul.cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--up-s3) 80px}
ul.cards>li{padding:var(--up-s1) var(--up-s1) 9px;display:flex;flex-direction:column;gap:var(--up-s15)}
ul.cards>li>img{width:24px;height:24px}
ul.cards h4{margin:-10px 0 0;padding-bottom:8px}
ul.cards p{margin:0}
ul.cards h4+p{margin-top:-24.5px}
.is-featured{background:var(--up-accent);color:#f5f5f5}
.is-featured h4,.is-featured h5{color:var(--up-on-accent)}

/* Grids fed by up:list (services, references). */
.grid{grid-template-columns:repeat(auto-fill,minmax(17rem,1fr));gap:var(--up-s15);display:grid}
ul.grid{list-style:none;margin:0;padding:0}
ul.grid>li{display:contents}
.card{background:var(--up-surface);flex-direction:column;gap:.5rem;padding:var(--up-s15);text-decoration:none;display:flex}
.card h3{margin:0}
.card p{margin:0}

/* Media + list / list + media (Figma 7425:2120, 7425:2131). */
/* Figma: two 695px columns 16px apart; the image column keeps 72px free on its inner side, the text column starts 104px
   in. Reversed (text left): columns 655/735, the image column keeps 80px free on its inner side. */
.split-row{display:grid;grid-template-columns:695fr 695fr;gap:var(--up-s1);align-items:center}
.split-media{margin:0 72px 0 0;aspect-ratio:623/750;border-radius:var(--up-radius-img);overflow:hidden}
.split-body{padding-left:104px}
.split--reverse .split-row{grid-template-columns:655fr 735fr}
.split--reverse .split-media{margin:0 0 0 80px;aspect-ratio:644/740;background:#000}
.split--reverse .split-body{padding-left:0}
.split-media img{width:100%;height:100%;object-fit:cover;will-change:transform}
.split--reverse .split-media img{object-fit:contain}
.split-media:has(img:not([src]),img[src=""]){background:var(--up-warm)}
.split-media img:not([src]),.split-media img[src=""]{display:none}
.split--reverse .split-media{order:2}
.split-body h2{font-size:clamp(34px,4vw,48px);line-height:1.25;margin-bottom:42px}
.split-body h4{margin:23px 0 7px}
.split-body h2+h4{margin-top:0}
/* Kicker above a split title (Figma « NOTRE APPROCHE »: h5 18/30 bold accent, 32px above the title's cap). */
.split-body .eyebrow{color:var(--up-accent);font-weight:700;font-size:18px;line-height:30px;letter-spacing:0;margin:0 0 10px}
.split-body p{font-size:18px;line-height:28px;letter-spacing:0;margin:0;max-width:520px}
.split--reverse .split-body p{max-width:none}
@media (max-width:800px){
  .split-row,.split--reverse .split-row{grid-template-columns:1fr;gap:var(--up-s3)}
  .split-media,.split--reverse .split-media{margin:0}
  .split-body{padding:0}
  .split--reverse .split-media{order:0}
}

/* Illustrated cards + audience aside (Figma 7425:2192/2204/2658 + 7425:2670): three 280px cards ~30px apart, the
   aside 459px wide, 48px after them; card = image 280×225, mono tag, 16px bold title, muted 17px text. */
.illustrated-row{display:grid;grid-template-columns:901fr 459fr;gap:var(--up-s3);align-items:start}
ul.illustrated{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:var(--up-s15) 30.5px}
ul.illustrated img{width:100%;aspect-ratio:280/225;object-fit:cover;margin-bottom:19.5px}
ul.illustrated .mini{margin:0;font-family:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;font-size:11px;line-height:16.5px;letter-spacing:.88px;text-transform:uppercase;color:#737373}
ul.illustrated li>p:not(.mini){margin:0;color:rgb(0 0 0/.6)}
ul.illustrated img:not([src]),ul.illustrated img[src=""]{visibility:hidden}
ul.illustrated li:has(img:not([src]),img[src=""])::before{content:"";display:block;aspect-ratio:280/225;margin-bottom:calc(-1*(100% * 225/280));background:var(--up-warm)}
ul.illustrated h5{margin:-1.7px 0 3.75px;font-size:16px;line-height:22px;color:#000}
.audience{padding-inline:var(--up-s15);margin-top:-8.7px}
.audience h5{margin-bottom:7.3px}
.audience .lead{color:var(--up-text);margin-bottom:23.8px}
.audience ul{list-style:none;margin:0;padding:0}
.audience li,.boxed ul.ruled li{position:relative;padding:15.7px 0 8.9px;font-size:22px;line-height:32px;letter-spacing:-.5px;color:var(--up-text)}
.audience li:first-child,.boxed ul.ruled li:first-child{padding-top:0}
.audience li::before{content:"- "}
@media (max-width:800px){.illustrated-row{grid-template-columns:1fr}}

/* Boxed text on the page pastel at 25 %, with a ruled list (Figma 7425:2802: pt88 pb64, a 696px column). */
.boxed{background:color-mix(in srgb,var(--up-pastel) 25%,transparent);padding:76.3px var(--up-s1) 64px;max-width:var(--up-band);margin-inline:auto}
.boxed>*{max-width:696px;margin-inline:auto}
.boxed h2{margin-bottom:4.5px}
.boxed .lead{color:var(--up-text);margin-bottom:25px}
.boxed ul.ruled{margin-block:8.8px 0}
ul.ruled{list-style:none;padding:0}
ul.ruled li{position:relative;padding-block:8px 9px}

/* Steps — a pastel band (50 %), 280px tall, steps centred; a 29×140 chevron (accent, 50 %) 40px on each side of it
   between steps (Figma 7425:2110). */
[data-up-block=steps] h5{font-size:24px;line-height:36px;margin-bottom:46px}
.steps-band{background:color-mix(in srgb,var(--up-pastel) 50%,transparent);padding:40px 41px 40px 80px;min-height:280px;display:flex;align-items:center}
.steps{list-style:none;margin:0;padding:0;display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:109px;align-items:center;width:100%}
.steps li{position:relative}
.steps li+li::before{content:"";position:absolute;left:-71px;top:50%;width:33px;height:144px;transform:translateY(-50%);background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='33' height='144' viewBox='0 0 33 144'%3E%3Cpath d='M2 2S31 66.9 31 72.68C31 77.78 2 142 2 142' fill='none' stroke='%23fe5227' stroke-opacity='.5' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat}
.steps h4{margin:0 0 2.5px;padding-bottom:8px}
.steps p{margin:0}
/* Four steps in one row need ~1200px (chevron gaps of 109px): 2×2 below that, one column on phones. */
@media (max-width:1199px){
  .steps-band{padding:var(--up-s3) var(--up-s15)}
  .steps{grid-auto-flow:row;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--up-s3) var(--up-s4)}
  .steps li+li::before{display:none}
}
@media (max-width:800px){
  .steps-band{padding:var(--up-s15)}
  .steps{grid-template-columns:1fr;gap:var(--up-s15)}
}

/* FAQ — open question/answer pairs. */
.faq h2{margin-bottom:12px}
/* Each question is a <details> (a repeat unit the studio can duplicate): the question in the summary, the answer in
   its div. A warm rule separates the items; the native marker is replaced by a chevron that turns when open. */
.faq p{font-size:clamp(18px,1.8vw,22px);line-height:calc(1em + 10px);letter-spacing:-.5px}
.faq details{border-top:1px solid var(--up-line);max-width:var(--up-measure)}
.faq details:last-of-type{border-bottom:1px solid var(--up-line)}
.faq summary{display:flex;align-items:flex-start;gap:16px;padding-block:18px;cursor:pointer;list-style:none;color:var(--up-ink);font-weight:700;font-size:22px;line-height:32px;letter-spacing:-.5px}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"";flex:none;width:12px;height:12px;margin:10px 4px 0 auto;border-right:2px solid var(--up-ink);border-bottom:2px solid var(--up-ink);transform:rotate(45deg);transition:transform .25s}
.faq details[open] summary::after{transform:rotate(-135deg);margin-top:16px}
.faq details>div{padding:0 0 22px}
.faq details>div>p:last-child{margin-bottom:0}

/* CTA « Vous avez un projet » (Figma 7459:5894): black band, the desk illustration 560px wide at left (its SVG planes
   follow the pointer, see desk-parallax.js), mono title 48/52, then « Contactez-nous ! » and the red pill button. */
.cta-projet{background:var(--up-ink);color:var(--up-on-accent)}
.cta-row{display:grid;grid-template-columns:minmax(0,560px) 1fr;gap:80px;align-items:center;padding:56px 80px}
.cta-media{margin:0;perspective:1600px;transform-style:preserve-3d}
.cta-media .desk,.cta-media svg{display:block;width:100%;height:auto;overflow:visible}
.cta-body{max-width:720px}
.cta-body h2{font-family:var(--up-mono);font-size:48px;line-height:52px;letter-spacing:-.5px;color:var(--up-on-accent);margin:0 0 64px}
.cta-body h4{color:var(--up-on-accent);margin:0 0 16px}
.cta-body p{font-size:18px;line-height:28px;letter-spacing:0;max-width:640px;margin:0}
.cta-body p:has(.btn){margin-top:64px}
.cta-projet .btn.primary{background:var(--up-accent);color:#fff;font-size:24px;line-height:24px}
@media (max-width:800px){.cta-row{grid-template-columns:1fr;gap:var(--up-s3);padding:var(--up-s3) var(--up-s1)}.cta-media{max-width:420px}.cta-body h2{font-size:clamp(32px,8vw,48px);line-height:1.1;margin-bottom:var(--up-s3)}}

/* References */
.ref-card{text-decoration:none}
.ref-card figure{margin:0}
/* The visual is the client's logo, centred on a warm 16:9 tile (not a cropped photo). */
.ref-card figure>img{box-sizing:border-box;width:100%;aspect-ratio:16/9;object-fit:contain;padding:12% 18%;background:#eeebe4}
.ref-card figcaption{padding-top:.7rem}
.ref-card .meta{font-size:14px}
.logo-wall{flex-wrap:wrap;align-items:center;gap:2.5rem;display:flex}
.logo-wall img{filter:grayscale();opacity:.75;width:auto;max-height:3rem}

/* Contact form */
form.contact{max-width:var(--up-measure);gap:1rem;display:grid}
form.contact label{gap:.3rem;font-size:14px;font-weight:700;display:grid}
form.contact input,form.contact textarea{font:inherit;border:1px solid var(--up-line);background:var(--up-surface);padding:.6rem .75rem}
form.contact input:focus-visible,form.contact textarea:focus-visible{outline:2px solid var(--up-ink)}
form.contact button{justify-self:start}
.form-note{font-size:14px}

/* Follow-up link after a FAQ (Figma: bold, accent). */
.faq .more{margin-bottom:0}
.faq .more a{color:var(--up-accent);font-weight:700;text-decoration:none;font-size:22px}
.faq .more a:hover{text-decoration:underline}

/* Services mega-menu — the four pillars side by side, each with its services. */
nav.main li>ul.mega{display:none;grid-template-columns:repeat(4,max-content);gap:var(--up-s15);padding:var(--up-s15);left:50%;transform:translateX(-35%)}
nav.main li:has(>ul.mega):hover>ul.mega,nav.main li:has(>ul.mega):focus-within>ul.mega{display:grid}
nav.main ul.mega>li>span{display:block;padding:0 .75rem 8px;color:var(--up-text);text-transform:uppercase}
nav.main ul.mega ul{display:block;position:static;box-shadow:none;padding:0;min-width:0;background:none}

/* Kicker above a record title (« Référence »). */
.kicker{margin:0 0 var(--up-s1);font-size:14px;line-height:18px;letter-spacing:.25px;text-transform:uppercase;color:var(--up-accent);font-weight:700}

/* Service cards carry the service's pastel as a top band (card templates are baked with the record's fields). */
.card[class*="accent-"]{border-top:8px solid var(--card-pastel,var(--up-warm));padding-top:var(--up-s15)}
.card.accent-luna{--card-pastel:var(--up-luna)}
.card.accent-candy{--card-pastel:var(--up-candy)}
.card.accent-opale{--card-pastel:var(--up-opale)}
.card.accent-lila{--card-pastel:var(--up-lila)}
.card h3{font-size:22px;line-height:30px}
/* The service's square vignette bleeds to the card's edges under the pastel band; the poster shows until the
   runtime mounts the animation (.hl). The runtime gives the scene its own ratio, so the square centres it. */
.card-anim{aspect-ratio:1;margin:calc(-1*var(--up-s15)) calc(-1*var(--up-s15)) var(--up-s1);background:#000;overflow:hidden;display:flex;align-items:center}
.card-anim__scene{width:100%}
.card-anim__scene>img{display:block;width:100%}
.card-anim__scene.hl>img{display:none}

/* Motion (site-motion.js): an inline script in partials/head.html adds html.motion-pending before first paint (unless
   reduced motion) and drops it after 3 s; site-motion.js lifts it when the hero intro starts, or at once when it bails
   out. A scripts-off page (the studio preview) hides nothing. The .hero-anim box is never hidden: its runtime plays its
   own intro inside it from the first frame. */
html.motion-pending .hero h1,html.motion-pending .hero .lead,html.motion-pending .hero .crumbs,html.motion-pending .hero .ctas{visibility:hidden}
/* Hooks merged into the layout rules above, keep them: .split-media overflow:hidden + border-radius (the parallax clip)
   and its img will-change, the dark hairlines' scaleX(var(--rule,1)), position:relative on .audience li / ul.ruled li. */
.split-line{will-change:transform}
html.lenis,html.lenis body{height:auto}
html.lenis.lenis-smooth{scroll-behavior:auto!important}
/* Rules drawn in: the ruled lists' rules become 1px borders scaled by --rule (0 → 1), like the dark pages' section
   hairlines (a border, not a background, so forced colors keep it). */
.audience li::after,ul.ruled li::after{content:"";position:absolute;left:0;right:0;bottom:0;height:0;border-top:1px solid #000;transform:scaleX(var(--rule,1));transform-origin:left center}
